yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] AuxXxilium:
new version from Temasek CM12.1 online, stock CM12.1 soon.

EDIT: Stock is up too

Changelog:

====================
11-19-2015
====================

* bootable/recovery/
bc6ccea Merge branch 'cm-12.1' of github.com:CyanogenMod/android_bootable_recovery into cm-12.1

* build/
fe380f1 gdbclient: fix build output directory path

* external/wpa_supplicant_8/
e6b4728 Merge branch 'cm-12.1' of github.com:CyanogenMod/android_external_wpa_supplicant_8 into cm-12.1

* frameworks/av/
c509da6 Handle malformed audio packets received during RTSP stream switching
4626cff Fix overflow check so it doesn't reject legitimate files

* frameworks/base/
7c1baec Shell: Declare cyanogenmod WRITE for system and secure settings.
bb65b62 base: strictmode fixes
32b4849 base: prevent StrictMode to crash system because an overflow
90c6d40 Listen phone state change

* frameworks/opt/telephony/
9a84721 Merge branch 'cm-12.1' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into cm-12.1

* hardware/sony/thermanager/
... removed for testing
* packages/apps/ContactsCommon/
17cb788 Merge branch 'cm-12.1' of github.com:CyanogenMod/android_packages_apps_ContactsCommon into cm-12.1

* packages/apps/Dialer/
db4c8fc dialer: fix fc on secundary users

* packages/apps/Settings/
44d1358 Build V18.6
43e759b Settings: regulatory: Wrap the layout in a ScrollView

* vendor/cm/
a3ccf8f Merge branch 'cm-12.1' of git://github.com/CyanogenMod/android_vendor_cm into cm-12.1

* vendor/cmsdk/
82d5b73 Merge branch 'cm-12.1' of github.com:CyanogenMod/cm_platform_sdk into cm-12.1
[OnePlus 2 Android Development] urnamese3:
[MENTION=3685904]ak[/MENTION] can you please include the fixes [MENTION=1468412]AuxXxilium[/MENTION] mentioned in the next kernel build please? The ones to have camera and torch working.. It's a PITA to reboot everytime you need to use the camera -_- and I need the goodies inside your kernel :highfive:

Sent from my quantum computer yëyě

---------- Post added at 22:48 ---------- Previous post was at 22:48 ----------

Thanks man :)

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] AuxXxilium:
if he don't want to use it. i recompile a fixed version of his kernel for you. ;) but now i need to go to sleep.
[OnePlus 2 Android Development] cAase:
Latest version running just fine.

Snapchat still doesn't work though, stock kernel and Temasek.
[OnePlus 2 Android Development] AuxXxilium:
i know. had not enough time to try to fix it. found more devices running cm12.1 with this problem.
[OnePlus 2 Android Development] cAase:
It does seem to work on AICP though. I have no clue about development so I have no idea if that's relevant information for you.

Edit: i lied, it doesn't.

Skickat från min ONE A2003 via Tapatalk
[OnePlus 2 Android Development] elandroido:
Hi [MENTION=1468412]AuxXxilium[/MENTION]

First thanks for your amazing work.

Although I am not really that much into android development, as a programmer I would like to participate in your work, and fix some things that personally are annoying for me.

My first thought would be to create an overlay in order to enable the "rotate homescreen" option. Editing build.prop after each update in order to have this feature is quite bad.

I did this once for the M8, so I think I gonna get it done again somehow.

Now to the questions part:

I have the impression that your sources differ from the ones Grarak has used for his latest build.

A "repo diff" does not show the changes you are mentioning.

Please have a look at my current local manifest and tell me what I need to change in order to participate a little in the latest development.

<manifest>
<project remote="github" name="Grarak/android_device_oneplus_oneplus2" revision="cm-12.1" path="device/oneplus/oneplus2" />
<project remote="github" name="Grarak/android_kernel_oneplus_msm8994" revision="cm-12.1" path="kernel/oneplus/msm8994" />
<project remote="github" name="Grarak/proprietary_vendor_oneplus" revision="cm-12.1" path="vendor/oneplus" />
<project remote="github" name="CyanogenMod/android_device_qcom_common" revision="cm-12.1" path="device/qcom/common" />
<project remote="github" name="CyanogenMod/android_external_mm-dash" revision="cm-12.1" path="external/mm-dash" />
</manifest>

