Related
I have read all I can regarding rooting, recovery, roms, and just wanted to do a quick terminology check before diving in.
Root = allow myself and certain apps to access settings/files not normally allowed by the OS?
Rom = akin to a non-stock OS that may have features and software added/removed and/or add functionality?
Recovery = some method to go back to a previous state?
Assuming I understand the above, what I believe I want to do, is Root (so that some apps that require 'root only' can work on my device), I should be able to do this by following one of the many guides in these forums. If I do not wish at this time to experiment with roms, I can stick with what came with the phone? And if, in the event of disaster, rather than restore from a backup or recovery, I should be able to Reset to Factory, re-root? and re-install everything (or possibly partially restore from Titanium backup), I do not need to concern myself with Recovery, correct?
Do I seem to have a good enough understanding or should I read some more? Does it sound like all I need to do is Root, and basically I don't need any Roms or Recovery?
Thanks in advance.
Klotar said:
I have read all I can regarding rooting, recovery, roms, and just wanted to do a quick terminology check before diving in.
Root = allow myself and certain apps to access settings/files not normally allowed by the OS?
Rom = akin to a non-stock OS that may have features and software added/removed and/or add functionality?
Recovery = some method to go back to a previous state?
Assuming I understand the above, what I believe I want to do, is Root (so that some apps that require 'root only' can work on my device), I should be able to do this by following one of the many guides in these forums. If I do not wish at this time to experiment with roms, I can stick with what came with the phone? And if, in the event of disaster, rather than restore from a backup or recovery, I should be able to Reset to Factory, re-root? and re-install everything (or possibly partially restore from Titanium backup), I do not need to concern myself with Recovery, correct?
Do I seem to have a good enough understanding or should I read some more? Does it sound like all I need to do is Root, and basically I don't need any Roms or Recovery?
Thanks in advance.
Click to expand...
Click to collapse
You pretty much got it. Only concern is your statement "I should be able to reset to factory". In case of catastrophic error you can't go into settings and factory reset. This is where the recovery comes in. You can use stock recovery to wipe data/factory reset but if you made changes with root apps, this option won't work. Only a nandroid restore or ROM flash or some third party recovery tool to reflash stock images using fastboot most likely.
You have a recovery partition with a recovery program installed. This can be booted into manually from a powered off state. In recovery you have options to backup, wipe, install .zip and much more. Installing a recovery and making a backup is first thing I do. You can use flashify (app on market) to flash the downloaded recovery .img for your device. Its very easy and you don't lose any data.
Excellent, thank you! I see Flashify is a root app, so basically, I should root, install Flashify, pull the recovery image off and I should more or less be set? That is, at least until I get comfortable with where I've gotten to so far (and done more reading). Thanks again.
Klotar said:
Excellent, thank you! I see Flashify is a root app, so basically, I should root, install Flashify, pull the recovery image off and I should more or less be set? That is, at least until I get comfortable with where I've gotten to so far (and done more reading). Thanks again.
Click to expand...
Click to collapse
That's it. Flashify should also have an option to boot into recovery. Do that (after recovery flash) and make a backup. Then reboot and have fun. That initial backup is important. Its your way back while you get comfy. Move that backup to computer also in case your /sdcard gets wiped.
What do you mean, pull recovery image off? You download the image for your specific device from XDA, then open flashify and follow instructions.
Mandelbrot.Benoit said:
That's it. Flashify should also have an option to boot into recovery. Do that (after recovery flash) and make a backup. Then reboot and have fun. That initial backup is important. Its your way back while you get comfy. Move that backup to computer also in case your /sdcard gets wiped.
What do you mean, pull recovery image off? You download the image for your specific device from XDA, then open flashify and follow instructions.
Click to expand...
Click to collapse
I read too quickly what [kind of app] Flashify was, and where to get the image from. I thought it copied the image off of somewhere on the device to somewhere else, but I see now from your explanation what it is. And to save the image on PC, and to save the first backup off device (also onto PC). Thanks again, will work up the courage to do these in the next few days.
Klotar said:
I read too quickly what [kind of app] Flashify was, and where to get the image from. I thought it copied the image off of somewhere on the device to somewhere else, but I see now from your explanation what it is. And to save the image on PC, and to save the first backup off device (also onto PC). Thanks again, will work up the courage to do these in the next few days.
Click to expand...
Click to collapse
The recovery image isn't too important to save. Once its flashed its kinda hard to loose it, but for sure it can't hurt I guess. Good luck!
Just so you know that after installing custom recovery, you will not be able to update through OTA. If you update it, you'll get in trouble. So if want an official update, go to stock again and update.
marshygeek said:
Just so you know that after installing custom recovery, you will not be able to update through OTA. If you update it, you'll get in trouble. So if want an official update, go to stock again and update.
Click to expand...
Click to collapse
I've waited for stock to push to my Xoom, Galaxy Nexus and Nexus 7 soooo many times but never make it. A rooted flashable zip made from the stock ota always lands and I get all flashy.
But yes as soon as you modify your recovery there is a chance you can soft brick your device if you accept the OTA.
...rebooting to recovery and making a nandroid backup.
I plan to add an audio mod to my phone (Extreme Beats or whatever) and it's so nice to just reboot to recovery from the modified boot menu, make a nandroid in a proper version of TWRP and then flash whatever I want and move on, knowing that I'll be able to revert should I need to.
SubliminalME said:
...rebooting to recovery and making a nandroid backup.
I plan to add an audio mod to my phone (Extreme Beats or whatever) and it's so nice to just reboot to recovery from the modified boot menu, make a nandroid in a proper version of TWRP and then flash whatever I want and move on, knowing that I'll be able to revert should I need to.
Click to expand...
Click to collapse
Indeed.
Just remember a nandroid for our phone is a limited backup. There are partitions that only a firmware restore can fix making it a 2 step job.
Also persist is only, IS ONLY on phone not in firmware & only Philz can back that up!
aviwdoowks said:
Indeed.
Just remember a nandroid for our phone is a limited backup. There are partitions that only a firmware restore can fix making it a 2 step job.
Also persist is only, IS ONLY on phone not in firmware & only Philz can back that up!
Click to expand...
Click to collapse
Interesting. I didn't know this...is there a thread or article you can link me to where I can learn more?
SubliminalME said:
Interesting. I didn't know this...is there a thread or article you can link me to where I can learn more?
Click to expand...
Click to collapse
http://forum.xda-developers.com/moto-x/development/xt10xx-philz-touch-t2612149
The same RAZR HD thread is where I last backed up persist
This guide will help you install the unofficial builds of CyanogenMod 12 and other Lollipop builds.
Disclaimer: These builds are not official and are very much pre-alpha builds. While many people have little issues, you may have issues yourself and without some knowledge of ROMing, you may end up bricking your device.
I and the people who built the ROMs are not responsible for you bricking your device or losing data.
Installation
Backup: If you do not backup your device, you will lose everything!
Install Titanium Backup and choose Backup all user apps from the backup batch actions
Titanium Backup requires that you are rooted to work. If you are not rooted, use a tool such as Helium.
Be sure to copy your backup to your computer just in-case the data in the "SD Card" partition gets deleted. Use Android File Transfer or ADB to do so.
Unlock Bootloader: If you did not root your device, you likely have not unlocked your bootloader and you will need to unlock your device using the guide here.
Recovery: You need to also make sure you have a custom recovery such as the TWRP recovery which an installation guide is also available here.
Downloads: If you have done all of the above, you are ready to begin the installation process.
First you need to download all these files to your device.
Google Apps from https://s.basketbuild.com/gapps
SuperSu from http://download.chainfire.eu/593/SuperSU/BETA-SuperSU-v2.19.zip (optional for root)
Next you need to get a copy of CM12, you can do so in the following 2 ways.
Download a lollipop ROM. Choose from one of these known to work ROMs, build your own ROM, or find a ROM from someone else you trust (if you find another good ROM, let me know).
https://www.reddit.com/r/oneplus/comments/2moqig/cm12_nonscheduled_builds_discussionupdate_thread/
http://forum.xda-developers.com/oneplus-one/development/rom-cm12-daily-builds-gapps-t2937887
Build your own copy by following this guide http://forum.xda-developers.com/oneplus-one/development/guide-building-lollipop-oneplus-one-t2947949
Flashing: This guide is using TWRP. If you have a guide for using ClockworkMod or another custom recovery, let me know.
1. Reboot into recovery, ether by adb reboot recovery in terminal or by holding down the volume down button as you reboot.
2. Go into wipe, and swipe to factory reset. This erases your data but should not erase the "SD Card" partition.
3. Go back home if it doesn't automatically do so.
4. Go into reboot then choose Recovery.
5. After reboot, choose install and select the Lollipop ROM you downloaded.
6. Swipe to confirm flash.
7. After successful flash, go back home and back into install and flash both Google Apps and SuperSu.
8. Reboot device to system and you should have Lollipop.
Restoring Backup: Now that you're on Lollipop, you will want all your app settings and apps back.
If you used the Titanium Backup option, install Titanium Backup, and choose Restore missing apps with data.
Common Issues
Slow Boot: The solution people have used was to remove GPS and location services. This means you will not be able to use any map program to navigate anywhere.
Using ES File Explorer, go to /System/priv-app and remove com.Qualcomm.location
NFC and Bluetooth: There was some earlier ROMs that had these issues, go to a more recent ROM.
Enable on screen keys and disable hardware keys: Follow this guide http://forum.xda-developers.com/showthread.php?t=2032117 and flash this to disable the backlight on the buttons https://drive.google.com/file/d/0Byxnqyony5AybHFOeWJhMmczS09pd0JNaGFwWHFybHlYRmNJ/view credit @sd65
MultiROM: MultiROM does not support Lollipop as of right now. There has been success in installing Lollipop then using CM11(S) as a secondary ROM.
I will update this as I find other common issues.
Restore CM11S (Stock firmware)
Make sure you backup using the instructions above.
Download original firmware from https://cyngn.com/products/oneplusone/ and extract it.
In terminal, cd into the extracted folder.
On your phone, unplug it from your computer and hold down volume up and the power button until you see the fastboot icon, then connect to your computer and run the commands in the terminal window.
Code:
fastboot flash boot boot.img
fastboot flash system system.img
If you wish to flash the original recovery:
Code:
fastboot flash recovery recovery.img
You can also try following this guide if you trust their download.
Once you are restored, so long as you didn't flash userdata, you should still have your backup from Titanium Backup in the "SD Card".
This looks great thanks for the post!
I already know the answer but just asking to be sure JUST in case I'm wrong, if I do a NANDroid backup before wiping and flashing the Lollipop ROM just to try it out, will I be able to go back to CM11S just by restoring the backup?
Mbennett156 said:
This looks great thanks for the post!
I already know the answer but just asking to be sure JUST in case I'm wrong, if I do a NANDroid backup before wiping and flashing the Lollipop ROM just to try it out, will I be able to go back to CM11S just by restoring the backup?
Click to expand...
Click to collapse
I don't know much about NANDroid myself, but reading http://forum.xda-developers.com/wiki/NANDroid seems like it's just a clone of the flash in a file and can be restored using custom recoveries. So I would assume so, but not sure.
Mbennett156 said:
This looks great thanks for the post!
I already know the answer but just asking to be sure JUST in case I'm wrong, if I do a NANDroid backup before wiping and flashing the Lollipop ROM just to try it out, will I be able to go back to CM11S just by restoring the backup?
Click to expand...
Click to collapse
Yes you can. I've been switching between Lollipop and Paranoid Android for 2 days now with NAndroid backups
hyuratzu said:
Yes you can. I've been switching between Lollipop and Paranoid Android for 2 days now with NAndroid backups
Click to expand...
Click to collapse
Great thanks
I tried to use MultiROM instead of this guide (of course, setting the 11s as secondary and pushing a custom AK kernel on the Lollipop ROM) but sadly it doesn't boot.
Elvecio said:
I tried to use MultiROM instead of this guide (of course, setting the 11s as secondary and pushing a custom AK kernel on the Lollipop ROM) but sadly it doesn't boot.
Click to expand...
Click to collapse
Try searching this thread for MultiROM and see what others have done http://forum.xda-developers.com/one...s-rumors-talk-l-t2829974/page146#post56750165
Another stupid question, but if I follow this guide to install lollipop alpha, when I decide to go back to stock can I just flash a brand new stock image for the latest CM11S version through twrp? Instead of using fastboot?
Sent via quantum entanglement, focused through my OnePlus One.
Why do i need too download and install google apps?
beastlykings said:
Another stupid question, but if I follow this guide to install lollipop alpha, when I decide to go back to stock can I just flash a brand new stock image for the latest CM11S version through twrp? Instead of using fastboot?
Sent via quantum entanglement, focused through my OnePlus One.
Click to expand...
Click to collapse
I'm not sure about installing with TWRP, it won't hurt to try. Just follow my instructions for installing Lollipop and apply it to CM11S
roktheman97 said:
Why do i need too download and install google apps?
Click to expand...
Click to collapse
If you don't want the Google Apps (Includes Google Play), then you don't have to install it. I have heard people who didn't install it say that they had some weird issues such as when you put your screen to sleep it reboots or something.
GRMrGecko said:
If you don't want the Google Apps (Includes Google Play), then you don't have to install it. I have heard people who didn't install it say that they had some weird issues such as when you put your screen to sleep it reboots or something.
Click to expand...
Click to collapse
I just installed android 5 and can't find Google play. Now I know why. Can I install it now or should I install it together with android 5. I'm asking if it matters. (Kind of a noob got opo in august and this is third time I'm doing this.)
---------- Post added at 08:13 PM ---------- Previous post was at 07:41 PM ----------
OK I have Google apps now, I'm in the step with backuping the apps, the moment I pressed backup a error pop-uped that it has problems with parsing? Also seems like it's taking forever backuping my apps..
roktheman97 said:
I just installed android 5 and can't find Google play. Now I know why. Can I install it now or should I install it together with android 5. I'm asking if it matters. (Kind of a noob got opo in august and this is third time I'm doing this.)
Click to expand...
Click to collapse
It doesn't matter if you install it later. I did the very same thing.
roktheman97 said:
OK I have Google apps now, I'm in the step with backuping the apps, the moment I pressed backup a error pop-uped that it has problems with parsing? Also seems like it's taking forever backuping my apps..
Click to expand...
Click to collapse
Do you mean restoring? You are suppose to backup before installing Lollipop. If you accidentally mess up the process of restoring, you will have to start again by going into the app switcher and quitting Titanium Backup.
GRMrGecko said:
Do you mean restoring? You are suppose to backup before installing Lollipop. If you accidentally mess up the process of restoring, you will have to start again by going into the app switcher and quitting Titanium Backup.
Click to expand...
Click to collapse
I backed up all the users app as instructed, now I wanted to restore all apps and its stuck with simple flashlight. As soon as I clicked restore it pop-ed up something about problems with parsing.
roktheman97 said:
I backed up all the users app as instructed, now I wanted to restore all apps and its stuck with simple flashlight. As soon as I clicked restore it pop-ed up something about problems with parsing.
Click to expand...
Click to collapse
Try reading things here http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-troubleshooting.html
GRMrGecko said:
Try reading things here http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-troubleshooting.html
Click to expand...
Click to collapse
Thank you very much for all information, I find this very helpful already. I think I will reboot the phone into recovery boot my previous OS and make another backup with newer version. Thanks again.
Thanks for this informative guide. The "Restore CM11S (Stock firmware)" is useful too.
roktheman97 said:
I backed up all the users app as instructed, now I wanted to restore all apps and its stuck with simple flashlight. As soon as I clicked restore it pop-ed up something about problems with parsing.
Click to expand...
Click to collapse
That's a system app, you can't restore those, you're only meant to backup/restore user apps.
Transmitted via Bacon
timmaaa said:
That's a system app, you can't restore those, you're only meant to backup/restore user apps.
Transmitted via Bacon
Click to expand...
Click to collapse
Flashlight from Google play.
This is an unofficial port of TWRP for the OnePlus 3
Downloads:
https://basketbuild.com/filedl/devs?dev=Grarak&dl=Grarak/oneplus3/recovery.img
Sources:
https://github.com/Grarak/android_device_oneplus_oneplus3
https://github.com/Grarak/android_kernel_oneplus_msm8996
Installation:
Download the recovery image and make sure your bootloader is unlocked
reboot into fastboot and execute
Code:
fastboot flash recovery recovery.img
Known issues:
Mouse pointer is hovering in the middle of the screen all the time, doesn't affect usability.
I am not sure if OTG works right now, last time I tried it didn't.
Everything else is working including decryption!
XDA:DevDB Information
TWRP OnePlus 3, Tool/Utility for the OnePlus 3
Contributors
Grarak
Version Information
Status: Beta
Created 2016-06-18
Last Updated 2016-06-18
hello, i have problems copying my old files to my new OP3 and i think it might have something to do with the encrypted storage on the new phone. (when i copy my files to the phone, the last modified date changes to the current date and i want to keep the correct timestamps)
how can i decrypt the data partition in twrp?
~MaX~ said:
hello, i have problems copying my old files to my new OP3 and i think it might have something to do with the encrypted storage on the new phone. (when i copy my files to the phone, the last modified date changes to the current date and i want to keep the correct timestamps)
how can i decrypt the data partition in twrp?
Click to expand...
Click to collapse
TWRP will either automatically decrypt your data or ask for your password.
OTG doesn't work.
How does this differ from the other twrp thread thats already posted?
This ones handles device encryption (which is on by default)
Therefore you can see/use internal storage
Vitriol_Drinker said:
This ones handles device encryption (which is on by default)
Therefore you can see/use internal storage
Click to expand...
Click to collapse
I can see and access my internal. Even made a stock backup.
Awesome! I hope OTG can be sorted soon Thanks for all your efforts Grarak
Sent from my ONE A2003 using Tapatalk
Awesome work man, now I'll get to enjoy Broken OS when I get my OP3.
fix-this! said:
I can see and access my internal. Even made a stock backup.
Click to expand...
Click to collapse
Can you upload the stock recovery somewhere?
If you did back it up, before installing TWRP?
Gesendet von meinem OnePlus One
jamesn2k said:
Awesome work man, now I'll get to enjoy Broken OS when I get my OP3.
Click to expand...
Click to collapse
Where did you see BrokenOs for OP3?? I'm very intrested! Thanks.
After flashing SuperSU in TWRP and doing a factory reset/wipe, how long should it take the OP3 to boot?
I feel like I've been stuck on the 1+ Powered by Android screen for far too long.
Grarak said:
This is an unofficial port of TWRP for the OnePlus 3
I have a problem with that recovery. Every time after I restore a backup I have made with that recovery my phone starts up and the unlock pattern is not valid anymore.
I have that now for the third time. Do you have a fix for that?
Edit: Fixed the pattern. But there is something wrong with that recovery. Please fix that
Click to expand...
Click to collapse
Planet X said:
I have a problem with that recovery. Every time after I restore a backup I have made with that recovery my phone starts up and the unlock pattern is not valid anymore.
I have that now for the third time. Do you have a fix for that?
Edit: Fixed the pattern. But there is something wrong with that recovery. Please fix that
Click to expand...
Click to collapse
i have the same issue^^ after restoring any rom, my pin / my pattern isn't valid anymore.
Planet X said:
I have a problem with that recovery. Every time after I restore a backup I have made with that recovery my phone starts up and the unlock pattern is not valid anymore.
I have that now for the third time. Do you have a fix for that?
Edit: Fixed the pattern. But there is something wrong with that recovery. Please fix that
Click to expand...
Click to collapse
From Nexus 6P guide - 4. How To Make A Nandroid Backup With TWRP Recovery:
Note: If you happened to forget to remove lockscreen security (PIN/Pattern/Fingerprint) before creating your backup, and you cannot get into your OS after restoring, you can do the following to fix the issue. Boot into TWRP and use the built in file manager to delete /data/sytem/locksettings.db. This should be enough to get you into your OS again. If it isn't you can also try deleting /data/system/locksettings.db-shm and /data/system/locksettings.db-wal. If this still doesn't fix your issue you can delete /data/system/gatekeeper.password.key and /data/system/gatekeeper.pattern.key.
Click to expand...
Click to collapse
I had to do it few times when I was restoring nandroid with pattern secured lock screen.
Natakranta said:
From Nexus 6P guide - 4. How To Make A Nandroid Backup With TWRP Recovery:
I had to do it few times when I was restoring nandroid with pattern secured lock screen.
Click to expand...
Click to collapse
That was what I had to do: delete /data/system/gatekeeper.pattern.key from Filmmanager. But still, that shouldn't be necessary.
why are there 3 different twrp threads? which one is recommended to use?
Did anybody try to
fastboot boot recovery.img
it?
It's not booting this way. I wanted to just boot it from PC and make a nandroid of all partitions including stock recovery.
i had the pattern issues too, luckily when i made the 1st initial back up of 3.1.0 i didn't have a key, b/c when i flashed 3.1.3 full zip xposed does not work, so i had restore my 3.1.0 nandroid and dirty flash the 3.1.3 after i installed xposed.
so in other words if u clean flash the 3.1.3 zip via TWRP i cannot get xposed to work
After updating to full OxygenOS 3.1.3 I can no longer flash this recovery does anyone have any suggestion ?
I try just like before but when I want to reboot into recovery from the OS it says "Factory device reset....rebooting"
And then it boots into OnePlus recovery
fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (17776 KB)...
OKAY [ 0.398s]
writing 'recovery'...
OKAY [ 0.136s]
finished. total time: 0.536s
Click to expand...
Click to collapse
---------- Post added at 23:12 ---------- Previous post was at 22:35 ----------
I was finally able to boot into recovery using "fastboot boot" and flash SuperSU like this but now I am still on stock recovery.
Good thing is that this way i hope to receive the next OTA so till then I will probably try and stay this way.
Hey everyone!
So I've read the suggested threads/pinned guide, but I just want to be absolutely sure of the process. I want to root my phone and install Pixel Experience. Right now, my bootloader is unlocked, but I'm on stock. So, am I right in that this would be the way to do it:
1. Go to fastboot, install TWRP recovery through fastboot
2. Make a NANDroid, back up EFS
3. Wipe everything
4. Install Pixel Experience .zip and Magisk .zip
5. Reboot, make sure it's all working
Am I missing anything? Thanks for reading - just wanted to be sure, the guide were a little difficult to understand!
obsama1 said:
Hey everyone!
So I've read the suggested threads/pinned guide, but I just want to be absolutely sure of the process. I want to root my phone and install Pixel Experience. Right now, my bootloader is unlocked, but I'm on stock. So, am I right in that this would be the way to do it:
1. Go to fastboot, install TWRP recovery through fastboot
2. Make a NANDroid, back up EFS
3. Wipe everything
4. Install Pixel Experience .zip and Magisk .zip
5. Reboot, make sure it's all working
Am I missing anything? Thanks for reading - just wanted to be sure, the guide were a little difficult to understand!
Click to expand...
Click to collapse
That's ok so far, you have to reformat the data partition (the part where you have to say yes, not just the wipe) because this partition is encrypted and you are only able to make a backup of a decrypted data partition.
Sent from my Moto G5 Plus using XDA Labs