so here i am, after 2 days of scrutinizing every corner of the internet, looking for solution. i had my moto g6 on pie but out of curiosity i wanted try out different roms and here is what happened:
- after ive successfully unlocked the oem lock, installed twrp and tried to install different roms just to run into error 255 and such i gave up and thought **** it lets go back to original rom, so i fired up fastboot and put back oreo that i downloaded from here, the splashscreen however was still bearing the 'device has been unlocked and cant be trusted' message, so i thought i would put back the oem lock and then formatted the device... ooops and thats when i started having these problems.
- since then i cant install any rom - stock or mod (i was however successful in flashing twrp back on the phone)
- fastboot says FLASHING_LOCKED and having tried maybe 6 different stock roms i noticed that i can flash these two lines without problems:
./fastboot flash partition gpt.bin
./fastboot flash bootloader bootloader.img
but anything after that is giving me (bootloader) flash permission denied FAILED (remote failure) in powershell
so to sum it up: i can boot into fastboot or twrp but i cant do much anything else
ive seemed to exhaust every remote advice out there and really dont know what to do anymore
any of you guys could point me in the right direction? or is the phone done and done?
here is the fastboot var list
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) product: ali
(bootloader) board: ali
(bootloader) secure: yes
(bootloader) hwrev: PVT2
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 3GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=5F
(bootloader) cpu: SDM450
(bootloader) cid: 0x0032
(bootloader) channelid: 0x00
(bootloader) uid: 1A46B50700000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: UTAG "bootmode" configured as fastboot
(bootloader) meid:
(bootloader) date: 11-26-2018
(bootloader) sku: XT1925-4
(bootloader) carrier_sku: XT1925-4
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sun May 26 14: 4:32 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/ali_n/ali_n:8.0.0/OPS27.8
(bootloader) ro.build.fingerprint[1]: 2-19-4/a37fd:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.21.a37fd.ali.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-04400-89xx.0
(bootloader) version-baseband: M450_14.640.10.36R ALI_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g5870245 (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 Mar 9 11:12:11 CST 2018
(bootloader) sbl1.git: MBM-2.1-ali_retail-0d2031d-190306
(bootloader) rpm.git: MBM-2.1-ali_retail-576a4d4-190306
(bootloader) tz.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) devcfg.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) keymaster.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib64.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) prov.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) aboot.git: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retgb
(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
all: listed above
thx
Peter
You have locked bootloader you cant flash anything ....unlock it, flash rom (optionaly flash stock rom and lock booloader)
mybea you can try "fastboot flashing unlock"
najjannajS650 said:
You have locked bootloader you cant flash anything ....unlock it, flash rom (optionaly flash stock rom and lock booloader)
mybea you can try "fastboot flashing unlock"
Click to expand...
Click to collapse
thanks, i think ive already tried that already before,
here is a recap of what happens when i type in fastboot flashing unlock
- (bootloader) WARNING: This command erases all user data. (bootloader) Please re-run this command to continue.
- (bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer (bootloader) Options.
i dont have any rom installed so i cant get into developers options and allow OEM unlock
edited: and if i try ./fastboot oem unlock
i get
... (bootloader) invalid boot state
:crying:
nobody has solution to this? really????
delosanto said:
nobody has solution to this? really????
Click to expand...
Click to collapse
You don't need to unlock the bootloader to flash the stock firmware. The reason gpt.bin and the bootloader won't flash is because you're attempting to downgrade them. Flash everything in your firmware in order and if something fails to flash, then just skip it and go to the next item in line. It should still work.
Spaceminer said:
You don't need to unlock the bootloader to flash the stock firmware. The reason gpt.bin and the bootloader won't flash is because you're attempting to downgrade them. Flash everything in your firmware in order and if something fails to flash, then just skip it and go to the next item in line. It should still work.
Click to expand...
Click to collapse
thanks man but those two files are the only files that seem to flash.. the rest is giving flashing denied error
after digging around xda even more ive realized im in the same situation as the guy: https://forum.xda-developers.com/moto-x4/help/fastboot-flashinglocked-modified-t3872215
ive managed to brick it real good this time, quoting a nice chap who tried to help him: "You DID lock the keys... not so much in a car with bulletproof windows... but in a nuclear-resistant TANK"
im really sad at this point, i didnt even have the phone for a week and even being it a budget phone i really really liked it..
RIP moto g6 you were my first... bricked... phone :crying:
delosanto said:
thanks man but those two files are the only files that seem to flash.. the rest is giving flashing denied error
after digging around xda even more ive realized im in the same situation as the guy: https://forum.xda-developers.com/moto-x4/help/fastboot-flashinglocked-modified-t3872215
ive managed to brick it real good this time, quoting a nice chap who tried to help him: "You DID lock the keys... not so much in a car with bulletproof windows... but in a nuclear-resistant TANK"
im really sad at this point, i didnt even have the phone for a week and even being it a budget phone i really really liked it..
RIP moto g6 you were my first... bricked... phone :crying:
Click to expand...
Click to collapse
I don't think you're bricked just yet. From fastboot try the following commands;
fastboot oem fb_mode_set
fastboot format -w
fastboot erase userdata
fastboot erase cache
fastboot erase DRR
Then try flashing your firmware again. Also, something would help is running the command;
fastboot getvar all
And posting what that says. DO NOT include your MEID number. I don't need it and it should never be given out.
Spaceminer said:
I don't think you're bricked just yet. From fastboot try the following commands;
fastboot oem fb_mode_set
fastboot format -w
fastboot erase userdata
fastboot erase cache
fastboot erase DRR
Then try flashing your firmware again. Also, something would help is running the command;
fastboot getvar all
And posting what that says. DO NOT include your MEID number. I don't need it and it should never be given out.
Click to expand...
Click to collapse
ok, here goes nothing
fastboot oem fb_mode_set returns OKAY [ 0.002s] finished. total time: 0.003s
fastboot format -w returns fastboot: usage: expected argument
fastboot erase userdata returns (bootloader) Permission denied FAILED (remote failure) finished. total time: 0.004s
fastboot erase cache returns (bootloader) Permission denied FAILED (remote failure)
fastboot erase DRR returns (bootloader) Permission denied FAILED (remote failure)
getvarall info:
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) product: ali
(bootloader) board: ali
(bootloader) secure: yes
(bootloader) hwrev: PVT2
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 3GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=5F
(bootloader) cpu: SDM450
(bootloader) cid: 0x0032
(bootloader) channelid: 0x00
(bootloader) uid: 1A46B50700000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Fall-through from charger boot mode
(bootloader) date: 11-26-2018
(bootloader) sku: XT1925-4
(bootloader) carrier_sku: XT1925-4
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 22 19:25:37 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/ali_n/ali_n:8.0.0/OPS27.8
(bootloader) ro.build.fingerprint[1]: 2-19-4/a37fd:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.21.a37fd.ali.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-04400-89xx.0
(bootloader) version-baseband: M450_14.640.10.36R ALI_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g5870245 (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 Mar 9 11:12:11 CST 2018
(bootloader) sbl1.git: MBM-2.1-ali_retail-0d2031d-190306
(bootloader) rpm.git: MBM-2.1-ali_retail-576a4d4-190306
(bootloader) tz.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) devcfg.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) keymaster.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib64.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) prov.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) aboot.git: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retgb
(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
all: listed above
delosanto said:
ok, here goes nothing
fastboot oem fb_mode_set returns OKAY [ 0.002s] finished. total time: 0.003s
fastboot format -w returns fastboot: usage: expected argument
fastboot erase userdata returns (bootloader) Permission denied FAILED (remote failure) finished. total time: 0.004s
fastboot erase cache returns (bootloader) Permission denied FAILED (remote failure)
fastboot erase DRR returns (bootloader) Permission denied FAILED (remote failure)
getvarall info:
(bootloader) version: 0.5
(bootloader) version-bootloader: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) product: ali
(bootloader) board: ali
(bootloader) secure: yes
(bootloader) hwrev: PVT2
(bootloader) radio: 4
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5
(bootloader) ram: 3GB SKHYNIX LP3 DIE=8Gb M5=06 M6=04 M7=00 M8=5F
(bootloader) cpu: SDM450
(bootloader) cid: 0x0032
(bootloader) channelid: 0x00
(bootloader) uid: 1A46B50700000000000000000000
(bootloader) securestate: flashing_locked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Fall-through from charger boot mode
(bootloader) date: 11-26-2018
(bootloader) sku: XT1925-4
(bootloader) carrier_sku: XT1925-4
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 22 19:25:37 UTC 2019"
(bootloader) ro.build.fingerprint[0]: motorola/ali_n/ali_n:8.0.0/OPS27.8
(bootloader) ro.build.fingerprint[1]: 2-19-4/a37fd:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.21.a37fd.ali.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-04400-89xx.0
(bootloader) version-baseband: M450_14.640.10.36R ALI_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g5870245 (hud
(bootloader) kernel.version[1]: son[email protected]) (gcc version 4.9.x 2015
(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Fri Mar 9 11:12:11 CST 2018
(bootloader) sbl1.git: MBM-2.1-ali_retail-0d2031d-190306
(bootloader) rpm.git: MBM-2.1-ali_retail-576a4d4-190306
(bootloader) tz.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) devcfg.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) keymaster.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) cmnlib64.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) prov.git: MBM-2.1-ali_retail-4636043-190306
(bootloader) aboot.git: MBM-2.1-ali_retail-e4c1135-190306
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retgb
(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
all: listed above
Click to expand...
Click to collapse
What country are you in? You have a software mismatch going on. It says your carrier is RETGB which is Great Britain, but your Blur version is saying Retail US.
Spaceminer said:
What country are you in? You have a software mismatch going on. It says your carrier is RETGB which is Great Britain, but your Blur version is saying Retail US.
Click to expand...
Click to collapse
im in the uk, please dont say there is still hope
delosanto said:
im in the uk, please dont say there is still hope
Click to expand...
Click to collapse
Yes there is! I think you need this firmware. https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
If that doesn't work, try this one.
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Special note: Do not use any scripts, batch files, or rsdlite to flash it. Use adb/fastboot and enter everything manually. Read the flash file carefully, and be sure to use the command fastboot oem fb_mode_set before starting, and when you finish flashing, enter the commands, fastboot oem fb_mode_clear then fastboot reboot after. Wait and it should start to encrypt then reboot and finish encrypting.
Spaceminer said:
Yes there is! I think you need this firmware. https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
If that doesn't work, try this one.
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Special note: Do not use any scripts, batch files, or rsdlite to flash it. Use adb/fastboot and enter everything manually. Read the flash file carefully, and be sure to use the command fastboot oem fb_mode_set before starting, and when you finish flashing, enter the commands, fastboot oem fb_mode_clear then fastboot reboot after. Wait and it should start to encrypt then reboot and finish encrypting.
Click to expand...
Click to collapse
i did exactly as you said, getting the same results as before
the first two files gpt and bootloader seem to flash fine but the rest is giving me the same error (bootloader) flash permission denied FAILED (remote failure)
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot oem fb_mode_set
...
OKAY [ 0.003s]
finished. total time: 0.003s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.078s]
finished. total time: 0.078s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.212s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.417s]
finished. total time: 0.630s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (62664 KB)...
OKAY [ 1.660s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 1.665s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (7972 KB)...
OKAY [ 0.219s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.219s
i tried to flashed the files exactly in the order they appear in .info file
./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 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 system system.img_sparsechunk.7
./fastboot flash system system.img_sparsechunk.8
./fastboot flash system system.img_sparsechunk.9
./fastboot flash vendor vendor.img_sparsechunk.0
./fastboot flash vendor vendor.img_sparsechunk.1
./fastboot flash oem oem.img
./fastboot erase cache
./fastboot erase userdata
./fastboot erase ddr
./fastboot oem fb_mode_clear
./fastboot reboot
delosanto said:
i did exactly as you said, getting the same results as before
the first two files gpt and bootloader seem to flash fine but the rest is giving me the same error (bootloader) flash permission denied FAILED (remote failure)
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot oem fb_mode_set
...
OKAY [ 0.003s]
finished. total time: 0.003s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.078s]
finished. total time: 0.078s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.212s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.417s]
finished. total time: 0.630s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (62664 KB)...
OKAY [ 1.660s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 1.665s
PS C:\Users\okratio\Desktop\platform-tools> ./fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (7972 KB)...
OKAY [ 0.219s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.219s
Click to expand...
Click to collapse
It looks like you have the correct firmware. If you didn't then the bootloader shouldn't be able to flash. You aren't being blocked by frp either, so that's not the problem. I'll do some research and see if I can find a way to fix this. It should allow you to flash stock firmware since it's signed by Motorola. This is a tough one.
If you're using Windows and have not tried this already, try opening the command prompt with administrator privileges. If you happen to be using Windows 10, make sure that you're using the older cmd and not powershell. If you have not tried using a different usb port, this might be worth a shot. I'd try ports that are directly connected to the motherboard. Try USB 2.0 and 3.0 if you have both. Also be sure to use the original USB cord that it came with if you have it. I'll see what I can dig up in the meantime.
---------- Post added at 07:09 PM ---------- Previous post was at 06:57 PM ----------
@delosanto
Are you able to boot or flash twrp?
Spaceminer said:
It looks like you have the correct firmware. If you didn't then the bootloader shouldn't be able to flash. You aren't being blocked by frp either, so that's not the problem. I'll do some research and see if I can find a way to fix this. It should allow you to flash stock firmware since it's signed by Motorola. This is a tough one.
If you're using Windows and have not tried this already, try opening the command prompt with administrator privileges. If you happen to be using Windows 10, make sure that you're using the older cmd and not powershell. If you have not tried using a different usb port, this might be worth a shot. I'd try ports that are directly connected to the motherboard. Try USB 2.0 and 3.0 if you have both. Also be sure to use the original USB cord that it came with if you have it. I'll see what I can dig up in the meantime.
Click to expand...
Click to collapse
thank you! i think i must have read and tried everything there is out there trying to bring the poor little fella back to life.. ive tried different ports, methods, ROMs, different cables, tomorrow im gonna try what youre suggesting - the older cmd but i doubt it will make any difference, since i was able to flash and re-flash this phone just fine before i somehow managed to **** up the oem lock with no possibility to unlock it since there is no OS.
yes, im able to totally erase twrp (pic of android with red triangle and NO COMMAND) and then bring it back by booting twrp and consequently flashing twrp so it's there back under recovery mode
Spaceminer said:
Yes there is! I think you need this firmware. https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
If that doesn't work, try this one.
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Special note: Do not use any scripts, batch files, or rsdlite to flash it. Use adb/fastboot and enter everything manually. Read the flash file carefully, and be sure to use the command fastboot oem fb_mode_set before starting, and when you finish flashing, enter the commands, fastboot oem fb_mode_clear then fastboot reboot after. Wait and it should start to encrypt then reboot and finish encrypting.
Click to expand...
Click to collapse
I haven't seen the encrypting screen on Pie... I've only seen it on Oreo.
Ragarianok said:
I haven't seen the encrypting screen on Pie... I've only seen it on Oreo.
Click to expand...
Click to collapse
the last OS that was successfully flashed was Oreo
delosanto said:
the last OS that was successfully flashed was Oreo
Click to expand...
Click to collapse
I'm not sure if I was reading that correctly, but are you able to boot twrp? If so, try formatting /data and running fix permissions. If you can only boot the stock recovery (red triangle), try factory resetting. You can pull up the menu in stock recovery by pressing Power+Volume Up at the "no command" screen. If you can reset the phone through either method, then try flashing the firmware again. Maybe a stupid question, but have you tried flashing the last Oreo RETGB xt1925-4 firmware already? (There's a few different RETGB firmwares.)
Spaceminer said:
I'm not sure if I was reading that correctly, but are you able to boot twrp? If so, try formatting /data and running fix permissions. If you can only boot the stock recovery (red triangle), try factory resetting. You can pull up the menu in stock recovery by pressing Power+Volume Up at the "no command" screen. If you can reset the phone through either method, then try flashing the firmware again. Maybe a stupid question, but have you tried flashing the last Oreo RETGB xt1925-4 firmware already? (There's a few different RETGB firmwares.)
Click to expand...
Click to collapse
twrp runs fine, what i cant get rid of is the flashing_locked message in fastboot..
this i think prevents flashing ANYTHING onto the phone except two files:
./fastboot flash partition gpt.bin
./fastboot flash bootloader bootloader.img
flashing any other file returns permission denied
and ive tried at least 6 different roms
delosanto said:
twrp runs fine, what i cant get rid of is the flashing_locked message in fastboot..
this i think prevents flashing ANYTHING onto the phone except two files:
./fastboot flash partition gpt.bin
./fastboot flash bootloader bootloader.img
flashing any other file returns permission denied
and ive tried at least 6 different roms
Click to expand...
Click to collapse
Try flashing this boot.img in fastboot. If it fails, try using TWRP.
Spaceminer said:
Try flashing this boot.img in fastboot. If it fails, try using TWRP.
Click to expand...
Click to collapse
but when i try to flash the stock rom, again i get past the first two files gpt.bin and bootloader.bit but the rest is giving me the same error
(bootloader) flash permission denied
FAILED (remote failure)
but then it crashes back to fastboot
and i even did a clean windows installation today
Related
Hello, Thank you for assist !!
I got a MOTO G 2nd Generation, with bootloader unlocked, it starts only in Fastboot mode.
Do not enter the recovery, I tried many times, only displayed for several seconds on the screen "Warning Bootloader Unlocked" and returns to fastboot mode.
Equipment details:
C:\Minimal ADB and Fastboot>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: editado
(bootloader) cid: 0x0007
(bootloader) channelid: 0x40
(bootloader) uid: Editado
(bootloader) unlocked: yes
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "bootmode" configured as fastboot
(bootloader) imei: editado
(bootloader) meid:
(bootloader) date: 04-01-2015
(bootloader) sku: XT1072
(bootloader) battid: SNN5956A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat May 9 0:36:35 UTC 2015"
(bootloader) ro.build.fingerprint[0]: motorola/thea_reteu/thea:5.0.2/LXB
(bootloader) ro.build.fingerprint[1]: 22.99-24.12/11:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.22.46.12.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: M8926_309101.02.03.17R THEA_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-gf18cb80 ([email protected]
(bootloader) kernel.version[1]: ilclbld52) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Tue Aug 18 18:25:55 CDT 2015
(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: ZX1C226PVH
(bootloader) sutinfo:
(bootloader) ro.carrier: reteu
all: listed above
finished. total time: 0.066s
Flash with stock ROM:
RETEU_XT1072_5.0.2_LXB22.99-24.12_cid7_subsidy-DEFAULT_CFC.xml.zip
Also with this:
RETEUALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml.zip
I did it with fastboot and mfastboot and got the following errors:
fastboot flash partition gpt.bin
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash motoboot motoboot.img OK
fastboot flash logo logo.bin OK
fastboot flash boot boot.img OK
fastboot flash recovery recovery.img OK
fastboot flash system system.img_sparsechunk.0
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.1
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.2
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.3
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.4
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.5
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash modem NON-HLOS.bin OK
fastboot erase modemst1 OK
fastboot erase modemst2 OK
fastboot flash fsg fsg.mbn OK
fastboot erase cache OK
fastboot erase userdata OK
fastboot reboot OK
Appreciate much any suggestions.
figaro972 said:
Hello, Thank you for assist !!
I got a MOTO G 2nd Generation, with bootloader unlocked, it starts only in Fastboot mode.
Do not enter the recovery, I tried many times, only displayed for several seconds on the screen "Warning Bootloader Unlocked" and returns to fastboot mode.
Equipment details:
C:\Minimal ADB and Fastboot>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: editado
(bootloader) cid: 0x0007
(bootloader) channelid: 0x40
(bootloader) uid: Editado
(bootloader) unlocked: yes
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG "bootmode" configured as fastboot
(bootloader) imei: editado
(bootloader) meid:
(bootloader) date: 04-01-2015
(bootloader) sku: XT1072
(bootloader) battid: SNN5956A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat May 9 0:36:35 UTC 2015"
(bootloader) ro.build.fingerprint[0]: motorola/thea_reteu/thea:5.0.2/LXB
(bootloader) ro.build.fingerprint[1]: 22.99-24.12/11:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.22.46.12.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: M8926_309101.02.03.17R THEA_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-gf18cb80 ([email protected]
(bootloader) kernel.version[1]: ilclbld52) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Tue Aug 18 18:25:55 CDT 2015
(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: ZX1C226PVH
(bootloader) sutinfo:
(bootloader) ro.carrier: reteu
all: listed above
finished. total time: 0.066s
Flash with stock ROM:
RETEU_XT1072_5.0.2_LXB22.99-24.12_cid7_subsidy-DEFAULT_CFC.xml.zip
Also with this:
RETEUALL_XT1072_5.0.2_LXB22.46-28_cid7_subsidy-DEFAULT_CFC.xml.zip
I did it with fastboot and mfastboot and got the following errors:
fastboot flash partition gpt.bin
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash motoboot motoboot.img OK
fastboot flash logo logo.bin OK
fastboot flash boot boot.img OK
fastboot flash recovery recovery.img OK
fastboot flash system system.img_sparsechunk.0
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.1
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.2
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.3
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.4
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash system system.img_sparsechunk.5
(bootloader) Preflash validation failed
FAILED (remote failure)
fastboot flash modem NON-HLOS.bin OK
fastboot erase modemst1 OK
fastboot erase modemst2 OK
fastboot flash fsg fsg.mbn OK
fastboot erase cache OK
fastboot erase userdata OK
fastboot reboot OK
Appreciate much any suggestions.
Click to expand...
Click to collapse
Try to flash TWRP for Thea from fastboot and restart to recovery. Flash a CyanogenMod firmware once you get there. >If it didn't work, tell me every detail. I have CM13 20160404 nightly, Pico OpenGapps and TWRP 3.0.2-0 if you want my base. Edit: Avoid touching "motoboot.img" unless really necessary. It contains the device's bootloader, and a bad flash will result in a hard brick.
Use:
fastboot flash recovery twrp-3.0.2-0-thea.img
fastboot reboot recovery
While trying to reboot to recovery, remember to use the volume keys or TWRP will be overwritten. I also see you have problems with GPT.bin, and that's a possibility of hardware damage...
#3
Thanks for answering: :laugh:
I have already tried the procedure described:
Flash only:
fastboot flash recovery twrp-3.0.2-0-thea.img
fastboot reboot recovery
Upon restart, I hold down the volume- key.
Immediately enters the fastboot mode.
Loose Volume- button.
With the key volume-, i positioned itself in the recovery option.
select with Volume+.
Upon restart, only it displayed for several seconds in the "Warning bootloader unlocked" screen and returns to fastboot mode.
And in fact I have tried with at least six versions of gpt.bin file, And with all:
(bootloader) Preflash validation failed
FAILED (remote failure)
:crying:
Thanks again.
Hi guys, this happen to me exactly in the same way.
evererything start with a problem with Android then a flash it.
but give me the same problem:
"(bootloader) Preflash validation failed
FAILED (remote failure)"
after that start only in fastboot and say "UTAG 'bootmode' configured as fastboot."
in fact, i was flash twrp-3.0.2-0-peregrine.img
and when i want to enter to the recovery send me back to fastboot and
say "[Red="Red"]Boot up failed[/COLOR]"
Some idea about what can i do? :crying:
in any case thank you.
try to unlock another time the bootloader
Are you sure your bootloader is properly unlocked?
---------- Post added at 05:28 PM ---------- Previous post was at 05:05 PM ----------
Pattox said:
Hi guys, this happen to me exactly in the same way.
everything starts with a problem with Android then a flash it.
but it gives me the same problem:
"(bootloader) Preflash validation failed
FAILED (remote failure)"
after that the device starts only in fastboot and says "UTAG 'bootmode' configured as fastboot."
in fact, i was flash twrp-3.0.2-0-peregrine.img
and when i want to enter to the recovery send me back to fastboot and
say "[Red="Red"]Boot up failed[/COLOR]"
Some idea about what can i do? :crying:
in any case thank you.
Click to expand...
Click to collapse
Are you rooted?
Did you unlock your bootloader?
If the bootloader is not unlocked try to flash a common firmware (I used to have 5.0.2 retLA before unlock and CyanogenMod).
Hey guys, to me see if you could help me have a xt1063 on and stays stuck on the logo warning unlocked, I can get into fastboot mode but not the recovery, when I enter recovery out a picture of andy with this sign! No commands, then there, fix 5sec power and volume up and enters the recovery of android but when trying to reset factory tells me an error message!
Android Recovery
motorola/tita_retuglb/titan_umts
6.0/MPB24.65-34/29
user/release-keys
Code:
Formatting /data
E:
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/userdata failed
Formatting /cache
E:
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/cache failed
Code:
type mfastboot -w
C:\Users\ngarcia\Desktop\fast\mfastboot-v2>mfastboot -w
erasing 'userdata'...
OKAY [ 0.020s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.030s]
erasing 'cache'...
OKAY [ 0.040s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.040s]
finished. total time: 0.130s
Code:
mfastboot getvar all
C:\Users\ngarcia\Desktop\fast\mfastboot-v2>mfastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 4886
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x1
(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17
(bootloader) ram: 1024MB Elpida S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D322BFG
(bootloader) cid: 0x0009
(bootloader) channelid: 0x8d
(bootloader) uid: 438B6B040F000000000000000000
(bootloader) unlocked: yes
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 359297050307452
(bootloader) meid:
(bootloader) date: 08-27-2014
(bootloader) sku: XT1063
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Fri Mar 11 21:49:10 UTC 2016"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retuglb/titan_umts:
(bootloader) ro.build.fingerprint[1]: 6.0/MPB24.65-34/29:user/release-ke
(bootloader) ro.build.fingerprint[2]: ys
(bootloader) ro.build.version.full[0]: Blur_Version.24.41.34.titan_retug
(bootloader) ro.build.version.full[1]: lb.retuglb.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]: MSM8626BP_1032.3116.99.00R RETUSA_GLB_
(bootloader) version-baseband[1]: CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-gef77327 ([email protected]
(bootloader) kernel.version[1]: ilclbld53) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Wed Jan 6 16:52:48 CST 2016
(bootloader) sdi.git: git=MBM-NG-V48.86-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.86-0-g9e1afac
(bootloader) rpm.git: git=MBM-NG-V48.86-0-gbe53f43
(bootloader) tz.git: git=MBM-NG-V48.86-0-g31cba28
(bootloader) aboot.git: git=MBM-NG-V48.86-0-g54975c4
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 0/0
(bootloader) productid: ZX1D322BFG
(bootloader) sutinfo:
(bootloader) ro.carrier: retus
all: listed above
finished. total time: 0.071s
C:\Users\ngarcia\Desktop\fast\mfastboot-v2>
The recovery you are using is stock one...try using twrp recovery just flash via fastboot....also u need to unlock your bootloader first use this https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a to unlock ur bootloader then just download the flashable file for twrp moto g2014 nd jst flash using fastboot
bootloader is unlocked
[email protected] said:
The recovery you are using is stock one...try using twrp recovery just flash via fastboot....also u need to unlock your bootloader first use this https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a to unlock ur bootloader then just download the flashable file for twrp moto g2014 nd jst flash using fastboot
Click to expand...
Click to collapse
Bootloader is unlocked
nelgarciac said:
Bootloader is unlocked
Click to expand...
Click to collapse
Then you just flashing twrp using fastboot
Sent from my Moto G 2014 using XDA Labs
[email protected] said:
Then you just flashing twrp using fastboot
Sent from my Moto G 2014 using XDA Labs
Click to expand...
Click to collapse
I've done it but then nothing happens as if not installed
Code:
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>fastboot flash recovery recovery.im
g
target reported max download size of 536870912 bytes
sending 'recovery' (8092 KB)...
OKAY [ 0.281s]
writing 'recovery'...
OKAY [ 0.167s]
finished. total time: 0.452s
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>
Code:
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>fastboot -w
erasing 'userdata'...
OKAY [ 0.020s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.017s]
erasing 'cache'...
OKAY [ 0.024s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
File system type raw not supported.
OKAY [ 0.021s]
finished. total time: 0.087s
C:\Users\ngarcia\Desktop\Moto g\adb+fastboot>
Team Stockpiling this How reading alone will not let me or write ELIMINATE anything , so when I installed the TWRP recovery by not install , like when I start flashing and fastboot boot recovery.img enters the recovery but It does not perform the deletion , and even I can also enter the internal storage from the pc and from the recovery but not eliminate anything
Hi friends,
I have a new Moto X4 1900-1 that I picked up several weeks ago (standard unlocked version, not Amazon), been working beautifully. Stock aside from magisk flashed/bootloader unlocked, still on stock ROM w/stock recovery.
Been having unrelated hardware trouble with it lately, and was trying to restore it to factory settings prior to sending it in for warranty work...but I fear I've bricked it somehow.
Steps taken:
USB debugging disabled in dev settings
OEM unlock disabled in dev settings
Developer options switched off in dev settings
Magisk completely uninstalled within app
Device rebooted via magisk uninstall
On device reboot, I've got the dreaded "Your device is corrupt. It can't be trusted and will not boot." screen, as if the system is still somehow modified. So, I'm now in a state where the bootloader is locked, but the phone won't boot, not even to recovery.
On trying to boot it to TWRP from fastboot, I get the same "Device is corrupt" screen, and if I try to flash partitions (boot, recovery), I get a "(bootloader) flash permission denied" message. I'm unable to unlock the bootloader again via fastboot oem unlock (unlock code) or fastboot flashing unlock, both of which give me this message: "(bootloader) Check 'OEM unlocking' in Android Settings > Developer Options".
I really did like this phone when it was working, which was for all of a couple weeks. I backed up what I needed before starting all of this, so I don't care about data loss, just want to restore it to factory fresh.
taloras said:
Hi friends,
I have a new Moto X4 1900-1 that I picked up several weeks ago (standard unlocked version, not Amazon), been working beautifully. Stock aside from magisk flashed/bootloader unlocked, still on stock ROM w/stock recovery.
Been having unrelated hardware trouble with it lately, and was trying to restore it to factory settings prior to sending it in for warranty work...but I fear I've bricked it somehow.
Steps taken:
USB debugging disabled in dev settings
OEM unlock disabled in dev settings
Developer options switched off in dev settings
Magisk completely uninstalled within app
Device rebooted via magisk uninstall
On device reboot, I've got the dreaded "Your device is corrupt. It can't be trusted and will not boot." screen, as if the system is still somehow modified. So, I'm now in a state where the bootloader is locked, but the phone won't boot, not even to recovery.
On trying to boot it to TWRP from fastboot, I get the same "Device is corrupt" screen, and if I try to flash partitions (boot, recovery), I get a "(bootloader) flash permission denied" message. I'm unable to unlock the bootloader again via fastboot oem unlock (unlock code) or fastboot flashing unlock, both of which give me this message: "(bootloader) Check 'OEM unlocking' in Android Settings > Developer Options".
I really did like this phone when it was working, which was for all of a couple weeks. I backed up what I needed before starting all of this, so I don't care about data loss, just want to restore it to factory fresh.
Click to expand...
Click to collapse
fastboot flash your factory FW
bcrichster said:
fastboot flash your factory FW
Click to expand...
Click to collapse
That's a negative, ghost rider.
https://forum.xda-developers.com/moto-x4/how-to/guide-how-to-flash-official-factory-t3808348 on following this guide, downloading/extracting the stock image and using the included batch file to flash all, every partition tried returns the following error in Fastboot:
sending 'x'
writing (x)
(bootloader) flash permission denied
FAILED (remote failure)
taloras said:
That's a negative, ghost rider.
https://forum.xda-developers.com/moto-x4/how-to/guide-how-to-flash-official-factory-t3808348 on following this guide, downloading/extracting the stock image and using the included batch file to flash all, every partition tried returns the following error in Fastboot:
sending 'x'
writing (x)
(bootloader) flash permission denied
FAILED (remote failure)
Click to expand...
Click to collapse
Try without Window's batch file thing..?? The new FW may have files of a different name that the cmds may need adjusting for..
Sent from my Moto E (4) Plus using Tapatalk
bcrichster said:
Try without Window's batch file thing..?? The new FW may have files of a different name that the cmds may need adjusting for..
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
No joy. The batch file starts with "fastboot flash partition gpt.bin" (which works), but the next one, "fastboot flash bootloader bootloader.img" fails thusly:
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.218s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.272s
taloras said:
No joy. The batch file starts with "fastboot flash partition gpt.bin" (which works), but the next one, "fastboot flash bootloader bootloader.img" fails thusly:
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.218s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.272s
Click to expand...
Click to collapse
Can you post a screenshot of the file listing of extracted FW? I'd like to do a file-name comparison, maybe helpful
Sent from my Moto E (4) Plus using Tapatalk
bcrichster said:
Can you post a screenshot of the file listing of extracted FW? I'd like to do a file-name comparison, maybe helpful
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
Firmware download: PAYTON_OPW28.46-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Files:
boot.img
bootloader.img
BTFM.bin
dspso.bin
flashfile.xml
fsg.mbn
gpt.bin
logo.bin
NON-HLOS.bin
oem.img
PAYTON_OPW28.46-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info.txt
regulatory_info_default.png
servicefile.xml
slcf_rev_d_default_v1.0.nvm
system.img_sparsechunk.0
system.img_sparsechunk.1
system.img_sparsechunk.2
system.img_sparsechunk.3
system.img_sparsechunk.4
system.img_sparsechunk.5
system.img_sparsechunk.6
system.img_sparsechunk.7
system_other.img
Strange.. I usually just use Linux & add "sudo" to the beginning of flash cmd for perms issues. They may have changed something else, somewhere
Sent from my Moto E (4) Plus using Tapatalk
bcrichster said:
Strange.. I usually just use Linux & add "sudo" to the beginning of flash cmd for perms issues. They may have changed something else, somewhere
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
Let me try this from Linux, then. Though, this does seem to be a permissions issue being squawked back at me from Fastboot and not from Windows...
Definitely not a Windows problem.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
taloras said:
Definitely not a Windows problem.
Click to expand...
Click to collapse
Any possibility there isn't a bootloader partition or maybe it has different name..??
Sent from my Moto E (4) Plus using Tapatalk
Do you remember your latest installed rom? The bootloader you want to flash has to be newer or at least the same, furthermore you can try it on a older machine with USB 2.0 ports, I had the same problem with "permission denied" on USB 3.0/3.1 ports and new mainboards
bcrichster said:
Any possibility there isn't a bootloader partition or maybe it has different name..??
Sent from my Moto E (4) Plus using Tapatalk
Click to expand...
Click to collapse
How can I check for partitions from Fastboot? As I can't even boot to recovery, I'm limited in what I can do to fastboot commands, which unfortunately doesn't include any adb shell use.
Zokhii said:
Do you remember your latest installed rom? The bootloader you want to flash has to be newer or at least the same, furthermore you can try it on a older machine with USB 2.0 ports, I had the same problem with "permission denied" on USB 3.0/3.1 ports and new mainboards
Click to expand...
Click to collapse
I've never touched the ROMS on the device beyond what it came with out of the box, it's using whatever the latest October OTA version is (there was an 11/1 OTA update which I saw a notification for but didn't apply).
fastboot getvar all gives me the following:
Code:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-uefi-2d29a27-181010
(bootloader) product: payton
(bootloader) board: payton
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: NA
(bootloader) storage-type: eMMC
(bootloader) emmc: 32GB MICRON S0J97Y RV=08 PV=10 FV=4E5630304D483333
(bootloader) ufs: N/A
(bootloader) ram: 3GB MICRON LP4 DIE=12Gb M5=FF M6=02 M7=10 M8=0C
(bootloader) cpu: SDM630 1.0 (2)
(bootloader) serialno: ZY2257LBZP
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: 662200ED
(bootloader) securestate: flashing_locked
(bootloader) verity-state: logging (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: xxxxxxxxxxxx
(bootloader) meid:
(bootloader) date: 09-19-2018
(bootloader) sku: XT1900-1
(bootloader) carrier_sku: XT1900-1
(bootloader) battid: SNN5994A
(bootloader) battery-voltage: 4284
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:8.1.0/OPWS2
(bootloader) ro.build.fingerprint[1]: 8.46-21-15/ec37:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.261.23.payton.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.4.r1-06900-8x98.0
(bootloader) version-baseband: M660_7042.27.01.74.02R PAYTON_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.4.78-perf-gf993b65 (huds
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 20150
(bootloader) kernel.version[2]: 123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Wed Oct 10 02:52:24 CDT 2018
(bootloader) git:abl: MBM-3.0-uefi-2d29a27-181010
(bootloader) git:xbl: MBM-3.0-uefi-455afa3-181010
(bootloader) git:pmic: MBM-3.0-uefi-455afa3-181010
(bootloader) git:rpm: MBM-3.0-uefi-f14962c-181010
(bootloader) git:tz: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:hyp: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:devcfg: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib64: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:keymaster: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:prov: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:storsec: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retus
(bootloader) current-slot: _a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 5
(bootloader) slot-retry-count:_b: 0
all: listed above
28.261.23 and 8.46-21-15 look sort of like build numbers; that plus a pretty recent Oct 10th kernel build date leads me to think I'm looking for a 28.46-21-15 or later firmware download, which I'll try to track down. Know of anywhere I could find firmwares that recent?
I have an older desktop with a bunch of usb 2.0 ports on it, I'll give that a whirl too.
taloras said:
I've never touched the ROMS on the device beyond what it came with out of the box, it's using whatever the latest October OTA version is (there was an 11/1 OTA update which I saw a notification for but didn't apply).
fastboot getvar all gives me the following:
Code:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-uefi-2d29a27-181010
(bootloader) product: payton
(bootloader) board: payton
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: NA
(bootloader) storage-type: eMMC
(bootloader) emmc: 32GB MICRON S0J97Y RV=08 PV=10 FV=4E5630304D483333
(bootloader) ufs: N/A
(bootloader) ram: 3GB MICRON LP4 DIE=12Gb M5=FF M6=02 M7=10 M8=0C
(bootloader) cpu: SDM630 1.0 (2)
(bootloader) serialno: ZY2257LBZP
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: 662200ED
(bootloader) securestate: flashing_locked
(bootloader) verity-state: logging (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: xxxxxxxxxxxx
(bootloader) meid:
(bootloader) date: 09-19-2018
(bootloader) sku: XT1900-1
(bootloader) carrier_sku: XT1900-1
(bootloader) battid: SNN5994A
(bootloader) battery-voltage: 4284
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:8.1.0/OPWS2
(bootloader) ro.build.fingerprint[1]: 8.46-21-15/ec37:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.261.23.payton.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.4.r1-06900-8x98.0
(bootloader) version-baseband: M660_7042.27.01.74.02R PAYTON_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.4.78-perf-gf993b65 (huds
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 20150
(bootloader) kernel.version[2]: 123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Wed Oct 10 02:52:24 CDT 2018
(bootloader) git:abl: MBM-3.0-uefi-2d29a27-181010
(bootloader) git:xbl: MBM-3.0-uefi-455afa3-181010
(bootloader) git:pmic: MBM-3.0-uefi-455afa3-181010
(bootloader) git:rpm: MBM-3.0-uefi-f14962c-181010
(bootloader) git:tz: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:hyp: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:devcfg: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:cmnlib64: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:keymaster: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:prov: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) git:storsec: MBM-3.0-uefi-9a58d2e-dirty-181010
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retus
(bootloader) current-slot: _a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 5
(bootloader) slot-retry-count:_b: 0
all: listed above
28.261.23 and 8.46-21-15 look sort of like build numbers; that plus a pretty recent Oct 10th kernel build date leads me to think I'm looking for a 28.46-21-15 or later firmware download, which I'll try to track down. Know of anywhere I could find firmwares that recent?
I have an older desktop with a bunch of usb 2.0 ports on it, I'll give that a whirl too.
Click to expand...
Click to collapse
Firmwares can be found here (but unfortunately I can't find a 28.46-21-15 build):
https://mirrors.lolinet.com/firmware/moto/payton/official/RETAIL/
https://androidfilehost.com/?w=files&flid=229118&sort_by=date&sort_dir=DESC (official motorola account)
Use these commands:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
If you get an error with something like "partition not found", change the "fastboot flash modem NON-HLOS.bin" command to "fastboot flash modem_a NON-HLOS.bin" for all commands where you get this error.
Zokhii said:
Firmwares can be found here:
https://mirrors.lolinet.com/firmware/moto/payton/official/RETAIL/
https://androidfilehost.com/?w=files&flid=229118&sort_by=date&sort_dir=DESC (official motorola account)
Hmm but unfortunately I can't find a 28.46-21-15 build...
Click to expand...
Click to collapse
Yeah, the most recent I see is 21-12, with a 10-09 upload date on androidfilehost (earlier than the kernel build date of whatever firmware I'm currently running). Might have to wait a few days until some kind soul uploads something more recent. I'll try this one on that other PC, just to dot my Is and cross my Ts.
taloras said:
Yeah, the most recent I see is 21-12, with a 10-09 upload date on androidfilehost (earlier than the kernel build date of whatever firmware I'm currently running). Might have to wait a few days until some kind soul uploads something more recent. I'll try this one on that other PC, just to dot my Is and cross my Ts.
Click to expand...
Click to collapse
Good luck man, I hope it works
Zokhii said:
Good luck man, I hope it works
Click to expand...
Click to collapse
No luck. flash partition gpt.bin works, but flashing anything after that fails with either "invalid partition name" or "permission denied".
Code:
C:\Users\Paul\Desktop\Peyton>fastboot flash partition gpt.bin
Sending 'partition' (37 KB) OKAY [ 0.000s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.141s]
Finished. Total time: 0.281s
C:\Users\Paul\Desktop\Peyton>fastboot flash bootloader bootloader.img
Sending 'bootloader' (9520 KB) OKAY [ 0.687s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote: '')
Finished. Total time: 0.766s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem NON-HLOS.bin
Sending 'modem__a' (94843 KB) OKAY [ 4.970s]
Writing 'modem__a' (bootloader) Invalid partition name modem__a
FAILED (remote: '')
Finished. Total time: 5.157s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem_a NON-HLOS.bin
Sending 'modem_a' (94843 KB) OKAY [ 2.612s]
Writing 'modem_a' (bootloader) flash permission denied
FAILED (remote: '')
Finished. Total time: 2.643s
taloras said:
No luck. flash partition gpt.bin works, but flashing anything after that fails with either "invalid partition name" or "permission denied".
Code:
C:\Users\Paul\Desktop\Peyton>fastboot flash partition gpt.bin
Sending 'partition' (37 KB) OKAY [ 0.000s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.141s]
Finished. Total time: 0.281s
C:\Users\Paul\Desktop\Peyton>fastboot flash bootloader bootloader.img
Sending 'bootloader' (9520 KB) OKAY [ 0.687s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote: '')
Finished. Total time: 0.766s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem NON-HLOS.bin
Sending 'modem__a' (94843 KB) OKAY [ 4.970s]
Writing 'modem__a' (bootloader) Invalid partition name modem__a
FAILED (remote: '')
Finished. Total time: 5.157s
C:\Users\Paul\Desktop\Peyton>fastboot flash modem_a NON-HLOS.bin
Sending 'modem_a' (94843 KB) OKAY [ 2.612s]
Writing 'modem_a' (bootloader) flash permission denied
FAILED (remote: '')
Finished. Total time: 2.643s
Click to expand...
Click to collapse
Damn.. well then let's wait till someone uploads a newer fw and hope that it will work, I am running out of ideas for now..
Are you using the latest version of fastboot?
https://developer.android.com/studio/releases/platform-tools
latest build PAYTON_OPWS28.46-21-16:
https://moto.netlib.re/payton/
I tried to flash an update from bootloader and my phone got bricked, says "Your device is corrupt. It can't be trusted and will not boot"
I was using November Patch and tried to update to January Patch, my bootloader is locked btw. My device model is X1900-6. What should I do? Should I flash stock rom? Which one? Could someone help me? Because I downloaded the newer stock rom and I can't flash this, says:
Trying to flash PPWS29.69-26-4
Code:
C:\Users\Frost\Documents\Moto\Rom\ADB and Fastboot>fastboot oem fb_mode_set
...
OKAY [ 0.003s]
finished. total time: 0.003s
C:\Users\Frost\Documents\Moto\Rom\ADB and Fastboot>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (37 KB)...
OKAY [ 0.003s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.114s]
finished. total time: 0.117s
C:\Users\Frost\Documents\Moto\Rom\ADB and Fastboot>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.213s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'xbl.elf' to 'xbl'
(bootloader) - flashing 'prov64.mbn' to 'prov'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'abl.elf' to 'abl'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'storsec.mbn' to 'storsec'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'pmic.elf' to 'pmic'
(bootloader) - flashing 'hyp.mbn' to 'hyp'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
OKAY [ 0.211s]
finished. total time: 0.427s
C:\Users\Frost\Documents\Moto\Rom\ADB and Fastboot>fastboot flash modem NON-HLOS.BIN
target reported max download size of 536870912 bytes
sending 'modema' (76252 KB)...
OKAY [ 1.620s]
writing 'modema'...
[B](bootloader) Invalid partition name modema[/B]
FAILED (remote failure)
finished. total time: 1.625s
C:\Users\Frost\Documents\Moto\Rom\ADB and Fastboot>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsga' (5756 KB)...
OKAY [ 0.125s]
writing 'fsga'...
[B](bootloader) Invalid partition name fsga[/B]
FAILED (remote failure)
finished. total time: 0.132s
(...)
GET VAR ALL
Code:
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-payton_retail-0e6e7ce-181231
(bootloader) product: payton
(bootloader) board: payton
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: LATAM
(bootloader) storage-type: eMMC
(bootloader) emmc: 32GB SAMSUNG DD68MB RV=08 PV=02 FV=0000000000000002
(bootloader) ufs: N/A
(bootloader) ram: 3GB SAMSUNG LP4x DIE=12Gb M5=01 M6=06 M7=00 M8=0E
(bootloader) cpu: SDM630 1.0 (6)
(bootloader) serialno: 0044291946
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: DBFB6198
(bootloader) securestate: oem_locked
(bootloader) verity-state: enforcing (0)
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 536870912
(bootloader) reason: UTAG bootmode configured as fastboot
(bootloader) imei: 359552087326697
(bootloader) meid:
(bootloader) date: 03-07-2018
(bootloader) sku: XT1900-6
(bootloader) carrier_sku:
(bootloader) battid: SNN5995A
(bootloader) battery-voltage: 4052
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:9/PPW29.69-
(bootloader) ro.build.fingerprint[1]: 26/22ef:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.11.33.payton.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.7.2.r1-04900-sdm660.0
(bootloader) version-baseband: M660_7042.27.01.89R PAYTON_LATAMDSDS_CUST
(bootloader) kernel.version[0]: Linux version 4.4.153-perf-gb61e285-0000
(bootloader) kernel.version[1]: 6-g6448940 ([email protected]) (gcc ver
(bootloader) kernel.version[2]: sion 4.9.x 20150123 (prerelease) (GCC) )
(bootloader) kernel.version[3]: #1 SMP PREEMPT Mon Nov 12 19:27:06 CST
(bootloader) kernel.version[4]: 2018
(bootloader) git:abl: MBM-3.0-payton_retail-0e6e7ce-181231
(bootloader) git:xbl: MBM-3.0-payton_retail-6b0c3d7-181231
(bootloader) git:pmic: MBM-3.0-payton_retail-6b0c3d7-181231
(bootloader) git:rpm: MBM-3.0-payton_retail-b0c6622-181231
(bootloader) git:tz: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) git:hyp: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) git:devcfg: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) git:cmnlib: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) git:cmnlib64: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) git:keymaster: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) git:prov: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) git:storsec: MBM-3.0-payton_retail-c593123-dirty-181231
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 3
(bootloader) slot-retry-count:_b: 0
all: listed above
finished. total time: 0.163s
What was the solution?
jbaumert said:
What was the solution?
Click to expand...
Click to collapse
Download PPWS29.69-26-4 (RETBR) from here https://mirrors.lolinet.com/firmware/moto/payton/official/RETBR/ and flash using these codes.
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth_a BTFM.bin
fastboot flash dsp_a dspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastobot flash system_a system.img_sparsechunk.0
fastobot flash system_a system.img_sparsechunk.1
fastobot flash system_a system.img_sparsechunk.2
fastobot flash system_a system.img_sparsechunk.3
fastobot flash system_a system.img_sparsechunk.4
fastobot flash system_a system.img_sparsechunk.5
fastobot flash system_a system.img_sparsechunk.6
fastboot flash system_b system_other.img
fastboot flash oem_a oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
The same issue for me....
Recently I went to update the rom of my moto G7 +, but during the update process the bootloader blocked ... I tried to perform the unlock again however the unlock option is disabled, and to make it worse it does not start, it is only on the recovery mode screen .
I already downloaded a more current firmware, but the bootloader does not allow installation.
Best to try the LMSA tool to reflash back to stock..
Download https://support.lenovo.com/ca/en/downloads/ds101291
Guide https://support.lenovo.com/us/en/solutions/HT102605
Thanks for the answer.
Thanks for the answer.
When I try to connect the LMSA to the phone it gives an error.
"failed to match the connected device reconnect device then try again"
I tried several times, connecting the device after selecting the model, and vice versa, however the error persists.
wfsmnt said:
Recently I went to update the rom of my moto G7 +, but during the update process the bootloader blocked ... I tried to perform the unlock again however the unlock option is disabled, and to make it worse it does not start, it is only on the recovery mode screen .
I already downloaded a more current firmware, but the bootloader does not allow installation.
Click to expand...
Click to collapse
Bootloader screen => get your model (XT19XX)=> download the current firmware
WoKoschekk said:
Bootloader screen => get your model (XT19XX)=> download the current firmware
Click to expand...
Click to collapse
XT1965-2
Thanks for the answer.
WoKoschekk said:
Bootloader screen => get your model (XT19XX)=> download the current firmware
Click to expand...
Click to collapse
Even downloading the latest firmware version the bootloader gives access denied
wfsmnt said:
Even downloading the latest firmware version the bootloader gives access denied
Click to expand...
Click to collapse
Could you post the output of "fastboot getvar all" here? Furthermore it would be helpful to know the build no of your downloaded firmware.
Thanks for the answer.
WoKoschekk said:
Could you post the output of "fastboot getvar all" here? Furthermore it would be helpful to know the build no of your downloaded firmware.
Click to expand...
Click to collapse
============================================================
GETVAR ALL
D:\Users\Wilian\Downloads\>fastboot getvar all
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-lake_retail-38523c9-191220
(bootloader) product: lake
(bootloader) board: lake
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: LATAM
(bootloader) storage-type: eMMC
(bootloader) emmc: 64GB SAMSUNG DH6DAB RV=08 PV=02 FV=0000000000000002
(bootloader) ufs: N/A
(bootloader) ram: 4GB SAMSUNG LP4x DIE=16Gb M5=01 M6=06 M7=10 M8=12
(bootloader) cpu: SDM636 1.0 (1)
(bootloader) serialno: ###############
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: CEE77785
(bootloader) securestate: flashing_locked
(bootloader) verity-state: disabled (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: #####################
(bootloader) meid:
(bootloader) date: 01-30-2019
(bootloader) sku: XT1965-2
(bootloader) carrier_sku: XT1965-2
(bootloader) battid: ###################
(bootloader) battery-voltage: 4281
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/lake_n/lake_n:10/QPW30.61
(bootloader) ro.build.fingerprint[1]: -21/cb81e:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full: <not found>
(bootloader) ro.build.version.qcom: LA.UM.8.2.r1-04300-sdm660.0
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 4.4.192-perf+ ([email protected]
(bootloader) kernel.version[1]: oid-build) (gcc version 4.9.x 20150123 (
(bootloader) kernel.version[2]: prerelease) (GCC) ) #1 SMP PREEMPT Fri A
(bootloader) kernel.version[3]: pr 10 06:08:41 CDT 2020
(bootloader) git:abl: MBM-3.0-lake_retail-38523c9-191220
(bootloader) git:xbl: MBM-3.0-lake_retail-923e768-191220
(bootloader) gitmic: MBM-3.0-lake_retail-923e768-191220
(bootloader) git:rpm: MBM-3.0-lake_retail-50d7845-dirty-191220
(bootloader) git:tz: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:hyp: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:devcfg: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:cmnlib: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:cmnlib64: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:keymaster: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) gitrov: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) git:storsec: MBM-3.0-lake_retail-79dd9bc-dirty-191220
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retbr
(bootloader) current-slot: a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: no
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 5
(bootloader) slot-retry-count:_b: 0
all: listed above
finished. total time: 0.109s
====================================================================
Follows the build of the downloaded rom.
BUILD REQUEST INFO:
SW Version: lake-user 10 QPWS30.61-21-3 0f1d7 release-keysM636_13.45.02.60R
MBM Version: MBM-3.0-lake_retail-923e768-200214
Modem Version: M636_13.45.02.60R
FSG Version: FSG-660-10.98
Build Fingerprint: motorola/lake/lake:10/QPWS30.61-21-3/0f1d7:user/release-keys
=================================================================
I tried to install using the latest rom released too.
BUILD REQUEST INFO:
SW Version: lake-user 10 QPWS30.61-21-9 664a release-keysM636_13.45.02.60R
Modem Version: M636_13.45.02.60R
FSG Version: FSG-660-10.98
MBM Version: MBM-3.0-lake_retail-efaf0cccb-200410
Build Fingerprint: motorola/lake/lake:10/QPWS30.61-21-9/664a:user/release-keys
wfsmnt said:
(bootloader) ro.build.fingerprint[0]: motorola/lake_n/lake_n:10/QPW30.61
(bootloader) ro.build.fingerprint[1]: -21/cb81e:user/release-keys
Click to expand...
Click to collapse
As you can see in your output the current installed version is motorola/lake_n/lake_n:10/QPW30.61-21/cb81e:user/release-keys.
You should try to flash exactly the same build matching to your current firmware. (download here)
Maybe the error occured due to trying to "update" your firmware (current: 30.61-21 => new: 30.61-21-3/-9) while the bootloader is locked.
Hope this solves your problem!
---------- Post added at 01:10 AM ---------- Previous post was at 01:02 AM ----------
And don't forget to use the flashing commands of the inside flashfile.xml!! Sometimes the number of the system.img_sparsechunks is different.
DO NOT USE ANY FLASH COMMANDS FROM OTHER USERS!!
Thanks for the answer.
WoKoschekk said:
As you can see in your output the current installed version is motorola/lake_n/lake_n:10/QPW30.61-21/cb81e:user/release-keys.
You should try to flash exactly the same build matching to your current firmware. (download here)
Maybe the error occured due to trying to "update" your firmware (current: 30.61-21 => new: 30.61-21-3/-9) while the bootloader is locked.
Hope this solves your problem!
---------- Post added at 01:10 AM ---------- Previous post was at 01:02 AM ----------
And don't forget to use the flashing commands of the inside flashfile.xml!! Sometimes the number of the system.img_sparsechunks is different.
DO NOT USE ANY FLASH COMMANDS FROM OTHER USERS!!
Click to expand...
Click to collapse
Even if you apply the rom you sent me permission is denied.
===============================================================
Microsoft Windows [versão 10.0.18363.900]
(c) 2019 Microsoft Corporation. Todos os direitos reservados.
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.006s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
...
OKAY [ 0.010s]
finished. total time: 0.013s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (37 KB)...
OKAY [ 0.008s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
OKAY [ 0.145s]
finished. total time: 0.159s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (9520 KB)...
OKAY [ 0.291s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) flash permission denied
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.361s
C:\Users\Wilian\Downloads\XT1965-2_LAKE_RETBR_10_QPW30.61-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (76484 KB)...
OKAY [ 2.164s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 2.183s
wfsmnt said:
Even if you apply the rom you sent me permission is denied.
Click to expand...
Click to collapse
I'm running out of ideas... The bootloader.img and its signature is matching completely with your output of getvar all.
On some older devices of the Moto G series the mfastboot tools were helpful in your case. The binaries may be old but this is the latest version of the tool...
The next step would be a blank flash.
mfastboot tools
It's like fastboot, but especially for Motorola devices by Motorola. The commands are "mfastboot" instead of "fastboot". That's all.
WoKoschekk said:
It's like fastboot, but especially for Motorola devices by Motorola. The commands are "mfastboot" instead of "fastboot". That's all.
Click to expand...
Click to collapse
Unfortunately the same result.
WoKoschekk said:
It's like fastboot, but especially for Motorola devices by Motorola. The commands are "mfastboot" instead of "fastboot". That's all.
Click to expand...
Click to collapse
How can we perform the blank-flash
wfsmnt said:
How can we perform the blank-flash
Click to expand...
Click to collapse
Sorry, I can't help you with that.
Are you using Motorola's original cable, or another one? I just had problems flashing with 'custom' cable. Just connect directly by USB-C (I'm hoping that's possible for you to try).
sado1 said:
Are you using Motorola's original cable, or another one? I just had problems flashing with 'custom' cable. Just connect directly by USB-C (I'm hoping that's possible for you to try).
Click to expand...
Click to collapse
He gets "permission denied" and that's not a connection error.
Besides the first command runs without an error.