yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Targaeryan:
That sounds great... Maybe I'll start experimenting with the hotplug and the govs as well.... Hmmm.. Sounds fun!

I don't think the 487mhz step provides perf improvements. Even then I still up it as well. I forgot to change that in the updated profile. [emoji14]
[Nexus 4 Original Android Development] dantezinn:
Downloaded this version: defcon-98u-unleashed-AOSP_mako.zip

Flashed over the custom stock kernel (Purity Plus ROM) and im stuck on boot.

What im doing wrong?

Installed custom rom

Installed gapps

Whiped davik/cache

installed kernel

...stuck on boot.

EDIT downloaded the 97u and still the same...
[Nexus 4 Original Android Development] Rohit02:
Which ROM?

FACTORY RESET once

Wipe Cache,dalvik,system

install rom + gapps

then unleash + ukm

supersu

reboot

you will never face bootloop
[Nexus 4 Original Android Development] dantezinn:
Im sorry, ukm?

I went to op first post and didnt see anything like this "ukm"
[Nexus 4 Original Android Development] Rohit02:
Universal kernel manager..

best combined with synapse(app to control kernel)
[Nexus 4 Original Android Development] dantezinn:
Oh, i see now, but ain't this UKM is automatically installed with unleashed?

Still stuck on boot.

I'm using this rom
[Nexus 4 Original Android Development] gorilla p:
This kernel is only compatible with some KK Roms anymore.

If you wanna stick with KK, go with Dirty Unicorns 8.2..

There's plenty of L/5 releases available now.
[Nexus 4 Original Android Development] iRefleX202:
I flashed ukm afterwards. So I just need to reflash the kernel without ukm?
[Nexus 4 Original Android Development] dantezinn:
I didn't know that!

There is any list with those compatible roms?

Tried with Paranoid Android and got stuck too.
[Nexus 4 Original Android Development] gorilla p:
Idk, I'd just update to L. KK is dead.

You'd have to go back a number of versions for guaranteed KK compatability.

I'd try the latest Hells Doctor KK release to make sure its a kernel compatibility issue.

You can get latest HD KK kernel on bit.ly/makostuff.

If that works, you can stick with that or we can try to figure out the last fully KK compatible version.
[Nexus 4 Original Android Development] kelvin99:
Just backread few pages from here.... Defconoi..already stated he stop supporting kitkat rom....his kernel is exclusively for lollipop only i think last compatible kernel for kitkat is u94 or u95...

Edit: also you don't need to flash ukm and install synapse.. After you flash the kernel... Ukm and synapse is included...and installed
[Nexus 4 Original Android Development] nasgadth:
this kernel does support 5.0.1 right?
[Nexus 4 Original Android Development] Targaeryan:
Yes
[Nexus 4 Original Android Development] Mata99:
1) What mix of governor recommended for maximum performance (do not mind the battery consumption)?

2) how can I increase the speed of the ram?

3) how can I increase the speed of 'storage I / O?
[Nexus 4 Original Android Development] ierrors:
I'm using it on LiquidSmooth Lollipop 5.0.1

Dec. 09 nightly w/ out any issues till now.
[Nexus 4 Original Android Development] Vinnom:
Maximum performance without care about battery comsuption, use performance governor set to max freq that you want.

I don't know if it is possible to increase ram speed.

Storage i/o you can change schedulers. From my experience, for better user experience, row and deadline are the best.
[Nexus 4 Original Android Development] d9ny:
Purity still Kitkat, latest unleashed which works for Kitkat only 92u....Latest only works for L
[Nexus 4 Original Android Development] gorilla p:
Latest kernel still works with some KK Roms.

92u was the latest that was widely KK compatible.
[Nexus 4 Original Android Development] gorilla p:
[emoji92] Update on bit.ly/Makostuff[emoji92]

Unleashed 98u Synapse Profiles

Battery[emoji367]

Bat-Bal[emoji367] [emoji352]

Balanced[emoji352]

Bal-Perf[emoji352] [emoji298]

