Root for Android 10 PX6 MTCE

Search This thread

Al Ferro

Senior Member
Sep 26, 2016
205
70
Sony Xperia 1 IV
I tested this on my Dasaita px6 mtce head unit once I installed Android 10
(thanks @Diavol for the tip)
I know that there are other ways to do this, but this is how I accomplished it.
****************DO THIS AT YOUR OWN RISK***********************************
1- On Head Unit: install a terminal emulator and run the three following commands pressing enter each time. (device will reboot). This will open ADB witj root permissions on port 5555

setprop persist.adb.tcp.port 5555
setprop sys.rkadb.root 1
reboot
*******************************************************************************
2- Uzip Su-Magisk folder and place the files on the root directory of your PC ( C:/ )
Open command prompt window on your PC with administrative privileges and enter one line at a time,,,,,, if you get stuck at "adb shell /system/bin/su --daemon", repeat the process on a new command prompt
window. When that is finished install Magisk V 20.4 (20400), after it gets installed it will search for updates and will say that the app is not installed, press on install, a window will pop up, choose to install it as a "Direct Install (Recommended)" when finished, press the yellow reboot button.


cd c:/
adb connect (enter here your ip address number, for example 10.0.0.2)
adb root
adb connect (enter here your ip address number, for example 10.0.0.2)
adb remount
adb shell setenforce 0
adb push su /system/xbin/su
adb push su /system/bin/su
adb shell chmod 06755 /system/bin/su
adb shell chmod 06755 /system/xbin/su
adb shell /system/bin/su --install
adb shell /system/bin/su --daemon
adb push rooting.rc /system/etc/init/rooting.rc



***************************************************************************
***************************************************************************
 

Attachments

  • Screenshot_20200716-120759.jpg
    Screenshot_20200716-120759.jpg
    47.6 KB · Views: 3,704
  • Screenshot_20200716-120832.png
    Screenshot_20200716-120832.png
    43.7 KB · Views: 3,778
  • Screenshot_20200716-121440.png
    Screenshot_20200716-121440.png
    50.7 KB · Views: 3,580
  • Screenshot_20200716-122044.jpg
    Screenshot_20200716-122044.jpg
    45.4 KB · Views: 3,331
  • Screenshot_20200716-122112.png
    Screenshot_20200716-122112.png
    245.9 KB · Views: 3,176
  • Screenshot_20200716-122122.png
    Screenshot_20200716-122122.png
    98.1 KB · Views: 3,107
  • Screenshot_20200716-122131.png
    Screenshot_20200716-122131.png
    38.3 KB · Views: 3,062
  • Screenshot_20200716-122133.png
    Screenshot_20200716-122133.png
    44.4 KB · Views: 2,986
  • Screenshot_20200716-122142.png
    Screenshot_20200716-122142.png
    50.4 KB · Views: 2,913
  • Screenshot_20200716-122150.png
    Screenshot_20200716-122150.png
    43.2 KB · Views: 2,797
  • Screenshot_20200716-122212.png
    Screenshot_20200716-122212.png
    32.9 KB · Views: 2,678
  • Screenshot_20200716-122224.png
    Screenshot_20200716-122224.png
    38 KB · Views: 2,598
  • Screenshot_20200716-122319.png
    Screenshot_20200716-122319.png
    233.6 KB · Views: 2,504
  • Screenshot_20200716-122401.png
    Screenshot_20200716-122401.png
    29.7 KB · Views: 2,491
  • Screenshot_20200716-122458.png
    Screenshot_20200716-122458.png
    48 KB · Views: 3,085
  • Su-Magisk.zip
    2.1 MB · Views: 1,408

marchnz

Senior Member
Nov 26, 2012
5,632
1,220
NZ
Finally, after months of garbage "help me how do I do (the same boring question multiple new members signed up to XDA for - without reading the forums :) a thoughtful contributing post! Brilliant!
 
Last edited:

AndreySanich

Member
Jul 1, 2020
11
2
Для РХ5 тоже подойдет??
Suitable for PX5 too ??

---------- Post added at 09:03 AM ---------- Previous post was at 08:57 AM ----------

I read different forums, and there seems to be a way to make boot.img root (also through Magisk) and flash it into the radio
 

Al Ferro

Senior Member
Sep 26, 2016
205
70
Sony Xperia 1 IV
Для РХ5 тоже подойдет??
Suitable for PX5 too ??

---------- Post added at 09:03 AM ---------- Previous post was at 08:57 AM ----------

I read different forums, and there seems to be a way to make boot.img root (also through Magisk) and flash it into the radio
Yes I am aware of that, but why? when I install Magisk it patches directly the stock boot image, or am I wrong? please let me know.
 

Attachments

  • Screenshot_20200716-122221.png
    Screenshot_20200716-122221.png
    38.1 KB · Views: 807
  • Like
Reactions: b3ltazar

marcanpaolo

Member
Jul 28, 2008
42
1
sorry, maybe for the translation I missed something, how do I connect pc and tablet ?, ip address to put I guess is that of the tablet ?.

thanks for your patience.
 

jamal2367

Senior Member
Oct 17, 2010
4,275
14,595
Near Münster
jamal2367.org
Yeah, me. I' ve done it many ,many times because I am testing stuff, no boot loops or anything so far.:good::laugh:

I have a PX5.

The problem is that I do not have a test radio where I can test it all the time.
It takes a long time to set up the radio back the way it was before.
The problem is actually that Magisk does not support rockchip ramdisk.
I have tried it several times in the past and it always resulted in boot loops or black screens.

Show this issue on github:
https://github.com/topjohnwu/Magisk/issues/755

Maybe there are differences from radio to radio.
With you it works and with others it doesn't, that's the question.
 
Last edited:

Al Ferro

Senior Member
Sep 26, 2016
205
70
Sony Xperia 1 IV
I have a PX5.

The problem is that I do not have a test radio where I can test it all the time.
It takes a long time to set up the radio back the way it was before.
The problem is actually that Magisk does not support rockchip ramdisk.
I have tried it several times in the past and it always resulted in boot loops or black screens.

Show this issue on github:
https://github.com/topjohnwu/Magisk/issues/755

Maybe there are differences from radio to radio.
With you it works and with others it doesn't, that's the question.
It Works wonderful with my Dasaita head unit.:cool:
 

Al Ferro

Senior Member
Sep 26, 2016
205
70
Sony Xperia 1 IV
One cannot expect correct answers here, can one?
Grow up and stop acting like a child
Hey, I am just saying that I have not problems at all running this stuff on my radio unit, I don't know what brand of radio unit you have, I see on the market a lot of cheap stuff that I personally avoid. This guide is for every one that feels confident to try it out, I am not forcing anyone to do it, I can tell you that I am happy that it works for me, let's keep on learning good stuff.:good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    I tested this on my Dasaita px6 mtce head unit once I installed Android 10
    (thanks @Diavol for the tip)
    I know that there are other ways to do this, but this is how I accomplished it.
    ****************DO THIS AT YOUR OWN RISK***********************************
    1- On Head Unit: install a terminal emulator and run the three following commands pressing enter each time. (device will reboot). This will open ADB witj root permissions on port 5555

    setprop persist.adb.tcp.port 5555
    setprop sys.rkadb.root 1
    reboot
    *******************************************************************************
    2- Uzip Su-Magisk folder and place the files on the root directory of your PC ( C:/ )
    Open command prompt window on your PC with administrative privileges and enter one line at a time,,,,,, if you get stuck at "adb shell /system/bin/su --daemon", repeat the process on a new command prompt
    window. When that is finished install Magisk V 20.4 (20400), after it gets installed it will search for updates and will say that the app is not installed, press on install, a window will pop up, choose to install it as a "Direct Install (Recommended)" when finished, press the yellow reboot button.


    cd c:/
    adb connect (enter here your ip address number, for example 10.0.0.2)
    adb root
    adb connect (enter here your ip address number, for example 10.0.0.2)
    adb remount
    adb shell setenforce 0
    adb push su /system/xbin/su
    adb push su /system/bin/su
    adb shell chmod 06755 /system/bin/su
    adb shell chmod 06755 /system/xbin/su
    adb shell /system/bin/su --install
    adb shell /system/bin/su --daemon
    adb push rooting.rc /system/etc/init/rooting.rc



    ***************************************************************************
    ***************************************************************************
    6
    To keep it all in one place, here is my simplified root method, mostly based on the OP and shamefully cut&pasted where appropriate:
    1. On radio, install a simple terminal emulator (not Termux, that one doesn't work for some reason), launch it and enter:
      setprop persist.adb.tcp.port 5555 setprop sys.rkadb.root 1 ifconfig # Make a note of your IP address - you need it for the next step reboot
    2. On a computer connected to the same wifi network, open a command prompt, CD to the directory where you put adb.exe and the su file from OPs post and enter:
      adb connect #IP.add.re.ss adb root adb connect #IP.add.re.ss adb remount adb push su /system/bin/su adb shell chmod 06755 /system/bin/su adb shell /system/bin/su --install adb shell /system/bin/su --daemon
    3. Your command prompt might hang here, but ignore that and carry on..
    4. Install Magisk Manager from APK
    5. Launch Magisk and perform a direct install, but do not reboot
    6. Press ctrl+C in your command prompt if it is hung
    7. Enter:
      adb shell rm /system/bin/su
    8. Press the reboot button in Magisk Manager
    Job done.
    3
    Worked for me on a Vanku PX6, however I couldn't find the older Magisk installer, so went with the latest APK instead (22.1)
    It works, and can update itself, but when you next start magisk, you get a warning about another SU being installed.
    To fix this:

    adb connect #IP
    adb shell
    su - # (Accept root request on the devide itself)
    mount -o remount,rw /system
    rm /system/bin/su
    rm /system/xbin/su
    rm /system/etc/init/rooting.rc
    reboot

    The Magisk SU (installed in /sbin/su) is kept and your su is removed. Magisk still works and no-longer complains about another SU.

    Edit 13/05/2021: Also you don't even need to push rooting.rc. You can stop following the OPs instructions at the point where su --daemon hangs your command prompt, then install magisk to your bootloader, job done!
    3
    If any of you are more visually learners, I recorded it when I did this to my own here:


    Good work on this! I was really excited when I saw this post on XDA! :)
    2
    Finally, after months of garbage "help me how do I do (the same boring question multiple new members signed up to XDA for - without reading the forums :) a thoughtful contributing post! Brilliant!
    Yeah, that's how it sometimes goes, I am still testing this stuff.