yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] magnamentis:
nobody assumed that you installed facebook last night, does't change the fact the facebook is responsible for half the extra drain. why do you start to argue when people tell you simple facts? he just wanted to show that he can feel with you because he had similar issues and of course that it's definitely better not to use known crap apps and FB app IS a known troublemaker. if one wants to use FB under all circumstances, no problem, personal choice but then filling all the rom and kernel threads with back and forth arguing is not OK. you want FB app, live with the consequences no matter whether they are intermittent or permanent. yours are obviousy intermittent but who knows there is of course a reason why it happens now but not before, but as usual users provide only have baked input and let everyone else guess and then fire back if the guesses were wrong. :rolleyes:
[Nexus 5 Original Android Development] galakanokis:
**** happens is the point. Especially with apps like Facebook which is a known resource hog. Battery drain is 99% of the time a user space issue, if it was kernel everyone in here would be complaining. Sometimes there is no rhyme or reason to it and things will be fine the next day. I switched to AICPcaf to give it a whirl and my battery drain is brutal, everybody else is loving it, no idea what's going on but I'll give it a day or two. Usually come back to Flar and Cataclysm as it is a great pairing.
[Nexus 5 Original Android Development] t3al:
You are right about the Facebook app that's causing the drain, latest version is faulty. I didn't notice the time spent on the wakelock, just the number of wakelocks. It seemed strange to me that this happened.
[Nexus 5 Original Android Development] marcusva79:
I had the same to as well with the battery drain. 6.10 worked great with Cata and Elemental X. I know the sound part was changed but I have seen a difference. Might be going back to 6.10 now to look for a ROM that is comparable to Cata now that he is leaving. Thanks Flar for your work have a great day

Cheers
[Nexus 5 Original Android Development] flar2:
Seriously, there is no connection. 6.11 and 6.10 are exactly the same in terms of battery. Your problem lies elsewhere.
[Nexus 5 Original Android Development] marcusva79:
Wasnt trying to hate bud. I totatlly agree. Thanks for the quick response .
[Nexus 5 Original Android Development] flar2:
I know, I just want to make it clear that there was no change.

Also, it would be extremely rare that I would release a kernel that suddenly caused battery drain. In general, kernels don't cause battery drain.
[Nexus 5 Original Android Development] Rohit Parakh:
Will I be able to flash it on rooted nexus 5 with stock rom?
[Nexus 5 Original Android Development] nathanchance:
Yes.
[Nexus 5 Original Android Development] Rohit Parakh:
How to manage the kernel after flashing it?
[Nexus 5 Original Android Development] nathanchance:
Just a heads up, you don't need to quote an entire post. Just use the quick reply box at the bottom of the page. I highly recommend the EX Kernel Manager (linked in my signature) as it supports [MENTION=4684315]flar2[/MENTION] and it is a well designed app that gives you complete control over the kernel and it has an auto update feature so you are always in the loop. If you don't want to drop the cash, Kernel Adiutor is a free solution but some stuff may not work properly.
[Nexus 5 Original Android Development] matt4321:
Let's remember not to quote whole OP :)

Forum moderator,

matt4321
[Nexus 5 Original Android Development] m0ritz:
Is it possible to still change left / right headphone gain with the new sound control implemented into the kernel?

I always had the problem that one side of the headphone is much quieter (no matter which headphone, stock android or not etc.)

I could change this with Fauxsound but I did not find the setting in the Elementalx app.

Thank you for making this awesome kernel and your hard work,

m0ritz
[Nexus 5 Original Android Development] phantom146:
[MENTION=4684315]flar2[/MENTION]

Will you be adding interactive governor with ex for n5? So i can tweak it much like how the interactive functions?
[Nexus 5 Original Android Development] dharmabm:
He already commented on adding governors, please read before posting
[Nexus 5 Original Android Development] Rohit Parakh:
Airplane Mode

My phone is going to airplane mode often after flashing ElementalX. Please help me.
[Nexus 5 Original Android Development] SuicideFlasher:
ADB doesn't seem to work for me. The debugging notification comes up, adbd is running, 'adb devices' shows the phone as unauthorized but the authorization prompt doesn't show up. It's like it constantly refuses ADB connections from my computer.

I'm running this, and the prompt does show up with the default kernel it uses.