Performance[emoji298]

Added latest SuperSU beta

v2.39 flashable zip[emoji356]

Added new 5.0.1 hybrid modems

27/105 and 33/105[emoji341]

Added PA Gapps 5.0.1 Micro

Time to get your flash on.
[Nexus 4 Original Android Development] robygt:
HAHAHAHA!

Sent from NCC-1701.
[Nexus 4 Original Android Development] armanatz:
So recently, after flashing Unleashed 98u and SuperSU 2.37 on my Nexus 4 running stock lollipop 5.0, I have been getting random wake ups with the screen switching on. I have no idea what seems to be causing it. Any help?

Here is my logcat from the moment I switch off the screen to the moment the screen comes on randomly and I unlock my phone.

http://pastebin.com/ghWaFmTz

Line 379 is where the screen comes on I assume, so maybe that might help
[Nexus 4 Original Android Development] gorilla p:
Perhaps install wakelock detector?

Also see the optimal battery life document on makostuff.
[Nexus 4 Original Android Development] armanatz:
I checked out Wakelock Detector and nothing comes out as out of the ordinary. Anything specific I should be looking for?
[Nexus 4 Original Android Development] gorilla p:
In apps, disable notifications on all apps, unless you specifically want notifications from it.

Greenify all apps, unless they are system critical.

Again, please see the optimal battery life document.
[Nexus 4 Original Android Development] xflori:
Hello my first cpu stays always at the highest value with the bluactiv is it normal?

Its always 1620
[Nexus 4 Original Android Development] gorilla p:
Make sure msm limiter is enabled.
[Nexus 4 Original Android Development] Ciao600:
I flashed Unleashed kernel. Then restored both battery and battery-belanced profiles but after I tried to open Synapse it give me error. What should I do?

Could you share Unleashed 98u Synapse battery profile screens so I can set kernel manually?

Thanks in advance.
[Nexus 4 Original Android Development] gorilla p:
If there's an issue, I would recommend starting the process of fixing it now, rather than finding workarounds.

Please provide information and screenshots regarding your error so we can work towards fixing it.
[Nexus 4 Original Android Development] aymnahmd:
Me too,

I could never use any of your profiles bro.

With unleashed kernel and HD too.

Once applied synapse FC, then i can't start it again as it constantly FC.

The only solution is by wiping the synapse data.

I can use synapse profiles from other users for unleashed kernel, but not your profiles.

I really want to try yours .

Thanks for your efforts.
[Nexus 4 Original Android Development] Ciao600:
These are screenshots of every step I do to restore a profile.

Ps: wiped cache and Dalvik and flashed Unleashed 98u after flashing stock 5.0 Lollipop kernel.
[Nexus 4 Original Android Development] evga_I:
CPO0 Max Freq 1512

CPO1 Max Freq 1026

CPO2 Max Freq 918

CPO3 Max Freq 810

Min for all cores is 81mhz

boost duration 60ms

input boost 1000ms

input boost freqs are: 1026 1026 810 810

govenor; smartmax for all cores

Hotplugdriver is intelli hotplug

global cpu voltage -100mV

dt2p (but I wasnt on the road much so drain during having the phone in the pocket is unlikely)

and GPU capped at 200mhz

And I'm suffering incredible battery drain. (see screenshot attached). I did disable GPS as I dont need it at home, and only did some whats app messaging and using facebook. Most of the time I'm on WLAN. Running Rastapop 5.0.1 and everything else in synapse remained unchanged. Any idea whats that? I mean look how it wasnt even possible to remain battery during the night time :confused:
[Nexus 4 Original Android Development] gorilla p:
Yeah, you are doing it correctly.

Have you tried uninstalling synapse, reboot to recovery, flash ukm uninstaller, wipe cache and dalvik cache, flash latest unleashed and reboot.

