yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Guti1977:
I would like to start by saying that this is one of the bests custom kernels that I have used with my Nexus 5. However I have noticed that after updating to version 1.04, coming from 1.00 the screen flashes on and off four a second.

This happens randomly and sometimes it won't happen for several hours.

I flashed the non-express and express versions, thinking that I was something with the settings of the non-express version but that didn't make a difference.

I have just go back to version 1.00 and I will keep an eye on my phone to see if it happens again; however I would like to keep it updated to the latest version :p

Any ideas?:confused:
[Nexus 5 Original Android Development] flar2:
Do you have the wake timeout enabled? It turns the screen on then off to disable sweep2wake.

Other than that possibility, there are no significant changes between 1.00 and 1.04.
[Nexus 5 Original Android Development] notbrodie:
UV: -25 in aroma, another -25 global after boot, no UC, brightness control by lux (10-100 in the daytime, 1-20 at night), 70/30 wifi/data, sync on (calendar, contacts, chrome, gmail, google photo backup, play music), location set to battery. no other tweaks. in a 24hr usage period, i don't get less than 4 hrs screen time.
[Nexus 5 Original Android Development] Guti1977:
Thanks for your prompt reply flar2, I do have the Knock Code module from MohammadAG running, not sure if that could be the application that is causing the brief flash.

It has happened again running version 1.00, so yes for sure it is not something with the latest version.

I have disabled Knock Code already and I'll let you know if that was the culplit; however it would be great if you two guys work this together so that the Knock Code application works with the screen off just like the LG G3 :fingers-crossed:
[Nexus 5 Original Android Development] augoza:
If im using the PA rom should I flash stock aosp elemental or the CM one?
[Nexus 5 Original Android Development] :
Aosp
[Nexus 5 Original Android Development] jrn2k:
aosp one!
[Nexus 5 Original Android Development] silvan g:
Aosp
[Nexus 5 Original Android Development] danarama:
All ROMs use the AOSP/STOCK one UNLESS

1) The ROM is CM

2] The ROM explicitly states it is based on CM
[Nexus 5 Original Android Development] TooYellow:
Just thought I'd mention that switching to this kernel fixed my BT problems on CM 11. My Pebble doesnt disconnect anymore. Not sure if there is a conneciton but thanks anyway!
[Nexus 5 Original Android Development] magnamentis:
well observed :)

yes that's true and if you are interested to learn more about that you can follow the posts of "myfluxi" in the nexus 5 cm11 thread where he explains in various of his posts why this is. he also explains why CM cannot make use of the code flar2 is using here which means that they have to find an own solution (workaround) partly by cherrypicking. however to be fair, it was much much worse a few months ago so a lot has been achieved lately. only thing is, that for those who need it it's such a basic feature, one which should never fail at all IMHO. but just read for yourself, unfortunately i do not have the post number at the ready but a bit of a search will certainly lead you there :)
[Nexus 5 Original Android Development] TheAntagonist:
If I wanted to change a few options that the setup provided during flashing the .zip file, can I just flash it over my already flashed ElementalX kernel?
[Nexus 5 Original Android Development] citizeninsane89:
Can I flash 1.04 on a 4.4.2 rom?
[Nexus 5 Original Android Development] djmigues:
Flash the zip again and change what you want. If you know what you're doing, you can also change options in the conf file.
[Nexus 5 Original Android Development] Maxamillion:
So something weird just happened.

My phones screen turned off and it wouldn't turn back on. I could still here the little sound when you take a screenshot but it wouldn't turn back on. I had to hold the power button for a couple seconds until it rebooted.
[Nexus 5 Original Android Development] anirudhnyg:
Just flashed 1.04 in the morning ! And lost the faux analog gain option in faux app ... Will it be back ? The analog gain really improved sound quality for me
[Nexus 5 Original Android Development] dechronic:
The converter inserts a f2fs kernel in the ROM zip file. If you then install ElementalX 1.04 on top of that it will use that kernel's ramdisk and therefore it should boot without any problems.
[Nexus 5 Original Android Development] Viper LABs:
Couldn't find that post anyway, would you please to point on it?
[Nexus 5 Original Android Development] drawde40599:
its not recommend but AOSP version works fine on a 4.4.2 ROM . not sure about CM version anymore

