yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] defconoi:
im off L-Preview for the first time in a month, back on CM11, testing my kernel on that for a few days to make sure its all good ;)
[Nexus 4 Original Android Development] bitstra:
I'll enjoy this kind of install/flash-strategy !!!

AND PLEASE(!) - PORT THAT BEAST TO NEXUS 7 - AS SOON AS POSSIBLE...

( the latest mod-flo-81c is truly a similar beast!)
[Nexus 4 Original Android Development] philowneus:
Note to self: Reflash kernel after updating ukm or the phone isn't happy.
[Nexus 4 Original Android Development] bitstra:
!:good:

(my 8 thanks are consumed for today:) )
[Nexus 4 Original Android Development] Ciao600:
I tried setting a battery profile: conservative governor with all cores, undervolt, and underclock to 135000 all cores. The phone was smooth and (like said a user here) the consumption in standby was really good and at the end of both two days (22.00) I got 4 hours of SOT with the same usage.

I decided to come back to Hellscore because I got 4 random SOD and I really don't like when I have to wait to use my phone, expecially when I have to do important things.

IMHO, this is a really good kernel for performance but it's hard find a good compromise between performance and battery.

I'll give it one more try after the problems with Synapse will be fixed.

Keep up the good work [MENTION=1316336]defconoi[/MENTION]
[Nexus 4 Original Android Development] Pollie81:
what problems with synapse?

mine is working like a charm..

and are you sure you're not just undervolting to much? zero sod's on my side and I've been using unleashed for quite some time..
[Nexus 4 Original Android Development] gorilla p:
Sod likely weren't from kernel, but possibly from UV. Please share binning and UV setting
[Nexus 4 Original Android Development] Ciao600:
Faster, - 100000 volt from default settings.

I don't use hard games, just 2 like Sticky Man Downhill..
[Nexus 4 Original Android Development] defconoi:
The sods were likely the UV, kernel has been stable for me after throwing everything at it. I will be releasing an update soon, getting over the flu ATM which has kicked my ass all week :)
[Nexus 4 Original Android Development] Italico:
Great!

I am in a hurry now, but anyway, thank you very much for this kernel.

Could I ask you if you're going to implement the fix related to the missing home and recent buttons in nav bar?

seems related to third part kernels... and I would love to use yours! :)

PS: donation coming soon ;)
[Nexus 4 Original Android Development] Ciao600:
Are you going to implement the mod to emulate Knock code by LG?
[Nexus 4 Original Android Development] gorilla p:
Please take a screenshot.

If you're fast binned and you have 81mhz below 700mv, you will will have problems.

Fast binned should not uv 81mhz below 700mv.

The stock UV settings for this kernel are good. I wouldn't recommend UV more than -25.

See the screenshot. This is the lowest you should go. You may even have a couple sods with this...
[Nexus 4 Original Android Development] defconoi:
Is there a nexus 4 kernel with this? Of so I will :)
[Nexus 4 Original Android Development] Vinnom:
I'm using -30, working fine, no sod here ^^
[Nexus 4 Original Android Development] nixie2121:
Do I need to clear synapse of my settings before adding this script?
[Nexus 4 Original Android Development] Vinnom:
Good question... I don't think that is needed but, for precaution you could do it.
[Nexus 4 Original Android Development] gorilla p:
Woohoo!

Call recording working perfectly on the N4 with BoldBeast call recorder. He made a version specifically for the N4.

I've PMd him asking permission to add it to makostuff for easy access.

I installed it and adjusted the settings as instructed. The sound was the best I've ever heard for call recording on the N4.

When the app is open, it creates a little record button on your dial screen.

Definitely worth checking out and works fine with latest Unleashed.

http://xdaforums.com/showthread.php?p=56507567

Sent from my Nexus 4
[Nexus 4 Original Android Development] gorilla p:
I'm back over 4hr SOT and performance is fine with Conservative governor.

I enable battery saving mode while sleeping and I'm testing between 2G and WiFi battery drain while in deep sleep.

