yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] layman806:
Nonononono, you are right until flashing kernel, then wipe cache, then reboot.
[Moto G Android Development] sayash5:
can i hard reset after reboot bcs i want to get rid of my apps lol
[Moto G Android Development] rokban:
Won't you get screen flicker ? Bootloader needs to be updated to, so maybe 5.0.2 stock ROM installation with fastboot 1st, then do all stuff..
[Moto G Android Development] layman806:
Then, first do a hard reset, then flash latest bootloader, then flash twrp, then flash cm12.1, then flash kernel, wipe /cache, then reboot.

Screen flicker, with old bootloader? Dunno. Gonna check if I updated my bootloader. But anyway, having the new bootloader MAY be better. [MENTION=4716338]sayash5[/MENTION], flash new bootloader first. But then, you should NEVER attempt to flash a Kitkat bootloader; flashing an older bootloader will brick your device.
[Moto G Android Development] Mathbs:
I've flashed r30 over r28. How can I clean flash and fix this mess?
[Moto G Android Development] layman806:
Flash your current ROM without wiping anything, then flash r30 over it, and then wipe /cache.
[Moto G Android Development] ldiomedi:
What I always do is wipe cache and system, then flash current rom, gapps, kernel. Wipe cache again and reboot. Never had a problem. It's almost a clean install
[Moto G Android Development] sayash5:
ok will do, right now im on 41.13 bootlaoder, can you check what version of bootloader you running rn?
[Moto G Android Development] layman806:
Please wait.

Edit: I'm on bootloader version 41.18

So, I'd recommend you to flash the newer bootloader. But, I repeat, never to flash an older bootloader if you ever want to downgrade.
[Moto G Android Development] rokban:
You need to update bootloader, else you have to live with screen flicker..
[Moto G Android Development] sayash5:
I will upgrade my phone to lollipop tomorrow since its getting late and im so sleepy

thanks for helping me, have a great day ahead :)
[Moto G Android Development] Ouenz:
ya, i flash on resurrection remix rom with the original kernel, no tweak, not yet flash other kernel before,...
[Moto G Android Development] sharath_babu:
[MENTION=5857055]Flashhhh[/MENTION] ,As i n couple of em has experienced death of sleep in prime r30 , may b flashhhh , can u try this prime r30 for a day n verify?? ... bz i read it last post n came to know u r using standard r30 .....

note- I've checked in both dirty flashing n with full wiping method .... DOS occurs in all governor , even in interactive! .... now on standard r30. it's completely stable n awesome :)

ty
[Moto G Android Development] kavstubh:
I flashed R30 Prime over R28 directly(dirty flash) , without ROM+ Kernel dirty flash.

No problems yet.

CPU frequencies working fine too.

DT2W also fine.

Awesome work [MENTION=2495416]flasHHH[/MENTION]..

Hats Offffff..
[Moto G Android Development] plantator:
You mentioned diffrent person :P

for me R30 normal works good;)
[Moto G Android Development] Ouenz:
i'm not yet change anything...
[Moto G Android Development] layman806:
Yeah, same happened to me, so I reverted to normal r30.
[Moto G Android Development] plantator:
Some report: sometimes when i turn off device, next after few minutes turn on and check my no deep sleep time it is ok 2-4 secs so it is ok, but sometimes i got for egzample 1 min no deep sleep without reason, checked in wakelock detector, kernel wakelock shows me PowerManagerService.WakeLocks

So sometimes when device goes off it is realy off with deep sleep, but sometimes without reason it no goes into deep sleep after turn on but some time later
[Moto G Android Development] Flashhhh:
What's the verdict? Deep sleep works right? Then what's the issue
[Moto G Android Development] plantator:
Generally yes but sometimes it goes into deepsleep not immediately
[Moto G Android Development] layman806:
Deep sleep works, but it's Deep Sleep of Death. Whatever I try, I can't get the screen to turn on after covering the proximity sensor for 2 minutes.

I think pocket guard is the culprit.
[Moto G Android Development] plantator:
OFC you tried to wipe cache,system,data,dalvik and then install rom and kernel? no? try
[Moto G Android Development] layman806:
Yes, tried that too, but without wiping data. There is just too much data I can't afford to lose. Not even app data. It's a pain to restore.
[Moto G Android Development] Flashhhh:
Yes ik that dt2w isn't working perfectly. Can u tell me which rom r u using?
[Moto G Android Development] layman806:
AICP 9.0, 5 May Nightly build.
[Moto G Android Development] Flashhhh:
I posted it many times. This kernel doesn't work perfectly on AICP. They use different ramdisk or what i don't know. Try on some other rom. Or else you can use stock aicp kernel
[Moto G Android Development] layman806:
Which ROM would you recommend, [MENTION=5857055]Flashhhh[/MENTION]? I'd dirty flash it over the current ROM or wipe system and flash it.
[Moto G Android Development] Flashhhh:
There's no need to change rom for that. Try normal version and see if problem persists
[Moto G Android Development] sharath_babu:
no problem as death of sleep with normal version on aicp 9.0

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