sounds like a SoD maybe ? If happens agn Post some more info, what kernel version ? what ROM? what hacks /mods u running ? If u came from another kernel did u reflash your ROM before installing Elementalx? U no any info that may help .
[Nexus 5 Original Android Development] citizeninsane89:
Just making sure. I can flash 1.04 aosp on a 4.4.2 cm based rom (Resurrection Remix)
[Nexus 5 Original Android Development] drawde40599:
If that ROM uses a CM/caf kernel then no u can't use the aosp 104 . u need the CM version of 104 . but a lot has changed since 4.4.2 no clue if 104 CM version will work right . but aosp 104 will work on a aosp 4.4.2 ROM without issue .
[Nexus 5 Original Android Development] ybyb:
Hi,

Currently I'm on version 1.0 and have 2 queries

Query 1 ---

I'm notified for a system update probably KTU84Q as I'm on KTU84P as of now.

Can I update straightaway or would I need to roll back to stock and then update? Please advise

Query 2 ---

I'm not getting great battery life as other people, I get max 13-15 hours with SOT of 3 hours at the max. I used all default options and have sweep to sleep option enabled only.

Thanks
[Nexus 5 Original Android Development] teqnl:
Hi everyone,

First of all, many thanks for doing such a great effort for the community Flar2, always appreciated the kernels on other devices. Was delighted to see you also do this for the Nexus 5. :good:

I'm currently running into a question which I hope someone can help me out with as I could not find a clear solution.

Yesterday I decided it was time for a total clean install of everything (don't ask why, it's my ocd kicking in :cyclops:, sometimes it's nice to have everything freshly installed on my phone), so I used Nexus Root Toolkit to go back to 100% stock and after that install PA 4.5Beta2 and install the latest ElementalX kernel.

My problem I noticed is that overnight I lose about 15%/20% battery, but I have no idea why. I attached a screenshot, the only thing noticable for me was that Wifi is always on somehow, don't know if that is normal.

I hope someone could give me an advice, if it's needed to install the whole thing again that's fine too.

If this is ROM related instead of Kernel related then I very much apologize, just let me know so I can ask over at the PA thread :)

Anyway many thanks in advance everyone! :victory:
[Nexus 5 Original Android Development] notbrodie:
it did boot, it just didn't copy any of it's system files. it seems like the kernel installer was unable to mount the /system and /data partitions.

for example, neither the elementalx.conf nor 99elementalx files were present.
[Nexus 5 Original Android Development] ali8383:
Thank you for new update i'll try it right now ?
[Nexus 5 Original Android Development] magnamentis:
have a look at this one :)

http://xdaforums.com/showpost.php?p=54335863&postcount=7509

did not have time for a long search but i found the post linked above which basically tells the same story
[Nexus 5 Original Android Development] gverma1:
Don't update OTA. Instead download the Factory image from developers.google.com site. Search for 'Factory image Nexus 5' in Google and you will get the link. Below steps assume you have TWRP recovery and Stock ROM installed.

1. download factory image to your lappy

2. extract to adb/fastboot folder: boot.img, system.img, radio-hammerhead-xxxx.img (no need to extract bootloader and userdata)

3. download to the phone superuser zip from http://download.chainfire.eu/supersu

4. reboot into bootloader by pressing Vol Down and Power together (or by advanced reboot options)

5. open command prompt on lappy and navigate to adb/fastboot folder. Better yet, open cmd prompt in Administrator mode

6. check if device is connected: fastboot devices

7. flash boot: fastboot flash boot boot.img

8. flash radio: fastboot flash radio radio-hammerhead-xxxx.img

9. flash system: fastboot flash system system.img

10 IMPORTANT: select to boot to recovery (twrp) without rebooting the phone

11 flash previously downloaded superuser zip (SuperSU-vx.xx.zip)

12 reboot system

13 phone will update all apps during bootup

14 your TWRP will remain intact and you will not need to reinstall it

15 SuperSU will already be there and all your superuser permissions to various apps will be intact

16 If you have Xposed Framework installed, you will not need to reinstall it. So, after bootup step 12 above, Xposed will still be there, but not active. Go into the Xposed Installed app which will already be there in App Drawer, click Framework, click Install/Update. It will ask for reboot which you should do. All your modules will be functioning with all your tweaks intact that you had previously applied

17 Download and install latest ElementalX1.04 AOSP version

Last but not the least, MAKE A BACKUP of all your important data, pix, videos, contacts, messages, etc.

Do let us know how it went.
[Nexus 5 Original Android Development] jayplusone:
Hi

Answer 1 - not kernel related, however flash a stock rooted ROM like bigxies.

Answer 2- without more info it's like a blind person driving.. I'm just guessing where I'm going. So it all depends on what you're syncing, playing or apps your running.

Sent from my Nexus 5
[Nexus 5 Original Android Development] d1n0x:
Why don't you just update to 4.4.4? :confused:

There's literally not a single reason why you should still be on 4.4.2 :eek:
[Nexus 5 Original Android Development] fajarlazuarding:
Some people feels that 4.4.2 have better battery on stock rom. Friends of mine also feel that way lol
[Nexus 5 Original Android Development] walpurgisnacht30:
Lol really??
[Nexus 5 Original Android Development] Punkid:
is it possible to control FauxSound without using the fauxsound control app?

Maybe using the terminal or something?
[Nexus 5 Original Android Development] citizeninsane89:
That was the last update the rom I like got. Resurrection Remix :rolleyes:
[Nexus 5 Original Android Development] d1n0x:
Then maybe it's time to move on :eek:
[Nexus 5 Original Android Development] citizeninsane89:
Nah it's cool:cool:
[Nexus 5 Original Android Development] oOMavrikOo:
If I enabled the tap to wake option on the installer, but haven't yet installed the xposed module, will I still get the same battery drain? Or does it only affect it if it's actually polling the sensors with the module?
[Nexus 5 Original Android Development] rhamej:
You don't need the xposed module to use DT2W. So yes, it will cause more battery drain.
[Nexus 5 Original Android Development] oOMavrikOo:
OK. Well I enabled it in the installer and I don't actually have the feature. Is there something I need to do post reboot?
[Nexus 5 Original Android Development] flar2:
I think you probably have sweep2wake or doubletap2wake enabled. They would cause about that much drain overnight. About 2.5% per hour.

You can still use them, but use the wake_timeout or power button to disable options to minimize drain.

RE: Query 2 -- people that get more than 3 hours of screen time probably make a big effort. I get around 3 hours screen time usually.

I also have doubletap2wake enabled, but use the wake_timeout optoin (set at 15min) to minimize drain. But if I'm not using the phone, it will last for a very long time. I get usually around 0.4% drain while idle and on wifi with dt2w enabled and wake_timeout set to 15 min.
[Nexus 5 Original Android Development] fajarlazuarding:
Yeah [emoji111]

Which one? Gesture or traditional? If gesture then yes. It won't work without xposed
[Nexus 5 Original Android Development] jrn2k:
[MENTION=4684315]flar2[/MENTION] are you using stock?
[Nexus 5 Original Android Development] flar2:
I use stock and cyanogenmod nightlies. I've been using cyanogenmod for over a month. Just haven't had time to restore my stock nandroid.
[Nexus 5 Original Android Development] oOMavrikOo:
I'm confused about the difference between gesture or traditional, but I only have the double tap to wake option enabled. I also have power button reset enabled, but I haven't been able to wake the wake the phone by tapping once. I'm also getting the battery drain that I'd expect from this feature, but don't really know if that's causing it. I guess I'll re-flash the kernel later.
[Nexus 5 Original Android Development] flar2:
Traditional s2w/dt2w is entirely kernel based, it will work without installing anything else. All it does is turn on the screen when you swipe or doubletap

Wake gestures requires an xposed module. It will allow you to define actions for each sweep direction or doubletap. For example, you could set it to unlock your phone if you sweep up, or start your browser if you sweep left, etc.

IF you use Wake Gestures, make sure Xposed is properly installed and that you installed ElementalX with wake gestures enabled. Reboot, install the Wake Gestures module, reboot again, and it should work.
[Nexus 5 Original Android Development] oOMavrikOo:
Does the kernel tweaker app in the Play Store work with this?
[Nexus 5 Original Android Development] drawde40599:
u could since its added from faux's git, but if I remember right just knowing the path isn't enough . try searching towards the very beginning of this thread i think i remember flar2 getting into this subject while back .
[Nexus 5 Original Android Development] Viper LABs:
You are right, there is some tricky logic should be performed in order to make it work. flar2 told, that everyone familiar with C++/Java can easily figure this out. I don't and when I tried it something was understandable, something completely wasn't. I ended up with mixer_paths.xml modification instead faux's sysfs magic. In case anyone figure this out, please let me know how you did it in PM, since it is not a good idea to post a solution publicly.
[Nexus 5 Original Android Development] teqnl:
HI flar2,

Thank you for repsonding to my question, it seems I solved my issue.

What I did was, I reflashed your kernell and during the the installation I selected sweep2wake en doubletap2wake and then I selected disabled sw2w and dt2w again, then clicked next, then I disabled also waketosleep (can't really remember what it's named) and undervolted to 725.

This solved all my issue as you can see on the screenshot, I have great battery life now! Many thanks for this great kernel!

Cheers! :victory::angel:
[Nexus 5 Original Android Development] BennyJr:
What theme/rom is that
[Nexus 5 Original Android Development] teqnl:
The ROM I use is PA (Paranoid Android) and the theme is a CM11 theme called Slim UI (you can find it in the google play store).

Cheers!
[Nexus 5 Original Android Development] BennyJr:
This might be the sexiest theme ive seen in a while!
[Nexus 5 Original Android Development] thegtfusion:
this is absolutely the best kernel. no issues at all! (paired with latest purity + lollipop theme). great battery life and speed
[Nexus 5 Original Android Development] siravarice:
Thanks for the link to that app, for some reason the text in my battery is in black, which means I can see the percentage whatever the charge is (which is actually very handy)
[Nexus 5 Original Android Development] Prattham:
hello guys

so i want to flash the kernel

but im confused in the Download section

im on mahdi rom... so which i version i have to choose??

cheers ?

if someone helped you...don't say thanks just hit the thanks button
[Nexus 5 Original Android Development] :
You have to flash the aosp version
[Nexus 5 Original Android Development] Leviatano:
Hey guys i have a question....i have for example 15% battery left and i want to use trickster mod to change governor in powersave...when i turn off the phone and i reboot i dont lose the settings that i choose at beginning with aroma installer right?is there problems?
[Nexus 5 Original Android Development] DrErect:
The aosp version.
[Nexus 5 Original Android Development] drawde40599:
I dont use trickster and I don't see power save doing much for u at 15% to be worth the trouble , but if you don't set at boot within trickster it should go back to default aroma settings, if it don't something wrong with trickster .
[Nexus 5 Original Android Development] Tylog:
You can control faux sound with trickster

Edit : Tapatalk :/ i see the question was two pages back.

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] ShoeVan:
Hey flar, I contacted faux123 about losing analog output gain controls after updating to sound driver 3.5 (which was updated on your kernel in this revision). He said that I shouldn't of lost that functionality and it might be a bug. Do you have any idea what it could be that made me lose the analog output gain controls? Thanks
[Nexus 5 Original Android Development] notbrodie:
i'm pretty sure faux is wrong. i lost the functionality in both elementalx and linaro kernels. probably something missing from his github
[Nexus 5 Original Android Development] Prattham:
thanks man

but what is the difference between the normal version and express version?

cheers ?

if someone helped you...don't say thanks just hit the thanks button
[Nexus 5 Original Android Development] stonew5082:
It's not express it's a Cyanogenmod version for Cyanogenmod based roms
[Nexus 5 Original Android Development] DrErect:
The normal one comes with a aroma installer, which allows you to pick out various settings such as dt2w, over and under clock etc. The express version comes "pre-configured" so to say.
[Nexus 5 Original Android Development] Prattham:
is there any app that we have to use...?

sorry if this is answered before

if someone helped you...don't say thanks just hit the thanks button
[Nexus 5 Original Android Development] tavocabe:
fauxsound issues

I lost analog output control too, I really need this so I search for an outdated fauxsound app (I have bought it), installed it and the analog controls are back and working. Strange though, the app was updated to support sound driver 3.2+.
[Nexus 5 Original Android Development] ShoeVan:
Paul has released a beta version of Fauxsound (version 1.3) that brings back analog amp output control. Moving it around doesn't actually change anything though. Anyone else have the same problem?
[Nexus 5 Original Android Development] jayplusone:
You can apply settings in aroma or in the elementalx.conf file as root. Coming into the kernel I would apply from aroma.

Sent from my Nexus 5
[Nexus 5 Original Android Development] nils.pap:
My battery life isn't really better than stock CM kernel. Any suggestions on what settings to tweak? Don't really care about performance, just need the best battery life.

At the moment I get around 2 and a half hours of screen on time and I used to get 4h+ using the chaos kernel.

