How to properly create persistent storage for Android-x86? (Live USB)
Linux - MobileThis forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to properly create persistent storage for Android-x86? (Live USB)
I have been having quite the trouble installing Android-x86 on my USB but it works perfectly fine as a live operating system. So instead I wanted to see if I can create persistent storage in order to retain my changes. It seems possible seeing as I managed to see 2 older articles about it.
I created a 1 GB 'data.img' file, formatted it to ext4 and placed it inside the USB drive. I booted Android-x86 but it only remained at the splash screen. I tried this with 2 different USB's also, same result. Removing the .img file made the live operating system appear again.
Is there a proper way to get this to work? I'm using android-x86_64-7.1-rc1.
but it sounds like you created a .img file from the phone (to save it), you altered a .img file and uploading it to the phone (containing the save info plus the original images, in the .img file), but when you uploaded the altered .img file the phone didn't like it.
your phone has a USB connector so I'm unsure why your bothering to do that if you could just attach a usb storage to the phone (the phone, given the right software, can be controlled by USB realtime, or with drivers use the USB for storage)
I suggest 2 things:
#1. remember the cloud and not to ignore it's usefulness in persistence
#2. look for a marketed product that attaches to a cell phone to store photos. investigate if it works as persistent storage.
#3. re-investigate your methods. almost surely there are rules for the .img file you haven't followed that the original image does follow. create your .img correctly and it will work. this is the case with any .img whether for cell or of CDROM or what.
Android-x86 is a sort of linux distro.
if what op wanted is possible at all, i think one should ask them (Android-x86 developers and community) how the magic works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.