CellBroadcast Receiver for CM 10 with Menu in Settings - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hi there !!
This is called CellBroadcast Receiver. no doubt everyone having a phone knows what it is... its real time update receiver from your network. and in a emergency situation its the most reliable and fasted method than regular SMS.
Everyone might not like this one. for some it will be useless. but for some it will be handy. all depend of the geographical location where you live and the network you use. so if it's useless to you then bye and have a nice day
ok for those who likes it this is for you . i have seen this in JB 4.2 Rom but never in 4.1 .
there are 3 options for you to have this app.
1. move app to system/app and use it - you will not get a menu but once u receives a notification then u can select the Settings options.
2. u can move app as well as Settings app . - you will have a menu in your settings under Wireless and Network
3. u can follow the tutorial in Post #2 and add it to your Settings menu. this way u can add it either on a main menu or in a sub menu
CellBroadcastReceiver app
Settings app with Cell broadcast menu
Hope you will like it
like to thank @Ticklefish for his wonderful tool @saqib nazm @Diaz1999 for there tutorials about how to add expended settings and tips

ok lets do the tutorial..............
things u need
1. Settings app from your ROM zip. ( system/app)
2. tool can be used to decompile and recompile . My recommendation TickleMyAndroid by @Ticklefish
3 Notepad +
============================================================================
1 Decompile Settings app
2 go to res\xml\settings_headers
3 find
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
Click to expand...
Click to collapse
4 add
<header android:icon="@drawable/ic_settings_cell" android:id="@id/cell_settings" android:title="@string/cell_settings_title">
<intent android:targetPackage="com.android.cellbroadcastreceiver" android:action="android.intent.action.MAIN" android:targetClass="com.android.cellbroadcastreceiver.CellBroadcastListActivity" />
</header>
Click to expand...
Click to collapse
5 so it will look like this
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
<header android:icon="@drawable/ic_settings_cell" android:id="@id/cell_settings" android:title="@string/cell_settings_title">
<intent android:targetPackage="com.android.cellbroadcastreceiver" android:action="android.intent.action.MAIN" android:targetClass="com.android.cellbroadcastreceiver.CellBroadcastListActivity" />
</header>
Click to expand...
Click to collapse
6. save
Go to Res\values\ids.xml
1 find
<item type="id" name="wireless_settings">false</item>
Click to expand...
Click to collapse
2 add
<item type="id" name="cell_settings">false</item>
Click to expand...
Click to collapse
3 so it will look like this
<item type="id" name="wireless_settings">false</item>
<item type="id" name="cell_settings">false</item>
Click to expand...
Click to collapse
4 save
Go to res\valus\strings.xml
1 . find
string name="status_wifi_mac_address">Wi-Fi MAC address</string>
Click to expand...
Click to collapse
2 add
<string name="cell_settings_title">CellBroadcast Receiver</string>
Click to expand...
Click to collapse
3 so it will be look like this
<string name="status_wifi_mac_address">Wi-Fi MAC address</string>
<string name="cell_settings_title">CellBroadcast Receiver</string>
Click to expand...
Click to collapse
4 Save
download this png and copy to res\drawable-hdpi folder
ok now recompile and move to system/app . no need to reboot as soon as u set correct permissions ( RW-R-R) settings will be displayed with the changes you have made
NOTE- above was based on my settings app where i prefer cellbroadcast menu in a main menu as shown in the pictures. if u like u can set the menu under some sub menu . eg- inside More in wireless and network menu.

this is mine too

cool, bro! nice contribution!!! (with TuT & all )
but just for interest can u tell me a example for practical use of cellbroadcastreciver-messages, as my friend also asked i never had to do with this app ???

