yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] fermasia:
VERSION 2 Released (beta)

Guys, first of all many, many thanks to all those who've shown appreciaiton for my work, good or bad it's a big effort. And I'm also thankful for all the constructive feedback I've received.

I want to tell you I've reworked the kernel from scratch to base it on msm-hotplug and added a few bunch of options to make the experience more tunable, to balance smoothness and battery drain according to each one's needs. . It's a beta release, so if you find problems, please report. One important bogus is that depending on the rom you are using, powersupend is not allways set as default. If you want it (the way I use my phone, I benefit from true deepsleep for long periods of inactivity) enable it with LCD Panel or Hybrid mode alongside.

Enjoy! - https://www.androidfilehost.com/?fid=95784891001611708

Version 2 - Changelog

- Added MSM Hotplug by default - huge thanks to [MENTION=4316709]savoca[/MENTION] for his Titan sources and help

- Simple Ondemand GPU governor working fine (no reboots)

- CPU freq lower limit 192000

- GPU max freq 533mhz

- Optimized CPU governors for msm-hotplug

- Optimized workqueues management

- LCD Notify

- Ramdisk tweaks

- A really big bunch of optimizations and fixes to make hotplug more efficient
[Moto G Original Android Development] Lemagex:
Yes. I was going crazy trying to figure it out. I made a zip to restore the old modules and kernel out of frustration lol
[Moto G Original Android Development] Sajoeee:
where can i enable lcd notify? i cant find the setting for it? any app that has it. im using faux's kernel app. sorry for the noob question. ?
[Moto G Original Android Development] sidewalk_:
Lol, How'd you do that?
[Moto G Original Android Development] Lemagex:
Check the files the flashable kernel replaces and grab them out of your original rom zip or system.img
[Moto G Original Android Development] fermasia:
What modules did you need replace? For whats version?
[Moto G Original Android Development] Lemagex:
I'm not sure you understood, but that was to REVERT back to BEFORE having this kernel installed. not to FIX the titanium backup problem. I've only tried to help squish bugs in one kernel that wasn't mine, and it ended with the author telling me off.

But anyway, the problem wasn't modules for titanium backup, but the actual kernel boot image. The problem wasn't present in V1, only in 1.1
[Moto G Original Android Development] fermasia:
Well, I thought I needed to contain the OT. It may confuse people. And since it's a dev thread, one would think that problems should be reportef so I can try to do something about it. If not, this becomes a private chat. Besides that, if you want to help or know anything more specific about the problem, you have no obligation to share but feel free to do it. I'll surely appreciate it. All I'll ask is that, if it's not something that can be stated clearly and briefly, PM me. [emoji106]
[Moto G Original Android Development] fermasia:
The option should be under PowerSuspend modes tab in Faux's. But I was kind of stubborn and I do need to let go the old pw suspend implementation to make it fully available.
[Moto G Original Android Development] savoca:
You can't enable or disable lcd notify, it's always on. It's just a wrapper that drivers can use to preform actions at certain FB states..
[Moto G Original Android Development] AndroZeek:
WiFi Direct bug for PacMan rom is fixed??
[Moto G Original Android Development] syrkles:
Doesn't work on latest mokee
[Moto G Original Android Development] fermasia:
No, not yet (I doubt it could be ramdomly solved by some of the updates).
[Moto G Original Android Development] fermasia:
I don't know how this script works. But I usually don't trust these kind of things unless I clearly know what they do.
[Moto G Original Android Development] fermasia:
Meaning... it doesn't boot? Mokee has a bunch of optimizations, I'd have to look into it. But with L so close I don't think we will have much time before we jump to 5.0 and need to start over.
[Moto G Original Android Development] Nandeh:
Perfect in Liquid Milestone, and even smoother than v1.

Tomorrow will post about battery.

Thanks for the kernel and keep up the good work!
[Moto G Original Android Development] syrkles:
Bootloops on opening logo
[Moto G Original Android Development] justanicename:
Great battery life and performance!! But there is a problem with Titanium Backup. After flashing the kernel I'm unable to make backups anymore. I get this error insufficient space. If I flash back another kernel or the Rom everything is fine again.

Is there a problem with the mounts?
[Moto G Original Android Development] fermasia:
Can you get a logcat of this issue?

I don't use titanium (prefer fresh installing apps to avoid possible errors). But I'll try to solve it.
[Moto G Original Android Development] halleybr:
v2 erro system.ui motog and rom crdroid

