[Android Head-Units] Dr0idFanatic:
---------------------------------------------------------------------------------------------------------------------------------

First let me say I take no responsibility if something goes wrong. As usual, root at your risk.

Rooting method confirmed working on a KLYDE 12.8" head unit (model KD-1280). Credit goes to SCORPiO at toyotanation.com and I guess myself risking it on a different unit than originally intended for.

---------------------------------------------------------------------------------------------------------------------------------

Things required:

- windows 7, 8 or 10 device

- wifi network (I used my phone's portable hotspot)

- USB keyboard and mouse plugged into the head unit helps (not absolutely necessary)

Connect your head unit and your computer to the same wifi network.

On Head Unit, install terminal emulator from here:

https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en_US

Open it and run three following commands:

setprop persist.adb.tcp.port 5555

setprop sys.rkadb.root 1

reboot

After it reboots and connects to your wifi, go to settings, wifi properties and write down current IP address.

On your PC, download su binary from here:

https://app.box.com/s/p47oa8zer6tms5j7r4bi8gj6nozamgfo

then download file called rooting.rc from here:

https://app.box.com/s/qf476q4jhrcifran8a430q54rabomca8

Then download ADB from here

https://xdaforums.com/showthread.php?t=2588979

Extract ADB it to a known location. (C:\ADB is the easiest)

Copy both su and rooting.rc files to that directory.

---------------------------------------------------------------------------------------------------------------------------------

At this point you can make a complete backup of your unit (optional, but highly recommended. )

Skip past the red line if you do not need a backup.

1. Download KD-1280_Nandroid_Backup_Batch.rar extract backup.bat into c:\adb folder

2. Open backup.bat with a text editor and correct the IP address of your unit.

3. Double click on backup.bat and follow the instructions

4. You should end up with a backup of the first 18 partitions on your head unit, copy them to a USB flash drive. Backing up the first 18 takes about 5 minutes.

5. You will end up with the 19th USER DATA partition in the c:\adb folder. Android has a 4GB file limit, so its backed up over WiFi.

6. It takes about forever to backup the USER DATA partition this way, if you don't want to wait use Titanium Backup after rooting.

---------------------------------------------------------------------------------------------------------------------------------

Back to the rooting:

Open command prompt from windows and go to C:\ADB (or wherever you extracted it, The command is 'cd/adb')

Type the following:

adb connect 192.bla.bla.bla (your head unit IP address)

adb root

adb disable-verity

adb reboot

adb connect 192.bla.bla.bla (your head unit IP address)

adb root

adb remount

adb shell setenforce 0

adb push su /system/xbin/su

adb push su /system/bin/su

adb shell chmod 06755 /system/bin/su

adb shell chmod 06755 /system/xbin/su

adb shell /system/bin/su --install

adb shell /system/bin/su --daemon& (sometimes it will freeze here. If frozen for more than 2 minites, press CTRL-C, then run the command again)

adb push rooting.rc /system/etc/init/rooting.rc

adb reboot

On Head Unit, install SuperSu from here:

https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

Extract ONLY the SuperSU.apk from the common folder of the above archive and install it.

DO NOT UPDATE SUPERSU BINARY AFTER INSTALLING!!!!!!! UNIT WILL SOFT BRICK!

The update notification will come up every time you open the SuperSU app, have not figured out how to disable it yet.

Once again, DO NOT UPDATE BINARY. Not much fun recovering the unit after.

Reboot head unit and enjoy!

---------------------------------------------------------------------------------------------------------------------------------

After rooting you can do things like changing the boot logo:

1. Open the terminal emulator

2. Back up the original boot logo just in case:

su root

dd if=/dev/block/mmcblk0p9 of=/sdcard/logo_original.img

3. Copy over the logo_original.img to some device that will let you edit BMP files easily and rename it to logo_original.bmp

4. Edit the bmp file with an image editor, insert whatever image you like and save as logo_new.bmp

5. Rename logo_new.bmp to logo_new.img and copy back to unit

6. Open terminal emulator and flash the logo partition:

su root

dd if=/sdcard/logo_new.img of=/dev/block/mmcblk0p9

reboot