[Q] updating ROM on encrypted phone? - Nexus 5 Q&A, Help & Troubleshooting

How can you update a ROM (cyanogen in this example) on an encrypted device, using CWM? I know that OTA is not possible when it's encrypted. But can you even create nandroid backups of encrypted devices, and restore these encrypted backups after flashing the updated ROM version? I'm totally lost how to update the ROM without losing all my data.

I'm not sure cwm supports encrypted devices. Use twrp. And you can create nandroids of encrypted devices using twrp.
Sent from my Nexus 9 using XDA Free mobile app

The problem is, i can't use TWRP because a part of my screen doesn't respond. Is there no way to create and restore nandroid backups of encrypted data on CWM?

jb91 said:
The problem is, i can't use TWRP because a part of my screen doesn't respond. Is there no way to create and restore nandroid backups of encrypted data on CWM?
Click to expand...
Click to collapse
I really dont think so
Sent from my Nexus 5 using XDA Free mobile app

Related

[Q] CWM didn't backup apps/user data?

This is the 2nd time I've run into a problem with CWM (first time was a checksum error but found a fix for it.)
Was running a rom (eagleblood) and decided to do a backup in clockwork before flashing a different rom (bionix.) Backup completed, factory reset/wiped everything, flashed rom, and after booting in realized I had google auth and another authenticator app set up on the old rom. Went back into CWM to restore what I just backed up and account info/apps/media files are gone. Luckily, I have an older backup from September that I can use to get to my authenticator apps but unfortunately still have lost what was added to my phone recently.
Question: Is my backup completely fubar? Has anyone run into something similar that could point me to a fix? I still have access to the backups.
g0dsgreen said:
This is the 2nd time I've run into a problem with CWM (first time was a checksum error but found a fix for it.)
Was running a rom (eagleblood) and decided to do a backup in clockwork before flashing a different rom (bionix.) Backup completed, factory reset/wiped everything, flashed rom, and after booting in realized I had google auth and another authenticator app set up on the old rom. Went back into CWM to restore what I just backed up and account info/apps/media files are gone. Luckily, I have an older backup from September that I can use to get to my authenticator apps but unfortunately still have lost what was added to my phone recently.
Question: Is my backup completely fubar? Has anyone run into something similar that could point me to a fix? I still have access to the backups.
Click to expand...
Click to collapse
Are you using Titanium Backup for backing up your apps/data? You might wanna look into that, its an easy great app.
I have no recent titanium backups. This is a nandroid backup that didn't backup. First I've ever seen.
Sent from my LG-P999 using xda premium
That sucks man, I always batch a Titanium Backup to dropbox before thinking about a nand backup. It is a great precaution for the amount of tinkering we all do.
Titanium backup does boot/system/cache/etc. ?
Sent from my LG-P999 using xda premium
g0dsgreen said:
Titanium backup does boot/system/cache/etc. ?
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
No, it does user apps, system apps, and all their data. Titanium Backup is a must have app for rom flashers. A nandroid is okay to keep for emergencies, but for your apps and data, Titanium Backup is a must.
Sent from my G2X XDA app cuz I'm stalking your mom....
so do I just have to accept that bad nandroid backups happen?
Sent from my LG-P999 using xda premium

Return to Stock Without Wiping Data or Internal Memory?

Is it possible to return to stock without losing my data? My data really isn't that necessary, as I could make a TB backup and save it to the internal memory, but the main question is: Can I return to stock ROM without having to to wipe my internal memory?
absoluterebirth said:
Is it possible to return to stock without losing my data? My data really isn't that necessary, as I could make a TB backup and save it to the internal memory, but the main question is: Can I return to stock ROM without having to to wipe my internal memory?
Click to expand...
Click to collapse
no. of course you can set it for google to restore your settings, and apps with settings, but your data will get wiped.
simms22 said:
no. of course you can set it for google to restore your settings, and apps with settings, but your data will get wiped.
Click to expand...
Click to collapse
Alright, thanks
Yes you can. Just download the stock factory image and extract it. Then using adb (I hope you know how if not tell me and I'll try to explain) flash the recovery, system, and boot images. That will restore your stock ROM, kernel, and recovery. Just don't flash the userdata image and all your internal data on your "SD card" will be fine. All you have to do is restore your titanium backup apps and all their data will still be there and your pictures and everything will all be available.
Sent from my Nexus 5 using xda app-developers app
abdel12345 said:
Yes you can. Just download the stock factory image and extract it. Then using adb (I hope you know how if not tell me and I'll try to explain) flash the recovery, system, and boot images. That will restore your stock ROM, kernel, and recovery. Just don't flash the userdata image and all your internal data on your "SD card" will be fine. All you have to do is restore your titanium backup apps and all their data will still be there and your pictures and everything will all be available.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Provided your bootloader is unlocked
jd1639 said:
Provided your bootloader is unlocked
Click to expand...
Click to collapse
Well his boot loader has to be unlocked to run a custom ROM.
Sent from my Nexus 5 using xda app-developers app
abdel12345 said:
Yes you can. Just download the stock factory image and extract it. Then using adb (I hope you know how if not tell me and I'll try to explain) flash the recovery, system, and boot images. That will restore your stock ROM, kernel, and recovery. Just don't flash the userdata image and all your internal data on your "SD card" will be fine. All you have to do is restore your titanium backup apps and all their data will still be there and your pictures and everything will all be available.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Cool I was wondering this too as I made a nandroid when I first started but not sure I had all my apps set up yet. From here I would just reflash twrp and reroot, correct?
sent from my hammerhead
ldubs said:
Cool I was wondering this too as I made a nandroid when I first started but not sure I had all my apps set up yet. From here I would just reflash twrp and reroot, correct?
sent from my hammerhead
Click to expand...
Click to collapse
Yes but you'll still lose your apps just not the internal data so make sure you backup with titanium. It'll be like flashing a new ROM.
Sent from my Nexus 5 using xda app-developers app

Details of a rom from Nandriod Backup

Hello
All XDA members
I have a problem that made me raise a question an that is an we know the name of a rom from a nanriod backup either on PC or on Andriod.??
Ideally PC would be good !!
Thanks
Most ( not all) recovery apps let you name the file. Are you asking how to find the file? If so, it likely is in a folder named backups. You can move the file to your pc and keep it there if you are out of storage space.
Sent from my CROM-i X powered TF700T using tapatalk
stevens243 said:
Most ( not all) recovery apps let you name the file. Are you asking how to find the file? If so, it likely is in a folder named backups. You can move the file to your pc and keep it there if you are out of storage space.
Sent from my CROM-i X powered TF700T using tapatalk
Click to expand...
Click to collapse
Sorry if I wasn't clear please consider the following situation :
I have around 12 backups of different roms and I dont want to restore each n every backup for sake of simple file or simple thing. So any tool which can read the name of Rom? Probably the buildprop or about phone info will help
Sent from my A110 using Tapatalk
Well, if you gave a single boot system, your recovery should "see" all of those files. If so, you can usb them or copy to a sd card and move them. Just move them back when you need to.
Sent from my CROM-i X powered TF700T using tapatalk
Can someone explain nandroid backup to me? Does it mean I can make a backup my current rom and save it? Sorry for the dumb question.
Yep
TPS_Reports said:
Can someone explain nandroid backup to me? Does it mean I can make a backup my current rom and save it? Sorry for the dumb question.
Click to expand...
Click to collapse
Simply,it is a backup of your OS and settings. It is extremely valuable if you flash a new ROM that doesn't/won't function. Then, you can use your recovery to, well, recover your previous WORKING OS.
When/if you begin to flash new ROMs (and other tools that may corrupt your OS) you should always.first.backup.your.files.
Can I assume I would need to wipe data/factory reset, etc. before I restore the backup?
Sent from my VS980 4G using Tapatalk
No assumptions
TPS_Reports said:
Can I assume I would need to wipe data/factory reset, etc. before I restore the backup?
Sent from my VS980 4G using Tapatalk
Click to expand...
Click to collapse
So, that depends on what your starting config is, what you upgraded to.
For instance, if you are stock and flash a ROM using the stock recovery, then likely yes. You should and you would use the stock bootloader to wipe with.
If you have loaded a new recovery (TWRP, CWM) then read(!) the instructions on the developers page. My example is that on my tablet, once I upgraded to TWRP, I SHOULD NOT use the factory wipe option as that would wipe both TWRP and the backup files. That would cause lots of problems so, don't assume.
Typically, you do need to data/reset/wipe prior to flashing a new or recovering to an old ROM, just be careful what/how you do it.
I have a CWM recovery installed and installed custom Rome before. I have always redid everything again. So a backup would save me a lot of time.
Sent from my VS980 4G using Tapatalk
TPS_Reports said:
I have a CWM recovery installed and installed custom Rome before. I have always redid everything again. So a backup would save me a lot of time.
Sent from my VS980 4G using Tapatalk
Click to expand...
Click to collapse
Then, unless the ROM developer states otherwise, you should make backups, wipe data, install ROMs and recover your device using the Nandroid backup.
You likely shouldn't use the "factory" wipe data as that would cause issues.
Larry

[Q] TWRP Backup from one Nexus 5 to another?

Does anyone know, if I create a TWRP backup, can I restore it to a different Nexus 5? Both phones have been unlocked, rooted and with custom recovery installed in exactly the same way.
Just got a replacement phone, and would rather not have to spend the time to set it all up to my liking again!
Thanks
kev_gordon said:
Does anyone know, if I create a TWRP backup, can I restore it to a different Nexus 5? Both phones have been unlocked, rooted and with custom recovery installed in exactly the same way.
Just got a replacement phone, and would rather not have to spend the time to set it all up to my liking again!
Thanks
Click to expand...
Click to collapse
Yes you can. But DO NOT backup and restore the efs partition. That will make your new device useless. Only backup and restore system and data. That's twrp's default backup.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Yes you can. But DO NOT backup and restore the efs partition. That will make your new device useless. Only backup and restore system and data. That's twrp's default backup.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
That has made my day! Thank you :victory:
jd1639 said:
Yes you can. But DO NOT backup and restore the efs partition. That will make your new device useless. Only backup and restore system and data. That's twrp's default backup.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Oh... just checked and in TWRP, System, Data and Boot are ticked by default. Should I untick Boot as well then?
kev_gordon said:
Oh... just checked and in TWRP, System, Data and Boot are ticked by default. Should I untick Boot as well then?
Click to expand...
Click to collapse
Boot's ok, especially if you have a custom kernel
Sent from my Nexus 5 using XDA Free mobile app
kev_gordon said:
Oh... just checked and in TWRP, System, Data and Boot are ticked by default. Should I untick Boot as well then?
Click to expand...
Click to collapse
It should be fine, it's the kernel.
ANYTHING BUT EFS.

Nandroid backup to PC

Hi. I have an S5 16 GB. I am planning to flash other country's stock rom to solve the problem I'm having. But there is a problem. I have CWM recovery and the size for backup is too much. I don't have enough that space on my sdcard. Is there a way to backup to PC via CWM recovery? Or other way?
But, if you flash a stock firmware with Odin you change the recovery to the stock recovery so the backup will be useless
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
The obvious thing to do, would be to free some space. However if you can't, you could try installing TWRP recovery, which compresses the backups so they don't take that much space. Also, if ik not mistaken (but I may be) cwm allows you to save the backup to your internal storage. So if you have more free space available on your device, than your SD card and cwm allows to save your backups to the internal memory (at least TWRP does) you could make a backup, then transfer it to your PC. Then flash whatever you want to flash, then reinstall cwm (because it will be replaced from stick recovery) and finally tranfer the backup back to your phone
joe2k01 said:
But, if you flash a stock firmware with Odin you change the recovery to the stock recovery so the backup will be useless
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
Click to expand...
Click to collapse
But I can flash custom recovery even after flash a stock firmware right?
karasahin said:
But I can flash custom recovery even after flash a stock firmware right?
Click to expand...
Click to collapse
Oh yes, but if you flash another country stock firmware the mount point changes probably, and I'm not sure that you can restore your backup
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
giannism13 said:
The obvious thing to do, would be to free some space. However if you can't, you could try installing TWRP recovery, which compresses the backups so they don't take that much space.
Click to expand...
Click to collapse
I might install TWRP too. I have one question though. Does it backup everything right? So I suppose I can backup musics, photos and videos to my PC and delete them from the phone after. These are probably taking the most space. Will it work this way?
Yes
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
karasahin said:
I might install TWRP too. I have one question though. Does it backup everything right? So I suppose I can backup musics, photos and videos to my PC and delete them from the phone after. These are probably taking the most space. Will it work this way?
Click to expand...
Click to collapse
No it doesn't backup photos and videos, but it is in every way better than cwm
giannism13 said:
No it doesn't backup photos and videos, but it is in every way better than cwm
Click to expand...
Click to collapse
But he can makes a backup of the photo in the PC and after restore it
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
joe2k01 said:
Oh yes, but if you flash another country stock firmware the mount point changes probably, and I'm not sure that you can restore your backup
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
Click to expand...
Click to collapse
Understood. If flashing another country stock firmware solves my problem then I won't restore anything from my old firmware except musics, photos and videos. But if flashing another country stock firmware doesn't help to solve my problem either, then I could roll back to my old firmware and restore it. I think this will be OK. Of course I still need to find a way to backup to PC.
karasahin said:
Understood. If flashing another country stock firmware solves my problem then I won't restore anything from my old firmware except musics, photos and videos. But if flashing another country stock firmware doesn't help to solve my problem either, then I could roll back to my old firmware and restore it. I think this will be OK. Of course I still need to find a way to backup to PC.
Click to expand...
Click to collapse
Read my first post again, I edited
For the data backup try to use adb
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
giannism13 said:
Also, if ik not mistaken (but I may be) cwm allows you to save the backup to your internal storage. So if you have more free space available on your device, than your SD card and cwm allows to save your backups to the internal memory (at least TWRP does) you could make a backup, then transfer it to your PC. Then flash whatever you want to flash, then reinstall cwm (because it will be replaced from stick recovery) and finally tranfer the backup back to your phone
Click to expand...
Click to collapse
OK, time to free some space then
joe2k01 said:
For the data backup try to use adb
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
Click to expand...
Click to collapse
Does it work like Nandroid backup? I mean does it backup everything?
The adb backup will backups all your data (application, ecc..)
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
joe2k01 said:
The adb backup will backups all your data (application, ecc..)
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
Click to expand...
Click to collapse
It looks like a bit complicated and some say it is like an experimental program for its backup feature.
karasahin said:
It looks like a bit complicated and some say it is like an experimental program for its backup feature.
Click to expand...
Click to collapse
I use adb regularly and it's not difficult to use , it's a terminal tool, try it
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
joe2k01 said:
I use adb regularly and it's not difficult to use , it's a terminal tool, try it
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
Click to expand...
Click to collapse
Any article links please that can ease my doing?
http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351 ,you can also visit the official page
Sent from my ALCATEL ONE TOUCH 6040D using XDA-Developers mobile app
Flashing another country ROM didn't solve my problem either so I am going to use my old firmware.
I have a backup for my old firmware but I don't know how to proceed. Do I need to flash the old ROM first, and then recover via CWM recovery?
It's better if you first flash your stock firmware, then flash the CWM and finally flash the backup. You can do this only if your backup is in CWM backup format.

Categories

Resources