yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] Flashhhh:
That's quite strange. I just did some changes compared to R39.
[Moto G Android Development] Wandule:
Just did the clean flash and fail again. I'm assuming now that is a rom issue, but the R39 works perfect :/ and you just stated you made minor changes to the base code, so I don't undestand what's wrong.
[Moto G Android Development] plantator:
mayby ReRe needs to update their rom sources to latest and then it will work
[Moto G Android Development] BryanByteZ:
i have RR and worked fine.

just some problems in Synapse in GPU freq "empty values given",Vibrator STG "sseekbar has failed" and in bootloader status "Slivelabel has failed." in CM12.1 and blisspop i have this bug too.
[Moto G Android Development] Wandule:
Now I think it's my phone, because on the last Cyanogenmod rom nightly happens the same.

---------- Post added at 05:26 PM ---------- Previous post was at 05:24 PM ----------

Are you using the last version (5.5.4)? I can't understand why the R39 works and the R40 installs but kernel adiutor says that I have the stock kernel of the current rom.
[Moto G Android Development] iDynamics:
This may very well be a rom(NXrom r13) issue but it takes a few power button presses to turn the screen on using the latest release. I restored the backup I had with R39 and the issue is no longer present.

Thank you for your fantastic work.
[Moto G Android Development] Wandule:
Another funny thing that I noticed while installing the R40 is that the kernel installation is faster than usual. For example: When I'm installing the R39, the log from recovery shows an "installing" for about three of four seconds (as usual, like the older versions), which is normal due the process, and after that it shows "Done". But with the R40, the "installing" text skips directly to done. It's a small detail, I know, but it could be a clue.
[Moto G Android Development] layman806:
+1 for dt2w in prime version! XD
[Moto G Android Development] BryanByteZ:
Yes , the lastest version.

---------- Post added at 07:26 AM ---------- Previous post was at 07:25 AM ----------

Me too
[Moto G Android Development] Flashhhh:
Ok, Users who aren't able to install, pls put the zip in root of internal storage(kind of weird) and try. It could be a bad download too. And I'll be releasing a prime version later today. Hope that fixes some issues
[Moto G Android Development] BryanByteZ:
Yeah! Thanks for the hard work bRO!
[Moto G Android Development] kucingbaik2:
thank you...you a great man..!!!!
[Moto G Android Development] kedar512:
I put the zip in root folder and installed in recovery but not showing in settings about?

What's the problem?
[Moto G Android Development] Flashhhh:
Root folder?

Root of storage means put it in /storage and flash and not in any folder
[Moto G Android Development] kedar512:
Yeah I meant to say that only and I did as you said.

But didn't work.

I am on Albertos aosp.
[Moto G Android Development] sajty:
Same issue on Resurrection Remix,R40 is not installed.Super fast flash in recovery (like described above),but after boot,R39 is still installed.
[Moto G Android Development] Flashhhh:
I tested the kernel on CM,AICP and flashed just now on Orion. I have no issues while flashing. I don't know why u guys are facing it.
[Moto G Android Development] owaisnaim:
I too don't have any problem just flashed it on latest AICP

Ps- flashed it directly from UC download's folder..
[Moto G Android Development] jonrodz:
No problems on latest euphoria. Most of the time CLEAN FLASH is the key, guys...

Very good performance and battery using bioshock gov. Waiting for that prime version to flash it right away as soon it comes out. :D
[Moto G Android Development] kedar512:
Which twrp version are you on?

Normal or multirom?
[Moto G Android Development] Wandule:
If OP is has normal TWRP, that would be the only difference from us, and it would feed the fact that R40 has critical changes compared to R39 :/
[Moto G Android Development] DocBrowns:
Were Intelliplug and msm_mpdecision removed in this build (or any oft the builds after r38)? Because I'm on Moto G 4G and can't change the kernel plug. Using the build ported by Kayant (for 4G version), r39.
[Moto G Android Development] kedar512:
I flashed it using normal twrp and it worked.

