android rooting without a pc ? - General Topics

hi, is it conceivably possible to root a fone with something like connect-bot. since it's local command-line shell has access to the directory tree above /mnt/sdcard , couldnt someone download the files needed for the root to the fone via the web browser and copy them to the correct locations with something like connect bot ?
i am new to android so i am wondering if there is a hole in my theory ?
thanks,

Depends on the phone really. Some need to flash files you normally can't while OS is still up. Some, perhaps?

There are root deployment applications which can be ran on some phones
Sent from my Verizon Supersonic using XDA App

thanks, i wonder if there is a roster of files that need to be updated/ replaced for rooting a 'samsung galaxy s2 epic 4g touch by sprint' (i hate that name).
the reason why i ask is because since android has a perfectly capable linux command-line and file browser then there is no need for windows. (i managed to install heimdall on fedora but i have a suspicion that the apb just runs the commands as if it was run directly on the fone).

Most of the phones need to connect into PC usb port... unfortunatelly

The way of rooting depends on which android version you are using. Some exploits allow applications to get root privilege; others, like psneuter(2.1) or zergRush(2.3.3) work restarting the ADBd with root privileges by making it believe it's running on a test(rooted) phone.
On the first case, I remember an application called "Universal Androot", which I used to root my first Android phone, SE Xperia X10 mini, when using Android 1.6. That app exploited some security error on the system, and gained root itself, so I rooted my phone without need of a computer. Also, for 2.3 API Level 9, I think GingerBreak has an android app which does the same.
For the second type(the most common), it's necessary to use a computer, as the only way to get the root privilege once exploited is via the ADB console "adb shell". The other processes will remain running with their original privileges.

^ thx for the explanation. kinda' like you cant upgrade the kernal of a running system.

hmm that would be nice if someone sort this out..

Like Z4?
HTC Thunderbolt running MIUI

sort of, but more related to android security: exploits like psneuter & zergRush attack ADBd to make it run as root. other exploits, like gingerbreak, give root privileges to the application which run the exploit(somehow equivalent to running "su" on the terminal)
Sent from my MK16i using XDA App

Related

[Q] 1 Click Root for Mac OS X?

Is there a 1 Click Root for Mac OS X? I want to Root, S-OFF, and Gold Card...
Get bootcamp
Sent from my Desire HD using XDA App
i will be trying to do this from a windows virtual machine on a macbook pro. ill let you know if it works. i see no reason it shouldnt
I had a go at it through Parallels on a Macbook and it worked smoothly.
wats parallels
Moved to general as not android dev.
I did the hack kit using terminal commands. install android sdk for mac and everything else is just step by step in the hack kit. there's a gold card app on the market too.
Sent from my Desire HD using XDA App
g4ess said:
wats parallels
Click to expand...
Click to collapse
It runs Windows in a windowed format through Mac OS as opposed to booting up in Windows like Boot Camp.
I actually ended up using the hack kit with terminal commands and adb. It was my first time rooting and i see the value of doing it this way. You gain more knowledge of what is happening with your phone. And if you have a mac with out a virtual windows machine then I want to recommend not being afraid of manual rooting.
Sent from my Desire HD using XDA App
emarsha said:
I did the hack kit using terminal commands. install android sdk for mac and everything else is just step by step in the hack kit. there's a gold card app on the market too.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I did the same thing the first time I rooted an Inspire. I believe I Still have the terminal output I saved (I was siked I got it to work - it was my first bit of rooting/terminal use ever). If it would help to see what I did, PM me.
EDIT: and Yes, above poster killersnowman is 100% correct. When you do it yourself you learn much more. When I first got my (first) inspire, I looked at the root instructions and they were WAY over my head. After just clicking around and browsing around on XDA, I felt like I was ready to tackle it after a few short days. Granted, it took me probably around three hours of trial, error, and asking for help from the incredibly helpful people on this board - but I got it! You can too.
I did the Simple Root running Windows XP in Parallels without a problem on my MacBook Pro. Now I am wanting to go back and redo the root with the Hack Kit to solve the HUSPA problem we simple root people are having but I am having a few problems with the terminal. For some reason I keep getting told HTC device is not found when I run the first command.
If anyone does use the hack kit on a mac and figures this out please let me know. The Mac users are the minority with Android so we need to stick together a bit here. I still am yet to find a good set of directions on how to "use" the terminal. When the Hack Kit directions start with "navigate to the folder" I have to assume I am doing things right by typing in the file path.
If you did pull it off and are willing to do a screen capture of your terminal that would be pretty great too.
bmolloy said:
I did the Simple Root running Windows XP in Parallels without a problem on my MacBook Pro. Now I am wanting to go back and redo the root with the Hack Kit to solve the HUSPA problem we simple root people are having but I am having a few problems with the terminal. For some reason I keep getting told HTC device is not found when I run the first command.
If anyone does use the hack kit on a mac and figures this out please let me know. The Mac users are the minority with Android so we need to stick together a bit here. I still am yet to find a good set of directions on how to "use" the terminal. When the Hack Kit directions start with "navigate to the folder" I have to assume I am doing things right by typing in the file path.
If you did pull it off and are willing to do a screen capture of your terminal that would be pretty great too.
Click to expand...
Click to collapse
When navigating to a folder on a mac, in the terminal, the command is: cd
Then, I would try to do as little typing as necessary to avoid a mistake. I would put in the command cd and then from my finder, physically drag the folder I wanted to navigate to INTO the terminal window, which automatically puts the correct file path.
cd [drag the folder into the terminal window from finder] and voila! It really is pretty easy. Now that you know that, take another look at the directions and see if you think you can make your way through them.
The only mistake I kept running into which someone helped me out with was that I wasn't making the gold card correctly. When I put the command in to the terminal, I wasn't specifying the actual drive, I was specifying a partition on the drive, and the goldcard failed, but looked like it succeeded. 99.9% of the problems you can run into have to do with making an incorrect goldcard I believe.
I have been trying this without restoring to stock, running CM7. I continue to get the "Error detecting HTC phone on USB connection". I will probably restore to stock when I have more than 3 minutes of free time... So it might be a while!!!
If anyone pulls this off without being restored to stock or while running CM7 any advice would be appreciated.
Thanks.
bmolloy said:
I have been trying this without restoring to stock, running CM7. I continue to get the "Error detecting HTC phone on USB connection". I will probably restore to stock when I have more than 3 minutes of free time... So it might be a while!!!
If anyone pulls this off without being restored to stock or while running CM7 any advice would be appreciated.
Thanks.
Click to expand...
Click to collapse
Is usb debugging on? Is the phone connected but NOT in usb mass storage mode? Im not sure but i think cm7 gets rid of fasboot so i dont think you can turn it off
Also if you have cm7 installed then why do you want to root it again? Its already rooted. If you want a new rom the just use rom manager. But if you want to root again then you should restore to stock
Its from my damn phone!!!
Yes, I am set up with USB debugging on but for some reason it will still not recognize the phone, I am sure it has to do with the fact that I am not running a stock ROM.
The reason I want to root again is because I do not have HSUPA enabled because I rooted with the Simple Root, which flashes a stock radio on that does not allow for HSUPA. Using the Hack kit you end up with the right radio that allows you to have the faster upload speeds. I also want to do the hack kit so I can get a better understanding of terminal commands and adb. I have been never found a reason to use the terminal before so this is a nice new challenge.

[Q]Can we install any app to unlocked emulator

