[Android Head-Units] MadlyJado:
Hey everyone!

To say rooting the device was a struggle, would be an understatement. I have figured out how to root it, and have also found the latest firmware.

I wanted to post a guide on how to do it, since the latest one, that did still work somewhat, was created a few years back.

Github Repo for allwinner t3-p1 firmware: Click here

HOW TO ROOT Allwinner T3-P1 ANDROID HEAD UNIT:

Step 1: Find the latest firmware, if my "latest firmware" isn't latest anymore.

Download a file browser, since the built-in one won't open up a text editor (Really strange, I know!) Download something like RX File Browser, and RAR to unarchive the zip we will download from the company's database.

Make sure you are updated to the latest firmware, to find the latest link. If you're already updated to the newest version, don't update!

In the file browser, go to android folder, then data folder, and then look for what is called "com.abupdate.fota_demo_iot" folder, go into that folder, and go into its cache folder. In there, open up the iport_log.txt text file.

Step 1b: Look for the firmware zip file inside the text file.

I was able to find the firmware zip file link in a post request on the iport_log's page 67. Just keep scouring until you see a POST request that leads to a link that has a part that says, "iotdown.mayitek.com/randomnumbers/smallerrandomstringofnumbers/firmware.zip (The random numbers and smaller random string of numbers will be random numbers. And the firmware.zip, will actually just be random letters and numbers as well.) Just make sure to look for the website part saying, "http://iotdown.mayitek.com". After this, open up chrome or which ever website you wish to choose after taking a picture of the link in the text file with your phone or copying it. And enter it into your web browser.

This will automatically download the firmware's zip file.

After you download it, open up RAR, and find the firmware zip file in the Download folder. Once you are in there, unzip it, and find the boot.img. We are about to magiskfy it!!

Step 2: Patching the boot.img with magisk.

If you skipped to part 2 by downloading my firmware github, install magisk from their github, at This Github link, the same is for ppl who have gotten the firmware from the manufacturer.

After installing it, go to where it says, "install" on the first install button that will say "magisk" Don't click on install on the "App" one. That just updates the Magisk app. Once you do that, it will ask you to select a boot.img file. Make sure you have a file explorer installed that isn't the Allwinner one, as that one isn't supported by Magisk. Once you go into the file browser, select the boot.img file. It will then patch it to make it into a rooted bootloader. Once you do that, we can move onto step 3.

Step 3: Copying magisk.img file to laptop

You will need a laptop for the last few steps, since you can't really bring a desktop inside of your car to flash the firmware.

Get a USB Flash Drive with at least 4GB of storage or more. And plug it into the usb to 6 pin cable that you should plug into the allwinner t3-p1 android head unit. Once you do that, open up the built-in file browser that comes with the android head unit. It will then recognize the USB. Go over to the magisk_patched.img file, which should have been put into the Download folder. and once you select it, there should be a copy button at the bottom of the screen, click that.

Open up the flash drive using the file browser, and click on the paste button. Once the copy and paste has succeeded, just take the usb flash drive out of the usb to 6pin port, and plug it into the laptop.

After this, drag the magisk patched boot.img file, onto your desktop, or wherever your android platform-tools sdk is installed.

The next step will either be extremely simple, or very complicated, depending on which OS you use in the next step.

Step 4a: Installing USB Debugging drivers for windows.

Only use this step if you're not using linux. Linux is the best way to do this since linux will already recognize the device in fastboot mode. Windows on the other hand, is kind of strange, and I would not recommend this step, since it involves installing a driver that has some issues with the checksum, meaning it could contain malware. Please use linux, if you can. It will save you a lot of headaches! Do this at your own risk.

Download this zip file: https://drive.google.com/file/d/1-esjiR1lMrD_xRlEUvzqDO_GxSu9-SDO/view?pli=1

This zip file contains the Allwinner T3-P1 adb debugging driver. I could not find this driver anywhere else but from a yt video that goes over how to install root on the allwinner t3-p1. His video is a bit outdated however, and doesn't go over how to get the latest firmware.

After you download the zip file, extract it into a folder of your choice, and then plug in your usb a to 4 pin into your android head unit. This is the only usb port that will work, since it's never said on the manual, but its only used for usb output. If you're wondering why plugging things such as your phone wouldn't work with that port, that is why. It only shoots data for usb debugging outwards. I have tried adb, but it would not recognize the device. Only fastboot gets recognized.

After this. You will need to download a terminal emulator app. This is so that way on the android headunit, you can reboot and go into fastboot mode. The way you do this, is once you install an android terminal emulator app. Open it, and type the command, "reboot bootloader". this will reboot into fastboot mode. Once you do that, it will start to recognize the android headunit as an android device, but since the drivers are not installed, it won't be recognized fully by fastboot.

Next, you need to reboot into the advanced boot options on the windows boot loader. Do this searching up, "advanced startup". It will then give you the option to open the setting app in that area where it says that. After this, look to where it says, "Advanced Startup". Click "Restart now" After this, in the advanced startup options, go to "troubleshoot", "advanced options", and then "startup options". After that, press "Restart" This will restart into a secret option, that can only be accessed by pressing the number "7" on the keyboard multiple times, once you see a blue screen flash on and off suddenly, you're good!

Once you boot back into windows, open up "device manager", while still plugged into the usb to usb 4 pin connector, via something like usb a to usb c, using a usb c port on your laptop. In the device manager, look for "other devices". Inside there will be a device that will be called, "USB Debugging". Inside of there, double click on it, go into the driver option, and press update driver. Click on the option that says, "Browse my computer for drivers" this will open the file explorer. Go to where it the driver files you unzipped are. In the root of that folder, press okay. It will warn you, saying that the driver has a checksum mismatch, press "continue". After this, it will install the usb debugging drivers.

Next, if you don't have platform-tools installed already, download them here: https://developer.android.com/tools/releases/platform-tools and then extract the zip file containing all of the platform-tools, onto any folder you wish. After this, open that folder, and right click and press "open here with terminal". Since you have now installed the drivers, when you type ".\fastboot devices" it will say "Android android fastboot" on one line. This is the connected fastboot device. Now that it has successfully connected. type "fastboot flash boot pathtomasgiskpatched.img" This will then quickly flash the new boot.img file. Lastly, type "fastboot reboot"

After this, download root checker off of the play store, and check for root. If it was successful, it will ask for superuser priveleges, give root checker access, and it will be successful!

Congrats, you have rooted your android head unit, using windows!

Step 4b: root using linux distro of your choice:

I'm going to give the directions to download the platform-tools for Debian, since this is one of the most popular distros. I myself use Arch Linux, but since Ubuntu is based on Debian, this will make it easy for most people to use Linux to do this.

install the android-platform-tools package in the terminal by typing: "sudo apt-get install android-platform-tools". This will installed the android platform tools. After this, if you exit and reopen your terminal emulator, if you type "fastboot" It will be automatically added to path, so it will display the list of commands. After this, if your kernel has the driver for it (On arch linux it was in there.) and your user is added to the "plugdev" group by doing "sudo usermod -aG plugdev username" it should display the device, without having to do all of this crazy driver installing steps like on windows!

Next, take your magisk_patched.img file, and type "fastboot flash boot pathtomagisk_patched.img" After the flash is completed, type "fastboot reboot". After this, check if you have rooted by downloading root checker, and checking for root. If it was successful, magisk will ask the app if it wants to have "superuser privleges" Accept, and the root checker will complete successfully!

Step 5: Enjoy your rooted android head unit!

Make sure to download Androidacy's Magisk Module Manager, (Previous Fox's Magisk Module Manager) using this github link! https://github.com/Androidacy/MagiskModuleManager

This will allow you to install magisk modules, to increase performance, and other things to improve the android head unit's capabilities!