yashsingh1/xdaforums huggingface dataset:
[G 2014 Q&A, Help & Troubleshooting] fensfly:
A few weeks ago I received the Marshmallow update to my Moto G 2014. I switched back and forth between Internal/Portable storage, and also bought a bigger SD card to go in the phone.

Somewhere along the way, certain actions consistently cause an app to crash.

- starting the Uber app (it lets me log in, and shows the splash screen, but crashes before showing a map)

- attaching a location to a WhatsApp conversation (although attaching photos and documents seems to be fine)

- selecting "Start activity" from Google Fit.

These all worked fine before the update, and some searching didn't show any obvious suggestions of what to do. I've tried uninstalling apps, and also wiping their data but neither made any difference.

I can get a log using adb if it's useful and someone can point me to the right bit to look at.

Can anyone suggest how to stop these apps crashing?
[G 2014 Q&A, Help & Troubleshooting] fensfly:
I've tried taking traces using adb logcat. The crashes often seem to have an early error line like the following:

cutils : Failed to openat(/storage/emulated/0/Android): Permission denied

I can't find instances of similar issues online - has anyone seen this before or know what the problem might be?
[Moto G 2015 Original Android Development] psndna88:
Credits:-

Cyanogenmod

[MENTION=6485916]squid2[/MENTION]

[MENTION=3279788]ZaneZam[/MENTION] for zzmoove

Thankful to Testers:-

merlin: xt1557 - [MENTION=6031603]shomil49[/MENTION] [MENTION=5292920]Akash sky[/MENTION]

xt1556 - [MENTION=6558748]alaindupus[/MENTION]

osprey: [MENTION=6911440]HelpMeruth[/MENTION] [MENTION=6576591]Henriquefeira[/MENTION]
[Moto G 2015 Original Android Development] HelpMeruth:
Nice!
[Moto G 2015 Original Android Development] Ardany Jolón:
Nice work!!! We'll see that this !!!
[Moto G 2015 Original Android Development] rwxr-xr-xis:
Nice to see it being released! Everything fine and smooth here on CrDroid ;)
[Moto G 2015 Original Android Development] HPM8294:
Excelent Job! very nice!
[Moto G 2015 Original Android Development] sticktornado:
Pretty smooth, but where is the GPU OC? It's still 465 MHz
[Moto G 2015 Original Android Development] psndna88:
osprey: max gpu freq 400mhz increased to 465 mhz & min frequency 100mhz added

merlin: min freq 100mhz added
[Moto G 2015 Original Android Development] sticktornado:
No prob, but I figured it would be higher since it doesn't bring much of a difference. I've heard other devices with our chipset hitting 650 MHz
[Moto G 2015 Original Android Development] psndna88:
which device ??? :confused:
[Moto G 2015 Original Android Development] sticktornado:
Xiamoi Redmi 2. Heard it from this guy here: http://xdaforums.com/showpost.php?p=66030427&postcount=87
[Moto G 2015 Original Android Development] HelpMeruth:
Their kernel has 465 MHz to.. We tried a OC of 550 MHz but that didn't boot
[Moto G 2015 Original Android Development] DarkElf:
Is this kernel stock 6.0.1 compatible?? I would love to try it on my xt-1550
[Moto G 2015 Original Android Development] psndna88:
it was reported to work by testers..

try n letme know
[Moto G 2015 Original Android Development] DarkElf:
Ok thanks for the quick reply...going to flash it
[Moto G 2015 Original Android Development] Akash sky:
Nice job :)
[Moto G 2015 Original Android Development] DarkElf:
I flashed it on stock 6.0.1 and the unfortunately its not booting....
[Moto G 2015 Original Android Development] HelpMeruth:
it booted for me when testing, do you have any other mods installed?
[Moto G 2015 Original Android Development] DarkElf:
No....i just dirty flashed stock 6.0.1 zip and then this kernel....i was using optimus kernel before that...
[Moto G 2015 Original Android Development] thinkfreedom:
Is sdcard exFAT filesystem supported as in Squid Kernel? I tested the 2.0 build but my 32Gb exFAT sdcard wasn't detected. Otherwise, the development seems promising. Thanks for the kernel.
[Moto G 2015 Original Android Development] Bobtehblob:
For Osprey, GPU is still stuck at 400mhz when using the default msm-adreno-tz governor. Simple OnDemand allows it to change again.

Performance otherwise feels pretty good on 2.0.
[Moto G 2015 Original Android Development] thelad:
Battery very good one this,
[Moto G 2015 Original Android Development] Wani Aamir:
Merlin??
[Moto G 2015 Original Android Development] thelad:
Opsrey xt1541
[Moto G 2015 Original Android Development] SuperSaket:
Some basic/general question about v2.0 kernel

1) How much this kernel is stable? Is it OK for daily use? Is there any warning/precautions before using this kernel?

2) With using fast charge support, how long it take to charge the device? Does device have any issues regarding fast charge? Does it work with same charging hub that came with package? Is it safe ?

3) Does device have any heat issue while using this kernel?

4) Does this improve my gaming performance e.g. NOVA 3 ? ( it lags very often)

5) Is DOUBLE TAP TO WAKE UP fully functional ?

6) What is the battery performance after using this kernel?

7) Does all features that comes with stock android(Moto Actions) still supports it?

8) Does this kernel handles everything fine with Moto G3's device hardware (e.g. Calls, Camera ,A/V etc)

9) Does this support Moto G3 XT-1550 ?

Can I flash this kernel directly over my stock(rooted) moto g3 ? Will it delete my data ?

I am a beginner/noob :silly: ,asking silly questions (maybe:confused:) ,willing to flash this kernel so don't mind :angel: Btw THANKS !:good:
[Moto G 2015 Original Android Development] HelpMeruth:
just try it you will see it your self :P fast charge depends on ur pc and usb ports. dt2w will never be 100% working but it works. heating depneds on your kernel settings. you can flash on stock (will not delete data)
[Moto G 2015 Original Android Development] rwxr-xr-xis:
1) Its very stable, good fit daily use

2) Fast charge only works on USB (I don't notice any difference)

3) No heating issues

4) Gaming performance can be better if you tune adreno idler on kernel adiutor

5) DT2W drains your battery faster on idle, it will also be activated depending on the material of your clothes because it doesn't have pocket guard

6) Better on custom roms, not sure on stock

7, 8, 9) Yes, but make a backup on twrp before flashing
[Moto G 2015 Original Android Development] SuperSaket:
Stock Rom or Custom Rom ?
[Moto G 2015 Original Android Development] thelad:
Cyanpop the latest 27/4/2016

CPU impulse,200-1401(no touch boost)

GPU simple 100-465

I/0 noop 128kb

No hot plug

Screen brightness just under half way mark
[Moto G 2015 Original Android Development] EllyssonMike:
Battery life is awesome in this Kernel with Cm13 on Merlin.

Enviado de meu MotoG3-TE usando Tapatalk
[Moto G 2015 Original Android Development] sticktornado:
Using a 4 year old Class 10 32GB SD Card here.. 0 problems.
[Moto G 2015 Original Android Development] SuperSaket:
Can anyone can suggest settings with this kernel for heavy gaming ( NOVA 3) ?
[Moto G 2015 Original Android Development] SuperSaket:
Review v2.0

At device was fluid and game-play (NOVA 3) was smooth almost 60-70% of times, but now device start heating quite a bit and game-play also started to be laggy. Otherwise everything is good.:D

Extra: Why CPU-Z reports most of the times that GPU Load is 0% even while playing ?

I am using L Speed , Kernel Auditor,Greenify and GravityBox
[Moto G 2015 Original Android Development] rwxr-xr-xis:
Disable Adreno Idler
[Moto G 2015 Original Android Development] Ardany Jolón:
The Osprey XT1540 device overheats, and at the same time takes to cool.
[Moto G 2015 Original Android Development] HelpMeruth:
New V2.1 coming soon, it has the best settings pre-set so you can flash and play even without having kernel adiutur ;)
[Moto G 2015 Original Android Development] psndna88:
must be cores throttled by thermal driver bec of heat...
[Moto G 2015 Original Android Development] psndna88:
v2.1:- (focused on cpu tuning)