like wp7root tool after install.
we need to restart phone.But after restart Emulator all application will gone.
So you problem is the file sticking? Is it saving anything to the memory? I.E. is it saving any .txt files or user data files? If not the root tool maybe to blame. The root maybe accessing the root of the phone but not saving anything through the shell. Think of it this way, it's like android only windows. Android has shell files too, but the root tool has to bypass the shell security to allow you complete access to everything. If your not able to "pass" it, then you'll lose everything.
Sent from my LG-P999 using XDA Premium App
It just works that way
Zen3515, you are not talking about a real phone, you are talking about the WP7 emulator on the PC, right?
Well, that's just the way the emulator works - otherwise it would probably be much too easy to trash the emulator, it has to start afresh after every "boot".
Maybe it's possible to hack that and prevent the emulator from deleting everything between reboots, but I never heard that somebody is working on hacking the emulator. Maybe that's just not interesting enough?
Even if the emulator image is interop-unlocked (I don't know, but I doubt it), Root Tools wouldn't work.
How
How do I access the internet application for the emulator?
I even can not install the application on the emulator I can not put the application out to the Internet
Ps: The IE internet browsing goes normally.

[Q] Rooting with Terminal Emulator - is it possible?

So, i was fooling around my tablet, then i thought : why not run a cmd on this thing and try to root..
Well, that sounds kinda stupid but i was wondering if it is possible to do that without a computer connection...
If there is some way to that or if it is impossible pase let me know.... :good:
Progress?
So, here i was playing with the terminal emulator then i tried to rub wireless adb from my rooted phone using ROM Toolbox here are my acomplishments..
So please some one help me and tel me something. –. –
All this was done from my non-rooted tablet.
most of the exploits (psneuter and zergrush) all involve jacking around with adbd and an on device terminal emulator wouldnt help cuz it doesnt utilize adbd.
Now what you can do is give off wireless adb (if supported on a stock rom which i doubt it) and use this client https://play.google.com/store/apps/details?id=com.jaja.remoteadb
to connect to your device with another device then shoot over psneuter and give it a whirl but like i said , wireless adb being supported by the rom is so unlikely and even if it was supported on stock it would at least be on jelly bean which i dont think is vulnerable to either exploit.
Have fun though

[Q] Andriod rooting query

Hi there,
I am a newbie in Android development. I was wondering if there is any generic way to temporarily root any android devices? Or does rooting depends upon manufacturer\Android version? I was able to root(via zergRush exploit) a Samsung handset which runs on Android 2.2, however it failed on other devices running on different version of Android. I am working on Windows 7 32 bit machine.
Please suggest.
I yout have compatible phone, you can use Farmaroot, it's one click apk, no need to use computer or cable.
see http://forum.xda-developers.com/showthread.php?t=2130276
According to the links given, it seems that the exploits(rooting) are processor\manufacturer dependent. I am into forensics, so installation of apk on the devices is not an option. Is there any published list of exploits for various Android devices? Please suggest.
You can root any device because you can upload and execute a blob but it's only possible to do this in /data/local/tmp folder. You can upload the exploit and make it executable and then let it crack android. Then you can upload su and install it permanently. Most likely the system is read-only so need elevated privilege.

[Q] Samsung Galaxy Pocket GTS-5300 - android - win file transfer

hi all, i know this is a developers' community but it's also a unique source of information on related matters so inevitably here i am (an end user)
system:
pc: windows 7 x64 pro os
phone: samsung gts-5300 (galaxy pocket), android os (gingerbread xxlj4), ('rooted' following these instructions)
question:
is there a way to be able to manipulate files in the phone through usb cable with a windows program (like a file manager)?
or at least can it be done using console commands?
note that by 'files' i mean android os files too
the issues:
'rooting' that phone does not actually grant root access to the system files but merely grants access to the su app and a glimpse of the system files
so yes we say it's 'rooted' but you can't actually pull any system file to a windows folder for example bcz you don't have the permissions required
i have installed numerous applications, on the pc and the phone, android sdk, android commander, qtadb, droid explorer, adb insecure, rom manager so i suppose that if someone gives me a set of steps i could hopefully quickly reply the problem that comes up on each step (obviously i don't think there is a quick solution to this, i know im an optimist...)
as far as i can understand, adb insecure should be the solution to this problem for similar devices where 'rooting' is not actually rooting, but im having the already mentioned and i suppose resolved issue of it causing the usb debugging mode to go off, and the problem is noone in the related thread actually mentions how that problem is overcome
thnx for your time

Categories

Resources