yashsingh1/xdaforums huggingface dataset:
[E 2015 Original Android Development] squid2:
While the builds posted in this thread are for surnia only, I also have variants of this kernel for osprey (2015 Moto G) and lux (Moto X Play). Both have XDA threads for this kernel under their respective sub forums.
[E 2015 Original Android Development] madvxha:
i'm using that kernel with pac rom. Great kernel
[E 2015 Original Android Development] Niflheim_:
Issue in the SD card and OTG

Hi! my device dont recognizes the OTG devices and when i open an app with an usage of 300 MB of RAM or more, this crash the SD card and dismount this. This is in the 10b and i have an AOSP ROM.
[E 2015 Original Android Development] sfermat:
otg is working fine for me with es file explorer in stock
[E 2015 Original Android Development] Veritass:
im getting a boot loop with 10b, not sure why, running cm12.1
[E 2015 Original Android Development] EB20XY:
can you provide logs ?
[E 2015 Original Android Development] ElDainosor:
Works amazing on a XT1027! Thanks for all your work
[E 2015 Original Android Development] Veritass:
if you can explain how. i have adb and such
[E 2015 Original Android Development] starkly_raving:
Easiest method is one of the GUI apps logcat xtreme and a few others are very good. They provide buffers for main, event, radio and dmesg etc.
[E 2015 Original Android Development] Veritass:
how can i run the app when its boot looping lol
[E 2015 Original Android Development] atomomega:
You don't seem very cooperative with the people who is trying to help you out lol
[E 2015 Original Android Development] squid2:
If you have ADB enabled, try to run logcat during the boot process. Also, you can try running "adb shell dmesg" just before it bootloops, or pulling the logs from /sys/fs/pstore after it reboots. It's probably something odd about your setup though, as it works fine for me and most people here.
[E 2015 Original Android Development] xukashi:
Or wipe your phone (full wipe) and make a clean flash.
[E 2015 Original Android Development] ahjee:
This kernel has been amazing for me... I've had about 37 hour on one charge with 9 hours of screen on time from games and YouTube videos... Amazing!
[E 2015 Original Android Development] krocksss:
WHAT??? 9hours SOT? What the hell are you using man? I hardly get around 4 to 5 hours. Would love to know your configuration.
[E 2015 Original Android Development] ahjee:
I don't mess with the kernel at all. I do use Slim ROM by prbassplayer and I use the Greenify app to hibernate appa I'm not using.. I have Force GPU on in Development but other than that I don't really do much
[E 2015 Original Android Development] Sands207:
What are the advantages of forcing GPU on? I've thought about trying it but I thought it might drain my battery

Sent from my XT1526
[E 2015 Original Android Development] krocksss:
Thanks man. Will be trying out the Slim Rom soon. :good:
[E 2015 Original Android Development] ahjee:
I mean in Development it tells you what it does do but I'm not sure if it's an advantage but from what I've read elsewhere is that it enhances performance but that may actually use more battery but I'm not sure
[E 2015 Original Android Development] Veritass:
so after a few hours of fixing my adb issue, (thanks google!)

i was able to get a adb logcat while bootlooping

this should be a full bootloop, from when it starts till when it restarts.

boostmobile, cm12.1 (latest build) and 10b kernel

its rather large so i cant pastebin it, zipped and uploaded to 2 places just incase

http://puu.sh/kOkJ1/4a6e20d710.rar

http://d-h.st/JSFL
[E 2015 Original Android Development] Momofil31:
Does this kernel support double tap to wake? If not, will it support it?
[E 2015 Original Android Development] DroidFreak32:
Nope it doesn't
[E 2015 Original Android Development] squid2:
I looked at your logs and narrowed down your bootloop to these lines: http://pastebin.com/xZXUYsig

In particular, the root of your issue seems to be this:

[ 10-18 01:56:21.387 7961: 7961 E/SQLiteDatabase ]
Failed to open database '/data/data/com.android.providers.settings/databases/settings.db'.
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.

This is probably a ROM related issue rather than one caused by the kernel. It could be messed up permissions, or just some fs corruption. Does it boot normally when you reflash CM (which uses the stock kernel)? You could try TWRP's "Fix Permissions" option to see if it does any good. If not, try wiping system, data, cache, and dalvik using TWRP, then reinstall CM by itself and see if that boots.

