yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 Questions & Answers] LukasLudwig:
Ah I found out that you can probably skip this whole frustrating procedure.

Type in the dial:

*#*#759#*#*

You can try it this way
[Lenovo P2 Questions & Answers] Venu13:
Tried all methods, still not working with below errors

--> in developer option of oem unlocking

LenovoId without permission

--> in cmd prompt for "fastboot oem unlock" command

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

FAILED (remote: oem unlock error: invalid data from unlock code)

finished. total time: 0.038s

pls help
[Lenovo P2 Questions & Answers] delta0700:
Hello everyone

With the certificate, I managed to get the 14-day waiting period. Unfortunately, with 3 days remaining, I now only get Lenovo ID without permissions and a network error message. Can it be that lenovo has now completely switched off the server? Is there any other way to unlock the bootloader? Unfortunately, the RLZ debug ui did not work for me either. The lenovo android 7 is not bad but I would like to have lineage os with a newer android on my P2.I also don't want to switch because the P2 has an incredibly long battery and it's a really good phone.

Thanks
[Lenovo P2 Questions & Answers] Venu13:
pls give some suggestions
[Lenovo P2 Questions & Answers] uchetia:
Same here Lenovo ID without Permission.

I have seen a strange connection with this https://unlockrowapi.lenovo.com/ website whenever I try to unlock my oem.

The website shows No SSL Certificate found when I try to access it before trying to unlock oem in my P2.

After I try to unlock oem in my P2 and get the ID without permission message, The website https://unlockrowapi.lenovo.com/ refreshes itself to site cannot be reached no certificate found.

If I leave my lenovo P2 disconnected for a while the website goes back to No SSL Certificate found.

and it repeats.

I tried everything from this forum no luck
[Lenovo P2 Questions & Answers] Dorman3:
Mi unisco anch'io a loro ho provato tutte le soluzioni almeno 10 volte se non di più, sembra che non ci sia soluzione, è possibile che nessuno ci possa aiutare?
[Lenovo P2 Questions & Answers] uchetia:
GUYS!!! The server is back online. Try it now!!

Mine unlocked after so many days 😭
[Lenovo P2 Questions & Answers] Dorman3:
incredible!!!! now that I had given up! I didn't think it was possible! o_O

Now that I have obtained the permissions someone can suggest me a procedure to install the newest Android possible?
[Lenovo P2 Questions & Answers] Dorman3:
I tried a procedure but installing kingo root gives me an error: 0x11EFE1
[Lenovo P2 Questions & Answers] delta0700:
Thanks for the information. It has finally worked for me too.
[Lenovo P2 Questions & Answers] delta0700:
Please do not use kingo root. It's not a good idea and it's not safe. Use Magisk instead, it's safe. There is a manual which I have linked to you here.
[Lenovo P2 Questions & Answers] eried1:
Unfortunately not, but creative thinking :)
[Lenovo P2 Questions & Answers] medwatt:
Can you provide more details, please :

1. Was your 14 days already over ?

2. Was the OEM unlock switch turned on (green) before you applied the bootloader ?

3. After unlocking the bootloader, did you flash anything successfully (like TWRP or SuperSU) ?

---------- Post added at 08:09 PM ---------- Previous post was at 08:00 PM ----------

Please can you provide a link to that thread because I couldn't find it and I kind of doubt that Lenovo will release another update just a few days after releasing one ?
[Lenovo P2 Questions & Answers] cyberplanete:
I try to unlock it with :

fastboot oem unlock

It does not work. I contacted Lenovo's French support, and same answer: We don't deal with that kind of problem you have. it has been days since the 14 days is over and still the same message.

OTA servers work fine, just because I updated "my phone" yesterday..

I posted a couple a messages, and got no reply. I am starting to believe that it's lost cause and my best option is to sell it and buy another one . The xiaomi redmi note does not seem too bad.
[Lenovo P2 Questions & Answers] maggy2011:
Ok, normally I dont give up so fast in every case but this time I have to say: Game over for this Lenovo ****. I will send back the phone and get my money back. Sadly because the 5.1 ampere and some other nice features of this smartphone, but what should I do with a smarty which I cant use like I want it. pfff. :silly:
[Lenovo P2 Questions & Answers] cyberplanete:
As you said: I want to use it like I want. To Lenovo: This phone belongs to me because simply I bought it. if I want to unlock it, then root it and install other firmwares than yours, It is my right. I should not have to wait 14 days in order to get the full access of my phone. No other companies does that.
[Lenovo P2 Questions & Answers] :
Does anyone how I can send this issue to Lenovos P2 support?

Last time I had anything to do with Lenovo it was a pain (lenovo k3 and its "quality") and I dont want to get into that kafkanian world again.
[Lenovo P2 Questions & Answers] realista87:
i still face the problem...... fucc lenovo, put your servers active!!!!
[Lenovo P2 Questions & Answers] srinivasvaka1985:
I think servers are back it's working for me now
[Lenovo P2 Questions & Answers] bnayagrawal:
It's working.
[Lenovo P2 Questions & Answers] bnayagrawal:
Hello guys, can anyone of you (who is completed his 14 days) give me your username and password of lenovo account (after unlocking your bootloader) so that i can unlock my device bootloader instantly. :P
[Lenovo P2 Questions & Answers] realista87:
works today
[Lenovo P2 Questions & Answers] kongha:
Work once again here as well.

5 freaking days to go :)
[Lenovo P2 Questions & Answers] :
Same here! 5 days 7 hours 20 mins 17 secs and counting!
[Lenovo P2 Questions & Answers] Hnk1:
Log out of account and relogin solved my problem.

Good luck
[Lenovo P2 Questions & Answers] ThunderBird891:
Hello guys, I am trying to unlock the bootloader of my P2a42 with 251 firmware and from 1 week all I get is only the LenovoID is not authorised thing. Is this the server again down or? Do you have an idea how to unlock my phone? If I try yo downgrade to android 6 will it work without waiting at all or? I've used many other android phones but never seen such bul**** like this one.
[Lenovo P2 Questions & Answers] DS-1:
Servers seem to be down again. I started the countdown 3 days ago, now it says: "Lenovo ID not authorized" and logout and relogin doesn't solve the problem.
[Lenovo P2 Questions & Answers] pradeesa:
I am also facing the same problem. Idk how many days i have to wait.
[Lenovo P2 Questions & Answers] Phantoml337:
Me too, just tried today for the first time.
[Lenovo P2 Questions & Answers] eried1:
It worked about a week ago. I regret not unlocking it then but I was pretty occupied.
[Lenovo P2 Questions & Answers] hnsaba:
The same for me :eek:
[Lenovo P2 Questions & Answers] melchiar:
I also can't unlock bootloader. It gives error "LenovoID not authorized, network failed, check your networkconnection". The phone is online
[Lenovo P2 Questions & Answers] refedit:
Same here.

And forum support is very poor! Instead of answering, they close threads and redirect you to the "Important guidance from the Community Team" thread.

Thank you so much lenovo :good:
[Lenovo P2 Questions & Answers] DS-1:
I'm one of those who are writing there ;)
[Lenovo P2 Questions & Answers] eried1:
Some way of moving focus from urgent customer issues.

Edit: Though, I do have some understanding of them wanting to concentrate on a single thread. They just aren't very smooth at responding.
[Lenovo P2 Questions & Answers] somenderjangra:
I m also facing same problem did u got any solution for that..
[Lenovo P2 Questions & Answers] legiontao:
Same :( I swapped my leeco le 2 to lenovo p2 few days ago, I'm trying to unlock oem for 4 days...
[Lenovo P2 Questions & Answers] goorl:
it's good to know that this is happening to everyone. it's quite amazing to own phone and not be able to do whatever I want with it. great news, let's hope that this is temporary.
[Lenovo P2 Questions & Answers] Tahaali54:
Isn't there a hack to bypass this?

There must be a hack to bypass this 14 days bull**** :crying: someone who has slightest knowledge of it please share. I would be more than grateful to a person who can share his account credentials with me and has already crossed 14 days.
[Lenovo P2 Questions & Answers] melchiar:
Tahaali54, at the moment it's also not working after 14 day period. It gives an error, which it normally shouldn't.

------------

Can anyone please send me a pm when their service/servers are back online and the oem unlock works again, much appreciated thanks
[Lenovo P2 Questions & Answers] cwe2000:
Is there a way to call up lenovo and speak to an actual person?
[Lenovo P2 Questions & Answers] eried1:
Sure. I'll be checking every morning and evening.
[Lenovo P2 Questions & Answers] cwe2000:
If you don't mind also could you let me know :)
[Lenovo P2 Questions & Answers] Tahaali54:
Please notify me too if convenient for you.

Is there a thread or official announcements page where Lenovo gives ETA or reasons for the stuff?
[Lenovo P2 Questions & Answers] iampijush:
Not solved yet. Ping to the unlock server is ok, server is online. I'm also trying everyday 5-6 times. I think I made mistake by buying this phone. Seems like they don't want us to leave this surveillance firmware. Feeling just throw this phone away.
[Lenovo P2 Questions & Answers] byhiq:
please visit lenovo forum

Just visit this site :

shorturl.at / iqFGL

and let them know what you think about this abuse.

ps. I;m not allow to post full url because my account time, please repost it if you can.
[Lenovo P2 Questions & Answers] eried1:
A heads-up. I just unlocked my spare P2. I got through to the servers days before it went down though . Don't know if it mattered so feel free to try. FYI, I did NOT get a connection now.

Edit: Most importantly, the status in the developer options said that the bootloader wasn't allowed to be unlocked. I don't know if it was some kind of bug.
[Lenovo P2 Questions & Answers] goorl:
1) Hi, so you managed to unlock bootloader without checking in with lenovo servers after 14 days have passed, is that correct?

2) and now you're running custom ROM and everything runs without problems?
[Lenovo P2 Questions & Answers] eried1:
1. I did get a connection with Lenovo servers after 14 days but I never rebooted and completed the process of unlocking. According to the settings displayed in developer options I didn't have permission to unlock.

2. Before I executed the 'fastboot oem unlock' command I entered bootloader mode and it showed the status as 'locked'. It now says 'unlocked'. I don't run custom roms because I think stock is fine (I only want root access), but I guess it should work.
[Lenovo P2 Questions & Answers] rob!n:
So you entered in 14 days timer. Completed the 14 days. Didn't bother to check the servers and just entered fastboot mode and run fastboot oem unlock and it did unlock the bootloader?

---------- Post added at 06:28 AM ---------- Previous post was at 06:22 AM ----------

Because my 14 days are up as well. 3 days were left when the servers got down. But i am running my p2 since then. Should i try running fastboot oem command?
[Lenovo P2 Questions & Answers] DS-1:
I ran the OEM unlock option from the stock ROM when the server was working. I checked it for 2-3 days before the server went down and the countdown told me that 12 days was left.

It was something like 20 days ago. Today I rebooted the phone in fastboot mode and the bootloader status is still locked...
[Lenovo P2 Questions & Answers] rob!n:
How can it be unlocked without the fastboot command bro? It will obviously be locked.
[Lenovo P2 Questions & Answers] DS-1:
Ok, you're right!

But do you think that it will works now that 15 days are gone, but the server was offline BEFORE the entire 15 days were left?
[Lenovo P2 Questions & Answers] rob!n:
I tried the unlock command in fastboot. As my 14th day was on 6th april. But it failed and device rebooted. Nothing happened device was still locked.
[Lenovo P2 Questions & Answers] DS-1:
Ok, so we both believe that the server have to be online to "check" the countdown status.
[Lenovo P2 Questions & Answers] rob!n:
Agreed. And to enable oem unlock as well.

There are good chances that lenovo might remove 14 days wait too. Clearly they cant keep their servers up for a particular device i guess.
[Lenovo P2 Questions & Answers] DS-1:
mmm...I hope they remove the 14 days waiting, but...it's almost a month that the server is offline and this situation is not good at all...
[Lenovo P2 Questions & Answers] pradeesa:
Last time it took almost 2 months to solve the issue
[Lenovo P2 Questions & Answers] DS-1:
So it's still early... :)
[Lenovo P2 Questions & Answers] rob!n:
And u unlocked your bootloader after couple of months then?
[Lenovo P2 Questions & Answers] pradeesa:
No I haven't unlocked. I am also waiting for the issue to be solved. It has been discussed in so many forums about the problem that happened last time.
[Lenovo P2 Questions & Answers] goorl:
That's comforting, I already feel much about this whole story.
[Lenovo P2 Questions & Answers] eried1:
No. The OEM unlock can be done at any time once the countdown status (≥14 days) have been checked by the Lenovo servers.
[Lenovo P2 Questions & Answers] rob!n:
Agreed. As my 14th day was 6th of april. And when the servers will get back. I guess i can unlock oem right away. Aint it?
[Lenovo P2 Questions & Answers] eried1:
Sounds likely. I've no experience of it though. I unlocked my first P2 long before I became aware of reoccurring server problems.

A general tip is to check in when servers are back just to have the possibility to unlock at whatever time you want. No need to unlock it straight away.
[Lenovo P2 Questions & Answers] iampijush:
This is what I got from them.

https://drive.google.com/open?id=1ZA817SHbLpLns571Rc6XukBagBDjWih3
[Lenovo P2 Questions & Answers] rob!n:
The one p2 i had as primary was unlocked b4 these issues like you. I moved to 5t but i sometimes miss battery bulge. So i bought another p2 as secondary device just to tinker around and got unlucky with servers down.
[Lenovo P2 Questions & Answers] goorl:
Which was the last official ROM released for this phone, where can I get it, and how can I install it. If I can't unlock it I guess that having the last update running would make sense or not really?
[Lenovo P2 Questions & Answers] joshthemajor:
Hello, I have the same issue, I've just purchased the phone, i'm on 7.0 and after I click on the option to allow the unlock i get "LenovoID without Permission the network is unavailable, please check status first". Also, I have a network error even when I go to check if there's any android update.

What to do?
[Lenovo P2 Questions & Answers] byhiq:
Not much.

You could go to Lenovo’s forum and complain with all the others but frankly they don’t care.

Google: Lenovo p2 unlocking bootloader
[Lenovo P2 Questions & Answers] asalvi0:
The "LenovoID without Permission the network is unavailable, please check status first" error is because the unlock server is down. this is the server url (https://unlockrowapi.lenovo.com) that internally is being called but that server is not available, I'm wondering if someone has the original P2 file BootloaderUnlock.apk, I can reverse it to analyze the code and create a server to reproduce the client-server payloads and get it unlocked.
[Lenovo P2 Questions & Answers] rob!n:
How can i do that. Tell me what can i do.
[Lenovo P2 Questions & Answers] ykcmaster:
Extract it from your device, using Apk Extractor from F-droid store or Google Play. I played around with it and it seems to only contain, asset files, some .aidl and some crypto .p12 files. I am not going to attach the apk since it might have identifiable data.
[Lenovo P2 Questions & Answers] rob!n:
No such apk is found by apk extractor app. If anybody else knows about this. Kindly do it.
[Lenovo P2 Questions & Answers] ykcmaster:
Assuming you are on the latest stock build, it should be there. Try to search for bootloader.

The app I am refering to is https://github.com/axxapy/apkExtractor/blob/HEAD/README.md

Since there is 3 .p12 files I wonder if it is possible to replace those files with someone else's who already had their phone unlocked , repackage, install and unlock ours that way.

---------- Post added at 01:23 PM ---------- Previous post was at 01:22 PM ----------

Also depends om where you libe reverse engineering proprietary software is illegal.

---------- Post added at 01:23 PM ---------- Previous post was at 01:23 PM ----------

Also depends om where you libe reverse engineering proprietary software is illegal.

---------- Post added at 01:26 PM ---------- Previous post was at 01:23 PM ----------

When I dearchive the apk, there doesbt seems to be any executable code other than a few .aidl file
[Lenovo P2 Questions & Answers] asalvi0:
Quick update. I just got a P2c72 device from a friend, I got the BootloaderUnlock.apk and was able to decompile it. For those who want to help. just get the .ODEX file in the system apps folder next to the BootloaderUnlock one. The details that I know until now are:

- The APK calls the unlock server for authorization using TLS authentication.

- The server replies with a bytes payload and the APK is in charge of writing the unlock flag.

I'll keep updating and if someone here is experienced enough in reversing, that help would be much appreciated :)
[Lenovo P2 Questions & Answers] ykcmaster:
Could you put the apk on GitHub? It seems that the APK I grabbed is not the full ones.
[Lenovo P2 Questions & Answers] :
Getting an apk from P2a42 could be beneficial as well.
[Lenovo P2 Questions & Answers] tr4usut2:
You are the hope of thousands p2 owner who cant unlock boooader now
[Lenovo P2 Questions & Answers] asalvi0:
The P2c72 I used is running P2a42 ROM, so this would work for the majority of users.
[Lenovo P2 Questions & Answers] barves:
Let’s hope for the best, it’s sort of weird that we can’t just unlock it like most of the phones.
[Lenovo P2 Questions & Answers] aeonius:
This issue made the xda front page...

https://www.xda-developers.com/lenovo-p2-unlock-bootloader-problem/

Let's hope Lenovo will fix this ridiculous issue soon...
[Lenovo P2 Questions & Answers] ykcmaster:
I have the odex file for p2a42
[Lenovo P2 Questions & Answers] eried1:
Also, I've never encountered an issue with not being able to flash the stock rom due to unlocked bootloader on any other phone. It's just brainless.
[Lenovo P2 Questions & Answers] pradeesa:
Guys try this and report

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
[Lenovo P2 Questions & Answers] Phantoml337:
Does not work.

fastboot oem get_unlock_data

returns nothing. Even if you could request the key, there's no way to input it...
[Lenovo P2 Questions & Answers] iampijush:
Where to use that Dex file?
[Lenovo P2 Questions & Answers] asalvi0:
I've been away of my computer for a while, after some hours of analysis of the BootloaderUnlock.apk code I figured out a way to unlock the Bootloader; but I need a

chinese mobile number (+86)

to receive a SMS verification code to continue with the process. Does anyone here has a chinese mobile number that can help?, if so, please contact me on private. Once I clear that step I will post how to unlock the bootloader, and provide the required files.
[Lenovo P2 Questions & Answers] rob!n:
Any help would be much appreciated. Keep up the good work bro. I hope u get succeed.
[Lenovo P2 Questions & Answers] asalvi0:
I'm 100% sure that can be unlocked, as soon as I get a chinese number, to receive SMS.
[Lenovo P2 Questions & Answers] DS-1:
I've posted your request in a couple of Telegram Lenovo P2 channels, I hope to find someone who can help you.
[Lenovo P2 Questions & Answers] asalvi0:
Thank you, I found a chinese provider that sell a SIM card in US and that has a chinese number. That can help, the price is $23USD, the only problem is that I'm in Mexico, and the simcard is sold only in US.
[Lenovo P2 Questions & Answers] DS-1:
A VoIP Number can't be useful?
[Lenovo P2 Questions & Answers] asalvi0:
Could be, the requirements are:

* Must provide a local chinese number (lenovo validates the area code and format and only chinese are allowed, if a local number can route SMS to a voip or any similar thing would work)

* Be able to receive SMS
[Lenovo P2 Questions & Answers] 911-Future_Maker:
Excuse me bro, but I'm pessimistic. Who said these are the requirements and who said unlocking via phone is possible? And who would you call from this chinese number or to receive sms from??
[Lenovo P2 Questions & Answers] DS-1:
Do you know any chinese VoIP service that Can be done online?
[Lenovo P2 Questions & Answers] MithunSanthikumar:
A simple google search was all that needed

http://www.receivesms.co/hong kong-phone-number/146/

NOW SHOW US HOW TO UNLOCK.
[Lenovo P2 Questions & Answers] asalvi0:
Lenovo defined the unlocking process, I figured out by reversing their unlocker app code, any of the regular oem unlock data is not present in the P2 model, but they have it on their servers. that's why this is one of the phones that needs to "call home" to be unlocked, similar to what Apple does with their devices, enough to realize that the fastest and easier way is following the Lenovo procedure. The problem is that the whole process is a multi-factor process, requiring account on their servers, verification with another verified accounts, and the final one is phone verification, only available in china. And I know is only available in china because on the code that is distributed to the rest of the world is not the same than the one in china, but the only unlocking servers available are the chinese ones, thus all the users complains with the "Network not available..." error message.

The other way is trying to break the bootloader, bruteforcing with the high risk of bricking phones, trying to guess all the unlocking data that could easily not be calculated, and is a factory defined set of hexadecimal numbers, and only Lenovo has those for each phone, and you will get it only following their defined process; and yes, including the 14 days period

---------- Post added at 02:23 PM ---------- Previous post was at 02:18 PM ----------

I tried thatt an many other ones, but HK has a different area code than china local numbers, and it's not accepted, that's why I posted, expecting to find a guy with a chinese mobile number. And I did not posted the data to unlock, until I complete the process on my phone, to make sure it works, and will not get bricked.
[Lenovo P2 Questions & Answers] DS-1:
https://freezvon.com/virtual-number/china
[Lenovo P2 Questions & Answers] asalvi0:
Already reviewed that provider, but SMS numbers for china are not available, only calls for now. Check the purchase process: https://freezvon.com/e-customers/buy
[Lenovo P2 Questions & Answers] ykcmaster:
Is the function responsible for unlocking the bootloader called writeUnlockCode. I couldn't figure out where the function responsible for unlocking the bootloader is and that seems to be the most plausible. You write it to the file which the bootloader will check directly and it checks if the code is written is correct.
[Lenovo P2 Questions & Answers] asalvi0:
Correct, that function writes the bytes received from the unlocking server. As far as I know, those bytes could be unique and created when the device was built, and could not be a way to calculate based on the hardware.
[Lenovo P2 Questions & Answers] ykcmaster:
How do you plan to get it unlocked? It didn't seem to ask you for the number when you sign up for it.
[Lenovo P2 Questions & Answers] asalvi0:
using the chinese servers, following their process.
[Lenovo P2 Questions & Answers] joshthemajor:
Wow guys, looks like progress! Let me know if you need anything from me! I'm really looking forward to play with ROMs like I was able on other android devices in the past.

I have a Lenovo P2a42
[Lenovo P2 Questions & Answers] ykcmaster:
From 2015 but check it out.

https://www.quora.com/I-need-a-Chin...xclusive-to-people-in-China-How-can-I-do-this