sync cm kernel sources

update cpu boost driver

lib: align source before using optimized implementation

video: Speed up console framebuffer imageblit function

rcu: Don't disable CPU hotplug during OOM notifiers

cpufreq: interactive changes

selinux: add security in-core xattr support for esdfs,f2fs,exfat

char: msm_smd_pkt: Reduce log severity of signals

lib: do_strncpy_from_user: Fix return error code for get_user failures

disabled some debugging

enable arm crypto crc32 support

enable cleancache

removed ksm for good

modified min cpufreq, thunderplug, interactive, adreno idler tunables

screen off wil force single-core mode, makes no difference to music playback

kernel tunable apps are not actually required as I have already tuned this for various types of workloads

(do not enable "set on boot" in kernel auditor for all sections before using this, else you may not get the modified tunables)

regarding previous user querry: [MENTION=3800251]thinkfreedom[/MENTION]

- tested exfat working on usb otg flash drive
[Moto G 2015 Original Android Development] gauti_1998:
Can I dirty flash over previous version
[Moto G 2015 Original Android Development] psndna88:
yes
[Moto G 2015 Original Android Development] gauti_1998:
Thanks will be trying it
[Moto G 2015 Original Android Development] braddocksp:
I am using a Osprey and CM13, when apply the update 2.1, hotplug is not running, i have executed in kernel auditor section init.d the script, executed correctly i can see the cores on and off, but in ten minutes aprox. i have a bsod, system hangs and reboot.
[Moto G 2015 Original Android Development] cesarXP:
Thunderplug is better than stock CM hotplug?
[Moto G 2015 Original Android Development] HelpMeruth:
Flash SuperSU to make scripts work natively

---------- Post added at 03:37 PM ---------- Previous post was at 03:37 PM ----------

Cm doesn't hotplug, thunderplug disables cores dynamically
[Moto G 2015 Original Android Development] cesarXP:
Sorry i mean cluster plug but for battery saving which its better?
[Moto G 2015 Original Android Development] HelpMeruth:
You have to ask [MENTION=4365701]psndna88[/MENTION] I'm osprey tester so can't really say things about Merlin. Sorry ;)
[Moto G 2015 Original Android Development] Ardany Jolón:
Friend, in the new version this problem no longer exists (Enable module for building thunderplug, state helper, cluster plug selectable in the installer (Avoids reboots due to conflicts)).
[Moto G 2015 Original Android Development] psndna88:
cluster plug is more about performance than battery, which means more heat ?

i aim at making thunderplug try handle both high load impulsive tasks and low load tasks

for that, i tuned interactive, cpu boost with thunderplug

now on v2.2, also tuned zram, i found system becomes sluggish when multiple heavy social networking apps used simultaneously switching, zram became full n crippled snappiness
[Moto G 2015 Original Android Development] Jamiéric GS:
The best kernel! ❤?

Waiting for 2.2! [MENTION=4365701]psndna88[/MENTION]
[Moto G 2015 Original Android Development] vinay320:
Should I enable it.....?(osprey v2.1)
[Moto G 2015 Original Android Development] akki1807:
if u want..there is no need though, the kernel comes preconfigured with best settings!!
[Moto G 2015 Original Android Development] vinay320:
..k thnks
[Moto G 2015 Original Android Development] Rahul1608:
For information purpose

Just to know.. What will happen if I flash some other phone's kernel into my phone[Moto G 2015] ? Will it end up with any hard ware problems or just bootloop?
[Moto G 2015 Original Android Development] Lukest85:
Hooray, no conflicts with stereo speaker output !!

Kernel is running great here, with the new update !

[MENTION=6911440]HelpMeruth[/MENTION]

Has anyone else tried the sound controls yet ?

On my device with v2.0-2.1; Changing ANY of the outputs to a negative gain setting ends up disabling audio for that output, aswell as others.

Doing this to separate Left/Right headphone has more unintended consequences eg can switch the opposite channel off instead of the selected one, lots of squelch & distortion, etc,

Can anyone else pls confirm as this my first test of a FauxSound supported kernel on MotoG3 and have only used Kernel Adiutor to adjust ?!

NB: Speaker Gain is only for in-call Handset Speaker

EDIT: and shares the same path (RX1) as LHS Headphone which can cause conflicts...this is inherent with FauxSound NOT kernel !

[MENTION=4365701]psndna88[/MENTION]

Logcat; messy but includes boot + a few toggles to each output whilst on a call

Tested with:

osprey XT1550 CM based ROM (Mokee ATM)

Stock /system audio files vs adding ALSA

Mono dvc speaker vs MixerMod stereo output

Handset calls, speakerphone calls, music HP, music speakers

Also;

Not sure if this is Kernel or apk, but for me the new (beta) Kernel Adiutor app does not populate all options & settings correctly (screenshot attached)...is this happening for anyone else?

EDIT: confirmed...it's due to KA apk as the beta is currently a WIP & incomplete at this time.
[Moto G 2015 Original Android Development] psndna88:
if u dont see thunderpug options in cpu hotplug section then u can enable that init.d execution

u can make permanant damage to hardware, even brick !!

example: some galaxy S 3 users mistakenly flashed galaxy note 2's kernel, resulting in permanant fried touchscreen controler chip, solution was to replace entire amoled screen. !! :silly::p

i have not experimented with the sound control yet ...
[Moto G 2015 Original Android Development] HelpMeruth:
Will test sound control .. will report
[Moto G 2015 Original Android Development] skooter32:
My sound is ok nothing out of the ordinary a use xtreme music and viper
[Moto G 2015 Original Android Development] Lukest85:
Cheers !

Yeah general audio output is fine/great and this is an excellent kernel !!

You most likely wont notice any probs unless you adjust FauxSound (controls) which has some bugs and is a little dated now.

I'm not implying it should be removed as its good to have the option and can always be disabled if you do have issues.

Was just enquiring 'coz I have not tested FauxSound extensively or inspected source and am not a kernel dev so not sure which bugs are from upstream and/or specific to this device/implementation.

Hope this clarifies somewhat !

[MENTION=4365701]psndna88[/MENTION] [MENTION=6911440]HelpMeruth[/MENTION] if you need logs or more info pls check my previous link or PM.
[Moto G 2015 Original Android Development] HelpMeruth:
You seem very passionate about sound :P I found some bugs in sound control.. will have to test them more extensively but I'm at school atm. Will talk about it with psndna. Thanks [MENTION=6167433]Lukest85[/MENTION] for reporting this. Maybe we will remove it since it doesn't add much but psndna makes final decisions I'm just tester ;)
[Moto G 2015 Original Android Development] cesarXP:
Hi i have a question, for that is the endurance level in the cpu hotplug section?
[Moto G 2015 Original Android Development] psndna88:
it forces device to run in 2 cores mode or 4 cores only mode
[Moto G 2015 Original Android Development] psndna88:
v2.2:-(focused on multitasking apps user experience)

sync cm sources (ALSA leak fixes)

ion: adjust system heap pool orders

mm: adjust page migration heuristic

enabled CONFIG_RCU_BOOST, CONFIG_MEMCG & disabled CONFIG_RMNET_DATA_DEBUG_PKT

Zram size and parameters tweaked
[Moto G 2015 Original Android Development] cesarXP:
Could be good enable this automatically when the device enter in battery save mode
[Moto G 2015 Original Android Development] psndna88:
yes nice idea
[Moto G 2015 Original Android Development] sticktornado:
[MENTION=4365701]psndna88[/MENTION] the magnetic field / compass hasn't worked on this build as well as previous builds
[Moto G 2015 Original Android Development] psndna88:
it never worked on stock kernel even before i unlocked merlin.... dats why i hate Motorola for that
[Moto G 2015 Original Android Development] sticktornado:
is it fixable?
[Moto G 2015 Original Android Development] rai7878:
Call disconects automatically after flashing this kernel, any fix?
[Moto G 2015 Original Android Development] HelpMeruth:
Kernel works fine for most of the people, check If you have flashed it correctly(recommend clean flash alongside the rom and SuperSU) or try a different ROM.
[Moto G 2015 Original Android Development] Beauterham:
I disabled Zram and changed BFQ tot ROW and performance has exploded! If I'm right BFQ is standard on most roms and your kernel? Therefore it was always lagging, couldn't run messenger chatheads in chrome, screen became black etc.. Maybe it's better to disable Zram and don't use BFQ . well I'm not an Android expert but just wanted to say this. Greets Beau (best kernel btw, thanks)
[Moto G 2015 Original Android Development] cesarXP:
Device?
[Moto G 2015 Original Android Development] Beauterham:
XT1541 Osprey 1GB (yes is insufficient these days..)
[Moto G 2015 Original Android Development] psndna88:
i have fiops set default !
[Moto G 2015 Original Android Development] psndna88:
v2.3:-

Update Adreno graphics driver

zram size changes (merlin: 450MB, osprey 200MB)

merlin: I find increase in antutu points with this one
[Moto G 2015 Original Android Development] HelpMeruth:
Testing it early, Everybody update to v2.3! Gpu drivers updates aren't placebo ;) test it yourself!

V2.3 vs V2.2
[Moto G 2015 Original Android Development] Beauterham:
Thanks buddy! Almost no lag! :)

If I can ask a question here: which I/O scheduler you people like the most? Coming from many past devices and they give different performances on many devices, exploring this device now :p Thanks for this Kernel! :D
[Moto G 2015 Original Android Development] Beauterham:
I discovered Zram stays at 510mb after update, didn't had any set on boot switched on before installing (checked that twice). BUT performance is a lot better now! Many thanks

And yes, fiops is INSANE! thanks for tip man!
[Moto G 2015 Original Android Development] HelpMeruth:
Check if init.d scripts ran correctly, and check if your hotplug is enabled, if not try installing SuperSU or use init.d emulation in kernel adiutor
[Moto G 2015 Original Android Development] Johny Cipeli:
Nice kernel Brother, + one thanks and + one project follower
[Moto G 2015 Original Android Development] Jamiéric GS:
The best Kernel! ❤

My osprey fly! ?
[Moto G 2015 Original Android Development] randa-76:
Thanks a lot for your work.

By the way, OP´s says [KERNEL]... 15-04-2016 AGNi ... It should say [KERNEL]... 15-05-2016 AGNi...
[Moto G 2015 Original Android Development] psndna88:
lol ?
[Moto G 2015 Original Android Development] Akash sky:
I tested this kernel on merlin (moto g turbo) ,on my mate's phone and it really true it does increase the antutu score :eek: we are getting 38k before flashing this kernel v2.3 after that we are getting 41k :eek: allthough i dont beleive on antutu n other benchmarks :D even some worst phone hitting 70k score on antutu :D but i must say performance is pretty much better n smoother :) i recommend every moto g turbo user to test it by yourself :) you are definitely going to feel the difference :) specially with battery :)(as he(my friend) told me )????
[Moto G 2015 Original Android Development] salah6805:
Hey guys I'm Xiaomi Redmi 2 user and I have a question against this kernel is the DT2W feature working flawlessly...!( properly) without any issue

THANKS IN ADVANCE
[Moto G 2015 Original Android Development] HelpMeruth:
It's working, that's it. Sometimes it causes screen freezes, it will never be perfect
[Moto G 2015 Original Android Development] salah6805:
Thanks buddy...... But why it will never be perfect......?
[Moto G 2015 Original Android Development] HelpMeruth:
We don't have a high quality touchscreen and it drains battery because the touchscreen is always on
[Moto G 2015 Original Android Development] cesarXP:
Are you in stock rom?
[Moto G 2015 Original Android Development] psndna88:
finally i could play nova 3 without lags with new gpu drivers!
[Moto G 2015 Original Android Development] SuperSaket:
How? What the settings? This new kernel really works flawless but nova 3 still lags a bit !!!
[Moto G 2015 Original Android Development] rwxr-xr-xis:
Update to the latest version of the kernel
[Moto G 2015 Original Android Development] Akash sky:
i m on stock my friend is on cm13

