yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] gorilla p:
This sounds like you might be undervolted too much.

Make sure 81mhz isn't set below 750mv.

Also try adjusting your minimum freq to 162mhz.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Targaeryan:
Here you go..

Hotplug-alucard with hotplug I/o is busy enabled.

Gpu-487 with interactive

CPU UV - -115mv with 81mhz at 710mv

Arch power enabled at advanced tab.

Zram- enable lz4, then 2 max streams with 1024 zram.

---------- Post added at 10:17 PM ---------- Previous post was at 10:16 PM ----------

@frikakwa check to see if the settings stuck properly.. By Restoring profile, certain settings don't seem to have been enabled..
[Nexus 4 Original Android Development] chosen14u:
Yeah I think it was the profile that someone posted the voltages were to low for my phone, thanks!
[Nexus 4 Original Android Development] frikakwa:
I forgot to inform that when I've applied your profile, my phone froze! But I did a hard reboot and now, all the settings are kept and running fine!

That's why I can now confirm "mine" (your profile name! ;) ) is running pretty good on mine. ;)
[Nexus 4 Original Android Development] Targaeryan:
That's good to hear! Maybe my UV/uc was too low for some phones.. Though synapse shows my phone as slow binned and speed bin as 0 (lowest) [emoji33]
[Nexus 4 Original Android Development] frikakwa:
I'm late... sorry! ;)

I confirm all the settings were fine except "Zram- enable lz4, then 2 max streams with 1024 zram" that I've changed by myself b/c... I already like using it like this also! :)

For info... V = confirming settings in Synapse! :)

LZ4... then V... if this doesn't stuck... LZ4 again then V... this will now stuck... then Max compression to 2 and V... only then 1024 and V.

And I also add the USB fast charge - 500 mA! :)

