yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 Questions & Answers] aleleo87:
Hi, because you should not flash bootloader.

you can try those 2 solutions:

the fast one, it should work. The flashall command flash every.img files he find in the fastboot directory. So try to remove the bootlader.img and execute the flashall command.

the manual one (longer one):

Put only the recovery.img, boot.img, and the system.img files ( you should have something like 13 , named "systemchunk0/12.img") in your fastboot directory and flash with fastboot ( the command is always the same: fastboot flash recovery recovery.img, fastboot flash boot boot.img, and for every single part of system.img you should flash like "fastboot flash systemchunk0(until 12).img " so you flash flash 13 times the system with avery 13 parts .

Sorry for my english i hope you solved that
[Lenovo P2 Questions & Answers] smaranramesh:
Then share it no
[Lenovo P2 Questions & Answers] itsjustbilly:
I'll post links when I get to my computer, but they're not Cwm flash able zips, they are fast boot files that you flash from DOS on a pc

---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------

I did try this, but I still have no signal because the modem file is part of the bootloader, and no modem means no mobile signal
[Lenovo P2 Questions & Answers] aleleo87:
Ah ok i didnt understand that you have this modem issue. I don't kno how to help you...you phone is bricked so you can test few solutions without more risks .

before flash the original recovery , boot and system by fastboot, you can try to install TWRP again and flash only the bootloader from TWRP (should support .zip and .img files). Then you turn the phone in fastboot mode and flash other stuff .
[Lenovo P2 Questions & Answers] itsjustbilly:
Taken from post 4 of the TWRP page on lenovo P2 forum

Factory Images & Systemless Mode

Q: I messed up help me?!

So you screwed up and didn't follow Rule Number One in the IT-Handbook?

Which is: Always create a backup before working on a system?

Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj

Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:

If you want to flash back the stock image. Simply run:

Code:

fastboot flashall

You can also replace all partitions if required.
[Lenovo P2 Questions & Answers] veimus:
Thanks, I was on P2a42_S038...TMO (T-Mobile, checking OTA update = you are using latest software) flashed this P2a42_S048_ and got OTA info to download latest ROM P2a42_S062_170117_ROW (103MB) :good:
[Lenovo P2 Questions & Answers] lutek26:
Witaj. Mozesz napisać jak wgrałeś czysty soft do Lenovo p2. Tez mam rom z t.mobile a nigdzie nie ma poradnika jak wgrać czysty soft.Pozdrawiam
[Lenovo P2 Questions & Answers] helppme:
Is there an alternative download link? What is Mega? I want to avoid these third party download utility if I can...
[Lenovo P2 Questions & Answers] Undesirable:
I put the following into a BAT file and placed it into ADB / Fastboot directory:

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

Extract all the files listed in the BAT file or simply extract the entire archive to ADB / Fastboot and launch the BAT file.
[Lenovo P2 Questions & Answers] nandakis4:
Does this work?? [MENTION=2758949]Undesirable[/MENTION]

the above post :P
[Lenovo P2 Questions & Answers] Undesirable:
Oh yeah, it unbricked me and put me back to stock so I could get OTA updates for Nougat. You need the archive posted earlier in the thread though.
[Lenovo P2 Questions & Answers] 911-Future_Maker:
[MENTION=2758949]Undesirable[/MENTION] Nice and elegant solution man! Typing all this stuff was so annoying. :D
[Lenovo P2 Questions & Answers] Undesirable:
For those who need an alternative download source, I offer this magnet link:

magnet:?xt=urn:btih:ef05ea3af4da8a0cbb137c10621942f3ae16d46f&dn=P2a42_S048_161111_ROW_fastboot.7z

It's slow unless lots of people help to seed it.
[Lenovo P2 Questions & Answers] shushan:
Is it possible to flash this firmware :P2a42_S048_161111_ROW_fastboot.7z on the P2c72 with firmware build number: V3.5_1652_5.1342.1_ST_p2c72 ???

I bought this phone 4GB Ram/64GB from china, but I want to put the international firmware on it.

Thanks!
[Lenovo P2 Questions & Answers] Yeseshvi:
how can I replace my data partition? It's not getting formatted due to an encryption error
[Lenovo P2 Questions & Answers] Undesirable:
If fastboot erase userdata doesn't work, then use TWRP to change user data file system to EXT4 then change it back to F2FS again.
[Lenovo P2 Questions & Answers] Yeseshvi:
Need help...

I flashed back the stock ROM (due to encryption error in custom 7.0 ROM) using fastboot commands, but my SIGNAL WON'T WORK after I started d phone . I've tried reflashing the stock firmware (and also custom ROMs) but my phone won't detect the signal. "About phone" settings show unknown baseband and IMEI... how to get it back :(

---------- Post added at 08:58 AM ---------- Previous post was at 08:06 AM ----------

I've flashed 'ROW' variant of stock ROM. Is there a different version for Indian variant?
[Lenovo P2 Questions & Answers] it@chi:
I'm in the same situation here... :(

if someone could upload a full twrp backup of a 6.0.1 or a 7 (with the modem partition, it would be great) :)

