Jump to content

[MOD] CM Style Power Toggles [ICS] [NEW MOD'S]


Recommended Posts

Guest tillaz
Posted

thanks for the logcat i can see the problem, this version should now fix the force close issue

link deleted

Guest fr0do
Posted

Still errors

This is with v3. There are about 4 stops, and this is the last 2:

[Hide]

04-06 07:00:02.199 E/AndroidRuntime(1207): FATAL EXCEPTION: main

04-06 07:00:02.199 E/AndroidRuntime(1207): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.systemui.statusbar.DateView

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2263)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.app.ActivityThread.access$1600(ActivityThread.java:123)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.os.Handler.dispatchMessage(Handler.java:99)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.os.Looper.loop(Looper.java:137)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.app.ActivityThread.main(ActivityThread.java:4424)

04-06 07:00:02.199 E/AndroidRuntime(1207): at java.lang.reflect.Method.invokeNative(Native Method)

04-06 07:00:02.199 E/AndroidRuntime(1207): at java.lang.reflect.Method.invoke(Method.java:511)

04-06 07:00:02.199 E/AndroidRuntime(1207): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

04-06 07:00:02.199 E/AndroidRuntime(1207): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)

04-06 07:00:02.199 E/AndroidRuntime(1207): at dalvik.system.NativeStart.main(Native Method)

04-06 07:00:02.199 E/AndroidRuntime(1207): Caused by: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.systemui.statusbar.DateView

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:691)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.View.inflate(View.java:13590)

04-06 07:00:02.199 E/AndroidRuntime(1207): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:293)

04-06 07:00:02.199 E/AndroidRuntime(1207): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:64)

04-06 07:00:02.199 E/AndroidRuntime(1207): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:259)

04-06 07:00:02.199 E/AndroidRuntime(1207): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)

04-06 07:00:02.199 E/AndroidRuntime(1207): ... 10 more

04-06 07:00:02.199 E/AndroidRuntime(1207): Caused by: java.lang.ClassNotFoundException: com.android.systemui.statusbar.DateView

04-06 07:00:02.199 E/AndroidRuntime(1207): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)

04-06 07:00:02.199 E/AndroidRuntime(1207): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)

04-06 07:00:02.199 E/AndroidRuntime(1207): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.LayoutInflater.createView(LayoutInflater.java:552)

04-06 07:00:02.199 E/AndroidRuntime(1207): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)

04-06 07:00:02.199 E/AndroidRuntime(1207): ... 20 more

[/hide]

[Hide]

04-06 07:01:14.679 E/AndroidRuntime(2330): FATAL EXCEPTION: main

04-06 07:01:14.679 E/AndroidRuntime(2330): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.systemui.statusbar.DateView

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2263)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.app.ActivityThread.access$1600(ActivityThread.java:123)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.os.Handler.dispatchMessage(Handler.java:99)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.os.Looper.loop(Looper.java:137)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.app.ActivityThread.main(ActivityThread.java:4424)

04-06 07:01:14.679 E/AndroidRuntime(2330): at java.lang.reflect.Method.invokeNative(Native Method)

04-06 07:01:14.679 E/AndroidRuntime(2330): at java.lang.reflect.Method.invoke(Method.java:511)

04-06 07:01:14.679 E/AndroidRuntime(2330): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

04-06 07:01:14.679 E/AndroidRuntime(2330): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)

04-06 07:01:14.679 E/AndroidRuntime(2330): at dalvik.system.NativeStart.main(Native Method)

04-06 07:01:14.679 E/AndroidRuntime(2330): Caused by: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.systemui.statusbar.DateView

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:691)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.View.inflate(View.java:13590)

04-06 07:01:14.679 E/AndroidRuntime(2330): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:293)

04-06 07:01:14.679 E/AndroidRuntime(2330): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:64)

04-06 07:01:14.679 E/AndroidRuntime(2330): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:259)

04-06 07:01:14.679 E/AndroidRuntime(2330): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)

04-06 07:01:14.679 E/AndroidRuntime(2330): ... 10 more

04-06 07:01:14.679 E/AndroidRuntime(2330): Caused by: java.lang.ClassNotFoundException: com.android.systemui.statusbar.DateView

