Root for Android 10 PX6 MTCE

Search This thread

Al Ferro

Senior Member
Sep 26, 2016
223
75
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,959
  • Screenshot_20200716-120832.png
    Screenshot_20200716-120832.png
    43.7 KB · Views: 4,045
  • Screenshot_20200716-121440.png
    Screenshot_20200716-121440.png
    50.7 KB · Views: 3,836
  • Screenshot_20200716-122044.jpg
    Screenshot_20200716-122044.jpg
    45.4 KB · Views: 3,564
  • Screenshot_20200716-122112.png
    Screenshot_20200716-122112.png
    245.9 KB · Views: 3,398
  • Screenshot_20200716-122122.png
    Screenshot_20200716-122122.png
    98.1 KB · Views: 3,328
  • Screenshot_20200716-122131.png
    Screenshot_20200716-122131.png
    38.3 KB · Views: 3,279
  • Screenshot_20200716-122133.png
    Screenshot_20200716-122133.png
    44.4 KB · Views: 3,197
  • Screenshot_20200716-122142.png
    Screenshot_20200716-122142.png
    50.4 KB · Views: 3,115
  • Screenshot_20200716-122150.png
    Screenshot_20200716-122150.png
    43.2 KB · Views: 2,993
  • Screenshot_20200716-122212.png
    Screenshot_20200716-122212.png
    32.9 KB · Views: 2,865
  • Screenshot_20200716-122224.png
    Screenshot_20200716-122224.png
    38 KB · Views: 2,783
  • Screenshot_20200716-122319.png
    Screenshot_20200716-122319.png
    233.6 KB · Views: 2,675
  • Screenshot_20200716-122401.png
    Screenshot_20200716-122401.png
    29.7 KB · Views: 2,659
  • Screenshot_20200716-122458.png
    Screenshot_20200716-122458.png
    48 KB · Views: 3,320
  • Su-Magisk.zip
    2.1 MB · Views: 1,561

marchnz

Senior Member
Nov 26, 2012
6,627
1,446
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
223
75
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: 864
  • Like
Reactions: b3ltazar

jamal2367

Senior Member
Oct 17, 2010
4,277
14,598
I wonder how that's gonna work?
Rockchip boot.img or patches are not supported by Magisk.
There must be more experience reports, someone might get a boot loop.
 

marcanpaolo

Member
Jul 28, 2008
43
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,277
14,598
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
223
75
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:
 

jamal2367

Senior Member
Oct 17, 2010
4,277
14,598
One cannot expect correct answers here, can one?
Grow up and stop acting like a child
 

Al Ferro

Senior Member
Sep 26, 2016
223
75
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.
  • 20
    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.
    5
    I rooted successfully, here is what i did:


    Factory Settings : adbon


    In the car In a terminal emulator:

    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



    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 … No response, waitted 1-2 minutes and I assumed it work. Ctrl-C

    adb shell /system/bin/su –daemon … No response, waitted 1-2 minutes and I assumed it work. Ctrl-C

    adb shell dd if=/dev/block/by-name/boot of=/sdcard/boot.img



    In the car

    Install Magisk Manager APK (26.3 from magiskmanager.com)

    Launch Magisk and perform Select and patch file and select /sdcard/boot.img

    Magisk should make /sdcard/download/magisk_patched.img

    Do not reboot



    On the computer

    adb shell dd if=/sdcard/download/magisk_patched.img of=/dev/block/by-name/boot

    adb shell rm /system/bin/su

    adb shell rm /system/xbin/su

    adb shell reboot

    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! :)