yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] letmedanz:
I would hate to see this thread go the way of Franco's or Cataclysm
[Nexus 5 Original Android Development] flar2:
Just rename /system/bin/mpdecision to something else. I do think it's better to keep mpdecision on though.
[Nexus 5 Original Android Development] atishey23:
But it was working on stock rom with stock kernel and with stickmount.
[Nexus 5 Original Android Development] danarama:
Flash back and test with stock to confirm not faulty cable
[Nexus 5 Original Android Development] atishey23:
I have multi rom installed. So I booted to stock and flashed stock kernel and connect the pendrive and card reader it was working fine. But after installing this kernel it is not working.

I hope I made mgself clear.
[Nexus 5 Original Android Development] danarama:
Ok, so since flashing this kernel, you have booted back to stock with stock kernel and tested again, yes?
[Nexus 5 Original Android Development] flar2:
A few things:

Did you use current ramdisk when you installed?

Which version of elementalx are you using?

If you are using 0.32, did it work on 0.26?

Sometimes apps like Stickmount are finicky and you have to try a couple times or reboot and try again.

Another possibility is selinux not allowing you to read the disk.

Also, make sure your battery has a good charge.
[Nexus 5 Original Android Development] atishey23:
Yes
[Nexus 5 Original Android Development] notbrodie:
[MENTION=4684315]flar2[/MENTION]

v32, aosp, cataclysm

had 3 different random reboots in as many hours this morning. default governor, no uv, uc to 1.7ghz. was only able to grab the first and third kmsgs

first: http://pastebin.com/zWzkxwQr - this one happened after idling all night. turned wifi on, then tapped the sync quick tile, and bam. reboot.

third: http://pastebin.com/KVX7xv2T - this one, i was just listening to music. went to unlock phone, reboot

just realized i was undervolting. guess i forgot about it. uv removed. let's see what happens
[Nexus 5 Original Android Development] atishey23:
I was using .32.

Didn't test on .26

I tried without stickmount and one pendrive shows normally in settings/storage. But the other pendrive and card reader connects and disconnects.

Idk what's selinux

Battery was above 70%.
[Nexus 5 Original Android Development] -Loom-:
[MENTION=298610]Flar[/MENTION]:

The rising popularity is well deserved. And I have to admit that the atmosphere in this thread is much more friendly and helpful, while in Francos thread it's more like a 'take it or leave it' attitude.

One suggestion:

It looks like DT2W will never be as engery conserving as in former Nexus models, and disabling it with the power button looks like a feature I would forget about all the time, what about a user defined timer until DT2W will disable itself automatically? As far as I know no other kernel has this feature.

So we would get a decent battery life but still a usable tap-to-wake implementation.
[Nexus 5 Original Android Development] Syk69:
I agree it can get pretty hostile in there lol. Some people need to not take it so seriously. This development should be for our enjoyment.
[Nexus 5 Original Android Development] californicated:
What I absolutely love about this kernel: The phone won't slow down. Since N4 days custom kernel improved battery life on my phone, but got laggy after some days. ElementalX gives me some extra battery life while being as smooth as stock. + it's stable ;)
[Nexus 5 Original Android Development] mantakos:
One question, is it possible to choose lets say 2.8 ghz max frequency but then keep it at a lower one? I tried it but it goes to max again..
[Nexus 5 Original Android Development] Androidttraction:
For my phone, the best version is .30. Tried .31 & .32 always have high battery usage (worse on .31). I have BBS, have more wakelocks on those (.31/.32) versions. I always keep coming back to .30, where my sleep battery usage is the best (0.6% to 0.8% per hour). On the other versions, the sleep battery usage never go below 1.5% per hour, even higher on .31.
[Nexus 5 Original Android Development] ilaf0106:
Wait where are you guys getting kernel version above .26
[Nexus 5 Original Android Development] Tylog:
Search the thread for 0.30 / 0.31 / 0.32 and you will find the versions :)

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] armyboy11b:
Search function does wonders
[Nexus 5 Original Android Development] chubby65:
For 32 page 449

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

For 32 page 449
[Nexus 5 Original Android Development] ak4d4:
I haven't ran it with the latest 32 but I did with the previous ones (this is always my default kernel) and it was awesome.

