yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] fliperpl:
hey

is there any way to get smart lock screen working? I am used to use it, but with your kernel the screen is not waking up instantly when i am getting my phone out of the pocket :/
[X Style (Pure) Android Development] dzidexx:
This option(ambient display, moto gestures) isn't in kernel.

It can be in rom you are using.
[X Style (Pure) Android Development] fliperpl:
it doesnt work after i flashed kernel, soo..

Im using lineageos 14.1

---------- Post added at 01:57 PM ---------- Previous post was at 01:55 PM ----------

nvm i am dumb

i actually disabled it for some reason
[X Style (Pure) Android Development] db3:
I just realized that I can't get into recovery. I was running twrp 3.1.0.0. It gets to the splash then reboots. I tried installing the latest version -- both through the app and fastboot -- but same results. Any ideas? Or should I be asking in a twrp thread?
[X Style (Pure) Android Development] dzidexx:
Try only boot twrp:

fastboot boot twrp.img

If will boot you can copy some data to pc.

After it format data, adv. wipe - all.

Reflash what you want.
[X Style (Pure) Android Development] db3:
Thanks, dzidexx! I'll give it a try. I'll have to get fastboot working first :/
[X Style (Pure) Android Development] dzidexx:
???

You can't boot to bootloader/fastboot mode? Bootlooping?

Hold power, when screen will off hold and keep only vol-.
[X Style (Pure) Android Development] rayparlour:
You could always try erasing userdata in fastboot
[X Style (Pure) Android Development] db3:
yeah, i wasn't thinking clearly when i wrote that. for some reason i can't reboot using fastboot, but once i'm in the bootloader, fastboot works fine.
[X Style (Pure) Android Development] Edvin73:
Fastboot works only in bootloader. You need adb for other stuff you mentioned.
[X Style (Pure) Android Development] tech_infinity:
Can someone please tell me which governor they are using for good battery life?

Thanks :)
[X Style (Pure) Android Development] HPAR:
Interactive/maple lol
[X Style (Pure) Android Development] ACardAttack:
What does that do? /why does that help?
[X Style (Pure) Android Development] rayparlour:
I use impulse governor with the drunksauce tweaks, zen for i/o
[X Style (Pure) Android Development] Spencervb256:
So I've been following the issues with bootloops and all that stuff with this kernel (2.0?) And I'm wondering, am I able to dirty flash any roms to update them? Or will I need to clean flash everything
[X Style (Pure) Android Development] dzidexx:
Look into post #258 this thread.
[X Style (Pure) Android Development] redemptionx11:
I dirty flashed the 6/10 nightly of AICP over handbag. Haven't had any trouble.
[X Style (Pure) Android Development] db3:
Ok, so i've tried this with twrp 3.1.1, 3.1.0, 3.0.2, and 2.8.7, all with the same results except the last, which didn't make it to the splash screen. From what I can find on this issue, others have been successful loading different versions of twrp, which i tried. I'd try formatting data, etc, from fastboot, but can I reflash the rom through fastboot as well? in case I can't get recovery working?

Right now I have a working device. If I erase userdata and still can't load twrp, will I be able to load the system and use the phone? I assume I could just restore data with Titanium, but thought I'd ask before doing something stupid.

thanks!
[X Style (Pure) Android Development] dzidexx:
1. Try this way:

fastboot boot twrp3.1.1.img

In twrp:

Format data, advanced wipe: all without exteernal. Reboot to bootloader.

fastboot flash recovery twrp3.0.2.img

In twrp 3.0.2. repeat wipes and flash any custom rom.

2. If you erese with fastboot you should flash stock rom:

fastboot erase system

...userdata

...cache

