Why do we have to re-root the phone after each update? - LineageOS Questions & Answers

I'm sure there's a reason, there has to be.. CM never made us do this, why do I have to reinstall the SU zip to re-gain root access after each new update is applied? This is especially annoying because each refresh adds back apps that I have used root uninstaller to remove, so it's a whole song and dance to go into recovery, establish root (including a few bootloops each time) and then uninstall those apps again.
Not sure what the benefit is for user or developer..

Related

Simplest way to remove unwanted system apps?

I want to keep the stock HTC factory ROM on the phone now. I want to remove some of the system apps that come preinstalled, that's all. Facebook, for example. What's the simplest way to do this?
Also, I want the OTA update to 2.2 when it comes, and I don't care if I lose root, so long as I can cherry-pick what programs are on my phone.
And I want a pony, too.
Seriously, isn't there an easy method to just kill a few apps that is noob-friendly?
Download estrongs file explorer, go into settings/root options/Select hiapk or cyanogenmod (whichever works, you will also be prompted to grant su permissions)/then mount.
Now you navigate to system/app and delete at will.
Sent from my PC36100 using XDA App
adelaney said:
Download estrongs file explorer, go into settings/root options/Select hiapk or cyanogenmod (whichever works, you will also be prompted to grant su permissions)/then mount.
Click to expand...
Click to collapse
Didn't work. Looks like root is required, plus a custom ROM flashed. Far too many steps to simply delete a preloaded system app. I'm running the stock HTC ROM. I suppose I can run Unrevoked3 to get root, but I have no interest in a custom ROM. I simply want the stock ROM with fewer apps. Thanks anyways...
adelaney said:
Download estrongs file explorer, go into settings/root options/Select hiapk or cyanogenmod (whichever works, you will also be prompted to grant su permissions)/then mount.
Now you navigate to system/app and delete at will.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
That doesn't work on the stock ROM
I would also like to remove some apps. I want to keep the stock ROM for now (tried some 2.2 and did not like them... I'll just wait for OTA) and I'm root. What are the posibilities?
Unrevoked only gives you root, you don't have to install a custom ROM. You could just root, keep the stock ROM and just delete whatever you want. Don't see much point in that though. I also hate FB, stock and all the rest but as long as you don't use them / sign in they don't do anything and the free space you gain will be useless.
Simply there is no way to remove system apps without root..
With root you can only do it in recovery by issuing adb commands or by simply deleting .apk files from a custom rom before you flash it.
edit: and i agree with pascanu no need, and you might just screw something up
So basically I have to get root access using something like Unrevoked3, then type in some commands (adb) in my computer, with the phone hooked up via USB, and delete the apps that way?
I can refer to one of the threads explaining how to use ADB, but a quick search tells me that I need to download & install the SDK to use it. Already we are getting way too complicated. Each solution I see involves downloading large files and installing software.
If this is the only way currently, than I can accept that. I have rooted phones and flashed ROMs before, and I am confident I could figure it out again if needed. I just don't want to bother now. I like the stock ROM from HTC on my Desire. All I want is control over exactly which apps live on my phone, just like I control which programs are on my PC. Imagine if you couldn't remove some toolbar or AOL from a new PC when you bought it? Scary, huh? That's where a lot of us are now.
Until it's easy and quick, I and the majority of users just won't bother. I'm still hoping it's possible, and if anyone can explain how to do it then please do.
Yes as i wrote there is no need for that, if you are going to root it should be because you want some of all the good stuff it comes with (wireless tether, a2sd, froyo, decent backup, custom theming etc.)
It is quite easy though.
I may know where you can get a pony..........

[Q] Remove Apps without Rooting

No Stranger to Android. However it is usually on a rooted phone. Now here my scenario. We are looking at issuing Defy's to our inspectors, however we would like to remove the bloatware apps such as Blockbuster, etc. So my question is whether or not there is a way to remove the apps without rooting the phones. I truthfully don't even care if its a paid app we need to do. Thanks!
You can't remove the bloatware without rooting but you could always root the phone using z4root, remove the bloatware and set things up how you like, install the custom recovery, create a backup of the rom then flash it to each of the phones and unroot them.
Yeah.....I was afraid of that. I figured that was the easiest way, but trying to explain that to the director is not going to be fun. At that point I might as well convince him to let me put Froyo or Gingerbread on it. hehe
z4root has a "temporary root" button, and when you reboot root is lost. Unninstall z4root and nothing happened
Perilla_ said:
z4root has a "temporary root" button, and when you reboot root is lost. Unninstall z4root and nothing happened
Click to expand...
Click to collapse
Sorry threadstarter for hijacking ur thread, but can you temporary root and remove all those unwanted applications and unroot it ? Is it possible ?
Yes, two options with z4root:
Temporary root: Install program, hit temporary root, remove all the baaaad stuff, reboot, uninstall z4root.
Permanent root: Install program, hit permanent root, remove all the ****, hit un-root, uninstall z4root.
Someone can say me if I am wrong?
Ok so I have z4Root installed and have rooted. Now how do I go about uninstalling apps I don't want. I looked under "Manage Applications" but all I see there are appps that I've installed.
Edit: Nevermind. I figured it out.
Edit: Nope still confused. Cant seem to find the "uninstall" button.
To remove unwanted stuff, the easy way is using rootexplorer, renaming the extension app from apk to bak for example. System apps are in /system/app.
You can too use adb, but it requires more knowledge.
Sent from my Defy using Tapatalk
As another follow up question on this. Is it possible to lock the phone down so that they cannot install any other apps on the phone? I know we could prolly lock the market, but we want it open just in case. Sorry.... never really explored using Android in a corporate enviroment and trying to enforce all the rules that you have under Blackberry and WinMo. Thanks!

[Q] Upgraded to 4.1.1 and lost rooting capability

I rooted my AT&T i747 with Android 4.0.4 a couple months ago and installed SuperSU as well and was working great. When I upgraded my phone to android 4.1.1 a few days ago I lost all rooting capabilities. My Titanium Backup Pro no longer has root access as well as my SuperSU and a couple of other apps that require it. I also have tried uninstalling SuperSU with no success.
Could I just reflash my i747 just like I did back on 4.0.4 to root it again or is there a way to correct the current root access? What would you recommend?
Thanks in advance!
If you took the official update then you have lost root. You just need to re root and you will be back in business.
Sent from my SGH-I747M using xda app-developers app
jbradbury said:
If you took the official update then you have lost root. You just need to re root and you will be back in business.
Sent from my SGH-I747M using xda app-developers app
Click to expand...
Click to collapse
I want to do it but this is what the app says on Google play...
"NOTICE: A SPECIAL PROCEDURE IS NEEDED FOR UNINSTALLATION. IF YOU DO NOT LIKE THE APP, DO *NOT* JUST UNINSTALL IT, YOU *WILL* LOSE ROOT.
Superuser access management runs through a so called "su binary". There can be only one of these at a time. So if you install SuperSU, your previous superuser access management solution will no longer operate. So if you want to switch back: (1) Open that application, and search for an option for it to install/update/replace the "su binary". (2) Confirm root-using apps are using the superuser solution you want. (3) Uninstall SuperSU."
Does that mean I will lose root for good if I just try to reroot it a second time without first uninstalling it? That is where I am having trouble as well. The app will not let me properly uninstall it from within the app.
Thanks.
SCADAman said:
I want to do it but this is what the app says on Google play...
"NOTICE: A SPECIAL PROCEDURE IS NEEDED FOR UNINSTALLATION. IF YOU DO NOT LIKE THE APP, DO *NOT* JUST UNINSTALL IT, YOU *WILL* LOSE ROOT.
Superuser access management runs through a so called "su binary". There can be only one of these at a time. So if you install SuperSU, your previous superuser access management solution will no longer operate. So if you want to switch back: (1) Open that application, and search for an option for it to install/update/replace the "su binary". (2) Confirm root-using apps are using the superuser solution you want. (3) Uninstall SuperSU."
Does that mean I will lose root for good if I just try to reroot it a second time without first uninstalling it? That is where I am having trouble as well. The app will not let me properly uninstall it from within the app.
Thanks.
Click to expand...
Click to collapse
That warning by Chainfire relates to the various other superuser shells out there (like superuser.apk, ROM-specific superuser shells). Wait, what's the shell? Let me explain:
OK, so having root means you have three folders/files available:
superSU.apk (the shell; it's an interface lets you allow certain apps access to the actual superuser files..think of it as the root gatekeeper..having it alone does not mean you're rooted...seems like you have this)
/system/xbin/su/ (folder with files SPECIFIC to SuperSU.apk...apps can ask superSU.apk to access these "root-enabling" files ...you lost this)
/system/bin/su (folder with files SPECIFIC to SuperSU.apk...apps can ask superSU.apk to access these "root-enabling" files...you lost this, too)
The latter two, the folders, are collectively referred as su binaries. His warning: if don't like using superSU.apk as your shell, do not simply uninstall superSU.apk. Why? I'm not totally sure, but I think it's because that will leave the su binaries, specific to his app! Then, when an app wants to ask for root, it doesn't know what the flip to do. It has to interact with the shell, but the shell is missing!
The special method to really remove root is:
creepyncrawly said:
You can remove root by using a root file explorer to remove /system/app/superuser, /system/bin/su and /system/xbin/su. After you reboot, you'll not longer be rooted.
Click to expand...
Click to collapse
OK, the "what is going on behind the scenes" is over. To get root back:
Basically, you need to replace the su binaries. But, the only way I know how is to replace all three of those parts. I'm pretty sure you're fine to "overwrite" the 1/3 of root you already have (SuperSU.apk). Thus, you have two main options:
1) Use CF AutoRoot (http://forum.xda-developers.com/showthread.php?t=1963790). It will temporarily flash a modified recovery, and then add those binaries and the SuperSU.apk, and then flash the stock recovery back, but it will trip the flash counter. Takes 30 seconds. Should be safe, because it will just overwrite the apk and add the su binaries. [I rooted this way; triangle away is cheap to reset the flash counter!]
2) Use Mr. Robinson's method (http://forum.xda-developers.com/showthread.php?t=1739426). This contain a /system image with all three aforementioned parts. Will take about 15 minutes, but will not trip the flash counter. As long as you're on stock firmware (which I think you are), this won't delete any apps/data.
I got it rooted again. Thanks for help guys. I just reinstalled the supersu.apk and the binary files and it's rooted once again. Whoo-hoo!

Why Should I root?

Hey guys! So I had a Samsung vibrant for years before I got a 920 and rooted it. I would then of course flash roms every week. I looked over the main features of the Roms coming out for the new nexus 7 and don't see anything that I can't already do, but I may he wrong. Can you tell me what is unlocked if I root my amazing new n7? (Apps I can use if rooted , features, etc) Thanks!
Sent from my Nexus 7 using xda app-developers app
I am more than happy to answer that question for you. First: I want to shed a little light on what 'rooting' a device means, and what flashing new ROMs entails.
First and foremost: root is not required to flash new ROMs. Having root access to the file system is having full control and rights to your files. Think of it like having an Administrator account in Windows. You're free to manipulate all files on your device, including core system files, which is why you don't have root access by default; the normal end-user wouldn't know which system files do what and could delete a very important file that could soft-brick their device, or could download a malicious app that would do the same (think of it as a virus in Windows)(Protip: if you only download apps from the Play store, you're good).
Second: the only thing required to flash a new ROM is your bootloader to be unlocked, and maybe a custom recovery is required, I'm not too familiar with the stock recovery and whether or not you can flash .zips from there. Unlocking your bootloader enables you to flash unsigned images to your device, a custom ROM in this case. Here's where the confusion happens: when you flash a new ROM, it overwrites your old ROM, including the superuser status you had. Most custom ROMs have root enabled by default, which is why it seems like your old root access carried over. Think of flashing a new ROM as re-installing Windows on your computer. All of your old profiles are erased and you need to set up new ones. Having root access is like setting up your Administrator profile and using it.
Third: the benefits of rooting. I personally use root specifically for Titanium Backup, Cerberus, ES File Explorer, and franco.Kernel updater. If you don't know what those apps do, I'll explain. Titanium Backup backs up all of my apps so when I flash a new ROM, I can easily restore them, instead of having to manually re-install them from the Play store which takes time and sometimes, data. TB needs root because it's installing apps on your device automatically (after you tell it to). You can see why you would need root there. Cerberus is an anti-theft app, which needs root to remotely activate sensors like GPS, camera, take screenshots, show messages, get device info, etc. Again, you could see why root would be needed there: security. ES File Explorer (any root explorer app) needs root because, well, so you can see and manipulate files that you need superuser status to do those things. I use it for many miscellaneous reasons such as renaming my nandroid backups. franco.Kernel updater I use to tweak my kernel settings.
Now, I'm not trying to convince you to root. That is a decision that should be made by you. Having root comes with potentially negative consequences. You could mess up your ROM. The chances are very slim, and very reversible (worst-case scenario: flash new ROM), but still very real. If you don't know your way around the bootloader, or how to restore factory images to the device, it could be frustrating to fix a soft-brick caused by system files being manipulated. Still, you have XDA, full of helpful people and plenty of guides and if you have the patience to read and listen to advice, you should be able to learn how to fix your problem, should one arise.
Ok, sum-up. Having "root" is like having Administrator rights on Windows. Installing ROMs is like re-installing Windows on your computer. Recovery is like the BIOS on your computer. Therefor, root is not required to flash a new ROM, only your bootloader unlocked (possibly custom recovery). Root is nice to have, and poses almost zero risk to hard-bricking your device. Having root could soft-brick your device if you don't know what you're doing, however, and could potentially be very frustrating if you don't know your way around the bootloader and/or recovery. If you have the patience to learn or listen to advice, it can be fixed though. It's up to you to weigh the risks and rewards. One thing to keep in mind: if you only download apps from the Play store, you should be 100% A-Ok to have root. The only way to soft-brick your device then, is if you're in there poking around with files you shouldn't be messing with (so, user-error). If you do decide to root and/or flash new ROM's, I'd advise in doing it manually at first instead of using toolkits. That way, you can see what's happening, which could come in handy if something should come up later.
Well said, Johnmama.
Basically, the #1 reason I root is Titanium Backup. I do also use some additional root apps, like ES File Explorer, but I could live without them. Titanium Backup is the ONE app that I will not do without.
The majority of custom ROMs already come prerooted.

How to get S-off?Rooted and Unlocked

I am needing help on how to get these stupid bloatware programs off this phone. When you are locked down with 8GB of internal storage, every MB you can gain back helps alot! It doesnt matter how many times I uninstall them, if you reboot the phone they come running back to steal up my MB's. This is why I should have went with a unlocked phone in the beginning, but if I can do it to this phone it will be okay. I am thinking that I might have to flash back to stock and do it right then but I know there has to be a thread out there or someone that knows how to do this...Thanks!!!
if you're rooted, just use something like root manager. I personally use even es file explorer with root permissions to uninstall system apps
no need for S-off. if you wanna keep them gone, you can try several things; first install this patch, then change all settings on playstore and software update on settings to prevent automatic installation of apps, then uninstall all those unnecessary apps

Categories

Resources