You can see that long stretch with hardly any battery drain. That was while in deep sleep and battery savee mode.

Sent from my Nexus 4
[Nexus 4 Original Android Development] frikakwa:
[MENTION=1316336]defconoi[/MENTION]: I know you've already answered your kernel was working fine on 5.0.1 but could you please confirm your kernel has been synced with new sources? Do you know what it is related to: Graphite and SM built with?

Thanks. :)
[Nexus 4 Original Android Development] Targaeryan:
SM is sabermod.. It's the tool chain that gnome is referring to.. Graphite is memory optimization inside the tool chain as well if I'm not mistaken..

Ooh here's more info:

https://gcc.gnu.org/wiki/Graphite
[Nexus 4 Original Android Development] frikakwa:
Aaaaaaaaaaaaaaaaaaaaah... thanks my friend: will read this. :good:
[Nexus 4 Original Android Development] coffeecore:
Which one do I need to pick for SlimLP? Could somebody provide a the downloadlink? Latest one please.

Really shouldn't know which to pick. My Nexus 4 will arive tomorrow.
[Nexus 4 Original Android Development] Aaron_Knowles:
Download link in OP. File you'll want is 98u AOSP.
[Nexus 4 Original Android Development] blusydays:
[MENTION=1316336]defconoi[/MENTION], This is the 1st time I try your kernel and I really like it, thank you for your great work.

I have a request, can you add the ElementalX gov ? I used to use it on Nash Kernel from Aviz and it's really awesome.
[Nexus 4 Original Android Development] defconoi:
yes, the sources havent changed in over a month kernel side, 5.01 changes are only rom based, this kernel uses the latest graphite, and linaro optimizations, after testing SM toolchain the kernel was not as optimized, wasted more memory/cpu, the latest linaro in Unleashed has many optimizations no other kernel has for the Nexus 4, take a look at the source code :)
[Nexus 4 Original Android Development] defconoi:
I'll take a look @ elementalx to see if it is worth adding over the already implemented cpu governors and do a few tests to see how it performs, Unleashed has some cpufreq/sched optimizations that the current cpufreqs take advantage of that elementalx doesnt even have implemented yet, so it may underperform on Unleashed.
[Nexus 4 Original Android Development] cfrank38:
Defconoi a big question. Do you have plans port your kernel to shamu nexus 6 ?

I will get today my nexus 6. I could help you with my device because I'm addicted to your kernel ...
[Nexus 4 Original Android Development] gorilla p:
Yeah, ElementalX was very popular. AK added it to his kernel, but removed it shortly after. It worked great though for the time it was there. Because it was popular, I still have that build on makostuff.

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
I would if I had a nexus 6, can't afford it though, I test each build before release and to do debugging, not having it would make it hard to Dev for.
[Nexus 4 Original Android Development] gorilla p:
There's no way in hell you'd catch me buying a Nexus6. The price they set those at is ridiculous. The price of the N4 was perfect, and even the slight increase for the N5 was understandable, but not for the N6.

I'd rather get a Meizu Mx4, XiaoMi Mi4, OnePlus One, or Nexus 5

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
To be honest I wouldn't have even have nexus 5 if someone didn't buy it for me. The nexus 4 works great, this kernel brought new life to it.
[Nexus 4 Original Android Development] gorilla p:
Agreed. The 5/L update with the improved ART and this kernel have this phone running very smoothly. That's why I'm in no hurry to upgrade.

My work gives me $200 every 2yrs to put towards a new phone.

That will be next year about this time. I'm sure there will be some good stuff available, maybe even something with a 64-bit CPU.

If nothing else, the phones I mentioned before will have dropped in price by then.

Sent from my Nexus 4

---------- Post added at 05:11 PM ---------- Previous post was at 04:29 PM ----------

[emoji92] Update on bit.ly/makostuff[emoji92]

My status as an "XDA Recognized Contributor" was recently completed.[emoji41]

