Now that you've got a ready zip for your device, you might be wondering how to keep it up-to-date with the latest AnyKernel commits. AnyKernel2 and AnyKernel3 have been painstakingly developed to allow you to just drop in the latest update-binary and tools directory and have everything "just work" for beginners not overly git or script savvy, but the best practice way is as follows:
-
Fork my AnyKernel3 repo on GitHub
-
git clone https://github.com/<yourname>/AnyKernel3
-
git remote add upstream https://github.com/osm0sis/AnyKernel3
-
git checkout -b <devicename>
-
Set it up like your zip (i.e. remove any folders you don't use like ramdisk or patch, delete README.md, and add your anykernel.sh and optionally your Image.*-dtb if you want it up there) then commit all those changes
-
git push --set-upstream origin <devicename>
-
git checkout master
then repeat steps 4-6 for any other devices you support