TWRP Recovery not working. - Galaxy S 5 Q&A, Help & Troubleshooting

I just rooted my phone yesterday and I tried to delete a TWRP backup that was on my internal memory. I was unable to find out how to do it and set permissions in TWRP, which caused my phone to start booting with unable to start messages and a black screen. I tried restoring a backup and I wiped and restored, both have still same issue.
So at the moment I can start TWRP or factory reset, but as of yet, I cannot restore my backup.
When I backed up the phone I didn't select everything, I left out data.

Since you didn't backup your data, they are a few options. Wipe dalvik and cache from recovery, dirty flash a rom, clean flash a rom.

metalfan78 said:
Since you didn't backup your data, they are a few options. Wipe dalvik and cache from recovery, dirty flash a rom, clean flash a rom.
Click to expand...
Click to collapse
I was using an old version of twrp. I updated to 2.8.6.0 and it all works now, thanks.

Related

TWRP data restore not working

Hi,
I have flashed a new rom and i wanted to restore my data via twrp.
It was successfull, but my N7 was not able to reboot, because just booting and it havent done anything.
I made a wipe cache and dalvik cache but they couldn't help.
Any idea how can i solve this issue?
im using twrp 2.4.4.0
thx your help!
szabadgy said:
Hi,
I have flashed a new rom and i wanted to restore my data via twrp.
It was successfull, but my N7 was not able to reboot, because just booting and it havent done anything.
I made a wipe cache and dalvik cache but they couldn't help.
Any idea how can i solve this issue?
im using twrp 2.4.4.0
thx your help!
Click to expand...
Click to collapse
You're confounding variables here... you're trying to use TWRP like Titanium (apps/data).
TWRP (like CWM) is a MONOLITHIC backup system, pretty much everything gets restored. Titanium is GRANULAR... and selected apps/data are restored WITHIN the ROM you've just flashed... not OVER THE TOP of the ROM, as you've just attempted to do... which will cause no end of problems.
--------
Here's what I would do.... restore your NANDROID backup as normal (factory reset, etc.)... Get TITANIUM from PlayStore. Backup your apps/data using that.
Flash your ROM... restore your apps/data using TITANIUM.
Rgrds,
Ged.

Made backup in TWRP 2.3.4, won't restore in 2.5.0

Any ideas on this one? I don't get any errors on the restore, but I am stuck on the eye every time I boot. I have tried wiping cache and dalvik cache.
About to just restore from Matt's tool, but this has me worried, you know?
Coronado is dead said:
Any ideas on this one? I don't get any errors on the restore, but I am stuck on the eye every time I boot. I have tried wiping cache and dalvik cache.
About to just restore from Matt's tool, but this has me worried, you know?
Click to expand...
Click to collapse
Well, have to say, thanks matt. The included RSD helped.
I forgot I was also restoring stock over CM10, which may have also been the issue, but I am back into the phone now.
You shouldn't have issues restoring backup from the older version, and you shouldn't have issues restoring a stock build over CM. Did you use the restore option or did you try to install the backup?
Sent from my Slim Scorpion-mini
RikRong said:
You shouldn't have issues restoring backup from the older version, and you shouldn't have issues restoring a stock build over CM. Did you use the restore option or did you try to install the backup?
Sent from my Slim Scorpion-mini
Click to expand...
Click to collapse
I have no idea what caused the issue. I did a backup of CM10, wiped data, cache, dalvik, and system. Hit restore on my old Stock backup (created in TWRP, not safestrap), wiped dalvik and cache again, and rebooted (and allowed TWRP to fix root first). It booted to the droid eye, but then just hung there for about 10 minutes.
I used Matt's utility to restore the system and it failed (tried to install the same part of system over and over again, 3mb in 4 seconds, 100k in .4 seconds, over and over again). So I had to force stop that and use RSD which worked fine.
No idea what all that was about.
So I think I found the culprit. My backups from the older version of TWRP don't have BOOT, only SYSTEM and DATA. So I was probably having my stock rom install while the CM10 BOOT was still in place.
The more you know

[Q] Flashing various TW Lollipop fw over existing CM12 fails

