• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Fastboot Unbrick Maker (FUM)

Search This thread

fire7ly

Member
Apr 16, 2021
24
9
India
fire7ly.github.io

FASTBOOT UNBRICK Maker (FUM)​

A Windows Batch File Which Automated Make Fastboot_Unbricks For Realme Devices. It Can be make Fastboot_Unbrick For Those Devices Which Come With VBMETA And Need To Disable VBMETA. This Is Universal Fastboot Maker Batch Script.

Features:-​

Pull Each And Every Useful Files.​

  • Boot.img
  • Recovery.img
  • Super
  • Vbmeta.img

Added Platform Tool Files No need To Copy Them Now!​

Added Linux Script For Flashing..​

Automatics Create Super_sparsechunk.​

Add Files and Zip Them.​

How To Use It:-​

  • Install 7zip.
  • Connect Your Device In Any Mode.
  • eg ( Recovery, Fastboot, Bootloader) It will Auto Detect And Reboot To Recovery 😊
  • run startme.bat And voila! it will do all Work itself.
  • When Device Work Done it Shows You To disconnect Your Device, you Can Use Use your Device Now.

Changelog:-​

  • Device detection no more need to Connect on recovery mode.
(Enable Usb Debugging Must)
  • No More need to make system variable.
  • Fixed 7zip files Erased Error.
  • Add Auto detect Firmware Version.
  • Added Linux Fastboot Firmware Flashing Script.
  • Added Finish Zip Directory To Product Folder.
  • Done Little Cleaning.

Thanks:-​

  • Google SDK For Platforme Tool Files.
  • Xda Mamber tal.aloni For SparseConverter v1.0.1.
  • Google For Verious searches.

Note:-​

  • To Use Fastboot Unbrick Your Device Must Be Bootloader Unlocked.
  • Use It At Your Own Risk.
  • If You Use It and It Cause Problems Or Device Damaged or Bricked im Not Responsible Of that.
  • I'll laugh at you if you come to me.
Supported Devices:-

1. Realme C3 / Narzo 10a (RMX2020, RMX2027)
2. Realme C25 (RMX3193, RMX3191)
3. Realme C25s (RMX3195, RMX3197)

You Try Hope It will Work For You!

Download Links:-


Github
 
Last edited:
  • Haha
Reactions: lebigmac

lebigmac

Senior Member
Jan 31, 2017
971
588
Hi @fire7ly those are some nice Windows and Unix shell scripts that you created! Congratulations! (y)
I am always happy if I can give some inspiration to other talented programmers with my script :D
I didn't even know you were such a good programmer!

One question: in the file rescue.sh why do you call both commands below?
Bash:
./fastboot erase userdata
./fastboot -w
I thought fastboot -w erases both userdata and cache (and format if supported by partition type) ?

Another question: In Windows batch script is it possible to write one single if not exist; else statement rather than two separate if statements? Or it's not possible? (file FUM.bat)
Bash:
if exist .\tmp\files\boot.img ( echo boot.img is present )
if not exist .\tmp\files\boot.img (@echo [91m boot.img is not present[0m )

Which programming language do you prefer? Windows batch script or Unix shell script? :LOL:

Thanks! Keep up the great work! (y)
 
Last edited:

fire7ly

Member
Apr 16, 2021
24
9
India
fire7ly.github.io
Hi @fire7ly those are some nice Windows and Unix shell scripts that you created! Congratulations! (y)
I am always happy if I can give some inspiration to other talented programmers with my script :D
I didn't even know you were such a good programmer!

One question: in the file rescue.sh why do you call both commands below?
Bash:
./fastboot erase userdata
./fastboot -w
I thought fastboot -w erases both userdata and cache (and format if supported by partition type) ?

Another question: In Windows batch script is it possible to write one single if not exist; else statement rather than two separate if statements? Or it's not possible? (file FUM.bat)
Bash:
if exist .\tmp\files\boot.img ( echo boot.img is present )
if not exist .\tmp\files\boot.img (@echo [91m boot.img is not present[0m )

Which programming language do you prefer? Windows batch script or Unix shell script? :LOL:

Thanks! Keep up the great work! (y)
hey Sir !
I'm Happy to see Your reply, How Are You??
As you say in rescue.sh
I'm use
Bash:
./fastboot erase userdata
to erase old data from device to it will not conflict or it will fresh boot for device.
and from
Bash:
./fastboot -w
I`m Use to Wipe userdata + cache And Device Will Boot As New Device... In Short I'm use it to Avoid Any Looping Condition During Device Booting.

In FUM.bat I`m Use 2 condition To find if my assumed file is there or not like if anything missing it will try to pull that file from device again..
As you prefer if not exist; else here we need to specify any file name with location of that file like vbmeta.img or boot.img or recovery.img, I`m write it like this if not exist; else it will error coz it got confused where is that file which its need to find is present or not.
if exist it says file present move on to next if not exist it kick compiler or program to that Piece of code where we pull that file in pulling files section.. once done it will check again..

Also I like linux most of time but windows is more Gui Friendly and most of people use windows so im make my script on windows and rescue.sh made by my friend. I like bash More than Windows Thoo.

I will Try to implement it If it works Then it Will Some Line Short And more Understandable Thanks for your Suggestion & Support me 😊
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1

    FASTBOOT UNBRICK Maker (FUM)​

    A Windows Batch File Which Automated Make Fastboot_Unbricks For Realme Devices. It Can be make Fastboot_Unbrick For Those Devices Which Come With VBMETA And Need To Disable VBMETA. This Is Universal Fastboot Maker Batch Script.

    Features:-​

    Pull Each And Every Useful Files.​

    • Boot.img
    • Recovery.img
    • Super
    • Vbmeta.img

    Added Platform Tool Files No need To Copy Them Now!​

    Added Linux Script For Flashing..​

    Automatics Create Super_sparsechunk.​

    Add Files and Zip Them.​

    How To Use It:-​

    • Install 7zip.
    • Connect Your Device In Any Mode.
    • eg ( Recovery, Fastboot, Bootloader) It will Auto Detect And Reboot To Recovery 😊
    • run startme.bat And voila! it will do all Work itself.
    • When Device Work Done it Shows You To disconnect Your Device, you Can Use Use your Device Now.

    Changelog:-​

    • Device detection no more need to Connect on recovery mode.
    (Enable Usb Debugging Must)
    • No More need to make system variable.
    • Fixed 7zip files Erased Error.
    • Add Auto detect Firmware Version.
    • Added Linux Fastboot Firmware Flashing Script.
    • Added Finish Zip Directory To Product Folder.
    • Done Little Cleaning.

    Thanks:-​

    • Google SDK For Platforme Tool Files.
    • Xda Mamber tal.aloni For SparseConverter v1.0.1.
    • Google For Verious searches.

    Note:-​

    • To Use Fastboot Unbrick Your Device Must Be Bootloader Unlocked.
    • Use It At Your Own Risk.
    • If You Use It and It Cause Problems Or Device Damaged or Bricked im Not Responsible Of that.
    • I'll laugh at you if you come to me.
    Supported Devices:-

    1. Realme C3 / Narzo 10a (RMX2020, RMX2027)
    2. Realme C25 (RMX3193, RMX3191)
    3. Realme C25s (RMX3195, RMX3197)

    You Try Hope It will Work For You!

    Download Links:-


    Github
    1
    thank you! but one question to ask:just work on realme?
    I have a Realme Devices But as i know i will Work for those devices too Which have vbmeta Partition And A Aosp Partition Stracture AKA Super As Seniour Devloper tal.aloni described Hope You Understand me
    And My English Is bad too XD!