I've tried switching cables, switching ports, restarting adbd, manually deleting ADB keys both on the phone and the computer, switching to every USB connection option in developer settings (basically everything I found on google), but nothing came of it.
[Nexus 5 Original Android Development] flar2:
Probably an selinux thing, and seems specific to your ROM. ADB works for me on stock, and I assume it works for others on various custom ROMs because I haven't heard anything.
[Nexus 5 Original Android Development] flar2:
This has nothing to do with the kernel.
[Nexus 5 Original Android Development] flar2:
I was planning to, but no guarantees because it caused conflicts in the past.
[Nexus 5 Original Android Development] phantom146:
I was the one who posted the n5 interactivr tweak coming from the 5x thread which i got 6 hrs on, i was hoping i could do it with elementalx so ill be patient atm and hope everything will work fine :)

Lets all hope the interactive governor be added or the elementalx governor would have its target_load and most of its features :)
[Nexus 5 Original Android Development] SuicideFlasher:
Reinstalled without selinux enforcing, no change

I'll try to dump it and switch the adbd binary with the stock one, I don't know how it'd help but it's worth a try

EDIT: Nothing

EDIT2: Turns out it might be something else, though I'm not sure what

EDIT3: It's definitely something else, I'm starting to think MMB29S doesn't take kindly to fastboot-booting kernels repacked with VTS, especially ones grabbed directly with dd if=/dev/block/whatever

EDIT4: The boot image made by ElementalX's installer and the modded stock one I made in VTS were both (I suppose) originally grabbed from /dev/block/platform/msm_sdcc.1/by-name/boot, they both broke the ADB authorization dialog, however ADB itself works perfectly after authorizing it with the clean stock kernel

Since the fact that they were copied from /dev/block/.../boot is the only thing they have in common, I think that's how they somehow ended up broken. Can anyone reproduce this?
[Nexus 5 Original Android Development] flar2:
Those tweaks have to be done on interactive. ElementalX gov is completely different than interactive (more like ondemand), although the idea is the same. It's just done internally on the elementalx gov.
[Nexus 5 Original Android Development] phantom146:
That was my thought :)

I would be really excited to switch to ex if an interactive gov would be integrated for the ff reasons:

1.) Great community and your an awesome dev

2.) Constant updates

3.) Ex kernel is the best imo(kernel asiutor and others are sometines buggy or does not save some config when in boot)

4.) Your kernel is smooth as butter and was the first kernel i flashed when i learned how to flash

So kudos to you and i hope the next release will have an interactive gov :)
[Nexus 5 Original Android Development] atomic339:
Which method of root do you prefer - systemode or systemless?

Can I still use sysyemmode If I don't need AP?
[Nexus 5 Original Android Development] grep_i:
I do not prefer any method I just use the latest version which happen to be systemless.

I guess you could still use systemmode if you don't need AP, whatever that is.

But seriously do you have an app that does not work with systemless root ?

If so maybe you can look for an equivalent for that app and enter the world of systemless root.
[Nexus 5 Original Android Development] Hatshipuh:
AP is Android Pay.

I'm still on systemmode and since AP isn't available in my country yet, I don't see any reason to switch yet, especially with so many issues still floating around.

It's still the most hassle-free for me. When sometime later everyone goes systemless, I will switch, but atm I have no reason.

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] grep_i:
Re: [KERNEL] [Jan 25] ElementalX-N5-6.11

I'm not an expert about systemless root but still I have no issues with it.

Also with systemless your system partition is not modified to get root.

If systemmode works better for you than it's OK to stay that way.
[Nexus 5 Original Android Development] atomic339:
Ok, I think I can try

I find some negative opinion about Cerberus app but we will see.

So I need to:

1. Unroot using SuperSU app

2. Flash custom rom again (format /system)

3. Flash SuperSU

4. Flash EX

Yes?

Do I need to do something more?
[Nexus 5 Original Android Development] grep_i:
Yes that's correct
[Nexus 5 Original Android Development] creeve4:
The insercure kernel option in the Aroma installer is not working, I still get "adbd cannot run as root in production builds" when attempting to run adb as root.
[Nexus 5 Original Android Development] flar2:
Insecure doesn't do that anymore (it hasn't for a long time)
[Nexus 5 Original Android Development] flar2:
Systemless root works perfectly. If there are still apps that don't work with it, you probably shouldn't use them, as they have not been updated in a long time and probably didn't use root correctly in the first place.
[Nexus 5 Original Android Development] gverma1:
One last thing.. While exiting Twrp, it will assume you don't have root and offer to root it for you... you have to ignore that since you already have systemless root which Twrp didn't detect.
[Nexus 5 Original Android Development] atomic339:
Thanks a lot for help