It seems there is some problem with multirom twrp.
[Moto G Android Development] kedar512:
[MENTION=5857055]Flashhhh[/MENTION] what if I change freq_step in governor tunables?

What will be the effect?
[Moto G Android Development] adinkwok:
Frequency step tells the governor how much it should climb up the CPU frequency table. The higher it is, the more aggressive the governor will ramp up to a higher frequency.
[Moto G Android Development] :
Can I flash this kernel with Philz recovery?
[Moto G Android Development] dark_knight_95:
Yes
[Moto G Android Development] n0ts0smart:
At first I thought that I just wasn't pressing the power button hard enough lol, but after checking this thread saw this post. I too am experiencing this on R40/AICP.

I honestly hate to even bring it up because this kernel is absolute gun smoke. I have flashed a lot of kernels since 4.4 but after flashing this one I don't even look at kernel threads anymore. My search has ended. I don't want to seem ungrateful. The above issue is hardly a deal breaker, but since I saw a couple other people post about it I thought it would give me an opportunity to say "thank you" to the developer for this kernel. Great work.

The power button issue is on a clean flash to give you a little more info BTW, and if you need any more than that I would be more than happy to provide.
[Moto G Android Development] Flashhhh:
Thanks for reporting. I'll look into the issue. I need to release the prime version too but not getting time to do so. Wait a little more guyz!
[Moto G Android Development] n0ts0smart:
I should probably clarify that the power button issue is intermittent but seems to increase in odds of happening the longer screen is off.

Looking forward to your prime version when your schedule opens up. More than worth the wait. Once again, thank you for your response and your work on the Moto G.
[Moto G Android Development] Wandule:
Well, that's the reason. Maybe the Prime version can solve this, Flashhhh never let us down :D
[Moto G Android Development] krupuk:
I'm use this kernel on SlimLP. Help me give way to activate Pocketmode. Thanks.
[Moto G Android Development] Flashhhh:
It isn't a thing to be activated

It works the way it is supposed to be
[Moto G Android Development] sandroj:
This small file is indeed great work. Dt2w works perfect with cm12. How does pocket mode work? I'm using trickster mod and can't see option to enable it.

Also is there any kernel that adds swipe gestures when screen is off? (E.g. 'c' gesture will directly open Camera app)
[Moto G Android Development] aouerfelli:
Do you think you could add KCAL to your kernel? You can find it here: http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
[Moto G Android Development] rokban:
You may try Kernel auditor, its good.
[Moto G Android Development] Dr. Brawler:
Pocket mode isn't anything u can enable or disable. It works as intended
[Moto G Android Development] mattheoh:
But does it depend of the ROM or the Kernel ? I m on BlissPop and pocket mode doesn t work also...
[Moto G Android Development] Flashhhh:
Pocketmode isn't a thing that will automatically turn on ur phone display when u remove it from pocket

It is used to avoid accidental wake ups in pocket and for safety reasons
[Moto G Android Development] lilsidsri:
hey flashhhh any update abt the bug why dt2w is not working on some xt1033 ?
[Moto G Android Development] Flashhhh:
I am running it on xt1033 only

Ur device has some problem

I recommend u to flash firmware via adb again(do it at ur own risk) and then flash rom+kernel
[Moto G Android Development] lilsidsri:
im on blisspop now

which stock one shoud i flash kitkat or lollipop ?

i actually shifted from brazil ota to cm 12 then i tried all other custom roms

so shd i flash adian variant ?
[Moto G Android Development] Dr. Brawler:
I think depends on which boot loader device has but I would wait until someone more qualified answer lol. You did clean flash room and wipe cache/dalvik before kernel install right?
[Moto G Android Development] lilsidsri:
I didn't clean flash rom

but did wipe Dalvik cache

I once clean flashed Xperience ROM with this kernel, at that time it didn't work

so from that time I just do Dalvik wipe thing

