yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] DerRomtester:
Some days ago i have installed unofficial cm12.1 with stock kernel and i noticed how fast it actually was. So i had an idea. I wanted to create a kernel that is basically running with stock settings. I have only made some small modifications to stock settings. I have added a custom hotplug and i changed the default scheduler to bfq. So my new aim is to stay close to stock with some small modifications. So i have cleaned up all old things that may have slowed down the kernel. Another thing i have added is anykernel ramdisk because i wanted to make my kernel compatible with most of the roms. I have added all schedulers and governors back in. I also noticed that something was messed up with my code. I could not add some things like underclock. But now it is inside 68mhz to 2.5ghz CPU clock speed. One thing i dont want to add is OC because it isnt necessary for our chip and this can cause instability issues and can damage the CPU. I want to provide you an improvement over stock kernel with some options to choose. So two hotplugs are inside msm hotplug and mako hotplug (default). Make sure that you change min cpus to 1 in msm hotplug. I wont add any things that i do not like or trust.

Full rebase with official cm-12.1 branch. The kernel isnt based on franco anymore because i wanted to respect the work of other devs.

V110 Log

- very long changelog to post here

- added anykernel ramdisk (kernel should work on cm12 / cm12s /cm 12.1 and maybe on cm11, too)

- no linux upstream anymore (there was a reason why franco reverted that) because i want to stay close with google and cm code

- added all iosched schedulers

- latest cm patches

- faux thermal driver

- franco sound control

- multirom support

- f2fs support

- most of the old features are inside

- new install methode:

dirty flash your current rom if you are running a custom kernel

than flash my kernel

thats it :D

Hit thx if you like my work :)
[ONE Android Development] jmtjr278:
Running this on caulkins cm12s and it's running great! Changed to smartmax and fiops will update as a little more time progresses. Keep up the great work. My phone has been missing your kernel since I began running 12s. Glad to be back.

Sent from my A0001
[ONE Android Development] DerRomtester:
I am glad to hear this :)

It is always so silent here. Sometimes i think noone wants to use my kernel anymore. I dont know if my users are happy or unhappy. :D
[ONE Android Development] jmtjr278:
Judging by the thanks on your release notes you have plenty of users! Just look at it this way, no reports of problems means you must have a pretty good kernel!

I would love to chit chat more here. This is a thread I always scroll through my Tapatalk feed for.

What is your setup? What ROM are you running? I know you said cm12.1 is that something you will stay on or are you like me and always looking for something new/better?

What kernel configurations are you using? Stock?

Have you tried oxygen? If yes what are your impressions? Will you make a kernel for it? I know lord boeffala has said kernel sources are incomplete at the moment but is it possible?

Sent from my A0001
[ONE Android Development] DerRomtester:
V111 Changelog :D Sry guys i have too much time

- silenced some debugs

- synced with cm

- added transparent compression

" This patch is useful for devices that are running out of space on /system. It may also be useful for devices with fast CPU and slow eMMC.

The biggest con, of course, is that it is very fresh code. It may not be stable, it may leak memory or resources, etc.

Additionally, it breaks tar based backups in recovery. But Dees Troy and I are working on fixing that. "

- bugfixes

ecc.