Same here! ;)
[Nexus 4 Original Android Development] jsmonu:
Well, sorry i didn't mention in detail earlier.. but i mostly use Tricker Mod to manage basic settings of Min Max, and Screen control.. so yes, in there, usually Min = 38400 and Max = 135000 but recently it's sticking to 1134000.. :(
[Nexus 4 Original Android Development] frikakwa:
2 pages before... [MENTION=1316336]defconoi[/MENTION] explained, once again, that his kernel MUST be managed via Synapse (included in his kernel)! Trickster has not been designed for and you will encounter issues by using it!
[Nexus 4 Original Android Development] Targaeryan:
Yeah that's the way it works.. Thanks for putting that up.. I didn't include info on that earlier.. :silly:
[Nexus 4 Original Android Development] mkmck:
I've just installed the kernel v95 aosp on lollipop and synapse seems doesn't work. That's what I'm getting in the app.

Am I doing something wrong?
[Nexus 4 Original Android Development] eduardozeassesme:
Erase synapse data
[Nexus 4 Original Android Development] Lawstorant:
You need to change kernel policy to permissive, then manually go to the terminal emulator and type in :

su

UCI reset

UCI

[MENTION=1316336]defconoi[/MENTION]

Are you fancy doing a permissive version of your kernel? (If it's possible)
[Nexus 4 Original Android Development] defconoi:
I could do a permissive kernel... but permissive is highly insecure, with selinux, exploitation is pretty much impossible
[Nexus 4 Original Android Development] iRefleX202:
Doesn't work.
[Nexus 4 Original Android Development] Lawstorant:
Oh, hopefully someone will find a workaroud to fix all problems with enforcing SELinux state. LIke UCI in synapse or UKM.

Patience, what I need is patience.

@up, sorry for your inconvenience, you must use lowercase:

uci reset

uci
[Nexus 4 Original Android Development] jolinnard:
I think it's lowercase...

uci reset
[Nexus 4 Original Android Development] iRefleX202:
It worked now but I can't change the CPU min frequency.
[Nexus 4 Original Android Development] Targaeryan:
Flash the kernel again. Don't flash ukm. Kernel comes with ukm now.
[Nexus 4 Original Android Development] jediratte:
Just wanted to say...best and most tweakable Kernel i have used so far. Thx [MENTION=1316336]defconoi[/MENTION]
[Nexus 4 Original Android Development] defconoi:
Unleashed sleeps well:
[Nexus 4 Original Android Development] mkmck:
I'm sorry, this question will be absolutely noob... How to change kernel policy to permissive? :P
[Nexus 4 Original Android Development] xenyz:
Hey, no cheating! Turn on your cellular radio. :)
[Nexus 4 Original Android Development] melih_1991:
Install this

https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=tr
[Nexus 4 Original Android Development] manulemaboul:
Too bad there's no unleashed for grouper, a friend gave me his old one after he bought the N9. So now I got to chose between the speed and the screen, #1stworldproblem lol.
[Nexus 4 Original Android Development] melih_1991:
If I want to update this kernel do I have to wipe anything?
[Nexus 4 Original Android Development] kskevinstewart7:
Sometimes I get 4-5 hours SOT and sometimes only 2hours 30 mins. Any specific reason?
[Nexus 4 Original Android Development] Shooting Star Max:
It depends on what are you doing, signal strength, mobile data or Wi-Fi, brightness level...
[Nexus 4 Original Android Development] Vinnom:
Everytime you flash a kernel, it is mandatory cache and dalvik cache wipe. If you don't wipe this two, things can get messed up :(

Vinnom - Sent from mako
[Nexus 4 Original Android Development] defconoi:
It really depends on usage, also how you have your cpufreq's set/tweaked matter a great deal, also keep screen brightness below medium and watch what things sync, but yea, I've gotten 4 1/2 hours consistently with my first week release Nexus 4 that I've used and abused since day one. This kernel as lots of advanced powersaving features no other Nexus 4 Kernel has, allot of Linux 3.8-3.18 stuff included. The way its currently configured should give you good battery/performance, if you notice lag/drain adjust freqs accordingly, this kernel contains most of what Hellscore, Faux, AK, Chaos, Dorimanx, Alucard kernels contain, so you have pretty much 5 different kernels in one to customize as you see fit. Big thanks to [MENTION=3795148]neobuddy89[/MENTION] [MENTION=2376110]dorimanx[/MENTION] [MENTION=4899086]alucard_24[/MENTION] [MENTION=3332811]faux123[/MENTION] and other devs I missed, kernel code has code cherry-picked from the best of the best.
[Nexus 4 Original Android Development] manulemaboul:
Nope, totally unecessary, both got nothing to do with the kernel, they're in userspace, above the kernel.
[Nexus 4 Original Android Development] Vinnom:
Totally unecessary? I think that may be a little extreme to say. Both doesn't have anything to do with system partition or boot, but like you said, they have something in common: userspace. When you flash a new kernel and don't wipe those two, some data stored in this partitions may have negative influence to reconstruct apps. So we can have a lot of fc's. Isn't a major problem, because you can always go back to recovery and wipe things and flash them again, but it gives bad user experience.
[Nexus 4 Original Android Development] xenyz:
Yup, totally unnecessary.
[Nexus 4 Original Android Development] Vinnom:
Ok, then....
[Nexus 4 Original Android Development] kskevinstewart7:
The latest chainfire's SU 2.27 says it doesn't require kernel patches on L. Anyone tried flashing 2.27 and 95u-v2 on stock lollipop???

EDIT: everything works perfectly fine :D
[Nexus 4 Original Android Development] xenyz:
If you're interested in why: What is dalvik cache? and What is the difference between kernel space and user space? , a couple quick searches on Stack Exchange.

---------- Post added at 09:34 PM ---------- Previous post was at 09:32 PM ----------

I'm on another kernel with SuperSU 2.23 and it doesn't seem necessary any longer:

root@mako:/ # daemonsu -v
2.23:SUPERSU
root@mako:/ # getenforce
Enforcing
root@mako:/ #

Edit: looks like I made a wrong assumption as the ramdisk looks patched:

service flash_recovery /system/bin/install-recovery.sh
class main
# seclabel u:r:install_recovery:s0
oneshot

The new SuperSU 2.27 looks promising though...
[Nexus 4 Original Android Development] mammenj:
Not getting thermal even after resetting and reinstalling? Any idea to get thermal back, I am in 95u2?
[Nexus 4 Original Android Development] kskevinstewart7:
How did u add those mods to your status bar??

Also does anyone know how to get a logcat using terminal emulator?? "start logd" doesn't do anything.
[Nexus 4 Original Android Development] mammenj:
That's Anderson's Lollipop ROM.

Check it here

https://plus.google.com/100274597225706087449/posts/9s5sFSAqPLC
[Nexus 4 Original Android Development] Vinnom:
I don't see how it turn what I talked about in something wrong, maybe you can help understand.

User space - here we have applications that can't access all things for obvious reasons.

Kernel space - have access to everything, to be able to comunicate with all things. So, it has access to user space too, right?

So, lets say that some data from cache or dalvik-cache, for some reason, can't be accessed for new flashed kernel. I'll have to wipe cache and dalvik, so then can get reconstructed right and be fully functional, or at least it is hoped like that. So, shouldn't be more practical if we wipe this two partitions from the beginning?

Idk If I couldn't express myself right, but if yes, it might be good for a better understanding of the process.
[Nexus 4 Original Android Development] edilber:
please

friends help me, as I can create a init.d to boot to the system script my profiles gamma Pa_HalfBreed ?
[Nexus 4 Original Android Development] jediratte:
Uhhh...i guess...wait a sec...it's been a week since this run. I underclocked 2 Cores to 1.35ghz the other two were on default maybe 1.6ghz. Undervolted by 110mv, underclocked govs bacon default cores HYPER i guess. Min freq was set to 270mhz. Other than that mostly default settings. Dunno about brightness settings most likely default, maybe 1/3. I'm getting 3 1/2 to 4 1/2 sot for the most time like [MENTION=1316336]defconoi[/MENTION] said for his N4. I don't use the same settings over and over again. Mainly tweaking around in Kernel settings every new run :D Epic Kernel i guess:cool:
[Nexus 4 Original Android Development] prithvic:
Can anyone make ( or has made or even knows if there is ) a guide on how to tweak kernels, for battery/perfomance/balanced specifically for this kernel as it has got the most features i've seen in a kernel so far.
[Nexus 4 Original Android Development] Vinnom:
Add this to your 99defcon:

echo "212 64 68 118 0 25 4 66 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_b
echo "378 64 68 118 0 25 4 66 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
echo "210 64 68 118 0 25 4 66 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "378 64 68 118 0 25 4 66 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "208 64 68 118 0 25 4 66 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "378 64 68 118 0 25 4 66 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo 25 > /sys/devices/i2c-0/0-0038/lm3530_min_br
echo 100 > /sys/devices/i2c-0/0-0038/lm3530_max_br

Just add them, kcal min and RGB levels are already right =)