If it still doesn't work, you can try reformatting the userdata partition, but be aware that this would delete all the files on your device, so backup any valuable files to external storage before trying this. On the stock ROM, as well as CM for osprey and lux, this is easy as running "fastboot erase userdata" and rebooting the system. On the surnia CM, the relevant option to reformat a an unformatted volume at boot is missing in the fstab, so you'll need to format it a different way. I think you can do it through TWRP if you go into more advanced options behind the wipe screen, but be careful not to change partition sizes or filesystem types.
[E 2015 Original Android Development] Veritass:
it boots no problem when i reflash cm / restore the kernel, fix permissions did not fix it, same bootloop error,

ill try the complete cm reinstall at some point on monday. thanks
[E 2015 Original Android Development] EB20XY:
Linux 3.10.91 is out officially.

Will those bulk of commits also transmitted to this kernel ?
[E 2015 Original Android Development] squid2:
Squid Kernel r10c

I've posted a new minor release with fixes for encryption support and support Android 6.0. We don't have any 6.0 ROMs yet ready for you to try, but work is being done behind the scenes ;)

A bigger release with more features, Linux 3.10.91, more CodeAurora updates, and other improvements is planned, but I've been a bit busy lately (both with other Android related things and life in general), so it may be a couple more weeks before I get around to it.
[E 2015 Original Android Development] ts_firehawk:
The first thing I'm gonna do when I have some money with me is donate a few bucks to you. Thanks for your hard work!
[E 2015 Original Android Development] till22:
Thanks for your work and thanks for making my Moto E a really enjoyable phone :) I'm anxious for Android 6.0, if doze gets ported well, I'm sure I'll make 3 days with a charge more regularly :)
[E 2015 Original Android Development] hehk1234:
[MENTION=6485916]squid2[/MENTION] this version works on 5.1.1 ?
[E 2015 Original Android Development] till22:
The anterior versions did, so I don't see as to why it shouldn't.
[E 2015 Original Android Development] dwane3:
Last kernel r10c,xt 1524,after flashing,no service..Back to the r10b its ok.
[E 2015 Original Android Development] -FuFu-:
just flashed r10 about 5 minutes ago and no problems here.

with twrp version you use? r3 was broken, i used the latest r4 and all works fine here
[E 2015 Original Android Development] dwane3:
r4,no service again.. on r10b its ok.
[E 2015 Original Android Development] EB20XY:
for me r10c seems to work fine sofar.

Only one call was interrupted, but must not caused by the new kernel. Was just far distance. :)
[E 2015 Original Android Development] Sands207:
r10c working fine here for me on CM 12.1 10/24 build. Nice and snappy :)
[E 2015 Original Android Development] squid2:
No SIM issue on r10c

It works fine on my devices and several others, but it sounds like it's problematic in certain regions. I had similar reports on the Moto X Play by [MENTION=2091785]Higgsy[/MENTION] and [MENTION=4581383]treibstoff[/MENTION]. I don't yet know what could be the cause, but I'll be investigating. I'll probably post 3 builds of intermediate versions between r10b and r10c, maybe just on lux at first (I've had more reports there), and let them report between which revisions it broke.
[E 2015 Original Android Development] dwane3:
Where is the 3 builds versions for test?
[E 2015 Original Android Development] SacredMyths:
Yeah sim issue here too, back to 10b

Using moto e boost btw
[E 2015 Original Android Development] P0PETIN:
Same here and I also had the System UI Crashing every time I unlocked my device but now back to 10b
[E 2015 Original Android Development] -FuFu-:
no problems here on my xt1524 using cm12.1 with kernel r10c after updating to twrp-surnia-2.8.7-r4 :)
[E 2015 Original Android Development] squid2:
Are all three of you running the stock ROM? I had only tested the last release on CM. I hadn't posted in-between builds for surnia, but I did for lux and [MENTION=2091785]Higgsy[/MENTION] gave helpful reports that have led me to believe that the issue is SELinux related. His testing has allowed me to narrow it down to [MENTION=3445372]scritch007[/MENTION] 's Android 6.0 support SELinux cherry-picks on October 21st between 9d80677 and 55e751d. I bet the issue would go away if you made SELinux permissive. You can do this by unpacking the kernel zip, and editing the tools/flash_kernel.sh script within. You'll see a long line with the kernel command line in the script.