5bd4c4d Revert "sched/fair: Implement fast idling of CPUs when the system is partially loaded"
d488b46 Version 111
bf21434 defconfig: update
f3f3162 msm8974: fs: Transparent compression support
9b62118 VFS: Make more complete truncate operation available to CacheFiles
34db740 Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
b47faf6 crypto: arm/aes update NEON AES module to latest OpenSSL version
2a275a3 workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE
d672c5e fs/proc/task_mmu.c: don't use task->mm in m_start() and show_*map()
5cb07d9 ARM: add .gitignore entry for sha256-core.S
3fb5249 arm: crypto: Add optimized SHA-256/224
82eadaf fs/namei.c: fix potential memory leak in path_lookupat
133ba76 sched/fair: Implement fast idling of CPUs when the system is partially loaded
ad89210 mm: Don't count the stack guard page towards RLIMIT_STACK
fa0d208 mm: propagate error from stack expansion even for guard page
15a01a2 tty: Fix high cpu load if tty is unreleaseable
bfb0b0a soc: qcom: smd: Fix SMD packet sync loss issue
23b4baa mmc: enable wakeup_on_idle
47d269a mmc: add support for scheduling mmcqd on idle CPU
0544696 tick: don't update idle time if cpu offline
1a891a3 msm: mpm: disable debugging
f91bfff cpuidle: remove cross-cpu IPI by new latency request.
70d7aaa wlan: just shut up...
cd1d90c cpufreq: export the cpu load across cores to the policy struct. On Performance governor let's emulate a constant 100% load (in this Kernel's case it will make all cores online, which is kinda the purpose of a performance governor isn't it?).
8e1a24e msm: slimbus: use interruptible wait to reduce system's load average
[ONE Android Development] Spaulding89:
[MENTION=4804871]DerRomtester[/MENTION] YOU MUST LEARN. Just trolling around here. Thanks for new version
[ONE Android Development] DerRomtester:
Yeah i know. :) But learning is boring.
[ONE Android Development] Spaulding89:
Oh yes learning is really boring but it is important. I'm happy that the time of learning for school is over for me.
[ONE Android Development] Pradhan_89:
Flashed with temasek v 10. OMG so smooth man. Thank you so much [MENTION=4804871]DerRomtester[/MENTION]
[ONE Android Development] DerRomtester:
I know :) i am using the same combo
[ONE Android Development] usmani:
To be honest this is the first build from you after 96 that's working really good for me. Two minor bugs, can't change conservative sample time and min frequency jumps to 1497.
[ONE Android Development] DerRomtester:
There is no sample time on conservative only sampling rate do you mean that?

What do you mean it jumps? I think you mean the cpu boost driver. It is boosting your min freq to 1497 mhz if you touch the screen. I tried to change sampling rate with conservative and it works fine for me. Are you using two different kernel tweaking apps or is there maybe an init.d script?
[ONE Android Development] usmani:
Oh yes sampling rate sorry. By jump I mean it makes the 1497mhz the minimum frequency. No only synapse, I'm using ukm 3.8.1.2 ak special ed. I'll post screen shots

Edit: here look at these, Minimum cpu frequency. Also I tried to chnge sampling rate to 10000 again but its still at 200000
[ONE Android Development] hassan_1000:
Is kcal removed on the latest builds?
[ONE Android Development] Pradhan_89:
No, it's there.

[MENTION=4804871]DerRomtester[/MENTION]

Do you have any preferred synapse profile for temasek and your kernel. Please share ;)
[ONE Android Development] DerRomtester:
I am using stock settings. The only thing i do is to change min freq to 69mhz. I also like this configuration:

disable cpu boost driver

smartmax cpu governor

Cpu min frequency 69mhz

zen or bfq scheduler

Anyone with the same problem?

For me it works fine. I am using temasek + V111 + UKM 3.8.1.1 special ed ak. How can i reproduce this? You could try to wipe system in recovery than flash rom and gapps + V111. I am using at the moment kernel adiutor to adjust kernel settings.
[ONE Android Development] waterdaan:
Interesting observation about stock kernel!!

---------- Post added at 10:11 AM ---------- Previous post was at 10:09 AM ----------

I don't dare to flash this yet
[ONE Android Development] DerRomtester:
Check androidfilehost for V112 :D

Happy sunday

- merged cm upstream commits

- merged some things from oxygen os kernel source

- reverted intellithermal to merge latest cm commits

