Mittwoch, 27. Juli 2011

Finally - how to root the Parrot Asteroid permanently !!

Here we go! Finally I managed to obtain FULL root access on the Parrot Asteroid, meaning a working SuperUser App and permissions for all apps requesting Super User access.

We are using the rageagainstthecage exploit to get access to the radio.

Serious Warning:
Whith rooting the radio you obtain full access to all system files. This way it's easy to harm the radio and possibly brick it. Take care when performing root actions!
I don't take any responsibility should you harm your car stereo in any way.

But now....happy rooting!

What you need:
SD-Card formatted in FAT containing the following files:
- rageagainstthecage exploit (Warning: Will be recognized as virus/trojan, as it indeed acts as such on your android device.)
- Superuser.apk
- su binary
- A terminal emulator app (I prefer Terminal Emulator Pro) which is not free of charge but a great tool.
- USB Keyboard to attach to the car streo

How to obtain root access:
- Copy all the files from above onto the SD-Card.
- Plug it into your Parrot Asteroid and also plug in your usb keyboard
- Turn the radio on, choose "Installer" and install your terminal app.
- Start it
- Now enter the following lines in the terminal app, step by step. Press enter after each line:

cd /sdcard [Enter]
cp rageagainstthecage.bin /tmp
[Enter]
cd /tmp [Enter]
chmod 0755 rageagainstthecage.bin [Enter]
./rageagainstthecage.bin [Enter]

Now be patient some seconds. You will see some text displayed and after ~20 seconds, you can see a message "[+] forked xxxx childs".

Press [Enter] and exit your terminal app. Terminal Emulator Pro can be closed by pressing the Asteroid's [menu]-key and choosing "exit" from the menu. Note: It is important to really quit the app, not just leaving it (as it will remain running in the background).

Having quit the terminal emulator, you need to restart it. On first try, it might crash, so just try it a second time.

Now, you should see a "#" sign instead of a "$" within the terminal emulator. If not so, you probably did something wrong.

See the #? Let's continue:
We now need to install the modified su binary and the Superuser app.
Therefore, type the following lines in your terminal app:

mount -o rw,remount /system /system [Enter]
rm /system/xbin/su [Enter]
rm /system/bin/su [Enter]
cp /sdcard/su /system/xbin/su [Enter]
chown root.root /system/xbin/su [Enter]
chmod 6755 /system/xbin/su [Enter]
cp /sdcard/Superuser.apk /system/app/Superuser.apk [Enter]
chown root.root /system/app/Superuser.apk [Enter]
chmod 644 /system/app/Superuser.apk [Enter]
ln -s /system/xbin/su /system/bin/su [Enter]
mount -o ro,remount /system /system [Enter]


Finished! Exit your terminal emulator app and check wheter Superuser.apk is installed. You should see the icon when scrolling trough the radio menu.

Further restart your car stereo [Ctrl + Alt + Del] to see wether the root access is fully working. After a restart, open the terminal emulator again and only type

su [Enter]

When everything works as expected, a window should pop up, asking for su permissions. To grant them, use the volume knob to scroll down once. You can't see this, but clicking then will choose the option to grant access and you are in.

Let me know if this has worked for you.

-gforums

Credits:
http://www.techgeekguy.com/2010/12/how-root-motorola-backflip-1-5-rageagainstthecage-method/
http://c-skills.blogspot.com/


Update (07/29): Modified Superuser.apk to fit better the Asteroid's screen - thx to Jonas.

Kommentare:

  1. Works. Installed new Superuser.apk from forum....please update the link in this post.

    Jonas

    AntwortenLöschen
  2. I cannot install Terminal on my Asteroid. Firmawe v1.4.3

    AntwortenLöschen
  3. This solution does not really work on the 1.5 firmware. Get the 'su' command not found. Is there any solution for the 1.5 or even the 2.0 firmware??

    AntwortenLöschen
  4. Anything new? using 2.0p5 now because downgrading is not possible. Unless anybody can upload 1.4.3. firmware!!!!

    AntwortenLöschen
  5. Nice tuto, works fine for me with 2.0.1 software, only su is replaced by sulogin in /system/xbin.
    Thanks

    AntwortenLöschen
  6. Eric, What files were you using exactly, just tried it again today but it does not seem to work for me (2.0.1) firmware.

    AntwortenLöschen
  7. Eric, nos podrias ayudar en esto he rooteado pero algo ha salido mal, el icono del superuser no esta ?? , no esta clara la descripcion que hecen en cual linea se camnia a Sulogin, en todas las lineas de entrada ?
    tengo el 2.1.1 firmware y no puedo hacer root el parrot asteroird
    Mil gracias por la ayuda

    AntwortenLöschen
  8. I need the su binary... can you email it to me

    AntwortenLöschen
  9. lo logre , I make it, ........para el firmware 2.1

    mount -o rw,remount /system /system [Enter]
    rm /system/xbin/su [Enter]
    rm /system/bin/su [Enter]
    cp /sdcard/su /system/xbin/sulogin [Enter]
    chown root.root /system/xbin/su [Enter]
    chmod 6755 /system/xbin/su [Enter]
    cp /sdcard/Superuser.apk /system/app/Superuser.apk [Enter]
    chown root.root /system/app/Superuser.apk [Enter]
    chmod 644 /system/app/Superuser.apk [Enter]
    ln -s /system/xbin/su /system/bin/su [Enter]
    mount -o ro,remount /system /system [Enter]

    AntwortenLöschen
  10. Anthony Schook... here it....
    https://mega.co.nz/#F!nEdjGRQK!BGcH8UQIPtov_YFfaKaf8w

    AntwortenLöschen