yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] M4sAREawesome:
Can someone provide the stock kernel for the n5? I've looked for a zip of it but i can't find it, i don't know to use the command prompts and adb stuff figured it'd be simpler to just flash a zip of the stock kernel

---------- Post added at 06:50 PM ---------- Previous post was at 06:49 PM ----------

Do you have the zip of the stock kernel ?
[Nexus 5 Original Android Development] fitzman49:
It's in the first post of this thread.
[Nexus 5 Original Android Development] motoridersd:
You can download the stock 4.4 image and the stock kernel img is in there.

There are plenty of threads about getting the OTA to flash and going back to stock.

I've been using Faux for a long time and never had issues with the latest 4 beta 6, which is the release if I'm not mistaken. I just went stock to have 4.4.1 as well and the camera improvements are amazing. I'll stay stock for now but looking forward to a compatible faux kernel update.
[Nexus 5 Original Android Development] M4sAREawesome:
I found a link to the stock kernel so it should be the right one and i've flashed it. The reason why i wanted to go back to stock kernel is because i wanted to flash 4.4.1 but it doesn't seem to be working for some reason it keeps saying 'failed'. I don't know how to adb sideload and they said if you had a custom recovery you can just flash
[Nexus 5 Original Android Development] motoridersd:
Check out this thread

http://xdaforums.com/showthread.php?t=2556906&goto=newpost
[Nexus 5 Original Android Development] M4sAREawesome:
Thanks, there was also a comment on that thread explaining how to adb sideload so i'm gonna fiddle around with that and see if i can get it to update my N5. If not then maybe i'll just wait for a stock 4.4.1 ROM
[Nexus 5 Original Android Development] ldkud50:
I installed 4.4.1 and Faux 4m everything seems OK.
[Nexus 5 Original Android Development] M4sAREawesome:
Ugh i just cannot get it to work at all i'm lost. All i wanna do is update to 4.4.1 i have TWRP but it wont successfully flash on there and i've been trying to ADB sideload it but i have no idea how to use that and i dont even know if i have it set up correctly.
[Nexus 5 Original Android Development] ldkud50:
I flashed stock system.img, boot.img, and kernel. Then flashed the OTA in TWRP then TWRP asked to install SU to re root and everything was fine. Rebooted then I flashed faux kernel not even thinking there would be a problem. Seems OK.
[Nexus 5 Original Android Development] DoesntPostAThing:
Flash system.img and boot.img from the factory images, download OTA zip, flash that. Then fastboot flash TWRP and with that flash root and Faux kernel zips.

Also, 004m seems to be performing quite nicely. Performance is just like stocks, even using the same frequencies during the same tasks (pattern almost identical). One thing I'm missing though is the new 4.4.1 haptic feedback, the shorter burst vibrations just feel a lot better than the duller ones of 4.4. I'll probably stay with 004m since performance is identical and I get gamma controls :D
[Nexus 5 Original Android Development] M4sAREawesome:
Yeah i just kind of didn't wanna have to do all that since the system.img is a huge file and my internet is not that fast. Does flashing the system.img delete your data and stuff though ?
[Nexus 5 Original Android Development] AndroidKills:
Don't give up,this is your solution.

If you're on stock rom with a custom kernel or anything not stock, head over to

http://xdaforums.com/showthread.php?t=2507861

Download the odex one (obviously) its a big file.

Next just flash it; stock over stock nothing really changes except everything goes back to stock, like your kernel hehehe.

After you finish flashing that, go ahead and flash the new update.

also get the new SuperSU too and have it ready to flash right after.

EASY AS PIE, NO NEED TO DEAL WITH FASTBOOT/ADB. The only hassle is waiting to download the whole 300+mb of the stock zip. And this is 100% guaranteed, it will not fail.
[Nexus 5 Original Android Development] muyoso:
Its really simple when you understand the basic behind using adb and fastboot.

Download platform tools here:

http://xdaforums.com/attachment.php?attachmentid=2386973&d=1384223778

That is a direct link btw.

Then download the KRT16M image here:

https://dl.google.com/dl/android/aosp/hammerhead-krt16m-factory-bd9c39de.tgz

That is a direct link again.

Then extract the platform tools to your desktop or wherever. I'd recommend doing so on your C:\ drive as its really nice to have. Then extract the KRT16M image to a folder on your desktop. We are going to be deleting this folder when all is said and done as it gets pretty big. Then extract the zip file that is in that folder again right into the same folder. So you should have a bunch of .img files in there.

