Last active
June 13, 2024 01:29
-
-
Save Systemad/7dc2710b9699b05e517278f22189801e to your computer and use it in GitHub Desktop.
FastbootD Rescue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FastbootD Rescue: | |
All commands: https://source.android.com/devices/bootloader/fastbootd | |
### Deleted logical partition | |
In case you "accidentally" delete a logical partition, you won't be able to flash anything on that slot | |
since the partition don't exist. | |
In order to restore the slot to be functional you need to manually create a the new deleted logcal parition | |
inside fastbootd. You can do that by following this command: | |
`fastboot create-logical-partition <logical_parition_slot> <size>` | |
for example: | |
`fastboot create-logical-partition vendor_a $((2*1024*1024*1024))` | |
Now you can flash the parition with fastbootd. If that doesn't work, switch to the other slot, | |
boot into TWRP and flash the FULL OOS zip. | |
### Modified partition, device won't boot. | |
Format Data in TWRP, then change filesystem to default file format. | |
Go to bootloader screen, switch to the other slot. Then boot into TWRP again and flash FULL OOS zip. |
I lost product_a, system_a, system_ext_a and vendor_a partitions. I tried to create them with command "fastboot create-logical-partition system_a 1000" but give error "fastboot: usage: unknown command create-logical-partition". Do you know how to skip this error?
Thank you for the guide.
...but what's the scale of the size? Mb? Kb? Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, that saved my realme c55