yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] voruk:
I don't know if this happens only with my device but I had to use the volume down button + Power button to enter fastboot.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Thanks. Fixed.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rocke93:
First thanks for the recovery. I wanted to ask if there is a way to change what happens when you flip the energy save switch on the side? Like silent mode for example or the flashlight.

I didn't find anything in the keymap.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] voruk:
Is it possible to install xposed on the p2 after it is rooted? Which Version is compatible?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] noone1982:
Yes I installed it, I have version 3.1.1,it's working smoothly
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
lenovo logger

slightly off topic i know ( trying to find a fix for low volume level in video recording on p2 ) and found this .. don't know if its any use to anybody .. from dial pad enter ####3333# .. lenovo logger
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] roxanne49:
Can you post some of the screenshots after lowering the dpi to 340?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] The Dutchman:
Here you go, just picked a few random things. Do note that I use Nova Launcher with custom icon and grid size so your results may vary.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ilmervanhattem:
Looking good! Guess I'm going to change the dpi too. How do you use different icon and sizes in Nova?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] The Dutchman:
In the Nova settings under Desktop - Icon layout
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Apparently there is an OTA update released.

Someone with root (Systemless) please try to catch that OTA update (simply look for recently changed files in any good file explorer) after having it downloaded, so we can share it with everyone.

Apparently the OTA update is not received in all countries for whatever reason.

It is OTA update S048 > S062.

I will look into the package and see if i can make it compatible with TWRP.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikele7:
Hi.

From logcat: xttp://phonedl.ota.lenovomm.com/dls/v6/P2a42_S048_161111_ROW_TO_P2a42_S062_170117_ROW_WC29E4CD37.zip

EDIT: replace xttp and replace the space after ROW with _ (the editor changes it....)

Thanks for you works!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Update: Thanks It does work. looks like the linebreak in your post caused the wrong path when copy/pasting.

Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Just took a quick peek.

Looks like this OTA is an preparation patch for Nougat.

Most of the required partitions and changes for Nougat are being patched.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] The Dutchman:
That's good bleeping news! I had my doubts it would happen.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] noone1982:
Did someone install it? Is it safe to install with systemless mode?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
As far as I could tell. Systemless mode should be fine if you use the stock recovery to update the OTA.

I still have to figure out if TWRP can use LENOVO's tool "easyimage". It is what the OTA update package is using.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] noone1982:
Did you change also the dialer?

I use Nova too and the desktop is perfect (trying 400dpi right now)... the only thing i did notice is that when you receive a call the 'answer button' is slightly decentered.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HaJeeEs:
Flashed stock recovery, tested booting in this recovery, rebooted in normal mode, got message that update can be installed, choose to do so. Phone rebooted in recovery, started update and failed after about 15% (few seconds). Guess bootloader has to be re-locked? Or am I talking nonsense now. :silly:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
I think it checks the checksum of the boot.img which is modified by SuperSU. An update never checks for Bootloader Unlock/Lock.

Try flashing the stock boot.img (or restore backup).

And make sure system was never touched. If you allowed TWRP write permissions it will have touched and changed the file recovery-from-boot.p to .bak. And the update will fail. (Due to checksum error)

Or simply flash system.img from stock too.

And run the update.

Once done simply restore TWRP using fastboot and root your device in Systemless or System-mode.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] maxysoft:
Cannot flash magisk and also cannot flash it with magisk manager. If the problem is magisk i'll report it to the developer
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Not TWRP's fault. Same problem as with SuperSU's Systemless root on F2FS. Read the post about the cause and solution.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] maxysoft:
I know f2fs have problems but I have /data in ext4 with working systemless supersu but Magisk isn't working even with the app. So there is another problem with ext4 formatted /data?

PS. I've also tried to restore the stock boot and flash Magisk but nothing.

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Look at the log it has problems mounting the loop device. Not a TWRP problem and it works for SuperSu on EXT4. So it's Magisk problem.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] maxysoft:
Yes I saw it but did not understand what it meant exactly. OK then I'll report the problem to the developer. Thanks.

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] HaJeeEs:
Thanks, phone updated now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Drillz:
Will systemless root work if I dont allow system modifications?

