yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Lawstorant:
My N4 can easily handle 1.7GHz at -150mV altrough its SoC is binned "Slow".

So, yeah...

I don't get it.
[Nexus 4 Original Android Development] akaHardison:
Glad to know you still at here:)
[Nexus 4 Original Android Development] elliot2112:
I'm trying to search for guides to really explain to me what does what when tweaking kernels. I'm not finding really enough thats made me comfortable enough to start adjusting things. Basically I would like to get my mako to run as smooth as possible yet have a improved battery. Any suggestions? I see you can upload profiles. Maybe someone has what I'm looking for. In that case I would need to be directed to where I can learn how to install profiles. Any help would be great. Thanks.
[Nexus 4 Original Android Development] Targaeryan:
Download a profile.. Use a file explorer, place the profile in synapse/saved profiles .. Then you can go to synapse, profiles tab, choose the profile.. Click on the "tick" then press restore profile.. Synapse will force close so just click OK and restart it.. Then click "X" on top in synapse to restore the settings.
[Nexus 4 Original Android Development] elliot2112:
Simple enough. Thank you. So i need to search through this thread to find profiles? Or is there a link to a collection of them?
[Nexus 4 Original Android Development] Targaeryan:
This is mine:

https://www.dropbox.com/s/r76iitke5slqtt2/mine2.tgz?dl=0

After profile is applied, just go to adv tab and enable c2 state and arch power since sometimes it doesn't apply.. Also enable zram lz4 first, the choose 2 streams, apply that then 1024mb apply in this order as this also doesn't apply through the profile for some reason.

If you don't find this profile to your taste, vinnom has his profiles in his signature and gorillap has his profiles also in his signature.. There's also his thread in the general section for n4 called mako stuff.
[Nexus 4 Original Android Development] defconoi:
Nexus 5 Kernel Update

Project name: Unleashed Kernel

defcon - defconfig: turn off unused logging
defcon - update export to new location
Sagar Dharia - slimbus: Use physical address type where physical address is used
Shiju Mathew - msm: thermal: Optimize locking in thermal frequency mitigation thread
Vinayak Menon - mm: vmscan: lock page on swap error in pageout
myfluxi - arm/dts: msm8974: Disable second crypto device
Zhen Kong - ARM: dts: msm: Add support for second qcrypto device for 8974
Junjie Wu - cpufreq: Return directly in __cpufreq_get if policy is NULL
Junjie Wu - cpufreq: bacon: Record hispeed_validated_time in timer function
AnilKumar Chimata - Crypto: Update reaper timeout to 10ms
Pavan Chikkala - ASoC: wcd9320: use hwdep nodes to get calibration
Anish Kumar - ASoC: wcd9xxx: use hwdep node for codec calibration
Mark Brown - regulator: core: Release regulator-regulator supplies on error
Grant Likely - of: Fix missing memory initialization on FDT unflattening
Wladislav Wiebe - of: fdt: fix memory initialization for expanded DT
Mathias Krause - ipc, msg: fix message length check for negative values
Konstantin Khlebnikov - ipc/msg: fix race around refcount
Robin Holt - ipc: sysv shared memory limited to 8TiB
Rusty Russell - module_param: stop double-calling parameters.
Linus Torvalds - Fix blocking allocations called very early during bootup
Nicolas Dichtel - af_key: initialize satype in key_notify_policy_flush()
Dan Carpenter - af_key: more info leaks in pfkey messages
Mathias Krause - af_key: fix info leaks in notify messages
PaX Team - x86, x32: Correct invalid use of user timespec in the kernel
Jesper Juhl - net: Fix references to out-of-scope variables in put_cmsg_compat()
Matthew Leach - net: socket: error on a negative msg_namelen
Dan Carpenter - net: clamp ->msg_namelen instead of returning an error
Hannes Frederic Sowa - net: add BUG_ON if kernel advertises msg_namelen > sizeof(struct sockaddr_storage)
Dan Carpenter - net: heap overflow in __audit_sockaddr()
Andy Lutomirski - net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg
Mathias Krause - net: fix info leak in compat dev_ifconf()
Mikulas Patocka - Fix order of arguments to compat_put_time[spec|val]
Pranav Vashi - hammerhead: fast_charge: Fix compatibility with kernel apps
Pranav Vashi - block: Switch from BFQ-v7r6 for 3.4.0 to BFQ-v7r7 for 3.4.0
Pranav Vashi - out: Add Qualcomm Audio Effects blobs
Prasad Sodagudi - soc: qcom: rq_stats: Pass correct cpu id to update_average_load function

