yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] moquiwa:
so if my phone get stolen, the thief would not be able to really turn it off... (since we can't remove the battery)

giving me some time to delete my stuff, track it, etc etc

I use the "Smart App Block", that blocks the Settings menu, and everything..

He could still use an USB cable to erase everything, but it would still give me some time to try something..

If he simply turns it off, than it's gone for good..
[Moto G Original Android Development] matmutant:
nope

The thief only needs to remove the SIM card ==> no network ==> no access for you.

AND power hold for 10+ seconds will reboot the device... and pressing vol_down will go to BL ==> the device is not turned off but you still won't be able to track or do anything :cool:
[Moto G Original Android Development] moquiwa:
I know, I'm just trying to increase my chances here...

presuming the thief is not that smart to access BL.. most of them aren't that clever, they only think on turning it off..

I know the chances of getting it back are remote.. but it can buy me some time...

P.S.: someone told me about an anti-thief app, I forgot the name, been looking for it, but I can't find it... anyway, it has the option that if the SIM card is removed, the GPS is automatically enabled, and since he can't access the settings, he can't turn it off
[Moto G Original Android Development] gabreek:
Facebook app is freezing after a while of running, I do not know if that's a problem with the last build of cm (28/05) or the latest update oF facebook
[Moto G Original Android Development] alex_is_the_1:
A descent crook knows about airplane mode, which disables all connection WiFi and Bluetooth included. But I understand your concern. Of course your only concern is if you have airplane mode in your power menu.

Sent from my Moto G
[Moto G Original Android Development] UltraMaks:
There are applications that go deeply into phone system and even if a thief removes a SIM card the phone silently tuns on GPS, WiFI etc and sends signals to previously set number, e-mail giving all the details about current position etc or makes any other previously set actions as soon as as it's turned on (with a new sim or without sim). And you won't even know that you're not in airplane mode though the phone will be showing that it's in this mode

So I think it's a good idea not to disable Power Off but to install a security application. There are plenty of them on Google Play so you can choose any one from this list
[Moto G Original Android Development] kovaxo:
for me its not there .. and yes i did clear the cache's .. is there an option in setting that dose disable None for lock screen ?!
[Moto G Original Android Development] matmutant:
Is swipe option available ?

I think lockscreen is needed when device is encrypted or using trusted credentials, some security options enabled may prevent lockscreen to be disabled.
[Moto G Original Android Development] kovaxo:
no its not encrypted . it was just fine on 23-5 build
[Moto G Original Android Development] matmutant:
No idea then :rolleyes: ,

(Which theme are you using btw? tried another one?)
[Moto G Original Android Development] matmutant:
POSTS #4 and #5 UPDATED

A few updates :

With more about the dirty/clean update process
[Moto G Original Android Development] the_poolee:
AudioFX Stinks

I've read it somewhere but seeing the issue still going unresolved in today's build as well, couldn't help posting it again. With AudioFX turned on, headset sounds rather tinny, sort of like a bathroom effect. And it entirely fails to work in PowerAmp. Even in native eleven music player, sometimes you gotta place the tile for AudioFX in quick toggles , for the tin can to turn on.:D The problem cropped up a few builds back wherein the crackling sound during notifications was solved, until which the equaliser worked fine. And why don't somebody come up with a solution so that the whole equaliser works throughout the system, even in unsupported apps? Just don't think posting anything here matters, it's really upto CM team but then hey, I don't loose anything asking, do I?;)
[Moto G Original Android Development] sjandroiddeveloper:
So I have this problem for 5 months till now, it happened after I flashed Brazil 5.0.2 on my Asian xt1033, then I flashed Asian 5.0.2 and the problem was still there

The PROBLEM is ---> at the least possible brightness the screen begins to flash

This was due to a bug in stock Motorola lollipop ROM

But I installed cm12 then 12.1 and using it for 2 months now but the bug is still there

Anyone has a solution
[Moto G Original Android Development] OldYellowBricks:
Nope its a problem with new bootloader
[Moto G Original Android Development] sjandroiddeveloper:
I am not talking about the screen flickering in which a horizontal line starts from top and goes all the way to bottom

My problem is screen at least brightness flashes, means the intensity increases and decreases continuously
[Moto G Original Android Development] starkly_raving:
Some people have reported disabling adaptive display sorted this issue (in 5.0.2 builds)
[Moto G Original Android Development] OldYellowBricks:
i am specifically talking about brigjtness issues. When 5.0.2 was released, that was one of the problems reported.
[Moto G Original Android Development] moquiwa:
So.. Is there a way to disable the "power off" from power menu? Whiyout xposed
[Moto G Original Android Development] Ann.Vogelfang:
No

Gesendet von meinem Moto G
[Moto G Original Android Development] Droidriven:
I think you can edit framework.res apk to remove that.

Tapa'd in ice from my Ice Cold lollipop'd S3
[Moto G Original Android Development] moquiwa:
thanks... but I think it's not that functional, since it's a file that is usually changed with nightly updates (i guess :confused: )

I guess I'll install the xposed and try it out... thanks for helping
[Moto G Original Android Development] Droidriven:
Yeah, if you edit then end up flashing a nightly your edit will be gone, but you could do the framework.res edit then save a copy of the edited apk then after flashing nightly you can replace the framework.res in the nightly with the edited framework.res. Just a thought.

Tapa'd in ice from my Ice Cold lollipop'd S3
[Moto G Original Android Development] moquiwa:
yeah, but I think I would lose the changes they made on the framewrok.res of the "new nightly"..

I guess I'll give xposed a shot... I know it's still alpha... but it seems pretty stable..

Thanks
[Moto G Original Android Development] Droidriven:
True

Tapa'd in ice from my Ice Cold lollipop'd S3

---------- Post added at 08:46 PM ---------- Previous post was at 08:30 PM ----------

Although.....I don't know how to do it but you could get advice to do this, you may could make a flashable zip of your mod/edit that can be flashed after flashing the nightly, that way you keep the framework.res from the new nightly but still easily keep your edit also, how to do it I don't know, I don't have experience making flashable zips, I never had a need for it.

Tapa'd in ice from my Ice Cold lollipop'd S3
[Moto G Original Android Development] moquiwa:
I guess it's possible, maybe you don't even have to make a flashable zip..

I think you could make a script to keep the changes you made... like SuperSU does, so you don't have to reinstall it after updating the ROM
[Moto G Original Android Development] mdsaif92:
About the screen flicker at minimum brightness, in lollipop the minimum brightness has been set below the minimum that the hardware (the backlight) is capable of. The pwm voltage is driven so low that the backlight cannot sustain being continuously on. Hence the flicker. Some phones might not have this issue because they use another version of the LCD unit.
[Moto G Original Android Development] methuselah:
So that is the main issue

I was assuming this kind of thin. Multiple times i faced this issue but never been able to discover the main issue that derive this. But today reading this kind of thing makes me feel good that my phone is good. LOL..
[Moto G Original Android Development] matmutant:
Thread Locked for a few hours

To be sure people read the updated instructions and stop reporting same issues again and again, this thread is locked for a few hours.

Please read this post: http://xdaforums.com/showpost.php?p=61038667&postcount=2753

and ask question in the Q&A thread that is dedicated to general questions. thank you.

For real bug reports use the "bug report" button

i'll re-open the thread later in the day

Sound Issues with CM : the story background:

The crackling effect came with an hotfix from QCOM that should have fixed some issues noone was aware about ... Then a few days ago the commit was reverted (hence the crackling disappeared) but the revert came with some AudioFX issues and the "distorted sound" ....

Let's see how the story will end ;)

I reported this ages ago, Gald to see someone else exploring the PWM backlight issues :)

