[PX3 & 5] [OTG] - No Headunit Mod, recover or flash a SOM with a simple USB cable

Search This thread

renatolipari

Member
Nov 12, 2016
9
2
Sarebbe possibile utilizzare anche un cavo di collegamento USB?
[URL unfurl = "true"] https://www.amazon.de//dp/B00A0I1ZWO/ [/ URL]
Sì, allego le foto della radio quando ha funzionato e il cavo usb che ho costruito che funziona benissimo.
Ho provato molti firmware ma non trovo quello giusto.
La radio ha un display PX6 (A72), 4G + 64G, 1024x600.
Qualcuno può aiutarmi? Sto cercando il firmware giusto. Grazie.
IMG_20210107_163402.jpg
IMG_20210107_163413.jpg
IMG_20210116_123631.jpg
IMG_20210317_183942.jpg
PX6_OTG.jpg
 

Attachments

  • IMG_20210107_163356.jpg
    IMG_20210107_163356.jpg
    348.1 KB · Views: 475
Last edited:
  • Like
Reactions: Hercules8

renatolipari

Member
Nov 12, 2016
9
2
What is the designation for "12K" and "15K"? Am not an electrician. Would not like to destroy my board.
I'm sorry but I didn't understand your question. You can ask the question using simple, I translate with google! But I can help you, if you want I can send you the drivers, the program to make the PC "talk" with PX6
 

renatolipari

Member
Nov 12, 2016
9
2
I mean this. What is the designation? What does it mean?

View attachment 5252737
The 12K resistor has two connections: on one side it connects to the PX6 (in that precise hole, the third) together with the red USB wire (+ 5V). The other side of the 12K resistor connects with one side of the 15K resistor, so here is a solder together with an orange colored wire going into two holes of the PX6. We now have the other side of the 15K which connects together with the black USB wire (-5V) to the precise hole of the PX6.
 
  • Like
Reactions: Hercules8

renatolipari

Member
Nov 12, 2016
9
2
The 12K resistor has two connections: on one side it connects to the PX6 (in that precise hole, the third) together with the red USB wire (+ 5V). The other side of the 12K resistor connects with one side of the 15K resistor, so here is a solder together with an orange colored wire going into two holes of the PX6. We now have the other side of the 15K which connects together with the black USB wire (-5V) to the precise hole of the PX6.
When in the diagram you see a dot that joins two wires it means that they are welded together; when two wires meet without a dot you don't have to solder them together, OK?
 

Hydronaut

Member
Jul 16, 2008
8
1
Thanks for posting this, fixed my PX30. Didn't bother with the resistors just used maskrom mode. Had to try a few flashing programs but evenually found one that worked. Was geting test failed with the others. Had issues at first with unrecognized usb but made a new cable and it worked.

I soldered on some leads. Can I just leave them connected and add a switch to the maskrom pads and just run out to a connector so I can do in dash if I even need to?
 
  • Like
Reactions: fashion2891

fashion2891

Member
Sep 12, 2019
14
0
Hi good evening, I have a problem, practically, after an update went wrong, the radio went brikkata, it remained on the black screen, when I turn it on, only the perimeter keys light up, the black screen remained, I removed the som from the radio, I did the procedure with USB cable created as described, I can load everything, but once the work is finished, I close the stereo I turn it on from the bench not in the car, and the problem always remains, what else should I do? Thanks for aid.



Salve buonasera,ho un problema,praticamente,dopo un aggiornamento andato male,la radio mi si e brikkata,è rimasta sullo schermo nero,quando l'accendo,si accendono solo i tasti perimetrali,rimanendo lo schermo nero,ho tolto la som dalla radio,ho fatto la procedura con cavo usb creato come da descrizione,riesco a caricarci tutto,ma una volta terminato il lavoro,richiudo lo stereo lo accendo da banco non in macchina,e il problema rimane sempre,cos'altro devo fare?Grazie per gli aiuti.
 
Last edited by a moderator:

marchnz

Senior Member
Nov 26, 2012
3,277
663
wombleton
Thanks for posting this, fixed my PX30. Didn't bother with the resistors just used maskrom mode. Had to try a few flashing programs but evenually found one that worked. Was geting test failed with the others. Had issues at first with unrecognized usb but made a new cable and it worked.

I soldered on some leads. Can I just leave them connected and add a switch to the maskrom pads and just run out to a connector so I can do in dash if I even need to?

How did you get the 3v supply without resistors?
 

Hercules8

Member
Jul 22, 2019
21
1
Heilbronn
I plugged the cables into the board as on page one. But I can't get a connection even if I "short-circuit" the contacts. As soon as I remove the black cable, I get a Windows sound for a new device, but it is not recognized.
 

Attachments

  • IMG_20210416_164348.jpg
    IMG_20210416_164348.jpg
    8.5 MB · Views: 19
  • NoDevice.PNG
    NoDevice.PNG
    19.7 KB · Views: 22
  • IMG_20210416_164359.jpg
    IMG_20210416_164359.jpg
    8.2 MB · Views: 18
  • IMG_20210416_164418.jpg
    IMG_20210416_164418.jpg
    2.7 MB · Views: 21

renatolipari

Member
Nov 12, 2016
9
2
Ho collegato i cavi alla scheda come a pagina uno. Ma non riesco ad ottenere una connessione anche se "cortocircuito" i contatti. Non appena rimuovo il cavo nero, ottengo un suono di Windows per un nuovo dispositivo, ma non viene riconosciuto.

Devi rispettare benissimo i pin sulla SOM ed i valori delle resistenze, stai molto attento.
Collega prima la SOM al cavo USB modificato e poi colleghi il cavo USB al PC.
Poi devi avviare AndroidTool, non devi usare la scheda con l'elenco dei file, devi usare la scheda Upgrade Firmware.
Clicca su firmware e dici al programma dove si trova il firmware.img.
Poi devi cliccare su EraseFlash.
Poi devi cliccare su Upgrade.
Quando è finito il flash devi prima chiudere il programma AndroidTool e poi disconnettere il cavo USB.
Rimonta la SOM nell'autoradio e funzionerà benissimo.
 

Hercules8

Member
Jul 22, 2019
21
1
Heilbronn
Devi rispettare benissimo i pin sulla SOM ed i valori delle resistenze, stai molto attento.
Collega prima la SOM al cavo USB modificato e poi colleghi il cavo USB al PC.
Poi devi avviare AndroidTool, non devi usare la scheda con l'elenco dei file, devi usare la scheda Upgrade Firmware.
Clicca su firmware e dici al programma dove si trova il firmware.img.
Poi devi cliccare su EraseFlash.
Poi devi cliccare su Upgrade.
Quando è finito il flash devi prima chiudere il programma AndroidTool e poi disconnettere il cavo USB.
Rimonta la SOM nell'autoradio e funzionerà benissimo.
But without a proper connection, surely that won't happen?
 

Attachments

  • NoDevice.PNG
    NoDevice.PNG
    19.7 KB · Views: 12
  • IMG_20210416_192146.jpg
    IMG_20210416_192146.jpg
    2.5 MB · Views: 13

drstoms

Member
Feb 14, 2016
29
2
Le connessioni devono essere perfette altrimenti non funziona niente.
La tua foto di sinistra quella del programmatore non va bene, devi cliccare su Upgrade Firmware e seguire tutti i passaggi che ti ho scritto.
I have the same problem that it does not detect px5. I have a jig made by myself as in the first post and I also have a px3 board and normally the jig detects it in the loader and when the external pins are in the maskrom but in px5 no reaction at all. Do you have any idea? because you have good suggestions, but despite the perfect connections, the board does not see what then?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Le connessioni devono essere perfette altrimenti non funziona niente.
    La tua foto di sinistra quella del programmatore non va bene, devi cliccare su Upgrade Firmware e seguire tutti i passaggi che ti ho scritto.
    Good suggestions and do remember to post in English as well.
    1
    Check out my recovery and OTG threads.
    1
    probably seen them . any tips to get to recovery without opening radio ?

    Try https://forum.xda-developers.com/t/bricked-witson-px3-mtcd-solved.3640608/post-73171057

    This thread is for OTG, I think you might want to ask in Q&A forum (for recovery without opening device.)
    1

    Thought about flashing only the reco

    Odd, others have used OTG successfully to flash A10. I know I have.
    Sounds like you might have overlooked erasing flash and then using image to partition first.

    Sharing is what XDA is about, I hope you chose to share.
    YOU REPLYED ... let me know the steps like a child plz . cus i have tryed to flash update.img in loader and masked mode and have erased flash also i tryed like million diffrent ways with rk batch tool android tool different vers ect ... . and what img i uses to partiton first ? everything i have tryed has failed or only goes to 2% then says complete . only full dump worked for me like the oreo one you shared . but bt didnt work on that and no way to update besides modinstallertool . i also figgered out how modinstaller works and what it flashed

    ui_print("Writing trust.img...");
    package_extract_file("trust.img", "/dev/block/by-name/trust");
    ui_print("Writing uboot.img...");
    package_extract_file("uboot.img", "/dev/block/by-name/uboot");
    ui_print("Writing RKLoader.bin...");
    package_extract_file("RKLoader.bin", "/tmp/RKLoader.bin");


    also only flashing the recovery = black screen you need to flash trust uboot and rkloader for android 10 recovery to load and work
  • 19
    "Factory" Recovery for MTCx PX3, PX5 and PX6 SOM.

    Finally - OTG for all without modifying your head-unit. With only basic electronic/soldering skills, get OTG and fearlessly flash or recover a 'bricked' MTCD/E (HCT printed on SOM) Rockchip PX3, PX5 SOM.

    See attached pics for making an OTG cable from a USB cable and two resistors.
    Resistors are 12K and 15k (22k is probably better) or anyone of the following. combinations. These resistors are necessary as 'voltage dividers', with a value between 1.8v and 3.3 OK. These simply place a logic '1' on recovery and USB-OTG to 'tell' the SOM to go into OTG recovery mode.
    R1 | R2
    -------------------
    1K | 1.8K
    2.2K | 3.3K
    10K | 18K
    12K | 22K

    Get Windows Driver [Driver assistant - latest version] and [Android tool - latest version] for direct/OTG SOM flashing here.. Be sure to edit [android tool] .ini file to set English, otherwise tool will be rendered in Chinese.

    This tool for dumping / getting full backup of SOM
    Excellent tool, thanks @RedScorpioXDA

    Note - all tools and driver have equivalent Linux versions.

    PX5 Android 9 Update.img - suitable for flashing via rockchip tools - https://yadi.sk/d/umCvHqCDzHccr/RockChip PX5 Android 9/YB
    • The image is located in px5 android 9/yb. The file has "_img_" listed in the filename.
    • Note Android 10 has an img file too - located in px5 android 10/chs.

    PX5 Android 8 Oreo full Partition extract suitable for recovering SOM, flashing via rockchip tools - https://drive.google.com/drive/folders/1P703unZDA_TdRzl6fjkkb-YUB-KpTViW


    Using the RockChip Android Tool:
    • For OREO: Unzip and flash all partitions in the ZIP file [px5_OREO_Full_13032018-UseToRecoverOrCreateNew.7zip here
    • For Android 6, flash the latest update.img file in android tool

    There are guides to partition flashing found on the internet, would be great if anyone could contribute by posting step-by-step instructions or a video to assist others (there are now posts in this thread...)

    A generic guide to the RockChip Android tool, flashing partitions or image files is here as previously posted.

    Credit (thanks!) to @scorillo_ro for the detailed image/connections diagram.

    Worst case - SOM doesn't respond - force 'maskrom' detailed here explaining what MaskRom is and here on how to for your PX5 (px3 is similar.) Steps are: Power Off SOM and disconnect USB to PC. Use Tweezers, apply power/connect USB. Hold until Windows Device chime is heard (within about 2 seconds of power on.) See attached pic.

    Warning : Use thin pins for OTG cable in order to avoid the damage of the SOM connectors, although along the thread it has been noted many times that damage to the SOM socket is very likely to happen if thick pins are used...OR buy SOM header from Aliexpress, digikey etc.[/COLOR]

    17/11/2019 - Edit: Corrected URL for Windows and Linux Rockchip tools

    04/04/2020 - link to px5 android 9 full update.img
    12
    Nice work @marchnz !
    A full step by step and pictures howto should be made now and all those PX5 users without sdcard slots will be able to use this method to get Android8!

    LE. I drew a schema
    3
    Is there a howto to install Android 8.0 via OTG?

    Thank you

    Theres an entire thread about how to install Oreo.
    3
    Many thanks :D
    I take it the board in the first thread above is the one out of any PX5 android car radio ?
    Yes, on the first page of the thread you will see PX5 boards, both the green one and the blue one.
    Both are PX5 boards, just different versions...

    ---------- Post added at 10:01 AM ---------- Previous post was at 09:49 AM ----------

    Do we need a male to male USB wire? Or does a normal USB wire work to?
    No, you can cut and use any USB cable that have at least one male plugs at its ends.
    If you don't have any spare USB cable to use and need to buy one, you can buy an male to male one just to cut it in two equal parts. Use one part to build the PX5 OTG cable and keep the other one for spare :)

    I'll also recommend the cable to be not too long and not too thin.
    2
    We need a really good howto with all news. My resitors will arrrive tomorrow, i hope. Then i will try my best to get my board to live again :)

    Regards

    Full guide here. Covers both update.img update and partition by partition (if you have the files).
    Flashing Oreo:
    1. The latter flashing by partiton is most reliable method for Oreo (I need to upload files somewhere - within the next few days.)
    OR
    2. use the update image created by kumarai to first flash the Android 8 recovery, then put update on a SDcard or USB stick and flash the update from recovery.

    Again, for those where recovery doesn't recognise SDCard or USB stick, I will upload full partiton files and create an upgrade process summary in the next few days.


    For Android 6, use the update image method.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone