Related
Hey guys, my torch app is not working.. getting FC. This is logcat,
E/AndroidRuntime( 2029): FATAL EXCEPTION: main
E/AndroidRuntime( 2029): java.lang.RuntimeException: Unable to start service [email protected] with null: java.lang.NullPointerException
E/AndroidRuntime( 2029): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2173)
E/AndroidRuntime( 2029): at android.app.ActivityThread.access$2800(ActivityThread.java:123)
E/AndroidRuntime( 2029): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
E/AndroidRuntime( 2029): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2029): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 2029): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 2029): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2029): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2029): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime( 2029): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/AndroidRuntime( 2029): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2029): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2029): at net.cactii.flash2.TorchService.onStartCommand(TorchService.java:90)
E/AndroidRuntime( 2029): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2160)
E/AndroidRuntime( 2029): ... 10 more
Could someone please help
This is an update of the known 15 toggles, with more toggles and a new application to customize an reorder the toggles in the status bar, i modded Lidroid App to keep only the Status bar features.
Here is how it looks like :
{
"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"
}
Let start, you need to decompile SystemUI.apk, you can use my updated Apk_Manager Repack.
Edit "SystemUI.apk\res\layout\tw_status_bar_expanded.xml" and make these changes, this will hide the stock status bar and use the new one:
Code:
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:visibility="gone" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height" android:layout_marginTop="@dimen/tw_notification_panel_header_height">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip" android:layout_marginTop="@dimen/notification_panel_quicksettingbtn_height">
Edit "SystemUI.apk\res\values\ids.xml" and add this Id:
Code:
++ <item type="id" name="exp_power_stat">false</item>
Edit "SystemUI.apk\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali" and make these changes :
Add mPowerWidget field :
Code:
.field mPostCollapseCleanup:Ljava/lang/Runnable;
+++.field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
.field mQueueLock:Ljava/lang/Object;
Method "makeStatusBarView" :
Code:
invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
.line 1120
+++iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
+++invoke-virtual {v1}, Lcom/wanam/systemui/quickpanel/PowerWidget;->updateWidget()V
return-void
Code:
invoke-virtual {v13, v14}, Landroid/widget/ScrollView;->setVerticalScrollBarEnabled(Z)V
+++move-object/from16 v0, p0
+++iget-object v13, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;
+++const v14, 0x7f0d010e
+++invoke-virtual {v13, v14}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;
+++move-result-object v13
+++check-cast v13, Lcom/wanam/systemui/quickpanel/PowerWidget;
+++move-object/from16 v0, p0
+++iput-object v13, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
.line 698
new-instance v13, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;
Code:
invoke-virtual {v1, v13, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
+++move-object/from16 v0, p0
+++iget-object v13, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
+++invoke-virtual {v13}, Lcom/wanam/systemui/quickpanel/PowerWidget;->setupWidget()V
.line 826
sget-boolean v13, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->useTouchWizGUI:Z
Extract attached "wanam.zip" and copy both folders "com" & "wanam" to your "SystemUI.apk\smali\".
That's all, recompile your SystemUI.
After building, make sure your Id "exp_power_stat" got the public id "0x7f0d010e", if you got a different Id, use your new public Id in the "makeStatusBarView" method.
Download attached "system.zip" , you need to copy Toggle buttons resources "lidroid-res.apk" to "system/framework", and "LidroidSettings.apk" to "/system/app" (with permissions 644).
Use this guide to mod lidroid-res.
Thanks to Lidroid for his awesome work, big thanks to GrgSiocl for providing the required files.
I attached a CWM patch working on DEODEXED XXELKC Roms ONLY!
(Patches and system file updated to V2 with a new repacked Lidroid App, why?)
This Mod is now featured on the Index of mods INDEX ALL IN 1
Any observation please send me PM
Awesome work :thumbup:
Thank you Wanam for one more time share your knowledge with the community.
NFC toggle
Hi wanam,
thanks for your awesome work.
I use this mod with Omega v34 (XXELKC Android 4.1.2) on my SGS3, and it works great except one little but annoying problem:
the NFC-toggles doesn't seem to work
i can add the Android-Beam/S-Beam buttons, and when i click on them, the color of the button changes.
but when i long-press the button and enter the menu the settings don't change.
i've talked to the developer of this ROM and he told me, that this problem is within the mod.
hope you could look into it
thanks in advance.
greets
how to CUSTOM settings @ Default ?
is there a way, to Edit a Certain .xml file to set custom settings as DEFAULT...
1st part ..Widget Buttons (where 23 toggles have on\off switches -custom)
2nd part..Brightness modes (picks 1 of 4 as default)
3rd part...Sound Modes (picks 1 of 7 as default)
4th part...Widget Button Order (Customize the order from left to right)
I Decompiled AdvanceS.apk, and others to find Default settings..It's probably in another .apk file.
I install ROM many times and can't bring in my Custom settings
-not even if i Use Titanium backup of AdvanceS file (so that tells me settings are stored somewhere else)
-I can't add back data\data\{folder} settings, cus ROM automatically overwrites my settings.
ANY Help would be great...Love ur MOD's.. I added them to current UVDLJC ROM base of SGS3 (Tmobile)
Thanks again for your WORK!
Can't thank you enough Wanam! Ported this to LL1 747/t999 this afternoon and people are loving it. Props to lidroid of course as well you kind of guys make this community what it is.
Reboot button crash:
Code:
E/AndroidRuntime( 3923): FATAL EXCEPTION: main
E/AndroidRuntime( 3923): java.lang.SecurityException: Neither user 10064 nor current process has android.permission.REBOOT.
E/AndroidRuntime( 3923): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 3923): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 3923): at android.os.IPowerManager$Stub$Proxy.reboot(IPowerManager.java:624)
E/AndroidRuntime( 3923): at android.os.PowerManager.reboot(PowerManager.java:594)
E/AndroidRuntime( 3923): at com.wanam.systemui.quickpanel.RebootButton$2.onClick(RebootButton.java:56)
E/AndroidRuntime( 3923): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
E/AndroidRuntime( 3923): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3923): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3923): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 3923): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3923): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3923): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
E/AndroidRuntime( 3923): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
E/AndroidRuntime( 3923): at dalvik.system.NativeStart.main(Native Method)
Flash light crash:
Code:
E/AndroidRuntime( 3922): FATAL EXCEPTION: main
E/AndroidRuntime( 3922): java.lang.RuntimeException: Fail to connect to camera service
E/AndroidRuntime( 3922): at android.hardware.Camera.native_setup(Native Method)
E/AndroidRuntime( 3922): at android.hardware.Camera.<init>(Camera.java:348)
E/AndroidRuntime( 3922): at android.hardware.Camera.open(Camera.java:325)
E/AndroidRuntime( 3922): at com.wanam.util.LedController.openCamera(LedController.java)
E/AndroidRuntime( 3922): at com.wanam.util.LedController.isFlashSupported(LedController.java)
E/AndroidRuntime( 3922): at com.wanam.systemui.quickpanel.FlashlightButton.toggleState(FlashlightButton.java)
E/AndroidRuntime( 3922): at com.wanam.systemui.quickpanel.PowerButton$2.onClick(PowerButton.java:181)
E/AndroidRuntime( 3922): at android.view.View.performClick(View.java:4211)
E/AndroidRuntime( 3922): at android.view.View$PerformClick.run(View.java:17267)
E/AndroidRuntime( 3922): at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime( 3922): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 3922): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3922): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 3922): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3922): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3922): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
E/AndroidRuntime( 3922): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
E/AndroidRuntime( 3922): at dalvik.system.NativeStart.main(Native Method)
E/android.os.Debug( 2536): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
Seems some stuff is broken for XXEMR2
Kryten2k35 said:
Code:
E/AndroidRuntime( 3923): FATAL EXCEPTION: main
E/AndroidRuntime( 3923): java.lang.SecurityException: Neither user 10064 nor current process has android.permission.REBOOT.
E/AndroidRuntime( 3923): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 3923): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 3923): at android.os.IPowerManager$Stub$Proxy.reboot(IPowerManager.java:624)
E/AndroidRuntime( 3923): at android.os.PowerManager.reboot(PowerManager.java:594)
E/AndroidRuntime( 3923): at com.wanam.systemui.quickpanel.RebootButton$2.onClick(RebootButton.java:56)
E/AndroidRuntime( 3923): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
E/AndroidRuntime( 3923): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3923): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3923): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 3923): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3923): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3923): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
E/AndroidRuntime( 3923): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
E/AndroidRuntime( 3923): at dalvik.system.NativeStart.main(Native Method)
Seems the reboot part is broken for XXEMR2
Click to expand...
Click to collapse
Nop it's not broken, MR2 is the first S3 FW which revoked the system core status from SystemUI, and this will be the same for upcoming FWs, so you won't be able to access flashlight and reboot command, check your AndroidManifest file, add both required permissions or just add back the system status :
Code:
android:sharedUserId="android.uid.system" android:process="system"
You will need to resign your file after the compilation, and disable signature check on "services.jar", by forcing the result value of "comparesignature" method to 0 or greater, otherwise your mod will work with a No-Wipe Only!
Thanks wanam!
Where abouts in services.jar do I find that value? Any idea which file?
Another problem I'm having (while I have your attention ) is that the ongoing notifications are in the middle of the brightness slider
EDIT:
In AndroidManefest.xml
Is it this?
Code:
<service android:name="SystemUIService" android:sharedUserId="android.uid.system" android:process="system" android:exported="true" />
?
EDIT2:
Also, I've found the "comparesignature" method of "PackageMAnagerService.smali" but I have no idea what I'm doing.
EDIT3:
I've seen your 5.8 ROM has the changes I need, so I'm grabbing that
Could the Icons of widget buttons be changed?
Kryten2k35 said:
Thanks wanam!
Where abouts in services.jar do I find that value? Any idea which file?
Another problem I'm having (while I have your attention ) is that the ongoing notifications are in the middle of the brightness slider
EDIT:
In AndroidManefest.xml
Is it this?
Code:
<service android:name="SystemUIService" android:sharedUserId="android.uid.system" android:process="system" android:exported="true" />
?
EDIT2:
Also, I've found the "comparesignature" method of "PackageMAnagerService.smali" but I have no idea what I'm doing.
Click to expand...
Click to collapse
In the AndroidManifest, your header should be like this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:sharedUserId="android.uid.system" android:process="system" android:versionCode="16"
The content of the "comparesignature" method should be like this:
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 9
.parameter "s1"
.parameter "s2"
.prologue
const/4 v6, 0x0
const-string v3, "Wanam: PackageManager"
const-string v4, "Skip signature check."
invoke-static {v3, v4}, Landroid/util/Slog;->e(Ljava/lang/String;Ljava/lang/String;)I
return v6
.end method
EDIT: for the brightness bar issue, is it default enabled on your FW, you don't get it with stock toggles?
For the brightness slider, it's enabled for both the stock and 23 toggles, but when using 23 toggles, it looks like the attached image.
I fixed it somehow before, but god knows how I did it.
My tw_status_bar_expanded.xml looks like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/back" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:visibility="gone" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height" android:layout_marginTop="@dimen/tw_notification_panel_header_height">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip" android:layout_marginTop="128.0dip">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="55.0dip">
<ImageView android:id="@id/brightness_icon" android:clickable="true" android:layout_width="25.0dip" android:layout_height="fill_parent" android:layout_marginLeft="13.0dip" android:src="@drawable/ic_sysbar_brightness" android:contentDescription="@string/accessibility_brightness_icon" />
<FrameLayout android:id="@id/brightness_group" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:text="@string/status_bar_settings_auto_brightness_label" />
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/auto_brightness" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:text="@string/status_bar_settings_auto_brightness_label" />
</FrameLayout>
</LinearLayout>
<View android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="1.0dip" />
</LinearLayout>
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="170.0dip" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:id="@id/noNotificationsTitle" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="left|center" android:id="@id/noNotificationsText" android:paddingLeft="11.0dip" android:visibility="gone" android:layout_width="180.0dip" android:layout_height="@dimen/status_bar_expanded_notification_category_height" android:text="@string/status_bar_no_notifications_title" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:id="@id/onGoingCart" android:background="#ff000000" android:focusable="true" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="left|center" android:id="@id/onGoingNotificationText" android:paddingLeft="11.0dip" android:visibility="gone" android:layout_width="180.0dip" android:layout_height="fill_parent" android:text="@string/status_bar_ongoing_events_title" />
</LinearLayout>
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/onGoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/tw_notification_row_min_height" />
<LinearLayout android:orientation="vertical" android:id="@id/notificationCart" android:background="#ff000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:orientation="horizontal" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="left|center" android:id="@id/latestNotificationText" android:paddingLeft="11.0dip" android:visibility="gone" android:layout_width="180.0dip" android:layout_height="fill_parent" android:text="@string/status_bar_latest_events_title" android:layout_alignParentLeft="true" />
</RelativeLayout>
</LinearLayout>
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/notificationItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/tw_notification_row_min_height" />
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/tw_notification_row_min_height" />
</LinearLayout>
</ScrollView>
</FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
It's not stock, but it used to be fine until the last two FW's
Kryten2k35 said:
For the brightness slider, it's enabled for both the stock and 23 toggles, but when using 23 toggles, it looks like the attached image.
I fixed it somehow before, but god knows how I did it.
My tw_status_bar_expanded.xml looks like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/back" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:visibility="gone" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height" android:layout_marginTop="@dimen/tw_notification_panel_header_height">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip" android:layout_marginTop="128.0dip">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="55.0dip">
<ImageView android:id="@id/brightness_icon" android:clickable="true" android:layout_width="25.0dip" android:layout_height="fill_parent" android:layout_marginLeft="13.0dip" android:src="@drawable/ic_sysbar_brightness" android:contentDescription="@string/accessibility_brightness_icon" />
<FrameLayout android:id="@id/brightness_group" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:text="@string/status_bar_settings_auto_brightness_label" />
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/auto_brightness" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:text="@string/status_bar_settings_auto_brightness_label" />
</FrameLayout>
</LinearLayout>
<View android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="1.0dip" />
</LinearLayout>
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="170.0dip" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:id="@id/noNotificationsTitle" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="left|center" android:id="@id/noNotificationsText" android:paddingLeft="11.0dip" android:visibility="gone" android:layout_width="180.0dip" android:layout_height="@dimen/status_bar_expanded_notification_category_height" android:text="@string/status_bar_no_notifications_title" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:id="@id/onGoingCart" android:background="#ff000000" android:focusable="true" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="left|center" android:id="@id/onGoingNotificationText" android:paddingLeft="11.0dip" android:visibility="gone" android:layout_width="180.0dip" android:layout_height="fill_parent" android:text="@string/status_bar_ongoing_events_title" />
</LinearLayout>
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/onGoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/tw_notification_row_min_height" />
<LinearLayout android:orientation="vertical" android:id="@id/notificationCart" android:background="#ff000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:orientation="horizontal" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="left|center" android:id="@id/latestNotificationText" android:paddingLeft="11.0dip" android:visibility="gone" android:layout_width="180.0dip" android:layout_height="fill_parent" android:text="@string/status_bar_latest_events_title" android:layout_alignParentLeft="true" />
</RelativeLayout>
</LinearLayout>
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/notificationItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/tw_notification_row_min_height" />
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/tw_notification_row_min_height" />
</LinearLayout>
</ScrollView>
</FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
It's not stock, but it used to be fine until the last two FW's
Click to expand...
Click to collapse
You need to fix your statusbar layouts.
Sent from my GT-N7100 using Tapatalk 2
Which parts do you suggest?
EDIT:
The manefest.xml and services.jar changes worked great
EDIT2 :
If only The scroll part of that layout would actually pay attention to the marginTop value it wouldn't be an issue! But changing it does nothing!
EDIT3:
I had to change the value entirely in the dimens.xml file, then it moved
Kryten2k35 said:
Which parts do you suggest?
EDIT:
The manefest.xml and services.jar changes worked great
EDIT2 :
If only The scroll part of that layout would actually pay attention to the marginTop value it wouldn't be an issue! But changing it does nothing!
EDIT3:
I had to change the value entirely in the dimens.xml file, then it moved
Click to expand...
Click to collapse
Did you try to just increase the value of marginTop?
Code:
android:layout_marginTop="170.0dip"
wanam said:
Did you try to just increase the value of marginTop?
Code:
android:layout_marginTop="170.0dip"
Click to expand...
Click to collapse
I did. It was set to be 180.dip, but I changed the value in the dimens.xml and that moved it... All sorted
Thanks wanam!
Hi wanam.
I wanted to let you know that I ported this (with your helpful info about PhoneStatusBar.smali in the op) to Xperia T. If you have any suggestions, feel free to write me. Here is the thread - http://forum.xda-developers.com/showthread.php?p=34280785.
Another time I came here to say tank you.
Working fine with your new tips.
You are the man!
Sent from my SPH-L900 using Tapatalk 2
This mod is originally posted HERE by Evilisto and copy-pasting given code works for ICS, but NOT for JB. So, i worked out the little modifications to be done for JB, and it works, only you wont get the WP blue color as background. All actual credits go to Evilisto..This can be done for any device running Jellybean, the only thing you would need to change are the dip values.
SETTING UP
REQUIRED STUFF.
-- Apktool. 1.5.0 works best for me, but if not, a previous version is fine too.
-- framework-res.apk from ROM.
-- SystemUI.apk from ROM.
-- Knowledge on decompiling, recompiling apks.
-- Notepad++ recommended.
HOW-TO.
-- Copy framework-res.apk and SystemUI.apk to your folder.
-- Install framework-res.apk. This step is important.
Code:
apktool if framework-res.apk
-- Decompile framework-res.apk
Code:
apktool d framework-res.apk
This will give you a folder called framework-res. This is your decompiled apk.
-- Decompile SystemUI.apk
Code:
apktool d SystemUI.apk
This will give you a folder named SystemUI.
-- Alternatively, you can specify the folder name to be created. For ex : i want framework for framework-res.apk folder :
Code:
apktool d framework-res.apk framework
This will name the folder framework.
OR
Code:
apktool d SystemUI.apk System
This will give you folder named System for decompiled SystemUI.apk
==================================================
THE MODIFICATIONS
IN FRAMEWORK-RES.APK
-- Open framework-res folder. Navigate to res/values, right-click on Dimens.xml and select 'edit with Notepad++' or any other you may prefer.
Find default values of the following values and change it to given values.
res/values/dimens.xml
Code:
<dimen name="thumbnail_height">270.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
===================================================
IN SYSTEMUI.APK
-- Save file, go back and open your SystemUI folder and open the res/ folder.
-- Copy paste the following code by editing specified files.
res/values/dimens.xml
Code:
<dimen name="thumbnail_height">270.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
res/values/drawables.xml
ADD THE FOLLOWING LINE :
Code:
<item type="drawable" name="status_bar_recents_background_solid">#ff33b1e1</item>
res/layout-port/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
res/layout-port/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingTop="@dimen/status_bar_recents_item_padding" android:paddingBottom="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="270.0dip" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="0.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="95.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
res/layout-land/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
res/layout-land/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="125.0dip" android:layout_height="180.0dip" />
</FrameLayout>
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" />
</RelativeLayout>
</FrameLayout>
res/layout/status_bar_no_recent_apps.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
=================================================
-- Recompile SystemUI.apk
Code:
apktool b SystemUI SystemUI2.apk
-- Recompile framework-res.apk
Code:
apktool b framework-res framework-res2.apk
-- Open SystemUI.apk and SystemUI2.apk with 7-zip. Select open archive.
-- Delete resources.arsc, classes.dex and res folder from original SystemUI.apk
-- Copy resources.arsc, classes.dex and res folder from SystemUI2.apk and paste them into the SystemUI.apk archive.[/COLOR]
-- Now, here, i usually use Apk-Multitool but you can use CMD too. Now you need to zipalign SystemUI.apk. There are different methods, best is to download APkMultiTool and do it. Or if you have the SDK, you can do it directly through command prompt or terminal.
-- Connect phone to PC.
-- Copy SystemUI.apk and framework-res2.apk and rename framework-res2.apk to framework-res.apk.
--Move SystemUI.apk to system/app and set rw-r--r-- permissions. Move framework-res.apk to system/framework and set rw-r--r-- permissions.
-- Reboot and you're done.
Credits to Evilisto and others listed in his credits
Screenshot please?
Enviado desde mi GT-I9100 usando Tapatalk 2
{
"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"
}
Which Jellybean does this work on; 4.1 or 4.2, if there would be any difference in the procedure, it would be nice if you could make that known
jhtfarquhar said:
Which Jellybean does this work on; 4.1 or 4.2, if there would be any difference in the procedure, it would be nice if you could make that known
Click to expand...
Click to collapse
I've tried with 4.1.x, you could try with 4.2 and tell me if it works..
Can't recompile
I need help, I have verizon galaxy nexus with CM10.1 nightly and I can't recompile apks with TickleMyAndroid, even if I dont change anything!!!
kouta77 said:
I need help, I have verizon galaxy nexus with CM10.1 nightly and I can't recompile apks with TickleMyAndroid, even if I dont change anything!!!
Click to expand...
Click to collapse
Try apktool 1.5.1
Cheers,
K.A.
When I am recompiling the apks for my Nexus 4 (using CM10.1) I get the errors, do you know
Code:
Ryan-McKinneys-MacBook-Pro-2:Mod RyanMcK$ apktool b SystemUI SystemUI2.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Wow, Looks Good..
Nice, I Like It,,,.
Btw, I dont Have device running Jb or ics...
qurit said:
When I am recompiling the apks for my Nexus 4 (using CM10.1) I get the errors, do you know
Code:
Ryan-McKinneys-MacBook-Pro-2:Mod RyanMcK$ apktool b SystemUI SystemUI2.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Click to expand...
Click to collapse
Read these lines :
Code:
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
Missing ids. Add the missing ids to values/ids.xml
Has anybody verified if this works on 4.2?
i followed this guide and didn't get any errors while recompiling but only the landscape works properly
look what happened to the portrait view
i am using galaxy s advance JB 4.1.2 stock rooted samsung official
its works bro, in my JB 4.1.2
thanks for your guide.
nice view
Can this guide work on 4.4.2 KitKat?
Inviato dal mio Nexus 4 con Tapatalk 2
You should make this into an xposed Framework module
Sent from my SM-N900V using Tapatalk
117micc said:
You should make this into an xposed Framework module
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
I would love to see an xposed like that . But I don't think it's possible
≪███▓▒Sℵα℘℘εD ₣ℜ✪ℳ ℳψ JεℓℓySℵα℘ ℜ✪ℳ™▒▓███≫
Will this work on KitKat ?
H!
not work on cm10.1 :crying:
If you're going to make it possible ob Kitkat, I'll be one of those guys who wait
Sent from my GT-I8160 using Tapatalk
I vote for an xposed framework too
Sent from my Nexus 4 using Tapatalk
How to add Selectable 8 style Music Visualizer - to Notification panel
Hello again XDA
this guide is new style from this thread http://forum.xda-developers.com/and...alizerview-t3062114/post59626798#post59626798
ANDROID 2.3.+.+/ Gingerbread go to POST #3 http://forum.xda-developers.com/showpost.php?p=59841454&postcount=3
Available selectable 8 style Music Visualizer :
1. Hide
2. Random
3. Circular
4. Lines
5. Top Bottom Graphic
6. Circle
7. Cycle Color Graphic
8. CyanogenMod Graphic
Oke let's start it
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- APKTOOL 2-RC4 / latest apktool.jar
STEP 1
Decompile SystemUI.apk
Download attached smali and merge to your decompiled SystemUI
STEP 2
go to SystemUI.apk/res/layout/ status_bar_expanded.xml, gemini_status_bar_expanded.xml, tw_status_bar_expanded.xml, status_bar_tracking.xml , depend on your UI
and add the red line
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NotificationPanelView android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginStart="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/handle" android:background="@drawable/status_bar_close" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" />
<LinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/carrier_label_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:animateLayoutChanges="false">
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" layout="@layout/subs_label" />
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" layout="@layout/carrier_label" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/close_handle_underlap" android:animateLayoutChanges="false">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
<ViewStub android:id="@id/ribbon_settings_stub" android:layout="@layout/ribbon_settings" android:layout_width="fill_parent" android:layout_height="@dimen/qs_ribbon_height_big" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" android:gravity="center" android:id="@id/emergency_calls_only" android:padding="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</FrameLayout>
</LinearLayout>
[COLOR="Red"] <com.adi.rom.interface.MusicEqualizerVisualizer android:layout_gravity="bottom" android:id="@id/new_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="50.0dip" android:layout_marginBottom="36.0dip">
<FrameLayout android:id="@id/new_custom_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.adi.rom.interface.VisualizerView android:id="@id/new_custom_visualizer_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>
</com.adi.rom.interface.MusicEqualizerVisualizer>[/COLOR]
</com.android.systemui.statusbar.phone.NotificationPanelView>
STEP 3
SystemUI.apk/res/values/colors.xml
add the red line to end of it before </resources>
Code:
<color name="status_bar_clock_color">#ffffffff</color>
<color name="equalizer_fill_color">#96ffffff</color>
[COLOR="Red"]<color name="new_custom_equalizer_fill_color">#96ffffff</color>[/COLOR]
</resources>
SystemUI.apk/res/values/dimens.xml
add the red line to end of it before </resources>
Code:
<dimen name="status_bar_battery_bottom_padding">1.0px</dimen>
<dimen name="eqalizer_path_effect_1">6.0dip</dimen>
<dimen name="eqalizer_path_effect_2">1.0dip</dimen>
<dimen name="eqalizer_path_stroke_width">6.0dip</dimen>
[COLOR="Red"]<dimen name="new_custom_eqalizer_path_effect_1">6.0dip</dimen>
<dimen name="new_custom_eqalizer_path_effect_2">1.0dip</dimen>
<dimen name="new_custom_eqalizer_path_stroke_width">6.0dip</dimen>[/COLOR]
</resources>
SystemUI.apk/res/values/ids.xml
add the red line to end of it before </resources>
Code:
<item type="id" name="recent_force_stop">false</item>
<item type="id" name="recent_wipe_app">false</item>
<item type="id" name="recent_uninstall">false</item>
[COLOR="Red"]<item type="id" name="new_visualizer_view_panel">false</item>
<item type="id" name="new_custom_visualizer_view_panel">false</item>
<item type="id" name="new_custom_visualizer_view">false</item>[/COLOR]
</resources>
SystemUI.apk/res/values/integers.xml
add the red line to end of it before </resources>
Code:
<integer name="equalizer_divisions">4</integer>
<integer name="equalizer_db_fuzz_factor">2</integer>
<integer name="equalizer_db_fuzz">-10</integer>
[COLOR="Red"]<integer name="new_custom_equalizer_divisions">4</integer>
<integer name="new_custom_equalizer_db_fuzz_factor">2</integer>
<integer name="new_custom_equalizer_db_fuzz">-10</integer>[/COLOR]
</resources>
STEP -4
AndroidManifest.xml
Add the red line
Code:
<uses-permission android:name="android.permission.READ_DREAM_STATE"/>
<uses-permission android:name="android.permission.WRITE_DREAM_STATE"/>
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
[COLOR="Red"]<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>[/COLOR]
<application android:allowBackup="false" android:allowClearUserData="false" android:hardwareAccelerated="true" android:icon="@android:drawable/platlogo" android:label="@string/app_label" android:persistent="true">
<service android:exported="true" android:name="SystemUIService"/>
STEP -5
- Compile
- Sign it
- Disable Signature check
- Push to System/app or System/priv-app with right permission
- Download attached VisualizerStyleSettings.apk, push to System/app with right permission
- or use this Visualizer settings http://forum.xda-developers.com/showpost.php?p=59883864&postcount=53
You can try using any of the keys that come with whatever apk signing tool you use, but you will more then likely end up with a SystemUI.apk that wont show as being installed, you must sign it with platfrom keys from CyanogenMod's android_build github https://github.com/CyanogenMod/android_build/tree/jellybean/target/product/security
Note !
for CM / AOSP from source whic has
STATIC TILES, you need to uncheck/disable Equalizer tile, otherwise the Visualizer will not appear on Notification panel
Credits :
- CyanogenMod
- Recognized Developer / Recognized Themer @serajr for his ResourceUtils.smali
OPTIONAL
6 Style Notification Panel Music Visualizer
Because Lines and Circle style doesn't want to stop render even when music stoped.
This smali below will remove Lines and Circle style from The 8 Guide, make sure you have complete the 8 guide.
How to , just replace the 8 guide smali with this.
Download it from attachment according to your tool version
enjoy :good::laugh:
Android 2.3.++ smali and Visualizer Setting.apk compatible
REQUIREMENT
Apktool 1.5.xx important !
Disable signature check important !
STEP 1
Decompile SystemUI.apk
Download attached Android 2.3.++ smali and merge to your decompiled SystemUI
STEP 2
SystemUI.apk/res/layout/ status_bar_expanded.xml
add the red line
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:layout_gravity="center_vertical" android:id="@id/carrier_label" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="14.669983dip" android:layout_marginTop="8.669983dip" android:layout_marginBottom="10.0dip" android:layout_weight="1.0" />
<TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
</LinearLayout>
[COLOR="Red"]<com.adi.rom.interface.MusicEqualizerVisualizer android:id="@id/new_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="48.0dip">
<FrameLayout android:id="@id/new_custom_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.adi.rom.interface.VisualizerView android:id="@id/new_custom_visualizer_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>
</com.adi.rom.interface.MusicEqualizerVisualizer>[/COLOR]
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
STEP 3
SystemUI.apk/res/values/colors.xml
add the red line to end of it before </resources>
Code:
<color name="status_bar_clock_color">#ffffffff</color>
<color name="equalizer_fill_color">#96ffffff</color>
[COLOR="Red"]<color name="new_custom_equalizer_fill_color">#96ffffff</color>[/COLOR]
</resources>
SystemUI.apk/res/values/dimens.xml
add the red line to end of it before </resources>
Code:
<dimen name="status_bar_battery_bottom_padding">1.0px</dimen>
<dimen name="eqalizer_path_effect_1">6.0dip</dimen>
<dimen name="eqalizer_path_effect_2">1.0dip</dimen>
<dimen name="eqalizer_path_stroke_width">6.0dip</dimen>
[COLOR="Red"]<dimen name="new_custom_eqalizer_path_effect_1">6.0dip</dimen>
<dimen name="new_custom_eqalizer_path_effect_2">1.0dip</dimen>
<dimen name="new_custom_eqalizer_path_stroke_width">6.0dip</dimen>[/COLOR]
</resources>
SystemUI.apk/res/values/ids.xml
add the red line to end of it before </resources>
Code:
<item type="id" name="recent_force_stop">false</item>
<item type="id" name="recent_wipe_app">false</item>
<item type="id" name="recent_uninstall">false</item>
[COLOR="Red"]<item type="id" name="new_visualizer_view_panel">false</item>
<item type="id" name="new_custom_visualizer_view_panel">false</item>
<item type="id" name="new_custom_visualizer_view">false</item>[/COLOR]
</resources>
SystemUI.apk/res/values/integers.xml
Note ! if you don't have this xml, download attached integers.xml put it in your systemui values folder, and skip this lines step :
add the red line to end of it before </resources>
Code:
<integer name="equalizer_divisions">4</integer>
<integer name="equalizer_db_fuzz_factor">2</integer>
<integer name="equalizer_db_fuzz">-10</integer>
[COLOR="Red"]<integer name="new_custom_equalizer_divisions">4</integer>
<integer name="new_custom_equalizer_db_fuzz_factor">2</integer>
<integer name="new_custom_equalizer_db_fuzz">-10</integer>[/COLOR]
</resources>
STEP-4
AndroidManifest.xml
Add the red line
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:sharedUserId="android.uid.system" android:process="system" android:versionCode="10" android:versionName="2.3.6" package="com.android.systemui"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
<uses-permission android:name="android.permission.MANAGE_USB" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
[COLOR="Red"]<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />[/COLOR]
<application android:label="@string/app_label" android:icon="@drawable/ic_launcher_settings" android:allowClearUserData="false" android:persistent="true">
<service android:name=".statusbar.StatusBarService" android:exported="false" />
<activity android:name=".usb.UsbStorageActivity" android:excludeFromRecents="true" />
<activity android:theme="@*android:style/Theme.Dialog.Alert" android:name="com.android.internal.app.ExternalMediaFormatActivity" android:excludeFromRecents="true" />
<activity android:theme="@*android:style/Theme.NoDisplay" android:name="com.android.internal.app.UsbStorageUnmountActivity" android:excludeFromRecents="true" />
<activity android:theme="@*android:style/Theme.Dialog.Alert" android:name=".usb.UsbConfirmActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
<activity android:theme="@*android:style/Theme.Dialog.Alert" android:name=".usb.UsbPermissionActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
<activity android:theme="@*android:style/Theme.Dialog.Alert" android:name=".usb.UsbResolverActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
<activity android:theme="@*android:style/Theme.Dialog.Alert" android:name=".usb.UsbAccessoryUriActivity" android:permission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
</application>
</manifest>
- Compile and Sign it
- Download attached Android-2.3.++VisualizerSettings.apk push to system/app with right permission
- Enjoy :laugh::good:
Thnks om
testet and work on MIUI V6 :fingers-crossed:
Adi Aisiteru Reborn said:
reserved 2
Click to expand...
Click to collapse
its finaly release .well done om adi:good:
Permision to use the guide sir Adi..
always wait for other owesome guide..
thx om @adi rate 5 star this thread
awesome guide
damn ajiiib
awesome guide.. but, it force close on ICS
my SystemUI has been had old music visualizer view by your guide in here.. and I wanna replace it with this one, and my statusbar is gone..
can you help me, sir?
here is my logcat
Code:
04-02 19:41:44.409 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:45.679 E/AndroidRuntime(1945): FATAL EXCEPTION: main
04-02 19:41:45.679 E/AndroidRuntime(1945): java.lang.NoSuchMethodError: registerContentObserver
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.adi.rom.interface.MusicEqualizerVisualizer$SettingsObserver.observe(MusicEqualizerVisualizer.java:445)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.adi.rom.interface.MusicEqualizerVisualizer.onAttachedToWindow(MusicEqualizerVisualizer.java)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.View.dispatchAttachedToWindow(View.java:9860)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2300)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2308)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:947)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2455)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.os.Handler.dispatchMessage(Handler.java:99)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.os.Looper.loop(Looper.java:137)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-02 19:41:45.679 E/AndroidRuntime(1945): at java.lang.reflect.Method.invokeNative(Native Method)
04-02 19:41:45.679 E/AndroidRuntime(1945): at java.lang.reflect.Method.invoke(Method.java:511)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
04-02 19:41:45.679 E/AndroidRuntime(1945): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
04-02 19:41:45.679 E/AndroidRuntime(1945): at dalvik.system.NativeStart.main(Native Method)
04-02 19:41:47.119 E/InputDispatcher(432): channel '419398b0 RecentsPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
04-02 19:41:47.229 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:47.259 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:48.219 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
pykfree said:
awesome guide.. but, it force close on ICS
my SystemUI has been had old music visualizer view by your guide in here.. and I wanna replace it with this one, and my statusbar is gone..
can you help me, sir?
here is my logcat
Code:
04-02 19:41:44.409 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:45.679 E/AndroidRuntime(1945): FATAL EXCEPTION: main
04-02 19:41:45.679 E/AndroidRuntime(1945): java.lang.NoSuchMethodError: registerContentObserver
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.adi.rom.interface.MusicEqualizerVisualizer$SettingsObserver.observe(MusicEqualizerVisualizer.java:445)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.adi.rom.interface.MusicEqualizerVisualizer.onAttachedToWindow(MusicEqualizerVisualizer.java)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.View.dispatchAttachedToWindow(View.java:9860)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2300)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2308)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:947)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2455)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.os.Handler.dispatchMessage(Handler.java:99)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.os.Looper.loop(Looper.java:137)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-02 19:41:45.679 E/AndroidRuntime(1945): at java.lang.reflect.Method.invokeNative(Native Method)
04-02 19:41:45.679 E/AndroidRuntime(1945): at java.lang.reflect.Method.invoke(Method.java:511)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
04-02 19:41:45.679 E/AndroidRuntime(1945): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
04-02 19:41:45.679 E/AndroidRuntime(1945): at dalvik.system.NativeStart.main(Native Method)
04-02 19:41:47.119 E/InputDispatcher(432): channel '419398b0 RecentsPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
04-02 19:41:47.229 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:47.259 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:48.219 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
Click to expand...
Click to collapse
Something like conflict with Xpose ?
Uninstall it first
Sent from my GT-I8150 using XDA Free mobile app
pykfree said:
awesome guide.. but, it force close on ICS
my SystemUI has been had old music visualizer view by your guide in here.. and I wanna replace it with this one, and my statusbar is gone..
can you help me, sir?
here is my logcat
Code:
04-02 19:41:44.409 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:45.679 E/AndroidRuntime(1945): FATAL EXCEPTION: main
04-02 19:41:45.679 E/AndroidRuntime(1945): java.lang.NoSuchMethodError: registerContentObserver
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.adi.rom.interface.MusicEqualizerVisualizer$SettingsObserver.observe(MusicEqualizerVisualizer.java:445)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.adi.rom.interface.MusicEqualizerVisualizer.onAttachedToWindow(MusicEqualizerVisualizer.java)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.View.dispatchAttachedToWindow(View.java:9860)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2300)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2308)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:947)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2455)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.os.Handler.dispatchMessage(Handler.java:99)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.os.Looper.loop(Looper.java:137)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-02 19:41:45.679 E/AndroidRuntime(1945): at java.lang.reflect.Method.invokeNative(Native Method)
04-02 19:41:45.679 E/AndroidRuntime(1945): at java.lang.reflect.Method.invoke(Method.java:511)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)
04-02 19:41:45.679 E/AndroidRuntime(1945): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
04-02 19:41:45.679 E/AndroidRuntime(1945): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
04-02 19:41:45.679 E/AndroidRuntime(1945): at dalvik.system.NativeStart.main(Native Method)
04-02 19:41:47.119 E/InputDispatcher(432): channel '419398b0 RecentsPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
04-02 19:41:47.229 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:47.259 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 19:41:48.219 E/NotificationService(432): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
Click to expand...
Click to collapse
I am sorry, please use new file , I have share new smali file, check the guide again
Adi Aisiteru Reborn said:
Something like conflict with Xpose ?
Uninstall it first
Sent from my GT-I8150 using XDA Free mobile app
Click to expand...
Click to collapse
uninstalled! but it still happened
I use Xperia Tipo.. and I put in on statusbar_tracking.xml
I'm not have an SystemUI without music visualizer view
here is my SystemUI + framework with old music visualizer view mod, hope you wanna see it..
https://drive.google.com/open?id=0By-TJB-Hb4psbkVTZGRsUWMzQUE&authuser=0
and if you wanna see new logcat after xpose uninstalled, you can get it on attachment..
thank you sir.. hope it can fixed
Please re-Download the smali file, I have fixed the error
I have shared new fix smali file
Thank you
Adi Aisiteru Reborn said:
Please re-Download the smali file, I have fixed the error
I have shared new fix smali file
Thank you
Click to expand...
Click to collapse
awesome.. I'll try it right ow and report it soon.. thanks sir
awesome guide om.. :good:
gonna try soon..
pykfree said:
awesome.. I'll try it right ow and report it soon.. thanks sir
Click to expand...
Click to collapse
Code:
com.adi.rom.interface.MusicEqualizerVisualizer.onAttachedToWindow(MusicEqualizerVisualizer.java)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.View.dispatchAttachedToWindow(View.java:9860)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2300)
yes the error is from my smali, and I've fixed it, please try it
Adi Aisiteru Reborn said:
Code:
com.adi.rom.interface.MusicEqualizerVisualizer.onAttachedToWindow(MusicEqualizerVisualizer.java)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.View.dispatchAttachedToWindow(View.java:9860)
04-02 19:41:45.679 E/AndroidRuntime(1945): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2300)
yes the error is from my smali, and I've fixed it, please try it
Click to expand...
Click to collapse
oh god.. still not fixed for me, sir..
here is my logcat
Code:
04-02 20:58:34.639 E/NotificationService(430): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 20:58:34.649 E/NotificationService(430): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 20:58:44.239 E/AndroidRuntime(1421): FATAL EXCEPTION: main
04-02 20:58:44.239 E/AndroidRuntime(1421): java.lang.NoSuchMethodError: registerContentObserver
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.adi.rom.interface.MusicEqualizerVisualizer$SettingsObserver.observe(MusicEqualizerVisualizer.java:445)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.adi.rom.interface.MusicEqualizerVisualizer.onFinishInflate(MusicEqualizerVisualizer.java:152)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.rInflate(LayoutInflater.java:747)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.rInflate(LayoutInflater.java:742)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.View.inflate(View.java:13685)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:345)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:64)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:264)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread.access$1600(ActivityThread.java:123)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.os.Handler.dispatchMessage(Handler.java:99)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.os.Looper.loop(Looper.java:137)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-02 20:58:44.239 E/AndroidRuntime(1421): at java.lang.reflect.Method.invokeNative(Native Method)
04-02 20:58:44.239 E/AndroidRuntime(1421): at java.lang.reflect.Method.invoke(Method.java:511)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
04-02 20:58:44.239 E/AndroidRuntime(1421): at dalvik.system.NativeStart.main(Native Method)
pykfree said:
oh god.. still not fixed for me, sir..
here is my logcat
Code:
04-02 20:58:34.639 E/NotificationService(430): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 20:58:34.649 E/NotificationService(430): Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x91!!!1!one!)
04-02 20:58:44.239 E/AndroidRuntime(1421): FATAL EXCEPTION: main
04-02 20:58:44.239 E/AndroidRuntime(1421): java.lang.NoSuchMethodError: registerContentObserver
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.adi.rom.interface.MusicEqualizerVisualizer$SettingsObserver.observe(MusicEqualizerVisualizer.java:445)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.adi.rom.interface.MusicEqualizerVisualizer.onFinishInflate(MusicEqualizerVisualizer.java:152)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.rInflate(LayoutInflater.java:747)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.rInflate(LayoutInflater.java:742)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.view.View.inflate(View.java:13685)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:345)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:64)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:264)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread.access$1600(ActivityThread.java:123)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.os.Handler.dispatchMessage(Handler.java:99)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.os.Looper.loop(Looper.java:137)
04-02 20:58:44.239 E/AndroidRuntime(1421): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-02 20:58:44.239 E/AndroidRuntime(1421): at java.lang.reflect.Method.invokeNative(Native Method)
04-02 20:58:44.239 E/AndroidRuntime(1421): at java.lang.reflect.Method.invoke(Method.java:511)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)
04-02 20:58:44.239 E/AndroidRuntime(1421): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
04-02 20:58:44.239 E/AndroidRuntime(1421): at dalvik.system.NativeStart.main(Native Method)
Click to expand...
Click to collapse
ok , I'll check again , be patient
Adi Aisiteru Reborn said:
ok , I'll check again , be patient
Click to expand...
Click to collapse
ok sir.. I'll be wait for it..
here is my SystemUI + framework with old music visualizer view mod, if you wanna see and recompile it
https://drive.google.com/open?id=0By-TJB-Hb4psbkVTZGRsUWMzQUE&authuser=0
Just awesome... once again!
Glad to know I've helped out you somehow! As you know, the ResourceUtils class allows the apk to find proper resources hex id by their names at run time, so we don't need to play with hex anymore!
In less than a decade the cameras in our smartphones have become so advanced that many people choose not to buy traditional cameras at all. Of course, people still want high-quality images. These days nobody wants to settle for less than great. Neither do we.
So Here is the new Snapdragon Camera v2
Features
To Know about features visit
https://www.qualcomm.com/news/snapd...a-features-add-dslr-effects-your-mobile-phone
Click to expand...
Click to collapse
DOWNLOAD LINK
Mod Edit:
Thread closed.
You've already started a thread here
http://forum.xda-developers.com/yureka/themes-apps/flashable-snapdragon-camera-v2-t3189679
Don't work for me
Not working for me too. Logcat:
Code:
--------- beginning of crash
E/AndroidRuntime( 4249): FATAL EXCEPTION: main
E/AndroidRuntime( 4249): Process: org.codeaurora.snapcam, PID: 4249
E/AndroidRuntime( 4249): java.lang.NoClassDefFoundError: com.android.camera.PhotoModule$StatsCallback
E/AndroidRuntime( 4249): at com.android.camera.PhotoModule.<init>(PhotoModule.java:320)
E/AndroidRuntime( 4249): at com.android.camera.CameraActivity.setModuleFromIndex(CameraActivity.java:1829)
E/AndroidRuntime( 4249): at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1480)
E/AndroidRuntime( 4249): at android.app.Activity.performCreate(Activity.java:6010)
E/AndroidRuntime( 4249): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
E/AndroidRuntime( 4249): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
E/AndroidRuntime( 4249): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
E/AndroidRuntime( 4249): at android.app.ActivityThread.access$800(ActivityThread.java:155)
E/AndroidRuntime( 4249): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
E/AndroidRuntime( 4249): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4249): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4249): at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime( 4249): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4249): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4249): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
E/AndroidRuntime( 4249): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
E/AndroidRuntime( 4249): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
W/ActivityManager( 1019): Force finishing activity 1 org.codeaurora.snapcam/com.android.camera.CameraLauncher