04-06 07:01:14.679 E/AndroidRuntime(2330): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)

04-06 07:01:14.679 E/AndroidRuntime(2330): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)

04-06 07:01:14.679 E/AndroidRuntime(2330): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.LayoutInflater.createView(LayoutInflater.java:552)

04-06 07:01:14.679 E/AndroidRuntime(2330): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)

04-06 07:01:14.679 E/AndroidRuntime(2330): ... 20 more

[/hide]

Guest fr0do
Posted

Nah I think it's in these extra error logs I'm missing. Got the 2nd and 3rd logs here from v4.

I don't have ADB access at the moment. Apologies for that.

[Hide]

04-06 17:44:01.209 E/AndroidRuntime(2481): FATAL EXCEPTION: main

04-06 17:44:01.209 E/AndroidRuntime(2481): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException

04-06 17:44:01.209 E/AndroidRuntime(2481): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2263)

04-06 17:44:01.209 E/AndroidRuntime(2481): at android.app.ActivityThread.access$1600(ActivityThread.java:123)

04-06 17:44:01.209 E/AndroidRuntime(2481): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)

04-06 17:44:01.209 E/AndroidRuntime(2481): at android.os.Handler.dispatchMessage(Handler.java:99)

04-06 17:44:01.209 E/AndroidRuntime(2481): at android.os.Looper.loop(Looper.java:137)

04-06 17:44:01.209 E/AndroidRuntime(2481): at android.app.ActivityThread.main(ActivityThread.java:4424)

04-06 17:44:01.209 E/AndroidRuntime(2481): at java.lang.reflect.Method.invokeNative(Native Method)

04-06 17:44:01.209 E/AndroidRuntime(2481): at java.lang.reflect.Method.invoke(Method.java:511)

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)

04-06 17:44:01.209 E/AndroidRuntime(2481): at dalvik.system.NativeStart.main(Native Method)

04-06 17:44:01.209 E/AndroidRuntime(2481): Caused by: java.lang.NullPointerException

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.systemui.statusbar.policy.NetworkController.refreshSignalCluster(NetworkController.java:283)

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.systemui.statusbar.policy.NetworkController.addSignalCluster(NetworkController.java:279)

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:357)

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:64)

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:259)

04-06 17:44:01.209 E/AndroidRuntime(2481): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)

04-06 17:44:01.209 E/AndroidRuntime(2481): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)

04-06 17:44:01.209 E/AndroidRuntime(2481): ... 10 more

[/hide]

[Hide]

04-06 17:51:59.900 E/AndroidRuntime(2784): FATAL EXCEPTION: main

04-06 17:51:59.900 E/AndroidRuntime(2784): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException

04-06 17:51:59.900 E/AndroidRuntime(2784): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2263)

04-06 17:51:59.900 E/AndroidRuntime(2784): at android.app.ActivityThread.access$1600(ActivityThread.java:123)

04-06 17:51:59.900 E/AndroidRuntime(2784): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)

04-06 17:51:59.900 E/AndroidRuntime(2784): at android.os.Handler.dispatchMessage(Handler.java:99)

04-06 17:51:59.900 E/AndroidRuntime(2784): at android.os.Looper.loop(Looper.java:137)

04-06 17:51:59.900 E/AndroidRuntime(2784): at android.app.ActivityThread.main(ActivityThread.java:4424)

04-06 17:51:59.900 E/AndroidRuntime(2784): at java.lang.reflect.Method.invokeNative(Native Method)

04-06 17:51:59.900 E/AndroidRuntime(2784): at java.lang.reflect.Method.invoke(Method.java:511)

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)

04-06 17:51:59.900 E/AndroidRuntime(2784): at dalvik.system.NativeStart.main(Native Method)

04-06 17:51:59.900 E/AndroidRuntime(2784): Caused by: java.lang.NullPointerException

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.systemui.statusbar.policy.NetworkController.refreshSignalCluster(NetworkController.java:283)

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.systemui.statusbar.policy.NetworkController.addSignalCluster(NetworkController.java:279)

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:357)

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:64)

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:259)

