yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 Questions & Answers] medwatt:
I think we have proof now that is not an isolated issue. A lot of us are experiencing it at the same time. There was a similar issue last week for OTA updates, but after some pressure in the Lenovo forum, the servers were back online. I don't know if this is a temporary problem and the servers will be online soon, or OEM unlock service is down for good.
[Lenovo P2 Questions & Answers] QUAD_FOXX:
yesterday. it was the first time checking after the update.

---------- Post added at 02:06 AM ---------- Previous post was at 02:06 AM ----------

yea 32gb model
[Lenovo P2 Questions & Answers] kongha:
After have tried Lenovos "support" before I will not send a bug report to them. Hopefully someone else will do it thou
[Lenovo P2 Questions & Answers] robuser007:
Does a factory reset help (do I need to wait another 14days?) ?
[Lenovo P2 Questions & Answers] robuser007:
I could run the oem unlock command in fastboot :)

No reset needed, just ignore the message ( LENOVO ID WITHOUT PERMISSION)
[Lenovo P2 Questions & Answers] kongha:
Could you be kimd to post the command you used?
[Lenovo P2 Questions & Answers] AGAWhitty:
I am having the LenovoID without permission issue but this is happening when trying to turn on allow OEM bootloader unlocking in the developer options and I believe this has to be turned on before the fastboot command will work.

When I try the fastboot command of fastboot OEM get_unlock_data to get the code I need to convert for the unlock code, it returns Not Found for all values.

I contacted sorry about this but they want talk about it because they don't 'support it', I sent them the link for getting the code converted (https://motorola-global-en-uk.custhelp.com/app/standalone/bootloader/unlock-your-device-b) and said if you don't support it why do you offer the service? And they said yes we provide the service but don't support it. :confused:. Asked who could give support on this and they said they don't know...

:(

---------- Post added at 08:22 PM ---------- Previous post was at 07:47 PM ----------

I've just seen in another thread that the OTA servers are down because there is a new update coming so maybe these are on the same server and it will be up again soon.
[Lenovo P2 Questions & Answers] kongha:
Sorry, but this is so funny. Because its sooo typical Lenovo service
[Lenovo P2 Questions & Answers] Frenetik123:
They locked the main forum thread now, only to unlock it tomorrow. They request a proof that it was ever possible to unlock the bootloader. So they can, afterward, say it was never meant to be a feature, it was just a bug.
[Lenovo P2 Questions & Answers] ykcmaster:
No worries there are a lot of hard proof in the internet. Im sure it is just an moderator that are not familiar with the phone. They are all volunteers after all.
[Lenovo P2 Questions & Answers] tariqbadar290:
Guys start tweeting about this to the CEO of Lenovo so that they get to know about this issue by marking them to the below twitter handles.
[MENTION=376228]lenovo[/MENTION] [MENTION=376228]lenovo[/MENTION]_in [MENTION=1756986]rahul6[/MENTION]10 [MENTION=1543094]yuan[/MENTION]qingYang
[Lenovo P2 Questions & Answers] jul_rant:
I have a Lenovo P2, but I have not launched the unlock process yet.

I have an idea, but don't know if it can work so I don't want to give too much exeptation about it.

If I understand well https://unlockapi.lenovo.com is used by chinese roms and works and https://unlockrowapi.lenovo.com used by EU roms doesn't work anymore.

What about use a traffic generator to intercept the request (at least the url or the ip) and reroute unlockrowapi.lenovo.com to unlockapi.lenovo.com?

A first try to begin could be to use a laptop connected to internet wirely, and share this connection to the wifi interface (through windows it is easely manageable - look for hostednetwork). Connect your lenovo to the access point, then try to spy requests with wireshark (you ll not be able to modify traffic with this tool, but spy the traffic only).

If this works, the next step is to use a traffic generator and try what I have explained.

---------- Post added at 05:28 PM ---------- Previous post was at 05:14 PM ----------

Note : To configure access point in windows follow this :

https://superuser.com/questions/804227/how-to-get-assigned-ips-by-hostednetwork#answer-940050

---------- Post added at 05:32 PM ---------- Previous post was at 05:28 PM ----------

the access point is not functionnal with my first try, but sure we can find a way to make it working.

---------- Post added at 05:41 PM ---------- Previous post was at 05:32 PM ----------

Since there is a SSL connexion, not sure all this will work
[Lenovo P2 Questions & Answers] lozohcum:
OEM unlock codes are bounded to your IMEI numbers. You would have to find a function that takes your IMEI and returns oem unlock code.

Take in mind that oem unlock code is a very long char set + it might be generated randomly and then assigned to IMEI. This result with number of possible outcomes that is basically impossible to solve.

OEM unlock codes are made the way that noone can unlock bootloader without asking the company for the code first.
[Lenovo P2 Questions & Answers] jul_rant:
Thank you for your response,

The point is not to find the unlock code but only use the Chinese URL instead of the EU one.
[Lenovo P2 Questions & Answers] DS-1:
I know that a lot of chinese stores who sell P2C72 flash these phones with P2A42 ROMs before selling it.

Now should we do the opposite? Maybe a P2A42 with a P2C72 ROM could connect to chinese server to unlock OEM bootloader...
[Lenovo P2 Questions & Answers] jul_rant:
But we need the unlock code to do that no?
[Lenovo P2 Questions & Answers] DS-1:
These chinese sellers sell phones with locked bootloader, so I don't think they unlock first, flash and then relock the bootloader.
[Lenovo P2 Questions & Answers] jul_rant:
Mmm, interesting...

May be flashing stock ROM is possible even with a locked phone. In that case, it would be possible to flash the Chinese ROM, and unlock bootloader with this version. Who can try?

Read this, may be we can find more explicit message : https://xdaforums.com/lenovo-p2/help/stock-recovery-issue-t3556401

---------- Post added at 09:47 PM ---------- Previous post was at 09:45 PM ----------

In this tutorial to install stock ROM, they don't speak about unlocking the bootloader :

https://www.getdroidtips.com/install-official-stock-rom-for-lenovo-p2-p2a42/
[Lenovo P2 Questions & Answers] adhammagdy:
I have an ad blocker app on the phone called adguard.. it makes a vpn service on the phone with a local proxy in order to intercept and filter traffic.. furthermore it has the ability to filter https data by making the user install a root certificate on the phone.. then adguard works as a man in the middle and is able to decrypt and filter traffic in https connections..

Can this technique be useful in our situation???
[Lenovo P2 Questions & Answers] prashu199:
O man..this could work. Awesome

---------- Post added at 10:36 PM ---------- Previous post was at 10:22 PM ----------

Here is the link for chinese rom file

https://www.stupdroid.com/2016/12/stock-rom-lenovo-p2.html?m=1
[Lenovo P2 Questions & Answers] Volvados:
I tried something with Virtual Hosts, making the ip of unlockrowapi.lenovo.com resolve to unlockapi.lenovo.com, but it didn't change a thing.

You could technically set up a local server on a pc to send the requests to instead.
[Lenovo P2 Questions & Answers] ibreakbad:
Working again. Go and unlock!!! Yayyyy
[Lenovo P2 Questions & Answers] Frenetik123:
Can confirm, is working. May Android O come to us in official. Go unlock and enjoy!
[Lenovo P2 Questions & Answers] prashu199:
Yeahhhhh.Jump on right to it. Thanks everyone for the support.
[Lenovo P2 Questions & Answers] atrirocks:
Please someone tell me wgere to write the command fastboot oem unlock

---------- Post added at 05:29 PM ---------- Previous post was at 05:28 PM ----------

Please explain in a bit detail. I just can't understand the thing. Please........
[Lenovo P2 Questions & Answers] lozohcum:
then you probably shouldn't unlock bootloader :)
[Lenovo P2 Questions & Answers] prashu199:
Watch this video and do it. U wont have to write the commands even. Download necessary files from the video description links

[youtube]VHuoOy0AvR8[/youtube]
[Lenovo P2 Questions & Answers] legiontao:
****ing working!!!!! But ****ty 14 days now :( hope it will work after this 14 days :(
[Lenovo P2 Questions & Answers] Piypoo:
Well , something good is happening . Finally able to make some progress .
[Lenovo P2 Questions & Answers] jul_rant:
Ok, good to know !!

Looks like on my side I'm stuck at the login page.

I do :

- params > check OEM unlock

- then I have to confirm my pin

- then I have a Warning popup, I click Activate

- then another Warning popup on data wipe, I click Ok

- then I read the full text, validate and click next

- on ID Lenovo page, I click connect

- I enter email and password, and click connect

-> Then I have an error with "network connection error : check network"

Am I the only one with this issue?!

---------- Post added at 11:22 PM ---------- Previous post was at 11:13 PM ----------

my mistake,

I had a network issue !

waiting for 14 days too now..

We can expect a rush in 14 days in that forum I guess !
[Lenovo P2 Questions & Answers] ykcmaster:
You can research this yourself but since you asked, I will explain briefly of what I know about adb and fastboot.

ADB (Android Debug Bridge):

Used for developing an android device, it can perform any action that the Android Interface allows and sometimes even more such as extracting files, install applications, shutdown/restart the device, etc. You need to allow android debugging on the developer options.

Fastboot :

A diagnostic tool with the ability to flash a device. fastboot oem unlock is pretty self explainatory, it unlocks the bootloader.

If this is your first time, just find a full guide and follow it. Full guide, not half assed guides.
[Lenovo P2 Questions & Answers] atrirocks:
I did that exactly but still thanks for helping
[Lenovo P2 Questions & Answers] joshthemajor:
For me worked too. 14 days now to wait.

Thank you very much.

So, do you think they'll keep the server up now?
[Lenovo P2 Questions & Answers] misterroper:
I had the same error- 'network not available' despite being connected and logged in to Lenovo ID.

This probably sounds very obvious but the reason I was getting the network not available error message is that the tab 'Lenovo experience program' wasn't selected. It's located at the bottom of settings>about phone>. As soon as I activated that as well as being logged into Lenovo ID the 14 day wait period started. Just 2 weeks of wasted time to wait now for no good reason at all.
[Lenovo P2 Questions & Answers] joshthemajor:
I wonder now if during this 14 days the server will go down again if we will still be able to unlock it or not.

Because to reach the count down page looks like it is still using the server to check.
[Lenovo P2 Questions & Answers] username_01:
No, you will not be able to unlock it. I had 3 days remaining before the last server issue in March, and was able to unlock p2 only when server went back live.
[Lenovo P2 Questions & Answers] leo_97:
I don't think so. When the server was off line they just said "we don't support bootloader unlocking", if server go back off line, then users won't be able to unlock again. I think they turned on again only bc we made some noise on internet (take a look at the petition on change.org (linked somewhere above) and those links there).

And yes, I'm waiting these 14 days to unlock too... Hope it'll work fine.
[Lenovo P2 Questions & Answers] pokee2000:
from 2019.....the network issue still ....cant unlock

---------- Post added at 04:34 PM ---------- Previous post was at 03:55 PM ----------

wawo....get it so fast

for anyone have issue with unlock oEm....plz disable adguard if u have....somehow they block the server;)
[Lenovo P2 Questions & Answers] oso1998:
Hello guys , I wonder if there is any solution for this problem here or elsewhere, I've reset my phone to factory settings and there is nothing installed on it, i tried connecting to network via mobile data and WiFi and even both but without success ,logging in and out (Lenovo ID) even creating a new account and completing registration til the end but nothing seems to work . I hope that someone knows what to do , best wishes to you all and have a great day.
[Lenovo P2 Questions & Answers] martin149:
The SSL certificate expired this year. If you set the clock on your device a year back it does still work.
[Lenovo P2 Questions & Answers] Riteesh:
Guys, put your click before 10 july 2019, the time will start but when iput the current time back it shows same error, can anyone help please
[Lenovo P2 Questions & Answers] martin149:
When the 14 days are over, you can just set the time back once again to do the unlocking. Unless Lenovo issues a new certificate, there isn't much more you can do.
[Lenovo P2 Questions & Answers] eljuggy:
To unlock the bootloader, change your Lenovo P2 date somewhere in June 2019 (untick "automatically get Date from network) when requesting and also after waiting for the 14 days when confirming the unlock request.

This should be in bold on the 1st post, and the next post should tell when the Lenovo server problem is solved.
[Lenovo P2 Questions & Answers] star999:
aynı şey benimde başıma geldi. otomatik tarih yenileme çentiğini kaldırdım. tarihi 1 sene geri aldım. onay verdim. ancak gelen uyarı mesajında, bu onayı daha önce verdiniz, "14 gün beklemeniz gerekiyor" diye bir yazı çıktı. mecbur bekeleyeceğiz. bakalım ne olacak.
[Lenovo P2 Questions & Answers] matibu06:
For example - for me change date to June 2019 dont work. But change date to June 2019 + clear data of Lenovo ID app working :)
[Lenovo P2 Questions & Answers] Kidb:
Is there still no way to unlock without the waiting period? :confused:
[Lenovo P2 Questions & Answers] eljuggy:
Did you try to "advance" system time on the phone ?

Else I see no other option.
[Lenovo P2 Questions & Answers] Jerghal:
This is my 3rd P2 I've unlocking. 2 worked fine, but this 3rd one doesn't. But I think I know the reason but not the solution.

For the first 2 I did the unlock after about 14 days (give or take a few days). I selected to OEM unlock slider and DIRECTLY after did the fastboot commands.

For this 3rd one I also did the unlock slider, authorized with the lenovo account but DID NOT do the fastboot commands because the user hadn't backed up their data so I guess I could do that OEM unlock later. WRONG.

If you try that again you get the infamous unauthorized message and the one saying there is a network problem. That is obviously not the case, it's more like the certificate they issued expired because if do the fastboot oem unlock command it says something about a code missing (the certificate code I guess).

So the question is: can you request the unlock certificate again in any way or can you only do that once?
[Lenovo P2 Questions & Answers] matibu06:
Maybe, but for me its first bootloader unlock - changed mainboard ;)
[Lenovo P2 Questions & Answers] eljuggy:
Please can someone sticky this thread?

New threads keeps being created for this.
[Lenovo P2 Questions & Answers] NightShade256:
It was me who created the new thread but I will be deleting as I found the solution of changing the time in this thread. Thnaks!!
[Lenovo P2 Questions & Answers] demdam:
anyone found a solution? Got my P2 today and without unlock its pretty useless
[Lenovo P2 Questions & Answers] ener2005:
Hi everyone,

I am on stock android 7 and finally decided to flash Lineage 18. I requested to unlock my P2 few weeks ago and 14 days countdown started. But already 5 days I cant connect to lenovo server to finalize the unlock. It is always showing that network is unavailable ...

Googled a lot and tried to register another lenovo account / change date etc nothing working.

Maybe it will work from someone's lenovo account who already managed to unlock the device?

will be much appreciated for any help.
[Lenovo P2 Questions & Answers] mmx1337:
Hi everyone!

I figured it out.

It is again a certificate issue; however, this time the Lenovo server isn't to blame.

The Lenovo P2 has the certificate issue.. Namely, the phone doesn't have the issuer certificate for the Lenovo server in the Android certificate store.

To fix it, do the following:

Find a desktop browser of your liking (Firefox), and pull up the following website:

https://unlockrowapi.lenovo.com

(https is important!)

Then, click the padlock sign next to the address bar, followed by the right arrow and "More information".

Click on 'View Certificate".

Then click on the certificate on the middle of the page, of the three available "Secure Site Pro CA G2" (issuer certificate).

Scroll down to "Miscellaneous", and click on "Download PEM (cert)".

Move this file to your Lenovo P2.

Then, on the Lenovo P2, import the issuer certificate by navigating to Settings->Security->Credential Storage->Install From Storage.

The phone will open up a file browser intent, where you can select the certificate. It will then ask you how you want to import the certificate. Choose "VPN / apps". You can give it any name you like afterwards.

After all that, try to do the bootloader unlock by going to Settings->Developer Options->OEM Unlocking.

Create or sign into your Lenovo account, and boom! It should work!

You may have to log out and back in to get it to work, though.

Mine worked immediately, but of course by immediately I mean that the 14 day timer started.

I was connected over WiFi, but also had the Settings->About Phone->Participate in Lenovo Experience Program option turned on, as others have suggested. Additionally, I added my phone to my Lenovo account via the Lenovo App (https://play.google.com/store/apps/details?id=com.lenovo.serviceit).

The system clock does not have to be changed, because the Lenovo Bootloader Unlock Server certificate is valid until 2022-06-30.

There are probably thousands of ways to get a hold of the issuer certificate; Firefox (or other desktop browser) seems easiest. I couldn't coax Chrome on Android to download the certificate for me directly to the phone.

Also, you might have to import the Root CA certificate (DigiCert Global Root CA) as well, in case your phone does not have it.

DANGER, WILL ROBINSON!

I am not sure who "Secure Site Pro CA G2" is, so please do not assume you can trust them absolutely as being forever in your certificate store. You have been warned. In any case, once you nuke the bootloader and install a new OS, it won't matter anyways.

Cheers,

mmx
[Lenovo P2 Questions & Answers] ener2005:
Thanks a lot man, that worked perfect for me and finally I unlocked the bootloader and installed LOS 18.1. This is really 100 % working trick!
[Lenovo P2 Questions & Answers] ener2005:
It will be nice to fix this post to have it on a first page
[Lenovo P2 Questions & Answers] mmx1337:
Were you able to bypass the 14 day timer somehow?
[Lenovo P2 Questions & Answers] ener2005:
No, I managed to start the 14 days countdown beginning of June and few days before the deadline connection error appeared.
[Lenovo P2 Questions & Answers] tom7878:
Hi, is it still possible to unlock the bootloader on Lenovo's P2a42 to date?
[Lenovo P2 Questions & Answers] utwer:
Yes
[Lenovo P2 Questions & Answers] tom7878:
I tried to unlock the bootloader according to the instructions with the certificates, but I still get the same answer. Network connection failed. can anyone advise?
[Lenovo P2 Questions & Answers] 0xAC1DBABE:
I too am still getting the without permission message of doom. I was able to get a certificate with Firefox on win10, but now it's "The connection has timed out" so I'm assuming the server is down again and will keep trying.

I have a few questions on the process that I'm trying to answer in preparation of a small time window of server uptime. When installing the certificate, is there a name that should be used? I installed it with "unlockrowapi-lenevo-com", but that didn't allow it to be unlocked. I have not tried both certificates yet, I will once the site responds. I tried while the page was still responding too. Is the serial number in the certificate the same for all certificates or are they linked to something, for example unique per machine or IP? Thinking along the lines of Phone on Wi-Fi not data connection is a must. I tried both anyway.

Good effort so far, you seem to have solved this for a lot of people! But I feel this is turning into a game of whack a mole.
[Lenovo P2 Questions & Answers] tom7878:
Unlocked, the error was really in the certificates
[Lenovo P2 Questions & Answers] 0xAC1DBABE:
I'm still not getting a response from the https://unlockrowapi.lenevo.com with firefox, but I have managed to grab the certificates through firfox settings (search for cert and click view) as I have had a response in the past. Looks like I did need both certificates as my timer has now started.

Thanks for the help!
[Lenovo P2 Questions & Answers] dangerous_i:
Despite lds.lenovomm.com being down. The SSL is indeed still the root-cause. As mentioned above, it's due to the fact the SSL CA (Certificate Authority/issuer) is not up to date on the lenovo phone itself. The SSL certificate itself is valid.

See attachment BELOW for the certificate you need to unzip and move to your Lenovo P2 phone. Btw opening the file in the file manager should also trigger the certificate installation.

This is the output you should see if you didn't copy over the cert file and installed it on your Android phone. The adb logcat output:

After certificate installed. Using the current date & time. Developer settings enabled. I could request the bootloader to unlock. Screenshot on my device:
[Lenovo P2 Questions & Answers] me4thor:
worked fo me too ( i had to rename the .pem into a .crt for it to work).

Can please someone pin this somehow?
[Lenovo P2 Questions & Answers] Kaayman:
Yes! Thank you so much, it worked ! (also skipped the 14 days)

(The website is giving a 400 error, but you can download the certificate anyway)

i struggled at first, i couldn't log into my lenovoID but I fixed it by resetting and cleaning the memory from the recovery and then start fresh.
[Lenovo P2 Questions & Answers] ufuuu:
I was unable to even start the 14 days procedure. I transferred the attached file to the phone, simply click on it and load the certificate. Now 14 days countdown started with this method. Thank you very much.
[Lenovo P2 Questions & Answers] gnunixy:
I installed the certificates but it still gives the same error. "LenovoID not authorized" I've changed the date or something, but it's still the same. I really need to solve this problem. I want to install Lineage OS but I can't solve this problem.
[Lenovo P2 Questions & Answers] darty99:
It has worked for me. Thanks for the certificate, now I just have to wait the 14 days and hope that I can unlock it. Thank you all.
[Lenovo P2 Questions & Answers] darty99:
I had 9 days left and now I have come out again that does not authorize because there is no connection to the network :oops: :cry:

Why not?
[Lenovo P2 Questions & Answers] herothezero90:
no need to change the date, when you unzip certificate on your pc, switch file extension to .crt and you should be able to install it on your phone trough file manager
[Lenovo P2 Questions & Answers] LukasLudwig:
very sadly. but for me it wont work.

This unlockrowapi.lenovo.com certificaty should be valid till 30th june 2022. but i tried many times and diferent ways to install it.

with different names and download types from this side https://unlockrowapi.lenovo.com/.

Also the here uploaded ones.

But it will not show up in trustworthy credentials. The secure site pro ca g2 and the digicert global root ca shows up there.

the unlock one is only visible in user credentials.

edit:

ahhh damn!!!

it worked after i locked out my lenovo account and then clicked again on unlock oem and signed in again..

and now it shows up the 14 days...

oh damn xD i did it a 100 times and it was simply login out and in... startet my phone 10 times