yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] empathyislost:
CDMA question

I'm on the xt1031, Boost Mobile CDMA variant. Everything is great except two things:

Network quick toggle doesn't toggle data on/off - it just brings up the Data Usage screen

On Data Usage screen, data limits settings are missing.

I had previously used an unofficial cm12.1-based ROM and both these things were fine, so I don't know when they broke or if they ever worked in official.

Thanks for everything you guys do! :good::good:
[Moto G Original Android Development] dendi:
The gesture typing is not working for .. I have flashed gapps and enabled the option in the settings too .. Please help me out here
[Moto G Original Android Development] bogante:
Minimum frequency of CPU change to 1.2ghz and then go back instantaneous it's like no exist the table of frequency just 300 and max.
[Moto G Original Android Development] matmutant:
Which nightly ? (i'm using 20150602 and it works quite perfectly) any third party app that would prevent the CT406 (proximity sensor) from working as expected?

First, all in-between freq are available :

shell@falcon_umts:/sys/devices/system/cpu/cpu0/cpufreq $ cat ./scaling_available_frequencies
300000 384000 600000 787200 998400 1094400 1190400

But that's the way Interactive governor works (with the coordinated action of mpdecision) :

The min freq (300MHz) is used until it can't handle the load anymore (as soon as any app or user action is started)

The freq is raised to max (1190MHz) to give snappiness and performance

The freq is then scaled down (if needed, depends on the load) to the most appropriate freq (either stay at max if needed, or any other appropriate available frequency, which usually nether happen [see below])

The core stays at 300MHz or goes offline

Why does it work like this and don't try every single freq in-between before reaching maximum?

It would end in a laggy system (any newly added load would hang the system for a few millisecond until the freq would be scaled up)

with max freq used the load work is finished faster than if trying lower ones. two cases :

the load wasn't heavy and the core did it job quickly and then goes back to min freq (no need to use in-between freq)

the load was heavy and needs the core to stay up at max to finish it ASAP.

Why does it work like this and don't try every single freq in-between before reaching minimum?

Once the job is done, there's no need for CPU to be scaled down slowly, simply going to min freq is enough : another core will turn on if a load is applied while the previous online core is scaled down (or turned off)

btw it does use some in-between freq, here is the time_in_state :

for CPU 0 :

300000 168103
384000 3255
600000 5280
787200 1498
998400 1128
1094400 33652
1190400 105646

for CPU 1

300000 173717
384000 3429
600000 5665
787200 1533
998400 1137
1094400 35107
1190400 108105

Similar results for CPU 2 and 3, those in-between freq are actually used only about 14% of the global time (on a 2hrs uptime only ...)

...

This way gives the best perf/power ratio (the job is done quickly and the core used goes to sleep faster)

For more snapiness all four cores could be turned on at max on finger touch, but it would use more power... (actually turning screen on does turn the four cores at max)

Ramping up all four cores at touch might improve efficacy (performance) but at the cost of decreased efficiency (perf/power ratio)

Using in-between freq more often may increase battery life (but i'm not sure as load would take longer to get finished and thus keeping cores online longer...)

PS: This is for single threaded processes, on multithreaded ones, things are a little more complicated as each core may not have same load and might share the load in different ways depending on the situation.

PPS: mpdecision is only here to manage each core independently, like 4 monocore processors (without mpdecision, all four cores are online and running at same speed at anytime) [read this for more]
[Moto G Original Android Development] matmutant:
ok i thought you were talking about "gestures" part of Ambient Display.

btw the keayboard gesture works too (i've everything enabled in settings > language and input > Android Keyboard (AOSP) > Gesture typing )
[Moto G Original Android Development] tzzeri:
Anyone else having a problem that the 'sounds' icon in settings isn't being themed?
[Moto G Original Android Development] Ann.Vogelfang:
Yes. Most of the themes need to be updated

Gesendet von meinem Moto G
[Moto G Original Android Development] nuange:
I have a question : how could i have eap-sim?
[Moto G Original Android Development] UltraMaks:
Updated today at today's build and found thet trebuchet closes on every tap for exDialer. Cleared data all started working OK (I saw that it has a new look)

I put all my icons and widgets back to homepage but when I click an icon of direct dial I see that trebuchet closes again. Is it a bug? Clearing of cache does not help. Again clear the data? But will it be workin then?
[Moto G Original Android Development] andromobilogy:
Latest nightly finally has "flip to mute call ringtone" :)

Sent from:

Falcon XT1032 / CM12.1 / TWRP 2.6.8.0
[Moto G Original Android Development] scissorscrush:
Is it?
[Moto G Original Android Development] justjr:
What are the values of the medium preset from Kernel Adiutor?
[Moto G Original Android Development] tzzeri:
Foreground apps 4mb

Visible apps 8mb

Secondary server 16mb

Hidden apps 32mb

Content providers 48mb

Empty apps 64mb
[Moto G Original Android Development] andromobilogy:
Yup ... @ call setting under the "smart mute" new avaible option.
[Moto G Original Android Development] empathyislost:
Love the smart mute!
[Moto G Original Android Development] UltraMaks:
Does it mean that when I close the sensor it will be muted?
[Moto G Original Android Development] sbhas2k:
Where can i find call forwarding option? I am on xt1033

Got it. Under dialer settings.
[Moto G Original Android Development] UltraMaks:
Can anyone confirm my message above?

Firmware cm-12.1-20150603-NIGHTLY-falcon.zip

If i put a widget of "direct dialer" or "contact" and use it (tap on i) Thebuchet craches every time
[Moto G Original Android Development] dendi:
yo man ! somethings extremely wrong with ambient display ! i was on aicp and never faced this issue ! dono why here though ! black screen buddy ! touch works but black screen ! faced it twice today , and happens only after i enable hand and pocket mode ! and battery graph , the time is screwed up ! shows some -31055521 secs or something !
[Moto G Original Android Development] Wechy77:
You have the "time traveller bug". If you charge it above 90% it will show the correct time until you reboot. I had this issue for about 2 months, only one other user reported same bug. It has something to do with latest time_daemon binary. If you search this thread you will find my post how to solve it. http://xdaforums.com/showthread.php?p=60318038
[Moto G Original Android Development] matmutant:
black screen : already reported. i simply can't find any way to reproduce, only happens "randomly" on my side ... but nothing is random in tech so we must find the culprit.

battery stat : i have it too, refer to post above
[Moto G Original Android Development] Wechy77:
The one you linked is the issue, the other link in my post is how to solve it.

I already did a comment in TheMuppets github.

So you have the "time traveller bug®" too?
[Moto G Original Android Development] matmutant:
You edited your post while i was posting :)

And Yes i face that bug, battery stats doesn't bother me much, but once system time changed to 2025 >_<
[Moto G Original Android Development] dendi:
but buddy ! i dont understand ! never faced this issue on AICP ! maybe u can take some commits and help from there and fix here ? its perfectly fine in that rom , just saying ! i appreciate ur hard work and not degrading ur work , just helping a fellow out :) please dont take it wrongly and about tat time traveller bug , ill try the above mentioned fix and report back
[Moto G Original Android Development] ig0r260892:
Settings -> (Personal) System profiles

