yashsingh1/xdaforums huggingface dataset:
[E 2015 Original Android Development] V-Droid:
I'm currently using CM13 on my surnia, can I directly flash the kernel without upgrading my modem? Or do I also have to update my modem? :confused:
[E 2015 Original Android Development] :
You should have upgraded modem to a 6.0mm modem before using cm13, and then flash latest squid kernel, R16g.

If you came from lollipop, you need 6.0 modem.

If you came from 6.0 stock rom, you already have 6.0 modem
[E 2015 Original Android Development] BlackHoleOS Dev:
Well this work on xt1526 and im on xosp can you help
[E 2015 Original Android Development] crazynapkinman:
It will work.
[E 2015 Original Android Development] BillyMumphry:
Will it work on XT1527? :eek::silly::p

:D:D

I'm Kidding

This is the kernel I use after things go wrong on another kernel. LOL.

Just recently i was testing out a newer spin-off kernel that overclocked in at 1.9GHz!!...

.... Until it didn't anymore. Instead, it did NOT that. And more even.

I was begining to worry that I may have done some actual physical damage like fry a core or someshiz.

I only had enough food and water to last eight days, so I had to act quick.

.................................................................................................90 seconds later............

All back to normal because I walk around with Squids Kernel on my person at all times!!

On an sdcard.

In my phone.

A phone that is on my person at all times!

I would be nice to see an update in the future but Im satisfied with "Stable" and "Reliable"

.................For now;);)
[E 2015 Original Android Development] Fedray:
My phone started lagging, and after a reboot I lost almost all my apps, had to wipe Data in recovery. Has this something to do with kernel? Im using r16g, stock 6.0
[E 2015 Original Android Development] :
I would say no.

This apparent suddenly poor performance/lagging/random rebooting then a twrp failure or data loss has been reported by around a dozen people in various surnia Rom threads.

There was no common denominator, no one had a similar set up.

All I can say is just make sure you follow correct flashing procedure's and all is good.

I've use squid kernel for months with several custom roms with no issues.

I did like you have poor performance using squid kernel with the stock ROM, but not with CM13 or other roms.

What caused this loss of data and apps is currently under investigation.
[E 2015 Original Android Development] xdaNewbieDroidy:
i would like to ask a question. i flashed this kernel once then i wiped data/system to flash a new ROM. does it also wiped the kernel? thanks
[E 2015 Original Android Development] crazynapkinman:
Yes. You will need to flash kernel AFTER installing a rom. Otherwise it will over write and use kernel that is built into rom.
[E 2015 Original Android Development] Knuxyl:
latest CM13 AUG 11 2016 seems to have a compatibility issue with sr farias and squid kernel, mostly squids.

the battery saver feature is now a mess and even when plugged in it's like you will get a continuous message saying battery at #% and ask to turn on battery saver mode, goes away, and comes back. message still comes up if u set battery saver to 15 or 5% saying battery saver mode on. sr farias does not do this, but still some issues with the coding, it came up like twice, hasn't since. i have no firmly switched from squids kernel because there has been an obvious lack of development on it. sr farias was last updated 7-11. either way, both kernels need updates to their battery saver mode. also i dont know if this is a CM13 issue or not, but I am unable to change my battery mode to power saver manually. i click it and stays on normal. i am able to change it to performance or normal, just not power saver.

also is usb fast charge a feature that needs to be turned on? i cannot find it in kernel auditor.

thanks
[E 2015 Original Android Development] Foreshadoww:
WiFi isn't working anymore.

WiFi isn't working anymore. XT1526 Surnia, Dirty Unicorns ROM. WiFi no longer will turn on..
[E 2015 Original Android Development] squid2:
Squid Kernel r17

This is a relatively minor update, but I decided to bump the version number since it's been a while since the last release and there are more patches than usual. It brings in the latest security patches and updates from Kernel.org as well.
[E 2015 Original Android Development] arnabnx:
Thanks a lot. :)
[E 2015 Original Android Development] spiked_mistborn:
[MENTION=6485916]squid2[/MENTION] does this include most of the updates that Alberto97 has been putting in the stock CM13 kernel for Surnia?
[E 2015 Original Android Development] squid2:
Yes, it is in sync with the CM13 kernel.
[E 2015 Original Android Development] Knuxyl:
I did some benchmark tests on 3 different kernels for Surnia Moto E 4G (XT1526) on a fresh installation of CM13 (13.0-20160822-NIGHTLY-surnia) with different kernels. I started with the default kernel in CM13, then SrFarias and then Squid. Here are the results

AnTuTu Benchmark v6.1.4

-----CM13 Results-----

CM13 XDA Link

