downgrade problems - Moto G Q&A, Help & Troubleshooting

hi guys i have ran into some problems on my MOTO G Basically im not sure what happend i was running stock 4.3 rooted, and it bootlooped randomly. me being the idiot as i am factory reset it from recovery, wiped cache etc.. but i also formatted the system in a moment of madness and have now lost my back ups.
so i tried to upgrade to 4.2.2 using cmd prompts & also tried restoring the stock firmware ( 4.3) using cmd prompts all goes well untill it reaches the system.img this is what happens
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Dan>cd C:\
C:\>flashall.bat /eu
Motorola Mobility flashall script version 1.4
Flashing Options:
- flash persist: 0
- flash userdata: 0
- erase userdata: 1
- erase cache: 0
Waiting for fastboot enumeration...
Fastboot device is ready!!
Flashing GPT and bootloader images...
Executing ".\Windows\fastboot.exe flash partition gpt.b
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.438s]
finished. total time: 0.469s
8226 HW detected...
Flashing motoboot
Executing ".\Windows\fastboot.exe flash motoboot motobo
target max-sparse-size: 256MB
sending 'motoboot' (1940 KB)...
OKAY [ 0.109s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.484s]
finished. total time: 1.594s
Flashing modem SW...
Executing ".\Windows\fastboot.exe flash modem NON-HLOS.
target max-sparse-size: 256MB
sending 'modem' (47484 KB)...
OKAY [ 2.094s]
writing 'modem'...
OKAY [ 1.250s]
finished. total time: 3.344s
Executing ".\Windows\fastboot.exe flash fsg fsg.mbn"
target max-sparse-size: 256MB
sending 'fsg' (102 KB)...
OKAY [ 0.047s]
writing 'fsg'...
OKAY [ 0.094s]
finished. total time: 0.141s
Executing ".\Windows\fastboot.exe erase modemst1"
erasing 'modemst1'...
OKAY [ 0.016s]
finished. total time: 0.016s
Executing ".\Windows\fastboot.exe erase modemst2"
erasing 'modemst2'...
OKAY [ 0.047s]
finished. total time: 0.047s
Flashing AP Images...
Executing ".\Windows\fastboot.exe flash logo logo.bin"
target max-sparse-size: 256MB
sending 'logo' (619 KB)...
OKAY [ 0.062s]
writing 'logo'...
OKAY [ 0.094s]
finished. total time: 0.156s
Executing ".\Windows\fastboot.exe flash boot boot.img"
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.484s]
writing 'boot'...
OKAY [ 0.844s]
finished. total time: 1.328s
Executing ".\Windows\fastboot.exe flash recovery recove
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.484s]
writing 'recovery'...
OKAY [ 0.844s]
finished. total time: 1.328s
Executing ".\Windows\fastboot.exe flash system system.i
target max-sparse-size: 256MB
error: cannot load 'system.img': Unknown error
.\Windows\fastboot.exe flash system system.img failed!!
anybody have any solutions has my phone is a lying brick at the moment thankyou.

Related

[Q] Faild to install Stock Firmware on My MOTO G XT1033

