3G and H icon stat_sys_download - Vibrant General

Is the stat_sys_download.xml file in framework-res.apk the file that controls what icons show up for edge, 3g, h? If so, could someone in the know see if my suspicion is right, that Tmo has 3g and H both set to only display the 3g icon in the status bar. And if someone could mod that file to display the H icon already in the phone when it is in an HSDPA location. I can take that new xml file and MetaMorph it into my phone. Thanks in advance if anyone can help.
Sent from my SGH-T959 using XDA App

I'll look for it myself with apk manager.
Sent from my SGH-T959 using XDA App

I'm not a developer but ill test if u wip up a morph.
sent from my Vibrant.

I got as far as finding that particular xml file. I don't know how to view it, but I'll do some research and get back to you.

cparekh said:
I got as far as finding that particular xml file. I don't know how to view it, but I'll do some research and get back to you.
Click to expand...
Click to collapse
Open it with notepad.

You can view it in any text editor

There is a png file for the H symbol in the stat_sys_data_in_h.png file located in the res\drawable-hdmi folder in the framework-res file

zephiK said:
Open it with notepad.
Click to expand...
Click to collapse
eweo911 said:
You can view it in any text editor
Click to expand...
Click to collapse
That's what the intertubez tells me to do, but when I do that, I get something that is definitely not a text file. Perhaps I extracted incorrectly. I'll keep trying.
This is not the thread to teach me how to develop in Android, but FWIW, here's a screenshot of what I see in my text editor. (I turned on wrap, so you could see the whole file, but it actually is just one or two lines).

I believe you need to have a Deodexed version of the file to do this

Android xml files are in binary form, for the phone to process them faster. Apk manager decompress them so you can read them in notepad. I'll have a look this weekend to see if I can find the code to make it display when you are in an H area.
Sent from my SGH-T959 using XDA App

Ok I am not officially in over my head I found the icon file as listed in my above post and I found the reference to it in the file public.xml that can be found under res/values. The few lines that seem to deal with the icons are as follows:
<public type="drawable" name="stat_sys_data_in_1x" id="0x0108029e" />
<public type="drawable" name="stat_sys_data_in_3g" id="0x0108029f" />
<public type="drawable" name="stat_sys_data_in_e" id="0x010802a0" />
<public type="drawable" name="stat_sys_data_in_g" id="0x010802a1" />
<public type="drawable" name="stat_sys_data_in_h" id="0x010802a2" />
<public type="drawable" name="stat_sys_data_inandout_1x" id="0x010802a3" />
<public type="drawable" name="stat_sys_data_inandout_3g" id="0x010802a4" />
<public type="drawable" name="stat_sys_data_inandout_e" id="0x010802a5" />
<public type="drawable" name="stat_sys_data_inandout_g" id="0x010802a6" />
<public type="drawable" name="stat_sys_data_inandout_h" id="0x010802a7" />
<public type="drawable" name="stat_sys_data_out_1x" id="0x010802a8" />
<public type="drawable" name="stat_sys_data_out_3g" id="0x010802a9" />
<public type="drawable" name="stat_sys_data_out_e" id="0x010802aa" />
<public type="drawable" name="stat_sys_data_out_g" id="0x010802ab" />
<public type="drawable" name="stat_sys_data_out_h" id="0x010802ac" />
but I have no idea what to change.
Anyone else have any ideas?

Yea, I found that, but here is the guy we are looking for, almost sure of it... Its in bools.xml...
<resources>
<bool name="config_sf_limitedAlpha">false</bool>
<bool name="config_sf_slowBlur">false</bool>
<bool name="config_bypass_keyguard_if_slider_open">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_deskDockEnablesAccelerometer">false</bool>
<bool name="config_carDockEnablesAccelerometer">false</bool>
<bool name="config_use_strict_phone_number_comparation">false</bool>
<bool name="config_disableMenuKeyInLockScreen">false</bool>
<bool name="config_hspa_data_distinguishable">false</bool>
<bool name="config_swipeDisambiguation">true</bool>
<bool name="config_filterTouchEvents">false</bool>
</resources>

Ok that file and that reference is in 2 locations
res/values
and
res/values/-hdpi-v4
Still dont know what to do with it mind you lol

I would def like this done too, maybe should be in dev section

I tried changing it to to "true" and re-compiling it, but it made my phone lock on boot up. Not sure if I did the APK Manger compile correctly or not. Guess someone else will probably figure it out before me. Just hope someone gets it to work, I'd like watching it flip between H and 3G all day long. LOL

Has anyone else had any luck with this?

Seems no one else wants this feature but a very few of us.
Sent from my Vibrant using the XDA app.