Of course that is just an offer, if you do not want me to clone your sources and implement anything based on it, it's up to you.

Anyhow I'd be happy to join.

Gr33z
[OnePlus 2 Android Development] AuxXxilium:
you find my local manifests in github. look into it. github.com/AuxXxilium
[OnePlus 2 Android Development] urnamese3:
Good night :highfive:

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] saintxseiya:
Hi all,

seems as the cam still is not working properly, as switching between the cams, still let the cam crash.
[OnePlus 2 Android Development] AuxXxilium:
Cam is working but not with custom kernel. Next time please use search before.
[OnePlus 2 Android Development] urnamese3:
I'd really appreciate if you could build AK's kernel with the fixes included. Right now I'm at University and every time I have to take a photo (quite often) I got to reboot ._.

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] AuxXxilium:
I'll do it when i come home. It's not a big deal.
[OnePlus 2 Android Development] urnamese3:
Alright thanks! It's a big deal to me since I need to take photos of extra stuff I got to study at home

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] saintxseiya:
I think he ment building the kernel ;)
[OnePlus 2 Android Development] urnamese3:
Yeah maybe I misunderstood lol could've been both

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] AuxXxilium:
i hope it is working: http://android.webcs.de/OnePlus_2/AK_Kernel/AK.023.OP2.CM.zip
[OnePlus 2 Android Development] LOL9988:
Camera not working right?? ?

I love this ROM. Please fix camera. (Snapchat)
[OnePlus 2 Android Development] AuxXxilium:
i think i can take a look and try to fix it, but a bit busy. have another device with some problems. ;)
[OnePlus 2 Android Development] LOL9988:
No Problem.:good::highfive:
[OnePlus 2 Android Development] cAase:
Snapchat is the only thing stopping this ROM from completion. Take your time though, even asking for it to work 2017 is still too much to request.

Keep up mate and tell us mortals if we can help or contribute in any way.

Skickat från min ONE A2003 via Tapatalk
[OnePlus 2 Android Development] urnamese3:
Thanks a lot man!! :highfive: Camera and torch work now [emoji7]

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] AuxXxilium:
can you explain what isn't working on snapchat. i got the rear camera working, but the front won't work for now.
[OnePlus 2 Android Development] urnamese3:
Hey [MENTION=1468412]AuxXxilium[/MENTION] I know about a bug that is present since a bit, not a big deal but the lesser the bugs the better it is :)

It's easily reproducible: turn off WiFi, activate WiFi tethering, WiFi won't turn on unless you reboot

Here's a logcat

https://drive.google.com/file/d/0B8tpNiB7xja2bGFzRThpeFVpOTQ/view?usp=docslist_api

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] efattal:
Thanks [MENTION=1468412]AuxXxilium[/MENTION], it works!

I can't find how to disable hardware buttons when onscreen navigation bar is activated. It's annoying because apps react as if there was a hardware menu button and dont display the 3 dots button (XDA app for instance). Thanks for your help and your work.
[OnePlus 2 Android Development] jurberto:
Have you tested it with snapchat, or is this the case only with the main camera?
[OnePlus 2 Android Development] DanDroidOS:
11/20 build is really nice! Does this build include the new C-apps? If not can I flash the C-apps package? Or is that a bad idea? Thanks for all your work with this ROM & kernel!
[OnePlus 2 Android Development] AuxXxilium:
not included and never tried. but i want flash it too ;)
[OnePlus 2 Android Development] DanDroidOS:
I'll give it a shot and report back, what's the worst that can happen? Thanks again:)
[OnePlus 2 Android Development] AuxXxilium:
you have to wipe your /system and reflash cm and gapps.
[OnePlus 2 Android Development] DanDroidOS:
I was on 11/20 build, wiped dalvik and cache then flashed C-apps and everything is still stable and perfect:) Updated dialer and theme app are nice!
[OnePlus 2 Android Development] Mike:
Is the dialer the one like this with two buttons in circle or looks more standard?

