[Help] about replacing HTC_IME input from rom to rom - HD2 Android Q&A, Help & Troubleshooting and Genera

I am learning to cook the android rom for my own hd2 right now.
And of course, have installed Ubuntu in order to explorer Linux files and modify system.img
Why I want to cook the android rom? The main reason is all the rom here donot have the handwriting input which is my favor inputing tool.
So I downloaded the official Desire HD rom (like the newest TWN one) and can extract the HTC_IME.apk (and singed it) from system.img.
Then I downloaded one of MDJs' rom, modified system.img to replaced HTC_IME.apk from /system/app...... BUT after android booted, it didn't have the handwriting option for me to choose.
I am sure there may have others files link to HTC_IME.apk but I still cannot figure it out (tried to google many...many times).
Here do not have enough cooking android information for newbie like me, please thief share and teach me how to cook or install HTC_IME.apk (with handwriting) to current roms which cooked by you.
I trust once I can figure this out, others tweak should be easy.
Thanks a lot in advance. And welcome newbie to share your cooking question here.

EVO MDEEJAY 2.3 have hand writing..
Now I switch the MDEEJAY DESIRE HD4.3..
everything is better.. except I need have writing too..
Yes. please tell me how as well.. how to transfer the HTC_IME from ROM to ROM.
PLEASE AND BEGGING!!!

Have you tried copying the apk from computer to sdcard/Android/AndroidApps and do a fresh installation?

I was able to install the HTC_IME_MOD.apk from Mdeejay's rEVOlution 2.3 to to his FroYo HD v4.1, by doing a regular apk install. When I tried to copy it to the /system/apps folder it didn't work.

schoei1 said:
I was able to install the HTC_IME_MOD.apk from Mdeejay's rEVOlution 2.3 to to his FroYo HD v4.1, by doing a regular apk install. When I tried to copy it to the /system/apps folder it didn't work.
Click to expand...
Click to collapse
thanks for your information first. hv tried but with no luck.
can you install it from android directly?

I'm not sure about that, but if you mean for Android to install it, yes. I always keep all my apks in a folder in my computer. That way I can either copy it to the /android/AndroidApps folder before the initial installation or just copy it on the card and have Android install it after the initial Android installation. Either way, Android must do the installation and that's probably why copying to the systems/app file isn't working. I have 4 keyboards on my Android builds, what's the date of the apk your working with?
motoman234 posted this back in october: http://forum.xda-developers.com/showthread.php?t=810338

YES. I success too. But HTC_IME_MOD.apk from 2.3 is not the one with hand writing.
it is the build in HTC_IME in 2.3 hand hand writing...
Ummmm.... So.... I think I have to pull out the building IME from 2.3 and try again.

schoei1 said:
I'm not sure about that, but if you mean for Android to install it, yes. I always keep all my apks in a folder in my computer. That way I can either copy it to the /android/AndroidApps folder before the initial installation or just copy it on the card and have Android install it after the initial Android installation. Either way, Android must do the installation and that's probably why copying to the systems/app file isn't working. I have 4 keyboards on my Android builds, what's the date of the apk your working with?
motoman234 posted this back in october: http://forum.xda-developers.com/showthread.php?t=810338
Click to expand...
Click to collapse
thanks again.
HTC_IME.apk from RUU_Ace_hTC_Asia_WWE_1.32.707.1_Radio_12.28a.60.140e_26.03.02.08_M_release_153610_signed

after i tried to compare those two HTC_IMEs from cooked rom and stock rom. found that they are all the same. so i mounted the system.img and found somthing interesting.
.xml, default.xml ... control the handwriting function. And now i am trying to re-cook the system.img file. hope it can activate the handwriting function ...

Oh.. great.. I am waiting for your work.
All I need is to get the hand writing working on the MDEEJAY 4.3HD ROM!!