y don't u give a try with prime version!! ,
[Moto G Android Development] pra27:
I have used r28 prime and r30 prime on aicp. No problems with dt2w.
[Moto G Android Development] stoix:
Flashhhh, thank you very much man for your efforts. This kernel is great, i've been using it since R6 or 7 and I've always been satisfied with it.

I stayed on R27 for a while as it was running perfectly for me and I was reluctant to flash anything else, but finally decided to try R30 for the dt2w and I'm pleasantly surprised. Smooth, responsive, battery friendly and dt2w works without problems. I used it intensively today (the dt2w function) to see if any problems appear but it's all good, no issues, and pocket guard works as intended. I suppose not all our devices are equal and some get along better with this feature, or who knows why others encounter such nasty problems with it. Anyway, thanks, you rock!

My system:

- BlissPop 3.2 (22.04.2015)

- Optimus Prime R30 (interactive, row, MSM MPDecision)

- SlimGapps (Zero version 08.05.2015)
[Moto G Android Development] hhp_211:
Some of the things I use and do: read, read & read more

UKM_v3.8.3.1_Special_Ed.zip - by kantjer

https://www.androidfilehost.com/?fid=23991606952613112

Works fine on Moto G, although you may see one or two items in red that are not relevent/needed for tuning of Kernel.

If you still need an app to change SELinux to be in permissive

SELinuxModeChanger-v3.0.1.apk

http://xdaforums.com/devdb/project/dl/?id=12178

Thread - http://xdaforums.com/showthread.php?t=2524485

Synapse

https://play.google.com/store/apps/details?id=com.af.synapse&hl=en

I like it - enjoy

These settings and the profile are for

Optimus-Kernel-Falcon-DT2W.zip May 03, 2015 - R28

Builds change alot and ymmv if used on other releases

here is my synapse profile if you want to import it

View attachment R28-zzmove-hhp_211.tgz.log Remove the " .log "

should read just R28-zzmove-hhp_211.tgz

I have got

Battery cycle 1 = 7:43 hrs SOT,, 2% Battery reserve,, 16.5 hrs Overall Runtime

Battery cycle 2 = 8:21 hrs SOT,, 20% Battery reserve,, 16.5 hrs Overall Runtime

Battery cycle 3 = 7:45 hrs SOT,, 2% Battery reserve,, 25.5 hrs Overall Runtime

Battery cycle 4 = 6:05 hrs SOT,, 26% Battery reserve,, 19.75 hrs Overall Runtime

Battery cycle 5 = 7:13 hrs SOT,, 11% Battery reserve,,

Battery cycle 6 = 7:31 hrs SOT,, 26% Battery reserve,,

Battery cycle 6b = 8:05 hrs SOT,, 6% Battery reserve,,

ROM = CyanideL 11.0 May 02, 2015

cyanide-5.1-RC-11.0-falcon.zip

http://xdaforums.com/moto-g/development/rom-cyanidel-11-0-t3097187

GPU

= 100 - 450 & Simple_Ondemand

Wifi Scan

= 300 seconds

CPU Tab

all CPU

= 192 - 1190

CPU Input Boost Frequency

= 787 Mhz

CPU Governor

= zzmove

CPU Governor Tunables

Inputboost_punch_freq = 787200

scaling_fastdown_freq = 998400

HotPlug Tab

MSM_MPDecision

start delay

= 15,000

Runqueue Threshold HotPlug CPU2

= 20 %

Runqueue Threshold HotPlug CPU3

= 25 %

Time Threshold HotPlug CPU1

= 100 ms

Time Threshold HotPlug CPU2

= 100 ms

Time Threshold HotPlug CPU3

= 100 ms

After looking at some of these settings again I may test some of the other variables to see if it improves slow phone call wake up from sleep issues, before going to R30

.
[Moto G Android Development] hhp_211:
Black Octopus

although I have been liking the change to lollipops teal/green and others green themes,

something about this blue them keeps me coming back to it!

And yeah I am almost always on wi-fi, probably helps batt life too.
[Moto G Android Development] Captain'Murica:
I have slow phone call wake up from sleep issues.. How can I fix them?
[Moto G Android Development] Juste300:
I am trying to flash new prime R30 but when ever I flash it (clean install rom & kernel) the Kernel simply does not get flashed, recovery says flashed successfully but in rom I see stock rom kernel. Tried different ways too but does not help. Using TWRP latest build and Blisspop rom latest build.

Any ideas?
[Moto G Android Development] plantator:
Can you post your profile in text version or mayby screenshots of each page in synapse? coz my synapse don't want to import anything
[Moto G Android Development] hhp_211:
I literally typed out all my settings into that post. It don't get more text than that! lol.

[MENTION=6161645]Malcolm31099[/MENTION]

If i find anything good I'll share
[Moto G Android Development] Flashhhh:
Put the kernel in root of internal storage and then flash the kernel.
[Moto G Android Development] krupuk:
Hi [MENTION=5857055]Flashhhh[/MENTION]

Using R30 Prime on BrokenOS with default setting, I can't wake from deep sleep.

I need to reboot the phone every want to wake up from deep sleep. Help me please, what should I do with setting the kernel? Thanks
[Moto G Android Development] Flashhhh:
That's an issue with pocketguard it seems, use normal version for now
[Moto G Android Development] DVL2711:
R30 Prime

can i customize touch inputs for d2tw like interval between 2 taps, and part of screen where to tap?? [MENTION=5857055]Flashhhh[/MENTION]

bcoz screen goes on even when i hold the mobile in hand & not using..
[Moto G Android Development] layman806:
[MENTION=5857055]Flashhhh[/MENTION], I tried it out with Resurrection Remix too, and I'm still having the issue with the prime version. But I'm glad to say that the normal r30 works like a charm, and my moto g feels faster than ever before. Kudos, [MENTION=5857055]Flashhhh[/MENTION]!
[Moto G Android Development] Flashhhh:
Yeah issues with prime version it seems. Thanks for reporting. I have updated post #3 regarding it
[Moto G Android Development] KalolParty:
The SOT does seem to have taken a hit from R27. I had around 5 hours SOT with 15% remaining on R27. Then I was on Edge all day. Any suggestions?

I was mostly on WiFi with only around an hour on Edge on R30.

Using RR 5.4.4
[Moto G Android Development] Flashhhh:
It doesn't entirely depend on kernel. It also depends on which apps u use. I generally get 6 hrs sot. But sometimes 5 hrs. It keeps on changing. Don't worry!
[Moto G Android Development] Captain'Murica:
Amazing kernel!

This kernel is just amazing!

Got 5 hrs and 36 mins of SoT! Only used to get about 3 hrs 45 min with stock, and this kernel alone gave me about 2 hrs of extra SoT!

Great kernel [MENTION=5857055]Flashhhh[/MENTION]! Amazing work! :D:D:good::good::cool::cool::victory:
[Moto G Android Development] KalolParty:
Can you please tell me which ROM you're using? Thanks:)
[Moto G Android Development] Captain'Murica:
Euphoria, the link is in my signature :)
[Moto G Android Development] reversegear:
What more to expect 4hrs sot and still 41% juice left I can easily cross 6.5hrs :) thanks for the awesome kernel

NB : using R30 normal version along with Blisspop latest.
[Moto G Android Development] demolatorul:
Do you guys have problems with incoming calls not waking up the screen, or to late?
[Moto G Android Development] Captain'Murica:
Yep I have that problem, don't know how to solve it. Btw my screen does wakeup but takes quite some time..
[Moto G Android Development] rohit1990:
Difference

What is difference between Normal & Prime Version ???? Anyone please help thank you !!!
[Moto G Android Development] reversegear:
That problem is related to ROM. All cm based ROM has that problem AFAIK

Prime version has d2tw feature
[Moto G Android Development] rohit1990:
One more help !!!! If i am using kernel aduitor apps...so after flashing this custom kernel...do we have to enable every button in each feature like cpu,gpu,sound,display etc in the kernel aduitor to take benefit of custom kernel ??
[Moto G Android Development] OldYellowBricks:
No. The kernel maker has put in the best settings EXCEPT Screen and Sound option in Kernal Audiotr. Screen and sound feel free to tweak/change values.

---------- Post added at 02:08 AM ---------- Previous post was at 02:05 AM ----------

OP, can you consider tweaking the minfree values a bit? The stock CM values are hampering with multitasking abit. Maybe make it lower by 30-40%?

Thanks so much

Battery backup has been amazing
[Moto G Android Development] DVL2711:
can someone help me ??

[MENTION=5857055]Flashhhh[/MENTION]plz give me solution for this issue...
[Moto G Android Development] Dizzyrul3z:
is possoble in kernel auditor restore to default kernel settings?
[Moto G Android Development] reversegear:
Just clear the data

In settings >> app >> kernel auditor

Reboot

Default settings applied
[Moto G Android Development] Rendoqoz:
I've had it and seems to be issue :/

Coming from clean Blisspop install.
[Moto G Android Development] stoix:
I've also faced this issue (delayed screen wakeup on call) on BlissPop after installing R27 then R30. But some changes I've done in kernel settings (with Snapse) seem to have solved the problem and now screen comes on almost instantly.

Mainly I changed from Intelliplug to MSM MPDecision (first settings in order: 1, 4, 1, 4, 2, 600).

For CPU I use: min 300 - max 1190, Input Boost: 1094, CPU power saving: enabled, CPU Governor: Interactive.

Anyway, it seems hotplug related, cause if I leave all other settings the same but change from MSM MPDecision to Intelliplug, the delay is back. Hope this helps.
[Moto G Android Development] keepercito:
after install this kernel, i saw in kernerl auditor that the governator was ondemand and i change it to zzmove, so, could that doesn´t performances the settings that the kernel comes preloads???
[Moto G Android Development] layman806:
Clear kernel aduitor's data, then go to recovery and flash ROM + kernel, wipe cache, then reboot. Hope this helps.
[Moto G Android Development] tenjou_89:
I switched from intelliplug to MSM too. I can confirm this works. screen response after double tapping is faster if msm hotplug is enabled.
[Moto G Android Development] optimuspnj:
Flashed on Moto G XT1032 8GB Edition

Its works great buddies. Thank you so much Developers... :)
[Moto G Android Development] Dizzyrul3z:
For better battery performance I should use smartmax or zzmove?
[Moto G Android Development] rokban:
Try zzmove,

BTW anyone tried zzmove governor , no deepsleep of death now I hope :)

Using R30 for about 2 1/2 days now, getting around 5 hrs+ SOT and 2.5 hrs talk time , deep sleep is awesome , didn't face any issues, UI is smooth, scroll is fantastic, at times I found battery after staying in a particular percentage suddenly drops down 3 % instead of gradual decrease, well its nothing that bothers me still just sharing...

Thanks [MENTION=5857055]Flashhhh[/MENTION] for the wonderful kernel !!
[Moto G Android Development] KalolParty:
What ROM are you on? And what settings are you using? I'm not able to get more than 4 1/2 hours SOT.

---------- Post added at 04:19 PM ---------- Previous post was at 04:17 PM ----------

@Flashhhh Man I'm not getting good SOT. the performance is fine. But the battery life isn't. Any suggestions? Please n
[Moto G Android Development] Captain'Murica:
Your SoT may vary depending on the apps you use and the amount of apps open in the background.. There are so many factors which may affect battery life and it doesn't solely depend on the kernel or ROM. For example, I was browing reddit from full charge to 60% and got about 3 hrs 20 min of SoT ( *sigh* yeah I know that's a LOT of reddit), while casually switching between apps and browsing on the web gave me about 2 hrs 40 min of SoT... :)

EDIT: My kernel settings -

CPU min clock speed - 96 mhz

Multicore powersaving - On

CPU Governor - Intelliactive

GPU max clock speed - 450 mhz

GPU Governor - simple ondemand

These are my settings along with some few sound tweaks...
[Moto G Android Development] mallikarjun170:
Any one with lockscreen freeze issue is not with the prime kernel but it is with ambient display.Stop the ambient diaplay and check your phone.
[Moto G Android Development] Shub77:
Good settings imho, and Malcolm is right: for example, since I play boom beach a lot, is useless for me to watch the SoT... the battery is drained by the zookas... :)
[Moto G Android Development] Captain'Murica:
:good::highfive:
[Moto G Android Development] Flashhhh:
[MENTION=6161645]Malcolm31099[/MENTION] If u face late wake up issue and u r using intelliplug, then lower the hysteresis value to 6. That will solve your problem. It will solve Sleep of death problem for others too. Pls try and report
[Moto G Android Development] Captain'Murica:
Oh ok will try and report..

---------- Post added at 07:03 PM ---------- Previous post was at 06:53 PM ----------

Nope not working, still takes time, plus lowering the value somehow messed up the speaker, and the call only vibrates without any ringtone.. Set it back to the default value and the speaker worked fine..
[Moto G Android Development] Flashhhh:
Ok thanks for reporting. Strangely it worked for some other guy. So it might be the rom issue. Bcoz i haven't faced that on AOSP rom by alberto
[Moto G Android Development] Captain'Murica:
Hmmm, I did try by using the msm mpdecision hotplug, and the phone wakes up almost instantaneously.. Can't really understand what is the issue here.. Also should I use msm mpdecision or intelliplug? Which one is better, apart from the phone call wakeup issue?
[Moto G Android Development] Flashhhh:
Both hotplugs work good. If intelliplug is not working good for you, use bricked hotplug.
[Moto G Android Development] Captain'Murica:
Will bricked hotplug affect battery life in a negative way relative to intelliplug?
[Moto G Android Development] Flashhhh:
Not that much. If bricked hotplug solves issues for u, why don't use it?
[Moto G Android Development] Captain'Murica:
I'll use bricked hotplug, the reason I'm asking because I'm trying to get the best battery life.. :):o:p
[Moto G Android Development] KalolParty:
My SOT is not above 4 hours. I need 5 hours+.

Any suggestions??

Thanks.
[Moto G Android Development] Captain'Murica:
What apps do you use? Plus did you tweak anything?
[Moto G Android Development] KalolParty:
I have optimized my phone for low memory usage. I have Greenify taking care of it. Don't even have the Facebook or Google app. After flashing R30, the SOT went down by an hour or so consistently.

I have Edge running all day except when I have WiFi which is almost 50% of the time.

I just applied new settings to test. I'll give a feedback tomorrow.

I switched to Yankactive and have the max GPU frequency at 450 MHz using the Simple_ondemand governor. Also switched to the FIOPS I/O scheduler.

I'll let everyone know tomorrow.

Thanks for all the help everyone!
[Moto G Android Development] Captain'Murica:
Try taking a look at my settings, they are probably in page 150.. It gives me pretty good battery life :) Also you might want to check if there are any wakelocks draining the battery, especially Google play services wakelocks(most notorious app)..
[Moto G Android Development] KalolParty:
Yeah I'll check wake locks. Google play services :eek:

Thanks!
[Moto G Android Development] Captain'Murica:
No problem :)
[Moto G Android Development] tenjou_89:
would there be any problems if i flash the normal version over the prime version?
[Moto G Android Development] Flashhhh:
Did u try rebooting your device. It may sound stupid but it helps
[Moto G Android Development] rokban:
Still going on at 7% , should give 30 mins more SOT..
[Moto G Android Development] khensin:
I think r30 is the best version, especially for battery.

Moto G XT1033

CM12-Nightly

Optimus Kernel R30
[Moto G Android Development] KalolParty:
Yup, do it every 24 hours.. :D
[Moto G Android Development] antarix:
[MENTION=5857055]Flashhhh[/MENTION] the latest version is working good with pac rom

No problems with dt2w

Thanks for a great build
[Moto G Android Development] sharath_babu:
[MENTION=5857055]Flashhhh[/MENTION] , will the death of sleep bug get fixed in next release???

can't wait to switch to dt2w again :) .....ty
[Moto G Android Development] antarix:
I'm using dt2w version and I got not sleep of death. Using intelliplug and yankactive.
[Moto G Android Development] sharath_babu:
which ROM are you using?
[Moto G Android Development] antarix:
Pac man unofficial 5.1.1
[Moto G Android Development] hhp_211:
sharath_babu did you check of your rom is using ambient display?

What rom are you on?

I'm on flexos and have not experienced sleep of death on R30 dt2w prime
[Moto G Android Development] sharath_babu:
yeah, I'm on RR 5.4.4 ...

N Yes I've active ambient display!
[Moto G Android Development] PeterImmel:
I don't really know what you guys mean with "sleep of death".

I'm on FlexOs + R30 pime (activated ambient display).

This ran since the release just fine for me, but since yesterday sometimes my phone doesn't response anymore an I have to longpress power button and restart.

Is this sleep of death? :D
[Moto G Android Development] sharath_babu:
yep , that's exactly what we call sleep of death!!
[Moto G Android Development] Flashhhh:
Hmmm incompatibility with active display it seems. Bcoz guys who have it disabled aren't facing the issue. Maybe you should try that
[Moto G Android Development] Thecrazyskull:
Yea i confirm that too lol when i turn off ambient display i dont have that issue anymore :)
[Moto G Android Development] speektre:
Im on blisspop with cwm and im getting status 6 when trying to flash this kernel. Any ideas?

---------- Post added at 12:17 PM ---------- Previous post was at 12:06 PM ----------

Nvm i got it working with TWRP.