Rooting OnePlus 2 without unlocking Bootloader - OnePlus 2 Q&A, Help & Troubleshooting

Hi all,
* Do i have to unlock my Bootloader before I root my OnePlus 2 phone ?
** If i'll have to erase all data in order to perform Rooting or Unlocking What is the best backup tool to use in order to restore everything ?
*** Where i can get an original OnePlus 2 rom to download ? (If i'll need)
Thanks a lot !!!
Best,
Jonathan

Yes. You have to flash SuperSU using TWRP, and to use TWRP your bootloader needs to be unlocked. Try out Helium Backup. That's what I used to backup my phone without root. It only backs up apps and app data though. No system data. If you need to backup SMS and MMS messages, use SMS Backup & Restore. You can download the stock OPT OxygenOS from here, though I would make a Nandroid backup of the stock OS in TWRP before you do anything first. Good luck!

Thanks for the quick response,
Another quick question, after rooting the phone will I able to copy into "/system/media/sounds/ui" folder without problem ?
The main idea is to add a poweron.ogg sound file in order to hear something during the poweron
Thanks again

Of course! Root gives you access to all system files on the device. You'll just have to use a root file explorer such as root browser which is probably my personal favorite. Many people also use ES Files Explorer. Just be careful if you do use it because you have to enable the "Root Explorer" tool.

Hi again,
Have you ever try to add sound during the start up?

Nope. Honestly never really had a desire to. I'd be surprised if there wasn't a tutorial out there on how to do it though.

I succeeded to unlock my OnePlus 2 ... using fastboot....., now do i have to install TWRP or to stay with the OnePlus 2 original recovey mode ?
What are the advantages for doing that (TWRP) ?
Thanks

You need TWRP recovery to flash the SuperSU app. TWRP is also what you use to flash custom Kernels or ROMs. If you want, you could do what I did and just boit to TWRP instead of actually flashing it to your device. Then you can flash the SuperSU app and have root while keeping the stock OPT recovery. Then, if you want, you can go get Flashify, purchase and unlock the premium features within the app (absolutely worth it!) and use it to backup the stock recovery and then flash TWRP so that you can revert back to the stock recovery if you ever want to. If you need more detailed instructions on any of that, I can submit another post later when I can get to my computer.

Where can i find stock recovery for OnePlus 2 (in case i'll need)?
I found this in XDA forums:
http://forum.xda-developers.com/oneplus-2/general/rom-mirrors-official-oxygen-os-roms-ota-t3209863

That forum post is just for downloading the stock ROM. Like I said in my last post, bootong to TWRP instead of flashing it and then using Flashify to backup the stock recovery would probably be the best method, however it seems like you can download the stock recovery from here. I personally have not used that download before so I cannot vouch for its legitimacy, however it seems other people have had success with it.

Which Flashify tool to use, which author (Christian Göllner or Nightshade Labs) ?

Here ya go!
https://play.google.com/store/apps/details?id=com.cgollner.flashify
You can also use that app to flash the TWRP recovery straight from your phone.

Related

[Q] Root

How to root nexus 7 with out install custom recovery...? which is the easy and safe method..?
Just download wugfresh' Nexus root toolkit. You can uncheck the custom recovery method under the root button.
But without a custom recovery you can't make backups, restore one or flash a custom without a PC. I don't recommend rooting without a custom recovery.
If you want a custom recovery after rooting without one, just get goo manager from the play store!
Sent from my Nexus 7 using xda premium
Try this: http://forum.xda-developers.com/showthread.php?t=2233852
sdelange99 said:
But without a custom recovery you can't make backups, restore one or flash a custom without a PC. I don't recommend rooting without a custom recovery.
Click to expand...
Click to collapse
x1000
If you take the time to understand the motochopper (no bootloader unlock) root process, you will easily realize that a backup can be taken of the pre-existing recovery even (safely) when the (rooted) OS is running. You can do this just before installing a custom recovery.
Code:
dd if=/dev/block/platform/sdhci-tegra.3/by-name/SOS of=/sdcard/stock-recovery-ver.Xxx.img
Once you have a safe (read: not the copy stored on the tablet) backup of the stock-recovery-ver.Xxxx.img file, you can flash a custom recovery and then restore back the saved copy at any time by reversing the roles of the input file (if=) and output file (of=) in the above "dd" command.
If you assume that "all I really need is this little root thingy and a few tweaks here and there, but no backups." you will end up regretting that decision. It is a better plan to assume that something will go wrong, and plan for that as if it were a certainty.
The more certain you are about not needing such protection, the more likely the chances are that you actually will need it.
good luck
gijokmr said:
How to root nexus 7 with out install custom recovery...? which is the easy and safe method..?
Click to expand...
Click to collapse
Wug's will currently install 2.4.1.0 TWRP I think, but if you want to at a later time you can flash 2.5.0.0 via fastboot later. And as others said above, you'll want a custom recovery to be even 'safer', and it's a Nexus 7, it would be very hard for you to hard-brick it.
PS: Is your signature big enough?

[Q] New TN7 - what to do first: root or upgrade?

Hello guys,
my TN7 is nagging me to upgrade from 4.2.2 to 4.3 via OTA. I've read that with the upgrade the bootloader will be locked and if I tried to root afterwards a full wipe will be neccessary to unlock the bootloader.
So here's my question: if I root first and upgrade then will root access persist or do I have to suffer a full reset anyway? What would you suggest?
Any hints are appreciated!
freeekbert said:
Hello guys,
my TN7 is nagging me to upgrade from 4.2.2 to 4.3 via OTA. I've read that with the upgrade the bootloader will be locked and if I tried to root afterwards a full wipe will be neccessary to unlock the bootloader.
So here's my question: if I root first and upgrade then will root access persist or do I have to suffer a full reset anyway? What would you suggest?
Any hints are appreciated!
Click to expand...
Click to collapse
I have not rooted my device but after you upgrade to 4.3, within 5-10 minutes it will ask you again to upgrade to 4.4.2. I think you should consider this also before rooting. ( I am having 4.4.2. )
What is the advantage of rooting TN7?
asratxda said:
I have not rooted my device but after you upgrade to 4.3, within 5-10 minutes it will ask you again to upgrade to 4.4.2. I think you should consider this also before rooting.
Click to expand...
Click to collapse
Thanks for the info. Up to now I'm not a big fan of KitKat...
asratxda said:
What is the advantage of rooting TN7?
Click to expand...
Click to collapse
All my Android devices are rooted, because in general I don't like the idea that there is a lot of potential hidden from the customer. For example if you want to make Nandroid backups you need root access. And I'm using Nandroids excessively
Other apps like Tasker need root access to use their full potential.
So the question remains: will root stick through the upgrade(s) or not? And if it doesn't, what can I do make it persist?
no, you will need to root after each update. So you might as well do the updates, then the root. many here are wishing they would have just stayed on 4.3 and not rooted (IMHO) The only thing I like about KK is the gamepad mapper.
I did the two updates (4.3 and then 4.4.2) then I unlocked the boot loader and rooted using the tool as it supports the 4.4.3 update.
Was plain sailing and no problems.
Phil
Thanks guys, so I'm going to root on current version to backup all apps and settings. Then I can do both updates and unlock the boot loader without worrying about data loss.
I'll give feedback how it went :thumbsup:
So, I promised to report back. Coming from Android 4.2.2 I did the following:
Root like described in here:
HTML:
http://forum.xda-developers.com/showpost.php?p=47810386&postcount=1
I used the Chinese method, but please be aware that this way there is strange software installed on your device.
Then I grabbed Titanium Backup Pro and created a backup of all my installed apps. Those backups and important data from internal storage were pushed to a remote FTP server, because I read that unlocking the boot loader also wipes sdcard0.
Next step is installing all three OTA updates. Please be patient, because that this (especially the update to 4.4.2) may take some time.
Unlock boot loader. CAUTION: ALL DATA WILL BE LOST! Follow the instructions of Super Tool:
HTML:
http://forum.xda-developers.com/showthread.php?t=2627654
Flash ClockworkMod Recovery with Super Tool or manually via fastboot. I recommend Super Tool, because it's very handy to use.
Boot to CWM and flash SuperSU.zip by Chainfire and you should be good to go. Now you can reinstall Titanium Backup and restore your previously backed up apps and data from your remote location!
I hope this could come in handy for someone!
freeekbert said:
So, I promised to report back. Coming from Android 4.2.2 I did the following:
Root like described in here:
HTML:
http://forum.xda-developers.com/showpost.php?p=47810386&postcount=1
I used the Chinese method, but please be aware that this way there is strange software installed on your device.
Then I grabbed Titanium Backup Pro and created a backup of all my installed apps. Those backups and important data from internal storage were pushed to a remote FTP server, because I read that unlocking the boot loader also wipes sdcard0.
Next step is installing all three OTA updates. Please be patient, because that this (especially the update to 4.4.2) may take some time.
Unlock boot loader. CAUTION: ALL DATA WILL BE LOST! Follow the instructions of Super Tool:
HTML:
http://forum.xda-developers.com/showthread.php?t=2627654
Flash ClockworkMod Recovery with Super Tool or manually via fastboot. I recommend Super Tool, because it's very handy to use.
Boot to CWM and flash SuperSU.zip by Chainfire and you should be good to go. Now you can reinstall Titanium Backup and restore your previously backed up apps and data from your remote location!
I hope this could come in handy for someone!
Click to expand...
Click to collapse
:good: GREAT!!!! you finally rooted your device!!! I just want to ask you, is it possible to flash "SuperSU.zip" from "STOCK recovery" after unlocking the bootloader? i.e
1) Unlock bootloader 2) Flash SuperSU.zip from stock recovery ; thats all, now your are rooted. ???
...
...
I am going to root , but after at least 3-4 month's of usage. In the past I had rooted LG O1, CUBE U9GT4, iBall Andi4.3a. I also love taking BKPs with TB, very useful for game progress.
Have you tried "viper4android audio mod" and "GLTools"(for maximizing graphics performance for any app)?
asratxda said:
I just want to ask you, is it possible to flash "SuperSU.zip" from "STOCK recovery" after unlocking the bootloader? i.e
1) Unlock bootloader 2) Flash SuperSU.zip from stock recovery ; thats all, now your are rooted. ???
Click to expand...
Click to collapse
Nope, unfortunately it won't work this way, because the stock recovery system looks for a special signature which is not present in the zip file.
asratxda said:
Have you tried "viper4android audio mod" and "GLTools"(for maximizing graphics performance for any app)?
Click to expand...
Click to collapse
Neither one of them. But this is possibly because I don't play games on my tablet usually
asratxda said:
I am going to root , but after at least 3-4 month's of usage.
Click to expand...
Click to collapse
Personally I'd do it as soon as possible, because you will lose all your saved data. So the earlier you root, the less you have to restore

