Just wondering if this is possible, I'm new with the device, and I keep getting the adb "cannot read update.zip", so I'm wondering if i can flash the stock rom with twrp, without sideloading. Thanks.
MuyKurioso said:
Just wondering if this is possible, I'm new with the device, and I keep getting the adb "cannot read update.zip", so I'm wondering if i can flash the stock rom with twrp, without sideloading. Thanks.
Click to expand...
Click to collapse
Yes you can look for the flashable zips in the guides forum of OP3T!
Yes i did dirty flash from OOS 4.0.2 to 4.0.3 with full Rom zip.
Related
Hi Everyone, I am Pushkar Dua just wanted to share a rooting guide for Nexus 5 Android 5.0.1
As many people Reported that Root has stopped working after the 5.0.1 Update or previous Binaries lead device to Boot Loop,
Please Download Latest Binaries That i am providing here: http://download.chainfire.eu/641/SuperSU/UPDATE-SuperSU-v2.40.zip
And flash it with TWRP recovery..
Please Use TWRP Version 2.8.1.0 as people reported some problems in latest 2.8.2.0 version.
Downlaload TWRP 2.8.1.0
Please note: if you're having a problem with twrp 2.8.1.0 asking for password..
Please use twrp 2.0.4.5
just reboot to system and you will have root access..
Watch the video for more info and Please Hit thanks or subscribe me on youtube to support me! every bit will be strongly appreciated!
Please Leave your questions BY QUOTING ME
Thanks
Thanks To @Chainfire for making this!
Original Thread for SuperSU : http://forum.xda-developers.com/showthread.php?t=1538053 Root Nexus 5 Lollipop 5.0.1
Hey!
Thanks a lot. Really helped solve my problem!
No problem
This doesn't belong in Development.
Actually i am not sure where should this be.. I'd request modders to please move it to the correct board!
Thanks man!
Delete
Since you've probably lost your custom recovery upgrading to 5.0.1, you can grab the TWRP images for Nexus 5 here: http://techerrata.com/browse/twrp2/hammerhead
I believe you need to use 2.8.1.0 since 2.8.2.0 either doesn't work or is causing problems for many users.
CF-Auto-root is still OK. I just tried
wondertx said:
CF-Auto-root is still OK. I just tried
Click to expand...
Click to collapse
Isn't CF-Auto root adding files from the 5.0 release over the 5.0.1 ? Isn't it safer to wait for a 5.0.1 autoroot?
wondertx said:
CF-Auto-root is still OK. I just tried
Click to expand...
Click to collapse
How did you update from a rooted (with CF-Auto Root) 5.0 to 5.0.1 you just received the OTA and installed it without any problems ?
I like to know because i am on 5.0 stock just rooted with CF_Auto root.
So no more need for CF-Auto?
Just flashing SuperSU zip with TWRP is enough?
I flashed a Custom Rom Using TWRP which doesn't have any root permission...
MrKaon said:
So no more need for CF-Auto?
Just flashing SuperSU zip with TWRP is enough?
Click to expand...
Click to collapse
Yes... Just Flashing with TWRP Is Enough!
Guys, i installed the 5.0.1 update by fastboot flashing system, boot and radio. I lost my custom recovery tho (CWR). I now tried to install TWRP, but after flashing the recovery image, the recovery still hasnt changed. Could i just flash CRW or should i use TWRP for this version?
Ubichinon said:
Guys, i installed the 5.0.1 update by fastboot flashing system, boot and radio. I lost my custom recovery tho (CWR). I now tried to install TWRP, but after flashing the recovery image, the recovery still hasnt changed. Could i just flash CRW or should i use TWRP for this version?
Click to expand...
Click to collapse
have you tried wugfresh's nexus toolkit to flash TWRP recovery???
maybe that works........ waiting for ur response... let me know..
pushkardua said:
have you tried wugfresh's nexus toolkit to flash TWRP recovery???
maybe that works........ waiting for ur response... let me know..
Click to expand...
Click to collapse
This. I flash with it here since 4.4.4 and it did everything just fine. Not only it is an app to automatically root, but it gives very good hints, and provides lots of others features like installing Apks, getting a adb prompt, and so much more. Greatest third party Android app I have tried. Highly recommended, didn't even had to wait they update it for 5.0.1, as soon I got the 5.0.1 OTA notification, Nexus Root Toolkit was already ready for it.
Ubichinon said:
Guys, i installed the 5.0.1 update by fastboot flashing system, boot and radio. I lost my custom recovery tho (CWR). I now tried to install TWRP, but after flashing the recovery image, the recovery still hasnt changed. Could i just flash CRW or should i use TWRP for this version?
Click to expand...
Click to collapse
This is lollipop security, custom recover wouldn't stick, after each reboot it will replaced with stock one, of course there is a way to make it sticky just search the forum.
Sent from my Nexus 5 using Tapatalk
MrKaon said:
So no more need for CF-Auto?
Just flashing SuperSU zip with TWRP is enough?
Click to expand...
Click to collapse
That's always been enough. You can use Cf's auto root if you don't want to use a custom recovery.
Molitro said:
That's always been enough. You can use Cf's auto root if you don't want to use a custom recovery.
Click to expand...
Click to collapse
I had similar discussion with Chainfire:
MrKaon said:
So guys for rooting lollipop on Nexus 5 stock all I need is flashing latest zip with TWRP?
No more need to flash modified kernel?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Chainfire said:
Initial root requires using CFAR. You can update using TWRP afterwards.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Hey, I recently got a Nexus 6, and instead of installing CM as I usually do, I'm going to try rooting and using Xposed. The trick is that I use Linux exclusively, so I can't use the one-click installers. It's a Nexus, so unlocking is a piece of cake, and I know how to use adb and fastboot to install a custom recovery.
From there, I'm not totally sure what to do. I downloaded the SuperSU zip from chainfire, which I'll install from twrp... Then... Do I need to install busybox or something? I guess I'll have to side load xposed after that?
Also, not sure what the update path will be after that. I guess rooting will break OTA... So what do I do?
Sorry for being such a newb! Thanks!
to root..
fastboot oem unlock to unlock the bootloader
fastboot flash twrp recovery
flash the latest supersu zip within your new recovery
then just reboot, and you have root.
to update, you can flash any updated stock rooted rom, or you can update via fastboot.
@ninjaaron,
Go to the Xposed thread, there's a lot of info > http://forum.xda-developers.com/xposed/official-xposed-lollipop-t3030118
simms22 said:
to root..
fastboot oem unlock to unlock the bootloader
fastboot flash twrp recovery
flash the latest supersu zip within your new recovery
then just reboot, and you have root.
to update, you can flash any updated stock rooted rom, or you can update via fastboot.
Click to expand...
Click to collapse
Thanks for the concise explanation! Can I install a rom from the vendor with fastboot, or will I have to use mod'ed Roms after rooting?
ninjaaron said:
Thanks for the concise explanation! Can I install a rom from the vendor with fastboot, or will I have to use mod'ed Roms after rooting?
Click to expand...
Click to collapse
Depends what you mean by vendor. Only Google release official ROMs and yes they can be flashed via fast boot.
Yes, I was referring to Google when I said " the vendor"
ninjaaron said:
Yes, I was referring to Google when I said " the vendor"
Click to expand...
Click to collapse
Yep. Just needed to clarify because on other android devices, carriers can be vendors
Can someone explain this to me as to why https://android.googleapis.com/pack...amu-ota-LMY48I-from-LMY47Z-superblock-fix.zip gives me the following error shown in the attach picture?
Looks like it should match correctly but sideload is errorring out saying otherwise
C:\Users\Double\AppData\Local\Android\android-sdk\platform-tools>adb shell getprop ro.build.fingerprint
google/shamu/shamu:5.1.1/LMY47Z/1860966:user/release-keys
C:\Users\Double\AppData\Local\Android\android-sdk\platform-tools>
Do it from stock recovery. It's kinda broken in twrp because twrp was build with a build.prop with old user keys so it won't let you flash it. All the Ota zip will see is those old user keys and kill it every time. Stock recovery will work.
Sent from my Nexus 6 using Tapatalk
david279 said:
Do it from stock recovery. It's kinda broken in twrp because twrp was build with a build.prop with old user keys so it won't let you flash it. All the Ota zip will see is those old user keys and kill it every time. Stock recovery will work.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I'm having the same problem with TWRP and the TMO LYZ28J update. How do I get back to stock recovery? Is it just a matter of uninstalling TWRP and reinstalling it when I'm done?
JimSmith94 said:
I'm having the same problem with TWRP and the TMO LYZ28J update. How do I get back to stock recovery? Is it just a matter of uninstalling TWRP and reinstalling it when I'm done?
Click to expand...
Click to collapse
Install the stock recovery in fastboot, you can download it from the factory images or just search for it
Sent from my Nexus 6 using Tapatalk
JimSmith94 said:
I'm having the same problem with TWRP and the TMO LYZ28J update. How do I get back to stock recovery? Is it just a matter of uninstalling TWRP and reinstalling it when I'm done?
Click to expand...
Click to collapse
If you have TWRP, chances are your rom would be modified in some way so the OTA Won't work anyway.
danarama said:
If you have TWRP, chances are your rom would be modified in some way so the OTA Won't work anyway.
Click to expand...
Click to collapse
I'm stock rooted, are you saying that won't work? What's the proper way to install this update without losing data?
I'm used to flashing updates from recovery, so this whole sideload thing is new to me.
JimSmith94 said:
I'm stock rooted, are you saying that won't work? What's the proper way to install this update without losing data?
I'm used to flashing updates from recovery, so this whole sideload thing is new to me.
Click to expand...
Click to collapse
Correct, root is a modification. An OTA will not flash unless the rom and kernel are 100% as expected.. This is regardless of whether the OTA zip is flahsed in adb sideload or as an OTA natively.
If there is a J factory image available, fastboot flash the system.img and boot.img and you're updated.
If there is not, do the above but with the version the OTA expects. .. Then flash the OTA
danarama said:
If there is a J factory image available, fastboot flash the system.img and boot.img and you're updated.
Click to expand...
Click to collapse
There is an LYZ28J factory image available, here > https://developers.google.com/android/nexus/images
danarama said:
Correct, root is a modification. An OTA will not flash unless the rom and kernel are 100% as expected.. This is regardless of whether the OTA zip is flahsed in adb sideload or as an OTA natively.
If there is a J factory image available, fastboot flash the system.img and boot.img and you're updated.
If there is not, do the above but with the version the OTA expects. .. Then flash the OTA
Click to expand...
Click to collapse
Thanks for the info! Since Google says they will release these updates monthly, I'm hoping to find a simple, painless, and repeatable method to do these updates. Will flashing your suggestions lose root or data?
JimSmith94 said:
Thanks for the info! Since Google says they will release these updates monthly, I'm hoping to find a simple, painless, and repeatable method to do these updates. Will flashing your suggestions lose root or data?
Click to expand...
Click to collapse
It will lose root, but you just flash supersu from recovery
I had to flash the stock recovery back on and then did the OTA update. :-/ I really like my full system backups that TWRP does though..
doublejz said:
I had to flash the stock recovery back on and then did the OTA update. :-/ I really like my full system backups that TWRP does though..
Click to expand...
Click to collapse
Just flash the system.img then
So, just got the OTA update to Android Pie for my Mi 8 Global, and want to try flashing TWRP again. Every single version of TWRP I have flashed before has always either fail to boot, or always reboots into recovery and the ROM never loads. Anyone can suggest a real working TWRP file to flash? Do I need to wipe data? Etc. Since TWRP hasn't worked for me at all, I have to root with a roundabout way. Install Magisk Manager, extract and recompile boot.img into patched_boot.img and flash that in fastboot. This gives me roo but no TWRP so I can't flash any custom kernels or ROMs.
Rommco05 said:
Hi, I can't help you with twrp because I still waiting for countdown for unlocked it. From your post I understand u have a stock recovery.img, where u find stock recovery?
Click to expand...
Click to collapse
I just flash the stock boot.img and it reverts everything
Rommco05 said:
Where I can find stock .imgs?
Click to expand...
Click to collapse
Download a stock ROM and grab the boot.img from inside it.
Hi all.
I hope this thread is ok.
I have previously tried to flash a custom rom on my Mi 11. I've followed all the steps but most roms fail due to the file not being recognised in CMD or Powershell. I've ran these as administrator and it still won't work.
One or two of the roms recognised the file & looked like it was going to complete the flash until I got an error saying:
Failed to flash - target API level is 3. Has this happened anyone before?
Also after having to flash a fsastboot stock rom I can no longer install system updates.
If anyone can help, I'd be really appreciative as I'm so frustrated with MiUi. Can't open Gmail attachments, videos won't load on certain apps etc.
Thanks very much.
stuedub said:
Hi all.
I hope this thread is ok.
I have previously tried to flash a custom rom on my Mi 11. I've followed all the steps but most roms fail due to the file not being recognised in CMD or Powershell. I've ran these as administrator and it still won't work.
One or two of the roms recognised the file & looked like it was going to complete the flash until I got an error saying:
Failed to flash - target API level is 3. Has this happened anyone before?
Also after having to flash a fsastboot stock rom I can no longer install system updates.
If anyone can help, I'd be really appreciative as I'm so frustrated with MiUi. Can't open Gmail attachments, videos won't load on certain apps etc.
Thanks very much.
Click to expand...
Click to collapse
The bootloader must be unlocked.
For Aosp rom or Xiaomi EU rom use TWRP https://androidfilehost.com/?w=files&flid=321497
For stock rom use https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
I should have mentioned that my bootloader is unlocked.
If I flash TWRP, can I install a custom ROM? I can't see any mention of TWRP on custom roms, just flashing via fastboot.
stuedub said:
I should have mentioned that my bootloader is unlocked.
If I flash TWRP, can I install a custom ROM? I can't see any mention of TWRP on custom roms, just flashing via fastboot.
Click to expand...
Click to collapse
This version of TWRP for a12 was released yesterday.
Some AOSP roms have their own recovery but you can use this TWRP.
The twrp is just an extension that avoids typing command lines.
Just use the twrp following the instructions of the OP of the rom you want to install.
The start is always the same:
Twrp/wipe/format data type yes/reboot Twrp=CLEAN FLASH
then flash as instructed by the OP.
For requested imgs, gapps etc.
Excellent. Thanks for your help