Superuser permissions removal - Nexus One General

I am able to open terminal emulator, but I don't know the commands to remove superuser permissions app. Can someone help me out? or is there an easier way?

HotdogH20 said:
I am able to open terminal emulator, but I don't know the commands to remove superuser permissions app. Can someone help me out? or is there an easier way?
Click to expand...
Click to collapse
Why in the world do you want to remove the app that allows you to use root?

Related

how remove apps on unrooted phone?

so, things like amazon mp3 download, which constantly starts itself up, is useless to me. i can adb shell into the app folder, but i don't know which app it is, or even if i even have permissions to remove it, since i haven't rooted my phone.
any suggestions, help?
timothydonohue said:
so, things like amazon mp3 download, which constantly starts itself up, is useless to me. i can adb shell into the app folder, but i don't know which app it is, or even if i even have permissions to remove it, since i haven't rooted my phone.
any suggestions, help?
Click to expand...
Click to collapse
You have to have root for this, sorry
But when you do root: com.amazon.mp3.apk
Sorry to noob it up in here, but I have root and have been dying to delete the facebook app. Can you put it in simple terms?
:/ what are the possiblities that brute force su password checks would work? i mean, this thing has to have a password, right?
kozm0naut said:
Sorry to noob it up in here, but I have root and have been dying to delete the facebook app. Can you put it in simple terms?
Click to expand...
Click to collapse
u need to establish a command line shell. first you need the sdk, which is probably easier to install with eclipse, just so you have everything. there are instructions around here somewhere.
once you have that, go to the sdk/tools folder in a terminal, and type in 'adb shell', and that'll put you into the file system for the phone. cd to the app directory, and if you have root ownership (dangit), you can remove apps or add apps
on your pc, open command prompt, and type in adb uninstall [directory to the application]
timothydonohue said:
:/ what are the possiblities that brute force su password checks would work? i mean, this thing has to have a password, right?
Click to expand...
Click to collapse
No, it doesn't

How do you remove apps using ADB?

I can't seem to figure out how to remove stock apps using adb? Can anyone list the commands needed to do this?
adb remount
adb shell rm /system/app/YourApplicationHere.apk
cloudedice said:
adb remount
adb shell rm /system/app/YourApplicationHere.apk
Click to expand...
Click to collapse
Does this completely remove the app? I mean in particular the listing in the app drawer, as well as in the "Manage Apps" section (if applicable). Also where will app data be stored, if used?
Thanks
yes, completely.
use "adb shell ls -1 /system/app/" to find out the exact name of the app you want to delete, it's caps sensitive.
you can try these 2 programs to remove apps
you should try using android commander or droid explorer. search for them in the forums. they are free and help out a lot.
+ For Droid Explorer: http://de.codeplex.com/ I use this and it is pretty handy. Though you can just be lazy like I usually am and just uninstall apps via Titanium Backup. I haven't tried Android Commander (yet, but maybe I should...) but in interest of being fair, you can find it here: http://handheld.softpedia.com/get/Desktop-and-Shell/Windows/Android-Commander-93099.shtml and the official site is here, but didn't find it very well laid out (no offense PanPiotr...): http://androidcommander.com/
One other thing if you want to backup the app to your sd use cp /system/apps/appnname /sdcard/backup/appname
Sent from my Eris using XDA App
Sorry to ask such a noob question, but I just ran Unrevoked 3 and unrevoked forever. Everything seemed to work correctly, but when I try and run androind commander to delete files it says I need root permissions. I saw the superuser permissions icon in my app list, but when I click it nothing happens. Did I miss something?
ryanmc2033 said:
Sorry to ask such a noob question, but I just ran Unrevoked 3 and unrevoked forever. Everything seemed to work correctly, but when I try and run androind commander to delete files it says I need root permissions. I saw the superuser permissions icon in my app list, but when I click it nothing happens. Did I miss something?
Click to expand...
Click to collapse
do you use other apps (setcpu, etc) that require Superuser permissions? any issues with those? if you do have other apps that have SU permissions, then uninstall/reinstall Android Commander... it should then request permission again.
if neither situation applies... use the directions above to remove the Superuser.apk file from /system/app and then go to this thread and download the new Superuser app
http://forum.xda-developers.com/showthread.php?t=682828

[Q] rooting question and yes i searched prev threads

after I root is there some kind of linux command line utility I can use or are my newbie underpants showing. Just want to feel like I know what's going on underneath the covers.
paulmceh said:
after I root is there some kind of linux command line utility I can use or are my newbie underpants showing. Just want to feel like I know what's going on underneath the covers.
Click to expand...
Click to collapse
You can use terminal emulator good free app from the market. Just type su when you start the app each time so you have full access to the file system.
Crsdr37 said:
You can use terminal emulator good free app from the market. Just type su when you start the app each time so you have full access to the file system.
Click to expand...
Click to collapse
Awesome. Thanks a ton.
Crsdr37 said:
You can use terminal emulator good free app from the market. Just type su when you start the app each time so you have full access to the file system.
Click to expand...
Click to collapse
Don't forget to pick up busybox off the market so you have more useful commands similar to typical linux command line functions. It not required exactly, but does extend what you can do and there are plenty of other apps that will need it.
Or to properly root it and much easier 1 time only, use gingerbreak
http://forum.xda-developers.com/showthread.php?t=1055354
enjoy

