yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Nabeelp2:
So when will be the next build gonna? Today or next week
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
sometimes reading has its advantages. please read here. i answered it already.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
If anyone wants to know here is the process of dirty flashing from official LOS 14.1 to official LOS 15.1 ...

source : https://lineageos.org/Changelog-16/
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 911-Future_Maker:
Haha I'm always wondering for what basic stuff people need tutorials. "The process" is just wipe system, cache and dalvik and flash.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Unfortunately kuntao is no appended to build queue yet. It seems it will go for next week.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abhayruparel:
Placeholder? ( Before anyone says it isn't placeholder AT 9:20 PM IST there is no functional build provided in OP)

AFAIK even if one would be busy at the time build arrives but XDA rules still apply to all don't they.

Weewwww

(& Yes I did read all the posts before writing)

Anyway NVM.

Anyway I was asking that can anyone link me treble enabled as in preload mounted twrp link as it was absent in OP

Also I wanted to ask that the kernel sources are in staging/lineage-15.1 for a specific reason may I please know that?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Fullbustah:
Kernel sources are also in lineage-15.1 for about 2 weeks.

twrp
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] htunze:
One Question: If I would try to build my own Lineos15 AS described here

https://wiki.lineageos.org/devices/kuntao/build

and my computer is a core i5 6600k 16gb Ram.

How long will it take? I mean, more > 24h?

And would that ROM be the same as a lineage build?

I realy dont know. I mean, of course, source code is the same, so same result.

I want to understand, why we have to wait till tuesday, when the source Code is public and the manual for building is also there?

I'm just a user using others roms, but compiling drivers for Raspberry Pi is easy.

Or do I need a super Computer?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
LOL! Epic fail! But there is a saying "The wait is often rewarded sweetly" Maybe by next week we will have a build with more necessary fixes & updates, we've waited for months, how about a week more?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] b50corei5:
You don't need to wait. You can do yourself absolutely fine. It's just most users don't want to do themselves.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Build is in progress!

View attachment Screenshot_20180710-215827.jpeg
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
I use tez on this rom without any problem, that means Bhim will work too.

Rest 2 questions I have no answers to.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
thanks. you can backup the boot partition with TWRP before flashing the Official nightly.

im trying to figure out why there is a 1408 byte difference which breaks ota updating from fastboot images.

not sure if its concat'd image or the image is padded and the ext4 magic number is difference then.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] dividesbyzero:
no idea what you are talking about.. but i will certainly help a hardworking developer like you.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
I sent you a pm. just let me know via pm when u need any guidance.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MrJackTR:
Why do i want to turn off mobile data when system want to turn it off?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 2Rabbit:
unable to mount storage lineageos 15.1

Hello everyone, I just installed lineageos 15.1. TWRP I took from the official site of linageos. And when I go to TWRP I get an error: "unable to mount storage", but I was able to install Magisk and it works. Should there be a "unable to mount storage" error? Any solutions
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ttreddy2210:
I have a problem with music app song one, another album art is showing up and not all music in my phone is showing in the music app
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jovintr:
Not booting into twrp. Instead showing lenovo recovery. I followed everything as per the instructions on LOS page. Can anyone please help me?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
post some more information. like:

where are you coming from.

did you unlock bootloader.

is your /data partition ext4 or f2fs.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jovintr:
Coming from stock ROM

Yes I did unlock bootloader

Not sure about the partition type, I am new to this.

I could get into twrp by typing " fastboot boot twrp filename.img"

Also, I couldn't find a clear guide as to which of the partitions should be selected for backup and which partitions should be wiped before installing los. Also, should dalvik cache be wiped after OS installation?

---------- Post added at 07:20 PM ---------- Previous post was at 07:15 PM ----------

The key combination to get into twrp didn't work for me.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
try this. after:

fastboot flash recovery recovery.img

run as you already did.

fastboot boot recovery.img

then once in TWRP go into reboot>recovery.

then allow to modify system and swipe to allow.

at this point the recovery won't be replaced by stock recovery.

then simply run wipe>swipe to factory reset

then install nightly and gapps (nano recommended).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
It's normal not have the smart lock fuction?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Does this ROM have the nav bar ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
you need to enable it under "Trust Agents". it's not enabled by default. prerequisite would be to setup a pin first.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
You need to have the special TWRP which is mentioned in the start post. There is a newer version coming up in a couple days according [MENTION=2494638]celoxocis[/MENTION].
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jovintr:
Which partitions to select while 1. backing up and 2. wiping while coming from stock ROM? Should I go with the default selected items in twrp?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 2Rabbit:
I installed twrp-3.2.2-20180709-kuntao.img, is this not the right version?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
when you want to backup stock to restore back in case you want to go back. just select "system image", " vendor image" (will backup preload tools) and "user data".

just make sure you backup those to microsd card or usb-otg with a pendrive connected.

for wiping you can stick with the default selected items which are done when swiping for a "factory reset".
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] dividesbyzero:
Native fingerprint applock is available or we have to download some app to lock apps?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MAILUS:
[MENTION=2494638]celoxocis[/MENTION],

Is it possible to backup everything (bootloader, radio, inri, system and other system partitions) using fast boot OR without modifying the system?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
yes it is but not with TWRP via GUI.

you can however start an adb shell. either when in TWRP.

or in the fully booted ROM and dump all the partitions via "dd". but a wrong definition by an inexperienced user of the dd command can brick you device. (like swapping input and output for example).

there is a tool written by an amazing dev, SuperR.

this Linux only tool. that dumps all your partitions to either internal storage or pulls it straight to your PC.

https://xdaforums.com/chef-central/android/tool-mmcblk0-extractor-t3306883

I'm sure there are other alternative tools by other devs for windows but I never tested those.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Anyone having unexpected battery drain while the screen is off? I found a potential reason for it. It's took me a while to find but the 'Prevent accidental wake up' setting when on uses quite a bit of battery.

This can be found under Display > Advanced.

Took me a while to find out what was causing it as it doesn't really show up (or I didn't know what to look for) in the battery stats.

I guess it's on all the time to prevent the accidental wake ups. It was causing the phone to not go to deep sleep. It was staying at 652.8 MHz even when the screen was off for most of off time.

Getting a about 1.1% per hour now. Was about 2.4 with it on using efficient performance profile.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jovintr:
Backup failing at 71%. What can be the possible reason?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
microsd card or usb-otg device not exfat formatted?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jovintr:
No I hadn't done that. Will do it and try once more. Thanks again.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
Also the option didn't work
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
It does work. It prevents screen touches doing anything after the power button is pressed. The screen comes on, but the lock screen doesn't react to your touch.

Edit! Sorry, you're right. It doesn't work.

I was putting my finger across the top where the sensor is but this stops the screen from registering touches. If you hold your finger just above it doesn't prevent touches.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
i assume new twrp come out today, right??
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
who said that?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
hmm, no one. because i thought upcoming nightlies needed new twrp according to recent changes
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
the kernel changes affecting f2fs haven't been merged yet. so no need for a new Lineage TWRP build.

mike merged f2fs-tools changes and even pushed those upstream to AOSP. which AFAIK got merged. so every custom ROM that is based on AOSP will have those fixes.

which were long overdue but Google doesn't care about f2fs as it's Samsung's pet project but then again Samsung doesn't care about AOSP...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] redondo16:
How do you added aptx libraries with adb root? :confused:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
it looks like my vibration motor is failing since this morning. has anyone else got that issue on their device?

it randomly works. for a few minutes and stops working for hours. it's not an ROM issue. I have no vibration (haptic feedback) at all in TWRP either.

I used to set it always to 25% percentage because the defaults where way to strong while typing.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] topoldo:
Hi all.

In order to close all recent apps in LOS you should:

a) tap on the recent button

b) swipe down all the recent apps for reaching the statement "CLOSE ALL" or "DELETE ALL" (in Italian is "CANCELLA TUTTO")

c) Tap on this statement

This process is quite cumbersome if you have many opened apps because you need to swipe more than once.

On the contrary, when you tap on the recent button on AOSP then a trash appears on the right corner at the bottom of the screen which overlays all the recent opened app. So you can easily tap on this button without the need to swipe all the apps.

Anyone knows if there is a similar option (or a third part app) which can do the same in LOS 15.1?

TIA

Topoldo
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
There is a magisk module for installing APTx on Oreo, I took the libraries from there and pushed these at the proper locations through adb root yes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kamoO94:
fast charging doesn't work for me. i installed also magisk and fast charging module, but still nothing.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
i highly recommend to uninstall that module.

the p2 doesn't use Qualcomm code for fast charging but it's own proprietary code. I suggest you switch your usb-cable and test again. it has been discussed before.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
How to exfat format SD card?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
you can do it in TWRP.

go into advanced wipe and select your microsd card then hit "change format ..." (the button on the right. can't recall what exactly it says ATM) and select exfat.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Will it have any sort of side effects on the performance or functionality of sd card?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
no why? you will still be able to use it as either portable storage or extended storage in the ROM itself. when asked or manually setup.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Thanks. There is so much info to get things done and find solutions on this thread. Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pootie_tang:
I'd backup, then completely wipe the phone & reinstall everything if I were you.

I have Magisk, Xposed, substratum all working, no apps freezes whatsoever. I also restored apps I backed up from Lineage OS 14.1 with Titanium & everything works.

Make sure you have the right TWRP recovery (check my prev post in this thread) & use the latest Lineage nightly (next one will arrive this WE).

Hope this helps!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
wasn't it already building? or did I miss something?

edit: just checked. it's still building. should be available in 30-45mins.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jarvis134:
Will the battery life improve as days pass after installation? Is there something as the OS getting settled?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
battery life I highly dependable on your usage and apps running background jobs/collecting or sending data (google apps for example). so watch your installed apps closely.

after a fresh install. (coming from a factory reset). it takes time to collect battery statistics that's all.

if you want to monitor what jobs/apps keep the CPU awake I recommend one of the following. Gsam Battery Monitor (my fav.), Better Battery stats (old but still works?) WakeBlock (if you want to monitor and block those nasty google apps from waking your device too often).
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jarvis134:
And how do I install the next nightly? Should I do it over "Lineage OS updates" in settings? I am sorry, I am new to this.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Bipo:
It helps a lot, thanks for the thorough answer!

I'm trying AOSP ex for now, but I'll make sure to use the right TWRP next time I'll flash LOS. Glad to know it all works together.

Edit: now AOSP starting to have the same issues, day 2
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] NerddoSwaggo:
Fingerprint sensor not working at the moment. Was having trouble with the original firmware on my phone, wiped everything, flashed LOS and no fingerprint options. Downloaded and flashed the stock S251 ROM and it was functional again. Reflashed LOS and on first boot the option was available in security settings, but wouldn't move past "touch your fingerprint sensor" dialogue, and on reboot the option has disappeared again. Any suggestions?

Update:

After several more reboots, fingerprint settings now showing, and registering fingerprints so (tentatively) all's good now. No idea how multiple reboots worked but apparently turning it off and on and off and on a bunch fixes it?

Update 2:

Fingerprint seems to be very picky, will be present sometimes, but not others. After updating to 010818 nightly, Fingerprint is gone again after first reboot.

Update 3:

Reflashed S251, followed by 010818 Nightly, fingerprint setup on initially launching phone worked, took my fingerprint, unlocked no problem, but functionality has disappeared again. Feeling it could possibly be a hardware issue on my end, though can't be sure.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
From where did you download the S251 stock ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sohit5s:
Twrp 3.2.3.0 available ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] NerddoSwaggo:
https://xdaforums.com/lenovo-p2/help/update-p2a42s233170404row-ota-t3768534, google drive link is S251
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] highend01:
LOS 15.1 treble compatible?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
yes it is.

the Official version of the TWRP build by kuntao is only meant to be used for the stock ROM. due to reasons mentioned before in this thread.

please stick to the Lineage-TWRP build from the Official LineageOS wiki for use with LineageOS 15.1.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] highend01:
Ok, thanks for the advice, celoxocis!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Can we get digital well being for Oreo...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Okay, so I finally unlocked my bootloader after returning home from long trip and tested some GSI's and this Lineage.

In quick tests GSI's are working great and probably they share same problems with LOS, except for FP gestures which I can't find in settings of other Treble ROMs (for example: DoT, PixelExperience).

Now I'm testing Lineage 15.1 31.07 build for 3 days and It's really great so far. It's stable and reliable as daily driver but I found these minor bugs:

1. LED diode is sometimes blinking for a miliseconds when It's turned on all the time (for example when charging the phone). It looks like little voltage drops.

2. Call speaker volume is too quiet. Yesterday night my friend called me and I could hear him barely.

3. FP Gestures - Sometimes phone register clicking home button as home + back (as people metioned before), also sometimes when you try to exit recents by pressing home button it doesn't show launcher but when you tap somewhere on the screen recents pop up again (can't replicate it yet, maybe it's fixed in today's update which I already installed)

4. Official beta build of Magisk 16.7 is working great on F2FS /data but I'm losing Magisk Hide settings, systemless hosts and all modules (YouTube Vanced, F2FS loopback) after reboot. If I flash F2FS workaround module again, youtube vanced appears again until next reboot. Modules are not big deal for me because I mainly want my phone to pass SafetyNet so I'm using only core mode but MagiskHide settings are because I probably need to hide root from Google Pay to use it. I will test it in next hours.

If I found more bugs I will post them
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hnsaba:
Call volume has been low since first build, such you hardly can recognize speech in a little noisy environment!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
1-2. never heard before never experienced it either.

3. I think (pressing home button and triggering two actions) is a known issue and mike looked into it but not sure if he found a solution yet.

4. is also a known issue and related to the f2fs kernel version from Lenovo. it's fixed but has not made it's way into the nightlys yet because it breaks in-place upgrades.

it requires a full wipe of /data to properly work. we don't want couple of thousands of users soft bricking their device.

maybe its your magisk version but my device passes safety net. see attachment.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
when moving to LOS 15.1 from stock ROM (s251) for the very first time, should we use the official twrp for kuntao or the Lineage OS specific twrp?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] robotnikz:
You answered your question by yourself ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
the LineageOS-TWRP from wiki. the official has no support for /vendor partition flashing.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
1. You can try watching your LED when charging. I saw it accidentally yesterday for the first time and the "problem" persist after update.

2. People metioned low calling volume before and I'm also experiencing this one.

3. I hope it will be tweaked/fixed soon and I hope it will also fix that recents bug I encountered 10+ times.

4. I thought that F2FS loopback workaround module will fix it until proper fix will be found. Nevermind, I don't really care about modules. I can use Youtube Vanced without Magisk. The problem is that it resets systemless hosts and MagiskHide settings every reboot and I believe that Google Pay will not work without MagiskHide so I need to remember about ticking it and GSF in settings every boot. Other apps that have root detection too. Also I'm passing SafetyNet without problems (attachment).

Also can you check what root checker says when you hide root from it in MagiskHide? I believe it should say that device is not rooted but somehow it tells me that root is not installed properly. Even my banking app detects root after hiding. I always use this detector because it show most accurate info comparing to others I tried before:

https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck

but feel free to use other app if you trust it.

It's strange situation for me because on my old LG it was hiding root from apps properly. Termux can't find su binary when I use MagiskHide on it so the binary is hidden properly. Maybe F2FS is breaking more mechanisms on my install than I think.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
Hey Mike if possible plz bring back circular battery icon as Am/Pm are back.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] shabab malik:
Latest build download link is broken. It shows 404 not found. Can anyone confirm that?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
Dirty flashed over the 31st July update and the clock app entirely disappeared. Had to download a 3rd party alarm clock just so that I can wake up for office in time tomorrow (hoping the all doesn't fail ?).

Any idea why this happened ?

PS can't install Google **** from play store , it's showing some error 500

---------- Post added at 07:24 PM ---------- Previous post was at 07:23 PM ----------

Use the internal updater
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 2Rabbit:
Should I use twrp from here https://wiki.lineageos.org/devices/kuntao/install ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
Logged a Jira for this - https://jira.lineageos.org/browse/BUGBASH-2138

Seems to be still an issue with latest build.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Yes correct.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
Any one can tell be how to install the clock app without flashing gapps again ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] ekeluo:
Server Issues

I can't seem to download the ROM from Lineage site. 404 Error. Anyone else getting this?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] shabab malik:
Can anyone mirror the latest build. Lineage link is down.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
it works for me.

https://mirrorbits.lineageos.org/fu...neage-15.1-20180807-nightly-kuntao-signed.zip
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jk77:
All the mirrors may not be up-to-date it seems, click on the following link until you get redirected to a mirror that displays the 20180807/ folder :

https://mirrorbits.lineageos.org/full/kuntao/

... or use this direct link :

https://lineageos.mirrorhub.io/full/kuntao/20180807/lineage-15.1-20180807-nightly-kuntao-signed.zip