yashsingh1/xdaforums huggingface dataset:
[OnePlus X General] Exodusche:
If you have twrp installed why wouldn't you just flash SuperSU_2.65.zip. This forum is geared towards to those who dont have twrp or unlocked bootloader.
[OnePlus X General] Rajmoona:
I know, but after flashing OOS OTA the recovery also reverted back to the original recovery. Now TWRP doesn't work anymore in my device, I will have to flash it again using flashify.
[OnePlus X General] Exodusche:
Gotcha I didn't think of that.
[OnePlus X General] RogerBlack:
can i use this root method after installing the OTA?
[OnePlus X General] bobo71:
[MENTION=5350411]RogerBlack[/MENTION],

i have yesterday rerooted my phone with the described prozedere on the first post. I am now on 2.2.2 with root without lost data.:o

Regards.
[OnePlus X General] travinns:
I was following this guide and this happend: imgur(dot)com/a/GMtnh <- im not allowed to post outside links....

I have no clue what it al means. Can anybody help?
[OnePlus X General] follwersion:
Here is what happened to me:

When I executed the root.sh script and did a reboot, i experienced Black Screen Of Death / Softbrick -

Everything seems to work normal until the boot finished. Screen stays black and phone heats up.

Long press powerbutton shows shutdown/reboot/screenshot menue. but nothing else can be displayed.

Factory reset via recovery: no change!

What helps: install original image via recovery (downloaded from oneplus website and put to sd)

Tried this several times - always the same result.

after some research i found a newert version of the root.sh script:

http://www.w0lfdroid.com/2015/05/How-to-Remove-Replace-KingUser-KingRoot-with-SuperSU.html

difference is not big - just some chmod changes in the script...

Didn tried the new one yet - decided for me, that kingroot does enough for me (using titanium)

if i try - i will report
[OnePlus X General] RogerBlack:
does this root method work with http://downloads.oneplus.net/oneplus-x/oneplus_x_oxygenos_3.1.0_community_build/ ?
[OnePlus X General] adrimainmain:
This not working anymore with OOS 3.1.1 :(
[OnePlus X General] Exodusche:
You don't need this and it does work just need older version of KingRoot like 4.8. There is actually a SuperSU for OS3 you can flash with twrp V41.
[OnePlus X General] Chinu9:
Rooting by kingroot 4.8 is working however after replacing it with supersu, its unable to update binaries. What can be done?
[OnePlus X General] Exodusche:
If you decide to unlock your bootloader and flash twrp v41 on OOS3. Here is the modified SuperSU. Just rename and remove .rar .
[OnePlus X General] Chinu9:
But for twrp you need to unlock bl. This method doesnt require bl unlock. So its not working in marshmallow. Kingroot works but not getting full root as im supersu says no binary installed.
[OnePlus X General] zuppysurja:
Updated my Oneplus X to OOS 3.1.2 (Marshmallow). Tried to root with this method. But it was unsuccessful. I have rooted my phone using Kingroot v4.96. It does the work. But when i tried to replace the Kingroot app with Supersu using the steps mentioned in ths post, it shows succesfull and takes me to supersu app and ask me to update binary. As i have not unlocked bootloader, i click on update binaries "Normal" option rather than using twrp/cwm option. But it doesnt update binaries. And the supersu gives error stating that it was unable to install binaries. It also asks to reboot my phone and try again. Even tried that. But after boot kingroot app gets uninstalled by itself. And supersu binaries are not updated. So i have no root privileges. [MENTION=4497853]StraightEdgeKid[/MENTION] please if you can update this procedure to make it work in new oos 3.1.2. it would be of great help. I dont want to unlock my bootloader. This method of yours is the best to root without bl unlock.
[OnePlus X General] the Doctor:
So why do you need SuperSU? You can just use Kingroot's built-in access management.
[OnePlus X General] zuppysurja:
I use Xplore app to access my root folder. And i dont know why but kingroot does not grant access to root folder. Even i am unable to copy paste anything on the external storage. With SuperSu it was possible as it gave me access to root folder.

P.S. - There is an option in Xplore app "SuperUser mode, which allows changes in read-only folders" which works only with SuperSU. But it wasnt working with Kingroot when i tried to use it.

And i dont want to use any other explorer app for my android.:rolleyes:

Also i think SuperSu is much better than Kingroot in my opinion.;)
[OnePlus X General] the Doctor:
Do any other rooted apps work?
[OnePlus X General] zuppysurja:
Yes. But Xplore doesnt work.
[OnePlus X General] bobo71:
Hello,

i am have rooted my Phone OOS3.1.2 with Kingroot. But i can`t replace Kingroot with supersu. Has anyone a tip for me, to get supersu running?

Regards.
[OnePlus X General] zuppysurja:
I was using kingroot till now to get root access on oos 3.1.3, since it is unable to replace it with supersu by this method. But after few days of use i noticed that my oneplus started behaving weird, while watching videos or movies on mx player the screen lock feature on mx player unlocks itself after every half an hour without me even touching the screen. Second thing my screen wakes up randomly even when there is no notifications. (The proximity wake option under display in settings is always turned off) so i wonder why the screen lights up without any notification randomly. While playing games (mortal kombat x, swamp attack, 1010!), The game pauses itself randomly.

So i decided to go back to oos 2.2.3, and rooted using this method. Now i dnt face such issues. So i guess kingroot works in background creating problems. I dnt have any issues with supersu using the same version of apps that had problem with kingroot. So waiting for a better way to get supersu root privileges on oos3.1.3
[OnePlus X General] StraightEdgeKid:
[MENTION=6143932]Funk Wizard[/MENTION] If this is true, then we must wait till OnePlus guys release next OTA to check what exactly happens. Should I modify OP about this uncertainty?

[MENTION=4385555]CafeKampuchia[/MENTION] I came from Xperia family and we all know how hectic bootloader situation there is. But all of the devices were able to root without unlocking the bootloader. (Bootloader don't have to do anything with rooting is my thought, but [MENTION=5491189]xperiaz2[/MENTION] might give us clarity on this.). Personally I don't think OTA's will be affected due to system changes, unless we don't touch stock recovery, but Funk Wizard do have a point and we have to wait till next OTA to see what will happen. Till then one cannot say anything for sure.
[OnePlus X General] the Doctor:
You missed my point. I already know that you can root with Kingroot without unlocking the bootloader. That's the whole premise of your thread. But later on you say this in the post I quoted in my reply above:

I was asking how you could flash TWRP without unlocking the bootloader which you say isn't necessary. If people are going to flash TWRP, that requires unlocking the bootloader, so they should use my guide instead.

We already know that the OTA fails due to changes to the system partition, not just because of a custom recovery--it's been tried and it fails. (BTW, there is also a method to root in my thread without flashing TWRP, and it breaks OTAs too.) Before it installs the update, the OTA verifies the integrity of system first.

Unless kingroot makes no modification to system

, then it too will also cause the OTA to fail.
[OnePlus X General] StraightEdgeKid:
Yup, You are right, I missed what you're asking. Rooting does not require unlocked bootloader, however to install custom kernel or TWRP recovery, one must unlock it's bootloader. It's not possible to flash TWRP without unlocking bootloader.

My bad.
[OnePlus X General] the Doctor:
Can somebody confirm this for me:

The main attraction to Kingroot is rooting without having to unlock the bootloader which does an automatic factory reset. But it will break OTAs since it modifies system. Thus, to get OTAs back, system has to be restored somehow, which ultimately requires an unlocked bootloader anyway. Am I right on this?

---------- Post added at 03:08 PM ---------- Previous post was at 03:02 PM ----------

People should also be made aware of how Kingroot works:

Source: reddit

I'm personally not comfortable opening my device up to a Chinese server that looks for exploits in its firmware.
[OnePlus X General] StraightEdgeKid:
Nope, It does not do a factory reset while rooting with KingRoot. And it is yet to be tested if we can install OTAs with this method. It is uncertain.
[OnePlus X General] StraightEdgeKid:
Let me get few things straight one by one since there are too many questions targeted to this method.

1. I have posted this method so that people can root OPX without unlocking bootloader.

2. Using ADB via PC needs so much trouble like having drivers and so. Hence I found something pretty easy that will give easy access to root.

3. KingRoot does not make any changes in system, even when we root this device with it, the app is even not pushed to system.

4. If someone thinks that, kingroot can hack into device, do this method in offline after all downloads.

5. ANyways kingroot will be uninstalled as soon as SuperSu is pushed into the system.

6. Observing traffic from my mobile for a while and don't see any suspicious data packets that are imported or sent from my network.

Still anyone has doubts about KingRoot, stop rooting with this method.
[OnePlus X General] StraightEdgeKid:
About OTA updates, if user uninstalls root from SuperSU app, I think system modifications will come to end, and user can get OTAs, however it's just a guess, and will confirm it as soon as OTA is released.
[OnePlus X General] the Doctor:
It may be true that the Kingroot app isn't installed in system, but it undoubtedly makes changes to system, otherwise you'd never get SuperSU there. As the reddit article I quoted says,

So even after SuperSU is deleted from system, whatever changes Kingroot made would still be there. Therefore, this would not be true:

You'll know for sure when the next OTA comes out.

I believe that in its current state, the app contains a built-in database of exploits.
[OnePlus X General] StraightEdgeKid:
So you believe that everyone who discussing KingRoot here on XDA is idiot? SO many positive reviews about it? Have you even tried reading it?

Let's just skip this discussion, I have updated OP, whoever feels KingRoot is unsafe will not use this method.
[OnePlus X General] the Doctor:
Putting words in my mouth is completely unnecessary and unappreciated. You keep insisting that Kingroot doesn't modify system. Do a little research yourself and prove me wrong with some evidence if you're offended.

And yes, I did read the thread you posted in the OP, and found this:

Granted, for another device, but I think we can see where this is going...
[OnePlus X General] StraightEdgeKid:
Well, I put it in wrong words, apologies.
[OnePlus X General] the Doctor:
No worries. I'm over it.
[OnePlus X General] RoastPorkDinner:
Worked fine for me, thanks!
[OnePlus X General] StraightEdgeKid:
Great, you are Welcome...
[OnePlus X General] Doubleyou:
Would it be possible to upgrade the device OTA after rooting this way?

---------- Post added at 10:41 PM ---------- Previous post was at 10:30 PM ----------

I have been through the complete OP and now I'm sure it won't update. Now I want to know how can I unroot the device and after unrooting would I be able to get OTA?

---------- Post added at 10:43 PM ---------- Previous post was at 10:41 PM ----------

Also one noob question, can I flash Xposed frameworks without installing TWRP through flashify or something like that?
[OnePlus X General] the Doctor:
http://xdaforums.com/oneplus-x/general/ota-patch-003004201511031712-t3245185
[OnePlus X General] Doubleyou:
Thank you so much.

So, everytime there is an OTA update I have to flash this files first right?
[OnePlus X General] StraightEdgeKid:
Nope, If you go by the guide suggested by Cafe Kampuchia, and once complete whole process, you'll be fully back to stock, and unless you root again, you will be able to install OTAs, correct me [MENTION=4385555]CafeKampuchia[/MENTION].
[OnePlus X General] the Doctor:
As long as you don't re-root or flash a custom recovery, OTAs will work again.
[OnePlus X General] Doubleyou:
can we flash this files even if we unlocked the bootloader?
[OnePlus X General] StraightEdgeKid:
Yes, ofcourse you can, go ahead!
[OnePlus X General] Kenzo8:
OTA update FAILING

Hi everybody, works perfect!

But now i'm unable to install OTA update!

Is there a way to unroot?

Or install OTA on rooted OPX?

I'm running OXIGEN 2.1.0

Many thanks
[OnePlus X General] the Doctor:
This has been talked about a lot, so please read the thread. Simply unrooting won't help you. There is a guide in General for this.
[OnePlus X General] scrocchia:
Phone stuck on boot loop

Hi, I followed your guide and it worked, but when I unrooted the phone from the KingRoot app (uninstalling it) after the reboot the phone is stuck on boot loop. Can you explain me in an easy way how to get my phone back to stock conditions?
[OnePlus X General] StraightEdgeKid:
Can you provide more updates on it? I mean what really happened?

Moreover, NOW can you go in cwm? stock CWM?
[OnePlus X General] StraightEdgeKid:
If you can go to cwm then I suggest you to go back to stock with this procedure,

http://xdaforums.com/oneplus-x/general/ota-patch-003004201511031712-t3245185

You just don't need to flash stock recovery.

Install the system dump and then updates.

Let me know if you have any queries, here or PM me.
[OnePlus X General] scrocchia:
Guys, StraightEdgeKid helped me solving my problem. Follow these steps:

Download Full_System_dupm.zip and OTA Patch 003-004.zip.

When finished download completes, put these files to your memory card.

And install these files.

The process will be like this.

1. Boot the phone pressing Volume Down and Power button and select English

2. Select wipe data and cache

3. Select install from local->From SD -> Select full system dump.

4. when complete, reboot

5. Again go to stock recovery.

6. Select install from local->From SD -> Select OTA Patch 003-004.zip.

7. Thats it, REBOOT, you are back to stock, EVEN you can install OTAs without any problem.

Thank StraightEdgeKid for this!
[OnePlus X General] Kenzo8:
Sorry guys, I'm a little confused.

thanks for the answer, but I rooted with KINGROOT so I didn't install any custom recovery,TWRP or something else.

I just followed the post,installed KIGROOT and then SU via terminal.

I still have the stock recovery(the one with stars on background ) so, what I have to do to be ble to install OTA?

The previuos answer to my question, is for who have TWRP installed wich I don't.

Or maybe I'm missing something.

Thanks for helping a noob :D
[OnePlus X General] StraightEdgeKid:
Well then you have to install stock system dump and uodates files only from that post, with your stock recovery.
[OnePlus X General] Kenzo8:
Thanks man.

Last question I swear!

Will this erase my data and apps installed?
[OnePlus X General] StraightEdgeKid:
Yes, it will. Only if you decide to wipe data and cache. If you install these files without wiping data and cache, your apps will stay as it is. But I will recommend to wipe data and cache.

I think, for now stay with your system, don't need to do hurry to go back to stock rom,

And yes, ask as many questions as you want. Don't be ashamed. Keep XDAing.
[OnePlus X General] Kenzo8:
Thanks,

I woud get the OTA of the version 2.1.2 to install xposed to use grenify at its best.

Actualy xposed seems doesnt support this version.

Btw i think i will stay with this,for now.

Do you know when more or less the android 6 will be distributed on OPX?

Thank to you and this great comunity.
[OnePlus X General] StraightEdgeKid:
Android 6.0 Marshmallow, according to OnePlus X will be available soon. That can be anytime from now to February 16, I'm not sure about it. Xposed is working fine for our device, reported by some guy, as I read from OPX General thread.

You might want to check it out.
[OnePlus X General] thuybang:
Thanks bro. Works so well
[OnePlus X General] the Doctor:
You need to revise the OP to let people know clearly that OTAs will be broken if they root with Kingroot. This statement is not true:

This is not a guess. It's an established fact that what breaks the OTAs is any modification to the system partition.

When Kingroot roots the devices, it writes its apk to /system and its su binary to /system/xbin, thus breaking OTAs

just like Chainfire's SuperSU or any other method of rooting.

You need to stop disseminating false information and giving people the false hope that this method won't break OTAs. It will:

Also, I want you to remove all references to me and my thread from your OP and remove the text you borrowed from my post. You imply that my guide will break OTAs but yours won't. That’s both untrue and unfair.

Tks.
[OnePlus X General] StraightEdgeKid:
Done. Thanks.
[OnePlus X General] StraightEdgeKid:
Absolutely welcome mate.
[OnePlus X General] the Doctor:
Not done until this disinformation is removed:

When you root, it does push the app to system and it modifies system/xbin, breaking OTAs as Kenzo8 discovered.
[OnePlus X General] StraightEdgeKid:
Done.
[OnePlus X General] StraightEdgeKid:
I hope everyone kool with OP post now.
[OnePlus X General] Tuxaz:
Thanks for the guide. I think it worked, now I just only need to edit one system file, but can't save it...

The earpiece is too low on volume, I've found a way to increase it.
[OnePlus X General] StraightEdgeKid:
If you want to edit text file, or modify anything in /system, use ES File Explorer.
[OnePlus X General] ArmStrongDickPunch:
How does one unroot after using this method? Jw I'm still waiting on my one plus x to be delivered (should be today) and I plan to root but I'll unroot once the marshmallow update rolls out
[OnePlus X General] StraightEdgeKid:
Follow this URI, http://xdaforums.com/showthread.php?p=63746809

Download OnePlus X rom and flash it, so you'll be back to stock. (Don't wipe data and cache, if you don't want to lose your apps and data, I have tried this personally). That's the way you'll have stock rom and then install Marshmallow without any problem.

Uninstalling from SuperSU is not going to work.
[OnePlus X General] ArmStrongDickPunch:
Will that method work with stock recovery? And flashing the stock from gets ride of root from this method in this thread? (I have a feeling it should but better be safe and ask, BC I already spent an hour to set up my phone and I'd rather not unlock the bootloader of I can avoid wiping what I just spent an hour setting up)
[OnePlus X General] StraightEdgeKid:
Yes, don't follow whole process. Just download single OxygenOS_X_ROM.zip and flash it without wiping data and cache. Your setup will remain with all apps and data.
[OnePlus X General] ArmStrongDickPunch:
Oh OK figured as much but wanted to double check thanks, I'll probably root it in the next day or so just wanted to make sure there was an easy way to unroot without f***ing sh** up lol (especially since I've never rooted a phone without unlocking the bootloader minus my Verizon note 2 with safestrap)(especially since this phone is probably going to be the first android phone I don't unlock the bootloader or flash customs roms )
[OnePlus X General] StraightEdgeKid:
Yup, Even I don't want to unlock bootloader, unless there is good ROM. And in my opinion, this is the easiest way to root OPX.
[OnePlus X General] ArmStrongDickPunch:
OK cool also one last question as far as unroofing from this method, once I flash the oxygenOS_x_Rom.zip would I also flash ota patch 003-004.zip or would I just get the notification to install the ota from system? Thanks again

PS: once rooted how well does layer theme app work on this phone? BC that's probably the only reason I'm looking to root besides installing some cm apps or adblocker
[OnePlus X General] StraightEdgeKid:
You're right, you'll get notification and just update your phone from there.

Sorry mate, never used layers with this phone, so can't say anything, xposed is working great for many, so I guess this too will work without any problem.
[OnePlus X General] joaofoto:
so, since the new ota was release today, people like me that root the oneplusx using the method in this tread, how can we install the new ota?
[OnePlus X General] StraightEdgeKid:
Answer is few posts above, if you have read this thread. However let me just paste it again.

Follow this URI, http://xdaforums.com/showthread.php?p=63746809

Download OnePlus X rom and flash it, so you'll be back to stock. (Don't wipe data and cache, if you don't want to lose your apps and data, I have tried this personally). That's the way you'll have stock rom and then install Marshmallow without any problem.

Uninstalling from SuperSU is not going to work.

I have answered many queries regarding this, just look 1-2 pages back.
[OnePlus X General] joaofoto:
but how can i flash the oneplus x rom if i dont have twrp? probably i will start from the beginning and unlock the bootloader and install a new recovery, then install the xposed framework
[OnePlus X General] StraightEdgeKid:
Nope, you don't have to.

FLASHING ONEPLUS_X_ROM from given link does not need twrp. Stock recovery will do it, don't wipe cache and data too, so you'll have all apps and data as it. This method is confirmed earlier and worked for me too.

No need to unlock bootloader. Give it a try first.
[OnePlus X General] joaofoto:
thanks! i didnt know that the stock recovery was able to flash zips. so , and then, how can i root again? and its possible to install xposed framework from the stock recovery?
[OnePlus X General] StraightEdgeKid:
Well, you can root again with same method. I'm not sure about Xposed with stock recovery, you can try with Flashify though to install Xposed though.
[OnePlus X General] joaofoto:
thanks for the help [MENTION=4497853]StraightEdgeKid[/MENTION] :)
[OnePlus X General] jeffbits:
let me know if this worked, especially xposed framework!
[OnePlus X General] StraightEdgeKid:
[MENTION=2944090]joaofoto[/MENTION] Not really a big fan of Xposed, but still tried to dig about Flashify, and Unfortunately I found that flashify still needs a custom recovery to flash zips. Hence, Xposed can't be flashed through flashify. Oops...
[OnePlus X General] joaofoto:
sorry man, last night i join the dark side :P and i unlock the bootloader and install a custom recovery because i have read in the oneplus forum that in order to install my beloved xposed i had to have twrp.
[OnePlus X General] StraightEdgeKid:
Yup, that's how you'll install xposed. Nothing about sorry in that, even I'll be unlocking bootloader as soon as stable ROM arrives here.
[OnePlus X General] koen12333:
Kingroot deinstallation failure?

Hello All,

When going through this root process, after entering "sh /sdcard/mrw/root.sh" in the terminal I got certain errors, see the Terminal Log.

Terminal Log:

u0_a94@OnePlus:/ $ su

root@OnePlus:/ # sh /sdcard/mrw/root.sh

----------------------------------------------------

-------------- Made By: Mr.W0lf ---------------

-------- Thanks [MENTION=631273]Chainfire[/MENTION] for SuperSU ----

Failure [DELETE_FAILED_INTERNAL_ERROR]

Success

rm: /system/app/Kinguser.apk: No such file or directory

Failure [DELETE_FAILED_INTERNAL_ERROR]

rm: /data/data/com.kingroot.kinguser: No such file or direcotry

rm: /data/data/com.kingroot.master: No such file or directory

chattr: stat /system/bin/ddexe: No such file or directory

rm: /system/bin/ddexe: No such file or directory

pkg: /sdcard/mrw/superuser.apk

Success

chattr: stat /system/etc/install_recovery.sh: No such file or directory

rm: /system/app/kinguser: No such file or directory

rm: /data/data-lib/king: No such file or directory

root@OnePlus:/ #

Note that SuperSU 2.49 was installed.

It seems like no KingRoot file was deleted. However in the above rules once suddenly "Success" appears.

After doing a long search for KingRoots leftover files on my phone usig ES file explorer I only found one txt file on the sdcard.

Is this normal? Is the uninstall/install script having errors?

Kind regards, Koen