yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] undercover:
Show, i know you wouldn't expect anything less, but I'm well impressed so far. I think this is the only kernel that gets the balance between battery drain and performance spot on. It's too early to come to a solid conclusion for me yet, but i do have my ways of monitoring things and so far it's been great. I did UV quite a bit, but still, not more than on other kernels, and this baby stays cooler than ever. I'm seeing good 4c less across the board. Or more. As I'm typing this cpu is at 29c, when normally it would have been at about 37-39. If it keeps going this way I'll have hard time even updating it. :p 192 seems to help a great deal when display is on but not being touched. S2w I always considered a gimmick for me personally, but it looks it might grow on me.

I do have one suggestion. It looks like busy box is installed to /bin by default rather than /xbin, so it might be worth making your kernel dump stuff in /bin by default if bb is not found.

Nice one show. Beer is on me at some point :beer::thumbup:

P. S. And get that full gamma control in ASAP you lazy git :p
[Nexus 4 Original Android Development] miku3191:
Need help guys! ASAP! Was benchmarking at 1.8 GHz and within a second the phone switched off! It entered into red LED mode while charging... ! Now while charging no lights blink! The battery logo doesn't appear too! Can't boot up the phone! Please help :(
[Nexus 4 Original Android Development] Ace42:
It sounds like you fried the N4. If you could get it to function with the N4 toolkit then you would have hope. But if it stays

like that then you'll be in trouble. :crying:
[Nexus 4 Original Android Development] noneabove:
Is there any way to disable sweep 2 sleep but keep sweep 2 wake ?i do it accidentally one once in awhile when on full screen games haha
[Nexus 4 Original Android Development] Ace42:
http://xdaforums.com/showpost.php?p=35910154&postcount=2180
[Nexus 4 Original Android Development] jarjar124:
Just make a script or something that turns it off and another to turn in on. Or to do it manually go to sys/android_touch/sweep2wake and change the values of it. 0 is off and 1 is on
[Nexus 4 Original Android Development] noneabove:
No i want to keep sweep to wake, just not the second part of it, sweep to sleep..
[Nexus 4 Original Android Development] ultivegito2:
Hi, I'm an absolute noob when it comes to flashing kernels. I just got a Nexus 4, was previously using an HTC Hero (heh). I did root my Hero without any sort of toolkit, and I flashed a few ROMs to improve the terrible performance, but I never got really involved in actual customization...

I flashed Bricked v.7 from CWR because sleep2wake looked incredible. Everything works perfectly, I have experienced no lag, and I'm very pleased with the kernel in general. But I know nothing about changing the "preferences" for the kernel, and I'd like to get rid of the text on the top right-hand side of the screen that appears to display all the processes currently running.

I've read the first twenty pages in this thread, and it all appears to be troubleshooting and getting OC to work. I'm not interested in OC and have had no issues with the kernel. Is there any documentation available that I could read to learn about changing the settings in this kernel? I don't even know where to begin to look.

If you could even point me toward some reading on kernels in general, that'd be great too. I have searched, and all I've been able to find pertains to how kernels work, how to compile a kernel (that's not what I want to do?) or general lists of available kernels...

Again, all I want to do is get rid of the processes display that is constantly in the top-right corner of the screen and preventing me from seeing whatever might be displayed underneath.

Thanks! sleep2wake is wonderful. :)
[Nexus 4 Original Android Development] miku3191:
I can get into download mode... !!! Please help...
[Nexus 4 Original Android Development] Ace42:
http://xdaforums.com/showthread.php?t=1995688

I'm not sure if you have it, but if you don't get the N4's toolkit above. After that go thru the steps to install it.

1. Start toolkit with N4 connected via usb

2. go thru the selections and find the one that allows you to reboot from "Fastboot" to "Recovery"

3. N4 will boot to Recovery if you have one installed

4. Wipe "System", "Cache", "Dalvik", and "Data"

5. Install whatever ROM you were previously using and then the kernel

6. reboot
[Nexus 4 Original Android Development] IAmAN00bie:
You can make a Tasker profile to toggle the Sweep-to-wake flag when you launch certain apps by editing the /sys/android_touch/sweep2wake file.
[Nexus 4 Original Android Development] meangreenie:
I think you must of turned something on in development settings.. check there
[Nexus 4 Original Android Development] Reatret:
May I know your frequencies and govenors, thats amazing batterylife :) thanks :good:

---------- Post added at 07:41 AM ---------- Previous post was at 07:35 AM ----------

and on that note, anyone else feel free to show their setup, would love to know :) :D
[Nexus 4 Original Android Development] maufega:
Hello Reatret, I do not understand it, but my perfect

Governor ondemand and frequency 1512 Mhz max - 192 MHz min

Automatic screen brightness and always on 3G

Incredible but true.
[Nexus 4 Original Android Development] Michealtbh:
As mentioned above it sounds like you've turned something on in developer options, that has nothing to do with the kernel.

As for changing kernel settings try Trickster Mod app, it's a universal kernel control app and has a free version.
[Nexus 4 Original Android Development] grisha1:
Great stuff, my appreciation :thumbup:

30308537UX8915001
[Nexus 4 Original Android Development] Vlad87do:
Best Kernel so far
[Nexus 4 Original Android Development] miku3191:
Not able to go in fast boot mode! :(
[Nexus 4 Original Android Development] chrizzk:
Solution for red LED problem should be here:

http://xdaforums.com/showpost.php?p=35595046&postcount=1776
[Nexus 4 Original Android Development] Holo_:
Leave the phone alone unplugged for a few minutes now press the volume down rocker then plug in your charger while holding down the volume rocker you should boot into the bootloader if not unplug the charger and try again works all the time for me when I get lost in the scorching hot red led district ;)
[Nexus 4 Original Android Development] miku3191:
on step 3, it doesn't boot up !!! pressing power button after battery animation dont vibrate and doesnt boot up ! doesnt show anything goes back to RED BLINK MODE

last line is like, charge the phone for couple of min. ? in blinking red mode ? is it ?
[Nexus 4 Original Android Development] pac213:
Sorry if this has been asked, do I need to flash the "Stock Nexus4 boot.img" then the kernel everytime I install CM 10.1 nightlies?
[Nexus 4 Original Android Development] trismegistos:
i see in the OP the feature: Undervolting. is it undervolted on default or does it mean that we CAN undervolt?

thx!
[Nexus 4 Original Android Development] undercover:
It is not UV by default but allows you to UV.
[Nexus 4 Original Android Development] Holo_:
Entering the red led district is a good thing just follow what I posted and be happy your phone didn't melt in your hand
[Nexus 4 Original Android Development] jamesalfred:
Just tried the so called "fast charging" feature. Indeed, for an outlet charger (note: an outlet charger here means it's a pure charger, the cable is directly connected to the adapter. It differs with an adapter with a pluggable USB cable), the fast charge did nothing. I tested a couple of chargers: an outlet charger (Nokia's 550mA), some USB Adapters (iPhone's 1A, LG's 1.2A and iPad2's 2A) and default USB currents of my laptop (I believe around 1A?). I tested it one by one, switching on and off the Fast Charge feature using Matrix's kernel and Trickster's Mod to switch it. To monitor the current, I used CurrectWidget with an interval monitor of 2 secs. Here are the results:

Outlet:

Nokia 550mA ON = 450-500mA OFF = almost the same

USB Chargers:

iPhone's 1A ON = 600-770mA OFF = 120-300mA

LG's 1.2A ON = 600-780mA OFF = around the same as iPhone's

iPad2's 2A ON and OFF = 120-300mA !!! (it seems like it's too high for a mobile, so the safety kicked in)

Laptop's USB (500-1000mA?) ON = 550-720mA OFF = 120-300mA

Conclusion? Well, if you're using a true outlet charger to charge all the time, fast charge is not your need. But if you're like me, having several USB chargers, this might help you achieve a higher current charging.

I'm sorry if this is OOT, just want to clear some stuff up. If undesired, I'll move this to a new thread. Thanks a lot :laugh:
[Nexus 4 Original Android Development] miku3191:
Man Thanks Thanks Thanks a lot !!!!!! :) I can enter into bootloader !!! but ... now it doesnt boot up when i select reboot or recovery mode ! ... Battery must be too low ? how to charge ? ... when i plug in the charger i dont know it charges or not, it keeps on blinking red ! continuously !

And for how much time i shall keep it for charging? assuming i lost all the juice ? to regain certain threshold level ?

Thanks a lot man ! :) finally by your method i can boot into bootloader ! :) :thanks:
[Nexus 4 Original Android Development] lnfound:
It's for coming from another kernel, cm has stock kernel so no need.
[Nexus 4 Original Android Development] pac213:
Thanks! I'll flash this now.
[Nexus 4 Original Android Development] pac213:
First time using this kernel with CM 10.1. No issues yet. Will report if I encounter any. thanks!
[Nexus 4 Original Android Development] wngmv:
flashed because i missed PGM on my Galaxy Nexus so much. works like a charm but now i can see the yellow tint after using Franco kernel for a week.

sticking with this for the moment. thanks a lot for the wonderful work.
[Nexus 4 Original Android Development] sideeffects:
Frequencies 1.29Ghz, 1.18Ghz, 1.08Ghz, 972Mhz, 864Mhz, 756Mhz, 648Mhz, 594Mhz, 540Mhz, 432Mhz exist in the Voltage table and frequency choice list but are not used. If they are forced in maximum frequency then the next closest frequency is used for example select 1.29Ghz and it uses 1.24Ghz.

Can they be removed from the voltage table and the available frequency list so as to make it easier to apply voltages and avoid errors?
[Nexus 4 Original Android Development] extremecarver:
Could the Undervolting please also (like motley kernel) allow 600mv as minimum voltage? Especially at 192Mhz that would be plenty voltage for my N4. I managed 4xx stable at 600mv on newest motley kernel. So far in standby motley kernel proved to be better on battery for me. While bricked kernel was better on usage (overall bricked consumed less battery for me - standby is not so important. But I believe 600mv would still improve battery life).
[Nexus 4 Original Android Development] Reatret:
I was afraid to game on my nexus due to about 30-40% battery loss on a good play session,but now with this kernel I only loose 10%! Thanks so much, very pleased with this kernel :)
[Nexus 4 Original Android Development] doope:
Hi there,

