[ROM] [UNOFFICIAL] [5.1.1_r2] Dirty Unicorns v9.3 Peregrine (Moto G 4G) - Moto G 4G Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
About Us:
Dirty Unicorns is a project that started out with no name. It was a project that was first created based off AOKP back in the early days of Jelly Bean because of curiosity. In the early days it was just a one man show on one device (EVO 3D). Since then many others have joined the project and it has grown a whole lot. We have seen a lot of talent contribute to this project of ours and many of our contributors have gone to help other projects and that is ultimately why we do what we do.
Once Jelly Bean was over, we decided in Kitkat to move to a new base which was OmniROM. While AOKP was fun, OmniROM proved to be even more exciting because it challenged us to see what we could with something different.
With Lollipop, we have moved to an AOSP base with a lot of patches from CAF to make our older devices function as they should. That said it has been an awesome learning experience and is still not over! We are still learning every day and continue to move forward.
Few more things we will say is that we don't accept nor ask for donations. We don't believe in that. Everything that is necessary to keep this project going is out of our own pocket. Gerrit, Jenkins, Websites, Devices, etc.....
We will never ask for a dime. All we do ask is that you search, read and try to enjoy the process with us!!
Kernel Source:
https://github.com/pixelfreak2005/android_kernel_motorola_msm8226
Flashing Instructions:
- Unlock the bootloader
- Verify that you're using the latest version of TWRP or CWM for Peregrine
- Perform a FULL WIPE as described below if coming from another ROM
(A full wipe is when you wipe system/data/cache/internal and/or sdcard)
- Flash the latest version of this ROM
- Flash recommended GAPPS linked below
- Reboot -> install with your settings
- Reboot and ENJOY!!
Change Log:
Code:
[B]Version 9.2 [/B]
- Translate DU-Tweaks in German Language
- delete DU-Updater (no device support this time)
- insert DarkMaterials
- Insert KernelTweaker with Performance string ([URL="https://play.google.com/store/apps/details?id=com.dsht.kerneltweaker&hl=de"] PlayStore[/URL])
- insert my default Wallpaper
- Make Navring available to devices with no navbar
- Add user configurable shortcuts
- Implement ambient display as Active Display
- Change location sensors mode in quick settings
- Show carrier label / custom and change color
- Add Left clock
- Volume rocker music controls
- Double tap to sleep on navigation bar
- Navbar ring targets
- Option to show four tiles per row
- Lots of tiles added
- Theme Chooser updates
- Upstream linux commits merged
Bug:
- a transparent wave on the screen. After a reboot everything is okay
[B]Version 9.3 [/B]
- delete KernelTweaker.. can load from PlayStore
- Update to Android 5.1.1
- Materialize DSPManager
- Fix SysUI FC for Themes with QS mods
- Change checkboxes to switches
- Remove Voice Dialer
- Fix for Play Services deep sleeping
- Fix various Theme Engine issues
- Add back notification LED settings backend
- Fix NavRing FC
- Expose values for our applications to be themed
- Hide lights settings if device doesn't support them
- Don't set preferred APN's automatically
- Fix battery and notification lights
- Various translations
- Merged upstream linux commits (3.4.107) and CAF (LA.AF.1.1_rb1.17)
- Removed Kernel related features in favor of stability
Credit and Thanks:
We would like to give thanks to everyone that contributes to the Android community, small or big because every bit counts. Although we can't list each and every contributor within the Android community, we would like to highlight some of the teams and individuals that have made it possible NOT only with just this version of DU but throughout the years because we don't ever want to forget where we came from.
That said, on behalf of the DU team we say THANKS to....
Mazda (Dirty Dev)
Josh Chasky (Dirty Dev)
walter79 (my friend for all questions)
JMZ Software
Baby Jesus
Code Aurora Forum
Omni ROM
Android Open Kang Project (AOKP)
Android Ice Cold Project (AICP)
XDA-Developers
SlimROMs
Preludedrew
Max Weninger
Team Black Out
CyanogenMod (device and kernel base)
*If we have left someone or some team out, please accept our apologies*
Download Links:
Version 9.3
beta version 1: http://d-h.st/inlm
DO NOT POST MIRRORS PLEASE!!!
push the thanks button for my work
Other Links:
G+ community - https://plus.google.com/u/0/communities/109738128866939227235
ROM Source - https://github.com/DirtyUnicorns
Device & Kernel Source - https://github.com/pixelfreak2005
Gerrit - http://gerrit.dirtyunicorns.com/
Crowdin (translations) - https://crowdin.net/project/dirtyunicorns
Jira (Bug Report / Feature Request) - http://jira.dirtyunicorns.com/

Getting Dirty! Just installed, used TB to restore my apps and now I'm configuring dirty tweaks.
Until now everything is OK, not só smooth as I expected, but will test it a lot more to give a real opnion.
Nice job, lets see how it runs...
Sent from my XT1040 using XDA Free mobile app

mrps2 said:
Getting Dirty! Just installed, used TB to restore my apps and now I'm configuring dirty tweaks.
Until now everything is OK, not só smooth as I expected, but will test it a lot more to give a real opnion.
Nice job, lets see how it runs...
Sent from my XT1040 using XDA Free mobile app
Click to expand...
Click to collapse
I have compiled the rom this weekend for my son and unfortunately can not test so much. so I have to rely on the help of the user. Many thanks for your feadback....
Pixelfreak

-pixelfreak- said:
I have compiled the rom this weekend for my son and unfortunately can not test so much. so I have to rely on the help of the user. Many thanks for your feadback....
Pixelfreak
Click to expand...
Click to collapse
No worries, I'm trying to learn by myself how to port ROMs, tried with a Pacman but when I tought everything was OK I noticed that it did nota fins the external SD card... Anyways...
I used DU with my Samsung and it was great... Yours compilation, based on todays use only, I found that:
battery is great
Having some lags now and then
Lock screen freezes for 2 secs when turning it on
The APP player pro froze and I had to reboot so it could work again
Thats it, besides that its a great ROM, keep working on it! Thanks!
Sent from my XT1040 using XDA Free mobile app

mrps2 said:
No worries, I'm trying to learn by myself how to port ROMs, tried with a Pacman but when I tought everything was OK I noticed that it did nota fins the external SD card... Anyways...
I used DU with my Samsung and it was great... Yours compilation, based on todays use only, I found that:
battery is great
Having some lags now and then
Lock screen freezes for 2 secs when turning it on
The APP player pro froze and I had to reboot so it could work again
Thats it, besides that its a great ROM, keep working on it! Thanks!
Sent from my XT1040 using XDA Free mobile app
Click to expand...
Click to collapse
you can send me a logcat from froze ? yesterday i have compiled with other kernel and this is better and no bugs with this kernel..will test more and make new upload

Hi, I never used logcat before, I just download Catlog and read a tutorial but could not understand how to get the specific error you need, sorry for my ignorance lol... if it is easy can you tell how I can get this for you?
thanks!!!
PS.: I think I got, the problemas just happened again... Hope it helps!
04-08 11:01:19.976 W/ResourceType(1022): No package identifier when getting value for resource number 0x00000000
04-08 11:01:19.976 W/PackageManager(1022): Failure retrieving resources for com.tbig.playerpro: Resource ID #0x0
04-08 11:01:20.008 I/Choreographer(1022): Skipped 47 frames! The application may be doing too much work on its main thread.
04-08 11:01:20.126 W/ResourceType(1022): No package identifier when getting value for resource number 0x00000000
04-08 11:01:20.126 W/PackageManager(1022): Failure retrieving resources for com.whatsapp: Resource ID #0x0
04-08 11:01:20.216 I/Timeline(1022): Timeline: Activity_idle id: [email protected] time:17899845
04-08 11:01:20.262 I/Timeline(805): Timeline: Activity_windows_visible id: ActivityRecord{a66abdb u0 com.android.systemui/.recents.RecentsActivity t84} time:17899891
04-08 11:01:20.674 W/ActivityManager(805): Timeout executing service: ServiceRecord{2007110c u0 com.tbig.playerpro/.MediaPlaybackService}
04-08 11:01:20.715 I/Process (805): Sending signal. PID: 20705 SIG: 3
04-08 11:01:20.715 I/art (20705): Thread[5,tid=20714,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:20.915 I/Process (805): Sending signal. PID: 805 SIG: 3
04-08 11:01:20.915 I/art (805): Thread[5,tid=813,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c02080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:20.968 I/art (20705): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:21.298 E/Sensors (805): poll() failed (Interrupted system call)
04-08 11:01:22.907 I/WifiHAL (805): Poll result = ffffffff
04-08 11:01:22.907 E/WifiHAL (805): Error polling socket
04-08 11:01:23.909 I/Process (805): Sending signal. PID: 1348 SIG: 3
04-08 11:01:23.909 I/art (1348): Thread[5,tid=1370,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:23.910 I/Process (805): Sending signal. PID: 1330 SIG: 3
04-08 11:01:23.910 I/art (1330): Thread[5,tid=1358,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:23.917 D/Sensors (805): AccelerationSensor: set delay 66
04-08 11:01:23.942 I/art (805): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:23.942 I/Process (805): Sending signal. PID: 1309 SIG: 3
04-08 11:01:23.942 I/art (1309): Thread[5,tid=1329,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:24.142 I/Process (805): Sending signal. PID: 1280 SIG: 3
04-08 11:01:24.142 I/art (1280): Thread[5,tid=1317,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:24.161 I/art (1348): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:24.162 I/Process (805): Sending signal. PID: 1272 SIG: 3
04-08 11:01:24.162 I/art (1272): Thread[5,tid=1290,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:24.199 I/art (1309): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:24.199 I/Process (805): Sending signal. PID: 1218 SIG: 3
04-08 11:01:24.199 I/art (1218): Thread[5,tid=1233,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:24.328 I/art (1280): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:24.328 I/Process (805): Sending signal. PID: 1022 SIG: 3
04-08 11:01:24.328 I/art (1022): Thread[5,tid=1034,WaitingInMainSignalCatcherLoop,Thread*=0xb060e400,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
04-08 11:01:24.330 I/art (1272): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:24.339 I/art (1218): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:24.895 I/art (1330): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:25.342 D/TelephonyIcons(1022): getDataActivity, sub=0, activity=4
04-08 11:01:25.342 I/art (1022): Wrote stack traces to '/data/anr/traces.txt'
04-08 11:01:25.345 D/TelephonyIcons(1022): updateDataType sub=0, type=13, inetCondition=1 showAtLeast3G=false show4GforLte=false hspaDistinguishable=true
04-08 11:01:25.345 D/TelephonyIcons(1022): data type item name: array/telephony_data_type_sim1
04-08 11:01:25.345 D/TelephonyIcons(1022): data type item id: 2131099652
04-08 11:01:25.345 D/TelephonyIcons(1022): updateDataType mSelectedDataTypeIcon[0]=2130837880, mSelectedDataActivityIndex=9
04-08 11:01:25.346 D/TelephonyIcons(1022): getSignalStrengthIcon: sub=0, inetCondition=1, level=1 isRoaming=false
04-08 11:01:25.346 D/TelephonyIcons(1022): signalStrengthArray.length = 9
04-08 11:01:25.346 D/TelephonyIcons(1022): selectedTypeArray.length = 2
04-08 11:01:25.346 D/TelephonyIcons(1022): inetArray.length = 5
04-08 11:01:26.693 D/TelephonyIcons(1022): updateDataType sub=0, type=13, inetCondition=1 showAtLeast3G=false show4GforLte=false hspaDistinguishable=true
04-08 11:01:26.693 D/TelephonyIcons(1022): data type item name: array/telephony_data_type_sim1
04-08 11:01:26.693 D/TelephonyIcons(1022): data type item id: 2131099652
04-08 11:01:26.694 D/TelephonyIcons(1022): updateDataType mSelectedDataTypeIcon[0]=2130837880, mSelectedDataActivityIndex=9
04-08 11:01:26.694 D/TelephonyIcons(1022): getSignalStrengthIcon: sub=0, inetCondition=1, level=1 isRoaming=false
04-08 11:01:26.694 D/TelephonyIcons(1022): signalStrengthArray.length = 9
04-08 11:01:26.694 D/TelephonyIcons(1022): selectedTypeArray.length = 2
04-08 11:01:26.695 D/TelephonyIcons(1022): inetArray.length = 5
04-08 11:01:27.268 I/art (805): Explicit concurrent mark sweep GC freed 80089(4MB) AllocSpace objects, 19(5MB) LOS objects, 33% free, 31MB/47MB, paused 2.786ms total 229.560ms
04-08 11:01:27.926 E/ActivityManager(805): ANR in com.tbig.playerpro
04-08 11:01:27.926 E/ActivityManager(805): PID: 20705
04-08 11:01:27.926 E/ActivityManager(805): Reason: Executing service com.tbig.playerpro/.MediaPlaybackService
04-08 11:01:27.926 E/ActivityManager(805): Load: 20.29 / 36.3 / 25.21
04-08 11:01:27.926 E/ActivityManager(805): CPU usage from 0ms to 7211ms later:
04-08 11:01:27.926 E/ActivityManager(805): 47% 805/system_server: 21% user + 26% kernel / faults: 7100 minor 24 major
04-08 11:01:27.926 E/ActivityManager(805): 31% 203/irq/288-wcd9xxx: 0% user + 31% kernel
04-08 11:01:27.926 E/ActivityManager(805): 13% 143/ngd_rx_thread1: 0% user + 13% kernel
04-08 11:01:27.926 E/ActivityManager(805): 12% 1022/com.android.systemui: 5.8% user + 7% kernel / faults: 2761 minor
04-08 11:01:27.926 E/ActivityManager(805): 2.4% 229/debuggerd: 0.4% user + 1.9% kernel / faults: 4167 minor
04-08 11:01:27.926 E/ActivityManager(805): 11% 1330/com.android.phone: 5.4% user + 5.6% kernel / faults: 3517 minor 4 major
04-08 11:01:27.926 E/ActivityManager(805): 1.1% 20705/com.tbig.playerpro: 0.5% user + 0.6% kernel / faults: 2271 minor 3 major
04-08 11:01:27.926 E/ActivityManager(805): 0.4% 1272/com.android.server.telecom: 0.1% user + 0.3% kernel / faults: 1093 minor
04-08 11:01:27.926 E/ActivityManager(805): 0.6% 1280/com.qualcomm.services.location: 0.3% user + 0.3% kernel / faults: 963 minor 3 major
04-08 11:01:27.926 E/ActivityManager(805): 0.4% 1348/com.bel.android.dspmanager: 0.2% user + 0.2% kernel / faults: 1023 minor 2 major
04-08 11:01:27.926 E/ActivityManager(805): 0.6% 1309/org.omnirom.omniswitch: 0.3% user + 0.3% kernel / faults: 960 minor 2 major
04-08 11:01:27.926 E/ActivityManager(805): 0.3% 1218/com.motorola.process.system: 0.3% user + 0% kernel / faults: 954 minor
04-08 11:01:27.926 E/ActivityManager(805): 1.1% 19197/com.teslacoilsw.launcher: 0.8% user + 0.2% kernel / faults: 1008 minor
04-08 11:01:27.926 E/ActivityManager(805): 1.1% 19353/com.google.android.googlequicksearchbox:search: 0.8% user + 0.2% kernel / faults: 1206 minor 8 major
04-08 11:01:27.926 E/ActivityManager(805): 0.6% 214/surfaceflinger: 0.1% user + 0.5% kernel / faults: 1 minor
04-08 11:01:27.926 E/ActivityManager(805): 0.5% 149/ueventd: 0.4% user + 0.1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.5% 3029/mpdecision: 0% user + 0.5% kernel / faults: 1 minor
04-08 11:01:27.926 E/ActivityManager(805): 0.5% 14344/kworker/0:1: 0% user + 0.5% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.4% 29102/com.google.process.location: 0.2% user + 0.1% kernel / faults: 115 minor 1 major
04-08 11:01:27.926 E/ActivityManager(805): 0.2% 68/kswapd0: 0% user + 0.2% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.2% 130/mmcqd/0: 0% user + 0.2% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.1% 3/ksoftirqd/0: 0% user + 0.1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0% 122/cfinteractive: 0% user + 0% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.1% 209/logd: 0% user + 0.1% kernel / faults: 5 minor
04-08 11:01:27.926 E/ActivityManager(805): 0% 212/servicemanager: 0% user + 0% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.1% 242/rild: 0% user + 0.1% kernel / faults: 12 minor
04-08 11:01:27.926 E/ActivityManager(805): 0.1% 371/kworker/u:10: 0% user + 0.1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.1% 544/kworker/u:2H: 0% user + 0.1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.1% 20274/kworker/u:3: 0% user + 0.1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.1% TOTAL: 0% user + 0% kernel + 0% iowait + 0% softirq
04-08 11:01:27.926 E/ActivityManager(805): CPU usage from 6594ms to 7141ms later:
04-08 11:01:27.926 E/ActivityManager(805): 38% 203/irq/288-wcd9xxx: 0% user + 38% kernel
04-08 11:01:27.926 E/ActivityManager(805): 14% 143/ngd_rx_thread1: 0% user + 14% kernel
04-08 11:01:27.926 E/ActivityManager(805): 12% 805/system_server: 6.8% user + 5.1% kernel / faults: 25 minor
04-08 11:01:27.926 E/ActivityManager(805): 8.6% 847/ActivityManager: 3.4% user + 5.1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 1.7% 817/FinalizerDaemon: 1.7% user + 0% kernel
04-08 11:01:27.926 E/ActivityManager(805): 1.7% 837/SensorService: 0% user + 1.7% kernel
04-08 11:01:27.926 E/ActivityManager(805): 1.7% 1447/Binder_D: 1.7% user + 0% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.9% 214/surfaceflinger: 0% user + 0.9% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0.9% 528/hwcVsyncThread: 0% user + 0.9% kernel
04-08 11:01:27.926 E/ActivityManager(805): 1% 3029/mpdecision: 0% user + 1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 1% 3042/mpdecision: 0% user + 1% kernel
04-08 11:01:27.926 E/ActivityManager(805): 0% TOTAL: 0% user + 0% kernel + 0% iowait
04-08 11:01:27.927 I/ActivityManager(805): Killing 20705:com.tbig.playerpro/u0a96 (adj 0): bg anr
04-08 11:01:28.008 I/WindowState(805): WIN DEATH: Window{37848a8b u0 com.tbig.playerpro/com.tbig.playerpro.folder.FolderBrowserActivity}
04-08 11:01:28.011 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
04-08 11:01:28.061 W/libprocessgroup(805): failed to open /acct/uid_10096/pid_20705/cgroup.procs: No such file or directory
04-08 11:01:28.062 W/ActivityManager(805): Scheduling restart of crashed service com.tbig.playerpro/.MediaPlaybackService in 54780ms
04-08 11:01:28.063 W/ActivityManager(805): Force removing ActivityRecord{137a8fd4 u0 com.tbig.playerpro/.folder.FolderBrowserActivity t97}: app died, no saved state
04-08 11:01:28.108 W/BroadcastQueue(805): Timeout of broadcast BroadcastRecord{2f3e2a2f u0 android.intent.action.MEDIA_BUTTON} - receiver=null, started 16161ms ago
04-08 11:01:28.108 W/BroadcastQueue(805): Receiver during timeout: ResolveInfo{1dac783c com.tbig.playerpro/.MediaButtonIntentReceiver m=0x0}
04-08 11:01:28.108 W/BroadcastQueue(805): finishReceiver [foreground] called but state is IDLE
04-08 11:01:28.135 W/OpenGLRenderer(1022): Incorrectly called buildLayer on View: ImageButton, destroying layer

i think is a resource proplem... can you delete this app and install new from playstore...
Open terminal app
Enter "su" to get root privileges
Enter "logcat -f /sdcard/logcat.txt". This will start logcat output to file /sdcard/logcat.txt
Open terminal app
Enter "su" to get root privileges
Enter "dmesg > /sdcard/dmesg.txt ". This will start dmesg output to file /sdcard/dmesg.txt
pixelfreak

5.1.1 is online
update to 5.1.1
Pixelfreak

-pixelfreak- said:
update to 5.1.1
Pixelfreak
Click to expand...
Click to collapse
Thank you very much for the ROM downloading now
Sent from my Moto G 4G LTE (XT1045) Retail US variant
ROM: SaberMod 10 (5.1.1) 4/30 build
Carrier: Cricket Wireless

upload is broken .... will upload later... the devhost sucks me

-pixelfreak- said:
upload is broken .... will upload later... the devhost sucks me
Click to expand...
Click to collapse
Yea I completely forgot to let you know that I couldn't get it to download.
Sent from my Moto G 4G LTE (XT1045) Retail US variant
ROM: SaberMod 10 (5.1.1) 4/30 build
Carrier: Cricket Wireless

-pixelfreak- said:
upload is broken .... will upload later... the devhost sucks me
Click to expand...
Click to collapse
Any luck with getting it out somewhere. I'd like to try it, but there's nowhere to get it at the moment.

re
jmcollis said:
Any luck with getting it out somewhere. I'd like to try it, but there's nowhere to get it at the moment.
Click to expand...
Click to collapse
next days...my linux is broken..must repair for new compile
pixelfreak

hello
the link for the ROM and death can you put a valid,
thank you in advance

new link
lohanbarth said:
hello
the link for the ROM and death can you put a valid,
thank you in advance
Click to expand...
Click to collapse
new upload link
pixelfreak

I was going to test this ROM, however dev-host refuses to let me download it. I'll try again later on my pc.
Sent from my Moto G 4G LTE (XT1045) Retail US variant
ROM: Currently flashing different ROMs to feed my flashing addiction.
Carrier: Cricket Wireless

Is anyone facing camera issues here? The ROM didn't have a camera on it and camera apps do not work too! Same with the flashlight.
Otherwise, this ROM is sick??

Related

WiFi problems

When I try to turn on wifi it says turning on wifi, than "connect" and than -"unable to scan for networks", sometimes with message "Application Settings (in process com-android-settings) is not responding" and disables wifi.
When I bought my used n1 the guy that sell it to me said that he's rooted it and flashed Cyanogen and wifi stoped connect. After that he flashed it with Froyo FRF50 and WiFi worked again. About week ago WiFi stopped working again. I tried to flash new radio (it was on old radio and froyo before that), several wipes, factory resets, flashing original shipping rom + kernel/boot image (not removed recovery and radio still was 4.06(?)), flashing froyo that worked before (frf50, he left it on the card, so it's the same one that worked for him), flashing frf91 - no change - wifi still not working..
I'm with Baseband ver. 32.36.00.28U_4.06.00.12_7
Kernel ver. 2.6.32.9.-27220-g328f560 android-build(a)apa26 #1
now with froyo FRF50
Please help me with that! No idea what else can I do to make it work..
some additional desperate steps -
updated to kernel 2.6.34 from Cyanogen - same problem
factory reset + wipe everything + factory rom & recovery >>> OTA update to FRF91 - still same problem..
HELP PLEASE!!!
logcat:
E/wpa_supplicant( 1152): Failed to disable WPA in the driver.
D/WifiStateTracker( 82): Reset connections and stopping DHCP
W/ActivityManager( 82): Timeout of broadcast BroadcastRecord{44c77b38 android.
net.wifi.WIFI_STATE_CHANGED} - [email protected]
W/ActivityManager( 82): Receiver during timeout: ResolveInfo{44c777d8 com.andr
oid.settings.widget.SettingsAppWidgetProvider p=0 o=0 m=0x108000}
........
E/ActivityManager( 82): Reason: Broadcast of Intent { act=android.net.wifi.WIF
I_STATE_CHANGED flg=0x10000000 cmp=com.android.settings/.widget.SettingsAppWidge
tProvider (has extras) }
E/ActivityManager( 82): Load: 1.36 / 1.23 / 1.01
E/ActivityManager( 82): CPU usage from 129545ms to 26ms ago:
E/ActivityManager( 82): system_server: 4% = 3% user + 1% kernel / faults: 21
38 minor
E/ActivityManager( 82): droid.wallpaper: 4% = 3% user + 0% kernel / faults:
3053 minor
E/ActivityManager( 82): akmd: 1% = 0% user + 1% kernel / faults: 74 minor
E/ActivityManager( 82): ndroid.settings: 0% = 0% user + 0% kernel / faults:
43 minor
E/ActivityManager( 82): m.android.phone: 0% = 0% user + 0% kernel / faults:
18 minor
E/ActivityManager( 82): events/0: 0% = 0% user + 0% kernel
E/ActivityManager( 82): e.process.gapps: 0% = 0% user + 0% kernel / faults:
104 minor
E/ActivityManager( 82): droid.launcher2: 0% = 0% user + 0% kernel / faults:
57 minor
E/ActivityManager( 82): kmmcd: 0% = 0% user + 0% kernel
E/ActivityManager( 82): viders.calendar: 0% = 0% user + 0% kernel / faults:
44 minor
E/ActivityManager( 82): oid.voicesearch: 0% = 0% user + 0% kernel / faults:
56 minor
E/ActivityManager( 82): suspend: 0% = 0% user + 0% kernel
E/ActivityManager( 82): adbd: 0% = 0% user + 0% kernel / faults: 15 minor
E/ActivityManager( 82): init: 0% = 0% user + 0% kernel / faults: 3 minor
E/ActivityManager( 82): ds2784-battery: 0% = 0% user + 0% kernel
E/ActivityManager( 82): usb_mass_storag: 0% = 0% user + 0% kernel
E/ActivityManager( 82): synaptics_wq: 0% = 0% user + 0% kernel
E/ActivityManager( 82): rild: 0% = 0% user + 0% kernel
E/ActivityManager( 82): android.vending: 0% = 0% user + 0% kernel / faults:
7 minor
E/ActivityManager( 82): equicksearchbox: 0% = 0% user + 0% kernel / faults:
8 minor
E/ActivityManager( 82): d.process.media: 0% = 0% user + 0% kernel / faults:
20 minor
E/ActivityManager( 82): ogle.android.gm: 0% = 0% user + 0% kernel / faults:
11 minor
E/ActivityManager( 82): com.android.mms: 0% = 0% user + 0% kernel / faults:
8 minor
E/ActivityManager( 82): timeinitializer: 0% = 0% user + 0% kernel / faults:
7 minor
E/ActivityManager( 82): oid.voicedialer: 0% = 0% user + 0% kernel / faults:
7 minor
E/ActivityManager( 82): com.amazon.mp3: 0% = 0% user + 0% kernel / faults: 1
4 minor
E/ActivityManager( 82): pps.googlevoice: 0% = 0% user + 0% kernel / faults:
13 minor
E/ActivityManager( 82): nie.geniewidget: 0% = 0% user + 0% kernel / faults:
14 minor
E/ActivityManager( 82): d.process.acore: 0% = 0% user + 0% kernel / faults:
11 minor
E/ActivityManager( 82): flush-31:0: 0% = 0% user + 0% kernel
E/ActivityManager( 82): +logcat: 0% = 0% user + 0% kernel
E/ActivityManager( 82): +logcat: 0% = 0% user + 0% kernel
E/ActivityManager( 82): TOTAL: 13% = 8% user + 5% kernel
D/WifiService( 82): releaseWifiLockLocked: WifiLock{NetworkLocationProvider ty
pe=2 [email protected]}
D/WifiStateTracker( 82): Disabling interface
W/ActivityManager( 82): finishReceiver called but no pending broadcasts
E/WifiHW ( 82): Supplicant not running, cannot connect
D/dalvikvm( 509): GC_EXPLICIT freed 58 objects / 2880 bytes in 71ms
W/InputManagerService( 82): Window already focused, ignoring focus gain of: co
[email protected]
E/WifiHW ( 82): Supplicant not running, cannot connect
E/WifiHW ( 82): Supplicant not running, cannot connect
V/WifiStateTracker( 82): Supplicant died unexpectedly
D/WifiStateTracker( 82): Reset connections and stopping DHCP
D/WifiStateTracker( 82): Disabling interface
D/NetworkStateTracker( 82): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
D/WifiStateTracker( 82): Reset connections and stopping DHCP
D/WifiStateTracker( 82): Disabling interface

Activity Manager "faults"?

I rooted the phone of a friend with CM6 (mt3g) and it runs terribly. FC after FC basically. My phone has the exact same setup and it runs fine. I took a logcat from his phone and noticed the section I've pasted below. Can anyone tell me what to do about these "faults" and what it means exactly? I'll post the full logcat if needed.
E/ActivityManager( 236): Load: 6.01 / 1.7 / 0.58
E/ActivityManager( 236): CPU usage from 9945ms to 1454ms ago:
E/ActivityManager( 236): fsck_msdos: 16% = 10% user + 5% kernel / faults: 5029 minor 6 major
E/ActivityManager( 236): system_server: 12% = 5% user + 7% kernel / faults: 2742 minor 138 major
E/ActivityManager( 236): d.process.acore: 10% = 5% user + 4% kernel / faults: 2616 minor 257 major
E/ActivityManager( 236): mmcqd: 9% = 0% user + 9% kernel
E/ActivityManager( 236): kswapd0: 3% = 0% user + 3% kernel
E/ActivityManager( 236): bootanimation: 1% = 1% user + 0% kernel / faults: 213 minor 1 major
E/ActivityManager( 236): m.android.phone: 1% = 0% user + 0% kernel / faults: 773 minor 15 major
E/ActivityManager( 236): ndroid.settings: 0% = 0% user + 0% kernel / faults: 223 minor 28 major
E/ActivityManager( 236): kblockd/0: 0% = 0% user + 0% kernel
E/ActivityManager( 236): putmethod.latin: 0% = 0% user + 0% kernel / faults: 306 minor 7 major
E/ActivityManager( 236): akmd: 0% = 0% user + 0% kernel / faults: 45 minor
E/ActivityManager( 236): kondemand/0: 0% = 0% user + 0% kernel
E/ActivityManager( 236): events/0: 0% = 0% user + 0% kernel
E/ActivityManager( 236): rild: 0% = 0% user + 0% kernel / faults: 43 minor 20 major
E/ActivityManager( 236): bluetoothd: 0% = 0% user + 0% kernel / faults: 15 minor 21 major
E/ActivityManager( 236): tiwlan_wifi_wq: 0% = 0% user + 0% kernel
E/ActivityManager( 236): wpa_supplicant: 0% = 0% user + 0% kernel / faults: 90 minor 5 major
E/ActivityManager( 236): TOTAL: 100% = 23% user + 31% kernel + 45% iowait

[Q] Force Close while enabling Wi-Fi, searched, have logcat

I found this thread while searching, which is very similar to my issue, but his resolution seems strange, imo.
If you go into Wifi Settings, check to enable Wifi, it looks like it enables, shows scanning, then FC, and it goes back to wireless Settings and Wifi turns back off. When i bought it, it had Amon's recovery, v1.7 iirc, and was running stock FRF91. Whenever tmo pushed FRG83 OTA, it would reboot, but into Amon's recovery, fail to update, and boot back into FRF91. I used universal androot to root and all seemed well, just wifi wouldn't work. I assumed it was a borked restore on previous owner's part, something to do with the kernel and/or drivers.
I finally decided to do a full unroot (stock rom, stock recovery, etc), so I downloaded FRF91 PASSIMG.zip. It wouldn't flash it from the bootloader (wouldn't detect it, and scrolls to fast for me to see), so I extracted each and fastboot flashed all (boot, recovery, system,userdata). Booted up, wifi worked, then OTA upgrade to 2.2.1 (FRG83D?). Since universal androot doesn't work on that, and I didn't feel like searching unrevoked, I just loaded Amon's 2.0 recovery back and loaded a different ROM. Fail on my part here is I didn't test wifi while on 2.2.1 before rerooting & installing Amon's recovery. I updated the radio to 5.08 from 4.06.00.12_7.
I tried LeoFroyo and the app drawer was sluggish, so I switched to This ROM and yesterday Wifi worked fine. Did a full wipe, flashed that ROM, then the black bar add on. I was at one of my work locations with 5+ APs and it detected all of them. When I got home, did a NAND backup, flashed the wifi calling add on, and no more wifi. Restored the NAND backup, still no wifi. I now updated the radio to 5.12.00.08, but still no wifi. I'm at a different work location, but same physical infrastructure (APs, SSIDs, security, etc), no wifi. If I enable wifi either by the check box in wireless settings or the power control widget, it just turns back off. I get the FC if I go into WiFi Setting, then enable it there.
I can enable wifi tethering, it broadcasts fine and I can connect to it. I changed the SSID as well as the PSK, the changes worked. Rebooted the phone, still no wifi. Bluetooth also works fine, as does the 3.5mm jack. GPS works, but seems lacking. In my house, it'll never lock. On my back porch (no patio cover) it'll pick up 2 sats in yellow (gps status). Driving, it'll pick up 4 or 5 locked sats with a small green bar. My mt3g locks in my bedroom with 7+ sats. So far, only the wifi is not working, and the GPS is simply slow/weak. I bought the phone on CL Saturday, so I'm starting to wonder if this is why it was for sale.
Here's the logcat from when I try to enable wifi:
Code:
D/Tethering( 90): eth0 is not a tetherable iface, ignoring
D/WifiService( 90): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService( 90): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/LocationMasfClient( 90): getNetworkLocation(): Returning cache location with accuracy 1811.0
E/wpa_supplicant( 859): Failed to initialize control interface 'tiwlan0'.
E/wpa_supplicant( 859): You may have another wpa_supplicant process already running or the file was
E/wpa_supplicant( 859): left by an unclean termination of wpa_supplicant in which case you will need
E/wpa_supplicant( 859): to manually remove this file before starting wpa_supplicant again.
I/wpa_supplicant( 859): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
D/WifiStateTracker( 90): Reset connections and stopping DHCP
W/ActivityManager( 90): Timeout of broadcast BroadcastRecord{46324ef0 android.net.wifi.WIFI_STATE_CHANGED} - [email protected]
W/ActivityManager( 90): Receiver during timeout: ResolveInfo{46503498 com.android.settings.widget.SettingsAppWidgetProvider p=0 o=0 m=0x108000}
I/Process ( 90): Sending signal. PID: 837 SIG: 3
I/dalvikvm( 837): threadid=3: reacting to signal 3
I/dalvikvm( 837): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 90 SIG: 3
I/dalvikvm( 90): threadid=3: reacting to signal 3
I/dalvikvm( 90): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 163 SIG: 3
I/dalvikvm( 163): threadid=3: reacting to signal 3
I/dalvikvm( 163): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 168 SIG: 3
I/dalvikvm( 168): threadid=3: reacting to signal 3
I/dalvikvm( 168): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 820 SIG: 3
I/dalvikvm( 820): threadid=3: reacting to signal 3
I/dalvikvm( 820): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 692 SIG: 3
I/dalvikvm( 692): threadid=3: reacting to signal 3
I/dalvikvm( 692): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 722 SIG: 3
I/dalvikvm( 722): threadid=3: reacting to signal 3
I/dalvikvm( 722): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 711 SIG: 3
I/dalvikvm( 711): threadid=3: reacting to signal 3
I/dalvikvm( 711): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 636 SIG: 3
I/dalvikvm( 636): threadid=3: reacting to signal 3
I/dalvikvm( 636): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 655 SIG: 3
I/dalvikvm( 655): threadid=3: reacting to signal 3
I/dalvikvm( 655): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 599 SIG: 3
I/dalvikvm( 599): threadid=3: reacting to signal 3
I/dalvikvm( 599): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 626 SIG: 3
I/dalvikvm( 626): threadid=3: reacting to signal 3
I/dalvikvm( 626): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 703 SIG: 3
I/dalvikvm( 703): threadid=3: reacting to signal 3
I/dalvikvm( 703): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 454 SIG: 3
I/dalvikvm( 454): threadid=3: reacting to signal 3
I/dalvikvm( 454): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 255 SIG: 3
I/dalvikvm( 255): threadid=3: reacting to signal 3
I/dalvikvm( 255): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 775 SIG: 3
I/dalvikvm( 775): threadid=3: reacting to signal 3
I/dalvikvm( 775): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 766 SIG: 3
I/dalvikvm( 766): threadid=3: reacting to signal 3
I/dalvikvm( 766): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 782 SIG: 3
I/dalvikvm( 782): threadid=3: reacting to signal 3
I/dalvikvm( 782): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 753 SIG: 3
I/dalvikvm( 753): threadid=3: reacting to signal 3
I/dalvikvm( 753): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 378 SIG: 3
I/dalvikvm( 378): threadid=3: reacting to signal 3
I/dalvikvm( 378): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 645 SIG: 3
I/dalvikvm( 645): threadid=3: reacting to signal 3
I/dalvikvm( 645): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 675 SIG: 3
I/dalvikvm( 675): threadid=3: reacting to signal 3
I/dalvikvm( 675): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 175 SIG: 3
I/dalvikvm( 175): threadid=3: reacting to signal 3
I/dalvikvm( 175): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 90): Sending signal. PID: 589 SIG: 3
I/dalvikvm( 589): threadid=3: reacting to signal 3
I/dalvikvm( 589): Wrote stack traces to '/data/anr/traces.txt'
E/ActivityManager( 90): ANR in com.android.settings
E/ActivityManager( 90): Reason: Broadcast of Intent { act=android.net.wifi.WIFI_STATE_CHANGED flg=0x10000000 cmp=com.android.settings/.widget.SettingsAppWidgetProvider (has extras) }
E/ActivityManager( 90): Load: 1.52 / 1.47 / 0.96
E/ActivityManager( 90): CPU usage from 85667ms to 51ms ago:
E/ActivityManager( 90): system_server: 4% = 2% user + 1% kernel / faults: 2647 minor 5 major
E/ActivityManager( 90): akmd: 2% = 0% user + 2% kernel
E/ActivityManager( 90): e.process.gapps: 0% = 0% user + 0% kernel / faults: 61 minor
E/ActivityManager( 90): events/0: 0% = 0% user + 0% kernel
E/ActivityManager( 90): ail.application: 0% = 0% user + 0% kernel / faults: 407 minor
E/ActivityManager( 90): m.android.phone: 0% = 0% user + 0% kernel / faults: 19 minor
E/ActivityManager( 90): d.process.acore: 0% = 0% user + 0% kernel / faults: 54 minor
E/ActivityManager( 90): kmmcd: 0% = 0% user + 0% kernel
E/ActivityManager( 90): ogle.android.gm: 0% = 0% user + 0% kernel / faults: 90 minor
E/ActivityManager( 90): y.mobile:remote: 0% = 0% user + 0% kernel / faults: 82 minor 1 major
E/ActivityManager( 90): oid.voicesearch: 0% = 0% user + 0% kernel / faults: 429 minor
E/ActivityManager( 90): ocs.android: 0% = 0% user + 0% kernel / faults: 396 minor
E/ActivityManager( 90): d.apps.uploader: 0% = 0% user + 0% kernel / faults: 42 minor
E/ActivityManager( 90): d.process.media: 0% = 0% user + 0% kernel / faults: 20 minor
E/ActivityManager( 90): adbd: 0% = 0% user + 0% kernel / faults: 10 minor
E/ActivityManager( 90): ndroid.launcher: 0% = 0% user + 0% kernel / faults: 11 minor
E/ActivityManager( 90): putmethod.latin: 0% = 0% user + 0% kernel / faults: 11 minor
E/ActivityManager( 90): .oneClickWidget: 0% = 0% user + 0% kernel / faults: 147 minor
E/ActivityManager( 90): init: 0% = 0% user + 0% kernel / faults: 7 minor
E/ActivityManager( 90): rpcrouter: 0% = 0% user + 0% kernel
E/ActivityManager( 90): synaptics_wq: 0% = 0% user + 0% kernel
E/ActivityManager( 90): viders.calendar: 0% = 0% user + 0% kernel / faults: 10 minor
E/ActivityManager( 90): droid.gallery3d: 0% = 0% user + 0% kernel / faults: 9 minor
E/ActivityManager( 90): equicksearchbox: 0% = 0% user + 0% kernel / faults: 42 minor 1 major
E/ActivityManager( 90): com.android.mms: 0% = 0% user + 0% kernel / faults: 31 minor 1 major
E/ActivityManager( 90): pps.googlevoice: 0% = 0% user + 0% kernel / faults: 17 minor
E/ActivityManager( 90): pper.gpstracker: 0% = 0% user + 0% kernel / faults: 32 minor
E/ActivityManager( 90): +ndroid.settings: 0% = 0% user + 0% kernel
E/ActivityManager( 90): +logcat: 0% = 0% user + 0% kernel
E/ActivityManager( 90): +iscan_sysioc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): +dhcp_sysioc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): +dhd_watchdog: 0% = 0% user + 0% kernel
E/ActivityManager( 90): +dhd_dpc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): +dhd_sysioc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): -ndroid.settings: 0% = 0% user + 0% kernel
E/ActivityManager( 90): -logcat: 0% = 0% user + 0% kernel
E/ActivityManager( 90): -iscan_sysioc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): -dhcp_sysioc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): -dhd_watchdog: 0% = 0% user + 0% kernel
E/ActivityManager( 90): -dhd_dpc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): -dhd_sysioc: 0% = 0% user + 0% kernel
E/ActivityManager( 90): TOTAL: 10% = 5% user + 4% kernel
D/dalvikvm( 90): GC_FOR_MALLOC freed 9322 objects / 1199272 bytes in 86ms
D/dalvikvm( 90): GC_FOR_MALLOC freed 1711 objects / 250416 bytes in 69ms
I/dalvikvm-heap( 90): Grow heap (frag case) to 8.611MB for 166544-byte allocation
D/dalvikvm( 90): GC_FOR_MALLOC freed 41 objects / 1728 bytes in 80ms
D/WifiService( 90): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/dalvikvm( 90): GC_FOR_MALLOC freed 51 objects / 460168 bytes in 74ms
D/WifiStateTracker( 90): Disabling interface
W/ActivityManager( 90): finishReceiver called but no pending broadcasts
E/WifiHW ( 90): Supplicant not running, cannot connect
D/dalvikvm( 599): GC_EXPLICIT freed 2207 objects / 172144 bytes in 59ms
D/NativeCrypto( 599): Freeing OpenSSL session
W/ActivityManager( 90): Force finishing activity com.android.settings/.wifi.WifiSettings
I/Process ( 90): Sending signal. PID: 837 SIG: 9
I/ActivityManager( 90): Killing com.android.settings (pid=837): user's request
I/ActivityManager( 90): Process com.android.settings (pid 837) has died.
I/WindowManager( 90): WIN DEATH: Window{46298bd8 com.android.settings/com.android.settings.WirelessSettings paused=false}
I/WindowManager( 90): WIN DEATH: Window{462b1330 com.android.settings/com.android.settings.wifi.WifiSettings paused=true}
I/ActivityManager( 90): Start proc com.android.settings for activity com.android.settings/.WirelessSettings: pid=864 uid=1000 gids={3003, 3002, 3001}
W/InputManagerService( 90): Got RemoteException sending setActive(false) notification to pid 837 uid 1000
I/ActivityManager( 90): Displayed activity com.android.settings/.WirelessSettings: 278 ms (total 278 ms)
E/WifiHW ( 90): Supplicant not running, cannot connect
D/dalvikvm( 820): GC_EXPLICIT freed 943 objects / 53504 bytes in 63ms
E/WifiHW ( 90): Supplicant not running, cannot connect
V/WifiStateTracker( 90): Supplicant died unexpectedly
D/WifiStateTracker( 90): Reset connections and stopping DHCP
D/WifiStateTracker( 90): Disabling interface
D/NetworkStateTracker( 90): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/WifiStateTracker( 90): Reset connections and stopping DHCP
D/WifiStateTracker( 90): Disabling interface
E/Tethering( 90): attempting to remove unknown iface (eth0), ignoring
D/LocationMasfClient( 90): getNetworkLocation(): Returning cache location with accuracy 1811.0
I know it's kind of long, but just trying to provide as much info as possible. I have the traces.txt file, too large to attach, but I dunno what any of it is.
Got it fixed!
Okay, so got it figured out.
After a fresh install, wifi works fine. Then, I'd run Titanium Backup and restore a bunch of stuff, including the Titanium part for the wifi APs and such. A lot of the settings wouldn't take precedence until AFTER a reboot. It's at this point WIFI would fail.
I took a nand backup, full wipe, then re-setup the phone and all good. Flashed the wifi calling add-on and still have wifi.
Also, since google restored the settings, it had the AP's saved anyway, so no need to restore that through Titanium. I rebooted a few times, turned wifi on & off, installed Mobile Defense, which required a reboot, too. In testing, I did find that speeds on the N1's 3G are decent. The upload is almost double that of my RoadRunner.
I still have carpy GPS lock/reception, though.
Hope this helps anyone else who has the problem I had.