I wouldn't mind having it as well

I'd like it as well but can't contribute to figuring it out. Just don't have the technical know how.

I am working on something similar but I haven't figured out how to recompile the XML files. I have tried with both apktool and apkmanager.

Related

RSS Hub Stories Number in registry?

Anyone know if its possible to pull the number of unread stories in rss hub from the registry?
Im working on modding a battery status skin to my own needs, replacing the mms icon and counter with an rss icon and counter, just cant find out how i can pull this in.
Rss hub has a today screen plugin (which is a bit ugly) but id assume it stores it in the reg somewhere.
Any help would be great.
Not to worry, just found it at HKCU\Software\Ilium Software\Rss Hub\NewsItemsCount
however my mod just seems to break it, anyone here good with batterystatus?
Original xml file.
<Item class="registry_tracker" ontap="InboxMms">
<image src="MMS%d.png" left="0" />
<label text="%d" suppress0="1" fontsize="+3" bold="1" color="ffffff" left="-28" width="30" align="center">
<registry key_value="HKCU\System\State\Messages\mms\Unread\Count" />
</label>
</Item>
Click to expand...
Click to collapse
and then my version
<Item class="registry_tracker" ontap="InboxMms">
<image src="rss%d.png" left="0" />
<label text="%d" suppress0="1" fontsize="+3" bold="1" color="ffffff" left="-28" width="30" align="center">
<registry key_value="HKCU\Software\Ilium Software\RSS Hub\NewsItemsCount" />
</label>
</Item>
Click to expand...
Click to collapse
i have created the relevant rss0 and rss-1 graphics same as the mms but when i load my version of the mod that icon or where the mms icon would be is gone completely and the two other icons get shunted to the left in its place, but it does seem to be there because if i click to the right of the first icon it loads the "inboxmms" which i havent changed yet, that will ultimately need to be linked to rsshub.
Hope all this makes sense.
There's a BS dedicated thread here.

Clock center

I put the Diamond gold blend theme on my Jade.
Everythings works, but...wen i disable the analoge clock, the digital clock goes to the right.
Is there a sollution, to disable the analoge clock en get the digital to the center on the home widget screen?
so far i know u can fix it with adjustments in the HTCHomeSettings.xml
i have a other problem, my digital clock disappear when i want to use it an after words not coming back only the analog one, i tested with different skins.
i use M2DC_v0.27.232 for setting
renetje6 said:
I put the Diamond gold blend theme on my Jade.
Everythings works, but...wen i disable the analoge clock, the digital clock goes to the right.
Is there a sollution, to disable the analoge clock en get the digital to the center on the home widget screen?
Click to expand...
Click to collapse
After you've disabled the analog clock you got to edit the position values in HTCHomeSettings.xml to the original ones.
Open the original theme .xml in your PC and edit directly your Jade. Soft reset and it's done.
Where can i find original theme .xml in my device?
renetje6 said:
Where can i find original theme .xml in my device?
Click to expand...
Click to collapse
1. Open in your PC the .xml file of the theme that you've installed.
2. With Total Commander (i. e.) edit the values of the HTCHomeSettings.xml file located in your Jade's Windows directory.
3. Save and soft reset.
I have the diamond gold theme and downloaded here: http://forum.xda-developers.com/showthread.php?t=451702
There no xml file in that file.
And now?
Hi i am new here and i have same problem too.
can anyone help to explain more detail for how to slove this?
Thank you so much
How to re-align Digital Clock
kakikakih said:
Hi i am new here and i have same problem too.
can anyone help to explain more detail for how to slove this?
Thank you so much
Click to expand...
Click to collapse
Many ways discussed here http://forum.xda-developers.com/showpost.php?p=3286748&postcount=1311
Anyway, this may help
1) Install your theme (with analog and digital clock)
2) copy the \windows\HTCHome Settings.xml to PC (rename to something else e.g. wxyz.xml)
3) Now remove the analog clock using M2DC, close M2DC --> you clock jumbles up
4) copy again the \windows\HTCHome Settings.xml to PC
5) on PC, edit HTCHome Settings.xml (can use notepad) (OR edit directly in phone using TC or Resco or other editors.) - the following values
</TabWidget>
<HomeWidget>
<Property name="IDHMWG_CLOCKBTN_BGIMG" id="0" value="40" />
<Property name="IDHMWG_CLOCKBTN_BGIMG_POS" id="1" value="145, 78" />
<Property name="IDHMWG_CLOCKBTN_RECT" id="2" value="6, 31, 234, 149" />
<Property name="IDHMWG_CLOCKBTN_1STDIGIT_POS" id="3" value="152, 32" />
<Property name="IDHMWG_CLOCKBTN_2NDDIGIT_POS" id="4" value="171, 32" />
<Property name="IDHMWG_CLOCKBTN_SEPARATOR_POS" id="5" value="0, 27" />
<Property name="IDHMWG_CLOCKBTN_3RDDIGIT_POS" id="6" value="194, 32" />
<Property name="IDHMWG_CLOCKBTN_4THDIGIT_POS" id="7" value="213, 32" />
<Property name="IDHMWG_CLOCKBTN_ALARM_POS" id="8" value="216, 86" />
<Property name="IDHMWG_CLOCKBTN_AMPM_POS" id="9" value="213, 59" />
<Property name="IDHMWG_CLOCKBTN_FOCUS_POS" id="10" value="6, 31" />
(these values are examples - my values)
You must change these particular values to be the same as those in wxyz.xml (that has been renamed - the earlier .xml)
6) Save
7) Copy back (replace) HTCHome Settings.xml to phone \windows
8) Softreset
Hope that helps and works for you.
Thank you so much azahidi!!
I get done on my jade with good looking digital clock now!!!

