If I am on stock recovery and unlocked bootloader, is it possible to root my phone without twrp by flashing magisk zip in stock recovery?
Sprinklefart said:
If I am on stock recovery and unlocked bootloader, is it possible to root my phone without twrp by flashing magisk zip in stock recovery?
Click to expand...
Click to collapse
No. Stock recovery will only flash images & zips from OnePlus.
Stock recovery only works with officially signed files from OnePlus.
If you already went through the trouble of unlocking the bootloader then flashing a custom recovery is very easy and straightforward. Otherwise you might as well relock the bootloader.
Theoretically it is possible with MAGISK (even with locked bootloader) but it didn't work for me...
Steps:
1. Extract the boot.img from stock rom zip
2. Patch with Magisk Manager
3. Rename the patched one to boot.img and replace in stock Rom zip
4. Flash the zip in stock revovery
Unluckily I finish with a "Installation failed" error
Did anybody managed this with 5.02 rom and locked bootloader. I got told that for older stock rom it was possible
Sent from my ONEPLUS A5010 using Tapatalk
No, no, no...
What you do is that you let the Magisk Manager patch the stock boot image (as in 1 & 2 above). Then you use fastboot to flash the patched image to your device. No custom recovery needed...
Code:
fastboot flash boot patched_boot.img
Your bootloader has to be unlocked though.
Didgeridoohan said:
No, no, no...
What you do is that you let the Magisk Manager patch the stock boot image (as in 1 & 2 above). Then you use fastboot to flash the patched image to your device. No custom recovery needed...
Code:
fastboot flash boot patched_boot.img
Your bootloader has to be unlocked though.
Click to expand...
Click to collapse
With fastboot I also tried without success. As you told, it is required that the bootloader is unlocked.
Sent from my ONEPLUS A5010 using Tapatalk
Related
I have a Nexus with UNLOCKED Bootloader, TWRP recovery and root.
Can I back to stock recovery and stay with root on my Nexus?
Only flash recovery stock, how can I do it?
Thanks in advance.
idann said:
I have a Nexus with UNLOCKED Bootloader, TWRP recovery and root.
Can I back to stock recovery and stay with root on my Nexus?
Only flash recovery stock, how can I do it?
Thanks in advance.
Click to expand...
Click to collapse
You can have root and stock recovery
You can find a mini guide to flashing stock recovery in this post
http://forum.xda-developers.com/showthread.php?t=2448015
In the download section of that post you can find the stock recovery for the version you need
sfhub said:
You can have root and stock recovery
You can find a mini guide to flashing stock recovery in this post
http://forum.xda-developers.com/showthread.php?t=2448015
In the download section of that post you can find the stock recovery for the version you need
Click to expand...
Click to collapse
I found the recovery stock here: https://developers.google.com/android/nexus/images
While flash this recovery (from file ROM), the root will not stay on device?
idann said:
I found the recovery stock here: https://developers.google.com/android/nexus/images
While flash this recovery (from file ROM), the root will not stay on device?
Click to expand...
Click to collapse
If you extract just the recovery from the image zip and flash that, root will stay. If you flash the whole thing, root will be gone.
sfhub said:
If you extract just the recovery from the image zip and flash that, root will stay. If you flash the whole thing, root will be gone.
Click to expand...
Click to collapse
Only recovery image zip, so my Nexus will stay with root & unlocked bootloader?
Stock recovery will possible to get OTA from google?
To flashing recovery image zip, copy file recovery.img to storage device and running command "fastboot flash recovery recovery.img"?
Thanks
If I am reading what you wrote correctly, yes to all your questions
Root needs to have been installed using SuperSU v1.55 or above for ota to work.
I have only just aquired my xperia z1 compact, but have already unlocked the bootloader.
I didn't even notice I updated to .157, but apparently, I did.
The problem is, when I tried to root, I had to flash old kernel, root and then flash new kernel again.
But when I flash old kernel, the screen doesn't work, meaning that I can't activate USB debugging or confirm the prompt for USB debugging.
I want to know whether there's something I did wrong or there's something I didn't do.
How to root on unlocked bootloader:
1. Flash a custom kernel (e.g. http://nut.xperia-files.com/ Z1C-XZDRKernel)
2. Flash SuperSU in recovery ( http://download.chainfire.eu/supersu )
3. Enjoy root
Not sure why you are using the method for locked bootloader.
zxz0O0 said:
How to root on unlocked bootloader:
1. Flash a custom kernel (e.g. http://nut.xperia-files.com/ Z1C-XZDRKernel)
2. Flash SuperSU in recovery ( http://download.chainfire.eu/supersu )
3. Enjoy root
Not sure why you are using the method for locked bootloader.
Click to expand...
Click to collapse
Flashing that kernel works on .157?
Oh and, I flash via fastboot right?
"fastboot flash zip", correct?
As the one from the link I provided is a flashable zip, you need to unpack it (get the boot.img). Then use
Code:
fastboot flash boot boot.img
Yes, but are you 100% sure it works on 157? Last time I flashed a boot.img I had to flash stock firmware again.
No matter what boot.img you flash, you will never get to the point that you need to flash full stock rom.
I am using this kernel on .157.
It worked! Had I known that it was that easy I wouldn't have gone through so much trouble. Thanks, and sorry for being paranoic. I'm in a transition from a Nexus 5 to a Z1 Compact and doing those things on the N5 was more straightforward.
History : i've been using an earlier pre-rooted rom for this device and after having taking care of unrooting it, i tried the OTA Update to upgrade and access the TWSP and Garbage rom.
My issue is that as i access the phone in fastboot mode with fastboot and adb i can't acces the recovery mode : the phone reboot to fastboot.
Any hint appreciated
Manuel
Have you tried rerooting and flashing a recovery again?
Sent from my SGH-T599N using XDA Forums Pro.
lowvoice said:
Have you tried rerooting and flashing a recovery again?
Click to expand...
Click to collapse
Rooted again with "cai_dat_CWM" (root ok)
Flashed with fastboot flash recovery twrp.img (transfert ok)
same issue after selecting recovery mode
is the unlock available in 2.15.40.13 ((2015/05/06) ?
U need to unlock ur bootloader first to flash permanent TWRP
Sent from my ASUS_Z008D using XDA Free mobile app
yakub234go said:
U need to unlock ur bootloader first to flash permanent TWRP
Click to expand...
Click to collapse
According to http://forum.xda-developers.com/zenfone2/general/congrats-to-bootlocker-unlocked-t3138547
Step 1 to unlock is Update to 2.19.40
I'm on 2.15.40.13 and the OTA fails at the fastboot menu
http://forum.xda-developers.com/zenfone2/orig-development/rom-pre-root-img-t3079590/page51
I forgot this was a pre-root system.img file as explained, no stock system.img provided
I think the recovery limitation was made on purpose to avoid bootloop after OTA.
Looking for stock rom to flash via fastboot
Fixed :
Used cai_dat_CWM Tethered to flash stock rom from Asus Website
UL-Z00A-WW-2.19.40.18-user.zip from Asus Website
Then again to root with SuperSU246 update from zip
Im on Z008 2.19.40.12_20150612 I cant seem to flash twrp no matter how hard I try. Im rooted and unlocked BL. Is fastboot easiest way or sideload or from twrp manager? Does someone have the download link of which IMG I would need?
Check the General resources thread, you might have to upgrade your stock firmware version.
Download twrp manager from app store. Use that.
Sent from my ASUS_Z00AD using Tapatalk
I've tried that but what img file do I need for my firmware?
I see the new one is 2.20.40.63 what would be the right twrp img file to flash?
cell2011 said:
I see the new one is 2.20.40.63 what would be the right twrp img file to flash?
Click to expand...
Click to collapse
You must be on 2.19.40.18 - 2.19.40.22 to unlock your bootloader. Only after unlocking your bootloader can you flash TWRP onto your phone permanently...
Go to general section and check out the 1st stickied post, it will give you the info you need to do this...
I'm already unlocked and rooted. What img twrp should I flash based on my firmware?
cell2011 said:
I'm already unlocked and rooted. What img twrp should I flash based on my firmware?
Click to expand...
Click to collapse
TWRP officially support Zenfone 2 (551ML) so get from there....
I'm 550 ml now what? Can anyone just send me a link to the right img?
What are the steps to flash this TWRP recovery 2.8.7.0 OTG-USB NTFS.zip. This is for 550 ml
I'd use untethered Twrp then flash, but that's me.
Twrp manager automatically picks the right recovery.
Sent from my ASUS_Z00AD using Tapatalk
I should be able to flash a rom through CWM that way right? I'm already unlocked bootloader and rooted and su is on my sd card. Can I flash a rom gaps and su again through CWM and I'm good? But I'll be stuck with that rom till I do perm recovery right? CM 12 not for 550 yet?
ultramag69 said:
I'd use untethered Twrp then flash, but that's me.
Click to expand...
Click to collapse
I should be able to flash CWM rom gapps su that way right? But then I'd be stuck with that rom till I'm perm recovery?
cell2011 said:
I should be able to flash CWM rom gapps su that way right? But then I'd be stuck with that rom till I'm perm recovery?
Click to expand...
Click to collapse
Yes...
Can I flash custom recovery without PC on Stock MIUI 11.03 with unlocked bootloader? Is there any flushable zip file directly from fastboot mode?
If you're still with stock recovery, no way to install custom recovery but via fastboot mode using the img file of the custom reco ery. If you have already the custom recovery, then you can flash the zip or img file of a custom recovery.
MoshiurDon said:
Can I flash custom recovery without PC on Stock MIUI 11.03 with unlocked bootloader? Is there any flushable zip file directly from fastboot mode?
Click to expand...
Click to collapse
if u are on stock recovery without a pc u can't install custom, if u want update or change a custom recovery with another u can flash