Using TWRP after enabling encryption - Nexus 4 Q&A, Help & Troubleshooting

I'm not able to get roms to stick after enabling encryption with the 5.0 factory image, using TWRP 2820. I've seen some people say it's fixed in this version, but I don't see how it works. Can someone please point me in the right direction?

hp420 said:
I'm not able to get roms to stick after enabling encryption with the 5.0 factory image, using TWRP 2820. I've seen some people say it's fixed in this version, but I don't see how it works. Can someone please point me in the right direction?
Click to expand...
Click to collapse
Please explain the problem in more detail. What are you doing? What is not sticking...?

caesium2 said:
Please explain the problem in more detail. What are you doing? What is not sticking...?
Click to expand...
Click to collapse
I enabled encryption on the 5.0 factory image (android encryption, not twrp backup encryption) then decided I wanted to try out a custom rom. When I wiped and flashed nothing stuck. TWRP said everything was successful, but there were absolutely no system files installed. I tried several different flashable zips and no files ever were written to the system partition, including mods, roms, supersu, etc. The only way I was able to get a rom to boot again was by restoring the full TWRP nandroid backup I took after encrypting.

I know someone has to be able to help me with this.
Anyone??? Please.....

bump

hp420 said:
bump
Click to expand...
Click to collapse
Try the previous version of twrp. People have been having problems with 2.8.2.0
Sent from my Nexus 9 using XDA Free mobile app

jd1639 said:
Try the previous version of twrp. People have been having problems with 2.8.2.0
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
OMG...is it seriously that simple? lol I feel dumb I figured since 2.8.2.0 was out after 5.0 it would have been built to work with lollipop. Thanks for the help

Related

Anyway to make a rom safestrap compatible?

I'm not having much luck finding a rom I like, that I can flash with safestrap. I thought I found a good version of CM, but after it successfully flashed, it wouldn't boot into it.
So i was wondering if there is anyway to somehow convert a rom to use with safestrap
allenrb2 said:
I'm not having much luck finding a rom I like, that I can flash with safestrap. I thought I found a good version of CM, but after it successfully flashed, it wouldn't boot into it.
So i was wondering if there is anyway to somehow convert a rom to use with safestrap
Click to expand...
Click to collapse
I haven't tried this out, but look at post #6 in this thread: http://www.droidrzr.com/index.php/topic/25768-locked-bootloader-412-with-safestrap-options/
I am wondering if there is anyway to somehow convert a rom to use with safestrap
allenrb2 said:
I am wondering if there is anyway to somehow convert a rom to use with safestrap
Click to expand...
Click to collapse
Did you read my post above yours?
Sent from my Droid Razr M using xda app-developers app
Thats how to try to get CM10 to work. I want to know if there's a way to make any rom safestrap compatible, like carbon, or pacman
allenrb2 said:
Thats how to try to get CM10 to work. I want to know if there's a way to make any rom safestrap compatible, like carbon, or pacman
Click to expand...
Click to collapse
They all have a boot.img, so it will be the same.
Sent from my Droid Razr M using xda app-developers app
RikRong said:
They all have a boot.img, so it will be the same.
Sent from my Droid Razr M using xda app-developers app
Click to expand...
Click to collapse
So twrp backups (or cwmr but what about the blobs?-another topic.) might be an easier path for SS evaluation of a particular rom - just restore system & the locked boot is left by default.
aviwdoowks said:
So twrp backups (or cwmr but what about the blobs?-another topic.) might be an easier path for SS evaluation of a particular rom - just restore system & the locked boot is left by default.
Click to expand...
Click to collapse
Yeah, theoretically you could only restore system and data from a TWRP backup. However, if he still has a locked bootloader, he wouldn't be able to flash a ROM to make a backup in the first place. If had one previously, it might work.
RikRong said:
Yeah, theoretically you could only restore system and data from a TWRP backup. However, if he still has a locked bootloader, he wouldn't be able to flash a ROM to make a backup in the first place. If had one previously, it might work.
Click to expand...
Click to collapse
Got it. So all us "unlocker's" can post BUs of twrp systems for locked users?
Doable?
aviwdoowks said:
Got it. So all us "unlocker's" can post BUs of twrp systems for locked users?
Doable?
Click to expand...
Click to collapse
In all honesty, it might work. I would try it out, before loading up something, but it just might be doable.
RikRong said:
In all honesty, it might work. I would try it out, before loading up something, but it just might be doable.
Click to expand...
Click to collapse
Coming soon. What do I have on my sd: twrp cm10.1 latest build?
allenrb2 said:
Thats how to try to get CM10 to work. I want to know if there's a way to make any rom safestrap compatible, like carbon, or pacman
Click to expand...
Click to collapse
It wouldn't hurt you to thank him for the link.
Sent from my Droid Razr M using xda app-developers app
I am thankful for the help. I didn't realize he was saying it could be applicable to other roms.
So much for my vision! Seems the kernel is the sticky wicket of the system that borks it for locked phone.
http://www.droidrzr.com/index.php/t...m-only-backup-of-non-ss-roms/?view=getnewpost
i recall Tim posting a method to convert a SS ROM to TWRP/CWM flashable, but not sure on the performing the reverse.
might be worth looking into though: http://www.droidrzr.com/index.php/topic/16516-fix-for-all-stock-roms-to-be-installed-with-twrpcwm/
jco23 said:
i recall Tim posting a method to convert a SS ROM to TWRP/CWM flashable, but not sure on the performing the reverse.
might be worth looking into though: http://www.droidrzr.com/index.php/topic/16516-fix-for-all-stock-roms-to-be-installed-with-twrpcwm/
Click to expand...
Click to collapse
Dead horse!
The system of a twrp bu has the kernel in it but the portion that has the kernel cannot be altered on a lock phone.
They cannot even restore something very stock like my DD which is a twrp bu not a ROM.

Android 4.4 kitkat guide

Can someone plz guide me on flashing the 4.4 Factory Image on the Nexus 4... iam rooted.with custom recovery n unlocked bootloader....
Sent from my Nexus 4 using xda app-developers app
Hmmy 4444 said:
Can someone plz guide me on flashing the 4.4 Factory Image on the Nexus 4... iam rooted.with custom recovery n unlocked bootloader....
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You have two option, do u want to start from zero?
You can:
Flash factory image from fastboot
Flash kit kat from recovery
luiseteyo said:
You have two option, do u want to start from zero?
You can:
Flash factory image from fastboot
Flash kit kat from recovery
Click to expand...
Click to collapse
please guide me through the easiest way.. cuz wen i on 4.2.2 i upgraded my phone to 4.3 through a toolkit.. n nw i am confused wat to do... plz guide me
The easiest way is described here for example:
http://forum.xda-developers.com/showthread.php?t=2010312
There are a lot guides available, pick one
Hmmy 4444 said:
please guide me through the easiest way.. cuz wen i on 4.2.2 i upgraded my phone to 4.3 through a toolkit.. n nw i am confused wat to do... plz guide me
Click to expand...
Click to collapse
Okay, but this is general section, not Q/A and should be there but today is Friday and I am tremendously happy lol
1. Download 4.4 Radio and 4.4 ROM. (say thanks to Imperticus)
2. Put both zips in your sdcard
3. Go to recovery and do: wipe data, wipe cache, wipe dalvik and format system (optional, advisable for upgrading to 4.4)
4. Flash Radio.zip
5. Flash ROM
U don't need any gapps since this is a factory image...
If you want a rooted/deodexed/busybox ROM download this one in stead of the other (say thanks to fireb33)
If u have any problem just let me know.
tom1807 said:
The easiest way is described here for example:
http://forum.xda-developers.com/showthread.php?t=2010312
There are a lot guides available, pick one
Click to expand...
Click to collapse
Well, that's the easiest way of flashing a factory image, but flashing a zip is even easier
Mod, please, move this thread
another thing wen ever i go to bootloader n then plug in my phone n type in command fastboot devices it say Waiting for device i jst dont understand wts going on?
Sent from my Nexus 4 using xda app-developers app
so flashing through zip we would get the same stock 4.4 as of the factory image ryt??
Sent from my Nexus 4 using xda app-developers app
n can we flash the factory image through wugfresh toolkit? n if we cn thn cn u plz guide me
Hmmy 4444 said:
n can we flash the factory image through wugfresh toolkit? n if we cn thn cn u plz guide me
Click to expand...
Click to collapse
Flash Stock+Unroot (choose 4.4 option), after that root and put recovery. check if radio and bootloader ok.
P.S.
I think it's good for 4.4. to wipe device and do clean one.
Hmmy 4444 said:
n can we flash the factory image through wugfresh toolkit? n if we cn thn cn u plz guide me
Click to expand...
Click to collapse
Please speak English
Sent from my Nexus 4 using Tapatalk
dethrat said:
Please speak English
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
you do realize that most the people here on xda do not use english as their first language? unfortunately not everyone here speaks or writes in english as well as you. hopefully you can understand that, and have a bit more patience and understanding, thank you.
simms22 said:
you do realize that most the people here on xda do not use english as their first language? unfortunately not everyone here speaks or writes in english as well as you. hopefully you can understand that, and have a bit more patience and understanding, thank you.
Click to expand...
Click to collapse
I know I'm not having a go or anything. Its just it sounded like text speak. Back on topic now.
Sent from my Nexus 4 using Tapatalk
ive gone and broken everything
ive never had issues updating various cyanogen versions once originally installed clockwork recovery. always been as simple as downloading and transferring the zip to SD and booting to recovery and installing from SD when i didnt do the auto updates which still took me to recovery at reboot. but i got impatient for the 4.4 version which reading from cyanongen is in no hurry to release because just released milestone version of 4.3. I downloaded the 4.4 zip right from google and tried installing it from SD like i always did after doing all the various wipes. The google factory image wasnt even recognized by clockwork. so doing some googling got here with steps to radio and os images got them transferred over and booted to recovery and they were at least selectable. got radio to go through. the actual os got error 7 during install, which doing even more googling said should edit a file in the zip contents. Too bad now cant get past the google logo and goes right back to recovery menus for me to transfer editted zip file for the error 7 problem. So im at least partially bootable but no clue how the heck to get myself out of this mess ive gotten myself into due to my impatience and wanting latest and greatest for my nexus 4. would love any help in how to undo problem i caused because the whole adb thing is foreign to me
simms22 said:
you do realize that most the people here on xda do not use english as their first language? unfortunately not everyone here speaks or writes in english as well as you. hopefully you can understand that, and have a bit more patience and understanding, thank you.
Click to expand...
Click to collapse
There's a difference between someone struggling with English and someone deliberately using text speak to sound all "1337."
Hey guys I just flashed 4.4 and everything is fantastic but when I go to storage it says I only have an 8GB(5.whatever free) model when I really have a 16GB...
Anyone else experienced this?
Hmmy 4444 said:
another thing wen ever i go to bootloader n then plug in my phone n type in command fastboot devices it say Waiting for device i jst dont understand wts going on?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Hmmy 4444 said:
so flashing through zip we would get the same stock 4.4 as of the factory image ryt??
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
why are u confusing ur self. u are told the easiest way to flash thru zip. do that. thats it.
faddyie said:
why are u confusing ur self. u are told the easiest way to flash thru zip. do that. thats it.
Click to expand...
Click to collapse
plz help me, i flashed the factory image through flash-all.bat n everything went ok.. bt nw my device is stuck on the booting screnn where the nexus circle are moving n its not going any where plz help
After flashing the 4.4 factory image my phone storage show up 5.67GB internal storage. My phone is 16GB and it dones't have the same problem in 4.3. Anyone experience that? How can i solve the problem?
andy4023 said:
After flashing the 4.4 factory image my phone storage show up 5.67GB internal storage. My phone is 16GB and it dones't have the same problem in 4.3. Anyone experience that? How can i solve the problem?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2033692
you guys really need to search more
andy4023 said:
After flashing the 4.4 factory image my phone storage show up 5.67GB internal storage. My phone is 16GB and it dones't have the same problem in 4.3. Anyone experience that? How can i solve the problem?
Click to expand...
Click to collapse
did u get to solve ur problem???

[Q] Is there a recovery available yet?

I want to backup my current stock rom, if there is no recovery yet available for rooted verizon users, what should I do?
..
How do I make my own recovery?
Is that how other people would be flashing roms that are posted on here?
kprice8 said:
Make your own? I can't tell if this is serious or not. Because there is not a Backup available, doesn't mean you can't make your own.
Click to expand...
Click to collapse
What? There is a recovery included with SafeStrap(TWRP).
piehlg92 said:
How do I make my own recovery?
Is that how other people would be flashing roms that are posted on here?
Click to expand...
Click to collapse
To the OP, no idea what he is talking about other than it might be slightly different than what you are used to using. Download and install Safestrap. Then when you reboot, you can enter Recovery which will be TWRP. Then you can backup, flash, whatever.
piehlg92 said:
I want to backup my current stock rom, if there is no recovery yet available for rooted verizon users, what should I do?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2793891
This place has gone to hell... haha.
Sent from my SM-P600 using XDA Premium 4 mobile app

Is it safe to upgrade to TWRP 3.0.2?

Hi there.
Is anyone here using TWRP 3.x? I'm still on 2.x, since I read of lots of problems with newer versions of the recovery on this device, but I'd like to upgrade now. Can anyone give me some feedback?
Thanks in advance
It works but as with multiple posts not with Aroma.
Sent from my SM-N930F using XDA-Developers mobile app
I see no reason to update if u have no issue on 2.x. sometimes upgrade is just a no go.
totalnoob34 said:
Hi there.
Is anyone here using TWRP 3.x? I'm still on 2.x, since I read of lots of problems with newer versions of the recovery on this device, but I'd like to upgrade now. Can anyone give me some feedback?
Thanks in advance
Click to expand...
Click to collapse
everything will go fine. It is safe. But say goodbye to aroma
JJEgan said:
It works but as with multiple posts not with Aroma.
Click to expand...
Click to collapse
techdude18 said:
everything will go fine. It is safe. But say goodbye to aroma
Click to expand...
Click to collapse
Derp, must've missed that. I'll obviously stick with 2.x, then.
totalnoob34 said:
Hi there.
Is anyone here using TWRP 3.x? I'm still on 2.x, since I read of lots of problems with newer versions of the recovery on this device, but I'd like to upgrade now. Can anyone give me some feedback?
Thanks in advance
Click to expand...
Click to collapse
Try it.. It totally a new design You can revert back, if you don't like it.. By flashing the image through the new twrp itself.
Sent from my Xiaomi Mi 5 using XDA Labs
harish15 said:
Try it.. It totally a new design You can revert back, if you don't like it.. By flashing the image through the new twrp itself.
Sent from my Xiaomi Mi 5 using XDA Labs
Click to expand...
Click to collapse
How can this be possible? Can you post a tutorial about downgrade TWRP? Many thanks.
ociortan said:
How can this be possible? Can you post a tutorial about downgrade TWRP? Many thanks.
Click to expand...
Click to collapse
Just flash the preferred twrp image through Image flashing in install option
harish15 said:
Just flash the preferred twrp image through Image flashing in install option
Click to expand...
Click to collapse
Dude, I'm a noob here, could you please tell me step by step where and what to put? Many thanks
ociortan said:
Dude, I'm a noob here, could you please tell me step by step where and what to put? Many thanks
Click to expand...
Click to collapse
Google, twrp site, read instructions !
ociortan said:
Dude, I'm a noob here, could you please tell me step by step where and what to put? Many thanks
Click to expand...
Click to collapse
If you're trying to downgrade, it means that you've flashed TWRP.
If you've flashed TWRP, it means that you already know how to flash a custom recovery.
If you already know how to flash a custom recovery, then this is EXACTLY the same thing. Just pick an older version of TWRP and flash it the exact same way you would flash any version of TWRP.
And if you don't even know how to do that, google is your friend.
ShaDisNX255 said:
If you're trying to downgrade, it means that you've flashed TWRP.
If you've flashed TWRP, it means that you already know how to flash a custom recovery.
If you already know how to flash a custom recovery, then this is EXACTLY the same thing. Just pick an older version of TWRP and flash it the exact same way you would flash any version of TWRP.
And if you don't even know how to do that, google is your friend.
Click to expand...
Click to collapse
I DID IT!!! he he, I flashed the img. with recovery and it worked. Thank you guys :good:
Try your luck on Googling.. If you still need assistance. PM anytime.. Happy to help

OxygenOS 4.5.1 System Backup!

Hello,
Is there anyone where have TWRP running and can send me please the original backup from /system and boot ??
Thank you!.
jamal2367 said:
Hello,
Is there anyone where have TWRP running and can send me please the original backup from /system and boot ??
Thank you!.
Click to expand...
Click to collapse
Or is there any one and have the 4.5.1 full zip?
Looking for this as well, please share if you have it.
I'm uploading but it's gonna take a couple of hours on my internet connection. Will share if no one else beats me to it.
rav101 said:
I'm uploading but it's gonna take a couple of hours on my internet connection. Will share if no one else beats me to it.
Click to expand...
Click to collapse
Full zip or what ?
jamal2367 said:
Full zip or what ?
Click to expand...
Click to collapse
I'm zipping up a twrp back up of system.img and boot.img.
Unfortunately the upload has failed twice so just re-zipping on my phone this time and will try uploading from phone to see if that does it.
Sent from my OnePlus5 using XDA Labs
rav101 said:
I'm zipping up a twrp back up of system.img and boot.img.
Unfortunately the upload has failed twice so just re-zipping on my phone this time and will try uploading from phone to see if that does it.
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
No needed to upload it again .... Its take to long for you... Can you upload the boot.img only ??
I also need urgent backup or similar...my OP5 is in bootloop
I reverted to my 4g connection on my phone (unlimited data and way quicker).
Hopefully this is what you're looking for?!
https://my.pcloud.com/publink/show?code=XZp2rGZ4JfCWmo0oIzoIPws0j353SKmR9tX
And separately for boot image only:
https://my.pcloud.com/publink/show?code=kZ22rGZXaHzD8X5KobpQEKFcf1flHCJw73y
Sent from my OnePlus5 using XDA Labs
rav101 said:
I reverted to my 4g connection on my phone (unlimited data and way quicker).
Hopefully this is what you're looking for?!
https://my.pcloud.com/publink/show?code=XZp2rGZ4JfCWmo0oIzoIPws0j353SKmR9tX
And separately for boot image only:
https://my.pcloud.com/publink/show?code=kZ22rGZXaHzD8X5KobpQEKFcf1flHCJw73y
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
Thanks a lot!!!
capitanouncino said:
Thanks a lot!!!
Click to expand...
Click to collapse
Let me know if it helps you
Sent from my OnePlus5 using XDA Labs
rav101 said:
Let me know if it helps you
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
Yeah, restore works perfectly.
capitanouncino said:
Yeah, restore works perfectly.
Click to expand...
Click to collapse
Hopefully some Dev's can take this away and start their good work too!!
Sent from my OnePlus5 using XDA Labs
rav101 said:
I reverted to my 4g connection on my phone (unlimited data and way quicker).
Hopefully this is what you're looking for?!
https://my.pcloud.com/publink/show?code=XZp2rGZ4JfCWmo0oIzoIPws0j353SKmR9tX
And separately for boot image only:
https://my.pcloud.com/publink/show?code=kZ22rGZXaHzD8X5KobpQEKFcf1flHCJw73y
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
You are the man bro! Thanks because i have delete my system partition lol (i have forget, i'm not on my S7 Edge under Lineage ^^)
Unfortunately home button doesn't work after restore...I think I need a clean flash.
So I just powered on my new OP5 and went to install update and now it only boots to recovery. WTF?
vibrantliker said:
So I just powered on my new OP5 and went to install update and now it only boots to recovery. WTF?
Click to expand...
Click to collapse
If you can get to recovery, you might be able to use the stock recovery to get to bootloader. In the roms section there is a guide thread which has a link for a version of twrp that is working (Chinese version) rather than the TWRP (WIP) thread. That Chinese version of TWRP is working. You can use that and up twrp backup above to try and get yourself up and running until a full rom zip comes out from OnePlus?
Or if you dont want to use my backup, maybe use twrp to format data and see if that gets you booting? IF not then my back up, but remember each time you come out of twrp and boot system you loose twrp
rav101 said:
If you can get to recovery, you might be able to use the stock recovery to get to bootloader. In the roms section there is a guide thread which has a link for a version of twrp that is working (Chinese version) rather than the TWRP (WIP) thread. That Chinese version of TWRP is working. You can use that and up twrp backup above to try and get yourself up and running until a full rom zip comes out from OnePlus?
Or if you dont want to use my backup, maybe use twrp to format data and see if that gets you booting? IF not then my back up, but remember each time you come out of twrp and boot system you loose twrp
Click to expand...
Click to collapse
False alarm and I'm an idiot! I was using my OP 3T case and it was pressing the volume buttons as I rebooted!!
vibrantliker said:
False alarm and I'm an idiot! I was using my OP 3T case and it was pressing the volume buttons as I rebooted!!
Click to expand...
Click to collapse
Glad I'm not the only one that makes silly mistakes like this
I hve the best lol, after recover system/boot, my data partition in the OS (not TWRP) was unwritable, so i have lock Bootloader for try recover Stock Recovery and do a factory reset.... Now Bootloop!
So for now i must wait for install emergency/factory OxygenOS from OnePlus when available because i can do nothing. I miss Odin from Samsung, so useful for flash recovery/rom

Categories

Resources