Downgrade 7 -> 6 FAILED Do not allow to flash Bootloader image on Unlock device - Lenovo P2 Questions & Answers

edit: DO NOT DOWNGRADE THE STOCK ROM IF THE BOOTLOADER IS UNLOCKED.
Started with an unlocked and unmodified and unrooted Android 7 Stock ROM. Wanted to downgrade to Android 6 Stock Rom for Xposed. I used this guide. I get the error "FAILED (remote: Do not allow to flash Bootloader image on Unlock device)" after typing flashall.bat . How it is possible to downgrade with the unlocked stock bootloader?
Code:
Flashing partition table ...
Executing ".\Windows\fastboot.exe -s XXX flash partition gpt_both0.bin"
target max-download-size: 512MB
sending 'partition' (33 KB)...
OKAY [ 0.032s]
writing 'partition'...
OKAY [ 0.032s]
finished. total time: 0.073s
Flashing bootloader ...
Executing ".\Windows\fastboot.exe -s XXX flash sec sec.dat"
target max-download-size: 512MB
sending 'sec' (0 KB)...
OKAY [ 0.034s]
writing 'sec'...
OKAY [ 0.019s]
finished. total time: 0.062s
Executing ".\Windows\fastboot.exe -s XXX flash apdp dp_AP_signed.mbn"
target max-download-size: 512MB
sending 'apdp' (12 KB)...
OKAY [ 0.035s]
writing 'apdp'...
OKAY [ 0.023s]
finished. total time: 0.066s
Executing ".\Windows\fastboot.exe -s XXX flash msadp dp_MSA_signed.mbn"
target max-download-size: 512MB
sending 'msadp' (12 KB)...
OKAY [ 0.035s]
writing 'msadp'...
OKAY [ 0.024s]
finished. total time: 0.069s
Executing ".\Windows\fastboot.exe -s XXX flash prov prov32.mbn"
target max-download-size: 512MB
sending 'prov' (64 KB)...
OKAY [ 0.033s]
writing 'prov'...
FAILED (remote: Do not allow to flash Bootloader image on Unlock device)
finished. total time: 0.082s
All devices are flashed
Relocking of the bootloader is forbidden:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
FAILED (remote: oem lock back is forbidden)
finished. total time: 0.031s
C:\Program Files (x86)\Minimal ADB and Fastboot>

Kontex said:
Started with an unlocked and unmodified and unrooted Android 7 Stock ROM. Wanted to downgrade to Android 6 Stock Rom for Xposed. I used this guide. I get the error "FAILED (remote: Do not allow to flash Bootloader image on Unlock device)" after typing flashall.bat . How it is possible to downgrade with the unlocked stock bootloader?
Click to expand...
Click to collapse
It fails at flashing fastboot, but it looks to have stopped without progressing further? Try making a separate BAT file and adding:
Note: I haven't tested this for downgrading, only for resetting.
Code:
fastboot flash partition gpt_both0.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash system systemchunk0.img
fastboot flash system systemchunk1.img
fastboot flash system systemchunk2.img
fastboot flash system systemchunk3.img
fastboot flash system systemchunk4.img
fastboot flash system systemchunk5.img
fastboot flash system systemchunk6.img
fastboot flash system systemchunk7.img
fastboot flash system systemchunk8.img
fastboot flash system systemchunk9.img
fastboot flash system systemchunk10.img
fastboot flash system systemchunk11.img
fastboot flash system systemchunk12.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
pause
Then run the BAT file. Lenovo themselves have likely disabled fastboot flashing and re-locking.

At the moment I can not recommend to downgrade an unlocked P2 with Android 7. Found your Post and created a Batch file. It failes in createing and ereasing some steps. But the phone is starting with Android 6, now. I'll investigate the modem functions within the next days and post the results. Maybe QPST-Images are required for correct downgrading.
Code:
fastboot.exe flash partition "gpt_both0.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (33 KB)...
OKAY [ 0.035s]
writing 'partition'...
OKAY [ 0.031s]
finished. total time: 0.076s
fastboot.exe flash bootloader "bootloader.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (4234 KB)...
OKAY [ 0.128s]
writing 'bootloader'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.164s
fastboot.exe flash logo "logo.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (1907 KB)...
OKAY [ 0.072s]
writing 'logo'...
OKAY [ 0.068s]
finished. total time: 0.150s
fastboot.exe flash boot "boot.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (21677 KB)...
OKAY [ 0.539s]
writing 'boot'...
OKAY [ 0.322s]
finished. total time: 0.873s
fastboot.exe flash recovery "recovery.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (25265 KB)...
OKAY [ 0.604s]
writing 'recovery'...
OKAY [ 0.375s]
finished. total time: 0.987s
fastboot.exe flash dsp "adspso.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.393s]
writing 'dsp'...
OKAY [ 0.242s]
finished. total time: 0.646s
fastboot.exe flash system "systemchunk0.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260121 KB)...
OKAY [ 5.972s]
writing 'system'...
OKAY [ 4.177s]
finished. total time: 10.159s
fastboot.exe flash system "systemchunk1.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258079 KB)...
OKAY [ 5.922s]
writing 'system'...
OKAY [ 3.612s]
finished. total time: 9.546s
fastboot.exe flash system "systemchunk2.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258077 KB)...
OKAY [ 5.876s]
writing 'system'...
OKAY [ 3.416s]
finished. total time: 9.302s
fastboot.exe flash system "systemchunk3.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261716 KB)...
OKAY [ 6.034s]
writing 'system'...
OKAY [ 3.772s]
finished. total time: 9.819s
fastboot.exe flash system "systemchunk4.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262033 KB)...
OKAY [ 5.988s]
writing 'system'...
OKAY [ 3.891s]
finished. total time: 9.891s
fastboot.exe flash system "systemchunk5.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (251510 KB)...
OKAY [ 5.771s]
writing 'system'...
OKAY [ 3.444s]
finished. total time: 9.227s
fastboot.exe flash system "systemchunk6.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259097 KB)...
OKAY [ 5.902s]
writing 'system'...
OKAY [ 3.406s]
finished. total time: 9.320s
fastboot.exe flash system "systemchunk7.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.903s]
writing 'system'...
OKAY [ 3.480s]
finished. total time: 9.441s
fastboot.exe flash system "systemchunk8.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.899s]
writing 'system'...
OKAY [ 3.532s]
finished. total time: 32.879s
fastboot.exe flash system "systemchunk9.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259100 KB)...
OKAY [ 5.983s]
writing 'system'...
OKAY [ 3.691s]
finished. total time: 9.687s
fastboot.exe flash system "systemchunk10.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (250251 KB)...
OKAY [ 5.751s]
writing 'system'...
OKAY [ 3.830s]
finished. total time: 9.593s
fastboot.exe flash system "systemchunk11.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261655 KB)...
OKAY [ 5.981s]
writing 'system'...
OKAY [ 4.033s]
finished. total time: 10.026s
fastboot.exe flash system "systemchunk12.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (64584 KB)...
OKAY [ 1.490s]
writing 'system'...
OKAY [ 0.878s]
finished. total time: 2.379s
fastboot.exe flash modem "NON-HLOS.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (131072 KB)...
OKAY [ 3.053s]
writing 'modem'...
FAILED (remote: Do not allow to flash Bootloader image on Unlock device)
finished. total time: 3.118s
fastboot.exe erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.037s]
finished. total time: 0.043s
fastboot.exe erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.034s]
finished. total time: 0.040s
fastboot.exe flash fsg "fsg.mbn"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (300 KB)...
OKAY [ 0.026s]
writing 'fsg'...
OKAY [ 0.029s]
finished. total time: 0.062s
fastboot.exe erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.030s]
finished. total time: 0.035s
fastboot.exe erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.203s]
finished. total time: 0.208s
fastboot.exe erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
FAILED (remote: Partition table doesn't exist
)
finished. total time: 0.032s
fastboot.exe erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
FAILED (remote: Partition table doesn't exist
)
finished. total time: 0.039s
edit2: OTA seems to work: http://phonedl.ota.lenovomm.com/dls/v6/P2a42_S048_161111_ROW_TO_P2a42_S062_170117_ROW_WC29E4CD37.zip

