RSD Lite for Mac and Linux
So many people have asked me if RSD lite Program works on Mac or Linux and every time i have to tell them “Nope only windows”. I was on XDA developers and a user named Liboicl uploaded a awesome script that turns Motorola Firmware XML files into fastboot commands for a linux machine. After Downloading and checking it out I decided that I would also make it work on Mac and give it a little face lift. 🙂 NOTE This script also checks the MD5 of each file and compares them to the XML file list.
How to use RSD-FLASH.SH file on your Mac or Linux machines.
- Download the RSD-Lite-Mac-Linux.zip here. scroll down the page a little
- Extract the zip to your desktop leaving you with a folders called RSD-Lite-Mac-Linux
- Download the Motorola Firmware you need from HERE or HERE then extract all files in firmware.zip to RSD-Lite-Mac-Linux folder.
- open a Terminal and CD to folder RSD-Lite-Mac-Linux
- Command to flash device is ./rsd-flash.sh [name of xml file you want to use] EXAMPLES flashfile.xml or servicefile.xml
- press enter to start the flash from terminal
- watch for any errors. If no errors at the end of the script then press enter to reboot the device.
NOTE
Motorola devices must be in bootloader / AP fastboot mode to use this tool.
- Power off device
- hold volume down and power to boot the device into AP fastboot mode so that you can flash.
If you have a windows machine that is fine also as you can still use RSD lite form Motorola
Learn more about RSDlite and other firmware flashing tricks HERE
does anyone get this error?
./rsd-flash.sh: 67: files/./fastbootlinux: not found
go to that line in the .sh file and see what it says
I bought a used Verizon Moto G6 about a year ago to replace a Moto G6 that I had lost. Both eventually had problems with lagging and clearing cache, factory reset, etc. would clear the problem for a short time but it would eventually return. Recently I started looking a little more seriously into resolving, or barring that, getting another phone. I found one thread that suggested that since the problem started after updating from Oreo to Pie, that doing a clean install of Pie had resolved the issue for some people. The problem, as far as I could tell, was Verizon doesn’t allow their bootloader to be unlocked. But then I came across a thread that suggested RSD Lite (and Lenovo Smart Assistant) could flash even with a locked bootloader. I currently only have a Raspberry Pi 4b and WoR wouldn’t see my phone when in Bootloader/Fastboot and so I looked for RSD Lite for Linux and found your site. I was a little skeptical but loaded it up on Raspberry Pi OS and attempted to flash the current Verizon firmware (PDS29.118-15-11-14?) that Lenovo Smart Assistant/Rescue and Smart Assistant had downloaded but fortunately the MD5 checksum failed for recovery.img and after commenting out the exit and cmd lines of your script, all of the other system files checksums failed too. I tried redownloading again and ended up with the same result. I had downloaded PDS29.118-15-11-13 from mirrors.lolinet.com and all the checksums matched. But I was a little nervous about trying to flash an older version from some comments I had read but finally decided to bite the bullet, reenabled the exit and cmd lines and went for broke! Well the good news is I’m writing this from that phone and, although I’m not sure if it will resolve the issue I was having, I have the chance to find out thanks to you and your script. Thank you very much.
so the problem you are having is that you are trying to flash a older firmware then what is currently on your device. you can not downgrade unless you have a unlocked bootloader. you can flash the same firmware or newer with a locked bootloader. you need a newer firmware file.
its really good
Just used your rds-flash script on Ubuntu to restore stock ROM to a Moto Z2 Force that I had black-bricked. It worked beautifully. I had previously wasted over a day trying to get different versions of RSD-Lite to work on WIndows-10 with no joy.
You might want to include a link to a linux version of blankflash, for those like me who have done a through job of bricking their phones.
Thanks!!!!
glad you found it useful
Hello. Try flash Droid Maxx XT1080M but have problem.
./rsd-flash.sh CFC_obake-maxx_verizon-user-4.4.4-SU6-7.7-release-keys.xml
___ ____ ____ _____ ____ ___ ____ ____ __ ________ _ _
/ _ \/ _ \/ _ \/_ _/_ / / / / / \/ / //_/\ \/ / / __/ _ \/ \/ \
/ , _/ |_| / |_| / / / / // / /_/ / / < \ /_/ /_/ |_| / , , \
/_/|_|\____/\____/ /_/ \___/\____/_/\_/_/\_/ /_/_/___/\____/_/ \/ \_\
—————————————————————————-
Welcome to RSD Lite For Mac and Linux press enter to start your flash
—————————————————————————-
max-download-size: 805306368
finished. total time: 0.108s
…
OKAY [ 0.115s]
finished. total time: 0.115s
gpt.bin: MD5 mismatch.
———————————————————
Please check for errors then press enter to reboot device
———————————————————
But why other files not flash?
gpt.img motoboot.img logo.bin boot.img recovery.img system.img NON-HLOS.bin fsg.mbn
Please help!