[Android Automotive OS] Inh1ny3ro:
Translated to...

Hello everyone, I put off this post until the last minute because I didn’t have time and needed to test the software.

I don’t like to write a lot, some of the information can be gleaned here for all changanov the method is the same . So, let's begin.

We will need a laptop, see for yourself which USB-USB cable. Drivers and adb program can be downloaded from the link above.

enter the engineering menu, dial *#*#888, then the dialer will pop up and enter 369875select the usb menu in Chinese, it will be the second field on the left, and where you showed with your fingers, press the third and quadruple

After this, we connect the laptop via usb, there should be sound and determine that the device is connected and a request to install adb drivers, if this does not happen, and this may not happen, you need to turn on the phone in the usb radio, wait for the charge to start, 3-5 seconds and try again connect the laptop, everything turns on in this order.

Further

enter cmd in the console, then go to the folder where adb is installed or there may already be a shortcut on the desktop and everything will open itself and look like in the picture

adb root #gives us root access to the system

adb disable-verity #needed to disable write protection, as the Chinese say, I won’t argue with them

adb reboot #reboots the system

if you didn’t receive a response to the disable-verity command, then the command was completed, let’s go Then

we load, after we have rebooted the GU, we repeat everything again, that is, we connect with the laptop, in the console we write

adb devices

adb root

adb remount # allows you to write to the /system section

adb shell # access directly to the GU console

everything is as it is here

THE MOST IMPORTANT THING HERE IS REMEMBER EVERYTHING CAREFULLY, AND BETTER TAKE PHOTOS OF HOW MUCH SPACE YOU HAVE ON THE PARTITIONS, THE DANGER IS THAT THE ROOT / SECTION AND THE / DATA SECTION HAVE A LIMITED VOLUME IF IT IS EXHAUSTED THEN YOUR GU SIMPLY WILL NOT WAKE UP AND NEEDS B THERE WILL BE REPAIRS WITH DISASSEMBLY OF THE ENTIRE PANEL

COMMAND TO CHECK LOCATION df -h

Now let’s remember the commands adb pull and adb push, what they mean and how to write them correctly you can read on the internet.

Example,

if you have a program here c:/adb/1/1.apk and you need to transfer it to the GU, then you need the following command

adb push (transfer) the path where it is on your laptop and the path where we throw

adb push c:/adb /1\1.apk /system/app/

In order for the programs that you want to install to be displayed on the GU, you need to either drop them into the /system/app folder, or as I did, to save space, through a symbolic link, in Linux there is such a concept as a symlink similar to a shortcut in Windows, an example of installing such

adb

push 1.apk /user_data/test

program 1.apk lies in the same folder with adb, so you can specify it like this, then where we drop the

/user_data section, we have a fairly large one, about 7 gigs, of which 5 gigs are occupied by just Chinese navigation maps

how to create folder

using the adb shell command we get to the GU console

there we write df -h we get data by sections where how much space

we write cd /user_data

we get into the folder, we can see what is in it with the command ls or ls -l

create a folder here test

mkdir test

how to exit to adb mode again, write exit

now after creating the test folder we can return to adb and drop our program

adb push 1.apk /user_data/test

adb shell

cd /user_data/test/ into the test folder

chmod 644 1.apk # give permissions to the file

, deleted, add the program to the GU desktop using the

adb shell symlink # enter the GU console

cd /user_data/test #go to the test folder

ln -s 1.apk /system/app/ # create symbolic link to our software

cd /system/app/ # go to where you dropped the symlink

ls -l # check if the link to the file is correct

chmod 644 1.apk # be sure to give permissions otherwise the program will not appear on your desktop

reboot # should appear after reboot

But that's not all. Some programs cannot work with such an installation. The way Android works is that each program needs libraries, where to get them, don’t worry, they are all available in the apk file itself, that is, before you drop the apk you need to open it via 7zip, it will be inside lib, we go into it and there are other folders there, look at the one where arm...7v is signed, in general, the folder is needed from the seventh arm.

In total, we have a 1.apk file and a lib folder; in it there should be an arm folder with exactly this name, it already contains the library files themselves

rename the folder to arm, the rest of the folders are not needed, they can be deleted

short summary

on the GU in the test folder you need to drop the apk itself and its lib, then drop it with a symlink into the /system/app folder and into the /system/lib folder and load reboot, if after the reboot you do not have a new application on your desktop, then check chmod 644 on the file and on the symlink, you can also do cmod +x on the file itself and on the symlink.

all this works on the firmware of the GU from 2022, all those who downloaded the updates can go while they rest with you in 2023, I didn’t come across this GU and I still can’t find a method of access to write to its sections.

Mileage: 6,500 km