[Q] How to edit an APK for non-rooted phone - Legend General

Hi,
I would like to know how to edit an APK file (change package and process name) to install it on a non-rooted phone. I would like to use the stock 2.2 messaging app like any other third party SMS app. (on side of HTC app)
First of all, is it possible? If yes, is it really complicated?
Thanks for your help!

Related

Htc Dialer and Contacts apk

Does anyone know where i could get the apk for the htc smart dialer and contacts applications found in the rogers build?
Android Market. 3 day free trial and then £2.99
Thanks, but that is not what i mean. What i am talking about are custom applications made by htc that only appear on their custom builds, not in the market. I wanted to see if there was a way of obtaining them similar to the way of obtaining htc's custom keyboard.
screen shot or a link would be helpful
crxtasi said:
screen shot or a link would be helpful
Click to expand...
Click to collapse
sorry, couldn'd find a big enough screen shot, but click this link:
http://www.htc.com/www/product/magic/overview.html
click the "take quick tour button" and you will see exactly what i am talking about.
You could download a Roger's ROM from the dream forum and extract the .apks from there.
@thefoss
could you explain how that is done; just from the point where you extract the rogers rom.
Well I tried installing the HTC Contacts and Dialer APK from the hero build but no success says it will NOT install on This Phone. Even tried the Smart Dialer from the Market and does the same thing.
OH by the way I tried to install them on my Mytouch 3G with no success Someone help us out on this Plz
chuco469 said:
Well I tried installing the HTC Contacts and Dialer APK from the hero build but no success says it will NOT install on This Phone. Even tried the Smart Dialer from the Market and does the same thing.
OH by the way I tried to install them on my Mytouch 3G with no success Someone help us out on this Plz
Click to expand...
Click to collapse
Your def not moving over htc dialer and contacts to mytouch with out root. Its not just not happening right now. And superdial from the market installs just fine
That app is SLOW :/
If you really want all HTC stuff simply install HTC image...
The problem is that you'll need to install lot of HTC stuff with that dialer...
The idea is cool but... slow :/
HERO applications will NOT work on NON-HERO ROM's.
The HTC Smart Dialer and Contacts is NOT A HERO APPLICATION
Wadajr said:
@thefoss
could you explain how that is done; just from the point where you extract the rogers rom.
Click to expand...
Click to collapse
Go here and download the Rogers-Wiped Nandroid image. When you unzip that package there will be a collection of .img files. Go here and download Unyaffs (I have only used it on Ubuntu and I have no idea how it will work on Windows) and put it in your android-sdk/tools directory (assuming this has been added to your PATH). Make a directory called system and cd into it. Use unyaffs to extract the system.img file that you downloaded
Code:
unyaffs system.img
In that system folder there should be a bunch of folders and a few files. Look in the app folder. You will see the .apk files there.
Hope this has helped a bit!
i guess the mytouch has to be rooted for this to work on it. they wont install via appmanager, but why does htc_ime.apk work and these wont. im guessing because they are system files. yeah im a noob
Make sure you have the install from "Unknown Sources" checked... Then try again. It is in the APP manager under settings.
ive rooted my mytouch, and the apk's wont install on cyanogen 32B 3.9.9.1
i would really like to know about this as well. my mytouch doesnt have a rooted rom on it but i do have superuser permissions. can i push it using adb? i wouldnt know what commands to use.
I wanted to bring back this thread because I have the same question as the above 2 posters.
Does anyone know why the apk installer wont install the contacts apk (my phone is rooted, and I pulled the apk from a rom that I've used on this phone)?
those HTC utilities are not open source, hence they are not included in any of the cyanogen mods. the HTC framework that is needed for them to work is simply not present.
your only option is to get a rom for the rogers/tim etc which does include them..
Extracted htc_contacts.apk
I've extracted the file htc_contacts.apk and I've opened with Archive manager under Ubuntu.
I've found many many XML files, some certs... I think the installer check the phone model and then says You cannot install the apk. But if the apk is the only source for installatione, we could find the controls in it.
Am I wrong?

Install non-market Apk

Hi Guys,
Is there any way to install non-market apk to HTC hero ?
Alie said:
Hi Guys,
Is there any way to install non-market apk to HTC hero ?
Click to expand...
Click to collapse
Install an app-installer or a file manager ,such as Astro.
I think you'd better use the SEARCH function.
But the problem is i want install modified native app, appinstaller wont allow me to do that
Anyone have any experience on native app re/installation ?
you need to resign the app if you modified it.
There is a setting in the menu to allow non market apps
see
Settings -> applications - Unknown Sources
then simply navigate to the apk using the brower, it will download then click hold it to install.

Issue when trying to mod Mms.apk (BCM CM9 Rom)

Hi everybody,
I use the BCM CM9 2.2U2, and I want to mod the Mms.apk to override the SMS to MMS conversion after 4 texts.
Here is what I did:
- I used Apk-Multi Tool to decompile the Mms.apk.
- I modify /res/xml/mms_config.xml (to be precise, I replace the line "<int name="smsToMmsTextThreshold">4</int>" by "<int name="smsToMmsTextThreshold">100</int>")
- I recompile the apk, answering "y" to both questions and being careful with what Apk Multi Tool told me (basically, I deleted the files I needed to delete in the "keep" folder, ie. mms_config.xml and something.armsc-or-something-like that)
- I push the modded apk to my phone
But unfortunately, after I did that, I could not see the Mms.apk in the app drawer. I checked the permissions and the owner and they were correct (or at least, the same as the working Mms.apk).
I attached the original Mms.apk I'm trying to mod, and the actual modded Mms.apk (which does not work).?
Does somebody have an idea of what's gone wrong?
Thank you in advance!
FrancisFuku said:
Hi everybody,
I use the BCM CM9 2.2U2, and I want to mod the Mms.apk to override the SMS to MMS conversion after 4 texts.
Here is what I did:
- I used Apk-Multi Tool to decompile the Mms.apk.
- I modify /res/xml/mms_config.xml (to be precise, I replace the line "<int name="smsToMmsTextThreshold">4</int>" by "<int name="smsToMmsTextThreshold">100</int>")
- I recompile the apk, answering "y" to both questions and being careful with what Apk Multi Tool told me (basically, I deleted the files I needed to delete in the "keep" folder, ie. mms_config.xml and something.armsc-or-something-like that)
- I push the modded apk to my phone
But unfortunately, after I did that, I could not see the Mms.apk in the app drawer. I checked the permissions and the owner and they were correct (or at least, the same as the working Mms.apk).
I attached the original Mms.apk I'm trying to mod, and the actual modded Mms.apk (which does not work).?
Does somebody have an idea of what's gone wrong?
Thank you in advance!
Click to expand...
Click to collapse
I have the exact same problem! Did you find any solution?
I gave up but I've found a Mms.apk (from the latest CM9 source) which does include a option to not convert SMS into MMS (you have to change it in the settings of the app). But it is for the HTC One X, so I do not know if it works for other devices. I attach it so you can try.
Thank you
Sent from my HTC Desire CDMA using Tapatalk 2
The problem is that all apps must be signed to run on Android. Once you recompile your apk with apktool, you have to sign it with a release key (and optionally but recommended - run zipalign), before pushing it back to your phone.
The android developers guide has an excellent article on creating a set of release keys and using them to sign your apk (the apk just has to be signed with any key, it doesn't have to match the same key the original ROM authors used).

[Q] Own ROM issues?

Right.
So, when I open up .ext3 files in 7zip I notice they have "users" and "modes".
Things I'm curious of:
1. How can I remove apps in my ROM via .ext3 editing?
2. How can I install apps in my ROM (via .ext3 editing)?
3. Just simply removing the .apk for, let's say, the Phone app (BlurPhone.apk) and putting a different apk named Phone.apk, but with the same function and simply being a port from a different phone, will it be a issue?
4. GO Launcher EX/Go Locker - can it be installed in a ROM?...
Also, I got some issues regarding the MD5 Sum ("mismatched " but it actually is a duplicate ). Was it because I had a vanilla copy of my backup in the backup folder?..
Bump?...
Firtst if all, learn to make an cwm zip , its much easier to make changes that way.
To remove an app, just remove the apk file. Do the opposite when adding apps.
Any launcher can be added to rom.
Sent from my MB525 using xda app-developers app
This excellent instruction might help you with building from source:
http://forum.xda-developers.com/showthread.php?t=1593117
thanks, but sadly I'm not going to develop 4.0/4.1 stuff, only 2.3 skins for the moment. Thanks for the help tho
Another (kinda random, but hey): how's the lockscreen app named?...Or is it a sub-part of a motoblur app?

[Q] MMS.apk missing?

I have a stock Nexus 4, not rooted. I'm trying to update the MMS.apk to a version I found online, to customize the app to my liking.
I'm told to use Root Explorer, go to /system/app, and replace MMS.apk.
I went there to try it, and can't even find MMS.apk. My stock messaging app works perfectly fine, so I know it's somewhere...
What am I doing wrong?
I've attached a picture of what things look like.
EDIT: I found a search function on Root Explorer, which tracked down the file in /system/priv-app.
I apologize for making this thread. I did plenty of research before posting here, but never considered the search function. (I don't use Root Explorer normally. I downloaded it just for this.)
Mellowmarrow said:
I have a stock Nexus 4, not rooted. I'm trying to update the MMS.apk to a version I found online, to customize the app to my liking.
I'm told to use Root Explorer, go to /system/app, and replace MMS.apk.
I went there to try it, and can't even find MMS.apk. My stock messaging app works perfectly fine, so I know it's somewhere...
What am I doing wrong?
I've attached a picture of what things look like.
Click to expand...
Click to collapse
First question would be, what version of Android are you running? Secondly, which might be the most important point is, unless you are trying to install a third party app from the Play Store, the mms app is normally installed as a system app. Since you are not rooted, you won't have access to it.
Sent with my Nexus® 10 minus 3

Categories

Resources