yashsingh1/xdaforums huggingface dataset:
[HTC Excalibur] theformula:
Just getting antsy, as I updated my Herald to Open Touch 3.0 which is based on the WinMo 6.1 base and love the speed, stability, and threaded sms. Any developments in the Smartphone community? The HTC rom is a fantastic leap from the T-Mob garbage but it would be nice to have the copy/paste and sweet homescreen.
[HTC Excalibur] djnutz:
Yeah I'd love to hear if anyone knows when it's going to hit smartphones. I know the q9 is coming out with it but don't have an ETA.

I'm looking everyday trying to find one though and if I do I'll be posting it...
[Fire TV Q&A, Help & Troubleshooting] robandore:
HI,

I've been streaming pandora stations using Alexa on firestick with no problems until last week.

From one moment to another, Alexa says shes not able to reproduce my stations.

However, if I factory reset de stick, she starts to play normally again until I turn off the stick... after that, the problem gets back.

I'm in Colombia and I know Pandora is not supposed to work here. But it did work for quite a long time and I'm still trying to figure out what's going on.

Any Ideas of what could be causing this behaviour?

Thanks.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] FireLord:
LineageOS 14.1
​

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.0 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

Working

Boots

Wifi

Bluetooth

Camera

RIL (Calls, SMS, Data)

Video Playback

Audio

Camcorder

HDR may be broken on third party apps

VoLTE

GPS

NFC

Fingerprint

Fast charger

LEDs

FP gestures

Not Working/Bugs

OneKey

Testers

@Pranay 7

@Ammo Gowtham

@Subham

@Deep Mitra

@abhayruparel

Installation

Requires Unlocked Bootloader & a custom recovery

Place ROM & Gapps in your virtual SD

Reboot in Bootloader Mode

Go to "Recovery" (Vol +/Vol -) and confirm (power)

Wipe Data/Factory Reset

Wipe Dalvik cache

Install the ROM zip

DO NOT REBOOT

Install the Gapps zip

Reboot

Downloads

AndroidFileHost

Sources

Kernel

Device

Vendor

Note

Huge thanks to @Alberto97 for help & @wzedlare for initial device bring up.

Switch to EXT4 for now to root the rom. f2fs thing will be fixed soon.

Donate

If you liked the work and wish to donate then here is the:

* paypal *

paypal.me/FireLord

rajukumar8041@gmail.com

* paytm *

https://goo.gl/76r53R

XDA:DevDB Information

[ROM][7.1.2][P2] Unfficial LineageOS 14.1, ROM for the Lenovo P2

Contributors

FireLord, mikeioannina, highwaystar_ru, Subham

Source Code: https://github.com/LineageOS

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

ROM Firmware Required: s244 stock and twrp

Based On: LineageOS

Version Information

Status: Beta

Created 2017-08-28

Last Updated 2017-11-15
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] FireLord:
* sim disabling: please ignore that option.. don't mess with it! It's just for volte to work, will be fixed soon

* Video recording: it's not working properly so use footej to record.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] FireLord:
#6 20171112
* update prime (wifi driver) to LA.UM.5.6.r1-06200-89xx.0
* Fixed fp gestures thx highwaystar
* Reverted to stock audio hal for now oss is little unstable
* google assistant is triggered when homebutton is pressed twice instead of long press
#5 20171104
* Fixed dt2w
* Fixed glove mode
* Fixed LEDs (thx mikeng)
* Switched to oss audio hal (thx to highwaystar)
* Added burn-in protection
* Added color mode
* Latest Security Patch (Oct 5)
* Merged caf tag LA.UM.5.6.r1-06100-89xx.0 in kernel
#4 - 20170924
* Switched to Enforcing SELinux
#3 - 20170922
* Vibrations fixed as stock
* Basic Ambient display added
* GPS reboot fixed
* HDR should be enabled by default
* Merged caf tag LA.UM.5.6.r1-05900-89xx.0 in kernel
#2 - 20170917
* Fixed FM
* Fixed video recording playback
* Enabled call recording
* Made interactive as default gov
* Renamed to kuntao
* Latest Security Patch (Sep 5)
* Merged caf tag LA.UM.5.6.r1-05800-89xx.0 in kernel
#1 - 20170828
* Initial Release
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] chaubeyprateek:
Thug ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] PL15:
Thanks FireLord :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nab_shk:
Hahaha great going Aman!!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] wzedlare:
Finally another developer for P2.I appreciate your work [MENTION=6257538]FireLord[/MENTION]

Edit: I couldn't find device and vendor tree in your profile.Will you share them?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] FireLord:
will push tree and vendor by morning got to cleanup few commits so it looks good. maybe by 6:09AM IST :)

edit: it seems dirty builds gave me mismatch in sha1sum of apks,jar so sources will take time to be up, i dont want to put source which is not perfect.

Edit2: sources pushed before actually time. Cuz I'm sleepy now. 4:19 am
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] salvatore46:
Finally a rom with volte. Thanks you

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Siva Mk:
**** **** this can't be real!!!

I'd smash that like button and sit on it if possible lol!

Thanks a ton!! You have won a lot of respect!!:cool::good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Javed ali:
Thanks ? brother we are waiting for volte support rom. Hope you will add it in rr ROM. Mokee ROM. Aicp and all official ROM. Hope you will continue your work
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] widewozzy:
Excellent works. Is in call volume fixed ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Billytromp:
I'll second all of the positive responses here. Damn, this is simply amazing. You are a bliss for the community!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] senseijtitus:
Excellent and outstanding job done by fire lord. This would be a pivotal point in P2 Rom development. Fire lord along with Mike would make this much under rated handset a beast with numerous custom roms based on Lineage.

Will install the latest build. I will miss the FP one key Navigation feature which is a great boon for those who want to use there SUPER AMOLED screens to the max. + ease of navigation.

But will wait for that to be fixed in future.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] potatoman4321:
This is great, thankyou.

But are there still networkdrops?

And before installing this, do you have to wipe system? I'm on nougat deodexed right now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] dkgagan7:
amazing work sir .......when we will be able to use this as daily driver ?

......coz i too from india and use JIO VOLTE calls

any force crashes , camera crashes ?

Is ROOT working , xposed modules ? plzzz reply
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Nextstar:
Everything is working fine . Go for it
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] bnayagrawal:
I will pay ₹100 through paytm once I try it and if it's suitable enough for daily use. :) And I request everyone here who will use this ROM please consider donating him a small amount atleast. ₹100x50 users = ₹5000.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] XiaoAk:
Guys read carefully it says VoLTE works on this
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] fortunespells:
I read the kernel source and did not seem to add the camera2 API, it will affect google camera?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satya365:
Ok thanks for your reply :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Shresth (IN):
How can we remove encryption then

Once U boot into STOCK system for 1st time it encrypts ur storage

How can i remove encryption if i dont wipe data (inc internal storage ) before flashing RR or any other ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nazim7:
Same problem happened to me too yesterday. I even dirty flashed the rom again, but still the sim was disabled. Only way to make it work again is to clean flash the rom or make a factory reset. It should be mentioned under bugs section.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abhayruparel:
I don't mess with encryption a lot. I flashed los from stock s244 by following the steps mentioned in the thread without any issues.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] zalaTheOne:
I was on s233 before i had flashed custom rom so still i need to start from s232?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abhayruparel:
You can to start from s233.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mojoman11:
Need to make a correction. After using it for a couple of days somehow surprisingly the camera i feel is better. Ive never ever experienced better camera than on stock before but somehow its different here.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Billytromp:
[MENTION=6257538]FireLord[/MENTION]: possible bug:

As mentioned here before, I also experience lots of network drops. The signal continuously goes from full to zero and back again. Strange thing is that it only happens to sim1.

Attached a perflog.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nandakis4:
same here.. in order to make this Volte to work , i disabled sim to re-enable it..

but now i am stuck at SIM DISABLED :rolleyes:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jaswanth S:
If mordem is messed up

Can I restore it from my backup using TWRP
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] skype007:
Hi,

First of all thank you a lot for your work :)

I'm experiencing an issue with EAP-SIM authentication (those who lives in France using "FreeWifi_secure" network will understand). The parameter "EAP-SIM" is present in the list, but when I'm trying to Connect, it says "Password may be incorrect" oO

I don't know if it's already there but in wpa_supplicant.conf the network was not registered as a EAP-SIM network but as a WPA-PSK network.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Subteras:
Tell me, what about the camera? Does it also remove dark?

Отправлено с моего SM-G925F через Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] spandrd:
hi

I am stuck with Lenovo P2a42 (32 GB) in a situation where "VoLTE Flag" is not appearing despite being ON in phone information settings also. Whatever stock or custom ROMs I flash, I am usually able to see "Enhanced 4G LTE Mode for Voice Communication" inside JIO SIM Settings, but VoLTE Flag is not appearing in status bar, & Calls are not going through VoLTE.

Morover, I don't see the same even when flashing fastboot ROMs of S048 or S232 or S244 version, and I am not able to update through OTA (getting error in recovery after update download) [bootloader is unlocked].

I even tried swapping the SIM, keeping JIO SIM Alone & now in Slot-1, but to no use :((

Can u help / suggest / guide / advice anything on this?

Thanks in advance,

regards,

spandrd

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

hi

I am stuck with Lenovo P2a42 (32 GB) in a situation where "VoLTE Flag" is not appearing despite being ON in phone information settings also. Whatever stock or custom ROMs I flash, I am usually able to see "Enhanced 4G LTE Mode for Voice Communication" inside JIO SIM Settings, but VoLTE Flag is not appearing in status bar, & Calls are not going through VoLTE.

Morover, I don't see the same even when flashing fastboot ROMs of S048 or S232 or S244 version, and I am not able to update through OTA (getting error in recovery after update download) [bootloader is unlocked].

I even tried swapping the SIM, keeping JIO SIM Alone & now in Slot-1, but to no use :((

Can u help / suggest / guide / advice anything on this?

Thanks in advance,

regards,

spandrd
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pranavateja99:
https://xdaforums.com/lenovo-p2/how-to/lost-imeipls-help-to-restore-t3660407/post73502648

Just follow 2 to 8 steps....flash S048 and go up to S244 using OTAs only

Next twrp flash, Firelord los or RR with firelord base

Now problem is whatever stock file you flash using fastboot,...modem partion will not get updated( unlocked bootloder p2). So error is same for everything you did.

May be devs here has short cut

to fix modem, but I follow this...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] spandrd:
worked with Clean Flash

"VoLTE" Worked with Clean Flash after erasing everything...... however, for me, P2a42_Ekim_Stockrom-ONE-TEAMS (Original S048 MarshMallow Firmware Backup Version) worked... (other interested P2 users can search on google for it :))

Flashing S244 directly led to "HOTSPOT" Error... so, was getting VoLTE that way, but not hotspot. So, followed complete procedure A2Z... Thanks to the contributors (@FireLord , [MENTION=4735875]pranavateja99[/MENTION] )

So, i didn't need to waste tooooo much data on downloading big-big update versions :)) !!

[Try https://mega.nz/#!21d1QKBI!4moTuiDwytL186dmpCKgeSlGSnvlWBfAy6njU1FXOqM

or

https://www.google.co.in/search?rlz...1.1.0....0...1.1.64.psy-ab..1.0.0.eL_tknzWook ]
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Javed ali:
How to Root this ROM
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Billytromp:
Download the su-addon file from lineage.org and install
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] raphj:
Hello,

I have the same issue with other custom roms. I haven't tried this one but a workaround for me is to replace the wpa_supplicant binary by the one that is found in the stock rom.

You can do it while your android is running with:

adb push wpa_supplicant /system/bin/wpa_supplicant

And then turn wifi off and on again. If this does not work, you may need to "forget the network".

I have no idea why the wpa_supplicant binary from custom rom doesn't work. I don't really like the idea of replacing a binary but this makes FreeWifi_secure work.

To the guy who cannot join his college network: maybe you can try this too.

Thanks everybody for your work on custom roms.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mojoman11:
Hello there.

I'm the guy who can't connect to the college wifi..hehe.. Ive been waiting every single day for someone to post a solution for the wifi.. I just saw your post.. Do I have to just enter the command or do I need the wpa supplicant file?? Please reply as soon as possible.. Really excited to hear..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] raphj:
I don't know if this will work for you since this is a different issue and I don't have your logs to check if it is wpa_supplicant that fails in your case. You can try to connect to the Wifi of your university while showing the logs with logcat to check this (use adb logcat, or an app that can show logcat in Android).

Anyway, to replace the lineage wpa_supplicant binary, you indeed need the stock wpa_supplicant file in your shell's current folder on your computer when you type the command.

I forgot to give details, so here they are:

1) please backup your /system/bin/wpa_supplicant file before doing anything. It will ease restoring the file in case anything goes wrong, or in case the method doesn't work.. You'll find it in your backups :) I could provide a temporary link, but please don't trust strangers like me to provide binaries (the fact that these are my two first posts here makes it even worse), and wpa_supplicant is central to Wifi security, so…. Anyway, stock roms can be found everywhere in this forum.

2) you need to be root with adb (so your phone must be rooted - alternative: push the file from TWRP, in which case the only relevant command is the adb push command, and your system partition must be mounted with write permissions from TWRP):

adb root

3) you need to remount /system with write permission:

adb remount

4) then issue the command:

adb push wpa_supplicant /system/bin/wpa_supplicant

5) then let's remount /system read only for security and stupid-proofness (is that a word?) reasons, especially if you run untrustworthy apps:

adb shell mount -o remount,ro /system

6) then unroot, for about the same reasons:

adb unroot

Don't forget to turn wifi off and on again, so the system uses the new wpa_supplicant binary.

You'll need to do that each time an update is made. So for example if you use AICP and it offers an OTA update every week, do wait to be with your computer and to be able to use adb after the update.

I did try to replace the wpa_suplicant binary from within Android using su, but I entirely broke wifi doing this because wpa_supplicant did not have the right permissions set and Android refused to use it. I remember not being able to fix it from Android, but I didn't try so hard. I cannot imagine this is not possible.

In the long term, this seems something that needs to be fixed in Lineage / AOSP rather than messing with binaries and trusting stock rom binaries when we could use binaries that are built from known source code. But I'm completely clueless about how wpa_supplicant works.

Please let me know if it works for you.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mojoman11:
Wow. Thanks a ton for the explanation.. My phone has been rooted with magisk.. So does that mean I have to still use all the commands u posted including root and unroot or do i use just the one command?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] raphj:
Yes, having your phone rooted by whatever means is a necessary step for adb root to work at all. adb does not seem to run things as root by default if you don't ask it to (by using adb root).

Without root, you'd still be able replace the binary, but from TWRP, not from Android (and in this case, no need for adb root). Also, replacing wpa_supplicant like this while the plane is flying happens to work by luck. It could stop working if for whatever reason Android changes its way of handling wpa_supplicant.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mojoman11:
Okay.. that makes sense... I've been trying to find the wpa_supplicant stock file .. but I can't seem to find it on my twrp backup nor in the stock roms zip file which i downloaded.. Although I can locate it on my phone with root browser.. Can you help me find the stock file please?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] raphj:
Right, I forgot some steps.

I'm on Linux. I'm able to mount my system_image.emmc.win image (found in the backup) this way:

sudo mkdir -p /mnt/backup-twrp

sudo mount -o loop TWRP/BACKUPS/XXXXX/2017-05-13--07-45-42_P2a42_S233_170404_ROW/system_image.emmc.win /mnt/backup-twrp

Then, your file is in /mnt/backup-twrp/bin/wpa_supplicant, or whatever folder / drive letter you mounted your image on.

Don't forget to unmount your image when you are done.

On other systems, including Mac, and Windows, you may have to find a way to mount ext4 partition image files. See https://superuser.com/questions/246400/is-there-a-way-to-mount-an-ext4-volume-image-in-windows-7

ext2read seems to be a solution on Windows (haven't tried). You can always install a GNU/Linux distribution such as Ubuntu in a Virtual Machine and mount the image with it inside the VM.

Please let me know if you succeeded.

(ps: forgot to say, please note that doing that, you prevent your wpa_supplicant binary to get security fixes)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mojoman11:
Okay then.. I'm running win10.. Will mount a linux distro on vmware and try... Thanks again..

[MENTION=6257538]FireLord[/MENTION] if you're reading this is it possible for you to fix this problem without us having to mess with the binaries?? Thanks for all of your work on the roms..much appreciated..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prasaddeshmukh:
Hey sir you are doing a nice job . I just want ask you when this ROM will get official status I am waiting for this ROM to get official build . Once again thank you for making this ROM :good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Siva Mk:
I don't know why everyone one is crying for official status! I mean, what difference does it make !??
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jaswanth S:
It will attract more devs and we will get support for a longer time
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Siva Mk:
Oh come on! No Matter what the status of the ROM is, you'll eventually jump to a new ROM if available. Only difference being you'll get automated updates from official server side. But at this point with ROMs not yet completely stable (well daily driver yes) there's nothing to gain with an official tag.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Taranis:
With official tag you get definitely automated builds (nightlies), I suppose. :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] garvit girotra:
Its not compulsary to give nightly but you can give weekly or ocassionally updates as on lineage os server there are some device which gets official update on weekly or 2 week basis so nightly is not compulsary for that
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] the_MUKe:
Encryption

Could someone please confirm if encryption is working with this ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nihil39:
Does volume control during conversation with headphones, earpiece and or bt headset work?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] FireLord:
Bugs are not fixed here due to my exams..

Official yes basically just means automated builds, idk why users think official means more stable + secure. Its same thing eventually..

Lets say you take sources from official git and build on your system, you will get unofficial branding so that makes it buggy? NO

If you want automated builds even i can provide but i need a server for it which i can't afford
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Siva Mk:
Exactly! Thanks for making it clear!

About bugs, it's somewhat stable for daily use. So take your time. We've waited this long, why not a little more :D
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nandakis4:
Damn! You are talented .. I completed my studies..don't know how to cook roms yet ..

Great determination by you all devs.. with this kind of brain,I am sure you can crack your exams easily ..

God !I wonder how your computer sir feels when you start explaining about any of these codes :laugh:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kongha:
Keep up with the studies and dont procrastinate to much with fun cooking projects ;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] FireLord:
new build: https://www.androidfilehost.com/?fid=745425885120763138

#2 - 20170917
* Fixed FM
* Fixed video recording playback (reboot once if it fails)
* Enabled call recording
* Made interactive as default gov
* Renamed to kuntao
* Latest Security Patch (Sep 5)
* Merged caf tag LA.UM.5.6.r1-05800-89xx.0 in kernel

1. Tried to remove qti (sim enable disable feature) but it broke VoLTE so ill request users to not to enable and disable sim(just let it be as it is), as it fails sometime or basically has bug.

2. Why bugs fixed by MikeNG are not present in your rom?

Ans: He's device sources are not released yet and i dont have access to them..