[Android Head-Units] nismo2013:
Hi all, I came across this root tutorial in a post from last year and was hoping to get some feedback on it. Risks involved? Potential for brick or boot loop? The tutorial uses supersu and I'm aware that it may now have security risks. This radio will never be online so it's not a concern. The tutorial was posted in a 8227L thread so it was supposedly done on this model but there wasn't much follow up.

According to AIDA64 my device specs are:

Model: alps 8227L demo

4x ARM Cortex A7 @ 1118mhz

32 bit ARMv7

CPU Revision: r0p3

1GB RAM

16GB ROM

Android Version: 6.0 Marshmallow

Kernel: 3.18.22

API Level 23

Android Security Patch Level: 2017-11-05

Build ID: YT9218_00002_V001

##############TUTORIAL###############

ROOT!

Root has to be done through ADB.

Attention! Incorrect actions can lead to a bootloop (endless loading) of the radio. To fix it, you will need a flashing and, as a result, a complete erase of all data; so, proceed at your own risk!

Requirements: P.C. (I prefer my laptop) and your head unit must be able to connect to the same wifi as the PC (I used my mobile phone's hotspot for wifi and connected my laptop and headunit to it)

Download adb (platform-tools-latest-windows.zip) from here

Download SuperSU apk and SuperSU zip files from here

Extract platform-tools-latest-windows.zip to C:\adb

Extract SR5-SuperSU-v2.82-SR5-20171001224502.zip.

Open the armv7 folder

Select all files in the armv7 folder and right click, Copy

Paste the files into the c:\adb directory

In the same folder, create a notepad file and paste in the following text:

Code:

service rooting /system/bin/su --daemon

class main

priority 10

user root

oneshot

seclabel u:object_r:system_file:s0

now save this file as "rooting.rc"

Open command prompt on your PC as administrator (in windows 10, in the "type here search" type "cmd")

type in "cd c:\adb"

Move over to the headunit and download "What is my IP address" from the google play store.

open up what is my ip address and write down your headunit's ip address (should be something like 192.168.3.4)

Go back to the play store and download "Terminal Emulator for Android"

open Terminal Emulator for Android

Go back to your pc and in the command prompt window, execute the following code:

(my adb worked without additional commands, immediately after opening the emulator)

(any sentences to the right of // means NOTE; so, don’t copy that part)

Code:

adb connect <IP devices>: 5555 // For example adb connect 192.168.3.4/10555

adb shell // Go to Shell

su @#zxcvbnmasdfghjklqwertyuiop1234567890,. // In the shell, we switch to superuser mode using the password

remount // Remount so that all further commands are immediately executed from the superuser

adb shell setenforce 0 // Further on the instruction manual from the articles

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 push rooting.rc /system/etc/init/rooting.rc

get back on you headunit,

get the SuperSU apk we downloaded from before and get it installed onto your headunit. (I put mine onto my google drive and downloaded and installed from there)

open it and look for a GRANT command.

Press GRANT to allow superuser access.

NOTE: If you get a request to update the binary file, click reject

go back to your pc. we are going to Reboot your headunit with the reset command

Code:

adb shell reboot

The radio will reboot twice, don't panic.

check with root checker

You should be ROOTED!

EDIT: here is a video: