Power & Source of Big Ideas

Rooting NanoPC-T4???

Moderators: chensy, FATechsupport

How do I root the NanoPC-T4?

From another post relating to NanoPI-T4 it says compile with 'Userdebug' - but this does not seem true.
My Build Number says: nanopc_t4-userdebug 8.1.0 ...

I either need a way to build the NanoPC-T4 rooted, or a way to root it afterwards.
If this is not possible, I most likely bought the wrong device ....

Thanks!
Hi, I think if you root it you can't build it afterwards.

______________________________________________________________________
https://tweakbox.mobi/ https://getappvalley.com/ https://tutuappx.com/
Not sure about this ...

Currently I am able to root my NanoPC-T4 via adb, but it only lasts until I reboot.
I have not found a way to 'autostart' it ...
Tiemichael wrote:
Currently I am able to root my NanoPC-T4 via adb, but it only lasts until I reboot.
I have not found a way to 'autostart' it ...


How are you doing this via ADB? What commands are you using?

I am still looking at the kernel to see if this can be done from there.
Here are the commands I am using:
adb root
adb disable-verity (requires adb version 1.0.33 and above)
adb reboot
adb root
adb remount

adb install SuperSU.apk (from SuperSU.zip V2.82 - package)
adb push su /system/xbin/su (from SuperSU.zip V2.82 - package)
adb shell chmod 06755 /system/xbin/su
adb shell chcon u:object_r:system_file:s0 /system/xbin/su

adb shell su --install
adb shell su --daemon&
adb shell setenforce 0
adb shell mount -o remount,ro /system (now system is rooted)

When opening SuperSu you will be asked to 'update the su-binary' - don't, or you will end in a bootloop!!!

adb reboot ( ==> no longer rooted)

Once this is done, you can become rooted again by:
adb root
adb remount
adb shell su --install
adb shell su --daemon&
adb shell setenforce 0

Looking at the complicated installation script for SuperSU with app 1600 lines, my current hope is to find (or even create) a CWS or TWRP-recovery for the NanoPC ...
Any other idea???
thanks

this works also for the neo4


is there a way too root the device permanent?
the answer is here: viewtopic.php?f=63&t=2162
My post on this topic that Tiemichael linked is sufficient. However, you'll have to combine the last few posts to cover all bases.

It will root your system permanently.

Be sure to ask if you have any questions.

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 1 guest