Trouble rooting my Pixel - Google Pixel Questions & Answers

I have tried TWRP (twrp.me/devices/googlepixel.html) and the Unified Android Toolkit (skipsoft.net/download/uat-v156/) to root the Pixel I bought directly from Google. With TWRP, I cannot see the .zip I downloaded (the phone is encrypted and /sdcard/* are all gibberish names; I'm never prompted for a decrypting password when booting for recovery) and with the Toolkit I end up in a reboot loop (I've tried twice with the same results).
I'm surprised that the Toolkit thinks my build is "Verizon" (NDE63X). I'm not sure if that matters.
Thoughts? Pointers? Diagnostics? TIA.

go get the new alpah2 of twrp.
---------- Post added at 01:51 PM ---------- Previous post was at 01:48 PM ----------
Save v4 root on sd. Save alpha 2 img on desktop, and .zip on sd on phone. fastboot img, enter pin or pattern, then flash alpha2 zip. restart in recovery, flash v4 root. Done.

computercarl said:
go get the new alpah2 of twrp.
---------- Post added at 01:51 PM ---------- Previous post was at 01:48 PM ----------
Save v4 root on sd. Save alpha 2 img on desktop, and .zip on sd on phone. fastboot img, enter pin or pattern, then flash alpha2 zip. restart in recovery, flash v4 root. Done.
Click to expand...
Click to collapse
Thanks. That gets me further. I put twrp-pixel-installer-sailfish-3.0.2-0-alpha2.zip and SR3-SuperSU-v2.78-SR3-20161103171345.zip on the SD card. I booted with twrp-3.0.2-0-alpha2-fastboot-sailfish.img and I could see the zips. I installed alpha2.zip, reboooted, installed SuperSU, rebooted. I don't see SuperSU in my app list. I'm missing something. I'm not sure what you mean by "v4 root".

ChrisNelsonPE said:
Thanks. That gets me further. I put twrp-pixel-installer-sailfish-3.0.2-0-alpha2.zip and SR3-SuperSU-v2.78-SR3-20161103171345.zip on the SD card. I booted with twrp-3.0.2-0-alpha2-fastboot-sailfish.img and I could see the zips. I installed alpha2.zip, reboooted, installed SuperSU, rebooted. I don't see SuperSU in my app list. I'm missing something. I'm not sure what you mean by "v4 root".
Click to expand...
Click to collapse
Since you have to temp boot twrp, I just use adb sideload to flash the twrp and SuperSU zips.
I reflash stock boot img
Boot into twrp from fast boot
Sideload twrp zip
Reboot recovery
Sideload supersu sr4 zip

GeekMcLeod said:
Since you have to temp boot twrp, I just use adb sideload to flash the twrp and SuperSU zips.
...
Sideload supersu sr4 zip
Click to expand...
Click to collapse
I found download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip. Trying that shortly.

ChrisNelsonPE said:
I found download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip. Trying that shortly.
Click to expand...
Click to collapse
Just let me know if you need any help. I'd happily help you get your phone rooted.

GeekMcLeod said:
Just let me know if you need any help. I'd happily help you get your phone rooted.
Click to expand...
Click to collapse
SU4 did it for me.
And a shout out to the Helium app for moving my data, even without root. Best $5 I spent this year!

ChrisNelsonPE said:
SU4 did it for me.
And a shout out to the Helium app for moving my data, even without root. Best $5 I spent this year!
Click to expand...
Click to collapse
I'm curious, I think I have ADB set up correctly but I have never had any luck I. Using it before ( mainly because of ADB language and commands to do what I want to do). Is there a guide that tells people like myself what to type and where to put files? Man that would be nice .

quinejh said:
I'm curious, I think I have ADB set up correctly but I have never had any luck I. Using it before ( mainly because of ADB language and commands to do what I want to do). Is there a guide that tells people like myself what to type and where to put files? Man that would be nice .
Click to expand...
Click to collapse
I highly recommend that if you're going to be doing stuff like this to your phone you get familiar with ADB and fastboot otherwise you're just asking for trouble. Each of the threads on custom recovery and root have the links and instructions including commands, read everything twice since you're new to this and I mean everything.

Related

Problem help!!!!!!!!

i cant install no roms every rom i put in stay stuck at boot screen doesnt freeze just hangs on boot what can i do???????:crying::crying::crying:
crimedave1987 said:
i cant install no roms every rom i put in stay stuck at boot screen doesnt freeze just hangs on boot what can i do???????:crying::crying::crying:
Click to expand...
Click to collapse
are you s-on or s-off?
mattlowry said:
are you s-on or s-off?
Click to expand...
Click to collapse
s-on
crimedave1987 said:
i cant install no roms every rom i put in stay stuck at boot screen doesnt freeze just hangs on boot what can i do???????:crying::crying::crying:
Click to expand...
Click to collapse
Need more info. What ROM.....S-on, S-Off......what recovery......you know. As much of a description of what you're working with as you can think of. How are you flashing, what had you done right before this happened if anything, etc., etc......
WeekendsR2Short said:
Need more info. What ROM.....S-on, S-Off......what recovery......you know. As much of a description of what you're working with as you can think of. How are you flashing, what had you done right before this happened if anything, etc., etc......
Click to expand...
Click to collapse
i was trying to install rubix senceless 4.0 , cyanogen mod 9 , bulletproof 1.1 and i have cwm recovery 5.5.0.4 and im just flashing all thru cwm Recovery it will install okay then once i reboot bulletproof rom will hang on the t-mobile mytouch 4g slide other roms like rubix and cyanogen will hang at the boot animation screen prob i did something wrong cause when i wanted to install a new fresh rom i thought formatting everything wont damage the phone but here is what i format
on cwm-based recovery5.5.0.4
wipe data/factory reset - passed but with an error E:format_volume: make_extf4fs failed on /dev/block/mmcblk1p2
wipe cache partition - passed
advanced/wipe dalvik cache wiped - passed
wipe battery stats - passed fix permissions - passed
This is why I have cwm v4.0.0.9
Sent from my myTouch 4G Slide using xda premium
K7Cobb said:
This is why I have cwm v4.0.0.9
Sent from my myTouch 4G Slide using xda premium
Click to expand...
Click to collapse
ok whyy?????
will this recovery fix my problem?
crimedave1987 said:
i cant install no roms every rom i put in stay stuck at boot screen doesnt freeze just hangs on boot what can i do???????:crying::crying::crying:
Click to expand...
Click to collapse
damn this long no response is telling me i damaged my phone
crimedave1987 said:
ok whyy?????
will this recovery fix my problem?
Click to expand...
Click to collapse
Have you by any chance tried out CWM 6.0 and decided to go back to 5.5.0.4? Did you extract the "boot.img" file from the ROM & fastboot flash boot boot.img thru ADB AFTER you flashed your ROM.zip file since you are S-On?
---------- Post added at 08:22 AM ---------- Previous post was at 08:17 AM ----------
K7Cobb said:
This is why I have cwm v4.0.0.9
Sent from my myTouch 4G Slide using xda premium
Click to expand...
Click to collapse
You won't be too happy with 4.0.0.9 if you ever let your phone go COMPLETLY dead. It will brick it.
WeekendsR2Short said:
Have you by any chance tried out CWM 6.0 and decided to go back to 5.5.0.4? Did you extract the "boot.img" file from the ROM & fastboot flash boot boot.img thru ADB AFTER you flashed your ROM.zip file since you are S-On?
---------- Post added at 08:22 AM ---------- Previous post was at 08:17 AM ----------
You won't be too happy with 4.0.0.9 if you ever let your phone go COMPLETLY dead. It will brick it.
Click to expand...
Click to collapse
well im using the aio toolkit by hansoon
and the latest cwm is 5.0.2.7 for mt4gs
crimedave1987 said:
well im using the aio toolkit by hansoon
and the latest cwm is 5.0.2.7 for mt4gs
Click to expand...
Click to collapse
Hasoon's toolkit is for unlocking, installing CWM & superuser if my memory serves me though. You can flash your ROMs thu recovery (CWM) but with S-On you will have to extract the "boot.img" file and flash it seperately thru ADB because HBoot will stop an unsigned file it sees as a Radio from flashing if S-On.
There ARE a couple of other versions of CWM....5.5.0.4 & 6.0.0.0. (6.0 has some REAL issues though and has bricked several phones so IF you notice it....don't USE it.)
This will explain it much better to you...... http://forum.xda-developers.com/showthread.php?t=1508556
is there anything i can do to fix this problem cause i really need the phone
okay just now i flashed cwm ver 5.0.2.7 and before when i had it i had the option (mounts and storage menu)
i formatted the cache/data/sd-ext/system is that what i did wrong?
crimedave1987 said:
is there anything i can do to fix this problem cause i really need the phone
okay just now i flashed cwm ver 5.0.2.7 and before when i had it i had the option (mounts and storage menu)
i formatted the cache/data/sd-ext/system is that what i did wrong?
Click to expand...
Click to collapse
If you flashed your ROM and then the boot image after you did that it shouldn't be a problem. Did you read the post above yours and answer those question though? Did you check the link I provided and understand fully what it was talking about? That is VERY important.
WeekendsR2Short said:
If you flashed your ROM and then the boot image after you did that it shouldn't be a problem. Did you read the post above yours and answer those question though? Did you check the link I provided and understand fully what it was talking about? That is VERY important.
Click to expand...
Click to collapse
can you explain step by step cause its not giving me details
i extracted just the boot.img from the rom put it in a new folder then copied the rom.zip file to the same new folder im not doing the command prompt right? please help sorry im a noob
crimedave1987 said:
can you explain step by step cause its not giving me details
i extracted just the boot.img from the rom put it in a new folder then copied the rom.zip file to the same new folder im not doing the command prompt right? please help sorry im a noob
Click to expand...
Click to collapse
do you have adb and fastboot setup?
http://forum.xda-developers.com/showthread.php?t=928370 - adb and fastboot the easy way
mattlowry said:
do you have adb and fastboot setup?
Click to expand...
Click to collapse
i dont think so
WeekendsR2Short said:
This will explain it much better to you...... http://forum.xda-developers.com/showthread.php?t=1508556
Click to expand...
Click to collapse
this is the step by step instructions
---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------
crimedave1987 said:
i dont think so
Click to expand...
Click to collapse
if you dont you need to do this ASAP because when you are on you have to fastboot .img files to make it work im not too familiar as i am s-off. follow my first link to set up adb and fastboot then go to the link weekend posted. (which is stickied in the development section).
Move your ROM.zip file to the root directory of your phone first. Then put the boot.img file in the root directory of your computer since it's already in the windows path. that's " C:\ " Since you already have Hasoon's toolkit installed we'll use that instead of putting you thru the ADB installation right now for time & simplicity's sake.
Go to Windows Explorer & navigate to the folder you have his toolkit in and copy the name of the folder down EXACTLY. Then you can pull up your command prompt window again. When it initiates it will say C:\ sumpthin....sumpthin...sumpthin. From there type CD\ and it will "change directory" back to C:\ THEN you can type cd\ "whatever you named the folder that has Hasoon's toolkit in it".
That will take you to that folder just like explorer will do. Just let it sit there for a second.
On your phone in Recovery you wipe user data/ factory reset 3 times then you can....
Wipe cache 3 times and toggle down to "Advanced"
That will take you to another screen where you will see "Dalvik Cache"
Wipe that 3 times as well.
Then hit "Go back" & return to the previous screen & select "install zip from SD card"
Once complete leave your phone sitting & still plugged in to the usb
NOW....go back to your computer and type....
reboot bootloader
fastboot flash boot boot.img
fastboot reboot
Once your phone reboots, leave it alone for 5 minutes to let everything settle in and you should be "good to go".
WeekendsR2Short said:
Move your ROM.zip file to the root directory of your phone first. Then put the boot.img file in the root directory of your computer since it's already in the windows path. that's " C:\ " Since you already have Hasoon's toolkit installed we'll use that instead of putting you thru the ADB installation right now for time & simplicity's sake.
QUOTE]
the method for adb i posted is quick and easy. unzip to c: drive and you are done
Click to expand...
Click to collapse
mattlowry said:
this is the step by step instructions
---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------
if you dont you need to do this ASAP because when you are on you have to fastboot .img files to make it work im not too familiar as i am s-off. follow my first link to set up adb and fastboot then go to the link weekend posted. (which is stickied in the development section).
Click to expand...
Click to collapse
If we can do it like this the first time it may keep him from going into sensory overload. LMAO!
---------- Post added at 09:48 AM ---------- Previous post was at 09:45 AM ----------
mattlowry said:
WeekendsR2Short said:
Move your ROM.zip file to the root directory of your phone first. Then put the boot.img file in the root directory of your computer since it's already in the windows path. that's " C:\ " Since you already have Hasoon's toolkit installed we'll use that instead of putting you thru the ADB installation right now for time & simplicity's sake.
QUOTE]
the method for adb i posted is quick and easy. unzip to c: drive and you are done
Click to expand...
Click to collapse
You're right. It IS very easy. Either way should work but sometimes my mind doesn't go down the easiest path.
Try Matt's way first CrimeDave......
---------- Post added at 10:10 AM ---------- Previous post was at 09:48 AM ----------
mattlowry said:
WeekendsR2Short said:
Move your ROM.zip file to the root directory of your phone first. Then put the boot.img file in the root directory of your computer since it's already in the windows path. that's " C:\ " Since you already have Hasoon's toolkit installed we'll use that instead of putting you thru the ADB installation right now for time & simplicity's sake.
QUOTE]
the method for adb i posted is quick and easy. unzip to c: drive and you are done
Click to expand...
Click to collapse
Mattlowery....I COMPLETLY forgot about the shortcut tool for setting up ADB!! My bad.
CrimeDave, I defer to Matt's way completly. I just now followed his link. I was trying to get you around something you didn't HAVE to get around in the first place. OH well..... LOL
Sorry if I confused you.....
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Rooted Nexus 5 out of box, recently updated 4.4.2 OTA and now root is gone

When I open up superSU, it says:
There is no SU binary installed, and super SU cannot install it.
If you just upgraded to android 4.3, you need to manually re-root.
If I turn the Nexus on in recovery mode, it still says it's unlocked.
So at this point, is there anything I can do to restore root status without factory resetting? I made a backup with titanium backup but it was a while ago so I would rather not use it if there is another way.
I've read somewhere that rooting it should mean OTA updates should no longer work but somehow, it still went through and I updated it without thinking too much.
Download the supersu zip file and flash it in recovery.
http://download.chainfire.eu/371/SuperSU/UPDATE-SuperSU-v1.85.zip
This will throw me back into rooted mode while keeping my phone as is?
BruceHsiang said:
This will throw me back into rooted mode while keeping my phone as is?
Click to expand...
Click to collapse
this will update the binaries and restore root. no data will be lost or formatted. simply flash the zip in twrp or cwm.
xBeerdroiDx said:
this will update the binaries and restore root. no data will be lost or formatted. simply flash the zip in twrp or cwm.
Click to expand...
Click to collapse
I don't have twrp or cwm installed yet. Which one is generally simpler/easier to install/use?
So I installed goomanager and tried to install twrp, but it all goes back to the same problem which was that I am now not in root mode anymore.
Also what do you mean by flashing the zip? Which options am I supposed to use?
BruceHsiang said:
I don't have twrp or cwm installed yet. Which one is generally simpler/easier to install/use?
Click to expand...
Click to collapse
I've been using TWRP with no problem and it's been awhile since I've used CWM. I've never used a toolkit or flashify but with adb it would probably take a couple minutes max to flash either one.
---------- Post added at 10:49 PM ---------- Previous post was at 10:46 PM ----------
BruceHsiang said:
So I installed goomanager and tried to install twrp, but it all goes back to the same problem which was that I am now not in root mode anymore.
Also what do you mean by flashing the zip? Which options am I supposed to use?
Click to expand...
Click to collapse
Choose "Install" in recovery, with either TWRP or CWM is flashing the zip.
wantabe said:
I've been using TWRP with no problem and it's been awhile since I've used CWM. I've never used a toolkit or flashify but with adb it would probably take a couple minutes max to flash either one.
---------- Post added at 10:49 PM ---------- Previous post was at 10:46 PM ----------
Choose "Install" in recovery, with either TWRP or CWM is flashing the zip.
Click to expand...
Click to collapse
Problem is, I didn't install twrp when I had root access before, and now when I try to use it, it says I need root to use it.
Can I flash the zip using adb in the fastboot recovery menu?
What should I do from here?
BruceHsiang said:
Problem is, I didn't install twrp when I had root access before, and now when I try to use it, it says I need root to use it.
Can I flash the zip using adb in the fastboot recovery menu?
What should I do from here?
Click to expand...
Click to collapse
Sorry I've never done that. I guess you could adb push superuser.apk to the system but you still need the binary wherever that goes. Honestly I would just flash TWRP using adb and use TWRP to flash the SuperSu zip.
---------- Post added at 11:11 PM ---------- Previous post was at 11:10 PM ----------
Do you have adb already working?
Not yet, I just saw it as an option while reading around.
How would I install twrp with that image file?
All tutorials I've found said I needed root to install it in the first place.
BruceHsiang said:
Not yet, I just saw it as an option while reading around.
How would I install twrp with that image file?
All tutorials I've found said I needed root to install it in the first place.
Click to expand...
Click to collapse
No.You do not need root to install a custom recovery. You need an unlocked bootloader. How did you get root in the first place? You must have used a toolkit of some kind? Use it again? I've only every used adb so I can't help with any toolkits but lots of people use them, I guess!
Download the latest TWRP or CWM recovery. Put it in the same folder as your adb and fastboot files. Open a command prompt and type adb reboot bootloader(you have to make sure developer settings are enabled and USB debugging is checked). Then flash recovery using fastboot by typing fastboot flash recovery name_of_file.img and then you can flash the supersu zip file.
Sent from my Nexus 5 using Tapatalk
Exactly! I'm thinking he doesn't have adb setup yet.
---------- Post added at 11:36 PM ---------- Previous post was at 11:28 PM ----------
This is a pretty decent video on how to setup adb, not the newest video out there probably but it should work!
I used chainfires autocf root file from here
http://forum.xda-developers.com/showthread.php?t=2507211
and followed a youtube tutorial.
When I try adb devices it shows my serial number followed by sideload.
I've tried sideloading both twrp and the superSU.zip, and they fail to verify and the installation aborts =\

[Q] Not sure what to do. Stuck at HTC boot screen

Have a rooted Verizon HTC One M8. Didn't have a custom rom on it. I was just happy with not having ads, and being able to have access to files on the phone. The one problem that I kept having was it constantly telling me that I needed to do an update. I tried freezing Update files in Titanium Backup, but I would still see the notifications. Followed advice elsewhere on the internet, and tried to Force Close Download Manager. I then went into TWRP and wiped Cache and Dalvic Cache. Now, it's completely stuck on the white HTC screen on bootup. I can boot into Recovery, but I'm not sure what to do to get the phone back to working condition.
Please help! This is not the Sunday afternoon that I was envisioning today. I just wanted the update notifications to stop.
SmoovySmoov said:
Have a rooted Verizon HTC One M8. Didn't have a custom rom on it. I was just happy with not having ads, and being able to have access to files on the phone. The one problem that I kept having was it constantly telling me that I needed to do an update. I tried freezing Update files in Titanium Backup, but I would still see the notifications. Followed advice elsewhere on the internet, and tried to Force Close Download Manager. I then went into TWRP and wiped Cache and Dalvic Cache. Now, it's completely stuck on the white HTC screen on bootup. I can boot into Recovery, but I'm not sure what to do to get the phone back to working condition.
Please help! This is not the Sunday afternoon that I was envisioning today. I just wanted the update notifications to stop.
Click to expand...
Click to collapse
Were You temp rooted or did you s off?
dottat said:
Were You temp rooted or did you s off?
Click to expand...
Click to collapse
I am S-Off'd.
SmoovySmoov said:
I am S-Off'd.
Click to expand...
Click to collapse
I have two solutions. One that wipes and one that doesn't. The one that doesn't you will need to reflash twrp and a su.zip when done but it's easy. Sound ok?
Run the exe on the first post here. Make sure your phone is in fastboot mode.
http://forum.xda-developers.com/showthread.php?t=2883845
Official RUU 3.28.605.4 EXE/ZIP
dottat said:
I have two solutions. One that wipes and one that doesn't. The one that doesn't you will need to reflash twrp and a su.zip when done but it's easy. Sound ok?
Run the exe on the first post here. Make sure your phone is in fastboot mode.
http://forum.xda-developers.com/showthread.php?t=2883845
Official RUU 3.28.605.4 EXE/ZIP
Click to expand...
Click to collapse
So this would take me back to not rooted, or am I reading that incorrectly? If so, is there no way to stay rooted, just to reflash stock rom?
Yes. But you will still get nagged to update too. If you want to simply flash stock then flash this one via recovery. http://forum.xda-developers.com/showthread.php?t=2914922
[ROM][10/22/14] - Stock Rooted 4.4.4 - OTA 3.28.605.4 - W/P - BusyBox and Root - UP!
Rerooting the phone after updating using the exe is easy to do though
SmoovySmoov said:
So this would take me back to not rooted, or am I reading that incorrectly? If so, is there no way to stay rooted, just to reflash stock rom?
Click to expand...
Click to collapse
dottat said:
Yes. But you will still get nagged to update too. If you want to simply flash stock then flash this one via recovery. http://forum.xda-developers.com/showthread.php?t=2914922
[ROM][10/22/14] - Stock Rooted 4.4.4 - OTA 3.28.605.4 - W/P - BusyBox and Root - UP!
Rerooting the phone after updating using the exe is easy to do though
Click to expand...
Click to collapse
So, I have your original method downloading. Are you saying that after I flash that, and then reroot it (which I will need help with as well, since I used Sunshine before), I won't get nagged to do an update all the time?
SmoovySmoov said:
So, I have your original method downloading. Are you saying that after I flash that, and then reroot it (which I will need help with as well, since I used Sunshine before), I won't get nagged to do an update all the time?
Click to expand...
Click to collapse
You will be up to date. When you flash twrp You can grab the latest su.zip from here http://download.chainfire.eu/supersu
Wipe cache when flashing su.
Sunshine was an exploit to gain s off. Not root. S off means you can flash whatever you want. In this case, root is just an app you flash.
dottat said:
You will be up to date. When you flash twrp You can grab the latest su.zip from here http://download.chainfire.eu/supersu
Wipe cache when flashing su.
Sunshine was an exploit to gain s off. Not root. S off means you can flash whatever you want. In this case, root is just an app you flash.
Click to expand...
Click to collapse
Still have about 15 minutes on the download. Sorry for all the questions, but I want to make sure I get what all you are saying.
1) Once the download finishes, I run the program and follow the prompts. This will return me to stock, not rooted.
2) I then need to flash SuperSU using TWRP. This will get me rooted again? Where do I place the .zip on my external SD card? I've had problems with TWRP in that I never see anything that I can install when I go to the Install screen there. It just says TWRP. No files. I try to navigate to the external SD, but there's never anything there that I can install.
SmoovySmoov said:
Still have about 15 minutes on the download. Sorry for all the questions, but I want to make sure I get what all you are saying.
1) Once the download finishes, I run the program and follow the prompts. This will return me to stock, not rooted.
2) I then need to flash SuperSU using TWRP. This will get me rooted again? Where do I place the .zip on my external SD card? I've had problems with TWRP in that I never see anything that I can install when I go to the Install screen there. It just says TWRP. No files. I try to navigate to the external SD, but there's never anything there that I can install.
Click to expand...
Click to collapse
You have a working fastboot/adbsetup? You only need fastboot for this exercise to work.
---------- Post added at 03:19 PM ---------- Previous post was at 03:09 PM ----------
Here's a quick how to..for after you run that exe.
Take the su.zip to your internal storage.
Download twrp 2.8.1.0 here
http://techerrata.com/browse/twrp2/m8_wlv
Download fastboot/adb here
https://www.androidfilehost.com/?fid=23501681358559711
Extract the fastboot/adb zip. Copy the new twrp image into this new folder. Open the newly extracted folder and while holding the shift button right click on your mouse. Select open command prompt here.
Put phone in fastboot mode and connect to your pc. Run the following command to flash twrp.
Fastboot flash recovery openrecovery-twrp-2.8.1.0-m8_wlv.img
After this completes select boot loader on the phone screen. Then select recovery. Choose wipe and select advanced. Only select cache and wipe. When done hit the home button icon at the bottom. Then click install. Scroll down and find your su.zip and flash it. Reboot when done
dottat said:
You have a working fastboot/adbsetup? You only need fastboot for this exercise to work.
Click to expand...
Click to collapse
Not 100% on that one. Are you meaning having adb set up on my computer? If so, no. I tried once before, and couldn't figure out what I was doing. I achieved root by using Sunshine to S-Off, and then Klingo One Click Root Method.
SmoovySmoov said:
Not 100% on that one. Are you meaning having adb set up on my computer? If so, no. I tried once before, and couldn't figure out what I was doing. I achieved root by using Sunshine to S-Off, and then Klingo One Click Root Method.
Click to expand...
Click to collapse
Edited my last post
dottat said:
Edited my last post
Click to expand...
Click to collapse
It keeps saying that the Update Utility cannot see my phone.
SmoovySmoov said:
It keeps saying that the Update Utility cannot see my phone.
Click to expand...
Click to collapse
Can you install team viewer and pm me the details to screen share.
dottat said:
Can you install team viewer and pm me the details to screen share.
Click to expand...
Click to collapse
I wasn't in fastboot. It's updating now.
SmoovySmoov said:
I wasn't in fastboot. It's updating now.
Click to expand...
Click to collapse
? good
dottat said:
You have a working fastboot/adbsetup? You only need fastboot for this exercise to work.
---------- Post added at 03:19 PM ---------- Previous post was at 03:09 PM ----------
Here's a quick how to..for after you run that exe.
Take the su.zip to your internal storage.
Download twrp 2.8.1.0 here
http://techerrata.com/browse/twrp2/m8_wlv
Download fastboot/adb here
https://www.androidfilehost.com/?fid=23501681358559711
Extract the fastboot/adb zip. Copy the new twrp image into this new folder. Open the newly extracted folder and while holding the shift button right click on your mouse. Select open command prompt here.
Put phone in fastboot mode and connect to your pc. Run the following command to flash twrp.
Fastboot flash recovery openrecovery-twrp-2.8.1.0-m8_wlv.img
After this completes select boot loader on the phone screen. Then select recovery. Choose wipe and select advanced. Only select cache and wipe. When done hit the home button icon at the bottom. Then click install. Scroll down and find your su.zip and flash it. Reboot when done
Click to expand...
Click to collapse
Okay, so I completed the first part, and am back to not rooted. Not completely following your instructions above, though. I extracted the fastboot/adb file to my Desktop. It's just those files. There's no folder. Are you saying I just need to create a folder with them in it, and then add the twrp file to it?
SmoovySmoov said:
Okay, so I completed the first part, and am back to not rooted. Not completely following your instructions above, though. I extracted the fastboot/adb file to my Desktop. It's just those files. There's no folder. Are you saying I just need to create a folder with them in it, and then add the twrp file to it?
Click to expand...
Click to collapse
Unzip the rar file and then continue
Edit...You should have extracted to a folder not current directory. You want those files within a folder and then yes place the twrp in there too
Once you run through this all it will make better sense going forward.
dottat said:
Unzip the rar file and then continue
Edit...You should have extracted to a folder not current directory. You want those files within a folder and then yes place the twrp in there too
Once you run through this all it will make better sense going forward.
Click to expand...
Click to collapse
Feel like I'm close, but it's not 100% yet.
Got the phone back to operational. Went looking in apps, and SuperSU was not listed. Everything says that I'm rooted, but it was not there. Googled SuperSU apk, and followed a link to download it via Google Play. Redownloaded it, and when opened, it says "There is no SU binary installed, and SuperSU cannot install it." Also, the damn update that started this whole mess just popped up on the screen again.
SmoovySmoov said:
Feel like I'm close, but it's not 100% yet.
Got the phone back to operational. Went looking in apps, and SuperSU was not listed. Everything says that I'm rooted, but it was not there. Googled SuperSU apk, and followed a link to download it via Google Play. Redownloaded it, and when opened, it says "There is no SU binary installed, and SuperSU cannot install it." Also, the damn update that started this whole mess just popped up on the screen again.
Click to expand...
Click to collapse
Did you flash the su.zip in recovery?
Also, since you wiped cache the ota should be gone. Go to settings and chose app manager. Slide over to the right until you see all at the top. Hit the magnifying glass and search for htcdm. When it finds it click on it. Force stop and clear data for it.
Also, since you are running stock with just a few tweaks of your own, you may want to flash santods ota killer zip. It would prevent what started this off in the first place and remove the leftover prompt in the same shot.
https://www.androidfilehost.com/?fid=23329332407587434

Full Access ROOT

Hi there,
I tried to flash the patched boot.img and it bricked my phone, I managed to fix it by flashing the official boot.img. Now, I REALLY want full access root, so does someone know what needs to be altered in the boot.img for this to work? I want to alter my boot.img from my firmware.
Tigas001 said:
Hi there,
I tried to flash the patched boot.img and it bricked my phone, I managed to fix it by flashing the official boot.img. Now, I REALLY want full access root, so does someone know what needs to be altered in the boot.img for this to work? I want to alter my boot.img from my firmware.
Click to expand...
Click to collapse
Hey Tigas,
some users are able to get full root with this patched boot.img from this post:
raimondomartire said:
For kindly request in MAte 9 thread
https://www.androidfilehost.com/?fid=529152257862700042 ---> Patched Mate 9 image. Use only supersu.apk to see root (Don't flash any zip with supersu before)
https://www.androidfilehost.com/?fid=529152257862700052 ---> Clean mate 9 image to patch with my zip in first thread
Click to expand...
Click to collapse
Unfortunately, this method using SuperSU will break your fingerprint/PIN protection.
If you want to try, simply flash the patched img over the stock img (in TWRP) and install SuperSU from the Play store.
Tigas001 said:
Hi there,
[skipped]
Now, I REALLY want full access root...
Click to expand...
Click to collapse
Do you have option to restore your device in case of hardbrick? Obtaining full root on Mate 9 must be done with knowledge what are you doing and what tools are doing...
There is full root. Here are the steps for the regular Mate 9
1) Download TWRP 3.0.2-2 from here and fastboot flash it:
https://www.androidfilehost.com/?fid=745425885120697579
2) Boot into TWRP (volume up+power) Go to Wipe, Format Data, then type in yes. Then reboot recovery.
3) Flash my decrypted boot.img from here:
https://www.androidfilehost.com/?w=files&flid=152685
4) Flash Superuser from here:
https://www.androidfilehost.com/?fid=817550096634746024
5) Boot up fully. Go into the Play Store and download PHH Superuser. Or you can download the newer beta here. Install it like any other apk:
https://www.androidfilehost.com/?fid=673368273298931027
6) Congratulations, you no longer are encrypted, twrp will see your internal storage and data properly and you have full root. Now do a backup of your current rom in TWRP.
ajsmsg78 said:
There is full root. Here are the steps for the regular Mate 9
1) Download TWRP 3.0.2-2 from here and fastboot flash it:
https://www.androidfilehost.com/?fid=745425885120697579
2) Boot into TWRP (volume up+power) Go to Wipe, Format Data, then type in yes. Then reboot recovery.
3) Flash my decrypted boot.img from here:
https://www.androidfilehost.com/?w=files&flid=152685
4) Flash Superuser from here:
https://www.androidfilehost.com/?fid=817550096634746024
5) Boot up fully. Go into the Play Store and download PHH Superuser. Or you can download the newer beta here. Install it like any other apk:
https://www.androidfilehost.com/?fid=673368273298931027
6) Congratulations, you no longer are encrypted, twrp will see your internal storage and data properly and you have full root. Now do a backup of your current rom in TWRP.
Click to expand...
Click to collapse
Just to discuss.
Steps 2 and 3 can be merged, if using modified script changes.sh inside of superuser.zip.
Sure, flashing decrypted boot does not require clean stock boot, so we have right boot before installing superuser
But on other side there will be unexpected problems if we will use prepared boot.
I noticed that boot images are different by version. One has additional code to thermal sensors, other doesn't.
Hi also wanted to clarify that this boot image can be flashed on any regular mate 9 and any firmware. Or is it only for a specific version of mate 9 with the same firmware as the boot.img. Thanks for any advice
Sent from my MHA-L09 using XDA-Developers Legacy app
Hi just to update I followed the instructions by ajsmsp78 and gained full root and was able to install meefik busybox and also uninstall system apps which I couldn't do before. When I flashed the boot.img and superuser and booted up some of my apps were missing. I then flashed the public and hw zips for my region and most of them were back. I now have decrypted data and full root. Thanks a lot
Sent from my MHA-L09 using XDA-Developers Legacy app
ajsmsg78 said:
There is full root. Here are the steps for the regular Mate 9
1) Download TWRP 3.0.2-2 from here and fastboot flash it:
https://www.androidfilehost.com/?fid=745425885120697579
2) Boot into TWRP (volume up+power) Go to Wipe, Format Data, then type in yes. Then reboot recovery.
3) Flash my decrypted boot.img from here:
https://www.androidfilehost.com/?w=files&flid=152685
4) Flash Superuser from here:
https://www.androidfilehost.com/?fid=817550096634746024
5) Boot up fully. Go into the Play Store and download PHH Superuser. Or you can download the newer beta here. Install it like any other apk:
https://www.androidfilehost.com/?fid=673368273298931027
6) Congratulations, you no longer are encrypted, twrp will see your internal storage and data properly and you have full root. Now do a backup of your current rom in TWRP.
Click to expand...
Click to collapse
so is that means we can backup n restore thru twrp??
---------- Post added at 03:11 PM ---------- Previous post was at 03:11 PM ----------
JATCHUHAN said:
Hi just to update I followed the instructions by ajsmsp78 and gained full root and was able to install meefik busybox and also uninstall system apps which I couldn't do before. When I flashed the boot.img and superuser and booted up some of my apps were missing. I then flashed the public and hw zips for my region and most of them were back. I now have decrypted data and full root. Thanks a lot
Click to expand...
Click to collapse
did you tried to back up n restore in twrp?
If I flash that boot.img it will brick my phone, I've tried it and had to flash the original boot.img as of now I have the phh superuser root. The flash method I used was fastboot and yes, I have my bootloader unlocked. Been rooting android phones for 5 - 6 years
Do I really need to wipe the data partition? Will the fingerprint sensor remain working?
eddmecha said:
so is that means we can backup n restore thru twrp??
Click to expand...
Click to collapse
Yeah, you can. When you are formatting data, encryption is going off. Then need use modified boot to prevent encryption back.
---------- Post added at 06:00 PM ---------- Previous post was at 05:57 PM ----------
Tigas001 said:
Do I really need to wipe the data partition? Will the fingerprint sensor remain working?
Click to expand...
Click to collapse
Not really need. If you are interesting only root and writeable system, then don't format data.
Can't say anything about fingerprint sensor - I never used it.
I haven't tried backing up in twrp yet. Will do so later today. When I flashed the public and hw zips all my huawei apps came back but not the extra bloat like Facebook or todoist etc. Not to bothered as I don't need them. The only thing missing was the magazine lock wallpapers but I downloaded replacements from the theme app. All good now. Thanks
Sent from my MHA-L09 using XDA-Developers Legacy app
---------- Post added at 03:27 PM ---------- Previous post was at 03:17 PM ----------
Tigas001 said:
If I flash that boot.img it will brick my phone, I've tried it and had to flash the original boot.img as of now I have the phh superuser root. The flash method I used was fastboot and yes, I have my bootloader unlocked. Been rooting android phones for 5 - 6 years
Do I really need to wipe the data partition? Will the fingerprint sensor remain working?
Click to expand...
Click to collapse
I also flashed that boot.img previously and bricked my phone. However this time it worked, the only thing I did different was to wipe data in twrp. Don't know if this made any difference but it worked
Sent from my MHA-L09 using XDA-Developers Legacy app
---------- Post added at 03:35 PM ---------- Previous post was at 03:27 PM ----------
Sent from my MHA-L09 using XDA-Developers Legacy app
If you don't wipe data first to decrypt and then flssh the decrypted boot you'll probably end up in a bootloop. I'll have to make a decrypted boot thread with a few different boot images for those still on older systems (B112, B029 etc)
Thanks that would be great and very helpful to others
Sent from my MHA-L09 using XDA-Developers Legacy app
Someone state that one of the root methods broke the finger print scanner, does this method from @ajsmsg78 correct that issue? And is there any other side effects or "broke" items after the process?
phillymade said:
Someone state that one of the root methods broke the finger print scanner, does this method from @ajsmsg78 correct that issue? And is there any other side effects or "broke" items after the process?
Click to expand...
Click to collapse
Fingerprint works fine for me after rooting.
Have you tried android pay? TiBU works without issues? Any chance OTA updates could still work? Thanks.
For all models...?
Just to be clear; which model do you have? Would the boot.img work for all models? I have the AL00.
ajsmsg78 said:
There is full root. Here are the steps for the regular Mate 9
1) Download TWRP 3.0.2-2 from here and fastboot flash it:
https://www.androidfilehost.com/?fid=745425885120697579
2) Boot into TWRP (volume up+power) Go to Wipe, Format Data, then type in yes. Then reboot recovery.
3) Flash my decrypted boot.img from here:
https://www.androidfilehost.com/?w=files&flid=152685
4) Flash Superuser from here:
https://www.androidfilehost.com/?fid=817550096634746024
5) Boot up fully. Go into the Play Store and download PHH Superuser. Or you can download the newer beta here. Install it like any other apk:
https://www.androidfilehost.com/?fid=673368273298931027
6) Congratulations, you no longer are encrypted, twrp will see your internal storage and data properly and you have full root. Now do a backup of your current rom in TWRP.
Click to expand...
Click to collapse
xfive420 said:
Have you tried android pay? TiBU works without issues? Any chance OTA updates could still work? Thanks.
Click to expand...
Click to collapse
I don't use Android pay but the fingerprint scanner works fine so far for me after rooting. OTA should work fine but I need confirmation of it working by someone.
rbt001 said:
Just to be clear; which model do you have? Would the boot.img work for all models? I have the AL00.
Click to expand...
Click to collapse
I have the MHA-L29C567 US version. I made a boot image thread you can go to for a link to the different boot images.
5[Strogino] said:
Yeah, you can. When you are formatting data, encryption is going off. Then need use modified boot to prevent encryption back..
Click to expand...
Click to collapse
Are you saying that if you just flash superuser to gain root but do not decrypt, you can't do backups and restores with TiBU? And remove system apps? I was under the impression from another thread that decrypting was only necessary for TWRP data access, and would not prevent TiBU features from working.
deleted sorry wrong thread

Is it possible to root, install an apk as system then unroot?

I'm wondering if it's possible to root my phone, install an app that's required to be installed as system then unroot my phone back to normal?
I'm on the latest stable miui 8.5.2.0. I'd like to install the new pixel launcher and have Google now working which requires the APK to be installed as a system app.
Require unrooted phone for work/banking apps.
Easier way: copy the apk to /system/app/ in twrp. When you reboot, it should be installed as a system app.
theOriginalSuperl2 said:
Easier way: copy the apk to /system/app/ in twrp. When you reboot, it should be installed as a system app.
Click to expand...
Click to collapse
Oh cool I never knew about that way. But I don't have TWRP installed. It took me forever to get the vendor ROM off my Xiaomi phone and get back to stock.
Are you saying I should install TWRP and then unroot?
umirza85 said:
Oh cool I never knew about that way. But I don't have TWRP installed. It took me forever to get the vendor ROM off my Xiaomi phone and get back to stock.
Are you saying I should install TWRP and then unroot?
Click to expand...
Click to collapse
If you install TWRP, and copy the APK, then it won't root your phone at all. You can re-flash the stock recovery after, if you want.
theOriginalSuperl2 said:
If you install TWRP, and copy the APK, then it won't root your phone at all. You can re-flash the stock recovery after, if you want.
Click to expand...
Click to collapse
Oh thats so awesome! I believe I read somewhere that you need the stock recovery in order to do OTA updates, so that would definitely be preferable.
Thanks so much for taking the time to reply. One more question, is there a guide anywhere on how to put the stock recovery back onto the Mi 5s Plus?
umirza85 said:
Oh thats so awesome! I believe I read somewhere that you need the stock recovery in order to do OTA updates, so that would definitely be preferable.
Thanks so much for taking the time to reply. One more question, is there a guide anywhere on how to put the stock recovery back onto the Mi 5s Plus?
Click to expand...
Click to collapse
I don't think so, but all you need to do is flash a stock recovery image with fastboot. You have to find one online.
---------- Post added at 02:05 PM ---------- Previous post was at 01:57 PM ----------
theOriginalSuperl2 said:
I don't think so, but all you need to do is flash a stock recovery image with fastboot. You have to find one online.
Click to expand...
Click to collapse
Hang on. There's a much easier way, and I can't find the images online. I'll post how soon, have to go for now.
theOriginalSuperl2 said:
I don't think so, but all you need to do is flash a stock recovery image with fastboot. You have to find one online.
---------- Post added at 02:05 PM ---------- Previous post was at 01:57 PM ----------
Hang on. There's a much easier way, and I can't find the images online. I'll post how soon, have to go for now.
Click to expand...
Click to collapse
Thats great thanks! Appreciate it.
umirza85 said:
Thats great thanks! Appreciate it.
Click to expand...
Click to collapse
You actually don't need to flash TWRP at all.
1: Download TWRP on your computer.
2: Make sure you have the APK on your phone.
3: Run the command "fastboot boot twrp.img" in fastboot mode, where twrp.img is the TWRP filename. On Linux, this may need to be run as root. This command will temporarily boot TWRP, without flashing it.
4: Copy your APK to /system/app/
5: Reboot into android. The app should be installed.
I'm curious why you need to install an app as a system app?
theOriginalSuperl2 said:
You actually don't need to flash TWRP at all.
1: Download TWRP on your computer.
2: Make sure you have the APK on your phone.
3: Run the command "fastboot boot twrp.img" in fastboot mode, where twrp.img is the TWRP filename. On Linux, this may need to be run as root. This command will temporarily boot TWRP, without flashing it.
4: Copy your APK to /system/app/
5: Reboot into android. The app should be installed.
I'm curious why you need to install an app as a system app?
Click to expand...
Click to collapse
Whoa!! no way! That is so much easier and dont have to mess about with trying to but the phone back to stock after. Youre the best!
I want to use the new pixel 2 launcher, and for all the functionality to work (i.e google now integration) the app needs to be installed as a system app!
This was make it so simple to try it out without making any permanent changes. Thanks again!
umirza85 said:
Whoa!! no way! That is so much easier and dont have to mess about with trying to but the phone back to stock after. Youre the best!
I want to use the new pixel 2 launcher, and for all the functionality to work (i.e google now integration) the app needs to be installed as a system app!
This was make it so simple to try it out without making any permanent changes. Thanks again!
Click to expand...
Click to collapse
I guessed it was to use the pixel launcher. You could get a modded version instead of installing in the system, though.
I tried out the launcher too, but it was really buggy and laggy for me.
theOriginalSuperl2 said:
I guessed it was to use the pixel launcher. You could get a modded version instead of installing in the system, though.
I tried out the launcher too, but it was really buggy and laggy for me.
Click to expand...
Click to collapse
Yeah I've tried out the modded version and sucks that the google now functionality doesnt work, and as you said its quite buggy. Read in a few places that installing as system really helps, and with your method it seems we can try it out without switching my phone off of being completely stock (also forgot to mention that I need stock recovery to properly use the phone encryption feature as required by my company policy).

Categories

Resources