Motorola - edge 40 pro - rtwo - Documentation Suggestions

…Enter suggestions to improve documentation in this category. Do not raise bugs or issues here…

Regain your privacy! Adopt /e/OS the deGoogled mobile OS and online servicesphone

Feedback for this install documentation For Motorola Edge 40 Pro.

Section Flashing additional partitions

When I downloaded the zip file, there were no boot.img, dtbo.img etc inside it. There was payload.bin among other files.

So I called ChatGPT for help and it was needed to dump image files out of payload.bin:

Using payload-dumper-go

Install the tool:

git clone GitHub - ssut/payload-dumper-go: an android OTA payload dumper written in Go
cd payload-dumper-go
go build

Run the tool:

./payload-dumper-go -p path/to/payload.bin

It will extract all partition images like:

boot.img
vendor_boot.img
system.img

Section Temporarily Booting a custom recovery using fastboot

Here it was actually not needed to reboot the phone. So it was OK to just flash all the files in one go:

fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash init_boot init_boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash recovery recovery.img

The command adb reboot bootloader did not work at this stage - it did not found the device.


Apart from this, I was able to install /e/ OS without issues.

Btw, I needed to run fastboot with sudo (Linux Fedora 42), otherwise it reported lack of permissions.