It was suggested that I create my own thread.

I am thinking about creating my own thread for my bit.ly/makostuff repository.

I wanted to thank the devs who included links to the repository in their OPs and recognized the time and work I've put into maintaining it [MENTION=2923435]barome[/MENTION] [MENTION=3475639]ak.[/MENTION]

Thanks [MENTION=1316336]defconoi[/MENTION] for letting me post updates here.

Ive reached out to a few remaining devs that I haven't heard back from regarding hosting/mirroring their apps on makostuff. I have already given them credit in the info file in each folder, but prefer to have express permission before creating a more public thread.

I'm only waiting on 2 people and only 1 didn't want their stuff mirrored. (So I need recommendations for a good GApps package besides PA. I'm looking at Banks and minimal at the moment). Please give recommendations on any other things you would like added.

The only things I won't be adding are Full GApps packages and ROMs. They're too large to constantly upload and download.

I will let you guys know once the new thread is created.

-Updates-

Added CM Apps installer

Added Call recording app custom made for the N4.

Organized folders and created Table of Contents (Under Construction)

Updated build.prop docs.

Updated 33/105 hybrid radio (compressed for smaller size. Was 67mb. Now 17mb)

Sent from my Nexus 4
[Nexus 4 Original Android Development] akaHardison:
I use 98u on slimkat,seems everything OK.
[Nexus 4 Original Android Development] Vinnom:
Hey guys that tested my 99defcon script, one question:

How are your battery life going and performance? Do you feel a good balance?
[Nexus 4 Original Android Development] nixie2121:
I don't know what I did wrong... I put the script in init.d.. Changed permissions and the phone would not boot... Stuck on the google boot screen...very weird!
[Nexus 4 Original Android Development] buraktas92:
Is anybody has a solution for unremovable synapse? I am complete stock right now.
[Nexus 4 Original Android Development] shakatu:
Since no one posted a fix, this worked for me: Manually update to the latest version of UKM! It was at 3.5 but I updated to 3.6.1 and it loaded the profiles just fine!
[Nexus 4 Original Android Development] Targaeryan:
Unleashed uses a custom version of UKM.. I'm not sure that the profiles loaded properly as quite a few settings aren't available in Synapse with ukm on Unleashed. I can't comment much on it.. Defconoi should know more..
[Nexus 4 Original Android Development] Vinnom:
Hmm, this is new to me :(

Everytime I change mine, I follow the same steps, so Idk what went wrong
[Nexus 4 Original Android Development] :
can I flash this using stock recovery?
[Nexus 4 Original Android Development] Targaeryan:
No.. You need twrp
[Nexus 4 Original Android Development] gorilla p:
If you're rooted and boot loader is unlocked, you can flash latest twrp with "ROM installer" from play store.
[Nexus 4 Original Android Development] Blue305:
Or via Flashify, also available in the Play Store.
[Nexus 4 Original Android Development] nixie2121:
[MENTION=4362467]gorilla p[/MENTION] - what is the difference between your 98u profiles - Balanced and Bat-Bal?

Once I apply it, synapse will not start as it keeps force closing?

Thanks so much!
[Nexus 4 Original Android Development] Vinnom:
Well, with my 99defcon script I get this:

The phone is smooth. I used some bluetooth, wifi all time, some playing in wifi. I think if you want to only social media and emails, this settings are fine enough.

Steps to use it:

Download the file;

Copy it to /etc/init.d/ (overwrite the existing one)

Refresh the folder;

Change permissions to 775

If you to change something, you can use Synapse. Idk if previous Synapse data can interfere, so clear synapse data before reboot.

Before reboot, no changes will be made.
[Nexus 4 Original Android Development] defconoi:
Nexus Player Gets Unleashed!

Here ya go guys, first Nexus Player Kernel with exfat, BFQ I/O Scheduler support and some tweaks:

Project name: Unleashed Kernel

ion-storm - defconfig: update
Paul Reioux - page_alloc: Make watermarks tunable separately
faux123 - scripts: remove localversion "+" from kernel version strings
Srivatsa S. Bhat - cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
Mel Gorman - mm: disable zone_reclaim_mode by default
Yuchung Cheng - tcp: enable sockets to use MSG_FASTOPEN by default
Ard Biesheuvel - ARM: crypto: add NEON accelerated XOR implementation
Kamalesh Babulal - sched/debug: Add load-tracking statistics to task
Mauro Andreolini - block, bfq: add Early Queue Merge (EQM) to BFQ-v7r6 for 3.10.8+
Paolo Valente - block: introduce the BFQ-v7r6 I/O sched for 3.10.8+
Arianna Avanzini - block: cgroups, kconfig, build bits for BFQ-v7r6-3.10.8+
franciscofranco - Added fsync on/off support.
Michael Wang - sched: Implement smarter wake-affine logic
Miao Xie - lib/memcopy: use glibc version
Miao Xie - lib/string: use glibc version
Fengguang Wu - readahead: make context readahead more conservative
Jan Kara - block: Reserve only one queue tag for sync IO if only 3 tags are available
Jan Kara - writeback: Fix occasional slow sync(1)
Junxiao Bi - writeback: fix race that cause writeback hung
Namjae Jeon - writeback: fix writeback cache thrashing
Dave Chinner - sync: don't block the flusher thread waiting on IO
flar2 - tweak fifo_batch
Greg Kroah-Hartman - lz4: add overrun checks to lz4_uncompress_unknownoutputsize()
Greg Kroah-Hartman - lz4: fix another possible overrun
Greg Kroah-Hartman - lz4: ensure length does not wrap
Sergey Senozhatsky - lz4: fix compression/decompression signedness mismatch
Richard Laager - lib/lz4: correct the LZ4 license
Chanho Min - lib: add lz4 compressor module
Kyungsik Lee - lib: add support for LZ4-compressed kernel
Kyungsik Lee - decompressor: add LZ4 decompressor module
Zeev Tarantov - staging: Add Snappy compression library (v3)
flar2 - Add exFAT support
flar2 - AIO: Don't plug the I/O queue in do_io_submit()
Mel Gorman - mm: slub: Default slub_max_order to 0
flar2 - Add /dev/frandom support

Instructions:

adb reboot bootloader

fastboot flash boot boot.img

Download:

https://www.androidfilehost.com/?fid=95857557620393779
[Nexus 4 Original Android Development] gorilla p:
Is one causing it to force close and not the other?

---------- Post added at 01:29 PM ---------- Previous post was at 01:28 PM ----------

Is one causing it to force close and not the other?
[Nexus 4 Original Android Development] nixie2121:
It happens on both, very weird as I was able to apply mine after a rom upgrade.

---------- Post added at 02:37 PM ---------- Previous post was at 02:36 PM ----------

Driving me crazy. I tried again, downloaded your script, put it in init.d, changed to 775, cleared synapse data and reboot. Just gets stuck at google boot screen. I need to restore nandroid! So weird.
[Nexus 4 Original Android Development] Vinnom:
I'm driven crazy now! hahahahah

Again? Man... it shouldn't be a cause of bootloop =/

I don't want to bother, but have you tried to open the file? If won't be too much, could I ask you to open the file, copy all, open the /etc/init.d/ one, select all, erase it and paste? This way, you don't need to change permissions... see if it works =P
[Nexus 4 Original Android Development] nixie2121:
I agree, it should NOT cause a boot loop. I will give your idea a shot. Not sure if I have time today but will let you know once I do it!
[Nexus 4 Original Android Development] JuanMnz93:
What is the best governor to get a good battery life?? I used to use wheatley governor but now it's no available in your kernel
[Nexus 4 Original Android Development] gorilla p:
Conservative is running smoothly and ive had good battery life with it.

Set the up load to 85
[Nexus 4 Original Android Development] cool.darshak:
Cm11 kernel will work on roms built on CM12 or should AOSP be flashed?
[Nexus 4 Original Android Development] Targaeryan:
Yes cm11 is also for cm12..
[Nexus 4 Original Android Development] gabidiesel:
Hello... How to check if 99defcon script working..... I've done all in that post.....but how to check?....thanks

I am on 92u unleashed+7
[Nexus 4 Original Android Development] gorilla p:
Alright, I've gotten permission from everyone I wanted for hosting their work on makostuff. I am still waiting to hear back from [MENTION=631273]Chainfire[/MENTION].

Only one said no, so I still need recommendations for a good GApps package besides PA.

I just need a little time. I have some days off coming up and I'm sure I'll get bored, so I should have the thread up soon.

Please give recommendations on what section I should create the thread in.

General, Help/Q&A, Theming and Apps?
[Nexus 4 Original Android Development] spacekratos:
Good work, very stable and fast kernel.

How to set D2TW delay parameter?
[Nexus 4 Original Android Development] Vinnom:
Are you using synapse? If yes, you can check on it. If no, you can use your file manager to check some settings.

But i think that isn't everything on my script that will work for you. For example, i'm using blu_active as governor for cpu1 and it became available just in 97u, if I'm not mistaken.
[Nexus 4 Original Android Development] gorilla p:
I have tried minimal and for some reason, when I opened GMail, I couldn't configure Exchange email. Other than that, It worked well.

Ive seen a lot of people use Banks GApps, so I'll check that out.
[Nexus 4 Original Android Development] shadeMe:
Quick question - Which version of the kernel goes with the LiquidSmooth Lollipop ROM? AOSP or CM?
[Nexus 4 Original Android Development] Targaeryan:
Cm it is..
[Nexus 4 Original Android Development] He][razor:
Banks has a good Gapps package!

He][razor
[Nexus 4 Original Android Development] Aaron_Knowles:
Could you not just find the .apk for Exchange Services somewhere? I know the 4.4.4 SimpleAOSP had the .apk in the OP with info on how to install it properly, since they didn't include it in the ROM by default. IIRC.
[Nexus 4 Original Android Development] mike_aldwin:
Hey guys, when playing music on the play music app sometimes the music stutters. Happens mostly when the screen is off. Any tips on how to fix this? Maybe I need to configure something because I use the default settings or is this a kernel bug? Using Stock rooted with unleashed kernel on my nexus 4. Thanks!
[Nexus 4 Original Android Development] Mr_S:
Raise min screen off should help. Idk the governors so cant suggest which one.
[Nexus 4 Original Android Development] Vinnom:
Mine stutter sometimes too, with same condition. On spotify, I had almost none, so I'm trying to find good settings that don't spend too much battery and give us sound with no stuttering.
[Nexus 4 Original Android Development] TA123:
You can increase max off screen frequency.
[Nexus 4 Original Android Development] Targaeryan:
As the user mentioned he's using stock settings which come with 702mhz at screen off which is quite high by itself.. And stock min is 384..so that's not the problem.

---------- Post added at 01:40 AM ---------- Previous post was at 01:37 AM ----------

I faced similar issue while playing over Bluetooth. I changed alucard max screen off cores to 2 while maintaining min of 81mhz and screen off max freq of 594. Cpu0 gov is bacon and cpu1 is hyper. Please test out and see if it occurs. I managed to reduce it to 1 occurrence for 2.5 hours of playback using Google play music.
[Nexus 4 Original Android Development] Vinnom:
That is just what I don't want to. At least, not just do it, but set in a way that don't increase my battery usage.

Yeah, I have to max 2 cores screen off. I think that my krait states (c0, c1, c2 and c3) was all checked on. I tried to check them off, but did not have the time to try it.
[Nexus 4 Original Android Development] Targaeryan:
I too have all the sleep states on. Even with 2 cores on screen off I'm getting flatline on deep sleep with WiFi and sync on. Battery drain has been kept to minimal. I easily get 4 hours sot with 24+ hours of usage.. As I mentioned I only had 1 stutter and the also only for a second in the 2.5 hours I had playing music on my Bluetooth headphones..
[Nexus 4 Original Android Development] mike_aldwin:
Will try this. I'll just update you guys if this fixes the problem. Thanks to all those who replied
[Nexus 4 Original Android Development] a g bell:
Could we see a new nexus 5 kernel this year????
[Nexus 4 Original Android Development] sykopompos:
Only after I get a nexus 6 kernel!!!
[Nexus 4 Original Android Development] coffeecore:
I.M.O this kernel beats the crap out of any other one.

sent with my Google Nexus 4.
[Nexus 4 Original Android Development] defconoi:
Sure let me upload
[Nexus 4 Original Android Development] defconoi:
Merry Christmas,

I'm also making Nexus Player Kernels here
[Nexus 4 Original Android Development] dannycardoz92:
Happy Holidays..!! Thank you for your work :)
[Nexus 4 Original Android Development] Rohit02:
which governor is uselfull for battery? with scheduler combined with it.
[Nexus 4 Original Android Development] gorilla p:
Just look back a few pages or search
[Nexus 4 Original Android Development] Targaeryan:
I found something interesting.. The moment you use HYPER as cpu0 gov, it causes music stuttering the moment you lock the screen (using gplay music).. [MENTION=4699730]Vinnom[/MENTION] [MENTION=4900720]mike_aldwin[/MENTION] change the gov or use someone else's profile.
[Nexus 4 Original Android Development] Targaeryan:
[MENTION=2145830]frikakwa[/MENTION] here ya go! New one

https://www.dropbox.com/s/r76iitke5slqtt2/mine2.tgz?dl=0
[Nexus 4 Original Android Development] frikakwa:
Oh yeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaah! Coming back from work and Santa Claus shared one new profile!

Thx a million my friend! Really appreciate! :)

