GuBang (Allwinner T8) Head Unit non sense - Android Head-Units

Hello,
I'm new with the Head Unit based on Android and If someone could help me answer some questions it could help me a lot.
I have this unit
In short:
Allwinner T8 board
MCU: T8.3.19-167-10-A43101-190504
System: V9.3.1_20181106.155925_CLC1-FD
Android 8.1
I'm trying to modify the ROM... and I don't care If I loose all the pre-installed crap inside.
So far, this is what I can do with this rom:
- Install APKs...
- Remove APKs...
- Connect via ADB over network
if beforehand inside the device I type "setprop service.adb.tcp.port 5555" in a terminal, then turn off and on the debug option in the developper menu. Thanks to serious manufacturers, all passwords seem to be shared between various if not all unit buyable over internet. The command and developper option trick must be done after EACH reboot, wich is fantastic behavior.
- Reboot to bootloader or recovery using adb
- In recovery, I can do nothing since there is no hardware key appart "reset"..., USB keyboard seem to not work either (I cry when I see the non reachable "mount /system" option ...).
- Use a hand made USB A-A cable to communicate with the device, when in bootloader. If "in rom" or recovery, adb or fastboot don't see the device.
So basically I can do nothing.
- I searched for firmwares, but I only find direct links to various site that provide update.zip or update.img or similar, but no flashable firmware from fastboot.
- If I found update firmware for T8 based board, my manufacturer version code (CLC1-FD) match none of those available here or on russian forums (AKW1-FD, JP1, TW2-FD,....).
- I can not use su (not allowed, setgid failed), to make boot and system image backup that I can eventually modify
- I tried KingRoot, Magisk (but I have no boot image ...) none work
- I tried "fastboot oem unlock[or whatever]", which just freeze fastboot and make it unusable until another reboot
So in the end, if someone know something about this hardware, if the another firmwares (AKW1-FD, JP1, etc) are compatible between devices, or if you know where I could ask for original firmware (oem image), or if it is possible to unpack the updates files to extract something exploitable (already tried for hours using basically all tools available like kitchen simg2img etc), please help me.
I have another device that will come to me, the ownice C800, but I think it will be the same problem. Unmodifiable over locked device.
I am working in a business where we need this kind of hardware inside a car, and we wanted to use one of the unit to make a proof of concept so we cannot afford custom hardware right now.
Thanks you if you had the patience to read this. Hope you can help.

Update and file recovery for Allwinner T8
Hello,
Do you find or have rom, firmware for Allwinner T8 and any app radio for testing?
Do you know? How make file *.img rom from my Unit?
Tomek

Related

Advice on "unbricking" a soft-bricked stick

