[Moto G Android Development] kodachrome:
Tips & Tricks

Extending Battery Life

Google Play Services:

Currently there is a bug in some versions of GPs that keeps your phone from entering deep sleep. Easy way to solve this is here…

1. Open Settings

2. Click Privacy

3. Click Privacy Guard

4. Click the 3 dots in the top right corner, and checkmark “Show built-in apps”

5. Scroll down until you find Google Play Services and hold-click on it

6. Scroll down the page, and disable “Wake up” & “Keep awake”

7. Exit

Limit CPU Speeds When Idle

For this, you have to enable Root on the phone, and install a 3rd party application. If you already have Root enabled, then skip to the app install.

Enable Root:

1. Open Settings

2. Scroll to the very bottom, and click About phone

3. Scroll to the bottom again, and click “Build number” 7 times. This will enable developer options in the Settings

4. Press back and enter the Developer options in the main Settings. It will be right above the About phone option.

5. Scroll down until you see “Root access”. Click this, and change it to “Apps only”

Install App named No-frills CPU Control from the Play Store:

1. Open the App, and grant it root privileges and check the box to Remember the setting

2. Set Min. clock freq. to something besides 1.19GHz. I personally use 300MHz - the lowest setting available

3. Check “Apply on Boot”

4. Click the 3 little dots in the top right corner of the app, and select “Settings”

5. Check “Prevent changes from other apps”

6. Press back, and press the Apply button near the bottom, and then Exit.

Fix for WhatsApp & Line voice problems

I’ve seen a few people in the thread mention that when they use these applications and use the voice calling features, the person they are speaking with cannot hear them. I have the same issue. Here is how to fix it. Easy & Medium difficult ways to do this, choose which method you prefer.

Method #1 (Easy difficulty):

This is a bit easier than method #2, but you will have to have Root enabled for this app to work and change the required file. To enable Root, look above under Limit CPU Speeds When Idle.

1. Install Kernel Auditor from the Play Store

2. Open the app, grant it root access

3. Press the hamburger menu icon (3 stacked lines)

4. Scroll down and find Build prop Editor under the Tools section of the menu.

5. Click Build prop Editor

6. Scroll through the build.prop file and find “use.voice.path.for.pcm.voip=true”

7. Change the word true to false.

8. Exit the app and reboot.

Method #2 (Medium difficulty):

This can be daunting to some people i assume, so method #1 might be easier if this makes you uncomfortable. This can be VERY dangerous… be careful when in the Systems folder with Root access. You can cause major problems.

1. Open File Manager from the app drawer

2. Open Settings by clicking the hamburger menu icon (3 stacked lines) and near the bottom is an icon that opens up the Settings menu

3. Click General Settings

4. Scroll down until you see “Access mode”

5. Click Access mode, and set it to Root Access mode

6. Close File Manager and reopen it. It will prompt for Root access, grant it.

7. Press the hamburger menu again.

8. It should now list System folder under the Bookmarks tab. Click System folder

9. Scroll to the bottom, and find a file named build.prop.

10. Click build.prop and a menu should open asking how to open it. Select Editor and press Open

11. Scroll through the build.prop file and find “use.voice.path.for.pcm.voip=true”

12. Change the word true to false.

13. Close out of everything and reboot.

Be sure to reboot the phone after setting “use.voice.path.for.pcm.voip=false”. Once rebooted, your voice apps should be working properly.

Hope this helps someone out. I personally use each of these fixes on my phone and it is running great, with a bit better battery life. Thanks to MasterAwesome for the wonderful ROM! Take care guys & gals. - kodachrome