bejunk said:
cool, bro! nice contribution!!! (with TuT & all )
but just for interest can u tell me a example for practical use of cellbroadcastreciver-messages, as my friend also asked i never had to do with this app ???
Click to expand...
Click to collapse
thanks bro well in some network operators send alerts to mobile which is cell broadcast messages. for eg. warning messages/ news and weather alerts / location info etc. it really matters where you live and the network operator u use. as i know its very much in Use in United States. if u go through the 2nd picture u can see type of messages it receives. and Cell broadcast is real when it comes to SMS based alert system cos you maybe knowing in an emergency situation most networks SMS and voice get jammed.
but all depend of the network. in my country i get only location names as broadcast messages. meaning when i travel i receive name of the place by this app. LOL and 95 % it can be described as a useless feature but then again for some people its real value feature
give it a try and see what u get from ur phone operator

Related

Set default settings

I'm putting together a custom ROM for the Samsung Captivate and I'm trying to figure out how to configure default settings. As in, I'd like to set Auto Brightness to Off, Audible Selection to Off, etc. This would be in regards to after a flash of the ROM. Any ideas? I can't find information on it anywhere.
Thanks!
Jirv311 said:
I'm putting together a custom ROM for the Samsung Captivate and I'm trying to figure out how to configure default settings. As in, I'd like to set Auto Brightness to Off, Audible Selection to Off, etc. This would be in regards to after a flash of the ROM. Any ideas? I can't find information on it anywhere.
Thanks!
Click to expand...
Click to collapse
You will need to edit the bools XML in the settings apk. They are in other places as well but that's a good place to start
Thanks for the response. I looked in bools.xml and this is what I see:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="has_intrusive_led">false</bool>
<bool name="has_dock_settings">false</bool>
<bool name="config_additional_system_update_setting_enable">false</bool>
</resources>
Do you know the other places I need to look? Thanks again for your help.
OK next I would check the settings apk and settings provider apk in the bools XML. Also look in the framework AOL's depending on model of phone
zelendel said:
OK next I would check the settings apk and settings provider apk in the bools XML. Also look in the framework AOL's depending on model of phone
Click to expand...
Click to collapse
Thank you! SettingsProvider seemed to be the ticket. I did in fact find a couple settings in the framework-res.apk as well. Last one I'm looking for is the setting to turn off the "Audible Selection". Samsung should have disabled that by default.
Thanks a ton for pointing me in the right direction.

Task Manager hidden?