Now what you want to do is hold down shift and right click on your platform-tools folder, and select open command prompt here. Now you are going to want to type a couple commands, but you are going to need to know the folder location of where the .img files are.

fastboot flash system C:\Users\XXXXX\Desktop\imgfilefolder\system.img

and

fastboot flash boot C:\Users\XXXXX\Desktop\imgfilefolder\boot.img

then you should be able to flash the zip file through your recovery fine. This method worked for me perfectly.

---------- Post added at 09:07 PM ---------- Previous post was at 09:05 PM ----------

Flashing system.img will not delete your user data.
[Nexus 5 Original Android Development] ldkud50:
Flashing system won't delete your apps and data.
[Nexus 5 Original Android Development] DoesntPostAThing:
No it doesn't. Would you like me to just upload my system.img and boot.img so you don't have to download all the factory images?
[Nexus 5 Original Android Development] M4sAREawesome:
Where could i find that SuperSU zip? Thanks alot for the help , i'm downloading the stock image thing now
[Nexus 5 Original Android Development] AndroidKills:
right here

http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip
[Nexus 5 Original Android Development] M4sAREawesome:
I'm done downloading the stock zip and supersu now i'm ready to flash everything. But one more question , will i keep root ?
[Nexus 5 Original Android Development] AndroidKills:
some poeple have lost it, some people were able to maintain it. flash the new superSU for safe measures. Cant go wrong for using an extra 3 seconds or so!
[Nexus 5 Original Android Development] M4sAREawesome:
It seems to be working, it's flashing the update now thanks alot man. Everyone who tried to help , y'all were all extremely helpful. What i dont get is how now it's flashing correctly when i pretty much had my phone stock everything except for fauxkernel which i even reverted back to normal but still it wouldn't flash.
[Nexus 5 Original Android Development] AndroidKills:
Hmm maybe you had a navbar mod, volume boost mod or some kind of other tweaks. for some reason it kind of checks for the originality(stock) of all system files before updating. Even tweaked apps / google apps, like Google earth haha. For me i had more than just a custom kernel; i had the navbar mod and some other tweaked files in the system directory.

Had to get back to completely stock for everything to get it to work
[Nexus 5 Original Android Development] M4sAREawesome:
The only tweak i had was a volume boost mod but i had long ago reverted it back to stock maybe it stuck around somehow idk. But that's it , that and Faux kernel with Faux sound but i even reverted all that back. Yup my phone just upgraded all the apps and i just checked and it's successfully on 4.4.1 ! Thanks a lot dude
[Nexus 5 Original Android Development] AndroidKills:
np! Glad it worked out for you.

On topic - Can't wait for Faux to get a 4.4.1 kernel working so i can use his beastness + the new improvements.
[Nexus 5 Original Android Development] M4sAREawesome:
Yup me either ! The camera focusing is much faster , the speaker sounds a bit better too. Overall it's a good update in my opinion, now I can't wait for the new Camera API and the redesigned Camera App !

---------- Post added at 09:31 PM ---------- Previous post was at 09:29 PM ----------

I didn't even realize we were on the FauxKernel Thread, oops I hope people aren't too mad that i was off topic on this thread

---------- Post added at 10:20 PM ---------- Previous post was at 09:31 PM ----------

Darn i dont know what happened, everything was working just fine. I booted into recovery so i can make a backup and it did it and everything then i rebooted and it never booted back up it was stuck on the color spash screen. I even force turned it off then tried again to boot up but nothing. Then i i did a recover of the backup i had just done and even with it it didnt boot at all. Im gonna flash back stock and see what happens
[Nexus 5 Original Android Development] AndroidKills:
Your best bet would be, to flash the stock zip again. hopefully it all works out.

i've rebooted into recovery a few times and encountered zero errors so far.
[Nexus 5 Original Android Development] tangcla:
I'm using kernel 4m on 4.4.1 with no problems (touch wood).
[Nexus 5 Original Android Development] M4sAREawesome:
Yup i did that, to be safe i actually flashed 4.4 first and then 4.4.1

It booted back up fine now, but i haven't booted into recovery and done anything on there yet so i dont know if it would happen again. Maybe it's cause of the backup i did ? Idk ..
[Nexus 5 Original Android Development] DoesntPostAThing:
There should be no issues. Usually you can share kernels between x.x.1 updates. One exception was 4.2.1 to 4.2.2 where they changed something to do with GPU. Otherwise it should work just fine. Of course, it'd be nice to have a kernel that includes the updates from 4.4.1 such as the new vibration pattern.
[Nexus 5 Original Android Development] shadowblade330:
Kernel 004m seems to work fine on the new update
[Nexus 5 Original Android Development] th3xeroeagle:
EDIT: thanks fixed
[Nexus 5 Original Android Development] WugFresh:
Just wanted to say thank you so much [MENTION=3332811]faux123[/MENTION] for your work on this hybrid kernel and fauxclock support - I have been using it on my N5 as my daily driver and it has been excellent. Cheers. :D

