[Android Software/Hacking General [Developers Only]] tilal6991:
This is an FAQ for the Huawei Ideos as there have been many questions on how to do the same things. Hopefully this should help. There are other FAQs but this one tries to compile as many as it can into one FAQ.

Feel free to reply to this if there are any questions or if you want me to make any additions. The FAQ won't be complete to begin with but I will add as I get time.

One thing I will say is that I WON'T TAKE RESPONSIBITY IF YOU DAMAGE YOUR PHONE. I AM PROVIDING THE INFORMATION AND WILL TRY TO HELP YOU IF SOMETHING BAD HAPPENS BUT I CAN'T TAKE ANY RESPONSIBILITY

1. How to root the IDEOS

This can be done quite simply by adapting what quail wrote:

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 here (WORKS)

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. (HAVEN'T CHECKED)

c) My preferred method: (HAVEN'T CHECKED)

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
​

2. How to flash the Ultrakiller Recovery Image

Now this has been covered many times but there have been a lot of problems with the BSOD on the IDEOS. A few days ago Ultrakiller came up with a solution that works regardless of the LCD type. Now this was distributed as an IMG file so many people were confused so here is a link to one with everything you need included. All I did was remove the amon'ra image and copied the Ultrakiller recovery IMG to the folder and edited the scripts to point to the new file.

After you download the file:

* Put your device in bootloader mode - turn it off, then press the power button while holding the 'Volume Down' and 'End (Red)' keys (Yes, bootloader is just the IDEOS logo) WHILE YOUR DEVICE IS PLUGGED IN

* WINDOWS - double click 'install-recovery-windows.bat'

* MAC - Open a terminal window to the directory containing the files, and type 'chmod +x install-recovery-mac.sh' followed by './install-recovery-mac.sh'

* LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x install-recovery-linux.sh' followed by './install-recovery-linux.sh'​

See Q3 if you have Windows and the prompt hangs on "Waiting for Device"

3. How to solve problems with drivers on Windows in bootloader mode?

1. Unplug your phone

2. Download and install PDANet from here - at the end of the setup it will tell you to plug in your phone - do that

3. Put the phone into bootloader (See Q2 above)

4. Go to device manager and right click on "Android 1.0" and click "Update drivers"

5. Click "No, not this time" and Next

6. When it asks you where to look for drivers point it to PDANet's install location

7. Hopefully it should find the driver and prompt you to install it - it will take some time

8. You can now access your device in bootloader!​

Thanks to the following people:

Quail for the base of the guide and the ROM I'm using - it's amazing BTW

Ultrakiller for the recovery image

Changelog:

21/01/2010: Initial writeup

22/01/2010: Added Q3 and made some minor changes​