am i the only one having issues with System profiles?

i configure them, create new ones, but after every reboot all of configurations i made are reset to default, like if settings db is being dropped. It was happening on cm12 and now on cm12.1 last nightly it keeps happening.

ps: xt1032 16gb, clean install, stock cm kernel, can't think of something i've installed that could interfere with system profiles, so i dont know why it happens.

help me, HELP ME PLS :crying:
[Moto G Original Android Development] matmutant:
According to [MENTION=5778309]luca020400[/MENTION], this should be fixed since the 5.0 update blobs that have been merged "a while ago" for the whole msm8226 branch, and titan/thea don't have the issue anymore since that update... Strange isn't it?
[Moto G Original Android Development] Wechy77:
[MENTION=5778309]luca020400[/MENTION] can the bin moved to each device folder from msm8226-common?

Or can you test old time_daemon on Thea / Titan

The bug is present on falcon since this merge

https://github.com/TheMuppets/propr...mmit/6622ea3456a344d0c2c26a3aa588505e0c463bff
[Moto G Original Android Development] luca020400:
The same bin works on titan & thea

It should work on falcon too
[Moto G Original Android Development] Wechy77:
It should, but it doesn't work.

I build pac for myself with old time_daemon, so it doesn't affect me.

But you see some Falcon users have the bug.
[Moto G Original Android Development] riyosakura:
It happen to me too.