Sent from my OnePlus One
[OnePlus 2 Android Development] jmcv12:
I'm in build 19/11 and with stock kernel. I've been seeing, even with older builds, that the big CPU only works with 2 cores on with Interactive, and even when choosing Performance only 2 cores work. Thought it was excess temperature, but even after resting for a while, it stays the same. Changed the Temperature sensors with the same results.

When i flashed VisionX i had all 4 cores working as it should, even in Interactive.

Is this normal?
[OnePlus 2 Android Development] DanDroidOS:
[IMG="C-apps dialer"]https://drive.google.com/file/d/0Bx8EN5i8bPGkUm5oMjRDcWlXb2c/view?usp=docslist_api[/IMG]
[OnePlus 2 Android Development] elandroido:
That is strange. For me all 4 cores work when I switch to "performance" in battery settings. I am using Kernel Adiutor to monitor.
[OnePlus 2 Android Development] elandroido:
Thanks... Building works fine and I digged around a little bit in the coding.

Unfortunately it seems that Trebuchet just has no settings option for Homescreen rotation. strings.xml did not indicate anything and also from launcher coding I have the impression that there is no setting that can be enable.

Well, there is a secondary option in Utilities.java:

public static boolean isRotationEnabled(Context c) {
boolean enableRotation = sForceEnableRotation ||
c.getResources().getBoolean(R.bool.allow_rotation);
return enableRotation;
}

In this sForceEnableRotation is the value taken from build.prop.

I am still unsure where exactly c.getResources().getBoolean(R.bool.allow_rotation); points to. The variable "R" even breaks android studio and cannot be found. In addition there is no source attached for the whole resources stuff.

Well, looking at LauncherSettings.java did not indicate anything concerning the rotation option and neither did strings.xml (as said before).

So for the time being, I have to stick to the build.prop editing after each update.

Maybe someone can shed a light on me, what I am eventually missing.
[OnePlus 2 Android Development] jmcv12:
I'm using Kernel Adiutor too!

I found out that the battery mode is affecting the number of cores and the MHz at what each run. All results are in CPU Governor in Performance.

When in "Battery Saving" the big CPU only runs 2 cores with a max 864MHz and the LITTLE run all 4 with the frequency fixed at 960MHZ.

In "Balanced" only 2 big cores are up running at full frequency, and all 4 LITTLE runs at full frequency.

In "Performance" all 4 big run at max and the 4 LITTLE too.

Is this normal? I almost never set the battery mode to Performance (always in Balanced) and i've seen many times all 4 big running even in Interactive...
[OnePlus 2 Android Development] efattal:
Voice search

Hi guys,

With OOS, voice search and more generally voice recognition worked just fine. Since I installed this ROM, my voice isn't recognised at all. Am I the only one having this issue? Any idea how I can solve it? Thnaksfor your help.
[OnePlus 2 Android Development] DanDroidOS:
I have had this issue as well
[OnePlus 2 Android Development] AuxXxilium:
VisionX and AK where without the core_ctl from Qualcomm and OnePlus. The stock kernel is with core_ctl which only plugs all 4 A57 cores on than temperature is ok and the performance is really needed.
[OnePlus 2 Android Development] dgershko:
im still having camera problems on the 20/11 temesk build, havent tried cm. is that normal? the problems are: cant open camera more than once, laser stays on, if i turn on the flashlight it stays on.
[OnePlus 2 Android Development] AuxXxilium:
3rd time: you use a custom kernel? yes?! you need to use stock or my recompiled version from ak. the fix is kernel based so you break it if you flash a custom kernel.
[OnePlus 2 Android Development] dgershko:
Yeah I didnt, my bad. Although it would be pretty nice if you wrote that in the OP.
[OnePlus 2 Android Development] urnamese3:
You could've searched.. It was written only 1 or 2 pages back

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] teflon252:
That's ridiculous....its not his fault...the caption for the thread is misleading...says working camera...n nowhere in the op was there a by line with the strings necessary...no need flaming him
[OnePlus 2 Android Development] urnamese3:
Title is not misleading at all: if you flash the Rom the camera works since its inline kernel has the proper fixes; but if the user flashes a different kernel it's not OP's fault, the user has to know that he made changes from the stock set-up.

OP didn't flame him, he's simply tired of repeating the same thing over and over. Take his place and think about how you'd behave in the same scenario

Sent from my quantum computer yëyě

---------- Post added at 18:31 ---------- Previous post was at 18:30 ----------

Thanks!!

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] MickyFoley:
So: Was time about to change my signature :). Huge thanks to you for all your patience with us all and the amount of time & work you spend to keep this ROM(s) running.

Oder auf deutsch gesagt: Ohne dich wäre es hier in dieser Sektion bereits toter als tot. Nur durch Entwickler wie dich, Grarak und CoreGaming (zu denen zähle ich generell niemanden der nur die Quellen von anderen BLIND benutzt!) wurden Legenden wie das OPO, Galaxy S (bis hin zu 4) und weitere Smartphones erst richtig benutzbar und die Moddergemeinde aufgeweckt. Vielen Dank für alles.
[OnePlus 2 Android Development] kapooya:
Quick question,

in the download folder i see there is a O3 version and an "normal" version of the latest temasek.

So whats the diffrence/ wich one is recommended?
[OnePlus 2 Android Development] AuxXxilium:
thanks so much. -> speechless

it's only a recompiled version with -O3 (better) flag for some more parts of this rom.

---

EDIT: something from tomorrow

* build/
f6b7d29 fix aarch64
d90c994 switch to -O3 for rom

* device/oneplus/oneplus2/
0502d27 Merge pull request #1 from AuxXxilium/cm-12.1-CAF

* kernel/oneplus/msm8994/
f6bbb3c defconfig: update
f9b5df8 drivers: state_notifier: start driver as subsystem
63c6bba drivers: state_notifier: use singlethread workqueue
1c357f0 drivers: state_notifier: use more relaxed workqueu but still high prio
ac59ead cpufreq: interactive: added wakeup boost configuration
3682096 drivers: state_notifier: Use high priority workqueue
f668ba1 cpufreq: impulse: tuning and burning values into governor
b8db68a cpufreq: ondemand: Eliminate the deadband effect
8614cfd msm8994: dta: set boot_cpus to max possible
06529a7 qpnp-smbcharger: adapt charge level for ukm interface
dd9fe1e qpnp-smbcharger: charge level interface 1.1 for OPT
1fbf4cf state_notifier: added related track into mdss events
d1a527e state_notifier: added new driver for on/off operations
c5ee531 module: make an exception in module loading to load proprietary core_ctl module
93fe039 cpu: Keep CPU cores 0 and 4 always on
bc3ca32 cpufreq: hardlimit for min/max cpu frequencies
0bfa6c6 arch: arm64: msm8994: finalize remove bcl-hotplug
ffbd04e arch: arm64: msm8994: remove bcl-hotplug
d4f6736 msm: thermal: Add CPU mitigation during suspend
299f482 sched: Export sched_setscheduler_nocheck()
283b41b USB: android: Fix memory leak in mass_storage_function_init()
d6b5f0a soc: qcom: watchdog_v2: use kmemleak_not_leak for cpu context dump data
94cdd51 soc: qcom: memory_dump_v2: use kmemleak_not_leak for mem dump's app table
3d6c1c3 mm: swap: don't delay swap free for fast swap devices
ab9e654 debugobjects: use kmemleak_not_leak for debug object memory
8c39f5c mmc: block: stop BKOPs before handling RPMB and ioctl
0dce2b9 ASoC: msm: qdsp6v2: Check memory before re-mapping cal block
b6100cb msm: thermal: Re-evaluate hotplug for unexpected cpu online
cdef9fd binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu )
e643dec fs: sync: Asynchronous Fsync from HTC
05dfaed Revert "Added fsync on/off support."

EDIT: Screenshot added. Think it is the right way.
[OnePlus 2 Android Development] albireox:
Last night, stock kernel. Not bad at all.
[OnePlus 2 Android Development] LOL9988:
64k. great score :eek: im only getting 42k (latest rom 21/11)
[OnePlus 2 Android Development] albireox:
It's all about the thermal state of the A57 cluster. If it gets too hot it'll stop or reduce its speed. That's why some people get around 40k in Antutu, others more than 60k.
[OnePlus 2 Android Development] DanDroidOS:
[MENTION=1468412]AuxXxilium[/MENTION] 11/21 -O3 build w/C-apps is butter!!! Thank you so much and everyone helping you!!! This ROM makes me love this phone:)
[OnePlus 2 Android Development] CounterC:
Can someone please tell me if Google camera panorama and photo sphere work on latest build? If not, [MENTION=1468412]AuxXxilium[/MENTION] do you know why?
[OnePlus 2 Android Development] Mehul.S:
How to make sure A57 cores are at a normal state??

Sent from my ONE A2003
[OnePlus 2 Android Development] albireox:
It's hard to say, because when you run Antutu, A57 could get out of their comfort zone (when the benchmark is running) and overheat and therefore decrease its speed. I observe this happens above 50 degrees C, but I might me wrong.
[OnePlus 2 Android Development] Mehul.S:
I use ak kernel.. I've kept A57 at 960 boost on touch input and using impulse as the governor..

Sorry for off topic..

Sent from my ONE A2003
[OnePlus 2 Android Development] MickyFoley:
[MENTION=4919255]CounterC[/MENTION]: Won't work because of the same problems like QR-code scanners have. Tested by myself and crashed the driver immediately. I believe, it's related to the Camera2-API. Probably won't get fixed on CM12.1 :). Grarak is working hard to get CM13 ready. Some commits would be nice for him to get things working. Maybe some skilled devs around for it?
[OnePlus 2 Android Development] elandroido:
Since my gf has a lot of late shifts at work atm, I'd have some time... As said before I am (I hope) a skilled developer, but would surely need some assistance due to small android experience... Anyhow if I can help, just tell me where to look at...
[OnePlus 2 Android Development] albireox:
To be honest, I don't care at all about the benchmarks, I found the [MENTION=1468412]AuxXxilium[/MENTION]Temasek port to run beautifully on normal day to day tasks.
[OnePlus 2 Android Development] urnamese3:
I got all the CPUs input boost at 768 and hardly notice lag (once a day while playing a game) with 3:2 hotplug and impulse governor. 864 = no lags at all

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] Mehul.S:
I don't get how to set hotplug.. In synapse.. I can't change the default value..

Sent from my ONE A2003

---------- Post added at 06:30 PM ---------- Previous post was at 06:25 PM ----------

It's not about running good for normal day to day basis.. I'm on stock OOS 2.1.2.. It also runs well on day to day basis.. Still its bad at benchmarks..

Sent from my ONE A2003
[OnePlus 2 Android Development] urnamese3:
https://youtu.be/BljlheeJ2I4

Benchmarks are useless in my opinion; everyone should set their kernel in a way that it makes their device lag-free and with good battery duration. I usually reach 6 hrs SoT in a day with my daily pattern usage, which is awesome to me

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] albireox:
Can't help you here. I still don't know why people want benchmark high scores when they are perfectly happy with their phone running normal tasks.
[OnePlus 2 Android Development] Mehul.S:
It's not about why I want high scores.. Its the normal caliber of the phone.. Yet mine doesn't get.. People get way to much sot also.. Mine can't go beyond 5 hrs.. So I wanted to knw what's wrong with my phone.. That's all.. Don't wana arguee with you buddy.. Peace.. :) [emoji111]