Plz read this .... Give A Solution ... I hope U can Solve This Problem
I did following steps....
1. Installed motarola usb drivers, minimal adb drives and Adroid sdk
2.Extracted stock firmware by using win.rar (fastboot_falcon_asia_ds_user_4.3_14.10.0Q3.X-84-7-LCG-4_4_release-keys-cid7-AsiaRetail_03.tar.gz) file into folder which contains adb.exe and other stuff (C:\Android-SDK\platform-tools)
3. For Downgrading: i deleted following text and saved
Lines 89-90 in the flashall.bat file:
Code:
CALL :fastboot_flash partition gpt.bin
IF %errorlevel% NEQ 0 EXIT /b 1
Lines 120-121 in the flashall.sh file:
Code:
run $fastboot -s "$serial_number" flash partition gpt.bin
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
4. Turn off the phone for 5 seconds.
Press and hold Volume Down + Power buttons together for few seconds until a Bootloader mode gets appeared
Connected the device to PC through a USB Cable.
Now on PC, go under the extracted files, there pressed “**** Key + Right Mouse Click” button, then from this selected “open command window here“. A command prompt window will opened.
On command prompt window, typed the following command:
flashall.bat /eu
installed the firmware, it take from 5-10 minutes to complete.
Its done, phone is restarted....
5. After that unlock bootloader warning massage appear for 5sec. then black screen and stacked...
no pink color warning massages while installing
Hear is Script process logs...
C:\Android-SDK\platform-tools>adb devices
List of devices attached
C:\Android-SDK\platform-tools>fastboot devices
TA933012QS fastboot
C:\Android-SDK\platform-tools>flashall.bat /eu
Motorola Mobility flashall script version 1.4
Flashing Options:
- flash persist: 0
- flash userdata: 0
- erase userdata: 1
- erase cache: 0
Waiting for fastboot enumeration...
Fastboot device is ready!!
Flashing GPT and bootloader images...
8226 HW detected...
Flashing motoboot
Executing ".\Windows\fastboot.exe flash motoboot motoboot.img"
target max-sparse-size: 256MB
sending 'motoboot' (1940 KB)...
OKAY [ 0.105s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.531s]
finished. total time: 1.636s
Flashing modem SW...
Executing ".\Windows\fastboot.exe flash modem NON-HLOS.bin"
target max-sparse-size: 256MB
sending 'modem' (47988 KB)...
OKAY [ 1.853s]
writing 'modem'...
OKAY [ 1.494s]
finished. total time: 3.347s
Executing ".\Windows\fastboot.exe flash fsg fsg.mbn"
target max-sparse-size: 256MB
sending 'fsg' (103 KB)...
OKAY [ 0.058s]
writing 'fsg'...
OKAY [ 0.083s]
finished. total time: 0.141s
Executing ".\Windows\fastboot.exe erase modemst1"
erasing 'modemst1'...
OKAY [ 0.023s]
finished. total time: 0.023s
Executing ".\Windows\fastboot.exe erase modemst2"
erasing 'modemst2'...
OKAY [ 0.050s]
finished. total time: 0.050s
Flashing AP Images...
Executing ".\Windows\fastboot.exe flash logo logo.bin"
target max-sparse-size: 256MB
sending 'logo' (619 KB)...
OKAY [ 0.095s]
writing 'logo'...
OKAY [ 0.116s]
finished. total time: 0.211s
Executing ".\Windows\fastboot.exe flash boot boot.img"
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.443s]
writing 'boot'...
OKAY [ 0.893s]
finished. total time: 1.336s
Executing ".\Windows\fastboot.exe flash recovery recovery.img"
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.467s]
writing 'recovery'...
OKAY [ 0.887s]
finished. total time: 1.354s
Executing ".\Windows\fastboot.exe flash system system.img"
target max-sparse-size: 256MB
Sparse-Flash is enabled!
sending sparse 'system' (256684 KB)...
OKAY [ 10.413s]
writing 'system'...
OKAY [ 12.558s]
sending sparse 'system' (243681 KB)...
OKAY [ 10.018s]
writing 'system'...
OKAY [ 10.777s]
sending sparse 'system' (116680 KB)...
OKAY [ 4.712s]
writing 'system'...
OKAY [ 18.458s]
finished. total time: 66.937s
Erasing userdata...
Executing ".\Windows\fastboot.exe erase userdata"
erasing 'userdata'...
OKAY [ 5.957s]
finished. total time: 5.957s
All images flashed successfully!
Rebooting device...
rebooting...
finished. total time: 0.004s
Press any key to continue . . .

Moto G - boot loop issue - XT1033

Dear Members,
My friend owns a Moto G XT1033 (dual sim Indian version) and recently had the software go wrong. Now the phone boots - shows boot unlocked warning, booting animation. After the MOTO symbol, all that we get is a blank screen.
Now, things that I tried to recover the phone is as follows -
1. Booted into recovery menu - tried accessing the RECOVERY option. I get a NO COMMAND error (with the android lying down on his back)
2. Tried flashing custom recovery (both TWRP and CWM) - using fastboot option - I get "MISMATCHED PARTITION SIZE" error. I ignored that error (as read somewhere in this forum), I still get "NO COMMAND" while accessing the RECOVERY option
3. Tried to sideload stock 4.4.4 version using adb - the system pushes the rom to the phone successfully, but in couple of minutes I get "installation aborted" error.
I've done all I could with the help of other threads with no success. I would request your help to recover the phone. Apologies if I have started another duplicate thread on this issue. Please help. Thanks in advance.
AP Fastboot Flash Mode (S)
41.13 (sha07dc8e78, 2014-06-16 16:33:29)
CPU: MSM8226 CS
eMMC: 16GB Sandisk RV=06 PV=07 TY=17
DRAM: 1024MB Elpida S4 SDRAM DIE=4GB
Battery OK
Device is UNLOCKED. Status Code: 3
Connect USB data Cable
Flash the latest XT1033 Factory Firmware Image using Fastboot. If this is not successful, it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
lost101 said:
Flash the latest XT1033 Factory Firmware Image using Fastboot. If this is not successful, it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Click to expand...
Click to collapse
Thanks for your reply and your time!
However, please find the error message and flash log below.
My image file - XT1033_FALCON_ASIA_DS_5.1_LPB23.13-56_cid7_CFC.xml
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.025s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.359s]
finished. total time: 0.388s
mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.095s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.116s]
finished. total time: 1.216s
mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (295 KB)...
OKAY [ 0.055s]
writing 'logo'...
OKAY [ 0.037s]
finished. total time: 0.097s
mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.394s]
writing 'boot'...
OKAY [ 0.654s]
finished. total time: 1.053s
mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.403s]
writing 'recovery'...
OKAY [ 0.659s]
finished. total time: 1.068s
mfastboot flash system system.img_sparsechunk1
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk1': No error
mfastboot flash system system.img_sparsechunk2
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk2': No error
Please help further.
billa vimal said:
mfastboot flash system system.img_sparsechunk1
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk1': No error
mfastboot flash system system.img_sparsechunk2
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk2': No error
Please help further.
Click to expand...
Click to collapse
Use the file names that actually exist on your computer - there may be dots in the name or some other minor differences. And if chunk 0 exists, start with that one.
_that said:
Use the file names that actually exist on your computer - there may be dots in the name or some other minor differences. And if chunk 0 exists, start with that one.
Click to expand...
Click to collapse
Thanks for highlighting that! I actually went by the steps listed in the tutorial and didnt notice the chunk.0! I have now followed every other step - but still the problem exists! I have attached the screenshot of the rom contents. And also the flash logs. Please let me know if I'm missing anything here.
Thanks for your time!
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.359s]
finished. total time: 0.375s
mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.094s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.109s]
finished. total time: 1.219s
mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.391s]
writing 'boot'...
OKAY [ 0.656s]
finished. total time: 1.047s
mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.391s]
writing 'recovery'...
OKAY [ 0.656s]
finished. total time: 1.047s
mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257755 KB)...
OKAY [ 9.031s]
writing 'system'...
OKAY [ 8.064s]
finished. total time: 17.110s
mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256949 KB)...
OKAY [ 8.994s]
writing 'system'...
OKAY [ 8.234s]
finished. total time: 17.229s
mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260404 KB)...
OKAY [ 9.139s]
writing 'system'...
OKAY [ 8.235s]
finished. total time: 17.375s
mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (166184 KB)...
OKAY [ 5.859s]
writing 'system'...
OKAY [ 6.453s]
finished. total time: 12.328s
mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49376 KB)...
OKAY [ 1.766s]
writing 'modem'...
OKAY [ 0.844s]
finished. total time: 2.609s
mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ -0.000s]
finished. total time: -0.000s
mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.016s]
finished. total time: 0.016s
mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (103 KB)...
OKAY [ 0.078s]
writing 'fsg'...
OKAY [ 3.188s]
finished. total time: 3.266s
mfastboot erase cache
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.016s
Appreciate if someone can help rescue the phone. Thanks.
Dear friends, I am bumping this thread as I am still having the phone as a brick. Thanks to anyone who volunteer to help.

Bootloop to Recovery

Hi,
I have a problem whit my device after a flash a rom the device is stuck on bootloop and boot only to the twrp recovery
i tried to flash the stock rom and no seccss the device is still boot to the stock recovery
what shold i do :\ ?
my device i x1032 google play edition
Which ROM are you flashing?
While in fastboot mode enter :
mfastboot oem fb_mode_clear
That will solve that boot to recovery issue.
I do not know if it matters
When I tried to fix the problem so I changed the File system in the twrp
WIPE-ADVANCED WIPE- REPAIR OR CHANGE FILE SYSTEM
cache is in ext4
date is in f2fs
system is in ext4
any help ?
the problem is still exists
upload a video of the problem
https://www.youtube.com/watch?v=AoxwrfIEZQw
blior32017 said:
any help ?
the problem is still exists
Click to expand...
Click to collapse
Flash the latest XT1032 Factory Firmware Image using mFastboot. If this is not successful, it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
mFastboot download: https://www.androidfilehost.com/?fid=24052804347778493
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
lost101 said:
Flash the latest XT1032 Factory Firmware Image using mFastboot. If this is not successful, it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
mFastboot download: https://www.androidfilehost.com/?fid=24052804347778493
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
Click to expand...
Click to collapse
this is the log
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.328s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.094s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.344s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (76 KB)...
OKAY [ 0.063s]
writing 'logo'...
OKAY [ 0.094s]
finished. total time: 0.156s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.350s]
writing 'boot'...
OKAY [ 0.766s]
finished. total time: 1.116s
D:\minimal_adb_fastboot_1.4.1_portable>
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.359s]
writing 'recovery'...
OKAY [ 0.771s]
finished. total time: 1.130s
D:\minimal_adb_fastboot_1.4.1_portable>
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257288 KB)...
OKAY [ 8.092s]
writing 'system'...
OKAY [ 12.700s]
finished. total time: 20.791s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (260792 KB)...
OKAY [ 8.192s]
writing 'system'...
OKAY [ 11.742s]
finished. total time: 19.949s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (262141 KB)...
OKAY [ 8.243s]
writing 'system'...
OKAY [ 13.915s]
finished. total time: 22.158s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (18704 KB)...
OKAY [ 0.628s]
writing 'system'...
OKAY [ 0.853s]
finished. total time: 1.512s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49368 KB)...
OKAY [ 1.605s]
writing 'modem'...
OKAY [ 1.459s]
finished. total time: 3.064s
D:\minimal_adb_fastboot_1.4.1_portable>
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.016s]
finished. total time: 0.016s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.063s]
finished. total time: 0.063s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (708 KB)...
OKAY [ 0.109s]
writing 'fsg'...
OKAY [ 5.602s]
finished. total time: 5.712s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.359s]
finished. total time: 0.359s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 5.993s]
finished. total time: 5.993s
D:\minimal_adb_fastboot_1.4.1_portable>mfastboot reboot
rebooting...
finished. total time: 0.016s
D:\minimal_adb_fastboot_1.4.1_portable>
@blior32017 - Which firmware image - state the zip filename - did you flash?
lost101 said:
@blior32017 - Which firmware image - state the zip filename - did you flash?
Click to expand...
Click to collapse
I have the GPE version so I flash "GPE_5.1_XT1032_LMY47M.M005"
blior32017 said:
I have the GPE version so I flash "GPE_5.1_XT1032_LMY47M.M005"
Click to expand...
Click to collapse
Try the following firmware image instead:
Retail US - XT1032_FALCON_RETUGLB_5.1_LPBS23.13-58-2_cid9 (Newer Build)​

xt1039, mfastboot error, can't reboot, bootloop 41.1A

Hello
I really hopes one of you brilliand guys can help me. I'm at a loss (sorry in advance for bad english).
I have a xt1039 with an unlocked BL 41.1A which I can't get back to stock or flash any other ROM.
In mfastboot, my phone is recognized as TA4750I1SK, and the device is UNLOCKED and my CID is 7.
I tried flashing different stock version from here
https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/"]https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/
trying both 4.4.4 and 5.1 but without success:
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.090s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.430s
(version downgraded for primary gpt)
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.170s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.020s]
finished. total time: 1.200s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (295 KB)...
OKAY [ 0.100s]
writing 'logo'...
OKAY [ 0.090s]
finished. total time: 0.190s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.520s]
writing 'boot'...
OKAY [ 0.810s]
finished. total time: 1.330s
(This sometimes fails as well, preflash validation, and on mobile says "version downgraded for boot")
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash recovery recovery.i
mg
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.520s]
writing 'recovery'...
OKAY [ 0.810s]
finished. total time: 1.330s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257451 KB)...
OKAY [ 10.715s]
writing 'system'...
OKAY [ 13.060s]
finished. total time: 23.776s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (257661 KB)...
OKAY [ 10.383s]
writing 'system'...
OKAY [ 12.192s]
finished. total time: 22.580s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (261552 KB)...
OKAY [ 10.710s]
writing 'system'...
OKAY [ 17.881s]
finished. total time: 28.606s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (60232 KB)...
OKAY [ 2.527s]
writing 'modem'...
OKAY [ 2.090s]
finished. total time: 4.627s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase modemst1
erasing 'modemst1'...
OKAY [ 0.030s]
finished. total time: 0.030s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase modemst2
erasing 'modemst2'...
OKAY [ 0.064s]
finished. total time: 0.066s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (517 KB)...
OKAY [ 0.080s]
writing 'fsg'...
OKAY [ 5.272s]
finished. total time: 5.362s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase cache
erasing 'cache'...
OKAY [ 0.140s]
finished. total time: 0.140s
C:\Users\Zhe Wang\Downloads\mfastboot-v2>mfastboot.exe erase userdata
erasing 'userdata'...
OKAY [ 0.440s]
finished. total time: 0.440s
I managed to flash twrp, but the phone will hang on Bootloader logo when rebooting, and I don't know what to do next.
Any good ideas?
visit here https://forum.xda-developers.com/showthread.php?t=2317790
and download version 1.4.2
then visit this https://forum.xda-developers.com/attachment.php?attachmentid=3476163&d=1442444179 (direct download link for mfastboot)
now copy mfastboot.exe to adb folder (created from version 1.4.2 .exe)
and try to install 5.1 lollipop stock rom with mfastboot commands thats it everything will works fine
dont download adb file from google website always use version 1.4.2
enjoy
Thank you for your reply. That made no difference. Same error messages. Also when I reboot in the end, it still shows unlocked bootloader message, continues straight to periodically blinking the "no command" and then just hangs.
I tried to flash XT1039_PEREGRINE_RETEU_5.1_LPB23.13-17_cid7_CFC.xml.
Also, when I go to twrp and try to make a wipe, it shows 'unable to mount /data' and 'unable to mount internal storage'.
Any new ideas?
SunilSuni said:
visit here https://forum.xda-developers.com/showthread.php?t=2317790
and download version 1.4.2
then visit this https://forum.xda-developers.com/attachment.php?attachmentid=3476163&d=1442444179 (direct download link for mfastboot)
now copy mfastboot.exe to adb folder (created from version 1.4.2 .exe)
and try to install 5.1 lollipop stock rom with mfastboot commands thats it everything will works fine
dont download adb file from google website always use version 1.4.2
enjoy
Click to expand...
Click to collapse
Powerleech said:
Hello
I really hopes one of you brilliand guys can help me. I'm at a loss (sorry in advance for bad english).
I have a xt1039 with an unlocked BL 41.1A which I can't get back to stock or flash any other ROM.
In mfastboot, my phone is recognized as TA4750I1SK, and the device is UNLOCKED and my CID is 7.
I tried flashing different stock version from here
https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/"]https://firmware.center/firmware/Motorola/Moto%20G%20%281st%20gen-2013%29/Stock/XT1039/
trying both 4.4.4 and 5.1 but without success:
I managed to flash twrp, but the phone will hang on Bootloader logo when rebooting, and I don't know what to do next.
Any good ideas?
Click to expand...
Click to collapse
Flashing twrp 3.1 or high in bootloader .
Wipe "system" "data" and "cache" in twrp .
Dont flash "partition" and "motoboot" when you flashing stock firmware .

