[Q] Bootloop after restoring Nandroid Backup - Moto G Q&A, Help & Troubleshooting

So I recently flashed Paranoid Android based on Lollipop 5.1. Everything was working perfectly but I decided I wanted to flash Xperience kernel. I did a nandroid backup first. I flashed Xperience. After going into a bootloop I went back to TWRP to restore and retry to see what I did wrong. After restoring I am cought in a bootloop again. What should I do?

Try wiping cache and dalvik cache.

bhatt095 said:
Try wiping cache and dalvik cache.
Click to expand...
Click to collapse
Already tried that. I already got it to boot but I lost all my apps and stuff so that sucks. I am still trying to make the restore work because I am lazy about downloading everything again configuring and personalizing my device again.

ekuhlmann said:
Already tried that. I already got it to boot but I lost all my apps and stuff so that sucks. I am still trying to make the restore work because I am lazy about downloading everything again configuring and personalizing my device again.
Click to expand...
Click to collapse
have you backupd all the stuff (/data /system /boot ) ??? thats really all that need. wiping cache means no real data loss. if yes, then wipe the phone complety( format /sytsem /data /cache /dalvik /internal storage) (maybe copy internl storeage on pc 1st) to make sure all is fine from phons side. after that restore your backup completly but without restoring cache & try to boot.

bejunk said:
have you backupd all the stuff (/data /system /boot ) ??? thats really all that need. wiping cache means no real data loss. if yes, then wipe the phone complety( format /sytsem /data /cache /dalvik /internal storage) (maybe copy internl storeage on pc 1st) to make sure all is fine from phons side. after that restore your backup completly but without restoring cache & try to boot.
Click to expand...
Click to collapse
I did not backup everything. I only backed up what was checked by default on TWRP so that is probably it. Thanks.

ekuhlmann said:
I did not backup everything. I only backed up what was checked by default on TWRP so that is probably it. Thanks.
Click to expand...
Click to collapse
i think TWRP atleast backups /system , /data & /boot maybe u check it? (you can tap on cutom restore or look in the backup folder to know whats bacupd)

bejunk said:
i think TWRP atleast backups /system , /data & /boot maybe u check it? (you can tap on cutom restore or look in the backup folder to know whats bacupd)
Click to expand...
Click to collapse
Damm I am so stupid. Apparently I accidentally unchecked boot so it wasnt backed up. That is most likely the reason why I am not booting.

ekuhlmann said:
Damm I am so stupid. Apparently I accidentally unchecked boot so it wasnt backed up. That is most likely the reason why I am not booting.
Click to expand...
Click to collapse
Ok then its easy. Wipe the Device, install only the Rom which has the needed kernel, Boot it once, then back to recovery & restore System + Data. Done =) good luck
Btw /Boot is the kernel. So you never restored your old kernel and spirit bootlooped like you say...

bejunk said:
Ok then its easy. Wipe the Device, install only the Rom which has the needed kernel, Boot it once, then back to recovery & restore System + Data. Done =) good luck
Btw /Boot is the kernel. So you never restored your old kernel and spirit bootlooped like you say...
Click to expand...
Click to collapse
Still bootloop. I am giving up. Starting over.

Related