Last question about it

Is it necessary to type something in terminal after installation?
[Nexus 5 Original Android Development] grep_i:
No
[Nexus 5 Original Android Development] creeve4:
Is there another method for allowing adb to run as root on stock?
[Nexus 5 Original Android Development] grep_i:
Are you on windows, Linux or Mac
[Nexus 5 Original Android Development] flar2:
adb shell

Then type "su"
[Nexus 5 Original Android Development] creeve4:
Windows

This is not the same as running adb as root, it's just giving the shell su access. I want to be able to remount system so that I can push and pull files to/from it.

From what I understand, adbd needs to be patched/modified at the kernel level to allow the adbd server to run as root. An option in the installer for this would be most excellent!
[Nexus 5 Original Android Development] grep_i:
Have you tried to run cmd as administrator
[Nexus 5 Original Android Development] flar2:
Chainfire might have something for that, but I'm not sure if it works on Marshmallow
[Nexus 5 Original Android Development] creeve4:
Cmd is always running as admin on my PC, but that won't help. The problem is with the phone, at the kernel level, with the adbd daemon which is running in secure mode.

---------- Post added at 10:56 PM ---------- Previous post was at 10:54 PM ----------

His adbd insecure app does not seem to work with MM. I respect Chainfire, but I wish he would share his code, I'd like to see how his app works.
[Nexus 5 Original Android Development] Hatshipuh:
If the Custom ROM comes with SuperSU, wouldn't flashing the ROM after un-root just root it again?

Shouldn't the step be flash ROM, flash un-su.zip, and then the new SU stuff?
[Nexus 5 Original Android Development] grep_i:
I really don't understand your problem never had any issue on Linux always run adb on sudo right without problems
[Nexus 5 Original Android Development] creeve4:
What ROM are you using?
[Nexus 5 Original Android Development] grep_i:
Just stock rom
[Nexus 5 Original Android Development] creeve4:
Interesting. You can use adb remount?
[Nexus 5 Original Android Development] grep_i:
If I boot to recovery I am able to use:

adb root, which is than not needed because you are already in "adb root" modus.

and from within my recovery I could set the system partition as read,write BTW I use twrp as custom recovery.

adb remount does not work but I guess that got something to do with the custom recovery taking over that part of adb.

Is there anything else you need or will this help you out ?
[Nexus 5 Original Android Development] creeve4:
This helps, thank you.
[Nexus 5 Original Android Development] BIade:
Hey friends :)

Is it possible to read the current DT2W-state within tasker?

A true/false indicator would be totally enough.

Gratefully

Blade
[Nexus 5 Original Android Development] Arstoien:
Yes, you can read the content of the file, which is controlling the state. I don't remember the path and values but you can find them in the thread. You can PM me if you need more help.
[Nexus 5 Original Android Development] flar2:
All the gesture stuff is in /sys/android_touch/
[Nexus 5 Original Android Development] BIade:
wow, what a response time - amazing. Thank you very much!

Gonna test this tonight :)

EDIT: I think there are only the settings-files? I want to trigger a task when DT2W-timeout runs out.

Thanks soo much <3
[Nexus 5 Original Android Development] till22:
You could set a specific task to read the file at a specific interval and then set it as a variable. If that variable (dt2w) = 0 (turned off) > run your other task. You may even be able to read the file directly without setting a variable I think, but I would have to check in Tasker for that.

If you run into any issues just ask [MENTION=4928198]Arstoien[/MENTION] or me, he helped a few times already with Tasker in the past.
[Nexus 5 Original Android Development] Arstoien:
A good approach, if you plan on keeping the same dt2w timeout value and not changing it, is to skip reading the file altogether, and rely solely on tasker's internal Wait action after a screen off event. Otherwise (if the dt2w timeout is changing), you can read the value once at the moments it's being changed and again use Tasker's wait instead of reading the file more often. I just like to avoid any periodic actions since usually they involve extra processing/battery use and often delays in the desired effect.

