yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] Gwenm:
Thanks a lot! Can we dirty flash?
[OnePlus 2 Original Android Development] aviraxp:
Yes, you can dirty flash on previous build of this thread
[OnePlus 2 Original Android Development] The_Voice_70:
checked 2112 Build :

Hot reboots in TWRP 3.2.1-0. Device going hot. Need to investigate more.

Edit : Problem solved with Clean Install with 9.0 ARM64 nano gapps. First look: Build is fast. Many thanks to aviraxp;)
[OnePlus 2 Original Android Development] netguru76:
Which twrp version is recommended?
[OnePlus 2 Original Android Development] Santi_SAZ:
The last one
[OnePlus 2 Original Android Development] netguru76:
It's my son's phone.

Hybrid 3.3, works? If not, which is the last one please.?
[OnePlus 2 Original Android Development] zipalign:
https://dl.twrp.me/oneplus2/

3.2.1-0
[OnePlus 2 Original Android Development] Santi_SAZ:
https://dl.twrp.me/oneplus2/
[OnePlus 2 Original Android Development] aviraxp:
Can anyone test if Jio app works on this build?
[OnePlus 2 Original Android Development] Bot96:
I tried it. But, nope, it doesn't work.
[OnePlus 2 Original Android Development] lauriv2:
Is it just me, or are you guys also experiencing random reboots?
[OnePlus 2 Original Android Development] dedo1996:
Nope.

New update 20181221 rocks, the phone is quick and the battery lasts a long time with a lot of screen usage. Clap clap!
[OnePlus 2 Original Android Development] abhijiths362:
Wonderful update thanks op
[OnePlus 2 Original Android Development] dedo1996:
Only EDIT:

Some apps seems not capable to send notifications

Auto-brightness not working
[OnePlus 2 Original Android Development] Nixx7:
Just want to know the selinux is permissive or enforcing ?
[OnePlus 2 Original Android Development] aviraxp:
permissive. Will be enforcing in next build.
[OnePlus 2 Original Android Development] vamshi krishna.s:
Is volte working guys
[OnePlus 2 Original Android Development] Nixx7:
Cool. Thanks.
[OnePlus 2 Original Android Development] lampsBR:
Hi,

I've installed lineage 16 in my oneplus2 last week and it's being great! Some slowdowns when it wake up, but amazing animations, battery time, network fine too etc. Good job and thanks!!

I'm wondering if I can bring back the music gestures to my system. In lineage 15 I was able to draw signs like ">" , "| |" and "<" with the screen off, to control my music apps (mainly deezer and podcast addict).
[OnePlus 2 Original Android Development] mincaeuro:
for me it works , without any customization,

check under System > Gestures > Touchscreen gestures
[OnePlus 2 Original Android Development] Sneakwish:
When I put the notification slider on top it is in 'total silence', my alarmclock goes off without sound even though i enabled alarms.

When I put the notification slider on middle it is on 'priority', then alarmclock does work but it still says its on 'do not disturb'.

Or am I doing something wrong? using build 20181221.
[OnePlus 2 Original Android Development] aviraxp:
First paragraph: intended. that is what total silence mean.

Second paragraph: An logic issue which is already fixed.
[OnePlus 2 Original Android Development] Gulbuddin:
My friend could anyone please inform me if the cast function works or not? I have switched too many roms for the cast function but none of them have it working
[OnePlus 2 Original Android Development] aviraxp:
Google removed cast on Pie (they think no one uses it). Qualcomm added their own implementation, but very unlikely it would work on an old device.
[OnePlus 2 Original Android Development] Gulbuddin:
Thats such a sad news. In the age of smart tvs why wouldn't people use cast function? Bad call from google
[OnePlus 2 Original Android Development] VW22:
With the latest lineage-16.0-20181221 version I still get errors when choosing the pixel launcher just after reboot; just like previous version.
[OnePlus 2 Original Android Development] fixbug:
I've installed lineage 16 3 days ago.

Configuration crash sometime but finally, it was ok.

I use nano because stock cause pixel launcher crash.

Thank you for this great rom !
[OnePlus 2 Original Android Development] toni~:
clean install and everything works like a charm (20181221)

the wakeup slowdowns from lineage 15 are gone aswell. great rom!
[OnePlus 2 Original Android Development] pingopower:
GApps 8.1 don't work because it's for SDK 27, and not 28

It works with GApps 9
[OnePlus 2 Original Android Development] JoeF2:
Of course you need Gapps 9 for Android 9/Pie. The 8.1 stuff was just a copy-and-paste issue, or possibly a check if people pay attention.

If you had searched the thread, you would have found that it was stated long ago that you need Gapps 9...

---------- Post added at 02:16 AM ---------- Previous post was at 02:07 AM ----------

Encryption fails because the key can't be created.

My logcat:

12-22 19:29:49.520 362 8974 I Cryptfs : Using scrypt with keymaster for cryptfs KDF
12-22 19:29:50.247 362 8974 I Cryptfs : Signing safely-padded object
12-22 19:29:50.254 352 352 W hwservicemanager: getTransport: Cannot find entry android.hardware.keymaster@4.0::IKeymasterDevice/default in either framework or device manifest.
12-22 19:29:50.260 362 8974 I vold : List of Keymaster HALs found:
12-22 19:29:50.261 362 8974 I vold : Keymaster HAL #1: SoftwareWrappedKeymaster1Device from Google SecurityLevel: TRUSTED_ENVIRONMENT HAL: android.hardware.keymaster@3.0::IKeymasterDevice/default
12-22 19:29:50.261 362 8974 I vold : Using SoftwareWrappedKeymaster1Device from Google for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: android.hardware.keymaster@3.0::IKeymasterDevice/default
12-22 19:29:50.267 361 361 E keymaster1_device: Len returned is < 0 len = 0
12-22 19:29:50.267 362 8974 E vold : begin failed, code -22
12-22 19:29:50.267 362 8974 E vold : Error starting keymaster signature transaction: -22
12-22 19:29:50.267 362 8974 E Cryptfs : Signing failed
12-22 19:29:50.267 362 8974 E Cryptfs : scrypt failed
12-22 19:29:50.267 362 8974 E Cryptfs : Cannot create encrypted master key

Not sure what's different from other devices. I got LOS 16.0 working with encryption on my OnePlus 3 and OnePlus One (still with permissive SELinux on the OPO, though.)

I tried cherry-picking the pie-legacy-hw-fde topic (and setting TARGET_LEGACY_HW_DISK_ENCRYPTION := true in the BoardConfig.mk), but that didn't help for the OP2.
[OnePlus 2 Original Android Development] pingopower:
I don't have to search for anything. The guy can code a whole ROM adaptation but he's unable to adapt a simple 3 lines post. What should i tell you ? It's not normal that the instruction was not updated. I was thinking that this not a real Pie and that's why he ask for GApps 8, but no. So it will be really aprreciated if he can REPLACE 2 LINES. Thanks
[OnePlus 2 Original Android Development] aviraxp:
The issue seems pretty same why the keystore does not work on Oreo. Hopefully we need stock libcrypto and hax it to make encryption work. Will test later.
[OnePlus 2 Original Android Development] Zigardeli:
Installed along with MindTheGapps-9.0.0-arm64-20180809_192137.zip as dirty update from LOS 15.1 and seems to work ok and really fast. Did a backup, wiped the data and after restart i got error on Pixel setup. Nothing i could do to proceed. I restored the backup until we get a fix. Will report any bugs soon.

Update: My problem was caused by MindTheGapps. Installed Gapps pico and pixel setup works fine.

P.S. If possible update the 1st post so people dont have to search for the latest release. T.Y.
[OnePlus 2 Original Android Development] aviraxp:
Seems I have fixed keystore issue.
[OnePlus 2 Original Android Development] JoeF2:
Cool. I copied the two changed files from TheMuppets (lineage-15.1 branch) to my OP2, and ran the encryption fine.
[OnePlus 2 Original Android Development] aviraxp:
Mind test if TWRP can properly decrypt it? It is my daily driver so...
[OnePlus 2 Original Android Development] JoeF2:
Yes it does. I'm using TWRP 3.2.1-0, the latest version. Tested with pin and password.
[OnePlus 2 Original Android Development] Zigardeli:
The latest Pixel Launcher (9+ editions) are not working. To fix just install latest 8.1 instead (https://www.apkmirror.com/wp-content/themes/APKMirror/download.php?id=391779)
[OnePlus 2 Original Android Development] PhoenixNghi:
this ROM is much smoother than Pixel Experience, but Idk why my data connection (3G/4G) doesn't work on both ROMs, the alarm couldn't power on my phone anymore, had to come back AOSP Extended 4.0
[OnePlus 2 Original Android Development] Zigardeli:
You might have to install the latest Oxygen firmware (https://www.androidfilehost.com/?fid=673791459329056816)
[OnePlus 2 Original Android Development] aviraxp:
Will add assert for firmware.
[OnePlus 2 Original Android Development] kingudit:
Is the Volte working???
[OnePlus 2 Original Android Development] aviraxp:
No and never
[OnePlus 2 Original Android Development] klami94:
No maybe someday if OnePlus is releasing the kernel source for Android P,Q,R and S ... But I think the possibility is at 0%
[OnePlus 2 Original Android Development] viskonde:
thinking on giving this a try, how stable is it for daily usage?

also, the url on the first post (https://androidfilehost.com/?fid=1322778262904000236) isn't for the last build, is there a direct link for the last build or just install the first one and update after?
[OnePlus 2 Original Android Development] Zigardeli:
I have been using it for almost 3 days and seems stable. Definitely fast and better battery consumption than all the previous ones.

Latest release: https://drive.google.com/file/d/16y30rDEcoigwY59NKebWZ6725TqJ5pC-/view but I recommend you read the entire thread.
[OnePlus 2 Original Android Development] fixbug:
1 week for me and yes, this rom is fast and better battery life as 15.1

Just have random reboot when I'm connected (BT) to my car.
[OnePlus 2 Original Android Development] aviraxp:
logs maybe？
[OnePlus 2 Original Android Development] fixbug:
Possible to grap log without pc in my car ?
[OnePlus 2 Original Android Development] dansou901:
Use alogcat for example
[OnePlus 2 Original Android Development] redfast00:
Hi [MENTION=5991425]Ozzy2403[/MENTION], thanks for doing this! What steps are needed to get this build "official" (or a nightly on https://download.lineageos.org/oneplus2)? Will this happen? I think this would make it easier to update from an existing install/keep updating as other packages are updated.
[OnePlus 2 Original Android Development] aviraxp:
Will happen as long as lineage team think it is time to ship. Likely this month or next.
[OnePlus 2 Original Android Development] aviraxp:
Latest build: https://androidfilehost.com/?fid=11410963190603895990

This generally contains Jan security patches, fixed encryption and other stuff. SElinux is still permissive cause I have to test other stuff.
[OnePlus 2 Original Android Development] Nixx7:
Thanks. Is it possible to change selinux to enforcing without root ? I checked selinux switch, but it requires root.:confused:
[OnePlus 2 Original Android Development] sachin karinki:
Flash this module from TWRP
[OnePlus 2 Original Android Development] sachin karinki:
Flash magisk SE linux manager module from TWRP
[OnePlus 2 Original Android Development] Nixx7:
Sure. I'll try it out. Thanks
[OnePlus 2 Original Android Development] Nixx7:
Nopes.. not working. Magisk v15+ required. I am on custom rom without root or any magisk installation.
[OnePlus 2 Original Android Development] ChefChaudart:
Well ... to flash a Magisk module, you need ... Magisk :silly::rolleyes:
[OnePlus 2 Original Android Development] Nixx7:
Magisk v15 and magisk selinux manager is two different thing;)
[OnePlus 2 Original Android Development] hudynko:
Hi Girls :)

Camera working on last build....i have tried everything but can't get it work

Thx for answers
[OnePlus 2 Original Android Development] aviraxp:
I doubt if there is any girl here.
[OnePlus 2 Original Android Development] Sid Deol:
Is this hardik pandya :laugh:
[OnePlus 2 Original Android Development] hudynko:
:D

Hi

I don't know what is hardik pandya.....it was just a joke on begin :)

so in install last build there is no camera after install yes???

so i have installed oneplus cam and others and all saying something that the camera is in use :)

if no one has problems so it is my 1+2 and i think it is the best time to buy a another phone after 3.5 years :D

Thx
[OnePlus 2 Original Android Development] pavlanton:
Camera on last build work fine. I don't have problem with camera. But I use lineage clean without google.
[OnePlus 2 Original Android Development] hudynko:
ok so after first install 21.12. then last build.....camera is there working :)
[OnePlus 2 Original Android Development] makjim:
This generally contains Jan security patches, fixed encryption and other stuff. SElinux is still permissive cause I have to test other stuff.[/QUOTE]

I have been using the ver. 20181123 and is running smooth. I have tried both ver. 20181221 and 2019011 without luck. Installed both 20181221 and 2019011 on top of 20181123. After the reboot and the Lineage animation, the system go to TWRP recovery instead of the system.

Any hints?
[OnePlus 2 Original Android Development] aviraxp:
Logs maybe? I have no problem at all.

---------- Post added at 04:44 AM ---------- Previous post was at 04:43 AM ----------

I have been using the ver. 20181123 and is running smooth. I have tried both ver. 20181221 and 2019011 without luck. Installed both 20181221 and 2019011 on top of 20181123. After the reboot and the Lineage animation, the system go to TWRP recovery instead of the system.

Any hints?[/QUOTE]

Logs maybe? I have no problem at all.
[OnePlus 2 Original Android Development] dardann.m:
I have clean flashed the latest version of los 16, and camera app was missing installed the google version but doesnt seem to work, downloaded the some los camers but they wont even install. Any solution or some kind of help ?
[OnePlus 2 Original Android Development] hudynko:
dardann.m --- look 3 posts up....i had the same problem and to only solution was first flash 21 without reboot flash last, then google apps ale everything is working ok

aviraxp --- camera app is missing and when we install any another the cam is just not working....try a clean build of last and you will see that the cam app is missing :(
[OnePlus 2 Original Android Development] dardann.m:
I flashed the 20180907 and then reflashed the newest one with the gapps but nope cant find the camera app and the apps that use camera cant access it. Flashlight isnt working neither and i think its related cuz the both are one module so dont know whats happening, hoppe it gets fixed with new updates
[OnePlus 2 Original Android Development] kashyapkiranrrr@gmail.com:
I've installed it and it's been good..

But I can't make calls via jio, even I installed jio 4g voice, it's showing that my phone have volte so call from the default dialer..

What should I do?
[OnePlus 2 Original Android Development] aviraxp:
I known the camera issue and how to fix. Sorry for messing it up but it is exactly why we need test.

Temporary solution: Create /data/misc/camera folder with 777 permission.

---------- Post added at 03:55 PM ---------- Previous post was at 03:39 PM ----------

You need to reboot after flashing first.
[OnePlus 2 Original Android Development] dardann.m:
thanks a lot you solved the problem with the camera and flashlight to, but now im experiencing some signal drops. i came from los 15 because of that, they were super annoying, but as of now they are not so frequent so dont know whats going on with this or why.
[OnePlus 2 Original Android Development] kashyapkiranrrr@gmail.com:
i can't find the update menu...help me please
[OnePlus 2 Original Android Development] aviraxp:
I cannot fix a issue I don't have without logs.
[OnePlus 2 Original Android Development] dedo1996:
Am I the one who is noticing poor speed data under Wi-Fi?
[OnePlus 2 Original Android Development] kashyapkiranrrr@gmail.com:
please
[OnePlus 2 Original Android Development] kashyapkiranrrr@gmail.com:
so how will i know if there is upsates??
[OnePlus 2 Original Android Development] Hälftebyte:
You'll know by reading this thread
[OnePlus 2 Original Android Development] aviraxp:
Please report bugs as much as possible as I wanna ship op2 on the first day.
[OnePlus 2 Original Android Development] kashyapkiranrrr@gmail.com:
i cant use google pay..

i was able to use it on los 15.1

have any tricks??
[OnePlus 2 Original Android Development] Gwenm:
For me everything works just fine, except a few random reboots sometimes (the phone hangs and I have to hard reboot), but only at my work. I suspect it has something to do with the wifi, but I'm not quite sure how to log this... If I do a logcat, can I see after the reboot things that happened before the crash?
[OnePlus 2 Original Android Development] aviraxp:
Seems like kernel issue. You can grep for /sys/fs/pstore and give me the files.
[OnePlus 2 Original Android Development] Gwenm:
PM sent! Thanks!
[OnePlus 2 Original Android Development] fixbug:
Thank you for your hard work.

Great rom with good battery life.

Except random reboots during BT tethering in my car (I have to send logcat), it's very stable for daily use.
[OnePlus 2 Original Android Development] Zigardeli:
To fix wake up lag issues try this:

From a PC use the following command: adb shell settings put global policy_control immersive.navigation=apps,-com.google.android.googlequicksearchbox (source)

You need to have installed adb drivers.

P.S. I strongly suggest you read the forum from the source of this command for any questions.
[OnePlus 2 Original Android Development] dedo1996:
I tried a speedtest over Wi-Fi on a 70mbps (down) network (via ethernet)

The result is in the screenshot: 1.7 mbps in down
[OnePlus 2 Original Android Development] Ryaki:
My phone always reboots when I deactivate the hotspot
[OnePlus 2 Original Android Development] aviraxp:
Don't use ngk kernel
[OnePlus 2 Original Android Development] Ryaki:
It worked, thanks
[OnePlus 2 Original Android Development] djokofebri:
hi there, i got issue with my front camera, rear is normal.

always force close when i open it

anyclue??
[OnePlus 2 Original Android Development] aviraxp:
I am pretty sure you are not on latest build.
[OnePlus 2 Original Android Development] mincaeuro:
for me I got the 21122018 - everything works, but the hibernate is sometimes like a coma (same was on 15.x i think)... the phone is unresponsive for minutes...that disturbs me especially when you're in a hurry and need to do something or call someone..
[OnePlus 2 Original Android Development] zipalign:
did you try this workaround?
[OnePlus 2 Original Android Development] mincaeuro:
hmm, not yet, will try it now.
[OnePlus 2 Original Android Development] zipalign:
great.

please post your feedback to help others having issues like yours :)
[OnePlus 2 Original Android Development] mincaeuro:
i did it via adb debug (dev options), so far so good, not sure if the setting remain, when I reboot the phone..
[OnePlus 2 Original Android Development] fila2208:
hello, can i ask is this stable so i upgrade from 15 to 16 now?

thanks
[OnePlus 2 Original Android Development] toni~:
unfortunately the wake up slowdowns went back after some time with this rom so i tried the workaround yesterday. seems working, thx!
[OnePlus 2 Original Android Development] fila2208:
can somebody try manual searching for network on this os? ty
[OnePlus 2 Original Android Development] Gwenm:
Doesn't work here.
[OnePlus 2 Original Android Development] fila2208:
thats what I thought, nothing except original os on oneplus2 cannot select manual network :(
[OnePlus 2 Original Android Development] mincaeuro:
ok, so still laggy, did one reboot due the no sound bug after BT disconnect...now sure, if the settings is still there
[OnePlus 2 Original Android Development] rkjoyis:
no

u can not to do manual search
[OnePlus 2 Original Android Development] buggrabber:
Hi,

for all others flashing 16.0-20190111 that do NOT want to root their phone:

Workaround:

Unzip ROM zip into a folder

Open ..\install\bin\backuptool.sh

Add the following right after the comments (#) at the start

mkdir -p -m 777 /data/misc/camera

Go back to the directory where you see the subdirectories "install", "META-INF", "system"

Select all and make a new zip file. Name it whatever you like, I named mine "lineage-16.0-20190111-UNOFFICIAL-oneplus2-camfix.zip"

You can now flash that just as you would normally, and the cam will work.

Best regards

Oliver

edit:

PS: Thanks Avi for creating the ROM! :victory: :highfive: :good: I know these things take time and I really want to thank you for providing security updates for phones that are not even close to being e-waste from a hardware perspective (**** vendors, really. These devices need hardcore support laws already).

PPS: I noticed the 20190111 image offering system updates (where 20180907 doesn't show the option).

Is that in working state meaning it will receive LineageOS updates? Just asking because in that case I will definitely consider flashing my daily driver to stable once released (the one I'm flashing today will go out to family).
[OnePlus 2 Original Android Development] mincaeuro:
if you mean OTA updates, this will be live after it gets official
[OnePlus 2 Original Android Development] klami94:
camera

run it from recovery with system partition mounted as read, write
[OnePlus 2 Original Android Development] aviraxp:
New build: https://drive.google.com/open?id=1bJkBsuD6XOoCE28XYAcArANhY6C_zyxC

- Assert based on baseband

- Rebase camera HAL

- Livedisplay driver backend changes

- Misc stuff
[OnePlus 2 Original Android Development] neelsolanki:
gald to see the process.. n hey [MENTION=7551742]aviraxp[/MENTION] u can check asus zenfone 3 device tree. somehow they got volte working with some hack..may b we cn gt sm clues.. if u know this allready than pardn
[OnePlus 2 Original Android Development] fixbug:
Flashed without problem.

Thank you for your work !
[OnePlus 2 Original Android Development] fila2208:
can this be flashed over lineage 15.x without problems only with gaaps?
[OnePlus 2 Original Android Development] zipalign:
no.

coming from LOS 15.1, you have to clean flash it.
[OnePlus 2 Original Android Development] fila2208:
thanks for your reply.

Would you say its stable and good to go to 16 from 15.x?

thanks
[OnePlus 2 Original Android Development] zipalign:
it's been a long time since I was on LOS15 and all oreo-based ROMS.

the only reason you would like to stay on oreo is for VoLTE [not available for pie].

other than that, go flash and enjoy your slice of pie!
[OnePlus 2 Original Android Development] fila2208:
thanks for your answer, helped me a lot
[OnePlus 2 Original Android Development] VW22:
I still have problems with the Pixel launcher after installing lineage-16.0-20190123-UNOFFICIAL-oneplus2 and the Open Gapps (open_gapps-arm64-9.0-stock-20190124).

The open Gapps camera doesn't launch even.

During install I first wiped system, data, cache, and dalvik cache and just after install of ROM and Open GApps and before reboot I wiped cache/dalvik.
[OnePlus 2 Original Android Development] aviraxp:
The issue is that Pixel devices added another method in framework and Pixel Launcher need to access that. But no, lineage won't do anything to break public api with aosp, so no, the launcher won't work, forever.

Use 8.1 version instead.
[OnePlus 2 Original Android Development] VW22:
Ok now that we know that we can stop nagging about it.

Any idea about the camera problems?
[OnePlus 2 Original Android Development] aviraxp:
What camera issue?
[OnePlus 2 Original Android Development] VW22:
The Open Gapps camera opens and closes immediately after selecting.
[OnePlus 2 Original Android Development] fila2208:
what camera do you guys use on this build? stock or does gcam work?
[OnePlus 2 Original Android Development] Zigardeli:
I use OpenCamera and never had any problems. I also tested the Stock App and seems to work. I am on the latest release (20190123).
[OnePlus 2 Original Android Development] dedo1996:
I use OxygenOS' ported camera, flashed through TWRP. (v 2.0)
[OnePlus 2 Original Android Development] aviraxp:
Flashlight out of sync issue fixed.