Flash with fastboot stock 6.x(without bootloader and gpt, don't lock BL). Reboot and install ota update.

Now you can back to custom.
[X Style (Pure) Android Development] db3:
#1 wasn't working for me -- fastboot boot twrp.

So, I'll guess I'll #2. I found stock roms in this thread: https://xdaforums.com/moto-x-style/development/rom-stock-rooted-debloated-x1575-6-0-t3262242. Is this fine or is there another source you might recommend? Thanks again!
[X Style (Pure) Android Development] dzidexx:
1. I'm not sure you are doing it properly.

Boot twrp, point 2nd,

https://xdaforums.com/moto-x-style/general/guides-how-to-guides-beginners-t3200808

fastboot devices (answer on pc: serial number)

Not flash, only boot:

fastboot boot <filename...>.img

2. Return to stock(you found rooted stock via twrp):

https://xdaforums.com/moto-x-style/general/guide-return-to-stock-relock-bootloader-t3489110

Witout commands with: oem, gpt, bootloader, oem(3 at start, 1 at end).
[X Style (Pure) Android Development] db3:
I'm afraid that I did do it correctly (i hope i didn't). Once in the bootloader, I tried fastboot devices, which returned the serial number and fastboot. I then tried "fastboot boot twrp-3.1.1-0-clark.img", which returned:

downloading 'boot.img'

OKAY [ 0.792s]

booting...

OKAY [ 0.432s]

finished. total time: 1.224s

First, I see a motorola splash instead of the usual unlocked bootloader warning. then, there's the twrp splash for about 10 seconds or so. then it reboots to the unlocked bootloader warning and continues booting into the system.
[X Style (Pure) Android Development] dzidexx:
Strange.

You have to flash stock rom(newest 6.x) with fastboot. Link I posted.
[X Style (Pure) Android Development] tdg2k15:
What version is safe to use that won't require me to wipe data after install.?
[X Style (Pure) Android Development] videogmike:
I am now back from the 2.0 issues. I did have to format internal storage to get myself going again.

Edit: I'm also wondering what version of kernel is safe. I really like and want to use this kernel. I felt like my phone was faster and had better battery but don't want to almost break my phone.

Great job with this kernel otherwise!
[X Style (Pure) Android Development] branran:
What did you format from internal storage?
[X Style (Pure) Android Development] dzidexx:
All versions from download tab are safe. You can use last - 1.7.1.

Reflash magisk(v13 beta) and install busybox if you want (after flashing kernel).

Interactive cpu governors still are not best choice.
[X Style (Pure) Android Development] videogmike:
I don't think it gave me a choice. I popped my sd card out just in case, on the wipe screen chose format or maybe it was advanced and then format. Point is though it did not give a choice it just made me type yes hat I was sure I wanted to format. It did erase the internal storage so make sure you copy that off somewhere and that you have backed up with titanium backup.

After format I rebooted back into recovery with sd card installed and started flashing from SD card.
[X Style (Pure) Android Development] videogmike:
Safe in that if I have problems or don't like it I can dirty flash my rom to remove it?
[X Style (Pure) Android Development] dzidexx:
Yesterday I had RRemix24_04+HKernel 1.8, today I have RRemix24_04 + newest gapps + HKernel 1.7.1 + magisk v13. [MENTION=3533386]videogmike[/MENTION]

Dirty flashed, at the same time, I checked the kernel Mokee.
[X Style (Pure) Android Development] Spencervb256:
so I screwed up my phone pretty bad with the handbag 2.0, but i was able to do what you described, everything else made twrp crash. Unrelated to the formatting but before i tried that, what caused it to mess up was I tried wiping the cache to clean flash a rom it messed up twrp, and the bottom bar is ghosting with the buttons. I know this is not a hardware issue, would flashing a newer version of twrp be a fix for that?

edit: so formatting fixed my issues i was able to flash rom and gapps, but still having issues with ghosting nav bar in recovery, will update later today if flashing a newr twrp fixes that issue:)

edit 2: i have booted into my rom again, but now i am having a really weird issue which should not be hardware. I mentioned the nav bar buttons in twrp were working about 10% of the time, but i managed to reinstall anything. now in the rom there is a smoll portion across the screen slightly above the nav bar which doesn't work. that is where alot of things pop up, and it is extremely annoying. ANyone know what could cause the issue of a space just above the nav bar not working? when before it worked perfectly fine. only since having bootloops in twrp crashing, has the screen started to act up in this spot