a1104db Version 112
2c661ef wcnss: Fix for Static analysis issues
0cf1960 msm: camera: check size of allocated buffer to prevent overflow
ddce148 msm: camera: isp: Add support for AV time stamp for VT call
43d9a8c msm: camera: isp: Validate input parameter for vfe_write and vfe_read
c236ec1 msm: camera: sensor: sanitizing user space pointer
c5296da crypto: msm: change dev_err messages to dev_warn for reaper worker
cf84f6c msm8974: Adjust qcrypto device name
9ad381a msm: thermal: Add RT priority to kernel hotplug thread
54b23d9 msm: thermal: Optimize locking in thermal frequency mitigation thread
6a401bb msm: thermal: Add RT priority to kernel thermal threads
923e429 wcnss: reset IRIS before reading IRIS revision register
7bcede5 wcnss: configure IRIS clock to 19.2Mhz
53308b9 wcnss: configure iris into cxo mode
2497da7 kernel: Restrict permissions of /proc/iomem.
df6cf72 msm: mdss: fix ret value during error case
4685d9d mmc: core: Fix mmc clk scale down during writes.
451d2b1 msm: vidc: Add support to read venus version through debugfs
e59f5b7 msm_fb: display: validate input args of mdp4_argc_process_write_req
04b1919 soc: qcom: bam_dmux: Sync SSR with disconnect/reconnect
701a80a wcnss: avoid removing pm_qos request when already removed
951b520 spi: spi_qsd: Prevent transfer grouping
0d85d116 spi_qsd: Fix bug in multi-xfer bam mode transaction
efd2082 spi_qsd: Add support for multiple BAM descriptors
d451e86 spi_qsd: Initialize wait queue
9c4f6ef spi_qsd: Add core message queue feature
2e53e1e msm: mdss: rotator: replace work_pending with work_busy
5bdbf91 msm: mdss: un map dsi transmit buffer properly
4476e4d qseecom: avoid buffer over-write when copying app_name
8fa2d79 msm: vidc: Update the clock state variable before unprepare clocks
89dcb98 crypto: msm: Compilation flag in Kconfig For FIPS
4fedda3 qcedev: msm: Remove gating of zero length packets for authentication
addb30b Revert "msm: thermal: import intelli thermal"
87e7563 Revert "msm: thermal: double polling interval"
[ONE Android Development] usmani:
I just change min freq and that happens, it's similar, like it happens on stock mpdecision
[ONE Android Development] coolbud012:
Hi I just flashed CM12, the issue I'm facing since I have bough OPO is that when I connect it with my laptop for USB debugging, the kernel goes into deep sleep after sometime and Android Studio shows the device as offline?

So will installing your this kernel will solve this issue?

Also can I directly flash it using TWRP or fastboot boot.img flashing is required?
[ONE Android Development] coolbud012:
It disables my usb debugging. :(
[ONE Android Development] hassan_1000:
Can't keep up with the updates lol! Amazing kernel man, kcal is just awesome
[ONE Android Development] truth77:
this is what I've been waiting for. Rebased to almost stock kernel with all your specialties built in. Nice work.:good:.
[ONE Android Development] DerRomtester:
I will check that.

I dont think it is kernel related. I cant reproduce your problem.
[ONE Android Development] coolbud012:
issue resolved

Sorry it was issue with my usb settings, really sorry
[ONE Android Development] DerRomtester:
No problem :)
[ONE Android Development] usmani:
I'm using euphoria 14th build. No problem on ak and render
[ONE Android Development] DerRomtester:
You tried a system wipe + rom install + gapps + kernel?
[ONE Android Development] usmani:
Always do that.
[ONE Android Development] DerRomtester:
And a different UKM version?
[ONE Android Development] usmani:
Yes tried with ukm 3.8.1.5 special ed render ukm 3.8.1.2 and ukm 3.8.1.1, also obviously by uninstalling the prior version.
[ONE Android Development] mak725:
Very soft the latest, working well with Temasek v10 [emoji3]
[ONE Android Development] DerRomtester:
hmm i dont know whats wrong on your side. You are the only one with that problem.
[ONE Android Development] DerRomtester:
Version 113 Changelog

- updated mako hotplug to latest version from franciscofranco (the old version with powersuspend was buggy)

- removed msm hotplug for now

- cm upstream changes

- set min max freq inside defconfig that may solve your problem [MENTION=5698935]usmani[/MENTION]

if you want to try full quad core mode set Load Threshold to 0% in the hotplug tab

- removed powersuspend driver because we don't need it for mako hotplug anymore