I have soft brick my modem after I erased the modem partitions.
Since you can't flash NON-HLOS.bin after unlocking the bootloader, it's dangerous to downgrade.
But I can confirm (I did it many times before unlocking the bootloader and after) that you can downgrade for 7 to 6. The system is working fine and you can still install the OTA.
If you find a solution for the modem part, please post the solution
Kontex said:
At the moment I can not recommend to downgrade an unlocked P2 with Android 7. Found your Post and created a Batch file. It failes in createing and ereasing some steps. But the phone is starting with Android 6, now. I'll investigate the modem functions within the next days and post the results. Maybe QPST-Images are required for correct downgrading.
Code:
fastboot.exe flash partition "gpt_both0.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (33 KB)...
OKAY [ 0.035s]
writing 'partition'...
OKAY [ 0.031s]
finished. total time: 0.076s
fastboot.exe flash bootloader "bootloader.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (4234 KB)...
OKAY [ 0.128s]
writing 'bootloader'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.164s
fastboot.exe flash logo "logo.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (1907 KB)...
OKAY [ 0.072s]
writing 'logo'...
OKAY [ 0.068s]
finished. total time: 0.150s
fastboot.exe flash boot "boot.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (21677 KB)...
OKAY [ 0.539s]
writing 'boot'...
OKAY [ 0.322s]
finished. total time: 0.873s
fastboot.exe flash recovery "recovery.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (25265 KB)...
OKAY [ 0.604s]
writing 'recovery'...
OKAY [ 0.375s]
finished. total time: 0.987s
fastboot.exe flash dsp "adspso.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.393s]
writing 'dsp'...
OKAY [ 0.242s]
finished. total time: 0.646s
fastboot.exe flash system "systemchunk0.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260121 KB)...
OKAY [ 5.972s]
writing 'system'...
OKAY [ 4.177s]
finished. total time: 10.159s
fastboot.exe flash system "systemchunk1.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258079 KB)...
OKAY [ 5.922s]
writing 'system'...
OKAY [ 3.612s]
finished. total time: 9.546s
fastboot.exe flash system "systemchunk2.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258077 KB)...
OKAY [ 5.876s]
writing 'system'...
OKAY [ 3.416s]
finished. total time: 9.302s
fastboot.exe flash system "systemchunk3.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261716 KB)...
OKAY [ 6.034s]
writing 'system'...
OKAY [ 3.772s]
finished. total time: 9.819s
fastboot.exe flash system "systemchunk4.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262033 KB)...
OKAY [ 5.988s]
writing 'system'...
OKAY [ 3.891s]
finished. total time: 9.891s
fastboot.exe flash system "systemchunk5.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (251510 KB)...
OKAY [ 5.771s]
writing 'system'...
OKAY [ 3.444s]
finished. total time: 9.227s
fastboot.exe flash system "systemchunk6.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259097 KB)...
OKAY [ 5.902s]
writing 'system'...
OKAY [ 3.406s]
finished. total time: 9.320s
fastboot.exe flash system "systemchunk7.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.903s]
writing 'system'...
OKAY [ 3.480s]
finished. total time: 9.441s
fastboot.exe flash system "systemchunk8.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.899s]
writing 'system'...
OKAY [ 3.532s]
finished. total time: 32.879s
fastboot.exe flash system "systemchunk9.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259100 KB)...
OKAY [ 5.983s]
writing 'system'...
OKAY [ 3.691s]
finished. total time: 9.687s
fastboot.exe flash system "systemchunk10.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (250251 KB)...
OKAY [ 5.751s]
writing 'system'...
OKAY [ 3.830s]
finished. total time: 9.593s
fastboot.exe flash system "systemchunk11.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261655 KB)...
OKAY [ 5.981s]
writing 'system'...
OKAY [ 4.033s]
finished. total time: 10.026s
fastboot.exe flash system "systemchunk12.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (64584 KB)...
OKAY [ 1.490s]
writing 'system'...
OKAY [ 0.878s]
finished. total time: 2.379s
fastboot.exe flash modem "NON-HLOS.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (131072 KB)...
OKAY [ 3.053s]
writing 'modem'...
FAILED (remote: Do not allow to flash Bootloader image on Unlock device)
finished. total time: 3.118s
fastboot.exe erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.037s]
finished. total time: 0.043s
fastboot.exe erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.034s]
finished. total time: 0.040s
fastboot.exe flash fsg "fsg.mbn"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (300 KB)...
OKAY [ 0.026s]
writing 'fsg'...
OKAY [ 0.029s]
finished. total time: 0.062s
fastboot.exe erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.030s]
finished. total time: 0.035s
fastboot.exe erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.203s]
finished. total time: 0.208s
fastboot.exe erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
FAILED (remote: Partition table doesn't exist
)
finished. total time: 0.032s
fastboot.exe erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
FAILED (remote: Partition table doesn't exist
)
finished. total time: 0.039s
edit2: OTA seems to work: http://phonedl.ota.lenovomm.com/dls/v6/P2a42_S048_161111_ROW_TO_P2a42_S062_170117_ROW_WC29E4CD37.zip
Click to expand...
Click to collapse

Try this for modem issues.
http://www.theandroidsoul.com/fix-e...d-wifibluetooth-issues-restoring-twrp-backup/
Sent from my Lenovo P2a42 using Tapatalk