[Q] How can i get ADB ROOT? i want to know rageagainstthecage's working principle

hi,guys!
as this title says i found a tool named "rageagainstthecage",but i want to know how dose it work.Can anyone help me ? thanks
try superoneclick
Are you using Linux to grant root access on your Defy?
I rooted mine yestarday and I was a little confused on how to make it, I have same file as you as I read. rageagainstthecage is the exploit that will you grant root privileges. The instructions for linux are here [1]. I replaced 'exploit.bin' with 'rageagainstthecage' or you can use the one provided in that post 'psneuter', the proccess is simple
1. Copy files to phone using adb (I used /data/local/tmp as directory in the phone): su, busybox, Superuser.apk and exploit (exploit name, let's say: rageagainstthecage)
2. Make the exploit executable and execute it
3. Give permissions to the commands su and busybox
4. There you go
All the credits for the autor of the post on IBM forum
I hope this help you with your question
[1]
PHP:
www_ibm_com/developerworks/mydeveloperworks/blogs/coolwinding/entry/how_to_root_defy_on_linux1
jianbangguo said:
try superoneclick
Click to expand...
Click to collapse
Dose the superoneclick use "rageagainstthecage" to grant adb root access? i just want to know "rageagainstthecage", how dose it work? can you help me? thanks
cristianpark said:
Are you using Linux to grant root access on your Defy?
I rooted mine yestarday and I was a little confused on how to make it, I have same file as you as I read. rageagainstthecage is the exploit that will you grant root privileges. The instructions for linux are here [1]. I replaced 'exploit.bin' with 'rageagainstthecage' or you can use the one provided in that post 'psneuter', the proccess is simple
1. Copy files to phone using adb (I used /data/local/tmp as directory in the phone): su, busybox, Superuser.apk and exploit (exploit name, let's say: rageagainstthecage)
2. Make the exploit executable and execute it
3. Give permissions to the commands su and busybox
4. There you go
All the credits for the autor of the post on IBM forum
I hope this help you with your question
[1]
PHP:
www_ibm_com/developerworks/mydeveloperworks/blogs/coolwinding/entry/how_to_root_defy_on_linux1
Click to expand...
Click to collapse
pardon my poor english,I just want to know how dose it work, for example : rageagainstthecage's Working principle,not how to use "rageagainstthecage" to grant root access,thank you !!
The principle of how it works is very simple, the rageinthecage exploit just forks proccesses until the proccessor hits the max, then the system will kill the olders apps, because you are using adb and running psneuter, the system will kill the adb shell, and here is the magic, when you restart the adb shell it start with root rights, to prevent that, inmediatly adb starts, the system calls setuid function, but because the proccesses list is full, the explot prevents the setuid call, allowing you to maintain the root rights, and in that point, you push Superuser.apk to allow the root access to the apps, changin before the permissions to the su binary allowing you to call that binary with a less rights user, that is the idea beyond the exploit!, wish that help you!
Sorry for the bad english
LeonardoJegigzem said:
The principle of how it works is very simple, the rageinthecage exploit just forks proccesses until the proccessor hits the max, then the system will kill the olders apps, because you are using adb and running psneuter, the system will kill the adb shell, and here is the magic, when you restart the adb shell it start with root rights, to prevent that, inmediatly adb starts, the system calls setuid function, but because the proccesses list is full, the explot prevents the setuid call, allowing you to maintain the root rights, and in that point, you push Superuser.apk to allow the root access to the apps, changin before the permissions to the su binary allowing you to call that binary with a less rights user, that is the idea beyond the exploit!, wish that help you!
Sorry for the bad english
Click to expand...
Click to collapse
Great info, thanks for sharing this with us I was wondering the same

Can't delete system apps with root

For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
bkores said:
For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
Click to expand...
Click to collapse
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this will disable it
adb shell reboot disemmcwp
peramikic said:
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this
adb shell reboot disemmcwp
Click to expand...
Click to collapse
Thanks. I'll try this when I get home and update with the results.
It worked! Thank you so much! @peramikic
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
dunas2331 said:
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
Click to expand...
Click to collapse
if you use adb:
adb shell reboot disemmcwp
if you use terminal emulator:
su
reboot disemmcwp
if you use TWRP terminal:
reboot disemmcwp
Thanks it worked I used twrp
chek my youtube video

Categories

Resources