Updating Exodus Nandroid Restore Issue - ONE Q&A, Help & Troubleshooting

Sorry if this has already been asked; I tried searching, but I couldn't find anything.
I'm running Exodus version 5.1-20150911-NIGHTLY-bacon, TWRP 2.8.6, Exodus stock kernel
I'm trying to update to a new nightly, but I always get stuck in a bootloop.
Here's what I do:
Reboot to recovery
Nandroid backup
Wipe data, system, cache, Dalvik
Flash the new ROM (I tried COS 12.1 once, but it didn't work; I mostly try flashing the latest Exodus nightly_
(sometimes) Flash xposed-v74-sdk22-arm-by-romracer (it doesn't make a difference if I don't flash it)
Restore only the data from the last nandroid
Now when I reboot I'll just be stuck in the boot animation or I'll be able to pass the animation and I'll just be stuck in a loop setting up the apps.
If I don't flash xposed, but still restore the nandroid I'll boot up faster, but I get System UI has Stopped and then the phone goes into a boot animation loop
If I don't restore the nandroid it works fine and boots up way faster.
How can I update while keeping my app data (my xposed data isn't that important to me if that'll make a difference)?

RustySpackleford said:
Sorry if this has already been asked; I tried searching, but I couldn't find anything.
I'm running Exodus version 5.1-20150911-NIGHTLY-bacon, TWRP 2.8.6, Exodus stock kernel
I'm trying to update to a new nightly, but I always get stuck in a bootloop.
Here's what I do:
Reboot to recovery
Nandroid backup
Wipe data, system, cache, Dalvik
Flash the new ROM (I tried COS 12.1 once, but it didn't work; I mostly try flashing the latest Exodus nightly_
(sometimes) Flash xposed-v74-sdk22-arm-by-romracer (it doesn't make a difference if I don't flash it)
Restore only the data from the last nandroid
Now when I reboot I'll just be stuck in the boot animation or I'll be able to pass the animation and I'll just be stuck in a loop setting up the apps.
If I don't flash xposed, but still restore the nandroid I'll boot up faster, but I get System UI has Stopped and then the phone goes into a boot animation loop
If I don't restore the nandroid it works fine and boots up way faster.
How can I update while keeping my app data (my xposed data isn't that important to me if that'll make a difference)?
Click to expand...
Click to collapse
Why are you bothering to wipe if you're restoring your nandroid data anyway? Restoring the data is just canceling the wipe you just did. If you want to flash and keep your data just dirty flash the ROM update (a dirty flash means installing the zip while only wiping cache and dalvik cache).

Heisenberg said:
Why are you bothering to wipe if you're restoring your nandroid data anyway? Restoring the data is just canceling the wipe you just did. If you want to flash and keep your data just dirty flash the ROM update (a dirty flash means installing the zip while only wiping cache and dalvik cache).
Click to expand...
Click to collapse
I didn't realize that.
Edit: How do you clean flash and keep your data?

RustySpackleford said:
I didn't realize that.
Edit: How do you clean flash and keep your data?
Click to expand...
Click to collapse
You can't, that would defeat the purpose of a clean flash.

Related

[Q] Can't boot after making backup

I saw that TWRP was updated to 2.3.3, so I first made a backup of boot and recovery partitions in TWRP and named the backup "recovery" with compression enabled. I then rebooted system to use Flash Image GUI and the device hung at the boot animation. I reflashed the kernel in fastboot, wiped cache and dalvik, and it still hangs. I can still boot into recovery (never actually updated). Do I need to reflash the ROM? Was running King Kang and b6.
Edit: Well ended up doing a full wipe restoring rom and tibu. Still no idea what happened though. Making a backup shouldn't mess anything up like this...

[Q] flashing from cm11 to 12 nightly then PA bootloop help needed

ok so here is what i have done and what has happened. so far google and the search box keep taking me to threads with similar problems but those fixes dont work or do not apply to me afaik.
so i started on cm11s stock rooted on the One. (bootloader is already unlocked)
checking the PA rom thread it said if you are flashing from cm11 make sure to flash to cm12 first, then flash gapps.
once that is working get into recovery mode (twrp in my case) clear cache and dalvik then flash PA rom
done that then ended up in an android apps loading bootloop. i have flashed GAPPS also but still remaining in the bootloop.
now if i go back to cm12 i can get to the homescreen and use it a little. but once i plug the usb cable in (connected to PC) it reboots. it also reboots randomly. i have since just wiped the entire phone. now once im on the homescreen i try to access the internal storage in windows and the device appears but does not show anything. i am trying to copy the PA rom zip and Gapps zip to the phone to try flashing again. since it has been crapping itself i have been using adb sideload to flash files.
so what am i missing, what have i forgot to do along the way?
cm11 to cm12 then PA as per instructed is giving me a bootloop (with wiping cache+dalvik when supposed to)
any help is appreciated,
cheers,
kanjo
kanjo said:
ok so here is what i have done and what has happened. so far google and the search box keep taking me to threads with similar problems but those fixes dont work or do not apply to me afaik.
so i started on cm11s stock rooted on the One. (bootloader is already unlocked)
checking the PA rom thread it said if you are flashing from cm11 make sure to flash to cm12 first, then flash gapps.
once that is working get into recovery mode (twrp in my case) clear cache and dalvik then flash PA rom
done that then ended up in an android apps loading bootloop. i have flashed GAPPS also but still remaining in the bootloop.
now if i go back to cm12 i can get to the homescreen and use it a little. but once i plug the usb cable in (connected to PC) it reboots. it also reboots randomly. i have since just wiped the entire phone. now once im on the homescreen i try to access the internal storage in windows and the device appears but does not show anything. i am trying to copy the PA rom zip and Gapps zip to the phone to try flashing again. since it has been crapping itself i have been using adb sideload to flash files.
so what am i missing, what have i forgot to do along the way?
cm11 to cm12 then PA as per instructed is giving me a bootloop (with wiping cache+dalvik when supposed to)
any help is appreciated,
cheers,
kanjo
Click to expand...
Click to collapse
The PA thread actually says to flash PA over the top of CM12 while only wiping cache and dalvik cache? No wiping system or data? I'd put money on that being the cause of your problems. The only reason to flash CM12 first is to have the proper updated firmware installed in preparation for PA. Leaving the system and data partitions intact before flashing a different ROM (PA over CM12) is asking for trouble.
Go into TWRP and perform a full wipe (system, data, cache, dalvik cache), then flash the PA zip and the gapps zip and reboot. Don't flash CM12 again because the firmware was updated the first time you flashed it.
EDIT: Exactly which thread are you getting these instructions from? Neither of the PA threads that I'm aware of contain those instructions.
Heisenberg said:
The PA thread actually says to flash PA over the top of CM12 while only wiping cache and dalvik cache? No wiping system or data? I'd put money on that being the cause of your problems. The only reason to flash CM12 first is to have the proper updated firmware installed in preparation for PA. Leaving the system and data partitions intact before flashing a different ROM (PA over CM12) is asking for trouble.
Go into TWRP and perform a full wipe (system, data, cache, dalvik cache), then flash the PA zip and the gapps zip and reboot. Don't flash CM12 again because the firmware was updated the first time you flashed it.
Click to expand...
Click to collapse
was coming back just now to update whats happening.
i finally got PA to boot. after many many fresh installs of cm12. one booted without a loop. i went back to twrp did a factory reset (wipe of dalvik and cache) (device was already freshly wiped of all data) had tried this many times but it finally booted.
now i have some weird things happening., ie. if i go into settings and enable or disable ADB the phone reboots... it didn't have that happen when i was on cm11. so not sure why it is happening now.
further if i install GAPPS i get a boot loop of android is upgrading. not sure why. the only boot that seems to work is when i run PA no gapps and no SUroot. any ideas why this is happening? or for how long the android is upgrading is meant to loop. ive seen some people say it is normal and could last 10 minutes. ive sat through multiple sessions of this some 1hour+ long. so not sure what is going wrong. i dont usually have much trouble flashing roms. this one is puzzling.
**edit**
forgot to add when it does boot. well when it did,. its now on a Android is upgrading loop after flashing GAPPS and enabling root......
anyway when it did boot the homescreen would show an error saying "settings has stopped" not sure why that is happening either.
kanjo said:
was coming back just now to update whats happening.
i finally got PA to boot. after many many fresh installs of cm12. one booted without a loop. i went back to twrp did a factory reset (wipe of dalvik and cache) (device was already freshly wiped of all data) had tried this many times but it finally booted.
now i have some weird things happening., ie. if i go into settings and enable or disable ADB the phone reboots... it didn't have that happen when i was on cm11. so not sure why it is happening now.
further if i install GAPPS i get a boot loop of android is upgrading. not sure why. the only boot that seems to work is when i run PA no gapps and no SUroot. any ideas why this is happening? or for how long the android is upgrading is meant to loop. ive seen some people say it is normal and could last 10 minutes. ive sat through multiple sessions of this some 1hour+ long. so not sure what is going wrong. i dont usually have much trouble flashing roms. this one is puzzling.
**edit**
forgot to add when it does boot. well when it did,. its now on a Android is upgrading loop after flashing GAPPS and enabling root......
anyway when it did boot the homescreen would show an error saying "settings has stopped" not sure why that is happening either.
Click to expand...
Click to collapse
Just to be clear, you've wiped system, data, cache, and dalvik cache directly before flashing PA? No CM flashes since wiping all of those partitions?
Also, which thread are you getting those install instructions from? Neither of the PA threads that I'm aware of contain those instructions.
ill try to clean up what has happened here;
have tried booting to twrp. wiped all data,
flashed PA
booted. with weird errors (settings has stopped and reboots on usb plugged in or adb turned off or on)
tried to flash gapps and enable root
now bootloop of android is upgrading.
going to go back to twrp. wipe all data and flash PA again without gapps and without root. will report back in about 10 minutes. will flash by using TWRP and ADB sideload.
do i need to reflash cm12 if i clear all data in twrp? i saw you mention above once i have flashed cm12 once it will have the need FW files to go to lolipop (in this case PA rom) at the moment i am trying to sideload PA rom after wiping data, system, cache and dalvik. is this why i am having the issue?
im dead tired so i admit i can be making mistakes though everything i have done seems to be what i am meant to do. flashed from cm11 to cm12, cleared all data, then flashed PA+gapps and root. = upgrading boot loop and errors mentioned above. tried flashing just PA and it booted with same errors, flashed gapps and errors.
all the files MD5s look good. not sure what is wrong.
--edit--
okay now i am at homescreen on PA.
when enabling/disabling adb in dev settings i get a reboot. is this normal now? does it need to reboot to mount the filesystem or something?
when it does boot after enabling adb i get "settings has stopped"
going to go to TWRP and flash GAPPS now and leave root not installed. will report back in a sec.
kanjo said:
ill try to clean up what has happened here;
have tried booting to twrp. wiped all data,
flashed PA
booted. with weird errors (settings has stopped and reboots on usb plugged in or adb turned off or on)
tried to flash gapps and enable root
now bootloop of android is upgrading.
Click to expand...
Click to collapse
Please define wiped all data.
kanjo said:
do i need to reflash cm12 if i clear all data in twrp? i saw you mention above once i have flashed cm12 once it will have the need FW files to go to lolipop (in this case PA rom)?
Click to expand...
Click to collapse
You only need to flash CM12 once, ever. The wipes don't remove the firmware.
Right now this is the exact (and only) process you need to follow:
1. Boot into TWRP.
2. Wipe system, cache, dalvik cache, and data.
3. Flash ROM + gapps together.
4. Reboot phone.
Heisenberg said:
Please define wiped all data.
You only need to flash CM12 once, ever. The wipes don't remove the firmware.
Right now this is the exact (and only) process you need to follow:
1. Boot into TWRP.
2. Wipe system, cache, dalvik cache, and data.
3. Flash ROM + gapps together.
4. Reboot phone.
Click to expand...
Click to collapse
this is what i am trying to do now. but when i flash PA and GAPPS i get android is upgrading x of xxx apps and reboot, repeat.
no idea why.
kanjo said:
this is what i am trying to do now. but when i flash PA and GAPPS i get android is upgrading x of xxx apps and reboot, repeat.
no idea why.
Click to expand...
Click to collapse
Not sure why that's happening of you're following the correct process. Maybe try with a different ROM.
Heisenberg said:
Not sure why that's happening of you're following the correct process. Maybe try with a different ROM.
Click to expand...
Click to collapse
balls, was hoping to us PA, haven't used it since my old s3 and figured it was the rom for me again. will have to check the rom comparison spreadsheet and look into others.
right now i have sideloaded PA alone. will copy PA and gapps to the internal storage to make things easier.
but it doesnt look like it is going to work for me.
going to try it once more like you said but locally rather than through sideload. though the internal storage is deciding when it does and doesnt want to show up.
TWRP
wipe system, cache, dalvik cache, and data.
and flash them both in tandem.
and for the fun of it when it asks if i want to install root i will let it go right ahead.
maybe this time it will work. if not then its a different rom for me. sadly.
okay so now **** got retarded. TWRP has been replaced by the stock cm11 recovery and i am too pissed off to think straight and cannot remember how to get this son of a ***** rooted again let alone to flash TWRP. i dont want to use any toolkits they all seem broken as hell.
can anyone point me in the right direction because ive just about lost my **** and this phone is going to meet my fist head on very shortly...
**edit**
done. after all this i am now on cm11 stock rooted ....seriously. hours upon hours, just to get back to where i started.
man i love when things go smoothly. anyway cheers for your help @Heisenberg . n

TWRP 3.0.2

5After installation of the image i when to the recovery to check if everything went well and after it i wipe cache and dalvik then restart system. Now is looping into recovery. Any help TIA.
EDIT: tried backing up in recovery and restore its still going back to recovery. Also tried flashing 3.0.1 still the problem persist.
EDIT: also if i dirty flash sultans rom will i be able to enter? I havent able to back up anything :/

[ROM][UNOFFICIAL][8.1.0] LineageOS 15.1 Oreo

Hi,
It seems like there's a LineageOS 15.1-based rom avalible for Moto X Style.
Tested, it's quite laggy and buggy.
Happy Flashing
androidfilehost.com/?fid=673791459329070491
I tested it and did not recommend it by the hour.
Even it is very difficult to return to another rom 7.1. The problem recovery after the flash of this rom.
how did you return to 7.1? mine cant flash 7.1 even cant restore nandbackup, wipe dalvic, etc only reboot, cant downgrade bootloader in fastboot
22pises said:
how did you return to 7.1? mine cant flash 7.1 even cant restore nandbackup, wipe dalvic, etc only reboot, cant downgrade bootloader in fastboot
Click to expand...
Click to collapse
You are using wrong twrp ver.
Here you can find correct:
https://forum.xda-developers.com/moto-x-style/general/custom-roms-nougat-modem-t3733105
dzidexx said:
You are using wrong twrp ver.
Here you can find correct:
https://forum.xda-developers.com/moto-x-style/general/custom-roms-nougat-modem-t3733105
Click to expand...
Click to collapse
wipe and flashing is now working but when i flash my 7.1 rom and even my 7.1 nandbackup is now bootloop only the 8.1 is only working now im stuck in unofficial 8.1 with full of bugs i cant downgrade bootloader also
Twrp:
Format cache, systam, data to ext4, reboot bootloader, go to twrp, format all back to f2fs, reboot bl, twrp, flash any custom for N modem.
Apps & data you can restore/extract with titanium backup or nandroid manager app.
Before this you can try restore or flash boot.img(extract from custom.zip), reboot twrp, wipe all & format data then restore your backup. @22pises
dzidexx said:
Twrp:
Format cache, systam, data to ext4, reboot bootloader, go to twrp, format all back to f2fs, reboot bl, twrp flash any custom for N modem.
Apps & data you can restore/extract with titanium backup or nandroid manager.
Before this you can try restore or flash boot.img(extract from custom.zip), reboot twrp, wipe all & format data then restore your backup.
Click to expand...
Click to collapse
i see, i will try
Twrp - adv wipe - select one partition - change... - ext4... etc.
dzidexx said:
Twrp - adv wipe - select one partition - change... - ext4... etc.
Click to expand...
Click to collapse
thankyou very much for the help, im back in los7.1 again my phone is working now

Nandroid Restore gone wrong

Hi,
I have tested the liquidremix rom which is great, but I still wanted to go back to my stock OSS
So I started TWRP, hit restore, everything seem to work fine, but when I reboot the system I'm stuck at the boot animation.
When I reboot the device to TWRP and check the file manager or my backup folder there are only cryptic and weird letters...
How do I restore my backup properly ?
Try to go back to TWRP 3.2.1.0 i think that that works
everything is gone, you will have to restore with the brick tool, happened to me last week and still not sure why, apparently backing up with TWRP you only need to ticket DATA and that's it.
You need to do two things whenever you restore with TWRP. First is factory reset in TWRP before the restore (that will wipe data). Second is restore system, boot, and data ONLY.
The weird file names and cryptic letters is from the encryption from the old rom. I strongly recommend that you invest in an OTG flash drive so you can store TWRP backups on it. Then you can properly wipe the phone. On the plus side this has happened to me before and I never needed anything special like the unbrick tool to get my TWRP backup up and running smoothly.
and there is a better twrp than twrp. The official is by Dees Troy and the un-official one by Joe Moss Jr. is here. https://forum.xda-developers.com/oneplus-6/development/recovery-twrp-3-2-2-0-touch-recovery-t3813317
Joe's big improvement is a usable 'mtp', ie. access that thumb drive.
Also puts the vibration back in to the key press.
First if you r seeing weired letters in twrp like xdjdhdhdhd folders. Then go to fastboot mode flash newest twrp. Img then ij recovery first flash your liquid remix furst, then flash twrp installer zip niw reboot to recovery.
Now factory reset your phone.
Now if you have oos backup. Then restore everything except system.
And then restore system alone at last now reboot it will work.
your gonna need the flashable oos 5.1x which is one here
https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244
fastboot to twrp
abd push the stock.zip to the phone <-assuming you know this.
and flash it from twrp.
reboot
fastboot twrp again and flash twrp.
this is where decryption comes in handy
Restoring backups with twrp will fail almost all the time. I've yet to do a successful restore and I've tried every method. You're gonna have to flash back to stock OOS and start over.
If anyone has successfully restored more than one backup then I would start a new thread with the exact method you used.
That worked.
I still wonder why not to restore system.
If I take a nandroid backup should one backup
system or system image, data or data image ?
I was trying a new rom the Resurection Remix V6.2.0 Android 8.1.0. i wanted to go back to my TWRP Backup of OOS 5.11 . I wiped data/cache/System . Tried to restore rom . it restored successfully but i didnt do wipe data thing. when i tried to reboot twrp blu, the recovery was lost. then i had to fastboot boot reovery. and lot of wierd folders were created on my phone internal memory. All data lost.
i had to flash the full 5.11 stock zip via twrp. tried to reboot again lost in bootloop. Switched back to stock recovery and make a factory reset then it booted.
switched off the phone back to Blu spark TWRP. again wipe data cache and system. Then restore the TWRP Backup previously double saved on a usb drive. This Time it restored successfully and booted as well fine.
i think i should have made a factory reset or format data before restoring from A Lineage OS Rom OS to OOS TWRP Backup
thats what made the whole internal drive mess and to be formatted as well
My Question is it only important to format data and then restore twrp or also backup and make restore of system.img of OOS backup as well

Categories

Resources