[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 |
|
本文介绍了在不同权限设置下更新设备固件的方法。如果应用仅有系统权限,则无法直接提升权限来修改节点权限;放置应用在特定文件夹(/system/app/)可获得root权限,但需预先具备此权限。通过PC端程序及ADB命令可以实现固件更新。
690

被折叠的 条评论
为什么被折叠?