CM10 and ADW EX Launcher - App Bar?

Hi for thos of you how use ADW EX Launcher, ADW EX has the extra "App Bar" or whatever its called at the top. On the 7" screen it becomes a nusance because in landscape mode it takes up 10% of the screen.
To get rid of it, the .xml config for ADW EX (adw_ex_settings.xml) should have this:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="swipedownActions">0</string>
<string name="homeOrientation">3</string>
<int name="desktopSpeed" value="92" />
<boolean name="uiIconBgs" value="false" />
<boolean name="notif_receiver" value="true" />
<boolean name="drawerSnapScrolling" value="true" />
<string name="drawer_style">1</string>
<int name="desktopRows" value="5" />
<boolean name="folder_draw_contents" value="true" />
<long name="LAST_ERROR" value="1337869436076" />
<boolean name="desktopBlocked" value="true" />
<boolean name="drawerZoom" value="true" />
<boolean name="main_dock_enabled" value="false" />
<boolean name="uiDesktopIndicatorAutohide" value="true" />
<int name="defaultScreen" value="1" />
<string name="folder_style">0</string>
<boolean name="autosizeIcons" value="true" />
<string name="screenCache">2</string>
<boolean name="dock_icon_reflection" value="true" />
<string name="pendingTransition">0</string>
<boolean name="folder_auto_grow" value="true" />
<int name="desktopBounce" value="7" />
<int name="desktopColumns" value="5" />
<boolean name="uiNewIcons" value="false" />
<string name="homeBinding">1</string>
<string name="changelogReadVersion">1.3.3.56</string>
<boolean name="wallpaper_scrolling" value="true" />
<boolean name="actionbar_hidden" value="true" />
<boolean name="desktopZoom" value="true" />
<int name="desktopScreens" value="3" />
<boolean name="uiIconBgsGlossy" value="true" />
<boolean name="uiDesktopIndicator" value="false" />
<string name="menu_order">[2,3,4,5,12,6,11,7,9,10,13]</string>
<string name="menu_hidden">[true,true,true,true,true,true,true,true,true,true,true]</string>
<string name="swipeupActions">0</string>
<boolean name="previewsNew" value="true" />
<boolean name="dock_shrink" value="true" />
<boolean name="drawerSwipe" value="false" />
<boolean name="drawerAnimated" value="true" />
<string name="uiDesktopIndicatorType">1</string>
<boolean name="widgetsOverlap" value="true" />
<boolean name="loop_scrolling" value="false" />
<string name="screen_effect">0</string>
<boolean name="icons_dpi_hack" value="false" />
</map>
Copy or paste the above in your xml config and reboot ADW EX and it will get rid of the "App Bar". From there, you can customize it the way you want without the "App Bar" at the top of your screen.
Attached as a .zip as well. I replaced the file from my TF201 on to the KF and it works perfectly.
Many thanks for this, I have looked everywhere for a fix for this :-o
Sent from my Nexus 7 using xda app-developers app
Can I ask where i can access the menus (which are actually on this bar, to edit screens etc...)
Problem I have is it works great but i am quite new to andriod generally, is there a way to access these menus without the bar? (system shortcut etc..) Or is it a case of re-enabling bar, editing as required and then reverting back?
In hindsight I didn't think i would need access to the menu and have realised I need to remove a screen.
I have had a look at the script and I realise I can edit total number of screens but to actually remove a chosen screen I don't think i can (if that makes sense-have a hubs setup and trying not to mess it up lol )
I am using the paranoid andriod rom
Any help appreciated
Sent from my Nexus 7 using xda app-developers app
I assume you are running JB since your post is from a Nexus 7.
On JB, there's typically 3 vertical dots. With ADW EX, they are vertical. You touch those and you can edit, add, etc screens. The other method is to go back into the settings for ADW and allow the gestures for swipe up and swipe down. Hope this helps.
jotei66 said:
Can I ask where i can access the menus (which are actually on this bar, to edit screens etc...)
Problem I have is it works great but i am quite new to andriod generally, is there a way to access these menus without the bar? (system shortcut etc..) Or is it a case of re-enabling bar, editing as required and then reverting back?
In hindsight I didn't think i would need access to the menu and have realised I need to remove a screen.
I have had a look at the script and I realise I can edit total number of screens but to actually remove a chosen screen I don't think i can (if that makes sense-have a hubs setup and trying not to mess it up lol )
I am using the paranoid andriod rom
Any help appreciated
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Thanks, yeah I am on JB.. and yes the menu has kinda three vertical dots if I remember.
I tried the swipe up / down options but no option to show this menu unfortunately... thanks anyway though..
One thing to note is after copying over the .xml, you will need to "restore" it from ADW and tell ADW to load the new .xml.
Simply go to ADW Settings>Restore ADW Settings
After that the annoying bar at the top should be gone.

[Q] Where is default app info kept?

When I go to view a video from a webpage or a news app I am always presented with a list of potential players (some of which I don't even have). I check the little box at the bottom of the list that says "always use this" or whatever, and then select RockPlayer. It all works fine but the Nook doesn't seem to remember this choice. It asks each time. Very annoying.
Does anyone know where this default app information is stored? A database file I could look at perhaps? Maybe something is not being set properly. I've made other default selections for other situations and they seem to take. Or maybe it's a RockPlayer issue?
<preferred-activities> inside /data/system/packages.xml
Always in the last place I look
So... this is what is there, but it's repeated over and over (and over--like for every time I've done it):
Code:
<preferred-activities>
<item name="com.redirectin.rockplayer.android.unified/com.redirectin.rockplayer.android.OpenRockPlayerActivity" match="600000" set="5">
<set name="com.estrongs.android.pop/.app.BrowserDownloaderActivity" />
<set name="com.estrongs.android.pop/.app.PopVideoPlayerProxyActivity" />
<set name="com.opera.browser/com.opera.Opera" />
<set name="com.alensw.PicFolder/.StreamingActivity" />
<set name="com.redirectin.rockplayer.android.unified/com.redirectin.rockplayer.android.OpenRockPlayerActivity" />
<filter>
<action name="android.intent.action.VIEW" />
<cat name="android.intent.category.DEFAULT" />
<type name="video/mp4" />
</filter>
</item>
I don't see the BBC News app mentioned in a similar vein, but it behaves in exactly the same way. Nothing in the code above jumps out at me as a novice, but the fact that there are many, many entries in the file all the same does not seem good.
Ideas?
Well, the easiest solution is to just gut the preferred-activities:
Code:
<preferred-activities>
</preferred-activities>
Your Nook may ask you once about a few intents, but that should be it.
It's possible that packages.xml got corrupted.
Also, depending on how a file gets opened there may be different filters for mimetype vs. path filters.
If you are still having problems, narrow it down to exactly how you are trying to open the file.
Use logcat and see what intent generates the picker dialog.

[Q] Default contacts save location (DECOMPILED XML)

I'm sick of the default save location "in phone" as it doesn't sync with google (learned it the hard way and i always forget to choose google when i'm adding new ones) so today i decompiled the LGContacts.apk with apk studio and under /res/xml/ i found contacts_settings.xml with code looking like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<profiles>
<profile>
<siminfo operator="TMO" country="AT" mcc="232" mnc="03" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
<profile>
<siminfo operator="TRA" country="AT" mcc="232" mnc="07" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
<profile>
<siminfo operator="A1" country="AT" mcc="232" mnc="01" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
<profile>
<siminfo operator="ORG" country="AT" mcc="232" mnc="05" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
First of all i should say that i'm new to this stuff...
Thats just a small part of it, but it seems like depending on which country and carrier you have lg decides where you should save your contacts by default, and all of them are set to phone memory.... If i'm right this is really stupid!! Why would they override something like that??
Now i guess i could just replace "in phone memory" with google account but i dont know the right term for it. I tried google, google accoumt and gmail as long shots but it didn't work. Can someone help me please?? Of course it's under /system/priv-apps/LGContacts.apk
Thanks
No one?
chripopper said:
No one?
Click to expand...
Click to collapse
Have tried a bunch of editing in that file now with no avail...

Categories

Resources