Best way to root,unlock BL and install custom recovery - Xperia Z1 Compact Q&A, Help & Troubleshooting

I have Xperia z1 compact running stock non-rooted 14.6.A.1.236 rom. My bootloader is locked. I want to be able to install custom roms. What's the best way to root, unlock bl and install custom recovery? I've been searching forum for past few days but most of the download links redirect to d-h.st. and that breaks the chain of needed files.
Also i never used flashtool and i don't know should i use Sony flashtool or "original" one

bolcna said:
I have Xperia z1 compact running stock non-rooted 14.6.A.1.236 rom. My bootloader is locked. I want to be able to install custom roms. What's the best way to root, unlock bl and install custom recovery? I've been searching forum for past few days but most of the download links redirect to d-h.st. and that breaks the chain of needed files.
Also i never used flashtool and i don't know should i use Sony flashtool or "original" one
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=72547776&postcount=6

levone1 said:
https://forum.xda-developers.com/showpost.php?p=72547776&postcount=6
Click to expand...
Click to collapse
Do i have to be rooted to backup TA partition

bolcna said:
Do i have to be rooted to backup TA partition
Click to expand...
Click to collapse
I don't think so. Just need adb...

I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.

Raiyr said:
I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.
Click to expand...
Click to collapse
You don't have to downgrade to flash NUT. It's been a while since I did it, but I'm pretty sure that flashing supersu won't totally remove Kingroot. Best thing to do once you're rooted, if you don't want to unlock bl, is probably to install recovery, then in recovery flash a prf, which will wipe your system and install new system with supersu instead of Kingroot.

Raiyr said:
I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.
Click to expand...
Click to collapse
I don't trust any universal rooting apps. Only way to legit root your phone is to downgrade to kitkat and then root using exploit, then flash prerooted lollipop (that is if you wan't to stay on stock rooted rom). If you don't plan on staying on stock room and only want quick root you have to use kingroot since that's only universal root that can root z1c. When it comes to recovery there you have two choices. To use xzdualrecovery or to unlock bootloader (you will loose drm keys which means you will lose stuff like x-reality) and flash normal recovery. I would go for dual recovery because if you ever wan't to get back to stock you can since stock recovery isn't getting overwritten with xzdr. But if you choose to unlock bootloader first backup TA (you have to be rooted) and then unlock.
Hope this helps

Raiyr said:
I guess I don't have to open a new thread for this: I've been reading a lot about this recently and trying to get my thoughts straight about this:
I found PhilZ Dual Recovery (https://forum.xda-developers.com/showthread.php?t=2647480) which works with locked bootloader. Some people wrote there they installed the recovery on 5.0.2, so it seems I have to downgrade first (I'm on 5.1.1), even though it doesn't say that in the manual..? - if you can't answer that I'll ask that later then in the linked thread.
Next thing: I rooted with Kingroot, but want to switch to SuperSU - cant switch because theres a problem with the binary, so I have to flash it anyway through custom recovery.
Can I now root with Kingroot, install PhilZ Dualrecovery and when it boots into Recovery Mode, can I just flash the SuperSu.zip?
OR would I need to boot normally first after custom recovery install, then uninstall Kingroot, to unroot, and THEN flash SuperSU in Recovery?
Ive been using root for years but never really got into flashing before so I'm quite new to that and appreciate your help. Thanks a bunch.
Click to expand...
Click to collapse
bolcna said:
I don't trust any universal rooting apps. Only way to legit root your phone is to downgrade to kitkat and then root using exploit, then flash prerooted lollipop (that is if you wan't to stay on stock rooted rom). If you don't plan on staying on stock room and only want quick root you have to use kingroot since that's only universal root that can root z1c. When it comes to recovery there you have two choices. To use xzdualrecovery or to unlock bootloader (you will loose drm keys which means you will lose stuff like x-reality) and flash normal recovery. I would go for dual recovery because if you ever wan't to get back to stock you can since stock recovery isn't getting overwritten with xzdr. But if you choose to unlock bootloader first backup TA (you have to be rooted) and then unlock.
Hope this helps
Click to expand...
Click to collapse
I would go with unlock bl method. You can restore TA after rooting so you done lose drm, and it's easy to root with unlocked bl - https://forum.xda-developers.com/showpost.php?p=72547776&postcount=6