Image 50 devices and remove 1 apk

Hi,
I am hoping someone might be able to help or at least point me in the right direction. I have 50 note 3 devices that I need to delete easylauncher.apk off or rename it.
So far the only way I have found to do this is to root the device and then rename the file. The problem I am having is that I need to connect these devices to an MDM solution which are reporting them as rooted.
I have used towelroot and cf auto root to rename the file and then unrooted using the setting in SuperSU. This hasn't worked and is still reporting as rooted.
Using Kingo Root seems to work and the MDM solution isn't saying it is rooted after unroot. I don't really want to use Kingo Root as it installs Clockwork Recovery in Chinese rather than English.
Could someone tell more why Kingo Root works and if there is a way to manual do the same thing?
Is there a way to setup one device and then produce an image of this device to use on all the others?
Can I modify the standard Samsung rom so I can just take out the easylauncher.apk file?
Any help would be greatly appreciated.
You can change as desire on 1 device (by using Kingo) and reproduce the image to another devices as you have said.
Regarding Chinese CWM Recovery, you can manually flash another recovery on the first device.
On remaining devices no need to do that, because you need to flash the system image only.
Hi,
Thank you for your reply.
Just so I am clear of the steps I need to take:
1. Root device using Kingo
2. Flash English CWM
3. Unroot device
4. Do full backup in CWM
Now here is where I am getting stuck.
Do I now on a new phone just flash CWM and then restore from the backup I took? Or do I do an advanced restore and just use System restore?
I did try this after restoring the original phone to the Offical ROM and I was getting a MD5 mismatch?
What I am after is the quickest way to get 50 devices built with the EasyLauncher.apk file deleted or renamed.
Thanks again for your help.