My workaround is changing profile to default and then change it back to prefered profile. And everything is work as it should like unsecure lock and else.
[Moto G Original Android Development] UltraMaks:
Well

After I have installed version of Jun, 03 I found that there is a bug in trebuchet (just posted it above)

But I also found that there i no more mobile settings in teh Settings! So I cannot change 2g/3g mode or disable mobile network at all

Just flashed today's build (Jun, 06) and found the same issue

What is wrong here? I badly need this option in settings. How do I put it back?
[Moto G Original Android Development] sjandroiddeveloper:
[MENTION=4174609]UltraMaks[/MENTION]

You can change the 2g/3g preference by going in settings-----> SIM cards----> SIM card 1 setting and then select 2g or 3g

You can disable mobile data by going in settings------> data usage and the disable

Sent from falcon

PRESS THANKS IF HELPED?????
[Moto G Original Android Development] objr:
Hi, can anyone be that kind and polite to send me the new trebucht laucher included in tonight Nigthly 5 June 2015?

So that I don't have to download all the ROM and flash it all again!

Thanks in advance for that kind person :)
[Moto G Original Android Development] UltraMaks:
I have already downgraded to the latest available nightly (May, 31) and all is ok there ("Mobile Network" present)

I wonder why it's missing in June's firmwares?
[Moto G Original Android Development] michalurban:
I'm looking forward to stable as well. We (xt1032 AND Moto G in general) hadn't stable CM in ages ...
[Moto G Original Android Development] sjandroiddeveloper:
Yup no stable or even a RC or MS

They Even mentioned before the release of CM 12.1 that they were very close to a stable release for lollipop but that news is quite old now and funnily no stable release
[Moto G Original Android Development] ig0r260892:
By doing that after a full reboot you are able to get your profiles and their configs back?

That's weird... After i reboot all my manually created profiles are gone, and the default ones(automobile, default, silent) are there but their configs are dropped... Its like System profiles were fully reset on reboot
[Moto G Original Android Development] Tridon:
Hi !

I have exactly the same problem as described, Gesture Typing is enabled but it doesn't work. I was using the nightly from 25 May earlier and it worked, perfectly. Today, I upgraded to 5 June nightly and sadly, it doesn't work and I don't know how to fix it.

I wiped system, cache and dalvik cache before installing. Stock ROM, no tweaks, scripts and pico GAPPS.

How do I go about troubleshooting this ?
[Moto G Original Android Development] cbd dvd:
I need a useful option in Quick Settings Panel, block the screen in landscape.

when I look at the phone on the bed, the screen rotates, but I need the screen blocked to watch videos or something. is very annoying not have this.
[Moto G Original Android Development] empathyislost:
Look in settings > notifications drawer > quick panel settings. It's there.

I'm assuming English isn't your first language so you may not know, but devs work hard and they appreciate courtesy like "please" and "thank you" instead of "I need."
[Moto G Original Android Development] Fiti_99:
I hope next updates change the status bar icons to the ones on stock lollipop, that wide wifi icon doesnt look good
[Moto G Original Android Development] objr:
Hi, can anyone be that kind and polite to send me the new trebucht laucher included in tonight Nigthly 5 June 2015?

So that I don't have to download all the ROM and flash it all again!

Thanks in advance for that kind person :)

Inviato dal mio IDEOS X5 PRO
[Moto G Original Android Development] arjun1459:
does this rom work for moto g dual sim variant
[Moto G Original Android Development] cbd dvd:
But only blocks the screen in portrait mode...

Yes, not is my first language, sorry if the way to express myself is incorrect.
[Moto G Original Android Development] Mickyvai:
The 6th of June nightly is the first in a long time that updates automatically in the recovery. Only thing is the process of updating is abruptly interrupted by a reboot. I thought it was going to bootloop but instead the phone rebooted and was perfectly updated and running well. ?
[Moto G Original Android Development] riyosakura:
Its working. I think it has been mention on OP. You should read more.
[Moto G Original Android Development] matmutant:
Here it is (20150606)
[Moto G Original Android Development] empathyislost:
[MENTION=4643897]cbd dvd[/MENTION] You're right. The lock screen and rotate options don't work for landscape mode.

