yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] Ozzy2403:
Clean would be better with latest build. Do you use any custom kernel?
[OnePlus 2 Original Android Development] fuser1337:
Clean flashed. Nothing installed except flashed stuff. Still choppy UI relative to previous build, not using any custom kernel :(

Btw I tried google dialer and contacts with dialer framework, No network drops at all!
[OnePlus 2 Original Android Development] Ozzy2403:
Can you send some logs? Cat and dmesg.
[OnePlus 2 Original Android Development] Valneo:
Just installed 17th build to test new core control engine and for no it's smooth as usual. Will see if thermal and battery get improved great job !
[OnePlus 2 Original Android Development] Claudiu1:
I tested new core control till now and the phone works pretty well. Really good job [MENTION=5991425]Ozzy2403[/MENTION] ! Thermal control seems to be a bit better, I don't know if battery was improved, but I think there is more work to do.
[OnePlus 2 Original Android Development] dschense:
How to use core control?
[OnePlus 2 Original Android Development] pepexzz:
yeah got it tho, clean flash is better, rom´s performance increased too
[OnePlus 2 Original Android Development] fuser1337:
Here you go :)

I'll try clean flashing again without Google Dialer and Framework if that might be the reason idk. Will report! Thanks
[OnePlus 2 Original Android Development] davewpy:
Did anyone else have problems wiping Dalvik-Cache in TWRP, which causes a reboot?

If you have not encountered this issue could you share with me your permissions on /data/dalvik-cache?
[OnePlus 2 Original Android Development] smasher007:
+1 on the Stutter while scrolling using Chrome browser. I did a clean flash with full wipe.

The battery life is great though. Perhaps it's the new core control implentation?
[OnePlus 2 Original Android Development] Claudiu1:
It's implemented in the new build, you just need to flash it and use it :)

Yeah, stutter for me too. If logcats are needed just ask for them.
[OnePlus 2 Original Android Development] Ozzy2403:
I saw some denials caused by chrome... But i use another Browser and have no stutters and also haven't had during last weeks testing.
[OnePlus 2 Original Android Development] Ozzy2403:
Best would be to tell me when stutters happen and logs directly after boot and after stuttering.
[OnePlus 2 Original Android Development] fuser1337:
All these things listed didn't happen in previous build.

1. My launcher drawer list stutters 70% of the time and almost every time the scroll animation slows down. (Using LawnChair)

2. Instagram scrolling lags. Tapping on DM button brings the right swipe animation which is like 10 fps all the time.

3. Phonograph music player list stutters

4. Heads up animation stutters

5. When pulled down, Notifications lag when they're like 5-6 and some other app is open (In my case it was Phonograph when I discovered it)

6. Chrome is very laggy. :(

7. Search bar animation takes a pause and pops out.

I'll post logs again after reboot and doing almost all things listed above.
[OnePlus 2 Original Android Development] fuser1337:
Attached logs.

Things I did after reboot.

Swiped left for Google now,

Tapped on home screen search bar,

Opened Instagram and swiped for DM,

Opened drawer and scrolled,

Opened Twitter and scrolled,

Opened Keep and copied commands to Terminal for logs.
[OnePlus 2 Original Android Development] fuser1337:
Another thing I noticed, but I'm not sure. GPU is always at 180 mHz on msm-adreno-tz unless I turn on a game, it then reaches around 300-400 in intermittent spikes.
[OnePlus 2 Original Android Development] pepexzz:
SOT for the latest nightly 17.08.17 with latest boeffla kernel beta

Wi-fi 98% on, mobile data 10% on, social media apps, Chrome, messaging and phone calls
[OnePlus 2 Original Android Development] davewpy:
I suggest that you to go TWRP and erase your dalvik-cache and cache and try again.

I had the same issues, except mine reboots on dalvik-cache wipe and I had to manually issue "rm /data/dalvik-cache/arm/*" and "rm /data/dalvik-cache/arm64/*". Wiped cache and reboot.
[OnePlus 2 Original Android Development] Riichard63:
Finally à network drop fix, thanks a ton ☺️
[OnePlus 2 Original Android Development] fuser1337:
I tried. No luck :(

UI still gets horribly choppy
[OnePlus 2 Original Android Development] Claudiu1:
I wanted to log stutters, but I installed last version of boeffla kernel, I set the governor of the first cpu on interactive and now all seems to be okay, no more lags or similar problems. I don't know if it was the kernel or not, btw I will post a log if anything changes.
[OnePlus 2 Original Android Development] fuser1337:
Logs after a bout of lag. I'm writing this while it's lagging.

I think it starts stuttering and lagging when I start slightest of stress on phone (like chrome 2 tabs and play store and chatting)
[OnePlus 2 Original Android Development] cowgaR:
+1 lots of stutter

But network drops are almost gone so great improvement anyway! I have horrible network reception indoors hence network drops been more common, now reception still same but isn't dropping signal that often.
[OnePlus 2 Original Android Development] cowgaR:
While browsing eBay with Firefox, mobile phone crashed and switched off. Could not turn it on at all.

Holding power button for 10s turned phone on. Lost around 10 to 12 percent of battery upon boot. Now it seems battery got stuck on same number upon boot but still something to report if someone had the same.

All I can say LineageOS was fantastic for past year and it's my first crash. Hence the report.
[OnePlus 2 Original Android Development] fuser1337:
While I was in the gym and music was on phone turned off. Had to press power off for long enough to revive it.

Edit: Flashed Franco's new kernel to escape from stutter. [MENTION=5991425]Ozzy2403[/MENTION] if you want more logs I'll flash back or want me to test I'll do!
[OnePlus 2 Original Android Development] Valneo:
Can confirm general random stutter. Maybe because of the new core control ?
[OnePlus 2 Original Android Development] dschense:
Seems the stuttering is kernel related. Changed kernel to frankos kernel and the system is smooth again.
[OnePlus 2 Original Android Development] pepexzz:
Wierd i dont have those!

Only sometimes on low battery percentage
[OnePlus 2 Original Android Development] cowgaR:
Not sure Franco is using core control patches, as he's very brief in his responses... Might be in r11, not r10

If you're on r10 that might explain that core control is not behaving as good as hcube was
[OnePlus 2 Original Android Development] Valneo:
Had to roll back to previous build : phone very unstable and completely crashed twice only in 30mins of calling, seems to be kernel related tho
[OnePlus 2 Original Android Development] cowgaR:
Another crash in same day. I leave phone brief while off, press power, only capacitive buttons lights up and stays like that, no response.

Need 10s power down and up to boot up.
[OnePlus 2 Original Android Development] jceballos:
After using latest nightly for an entire day (clean flash) I decided to go back to Aug 10 nightly because of the several hard reboots I had to do, battery life was great but got bored of the phone getting stuck with a black screen
[OnePlus 2 Original Android Development] Ozzy2403:
that's the problem why i can't help so good. i also have no problems and can only expect what might be wrong...
[OnePlus 2 Original Android Development] davewpy:
Here's a adb logcat *:E from mine.

I see multiple

8481 8502 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state (No such file or directory)

and whenever screen turns on or off with power button, the following is logged.

08-20 16:32:12.983 24852 24852 E ctxmgr : [PlaceFenceHelper]NearbyBuffer is null!
08-20 16:32:13.896 547 8829 E fpc_fingerprint_hal: fpc_wait_finger_down_for_home 0	2
08-20 16:32:13.910 547 8829 E fpc_fingerprint_hal: do_home status 0 1
08-20 16:32:13.910 547 8829 E fpc_fingerprint_hal: do_home HOME DOWN
08-20 16:32:13.910 547 8829 E fpc_fingerprint_hal: fpc_wait_finger_up
08-20 16:32:14.018 547 8829 E fpc_fingerprint_hal: fpc_wait_finger_up FPC_LIB_FINGER_LOST
08-20 16:32:14.018 547 8829 E fpc_fingerprint_hal: do_home status 0 2
08-20 16:32:14.018 547 8829 E fpc_fingerprint_hal: do_home HOME UP
08-20 16:32:14.018 547 8829 E fpc_fingerprint_hal: do_home 0
08-20 16:32:14.018 547 8829 E fpc_fingerprint_hal: fpc_wait_finger_down_for_home enter ---
08-20 16:32:14.018 547 8829 E fpc_fingerprint_hal: wait_wake_up 0	1

On Battery related info;

4562 4672 E BatteryStatsService: no controller energy info supplied
481 8505 E BatteryStatsService: power: Missing API
8481 8527 E BatteryStatsService: Bad reason line:
[OnePlus 2 Original Android Development] davewpy:
Did another logcat on Warnings as well and i see many repetitive on;

10648 10746 W QCNEJ : |CORE| CNE received unexpected action: android.intent.action.BATTERY_CHANGED
8481 8524 E KernelWakelockReader: neither /proc/wakelocks nor /d/wakeup_sources exists
8481 8524 W BatteryStatsImpl: Couldn't get kernel wake lock stats
[OnePlus 2 Original Android Development] aviraxp:
Oskar, for whatever reason debugfs breaks. /d is empty. In my opinion lineage mount it globally, so it is strange.

https://gerrit.omnirom.org/#/c/23888/3/rootdir/etc/init.qcom.rc

May fix it, but I have not tested.
[OnePlus 2 Original Android Development] :
Totally off-subject question : why is the camera provided in the rom the AOSP camera whereas other Lineageos devices get Snap camera ?
[OnePlus 2 Original Android Development] davewpy:
Just wanted to share that there was an immediate and noticeable improvement to performance and heat when I flashed Franco kernel over the last build.
[OnePlus 2 Original Android Development] aviraxp:
Lol I guess it is because Snap was broken that time, and Grarak shipped camera2. Then snap was fixed (at least on other devices) bit since Grarak quited snap was never shipped back.
[OnePlus 2 Original Android Development] fuser1337:
I tried a ROM "AOSP Extended" which cherry picked the core_ctl commits to check if stuttering bug is related to it.

There were no stutterings!
[OnePlus 2 Original Android Development] Croc1:
Hi.

Does this rom already support HAL3 or is going to support soon?

Im testing this rom and i really like it. Its smooth and fast. The battery is also improved.

Thank you
[OnePlus 2 Original Android Development] Claudiu1:
As ozzy said, he's focused on stability and performance right now. He said hal3 will come later ;)
[OnePlus 2 Original Android Development] Croc1:
Thank you very much for the reply!

I was looking for the answer but couldn't find it.
[OnePlus 2 Original Android Development] davewpy:
I'm scratching my head as to why some have no issues with performance and why some like myself do.
[OnePlus 2 Original Android Development] Ozzy2403:
here a new testbuild with some fixes: https://www.androidfilehost.com/?fid=745425885120756986

hopefully there are some more people now having no issues. i will also have a look at other roms reported with no issues.
[OnePlus 2 Original Android Development] Pierre2324:
Usually how long does it take to see a first unofficial Android Rom? (How much time for did it took for Android Nougat?)
[OnePlus 2 Original Android Development] Ozzy2403:
well wo actually don't have steve who did the bringup almost alone. so just be patient it is enough if thousands of dev's phones doesn't boot.
[OnePlus 2 Original Android Development] tashimotor:
I've updated my wifes op2 to last nightly, everything is fine. No issues so far.
[OnePlus 2 Original Android Development] Gaffadin:
Does the built-in Lineage updater work, or do we need to update through TWRP? I've used ROMs previously where the updater would brick the phone if you attempted to use it, so just want to find out one way or the other.
[OnePlus 2 Original Android Development] Shadow_Skull:
I've used it and I haven't had any issues with it
[OnePlus 2 Original Android Development] ketulyaar94:
Does VoLTE work?
[OnePlus 2 Original Android Development] moodlion:
Maybe search the thread first?
[OnePlus 2 Original Android Development] hbvdh:
Hi,

I'm getting this error while building from lineage source:

libsepol.report_failure: neverallow on line 596 of system/sepolicy/domain.te (or line 9481 of policy.conf) violated by allow rfs_access debugfs:file { write };

libsepol.check_assertions: 1 neverallow failures occurred

Error while expanding policy

Has this something to do with: https://review.lineageos.org/#/c/185458/

Is there a fix?
[OnePlus 2 Original Android Development] iDifferent:
(hey, I just flashed the rom then the gapps and then su all from the links provided, but it doesn't seem like I have root privileges (checked with root checker), what should I do?)

was not aware root is build in, I went into developer options and enabled it, sorry for my ignorance >_<
[OnePlus 2 Original Android Development] thundermuppet:
Read first post, super su perhaps.
[OnePlus 2 Original Android Development] RajatDADA:
Does the new build of lineage os fix sluttering of the UI and the hang problem?
[OnePlus 2 Original Android Development] hbvdh:
New build runs smooth, no problems with camera lag, etc. Thanks.
[OnePlus 2 Original Android Development] Ozzy2403:
Hopefully there are more guys having no problems...
[OnePlus 2 Original Android Development] Shadow_Skull:
I have not had any issues with the August 24th build so far, thanks!
[OnePlus 2 Original Android Development] fuser1337:
New build is much better! Thanks Oskar!

I found stutterings when Reddit Sync was loading a subreddit and I pulled notifications. Also scrolling is still choppy but elsewhere stuttering is gone! We're getting there! :laugh:
[OnePlus 2 Original Android Development] nemukud:
Not sure if this is LOS fault. I flashed 20170824 nightly and francokernel-r11. Although the OS works fine, I am unable to clear cache/dalvik in TWRP 3.1.0.0, it just crashes and reboots the phone.

Anyone else having this problem?
[OnePlus 2 Original Android Development] davewpy:
I have the same problem and I'm on 3.1.1. It happened somewhere in june. I'm thinking I have to wipe /data.

You might have to manually clear your dalvik-cache through the terminal.
[OnePlus 2 Original Android Development] theobichecker:
love the new build. No freezing, no lags, very smooth.

Runtime increase (Better battery control?)
[OnePlus 2 Original Android Development] Ozzy2403:
If you use f2fs Franco is missing patches. If ext4 it's a twrp bug.
[OnePlus 2 Original Android Development] davewpy:
This happened way before I changed the kernel to Franco. I'm on F2FS with full stock lineage.

What is weird here is the inconsistency.

What I will do, is to wipe the entire phone clean, full flash oos 3.6 and then convert to lineage and test again.

Hopefully, the dalvik-cache wipe and stuttering issues will be gone.

It's irritating for me not being able to nail the root cause. Sigh. [emoji36]
[OnePlus 2 Original Android Development] Ozzy2403:
Had a look at bis sources and he is missing patches. F2fs with Franco kernel and you might get ****esd. Sry
[OnePlus 2 Original Android Development] nemukud:
I use f2fs also. It seems to be franco kernel. It's weird it didn't happen before, I used franco with previous nightly and f2fs but had no problem. Tried to reflash (dirty) the nightly without franco and it's still not working.

Is there an easier way to fix this without clean flash? Thank you.
[OnePlus 2 Original Android Development] Ozzy2403:
No Franco Imports a broken f2fs feature with his ramdisk.

Only clean flash and no f2fs with Franco.
[OnePlus 2 Original Android Development] Bimm3r:
So what are the main differences from official los to the build made by ozyy?
[OnePlus 2 Original Android Development] Claudiu1:
Ozzy is the official maintainer for oneplus 2, so I don't understand what are you saying.
[OnePlus 2 Original Android Development] Bimm3r:
There is an official version from lineageosrom.com and other experimental versios posted by Ozzy on Androidfilehost.
[OnePlus 2 Original Android Development] Santi_SAZ:
Official weeklies are here https://download.lineageos.org/oneplus2

The other ones could be unofficial or mirrored, Ozzy AFH ROMs are to test some stuff

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Original Android Development] Bimm3r:
Ok, i will download latest build and dirtyflash it over 03 aug build. :)
[OnePlus 2 Original Android Development] jceballos:
On 24-aug nightly had to turn off ambient display, the phone froze displaying ambient display twice until it fast rebooted itself. Dirty flash over 10-aug nightly.

Someone with the same symptom?
[OnePlus 2 Original Android Development] GerRudi:
Support for Android Open Accessory

Android Open Accessory does not seem to work with Lineage OS, at least on the OnePlus Two.

Would be great if you could look into this. :)

Explanation:

AOA can be used to transfer USB over audio.

See this section on the JVC website (Car Radio manufacturer): https://i.imgur.com/Z7z7fFN.png
[OnePlus 2 Original Android Development] fuser1337:
When there are more than two notifications, it lags horribly :(
[OnePlus 2 Original Android Development] Bimm3r:
Lags in chrome canary when switching tabs and scrolling. overall seems slower than 03.08 build.
[OnePlus 2 Original Android Development] fuser1337:
Scrolling on Facebook, Instagram etc. Is still choppy :(
[OnePlus 2 Original Android Development] davewpy:
So I did a really clean flash, wiped /system, /data, /cache as per my earlier post.

From the moment I wiped /data, dalvik-cache wipe was functioning just like before. It previously went into reboot on wipe.

Installed OOS 3.6, in full, went into OOS, unlocked bootloader, installed TWRP, converted cache and data to F2FS as usual and installed Lineage 24th Aug and OpenGapps with my own custom gapps-config.

There's almost no stuttering compared to the build before, only very occasionally.

I will monitor logcat, and when I start commuting and see if the stuttering appears while audio streaming through my car system.
[OnePlus 2 Original Android Development] Ozzy2403:
Actually nothing. Will be different when oreo boots better...
[OnePlus 2 Original Android Development] Valneo:
So I have installed the lastest build, which is a lot better than the previous one. But it's still randomly choppy, like if the phone was panicking then it goes back to normal.

In my case when battery goes below 20%, the phone is very very choppy, like 10fps but as soon as I plug my charger, it goes back to normal.

Everything else is perfect, but the "10fps mode" when battery is low is very annoying :/

EDIT : juste rebooted my phone below 20% battery and it's back to normal. Seems that the core control randomly triggered slow-mo mode on the phone. Will roll back to August 10 nightly which is fully stable and try again when the core control will be fixed :)
[OnePlus 2 Original Android Development] maple85:
I've also sometimes performance issues when scrolling Twitter or a annoying feature is when someone call me my ringtone is ringing for a few seconds but I cannot pick up because the screen stay black.

Dirty flashed from Aug10th bulid. On Aug10th I didn't have this issues.

Thanks to everyone who keep our OnePlus 2 alive.

Regards

Edit: Phone also gets warm when I do a little Twitter or writing this text.
[OnePlus 2 Original Android Development] cowgaR:
+1

Happened to me as well so glad someone reported it. All stock.
[OnePlus 2 Original Android Development] davewpy:
I am attaching 2 logcats.

One for a 12 hour log since flashing it, the other - was when i encountered crazy stuttering in webview (from Google Search launching another URL).

Would this help?
[OnePlus 2 Original Android Development] Shadow_Skull:
On the August 24th build the settings toggle icons on lawnchair aren't loading or cumming up right, I attached a screenshot maybe it'll send XD
[OnePlus 2 Original Android Development] davewpy:
I tried to test the same and phone crashed, and my battery went from 40% to 10% after forced reboot. It's bed time and I'm too tired to logcat.
[OnePlus 2 Original Android Development] Shadow_Skull:
Oh wow, what build of lawnchair did you use?
[OnePlus 2 Original Android Development] Bimm3r:
+1 at the thing with the lags here and there, specially when scrolling.
[OnePlus 2 Original Android Development] ruben.sts:
0 issue with last update thx really! Super work!
[OnePlus 2 Original Android Development] fuser1337:
I just flashed Boeffla's new kernel and this phone has never been this smooth. It is freaking flying.

I suppose it's the tweaked cpu idle driver change added by him.

I went back to stock to compare and it stutters alot. Back to Boefflas for now, eagerly waiting for next Nightly to be awesome!
[OnePlus 2 Original Android Development] aviraxp:
No. It is because of the core_ctl driver and governor param changes in his ramdisk.
[OnePlus 2 Original Android Development] fuser1337:
Whatever it is, it's a good thing :laugh:
[OnePlus 2 Original Android Development] luiz1974:
Two last update doesn't work very well.

My op2 freeze frequently.

Inviato dal mio SM-T705 utilizzando Tapatalk
[OnePlus 2 Original Android Development] fuser1337:
+1

Lags for me too. Oskar is working to fix it, Flash Boeffla kernel for now if you want smoothness back.
[OnePlus 2 Original Android Development] Valneo:
Flashed boeffla kernel to test you theory, it's smooth for a while then it goes back to sluggish experience, at least that's what I'm experiencing
[OnePlus 2 Original Android Development] fuser1337:
It goes sluggish when Big cluster switches off when temperature rises, idk how but there must be a way to relax this behavior.
[OnePlus 2 Original Android Development] Pierre2324:
Boeffla kernel and enable all cores?buttery smooth, smoothest phone ever

Running on performance thermal and interactive (performance) governor and Bfq scheduler
[OnePlus 2 Original Android Development] fuser1337:
I just realized there's a thermal setting in Boeffla after reading your post. I live in India where there's no way to keep a phone below 40C. I did set Thermal to Performance and Big cluster won't turn off easily, phone is smooth af!
[OnePlus 2 Original Android Development] _Kosmas_:
[MENTION=5991425]Ozzy2403[/MENTION] do you forgot us [MENTION=428491]hubo[/MENTION]? If you have time just give me a PN there!

Greetings Kosmas
[OnePlus 2 Original Android Development] KiD3991:
Is fingerprint not working for you guys?
[OnePlus 2 Original Android Development] jceballos:
Fingerprint is working perfectly
[OnePlus 2 Original Android Development] yesaswi92:
Battery Issue

I recently flashed Linease OS 14.1 on my oneplus 2. The OS is working good almost on all issues, except for the battery.

What happens is that the phone suddenly hangs, especially when the screen is off. No button, and nothing works then. And to when I restart the phone by long pressing the power button at tht time, the battery drops drastically to low values. Like from 60% to almost 5%. I tried re-calibrating my batter, but the problems seems to be persistent. Please let me know if there is any solution, or guide me to report this to the official developers for it to get corrected in the next update.

Thanks.
[OnePlus 2 Original Android Development] topdawg7793:
This has happened to me a few times with the 08/27 nightly. Stock LOS kernel and no sketchy apps.
[OnePlus 2 Original Android Development] yesaswi92:
Did you find a work around for that problem?
[OnePlus 2 Original Android Development] jceballos:
Had the same issues, I reverted back to Aug 10 nightly which is the version that works best for me.

Edit: some people have suggested using boeffla kernel helps them with this bug but haven't tried yet
[OnePlus 2 Original Android Development] IDisposable:
Yes, this completely solved the stutter and hangs with the 2018-08-24 version.
[OnePlus 2 Original Android Development] Ozzy2403:
sry guys tried to work on oreo for a while and didn't succeed pushing my changes yesterday for 14.1. hopefully can merge this evening some fixes and will ask for a rebuild tomorrow.
[OnePlus 2 Original Android Development] aviraxp:
Sorry to tag you here Oskar, but we need https://review.lineageos.org/#/c/187262/. Michael Bestas somehow ignores this.