Someone gave me a mod that adds 15 toggle to my ROM, the only problem is it takes away the brightness slider which I really liked, and it uses different battery icons then I'd like.
So, I took the file he gave me and first set to work changing the brightness slider and getting it back.
Vertumus, who made the theme I'm using, JB Domination, said you edit the file tw_status_bar_expanded.xml and take out this code:
PHP:
<LinearLayout android:orientation="horizontal" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="56.0dip">
<ImageView android:id="@id/brightness_icon" android:layout_width="25.0dip" android:layout_height="fill_parent" android:layout_marginLeft="13.0dip" android:src="@drawable/tw_quickpanel_icon_brightness" />
<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" />
</LinearLayout>
So, I opened up the mod I was given decompiled SystemUI.apk and found that file. Changed that so that the information was added back in. Saved, recompiled (without errors) and threw the SystemUI.apk back into the zip and reflashed.
This broke my statusbar and wallpaper. Why?
I then tried signing it using signapk, which didn't work
I think you may find your answer in this thread I spotted
http://forum.xda-developers.com/showthread.php?t=1790782
[Q] Help re decompiling/recompiling
Sent from my GT-I9300 using xda premium
I sorted it.
I wasn't signing properly.
To fix it I took the META-INF and AndroidManifest.xml from the original .apk, kept them save. Built the APK once, then stuck those two files in the build/apk folder and rebuilt/compiled. Worked fine after that.
As i said in the title. please edit this systemui.apk. because i want my clock on the center of my Status bar.
and can you edit an xml file there so i can install a battery percentage seperate the battery percentage xml.
Sorry for my Very Bad English.
Thank You in Advance!
http://www.mediafire.com/?uffzgop42t4a8co
still no reply?
It's easy uncompile your .apk
Go in folder res/layout and edit the status_bar.xml
change the line:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
for
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Remove the smiley for : p (no space)
i can't understand the codes when i open the status_bar.xml using notepad++ what should i do?
EDIT: can you just edit my status_bar.xml and upload it here so i can just replace it with the one that you do. Thanks!
I tried doing ONLY what c3ma said with the GX SystemUI.apk (decompile, edit line, save, compile and prepared file for flashing using the Tickle My Android tool). The system booted saying that an app was being updated, but it didn't worked.
This is a TICKLEFISH TUTORIAL!
{
"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"
}
If you've been following these tutorials, you'll know by now how to center the clock in the statusbar and how to change its colour to whatever you like. So far, so good.
Now, let's do something you won't see anywhere else. Let's make it display seconds!
You haven't been following my threads?
Well, click here to find out how to change the clock's colour and here to find out how to center it.
So..let's get started.
We will need to edit status_bar.xml in SystemUI.apk. To do this, we'll need to pull and decompile the apk file from the phone.
What's the best way to do this? Why, with Tickle My Android, of course!
This is the stock code in Timescape ICS:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
We'll need to edit the line containing the clock:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
Now, how do we add seconds to this? XML tags? Smali edits?
Nah..
We'll cheat!
There's a little bit of widget code that's been in Android for ages called 'DigitalClock'. This provides..can you guess..a digital clock! And we're going to use it like this:
Code:
<DigitalClock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
This will change the xml to:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<DigitalClock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Save, recompile, blah-blah-blah.
And here it is:
It's worth noting that DigitalClock doesn't have any leading zeros. Which means, at one o'clock in the morning, the clock shows 1:00:00, not 01:00:00.
There's also another widget code you might be interested in, which is AnalogClock. This gives you...well, I'm sure you can guess.
This doesn't work well on the statusbar as the clock won't be big enough. But it can be used in other places.
Here's my personal setup on my Mini Pro:
Have fun!
Amazing brotha... trying it out now!
Bro, i can't recompile the file. it said "error, "systemUI.apk" has not been fully decompiled". In fact i already modified the code inside the status_bar.xml
Tickle My Android version 4.3,
Mini Pro ICS .587 stock ROM, rooted.
Thanks.
what about tha analog clock brotha?
coolkwc said:
Bro, i can't recompile the file. it said "error, "systemUI.apk" has not been fully decompiled". In fact i already modified the code inside the status_bar.xml
Tickle My Android version 4.3,
Mini Pro ICS .587 stock ROM, rooted.
Thanks.
Click to expand...
Click to collapse
Yes, but the apk is still missing information. If you're using the stock rom, chances are you didn't install framework-res.apk before you started decompiling.
Oh, and Tickle My Android is on Version 5.0 now..
Sent from my SK17i using xda premium
what about tha analog clock brotha?
Click to expand...
Click to collapse
Give it a try and see what happens!
Sent from my SK17i using xda premium
Ticklefish said:
Give it a try and see what happens!
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
no code for tha Analog brov....
Ticklefish said:
Yes, but the apk is still missing information. If you're using the stock rom, chances are you didn't install framework-res.apk before you started decompiling.
Oh, and Tickle My Android is on Version 5.0 now..
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------
coolkwc said:
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
Click to expand...
Click to collapse
Bro, i adi figure out how to create zip, previously i din set destination folder for zip.
coolkwc said:
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------
Bro, i adi figure out how to create zip, previously i din set destination folder for zip.
Click to expand...
Click to collapse
Once you've successfully recompiled, you need to prepare the files then make a flashable zip. Preparing signs the new apk in the same way as the old, which you need to do to make the phone accept it.
Sent from my SK17i using xda premium
Whalesplaho, the xda app is misbehaving again and I can't view your post to quote it.
But basically, the code is AnalogClock and you just need to set the width and height. If you examine the full tag for DigitalClock as I wrote in the op, that should give you enough to start with.
The analogue clock is really meant for app developers to use, because it doesn't work well when it's small, but it works well on the tracking part of the drop-down notification screen.
Have a play and experiment with it. It's the best way of learning!
Sent from my SK17i using xda premium
really like it tackelfish...definitly going to try this..
Just one question..don't I need the png's for clock in notification area.?
Sent from my SK17i using XDA Premium HD app
sandy7 said:
really like it tackelfish...definitly going to try this..
Just one question..don't I need the png's for clock in notification area.?
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
Nope. You can actually use PNG's for the different parts of the clock if you want but what you see in the screenshots is how it looks by default. All you need is code.
Sent from my SK17i using xda premium
Ticklefish said:
Once you've successfully recompiled, you need to prepare the files then make a flashable zip. Preparing signs the new apk in the same way as the old, which you need to do to make the phone accept it.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Bro, i really dun know what's wrong with my step, please kindly review.
1. Pull framework-res.apk, decompiled and install in PC.
2. Pull systemUI.apk, decompiled.
3. Edit status_bar.xml as stated, then save.
4. recompile systemUI.apk
5. prepare system apps for pushing.
6. sign app.
7. create flashable zip
Here's the problem, i dun understand the purpose of step 5 and 6, am i doing wrongly??
I flash using CMW, boot into recovery and install zip from sdcard.
the result is as follow:
<<FLASHING MOD>>
ADDING XTRA FILES>>
[!] Nothing to do in XTRAS
WORPHING >>
[!] Nothing to morph
{ Nothing has changed }
CLEANING CACHE, TEMPORAL FILES & EXIT >>
Install from sdcard complete.
i reboot and nothing has changed. I tried pull the modified systemUI.apk from phone, and noticed that the status_bar.xml still remained same as original, which doesn't changed as i edit.
Really no idea what's wrong with that.
Thanks in advance.
coolkwc said:
Bro, i really dun know what's wrong with my step, please kindly review.
1. Pull framework-res.apk, decompiled and install in PC.
2. Pull systemUI.apk, decompiled.
3. Edit status_bar.xml as stated, then save.
4. recompile systemUI.apk
5. prepare system apps for pushing.
6. sign app.
7. create flashable zip
Here's the problem, i dun understand the purpose of step 5 and 6, am i doing wrongly??
I flash using CMW, boot into recovery and install zip from sdcard.
the result is as follow:
<<FLASHING MOD>>
ADDING XTRA FILES>>
[!] Nothing to do in XTRAS
WORPHING >>
[!] Nothing to morph
{ Nothing has changed }
CLEANING CACHE, TEMPORAL FILES & EXIT >>
Install from sdcard complete.
i reboot and nothing has changed. I tried pull the modified systemUI.apk from phone, and noticed that the status_bar.xml still remained same as original, which doesn't changed as i edit.
Really no idea what's wrong with that.
Thanks in advance.
Click to expand...
Click to collapse
Don't sign the apk. That's what preparing it is all about.
And it looks like you're creating the zip file without putting any files in it. Once you've recompiled and prepared SystemUI.apk, you need to add it to system/app in the zip menu. Then you can make the zip.
Sent from my SK17i using xda premium
Realy cool... thanks for showing us!! :good:
whalesplaho said:
Amazing brotha... trying it out now!
Click to expand...
Click to collapse
brov...can you mod it to your v6 tabbed systemui mod..?
it would be great
Dark ramadhan said:
brov...can you mod it to your v6 tabbed systemui mod..?
it would be great
Click to expand...
Click to collapse
Anybody can..fancy giving it a try?
Sent from my SK17i using xda premium
Ticklefish said:
Anybody can..fancy giving it a try?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
edited some xml but cant recompile... apktool aint working on windows 8, i get error apktool is not recognised while trying to recompile!
ticklefish should i upload my edited file & help me recompile please?
whalesplaho said:
edited some xml but cant recompile... apktool aint working on windows 8, i get error apktool is not recognised while trying to recompile!
ticklefish should i upload my edited file & help me recompile please?
Click to expand...
Click to collapse
I'm happy to, if I have the time. I might even be able to in a hour or two. In the meantime, what are you using for your de/recompiling?
Sent from my SK17i using xda premium
Ticklefish said:
I'm happy to, if I have the time. I might even be able to in a hour or two. In the meantime, what are you using for your de/recompiling?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
I do use Apktool on my Windows 7 but not working on Windows 8..... i edited an already decompiled apk!
should i upload & drop tha link?
Hi,
I've read some infos about that and tried different ways but it didn't work.
I try to add volume buttons to my tablets (exotic model: Rockchip M742E) navigation bar.
What I tried:
- pulled original SystemUI.apk
- decompiled it using apktool
- opened res/layout/system_bar.xml and found:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/navigationArea" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_back" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_home" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="center_vertical" android:id="@id/screenshot" android:layout_width="@dimen/navigation_key_width" android:layout_height="wrap_content" android:src="@drawable/capture" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/menu" android:visibility="invisible" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_menu" android:contentDescription="@string/accessibility_menu" systemui:keyCode="82" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/sub" android:background="@drawable/sub_normal" android:visibility="gone" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" systemui:keyCode="25" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/add" android:background="@drawable/add_normal" android:visibility="gone" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" systemui:keyCode="24" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</LinearLayout>
OK, there already are hidden volume buttons... great (i thought).
- I removed android:visibility="gone"
- recompiled SystemUI.apk with apktool
- pushed SystemUI.apk to the device
- rebooted... no navbar and other UI elements
I also tried this tutorial but had no luck
Does someone know what I am doing wrong?
I added the original apk to this post.
ponchofiesta said:
- recompiled SystemUI.apk with apktool
- pushed SystemUI.apk to the device
- rebooted... no navbar and other UI elements
Click to expand...
Click to collapse
Did you sign it correctly?
XperienceD said:
Did you sign it correctly?
Click to expand...
Click to collapse
I didn't sign anything. Never read about it. How do I do it?
ponchofiesta said:
I didn't sign anything. Never read about it. How do I do it?
Click to expand...
Click to collapse
Click the image in my sig and learn how.
XperienceD said:
Click the image in my sig and learn how.
Click to expand...
Click to collapse
Thanks. I tried both methods under Signing but both didn't work. After reboot SystemUI FCs
ponchofiesta said:
Thanks. I tried both methods under Signing but both didn't work. After reboot SystemUI FCs
Click to expand...
Click to collapse
You'll just need to experiment with your code then if the guide you followed isn't for your device, I rebooted and flashed my framework about 8 times last week trying to get a mod right, it's what you have to do sometimes. Push a stock SystemUI to your Phone for now and start from scratch.
I used now this simple guide but still the same. SystemUI crashes.
I will now test a unmoddified APK... if it also crashes, the problem is in the procedure itself.
I also tried APK-Multi-Tool now but it still crashes...
logcat shows much of this:
Code:
W/PackageManager( 275): Not granting permission android.permission.INJECT_EVENTS to package com.android.systemui (protectionLevel=2 flags=0x83e0d)
I believe it's still a signature problem or something. But I don't know how to fix it.
SOLVED
Dekill93 said:
hy all ... i want to modify systemui, but I do not understand a bit ... anyone please help me .. :crying: :crying: :crying:
1. how to remove or hide the time and date in the status bar pulldown?
2. how to change the background BBM into a Wi-Fi AP background?
for more details you can see my pictures ..
thank you
Click to expand...
Click to collapse
Number One Solved
IMO bbm background is in bbm app, so you should search for png there
godlesplay said:
IMO bbm background is in bbm app, so you should search for png there
Click to expand...
Click to collapse
I just want to change the background BBM as background Wifi AP ... I've found in the framework-res.apk when I change no change whatsoever ... do you know where to change it?
sory i don't using cm 11
Dekill93 said:
I just want to change the background BBM as background Wifi AP ... I've found in the framework-res.apk when I change no change whatsoever ... do you know where to change it?
sory i don't using cm 11
Click to expand...
Click to collapse
you missunderstand!!!
he said, if u want to change the shown BBM background, you need to change IT IN THE BBM app!!! (not in framework-res)
& i guess with ''sory i don't using cm 11'' you are reffering to his SIGNATURE. its his signature NOT A MESSAGE TO YOU
atleast give him a thx, as he found out that the png is located in bbm app
bejunk said:
you missunderstand!!!
he said, if u want to change the shown BBM background, you need to change IT IN THE BBM app!!! (not in framework-res)
& i guess with ''sory i don't using cm 11'' you are reffering to his SIGNATURE. its his signature NOT A MESSAGE TO YOU
atleast give him a thx, as he found out that the png is located in bbm app
Click to expand...
Click to collapse
you try to see the background ap wifi .. it is in the framework-res.apk when I using a cm 10 background bbm and wifi ap its same .. is there something wrong on my framewok-res.apk have? sorry I think it's a message for me
sory my bad english
paste here your framework and bbm app, I will try find it...
godlesplay said:
paste here your framework and bbm app, I will try find it...
Click to expand...
Click to collapse
oke... wait i think problem on systemui.apk
Solved guys... I have changed script in SystemUI/res/layout/status_bar_notification_row.xml
I change
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@drawable/status_bar_notification_row_background_color" android:layout_width="fill_parent" android:layout_height="@dimen/notification_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<Button android:id="@id/veto" android:background="@null" androidaddingLeft="8.0dip" androidaddingRight="8.0dip" android:layout_width="48.0dip" android:layout_height="fill_parent" android:layout_marginRight="-80.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:id="@id/large_icon" android:background="@*android:drawable/minitab_lt_unselected_press" android:clickable="true" android:layout_width="@*android:dimen/notification_large_icon_width" android:layout_height="@*android:dimen/notification_large_icon_height" android:scaleType="center" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<com.android.systemui.statusbar.LatestItemView android:id="@id/content" android:background="@drawable/notification_row_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="64.0dip" android:layout_toRightOf="@id/large_icon" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
<View android:background="@drawable/horiz_list_div" android:layout_width="fill_parent" android:layout_height="@dimen/notification_divider_height" android:layout_alignParentBottom="true" />
</RelativeLayout>
to
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="@dimen/notification_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:background="@drawable/horiz_list_div" android:layout_width="fill_parent" android:layout_height="1.0dip" />
<RelativeLayout android:background="@drawable/notification_item_background_color" android:layout_width="fill_parent" android:layout_height="61.0dip">
<Button android:id="@id/veto" android:background="@null" androidaddingLeft="8.0dip" androidaddingRight="8.0dip" android:layout_width="48.0dip" android:layout_height="fill_parent" android:layout_marginRight="-80.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:id="@id/large_icon" android:background="@*android:drawable/notify_panel_notification_icon_bg_tile" android:clickable="true" android:layout_width="@*android:dimen/notification_large_icon_width" android:layout_height="@*android:dimen/notification_large_icon_height" android:scaleType="center" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<com.android.systemui.statusbar.LatestItemView android:id="@id/content" android:background="@drawable/notification_row_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="61.0dip" android:layout_toRightOf="@id/large_icon" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
</RelativeLayout>
<View android:background="@*android:color/transparent" android:layout_width="fill_parent" android:layout_height="2.0dip" />
</LinearLayout>
thx for participating..