yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] romeoliny:
Thanks for the input. I'll give that a shot. After long periods of time a blue cast comes over both fauxclock and displaycontrol app from Franco color controls.

I'll update ya if I get the same issue with trickster mod.
[Nexus 4 Original Android Development] shaider_516:
AndroidOS uses the battery slept for 7 hours.

Battery drain 10%

sent from my awesome Nexus 4
[Nexus 4 Original Android Development] drewtang:
Can I install this on my toaster? Y U No allow moar over clocks??? Will installing this kernel rape my cat???

In all seriousness though, awesome kernel. Great work.

Merry Christmas everyone!
[Nexus 4 Original Android Development] show-p1984:
Possible though improbable.

More likely it's the thermal management that keeps your phone at "normal" temps, as well as 2-phase ondemand and mpdecision that avoid unnecessary heat generation.

Android OS != sweep2wake.

You can disable it if you like to, look at the 2nd post.

Nonsense, sweep2wake is emulating a power button press. The kernel doesn't know the difference, so there is none.

You probably have that too when you switch the phone on/off with the power button and it is unrelated to s2w.

Look at the 2nd post.

And yes, the touch controller is always on, but that drain is less than a plugged in headset with remote control will cause. Not even worthy to mention.

I can't warn about every kernel out there.

It is common practice to revert to the stock kernel with the stock ramdisk of your rom before flashing new stuff and if you don't do that before you flash new stuff, do it at least after you run into problems. Usually it fixes a lot.

I also do not know what the issue is with francos kernel, most probably though because he provides boot.img's which sucks since they overwrite the complete ramdisk.

If somebody should make a note in his op, it's him.

Compared to that I provide the bare kernel and check the ramdisk for stuff that I don't want which gets then changed/removed or I add stuff that I need. Additionally I don't change that much and certainly nothing that makes your ramdisk incompatible with other kernels. You will get init.d support if you don't have it already + I will remove the ramdisk governor overrides.

This should be the way to go, that way it is compatible with all kernel binaries out there.

I fail to see the relevance to this kernel.
[Nexus 4 Original Android Development] shaider_516:
Because its my first time to see this ontop on my battery usage. I only changed kernel from francos, maybe there is something making it awake. performance wise i dont have any problem with it.

sent from my awesome Nexus 4
[Nexus 4 Original Android Development] jhericurls:
Performance of this kernel is great but idle drain is quite high. 20% battery drain last night over 7 hours. Phone was shown as being awake for 3 hours, msm_hsic_host was the biggest wake lock.
[Nexus 4 Original Android Development] show-p1984:
Thank qcom for attaching the cellular modem in the last second to an USB port. :crying:

(since the s4 was never designed for phones)
[Nexus 4 Original Android Development] undercover:
Are you saying that's here to stay? O.o
[Nexus 4 Original Android Development] zimphishmonger:
Ouch , very.sloppy design imo. Just gives us another bus that we need to worry about when assist voltages around the soc (or whatever would be considered the motherboard chipset in mobile hw design).

That would also explain why this thing is so damn hot lol

If I understood him correctly, that was a (poor and lazy) hardware design decision and no software could possibly fix that :-\. It's the way out phone is wired together, to put it very basically....can't change that

Sent from my Nexus 4

Sent from my Nexus 4
[Nexus 4 Original Android Development] w0dash:
Weird Issue

I can not turn on WiFi while I am using your kernel. I flashed your kernel right after I flashed the factory image, so everything should be nice and clean.

Any other kernel works nice with wlan enabled, wether it is stock, faux, motley or franco.

How can this be? I already flashed the factory image many times, and the problem remains the same when I use ur kernel.

EDIT:

Found in this thread that the reason for no wifi was the missing busybox. :p

Maybe you should mention that in the OP.
[Nexus 4 Original Android Development] :
Can i flash this kernel directly coming from franco or do i have to flash something else first?
[Nexus 4 Original Android Development] AppReviewBros:
Yes, flash the stock kernel before flashing the actual kernel.
[Nexus 4 Original Android Development] :
Any idea where i can get that from? I'm running slimbean in case that makes any difference.
[Nexus 4 Original Android Development] w0dash:
I would strongly suggest to look at the first post. :p
[Nexus 4 Original Android Development] :
I really feel slightly retarded right now. Cheers man, merry christmas:)
[Nexus 4 Original Android Development] show-p1984:
To be perfectly honest it wasn't even qcoms fault.

