SMART Wireless Computing - Forums

A discussion forum dedicated to SMART Wireless Computing community to discuss various topics about features and issues.

How to 'root' or otherwise get SuperUser rights for APKs?

Questions and discussions related to Inforce 6410Plus

by dammad » Sat Aug 22, 2015 3:05 pm

I can access to 6410plus through ADB as root, but my APKs complain that I don't have root. How can I configure it so APKs are allowed root access?

Also how to configure the 6410plus to always run in 'performance' settings rather than powersave?
Posts: 4
Joined: Wed Aug 12, 2015 6:05 pm

by Sundeep » Mon Jun 19, 2017 9:30 pm

When apps want super-user access, they run /system/bin/su.
Commands to create su file under /system/bin/ (after getting root access in the shell using 'adb root'):

Remount the /system partition read-write:
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Create a setuid version of /system/bin/sh
$ cat /system/bin/sh > /system/bin/su
$ chmod 4755 /system/bin/su
Remount the /system partition read-only
$ mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system

Hope this helps.

Posts: 46
Joined: Wed Jul 01, 2015 9:10 pm

Return to INFORCE 6410PLUS™


Contact Us.