yashsingh1/xdaforums huggingface dataset:
[OnePlus X General] StraightEdgeKid:
Nope, after too many success responses, error are scripts are not possible.

Have you deleted Purity app before going to terminal? If yes, that uninstalls KingRoot too.

Most of the times, SuperSU gets installed but terminal couldn't open it, so check from app drawer.

Try to follow instruction as it is for one more time.
[OnePlus X General] koen12333:
I didn't allow purity to get root right at the first time. But of course the Kingroot App was already installed because it rooted my device.

After the script finished it seemed okey (no kingroot, supersu installed, i was able to update the binaries the 'Normal' way). But the Terminal log (by which I mean the on-screen text in the terminal app) worried me.
[OnePlus X General] StraightEdgeKid:
Well, You have SuperSU, uninstalled KingRoot and Purity then everything is ok. Relaxxx.:cyclops:
[OnePlus X General] koen12333:
Yes, ideed you eventually have to trust the publisher. I scanned my phone with six popular virusscanners after the root and only one reported the kingsoft root installer as potentially unwanted software. It seems kingroot roots many devices, for some it's the only option, people find different behaviour for different version of KingUser (or is it KingMaster) the root permissions app. And the app Purify is adware with same like functions as Greenify.
[OnePlus X General] StraightEdgeKid:
Yes, Purify is adware. You must uninstall it, if you have not.

Most of anti-virus detects root devices as unsecure ones, that's true. But you have to compromise somewhere. :good:
[OnePlus X General] Calvin2394:
OTAs?

Rooted using KingRoot (OxygenOS 2.1.2)

Did not install SuperSU yet.

1. Am I able to get firmware updates? (Update says no update available)

2. If not, can I unroot within KingRoot and then get the OTA, then KingRoot again?
[OnePlus X General] StraightEdgeKid:
http://xdaforums.com/showthread.php?p=64006657

Follow this link. Same thread.
[OnePlus X General] MrMathilassi:
If you do this, and then fully unroot (via SuperSU) when the latest OTA gets released, can you then install OTA's? Or does it need a stock recovery flash?
[OnePlus X General] the Doctor:
Maybe the OP needs to be clearer. This has been talked about a lot throughout the thread.

Rooting makes changes to the system partition, thus breaking OTAs regardless of which recovery you have, stock or TWRP. Unrooting won't help, nor will just flashing the stock recovery.

If you want OTAs back, you have to restore the system partition to it's pristine, unmodified condition. There is a thread in General by SpiritBreak3r to help with that.
[OnePlus X General] MrMathilassi:
Thanks for the help! Was wondering whether to root now or wait until more roms come out for this phone. This is the one thing stopping me from rooting yet!
[OnePlus X General] the Doctor:
If your goal is to flash custom ROMs, then you need to unlock the bootloader and make sure you have TWRP installed. This is not the root method for you.

BTW, if you root by unlocking the bootloader & flashing TWRP, you can backup the ROM in an unmodified state, root, and when the OTA comes out, restore the unmodified system image and get the OTA, re-root etc.
[OnePlus X General] MrMathilassi:
Ok. But if i unlock the bootloader, flash TWRP and then install SuperSu. Can i manually flash OTA's via TWRP? Sorry for asking so many questions. I'm kinda new to rooting and xda-developers in general:P
[OnePlus X General] the Doctor:
The key is getting the system partition back to a pristine state. You can either restore a backup in TWRP from before you rooted, or use SpiritBreak3r's tutorial to restore the system partition in TWRP.

But once that's done, you also have to flash the OTA with the stock recovery too.
[OnePlus X General] MrMathilassi:
Ok. Thanks a lot!:D
[OnePlus X General] bundysoat:
Thaaaaaanksss !!!!!!!!!!!! Take root easily !!!!!
[OnePlus X General] StraightEdgeKid:
OP thread updated with "how to install OTAs" section.
[OnePlus X General] krzaczek5:
the link doesn't work
[OnePlus X General] StraightEdgeKid:
Fixed, check now.
[OnePlus X General] the Doctor:
Just to confirm, you can do all this with an unlocked bootloader?
[OnePlus X General] StraightEdgeKid:
I'm not sure about it, as I have not unlocked my bootloader. Can you add your wise advise on this, so that I can add it in OP post? Never really thought about unlocked devices.
[OnePlus X General] Sundar1995:
I don't have to install TWRP to get back to Stock ROM right?

I can just use the stock recovery built into the phone to install zip stored in local.

