disable DM-Verity
mod fstab file in initrd of boot.bin
delete “verify” option in mount option field
set SELinux permissive
add below to kernel cmdline
enforcing=0 androidboot.selinux=permissive
useful adb command
Get Activity List
dumpsys package | grep -i [app_id] | grep Activity
Run Activity
am start -a android.intent.action.MAIN -n [app_id]/.activities.xxxx [-e extra_id extra_value]
extract bootimg
abootimg -x boot.bin
modding kernel ramfs
to extract
cat initrd | gunzip | cpio -vid
to merge
find ./ | sort | cpio -o -H newc | gzip -9 > ../new_initrd
make bootimg
abootimg –create new_boot_su.bin -f bootimg.cfg -k zImage -r new_initrd -s stage2.img
restart zygote
killall zygote ## 가끔 잘안됨
setprop ctl.restart zygote
Start adbd via commandline
setprop service.adb.tcp.port 5555
settings put global development_settings_enabled 1
settings put global adb_enabled 1
start adbd
adb push adbkey.pub /data/misc/adb/adb_keys
https://stackoverflow.com/questions/26213954/how-to-solve-adb-device-unauthorized-in-android-adb-host-device



케이블이 22AWG 실리콘재질로 만듬새가 좋다. 9핀이 연결되어있는게 3개, PWM용 2핀짜리가 2개 들어있었다.
전자제품은 까야 제맛
저렴이 제품이라지만 Spartan3 XC3S200 FPGA를 채용했다.
USB를 통해 통신하기위해 CY7C68013A를 사용했다.
롬이 있으면 괜히 덤프떠야될거같은거는 직업병인가…