[Huawei IDEOS U8150] How to gain root access

Search This thread

quail

Senior Member
Dec 2, 2010
267
109
SA
I hold no responsibility to how you use or not use this info and if you brick phone - you do this at your own risk

There is a couple away you can go about gaining root access with this phone I have tested all 3 ways but only had success with 2 of them.

a) You can download 'z4root' from the Android Market (If is still available) or search XDA forums for it.
b) Search the XDA forums for 'SuperOneClick' which requires mono to work on Linux. I have read people that have had success with 'SuperOneClick' but that was not the case for me.

c) My preferred method:
Prerequisite:
knowledge of Linux and Terminal
knowledge of ADB (guide available in forums)

I did all this using Debian (testing) 64bit, Android SDK.

Creating correct permissions to access the phone via USB:
i) create
Code:
/etc/udev/rules.d/51-android.rules
ii) in the file put
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666"
iii) then
Code:
chmod a+r /etc/udev/rules.d/51-android.rules
iv) restart udev or reboot

Downloading and/or Installing required software:
1) Downloading and installing the android-sdk from: developer.android.com/sdk/index.html
2) Downloading and extracting 'SuperOneClick' (you will only need these 5 files: rageagainstthecage, sqlite3, su, busybox and superuser.apk)
3) Copy rageagainstthecage, sqlite3, su, busybox and superuser.apk into the platform-tools directory of android-sdk. Put phone in debug mode.
4) From a terminal (command line) change to the android/platform-tools directory and carefully do these steps.

Check to see if adb can see your phone properly:
Code:
./adb devices
You should see the serial number of you device, if you see bunch of '?' you have done something wrong.

Now for the fun part rooting the phone: <= no phun intended hehe
Code:
./adb push rageagainstthecage /data/local/tmp/rageagainstthecage
Code:
./adb shell
Code:
cd /data/local/tmp
Code:
chmod 0755 rageagainstthecage
Code:
./rageagainstthecage

5) Now wait until you get kicked out from adb before you do the following:
Code:
./adb shell
If everything worked now you should see a "#" instead of the "$" you saw previously in the adb shell which means you shouldn't get "permission denied" in the following steps:
Code:
mount -o rw,remount /dev/block/mdtblock4 /system
Code:
exit
Code:
./adb push su /system/bin/su
Code:
./adb push busybox /system/bin/busybox
Code:
./adb push sqlite3 /system/bin/sqlite3
Code:
./adb push Superuser.apk /system/app/Superuser.apk
Code:
./adb shell
Code:
cd /system/bin
Code:
chmod 4755 su
Code:
chmod 4755 busybox
Code:
chmod 4755 sqlite3
Code:
./adb reboot
Now you should be able to use apps like 'Cache Cleaner NG', 'Root Explorer', 'SetCPU' etc that require root access to work correctly.

Enjoy
 
Last edited:

Paxxx76

Senior Member
Dec 7, 2010
61
19
Guide reflash FW for those who did some damage:

* Download from here that you want to install the FW
* Copy the folder in the microSD DLOAD (with the file inside UPADATE.APP)
* From phone off, Volume + Hold down RED BUTTON UP and power button.
* start the firmware upgrade, take a few minutes and then restart the phone . is a bit slow, do not be afraid, let him work and then back on (like the first time)



Help to get into recovery mode:

* down the 'volume up 'and 'green button'and then switch the device




Guide to bootloader mode:

* switch off, press and hold power button + volume down + red key
 
Jan 20, 2011
25
0

Creating correct permissions to access the phone via USB:
i) create
Code:
/etc/udev/rules.d/51-android.rules
ii) in the file put
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666"
iii) then
Code:
chmod a+r /etc/udev/rules.d/51-android.rules
iv) restart udev or reboot


Anyone know this part for windows XP?Not linux?
I got to rageagainstthecage and it says permission denied.
 

tilal6991

Inactive Recognized Developer
Dec 25, 2010
1,607
2,581
So would you tell us, exactly how you did it?
Without using the market place?
Because I have tried 100 things downloaded all that junk wasted 5 hours.
And I do not know how to run the z4root on my phone.
I do not want to install another ROM.
I do not know why you can not run z4root and a file manager from the SD card I have tried methods with the SDK they are total rubbish.
Once again *without* using the market place.
Thanks


Download it mediafire.com/u8150
Sent from my Ideos using XDA App
 