Also, will the supersu zip install in systemless mode automatically if I change the data partition to ext4 before installing the zip or do I need a different supersu.zip?

Thanks in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ilmervanhattem:
How did you install it, I got wrong device error:View attachment 4022750View attachment 4022752
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] aleleo87:
Supersu works only on system root. What kind of root can i use for systemless?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] buddermilch:
So I just received my p2 today and wanted to request the bootloader unlock. I created a Lenovo account and tried requesting it, but I get an error massage telling me my Lenovo ID not authorized and couldn't be verified because there was a network error. Although I have full internet access on my phone, anyone got the same error?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] No1VIPER:
I had this issue too. If you go into the Lenovo Companion app permissions and allow all of them, it should work then.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
OTA update installing is not supported yet.

It's in the works.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Drillz:
I'm having the same issue, app permissions didn't help. Just now my 14 days wait has ended...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Drillz:
I got systemless root by refusing to give TWRP system access and using this superSU https://download.chainfire.eu/1003/SuperSU/SR1-SuperSU-v2.78-SR1-20160915123031.zip flashing from TWRP after rebooting recovery and formatting data to EXT4, hope this helps anyone..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] noone1982:
Post #153, that's what I did to have systemless root.

The whole "flash systemchunk" was because i did messed up, if you are trying from a fresh start you shouldn't need it
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ilmervanhattem:
And temp. flash original recovery? Is it an option?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] aleleo87:
thanks mate! and you confirm the root is working and you should have next OTA firmware? i will try this evening
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Drillz:
I can conform the (systemless) root is working, no way of telling if the next OTA firmware will work until it arrives I guess. The check for a system update does work though and says I already have the latest firmware (S062_170117_ROW in my case).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] azeemzuhair:
For those who have managed to root, is it possible to disabled the NOISE CANCELLING MIC during recording?

This is the only way to verify whether the distorted/tiny audio during video recording is due to aggressive NOISE CANCELLING MIC or merely HARDWARE issue. Please verify for the community.... thanks....
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] noone1982:
Yeah root is definitely working... but don't know about the systemless... didn't try to install the OTA after the rooting yet.

So you did install the latest firmware (062) after you rooted the device systemless? I'm still at 048... Didn't install the new one because I was scared that the root would go away and I don't want to reroot again :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Drillz:
No I was already on 062 before the process.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
yes it should be possible , i cant remember exactly how but i've seen it done on other phones by editing the mic settings in build prop . i think it was the build prop anyway :laugh:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] terminus91:
Hi guys, i followed the procedure and everything seemed ok...

after install TWRP (i gave him permission to modify the system) i rebooted the phone and it turned on...

Rebooted on TWRP and went on installing SUPERSU 2.76.

Installation went fine but i can't reboot into the system! :S Someone can help me?

It seems that there's nothing on the internal storage, just folders (0MB)

P2a42_S062_170117_ROW

TWRP 3.0.0-0

Edit: i think i have no OS installed... How can i get the system image? Maybe if i follow the step on #119 (the link doesn't work) i can handle this!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ilmervanhattem:
Did you use the Lenovo P2 twrp?

Did you backup?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] terminus91:
Yes i did use lenovo p2 TWRP and no, i didn't do backup... I know, i did a bad thing... should i flash the system now?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Justice99:
Hello guys,

I would like to buy this great phone (I currenty have a Note 4) but I would like to know if I can lower the DPI without any apps issues after I root the phone.

Anyone could try this setting? It would be really nice.

Thanks in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ilmervanhattem:
Flash the system. If you have problems I will help you fix. Do you have Signal messenger?

---------- Post added at 08:24 ---------- Previous post was at 08:21 ----------

Couple of people here tried changing the dpi and it worked OK and is very easy. You got to use a different launcher and maybe a different phone/contact app. You can just flash gapps and use the Google originals. Take care.

---------- Post added at 08:27 ---------- Previous post was at 08:24 ----------

Or just wait for Nougat and build a modded / tweaked rom and working TWRP.

All the best.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] terminus91:
First of all thx for the reply!

Actually i don't have any file system and i can't find it on the internet, so don't have anything to flash! where can i find the system.img? :confused:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] noone1982:
Yes I have lowered to 400 and some other guys to 340, you don't need root to do it, just a working adb connection. You should use another launcher tough because some icons does not resize, with nova launcher it looks perfect
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Justice99:
Thanks you for your answer, that's perfect. Is there a way to have multiwindow or we should wait for an Android upgrade?

Thanks.

https://xdaforums.com/android/general/guide-enable-multi-window-mode-android-t3121483
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] No1VIPER:
I used the adb method to change the DPI, but I found that it caused issues with some apps and widgets. I tried a few different ones, 400, 420 and 440.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Justice99:
That's maybe because you need to edit each of these apps DPI. I dont know if root is required for that.

What kind of apps was it? You an replace them?

Regarding multiwindow, anyone tried this method:

https://xdaforums.com/android/general/guide-enable-multi-window-mode-android-t3121483

Thanks.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] No1VIPER:
This widget:

https://play.google.com/store/apps/details?id=uk.co.hassie.widget.pixelpill

If you changed the background colour, it would mess up the alignment.

And this was one of the apps:

https://play.google.com/store/apps/details?id=com.zynga.wwf2.free

Letters becoming unaligned with the tiles on certain parts.

There were others, but I can't remember what they were now. I've reverted back to the stock DPI, and just used Nova Launcher to alter the size of the icons. This will have to do for now, until I can root.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] noone1982:
I don't know but there should be an xposed module to do that
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
change uk p2 to ROW p2 firmware

A few questions for you clever people :)

should it be possible to flash P2a42_S048_161111_ROW onto a uk model P2a42_s056_161130_UK ?

Actually i've answered the question myself :D

followed the guide and went from s048 uk to s056 row . soon as the phone booted to home screen it said system update available , now on s062 .. Thanks for the Guide celoxocis

Thanks :D
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
What's s062 like, can you see any changes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Well as soon as google lets me back in i'll let you know lol .

I reset the phone after it finished updating . when the phone reboots it says unable to find easyimage.zip . Seems this is used to set up a few apps depending on region ( asia , india , middle east , eastern europe ) , but the phone will work without it and detected and set up for 3 uk .

Now the fun part .. when i went to sign back in too google the phone asks for previous accounts details . This is a security feature and can only be turned off by removing the account you have on the phone before you reset ( or if the bootloader is unlocked ) . So i entered the details but accidentally hit forgot password , made a new password and tried to enter it but it wouldn't accept it . Seems this is part of the security too and now i have to wait 24 - 72 hours ( depending what you read on google ) before the account is unlocked again . Have a read through this and see how many people have done the same https://productforums.google.com/forum/#!topic/gmail/o-_HLMy1Rh4

So remember if you want to add a new account to the phone after resetting remove the current one in settings first .

But S062 row seems pretty much the same as 056 uk from what i've seen of it . sync issues still there , noise cancellation on video too . But hopefully i'll be able to get updates sooner than i would on 3 uk rom :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Thanks for the reply, hope u get back into Google soon.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] EypCnn:
AROMA not working
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
Would you write down the process, please? It's not quite clear to me. Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
Not TWRP's fault. It's because AROMA is not being maintained any longer and it's completely outdated and TWRP dropped AROMA support long time ago.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
24 hours and signed back into google :D

Go to page 1 of this thread for the full guide. .. Download the firmware, install drivers from the downloaded firmware pack, put phone into fastboot mode (turn off and then press power + volume down and fastboot will appear), connect to PC, double click on flashall in the firmware folder and wait until it finishes flashing, and make sure you have at least 50% battery charge too .
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
I am stuck with this

Motorola Mobility flashall script version 1.9

Flashing Options:

- flash userdata: 1

- flash preload: 1

- erase userdata: 0

- erase cache: 0

Waiting for fastboot enumeration...

Fastboot device is ready

There are 1 device(s) connected: Zxxxx

Trying to flash device Zxxxx

Starting flashing device Zxxxx

Flashing partition table ...

Executing ".\Windows\fastboot.exe -s Zxxx flash partition gpt_both0.bin"

xxx marks the serial number
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Have you put your phone in fastboot mode ??
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
Yeah, but the bootloader is locked.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
I had no problem previously with Moto devices installing a stock ROM on locked bootloader.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
follow the guide S-eye
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
I copied everything from SW folder to the Minimal Adb and Fastboot folder, and used the

fastboot flashall

command. I get this

c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flashall
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
error: neither -p product specified nor ANDROID_PRODUCT_OUT set

Is this because my bootloader is locked?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
No my Bootloader is locked too , you don't have to type in anything , just click flashall.bat and let it run :fingers-crossed:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
This is what I get when I run flashall.bat. Phone recognized as Lenovo ADB Device in Windows 10.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
I dont know whats going wrong :(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] solazz:
If you run command "fastboot devices", does it recognizes the device?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] terminus91:
I had this same problem too, tried to flashall but I had your same error message, I solved flashing everything manually. The flashall.bat seemed not working for me

Q: when I put in recovery mode the recovery asks me a password, I tried to put the one I use to boot in the beginning but I can't log in!

I can access to the recovery but my data seems to be protected and I can't access in the internal storage. Maybe, is there a default password? :rolleyes:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] itsjustbilly:
So i had a go at rooting, and i bricked my device. no bother ill just flash the stock rom and try again, but thats where i found an issue. I cant!

When i try to flash anything pertaining to the bootloader back onto the device i get the following error in Fastboot:

Or

Flashing modem SW...

The phone will boot, just like it was completely stock but i am not able to find any network, and i can flash any modems because i keep getting this message:

A little help?

Ive already tried fastboot oem lock:

Thanks for any help you guys can give?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Did you use flashall.bat all Billy ?

I dont know why its not working for everyone , worked fine for me :/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] itsjustbilly:
Yes i did but when it reaches anything to do with the bootloader it error quits

I dont understand why im getting the error :

FAILED (remote: Do not allow to flash Bootloader image on Unlock device)

My device is unlocked and because of it the error is telling me i cant flash the stock modem back or anything related to the bootloader

Any advice?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] terminus91:
Try to flash everything that is in the zip pack in mssg #3
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] itsjustbilly:
I am able to flash the recovery fine, the issue is the modem, its tied in with the bootloader and it wont let me flash anything to do with the bootloader

No modem - no mobile signal

"FAILED (remote: Do not allow to flash Bootloader image on Unlock device)"

Very frustrating
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] terminus91:
what about if i give you the backup of my modem? idk if it will work but, at least, we could try
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] itsjustbilly:
Im happy to try anything at this stage :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
So, I started again on a 32 bit Windows 7 PC and I managed to flash the ROW rom on a UK one. I put the phone into fastboot mode manually, then deleted all the drivers for it on the PC, left only the Lenovo ADB one. Double clicked on Flashall. bat and done. After flashing I changed the country code to GB. But I am not sure if it is necessary, but on lenovo- forum.ru they really recommend it. Hope it helps someone.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
How did you change the country code S-eye ? did you use easyimage,zip

yeah i think windows 10 isn't helping much either . It gives me an ADB error sometimes
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
I used this code ####5993# to check my region , and it said _notSet. Then ####682# and an easyimage list appeared with the country codes. After setting it wiped the device.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
when i type in ####682# i get easyimage.zip not found :(

mine is uk model , but i cant see why that should make any difference

UPDATE .. I reflashed and tried the code again , it worked :laugh:

Thanks S-eye , your a lifesaver :highfive:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] S-eye:
You're welcome. It's from that Russian forum. I think they said after OTA it's not changable anymore. Does the region affect anything, though? I mean updates.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
I dont it makes any difference to OTA updates , but some apps are added depending on the region . I put in GB and it installed Mcafee security :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jotters:
(xposed)

That's the version of the installer. Xposed framework has newest version 87, which seems (optimising apps right now) to install fine. :D
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hellnoob:
I am getting exactly the same issue. Unable to flash SU in systemless mode. It phone keeps rebooting with blue notification LED. I am sure , i am not skipping any step. The /data changes to ext4 successfully however, I am not able to flash SU after that. Tried more than 6 times.

Also tried from very beginning by flashing recovery , boot and systemchunks.

I am using advance wipe to change /data to ext4 partition. Then I install the SU zip from my internal storage. There is also a 'Format Data' button in Wipe. Do I need to do that after changing to ext4?