yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] Ozzy2403:
well, sry if the updater almost doesn't work properly. maybe it is due to encryption. i haerd some devs from twrp talking about encryption. maybe you can try without because i can't use the updater because i only use my own builds....

i had no time to have a look at hal3 because i think the laos shiped camera is working well enough.

actually i'm trying to fix all cpu/battery/thermal problems we have and yesterday was the first time i saw all ours cores working as they should. i will upload a testbuild for you later. want to be sure it is stable enough. the next thing needs to be fixed is a bug in sdcardfs. next is finishing cve patching and linux upgrading. after this i suddenly have to merge new blobs and update gps from caf.

it is too much work for one person to get the device stable with well performance and apply new features like hal3 - sry. so you have to wait until more important things are done.
[OnePlus 2 Original Android Development] Ozzy2403:
what means past? cm-13.1?

twrp-dev said that encraption under 7.x isn't working. that's the only thing i actually can say. what i also know is that we are missing some crypto patches but priority 100+, sry.
[OnePlus 2 Original Android Development] moyses:
How can we improve battery life in LA Os

I tried other custum rom (Cosmic, RR)where the battery is very good

When i returned to LineAge the difference is obvious

I use Beoffla kernel and Doze

How can i perform it please
[OnePlus 2 Original Android Development] Theevilsocks:
Had a problem with the updater on the official build as well. Had OxygenOS 3.6.0 firmware. Not encrypted
[OnePlus 2 Original Android Development] nixcamic:
But take away the ability to use HDR, Panorama and Slow-Mo, and don't auto-rotate. I'd rather have everything actually work, and work well (esp. panorama), than have what to me is only marginally (when using HQ or HDR anyhow) improved image quality.
[OnePlus 2 Original Android Development] moodlion:
HDR to my knowledge isn't even working on HAL 1 and I just checked Panorama and Slow-Mo are working fine... as for auto-rotae I don't know to which feature you are referring

However I completely agree that many things have a higher priority (core control, latest sources, cve etc)
[OnePlus 2 Original Android Development] nixcamic:
HDR works fine for me on lineage using oos camera. Slow mo on HAL3 for me was super choppy, looked like 30fps slowed down, and panorama wouldn't work at all for more than 2 pictures, no auto rotate meaning every picture I take in landscape had to be manually rotated. I had these issues on xOS and Pure Nexus. What rom did you run where it worked, I might give it a try.
[OnePlus 2 Original Android Development] moodlion:
I am using pure nexus with Google Camera and the OOS camera for slowmo (just noticed it freezes while in panorama mode but Google Camera is fine)

Lets keep this thread about Lineage ;)
[OnePlus 2 Original Android Development] Ozzy2403:
Never had such increadible good results with this device. New core control is really working well. Will upload a testbuild until tomorrow.

All cores are working well together, the small and big ones and going to idle when not needed.
[OnePlus 2 Original Android Development] Ozzy2403:
i uploaded a testbuild with my power updates. please note that selinux is not enforcing because i wasn't able to fix all denials yet. would be glad if you can give me some feedback about performance and heating....
[OnePlus 2 Original Android Development] anupritaisno1:
I can do the Linux upstream if you want

---------- Post added at 13:59 ---------- Previous post was at 13:57 ----------

Actually I've always used encryption and twrp has worked for me in applying updates via ota

It starts the actual installation after /data is decrypted
[OnePlus 2 Original Android Development] anupritaisno1:
[MENTION=5991425]Ozzy2403[/MENTION] I'd like to tell you about a few things we'll need to address in the coming days apart from what is already necessary

We need to implement at least the basic binders required for android O to boot

Currently camera is broken on user builds. This happens due to an sepolicy denial only on user builds. I fixed it in my tree but I did it over several commits and now I don't remember which those were

It seems other devices are forcing triple frame buffering. We need to look into this as well

---------- Post added at 15:54 ---------- Previous post was at 15:50 ----------

We also need to switch to XML audio policy configuration however since this change really has no effect and just counts as merging upstream, we can ignore this until the important stuff is done with
[OnePlus 2 Original Android Development] Ozzy2403:
is this really nessecary. actualy i don't care about o and have never tried anything with this.

if you have anything nessecary you should maybe push to gerrit and add topic android-o. so you can store everything which is really needed.

in my mind there is too much other work to do actually.
[OnePlus 2 Original Android Development] Santi_SAZ:
Darth flash is ok, or is he necessary clean flash?

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Original Android Development] Skick3:
Yes with Version 3.2.045
[OnePlus 2 Original Android Development] Ozzy2403:
dirty should be sufficiant
[OnePlus 2 Original Android Development] anupritaisno1:
I really don't think Darth would like being flashed on your phone but that might be just me
[OnePlus 2 Original Android Development] Santi_SAZ:
LOL

Enviado desde mi ONE A2003 mediante Tapatalk

---------- Post added at 09:26 PM ---------- Previous post was at 08:44 PM ----------

Dirty flash ends in error 7, due a signed files?

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Original Android Development] anupritaisno1:
That's because official uses private keys

Even if the code is the same you'll have to clean flash as the keys are different
[OnePlus 2 Original Android Development] Santi_SAZ:
Yeah, I thought that could be the matter.

If I have time, I'll try on clean flash.

Darth is ok[emoji23][emoji23]

Enviado desde mi Lenovo TB3-850F mediante Tapatalk
[OnePlus 2 Original Android Development] flomitdreio:
I recently flash the LineageOs on my OPT and I'm pretty happy with it.

I have only one problem with the photos. None of my pictures (photos and screenshots) will be shown in the Gallery App or in the Fotos App (permissions are ok). I can open the pictures via the Explorer, but thats not very handy...

Of course I did reboot many times, I even installed the latest nightly

I was wondering if anyone has a similar problem, I searched for it and all I found was this. The solution would be "to replace the file libOmxVdec.so at /system/lib/ with the stock one then it will be fixed".

So before messing with my system (again ;) ) I would like to ask you guys, does anyone know this problem or even has a solution for it?

I appreciate any help or contribution to a solution - thanks!
[OnePlus 2 Original Android Development] Santi_SAZ:
No issues with gallery at my end

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Original Android Development] anupritaisno1:
[MENTION=5991425]Ozzy2403[/MENTION] it's done

https://github.com/anupritaisno1/an...mmit/822884c21f8ecfffc884363283245e990fd8bbe3

I didn't test it yet, will do that when I get time

---------- Post added at 17:56 ---------- Previous post was at 17:41 ----------

Here's a prebuilt

This is stock lineageOS kernel with 3.10.107 commits

http://srv1.botstack.host:10003/signed.zip

Only use the prebuilt for reference purposes. Build your own and check if it works before you actually merge

---------- Post added at 18:07 ---------- Previous post was at 17:56 ----------

Prebuilt boots, everything seems to work

Maybe I got it?
[OnePlus 2 Original Android Development] flomitdreio:
Thanks [MENTION=7602922]Santi_SAZ[/MENTION], but has anyone else experienced this bug or maybe a solution for it?

Thanks
[OnePlus 2 Original Android Development] flomitdreio:
After a many hours of searching I finally managed it to find the solution, clearing the data from Media storage, then force stopping and restarting the phone did the trick!

Just FYI guys! Cheers
[OnePlus 2 Original Android Development] krazyq:
hey guys,

I haven't flashed a phone since my N6P over a year ago so I've kinda forgotten stuff.

My cousin is having major battery drain issues on his OP2 even though we replaced the battery.

How do I flash a custom rom?

- unlock bootloader, root, flash custom recovery, then flash custom rom and gapps?

Am I remembering this right?

Just need a quick reminder.

Thanks
[OnePlus 2 Original Android Development] cruel91:
You get it right. I would suggest to update to lastest stock before going to custom. And I dont think you need to root before flashing custom rom
[OnePlus 2 Original Android Development] krazyq:
Great thanks
[OnePlus 2 Original Android Development] maverickmod:
Not sure if this is the right place to do feature requests, but I couldn't find any page for that.

1. Is it possible to have a "vibration only" mode for the alert slider? Where it mutes media volume and mutes ringtone/notification volume but still vibrates for notifications, instead of completely ignoring them like in the "total silence" and "alarms only" modes.

2. A shortcut for reading mode in quick settings. I know it's an option in developer settings but a quick settings shortcut would be useful.

3. A simple app lock, that would ask for a pin or a fingerprint to unlock. The protected apps feature in trebuchet, while useful, is not very practical. The app vanishes from the launcher and we have to go into the launcher settings just to launch it.

It's been ages since I have been on xda... I am a little rusty. If there is any work around for these that I may have missed, please let me know. Thanks.

EDIT: Also the battery full, green notification light, turns on at 90% instead of 100%. Is this by design? where can i change it?
[OnePlus 2 Original Android Development] Claudiu1:
This is not the place for requesting that.
[OnePlus 2 Original Android Development] maverickmod:
Thought so, sorry about that. Can you point me in the right direction so that I can bring it to the attention of the devs, hopefully they'll consider implementing it.
[OnePlus 2 Original Android Development] Claudiu1:
I don't think there is any section about. Anyway, you can try to look here: https://xdaforums.com/lineage
[OnePlus 2 Original Android Development] randomrove:
Hi! First of all, great ROM! I was on Resurrection Remix before but atm Lineage is far better :)

Btw, i have a simple question:

If i update from settings->update etc. will i have to reflash supersu, franco kernel and xposed? Or more simply.... what will happen after the update?

Thx in advance
[OnePlus 2 Original Android Development] moodlion:
There is no xposed in android n... If you use lineage os root add-on you don't have to reflash it but you have to reflash custom kernels after updates.
[OnePlus 2 Original Android Development] randomrove:
Thanks, so all i have to do is to reflash the francokernel....good to know.

Actually there is an unofficial xposed zip (purifyOS team) that works pretty well, btw i dont use "aggressive" modules, only the social ones and the youtube one.
[OnePlus 2 Original Android Development] fuser1337:
Any update on new Core control? When will it be merged in official nightlies?
[OnePlus 2 Original Android Development] Ozzy2403:
core control is almost ready. also i rebased our kernel on mike bestas qcom-common which is really amazing. but there are two bugs regarding last_kmsg and camera with camera2. snap is working... i think i will let 14.1 on this stable kernel and begin with the new one with o. if everything works maybe i push it back then.

needs at least until the end of august to fix everything.
[OnePlus 2 Original Android Development] fuser1337:
I truly appreciate your work! Thanks.
[OnePlus 2 Original Android Development] smasher007:
[MENTION=5991425]Ozzy2403[/MENTION]: Is Volte working now?
[OnePlus 2 Original Android Development] cowgaR:
Can you please check Seraph work?

https://review.lineageos.org/#/c/184317/

Network drops been biggest issue with this rom for at least half year and I cleaned flashed around 5 times during that time...
[OnePlus 2 Original Android Development] Ozzy2403:
pls don't ask me. i don't know if it works in genreal or not. some users say yes some other users say no...
[OnePlus 2 Original Android Development] hoppingpanda:
Working perfectly
[OnePlus 2 Original Android Development] smasher007:
Thanks for the update. I tried this with the July release and it didn't work the last time. :good:
[OnePlus 2 Original Android Development] anupritaisno1:
[MENTION=5991425]Ozzy2403[/MENTION] fix authorship of https://review.lineageos.org/#/c/184317/

Original author

https://github.com/GlassROM-devices...mmit/a084fffc6a4dccbc27f688c6edfadf2c9d34b666
[OnePlus 2 Original Android Development] Ozzy2403:
as told at gerrit i can't correct after merge
[OnePlus 2 Original Android Development] Ozzy2403:
after longer discussion with boeffla yesterday i merged core control. the errors coming up on boot are also present at stock and i don't see any negative affect on cpu.

hopefully this increases performance for all of us.

the network drops are hopefully also fixed by switching ril sources to aosp.
[OnePlus 2 Original Android Development] Bimm3r:
Why no 0.75x option? 0.5 is to fast and looks stuttery sometimes, 1.0x is to slow. :|

I also found a bug: auto rotate stops working sometimes, and I need to restart the phone to work again.
[OnePlus 2 Original Android Development] chxei:
what about thermal stuff? do they work? didn't find any rom or kernel with proper therman engine, except boeffla kernel with his own implementation
[OnePlus 2 Original Android Development] Claudiu1:
https://review.lineageos.org/#/c/181860/

He is working on it
[OnePlus 2 Original Android Development] cowgaR:
I never had thermal problems on stock (and have phone over a year now), at least not to the point Samsung propaganda tried to create upon OP2 introduction (frankly, most of negatives been lies anyway).

Gets warm, not hot, sometimes, mostly during charging which is expected but couldn't understand halo around that. I used to even set Boeffla cfg to 'thermal' to not limit performance (I am lucky on silicon so have both core clusters over clocked to full) but not using it now as stopped using custom kernels entirely.

Stock seems to always works best, and no constant wake locks like I had with custom kernels. Also battery is better but I am not overclocked now so might be it. Missing fluidity and performance of boeffla a bit when stuttering happens, but not such a big deal. Might try again as KCAL is great future to have, screen is too washed out by default (I am using 272 saturation when on boeffla).

Not sure battery meter is alright, considering heavy YouTube usage, some one hour Firefox (not even on list somewhere on bottom) and minimal WhatsApp considering video calls eat battery like... Either great optimisations of stock or it all eats 3 times as more when on LTE and not WiFi
[OnePlus 2 Original Android Development] fuser1337:
I hope this is the rise of unshackled performance on our device! Ozzy da mvp!
[OnePlus 2 Original Android Development] smasher007:
+1 on the auto rotate bug. Have been noticing it since July's release.
[OnePlus 2 Original Android Development] Ozzy2403:
there is already a patch for reworking autorotation at gerrit. will test it and see if it helps.
[OnePlus 2 Original Android Development] cowgaR:
Ever since I remember zip verification fails in TWRP. I go around it by checking sha1 in Solid Explorer but it's not same thing.

Latest official TWRP. Any guides why's that and how to fix it?

I always clean flash and formatting system partition prior to installation
[OnePlus 2 Original Android Development] cowgaR:
Issue: built in gallery previews pictures blurry intermittently

Reproducible by swiping left and right between pictures, sometimes first part is sharp, bottom stays blurry

3 states attached, sharp, half blur, full blur
[OnePlus 2 Original Android Development] anupritaisno1:
Compile your own twrp

How twrp's signature verification works is that it has the public key of the signature built into it, in other words twrp only verifies a signature if it trusts it

At compile time, developers can specify PRODUCT_EXTRA_RECOVERY_KEYS := and add their own private keys for twrp verification, those twrp builds however will be unofficial

In other words if a ROM uses private keys and the user wants signature verification, the ROM has to ship its own build of twrp that has the public key needed to verify the signature and those builds will be unofficial

On a Linux system, you can manually verify the signature with

keytool -list -printcert -jarfile *zip

Use *zip if your zip is in a directory and only one file is in the directory

Otherwise replace "*zip" with the full name

Then go to https://wiki.lineageos.org/verifying-builds.html to verify the signature

After that the standard procedure is to adb sideload the zip to the device but who does that today? Copy to sdcard and flash the way you always do

You can generate .md5sum files, the syntax of such a file is

md5sum filename

An example https://srv1.botstack.host:8001/oneplus/op2/haruhirom-stable-8.2.zip.md5sum

Alternatively use this command to generate the md5sum file in one go

md5sum file > file.md5sum

---------- Post added at 21:35 ---------- Previous post was at 21:28 ----------

This has been a known issue on devices with a huge internal storage for a long time

Just want you to know that op2 is just one of the many devices which are affected

Some people claim changing the I/O scheduler works but it has never worked for me
[OnePlus 2 Original Android Development] cowgaR:
Was asking as TWRP trust open gapps by default and used to trust cyanogen mod zips in past...

Doing SHA1 instead of md5 but thanks for extensive answer
[OnePlus 2 Original Android Development] dantisjoeshaji:
Bug found. Audio being played in earphones starts playing in phone speakers when a screenshot is taken in between.
[OnePlus 2 Original Android Development] anupritaisno1:
Dismissed

Issue is reproducible on oos, even if it were a bug it would be very difficult to fix

This is probably not a bug but the way Google made Android
[OnePlus 2 Original Android Development] Erzketzer:
works fine exept for one App

Just flashed lineage-14.1-20170810-nightly-oneplus2-signed.zip and it works so good. Very smooth, no restarts sofar, all apps work fine.. except for one.

The app didn't work in april on lineage OnePlus2 and is not working now.

It is the official public transport app of Switzerland. It just stutters works a little stutters again and eventually force closes. That did not happen on Oxygen or any other phone I know.

I don't know if this is reproducible on other OnePlus2s or if it even is something to think about for Ozzy2403 but still, I wanted to post it here.

I did reinstall the app and also cleaned it's storage.

Since I am a new user on the forum, I am not allowed to post the link to the playstore.