Sent from my Nexus 5
[Nexus 5 Original Android Development] 07AP2Zo:
Does the moto x dalvik patch work with this kernel?
[Nexus 5 Original Android Development] chubby65:
It sure does mate
[Nexus 5 Original Android Development] danarama:
Does it not work with any kernel?
[Nexus 5 Original Android Development] FuMMoD:
It's not a kernel patch it's a dalvik patch. If the rom supports it you can flash it. Kernel has nothing to do with the dalvik patch.
[Nexus 5 Original Android Development] letmedanz:
Looking for some insight from the more learned ones :)

The above screenie is from CPU spy..

For 8.5 hours of up time, the app doesn't show a single sec of 300mhz usage...

is this normal?

i understand this would change when the screen is touched, but i don't think i would be touching the screen full time :P

another thing that's shown in the screenshot-

the frequency range shows as 300mhz - 2265mhz

scaling range shows as 1267mhz - 2265mhz

is this correct too?

using 0.32 with all defaults, except cooler colors, fast charge enabled & fsync off

row scheduler, 512 read ahead
[Nexus 5 Original Android Development] notbrodie:
are you using trickster mod to tinker with the kernel? I had an issue with trickster where it sees the touchboost as the min freq (even without touching the freqs), and when you tick the kernel settings on boot option, it sets the touchboost freq (1267mhz) as the min freq

try using fauxclock to set your preferred kernel settings.

you can also try any kernel tool that had set-on-boot switches for each individual setting

Sent from my Nexus 5
[Nexus 5 Original Android Development] letmedanz:
thanks notbrodie

yes, am using trickster to set the read ahead buffer..

will try faux clock..
[Nexus 5 Original Android Development] Savant:
[MENTION=4684315]flar2[/MENTION] been using your kernel since the beginning and its amazing how much it progressed.
[Nexus 5 Original Android Development] flar2:
This is exactly what happened, and why I discourage using apps to control frequencies. Its very easy for stuff like this to happen.
[Nexus 5 Original Android Development] letmedanz:
Yes, i think that's the issue.

though not sure if it's trickster's fault or CM

cos i've been using elemental with every ROM i've tried & not had this issue before.

a quick check on google revealed lots of CM users facing this problem.

to confirm, i set a 'set on boot delay' of 1 min in trickster.

as suspected, i had 43 secs on 300mhz and lots of frequencies under 1.2mhz as well

once trickster set the settings after the delay, there are no more indications of freq under 1.2mhz..
[Nexus 5 Original Android Development] flar2:
Its just saving the min freq while touch boost is active, then that becomes the min forever. There's no reason to make any adjustments to CPU frequencies.
[Nexus 5 Original Android Development] tlf55:
Is that normal that since .32 I can't under volt under 725mv for 300mhz ? But with .31 I could go to 687mv ..

I tried other kernel just to test and it seems that it's the same .. Can't UV under 725mv .. Is that because ROM have been updated or kernel new features that need more juice ?

Asking this just because I want to understand :) thanks !

"Envoyé depuis mon Nexus 5 avec Tapatalk"
[Nexus 5 Original Android Development] letmedanz:
How do you suggest we change the read ahead buffer flar?

I don't see an option in the elemental config file..

And after the trickster flaw I am not sure if I want to buy another kernel app to make these changes..
[Nexus 5 Original Android Development] sirovai:
Slightly OT: what will happen disabling fsync?

Edit: just Googled, I think I'll keep fsync enabled. :)
[Nexus 5 Original Android Development] nadiros:
Flar2 mentioned shortly after releasing 32 that it probably wont undervolt well. You'd have to look back to then to see technically why.

---------- Post added at 03:31 PM ---------- Previous post was at 03:26 PM ----------

Disabling Fsync poses a risk of data loss/corruption if you have an unexpected system crash or reeboot. With that said, I have had it disabled pretty much since getting my N5 in December, but its one of those things you may choose to risk for a negligible (?) speed increase... however its probably not recomended.
[Nexus 5 Original Android Development] raycaster3:
I am very impressed with the performance, stability, and especially the battery life. I've been using slim/franco since day one, decided to give this shot since I run this kernel on my m7, and have been very pleased. Solid as a rock on beta .32. Props [MENTION=4684315]flar2[/MENTION]. Save settings, rom, app, and usage , and I'm getting about 2% less drain per hr.
[Nexus 5 Original Android Development] bobby janow:
How do you get partial wakelocks?
[Nexus 5 Original Android Development] NovaSlim:
In Gsam? App Sucker->App Details->Wakelock details.
[Nexus 5 Original Android Development] r0cky0790:
Faux Clock

