[MTCD Android Head Units General] ikerg:
Root and Other Stuff

MTCD Intel Sofia Units Rooting Methods: METHOD1

The easiest way to root our units is by using an update.zip file. It will be detected by the unit as a normal update.

This file injects the root privileges into the boot partition.

boot.img is being used, modified and reinstalled onto the Headunit, so it is recommended to use the same boot.img as was into the non rooted system.

I have prepared some root files for both 3G and WIFI units using differents boot.img files (extracted from different ROMs - they shall be renamed to update.zip prior copied into the USB/SD).

EDIT -> root update.zip file only can be installed from recovery menu.

To enter into recovery menu:

* Press reset button and hold until you see the button lights blinking (10 secs approx.)

* Release and press again until you see the lollipop logo

* Release and wait to the recovery menu.

Once into recovery, use the reset button for:

* Move along the options (short press)

* Select an option (long press)

Sofia3gr (3G version):

Based on boot.img from October 2016 ROM: https://drive.google.com/open?id=0BzpR8k0kgZq3c08teWJJbHpqLVE

Based on boot.img from December 2016 ROM: https://drive.google.com/open?id=0BzpR8k0kgZq3eUp4c0F3dV9Hd28

Based on boot.img from March 2017 ROM: https://drive.google.com/open?id=0BzpR8k0kgZq3bTlDdG5Qc2ZoNDA

Sofia3grw (WIFI only version):

Based on boot.img from September 2016 ROM: https://drive.google.com/open?id=0BzpR8k0kgZq3bkdhMFdyQ2lSbTA (the one published on the russian forum)

Based on boot.img from December 2016 ROM (latest): https://drive.google.com/open?id=0BzpR8k0kgZq3U1RjMThZSFhHZlk

MTCD Intel Sofia Units Rooting Methods: METHOD 2

This Method is by using adb over WIFI. This has been reported to work under New Android 6.0.1 ROM

Instructions:

In Android:

1) Download "Terminal" apk from Google Play

2) Open Terminal and put the following commands:

su

setprop persist.adb.tcp.port 5555

In PC:

3) Download the zip file from this post

4) Decompress the zip on a folder of your Hard Disk

5) execute CMD in Windows

6) Go to that folder and put the following command: install xxx.xxx.xxx.xxx

(xxx.xxx.xxx.xxx is the IP of your HeadUnit under the same WIFI as your PC)

Wait for the Succeed Message

7) Reboot your Unit

Differences between 3G version and WIFI only version ROMS

According what i have seen, only differs on the default.prop file. This file can not be edited into the installed ROM, as it is part of the boot and, even edited (i.e with root explorer), once rebooted, the file will be reverted to the original state, as it is written into the ramdisk.

MTCD Intel Sofia Units TWRP

On Russian 4Pda forum (Thanks InvisiBot & Lemegor) have built a compatible TWRP 2.8.7.0 for our Units. I have semi-translated the previously google translated russian text and included the attachments (thanks [MENTION=495535]leml[/MENTION]Y):

TWRP is available in two versions:

Temporary - TWRP uncompressed onto a ramdisk (in memory) over the stock recovery. It is a relatively safe option, TWRP disappears after a reboot;

Permanent - TWRP is replacing stock recovery.

Installation known Issues:

As a result of testing, after a number of installations in a few days, it has been found that during the installation of the zip-file with TWRP (temporary or permanent) the unit can enter in a freeze state.

In the case of freezing when you try to install the Temporary TWRP, you need to remove the stick and interrupt the power (which may already be for someone to challenge).

In the case of freezing during installation of permanent TWRP , after the restart noted that the partition recovery is inoperable.

If hung but loaded into Android, the recovery partition can attempted to be restored by using the dd method (see below)

If hung and not loaded into Android, you may get broken in bootloop recovery. The only solution to restore the device may be achieved only by soldering hub (to 27 & 28 pin) to the Headunit be detected by Computer USB and then flash firmware via FlashToolE2 .

Flasher Program (FlashToolE2) --> https://drive.google.com/open?id=0BzpR8k0kgZq3eWhXZHdjNDEzSlU

Recovery Flash for Sofia 3GRW (WIFI) --> https://drive.google.com/open?id=0BzpR8k0kgZq3TEpSeG9Na0RJQ0E

Recovery Flash for Sofia 3GR (3G) --> NOT AVAILABLE

After a successful install of TWRP, it works fine .

Perhaps a more reliable version of the installation - is flashing TWRP / recovery using dd from under Android:[/B]

adb connect ip-address-HU

adb root

adb shell "dd if = / mnt / usb_storage3 / = recovery.img of / dev / block / mmcblk0p10"

TEMPORARY TWRP

* Sofia 3GR 2.8.7.0 --> https://drive.google.com/open?id=0BzpR8k0kgZq3QTdLQzNBXzVTNlE

* Sofia 3GRW 2.8.7.0 --> https://drive.google.com/open?id=0BzpR8k0kgZq3YTNxU2JrUy1xd1U

PERMANENT TWRP

* Sofia 3GR 2.8.7.0 -->

* Sofia 3GRW 2.8.7.0 -->

IMPORTANT!!

All this process has been tested on WIFI version of units. Files can't be interchanged between 3GR & 3GRW because of different electronics.

After TWRP , the MCU upgrade will no loger works. In case of needed to upgrade the MCU, you can go back to stock recovery:

* Sofia 3GR Stock Recovery --> https://drive.google.com/open?id=0BzpR8k0kgZq3NVJPNnEzY1lfY1E

* Sofia 3GRW Stock Recovery --> https://drive.google.com/open?id=0BzpR8k0kgZq3RnZLc0ZpTmM2QkE

MTCD Intel Sofia Units 3GR vs 3GRW

default.prop differences are shown on the following image (left=WIFI; right=3G)