HELP: How do i update files in .apk files? - Hero CDMA Themes and Apps

I have a dialer with a homer picture as the default, and rather than pushing my prior Phone.apk... i was wondering what program i can use to open the .apk file and replace that png file to something i prefer???? Also, once i update the .apk is there any special required repackaging required for it to work correctly?
Thanks in advance for any help you may be able to provide.

Use 7zip. After you install it just right click on .apk and choose open with 7zip. Double click on the /res/drawable-mdpi folder of the /.apk. Drag the new .png to that folder. It will overwrite the old .png. Close out the .apk and adb push back to phone.

jonesdana said:
I have a dialer with a homer picture as the default, and rather than pushing my prior Phone.apk... i was wondering what program i can use to open the .apk file and replace that png file to something i prefer???? Also, once i update the .apk is there any special required repackaging required for it to work correctly?
Thanks in advance for any help you may be able to provide.
Click to expand...
Click to collapse
That's a brilliant idea...lol. I should look into that for my phone

VinceOB said:
Use 7zip. After you install it just right click on .apk and choose open with 7zip. Double click on the /res/drawable-mdpi folder of the /.apk. Drag the new .png to that folder. It will overwrite the old .png. Close out the .apk and adb push back to phone.
Click to expand...
Click to collapse
Awesome. That worked nicely.
Thanks so much for your help!
I guess when i wanted to get rid of Homer... I really wasn't sure what would be better. The default dialer android wasn't my favorite, so i just threw this one together... Maybe after I think of something better I will change it again, but for now: I am happy with this versus Homer!!!!
{
"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"
}

Related

[Solved] Changing App Drawer Button on Home Screen

I'd like to change the button circled in the photo below. Could anyone help me out? Haven't had any luck finding a thread on it.
{
"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"
}
I'm pretty sure the image is located in Launcher2.apk. I was gonna make my own from the Nexus X logo, but I got too lazy. I might try again, though.
Too what ?? it cant be that hard.. should be in the Launcher2.apk
I have no clue, i've never done it before lol. That's why i was hoping someone could tell me what i need to do
all_apps_button_pressed
all_apps_button_focused
all_apps_button_normal
open launcher2.apk with winrar and replace those three files with your new image named the same thing then re-install launcher2 via adb
here is a post with a few themes for the launcher
http://forum.xda-developers.com/showthread.php?t=645660
edit: never mind this is for another launcher
I figured it out. there's a simple metamorph for the helix launcher. Thanks guys
scottypimpin636 said:
I figured it out. there's a simple metamorph for the helix launcher. Thanks guys
Click to expand...
Click to collapse
can you share your findings
its a metamorph of Launcher2, just pick an icon you want and put it in the drawable-hdpi folder and make sure you make 3 copies of it and rename to whats already in there.
download this zip and extract the folder to the AndroidThemes on your sdcard..
http://www.megaupload.com/?d=7PI8E950
Credit goes to MYxdaUSERNAME for PMing me with the info
no problem. made a post for it so its easier to find...
http://forum.xda-developers.com/showthread.php?t=654045
scottypimpin636 said:
its a metamorph of Launcher2, just pick an icon you want and put it in the drawable-hdpi folder and make sure you make 3 copies of it and rename to whats already in there.
download this zip and extract the folder to the AndroidThemes on your sdcard..
http://www.megaupload.com/?d=7PI8E950
Credit goes to MYxdaUSERNAME for PMing me with the info
Click to expand...
Click to collapse
i made it my self ur link doesn't work.
i made the home icon in the app drawer transparent so now you dont see it i love it.
just install it with metamorph if you guys want

[Theme] HTC Lockscreen custom theme

I have been tinkering around with different files on my phone, and I decided to change the HTC lockscreen up a bit for the fun of it because I thought it was bland. Here is what I came up with.
{
"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"
}
EDIT: Thanks to JsChiSurf, I figured out how to Metamorph, so I created a metamorph for this theme. Here it is
http://www.mediafire.com/?wvoiixy9o49my1p
Let me know how you like it!
Looks nice.
Your best bet is to create a MetaMorph, that can be used to apply only the graphic changes you have made to the applicable apk file. This way, you don't have to re-distribute the entire .apk, rather, just the files you've changed.
Thanks for the input. Is there any way you could link me to a tutorial?
Here is a link to a YouTube Tutorial with a nice overview of how a MM is created.
Also, easiest way to then see it done in action is to rip open an existing MM zip file and see its structure / content. If you follow the link in my signature, you can see a bunch of MM XML files that I've posted that you can use as a reference.
Alright thanks man, I'll check that tutorial out
so you want to know how to make an update script
I'm just looking for the easiest way to update a theme. I haven't checked out that MM tutorial yet. Do you think flashing as an update is easier?
Creating / flashing an update zip redistributes the entire apk file, thus undoing any other changes anyone may have previously done to the same file, which is what you are trying to avoid.
Alright, then I know that MM is the way to go. Thanks for all the help!
Ok, I looked at a couple different MM files you created JsChiSurf, and I came up with a simple one for my lockscreen. It seems to apply just fine in metamorph, but when I restart my phone, nothing changes. Am I forgetting a file ? Here is the metamorph that I used
http://www.mediafire.com/?faqi7ystsi1n55y
You have a spelling error in your folder structure. As a result, if it did apply, you may want to check your existing com.htc.resources.apk file, to see if MetaMorph ending up creating a new folder and dropping the files into that folder, based on the spelling error.
You named your sub-folder 'drawable-mpdi'. Where you have transposed the 'p' and the 'd', it should be:
drawable-mdpi
Got it working great now. Thanks alot!

[FONT] Comfortaa 1.003 font for Inspire

Comfortaa 1.003 was my favorite font on the Captivate. Here's a way you can get it on your Inspire:
Download Comfortaa.
Copy it to the root of your SD card
Downgrade Clockwork Mod to oldest version (ROM Manager --> "All ClockworkMod Recoveries" --> "2.5.1.3")
Flash the zip and reboot.
Voila, you now have one of the sexiest fonts ever. The CWM downgrade is necessary because it won't flash otherwise. You can return it to the newest version afterwards.
Preview:
{
"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"
}
Out of curiousity, is there a walkthrough you can post on how to make a flashable zip for any font that someone may want to put on their Inspire. I have a few fonts that I like and would like to do this for them....
Thanks ahead of time!
Looks great, thanks.
pat3rn5.1n.ka0s said:
Out of curiousity, is there a walkthrough you can post on how to make a flashable zip for any font that someone may want to put on their Inspire. I have a few fonts that I like and would like to do this for them....
Thanks ahead of time!
Click to expand...
Click to collapse
I don't know how it's done.. just found the zip, that's all. Sorry
dzelaya18 said:
Looks great, thanks.
Click to expand...
Click to collapse
Glad you like it. I've tried at least 5 different fonts on my Inspire and keep coming back to this one.
Thanks for sharing this. I'm really digging this font!
If you are rooted, you can download an app called "font changer" from the market and change the fonts whenever you feel like it. Just drop the .ttf file in the .fontchanger folder in your sdcard. The app will reboot for you and viola! new font.
*I email the .ttf file and move it to that folder with root explorer.
Is there any easy way to switch back to the stock font?
My question is this. Is there a way to change the font of the phone that I have purchased without the root?

Polaris Office for Kindle Fire

Hello guys!
I hope this thread would not be considered as "warez". Polaris Office is currently only distributed as a pre-loaded app, for Android devices, by different HW vendors. And there is no way, that I am aware of, to be able to buy the app if you like it or need it.
I've copied the binaries needed, from my smartphone, to test the app on my KF. And so far it is working ok. No crashes.
I am attaching the files needed to install the app, if you want to give it a try.
PS: There is an "Update" option available on the Settings menu. This is not working and will cause the app to crash. Do not use it.
Install instructions:
1- Copy the PolarisOffice.apk file to /system/app. Change the permission to rw-r--r--
2. Extract the lib.zip file. And copy the content (libpolarisoffice.so and libpolarisoffice_Clipboard.so) to /system/lib. Change the permission of both .so files to rw-r--r--
Wont work with Energy ROM..quits when trying to open new document...any advice?
myke nytemare said:
Wont work with Energy ROM..quits when trying to open new document...any advice?
Click to expand...
Click to collapse
I am sorry to hear that. Just to clarify, did you followed the install procedure (copying the files to /system/app and /system/lib)?
I will try to test the app using this rom on my device.
Sent from my Kindle Fire using xda premium
I put the files in the appropriate folder and believe i granted them access...i was a little unclear on the RW-R-R part of your description...but the files are definitely in the right spots.
myke nytemare said:
I put the files in the appropriate folder and believe i granted them access...i was a little unclear on the RW-R-R part of your description...but the files are definitely in the right spots.
Click to expand...
Click to collapse
{
"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"
}
Should look like that.
Sent from my Amazon Kindle Fire using Tapatalk 2
Veeman, thanks for the screenshoot!
myke nytemare, are the permissions set as shown in the screenshoot provided?
Sent from my Kindle Fire using xda premium

[ROOT] Motokey Working on 8.0

After broke my head a little, I finally made to work the Motokey for Moto x4 to work on our device.
{
"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"
}
Just follow this guide and be happy.
1 - Download this file and file two XML files and place on system/etc/permissions and set permissions to 644
2 - download and extract the MotoKeySystemSupport.zip and place in system/priv-app and set permissions to 644 for files APK, odex and vodex
3 - download and extract the MotoKey.zip and place in system/priv-app and set permissions to 644 for files APK, odex and vodex
4 - reboot and be happy.
Didn't work for me. The XML files delete themselves after reboot. Motokey is selectable but force closes.
mookiexl said:
Didn't work for me. The XML files delete themselves after reboot. Motokey is selectable but force closes.
Click to expand...
Click to collapse
I'm sorry to hear that, when I reboot my phone, the Moto Key shows a FC notification once, but works really good after that. I'll take a look if my XML files are missing and made some modifications just wait a little bit more
darthxa said:
I'm sorry to hear that, when I reboot my phone, the Moto Key shows a FC notification once, but works really good after that. I'll take a look if my XML files are missing and made some modifications just wait a little bit more
Click to expand...
Click to collapse
Did you ever figure out anything on the force close issue???
blake .l said:
Did you ever figure out anything on the force close issue???
Click to expand...
Click to collapse
I'm sorry dude, last week's were too trouble for me in work...I'll take a look as soon as possible...
Does/could anyone want to make a magisk mod for this?
link failure

Categories

Resources