v1 work perfect
[Moto G Original Android Development] ronin790:
Install SuperSU from play. I had the same issue on latest cm11nightly with built-in superuser.

▪◾◼ Tapatalk ♦ Moto G ◼◾▪
[Moto G Original Android Development] justanicename:
Here the logcat.

Thanks
[Moto G Original Android Development] justanicename:
I prefer waiting for a fix if possible. But I will give it a try if it cannot be fixed. For now im back to Phantom Kernel.
[Moto G Original Android Development] casshern94:
do u mind share ur settings?

and btw could u define ur "great battery life"? cuz im expecting 6 hours ON SCREEN TIME
[Moto G Original Android Development] fermasia:
Battery can't be judged only by SOT. It depends on many things (apps, signal, etc). I doubt you'll get that on any aosp rom. But well... de are free to expect anything we want. [emoji106]
[Moto G Original Android Development] OldYellowBricks:
6 SOT is so wild lol.

Is there a way to active powersuspend via a script or summat? My kernel manager (TricksterMod) doesnt show an interface for it....or..is it on by default?

Thank you so much
[Moto G Original Android Development] fermasia:
Powersuspend wasn't working nice with hotplug so I left it there but not by default. I use faux's app (paid) and you can activate it. Let me check where you can toggle it manually, but beware it won't work nicely with hotplug.
[Moto G Original Android Development] fermasia:
Try this on any file manager with root access. Set manually /sys/kernel/power_suspend/power_suspend_mode to 1.

But as I said, it doesn't play well with msm_hotplug...
[Moto G Original Android Development] Dr. Brawler:
Thanx for ur work dev. Currently runnin alongside latest DU on art. Luv it :)
[Moto G Original Android Development] abeloman:
[MENTION=5190317]fermasia[/MENTION] the recommended settings on 2nd post are for which version? For the beta? I remember those were diferent
[Moto G Original Android Development] justanicename:
Just using the recommend settings with Hibernate and Llama app. But as the other says, battery life shouldn't be judged by SOT only.

When I used this kernel I got 2-3 days until I need to recharge. With stock im closer to 1,5 - 2,5 days. Just normal usage and I dont play games.
[Moto G Original Android Development] casshern94:
thanks for the reply.

im asking cuz someone in a group ever consider that 3 hrs SOT in 20hrs up time is good.

btw i would say that this kernel is solid stable.

no freeze/lags occur until now.

used for few days
[Moto G Original Android Development] Stefano187:
Hello [MENTION=5190317]fermasia[/MENTION]

After some days of various testing (other ROM/kernel combinations), I've realized that CM11+your kernel are the best combo on my device. Great balance between performance and battery life! There is only one thing I'd like to ask you: I'm using faux app for kernel tweaking, but in the CPU hotplug there isn't any hotplug except for "user control". It's not a big problem because, as I told you few lines back, performance and battery life are really good, but I'd like to know if it is supposed to be in this way just for my personal curiosity.

Sorry for bothering you with such a irrelevant question

Regards

Stefano
[Moto G Original Android Development] fermasia:
I'm glad you find my work useful and thank you for the appreciation. Msm_hotplug is enabled by default, so you won't find the option to toggle it (mpdecision is disabled and I've excluded intelliplug, so yes, it is supposed to look like that). :good:
[Moto G Original Android Development] xxAirwickxx:
Awesome kernel works great for me !! No issues so far.

Keep up the great work !!

---------- Post added at 07:22 AM ---------- Previous post was at 07:20 AM ----------

No mobile data or WiFi being used for screenshot. Watched 4 episodes of Games of Thrones while at work !! Lol
[Moto G Original Android Development] Flashhhh:
[MENTION=5190317]fermasia[/MENTION] Cm11+donkey kang v2 works just perfect!!

Thanks a lot for the kernel!!

Sent from my Moto G
[Moto G Original Android Development] mrbojangle69:
Donkey Kang works flawlessy in LiquidSmooth's milestone, it goes faster than a Bugatti Veyron with an awesome battery life. The only issue is the one that [MENTION=5730131]justanicename[/MENTION] reported about the impossibilty of backing up apps with Titanium due to a lack of space, something that doesn't happen with Liquid's own kernel. Will it be solved in V3?.
[Moto G Original Android Development] Mchasard:
Is there something preview to adapt your kernel for lollipop cm ROM actually developed
[Moto G Original Android Development] Nandeh:
Just found a bug: when i connect an OTG device, phone freezes and reboots. I have tested it some times and always got the bug.

I attach a log. Not sure if it can help. Donkey Kang v2 is working with Liquidsmooth Milestone in my Moto G

Thanks for your work and your help :)
[Moto G Original Android Development] lukas033:
Wifi does not work

I have just flashed Donkey KK v2 using CWM, but my wifi stop working. It is not possible to turn wifi on! I am on CM11. Any advice?
[Moto G Original Android Development] fermasia:
This is very strange. What CM version are u using? Phone version? Have you flashed another kernel before? I advice you to make clean new install, it should work fine.
[Moto G Original Android Development] fermasia:
Have to check it. If there's a v3 kitkat version I'll try to solve that. [emoji6]
[Moto G Original Android Development] fermasia:
Not really. I'm still not sure if there'll be a lollipop version before CM goes official for falcon, but stay tuned.
[Moto G Original Android Development] Nandeh:
Nobody has suffered reboots when using OTG?
[Moto G Original Android Development] Roshless:
can you add kexec-hardboot patch?
[Moto G Original Android Development] Dr. Brawler:
1 day 4hrs. 4hrs 40mins screen time. Wheatley, Simple on demand, art, 192 minimal
[Moto G Original Android Development] poran123:
is Version 2 (beta) stable?
[Moto G Original Android Development] Nandeh:
For me was stable, but couldn't use OTG, and Bluetooth didn't work fine neither with my car free hands.

Beyond that, kernel is really stable and smooth...
[Moto G Original Android Development] Dr. Brawler:
thats version i am running
[Moto G Original Android Development] fermasia:
Can't make any promises about that, I'd have to get really familiar with the patch before applying anything.
[Moto G Original Android Development] fermasia:
I'd say it's stabe "enough". There are still some glitches to be solved, thought.
[Moto G Original Android Development] fermasia:
To be 100% honest, as Alberto and the rest of the guys have done something amazing with CM12, I'm waiting to see how it evolves. If it gets stable enough (camera mostly, cause I need that to keep CM12 as my daily driver to work on a kernel, and i also need the camera to work for my job), I'll start working with it even if it remains unofficial for now (and that would mean to drop kitkat builds, except for some fixes). Otherwise, i might try for a kitkat V3.

Yet, I'd have to check OTG and bluetooth for V2. The thing is I hardly use any of those. Could you provide some kmsg/dmesg/logcat for those errors?

Thanks :good:

EDIT: Sorry, I forgot about the logcat you provided (I had it pending to be checked). Still kmsg and dmesg would really help.
[Moto G Original Android Development] fermasia:
Donkey KK - VERSION 3 (LOLLIPOP) - Released!

Guys, I finally decided to make the donkey taste some lollipop, so here we have V3. There are still many things to rework, but I'm testing this on my device and thought I should share it and get some feedback. It's been tested with anerik's last CM12 unofficial build, and won't solve nor add any bugs to the already existent ones for any of the CM12 builds I've seen so far.

Still, be patient and kind... CM12 is very unofficial and in early developement, bugs, issues and who knows what else may arise.

Here's the link (you can find it in the second post too): https://www.androidfilehost.com/?fid=95784891001615721

Enjoy.
[Moto G Original Android Development] jonas210678:
Cm12

Cm12 Kernel is really good and faster than light(Its faster than everything in Cm11), but the problem is the Wi Fi. Its possible the problem is, that I´m using Albertos Build.
[Moto G Original Android Development] s.sawrav:
Can't get it to work in deep sleep,but other than that awesome kernel,waiting for faux sound implementation,can you tell me how to fix deep sleep issue,my config is:-

Read ahead buffer size-512

Scheduler-fiops

Min-300000

Max-1190400

Governor-conservative

ZRAM-on
[Moto G Original Android Development] OldYellowBricks:
Supposed to be used on anerik's build
[Moto G Original Android Development] fermasia:
Wifi should work on Alberto's build too; can anybody confirm this, that wifi's broken when Donkey's flashed on his build?
[Moto G Original Android Development] fermasia:
Deepsleep is working for me, according to WakeLockDetector (which you can download in the store for free, if you want to). There's a bit of battery drain while screen's off, thought (still less that with pure CM kernel and mpdecision). I'm trying to solve that without using powersuspend, which doesn't work very well with msm-hotplug.
[Moto G Original Android Development] s.sawrav:
Yes the deep sleep works,but it does after a long interval anyways thank you and also keep up the good work :)
[Moto G Original Android Development] poran123:
Thanks for the lollipop kernel.. i have flash this kernel and now sim is working and make calls too. before it shows 2 sim icon and cant make call, after flashing this kernel one sim is showing and i can make call also. This kernel solve the issue in CM12 for Xt1033 users(those who converted to GPE)

sorry for bad English..:p
[Moto G Original Android Development] fermasia:
Guys, you'll find battery drain issues in V3 (yeah, that's what's the 'alpha' tag is for - lol). Hang on, I've got a busy week but I'll try to come with a more polished version in a few days). If someone is really bored... there are two more alphas in my androidfilehost to test, you can check my github's donkeyv3 branch to see what's merged).
[Moto G Original Android Development] poran123:
i hope you're upcoming kernel for lollipop will also solve the sim problem in cm12 roms... as the present one solved it
[Moto G Original Android Development] awsmanks:
i flashed the kernel too, but the problem isnt solved
[Moto G Original Android Development] poran123:
on which rom you tried?

For me its working perfectly..
[Moto G Original Android Development] awsmanks:
[ROM][Falcon/UNIFIED]XPerience-9.0.0

what exactly did u do ?
[Moto G Original Android Development] poran123:
i'm using the same rom and i have clean install the rom and after that i have flash this kernel and sim is working

Did you convert to GPE?
[Moto G Original Android Development] Flashhhh:
[MENTION=5190317]fermasia[/MENTION] Yes there is a battery drain with v3 aplha but works good!

Waiting for ur update!!

Sent from my Moto G
[Moto G Original Android Development] fermasia:
[MENTION=4791147]poran123[/MENTION] ; [MENTION=5106642]awsmanks[/MENTION] ; guys, if flashing my kernel solves any xt1033 it's just cause the CM12 official source carries the solution, there's no special fix added at all. For sure, I'm happy if it does solves a problem, and it might be expected on the CM12 unofficial builds that have so many unsorted issues still (cause despite the great job our devs are doing, it's still SO early in it's developement). But I strongly recommend not to advertise it as a fix for dual-sim phones; just test and see the results, if it actually sort things out, great, but if not, I won't be able to answer about it.

Thanks for trying my kernel and helping me with the feedback, and stay tuned for the next update that I hope would be much more efficient than the last alpha. :good:
[Moto G Original Android Development] poran123:
I'm really sorry if you feel i'm advertising your kernel :crying:

What to do there is lots of complain and spam for call not working sim not showing and ya your kernel really do the job.

Once again sorry..

Waiting for the next update..:o
[Moto G Original Android Development] fermasia:
Chill my friend, no need to be sorry, you did nothing wrong. Just had to clear things up and stop any possible snow ball effect (what I said it's true, I didn't implement any special fix, yet I'm glad if it solves any dual sim user's problems). [emoji106]
[Moto G Original Android Development] poran123:
ok thanks..
[Moto G Original Android Development] padhu1989:
I flashed your lollipop version kernel in aneriks CM12 build.. And i can see the cpu stuck in 1190mhz... Not going to others at all... Is it a bug or what..?
[Moto G Original Android Development] jonas210678:
Cm12 alpha3

