Batch scripts for sanders unbrick and flash stock - Moto G5S Plus Guides, News, & Discussion

SO GUYS I HAVE SEEN MANY PEOPLE BRICKED THEIR DEVICES SOME WITH POTTER FLASH SOME WITH DIFFERENT ISSUE and some still not able to flash stock rom
SO I MADE A SEVERAL BATCH SCRIPTS TO HELP YOU GUYS HERE
CONTENTS OF BATCH SCRIPTS
1)clear.bat: For Decryption issues
2)preflash.bat:For error like preflash validation failed during flashing stock
3)relockbootloader-n.bat:For relocking bootloader with nougat rom
Note: As per me dont lock bootloader
4)stock-n.bat:For flashing nougat rom
5)stock-o.bat:For flashing oreo rom
Download:HERE
hope i saved and revived your device and help you guys
liked my work
buy me a coffee
PAYPAL:http://PayPal.Me/chirayu19091997

reserved

LINK DEAD
The link doesn't work.
:crying:

I think I hard bricked my bootloader
Sorry for out of topic ...
But I need help please ..
Yesterday morning my phone stuck on dummy bootloader and showing oem locked ..
I can't flash any stock rom
And twrp coz oem is locked
When I want to flash stock rom via fastboot it shows
Unable to initialise partition table remote failure ..
I checked barcode .. there I see my imie no gone 000000..
Please help ..
I think my bootloader is bricked ... ..
If anyone developed blank flash zip for our xt1804 please help me...
Motocare says u have to change motherboard cost around 14 k
Please help me ...
Thank you in advance

l0gandroid said:
The link doesn't work.
:crying:
Click to expand...
Click to collapse
Try this https://www.androidfilehost.com/?fid=11410963190603911971

chirayu19091997 said:
SO GUYS I HAVE SEEN MANY PEOPLE BRICKED THEIR DEVICES SOME WITH POTTER FLASH SOME WITH DIFFERENT ISSUE and some still not able to flash stock rom
SO I MADE A SEVERAL BATCH SCRIPTS TO HELP YOU GUYS HERE
CONTENTS OF BATCH SCRIPTS
1)clear.bat: For Decryption issues
2)preflash.bat:For error like preflash validation failed during flashing stock
3)relockbootloader-n.bat:For relocking bootloader with nougat rom
Note: As per me dont lock bootloader
4)stock-n.bat:For flashing nougat rom
5)stock-o.bat:For flashing oreo rom
Download:HERE
hope i saved and revived your device and help you guys
liked my work
buy me a coffee
PAYPAL:http://PayPal.Me/chirayu19091997
Click to expand...
Click to collapse
Can you help me with preflash? what is the procedure?

Link dead !!
chirayu19091997 said:
SO GUYS I HAVE SEEN MANY PEOPLE BRICKED THEIR DEVICES SOME WITH POTTER FLASH SOME WITH DIFFERENT ISSUE and some still not able to flash stock rom
SO I MADE A SEVERAL BATCH SCRIPTS TO HELP YOU GUYS HERE
CONTENTS OF BATCH SCRIPTS
1)clear.bat: For Decryption issues
2)preflash.bat:For error like preflash validation failed during flashing stock
3)relockbootloader-n.bat:For relocking bootloader with nougat rom
Note: As per me dont lock bootloader
4)stock-n.bat:For flashing nougat rom
5)stock-o.bat:For flashing oreo rom
Download:HERE
hope i saved and revived your device and help you guys
liked my work
buy me a coffee
PAYPAL:http://PayPal.Me/chirayu19091997
Click to expand...
Click to collapse
dead link, could you please re-upload it. thank you. !!!!

Related

[Q] Locked/Unrooted Phone Decided to Brick Itself

