Hi,
I've given my minor daughter a Republic XT1094 with firmware version lpe23.32-39-R-28 (5.1). I rooted it and flashed TWRP so that parental control software could be installed (please don't address the ethics here as there was a child safety issue). Unfortunately, she managed to mess up the phone badly enough that I need to flash back to stock image to get the parental control software back on there. I grabbed a pds.img before this happened but, unfortunately, didn't get a NAND backup.
Any idea where I can find a stock image and how I can flash it?
Thanks,
Doc
Try https://firmware.center/firmware/Motorola/Moto%20X%20%282nd%20gen-2014%29/Stock/XT1094/VICTARA_REPW_XT1094_5.1_LPE23.32-39-R-28_cid6_CFC.xml.zip using fastboot.
Follow the flashing steps in the .xml file that was included in the package.
A typical flashing sequence includes all these partitions, but might vary depending on your product - so please use the sequence in the .xml file in your package.
E.g:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set oem
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Good luck.
Thanks. Worked perfectly.
datawrhsdoc said:
Hi,
I've given my minor daughter a Republic XT1094 with firmware version lpe23.32-39-R-28 (5.1). I rooted it and flashed TWRP so that parental control software could be installed (please don't address the ethics here as there was a child safety issue). Unfortunately, she managed to mess up the phone badly enough that I need to flash back to stock image to get the parental control software back on there. I grabbed a pds.img before this happened but, unfortunately, didn't get a NAND backup.
Any idea where I can find a stock image and how I can flash it?
Thanks,
Doc
Click to expand...
Click to collapse
Wait, how were you able to flash TWRP on XT1094 with 5.1 if the bootloader can't be unlocked?
Related
I seem to have lost my recovery image backup that I made before installing TWRP. I currently have 24.11.18.victara_retca.retca.en.ca installed on my phone, but can't get the most recent OTA because of this. I'm on WIND Mobile in Canada, though I don't know if there's any difference between that and standard retail.
Does anyone have a lead on the 24.11.18 stock recovery (or full ROM)?
egerlach said:
I seem to have lost my recovery image backup that I made before installing TWRP. I currently have 24.11.18.victara_retca.retca.en.ca installed on my phone, but can't get the most recent OTA because of this. I'm on WIND Mobile in Canada, though I don't know if there's any difference between that and standard retail.
Does anyone have a lead on the 24.11.18 stock recovery (or full ROM)?
Click to expand...
Click to collapse
Download the full firmware, and keep it:
VICTARA_RETCA_XT1097_6.0_MPE24.49-18_cid14_CFC.xml.zip
https://firmware.center:8081/firmware/Motorola/Moto X (2nd gen-2014)/Stock/XT1097/
EDIT: Extract the zip, if you're still on 5.1 then flash the full firmware:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
I doubt there will be a full firmware with the May 2016 patch.
(I have the XT1097 from Wind)
Gus Ghanem said:
Download the full firmware, and keep it:
VICTARA_RETCA_XT1097_6.0_MPE24.49-18_cid14_CFC.xml.zip
EDIT: Extract the zip, if you're still on 5.1 then flash the full firmware:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
I doubt there will be a full firmware with the May 2016 patch.
(I have the XT1097 from Wind)
Click to expand...
Click to collapse
Hi Gus (or anyone else who reads this),
Will this process reset my phone? I flashed the recovery ROM, as that's all I thought I needed, but now I think the "pre-flight checks" on the OTA are failing, i.e. some OS file on my device isn't correct. Is there a way to flash just the OS without resetting the whole device?
Cheers,
Eric
egerlach said:
Hi Gus (or anyone else who reads this),
Will this process reset my phone? I flashed the recovery ROM, as that's all I thought I needed, but now I think the "pre-flight checks" on the OTA are failing, i.e. some OS file on my device isn't correct. Is there a way to flash just the OS without resetting the whole device?
Cheers,
Eric
Click to expand...
Click to collapse
Did you flash stock recovery from the same firmware version that you already had on your phone?
In order to get OTA's, the OS must be pure stock; ALL files have to be stock. If you've never flashed 6.0 before, you will need to upgrade the Bootloader and Partition Table, which probably wipes all partitions.
Are you trying to preserve data/files/apps? I think you should back up your files before attempting anything.
The May 2016 patch is probably the last OTA this device will ever receive, that's why I'm running CM13, and soon we will get CM14 Nougat.
I don't think there's a way around it, if you want a pure factory stock device, you'll have to reset it (flash ALL the firmware files).
---------- Post added at 11:17 AM ---------- Previous post was at 11:03 AM ----------
You can try flashing the exact firmware version you have on your phone now, like this:
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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Thanks. Flashing everything and not erasing userdata worked.
Hi !
So, my Moto X4 has some problem. I got a notification today that it's got a system update waiting (OPWS 27.2.1), so naturally I clicked the install button.
It downloaded whole 118MB package, but then, after 3 steps of installation it says that my Moto X4 has encountered some problems and the installation has not been finished (and no changes were made to the phone)
Now, I am not sure what to do, I've tried to factory reset the phone (no success after this, update does not install).
I think it maybe because I've flashed my phone with official software for european retail units (it was initially running T-Mobile branded software variant).
But what to do now ?
Seems that I have used incorrect script to flash official Android 8. Just one line is missing from it, it's not affecting phone functionality... but not allowing OTA update to install.
This is how the complete, working script should look like :
fastboot getvar max-sparse-size
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 bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
PAUSE
fastboot reboot
In the script that I have used primarly, there was the line flashing logo.bin missing. After I added this line, and reflashed the phone, OTA installed without problems.
I suppose that the Moto Updater is calculating maybe filesystem checksum after OTA update installation, and because there was one component not updated, this failed every time. But this is just my, well, "wild guess".
Attempted to root & install TWRP, went to revert to stock, through about 6 different ROM variants for this phone, none of which have restored either the imei or baseband, some help/ insight would be amazing right about now
Did you ever figure this out, if not i can help you, i have had to restore both of them about 50 times, and i have an automated way of doing it, at this point. hit me up if you still need help.
for those having this problem, this is only for the MetroPCS variant xt1921-3 James model, flash back to stock build JAMES_T_OCP27.91-150-5-1_cid21_subsidy-MPCS_RSU_regulatory-DEFAULT_CFC from the bootloader using these commands -
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash dsp adspso.bin
fastboot flash bootloader bootloader.img
fastboot flash recovery recovery.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
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 erase DDR
fastboot erase cache
fastboot erase userdata
fastboot flash oem oem.img
fastboot flash vendor vendor.img
fastboot oem fb_mode_clear
fastboot reboot
- after you flash and reboot, it will boot up normally, setup up a wifi connection on it and it will tell you there is a new security update. Let it download and install the update, once finished, it will boot up and your baseband and IMEI will be working again.
What did you do to mess those up? I just got this phone, used to love doing this stuff, but it's become such a pain in the a$$ to just use a device I paid for like I want. I don't want that kind of problem. On a Samsung, that problem woud occur if your baseband and modem didn't match properly and the fix was to reflash the correct ones. Might not help you in this case tho.
Sent from my [device_name] using XDA-Developers Legacy app
Hello,
I followed the steps to install TWRP correctly, and then flashed ALI_RETAIL_9.0_PPSS29.55-24-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC that i got from https://mirrors.lolinet.com/firmware/moto/ali/official/RETAIL/ and the process worked correctly. However, I foolishly thought I had flashed the wrong build and then flashed ALI_OPS27.82-19-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC that I got from https://forum.xda-developers.com/moto-g6/how-to/stock-firmware-moto-g6-t3792292
Now my phone boots fine, but the touchscreen does not work at all, neither in TWRP nor when booted into the firmware. Is there any hope?
Model is ali XT1925-6
If I burnt out a part, what parts are they and how difficult will it be to replace them?
Edit: I now realize that my carrier channel is retus, and I installed retail. However, the touchscreen did not fail on that rom
II firmware that you flashed you only linked to the whole thread, you didn't show the exact firmware that you tried to flash.
Why not just try the one for your firmware and your carrier from mirrors.lolinet.com
The firmware used first time should be fine if it works
madbat99 said:
II firmware that you flashed you only linked to the whole thread, you didn't show the exact firmware that you tried to flash.
Why not just try the one for your firmware and your carrier from mirrors.lolinet.com
The firmware used first time should be fine if it works
Click to expand...
Click to collapse
Thanks for your response,
I installed androidfilehost.com/?fid=818222786056029922 from the second thread.
I tried reflashing the first rom, but the touchscreen does not work there either. I've just downloaded and installed the correct rom, still no dice
Is it possible that the second rom burnt my digitizer?
Edit: the fingerprint sensor doesn't respond on the setup screen either, although I'm not sure if thats because it isn't working or it doesnt do anything on the setup screen
I think part of the problem may be that I cannot wipe system when installing a new rom; using adb shell twrp wipe system returns Error with wipe command value 'system', and I cannot access the touchscreen to do it via the UI. Are there any other ways to wipe system? fastboot erase system -w fails with Permission denied
Edit: I was able to erase system as well as data, cache, and dalvik before flashing. Still no change
The script I'm using to flash roms is
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 bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash boot boot.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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash recovery recovery.img
fastboot flash logo logo.bin
fastboot oem fb_mode_clear
fastboot reboot
fisher_1 said:
I think part of the problem may be that I cannot wipe system when installing a new rom; using adb shell twrp wipe system returns Error with wipe command value 'system', and I cannot access the touchscreen to do it via the UI. Are there any other ways to wipe system? fastboot erase system -w fails with Permission denied
Edit: I was able to erase system as well as data, cache, and dalvik before flashing. Still no change
The script I'm using to flash roms is
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 bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash boot boot.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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash recovery recovery.img
fastboot flash logo logo.bin
fastboot oem fb_mode_clear
fastboot reboot
Click to expand...
Click to collapse
Download the "newest" firmware for your device with matching SKU and software channel. Don't use someone else's script. The commands for flashing the firmware are in the flashfile.xml in the firmware zip. Extract it and check the commands. You can use XML to batch program to create your own batch script if you must use a script.
It's unlikely that flashing a firmware broke your hardware.
If it's software related, flashing the correct firmware should fix it.
If it's a hardware problem, then it won't. But official firmware isn't likely to cause hardware failure
The firmware package in the first post of that thread is pretty old.
Unfortunately it still is not working. I used the commands from flashfile.xml and flashed XT1925-6_ALI_RETUS_9.0_PPSS29.55-24-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC, the correct firmware, but nothing has changed.
On a side note, when I flash a file, I get the message (bootloader) is-logical: (partitionName) not found, althought I get an OKAY response so I'm assuming it flashes correctly.
I'm having the same issue, got the phone on July 12 and immediately started the unlocking/rooting process (that's what I bought the device for) following dejello's guide. Everything went perfect, phone was working all right for 2 days then on Monday morning after using the device for a while, I placed it in an upper pocket of my backpack drove home and next thing I know the touch screen isn't working, not even on TWRP . Hardware damage seems very unlikely on my case. I did a factory reset using a mouse, but I haven't been able to flash stock back. I'll try that later today and see what happens.
UPDATE: It was a hardware issue. Came home and flashed back to stock, still had no touch response. Since my software troubleshoot had no success I decided to give hardware a shot. I followed this video to disassemble the phone. I started tweaking the digitizer connector. With the phone still disassembled I turned it on and still no touch. Disconnected it again and blew some air with a hair dryer to it trying to remove any debris, connected it again and still no touch. Repeated the process a couple times and eventually the screen was responsive again. I think this specific device came with something loose or some dirt on it.
Title. Alternatively, can you still receive OTAs with an unlocked bootloader if the firmware is stock?
Currently the issue is that the firmware files you can find online throw a bad key error on the boot and recovery images, so it's not possible to lock the bootloader that way. Motorola also doesn't provide proper OTA packages to download (I asked the support) and an emergency recovery tool like Samsung Kies doesn't seem to exist for Moto.
What are my options here? I want to give the device to a relative and need everything to work.
I did it with this code on fastboot folder (Minimal ADB & Fastboot Portable 1.4.3) with the last firmware RETAIL PPSS29.55-37-4 and then use RSD Lite to re-flash the firmware, it worked for me. Do it under your own risk.
Code:
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 bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash boot boot.img
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash oem_b oem_other.img
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot oem lock
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
Thank you, that worked perfectly!
HeavyHDx said:
Thank you, that worked perfectly!
Click to expand...
Click to collapse
@HeavyHDx I highly recommend to re-flash the firmware on RSD Lite (if you haven't did it) because it could be some errors with the NON-HLOS.bin, like no sound when calling, at least that happened with me.
How could it worked perfectly since some commands are non-sense??
The Moto g6 is a A-only device... So all commands for XXX_other.img or "_b.img" won't be executed.
The second thing is that this device has a "adspso.bin" file for partition "dsp". But the command here will flash a "dspso.bin" file.
What about /recovery???