thanks in advance, hope I am not too much of a bother :p
[X Style (Pure) Android Development] ban.codrut:
I've been rolling with HB2.0 since that post and the only issue I had on normal usage is the complete lack of deep sleep. Despite this the device still goes into light sleep (as reported by GSam) and with my very light usage pattern I still get a full day of usage (24h).

Another random issue is that the kernel holds the device active for around 2 hours, I still haven't pinned down the exact kernel process which does that.

For smooth performance and good battery life I use GlassCannon interactive tweaks with msm_hotplug seted for 3 min_cpus_online and 0 min_cpus_online_big and 2 max_cpus_online_suspend. Overall I get 4,7 %/h battery discharge, and that's because the device doesn't enter deep sleep.

Worth reporting that I haven't update the ROM or flash anything so far! I will try and downgrade to stable HB 1.7.1 now and update this post on how the process goes.
[X Style (Pure) Android Development] dzidexx:
[MENTION=6320600]ban.codrut[/MENTION]

Msm hotplug?

Didn't work properly on any version of HKernel.
[X Style (Pure) Android Development] ban.codrut:
Works as intended for me. What issues has been reported about it ?
[X Style (Pure) Android Development] dzidexx:
You reported - no deep sleep.

I observed - only 4 cores online. [MENTION=6320600]ban.codrut[/MENTION]
[X Style (Pure) Android Development] ban.codrut:
The big ones barely goes online, but they do! That's the point in saving battery, the big ones kick in when gameing or launching or installing apps.
[X Style (Pure) Android Development] Louis1977:
With this kernel can increase the sound in kernel aduitor ???
[X Style (Pure) Android Development] Curlyfry2121:
For that you might want to check this thread out

https://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709/page2781
[X Style (Pure) Android Development] XDleader555:
And we're back!

06/15/17 - 11:41PM - v2.1

REVERT: Merge F2FS changes up to May 20th 2016

REVERT: Small updates to msm mdss

REVERT: Switched to bricked_hotplug as default

REVERT: Show cpu voltages (Not actually useful)

REVERT: Update linux from 3.10.102 -> 3.10.105

REVERT: zRam, zSwap, zMalloc Updates

REVERT: linux/random backport from linux 4.1.40

REVERT: Those various "optimizations"

REVERT: Anything relating to state_notifier and system_wq

Bring back PowerSuspend. Why fix what ain't broke.

Add patch to avoid f2fs kernel panic/bootloop when downgrading/upgrading (sidegrading?) to v2.1

So let's aim for a more lineage-like kernel and avoid grabbing commits we probably don't need.

Downgrading from the newer f2fs commits causes a kernel panic at boot. (For example, going from v2.0->v1.8) I've added a commit that should fix that in v2.1 even though I've reverted the f2fs changes.

Brought back PowerSuspend. It works, so why not. There's no data saying it's any slower/faster/powerefficient than state_notifier.

It seems deep sleep is working again too. Go figure.

Sorry for the trouble. I'd still say make a data backup before installing this version. Let me know if there are any bugs and I'll see if I can fix em.

Downloads in the same spot https://xdaforums.com/devdb/project/?id=20678#downloads
[X Style (Pure) Android Development] kadopt:
[MENTION=3623188]XDleader555[/MENTION]

Thanks for the new version.

Could you add a cifs module /capability to the kernel as well?

Thanks
[X Style (Pure) Android Development] tech_infinity:
[MENTION=3623188]XDleader555[/MENTION] thanks a lot for your work :)
[X Style (Pure) Android Development] XDleader555:
Will do.
[X Style (Pure) Android Development] tech_infinity:
Btw what's the difference between 'half' and 'Full' setting in double tap to wake.
[X Style (Pure) Android Development] XDleader555:
It seems that is a glitch with kernel audiutor. It should really just be an on switch. If the code included the half and full settings, then half the screen would respond to a double tap (Like the lower half only)
[X Style (Pure) Android Development] creeperlwd:
\o/ new release! Thank you so much!
[X Style (Pure) Android Development] Ijspegel:
Anyone can confirme IT works on DU?
[X Style (Pure) Android Development] tech_infinity:
Haven't tried 2.1, but all the previous verisons worked fine with DU
[X Style (Pure) Android Development] Curlyfry2121:
It worked for me a while back. Don't see why you can't now. If it doesn't work then on androidfilehost when you search Clark you should find clarkkernel.v1.2 or sum like that. And it works with dirty unicorns
[X Style (Pure) Android Development] dzidexx:
Downloaded, dirty flashed at RRemix 24.04+HKernel 1.7.1.

With magisk v13 beta. After settings in KAdiutor & restart I think it works fine. Wheatley + bricked hotplug.

Thanks!!!

---------- Post added at 03:55 PM ---------- Previous post was at 03:53 PM ----------

Ps.

At 1.7.1 I think the radio was too active - 3-5% by night(wifi, c.data off).
[X Style (Pure) Android Development] namartlu:
I got DU and like it, but it freezes up badly once in a while like when running facebook or candy crush. Can I tweak some of the kernel setting to fix it, any suggestion?
[X Style (Pure) Android Development] dzidexx:
Show/write here your settings.

---------- Post added at 04:32 PM ---------- Previous post was at 04:31 PM ----------

@namartlu
[X Style (Pure) Android Development] GchildT:
Scared to go to 2.1... 2.0 is working fantastic for me! Time for a nand backup...
[X Style (Pure) Android Development] branran:
Does power suspend still have the freezing screen off error if it isn't set to userspace or was that fixed? What do you recommend using?
[X Style (Pure) Android Development] dzidexx:
This is necessary if you want to change.

Read a few more posts.
[X Style (Pure) Android Development] XDleader555:
That's unknown. It might and it might not. Just try it for a few days and if it bugs out I'll look into fixing power suspend.
[X Style (Pure) Android Development] Spencervb256:
Yeah confirmed works great [MENTION=2971565]ljspegel[/MENTION]
[X Style (Pure) Android Development] kongha:
welcome back.

seems to work well with latest magisk beta/linage 14.1.

dirty flashed 2.1 over 1.7 :)
[X Style (Pure) Android Development] mddunner:
I've been tracking the 2.0 issues closely, but I don't fully understand the root of the problems. I upgraded to 2.1, and I am still unable to wipe dalvik cache from within twrp. Is that expected? Was there some sort of one way file system change that occured which requires reformatting cache and internal?

Handbag 2.1

CR Droid 3.2

Twrp 3.0.2.0
[X Style (Pure) Android Development] dzidexx:
Not system(ext4) partition but data(f2fs) partition.

There is no other way - only "format data" and all adv.wipes.(cleean flash)

I'm not sure twrp 3.0.2 will do it. Look for my suggestion in post #258.
[X Style (Pure) Android Development] XDleader555:
The issue is that we had updated the driver past the point of what TWRP has built in (linux 3.10.84 vs 3.10.102+). I haven't actually checked which changes would have done this. If you're interested in figuring out which one, I've moved the commits for v2.0 to the handbag-beta branch on github.

For the stable branch, we'll just leave f2fs as it was (aside from the one patch needed to prevent kernel panics from those who had already upgraded to 2.0)

