## 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) ```bash pmbootstrap install --no-recommends --android-recovery-zip --password pw --zap --recovery-install-partition super ``` ## Create empty dtbo partition file ```bash avbtool add_hash_footer --partition_name dtbo --partition_size 2621440 --image empty_dtbo.img ``` ## Dump kernel values through debugfs ```bash mount -t debugfs debugfs /sys/kernel/debug ls -lah /sys/kernel/debug # A lot of values here can be copied/dumped ``` ## Misc. Links - https://softhandtech.com/what-is-ffbm-mode-in-android/ - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S24_Ultra_(samsung-e3q) - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_A52_4G_(samsung-a52q) - https://github.com/JamiKettunen/qcom-fw-setup