[Q] [SOLVED] Installing Custom Reovery on European Network Locked phone, fails.

Hi.
I have a galaxy s5 model G-900F locked to a European Carrier.
I've tried to install a custom Recovery (Philz Recovery) in order to install a custom rom.
Everything goes fin on odin but the thing doesn't settle. Everytime i go to recovery, the stock recovery is back.
Do I need to network unlock the phone to make it work? I don't think the bootloader is locked, but...
EDIT:
Answered my own question by digging the deeps of XDA
Q. I flashed Custom Recovery but each time I reboot the Stock Recovery is back
There is an auto recovery restore system on certain Stock Android Builds that will
reflash the Stock Recovery if you flash CWM on a Stock Rom.
Use Root Explorer to Mount the system folder as R/W (or use a free app from Google
Play such as ES File Explorer). Rename the files /system/recovery-from-boot.p and
/system/etc/install-recovery.sh (requires root). Now when you flash Custom Recovery
it will NOT be overwritten after a reboot. You can also do this via the Toolkit.
Click to expand...
Click to collapse
thanks.
J.
..
fffft said:
Glad that you found an answer. That is why I search before I post questions.
Can you edit your post title so that people can see that your issue /question has been resolved?
.
Click to expand...
Click to collapse
Done!
Oh and by the way, I did search the forum. Unfortunately the search function doesn't work that well sometimes. I end up finding the answer by pure luck while trying to download Android tool kit. I do not normally open threads on the first sign of problems or difficulties.
..

need help with my grand prime sm-g532f

hello guys,
is there any custom frimeware for the galaxy grand prime sm-g532f ? i looked everywhere but can't find one.
i need one because there is no more space in my phone, the system took almost everything, 6.5go of the 8 availble, so i can't install big apps even with an sd card ! any solution ?
i was about to install a stock rom, but someone told me that it will take the same space as my current rom .
thank you.
I don't think any developer is interested in this device, it could be due to non-availability of unlocked bootloader, firmware sources, etc. I am thinking of getting rid of mine and move to another device that supports open hardware/software.
In possible solution if you managed to root it the use system app remover to get rid of Samsung bloat.
Good luck.
sga-pingo said:
I don't think any developer is interested in this device, it could be due to non-availability of unlocked bootloader, firmware sources, etc. I am thinking of getting rid of mine and move to another device that supports open hardware/software.
In possible solution if you managed to root it the use system app remover to get rid of Samsung bloat.
Good luck.
Click to expand...
Click to collapse
yes i have the same thought there will be no custom rom did you tried to install a stock rom ?
did you tried to install a stock rom ?
Click to expand...
Click to collapse
All phones when you unbox are on factory ROM (aka stock ROM). I think you are referring to rooting and installing custom recovery, I failed and phone always go into boot-loop making me to re-flash stock boot and recovery images.
sga-pingo said:
All phones when you unbox are on factory ROM (aka stock ROM). I think you are referring to rooting and installing custom recovery, I failed and phone always go into boot-loop making me to re-flash stock boot and recovery images.
Click to expand...
Click to collapse
thanks, i think i will try to root my phone, maybe it will work for me. my last hope :/
Please post your results, I am hopeless with this severely bloated device.
Update:
Managed to root using TWRP.
1. Install TWRP recovery.img using ODIN (Windows) or Heimdall (Linux) including SU. Details in this thread:
https://forum.xda-developers.com/ga...overy-twrp-3-1-0-1-samsung-galaxy-j2-t3616589
Reboot to TWRP > format Data partition > while you are connected to PC > copy SU.zip to data and flash it.
2. Get SU.zip from here;
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/
Good luck.
sga-pingo said:
Update:
Managed to root using TWRP.
1. Install TWRP recovery.img using ODIN (Windows) or Heimdall (Linux) including SU. Details in this thread:
https://forum.xda-developers.com/ga...overy-twrp-3-1-0-1-samsung-galaxy-j2-t3616589
Reboot to TWRP > format Data partition > while you are connected to PC > copy SU.zip to data and flash it.
2. Get SU.zip from here;
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/
Good luck.
Click to expand...
Click to collapse
i didn't have a lot of time these days to search for a working "rooting methode", so thank you very much.

Categories

Resources