[ROOT][TUTORIAL] Easy Root & ADB Driver - Oppo N1

Due to concerns about the security of a previously shared program, I've pulled the link and info. Please use the following that was shared out from jcase (for some reason it won't let me mention).
If you need to root your stock ROM, please use the method that was posted by in this thread: http://forum.xda-developers.com/showthread.php?t=2539930
Here's the quote about the information there:
jcase said:
Thanks to Saurik and Giantpune for contributing (ie its based on their research)
Install apk, run apk wait 1 minute, install supersu app from market then uninstall with this command
adb uninstall com.qualcomm.privinit
Click to expand...
Click to collapse
Install the app that's attached (also from jcase's thread).
Run the apk, then wait a minute.
Go to the Play Store and download SuperSU.
Go into SuperSU and make sure you have root permissions. Test an app or two.
Remove the app from your phone when you get a chance.
Use the adb command "adb uninstall com.qualcomm.privinit" without the quotes.
You can use also remove it manually a few ways without adb.
--
You can also flash a ROM (even stock ROM) with TWRP and it will ask you if you want to root it. You can select to root with it and then you'll be fine without any need for installation yourself. When I used that method on my last install, I had to reboot my phone to get root to show up. It told me that I wasn't rooted on first boot. Just a simple reboot fixed the problem.
-------------------------------------------------------
Windows ADB Driver:
If you haven't installed ADB drivers for your N1, you can find them here:
https://dc381.4shared.com/download/AVr-h5Lt/adb_driver_windows.zip
Download, extract the folder, and then point your drivers to the android_winusb.inf. Then you should be setup for ADB.
** I will update this as needed. Please let me know if I forgot/missed anything, or if you have anything to add. This requires very little knowledge of Android, and you don't even need the Android SDK installed.
-------------------------------------------------------
Updates/changes:
2013.12.10 - Removed link and information to a program. Updated information reflect other method.
2014.01.30 - Changed link to Windows ADB driver. Oppo took their link down yesterday.

Good stuff and can't wait to get mine soon
Sent from my GT-I9505 using XDA Premium 4 mobile app

I don't trust this, some pics would be nice... kinguser is installed by kingoroot... a VERY suspicious software VERY suspicious

dank101 said:
I don't trust this, some pics would be nice... kinguser is installed by kingoroot... a VERY suspicious software VERY suspicious
Click to expand...
Click to collapse
Feel free to use other methods if you don't trust this one. I wouldn't share it if it was unsafe.
Also, with a custom recovery you could just flash a different ROM or SuperSU directly.
Sent from my N1 using Tapatalk

it just seems like kingoroot too much, main suspicion

jcase posted an apk that provides root without needing a computer that is probably much safer than this. The stock recovery provides a rooted shell out of the box. It would be easy to use that to install SuperSU or something. You can also flash & boot TWRP then hit reboot system and let TWRP install SuperSU & root your device. No need for installing a somewhat suspect root application like this.

Dees_Troy said:
jcase posted an apk that provides root without needing a computer that is probably much safer than this. The stock recovery provides a rooted shell out of the box. It would be easy to use that to install SuperSU or something. You can also flash & boot TWRP then hit reboot system and let TWRP install SuperSU & root your device. No need for installing a somewhat suspect root application like this.
Click to expand...
Click to collapse
I agree, and it seems to much like kingoroot

I've updated the OP and pulled the information about the suspicious app. I personally think that it's fine, but if there is suspicion, I would rather be safe and remove it.
I've used the information the @jcase posted instead. The adb drivers are still there though. :good:

I should have backed up the stock recovery image, I didn't. Anyone happen to have it?

I do have the stock recovery image, and I'm also about to post a how-to for installing CM on TWRP. :good:
Edit: The thread is here - http://forum.xda-developers.com/showthread.php?t=2553165

question show to root cm edition
Any suggestions on how to root n1 cm edition?

giuliano rigon said:
Any suggestions on how to root n1 cm edition?
Click to expand...
Click to collapse
Install or flash SuperSU?

How to root CyanogenMod edition? Oppown won't install at all...
Sent from my N1 using XDA Premium 4 mobile app