Nexus 5 Download

Here ya go guys, Nexus 4 will soon follow, just got my motherboard installed and im good to go ;)
[Nexus 4 Original Android Development] Yadro:
Been checking daily for updates as well.

Welcome back unleashed :)
[Nexus 4 Original Android Development] or965:
Hi [MENTION=1316336]defconoi[/MENTION] why you don't open thread for your nexus 5 Kernel ? I found your Kernel on Frank N5 thread after I search to find the best Kernel for my nexus 5 device.your Kernel is amazing,it have lot hotplug and governors, fantastic sound experience and my nexus 5 is very fast and I still have good battery life.

I have one problem- when I try to instal your kernel with f2fs data and cache the cache change to ext4,It boot and say that the encryption is unsuccessful.

One more thing ,I need to flash LRX21O-permissive-boot.zip before the Kernel ?

Sorry for my english
[Nexus 4 Original Android Development] gorilla p:
Added new Unleashed Synapse profiles on bit.ly/makostuff

Battery, Bat-bal, Balanced, performance, PerfMax

"I like my Nexus 4 and my Unicorns Dirty."
[Nexus 4 Original Android Development] Vinnom:
Well, I don't get it too. A lot of people already have stability issues undervolting too much. I never tried below -70V, but never had stability issue too.

NEXUS 4 user since 10/2013

Current ROM: Frank

Kernel: Unleashed

Profiles for synapse: Here (Google Drive folder)
[Nexus 4 Original Android Development] coffeecore:
Hey guys,

I have flashed defcon-92u-a8-unleashed-AOSP a couple of times on Purity 4.4.4 but I get bootloop with this one.

Anyone can provide me the version that works with this Purity build?

:cowboy:
[Nexus 4 Original Android Development] elliot2112:
OK I don't know if I'm missing something but I put a profile in saved profiles folder of synapse but when I go to select in profile tab it just shows none. Any ideas?

Edit: I rebooted and the profile shows now but when I restore it forecloses so I hit OK but every time I go back in it keeps foreclosing. I tried clearing data also but it still forecloses after I set it up again. Is there a fix?
[Nexus 4 Original Android Development] Vinnom:
Some other guys told us the same, but we have no solution to that yet. Bu I know something that may help.

Open a terminal emulator and type:

su (hit enter)

start logd

(No need to close the window, let it on background)

Then you go to synapse (after clearing its data, so you can open it) and try to set the profile again. It will force close, try to open again. If it keeps crashing unless you have to clear its data (like you already told us that happens) go to terminal again (window already open) and type/paste:

logcat -d -f /sdcard/logcat_error.txt *:E

A logcat willbe generated in your sdcard. Upload it here and mention defconoi, so he can take a look in what is happening.

NEXUS 4 user since 10/2013

Current ROM: Frank

Kernel: Unleashed

Profiles for synapse: Here (Google Drive folder)
[Nexus 4 Original Android Development] elliot2112:
OK will do as soon as I get some time. Thanks for helping me out.
[Nexus 4 Original Android Development] Vinnom:
Purity is aosp based, huh? If yes, you are on the right branch, but I think that 92u-a8 didn't support to kk anymore. Try 92u-a4 or a5 ^^

NEXUS 4 user since 10/2013

Current ROM: Frank

Kernel: Unleashed