[Q] Device freezes up for ~20s on application crash

My Note freezes up whenever an application crashes, for about 20s. Here's some logcat output for when this happens:
Code:
<app crashes here>
E/AndroidRuntime(24971): ... 11 more
W/ActivityManager( 1864): Force finishing activity r.intent.getComponent().flattenToShortString()
D/OpenGLRenderer(22653): Flushing caches (mode 2)
I/ClipboardServiceEx( 1864): mCBPickerDialog enter case. MSG_DISMISS_DIALOG
D/OpenGLRenderer(22653): Flushing caches (mode 0)
E/android.os.Debug( 1864): [email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
I/dumpstate(24985): Check if stand-alone
I/dumpstate(24985): begin
I/SurfaceFlinger( 1699): id=6398 Removed idx=0 Map Size=4
I/SurfaceFlinger( 1699): id=6398 Removed idx=-2 Map Size=4
W/ActivityManager( 1864): Activity pause timeout for r
E/lights ( 1864): write_int: path /sys/devices/virtual/sec/sec_touchkey/brightness, value 2
W/PowerManagerService( 1864): Timer 0x7->0x3|0x0
I/PowerManagerService( 1864): Ulight 7->3|0
D/PowerManagerService( 1864): setLightBrightness : mButtonLight : 0
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
V/ThermistorObserver( 1864): mThermistorState =0, Thermistor temperature: 330
E/AlarmManagerService( 1864): android_server_AlarmManagerService_set to type=1, 1339768800.000000000
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
I/InputReader( 1864): Touch event's action is 0x0 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=0.9138 ]
E/lights ( 1864): write_int: path /sys/devices/virtual/sec/sec_touchkey/brightness, value 1
I/PowerManagerService( 1864): Ulight 3->7|0
D/PowerManagerService( 1864): setLightBrightness : mButtonLight : 130
D/PowerManagerService( 1864): lightSensorChangedLocked 260
D/PowerManagerService( 1864): lcdValue 130
D/PowerManagerService( 1864): buttonValue 0
D/PowerManagerService( 1864): keyboardValue 0
D/PowerManagerService( 1864): lightSensorChangedLocked : mKeyboardLight : 0
I/InputReader( 1864): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=]
I/InputReader( 1864): Touch event's action is 0x0 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=0.9139 ]
I/InputReader( 1864): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=]
D/DEFERED_APP_VISIBILITY( 1864): tweaking closing app
W/PowerManagerService( 1864): Timer 0x7->0x3|0x0
E/lights ( 1864): write_int: path /sys/devices/virtual/sec/sec_touchkey/brightness, value 2
I/PowerManagerService( 1864): Ulight 7->3|0
D/PowerManagerService( 1864): setLightBrightness : mButtonLight : 0
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
D/VoldCmdListener( 1692): asec list
D/VoldCmdListener( 1692): CommandListener::AsecCmd::runCommand -> --
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
W/WifiStateTracker( 1864): getNetworkInfo : NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
D/PowerManagerService( 1864): lightSensorChangedLocked 263
D/PowerManagerService( 1864): lcdValue 130
D/PowerManagerService( 1864): buttonValue 0
D/PowerManagerService( 1864): keyboardValue 0
D/PowerManagerService( 1864): lightSensorChangedLocked : mKeyboardLight : 0
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
E/Watchdog( 1864): [email protected] 10815
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
I/InputDispatcher( 1864): Application is not responding: AppWindowToken{42893f90 token=Token{425f35c0 ActivityRecord{41998280 com.gau.go.launcherex/com.jiubang.ggheart.apps.desks.diy.GoLauncher}}}. 20019.5ms since event, 20018.6ms since wait started
I/InputDispatcher( 1864): [JUST INFO] cannot print log on outbound queue because current's inputChannel is null
I/WindowManager( 1864): Input event dispatching timed out sending to application AppWindowToken{42893f90 token=Token{425f35c0 ActivityRecord{41998280 com.gau.go.launcherex/com.jiubang.ggheart.apps.desks.diy.GoLauncher}}}
D/PowerManagerService( 1864): lightSensorChangedLocked 264
D/PowerManagerService( 1864): lcdValue 130
D/PowerManagerService( 1864): buttonValue 0
D/PowerManagerService( 1864): keyboardValue 0
D/PowerManagerService( 1864): lightSensorChangedLocked : mKeyboardLight : 0
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
I/dumpstate(24985): done
I/SurfaceFlinger( 1699): id=6401(10) createSurface 0x409d4 (800x1280),1 flag=400
V/WindowManager( 1864): rotationForOrientationLw(orient=1, last=0); user=0 mLidOpen=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=1 sensorRotation=-1
D/BatteryService( 1864): update start
D/BatteryService( 1864): level:100 scale:100 status:2 health:2 present:true voltage: 4200 temperature: 330 technology: Li-ion AC powered:false USB powered:true icon:17302836 invalid charger:0
I/power ( 1864): *** release_dvfs_lock : lockType : 1
D/PowerManagerService( 1864): releaseDVFSLockLocked : all DVFS_MIN_LIMIT are released
W/ActivityManager( 1864): mDVFSLock.release()
I/Process ( 1864): Sending signal. PID: 22653 SIG: 3
I/dalvikvm(22653): threadid=3: reacting to signal 3
I/SurfaceFlinger( 1699): id=6402(1001) createSurface 0x4992c (1x1),1 flag=0
I/dalvikvm(22653): Wrote stack traces to '/data/anr/traces.txt'
W/ActivityManager( 1864): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 1864): Activity idle timeout for r
I/Process ( 1864): Sending signal. PID: 1864 SIG: 3
I/dalvikvm( 1864): threadid=3: reacting to signal 3
D/STATUSBAR-BatteryController( 1995): onReceive() - ACTION_BATTERY_CHANGED
D/STATUSBAR-BatteryController( 1995): onReceive() - level:100
D/STATUSBAR-BatteryController( 1995): onReceive() - plugged:2
D/STATUSBAR-BatteryController( 1995): onReceive() - BATTERY_STATUS_CHARGING:
D/KeyguardUpdateMonitor( 1864): received broadcast android.intent.action.BATTERY_CHANGED
D/KeyguardUpdateMonitor( 1864): handleBatteryUpdate
D/WifiService( 1864): ACTION_BATTERY_CHANGED pluggedType: 2
D/UiModeManager( 1864): mLastBroadcastState = 0mCarModeEnabled = falseisDeskDockState(mDockState) = false
V/UiModeManager( 1864): updateLocked: null action, mDockState=0, firing homeIntent: null
D/UiModeManager( 1864): updateConfigurationLocked: mDockState=0; mCarMode=false; mNightMode=0; uiMode=17
I/dalvikvm( 1864): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1864): Sending signal. PID: 1995 SIG: 3
I/dalvikvm( 1995): threadid=3: reacting to signal 3
I/dalvikvm( 1995): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1864): Sending signal. PID: 2144 SIG: 3
I/dalvikvm( 2144): threadid=3: reacting to signal 3
I/dalvikvm( 2144): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 1864): GC_CONCURRENT freed 903K, 37% free 28953K/45767K, paused 3ms+10ms
D/dalvikvm( 1864): JIT code cache reset in 4 ms (1048452 bytes 179/0)
D/dalvikvm( 1864): GC_EXPLICIT freed 1138K, 36% free 29363K/45767K, paused 3ms+11ms
E/AlarmManagerService( 1864): android_server_AlarmManagerService_set to type=1, 1339719586.394000000
W/ResourceType( 1864): Skipping entry 0x7f040021 in package table 0 because it is not complex!
E/DataRouter( 1697): usb connection is true
E/DataRouter( 1697): DSR is ON. Don't send DTR ON.
I/InputDispatcher( 1864): Delivering touch to current input target: action: 0
E/ActivityManager( 1864): ANR in android.process.acore (com.gau.go.launcherex/com.jiubang.ggheart.apps.desks.diy.GoLauncher)
E/ActivityManager( 1864): Reason: keyDispatchingTimedOut
E/ActivityManager( 1864): Load: 0.53 / 0.51 / 0.4
E/ActivityManager( 1864): CPU usage from 31698ms to 0ms ago:
E/ActivityManager( 1864): 2.3% 1864/system_server: 1.7% user + 0.5% kernel / faults: 1778 minor 3 major
E/ActivityManager( 1864): 1.8% 22653/android.process.acore: 1.7% user + 0.1% kernel / faults: 145 minor 1 major
E/ActivityManager( 1864): 1.3% 24959/logcat: 0.6% user + 0.6% kernel
E/ActivityManager( 1864): 0.6% 1711/adbd: 0.1% user + 0.5% kernel / faults: 4 minor
E/ActivityManager( 1864): 0.4% 1699/surfaceflinger: 0.2% user + 0.1% kernel / faults: 186 minor
E/ActivityManager( 1864): 0.4% 23081/kworker/0:3: 0% user + 0.4% kernel
E/ActivityManager( 1864): 0.2% 3645/com.vlingo.client.samsung: 0.1% user + 0% kernel / faults: 10 minor
E/ActivityManager( 1864): 0.2% 910/mmcqd/0: 0% user + 0.2% kernel
E/ActivityManager( 1864): 0% 1692/vold: 0% user + 0% kernel / faults: 21 minor
E/ActivityManager( 1864): 0% 23943/logcat: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 1703/gpsd: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 1995/com.android.systemui: 0% user + 0% kernel / faults: 9 minor
E/ActivityManager( 1864): 0% 17118/kworker/u:3: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 22271/kworker/u:1: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 2/kthreadd: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 816/irq/356-mxt540e: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 1686/jbd2/mmcblk0p10: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 1697/drexe: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 1700/zygote: 0% user + 0% kernel / faults: 51 minor
E/ActivityManager( 1864): 0% 1991/dhd_dpc: 0% user + 0% kernel
E/ActivityManager( 1864): 0% 2041/wpa_supplicant: 0% user + 0% kernel / faults: 3 minor
E/ActivityManager( 1864): 0% 2121/com.swype.android.inputmethod: 0% user + 0% kernel / faults: 113 minor
E/ActivityManager( 1864): 0% 2144/com.android.phone: 0% user + 0% kernel
E/ActivityManager( 1864): +0% 24971/net.whatsbeef.animationtest: 0% user + 0% kernel
E/ActivityManager( 1864): 14% TOTAL: 7.7% user + 6.2% kernel + 0.3% iowait + 0% softirq
E/ActivityManager( 1864): CPU usage from 669ms to 1192ms later:
E/ActivityManager( 1864): 37% 1864/system_server: 26% user + 10% kernel / faults: 525 minor
E/ActivityManager( 1864): 10% 1920/WindowManager: 10% user + 0% kernel
E/ActivityManager( 1864): 10% 1925/InputDispatcher: 1.7% user + 8.9% kernel
E/ActivityManager( 1864): 8.9% 1869/Compiler: 8.9% user + 0% kernel
E/ActivityManager( 1864): 3.5% 1902/ActivityManager: 3.5% user + 0% kernel
E/ActivityManager( 1864): 1.7% 1874/Binder Thread #: 0% user + 1.7% kernel
E/ActivityManager( 1864): 1.7% 2133/Binder Thread #: 1.7% user + 0% kernel
E/ActivityManager( 1864): 1.7% 2697/Binder Thread #: 1.7% user + 0% kernel
E/ActivityManager( 1864): 1.7% 5150/er$SensorThread: 1.7% user + 0% kernel
E/ActivityManager( 1864): 18% 22653/android.process.acore: 18% user + 0% kernel / faults: 121 minor
E/ActivityManager( 1864): 10% 22653/d.process.acore: 10% user + 0% kernel
E/ActivityManager( 1864): 6.6% 22768/XAEngine_ticker: 6.6% user + 0% kernel
E/ActivityManager( 1864): 1.6% 22677/d.process.acore: 1.6% user + 0% kernel
E/ActivityManager( 1864): 10% 1699/surfaceflinger: 4% user + 6.1% kernel
E/ActivityManager( 1864): 5.1% 1809/SurfaceFlinger: 4% user + 1% kernel
E/ActivityManager( 1864): 2% 7474/Binder Thread #: 0% user + 2% kernel
E/ActivityManager( 1864): 1% 1820/SurfaceFlinger: 0% user + 1% kernel
E/ActivityManager( 1864): 1% 1835/Binder Thread #: 0% user + 1% kernel
E/ActivityManager( 1864): 1% 7661/Binder Thread #: 0% user + 1% kernel
E/ActivityManager( 1864): 1.1% 17118/kworker/u:3: 0% user + 1.1% kernel
E/ActivityManager( 1864): +0% 25233/kworker/1:1: 0% user + 0% kernel
E/ActivityManager( 1864): 41% TOTAL: 31% user + 10% kernel
I/InputDispatcher( 1864): Delivering touch to current input target: action: 0
I/InputDispatcher( 1864): Delivering touch to current input target: action: 0
W/SIP ( 2121): IInputMethodWrapper. mCaller.executeOrSendMessage(MSG_UPDATE_WACOM_STATE)
W/SIP ( 2121): IInputMethodWrapper. inputMethod.updateWacomState(msg.arg1). arg1 =0
E/android.os.Debug( 1864): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_anr
I/dumpstate(25235): Check if stand-alone
I/dumpstate(25235): begin
D/PowerManagerService( 1864): lightSensorChangedLocked 284
D/PowerManagerService( 1864): lcdValue 130
D/PowerManagerService( 1864): buttonValue 0
D/PowerManagerService( 1864): keyboardValue 0
D/PowerManagerService( 1864): lightSensorChangedLocked : mKeyboardLight : 0
I've got GO Launcher as the launcher here, which apparently did the ANR, but exactly the same thing happens with the stock twlauncher. I don't think the launcher is at fault here, but I don't really know. This is extremely frustrating when developing apps, obviously. Does anyone else get this behaviour? I'm on XXLPY, no root, never rooted, only stock roms. Any help?

