yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] FloGatt:
Thank you, thats great. I've modded the ElementalX-2.14 ZIP and now F2FS works out of the box.
[Nexus 5 Original Android Development] SpasilliumNexus:
I modded my copy of Cataclysm 5.1.1 to support OTG by decompiling required files, applying the cherry-picks I pulled some time ago from my own ROM, and EX's OTG works flawlessly with it :)
[Nexus 5 Original Android Development] Marsou77:
Can you share your modded kernel please?
[Nexus 5 Original Android Development] leloiboi:
anyone experiences slow charging?

I've just switched to Elemental from codeblue. Overall, Ex is the best kernel i've tried (with Catalysm 5.1.1). But it takes too long (around 5-6 hours to get my battery full on normal charge from 15%); i didn't get this with codeblue, same device, cable and adapter. Anyonr knows how to fix it? :p
[Nexus 5 Original Android Development] shashankj:
I'm facing this issue too. Confirmed it on Ampere - Charge current : 230-300 ma on EX and 1200-1300 ma on Code blue.
[Nexus 5 Original Android Development] fuarkgl3:
My settings are not applied on boot so i think it is because im missing this file: "99elementalx" which is located in /etc/init.d/99elementalx

Could you upload it to zippyshare or other host so i can fix it? I have already reinstalled my rom, wiped cache then installed elementalx but it wont work.

Could you guys upload that script somewhere so i can put it in my phone?:angel:
[Nexus 5 Original Android Development] Blueblob:
Since 2.11 (not sure), the script in init.d was removed. And replaced by /sbin/elementalx.sh

Same process : run it as root to apply change or reboot
[Nexus 5 Original Android Development] fuarkgl3:
Oh i see. i just looked at it and it has all permisions ok, however settings on boot wont stick. I have Super SU during boot activated as well.

What do you mean with "run it as root to apply change or reboot" ? Im not really sure what is causing this, it worked well one month ago
[Nexus 5 Original Android Development] Blueblob:
In a terminal, try run it and see if an error occurs.

On my side : SuperSU 2.46 without "during boot" setting enable. All is fine...

Log file is /data/local/tmp/elementalx.log
[Nexus 5 Original Android Development] #sharath:
Something is wrong with your setup or device. I'm using EX kernel and it doesn't take me that long to charge it fully.
[Nexus 5 Original Android Development] magnamentis:
that's great and i once did similar things to change certain things but how are you dealing with updates, i mean who wants to go through decompiling and recompiling procedures upon each rom update? did you make flashable zip to apply your changes ?
[Nexus 5 Original Android Development] Blueblob:
Maybe you can check some stuff : compose this number in phone app *#*#4636#*#* , go in battery info

Then put your phone on charge and play with the plug and check voltage value.

This value should raise when you plug your phone.

I have same issue, but it's hardware... The mini-usb port suffered ?
[Nexus 5 Original Android Development] leloiboi:
Well. I'm not sure, but [MENTION=5765468]shashankj[/MENTION] 's just confirmed my problem :/

Do you use Catalysm beta May 21? Perhaps it is a rom's bug, need recheck.

But can sb check if i was doing sth wrong:

1, Reflash Catalysm May 21 ( not wipe data, i dont think we need to wipe data for a new kernel, right?)

2, flash EX 2.14 (without usb fastcharge, i barely charge my phone by pc), and Sony walkman. That's all I did.
[Nexus 5 Original Android Development] hickup:
Fine here, EX 2.14, Cata beta. Wall charger delivers 960mA while screen on.
[Nexus 5 Original Android Development] #sharath:
I'm having same setup as you and i don;t have this problem and most people too.
[Nexus 5 Original Android Development] leloiboi:
Thanks. I think i should wipe all and retry :/
[Nexus 5 Original Android Development] hickup:
I did a dirty flash of Cata , but wiped caches after installing EX. Also check your cable before going through a clean flash, at least I'd suggest that ;)
[Nexus 5 Original Android Development] enryfantasy:
I still cannot let work power saving mode. it does not start by itself.
[Nexus 5 Original Android Development] igalmarino:
Me too 270 mA max on Ampere

Sent from my Nexus 5
[Nexus 5 Original Android Development] :
Your charger may be damaged or the cable or the battery. Nothing wrong with the kernel.
[Nexus 5 Original Android Development] dpaine88:
The Chrome bug is really getting me. Enough where sadly I must go back to Code_blue.

That said, I loved this kernel enough to buy the app. Can I use the app with other kernels? Most importantly color profiles?
[Nexus 5 Original Android Development] flar2:
The app is fully compatible with code blue
[Nexus 5 Original Android Development] flar2:
Most likely the current is being limited due to thermals

Also, i think some other kernels allow unsafe current to be used.

Finally, what you see in Ampere is going to fluctuate depending on how much energy the phone is using at the time.
[Nexus 5 Original Android Development] madrigal77:
I'm about at that point too. I'm forced to use Firefox right now, but I really prefer chrome. So I think next time my ROM is updated, I'll try code blue.
[Nexus 5 Original Android Development] neo2306:
does latest release work with 5.1.1 ??
[Nexus 5 Original Android Development] #sharath:
Yes.
[Nexus 5 Original Android Development] :
Yes.

And after so many ROM flashing,came back to stock ROM. The battery is best with stock ROM.
[Nexus 5 Original Android Development] igalmarino:
Yes its very strange because with an external battery I get 940 MA

Sent from my Nexus 5
[Nexus 5 Original Android Development] jaibar:
Charging current can vary a lot between different chargers, cables and devices.

My wife has also a nexus 5, but the connector for usb in her device seems to have worn, so same charger and cable that for me reach 700mA, average for her phone at 100mA. Barely enough to charge it overnight.

Same 2A charger with different cables can get anything in the range 500-1800mA.

In many cases the charge ratings declared by manufacturers are a bit... optimistic. Just like the car fuel consumption.

What's sure, best thing is buying some good reliable charger and good cables.

And of course, there is no kernel related charging problem..
[Nexus 5 Original Android Development] :
Then your charger is not working good. For me nexus charger and external battery, both gives around 1060mA without fast charging.
[Nexus 5 Original Android Development] russian392:
I'm running stock ROM, with elemental, so if I have init.d scripts will they run at boot?

Or can I use a kernel app to run them at boot?
[Nexus 5 Original Android Development] flar2:
Init.d scripts should run. If not, use SuperSU and put the scripts in /system/su.d
[Nexus 5 Original Android Development] FloGatt:
There is no problem with ElementalX. I have a current of 1A while charging.
[Nexus 5 Original Android Development] Co.Tibi:
A little off topic but still somewhat related, does anyone have issues with flashing stuff in TWRP (2.8.5.3 - 2.8.6.1) where, for example, recovery reboots without the splash screen when flashing the Beta SU 2.49? That's on official stock 5.1.1 by the way.

Edit: just bought the app again last week. Good work though I had a similar issue like the others where sound settings would not stick.
[Nexus 5 Original Android Development] airon11:
Hi everybody...anybody with the sensor_Ind wakelock problem here? Many nexus 6 users are afflicted...but I read that also many nexus 5 are becoming...with latest lollipop and kernel releases(last 2) I have this wakelock keeping phone awake.seems to be related to hangouts or adaptive brightness and active display on n6...I don't have active display on n5...but can't get rid of this wakelock. Seems other kernel dev worked on it but I don't really know how it is fixed.any help?thanks
[Nexus 5 Original Android Development] fuarkgl3:
My original cable gives me around 400-500 mA but if i use a cable from a BQ phone i reach 1200 mA. Pretty weird but it charges a lot faster:p
[Nexus 5 Original Android Development] nanoleet:
I archived my conversations and cleared the cache when I got the problem and it fixed it. Pretty sure it won't fix if for you, but you can still try.
[Nexus 5 Original Android Development] xxqxpxx:
my device got really hot after installation . i'm running on 5.1.1
[Nexus 5 Original Android Development] marf28101995:
"Unsafe"

Remember that the stock charger of the n5 is 1.2or1.3A and I'm charging it with the blackberry charger 2.0A

So with the stock charger the patch made by faux just skip the steps of charging going directly to max if I got it well. Won't go over 1.3 so it isn't unsafe ;)
[Nexus 5 Original Android Development] LiamAtkins90:
Did you seriously just quote the whole OP to report that WOW haha!
[Nexus 5 Original Android Development] flar2:
Anything over 0.5 is potentially unsafe when charging by usb
[Nexus 5 Original Android Development] infatality:
Try turning auto brightness on and off then a reboot.
[Nexus 5 Original Android Development] .dan:
When I enable force fast charge I can still access data via USB cable. I suspect the fast charge isn't making a difference. Is this normal?
[Nexus 5 Original Android Development] DroidIt!:
Isn't the N6 quick charger 2A? I honestly don't remember, but I THINK it is.
[Nexus 5 Original Android Development] russian392:
How do I know if they run?

And if they don't I can just use a file manager to move them to /system/Su.d?
[Nexus 5 Original Android Development] marf28101995:
3A
[Nexus 5 Original Android Development] :
Was on FIOPS with 512 read ahead. Had zero Chrome Freeze for two days. But today boom, Chrome Freeze.
[Nexus 5 Original Android Development] seilogeo:
I fixed my charging issues only by using a good cable. The stock one or a similar. I had one that needed 10 hours to fully charge my phone and with the same charger and stock cable it needed 2.5 hours
[Nexus 5 Original Android Development] hanschke:
is it a good idea to enable fast usb for battery pack? I cannot confirm that it will be faster done,
[Nexus 5 Original Android Development] airon11:
I tried this already..but did not worked...

I used disable service to disable video call service of hangouts...and I solved the wake lock....maybe next hangout update will solve the thing....
[Nexus 5 Original Android Development] infatality:
Probably so.. I have seen hangout causing weird issues.. [emoji58]
[Nexus 5 Original Android Development] magnamentis:
first, yes this is right and it was mentioned many times before fiops is great for this device with this kernel, just that my readahead is 2048.

i made excessive tests with readahead some time ago and something between 2000 and 3000 came up best overall while results can vary quite a bit. just sayin' perhaps you wanna try.
[Nexus 5 Original Android Development] walpurgisnacht30:
Glad finally it hits 1000+ downloads, well deserved [MENTION=4684315]flar2[/MENTION]
[Nexus 5 Original Android Development] mayankss2283:
Hii xda........! I am using cynogenmod on my nexus 5 with android 5.1.1 .so,i wanna know that which elementalx should i install on my device .

Please reply soon

My email :- mayankss2283@gmail.com

Thank you. XDA
[Nexus 5 Original Android Development] magnamentis:
ok, i do exactly what he mods always say:

a) read here before asking: http://xdaforums.com/showpost.php?p=47286518&postcount=1

b) asking for speedy reply is not really appreciated, at least it keeps many from providing feedback

c) this is the answer to your question: ElementalX-N5-2.14 / link: http://elementalx.org/devices/nexus-5
[Nexus 5 Original Android Development] Edge330:
5.1.1 after only 35h without restart, running stock + last version elementalX kernel...

I heard that every kernel except stock will make some problem with RAM managment.
[Nexus 5 Original Android Development] Alex240188:
Not seeing any issues recently with ram.

Most people who are complaining are looking at the cached applications as well which is irrelevant.

There is clearly something wrong with the reporting of the cached processes anyway.

When looking at running processes there is a healthy amount of free ram.

For some reason if I look at cached ram I apparently have -1.3mb of free ram.

I'm not concerned with this in the slightest though as it's clearly a reporting issue and the device is performing smoothly without apps being unnecessarily killed.
[Nexus 5 Original Android Development] magnamentis:
i suppose this is an indirect question and the answer is: no, not true! i'm using custom kernels on all devices including n5 and no such problems.

people are very quick to blame roms and kernels while they're simply not able or willing to narrow things down if they encounter irregularities.
[Nexus 5 Original Android Development] MrMarques01:
Well he has a point here. I've tested different kernels for memory leakage using the Farm Heroes test and the only kernel which is not leading is stock at the moment. Custom kernels need to be updated in order to fix the memory leak when using them on 5.1.1
[Nexus 5 Original Android Development] Gorgtech:
Like I said before, 2.14 seems semi broken to me with the latest Google Android 5.1.1 Stock ROM. It works somehow and seems fluid enough but Benchmark scores are lower, even with overclocked CPU. This is why I still use the Google Stock Kernel for now and this one seems to be as fast as ElementalX 2.14 @ 2,65 Ghz on Android 5.1.0.

Maybe I´m a perfectionist but I prefer to wait a while for a new Kernel to be adjusted with the latest Google Sources before I thinker around too much :p

Btw, did I mention that I don´t see anything suspicious with a modified Stock Firmware + Stock Kernel ?
[Nexus 5 Original Android Development] sjknight413:
Yup, memory leak on 5.11 cataclysm here with ex 2.14 too.

Sent from my Cataclysm + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] magnamentis:
of course i believe you that you have a memory leak but i don't so if it would be the kernel to blame everyone would have it, simple as that.

if someone has a leak with one piece of software and not with another it might have something to do with setting that piece of software up.

as far as this kernel is concerned i use express installer and the EX app to activate a few basic features.