Nandroid backup HELP!! :(

I'm freaking out. I was running Leedroid and switched to Coredroid. I did a nandroid backup like I always do and now I'm trying to restore back to Leedroid and it doesn't do a full restore. Pretty much everything is gone. PLEEEEEEEEASE someone help me. I can't even download stuff from the market. I'm so frustrated!
I would try restoring my phone to stock and then attempt to restore leedroid..
also do you make sure you restore phone back to factory and wipe dalvik cache?
Sent from my Inspire 4G using XDA Premium App
ThEiiNoCeNT said:
I would try restoring my phone to stock and then attempt to restore leedroid..
also do you make sure you restore phone back to factory and wipe dalvik cache?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
will do thanks
Or u could try reset data/cache (factory reset) in CWM console, and clear out dalvik cache, and then restoring ur backup.
diablo009 said:
Or u could try reset data/cache (factory reset) in CWM console, and clear out dalvik cache, and then restoring ur backup.
Click to expand...
Click to collapse
I went and got a new phone today. I was able to "unroot" it and get a new one. I'm rooting it as I type using the Simple One Click method. I should be able to just use my nandroid back up then to get back the the Leedroid rom right? I think what may have happened is I didn't do a ext4 whipe when I went from Leedroid 2.x to 3.x so when I went to switch back from Coredroid which uses ext4 it got messed up. Maybe?
Focustom said:
I went and got a new phone today. I was able to "unroot" it and get a new one. I'm rooting it as I type using the Simple One Click method. I should be able to just use my nandroid back up then to get back the the Leedroid rom right? I think what may have happened is I didn't do a ext4 whipe when I went from Leedroid 2.x to 3.x so when I went to switch back from Coredroid which uses ext4 it got messed up. Maybe?
Click to expand...
Click to collapse
As far as I know, not all ROMs support EXT4. So be careful when flashing a ROM that does not support EXT4 on ur phone if ur /data is etx4 formatted.
diablo009 said:
As far as I know, not all ROMs support EXT4. So be careful when flashing a ROM that does not support EXT4 on ur phone if ur /data is etx4 formatted.
Click to expand...
Click to collapse
Oh yeah for sure I understand that. How do you switch between ext4 and ext3? Does using titanium backup work between the two? As in I flashed an ext3 rom backed up my apps using TB and then flashed an ext4 rom. Would I be able to use the Titanium backup at that point?
Focustom said:
Oh yeah for sure I understand that. How do you switch between ext4 and ext3? Does using titanium backup work between the two? As in I flashed an ext3 rom backed up my apps using TB and then flashed an ext4 rom. Would I be able to use the Titanium backup at that point?
Click to expand...
Click to collapse
TiBu:
Since Tibu backs up apps and data, and not any file system related info, you should be able to backup and restore using it. It worked for me when moving between ROMs since I got my Inspire, and I didnt' format my /data to EXT4 on my early ROMs.
But nandroid might not work. I tried I think when I got my phone a couple weeks back to restore data and it came back with MD5 check failed.
EXT4:
1. Going into CWM and resetting to factory formats data and cache partitions. This should be getting it into the default file system (I think this should be RFS, but not sure, and definitely not EXT4).
2. I have a script that can be used to format data partition into EXT4 (got it from Android Revolution 5.1.x ROM thread). I run it when I know the ROM supports EXT4, but does not do it when installing ROM.
E.g., Android Revolution 5.1.x supports data as EXT4, but does not do it.
Gingerbeast 2.1.x supports EXT4, and auto converts too.
I am attaching the script to this post. Copy it onto ur SD, and run the steps in sequence mentioned below.
1. Get into recovery
2. Factory reset (formats /data and /cache)
3. Wipe dalvik cache (under advanced menu)
4. Run the script attached to this post (optional, and needed only if ROM does not auto convert)
5. Install ROM of ur choice
6. Reboot
diablo009 said:
TiBu:
Since Tibu backs up apps and data, and not any file system related info, you should be able to backup and restore using it. It worked for me when moving between ROMs since I got my Inspire, and I didnt' format my /data to EXT4 on my early ROMs.
But nandroid might not work. I tried I think when I got my phone a couple weeks back to restore data and it came back with MD5 check failed.
EXT4:
1. Going into CWM and resetting to factory formats data and cache partitions. This should be getting it into the default file system (I think this should be RFS, but not sure, and definitely not EXT4).
2. I have a script that can be used to format data partition into EXT4 (got it from Android Revolution 5.1.x ROM thread). I run it when I know the ROM supports EXT4, but does not do it when installing ROM.
E.g., Android Revolution 5.1.x supports data as EXT4, but does not do it.
Gingerbeast 2.1.x supports EXT4, and auto converts too.
I am attaching the script to this post. Copy it onto ur SD, and run the steps in sequence mentioned below.
1. Get into recovery
2. Factory reset (formats /data and /cache)
3. Wipe dalvik cache (under advanced menu)
4. Run the script attached to this post (optional, and needed only if ROM does not auto convert)
5. Install ROM of ur choice
6. Reboot
Click to expand...
Click to collapse
Ok great so it must have messed up the phone while doing the nandroid restore then. When I did the TB I do remember it coming back with errors for a lot of things. Could that be because it was running Sense 3.0 vs 2.3 (the backup was done on 2.3)?
Focustom said:
Ok great so it must have messed up the phone while doing the nandroid restore then. When I did the TB I do remember it coming back with errors for a lot of things. Could that be because it was running Sense 3.0 vs 2.3 (the backup was done on 2.3)?
Click to expand...
Click to collapse
The way I see it, Sense is an optional set of components over base android, and has nothing to do with TiBu. The ROM I have on now doesn't have any traces of Sense
diablo009 said:
The way I see it, Sense is an optional set of components over base android, and has nothing to do with TiBu. The ROM I have on now doesn't have any traces of Sense
Click to expand...
Click to collapse
Hmm and it backs up/restores just fine?
Ok so I just rooted my new inspire and the boot logo is something completely different when I restored from my nandroid backup. Can these back ups become currupt? The only thing I want from this back are my texts and one of my apps everything else is fine without.
Focustom said:
Hmm and it backs up/restores just fine?
Click to expand...
Click to collapse
Yes
10 char

[Q] about backup,CWM restore=titanium restore?

The question is :
restoring "USER APP" from a backup made with clockworkmod,is the same thing than restoring from titatanium backup?
I'm talking about user app and not system app, and i know that titanium let you choose what you need.
Thanks!!!
CWM only lets you restore everything in the "Simple" mode (that is, format all main partitions and replace with the backup). If you click on advanced restore you can do the same for a particular partition, such as just /data which would essentially do what you just said.
Now i've not tried doing this via CWM, but i can easily see this leading to problems. I would use NANDROIDs only to do full backups or advanced restore only if you are using the exact same ROM as the backup. Otherwise, probably best to save the trouble and stick with Titanium.
Usually i flash cm9 kang every day,so i assume that restoring from cwm advanced restore should works without problem.
It most likely would work perfectly fine in that case. Though you can probably just wipe everything besides the /data partition to begin with and just flash the new ROM. Why wipe /data just to flash the same /data?
Harbb said:
It most likely would work perfectly fine in that case. Though you can probably just wipe everything besides the /data partition to begin with and just flash the new ROM. Why wipe /data just to flash the same /data?
Click to expand...
Click to collapse
i'M AN IDIOT...YOU'RE RIGHT
But the doubt is inside me and sometime i like to try different rom...how can i open "data.img" from cwm backup?
i would like to see what exactly is inside.
I believe it is a yaffs image file. I've not tried to open it but maybe have a look around for unyaffs. Might be easiest to do it in a linux environment, i think there are some native tools available.
However, it is likely just an exact copy of all the files in the /data partition, you're not missing out on anything root explorer doesn't already show you. This means the dalvik cache is in there too, so it might be best to wipe that separately every flash, especially if you decide to restore data via CWM afterward.
Harbb said:
However, it is likely just an exact copy of all the files in the /data partition, you're not missing out on anything root explorer doesn't already show you. This means the dalvik cache is in there too, so it might be best to wipe that separately every flash, especially if you decide to restore data via CWM afterward.
Click to expand...
Click to collapse
I had a look inside root explorer...i wanna try
I think it's the best way,if something goes wrong i'll still have my nand bkp
i tried and seems everything works fine:
start with cm9kang
-nandroid backup
-wiped all
-installed "codename 1.4.0"
-restored from kwm advanced only data
-wiped dalvik
-installed gapps
some settings have been restored,other no ,and all app works
I'm wondering now if codename is cm9 based rom
+1
albedebbi said:
i tried and seems everything works fine:
start with cm9kang
-nandroid backup
-wiped all
-installed "codename 1.4.0"
-restored from kwm advanced only data
-wiped dalvik
-installed gapps
some settings have been restored,other no ,and all app works
I'm wondering now if codename is cm9 based rom
Click to expand...
Click to collapse
sent from my so icey ns4G

[Q] Nandroid Backup

So i think my nandroid backup is nuked... i do a wipe/factory reset, wipe the cache etc etc - tried restoring the backup. After 10mins or so of waiting the process completes and i reboot the phone. I have been sitting here for over 1hr looking at the boot animation.
If there is noway to restore the ENTIRE backup, is there a way i can extract specific stuff like my text messages? I really can't afford to lose them
duwii said:
So i think my nandroid backup is nuked... i do a wipe/factory reset, wipe the cache etc etc - tried restoring the backup. After 10mins or so of waiting the process completes and i reboot the phone. I have been sitting here for over 1hr looking at the boot animation.
If there is noway to restore the ENTIRE backup, is there a way i can extract specific stuff like my text messages? I really can't afford to lose them
Click to expand...
Click to collapse
That seems to happen when /datadata is full or there's some other problem with restoring /data, and the system isn't able to boot. Maybe you can wipe /datadata only and see if boots. I also know that TiBu can extract data from nandroid backups, but I'm not positive whether that applies to messaging.
korockinout13 said:
...Maybe you can wipe /datadata only and see if boots...
Click to expand...
Click to collapse
Let me apologize for my ignorance but how do i do that?
duwii said:
Let me apologize for my ignorance but how do i do that?
Click to expand...
Click to collapse
In recovery, go to mounts & storage, and format /datadata. Although my memory fails me as to where messages are stored...
Sent from my SGH-I897
i forgot to mention that this is a fresh installation (i formatted the entire internal storage, basically coming from STOCK).. i still need to do that wipe you refer to?
duwii said:
i forgot to mention that this is a fresh installation (i formatted the entire internal storage, basically coming from STOCK).. i still need to do that wipe you refer to?
Click to expand...
Click to collapse
Well wiping /datadata may (or might not) allow the phone to boot, because the phone can't boot when that partition is completely full. It also might wipe your messages but I'm not positive.

how to reset cm10 system settings and clear dalvik cache and cache?

how to reset cm10 system settings and clear dalvik cache and cache?
lg p500 running cm10.1 unofficial 4.1.2 jellybean
i did some changes on settings>interface>system>statusbar&notification drawer
and it changed some things i dont like problem is i cant seem to undo the changes
how do i reset the settings to default WITHOUT DELETING ANY DATA and will clearing dalvik cache and cache help and be safe to do even after
i flashed this custom rom back in march without deleting any data
Wipe system, cache and dalvik cache from your recovery and then flash the Rom and gapps again
Sent from my GT-I9082 using xda premium
akiratoriyama said:
Wipe system, cache and dalvik cache from your recovery and then flash the Rom and gapps again
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
doing that will delete my data wont it? will it?
akiratoriyama said:
Wipe system, cache and dalvik cache from your recovery and then flash the Rom and gapps again
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
i want to do this because i have this problem
i want to use the slide notification bar for quick brigthness changing it worked before but it shows this now:
lg p500 doesnt even have ambient light sensor so i dont know how automatic brightness would even be enabled:
If you want you can take a nandroid backup and yes it won't delete any of your data
Sent from my GT-I9082 using xda premium
akiratoriyama said:
If you want you can take a nandroid backup and yes it won't delete any of your data
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
How to make a nandroid backup and what does it do?
I thought if you click wipe system in recovery it deletes your data? Please explain thoroughly so I can do is safely and DON'T lose data
androiddownloader said:
How to make a nandroid backup and what does it do?
I thought if you click wipe system in recovery it deletes your data? Please explain thoroughly so I can do is safely and DON'T lose data
Click to expand...
Click to collapse
If you wipe system you done loose data ... data here roughly means data partition which holds apps
it wipes only when you wipe data or a reset etc
in recovery you can make a backup of current rom ... you need abour 400 mb free space on sdcard
then try anything if it doesnt work out .. in recovery you can restore and nothing would be lost
mcd_legend said:
If you wipe system you done loose data ... data here roughly means data partition which holds apps
it wipes only when you wipe data or a reset etc
in recovery you can make a backup of current rom ... you need abour 400 mb free space on sdcard
then try anything if it doesnt work out .. in recovery you can restore and nothing would be lost
Click to expand...
Click to collapse
if i click wipe system do i lose data? what does wiping system do?
after i make the nandroid backup on my clockwork mod recovery how do i use it to restore from the backup?
akiratoriyama said:
If you want you can take a nandroid backup and yes it won't delete any of your data
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
mcd_legend said:
If you wipe system you done loose data ... data here roughly means data partition which holds apps
it wipes only when you wipe data or a reset etc
in recovery you can make a backup of current rom ... you need abour 400 mb free space on sdcard
then try anything if it doesnt work out .. in recovery you can restore and nothing would be lost
Click to expand...
Click to collapse
i read "wipe system" in clockword mod means "Formatting the system partition will remove your ROM and leave your phone without an operating system "
that means i would lose my operating system or data then what do i do
androiddownloader said:
i read "wipe system" in clockword mod means "Formatting the system partition will remove your ROM and leave your phone without an operating system "
that means i would lose my operating system or data then what do i do
Click to expand...
Click to collapse
you will loose your current rom not data ...
u see apps are in /data partition
and rom on /system ... so wiping system wont afftect /data
its like in windows when you reinstall windows ... only c: gets wiped rest like d: etc arent changed
for nandroid restore ... u can go in recovery > backup and restore ... there is an option for that
mcd_legend said:
you will loose your current rom not data ...
u see apps are in /data partition
and rom on /system ... so wiping system wont afftect /data
its like in windows when you reinstall windows ... only c: gets wiped rest like d: etc arent changed
for nandroid restore ... u can go in recovery > backup and restore ... there is an option for that
Click to expand...
Click to collapse
im saying if i make a backup in cwm and then wipe system that will delete my rom operating system right? and then right after i go to restore the backup? if i do wont the settings go right back that is giving me the brightness problem. and if my phone accidentally turns off then how am i going to get to cwm if theres no rom operating system
androiddownloader said:
im saying if i make a backup in cwm and then wipe system that will delete my rom operating system right? and then right after i go to restore the backup? if i do wont the settings go right back that is giving me the brightness problem. and if my phone accidentally turns off then how am i going to get to cwm if theres no rom operating system
Click to expand...
Click to collapse
©FIRST & LAST >>WIPING/FACTORY RESETTING SYSTEM DOESN'T DELETING SYSTEM.
My dear bro.answer is very very simple
First thing- you want data but not settings right ?
Just go in recovery - go in backup section - backup whole system(do a nandroid bacup)
After that in main menu select -wipe data/factory reset and then wipe cache and dalvik cache also,Ok
Now you only want data and fresh system(resetted) am i right ?
Now go to backup &restore - select Advance restore - select restore data only - select your last backup.
After that back in main menu and select reboot system now!and voila system rebooted(takes about 5-7 minutes ) and you can seeing problem is gone and all data is intact.as it is.
Last but no least - some of your apps that you installed separately is in internal memory is gone due to factory resetting system.
So it is adviced do a titanium backup of each before doing above things
Btw,who tells you wiping system delets itself?
Press thanks if i helped you!

Xperia XA F3111 and TWRP 3.0.2 by Jemmini doesn't save settings

I don't know why but TWRP can't save settings after I have changed it. Every reboot to TWRP results in language, time, options as it was before. Any help appreciated.
regards,
Because internal storage is encrypted. Sony don't see internal storage and can't save settings (default they located in /storage/TWRP
ShevNR said:
Because internal storage is encrypted. Sony don't see internal storage and can't save settings (default they located in /storage/TWRP
Click to expand...
Click to collapse
Hi, so is it a way to decrypt it so I could save new settings ?
regards,
Andrzej_Andrzej said:
Hi, so is it a way to decrypt it so I could save new settings ?
regards,
Click to expand...
Click to collapse
You have to wipe /data partition with TWRP to remove encryption, make backups before.
rrvuhpg said:
You have to wipe /data partition with TWRP to remove encryption, make backups before.
Click to expand...
Click to collapse
Thank you, actually I never wiped it. I flashed stock rom, boot.img, recovery.img, SuperSu, but I never wiped all phone.
regards,
rrvuhpg said:
You have to wipe /data partition with TWRP to remove encryption, make backups before.
Click to expand...
Click to collapse
So when I wipe data partion and it will become decrypted and visible for system - I will be able to save TWRP settings, then can I restore my data partion from backup so I have my data and apps back ?
Andrzej_Andrzej said:
So when I wipe data partion and it will become decrypted and visible for system - I will be able to save TWRP settings, then can I restore my data partion from backup so I have my data and apps back ?
Click to expand...
Click to collapse
Yes you will be able to make nandroid backups and restore and have access to the directories from TWRP, it will save your settings too.
rrvuhpg said:
Yes you will be able to make nandroid backups and restore and have access to the directories from TWRP, it will save your settings too.
Click to expand...
Click to collapse
Hi I did nandroid backup from TWRP and saved it. I wiped data partition and restarted the phone.
It looks like factory reset. I went to TWRP to restore data partition but it still boots to fresh system and looks like is not restoring data. It says in TWRP that data partition restored succesfully. So what is going on ?

Categories

Resources