...Or find a way to flash NON-HLOS through fastboot.exe
[Lenovo P2 Questions & Answers] Undesirable:
So, umm, "fastboot flash modem NON-HLOS.bin" doesn't work?
[Lenovo P2 Questions & Answers] it@chi:
After unlocking the bootloader, when I try to flash NON-HLOS.bin, fastboot.exe return this error:

writing 'modem'...
FAILED (remote: Do not allow to flash Bootloader image on Unlock device)

Edit: I think I ****ed up when I formatted the phone with twrp. I should have backup before doing it, I know ...
[Lenovo P2 Questions & Answers] Undesirable:
Is your device P2a42?
[Lenovo P2 Questions & Answers] it@chi:
Yes, indeed.

Is there a workaround to avoid the error message when I try to flash NON-HLOS.bin ?

By the way, I also tried to relock the bootloader but it didn't work either.
[Lenovo P2 Questions & Answers] Undesirable:
Did you use the batch file method to flash back to stock? Because I used that method and I unbricked my P2a42 with no modem problems. https://xdaforums.com/showpost.php?p=71838187&postcount=12

When you flash back to stock using that method, if you still have no signal, can you now do OTA update in "Settings / About phone / System update"? If still no signal then do OTA update again to get Nougat.
[Lenovo P2 Questions & Answers] it@chi:
Yes I tried that too.:

Of course, some command return an error, like that one :fastboot flash modem NON-HLOS.bin.

After that, I rebooted and got the usual android wizard. After going through the first configuration, I got the OTA update and installed it.

I did a reboot but it the sim card wasn't recognized (the sim card is working fine with my other phone).

When I checked the hadware part in the settings, the modem part was still greyed out and no IMEI was shown.
[Lenovo P2 Questions & Answers] Undesirable:
Can you get OTA a second time then?
[Lenovo P2 Questions & Answers] it@chi:
What do you mean ?

First I flash a 6.0.1 rom, then got the first OTA (109MB), then the second one: P2a42_S233_170404_ROW.

Even after installing all those updates, the phone still didn't recognized the SIM card.
[Lenovo P2 Questions & Answers] Undesirable:
Well I'm out of ideas then. Even if you did do a TWRP backup, it doesn't back up the modem, AFAIK? How did your radio become corrupt if you can't flash it? Anyone know why he can't flash it?
[Lenovo P2 Questions & Answers] it@chi:
Is the OTA supposed to recreate the modem partition and flash the NON-HLOS.bin in it ?

I read somewhere that if you don't see any baseband information nor any IMEI info in the settings page, is because the modem partition was corrupted or empty. Is it the case ?

It's frustrating because everything else is working fine.
[Lenovo P2 Questions & Answers] Undesirable:
Yes, I was hoping the OTA would bypass the non-flashable radio in fastboot, but that doesn't appear to be the case. I have no idea how the partition became empty or corrupted and why it is non-flashable. Maybe if someone created a TWRP flashable zip of the radio?
[Lenovo P2 Questions & Answers] mishua0:
Can anybody confirm that by this way one can downgrade from stock nougat to stock marshmallow rom ? I want to go back to MM, bcause I can't connect any psiphon modded handler for using free net. but I really worried to install custom recovery and custom rom. pls answer ......

http://www.getdroidtips.com/install-official-stock-rom-for-lenovo-p2-p2a42/amp/
[Lenovo P2 Questions & Answers] Undesirable:
I can't confirm it now someone has radio bricked their phone and nobody has a solution.
[Lenovo P2 Questions & Answers] it@chi:
Don't know if you're talking about me but to be clear, I only bricked the modem part after formatting some partition with twrp.

Before that, I too wanted to downgrade to MM from N and was able to do it without unlocking the bootloader.

It's pretty simple: you download the MM stock rom (there is a link on this forum that point to this rom), and then you run the flashall.bat.
[Lenovo P2 Questions & Answers] Undesirable:
So it looks like it works to downgrade but you have to be careful what you do in TWRP then.