Someone please confirm this.
[OnePlus X General] MrMathilassi:
In theory yes, but i don't know if you will get OTA's again. I don't think it will go back to pristine. Can not confirm as i have not tried myself.
[OnePlus X General] ArmStrongDickPunch:
I have another question (I probably know the answer but just need clarification) if I root with this method could I fast boot twrp make a backup of my stock rom and then unlock my bootloader that way I could restore my backup and have all my data? (If not no big deal it just sucks resetting all my accounts back up) thanks
[OnePlus X General] StraightEdgeKid:
You can't install TWRP unless you have unlocked bootloader. Backing up all imp data and unlocking bootloader will be good for you.
[OnePlus X General] ArmStrongDickPunch:
I know that but I was wondering if u could fastboot into twrp with a locked bootloader? BC u can boot into twrp without replacing the stock recovery just wasn't sure if its possible with a locked bootloader (and I figure unlocked is still required but figured I'd ask anyway lol (Not fastboot flash twrp BC I know that's not possible to do with a locked bootloader)
[OnePlus X General] StraightEdgeKid:
As simple as that, to install a custom kernel/recovery you must unlock bootloader.
[OnePlus X General] ArmStrongDickPunch:
Yea figured lol I love flashing custom roms and having root but I just hate resetting up my data and apps and accounts lol but thanks again
[OnePlus X General] StraightEdgeKid:
No prob mate, your Google account will sync everything, AGAIN. Happy flashing.
[OnePlus X General] Sundar1995:
Sorry if I am being a noob. I didn't understand the second point.

How do I flash the OnePlus X ROM without the TWRP installed or the bootloader unlocked??
[OnePlus X General] StraightEdgeKid:
Since it is stock ROM, stock recovery will allow its installation without any problem. No need of unlocked bootloader.
[OnePlus X General] Sundar1995:
Oxygen OS 2.1.3 Rooted successfully with Kingroot but once when I installed SuperSU and updated binary the phone got stuck in bootloop.

Switched off the phone by holding power button for 5 seconds and then restarted phone to make it work and it works fine with root access.

Thanks OP for this method because no stable ROMs out yet and didn't find the need to unlock bootloader or install TWRP.
[OnePlus X General] suffocater:
i ve flashed with kingroot before(another device),and i really liked how easy it is.(compared to the old school rooting procedures i was using before).

However,i could use some help/advice/clarification on this:

The easier way to return to stock(so that i can install OTA in the automated way that ota is supposed to be delivered),is to install TWRP and flash stock?

Cant it be done in any other way?
[OnePlus X General] StraightEdgeKid:
OP post clearly mentions how to install OTAs, but I can tell you that uninstalling SuperSU from app is not going to help. it will go back to pristine after uninstalling SuperSU. I have tried it.
[OnePlus X General] Sundar1995:
There was new update 2.1.3-x released today. I used the method posted by you [MENTION=4497853]StraightEdgeKid[/MENTION] to install the stock rom and updates. Install the new update that had come and rooted my phone again.

Thanks again
[OnePlus X General] aj7400:
Deleted
[OnePlus X General] ArmStrongDickPunch:
First try not to quote the whole op, try downloading the stock rom and flashing it via stock recovery then applying the ota again
[OnePlus X General] bundysoat:
I have problems to install new OTA 2.1.3X, how can I unroot and clean the system?

Enviado desde mi OnePlus X.
[OnePlus X General] ArmStrongDickPunch:
It's in the op, flash stock rom (no need to wipe data) then install the other ota's, then install the newest ota
[OnePlus X General] StraightEdgeKid:
Press power button + volume up, +, volume down together. It will switch off your device. Then normal power on. That's it.
[OnePlus X General] westside8:
The root was successful but I'm having trouble loading the super su to get rid of Kingroot

When I'm in terminal emulator, first line is

u0_a122@OnePlus:/ $

At which point I enter "su" as prompt from OP

Next line is

root@OnePlus:/ #

When I would enter "sh /sdcard/mrw/root.sh" as per OP, when I get the following message

"sh: /sdcard/mrw/root.sh: No such file or directory

127|root@OnePlus:/ #"

Thanks in advance
[OnePlus X General] fivanaj:
Do you happen to have a step-by-step on how to reverse the process in order to go back to stock?
[OnePlus X General] neilownz:
Back to stock? Why? This is xda ;)

Flash stock recovery and a full version of the stock rom.
[OnePlus X General] ArmStrongDickPunch:
It's in the op
[OnePlus X General] StraightEdgeKid:
You forgot to extract folder "mrw"? Or extracted at wrong place?
[OnePlus X General] Ch@rly:
Root without problem :)

But to install the latest patch-fix released, if I understand well :

- With stock recovery, flash the stock version

- Install the patch-fix

- Root with this method

Right ?
[OnePlus X General] StraightEdgeKid:
Download OnePlusOxygen_14_OTA_006_all_201511301941.zip and flash it. YOu'll have everything latest.
[OnePlus X General] StraightEdgeKid:
Updated How To Install OTA's after rooting with this method... Now need to flash just one file to be on latest update.
[OnePlus X General] Diego98:
I have the same problem but if I press power button + volume up + volume down when I power on the phone it boots into recovery
[OnePlus X General] StraightEdgeKid:
ANd from recovery if you select reboot? WHat happens then?
[OnePlus X General] Diego98:
The phone shows the OnePlus logo for a few seconds and then it boots into recovery again
[OnePlus X General] StraightEdgeKid:
That's weird. can you flash OnePlusOxygen_14_OTA_006_all_201511301941.zip . It contains latest build OxygenOS 2.1.3-X. Or you can wipe dalvik cache(Wipe cache partition, Not wipe data/factory reset) from recovery.
[OnePlus X General] Diego98:
I've already wiped dalvik and cache and also data and cache by mistake but nothing happened. The device isn't recognized by the PC so I've tried downloading the ROM on a MicroSD card (8 GB with only the ROM on it) but when I try to flash it the installation fails and if I retry it says that data space is less than 500MB.
[OnePlus X General] StraightEdgeKid:
If data space is less than 500 MB, now you must wipe data/factory reset and try this new file?

ALso, can me tell me what steps you performed before going into bootloop?
[OnePlus X General] Diego98:
Now I'm downloading the file that you have linked.

As a new member of XDA I can't post links but I have opened a thread where I explain all the steps I performed, it's called "OnePlus X in bootloop after the upgrade" and you can find it in "Q&A, Help & Troubleshooting" section.

---------- Post added at 12:18 PM ---------- Previous post was at 12:02 PM ----------

Thanks a lot now it works! :) Probably the OxygenOS file that I used before was corrupt
[OnePlus X General] StraightEdgeKid:
You are welcome mate. Can you update the thread you have created in Q/A section with details, so others can benefit with your experience?
[OnePlus X General] ArmStrongDickPunch:
Hey just wondering if anyone who rooted with this method is experiencing this issue, but I no longer have the clear all option in the recent apps menu..

Is it an issue with root (I didn't mess with anything other then layers theme) or could it have been the stock 2.1.3-x rom I flashed from this link https://forums.oneplus.net/threads/download-full-2-1-3-x-rom.416007/
[OnePlus X General] StraightEdgeKid:
Looks like your searchbar is not showing too. Hows this possible? Any modifications with root apps that you have performed? Cz that's weird, I have my searchbar and clear button too.
[OnePlus X General] ArmStrongDickPunch:
Nope I didn't mess with anything other then layer theme manager.., maybe it was the stock rom I flashed was bugged or something, I'll post this in the oneplus x forms for the stock rom I flashed after I boot looped it last night and later tomorrow I'll probably download and flash 2.1.2 and all the ota's and see if that fixes it, strange though
[OnePlus X General] warnec:
When I run root.sh after installing Kingroot and granting Terminal root rights I get:

After that script stops and I can only click Enter to allow.

Then it asks to override /system/xbin/su, then /system/xbin/supolicy. After allowing all, I get:

and then there is more errors, which I can't write down because SuperSU is launched by the script. Unfortunately, it fails to update binaries. What can I do?
[OnePlus X General] StraightEdgeKid:
Well, layers do mess up with UI. You might need to check around what exactly caused this issue.
[OnePlus X General] StraightEdgeKid:
Follow all steps correctly for one more time??
[OnePlus X General] ArmStrongDickPunch:
Found a fix it was a glitch with oxygen os BC when I researched my issue people had this issue on the oneplus one and two so the solution for it was to boot into safemode and then power off and reboot normally and that fixed it
[OnePlus X General] warnec:
I have tried it 5 times. Last time with newer version of script found in the Internet, which You do not link to (2.4 and not 2.0) and still the same.
[OnePlus X General] StraightEdgeKid:
Your log says,

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

Which means you have not rooted properly with Kingroot app, and trying to process SuperSU.

Heres how you go,

Install Kingroot, root properly, don't uninstall anything from phone, not even purity app. Open terminal, and give it a go. CHeck if you have placed mrw folder on right path.
[OnePlus X General] nunoramos:
Bootloader Locked

Hello guys.

I followed this method and works fine. I would like to flash a new rom but I read in this post that the bootloader stills locked, there are any chance to do that?
[OnePlus X General] ArmStrongDickPunch:
Not without unlocking the bootloader first and flashing a custom recovery
[OnePlus X General] nunoramos:
Ok, I understand but I install the trwp withtout a custom rom, so now I need to unroot for the same process using Kingroot? After I need to try for the method connect to pc?

My main reason to use this method it was because I can't install the drivers on my pc.

Thank you.
[OnePlus X General] ArmStrongDickPunch:
So is ur bootloader unlocked? And u do have twrp?
[OnePlus X General] Cookie Ninja:
Why would I waste my time with this crap malware, when I can easily install supresu using twrp?
[OnePlus X General] ArmStrongDickPunch:
BC not everyone want to unlock the bootloader and still have root access duh

And just BC u don't like this method doesn't mean others find it helpful so please don't post in the form unless it's productive or helpful to the form itself!
[OnePlus X General] StraightEdgeKid:
Your call mate, enjoy. Have fun with your OnePlus X. ;)
[OnePlus X General] the Doctor:
Actually, he is right about one thing: Kingroot is generally regarded by antivirus and internet security companies as malware because it utilizes security exploits to root the device, and the user doesn't know what they are. As I've said elsewhere in this thread, I'm not willing to hand root control of my device over to an app developed by a Chinese group I know nothing about that specializes in finding and exploiting security gaps.

I get that it's easier to root a device with Kingroot because you don't have to unlock it and lose your data--just install the app and let it do its thing. But it is inherently less secure, and since you can't backup your phone with TWRP it can also cause big headaches down the road if something gets messed up, which is more likely to happen with a noob unwilling to take the time to learn how to unlock, install a custom recovery and backup his ROM properly.

Like the OP says above, it's the user's call. Some calls are better than others. I wish the OP were more forthright about the risks with Kingroot. Noobs need to know clearly what they are getting into.

My $0.02 & YMMV.
[OnePlus X General] StraightEdgeKid:
Thanks for clearing things one more time. Will add desired info in OP once I reach to my MAC. Cheers.
[OnePlus X General] ArmStrongDickPunch:
True but rooting in general is a security risk BC from my understanding rooting disables any encryption to get root access (no matter what method u used) and one who roots isn't usually worried about device security (and I've had antivirus apps tell me SuperSU was malware BC of root access). And on the line of twrp it is helpful to have a custom recovery to make and restore backups and access file explorer when **** is messed up but not everyone need that or wants that (especially when theirs not many custom roms available). And as far as noobs they need to learn to read and do research before rooting to understand the risks and for anyone who doesn't trust kingroot like the op said just don't use it simple as that. It's ultimately up to the user

Like me for example I choose this method BC its easier to get root and keep my apps and settings and keep stock rom and when I need to update I just flash the stock rom I downloaded from oneplus forms (I keep on my phone) and if I need to unroot and or get back to stock or f**k up anything I just flash the stock rom and bam! All is good

But not trying to be a **** or fight or anything I do get ur point and its all down to personally preference :D now back on topic :D

Ps: correct me if I was wrong on anything I stated.
[OnePlus X General] the Doctor:
That's fine, as I said YMMV.

Just one point of clarification: While rooting in general does involve surrendering some degree of security, not all rooting methods are equally insecure. Flashing Chainfire's SuperSU does not involve exploiting security breaches or yielding control of your device to a Chinese app that looks for and utilizes exploits. OEMs often update their firmwares to resist methods like Kingroot, Towelroot or Ping Pong root because they are by nature security exploits that put their customers (thus their revenue) at risk. That's also why most antivirus and internet security programs regard Kingroot as malware but usually not SuperSU.

Though there are exceptions (ie, Samsung), you generally don't see companies out there trying to prevent Chainfire's SuperSU from working. Every Google Nexus is rootable with SuperSU (which says a lot) and it's been this way since the early days.
[OnePlus X General] Cookie Ninja:
FYI, Kingroot WILL NEVER WORK without an internet connection (WiFi/LTE/3G)...it's the only way it downloads the appropriate exploit and (also transmit your phone fingerprint such as model, android version, IMEI and god knows what else etc to a Chinese server). This was the reason why this app was blacklisted on the XDA community till this year. The statement as given above can be verified and corrected. BTW, the app targets the noobs and neophytes who are overwhelmed by working at the DOS prompt/command line and in typing out commands instead of clicking them, ipso facto, you may warn the other noobs and fans like [MENTION=5653304]ArmStrongDickPunch[/MENTION], who unknowingly add to this apps repository of phone data.