Hello,
actually I'm using a SGS4 I9505 with cm-12-20150304-NIGHTLY-jfltexx and CWM 6.0.5.1.
I've tried to flash several TW Lollipop firmware wich i found in the I9505 forum:
1. Kushan+Touchwiz+Lollipop+Lite+Rom+v.1.2
2. S4_Echoev42_EchoePop2_020315
3. OA7-2.1F
4. XXUHA07-v2.01
Before flashing any oft this firmwares i made a factory reset, wiped both caches and installed the modem Firmware via Odin.
After flashing firmware # 1 and 2 my phone was stuc in a bootloop (only Samsung Galaxy S4 Logo appears).
Flashing firmware #3 and 4 fails and cwm reports error 7.
Flashing cm12 afterwards isn't a problem and runs fine.
I think the wipe fails or doesn't work properly. Is it enougth to select factory reset in cwm and wipe the dalvik cache manualy?
What can I do?
With besteht regard
Mirko (NemesisMF)
What if it is a recovery problem?
Thought about that too.
Should i try twrp or philz?
I switched to Philz Recovery and flashed S4 Echoe Rom v42 without any Problems.
CWM seems to have a problem to falsh TW Lollipop images ower an existing CM12 an the I9505.
You need to do full wipe not just cache.
ranger4740 said:
You need to do full wipe not just cache.
Click to expand...
Click to collapse
As I wrote above I did a factory reset before flashing and wiped the caches with cwm. If that is not enougth it would be nice to explain what else I have to wipe or post a link.
While using philz recovery the factory reset for clean system is enougth and the new System is working fine.
Factory wipe is not full wipe, you need to do a full wipe as in format to install new rom, phillz recovery has this feature can't remember exactly where, I think its under advanced.
Just have a look in the sub menus.
Just to explain it better when you do a full wipe it deletes every part of the existing
Rom including the system, data and cache and some other stuff completely removing the android operating system, so unless the rom you install does a wipe before install parts of the existing system will remain and can cause boot issues. For example as you've already discovered you are trying to install a tw rom over an existing cyanogenmod 12 installation which Will cause it to hang on boot.
NemesisMF said:
As I wrote above I did a factory reset before flashing and wiped the caches with cwm. If that is not enougth it would be nice to explain what else I have to wipe or post a link.
While using philz recovery the factory reset for clean system is enougth and the new System is working fine.
Click to expand...
Click to collapse
Do you mean a factory reset from within Android itself? If so, then that's a complete obsolete step. When before flashing a rom you should perform a factory reset, then they always mean a full wipe from the recovery. You need to do a full wipe from the recovery. That means the /system partition is being wiped. You will see it in the screen during the wipe if it wipes /system.
But it also could have been a problem of CWM. I don't think it is being updated anymore, so better use TWRP or Philz.

Can't restore stock rom backup from TWRP (SM-G900F)

Hello,
before I played around with getting root and flashing custom roms, I backup everything in Samsung Smart Switch.
After getting root and install TWRP, I backup the whole system (except the recovery partition) to the external sd-card from TWRP.
Now - after getting some experience with custom roms - I will go back to the stock rom from my TWRP-Backup. Set everything to factory default, wipe cache and dalvik and press restore. Select my backup... swipe to flash... everything seems ok. After reboot - no bootloop - a thousands of alert-messages pops up "blabla-app stopped"... Then appears only a black screen.
How can i restore my backup from TWRP? Or is there a stock-rom, so i can backup from smart switch? My System is a LRX21T.G900FXXU1BOJ1
Thanks alot!
Try clearing the caches from recovery and boot again
If it fails, try wiping everything again, then restore all partitions except DATA
See if it boots
If it boots - either reinstall apps etc manually, or use TiBu to restore the DATA partition
I've got it!
I flashed a stock rom with odin and restore with smart switch. Some settings are missing, but i think 90% is restored
Nice job

Random names TWRP

Hi, I'm from Nougat 4.5.14 and these are the steps I made:
1. Flash codeworx then reboot to twrp
2. Wipe cache and dalvik
3. Install OS 5.0.2
4. Install magisk
5. Wipe cache dalvik
6. Reboot to system
However after rebooting to system it started bootlooping so I decided to reflash OS and wipe data as recommended. So I power off the phone then hold volume down + power to boot to recovery. However when I boot to recovery, file folders started to become random names like its encrypted. Luckily I backed up my internal storage and data so I'm okay to flash everything but can someone help me how to fix the twrp random file names and the steps for reflashing the OS?
EDIT: I rebooted to recovery, wiped dalvik, cache, and data. flashed OS 5.0.2, wipe dalvik cache, flashed magisk, wipe dalvik, reboot to system and it does not proceed to circling dots. So what I did is just, wipe dalvik, cache, data, flashed OS, wipe again dalvik cache, boot to system and it proceeds to circling dots however it takes so long that I can consider this as bootloop. I'm very tempted to wipe everything (data, system, internal storage, cache, dalvik) then just flash again the OS but I don't know if it would work so I hope someone could give me some steps how to fix this
Edit 2: This is solved now: What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.
You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.
panooos said:
You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.
Click to expand...
Click to collapse
What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.
Edit: nvm you've solved it
Peshyy said:
Edit: nvm you've solved it
Click to expand...
Click to collapse
You can still show other solutions as others may need it sometime

Categories

Resources