Hey I am trying to mod some apps and there icons and backgrounds.
I remove res folder with 7zip and mod the pics and overwrite the res folder is the .apk.
Then if they are .9 files I used the program to make them .9 again but the lastest ones are not .9
Then I put the .apk into apk multi-tool modding folder
hit 25 (select the APK)
hit 1 to unzip
hit 3 to zip
hit 4 to sign
I now have 2 files the original (I guess) the singed and unsigned
I have transfered all 3 over to the SD card and I tried to install all 3
the signed and unsigned gets parse error
the original says installing then right at the last it says not installed?
I have tried on GO launcher and tunein radio. I have also tried signing them with the system app with no luck!
Any ideas?
Related
OK I have been trying to create a signed zip that contains an apk. So I assume I must sign the apk then zipalign it then make the zip, sign it and zipalign the zip file. When I do this i get a Verification error when I try to flash it.
Steps I do are;
1 create the folder structure
2 create the apk using apkbuilder
3 sign the apk with jarsigner
4 zipalign the apk
5 zip up the whole update
6 sign the zip with jarsigner
7 zipalign the zip
try to flash it and it fails.
I am using windows xp and a version of zip that doesn't add the directories.
Questions are.
Is this correct way to do this?
What tools should I be using. I have looked across xda and tried some suggestions but I cannot make the signed zip flash?
Help?
maybe this can help:
http://forum.xda-developers.com/showthread.php?t=471634
edit: also try this:http://forum.ppcgeeks.com/showthread.php?t=126517
heres my method
http://forum.xda-developers.com/showthread.php?t=732957
Hey all,
I was wondering whats the process to modify the stock multi-touch keyboard for the Droid 2? I was able to do it with the multi-touch keyboard that Punk.Kaos ported to the Eris, using some Windows batch files for extracting the apk source, compiling, signing, etc. I just can't remember for the life of me what that little program was called. Any ideas?
Thanks!
it would be nice since the space bar is soooo small i keep pressing . instead of space 70% of the times
Alright, I was able to get the program I was thinking of, it is called APK Manager. But the keyboard is a odex file... Which I don't know how to extract the XML files from... Yet.
I'd de-odex before you try to extract. It will be a lot easier. There's the method I used here.
What exactly is de-odex'ing? How will it affect my phone?
Deodexing just means that all of the stray .odex files will be put back into the correct .apk files this is done mostly for theme purposes in order to edit the services.jar file which has to be de-odexed before it can be edited. It won't corrupt anything if you do it right nothing should change on the outside the phone devs leave the .odex files out for loading reasons but nothing significant should change but you might experience a slightly slower boot up process but like I said nothing significant. Most ROM's now are de-odexed though.
So I deodexed my phone so I could work on the LatinIME.apk package. Using the APK-Manager for Linux, I was able to (0) pull the APK from my phone. Then I (9) decompiled the APK, edited the XML files as I wanted.
Now, from here I'm not entirely sure which direction to take. I tried running (13) Compile APK / Sign APK / Install APK, but I got an error saying something on how the signatures didn't match up. Then I tried running (3) ZIP APK (5) Zipalign APK then (8) ADB push, but now I don't even have the keyboard on my phone anymore.
How can I go about doing the correct way to compile my modified code and install it on my phone?
Here are the options I can do, if you're not familiar with APK Manager:
Code:
------------------Simple Tasks Such As Image Editing----------------------
0 Adb pull
1 Extract apk
2 Optimize images inside (Only if "Extract Apk" was selected)
3 Zip apk
4 Sign apk (Dont do this if its a system apk)
5 Zipalign apk (Do once apk is created/signed)
6 Install apk (Dont do this if system apk, do adb push)
7 Zip / Sign / Install apk (All in one step)
8 Adb push (Only for system apk)
-----------------Advanced Tasks Such As Code Editing-----------------------
9 Decompile apk
10 Compile apk
11 Sign apk
12 Install apk
13 Compile apk / Sign apk / Install apk (All in one step)
---------------------------------------------------------------------------
14 Batch Optimize Apk (inside place-apk-here-to-batch-optimize only)
15 Sign an apk (inside place-apk-here-for-signing folder only)
16 Batch optimize ogg files (inside place-ogg-here only)
17 Quit
****************************************************************************
Anyone? I would love to get my stock keyboard back!
Sent from my DROID2 using XDA App
Sorry for my bad english..
I found this trick my self 2 day after v2.0.0 out, and decide to share it to you all..
Since v1.2.0 i'm not update my RR3 until v2.0.0 release, because Veneno come to this great game..
And i found eds trick not working in this version, why ? Well, my research v2.0.0 using eds file in "apk" folder, but it will using eds in ".depot" folder too if eds file not found in "apk" folder, you can find "apk" folder under ".depot" folder, right ?
Now you will think we simply replace modded eds in that "apk" folder, thats wont work because all file in "apk" folder will overwrited by RR3 every we launch the game, and our modded eds will overwrited too, why ? Again..
I think it like ramdisk in android 4.3, ex: kernel overwrite vold sdcard mount point in fstab file, thats why we using build.prop to swap that mount point and not edit the fstab file because it will overwrited every boot, just like this RR3 v2.0.0, correct me if wrong, which "apk" folder generated automaticaly by RR3 every run the game..
So lets begin this trick..
You will need :
Computer with 7Zip app
ZipSigner app in your Android, you can download ZipSigner on PlaySTORE
got it guys ? Let's work..
1. First i recommended you backup your RR3 data, all in com.ea.games.r3_row or _na folder and RR3 apk too, So if something goes wrong you can restore it..
2. Find your RR3 v2.0.0.apk file
3. Open it as ZIP using 7Zip, go to res\raw and open "res.zip" file
4. In "res.zip" go to res\ and copy that eds folder, you will need that original eds folder later, thats why we should copy it..
5. In "res.zip" go to res\eds and delete all 25 plist file in that folder, done ?
6. Now go back to previous folder step up by step up by pressing backspace key in your keyboard until you get notification [ File "res.zip" was modified. Do you want to update it in the archive ? ] press OK button and close 7Zip, got it guys ?
7. Now transfer that modified RR3 apk and the copied original eds folder we copy in step 4 to phone
8. Use ZipSigner to sign that modified RR3 apk otherwise you can't instal it..
9. In ZipSigner press Choose in/out and find that modded apk, found ? Click it, make sure Key/mode is auto-testkey, now press Sign The File in the bottom.. Your signed apk will named as -signed inside that original apk file..
10. Because signature changed if you have RR3 installed on phone you will get "Aplication not installed" if install the modified apk.. So first rename com.ea.games.r3_row or _na folder to "rr3" or something different than original com.ea.games.r3_row or _na name, done ?
11. Now uninstall your RR3 app from phone, dont worry your RR3 data will not deleted if you rename com.ea.games.r3_row or _na folder to other name like i said in step 10, Uninstalled ?
12. Now rename back your com.ea folder to original name "com.ea.games.r3_row or _na.. Got it ?
13. Finally install your modified RR3 -signed apk, Done..
Now you can place original eds folder we copy in step 4 to com.ea.games.r3_row or _na/.depot folder which it can easily changed using RR3 Graphics in PlaySTORE
Run RR3 Graphics and choose your graphic quality, low. mid. high. or xtrahigh. whatever you want..
Last, i found RR3 Graphics v1.0.14 not clone AndroidMid2.plist file, only 24 file cloned, so if your phone using AndroidMid2.plist file maybe game wont run, so we have to clone AndroidMid2.plist manualy.. simply duplicate AndroidMid.plist in /.depot/eds folder and rename it to AndroidMid2.plist, and you will have all 25 file cloned in /.depot/eds from eds_backup folder (found when we use RR3 Graphics) which contain original plist file..
Thats all guys, enjoy..
my rom is stock odex i used universal deodexer and deodexed my.system/app and system/framework folders in my pc . now my question.how can i install that app and framework folders to my phone ??(i tried replace with root explorer but it does not .(how can i make thats to a flashable zip?
but
my problem is not that . i can make a flashable zip . its working fine but after i flashed old .odex files doesnt delete. how can i add it to meta inf for when flashing delete app and replace new app and same for framework
You just need to put in a simple delete line into the update script
for example
Code:
delete("/system/app/Vending.apk");
will delete the Vending.apk from the folder system/app
remember if you are manually pushing files with a root browser you need root permissions and you need to set the correct file permissions - for most apps in the app folder it will be rw-r-r
thnx
thanx i learned if i want to delete folde i will use delete_recursive
help
look .
delete(system app systemui.odex
this is working succesfully but after i flashed my zip system ui is lost . it doesnt show . i looked system app its deodexed permissions is rw--r-r its true but doesnt show . what's can i do ?
denizarca said:
look .
delete(system app systemui.odex
this is working succesfully but after i flashed my zip system ui is lost . it doesnt show . i looked system app its deodexed permissions is rw--r-r its true but doesnt show . what's can i do ?
Click to expand...
Click to collapse
most likely if the status bar just doesn't show but does not display a force closed message its because the SystemUI.apk is not correctly signed
as long as the file name is correct and it is correctly compiled with no errors the only thing left is the signing
You can sign an apk easily with zipsigner (playstore)
just copy the apk to any folder on your sd card
start zip signer
select your apk as the input
select the name you want to call it for the output (make it different from the input - you can change the name later)
select platform key as the key you wish to sign (this is for system apps for user apps use a test key)
sign the apk
once done the apk will be outputted as a zip file
change the name of this zip to the name of your apk and don't forget to change the .zip extension back to .apk
put in a flashable and flash in cwm with system mounted
you can check any errors with the SystemUI.apk by doing a logcat via adb as the phone is starting up
By searching the logcat for SystemUI you will be able to see any errors in it and why its not starting - eg Signature mismatch skipping loading
I have changed several png files (icons) in this app, deleted META-INF folder and signed using ZipSigner.
When I try to install this apk I get "Application doesn't install" (Android 2.2.2).
I try to copy apk to data/app folder, but I get "App isn't installed".
I try also one_click_signer.
Original apk worked well.
Why I can't install this app (attached).