- updated anykernel ramdisk: now scripts from other custom kernels will be deleted if you flash my kernel

- some performance updates

- updated toolchain to latest version from UBER 6.0

- dont forget to reflash ukm or press in the profile tab "restart synapse"

ecc...
[ONE Android Development] indian84:
New to your kernel. Running since yesterday and loving it so far..
[ONE Android Development] usmani:
Its still the same but I think I found the bug and it has something to do with cpu boost. Look at the screen shot. When I change min freq it gets raised to the value of input boost frequency.

This is the error with conservative
[ONE Android Development] DerRomtester:
Hmm weird there is no sampling rate min on my kernel. Is this official ukm 3.8.1?

You tried ukm uninstaller?
[ONE Android Development] usmani:
Nope this render 3.8.1.1. Yes tried the uninstaller. Tried changing sampling rate too that doesn't work either.
[ONE Android Development] indian84:
Delete Synapse data/ force stop synapse and try again. Even I had this issue. But doing the above gave me the solution.
[ONE Android Development] indian84:
WTF. XDA app won't let me edit my post.

See image.
[ONE Android Development] indian84:
Alright. Time for some stats.

More than 14 hours of charging. 2.14 hours of SOT. And still have 68% battery left.

I have 4 email accounts on sync, 4IM clients on sync.

Can't be happier.

Thanks [MENTION=4804871]DerRomtester[/MENTION]
[ONE Android Development] moz2k12:
which kernel setting do you use?
[ONE Android Development] indian84:
Only change is Smartmax governor. Rest all stock..
[ONE Android Development] Spider-Vice:
Odd, I can't seem to change the governor not even with Synapse. Any idea of what could be wrong? UKM 3.8.1.7 installed. Using the CM 12.1 nightly.
[ONE Android Development] indian84:
Try older version of synapse.

Get this from [MENTION=3685904]ak[/MENTION] website.

http://ak.hiddenbytes.org/old/OPO//UKM_v3.7.1b1.zip

Hope OP doesn't mind me pasting links.
[ONE Android Development] DerRomtester:
Yeah ak ukm version is especially made for his kernel. I suggest using official 3.8 version or what works best for you. I prefer kernel adiutor instead of synapse.
[ONE Android Development] Spider-Vice:
Ah okay, thanks, makes sense!

Edit: It's working now :)
[ONE Android Development] jgcaap:
Uber 6.0 is already stable?
[ONE Android Development] Ofthecats:
After dirty flash of the ROM, there are still leftovers from tyr kernel. Any ideas?
[ONE Android Development] indian84:
I doubt.

You may have to manually flash ukm uninstaller if you have flashed UKM.
[ONE Android Development] DerRomtester:
Fo me it seems stable. No problems so far. I dont think these wifi issues other users have are toolchain related.

What leftovers? There are no scripts or other things left if you dirty flash your rom. Maybe the synapse settings or profiles. But you can reset them.
[ONE Android Development] Ofthecats:
I reinstalled ukm after clearing synapse, and dirty flashed ROM again. Different kernel had a random reboot. according to dev, log reported remnant of your kernel.

Maybe flashed bad?

Maybe I should wipe system then dirty flash ROM too
[ONE Android Development] mak725:
Temasek v10.4 and kernel TYR no problems WiFi, for my 100% stable, thanks your work DerRomtester :)
[ONE Android Development] jgcaap:
we'll see. I believe is related to toolchains . I'm the only one using Google Tool chains 4.8 on ROM level, and have no issues so far.

I'll have to compare with kernel information and see what is causing this. On my thread for now only one user refered about the wifi bug. I don't have that issue, even tried to do what he did.
[ONE Android Development] DerRomtester:
A kmsg continues all informations what happens during a shutdown or a random crash but sometimes the phone isnt able to create a new kmsg and the old kmsg is still there.

I still dont believe that. Maybe the - O3 optimisation is the problem. Sometimes O3 is producing weird code.