Afaik they attached the modem in a hurry after they noticed that oems were attaching an external modem to the soc in phones (for which the s4 pro was never designed). So they basically saved us from something much worse.

This is also the reason for the increased heat output of the soc, it was never designed to operate with this kind of 'cooling' (not sure if you can call a 1/4 mm thick copper foil cooling)

It seems to perform much better in tablets, qcoms test devices for example.

Everyone that is rooted should have busybox, I can add added it to the 2nd post.
[Nexus 4 Original Android Development] Mahdi786:
Hi Showp, are you using step 192mhz yourself? Just asking because when I had my galaxy s2 kernel devs lowered the step from 200mhz to 100mhz but later found out it causes more battery drain because it has to work harder.
[Nexus 4 Original Android Development] eep2378:
If anyone is having WiFi issues, like show said make sure you have busybox installed.

If you don't its here, simply flash and WiFi should connect without issue :D

http://d-h.st/keT

@show, is your kernel Uv'ed by default or stock voltages(we can lower to what we want)? Thanks again for your work :)

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] tonettothebest:
why not doubletap2wake instead of sweep2wake?
[Nexus 4 Original Android Development] faux123:
because sweep2wake is less likely to be activated accidentally than double tap 2 wake ;)

Showp added nice features to his kernels and he has done his research and put thoughts behind his reasoning :highfive:

Merry Christmas to showp and all for this cool feature :victory:
[Nexus 4 Original Android Development] UZ7:
show put a link up, you could use that:

https://dl.dropbox.com/u/44206202/boot_stock.img

Or use this (motley's)

http://xdaforums.com/attachment.php?attachmentid=1550949&d=1355107145
[Nexus 4 Original Android Development] mbernusg:
flashing stock boot.img doesnt fix bootloop. stuck on rom splash still. should I reflash the rom?
[Nexus 4 Original Android Development] UZ7:
Did you clear out the caches? If that doesn't work then yeah try to reflash the ROM unless you have a backup then I would just use that.
[Nexus 4 Original Android Development] mbernusg:
i did wipe caches and have made a backup, but just for reference - i flashed the kernel.. rom wont boot, flashed a reset kernel from faux's thread still no boot, flashed stock.img boot provided here via fast boot, still doesnt boot, tried to reflash bricked kernel, still nothing. gonna restore a backup, hope others have more luck
[Nexus 4 Original Android Development] show-p1984:
I am guessing that you are not on a STOCK rom, therefore flashing a STOCK boot.img won't help you.

CM10.1?
[Nexus 4 Original Android Development] mbernusg:
STOCK based.. Modaco. Like i said even after i flashed a STOCK reset zip provided in other threads I still can't boot. Never had an issue flashing the reset kernel before.

Sent from my Nexus 4
[Nexus 4 Original Android Development] meangreenie:
running well here, frequencies seem to stick on all cores.. nice
[Nexus 4 Original Android Development] show-p1984:
First of all: Stock based is not stock :p

If you never had a problem flashing the reset kernel before though there might be something else going on apart from the Bricked Kernel flash. If you flash /boot and erase / format the cache you are back to virginity (at least so far as it affects booting the device)

You would have to rename /system/bin/mpdecision and thermald (even though it doesn't work, do it :p) back (from *_bck) once you are booted on another kernel than bricked though, but that does not affect your booting capability in any way.
[Nexus 4 Original Android Development] mbernusg:
Ahhhh so I can only use bricked on a stock rooted ROM? I'll try flash back to stock deodexed and reflash bricked as the only reason I'm on modaco is extended power menu and nav bar mods

Sent from my Nexus 4
[Nexus 4 Original Android Development] Sully6789:
Using this on Xylon, and everything is working perfect so far. Flashed the stock reset UZ7 posted from the Motley thread, then flashed Bricked after a reboot and all is well. Excellent work. Ill be sending a beer your way shortly :thumbup:
[Nexus 4 Original Android Development] show-p1984:
Nope, but you should flash the stock kernel of your rom.

The stock kernel I uploaded is the

STOCK

kernel. Meaning it is pulled from a device that was updated to 4.2.1 with no other changes.
[Nexus 4 Original Android Development] chiensibut:
remember bricked on htc sensation, welcome and hello bricked!! :D
[Nexus 4 Original Android Development] lowrider262:
0.5 stable up and running on cm10.1... first impression is its very quick and responsive!:thumbup: will test battery life tomorrow. thanks show-p for supporting the N4, was a big fan of your work on the sensation:beer:
[Nexus 4 Original Android Development] kennyp987:
seeing your kernel here got me very excited......also made me miss my touchpad! you rock!
[Nexus 4 Original Android Development] chrisnk204:
SHOOOOOOWWWWWW ive been waiting for you lol saw faux show up in the N4 thread and knew you would be coming soon by far my favorite kernels WELCOME, MAKE YOURSELF AT HOME :)

---------- Post added at 12:21 AM ---------- Previous post was at 12:18 AM ----------

Please tell me how the f**k this will work ? Lol no capacitive buttons
[Nexus 4 Original Android Development] show-p1984:
Neither the shooter, endeavoru, nor the pyramid had capacitive buttons. The touchscreen digitizer was extended till the bottom and they just put a few lights below that.

buttons #done.

And it does work. I am currently doing some fine tuning and long term testing (1-3 days in use).

It might hit the kernel (as stated earlier) as a Christmas present :)
[Nexus 4 Original Android Development] ceejay83:
sweep2wake? i'm assuming it wakes up the phone with a gesture. if so, that's awesome. miss pgm
[Nexus 4 Original Android Development] raycaster3:
Soon as I saw your name, I knew s2w was going to be in the works. I loved it on the sensation. My wife did so much (passed it to her) that she still swipes her One S every now and then. :p

Good to see you here.

DARKSIDE
[Nexus 4 Original Android Development] mpttrung:
After flashed back to stock kernel and then flashed this kernel, it works but wifi cannot turn on :(. Any1 same here ?
[Nexus 4 Original Android Development] mbernusg:
Got it to boot on modaco!! Had to format cache in mounts and storage again AFTER the flash? I don't even care why I'm just excited to get your kernel on my phone thank u sir

Sent from my Nexus 4
[Nexus 4 Original Android Development] show-p1984:
(System Tuner)

It shows a lot of time @192 because I have hooked it up to usb for kmsg greps a looong time.

Yes I do, and that is nonsense.

The governor is scaling up as soon as there is more work to do. I'm not locking down the cpus to 192Mhz.

This:

Thank you, take this smile:

(I just love the image ^^)

Merry Christmas! :)
[Nexus 4 Original Android Development] eep2378:
Regarding init.d support. I usually like to run an AFTR deep idle script. Any reason why that wouldn't work?

Also. Great job getting sweep2wake implemented. Power button across the world say "thank you" lol
[Nexus 4 Original Android Development] noneabove:
If we use dual core mode can we essentially emulate the regular s4 or are there other problems with the pro? Besides of course the modem usb thing
[Nexus 4 Original Android Development] show-p1984:
userinit will execute any script following the common userinit name definitions (xxname, xx = any number between 00 and 99).