Finally, rom "[build][1.12.2010][beta] desire hd2" which cooked by cedesmith has the handwiring function now. oh yeah~~~i am so happy.
as per sample from above rom. i hv modified 234.xml, default.xml, cid_map.xml, HTC_032.xml, just added the Handwriting items on them (you can download one of the stock rom with handwriting function and copy the items from 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 zip those files as per attached files. if you want, use it directly.

willwmj said:
Finally, rom "[build][1.12.2010][beta] desire hd2" which cooked by cedesmith has the handwiring function now. oh yeah~~~i am so happy.
as per sample from above rom. i hv modified 234.xml, default.xml, cid_map.xml, HTC_032.xml, just added the Handwriting items on them (you can download one of the stock rom with handwriting function and copy the items from it).
i zip those files as per attached files. if you want, use it directly.
Click to expand...
Click to collapse
how to copy files of place????

vagrantno.13 said:
how to copy files of place????
Click to expand...
Click to collapse
i use ubuntu system to mount the (system.img or system.ext2) image and then put the files into below folders.
customize\CID
default.xml
HTC__032.xml
customize\MNS
234.xml
default.xml
and confrim such tweak also workable for MDJ FroYo HD v.4.3.
good luck

WOOO!!! THANKS.. you MAKE the HD4.3 a perfect ROM for me then.
thanks thanks!!!
Let me try it out to see if it works

willwmj said:
i use ubuntu system to mount the (system.img or system.ext2) image and then put the files into below folders.
customize\CID
default.xml
HTC__032.xml
customize\MNS
234.xml
default.xml
and confrim such tweak also workable for MDJ FroYo HD v.4.3.
good luck
Click to expand...
Click to collapse
your instruction is not clear. these are the 4 files you have in the zip.
234.xml, default.xml, cid_map.xml, HTC_032.xml
default.xml to which directory?
cid_map.xml to where??

PLEASE HELP! I need more clear instruction to how to put your 4 files in. you name list in your instruction is not clear..
Please help me make my HD4.3 a perfect ROM!!!

can u upload fix system.ext2 for MDJ FroYo HD v.4.3 file
willwmj said:
i use ubuntu system to mount the (system.img or system.ext2) image and then put the files into below folders.
customize\CID
default.xml
HTC__032.xml
customize\MNS
234.xml
default.xml
and confrim such tweak also workable for MDJ FroYo HD v.4.3.
good luck
Click to expand...
Click to collapse
can u upload fix system.ext2 for MDJ FroYo HD v.4.3 file, because i am not install linux

willwmj said:
i use ubuntu system to mount the (system.img or system.ext2) image and then put the files into below folders.
customize\CID
default.xml
HTC__032.xml
customize\MNS
234.xml
default.xml
and confrim such tweak also workable for MDJ FroYo HD v.4.3.
good luck
Click to expand...
Click to collapse
Files in your zip have HTC_032.xml, 234.xml, default.xml and CID_map.xml 4files.
your instruction did not match the 4 files.
So where this 4 files should go? there are so many Default.xml in different directory in the system.img
I cannot get it working unless you tell me where this 4 files should go exact.
or did you ZIP the incorrect files? or can you re upload the correct files?
PLEASE!!!! LET ME KNOW!!!! I NEED IT TO WORK!!!!

vagrantno.13 said:
can u upload fix system.ext2 for MDJ FroYo HD v.4.3 file, because i am not install linux
Click to expand...
Click to collapse
You don't need linux to update the files. You can install "android commander" on your PC and then update the files. Google search "android commander", download and install on your PC and update the files.
StrictlYPC

willwmj said:
Finally, rom "[build][1.12.2010][beta] desire hd2" which cooked by cedesmith has the handwiring function now. oh yeah~~~i am so happy.
as per sample from above rom. i hv modified 234.xml, default.xml, cid_map.xml, HTC_032.xml, just added the Handwriting items on them (you can download one of the stock rom with handwriting function and copy the items from it).
i zip those files as per attached files. if you want, use it directly.
Click to expand...
Click to collapse
thanks your kindly post,
and i have tried to add this files to my MDJ FroYo HD v.4.3,but it seems they are not useful.
i used R.Explore to add this files, and i have one question, if i need to replace the HTC_IME.apk in my build?
thanks your suggestion,, the perfect rom is all we needed.

Related

APK Manager Ver 5.0 - Makes Modifying Ur Apk A Breeze (Windows/Linux)

no longer supported visit http://forum.xda-developers.com/showthread.php?t=1310151
Can this be used to change the main icon of an app?
Also can it be used to theme an app?
Thanks for this!
Sent from my GT-I9100 using Tapatalk
jameslfc5 said:
Can this be used to change the main icon of an app?
Also can it be used to theme an app?
Thanks for this!
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
yes and yes
the script in v5.0 the command numbers are the same as in 4.9 ie, to read log it's still option 21 in 5.0, but under the about option it says v5.0 is this correct, or should the command numbers be different...
I keptthe options the same there is some more tweaking that needs to be done and not being the original guy who wrote this I am reluctent to change it much. This is basically a unofficial release of his script until he decides to make more updates to this but feel free to report anything that does not work or if you see a patch I might of missed or over looked a change needed
Sent from my Droid using XDA Premium App
Wow! I was looking at APK Manager 4.9 just last night but didn't download it since I noticed it hadn't been updated since last year.
I just happened to Google again right now, and noticed this 5.0 that was just released this morning.
Thanks for updating this. I'll be playing around with it tomorrow...
I'm stumped...I'm trying to run this on Vista. I have Java installed, but when I run the script I get:
Java was not found, you will not be able to sign apks or use apktool
Press any key to continue . . .
I realize this is probably not a problem with your tool, but I'd appreciate any help offered to get it working.
***Edit*** Found my problem. When I set my path for Java I used a : instead of a ; it's working perfectly now.
I have yet to be able to decompile an app with dependencies using option 10, the managers says to drag the dependee apk in this window or type its path, I can't drag and drop anything to the manager and I don't understand type in its path, do I type the path of the location of the apk on my computer or what? Also where should the framework-res be installed, in the other folder? I didn't install apk manager in my Android folder where my SDK is located it's just on my computer under a general file/folder, does it matter where it's installed? Please help, I've asked this question on the 4.9 thread but got no response...
oh yeah I forgot to mention that the apps I'm trying to decompile using option 10 are non system apps like the ones that you get from the market that can't be decompied using option 9...
has the linux version script been updated to include the option for installing resources for dependecies
adude247 said:
I have yet to be able to decompile an app with dependencies using option 10, the managers says to drag the dependee apk in this window or type its path, I can't drag and drop anything to the manager and I don't understand type in its path, do I type the path of the location of the apk on my computer or what? Also where should the framework-res be installed, in the other folder? I didn't install apk manager in my Android folder where my SDK is located it's just on my computer under a general file/folder, does it matter where it's installed? Please help, I've asked this question on the 4.9 thread but got no response...
oh yeah I forgot to mention that the apps I'm trying to decompile using option 10 are non system apps like the ones that you get from the market that can't be decompied using option 9...
Click to expand...
Click to collapse
realy no one...
This is perfect. I've been finding myself playing with quite a few apk's lately and going through a bunch in order to test them. This will save me quite a few steps. Thanks.
Great update. Thanks
Here is a log of the error when decompileing an apk. It works fine in 4.9 with apktool 1.3.1 but gives this error in your 5.0. I have seen this where one version of apktool will decompile the apk but the newer version will not.
+1
Sent from my SCH-I500 using XDA Premium App
adude247 said:
I have yet to be able to decompile an app with dependencies using option 10, the managers says to drag the dependee apk in this window or type its path, I can't drag and drop anything to the manager and I don't understand type in its path, do I type the path of the location of the apk on my computer or what? Also where should the framework-res be installed, in the other folder? I didn't install apk manager in my Android folder where my SDK is located it's just on my computer under a general file/folder, does it matter where it's installed? Please help, I've asked this question on the 4.9 thread but got no response...
oh yeah I forgot to mention that the apps I'm trying to decompile using option 10 are non system apps like the ones that you get from the market that can't be decompied using option 9...
Click to expand...
Click to collapse
First you need to make sure the path has no empty parts
C://androidfiles/apk_manager_5.0 is fine, C://android files/apk_manager_5.0 would create issues.
You only need to install new framework`s in the following cases:
1. You decompile a system apk from a different Android platform then before (Froyo, Gingerbread eg.) - in that case you install a new framework-res.apk
2. You decompile a system apk with dependencies to a 2nd framework like in Sense ROM`s or Samsung ROM`s - in that case you will in case of Sense install a new com.htc.resources.apk
You can install these with 10 option and just drag the framework in the bottom of the script window. In the rare case this fails (never happened to me), you can manually install frameworks in apktool:
open a terminal/command prompt
cd into the folder, where your apk is located
(in this example sensation)
now type this:
apktool if framework-res.apk sensation (sensation will be a tag name of the framework)
and then after type this:
apktool if com.htc.resources.apk sensation (sensation will be a tag name of the framework)
You don`t need the tags, but in case you are working on multiple projects with apktool, it makes sense. In any case I doubt you will have issues, if you drag framework to the correct area.
zelendel said:
Here is a log of the error when decompileing an apk. It works fine in 4.9 with apktool 1.3.1 but gives this error in your 5.0. I have seen this where one version of apktool will decompile the apk but the newer version will not.
Click to expand...
Click to collapse
1.3.1 is always good to have, since sometimes new apktool versions create issues (and vice versa). For that reason I always have several versions on hand so I can just drag them in "other" folder when needed.
Exactly how do I change the path to include adb.exe, which in Android SDK 12 is in the C:\Program Files (x86)\Android\android-sdk\platform-tools path.
Because Every time I launch the script in APK Manager, I get this message "Adb was not found. You will not be able to manipulate the files on your phone". I would really like to get this working. Thanks guys.
Hi.
I would have preferred to have figured this out for myself but I'm stumped here. An unmodified framework decompiles ok but any other apk fails.
{
"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've attached the log and the unmodified apk I'd like to mod.
Hi
Im trying to edit the framework-res.apk from my rom, to change the battery icons.
Im using APK manager to decompile the apk, then i replace the stat_sys_battery pngs with 30 custom ones. after that i edit the stat_sys_battery.xml and zzzstat_sys_battery.xml to include my pngs at specific battery percantages.
that all goes well, but when i try to compile the .apk i get some errors.
first i have to type y or n i its a system app.
i press y and enter
after that it says to navigate to /apkmanager/keep and delete all files i edited.
but all files in this folder is the stock ones (IE unedited)
i have tried a bunch of things:
1. do nothing and continue
I end up with a 4 KB unsignedframework-res.apk containing onlt meta info
2. I delete the stock versions of the files I edited
I end up with exactly what was in the keep folder, an .apk without the files which I deleted
3. I delete the stock versions of the files I edited, and replace them with my modified files
I end up with what seems to be what i need (when i open the .apk in 7-zip i see all of my pngs and xmls) but when i flash it i end up with the battery unknown icon
Can anyone enlighten me??
Ok, I have no more Java or adb.exe issues. The problem is, once I choose 9 to decompile, the cmd window closes and nothing gets decompiled. Any workaround for that? I tried to change the compatibility to XP sp3 but no help.

[MMS][MOD] Softbank Japan HTC Sense & Stock Mms app (updated 7 Nov)

These are confirmed working ONLY on the Android version listed below on the SOFTBANK network in JAPAN and requires ROOT ACCESS unless you are already on stock Android
SMS's and MMS's in Japan are called S'Mail. The main difference is this: You can either enter the phone number or the email of your recipient and any length of text or attachments can be sent (Works like emails, but it also uses phone numbers as an address). The problem is that unless your Rom or phone comes from Japan, you will be limited to SMS functionality only, if you are lucky.
The main problem is that the company requires a specific useragent to be specidied by the messaging app. I use Softbank here in Tokyo so I have made some tweaks get the apps to work for a few versions of Android that I have been using. I thought I would share them in the hopes of helping others out too.
ICE CREAM SANDWICH - Android 4.0.x
Stock / AOSP Android
View attachment Mms-ICS-4.0.4.apk - From stock Android 4.0.4 with only the user-agent changed. (Updated 20 Aug 2012)
View attachment Mms-ICS+Emoji.apk - Styled work from here, and useragent changed by Kremlin987(Updated 3 June 2012)
HTC Sense Instructions
I have finally found a way to get the stock Sense messaging app to work. It actually works much better than the stock android once you get it going. There is no app to install. Sense copies the UserAgent information from a default file into it's internal database the first time you boot your phone after a factory reset or new installation (data wiped). The Stock app reads the database to get the UserAgent. I created a recovery flash-able file to make it easier.
Flash View attachment SoftbankSenseUserAgent.zip (Taken from ARHD 4.1.1) or View attachment SoftbankSenseJBUserAgent31.zip (Taken from ARHD 31-4.2.2) after a full data wipe or after fresh install (FLASH BEFORE FIRST BOOT) - (Updated 4 Sep 2012)
After flash, boot device for first time.
Don't forget to add your Softbank APN details.
DONE
You can do this on your phone before you do a factory reset or edit a ROM.zip before you flash it. The IMPORTANT thing is that it's a factory reset or completely fresh (data-wipe) install. Once booted and your APN is entered the stock app should work nicely.
USEFUL TIP: Once you get this working once. Use Titanium Backup App to backup "Customization Settings Provider". Restore this on any sense ROM after this and your messages will work. This is handy if flash often and don't have time to unzip each new ROM.
JELLY BEAN - Android 4.1.x
Stock / AOSP Android
View attachment 1265527 - From stock Android 4.1.1 with only the user-agent changed. (Updated 20 Aug 2012)
HTC Sense Instructions
Exactly the same instructions as the above Sense Ice Cream Sandwich instructions, except please use this file: View attachment 1458044
INSTRUCTIONS FOR INSTALLING THE APPS:
Try this first - just download and install the apk. If the install has no errors this is the easiest way. Your good to go.
If you get an error message - (Your phone MUST have root access from here)
1. Delete the Message app from your /system/app folder (Could be Mms.apk or something different with other providers)
2. Copy and paste the downloaded MMS.apk into the system/app folder and change permissions to match the other apps in that folder
OR
2. Restart your phone and install the downloaded app as usual.
OMG, I have tried so many times with adb and apktool but just couldn't get it done!
Thanks!
Sent from my Galaxy Nexus using Tapatalk 2
Yeah it took many tries, but it worked when I changed the URL in the res/xml/config as well as the useragent.
Sent from my HTC Desire using XDA
thanks for the help..
i was using Softbank mail client before but it wont work in ICS..
this works..
i have an issue. I am not able to download attachments. if the mail dont have attachments, i can get it.. but if it have some images attached, it says downloading failed.. anything i should do?
fake_japanese_guy said:
i have an issue. I am not able to download attachments. if the mail dont have attachments, i can get it.. but if it have some images attached, it says downloading failed.. anything i should do?
Click to expand...
Click to collapse
Do you have a silver or black sim card? Which APN are you using? I can only vouch for the silver sim card with the "open.softbank.ne.jp" APN. This downloads pictures.
I don't think the MMS app was designed to be able to download other types of attachments like gmail. I'll look into it though.
Edit: looked into it. Only pictures as far as I can tell.
Here's my Mms.apk for ICS - I modified one that has Emoji support (and changed the UserAgent and URL for Softbank compatibility). Have tested receiving and sending MMS and it works fine.
It is styled after Sense and so has avatars and speech bubbles:
{
"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"
}
Brilliant thanks! I was going to do this for my new One X that arrives tomorrow. I'll put it into the first post with credits to you. Just let me know if this isn't ok.
That's fine by me. I can't take the credit for actually making the app, I got it from here, and modified the config files to use the correct user agent strings. I hope people find it useful.
I have unlocked and rooted the HTC One X (International) by All-in-One Root Tool. Still with stock ROM/Kernel, SuperSU v0.90 and CWM recovery v5.8.4.0.
But would you mind providing an instruction how to install the MmsEmoji.apk?
First rename it into Mms.apk, then use ES file explorer to install the downloaded apk, it says "an existing package by the same name with a conflicting signature is already installed".
Then try to mount system/app into R/W with the mount/system app from Google Play. Still cant copy the mms.apk into system/app folder.
PS. Watching Thunder vs Heat in the same time is not very productive
Kremlin987 said:
That's fine by me. I can't take the credit for actually making the app, I got it from here, and modified the config files to use the correct user agent strings. I hope people find it useful.
Click to expand...
Click to collapse
Changes?
What changes did you make to the source code?
I'd like to keep building this myself when versions get changed.
I did change the User Agent to iPhoneOS, but you are talking about some URL as well. What file is this, and what do i change it to?
Thanks!
@BrianInfo,
Sure. Your phone does need to be rooted, so you can remount /system/app read/write. I always do it from the bootloader, where my desire's system partition security is off. Then you can just
adb push EmojiMms.apk /system/app/Mms.apk and reboot.
You can probably do it from Android if your system partition is not security protected (S-OFF), by going to a shell, remount /system rw, and then deleting Mms.apk and putting the modified one in its place. You will need to reboot after that, though.
@viddy,
I used apktool to unpack the source code. The file you need to edit is res/xml/mms_config.xml.
Change the userAgent entry to
Code:
<string name="userAgent">iPhoneOS/3.0 (7A341)</string>
and then change the uaProfUrl to
Code:
<string name="uaProfUrl">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
I also had a problem where I could receive but not send due to the maxMessageSize being set too high. It's currently set at 307200, which is working fine. maxImageHeight is 768 and maxImageWidth is 1024, but you could probably play around with those if you wanted to see what the maximum allowed image dimensions/message size is according to Softbank. I pinched those values from dombayo's Mms.apk, and they work fine.
Then just rebuild it using apktool, and sign using jarsigner, after doing a zipalign. You're good to go!
With this it let's you be able to see emojis from iPhones? Or just allows you to send
Sent from my MB855 using XDA
Jaemo, it does both. You can also use emoji in your messages.
BrianInfo said:
I have unlocked and rooted the HTC One X (International) by All-in-One Root Tool. Still with stock ROM/Kernel, SuperSU v0.90 and CWM recovery v5.8.4.0.
But would you mind providing an instruction how to install the MmsEmoji.apk?
First rename it into Mms.apk, then use ES file explorer to install the downloaded apk, it says "an existing package by the same name with a conflicting signature is already installed".
Then try to mount system/app into R/W with the mount/system app from Google Play. Still cant copy the mms.apk into system/app folder.
PS. Watching Thunder vs Heat in the same time is not very productive
Click to expand...
Click to collapse
Go to the HTC MMS app with you root explorer. Rename to MMS.bak or delete the file. Then do either of these 2 steps:
Copy and paste the new MMS.apk into the system/app folder and change permissions to match the others in that folder OR
Restart your phone. After this just click MMS.apk and it should install normally.
will this work for Sprint?
none of these are working for me?!
Jaemo, what specifically isn't working? Emoji? Sending mms? These apks are made specifically for Softbank's network, and while they may work on sprint, we can't test that. You're probably better off getting one of the emoji-enabled mms.apk files linked from one of my posts on the first page, which is not modified to work with Softbank. But we'll need more info if we are to help you effectively. What have you tried?
Kremlin987 said:
Jaemo, what specifically isn't working? Emoji? Sending mms? These apks are made specifically for Softbank's network, and while they may work on sprint, we can't test that. You're probably better off getting one of the emoji-enabled mms.apk files linked from one of my posts on the first page, which is not modified to work with Softbank. But we'll need more info if we are to help you effectively. What have you tried?
Click to expand...
Click to collapse
it seems as if iPhone users still can't see the emoji i've sent.. I'm using jokersax's ics rom cm9 and i was able to send emoji but iPhone users still can't see it they say it gives them the box symbol.
it seems as if iPhone users still can't see the emoji i've sent.. I'm using jokersax's ics rom cm9 and i was able to send emoji but iPhone users still can't see it they say it gives them the box symbol.
Click to expand...
Click to collapse
Are you in Japan? Are you using Softbank? If yes, please write down the steps you took.
This won't work on sprint in the USA. Its only for Japan.

[HOWTO] Apk Manager ICS - decompile apk's

Hey guys iv had trouble discovering a version of apktool that would actually work on Samsung stock firmware !
Although I think I may have just found one which can decompile: HERE
This is confirmed working on CM9 .apk files.. Samsung on the other hand has been troublesome im hoping one of the dev's can offer some sort of explanation.
CRASH COURSE FOR NOOBS
First things first, you can to extract your "framework-res.apk" from "system/framework" of your rom.
You will then have to set your framework file in apktool.. Two ways of doing so:
If you have apktool installed in C:\Windows open a CMD window and type the following command: "apktool if framework-res.apk".
or
You simply rename your framework-res.apk to "1.apk" and place it in "C:\Users\<YOURUSERNAME>\framework".
You then want to extract "Apk Manager ICS" from the zip you downloaded & then place the apk you want to modify in "place-apk-here-for-modding" folder.
At this stage you can open up "Script.bat" which will execute a CMD window with a bunch of different options..
Enter "22" to set your target project, then "9" to decompile. Once the decompile completes you can then navigate to the "Apk Manager ICS/projects" folder where you will see the decompiled source of the apk.
Make your modifications to the apk and take note of the files you have edited, this is important.
To recompile select option "11". If errors persist this may be due to a incorrect commands/functions you have used in your modifications, review the log..
Navigate to "Apk Manager ICS\place-apk-here-for-modding" where you will now find a "unsigned<APKNAME>.apk". This is a recompiled version of the original apk! Or semi depending on the errors you received.
Open this file with 7zip/Winzip or what ever you use and extract the files which you had modified from the apk.. eg. SecContacts.apk\res\layout-ar-rAE\call_detail_delete.xml
You then want to open up the original apk in "Apk Manager ICS\place-apk-here-for-modding" just named "<APKNAME>.apk" in 7zip/Winzip overwrite the files with the ones you have just extracted from the unsigned version. By using this tactic you will keep the original signatures on the .apk..
Post back your results.. If anyone can add any information to this post please feel free too ! I just though id share my experiences so far.. Hopefully someone can shed a little more light!
Good luck !
God dam it, cant get it compiling anymore.. Someone figure this out please..
Well my experience with Apk Manger has been that the same one I've been using for Gingerbread works just fine on ICS, so no need for a new one necessarily. But I did find that sometimes Apk Manager could not decompile certain apks...where APKTOOL could. I do like to use Apk Manager, so I found success by decompiling them with APKTOOL, then transferring the files over to the projects folder of Apk Manager, then the rest you just do normal.
As for your instructions on how to use Apk Manager,
you did a good job describing the fundamentals of how to decompile, and recompile but I find the major flaw in your instructions is when you say "I had recieved errors when doing so.. ignore this for now." DON'T ignore that! That is saying you have an error
So if you get that error when it asks you yes or no, choose "no" and it will abort. Then type "21" and a red CMD screen will popup and run and error log. Its not real easy to read, but if you do it you will find your mistake in your edits. Correct these mistakes until you DO NOT get any errors, then proceed.
If you do this correctly and receive no errors then the "unsigned<APKNAME>.apk" that will be created in the "place-apk-here-for-modding" folder is done. Pull it out and remove the unsigned part.
The copy and paste method just leaves room for more errors, IMO. Ones that are not logged.
Good Luck!
X
EXPERIMENT said:
Well my experience with Apk Manger has been that the same one I've been using for Gingerbread works just fine on ICS, so no need for a new one necessarily. But I did find that sometimes Apk Manager could not decompile certain apks...where APKTOOL could. I do like to use Apk Manager, so I found success by decompiling them with APKTOOL, then transferring the files over to the projects folder of Apk Manager, then the rest you just do normal.
As for your instructions on how to use Apk Manager,
you did a good job describing the fundamentals of how to decompile, and recompile but I find the major flaw in your instructions is when you say "I had recieved errors when doing so.. ignore this for now." DON'T ignore that! That is saying you have an error
So if you get that error when it asks you yes or no, choose "no" and it will abort. Then type "21" and a red CMD screen will popup and run and error log. Its not real easy to read, but if you do it you will find your mistake in your edits. Correct these mistakes until you DO NOT get any errors, then proceed.
If you do this correctly and receive no errors then the "unsigned<APKNAME>.apk" that will be created in the "place-apk-here-for-modding" folder is done. Pull it out and remove the unsigned part.
The copy and paste method just leaves room for more errors, IMO. Ones that are not logged.
Good Luck!
X
Click to expand...
Click to collapse
Thanks for the input, I agree with you 100% about the error section.
My question is tho how are people decompiling camera.apk & contacts.apk to make these great mods we see.. there MUST be a way to successfully compile a sammy .apk.
Works perfectly fine with AOSP/CM9 you can decompile & recompile no problems..
I just use this great tool for decompiling samsung apks
http://forum.xda-developers.com/showthread.php?t=1053227
Sent from my GT-I9300 using xda premium
firefds said:
I just use this great tool for decompiling samsung apks
http://forum.xda-developers.com/showthread.php?t=1053227
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Any luck recompiling tho ?
I also use apkmanager i got two sets of apktool i use..
also some apk's like secsettings.apk you need to raise the heap size
for good decompile and recompile..
No problems decompile and recompile on any file cm9 or sammy roms
if you want i help you sort your prob PM me
Greets
Dragon
Wanam has provided a working APK Manager which can be found in the OP of this thread.
And also I created a batch script method for simple decompiling and recompiling but only for framework-res.apk.
I havent used any of the other repacks. I could modify it to use any apk if there is a need.
Its in my sig anyway and definitely works with framework-res.apk
fOmey said:
Any luck recompiling tho ?
Click to expand...
Click to collapse
Yep.
There is a bug in apktool.jar though.. there are problems with the decompiling of some plurals.xml which you need to fix manually
Sent from my GT-I9300 using xda premium
firefds said:
Yep.
There is a bug in apktool.jar though.. there are problems with the decompiling of some plurals.xml which you need to fix manually
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Could you provide a quick start guide to these manual fixes?
Framework-res.pk is the only file I can't recompile.
So i had a strange problem.
I do everything like this manual.
But every Time when i want to replace the framework-res.apk after it hangs in bootprocess. Its the same when i do nothing in the .apk, Just decompile and recompile.
I had this Problem on every Tool.
I want to mod the framework from CM9 on my Galaxy S2.
So what can i do? Whats the Problem?
nobnut said:
Wanam has provided a working APK Manager which can be found in the OP of this thread.
Click to expand...
Click to collapse
I confirm : working for me
I followed the instructions in the first post and got up to running Script.bat, but then I got the dreaded "Java not found" even though I have the latest java installed.
I read that the environmental variables need to be edited. Could someone give me an idea as to what the PATH should look like? Thanks in advance.
D1358531 said:
I followed the instructions in the first post and got up to running Script.bat, but then I got the dreaded "Java not found" even though I have the latest java installed.
I read that the environmental variables need to be edited. Could someone give me an idea as to what the PATH should look like? Thanks in advance.
Click to expand...
Click to collapse
Copy the path to /bin folder inside the java directory..usually c:\program files\windows\java_jdk7\bin...and then right click on computer shortcut and select properties..click on advanced and then environment variables..in the pop up box..click a new path and paste the path to the bin folder..apply it and the save it..
Sent from my iPad using Forum Runner
zoot1 said:
Copy the path to /bin folder inside the java directory..usually c:\program files\windows\java_jdk7\bin...and then right click on computer shortcut and select properties..click on advanced and then environment variables..in the pop up box..click a new path and paste the path to the bin folder..apply it and the save it..
Sent from my iPad using Forum Runner
Click to expand...
Click to collapse
So, I should type "PATH" for the variable name? This will replace the PATH value that is already there, correct? Can there be any spaces in the path?
D1358531 said:
So, I should type "PATH" for the variable name? This will replace the PATH value that is already there, correct? Can there be any spaces in the path?
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"
}
zoot1 said:
Click to expand...
Click to collapse
Ok, thanks...I'll try it ina bit. Will I.need to reboot?
D1358531 said:
Ok, thanks...I'll try it ina bit. Will I.need to reboot?
Click to expand...
Click to collapse
I don't think so..
Sent from my iPad using Forum Runner
zoot1 said:
I don't think so..
Sent from my iPad using Forum Runner
Click to expand...
Click to collapse
OK, that didn't work...I think I have to include the Apk Manager ICS in the path somewhere, maybe even the Script.bat?

{APP} Custom Rom Maker! RSL 1 [6/12]

Hey, so creating customs roms are quite fun. So I decided to develop a little application that helps new users out a bit. Now, this won't turn you into a full fledge rom developer, but will allow you to make minute customizations to an already existing rom.
Sorry, this is no longer under development However, for anyone feeling adventurous, I have uploaded the source code.
Features
ADD & Remove System Applications
Init.d Tweaks
Edit Updater-script
Build Prop Editor
Change Rom Kernels
Build Prop Presets
Zip Align all System Applications
ADD Google Apps to Rom
Sign Roms
Change Boot Animation
Download Source from Github
ADD & Remove Data Applications
ADD & Remove Ringtones
ADD & Remove Notifications
Add Superuser APK and Binary
Move System Apps to Data Folder
Pull any System/Data/Ringtone File from the Rom
Automatic Zip and Unzip of Any Rom
*New*Search Feature
{
"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"
}
New: Zipalign all System Applications
New: Init.D Tweaks
New: Download Source from Github
Future Updates: I hope to be adding more functionality in future updates..so stay tuned!
Download
RSL 1 is available on the server, run The Rom Maker.exe (from the attached zip), and it will trigger an update and update you to RSL 1.
To launch, run The Rom Maker.exe
Check below
Dude thats awesome. Trying it now!
Sent from my SGH-T959V using xda app-developers app
awesome, im gonna link this in the evo 3d, forum linking the credits to you, and leaving your dl link(for counts) in tact.................awaiting newer features patiently, keep up the good work
heres my post, hope its not a problem http://forum.xda-developers.com/showthread.php?p=29851733#post29851733
Looks good, will try.
Thanks
Sent from my MT11i using Tapatalk 2
Seems like a nice little tool for tweaking ROMs a bit. Hopefully you can add more features in the future, but even as it is, it should be handy for anyone who wants to tweak ROMs a little bit. By my understanding, it should allow the removal of preinstalled rubbish from stock ROMs, right?
I see you are using Ionic.Zip.dll the same one I used in Droid Manager for creating Custom Roms Too
But you have an issue bro
1- Make My Rom button doesn't work on the first run, I had to close and reopen the program.
2- the result zipped ROM will fail to flash in CWM & is twice in size than the original ROM
why it will fail, because if you open the result zipped file you will find a folder that has the project's title and the ROM files are inside that folder.
while CWM checks for META-INF folder on the root directory of the zipped ROM.
The reason why it's twice in size than the original ROM is because after the program unzips the base rom it doesn't delete it from workspace which causing "Ionic.Zip.dll" to include it in the result zipped rom making it twice in size than the original ROM.
Also please note that adding a data folder in the project will not lead into having anything inside /data/app after the rom is flashed because the updater-script must be modified to include the commands which tell CWM to: A- Mount Data Partition. B- Extract contents of data folder in the zipped file to Data Partition on the phone.
Also it would be better if your program doesn't fully remove the files from the hard disk, rather than just moving them to Recycle bin it's safer, since they can be retrieved
I'm sorry for that comment but I thought I would give you a quick feedback since it's the main step in making a better program
Good luck
does this support aroma installer ?
Any way,big thanks to you dude
DeepUnknown said:
I see you are using Ionic.Zip.dll the same one I used in Droid Manager for creating Custom Roms Too
But you have an issue bro
1- Make My Rom button doesn't work on the first run, I had to close and reopen the program.
2- the result zipped ROM will fail to flash in CWM & is twice in size than the original ROM
why it will fail, because if you open the result zipped file you will find a folder that has the project's title and the ROM files are inside that folder.
while CWM checks for META-INF folder on the root directory of the zipped ROM.
The reason why it's twice in size than the original ROM is because after the program unzips the base rom it doesn't delete it from workspace which causing "Ionic.Zip.dll" to include it in the result zipped rom making it twice in size than the original ROM.
Also please note that adding a data folder in the project will not lead into having anything inside /data/app after the rom is flashed because the updater-script must be modified to include the commands which tell CWM to: A- Mount Data Partition. B- Extract contents of data folder in the zipped file to Data Partition on the phone.
Also it would be better if your program doesn't fully remove the files from the hard disk, rather than just moving them to Recycle bin it's safer, since they can be retrieved
I'm sorry for that comment but I thought I would give you a quick feedback since it's the main step in making a better program
Good luck
Click to expand...
Click to collapse
Thanks a bunch for your suggestions. Wow...I just learned my lesson of why I should never leave catch statemetns empty lol. And I didn't know that about the data/app folder thing. I went back and added some code to add lines to the setup-script though I haven't tested it yet, so I'll see if that works. Haha, but thanks again for helping me catch those bugs, lol tell me if you find anymore.
SifJar said:
Seems like a nice little tool for tweaking ROMs a bit. Hopefully you can add more features in the future, but even as it is, it should be handy for anyone who wants to tweak ROMs a little bit. By my understanding, it should allow the removal of preinstalled rubbish from stock ROMs, right?
Click to expand...
Click to collapse
Thanks, and yes it will allow you to easily remove that bloatware.
kifgep said:
does this support aroma installer ?
Any way,big thanks to you dude
Click to expand...
Click to collapse
not yet, I'll try to add it in future versions.
NewPwnage said:
Dude thats awesome. Trying it now!
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Haha thanks, tell me if you run into any issues
Okay I updated the program to version 2.0.1. All the majors bugs are fixed (lol hopefully), and added a few options.
CDMA to GSM
can we use this for converting CDMA to GSM?
and if yes can comeone make a simple step by step guide?
thanks
Um wtf? I used this and now half my data on my Windows is gone. Wtf lol
invasion2 said:
Um wtf? I used this and now half my data on my Windows is gone. Wtf lol
Click to expand...
Click to collapse
Wow. How did that happen? What directory did you use as your workspace directory.
filmaker said:
Wow. How did that happen? What directory did you use as your workspace directory.
Click to expand...
Click to collapse
Not sure haha. But later that day my HD crashed, so I'm guessing your tool was not the cause of it. Thanks though. I restored and now I can use it
Sent from my HTC One S using Xparent Blue Tapatalk 2
Updated with Build Prop editor
Lol okay updated again, now you can zipalign all your system applications
Option to add GAPPS to ROM?
juan77_sonic said:
Option to add GAPPS to ROM?
Click to expand...
Click to collapse
Ha, never thought about that, I'll add it in the next update. Thanks.

[TOOL][NoobFriendly]EAIT:Easy Apk Image Themer

Today I am proud to present my new creation EAIT - EASY APK IMAGE THEMER.
DISCONTINUED
I don't use Windows anymore, so any support for this script/app is dropped.
Download from Mediafire or from ATTACHMENT.
I see sometimes peoples get very shocked after they see my modded versions of whatsapp, so I thought lets make something which helps to *any* normal android user to edit any apk.
Keep in mind that this is not much advance tool and won't be able to do all editing.
So what exactly is EAIT, it's a simple tool which extracts APK to let you edit images and then compress it back to .apk to install on your phone.
What you need?
JRE 6/7 -download it from java.com
Any good image editor like l Photoshop, GIMP or Paint.net
steps:
1. Download .rar from above.
2. Extract in C:/
3. Take backup of app(by ES explorer) you want to edit and move it to "PLACE-APK-HERE"
4. Run main application "easy apk image themer" from folder.
5. See your current apk will be listed on top.
6. Press 1 and enter to extract
7. Minimize the window and go to 'Project' folder. You'll find appname.apk folder, click on it.
8. Browse through "res" folder and see images inside drawable folders. Edit then with help of Photoshop/GIMP/Paint.NET.
Warning: rules of editing
>never edit "imagename".9.png files or you may get force close.
>If you want to replace image then choose something that has same resolution
9. After all editing maximize the window you previously minimized.
10. Press 2 and hit enter, wait for a while.
11. Press 3 and hit enter wait for a while.
12. You will find Signed-appname.apk in your "place-apk-here" folder
13. Send that app to your phone and install ( you may need to Un-install previous one)
14. Enjoy... and press thanks if you liked it
Report any bugs/problems here only.
Some images
{
"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"
}
the result:-
reserved
bump
Here is a Mediafire mirror for you
I've always wanted to make an inverted Facebook app, so I might give this a shot. Thank you for your work
I’m not trying to rain on OP’s parade, but out of curiosity, aren’t there similar tools for Windows already? Sometimes with even better GUIs like elesbb's GUI APK Tool
This looks like APK Multi Tool, minus all of the extra features. Even the folder structure is the same.
please help
i did everything as mentioned in ur tutorial. i colored some whatsapp smiles. and recompiled the apk and signed it. uninstalled my previous whatsapp and installed new one. but whenever i try to open a new contact to chat with it force closes. am attaching the edited apk. plz help me.
i didnt changed any resolution of images. just coloured them.
http://www.mediafire.com/download/ew7rgzz6qaa95uu/signed_whatsapp.apk
Interesting tool, would love it if i'd see screenshots and shared apks of modified apps! :good:
Great work.!!!
Hi Ankush,
You can use the Mediafire mirror.
http://www.mediafire.com/view/2zomqhmuoknb0gm/APK-Image-Themer_3.rar
BTW, amazing job now I can theme my apps...:good::good:
Downloaded
Ankush menat said:
Today I am proud to present my new creation EAIT - EASY APK IMAGE THEMER.
Download from dropbox
Please provide me mediafire mirror(mine account is not working properly)
I see sometimes peoples get very shocked after they see my modded versions of whatsapp, so I thought lets make something which helps to *any* normal android user to edit any apk.
So what exactly is EAIT, it's a simple tool which extracts APK to let you edit images and then compress it back to .apk to install on your phone.
What you need?
JRE 6/7 -download it from java.com
Any good image editor like l Photoshop, GIMP or Paint.net
steps:
1. Download .rar from above.
2. Extract in C:/
3. Take backup of app(by ES explorer) you want to edit and move it to "PLACE-APK-HERE"
4. Run main application "easy apk image themer" from folder.
5. See your current apk will be listed on top.
6. Press 1 and enter to extract
7. Minimize the window and go to 'Project' folder. You'll find appname.apk folder, click on it.
8. Browse through "res" folder and see images inside drawable folders. Edit then with help of Photoshop/GIMP/Paint.NET.
Warning: rules of editing
>never edit "imagename".9.png files or you may get force close.
>If you want to replace image then choose something that has same resolution
9. After all editing maximize the window you previously minimized.
10. Press 2 and hit enter, wait for a while.
11. Press 3 and hit enter wait for a while.
12. You will find Signed-appname.apk in your "place-apk-here" folder
13. Send that app to your phone and install ( you may need to Un-install previous one)
14. Enjoy... and press thanks if you liked it
Report any bugs/problems here only.
Some images
the result:-
Click to expand...
Click to collapse
Will try it soon cool tool will try to mod some apps
+1 Nice tool
himanshu.khanna said:
i did everything as mentioned in ur tutorial. i colored some whatsapp smiles. and recompiled the apk and signed it. uninstalled my previous whatsapp and installed new one. but whenever i try to open a new contact to chat with it force closes. am attaching the edited apk. plz help me.
i didnt changed any resolution of images. just coloured them.
http://www.mediafire.com/download/ew7rgzz6qaa95uu/signed_whatsapp.apk
Click to expand...
Click to collapse
You've edited one .9.png which is causing FC
So from what I am seeing, this allows you to easily edit images in apps. Does it however facilitate color changing? I'd like to theme facebook into the one team blackout has
asdfasdfvful said:
So from what I am seeing, this allows you to easily edit images in apps. Does it however facilitate color changing? I'd like to theme facebook into the one team blackout has
Click to expand...
Click to collapse
Facebook is mostly coded with HEX color codes and not Images...
You should use APKtool by brut.all
There are tons of guide available for How-to-theme-with-Apktool on XDA follow them.
Ankush menat said:
Facebook is mostly coded with HEX color codes and not Images...
You should use APKtool by brut.all
There are tons of guide available for How-to-theme-with-Apktool on XDA follow them.
Click to expand...
Click to collapse
Mhm... Apktool keeps on giving me issues. I guess I'll just love without theming
Sent from my One S using XDA Premium 4 mobile app
thanks but,
Ankush menat said:
You've edited one .9.png which is causing FC
Click to expand...
Click to collapse
how do i identify that which one is .9.png file? any suggestions?
himanshu.khanna said:
how do i identify that which one is .9.png file? any suggestions?
Click to expand...
Click to collapse
See the Image...
Those image files who have name like name.9.png will be visible as name.9 in Windows dont edit them
please help
Ankush menat said:
See the Image...
Those image files who have name like name.9.png will be visible as name.9 in Windows dont edit them
Click to expand...
Click to collapse
see i edited these files and they dont have .9.png in there name.View attachment 2479108
Sure, this is similar to some of the other apk editors out there like ApkTool/ApkMultiTool but this is NEWB friendly as the op expressed. I think this is a great program for someone just starting to learn about the android os and curious about themeing their own applications. Wish I had this tool when I first started themeing with apk multi tool. Without all the fluff and extra features, this software will be very helpful for users who are specifically interested in modifying the look of their applications. Good job Ankush
Anyone have any tips on editing Hangouts.apk? More specifically I would like to modify the emoji. Does framework-res.apk need to be included or something?
Sub'ed
OK so far so good, anyone know the name or where in the APK folder (which drawable folder) I could find the background images. I am working on the facebook messenger from my Sprint GS3.
Well I managed to edit the color of one of the pictures inside an app (ended up using the clock app) and now I cannot get it to install. I deleted the old clock and tried installing from es and also flashing from TWRP but could not find the file there (guess because it was not a .zip). Has to be in system/app folder.

Categories

Resources