m2b999 said:
How to root CyanogenMod edition? Oppown won't install at all...
Sent from my N1 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Make sure the SuperSU file is already on your phone.
Flash TWRP Recovery through Fastboot (vol up + power) with
Code:
fastboot flash recovery your_recovery_filename.img
after it flashes reboot
Code:
fastboot reboot
from there turn off your phone and boot into recovery (vol down + power)
Navigate to where you put the SuperSU.zip file and flash it. Once you do that. Wipe Dalvik Cache and Cache before you reboot the phone into the OS.
After it loads up go to the SuperSU app. Locate the setting where it preserves CM root and uncheck that.
You should have root access now.
Oppown doesn't work on CM.

Espada04 said:
Make sure the SuperSU file is already on your phone.
Flash TWRP Recovery through Fastboot (vol up + power) with
Code:
fastboot flash recovery your_recovery_filename.img
after it flashes reboot
Code:
fastboot reboot
from there turn off your phone and boot into recovery (vol down + power)
Navigate to where you put the SuperSU.zip file and flash it. Once you do that. Wipe Dalvik Cache and Cache before you reboot the phone into the OS.
After it loads up go to the SuperSU app. Locate the setting where it preserves CM root and uncheck that.
You should have root access now.
Oppown doesn't work on CM.
Click to expand...
Click to collapse
Many thanks! Worked like a charm!

a better adb driver
m2b999 said:
Many thanks! Worked like a charm!
Click to expand...
Click to collapse
I am rooted OK.. On omnirom. But when i attach my phone my computer cannot see the file system.. Is there a better adb driver somewhere? Thanks giuliano rigon

giuliano rigon said:
I am rooted OK.. On omnirom. But when i attach my phone my computer cannot see the file system.. Is there a better adb driver somewhere?
Click to expand...
Click to collapse
The computer should only show the storage (onboard sdcard) part, or do you mean your adb isn't working properly?
Can you please explain what is showing what, and what you want to see?
Sent from my N1 using Tapatalk

i cannot see sdcard
Harfainx said:
The computer should only show the storage (onboard sdcard) part, or do you mean your adb isn't working properly?
Can you please explain what is showing what, and what you want to see?
Sent from my N1 using Tapatalk
Click to expand...
Click to collapse
I want to see files and copy them to my PC using the inner memory ad external storage.. I thought that adb might nave some problems.. I can flash the phone so communication is working.. Bit i do not see the fila system of the phone.. Help..

giuliano rigon said:
I want to see files and copy them to my PC using the inner memory ad external storage.. I thought that adb might nave some problems.. I can flash the phone so communication is working.. Bit i do not see the fila system of the phone.. Help..
Click to expand...
Click to collapse
Are you able to see the sdcard portion? That should be all that you can see when you mount the phone to your PC.

Harfainx said:
Are you able to see the sdcard portion? That should be all that you can see when you mount the phone to your PC.
Click to expand...
Click to collapse
So how do i access files on my phone.. I am copying them with dropbox bit it is getting stale

Related

Unlocked bootloader, installed superuser, but still no root

Hello to all,
I just tried to unlock and root my GSM Galaxy Nexus with OS X, following the terminal command line steps. I managed to unlock the bootloader, installed superuser, but when I try to access any root application it says that the phone is still not rooted. Could anyone help me please with some specific steps for OS X? I want to install CWM, but I don't know how to flash a ROM on the GN either...
Thank you in advance!
Did you flash the SU binary from CWM?
You will probably have to re-flash CWM through fastboot to get to it again unless you renamed install-recovery.sh
http://forum.xda-developers.com/showthread.php?t=1506536
hEaTLoE said:
Did you flash the SU binary from CWM?
You will probably have to re-flash CWM through fastboot to get to it again unless you renamed install-recovery.sh
http://forum.xda-developers.com/showthread.php?t=1506536
Click to expand...
Click to collapse
Thank you.
How do I flash CWM through fastboot? I downloaded filetransfer for mac, should I just copy the CWM ROM to the device? Or is there some specific folder I should put it in?
Buddhaa said:
Thank you.
How do I flash CWM through fastboot? I downloaded filetransfer for mac, should I just copy the CWM ROM to the device? Or is there some specific folder I should put it in?
Click to expand...
Click to collapse
fastboot flash recovery <name-of-recovery>.img
or if you have root access, you can download ROM manager from the play store
http://galaxynexusroot.com/galaxy-nexus-root/how-to-root-galaxy-nexus/ for a complete guide.
so pretty much what you want to do is,
1. download http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.2-maguro.img (MAGURO ONLY... GSM)
2. put it in the same folder as "fastboot-mac"
3. go into bootloader mode
4. fastboot-mac flash recovery <nameofrecovery>.img (I believe.. I could be wrong on this, I don't use mac but it should be somewhat similar)
zephiK said:
fastboot flash recovery <name-of-recovery>.img
or if you have root access, you can download ROM manager from the play store
http://galaxynexusroot.com/galaxy-nexus-root/how-to-root-galaxy-nexus/ for a complete guide.
so pretty much what you want to do is,
1. download http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.2-maguro.img (MAGURO ONLY... GSM)
2. put it in the same folder as "fastboot-mac"
3. go into bootloader mode
4. fastboot-mac flash recovery <nameofrecovery>.img (I believe.. I could be wrong on this, I don't use mac but it should be somewhat similar)
Click to expand...
Click to collapse
i'm pretty sure you have to put a ./ infront of fastboot... so it'd be like ./fastboot
Thank you very much!! I will try those steps, I am just Mister Paranoia when it comes to these things, so i want to make sure i am doing it right!
Sent from my Galaxy Nexus using xda premium
Buddhaa said:
Thank you very much!! I will try those steps, I am just Mister Paranoia when it comes to these things, so i want to make sure i am doing it right!
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
If you check the thread I posted above too, it's a guide on unlocking the bootloader and gaining root from a Mac. If you skip to the steps subsequent to locking the bootloader, you should be good to go!
I tried, and I have Superuser installed when I boot my phone, but when I try to access any root application, such as Root Explorer or Titanium backup, it doesn't allow me because it says the device is not rooted. There is no SU pop-up asking permissions either. I also downloaded CWM ROM MANAGER, tried to flash the recovery from there, but again it says it doesn't have permission.
Also half of the commands on terminal don't work...
Could anyone post a very easy step-by-step guide on how I could solve this please?
Thank you!
By the way, I am on 4.0.4
You are flashing a permanent recovery on your mac, right? fastboot flash recovery recovername.img Also, you put SU.zip on your SD card, then went into ClockworkMod recovery (volume up/down + power, choose recovery) and flashed SU.zip from your phone correct? It's still not working?
anton2009 said:
You are flashing a permanent recovery on your mac, right? fastboot flash recovery recovername.img Also, you put SU.zip on your SD card, then went into ClockworkMod recovery (volume up/down + power, choose recovery) and flashed SU.zip from your phone correct? It's still not working?
Click to expand...
Click to collapse
It did work! Thank you for the help!
Use my guide in my sig, sir.

[Q] HELP accidentally deleted os and now stuck in twrp

Hi Xda,
I am really freaking out now. I was going to do a backup but i accidentally deleted my os. I really need help guys, if anyone can tell me how to send a rom to my phone from the computer, that would be really helpful. My phone is stuck on twrp and i am stuck with no os. At least can anyone help me flash anything so i could boot up my phone at least with step by step instructions. PLEASE HELP ME I A FREAKING OUT!!!
Search the forum on how to sideload a ROM from the computer to your device. I believe that there are tons of guides out here..
Sent from my Nexus 4 using Tapatalk
speedsolve said:
Hi Xda,
I am really freaking out now. I was going to do a backup but i accidentally deleted my os. I really need help guys, if anyone can tell me how to send a rom to my phone from the computer, that would be really helpful. My phone is stuck on twrp and i am stuck with no os. At least can anyone help me flash anything so i could boot up my phone at least with step by step instructions. PLEASE HELP ME I A FREAKING OUT!!!
Click to expand...
Click to collapse
Hi,
Try this toolkit; toolkit will help you flash stock rom / unlock / boot
http://forum.xda-developers.com/showthread.php?t=1614827
Or else you can always try to flash stock images.
Download a ROM boot into recovery and adb push to /sdcard flash profit. Or you can also mount the SD card in twrp. You're really not in a sticky situation you should be able to fix this in little time.
Another easy way is if you have USB OTG cable(very cheap... Got mine for $4) you can throw a ROM&gapps zip onto flash drive and should be able to flash via recovery from that.
No need to freak out buddy, whether you wanna setup SDK on ya PC to easily use fastboot & adb to restore device or even push/sideload zips, or use toolkit, there is tons if options.
Did you wipe ALL /data im guessing? Instead of factory reset which leaves your /sdcard(aka /data/media) untouched? And also wiped /system?
I've been there. Haha many of us prolly have. You'll be up and running again in no time! Dont fret!
---------- Post added at 04:41 AM ---------- Previous post was at 04:40 AM ----------
Also, I'd be happy to help you via private messages with step by step if you absolutely need it. There are a few very well written stickies in this forum that can help also that have step by step in them
speedsolve said:
Hi Xda,
I am really freaking out now. I was going to do a backup but i accidentally deleted my os. I really need help guys, if anyone can tell me how to send a rom to my phone from the computer, that would be really helpful. My phone is stuck on twrp and i am stuck with no os. At least can anyone help me flash anything so i could boot up my phone at least with step by step instructions. PLEASE HELP ME I A FREAKING OUT!!!
Click to expand...
Click to collapse
install 4ext somehow
enable smartflash
flash rom
profit
Sent from my Galaxy Nexus using Tapatalk
fire_kid2003 said:
install 4ext somehow
enable smartflash
flash rom
profit
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Is 4ext even available for Gnex?
Why go thru that when you can just sideload right now?
i ran into this issue again as well. I have nandroids on my phone, but when I wiped data, the rom I was going to flash didn't get put on from my computer. I sideloaded through adb to /data/media/0 and it pushed fine, but still won't show up in my install section of TWRP, only the file manager in advanced. Anyone else have problems sideloading with TWRP?
t1.8matt said:
i ran into this issue again as well. I have nandroids on my phone, but when I wiped data, the rom I was going to flash didn't get put on from my computer. I sideloaded through adb to /data/media/0 and it pushed fine, but still won't show up in my install section of TWRP, only the file manager in advanced. Anyone else have problems sideloading with TWRP?
Click to expand...
Click to collapse
Why bother pushing it first? Isn't there a dedicated sideload option in the Advanced section of TWRP?
Sent from Google Nexus 4 @ CM11
AndyYan said:
Why bother pushing it first? Isn't there a dedicated sideload option in the Advanced section of TWRP?
Sent from Google Nexus 4 @ CM11
Click to expand...
Click to collapse
I never even noticed that. But how does the sideload work? When I click on it, it asks if I want to wipe either or both dalvik and cache, and says swipe to start sideload. after you swipe you just use adb sideload filename.zip and that's it?
t1.8matt said:
I never even noticed that. But how does the sideload work? When I click on it, it asks if I want to wipe either or both dalvik and cache, and says swipe to start sideload. after you swipe you just use adb sideload filename.zip and that's it?
Click to expand...
Click to collapse
Yup. First start the sideload on your phone, then connect it to a computer with working adb (should be easy). After that, open a command prompt window and execute "adb sideload your-rom-name-and-position.zip". Your ROM should then be pushed to the root of storage and flashed.
Sent from Google Nexus 4 @ CM11
ashclepdia said:
Another easy way is if you have USB OTG cable(very cheap... Got mine for $4) you can throw a ROM&gapps zip onto flash drive and should be able to flash via recovery from that.
Click to expand...
Click to collapse
This is so fool proof!:good:
ashclepdia said:
Is 4ext even available for Gnex?
Why go thru that when you can just sideload right now?
Click to expand...
Click to collapse
i think so
thats why i said install 4ext "somehow"

Can´t flash Stock Recovery

I´m on CM10.1 and I want to go back to the stock recovery. But when i use the adb. I said Device not found.
What can I do now? USB-Debugging is on and root acess is on Apps and ADB.
RabbidZ said:
I´m on CM10.1 and I want to go back to the stock recovery. But when i use the adb. I said Device not found.
What can I do now? USB-Debugging is on and root acess is on Apps and ADB.
Click to expand...
Click to collapse
1. Did you install drivers for your PC? If not, I think you should download HiSuite.
2. Make sure that you are connected as MTP, not Mass storage or "just charging"
Those are the only two reasons that I can think of to why adb wouldn't work.
I had that issue at first, too. If the issue doesn't go away after you follow above instructions, you might want to just try again, and wait for a window to pop up asking you for adb permissions.
Sent from my P6-U06 using XDA Premium 4 mobile app
I have solved it. In TWRP I Reboot the Bootloader and flashed the Stock recovery. Thanks.

[Q] Accidently Deleted Android and Don't Know How To Reflash It!

I had some problems with sound and couldn't get anything to fix it. So i rebooted the bootloader and was going to hard reset the device. But i accidently hit the wrong one and it deleted my OS. I don't know how to put android back on and my computer won't detect my device. My bootloader is unlocked and i have Team Win Recovery. What should i do?!
GabuscusMason said:
I had some problems with sound and couldn't get anything to fix it. So i rebooted the bootloader and was going to hard reset the device. But i accidently hit the wrong one and it deleted my OS. I don't know how to put android back on and my computer won't detect my device. My bootloader is unlocked and i have Team Win Recovery. What should i do?!
Click to expand...
Click to collapse
You will need to use the ADB sideload feature of TWRP to upload a rom to install. Research ADB on how to use it as well as the sideload feature of TWRP. You will need to connect the tablet to your PC for this,.
What he said ^^
Sent from my Nexus 7 Flo running CM 11 4.4.2 with ElementalX Kernel using XDA Premium 4 mobile app
NRT has and does everything you need:
http://forum.xda-developers.com/showthread.php?t=2389107
As long as you can get the ADB drivers installed on your PC, you can click Advanced Utilities "Launch," then "Flash Zips" and select a rom zip on your desktop to flash to the tablet.
And as for adb drivers, here is a link to a post by Koush with a driver install that should work without any issues.
https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH
DaveRichardson said:
NRT has and does everything you need:
http://forum.xda-developers.com/showthread.php?t=2389107
As long as you can get the ADB drivers installed on your PC, you can click Advanced Utilities "Launch," then "Flash Zips" and select a rom zip on your desktop to flash to the tablet.
Click to expand...
Click to collapse
I've done what the OP has done, and if I recall, getting the device into download mode will allow Wug's Toolbox to pick it up from there. I reinstalled the OEM rom, rerooted and reinstalled TWRP. You can download the OEM rom from the toolbox.

[Q] Couple root questions

1. If I root my HTC One M8 with the stock rom, will I still get updates, or will I have to flash a rom everytime there is an update from HTC?
2. How can I manage folders and write to my microSD card once I root?
3. Once I root and unlock my bootloader do I have to flash a rom or will the stock one be automatically flashed? I want to remain stock just like the phone came out of the box, and get all my updates from HTC automatically. I just want to have the H/K audio enhancements and I want to be able to move things to my SD card. Thats the only reason I want to root. Any help in doing this is greatly appreciated. In fact, if someone helps me out greatly with a step-by-step by rooting,keeping stock,getting H/K, being able to write to sd, I will pay them $5 via Paypal if thats allowed here....
Oh, and I have the Unlocked version.
bhags8 said:
1. If I root my HTC One M8 with the stock rom, will I still get updates, or will I have to flash a rom everytime there is an update from HTC?
Click to expand...
Click to collapse
You will get updates.
bhags8 said:
2. How can I manage folders and write to my microSD card once I root?
Click to expand...
Click to collapse
Any root file explorer app should be fine. I use Es file explorer.
bhags8 said:
3. Once I root and unlock my bootloader do I have to flash a rom or will the stock one be automatically flashed? I want to remain stock just like the phone came out of the box, and get all my updates from HTC automatically. I just want to have the H/K audio enhancements and I want to be able to move things to my SD card. Thats the only reason I want to root. Any help in doing this is greatly appreciated. In fact, if someone helps me out greatly with a step-by-step by rooting,keeping stock,getting H/K, being able to write to sd, I will pay them $5 via Paypal if thats allowed here....
Click to expand...
Click to collapse
This question makes me believe you don't have much understanding of what rooting is and that means if something goes wrong, you will not be able to fix it. This is a dangerous. I strongly suggest doing some reading and trying to understand before you mess around (no I don't care to know how many devices you've rooted in the past). This is the only warning I will give you.
Unlock bootloader at HTCdev.com
boot to TWRP or Philz Touch (fastboot boot customrecoveryfilename.img)
Make a nandroid backup and save for just in case.
Install supersu or superuser (custom recovery should offer to install root for you, I know TWRP does, not sure about Philz Touch)
Firewater S-OFF (optional, extra dangerous, HK may not work without it.)
Install HK
Install a file explorer app capable of requesting root.
Good luck. I suggest reading the guide in my signature.
So if I flash twrp or the other one I won't flash a rom after that to keep stock right? Then if HTC pushes an ota update I would still receive it?
Sent from my HTC One_M8 using XDA Premium 4 mobile app
bhags8 said:
So if I flash twrp or the other one I won't flash a rom after that to keep stock right? Then if HTC pushes an ota update I would still receive it?
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Correct. However, after you have everything like you want it, you will need to flash the original recovery back to your device. From what I understand, the OTA updates don't work with a custom recovery.
However, you should also consider that nearly every ROM in this forum will be updated within a few days anytime a new release is pushed. I can speak from personal experience that ARHD 5.5 is nearly identical to stock. It would only then require a weekly visit to his thread to see if a new release is out. Every other Sense based ROM here would be the same. Just mentioning that you do have alternatives.
Don't flash twrp. Just boot to it. Since you're not flashing roms, no point in flashing a custom recovery.
Sent from my HTC One_M8 using XDA Free mobile app
If I never flash a custom recovery do I still have to flash the original recovery?
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Oh and do I have to get S-OFF for H/K and write to SD access??
Sent from my HTC One_M8 using XDA Premium 4 mobile app
bhags8 said:
Oh and do I have to get S-OFF for H/K and write to SD access??
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You don't need it for Sd card access
You might need it for HK as I stated earlier. If you don't understand why you might need it. read the thread I linked.
exad said:
Since you're not flashing roms, no point in flashing a custom recovery.
Click to expand...
Click to collapse
Intend to root my M8 but keep it in stock for the time being. So just rooting and booting into recovery to take backup.
I am a newbie so trying out the advantages of rooting and taking it one step at a time. As such Custom Roms are not my priority right now. Flexibility to OTA update is a priority, for which i have learnt that other than installing some basic root apps like titanium, if i decide to flash custom roms/recovery, overclock/undervolting, then i loose that flexibility.
1. Is my understanding correct?
2. I wanted to play around with xposed framework. Will installing xposed framework work against easy OTA updates?
3. Anything else i shouldn't be doing if i want easy OTA? I say easy because i do know that OTA can be achieved in a round about way even after flashing roms and all other customizations.
anjaan said:
Intend to root my M8 but keep it in stock for the time being. So just rooting and booting into recovery to take backup.
I am a newbie so trying out the advantages of rooting and taking it one step at a time. As such Custom Roms are not my priority right now. Flexibility to OTA update is a priority, for which i have learnt that other than installing some basic root apps like titanium, if i decide to flash custom roms/recovery, overclock/undervolting, then i loose that flexibility.
1. Is my understanding correct?
2. I wanted to play around with xposed framework. Will installing xposed framework work against easy OTA updates?
3. Anything else i shouldn't be doing if i want easy OTA? I say easy because i do know that OTA can be achieved in a round about way even after flashing roms and all other customizations.
Click to expand...
Click to collapse
1. yes
2. should still be able to receive OTA
3. Don't remove system apps. Use titanium backup to freeze if you don't want them running so you can unfreeze if needbe.
Tip 1
Make nandroids when you make changes so you can revert back, you can always boot into custom recovery to make and/or restore nandroids.
Tip 2
Always know how to undo what you're doing. If you don't have an undo plan, don't do it.
Hello Exad,
I am new to HTC and want to do all the necessary research before I root my phone. I have read your everything explained guide which was very helpful. As with the other users on this thread I want to gain root access but I do not want to run custom ROMs and I still want to receive OTA updates to my phone. It looks like simply booting into a custom recovery such TWRP and flashing supersu will enable root access without changing the stock recovery.
Can you explain how I boot into TWRP recovery without actually flashing it? It seems like every thread or guide I find online instructs me to flash a custom recovery. Where do I place the TWRP recovery file on my computer in order to boot into recovery?
Thank you for helping out a newbie
SouthBayBruin said:
Can you explain how I boot into TWRP recovery without actually flashing it? It seems like every thread or guide I find online instructs me to flash a custom recovery. Where do I place the TWRP recovery file on my computer in order to boot into recovery?
Click to expand...
Click to collapse
so long as you have fastboot available on your pc, , connect the phone in fastboot mode, then on the pc open a command prompt in teh folder where the recovery is(**), and issue teh command
Fastboot boot custom-recovery-name.img
that should boot you without flashing it.
** browse to the folder where it is in regular explorer, then hold shift and right click, there will be an 'open command prompt here' option in teh menu.
samsamuel said:
so long as you have fastboot available on your pc, , connect the phone in fastboot mode, then on the pc open a command prompt in teh folder where the recovery is(**), and issue teh command
Fastboot boot custom-recovery-name.img
that should boot you without flashing it.
** browse to the folder where it is in regular explorer, then hold shift and right click, there will be an 'open command prompt here' option in teh menu.
Click to expand...
Click to collapse
Thank you for the help.
If I am following correctly here are some basic steps I should follow. In order to get fastboot on my computer should I download the entire Google SDK from the google developer website. This file will then include everything I need on my computer in terms of fastboot. I should also ensure that I have all of the latest HTC one (m8) drivers installed on my computer.
Then I should download the latest version of TWRP and ensure that the file name is matches custom-recovery-name.img
I should enter fastboot mode on my phone and connect it to my computer. Following the command prompt, I will boot into TWRP recovery. Once in TWRP recovery can I disconnect my phone from the computer? I should first create a nandroid backup (as a precaution) then I should install supersu. Once I install supersu I should have root accress.
I just need to reboot my phone and it should still have the stock recovery but now with root access.
Thank you for the help
sorry, can't answer the SDK stuff, I didn't have to install any SDK, BUT it may have still been installed from when I used to flash my HD2 a few yrs ago, , or perhaps the drivers are installed when you first connect the phone in fastboot mode to teh PC?
Whichever, I certainly don't currently have the SDK installed, so it's either leftovers, or it comes with the drivers. (EDIT - i also have myphoneexplorer installed, which installs certain drivers and stuff too,,,)
try it, put the phone in fastboot, , connect it to usb, let windows install whatever drivers it feels, then open a command prompt on teh PC and type
fastboot
if it says unknown command, then its not there, if it gives you lots of lines of help info, then fastboot is installed.
Assuming it works (or once you get it working) change custom-recovery-name to say whatever your recovery is called, and it will boot the phone allowing you to perform all the normal actions. Whether or not it will allow SU to install, I don't know, i've only had the phone 2 days, and all i did was HTC bootloader unlock, flash twrp, install su, flash viperrom and done.
samsamuel said:
sorry, can't answer the SDK stuff, I didn't have to install any SDK, BUT it may have still been installed from when I used to flash my HD2 a few yrs ago, , or perhaps the drivers are installed when you first connect the phone in fastboot mode to teh PC?
Whichever, I certainly don't currently have the SDK installed, so it's either leftovers, or it comes with the drivers. (EDIT - i also have myphoneexplorer installed, which installs certain drivers and stuff too,,,)
try it, put the phone in fastboot, , connect it to usb, let windows install whatever drivers it feels, then open a command prompt on teh PC and type
fastboot
if it says unknown command, then its not there, if it gives you lots of lines of help info, then fastboot is installed.
Assuming it works (or once you get it working) change custom-recovery-name to say whatever your recovery is called, and it will boot the phone allowing you to perform all the normal actions. Whether or not it will allow SU to install, I don't know, i've only had the phone 2 days, and all i did was HTC bootloader unlock, flash twrp, install su, flash viperrom and done.
Click to expand...
Click to collapse
Thank you for the advice. I have rooted one other phone in the past and I remember using adb commands, so my computer may already have fastboot enabled.
Since I do not want to flash the custom recovery and only boot into recovery will I need to keep the phone connected to my computer while in TWRP recovery?
why would you need to unhook it? play it safe and leave it connected.
I have been using this method to boot into TWRP to re-install SuperSU after each HTC ONE M8 update. However, with the update just released (Android 4.4.3), when I issue the command it just has the phone reboot. It does not bring up TWRP. Any ideas?

Categories

Resources