Actually I get a lot of 'hate you' letters from power buttons, they get paid less and some of them even got fired. They blame me. :(

The s4 pro and the s4 have a different internal setup, it's not just '2 cores added' = s4 pro.

mpdecision allows you to restrict your soc to single/dual/triple core though if you want to, look in the second post how to do that.
[Nexus 4 Original Android Development] eep2378:
Well at least I'll put mine on a paid leave ;)
[Nexus 4 Original Android Development] drms12:
Showp, and the kernel is awesome, and sweep2wake is working good, but every game is lag. It feels like I play with my old nexus a and not nexus 4. With stock kernel games did worked smooth.
[Nexus 4 Original Android Development] show-p1984:
I do very much doubt that.

Lets list a few I play without a problem:

Dark shadows,

Dead trigger,

Dead Space,

Horn, (bought it, doesn't let me install it on my n4 so I copied it from my n7 and hacked it, #works)

Beach buggy,

GTA3,

Babel Rising 3D,

Both Temple Run Games,

all Angry Birds games,

bad piggies,

chess 3d,

draw something,

wordfeud,

sudoku,

etc...

None of those lag, just to name a few.
[Nexus 4 Original Android Development] drms12:
Let's say temple run lag a lot for example. I tried it before root and it worked fine, fast and smooth. Now it's lag every few seconds. I'm the only one with slow gaming?
[Nexus 4 Original Android Development] ceejay83:
I don't know i was experiencing lag with dead trigger, vice city, and granny smith. I even did that governor tweak
[Nexus 4 Original Android Development] Somairotevoli:
Those with issues, what is your setup? ROM, governor, min max, game with issue, etc. Might help

Sent from my Nexus 4 using Xparent ICS Tapatalk 2
[Nexus 4 Original Android Development] noneabove:
Hey showp I mentioned this in faux's thread, but i think you two should work together to make a super kernel ;) if you add your mpdecision and thermal plugging you'll have the best of both kernels! :D
[Nexus 4 Original Android Development] ceejay83:
Xylon with stock kernel settings. Switched to faux and everything is smooth again.
[Nexus 4 Original Android Development] Connor Baker:
That would be pretty awesome. I'd love GPU/CPU OC/UV! Plus I love having lots of governors and io schedulers :P It would be more work for the both of them to take on however.

Connor Baker
[Nexus 4 Original Android Development] noneabove:
Sadly true, but a dream i have is waking up and seeing a thread titled faux n' show ;)
[Nexus 4 Original Android Development] testnumero:
Yes all games are laggy except if i use interactive but the problem with interactive is that when the screen is off then turning it on the phone starts to be laggy for about 1 minute :-s
[Nexus 4 Original Android Development] eep2378:
Is this kernel UV'ed by default? If so by how much?
[Nexus 4 Original Android Development] bryman27:
Nope, stock voltages for all the stock frequencies.
[Nexus 4 Original Android Development] extremecarver:
I'm using rasbeanjelly, and unlocked/rooted. I have installed busybox free, but I don't get wifi enabled. I tried to go to init.d folder as described, but it won't let me saying it doesn't exist - even though I can see it in android terminal emulator with ls.

Is busybox full version needed? I tried both smart install and normal install to no avail. I did grant it su of course on installation.

Any other ideas. Using stock kernel or motley or franco (I always flashed a restore kernel after use) wifi works.
[Nexus 4 Original Android Development] meangreenie:
Cure for Temple Run lagginess with ondemand.

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

probably crazy values but is working well on my phone
[Nexus 4 Original Android Development] Crimsonthunder:
Read the end of the 2. Post. There is a part which should help you. The headline is "Why do I have no WLAN"
[Nexus 4 Original Android Development] jarjar124:
I think he already looked there
[Nexus 4 Original Android Development] P0MM3S:
oh nice, what's your "hack" for getting horn to work? that would be very interesting....

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] meangreenie:
Any chance for the touch firmware check can be removed as has the Matrix kernel? I would like to run the 015 driver without installing it everytime.
[Nexus 4 Original Android Development] Crimsonthunder:
Oh sorry I have missed that
[Nexus 4 Original Android Development] jarjar124:
I'm sure he already said something about this....
[Nexus 4 Original Android Development] eep2378:
Look back a few pages I posted a link to busybox package. Flash and wifi shoud work :)
[Nexus 4 Original Android Development] extremecarver:
I used that busybox version, and flashed it in twrp recovery. Still wifi broken.

Actually I looked into the system/etc/ again, and I don't have init.d folder, I can only find init.d script. I suppose that's the problem - maybe busybox is not correctly installing on rascarlos rasbeanjelly?

I seem to be the only one here with this prob.

---------- Post added at 09:50 AM ---------- Previous post was at 09:26 AM ----------

I flashed slimbean and now with bricked, wifi works. Rasbeanjelly no way for me to get wifi to work though!
[Nexus 4 Original Android Development] show-p1984:
+ a kmsg log to see what's going on.

GPU OC will be included with one of the next versions, though I think it is unnecessary.

Schedulers will stay stock, except their settings and one exception that will be included soon(tm).

Governors will only be included if the maintainer is able to open pull requests on github or via email. I will not and cannot maintain 14 different governors at the same time + think of new features and write them. The governor rich kernels are clearly a job for people who do not write their own code.

At this time I decided not to disable that firmware update function.

The reason is simple:

If you enter recovery it will load it's own kernel, which will update your touchdriver firmware. So basically every time you enter recovery you also need to flash your touch firmware back to the old one.

Unless recovery maintainers decide to disable the touch fw updates, it doesn't make much sense to remove it from my kernel. It would also hinder the ease of future updates.