But as I said, drop us (me or till22) a pm to discuss this privately and keep the thread from getting cluttered with non development questions.
[Nexus 5 Original Android Development] aashgaur:
amp. max out at 1020 amp.

i have enabled fast charging.

using pure nexus cmte newest version.

any help ?
[Nexus 5 Original Android Development] LuNySLiM:
The way you adjust sound starting with 6.10 sucks on my phone. Any chance you will go back to the way it was before?
[Nexus 5 Original Android Development] Rohit Parakh:
How do I revert to the stock kernel for nexus 5 Android 6.0.1 Build MMB29S?Having Battery issues.
[Nexus 5 Original Android Development] magnamentis:
this you don't have to post, just do it, even though, and this is the reason you post this without asking directly, it's not a kernel issue but something else in your user space. but if you want to give up on the best kernel in town with real features, this is up to you, while for us it's totally irrelevant whether you switch back to stock or not.

I call this a hidden complaint which makes it even worse, not only is the complaint not justified but due to jumping to conclusions, but at least one should have the balls to

communicate in a direct manner and look for solutions instead.
[Nexus 5 Original Android Development] flar2:
What's wrong with it?

You can use 6.10 if you want
[Nexus 5 Original Android Development] looney_tkp™:
Flar2, i have never posted on this forum before because cos i see big minds all around and i dont wanna mess the forum up with my small brain lol :D ..but am your biggest fan and a proud user of your development, and i follow everything commented here day by day

Today i felt like telling you this..i still await more developments and will use your kernel till till till lol

keep it up bro :) [emoji106] [emoji106] [emoji106]
[Nexus 5 Original Android Development] creeve4:
Agreed, the headset volume setting does not work correctly (once you set it, any further adjustment has no effect). I never had a problem with faux's implementation as long as I used his app.
[Nexus 5 Original Android Development] :
Thats the maximum charging current Nexus 5 supports.

FastCharging option is for USB Charging when you connect phone to PC using USB.
[Nexus 5 Original Android Development] galakanokis:
I have had no issues with this. Played around with it this morning to get the line out to my car at the right level. Level changed as I changed the setting in the app.
[Nexus 5 Original Android Development] flar2:
I cannot reproduce this.

You guys have no idea how many complaints and bad app reviews I got about the sound settings with faux and the confusing lock thing. Franco's sound settings lock automatically and I've tested every scenario and it works perfectly.

There are a few less options with franco's settings, but I will change that when I have time.

Other than that, these sound mods do the exact same thing.
[Nexus 5 Original Android Development] galakanokis:
Perhaps another mod is in play? I am running stock with no issues.
[Nexus 5 Original Android Development] LuNySLiM:
I use google play music, running g pure nexus. The volume does adjust but on 20 its barely loud enough to be considered stock. I flash version 6.09 and lock settings and adjust to 20 and I can't even turn my volume past half way its jamming' so loud. Flash 6.10/6.11, and it's no where near the sound output. Also tried it playing through vlc and Netflix and still low volume. Also, I'm using systemless root in case it matters
[Nexus 5 Original Android Development] flar2:
Which slider are you adjusting?

I'm looking through the code quickly at lunch and the "headset gain" slider is equivalent to the PA gain before, and then there is also a headphone volume slider. I believe the old sound mod took negative values and had a max of 30, versus a max of 20 now. These are things I can change easily. Also, cam mic gain is missing.

It will take me a few days to get to this because the app will need to be updated as well.
[Nexus 5 Original Android Development] LuNySLiM:
I put headset and headphone gain maxed out. Its almost like it just isn't working on my phone. The volume does increase and decrease when I adjust the sliders but very minimal. I'll try some things when I get home and give you an update. Thanks for all your help and for the greatest kernel ever [MENTION=4684315]flar2[/MENTION]

I see what you're saying now. That maybe its just not as much gain as before and you are going to add more. That very well could be the issue
[Nexus 5 Original Android Development] xmlnoob:
hmmm... tried using stock voltage.....it seems worked :-/ strange, but who cares if the darn fone boots :D

---------- Post added at 11:56 AM ---------- Previous post was at 11:45 AM ----------

