04-28-2016, 12:36 PM
(04-28-2016, 11:12 AM)hyperlogos Wrote:Good news, the new build, from our Android team with Allwinner assistance, that will be released on tomorrow (if tested good today) is a root version. The SuperSU already installed and please check out.(04-28-2016, 06:13 AM)AA666 Wrote: Meanwhile we are waiting for rooted build, I tried to get root on 0303 buid:
- KingRoot and Framaroot - no success
- su command via terminal emulator and via serial console - no success
- set suid bit for /system/bin/busybox-smp - no success
- replace original /system/xbin/su with different arm64 and arm su binaries (from SuperSU 2.65 and other sources) - no success
No more ideas at the moment, welcome to suggest or comment.
Perhaps it can be easy task, like correct permissions for su binary or just set something like setenforce 0 in one of init_*.rc files. But I'm not an Android developer or SElinux expert and this is beyond of my knowledge.
Well, here is what I tried on the 0303 build that almost seemed like it would work. open a shell in the terminal emulator, then run "adb shell" and you get a root adb prompt. If you could configure SuperSU to do this, perhaps it could do an install... you need more than just the su command. It's a surprisingly complex problem. See https://su.chainfire.eu/ for some details, and that doesn't even explain everything you (or I) want to know. Anyway, once you have got a root shell you can copy su to someplace in the user's path (IIRC I put it in /system/xbin) run "setenforce 0" and then SuperSU can find the su command...
Anyway, SuperSU was not actually able to install, but it was willing to try at that point. So maybe that will help you move forward. I didn't try digging in and finding the install script for SuperSU, in a zip file. I did have to mount -w -o remount /system before I was able to copy su. That worked OK.