Guys i wanted to push a new kernel but i have a problem with my Internet provider so i cant publish the new kernel and my mobile data sucks. Sry for that :) blame my provider for that
[ONE Android Development] jgcaap:
need help ? I can compile for you if you want :)

Maybe you are right there.. the thing is i got no issues... but you possibly right.. you are infact the person with more experience here :P
[ONE Android Development] Ofthecats:
I think I'm experiencing two cores only at all times.

Anyone else?
[ONE Android Development] DerRomtester:
Changelog V115

so guys today my provider managed to make my internet working again so here is a kernel with many new changes

- disabled crc for better performance

- many interactive changes

- updated smartmax governor

- fixed an error with min cpu frequency do not stick one some cores

- cm upstream updates

- compiled with latest UBERTC 6.0

- updated anykernel ramdisk

- udpated wifi driver (credits to ak )

- bugfixes ecc...
[ONE Android Development] oriveradel:
Awesome, great work
[ONE Android Development] DerRomtester:
Version 116

Sry guys for an update again :)

uploaded two kernels

1. compiled with UBERTC 6.0

2. compiled with Linaro 5.1

5941e2f memutils: Rename ARM assembler push/pull macros [2] * https://github.com/DerRomtester/one_plus_one/commit/72ad7966667251498f918a3460e35f6921fc025e
572e333 ARM: add documentation for finding start of physical memory
09b9a95 ARM: 8294/1: ATAG_DTB_COMPAT: remove the DT workspace's hardcoded 64KB size
eaf9d11 ARM: 8191/1: decompressor: ensure I-side picks up relocated code
0d41bd5 seccomp: Replace BUG(!spin_is_locked()) with assert_spin_lock
8e93118 nf: IDLETIMER: Adds the uid field in the msg
6f1da2f SELinux: ss: Fix policy write for ioctl operations
378b3ee SELinux: use deletion-safe iterator to free list
1e0c153 SELinux: per-command whitelisting of ioctls
9131c8d selinux: Add option to force audit
79b5d45 security: lsm_audit: add ioctl specific auditing
5be8266 SELinux: Update policy version to support constraints info
e48b71b SELinux: add default_type statements
7112fee SELinux: allow default source/target selectors for user/role/range
48710c7 selinux: add SOCK_DIAG_BY_FAMILY to the list of netlink message types
59c3ea6 selinux/nlmsg: add XFRM_MSG_MAPPING
e062ae5 selinux/nlmsg: add XFRM_MSG_MIGRATE
c754cd9 selinux/nlmsg: add XFRM_MSG_REPORT
f2553d8 selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO
7c405a2 selinux/nlmsg: add XFRM_MSG_GETSPDINFO
61f5851 selinux/nlmsg: add XFRM_MSG_NEWSPDINFO
5886da3 SELinux: Reduce overhead of mls_level_isvalid() function call
2c0cd5d selinux: conditionally reschedule in hashtab_insert while loading selinux policy
676b5c2 selinux: conditionally reschedule in mls_convert_context while loading selinux policy
53aa7b1 selinux: no recursive read_lock of policy_rwlock in security_genfs_sid()
fab2a0d selinux: fix a possible memory leak in cond_read_node()
1ba83c1 selinux: simple cleanup for cond_read_node()
efde1e9 SELinux: possible NULL deref in context_struct_to_string
a03be02 SELinux: use ARRAY_SIZE
0168465 selinux: call WARN_ONCE() instead of calling audit_log_start()
df1054c mm/huge_memory: use new hashtable implementation
f8f8c00 mm/ksm.c: use new hashtable implementation
fdad4e5 block,elevator: use new hashtable implementation
9e02737 cgroup: use new hashtable implementation
bab69ca ASoC: wcd9306: Wait for enough time for Line PAs to get settled
5036a8d ASoC: wcd9xxx: Add check for buffer overflow
f12f714 ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage measurements
91f0a6c msm: mdss: KCAL: Read values from MDP registers wherever possible
28b2d6b msm: mdss: KCAL: Apply default values on boot
1c35dc1 Revert "ASoC: es325: Import Oppo Audience ES325 driver"
bde9eda Speed up console framebuffer imageblit function
89943a2 Optimize ARM memset and memzero functions
1defd61 Optimize copy_page for modern ARM platforms
72ad796 Rename ARM assembler push/pull macros
[ONE Android Development] Pradhan_89:
You are pushing new build and saying sorry eh :p Updates are always welcome no matter how many times. :)