I didnt revert to stock, before reflashing 0.22 with stock voltage tho, i flashed it directly over my 0.18 backup....
[Nexus 5 Original Android Development] wklie:
UV can cause boot loop and not at 100% occurrence. I had that before at UV 700. So a prior UV with no boot loop does NOT mean your UV worked properly.
[Nexus 5 Original Android Development] xmlnoob:
ok, so i might just use stock voltage when installing future version and then use kernel tweaker to tune UV.
[Nexus 5 Original Android Development] Johnny424:
hey flar.. I have a question.

when the kernel causes a random reboot, will the last k_mesg always show the reason as some sort of kernel panic?

the reason I ask is I had another random reboot about an hour ago while still on 21, unlocked the screen and it rebooted.. right as it booted up I pulled the last k_mesg and checked it out. but just like last time it says reason was just a reboot. trying to nail down what is causing it. experimented with Franco's kernel and the same thing happens about once a day
[Nexus 5 Original Android Development] drawde40599:
Last week Before I decided to get rid of the apps and go with scripts , I tried everyones app ( I mean everyone, having had 18 devices I own them all :P) and fauxs app worked the best for this kernel no issues at all .. So if u wanna stay with apps and own that one u should try it , the app ur using could POSSIBLY be the issue
[Nexus 5 Original Android Development] DoesntPostAThing:
Faux's app may not be the prettiest or best UX (closing drawer the same time as switching fragments?!), but it definitely works the best. Its extremely basic, I wouldn't be surprised it it just gets/sets values by running shell commands. Others sometimes get the wrong value, get bogged down by set on boot stuff, etc.

I still prefer good old init.d though.

Sent from my Nexus 5
[Nexus 5 Original Android Development] Karmavore:
Hmm. I've been running stock ROM and recently Factory Reset it to see if it would fix the idle drain. The phone seems to never want to Deep sleep even when forced using an app, and then nothing shows up app wise for the wake locks except the kernel. When I flash stock kernel, the drain goes away and I get something more manageable. Flash .22 and it comes back.

I've turned off data in hopes of narrowing down the issue using BBS.
[Nexus 5 Original Android Development] nealkoy:
Have you tried turning location off?
[Nexus 5 Original Android Development] drawde40599:
Do u have an app controlling the kenrel ?
[Nexus 5 Original Android Development] 0wangj4:
will you add landscape lockscreen/ active notification if possible?
[Nexus 5 Original Android Development] Karmavore:
Location services has been off from the start. Gnow has also been disabled. I'm going to freeze my kernel app, reboot and see if that helps.
[Nexus 5 Original Android Development] AhmedFaiz:
Thanks for the update this kernel is working like the best balance of battery and performance. It's stays cool and sleeps deeper like in hibernation while idle .?

Nexus5/PA4.0beta/ElemantalX 0.22
[Nexus 5 Original Android Development] katsuru:
I just tried your kernel and I'm blowen away by the cooler color option. Is it possible you would share the exact values you used to achieve this color temperature? I find it to be just perfect ( coming from a device with yellow screen)

Thanks in advance
[Nexus 5 Original Android Development] aragog53:
This have nothing to do with the kernel, better ask your ROM developer or use xposed framework.
[Nexus 5 Original Android Development] Skinpipe:
Honestly i dont see why not omni is aosp, this kernel should and probably does work with all aosp roms, personally im on purity latest and its running great, just came from neo v18 kernel and Franco before that i think nobody has answered you until now is because its kinda obvious to most users no offence.
[Nexus 5 Original Android Development] sicutero:
I have the exact same issue here. It killed my battery life from a full charge to 70%, in just 3 hours :S.

Also coming from fresh Factory Reset, stock ROM.

Did you see any change with .22 ?
[Nexus 5 Original Android Development] Alfonso87:
0.22 works fine here, and i don't think it's a kernel problem. Try to take a look to partial wakelocks and see who is killing your battery.
[Nexus 5 Original Android Development] kurnis:
Im getting very VERY slow battery drain. After a full day of moderate use (1-2 hour SOT and an hour of calls) im at around 50-60% left. It has been this way for me since around .15. I was getting some faster drain on .19 but it turned out to be because google services was giving me some serious wakelocks. Not the kernels fault there.
[Nexus 5 Original Android Development] micr0g:
No problem at all here!

After the latest update i slept (also my phone heh) with airplane mode enabled for 8 hours.

I lost only 1%
[Nexus 5 Original Android Development] sicutero:
I'm trying out .22 :) and will check for any wakelocks.