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.
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.)
- 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]
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
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.
Update (07/29): Modified Superuser.apk to fit better the Asteroid's screen - thx to Jonas.