This is a wonderful kernel, best by far, i just have a request to dev, would it be possible to add a H+ icon to know when we are using H or H+ in europe? Thanks for the great work.

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] :
There is no app to configure the kernel yet, right? Please make one, I'm too dumb and too lazy to use init-scripts or anything the like :)
[Nexus 4 Original Android Development] resynx:
FauxClock works well.
[Nexus 4 Original Android Development] IAmAN00bie:
Try Trickster Mod. CPU settings, Voltage control, Color control, Sweep To Wake control, etc all included (and it's FREE).
[Nexus 4 Original Android Development] jhericurls:
That's not kernel related. Its to do with your ROM.
[Nexus 4 Original Android Development] dakunesu:
strange, i was going to make a screencast of this, but it isnt happening again. i had had an issue that the right and left edges would only respond touches further inwards than the edges... anyone have this issue?
[Nexus 4 Original Android Development] BlackEco:
This is not a kernel thing, but a ROM thing. I may be wrong, but I believe that every stock ROMs shows H+ for HSPA+ (excepted SFR/Vodaphone ROMs that shows DC because they gave the "Dual Carrier" commercial name to HSPA+)
[Nexus 4 Original Android Development] expl0it4:
Followed the links in op but can't seem to find where to download.
[Nexus 4 Original Android Development] grisha1:
Hint: stable, "click me" :eek:
[Nexus 4 Original Android Development] jazzor:
Why can't you use two separate arrays to determine thresholds for up and down respectively. Not only does it eliminate extra arithmetic steps (and cpu cycles), use almost the same memory, but also it makes it so much simpler for people to understand in the case that they want to tweak the values themselves? This is just a thought, not having a go at your code or anything.
[Nexus 4 Original Android Development] expl0it4:
Redirects on my phone through chrome and aosp browser. Downloaded off my pc. :rolleyes:
[Nexus 4 Original Android Development] FirelordAzula:
You may want to adjust the voltage table; at the moment it resembles the stock voltage table for "slow" binned CPUs while the majority of users have "fast" and "faster" binned CPUs.
[Nexus 4 Original Android Development] Anon87:
Ditto
[Nexus 4 Original Android Development] jarjar124:
Man, this kernel flies when on WiFi. At 3hrs on screen and I'm only at 52% !!
[Nexus 4 Original Android Development] Reatret:
Man how is everyone getting 3hrs screen on and more? I can barely make 2 :confused: :eek:
[Nexus 4 Original Android Development] undercover:
3h is easy. Anything beyond that can be a problem though. Install BetterBatteryStats and have a look at what is eating away you mV.
[Nexus 4 Original Android Development] expl0it4:
The couple games I've tried are choppy running on demand. Switched to interactive and was smooth. Otherwise this is running really well.
[Nexus 4 Original Android Development] meangreenie:
change in.. sys/devices/system/cpu/cpufreq/ondemand

up_threshhold to 70

down_differential to 50

sampling_down_factor 1

two_phase_freq to whatever you have set for max cpu value

io_is_busy to 0

Test those settings with temple run original....butter smooth
[Nexus 4 Original Android Development] expl0it4:
I'll give that a try, thanks.

---------- Post added at 10:20 PM ---------- Previous post was at 10:12 PM ----------

What would I input for 1.134ghz max cpu?
[Nexus 4 Original Android Development] meangreenie:
try 1134000 for two_phase_freq

edit, put wrong frequency first time
[Nexus 4 Original Android Development] pnut22r:
There is no fast charge on this kernel yet, correct?
[Nexus 4 Original Android Development] Reatret:
CPU states, since unplugged?
[Nexus 4 Original Android Development] Reatret:
Yeah I'm ashamed of that post myself.
[Nexus 4 Original Android Development] dakunesu:
regarding my old post, looks like the edge bug is intermittent, I managed to screen cast this time. might be worth keeping an eye out to fix.

https://docs.google.com/file/d/0B_bkxTZXrpqwU0tSMHVrdmZmRWs/edit
[Nexus 4 Original Android Development] undercover:
Has Faux not released the source?

Re Busybox. I'm only saying because I had to manually install it to /xbin since wifi wouldn't work even after installing busybox.
[Nexus 4 Original Android Development] show-p1984:
You can reproduce that issue?

If yes join freenode irc #bricked and highlight me.

As far as I know: Nope. At least I couldn't find it on his repo, I will ask him for the source.

Well then your busybox installer failed :p

Since the magic and hero all user executable system apps are installed into xbin.

And if you have it installed already when flashing the kernel my script will use the path it finds.
[Nexus 4 Original Android Development] miku3191:
I didnt touch the THERMAL SETTINGS

Now what to do man !? please help someone ... battery is like DEAD !!! i can do everything, after searching a lot on XDA, i can get into Bootloader, i even flashed STOCK !!! but when on charger it blinks RED continuously ! nothing happens more than that ! :( please please please help guys ! :( :( :(
[Nexus 4 Original Android Development] undercover:
Quite possible. Now go get that gamma source :p
[Nexus 4 Original Android Development] meangreenie:
Have you tried leaving it charging (mains charger not USB) for a while.. I seem to recall that got someone elses red blinking phone going
[Nexus 4 Original Android Development] miku3191:
I kept it in AC charging for whole night yesterday ! :( battery died possibly !!! :(
[Nexus 4 Original Android Development] Holo_:
Once you in the bootloader power off you should see the battery charging animation if not repeat this cycle to you do ignore the red led
[Nexus 4 Original Android Development] :
@miku

Seriously man, why on earth would you want to overclock the fastest phone in the world? Where exactly was it too slow for you that you had to overclock it? Or was it just too prove you had a huge **** by having higher benchmark scores than everybods else? I just cant understand it... But if you decide to be so dumb and take that risk then dont start crying now and take it like a man. Hopefully you learned something today.
[Nexus 4 Original Android Development] miku3191:
Dude i learnt the lesson today ! seriously ! ... but ... now what ?... although won't OC anymore !... but there must be some way ... i can get into everything !... just that i cannot boot up the phone ... battery has no juice i guess... no charging possible ... I heard that nexus is unbrickable ... so ... there must be some way ?! ... I am getting into download mode, bootloader ... everything ...
[Nexus 4 Original Android Development] undercover:
Hold -/+vol and power buttons together for a little while. See if there is ANY reaction.
[Nexus 4 Original Android Development] miku3191:
Lemme try ! :) your first method worked ... if this do .. it will solve everything !... thanks for helping man !.... I took the dumbest step to OC i guess ! :(
[Nexus 4 Original Android Development] undercover:
Show... I'd cap it at 1.5. :sly:
[Nexus 4 Original Android Development] miku3191:
nothing happens .. no vibration either ... I gave a fastboot command to check for battery voltage level and it didnt return any number ! :(
[Nexus 4 Original Android Development] Michealtbh:
Your N4 is still under warranty, if you can't bring it back to life request an RMA
[Nexus 4 Original Android Development] miku3191:
Dude it would be really very helpful if you make me understand the procedure of RMA... I am from India. This phone is not available here. Actually i got it from one of my friends living in USA... So i am quite unacquainted about RMA ! please !
[Nexus 4 Original Android Development] Holo_:
Go to the recovery from the bootloader and twrp recovery will tell you if you charging if not reboot back into the bootloader then back into the recovery keep repeating to you see charging don't unplug the charger you fine
[Nexus 4 Original Android Development] miku3191:
from bootloader i cant boot into recovery ! if i select reboot into recovery, it reboots and flashes RED ! :( also i cant reboot into bootloader... it loses the connection somehow and manages to go in RED LED district !
[Nexus 4 Original Android Development] Holo_:
Fastboot from computer?
[Nexus 4 Original Android Development] undercover:
It's over two threads now. Why don't you guys move to "I think I'm bricked."?
[Nexus 4 Original Android Development] show-p1984:
I asked him. (no reply, probably sleeping)

Is it my problem when people OC and brick because their phone can't handle it?

I don't think so. Just because there is the possibility does not mean that you need to do it.

I did my best to eliminate all thermal issues when overclocking, the rest is up to the chips build quality.

I burned 2 processors until I found the one I am currently using in my PC. (AMD Phenom 2 X6 1090T @ 4.5Ghz) Overclocking is and always was a dangerous and expensive business. That's why you should not touch stuff you do know nothing about, in general :)

Even if your chip runs fine overclocked your are severely reducing it's lifespan since it usually gets warmer. There was a statistic somewhere I read a while ago which showed that 10°C more on a CPU will cut off one third of it's lifespan.

Since we can't just replace our CPUs one should probably be extra careful.
[Nexus 4 Original Android Development] eep2378:
That's why I almost always reduce my max CPU freq(currently at 1.026ghz). With the other tweaks in your kernel there is virtually no lag. Even when playing NFSMW at that clock speed the game runs beautifully no hiccups at all. We've got 4 cores, people! They don't all have to be online and they sure as hell don't need OC!! :D

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] undercover:
Thanks. It is not your or anyone else's problem indeed.

Xda is no longer developer mainly, it's a noob fest. Although it doesn't affect me much, i know not to touch things that i don't know much about ( and there are a lot of things i don't), dangerous stuff is too easy nowadays. People jump into things without getting any info about it. If it's that easy to do it they assume it's safe.

Looks like Apple was right all along with choosing FOR the people what general public want. ;)

Rant over :p
[Nexus 4 Original Android Development] show-p1984:
The voltage table is selected based on your chip id.

Look in the op to figure out which acpu freq table is used and which soc id you have.
[Nexus 4 Original Android Development] wera750:
Seems android os consumes a lot more battery since sleep2wake. I tried disabling it with faux app but it stays enabled.
[Nexus 4 Original Android Development] show-p1984:
It's called sweep2wake and it has nothing to do with "Android OS".

Disable it over sysfs.
[Nexus 4 Original Android Development] shivasrage:
Try Trickster MOD from Playstore I´m fine with en-disabling s2w and setting all other values......:good:

S.R
[Nexus 4 Original Android Development] noneabove:
Awesome. Can't wait to try the next beta!
[Nexus 4 Original Android Development] keda:
Standby time not that great. Last night 7+hr standby with network(HSPA/WIFI) OFF took 9%. Wonder if has to do with sweep2wake. Will test it tonight. BTW, I love sweep2wake. Thanks for this great addition to kernel.
[Nexus 4 Original Android Development] trismegistos:
i am a little bit lost in undervolting with trickster mod. any suggestions what values i can try to get a safe undervolting?

thx in advanced!
[Nexus 4 Original Android Development] denimjunkie82:
Just want to say what a kick ass kernel this is. I am very picky with kernels and this one rocks my world in terms of smoothness, battery life, and stability. I lose less than 1%/hr when idle and my uptime is 3+ days and counting, basically no reboot needed since flashing. Using default values all around and don't see any need to play around. @show-p thanks for sharing your awesome work.
[Nexus 4 Original Android Development] shr33kant:
Try using kernel tuner. Also, can anyone test these settings and let me know how it goes? The power save bias and ui counter are untouched. I've been fiddling around with these settings and they're quite good for me so far. (these are tweaked settings of on demand gov). I was trying to get a nice balance of smoothness and decent battery... Just want to know what you all think about it ^_^

Sent from my Nexus 4
[Nexus 4 Original Android Development] heat361:
No point in over clocking this device IMO it already gets warm as it is clocked at 1.5ghz and anymore you potentially risk frying your CPU. Plus this phone is fast as is even if the s4 pro is under clocked it is still very fast there's is no need to over clock the CPU.
[Nexus 4 Original Android Development] show-p1984:
No argument there.
[Nexus 4 Original Android Development] resynx:
Wow I remember using your kernel back on my Sensation days! Glad to see you here, thanks for everything showp ^_^
[Nexus 4 Original Android Development] undercover:
Don't remember you on Senny forums...
[Nexus 4 Original Android Development] resynx:
Yeah back then I didn't really post too much xD