I'm not entirely sure how to troubleshoot this problem, but here goes...
I was charging my phone and it just attempted to reboot itself. I saw it in the corner of my eye and figured "oh well, let it finish". It never finished, and it seems it won't get past the boot screen.
I entered Fastboot mode. Device is still locked. It also states that the charger is connected, regardless of whether it is or isn't. Additionally, I cannot access Recovery or Factory, instead receiving the following error:
No valid PIV block in SP for system
piv validation failed (system)
Boot up failed
Click to expand...
Click to collapse
Anyone know what's going on here? Did my phone really just brick itself?
Edit: I apologize if my first post goes against any of the rules here. I've searched for a similar thread, but mostly found cases in which people failed to root and are receiving this message. I have some minor experience with rooting a Motorola Droid, Verizon Droid Incredible 2 and a Nexus 10. I was hoping to do the same with this phone, but it came with 4.4.2 already installed.
Don't take my word for it, but if you Google no valid piv moto x....it doesn't look good.
Then again if you read through some of the stuff you find, even other phones with issue....perhaps you'll stumble on a fix.
Last moto x thread I read with that error was solved by a replacement unfortunately.
Hope you find a fix, or can send it in. Your warranty should be in tact if its locked and unrooted.
As kj mentioned, seek a replacement under warranty. If you are really looking to fix yourself. Unlock the bootloader and flash the latest stock ROM via fastboot.
I'd only try that if you can't get a warranty replacement cause unlocking the boot loader will kill your warranty unless you have a Dev edition
SymbioticGenius said:
As kj mentioned, seek a replacement under warranty. If you are really looking to fix yourself. Unlock the bootloader and flash the latest stock ROM via fastboot.
I'd only try that if you can't get a warranty replacement cause unlocking the boot loader will kill your warranty unless you have a Dev edition
Click to expand...
Click to collapse
He doesn't need to unlock his bootloader to try to fastboot flash the lastest stock rom...
The Stock rom will flash just fine even locked because it's signed with release keys.
Try it!
samwathegreat said:
He doesn't need to unlock his bootloader to try to fastboot flash the lastest stock rom...
The Stock rom will flash just fine even locked because it's signed with release keys.
Try it!
Click to expand...
Click to collapse
Thanks! I was hesitant to flash anything on this phone because I read people who had 4.4.2 were at risk of bricking their phones... but now that you've said it, it feels so obvious. I'll give this a try. Is there a standard go-to place for the stock ROM?
ed0421 said:
Thanks! I was hesitant to flash anything on this phone because I read people who had 4.4.2 were at risk of bricking their phones... but now that you've said it, it feels so obvious. I'll give this a try. Is there a standard go-to place for the stock ROM?
Click to expand...
Click to collapse
You can find the sbf files (stock rom) here: http://sbf.droid-developers.org/phone.php?device=0
If you were on 4.4.2 before you bricked MAKE SURE you flash the 4.4.2 rom, and not a previous version.
Also remember that aside from a BL unlock, there will be no way of obtaining ROOT after this.
Download the correct file for your carrier and try to flash with RSD lite. Let us know what happens.
EDIT:
You can find a great guide here: http://forum.xda-developers.com/moto-x/general/guide-moto-x-return-to-100-stock-using-t2446515
Now that guide was made before 4.4.2 so it doesn't warn you not to flash a previous version. You've been warned... If you flash a pre-4.4.2 rom, you'll likely be perma-bricked.
Anyways, try the RSD Lite method. PAY CLOSE ATTENTION TO STEP 4 - editing the xml file
If for some reason that doesn't work, let us know what carrier you are on and we can help you with manual flashing commands for your specific carrier.
Since you ARE able to get into fastboot mode, I'm hopeful that this may work for you.
And finally, if you have problems with RSD lite, make SURE you have the USB drivers installed, and try another USB port if necessary.
Good Luck.
samwathegreat said:
You can find the sbf files (stock rom) here: http://sbf.droid-developers.org/phone.php?device=0
If you were on 4.4.2 before you bricked MAKE SURE you flash the 4.4.2 rom, and not a previous version.
Also remember that aside from a BL unlock, there will be no way of obtaining ROOT after this.
Download the correct file for your carrier and try to flash with RSD lite. Let us know what happens.
EDIT:
You can find a great guide here: http://forum.xda-developers.com/moto-x/general/guide-moto-x-return-to-100-stock-using-t2446515
Now that guide was made before 4.4.2 so it doesn't warn you not to flash a previous version. You've been warned... If you flash a pre-4.4.2 rom, you'll likely be perma-bricked.
Anyways, try the RSD Lite method. PAY CLOSE ATTENTION TO STEP 4 - editing the xml file
If for some reason that doesn't work, let us know what carrier you are on and we can help you with manual flashing commands for your specific carrier.
Since you ARE able to get into fastboot mode, I'm hopeful that this may work for you.
And finally, if you have problems with RSD lite, make SURE you have the USB drivers installed, and try another USB port if necessary.
Good Luck.
Click to expand...
Click to collapse
Hey, thanks for the effort! Unfortunately, it looks like my phone is completely bricked. I tried with RSD Lite, after making sure to edit the XML, and it failed when trying to flash the first file. "Failed flashing process. 2/17 flash parition "gpt.bin" -> Phone returned FAIL."
Figured I'd try with fastboot, and no luck there either.
Code:
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 1.978s
Looks like I'm gonna have to use my warranty. Thanks for taking the time to reply, though!
I didn't have the same issue but I did just RMA my X for another reason and got a brand new 2014 X, was expecting a refurbished phone and was surprised to get a new one. They shipped it next day air that same day which also surprised me.
ed0421 said:
Hey, thanks for the effort! Unfortunately, it looks like my phone is completely bricked. I tried with RSD Lite, after making sure to edit the XML, and it failed when trying to flash the first file. "Failed flashing process. 2/17 flash parition "gpt.bin" -> Phone returned FAIL."
Figured I'd try with fastboot, and no luck there either.
Code:
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 1.978s
Looks like I'm gonna have to use my warranty. Thanks for taking the time to reply, though!
Click to expand...
Click to collapse
Usually (not always) when it errors out on gpt.bin, its because you're trying to flash a pre-4.4.2 image.
Hate to ask, but are you absolutely sure you downloaded the 4.4.2 rom?
And when you tried the manual method....you are executing the commands one at a time, right? Which part does it fail on? Flashing recovery? Because I see an error right above it - something about failed to erase....but erase what?
Good luck with your exchange if you must send it back...
-samwathegreat
samwathegreat said:
Usually (not always) when it errors out on gpt.bin, its because you're trying to flash a pre-4.4.2 image.
Hate to ask, but are you absolutely sure you downloaded the 4.4.2 rom?
And when you tried the manual method....you are executing the commands one at a time, right? Which part does it fail on? Flashing recovery? Because I see an error right above it - something about failed to erase....but erase what?
Good luck with your exchange if you must send it back...
-samwathegreat
Click to expand...
Click to collapse
100% certain I downloaded the 4.4.2 rom, unfortunately. Flashing manually, it fails from the very first flash attempt. Only setting the oem fb_mode_set goes through without failure. Thanks for your help throughout this whole ordeal, it's very much appreciated
ed0421 said:
100% certain I downloaded the 4.4.2 rom, unfortunately. Flashing manually, it fails from the very first flash attempt. Only setting the oem fb_mode_set goes through without failure. Thanks for your help throughout this whole ordeal, it's very much appreciated
Click to expand...
Click to collapse
Really dumb question but when flashing... Are you using the command fastboot or mfastboot?
I had all kinds of errors and thought I was bricked too until I used mfastboot. Then everything went perfect. Moto uses their own version of fastboot.exe that's included in the sbf/fxz or whatever they are called now. Even the XML file states fastboot as the command but never worked for me. Just a thought.

Help, My phone is Bricked

Hi people. I neen your help for booting my phone.
I had Stock 4.4.2, Moto X with camera update and Locked Bootloader, today I stupidly flashed a ROM 4.4.4, I know I have to be on UB, but I forgot it, it was an impulse. I got an error in the flashing, then I tried to flash my sbf Stock Version, but now it says Downgraded security something with gpt and I cannot flash anything, I mean starts flahsing but in boot.img it got stucked, please if someone tried the same and could help me please.
Thanks in advance.
icerebro said:
Hi people. I neen your help for booting my phone.
I had Stock 4.4.2, Moto X with camera update and Locked Bootloader, today I stupidly flashed a ROM 4.4.4, I know I have to be on UB, but I forgot it, it was an impulse. I got an error in the flashing, then I tried to flash my sbf Stock Version, but now it says Downgraded security something with gpt and I cannot flash anything, I mean starts flahsing but in boot.img it got stucked, please if someone tried the same and could help me please.
Thanks in advance.
Click to expand...
Click to collapse
Without Bootloader unlocking how can u flash a rom to your device thats first Mistake ... I think u cant back to u r device...
icerebro said:
Hi people. I neen your help for booting my phone.
I had Stock 4.4.2, Moto X with camera update and Locked Bootloader, today I stupidly flashed a ROM 4.4.4, I know I have to be on UB, but I forgot it, it was an impulse. I got an error in the flashing, then I tried to flash my sbf Stock Version, but now it says Downgraded security something with gpt and I cannot flash anything, I mean starts flahsing but in boot.img it got stucked, please if someone tried the same and could help me please.
Thanks in advance.
Click to expand...
Click to collapse
Mahesh8348 said:
Without Bootloader unlocking how can u flash a rom to your device thats first Mistake ... I think u cant back to u r device...
Click to expand...
Click to collapse
Yep, you are stuck until the full 4.4.4 SBF is released for your carrier. Shouldn't have done that.
Who is your carrier? If it is AT&T, you are in luck! The 4.4.4 SBF was just released. If not....bummer - you will have to wait. Can't flash a ROM with a different CID with a locked BL.
I highly suggest you don't attempt to manually force the older rom. Really, beyond the fact that you flashed the wrong ROM, how did you miss all the warnings that downgrade = brick?
Tough situation to be in. Hopefully you have an AT&T unit. If so, we can help get you fixed up.
Well, I have solved it Unlocking my Bootloader and then reinstalling the rom 4.4.4 retail from Brazil. It works now.
I have a question, now I am in Brazil but I am from Perú, and when I try to change the APN for the one I use in Perú, it deletes itself, so I can not change the APN or create a new one because i can not save it. What is the problem in there?
My phone was Nextel operator, then I unlock it, never had a problem.
Hope your help.
Thanks!

