[Q] Rooting Android 5.1 Procedure Questions - Nexus 5 Q&A, Help & Troubleshooting

Hi everyone! Excuse my limited knowledge on this. I did not see any threads on this question that was specifically related to 5.1. So I just side loaded the zip file for 5.1 LMY47D to my UNrooted and Locked Nexus 5 yesterday. Before doing so I did a facotry reset, mainly to keep it a fresh install and minimize issues. I figured before redownloading all my apps and setting everything back up, I might as well go ahead and finally unlock and root. So my main question is rooting 5.1 going to be the same procedure as rooting 5.0.1? If it is not the same, then can someone point me in the direction of the most reliable instructions on rooting 5.1. I have not found any rooting instructions relating specifically to 5.1 that I would completely trust or that were pretty detailed.

Same method for old version ,
First unlock device , flash recovery via fastboot
"Fastboot flash recovery recovery.img"
Download the latest root zip from chaunfire website or you can find the thread in forum , just flash it by recovery that already flashed ?
Thats all my friend nothing complicated

ali8383 said:
Same method for old version ,
First unlock device , flash recovery via fastboot
"Fastboot flash recovery recovery.img"
Download the latest root zip from chaunfire website or you can find the thread in forum , just flash it by recovery that already flashed
Thats all my friend nothing complicated
Click to expand...
Click to collapse
+1
Thanks! Straight forward! Exactly the answer I was looking for. I thought it might be different since I know there was difference between rooting 4.4 and 5.0. Anyways Thanks I will start checking it out now!

Related

[Q] Related to stock recovery/ROM.

