Hello guys
i bricked my razr xt 925 during an flash of a custom rom on twrp and the recovery is gone but i can acess the boot menu and the android recovery
my phone is boot loader unlocked
i tried to flash it via rsd lite but it failed at step 2/22 help me please !!
Edit: it worked finally i just dowloaded the same file and used rsd lite and whent take a shower and when i look its done and the android was on thank you man
Growdii said:
Hello guys
i bricked my razr xt 925 during an flash of a custom rom on twrp and the recovery is gone but i can acess the boot menu and the android recovery
my phone is boot loader unlocked
i tried to flash it via rsd lite but it failed at step 2/22 help me please !!
Click to expand...
Click to collapse
I just managed getting out of trouble from these flash errors.
I personnaly used that kind of script to get rid of these XML errors :
Code:
@echo off
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot reboot-bootloader
echo. When the screen bcomes back on, press any key to continue!
pause
fastboot flash partition partition_signed
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot flash boot boot_signed
fastboot erase cache
fastboot flash system system_signed
fastboot flash recovery recovery_signed
fastboot flash modem modem_signed
fastboot flash devtree devtree_signed
fastboot flash logo logo
fastboot flash cdrom cdrom_signed
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg_signed
fastboot erase cache
fastboot erase tombstones
echo. Press a key to reboot the phone
pause
fastboot oem fb_mode_clear
fastboot reboot
Ask me if you need more details.
Edit : You should find a script in your rom folder allowing you to directly launch the flash from a command line (you just have to launch it and see what goes wrong if any goes wrong). If it says fastboot unknown command or something like that, place these files in the script folder :
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
adb.exe
Click to expand...
Click to collapse
Hybris95 said:
I just managed getting out of trouble from these flash errors.
I personnaly used that kind of script to get rid of these XML errors :
Code:
@echo off
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot reboot-bootloader
echo. When the screen bcomes back on, press any key to continue!
pause
fastboot flash partition partition_signed
fastboot flash sbl1 sbl1_signed
fastboot flash sbl2 sbl2_signed
fastboot flash sbl3 sbl3_signed
fastboot flash rpm rpm_signed
fastboot flash tz tz_signed
fastboot flash aboot aboot_signed
fastboot flash boot boot_signed
fastboot erase cache
fastboot flash system system_signed
fastboot flash recovery recovery_signed
fastboot flash modem modem_signed
fastboot flash devtree devtree_signed
fastboot flash logo logo
fastboot flash cdrom cdrom_signed
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg_signed
fastboot erase cache
fastboot erase tombstones
echo. Press a key to reboot the phone
pause
fastboot oem fb_mode_clear
fastboot reboot
Ask me if you need more details.
Edit : You should find a script in your rom folder allowing you to directly launch the flash from a command line (you just have to launch it and see what goes wrong if any goes wrong). If it says fastboot unknown command or something like that, place these files in the script folder :
Click to expand...
Click to collapse
IM tring to flash the rom via lsd lite but it got an error and i found on internet how to fix it but when i fix it its stops a 1/21 on rsd lite
Edit: can you do a tutorial for me please ? my razr is the gsm version and i use the brazilian firmware if thats helps
please help me im almost cryiing(sry for the bad english im brazilian)because this phone i just got him ,i have experience on the rsd lite but no much because i used it 4 times and in 2 it was when my razr xt910 bricked
Growdii said:
it worked finally i just dowloaded the same file and used rsd lite and whent take a shower and when i look its done and the android was on thank you man
Click to expand...
Click to collapse
Glad to hear it worked for you
Its always a pleasure to have a fully functionnal smartphone especially when it's some days old
How can I prevent Auto-Reboot of my Nexus 5 after flashing an Official Factory Image?
I've tried to add
Code:
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
after
Code:
fastboot -w update image-hammerhead-xxxxxx.zip
on
flash-all.batbut the Nexus reboot anyway.
There is another command or option that could help me, or any other way for that?
Flash the files individually
Sent from my Nexus 5 using Tapatalk
alessio89g said:
How can I prevent Auto-Reboot of my Nexus 5 after flashing an Official Factory Image?
I've tried to add
Code:
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
after
Code:
fastboot -w update image-hammerhead-xxxxxx.zip
on
flash-all.batbut the Nexus reboot anyway.
There is another command or option that could help me, or any other way for that?
Click to expand...
Click to collapse
Flash the files individually with fastboot, u can just do
fastboot flash radio radio.img
fastboot flash bootloader bootloader.img
fastboot flash system system.img
You don't need to flash userdata if u don't want to that will erase all ur data, just flash the above images, u will need to extract the zip file that contains the images tho as well as the original tgz file
Sent from my Nexus 6 using Tapatalk
So, is this the sequence?
Code:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
When I use
Code:
fastboot flash recovery recovery.img
I suppose that I can flash directly the TWRP, right?
And this command
Code:
fastboot flash userdata userdata.img
equals
-win
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
no need to fastboot reboot-bootloader after every line, i use the following and never had an issue:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
metpage said:
no need to fastboot reboot-bootloader after every line, i use the following and never had an issue:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
Click to expand...
Click to collapse
Don't you flash cache.img?
And could you talk me about this?
alessio89g said:
And this command
Code:
fastboot flash userdata userdata.img
equals
-win
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
Click to expand...
Click to collapse
alessio89g said:
So, is this the sequence?
Code:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
When I use
Code:
fastboot flash recovery recovery.img
I suppose that I can flash directly the TWRP, right?
And this command
Code:
fastboot flash userdata userdata.img
equals
-win
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
Click to expand...
Click to collapse
alessio89g said:
Don't you flash cache.img?
And could you talk me about this?
Click to expand...
Click to collapse
i don't flash cache because afterwards you need to go into recovery and format cache otherwise you will bootloop (in my experience).
metpage said:
i don't flash cache because afterwards you need to go into recovery and format cache otherwise you will bootloop (in my experience).
Click to expand...
Click to collapse
And about userdata.img? Do you know if it's like the option "-w" in the line
fastboot -w update image-hammerhead-xxxxxx.zip
on flash-all.bat?
yes if you flash userdata.img you lose your data on your phone because you are replace you data with a clean version. SO if you want to keep your data, DON'T flash userdata.img
Actually took all night to figure out how to do this.... this has only been tested on XT1944-2_NORA but it should work for any non64bit builds....
Download MY ZIP FILE and extract.
Install MotorolaDeviceManager_2.5.4.exe
Dowload stock rom FROM HERE and extract and combine MY ZIP FILE and this one.
Open cmd prompt
Code:
cd "C:\ADDRESS of combined folders"
flash stock rom using these commands:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash vendor vendor.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot-bootloader
now boot twrp_james.img using:
Code:
fastboot boot twrp_james.img
it will take 30-60secs to load cos of the encryption, when it asks for a password just press cancel
while in TWRP, run the following in your ADB terminal
Code:
adb shell mount -o,rw /dev/block/bootdevice/by-name/vendor /vendor
adb push fstab.qcom /vendor/etc/fstab.qcom
then hit wipe > format data > yes
now push magisk with
Code:
adb push Magisk-v19.4.zip /sdcard
install the zip reboot to bootloader
flash twrp with
Code:
fastboot flash recovery twrp-3.3.1-0-nora.img
FIX BAD KEY LOGO BY CHOOSING WHAT YOU WANT FROM HERE
when ur phone loads just open magisk and update it direct install after updating magisk manager
It shows this error
I unlock bootloader
Boot to fastboot
Fastboot -w
Shows error
Fastboot erase userdata
works
Fastboot --disable-verification flash vbmeta vbmeta.img
this works fine
Fastboot flash recover recovery.img
Works fine
Fastboot reboot bootloader
Works fine
Fastboot reboot recovery
shows error
Necrazer said:
It shows this error
I unlock bootloader
Boot to fastboot
Fastboot -w
Shows error
Fastboot erase userdata
works
Fastboot --disable-verification flash vbmeta vbmeta.img
this works fine
Fastboot flash recover recovery.img
Works fine
Fastboot reboot bootloader
Works fine
Fastboot reboot recovery
shows error
Click to expand...
Click to collapse
I mean " fastboot flash recovery
Recovery.img "
This guide is for anyones like me that wants to go back to Android 11 from 12.
Prerequisites:
unlocked bootloader
Your phone's Android 11 firmware
Ability to get into fastboot and type commands one at a time hitting ENTER after each line
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash radio radio.img
flash bluetooth BTFM.bin
flash dsp dspso.bin
flash logo logo.bin
flash boot boot img
flash vendor_boot vendor_boot.img
flash dtbo dtbo.img
flash super super.img_sparsechunk.0
(This flash took almost 15 seconds to finish. Continue flashing sparsechunk.1 thru sparsechunk.11 one at a time.
fastboot erase carrier
fastboot erase userdata
fastboot erase metadata
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
I had to flash both a & b slots to get this to stick. Disable updates to avoid problems.