{{ WugFresh }}
[Nexus 5 Original Android Development] DoesntPostAThing:
Just a note that video recording doesn't work on custom kernels made for 4.4 if you're using 4.4.1. I'm guessing something changed in 4.4.1's kernel and we'll have to wait for Faux/other devs to merge the new code.
[Nexus 5 Original Android Development] doubleho:
thz for yr toolkit, every time therez an ota update i use yr toolkit to flash stock kernel,system

i just used it today for the 4.4.1

really appreciate yr work, saved me several times when i tgt my nexus 5 or 7 was dead
[Nexus 5 Original Android Development] scapaflow1887:
May i missed it? Where can i find the toolkit? TIA
[Nexus 5 Original Android Development] DoesntPostAThing:
You could just use fastboot to flash the system and boot images. Then boot into TWRP or CWM and flash the OTA zip like any other zip. Then flash root and Faux kernel, and you're on 4.4.1.
[Nexus 5 Original Android Development] cabagekiller:
Anyone having an issue with intelliplug where it makes the min go to the max freq?
[Nexus 5 Original Android Development] danarama:
Always read the last few pages of a thread before posting and where ever possible, use the "search this thread" function.

Both of these actions would tell you yes

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Original Android Development] Striatum_bdr:
Yes, and had also soft reboots and one phone freeze. So reverted to 4beta6.
[Nexus 5 Original Android Development] :
Flashing faux always kills my superuser, is there a way to fix that?
[Nexus 5 Original Android Development] fradbari:
I've big battery drain when slide2wake or touch2wake are enabled..

What i can do for decreasing battery fault?
[Nexus 5 Original Android Development] PiggySmalls:
You answered your own question. You'll have to turn those features off, they eat a lot of battery.
[Nexus 5 Original Android Development] fradbari:
:p

waiting for new less aggressive version....i suppose :good:

Tnks
[Nexus 5 Original Android Development] PiggySmalls:
I don't know if there will be one, I wish there was, as I use both features myself, but I'm never away from a charger either.
[Nexus 5 Original Android Development] Grondinm:
i don't know that you should hold your breath for this. Keep in mind that in order for these features to work part of the phone(that normally turns off when it goes to sleep) has to be kept on so they can be ready to react at any moment....so not much can be done to make them less battery hungry i don't think
[Nexus 5 Original Android Development] ldkud50:
Can someone post 4.4.1 stock kernel boot.img.

Someone on Faux Kernel Google+ page posted it http://192.241.177.15/Nexus5/4.4/stock_kernels/
[Nexus 5 Original Android Development] Michealtbh:
There's no kernel in the update.zip so I believe it's the same
[Nexus 5 Original Android Development] danarama:
/patch/boot.img.p possibly
[Nexus 5 Original Android Development] Michealtbh:
You're right, missed that
[Nexus 5 Original Android Development] fradbari:
probably you are right

I can guarantee that on my old galaxy s2, this feature did not consume anything;)
[Nexus 5 Original Android Development] htowngator:
I'm sure Faux can patch his kernels to 4.4.1 fairly easily since it was mostly an update for applications
[Nexus 5 Original Android Development] ldkud50:
I tried fastboot with the boot.img.p and it failed.
[Nexus 5 Original Android Development] slayp00n:
Because its not a full file its a patch.
[Nexus 5 Original Android Development] :
Everything works on new 4.4.1 except Video recording.
[Nexus 5 Original Android Development] bilago:
Does this kernel support CM11?
[Nexus 5 Original Android Development] afazel:
No
[Nexus 5 Original Android Development] :
So does the kernel work on 4.4.1 already?
[Nexus 5 Original Android Development] :
Video recording does not work on 4.4.1 with this kernel.
[Nexus 5 Original Android Development] sterod:
Sweep2Wake Help

Guys, I'm having trouble getting Sweep2Wake to behave the way I want. Running FauxClock 1.5.6 with the V4 mainstream kernel on a Nexus 5 with 4.4, rooted of course.

I want Sweep2Wake to respond to a swipe from the bottom edge of the phone to about 1/3 of the way up.

