Partitioning Memory? - Nexus 5 Q&A, Help & Troubleshooting

I am thinking of flashing a rom (http://forum.xda-developers.com/showthread.php?t=2516248). I have put all my music files onto my N5 (stock) already and I am wondering if there's any way to keep them on my phone when performing a data wipe (before doing a fresh install)
If not, is there any way to partition memory so that I don't have to redo my files each and every time I install another rom?
Thanks in advance.

Dont worry media file won't be wiped. But unlocking the bootloader does wipe everything.

Related

[Q] Help coming from Windows Mobile to android

So i am very new to android, i did however figure out how to get root and get clockwork and flashed a custom rom. I have two questions. 1. I am currently running honeysense rom and see there is a 7.3 update, how do i go about installing the update? will doing the update erase all my apps i downloaded? If so i did back them up using titanium back up.... do i have to do wipe data, cache and all that in clockwork before installing the update?
2. If i want to do a completely new rom what are the steps to doing this as i have all this stuff on my sd card will post a pic of it curious as to what can all be deleted to free up space when starting fresh...
3. Last question sorry, i made a back up of "stock" rom before flashing the honeysense, and i named it "stock" where is that located??
ok so i thought i only had two questions changed to 4.
4. what is pd98img file the third to last one on the pic i uploaded, can it be deleted?
1. Check what Android version they both are if what you have now and the update are the same Android version (2.3.4 for example) then you should be able to just wipe the Dalvic cache when flashing from ROM manager. This will keep all of your apps and settings and flash the ROM. However it's VERY IMPORTANT to make a backup before trying this because certain settings may cause problems and you may need to restore your old version and do a clean install.
2. If you want to try a different ROM you should always wipe all data and caches before doing it, this can be done via ClockWorkMod or Rom Manager. But after that it's just the same as flashing the ones you have already.
3. I'm not really sure but I'm sure someone knows or you can find it via search.
4. PD98IMG is used when rooting to flash the downgraded rom automatically, it's safe to delete, and if you ever need it again it's easy to find.
gcihlar said:
3. Last question sorry, i made a back up of "stock" rom before flashing the honeysense, and i named it "stock" where is that located??
Click to expand...
Click to collapse
in the clockworkmod folder under backup
Jake33108 said:
1. Check what Android version they both are if what you have now and the update are the same Android version (2.3.4 for example) then you should be able to just wipe the Dalvic cache when flashing from ROM manager. This will keep all of your apps and settings and flash the ROM. However it's VERY IMPORTANT to make a backup before trying this because certain settings may cause problems and you may need to restore your old version and do a clean install.
2. If you want to try a different ROM you should always wipe all data and caches before doing it, this can be done via ClockWorkMod or Rom Manager. But after that it's just the same as flashing the ones you have already.
3. I'm not really sure but I'm sure someone knows or you can find it via search.
4. PD98IMG is used when rooting to flash the downgraded rom automatically, it's safe to delete, and if you ever need it again it's easy to find.
Click to expand...
Click to collapse
I'm not sure what version it is, its on the download link for the rom's link I have a issue where my phone shuts off and gets stuck on the screen after the splash screen and stays there happens every two days or so and this update is suppose to fix it here is the link doesn't really say anything bout what version android it is
never mind i cant post links yet, but in honeysense forum section on here just uploaded a 7.3 suppose to fix my issue i dont think its a change in android version just a fix. If that is the case do i do apply update from sd or apply zip from sd?
2. If i do a full whipe doesn't that erase everything?? including my back ups of the roms i have backed up? never mind on that one found my answer, doesn't touch the sd card right?
Thank you for the quick response.
You can just apply the update from SD, you can even do it with ROM manager and it's a little more straight forward. I'd just take a swing at it and hope it works, if not you always have backups you can restore.
And no, all of your backups should be on your SD card, you dont need to wipe the SD card when flashing a new rom.
Jake33108 said:
You can just apply the update from SD, you can even do it with ROM manager and it's a little more straight forward. I'd just take a swing at it and hope it works, if not you always have backups you can restore.
And no, all of your backups should be on your SD card, you dont need to wipe the SD card when flashing a new rom.
Click to expand...
Click to collapse
ok its 312 mb so im assuming do a full wipe and reflash correct? if this is case can i copy the clockwork mod file that contains my back ups to my computer and also titaniumbackup file to my cpu do a install the rom on my phone then do a format of my sd card? and have it be blank then copy and paste clockwork mod and titaniumbackup back to my sd card and be good to go?
I am sorry for being such a noob to android lol
a full wipe does not mean wipe the SD card. you can leave that untouched
I think you misunderstood me, you DONT need to wipe your sd card, wiping data/cache wont touch your sd card, and flashing wont do anything to it either, you should be able to leave all of those files on it.
i got what your saying i just wanted to start fresh i guess you could say...with a fresh sd card and this newer build i just downloaded the file and its 312 mb so i figured i would just start back from scratch, and wondering if i can do a full wipe on the phone put the rom on my sd card flash it, i have a back up of the older version in case something goes wrong on my sd card can i take the backups copy them to my computer along with the files in titanium, after the format is done with the sd card copy and paste them back on the sd card and restore titanium files and if need be restore the previous version of the rom? so then i have all most of my free space back on the sd again. Will this all work this way?
Ok, i get what youre saying now. Yeah, there's no reason that won't work. I transfered everything from my SD to my computer and then back to another SD because i got a 32GB one. You shouldn't have any problem with that.
ok thank you very much for helping me understand this a little bit more appreciate it a lot

[Q] If I update my ROM from CWM, will I lose all my data?

I want to know if updating with CWM will erase all my files.
It does not matter from where or what you update your ROM.
If you updat any ROM the phone will be wiped.
Thus YES you'll lose all data stored on your phone.
just make a backup of your apps or important data before you flash a rom, or move whatever you can to the sd card.

[Q] How does a custom recovery works?

Ok, so i'm new to all this stuff about custom recoverys and ROMs. How exactly do they work?
Let's say i make a custom recovery image of my current ROM, wich is stock, does it just backup the OS or my personal files (music, photos, apps, etc.) too?
I'm asking this primarly because i want to upgrade my phone, but to do so i have to flash the stock firmware because i've modified some system files. Wich bring to my other question, flashing ROMs wipe user data? i've read some split responses to this, some people say it does some say it doesn't.
And my final question, let's say i made a backup, wiped my phone flashed stock firmware and updated, now how i recover my data from the
backed up ROM, i mean it is a different version, does it have an option to just restore user data?
Thanks in advance, and sorry if these are too much questions.
it'll back up system, data, boot.img and dalvik cache.
your sd partition isn't backed up, but all the stuff on it will be readable by whatever new rom you put on it (unless you wipe EVERYTHING [not a good idea]).
when you're changing roms/etc, you want to place the rom.zip + gapps.zip (and custom kernel.zip if you're going to use one) on your sd partition. you do this because usb storage mostly doesn't work with custom recoveries as of yet on this device meaning once you've wiped, if you don't have a rom on your sd partition you're mildly screwed in that you'd have to reflash everything from a stock image (meaning you will lose root, all your personal files and whatever rom was on the phone - basically everything goes back to stock bar the bootloader).
e: as for restoring all apps data, use something like titanium backup. i always have a backup on my sd partition of all my current apps (plus wifi passwords, accounts info, sms messages etc to save time/effort when restoring after putting a new rom on). i also always set TB to backup all modified/new data every night at about 3am, then upload the backup to google drive so that if i either brick my phone or accidentally wipe everything, at least i can get back to where i left off.
If you forget to place the ROM zip, and have formatted the device, it is not necessary to flash stock. You use adb side load which is present in every recovery.
in that case i need to remember that for future use - i hardly ever use my pc with my phone now as you can pretty much do anything (update recovery etc) on the phone alone.
that, and i'm on windows 8.1 which afaik doesn't play nicely with fastboot or adb.
twist3d0n3 said:
....and i'm on windows 8.1 which afaik doesn't play nicely with fastboot or adb.
Click to expand...
Click to collapse
....i think this is a rumor. Never ever had any problems on W8.1
^ good to know, thanks

Generl Question about backup and wipe

Hey everybody,
i have bean looking for information about back up and wipe for oneplus one for hours now but i failed to get the answers that i need.
so my questions are:
What is th best way to back up everyrhing on my phone when i am flashing a new room, and by everything i mean apps and their data, pics , music, sms , call logs......etc
My second question, what are the different types of wipe do and what do i need to wipe when flashing a new rom and will it erase everything on my phone ncluding pics and music? and what is exactly considered as internal storage and what does it erase.
Thanks in advance.
monmon238 said:
Hey everybody,
i have bean looking for information about back up and wipe for oneplus one for hours now but i failed to get the answers that i need.
so my questions are:
What is th best way to back up everyrhing on my phone when i am flashing a new room, and by everything i mean apps and their data, pics , music, sms , call logs......etc
My second question, what are the different types of wipe do and what do i need to wipe when flashing a new rom and will it erase everything on my phone ncluding pics and music? and what is exactly considered as internal storage and what does it erase.
Thanks in advance.
Click to expand...
Click to collapse
The best way to backup your apps is by using Titanium Backup. It'll backup all of your apps and their data, you need the pro version to backup call logs and messages but it's well worth it because the pro version also allows batch restore (without batch restore you need to individually press ok for each app that you're restoring). Titanium is by far the most important root app that's available. You don't need to backup your personal data (music, photos) on your internal storage because you don't wipe the internal storage when flashing a ROM.
When flashing a new ROM you need to perform what's called a full wipe, this is wiping system, data, cache, and dalvik cache. Using TWRP recovery (the best recovery) you enter the wipe menu from the main menu, then select advanced wipe, and then you can select the previously mentioned partitions to wipe. This does not wipe your internal storage (the user-accessible virtual sd card where all of your personal data resides), wiping the internal storage is never necessary when flashing a ROM.
If you're just updating the same ROM (flashing a newer version/build) you don't need to worry about wiping, you can just flash the zip and reboot. Only ever do this when updating the ROM you're currently using though, never when flashing a different ROM.
Transmitted via Bacon

Stuck in recovery after rom update

Hello,
I just updated the rom Evolution X 11 on my Xiaomi Mi 9T Pro after using an older version for about half a year.
Now my phone does not boot anymore, its stuck in recovery (TWRP). Also all data seems to be encrypted and TWRP is not asking for a password.
Is there a way to get my phone to boot again or at least backup my data before I do a full wipe?
You should always do a full twrp backup before messing with roms.
The best solution would be to backup the "Data" and "Internal Storage" partitions. Data contains all apps, their appdata and settings, while internal storage contains all of your own files (photos, videos etc.). After you back these up, wipe your phone (system, data, cache, dalvik) and flash the version of evolution x you were using previously. Now restore data and internal storage and your device should be back to normal.
If you get a bootloop while booting after restoring data and internal storage, then wipe the device again and this time flash evolution x, but only restore internal storage. This way, it should boot and you will be able to recover your files, though your apps will be gone.
If you only restore internal storage then it will no doubt boot up and you will have access to your files, but since you'll have already backed up the important stuff (data + internal storage), you might as well try restoring data as well, as there is no harm, and if the phone boots correctly after restoring both partitions, your phone will be as it was before your updated your rom.
This happened a while back to me with my J5, the issue was that I made a full TWRP backup, then began to test other roms. After I was done, I tried to restore my backup, but it would constantly fail. I sat down for a while, confused and sad about how my TWRP backup had failed me. I tried every solution I could think of, eventually this solution I've mentioned in the above paragraph came to my mind. Thank god for putting it into my mind, otherwise I would've lost a lot of stuff (mainly whatsapp chats which werent backed up, and a lot of apps which I took the time to pain-stakingly configure in the best way for my device).
Anyways, enough of my story, hope this helps you out! If it does, message back here and let us know, and also mark my post as the solution if it was able to help you, so that anyone else who stumbles upon this thread can be saved too!
Cheers!
PhotonIce said:
You should always do a full twrp backup before messing with roms.
The best solution would be to backup the "Data" and "Internal Storage" partitions. Data contains all apps, their appdata and settings, while internal storage contains all of your own files (photos, videos etc.). After you back these up, wipe your phone (system, data, cache, dalvik) and flash the version of evolution x you were using previously. Now restore data and internal storage and your device should be back to normal.
If you get a bootloop while booting after restoring data and internal storage, then wipe the device again and this time flash evolution x, but only restore internal storage. This way, it should boot and you will be able to recover your files, though your apps will be gone.
If you only restore internal storage then it will no doubt boot up and you will have access to your files, but since you'll have already backed up the important stuff (data + internal storage), you might as well try restoring data as well, as there is no harm, and if the phone boots correctly after restoring both partitions, your phone will be as it was before your updated your rom.
This happened a while back to me with my J5, the issue was that I made a full TWRP backup, then began to test other roms. After I was done, I tried to restore my backup, but it would constantly fail. I sat down for a while, confused and sad about how my TWRP backup had failed me. I tried every solution I could think of, eventually this solution I've mentioned in the above paragraph came to my mind. Thank god for putting it into my mind, otherwise I would've lost a lot of stuff (mainly whatsapp chats which werent backed up, and a lot of apps which I took the time to pain-stakingly configure in the best way for my device).
Anyways, enough of my story, hope this helps you out! If it does, message back here and let us know, and also mark my post as the solution if it was able to help you, so that anyone else who stumbles upon this thread can be saved too!
Cheers!
Click to expand...
Click to collapse
Thank you for your help but backing up the data and internal storage doesnt seem possible right now because all the data is encrypted in TWRP...
If you can't backup anything, then wipe system, cache and dalvik, and flash the version of evolutionx you were previously using. Then boot, it should be fine. If it wont boot (give it some time, it will take the time of a fresh install), then this time wipe system+data+cache+dalvik, then flash whichever rom you like and you'll be able to access the files.
You can also try using platform tools and fastboot or adb ( i dont remember exactly which one) to copy the filess from your phone onto your pc.
Sorry if this doesn't apply to your situation, I've never used a phone which has been encrypted, as such I have no experience with them.
PhotonIce said:
If you can't backup anything, then wipe system, cache and dalvik, and flash the version of evolutionx you were previously using. Then boot, it should be fine. If it wont boot (give it some time, it will take the time of a fresh install), then this time wipe system+data+cache+dalvik, then flash whichever rom you like and you'll be able to access the files.
You can also try using platform tools and fastboot or adb ( i dont remember exactly which one) to copy the filess from your phone onto your pc.
Sorry if this doesn't apply to your situation, I've never used a phone which has been encrypted, as such I have no experience with them.
Click to expand...
Click to collapse
That sounds like a good idea. I found the old version on my PC.
Now I just need a way to install it... because twrp cant read the file. I tried with adb sideload but that results in an error for some reason. Flashing Magisk for example with adb sideload is possible.
Edit: Got it to work by using a tool called "Large Address Aware". Now waiting for the results...
PhotonIce said:
If you can't backup anything, then wipe system, cache and dalvik, and flash the version of evolutionx you were previously using. Then boot, it should be fine. If it wont boot (give it some time, it will take the time of a fresh install), then this time wipe system+data+cache+dalvik, then flash whichever rom you like and you'll be able to access the files.
You can also try using platform tools and fastboot or adb ( i dont remember exactly which one) to copy the filess from your phone onto your pc.
Sorry if this doesn't apply to your situation, I've never used a phone which has been encrypted, as such I have no experience with them.
Click to expand...
Click to collapse
This did not help unfortunately... Im still in the same recovery-bootloop and my data is still encrypted.
It's probably still bootlooping as the data partition got modified when you flashed the newer version of evolutionx, and now it will not work with the old one. You can try wiping system+data+cach+dalvik and then flashing any rom of your choice. This will give you access to your internal storage (photos, media etc), but it will remove your apps and their settings. Whatsapp images are stored in the internal storage so you won't need to worry about those.
Again, this is risky, as it may not work (I don't know much about encryption), or you might still not be able to access your files after flashing the new rom. Proceed at your own risk.
PhotonIce said:
It's probably still bootlooping as the data partition got modified when you flashed the newer version of evolutionx, and now it will not work with the old one. You can try wiping system+data+cach+dalvik and then flashing any rom of your choice. This will give you access to your internal storage (photos, media etc), but it will remove your apps and their settings. Whatsapp images are stored in the internal storage so you won't need to worry about those.
Again, this is risky, as it may not work (I don't know much about encryption), or you might still not be able to access your files after flashing the new rom. Proceed at your own risk.
Click to expand...
Click to collapse
Thank you for still helping me out but I already did a full reset yesterday. I did not lose much except for the time setting it all up again.
I still dont really get the point of encrypting all your data if you cant decrypt it even if you know the password...

Categories

Resources