by the way my bootloader version is 41.18
[Moto G Android Development] Dr. Brawler:
Well xperience rom has its own kernel that must be used. Try wipe cache and dalvik cache then install. Dirty flashing roms is rly for only if ur upgrading current rom. Most devs won't help u if u didn't clean flash
[Moto G Android Development] jayOOMjay:
[MENTION=6094951]lilsidsri[/MENTION]

Are you using philz latest recovery?
[Moto G Android Development] Flashhhh:
Well clean flash is always recommended
[Moto G Android Development] srisurya95:
Some thing wonderful is coming ...:D
[Moto G Android Development] Dr. Brawler:
That's sexy. I luv broken pop
[Moto G Android Development] lilsidsri:
hey [MENTION=5857055]Flashhhh[/MENTION]

As yous said I flashed back the stock Lollipop Firmware on my device.

And after that I clean flashed BlissPop V2.0 & your Kernel

I'm still getting the same problem, device wont wakeup after DoubleTap instead it restarts

I can provide you logs, which logs should I provide ?
[Moto G Android Development] Flashhhh:
Don't know why u have problem bcoz it works for others and me too
[Moto G Android Development] granazis:
Heeey [MENTION=5857055]Flashhhh[/MENTION] none of refered problems here!!!

SlimSaber 23/08/15.Now just wait for R40 Prime w/dt2w or s2w or the 2 of them.Yes boss the best kernel so far.

Dirty flashed.

Go ahead friend

Regards
[Moto G Android Development] -=lov=-:
Can't flash latest version 40, even from root folder. With r39 all fine. I am using cm12.1 today nightly (25.08.2015)
[Moto G Android Development] mmims24:
R40 working fine for me. Running BlissPop v3.9 08/24/15, on Boost xt1031. Performance and battery life very good. Rebooted to Philz Touch recovery, flashed ROM and Kernel, wiped cache and davlik, rebooted, not a single issue so far.
[Moto G Android Development] Flashyhopkins:
Feature request

Awesome kernel. Running it with slim saber, no major issues.

Can you add Hyper governor into the mix?
[Moto G Android Development] BhavikRB:
D2w version :3
[Moto G Android Development] zack1175:
Clean flash all the time by wiping system,dalvik cache and cache and works fine

However,I have a more frequent unexpected system reboot(just the system)

And also can you plaeasevbring GPU frequency tune to synapse ;)

thx for your good work:D
[Moto G Android Development] vbnoob:
guys,

mind to share your kernel settings.

thanks.
[Moto G Android Development] akki1807:
here is what i use

sio io

gpu tone down to 450

cpu gov lionheart

rest stock

u can use bioshok too if u want good battery
[Moto G Android Development] kedar512:
Governor - bioshock ( good battery)

Gpu - 450mhz

Boost frequency down to 787mhz

Rest unchanged
[Moto G Android Development] kucingbaik2:
can you add some little screen shot, i have confuse
[Moto G Android Development] :
Flashed r40 perfectly on BlissPop. I'm on dancedance governor, no problems so far :) (also if you know another governor that has good performance and battery

please tell me :) )
[Moto G Android Development] granazis:
For guys who posts adjustments for a kernel as these are in reference with: the rom using, device type:moto g,gpe,how many days tested(IMHO at least for a week) to get the best results.So it would be useful if possible give the whole infos to users and dev.Although (its my opinion only) is to read first and and then anyone try by his own and then post giving the infos.

Please dont take these as suggestions as its my opinion only and if somewhere i am wrong please correct me.

Regards
[Moto G Android Development] vbnoob:
Thanks for sharing your settings.:)
[Moto G Android Development] Flashyhopkins:
Started getting all kinds of lag after a couple days on the latest build

and had a couple RR.

Lionheart CPU gov

Tried a few different I/o schedulers: fiops/deadline/ sio with

Little effect.

Also tried setting min freq to 384 and minimize CPUs to 2

Still really laggy. Wasn't able to catch the kmsg on the RR tho.

