[Q] feckin wallpapers! - G Tablet Themes and Apps

ok, so I pulled the launcher.apk and decompiled with an apkmanager4.9 then I replaced the existing wallpapers with new ones keeping the same names, dimensions, and file types as the original. I recompiled and all that..then I loaded the apk back onto the tab, ran the apk..but it won't install. It starts, runs, completes, but then says "not installed".
Would that be because:
A) I'm trying to install while running ADW?
B) The apk is signed incorrectly?

Related

Resigning apks

Usually when I theme an app I move it from /data/app to /system/app and then edit the files and do an update.zip to install the themed application. However, the problem with this is that I am not informed of market updates after moving the app to /system/app. Now I know that some people just edit the apk itself and resign it and that allows it to stay in /data/app.
I tried doing this, edited an apk, resigned it and that part went well. However, then I'm confused. Do I uninstall the app that's sitting in /data/app? Do I just cut and paste the new apk into /data/app? Or do I just install the new apk using Astro or something and let it overwrite the existing one.
I tried all three and it doesn't seem to work for me. It appears like everything went ok and it tells me application installed but none of the edits I make stick. Further, I noticed that in /data/app all the apks are named com.something.something.apk, whereas if you download an edited APK from some website it's usually named Facebook.apk, or Pandora.apk, etc.
So how the heck do I do this? I know the resigning is working because I edited the "Pandora.apk" that I downloaded from another source and resigned it, but when I try to pull from my phone I get the error that it either didn't install, or it does install but no changes happen.
How do you get com.something.something.apk to become Pandora.apk or Facebook.apk and then install it directly without having to do an update.zip??
anyone have a clue?
somebody anybody haha...why do my apps disappear from the app drawer after editing the apk in /data/app??
Dude i feel your pain, i've been in the same position.
Check this out it might help:
What are you editing in the apk?
http://forum.xda-developers.com/showpost.php?p=6479689&postcount=1
If your changing the name then the update can't find the apk, you cant move house but keep the same adress, you wont get your mail!!
Also if your wanting to update the edited apk, it will be overwritten by the updated version so your back to square one.
Hope this helps.
Search for apk tool, it will do what you want.

How to safely modify framework-res.apk?