XT1068 downgrade to 4.4.4 fail

Dear all,
I'm new to xda and to ROM tweaking and changing, but I am a developer and I know Linux very well.
I'm trying to restore the factory 4.4.4 ROM on my XT1068 because I can't live with Lollipop even if I tried for weeks.
The factory images are posted in this thread http://forum.xda-developers.com/mot...riginal-motorola-firmware-collection-t3153533 and I followed the instructions there and other instructions as well with no success so far.
What I tried, after rooting the phone and unlocking the bootloader has been:
- flashing according to http://forum.xda-developers.com/moto-g-2014/general/restore-to-stock-t2873657 using fastboot commandline from my laptop
- trying to install with TWRP
Attempts with fastboot commands were a total failure and only lead me to bricking the system multiple times. Apparently the signature is not accepted so some of the fastboot flash steps miserably fail and brick the system.
Attempts with TWRP to install or wipe and install (also disabling the signature check otherwise it gets stopped by that) bring nowhere, with TWRP just telling that there was an error flashing right after checking the md5sum. By the way: there was no md5sum on the files in the original thread, so I created my own one (with the risk of having wrong md5 if the download was corrupted).
After hours spent on this the only thing I think I figured out is that lollipop bootloader is a nightmare and prevents me from installing 4.4.4. I can't figure out how you guys managed to install without complaints the 4.4.4 images. BTW: the 5.0 image I had on the smartphone was the RETGB one and it was bought over amazon, originally shipped with 4.4.4
P.S: the error I get with fastboot is: preflash verification failed
must have unlocked bootloader via motorla page and try my 4.4.4 easy installer http://forum.xda-developers.com/moto-g-2014/general/windows-tool-moto-g-2014-xt1068-dual-t2983295- read the README for instructions -firmware d in list for GB from amazon UK
leonardo186 said:
Admin Note: This is a special Q&A-formatted thread. Please follow this link to view it in your browser: http://xda.tv/post61937805[/QUOTE
Click to expand...
Click to collapse
My friend, if you wanna upgrade your Android OS, please do it NOT(!!!), then flash a Factory Image from XDA on your phone.
It results in a hard brick if you upgrade via OTA.

million-dollar idea = hard brick bootloader

