All gists

swee
Last active 4 months ago
0 0 1
1 $ pmbootstrap bootimg_analyze boot.img #lOS
2 [16:05:14] NOTE: You will be prompted for your sudo/doas password, so we can set up a chroot to extract and analyze your boot.img file
3 [16:05:49] (native) install file unpackbootimg
4 doas (swee@candycorn) password:
5 [16:06:03] Put these variables in the deviceinfo file of your device:
6
7 deviceinfo_kernel_cmdline="loop.max_part=7 androidboot.boot_devices=13520000.ufs"
8 deviceinfo_generate_bootimg="true"
9 deviceinfo_flash_pagesize="2048"
10 deviceinfo_dtb_second="true"