(cm-13.0-20160822-NIGHTLY-surnia.zip)

26,562

3D = 1156 // 3rd

UX = 11430 // 2nd

CPU = 11162 // 3rd

RAM = 2814 // 3rd

-----SrFarias Results-----

SrFarias XDA Link

(surnia_srfarias_kernel_r9b_dt2w.zip)

27,333

3D = 1369 // 1rst

UX = 11255 // 3rd

CPU = 11347 // 2nd

RAM = 3362 // 2nd

-----Squid Results-----

Squid XDA Link

(squid_kernel_r17-surnia.zip)

27,899

3D = 1221 // 2nd

UX = 11770 // 1rst

CPU = 11491 // 1rst

RAM = 3417 // 1rst

//////////Best Results\\\\\\\\\\

3D = SrFarias

UX = Squid

CPU = Squid

RAM = Squid
[E 2015 Original Android Development] mbangi:
WiFi is not working plz help XT1521
[E 2015 Original Android Development] mbangi:
See Mac address
[E 2015 Original Android Development] love4chat:
Thanks For The Update!

---------- Post added at 06:29 PM ---------- Previous post was at 06:11 PM ----------

Mine is proper when wifi is on otherwise showing same like u...!
[E 2015 Original Android Development] nigelhealy:
I am trying f2fs with Squid and CM13 and its not booting, stuck at the CM booting step.

Ideas?

Edit: seems /cache as f2fs was problem, /data as f2fs works. Cache too small?
[E 2015 Original Android Development] sm4tik:
Iirc it's a ROM thing. Cm assumes cache is ext and there is no option to change it. You'd have to recompile it with a mod to fstab (?) source to make it happen. The kernel obviously has support for it.
[E 2015 Original Android Development] battle_hardened:
Shouldn't it be possible to edit the fstab manually with root access after rom install?
[E 2015 Original Android Development] nigelhealy:
(this is a CM13 issue then so I'll look for that solution in CM13 thread)

So for any running this kernel, then I do think it is worthwhile moving to F2FS. When I got my Surnia I unlocked and was on crDroid KK rom and this kernel then it seems now to be basically CM13 so I moved to CM13 and this kernel. I ran for a few weeks with ext4 but the phone was laggy, the sort of thing I'd experience was apps missing which were installed as the scrolling through apps was too much to ask. I had a lot of apps installed. I then moved to f2fs (this kernel supports) and if you make the /data f2fs, if you do use M's SD card support it then makes the SD card f2fs also. The performance is noticeably improved in my case. Obviously this is more of a fresh install type context. I have a 64GB and 128GB SD and did a benchmark and the 64GB fastest to help with apps on SD.
[E 2015 Original Android Development] DanHutchins:
is the latest kernel stable for xt1526 on cm13?
[E 2015 Original Android Development] crazynapkinman:
Yes
[E 2015 Original Android Development] Knuxyl:
how can we take advantage of the cm13 kernel updates if we are using this kernel?

like from 8/26

osprey: surnia: Disable cpu_boost (android_kernel_motorola_msm8916)

surnia: Add Custom PowerHAL header (android_device_motorola_surnia)

msm8916-common: Move here Moto 8939 specific PowerHAL (android_device_motorola_msm8916-common)

msm8916-common: Implement Custom PowerHAL for osprey and surnia (android_device_motorola_msm8916-common)
[E 2015 Original Android Development] squid2:
Ah, hadn't realized that. I've never used USB OTG before.
[E 2015 Original Android Development] xukashi:
The idle problem is here too. XT1524
[E 2015 Original Android Development] dwane3:
Kernel will be update with fixes?
[E 2015 Original Android Development] squid2:
I will release a new version with fixes once Motorola releases kernel sources for 5.1.
[E 2015 Original Android Development] dwane3:
Please modify stock kernel with camera fix.....Please upload stock kernel with libs for 1524 model?Thanks.
[E 2015 Original Android Development] squid2:
New TWRP build

I've uploaded a new build of my TWRP for this device. It fixes the clock (it shows the correct date and time now), uses an updated version of this kernel (r5), and adds support for qseecom hardware encryption (thanks [MENTION=5650314]vlcdsm[/MENTION]). I haven't tested the hardware crypto part though. The link is up on the downloads tab (here).
[E 2015 Original Android Development] squid2:
Deleted
[E 2015 Original Android Development] dwane3:
I flashed new recovery img over twrp and bricked device.Is not loading into twrp,boot.img is corrupt..What i need doing?Please help me.Thanks! Model xt1524 lte.
[E 2015 Original Android Development] squid2:
You tried to flash the recovery over TWRP? Heh, I don't know what TWRP does when you try that.

Boot into the bootloader (while device is off, press PWR and VOL- together for 3 seconds, then let go). Plug the device into your computer, and flash the recovery using fastboot (replace recovery.img with the correct file name):

fastboot flash recovery recovery.img

You should then be able to at least boot into recovery. From there, you can transfer files onto your device using ADB or MTP. You can use TWRP to restore stock firmware using Q9Nap's flashable stock ROM zip: http://batakang.com/ftp/devs/mhous3...74921.surnia-LPI23.29-15-logo-boot-system.zip
[E 2015 Original Android Development] jahrule:
Sorry if i missed this, but I think it would be a good idea to make a thread with your TWRP build.
[E 2015 Original Android Development] squid2:
Good idea. Here's the new thread for my TWRP: http://xdaforums.com/moto-e-2015/development/twrp-squid-twrp-recovery-moto-e-lte-t3137649
[E 2015 Original Android Development] squid2:
Beta Kernel for Android 5.1

I have a kernel for the 5.1 stock ROM in the works. Those who wish to try a beta can PM me.
[E 2015 Original Android Development] teckx:
would be grateful if you add Smartass v2 or other governor

Excuse my English
[E 2015 Original Android Development] squid2:
Squid Kernel r6

I've finally released Squid Kernel r6, a major new version intended for the Android 5.1 Stock ROM. This new kernel will not work properly on old 5.0 ROMs. This is a massive update, adding my new Lionfish governor, IntelliPlug, BFQ, Linux 3.10.84, the lastest Qualcomm patches, and more. See the first few posts of this thread for more information. Downloads are up on the downloads tab. As usual, Boost Mobile XT1526 CDMA users should use the CDMA version, and everyone else should use the regular (GSM) version. Detailed installation instructions are available in the third post of this thread.

Also, be aware that the zips in this thread won't work properly on custom ROMs (such as AOSP and CyanogenMod). Ramdisk differences will cause issues. This kernel is for the 5.1 stock ROM only. I may release custom ROM compatible builds in the future.
[E 2015 Original Android Development] squid2:
CyanogenMod 12.1

For those who asked, I've made a build of CM12.1 with my new r6 kernel. Most things should work in this build, with the exception of the FM radio. I'd suggest using an app like No Frills CPU Control to enable lionfish and fiops, and to lower the idle frequency from 800 MHz to 200 MHz.

http://www.mediafire.com/download/s02ddvmikthd46g/cm-12.1-20150729-UNOFFICIAL-surnia.zip
[E 2015 Original Android Development] Fedray:
This is cm12.1 by scritch with your kernel right?

Enviado desde mi MotoE2(4G-LTE) mediante Tapatalk
[E 2015 Original Android Development] squid2:
Yes, it is based off scritch's device tree. This kernel requires a ton of vendor blobs to be changed though compared to scritch's CM12.1. That's why I made a full build rather than a standalone kernel.

For reference, here are the device and vendor trees I used to build it:

https://github.com/sultanqasim/android_device_motorola_surnia

https://github.com/sultanqasim/android_vendor_motorola_surnia
[E 2015 Original Android Development] sfermat:
One question, i need to flash the stock ROM zip if i have stock 5.1 alredy? Because im in latin America and maybe the zip broke my baseband

Enviado desde mi MotoE2(4G-LTE) mediante Tapatalk
[E 2015 Original Android Development] squid2:
If you are already running the 5.1 stock ROM, just flash the kernel. You don't need to reflash the ROM or change your baseband.
[E 2015 Original Android Development] pixiebob:
squid2: your kernel is very efficient now with intelliplug, lionfish and fiops. you do a great job
[E 2015 Original Android Development] sm4tik:
Looks to me that the only kernel specific change is disabling cpu boost in defconfig. Others are not related to the kernel itself, so don't worry about it. If there should be anything important going on, I'm sure this kernel would get updated in time also. (Like it did the last time)
[E 2015 Original Android Development] famewolf:
I have the latest cm13 nightly direct from cyanogenmod. I'd like to flash this kernel. I'm also intrigued with converting everything to f2fs however I had planned to split my 64gb sdcard into 1/2 for adopted storage and 1/2 as normal portable storage even though I don't plan to remove the card.

Instructions for that can be found here:

http://xdaforums.com/idol-3/general/make-sd-card-semi-adopted-t3399510

My question is how do I get those into f2fs as well since by default it does not appear to use them...then again I don't have this kernel installed yet.
[E 2015 Original Android Development] nigelhealy:
I know half the answer, when data is f2fs then it formats the mounted SD the same f2fs.

Don't know about splitting half adopted. I could experiment as I broke my Surnia sim slot so its dead to me as a phone got a new one off eBay coming so I can play at this.
[E 2015 Original Android Development] Paolo ponzano:
Can i disable fsync with this kernel?
[E 2015 Original Android Development] AjrAlves2016:
465MHz GPU OC

you could add a GPU OC to 465MHz without add a CPU OC, it certainly will add a bit higher performance on games.
[E 2015 Original Android Development] spiked_mistborn:
I tried a 50/50 split on my 64GB sd card for a few weeks and eventually had to just go back to having the entire card as adopted storage. It worked ok for a while, but then started saying "insert sd card" and both partitions were inaccessible to the phone. Reinserting the card would sometimes cause a reboot and sometimes work for a little while. Also, the squid2 twrp does not see the adopted volume in this case, so anything you want to install has to be moved to the "sdcard" partition first before going in to recovery. My /data partition is f2fs, and running cat /process/mounts shows that the adopted storage volume is also f2fs. You might be able to format the 2nd SD card partition as f2fs from within recovery.

I've had occasional issues with getting an error message saying "system process is not responding, wait, close" any time I'm using adopted storage with the squid2 kernel also, where stock cm13 is ok. It seems to work without issue otherwise.
[E 2015 Original Android Development] Knuxyl:
how can we merge cm13 surnia changelog for kernel with your sultan source from here

https://github.com/sultanqasim/android_kernel_motorola_msm8916

merge with the changes from here

https://www.cmxlog.com/13/surnia/
[E 2015 Original Android Development] ayush rao:
Hey Squid,

I've been using your kernel from the time I rooted my phone and never really thanked you for this. I started off with your kernel then installed tons of different Kernels but always came back to this kernel. The only kernel I used extensively other than this one was the Chriszuma kernel, but I left it for its lack of development and security updates. I always ran the configuration you asked us to follow for the best battery life and I did so for almost an entire year now. I must say the battery life I've been getting is great. I know 4hrs of SOT isn't that great but I use my phone for YouTube, chatting, browsing, etc. and your kernel + CM13 (Built by you :)) has served me well. I hope you continue this kernel's development. You r truly a very talented developer. Also I hope u'll update this kernel for Nougat support as CM14 is just around the corner :fingers-crossed:.

Thanks.
[E 2015 Original Android Development] crazynapkinman:
No spamming please. All the posts for the last 2 pages are not appropriate and far off topic. Mod please delete those and this one as well. No spam please! It makes finding things and reading the thread difficult!

Again, please delete the posts that aren't specific to this thread, including this one.
[E 2015 Original Android Development] Divine_Madcat:
I have cleaned up several posts; lets keep it on topic guys, and take the fighting elsewhere...
[E 2015 Original Android Development] bloodsaw:
[MENTION=6485916]squid2[/MENTION] will we ever see a copy of your custom kernel that works with Android 7.0? I loved using your kernel with cm13 but with the new changes to boot images that AOSP made, No custom kernel will allow android 7.0 to boot once flashed
[E 2015 Original Android Development] squid2:
It's planned, I just need to find time to work on Nougat related things for the MSM8916 family.
[E 2015 Original Android Development] amanguver:
Upgrading from r5 to r17 (XT1524)

Hi,

I want to upgrade my Moto e 4g running rooted stock 5.0.2 to official cm13, but I have installed the old r5 kernel that is not compatible with 6.0 so I need to upgrade it, but, what do I have to flash first, the rom, the kernel, or the modem? :confused:
[E 2015 Original Android Development] MotoJunkie01:
What model Moto E (2nd Gen) do you have? I will provide you with some links to some updater zips.
[E 2015 Original Android Development] amanguver:
I have the XT1524 model. It is unlocked and it's bought in Spain, if that helps.
[E 2015 Original Android Development] MotoJunkie01:
You should be able to perform a full wipe via TWRP (Dalvik, Cache, System, Data) and then flash cm13 and a custom kernel with no problems. I am on an xt1526, for example, and upgraded from stock 5.0.2 to cm13 by doing a full wipe, flashing ROM, Gapps then custom kernel. However it wouldn't be a bad idea to update your modem (as is recommended in [MENTION=6485916]squid2[/MENTION]'s kernel thread). Visit the Modem's and Basebands thread in this forum for files and instructions on updating your modem should you have any issues.
[E 2015 Original Android Development] amanguver:
Ok, I've flashed the ROM and the Gapps but when I flash the kernel it says it failed because ''Zip signature verification failed: 1"

What should I do?

I'm using TWRP v2.8.7.0
[E 2015 Original Android Development] MotoJunkie01:
I see. OK, be sure and use [MENTION=6485916]squid2[/MENTION]'s TWRP, version 3.0.2-r1. Other versions of TWRP are full of bugs and have been reported to have a multitude of problems. And, in your TWRP settings, be sure and disable signature verification.
[E 2015 Original Android Development] amanguver:
Do I flash it on top of the old TWRP?
[E 2015 Original Android Development] MotoJunkie01:
Yeah
[E 2015 Original Android Development] amanguver:
[/COLOR]

Ok, I have installed TWRP and the kernel and the ROM is working without any issues.

Calls/SMS/4g/WiFi works so I don't need to install the modems, right?
[E 2015 Original Android Development] MotoJunkie01:
Correct. As long as your reception is good and no issues with SMS/MMS then you are OK.
[E 2015 Original Android Development] amanguver:
Thank you very much for helping me! :D
[E 2015 Original Android Development] MotoJunkie01:
Hey no problem friend. Glad you got it worked out.
[E 2015 Original Android Development] mykenyc:
Hello squid, i will be using this phone again and i was wondering if when you do work on the kernel can this patch be applied, already asked another kernel dev:

http://xdaforums.com/showpost.php?p=69416777&postcount=39
[E 2015 Original Android Development] Master ST:
ok flashed the kernel now what??

what will it do
[E 2015 Original Android Development] sm4tik:
I'd go and install kernel adiutor, take a look at the features/tunables of the kernel and then go read some on the ones you need more information on. :good:
[E 2015 Original Android Development] ayush rao:
Download kernel auditor from the playstore and then follow the instructions given by Squid:

http://xdaforums.com/moto-e-2015/orig-development/squid-kernel-moto-e-lte-2015-t3072209/post59884565

It will help improve ur phone's battery life and maintain performance.
[E 2015 Original Android Development] krishna2vinayak:
Does the kernel works with XT1521 stock 6.0? I've VOLTE support now. Is installing this kernel preserves it? Can I have VOLTE with this kernel?
[E 2015 Original Android Development] IIDarkII:
WiFi not working on xt1526 with Marshmallow :(
[E 2015 Original Android Development] squid2:
Squid Kernel r18

I have a new kernel build for you. Apologies for the delay, I have just had a very busy past few months. This build doesn't bring any exciting new features, but given the long interval since the last release and the sheer number of commits in it from the security updates and harpia support, I decided to bump the major version number.

Be aware that today's r18 release is still MARSHMALLOW ONLY. A Nougat compatible version will be coming soon (along with CM14.1 for devices that haven't yet received it from me).
[E 2015 Original Android Development] cango123:
Thanks man, we love you #nohomo :D
[E 2015 Original Android Development] trove:
Reflash it using TWRP 2.8.5.0 from this thread. If you have trouble seeing files on your SD Card, simply connect your device to your PC and copy kernel zip into existing destination.
[E 2015 Original Android Development] IIDarkII:
Ok, thanks. I'll Try it. So, if i want to come back yo squid's TWRP. Can i? It won't let me without WiFi again?
[E 2015 Original Android Development] trove:
To clarify:

TWRP = recovery

Squid kernel = ... kernel

These are two separate things. Just follow this guide . And then flash this kernel.

I've just had this problem like few hours ago. WiFi didn't work with both r17 and r18. Now, with TWRP 2.8.5.0 and r18 all seems to be right.
[E 2015 Original Android Development] IIDarkII:
I mean the TWRP Squid's Versión.

And, r18 works with Stock rom?
[E 2015 Original Android Development] trove:
After you flash it, you should be safe to change recovery. As to the question - I don't know.
[E 2015 Original Android Development] IIDarkII:
Ok, i'm downloading kernel and recovery. Thanks Bro
[E 2015 Original Android Development] IIDarkII:
1st; Yeah! r18 works correctly with Stock MM ROM In xt1526

2nd; Yeah! x2 haha, The WiFi inssue is a Recovery problem, not a kernel problem. Thanks!
[E 2015 Original Android Development] trove:
I have some more feedback.

WiFi stopped working after some time. Maybe it was because I've changed TWRP back to 3.0.2 or some other bug. However, now I've reflashed cybojenix's TWRP and Squid's Kernel to see if it will work with this combination. If WiFi stop working again, I'll comeback with edit. Otherwise it will mean it works.
[E 2015 Original Android Development] Wolfgang85:
Moto E LTE doesn´t start

Hi guys, sorry if this in not the place to ask, but after I flashed the r16g from the recovery, it starts and just freezes at the M logo... after a while, it restarts and the logo again... why is that guys, did I brick it? Could you help me I´d really appreciate it! Thanks :good: