Manual rooting of stock rom - myTouch 3G, Magic Android Development

Hey all,
I want to root my HTC magic but keep the stock firmware on it (mostly just to do wifi tethering). I've gotten as far as getting a su binary on the phone which claims to allow all apps to su (from http://android-dls.com/wiki/index.php?title=Magic_Root_Access ), and i can get root when i adb shell into the phone. However, android-wifi-tether still claims that it's "unable to start tethering", which i put down to needing some sort of bridge between the java apps and the su binary? Something that pops up for example, that dialogue in cyanogen about whether or not you want to grant root?
Any ideas?

Related

Does ADB require rooting your phone?

I'm trying to delete the GenieWidget from my phone, and it won't install from Applications > Manage, the uninstall option is not highlighted anymore. It use to be, but not any more, very odd. I tried Terminal, Root Explorer but those require root and I'm on stock 2.2 Froyo (Evo 4G). I tried ADB, install it, everything is fine, I even type in "adb devices" in the cmd prompt and it finds my phone. When I type "adb shell" a "$" appears and whatever I type says "permission denied".
When I type "adb" all the adb info comes up fine, when I tried to type "adb uninstall [insert apk here] I get a "failed" or I get some Java error telling me to put Java in the path (same path as the Android SDK Tools) but I have and its still not working.
Please help!
The GenieWidget lives on /system/ and requires root to access that partition. ADB itself does not require root, but the action you want does.
Any other way to get to it? This is stressing me out. I just want to delete it and add a modify one, thats all.
Like I said, it requires root.
Dude I installed it on my phone, I've deleted it multiple times, all the sudden now I can't uninstall it.
The only thing I can think of is, it came preloaded on my phone with the 2.2 Froyo update which would make since that I can't delete it without root access.

[Q] su errors when trying to root

hello, I have been trying to root my motorola backflip 1.5 for over a week now with no luck. I have been trying the rageagainstthecage-arm5.bin method and it seems to run fine but when I run su in the terminal emulator it gives me the following error:
bionic/linker/linker/.c:1581| ERROR: 7265 could noot load ´libbinder.so`
bionic/linker/linker/.c:1641| ERROR: failed to link su
bionic/linker/linker/.c:1741| ERROR: cannot link executable `su`
I am trying to root my phone so I ca update it to 2.3 but I can't complete the rooting process, can someone please help me!
try superoneclick
I tried superoneclick, same results!
god damn it....... search xda for rooting methids then if you keep getting su errors then you might not be able to root the phone
jose_am said:
hello, I have been trying to root my motorola backflip 1.5 for over a week now with no luck. I have been trying the rageagainstthecage-arm5.bin method and it seems to run fine but when I run su in the terminal emulator it gives me the following error:
bionic/linker/linker/.c:1581| ERROR: 7265 could noot load ´libbinder.so`
bionic/linker/linker/.c:1641| ERROR: failed to link su
bionic/linker/linker/.c:1741| ERROR: cannot link executable `su`
I am trying to root my phone so I ca update it to 2.3 but I can't complete the rooting process, can someone please help me!
Click to expand...
Click to collapse
Well bionic is the android version of the libc programming library and libbinder.so is a library of some kind, which it can not load, either because it is not there, or not where it is looking for it, or not accessible due to permissions or an incompatible library for your system.
No idea how to fix it though, but thought i would shed some insight.
Hello there well I'm using superoneclick and I found that its not putting the su exe in the right place it puts it in (/system/xbin/) and where it should go in /system/bin where all the commonds are.?
Are you sure that you're rooting it correctly?
Please make use of the instructions below .
Download Super One Click, make sure you have the Android debugger (SDK developer kit) running, expand the Super One Click zip file and click the SuperOneClick icon to run it. When SuperOneClick launches, you’ll see several large buttons at the top of the screen. Make sure your phone is connected to the computer via USB and that the debugger can “see” it (activity will start logging). Make sure your SD card is not mounted, and go ahead and click “Root” in SuperOneClick.
You’ll see the scrolling activity as SuperOneClick does it’s job, with “OK” appearing after each task. You may see warnings, but so long as it doesn’t “hang” on waiting for device, things should keep scrolling until it finally returns the “Success!” message. If you're stuck , go to your phone and enable usb debug and disable again . Until you get past it , that's how i got it to work for my phone.
At this point, check out the installed apps on your phone and you should see a “Superuser” icon that looks like a Droid skull and crossbones. If you see it, you’re rooted. If you don’t see it, reboot the Droid. In fact, I’d suggest rebooting even if you do see it, as I had some issues getting rooted apps to work until I actually rebooted my own device.

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

[Q][Archos G9] Getting su access from applications in

Good afternoon,
I have perm rooted Archos G9 device using the images of surdu_petru . I want to write android app which stops service which is c++ program compiled for ARM. The problem is that when I try to get su I am always denied. I downloaded some apps to check if I have rooted my device and they said that I have busybox and su but I can`t get su priviledges. Any ideas how to solve that problem? Is it only me or everyone is like that?

LG phone is showing ROOT not found when I have ROOT access

Hello,
I recently purchased an LG phone that came with root access. When I connect my phone via ADB, I can see I am root user by using the whoami command. However, when I try to use certain Applications that require root access (such as Network Signal Guru), it is saying ROOT not found.
I am assuming applications that require root access look for a certain directory or file which I don't have since this phone came pre-rooted. My question is, how can I get my phone to run those applications and if I need any files, how would I go about obtaining them?
mohhaxs said:
Hello,
I recently purchased an LG phone that came with root access. When I connect my phone via ADB, I can see I am root user by using the whoami command. However, when I try to use certain Applications that require root access (such as Network Signal Guru), it is saying ROOT not found.
I am assuming applications that require root access look for a certain directory or file which I don't have since this phone came pre-rooted. My question is, how can I get my phone to run those applications and if I need any files, how would I go about obtaining them?
Click to expand...
Click to collapse
Reroot and check in rootcheaker app.
rajit said:
Reroot and check in rootcheaker app.
Click to expand...
Click to collapse
I bought this phone pre-rooted. I don't think there is a method available for rooting my LG Fiesta phone. The Root Checker app says my device is not rooted as well. However, using ADB shell on my phone is showing me as root user. I have root access on my phone and can access directories and view files, that otherwise wouldn't be possible if I was a regular user.
See in developer option root access only abd..Change it to adb and apps. Tap 7 tine in about/build to get developer option

Categories

Resources