So I had my first go at playing with frame-work-res.apk -- fortunately I made a backup first!
This is what I did, step-by-step (probably the hard way, but at the time, I didn't have my USB cable, left it at work).
1. Pulled a copy of framework-res.apk off of the phone.
2. Renamed to .zip (Windblows7) and extracted.
3. Modified a few images, just to see if it would work.
4. Re-created a .zip (making sure that it would be the same, structurally, as the first one) then renamed it to .apk
5. Put it onto the phone, replacing/removing existing one
I immediately got an error (expected) but then I rebooted. Wouldn't go past the boot screen.
All I did was open the .apk, modify (not replace, modified) a couple of images, then put it back onto the phone.
What am I missing?
Thanks, in advance.
I think you might need to sign the apk. Try this:
http://www.londatiga.net/it/how-to-sign-apk-zip-files/
I've never did this myself so I could be wrong
nDrg said:
I think you might need to sign the apk. Try this:
http://www.londatiga.net/it/how-to-sign-apk-zip-files/
I've never did this myself so I could be wrong
Click to expand...
Click to collapse
Thanks for that, nDrg! I'll give it a shot later.
Also, I wonder if my problem was simply that I didn't use adb push to put it back onto the phone. I didn't have my cable with me at the time, so I couldn't... perhaps I'll give it a shot when I get home tonight.
No need to rename it to .zip, just open the .apk with your application of choice and resign.
I edit mine by pulling the framework-res.apk, extract it out and whatever i change, i just drag it back into the apk. I use winrar to open my apk files. I don't even make a new zip and don't resign it either.
If I edited a full rom, lets say CM6. I would extract the framework from his rom, do w/e, put the framework apk back into the rom zip and sign the whole entire thing.
if you edit anything with .9.png and replace it without correctly modifying and recompiling you will get infinite fc's
framework-res.apk
K I've tried replacing the drawables in my framework-res.apk using better zip in Mac and winrar in windows. Then is sign the apk with signapktic on my Droid x. Then I replace it with root explorer to system/framework. I get a boot loop every time? Tried everything. Still get boot loop. What am i doing wrong?
One thing i noticed is I can save as zip in eather better zip or winrar no chances just saving the file and my macbook will no longer recognize the apk as a Unix executable fill.
ANY SUGGESTION?
Make sure you're not compressing the file, in WinRAR, you can pick 'store'

[Q] How to sign an apk??

I like the simplistic theme(metamoprh) bt it is not working for me. so i removed the orignal files n added the files from the theme in many apps. but now they arent installin so what can i do to make them work??
Do you have the android sdk installed? If not I do not believe you can sign apks. If you do, then the process is fairly easy which I've indicated below:
If you do not have it already, download 7-zip. It is a free archive viewer and extractor that enables opening and editing archives without having to extract them. Also download Stericsons autosign tool. Here is the link:
http://forum.xda-developers.com/showthread.php?t=473580
Once it is installed, simply right click on the apk and in the 7-zip options which appear, select "open archive." Once opened you can do all sorts of things like swap out images and so forth but in this instance all you want to do is delete the Meta*** folder. (The Meta folder contains the signatures.)
Once that is complete simply close the window and your apk is still intact. Now, all you need to do is drag your apk onto the autosign tool icon and it will create a copy of your apk with a -signed at the end. At this point you can delete the original unsigned one and install the signed one like you would any other apk.
Again, you need the sdk installed to sign apks. But, if you don't have it installed and there are not that many of them go ahead and post links to them and I'll sign them for you
okolowicz said:
Do you have the android sdk installed? If not I do not believe you can sign apks. If you do, then the process is fairly easy which I've indicated below:
If you do not have it already, download 7-zip. It is a free archive viewer and extractor that enables opening and editing archives without having to extract them. Also download Stericsons autosign tool. Here is the link:
http://forum.xda-developers.com/showthread.php?t=473580
Once it is installed, simply right click on the apk and in the 7-zip options which appear, select "open archive." Once opened you can do all sorts of things like swap out images and so forth but in this instance all you want to do is delete the Meta*** folder. (The Meta folder contains the signatures.)
Once that is complete simply close the window and your apk is still intact. Now, all you need to do is drag your apk onto the autosign tool icon and it will create a copy of your apk with a -signed at the end. At this point you can delete the original unsigned one and install the signed one like you would any other apk.
Again, you need the sdk installed to sign apks. But, if you don't have it installed and there are not that many of them go ahead and post links to them and I'll sign them for you
Click to expand...
Click to collapse
Does this make it possible to sign Torch (2.2) to work on 2.1 roms? Espresso for example.
really helping!!
i can signed with my own now!!
thanks!!!

"Application not installed" - frustrating error

Mods please delete. I figured out my errors and all is well.
If anyone is having trouble with this as I was, please refer to these instructions. I'm sorry, I forget who posted them but credit to whoever you are. Big help.
1. Transfer the apk from your phone to your computer. It's probably in a place like data/app or data/data or the like
2. Open the apk with 7zip. Do not extract the whole thing, just open it. Inside you'll see a folder called "res"; transfer that somewhere on your computer.
3. Inside the res folder you'll see a bunch of folders. The images you want to edit are usually in a folder labeled "drawable", but you may have to look elsewhere
4. Find the background image you want to edit. It might be labeled widget_bg or something helpful like that.
5. Edit it how you want. In the case of transparency, you want to delete the background and make it entirely transparent. Save it in the same format and do not change the name. (Note- if your file has .9.png in it, you have to open your edited version using draw9xpatch or whatever in the Android SDK and save it through that as well)
6. Drag the res folder with your modified images back into the archive, using 7zip. You might want to use a duplicate of the apk, just to have the original on hand in case something goes wrong.
8. Place the modified apk into the place-apk-here-for-modding folder in the APK Manager folder
9. Open up script.bat. Select your project using option 22.
10. Do the following things- Extract APK (1), Zip APK (3), zip as regular apk (2), sign apk (4)
At this point you should have a signed version of the apk in the place-apk-here-for-modding folder. You can transfer it to your phone now and install it. Or install it directly onto your phone through apk manager if you have ADB enabled.
Click to expand...
Click to collapse
Thanks!
Wait a minute, you click on the application from your file manager, opening it in your App Manager, and it says Application not Installed?
That makes no sense at all. The only time I've encountered that is when I've tried using an app that was stored on my SD card, which wasn't put in. That app was on my homescreen too.
I'll have the .apk on my SD card somewhere and I'll try to install in through a file explorer with the error message above.
I tried installing through Dropbox, but that also gets me the error message. I've uninstalled all applications of the same name because that's what you're supposed to do. It's weird, I know. I'm trying to work through it right now.
see OP
10char
Same problem
Hello gentlemen, i have some problem with installing "slide it keyboard" and others applications. The messages is: application not installed. I tried everything, but nothing works... Please help me.
HTC desire 2.2 froyo

[Q] Decompile Touchwiz APK

Hi All,
Has anyone here been able to sucessfully decompile/disassemble the TouchWiz APK and ODEX, for love nor money I can't do it using various tools, or if I can do it, the reassembled file doesn't work.
I'm trying to edit the
Launcher.smali
File to force it to choose screen for as the default screen as opposed to number 1 and, like I mentioned, using one set of tools causes it to fail, another completes but cannot re-compile it properly as it doesn't work once you get it on the phone?
I've attached the files (apk and Odex) in a zip file below.
Any ideas/help would be great.

Categories

Resources