I think that issue existed before with Rasbeanjelly. For some reason that rom has an init.d file instead of the folder under /system/etc. I suspect that the folder was corrupted at some point and is now shown as a file.

Either way the installer will not overwrite files within the init.d folder (which is a good thing it would otherwise overwrite all your existing scripts).

To fix that you just need to remove the init.d file under /system/etc and reflash the kernel. As long as you have busybox installed (and I do not necessarily mean the app, having the binary is enough) you will have init.d support upon boot and wifi + cifs + tun will be inserted automagically.
[Nexus 4 Original Android Development] Shaky156:
Show-p1984

Can you please put the max oc gpu freq value to 450?? Faux has it at 484 imo its too high
[Nexus 4 Original Android Development] jacklebott:
Faux's is at 487 actually. But I suppose that just proves your point further
[Nexus 4 Original Android Development] Shaky156:
Someones paying attention haha yeah i knw its in the >480 <490 but its too high, causes artifacts, ive tested with 450mhz max gpu oc n it works very nicely
[Nexus 4 Original Android Development] :
Who the hell needs an overclocked gpu? This gpu is way too overpowered for anything we could throw at it already. Wtf seriously?
[Nexus 4 Original Android Development] Shaky156:
A lot of people may think its unnecessary, but show-p has already said he will include it in the next version, all ive requested is for it not to be so high as faux123 gpu oc, 450mhz is whats on the msm8960, considering its the same chip except for the built in modem (msm) & qualcomm have set the gpu freq to 450mhz on the msm8960 and ive tested on the apq8064 gpu 450mhz stable, 450mhz on gpu sounds pretty good :) makes sense and our chips are capable of handling it.
[Nexus 4 Original Android Development] meangreenie:
Overclocking the gpu means we lose a slot for scaling to combat overheating.
[Nexus 4 Original Android Development] jamesalfred:
Well, some people just LOVE to see their phone burning through the benchmarks :laugh:

Anyway, I think it's still ok as long as it can throttle down when not needed...

In other news, does anyone agree here that we need a Fast Charge feature? My Nexus charge really slow in the outlet...... Don't flame me please...
[Nexus 4 Original Android Development] lnfound:
I don't think fast charge affects outlet charging, only makes usb charging faster no?
[Nexus 4 Original Android Development] jamesalfred:
Well, I'll try it later. Currently using another kernel for fast charging (Matrix). When using an outlet USB charger (0.5 A, 1 A and 1.2 A), they charged full from 4-6% to 100% in around 3 hours...... I'll need to test this further if fast charging really has an effect....
[Nexus 4 Original Android Development] jarjar124:
fast charging works only when it is plugged into a computed with a usb cable....
[Nexus 4 Original Android Development] maufega:
First cycle, perfect and very fluid

Thank you very much
[Nexus 4 Original Android Development] Ace42:
I agree, I've been saying how the GPU isn't even utilized at the normal 400. Therefore 400+ would be straight overkill. Dead trigger, Most wanted, contact killer, ray man, and riptide are all smooth at 200mhz. What I mostly want is a 3xx frequency to be between 200 and 400. Also if possible it would be nice if the devs had GPU UV.
[Nexus 4 Original Android Development] saadi703:
How to go back to stock kernel? Just flash the stock kernel or anything else is required as well?

---------- Post added at 10:39 PM ---------- Previous post was at 10:27 PM ----------

If yes then so I have to use Odin to flash the boot.IMG? Do I need to rename any files?
[Nexus 4 Original Android Development] FirelordAzula:
I want to warn anyone using Chainfire's livedmesg or livelogcat applications to modify their boot animations:

After flashing this kernel and (hopefully) wiping your cache/dalvik cache, do NOT touch the screen while it says "Optimizing apps..." or "Upgrading..."; attempting to switch between the dmesg and logcat (or splitscreen) at this stage will cause your device to freeze and reboot.
[Nexus 4 Original Android Development] noneabove:
Only problem with newest kernel is odd lag while swipe typing.. Everywhere else is smooth but typing is really slowed down
[Nexus 4 Original Android Development] w0dash:
Is it necessary to wipe the (dalvik) cache manually?
[Nexus 4 Original Android Development] eep2378:
I don't believe you can use Odin as its mainly for Samsung devices. If you want stock kernel look in fauxs thread in OP for reset kernel zip. Simply flash that then bricked.

Sent from the Nodes of Ranvier