I watch all the forum ... and nothing .... It strikes me the idea that solving this problem can handle only champion. I am not and I tried on all methods.
Why XDA no solution ??? XDA's largest community of Android developers I know. There must be a solution, and I want to find him here!
Help if you can, even God
thanks
at least tell us, what seems to be a problem? As for now, it sounds like you're going to pay a milion-dollars for someone who will hardbrick your bootloader. Am I right? Send it to me, I'll hardbrick with my hammer for that cash.
I think his problem is that is Bootloader IS hardbricked and NOT that he wants it hardbricked.. BTW I have a similar problem. I installed Android 6.0 on my xt1068 using The Indian soak test update. I then decided I wanted to downgrade back to 5.0.2 and my phone is now dead completely... So yeah an answer would be nice here. Thanks
One should try to install only system, recovery, radio partiotions.
Every update Moto updates fs structure, changes bootloader and radio. These are critical and should not be installed.
PsyClip-R said:
One should try to install only system, recovery, radio partiotions.
Every update Moto updates fs structure, changes bootloader and radio. These are critical and should not be installed.
Click to expand...
Click to collapse
>These are critical and should not be installed.
More like they shouldn't be downgraded.
LuK1337 said:
>These are critical and should not be installed.
More like they shouldn't be downgraded.
Click to expand...
Click to collapse
i m on soak test 6.0 update with rooted and twrp recovery and also have a twrp backup of stock rooted 5.0.2 so how can i get and install further ota updates ? can i restore from twrp backup of stock rooted 5.0.2 and then flash 5.0.2 to stay stock and get ready for updates please help as i know bootloader downgrade will brick my device
Blur_Version.24.41.34.titan_retaildsds.retaildsdsall.en.03.zip
has a gpt.bin file is it possible to replace the gpt.bin from 5.0.2 firmware files with one that is present in blur zip please help
my current bootloader is 48.86 i used xt1069 's marshmallow previously
I FLASHED XT1068_TITAN_RETAILDSDS_5.0.2_LXB22.99-16.3_Easy_Installer.zip ON BOOTLOADER 48.86 VIA FASTBOOT IT GIVES ME MSG IN PINK ( version downgrade for _gpt and version downgrade for tz) and rest is worked fine it successfully booted into the stock 5.0.2 after that i updated soak test update of 6.0 by coping blurred version into sd card and checking it by going into settings >about phones >system updates
so not faced any problem as of now i m sure what i done i have a video proof also that i flashed (XT1068_TITAN_RETAILDSDS_5.0.2_LXB22.99-16.3_Easy_Installer.zip ON BOOTLOADER 48.86)
Sorry could you please explain that in beginner's lanuguage?
---------- Post added at 07:47 AM ---------- Previous post was at 07:42 AM ----------
I've bricked my boot loader by downgrading and have taken it in for repair to my local cellphone repair guy and he told me it's dead and unfix-able. I was told to go to Motorola to get them to fix it except THERE is no Motorola service at all for South Africa... So I'm screwed?

flashing wrong rom

hi guys
Unfortunately i flash kenzo rom on victara
but twrp give me an error
now when i flash any rom ، twrp give me error 7
plz tell me how do i do
my device is moto x 2014 xt1085 on android 5.1
sorry for my bad english
Error 7 include many informations such GPT wrong. Basically u are 1085,I think the issue is GPT wrong. But now u can try to flash mokee rom because it don't depend on what your GPT is ,and also u can use RSD to restore u phone .
colourfuldays said:
Error 7 include many informations such GPT wrong. Basically u are 1085,I think the issue is GPT wrong. But now u can try to flash mokee rom because it don't depend on what your GPT is ,and also u can use RSD to restore u phone .
Click to expand...
Click to collapse
tnx for answer
and one another question
when i bought this phone is on android 6 mm
but i can't find mm stock rom for my phone
can you help me to find that?
Ali.svj74 said:
tnx for answer
and one another question
when i bought this phone is on android 6 mm
but i can't find mm stock rom for my phone
can you help me to find that?
Click to expand...
Click to collapse
Try looking here:
https://mirrors.lolinet.com/firmware/moto/victara_retcn/RETCN/
Updated link for RETCN
Gus Ghanem said:
Try looking here:
https://mirrors.lolinet.com/firmware/moto/victara_retcn/RETCN/
Updated link for RETCN
Click to expand...
Click to collapse
tnx agein
xt1085 dosnt have mm rom
can i flash xt1095 on it?
what is cid ?
and one more question
how can i fix GPT ?
rsd not detect my device but i can flash over fastboot
thank you very much for helping me

Categories

Resources