---------- Post added at 08:28 AM ---------- Previous post was at 08:26 AM ----------

One user has done it and share his profiles here, so you can compare them ^^

Search some pages back, his name is Gorilla_p if I'm not mistaken ^^
[Nexus 4 Original Android Development] dcop7:
Check here for synapse profiles and more info: http://bit.ly/makostuff
[Nexus 4 Original Android Development] valkyrjur:
Hello , today i flashed the offcial stock lollipop image on my nexus 4. I set it up and then i flashed unleashed kernerl 95 v2 and i get an infinite boot. Anyone else?
[Nexus 4 Original Android Development] dannycardoz92:
you need to root after flashing stock..and you need a permissive kernel

have you tried using the latest supersu 2.27
[Nexus 4 Original Android Development] d9ny:
Right, just try supersu 2.27 works with enforcing selinux
[Nexus 4 Original Android Development] valkyrjur:
Yes, I've flashed supersu 2.27 and but not permissive kernel, i think that is the point.

P.D: Where can i download this special kernel?

Thanks in advance.

P.D.2: I have downloaded an application called selinux mode changer an it did the trick, I successfull change mode to permissive and I could install this amazing kernel, thanks for the clue ;) .
[Nexus 4 Original Android Development] prithvic:
I know about those profiles, even tried to load then in synapse... But always synapse force closes as soon as i hit restore and then synapse not ready to open until i clear synapse data :(
[Nexus 4 Original Android Development] aymnahmd:
Yes me too.

Always FC when restoring.

Latest synapse and UKM 3.5.

Any help ?
[Nexus 4 Original Android Development] Targaeryan:
Don't flash ukm after this kernel. Kernel (94 onwards i think) comes with ukm now. After restoring,it'll fc then it will open again.
[Nexus 4 Original Android Development] Vinnom:
Did you install UKM and Synapse? Because it wasn't supposed to be done. New unsleashed uses modified UKM and Synapse, built for it by defconoi and comes with the kernel.

But about FC when restoring, it is normal, always happen. You just have to re-open Synapse and hit "X" button and things will be apllied. However, if you can't open it unless you clear Synapse data, maybe something is getting corrupted in this process.
[Nexus 4 Original Android Development] prithvic:
Isn't there any way out for this FCing? Or maybe is there any app on the PC to open and see the synapse profile properties, so possibly we can at least manually enter the values on Synapse
[Nexus 4 Original Android Development] Targaeryan:
Just flash the kernel again and try. Don't flash ukm.
[Nexus 4 Original Android Development] prithvic:
I never flashed UKM over this kernel as UKM is bundled with it from now, still ill give a try flashing the kernel again
[Nexus 4 Original Android Development] Targaeryan:
Synapse will force close after restoring but you can open it again after that. Then press the X on top to enable the restored settings. Its written in synapse itself that restoring profile will make it close.. Its there on the profiles page.
[Nexus 4 Original Android Development] prithvic:
Yes I know that mate, but when I restore the profile that I created, Synapse opens after the initial crash, but when I restore the profiles made by gorilla_p (I download the only profiles that matches names with current kernel on my mako) , Synapse doesn't open until I clear the data.
[Nexus 4 Original Android Development] Targaeryan:
Ah I see. Can you try with my profile?

https://www.dropbox.com/s/p75r9djcfncc2l1/mine.tgz?dl=0
[Nexus 4 Original Android Development] kskevinstewart7:
Can someone tel me how to get a logcat on my N⁴ ????
[Nexus 4 Original Android Development] jediratte:
If u are on unleashed enable logcat via Synapse
[Nexus 4 Original Android Development] edilber:
good

thanks brother :)