nova 3 is working without any lag on stock too :)
[Moto G 2015 Original Android Development] cesarXP:
Ooooo i see, mmm i have one more question, which is better CM 13 or Stock in comparation with your friend?
[Moto G 2015 Original Android Development] Akash sky:
You guys must be talking about moto g 3rd gen not turbo right ? cause in turbo nova 3 works flawlessly even without the kernel but this kernel is like cherry on cake [emoji7]

---------- Post added at 10:32 PM ---------- Previous post was at 10:28 PM ----------

ahhhh see its totally depend upon the user :) i still haven't rooted or unlocked the bootloader :) my phone is still stock n factory new :) i have it cause till now i m satisfied with stock :) i m already created a list of points on which i will work on this device after some days :) not for me but for you guys :)

and if you compare cm13 with stock or any rom with stock...no one can beat stock ...atleast most of the most :)

but yeah giving other roms a try will be great ...it will bring some new features for sure :)
[Moto G 2015 Original Android Development] SuperSaket:
I have already updated to latest version of kernel v2.3:laugh:
[Moto G 2015 Original Android Development] rwxr-xr-xis:
Try this. Edit: Workload on 6
[Moto G 2015 Original Android Development] kosmasgr:
Stock - optimised ROM for XT1550 installed on XT1541 with agni 2.3 kernel ( impulse - fiops , min 200 max 1363 CPU and thunder plug enable ) and battery still 30%

I think one more hour sot is possible ?
[Moto G 2015 Original Android Development] SuperSaket:
I tried these settings but still there is lag on levels Lost Ark or Last Mission Shadows- (considerable frame drops but somewhat playable )

Can you provide me with detailed settings for each section or some guides related to it ?
[Moto G 2015 Original Android Development] psndna88:
merlin osprey?

on. merlin, zero lag when thunderplug load threshold set to 50

ill be tuning thunderplug further for next update.

setting that tunable lower allows early online of all cores, but too low will be counterproductive, so a balanced value needs to b found for gaming and non gaming /normal use
[Moto G 2015 Original Android Development] jaswinprakash:
[MENTION=4365701]psndna88[/MENTION] I have an issue screen mirroring makes moto g turbo edition very much laggy but in moto g 2nd gen screen mirroring very fast and not a single lag found.. Why this happen?
[Moto G 2015 Original Android Development] psndna88:
happens on stock kernel also?
[Moto G 2015 Original Android Development] psndna88:
I dislike 2 things in merlin, no notification led, broken/incomplete sensors
[Moto G 2015 Original Android Development] psndna88:
see on left in this game play screenshot..

all cores being used gives no lag,

gpu is always running at its peak, so no prob in that
[Moto G 2015 Original Android Development] rwxr-xr-xis:
[MENTION=4365701]psndna88[/MENTION] did you tune the zram values on v2.3 for osprey? Because on KA it still shows me 510MB
[Moto G 2015 Original Android Development] SuperSaket:
what about osprey? I have osprey .

Are you using moto g turbo ?

I have simple moto g3 osprey.
[Moto G 2015 Original Android Development] jaswinprakash:
Yes also in stock kernel...
[Moto G 2015 Original Android Development] Akash sky:
There is trick to enable notification led in motorola :) about sensors .... it can be fixed ... cause chipset support many sensors :)
[Moto G 2015 Original Android Development] psndna88:
the thing about merlin is that its actually msm8939 device but uses msm8916 configuration...

hv to check things from msm8939..
[Moto G 2015 Original Android Development] Akash sky:
i think there is 50% chances to make it better ... you know what i mean ;) i had a mediatek device.... in the cm11 of that phone sensors are not working ... but after porting some sensor hals from other device all sensors start working :D so maybe there are chances for this device too :D