• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Installing edited .apk files

yeah a blue battery looks so much better with this sense-able rom....now if anyone can point me to the market icon png so I can change the color on that I will actually have one of my seven screens exactly how i want it lol...been looking through the rom I have and can't seem to locate the apk for the market, not sure if it is an apk or not....
 
so anyone have any ideas as to why u can edit png's in some apk's but with like the htc battery widget using the same process as I've used with a few other apk's it won't let me install it when i'm done...does htc sign their apk's differently?
 
so this has me a little curious, and wanted to fool around with some color schemes on the apps. but im wondering....ROOT only?
if yes then those devs need to kick it into gear and figure this rollback out. stupid stupid 2.1 leak :mad:
 
been looking through the rom I have and can't seem to locate the apk for the market, not sure if it is an apk or not....

Not completely sure if its the same, but the Market icon is in /system/app/Vending.apk on the Droid.
I'd imagine it'd be the same on the Eris.
Hope that helps :)
 
is this possible on a non rooted device? i know the process would be different but would the basic idea of editing the png files to change color etc be possible for those of us who leaked?
 
Have you tried installing one of the edited apk files manually?


no. i want to get more info before i try it. i dont want to go through the hassle of doing it all only to find out that it doesnt work with a non rooted phone.

and by manually you mean using adb push commands?
 
IT WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Here's a blue battery widget for anyone who's interested: com_geekyouup_android_widgets_battery-signed.apk (58 KB)

Of course, you gotta uninstall the old one first.

Here's my documented process for editing an apk:
1: Pull .apk from /data/app/
2: Open with 7zip or whatever, edit the files you want, and put them back into the file. Don't unzip and zip it. Just drop the files back into the apk.
3: Re-sign it.
4: adb install

Exactly which process did you use to re-sign it?

I am going through a similar issue with the OpenHome.apk... I have changed a few icons inside and been unable to install the new version.

I followed the signing instructions here:
General ROM FAQ - Android Central Forums (except I performed it on .apk instead of .rom)
Using the winsign.zip posted in this forum.

However, when I tried to install that .apk, my phone went into an endless loop and would not boot and I had to do recover mode and wipe all my data.

This thread:
xda-developers - View Single Post - [HOW TO] Manuals for creating a theme
Seems to imply that signing an apk in Win7 (using his "automatic" version, which I'm not sure how much it differs from the one I used) will put your phone in a loop... exactly like what I experienced.

But I see in your profile you have Win7 also. So I'm wondering what method you used to sign your apk. Most signing methods I am finding seem tailored for ROM's... .zip's... but I don't want to do it that way, I want to sign an APP, not a ROM.
 
Yeah, use winsign. But just rename the .apk to a .zip first....
..
.
Hope that helps.

I just put the .apk (renamed to a .zip) in the winsign folder (which is in the tools folder), and run the command they give.
 
Yeah, use winsign. But just rename the .apk to a .zip first....
..
.
Hope that helps.

I just put the .apk (renamed to a .zip) in the winsign folder (which is in the tools folder), and run the command they give.

Hmm, I notice now that you say you used adb install after all that. I tried ot use App Installer (android app) in my phone to install the new apk, and that is what caused it to loop.

I have used adb install before with the SDK emulator, but never with my real phone. Not sure how to do that. Also, I'm not rooted (yet).
 
Ah. Not sure if you have to be rooted, other people said they had issues with non-rooted phones.

To adb install: just put the .apk in the tools folder, run a cmd from there (click the navbar and type "cmd"), and do "adb install appname.apk"
 
hi, i was wondering if you can help help me, i was trying to change the name and apk icon in private sms mms.apk, or can you provide me with an apk already change please
 
Does anybody know if Android 4.3 broke this method?

I am attempting to take XBMC:

http://mirrors.xbmc.org/snapshots/android/xbmc-13.0-Gotham_alpha7-armeabi-v7a.apk

And place in my newer-compiled librtmp.so file:

My Files

And this method worked for a while but now it seems to crash on 4.3 on my buddy's Nexus 7 v1.

Is there a newer way to do this besides freshly compiling an XBMC apk, which I think would be a headache and possibly cause other issues later on.

Basically my goal is to let folks have XBMC (http://forum.xbmc.org/showthread.php?tid=162307) with my updated librtmp.so in an easy (and working) apk, as if they attempt to replace it, from the offical apk, Android simply restores the original on reboot.
 
Back
Top Bottom