the scritp working very good. :D :good:

i love this kernel and android lollipop.
[Nexus 4 Original Android Development] prithvic:
i tried using your profile, Synapse started & as soon as I hit the X button it crashed and i lost my root access, flashed latest supersu 2.27 and same happened.
[Nexus 4 Original Android Development] edilber:
good

thanks brother

the scritp working very good. :D :good:

i love this kernel and android lollipop.
[Nexus 4 Original Android Development] Targaeryan:
That's weird.. Which rom are you in?

Here are my settings you can apply on your own

http://xdaforums.com/showthread.php?p=56907554
[Nexus 4 Original Android Development] dannycardoz92:
great..!! sorry i didn't reply sooner

cheers
[Nexus 4 Original Android Development] prithvic:
I'm using stock, rooted and unleashed kernel, thanks for sharing your profile, ill give it a try, just wanted to know your profile is for battery or performance or balanced?
[Nexus 4 Original Android Development] Shad0w32:
With [MENTION=1050103]sykopompos[/MENTION]'s Lollipop, it is just perfect. And the DT2W is not really a battery draining feature. Just love it. Thank you [MENTION=1316336]defconoi[/MENTION], and anyone, who helped
[Nexus 4 Original Android Development] Targaeryan:
So far it's performing well for both scenarios.. For me it's great. So you can test it out and give some feedback on it as well.
[Nexus 4 Original Android Development] prithvic:
Sure ill try it for a day and revert to you with a feedback :) Thanks again
[Nexus 4 Original Android Development] gorilla p:
I'm on 95u and my phone isn't sleeping at all while on the charger. My phone was on the charger when I was sleeping and it spent no time in sleep state.