"CM11 + ElementalX [Tap2Wake Enabled] + 4.4_qc-Optimized Dalvik + Exposed + Gravity Box & Candy shop Mods + DPI 440 + Apex Launcher w/ Morena Icons + Jishnu's Camera Mod/LG G2 Camera Port + Latest GPU Drivers + 4 OC Cores @ 2.226 GHz My Nexus Is The ?,┌П┐[◣_◢]┌П┐!
[Nexus 5 Original Android Development] deadpedal:
Just use an init.d script. Use the following to set the read ahead:

echo 512 > /sys/block/mmcblk0/queue/read_ahead_kb

Obviously 512 can be changed to what you want. I have had the best experience with 256 or 512 but your mileage may vary.
[Nexus 5 Original Android Development] bobby janow:
Sorry just not seeing that. On BBS dropdown partial wakelocks. That to me is the best indicator.
[Nexus 5 Original Android Development] drawde40599:
Just write a script . I can send you mine if you want it ,just PM me
[Nexus 5 Original Android Development] Silentbob999:
The timer idea make me think about a feature that semaphore had on ICS. semaphore for the Galaxy S (i9000).

We could set a period where simple touch of the screen would wake it. And this was only if not lock by the power button.

And like all other function made by Stratosk it was a module that had no effect at all on the kernel if it was not load.

I may try to get the source but his Git is pretty huge

edit: since I do not trust my memory for those old stuff I search a bit. I did not find the commit. I am probably wrong about the module thingy,,,Implementation from what I see was not doubleTap but touch wake, which is different.. implemention on semaphore was an adaptation from Ezekeel code.. You dont keep this enable for long period like Double Tap to wake,,.. you usually set a timer of 20-60 sec. Anyway. This is a really cool feature to have ;) wink wink

touch wake feature : only when screen go to sleep by itself (not when lock with the power button), active for a short period of time (adjustable), not active if proximity sensor on

Tapatalked with SlimKat NexusFive
[Nexus 5 Original Android Development] NovaSlim:
mind you I did say "I prefer". I have no problem finding wakelocks with Gsam(pro) and I prefer Gsam's UI, battery life predictions & Dashclock plug-in, that's why I use it and not BBS.
[Nexus 5 Original Android Development] bobby janow:
Got ya. Perhaps the pro version. Sorry.
[Nexus 5 Original Android Development] awandroid89:
Anyone got working fast charge? Even I enable fast charge my phone still detect usb charging....
[Nexus 5 Original Android Development] NovaSlim:
No need for the apology, we apparently just have different preferences.

All Gsam pro version does is give you a better tablet interface & more accurate time remaining estimates for tablets. What you could be missing is the Gsam battery-Root companion app that's needed on 4.4+ devices for Gsam to collect key battery statistics used to find wakelocks. Gsam runs fine without the Root companion but just don't give as much information on wakelocks.

So if there really are partial wakelocks you can see on BBS and not on Gsam(App Usage->App->App Detail->Wakelock details) then I might be mistaken. I just know that in 1 year+ of usage Gsam have never failed to find the main cause behind my battery drain.
[Nexus 5 Original Android Development] 093236:
Great! Thanks!

Seems CarbonROM needs the CM version.

I flashed the AOSP version and the Google logo keeps appear.

After I flashed the CM one, boot fine!

Thanks!
[Nexus 5 Original Android Development] rotaryheadrx7:
I use Tasker to achieve something similar. I enable dt2w and s2w when charging. You could set up the timer using Tasker as well.
[Nexus 5 Original Android Development] letmedanz:
Page #500 !!
[Nexus 5 Original Android Development] drawde40599:
There's nothing to turn on once u enable it during install, its on 24/7 . it won't change from USB but its working . full details r in OP
[Nexus 5 Original Android Development] kong:
^ This.

You can try using CurrentWidget to see if the current limit is increased.
[Nexus 5 Original Android Development] ganeshp:
Never expected trickster ****s Me up.. Now I'm no more having stutters in music.. I was about to report this lol

Now I'm sticking to good old init.d scripts :D
[Nexus 5 Original Android Development] drawde40599:
Where is Ezekeel ? That guy was always up to some original new code
[Nexus 5 Original Android Development] nadiros:
I use trickster with no issues. When you understand how it works in regards to reporting frequencies, and operate accordingly then it is an excellent kernel

