yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] Allan_Hun:
Google image search for: chinese android headunit schematic or chinese android headunit diagram.

Then look at the pictures and find one where the back of the head unit looks like the back of your unit.

Hint: Ground is black (but you already have this right)

The unit also need +12V on TWO wires (red and yellow) The yellow needs constant 12V the red one is acc. Acc is 0V when car ignition is off/12V when ignition is on.
[Android Head-Units] reystos:
Guys, I went ahead and installed the whole addon package on top of iceblue's base memory backup.

Rooting worked well, all packages installed good without any dramas. Instructions were on point! Thank you ice!

Just the d@rn launcher seems to be having a mind of its own: no GPS readings (it wont read it it seems), audio player does not work, no radio button anywhere. I must have missed some part of the setup, if there is any, because the launcher is worse than the stock one.

The applications for music and radio work from the android apps menu, just none are connected to the launcher. Do you know if there is any way to change that?
[Android Head-Units] citizen89:
Too bad this image is for a device with a 1 gb memory. I have the same one but with a 2gb memory. Anyone have a guide for my model?

Mode: YT9213AJ

Android Version: 10.1

Build Number: android-trunk-p0

Custom Version Build version: android-trunk-p0
[Android Head-Units] ExtremeMOD:
Sounds like something went wrong during the config phase. You can of course try many other launchers available both on XDA and in other places on the internet. Set up should be the same.
[Android Head-Units] zudo90:
managed to install this today install your mem dump and twrp and root so far so good,

One thing i notice is my unit comes with buttons on the side. they seem to no longer function. is there a way to get them to work?
[Android Head-Units] ExtremeMOD:
That can happen sometimes and is almost always a software issue that can be easily fixed:

1. Enter Settings - Factory Settings (pw: 8888) then Parameter Settings.

2. Enter Touch Settings

3. Push START to begin mapping functions to your touch keys

4. Map the keys starting with pushing a Function (so like Vol+ etc) and then the corresponding button on your head unit. Repeat for every key you wish to map and then close the window and accept changes. Reboot your head unit and you're done.

5. If the above doesn't fully solve your problem, you can also try this:

Before making any changes to your head unit, access the CAR SETTINGS -> FACTORY SETTINGS -> ENCODER SETTINGS on your head unit and take a screenshot of the current settings (see example below). After installing the software package, go back to these settings and adjust them if needed. Example below but your settings might be different:
[Android Head-Units] zudo90:
Thank you !!! that worked, i didnt think to try the touch settings figured they were in the physical button menu. but i guess the whole thing is a touch screen.

Still playing with the unit but it is much snappier and faster than what i had before. Do you have a viper for android guide to see how to configure it ? so many options not sure what to use. I am trying to see if i can boost sound from phone bluetooth audio to my head unit. stuff liek youtube stream audio on head unit is really soft and I have to crank the head unit volume to almost max.

Cheers
[Android Head-Units] ExtremeMOD:
Glad to hear it's working. As for Viper, it is quite advanced so make sure to research.
[Android Head-Units] MetalOS666:
For me all work well except the rear view camera which stays black while it works well. Someone would have any idea ?
[Android Head-Units] MetalOS666:
Nobody would have a solution to make the reversing camera work?
[Android Head-Units] ExtremeMOD:
Have you tried playing around with the camera settings in Factory Settings? (PW: 8888). Also, was the camera working before the firmware update?
[Android Head-Units] ravindraaec1@gmail.com:
Any one want to update your yt9312 stereo contact me ravindraaec1@gmail.com free of cost . I was also update my car stereo after 6 month try and learn method if XDA devloper give me permission because this is XDA devloper channel so iam not authorised to write this type word if I am wilating yor channel rool please delete this message thanku.
[Android Head-Units] TNSMANI:
It may be better if you can write a guide and post it on XDA for those who need help instead of asking the users to contact you.
[Android Head-Units] zudo90:
hmm, I was messing with the fm radio apk as I saw some one posted a modded version and tried to flash it via twrp. I thought you had to uninstall the old fm radio from the apps menu and did that. now I am unable to get the fm radio apk back to the apps menu as I tried to install it via the apk but get the apk no installed error. Is factory reset my only option? and will i lose recovery and root and have to do it again?
[Android Head-Units] miecz16:
Is it possible to find or have someone have original files memory dump from YT9213Aj with 1Gb RAM and 16Gb FLASH drive, because I do not have a copy and I made a brick from the radio.

Please help.
[Android Head-Units] MetalOS666:
Sorry for the late response. Yes my camera was working before the update. I went to the settings of the room where you have to enter the code 8888 but I couldn't find anything concerning the rear camera. Do you have any more info ?
[Android Head-Units] ExtremeMOD:
Why would you ask for that? This is exactly what the original post is all about including dump links.
[Android Head-Units] mike.nascimento:
Hello, can I use it in my HU?

Thank you very much.
[Android Head-Units] ExtremeMOD:
Yes you can. Just make sure to backup your current flash just in case.
[Android Head-Units] fenyovari:
Unfortunately, the flash could not be started. I get this error message.

Please help me with what I need to do!
[Android Head-Units] ExtremeMOD:
You are using wrong memory addresses. Either your unit is not compatible or you haven't followed the instructions on how to insert the memory map addresses
[Android Head-Units] fenyovari:
The device is the YT9213AJ 2G / 16, so it probably won't go up.

Where can I find a package that can be put on this device?

The original Androind is really bad!

The radio does not control the tone and there is a problem with the sound.

Help!
[Android Head-Units] fenyovari:
[QUOTE = "iceblue1980, post: 84545967, tag: 11030965"]

Helytelen memóriacímeket használ. Vagy a készüléke nem kompatibilis, vagy nem követte a memóriatérkép-címek beillesztésére vonatkozó utasításokat

[/IDÉZET]

Egy másik probléma: Nem tudok mozogni a TWRP menüben, mert nincs gomb a mozgatáshoz.

Hogyan Lehel EZT megoldani?

Nem működik az USB billentyűzettel :(
[Android Head-Units] HorkayZolee:
Próbáld egérrel, először kattints, majd megjelenik a mutató (nyil). Amúgy ez nem TWRP.
[Android Head-Units] fenyovari:
[QUOTE = "HorkayZolee, post: 84546683, tag: 4944431"]

Próbáld egérrel, először kattints, majd megjelenik a mutató (nyil). Amúgy ez nem TWRP.

[/IDÉZET]

Köszi a segítséget! Sajnos az egérrel sem működött. Amikor elindítom az androidot, a billentyűzet és az egér is ott működik. De semmi helyreállítási módban. Biztos vagyok benne, hogy van néhány trükkje, de nem fogom kitalálni.
[Android Head-Units] fenyovari:
[QUOTE = "HorkayZolee, post: 84546683, tag: 4944431"]

Próbáld egérrel, először kattints, majd megjelenik a mutató (nyil). Amúgy ez nem TWRP.

[/IDÉZET]

Szerintem ezzel vége a kísérletnek :(

Megtaláltam a megoldást.

A panel 1 mm-nél kisebb érintőit forrasztani és megérinteni kellett, mozgatva a kurzort és megnyomva az OK gombot. Sajnos a forrasztásnál a legkisebb érintkezés leválik, ezért nincs rendben. csak a kurzort mozgathatta.

Szüksége van egy csomagra, amelyet a flash_tool segítségével lehet feltölteni.
[Android Head-Units] fenyovari:
[QUOTE = "ravindraaec1@gmail.com, post: 83856203, tag: 7106209"]

Van YT9213AJ 2 és 16 GB-os sztereó memóriám, de elveszett a Google-fiókom, és néhány alkalmazás törli az automatikus és a Google-fiókot. Amikor újra kialakítottam / alaphelyzetbe állítottam, a Google-fiók jól működik, de a frissítés után a Google-fiókomat és a Play Áruházat is törli, és most mit kell tennem?

[/IDÉZET]

Szia!

Melyik csomagot tetted a 2G / 16G-re? Hogyan működött, és jól működik? Hibaüzenet jelenik meg, amikor villogni akarok. Mindent a leírtak szerint tettem, de ez nem megy fel.
[Android Head-Units] james28909:
How can I do this but for the 2gb/16gb version of the 9213AJ? Can you make one if I provide dumps? What data would you need? Just let me know, would love to get this thing rooted and viper installed

Or maybe I have obtained a head unit that has faked information. Ive read about that a little. I will download cpu-z tomorrow and check it out
[Android Head-Units] ExtremeMOD:
Unfortunately not. I would need to physically have such unit to create something like this.
[Android Head-Units] james28909:
What about if it is fake data on the screen? What if cpu-z reports 1gb/16gb? Would it be safe then?
[Android Head-Units] ExtremeMOD:
Short answer is - do not attempt this on any unit other than the recommended one. This has nothing to do with what the unit reports in terms of stats, it has to do with the physical memory map addresses which are based on your hardware.
[Android Head-Units] james28909:
So I need to disassemble and check hardware? Is there a spec sheet or check list of supported hardwares? Any extra information would be fantastic. How would I find the physical memory map addresses? Ill google that lol
[Android Head-Units] james28909:
Well actually I just got the original update for this model. I messaged them about it and they told me to send them a picture of system info and I did that, and they sent me a link to a zip file named "huidao_yt9213aj_ui2_merge-ota-v6.5.zip". Would this be of any help?
[Android Head-Units] ExtremeMOD:
Unfortunately it does not. If you want to take the risk, first backup your current system by exporting a full memory dump via Flashtool. Then re-import it to make sure it was successful. After that, try my files and if it bricks the unit, you need to be prepared to run a Test-Point restoration. You have all the info in the OP. Good luck!
[Android Head-Units] focussoft:
sadly all the 10000uf 25V capacitors i found are 35mm long , i found a 10000uf 16V that is 30mm long and fits in that spot

Where did you find a 25v that is short enough to fit in this radio ?
[Android Head-Units] ExtremeMOD:
This is very similar to what I'm using. Recommended dimensions:

Seated Height: max 36 mm

Diameter: max 18 mm

I was able to insert it but had to make a small dent in the case from the inside using a dremel tool. But it definitely fits.
[Android Head-Units] james28909:
I will install this zip file tomorrow and see if it works. If it does then I will feel safer about testing. I should be able to root with majisk or supersu?
[Android Head-Units] ExtremeMOD:
No need to root anything. Just follow the instructions in the original post and install TWRP, Root etc as instructed there. Let us know how it goes
[Android Head-Units] Gankuh:
Hello, good afternoon.

I have a unit with YT9213A and after a lot of headache I have managed to do a memory dump of your firmware.

I'm very happy with it, but as you say in the December update, I'm having trouble installing TWRP.

I download the file and when I try to flash it with TWRP it tells me that "PMT changed the The ROM, it must be downloaded" and that I need to do a "format + downloader", but if I do that, everything is deleted.

Is there a way to embed TWRP in the "user" image or a way to flash it without the flashtool error?

I would appreciate help, I don't know what else to try, thanks
[Android Head-Units] ExtremeMOD:
Sorry to hear you experience difficulties. You shouldn't experience these errors if you successfully imported the memory dump. Please read all the instructions, and make sure that you try different version of Flashtool
[Android Head-Units] Gankuh:
The ROM is perfect, it just doesn't have root, TWRP or Viper.

When I try to flash TWRP is when the error appears.

I have followed all your instructions, and have tried flashtool 5.18, 5.19 and 5.20.

-I download the TWRP zip file

-I unzip the file

-I select the zip scatter

-I check that recovery is checked

-I hit flash and the error comes up

It seemed the memory dump like difficult and flash TWRP like easy and in the end ...

What am I doing wrong? Thanks
[Android Head-Units] ExtremeMOD:
Try more versions of Flash tool. Put the files C: drive. Make sure scatter file and recovery file are in the same folder. Make sure to run Flash tool as administrator.

I'm assuming you're using the "Download" option in Flash tool and not "Write to memory" as you do when importing the memory dump?
[Android Head-Units] Gankuh:
Accomplished! After spending all night testing, and formatting and flashing...

I tried FlashTool 5.2032, 5.1924 and 5.1824.

I happened to try an older version 5.1628 and flashing TWRP without problems!

Regarding what you ask me, I made the memory dump with "write memory" "as stated in the instructions. And the TWRP with Download mode.

In the end I am already root, and I have Viper, so thank you very much for helping me friend!
[Android Head-Units] james28909:
I have a yt9213aj, but mine shows 2g in the system info, I have verified on the board, and in settings of the device that it is indeed 1gb. But I cannot get viper to install. No matter what I do, the driver doesn't install. I get the endless loop of "no driver found, please install and then reboot".

I tried installing this rom but it doesn't boot on my device. Either. Does anyoen know of a sure fire way to get viper installed? I am fully rooted with latest magisk and have system as rw
[Android Head-Units] ExtremeMOD:
Happy to hear this worked! I personally have about 20 different versions of Flash Tool installed (portable versions) because this is by far the most common problem when facing issues with memory dumps and custom uploads.
[Android Head-Units] Gankuh:
Hi. If you are fully rooted, try to download the Viper file from the first post. It include busy pro and it come with instruccions.

I had no problems with this.
[Android Head-Units] ExtremeMOD:
I have had similar challenges with Viper and I'm afraid it might have to do with Magisk. I never got it to work properly. SuperSU is what I use when modding these units. Also make sure to follow the instruction exactly as in the package - to the word. Install software packages in the correct order (not just Viper but supporting packages as well). Aside from that, the 2Gb units might need to have different memory mapping even if they don't have 2Gb physically. This is why I only work with 1Gb units as memory mapping is "hacked" in 2Gb units as yours. Good luck
[Android Head-Units] james28909:
The 2g is just text buried in the 3rd party seller settings app and I can change it at will by using the magisk module "hidden settings". There are a lot of settings you can change with this actually.

I wanted to use super su but I am unsure how to do it since it doesn't autopatch in twrp. It says unsupported. I tried to look to manually do it, but I am a noob and couldn't figure it out. If you could lend me a hand here and tell me what to do to use super su I would sure appreciate it. I will do and download the v4a in yoru post and try
[Android Head-Units] james28909:
Nope, driver install failed IO error. Please reboot and try again. This is with your app but magisk root. I have setpolicy 0 and adb remount to make system rw. Didn't install as a priv-app in system either
[Android Head-Units] ExtremeMOD:
Okay I see, so here is probably the quickest way of getting your unit fully customized (detailed instructions are in the OP):

1. Backup your current unit by means of a Memory Dump

2. Import the same memory dump back to the unit and ensure it works

3. Perform all tasks in OP starting from Memory Dump import but you can probably exclude importing "BOOT1" or "ROM1" as you have a working unit. Only import the large file 14Gb.

Good luck!
[Android Head-Units] james28909:
OK well here is a problem. I am on 9.1 and when I flashed the supersu zip, I get infinite boot animation screen. And I get this message in dmesg " (0)[83:hang_detect][Hang_Detect] hang_detect thread counts down 2147483647:2147483647, status 0." I am amazed that it was able to flash tbh. The newest one will stop and say its unsupported.

EDIT: ill just try to install your image here and see what happens. I thin I have already tried actually but it boot loops my device.
[Android Head-Units] james28909:
I cannot get the userdata to fit on my device. Besides, it doesn't boot even with everything else flashed minus userdata.
[Android Head-Units] ExtremeMOD:
User data is the most critical piece. And it'll fit your device.
[Android Head-Units] james28909:
There is no way. I even unpacked it and tried to flash it in fastboot and got error about its to big. Maybe you have an additional pointers on how to resize it? It will not flash in download, or write memory in the secret menu, or in fastboot.

I did shrink it a little but it was still to big. Also, I can't extract userdata image or I could just extract everything and then copy it over to my device
[Android Head-Units] ExtremeMOD:
That's very strange. Only thing I can think of is faulty hardware or your flash is less than 16gb
[Android Head-Units] james28909:
Just checked and userdata is 12,998,672,384 bytes. This is the size of the complete dump of that partition. Android partition is 1,610,612,736 bytes. The rest of the files there would not add up to 16gb. but it would be very close, and I am positive this thing has some hidden partitions so it very well could be 16gb, but set up a little different. My hidden partitions may be bigger, which takes room away from userdata or something?

There must be a way to shrink this userdata image though. There is a **** ton of null bytes in it, but you got to make the headers match the file sizes within the image, and I am not up to par on android. If it was ps3 or ps4, I could do it easily. I will look into it though. Shouldn't be THAT hard to do.

Also, I got a replacement radio for some reason from the company. I showe them the ui and it was messed up somehow and I asked them how to fix it, or send me the right apk for the ui, and they instead sent me another stereo. Well that stereo come in and had a busted corner on it, not to bad, its still usable, but I told them about it, and they are sending me another one and told me to keep the other ones. So for 100 bucks or so, I got 3 stereos. I am now tryign to put the original firmware on my original device. I made a dump of the second one they sent, and flashed original bootloader and android partitions from the other new device to the old original one and it worked.

Also, I think that a lot of these firmwares are indeed cross compatible, but there has to be some files patched from your own device into the firmware from other models. Files that are manufacturer specific and maybe some other ones that are more hardwarecontrol related, libs and such
[Android Head-Units] ExtremeMOD:
You're absolutely correct but if you can't import the dump, it's an indicator that your unit isn't the right one. You can of course split the dump and only upload Boot, System and Recovery. Look into tools like WWr MTK.
[Android Head-Units] james28909:
Ive already extracted all of the files from your dump into their individual respected img files. When I say I tried to flash it, I mean the userdata.img only. I was able to flash the android img and boot and everythign else, but I couldn't fit the userdata.img. Not to mention I couldn't get it to boot to android, but I think this is because it didn't have userdata partition flashed too. Once I flashed your boot and system(ANDROID).img it would boot up to the boot logo, but would just boot loop. I am getting more comfortable with this now though. I used to develop for the ps3, and have written elaborate scripts to dump and do sanity checks on per console data, that if one byte was wrong it would brick the console causing you to have to short out test points to be able to keep the system on so you could flash it. If you tried flashing it without the power on, it wouldn't work because the motherboard would draw all the power away from the nand or nor flash packages.

Over then next few days I am going to attempt it again. If anything, I will grab the viper apk out of the dump and try to just install that.
[Android Head-Units] ExtremeMOD:
UPDATE 13 Apr 2021

- NEW video link

- MORE pictures

- All-In-One file download (memory dump, root, TWRP, Viper etcplus all the tools and guides on how to install them)

- Added YT9216B mod and tools

- View the original post for more info

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

Currently working on YT9217B model as well but that'll take a few weeks. Stay tuned
[Android Head-Units] Baron_01:
thanks for all the efford your are putting in this!

so i have a problem whith getting an error

"ERROR : S_FT_ENABLE_DRAM_FAIL (4032)". (in different versions of flash tool the error is described different but its the same error)

im using Windows 10 64bit

i've installed the drivers via the link that was in the discription on the first post. and its showing up as: MediaTek USB port (COM49)

i allso tried 16 different versions of flash tool.

i've tried different usb cables, different ports and a different computer.

what am i doing wrong?

maybe something with the boudrate of the COM port?

i hope you can help me!

thanks anyway!
[Android Head-Units] ExtremeMOD:
That error is caused by the Flashtool version or issues with drivers. Other than that, I really don't know, I'm afraid. Possible to test on another computer?
[Android Head-Units] loosht:
Does the newests memory dump contains root, viper etc?
[Android Head-Units] ExtremeMOD:
Yes, please view the OP for more details
[Android Head-Units] loosht:
Maybe I misunderstood something. The zip file contains everything (boot, scatter, pdf etc., really good and complete job!) but from the OP I assume everything is preinstalled. So '2. Install second' part in the zip is not needed? Thanks!
[Android Head-Units] ExtremeMOD:
It's needed for root, TWRP, Viper and all other cool stuff
[Android Head-Units] ExtremeMOD:
Check the video link in the OP
[Android Head-Units] cici2:
Hi,

My device is YT9213AJ. Does anyone know if any option in "Factory Settings" to display the battery voltage and temperature with one decimal in "Car Information"? The update solve this problem or any other solution?
[Android Head-Units] Apranito:
Hello

I have a Witson w2-k7XXX unit. I made a restore provided from bob@witson.com.

At 45% the procedure stopped and my unit doesn't work anymore.

I want to unbrick it with the method of flashtool but i need the scatter (map) file (i believe :p)

Also i want to ask if connect it with usb through my laptop is all i need (without remove it from cockpit.
[Android Head-Units] Apranito:
hi... i have a witson w2-k7XXX unit and it is bricked.. can i use ur files to save it?
[Android Head-Units] ExtremeMOD:
I'm afraid you cannot.
[Android Head-Units] renatux:
man, could you help me ?

What i'm doin wrong ? I've checked the unit model and it's compatible. but..

I'm tried do change the region to EMMC_BOOT1, too. No success.

SP Flash version: 1824

mediatek driver installed by the link on this topic
[Android Head-Units] ExtremeMOD:
Your unit is not compatible, I'm afraid. You got YT9213BJ, whereas the mod you're trying to install is YT9213AJ
[Android Head-Units] renatux:
OMG, so sorry man!!!

Thanks for your time
[Android Head-Units] renatux:
man, i'm confused with version of HW i have.
[Android Head-Units] ExtremeMOD:
Looks like YT9216BHJ which isn't suitable for these mods. Also check your MCU version and share the screenshot to be sure.
[Android Head-Units] mark-1978:
what if you can only get your radio into fastboot mode? So, not download mode. There are at least 2 people (@lagakappa96 and @TheGoldenSoldier ) from xda that have that problem with the radio. Both bought a better radio. They can get twrp recovery to work, but they still can fix their radio.