yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] HikingMoose:
Is the 25-30 second delay for WiFi to connect phone related, or is it just something in this kernel? Or maybe marshmallow? I honestly have been in this kernel for si long that I can't remember.

All I can say for sure is that my S4 and my tablet connect to WiFi almost instantly. But this phone I have to turn it on and set it down then check back in a minute to see if it's connected lol. (Not really that drastic, but it does take 25+ seconds).
[X Style (Pure) Android Development] Ltilt2:
Which rom are you running? I have no issues with this kernel and wifi
[X Style (Pure) Android Development] HikingMoose:
Stock. I can't remember if it connected faster on custom ROMs or not. I think it may have been normal on lollipop. I think it started with marshmallow. Unless it's the kernel. It's not a huge deal either way, just annoying waiting.

Just wanted to see how many others have to wait for WiFi to connect after turning in on.
[X Style (Pure) Android Development] Ltilt2:
I am running Trupure with this kernel and wifi works perfect. It connects right away. I ask which rom cause I was running cm13 and wifi was an issue for me.
[X Style (Pure) Android Development] gadgetguy08:
Now that you mention it, for me it takes about 20 seconds for wifi to connect and become active after starting it. I usually don't notice it. Seems like it has been that way as long as I can recall.

TruPure 2.9 and Frankenclark .12.
[X Style (Pure) Android Development] unitz0mbie:
may I ask which script set up do u use?
[X Style (Pure) Android Development] Psykitt:
Hello zohar_ml

You must not update the Android System Webview!

I read in the comments, that this misbehaviour is related to the new update.

Greetings Psykitt
[X Style (Pure) Android Development] zohar_ml:
I have V 45.0.2454.95 installed.

I see that in http://www.apkmirror.com/apk/google-inc/android-system-webview/

That there are much newer version.

Should i manually update?
[X Style (Pure) Android Development] Psykitt:
I have v 46.0.2490.76 and no problem with incoming calls.

Please let me know, when you succeed.

I am on stock debloated 6.0.1 MPHS24.107-58-1.

Greetings Psykitt
[X Style (Pure) Android Development] ban.codrut:
Hi! Do you have gravitybox installed ? I remember an option from gravity ("Wakeup with proximity") caused such a delay for me, under 5 secs tho.

Inviato dal mio XT1572 utilizzando Tapatalk

---------- Post added at 01:28 AM ---------- Previous post was at 01:25 AM ----------

Have you manually debloated it, or there is a debloated system image around here ? Can you pm or post the link pls

Inviato dal mio XT1572 utilizzando Tapatalk
[X Style (Pure) Android Development] Psykitt:
https://www.androidfilehost.com/?fid=24591000424942541

It is update #3 from this ROM:

http://xdaforums.com/moto-x-style/development/rom-stock-rooted-debloated-x1575-6-0-t3262242

Greetings Psykitt
[X Style (Pure) Android Development] zohar_ml:
Unbelievable!

This one works! now it's under 2 sec. how come the WebView has anything to do with this?

I have this option disables.

when I turn it on there is a new delay of ~4sec (but the screen will not turn on by the proximity sensor).

If we are into gravitybox:

I turned on- Navigation key actions -> Lock screen torch = on power long-press

After a reboot this will work great: long power press and the screen will keep off until the torch turns on and off.

But after the first short click on the power button it stop working. long power press and the screen will turn on instantly, with a short vibration and the torch will not turn on.

Is this a kernel issue?
[X Style (Pure) Android Development] Psykitt:
Hello zohar_ml

glad that I could help you!

With version 51.0.2704.81 I have 5 seconds delay on first call

and only 1 second on the following calls.

Greetings Psykitt
[X Style (Pure) Android Development] ban.codrut:
I have ti say, 6.0.1's kernel is pretty damn a lot better than last Motorola's kernel build. I can't wait to see franken build upon the new source as soon as it gets released.

Inviato dal mio XT1572 utilizzando Tapatalk
[X Style (Pure) Android Development] dirtyhank:
You mean start-up scripts? I switch every few days in order to test as many as possible.

To block WL I use Amplify.
[X Style (Pure) Android Development] dirtyhank:
Nice finding, thanks for the hint, gotta test this and see if I notice any difference. Although I must say I didn't experience much delay to begin with.
[X Style (Pure) Android Development] unitz0mbie:
blocked it but couldnt stream music from my phone because it kept cutting off, so had to remove it from amplify. thanks for ur help though lol
[X Style (Pure) Android Development] dirtyhank:
Now you know what that WL is intended for ;)
[X Style (Pure) Android Development] Psykitt:
Hello dirtyhank,

with 6.0.1 I have again these annoying focus issues.

Please provide a version with less aggressive flags.

Thanks in advance...

Psykitt
[X Style (Pure) Android Development] screech:
Do u have any of the governor tweaks enabled ?
[X Style (Pure) Android Development] Psykitt:
Hi screech,

no - even when I rename "scripts" to "scrapts" it happens.

Thanks for your quick response.

Is there a possibility to tune it a little more?

Greetings Psykitt
[X Style (Pure) Android Development] screech:
It seems like any optimization to the big cores is causing this. Try performance governor on the big cores and see if this still happens?
[X Style (Pure) Android Development] Psykitt:
Thanks friend, I will do that tomorrow and post the result.

Edit:

All is working atm - I will keep an eye on it.

Greetings Psykitt
[X Style (Pure) Android Development] dirtyhank:
Which governor did you use? I have 6.0.1 and haven't noticed focus misbehavior, can you provide further details to reproduce it?
[X Style (Pure) Android Development] Psykitt:
Hello dirtyhank,

I used Interactive governor 1536/2016 MHz and touchboost on 3 Cores with 1536 MHz.

You can try by removing .txt from the attachment.

Greetings Psykitt
[X Style (Pure) Android Development] hbar98:
About Android Pay: I've searched the thread and found a "maybe" answer. I've installed systemless root, but will the kernel cause Android Pay not to work? Anyone use this kernel and Android Pay?
[X Style (Pure) Android Development] unitz0mbie:
you like 6.0.1 better than trupure? what about batterylife and performance?
[X Style (Pure) Android Development] screech:
I switched to pure Nexus (6.0.1 based) .. and am seeing almost 2x battery and better responsiveness too.

Just rooted and installed BBS, because I could not believe the results.
[X Style (Pure) Android Development] unitz0mbie:
Really? Even with the script for better battery life?
[X Style (Pure) Android Development] jason2678:
Please post back if that holds over multiple charging cycles. In general, for me stock has been the battery king. Every once in a while on AICP, Pure Nexus, or Broken I would get an outstanding discharge cycle, but it was not repeatable. For the most part the custom ROMs just can't compete with stock's battery life, with the major difference being standby battery drain. I miss the custom ROM features, but the stock ROM stability and battery life is hard to beat on stock this close to AOSP. I don't like missing out on this kernel's features either.

As for responsiveness, I'm pretty sure Pure Nexus is one of the ROMs that defaults animations to 0.5x. Are you sure it is really carrying out tasks faster, or just animating the transitions faster. I do like the feel of the 0.5x animations faster. After I figured out that's at least a part of why Broken and Pure Nexus feel so snappy I started setting every ROM that way, including stock.
[X Style (Pure) Android Development] screech:
It has held for multiple cycles, not a fluke.

There is snappy, but there is also the jitter on transitions. I have seen neither. What I did see is that the kernel has boost disabled and min freq for the large cores set to 684 which maybe the difference maker.

On the battery, I am using 7/28 build which seemingly may matter, but even the drain in Skype/hangouts is better right now. Running BBS to see if I can quantify why.
[X Style (Pure) Android Development] unitz0mbie:
idk man on truepure with frankenclark and the rehypc script i have gotten 6 or more hours sot, even in heavy use when i watch lots of videos or play games doesnt drop below 4:30 and it barely drains on idle, i think for like every 3 hours it drops 1 percent when in my pocket and i always charge my phone when its hitting the low battery zone which is 15 percent, so i can push a little more if i tried but idk, just seems insane aosp can do that
[X Style (Pure) Android Development] dirtyhank:
This kernel doesn't touch system partition so in theory it shouldn't break Android Pay. Unfortunately I think latest AP versions don't even work with systemless root but give it a try a let us know ;)
[X Style (Pure) Android Development] hbar98:
Will try!! With latest 2.76 systemless I was able to open AP and re-add my debit card... unfortunately I live in an area where there aren't many AP terminals, so I don't have many opportunities to try, but if and when I do, I'll report back!
[X Style (Pure) Android Development] cerobles1:
In regards to Android Pay, this kernel DOES NOT break anything that will keep from adding cards or even paying. I currently have it running on my phone with systemless root. Just last night I ventured into the Systemless Xposed but havent had the time to see if it works while systemless xposed is installed. Android Pay opens up and shows the card added, will have to try to see if it works.
[X Style (Pure) Android Development] cerobles1:
Can anyone help me though, I can't seem to get the script to work to change profiles. How does everyone else do it?
[X Style (Pure) Android Development] hbar98:
From my understanding from the systemless xposed post, you will have to disable xposed, reboot, and then AP will work. Note: I have not actually tried this yet, as I just came off a format and install recently. I have systemless SU 2.76 installed, and systemless xposed. With xposed installed and on I can still open AP, but I haven't tried making a purchase yet.

Concerning systemless xposed, have you noticed any slowdown with your phone? With regular xposed I was getting some lag and jitter even with the more aggressive settings.
[X Style (Pure) Android Development] chris_dis:
It is one line : su -c /fc_profiles
[X Style (Pure) Android Development] l2yangop:
Can these be applied from within EX manager by saving them to a particular folder?
[X Style (Pure) Android Development] cerobles1:
[MENTION=3041825]hbar98[/MENTION] No lag on my end, but just noticed my systemless xposed installed as regular, and Android Pay allowed me to look at cards already added, but can't add new ones or even use the app to pay. That's after xposed was disable from within the app. You say yours installed fine??? Help me. Perhaps you or I can start a thread separate from this one to discuss Systemless Xposed running on MXPE.

---------- Post added at 09:09 AM ---------- Previous post was at 09:08 AM ----------

[MENTION=3041825]hbar98[/MENTION] No lag on my end, but just noticed my systemless xposed installed as regular, and Android Pay allowed me to look at cards already added, but can't add new ones or even use the app to pay. That's after xposed was disable from within the app. You say yours installed fine??? Help me. Perhaps you or I can start a thread separate from this one to discuss Systemless Xposed running on MXPE.
[X Style (Pure) Android Development] hbar98:
Heh, I really wouldn't be good at troubleshooting this. My usual reaction to messing up something with the system is to erase and reflash all the partitions and start over from scratch.

IF you do something like that, here's what I would suggest you do (because this is what works for me, YMMV):

Download the stock firmware from Moto

Reboot the phone into bootloader mode

Using fastboot, erase and reflash (system, recovery, boot... you should be familiar with the drill... if not, check out MarkCDMA's site for some good, albeit a bit outdated, instructions: http://mark.cdmaforums.com/MotoX-ReturnToStock.html )

Reboot into bootloader scroll to recovery, then factory reset (this gets the cruft that you might miss from erasing system, boot, recovery, etc...)

Restart and let phone complete one normal boot

Reboot into bootloader

Flash TWRP

Reboot phone into Android

Copy necessary files, systemless SU scripted zip found here: http://xdaforums.com/showpost.php?p=67689388&postcount=8 systemless xposed found here: http://xdaforums.com/xposed/unofficial-systemless-xposed-t3388268 and xposed installer found here: http://xdaforums.com/xposed/material-design-xposed-installer-t3137758

Reboot phone into TWRP, and when it prompts you to make system writable, DON'T. Don't slide the slider. Just... don't. Leave it read only.

Install the systemless SU scripted zip file

Reboot the phone into Android. Update SU if prompted

Reboot the phone into TWRP, again, keeping the system read only if you are prompted.

Install the systemless xposed file. Since your system is read only, it should properly install as systemless

Reboot the phone into Android

Install the xposed installer

Download your modules

Reboot

Profit

And, honestly, I use the command prompt because I find that rebooting with ADB reboots the phone faster (I don't know why... can anyone explain?), so the whole process only takes a little while.

Yes, I have done this frequently. For the most part the apps I use backup to the cloud except Doggcatcher. I love the app except for this one thing. Why can't they backup settings and feed list to Google Drive? Just... why? Yes, I use TiBu, but there should be an easy, non-root way to backup and restore the settings for this one app...
[X Style (Pure) Android Development] erikiksaz:
Question: To go back to the stock kernel (which I haven't used in ages), it seems that I lose wifi if I just fastboot flash the stock boot.img.

I did forget to flash the radios and to clear the cache, but is there anything else I need to do besides for:

fastboot flash boot boot.img

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

I'd prefer not to start from scratch.

UPDATE: Woops, was using the radios from the may security update image instead of the february one, which is where I'm currently at.
[X Style (Pure) Android Development] ShapeShifter499:
I'd like to add Android Pay works here with this kernel! I downloaded and installed TruPure 2.9 which I understand has this kernel included. I selected the option to install systemless root BUT skipped the option for busybox as the rom's script installs busybox before the systemless root and therefor the busybox installer cannot detect that I wanted systemless busybox. I just manually installed busybox later using Meefik's busybox app (https://play.google.com/store/apps/details?id=ru.meefik.busybox&hl=en) and changing the install location to /su/xbin. I have yet to mess with any xposed modules or xposed systemless install yet so I don't know if it will continue to work with or without having to enable/disable xposed then rebooting.
[X Style (Pure) Android Development] ShapeShifter499:
[MENTION=2400758]dirtyhank[/MENTION] Could you please enable binfmt_misc in the kernel? This is useful for a load of things including running x86 and x86_64 programs in a linux chroot using qemu and binfmt_misc like the app "Linux Deploy" from the app store does.
[X Style (Pure) Android Development] dirtyhank:
Is it just a matter of enabling it on the config file or are additional patches required?
[X Style (Pure) Android Development] ShapeShifter499:
Enabling the following is all that is needed afaik.

CONFIG_BINFMT_ELF=y

CONFIG_HAVE_AOUT=y

CONFIG_BINFMT_MISC=y
[X Style (Pure) Android Development] ShapeShifter499:
[MENTION=2400758]dirtyhank[/MENTION] One more thing, can this kernel be patched with the May security patch that was recently pushed out to our devices?
[X Style (Pure) Android Development] dirtyhank:
Not sure. If they didn't update the modem version it should be good, otherwise a modem downgrade will be needed for the WiFi to work.
[X Style (Pure) Android Development] ShapeShifter499:
Doesn't the modem update also include a security update? Or is it just updating for better compatibility with cellular networks?
[X Style (Pure) Android Development] dirtyhank:
Very unlikely, modem handles low level stuff and usually is updated for better connectivity. It was updated on the jump from 6.0.0 to 6.0.1 but I don't know on minor security updates.
[X Style (Pure) Android Development] dirtyhank:
Which boot image did you flash?
[X Style (Pure) Android Development] countryfolk07:
So, if this is not a rooted image, then how do you retain root? I'm on the other stock kernel currently, which is a rooted boot.
[X Style (Pure) Android Development] vimal_jakmola:
Kernel ds1572 dated 19th jan
[X Style (Pure) Android Development] noorul89:
If I flash this kernal on my TruPure 2.5 Rom, will my phone wipe the data on it like a factory reset? Thank you
[X Style (Pure) Android Development] dirtyhank:
Send me the stock kernel image and I'll take a look
[X Style (Pure) Android Development] mademan420:
No data loss:good:

Update:

Running both myself
[X Style (Pure) Android Development] dirtyhank:
Nope
[X Style (Pure) Android Development] Shishir Singhal:
Working flawlessly for me make sure to flash the ds version
[X Style (Pure) Android Development] unitz0mbie:
is this better than the v4tk uber optimized kernel?
[X Style (Pure) Android Development] jason2678:
I've done this 3x, once for each version of the kernel. Works fine for rooted stock.

Use fastboot to flash the new kernel. Do not reboot, start recovery directly from the bootloader after flashing boot with fastboot. From TWRP flash SuperSU 2.62 (or whatever version is working for you - 2.62-20151210170034 is my goto). Then reboot system, and as usual do not let TWRP flash SuperSU if it asks too.
[X Style (Pure) Android Development] dirtyhank:
I'm thinking about adding some CPU governors for next release and I'd like to know which ones you guys like the most. I've tried many and in the end I always end up with interactive but I value performance over battery life.

While we're at it it'd be pretty useful if you tell me which I/O scheduler you prefer too.
[X Style (Pure) Android Development] Tech_Savvy:
yankactive, lionheart, bioshock,
[X Style (Pure) Android Development] datkevjames:
Prefer to have, please:

ElementalX

Smartmax

Yankactive/YanksusQ

Interactive/InteractiveX

SmartassV2

What I'd like to see in the next update and it doesn't necessarily have to be all of them, having a good amount of choices is always nice.

Taken from http://androidmodguide.blogspot.com/p/blog-page.html all credits to them.

For performance:

Single-core:
- Interactive/InteractiveX - Best

Multi-core:
- ElementalX - Best
- Lionheart/LionheartX - Great
- Intelliactive - Great

For battery life:
Single-core:
- Ondemand - Best

Multi-core:
- Perfomance may cry (PMC) - Best
- Smartmax - Best

For balanced battery saving and performance:

Single-core:
- Interactive/Intelliactive - Best

Multi-core:
- Interactive/InteractiveX - Best
- Yankactive/YanksusQ - Best
- Ondemand/OndemandX - Stock, Best

For gaming:
Single-core:
- Interactive/InteractiveX - Best
- SmartassV2 - Great

Multi-core:
- Interactive/InteractiveX - Best
- ElementalX - Best

As for I/O I usually go with Deadline or the default CFQ.

Thank you for all your hard work and taking our suggestions into consideration. This is one hell of a great kernel, I have noticed greatly improved smoothness/performance as well as stellar battery life compared to the kernel that comes with TruPureXMM & Stock rom.
[X Style (Pure) Android Development] Tech_Savvy:
Westwood is the best and its already added.. I have question... Is it possible to add double tap to wake?
[X Style (Pure) Android Development] svs57:
Is boot-xt1572ds.img kernel for dual SIM?
[X Style (Pure) Android Development] Grafidio:
90% sure ds=dual sim :)
[X Style (Pure) Android Development] krohme:
Any chance of a link to this super su file?

---------- Post added at 12:50 AM ---------- Previous post was at 12:44 AM ----------

I'm having the same issues with getting this kernel to boot up on my xt1572, stuck at boot screen.

I tried flashing super su after in recovery - hasn't worked. Had to go back to stock kernel :(
[X Style (Pure) Android Development] datkevjames:
A quick search on Google brought this up: http://download.chainfire.eu/747/SuperSU/BETA-SuperSU-v2.62-20151210170034.zip

Found in this thread: http://xdaforums.com/showpost.php?p=64161125

I've found that flashing this specific version on a fresh MM install (Stock or stock-based) works flawlessly. If I try and flash the latest beta (2.66) it will bootloop.
[X Style (Pure) Android Development] jason2678:
Get systemless SuperSU here

Versions above 2.62 have been reported to cause issues on stock marshmallow on this phone.
[X Style (Pure) Android Development] Hitti2:
Does this kernel have Faux Sound?
[X Style (Pure) Android Development] jason2678:
I fastboot flashed the whole May update package that got posted over in the XT1575 firmware thread except recovery. A modem was included in the zip, but I didn't actually pay any attention to whether or not the version changed.

After booting into system once to make sure everything was working, I flashed Frankenclark back over the May update stock boot image and everything worked fine.
[X Style (Pure) Android Development] hbar98:
I'm sure that some of you know by now... but AP doesn't work even with systemless root. Looks like Google has flipped something server side.
[X Style (Pure) Android Development] ShapeShifter499:
Yeah it was working for a good while there, too bad. I guess I'll go install CyanogenMod now as Android Pay was the only reason why I kept a stock based ROM installed.
[X Style (Pure) Android Development] ShapeShifter499:
[MENTION=2400758]dirtyhank[/MENTION] what happened to adding BINFMT_MISC support?
[X Style (Pure) Android Development] SpasilliumNexus:
I've added the binfmt changes to the kernel to see if it works, and it builds successfully, but this Linux Deploy app doesn't seem to work correctly on WiFi, nor LTE, when it comes to downloading any distros in the app.

I'll mess around with the app some more, in hopes that a distro downloads, before giving up.
[X Style (Pure) Android Development] dirtyhank:
It'll be on v0.14 but I've been on vacation for a few weeks and took a "dev break" :)

I'll try to release it in the coming days.
[X Style (Pure) Android Development] Psykitt:
Hello dirtyhank,

unfortunately I still have the focus issues when the phone is on for several days.

After fresh reboot all is fine and crispy.

Here are the results...

After fresh reboot:

http://www92.zippyshare.com/v/twMxoWB9/file.html

After a few days of use:

http://www92.zippyshare.com/v/7rNuMbiM/file.html

Please provide the original camera flags with the new release or any other fix.

THX in advance

Psykitt
[X Style (Pure) Android Development] unitz0mbie:
hey do u guys rather use the 100hz or 300hz version?
[X Style (Pure) Android Development] dirtyhank:
That's very weird, I'm not sure it's the compiler flags if it works fine after reboot and then goes south after a few hours/days.

What setup/scripts are you using (governors, ZRAM, ....)?
[X Style (Pure) Android Development] Psykitt:
http://xdaforums.com/showpost.php?p=67740191&postcount=1755

I'm using Interactive governor 1536/2016 MHz and touchboost on 3 Cores with 1536 MHz.

No ZRAM.
[X Style (Pure) Android Development] dirtyhank:
The bad news is that camera related code is already using stock compiler flags so no much room for improvement there. We could try global stock flags but I hope it doesn't come to that because that would cripple performance a bit.
[X Style (Pure) Android Development] Psykitt:
So maybe you can provide a version for me in case that I still have focus issues. But now let's first try v14.

Greetings Psykitt