Sent from my ONE A2003
[OnePlus 2 Android Development] urnamese3:
I noticed it's mostly about being on Wi-Fi or having bad phone reception, this last factor is one of the biggest battery drainer

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] albireox:
5 hours screen on time? Well, I usually don't get past 4h SOT.
[OnePlus 2 Android Development] Mehul.S:
Okay.. I don't have bad reception.. But I'm on wifi for whole day almost.. Thanks anyways..

Sent from my ONE A2003
[OnePlus 2 Android Development] urnamese3:
Try following these two guides if you haven't already

http://xdaforums.com/showthread.php?t=2973588

[GUIDE] 0% [0.0%/h] Idle Battery Drain on Stock ROM (XPosed & Amplify Required!)

http://xdaforums.com/showthread.php?t=3095884

[GUIDE]Extreme Battery Life Thread(Greenify+Amplify+Power Nap

Also install Adaway and a good browser.. I recommend firefox

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] Mehul.S:
I got 5 hrs sot until my battery was 10 %..

And hotplug didn't stick.. It doesn't show any tick or cross buttons on top when I change the default value from - 1:-1 to 3:2.. SS attached..

View attachment 3551315View attachment 3551316

Sent from my ONE A2003
[OnePlus 2 Android Development] urnamese3:
Try installing busybox, clear synapse data, go to recovery and flash kernel again

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] albireox:
You should be happy, it's a very nice performance.
[OnePlus 2 Android Development] tobias14:
thank you vety much for hard work, flashed rom today and just setting it up

btw, sounds seem to be on quiet side, possibility to make sound fm speaker louder ? tried turning on/off audioFX but did not notice any difference
[OnePlus 2 Android Development] doublem75:
Hi guys

What's is biggest difference between this and exodus rom?
[OnePlus 2 Android Development] TaRsY:
Please...

Both based on cm but different developer and different features implemented differently. Go and try and compare yourself.

Tapatalk-kal küldve az én ONE A2003-el
[OnePlus 2 Android Development] Mehul.S:
Nope.. Didn't work.. :(
[OnePlus 2 Android Development] AuxXxilium:
BTW: i got QRCode scanner working :P - i use qr code reader from scan, inc.

EDIT: and snapchat is working too :D

EDIT: i use latest uploaded version with VISION build tag
[OnePlus 2 Android Development] nickwarn:
Is the DPI supposed to be as high as 560 on todays build? I know we can adjust dpi from settings but it seems some apps dont change, LMT for example.

DPI problem on LMT changed after reboot, but still 560 as default is way to high
[OnePlus 2 Android Development] Naman Bhalla:
Flashed 21st November O3 Build with Open GApps Nano and SuperSU 2.52 and CApps, around 7 hours ago and everything working awesomely. Great job [MENTION=4564830]auxxi[/MENTION]lium !! The device is ultra smooth and doesn't heat at all.

With all stock settings, I am expecting 5.5 hours SOT.

Thanks a lot mate for the development ... I will be updating with your builds daily and will try to help you in development too. :)

Thanks again.
[OnePlus 2 Android Development] kapooya:
All i can say is WOW.

This rom is absolutely amazing, it unlocks the true potential of the sd810.

It's buttery smooth, and as far as battery goes i gotta say its better than stock oos.

An now that you got the camera mostly working its almost perfect.

Thanks alot for the hard work.:thumbup:
[OnePlus 2 Android Development] urnamese3:
<3

the fixes are inside the ROM. Thanks [MENTION=1468412]AuxXxilium[/MENTION] for your work :highfive:

---------- Post added at 17:48 ---------- Previous post was at 17:47 ----------

Clear synapse data

Go to recovery and do a /system wipe and then flash ROM + kernel
[OnePlus 2 Android Development] AuxXxilium:
yes i changed it to 560 but reverted it. upload a new build soon. -> UPLOADED
[OnePlus 2 Android Development] urnamese3:
for now: go edit build.prop file in the /system folder with a text editor and change the DPI to whatever you want and reboot to see the changes (soft reboot doesn't work).