Last active 1745881997

gistfile1.txt Raw
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
4doas (swee@candycorn) password:
5[16:06:03] Put these variables in the deviceinfo file of your device:
6
7deviceinfo_kernel_cmdline="loop.max_part=7 androidboot.boot_devices=13520000.ufs"
8deviceinfo_generate_bootimg="true"
9deviceinfo_flash_pagesize="2048"
10deviceinfo_dtb_second="true"
11deviceinfo_header_version="1"
12deviceinfo_flash_offset_base="0x10000000"
13deviceinfo_flash_offset_kernel="0x00008000"
14deviceinfo_flash_offset_ramdisk="0x00000000"
15deviceinfo_flash_offset_second="0x00000000"
16deviceinfo_flash_offset_tags="0x00000000"
17
18[16:06:03] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
19[16:06:03] DONE!
20
21$ pmbootstrap bootimg_analyze boot2.img #pmOS
22[16:04:06] 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
23[16:04:40] (native) install file unpackbootimg
24doas (swee@candycorn) password:
25[16:04:52] Put these variables in the deviceinfo file of your device:
26
27deviceinfo_kernel_cmdline="loop.max_part=7 androidboot.boot_devices=13520000.ufs pmos_boot_uuid=71193664-1a10-4e0c-b844-8fb6f2702c59 pmos_root_uuid=76f2fa46-1760-4cfc-9cc9-3abd05b6e6c5 pmos_rootfsopts=defaults"
28deviceinfo_generate_bootimg="true"
29deviceinfo_flash_pagesize="2048"
30deviceinfo_header_version="0"
31deviceinfo_flash_offset_base="0x10000000"
32deviceinfo_flash_offset_kernel="0x00008000"
33deviceinfo_flash_offset_ramdisk="0x00000000"
34deviceinfo_flash_offset_second="0x00000000"
35deviceinfo_flash_offset_tags="0x00000000"
36
37[16:04:52] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
38[16:04:52] DONE!