This was with intellidemand and smartmax.

While not on the charger it seems to be OK.

Idk of this is normal, I never paid attention to this before.

Sent from my Nexus 4
[Nexus 4 Original Android Development] xDroid4Lifex:
AFAIK its normal.
[Nexus 4 Original Android Development] Vinnom:
Defconoi already said that it is a normal behaviour... Phone doesn't need to sleep while in charger... Sleep is meant for saving battery ^^

Edit: I forgot to mention that this is a recent thing, though ^^

Vinnom - Sent from mako
[Nexus 4 Original Android Development] gorilla p:
OK, thanks man.

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
This is expected behavior,my kernel has a new power management system called powersuspend, the charger drivers and a few others keep it awake during charging with a wake lock, the drivers need to be ported eventually if it is even possible, its one huge hack that I was able to implement nexus 5/6 power management into the nexus 4. Not sleeping during charge is a tradeoff for now, I'll revisit it in the future, but its low on my priority list, newer devices are staying awake during charge for Google now and other features.

It was a month long process to hand edit every nexus 4 driver for the new power system.
[Nexus 4 Original Android Development] txuki2005:
Working very well with last version on stock. 3h 30 min SOT with 3g and wifi on smartmax. Maybe smartmax need more accuracy to use 1458 frecuency more only 5s and use a lot of 1512. Boost frecuency use minor than higuer frecuency.

Thanks a lot [MENTION=1316336]defconoi[/MENTION], i love your kernel.
[Nexus 4 Original Android Development] gorilla p:
OK got it. Thanks for taking the time to write a detailed response.

I had one other question

I noticed in my Krait C-States settings I had

C0, C1, C3 enabled.

In the past I've only had C0, C3 enabled.

Was this something you did, or is something else responsible for this?

While on the topic, what are the pros and con's of having states C1 and C2 enabled.

Im not totally clear on what these settings/options do.

Thanks in advance for your assistance.

Sent from my Nexus 4
[Nexus 4 Original Android Development] pables123:
Its not deep sleeping even if im not charging it
[Nexus 4 Original Android Development] gorilla p:
Delete duplicate

Sent from my Nexus 4
[Nexus 4 Original Android Development] pables123:
No deep sleen on synapse. Its not sleeping
[Nexus 4 Original Android Development] gorilla p:
That 81MHz freq/minimum freq has nothing to do with your sleep.

Use Synapse and check your sleep time.

Sent from my Nexus 4

---------- Post added at 05:31 PM ---------- Previous post was at 05:30 PM ----------

Please provide synapse screenshot

Sent from my Nexus 4
[Nexus 4 Original Android Development] pables123:
My deep sleep lol
[Nexus 4 Original Android Development] xflori:
I cant get the max.freq down:(? Why?
[Nexus 4 Original Android Development] gorilla p:
Please include a synapse screenshot

Sent from my Nexus 4
[Nexus 4 Original Android Development] dude6595:
try enabling msm limiter
[Nexus 4 Original Android Development] xflori:
Yeah i found it out after a minute i posted here

And crazy how fast anyone replies here :D
[Nexus 4 Original Android Development] gorilla p:
Enable msm limiter, apply setting

Change min freq, apply setting

Change min freq to freq you want, apply setting.

See if that helps

Sent from my Nexus 4

---------- Post added at 06:00 PM ---------- Previous post was at 05:46 PM ----------

Updates on bit.ly/makostuff

Updated Unleashed 95u Profiles

Bat-Bal

Bal

Bal-Perf

Performance

Updated HD 3r6 Synapse profile

Bat-Bal

Added latest SuperSU beta flashable zip v2.27

Updated Radios/Modem folder

Created 33/104 hybrid flashable zip

Added 27/104 and 33/104 hybrid radio flashable zips

Added APN settings for TMobile, MetroPCS, AT&T and Straight Talk.

Added detailed instructions for enabling LTE.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Blue305:
Is there a better radio for L? Not hybrid, 3g.
[Nexus 4 Original Android Development] aburyan1:
Hi, am new to the kernal stuff so I tried Liquid_gapps.4.4.4.build.6.0.zip but the camera won't work after that and the same when I tried defcon-95u-v2-unleashed-AOSP_mako.zip, I also flashed defcon-95u-v2-unleashed-CM11_mako.zip but then the screen stayed black after the android logo. Am using stock factory image 5.0 ,,, thanks
[Nexus 4 Original Android Development] KcLKcL:
Is the USB HID Keyboard app isn't working on Lollipop?

I'm using 95uv2 on stock factory image, rooted with SuperSU beta 2.27, yet the app tells me to use a custom kernel that has the driver :|

Can anyone help?
[Nexus 4 Original Android Development] gorilla p:
Wow you've got a real mess going on...

If you're using stock factory image, why on earth would you use the CM (Cyanogen Mod) kernel version?

Stock=AOSP. Only use AOSP kernel version

Use PA GApps (Use latest Pico GApps and add anything else you need later. All google apps can be added from play store.

Install Google keyboard and google camera from play store.

Latest PA GApps Pico download below

http://d-h.st/users/TKruzze/?fld_id=39846#files

Sent from my Nexus 4
[Nexus 4 Original Android Development] aburyan1:
Lol sorry but like I said I don't know a lot about kernals, but I'll try your suggestions and report back, I appreciate your help
[Nexus 4 Original Android Development] gorilla p:
We've all been there. Just make sure to do some reading as well.

Also this kernel is HIGHLY customizable.

Install Synapse from play store to access all customization options.

Almost all tools that you will ever need for the N4 as well as information/tutorials can be located in my repository

bit.ly/makostuff

From there download and flash latest SuperSU

Install Adobe flash

Install Greenify

See optimal battery life document

Install Adaway

Make sure you have the latest TWRP recovery

If you're interested in enabling 4G/LTE, flash hybrid radio and follow directions in N4 Radios folder to enable LTE.

Welcome to the N4/Mako [emoji89]

Time to get your flash on

Sent from my Nexus 4
[Nexus 4 Original Android Development] y3mita:
Mine sleeping like a baby
[Nexus 4 Original Android Development] sakis_the_fraud:
first of all on your Mako › Kernels › Unleashed › Synapse Profiles

you have

Unleashed_95u_Bat-Bal.tgz

and

Unleashed_95u_Bat-Bal_2.tgz

I am using latest unleashed 95uv2 and when i try to apply either of them i get the message "unable to restore profile. Invalid file"

do you know what's going on?
[Nexus 4 Original Android Development] defconoi:
Lets shout out to [MENTION=5658634]apb_axel[/MENTION] and get proper Profiles added to Synapse that are easily loadable and in easy to read customization format
[Nexus 4 Original Android Development] aburyan1:
Thanks a lot man your help really appreciated, I do a lot reading but new to the kernals stuff, I'll follow your direction and report back
[Nexus 4 Original Android Development] gorilla p:
I'm wondering if some settings make it impossible to load? But I have restored each of my profiles multiple times without issue. You're also not the first to have trouble. I'll see if I can figure anything out.

Sent from my Nexus 4
[Nexus 4 Original Android Development] defconoi:
Updated Post 2 with Alucard/Nightmare/Darkness CPU Freq tunables, its a highly advanced cpu freq