I have tested your alpha3 and I have to say thank you. All works fine. Fauxaudio works perfect and overclocked gpu and underclocked cpu work good too. So [MENTION=5190317]fermasia[/MENTION] I wold write the link of the alpha3 in op
[Moto G Original Android Development] fermasia:
It happens randomly (apparently) with CM builds, and this kernel is based on official CM source. You can use any kernel tweaker (I personally use Faux's) to set the min-freq to the desired value.
[Moto G Original Android Development] fermasia:
Version 3 - Alpha 3 released.

Ok guys, I've updated the op with a more feature packed alpha version for lollipop (Alpha 3) for you to try. Still, needs some work about battery performance, which I think it's not that bad, but it can do much better. Check the third op post for the changelog, there's a lot of stuff added. And remember, it's an alpha version, just intended to be tried and get some feedback (I'd appreciate -reasonable- comments, suggestions, bug reports, etc).
[Moto G Original Android Development] pico hackr:
Best lolipop kernel for a gpe converted moto g i don't face any issues awesome kernel bro [MENTION=5190317]fermasia[/MENTION] . wow just now i read the change log faux sound added thank you so much
[Moto G Original Android Development] xheon:
Recommended settings for the lollipop kernel?

Sent from my Moto G
[Moto G Original Android Development] ldiomedi:
Hi [MENTION=5190317]fermasia[/MENTION]. Thanks for your work. I want to say that really the performance it's better than the stock kernel. I would like to use it, but I haven't WiFi. It won't turn on.. I let you a dmesg log. Hope it is useful for you because I went back to stock kernel. I'm using the latest Alberto's build from 22/11. Xt1032..

Log:

https://docs.google.com/file/d/0B-axv9d4o8PHZ2J5eW1ZUDhHQ0E/edit?usp=docslist_api

Enviado desde mi Moto G 5.0
[Moto G Original Android Development] attack11:
Great Kernel ! Just a question, is necesary all that swap? Isnt bad for battery life?
[Moto G Original Android Development] fermasia:
No, it's not necessary, just tweak it down. I'll correct the default value in the next version.
[Moto G Original Android Development] s.sawrav:
I have to say the new kernel is amazing thank you so much for your kernel,till now i haven't faced any bug,i think it's the most stable kernel for lollipop.

Thank you again. :)
[Moto G Original Android Development] rr46000:
What did u do?

The kernel is amazing except the battery which can be improved

but what causes the phone to not show the second sim and network works properly in xt1033 gpe

I'll look into the libs and i think we can make a network patch for this phone:D
[Moto G Original Android Development] s.sawrav:
He said that all he did was used pure cm sources that is what fixes the problem,because i remember that seannyM used pure cm source's and in his build there are no two sim showing icon problem,so i guess that is the only solution
[Moto G Original Android Development] bharat_goku:
That's the thing I didn't understand I made a pure cm build too and for some reason I haven't been able to resolve the same with kernel

https://docs.google.com/file/d/0B8pbPQ8k1LHiZG1pcUUtTTh3dWs/edit?usp=docslist_api

I made this last night and I'm pretty sure I could see 2sims till I flashed this kernel
[Moto G Original Android Development] fermasia:
As I don't own a dual sim version I have it hard to find out what's solving the problem. Feel free to dig in my source.
[Moto G Original Android Development] OldYellowBricks:
Yoo..how do I change this swap value...does this explain the reason why after using this kernel I find few hundred mb hike in storage usage? Appart from that the kernel runs fine

Running kitkat and v2 of the kernel

Edit

Found it in the init.d folder.

Also deleted the swap file
[Moto G Original Android Development] sachin123:
Is anyone else facing this problem?

Camera isn't working. I'm using the Xperience ROM.

EDIT : ROM bug. Sorry.
[Moto G Original Android Development] reversegear:
It is a rom issue., not related to kernel

TeamMex mentioned it in op of xperience ROM thread pls read
[Moto G Original Android Development] fermasia:
A small derp, it shouldn't be defaulted to that value. [emoji106]
[Moto G Original Android Development] :
Thanks for the great work! pretty stable for a daily driver.

Only one issue. Had random freeze and reboot on Xperience Rom. 2 times in 3 days of usage. Not a big deal. I wanted to give logs too, but its so random, so can't recreate.
[Moto G Original Android Development] fermasia:
Haven't tried Klozz's rom, I probably will once I get time to finish a better version of the kernel I'm working in. I've been messing around a lot and testing things, now it's time to build and debug (probably, this weekend).

But try to see if, even without a logcat, you can relate the reboots to something (heavy multitasking, games or apps running in the background, anything you can think of). But it's hard to asess issues whithout being able to reproduce them.
[Moto G Original Android Development] :
Now that you have mentioned it. If I remember right, first time it was in my pocket, play music was playing music and it stopped. Took out of pocket and it was rebooting. Today while using whatsapp, it just froze while I started typing and rebooted (I don't think it was heavy multitasking) I will test more and tell you. I don't know if it's only me with this. Xperience rom build 1 + Donkey Kang Kernel alpha 3. If others can input in, will be good !
[Moto G Original Android Development] padhu1989:
Is it normal?
[Moto G Original Android Development] luis_6_14:
Whats?
[Galaxy Note 3 Themes and Apps] Andrewhhelms:
Is it possible to pull Google translate's info off the web and CREATE an offline language pack? I'm an English teacher in Southeast Asia, so I need a translation app regularly. I already have downloaded the Japanese and Korean offline language packs, but I also want to create (since Google just WON'T make them) the Khmer and Filipino languages.

Is this at all possible? Thanks a lot guys (and gals!) for any help you can offer. I really use this website and the apps put on here often, and have the greatest respect for the people who take the time to do this :)
[AT&T Samsung Galaxy Note I717] ct2020:
Hey guys, ever since my last flash I've been having memory problems. I can only install about half of the apps I use on a regular basis. In settings my internal storage now has two parts and I don't remember it always being that way. Anything I can do about this?

www.imgur.com/oNUahHa