An Easy Way to Update Android Kernel Related Files Without Getting the sdcard Out

Home / Linaro Blog / Android / An Easy Way to Update Android Kernel Related Files Without Getting the sdcard Out

Do you feel it’s difficult or complicated to update kernel related files for a running Android device?

Do you feel that it’s boring to get the sdcard out when you just want to update some kernel files when the Android device is somewhere else?

The Linaro Android team now has tools to help you update kernel related files for an Android device through the use of a few commands–mostly only one command.

Do you want to update the kernel related files with a new boot.tar.bz2? You can do so with the following command:

./update-android.sh out/target/product/pandaboard/boot.tar.bz2

Do you want to update only the board.dtb file? No problem, you can do:

./update-android.sh out/target/product/pandaboard/boot/board.dtb

Do you just want to update the loglevel in /init.rc to 8?  Use the following command:

./update-uInitrd.sh /tmp/init.rc

What do you think about the tools? Do you want to give these commands a try? If so, you can get these scripts by using the following command:

git clone http://android.git.linaro.org/git-ro/platform/external/linaro-android-tools.git

More information on these tools can be found at:
https://wiki.linaro.org/Platform/Android/KernelUpdateTools

About the Linaro Android Team

The primary goals of the Linaro Android Team is to develop and release tested monthly builds of Android for Galaxy Nexus, Panda, Snowball, Origen, and Versatile Express, collaborate with upstream development efforts and perform monthly toolchain benchmarking.

More information about the Linaro Android Team can be found at: https://wiki.linaro.org/Platform/Android

About the Linaro Kernel Team

The Kernel Consolidation Working Group targets the Linux kernel. Its goals are to consolidate source repositories, unify support across SoCs, develop new kernel infrastructure and features and more. Our acid test: shipping a single source tree that integrates support for multiple modern ARM SoCs.

More information about the Linaro Kernel Team can be found at: https://wiki.linaro.org/WorkingGroups/Kernel

Recommended Posts