Profiles for synapse: Here (Google Drive folder)
[Nexus 4 Original Android Development] Targaeryan:
Whose profile did you have an issue with? Users had this problem with gorillap's profile quite often.. What ROM are you using btw?
[Nexus 4 Original Android Development] elliot2112:
Gorillap's bat bal profile. Running Terminus.
[Nexus 4 Original Android Development] Targaeryan:
Yeah.... Like I said, a lot of users had issues restoring his profile, usually a hit or miss, works sometimes after reboot... I haven't seen any reported about vinnom and my profiles..
[Nexus 4 Original Android Development] elliot2112:
I was looking for a profile with a great battery and super smooth running. I don't need over the top performance since I don't play games or do anything really extreme. Do you have something like that I could try? The profile I got from gorrilap was for that kind of set up. Unfortunately its not working obviously.
[Nexus 4 Original Android Development] Targaeryan:
I posted my profile a few posts back for you.. Its solid for me and a few other users.. In terms of battery and perf..
[Nexus 4 Original Android Development] elliot2112:
I get an error when I click the link.
[Nexus 4 Original Android Development] Targaeryan:
Seems fine here
[Nexus 4 Original Android Development] elliot2112:
Weird. It works now. I tried on my laptop as well before and i kept getting error. I got it now. All that matters. Thanks.

---------- Post added at 11:51 PM ---------- Previous post was at 11:09 PM ----------

Yup same deal. Don't work. Must be something on my end I guess.
[Nexus 4 Original Android Development] gorilla p:
Yeah I still can't figure it out and can't get any help.

I've done multiple clean installs, multiple different Roms, AOSP and CM, different settings, but the profiles for this kernel keep having problems. (I have no trouble restoring them)

It started once the custom UKM was included and it hasn't been right since.

I can't get any help troubleshooting it either.

Profiles for other kernels with UKM 3.6.1 work perfectly fine.

I also have trouble if I install Unleashed, then Hells Doctor without a factory reset. The min freq sticks at max freq or sync freq.

Ive made multiple posts asking for an Unleashed Uninstaller zip (like AK and HD have) but haven't received a reply.

"I like my Nexus 4 and my Unicorns Dirty."
[Nexus 4 Original Android Development] Targaeryan:
defconoi just got his motherboard so he will release a new version soon.. He can probably look into it now since he got his PC working now..
[Nexus 4 Original Android Development] coffeecore:
92u-a4 AOSP also gave bootloop on Purity.
[Nexus 4 Original Android Development] Vinnom:
Try the ones before it and if don't work, try 91u alphas... sorry, it was a long time ago since defconoi stopped support to kk on unleashed, I don't remember for sure what was the kernel.

But, just for curiosity, why stay on kk? Lollipop is quite stable, frank is a great L ROM and there other out there. Why not try Lollipop? ^^
[Nexus 4 Original Android Development] Italico:
GPU uV

Hey defconoi, great work on your kernel, waiting for next release :) and, as promised, donated for a couple of drinks ;)

May I ask about GPU uV? I would love to see it back, and the same will probably be for some users, but you may have some good reasons to remove it; Can you please - without any hurry - tell us something?

Have a nice evening! :D

PS: last KitKat compatible version is 92; I had bootloops in the past, but solved them by strictly following the installation instructions on the first page
[Nexus 4 Original Android Development] TA123:
Works for me after reboot.
[Nexus 4 Original Android Development] gorilla p:
I'd try CM. A lot of 4.4 AOSP Roms had CM commits that required CM kernels and/or dalvik

"I like my Nexus 4 and my Unicorns Dirty."
[Nexus 4 Original Android Development] defconoi:
Kernel Update

Nexus 4 99u:

Liam Mark - mm, oom: make dump_tasks public
Jordan Crouse - fs/seq_file: Use vmalloc by default for allocations > PAGE_SIZE
Heiko Carstens - fs/seq_file: fallback to vmalloc allocation
defcon - nick kvfree() from apparmor
Iliyan Malchev - kgsl: do not vmap/memset to zero-out pages
Chester Kener - uksm: Disable by default
defcon - intellimm: fully sync w/dorimanx
defcon - cpufreq: intelliminmax: Tune it further
ion-storm - alucard, darkness, nightmare governors: check if policy->cpu is assigned on the right cpu. Code style.
Lior Barenboim - msm: ultrasound: ignore kmemleak false detection
Srinivasarao P - arm: arch_timer: provide user space access to virtual counter
Mark Rutland - arm: arch_timer: add arch_counter_set_user_access
Jussi Kivilinna - ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures
Vinayak Menon - mm: vmscan: lock page on swap error in pageout
Junjie Wu - cpufreq: Return directly in __cpufreq_get if policy is NULL
Dorimanx - Update BFQ I/O Sched from BFQ-v7r6 for 3.4.0 to BFQ-v7r7 for 3.4.0

AOSP/L

CM
[Nexus 4 Original Android Development] defconoi:
I'm going to try and keep updates weekly at most, stumbled on some hard times out of work ATM and oil heat kicked my ass this month, hopefully within two weeks I'll have a full time tech job to pay the bills, thanks all for the donations, they help allot. On a side note my H60 water cooler isn't keeping temps down on my A10-7850k gotta do some reseating, or get another cooler, CPU is at like 80+c with a water cooler..
[Nexus 4 Original Android Development] sykopompos:
Get me a job too!!!
[Nexus 4 Original Android Development] gorilla p:
Update on bit.ly/makostuff

Added latest 33/105 LTE enabler

Added Unleashed 99u

Added Synapse profiles for Unleashed 99u

Battery

Bat-Bal

Balanced

Bal-Perf

Perf

PerfMax

I didn't notice any major changes, but I'm hoping the profile force close issue is gone.

Please test and let me know.

"I like my Nexus 4 and my Unicorns Dirty."
[Nexus 4 Original Android Development] zakk87:
"Unable to restore profile. Invalid file" after click on restore, but when I accept profile then Restore: FC and synapse don't work until I clean data.

99u, profile battery99u
[Nexus 4 Original Android Development] uncola:
defconoi I think I have the h50 cooler.. I remember you have to let the fans in the mobo bios be set to full speed to keep the pump running normally.. thanks for the awesome kernel, best ever imo
[Nexus 4 Original Android Development] defconoi:
i have a weird feeling that my GA-F2A88XM-D3H board with A10-7850k is getting weird temp readings, every temp monitor app, hwinfo, speccy, cpuz give me temps double of what the gigabyte easytune utility tells me. I'm getting under 35c at full load with easytune yet all other temp utilities im getting over 80c, i've read that allot of monitoring apps dont support the Kaveri processor/my motherboard yet, I got both fan and pump @ full speed, everything seems stable, just hate wacked out readings
[Nexus 4 Original Android Development] Vinnom:
How old are your pc? Maybe the thermal paste need to be re-apllied.

Edit. Oh, another thing. Turn on your pc when it is open. Put you hand close to cpu fan. If it is at 80c you will feel that is bad to leave your hand there. If it is at 35c, you will feel a cool air, because your hand is a bit more hot than it.

NEXUS 4 user since 10/2013

Current ROM: Frank

Kernel: Unleashed

Profiles for synapse: Here (Google Drive folder)
[Nexus 4 Original Android Development] paix_keeper:
+1 I'm experiencing the same problem with Temasek CM 12 + unleashed 99u CM.
[Nexus 4 Original Android Development] zellleonhart:
Hmm, 99u gave me quite a number of unresponsive unlocks. Meaning when I want to unlock my phone, it just do nothing regardless unlock via volume button (the ROM i use has it) or power button, not even Dt2w that I already set. Have to force reboot.

Not sure is it kernel problem but I don't recall in 98u. Thanks
[Nexus 4 Original Android Development] Targaeryan:
I haven't come across this problem.. Maybe it's rom related.. The only problem I faced was a complete lockup of the device but it was just one time so I couldn't grab a log and anyway it didn't happen again.. Maybe you can provide logs to zero in on the problem if it can be replicated..
[Nexus 4 Original Android Development] gorilla p:
I've had 3 reboots. 2 happened randomly while phone was sleeping, one happened while trying to wake device.

"I like my Nexus 4 and my Unicorns Dirty."
[Nexus 4 Original Android Development] Vinnom:
Using hyper? If yes, we can start to think that hyper governor is unstable atm. I tried set hyper here, even in cpu1, cpu2 and cpu3 and I had a random reboot and too much lag, had to try other options.

NEXUS 4 user since 10/2013

Current ROM: Frank

Kernel: Unleashed

Profiles for synapse: Here (Google Drive folder)
[Nexus 4 Original Android Development] defconoi:
Hold off and revert to 98u I need to further test to see if I can reproduce so I can fix it

or if you all would like to be daring grab a logcat /last_kmsg and that would be a big help thanks ;)
[Nexus 4 Original Android Development] defconoi:
Grab the latest 99u here, i reverted some unstable changes, let me know how this is ;)
[Nexus 4 Original Android Development] R-Rizzo:
I don't suppose there is a Shamu on your horizon, even long term If I remember right, you had indifferent feelings towards it. I've had mine for exactly 7 hours, and I really really miss your kernel. My old standby custom kernel is crap.... Just curious, as always love your work.
[Nexus 4 Original Android Development] defconoi:
thanks :) I'd actually love to dev for the device, I just cant afford one, probably wont for a couple of months at least, unless I get a crapload of donations again, but im not expecting that.

Here is 100u, its beta for Nexus 4:

Project name: Unleashed N4
Kaushal Kumar - sched: Remove get_online_cpus() usage
Pranav Vashi - kernel: Get rid of power efficiency patches
Riley Andrews - staging: android: binder.c: binder_ioctl() cleanup
Dmitry Voytik - staging: binder: fix coding style issues
William Panlener - staging: android: Break up a long line in binder_send_failed_reply
Arve Hjønnevåg - staging: binder: Support concurrent 32 bit and 64 bit processes.
Riley Andrews - Revert "staging: binder: Change binder mutex to rtmutex."
Srinivasarao P - arm: arch_timer: provide user space access to virtual counter
Mark Rutland - arm: arch_timer: add arch_counter_set_user_access
Vinayak Menon - mm: prevent MIGRATE_ISOLATE pages entering other free lists
Subbaraman Narayanamurthy - debug-pagealloc: Panic on pagealloc corruption
Joe Perches - softirq: use ffs() in __do_softirq()
defcon - irq: Optimize softirq stack selection in irq exit
Frederic Weisbecker - irq: Justify the various softirq stack choices
Frederic Weisbecker - irq: Improve a bit softirq debugging
Frederic Weisbecker - irq: Optimize call to softirq on hardirq exit
Frederic Weisbecker - irq: Consolidate do_softirq() arch overriden implementations
Frederic Weisbecker - irq: Force hardirq exit's softirq processing on its own stack
Ben Greear - Fix lockup related to stop_machine being stuck in __do_softirq.
Frederic Weisbecker - irq: Don't re-enable interrupts at the end of irq_exit
Frederic Weisbecker - irq: Remove IRQ_EXIT_OFFSET workaround
Thomas Gleixner - irq: Sanitize invoke_softirq
Thomas Gleixner - irq: Ensure irq_exit() code runs with interrupts disabled
Thomas Gleixner - genirq: Allow forcing cpu affinity of interrupts
defcon - update version to 99u
Chester Kener - uksm: Disable by default
defcon - intellimm: fully sync w/dorimanx
defcon - cpufreq: intelliminmax: Tune it further
ion-storm - alucard, darkness, nightmare governors: check if policy->cpu is assigned on the right cpu. Code style.
Dorimanx - Update BFQ I/O Sched from BFQ-v7r6 for 3.4.0 to BFQ-v7r7 for 3.4.0

Check my Kernel folder here
[Nexus 4 Original Android Development] Xintorrim:
OK I restored a profile on Synapse and it force closed. When I tried to open it again to click the x, the app doesnt open at all, it keeps closing. Help.
[Nexus 4 Original Android Development] akaHardison:
Why not createa thread in nexus 5 area?I have nexus 4 and nexus 5 at the same time.:)
[Nexus 4 Original Android Development] Vinnom:
Man, thank you for the updates :)

I have one question. Hyper has been a bit unstable, at least for 2 or 3 releases. Its instability can be seen while playing music (stuttering), it don't appear to be smooth like it was was earlier when switching between screens and (now I'm just speculatin, because I couldn't create a pattern to repro it) causing random bootloops and reboots. Can you take a look at that? Hyper used to be a great governor, but now, blu_active is giving me the same sensation I had before with hyper and hyper can't show it anymore, neither in user experience or benchmark. :(

NEXUS 4 user since 10/2013

Current ROM: Frank

Kernel: Unleashed

Profiles for synapse: Here (Google Drive folder)
[Nexus 4 Original Android Development] defconoi:
I have not changed Hyper in a long time or anything related, I haven't noticed any changes and have used my nexus 4 the whole week and no stuttering whatsoever, perhaps its because I'm using stock lollipop? What ROM? Also u could change the hyper settings for more responsiveness by setting the up thresholds below 70 even down to the stock 40 for increased performance. Also try alucard which I use occasionally

Edit: set a higher minfreq on cpu0 and set off screen CPUs to 2 if u play audio while screen off.
[Nexus 4 Original Android Development] Targaeryan:
I did some tests with hyper a few weeks ago.. It always caused stuttering when it was used as gov for cpu0/cpu1 or for both even with 2 cores on screen off.. It was also kinda slow.. So I never used it again... Now I'm using nightmare, bacon, intellimm and alucard combo with alucard hotplug and it works really well. Lol thanks for the individual core setting options that you brought! :)
[Nexus 4 Original Android Development] Vinnom:
As Targaeryan, I tried hyper for a few weeks, even tweaking its settings. I've set min core screen off to 2, but stutter in sound always happened (sometimes less, sometimes more, depending of the settings I set up) if hyper on first core.

Also, some weeks ago I reported random reboots, but I noticed that it happened with hyper on firts and second core. Now, I'm not using anymore, just the others.

The rom I'm using is frank, since always ^^

Edit: in fact, I think blu_active is one of the bests governors you included, thank you. Along with alucard (give great control) is possible to create a great moderate profile :)

NEXUS 4 user since 10/2013

Current ROM: Frank

Kernel: Unleashed

Profiles for synapse: Here (Google Drive folder)
[Nexus 4 Original Android Development] deedeeceleb:
Thank you very much for your work!

Any chance you could implement blu_plug?
[Nexus 4 Original Android Development] defconoi:
I'll take a look, is it worth replacing one of our 4 hotplugs with it though?
[Nexus 4 Original Android Development] deedeeceleb:
In my opinion it is, but it's up to you and the other users. It seems like ppl with code blue (blu_active and blu_plug) are getting really nice sot. Thank you very much for thinking about it!
[Nexus 4 Original Android Development] frikakwa:
The one I use on my N5 which gives me easily 4.5h of SOT: the perfect combination for my use (a lot of RSS reading, some pictures and reading XDA!).

But I don't know if this will work the same on our N4 (optimizations for S800 is for sure not the same than for our good old S4!). I'm eager to test it! ;)
[Nexus 4 Original Android Development] eduardozeassesme:
Hi [MENTION=1316336]defconoi[/MENTION], sorry but is possible add this mod to your kernel? http://xdaforums.com/showthread.php?p=57240951

Please man one option to enable/disable [emoji122]

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] domy88:
Hy guys

what is the set of settings to improve the battery with this kernel?

Ps not for Synapse but for Trickster or kernel Tweaker
[Nexus 4 Original Android Development] Targaeryan:
Lol I don't think any1 uses those for this.. You can't control most of the settings through those apps as most settings are detailed and available through synapse.. Why not use synapse?