Hey guys. So I am running 4.4.4 right now on my XT1033. Waiting for 5.0 now. However, I wanna root my phone now but I have some questions related to the update that I wanna clear first.
1, I already have unlocked my boot loader, will that affect my phone in receiving the OTA update?
2, Can I root my phone without removing the stock recovery, since I won't be flashing ROMs now and I wouldn't need it.
3, If I can't root without removing the stock recovery, how can I go back to stock recovery?
4, In order to update, do I have to unroot and lock the boot loader again or is that not necessary?
That's all. Keep in mind that my main concern is that I want root along with, when the time comes, the OTA update installation without any problems.
I am new at this so please bear with me. Hoping for an early reply, thank you.
Anyone?
drag00n619 said:
Hey guys. So I am running 4.4.4 right now on my XT1033. Waiting for 5.0 now. However, I wanna root my phone now but I have some questions related to the update that I wanna clear first.
1, I already have unlocked my boot loader, will that affect my phone in receiving the OTA update?
2, Can I root my phone without removing the stock recovery, since I won't be flashing ROMs now and I wouldn't need it.
3, If I can't root without removing the stock recovery, how can I go back to stock recovery?
4, In order to update, do I have to unroot and lock the boot loader again or is that not necessary?
That's all. Keep in mind that my main concern is that I want root along with, when the time comes, the OTA update installation without any problems.
I am new at this so please bear with me. Hoping for an early reply, thank you.
Click to expand...
Click to collapse
1. There's no problem with unlocked bootloader in order to receive the OTA.
2. There's a method to root without modifying recovery. Search for "root moto g modaco" on google, and choose "option 1, superboot". (Since I am a junior member I cannot submit links) :crying:
3. You can also change recovery using fastboot or Mototools, flash supersu.zip and then flash stock recovery again using mototools, which is prepared to flash cwm, twrp or stock recovery,
4. You don't need to re-lock bootloader in order to update
Anyway, I read that you can receive the OTA being root, but only if you have not modifyied system (i.e removing system apk's) nor modifying kernel.
Hope this was useful!
arya5 said:
1. There's no problem with unlocked bootloader in order to receive the OTA.
2. There's a method to root without modifying recovery. Search for "root moto g modaco" on google, and choose "option 1, superboot". (Since I am a junior member I cannot submit links) :crying:
3. You can also change recovery using fastboot or Mototools, flash supersu.zip and then flash stock recovery again using mototools, which is prepared to flash cwm, twrp or stock recovery,
4. You don't need to re-lock bootloader in order to update
Anyway, I read that you can receive the OTA being root, but only if you have not modifyied system (i.e removing system apk's) nor modifying kernel.
Hope this was useful!
Click to expand...
Click to collapse
Thank you, that really helped. And yea, I won't be messing around with the system apps, just gonna install Xposed.
2 more questions though
1, Is it possible to flash the stock recovery from CWM?
2, I read somewhere that the stock recovery can be extracted from the ROM of your phone. Is that true? That means that I can make a backup of my current ROM and also have the stock recovery with me, right?
Once again, thanks!
drag00n619 said:
Thank you, that really helped. And yea, I won't be messing around with the system apps, just gonna install Xposed.
2 more questions though
1, Is it possible to flash the stock recovery from CWM?
2, I read somewhere that the stock recovery can be extracted from the ROM of your phone. Is that true? That means that I can make a backup of my current ROM and also have the stock recovery with me, right?
Once again, thanks!
Click to expand...
Click to collapse
A recovery can be flashed from recovery, but only if you have it on a flashable zip, if you have it on img format, you need to use mototools or fastboot from pc. This second option is more recommendable
Concerning second question, I think I don't understand you. Original recovery can be found at the original firmware, this means that if you flash the original stock firmware it comes with the stock recovery, but I am not sure that you will recover stock recovery restoring a previous backup. Sorry

[Q] Recent buy and trying to root

I just bought this tablet and it seems to have updated itself overnight (that or my kid did it) I want to root it , but it says it's running 5.0.1 now.. if it's possible, could someone walk me through this? I've been reading thru the various root threads, and having no luck-I'm on Ubuntu latest and have adb and fastboot installed..anyone feel like helping me out?
unlock bootloader, flash TWRP, then flash SuperSU
Bogdacutu said:
unlock bootloader, flash TWRP, then flash SuperSU
Click to expand...
Click to collapse
I did the above but with a slight change. I just booted CWM instead of flashing it so till running stock recovery but rooted.
I did this from 5.0.1 after unlocking the bootloader which was a piece of cake. There is a great guide on this forum.

Is there a way to root on 5.1.1 23.4.A.1.200 ?

Hello there,
have been trying to root my new xperia z3 for 3 weekends now with no luck.
My bootloader has been unlocked through sony website, then relocked and unlocked many times using flashtool.
Looks like all the recoveries (doomlord, twrp) I could find work only on 4.4.4. Then I use flashtool to flash lollipop 5.1.1 23.4.A.1.200 and either wipe and loose the root or don't wipe all and enter a bootloop.
Flashing those recovery kernels straight on lollipop make the phone enter bootloop.
Are you guys able to root those Z3 under 5.1.1 ?
thank you
Sure shot easy way is flash kitkat firmware and use giefroot or flash 5.0 firmware and use kingroot.
Mate, you have to flash a prerooted version of 5.1.1 you can't just flash a stock rom and expect to stay rooted.
Downgrade to Kitkat then root and install a custom recovery. Then you download 5.1.1, Super Su and a custom recovery, create a pre rooted flashable zip with PRFcreator . Then flash it in your custom recovery and you're done. Rooted 5.1.1 with a custom recovery ready to rock.
Kingroot isn't recommendable, your IMEI is sent to China. Downgrade to 4.4, root with giefieroot, upgrade with pre-rooted ROM.
Btw: did you make a backup of your TA partition before unlocking bootloader?
Thanks a lot for your answer guys.
Am unusually struggling with this device.
lol1rfs said:
Mate, you have to flash a prerooted version of 5.1.1 you can't just flash a stock rom and expect to stay rooted.
Downgrade to Kitkat then root and install a custom recovery. Then you download 5.1.1, Super Su and a custom recovery, create a pre rooted flashable zip with PRFcreator . Then flash it in your custom recovery and you're done. Rooted 5.1.1 with a custom recovery ready to rock.
Click to expand...
Click to collapse
Have already downgraded to kitkat, installed custom recovery and rooted. But the 5.1.1 stock flash indeed wipe everything.
Haven't found yet a custom recovery for 5.1.1 that doesn't make the phone enter a bootloop. Would you happen to have a link ?
I'll give a look to that PRFcreator, didn't know about it.
Jkay7 said:
Kingroot isn't recommendable, your IMEI is sent to China. Downgrade to 4.4, root with giefieroot, upgrade with pre-rooted ROM.
Btw: did you make a backup of your TA partition before unlocking bootloader?
Click to expand...
Click to collapse
This is what I read about kingroot and haven't found any other way to root a 5.1.1 stock.
Where could I find a pre-rooter ROM then ? My wish was to be stock and rooted to be able to use apps like titanium backup and adblockers. Used to try custom roms every other day on my old SGS but today I'd be happy with something that just works.
Did not make any backup before unlocking but looked like flashtool was able to relock the device. Am I right guessing I didn't loose my DRM keys then ?
Thanks again for your answers.
Edit: looks like am missing sthg, what's the point in rooting a kitkat to upgrade with a pre-rooted lollipop right after ?
After KitKat root you get a Lollipop pre-rooted image and flash it: http://forum.xda-developers.com/z3/general/d6603-5-0-2-flashable-stock-23-1-0-690-t3056361
Here are the steps: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
I hope you made a TA backup before unlocking your bootloader, otherwise you have lost your DRM keys forever.
Anyway, if your bootloader is now locked, follow the guide that Licaon_Kter linked in the above post.
The exploit that lets us root our Z3 only works on Kitkat, so downgrade first, run the exploit to obtain root, and install recovery.
You will then have stock, rooted, KitKat.
To get to 5.1.1, you will then need to either create your own pre rooted firmware, or download one that someone has kindly posted on here.
If you want to learn how to do it, read this --> Create your own pre rooted firmware with PRF Creator
PRF Creator will create a zip file that can be flashed from recovery, so once you have recovery installed, it's dead easy.
That will get you where you want to be.
However . . . and there's always a however lol . . .
. . . if you still have an unlocked bootloader, it is much simpler from wherever you are.
Find any custom rom that has recovery built in, and almost all do, then fastboot the kernel only, the boot.img.
Reboot your device and enter recovery.
Install your pre rooted firmware that you have either created with PRF Creator, or downloaded from here.
Job done.
My personal advice is read, read, and then read some more.
It can be very complicated, but you'll get the hang of it.
Licaon_Kter said:
After KitKat root you get a Lollipop pre-rooted image and flash it: http://forum.xda-developers.com/z3/general/d6603-5-0-2-flashable-stock-23-1-0-690-t3056361
Here are the steps: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Click to expand...
Click to collapse
I still have an unlocked bootloader since flashtool can lock and unlock it in a matter of a second.
Went back again in KK rooted with twrp recovery.
Wiped data, cache, dalvik.
Flashed D6603_23.4.A.1.232_Customized_US_SuperSU_XZDR2.8.2 1 from the link above and ... CWM recovery report install from sdcard completed after 1s and nothing more. Am still booting in KK after that.
This didn't work for me. Am losing it now with this phone.
Am I missing sthg ? Any advice ?
Can't use PRFCreator, am under mac os...
Thanks to all for your help
Try with TWRP too
Licaon_Kter said:
After KitKat root you get a Lollipop pre-rooted image and flash it: http://forum.xda-developers.com/z3/general/d6603-5-0-2-flashable-stock-23-1-0-690-t3056361
Here are the steps: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Click to expand...
Click to collapse
Licaon_Kter said:
Try with TWRP too
Click to expand...
Click to collapse
tried twrp found there http://forum.xda-developers.com/z3/development/recovery-z3-twrp-2-8-4-0-t3028846
phone is not booting anymore.
twrp post says it doesn't work on stock room.
---------- Post added at 02:16 PM ---------- Previous post was at 02:05 PM ----------
Is there really anyone out there with a rooted stock lollipop ?
or you are all using customs ?
am seriously questionning the thing now
Why would you NOT follow the steps?
GO AGAIN from the start: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Licaon_Kter said:
Why would you NOT follow the steps?
GO AGAIN from the start: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Click to expand...
Click to collapse
I just can't, I don't have access to a window machine
Both giefroot and FlashTool are for Win/Mac/Linux.
Licaon_Kter said:
Both giefroot and FlashTool are for Win/Mac/Linux.
Click to expand...
Click to collapse
I appreciate your still trying to help me.
I do use flashtool and am able to root a Kitkat 23.0.A.2.93, so I don't see the point in using giefroot unless it could root a lollipop.
I have read thoroughly and downloaded pre-rooted lollipop stock roms from the link you provided.
Once under KK, rooted, with all settings set properly (debug, security, etc...), and all caches/dalvik/data wiped, the CMW recovery just don't flash those lollipop roms. After just one sec, it says install completed but then the device still boot under KK.
TWRP doesn't even intall, so am wondering if this is even possible to get a TWRP on stock rom.
Have tried all of those with bootloader unlocked and locked, or a mix like unlocked first to be able to root a KK, then relock to flash a stock prerooted 5.1.1 (as stated in the post) but then I get a device that doesn't even boot.
Tried dualrecovery too, flash the zip, and nothing.
I suspect all of you guys have used some sort of .bat windows utility to get through this.
Once again, thanks for your help and patience.
ikho said:
I do use flashtool and am able to root a Kitkat 23.0.A.2.93, so I don't see the point in using giefroot unless it could root a lollipop.
Click to expand...
Click to collapse
The point is to go from the BEGINing _again_: Flash stock KK, giefroot, XZ, pre-rooted LP
I have done it in Linux w/ locked bootloader and stock ROM, hence my pointers.
XZDualrecovery has TWRP 2.8.7.0. But, do take note that you use Volume Down to enter PhilzTouch Recovery and Volume Up to enter TWRP.
Licaon_Kter said:
Both giefroot and FlashTool are for Win/Mac/Linux.
Click to expand...
Click to collapse
am sorry, can't find how to use giefroot on a mac.
read quite a few post of people saying that was not working for them.
Run the INSTALL.SH file in a console (just like they instruct you for the .BAT file for Windows), it detects OS and runs either adb for Linux or for Mac.
Well, like I said, it worked fine in Linux, I guess it should work on Mac, providing the device is detected ok beforehand and such. ( what does "adb devices" outputs with the phone connected ? )
Licaon_Kter said:
Run the INSTALL.SH file in a console (just like they instruct you for the .BAT file for Windows), it detects OS and runs either adb for Linux or for Mac.
Well, like I said, it worked fine in Linux, I guess it should work on Mac, providing the device is detected ok beforehand and such. ( what does "adb devices" outputs with the phone connected ? )
Click to expand...
Click to collapse
yaaay, houray it finally worked
big thanks man, you saved me $500 on that one !

How do I safely root and unlock bootloader on Marshmallow?

My device is European L04, currently running North Africa release (the earliest Marshmallow build uploaded) - L04_2016_0316_0900 (B820)
I'd like to unlock the bootloader and root my Honor 6. I've never done it (on this particular device), because I've read enough here to know it's slightly more risky than on other devices, especially when you plan to update the stock rom soon, so I preferred to wait until I have the last important update the device is likely to receive - Android 6.0.
What I want to know (some of the answers are in the topics which I listed below):
MultiTool - I've seen reports of bricks when using MultiTool with EMUI4/Marshmallow - why does it happen? My understanding is that MultiTool is a bundle of adb/fastboot and some recovery images for older Android versions, so my theory is that instead of using MultiTool, I should simply get the proper recovery for Marshmallow and flash it manually with fastboot, right?
unlocking bootloader, rooting, flashing recovery - I think I understand the process; in a nutshell: 'fastboot oem unlock X', 'fastboot flash recovery imagename.img', then flash the proper SU.zip in recovery. Where do I find the code, the Marshmallow recovery image, the SU.zip file?
will recovery backup in TWRP work without any problems?
what is the procedure to go back to stock completely after rooting? Unroot, (then wipe if it's needed?) so I am able to safely flash stock firmware again (since, from what I know, flashing stock on a rooted phone makes itself brick permanently, right? or is it just a soft-brick and it can be fixed?)
is there anything else I should know before proceeding?
What I found so far:
http://forum.xda-developers.com/showpost.php?p=66615082&postcount=502 - two recovery images, TWRP and another one (stock?) for the Marshmallow release
http://forum.xda-developers.com/honor-6/general/honor6-multi-tool-t2963060/page50 some rooting instructions for the L02 beta, see posts 494 and 498; no idea whether this is applicable to final Marshmallow or L04 at all
http://forum.xda-developers.com/honor-6/general/huawei-honor-6-plus-unlock-bootloader-id-t3357259 an app to get the unlock code, seems a bit shady to me though on the first glance
http://forum.xda-developers.com/honor-6/development/honor-6-rooting-method-t2962795 alternate methods for bootloader (through a website or by email), in case the app won't work; also, detailed instructions on unlocking and rooting
Basically, I need to know whether my procedure is more or less right before I proceed. I think the information is quite hard to find and the risks are quite high, so I'd like to make a promise - when I'm done rooting it and I know the correct process, I'm going to make a "Update to Marshmallow, unlock, root" how-to thread for all the people that will need it in the future.
Another two questions...
1. Where do I get proper SuperSU for Marshmallow? I get a boot loop (yeah, I know I have to wait and I did, but it's a pretty obvious bootloop from watching the logcat content, and nothing new happens...) after flashing http://download.chainfire.eu/supersu-stable (2.65).
2. I have unlocked my bootloader and installed TWRP, so recovery and fastboot are functional. I didn't make a backup before flashing the zip and now I'm in a bootloop. How do I restore working Marshmallow? I assume I can either beg somebody to upload a TWRP backup for my H60-L04, or somehow flash the stock over what I have now. Can I simply use manual update from SD? Can I somehow flash Marshmallow again with fastboot? I'm too scared of bricking my device right now so I guess I'll brace myself for a few days without a phone until somebody helps me :/
I just flashed the Marshmallow release I had before the bootloop (I used Huawei Update Extractor and flashed boot, cust, system and recovery with fastboot; then open up Huawei recovery and factory reset for good measure, I'm not sure it was even needed) and the device is working. I'll restore my stuff, install TWRP, make a backup then try out your ZIP. Thanks
edit: thanks again - your zip works indeed. So after the initial hurdles, now I've got working root and a reasonable way of restoring in case I screw something up along the way.
Before making a new topic with the tutorial I have a few more questions.
First of all, why exactly we weren't supposed to update the rooted devices? I'm not currently interested in OTAs (it's pretty obvious that it needs a functional Huawei recovery, and you need to unroot cause an update can make a mess in a rooted system, making it bootloop for example), but can we flash extracted images with fastboot on rooted devices? Logically, we should be able to... How about sdcard update method?
Can we flash Marshmallow on Kitkat? (fastboot, sdcard, local update methods?) Or do we need to update to Lollipop along the way?
Can I flash stock roms in general (evenbetween different Android versions) by using fastboot with {boot, cust, recovery, system} images only? There's a lot of images that you can extract with Huawei Update Extractor - why there's so many if they're not needed?

Can only install official binaries message when flashing TWRP with Odin3 on A750FN U4

Hi, I'm having a lot of trouble trying to install a custom recovery. I had it working a couple months back but wanted to go with official again for dumb reasons and now i want to go back but it won't let me flash TWRP, i can't find a TWRP specifically for this version either. It's Android 10 with March security patch.
I hope someone can help me.
Thanks.
Please only create one thread per topic. I've removed the duplicate thread you started on this topic.
As far as your issue goes, I don't actually know much about Samsung specifics, but I believe that particular message means you haven't unlocked your bootloader. You'll need to do that before you can flash custom stuff.
Didgeridoohan said:
Please only create one thread per topic. I've removed the duplicate thread you started on this topic.
As far as your issue goes, I don't actually know much about Samsung specifics, but I believe that particular message means you haven't unlocked your bootloader. You'll need to do that before you can flash custom stuff.
Click to expand...
Click to collapse
actually Im also having the same problem even though i have unlocked my bootloader.. I had previously installed twrp and was trying custom os until one os (evolution x) for some bricked my phone and i had to flash the stock firmware and after that when i try to re-flash twrp through odin it is saying officail binary can be flashed.
Parthiv Shaji said:
actually Im also having the same problem even though i have unlocked my bootloader.. I had previously installed twrp and was trying custom os until one os (evolution x) for some bricked my phone and i had to flash the stock firmware and after that when i try to re-flash twrp through odin it is saying officail binary can be flashed.
Click to expand...
Click to collapse
Like I said, I'm not 100% on Samsung shenannigans, but have you checked to verify that you didn't lock the bootloader as a part of flashing the stock firmware?
OEM unlock toggle in Developer's Options
Hi ยก...
1. You have to reinstall via odin the latest version 9 (AP, BL...etc)
2. On reboot do the entire TWPR flashing process for android 9
The current problem is that there is no TWPR for android 10.
Cheers

Categories

Resources