Android / LineageOS
Flashen eines ROMs
requirements:
- adb
- fastboot
steps:
- boot to bootloader
adb reboot bootloader
- flash recovery
fastboot flash recovery recovery.img
- reboot to recovery
- check install update
- check sideload and side load ROM
adb sideload XOUR_ROM.ZIP
- done
Extract boot.img and blobs
how to:
- clone repo
git clone https://github.com/vm03/payload_dumper
- goto dir
- create python venv
python3 -m venv .
- sourece venv
source bin/active
- update pip
pip install -U pip
- install requirements
pip install -r requirements.txt
- may downgrade protobuf
pip install protobuf==3.19.0
- get your rom.zip, extract payload.bin
- well ... extract
- note, you can abort the process kinda quickly, the boot partition is withing the first 5 partitions getting extracted!
python payload_dumper.py payload.bin
- have a look at folder
output
Install Magisk / root your phone
You need to extract your boot.img first (see other page)
- install magisk app (make tripple sure to pick the right one ... bad people out there ...)
- copy boot.img on your device
- open app, hit install
- selekt your boot.img
- you wont finde the patched img on your PC due to RW permissions, i suggest you to share the file via DataExplorer via an messenger/encrypted e-mail)
- reboot to bootloader
- flash patched boot img
fastboot flash boot PATCHED_BOOT.IMG
- reboot
- Open magist app
- done