learning to mod - Sprint Samsung Galaxy S III

Okay, I have been reading and reading a ton about moding and even wrote my first android app to get an idea what was going on.
I know where to find the icons (using nijamorph), and am making changes but not having it show up. I am trying to change my bluetooth icon in the status bar. I have found stat_sys_data_bluetooth_connected.png and stat_sys_data_bluetooth.png in a couple different places. Have made changes but the phone doesn't change. How do I find the location of the png that the system is using??
Bob

Have you looked in systemui.apk, res, drawable-xhdpi?
---------- Post added at 04:35 AM ---------- Previous post was at 04:32 AM ----------
When i edit pngs it takes me a little bit of trial and error, unless i get some help. You could hit up Naddict, i know he will know which ones to edit.

Related

[Q] Status bar dimensions

Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
anaglich said:
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
Click to expand...
Click to collapse
u can... if u know how to decompile the framework and change sizes in the specific xml... its doable.
i never checked... but from what u saying the size is pre-set, at least i would think so cuz the status bar image is usually a png 9 image that gets stretched to the pre set size.
i dont have time to try and help u find it and/or much more... but decompliling the framework-res apk and looking at the xmls that have something to do with the status bar (they r named with "status_bar..." usually) should set u in the right direction atleast.
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
i've been making animations for the past 2 hours... so ill look real quick.. i'd bet the framework for u dont look much different when it comes to that... ill let u know where it is.
That would be amazing! Thanks again.
anaglich said:
That would be amazing! Thanks again.
Click to expand...
Click to collapse
ok... 180 would mean smaller things on the screen right?
anyways... i thought of something u can try without decompiling the apk.
do this.
pull the framework-res out from your /system/framework folder...
keep a backup just in case also.
then... open the apk with 7 zip and extract the "status_bar.xml" from the /res/layout folder.
then take the file u just pulled out and put it inside the res/layout-hdpi/ folder and overwrite the existing one.
that will give u lower sizes/values and such...
now... im not sure if that would help or make it worse... but if u feel like trying it.. knock yourself out... just keep a backup of the original framework so that u can revert.
btw... if it will work... than u would want to basically do the same with the layout-land and layout-land-hdpi folders to take care of landscape also.
there are more file that i might need to move around and such... but if that will work for u... i might be on the right track to helping u do it without decompiling anything.
keep in mind that i never tried it... and i also dont know how the whole changing the dpi even looks like.... so until i really see it and try for myself... im just guessing here.
edit:
oops... just saw u want them bigger...
my bad.
igonre what i just said.
anyways... look inside res/layout-hdpi folder of the decompiled apk.... any files that has to do with "status_bar....xml" u can edit icons sizes and text sizes in it.
i dont have your framework res file and i cant really change things up for u without having it... not to mention that i will need to try different sizes until it looks right.
for me it is set to 38 pixels... so u might wanna go bigger.
i also saw that it basically determine the sizes by the actual icon size... so im not 100% sure here about what to do exactly cuz im obviously not using the same thing as u, so i cant test it out right.
anyways... i would assume it shouldn't be hard to do if u play with some value a little bit.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
the statusbar_background.png is the file you are looking for for your status bar and many files for your icons like(stat_sys_wifi_signal_1, stat_sys_wifi_signal_2, 3 , and 4 are all for your wifi signal. They are normal png files not .9.png files so they should not be streched. I dont know if changing the size would do anything for you but you can try. The Apk Manager 4.9 will help you with decompileing and recompileing you apks, here is the link you will find it at http://forum.xda-developers.com/showthread.php?t=695701 good luck and let us know if it works.
After a change has been made, is it as simple as copy and pasting on to my phone? I have a mac so I am unable to use the Apk Manager. Additionally, it appears every .xml file is in a code unknown to me, and is not editable by changing a figure as there are no numbers visible to change.
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
anaglich said:
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
Click to expand...
Click to collapse
I believe your problem with not being able to view/edit the xml's is because straight off the phone, they are binary xml files. If you want to edit them that way you will need a hex editor. Unfortunately, the only way that I know to decompile them is through APK manager. I realize you are on a mac so if you would like, I can decompile your apk and send it back to you.

[Q] how to create direct shortcut for dialer tab?

how can i create a shortcut that will always take me to the dialer/keypad. what i mean is that if check my call log and the press return button, next time i will open phone app it will take me to the log tab which makes me to use my other hand to tap on keypad tab.
thanks
+1 for the question. I am also looking for this!
---------- Post added at 08:35 AM ---------- Previous post was at 08:05 AM ----------
Hope this helps -
http://forum.xda-developers.com/showthread.php?p=12021463#post12021463
I am trying this. will keep posted if this works.
---------- Post added at 08:47 AM ---------- Previous post was at 08:35 AM ----------
nop. that dosent work.
Hey, I found a solution (after almost year after the problem was posted)
Create a temp contact with some minimum number. ex. you can create a contact named 'dummy' and number as 0 or +91 which is applicable for every number you dial in India. Install DesktopVisualizer. then create its widget(1x1) and ask it to launch shortcut of type 'direct dial', select above created contact as target. Now, DesktopVisualizer has a limitation that from a widget, it can not directly dial a contact instead it will launch dialer tab with that number typed in there. We can use this limitation to solve our purpose. Check check box that says launch dial pad blah blah. and done. this widget click will launch dialer tab for you. the number we gave is 0 or +91, so it dose not affect dialing any number ahead.

[Q] [CM7.1] Remove Verizon Wireless from lock screen

Is there a way to remove "Verizon Wireless" from the lock screen in CM7.1 and push the clock higher? I've searched but haven't found anything.
Sent from my Incredible 2 using xda premium
I think using a metamorph theme on the lockscreen would do it. that's how I've got mine set up and I don't have a carrier label on my lockscreen. Not sure if they two are related, but it seems plausible.
---------- Post added at 12:18 AM ---------- Previous post was at 12:14 AM ----------
And what also you might try is going into your /system/build.prop file via root explorer or equivalent. If you see "Verizon Wireless" as an operator name in that file, try changing the name to { } all spaces. I would do that before deleting the operator name altogether.
Please brick up your phone before you risk backing it.
Wait a minute. Scratch that, reverse it.
take this eri.xml and place it in /data folder, use the hex editor in root explorer to change text to whatever (or just a space for blank) then reboot.
Ok, I got the text removed using the eri file, but the clock is in the same place. Is there anything else I can edit or remove in that file to make the clock be all the up to the top?
Didn't see Verizon Wireless in the build.prop file and have never used meta morph
Sent from my Incredible 2 using xda premium

Anyway to hide names of app. ?

Is it possible to hide the names of apps. on the home screen whithout a launcher ?
With a simple application ?
Merci.
click icon hold it down till see edit up top drag it then you can delete its name and the icon has no text under it
rocksyjj said:
click icon hold it down till see edit up top drag it then you can delete its name and the icon has no text under it
Click to expand...
Click to collapse
I can not reproduce at all the action...
How do you manage it without a launcher ?
When I click icon hold it down , I have only two options : delete or get information about the app.
But no way to edit or delete the name: (
oh it worked with settings icon on main screen
maybe it just works with the stock icons was
just a test ..
---------- Post added at 11:53 AM ---------- Previous post was at 11:50 AM ----------
i was on a rom also that could have been why
it dont work on stock though maybe theres a
hack for it out there
If nothing else works you can also install Desktop Visualizer, add a 1x1 or 1x1S widget and assign an app without using a name for the widget :good:

[Q] Font Query

I'm trying to find a way to make the text I'm specifying look like it's being chiselled on the background I'm setting; whether that background be a piece of wood, or a piece of marble, etc.
I tried searching around for these types of font, without much luck.
The other option I tried was to use the font options to create the effect; once again, without much luck.
Any help would be appreciated.
What kind of font options did you use?
The easiest way to do what you're asking is to find a font that looks like what you want, make the font itself semi-transparent and add a shadow offset by a couple of points to the left or right and make the shadow solid. One could also make the shadow offset by a point or two vertically to create the depth you're looking for.
---------- Post added at 12:27 PM ---------- Previous post was at 12:21 PM ----------
Dafont.com is a great place to look for fonts.
Thanks for the tip.
It's given me a good place to start. Tried some test widgets & it's heading in the right direction.

Categories

Resources