very similar with that chrome issue. if it's the kernels fault as such everyone must have it. if only some are having it it's something interacting with other parts of the overall config = settings, rom, features active or not etc. btw i as well do not have chrome lags and never had. now if i would be the only one i would at least understand those points of view but many if not the majority does not have those issues, so !!!!!!
[Nexus 5 Original Android Development] Eliranu:
I also experiencing same thing. memory leak is back and the phone is having lags.

On stock kernel everything is perfect... I believe this is a kernel problem.
[Nexus 5 Original Android Development] flar2:
You guys should wait until I update for 5.1.1

The source code is not released yet.
[Nexus 5 Original Android Development] treehugger38294:
Does anyone have lag while swiping away recent apps? I tend to get lag if I swipe away heavy apps such as Chrome.
[Nexus 5 Original Android Development] hooliganx:
[MENTION=4684315]flar2[/MENTION]

thanks for your great work here. [emoji6]

no problem here, nada!

not tasted this problem related here.

so much people complaining... and I don't have nothing wrong in my Nexus 5.

in fact.. I have a better battery life, very good performance and smoothness all the time.

thanks man!

n5slim.ezio84.may.19layeredslim.gapps.may.19

elementalx.2.14rd.2.25v4a.2.3.4twrp2.8.6.1

-------------------------------------------------------
[Nexus 5 Original Android Development] DroidIt!:
Exact same here :) I actually have a hard time remembering any problem this kernel has caused on any ROM in the last year and a half or so.
[Nexus 5 Original Android Development] Shiestie:
It's his new App.. The developer is flar2, same as his old ElementalX Kernel Manager.
[Nexus 5 Original Android Development] walpurgisnacht30:
[MENTION=4684315]flar2[/MENTION] just got a random reboot with the latest Cataclysm + EX 2.14 (this is the first time ever lol) while I'm opening Tapatalk, checked the last_kmsg and the last boot reason said kernel panic, not sure what could be the exact culprit since I don't undervolt my device.

Log http://pastebin.com/aT9iW1yN
[Nexus 5 Original Android Development] flar2:
The entire log is memory errors, I didn't even make it to the bottom.

We have to wait for the new source
[Nexus 5 Original Android Development] walpurgisnacht30:
Thanks for your reply!

Reflash rom to the rescue.
[Nexus 5 Original Android Development] flar2:
A huge thanks to you guys! Almost half of that is Nexus 5 users right off the bat.

Please keep spreading the word. The first week was great, but things have slowed and I am really hoping that daily installs can get back to where they were with the original app.
[Nexus 5 Original Android Development] russian392:
[MENTION=4684315]flar2[/MENTION] I'm missing the 99elementalx file in: /etc/init.d is that normal?
[Nexus 5 Original Android Development] flar2:
That Chrome thing better be gone when I do the 5.1.1 update.

I will be sure to start from scratch on the new base and only add what is absolutely necessary. Lean and mean like my Nexus 6 kernel.
[Nexus 5 Original Android Development] flar2:
Yes, I got rid of that because it was too unreliable on all the various setups out there. The script is now in ramdisk.

Are you still trying to do startup scripts?

Install SuperSU, put them in /system/su.d and make them executable (chmod -R 755 /system/su.d/*)

You can test if it's working by adding somehting in the script that you can check afterward, like create a new file on your sdcard or something.
[Nexus 5 Original Android Development] russian392:
I did. But ended up not using scripts. Was just curious if it was supposed to be there. Thanks for the tip though. Kernel auditor actually has init.d emulation where it runs scripts at startup for you before any kernel settings are applied (not sure how reliable that would be).
[Nexus 5 Original Android Development] flar2:
Any devs out there? Is this the only kernel commit for 5.1.1?

https://android.googlesource.com/kernel/msm/+/bebb36bd1e8b38e9be8c9d59e30fdfd230b16075

I was looking for a new hammerhead-mr1.1 branch, but all I see is this 5.1.1r0.6 tag
[Nexus 5 Original Android Development] RusherDude:
[MENTION=4684315]flar2[/MENTION] What issues do you mean on 5.1.1? I am running stock LMY48B with the 2.14 version and this thing flies, memory leak?? where???

The thing lagging on 5.1.1 are some xposed modules, but not your kernel for sure :S
[Nexus 5 Original Android Development] flar2:
I haven't installed 5.1.1 yet, but from what I'm hearing, there are problems. They may not be apparent right away, but the log posted earlier today was full of memory errors.
[Nexus 5 Original Android Development] ToYeD:
I have a noob question.

I know with some custom kernels (such as Franco) going back to stock for OTA updates requires a full reflash of the factory image because they modify some system files. Does ElementalX do this to? Do I need to completely reflash the factory image? Or, can I simply reflash just the boot.img and recovery.img?

I'm sure this question has been asked many times before, it seems like the type of question that would come up quite often, but I haven't got the slightest clue how to search for it without getting a lot of unrelated results.
[Nexus 5 Original Android Development] hunting_:
I'm on 5.1.1 blisspop with elementalx-N5-2.14 work like a creamy
[Nexus 5 Original Android Development] szucsgf:
Hellsgod also mentioned there is only one commit, if that's useful to know.
[Nexus 5 Original Android Development] flar2:
I never do OTAs, but I assume that yes, you need to flash the stock system partition for it to work.

Whenever there is an update, this is what I do:

Download factory image

Unzip

Backup sms, phone logs, contacts and any important apps that store data (try to minimize this, it's not good)

Go to recovery and wipe caches and data

reboot to bootloader and flash bootloader, radio (if new), boot and system in fastboot

reboot to the new system, setup and let all my apps re-install ( I use the tap and go feature, it's very convenient)

flash latest twrp recovery

go to recovery and flash SuperSU
[Nexus 5 Original Android Development] ToYeD:
So boot.img and system.img are the only two I need to flash? No need for userdata.img or cache.img?
[Nexus 5 Original Android Development] flar2:
I never flash cache or userdata. I think the userdata one will wipe your device.

I don't know what's in the 5.1.1 update. If there is a new radio and bootloader, you need those too.
[Nexus 5 Original Android Development] ToYeD:
The factory image contains both a new radio and a new bootloader. I only ask about it because I wanted to try getting an OTA. What I've been doing up to now was completely flashing the entire factory image, which meant before I flashed I'd have to back up everything I wanted to keep that was on my internal storage, flash and then put it all back which takes some time. I wanted to try OTA to avoid this process. Call me lazy but if it saves time it works.
[Nexus 5 Original Android Development] DroidIt!:
For sure yes for the bootloader. It went from xxxxf to xxxxh. Not to sure about the radio though. :)
[Nexus 5 Original Android Development] Mr0czny:
backup your contacts, photos, apps etc. and make clean flash :)

its takes 10 minutes to do manually by fastboot (I never use WUGs or autotools), and you have clean system
[Nexus 5 Original Android Development] Gorgtech:
The radio got a slight bump in the version number too :)

I use nearly the same flashing procedure:

Download the latest factory image from Google --> Unpack it up to the point where you see the bootloader, radio, boot and system files. Download the latest TWRP recovery for the device and make sure to have a copy of SuperSu on the phone too ( most the time you might have one in your Downloads folder ). Copy the gathered files in your ADB / Fastboot folder you will use later in the command prompt.

1) Flash the bootloader and radio through fastboot --> reboot again in bootloader mode

2) flash boot.img

3) flash system.img

4) flash TWRP

5) restart the phone in recovery mode ---> TWRP will boot

6) wipe Cache & Dalvik Cache

7) flash SuperSu

8) restart the phone through TWRP and watch the OS rebuild the needed cache for all new Apps.

This method might seem complicated since some people basically edit the batch file in the factory image itself ( delete -W ) but my method never ever showed me any errors and the effect was absolutely the same.

Why do I flash TWRP every time too ? In some cases, flashing system.img might still overwrite your custom recovery.
[Nexus 5 Original Android Development] russian392:
I have been running 5.1.1 for a while. The day it was released I got the ota (but just flashed it cause I'm rooted). The memory leak is gone, but 1, the system caches way too much data (3mb free ram cached) and 2, the system is a aggressive at killing system ram usuage. It will expand till around 600mb and then jump to 250mb.

Otherwise no issues
[Nexus 5 Original Android Development] RusherDude:
So much hassle :S

You'd be faster with:

1) Make a Nandroid

2) Flash system, recovery and boot on flashbot

3) Sideload OTA

And done. There is no need at all for a clean dlash.. I never clean flashed this phone since I unlocked the bootloader on day 1.. and it flies after a lot of OTAs upgrades
[Nexus 5 Original Android Development] flar2:
It may work for you, but not doing clean flashes is the number one cause of problems for users.

My process only takes only a few minutes. Developers always need to do a clean flash.
[Nexus 5 Original Android Development] hellsgod:
Yes, it seems its the only one. Oh and btw, I also got two reports about slow charging in my kernel a few hours ago. I'm also using anykernel, so its not something in the ramdisk (if there's really a Problem).

hells