I am trying to get the wiringOP to work on the pc plus board running Android , I have downloaded https://github.com/zhaolei/WiringOP and followed the instructions given there, but when I run the command 'gpio readall' nothing happens . Can anyone help me out, Is it not supposed to work with android?
hi @flyingbaloon , you need root (uid=0) access to make WiringPI-OP works because it access /dev/mem
WiringOP's gpio command works fine on Orange PI PC , I have tested it on H3Droid 1.2.3+ ( which allows terminal root access and gcc 4.9.2 static builds ), while I2C works fine only so far on opipc Lite.
This thread contains more resources
You need to Log in to download or view,No account?
Register
x
These aren't the Droids you're looking for. . .You look for H3Droid !
Hi @pmpp can you please tell me how you have managed to get root access , using h3droid , I am unable to run kingoroot in orange pi pc plus with h3droid .
@flyingbaloon h3droid has permanent full root access on UART debug port ( three wires and a $.50 debug uart ttl adapter ) you' ll have password less /system/bin/sh as root there even before the system is up. This is enough for most of situations ...
The screen shown above is the terminal choosen for my future SDK (called "u-root") connected to H3Droid ssh root daemon that use the same priv/pub key used in official installer. It offers bash, gcc 6.3, python 3.6.1 + wiriing pi python. It also offer *non root gpio/serial/pwm/i2c/serialports via a specialized su daemon* via json rpc or hessian rpc for standard user applications.
These aren't the Droids you're looking for. . .You look for H3Droid !
If you want to get root access only in the terminal/shell (in H3Droid), you can also use SSH for it (Linux has got a built-in SSH client, on Windows you can use PuTTY software for that). But in this case you have to include your public SSH key file during the installation process of H3Droid (when it asks for your key file), because if you skip through it, you won't be able to reach the system shell via SSH.