Is it hidden by default on Sense? Because I can access it no problem in the app drawer with third party launchers.
Sent from my Dinc4g.
elvee68 said:
Is it hidden by default on Sense? Because I can access it no problem in the app drawer with third party launchers.
Sent from my Dinc4g.
Click to expand...
Click to collapse
Yes, it is hidden from view. In '/system/customize/MNS/default.xml' under 'applications_hide' it hides over a dozen apps, including Task Manager.
yea I'm not too sure why they felt the need to hide it in sense 4, same with the personalize icon, but that at least is in settings so i understand that one, I'd like the VVM icon to be hidden.
I want the google maps crap hidden...get out of my $%@#^@#$ apps list!
*Madmoose* said:
I want the google maps crap hidden...get out of my $%@#^@#$ apps list!
Click to expand...
Click to collapse
Yeah, I agree. I just need the Maps app, not the Navigation, Latitude, Local, and the like. I can't wait for root so I can hide/unhide certain apps.
IceDragon59 said:
Yeah, I agree. I just need the Maps app, not the Navigation, Latitude, Local, and the like. I can't wait for root so I can hide/unhide certain apps.
Click to expand...
Click to collapse
Yeah unfortunately Latitude, Local and Navigation aren't separate apps, so hiding them in the app tray is to say the least....frustrating. I've tried a crap load of things and it just doesn't work.
*Madmoose* said:
Yeah unfortunately Latitude, Local and Navigation aren't separate apps, so hiding them in the app tray is to say the least....frustrating. I've tried a crap load of things and it just doesn't work.
Click to expand...
Click to collapse
Well, like the Camcorder is part of the camera app, can't you do something like it does to hide the Camcorder? It's part of the Maps package, but a different class, I would assume.
Code:
<set name="plenty" max="7">
<item name="package">com.android.camera</item>
<item name="class">com.android.camera.CamcorderEntry</item>
</set>
IceDragon59 said:
Well, like the Camcorder is part of the camera app, can't you do something like it does to hide the Camcorder? It's part of the Maps package, but a different class, I would assume.
Code:
<set name="plenty" max="7">
<item name="package">com.android.camera</item>
<item name="class">com.android.camera.CamcorderEntry</item>
</set>
Click to expand...
Click to collapse
Have no clue how to dig up the info on what classes those 3 are.
*Madmoose* said:
Have no clue how to dig up the info on what classes those 3 are.
Click to expand...
Click to collapse
I don't know, either. I can't figure it out from Google Code's page on it.
IceDragon59 said:
Code:
<set name="plenty" max="7">
<item name="package">com.android.camera</item>
<item name="class">com.android.camera.CamcorderEntry</item>
</set>
Click to expand...
Click to collapse
Ok, using this method anyone know how I'd hide the following app shortcuts:
Flashlight (as it's already in the pull down)
Mobile Hotspot (pulldown as well)
Voicemail (I just hold 1 or select the notification)
Setup (really? in the app drawer?)
My Verizon Mobile (I just use the widget)
Play Store (it's embedded in the app drawer already)
Latitude (google maps stuff)
Local (google maps stuff)
Navigation (google maps stuff)
Would be nice to hide SuperSU also but I understand it's function being in there to update the binary. But at least the wife and kid wouldn't complain about something they don't understand. I always have to tell them to just ignore the shortcut.
*Madmoose* said:
Ok, using this method anyone know how I'd hide the following app shortcuts:
Flashlight (as it's already in the pull down)
Mobile Hotspot (pulldown as well)
Voicemail (I just hold 1 or select the notification)
Setup (really? in the app drawer?)
My Verizon Mobile (I just use the widget)
Play Store (it's embedded in the app drawer already)
Latitude (google maps stuff)
Local (google maps stuff)
Navigation (google maps stuff)
Would be nice to hide SuperSU also but I understand it's function being in there to update the binary. But at least the wife and kid wouldn't complain about something they don't understand. I always have to tell them to just ignore the shortcut.
Click to expand...
Click to collapse
In '/system/customize/MNS/default.xml', there is a section starting with
Code:
<function name="applications_hide">
It includes a large list of applications hidden from the app drawer, the only thing changing is the name of the apk file in the package and class sections, with the class being the thing you have to figure out. I don't know how you can obtain the class name. A few of the listed ones in the stock default.xml are '[apkname].MainActivity'. I'm no Android app programmer, so I really can't tell you any more than this.
IceDragon59 said:
In '/system/customize/MNS/default.xml', there is a section starting with
Code:
<function name="applications_hide">
It includes a large list of applications hidden from the app drawer, the only thing changing is the name of the apk file in the package and class sections, with the class being the thing you have to figure out. I don't know how you can obtain the class name. A few of the listed ones in the stock default.xml are '[apkname].MainActivity'. I'm no Android app programmer, so I really can't tell you any more than this.
Click to expand...
Click to collapse
Yeah it's the classes thing that holds me up as well. Not really sure how you find this out. I suppose if a person went digging into the apk's it would have some listings in there somewhere. But some of those apk's are crazy large.
*Madmoose* said:
Yeah it's the classes thing that holds me up as well. Not really sure how you find this out. I suppose if a person went digging into the apk's it would have some listings in there somewhere. But some of those apk's are crazy large.
Click to expand...
Click to collapse
Yeah. Too much effort just to get it off your list. Putting things back on your list is so much easier.

How to make any text touch responsive

Suppose you want that a text should change it's color when you put your finger on it ,, like you want your carrier label to turn blue when you keep your finger on it and white when you remove,,, This is common in pngs, but what about text,, well theres a way for that too
This is a very easy mod,, all you need is to use your brain, information and search skills to find the right xml with the right string
Let us begin with an easy one,,, Open your status_bar_tracking.xml if you have bottom carrier label text and status_bar_expanded.xml if you have it above
now ,, search the line having
<com.android.systemui.statusbar.CarrierLabel
and add an android:textColor="@color/carrier_text" ,,,
Save and close
now let us begin what we need to do to make it blue when we keep our finger on it
Open note pad or note pad ++
Paste this
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:color="#ddff00"
<item android:color="#ffffff" />
</selector>
save with the name carrier_text and add xml as extension in plce of txt to make it an xml file,, now make a folder named color in SystemUI.apk/res
and recompile.....
And then you got it,, white in normal state and ICS blue when pressed.
NOW SPREAD THE KNOWLEDGE LIKE A FLU!!!!!!
But do press the thanks button first if i helped you,, help me rise so i will be inspired to do more
Thanks for this! gonna try it out ^^
Thanks for this awesome share
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
W W
I never knew that this is possible.
Well it is bro!!!!!!!
The android system has a lot of possibilities and if you had seen the lidroid-res.apk or framework-res.apk's xmls in colors folder (or Mms.apk) or just saw its amazing matching with drawable xmls (just replace drawable with color and all image paths to color codes )
YOu would have known too!!!!
One mistake in your post...
In status_bar_tracking.xml, we should add a line
Code:
android:textColor="@color/carrier_text"
and not
Code:
android:textColor="@color/carrier_text.xml"
Ganesh A said:
One mistake in your post...
In status_bar_tracking.xml, we should add a line
Code:
android:textColor="@color/carrier_text"
and not
Code:
android:textColor="@color/carrier_text.xml"
Click to expand...
Click to collapse
NO NO NO bro,, the extensions of xmls and pngs are never displayed ,,, that is the job of the tags (android:textColor) to do the job,, if you write,, u will only face an error while recompiling,, i have already studied it bro,, if you dont believe just open tab_indicator.xml in Contacts.apk/res/layout-finger......
But still it is good that you asked,, your doubt is solved
Thanks for this! This will definitely go into my new Custom ROM.
Sent from my GT-S5360 using xda app-developers app
mvsdroid said:
NO NO NO bro,, the extensions of xmls and pngs are never displayed ,,, that is the job of the tags (android:textColor) to do the job,, if you write,, u will only face an error while recompiling,, i have already studied it bro,, if you dont believe just open tab_indicator.xml in Contacts.apk/res/layout-finger......
But still it is good that you asked,, your doubt is solved
Click to expand...
Click to collapse
Yeah, the extensions of xml's and png's are never displayed but YOU HAVE GIVEN
android:textColor="@color/carrier_text.xml"
AND IT SHOULD BE
android:textColor="@color/carrier_text"
Regards,
Ganesh
Yeah,,, you are right,, i will edit ,it thankyou
certainly,, but give proper credits
THank you,,, it has been fixed
Ganesh A said:
Yeah, the extensions of xml's and png's are never displayed but YOU HAVE GIVEN
android:textColor="@color/carrier_text.xml"
AND IT SHOULD BE
android:textColor="@color/carrier_text"
Regards,
Ganesh
Click to expand...
Click to collapse
Thank you for pointing,, it has been set all right now
Can you tell us also how to hide icon app like cpucontrol in Hyperion ROM?? I want to hide the stock mms.apk only the app icon..
Sent from my GT-S5360 using xda premium
Did it work. I am not able to make this work..
!!!...F4t3rn!Ty L!3S W!T}{ ET3rn!Ty...!!!!
***LooK WithiN YourselF***
#CAN U DIG THIS SUCKAAAA#

10 levels battery Status

I'm currently working on my idea of having 10 levels battery status instead of 100%. It'll work as 9s, 8s, 7s etc. 100% of battery levels divided into 10 pieces. I don't like 100% battery percentage. It's like a torture to me. I don't have a problem with who likes it or made it, it's your choice. No issues. But I need help with this. I don't know how to edit SystemUI and make these changes. Anyone who's interested in helping me, please come forward. I'll give you full credit.
http://forum.xda-developers.com/showpost.php?p=31158863&postcount=92
This is that SystemUI.
And finally thanks to vr5411
Vtrendzzy said:
I'm currently working on my idea of having 10 levels battery status instead of 100%. It'll work as 9s, 8s, 7s etc. 100% of battery levels divided into 10 pieces. I don't like 100% battery percentage. It's like a torture to me. I don't have a problem with who likes it or made it, it's your choice. No issues. But I need help with this. I don't know how to edit SystemUI and make these changes. Anyone who's interested in helping me, please come forward. I'll give you full credit.
http://forum.xda-developers.com/showpost.php?p=31158863&postcount=92
This is that SystemUI.
And finally thanks to vr5411
Click to expand...
Click to collapse
in that SystemUI I believe it is a matter of just replacing the right png's
if I give you the pictures to edit would you be able to?
EDIT: when you say 9s 8s etc
do you mean you want it to be 10 then 20 the 30?
or what?
Me‎ said:
in that SystemUI I believe it is a matter of just replacing the right png's
if I give you the pictures to edit would you be able to?
EDIT: when you say 9s 8s etc
do you mean you want it to be 10 then 20 the 30?
or what?
Click to expand...
Click to collapse
It's also editing some xml files. Specifically strings
Sent from my ST25i using xda app-developers app
Andrewasth said:
It's also editing some xml files. Specifically strings
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
not 100% necessary
if OP explains what he means by 9s 8s etc I could do it
That's easy. No need smali editing. But I don't have time for this. Sorry. But, others can help you too
Sent by typing on my Xperia Sola with my fingers using xda premium
I think you should see and read http://forum.xda-developers.com/showthread.php?t=1434061 <<< this!
Enjoy!
p.s.-I changed my battery style with that tool and "evikal" style. :angel:
/heavy modded stock ics inside white sola/
Decompile SystemUI.apk with apktool. Then go to res/drawable folder.
The files you need to edit are stat_sys_battery.xml & stat_sys_battery_charging.xml
Just open them with Notepad++ and add the required Battery Levels you need in the format of each file.
eg : (in 1st file)
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
etc..
After saving both, you need to add each image, stat_sys_battery_10.etc in res/drawable-hdpi or res/drawable-xhdpi folders. (If you want to use for Xperia P, xhdpi folder is must)
Finally, go to res/values/public.xml. The ids like '0x7f020041' are hexadecimal values. (Read Wikipedia if you have doubts) Find the largest hexadecimal id for type="drawable" then add new lines like this underneath :
<public type="drawable" name="stat_sys_battery_30" id="0x7f020042" />
The name should be the same filename you mentioned in the res/drawable xmls and also the files in res/drawable-hdpi folder. And the id's should be in increasing order. If the highest id you found for drawable is 0x7f020042, you need to add in order 0x7f020043, 0x7f020044,.... 0x7f02004a, 0x7f02004b... etc
If you have any doubts, let me know Hapy Modding !
Cheers
Min3r said:
Decompile SystemUI.apk with apktool. Then go to res/drawable folder.
The files you need to edit are stat_sys_battery.xml & stat_sys_battery_charging.xml
Just open them with Notepad++ and add the required Battery Levels you need in the format of each file.
eg : (in 1st file)
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
etc..
After saving both, you need to add each image, stat_sys_battery_10.etc in res/drawable-hdpi or res/drawable-xhdpi folders. (If you want to use for Xperia P, xhdpi folder is must)
Finally, go to res/values/public.xml. The ids like '0x7f020041' are hexadecimal values. (Read Wikipedia if you have doubts) Find the largest hexadecimal id for type="drawable" then add new lines like this underneath :
<public type="drawable" name="stat_sys_battery_30" id="0x7f020042" />
The name should be the same filename you mentioned in the res/drawable xmls and also the files in res/drawable-hdpi folder. And the id's should be in increasing order. If the highest id you found for drawable is 0x7f020042, you need to add in order 0x7f020043, 0x7f020044,.... 0x7f02004a, 0x7f02004b... etc
If you have any doubts, let me know Hapy Modding !
Cheers
Click to expand...
Click to collapse
well this mod includes 100 step battery so all he really needs is to delete lines from the files you mentioned
if I understood what he wanted correctly
No. I mean 10, 9, 8, 7 like this. Suppose the current battery is 95% then it should show 9 only.
What you said is true but you need to delete all the other lines, then the corresponding files & finally edit the public.xml to remove the extra lines.. And trust me, putting in the correct ids in Public.xml is annoying as hell
@Vtrendzzy, just make sure that the image you provide for each case shows only the 9 or 8
No problem mate. You can edit it whenever you've time and release it if you like my idea.
Yes, I deleted those extra lines but when I'm trying to recompile it, it's not working. And honestly, I'm new to this modding subject. I just have this idea but don't have knowledge to apply to it.
OMG! I'll have to take a class for that. Besides i'm a lil busy with my studies. Can you do it? Take full credit. I would've done it but I don't have it's basic knowledge even
Vtrendzzy said:
OMG! I'll have to take a class for that. Besides i'm a lil busy with my studies. Can you do it? Take full credit. I would've done it but I don't have it's basic knowledge even
Click to expand...
Click to collapse
easiest way would be to replace all 70-79 with same pic that says 7
80-89 with same pic that says 8 and so on
without touching any of the xml files
what do you want it to say between 0-9?
Okay I'll try it today. Between 0-9, I call it 1. See the circle around these digits will act as 100% but these digits will change when the voltage drops by 10%. So when it is showing 1, the critical battery level will be shown in red by the circle.
Vtrendzzy said:
Okay I'll try it today. Between 0-9, I call it 1. See the circle around these digits will act as 100% but these digits will change when the voltage drops by 10%. So when it is showing 1, the critical battery level will be shown in red by the circle.
Click to expand...
Click to collapse
I see
ok so 0-9 is 1
10-19 also 1 (?)
20-29 is 2 (?)
...
90-99 is 9 (?)
100 is 10 (?)
Oh I think that's a bug. 0-10 = 1, 11-20 = 2, 21-30 = 3 .... 91-100 = 10 like this.

Statusbar gps icons/images location?

As the title says, i wish to know where are these 2 gps icons (the blue satellite is in systemui, i mean the other 2 green ones).
Searched and decompiled everywhere but i couldn't find them.
SS follow attached, waiting for your amswers...
Thanks
Sent from Hacker's U via XDA app
hackerpower said:
As the title says, i wish to know where are these 2 gps icons (the blue satellite is in systemui, i mean the other 2 green ones).
Searched and decompiled everywhere but i couldn't find them.
SS follow attached, waiting for your amswers...
Thanks
Click to expand...
Click to collapse
Are you thinking about this icon?
Its " stat_sys_battery_charge_anim3" from \res\drawable-hdpi in framework-res.apk
No, that's a battery icon.
I'm searching for the icon that alternates with the satellite flashing when it's trying to lock the gps and for the icon that appears when the gps gets that lock. 2 icons.
Sent from Hacker's U via XDA app
Yes, i know that the icon i gave you its for battery, but the "icon that alternates with the satellite flashing when it's trying to lock the gps... " in your screenshot its the icon for battery , and that's the wrong icon, it should be another one
edit:
I think that your SystemUI point's to a wrong icon from the framework, its not a framework bug, its SystemUI bug, i had that problem so..
pirej said:
Yes, i know that the icon i gave you its for battery, but the "icon that alternates with the satellite flashing when it's trying to lock the gps... " in your screenshot its the icon for battery , and that's the wrong icon, it should be another one
edit:
I think that your SystemUI point's to a wrong icon from the framework, its not a framework bug, its SystemUI bug, i had that problem so..
Click to expand...
Click to collapse
But the untouched stock rom showed the same icons...
Can you post SS of your gps icons flashing and locked?
Thanks
My phone is little... not feeling well
I flashed someone's rom, and after factory reset.. boot-loop...so, im thinking what to do, what ftf to flash.. e.t.c.
But, if you decompile your SystemUI, and go to "SystemUI.apk\res\drawable\stat_sys_gps_acquiring_anim.xml " you should see the error
It should be something like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_gps_on" />
</animation-list>
And not like the one below or similar..
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_data_wimax_signal_disconnected" />
</animation-list
When i wake up my phone ill make screenshots, but you can try my mod with toggles and framework, or just the toggles(SystemUI), its for stock xperia u b.1.100 , and i know that i had no icon bugs for gps or any other icon bug.
pirej said:
My phone is little... not feeling well
I flashed someone's rom, and after factory reset.. boot-loop...so, im thinking what to do, what ftf to flash.. e.t.c.
But, if you decompile your SystemUI, and go to "SystemUI.apk\res\drawable\stat_sys_gps_acquiring_anim.xml " you should see the error
It should be something like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_gps_on" />
</animation-list>
And not like the one below or similar..
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_data_wimax_signal_disconnected" />
</animation-list
When i wake up my phone ill make screenshots, but you can try my mod with toggles and framework, or just the toggles(SystemUI), its for stock xperia u b.1.100 , and i know that i had no icon bugs for gps or any other icon bug.
Click to expand...
Click to collapse
You're right! This is what i have:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_battery_charge_anim2" />
</animation-list>
I was using fared xtreme moded systemui, he made that mistake, thanks pirej
No problem, glad to help.
I have a working phone now
This are screenshots of gps search and lock
Pirej my friend, yet another problem.
Now when the gps is aquiring a satellite the right icons flash alternatively, but when it gets a lock it changes to that battery icon.
Isn't there another. Xml that has to be edited?
Thanks in advance
Sent from Hacker's U via XDA app
Code:
Isn't there another. Xml that has to be edited?
Probably there is, but.. ill have to look for it
Again, you can use my moded SystemUI and Framework.. just for testing purposes, the 2 of them are 100 compatible and without icon bugs.
I tried my SystemUI (bug-less for b.1.100) on ics b.1.10 STOCK, and it had wrong gps icons, so.. it may have something to do with your framework too
I dont have too much free time this day's, but if you give me your Framework and SystemUI maybe i can do something.
pirej said:
Code:
Isn't there another. Xml that has to be edited?
Probably there is, but.. ill have to look for it
Again, you can use my moded SystemUI and Framework.. just for testing purposes, the 2 of them are 100 compatible and without icon bugs.
I tried my SystemUI (bug-less for b.1.100) on ics b.1.10 STOCK, and it had wrong gps icons, so.. it may have something to do with your framework too
I dont have too much free time this day's, but if you give me your Framework and SystemUI maybe i can do something.
Click to expand...
Click to collapse
Here you go...
https://mega.co.nz/#!h95iyD4D!WGCy0BzzZRaAGxOGb25DuXq7iUEn9DhO5pgB0BsHYT8
Sorry, i cant find the reason for the wrong icon showing..
Strange...no clue?
Sent from Hacker's U via XDA app
No problem, already fixed it!
Thanks for everything pirej :thumbup:
Sent from Hacker's U via XDA app
hackerpower said:
No problem, already fixed it!
Thanks for everything pirej :thumbup:
Sent from Hacker's U via XDA app
Click to expand...
Click to collapse
Great, could you tell me how you fix it ?
Flashed latest fared xtreme tron statusbar and moded from there.
I was using an old version because of how it looked.
Sent from Hacker's U via XDA app

Categories

Resources