tuner. I can understand the confusion though and why no one wants this thread filled with issues because of it. Just putting it out there :D
[Nexus 5 Original Android Development] ganeshp:
the problem now is set on boot option screws the settings even when you dont touch the frequency part ..All I change is read ahead buffer, vibration and little bit of UV (-25 mV) but because of this set on boot the min frequency is being set to the touch boost freq. I was able to see the difference cleary. Previuosly in the stats there was just 1 minute usage of 300 Mhz and no other frequencies were used until the touch boost frequency ..but now the frequencies are scaling up ..the distribution seems proper now

so I suggest you to check the stats (trickster->info) ..if there is no considerable usage of 300Mhz,422 Mhz and 652 Mhz then trickster is doing its ****ed up magic :/
[Nexus 5 Original Android Development] akash3656:
After this motorcycle accident, haven't really heard much from him on the GNex rootz/xda thread. A shame, he is a great developer no doubt.
[Nexus 5 Original Android Development] dead0:
on build .32 should the elemental governor sampling_rate be independent from ui_sampling_rate or should it be same? ive noticed if I set sampling rate as 50000 and ui sampling rate as 15000, 15000 will automatically be set for sampling rate
[Nexus 5 Original Android Development] hooliganx:
which script for vibration do you use?

I always put vibration in 45 (trickster before)

N5*SlimKat.b3.6*Elementalx.032*ART*TWRP.2.7*0.23
[Nexus 5 Original Android Development] ganeshp:
I created my own

I've written a small file named "99z_kernel" in /etc/init.d folder

and it contents are

#!/system/bin/sh

echo <vibration value> /sys/class/timed_output/vibrator/amp

(eg: echo 45 > /sys/class/timed_output/vibrator/amp)

then save the file and set permissions 755 (owner: read -write-execute , group: read-execute, other: read-execute )

that's all (BTW i did all these via ESfile explorer )
[Nexus 5 Original Android Development] j3r3myp:
Hi,

Running elementalx 0.32 since it's out, everything works great.

Just a question, I don't know if it's the kernel to blame, but I'd like some advice to troubleshoot an issue : when playing music, either with Play Music, Deezer or SoundCloud, I have sound stutters/skipping, a few seconds of the music track are randomly skipped.

I read at the top of the page that it could be Trickster MOD. I clean flashed SlimKat yesterday (was on PA) just to try it, and I've got the same problem + I deactivated Trickster MOD.

So could it be kernel-related, has anyone got this issue and if it's the case, could you identify where the problem came from ?
[Nexus 5 Original Android Development] NovaSlim:
What's your UV setting? Have you considered excessive UV being the cause?

My audio file playback on 0.32(PocketCast & Audible) have been flawless, just for reference.
[Nexus 5 Original Android Development] j3r3myp:
Haven't thought about it. Going to reflash with Aroma installer, think I selected the min 750 UV last time ;)
[Nexus 5 Original Android Development] GSLEON3:
Running .32 on Cataclysm I was able to get 18 hours of uptime, which included 4 hours 36 minutes of straight up screen on, with gps going on high accuracy, while farming for Ingress & tethering. I also had another 46 minutes of Inrix use, which is another high battery use real time traffic & navigation tool. After all this, I still had 17% battery left. I let it go all night & woke up this morning with 7% left. Again, that was overnight with the 5 Ingress Hangouts going & three email accounts syncing. AWESOME! When I hit Ingress farms, I am the only person not lugging around a power pack. In all, about 25 hours uptime & just shy of 5.5 hours screen on time.

Hopefully some of the new additions & module support makes it into the N7-2013 kernel!
[Nexus 5 Original Android Development] kepapas:
Compatible with cm?
[Nexus 5 Original Android Development] Savant:
Yes, just use the caf version of .32.
[Nexus 5 Original Android Development] jumparound246:
Is or was trickster the only kernel tweaker app used by you? I purchased tkt and also had kernel tweaker app installed and for some reason i thought that having three apps installed that could mess with kernel settings, even if i didn't use them together for tweaking, were causing the problem with various settings i didn't set by hand...just like the problem you had. Running trickster and uninstalled the others and there's no more problem with that ...at least for me not :p
[Nexus 5 Original Android Development] graffix31:
i searched and didnt really see this asked exactly, sorry if it has been. i like the idea of dt2w and being able to diable it with the power button. if you have a rom with double tap to sleep with the status bar does that act as the power button and disable dt2w or does it stay active?

thanks
[Nexus 5 Original Android Development] jerrylzy:
Hi, flar.

I am wondering whether this gpu oc method is working or not.

https://github.com/LiquidSmooth/and...mmit/59c3132d530124fdf239da58526a08edf8fae98c
[Nexus 5 Original Android Development] hooliganx:
I use s2w and still active.

power button is... only... power button. ;)

N5*SlimKat.b3.6*Elementalx.032*ART*TWRP.2.7*0.23
[Nexus 5 Original Android Development] flar2:
No, that's been tried. Adreno profiler and benchmarks will show it's still 450.
[Nexus 5 Original Android Development] jerrylzy:
I saw your comment in Mega thread. I guess we won't be able to overclock any s800/s801 chip, right?
[Nexus 5 Original Android Development] flar2:
That's what I suspect. More and more stuff is going into trustzone and hidden parts of the chip, beyond the control of the kernel.
[Nexus 5 Original Android Development] jerrylzy:
If that's true, volt control & CPU oc may also become ineffective in ARMv8 chips...
[Nexus 5 Original Android Development] sachinkhanna:
Any chance we can get this feature (swipe from home button up to sleep, what is google now, which is redundant with the left pane) added as an option, so we don't need to have another app installed?

http://xdaforums.com/showthread.php?t=2528666
[Nexus 5 Original Android Development] L1lyksd@ddy:
Why can't you just flash Super su in recovery?
[Nexus 5 Original Android Development] raycaster3:
If you use a Rom that has customizable navring, set it to screen off. No need for kernel features...
[Nexus 5 Original Android Development] FuMMoD:
Wow just wow lol. I can't believe he didn't spend 40 seconds flashing the super user zip.
[Nexus 5 Original Android Development] Tom540:
What's the problem with just using that app?
[Nexus 5 Original Android Development] Batfink33:
This doesn't work on Cm for me, when I reboot after flashing I get a blank screen, no start up, nothing. Can anyone else confirm this?
[Nexus 5 Original Android Development] pychobj2001:
Not redundant if you use nova...or just don't want to go to the home screen and swipe swipe swipe....
[Nexus 5 Original Android Development] overon37:
beta version don't work, infinite loop with google letters

any solution?

my recovery is clockworkmod
[Nexus 5 Original Android Development] folgui:
+1 on not working for CM.
[Nexus 5 Original Android Development] flar2:
I think you need to use twrp

I need information.

Like what recovery you're using

Which Rom?

I need to look at the installer logs. There is an option to save them at the end ofthe installation .

I also need /proc/last_kmsg
[Nexus 5 Original Android Development] Batfink33:
Using TWRP the latest version. The screen doesn't even turn on for me after flashing. I'll try and get some logs when I get home tonight.
[Nexus 5 Original Android Development] flar2:
Is it just cm where 0.7.1 doesn't work?

In the future I would like to always use the existing ramdisk, so I need feedback good or bad. I use the stock Rom during development and don't have time to try out all the different roms out there.
[Nexus 5 Original Android Development] sachinkhanna:
I am using the base ROM that came with the N5, just rooted and modded a couple of ways, although I do miss the customizable lockring. Touche on the Home Button click and swipe left once.

Just trying to avoid having one more app, but it's not a big deal, just curious if it could be in the kernel since there are all these sleeping/waking functions in there.
[Nexus 5 Original Android Development] flar2:
No, the kernel doesn't know about the nav buttons. They are part of the android system.
[Nexus 5 Original Android Development] Batfink33:
I only tried it with droidkang, I'll check later.
[Nexus 5 Original Android Development] kamaliqwan:
please make it compatible with cm rom.. :fingers-crossed:
[Nexus 5 Original Android Development] Alfonso87:
Having a gr8 time with 0.7...2h30m , 42% of battery left, WiFi 10% of time up, data 60% up

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] NoobieExtraordinare:
Battery performance

I use Elemental X on my flo and absolutely dig it. However, this being my phone, I have other requirements. How is the battery performance with this kernel including the total screen on time. Is the drain bad withe DT2W on? Any comparison shots would be much appreciated. I know from personal experience that Flar's kernel are solid stability and performace wise.Just worries about the damn battery.

---------- Post added at 11:41 AM ---------- Previous post was at 11:30 AM ----------

That doesn't seem that great :confused: