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
Related
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
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?
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
Ive just ordered a desire z and have been reading a bit on the uber root method.....
What i want to know is can I use a file manager to install the visinary.apk and then the terminal emulator from the phone to run all the adb commands?
Reason i ask is cos A) ADB freaks me out....just the install instructions make my head spin and B) i havent got any space on my even if i wanted to install it....
Im aware that you need to install the gscript to /data/local but can this be done just by dropping it into the relevant place rather than pushing it using ADB?
and assuming I can?
Which bits of the commands do i run ? looking at the following.....
adb push gfree /data/local
adb shell
su
cd /data/local
chmod 777 gfree
./gfree
sync
do i just pick this up from the point of SU?
oh and errr if ive completely got the wrong end of the stick then please say.....id sooner look stupid than have a £420 brick
cheers peeps
Yes, if you want you can copy the gfree program to your SD card via some other method, and then pick up the instructions from the su onwards.
An alternative is to run the "rage" method of rooting, but if you don't like adb (it's a lot easier than it might look) then maybe that's not for you.
steviewevie said:
Yes, if you want you can copy the gfree program to your SD card via some other method, and then pick up the instructions from the su onwards.
An alternative is to run the "rage" method of rooting, but if you don't like adb (it's a lot easier than it might look) then maybe that's not for you.
Click to expand...
Click to collapse
TBH its not the ADB commands that i struggle with its the setup of ADB itself.....ADB, SDK, HBOOT drivers, issues with windows 7 etc....
Im happy running the commands and sort of understand what im asking my phone to do so if i can get by without ADB i will try
Thanks for clarifying though
rtorbs said:
TBH its not the ADB commands that i struggle with its the setup of ADB itself.....ADB, SDK, HBOOT drivers, issues with windows 7 etc....
Im happy running the commands and sort of understand what im asking my phone to do so if i can get by without ADB i will try
Thanks for clarifying though
Click to expand...
Click to collapse
I suggest you to read the Easy root / flashing tutorial and FAQ post located at android development subforum
And regarding ADB, if you daownload qpop's "uber root" package, everything required is inside the zip, even ADB is inside
i used gtrab's guide...
super easy and no adb necessary.
http://forum.xda-developers.com/showthread.php?t=835777
bradleymor said:
i used gtrab's guide...
super easy and no adb necessary.
http://forum.xda-developers.com/showthread.php?t=835777
Click to expand...
Click to collapse
Things evolve quicky, problem with this guide is hBoot step was very risky, and it was sort of a "false" S-OFF
The newer method is easyer, safer, and doesn't require manually flashing hBoot
The guide has been reestructurated accordingly
gtrab said:
I suggest you to read the Easy root / flashing tutorial and FAQ post located at android development subforum
And regarding ADB, if you daownload qpop's "uber root" package, everything required is inside the zip, even ADB is inside
Click to expand...
Click to collapse
I've already read them pal, that's why im here...I was just clarifying that I could use the terminal emulator rather than adb.....I'm pretty sure what i need to do now so its cool
Cheers peeps
Sent from my HTC Hero using XDA App
rtorbs said:
I've already read them pal, that's why im here...I was just clarifying that I could use the terminal emulator rather than adb.....I'm pretty sure what i need to do now so its cool
Cheers peeps
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
The reason the guide is all ADB is that its much easier to get right with adb...seriously there's no install needed, just open up a command prompt in windows seven (or use the packaged cmd.bat from my zip) and follow instructions. No install needed, no complexities, no messing around with a very limited terminal clone.
But yea, as long as you get the gfree file onto your phone it should be ok
qpop said:
The reason the guide is all ADB is that its much easier to get right with adb...seriously there's no install needed, just open up a command prompt in windows seven (or use the packaged cmd.bat from my zip) and follow instructions. No install needed, no complexities, no messing around with a very limited terminal clone.
But yea, as long as you get the gfree file onto your phone it should be ok
Click to expand...
Click to collapse
Ok cool....sounds a bit more promising....will give it a bash....at least I know I now have a plan b with the term emulator if I have problms
Cheers
Sent from my HTC Hero using XDA App
As someone who had never even heard of ADB and is on his first Android phone..believe me when I tell you that all these different instructions and methods made my head spin! What I ended up doing was (can't remember which "method" it was called) just downloading the VISIONary program onto my SD card, and then running it right from the phone to achieve my ROOT. Once I was rooted, I used the UBERROOT method for S-OFF. I simply downloaded the ADB program (and whatever else it was that came with it)..let it go thru it's updates and made sure the computer recognized my phone (by making sure drivers were installed). Plug your phone into the computer..open up the gfree program you downloaded...and inside there is two main programs..and exe and the cmd. I ran the exe, then simply opened up the cmd program..entered the necessary commands..and viola! It really was simple once I finished it.
So by using
Code:
adb pull /system/ [destination folder name]
I can pull every file off of my android phone's foreseeable memory, correct? Every time I have flashed or pushed anything through ADB, I never quite understood where things were located or what exactly I'm doing. I feel like pulling every file/directory off of the phone will give me some insight into how the hierarchy works, especially being able to browse it with a GUI.
Am I correct, or is there something I'm missing?
I'm not familiar with adb, but a file explorer is an easy way to poke around the file system and learn where things are. Just don't go on a deleting spree and you'll be fine.
epic4GEE said:
I'm not familiar with adb, but a file explorer is an easy way to poke around the file system and learn where things are. Just don't go on a deleting spree and you'll be fine.
Click to expand...
Click to collapse
I have done that, was just kind of hoping for a better GUI alternative. I'm much faster with a Mouse and Keyboard than I am with a touch screen.
Although attempting to pull a directory has resulted in an interesting problem - when using the command above, it doesn't pull all the files. It pulls some and then stops. Any idea why?
From your PC, type 'adb shell'. Now you're logged on to your phone in an interactive session with a shell prompt, and can explore from your PC terminal window.
It's linux, so you'll have to learn some linux commands, if you don't know them already. For exploring the filesystem, 'cd' and 'ls' are the main ones you'll need.
Sent from my mind using telepathitalk
dwallersv said:
From your PC, type 'adb shell'. Now you're logged on to your phone in an interactive session with a shell prompt, and can explore from your PC terminal window.
It's linux, so you'll have to learn some linux commands, if you don't know them already. For exploring the filesystem, 'cd' and 'ls' are the main ones you'll need.
Sent from my mind using telepathitalk
Click to expand...
Click to collapse
Hmm, well I've used adb shell before. Wasn't sure what to do from here, though. Will all linux commands work or just some?
rjhall said:
Hmm, well I've used adb shell before. Wasn't sure what to do from here, though. Will all linux commands work or just some?
Click to expand...
Click to collapse
I believe all the basic commands will work.
cd, ls, mkdir, rmdir, rm, ect,ect.
I like Droid Explorer:
http://de.codeplex.com/
looks like and works like Windows Explorer, lets you browse both the "phone" storage (system, etc) and the sdcard. Pure GUI.
When I try to cd to any of my directories on my phone, it says access denied. Do I need root? And is there a way to manually gain root with the Epic 4G? I tried the whole one click root BS, it doesn't work - just freezes. I'd rather do it manually anyway, but I can't seem to find a single guide with a comprehensive file list! None of the stickies seemed to match what I was looking for either, or the links were dead.