what is TWRP and what is it good for?
RoyalQuality said:
what is TWRP and what is it good for?
Click to expand...
Click to collapse
TWRP ( Team win recovery project) is a custom recovery that can flash flashable zip mods, flashing custom roms.
Get full system backup(nandroid) to your SD card. It helped for if anything goes wrong while flashing then restore android.
Mount system,data from recovery.
Wipe cache, system, data, partitions and many more.
Ashwinrg said:
TWRP ( Team win recovery project) is a custom recovery that can flash flashable zip mods, flashing custom roms.
Get full system backup(nandroid) to your SD card. It helped for if anything goes wrong while flashing then restore android.
Mount system,data from recovery.
Wipe cache, system, data, partitions and many more.
Click to expand...
Click to collapse
Thank you so much for replying
Related
So I've unlocked the bootloader, rooted and flashed CWM.
I've also made a backup with titaniumbackup.
How do I go about installing a ROM? I'm confused because I read in some places that you need to wipe cache (davik? What is this?) then wipe everything else on the current ROM, then install the custom ROM, but do I do this through CMD or natively on the Nexus 7 with ROM manager?
What are the steps to do this properly?
Try this, questions just ask
You need a recovery first like 4ext you put that on then you copy the ROM onto the sd from your PC and enter into recovery then you install the zip file and factory reset in the same place wipe cash and that other cache you mentioned keep forgetting name of it
Lizardwithhat said:
You need a recovery first like 4ext you put that on then you copy the ROM onto the sd from your PC and enter into recovery then you install the zip file and factory reset in the same place wipe cash and that other cache you mentioned keep forgetting name of it
Click to expand...
Click to collapse
I have CWM recovery, wait so I factory reset in recovery before I install the zip, and wipe cache after? Which order?
UnixxinU said:
I have CWM recovery, wait so I factory reset in recovery before I install the zip, and wipe cache after? Which order?
Click to expand...
Click to collapse
in cwm do a factory reset and then clear cache of that install rom (.zip) from sd card
Hi,
First, I followed the instructions in this guide: http://forum.xda-developers.com/showthread.php?t=2507905
I installed the CWM recovery and then flashed the CM11-20131228 nightly and then the recommended Google Apps that are linked at their wiki: http://wiki.cyanogenmod.org/w/Gapps#Downloads (I took the 20131208 ones)
Now my phone is stuck in the boot screen with the circle spinning around the cyanogenmod logo (I can boot the bootloader and recovery but when I try to boot CM11 it’s stuck) and I dont know how to get to a working cm11 rom. The guide said that the first boot with a new rom takes longer than usual because the phone rebuilds caches and so on but I think it should not take more than half an hour...
What I already tried is:
- Wiping the chaches with the CWM recovery an then booting cm11 -> still just the arrow spinning around the logo
- Wiping the caches with recovery and then re-flashing the same zip without flashing the google apps afterwards -> did not work
- Wiping and then pushing the newer cm11 nightly via adb so that I could try this one -> recovery did not find the pushed zip on my scdard
- Wiping, then tried to install the new nightly via adb sideload -> cmd prompt said it was send properly and as far as I can say the phone installed it but I was still stuck on that bootscreen ...
- I even restored to the stock 4.4.2 factory image and then flashed the cwm recovery, than wiped caches and then installed the latest cm11 nightly an then the google apps but I still can not get past the boot animation
What am I doing wrong and how can I get past the boot screen?
You talk about wiping caches but are you wiping data too?
Oh, yes. I just didnt mention it. I always did the three steps from the guide:
wipe data/factory reset
wipe cache partition
advanced > wipe dalvik cache
BopItXtremeII said:
Oh, yes. I just didnt mention it. I always did the three steps from the guide:
wipe data/factory reset
wipe cache partition
advanced > wipe dalvik cache
Click to expand...
Click to collapse
So you get the bootloop only when trying to install CM and when you flashed the factory image, it booted up fine?
Sent from my Nexus 5
Exactly.
I install the factory image with method 1 from this guide: http://forum.xda-developers.com/showthread.php?t=2513701 and then flash CWM recovery to install CM (factory reset + wipe cache + wipe dalvik cache + install cm-zip + install gapps-zip) and then there is the bootloop.
BopItXtremeII said:
Exactly.
I install the factory image with method 1 from this guide: http://forum.xda-developers.com/showthread.php?t=2513701 and then flash CWM recovery to install CM (factory reset + wipe cache + wipe dalvik cache + install cm-zip + install gapps-zip) and then there is the bootloop.
Click to expand...
Click to collapse
Did you check the md5 of the cm download?
BopItXtremeII said:
Exactly.
I install the factory image with method 1 from this guide: http://forum.xda-developers.com/showthread.php?t=2513701 and then flash CWM recovery to install CM (factory reset + wipe cache + wipe dalvik cache + install cm-zip + install gapps-zip) and then there is the bootloop.
Click to expand...
Click to collapse
Sometimes formatting all of the partitions (except the sd card) works.
Sent from my Nexus 5
jd1639 said:
Did you check the md5 of the cm download?
Click to expand...
Click to collapse
The md5 sum is the same as on the download page.
PhilipTD said:
Sometimes formatting all of the partitions (except the sd card) works.
Sent from my Nexus 5
Click to expand...
Click to collapse
Which partitions? boot, cache, recovery and system? Sorry, I'm new to android... And what do I have to install on these partitions after erasing them?
BopItXtremeII said:
The md5 sum is the same as on the download page.
Which partitions? boot, cache, recovery and system? Sorry, I'm new to android... And what do I have to install on these partitions after erasing them?
Click to expand...
Click to collapse
Flash the boot.img and reboot
Then see
Sent from my LT26i using xda premium
BopItXtremeII said:
The md5 sum is the same as on the download page.
Which partitions? boot, cache, recovery and system? Sorry, I'm new to android... And what do I have to install on these partitions after erasing them?
Click to expand...
Click to collapse
Wipe system, data, dalvik, and cache
jd1639 said:
Wipe system, data, dalvik, and cache
Click to expand...
Click to collapse
^^^^^^Precisely^^^^^^
Sent from my Nexus 5
I got another problem now ... The last thing I did was flashing the stock rom. Now I want to flash the latest CM nightly (20131229) but fastboot does not let me install cwm recovery and says
Code:
FAILED <remote: partition table doesn't exist>
I flashed the whole stock rom again but the error still occurs... I have to wipe the partitions after I installed CM, right?
BopItXtremeII said:
I got another problem now ... The last thing I did was flashing the stock rom. Now I want to flash the latest CM nightly (20131229) but fastboot does not let me install cwm recovery and says
Code:
FAILED <remote: partition table doesn't exist>
I flashed the whole stock rom again but the error still occurs... I have to wipe the partitions after I installed CM, right?
Click to expand...
Click to collapse
Are you using
fastboot flash recovery recovery.img
Where recovery.img is the cwm image file
jd1639 said:
Are you using
fastboot flash recovery recovery.img
Where recovery.img is the cwm image file
Click to expand...
Click to collapse
I use this command. But I missed a c in recovery so fastboot did not find the partition named "reovery" >_< Ok, CWM is installed. Now I have to install CM11 an then wipe the 4 partitions you mentioned with cwm? Wheres the option to wipe system, I just find the other 3.
BopItXtremeII said:
I use this command. But I missed a c in recovery so fastboot did not find the partition named "reovery" >_< Ok, CWM is installed. Now I have to install CM11 an then wipe the 4 partitions you mentioned with cwm? Wheres the option to wipe system, I just find the other 3.
Click to expand...
Click to collapse
I'm cwm just do the other 3
So I installed CM + Gapps and then wiped data, cache and dalvik cache with CWM. Now Im waiting for 8 minutes for the bootscreen to go away, but think it didnt work. By the way, if I wipe the system partition, I delete CM, dont I? I dont understand how that will help booting into CM.
BopItXtremeII said:
So I installed CM + Gapps and then wiped data, cache and dalvik cache with CWM. Now Im waiting for 8 minutes for the bootscreen to go away, but think it didnt work. By the way, if I wipe the system partition, I delete CM, dont I? I dont understand how that will help booting into CM.
Click to expand...
Click to collapse
Wipe before the install.
So,
1 Put rom zip on phone internal storage
2 Wipe partitions except internal storage
3 Flash rom
4 Flash GApps
5 Reboot
Sent from my Nexus 5
BopItXtremeII said:
So I installed CM + Gapps and then wiped data, cache and dalvik cache with CWM. Now Im waiting for 8 minutes for the bootscreen to go away, but think it didnt work. By the way, if I wipe the system partition, I delete CM, dont I? I dont understand how that will help booting into CM.
Click to expand...
Click to collapse
8 minutes is too long. You have some other problem. Do any other roms work? Wiping system in twrp does not wipe the internal sd card. That's why you didn't find it in cwm.
PhilipTD said:
Wipe before the install.
So,
1 Put rom zip on phone internal storage
2 Wipe partitions except internal storage
3 Flash rom
4 Flash GApps
5 Reboot
Sent from my Nexus 5
Click to expand...
Click to collapse
Thats what I did.
jd1639 said:
8 minutes is too long. You have some other problem. Do any other roms work? Wiping system in twrp does not wipe the internal sd card. That's why you didn't find it in cwm.
Click to expand...
Click to collapse
I will try the AOKP nightly and post the results. Is it okay to just wipe data, cache and dalvik cache before installing the aokp zip or is it better to flash the stock rom before flashing aokp?
No need to flash stock, just do the wipes
hi all,
i have a htc one mini with hboot 2.22,s-on,rooted,unlocked bootloader and i cheched that it have new partition layer.
After various problems i have this romright now : Stock 4.4.2 (3.10.401.4) odexed.
There are ROMs that i used with this configuration?
I tried Codename Lungo but i think that not work with new partition layer.
thanks!:laugh:
what recovery are you using?
you should have TWRP 2.7.0.8 - all "new" ROMs should work with this recovery, especially lungo and other CM based ROMs
theodorius123 said:
what recovery are you using?
you should have TWRP 2.7.0.8 - all "new" ROMs should work with this recovery, especially lungo and other CM based ROMs
Click to expand...
Click to collapse
i have now twrp 2.7.0.5, i tried to install 2.7.0.8 but is the same.
i tried to install the ROM of Lungo in fastboot with fastboot flash boot boot.img but when reboot , i have a system loop(htc screen).
With TWRP this ROMS "FAILED".....
TommyR22 said:
i tried to install the ROM of Lungo in fastboot with fastboot flash boot boot.img
Click to expand...
Click to collapse
this makes no sense...
how did you install the recovery?
theodorius123 said:
this makes no sense...
how did you install the recovery?
Click to expand...
Click to collapse
with fastboot flash recovery twrp.img
it works for recovery..
ok. but you wrote you tried to flash the ROM via fastboot flash boot boot.img???
if yes....its wrong!
go to your bootloader, select recovery and flash the ROM via recovery (and wipe data, system, cache and dalvik before). after that you should flash the boot.img inside the ROMs zip-file with fastboot
theodorius123 said:
ok. but you wrote you tried to flash the ROM via fastboot flash boot boot.img???
if yes....its wrong!
go to your bootloader, select recovery and flash the ROM via recovery (and wipe data, system, cache and dalvik before). after that you should flash the boot.img inside the ROMs zip-file with fastboot
Click to expand...
Click to collapse
Ahhhh ok now i understand!
now i tried to flash the Rom via recovery but i wipe only cache e dalvik because i have fear to wipe data.
If i wipe data, i delete the files(and the Rom) inside Sd card?
With no wipe data and system, the flash FAILED...
system contains the operating system - the ROM.
data contains all your settings and apps.
your sd-card will only be wiped if you select "internal sd-card", otherwise all files on your sd-card are save.
if you want to flash a completely new ROM you have to wipe system (guess it will be automatically formatted during ROM installation).
if something is not working you should also wipe the data-partition.
---------- Post added at 10:28 PM ---------- Previous post was at 10:27 PM ----------
ok, good luck!
I'm out for a beer
nothing to do, The rom of Lungo failed.
I tried also CM11 nightly, flash successful but when i reboot the twrp tell me that no OS installed!...
did you manage to flash twrp 2.7.0.8?
sounds a lot like a partition-problem...
theodorius123 said:
did you manage to flash twrp 2.7.0.8?
sounds a lot like a partition-problem...
Click to expand...
Click to collapse
yes, now i flash with latest recovery twrp.
however maybe i fixed the problem with adb sideload.Now i flash with cm11
Hello,
I wiped my internal storage with TWRP and after I try flash Dirty unicorn Rom and gapps. After booting where is black screen and I only can restart and shutdown phone. Also in internal storage only TWRP folder how to fix this please?
There is no need to wipe internal storage. TWRP tells you and double check with you that you want to do it. To should not jump into rooting and flashing with out a lot of reading. Go and read how to flash factory images via ADB
SENT BY ENTANGLEMENT
Cict said:
Hello,
I wiped my internal storage with TWRP and after I try flash Dirty unicorn Rom and gapps. After booting where is black screen and I only can restart and shutdown phone. Also in internal storage only TWRP folder how to fix this please?
Click to expand...
Click to collapse
You must be on bootloop. Try wiping cache/dalvic cache through twrp.
If still it won't work, try clean flashing ROM. (After wiping android secure, system, data, cache, dalvic cache)
If you lost your recovery, then flash it again through fastboot.
Explore Below link, hope you'll get something that can work out.
http://forum.xda-developers.com/google-nexus-5/development
If you found this helpful, there's a thumbs up button (thanks button), just press it
Not trying to go over the previous posters but..
Cict said:
Hello,
I wiped my internal storage with TWRP and after I try flash Dirty unicorn Rom and gapps. After booting where is black screen and I only can restart and shutdown phone. Also in internal storage only TWRP folder how to fix this please?
Click to expand...
Click to collapse
"I wiped internal storage"; "Also in internal storage only TWRP folder" - To switch roms you only need to wipe data/factory reset in twrp, nothing else. Wiping internal storage deleted your personal data, which resides under /sdcard/. This is why you ended up with nothing (except TWRP folder, twrp creates that) under /sdcard/.
"and after I try flash Dirty unicorn Rom and gapps. After booting where is black screen" - A simple bootloop. Happened most likely because you didn't wipe data/factory reset. Another thing causing the bootloop might be gapps. Ever since PA Gapps went down, I've tried a couple of gapps packages, and at least one bootlooped on 5.1.1. If after reflashing your ROM and gapps after wipe data/factory reset in TWRP doesn't bring you Android UI, try wiping /system and JUST reflash the ROM, to see if it boots without gapps.
Also:
@zerosum0, please edit your post, statement "Go and read how to flash factory images via ADB" isn't accurate.
@hitman-xda, please edit your post, statement "If you lost your recovery, then flash ROM directly through computer" isn't entirely accurate. One way to put it would be "If you lost your recovery, then flash it again through fastboot". Although in this case, OP doesn't seem to have done anything to lose custom recovery.
If you're flashing the newer (5.1.1-based) DU ROM, make sure the GAPPS you flash is for 5.1 too... GAPPS for 5.0 won't work. (I use TBO GAPPS blacked-out and have had no problems.)
Hello everyone! Need help.
I was testing some Xposed modules and then the system crashed and started no more.
I entered the twrp and made a wipe in all the options that there was to do.
The problem is that now the phone does not start any more, there is no way to get into the recovery or the room. When you turn it on, it goes straight to the recovery qualcoom screen. How should I proceed?
Sounds like you wiped system aswell...
Fastboot twrp should work.
In fastboot twrp flash twrp zip
Reboot to twrp
Flash OOS
Flash twrp
Reboot to twrp
Flash magisk
Should get you booted atleast
reflash oxygen os in twrp after wiping data and cache
matze19999 said:
reflash oxygen os in twrp after wiping data and cache
Click to expand...
Click to collapse
I can not access twrp because I've made a full cache, dalvik, system, and internal memory wipe. Only fastboot mode opens
You should can access TWRP because you didn't wipe recovery partition
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3903272
Follow the instructions care full...you device will work
Thanks man <3