Related
I'm not sure if I'm posting this in the right section, this is my first question. So I decided to finally root my nexus one, mostly to take advantage of the newly integrated wi-fi calling feature in the new cyanmod. i was able to unlock it through fastboot, it now shows the lock when the phone boots up, but it doesnt appear to be unlocked. apps requiring root like rom manager, setcpu, etc. don't seem to be detecting that the phone is rooted. when i first open rom manager i get the message "you must root your phone for rom manager to function. superuser wasnot found at "/system/bim/su" or "/system/xbin/su". use google search on your computerto find instructions on how to root your phone." then when i select to flash a rom it says "an error occurred while attemping to run privileged commands". i tried uninstalling and reinstalling rom manager, rebooting, etc.. no luck. i've been searching threads for hours. please help!
You haven't rooted your phone.
Unlocking the bootloader just allows you to install unofficial images. You can now install a rooted image, to save yourself the trouble of having to root one.
First thing you probably want to do is install a custom recovery, which can then be used to make backups and install custom ROMs, etc.
Go find a custom recovery (look in the wiki), and install via fastboot. Stay away from Clockwork 3.xx...
Sent from my Nexus One using XDA App
mm installing a recovery will not root the phone either...
You need to root the phone (superoneclick works well)
http://forum.xda-developers.com/showthread.php?t=803682
If the bootloader is unlocked, you don't need to root the current ROM, unless you plan on keeping it, which the OP obviously doesn't (because why else would anyone download ROM Manager?)...
With an unlocked bootloader you can just flash any system image you want. You probably still want a custom recovery though, so you might as well flash recovery first, and then use that to flash ROMs...
Sent from my Nexus One using XDA App
danger-rat said:
Stay away from Clockwork 3.xx...
Click to expand...
Click to collapse
thought it was okkay if you are directly flashing 3.something and not upgrading it from a previous release?
Amon RA is the best though...
Sent from my Nexus One
Hi! I have little questions...
1) I think is a stupid one: if I root my phone, can I install updates normally, or I have to flash them in a strange way (CMW recovery) ?
2) And if the answer is "yes", I have to do again and again the root's process (every time I do an update)? It means that every update does a sort of "unroot"..
3) And last question, it is not important, but I want to root my phone because I want to install this app that needs root.. i think is not very useful, but is great
Do you know apps that are very useful, and it need root permissions to work? (if I have to root my device only for 1 app, I won't do! )
suggest me please!
1) you can flash new firmwares with Flashtool
2) yes, you need to repeat the rooting procedure
3) bucketloads of them, my favs are Titanium Backup (great for backing up apps) and Paragon NTFS (can read NTFS drives, including disks connected to OTG)
And why is rooting the phone for 1 app a problem? If you want to use that one app, go for it. Not to mention that with rooting you can remove bloatware or unnecessary system apps
robogo1982 said:
Not to mention that with rooting you can remove bloatware or unnecessary system apps
Click to expand...
Click to collapse
You can also just flash a stock ROM without rooting, which will get rid of bloatware.
1)it should look for your bootloader(BL) is locked or unlocked ,if your BL is locked ,you can update normally via PCC or SUS
otherwise you can't update normally and you have to flash new firmewares
2)yes ,you have to root again after update your phone
3) LMT will ask your root permission ,if you are not rooted ,LMT will work with Home function ONLY ,so root is needed to run LMT perfectly
i'm using LMT too ,same reason i choose to root my phone ,CAUTION that you don't unlock your BL ,because you will lost warranty and BE2 ,so be aware of
your BL.
This is a tutorial on how to root and unlock the bootloader of the nexus 4 without wiping any data!
Note: I'm not responsible for any damage on your phone! You choose to do these modifications and you are responsible for any problems!
I tested this on Android 4.4.3, but you may try it on other android versions, too. Please report if it works
Devices you can root using this app:
- Nexus 4: 4.4.3, 4.4.4
- Nexus 5, 4.4.3
1. Install the towelroot app (xda thread) from the project site! Please thank geohot, he made this possible!
2. Open the app and click on "make it ra1n"
3. Wait 15 seconds and the phone will reboot!
Congratulations! Your phone is rooted now!
4. Install either SuperSu or Superuser
a) In the app update your binary the "normal way" (without a custom recovery)
b)
1. Install BootUnlocker for nexus devices to unlock your bootloader! In the app, click "unlock" to unlock it!
2. Now you are able to install a custom recovery like TWRP or cwm
3. Boot up your system again, open SuperSu or Superuser and update the binary (using "TWRP/CWM")
This is it! You're rooted now and you can easily unlock/relock your bootloader using the BootUnlocker app without wiping any data
Note: This was not my work! I just wrote down some steps to root and unlock
How to unroot:
1. Reflash the stock recovery image/stock kernel/etc (only necessary if you are running a custom kernel/recovery/etc)
2. Open BootUnlocker and lock the bootloader. Now you are able to uninstall the app!
3. Open SuperSu -> Settings -> Full unroot. This will unroot your phone and the app will automatically be uninstalled.
4. Reboot and done
noob clarifications
Hey, came across your post in another post where you mentioned this method would prevent the posibility of the phone being wiped when unlocked + rooted via "traditional" methods using a PC w SDK etc. Phone at present is locked, unrooted stock Nexus 4 kitkat 4.4.4 stock.
Just wanted to clarify a few points since this is the first time I've come across a method where the phone is rooted and unlocked from within itself (I've rooted and unlocked a HTC desire back in my heydays).
--- Do I need to unlock the phone if I just want to change the kernel from stock to the Matr1x kernel? (I had taken unlocking as a given as it was the first step in every guide - there is no mention of steps on how to actually install the kernel but I was going to research that process once root and unlock was done successfully)
--- Any chance you can give steps on updating the binary the 'normal' way? (never done this before)
--- How do you install CWM using your method? Again, I have only seen it being installed via command lines from the PC
Apologies in advance for the dumb questions but searched and couldn't find any clear answers for those steps that I'm not understanding
salxtai said:
Hey, came across your post in another post where you mentioned this method would prevent the posibility of the phone being wiped when unlocked + rooted via "traditional" methods using a PC w SDK etc. Phone at present is locked, unrooted stock Nexus 4 kitkat 4.4.4 stock.
Just wanted to clarify a few points since this is the first time I've come across a method where the phone is rooted and unlocked from within itself (I've rooted and unlocked a HTC desire back in my heydays).
--- Do I need to unlock the phone if I just want to change the kernel from stock to the Matr1x kernel? (I had taken unlocking as a given as it was the first step in every guide - there is no mention of steps on how to actually install the kernel but I was going to research that process once root and unlock was done successfully)
--- Any chance you can give steps on updating the binary the 'normal' way? (never done this before)
--- How do you install CWM using your method? Again, I have only seen it being installed via command lines from the PC
Apologies in advance for the dumb questions but searched and couldn't find any clear answers for those steps that I'm not understanding
Click to expand...
Click to collapse
1. To flash a kernel you have to unlock your bootloader, that's right. You just flash it using your PC and fastboot, there are many guides on how to do that
2. If your phone is rooted and you have SuperSU installed there'll be a popup and it'll tell you to update the binary before using the app. You are able to select the "normal" way then without a recovery
3. You can install CWM/TWRP using your PC in fastboot mode!
No problem, just ask :good:
Can the usual commandline methods for other things be used after this?
PGvossman said:
Can the usual commandline methods for other things be used after this?
Click to expand...
Click to collapse
If you mean fastboot commands for example to flash another kernel/recovery/etc, yes! There's no difference between unlocking using this method or another "old" one, but this one doesn't wipe data
PGvossman said:
Can the usual commandline methods for other things be used after this?
Click to expand...
Click to collapse
yes. can also be used flashify to flash recovery.img without PC
I think I'll give it a try then (assuming there's no risk of bricking my phone or doing irreversible damage). On that subject, is there an easy way to lock the bootloader and unroot?
PGvossman said:
I think I'll give it a try then (assuming there's no risk of bricking my phone or doing irreversible damage). On that subject, is there an easy way to lock the bootloader and unroot?
Click to expand...
Click to collapse
Check the OP, there are already the steps given to unroot and relock
mihahn said:
I tested this on Android 4.4.3, but you may try it on other android versions, too. Please report if it works
Click to expand...
Click to collapse
I tested this on Android 4.4.4... it works fine!
Note: with TowelRoot v3 it isn't necessary reboot, but when I've tried to update SuperSu it fails so reboot and that's all
Thanks so much!
I apologize for asking so many questions but what exactly is "updating the binaries". Is that just for the app itself or does it do something to the phone?
PGvossman said:
I apologize for asking so many questions but what exactly is "updating the binaries". Is that just for the app itself or does it do something to the phone?
Click to expand...
Click to collapse
It updates the superuser binary that got installed by Towelroot I guess
will this method work on the nexus 5?
mihahn said:
This is a tutorial on how to root and unlock the bootloader of the nexus 4 without wiping any data!
Note: I'm not responsible for any damage on your phone! You choose to do these modifications and you are responsible for any problems!
I tested this on Android 4.4.3, but you may try it on other android versions, too. Please report if it works
1. Install the towelroot app (xda thread) from the project site! Please thank geohot, he made this possible!
2. Open the app and click on "make it ra1n"
3. Wait 15 seconds and the phone will reboot!
Congratulations! Your phone is rooted now!
4. Install either SuperSu or Superuser
F
a) In the app update your binary the "normal way" (without a custom recovery)
b)
1. Install BootUnlocker for nexus devices to unlock your bootloader! In the app, click "unlock" to unlock it!
2. Now you are able to install a custom recovery like TWRP or cwm
3. Boot up your system again, open SuperSu or Superuser and update the binary (using "TWRP/CWM")
This is it! You're rooted now and you can easily unlock/relock your bootloader using the BootUnlocker app without wiping any data
Note: This was not my work! I just wrote down some steps to root and unlock
How to unroot:
1. Reflash the stock recovery image/stock kernel/etc (only necessary if you are running a custom kernel/recovery/etc)
2. Open BootUnlocker and lock the bootloader. Now you are able to uninstall the app!
3. Open SuperSu -> Settings -> Full unroot. This will unroot your phone and the app will automatically be uninstalled.
4. Reboot and done
Click to expand...
Click to collapse
Thanks, for the average user who doesn't use custom roms or anything really crazy, is super su or Superuser a better option? Or is it the same more or less? Thanks
anees167 said:
will this method work on the nexus 5?
Click to expand...
Click to collapse
Yes, it should work fine. Try it
dodgebizkit said:
Thanks, for the average user who doesn't use custom roms or anything really crazy, is super su or Superuser a better option? Or is it the same more or less? Thanks
Click to expand...
Click to collapse
These two are basically the same, as they are apps to manage the superuser permissions of other apps. You may use the one you like
That was easy
Of course I don't see this thread unitl after I spent the last hour setting everything up in Ubuntu to root the old fashioned way! Used this and was rooted in no time.
ota updates affected or not?
does using this towelroot will affect the ota updates i.e. if any ota update comes will i able to install as in the stock rom...?? please clarify this...
ashutoshchauhan211 said:
does using this towelroot will affect the ota updates i.e. if any ota update comes will i able to install as in the stock rom...?? please clarify this...
Click to expand...
Click to collapse
see towelroot only roots your device.
You can get OTA PROVIDED - You dont change any of the stock files.. Nothing should be changed.
mihahn said:
This is a tutorial on how to root and unlock the bootloader of the nexus 4 without wiping any data!
b)
1. Install BootUnlocker for nexus devices to unlock your bootloader! In the app, click "unlock" to unlock it!
2. Now you are able to install a custom recovery like TWRP or cwm
3. Boot up your system again, open SuperSu or Superuser and update the binary (using "TWRP/CWM")
Click to expand...
Click to collapse
Hi, I have rooted Nexus 4 4.4.4 with towelroot app (and I have SuperSu app).
Now, If I install custom recovery, I will lost data? With custom recovery, I will get OTA update?
Thank you
blank nexus 4 without ROM
hi
i tried to install android L, forgot to backup the old ROM , unable to flash the new android L and i cant even restore the old ROM because i forgot to backup the ROM. Tried to do ADB SIDELOAD also....it says cannot read the (file)...tried so many times
i am unable to install a ROM in my nexus 4....only thing i can see in my phone is recovery mode....
Kindly please help.........anyone please reply to this post....and help me......
nexusfans said:
hi
i tried to install android L, forgot to backup the old ROM , unable to flash the new android L and i cant even restore the old ROM because i forgot to backup the ROM. Tried to do ADB SIDELOAD also....it says cannot read the (file)...tried so many times
i am unable to install a ROM in my nexus 4....only thing i can see in my phone is recovery mode....
Kindly please help.........anyone please reply to this post....and help me......
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
Yes I have read the FAQ, and I still think this is possible, if you install via custom recovery.
Currently the flashable zip generation requires root access. If there is any way to generate that flashable zip file without root then only a custom recovery would be required to install Xposed, as a custom recovery can write to /system without needing root. Since I am currently installing root only to install Xposed and then immediately removing it I would greatly appreciate an install option that doesn't require me going through the rooting process.
So my request is for the two recovery installation options not require root to generate the zip file. Thank you.
Open recovery, flash ZIP file.
You don't need at all.
That part I know. Once I have the flashable zip file I am fine. However, on my phone I cannot create the flashable zip file without root. It just fails. Hence my request.
Stupid question, but can you install recovery without root?
ldeveraux said:
Stupid question, but can you install recovery without root?
Click to expand...
Click to collapse
Yes, some manufacturers include recoveries pre-installed, but those often have restricted functionality.
Also, recovery can be installed on some phones without root with the use of a PC (again, it's brand-dependant).
And finally, a few (too few) manufacturers ship their devices with unlocked bootloader which means you can do anything you want with them.
XspeedPL said:
Yes, some manufacturers include recoveries pre-installed, but those often have restricted functionality.
Also, recovery can be installed on some phones without root with the use of a PC (again, it's brand-dependant).
And finally, a few (too few) manufacturers ship their devices with unlocked bootloader which means you can do anything you want with them.
Click to expand...
Click to collapse
Yep. I personally have an HTC device and they allow anyone to unlock their bootloader by filling out a form on their website. Once the bootloader is unlocked no root is required to flash a custom recovery. That is how I typically run my device no root but custom recovery. Occasionally, I revert to stock recovery to install a system update. Then I run into this issue where I have to root just to reactivate Xposed, then unroot again. I would much prefer to avoid the root/unroot part of reactivating Xposed.
I'm hoping that since it is only creating the zip file that I am asking about this is a quick and easy change.
XspeedPL said:
Yes, some manufacturers include recoveries pre-installed, but those often have restricted functionality.
Also, recovery can be installed on some phones without root with the use of a PC (again, it's brand-dependant).
And finally, a few (too few) manufacturers ship their devices with unlocked bootloader which means you can do anything you want with them.
Click to expand...
Click to collapse
In Moto G you can install a custom recovery and mount /system and /data (I need a custom recovery to flash SuperSU.zip), so, I think it's possible.
XspeedPL said:
Yes, some manufacturers include recoveries pre-installed, but those often have restricted functionality.
Also, recovery can be installed on some phones without root with the use of a PC (again, it's brand-dependant).
And finally, a few (too few) manufacturers ship their devices with unlocked bootloader which means you can do anything you want with them.
Click to expand...
Click to collapse
Not the stock recoveries, installed recoveries. I didn't think you could install TWRP or CWM without root.
ldeveraux said:
Not the stock recoveries, installed recoveries. I didn't think you could install TWRP or CWM without root.
Click to expand...
Click to collapse
Have you heard of flashtool or Odin?
Using flashmode/fastboot you can do more than with root.
ldeveraux said:
Not the stock recoveries, installed recoveries. I didn't think you could install TWRP or CWM without root.
Click to expand...
Click to collapse
I have installed both without root multiple times. Here are a few guides.
Nexus Devices (Note rooting comes after custom recovery is installed.)
General Advice (Note: First option requires root, second two do not.)
In general as long as you can unlock your bootloader no root is required. I have only ever purchased Android devices that let me unlock the bootloader, so I have always gone that route.
Again for my feature request though I just want the flashable zip generation to not require root. That (hopefully minor) change would allow a completely root free use of Xposed. Which would be wonderful for me.
Stock recovery will only flash officially signed packages. If you have a custom recovery, you can easily gain root access. So what point would it serve?
mattdm said:
Stock recovery will only flash officially signed packages. If you have a custom recovery, you can easily gain root access. So what point would it serve?
Click to expand...
Click to collapse
That question makes no more sense to me than a comment that Xposed does nothing more than a custom ROM, and if you can install Xposed you can install a custom ROM so what is the point of Xposed?
However, I will provide a few of my answers to your question pick your favorite.
Requiring root without needing to doesn't serve any point so why require it?
Root is required "because it replaces a file in /system/bin". However, on my phone /system/bin is write protected by the kernel, so root does not grant write access to /system/bin only recovery does, So why is root required to create a zip file that I install via recovery?
I like to be able to run apps that don't work if you are rooted. (DRM protected movies, corporate apps, etc.) so rooting causes me problems, and fully unrooting afterwards is a bit of a pain. (I have had to develop a custom script to do it efficiently.)
So, I just did some more searching and discovered that I'm not the only one who wants this. jurben requested this back in September and even wrote up the code to make it possible.
So, I went ahead and turned it into a Pull Request on GitHub. Hopefully it gets accepted.
Hello, I'm looking to get a new Android phone and I really like how the Sony Xperia 1 ii sounds, but, I really don't want the pre installed apps and I would rather fully delete them then just "disable for the current user".
If I rooted a Sony Xperia 1 ii then deleted the apps I didn't want, and I unrooted the phone, would it be as secure is it was before root? Also, would the apps I just deleted come back with future OTA updates?
Since I don't want to maintain a rooted phone and have to keep up security myself while it is rooted.
If you update it after that there's no telling what could happen is my guess.
Maybe do some ADB edits and call it good.
Or use Package Disabler for non Samsung phones and bypass all the monkey business entirely. Phone remains stock.
adb tools can fully delete pre installed app.
rooted phone cannot use some bank app.
If you want to rooted the phone,
you must unlock bootloader before root,
this step will clear all user data in your phone.
And when you want to get OTA and unroot,
you need relock bootloader.
And you need to flash firmware once before relock bootloader.
If not, you cannot boot into system.
So, your preinstall app will be back after relock bootloader.
bkk99213 said:
adb tools can fully delete pre installed app.
rooted phone cannot use some bank app.
If you want to rooted the phone,
you must unlock bootloader before root,
this step will clear all user data in your phone.
And when you want to get OTA and unroot,
you need relock bootloader.
And you need to flash firmware once before relock bootloader.
If not, you cannot boot into system.
So, your preinstall app will be back after relock bootloader.
Click to expand...
Click to collapse
Thank you for your reply.
I read on another forum that removing apps with ADB only "removes" for the current user. Not fully deleting off of the phone.
Is this not correct?
8bitKyle said:
Thank you for your reply.
I read on another forum that removing apps with ADB only "removes" for the current user. Not fully deleting off of the phone.
Is this not correct?
Click to expand...
Click to collapse
No, it's fully uninstalled.
But the install file (apk) is continue in your phone. So, if you add a new account(or use adb) , they can come back.
After use this method to uninstall app, just storage will be use (apk file) . The pre-install app will never use any ram and battery.
(I use adb method to delete "file" app before, but I cannot re-install it by adb.
Finally I need to make a clean flash by newflasher to bring it back. )