04-06 17:51:59.900 E/AndroidRuntime(2784): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)

04-06 17:51:59.900 E/AndroidRuntime(2784): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)

04-06 17:51:59.900 E/AndroidRuntime(2784): ... 10 more

[/hide]

Guest fr0do
Posted

Kudos for stocking with it Tillaz! Battery is going and I'm away from home, so I might not make it back for a while ;)

Guest fr0do
Posted

No crashes now. But blank status bar with all three. Toggles all seem to work apart from data. Can't tell which errors are relevant in the logcat

Guest fr0do
Posted

Loads of these if this is it:

04-06 20:10:23.009 E/CUSTOMICON(503): IM DEFAULTt

Guest fr0do
Posted (edited)

Ooh have we seen these before?

[Hide]

--------- beginning of /dev/log/system

04-06 19:58:35.709 E/ActivityManager(389): Start proc com.facebook.katana:providers for content provider com.facebook.katana/.provider.GraphQLNotificationsContentProvider: pid=2100 uid=10099 gids={3003, 1006, 1015}Load: 19.97 / 6.97 / 2.5

04-06 19:58:35.709 E/ActivityManager(389): CPU usage from 3023ms to -8488ms ago:

04-06 19:58:35.709 E/ActivityManager(389): 31% 389/system_server: 24% user + 7.1% kernel / faults: 6900 minor 76 major

04-06 19:58:35.709 E/ActivityManager(389): 29% 2048/com.facebook.katana: 24% user + 4% kernel / faults: 6797 minor 33 major

04-06 19:58:35.709 E/ActivityManager(389): 12% 1569/in.jmkl.dcsms.statusbargreper: 9.6% user + 2.4% kernel / faults: 1675 minor 12 major

04-06 19:58:35.709 E/ActivityManager(389): 4.3% 143/surfaceflinger: 1.9% user + 2.4% kernel / faults: 179 minor

04-06 19:58:35.709 E/ActivityManager(389): 3.4% 1855/android.process.acore: 2.2% user + 1.2% kernel / faults: 2340 minor 31 major

04-06 19:58:35.709 E/ActivityManager(389): 2.4% 81/mmcqd/0: 0% user + 2.4% kernel

04-06 19:58:35.709 E/ActivityManager(389): 2.4% 1797/com.android.vending: 1.4% user + 0.9% kernel / faults: 425 minor

04-06 19:58:35.709 E/ActivityManager(389): 1.9% 503/com.android.systemui: 1.4% user + 0.5% kernel / faults: 722 minor 4 major

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 18/kworker/0:1: 0% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.3% 28/kswapd0: 0% user + 1.3% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0.7% 557/android.process.media: 0.4% user + 0.3% kernel / faults: 315 minor 2 major

04-06 19:58:35.709 E/ActivityManager(389): 0.2% 613/com.teslacoilsw.launcher: 0.1% user + 0% kernel / faults: 804 minor 16 major

04-06 19:58:35.709 E/ActivityManager(389): 0.5% 826/com.android.contacts: 0.3% user + 0.1% kernel / faults: 300 minor 1 major

04-06 19:58:35.709 E/ActivityManager(389): 0.4% 102/mmcqd/1: 0% user + 0.4% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0.1% 1471/com.huawei.android.hwouc: 0.1% user + 0% kernel / faults: 337 minor 2 major

04-06 19:58:35.709 E/ActivityManager(389): 0.2% 872/com.google.process.gapps: 0% user + 0.2% kernel / faults: 268 minor 3 major

04-06 19:58:35.709 E/ActivityManager(389): 0.2% 1940/com.google.android.apps.plus: 0.1% user + 0% kernel / faults: 248 minor 18 major

04-06 19:58:35.709 E/ActivityManager(389): 0.2% 1974/com.google.android.youtube: 0.1% user + 0% kernel / faults: 223 minor 12 major

04-06 19:58:35.709 E/ActivityManager(389): 0.1% 5/kworker/u:0: 0% user + 0.1% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 87/jbd2/mmcblk0p13: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 1300/loop0: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 3/ksoftirqd/0: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 116/flush-179:0: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 131/servicemanager: 0% user + 0% kernel / faults: 3 minor