Relocked suceeded...by accident

I OEM unlocked after day 14 second 1 hot the clock....I have never since then in the bootloader seen anything other than UNLOCKED in the second last line...
Today, I flash the stock 233...go to developer options to find oem unlocking disabled...I did three things it could be:
1. Installed CAF - during this I remember turning OEM unlocking off. Could be this.
2. Used qboot to flash the singleimage.bin from the STOCK 233 zip.
3. Flashed (for the first time successfully) the flashall.bat from the 233 stock zip - here is the log:
Code:
Motorola Mobility flashall script version 1.9
Flashing Options:
- flash userdata: 1
- flash preload: 1
- erase userdata: 0
- erase cache: 0
Waiting for fastboot enumeration...
Fastboot device is ready
There are 1 device(s) connected: 1d711912
Trying to flash device 1d711912
Starting flashing device 1d711912...
Flashing partition table ...
Executing ".\Windows\fastboot.exe -s 1d711912 flash partition gpt_both0.bin"
target max-download-size: 512MB
sending 'partition' (33 KB)...
OKAY [ 0.028s]
writing 'partition'...
OKAY [ 0.034s]
finished. total time: 0.063s
Flashing bootloader ...
Executing ".\Windows\fastboot.exe -s 1d711912 flash apdp dp_AP_signed.mbn"
target max-download-size: 512MB
sending 'apdp' (12 KB)...
OKAY [ 0.030s]
writing 'apdp'...
OKAY [ 0.026s]
finished. total time: 0.057s
Executing ".\Windows\fastboot.exe -s 1d711912 flash msadp dp_MSA_signed.mbn"
target max-download-size: 512MB
sending 'msadp' (12 KB)...
OKAY [ 0.028s]
writing 'msadp'...
OKAY [ 0.026s]
finished. total time: 0.055s
Executing ".\Windows\fastboot.exe -s 1d711912 flash prov prov32.mbn"
target max-download-size: 512MB
sending 'prov' (64 KB)...
OKAY [ 0.029s]
writing 'prov'...
OKAY [ 0.040s]
finished. total time: 0.069s
Executing ".\Windows\fastboot.exe -s 1d711912 flash sbl1 sbl1.mbn"
target max-download-size: 512MB
sending 'sbl1' (376 KB)...
OKAY [ 0.027s]
writing 'sbl1'...
OKAY [ 0.047s]
finished. total time: 0.074s
Executing ".\Windows\fastboot.exe -s 1d711912 flash sbl1bak sbl1.mbn"
target max-download-size: 512MB
sending 'sbl1bak' (376 KB)...
OKAY [ 0.039s]
writing 'sbl1bak'...
OKAY [ 0.031s]
finished. total time: 0.070s
Executing ".\Windows\fastboot.exe -s 1d711912 flash rpm rpm.mbn"
target max-download-size: 512MB
sending 'rpm' (171 KB)...
OKAY [ 0.030s]
writing 'rpm'...
OKAY [ 0.044s]
finished. total time: 0.075s
Executing ".\Windows\fastboot.exe -s 1d711912 flash rpmbak rpm.mbn"
target max-download-size: 512MB
sending 'rpmbak' (171 KB)...
OKAY [ 0.039s]
writing 'rpmbak'...
OKAY [ 0.029s]
finished. total time: 0.069s
Executing ".\Windows\fastboot.exe -s 1d711912 flash devcfg devcfg.mbn"
target max-download-size: 512MB
sending 'devcfg' (37 KB)...
OKAY [ 0.033s]
writing 'devcfg'...
OKAY [ 0.040s]
finished. total time: 0.074s
Executing ".\Windows\fastboot.exe -s 1d711912 flash devcfgbak devcfg.mbn"
target max-download-size: 512MB
sending 'devcfgbak' (37 KB)...
OKAY [ 0.039s]
writing 'devcfgbak'...
OKAY [ 0.026s]
finished. total time: 0.066s
Executing ".\Windows\fastboot.exe -s 1d711912 flash lksecapp lksecapp.mbn"
target max-download-size: 512MB
sending 'lksecapp' (56 KB)...
OKAY [ 0.027s]
writing 'lksecapp'...
OKAY [ 0.025s]
finished. total time: 0.053s
Executing ".\Windows\fastboot.exe -s 1d711912 flash lksecappbak lksecapp.mbn"
target max-download-size: 512MB
sending 'lksecappbak' (56 KB)...
OKAY [ 0.039s]
writing 'lksecappbak'...
OKAY [ 0.025s]
finished. total time: 0.065s
Executing ".\Windows\fastboot.exe -s 1d711912 flash tz tz.mbn"
target max-download-size: 512MB
sending 'tz' (1447 KB)...
OKAY [ 0.054s]
writing 'tz'...
OKAY [ 0.065s]
finished. total time: 0.119s
Executing ".\Windows\fastboot.exe -s 1d711912 flash tzbak tz.mbn"
target max-download-size: 512MB
sending 'tzbak' (1447 KB)...
OKAY [ 0.069s]
writing 'tzbak'...
OKAY [ 0.042s]
finished. total time: 0.111s
Executing ".\Windows\fastboot.exe -s 1d711912 flash keymaster keymaster.mbn"
target max-download-size: 512MB
sending 'keymaster' (221 KB)...
OKAY [ 0.031s]
writing 'keymaster'...
OKAY [ 0.042s]
finished. total time: 0.073s
Executing ".\Windows\fastboot.exe -s 1d711912 flash cmnlib cmnlib.mbn"
target max-download-size: 512MB
sending 'cmnlib' (197 KB)...
OKAY [ 0.029s]
writing 'cmnlib'...
OKAY [ 0.042s]
finished. total time: 0.072s
Executing ".\Windows\fastboot.exe -s 1d711912 flash cmnlibbak cmnlib.mbn"
target max-download-size: 512MB
sending 'cmnlibbak' (197 KB)...
OKAY [ 0.039s]
writing 'cmnlibbak'...
OKAY [ 0.028s]
finished. total time: 0.067s
Executing ".\Windows\fastboot.exe -s 1d711912 flash cmnlib64 cmnlib64.mbn"
target max-download-size: 512MB
sending 'cmnlib64' (250 KB)...
OKAY [ 0.028s]
writing 'cmnlib64'...
OKAY [ 0.042s]
finished. total time: 0.071s
Executing ".\Windows\fastboot.exe -s 1d711912 flash cmnlib64bak cmnlib64.mbn"
target max-download-size: 512MB
sending 'cmnlib64bak' (250 KB)...
OKAY [ 0.039s]
writing 'cmnlib64bak'...
OKAY [ 0.027s]
finished. total time: 0.067s
Executing ".\Windows\fastboot.exe -s 1d711912 flash aboot emmc_appsboot.mbn"
target max-download-size: 512MB
sending 'aboot' (855 KB)...
OKAY [ 0.048s]
writing 'aboot'...
OKAY [ 0.057s]
finished. total time: 0.105s
Executing ".\Windows\fastboot.exe -s 1d711912 flash abootbak emmc_appsboot.mbn"
target max-download-size: 512MB
sending 'abootbak' (855 KB)...
OKAY [ 0.049s]
writing 'abootbak'...
OKAY [ 0.038s]
finished. total time: 0.087s
Executing .\Windows\fastboot.exe -s 1d711912 reboot-bootloader
rebooting into bootloader...
OKAY [ 0.008s]
finished. total time: 0.009s
Flashing modem SW...
Executing ".\Windows\fastboot.exe -s 1d711912 flash modem NON-HLOS.bin"
target max-download-size: 512MB
sending 'modem' (131072 KB)...
OKAY [ 2.846s]
writing 'modem'...
OKAY [ 1.799s]
finished. total time: 4.646s
Executing ".\Windows\fastboot.exe -s 1d711912 flash fsg fsg.mbn"
target max-download-size: 512MB
sending 'fsg' (304 KB)...
OKAY [ 0.031s]
writing 'fsg'...
OKAY [ 0.030s]
finished. total time: 0.061s
Executing ".\Windows\fastboot.exe -s 1d711912 erase modemst1"
erasing 'modemst1'...
OKAY [ 0.030s]
finished. total time: 0.031s
Executing ".\Windows\fastboot.exe -s 1d711912 erase modemst2"
erasing 'modemst2'...
OKAY [ 0.032s]
finished. total time: 0.032s
Executing ".\Windows\fastboot.exe -s 1d711912 flash dsp adspso.bin"
target max-download-size: 512MB
sending 'dsp' (16384 KB)...
OKAY [ 0.364s]
writing 'dsp'...
OKAY [ 0.135s]
finished. total time: 0.500s
Flashing AP Images...
Executing ".\Windows\fastboot.exe -s 1d711912 flash boot boot.img"
target max-download-size: 512MB
sending 'boot' (23381 KB)...
OKAY [ 0.515s]
writing 'boot'...
OKAY [ 0.360s]
finished. total time: 0.876s
Executing ".\Windows\fastboot.exe -s 1d711912 flash recovery recovery.img"
target max-download-size: 512MB
sending 'recovery' (27119 KB)...
OKAY [ 0.598s]
writing 'recovery'...
OKAY [ 0.408s]
finished. total time: 1.007s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk0.img"
target max-download-size: 512MB
sending 'system' (259539 KB)...
OKAY [ 5.610s]
writing 'system'...
OKAY [ 3.718s]
finished. total time: 9.330s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk1.img"
target max-download-size: 512MB
sending 'system' (257674 KB)...
OKAY [ 24.309s]
writing 'system'...
OKAY [ 3.523s]
finished. total time: 27.835s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk2.img"
target max-download-size: 512MB
sending 'system' (262129 KB)...
OKAY [ 5.678s]
writing 'system'...
OKAY [ 3.551s]
finished. total time: 9.230s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk3.img"
target max-download-size: 512MB
sending 'system' (262143 KB)...
OKAY [ 5.669s]
writing 'system'...
OKAY [ 3.589s]
finished. total time: 9.259s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk4.img"
target max-download-size: 512MB
sending 'system' (262087 KB)...
OKAY [ 5.668s]
writing 'system'...
OKAY [ 3.923s]
finished. total time: 9.592s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk5.img"
target max-download-size: 512MB
sending 'system' (262103 KB)...
OKAY [ 5.697s]
writing 'system'...
OKAY [ 3.673s]
finished. total time: 9.370s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk6.img"
target max-download-size: 512MB
sending 'system' (257611 KB)...
OKAY [ 5.575s]
writing 'system'...
OKAY [ 3.801s]
finished. total time: 9.376s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk7.img"
target max-download-size: 512MB
sending 'system' (262141 KB)...
OKAY [ 5.677s]
writing 'system'...
OKAY [ 3.727s]
finished. total time: 9.405s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk8.img"
target max-download-size: 512MB
sending 'system' (262141 KB)...
OKAY [ 5.661s]
writing 'system'...
OKAY [ 3.554s]
finished. total time: 9.216s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk9.img"
target max-download-size: 512MB
sending 'system' (253030 KB)...
OKAY [ 5.475s]
writing 'system'...
OKAY [ 3.461s]
finished. total time: 8.937s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk10.img"
target max-download-size: 512MB
sending 'system' (262143 KB)...
OKAY [ 5.672s]
writing 'system'...
OKAY [ 3.588s]
finished. total time: 9.261s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk11.img"
target max-download-size: 512MB
sending 'system' (262141 KB)...
OKAY [ 5.667s]
writing 'system'...
OKAY [ 3.624s]
finished. total time: 9.292s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk12.img"
target max-download-size: 512MB
sending 'system' (261619 KB)...
OKAY [ 5.656s]
writing 'system'...
OKAY [ 3.653s]
finished. total time: 9.309s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk13.img"
target max-download-size: 512MB
sending 'system' (241951 KB)...
OKAY [ 5.232s]
writing 'system'...
OKAY [ 3.463s]
finished. total time: 8.696s
Executing ".\Windows\fastboot.exe -s 1d711912 flash system systemchunk14.img"
target max-download-size: 512MB
sending 'system' (66484 KB)...
OKAY [ 1.441s]
writing 'system'...
OKAY [ 0.906s]
finished. total time: 2.348s
Executing ".\Windows\fastboot.exe -s 1d711912 flash cache cache.img"
target max-download-size: 512MB
sending 'cache' (6632 KB)...
OKAY [ 0.154s]
writing 'cache'...
OKAY [ 0.074s]
finished. total time: 0.229s
Clearing boot mode...
...
(bootloader) Not allowed command
FAILED (remote failure)
finished. total time: 0.012s
Flashing preload...
Executing ".\Windows\fastboot.exe -s 1d711912 flash preload preload.img"
target max-download-size: 512MB
sending 'preload' (8648 KB)...
OKAY [ 0.208s]
writing 'preload'...
OKAY [ 0.090s]
finished. total time: 0.299s
Flashing userdata...
Executing ".\Windows\fastboot.exe -s 1d711912 flash userdata userdata.img"
target max-download-size: 512MB
sending 'userdata' (297806 KB)...
OKAY [ 6.448s]
writing 'userdata'...
OKAY [ 2.084s]
finished. total time: 8.533s
All images flashed successfully
Rebooting device...
rebooting...
finished. total time: 0.010s
All devices are flashed
Press any key to continue . . .
I would just some of you to throw your opinions around and tell me if I found something useful ?
How did you flashed 233? By ota update? Or by flashable zip by twrp?
Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
flashed with the zip available in the thread with all the stock ROMs but it always failed flashing the modem partition cause it was unlocked. I was trying to fix a no signal error and I noticed the OEM was relocked.
if you look inside the folder called mbmi ( or something, I don't remember and in on my phone) there is a blankflash.zip
I remember setting the fastboot to factory (fastboot OEM config bootmode factory). installing Qualcomm drivers with lenovo diagnostic and used the .bat in the blankflash to basically restore the core firmware to factory. it flashed all the partitions it usually can't due to unlocked OEM.
Quite interesting if it's true that you're bootloader was indeed unlocked. Have you tried using Android Pay or Pokemon Go? (assuming you're unrooted)
"CAF"? What does it stand for? Some rom? There are customs roms that don't use verified boot. It seems that if the verified boot flag is removed from the kernel this will prevent the bootloader from passing the flag to SafetyNet. The state of the bootloader will then be hidden.
Has anyone tried it out and found to be working?? if yes then please tell what is the actual procedure and sequence for the same? I have tried many times and couldn't find out what was my mistake? Please help!! Thanks
Can any one give an exact way to relock the bootloader?
I would also love to be able to relock the bootloader. My device is softbricked, and I can only restore system and recovery. Running the allflash.bat gives me an error because the bootloader unlock disables the segments I need to fix the brick. F*** Lenovo, why would you make an unlocked bootloader have less permission? Give me control over my own device, I paid for it.
---------- Post added at 03:07 PM ---------- Previous post was at 02:52 PM ----------
eried1 said:
Quite interesting if it's true that you're bootloader was indeed unlocked. Have you tried using Android Pay or Pokemon Go? (assuming you're unrooted)
"CAF"? What does it stand for? Some rom? There are customs roms that don't use verified boot. It seems that if the verified boot flag is removed from the kernel this will prevent the bootloader from passing the flag to SafetyNet. The state of the bootloader will then be hidden.
Click to expand...
Click to collapse
I found this which gives more info. https://www.reddit.com/r/Android/comments/1rt9md/eli5_what_is_caf_why_is_cm_going_caf_affects_the/
"CAF is a custom Linux kernel branch in place to support Qualcomm hardware. By using a potentially heavily customized kernel (while AOSP Android uses the main Linux kernel), custom kernel developers will have to effectively maintain two separate instances of their customizations."
Can I relock my bootloader or not
Explanation needed
Can you explain the entire process step by step? you haven't mentioned the below step in the first post. It would be helpful if you could rewrite the entire process in order.
SvenRL said:
flashed with the zip available in the thread with all the stock ROMs but it always failed flashing the modem partition cause it was unlocked. I was trying to fix a no signal error and I noticed the OEM was relocked.
if you look inside the folder called mbmi ( or something, I don't remember and in on my phone) there is a blankflash.zip
I remember setting the fastboot to factory (fastboot OEM config bootmode factory). installing Qualcomm drivers with lenovo diagnostic and used the .bat in the blankflash to basically restore the core firmware to factory. it flashed all the partitions it usually can't due to unlocked OEM.
Click to expand...
Click to collapse
@SvenRL Hey? U still alive? Can you please explain to us how you relocked the bootloader?
If this could be elaborated it would mean the world to us who lost our modem/IMEI. I'm still not sure of what CAF means. There seems to be ROMs incorporating it, such as AOSP and HalogenOS.
@SvenRL, please reply once you log in.
EDIT: When looking at the date of the OP and comparing to the date of this post, it appears nothing was solved even though the modem was, supposedly, flashed.

Categories

Resources