Thanks but I already did that.
After doing it, the sim card was successfully detected but after a few second the signal is lost (like I'm in a no signal zone) and I can't connect to my operator's access point.
I maybe have a wrong baseband driver or something like that, I'm not sure.
dannejanne said:
Try this for modem issues.
http://www.theandroidsoul.com/fix-e...d-wifibluetooth-issues-restoring-twrp-backup/
Sent from my Lenovo P2a42 using Tapatalk
Click to expand...
Click to collapse

Looks like the Russians may have been right after all !

Kontex said:
At the moment I can not recommend to downgrade an unlocked P2 with Android 7. Found your Post and created a Batch file. It failes in createing and ereasing some steps. But the phone is starting with Android 6, now. I'll investigate the modem functions within the next days and post the results. Maybe QPST-Images are required for correct downgrading.
Code:
fastboot.exe flash partition "gpt_both0.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (33 KB)...
OKAY [ 0.035s]
writing 'partition'...
OKAY [ 0.031s]
finished. total time: 0.076s
fastboot.exe flash bootloader "bootloader.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (4234 KB)...
OKAY [ 0.128s]
writing 'bootloader'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.164s
fastboot.exe flash logo "logo.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (1907 KB)...
OKAY [ 0.072s]
writing 'logo'...
OKAY [ 0.068s]
finished. total time: 0.150s
fastboot.exe flash boot "boot.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (21677 KB)...
OKAY [ 0.539s]
writing 'boot'...
OKAY [ 0.322s]
finished. total time: 0.873s
fastboot.exe flash recovery "recovery.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (25265 KB)...
OKAY [ 0.604s]
writing 'recovery'...
OKAY [ 0.375s]
finished. total time: 0.987s
fastboot.exe flash dsp "adspso.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.393s]
writing 'dsp'...
OKAY [ 0.242s]
finished. total time: 0.646s
fastboot.exe flash system "systemchunk0.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260121 KB)...
OKAY [ 5.972s]
writing 'system'...
OKAY [ 4.177s]
finished. total time: 10.159s
fastboot.exe flash system "systemchunk1.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258079 KB)...
OKAY [ 5.922s]
writing 'system'...
OKAY [ 3.612s]
finished. total time: 9.546s
fastboot.exe flash system "systemchunk2.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258077 KB)...
OKAY [ 5.876s]
writing 'system'...
OKAY [ 3.416s]
finished. total time: 9.302s
fastboot.exe flash system "systemchunk3.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261716 KB)...
OKAY [ 6.034s]
writing 'system'...
OKAY [ 3.772s]
finished. total time: 9.819s
fastboot.exe flash system "systemchunk4.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262033 KB)...
OKAY [ 5.988s]
writing 'system'...
OKAY [ 3.891s]
finished. total time: 9.891s
fastboot.exe flash system "systemchunk5.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (251510 KB)...
OKAY [ 5.771s]
writing 'system'...
OKAY [ 3.444s]
finished. total time: 9.227s
fastboot.exe flash system "systemchunk6.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259097 KB)...
OKAY [ 5.902s]
writing 'system'...
OKAY [ 3.406s]
finished. total time: 9.320s
fastboot.exe flash system "systemchunk7.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.903s]
writing 'system'...
OKAY [ 3.480s]
finished. total time: 9.441s
fastboot.exe flash system "systemchunk8.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.899s]
writing 'system'...
OKAY [ 3.532s]
finished. total time: 32.879s
fastboot.exe flash system "systemchunk9.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259100 KB)...
OKAY [ 5.983s]
writing 'system'...
OKAY [ 3.691s]
finished. total time: 9.687s
fastboot.exe flash system "systemchunk10.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (250251 KB)...
OKAY [ 5.751s]
writing 'system'...
OKAY [ 3.830s]
finished. total time: 9.593s
fastboot.exe flash system "systemchunk11.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261655 KB)...
OKAY [ 5.981s]
writing 'system'...
OKAY [ 4.033s]
finished. total time: 10.026s
fastboot.exe flash system "systemchunk12.img"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (64584 KB)...
OKAY [ 1.490s]
writing 'system'...
OKAY [ 0.878s]
finished. total time: 2.379s
fastboot.exe flash modem "NON-HLOS.bin"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (131072 KB)...
OKAY [ 3.053s]
writing 'modem'...
FAILED (remote: Do not allow to flash Bootloader image on Unlock device)
finished. total time: 3.118s
fastboot.exe erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.037s]
finished. total time: 0.043s
fastboot.exe erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.034s]
finished. total time: 0.040s
fastboot.exe flash fsg "fsg.mbn"
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (300 KB)...
OKAY [ 0.026s]
writing 'fsg'...
OKAY [ 0.029s]
finished. total time: 0.062s
fastboot.exe erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.030s]
finished. total time: 0.035s
fastboot.exe erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.203s]
finished. total time: 0.208s
fastboot.exe erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
FAILED (remote: Partition table doesn't exist
)
finished. total time: 0.032s
fastboot.exe erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
FAILED (remote: Partition table doesn't exist
)
finished. total time: 0.039s
edit2: OTA seems to work: http://phonedl.ota.lenovomm.com/dls/v6/P2a42_S048_161111_ROW_TO_P2a42_S062_170117_ROW_WC29E4CD37.zip
Click to expand...
Click to collapse
Hi !!
are you facing now any modem related issue ? or any network related issue ?

The Mero said:
Looks like the Russians may have been right after all !
Click to expand...
Click to collapse
This is like the ending of WWII, the circumstances turned the war at 180° just a few days before it ended. They're rising from the ashes.

[email protected] said:
I have soft brick my modem after I erased the modem partitions.
Since you can't flash NON-HLOS.bin after unlocking the bootloader, it's dangerous to downgrade.
But I can confirm (I did it many times before unlocking the bootloader and after) that you can downgrade for 7 to 6. The system is working fine and you can still install the OTA.
If you find a solution for the modem part, please post the solution
Click to expand...
Click to collapse
hi !
can you please confirm that before flashing your phone was bootloader unlocked or locked ! and how you sure that the soft bricking of your modem occured only for erasing the modem partitions ? do you think, it's completely safe to downgrade from stock nougat to stock marshmallow for an locked bootloader ??

@mishua0 If the bootloader is locked your your warranty is not void. It is as risky as doing an upgrade from marshmallow to nougat.
@[email protected] please stop spamming the P2-Forum with your modem issue. You created already a thread + posted the problem in other threads, too. As you see bootloader and modem partition are somehow write protected in the stock recovery. Lenovo might had a reason to lock it. QPST-Factory-Images for Recovery are not available at the moment. Example Lenovo K910
I can confirm after downgrading an unlocked but not modified and not rooted Stock P2 with the instructions from Post #2 that the modem is NOT working. This is not supprising as the modem partion is write protected for unlocked bootloaders and contains the updated Nougat code. But I could NOT fix it through an update from Android 6 back to Android 7. The modem is still not working. No SIM Card is recognized. I did a factory reset but that didn't help.

@Kontex : I didn't created any thread and linked my problem to barely two thread at this time. It's hardly spam. But it would be nice to create a thread for this specific problem.
By the way, have you tried to format the modem partition ? see -> https://forum.xda-developers.com/showpost.php?p=71966113&postcount=43
@mishua0: I agree with Kontex -> if your bootloader is locked there is no real risk at downgrading or upgrading through fastboot (I did it 2 or 3 time without any problem).
Kontex said:
@mishua0 If the bootloader is locked your your warranty is not void. It is as risky as doing an upgrade from marshmallow to nougat.
@[email protected] please stop spamming the P2-Forum with your modem issue. You created already a thread + posted the problem in other threads, too. As you see bootloader and modem partition are somehow write protected in the stock recovery. Lenovo might had a reason to lock it. QPST-Factory-Images for Recovery are not available at the moment. Example Lenovo K910
I can confirm after downgrading an unlocked but not modified and not rooted Stock P2 with the instructions from Post #2 that the modem is NOT working. This is not supprising as the modem partion is write protected for unlocked bootloaders and contains the updated Nougat code. But I could NOT fix it through an update from Android 6 back to Android 7. The modem is still not working. No SIM Card is recognized. I did a factory reset but that didn't help.
Click to expand...
Click to collapse

@[email protected] Including this thread you posted the problem in 3 threads. Yes, you should have opened a separate thread. Why should I format the modem partition? It didn't fix your problem so it won't fix mine. Let's face the ugly fact. The modem code is broken somehow and it is not possible to fix it without a working QPST-File. I read all your posts. You tried a lot of things.
I'll send my phone back to the seller and hope he will replace it with a new one that has an Android 6 Firmware. Than I do not upgrade it and I can use Xposed again. So far I'm happy with my Lenovo ZUK Z1 and don't need the Lenovo P2 immediatly.