Nexus 7 remaining awake

I am seeing similar behavior on my Nexus 7 as I did on my other tablet: http://forum.xda-developers.com/showthread.php?t=2155609
Would it be fair to conclude that a recent Google component update (Maps? Gmail?) is causing this tablet to remain awake?
Maybe. Maybe not.
Could be one of your market apps too.
Seem like you need to discover what is holding the wake locks.
Here's a start (if you are rooted)
Code:
$ su
# strings /data/system/packages.xml | awk '/<package name=/{n=$2;}/WAKE_LOCK/{print n;}'
wouldn't it be a kick in the pants if you found out it was the battery monitoring apps
good luck
I have su, but no awk or strings. Where did you get those linux utilities? I've been wanting a full set of those.
I'll copy packages.xml to my Linux box and try it out.
Thanks.
Using the CT702 tablet -
How does this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
correlate with this (output from your script):
name="com.kiloo.subwaysurf"
name="com.snrblabs.grooveip"
name="com.amazon.venezia"
name="com.skype.raider"
name="com.keramidas.TitaniumBackup"
name="com.kiwi.shipwrecked"
name="com.dropbox.android"
name="com.estrongs.android.taskmanager"
name="com.google.android.apps. genie.geniewidget"
name="com.netflix.mediaclient"
name="com.google.android.gm"
name="com.estrongs.android.pop"
name="com.metago.astro"
name="jp.co.johospace.jorte"
name="com.lsdroid.cerberus"
name="com.google.android.apps.googlevoice"
name="com.android.phasebeam"
name="com.android.phasebeam"
name="com.android.phasebeam"
name="com.android.phasebeam"
name="com.android.phasebeam"
name="com.android.phasebeam"
name="com.android.phasebeam"
name="com.android.phasebeam"
my phone too used to stay awake when i wasnt using it the solution being get a task manager and killl all unused apps also gps when not in use
I guess my original point was that you'll find both system and market apps that hold wake locks. (BTW your web browser should be able to display that packages.xml file if you want to have a look in it)
Well, I don't know for sure, but that image you attached sure seems to implicate Maps.
The thing is - and it's one of the things that sort of sucks about android - is that it is difficult to filter broadcast receivers. So, apps can spring back to life even if you've manually killed them if a separate app generates a matching broadcast that the former has registered for.
Some market apps are greedy in this regard - they register for all sorts of broadcasts so an appearance is maintained that they open quickly - on the off chance that a user will be sharing data between the app currently in use and that (other market) app.
In prior versions of Android, lots of apps - both system and market apps - would register as broadcast receivers for certain events produced by the stock email app. If you browsed the inbox, no problem... but as soon as you open an individual email, a whole slew of apps would get launched in the background.
Anyway - and this is a hypothesis - even if Maps is preventing sleep by holding wake locks, it could be a different app that is causing it to spring to life - or even a rather obscure startup cycle that depends on both market apps and/or system apps before Maps finally gets restarted.
If you manually kill off Maps and then shut the screen off, and then come back some time later and find Maps running again, you should be able to observe the event that restarts Maps in the logcat output.
good luck
---------- Post added at 10:58 PM ---------- Previous post was at 10:45 PM ----------
Nate2 said:
I have su, but no awk or strings. Where did you get those linux utilities? I've been wanting a full set of those.
I'll copy packages.xml to my Linux box and try it out.
Thanks.
Click to expand...
Click to collapse
Whoop - sorry. I was using BTEP (Better Terminal Emulator Pro) which comes with it's own private busybox (not installed in /system)
You could also install a busybox flash, but I would recommend you use one that doesn't touch /system/bin or /system/xbin. (I think at least on of the market versions might refer to this as a "safe install") I'm not familiar with them, so I can't recommend a particular version.
Right you are, sir!
I stopped Maps at 19:36, and exactly 1 hour later at 20:36, it re-started itself:
02-23 19:36:57.740 1121 1133 I ActivityManager: Killing proc 5340:com.google.android.apps.maps/10070: kill background
...
02-23 20:36:22.210 1121 1152 I ActivityManager: Start proc com.google.android.apps.maps for service com.google.android.apps.maps/com.google.googlenav.prefetch.android.PrefetcherService: pid=6033 uid=10070 gids={3003, 1015}
I can't find what app (if any) might have caused that. pid=6033 looks all Maps-related, not 3rd party.
Not sure myself either.
That logcat message looks a little different than an intent sent from a different app.
I suppose you have some more digging to do.
Sorry I'm not more help - my N7 rarely leaves the house, so if it's not in use it is on the charger. The consequence of that is that I have no idea whether it fails to sleep or not; I certainly wouldn't know from looking at the battery charge state/history anyway.
Don't know how helpful this is, but if the N7 does go into deep sleep, you will see messages in the kernel log (dmesg or /proc/kmsg) about entering the LP0 state.
Tedious to correlate those messages with logcat though - I think those messages are reported in seconds since boot rather than GMT or local time ... and worse yet that timestamp seem to get screwed up by LP0 sleep. (LP0 is a very deep sleep - the SoC is very nearly off completely - even the memory controller is turned off)
good luck
have you tried using better battery stats from this thread? It's a great app, and is also available on the play store if you want to donate to the dev.
just let it run for a while and post screenshots of kernel wakelocks, partial wakelocks, and alarms
Trying the XDA version now...
I think I've identified the problem on the CT702 tablet now; the problem on the Nexus 7 is still under investigation (not the same problem).
CT702 is not always awake now:
Google Maps is still the problem:
Better Battery Stats identifies Maps components responsible?
I've turned off these options in Google Maps to enable the tablet to sleep better:
Hopefully, the above will help someone. My Nexus 7 is being kept awake by SystemUpdateService.
More to follow..
Nate2 said:
I think I've identified the problem on the CT702 tablet now; the problem on the Nexus 7 is still under investigation (not the same problem).
CT702 is not always awake now:
View attachment 1762570
Google Maps is still the problem:
View attachment 1762572
Better Battery Stats identifies Maps components responsible?
View attachment 1762575
I've turned off these options in Google Maps to enable the tablet to sleep better:
View attachment 1762577
Hopefully, the above will help someone. My Nexus 7 is being kept awake by SystemUpdateService.
More to follow..
Click to expand...
Click to collapse
2 minutes of wakelocks over 23 hours isn't much. are there kernel wakelocks? the alarms don't seem to be too much either..
CT702:
===================
General Information
===================
BetterBatteryStats version: 1.12.0.0RC11
Creation Date: 2013-02-25 08:11:40
Statistic Type: Boot to Current
Since 10 h 51 m 13 s
VERSION.RELEASE: 4.0.3
BRAND: Android
DEVICE: m805_892x
MANUFACTURER: YG
MODEL: A777
OS.VERSION: 3.0.8-tcc
BOOTLOADER: unknown
HARDWARE: m805_892x
FINGERPRINT: unknown
ID: A777
TAGS: test-keys
USER: root
PRODUCT: full_m805_892x_evm
RADIO:
Rooted: true
============
Battery Info
============
Level lost [%]: 21 Bat.: 21% (98% to 77%) [1.9%/h]
Voltage lost [mV]: 56 (3889-3833) [5.2%/h]
===========
Other Usage
===========
Deep Sleep (): 10 h 36 m 10 s (38170 s) Ratio: 97.6%
Awake (): 15 m 2 s (902 s) Ratio: 2.3%
Screen On (): 11 m 46 s (706 s) Ratio: 1.8%
Wifi On (): 11 m 45 s (705 s) Ratio: 1.8%
Wifi Running (): 11 m 43 s (703 s) Ratio: 1.8%
No Data Connection (): 10 h 51 m 13 s (39073 s) Ratio: 100.0%
No or Unknown Signal (): 10 h 51 m 13 s (39073 s) Ratio: 100.0%
Screen dark (): 11 m 46 s (706 s) Ratio: 1.8%
=========
Wakelocks
=========
CerberusService (com.lsdroid.cerberus.Cerberus): 1 m 3 s (63 s) Count:1 0.2%
SignalCollector.ScannerThread (com.google.android.apps.maps.Maps): 24 s (24 s) Count:44 0.1%
SignalCollector.Scanner (com.google.android.apps.maps.Maps): 23 s (23 s) Count:110 0.1%
AlarmManager (Android System): 22 s (22 s) Count:184 0.1%
ActivityManager-Launch (Android System): 21 s (21 s) Count:62 0.1%
BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats_xdaedition.BetterBatteryStats): 13 s (13 s) Count:10 0.0%
MediaScannerService (Media): 11 s (11 s) Count:2 0.0%
AudioOut_1 (1013): 10 s (10 s) Count:2 0.0%
Event Log Service (Google Services): 6 s (6 s) Count:45 0.0%
maintain LCD off state during 5 second (Android System): 6 s (6 s) Count:63 0.0%
[email protected]/android_talk123456789cb0 (Google Services): 4 s (4 s) Count:3 0.0%
*sync*_com.android.calendar_Account {[email protected], type=com.google} (com.google.android.calendar.Calendar): 3 s (3 s) Count:4 0.0%
*sync*_gmail-ls_Account {[email protected], type=com.google} (com.google.android.gm.Gmail): 2 s (2 s) Count:2 0.0%
NetworkLocationLocator (com.google.android.apps.maps.Maps): 2 s (2 s) Count:2 0.0%
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services): 2 s (2 s) Count:6 0.0%
NetworkLocationCallbackRunner (com.google.android.apps.maps.Maps): 1 s (1 s) Count:30 0.0%
WifiStateMachine (Android System): 1 s (1 s) Count:94 0.0%
Checkin Service (Google Services): 1 s (1 s) Count:20 0.0%
AsyncCollectorListener (com.google.android.apps.maps.Maps): 1 s (1 s) Count:96 0.0%
SCREEN_FROZEN (Android System): 1 s (1 s) Count:76 0.0%
sleep_broadcast (Android System): 1 s (1 s) Count:74 0.0%
*backup* (Android System): 1 s (1 s) Count:97 0.0%
================
Kernel Wakelocks
================
"PowerManagerService" (): 1 m 22 s (82 s) Cntc/wc/ec)152/0/0 0.2%
"alarm_rtc" (): 38 s (38 s) Cntc/wc/ec)73/73/0 0.1%
"alarm" (): 14 s (14 s) Cntc/wc/ec)102/1/0 0.0%
"power-supply" (): (0 s) Cntc/wc/ec)335/0/0 0.0%
"KeyEvents" (): (0 s) Cntc/wc/ec)1297/0/0 0.0%
"mmc0_detect" (): (0 s) Cntc/wc/ec)75/0/1 0.0%
======================
Alarms (requires root)
======================
Boot event was not registered yet, it will at next reboot (): Wakeups: 0
======================
Network (requires root)
======================
==========
CPU States
==========
==================
Reference overview
==================
Custom: null
Since charged: null
Since screen off: null
Since unplugged: null
Since boot: Reference ref_boot created 1 m 49 s (Wl: 9 elements; KWl: 0elements; NetS: null; Alrm: null; Proc: 0 elements; Oth: 7 elements; CPU: 0 elements)
Nate2 said:
CT702:
============
Battery Info
============
Level lost [%]: 21 Bat.: 21% ([size=+1]98%[/size] to 77%) [1.9%/h]
Voltage lost [mV]: 56 ([size=+1]3889[/size]-3833) [[size=+1]5.2%/h[/size]]
===========
Other Usage
===========
Deep Sleep (): 10 h 36 m 10 s (38170 s) Ratio: [size=+1]97.6%[/size]
Awake (): 15 m 2 s (902 s) Ratio: 2.3%
Screen On (): 11 m 46 s (706 s) Ratio: 1.8%
Wifi On (): 11 m 45 s (705 s) Ratio: 1.8%
Click to expand...
Click to collapse
I conclude your OS is fine and your battery is bad in the CT702. Perhaps the full cell voltage decreases with age, but what I notice in the above is that it is saying your 98% capacity was only at 3889 mV.
Granted, its not a N7, but I would expect devices using the same battery chemistry to exhibit the same charge voltage range. (Maybe there is more about Li-Ion/Polymer batteries that I need to learn about, too).
The battery in my unit - admittedly only about 8 weeks old - swings between about 3660-4170mv.
That is only a swing of 500 mV for a full discharge cycle - but you are showing less than half of that at a "full charge." I suppose that the full-scale (charged) voltage of the battery pack might decline as it ages, but that seems pretty extreme. Moreover, if you believe the voltage decline statistic, I conclude that whatever made this report thinks that your 100% voltage swing is only 97 mV
( 21% @ 1.9%/hr => 11.1 hrs; 5.2%/hr @ 11.1 hrs => 57%; 56 mV/0.57 = 97 mV)
Those Maps wakelocks are indeed leading the pack - but only in the 2% or so percent of the time that the device is not sleeping. Also - note that 1.9%/hour statistic - when the device is only on about 1.9% of the hour: if it is correct, it would imply that the tablet would fully discharge itself in a single hour if it was on continuously. That certainly can't be the way the tablet is designed to work.
BTW, what app produced this output?
Nate2 said:
Google Maps is still the problem:
View attachment 1762572
Better Battery Stats identifies Maps components responsible?
View attachment 1762575
Click to expand...
Click to collapse
I think that "App Sucker" image is reporting data faithfully, but it's choice of statistic is leading to an unwarranted conclusion - given that the total time wakelocks were held seems to only be two minutes or so out of many hours. That seems to make the assumption that a huge chunk of the battery is used only when wakelocks are held - or that the amount of time the device these locks were held is irrelevant. (Or, to put it another way, would you care if Maps used 73% of the change if the total change was only 5% in 1000 hours?)
BTW, I thought I would tell you about a quick experiment I did the other day. It might help you in your investigation.
I set my tablet aside for about 150 minutes - off the charger, screen off. (This was roughly 10:35am - 1:05pm).
Then I woke it up and captured the kernel log (/proc/kmsg or "dmesg" output) and a logcat. I did this by hand (command line/terminal emulator), so I probably got that done within 2 or 3 minutes.
In the (Stock 4.2.2) kernel log, I see repetitive occurences of entry into LP0 mode: (background on Tegra SoC LPn modes)
Code:
<6>[141548.480341] Entering suspend state LP0
<6>[1415[b][color=red]48.482[/color][/b]222] Tegra: switched to LP cluster
<4>[141548.482430] partition 3d0 is left on before suspend
<4>[141548.482430] partition vde is left on before suspend
<4>[141548.482430] partition heg is left on before suspend
<4>[141548.482430] partition 3d1 is left on before suspend
<6>[1415[b][color=red]48.485[/color][/b]647] Tegra: switched to G cluster
<6>[141548.485791] Exited suspend state LP0
<6>[141548.485921] legacy wake status=0x0
<6>[141548.486145] tegra3 wake status=0x1
<6>[141548.486271] Resume caused by WAKE32, bcmsdh_sdmmc
<6>[1415[b][color=red]48.486[/color][/b]525] Suspended for [b][color=red]597.100 seconds[/color][/b]
<6>[141548.486956] wakeup wake lock: alarm
<6>[141548.492834] PM: early resume of devices complete after 5.636 msecs
Note that the timestamps in this kernel log can not be relied upon - apparently precisely because of the LP0 sleep. I surmise that the kernels' tick counter used for /proc/kmsg logging is suspended and therefore does not accumulate time in a wall-clock fashion; otherwise how could the device sleep for 597 seconds in only 4 milli-seconds?
Having captured the output of "dmesg" into a file "dmesg.txt" (and likewise the logcat into "logcat.txt"), I did a little hand-filtering of the output:
Code:
$ grep 'Tegra: switched to LP' dmesg.txt | wc -l
18
$ grep 'Suspended for' dmesg.txt |wc -l
19
$ grep 'Suspended for' dmesg.txt
<6>[141544.528940] Suspended for 5.813 seconds
<6>[141548.486525] Suspended for 597.100 seconds
<6>[141549.833844] Suspended for 5.610 seconds
<6>[141553.751664] Suspended for 114.785 seconds
<6>[141555.169992] Suspended for 366.895 seconds
<6>[141557.767079] Suspended for 111.202 seconds
<6>[141559.114371] Suspended for 3.868 seconds
<6>[141563.302312] Suspended for 344.820 seconds
<6>[141564.583528] Suspended for 62.516 seconds
<6>[141566.061274] Suspended for 188.582 seconds
<6>[141567.531674] Suspended for 7.695 seconds
<6>[141570.882663] Suspended for 595.651 seconds
<6>[141572.230025] Suspended for 8.666 seconds
<6>[141576.067748] Suspended for 87.744 seconds
<6>[141577.452742] Suspended for 368.048 seconds
<6>[141578.833047] Suspended for 139.359 seconds
<6>[141580.230604] Suspended for 9.878 seconds
<6>[141585.018340] Suspended for 373.786 seconds
<6>[141586.363370] Suspended for 12.157 seconds
$ grep 'Suspended for' dmesg.txt | awk 'BEGIN{s=0;}{s+=0.0+$4;}END{print NR,s;}'
19 3404.18
Now, 3404 seconds is only 3404/(150*60) = 38% of the time of my test... but I just checked and noticed that my kernel log file is exactly 128kB in length - so the kernel log buffer must have rolled over completely during that time, so I really only captured some fraction of the total time of sleep with that log. (The kernel log buffer fills too fast to record that much elapsed time).
But anyway - notice that many of the sleep intervals are several minutes long - once for nearly ten minutes straight!
In comparison, the logcat did capture the entire sleep interval (it had several *days* worth of info in it).
Code:
[l3452:] 02-24 10:35:07.692 481 563 I PowerManagerService: Going to sleep by user request...
[l3453:] 02-24 10:35:08.112 125 169 D SurfaceFlinger: Screen released, type=0 flinger=0x40d12318
...
[l3711:]02-24 13:05:46.952 481 496 I PowerManagerService: Waking up from sleep...
[l3712:] 02-24 13:05:47.222 481 600 D PowerManagerService-JNI: Excessive delay in au\
tosuspend_disable() while turning screen on: 269ms
Or in other words, the logcat capture only had 260 (3712-3452) entries in it for 150 minutes of that elapsed time - less than two entries per minute on average. And there were some notably large gaps. Below are a few excerpts from the logcat which are pairs of immediately adjacent entries in the logcat:
Code:
...
02-24 10:[color=green][b]35[/b][/color]:33.951 585 585 I wpa_supplicant: wlan0: WPA: Group rekeying completed with 00:18:39:cd:99:cb [GTK=CCMP]
02-24 10:[color=red][b]36[/b][/color]:53.731 6683 6683 I RlzPingService: Setting next ping for 1362335813737
...
02-24 10:[color=green][b]37[/b][/color]:00.868 6845 6845 W InvService: Dropping C2DM message for unknown or unstarted client: chromesync#1337300716
02-24 10:[color=red][b]38[/b][/color]:46.241 481 576 D ConnectivityService: Captive portal check NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "notmySSID", roaming: false, failover: false, isAvailable: true
...
02-24 10:[color=green][b]38[/b][/color]:47.261 481 576 D ConnectivityService: NetTransition Wakelock for WifiStateMachine released by timeout
02-24 10:[color=red][b]46[/b][/color]:59.856 913 4117 W Smack/Packet: notify conn break (IOEx), close connection
...
02-24 10:[color=green][b]50[/b][/color]:33.849 585 585 I wpa_supplicant: wlan0: WPA: Group rekeying com\
pleted with 00:18:39:cd:99:cb [GTK=CCMP]
02-24 10:[color=red][b]56[/b][/color]:42.611 913 2062 I EventLogService: Aggregate from 1361730402536 \
(log), 1361730402536 (data)
...
02-24 11:[color=green][b]07[/b][/color]:19.411 481 576 D ConnectivityService: handleInetConditionHoldEnd: net=1, condition=100, published condition=0
02-24 11:[color=red][b]17[/b][/color]:15.824 913 7118 W Smack/Packet: notify conn break (IOEx), close connection
...
Well - anyway : you get the idea - large gaps in time where literally *nothing* is happening. I think you should see the same sort of behavior if your tab is actually sleeping correctly.
bftb0 said:
BTW, what app produced this output?
Click to expand...
Click to collapse
Better Battery Stats - http://forum.xda-developers.com/showthread.php?t=1179809
The "App Sucker" screenshot is from GSAM Battery Monitor - http://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Nexus 7:
===================
General Information
===================
BetterBatteryStats version: 1.12.0.0RC11
Creation Date: 2013-02-25 08:17:25
Statistic Type: Boot to Current
Since 10 h 55 m 33 s
VERSION.RELEASE: 4.1.2
BRAND: google
DEVICE: grouper
MANUFACTURER: asus
MODEL: Nexus 7
OS.VERSION: 3.1.10-g009b6d1
BOOTLOADER: 3.41
HARDWARE: grouper
FINGERPRINT: google/nakasi/grouper:4.1.2/JZO54K/485486:user/release-keys
ID: JZO54K
TAGS: release-keys
USER: android-build
PRODUCT: nakasi
RADIO:
Rooted: true
============
Battery Info
============
Level lost [%]: 1 Bat.: 1% (100% to 99%) [0.1%/h]
Voltage lost [mV]: 0 (4-4) [0.0%/h]
===========
Other Usage
===========
Awake (): 10 h 55 m 33 s (39333 s) Ratio: 100.0%
Screen On (): 12 m 59 s (779 s) Ratio: 2.0%
Wifi On (): 10 h 55 m 33 s (39333 s) Ratio: 100.0%
Wifi Running (): 40 m 18 s (2418 s) Ratio: 6.1%
No Data Connection (): 10 h 55 m 33 s (39333 s) Ratio: 100.0%
No or Unknown Signal (): 10 h 55 m 33 s (39333 s) Ratio: 100.0%
Screen dark (): 12 m 59 s (779 s) Ratio: 2.0%
=========
Wakelocks
=========
SystemUpdateService (Google Services): 10 h 51 m 43 s (39103 s) Count:1 99.4%
AlarmManager (Android System): 45 s (45 s) Count:856 0.1%
[email protected]/android_talk123456789522 (Google Services): 39 s (39 s) Count:5 0.1%
MediaScannerService (Media): 39 s (39 s) Count:2 0.1%
com.zomut.watchdog.MonitorService (com.zomut.watchdog.Watchdog): 38 s (38 s) Count:1308 0.1%
ConnectivityService (Android System): 29 s (29 s) Count:857 0.1%
SignalCollector.ScannerThread (com.google.android.apps.maps.Maps): 17 s (17 s) Count:49 0.0%
SignalCollector.Scanner (com.google.android.apps.maps.Maps): 16 s (16 s) Count:127 0.0%
AlarmManager (com.zomut.watchdog.Watchdog): 9 s (9 s) Count:654 0.0%
NetworkLocationActiveCollector (com.google.android.apps.maps.Maps): 8 s (8 s) Count:51 0.0%
ActivityManager-Launch (Android System): 2 s (2 s) Count:58 0.0%
BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats_xdaedition.BetterBatteryStats): 2 s (2 s) Count:5 0.0%
GOOGLE_C2DM (Google Services): 2 s (2 s) Count:26 0.0%
NetworkLocationCallbackRunner (com.google.android.apps.maps.Maps): 1 s (1 s) Count:34 0.0%
NetworkLocationLocator (com.google.android.apps.maps.Maps): 1 s (1 s) Count:2 0.0%
AlarmManager (jp.co.johospace.jorte.Jorte): 1 s (1 s) Count:4 0.0%
NetworkLocationLocator (Google Services): 1 s (1 s) Count:26 0.0%
Event Log Service (Google Services): 1 s (1 s) Count:51 0.0%
WifiStateMachine (Android System): 1 s (1 s) Count:101 0.0%
AudioOut_2 (1013): 1 s (1 s) Count:1 0.0%
================
Kernel Wakelocks
================
"PowerManagerService" (): 10 h 42 m 34 s (38554 s) Cntc/wc/ec)2/0/0 97.9%
"alarm" (): 48 s (48 s) Cntc/wc/ec)1502/0/0 0.1%
"GPS" (): 19 s (19 s) Cntc/wc/ec)2/0/0 0.0%
"power-supply" (): 18 s (18 s) Cntc/wc/ec)656/0/0 0.0%
"wlan_ctrl_wake" (): 16 s (16 s) Cntc/wc/ec)17/0/17 0.0%
"wlan_wake" (): 6 s (6 s) Cntc/wc/ec)3243/0/0 0.0%
"wlan_rx_wake" (): 3 s (3 s) Cntc/wc/ec)57/0/56 0.0%
"KeyEvents" (): 1 s (1 s) Cntc/wc/ec)1571/0/0 0.0%
"event1-351" (system, com.google.android.gm): (0 s) Cntc/wc/ec)2/0/0 0.0%
======================
Alarms (requires root)
======================
Boot event was not registered yet, it will at next reboot (): Wakeups: 0
======================
Network (requires root)
======================
-1 () (Boot event was not registered yet, it will at next reboot): 1.0 Bytes 100.0%
==========
CPU States
==========
51 MHz (): 9 h 32 m 23 s 87.2%
102 MHz (): 9 m 59 s 1.5%
204 MHz (): 7 m 43 s 1.2%
340 MHz (): 56 m 3 s 8.6%
475 MHz (): 4 m 22 s 0.7%
640 MHz (): 2 m 35 s 0.4%
760 MHz (): 6 s 0.0%
860 MHz (): 8 s 0.0%
1 GHz (): 13 s 0.0%
1.1 GHz (): 0.0%
1.2 GHz (): 1 m 41 s 0.3%
1.3 GHz (): 15 s 0.0%
==================
Reference overview
==================
Custom: null
Since charged: null
Since screen off: null
Since unplugged: null
Since boot: Reference ref_boot created 49 s (Wl: 5 elements; KWl: 0elements; NetS: null; Alrm: null; Proc: 0 elements; Oth: 7 elements; CPU: 11 elements)
Looks like maps is the main culprit for my N7 as well I let it run over night while I was sleeping.
Sent from my Nexus 7
@Nate2
I'm not sure I would be too worried about 0.1%/hr, even if the tablet never sleeps! That said, those services (Updater and PowerManager) seem more likely to be the trouble than Maps.
@Triscuit
The second image indicates Maps only held wake locks for a few minutes. Seems highly doubtful that you lost 8% of your battery charge in 5 minutes.
bftb0 said:
I conclude your OS is fine and your battery is bad in the CT702. Perhaps the full cell voltage decreases with age, but what I notice in the above is that it is saying your 98% capacity was only at 3889 mV.
Click to expand...
Click to collapse
Yes, in about 15 minutes off the charger, this CT702 loses 5% battery:
Level lost [%]: 5 Bat.: 5% (100% to 95%) [20.0%/h]
Voltage lost [mV]: 368 (4145-3777) [1472.0%/h]

Categories

Resources