Is there any mod or something that could change the default in call picture for all calls? The default picture is horrible and creepy looking...i searched but didn't find anything??
Sent from my SM-N900T
pvchip3 said:
Is there any mod or something that could change the default in call picture for all calls? The default picture is horrible and creepy looking...i searched but didn't find anything??
Sent from my SM-N900T
Click to expand...
Click to collapse
If you're rooted you can grab the secphone.apk from your rom zip or from system/priv-app ....copy to pc and open with 7zip (or other archive reader) navigate through the res folder find the folder drawable-sw360dp-xxhdpi and I think the file you'll want to replace is "call settings default image"...the image you replace it with should match the dimensions of the original file and needs the name to match exactly to, just replace file, put the apk back on your phone, move the file into priv-app using Root Explorer (rename the current secphone.apk to secphone.apk.bak) then copy in your modded file, then set the permissions on the file followed by a reboot...done
\There are more direct methods I suppose, but with these steps you can have exactly whatever image you want.
I had the same problem. I just cropped a picture I wanted to use, sent/saved to phone, edited existing contact picture, and replaced the picture with the one I wanted. Now my picture shows, and not the bad one that was synced from where ever. It took a while because I had to do about 50 of them one by one, but it was worth it.
Related
I installed the stock MMS.apk file on my de'odexed stock rom (rooted of course). Everything worked well and the app runs, but when reading text threads there is an ugly white border around the edge of the screen, its strange. Its not present when viewing the list of conversations, only in the thread view. I'm not sure if that's how its supposed to look or not, but if not, anyone have any idea how to fix this?
I'll get a screenshot up as soon as I get home.
I first obtained the MMS.apk from the cyanogen rom, then thinking that it might be modified and thus creating my problem, I grabbed the AOSP version from this thread:
http://forum.xda-developers.com/showthread.php?t=789493
Any help will be greatly appreciated.
UPDATE:
Found another thread where people are experiencing the same issue, apparently its a problem with how sense handles the application:
http://forum.xda-developers.com/showthread.php?t=752604
I attempted to open up the Mms.apk (AOSP version) with APKtool and play around with the xml files for the UI, but wasn't able to get it to recompile and test any changes I made, the app would just crash on launch. I simply made a few changes to the colors, but I admittedly don't really know what I'm doing and it wouldn't run. If anyone who's more experienced in this area could offer some advice I'll try again.
That's a picture of the issue, it appears in both landscape and portrait mode.
Texts were blacked out just for privacy sake.
Well after a few hours of messing around in the XML files for the AOSP messaging app, I was able to find a solution to this issue. I modified the XML file to have it correctly display the black color background when using the black theme. I was not able to eliminate the border entirely, but by changing the scrollbar type from Inset to Overlay I was able to make it uniform and far more visually pleasing.
I have attached my modified Mms.apk file, feel free to test it out.
For the specifics of what I did for those who are interested:
Two files were modified in the apk
- /res/layout/compose_message_activity.xml
- /res/layout/compose_message_activity_black.xml
In both files I changed the scrollbarStyle propery to "insideOverlay", in addition to removing the reference to always show the scrollbar track.
In the black xml file I changed the background color to "@android:color/black".
The original XML files were extracted using APKTool and Recompiled to their binary format, then reinserted into the original apk without resigning.
This is awesome! ... Except it doesn't filter out the VVM message streams that come through. :|
I haven't encountered this problem though I use google voice so I'm not really sure what it is you're referring to.
Sent from my PC36100 using XDA App
ty!
beautiful ty!!!!!!!!!
Imma cry
I cant send mms!
Try turning off wifi while sending/receiving mms
no wifi
i don't have wifi on when i do this i just have 3g on so i can send mms!
i zipped the file with the one that had the white outline .is there a way to make this new apk. file into a .zip file for me ?
I'd imagine you could simply replace the APK file in your zip with my modified one and install that way. Use a program like winrar or 7zip to replace the apk within the zip.
tehpsyc said:
I'd imagine you could simply replace the APK file in your zip with my modified one and install that way. Use a program like winrar or 7zip to replace the apk within the zip.
Click to expand...
Click to collapse
sorry but i cant find either of thoses programs u mention to replace the APK file in my zip with your modified version .is there another program or a manual way of doing this process ?
how do i install this? since it's an APK, i thought i'd just install it from Astro but it says it's already installed and asked if i wanted to uninstall.
To install this you need to either delete or rename the Mms.apk that's already on your phone in the /system/app directory (I just rename to Mms.apk.bak) and then copy the modified one into that same directory followed by a restart of the phone. Because its a system app you cant install it the same way you would a regular apk, at least from my understanding.
You will need to get write access to the system directory to accomplish this (I used an app on the market called root explorer, though you can also do all this through the ADB shell)
I have been looking for this png(see attachment) I changed one in HtcContact.apk. I've found several others like it but not the correct one. it's the default contact image for when you don't assign an image to a contact.
anyone?
also, I have been editting png files by pulling the apk with android commander, then editting or replacing a png using 7zip then pushing back using commander.
any harm in this? I haven't seen any yet........
try taking a peak in the framework files. /system/framework/com.htc.resources.apk and /system/framework/framework-res.apk
No harm, just keep a backup of whatever apk you modify. If something goes wrong you will basically just get force closes until you restore the original file
Thanks, found it in /system/framework/com.htc.resources.apk
Echo2Lincoln said:
Thanks, found it in /system/framework/com.htc.resources.apk
Click to expand...
Click to collapse
Pretty cool. How did you do it? What did you modify in the com.htc.resources.apk?
editing spelled correctly
kenlperry said:
Pretty cool. How did you do it? What did you modify in the com.htc.resources.apk?
Click to expand...
Click to collapse
common_icon_default_avatar.png, people_detail_defaultphoto.png
I edited both of those pics using gimp. I'm not sure which one is the actual image for the contact list cause I got impatient and changed them both.
I sorta followed this thread>http://forum.ppcgeeks.com/htc-evo-4g-themes-mods/133616-how-theme-building-sgbz.html
what I actually did was pull com.htc.resources.apk with the program android commander (http://androidcommander.com/), open the archive with
7zip, copied the png to a seperate folder, edited with gimp, copied back to the open archive, closed the archive and then pushed back to phone.
I must tell you, my profession is in auto repair, I really have no clue what I'm doing but I am having fun and learning as I go...
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Albinoman said:
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
Not true, regular image files can (should) be able to be draged out, edited, and droped back in an apk using 7-zip.
nighthawklude99 said:
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
Click to expand...
Click to collapse
My guess would be that the apk was decompiled at some point before, but not recompiled right, or with the right program. Which phone.apk are you having issues with, the one on your phone or the one your pulling the pngs from?
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
nighthawklude99 said:
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
Click to expand...
Click to collapse
Sounds like your install of 7z may be messed up. I just tried it to make sure something didnt change in an update and it works fine for me still with default configuration.
Hi, i have a theme installed on my sgs 2 but have found a pic that i would like to add to my settings tab, heres what i have done, i took the zip file i am using and extracted framework-res.apk, i then decompiled apk and i have deleted the pic thats on my settings now and replaced it with the pic i would like to use, recompiled apk and then rezipped, however when i flashed it all seemed to go ok but phone doesnt get past the first splash screen on boot, just stays black, i am not in anyway trying to make my own theme just would really like this pick in settings tab, could someone help me as to where i have gone wrong!! Thanks in advance
sn0wman1 said:
Hi, i have a theme installed on my sgs 2 but have found a pic that i would like to add to my settings tab, heres what i have done, i took the zip file i am using and extracted framework-res.apk, i then decompiled apk and i have deleted the pic thats on my settings now and replaced it with the pic i would like to use, recompiled apk and then rezipped, however when i flashed it all seemed to go ok but phone doesnt get past the first splash screen on boot, just stays black, i am not in anyway trying to make my own theme just would really like this pick in settings tab, could someone help me as to where i have gone wrong!! Thanks in advance
Click to expand...
Click to collapse
54 views and no replies, can any one help, please!! :crying:
I assume the original image is actually in framework-res.apk?
If so, I suspect it's a decompiling/recompiling problem.
Also, if it's just a png or jpg you're replacing, there's no need to decompile - just drop the new image into the correct folder in the apk using 7-Zip.
Spannaa said:
I assume the original image is actually in framework-res.apk?
If so, I suspect it's a decompiling/recompiling problem.
Also, if it's just a png or jpg you're replacing, there's no need to decompile - just drop the new image into the correct folder in the apk using 7-Zip.
Click to expand...
Click to collapse
Hi, thanks for reply, basically i have just taken a pic from someoneone elses theme and swapped pic with that of the theme i am using so should be right format (right?) but how when i have extracted with 7zip how do i get it all back as .apk file... i used a program called formatter to do it first time!!
Don't extract it, make sure the image you want to replace is named the same and it isn't a .9.png...open the framework-res with 7zip (open archive) navigate to the necessary folder and drop your new png in. That should work
If you extract it you break the signature, that's why you're getting a bootloop.
Sent from my GT-I9100 using xda premium
sn0wman1 said:
Hi, thanks for reply, basically i have just taken a pic from someoneone elses theme and swapped pic with that of the theme i am using so should be right format (right?) but how when i have extracted with 7zip how do i get it all back as .apk file... i used a program called formatter to do it first time!!
Click to expand...
Click to collapse
Spannaa said:
I assume the original image is actually in framework-res.apk?
If so, I suspect it's a decompiling/recompiling problem.
Also, if it's just a png or jpg you're replacing, there's no need to decompile - just drop the new image into the correct folder in the apk using 7-Zip.
Click to expand...
Click to collapse
Thanks matey, just done itand it works great, didnt realise it was that easy...
EDIT: Also thanks to you m1keyb, you answered as i sent this post!! lol :good:
If the picture you're replacing is in the same apk and is the same format (png, jpg) and has the same name and is the same size (px x px) then it ought to be OK.
If the picture you want use is OK, open the apk with 7-Zip (don't unzip it), and simply drop the picture in the correct folder and it'll replace the picture that's already there.
Edit: sn0wman1 edited the post I was replying to and m1keyb replied too - lol, I'm slow!
Hey, you guys seem to know what you are talking about!!, is there a way to get a full image on my lockscreen instead of having to crop about a third of it.. Thanks again for your help
sn0wman1 said:
Hey, you guys seem to know what you are talking about!!, is there a way to get a full image on my lockscreen instead of having to crop about a third of it.. Thanks again for your help
Click to expand...
Click to collapse
resize the pic to same size as lockscreen:laugh:
Thanks matey, what size would that be?
SGS2 - 480px X 800px
Okay i'm on CM10 and I want to change the "Virgin Mobile" to my Carrier's name "Alltel" how would I go about doing this the correct way? I've searched numerous forums and have not ran across a solution that works for me.
Google about editing eri.xml I'm pretty sure that's what changes your carrier name. If you need any further help let me know.
Its inside your /system/framework/framework-res.apk in the /res/XML folder. You can use 7zip on your PC to open the apk and extract the file for modification.
Sent from my One V using xda app-developers app
whoshotjr2006 said:
Google about editing eri.xml I'm pretty sure that's what changes your carrier name. If you need any further help let me know.
Its inside your /system/framework/framework-res.apk in the XML folder. You can use 7zip on your PC to open the apk and extract the file for modification.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
I've tried a variation of that, I extracted the build.prop from the ROM I am wanting to install, 7zipped the framework apk file, extracted the eri.xml but when I open it in a HEX editor, the information is encrypted and I can't see much to edit, I tried locating the "Virgin Mobile" lines but had no luck even locating what I needed ot edit, as far as overwriting the old eri.xml placing it in the framework file, and replacing the old framework file with the altered one I can do, I am just having issues locating the information in a HEX editor, or even wordpad.
i uploaded an eri.xml that i edited to say Alltel. My phone says alltel now, use hxd (or your hex editor, i recommend hxd personally) to follow the directions on the picture attached. Highlight the words Virgin Mobile, and start typing Alltel, and you will probably have to add spaces behind it (or in 3 spaces in front of it and 3 (? or 4) spaces behind it to center it better than i did) so it doesnt change the size of the file. Save it, put it back into your framework-res.apk, and push it back to /system/framework
The eri.zip i attached is an already done copy, the instructions are just for your future reference.
Enjoy!
(make sure you have a good backup of your framework-res.apk to fall back on before you push the new one to its spot)
Awesome, took your advice, but so I can learn by doing, i just manually took apart the ROM and edited the files needed and just put them bacl, reflashed ROM, and boom, it says what I wanted, thank's alot man, greatly appreciated.