yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
This error always come in TWRP while OTA updates. But if I export it to storage and just flash it manually, then it will flash.

Can anyone help!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
I used to get that. I wiped everything and flashed LOS again and now the OTA updates work as expected. Not sure what was causing it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
I have tried wipping in past, it does not works for me.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
What's major things changed in this update?

---------- Post added at 01:51 PM ---------- Previous post was at 01:46 PM ----------

What's major things changed in this update?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Can someone tell me the current list of known bugs / issues?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
None, most of the problem that you can read here are between the keyboard and the chair.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Just to inform you I've read the whole topic, so your contribution is childish. :eek:

A lot of people have issues which some of them are solved. So a list of bugs would be appreciated.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] livy:
You missed the point.

No bugs,

Most are user issues created by themselves
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Okay cool, I misinterpreted the comment from [MENTION=6558431]Liacon[/MENTION]. Therefore my apology.

But what about the storage issue that [MENTION=2494638]celoxocis[/MENTION] mentioned couple pages ago? It was still in test phase I remembered 2 build earlier.

I will check this ROM next weekend because I use the phone for work.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
I haven't encounted the storage issue, the only "problem" it's if you encrpyt your phone and then try to change file system, at least for me the problem was that.

If you install the correct twrp you can use data partition in ext4 or f2fs, just take off the secure access at the boot of the phone.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Arafa1994:
Face unlock working fine in this update ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Hey can u explain "secure access at the boot of phone" this? I don't understand
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Seems you can't have done a clean wipe - my updates also work!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
I did , few days back I ran into a encryption issue , I wiped everything for that and then flashed Los.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
there is no such thing as a "storage issue". storage works fine if you stick with the proper twrp version that includes the correct mkfs.f2fs version.

it does happen that people that used stock and while on stock rom decided to switch /data to ext4 to make root/magisk modules properly work on stock.

which is fine. but then decide " let's try lineageos 15.1.

don't stick to ext4 but switch again to /data to f2fs.

without previously erasing formatting /data into f2fs on official twrp with proper mkfs.f2fs version that works with the kernel f2fs drivers with our current kernel code.

if u come straight from stock and kept stock f2fs while installing lineageos 15.1. you will never run into the mentioned issue.

I believe since almost every dev is working on los 16.0 bring-ups. you can expect the kernel f2fs fix (and the lineageos-twrp) to go live with the first official los 16.0 version for kuntao.

as this will be a major version jump which will allow mike to block older keys and hence forbid "dirty flashing" and prevent users from bricking their devices while upgrading from 15.1=>16.0. meaning 16.0 will have to start with a full-wipe for everyone.

this is not confirmed information as I haven't talked with mike for a while as he is on his well deserved vacation. but it's simply a logical conclusion and the best possible move to prevent 7k+ users to "soft-brick" their device.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
In the LOS Instructions,

The 5th point in the "installing los from recovery" section, there is a mention of formating and encryption mentioned. Can anyone pls explain what this step does and what is this encryption?

Also when we do an advanced wipe, then why is formating necessary?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lovedeep1:
Guys help me. Tried wiping data then format data with lineage twrp. It failed and then unable to mount data partion now phone is stuck into bootloop it's open twrp then openrecoveryscrip runs and fail then again the same thing repeat I was coming from stock with root. It's my daily driver please help
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
When you boot for the first time the os usually there is the finger print+pin registration, you can add the secure boot access with this. It's an option that encrypt your phone and in every boot add a pin sequence, when I tried to change the file system with this option on, the phone gives me blue led, you can turn off the secure access from the security option

Like i said before, the only problem it's between the keyboard and the chair, when i had the storage problem with blue led the problem was my mistake and here i have read many people with the same problem, but it's because the have do something wrong like me the first time i switched to lineage
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] EdwinDenny:
My fingerprint stopped working after the latest update.. anyonle else faced this issue?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] radisoft:
Nope, working fine here on latest weekly...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
No
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] EdwinDenny:
Now it works.. i didn't do anything but started working normally as it should. but when I went to twrp to wipe cache it says that my data format is emmc. And I'm unable to find my data through twrp , the data format is emmc. Any help?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Dose anyone facing issue with search setting. It show apps instead of eg. Gestures. I cleared davik/catch, nothing change.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
That subtle mention of official LOS 16.0 for Kuntao !!!!! Rejoice everyone we are getting official Pie LOS
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hackerxx:
Let me get this straight.

Before flashing LOS 15.1, data partition has to be f2fs?

So let's say that I'm on a stock room rooted with magisk, I would have to format the data partition from ext4 to f2fs, flash LOS 15.1, install GAPPS....

And if I want to have root, I would have to format the data partition (again) to ext4 afterwards and flash magisk?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
If you wanna magisk, first forms data to ext4, then flash LOS and GAPPS. Run phone, log to Google and restore everything then flash magisk beta 16.7 and viola
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
+1

I think the search functionality in setting is broken, it only shows apps and keyboard settings ,rest it wont show eg: search rotate , it will say no results.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sijben:
When searching for settings failes, go to

App & Notification -> All Apps -> select App Settings -> storage -> clear data

(and for me: do it after every update again)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
Thanks Man , it worked?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Thanks, it worked for me too
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ekeluo:
Is this your first entry to custom ROM? (That is, did u just unlock your bootloader?) I ran into a similar issue as well. I can't give specific instructions, but I remember I had to go back to stock via the factory reset instruction thru ADB/fastboot. Once the original stock booted, I removed completely all encryption/fingerprints/locks. Only then was I able to flash my first custom ROM. You might need to do this.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] saintmurugan:
hi everyone, i've been on official los 15.1 ever since it came out and i so far my experience has been bug free! :) :) except for

*darkened video recording :eek:

*one key doesnt work but i like it that way , its a great stress buster! :silly:

rom is super stable and is my daily driver

pros to the developers for their hard work supporting this device and making it a bang for the buck :o :o

but....

coming from unofficial los 14.1, i followed the los wiki and installation went smoothly and rom booted as normal but one thing i found out was that it shows 'phone encrypted' in security settings at same time it shows not encrypted in trust interface

i have'nt enabled secure start up or encryption before so i find this confusing :eek:

/data is f2fs formated and i decrypted it once in old ver twrp(months ago) anyone else having similar problem?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Is this what you mean?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] saintmurugan:
yep that is exactly what is mean

encryption and credentials says phone is 'encrypted' and trust interface says 'no encryption'

i have not attempted encryption, so is the phone encrypted or not ? or is it both?:eek:

i tried decrypting in twrp which was successful, :) but rebooted to find phone is still 'encrypted' under encryption and credentials settings :confused:

what am i doing wrong?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
I couldn't find a clean solution for f2fs but as said above, I'll leave the permanent fix that requires data wipe for 16.0. Even though the current situation sucks, I don't want to break existing 15.1 users.

From a first look Pie looks way easier to handle that the nougat -> Oreo update, so I hope we will ship sooner that initially expected.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Good to hear and I personally think it's better that way. It always better to do a clean install before flashing new ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] iniro:
I agree
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Anyone's last full charge always show 42 days ago? My last full charge was this morning.

Any fixes?

Also, not sure if something was changed in the last update regarding efficiencies but getting some pretty good battery times now. Still need to restart when leaving or joining WiFi to prevent wake lock.

Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Yeah, this is pretty annoying tbh.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
I logged a Jira for it. Hopefully a, I logged it correctly and b, it can be fixed.

https://jira.lineageos.org/browse/BUGBASH-2194
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
Guys i am the only with this kind of wakelock from play services?

I literally didn't use the phone but isn't go in doze
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
does anyone passed the safetynet test?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sohit5s:
Are there any changes in vendor..in latest build??
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] medwatt:
Are you going to look at why faceunlock (Trusted Face) doesn't work on LOS 15.1. My fingerprint sensor stopped working and I rely on faceunlock to unlock my phone quickly. faceunlock works in other oreo ROMs.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] shailuk301:
Works.... But

