TWRP: which version? - ONE Q&A, Help & Troubleshooting

Hi all.
I am going to root and reinstall a brand new bacon phone.
I'd need to know which version of TWRP has working backup/restore features and can work on CM12.1/CM13 encrypted data.
I've read different posts about this but am a little bit confused.
TIA for any help/hint.

The newest
Hello and thank you for using Q/A,
please try the newest 3.0.0

Trafalgar Square said:
Hello and thank you for using Q/A,
please try the newest 3.0.0
Click to expand...
Click to collapse
Is v3.0.0 suggested for both points (backup+restore and ancryption)?
Did you tried it yourself (or maybe you have confirmation by other users) or are you asking me to give it try?
Thanks anyway.

I couldn't format the cache with this version and could not boot anymore. Solved flashing the original cache from fastboot zip.

poochie2 said:
I couldn't format the cache with this version and could not boot anymore. Solved flashing the original cache from fastboot zip.
Click to expand...
Click to collapse
I think there's a typo.
Do you mean "formatting the cache from fastboot" or "flashing the recovery from fastboot"?

Uqbar said:
I think there's a typo.
Do you mean "formatting the cache from fastboot" or "flashing the recovery from fastboot"?
Click to expand...
Click to collapse
I mean i flashed the cache.img via fastboot after extracting it from the fastboot zip package.
Sent from my Google LG N5.

poochie2 said:
I mean i flashed the cache.img via fastboot after extracting it from the fastboot zip package.
Sent from my Google LG N5.
Click to expand...
Click to collapse
It's official. I don't know the meaning of what you said.
I mean, I never flashed a cache. I backet it up a few times but usually either I clear it(s content) or I format it(s partition).
Please help me to understand: I really don't understand.

Uqbar said:
It's official. I don't know the meaning of what you said.
I mean, I never flashed a cache. I backet it up a few times but usually either I clear it(s content) or I format it(s partition).
Please help me to understand: I really don't understand.
Click to expand...
Click to collapse
Since the recovery (3.0.0) got stuck formatting the cache like it was corrupted, I restored it by flashing it as you do with a broken recovery.
Sent from my Google LG N5.

Luck
poochie2 said:
Since the recovery (3.0.0) got stuck formatting the cache like it was corrupted, I restored it by flashing it as you do with a broken recovery.
Sent from my Google LG N5.
Click to expand...
Click to collapse
This never happened to me, so far.
I install the recovery from recovery (either zip or img), then I reboot to recovery and do some checks. But I'ven't got the recovery stuck since years now.
Maybe I've just been lucky!

Related

[Q] Please help... Bad flash