So ? A few post is hardly spam on this small P2 forum...
And if I find a solution, I'll follow by the rules and create a specific topic for this specific problem.
By the way, regarding your problem: I myself didn't fully restored the modem part yet, but it seems that Bardales did.
Kontex said:
@[email protected] Including this thread you posted the problem in 3 threads. Yes, you should have opened a separate thread. Why should I format the modem partition? It didn't fix your problem so it won't fix mine. Let's face the ugly fact. The modem code is broken somehow and it is not possible to fix it without a working QPST-File. I read all your posts. You tried a lot of things.
I'll send my phone back to the seller and hope he replaces it with a new one that has an Android 6 Firmware. Than I do not upgrade it and I can use Xposed again. So far I'm happy with my Lenovo ZUK Z1 and don't need the Lenovo P2 immediatly.
Click to expand...
Click to collapse

help for downgrading to marshmallow (locked bootloader)
Kontex said:
@mishua0 If the bootloader is locked your your warranty is not void. It is as risky as doing an upgrade from marshmallow to nougat.
@[email protected] please stop spamming the P2-Forum with your modem issue. You created already a thread + posted the problem in other threads, too. As you see bootloader and modem partition are somehow write protected in the stock recovery. Lenovo might had a reason to lock it. QPST-Factory-Images for Recovery are not available at the moment. Example Lenovo K910
I can confirm after downgrading an unlocked but not modified and not rooted Stock P2 with the instructions from Post #2 that the modem is NOT working. This is not supprising as the modem partion is write protected for unlocked bootloaders and contains the updated Nougat code. But I could NOT fix it through an update from Android 6 back to Android 7. The modem is still not working. No SIM Card is recognized. I did a factory reset but that didn't help.
Click to expand...
Click to collapse
Hi Kontex !
I'm so pleased to see your reply. I want to downgrade my bootloader locked Lenovo P2 from Stock Nougat to Stock Marshmallow. Actually I applied to unlock already, but I have 2 more days to finish my 14 days period. So, I think even after my 14 days period, if I don't unlock the OEM through fastboot mode, my bootloader would still be locked. Am I right ? It's just for talking. but I want to downgrade to marshmallow by tomorrow before ending my 14 days period. Please clear me which commands I should flash through fastboot. should I flash the following commands along with the systemchunk0-12 ?
fastboot flash partition gpt_both0.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash modem NON-HLOS.bin
should I erase the following commands, (specially what about modemst1 & modemst2 ? is there any risk to erase them?)
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
I don't want to create a bat file. I want to type the command one by one though that's lengthy and boring ! Is it possible ? and after finishing the last command (fastboot erase clogo), then what should I do with the command window ? please please help me to describe each & every step as you are expert to doing so and I'm totally new and I love my phone very much ! thanks a lot ...... waiting for your kind reply !

@mishua You should be able to use the flash.bat because your phone is locked. And you shouldn't type the commands one by one as you don't know what you are doing. Try the batch file first. As Itchi wrote if you like to play with different firmware images you can go forth and back anyway. Check the guide. The Bootloader is locked as long as you don't unlock it. It does not happen automatically after 14 days. After 14 days you have to enter the unlock menue again while being connected to the lenovo server. If you don't do this your phone is locked past this 14 days.
@[email protected]
edit: I couldn't resist and it didn't work:
fastboot erase modemst1
fastboot erase modemst2
After that. The SIM card is detected but the modem loses its connection within a minute as you already described in your posts.
edit:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Click to expand...
Click to collapse
Has the same effect as above. SIM Card is detected now, but doesn't get a signal.

Can somebody try the Device Rescue function of "Lenovo Smart Assistant"?
edit: I know I talking to myself. Anyway "Device Rescue" is not available for the P2 at the moment. Downloads only exist for other models like the P1.
edit2: To me to remember: Guide IMEI EFS Qualcom Reset , Qualcomm QPST Flash, Qualcom Lenovo Tools, Fastboot Images for Lenovo P2
edit3: Find someone who can make a full backup with QFIL QPST. It is decribed here.

Hi, I'm on same wave, but qpst look like (I want say solution try. Can anybody with functional modem make backup? Thanks for all brickers
I can try it in work, but up to two days, so maybe someone can be faster.

qcn backup
Hi here is qcn backup from working phone. To go to engeneering mode you have to press ####8899#. Smaller is from qfil tool, bigger is from qpst tool (software download). When I restored, I am back on internet 4G, can make or receive calls, BUT NO SOUND from speaker and MIC not working so. Any idea?

Related

Newly bought Lenovo P2C72 issues.