I would suggest Power Toggles from the Play Store. It has a working lock screen mode.
[Moto G Original Android Development] dendi:
whatsapp call not working
[Moto G Original Android Development] Ann.Vogelfang:
Change this line in build.prop

use.voice.path.for.pcm.voip=true

To

use.voice.path.for.pcm.voip=false

Gesendet von meinem Moto G
[Moto G Original Android Development] talhask:
My play store youtube and gmail apps not working "Check your connection and try again" .... I have tried on both Wifi and data connection
[Moto G Original Android Development] dendi:
oh the fix is known ? then why not already implement in the rom directly buddy [MENTION=3816475]matmutant[/MENTION]
[Moto G Original Android Development] Ann.Vogelfang:
Some other CM based roms have this "fix" already implemented. Not sure why is not fix in CM itself u.u

Gesendet von meinem Moto G
[Moto G Original Android Development] dendi:
haha rare to see a girl on xda ! XD anyawys lets hope its implemented in next nightly
[Moto G Original Android Development] moralesnery:
oh god
[Moto G Original Android Development] Ann.Vogelfang:
Hahahaha i guess lol i saw some girls so not so rare :D yeah, i hope the same. It's so annoying change the build.prop every single time i flash a new nightly

Gesendet von meinem Moto G
[Moto G Original Android Development] bogante:
I can't uninstall an app, soft reboot instead.
[Moto G Original Android Development] Ann.Vogelfang:
Did you clean flash the rom? It happened before but with a clean flash, everything is good

Gesendet von meinem Moto G
[Moto G Original Android Development] bogante:
It was a clean install, now I wipe cache and dalvik/art cache, reboot and everything is OK.
[Moto G Original Android Development] luca020400:
Just read http://review.cyanogenmod.org/#/c/97021/

As always we need logs

---------- Post added at 10:06 PM ---------- Previous post was at 10:03 PM ----------

"Placebo" effect as lmk values are read only in aosp based roms , so the lmk values are stock one
[Moto G Original Android Development] Ann.Vogelfang:
Ok, thanks....

Gesendet von meinem Moto G
[Moto G Original Android Development] michael_ch:
I just spent half a day to investigate why the lowmemorykiller works so bad as it does for me on peregrine (Moto G 4G but same code base like titan).

I'm sure there are a lot of people writing about placebo effects, however the values can be read using root rights, and there is clearly some logic behind it.

In fact, if you make the minfree file readable, you will see that the values are definitely different from stock. In any case I think they are wrong (will elaborate more on the details when I file a report in the bugtracker).

Can you please check the following and let me know about the result?

1. What are your minfree values right after booting up, with no additional scripts or apps involved?

su
chmod 660 /sys/module/lowmemorykiller/parameters/minfree
cat /sys/module/lowmemorykiller/parameters/minfree
chmod 220 /sys/module/lowmemorykiller/parameters/minfree

My guess is that the result will be

15360,19200,23040,26880,34415,43737

While the stock value for the Moto G (falcon) with Android 5.0.2 is

8192,10240,12288,14336,16384,20480

Even though the value that I found was for Falcon, I assume that it should be the same for your device.

2. Next, can you please try out if you notice a difference when you write the new numbers into the minfree file?

su
echo "8192,10240,12288,14336,16384,20480" > /sys/module/lowmemorykiller/parameters/minfree

My impression so far is that the system behaves a lot better, and I'm getting almost zero launcher redraws anymore. To me it seems like a bug which was introduced recently in frameworks/base (wrong mOomMinFreeHigh32Bit values) mixed with missing adjustments for our device platform. I could not finish my investigations yet, so I'd like to gain some more feedback before I'll submit the bug report about it...

Let me know about your impression.
[Moto G Original Android Development] Shub77:
This are LMK values on Falcon XT1032:

login as: shub
shub@192.168.1.105's password:
u0_a77@falcon_umts:/ $ su -
root@falcon_umts:/ # chmod 660 /sys/module/lowmemorykiller/parameters/minfree
root@falcon_umts:/ # cat /sys/module/lowmemorykiller/parameters/minfree
15360,19200,23040,26880,34415,43737
root@falcon_umts:/ # chmod 220 /sys/module/lowmemorykiller/parameters/minfree
root@falcon_umts:/ #