Tell me more about this profile please. :)

:good:

Ps: import of the profile - done! 2 small questions: LZ4 not applied (I assume you still use it?!) and C0-C1-C3 ticked (not the C2!). Right? :D
[Nexus 4 Original Android Development] Targaeryan:
So I found hyper to be a bit annoying in regards to the music stuttering on screen off so I got rid of it.. Changed cpu0 to pegasusq and cpu1 bacon (flatline for 6 hours! *heavy breathing*).

Cpu2 is intellimm and 3 is alucard (testing out intellimm to see its performance). Changed alucard hotplug loads.. Changed min freq of cpu0 to 162 since only 594 (screen off max freq) was used more often compared to 81 on screen off.. Disabled PEwq (didn't find it useful probably more detrimental to perf)..

---------- Post added at 03:55 AM ---------- Previous post was at 03:48 AM ----------

Lz4 still using.. All cstates supposed to be on..

Also is advanced tab, arch power is on.. Don't know why it doesn't import properly.. Even when I restore arch power doesn't apply.. :silly:
[Nexus 4 Original Android Development] Vinnom:
I used hyper to cpu0 and cpu1 for a long time and music didn't stutter. I changed cpu1 to blu_active to test and I felt more snappier while screen on and I felt a little bit more battery friendly. I'l try change back cpu1 to hyper and see what happen.
[Nexus 4 Original Android Development] frikakwa:
@ Targaeryan: you man are incredible! This looks so obvious for you... I really like the way you try to find ideas for making things even better!

I just ran Antutu 5.5: I know this is not frankly relevant but this ensure me the way kernel is going "high" generally! Result: 25525!

Now I will keep your settings for a few days to see if battery use is better than before! Knowing my daily use is more or less the same: wake up at 5.00, checking my news before leaving + synchronysing my RSS feeds for reafing offline, all day in a foreign country with no data but wifi all day long with multiple times synchronising my feeds then going back home around 19.30!

Will keep you posted! :) Thanks again Mate!

Great... you were right: arch power was not applied! ;)