[Q] Root Exploit Suggestions - General Topics

Okay, time for some reverse engineering. So you know how on Android you use a root exploit to gain 'administrator' (or SU) access to the phone?
Why hasn't anybody tried this with Windows or Mac? I would assume that it would work for Mac because it's a UNIX environment.
But seriously? Why hasn't anybody tried the same approach to get Windows authority from within the environment?

Related

android rooting without a pc ?

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

Understanding programming for rooting...

Hello, Developers!
Yes, I'm a Newb looking to get educated...
I have experience programming algorithms (VBA), but no experience with Linux syntax, nor Android app development.
In turn, I figure the best way to learn is to start from the very begining.
I'd like to learn, through step-by-step instructions (or someone working hand-in-hand with me), by begining with how to root a device.
I want to work from scratch by altering the existing files on my tablet, instead of using pre-packaged scripts, files, apps, or programs.
I have already installed (on my Desktop), what I believe to be, all the potentially necessary tools, such as: Android SDK, JDK, Eclipse, Android device drivers, Virtualbox, and Ubuntu.
So? What's next?
Which files do I need to start tearing into and examining to determine what alterations need to be made to enable SuperUser Root access?
Thank you in advance for your time and patience.
Equipment
Coby Kyros, MID9742
Android ICS 4.0.3

4.1.2 Mac root?

I remember there was a java program that someone released a while ago to root the S3 for Macs, but that method obviously no longer words. I was wondering if (because I haven't found) a root method that can be done via Mac? I know about virtual box and all but I was hoping for a native approach.

[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.

[Completed] [Q] Linux Deploy Help

Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
I'd also like to add that some normal commands were not accessible in the terminal even though it said that I had root privileges. Therefore, I could not get done what I would like to even if I were to do everything in the terminal .
jackfitz5 said:
Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
Click to expand...
Click to collapse
There is not a specific XDA forum for Kali Linux.
You might find some help in Ubuntu Touch General
or [APP] Linux Deploy by AbuYahya
Which S3? SGH-I747 or I9300, I9305 ...

Categories

Resources