Try to install TWRP on Moto X 2014 XT1097. - X 2014 Q&A, Help & Troubleshooting

Hi,
I already unlock the bootloader. I see
Code:
Device is UNKLOCKED. Status Code: 3
It's not the first phone I have TWRP installed. That phone appear to be lock or something else.
Code:
61.00 (sha-130760b, 2016-08-24 12:39:46)
When I fastboot
Code:
flash recovery twrp.img
I see Okay message on my Windows cmd but I see mismatched partition size (recovery)
I cannot boot in my custom recovery partition.
Can you help me please!!!
Thank you!

metabsd said:
Hi,
I already unlock the bootloader. I see
Code:
Device is UNKLOCKED. Status Code: 3
It's not the first phone I have TWRP installed. That phone appear to be lock or something else.
Code:
61.00 (sha-130760b, 2016-08-24 12:39:46)
When I fastboot
Code:
flash recovery twrp.img
I see Okay message on my Windows cmd but I see mismatched partition size (recovery)
I cannot boot in my custom recovery partition.
Can you help me please!!!
Thank you!
Click to expand...
Click to collapse
So you get the latest fastboot from here:
https://developer.android.com/studio/releases/platform-tools.html
The latest TWRP for Victara here: (I still use twrp-3.0.2-2-victara.img)
https://dl.twrp.me/victara/
https://eu.dl.twrp.me/victara/
You put the phone in bootloader mode and connect it, then type:
fastboot flash recovery twrp.img (whatever the name of the .img file is)
Then use the volume rocker only to launch recovery.
The mismatch error is not a problem, you get it because you're flashing a non-stock recovery, but it still works.

Gus Ghanem said:
So you get the latest fastboot from here:
https://developer.android.com/studio/releases/platform-tools.html
The latest TWRP for Victara here: (I still use twrp-3.0.2-2-victara.img)
https://dl.twrp.me/victara/
https://eu.dl.twrp.me/victara/
You put the phone in bootloader mode and connect it, then type:
fastboot flash recovery twrp.img (whatever the name of the .img file is)
Then use the volume rocker only to launch recovery.
The mismatch error is not a problem, you get it because you're flashing a non-stock recovery, but it still works.
Click to expand...
Click to collapse
Hi,
Thanks to reply to my thread
I already try multiple time to flash the recovery with the latest SDK Tool. I also use the same twrp.img file.
I read about a potential problem after the august 2016 update of Motorola and I have that update already install.
I think I have to flash back to a older version (if it's possible) and retry the same twrp recovery flash.
Do you know something about that possible latest patch lock ...
Thank you!

metabsd said:
Hi,
Thanks to reply to my thread
I already try multiple time to flash the recovery with the latest SDK Tool. I also use the same twrp.img file.
I read about a potential problem after the august 2016 update of Motorola and I have that update already install.
I think I have to flash back to a older version (if it's possible) and retry the same twrp recovery flash.
Do you know something about that possible latest patch lock ...
Thank you!
Click to expand...
Click to collapse
I have an XT1097 RETCA, it was updated to the latest stock firmware MPES24.49-18-7, no issues, I've been flashing TWRP and custom ROMs for a couple of years on it.
Don't try to downgrade your stock firmware, if you try to downgrade the bootloader or partition table, you'll brick the phone. Just reflash the latest stock firmware, and try again, because sometimes partitions get corrupted.
In bootloader mode type this, and copy and save the info for your reference:
fastboot getvar all

Gus Ghanem said:
I have an XT1097 RETCA, it was updated to the latest stock firmware MPES24.49-18-7, no issues, I've been flashing TWRP and custom ROMs for a couple of years on it.
Don't try to downgrade your stock firmware, if you try to downgrade the bootloader or partition table, you'll brick the phone. Just reflash the latest stock firmware, and try again, because sometimes partitions get corrupted.
In bootloader mode type this, and copy and save the info for your reference:
fastboot getvar all
Click to expand...
Click to collapse
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) version: 0.5
(bootloader) version-bootloader: 6100
(bootloader) product: victara
(bootloader) secure: yes
(bootloader) hwrev: 0x82BF
(bootloader) radio: 0x1
(bootloader) emmc: 16GB Sandisk REV=07 PRV=01 TYPE=57
(bootloader) ram: 2048MB Elpida S8 SDRAM DIE=4Gb
(bootloader) cpu: MSM8974AC ES1.1
(bootloader) serialno: TA9890126J
(bootloader) cid: 0x000E
(bootloader) channelid: 0x82
(bootloader) uid: BLAH
(bootloader) unlocked: yes
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: BLAH
(bootloader) meid:
(bootloader) date: 09-13-2014
(bootloader) sku: XT1097
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Sep 1 15:42:14 UTC 2016"
(bootloader) ro.build.fingerprint:
(bootloader) ro.build.version.full:
(bootloader) ro.build.version.qcom:
(bootloader) version-baseband[0]: MSM8974BP_42352121.25.09.24R VICTARA_T
(bootloader) version-baseband[1]: ELUS_CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-g0dad312 ([email protected]
(bootloader) kernel.version[1]: ilclbld72) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Thu Sep 1 10:53:00 CDT 2016
(bootloader) sdi.git: git=MBM-NG-V61.00-0-g582b967
(bootloader) sbl1.git: git=MBM-NG-V61.00-0-g5147b20
(bootloader) rpm.git: git=MBM-NG-V61.00-0-gc54d917
(bootloader) tz.git: git=MBM-NG-V61.00-0-gacbc999
(bootloader) aboot.git: git=MBM-NG-V61.00-0-g130760b
(bootloader) qe: qe 2/1
(bootloader) ro.carrier: tkpca
all: listed above
finished. total time: 0.066s

After you flash recovery, you use volume down to choose recovery, then volume up to launch it. You have to do it right after flashing it, don't reboot the phone before launching TWRP.

Gus Ghanem said:
After you flash recovery, you use volume down to choose recovery, then volume up to launch it. You have to do it right after flashing it, don't reboot the phone before launching TWRP.
Click to expand...
Click to collapse
Mouahahahah Holy Fu**ing s**it
No I press power button to select ...
loool
I'm a noob.
Thank you!!!

metabsd said:
Mouahahahah Holy Fu**ing s**it
No I press power button to select ...
loool
I'm a noob.
Thank you!!!
Click to expand...
Click to collapse
Excellent! Glad it worked!

Related

[XT1097 AT&T] Last Time Flashing Failed Bootloop

Well.. I may have messed up beyond belief.
I accidentally ordered the AT&T variant instead of going with XT1095, and instead of returning it, I figured I'd unlock it and convert.
To my error, I tried CF-Auto-Root-victara-victararetbr-xt1097 with a locked bootloader and I was put into a bootloop with the error "Fastboot Reason: Last time flashing failed"
Am I screwed? Are there ways to fix this new $325 brick?
I just remembered, I have my old XT1095 IMEI and bootloader code. Is there anyway to flash my XT1097 with those numbers so my phone can pretend to be my old 'Pure' edition and be able to unlocked?
Have you check unlocking the bootloader from motorola site? I heared xt1097 is also unlocking now via motorola website, you can also try these lines hope it will help you reboot in fastboot first then type these:
Fastboot reboot-bootloader
Fastboot oem fb_mode_set
Fastboot erase cache
Fastboot oem fb_mode_clear
Fastboot reboot
Hope you will get the device back running.. If these didnt help kindly get back here.. And dont try any imei tweak etc you will hard brick that
Salik Iqbal said:
Have you check unlocking the bootloader from motorola site? I heared xt1097 is also unlocking now via motorola website, you can also try these lines hope it will help you reboot in fastboot first then type these:
Fastboot reboot-bootloader
Fastboot oem fb_mode_set
Fastboot erase cache
Fastboot oem fb_mode_clear
Fastboot reboot
Hope you will get the device back running.. If these didnt help kindly get back here.. And dont try any imei tweak etc you will hard brick that
Click to expand...
Click to collapse
I've tried what you posted to no avail.
I've been trying to download VICTARA_ATT_XT1097_5.1_LPE23.32-21.9_cid1_CFC.xml.zip or VICTARA_ATT_XT1097_5.1_LPE23.32-21.2_cid1_CFC.xml.zip from FileFactory, but because i'm using the "Slow Speed" download(50Kb/s), it keeps failing, so I haven't even been able to try flashing the official ATT Victara firmware.
I'm almost positive it's because the partition was flashed over... so I'm hoping if I can get one of these files downloaded, I can try flashing the original gpt.bin and it boot fine..
Any other ideas would be extremely helpful.
If this helps, this is all the info from my bootloader
AP Fastboot Flash Mode (S)
60.16 (sha-496ce05,c2015-04-02 18:55:00)
CPU: MSM8974AC ES1.1
eMMC: 32GB Samsung RV=07 PV=0B TY=57
DRAM: 2048MB Elpida S8 SDRAM DIE=4GB
Battery OK
Device is LOCKED. Status Code: 0
Software status: Official
Fastboot getvar all
Paste the output pls
Salik Iqbal said:
Fastboot getvar all
Paste the output pls
Click to expand...
Click to collapse
I just need VICTARA_ATT_XT1097_5.1_LPE_23.32-21.9 gpt.bin if I do belive so myself. Teach me if i'm wrong, I truly am interested in learning this stuff!
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 6016
(bootloader) product: victara
(bootloader) secure: yes
(bootloader) hwrev: 0x82BF
(bootloader) radio: 0x1
(bootloader) emmc: 32GB Samsung REV=07 PRV=0B TYPE=57
(bootloader) ram: 2048MB Elpida S8 SDRAM DIE=4Gb
(bootloader) cpu: MSM8974AC ES1.1
(bootloader) serialno: TA449074CQ
(bootloader) cid: 0x0001
(bootloader) channelid: 0x84
(bootloader) uid: 6FD5BD0D0B000000000000000000
(bootloader) unlocked: no
(bootloader) iswarrantyvoid: no
(bootloader) mot_sst: 0
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: ***************
(bootloader) meid:
(bootloader) date: 02-11-2016
(bootloader) sku: XT1097
(bootloader) iccid:********************
(bootloader) cust_md5: ********************************
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jun 28 20:20:35 UTC 2014"
(bootloader) ro.build.fingerprint[0]: motorola/victara_att/victara:5.1/L
(bootloader) ro.build.fingerprint[1]: PE23.32-21.9/3:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.23.16.9.victara_att.
(bootloader) ro.build.version.full[1]: att.en.US
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband[0]: MSM8974BP_4235210.110.09.11R VICTARA_A
(bootloader) version-baseband[1]: TT_CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-gff6f5d9 ([email protected]
(bootloader) kernel.version[1]: ilclbld32) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Tue Sep 29 04:22:36 CDT 2015
(bootloader) sdi.git: git=MBM-NG-V60.16-0-g582b967
(bootloader) sbl1.git: git=MBM-NG-V60.16-0-gfd10553
(bootloader) rpm.git: git=MBM-NG-V60.16-0-gc54d917
(bootloader) tz.git: git=MBM-NG-V60.16-0-g04e322b
(bootloader) aboot.git: git=MBM-NG-V60.16-0-g496ce05
(bootloader) qe: qe 0/0
(bootloader) ro.carrier: att
all: listed above
finished. total time: 0.101s
you need full flash, not just gpt.bin.. if you did flashing this gpt only, you will have dead bricked device.. check the pvt msg i gave you fast download link there.. download rsd lite, unzip that and flash the full stock rom.. good luck!
Salik Iqbal said:
you need full flash, not just gpt.bin.. if you did flashing this gpt only, you will have dead bricked device.. check the pvt msg i gave you fast download link there.. download rsd lite, unzip that and flash the full stock rom.. good luck!
Click to expand...
Click to collapse
THANK YOU! I really appreciate it, you have no idea how happy I am.
RSD Lite and fastboot, gives me the error: version downgraded for primary_gpt.
ibphantom said:
THANK YOU! I really appreciate it, you have no idea how happy I am.
RSD Lite and fastboot, gives me the error: version downgraded for primary_gpt.
Click to expand...
Click to collapse
It was latest that i gave you..
Salik Iqbal said:
It was latest that i gave you..
Click to expand...
Click to collapse
Uhh... so what could the problem be? lol.
ibphantom said:
THANK YOU! I really appreciate it, you have no idea how happy I am.
RSD Lite and fastboot, gives me the error: version downgraded for primary_gpt.
Click to expand...
Click to collapse
There are other att files on that folder, download and check if they work for you.. Also edit the xml abd remove two lines gpt.bin and motoboot.img start it with boot.img
Salik Iqbal said:
There are other att files on that folder, download and check if they work for you.. Also edit the xml abd remove two lines gpt.bin and motoboot.img start it with boot.img
Click to expand...
Click to collapse
I removed
<step MD5="72167323145a532c1158c13f8543e6d3" filename="gpt.bin" operation="flash" partition="partition"/>
<step MD5="a942904bb71a2ba69c27a440e1f9801e" filename="motoboot.img" operation="flash" partition="motoboot"/>
and it flashed up to the boot.img
I got another 'Version Downgraded' error for boot
Does it matter that my bootloader CPU is MSM8974AC ES1.1 and the release keys are for MSM8974BP_4235210.110.09.11R?
I have same problem please somehow help me too
I can't flash boot.img
(bootloader) version: 0.5
(bootloader) version-bootloader: 6016
(bootloader) product: victara
(bootloader) secure: yes
(bootloader) hwrev: 0x82BF
(bootloader) radio: 0x1
(bootloader) emmc: 16GB Samsung REV=07 PRV=0B TYPE=57
(bootloader) ram: 2048MB Elpida S8 SDRAM DIE=4Gb
(bootloader) cpu: MSM8974AC ES1.1
(bootloader) serialno: TA98901CI9
(bootloader) cid: 0x0001
(bootloader) channelid: 0x84
(bootloader) uid: F9FED40C0B000000000000000000
(bootloader) unlocked: no
(bootloader) iswarrantyvoid: no
(bootloader) mot_sst: 0
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "bootmode" configured as fastboot
(bootloader) imei: 359279050697553
(bootloader) meid:
(bootloader) date: 09-16-2014
(bootloader) sku: XT1097
(bootloader) iccid: 89014103286416801740
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Feb 22 11:45:36 UTC 2016"
(bootloader) ro.build.fingerprint:
(bootloader) ro.build.version.full:
(bootloader) ro.build.version.qcom:
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-gff6f5d9 ([email protected]
(bootloader) kernel.version[1]: ilclbld32) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Tue Sep 29 04:22:36 CDT 2015
(bootloader) sdi.git: git=MBM-NG-V60.16-0-g582b967
(bootloader) sbl1.git: git=MBM-NG-V60.16-0-gfd10553
(bootloader) rpm.git: git=MBM-NG-V60.16-0-gc54d917
(bootloader) tz.git: git=MBM-NG-V60.16-0-g04e322b
(bootloader) aboot.git: git=MBM-NG-V60.16-0-g496ce05
(bootloader) qe: qe 0/0
(bootloader) ro.carrier: att
all: listed above
finished. total time: 0.092s
Click to expand...
Click to collapse
MrSaba said:
I have same problem please somehow help me too
I can't flash boot.img
Click to expand...
Click to collapse
Does anybody know how to erase the gpt.bin so that I can flash stock?
I flashed from XT1095 gpt.bin and now I get the "Version Downgraded for primary_gpt" error.
ibphantom said:
Does anybody know how to erase the gpt.bin so that I can flash stock?
I flashed from XT1095 gpt.bin and now I get the "Version Downgraded for primary_gpt" error.
Click to expand...
Click to collapse
Is your bootloader locked? It must be unlocked to flash firmware from other models as well as to downgrade.
Sent from my XT1095 using Tapatalk
AGISCI said:
Is your bootloader locked? It must be unlocked to flash firmware from other models as well as to downgrade.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Yeah, it's locked. I was just asking in hope that someone had a work around.
I guess I'll try to ship it back to Motorola(since it's within 14 days) and pretend I never even turned it on and ask for the PURE as a replacement.
ibphantom said:
Yeah, it's locked. I was just asking in hope that someone had a work around.
I guess I'll try to ship it back to Motorola(since it's within 14 days) and pretend I never even turned it on and ask for the PURE as a replacement.
Click to expand...
Click to collapse
Yeah, there is nothing you can do. Never flash anything with a locked bootloader, it's a recipe for disaster.
Sent from my XT1095 using Tapatalk
ibphantom said:
Does anybody know how to erase the gpt.bin so that I can flash stock?
I flashed from XT1095 gpt.bin and now I get the "Version Downgraded for primary_gpt" error.
Click to expand...
Click to collapse
Dont play with gpt.bin mate.. You will brick your phone, just wait a little bit more Marshmallow is comming soon, you will have your device working soon, dont try other variant gpt partitions you will brick your phone..
---------- Post added at 11:02 PM ---------- Previous post was at 10:51 PM ----------
Salik Iqbal said:
Dont play with gpt.bin mate.. You will brick your phone, just wait a little bit more Marshmallow is comming soon, you will have your device working soon, dont try other variant gpt partitions you will brick your phone..
Click to expand...
Click to collapse
Umm i found something stupid in your fastboot getvar :/ can you please try this:
Fastboot reboot-bootloader
Fastboot oem fb_mode_clear
Fastboot reboot
softbrick?
I have the same problem, i have XT1097 AT&T and i flashed other provider XT1097 Rom and i cant power on my device i only show fastboot mode and the error to downgrade bootloader , i do not know how can i return to stock , can anyone tell me what can i do ?

MOTO GXT1097 Can't pass startup

Hi,
I have a MOTO XT1097 with Android 6.0. Since I started using this version, it restarted at is own randomly. I didn't mind it for a while, but now it can't pass from the startup logo. I tried to launch TWRP Recovery to backup some apps, wipe all data and start from 0, but the PC don't recognize the device. Please I need help
PD: Sorry for bad English and since is my first post I don't know if I need to be more specific...
astrofenix41 said:
Hi,
I have a MOTO XT1097 with Android 6.0. Since I started using this version, it restarted at is own randomly. I didn't mind it for a while, but now it can't pass from the startup logo. I tried to launch TWRP Recovery to backup some apps, wipe all data and start from 0, but the PC don't recognize the device. Please I need help
PD: Sorry for bad English and since is my first post I don't know if I need to be more specific...
Click to expand...
Click to collapse
Did you install the Motorola USB drivers?
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
Is your bootloader unlocked?
Gus Ghanem said:
Did you install the Motorola USB drivers?
Is your bootloader unlocked?
Click to expand...
Click to collapse
Yes, I downloaded it and bootloader is unlocked
astrofenix41 said:
Yes, I downloaded it and bootloader is unlocked
Click to expand...
Click to collapse
Can you put the phone in bootloader mode and connect it? Does the phone show "connected"?
In Windows Device Manager, do you see "Android Device" at the top, and "Motorola ADB Interface" under it?
You can get the latest firmware from here:
https://firmware.center:8081/firmware/Motorola/Moto X (2nd gen-2014)/Stock/XT1097/
And make sure it's Android 6.0
Gus Ghanem said:
Can you put the phone in bootloader mode and connect it? Does the phone show "connected"?
In Windows Device Manager, do you see "Android Device" at the top, and "Motorola ADB Interface" under it?
Click to expand...
Click to collapse
I can put it in bootloader mode and yes, I have Motorola ADB Interface
astrofenix41 said:
I can put it in bootloader mode and yes, I have Motorola ADB Interface
Click to expand...
Click to collapse
Does the phone show up under This-PC/My Computer? Can you access internal storage?
In bootloader mode type:
fastboot getvar all
And copy and save all the info into a Notepad file.
Do you have any important files on the phone?
Gus Ghanem said:
Does the phone show up under This-PC/My Computer? Can you access internal storage?
In bootloader mode type:
fastboot getvar all
And copy and save all the info into a Notepad file.
Do you have any important files on the phone?
Click to expand...
Click to collapse
I just want to backup one app. The phone doesn't show up so can't access internal storage
It says this:
(bootloader) version: 0.5
(bootloader) version-bootloader: 6016
(bootloader) product: victara
(bootloader) secure: yes
(bootloader) hwrev: 0x82BF
(bootloader) radio: 0x1
(bootloader) emmc: 32GB Sandisk REV=07 PRV=01 TYPE=57
(bootloader) ram: 2048MB Elpida S8 SDRAM DIE=4Gb
(bootloader) cpu: MSM8974AC ES1.1
(bootloader) serialno: TA44908FH5
(bootloader) cid: 0x000C
(bootloader) channelid: 0x15
(bootloader) uid: 4C77CD0F0B000000000000000000
(bootloader) unlocked: yes
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 359288051557294
(bootloader) meid:
(bootloader) date: 12-22-2014
(bootloader) sku: XT1097
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jul 2 17:23:38 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/victara_retla/victara:6.0
(bootloader) ro.build.fingerprint[1]: /MPE24.49-18/15:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.11.18.victara_ret
(bootloader) ro.build.version.full[1]: la.retla.en.01
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband[0]: MSM8974BP_42352121.25.09.24R VICTARA_N
(bootloader) version-baseband[1]: IIPESL_CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-ga9982b3-00002-g389
(bootloader) kernel.version[1]: e46b ([email protected]) (gcc version 4
(bootloader) kernel.version[2]: .8 (GCC) ) #1 SMP PREEMPT Tue Nov 3 16:1
(bootloader) kernel.version[3]: 2:18 CST 2015
(bootloader) sdi.git: git=MBM-NG-V60.16-0-g582b967
(bootloader) sbl1.git: git=MBM-NG-V60.16-0-gfd10553
(bootloader) rpm.git: git=MBM-NG-V60.16-0-gc54d917
(bootloader) tz.git: git=MBM-NG-V60.16-0-g04e322b
(bootloader) aboot.git: git=MBM-NG-V60.16-0-g496ce05
(bootloader) qe: qe 1/1
(bootloader) ro.carrier: niipe
all: listed above
finished. total time: 0.072s
So are you able to flash TWRP in bootloader mode and boot into it directly?
https://dl.twrp.me/victara/twrp-3.0.2-1-victara.img.html
fastboot flash recovery twrp-3.0.2-1-victara.img
If not, you may have to flash stock recovery, then the phone might boot up normally, otherwise you may have to flash the full firmware.
Gus Ghanem said:
So are you able to flash TWRP in bootloader mode and boot into it directly?
fastboot flash recovery twrp-3.0.2-1-victara.img
If not, you may have to flash stock recovery, then the phone might boot up normally, otherwise you may have to flash the full firmware.
Click to expand...
Click to collapse
I can boot TWRP from Recovery option of bootloader, yes. But then I don't know what to do.
astrofenix41 said:
I can boot TWRP from Recovery option of bootloader, yes. But then I don't know what to do.
Click to expand...
Click to collapse
I've never done a backup before, I guess tap Backup, then select Data, then tap Select Storage, then Swipe to backup.
After that's done, go back and tap Wipe, Advanced wipe, select Dalvik/ART cache, Data, Cache, Swipe to wipe, then Reboot System, to see if it will boot.
Sill the same...
Edit: It wiped all info and now started to setting up all over again

Flashed incorrect region firmware - Not able to lock the bootloader again - Bricked?

Hi guys,
I have Moto G5S Plus Indian variant phone - XT1804. I was trying to unlock the bootloader and root the phone. The phone already had stock firmware 8.1. During the process, I used the following firmware - SANDERS_OPS28.65-36_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.
The phone was able to unlock successfully, but during the boot, it is giving the following message:
Your device has been unlocked and can't be trusted again.
ID: bad key
Your device will boot in 5 seconds.
Although it says your device will boot in 5 seconds, nothing happens after 5 seconds. I am not to boot into the OS, but can into the fastboot mode by pressing volume down and power button. Below are my current getvar details:
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.12
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 2
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SAMSUNG RC14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) cid: 0x0032
(bootloader) channelid: 0xc0
(bootloader) uid: DC7B4C3F00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Volume down key pressed
(bootloader) meid:
(bootloader) date: 10-17-2017
(bootloader) sku: XT1804
(bootloader) carrier_sku:
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue May 12 16:16:19 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/sanders_n/sanders_n:8.1.0
(bootloader) ro.build.fingerprint[1]: /OPS28.65-36/9fea:user/release-key
(bootloader) ro.build.fingerprint[2]: s
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.31.40.sanders.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband: M8953_27.36.07.41R SANDERS_INDIADSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-gd0e0d1a (hud
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 2015
(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Fri Aug 10 22:52:41 CDT 2018
(bootloader) sbl1.git: git=MBM-NG-VC2.12-0-g698fb2f
(bootloader) rpm.git: git=MBM-NG-VC2.11-0-g92e5e21-dirty
(bootloader) tz.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) devcfg.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) keymaster.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) cmnlib.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) cmnlib64.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) prov.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) aboot.git: git=MBM-NG-VC2.12-0-g07ff23c
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retin
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
I need help with three things.
1. Relock the bootloader and get back to Indian stock oreo 8.1 firmware. If you can provide the correct download link to restore stock firmware to Oreo 8.1.
2. Unlock the bootloader again with the correct stock ROM to get rid of the bad key message.
3. Possibly install twrp (not able to flash it right now) and PixelExperience ROM
I have tried the restore process with following commands on below firmwares, but does not help with locking the bootloader again.
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 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 system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
I have tried with following steps to lock the bootloader with following commands, but still not working.
fastboot oem lock
fastboot oem lock
fastboot flash boot boot.img
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 boot boot.img
fastboot oem lock
I tried the above steps with the following firmware - SANDERS_RETAIL_8.1.0_OPSS28.65-36-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml, none of the steps are producing any errors except last. It is giving the following error in the last step.
(bootloader) Still require signed system.img and/or oem.img
Please help. :crying:
Did you give it 10 minutes?
---------- Post added at 05:43 AM ---------- Previous post was at 05:43 AM ----------
jacecrobinson said:
Did you give it 10 minutes?
Click to expand...
Click to collapse
It's quite normaly for it to say that but take up to five minutes on the first boot
---------- Post added at 05:45 AM ---------- Previous post was at 05:43 AM ----------
jacecrobinson said:
Did you give it 10 minutes?
Click to expand...
Click to collapse
It's quite normaly for it to say that but take up to five minutes on the first boot
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
jacecrobinson said:
Did you give it 10 minutes?
It's quite normaly for it to say that but take up to five minutes on the first boot
Click to expand...
Click to collapse
Thank you so much for the tip. I am now able to boot into the OS now, but then I am stuck with the following:
1. Unlocked bootloader - I would to relock it and unlock properly in order to install twrp bootloader
2. I am stuck with non-Indian firmware, hence will not receive OTA updates
3. I would like to install custom ROMs, which I can't since #1 - not able to install twrp.
Any workarounds or solutions are highly appreciated.
chiaotzu said:
Thank you so much for the tip. I am now able to boot into the OS now, but then I am stuck with the following:
1. Unlocked bootloader - I would to relock it and unlock properly in order to install twrp bootloader
2. I am stuck with non-Indian firmware, hence will not receive OTA updates
3. I would like to install custom ROMs, which I can't since #1 - not able to install twrp.
Any workarounds or solutions are highly appreciated.
Click to expand...
Click to collapse
You can't receive ota to my knowledge with a unlocked and modified boot..also if you relock your loader you have to be back to stock which defeats the port pose of a unlocked boot.
What version of twrp did you try and install? Did you use fast boot?and do you have USB dev enabled in settings before trying
Solved the issue, thanks.
chiaotzu said:
Solved the issue, thanks.
Click to expand...
Click to collapse
Please document your solution, in case other users have this problem
Sent from my Alcatel 5041C using XDA Labs
chiaotzu said:
Solved the issue, thanks.
Click to expand...
Click to collapse
have xt1802, I installed the firmware SANDERS_RETAIL_8.1.0_OPSS28.65-36-9_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
but when using adb commands it presents error writing 'partition' ...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6
target reported max download size of 534773760 bytes
sending 'system' (262139 KB) ...
OKAY [5.623s]
is left without infinite loop, how to solve?
incorrect firmware Moto G5S Plus
chiaotzu said:
Solved the issue, thanks.
Click to expand...
Click to collapse
What you do it for solve??
I have the same poblem here

Moto G2 XT1072 can't boot

Hi all,
I had a XT1072 with Android 6 and wanted to go back to 5 due to problems with GPS.
I unlocked the boot loader, flashed stock ROM with Android 6 and all was fine.
I next tried to flash stock ROM with Android 5 and was stuck in fast boot with errors like "invalid system image signature" or similar.
Next I messed around with TWRP, stock again, lock, unlock... a mess.
Now it's stuck in fastboot with status "LOCKED, status code 2" (0 is LOCKED, 3 UNLOCKED, 2 what is it?)
I tried flashing stock ROM both 5 and 6 in different versions:
RETDEALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETESALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.99-24_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.99-24_cid7_subsidy-DEFAULT_CFC.xml
Motorola_Moto_G2_XT1072_MPB24.65-34_CID12_6.0
But all fail with "failed validation";
Unlock fails, but I cannot boot in Android to change mentioned option:
Code:
mfastboot-v2> .\mfastboot oem unlock XSVDURWNGOWYDFMGU5ZT
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.057s
RSD Lite to flash stock ROM doesn't see my device.
Rescue and Smart Assistant cannot proceed due to "missing version-baseband:" (see empty var listed below).
Code:
mfastboot-v2> .\mfastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 4821
(bootloader) product: thea
(bootloader) secure: yes
(bootloader) hwrev: 0x8300
(bootloader) radio: 0x3
(bootloader) emmc: 8GB Toshiba REV=06 PRV=51 TYPE=17
(bootloader) ram: 1024MB Elpida S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8926
(bootloader) serialno: ZX1C2272TX
(bootloader) cid: 0x0007
(bootloader) channelid: 0x40
(bootloader) uid: C96B590915000000000000000000
(bootloader) unlocked: no
(bootloader) securestate: locked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 2
(bootloader) max-download-size: 536870912
(bootloader) reason: Fall-through from mot-charger boot mode
(bootloader) imei: 353310061467870
(bootloader) meid:
(bootloader) date: 04-28-2015
(bootloader) sku: XT1072
(bootloader) battid: SNN5956A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Fri Sep 16 3: 2:45 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/thea_reteu/thea:6.0/MPBS2
(bootloader) ro.build.fingerprint[1]: 4.65-34-5/6:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.201.5.thea_reteu.
(bootloader) ro.build.version.full[1]: reteuall.en.EU
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-g495dfd8 ([email protected]
(bootloader) kernel.version[1]: ilclbld71) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Sat Sep 10 01:48:29 CDT 2016
(bootloader) sdi.git: git=MBM-NG-V48.21-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.21-0-gbffe41a
(bootloader) rpm.git: git=MBM-NG-V48.21-0-gbe53f43
(bootloader) tz.git: git=MBM-NG-V48.21-0-g31cba28
(bootloader) aboot.git: git=MBM-NG-V48.21-0-gd8d8d9e
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1C2272TX
(bootloader) sutinfo:
(bootloader) ro.carrier: reteu
all: listed above
finished. total time: 0.105s
Do you have any suggestions to restore it?
Let me know if I can give you more information.
Thanks
enricocava said:
Hi all,
I had a XT1072 with Android 6 and wanted to go back to 5 due to problems with GPS.
I unlocked the boot loader, flashed stock ROM with Android 6 and all was fine.
I next tried to flash stock ROM with Android 5 and was stuck in fast boot with errors like "invalid system image signature" or similar.
Next I messed around with TWRP, stock again, lock, unlock... a mess.
Now it's stuck in fastboot with status "LOCKED, status code 2" (0 is LOCKED, 3 UNLOCKED, 2 what is it?)
Click to expand...
Click to collapse
Sometimes the bootloader will relock, when using a custom recovery is used.
I'm not sure why usually when trying to install a rom.
It's very common, but it happens on many Moto devices.
enricocava said:
I tried flashing stock ROM both 5 and 6 in different versions:
RETDEALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETESALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.99-24_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.99-24_cid7_subsidy-DEFAULT_CFC.xml
Motorola_Moto_G2_XT1072_MPB24.65-34_CID12_6.0
Click to expand...
Click to collapse
That will have made it worse.
enricocava said:
But all fail with "failed validation";
Unlocking fails with "Please allow OEM unlock from developer options", but Android is not booting so I cannot change it.
RSD Lite to flash stock ROM doesn't see my device.
Click to expand...
Click to collapse
RSD Lite doesn't work with Windows 9/10/11
Use XP/7
enricocava said:
Rescue and Smart Assistant cannot proceed due to "missing base version" (string is not correct, I'll chek it later).
Do you have any suggestions to restore it?
Let me know if I can give you more information.
Thanks
Click to expand...
Click to collapse
What does getvar all say?
Code:
fastboot getvar all
[Guide] Using Fastboot.exe with Motorola devices
Guide: Using Fastboot.exe with Motorola Devices If your device has its own section please post in that section. You can ping me with @sd_shadow MediaTek or Qualcomm Chip? Do I have a MediaTek Device? see post #26 Info: If you have a MediaTek...
forum.xda-developers.com
Thank you for your quick reply.
sd_shadow said:
RSD Lite doesn't work with Windows 9/10/11
Use XP/7
Click to expand...
Click to collapse
Colud it work on a Win7 on a Virtual machine or does it need direct access to USB ports? At the moment I have not an old Windows available.
sd_shadow said:
What does getvar all say?
Click to expand...
Click to collapse
I updated the original post.
sd_shadow said:
[Guide] Using Fastboot.exe with Motorola devices
Guide: Using Fastboot.exe with Motorola Devices If your device has its own section please post in that section. You can ping me with @sd_shadow MediaTek or Qualcomm Chip? Do I have a MediaTek Device? see post #26 Info: If you have a MediaTek...
forum.xda-developers.com
Click to expand...
Click to collapse
I missed this post, I'll take a look.
enricocava said:
Hi all,
I had a XT1072 with Android 6 and wanted to go back to 5 due to problems with GPS.
I unlocked the boot loader, flashed stock ROM with Android 6 and all was fine.
I next tried to flash stock ROM with Android 5 and was stuck in fast boot with errors like "invalid system image signature" or similar.
Next I messed around with TWRP, stock again, lock, unlock... a mess.
Now it's stuck in fastboot with status "LOCKED, status code 2" (0 is LOCKED, 3 UNLOCKED, 2 what is it?)
I tried flashing stock ROM both 5 and 6 in different versions:
RETDEALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETESALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.99-24_cid7_subsidy-DEFAULT_CFC.xml
RETGBALL_XT1072_5.0.2_LXB22.99-24_cid7_subsidy-DEFAULT_CFC.xml
Motorola_Moto_G2_XT1072_MPB24.65-34_CID12_6.0
But all fail with "failed validation";
Unlock fails, but I cannot boot in Android to change mentioned option:
Code:
mfastboot-v2> .\mfastboot oem unlock XSVDURWNGOWYDFMGU5ZT
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.057s
RSD Lite to flash stock ROM doesn't see my device.
Rescue and Smart Assistant cannot proceed due to "missing version-baseband:" (see empty var listed below).
Code:
mfastboot-v2> .\mfastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 4821
(bootloader) product: thea
(bootloader) secure: yes
(bootloader) hwrev: 0x8300
(bootloader) radio: 0x3
(bootloader) emmc: 8GB Toshiba REV=06 PRV=51 TYPE=17
(bootloader) ram: 1024MB Elpida S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8926
(bootloader) serialno: ZX1C2272TX
(bootloader) cid: 0x0007
(bootloader) channelid: 0x40
(bootloader) uid: C96B590915000000000000000000
(bootloader) unlocked: no
(bootloader) securestate: locked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 2
(bootloader) max-download-size: 536870912
(bootloader) reason: Fall-through from mot-charger boot mode
(bootloader) imei: 353310061467870
(bootloader) meid:
(bootloader) date: 04-28-2015
(bootloader) sku: XT1072
(bootloader) battid: SNN5956A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Fri Sep 16 3: 2:45 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/thea_reteu/thea:6.0/MPBS2
(bootloader) ro.build.fingerprint[1]: 4.65-34-5/6:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.201.5.thea_reteu.
(bootloader) ro.build.version.full[1]: reteuall.en.EU
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband:
(bootloader) kernel.version[0]: Linux version 3.4.42-g495dfd8 ([email protected]
(bootloader) kernel.version[1]: ilclbld71) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Sat Sep 10 01:48:29 CDT 2016
(bootloader) sdi.git: git=MBM-NG-V48.21-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.21-0-gbffe41a
(bootloader) rpm.git: git=MBM-NG-V48.21-0-gbe53f43
(bootloader) tz.git: git=MBM-NG-V48.21-0-g31cba28
(bootloader) aboot.git: git=MBM-NG-V48.21-0-gd8d8d9e
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1C2272TX
(bootloader) sutinfo:
(bootloader) ro.carrier: reteu
all: listed above
finished. total time: 0.105s
Do you have any suggestions to restore it?
Let me know if I can give you more information.
Thanks
Click to expand...
Click to collapse
Code:
(bootloader) ro.build.fingerprint[0]: motorola/thea_reteu/thea:6.0/MPBS2
(bootloader) ro.build.fingerprint[1]: 4.65-34-5/6:user/release-keys
This should be the correct firmware
https://mirrors-obs-2.lolinet.com/firmware/motorola/2015/thea/official/RETEU/
XT1072_THEA_RETEU_6.0_MPBS24.65-34-5_cid7_subsidy-DEFAULT_CFC.xml.zip
Try flashing
Code:
fastboot flash partition gpt.bin
fastboot reboot bootloader
Then flash the firmware using the flash_file.xml as reference.
sd_shadow said:
Code:
(bootloader) ro.build.fingerprint[0]: motorola/thea_reteu/thea:6.0/MPBS2
(bootloader) ro.build.fingerprint[1]: 4.65-34-5/6:user/release-keys
This should be the correct firmware
https://mirrors-obs-2.lolinet.com/firmware/motorola/2015/thea/official/RETEU/
XT1072_THEA_RETEU_6.0_MPBS24.65-34-5_cid7_subsidy-DEFAULT_CFC.xml.zip
Try flashing
Code:
fastboot flash partition gpt.bin
fastboot reboot bootloader
Then flash the firmware using the flash_file.xml as reference.
Click to expand...
Click to collapse
Thank you, it worked! So the problem was the wrong fw version and messing up gpt with random commands, right?
For a downgrade I can follow this one, right? https://forum.xda-developers.com/t/guide-flashing-motorola-firmware.4042039/post-84863341
enricocava said:
Thank you, it worked! So the problem was the wrong fw version and messing up gpt with random commands, right?
Click to expand...
Click to collapse
I believe so
enricocava said:
For a downgrade I can follow this one, right? https://forum.xda-developers.com/t/guide-flashing-motorola-firmware.4042039/post-84863341
Click to expand...
Click to collapse
Do not downgrade unless the bootloader says unlocked again.
If the bootloader is reported as unlocked again,
sure you should be able to downgrade the firmware.

Question Why I can´t flash anything

Hello, any ideas why I can´t flash anything via fastboot or rescue tool from Lenovo? I´m just fed up with navbar on clean android and ringtone volume on this device so i want to root with magisk and instal xposed to make the system more eyecatching and customised. At first, I tried to flash TWRP. Nothing, just some errors with partition. Ok, I tried root via magisk. Installed That tool fom lenovo to make sure i have latest firmware and have proper boot.img I need. Downloaded firmware, flash via that damn tool failed at circa 50%. Ok. So i downloaded firmware ready to flash via flashfile.bat, put device to fastboot, started flashfile.bat and get ton of errors. I need boot.img from firmware that is already installed, but can´t install anything. I have bootloader unlocked, when i was trying to flash twrp. Now, it is locked, but I don´t think it is needed for restore firmware via Lenovo rescue tool.
Any advice to get my Motorola rooted?
Running Firmware RRGS31.Q3-23-85-6
Thanks.
[email protected] said:
Hello, any ideas why I can´t flash anything via fastboot or rescue tool from Lenovo? I´m just fed up with navbar on clean android and ringtone volume on this device so i want to root with magisk and instal xposed to make the system more eyecatching and customised. At first, I tried to flash TWRP. Nothing, just some errors with partition. Ok, I tried root via magisk. Installed That tool fom lenovo to make sure i have latest firmware and have proper boot.img I need. Downloaded firmware, flash via that damn tool failed at circa 50%. Ok. So i downloaded firmware ready to flash via flashfile.bat, put device to fastboot, started flashfile.bat and get ton of errors. I need boot.img from firmware that is already installed, but can´t install anything. I have bootloader unlocked, when i was trying to flash twrp. Now, it is locked, but I don´t think it is needed for restore firmware via Lenovo rescue tool.
Any advice to get my Motorola rooted?
Running Firmware RRGS31.Q3-23-85-6
Thanks.
Click to expand...
Click to collapse
What does getvar all say? Remove imei before posting.
Code:
fastboot getvar all
sd_shadow said:
What does getvar all say? Remove imei before posting.
Code:
fastboot getvar all
Click to expand...
Click to collapse
getvar say this:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-berlin_global-ebfa575b6e-220118
(bootloader) product: berlin
(bootloader) board: berlin
(bootloader) secure: yes
(bootloader) hwrev: PVT2
(bootloader) radio: ROW
(bootloader) storage-type: UFS
(bootloader) emmc: N/A
(bootloader) ufs: 128GB MICRON MT128GASAO4U21 FV=0609 WB=2048
(bootloader) ram: 8GB MICRON LP4x DIE=32Gb M5-M8=FF 06 00 18
(bootloader) cpu: SM_KODIAK 1.0
(bootloader) serialno: ZY22DMMCVL
(bootloader) cid: 0x0032
(bootloader) channelid: 0x00
(bootloader) uid: E66E27A8
(bootloader) token: inactive
(bootloader) securestate: flashing_unlocked
(bootloader) factory-modes: disabled
(bootloader) verity-state: enforcing (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 805306368
(bootloader) reason: Volume down key pressed
(bootloader) imei:
(bootloader) imei2:
(bootloader) meid:
(bootloader) date: 10-22-2021
(bootloader) sku: XT2143-1
(bootloader) carrier_sku: XT2143-1
(bootloader) battid: SB18D10750
(bootloader) battery-voltage: 3791
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) poweroffalarm: 0
(bootloader) ro.carrier: reteu
(bootloader) ro.build.fingerprint[0]: motorola/berlin_globale/berlin:11/
(bootloader) ro.build.fingerprint[1]: RRGS31.Q3-23-85-6/9e84c:user/relea
(bootloader) ro.build.fingerprint[2]: se-keys
(bootloader) ro.build.version.qcom: LA.UM.9.14.r1-16900-LAHAINA.0
(bootloader) version-baseband[0]: M7325_HI411_38.448.01.62R BERLIN_PVT2_
(bootloader) version-baseband[1]: ROWDSDS_CUST
(bootloader) kernel.version[0]: Linux version 5.4.86-moto-gc7e09602fc4e
(bootloader) kernel.version[1]: ([email protected]) (Android (6877366
(bootloader) kernel.version[2]: based on r383902b1) clang version 11.0.
(bootloader) kernel.version[3]: 2 (https://android.googlesource.com/tool
(bootloader) kernel.version[4]: chain/llvm-project b397f81060ce6d701042b
(bootloader) kernel.version[5]: 782172ed13bee898b79), LLD 11.0.2 (https:
(bootloader) kernel.version[6]: //android.googlesource.com/toolchain/llv
(bootloader) kernel.version[7]: m-project b397f81060ce6d701042b782172ed1
(bootloader) kernel.version[8]: 3bee898b79)) #1 SMP PREEMPT Tue Jan 18 2
(bootloader) kernel.version[9]: 3:42:39 CST 2022
(bootloader) git:xbl: MBM-3.0-berlin_global-20f843033-220118
(bootloader) git:xbl_config: MBM-3.0-berlin_global-20f843033-220118
(bootloader) git:abl: MBM-3.0-berlin_global-ebfa575b6e-220118
(bootloader) git:aop: MBM-3.0-berlin_global-6a5a5db0-220118
(bootloader) git:tz: MBM-3.0-berlin_global-e10024e4-220118
(bootloader) git:hyp: MBM-3.0-berlin_global-e10024e4-220118
(bootloader) git:devcfg: MBM-3.0-berlin_global-e10024e4-220118
(bootloader) git:keymaster: MBM-3.0-berlin_global-c42bf031-dirty-220118
(bootloader) git:storsec: MBM-3.0-berlin_global-c42bf031-dirty-220118
(bootloader) git:uefisecapp: MBM-3.0-berlin_global-c42bf031-dirty-220118
(bootloader) gitrov: MBM-3.0-berlin_global-e10024e4-220118
(bootloader) git:qupfw: MBM-3.0-berlin_global-3cbaa86-220118
(bootloader) git:cpucp: MBM-3.0-berlin_global-3cbaa86-220118
(bootloader) git:shrm: MBM-3.0-berlin_global-20f843033-220118
(bootloader) frp-state: protected (77)
(bootloader) current-slot: b
(bootloader) running-bl-slot: _b/_b
(bootloader) running-boot-lun: 2
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: yes
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 6
(bootloader) logical-block-size: 0x1000
(bootloader) erase-block-size: 0x1000
(bootloader) is-userspace: no
(bootloader) pcb-part-no: SB28D10864
(bootloader) primary-display: csot_nt37701_1080x2400_667_dsc_cmd_v2
(bootloader) secondary-display: none
all: listed above
Finished. Total time: 0.312s
But yesterday I extracted boot.img from firmware downloaded via Lenovo rescue tool and patched it with magisk and root is done. Had some problems with EdXposed, so finnally installed LSposed (don´t like it) and everyhing what I wanted to be done is ok. Gpay don´t work. I can live without it...
Root is done, that´s fine, but on the other hand I´m little nervous because of not worknig fastboot flashing (and Lenovo rescue). So if I do something wrong, don´t know how to get back to stock...
The flashfile.bat needs to be scrubbed to work properly.
Here is the tool you'll need. You can also do it manually, but it's very boring and time consuming:
Make sure you have the Motorola USB drivers installed. ADB doesn't work properly without them:
Where can I download the USB drivers for my device?| Motorola Support US
Visit the customer support page to view user guides, FAQs, bluetooth pairing, software downloads, drivers, tutorials and to get repair and contact us information.Where can I download the USB drivers for my device?
motorola-global-portal.custhelp.com
I also recommend the Minimal ADB and fastboot program:
Download Minimal ADB and Fastboot Tool (all versions)
Download the latest version of Minimal ADB and Fastboot Tool which allow you to install and setup the ADB and Fastboot files on the computer.
androidmtk.com
When flashing your device, make sure you put the system files in the root of the Minimal ADB and Fastboot folder, and copy and paste the batch file in there too, and click on it to execute it. It should work just fine. Flashing the modified boot.img is very fiddly and odd. Try flashing it from different location on your computer: try flashing it directly from the desktop, from the C drive, D drive, put it in the ADB and Fastboot folder, anything you can. It should work. Also, I recommend that you connect the phone to your computer while it's booted into android, and run the "adb devices" command once, and checking the box to always allow your computer.
Good luck!
I'm very interested by the results. Don't hesitate to share!
Username: Required said:
The flashfile.bat needs to be scrubbed to work properly.
Here is the tool you'll need. You can also do it manually, but it's very boring and time consuming:
Make sure you have the Motorola USB drivers installed. ADB doesn't work properly without them:
Where can I download the USB drivers for my device?| Motorola Support US
Visit the customer support page to view user guides, FAQs, bluetooth pairing, software downloads, drivers, tutorials and to get repair and contact us information.Where can I download the USB drivers for my device?
motorola-global-portal.custhelp.com
I also recommend the Minimal ADB and fastboot program:
Download Minimal ADB and Fastboot Tool (all versions)
Download the latest version of Minimal ADB and Fastboot Tool which allow you to install and setup the ADB and Fastboot files on the computer.
androidmtk.com
When flashing your device, make sure you put the system files in the root of the Minimal ADB and Fastboot folder, and copy and paste the batch file in there too, and click on it to execute it. It should work just fine. Flashing the modified boot.img is very fiddly and odd. Try flashing it from different location on your computer: try flashing it directly from the desktop, from the C drive, D drive, put it in the ADB and Fastboot folder, anything you can. It should work. Also, I recommend that you connect the phone to your computer while it's booted into android, and run the "adb devices" command once, and checking the box to always allow your computer.
Good luck!
Click to expand...
Click to collapse
Thank you for your advice. I will definitely try this method in future to flash stock firmware. But now, device is rooted and what i need is working.

Categories

Resources