Near the end of that line, it will look something like this (beginning and end stripped out for brevity:

...utagsBackup movablecore=160M" --base 0x80000000 --pagesize 2048 --ramdisk_offset 0x01000000...

Edit the kernel command line by adding androidboot.selinux=permissive after the movablecore=160M part.

...utagsBackup movablecore=160M androidboot.selinux=permissive" --base 0x80000000 --pagesize 2048 --ramdisk_offset 0x01000000...

Save the file, repack the zip, and try flashing that. My guess is that it would work if you tried that. Not that I consider this a proper solution, but it would confirm that SELinux is the culprit.
[E 2015 Original Android Development] P0PETIN:
I am on stock 5.1

---------- Post added at 10:06 PM ---------- Previous post was at 10:05 PM ----------

I'm currently doing homework so I will unpack and edit after but thanks [MENTION=6485916]squid2[/MENTION]
[E 2015 Original Android Development] sfermat:
So no problem with cm?

Enviado desde mi XT1527 mediante Tapatalk
[E 2015 Original Android Development] squid2:
Stock ROM r10c Issues

I identified the nasty bugger causing SELinux issues on the stock ROM: https://github.com/sultanqasim/andr...mmit/9b3f2cba732110643d863babeb9ab3f63c9bc8ad

Something the stock ROM doesn't seem to configure with rootfs SELinux contexts correctly, causing breakage with this commit. CM 12.1 on the other hand sets the relevant selinux contexts correctly, so the issue didn't happen there.

I blame you @scritch007 for this breakage :p

(it's my fault for not testing on the stock ROM)
[E 2015 Original Android Development] dwane3:
Please who upload repacked r10c kernel for stock rom?Thanks.
[E 2015 Original Android Development] squid2:
Squid Kernel r10d

I've uploaded a new build to fix all the (selinux related) issues r10c caused on the stock ROM.
[E 2015 Original Android Development] dwane3:
Now r10d its ok!Thanks.
[E 2015 Original Android Development] SacredMyths:
Can confirm r10d works, thanks!
[E 2015 Original Android Development] EB20XY:
Now even 3.10.92 code is out on kernel.org :p
[E 2015 Original Android Development] xukashi:
Hi quick question. What really speaks against it to use a 4.x kernel?
[E 2015 Original Android Development] xpmule:
i just want to know why it's undervolted ?
[E 2015 Original Android Development] tattooedgod:
Undervolted gives better battery life
[E 2015 Original Android Development] xpmule:
yeah i thought that went with out saying LOL

i am an old overclocker across a wide array of hardware so yeah.. dumb question i guess.

what i meant is it worth it ?

unless the company put the voltage too high to begin with your hampering it maybe right ?

is there a trade off ?

performance vs lower battery drain.

and how much of a difference could it make anyway ?

on such a crappy device i would be far more interested in getting it running faster than i would be saving battery life.. it's so cheap of a phone it's almost disposable.

That is like trying to save the battery life on one of those cheap throw in the garbage camera's people put on wedding tables. ahhahaa

i say turn UP the voltage and overclock it and make this puppy roar !

anyway i asked about this because hands down it's the one feature / difference

that made me think twice about using this Kernel.

i would be more comfortable if it was stock voltage unless there is a good reason for changing it.

crippling the phone to save battery life is not a plus for me..
[E 2015 Original Android Development] squid2:
The slight undervolt reduces heat, not performance. Reducing heat actually improves performance by extending the duration the device can work at full load.
[E 2015 Original Android Development] batmann4:
After i install the WiFi don't work anymore... I have the XT1514
[E 2015 Original Android Development] EB20XY:
can you upload a logfile from that effect ?
[E 2015 Original Android Development] batmann4:
I can't do this right now, but, i can give you detailed information about this:

I flash the Cyano 12.1 and after the GAPPS, i initiate the smartphone and it have the first boot. After this, i reset the phone into recovery mode, for instal the squid Kernel, when i reboot, the WiFi does not work anymore. In the settings of WiFi, seems like i don't have a WiFi card.

I already tried install in this order without reboots: Cyano12.1 > GAPPS > Kernel. Same results.

---------- Post added at 12:24 PM ---------- Previous post was at 12:23 PM ----------

I think the problem here is the model of my phone: XT1514, all of you guys here have the other versions of the Moto E LTE (1524,26).
[E 2015 Original Android Development] EB20XY:
Cause of the phone versions and the fact that no one else has reported such effect the logs would be good. Otherwise it will be hard to replicate it.
[E 2015 Original Android Development] batmann4:
Yea I agree...

Thank you for the attention, right now I'm searching in my countries google groups (Brazil), i think somebody should know something.
[E 2015 Original Android Development] squid2:
My first guess would be that your recovery is incompatible. Try using my recovery builds: http://xdaforums.com/moto-e-2015/development/twrp-squid-twrp-recovery-moto-e-lte-t3137649
[E 2015 Original Android Development] batmann4:
[MENTION=6485916]squid2[/MENTION] , i solved the issue a few moments ago, i used you latest recovery build (r4), and it works after i flashed all the things and wiped out the cache and dalvik cache. I hope my trouble help someone else that have this issue too.

TNX for you work!
[E 2015 Original Android Development] xpmule:
best way to update ?

and can this answer be added to the main post so we don't keep asking ?

i seen someone ask already that did not get an answer.

also it's funny i asked about the voltage and you guys clicked thanks on his answer 8x and i got 0 for asking the question lol

anyway so far i have just re-flashed over top with out any issues..

is this advised for updating versions ?

thanks for the potential answer everyone and thanks to squid for his shared work.
[E 2015 Original Android Development] squid2:
Yes, just flash new versions on top.
[E 2015 Original Android Development] hydroman202:
Any chance for overclock?

I was just wondering, is there any chance of overclocking? If not, maybe there is a possibility you could make it to where users could modify the voltage levels? With all due respect. That would be awesome!
[E 2015 Original Android Development] Niflheim_:
Hi. I have a problem with the last kernel r10d, this eject my sdcard in the boot or when i execute clash of clans. Its a issue of the swap?
[E 2015 Original Android Development] AchillesTheGod:
lionfish not default

[MENTION=6485916]squid2[/MENTION]

i didnt notice much change. UNTIL i went into my Pac-Rom Performance setting and looked at the governor

it was "ondemand" so when i went to switch it it had the Lionfish option. is there anyway you can make it auto switch to Lionfish after flashing cause. that would be helpful for noobs
[E 2015 Original Android Development] atomomega:
Really? If you don't even know how to change governors, you probably shouldn't be fiddling with your phone.
[E 2015 Original Android Development] PriPhaze:
You think a "noob" as you call them will flash a zip through TWRP or CWM in first place? Switching Lionfish governor as default is not an important thing to deal with right now.

It only takes 2 seconds to change of governor and you only have to do it once =_=
[E 2015 Original Android Development] grofweg:
[MENTION=5794883]AchillesTheGod[/MENTION] Why do you want tot flash the kernel anyway? I don't use it on Pacman. And imo its smooth and fast enough!
[E 2015 Original Android Development] xpmule:
i hit thanks for the useful post.

there is a lot to know about this stuff..

i had no idea about that either.

i'm also not going to get lippy and mouth you off like the other guys did here earlier.

guys can get awfully rude and snotty around this sub-forum wow.
[E 2015 Original Android Development] grofweg:
Why! Its a personal preference. Your wanted 'default setting' might not be mine. Just read the 4th post of this thread and pick your setting.
[E 2015 Original Android Development] PriPhaze:
Pac Man rom is really fast as you say and most of the users dont need to flash the kernel but there are still some things that i honestly miss without it; like the extra configuration options for the screen . To increase saturation which for me makes everything looks much better . And the CPU hotplugging, other than that like i said the rom is pretty good and fast without the kernel :)

Awfully Rude? No one has been rude with him, he is the one who has been calling people "noobs" in other posts . Do you'r research first

Oh and like grofweg said .. maybe "Your wanted 'default governor setting' might not be mine" and btw there is a lot of information here in XDA about the governors and how to use them.... Pac man rom comes with Kernel audiutor integrated to the system.
[E 2015 Original Android Development] xpmule:
oh really ?

so if you think he was rude else where (but you weren't here)

then why don't you address him elsewhere instead of following him around being a jerk ? i don't care about anyone's post history i see what's in front of my face.. your implication he deserves some attitude is silly nonsense..

Switching Lionfish governor as default is not an important thing to deal with right now. ? Says whom ? YOU ? This topic is not about Pac rom.. it's about Squid's kernel no ?

It only takes 2 seconds to change of governor and you only have to do it once ?

That is utterly irrelevant.. This topic is about discussing the guys Kernel + Features and i had no idea about that. If he didn't bring it up i wouldn't have known it can be changed. So i wouldn't have searched the forum to change it then.. Make sense ? yet ?

All your doing is trying to cover up and justify being a jerk to that guy and put it on me now too. Not happening.. accept responsibility for your own actions.

Many of you run from topic to topic with short snotty mouthy replies.

(I have been seeing a lot of this which is why i made a quick comment about it)

Your were not very friendly or helpful and the attitude is unnecessary.
[E 2015 Original Android Development] grofweg:
Just read the thread, then you'll know where its about.

Before I flash anything I read at least the first posts of the TS. If you had done the same, you would have some idea about what the kernel does and what settings there are. [emoji6]
[E 2015 Original Android Development] xpmule:
One full page of garbage here.. some guy mentions a feature and you two dive on him with snotty remarks then spend the rest of the time making excuses for why it's justified.

Can we get back on topic now ?

I don't even understand what you guys are saying with your bad English LOL
[E 2015 Original Android Development] PriPhaze:
Following him around? haha what? It has been just a coincidence that i have seen this guy's posts. After all we all have the moto E 2015 and thats why we are here! So it makes sense that he has been posting in the same topics as me. Duh Common sense.

Pfft.. Well i mentioned Pac Rom because it comes with auditor preinstalled and you said you didn't know how to change governors? So i guessed you also didnt know any app to manage kernel and that was a good start. Was just an example, i dont see the problem.. no one is forcing you to use Pac Man rom to being with.

You dont get it, do you? Im actually glad that he helped you out, like good for you... but the only problem i have is that every post i see with a comment of him refers to someone else calling him noob or just in general calling people noobs . Makes sense? Yet? Get it?

You can argue all you want. Putting words on my tongue that i didnt even though about .... "Accept responsibility for your own actions".???. where you think you are? a court?

Anyways hopefully the problem has been clarified.

Ps: This is how you multi quote
[E 2015 Original Android Development] yelupic:
<OT>

Just let the "opponents" fight on their own - they are old enough.

For someone who doesn't understand posters not being native speakers, you are answering quite a lot to people not born under the stars and stripes banner or derivatives ... maybe this is a kind of self-reflection of yours or some coming out? - My offer to you: We could easily switch to our mother tongues, if you understood better then, feeling more comfortable, yes? - I would consider us being on a par with each other now.

<OT>

Back to kernel talk.
[E 2015 Original Android Development] xpmule:
I was able to get 5.1 installed now and i wanted to report back i am using the 'd' version. I was surprised to see the LED notification light when i woke up today.

That is kind of cool.

The only problem i have seen with my upgrade was it seems stuck in GSM

Even if i change it to LTE/cdma (auto PRL) with the dialer command *#*#INFO#*#*

Any idea what that is related to ? Anyone ? (i flashed the 5.1 Retail USA firmware)

Then put on Squid's Kernel + TWRP (i just want to use the stock 5.1 ROM)
[E 2015 Original Android Development] yelupic:
So, that you proved your superior education and your fora search skills one more time, I'll help you out:

http://xdaforums.com/showpost.php?p=62454949&postcount=66

http://xdaforums.com/moto-e-2015/help/qa-squid-kernel-moto-e-lte-2015-t3072683/post62457777

(very easy to find in the Q&A thread for the kernel with keywords "kernel" and "control")

Finding apps mentioned in the threads:

https://duckduckgo.com/?q=no-frills+cpu&t=ffsb&ia=apps

https://duckduckgo.com/?q=kernel+adiutor&t=ffsb&ia=apps

https://duckduckgo.com/?q=aero+kernel&t=ffsb&ia=apps

And now have fun with other's work ...

(BTW: This is the reason, why you're getting problems here in the threads with the people - not being able to search, read & understand, but arguing in circles and swearing to get, what you want to have ...)