Comments (5)
/tmp is cleared across reboots. At least on Arch Linux, it is actually a tmpfs that is on RAM. Every time I re-init waydroid and reinstall libhoudini, the script re-downloads the tarball. Perhaps it would be better if the downloaded files are placed in persistent directories, such as /var/cache and /var/tmp.
Thanks, i think i could use XDG_CACHE_DIR/waydroid_script for storing the downloaded files !
BTW, some common external downloaders, such as wget and aria2, would be more robust and allow continuation.
I think it can be done with requests library instead of depending on external binaries !
I will probably push the changes you mentioned today :)
from waydroid_script.
I just pushed a change that should download file in /home/user/.cache/waydroid_script/downloads directory, can you check if its working fine and close the issue if your issue is solved with the new change !
from waydroid_script.
I just pushed a change that should download file in /home/user/.cache/waydroid_script/downloads directory, can you check if its working fine and close the issue if your issue is solved with the new change !
Hmm, I tried installing Magisk for testing. The downloaded files exists in ~/.cache/waydroid_script/downloads as expected, but there's still something wrong:
==> Installing magisk now ...
Traceback (most recent call last):
File "/usr/bin/waydroid-extras", line 595, in <module>
main()
File "/usr/bin/waydroid-extras", line 590, in main
install_magisk()
File "/usr/bin/waydroid-extras", line 507, in install_magisk
shutil.copyfile(os.path.join(extract_to, arch_dir, "magiskinit{arch}".format(arch=arch)),
File "/usr/lib/python3.10/shutil.py", line 256, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/waydroidimage/sbin/magiskinit'
from waydroid_script.
I just pushed a change that should download file in /home/user/.cache/waydroid_script/downloads directory, can you check if its working fine and close the issue if your issue is solved with the new change !
Hmm, I tried installing Magisk for testing. The downloaded files exists in ~/.cache/waydroid_script/downloads as expected, but there's still something wrong:
==> Installing magisk now ... Traceback (most recent call last): File "/usr/bin/waydroid-extras", line 595, in <module> main() File "/usr/bin/waydroid-extras", line 590, in main install_magisk() File "/usr/bin/waydroid-extras", line 507, in install_magisk shutil.copyfile(os.path.join(extract_to, arch_dir, "magiskinit{arch}".format(arch=arch)), File "/usr/lib/python3.10/shutil.py", line 256, in copyfile with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/waydroidimage/sbin/magiskinit'
are you using android 11 images ? Since i have not got magisk to work properly on a11, i have not made magisk installation compatible with a11 ! This error is most likely due to missing sbin directory on android 11
from waydroid_script.
Oh yes, I'm using the Android 11 image. Tried installing libhoudini later, and it works as expected.
from waydroid_script.
Related Issues (20)
- Magisk Install is Outdated HOT 6
- smartdock leaves maximize close and other buttons after uninstalling
- libhoudini: libwebviewchromium.so not found / SIGSEGV from libgallium_dri.so HOT 4
- Add ability to use custom OpenGapps variant
- [typo] python -> venv/bin/python HOT 1
- Installing libhoudini/libndk make waydroid use 32-bit bionic and/or ABI
- VM Waydroid libndk *qemu*
- Issues with Android13 HOT 2
- playstore error? HOT 1
- old magisk version
- Errno 28 No space left on device HOT 1
- Waydroid glitching after installing libhoudini HOT 2
- main.py install fdroidpriv not working
- Smart Dock MD5 mismatch HOT 5
- Is it normall to not see libhoudini in Android 13?
- smartdock url is expired HOT 5
- failed to install libndk
- i posted a fix https://github.com/casualsnek/waydroid_script/pull/161
- Blue Archive (GLOBAL) hang and crash after getting past the Touch to start screen
- libndk is not supported on your CPU
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waydroid_script.