04-06 19:58:35.709 E/ActivityManager(389): 0% 144/zygote: 0% user + 0% kernel / faults: 216 minor

04-06 19:58:35.709 E/ActivityManager(389): 0% 245/dhd_dpc: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 266/kworker/u:3: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 589/com.android.phone: 0% user + 0% kernel / faults: 175 minor 2 major

04-06 19:58:35.709 E/ActivityManager(389): 0% 600/com.broadcom.bt.app.system: 0% user + 0% kernel / faults: 260 minor

04-06 19:58:35.709 E/ActivityManager(389): 0% 1838/loop1: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0% 1867/loop2: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): +0% 2100/com.facebook.katana:providers: 0% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 100% TOTAL: 73% user + 25% kernel + 1.8% iowait

04-06 19:58:35.709 E/ActivityManager(389): CPU usage from 7429ms to 8090ms later:

04-06 19:58:35.709 E/ActivityManager(389): 40% 389/system_server: 31% user + 8.3% kernel / faults: 574 minor 6 major

04-06 19:58:35.709 E/ActivityManager(389): 23% 402/er.ServerThread: 21% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 6.6% 406/ActivityManager: 3.3% user + 3.3% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 395/Compiler: 0% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 410/FileObserver: 0% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 419/PowerManagerSer: 0% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 427/InputDispatcher: 0% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 733/Binder Thread #: 1.6% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 918/Binder Thread #: 0% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 35% 2100/com.facebook.katana:providers: 30% user + 5% kernel / faults: 343 minor

04-06 19:58:35.709 E/ActivityManager(389): 32% 2100/atana:providers: 27% user + 5% kernel

04-06 19:58:35.709 E/ActivityManager(389): 8.1% 1569/in.jmkl.dcsms.statusbargreper: 6.5% user + 1.6% kernel / faults: 108 minor

04-06 19:58:35.709 E/ActivityManager(389): 6.5% 1569/statusbargreper: 4.9% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 4.7% 18/kworker/0:1: 0% user + 4.7% kernel

04-06 19:58:35.709 E/ActivityManager(389): 3.2% 81/mmcqd/0: 0% user + 3.2% kernel

04-06 19:58:35.709 E/ActivityManager(389): 3.2% 143/surfaceflinger: 0% user + 3.2% kernel

04-06 19:58:35.709 E/ActivityManager(389): 3.2% 233/SurfaceFlinger: 1.6% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 240/Binder Thread #: 0% user + 1.6% kernel

04-06 19:58:35.709 E/ActivityManager(389): 3.2% 503/com.android.systemui: 3.2% user + 0% kernel / faults: 69 minor

04-06 19:58:35.709 E/ActivityManager(389): 3.2% 503/ndroid.systemui: 3.2% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.5% 28/kswapd0: 0% user + 1.5% kernel

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 613/com.teslacoilsw.launcher: 0% user + 1.6% kernel / faults: 93 minor 2 major

04-06 19:58:35.709 E/ActivityManager(389): 1.6% 676/launcher-loader: 1.6% user + 0% kernel

04-06 19:58:35.709 E/ActivityManager(389): 0.3% 1867/loop2: 0% user + 0.3% kernel

04-06 19:58:35.709 E/ActivityManager(389): 100% TOTAL: 74% user + 25% kernel

[/hide]

Only other errors I'm getting are all audio related. I presume they're not relevant.

/edit

I haven't cleared caches for this last 3. That shouldn't be necessary should it?

Edited by fr0do
  • 3 weeks later...
Guest Pyntux
Posted

Can somebody make toggles in orange color to fit with MiHome Launcher and Miui colors? Thanks! :)

Guest Chevanlol360
Posted

I tried this mod the way the guide said but after i flash ad reboot the statusbar is not there, it doesnt FC or anything. its just not there. help?

Guest tillaz
Posted

you need to do the last part about including in a rom,

when the window opens up and starts re-signing stuff look and make sure systemUI.apk is been re-signed and not "skipped"

also, the systemUI is based on the G300 framework resources, so the chance of it working on another phone is slim, (but possible)