ukm (and synapse i think)should then be reinstalled by unleashed install script, which is what I'm using. If synapse isn't there, go ahead and install it from play store and see if that works.
[Nexus 4 Original Android Development] trotil42:
Sadly, synapse always fc... Cant apply profile.
[Nexus 4 Original Android Development] deani77:
Select profile press [emoji736] then restore... fc... Open back Syanapse then select [emoji735]... Profile restored...
[Nexus 4 Original Android Development] Blue305:
Hes tellin that synapse wont open after restoring a profile.happens to me the same, when i try to open synapse after i restore one of gorilla's profile..dunno why, only with his profiles happens this..
[Nexus 4 Original Android Development] trotil42:
I do so. Synapse won't open back. Deleting cache and data does not help.

Edit: i tryed to apply taegerien profile and everithing is ok.
[Nexus 4 Original Android Development] sergio_f:
Hi! Sometimes i don't have sound on calls until restart, idk what is going on even after a fresh install of cm11 and defconoi v98, i don't know if it's related to the kernel or Rom
[Nexus 4 Original Android Development] ivanich:
https://jira.cyanogenmod.org/browse/CYAN-5728
[Nexus 4 Original Android Development] [zozi]:
The FC happens here too
[Nexus 4 Original Android Development] Vinnom:
Guys

Read what gorilla posted first. Try to do these steps, at least we can be sure where the problem come from.

Steps.

- uninstall synapse;

- remove synapse folder from sdcard;

- download ukm uninstaller

- reboot to recovery;

- flash ukm uninstaller;

- then re-flash 98u
[Nexus 4 Original Android Development] Ciao600:
Done it but I still can't restore any of gorilla's profile. It tried with Tergayen' s (sorry but I don't remember the correct nick) one and it worked fine.

So I think the problem can be related to gorilla profiles.
[Nexus 4 Original Android Development] trotil42:
Same here... Tryed that too.
[Nexus 4 Original Android Development] Vinnom:
Maybe can be a problem with synapse, then. [MENTION=1316336]defconoi[/MENTION] made some changes to it that have a possibility to cause this issue.

Idk how the profile can cause this, it is just "instructions" that synapse have to read.

But, in other way, that are users that can apply the profiles...

I'll try here and report too. Although I don't use synapse, (I do the changes in init.d script) with 98u I'm trying it.
[Nexus 4 Original Android Development] gorilla p:
Yeah I'm having trouble figuring this out. There's no changes that are out of the normal. I also have no trouble importing the profiles.

I wanted to be sure we were all using the same UKM/Synapse versions.

Maybe we can move this conversation to the UKM thread to determine if its UKM related or Synapse related. The other weirs thing is that it doesn't seem to effect everybody, and the people that are effected still aren't providing much info.

ROM?

Android Version?

Kernel?

Rooted?/What root app?

Busybox? (I use Busybox on Rails)

That basic info would help.

Also if Synapse is force closing upon reopen, will it create a log?
[Nexus 4 Original Android Development] Ciao600:
N5X 7.1

5.0.1

Obviously Unleashed 98u

Rooted with supersu v. 2.37

Latest busybox free

Where can I find a log by Synapse?
[Nexus 4 Original Android Development] Vinnom:
I think that move that to UKM isn't the rigth thing to do, because our UKM is modded. Apb_axel will provide support for those who are using UKM provided by him, so I think we will have to ask defconoi about this.

Well, I tried to import your profile and the error is the same as the other guys told us about.

ROM: frank

Kernel: 98u - for l/aosp

Root app: supersu (2.39)

Ukm: the one that comes with unsleashed.

Synapse: 0.39

Busybox: the one that comes with unsleashed. Frank has it native busybox, too.