But which partition did you format? I didn't think radio showed up in TWRP.
[Lenovo P2 Questions & Answers] nandakis4:
i tried downgrading ! but my phone did boot ..

it got stuck at lenovo Logo !!

if anyone found success while flashing Stockfiles.. please let me know :)

i feel something was messing with stock MM rom when i downgraded from stock N rom
[Lenovo P2 Questions & Answers] it@chi:
those two simple lines did the trick for me:

(you have to do in terminal mode (through twrp for example))

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2

link:

http://www.theandroidsoul.com/fix-e...d-wifibluetooth-issues-restoring-twrp-backup/
[Lenovo P2 Questions & Answers] Undesirable:
Hmm, I wonder why:

fastboot erase modemst1
fastboot erase modemst2

in the batch file didn't work.
[Lenovo P2 Questions & Answers] it@chi:
It appears that what I've done earlier this morning isn't fully solving my problem :\

After flashing a MM rom with fastboot, I ran the two commands to erase the modem partition

(the fastboot command to erase modemst1 and modemst2 doesn't worked for me).

The SIM card is now detected by the system, I can tip my pin code and for a few second I can get a signal. But after that I lost that signal and can't connect anymore:

- I have an IMEI number (which I can see in settings)

- The baseband version installed is M8953_7000.100.02.06x (It was greyed out before the commands I ran this morning).

- I can see the access point in settings->mobile network settings->Network operators , but I can't connect to mine

At this point I'm lost. I thought the problem was solved but it seems that there is still something missing
[Lenovo P2 Questions & Answers] Bardales:
I was reading all the post and I have the same problem, my p2 doesn't recognise the sim card, I haven't signal. I will try to do this last step you've mentioned.

I had bricked differents devices before but I fixed with a fastboot restore. I don't know why it doesn't work on our p2.

Ohh and thanks a lot to [MENTION=2758949]Undesirable[/MENTION] for try to help us ;)
[Lenovo P2 Questions & Answers] Undesirable:
What happened to cause your signal to disappear in the first place, that's the important thing. What steps did you take for that to occur? I'm not flashing any custom ROM until we can resolve this issue.
[Lenovo P2 Questions & Answers] Bardales:
I tried to root my p2, so, I unlock the bootloader, flashed TWRP through fastboot. On TWRP I flashed supersu (I've tried so many, I can't remember what version), the P2 didn't start and I tried to flash a modified version of the Nougat versión this one . I think the problem is the Wipe's I did. I think the Wipe System was not correctly cause it didn¡t start again. And then, I tried to fix it flashing fastboot stock ROM but, my surprise, I haven't mobile signal...:eek:

Edit: I think I have fixed the problem as [MENTION=1981536]it@chi[/MENTION] said before Here, to be exactly, I went to that page and followed the instructions on the "Bootloader mode using fastboot commands" . I put the simcard into the p2 and it's working for me. If I don't write again, its because the problem has fixed for ever, if not, you will see more coments from me here.
[Lenovo P2 Questions & Answers] it@chi:
Good for you.

Personnaly, I tried both way (fastboot and sh through twrp terminal) and I keep loosing my signal a few seconds after I enter the sim pin code.

Which version of baseband do you see in the settings ?

Edit: Can you take a backup of the modem partition with twrp, and post it please ?
[Lenovo P2 Questions & Answers] mishua0:
hi ! When you tried to downgrade, then your phone's bootloader was locked ? or unlocked ? and how you flashed ? with flashall command ? or manually creating a bat file ? and what's your phone's present condition ? pls let me clear that is it happened for only unlocked device ? or locked bootloader also ?
[Lenovo P2 Questions & Answers] sence:
I am in Stock Nougat Rom S233 (without root access and with locked boot loader) . Thinking about flashing that S048 mm fastboot rom, 'cause I messed up radio band in 1st sim. I tried to install "P2a42_S062_170117_ROW_TO_P2a42_S232" (OTA 1.91GB ZIP file) using stock recovery,but failing at 48%. Though updating successfully with P2a42_S232_170320_ROW_TO_P2a42_S233 ota 78MB zip with stock recovery. (but not solving gsm connectivity issue). IMEI is showing fine with sim identifying perfectly with APN. That sim slot only connecting to 4g now. No 2g, have to check 3g though. I accidentally changed the radio band for that slot to US band,when that slot was put to gsm only mode. I swear it was accidental 'cause I made the same mistake in couple of other mobiles, but got out 'cause custom recovery was already installed in them with root access.