I've gotten the approximate coordinates by enabling the pointer location in the developer options.

My settings (that don't appear to be working) are as follows:

Start Position: 1900

Mid Position: 1600

End Position: 1300

Threshold: 300 (I have no idea what this does, and explanation would be helpful)

Orientation: 1 (I assume 1 is correct, as that is what the setting is in the Vertical preset)

Suggestions?
[Nexus 5 Original Android Development] show-p1984:
The kernel needs an upstream merge. Something like this:

https://github.com/showp1984/bricked-hammerhead/commit/1267a836a423109151be0a8a9e6084f833ade295
[Nexus 5 Original Android Development] ÜBER™:
So I went to go see if the grass is greener on the other side of the fence with Franco kernel. It was nice, but nowhere near as efficient battery wise. Now back on the latest 004Beta6 of faux and just wow. Nearly an hour of screen time with only 10% lost. That's almost as good as my N7 FHD.
[Nexus 5 Original Android Development] :
I actually just did the same thing.... im on Franco now just cause I want to have the latest and greatest.... we'll see how it goes... not too optimistic with Faux's recent post about him being busy.... but im hoping to be surprised.
[Nexus 5 Original Android Development] notbrodie:
just had a random reboot. was listening to play music, unlocked phone, then hit home button and wham... reboot. last line of last_kmsg says wdog_bite. wonder what that means?\

see log
[Nexus 5 Original Android Development] show-p1984:
You got bitten by the watchdog.

A watchdog is exactly what it sounds like. It's a piece of code sitting in a corner and waiting for the system (or a part of the system, like the radio, kernel, an app, etc, etc...) to be unresponsive for a specific time and then resets the system to prevent a total system hang where the user has to do it, or some fatal system damage in the case of something hanging that could affect system health (eg: All cpus spinning in a loop would qualify as a protection-reboot, since those would generate 100% cpu load and heat)

Some watchdogs issue barks first, to allow the system to recover, some don't.

There is also a watchdog inside the soc somewhere on a chip (hardcoded) that watches over soc internal stuff, you got bitten by one.

Probably because you use a 4.4 kernel on 4.4.1? :)
[Nexus 5 Original Android Development] notbrodie:
still on KRT16M. running cataclysm. never seen that issue before. I'm not too worried about it. Most of faux's kernels have been solid. probably just a fluke. only posted out of curiosity to know what caused it.

hit thanks limit... so, thanks!
[Nexus 5 Original Android Development] tibere86:
intellidemand + intelliplug as governor and hotplug manager I assume?
[Nexus 5 Original Android Development] ÜBER™:
Actually ondemand. There are a couple of random micro-stutters though, might tweak the governor a bit to smooth those out.
[Nexus 5 Original Android Development] tibere86:
Trinity Ondemand settings? :p
[Nexus 5 Original Android Development] masterchif92:
Why on faux kernel the gamma control doesnt work and with elemental yes?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] ÜBER™:
Not aware of em, and faux on demand is a little more involved iirc. I haven't used trinity in a while.
[Nexus 5 Original Android Development] aSquard:
I'm trying to fix my "backup failed" message on my Nexu5 and 7 - Does it matter which busybox we use? Or is one better than the other?

Edit: I found one that works
[Nexus 5 Original Android Development] wollyka:
i am getting a lot of this below error when using this kernel every time i touch the screen using intellidemand , mpdecision off

E/PowerHAL(31075): touch_boost: failed to send: Connection refused

If i enable mpdecision, the error goes away

Using 4b6, stock android 4.4.1
[Nexus 5 Original Android Development] notbrodie:
Just ignore it

Sent from my Nexus 5
[Nexus 5 Original Android Development] Apokalypzx:
I noticed a problem with what seems to be the hotplug driver? I'll be listening to music on Google play and browsing on chrome and chrome gets really choppy. I checked the frequencies and active cores while doing this and the first core is loading 100% at max frequency and no new cores were activating to relieve the first core. And no overheating or throttling.

I run intelliplug and interactive (though I tried performance, ondemand, and intellidemand, none fixed the problem). Switching to stock hotplug fixed it though, but is obviously not a desirable solution. Other settings are Intellithermal: 80 frequency and 85 core. 2,266 max, 300 min frequencies. Kernel release 004.
[Nexus 5 Original Android Development] MrPhilo:
You might have undervolted too much, at first it might seem fine and all but in the long run, it might randomly reboot (when it hits a certain frequence voltage). This has happened before and sometime I lose my data so i'm stuck on the bootscreen. But THIS has only happened to me on the Nexus 4 and Nexus 7 2013, I think Nexus 5 watchdog is better or something, I haven't lost my data yet after all the watchdog, I've undervolted less and I haven't seen watchdog yet.
[Nexus 5 Original Android Development] wollyka:
so the error is normal while using intelliplug?
[Nexus 5 Original Android Development] notbrodie:
odd. i've been using the same UV since i got my phone a month ago...

yes
[Nexus 5 Original Android Development] DoesntPostAThing:
I ran a few tests and it seems that intelliplug has issues right now. Or not. Either way, it scales up a lot less aggressively than mpdecision. While this may be good for battery, it can also cause stutters when frequency isn't high enough. Right now I'm on 004m as 004u gave me freezes which I'm guessing are due to cores 2 and 3 running at an unstable 2.49 GHz (my max is 2.26, snake charmer on, yet cores 2 and 3 still go up to 2.49. Cores 0 and 1 are fine). Using ondemand with mpdecision and it's as smooth as ever. Battery is good too, but that's subjective so I won't go into that.

Sent from my Nexus 5
[Nexus 5 Original Android Development] MrPhilo:
A 'month' ago, more features have been added into the kernel thus needing more voltage to run properly.
[Nexus 5 Original Android Development] noodles2k:
Er what? :eek:
[Nexus 5 Original Android Development] daewond3r:
Are the days of faux + CM over? If so, I am le sad.
[Nexus 5 Original Android Development] Cuzz1369:
Blame cm not faux
[Nexus 5 Original Android Development] :
Sorry for being a newb, but will this operation do the trick?:

- Turn off SuperSU

- Flash the stock kernel (or KTM16? I dont know what that is but apparently its a stock substitute)

- Flash the 4.4.1 update via CWM? This wont delete anything?

- Flash faux back with CWM? This wont break naything besides video recording apparently?

I really don't know fully what I'm doing so if anyone could help me out, that'd be great. Apparently this update fixes the speaker/sound volume issues, battery life, and camera; with that stuff fixed, this phone would be almost perfect for me! So any help is much appreciated! Thanks!
[Nexus 5 Original Android Development] daewond3r:
Oh yeah, not blaming faux at all. I know CM chose their path, just sucks. I may end up leaving CM for stock just to run faux.
[Nexus 5 Original Android Development] DoesntPostAThing:
Follow instructions here: http://xdaforums.com/showpost.php?p=48176706&postcount=5603

If you don't want to/know how to fastboot flash boot images then just download this http://xdaforums.com/showthread.php?t=2518816 and flash it in recovery. After that just flash the 4.4.1 update in CWM. No data will be lost. Once that's done flashing go ahead and flash the root zip as well as Faux kernel. Everything works just fine, except you won't get the enhanced vibration of 4.4.1 (yet), and video recording doesn't work.

You could try other custom ROMs? There are other ones like AOSPA or Omni if you're going after a more "pure" experience. Of course, stock isn't really lacking much now and I've been on stock rooted ever since I got my Nexus 5 with no complaints. Waiting for AOSPA to release though.
[Nexus 5 Original Android Development] interqd:
hi..

just wonderin if this kernel has double tap 2 wake and slide to sleep feature ??
[Nexus 5 Original Android Development] Jur1nator:
I am in the same boat

Buuuuut, if we are lucky maybe we find somebody to modify und make the latest faux kernels compatible to cm

In the Nexus 4 there was a guy doing that on every new release.. Was awesome, best of both worlds
[Nexus 5 Original Android Development] Striatum_bdr:
OMG it's been asked several times a day, boring....

Should be added to OP if faux has time during his present over busy days.
[Nexus 5 Original Android Development] ApriliaM3:
Thread cleaned... Just press the report button in future guys.

Thanks
[Nexus 5 Original Android Development] linezero:
Some people jst making huge profit out of this one jst by selling the kernel for MVR 250 = $16.18 -_-

hate people like this >.>

http://www.ibay.com.mv/speed-up-your-nexus-4-o586895.html
[Nexus 5 Original Android Development] :
Whats the problem with somebody offering a service? You don't get mad at the guy that repairs your car because you can't do it, right?
[Nexus 5 Original Android Development] danarama:
He is not selling the kernel or the work of other devs. He is offering a root and install service which many people do pay for these things at mobile phone repair shops.

That said, people who either don't know how to or cant be bothered to root their phones - probably shouldn't own rooted phones

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit