topjohnwu
f5d054b93c
Add support for PXA DTBs
2019-10-08 23:49:21 -04:00
topjohnwu
d25ae5e0a9
Add __attribute__((packed)) just in case
2019-10-08 16:55:25 -04:00
topjohnwu
c42a51dcbb
Add support to patch DTBH DTBs
...
Apparently, Qualcomm is not the only on creating weird DTB formats,
Samsung also have their own DTBH format for Exynos platforms.
Close #1902
2019-10-08 16:43:27 -04:00
topjohnwu
d6c2c821a4
Minor improvements in QCDT logic
2019-10-07 22:57:01 -04:00
Alessandro Astone
dfc65b95f7
qcdt: pad the last dtb too
2019-10-07 22:48:54 -04:00
Alessandro Astone
b45d922463
qcdt: include padding in the table length fields
2019-10-07 22:48:54 -04:00
topjohnwu
e0927cd763
Add support to patch QCDT
...
Old Qualcomn devices have their own special QC table of DTB to
store device trees. Since patching fstab is now mandatory on Android 10,
and for older devices all early mount devices have to be included into
the fstab in DTBs, patching QCDT is crucial for rooting Android 10
on legacy devices.
Close #1876 (Thanks for getting me aware of this issue!)
2019-10-07 00:38:02 -04:00
topjohnwu
21099eabfa
Small changes in DTB code
2019-10-05 17:24:53 -04:00
topjohnwu
16b400964b
Update vars for 2SI
2019-09-22 06:45:23 -04:00
topjohnwu
0e5a113a0c
Support patching mnt_point in fstab in dtb
2019-09-22 04:17:15 -04:00
topjohnwu
4d91e50d6d
Update dtb patch to not use in-place modification
2019-09-21 05:30:04 -04:00
topjohnwu
120668c7bc
Revise dtb commands CLI
2019-09-20 03:53:58 -04:00
topjohnwu
d81ccde569
Pretty print dtb content
2019-09-20 03:05:14 -04:00
topjohnwu
c9fa8118d1
Some code adjustments
2019-02-24 23:09:34 -05:00
topjohnwu
71ecbb3af3
Clean/refactor includes
2019-02-10 03:57:51 -05:00
topjohnwu
fc8a3c5fb4
Migrate MagiskBoot to C++
2018-10-24 22:23:14 -04:00