Hi, I was using TWRP to flash a new rom... I wiped but it took ages and appeared to have hanged. I powered down, then back up.
It loaded to Android... then froze.
Now I cant even boot to TWRP.
I can use WUGS toolkit to boot to twrp but I cant mount anything as it asks for a password to decrypt! I didnt have encryption enabled on my phone.
How can I fix this... I cant boot to Android to change USB debugging, only fastboot commands,
I think the fix is to format data. But try formatting just the cache first if you don't want to lose data.
viperman78 said:
Hi, I was using TWRP to flash a new rom... I wiped but it took ages and appeared to have hanged. I powered down, then back up.
It loaded to Android... then froze.
Now I cant even boot to TWRP.
I can use WUGS toolkit to boot to twrp but I cant mount anything as it asks for a password to decrypt! I didnt have encryption enabled on my phone.
How can I fix this... I cant boot to Android to change USB debugging, only fastboot commands,
Click to expand...
Click to collapse
First try:
fastboot flash cache cache.img
Get the cache.img from the factory image
jd1639 said:
First try:
fastboot flash cache cache.img
Get the cache.img from the factory image
Click to expand...
Click to collapse
Thanks,
I tried that but I get "error cannot open 'cache.img"
meangreenie said:
I think the fix is to format data. But try formatting just the cache first if you don't want to lose data.
Click to expand...
Click to collapse
TWRP wont let me format, it just re-asks me for my password to decrypt
viperman78 said:
Thanks,
I tried that but I get "error cannot open 'cache.img"
Click to expand...
Click to collapse
You sure you got the path to cache.img correct. Fastboot isn't finding it
jd1639 said:
You sure you got the path to cache.img correct. Fastboot isn't finding it
Click to expand...
Click to collapse
My bad... I've only used Toolkits before (very lazy). I put the cache.img in the right folder... it now says its erasing cache. But its taking ages!
viperman78 said:
My bad... I've only used Toolkits before (very lazy). I put the cache.img in the right folder... it now says its erasing cache. But its taking ages!
Click to expand...
Click to collapse
Let it do it's thing
---------- Post added at 08:27 AM ---------- Previous post was at 08:16 AM ----------
jd1639 said:
Let it do it's thing
Click to expand...
Click to collapse
If it's still going, something is wrong. Your cache partition is probably borked
jd1639 said:
Let it do it's thing
---------- Post added at 08:27 AM ---------- Previous post was at 08:16 AM ----------
If it's still going, something is wrong. Your cache partition is probably borked
Click to expand...
Click to collapse
Ok, its still going. Is there a recovery from this or have I killed my phone?
viperman78 said:
Ok, its still going. Is there a recovery from this or have I killed my phone?
Click to expand...
Click to collapse
If you can get into fastboot there's recovery. The next step is to flash the factory image. You will lose all your data. In the factory image there is a flash-all batch file. Just plug your phone into the usb and run that. It should take about 5 Minutes to run it
jd1639 said:
If you can get into fastboot there's recovery. The next step is to flash the factory image. You will lose all your data. In the factory image there is a flash-all batch file. Just plug your phone into the usb and run that. It should take about 5 Minutes to run it
Click to expand...
Click to collapse
Thanks mate, I don't care about saving data... I just want the phone to work! I'll let you know how it goes
viperman78 said:
Thanks mate, I don't care about saving data... I just want the phone to work! I'll let you know how it goes
Click to expand...
Click to collapse
When you get it running again use trwp 2.6.3.4 from what started your problem it sounds like you were using an earlier version
jd1639 said:
When you get it running again use trwp 2.6.3.4 from what started your problem it sounds like you were using an earlier version
Click to expand...
Click to collapse
Thanks, I have flashed the bootloader and radio fine... but whenever I fastboot reboot-bootloader it just goes black and I have to power/volume down to get back to recovery. I'll do the other files now
@abaaaabbbb63 any ideas for this guy? I thinking bad emmc at this point
jd1639 said:
@abaaaabbbb63 any ideas for this guy? I thinking bad emmc at this point
Click to expand...
Click to collapse
Its not good... I'm flashing system.img but its just hanging on erasing 'system'.
is there a recovery from bad emmc?
viperman78 said:
Its not good... I'm flashing system.img but its just hanging on erasing 'system'.
is there a recovery from bad emmc?
Click to expand...
Click to collapse
There is but you're not going to like it. It's RMA the device
jd1639 said:
There is but you're not going to like it. It's RMA the device
Click to expand...
Click to collapse
Crap... its unlocked does that mean they wont honor a warranty? Is there nothing left to try?
viperman78 said:
Crap... its unlocked does that mean they wont honor a warranty? Is there nothing left to try?
Click to expand...
Click to collapse
You can probably still:
fastboot oem lock
But hold off on that for awhile maybe someone else had some ideas
jd1639 said:
@abaaaabbbb63 any ideas for this guy? I thinking bad emmc at this point
Click to expand...
Click to collapse
Yup. Definitely a bad emmc. Sorry mate.
abaaaabbbb63 said:
Yup. Definitely a bad emmc. Sorry mate.
Click to expand...
Click to collapse
Well bugger it! Thanks for the help guys. So, I'll try a relock and RMA. If the relock fails is it possible I can pay LG to fix it or is it just better to buy a new Nexus? Otherwise I imagine I'll be months without a phone.
Did I break the emmc or is it just a dodgy chip? Or maybe I didn't use the latest TWRP?