Guest Chevanlol360
Posted (edited)

you need to do the last part about including in a rom,

when the window opens up and starts re-signing stuff look and make sure systemUI.apk is been re-signed and not "skipped"

also, the systemUI is based on the G300 framework resources, so the chance of it working on another phone is slim, (but possible)

ok then i guess i should port the power toogle manually, i already added all the needed files as im use to port lidroid since i've done it 5 or so times before. All of the strings and images hex code match up and everything. i need help editting the phonestatsubar.smali can you help me?


const v6, 0x7f03001e

invoke-static {v0, v6, v10}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

move-result-object v5

check-cast v5, Lcom/lidroid/systemui/quickpanel/PowerWidget;

invoke-virtual {v5}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V

iget-object v6, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;

invoke-virtual {v6, v5, v10}, Lcom/android/systemui/statusbar/phone/ExpandedView;->addView(Landroid/view/View;I)V

i already added the above code to my phonestatusbar.smali but dont i need to edit something in the here??

.method protected makeStatusBarView()Landroid/view/View;

.locals 14

.prologue

const/16 v13, 0x8

const/4 v12, 0x0

Edited by Chevanlol360
  • 4 weeks later...
Guest relvas18
Posted

it's possible to put flashlight in this mod ?

Guest Pain_Deluxe
Posted

No.

It hangs up with apps that use the camera

Guest tillaz
Posted

Anyone want to give this a try,

Flash in recovery, make a backup first

http://www.solidfile...m/d/21d8ce3533/

it lets you apply various battery mods from a settings menu without a reboot (similar to in CM / AOKP)

d0059c30-792b-45d3-9c4e-e75727522c71_zps4aafe943.jpgStyles_zps21e15f98.jpg

this is originally from here

http://forum.xda-dev...d.php?t=2181766

but the tool did not work for me, so i decided to find out what the tool does then apply the mod manually...

basically for the systemUI its just adding a new directory with some new .smali files and then redirecting "BatteryController" in

com/android/systemui/statusbar/phone/PhoneStatusBar.smali
and
com/android/systemui/statusbar/tablet/TabletStatusBar.smali

to the new directory with the modified BatteryController.smali

Guest tillaz
Posted

don't work for me either

did you try the zip i posted ? or anyone els ?

it should work.

Guest kyan31
Posted
Anyone want to give this a try,

Flash in recovery, make a backup first

http://www.solidfile...m/d/21d8ce3533/

it lets you apply various battery mods from a settings menu without a reboot (similar to in CM / AOKP)

d0059c30-792b-45d3-9c4e-e75727522c71_zps4aafe943.jpgStyles_zps21e15f98.jpg

this is originally from here

http://forum.xda-dev...d.php?t=2181766

but the tool did not work for me, so i decided to find out what the tool does then apply the mod manually...

basically for the systemUI its just adding a new directory with some new .smali files and then redirecting "BatteryController" in

com/android/systemui/statusbar/phone/PhoneStatusBar.smali
and
com/android/systemui/statusbar/tablet/TabletStatusBar.smali

to the new directory with the modified BatteryController.smali

I'll try it now.

Guest kyan31
Posted

Unfortunately it doesn't work, i don't think it even installs on the system. I flashed it on a B960 based ROM with cache wipes, and i set the correct permissions.

Guest tillaz
Posted

Unfortunately it doesn't work, i don't think it even installs on the system. I flashed it on a B960 based ROM with cache wipes, and i set the correct permissions.

it will be added to the system, what happened when you flashed it, force closes?

if not,

to see the app use nova actions and make a shortcut for OGbattery (i might of forgot to re-add the icon)

Guest kyan31
Posted (edited)

it will be added to the system, what happened when you flashed it, force closes?

if not,

to see the app use nova actions and make a shortcut for OGbattery (i might of forgot to re-add the icon)

No, it just doesn't do anything. I have no status bar, no FC's, and when I try to install it manually, it doesn't bug me that it is replacing a previous app meaning the systemUI never installed in the first place :blink:

Edit: However, the OG settings have installed correctly.

Edited by kyan31

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.