I've been scouring different forums for nearly a month now and can't find a solution that works for my situation. I resisted posting here, hoping to find the info on my own without any luck. I have a handful (6) of these generic MK809III Rockchip 3188 based sticks, with 4.4.2 KitKat. All identical. I have no idea which Chinese manufacturer assembled them. Four of them work perfectly. Two of them have been corrupted by me. I inadvertently wiped out the build.prop files. The files are there, but they are empty. (I know this because the last one I botched, I could see the file in the open editor with no content, as a read-only. The moment I closed the screen... that was it.
Using the "hold the pin in hole, then power up, wait 5 or 10 seconds, then release the pin" method of recovery (sorry, I don't know the proper name) does boot it into recovery mode, but the screen shows this:
Failed to mount /mnt/external_sd (No such device)
Failed to mount /mnt/external_sd (No such device)
Failed to mount /mnt/external_sd (No such device)
one_data_if_exist->can't find databk partition
Formatting /data...
Formatting /cache...
Booting...
--- then, a stuck boot animation.
My problem, is that I cannot connect to these via USB to do anything to them. My system tools are:
Linux Ubuntu 14.04 LTS workstation
RK_Flashtool_1.7
Android Studio
Latest Android tools sdk
Other tools available to me: A Mac (running Yosemite OSx)
Notes:
- Adb drivers, I assume, are correct, because I can access the working stick computer via ADB
- The RKFlashtool will not recognize any of the corrupted units, or show that it is even connected
- Obviously, I cannot set the "Connect to PC" flag without the OS booted
- In a terminal window, adb does not show the usb device as being connected
- I do not have a back up for any of these. I tried, but both Clockwork and TWRP would not recognize the unit to permit a backup. The working units are recognized as: "gxt_dongle_3188".
I really need some advice. I must be overlooking something, I admit to being somewhat new to Android. I wish it were possible to backup one of the working units, and install it on the corrupt units. But no backup app was installed in the boot loader of the corrupted units (that I'm aware of).
Thanks for your time!
Judging from the lack of responses, this problem must have a lot of people as perplexed as I am. I really thought someone here might have an idea.

Rooting a Joying JY-UM138P2 Headunit (unclear if MTCC MTCD MTCE)

Hey guys,
I recently bought a Joying headunit (JY-UM138P2) and I am wondering if there is a way to root my device.
I tried Kongoroot and it failed. Joying Extra Tools won't work beacuse it is not a Sofia Model. And as far as I can tell there is no custom firmware for this model availabile.
Android Version: 6.0.1
CPU: ARM Cortex A53 eight-core 2+32GB PX5, GPU: PowerVR G6110
Info on System: APP 1024*600 2017-01-11 19:13:52
MCU Version: 2017-11-06 17:57:54 JY_(R68)__26_C26_6026_CAN(All)
Which is the main problem as I cannot tell from this if it is an MTCC, MTCD or MTCE unit.
In general I actually do only want to have read and write acceess to the system/media folder to be able to switchout the bootanimation.zip for a custom one that I created.
Thank you!
MrAbstoss said:
Hey guys,
I recently bought a Joying headunit (JY-UM138P2) and I am wondering if there is a way to root my device.
I tried Kongoroot and it failed. Joying Extra Tools won't work beacuse it is not a Sofia Model. And as far as I can tell there is no custom firmware for this model availabile.
Android Version: 6.0.1
CPU: ARM Cortex A53 eight-core 2+32GB PX5, GPU: PowerVR G6110
Info on System: APP 1024*600 2017-01-11 19:13:52
MCU Version: 2017-11-06 17:57:54 JY_(R68)__26_C26_6026_CAN(All)
Which is the main problem as I cannot tell from this if it is an MTCC, MTCD or MTCE unit.
In general I actually do only want to have read and write acceess to the system/media folder to be able to switchout the bootanimation.zip for a custom one that I created.
Thank you!
Click to expand...
Click to collapse
That's an fyt SoM... Solutions soon? Standby
MrAbstoss said:
In general I actually do only want to have read and write acceess to the system/media folder to be able to switchout the bootanimation.zip for a custom one that I created.
Click to expand...
Click to collapse
So far the Joying units were rooted on linux/adb level.
So if you can make an adb connection over WiFi to your unit, you already have root terminal access via adb.
That is enough for doing what you want.
Well, so far I managed to establish an ADB via wifi connection (without using an usb cable, as I dont have a male to male usb cable).
But it lists my headunit as an unauthorized device.
MrAbstoss said:
Well, so far I managed to establish an ADB via wifi connection (without using an usb cable, as I dont have a male to male usb cable).
But it lists my headunit as an unauthorized device.
Click to expand...
Click to collapse
Try this
MrAbstoss said:
Well, so far I managed to establish an ADB via wifi connection (without using an usb cable, as I dont have a male to male usb cable).
But it lists my headunit as an unauthorized device.
Click to expand...
Click to collapse
Hello, I just got my new HU (same as yours) I was able to root with kingoroot over usb adb. Go to Developer options (pw 3368), In the top right corner, underneath the back button is a menu icon. Tap and then tap "USB computer connection." Then select the bottom option. I believe only the left side USB will work (when facing front of HU) and you may need to toggle the USB debugging switch. Windows, adb based kingoroot will work.
Only problem, root will not stick after reboot...I was able to install xposed framework, and install xposed Additions. Additions still works after loss of root, so not so bad. I use a RcJoyCon to HW keyboard for my SWC I am still experimenting with other apps.
Does loss of root mean a locked bootloader?
I also had no male to male USB, just made my own. Just twisting the wires together worked fine.
Please share if you learn of any ways to retain root.
Will monitor this thread, as Im looking for root for JY-UM135P2 too. Will try the usb method soon.
EDIT: tried to make custom male to male usb. Connected the 5 wires. Laptop and hu doesnt recognise the cable.
steef84 said:
Will monitor this thread, as Im looking for root for JY-UM135P2 too. Will try the usb method soon.
EDIT: tried to make custom male to male usb. Connected the 5 wires. Laptop and hu doesnt recognise the cable.
Click to expand...
Click to collapse
My usb mod only involved 4 wires. Not sure whats going on with the extra wire, that may be the issue. Double check your connections.
Was able to re-root today using my X98 tablet, Good news for the future, when needed after car install. Its rare that you would need to reboot anyways, after all the software mods have been done . Deep sleep retains root, and the device is only drawing 0.01Amps(limit of measure)
I'll have more to share for these non MTCD/E, PX5 units in the future. Have found a way to keep user apps in memory, after deep sleep by using xposed modules. Tasker now stays active.
Oke today tried again. Bought male to male usb. Still the cable js not recognised in both usb ports. Enabled usb debugging and tried lower and upper option in the chinese menu from developer options. So no clue for now
Experimental and untested
As some of you might know I created a windows and linux script to install seSuperuser onto the Joying Sofia3GR Intel units.
I just compiled su and the Superuser.apk for the PX5 models. I do not have a PX5 and therefore this is completely untested!
Prerequisites:
- You need to have adb over tcpip working.
- (Linux) You need to have adb installed (but you have otherwise the line above would not be possible)
- Have a Joying PX5 ROM available so you can reflash if necessary.
On your pc:
Download the attached Superuser-JoyingPX5-Arm.zip onto your pc/laptop.
Unzip it somewhere on your pc/laptop.
On Windows: Run CMD.exe as Administrator.
On Linux like OSes: Open a terminal.
Change to the folder where you unzipped the files and change to the folder where the install.sh and install.bat are located.
On Windows: Run the install.bat script with the IP address of your Head Unit as a parameter: install.bat 192.168.178.50 (for example)
On linux: Run the install.sh script with the IP address of your Head Unit as a parameter: ./install.sh 192.168.178.50 (for example)
Wait until the script finishes.
Reboot your Head Unit.
gtxaspec said:
That's an fyt SoM... Solutions soon? Standby
Click to expand...
Click to collapse
Hi gtxaspec,
Are you planning to make an custom rom for these Rockchip PX5, FYT 6026 bases headunits?
I have your GTX joying ROM V9a3an on a Joying FYT6021 intel SoFIA and it works so much better than the stock rom.
Keep up the good work!
surfer63 said:
Try this
Click to expand...
Click to collapse
i finally got my device connected and also got the unauthorized message:
"This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device."
I tried everything i could find on the net and in your link but still had no luck...
Does anybody have an idea what else I could try?
The thing with my device is - in order to be able to connect to it with adb I had to change something in the developer options menu: in the top right corner there are 3 dots (even above the On/off switch) and there you can only choose "USB computer connection" - if you click on that a popup menu appears "USB MODE" and 2 chinese options to choose from. It was set on the first option but only works if set on the second option (it's chinese so i can not read it)

USB DAC on AC8227

Hi, I was searching the net and did not find anything, so maybe android gurus here can help.
I have Tesla style head unit based on autochips AC8227 processor cortex a53 quad core processor. I have android 4.4.4 installed on head unit, despite the fact it says it's android 6.0. I've rooted it or it was rooted initially, do not know, however I have access to the system files.
So what I need^
1) I need the best way to make backup of the firmware in case I brick something manipulating with system files.
2) I need to be able to redirect whole sounds to external USB sound card in particular to USB DAC based on PCM2704 with SPDIF output.
from searching the net I found that if I enter commands in terminal emulator:
su
ls /dev/snd
I'll get all sound devices recognized and used by android system and there should be USB sound system listed as well (if it's recognized of cause) However external sound card is not there. So I need to add modules (drivers) for it into the system.
Where to get them and how to prepare to be usable with AC8227 processor I have no clue.
Please help me to find solution to my challenging questions.
thanks

PX6 / MTCE / Android 9 / Extract Stock ROM

Hi there,
I got myself the following unit on aliexpress: https://de.aliexpress.com/item/4000805871840.html?spm=a2g0s.9042311.0.0.52ef4c4dBTvhGh. It has a CHS MTCE.
When I look at factory settings, it says "A-Media Auto" as device name.
It came with zlink Carplay PCB mounted on the PCB and worked with stock rom. When I changed to mod firmwares (e.g. HAL9k or Malysk) I actually lost the CarPlay functionality. zLink just stays at "waiting", however my phone identifies the unit as CarPlay available and connects over bluetooth using the carplay connection dialog. However the "use carplay now" dialog doesn't pop up. Manufacturer says, the unit would need to be returned to factory to reprogramme. Not sure this entirely the only option.
They said they don't offer the stock rom, just updates.
A friend of mine has bought exactly the same unit, so I was wondering if I could extract the OEM stock software from there and flash onto my unit. I am not an Android expert, however already changed a couple of iPhones/Tablets OEM software e.g. to LineageOS. So, with some turoials I normally find my way around. I am ok experienced on admin level on WIN and Linux.
Not sure the OEM Android is fully rooted, but I can find out, when I have the OEM unit in my hands.
Is there a (relatively safe) process to extract the stock rom and update the modded rom HU?
See my OTG thread, extract partition by partition from your friends unit, which you mention is the same, then flash your SOM.
Thanks for replying.
My SOM has an USB port soldered to it. (See photo). Chances are, I do not even use the "wire" method to connect, but just use this port?
wupperi said:
Thanks for replying.
My SOM has an USB port soldered to it. (See photo). Chances are, I do not even use the "wire" method to connect, but just use this port?
Click to expand...
Click to collapse
PX6 board has a HDMI connector on it - do you mean that?
I am also interested in a PX6 stock Android 9 partition export image, as I recently bought a PX6 board which has Android 10 preinstalled and therefore I am currently limited to it and can´t "downgrade" to my preferred ROM Hal9k v4 beeing Android 9 based...

Junsun V1/Pro Megathread

This thread is consolidating all the information of Junsun V1 and V1Pro devices scattered in the Android Head-Units forum. I want to write and extend this to make it easier for new people. It's sometimes difficult to find the right information.
Warning: Some of these commands are altering the system. If something goes wrong you can brick your device. Be sure you know what you're doing. I'm not responsible for any damages!
General Other Threads​Junsun V1​Junsun V1 Pro​Junsun V1 Pro Firmware (8259)​Junsun V1 Pro Firmware (8227L)​Junsun V1 (8667Q)​Firmware​Updating the device firmware​Junsun V1 Pro firmware files​Root​ADB connection​Root with Magisk​Writable System​
Updating Firmware​Preparation​
USB drive formatted as FAT32
Files for update (*.bin, *.upd) need to be in the root directory of the USB drive
Starting the Update​The update should start automatically when the USB drive is plugged in. A pop-up appears that says that an update will start. After a few seconds the device will reboot and install the update.
If this doesn't work, plug in the USB stick and restart the device with a needle in the reset button. When the device starts up move one finger on the touchscreen around and wait for a green detected message at the top of the screen. The update will start.
Problem solving​I don't have a *.upd file
That is OK, the file does mot contain any information. Just create a new empty file and rename it like the *.bin file. As example, if you have a 8259.bin create a 8259.upd file.
The device doesn't recognize my USB thumb drive
There are 2 USB connectors on the back of the device. If one does not work, try the other. Make sure your thumb drive is formatted as FAT32.
Firmware Files​This list is made by taking links from different firmware threads (found in first post). Every entry has a link to the original posts. Please be careful when flashing, the files need to match the correct CPU and screen resolution. If you have files for the normal V1 or different screen resolutions you can send me a PM.
Junsun V1 Pro | 8259 | 1280 x 720:​
DownloadOriginal PostVerified8259P_军灿UI02v1280x720-国外_v20_20210907.ziphere8259P_军灿UI02v1280x720-国外_v27_20211201.ziphere8259P_军灿UI02v1280x720-国外_v31_20220225.ziphere8259P_军灿UI02v1280x720-国外11_v1_20220323.ziphere8259P_军灿UI02v1280x720-国外11_v3_20220422.ziphere8259P_军灿UI02v1280x720-国外_v44_20220920.ziphere8259P_军灿UI02v1280x720-国外_v50_20221226.zipheremopfi
Junsun V1 Pro | 8227L:​
DownloadOriginal PostVerified8227L_8军灿UI03-国外10_v7_20210814.ziphere8227L_8军灿UI03-国外10_v21_20211130.ziphere8227L_8军灿UI03-国外11_v3_20220714.ziphere
Junsun V1 | 8667Q | 720 x 1280:​
DownloadOriginal PostVerified8667Q军灿UI02-国外-VHD720x1280_v11_20211207.ziphere8667Q军灿UI02-国外-VHD720x1280_v12_20220214.ziphere8667Q军灿UI02-国外-VHD720x1280_v13_20220510.ziphere8667Q军灿UI02-国外-VHD720x1280_v23_20220801.ziphere
Factory Reset​Settings -> Car Infotainment -> About Device -> Settings Icon -> Code 8878 -> Erase all Content
ADB Connection​Preparation​
Activate Developer options. You have to click a few times on the build number until you are a developer: Settings -> System -> About Car -> Build number
Activate USB debugging. Settings -> System -> Developer options -> USB debugging
Use the 4-pin USB connection on the back of the device. Connect with a USB A <-> USB A cable. My device had a female Mini USB adapter for using a Mini USB cable.
Connect​Use adb to connect to the device
Bash:
adb shell
Problem solving​ADB can't find any devices
It could be that the ADB connection with the device is not working. This means that the corresponding option is not set. This can be done temporary or permanent.
Temporary Connection
To make the connection with adb work temporary we can change the USB setting of the device. To do that we need to set Settings -> USB Preferences -> USB controlled by -> This device. No it should be possible to connect via ADB. The connection is temporary, because after a reboot it is gone and has to be set again.​
Permanent Connection
We can enable the connection permanently by changing a value in the secret menu. Go to Settings -> About Device -> Cogwheel (top right) -> Code 8878 -> Others -> USB2 Debug -> Enable​
Can't find USB Preferences
Go to Settings and click the search icon in top right corner. Type in usb and then click USB controlled by.
Root​Create boot.img​Connect via adb to the device and find the location of the boot partition. The star '*' has to be replaced according to your device. For my Junsun V1Pro it is bootdevice. In the next step we will create a copy of the boot partition. Please be careful with dd command. It will overwrite wrong files or partitions if you do a mistake.
Bash:
adb shell
su @#zxcvbnmasdfghjklqwertyuiop1234567890,.
ls -l /dev/block/platform/*/by-name/
dd if=/dev/block/platform/*/by-name/boot of=/sdcard/boot.img
Patch boot.img​Install Magisk apk on your device. I used Magisk v23.0 from here: https://github.com/topjohnwu/Magisk
Open the app and click on top right Install button
Then click next and choose Select and Patch File
Select your boot.img and let Magisk patch it.
Copy the new created file to your computer. The filename will be similar to magisk_patched_23000_***_boot.img
Bash:
adb pull /sdcard/magisk_patched_boot.img <older_on_your_computer>
Flash magisk_patched_boot.img​
Bash:
adb reboot bootloader
fastboot flash boot magisk_patched_boot.img
fastboot reboot
Writable System​To make the system writable we need to remount the partitions.
Bash:
adb shell
su @#zxcvbnmasdfghjklqwertyuiop1234567890,.
remount
Now we need to reconnect and then we can write to the system (i.e. copy a file)
Bash:
adb shell
cp /sdcard/myapp.apk /system/app
Reserved
Reserved
Hey all, I need help with my junsun v1 pro 4gb +64gb-mtk8259- I just had it installed and everything works except Bluetooth. I can make calls from unit and or my cell phone. Apparently the people I call can hear me but I can't hear them. On occasion as it dialing I hear the ringing for a second then it cuts out. Is this a hardware issue, install issue, or something I need to change in secret menu?? I've reached out to junsun with no luck. I fixed the issue with the swc thanks to this forum!! Hoping someone can help me. Car is chrysler 300c and phone is samsung galaxy note 20.
Cubanlink81 said:
Hey all, I need help with my junsun v1 pro 4gb +64gb-mtk8259- I just had it installed and everything works except Bluetooth. I can make calls from unit and or my cell phone. Apparently the people I call can hear me but I can't hear them. On occasion as it dialing I hear the ringing for a second then it cuts out. Is this a hardware issue, install issue, or something I need to change in secret menu?? I've reached out to junsun with no luck. I fixed the issue with the swc thanks to this forum!! Hoping someone can help me. Car is chrysler 300c and phone is samsung galaxy note 20.
Click to expand...
Click to collapse
Hi, I have the same problem, if you have found a solution to the problem please share it with me! Thanks!
I am trying to mess with the secret menu. Like bt sync type, volume, three is various options in there related to Bluetooth just don't want to screw it up worse. Hopefully someone can shed some light cuz if not I'm returning it. I'll have to pay to take it out....ughh...I love the look though, if not I would just get pioneer but it don't look stock like this
So I Brought it back to my installer and he fixed it. Apparently in my car the speaker inputs were reversed, that why I couldn't hear anyone through speakers. He told me some cars with 6 plus speakers have this problem when installing these type of units. Loving the unit now that's its all fixed.
Hello
I have Junsun V1 pro 4/64g and my unit is hanging on Google boot logo (Android 9).
Does some one know how to get to recovery to do wipe cash / do factory reset?
Thanks
I have the junsun v1 1gb, it does not enter the google play services.
I would like you to provide me with a ROOM image to update or factory reset.
Thanks!
bartekm01 said:
Does some one know how to get to recovery to do wipe cash / do factory reset?
Click to expand...
Click to collapse
I'm actually also looking for a way how to boot into the recovery. Haven't found one at the moment.
For your problem you could try and flash an update (or same version again). Description is in this thread.
Hi
Unfortunately updates are also not booting / updating while reseting. Plugging USB pendrive with update files to second USB port and against resting button still can't manage to update - radio is botting "normally" and ends up with bootloop
Try both USB ports.
Plug the drive in turn the device on and then move a finger on the touchscreen. I do a left right movement. If that doesn't work you will need to do it with the mtk tools and a scatter file.
Hi!! Are there any way to disable calls from SIM card ? Thanks
Hi, I purchased the Junsun V1 pro 6gb/128gb and am pretty happy with it. All the important things connected and worked straight away which was grand. One thing I wanted to check is the battery draining problem and the cutting of the 2 wires to prevent this. I found the Junsun diagram and on there it seems it's the red and orange wires (that "look" to run from the main black block to the black power block for the head unit). The query I have is those wires on my loom run from the canbus white block to the black power block in the head unit. Pictures attached to hopefully show this a bit better. Excuse the terminology Has anyone had any experience with this at all? TIA
Hi Everyone,
Can someone please help me how to factory reset code or the new firmware my Junsun v1 pro 9 inch 8G + 128 GB Radio chip MS98. i tried 8888 or 8878 but i can see no factory reset only factory setting.
thank you advance.
Hey does anyone know how to completey reset the AutoLink app? I tried disabling and enabling again but. Nothing works. I just want to get ride of Android auto activated from AutoLink.
Sowmaxwel said:
Hi Everyone,
Can someone please help me how to factory reset code or the new firmware my Junsun v1 pro 9 inch 8G + 128 GB Radio chip MS98. i tried 8888 or 8878 but i can see no factory reset only factory setting. View attachment 5572199
thank you advance.
Click to expand...
Click to collapse
I have the 6gb, not sure what chip. When you go into the menu after code 8878 it should say on the right in the middle "Erase All" I think. Then it asks you if you want to factory reset.

Categories

Resources