It works only in outside bright conditions.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Everyone without root or using Magisk?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
What does the option 'view time awake' and 'percent battery used' show on GSam?

Screen shot of mine attached. I got through yesterday with about 25 percent drain.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Hello I tried flashing los 15.1 today. After fromating and wiping as mentioned in the instructions I am now stuck on this. Each time the message shows in twrp as "/data failed to mount". I came from stock bootloader unlocked, no root. Pls help. This is my daily driver
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I don't use root but was basically a general question.

---------- Post added at 08:31 AM ---------- Previous post was at 08:30 AM ----------

Did you format your data prior flashing?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Yes. Formatted but it was constantly failing. Then tried to wipe, but "/data mount unsuccessful" was showing. I followed the instructions point by point
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I've used the other version of Twrp to format data. Then flashed the custom Twrp version and flashed LOS

This because the encryption was done with the other Twrp version u used earlier.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I never used any twrp before. This is my first custom ROM flash. I installed only the twrp in the lineage instructions.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Generally, it was answered a lot of times already. If you don't use root you should know that Lineage is passing SafetyNet out of box. I don't really understand what do you mean by saying that this was a "general question" then. You question looks like you're failing the test and wanted to know if someone managed to pass it.

---------- Post added at 12:32 PM ---------- Previous post was at 12:18 PM ----------

Flash official one, go to Wipe > Format data > type "yes". If you encounter an error just reboot to recovery and try again. If you manage to format data successfully then do NOT boot to system yet. First flash TWRP from wiki and from there you're free to boot to system.

This is the only thing that works for my device. Maybe if you format your data again with LOS TWRP before booting and encrypting, unencrypting with it will be fixed for next time. I haven't tried this yet, it just came to my mind now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I changed the /data to ext4 and the phone booted into LOS. But earlier it was specified to keep the /data in f2fs and I followed it but got stuck on bootloop. I plan to use it stock without any root.

So, Will there be any issues if /data is kept in ext4 especially for OTA updates?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
No. Maybe f2fs is recommended file system but not necessary because ext4 will work fine too. f2fs is faster in theory and benchmarks but some people stated that they don't see too much difference, especially with old implementation that Lenovo used in their kernel. OP said few posts ago that he will push newer f2fs (which is faster) in next release of Lineage. Also with ext4 you will not encounter problems like encryption unsuccessful etc.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Do you think that I asked this question if I didn't know that and if it worked? No! My phone does not pass the test and no root. So therefore my question.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] danielcepa:
Wanted a fresh start, ran into some minor troubles

Can somebody confirm that twrp-3.2.2-20180709-kuntao cannot Format Data. It fails decrypting. Tried multiple times and ways, no cigar.

The only way out is to fastboot boot twrp-3.2.3-0-kuntao_row, format data (-fails at first, reboot, and it works). After this reboot in the official TWRP , wipe everything, install fresh LOS.

Im afraid that this workaround dosent use the new mkfs with fixes and whatnot (wipe only erases data, no format)

TLDR: cant get official TWRP to FORMAT DATA. Fails 100% of times

Thoughts ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Frasp:
I also have a thought. Why would the official instructions tell you to do things that make you end up in a bootloop? I don't mean to come off as being rude and ungrateful, but isn't this something that should be fixed?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Same here. Used the los twrp to format data and ended up in bootloop. Nevertheless, now I know that formatting should be done using official twrp. Thanks to this thread for continuous support!?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I am also facing this problem. Did you find a solution for it?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mbemba:
Try turning off battery optimization for that app.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Tried it But the problem still exists.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
Try reinstalling WhatsApp ... Restore the data from within the app and don't use apps like Titanium Backup to restore WhatsApp data
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Tried that already and I don't use titanium or any other back up apps. Still not receiving notifications
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] phalsgun:
All of a sudden my P2 acting weird.

The phone reboots immediately after it is locked (screen turned off) untill then it performs well , no problems.The moment you lock and screen turned off , it wont turn on and reboots it self after a few moments.

Peculiar Line in Logs:

08-25 19:56:14.535 1244-1383/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)

View attachment Log.txt
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Valberu:
I finally found that rooted phone can not do OTA updates but only manual ones ;)

(If something is asking himself the same question)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Rooted with Magisk 16.7 here, haven't had any problems with OTA Updates since the very first build.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Is there a special version of magisk for this from?

I know there is mentioned in this topic the download link. I'm lazy haha so do you know the proper link? Else I have to find the energy to search myself haha;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Valberu:
I rooted mine with the lineage addonsu.zip but maybe magisk allow OTA (I've read somewhere that root usually block OTA updates)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Not sure if you need anything specific but I use the one provided on page 2 of this thread.

Edit: The version of Magisk provided in page 2 is 16.6, you can update that to 16.7 from within Magisk Manager.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Anyone else was able to create with TWRP an backup to external SD card and able to te restore.

backup works fine but the restore caused a bootloop... i had to start all over again...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Which twrp? The official one or los 15.1?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Hi, could you reupload the fastboot file? Thanks in advance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] JohnKoffee:
Back on my problem with installing Magisk, here's what happens when trying:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] VladSor:
You need to use this TWRP:

https://androidfilehost.com/?fid=5862345805528044694
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
The LOS version.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] JohnKoffee:
Installation worked, but I can't pass SafetyNet check and can't install modules.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Trying to change file system from ext4 to f2fs in official twrp 3.2.2 (not los twrp), I get this error

No root or any mods. Using los stock.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Try install magisk via magisk manager. In options set channel to beta and you will get newest version.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] JohnKoffee:
I solved this problem. Installation worked but I can't install any module and SafetyNet is not working.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] VladSor:
https://xdaforums.com/search/thread/3814361?query=magisk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] joemar53:
Im planning to upgrade from Los 14.1 to Los 15.1 with Magisk so I can play PoGO. However, some people having issues installing Magisk.

Then I searched the whole thread about how ppl made Magisk work. I just want to confirm to do this successfully.

Planned procedures:

1. Format data to f2fs

2. Format Data, Cache, Dalvik, System

3. Flash Los 15.1 Twrp Image

4. Flash Los 15.1 Image

5. Flash GApps

6. Boot it for the first time and login whatever I need.

7. Reboot and Flash Magisk

Thanks in Advance
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DS-1:
Anyone knows why can't install this: https://xdaforums.com/lenovo-p2/themes/lenovo-p2-stock-camera-systemless-t3736996 on Lineageos 15.1 with magisk beta 16.7 (ext4)?

It tells that Magisk 14.0+ is needed.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Mine started doing this last night. I think it started when I accidentally pressed down the power button in my pocket and the phone kept restarting. When I took it out of my pocket to use it it kept restarting once booted up even without the button being pressed.

Tried to fix by dirty flashing LOS again. That didn't work.

Stopped restarts by wiping system and data and flashing LOS a fresh. Bit of a pain but all working now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] livy:
You don't need to flash magisk if your not rooting.

Pogo works fine out the box.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
If you intend to install Magisk Modules it'd be better if data were EXT4.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] joemar53:
I wont install Magisk Modules but I want Root Access. Im currently running Rootless Los.

---------- Post added at 08:37 PM ---------- Previous post was at 08:34 PM ----------

But I want root access.. Would i be fine?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Same here.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] joemar53:
but can you access Root Priviledges? like Substratum theme engine?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I do have root yes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
For me it was passing with previous build but not with present.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Exactly the same.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] blofse:
Same here I'm afraid. Was perfect before the current build, OTA update.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philje123:
Just tried and yes Safetynet fails since last OTA.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Never thought I would say this by I am glad I'm not the only one.:eek:

[MENTION=2494638]celoxocis[/MENTION]

Could you tell me if there is issues with the LOS TWRP version creating/ restore backups?

I've tried it multiple times and the result was always the same. After a restore I've ended up with an boot loop ( black screen + blue led).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fullbustah:
This might be the reason.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Hi already fix that but not release it yet. We have to wait patiently ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Looks like the cause of the issue.