The issue is that LEDs of an AMOLED display can be dimmed until being OFF; which is not possible with IPS backlight.

It couldn't happen with the old backlight setting menu (we could set the minimal light level at that time, now it is hardcoded)

btw increasing the PWM frequency could reduce the blinking, but the best things should be to lock minimal level to the last good minimal brightness (minimal hardware capable brightness)
[Moto G Original Android Development] tzzeri:
Is there any unofficial CM with Cyanogen OS theming features?
[Moto G Original Android Development] sjandroiddeveloper:
CM call recording

I don't know if anyone noticed (I noticed it today) that CM now natively supports call recording without the need of xposed and its module
[Moto G Original Android Development] UltraMaks:
Maybe. but you cannot record calls without special software. And I know only one program that does it but it costs 9,99$ :(
[Moto G Original Android Development] ironman38102:
Installed the 31st Nightly today and this happened. How do I change it back to the normal view?
[Moto G Original Android Development] the_poolee:
Just long press on home screen and swipe up from the reversed three dots and voila, behold a new menu where you can change the app drawer layout and many other options. The setting has been there with the Trebuchet launcher for a while and I too didn't observe this rather hidden option. :)
[Moto G Original Android Development] sjandroiddeveloper:
There is no need of any special software, read my post carefully

Earlier a xposed module was required to enable the hidden call recording option in cm

But now its working without any xposed module

Whenever you call is going on a 3 dot option comes at bottom left, press it and select call recording
[Moto G Original Android Development] DeryckNS:
Can anybody please send me the Trebuchet Launcher apk from latest nightly?, thanks[emoji4] [emoji1]
[Moto G Original Android Development] matmutant:
Simply extract it from the ROM zip :) i can't upload it right now ..

EDIT: apk uploaded
[Moto G Original Android Development] UltraMaks:
Thanks. But when I press (record call) I receive "Call cannot be recorded"

Maybe I need to update to the latest nightly (now I have cm-12.1-20150525-NIGHTLY-falcon)?

PS is there a way to do it automatically?
[Moto G Original Android Development] sjandroiddeveloper:
Try settings SElinux to permissive and then try to record

PS - I dont there's a way to automate the call record process, you have to do it Manually after the call is connected

And if still doesn't work out try Boldbeast call recorder from play store

Sent from falcon

PRESS THANKS IF HELPED?????
[Moto G Original Android Development] UltraMaks:
Boldbeast works fine (as well as CallRecorder) and they can do it automatically. But I was thinking if it was possible to do it natively
[Moto G Original Android Development] Ann.Vogelfang:
Long press on the home screen> dotted arrow> App drawer settings> Arrange> change vertical for horizontal

Gesendet von meinem Moto G
[Moto G Original Android Development] moralesnery:
Is the same launcher, you can change the drawer order and display mode in the launcher settings.

Lets keep the thread clean.
[Moto G Original Android Development] KDB223:
Source? Which thread was that?
[Moto G Original Android Development] knizmi:
The libs are from here, if that's what you meant: https://github.com/bharat-gogineni/...la/tree/cm-12.0/falcon/proprietary/vendor/lib

Or if you wanted the CM build with those libs already included, I am not sure which one that was - there are a couple of them. I just googled around for new moto g camera libs and found those.
[Moto G Original Android Development] Adityadua:
The problem returns even after flashing your zip.

In fact, you used bharatgoku's sources, and his own builds have the problem too.
[Moto G Original Android Development] knizmi:
Damn, sorry to hear that. I am using those for the entire afternoon and my camera is still working...

BTW it's not sources, those are prebuilt libs by Qualcomm/Moto ;)
[Moto G Original Android Development] Adityadua:
Could you please create a zip of anerik's libraries?

http://xdaforums.com/moto-g/development/5-0-cyanogenmod-12-t2950466

His build didn't have these issues.

(What I meant was that bharat_goku has already built a rom with those libraries, and that rom has the same bug.)
[Moto G Original Android Development] knizmi:
Ok, will try. BTW I've flashed a clean CM after your post and immediately had problems with camera. Before, with those libs, it worked all afternoon... In case it matters, I am using stock Moto Camera for Lollipop (version 4.0.x) downloaded from Play Store.

--EDIT--

Ok, [MENTION=4805102]anerik[/MENTION] is using blobs from TheMuppets repo which I believe is what is already included in stock CM. If camera is working in his build, it's not the libs then... Perhaps he could give us a hint.

--Another Edit--

There is one change in anerik's msm8226-common repo that says to fix some camera issues. Just had a look into CM source and this commit is not in the stock source. May this be it?
[Moto G Original Android Development] KDB223:
+1
[Moto G Original Android Development] bharat_goku:
I actually don't think its a lib problem since cm12 nightly faces the same issue as mine although both are different libs altogether i'll dig deeper to check if anything has changed in the cm source if i missed something ,i noticed i missed something in my libs which i've just fixed maybe it'll work out better
[Moto G Original Android Development] knizmi:
Would you try to merge this commit into your repo? If it's working on Anerik's build, this is the only change from stock he did regarding camera. It would take me all day to clone the entire CM repo and another half a day to build it from zero :)

--EDIT--

Description for the commit:

Default API version in L AOSP is 2 and that is causing problem for

targets which don't support API2. Added this property for targets

which doesn't support as of now API2.