[Q] error executing updater binary in zip / lollipop cm12 nightly

Hi,
i searched many threads here on xda to find a solution, but nothing works. I tried different recovery versions of twrp, cwm(philz) and the official cyanogenmod version.
I tried to flash it with sideload.
I think the problem is only with Lollipop ROM, cm-bacon-XNPH38R.zip he was able to flash.
I added a screenshot where the error happens.
I hope you guys can help me, please tell me if you need any more information?
And sorry for my bad english. ^^
Thanks in advance!
DerZwerg said:
Hi,
i searched many threads here on xda to find a solution, but nothing works. I tried different recovery versions of twrp, cwm(philz) and the official cyanogenmod version.
I tried to flash it with sideload.
I think the problem is only with Lollipop ROM, cm-bacon-XNPH38R.zip he was able to flash.
I added a screenshot where the error happens.
I hope you guys can help me, please tell me if you need any more information?
And sorry for my bad english. ^^
Thanks in advance!
Click to expand...
Click to collapse
It looks like you're not wiping fully (system, data, cache, dalvik cache) before flashing.
Are you using multirom? That error is common if the updater-script file isn't multirom compatible
Sent From Lollipopified Bacon Goodness!
I did a full wipe and i don´t use multirom, i found the threads with those problems.
DerZwerg said:
I did a full wipe and i don´t use multirom, i found the threads with those problems.
Click to expand...
Click to collapse
You definitely wiped system and data? Did you check the md5 of the ROM zip after downloading it?
timmaaa said:
It looks like you're not wiping fully (system, data, cache, dalvik cache) before flashing.
Click to expand...
Click to collapse
ek69 said:
Are you using multirom? That error is common if the updater-script file isn't multirom compatible
Sent From Lollipopified Bacon Goodness!
Click to expand...
Click to collapse
timmaaa said:
You definitely wiped system and data? Did you check the md5 of the ROM zip after downloading it?
Click to expand...
Click to collapse
I only wiped dalvik, system and cache. You really think wipe data makes a difference?
The MD5 is correct.
This is so annoying... :/
DerZwerg said:
I only wiped dalvik, system and cache. You really think wipe data makes a difference?
The MD5 is correct.
This is so annoying... :/
Click to expand...
Click to collapse
Why did you say you'd done a full wipe when you hadn't? It's incorrect information like that that makes troubleshooting difficult. [emoji52]
Yes, wiping data makes a huge difference. Of course it does, you're leaving incompatible data behind, even if the flash succeeded you'd have bugs galore. You're supposed to do a full wipe (system, data, cache, dalvik cache) when you flash a new ROM.
timmaaa said:
Why did you say you'd done a full wipe when you hadn't? It's incorrect information like that that makes troubleshooting difficult. [emoji52]
Yes, wiping data makes a huge difference. Of course it does, you're leaving incompatible data behind, even if the flash succeeded you'd have bugs galore. You're supposed to do a full wipe (system, data, cache, dalvik cache) when you flash a new ROM.
Click to expand...
Click to collapse
Flashing is failing complete and i thought wiping data makes no difference in the flash progress. When the flash progress finishes i wanted to do a full wipe of data. If i wipe data, does it delete the content on the simulated sdcard(internal storage) too or only the app data?
DerZwerg said:
Flashing is failing complete and i thought wiping data makes no difference in the flash progress. When the flash progress finishes i wanted to do a full wipe of data. If i wipe data, does it delete the content on the simulated sdcard(internal storage) too or only the app data?
Click to expand...
Click to collapse
No it doesn't touch your personal data, only app data and settings. Still doesn't answer why you said you'd wiped data when you hadn't.
Transmitted via Bacon
I'm gonna go with @timmaaa on this one too with the new info you added. The hint to me is right in the screenshot. It can't flash over incompatible data.
You're not trying to flash f2fs ROM on ext4 are you? Or vice versa? What ROM are you trying to flash?
Sent From Lollipopified Bacon Goodness!
ek69 said:
I'm gonna go with @timmaaa on this one too with the new info you added. The hint to me is right in the screenshot. It can't flash over incompatible data.
You're not trying to flash f2fs ROM on ext4 are you? Or vice versa? What ROM are you trying to flash?
Sent From Lollipopified Bacon Goodness!
Click to expand...
Click to collapse
I´m sorry for this wrong info, i will try it with a full wipe. If the Problems still exist i will update you in this thread.
It is CM-12 Official Nightly.
THANKS!
ek69 said:
I'm gonna go with @timmaaa on this one too with the new info you added. The hint to me is right in the screenshot. It can't flash over incompatible data.
You're not trying to flash f2fs ROM on ext4 are you? Or vice versa? What ROM are you trying to flash?
Sent From Lollipopified Bacon Goodness!
Click to expand...
Click to collapse
timmaaa said:
No it doesn't touch your personal data, only app data and settings. Still doesn't answer why you said you'd wiped data when you hadn't.
Transmitted via Bacon
Click to expand...
Click to collapse
timmaaa said:
You definitely wiped system and data? Did you check the md5 of the ROM zip after downloading it?
Click to expand...
Click to collapse
THANK YOU ALL GUYS!!! I now have Lollipop on my OnePlus. :good:
I got it, thanks for your help and sorry for my wrong information. :/
I'm in a similar boat, I've tried a full complete wipe via Advance Wipe > Dalvik Cache, System, Data, Cache but same deal when attempting to install the zip file.
Using TWRP v2.8.1.0 any help is greatly appreciated
PissPot said:
I'm in a similar boat, I've tried a full complete wipe via Advance Wipe > Dalvik Cache, System, Data, Cache but same deal when attempting to install the zip file.
Using TWRP v2.8.1.0 any help is greatly appreciated
Click to expand...
Click to collapse
Same problem... can someone help?
my problem solved
willmck said:
Same problem... can someone help?
Click to expand...
Click to collapse
Hi guys. I was having this problem. I was at TWRP v2.8.0. My device was rooted and I used the goomanager app to update my twrp and after install the latest version(2.8.5) I solve my problem and now I have the CM12S installed.
willmck said:
Same problem... can someone help?
Click to expand...
Click to collapse
Either flash the latest TWRP zip file I believe its upto 2.8.6.0, or simply download the TWRP manager app from the play store and install it that way. Once installed just boot into Recovery and flash CM12s
Use clockwork work mod unofficial v6.0.4.8. Working.or else use liquid smooth nightly
Use clockwork work mod unofficial v6.0.4.8. Working.or else use liquid smooth nightly with twrp.choice is yours but cwm recovery can flash all ROM which twrp is unable to execute.
willmck said:
Hi guys. I was having this problem. I was at TWRP v2.8.0. My device was rooted and I used the goomanager app to update my twrp and after install the latest version(2.8.5) I solve my problem and now I have the CM12S installed.
Click to expand...
Click to collapse
I did exactly that, I updated my TWRP to 2.8.70 today, and yet It still wont let me install the CM12 nightly. I'm new to rooting so any help would be appreciated.
Curritty said:
I did exactly that, I updated my TWRP to 2.8.70 today, and yet It still wont let me install the CM12 nightly. I'm new to rooting so any help would be appreciated.
Click to expand...
Click to collapse
Try to use cwm 6.0.5.1 im using it since day 1 and i have no problems with it ...i have upload it, you can try it ...