I think the problem is with synapse. I have autoupdate on, so it is possible that synapse got updated. If this happened, then is normal that synapse doesn't work... Did your synapses get an update?
[Nexus 4 Original Android Development] oliver7:
is it normal to have nav keys (except recents) on the caller screen (when receiving a call)? n4, 5.0.1/lrx22c/aosp nx7.1, 98u
[Nexus 4 Original Android Development] sergio_f:
ty, i know now whats the problem, but my doubt was because im using cm11 since the first day i have my N4 (1 yr ago) and only now the problem appeared
[Nexus 4 Original Android Development] a g bell:
[MENTION=1316336]defconoi[/MENTION] are you still building for nexus 5 not seen anything in awhile ?
[Nexus 4 Original Android Development] Targaeryan:
He's probably chilling and playing with his nexus player ;) [emoji14]
[Nexus 4 Original Android Development] gorilla p:
Well we all are on Android L AOSP, Unleashed 98u with includes UKM, rooted, busybox installed, Synapse 0.39.

So there shouldn't be any compatability issues.

Perhaps compare the size of the profile files downloaded, with the size on google drive, to make sure nothing happened with the download?

I'll check on my end as well.

Update.

I looked and nearly all of the profiles were about 95k.

On the last release, a couple were 103-105k. Idk if this makes any difference, but it might be worth seeing if the 95k sizes work vs the 103k sizes.
[Nexus 4 Original Android Development] Targaeryan:
I have two profile saved, which I shared here as well.. Both are exactly 95kb.. Maybe there is something going on with the sizes..
[Nexus 4 Original Android Development] eduardozeassesme:
[MENTION=1316336]defconoi[/MENTION], hi sir, your kernel is compatible with multirom?, because a have problem with secondary rom, this not boot. Thanks for you help
[Nexus 4 Original Android Development] gorilla p:
The performance, balanced and bal-perf profiles are all around 104k.

The Battery and bat-bal profiles are 95k
[Nexus 4 Original Android Development] ryanperez:
Does turning off cores helps conserve battery? I'd just want to watch movies without consuming too much battery
[Nexus 4 Original Android Development] Targaeryan:
Hmm.. And ppl are having trouble with the bat and bat-bal... I don't think it's to do with kernel version since I have restored my old profile onto newer kernel versions with no problems.. And if I'm not mistaken you remade your profile also.. Once I'm back home I'll try out your profiles and see if I can figure out the cause :)

Edit: it's not the size.. I made some changes to my profile, and the size increased to 107kb.. Looks like it's something else..

---------- Post added at 03:56 PM ---------- Previous post was at 03:53 PM ----------

It does but if the cpu stabilises and there's no random hotplugging going on while playing movie, it'll limit work to fewer cores so same result.. But if you want to force the number of active cores, then you can limit it yourself..
[Nexus 4 Original Android Development] gorilla p:
I was pleasantly surprised with the smoothness of Conservative governor on 98u.
[Nexus 4 Original Android Development] Fabry1998:
Hi, I'm facing a very strange problem. I can't edit kernel parameters with any app. Trickstermod and kernel tweaker doesn't recognize my device as rooted, and synapse says "No UCI support detected". Any help? Thanks :)
[Nexus 4 Original Android Development] Targaeryan:
Which version did you flash? Reflash the kernel.. Don't flash UKM this time.. Do you have root for your phone? Don't use other apps.. Use Synapse..
[Nexus 4 Original Android Development] Fabry1998:
I'm rooted, I've flashed 98u aosp version(on lollipop). I'll try later reflashing the kernel.

Inviato dal mio Nexus 4
[Nexus 4 Original Android Development] Ciao600:
Yeah, I used it for 2 days but then I come back to Hellscore because of battery consumption.
[Nexus 4 Original Android Development] frikakwa:
What profile did you use? Which kind of use? What about SOT and autonomy compared to HC? :)
[Nexus 4 Original Android Development] Targaeryan:
I lost 2% over 8 hours at night [emoji14] with WiFi and sync on. Flatline!
[Nexus 4 Original Android Development] frikakwa:
Exactly the same on mine! :)

That's why I've asked him to develop a bit more why he was disapointed with Unleashed! Eager to read his answer! :)
[Nexus 4 Original Android Development] Vinnom:
Hi guys!

I'm here with another 99defcon script. I'm feeling ny phone snappier and more smooth than before. I'm not sure about battery life on daily usage because I've been playing too much, but I think that at least 3h30min of SOT it can give to you.

Cpu0 - hyper, min freq = 270000, max freq = 1512000

Cpu1 - blu_active, min freq = 162000, max freq = 1242000

Cpu2 - alucard, min freq = 162000, max freq = 1134000

Cpu3 = nightmare, min freq = 81000, max freq = 1026000

Max suspend freq = 486000

Hotplug = alucard

Max core screen off = 2

Global UV = - 30 V (it change the table, so in synapse will appear as it isn't reduced)

Gamma profile - faux vivid

Zram - lz4 (400 MB)

If you want to change any setting, I recommend to use synapse.

To apply it:

- download the file

- copy it to /etc/init.d/ (overwrite the one already in the folder)

- change the permission to 775

- reboot
[Nexus 4 Original Android Development] Targaeryan:
Yeah I'm quite surprised too... Let's see what he says.. In the mean time test this out ;)

https://www.dropbox.com/s/p75r9djcfncc2l1/mine.tgz?dl=0

Just changed up the governor a bit and changed one or two alucard values..

---------- Post added at 11:39 PM ---------- Previous post was at 11:36 PM ----------

@defconoi could I bother you a bit to guide me to build a kernel.. I was thinking of building one for my manta once I get it (my brother is going to be using it for another month after that I'll get it back).. I have a github account and what not.. I'm mainly lost in terms of adding stuff to the kernel and how to go about making commits (I guess that's pretty much everything [emoji14]) ... :silly:
[Nexus 4 Original Android Development] frikakwa:
Greaaaaaaat! Testing it right now! :) Thanks again mate for sharing! :good:
[Nexus 4 Original Android Development] gorilla p:
Getting good smooth performance out of this kernel isn't a challenge.

The challenge is getting good performance with good battery life.

Luckily we've been given the features to do it, but I just need a better understanding of all the governor settings.
[Nexus 4 Original Android Development] Vinnom:
Every weekend I'm spending a few hours searching xda and google for better description of each setting [emoji14]
[Nexus 4 Original Android Development] gorilla p:
I reflashed my ROM and kernel. Does anyone have a log with this? When I have time I can try reflashing again and see if it screws up.

Also I'm running Dirty Unicorns 4.4.4
[Nexus 4 Original Android Development] C.T.Richter:
I don't know exactly what changed in release 70 to 71 that rendered my N4 completely useless, but then release 72 completely fixed everything... until 72r3 that is. 72r2 runs perfectly, so I'm sticking with it for now. But v71 and v72r3 are making my phone completely sluggish, phone takes ages to completely boot, most apps will take a long time to start, just to force close right as it finally does. Default settings, only undervolted (same amount as I e ver used in every version, and never had any problem whatsoever). Changing any and all settings (via trickstermod) would not help at all.

On Android L preview, beta 5, with the L preview kernel edition.

Edit: Now I did everything, installed UKM, and Synapse. Changed only the voltages as before, only this time via Synapse and voilà, everything is working again. Will see if nothing out of ordinary catches the eye, in the meanwhile.
[Nexus 4 Original Android Development] defconoi:
I am working on a new build with a clean script that removes almost every kernel setting that can interfere that will be done each flash, it will reset synapse and other kernel tweak apps as well as install the latest busybox on each install for convenience. Also it will delete /system/bin/mpdecision and /system/bin/thermald since my kernel does not use them and can cause issues during the boot process. So a ROM flash will be required if changing from my kernels. This needs to be done because some custom ROM ramdisks start up these services that sometimes mess with intelliplug and intellithermal and will ensure my init.d scripts start on boot. Also I will be moving away from ramdisk kernels since so many Roms have different setups, anykernel is going to be the future.
[Nexus 4 Original Android Development] 0.0:
Since it'll reset synapse settings, will the synapse settings that were set on boot be reapplied automatically? I wouldn't like to manually set up the settings each flash...

sent from Nexus 4
[Nexus 4 Original Android Development] defconoi:
Synapse has a profile setting where you can save your settings to sd ;)
[Nexus 4 Original Android Development] cool.darshak:
Reboots

random reboots with 71 and 72..reverting back to 70
[Nexus 4 Original Android Development] defconoi:
Ultimate Unleashed Kernel Update

Ultimate Unleashed Kernel Updated to 73u:

Project name: defcon kernel

ion-storm - update version to 73u
ion-storm - Add some more tweaks to 99defcon
Ricardo Cerqueira - cfg80211: mlme: Silently ignore duplicate management registrations
Pranav Vashi - intelli_plug: Fixes for suspend/resume work rare issues
Pranav Vashi - intelli_plug: Use wakeup_boost hint
Pranav Vashi - cpufreq: cpu-boost: Export wakeup_boost
engstk - bluactive: don't scale beyond min if the load is low
ion-storm - Delete mpdecision & thermald since it is no longer needed and could cause problems
ion-storm - Add Busybox installer & cleaner to updater-script to ensure no problems booting & convenience.
Paul Reioux - lowmemorykiller: fix logic derp for ZRAM/ZSWAP enabled use cases
ion-storm - lowmemorykiller: also count zram swapfile usage
ion-storm - thrash was removed long ago, removed from Makefile
ion-storm - enable O3 optimization
ion-storm - enable swap so ZRAM works, derp...
Stratos Karafotis - cpufreq: Initial CPU utilization should be 0
ion-storm - defconfig: disable STACKTRACE and TRACING
Paolo Pisati - regulator: core: if voltage scaling fails, restore original voltage values
Sahitya Tummala - mmc: block: Fix error path of mmc_blk_alloc_req()
Tatyana Brokhman - block: do not notify urgent request, when flush with data in flight
Vinayak Menon - staging: binder: add vm_fault handler
ion-storm - disable debugging on some modules

My kernel now deletes /system/bin/mpdecision and /system/bin/thermald which are not needed and interfere with my kernel and automatically removes older busybox, installs latest busybox as well as runs a cleaning script to reset Synapse, FauxClock & Others to make sure the kernel boots up properly without bad settings. FauxClock & Synapse do have a profile saving feature, use that before flashing.

Download 73u:

https://www.mediafire.com/folder/whalb5az5x6slcz,b2hbc1s1ido7746/shared
[Nexus 4 Original Android Development] R-Rizzo:
Looking forward to this... I think I had some residual settings somewhere that were causing problems... I would get the occasional kernel panic, which wasn't really a big deal until it did it while I was sleeping and I woke up late with my phone sitting at the enter encryption password screen.
[Nexus 4 Original Android Development] defconoi:
hook me up with a log when it happens again, grab a "cat /proc/last_kmsg >>/sdcard/kmsg.txt" and i'll fix the problem if there is one.
[Nexus 4 Original Android Development] R-Rizzo:
http://pastebin.com/DrSCDDAB

I had grabbed one last time it happened.
[Nexus 4 Original Android Development] defconoi:
[13545.127420] CESR = 0x00000001
[13545.127451] CPU speed = 1944000
[13545.127512] MIDR = 0x510f06f2

hardware error, didnt like your 1.94ghz frequency, maybe overvolt or keep stock voltages or leave that high of a freq alone, or an app set it and caused the high freq somehow
[Nexus 4 Original Android Development] R-Rizzo:
Hence, I think I'm having synapse problems.... I was set at stock 1512.
[Nexus 4 Original Android Development] defconoi:
ya, now my cleaning script on flash clears that stuff ;)
[Nexus 4 Original Android Development] R-Rizzo:
Just saw that you posted that. Does kernel/ukm/busybox flash order matter?
[Nexus 4 Original Android Development] kalpik:
Had the same problem. Set 1.5 in synapse, but kernel still went to 1.9.
[Nexus 4 Original Android Development] defconoi:
no need to install busybox anymore, you can remove busybox installer app as well, flash supersu,ukm, kernel, or any order should be fine.