You should be able to format cache (if you can't wipe) as it's a separate partition.

It seems I'm still able to wipe cache and davlik as normal after returning to the older f2fs driver on v2.1. You can try running fsck on the data and cache partitions in recovery.

Connect your phone to your computer and connect to adb. Run:

umount /dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata
fsck.f2fs /dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata

umount /dev/block/platform/soc.0/f9824900.sdhci/by-name/cache
fsck.f2fs /dev/block/platform/soc.0/f9824900.sdhci/by-name/cache

and see if that fixes your wiping issues
[X Style (Pure) Android Development] ozg33k:
Dirty flashed from XOSP + 1.7.1 to 2.1 works perfect thank you

---------- Post added at 10:05 AM ---------- Previous post was at 10:03 AM ----------

I had a similar issue before, I just backed everything up, and started fresh (formatted everything like new) and flashed my ROM + 1.7.1, now updated to 2.1 works nice.

Had to convert back to ext4 now, and now I just use ext4
[X Style (Pure) Android Development] tdg2k15:
[MENTION=3623188]XDleader555[/MENTION] -

I'm currently on Dirty Unicorns latest weekly release after just updating it from their RC release. And I have had zero issues with twrp not letting me format anything. Meaning I have no issues with your 2.1 kernel.. Only had the issue of not being able to format on your 2.0 kernel.. And I'm currently f2fs on my data partition and cache.
[X Style (Pure) Android Development] mddunner:
Thank you very much for this. So since Dalvik exists in the data partition which is f2fs for me, that's why I can't wipe it. I assume it'll be quite some time before TWRP is updated to that kernel level. I will give your adb commands a try and report back. Thanks again!
[X Style (Pure) Android Development] mddunner:
I ran fsck but TWRP still crashes immediately upon attempting a Dalvik wipe. Open to other suggestions, but I'm sensing i'll need to format /data before I'll succeed.
[X Style (Pure) Android Development] ACardAttack:
Once u execute drunksauce, is there anything else to do? Does that automatically apply on boot as I don't see it listed in the apply on boot section
[X Style (Pure) Android Development] branran:
Where do you find these profiles for our phone?
[X Style (Pure) Android Development] ACardAttack:
Kernel adiutor
[X Style (Pure) Android Development] branran:
How do you actually add the script to there like the way that people do with EX kernel manager?
[X Style (Pure) Android Development] ACardAttack:
https://xdaforums.com/showpost.php?p=69657754&postcount=5542
[X Style (Pure) Android Development] Curlyfry2121:
Using glasscanon with lazyplug profile set to 6 which is lazy, gives pretty decent results.

https://xdaforums.com/nexus-5x/general/alpha-glasscannon-interactive-tweak-t3587980/page25
[X Style (Pure) Android Development] ACardAttack:
How do I install this? I can download the text file similar to drunksauce, but it doesn't mention which permissions its needs, would it still be 755 or something different?
[X Style (Pure) Android Development] LJM9000:
Download the text file.

Open the folder /storage/emulated/0/ElementalX

Create the folder gov_profiles

Copy the text file to the newly created folder

Rename file to remove .txt

Open exkm

Click sidebar thing

Click tools

Click cpu govenor

Click load

Select the newly downloaded profile
[X Style (Pure) Android Development] Curlyfry2121:
It's for ex kernel manager. I don't know how to use profiles with kernel aduitor except with just putting them in manually and saving the profile
[X Style (Pure) Android Development] mddunner:
I was on handbag kernel 2.0, TWRP 3.0.2.0 and unable to wipe Dalvik / System. Flashing to kernel 2.1 had no change. I formatted internal storage from TWRP and was able to flash ROM properly. Thanks to all for the assistance.
[X Style (Pure) Android Development] lknnnn:
When my phone is in my pocket，it always reboots itself。Anyone else？
[X Style (Pure) Android Development] ACardAttack:
What rom are you using?
[X Style (Pure) Android Development] lknnnn:
AICP 0620
[X Style (Pure) Android Development] XDleader555:
Try disabling underclocking by setting the minimum CPU freq to 384mhz
[X Style (Pure) Android Development] lknnnn:
I changed the cpu governor from interactive（not default，I modified sth） to bioshock，now it works fine.I think it was my fault.
[X Style (Pure) Android Development] tdg2k15:
[MENTION=3623188]XDleader555[/MENTION] - any way we can get sound control on our chipset.?
[X Style (Pure) Android Development] XDleader555:
I'll see if there's a quick patch. Been working on getting modules to work, but sepolicy sucks. I've reverted back to a monolithic kernel for now, so you can expect a kernel update soon.
[X Style (Pure) Android Development] tdg2k15:
https://github.com/nathanchance/bul...200e3b307934d569219710bc914afd1d650dc7e5+1294

Good area too look
[X Style (Pure) Android Development] XDleader555:
06/23/17 - 3:23PM - v2.2

Add Alucard Hotplug and Autosmp Hotplug

Add Alucard CPU Governor

Set some cpu defaults on boot from frap129's electron kernel

Cherry-pick f2fs patch to avoid syncing kernel panics

Increase thermal threshold from 46C to 60C. Light load happens around 55C, so we're always throttling

Disable thermal core control (You can re-enable it if you like)

Dynamic Fsync

Add CIFS support

REVERT: wrong vibe control commit

Here's what I've done so far. I'll see about getting faux sound control working in the next update. We use a different chipset from other phones (Wolfson)

Let me know about any bugs or glitches.

Downloads: https://xdaforums.com/devdb/project/?id=20678#downloads
[X Style (Pure) Android Development] tdg2k15:
See Sound Control is present in EX Kernel Manager. But when selecting it it cause phone to freeze up and reboot. Are you sure our device uses the WCD9330 TomTom?
[X Style (Pure) Android Development] XDleader555:
Oh, I thought I disabled that for this release. Yeah I'll have to modify the code to get it to work. It was just me testing if some quick cherry picks would work.
[X Style (Pure) Android Development] kadopt:
My device was getting quite toasty using LOS and this kernel so I tried stock nougat (the twrp nandroid that is floating in XDA) and now temps and battery are great but stock is quite limited so what rom you guys recommend along with this kernel? Thanks.

[MENTION=3623188]XDleader555[/MENTION]

Thanks for CIFS support.
[X Style (Pure) Android Development] XDleader555:
It's gonna get toasty on 2.2 since Ive upped the thermal limit to prevent throttling. You can set the thermal limit to something lower (default was 46C)

I've set some kernel defaults which should work well enough, but power saving customizations are up to the user.
[X Style (Pure) Android Development] kadopt:
[MENTION=3623188]XDleader555[/MENTION]

Very well. To me it felt more like the device was never idling or entering deep sleep. I'll try once again to see if I can control it.

Also voltage control is similar to stock right, as it uses the same voltages for the same speeds?

Also and unrelated, sound was unstable in Poweramp but that may be rom related maybe?

Thanks
[X Style (Pure) Android Development] dzidexx:
I've very nice deep sleep, HKernel 1.71, RRemix, KAdiutor, Wheatley + BrickedHplug.

I observed:

No deep sleep after charging - I need run KAdiutor, check settings, apply then reboot.

I'm using system monitor app to look if it works.
[X Style (Pure) Android Development] fliperpl:
just flashed 2 2 version, trying out alucard governor with hotplug and some l speed battery tweaks, lets see :)
[X Style (Pure) Android Development] kongha:
Good deep sleep during a (sweet sweet) 8 hour night :). The phone got 7.15 hours of deep sleep with default HK 2.2 and latest LineageOs 14.1.
[X Style (Pure) Android Development] redemptionx11:
If there's a nandroid of stock, shouldn't someone have been able to make an .img for it? Either way, could you point me to the thread it's in?
[X Style (Pure) Android Development] dzidexx:
There isn't stock nougat boot.img.

Someone can do it - flashfire - backup for fastboot.

Maybe. [MENTION=261142]???[/MENTION]

Ask here:

https://xdaforums.com/moto-x-style/general/moto-x-pure-edition-official-android-7-t3596712
[X Style (Pure) Android Development] lolwatpear:
Is it slow, waking the phone, for anyone? Is this due to some sleep feature?