Flashed back to stock kernel on Slim sabre ROM and lag is gone .
[Moto G Android Development] Flashhhh:
Updated the kernel to R41! Prime Version is building. So will release ASAP!

Changelog

:

- Updated to latest CM changes

- Makefile: Switch to -O3 flag

- Implement Loius Cache Maintenance API

- sched: Implement smarter wake-affine logic

- Mutex & Cpufreq tweaks

Download

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

Edit: Prime version is up too!
[Moto G Android Development] granazis:
All you need to know about R40 in SS 23/08/15, device infos:xt1032/2013 converted to Gpe 5.1 bl 41.19/TWRP 2.8.7.0 theme gpe.img

Full banks gapps/3 RRO layers used. [MENTION=5857055]Flashhhh[/MENTION] thanks for new build R41, just waiting for bprime version/dt2w.

you are THE NO 1

Regards to everybody
[Moto G Android Development] Flashhhh:
Prime Version is up too!

Download

: https://www.androidfilehost.com/?fid=24052804347803636
[Moto G Android Development] :
What's the difference between prime and normal version? :)
[Moto G Android Development] Flashhhh:
Added Info and download link of prime version on 2nd post. Check it out
[Moto G Android Development] layman806:
Hey, take a look at my sot! 8h + achieved on Resurrection Remix 5.5.3 finally. Tweaked the kernel normally, yet got BioShock scheduler to go good.
[Moto G Android Development] granazis:
Flashed in dirty way in SS 23/08/15, all about wake and sleep works good!!!

Many thanks, ireturn back with much more details.

just informing

Regards
[Moto G Android Development] akki1807:
will the dirty flash above R40 work fine or i have to do a clean flash??

thanx man for all the work u put into this kernel
[Moto G Android Development] twist3d0n3:
no it'll cause your phone to explode!

ofc it's fine ^^
[Moto G Android Development] ldiomedi:
I can not install r41 just like I couldn't flash r40. This was reported before for resurrection remix.. Any idea what's wrong or what can I do to make it work?
[Moto G Android Development] medakk:
I'm unable to flash R40(Prime and non-prime) on CM12.1 28/08/15. I get a message saying that the kernel was succesfully flashed (in TWRP), but after the phone boots, it uses the default CM kernel.

R39 works fine.
[Moto G Android Development] kucingbaik2:
good job thank you
[Moto G Android Development] medakk:
Apologies. I meant R41, not R40.
[Moto G Android Development] twist3d0n3:
41 prime (and 41 for that matter) running wonderfully on orion!
[Moto G Android Development] akki1807:
haha true that..thanz btw!
[Moto G Android Development] Flashhhh:
Are u using official twrp recovery?
[Moto G Android Development] dark_knight_95:
D2w never works for me I had previously flashed sevral versions of hurtsky and now even prime. Once the screen turns of it doesn't turn on by power button or double tap and the phone just reboots. Does anyone face the same problem?
[Moto G Android Development] reversegear:
What device you guys are using..?

I'm on gpe converted 1033xt

TWRP recovery from multirom thread

[MENTION=2495416]flasHHH[/MENTION]

Me to have the above said problem

Earlier also I faced this issue. Workaround is to place the zip in root folder