Just google: sbb mobile play
[OnePlus 2 Original Android Development] GerRudi:
[SIZE="5"

Edit 2: not fixed with TWRP 3.0.2.2, guess I gotta switch back to Oxygen OS :(

]Edit: found this Post via search bar / Google / whatever? Look two posts below for a solution.[/SIZE]

I have a weird charging issue with the build from August 10th.

I switched to this build from MM OOS so I can't tell if it also exists in other versions (completely formatted, updated twrp, clean install).

For some reason, some of my charging cables aren't working (completely).

On OOS, they all worked fine.

On LOS I have one cable that isn't working and one that didn't work but now does (same effects at the beginning).

Here's the thing: The cable that is not charging my phone works under other conditions. I wanted to test if it is an hardware issue, so I plugged my USB safety tester between the power adapter and cable in order to measure the amps going through.

The result: it worked just fine! So I unplugged the tester and tried it again without and it wasn't working anymore.

So it works 10/10 with the tester in between but 0/10 without. I also tried different power adapters and it was the same result.

I also took a quick look at logcat when plugging in the cable without the tester: not a single battery related event seems to be happening, almost as if the phone wouldn't notice that it is plugged it at all.

Do you know if this could also be related to the updated recovery version? I belive I used to have 3.0.2.2 and now I have 3.1.1 or something (latest twrp for op2).

I can try to upload some proof tomorrow evening if I have time.

Thanks in advance for any suggestions![COLOR="Silver"]

---------- Post added at 09:31 PM ---------- Previous post was at 09:26 PM ----------

[/COLOR]

I just tried it, can confirm that the issue also exists for me, it reacts to touch inputs very delayed and slows my entire phone down until I close it.
[OnePlus 2 Original Android Development] Erzketzer:
Thanks for testing. I cannot reproduce your cable issue. I tried it with 3 Anker Cables (1 USB-C, 2 USB-B with USB-C Adapters) and a cheap nobrand cable.

Does it charge when you're phone is turned off? If so you could probably exclude the ROM I assume. That would leave Recovery, Kernel? But that is just guessing. I don't know about Android low tier OS.

---------- Post added at 06:19 PM ---------- Previous post was at 06:16 PM ----------

Thanks for testing. I cannot reproduce your cable issue. I tried it with 3 Anker Cables (1 USB-C, 2 USB-B with USB-C Adapters) and a cheap nobrand cable.

Does it charge when you're phone is turned off? If so you could probably exclude the ROM I assume. That would leave Recovery, Kernel? But that is just guessing. I don't know about Android low tier OS.
[OnePlus 2 Original Android Development] GerRudi:
Thanks for your suggestion - for some reason it didn't even come to my mind to try the charging while the phone is turned off.

Result: It did't work either.

This however motivated me to reflash an older version of TWRP (3.0.2.2 instead of 3.1.1.0)

Result²: Charging works with TWRP 3.0.2.2, for a day, now the issue is back

Thanks for your help [MENTION=4828939]Erzketzer[/MENTION] :) Hope your issue gets resolved soon as well!

In case anyone is interested and for documentation purposes: here is a video of me showing the bug which I'll forward to the TWRP team.

(Please note: While I recorded this Video I still thought that it's related to LineageOS)

Edit 1337: Issue still exists with twrp 3.0.2.2 :c guess I have to switch back to Oxygen OS

[MENTION=5991425]Ozzy2403[/MENTION] did anyone report a similar behaviour yet?
[OnePlus 2 Original Android Development] fuser1337:
I've been living with this weird behavior with OnePlus 2. The search bar animation on Pixel Launcher or Launcher 3 or LawnChair by Deletescape always horribly lags. Like always. I thought it might be lineage but it was also present in two CAF ROMs I tried out of curiosity.

I'm looking forward to the next lineage nightly which promises a performance upgrade, but I'm not sure.

I've checked this animation on OnePlus One and other older phones by Lenovo, they don't lag at all. Like not even a single frame drop. What could be the reason? Is the hardware throttled so much that older phones perform better? I can't judge overall performance just by a single animation issue but is OP2 that weak to not render a tiny animation flawlessly?

Can anyone please confirm? [MENTION=5991425]Ozzy2403[/MENTION]
[OnePlus 2 Original Android Development] davewpy:
New build 17th August no longer drops signal for me.

It used to be dropping mobile signal, easily reproduced by launching GApps Contact App.
[OnePlus 2 Original Android Development] pepexzz:
dirty flash?
[OnePlus 2 Original Android Development] fuser1337:
Experiencing alot of stutters with the new build. Dirty flashed. Is clean flash required?
[OnePlus 2 Original Android Development] davewpy:
Yes dirty flash.

TWRP 3.1.1, install, wipe cache and reboot.