[Q] Editing .XML files within an Android device - Android Software/Hacking General [Developers Only]

Wondering if anyone has tried to edit .XML files within the android txt editor... I just noticed that i can open them, modify and save them with no issues using Root Explorer but i havnt been able to try them after putting back into an .APK
Has anyone successfully done this?
Side note: Reason im trying to do it is, i want to try and set ADW Launcher default settings they way i like it. so when i replace the standard launcher with ADW in a ROM .ZIP before flashing it is all setup already.
Thanks

did you find a way to do this? I want to make some apps (launcher, dialer) to always run in background too.

Related

How to change icons?

I'm trying to change the icon of K-9 SMS on the Home screen. I thought for sure AnyCut would do this, but I haven't figured out how... any tips?
Thanks in advance.
You would have to actually repackage the installer with your own icon, and re-sign it (hoping that it will still install). And everytime you update the program, you would have to repeat those steps. Icons are embedded in the .apk files.
I had an idea, but again have no way to do it(or if it's possible). In windows you can create a simple shortcut to point to anything that can use any icon. Couldn't some sort of 'shortcut' file or apk be written that launches "your app here" and links to a seperate image? a sort of workaround to opening the apps apk. idk just ramblin..
I'm sure most of the home screen replacements that are coming out will also have this power. it'll probably just cost a bit.
you should refer to this thread (http://forum.xda-developers.com/showthread.php?t=482718) for steps on how to modify themes on non-stock apps. i've been able to change the icon for k-9 and a handful of other apps. you will need to install the sdk and stericson's auto-signer first before you do anything. then, it's just a matter of deleting the meta-inf folder, changing the icon and re-signing the .apk.
good luck.
I've tried adding my own icon to the JFupdater and it wouldn't install. Maybe I was doing something wrong.
TruLuvNvrDies said:
you should refer to this thread (http://forum.xda-developers.com/showthread.php?t=482718) for steps on how to modify themes on non-stock apps. i've been able to change the icon for k-9 and a handful of other apps. you will need to install the sdk and stericson's auto-signer first before you do anything. then, it's just a matter of deleting the meta-inf folder, changing the icon and re-signing the .apk.
good luck.
Click to expand...
Click to collapse
Is this how you add a personal picture to the home screen?
The personal pictures are actually quite easy, just long press the today screen, choose 'Widget' and select picture frame. Then select the picture you want to use. I'm not sure but I think BetterCut has the ability to change other icons.

Launcherpro and HelixLauncher2 question

well i have really been interested in customizing the look of my nexus one lately and i have gotten a few things done, still in the learning stage if i say so myself. any who, i have been trying out these different home replacements. i cant seem to find HelixLauncher2 in the market so i went on the internet to get the apk file. i install it but get force close every time i try to boot it up. is something wrong? im on 2.2
also, i have seen what people have done with launcher pro and i like. my question is, can i change the middle home button (with all the little boxes) of launcherpro or ADW launcher (my two favorite launchers) or even helix launcher if i can get it to work. i have seen it done and i want to do this to my phone n since im new to this whole home replacement customization, can some one tell me how to replace this middle icon or point me to a tutorial? this would be really helpful to me
HL and HL2 use "private" APIs and are also not compiled for 2.2. Therefore, you'll get an FC-loop
You can change the middle icon in adw or launcher pro if you have the know how...it's easy, just look up adb stuff and learn to pull, push, and copy files.
GNja said:
You can change the middle icon in adw or launcher pro if you have the know how...it's easy, just look up adb stuff and learn to pull, push, and copy files.
Click to expand...
Click to collapse
well i been lookin around for a bit and nothing. i read the noob article about adb but are there any instructions specifically set for the middle icon??
Pull the apk, update the image files (use storage, no compression), push the apk, restart launcher. I won't go into signing, but some launchers may require it. Nandroid often.
http://forum.xda-developers.com/showpost.php?p=6707110&postcount=1644

[Q] Change Icons to Stock Android?

hey everyone, not sure if this belongs in the general or development forum, but I figure I'll wing it. I was wondering if anybody new a way to change the app icons to the stock android ones? I have already tried using Better Cut with the icon pack but they looked pixelated, so I tried it with high res downloaded ones, and, wouldn't you know it, still pixelated. So I was wondering if there was a way to actually fully change the icon (not just make a shortcut with a new one). If so how would I go about this in a way to avoid pixelation, also, I wouldnt mind rooting to achieve this.
Thanks ^_^
I've been wondering about this myself. From what I've read, you're supposed to change the .png icon within the .apk file of the app. Problem is, I'm not sure if I have to re-install the .apk file for the new icon to take effect. Also, can I just move a .png icon to the .apk within the phone?

OFFICIAL: MIUI - Share your customized icons here and mini-HOWTO.

So miui had been great and allows us to customize our own icon on launcher. So I thought maybe we can share our icons here for theming needs.
Some background for those who are not aware of what this is.
In MIUI, at first boot after flashing, miui will rip through your list of apps in /data/app/ and extract the icon associated with that app and put it into the "/data/system/customized_icons_1" folder. For instance, if I have the appbrain app on my /data/app/, there will be a corresponding PNG file in /data/system/customized_icons_1/com.appspot.swisscodemonkeys.apps.png.
Now what do you do with this PNG file?
First of it's an image file, and if you do theming or for some reason you don't like the default icon, you can certainly replace them with newer icon.
So cool, how do I replace the default icon?
OK, so go find an icon of your choosing in PNG format and specific size (check mine for sample). Rename your new PNG to the exact same name of the app, so in my example the new icon I downloaded named "someofthepic.png", then I'll rename it to "com.appspot.swisscodemonkeys.apps.png" to match with appbrain.
After you renamed it, upload these to /data/system/customized_icons_1/ and reboot your phone. You will then have a brand spanking new icons.
This process can be applied to newly installed apps as well.
CREDIT: these icons are from Suave HD theme I got over miui forum.
I know the app but not sure what is the related "system" name of the app, what do I do?
Head over to http://www.androlib.com/, put in the name of your app, in my example it'll be "appbrain" and search. Scroll to the middle of the page, the section above screenshot will have what is call a "Package Name". This is the one that you need to copy&paste.
EDIT: these customized icons will only work if your apps are located on /data/app and if MIUI launcher parsed it to create an icon in /data/system/customized_icons_1 folder. For maps and other which is system apps, you will have to tinker with the apk itself or the framework-res.apk
Thanks for the write-up, I swapped a couple of icons (Yahoo!, facebook, ScanLife and Spare Parts..) and plan to make more custom icons to match for the others I have installed now..
Great guide. Already been doing this since miui started on the evo, but go od to show others
-Swyped away on my addiction
Thanks for the how to! Already put my newfound knowledge to use!
cool dudes, glad it helps out...
After following the steps to change the icons. It worked after the reboot but after subsequent reboots, Miui reverted back to the original icon. I am using version 11.5 stable. Any thoughts as to why this may be occurring?
robert_ayala said:
After following the steps to change the icons. It worked after the reboot but after subsequent reboots, Miui reverted back to the original icon. I am using version 11.5 stable. Any thoughts as to why this may be occurring?
Click to expand...
Click to collapse
+1
Same here. Some of the ones I changed are still my custom icon, where the others reverted back to the original ones.
I'm trying to change my Google maps app icon and I cant
Yup I got it to work but after a couple of reboots and and some mounts to the computer, some of them reverted back to default and after a check inside the customzied_icon folder they had reverted there to and after a delete of the file and a copy with the new icon it directly reverted back.
Freddan80 said:
Yup I got it to work but after a couple of reboots and and some mounts to the computer, some of them reverted back to default and after a check inside the customzied_icon folder they had reverted there to and after a delete of the file and a copy with the new icon it directly reverted back.
Click to expand...
Click to collapse
I had the icons there and reboots countless of times but not reverting back. What you experience is that might be some of the apps got updated in market and therefore, icons revert back obviously, and yes you have to replace them again.
Maybe I'm missing something, but I couldn't find the folder "/data/system/customized_icons_1" anywhere, not on my phone, or on my sd card

[Q] Handcent Skin Packs

So now that Handcent has released skin packs I've been trying to find a way to basically rip open the skinpack APK and replace the images and whatnot to create my own skins. I haven't found a solution thus far and I was hoping the experts here could help me out. I've opened it up in APK Edit and attempted to swap images but it won't install. I'm not sure where I went wrong but I'm curious on how one of you would approach the process.
I assumed APK Edit would resign the *.apk file but maybe that's what I'm missing. I'll keep pecking away at it and see what I can come up with but any assistance would be aweome.
Hi
Any news on this? Would really like to see some Custom skins soon.. and the ability to create own... and customize for example the popup and such
Bump for interest
Kyo Kenshin said:
So now that Handcent has released skin packs I've been trying to find a way to basically rip open the skinpack APK and replace the images and whatnot to create my own skins. I haven't found a solution thus far and I was hoping the experts here could help me out. I've opened it up in APK Edit and attempted to swap images but it won't install. I'm not sure where I went wrong but I'm curious on how one of you would approach the process.
I assumed APK Edit would resign the *.apk file but maybe that's what I'm missing. I'll keep pecking away at it and see what I can come up with but any assistance would be aweome.
Click to expand...
Click to collapse
Try MetaMorph
http://code.google.com/p/android-metamorph/wiki/MetaMorph

Categories

Resources