Even after placing in sdcard root flashing v41 is successful but kernel remains the same old one :(
[Moto G Android Development] kucingbaik2:
is work like charm...
[Moto G Android Development] Flashhhh:
Yes multirom twrp recovery is having issues. Can u try to decompress it and make it into a flashable zip and try?
[Moto G Android Development] Flashhhh:
You are the unlucky guy. Your display doesn't support dt2w. Blame Motorola
[Moto G Android Development] dark_knight_95:
Guess I am. Can I do anything about it?
[Moto G Android Development] :
Just for the record.

R41 Prime on RR 5.5.3 working fine.
[Moto G Android Development] Flashhhh:
I guess there's a problem with anykernel 2 zip method. I'll switch to boot.img method and release the boot img in a day or two. So that u guys can flash it without any issue. So PEACE now!
[Moto G Android Development] akashgoswami:
Help !

I'm using cm 12.1. Everytime I flash this kernel through twrp it says successful but after reboot it shows the default cm kernel:(:(
[Moto G Android Development] ldiomedi:
I just flash multirom recovery and r41 prime version flash good. I been using an older version of twrp. So that may be the problem. Now I'll test the kernel. Btw, dt2w it's working very well here... Thanks Flashhhh
[Moto G Android Development] Wandule:
R41 installation successful :D Thank you, Flashhhh!!!!
[Moto G Android Development] -=lov=-:
The same as previous build. Flashes successfully but kernel is from cm12. Zip in SD card root

Отправлено с моего Moto G
[Moto G Android Development] h2o64:
Hello.

Can you provide me a kmsg? (make the issue happend, when it reboots go in recovery mode and pull the last_kmsg).

Or if you really can't get this log, any other last_kmsg might give panel informations
[Moto G Android Development] dark_knight_95:
I did not get what u asked for first(the recovery log).but I could get u last_ksmg.do u require some specific log or any log after flashing the kernel
[Moto G Android Development] h2o64:
Nope I just need the last_kmsg wich logged when the issue happend
[Moto G Android Development] adinkwok:
[MENTION=5857055]Flashhhh[/MENTION] take a look at this commit. It may help with stability since you're using a 5.X GCC :good::highfive:
[Moto G Android Development] koshikas:
[MENTION=5857055]Flashhhh[/MENTION] or other experts, do you recommend flashing this kernel over another previously flashed custom kernel.
[Moto G Android Development] Flashhhh:
Please use latest twrp recovery. Old ones are having some issue. I use twrp recovery by [MENTION=4792450]h2o64[/MENTION] and it works very well

Yeah, Thanx for that. I'll look into it

Edit: [MENTION=5284595]YoshiShaPow[/MENTION] Don't u think I already have that

[url ="https://github.com/desaishivam26/Optimus_Reborn/commit/af57559138ade14e3e97b2818863b4982883d7b9"]LINK[/url]
[Moto G Android Development] -=lov=-:
This helped thanks. I flashed 2.8.7.0 twrp and it works fine. Before I was on official TWRP 2.8.6.0
[Moto G Android Development] koshikas:
guys please
[Moto G Android Development] Flashhhh:
This kernel uses anykernel2 method. So u require kernel which comes with rom. So atleast dirty flash rom+kernel to avoid any issues
[Moto G Android Development] koshikas:
understood, thanks
[Moto G Android Development] rokban:
Nope, do dirty flash rom+ optimus kernel to get it work properly.
[Moto G Android Development] medakk:
That solves it. I updated to TWRP 2.8.7, everything is working fine now. Thank you very much!
[Moto G Android Development] dark_knight_95:
How can I get that .will logcat app work?or can kernel auditor work . sorry for bothering u but I am new at this
[Moto G Android Development] h2o64:
The file is located in /proc/last_kmsg. It needs root acces to get it.

It's just about copy paste it somewhere else.

(Basically there are two files

- /proc/kmsg is written from the bootloader screen to the device shut down : it records kernel log/messages during its activity.

- /proc/last_kmsg is the /proc/kmsg from the previous "run". Schema : [Power ON (kernel write logs on/proc/kmsg)] --> [Activity, android usage/recovery usage (kernel write logs on/proc/kmsg)] --> [Power Off, the device is shuting down (kernel copy /proc/kmsg to /proc/last_kmsg]

Here I need you to make the bug append on a 1st "run" (kernel will write the logs on /proc/kmsg) and when the double tap make the device reboot, do not reboot in Android,

but directly in Recovery

. There you can get the /proc/last_kmsg wich will correspond to the log of your 1st "run"
[Moto G Android Development] koshikas:
dirty flashed both rom+kernel, working fine indeed, very smooth. I'll do clean flash if i can find the time to do so. thanks again
[Moto G Android Development] deeplyyoung:
[MENTION=5857055]Flashhhh[/MENTION] kexec is still broken in r41, whereas it's working perfectly on secondary Rom's... Just for your info... Have reverted to r39 for primary ROM...
[Moto G Android Development] Flashhhh:
I changed nothing related to kexec in my recent releases. Don't know what's wrong. Is MR twrp recovery updated?
[Moto G Android Development] layman806:
MultiRom isn't working with android 5.1.1 ROMs on my device. Even though I can install a second ROM, I am unable to successfully boot it.
[Moto G Android Development] dark_knight_95:
Sorry but 1 more question how do u copy files in recovery I am using philz recovery
[Moto G Android Development] layman806:
First, get the latest twrp image and flash it. Then go to recovery and go to Mount. Lower right corner->Enable MTP
[Moto G Android Development] dark_knight_95:
Philz doesn't support moving files?
[Moto G Android Development] layman806:
I don't know... Because philz is based on cwm. And cwm is obsolete and doesn't play well with lollipop at most times.
[Moto G Android Development] TheSaarth:
I was having problem installing too, i updated my recovery from TWRP 2.8.6 to 2.8.7 and it's working fine now.

Device: XT1033
[Moto G Android Development] h2o64:
Best fix : install the latest ad greatest TWRP version (quick easy to install adn ever more to use)
[Moto G Android Development] dark_knight_95:
Can u give me link to download and installation of twrp?
[Moto G Android Development] koshikas:
assuming you have a moto G; http://xdaforums.com/moto-g/development/recovery-twrp-2-8-2-0-touch-recovery-t2980621

assuming you have a unconverted moto G; https://www.androidfilehost.com/?fid=24052804347764184
[Moto G Android Development] adinkwok:
You're missing the one for the host flags
[Moto G Android Development] tavocabe:
Same for me, tried both versions and still have default CM kernel.
[Moto G Android Development] ldiomedi:
Post 2245, 5 above your has your answer. Same page. You don't even need to search. Just scroll in the same page.. Try it. Isn't that hard..
[Moto G Android Development] tavocabe:
And you need to read, where does it say upgrading twrp fix my specific problem? , never saw a fix for the guy I quoted. FYI I searched, "scrolled" like you say and didn't find an answer. Also, I am in the latest twrp version. Stop trying to play it smart, please. Isn't that hard.
[Moto G Android Development] -=lov=-:
And what is the latest version? I thought that I had latest version to

Отправлено с моего Moto G
[Moto G Android Development] ldiomedi:
Well, more smart than you I am. Because the I had the same problem as you. But I could fix it. And changing twrp version helps me. If you think you have the last version but still isn't working for you, why just not try other? Several people could fix it flashing other version of recovery. Im using now multi rom version and its working. Now, if you are a little smart you could try it. Just to see if I'm wrong.
[Moto G Android Development] sajty:
New twrp solved the problem with flashing R40/41.
[Moto G Android Development] Flashhhh:
Yeah ok I'll compare and have a look. Thanks
[Moto G Android Development] reversegear:
+1 problem solved with this twrp

[MENTION=5857055]Flashhhh[/MENTION]
[Moto G Android Development] Chaninoza:
any recommended settings? ive been reading bioshock its pretty good
[Moto G Android Development] Tunghur:
I need a little help. When i do scroll in the lists have lags (youtube, g+, tapatalk, etc.), i don't know why this happen. Thanks in advance.
[Moto G Android Development] koshikas:
got same issue though i have no idea how to fix it from the kernel. can some one suggest tweaks in kernel turntables to minimize list lags
[Moto G Android Development] vbnoob:
R41 optimus prime dt2w works flawlessly on RR

Thanks
[Moto G Android Development] Flashhhh:
Which rom?
[Moto G Android Development] koshikas:
Exodus 5.1