How To Guide [Tool] Flash Custom ROMs through Fastboot [mojito / sunny]

Search This thread

storhaugey

Member
May 4, 2022
8
0
Hello, really sorry for asking this here, can I flash a stock ROM from an OTA file that have payload.bin that only contains these files:
-abl.img
-aop.img
-bluetooth.img
-boot.img
-cmnlib.img
-cmnlib64.img
-custom.img
-devcfg.img
-dsp.img
-dtbo.img
-hyp.img
-keymaster.img
-modem.img
-qupfw.img
-storsec.img
-system.img
-tz.img
-vbmeta.img
-vendor.img
-xbl.img
-xbl_config.img

My device:
Device name: Black Shark Helo
Device model: AWM-A0
JOYUI version: JOYUI 11 20.03.27
Android version: 10

Now I'm on a higher version (android 10)
and wanted to flash this OTA file (android 8) (which I believe is the stock ROM for my device)
is it possible to do? again really sorry for being off topic
 

alonsoj636

Senior Member
Aug 30, 2020
782
348
Chile
LeEco Le 2
Redmi Note 10
Hello, really sorry for asking this here, can I flash a stock ROM from an OTA file that have payload.bin that only contains these files:
-abl.img
-aop.img
-bluetooth.img
-boot.img
-cmnlib.img
-cmnlib64.img
-custom.img
-devcfg.img
-dsp.img
-dtbo.img
-hyp.img
-keymaster.img
-modem.img
-qupfw.img
-storsec.img
-system.img
-tz.img
-vbmeta.img
-vendor.img
-xbl.img
-xbl_config.img

My device:
Device name: Black Shark Helo
Device model: AWM-A0
JOYUI version: JOYUI 11 20.03.27
Android version: 10

Now I'm on a higher version (android 10)
and wanted to flash this OTA file (android 8) (which I believe is the stock ROM for my device)
is it possible to do? again really sorry for being off topic

Read the forum name .... this is Redmi Note 10 not black shark
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Are you struggling to install custom roms on this device?
    Lots of recovery errors?
    Can't boot to any rom?
    Don't worry. Fastboot is a good way to avoid such nonsense...
    ota-update-using-adb-fastboot_proc.jpg

    Install any custom rom & miui recovery rom through fastboot

    Steps:
    1. Extract Fastboot OTA Tool. Put the ROM zip in it's root.
    2. Run the flash script.
    3. Wait till the script asks for device.
    4. Boot device to fastboot & connect.

    After Installation, it'll be headed to recovery:
    You can format to start fresh (or)
    Just boot up, for dirty flash way

    Windows users:
    Make sure you have usb drivers installed through manual method. This is done only once.
    Refer this on how to install them... Download USB Drivers from here.

    Linux users: Must have latest python & pip

    For Ubuntu distros:
    sudo apt install python python-pip
    And have an alias into ~/.bashrc or ~/.bash_aliases file:
    alias python=python3

    For Arch based distros:
    sudo pacman -S python python-pip

    For Fedora:
    sudo dnf install snapd python3.9 python3-pip

    For Mac users, make sure you allow img2simg tool from Privacy & Security to work. Or Disable Gatekeeper temperorily.

    Thanks to @LoV432 for his auto extraction idea.
    & @lyoko_xana to bringup Mac issues.
    If you have any trouble using this tool, please feel free to reply here...

    Happy flashing
    5
    -------------------------------------------------
    Changelog (2021-10-31):
    -------------------------------------------------
    - Fixed extraction issues
    - Updated fastbootd to 12.5.3
    - Implemented snapshot update-cancel
    - Partition size limit warning in linux/mac script
    - Logfile auto generation in linux/mac script
    3
    According to the script, it is used exclusively for pure flash.
    Can you please make an option for upgrade (dirty flash) as well?
    It does dirty flash bydefault (caz it doesn't affect data partition). It'll be clean flash only when you wipe from recovery at post install... 🙂
    I've edited post & clarified this...
    2
    Update: 18/08/21

    Changelog:
    • Switched to 12.5.2 stock fastbootd
    • Fixed fastboot issues on ubuntu
    • Separate scripts for linux & mac from now
    2
    !! Fastboot OTA Tool Update !!

    Fastboot_OTA_20210802.zip
    Usage instructions in the main post.
    There is an error in the script (probably by copying).

    echo Flashing boot partitions...
    tools\fastboot %* reboot bootloader
    tools\fastboot %* flash boot_a boot.img
    tools\fastboot %* flash boot_b boot.img
    tools\fastboot %* flash vendor_boot_b vendor_boot.img
    tools\fastboot %* flash vendor_boot_b vendor_boot.img