This may actually be it...
[Moto G Original Android Development] KDB223:
When exactly was 'before'? Was it a dirty flash atop CM11?
[Moto G Original Android Development] ovitz:
How to enable root access? I already flashed SuperSU from OP and still don't get root.
[Moto G Original Android Development] knizmi:
When I was using those "new" libs. I could use my camera for half a day, which was never possible on stock CM12. After flashing back stock CM the problem was almost instantly back. Might be just purely circumstancial, though...
[Moto G Original Android Development] Adityadua:
I think that change is, indeed, present in the official CM source.

http://review.cyanogenmod.org/#/c/84262/2
[Moto G Original Android Development] knizmi:
Oh, CM put it elsewhere. Anerik has it in android_device_motorola_msm8226-common/msm8226.mk, CM has it in system_prop.mk.

Is camera on anerik's build really working or not?
[Moto G Original Android Development] Shaneee:
I'm using the Motorola camera with no problems.
[Moto G Original Android Development] Adityadua:
I never faced an issue with it, and I couldn't find any mention of this problem in his thread, either.

It is likely, then, that a change after his last build (01/04) has broken the camera.
[Moto G Original Android Development] matmutant:
Guyz, i have investigated a lot more about init.d scripts and Lollipop :

Scripts are correctly executed, BUT their commands are denied example, about my leds related script :

The script :

#!/system/bin/sh
$L="log -p i -t matmutanttest"
$L"testing my init.d script "
echo "1" >/sys/class/leds/charging/brigthness
echo "battery-charging-blink-full-solid" >/sys/class/leds/charging/trigger

The output log :

I/matmutanttest( 251): testing my init.d script
I/run-parts( 207): /system/etc/init.d/01charging_LED-blink[8]: can't create /sys/class/leds/charging/brightness: Permission denied
I/run-parts( 207): /system/etc/init.d/01charging_LED-blink[9]: can't create /sys/class/leds/charging/trigger: Permission denied
I/run-parts( 207): run-parts: /system/etc/init.d/01charging_LED-blink exited with code 1

any idea to grant SU rights to the script?
[Moto G Original Android Development] Shub77:
Isn't it a SELinux related behavior?
[Moto G Original Android Development] matmutant:
Sure it is, but i'm seeking a way to workaround without messing with SELinux policy ;)
[Moto G Original Android Development] sanchit0403:
Is dual sim fixed in the latest build in changelog something about dual sim is mentioned
[Moto G Original Android Development] matmutant:
Looks like you misread the question ;)

same as above :)

==> read my previous post.

here : http://xdaforums.com/showpost.php?p=61091073&postcount=2779
[Moto G Original Android Development] Ann.Vogelfang:
Didn't misread nothing. Is the same launcher, there's no need to change it. Anyway, was trying to help

Gesendet von meinem Moto G
[Moto G Original Android Development] prgprg:
Anyone knows any kernel which works better than the stock one (about battery, SOT or perfomance) or is better not to change it?
[Moto G Original Android Development] matmutant:
:good:

From what i've read the user asked for the apk, he/she never mentioned that the issue was with the [not] new Trebuchet layout (that won't be the first/last time someone asks for an apk that is in the zip and just need (re)flashing) ...). Glad you helped though, and btw if the issue was really the layout, then you understood more than what was actually written xD
[Moto G Original Android Development] Ann.Vogelfang:
Hahaha maybe. When i saw this new [feature] i was like: i don't like this bla bla bla. But i realised there's an option to change the layout lol that's why i've said there is no need to change the launcher but that's my opinion :)

Gesendet von meinem Moto G
[Moto G Original Android Development] DeryckNS:
Thank you [emoji106] , actually i asked for the apk because i liked the new layout.
[Moto G Original Android Development] sjandroiddeveloper:
Try any of these

Optimus kernel by [MENTION=5857055]Flashhhh[/MENTION]

Anykernel by [MENTION=4723408]hurtsky[/MENTION]

Attacked kernel by [MENTION=4359180]attack11[/MENTION]

Sent from falcon

PRESS THANKS IF HELPED?????
[Moto G Original Android Development] matmutant:
20150602 : lots of msm8226 related commits

20150602 NIGHTLY : lots of msm8226 related commits thanks to [MENTION=5778309]luca020400[/MENTION] :)

BUT, Most commits are related to the T4K71 (the Toshiba CMOS die of the front camera), this die is thea specific as far as i know so it should not impact our devices -here in the 2013 range-.