Any suggestions? :)
[Nexus 5 Original Android Development] paradoxiumwind:
Does anyone else's camera sometimes take messed up pictures when using this kernel? I LOVE this kernel for it's battery life, but no matter what settings I use, about 1 in every 5 pictures I take is messed up like this: https://i.imgur.com/pBC08Jb.jpg

I don't get it with franco kernel, but the battery life on that was terrible for me.
[Nexus 5 Original Android Development] flar2:
For fauxsound issue, maybe roll back to EX 1.02. It's pretty much the same as 1.04 except the fauzsound drivers.

Wipe caches and perhaps reflash your ROM. I don't make any changes to the camera drivers in kernel so it should work fine.
[Nexus 5 Original Android Development] hooliganx:
man, this kernel with stock settings is really good, battery friendly and fast enough.

try other combinations with other roms.

or, do a clean flash and try.

most users of elementalx have excellent battery, speed, smoothness... don't believe is kernel's fault [emoji6]

n5sk7.2.Robbie08.13gapps199art

EX1.04twrp2.7.1.0rd2.08v4a

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

have doubts about Slim? click here:

http://slimroms.net/index.php/faq

---------- Post added at 09:49 AM ---------- Previous post was at 09:48 AM ----------

what rom?

Don't have any problem with camera. and sometimes I take more than 30 pics in sequence. [emoji6]

n5sk7.2.Robbie08.13gapps199art

EX1.04twrp2.7.1.0rd2.08v4a

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

have doubts about Slim? click here:

http://slimroms.net/index.php/faq

---------- Post added at 09:53 AM ---------- Previous post was at 09:49 AM ----------

how I enable faux sound?

don't see it in elemetnalx.conf

I always flash Elementalx when flash new update of Slim.

and, when boot, edit elementalx and mixer_paths.xml... and enable v4a

best audio ever! [emoji6]

n5sk7.2.Robbie08.13gapps199art

EX1.04twrp2.7.1.0rd2.08v4a

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

have doubts about Slim? click here:

http://slimroms.net/index.php/faq
[Nexus 5 Original Android Development] paradoxiumwind:
I've wiped system and the caches each time I install a new SlimKat build and then flash the kernel, I get it when I don't even use any overclock settings in the aroma installer or undervolting, I even tried keeping the stock I/O scheduler and read-ahead buffer but I still get pics like this. It also affects screenshots taken on the phone with vol down+power.
[Nexus 5 Original Android Development] walpurgisnacht30:
I'll suggest you to clean flash your rom then flash ElementalX. Even [MENTION=992878]hooliganx[/MENTION] as a long time Slim user never had that issue afaik
[Nexus 5 Original Android Development] flar2:
This is not a kernel issue, maybe there is something wrong with your camera.
[Nexus 5 Original Android Development] Zorrich:
[MENTION=4684315]flar2[/MENTION] any chance you could look into incorporating whatever code is in the code blue kernel that allows for a default color profile without using an app (I.e. I usually use Franco's for color only). With code blue kernel I don't use any app as the Dev has the kernel set to one by default.

I was thinking you could have a couple of the more popular profiles in aroma.

Anyways, was just curious. Thanks!
[Nexus 5 Original Android Development] d1n0x:
This looks like some bomb ass trees 8)
[Nexus 5 Original Android Development] and313:
Hope the other two guys are cops in real life...
[Nexus 5 Original Android Development] guywmustang:
I've gotten multiple sleep of deaths since I put on ElementalX 1.04 with Paranoid android beta 2. I'm not sure which this is, I think it's Elemental, but not 100% sure. I put back on the stock kernel to see if i can figure it out. I'll report back but thought I'd give a heads up.
[Nexus 5 Original Android Development] flar2:
The kernel is 100% stable guaranteed.

Perhaps PA has done something to make it incompatible or there is a bad setting somewhere.
[Nexus 5 Original Android Development] CRIME INC.:
I'm running the same setup, and have no issues.

sent from my Paranoid Hammerhead
[Nexus 5 Original Android Development] hooliganx:
the easiest to make, blame kernel [emoji19]

why people who runs Slim don't report issues? (just a example...)

by the way... thanks [MENTION=4684315]flar2[/MENTION]

most stable, byg free and more helpful kernel thread [emoji106]

n5sk7.2.Robbie08.13gapps199art

EX1.04twrp2.7.1.0rd2.08v4a

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

have doubts about Slim? click here:

http://slimroms.net/index.php/faq
[Nexus 5 Original Android Development] gravedigger76:
Faux is installed via fauxsound app you have to buy from app store.