Can't root OnePlus 2 - OnePlus 2 Q&A, Help & Troubleshooting

I've unlocked my bootloader and installed twrp, but when I want to flash the superSu zip, my device stucks in booting (bootloop). Is there any fix for that.

Hello.
Have you got a conflicting app? Possibly. If so try systemless?
Are you flashing official latest? Is your twrp the latest as well. Have you tried installing the app and seeing if it do it that way?
---------- Post added at 06:09 PM ---------- Previous post was at 06:07 PM ----------
Also not to call you a lier or daft. Are you sure! You've unlocked, have you gone into settings, unlocked oem ticked from there?
Im sorry I'm just covering all bases .

barni090 said:
I've unlocked my bootloader and installed twrp, but when I want to flash the superSu zip, my device stucks in booting (bootloop). Is there any fix for that.
Click to expand...
Click to collapse
Please be more clear. What version of TWRP is flashed. What ROM are you currently on? also what version of SuperSu did you flash?

So, I just found special modified zips for the One Plus 2 and it worked fine with them. I don't know what was wrong with the Orginal files, but I don't care.

Related

[Q] lost root access

Hi, forgive me if this is a stupid question but after flashing the latest t0lte nightly I have lost root access.
How has this happened?
I've been flashing CM nightlies for weeks but fancied a change after reading up about omnirom.
Im running an international note 2 LTE using cwm, rooted with Odin.
How do I get root access back? Is it case of me having to flash via Odin again?
More than grateful for any help here!
Cheers
cbryant said:
Hi, forgive me if this is a stupid question but after flashing the latest t0lte nightly I have lost root access.
How has this happened?
I've been flashing CM nightlies for weeks but fancied a change after reading up about omnirom.
Im running an international note 2 LTE using cwm, rooted with Odin.
How do I get root access back? Is it case of me having to flash via Odin again?
More than grateful for any help here!
Cheers
Click to expand...
Click to collapse
Flash SuperSU in recovery
We haven't yet integrated SuperSU into the package itself, and fixing that has been low priority since:
1) You can't flash Omni without a custom recovery
2) If you have a custom recovery that can flash Omni, you can flash SuperSU in recovery
3) Once you've flashed SuperSU, you can go to its Settings->Custom ROM and enable the backup script
Entropy512 said:
Flash SuperSU in recovery
We haven't yet integrated SuperSU into the package itself, and fixing that has been low priority since:
1) You can't flash Omni without a custom recovery
2) If you have a custom recovery that can flash Omni, you can flash SuperSU in recovery
3) Once you've flashed SuperSU, you can go to its Settings->Custom ROM and enable the backup script
Click to expand...
Click to collapse
Ah makes sense! is the latest superSU.zip listed on XDA? I can't locate it.
Thanks for your help!!!:good:
---------- Post added at 09:57 PM ---------- Previous post was at 09:20 PM ----------
Ok, i've pulled the superSU zip from chainfire and flashed it, however it is giving me a error message.
"There is no SU binary installed and superuser cannot install it. This is a problem!"
So I am unable to run step 3
Please help :crying:
Cheers again :good:
craigbryant said:
Ah makes sense! is the latest superSU.zip listed on XDA? I can't locate it.
Thanks for your help!!!:good:
---------- Post added at 09:57 PM ---------- Previous post was at 09:20 PM ----------
Ok, i've pulled the superSU zip from chainfire and flashed it, however it is giving me a error message.
"There is no SU binary installed and superuser cannot install it. This is a problem!"
So I am unable to run step 3
Please help :crying:
Cheers again :good:
Click to expand...
Click to collapse
That's strange - 1.80 works perfectly for me.
craigbryant said:
Ah makes sense! is the latest superSU.zip listed on XDA? I can't locate it.
Thanks for your help!!!:good:
---------- Post added at 09:57 PM ---------- Previous post was at 09:20 PM ----------
Ok, i've pulled the superSU zip from chainfire and flashed it, however it is giving me a error message.
"There is no SU binary installed and superuser cannot install it. This is a problem!"
So I am unable to run step 3
Please help :crying:
Cheers again :good:
Click to expand...
Click to collapse
Yesssssss.
Ok I got there in the end, grabbed Chainfire's latest SU from his G+ page (ver1.80)
Flashed this version and it allowed me to access settings and in turn run the backup script
Thank you so much for your help, much appreciated
I came right thankyou!
Sent from my GT-I9295 using XDA Premium 4 mobile app

N910F Stuck in boot sequence - HELP PLEASE!!!

Hi Guys, I came on here last week seeking advice as my Note4 has always been seriously laggy and slow. I tried resetting to factory etc however still the same. So the advice I got was to root and try another rom.
I successfully rooted my 910F device (confirmed by running test root app). I then downloaded a new rom to try out. In the instructions it suggested that I should be running the respective versions of Bootloader and Modem - which I downloaded from the links in the instructions. I installed both Bootloader and Modem via Odin successfully however now the device just loops in a boot up sequence. I copied the ROM files to the SD card however the when I try and load the rom from there it says that 'Update from external storage is disabled'.
I've downloaded a few other ROMs however they are zip files and I am guessing not designed to work with odin??
Hoping that there is a headache free way of recovering this.
Apologies in advance. I am an newbie with this stuff, really appreciate any help!!!!!
Thanks,
OB
You need custom recovery use TWRP.
Rom needs to be a zip DO NOT UNZIP IT.
From recovery flash the zip.
---------- Post added at 09:21 AM ---------- Previous post was at 09:19 AM ----------
Sorry for the short comment but I just typed a big guide and this useless ****ty xda app said I don't have permission to post. Message to xda fix ur **** useless developers. This app has been buggy as hell since day one.
Zionator said:
You need custom recovery use TWRP.
Rom needs to be a zip DO NOT UNZIP IT.
From recovery flash the zip.
---------- Post added at 09:21 AM ---------- Previous post was at 09:19 AM ----------
Sorry for the short comment but I just typed a big guide and this useless ****ty xda app said I don't have permission to post. Message to xda fix ur **** useless developers. This app has been buggy as hell since day one.
Click to expand...
Click to collapse
Really appreciate the reply.
The modem and Bootloader have already been loaded. So to be totally clear, I need to download an app called TWRP and load the ROM file (ZIP) with that right?
Thanks a bunch, really appreciate the help.
Bests,
OB
To add, the phone is not booting up (stuck in the boot up sequence) so I cant download and install any apps on it? Is TWRP a PC app?
Thanks,
OB
Nope, TWRP is not an App. It's a Recovery. You will find it in the development section. It's an img which you flash via ODIN. After that, you shut down the Phone and reboot via holding vol up + Home + Power. It will Boot you into the TWRP Recovery. from there you can then Install the Roms. They are provided as Zip. Don't Unzip them. Just select the zip to be installed via TWRP.

Got stuck trying to root, just want to return to stock/factory settings.

I'm new so please forgive me and my ignorance through all of this. I had a great root experience with my old LG G3, so when I got my Axon 7 (A2017U) I thought I'd try to root it too. I tried to follow DrakenFX's guide (http://forum.xda-developers.com/axon-7/development/wip-axon-7-root-bootloader-unlokced-t3441204) but I bit off more than I could chew. I got to the point where I had TWRP up, but this is where I think things started to fall apart. I was confused by the instructions and in a haste I continued anyway. In TWRP I went to Wipe>Format Data typed in yes like TWRP said and boom, I had no idea what happened. Rebooting only got a screen that said "Type in your password" but my passcode I had on the phone before it bricked didn't work. So by now I start panicking a bit. I thought I made a mistake earlier so I went back and tried to reinstall TWRP by putting the phone into EDL. The phone got stuck that way for a while, but I now I have it in TWRP. Right now, I just want to get back to safe stock android.
I'm 200% sure I messed with something I wasn't supposed to and I believe that is the system image(?)which Draken also linked (http://forum.xda-developers.com/showpost.php?p=68248798&postcount=53). I'm downloading it as I type. I'm going to do my best to leave my phone just like it is right now, in TWRP, and wait for more advice on this before I do anything else.. What I'm curious about is where did I go wrong and what do I need to do to get my phone working again, preferably without returning it? Thank you for any advice you have to offer.
Update: It's worth noting I didn't know to enable OEM Unlocking when I was in stock android. Dumb move I know. I'm new here.
What software version are u on?
xiong77 said:
What software version are u on?
Click to expand...
Click to collapse
As far as I know I (was) on Android 6.0 A2017U B29. TWRP version 3.0.2-0
Get DrakenFX b29 mergeboot stack and b29 stock system and flash it then u should be OK. I did this too.
xiong77 said:
Get DrakenFX b29 mergeboot stack and b29 stock system and flash it then u should be OK. I did this too.
Click to expand...
Click to collapse
I tried, but the downloads take extremely long and are unreliable for me. I was downloading the stock system file at around 14 kbps and it eventually failed. Any other suggestions?
Wipe cache dalvik data and system reboot, ignore error message and reboot
---------- Post added at 06:54 AM ---------- Previous post was at 06:53 AM ----------
Try through ur computer
---------- Post added at 06:57 AM ---------- Previous post was at 06:54 AM ----------
Try go back to twrp and wipe like the op said
xiong77 said:
Wipe cache dalvik data and system reboot, ignore error message and reboot
---------- Post added at 06:54 AM ---------- Previous post was at 06:53 AM ----------
Try through ur computer
---------- Post added at 06:57 AM ---------- Previous post was at 06:54 AM ----------
Try go back to twrp and wipe like the op said
Click to expand...
Click to collapse
I've done the wipes multiple times. It's mostly the downloads I'm having trouble with. How and where do you get them? The links I found were dead or had a slow speed.
video_dewd said:
I've done the wipes multiple times. It's mostly the downloads I'm having trouble with. How and where do you get them? The links I found were dead or had a slow speed.
Click to expand...
Click to collapse
Did you save the recovery backup? If you did then use the axon7root.exe to flash the stock recovery. Then download the stock B20 from ZTE.
tabletalker7 said:
Did you save the recovery backup? If you did then use the axon7root.exe to flash the stock recovery. Then download the stock B20 from ZTE.
Click to expand...
Click to collapse
I've been able to find some recovery images that I found on other threads. The thing is, when I try to flash them on TWRP, I get an error about "/dev/block/sde14" being read-only.
video_dewd said:
I've been able to find some recovery images that I found on other threads. The thing is, when I try to flash them on TWRP, I get an error about "/dev/block/sde14" being read-only.
Click to expand...
Click to collapse
no no no no ..................... put phone in EDL mode. Copy the stock image into the folder with the axon7root.exe file you used to flash TWRP. Make sure the stock file is named recovery.img (or whatever the TWRP file is named in that folder, it has been a long time since I did this). Then use the axon7root.exe program the exact same way you did before. It will flash the stock recovery. Then in stock recovery you can flash the B20 from ZTE
tabletalker7 said:
no no no no ..................... put phone in EDL mode. Copy the stock image into the folder with the axon7root.exe file you used to flash TWRP. Make sure the stock file is named recovery.img (or whatever the TWRP file is named in that folder, it has been a long time since I did this). Then use the axon7root.exe program the exact same way you did before. It will flash the stock recovery. Then in stock recovery you can flash the B20 from ZTE
Click to expand...
Click to collapse
Ok, I will try this.
Update: I got the stock recovery back, but now I'm lost as to how to flash the stock b20 from zte. Thank you for all your help so far though.
video_dewd said:
Ok, I will try this.
Click to expand...
Click to collapse
got stock recovery working?
tabletalker7 said:
got stock recovery working?
Click to expand...
Click to collapse
Yes, I'm in the process of getting the update from sdcard feature working.
Update: Trying to use the update.zip file or unpacking it into the sdcard hasn't worked. Trying to use adb sideload returns "Cannot read 'update.zip'"
video_dewd said:
Yes, I'm in the process of getting the update from sdcard feature working.
Click to expand...
Click to collapse
ok - download it from zte. Put it on your SD card. In recovery select update from SD card. Be warned it will work but it is slow. Also note that while I will not say the bootloader unlock doesn't work on B29, I can say it worked flawlessly on B20. If you want unlocked I recommend doing so on B20.
tabletalker7 said:
ok - download it from zte. Put it on your SD card. In recovery select update from SD card. Be warned it will work but it is slow. Also note that while I will not say the bootloader unlock doesn't work on B29, I can say it worked flawlessly on B20. If you want unlocked I recommend doing so on B20.
Click to expand...
Click to collapse
I have the zip but it says, "Sorry,you can't sdcard upgrade".
video_dewd said:
I have the zip but it says, "Sorry,you can't sdcard upgrade".
Click to expand...
Click to collapse
try using adb sideload
---------- Post added at 07:48 AM ---------- Previous post was at 07:45 AM ----------
also people reportd sucess on the z-communities by placing the B20 on the internal sd card (phone storage)
tabletalker7 said:
try using adb sideload
---------- Post added at 07:48 AM ---------- Previous post was at 07:45 AM ----------
also people reportd sucess on the z-communities by placing the B20 on the internal sd card (phone storage)
Click to expand...
Click to collapse
I tried that. It won't accept the zip file and it's unclear which file to sideload. Would you happen to know? This is what files are in the unpacked zip. https://gyazo.com/c7546c3ed0dcb0972653eaeba42fcb40
video_dewd said:
I tried that. It won't accept the zip file and it's unclear which file to sideload. Would you happen to know? This is what files are in the unpacked zip. https://gyazo.com/c7546c3ed0dcb0972653eaeba42fcb40
Click to expand...
Click to collapse
Maybe - I'd have to download it to find out. If you can't get stock recovery to take it this post http://forum.xda-developers.com/showpost.php?p=69434328&postcount=17 gives you instructions on what lines to remove from the updater-script to make it flash in TWRP (I didn't have a problem making the stock B20 go in stock recovery, but I was unlocked at the time). You could reflash TWRP and try that.
Or just try this in TWRP http://forum.xda-developers.com/showpost.php?p=68873482&postcount=2
tabletalker7 said:
Maybe - I'd have to download it to find out. If you can't get stock recovery to take it this post http://forum.xda-developers.com/showpost.php?p=69434328&postcount=17 gives you instructions on what lines to remove from the updater-script to make it flash in TWRP (I didn't have a problem making the stock B20 go in stock recovery, but I was unlocked at the time). You could reflash TWRP and try that.
Or just try this in TWRP http://forum.xda-developers.com/showpost.php?p=68873482&postcount=2
Click to expand...
Click to collapse
I'm going to try the first option. The second option's link take horrendously long to download.
Update: Trying to flash from TWRP results in error "Could not find 'META-INF/com/google/android/update-binary' which makes no sense since update binary is exactly where it should be.
Further Update: It seems that the problem might have been that when I compressed "update.zip" to fix "updater-script" it changed to file path by adding the title of the folder "update" to the beginning. I think that messed with the path giving the the meta-inf error.
video_dewd said:
I'm going to try the first option. The second option's link take horrendously long to download.
Update: Trying to flash from TWRP results in error "Could not find 'META-INF/com/google/android/update-binary' which makes no sense since update binary is exactly where it should be.
Click to expand...
Click to collapse
OK. How did you do that?
---------- Post added at 10:09 AM ---------- Previous post was at 09:54 AM ----------
Just suck it up and download the 2 b29 files. If it is that slow pick a different mirror

Help please, Root SM-G903W.

Wanting to root my phone. first phone ive ever rooted but I read a lot n know the dos n donts. But I cant seem to get it to work. I keep reading once you start the root with odin its supposed to have a red anroid icon on your phone. but instead it just stays at the blue downloading screen. and it always gets stuck at recovery.img I was hoping someone could help me root it, or find a guide for my phone. I would really appreciate it. My phone model is SM-G903W, Provider is Telus, its updated to Android 7.0.
Have you managed to root your device?
No sadly.
But the phone no longer has a sim card. Got a new phone. So still wanting to root it but not sure if it can be or what to do since the isn't a provider
Adversity said:
Wanting to root my phone. first phone ive ever rooted but I read a lot n know the dos n donts. But I cant seem to get it to work. I keep reading once you start the root with odin its supposed to have a red anroid icon on your phone. but instead it just stays at the blue downloading screen. and it always gets stuck at recovery.img I was hoping someone could help me root it, or find a guide for my phone. I would really appreciate it. My phone model is SM-G903W, Provider is Telus, its updated to Android 7.0.
Click to expand...
Click to collapse
Use CF-Auto-Root
Flash in odin AP section
https://download.chainfire.eu/953/C...-Auto-Root-s5neoltecan-s5neoltevl-smg903w.zip
Or
Flash a custom rom & then flash magisk
Adversity said:
But the phone no longer has a sim card. Got a new phone. So still wanting to root it but not sure if it can be or what to do since the isn't a provider
Click to expand...
Click to collapse
Ok. I've asked the forum in another thread but no one has replied. I don't understand. We can't be the only two people who own this phone, running 7.0, who want to root the device...
I think I will roolback and flash 6.0. Looks like there is a lot of support and threads showing how to root from 6.0.
---------- Post added at 03:01 PM ---------- Previous post was at 02:59 PM ----------
Adversity said:
But the phone no longer has a sim card. Got a new phone. So still wanting to root it but not sure if it can be or what to do since the isn't a provider
Click to expand...
Click to collapse
Ok. I've asked the forum in another thread but no one has replied. I don't understand. We can't be the only two people who own this phone, running 7.0, who want to root the device...
I think I will rollback and flash 6.0. Looks like there is a lot of support and threads showing how to root from 6.0.
Iamoasis said:
Ok. I've asked the forum in another thread but no one has replied. I don't understand. We can't be the only two people who own this phone, running 7.0, who want to root the device...
I think I will roolback and flash 6.0. Looks like there is a lot of support and threads showing how to root from 6.0.
---------- Post added at 03:01 PM ---------- Previous post was at 02:59 PM ----------
Ok. I've asked the forum in another thread but no one has replied. I don't understand. We can't be the only two people who own this phone, running 7.0, who want to root the device...
I think I will rollback and flash 6.0. Looks like there is a lot of support and threads showing how to root from 6.0.
Click to expand...
Click to collapse
See my above post
Also make sure you have enabled usb debugging in dev options
Also look for enable oem unlock & if you see it enable it
And also disable verify apps by adb if you see that too
TheFixItMan said:
See my above post
Also make sure you have enabled usb debugging in dev options
Also look for enable oem unlock & if you see it enable it
And also disable verify apps by adb if you see that too
Click to expand...
Click to collapse
Ok thank you. I downloaded the cf auto root from the link you provided. I enabled debugging and oem, I disabled "verify apps by USB" not adb.
I'll give it a go...
---------- Post added at 03:21 PM ---------- Previous post was at 03:14 PM ----------
Iamoasis said:
Ok thank you. I downloaded the cf auto root from the link you provided. I enabled debugging and oem, I disabled "verify apps by USB" not adb.
I'll give it a go...
Click to expand...
Click to collapse
Well I flashed it using odin. It says "pass" in odin and took a while to boot, but I think it worked. How do I verify? Download an app? And can I flash TWRP? If so, which one?
Thank you for your help
---------- Post added at 03:27 PM ---------- Previous post was at 03:21 PM ----------
Iamoasis said:
Ok thank you. I downloaded the cf auto root from the link you provided. I enabled debugging and oem, I disabled "verify apps by USB" not adb.
I'll give it a go...
---------- Post added at 03:21 PM ---------- Previous post was at 03:14 PM ----------
Well I flashed it using odin. It says "pass" in odin and took a while to boot, but I think it worked. How do I verify? Download an app? And can I flash TWRP? If so, which one?
Thank you for your help
Click to expand...
Click to collapse
I see SuperSU installed so it worked. Thank you.
Do you know which TWRP I can install now?
Iamoasis said:
Ok thank you. I downloaded the cf auto root from the link you provided. I enabled debugging and oem, I disabled "verify apps by USB" not adb.
I'll give it a go...
---------- Post added at 03:21 PM ---------- Previous post was at 03:14 PM ----------
Well I flashed it using odin. It says "pass" in odin and took a while to boot, but I think it worked. How do I verify? Download an app? And can I flash TWRP? If so, which one?
Thank you for your help
---------- Post added at 03:27 PM ---------- Previous post was at 03:21 PM ----------
I see SuperSU installed so it worked. Thank you.
Do you know which TWRP I can install now?
Click to expand...
Click to collapse
I'd guess it would be the following for g903w s5 neo lte
https://dl.twrp.me/s5neolte/twrp-3.2.3-0-s5neolte.img.tar.html
Put in AP section of odin
As soon as the device restarts hold power button Vol up & home button to enter recovery
If you miss the moment to enter recovery for the first time after flashing & your phone boots you will have to reflash the image until you enter twrp for the first time
TheFixItMan said:
I'd guess it would be the following for g903w s5 neo lte
https://dl.twrp.me/s5neolte/twrp-3.2.3-0-s5neolte.img.tar.html
Put in AP section of odin
As soon as the device restarts hold power button Vol up & home button to enter recovery
If you miss the moment to enter recovery for the first time after flashing & your phone boots you will have to reflash the image until you enter twrp for the first time
Click to expand...
Click to collapse
I managed to get TWRP installed. I tried to install Lineage 15.1 as per this site:
https://www.cyanogenmods.org/forums...-for-galaxy-s5-neo-android-8-1-oreo-download/
and am now stuck in a loop. It installed successfully with no errors but will stay stuck on the Lineage loading screen then revert back to recovery.
Any ideas what may be causing this? Should I install 14.1?
Iamoasis said:
I managed to get TWRP installed. I tried to install Lineage 15.1 as per this site:
https://www.cyanogenmods.org/forums...-for-galaxy-s5-neo-android-8-1-oreo-download/
and am now stuck in a loop. It installed successfully with no errors but will stay stuck on the Lineage loading screen then revert back to recovery.
Any ideas what may be causing this? Should I install 14.1?
Click to expand...
Click to collapse
Correct process for flash rom
In twrp
Goto wipe
Advanced wipe
Wipe system data cache delvik/art cache
Install
Select rom zip
Install
Select gapps zip - use mind the gapps arm for lineage os 15. 1 http://downloads.codefi.re/jdcteam/javelinanddart/gapps
Optional install
Select root zip (use magisk)
Wipe delvik/art cache
Restart
If you didn't follow the above that's why it would bootloop
Hi, I'm wanting to root my s5 neo on 7.0 and like you, I'm also and finding it very difficult to find a guide that has a successful ending
I'm new to all this but I did notice that you tried to install lineage 15.1 for sm-g903F but your device is sm-g903w. Could that be your problem?
Have you successfully rooted your device yet?
To be honest I don't really want root, I just want to extract or atleast view all my saved wifi network passwords from the device.

Stock mod rom

bootloader will be locked????
if i install 060 stock rom through TWRP
twrp
and also one thing,
TWRP will be uninstalled ?? if i install 060 through TWRP
sharathcherry1699 said:
bootloader will be locked????
if i install 060 stock rom through TWRP
Click to expand...
Click to collapse
Nope.
But if you flash stock rom, device partition will get encrypted. :good:
So take backups before doing so cuz if the the encryption fails, you need to factory reset the phone.
---------- Post added at 06:21 PM ---------- Previous post was at 06:19 PM ----------
sharathcherry1699 said:
and also one thing,
TWRP will be uninstalled ?? if i install 060 through TWRP
Click to expand...
Click to collapse
Not observed this as, current firmware packages doesn't include recovery image file so twrp will not be overwritten i guess.

Categories

Resources