What should be for us are the following :

msm8226: config: Disable CONFIG_ANDROID_LOGGER

msm8226-common: config: update thermal config

msm8226: config: Use -O2 not -Os; Use -O2 instead of -Os for faster zram and disk performance. Penalty is about 1MB.

msm8226: config: enable incremental updates;This turns on overlayfs in the kernel so that we can use it for the incremental update mechanism. overlayfs code is already there

from previous work.
[Moto G Original Android Development] luca020400:
And new kernel [emoji106] [emoji106]

These add t4k71 commits are "old" stuff

Them are already in new kernel with other commits by moto & a few updates :)
[Moto G Original Android Development] matmutant:
Since you are talking kernel, is there any reason for the Performance settings category has been so much reduced (for ages now) that it is mostly useless on Falcon? (only per-app profiles and I/O schedulers can be set using that section)
[Moto G Original Android Development] luca020400:
Everything is handled by performance profiles , if we enable them CPU/IO settings will be hidden

And of course now are enabled ;)
[Moto G Original Android Development] ironman38102:
How's today's nightly? Has the commits made the build smoother?
[Moto G Original Android Development] luca020400:
It should :)
[Moto G Original Android Development] hurtsky:
CM actually rebase our kernel sources to latest victara kernel based which had more fixes in some memory leak in LMK, fs and more so latest nightlies surely had more improvement :D
[Moto G Original Android Development] scissorscrush:
Can anyone suggest a stable rom based on cm nightly for mako. This rom is nice and fine but it has been giving me issues lately. App hang and Google app crashing are among the issues I've been facing. I have tried flashing other roms and then flashing cm but that does not help. Google app crashes after the first 2 uses every time I freshly flash the rom.

The rom is smooth as hell, I've never seen any rom running this smooth (although I have only tried PA and liquid smooth), but what's the use of smoothness if the apps does not work?
[Moto G Original Android Development] josip-k:
Have you actually tried asking in the Mako thread?
[Moto G Original Android Development] Jevinruv:
can somebody attach the cm fm radio apk and the calendar apk

thanks in advance :)
[Moto G Original Android Development] sjandroiddeveloper:
[MENTION=5778309]luca020400[/MENTION]

Thanks to your commits I am noticing significant improvement in performance on latest nightly

Awesome
[Moto G Original Android Development] JoaoMarcos:
Hey guys, does CM 12.1 has pie controls, like Gravitybox?
[Moto G Original Android Development] t4n017:
Aren't default lmk values too high for the amount of RAM this phone has?, multi-tasking is almost non-existent and sometimes launcher redraws.

I used Kernel Adiutor to decrease the values (Medium preset) and it's a before-and-after.

With better multi-tasking the phone feels smoother and launcher redraws are gone.
[Moto G Original Android Development] Ann.Vogelfang:
Yes, indeed. I've set it on a medium too and feels so smooth now. Much much better

Gesendet von meinem Moto G
[Moto G Original Android Development] iBART:
Still no official stable? :o
[Moto G Original Android Development] tzzeri:
Any need to select 'set on boot'?

---------- Post added at 06:13 AM ---------- Previous post was at 06:06 AM ----------

It's definitely helping a lot. Multi tasking is much better instantly. Thanks
[Moto G Original Android Development] t4n017:
If you want the values to stick after reboot then yes, otherwise your custom values will be overwritten with default ones.
[Moto G Original Android Development] bogante:
I don't know why but I don't have sounds notification
[Moto G Original Android Development] ig0r260892:
could you please decypher "lmk" and point a noob where exactly(section of the config) do i change it?
[Moto G Original Android Development] OverkillSRB:
I am guessing lmk is low memory killer. Use Kernel Adiutor, as mentioned to set it to medium, and check apply on boot. You can also alter the ro.MAX_HIDDEN_APPS as i did, instead of 12 i set it to 16. This vastly improves multitasking.
[Moto G Original Android Development] bogante:
Where is max_hidden_app?
[Moto G Original Android Development] t4n017:
You have to add it to build.prop file, it can be easily done with the same app.

Just go to the Build prop Editor menu and add a property with key ro.MAX_HIDDEN_APPS and the desired value.
[Moto G Original Android Development] bogante:
Like this? (is the last one)
[Moto G Original Android Development] scissorscrush:
Yeah I did. Seems like no one looks on that thread anymore.