Haven't tried the below commands using fastboot,as I have seen others got out of the similar situation. Not sure if their bootloaders were locked though .

adb reboot bootloader

fastboot erase modemst1

fastboot erase modemst2

fastboot reboot

I don't have an efs backup and worried if the locked bootloader cause an issue.
[Lenovo P2 Questions & Answers] mishua0:
I'm not clear what you wrote ..... Did you downgrade from Nougat to Marshmallow and upgrade to nougat again ? when your sim slot problem started ? After downgrading ?
[Lenovo P2 Questions & Answers] cyrrrinda:
hi, same trouble here ... any solution, please ?
[Lenovo P2 Questions & Answers] cyrrrinda:
nobody? please help if you know how to get back signal ... I see SIMcard, IMEI, baseband .. but still no signal (SIM tested in other phone and working)

---------- Post added at 05:19 PM ---------- Previous post was at 05:17 PM ----------

I tried everything from that forum (that two magic lines from terminal) but still without signal
[Lenovo P2 Questions & Answers] Wmateria:
It just seems some people modify or erase something that they're not supposed to for these results to happen.

For those who have successfully downgraded, good for you.. but i wouldn't do it or recommend it. I've only reversed the process to Stock Firmware by obtaining the Original Stock Recovery provided with the Original Firmware on other devices. Some brands have a Downgrade package to flash via stock recovery before moving on to downgrading. What i don't get is how some users lose the radio band signal.. unless you flashed the wrong firmware or the wrong file or both.. or wiped something. Just remember there is 2 models with 2 different network bands.. and if encryption had to do anything.. make sure you undo it.

I have like a week or something before bootloader gets unlocked and asked someone with the same model i have; the 4GB 64GB version.. have updated all the little updates of MM and then updated to Nougat.. no regrets on updating to Nougat.. and my device is now a P2a42 model despite it says P2c72 on the top edge of my phone. So.. i did ask someone that uses the same model if Bootloader unlock and TWRP and Flashing is good.. he said yes.. but he had to Re-Flash two more times in order to work the Lineage 13 Rom.. so.. i had to make sure. I'm not flashing anytime soon... only reading on forums about the P2 Roms, etc. :good:

So just be aware on what you guys do and what you flash or modify and ask around before doing it..
[Lenovo P2 Questions & Answers] heatfire:
Thank you! this saved me :) now my phone is back to working fully again on Nougat atleast.. did not try MM..

Had to type it through TWRP though. adb shell didnt work.
[Lenovo P2 Questions & Answers] itsjustbilly:
If you work this out let me know as i have the same issue
[Lenovo P2 Questions & Answers] sisqin1:
Hi cyrrrinda,

Were you able to resolve this issue?
[Lenovo P2 Questions & Answers] erlenkoenig:
Same problem here. Sim card and IMEI are ok, but still no signal.

Maybe some hint can be found here:

https://xdaforums.com/showpost.php?p=71998653&postcount=27

Someone know how to change network band from United States to others?
[Lenovo P2 Questions & Answers] eried1:
I'd like everything back to stock, but this thread got me nervous. What if you restore everything but the bootloader (assuming you've an unlocked one)? Would you revert to Marshmallow and avoid the problem with losing your signal?

Anyone who had any luck flashing these two ways?

[MENTION=2758949]Undesirable[/MENTION] Was your bootloader unlocked? Seems like you have to be very wary of what you do if that's the case.
[Lenovo P2 Questions & Answers] erlenkoenig:
Still no solutions?
[Lenovo P2 Questions & Answers] Ismaill40:
Solution for no network signal from your sim card

GUYS I MADE AN ACCOUNT TO SHARE ONLY MY SOLUTION WITH YOU GUYS <3 :D:D

I have a Lenovo P2a42. I dont really like the update to 7.0 ( too much bugs) so I decided to downgrade it to 6.0.1. But there was one problem: no signal from my SIM card ( the same sim card works in other smartphone)

Here is the fix:

1. Setup ADB and Fastboot on your PC.

2. Enable Developer options & USB debugging on your Android device.

3. Connect your device to the PC and open a command window on the PC.

4. Issue the following commands one by one:

adb reboot bootloader

fastboot erase modemst1

fastboot erase modemst2

fastboot reboot

That’s all. Hope the fixes shared above helps you resolve the issues. :laugh::good:
[Lenovo P2 Questions & Answers] botson71:
Same problem here with accidental change of network to USA band. Now the 1st slot gets only 4G, no 2G or 3G.