I have bought a Lenovo P2C72 4GB/64GB..
Opened it then it prompted for an update (no sim yet).
Build Number: V3.5_1652_5.1342.1_ST_P2c72
After update I plugged in Sim card..
Some say If I plugged in Sim card it will auto configure to P2a42. It didnt for me.
I found out that there is no google play.
There were numerouse Chinese Play stores and bloatwares. I want to get rid of it.
How can I transfer to P2A42? I cant unlock bootloader.. I think it needs Chinese number.
-What are my options to get to a Global Rom?
I have downloaded a ZIP file for P2a42 Nougat Update (1.9GB). Can I just use this for update?
[Update]
Please correct me if what I'm planning to do wrong and I'll raise some questions about my plans aswell.
1. I downloading the fastboot files for P2a42. Q> Can I fastboot even if my bootloader is locked?
2. I'll flash all execpt the bootloader.img (because of modem issues). Q> Is bootloader.img different from boot.img?
3. After flashing via fastboot (if I get to this part without issues) Can I go to Nougat Update through OTA zip file?
3.1 If not How can I update to Nougat?
[Update2]
1. Flashed via Fastboot (https://www.getdroidtips.com/install-official-stock-rom-for-lenovo-p2-p2a42/) Skipped bootloader.img
Problem.. Im stuck at Lenovo Opening White Screen already performed fastboot erase userdata
Process Log
C:\Program Files (x86)\Minimal ADB and Fastboot>TTT
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt_both0.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (33 KB)...
OKAY [ 0.031s]
writing 'partition'...
OKAY [ 0.031s]
finished. total time: 0.063s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash logo logo.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (1907 KB)...
OKAY [ 0.078s]
writing 'logo'...
OKAY [ 0.078s]
finished. total time: 0.156s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (21677 KB)...
OKAY [ 0.485s]
writing 'boot'...
OKAY [ 0.358s]
finished. total time: 0.858s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (25265 KB)...
OKAY [ 0.546s]
writing 'recovery'...
OKAY [ 0.409s]
finished. total time: 0.971s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash dsp adspso.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.375s]
writing 'dsp'...
OKAY [ 0.175s]
finished. total time: 0.552s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk0.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260121 KB)...
OKAY [ 5.648s]
writing 'system'...
OKAY [ 4.499s]
finished. total time: 10.147s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk1.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258079 KB)...
OKAY [ 5.612s]
writing 'system'...
OKAY [ 4.081s]
finished. total time: 9.693s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk2.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258077 KB)...
OKAY [ 5.599s]
writing 'system'...
OKAY [ 3.854s]
finished. total time: 9.453s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk3.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261716 KB)...
OKAY [ 5.704s]
writing 'system'...
OKAY [ 4.251s]
finished. total time: 9.970s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk4.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262033 KB)...
OKAY [ 5.736s]
writing 'system'...
OKAY [ 4.434s]
finished. total time: 10.171s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk5.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (251510 KB)...
OKAY [ 5.471s]
writing 'system'...
OKAY [ 3.897s]
finished. total time: 9.369s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk6.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259097 KB)...
OKAY [ 5.617s]
writing 'system'...
OKAY [ 3.835s]
finished. total time: 9.467s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk7.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.626s]
writing 'system'...
OKAY [ 3.946s]
finished. total time: 9.571s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk8.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259098 KB)...
OKAY [ 5.645s]
writing 'system'...
OKAY [ 3.984s]
finished. total time: 9.642s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk9.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259100 KB)...
OKAY [ 5.622s]
writing 'system'...
OKAY [ 4.191s]
finished. total time: 9.813s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk10.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (250251 KB)...
OKAY [ 5.469s]
writing 'system'...
OKAY [ 4.381s]
finished. total time: 9.850s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk11.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261655 KB)...
OKAY [ 5.681s]
writing 'system'...
OKAY [ 4.668s]
finished. total time: 10.349s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system systemchunk12.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (64584 KB)...
OKAY [ 1.422s]
writing 'system'...
OKAY [ 0.994s]
finished. total time: 2.416s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash modem NON-HLOS.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (131072 KB)...
OKAY [ 2.871s]
writing 'modem'...
OKAY [ 1.941s]
finished. total time: 4.812s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash fsg fsg.mbn
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (300 KB)...
OKAY [ 0.031s]
writing 'fsg'...
OKAY [ 0.031s]
finished. total time: 0.063s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.031s]
finished. total time: 0.047s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.891s]
finished. total time: 0.891s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase customize
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:customize: not found
erasing 'customize'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.031s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase clogo
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:clogo: not found
erasing 'clogo'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.031s
C:\Program Files (x86)\Minimal ADB and Fastboot>pause
Press any key to continue . . .
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
ZY223MSGQC fastboot
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.196s]
finished. total time: 0.198s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
rebooting...
finished. total time: 0.033s
C:\Program Files (x86)\Minimal ADB and Fastboot>
[Update3]
Nothing seems to work. Stuck in White screen booting. PLEASE HELP!
[UPDATE 4: Its Working Now with P2a42]
Using this guide. (https://www.getdroidtips.com/install-official-stock-rom-for-lenovo-p2-p2a42/)
Flashed this via Fastboot (https://mega.nz/#!3hhhhRYC!bDbs1VGHA7s0n-uH-B30fVDsulFRVw-ZbYTvheS9m8I/)
Note:
I excluded/removed (bootloader.img) from fastboot folder
then used the existing flashall.bat file included in the zip file
Code:
C:\Program Files (x86)\Minimal ADB Tool>flashall
I got bootlooped probably because I used the answer by Undesirable. Made my own bat file.
(Dont get me wrong though, its good answer just not for me atm)
https://forum.xda-developers.com/lenovo-p2/how-to/stock-rom-t3552973/page2
joemar53 said:
I have bought a Lenovo P2C72 4GB/64GB..
Opened it then it prompted for an update (no sim yet).
After update I plugged in Simcard..
However i found out that there is no google play.
There were numerouse Chinese Play stores and bloatwares. I want to get rid of it.
How can I transfer to P2A42? I cant unlock bootloader.. I think it needs Chinese number.
Click to expand...
Click to collapse
it's a diffrent device, you can't just "change to p2a42"
You should be able to put the row rom on it but it'll still be a p2c72 hardware wise (They don't have some 4g bands etc.)
BravoOscarKilo said:
You should be able to put the row rom on it but it'll still be a p2c72 hardware wise (They don't have some 4g bands etc.)
Click to expand...
Click to collapse
idc about the hardware bands its fine.. the Chinese software stinks..
can I just download a zip a ROW rom? what can I do with it next?
[Update]
just tried it using the software update app.
brings me to the chinese bootloader but failed update of somesort.
Bump Please help me.
joemar53 said:
Bump Please help me.
Click to expand...
Click to collapse
Have you tried sideloading playstore?
Siva Mk said:
Have you tried sideloading playstore?
Click to expand...
Click to collapse
I know I can side load Playstore. However I would want the updates from P2a42.. English stuffs
chinese security apps.. so annoying AF
joemar53 said:
I know I can side load Playstore. However I would want the updates from P2a42.. English stuffs
chinese security apps.. so annoying AF
Click to expand...
Click to collapse
In that case try the method suggested in the previous thread. I believe the question is the same.
Siva Mk said:
In that case try the method suggested in the previous thread. I believe the question is the same.
Click to expand...
Click to collapse
im stuck at White Screen Booting.. Bootloop
joemar53 said:
im stuck at White Screen Booting.. Bootloop
Click to expand...
Click to collapse
Can you get to recovery?
Siva Mk said:
Can you get to recovery?
Click to expand...
Click to collapse
Hmm that is weird, i have a P2c72 and before updating to the Nougat build.. it didn't have any chinese bloatware or any problems before or after 6.0.1
Got it working now Look at 1st post - [UPDATE 4]
Good job mate!
Great job!
C:\Program Files (x86)\Minimal ADB and Fastboot>
[/HIDE]
[Update3]
Nothing seems to work. Stuck in White screen booting. PLEASE HELP!
[UPDATE 4: Its Working Now with P2a42]
Using this guide. (https://www.getdroidtips.com/install-official-stock-rom-for-lenovo-p2-p2a42/)
Flashed this via Fastboot (https://mega.nz/#!3hhhhRYC!bDbs1VGHA7s0n-uH-B30fVDsulFRVw-ZbYTvheS9m8I/)
Note:
I excluded/removed (bootloader.img) from fastboot folder
then used the existing flashall.bat file included in the zip file
Code:
C:\Program Files (x86)\Minimal ADB Tool>flashall
I got bootlooped probably because I used the answer by Undesirable. Made my own bat file.
(Dont get me wrong though, its good answer just not for me atm)
https://forum.xda-developers.com/lenovo-p2/how-to/stock-rom-t3552973/page2[/QUOTE]
I have a P2C72 as well, tried your method and it is working 100% first time, no boot loop!
Can someone please provide me a link to download the P2C72 Nougat Rom Chinese Version?
Thanks in Advance

Help. I'm way out of my depth. Moto G5s XT1797

Firstly I will apologise for my lack of knowledge. I had no prior knowledge of how android works, and I have been learning as I go.
Here is my situation: I wanted to remove guest mode from my Moto G5s Xt1797 so I decided to root it. I followed the following process:
Test everything on my old Moto G. Succeed and try the same with the Moto G5s
Attempt to use KingRoot. Fail
Unlock Bootloader
Flash TWRP
Install SuperSu
Install Root Check
Rootchecker says "Device is not rooted"
Reinstall SuperSu. Same result
Attempt to install Magisk. Fail because SuperSu is installed
Attempt to uninstall SuperSu. Fail because phone doesn't think it is installed
Give up and try KingoRoot. After two hours it reached 39% and I stopped it and went to bed
Check Root Check. It says "Device is rooted"
Remove guest mode using BuildProp Editor
Success!
Check Root Check. It says "Device is NOT rooted"
At this point I left it because I had accomplished my goal. However, a few day later I noticed a problem
...
Realised my camera doesn't work
Do some research, find that the kernel is the most likely problem
Install this kernel. (I didn't realise it was incorrect)
Now camera and wifi don't work
Try flashing another incorrect kernel. Fail to install
Give up on the whole thing and try to restore to stock rom using this guide. Fail at "mfastboot flash partition gpt.bin"
Accidentally wipe phone. Can't access wifi to reinstall anything
Give up on that
Create backup using TWRP
Install Lineage 14.1. Camera and wifi work, but I have no idea how to transfer personal information across. I can't even call my wife because I haven't memorised her number.
Realise that Lineage has guest mode, the very thing I was trying to remove
Restore Backup
Try to reinstall stock ROM using .bat file as in this guide
Failure. Receive "(bootloader) image size exeeded partition limits" ("exeeded" spelled incorrectly).
Camera and wifi still don't work
Remove SIM to put in old phone, realise SIM card is wrong size, replace in Moto G5s
Now the camera, wifi and SIM don't work
Start losing sleep over it all
Give up
Write this post
In a nutshell:
MotoG5s
Bootloader unlocked
TWRP installed
SuperSu semi-successfully installed
Wrong kernel installed
Camera, wifi and SIM reader not working
I would like to just completely return to stock, albeit with guest mode still disabled. I don't care about removing bloatware at this point, I just need to repair my phone. Please help. I'm sorry that I have nothing to offer in return, except my love.
Hey um sorry if i got your hopes up with this reply as I can't actually help much and am also not very informed on android phones and tech etc but am learning as I go. I just wanted to ask, for my own phone issues I'm trying to resolve: is your phone a motog5s or a mota g5s plus? Where did you fin the download for LineageOS for a motog5s and could I please have a link? If it's only for a g5s plus, can I have your opinion on if you think this would be compatible with the motog5s?
I have the Moto G5s. NOT plus.
I found the LineageOS download on this G5s forum. https://forum.xda-developers.com/moto-g5s/development/rom-lineageos-14-1-t3727918.
It worked fine for me. The only issue I noted was full screen video tended to glitch non stop
What error are you getting when flashing stock ROM? Did you install Moto drivers?
Replace "mfastboot" with "fastboot" in every command and try again.
ShattrdChain said:
What error are you getting when flashing stock ROM? Did you install Moto drivers?
Replace "mfastboot" with "fastboot" in every command and try again.
Click to expand...
Click to collapse
Yes, Moto drivers are installed
Using the fastboot method I receive the error: "error: cannot load 'gpt.bin': No such file or directory"
gpt.bin is definitely in the folder, but fastboot can't find it
Using the .bat method I get much further before I receive: "(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed"
Here is everything from that process:
C:\Tools\New ROM>echo off
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
max-sparse-size: 268435456
finished. total time: 0.014s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.005s]
finished. total time: 0.007s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.010s]
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)
finished. total time: 0.108s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (5179 KB)...
OKAY [ 0.198s]
writing 'partition'...
(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.543s]
finished. total time: 0.746s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (66916 KB)...
OKAY [ 3.301s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.329s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (3120 KB)...
OKAY [ 0.199s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.228s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.022s]
finished. total time: 0.024s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.024s]
finished. total time: 0.026s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (16384 KB)...
OKAY [ 0.554s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.583s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (2195 KB)...
OKAY [ 0.095s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.121s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (16384 KB)...
OKAY [ 0.723s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.750s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (16484 KB)...
OKAY [ 0.751s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.776s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (513248 KB)...
OKAY [ 22.090s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 22.119s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (512318 KB)...
OKAY [ 31.832s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 31.860s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (524213 KB)...
OKAY [ 23.103s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 23.127s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (516197 KB)...
OKAY [ 21.656s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 21.685s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (523150 KB)...
OKAY [ 25.129s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 25.155s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (418542 KB)...
OKAY [ 19.140s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 19.168s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (476509 KB)...
OKAY [ 23.958s]
writing 'partition'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 23.987s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotDR: not found
erasing 'DDR'...
OKAY [ 0.011s]
finished. total time: 0.013s
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.006s]
finished. total time: 0.008s
Press any key to continue . . .
Andrew Reeson said:
I have the Moto G5s. NOT plus.
I found the LineageOS download on this G5s forum. https://forum.xda-developers.com/moto-g5s/development/rom-lineageos-14-1-t3727918.
It worked fine for me. The only issue I noted was full screen video tended to glitch non stop
Click to expand...
Click to collapse
Hmm okay thank you for this. And good luck with your phone!
Take your phone to the nearest service centre. Since your bootloader is unlocked, they might not help you but, I've got my Samsung and Vivo phones reflashed after I unlocked and bricked phones. You might have to request them a little.
ShattrdChain said:
Take your phone to the nearest service centre.
Click to expand...
Click to collapse
Unfortunately, the nearest service centre is 900km away, so that won't be an option unless I get desperate. I have sent an email to Motorola support, so I'll see if they have anything helpful to say
Good news! I installed Resurrection Remix and now everything works. My only gripe is that it has guest mode. Does anyone know if I can remove it using build.prop like on stock Android?
Glad to hear your phone is working again. No idea about the guest mode.
just a question, why do you hate guest mode so much?
Wait for next security patch what was your old security patch is it April patch the gpt.bin doesn't flash because if we flash the old security patch

I am not able to relock!!!

I recently unlocked my bootloader and now i want to relock it.
I used this thread for relocking:
https://forum.xda-developers.com/moto-z-play/how-to/guide-relock-bootloader-to-lasted-stock-t3718190
But now at the end it says
still need signed boot.img.
Please help me.
The log:
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot getvar max-sparse-size
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
max-sparse-size: 268435456
finished. total time: 0.178s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_set
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.171s]
finished. total time: 0.178s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (45 KB)...
OKAY [ 0.006s]
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)
finished. total time: 0.094s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.155s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.475s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash modem NON-HLOS.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modem: not found
target reported max download size of 536870912 bytes
sending 'modem' (73864 KB)...
OKAY [ 2.451s]
writing 'modem'...
OKAY [ 0.614s]
finished. total time: 3.084s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash fsg fsg.mbn
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:fsg: not found
target reported max download size of 536870912 bytes
sending 'fsg' (2612 KB)...
OKAY [ 0.093s]
writing 'fsg'...
OKAY [ 0.074s]
finished. total time: 0.174s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase modemst1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst1: not found
erasing 'modemst1'...
OKAY [ 0.022s]
finished. total time: 0.031s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase modemst2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:modemst2: not found
erasing 'modemst2'...
OKAY [ 0.026s]
finished. total time: 0.030s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash dsp adspso.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:dsp: not found
target reported max download size of 536870912 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.532s]
writing 'dsp'...
OKAY [ 0.167s]
finished. total time: 0.712s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash logo logo.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:logo: not found
target reported max download size of 536870912 bytes
sending 'logo' (2187 KB)...
OKAY [ 0.089s]
writing 'logo'...
OKAY [ 0.076s]
finished. total time: 0.178s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.588s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.300s]
finished. total time: 0.897s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash recovery recovery.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.546s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [ 0.343s]
finished. total time: 0.906s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (254735 KB)...
OKAY [ 8.398s]
writing 'system'...
OKAY [ 1.824s]
finished. total time: 10.247s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258156 KB)...
OKAY [ 8.306s]
writing 'system'...
OKAY [ 2.002s]
finished. total time: 10.327s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (248454 KB)...
OKAY [ 7.806s]
writing 'system'...
OKAY [ 1.782s]
finished. total time: 9.598s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (242885 KB)...
OKAY [ 7.650s]
writing 'system'...
OKAY [ 1.704s]
finished. total time: 9.373s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259562 KB)...
OKAY [ 8.387s]
writing 'system'...
OKAY [ 1.815s]
finished. total time: 10.211s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.05
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
error: cannot load 'system.img_sparsechunk.05': No such file or directory
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.5
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262031 KB)...
OKAY [ 8.430s]
writing 'system'...
OKAY [ 2.028s]
finished. total time: 10.475s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.6
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260168 KB)...
OKAY [ 8.542s]
writing 'system'...
OKAY [ 2.100s]
finished. total time: 10.650s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.7
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258453 KB)...
OKAY [ 8.087s]
writing 'system'...
OKAY [ 1.731s]
finished. total time: 9.828s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.8
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260863 KB)...
OKAY [ 8.387s]
writing 'system'...
OKAY [ 1.815s]
finished. total time: 10.214s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.9
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262078 KB)...
OKAY [ 8.389s]
writing 'system'...
OKAY [ 1.956s]
finished. total time: 10.363s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.10
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262141 KB)...
OKAY [ 8.417s]
writing 'system'...
OKAY [ 1.931s]
finished. total time: 10.368s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.11
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (257454 KB)...
OKAY [ 8.141s]
writing 'system'...
OKAY [ 1.774s]
finished. total time: 9.929s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.12
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (250058 KB)...
OKAY [ 7.803s]
writing 'system'...
OKAY [ 1.686s]
finished. total time: 9.492s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (110454 KB)...
OKAY [ 3.425s]
writing 'oem'...
OKAY [ 0.810s]
finished. total time: 4.242s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase carrier
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:carrier: not found
erasing 'carrier'...
OKAY [ 0.047s]
finished. total time: 0.049s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase cache
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:cache: not found
erasing 'cache'...
OKAY [ 0.019s]
finished. total time: 0.035s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase userdata
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:userdata: not found
erasing 'userdata'...
OKAY [ 0.073s]
finished. total time: 0.086s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase DDR
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotDR: not found
erasing 'DDR'...
OKAY [ 0.010s]
finished. total time: 0.012s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem fb_mode_clear
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
OKAY [ 0.174s]
finished. total time: 0.177s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.179s]
finished. total time: 0.180s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.186s]
finished. total time: 0.187s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash oem oem.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotem: not found
target reported max download size of 536870912 bytes
sending 'oem' (110454 KB)...
OKAY [ 2.409s]
writing 'oem'...
(bootloader) Security version downgrade
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 2.489s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (254735 KB)...
OKAY [ 5.724s]
writing 'system'...
(bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.833s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.1
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258156 KB)...
OKAY [ 5.861s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.907s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.2
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (248454 KB)...
OKAY [ 5.563s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.601s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.3
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (242885 KB)...
OKAY [ 5.473s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.505s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.4
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (259562 KB)...
OKAY [ 5.956s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.991s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.5
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262031 KB)...
OKAY [ 5.942s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.983s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.6
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260168 KB)...
OKAY [ 5.894s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.939s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.7
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (258453 KB)...
OKAY [ 5.781s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.816s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.8
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (260863 KB)...
OKAY [ 5.883s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.920s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.9
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262078 KB)...
OKAY [ 5.923s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.959s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.10
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (262141 KB)...
OKAY [ 5.943s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.987s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>11
'11' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.11
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (257454 KB)...
OKAY [ 5.748s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.794s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk.12
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (250058 KB)...
OKAY [ 5.646s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.680s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash boot boot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:boot: not found
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.407s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.607s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot oem lock
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
...
(bootloader) Still require signed boot.img
OKAY [ 0.177s]
finished. total time: 0.179s
C:\Users\Rohan\Downloads\ADDISON_NPNS26.118-22-2-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>
as u can see.
So if any one can help.
Thanks in Advance
Why do you want to relock the bootloader?
jonas210678 said:
Why do you want to relock the bootloader?
Click to expand...
Click to collapse
Well, i am selling this phone, so i want to relock the bootloader.
Ok, first of all, never EVER post anything that's longer than a few lines, especially no logs! just write them in a text file and attach it or at least put it on pastebin and look it here!
Second, did you try to flash latest ROM first? I can see a Security version downgrade there which looks like the bootloader of the ROM you try to flash is older than your current one. Are you sure you downloaded NPNS26.118-22-2-12 (or newer of you already got February patch)?
Artim_96 said:
Ok, first of all, never EVER post anything that's longer than a few lines, especially no logs! just write them in a text file and attach it or at least put it on pastebin and look it here!
Second, did you try to flash latest ROM first? I can see a Security version downgrade there which looks like the bootloader of the ROM you try to flash is older than your current one. Are you sure you downloaded NPNS26.118-22-2-12 (or newer of you already got February patch)?
Click to expand...
Click to collapse
Well, can u give me the links, i am not able to find it.
It will help me alot.
thanks in advance
Rohan_sadhwani said:
Well, can u give me the links, i am not able to find it.
It will help me alot.
thanks in advance
Click to expand...
Click to collapse
It's all in the guides thread...
Artim_96 said:
It's all in the guides thread...
Click to expand...
Click to collapse
well that dosent worked for me.
It also shows require signed boot img.
if u can send me the right link.
I will be thankfull.
thaank you

Bricked after trying to lock bootloader

Hello Guys, after unlocking the bootloader and using custom ROMs for some time, i tryed to lock the bootloader again and all gone wrong.
All i can reach is fastboot.
Any tentative of flashing return a validation error.
Getvar info:
PS C:\Users\fanel\Desktop\Nova pasta (2)> .\mfastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C0.CD
(bootloader) product: albus
(bootloader) board: albus
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 5
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SKHYNIX HCG8a4 RV=08 PV=A2 FV=00000000000000A2
(bootloader) ram: 4GB SKHYNIX LP3 DIE=8Gb M5=06 M6=03 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: 0034595812
(bootloader) cid: 0x0032
(bootloader) channelid: 0x19
(bootloader) uid: 4445E80800000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: 355644082056579
(bootloader) meid:
(bootloader) date: 06-23-2017
(bootloader) sku: XT1710-07
(bootloader) carrier_sku:
(bootloader) battid: SNN5983B
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 31 2:30:44 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/albus/albus:8.0.0/OPSS27.
(bootloader) ro.build.fingerprint[1]: 76-12-25-3/4:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.201.4.albus.retai
(bootloader) ro.build.version.full[1]: l.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-04400-89xx.0
(bootloader) version-baseband: M8953P_41.50.07.63R ALBUS_BRAZILDSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-gb7e088c (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 May 25 03:07:55 CDT 2018
(bootloader) sbl1.git: git=MBM-NG-VC0.CD-0-g4650d8f
(bootloader) rpm.git: git=bd19194
(bootloader) tz.git: git=5fda3f8-dirty
(bootloader) devcfg.git: git=5fda3f8-dirty
(bootloader) keymaster.git: git=5fda3f8-dirty
(bootloader) cmnlib.git: git=5fda3f8-dirty
(bootloader) cmnlib64.git: git=5fda3f8-dirty
(bootloader) prov.git: git=5fda3f8-dirty
(bootloader) aboot.git: git=MBM-NG-VC0.CD-0-g361b83a
(bootloader) frp-state: no protection (77)
(bootloader) ro.carrier: retbr
(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
finished. total time: 0.031s
Now i cant flash any ROM.
Do you guys have any idea?
Edit:
Flashing a 8.0 ROM i got this errors:
-
PS C:\Users\fanel\Desktop\Nova pasta (3)\ALBUS_OPS27.76-12-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml> .\fastboot flash boot boot.img
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.409s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.219s]
finished. total time: 0.627s
-
PS C:\Users\fanel\Desktop\Nova pasta (3)\ALBUS_OPS27.76-12-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml> .\fastboot flash recovery recovery.img
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.500s]
writing 'recovery'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.516s
-
PS C:\Users\fanel\Desktop\Nova pasta (3)\ALBUS_OPS27.76-12-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml> .\fastboot flash system system.img_sparsechu
nk.0
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 6.223s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.238s
You need right firmware to lock, must be the signed one.
You need the October one. Locking is tricky, the only way I could do it was as I described here: https://forum.xda-developers.com/z2...igned-boot-t3749041/post78082103#post78082103
Cupcake 1.5 said:
You need right firmware to lock, must be the signed one.
You need the October one. Locking is tricky, the only way I could do it was as I described here: https://forum.xda-developers.com/z2...igned-boot-t3749041/post78082103#post78082103
Click to expand...
Click to collapse
That could be the problem, but im not that interessed in locking anymore, just to make it work again.
Anyway, i will look for the firmware and give it a go.
Edit:
After trying ALBUS_OPSS27.76-12-25-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC firmware, i've seen in bootloader logs the message "image is too large" in pink letters.
Bump!
Malboritus said:
Bump!
Click to expand...
Click to collapse
Are you sorted out yet?
kewlzter said:
Are you sorted out yet?
Click to expand...
Click to collapse
not even close.
Malboritus said:
not even close.
Click to expand...
Click to collapse
I have some suggestions.
Flash 7.1 first. Then upgrade to 8.0
The error you are getting sounds like you are flashing the wrong firmware. I've seen this same size error once, and that was the issue for me.
Hold tight, I'll put you together a care package together.
kewlzter said:
I have some suggestions.
Flash 7.1 first. Then upgrade to 8.0
The error you are getting sounds like you are flashing the wrong firmware. I've seen this same size error once, and that was the issue for me.
Hold tight, I'll put you a package together.
Click to expand...
Click to collapse
*hope intensifies*
Malboritus said:
*hope intensifies*
Click to expand...
Click to collapse
Try this, Make sure to unzip the folder.
http://sendanywhe.re/3B86UE8G
Link expires in 47hr
kewlzter said:
Try this, Make sure to unzip the folder.
http://sendanywhe.re/3B86UE8G
Link expires in 47hr
Click to expand...
Click to collapse
Thanks! im away from home, but will have the phone in 3 days. I let you know if i have any sucess.
Dear All, this is Sudip here. I am not sure is this is he correct place to post the question, but I kinda helpless after searching for the answer for my question and not finding it...can anyone please tell me if moto z2 play will have any simultaneous dual 4g support (for example using 2 JIO sim) in any on the custom Roms? does this facility needs any builtin hardware or it just the software that can enable the facility? Any heads up will be appreciated..
sd.malakar said:
Dear All, this is Sudip here. I am not sure is this is he correct place to post the question, but I kinda helpless after searching for the answer for my question and not finding it...can anyone please tell me if moto z2 play will have any simultaneous dual 4g support (for example using 2 JIO sim) in any on the custom Roms? does this facility needs any builtin hardware or it just the software that can enable the facility? Any heads up will be appreciated..
Click to expand...
Click to collapse
if anyone can please share an update on the above.
kewlzter said:
Try this, Make sure to unzip the folder.
http://sendanywhe.re/3B86UE8G
Link expires in 47hr
Click to expand...
Click to collapse
Sorry for the long time!
No luck.
Code:
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.031s]
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)
finished. total time: 0.106s
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.134s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.352s
target reported max download size of 534773760 bytes
sending 'logo' (2163 KB)...
OKAY [ 0.082s]
writing 'logo'...
OKAY [ 0.041s]
finished. total time: 0.125s
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.409s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [ 0.214s]
finished. total time: 0.626s
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.506s]
writing 'recovery'...
(bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.527s
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.381s]
writing 'dsp'...
OKAY [ 0.120s]
finished. total time: 0.504s
target reported max download size of 534773760 bytes
sending 'oem' (232923 KB)...
OKAY [ 5.310s]
writing 'oem'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 5.357s
target reported max download size of 534773760 bytes
sending 'system' (517131 KB)...
OKAY [ 11.792s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 11.855s
target reported max download size of 534773760 bytes
sending sparse 'system' (506895 KB)...
OKAY [ 12.461s]
writing 'system'...
OKAY [ 3.346s]
sending sparse 'system' (16048 KB)...
OKAY [ 0.396s]
writing 'system'...
OKAY [ 0.084s]
finished. total time: 16.295s
target reported max download size of 534773760 bytes
sending sparse 'system' (522123 KB)...
OKAY [ 12.724s]
writing 'system'...
OKAY [ 3.198s]
sending sparse 'system' (2120 KB)...
OKAY [ 0.074s]
writing 'system'...
OKAY [ 0.024s]
finished. total time: 16.025s
target reported max download size of 534773760 bytes
sending 'system' (521179 KB)...
OKAY [ 11.888s]
writing 'system'...
OKAY [ 2.774s]
finished. total time: 14.665s
target reported max download size of 534773760 bytes
sending 'system' (513079 KB)...
OKAY [ 11.707s]
writing 'system'...
OKAY [ 3.052s]
finished. total time: 14.761s
target reported max download size of 534773760 bytes
sending 'system' (520497 KB)...
OKAY [ 11.894s]
writing 'system'...
OKAY [ 3.155s]
finished. total time: 15.052s
target reported max download size of 534773760 bytes
sending 'system' (250221 KB)...
OKAY [ 5.732s]
writing 'system'...
(bootloader) Invalid sparse image data
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 6.345s
error: cannot load 'system.img_sparsechunk.7'
target reported max download size of 534773760 bytes
sending 'modem' (75092 KB)...
OKAY [ 1.721s]
writing 'modem'...
OKAY [ 0.513s]
finished. total time: 2.238s
erasing 'modemst1'...
OKAY [ 0.031s]
finished. total time: 0.032s
erasing 'modemst2'...
OKAY [ 0.032s]
finished. total time: 0.033s
target reported max download size of 534773760 bytes
sending 'fsg' (2936 KB)...
OKAY [ 0.102s]
writing 'fsg'...
OKAY [ 0.056s]
finished. total time: 0.161s
erasing 'cache'...
OKAY [ 0.021s]
finished. total time: 0.023s
erasing 'userdata'...
OKAY [ 0.067s]
finished. total time: 0.068s
rebooting...
Really sorry about the delay.
bump
Try one of these (or the latest) from here:
https://mirrors.lolinet.com/firmware/moto/albus/official/RETAIL/
Make sure you use these fastboot commands:
Code:
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 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 system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase DDR
fastboot erase userdata
fastboot erase cache
fastboot oem fb_mode_clear
fastboot reboot
After it reboots, if it's still giving you problems , here is what I did.
I re-entered the ADB fastboot menu and on the side, using the volume keys , I selected "FACTORY" and then clicked the power button. I know sounds stupid, but that got my phone to boot to the OS.

[Help needed]

I seem to brick my phone. All I have now is original fastboot. I cannot install TWRP via ADB.
It says:
C:\Minimal>fastboot flash recovery twrp.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (30458 KB)...
OKAY [ 0.871s]
writing 'recovery'...
OKAY [ 0.240s]
finished. total time: 1.111s
After reset it goes to original fastboot again.
Please help.
Although it reports OK trying to boot into TWRP gives:
C:\Minimal ADB and Fastboot>fastboot boot twrp.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
downloading 'boot.img'...
OKAY [ 0.137s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 0.239s
OK, phone is alive, I just tried to install wrong TWRP via adb and that was the case. I managed to install correct one, and then via otg I transffered new rom and gapps.

Categories

Resources