andypea

New member
Feb 9, 2011
1
0
Thanks man,

Just worked perfectly on my IDEOS brought from 2degrees in NZ.

The copy of SuperOneClick that I downloaded contained a file called su-v2 instead of su. In order to get the hack to work I had to rename su-v2 to su before running ./rageagainstthecage . Pretty obvious, but it might help someone out.

Thanks
 

vladmx

Member
Mar 7, 2011
31
4
I have Z4root on the phone and its supposedly rooted.
Yet, I can install apps from PC onto phone, but can not uninstall them.
Adb always gives me failure.
And if I try from shell it always says permission denied.

I followed your instructions and installed SetCPU to test my phone was rooted. It worked great! Thanks.

I still have a problem. When I try adb root it still says "adbd cannot run as root in production builds". I'm trying this to be able to control my phone with pc mouse/keyboard with androidscreencast.

Any suggestions will be much appreciated.

Answering to myself: I updated my phone with FUSIONideos 1.5 and now adb runs as root without problems.
 
Last edited:

maqk@live.com

Member
Apr 18, 2011
7
0
Karachi
can there be a batch file / command / app for all this, too techy out there

also how to setup the environment to run these commands, i m windows user can i do it ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I hold no responsibility to how you use or not use this info and if you brick phone - you do this at your own risk

    There is a couple away you can go about gaining root access with this phone I have tested all 3 ways but only had success with 2 of them.

    a) You can download 'z4root' from the Android Market (If is still available) or search XDA forums for it.
    b) Search the XDA forums for 'SuperOneClick' which requires mono to work on Linux. I have read people that have had success with 'SuperOneClick' but that was not the case for me.

    c) My preferred method:
    Prerequisite:
    knowledge of Linux and Terminal
    knowledge of ADB (guide available in forums)

    I did all this using Debian (testing) 64bit, Android SDK.

    Creating correct permissions to access the phone via USB:
    i) create
    Code:
    /etc/udev/rules.d/51-android.rules
    ii) in the file put
    Code:
    SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666"
    iii) then
    Code:
    chmod a+r /etc/udev/rules.d/51-android.rules
    iv) restart udev or reboot

    Downloading and/or Installing required software:
    1) Downloading and installing the android-sdk from: developer.android.com/sdk/index.html
    2) Downloading and extracting 'SuperOneClick' (you will only need these 5 files: rageagainstthecage, sqlite3, su, busybox and superuser.apk)
    3) Copy rageagainstthecage, sqlite3, su, busybox and superuser.apk into the platform-tools directory of android-sdk. Put phone in debug mode.
    4) From a terminal (command line) change to the android/platform-tools directory and carefully do these steps.

    Check to see if adb can see your phone properly:
    Code:
    ./adb devices
    You should see the serial number of you device, if you see bunch of '?' you have done something wrong.

    Now for the fun part rooting the phone: <= no phun intended hehe
    Code:
    ./adb push rageagainstthecage /data/local/tmp/rageagainstthecage
    Code:
    ./adb shell
    Code:
    cd /data/local/tmp
    Code:
    chmod 0755 rageagainstthecage
    Code:
    ./rageagainstthecage

    5) Now wait until you get kicked out from adb before you do the following:
    Code:
    ./adb shell
    If everything worked now you should see a "#" instead of the "$" you saw previously in the adb shell which means you shouldn't get "permission denied" in the following steps:
    Code:
    mount -o rw,remount /dev/block/mdtblock4 /system
    Code:
    exit
    Code:
    ./adb push su /system/bin/su
    Code:
    ./adb push busybox /system/bin/busybox
    Code:
    ./adb push sqlite3 /system/bin/sqlite3
    Code:
    ./adb push Superuser.apk /system/app/Superuser.apk
    Code:
    ./adb shell
    Code:
    cd /system/bin
    Code:
    chmod 4755 su
    Code:
    chmod 4755 busybox
    Code:
    chmod 4755 sqlite3
    Code:
    ./adb reboot
    Now you should be able to use apps like 'Cache Cleaner NG', 'Root Explorer', 'SetCPU' etc that require root access to work correctly.

    Enjoy
    1
    Also can someone better translate the instructions to get into recovery mode? i can barely make sense of the above instructions ^^^

    does this help:
    http://xdaforums.com/showpost.php?p=10371747&postcount=5