So:

15360,19200,23040,26880,34415,43737

Usually I use the "medium" setting of kernel audiutor woth optimus kernel. But for you :) I freezed Adiutor and reflashed stock CM12.1 with no Custom Kernel.

Usually I use this values, the "medium" setting of Adiutor:

1024,2048,4096,8192,12288,16384

Figures are in MB.

I'll try your setting. :)
[Moto G Original Android Development] matmutant:
I would be really interested in seeing some "objective" results of your tests, since feeling is absolutely subjective (and, it happened to me to have feelings that were then proven wrong...) :cool:

I personally didn't get how a file in write only could get read and impact system behavior;

root@falcon_umts:/sys/module/lowmemorykiller/parameters # ls -l
--w--w---- root system 4096 2025-06-12 11:16 adj
-rw-r--r-- root root 4096 2025-06-12 11:16 cost
-rw-r--r-- root root 4096 2025-06-12 11:16 debug_level
-rw-r--r-- root root 4096 2025-06-12 11:16 lmk_fast_run
--w--w---- root system 4096 2025-06-12 11:16 minfree

BUT, this question isn't new, and here is what Ethan Chen had said about it :

http://xdaforums.com/showpost.php?p=58491828&postcount=12
[Moto G Original Android Development] Shub77:
I believe this is neary impossible :( It depends at 99% on the apps used.

Anyway, imho 1 GB is not enough for swapping from chrome to google play music to boom beach and back, and find all of them still running... :) This phone with 2 GB could last 10 years in by pocket. Anyway, it probably will do anyway :)

I tried Genymotion with 2 GB RAM and Lollipop, and the multitasking experience is completely different.

Well, Mr. Chen explains it, as you said:

Why that file is read-only, since "Changing the file permission does nothing", if you meant this... Really can't imagine. Sciamanic magic... :D
[Moto G Original Android Development] objr:
"Impossible to use microphone. Reboot your device"

Is anyone having the same problem or its just me?

Not able to use hotword in googleNowLoncher...

Is it a ROM problem? Cause mic works just fine!

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Original Android Development] Ann.Vogelfang:
Change your gapps. Maybe is that

Gesendet von meinem Moto G
[Moto G Original Android Development] :
I don't know why.My notification LED stays on when I get notifications. The pulse duration and speed settings are set to normal. Don't know if this has been there since the beginning.I noticed it since the 3rd June nightly. I'm currently on the latest 6th June nightly.Any solution to fix it? :D
[Moto G Original Android Development] objr:
Thanks, I'll try!

So your is working just fine!?

Can you tell me which gApps pack are you using??
[Moto G Original Android Development] Ann.Vogelfang:
I'm using the ones from this thread http://xdaforums.com/showthread.php?t=2997368 and i didn't have any single problem. I will recommend you to clean flash the rom and gapps, just to avoid any issue

Gesendet von meinem Moto G
[Moto G Original Android Development] mato_d007:
I had to modify lmk values to make the launcher stay, it was always redrawing. Im pretty sure the stock values need to be changed. The difference is very noticeable at least for me with the amount of apps i have. These are the ones im using:
[Moto G Original Android Development] luca020400:
Placebo .........

Again

In lollipop lmk values are read only , so everything is like before = placebo
[Moto G Original Android Development] bogante:
Well, I have more app open and I can go back to them without re-open (re-launch).
[Moto G Original Android Development] luca020400:
Still a placebo effect
[Moto G Original Android Development] bogante:
If this is a placebo, I like it, I hate when app need to relaunch when I go back.
[Moto G Original Android Development] UltraMaks:
Guys. so can anyone tall me why June's builds have this bug. When you click on a direct dial or contacts widget on a homescreen trebuchet closes with the error. Is it going to be fixed?

.... and is it a bug or a feature for missing "Mobile Networks: in Settings?
[Moto G Original Android Development] sundeep97:
Goto Settings -> Sim Cards -> Scroll down you can see Mobile Networks...! ?
[Moto G Original Android Development] sjandroiddeveloper:
What's placebo ?
[Moto G Original Android Development] UltraMaks:
Got it. Now it's split into separate settings :)

But what's wrong with the second issue - Trebuchet problems?
[Moto G Original Android Development] luca020400:
Google