[Q] flash system.img from recovery, please help me

When i put
flash_images system /sdcard/system.img
i have error 1 on TRWP recovery
sorry for my English :3
kingspeed said:
When i put
flash_images system /sdcard/system.img
i have error 1
sorry for my English :3
Click to expand...
Click to collapse
I tried several things and never succeded. Tried to make a flashable zip able to flash images, but wont work.
kingspeed said:
When i put
flash_images system /sdcard/system.img
i have error 1 on TRWP recovery
sorry for my English :3
Click to expand...
Click to collapse
You can't flash images from recovery, only zips. You need to use fastboot to flash a system image.
So there isn't any way
kingspeed said:
So there isn't any way
Click to expand...
Click to collapse
Actually, looking at your screenshots I might be wrong. I'm still on 2.8.0 and there is no option to flash images, only zips. But it looks like the version of TWRP you're running does have the option to flash images. I've never seen that before, you learn something new every day I guess. That being the case, I don't know why you would be getting that error. Are you sure you're trying to flash the correct image?
EDIT: I just checked out the TWRP thread, and according to the OP, you can only flash boot and recovery images, not system images. So I guess my original post still stands. If you want to flash a system image, you need to use fastboot. Otherwise, flash a ROM.
http://forum.xda-developers.com/showpost.php?p=47108907&postcount=1
What's the big deal? Why not just use fastboot?
Thank you sir
did you know if anyone modified system.img to .zip ?
just system file without data
for don't delete my app
and again sorry for my English
Fastboot flash system system.img is all you need
oh i didn't read the last one
unfortunately my computer breakdown last night and where i live in syria there isn't a lot of computers
kingspeed said:
oh i didn't read the last one
unfortunately my computer breakdown last night and where i live in syria there isn't a lot of computers
Click to expand...
Click to collapse
Are you unable to boot or something? Can you get a ROM onto your phone and flash that?
no i cann't flash any rom
and now i try to install Miui and flash it on MultiRom
kingspeed said:
no i cann't flash any rom
and now i try to install Miui and flash it on MultiRom
Click to expand...
Click to collapse
What do you mean you can't flash any ROM? Please try and be as clear as possible- if I don't understand what's going on, I can't be of much assistance.
What situation are you in? How did you get into your current situation?
So is your original system wiped? You can't boot into android anymore?
I'm so sorry sir
I have multirom manager , and by mistake I install Miui OS on the primary OS , after 10 seconds i stop it , so the primary KitKat system wiped.
Thanks to god I solved this problem by flash system.img from laptop and flash another recovery by (NRT toolkit ) than open multirom from the primary OS to reinstall last version of kernel and TWRP recovery
If you have the latest twrp you can flash img. If there is an error then the system.img must be corrupt (maybe bad download). Is your multirom up to date?
Sent from my Nexus 5 using XDA Premium App
wangdaning said:
If you have the latest twrp you can flash img. If there is an error then the system.img must be corrupt (maybe bad download). Is your multirom up to date?
Sent from my Nexus 5 using XDA Premium App
Click to expand...
Click to collapse
It was my understanding that you can flash any .img other than system.img. At least that's what it said in the OP of the TWRP thread when I read it the other day.
---------- Post added at 06:56 AM ---------- Previous post was at 06:54 AM ----------
kingspeed said:
I'm so sorry sir
I have multirom manager , and by mistake I install Miui OS on the primary OS , after 10 seconds i stop it , so the primary KitKat system wiped.
Thanks to god I solved this problem by flash system.img from laptop and flash another recovery by (NRT toolkit ) than open multirom from the primary OS to reinstall last version of kernel and TWRP recovery
Click to expand...
Click to collapse
So are you up and running then?
And FYI, stop using toolkits. You should have flashed recovery the same way you flashed system.img, from your laptop with fastboot. Toolkits can cause a lot of problems and if you rely solely on them, you'll never learn how to fix any problems that you may encounter.
Oh, never actually used it, just knew you could flash img files.
Sent from my Nexus 5 using XDA Premium App
Thank you all :* , now everything fine.
just how to install CM 12 on Multirom if was the primary kitkat
i try to install this ,than flash official CM12 but it stuck on logo :3

Not wiping

I have tried to install CyanogenMod 13 alpha on my Moto G (XT-1032)
Now I'm on infinite loop, but on TWRP trying to wipe everything but the Internal Storage, it's taking too long and doing nothing, is there another way to wipe data and cache? ( I was with old TWRP)
What kind of error do u get?
Andus1988 said:
What kind of error do u get?
Click to expand...
Click to collapse
I actually don't get an error, it just doesn't do nothing... I kept waiting for like... an hour maybe and all it said while whiping was that it was wiping itself
you disabled MTP mount on TWRP?
3Rick99 said:
you disabled MTP mount on TWRP?
Click to expand...
Click to collapse
I think I never messed around with that since I never read about it...
The latest version of TWRP is available here. It sounds like it might be worth flashing / reflashing it.
ports13 said:
I think I never messed around with that since I never read about it...
Click to expand...
Click to collapse
In my recovey TWRP 2.8.3.0, if is not disabled, not wiping data, system, cache, etc. correctly. Is a TWRP bug (in mi case), its fixed in the last vesion.
Greetings
Sorry for bad english.
3Rick99 said:
In my recovey TWRP 2.8.3.0, if is not disabled, not wiping data, system, cache, etc. correctly. Is a TWRP bug (in mi case), its fixed in the last vesion.
Greetings
Sorry for bad english.
Click to expand...
Click to collapse
It should have been, since I downloaded a new version of TWRP and could do it perfectly fine, thanks:good: now enjoying CM13 beta here
ports13 said:
It should have been, since I downloaded a new version of TWRP and could do it perfectly fine, thanks:good: now enjoying CM13 beta here
Click to expand...
Click to collapse
That's really good to hear! Congrats!
Andus1988 said:
That's really good to hear! Congrats!
Click to expand...
Click to collapse
Thanks!
Change the version of your twrp or it could be that when you download the zip some file doesn't download correct.
gabriel96torres said:
Change the version of your twrp or it could be that when you download the zip some file doesn't download correct.
Click to expand...
Click to collapse
The TWRP was outdated, already fixed

Please give me a working twrp for J7 nxt/core (J701F/DS).

All the twrp available for J7 nxt/core has a bug I think?
TWRP > REBOOT > SYSTEM (Infinite boot-loop)
I tried lzzy12's final twrp and it does the same.
THANKS IN ADVANCE
Recovery twrp 3.2.1
romtester0.1 said:
All the twrp available for J7 nxt/core has a bug I think?
TWRP > REBOOT > SYSTEM (Infinite boot-loop)
I tried lzzy12's final twrp and it does the same.
THANKS IN ADVANCE
Click to expand...
Click to collapse
RECOVERY TWRP 3.2.1
qasimsansi3 said:
RECOVERY TWRP 3.2.1
Click to expand...
Click to collapse
I tried the twrp you provided. Still the same issue. Every time I go to reboot option and go to system it automatically starts to boot-loop.
romtester0.1 said:
I tried the twrp you provided. Still the same issue. Every time I go to reboot option and go to system it automatically starts to boot-loop.
Click to expand...
Click to collapse
did you even format data after flashing through odin?
Jbgamer04 said:
did you even format data after flashing through odin?
Click to expand...
Click to collapse
You mean wipe? Yes I wiped the data and cache.
romtester0.1 said:
You mean wipe? Yes I wiped the data and cache.
Click to expand...
Click to collapse
i mean format data in advanced wipe menu
Jbgamer04 said:
i mean format data in advanced wipe menu
Click to expand...
Click to collapse
Welp, the problem with the current twrp is getting worse. Now I can't even advance wipe data because it says /data not mounted something like that.
G
Sent from my Samsung SM-J710F using XDA Labs
install stock rom and then make hard reset .
romtester0.1 said:
Welp, the problem with the current twrp is getting worse. Now I can't even advance wipe data because it says /data not mounted something like that.
Click to expand...
Click to collapse
you need to install stock firmware and stock recovery (without CSC) problem is with PIT ( partition table ) .
qasimsansi3 said:
you need to install stock firmware and stock recovery (without CSC) problem is with PIT ( partition table ) .
Click to expand...
Click to collapse
Thanks I'll try that.
romtester0.1 said:
Thanks I'll try that.
Click to expand...
Click to collapse
Dude just boot to twrp -> Wipe -> format Phone -> type yes -> DONE! Now reboot twrp again and flash magisk. Ano it should boot fine. It's because of Samsung's DM-Verity and force encrypt.
PS: Formatting phone will delete all ur data on the phone including files on internal storage like pictures, downloads, etc. So keep a backup.

Categories

Resources