Hi all,
I've modified the background and button images for the Vlingo widget, re-signed the apk, and installed. The application itself works great, and the widget shows on the screen, but nothing happens on press. Could this be because I deleted the original META_INF folder (the re-sign batch re-creates that)? Not sure what else could be causing this.
Process:
Download fresh copy of Vlingo.
Pull the apk to my PC.
Extract contents to folder.
Modify appropriate images.
Zip all files back up.
Rename to .apk.
Use sign batch file, which creates another .apk.
Rename that new .apk to com.vlingo.client.apk.
Use adb to install the new apk.
Related
I usually download my apks in my computer and send them to my phone so I could archive them or send them to friends easily. The problem is, their file names are very long and hard to read in the phone. If I rename the apk files, would it affect installation-wise, ie it will install as another 'version' of that app. So let say if i installed a renamed apk and update it with another version of the same app, would it interfere?
I've made some aesthetic changes i like to my GO Launcher EX apk, which is a non system apk. The change I made was to some dock images, which did not have the .9 extension. Everything goes smoothly until I try to install my compiled .apk. If i leave it unsigned, it won't install, but if i sign it, it will. However, when i open it, the screen flickers constantly and will not respond. I'm out of ideas.
FYI, I compile/decompile with Apkmanager and edit with Gimp.
If you're not doing any thing with 9 patch images than there is no need to decompile in the first place. Get 7zip on computer. Right click apk/7zip/open archive and you can navigate to Res/drawable-hdpi and you can extract the drawable-hdpi folder to desktop and do what you need to with the images (non 9's) and drag new edited images into the open 7zip window in the proper place close 7zip window. Once done you only need to use apk mananger to sign the apk and push back to device.
good day. using xda premium.
i want to change the colors on a couple widgets.
if i took the .apk file from the /data/app/ and copied it to my computer, renamed it from .apk to .zip, opened it and edited/changed the .png files, saved it, rezipped it and named it back to .apk and put it back in /data/app/ folder and overwrote it would that work?
GandhisEvilTwin said:
i want to change the colors on a couple widgets.
if i took the .apk file from the /data/app/ and copied it to my computer, renamed it from .apk to .zip, opened it and edited/changed the .png files, saved it, rezipped it and named it back to .apk and put it back in /data/app/ folder and overwrote it would that work?
Click to expand...
Click to collapse
I tried to do just that with SystemUI.apk and had issues. I haven't tried with any other apps. I got around it by using 7zip. Within 7zip you can look in the apk and just drag and drop you're new pngs into the apk without actually extracting and re-zipping anything.
If your not familiar with 7zip. It's a free compression app just google it.
i've heard of 7zip, not sure if i've actually ever used it before though.
do you know is /data/app/ the right place to pull the .apk file from?
Yep, I think that's right the right place for apps that you've installed. System apps are in /system/app.
Sent from my DROID X2 using XDA App
that will definitely not work. Go get 7zip... never never unzip an app. use 7zip to open the app and find your image folders. drag only those to the desktop.. or a new folder.. then edit and stick those images back into the app using 7zip.
Hi
I'm trying to move my security software apk file to the /system/app folder to make it hard reset proof. I renamed the original apk which is in the /data/app folder. I then copied the file to the /system/app folder and renamed it to the original filename. I then installed the apk, chose replace. What happend was that the app created another apk in the /data/app folder this time with a "2" behind it.
I'm guessing the apk has code in it that tells it to install there. So what I was wondering, can I set a specific default install directory, install the apk and then return it to default?
or
Where do the file go after the apk is ran, the program isn't ran by the apk because when you try and run it, it just asks to install it, not open the program. Could I move the actual app files and edit the install path in where the os stores the list of installed apps and there paths (where ever that is?)?.
Hi,
So the situations is like this:
Just got a new LG Nexus 4, NFC enabled, GREAT!!!!
But then I start using it, and the NFC sound (everytime the phone reads a nfc-tag it makes an sound) annoys me beyond belief.
So I start looking around, it seems there's no solution, except recompiling the app.
So I learn how to compile an app (noob here), using this guide: http://forum.xda-developers.com/showthread.php?t=1860115
I'm up to the point where my apk is decompiled, and I have modified the sound files, located in my decompiled files folder respectively at res/raw/start.ogg & res/raw/end.ogg.
I modded the files using audacity, lowering the volume to zero, used them to replace the original .ogg files. The file size is a bit smaller as the original ones (1Kb difference).
Next I use the recompile command: apktool b decompiled_apk_folder_with_modified_files modded_apk_file.apk
So now I have the new nfc apk file, called NfcNci.apk, with which I replace the original file in /system/app.
Next up I reboot my phone into recovery, wipe all cache and dalvik cache, and reboot again.
First thing that pops up on my screen is a force-close message, saying that the nfc-service force closed.
Anyone who can tell me what I did wrong? Or how I can fix this?
Attached are: my decompiled-files-folder (compressed to zip)
the original NfcNci.apk file
my modded NfcNci.apk file which causes the FC's.
Any help will be greatly appreciated!!!!
S.
Looks like you're still on 4.2
The latest NfcNci.apk has some more files.
And your apk is missing the META-INF folder.
I guess that this is the problem.
But you should use "adb logcat" to ensure we're on the right track.
Micky
1 thing i would recomend is not using the actual apk you just built. instead, open your new apk with a file manager such as 7zip and remove your newly compiled files out of it, then put them into the original apk from your rom using 7zip as well! thus keeping the apk's original signature
try to copy the least amount of files from one to another, so to be safe only pull out your new .ogg files, then put them into your original apk! hope this helps
ldrifta said:
1 thing i would recomend is not using the actual apk you just built. instead, open your new apk with a file manager such as 7zip and remove your newly compiled files out of it, then put them into the original apk from your rom using 7zip as well! thus keeping the apk's original signature
try to copy the least amount of files from one to another, so to be safe only pull out your new .ogg files, then put them into your original apk! hope this helps
Click to expand...
Click to collapse
Hi, I tried this, installed 7zip, and double clicked the original apk, I opende the res/raw/ directory, and only copied the files I was using: start.ogg & end.ogg. Then I close 7zip, and send the file to my phone. But as soon as I it them to /system/apps on my phone, and reboot to recovery, wiping the dalvik cache. I get FC's on reboot (NFC-service has FC'd).
Any reasons for this?
Thanks for the help, both of you!
BTW: I'm on Android 4.3 JB