Did anyone find a solution to this problem?
[Lenovo P2 Questions & Answers] erlenkoenig:
No solutions... I have sent mine to Lenovo service center 20 days ago and still no news ...

The technician however told me that if the IMEI and SIM are ok it means that is lost the phone serial number...

Maybe this can help...
[Lenovo P2 Questions & Answers] botson71:
Thanks for replying.

I'll try first to solve it myself and if I can't, I'll send it to Lenovo service too (which is incredibly slow in my country, I've been told)
[Lenovo P2 Questions & Answers] AAathavan:
How to Bypass Google account in Lenovo P2?
[Lenovo P2 Questions & Answers] abhayruparel:
https://youtu.be/PWG94s16dVM

Here's a video tutorial .
[Lenovo P2 Questions & Answers] erlenkoenig:
Bad news: Lenovo sent back the phone without accomplish any repairs beacuse they refuse to operate, even on payment, onto devices with an unlocked bootloader.
[Lenovo P2 Questions & Answers] j.llorente:
Wifi connection start up is very slow with 233. I turn on wifi and it connect in 100 seconds. Before a reboot, it works ok, but some hours before reboot, I have the same issue (I think is due doze?). Someone with the same issue? Or it is a bug from 7.0? Or it's only hardware issue for me?

Thx!
[Lenovo P2 Questions & Answers] botson71:
Their service is really outrageous and I will suggest to complain to your local consumer protection office.

My P2 has locked bootloader, completely unmodified and Lenovo Germany refuses to give me their customer service contact details because I bought the phone from Amazon Italy, therefore according to them I should send it back to Amazon Italy.

This is of course against the EU regulations, Lenovo is obliged to offer paneuropean warranty, therefore I'll complain to my local consumer protection office.
[Lenovo P2 Questions & Answers] Datech2:
hey ,

My Lenovo P2a42 got bricked while charging overnight he r bricked , no usb-debugging activated ,wasn't rooted or what so ever

I can enter the "AP Fastboot Flash Mode ( Secure)" when connected to a 2 amp charger

Where I have the options to press start, power Off and Barcodes when I pres start the phone flashes the Lenovo logo and reboots

when connected to my laptop I can see " Qualcomm HS-USB QDLoader 9008(com4)"

Is there anny way to fix my phone?

thanks in advance !﻿
[Lenovo P2 Questions & Answers] abhayruparel:
You need to install drivers here is the link https://goo.gl/hZXj89 [MENTION=8471365]Datech2[/MENTION]
[Lenovo P2 Questions & Answers] Datech2:
Could you give me a short tutorial of what I need to do next ? I've read through the forum but I can't seem to get it to work
[Lenovo P2 Questions & Answers] abhayruparel:
Just install those drivers and your device will be detected in fastboot mode. If you want to change firmware you can try this https://xdaforums.com/showthread.php?p=73246564
[Lenovo P2 Questions & Answers] cyrrrinda:
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?
[Lenovo P2 Questions & Answers] eried1:
Speaker? Do you mean the alternative "handsfree" when making a call? Make sure it's enabled. Also, some operators have the stupid option to entirely disable the speaker if you go into "call settings". I accidentally disabled it a week ago. Got it working yesterday. All along I thought the mic was broken.
[Lenovo P2 Questions & Answers] erlenkoenig:
I LOVE YOU!

With this backup my phone finally fully works again!

But I don't know why you have no sound... for me the backup worked...
[Lenovo P2 Questions & Answers] cyrrrinda:
Hi, I am pleased... :) and what about IMEI ? Do you have your originals?

---------- Post added at 06:08 AM ---------- Previous post was at 06:03 AM ----------

And please... which backup did you use? smaller or bigger, qfil or qpst? Thanks...
[Lenovo P2 Questions & Answers] cyrrrinda:
I cannot hear anything from phone (handsfree or not) and on the other side nothing is heared. SRR for my English....:angel:

---------- Post added at 07:58 AM ---------- Previous post was at 07:52 AM ----------

Hi, I am pleased... and what about IMEI ? Do you have your originals?

And please... which backup did you use? smaller or bigger, qfil or qpst? Thanks...
[Lenovo P2 Questions & Answers] cyrrrinda:
And... :) did you make it on rooted phone or not?
[Lenovo P2 Questions & Answers] cyrrrinda:
wow ... I am back ... used qcn backup from 244 firmware a EVERYTHING is working