[Update]
1. If theapplication has only the system permission, it can’t improve its permissionthrough the shell(run-asLpyCExV93hsXdwT2 su 0). So in this situation, we can’t change the node’spermission(chmod 666dev/zinitix_touch_misc).
2. If we put theapplication in the folder(/system/app/), it will gain the root permission, wecan execute the shell(chmod666 dev/zinitix_touch_misc) through the application. But in this case we needthe root permission firstly.
3. Wrap up here,we can’t do all things in the application. However there’s one more complicatedway to update the firmware.
Steps | What do we do in this step? | Highlight |
3.1 Run the program firstly in the PC side | 1 Copy the firmware to the device 2. Install the application 3. Execute the shell through ADB run-as LpyCExV93hsXdwT2 su 0 chmod 666 dev/zinitix_touch_misc
| the program for linux is ready.
If customer’s environment is windows, we also need to build the program with windows’ compile tool
If we use the ADB shell directly, we don’t need to prepare it for different PC environment.
|
3.2 Run the application in the device | Update the firmware |
|