Related

[Q] GNex on Stock ICS 4.03; can't root or flash

Hey guys i bought a GNex off a Google employee and the phone came stock with 4.03. I've already unlocked the bootloader but can't get the phone rooted or flash with a different rom. I've even tried to upgrade to 4.04 that was just released but it will not let me upgrade.
Is there a way i can flash to 4.02? any help will be greatly appreciated
maluthug said:
Hey guys i bought a GNex off a Google employee and the phone came stock with 4.03. I've already unlocked the bootloader but can't get the phone rooted or flash with a different rom. I've even tried to upgrade to 4.04 that was just released but it will not let me upgrade.
Is there a way i can flash to 4.02? any help will be greatly appreciated
Click to expand...
Click to collapse
Have you rooted and installed CWM Recovery?
cannot root the phone, i've tried and phone just hangs
Have you downloaded the gnex toolkit in the development thread and tried that?
Sent from my Galaxy Nexus using xda premium
tried the wugfresh and the gnex toolkit 5.2; wont let me root 4.03
Have you installed a custom recovery?
which custom recovery? cwm recovery will not work without root access correct?
you can not have cwm recovery without root. do u have a GSM or LTE GN?
LTE version
I cant seem to find a way to root 4.0.3
maluthug said:
which custom recovery? cwm recovery will not work without root access correct?
Click to expand...
Click to collapse
Incorrect.
Root access gives you write access to the OS, which is separate from recovery. The standard root method for a Nexus device is to remove security from the bootloader, which then allows you to install non-signed images. You then install a custom recovery image. The custom recovery allows you to flash non-signed OS changes, which means you can flash the su binary and busybox (giving you root)...
You need to use fastboot to flash cwm, then you can install su and busybox...
ok gotcha, i was under the stupid assumption that i needed to gain root access to install a custom recovery. im going to give it a shot and see what happens
If you want to install recovery from the OS, then you would need an insecure/rooted OS. If you want to install recovery from the bootloader, then you would need an insecure/unlocked bootloader...
danger-rat said:
If you want to install recovery from the OS, then you would need an insecure/rooted OS. If you want to install recovery from the bootloader, then you would need an insecure/unlocked bootloader...
Click to expand...
Click to collapse
thanks so much, got recovery on there and updated the phone and rooted it as well. appreciate the help
Same here
Same thing happened to me. I installed the Gnex toolkit and unlocked the bootloader. Then I tried to root the phone: It restarted and I turned on USB debugging as it said and nothing happened.
So you're saying that I can skip the rooting and "Rename Recovery Restore File" before I "Flash CWM Recovery". After that I can try rooting through Gnex Toolkit 5.2?

[Q] Root + Recovery question

Hello,
I always had a HTC, so I'm kind of a new with rooting and unlocking an LG.
I have a LG D855 international and I have been reading a lot in this forum and I think that I've figured it out. But I just wont to be sure.
So if I'm right than I can root my phone by running purpledrake. When I've done that I have to install SU.
But if I understand it correcly the only way to get twrp is with" Bump'ed TWRP" so it's only possible to have TWRP if I use a custom rom?
So it's not possible to have orig Rom an TWRP? Right?
But If I just root my phone with purpledrake, so without installing TWRP and without custom Rom, I would still be able to use EXPOSED? RIght?
bamps said:
Hello,
I always had a HTC, so I'm kind of a new with rooting and unlocking an LG.
I have a LG D855 international and I have been reading a lot in this forum and I think that I've figured it out. But I just wont to be sure.
So if I'm right than I can root my phone by running purpledrake. When I've done that I have to install SU.
But if I understand it correcly the only way to get twrp is with" Bump'ed TWRP" so it's only possible to have TWRP if I use a custom rom?
So it's not possible to have orig Rom an TWRP? Right?
But If I just root my phone with purpledrake, so without installing TWRP and without custom Rom, I would still be able to use EXPOSED? RIght?
Click to expand...
Click to collapse
Yes Purple Drake is currently the most reliable root method, once you have root you need to install the SuperSU app of your choice.
Don't confuse yourself with Bump! Just accept that this is the only recovery that works with the G3 and install it then use it like normal. You will only be able to flash custom kernels (and roms with custom kernels) after they have been bumped, this is something the developer will do for you not anything for you to be concerned with, and fairly soon (when this method is released) all custom roms and kernels you find on xda will be pre-bumped - so basically you can treat the recovery like you always have done.
Xposed is nothing to do with recovery and everything to do with having root access.
Does this recovery back up my stock rom safely? I'm hesitant to use it because I've never heard of bump.
davidstjohn1 said:
Does this recovery back up my stock rom safely? I'm hesitant to use it because I've never heard of bump.
Click to expand...
Click to collapse
Nope, afaik, once on bumped twrp, u can't restore stock recovery. For that you will again have to flash the stock KDZ.
OK so it's only for bumped roms. Thank you
davidstjohn1 said:
OK so it's only for bumped roms. Thank you
Click to expand...
Click to collapse
The user above you is wrong and didnt read your question properly.
You CAN back up your stock ROM, just install bump, head to recovery and do a backup - you will never get stock recovery back though, unless you flash a KDZ with Flashtool.
But yes you can use TWRP to back up your currenty stock ROM.
Okay I get it the only way to restore the rom that I backed up is to add bump to it! ok I got it but in order to get back my stock phone I'm going to have to use the LG flash tool right
Lennyuk said:
Yes Purple Drake is currently the most reliable root method, once you have root you need to install the SuperSU app of your choice.
Don't confuse yourself with Bump! Just accept that this is the only recovery that works with the G3 and install it then use it like normal. You will only be able to flash custom kernels (and roms with custom kernels) after they have been bumped, this is something the developer will do for you not anything for you to be concerned with, and fairly soon (when this method is released) all custom roms and kernels you find on xda will be pre-bumped - so basically you can treat the recovery like you always have done.
Xposed is nothing to do with recovery and everything to do with having root access.
Click to expand...
Click to collapse
Thanx a lot.
I just wanted to make sure that I have everything right.
Thanks again

Root H815 on MM 6.0 V20d?

Hi guys ☺,
I bought today G4 eu model,it came with Marshmallow 6.0 V20d version.
I want to root it because of Greenify and Xposed,to increase the battery time,maybe later to flash some rom but...
There is a lot of topics on this subject,I started to read but I'm lost right now...as far as I saw,I can't root Marshmallow without unlocking the bootloader,only Lollipop,right?
Is it a big trouble to go back from MM to LP?
I'm not new in this flashing and rooting stuff,I had (still have) a Motorola Razr XT910,I flashed it 100 times for sure for 3.5 years but I didn't had to unlock the bootloader (it's impossible anyway) and there's a custom recovery Safestrap,modified Twrp which allows to flash and use 6 different roms,from JB to MM,without changing the kernel...
I will be grateful if someone can point me in the right direction,to give me some useful links etc.
And is there some list which procesess are safe to freeze with TB and which ones I can greenify?
Oh,and the bloatware too...
Sorry if I'm demanding but I want to bring out the best from this phone
Thank you in advance
Sent from my LG G4
Nobody?
Sent from my LG G4
Hi,
root without unlocking bootloader works only on lollipop, right. Not sure if u can downgrade, but when, u will use "LGUP" tool with the "H81510D.kdz" file. Maybe there exists a pre-rooted kdz to flash.
If u want to root android 6, u need a unlocked bootloader. Rooted Android 5.1.1 or unlock bootloader with rooted android 6.x.x
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Im also Confused..Where can i find rooted kernel?
I already did this Method u said...But I got Boot Loop
Then I revover my phone with Lg Bridge
We need to find this.....I also Had Android MM with V20d
welder73 said:
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Click to expand...
Click to collapse
In my case I wasn't able to flash recovery on the stock kernel, I had to flash boot.img unpacked from the custom kernel like SimpleGX and only then I was able to flash recovery and full kernel through it.
welder73 said:
Hi guys ,
I bought today G4 eu model,it came with Marshmallow 6.0 V20d version.
I want to root it because of Greenify and Xposed,to increase the battery time,maybe later to flash some rom but...
There is a lot of topics on this subject,I started to read but I'm lost right now...as far as I saw,I can't root Marshmallow without unlocking the bootloader,only Lollipop,right?
Is it a big trouble to go back from MM to LP?
I'm not new in this flashing and rooting stuff,I had (still have) a Motorola Razr XT910,I flashed it 100 times for sure for 3.5 years but I didn't had to unlock the bootloader (it's impossible anyway) and there's a custom recovery Safestrap,modified Twrp which allows to flash and use 6 different roms,from JB to MM,without changing the kernel...
I will be grateful if someone can point me in the right direction,to give me some useful links etc.
And is there some list which procesess are safe to freeze with TB and which ones I can greenify?
Oh,and the bloatware too...
Sorry if I'm demanding but I want to bring out the best from this phone
Thank you in advance
Sent from my LG G4
Click to expand...
Click to collapse
the method i followed was-
1. boot into twrp recovery with adb command(you need to have the twrp.img file in PC and also copy it in internal memory of your phone with SU)
2. flash systemless root with twrp
3. reboot
4. install flashify
5.flash twrp.img from your phone.
6. done
but there aren't as much benefits of rooting as any other phone. viper4android doesn't work. spirit fm doesn't work. xposed doesn't work properly.(these 3 were the main reasons for which i rooted)
dbzgoku said:
the method i followed was-
1. boot into twrp recovery with adb command(you need to have the twrp.img file in PC and also copy it in internal memory of your phone with SU)
2. flash systemless root with twrp
3. reboot
4. install flashify
5.flash twrp.img from your phone.
6. done
but there aren't as much benefits of rooting as any other phone. viper4android doesn't work. spirit fm doesn't work. xposed doesn't work properly.(these 3 were the main reasons for which i rooted)
Click to expand...
Click to collapse
My method:
1. The same
2. The same
3. Flash twrp.img with twrp
4. Reboot to recovery
5. Reboot to the system
6. Done
Viper4android works (judging by what other people say)
I don't know about spirit fm,I don't use it
Xposed is working fine
What's your problems with Xposed btw?
Sent from my LG G4
welder73 said:
My method:
1. The same
2. The same
3. Flash twrp.img with twrp
4. Reboot to recovery
5. Reboot to the system
6. Done
Viper4android works (judging by what other people say)
I don't know about spirit fm,I don't use it
Xposed is working fine
What's your problems with Xposed btw?
Sent from my LG G4
Click to expand...
Click to collapse
I didn't know i could flash something other than .zip files with twrp.
As for viper4android i tried normal way, flashed it with twrp, flashed extreme music mod with v4a fix. None seem to work. The drivers never get installed.
Xposed i haven't tried. I was in process of getting more information about it by reading various threads. But all seem to point to problems like bootloop, fc and Bluetooth issues. Can you guide me towards the best version of xposed for v20d with way to avoid problems or with as less problems as possible?
dbzgoku said:
I didn't know i could flash something other than .zip files with twrp.
As for viper4android i tried normal way, flashed it with twrp, flashed extreme music mod with v4a fix. None seem to work. The drivers never get installed.
Xposed i haven't tried. I was in process of getting more information about it by reading various threads. But all seem to point to problems like bootloop, fc and Bluetooth issues. Can you guide me towards the best version of xposed for v20d with way to avoid problems or with as less problems as possible?
Click to expand...
Click to collapse
Here is the official Xposed thread
http://forum.xda-developers.com/showthread.php?t=3034811
Download xposed-v80-sdk23-arm64.zip and flash it with Twrp.
Download XposedInstaller_3.0_alpha4.apk and install it.
And just in case if you have a bootloop,download xposed-uninstaller-20150831-arm64.zip.
I haven't had any problems
Oh,be careful which Xposed module you install.Here is the thread of working/not working modules
http://forum.xda-developers.com/showthread.php?t=3180217
Your bootloader is unlocked,right?
Sent from my LG G4
welder73 said:
Here is the official Xposed thread
http://forum.xda-developers.com/showthread.php?t=3034811
Download xposed-v80-sdk23-arm64.zip and flash it with Twrp.
Download XposedInstaller_3.0_alpha4.apk and install it.
And just in case if you have a bootloop,download xposed-uninstaller-20150831-arm64.zip.
I haven't had any problems
Oh,be careful which Xposed module you install.Here is the thread of working/not working modules
http://forum.xda-developers.com/showthread.php?t=3180217
Your bootloader is unlocked,right?
Sent from my LG G4
Click to expand...
Click to collapse
Thanks
I am gonna try it today.
And yes my bootloader is unlocked. We can't root marshmallow without unlocking bootloader.
dbzgoku said:
Thanks
I am gonna try it today.
And yes my bootloader is unlocked. We can't root marshmallow without unlocking bootloader.
Click to expand...
Click to collapse
Flash Imperium Kernel or SimpleGX Kernel. I used their kernels and ROMS on my older phones, they are legend. I suggest you to flash Imperium Rom. It includes kernel and everything and it is updated regularly by its dev.
This is kernel thread: http://forum.xda-developers.com/g4/orig-development/kernel-imperium-kernel-g4-v1-0-t3282915
This is ROM: http://forum.xda-developers.com/g4/development/rom-imperium-rom-g4-v1-0-t3312337
---------- Post added at 10:53 ---------- Previous post was at 10:51 ----------
@welder73 I wrote wrong guy I'm sorry.
Flash Imperium Kernel or SimpleGX Kernel. I used their kernels and ROMS on my older phones, they are legend. I suggest you to flash Imperium Rom. It includes kernel and everything and it is updated regularly by its dev.
This is kernel thread: http://forum.xda-developers.com/g4/orig-development/kernel-imperium-kernel-g4-v1-0-t3282915
This is ROM: http://forum.xda-developers.com/g4/development/rom-imperium-rom-g4-v1-0-t3312337
FINALLY Root My H815 Android 6.0 V20d
Hi to all!
As you have you bootloader unlocked, you can root your h815 M6 V20d with this method.
I was looking for days, and today i found this http://www.tuttoapp-android.com/root-lg-g4-h815-e-installazione-recovery-18188/
and now my g4 is rooted
Good luck!
p.s. Firstly convert the language from italian to english or ever you want
welder73 said:
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Click to expand...
Click to collapse
Unlock bootloader
adb reboot bootloader
fastboot boot twrp-3.0.0.0-h815.img
install -> images -> twrp-3.0.0.0-h815.img
reboot -> recovery
install -> BETA-SuperSU-v2.67-20160121175247.zip
reboot system
dontpannic said:
Unlock bootloader
adb reboot bootloader
fastboot boot twrp-3.0.0.0-h815.img
install -> images -> twrp-3.0.0.0-h815.img
reboot -> recovery
install -> BETA-SuperSU-v2.67-20160121175247.zip
reboot system
Click to expand...
Click to collapse
I think doesn't need to install recovery to root the phone.
Just this:
1) adb reboot bootloader
2) fastboot boot TWRP-2-8.7.0-h815.img
Wait a second and it will open, on the phone, the recovery.
Once open go to Advanced -> ADB sideload and take a swipe to start it where it says "Swipe to Start sideload".
Now on the PC write
3) adb sideload BETA-SuperSU-v2.67-20160121175247.zip
( If it says after the instalation to install supersu etc just abort it)
And then, when installation is complete, press "Reboot System"
I rooted it this way, without install TWRP Recovery
Zanina said:
I think doesn't need to install recovery to root the phone.
Just this:
1) adb reboot bootloader
2) fastboot boot TWRP-2-8.7.0-h815.img
Wait a second and it will open, on the phone, the recovery.
Once open go to Advanced -> ADB sideload and take a swipe to start it where it says "Swipe to Start sideload".
Now on the PC write
3) adb sideload BETA-SuperSU-v2.67-20160121175247.zip
( If it says after the instalation to install supersu etc just abort it)
And then, when installation is complete, press "Reboot System"
I rooted it this way, without install TWRP Recovery
Click to expand...
Click to collapse
Yeah - but the question has to be asked - why unlock the bootloader and root and not install TWRP? If you've got as far as unlocking the bootloader you might as well make life easier for yourself and install TWRP - that way anything you want to flash in the future can be done without being tethered to the PC, and also allows you to take proper full system image backups etc.
dontpannic said:
Yeah - but the question has to be asked - why unlock the bootloader and root and not install TWRP? If you've got as far as unlocking the bootloader you might as well make life easier for yourself and install TWRP - that way anything you want to flash in the future can be done without being tethered to the PC, and also allows you to take proper full system image backups etc.
Click to expand...
Click to collapse
Of course , i agree with you. By the way, we can't root g4 on m6 without unlocked bootloader.
And finally, i decided to pass twrp on my phone, for every file i want to install from twrp, and not every time to boot from pc
You're right
p.s. the first thing i did after twrp installed, was to install g5 live wallpapers

Is it possible to root the OP3 without a custom recovery?

I don't really need a custom recovery (I don't know of any features custom recovery will give me I really need?) and for now I'm fine running stock roms (I always give stock a few weeks just as a baseline before I start custom roms) but I was wondering, how would one go about rooting the OP3 without installing a custom recovery?
Is it possible / easily doable? Or am I better off just to flash some custom recovery and ditch the stock one?
The reason I don't want to go away from stock just yet is I know oneplus is still updating the rom and custom recoveries, historically, have made OTA updates problematic.
Rooting will also mess up Ota too, but if u install a custom recovery, now that we have stock recovery it will be very easy to revert back for OTAs, there should be a way to root without a custom recovery but I am not sure how though, but with how oneplus makes it so easy to unlock bootloader and flash customers stuff there is really no need to stay stock
You can simply connect your OP3 to a PC and boot to TWRP without flashing it:
fastboot boot twrp.img
Then do a backup with twrp before rooting. I use the above method with systemless root
and also don't really need a custom recovery at this point. This might change once CM13 matures on the OP3...
OTAs might work this way in the future. If they don't, restore your system + boot (kernel) partition
and try the OTA again.
edit: implying your bootloader is already unlocked
pileot said:
I don't really need a custom recovery (I don't know of any features custom recovery will give me I really need?) and for now I'm fine running stock roms (I always give stock a few weeks just as a baseline before I start custom roms) but I was wondering, how would one go about rooting the OP3 without installing a custom recovery?
Is it possible / easily doable? Or am I better off just to flash some custom recovery and ditch the stock one?
The reason I don't want to go away from stock just yet is I know oneplus is still updating the rom and custom recoveries, historically, have made OTA updates problematic.
Click to expand...
Click to collapse
As far as I know, you'd have to have TWRP to get root.
I don't think getting it rooted will mess up the OTA updates, other users sprovide flashable zips for the OTA anyway.. so you can still flash the zips manually with TWRP to keep you updated.
Sent from my ONEPLUS A3000 using XDA-Developers mobile app
To get root yes, you would need TWRP to flash to certain partitions but to keep root no. Your phone will operate just fine with root and stock recovery. Check what the user a few posts above mine said about temporary flashing TWRP to achieve your short term goals
AcmE85 said:
You can simply connect your OP3 to a PC and boot to TWRP without flashing it:
fastboot boot twrp.img
Then do a backup with twrp before rooting. I use the above method with systemless root
and also don't really need a custom recovery at this point. This might change once CM13 matures on the OP3...
OTAs might work this way in the future. If they don't, restore your system + boot (kernel) partition
and try the OTA again.
edit: implying your bootloader is already unlocked
Click to expand...
Click to collapse
So have you actually done this by temporary booting twrp and then using the systemless root and still have stock recovery? Also how do I root systemless? Really wanna know because wanna keep stock recovery and have root
TheSvensson said:
So have you actually done this by temporary booting twrp and then using the systemless root and still have stock recovery? Also how do I root systemless? Really wanna know because wanna keep stock recovery and have root
Click to expand...
Click to collapse
Yes, I have the stock recovery and it is rooted.
The recovery partition has nothing to do with all the other partitions except that it can read and write them.
This is the zip I flashed to get systemless root:
https://www.androidfilehost.com/?fid=24591000424939898
Some users reported that some Root-apps are not supported this way.
I am using Titanium Backup, Adaway, Trimmer and Root Explorer without issues.
Keep in mind that I did not get any OTA so far since running this setup, so I am not sure if official OTAs will or will not work.
All I did was manually flash OxygenOS 3.1.3 in TWRP (not flashed but booted) and reflash the root package afterwards.
AcmE85 said:
You can simply connect your OP3 to a PC and boot to TWRP without flashing it:
fastboot boot twrp.img
Then do a backup with twrp before rooting. I use the above method with systemless root
and also don't really need a custom recovery at this point. This might change once CM13 matures on the OP3...
OTAs might work this way in the future. If they don't, restore your system + boot (kernel) partition
and try the OTA again.
edit: implying your bootloader is already unlocked
Click to expand...
Click to collapse
I have an unlocked bootloader and tried this on my PC:
C:\adb>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.709s]
booting...
OKAY [ 0.373s]
finished. total time: 1.092s
Nothing happens, bootloader start screen stays frozen. Until I hold down the power button. Might you know why?
AcmE85 said:
You can simply connect your OP3 to a PC and boot to TWRP without flashing it:
fastboot boot twrp.img
Then do a backup with twrp before rooting. I use the above method with systemless root
and also don't really need a custom recovery at this point. This might change once CM13 matures on the OP3...
OTAs might work this way in the future. If they don't, restore your system + boot (kernel) partition
and try the OTA again.
edit: implying your bootloader is already unlocked
Click to expand...
Click to collapse
i tried to boot into twrp recovery with above command, but the phone seems to be stuck in the bootloader and not responding. Any ideas?
edit: comment above describes exact same behaviour, sorry for double post
Sorry, don't know. Booting takes a couple seconds on my device though.
I am using this recovery img: http://www6.zippyshare.com/v/iK6tCE6D/file.html
Got it from XDA, but unfortunately don't know anymore who build it.
AcmE85 said:
Sorry, don't know. Booting takes a couple seconds on my device though.
I am using this recovery img: http://www6.zippyshare.com/v/iK6tCE6D/file.html
Got it from XDA, but unfortunately don't know anymore who build it.
Click to expand...
Click to collapse
Thanks, that twrp img worked for me. The one I was using didnt allow me to boot to it.
AcmE85 said:
Keep in mind that I did not get any OTA so far since running this setup, so I am not sure if official OTAs will or will not work.
Click to expand...
Click to collapse
Any chance you know if you get OTA by now?
I really like the Op3 and dont wont to change anything except i would like to habe root access. Your method seems to be the best way to achieve that.
hahamuntz said:
Any chance you know if you get OTA by now?
I really like the Op3 and dont wont to change anything except i would like to habe root access. Your method seems to be the best way to achieve that.
Click to expand...
Click to collapse
The updater will recognize root on your device and download the full 1.3 gb Rom file.
But after updating root will be gone, so you will have to reflash root after each ota.
AcmE85 said:
The updater will recognize root on your device and download the full 1.3 gb Rom file.
But after updating root will be gone, so you will have to reflash root after each ota.
Click to expand...
Click to collapse
Thanks for the quick answer
Just to make sure, if I root using this method nothing will change, except I have root access, my bootloader is unlocked and the updates will be big, but I can update the normal way, I will just lose the root access? Is that correct or am I missing something?
hahamuntz said:
Thanks for the quick answer
Just to make sure, if I root using this method nothing will change, except I have root access, my bootloader is unlocked and the updates will be big, but I can update the normal way, I will just lose the root access? Is that correct or am I missing something?
Click to expand...
Click to collapse
One more thing:
If you have TWRP, automatically installing the big OTA will remove it and go back to the stock recovery.
I always manually move the downloaded ota from android/data/com.oneplus.ota/files/.OnePlusOta
to my download folder, boot into TWRP and flash it + SuperSU on my own.
AcmE85 said:
One more thing:
If you have TWRP, automatically installing the big OTA will remove it and go back to the stock recovery.
I always manually move the downloaded ota from android/data/com.oneplus.ota/files/.OnePlusOta
to my download folder, boot into TWRP and flash it + SuperSU on my own.
Click to expand...
Click to collapse
So you have TWRP installed? I thought you won't get OTAs if you have a custom recovery? So i could just flash TWRP and root and still get OTAs?
hahamuntz said:
So you have TWRP installed? I thought you won't get OTAs if you have a custom recovery? So i could just flash TWRP and root and still get OTAs?
Click to expand...
Click to collapse
Yes, OTAs will come and because of Root you will get the full OTA regardless, which does not cause any issues with TWRP.
I tried my previous method and the regular OTA would fail because of root which changes the kernel or the system partition.
OnePlus reacted to this and introduced the full rom OTAs at some point.
So with root on my device this is how I do OTAs now:
- get the OTA notification for the full rom
- download but don't install
- move the downloaded zip from android/data/com.oneplus.ota/files/.OnePlusOta to my download folder
- manually boot into twrp and flash full rom zip + SuperSU
AcmE85 said:
Yes, OTAs will come and because of Root you will get the full OTA regardless which does not cause any issues with TWRP.
Click to expand...
Click to collapse
Okay, thanks so much for your help

magisk on stock rom unrooted

Thats the question, can "easily" install magisk on stock rom (.236) unrooted ? since magisk thread says that root is not necessary, its ask for stock boot img that cant be obtained w/o root
JIJOK said:
Thats the question, can "easily" install magisk on stock rom (.236) unrooted ? since magisk thread says that root is not necessary, its ask for stock boot img that cant be obtained w/o root
Click to expand...
Click to collapse
Never tried, but even though root may not be needed, unlocked bootloader probably is. Magisk non-system works by patching boot img... If you unlock bootloader you probably can use it.
levone1 said:
Never tried, but even though root may not be needed, unlocked bootloader probably is. Magisk non-system works by patching boot img... If you unlock bootloader you probably can use it.
Click to expand...
Click to collapse
so, can get the image by just unlock the bootloader ? I though root was necessary for that
JIJOK said:
so, can get the image by just unlock the bootloader ? I though root was necessary for that
Click to expand...
Click to collapse
You can unlocked bl by official Sony method, then flash recovery with adb. Boot to recovery and flash Magisk.
Backup ta - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Recovery img - https://androidfilehost.com/?fid=961840155545588613
You can try flashing recovery within locked bl, but I don't think it would work.
levone1 said:
You can unlocked bl by official Sony method, then flash recovery with adb. Boot to recovery and flash Magisk.
Backup ta - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Recovery img - https://androidfilehost.com/?fid=961840155545588613
You can try flashing recovery within locked bl, but I don't think it would work.
Click to expand...
Click to collapse
So, if you was wondering it, no, cant flash it with locked bl.
At the moment Backup ta didnt work, will check that thread
And thanx the help, nice to have you on z1c forum :good:
perfect. thx! i was already wondering, if i had to downgrade my z1c in order to get the recovery back. but now, how i do i flash magisk from here?
when i try to flash, i get an error message saying, that the ftf is in sony elf32 format and that i need bootbridge from @AdrianDC to flash.
anyone ever did that or has a better idea?
just tried it now and ended up in a bootlop
It is many months after this post, but in case this helps anyone, here is the answer.
BootBridge method is pretty simple and it worked for me.
On an un-rooted device. (important)
Just rename magisk zip to "install.zip" put it in a folder called install.
Then with 7zip, create a zip-file, include the bootbridge folders, "META-INF" and "scripts" with the "install folder" you just created.
Then name it "anything_you_like.zip" and flash with TWRP
Basically Magisk is SuperSU alternative and provides SuperSU service for your device. ( roots it )
No problems for me at this point. Working on 14.5.A.0.270 and can also get working on 14.6.A.0.236 but have other problems related to getting compatible recovery on 236.
Eventually in recovery, system mount and unmount break for me, then other mounts eventually fail after trying to get Nanodroid working (My Goal to UnGoogle my Z1c) and can't wipe format or anything (only way to fix is reflash with flashtool)
Deodexed ROM seems to be necessary for Nanodroid and this is causing additional problems for me.
If I have to run with unlocked bootloader, I think AOSP may be a better starting point.

Categories

Resources