Go to file
2024-12-09 22:35:42 +01:00
scripts Add list of all nested entries of debugfs 2024-12-08 22:21:18 +01:00
.gitignore Dump a lot of debug data from debugfs 2024-12-08 21:38:30 +01:00
a715f.pit
a715f.pit.txt
debug.tar.gz Dump a lot of debug data from debugfs 2024-12-08 21:38:30 +01:00
debugfs-tree.txt Add list of all nested entries of debugfs 2024-12-08 22:21:18 +01:00
debugfs.txt Add list of debugfs entries 2024-12-08 22:20:05 +01:00
device.dtb
device.dts
dtbo.img
gpiodetect-lineage.txt Add more information 2024-12-04 21:24:59 +01:00
gpioinfo-lineage.txt
gpioread1-lineage.txt Add more information 2024-12-04 21:24:59 +01:00
gpioread2-lineage.txt Add more information 2024-12-04 21:24:59 +01:00
gpioread3-lineage.txt Add more information 2024-12-04 21:24:59 +01:00
gpioread0-lineage.txt Add more information 2024-12-04 21:24:59 +01:00
iomem-lineage.txt Add more information 2024-12-04 21:24:59 +01:00
README.md Add info on how to enable bluetooth 2024-12-09 22:35:42 +01:00

Recovery Mode

adb reboot recovery

Ensure Phone is Off, Hold Volume Up + Power, Release as soon as the Samsung logo shows up, (Also release when warning about unsafe software etc. is shown)

Download Mode

Hold Volume Up + Volume Down and plug USB cable into device; hold until download mode visible

Unlock Bootloader

Enable OEM Unlocking in Android Developer Options, Enter Download Mode, Hold Volume Up, accept with Volume Up

Installation (WIP)

pmbootstrap install --no-recommends --android-recovery-zip --password pw --zap --recovery-install-partition super

Create empty dtbo partition file

avbtool add_hash_footer --partition_name dtbo --partition_size 2621440 --image empty_dtbo.img

Dump kernel values through debugfs

mount -t debugfs debugfs /sys/kernel/debug
ls -lah /sys/kernel/debug # A lot of values here can be copied/dumped

Fix bluetooth after reboot

sudo btmgmt --index 0 public-addr 00:11:22:33:44:55

NOTE: bluez-btmgmt must be installed