Thank you so much for this awesomeness :)
[ONE Android Development] NickosD:
30/04* ?

Sent from my bacon!!!!!
[ONE Android Development] storm119:
Me spotted too...OP pls update the title...30.04.2015 :D
[ONE Android Development] mkhcb:
This is me being picky but the main thread should read battery life, not battery live.
[ONE Android Development] Prey521:
Any advantages of Linaro over Ubert and vice versa?

Thanks
[ONE Android Development] DerRomtester:
Ups, thank you for that. I dont like mistakes, too.

Test yourself. I prefer UBERTC.
[ONE Android Development] ZaneZam:
indeed really an outstanding experience. I internally tend to call it "über toolchain" :)
[ONE Android Development] DerRomtester:
Indeed it is somehow an über toolchain :) the scrolling smoothness of linaro + speed
[ONE Android Development] mkhcb:
"To increase battery live i suggest to underclock your cpu and gpu. Also a different governor like conservative can increase it. Stock settings are nearly the same like cm is using. Pretty balanced with decent battery live."

Still see 2 more ;)... BTW, I don't meant to troll. I am just waiting before I install your kernel. Heard amazing things about it. However, I got a battery drain induced by a recent system change that I am trying to squash before I flash your kernel. Don't want to skew my perception.
[ONE Android Development] nebulah:
Does the kernel have fast charge options ? Can't seem to find it in trickster
[ONE Android Development] DerRomtester:
Thx mate for finding my mistakes. I hope you can understand my bad english because german is my mother language. :)

No fast charge isnt inside because i prefer stock charging logic.
[ONE Android Development] mkhcb:
Hey, your English is not bad. It is better than most.

Also, thank you for your time and effort in making this kernel.
[ONE Android Development] DerRomtester:
Oh yeah i spent alot of time into this project. A new experimental Kernel is running on my device. With Linux 3.4.107 upstream and new WiFi drivers that may fix connectivity issues. Stay tuned :)
[ONE Android Development] jmtjr278:
Sounds great. Can't wait to flash this mystery kernel!

Sent from my A0001
[ONE Android Development] DerRomtester:
Version 117 Changelog:

- Linux upstream from 3.4.68 to 3.4.107 => lots of new code => 1385 changed files

- updated wifi drivers to prima LA.BF.1.1.1_rb1.20

Two new toolchains:

- Linaro GCC 4.9.3 optimized for CortexA15 CPU (feels damn smooth, too)

- UBERTC 4.9

Today i have downloaded latest UBERTC 6.0 and SABERMOD 6.0 toolchain and tried to compile a kernel but than i faced an error while compiling. I fixed that error and the kernel compiled fine without any problems. But with my fix it does not boot at all so i had to go back to GCC 4.9. I am not a developer and i think my fix made it compile but has broken the code.

- added a option to change the thermal throttle temperature

- disabled gentle fair sleepers for better UI performance

- optimized slub by not using fair sleepers

- mmc: core: Silence log spam

- video: mdss: Report PCC values from pp registers
[ONE Android Development] DerRomtester:
Version 118

somehow a bit experimental

- added msm limiter =>

- CPU per core control

- CM upstream updates

- reduced cache pressure according to this article https://rudd-o.com/linux-and-free-s...land-why-linux-feels-slow-and-how-to-fix-that

- compiled with UBER TOOLCHAIN 5.1

- dont forget to reinstall UKM or restart Synapse

- for details check my github

- I suggest using [MENTION=5438598]RenderBroken[/MENTION] UKM version :) thx mate

Don't forget to hit thx and don't forget to download the kernel :D

Edit:

UKM by Mr. RenderBroken

http://renderserver.net/devs/RenderBroken/Render-UKM/

Thank him for that :)