Bootloader

bootload tutorial

http://www.osdever.net/tutorials/view/hello-world-boot-loader
http://www.codeproject.com/Articles/36907/How-to-develop-your-own-Boot-Loader

complete bootloader

http://akernelloader.freehostia.com/

arduino

http://arduino.cc/en/Hacking/Bootloader
http://playground.arduino.cc//Main/TutorialList#General

good low level programming

http://www.osdever.net/tutorials/

adb and root in recovery mode

http://forum.xda-developers.com/showthread.php?t=2081196

1. change region to US,
2. download this hacked_recov, https://sites.google.com/site/condiczek/home/s-tablet-s-allinone/_hack_recovery_v2.zip?attredirects=0
3. run recovery, update with this file, should finish with error 7,
4. wait one minute, and adb should be available - make sure that you have installed adb drivers for recovery device.
5. when in adb shell type this:
Code:

/system/bin/tempsu
PATH=$PATH:/system/bin:/system/xbin

and you will get root, and normally working with all the commands shell.

http://en.miui.com/thread-13321-1-1.html

http://newandroidbook.com/Articles/aboot.html?s
http://nelenkov.blogspot.com/2014/05/using-kitkat-verified-boot.html

boot init.rc

http://www.cnblogs.com/idiottiger/archive/2012/05/23/2513494.html
http://stackoverflow.com/questions/8905593/whats-language-of-init-rc-in-android
http://blog.csdn.net/nokiaguy/article/details/9109491
http://kobablog.wordpress.com/2011/05/05/quick-hack-to-run-android-2-3gingerbread-on-kzm-a9-dual-board/

https://github.com/android/platform_system_core/blob/master/init/readme.txt

debug

http://elinux.org/Android_Debugging#init_logging

call your own script

http://e2e.ti.com/support/embedded/android/f/509/t/155649.aspx
http://www.androidenea.com/2009/08/init-process-and-initrc.html, search for myfile_sd
http://k.japko.eu/android-init-exec.html

http://android.stackexchange.com/questions/26463/android-debugging-boot-loops-is-there-any-way-to-get-a-log-of-information-witho
http://forum.xda-developers.com/showthread.php?t=1065318&page=3
minicom -D /dev/ttyUSB0 -w -C minicom.txt
http://www.pcduino.com/chapter-2-serial-debug-port/
http://www.udoo.org/ProjectsAndTutorials/connecting-via-serial-cable/
http://openmaniak.com/minicom.php
http://howto-android-google.blogspot.com/2011/07/linux-unix-minicom-serial-communication.html
http://android.serverbox.ch/?p=716

export ANDROID_BOOTLOGO 1
http://forum.xda-developers.com/showthread.php?t=646279

http://redmine.replicant.us/projects/replicant/wiki/SamsungSerial
http://android.serverbox.ch/?p=899

selinux

https://www.digitalocean.com/community/tutorials/an-introduction-to-selinux-on-centos-7-part-3-users
https://www.centos.org/docs/5/html/Deployment_Guide-en-US/index.html

http://blog.siphos.be/2013/04/how-logins-get-their-selinux-user-context/
http://rubix.com/cms/book/export/html/29
http://www.crypt.gen.nz/selinux/faq.html
http://wiki.gentoo.org/wiki/SELinux/Users_and_logins

http://www.linuxtopia.org/online_books/getting_started_with_SELinux/index.html
http://greymind.ir/ebook/SELinux%20System%20Administration_%5Bwww.Graymind.ir%5D.pdf

SELinux System Administration and SELinux Cookbook
http://seandroid.bitbucket.org/GettingStarted.html
http://www.techrepublic.com/blog/linux-and-open-source/practical-selinux-for-the-beginner-contexts-and-labels/
http://www.freetechbooks.com/efiles/selinuxnotebook/The_SELinux_Notebook_The_Foundations_3rd_Edition.pdf

http://selinuxproject.org/page/NB_SEforAndroid_1#Android_Init_Language_SELinux_Extensions
http://www.all-things-android.com/content/selinux-android-and-samsung-knox
http://forum.xda-developers.com/showthread.php?t=2471416&page=7
http://blog.csdn.net/Luoshengyang/article/details/38054645

http://blog.csdn.net/Luoshengyang/article/details/37613135
http://blog.csdn.net/luoshengyang/article/details/37749383

change boot command kernel parameters:

http://forum.xda-developers.com/showthread.php?t=756897

recovery debug

http://blog.csdn.net/u011477661/article/details/17116993

start service

http://blog.csdn.net/eqiang8271/article/details/39780093

permission

http://blog.csdn.net/zmyde2010/article/details/6312615
(selinux=0) to disable selinux
http://www.oppoforums.com/threads/unpack-repack-find-7-a-boot-img.14538/

http://blog.csdn.net/luoshengyang/article/details/17131835

dm.verity

http://nelenkov.blogspot.com/2014/05/using-kitkat-verified-boot.html

updater-script

http://direct.xda-developers.com/showpost.php?p=36052574
http://forum.xda-developers.com/showthread.php?t=1931585

http://forum.xda-developers.com/showthread.php?t=2377695

http://hashcat.net/forum/thread-2202.html
http://forum.xda-developers.com/nexus-4/general/stock-stock-roms-collection-ca-eu-au-t1976057/page3

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License