Dead Cookies leave no trails...
[OnePlus X General] ArmStrongDickPunch:
Hey I'm by no means a noob I've been rooting and flashing custom roms since it got my note 2 almost 3years ago and every Android phone I've owned since I've rooted and flashed custom roms so don't assume I'm a noob BC I used a method u don't like!
[OnePlus X General] StraightEdgeKid:
Considering you are senior XDA member, let's assume you know how XDA works.

XDA don't allow any apps here which can cause damage to any Android device. You are right, Kingroot was banned, bc it wasn't good back then. Since its alive on XDA again, it is no more harmful.

Whatever your thoughts are about this app are your personal, and I am not going to post them in OP, If the thread is wrong, or I have posted something wrong, Im sure mods would have noted it, and this thread might have blocked until now. Still if you think that there is something wrong, that can cause harm to OPX, you are free to complain or report this thread.

I'm done with this continues follow up about changing OP, but whatever you guys think are your personal opinions.

I THINK THERE IS ENOUGH INFORMATION THAT ONE NEEDS.
[OnePlus X General] nunoramos:
No it´s block and I installed trwp for google store.
[OnePlus X General] krzaczek5:
can you guys dispel my doubts?

After rooting with this method, to install new official update, I have to install TWRP, right?

TWRP is necessary to flash zip with update, is it?

While installing TWRP I have to clear all my data, so I can't have root wihout wiping my OnePlus?

Thanks in advance
[OnePlus X General] ArmStrongDickPunch:
If u rooted with this method to install ota's all u have to do is download the stock rom from this form http://xdaforums.com/showthread.php?t=3245185 and flash it via stock recovery (no need to wipe data or cache) and once u flashed the stock rom and the ota file's you can update to the newest version. No need for twrp or wiping ur data :D

Hopes this helps

Ps: here's a link for the full stock rom oxygen os 2.1.3-x so of u use this stock rom there's no need to install the separate ota files BC this is the full 2.1.3-x rom (current update as of this time unless one came out that I don't know of)

https://forums.oneplus.net/threads/download-full-2-1-3-x-rom.416007/
[OnePlus X General] the Doctor:
The fact that Kingroot requires internet access to work is not [MENTION=2305003]Cookie Ninja[/MENTION]'s "personal opinion," and the Kingroot team is clear about that in their thread here on XDA. I told you that back on page one of this thread, but you ignored me and the disinformation is still in your OP.

BTW, http://bfy.tw/3LKZ if you need more evidence.
[OnePlus X General] StraightEdgeKid:
Hello you again, I do know kingroot need internet access to root your device, I REPEAT I DO KNOW KINGROOT NEEDS INTERNET ACCESS TO ROOT ANDROID DEVICES.

This does not mean it installs malware in devices. If it does, original Kingroot thread would not have alive on XDA. Still you have some doubts, why don't you find out what malware it installs in our devices, what kind of harm it does to android, and let whole XDA know about it? Instead of debating about it OPX forum, raise yourself, head over to this thread and start doing your research, post your opinions and if you find something suspicious, do complain to XDA, as soon as Kingroot is banned from XDA, I myself will request to mods about deleting this thread.

FROM NOW ON, I WILL ONLY RESPOND ABOUT PROBLEMS GUYS FACE REGARDING THIS METHOD OF ROOTING OPX. NO OFF TOPIC DISCUSSION IS ALLOWED.

#Peace
[OnePlus X General] StraightEdgeKid:
Use full 2.1.3-x rom to install latest OPX rom.

Thanks, [MENTION=5653304]ArmStrongDickPunch[/MENTION] :good:
[OnePlus X General] Tuxaz:
Hi again,

flashed the OTA provided in the first page. Now can't update SuperSU. What should I do? Kingroot rooted the phone yet again, root checker says I have root.

[edit]Tried a newer version of the replace KingMod with Supersu.zip - 2.4, still no luck.[/edit]

And another question, my kill all apps button is gone? Any ideas about it?

thanks.
[OnePlus X General] StraightEdgeKid:
For rooting, follow same guide from begining.

and for kill all apps button try below solution,
[OnePlus X General] Tuxaz:
Tried it, but no luck.

Thanks, will try this one.
[OnePlus X General] StraightEdgeKid:
Have you tried the terminal stuff?

can you post terminal logs?