can I extract the contents of a mod.zip and take the .jar or .apk and copy and paste them into the framework dir of the working working folder? i tried copying a custom .apk file into the framework dir of the working folder and it went into a boot loop.
alucke
There could be several reasons for a boot loop. If I understand you correctly, you are working on a ROM using dsixda's kitchen, and you want to add an apk before flashing? Could you provide more information like what apk and what folder you are trying to add it to? I suspect it might have something to do with the signature of the apk. I'm not 100% sure but I believe that the system apks all need the same signature when flashing a new ROM.
alucke said:
can I extract the contents of a mod.zip and take the .jar or .apk and copy and paste them into the framework dir of the working working folder? i tried copying a custom .apk file into the framework dir of the working folder and it went into a boot loop.
alucke
Click to expand...
Click to collapse
If you are changing things within the framework you also need to edit the .xml files within the framework. The best way to learn is to take the stock rom and load it into a working folder. then take a custom rom that you can find all the differences to stock on when loaded on your phone and load that into the kitchen. Compare the stock roms working folder with the custom rom working folder and take note of all the differences and figure out how they were achieved. Dont just look at apk files. Look at the update script as well as the xml files in all the folders too. Repeat with another ROM and you will start to see how to change things around yourself.
I really wanted the Motorola Weather widget, so I download the system app dump of the Defy, and found what I desired. An .APK file and an .ODEX file. I have no problem installing the .APK, but what is the .ODEX file? Is it important? And if yes, than how do I install it?
You should put the odex file in the same folder where apk was copied during the installation.
Or, without installing, copy apk + odex in /system/app folder.
Just wondering if it's possible for me to overwrite certain APKs in a ROM zip with custom ones that I've found.
Specifically, the inverted/blue MMS and unlocked Exchange Email APKs to put into my AOKP zip. I'd like to be able to do this instead of having to do it post-flash.
Thanks.
Yes you can,i make custom roms with every rom like this,it really easy.Just use 7zip and replace them,just make sure they don't have different names,to be sure i usually delete old apk's first and then copy new ones instead of replacing them.
This what i do:
1 Add or replace apk's in system/app folder and delete any apk's i dont want,this improves speed and battery life.
2 Go to system/media folder and delete or replace any unwanted ringtones and delete system sounds.You can also replace BootAnimation,zip in there for custom boot animation.
3 (Optional) go to /system/frameworks folder and replace framework-res.apk and twframework-res.apk to use a custom theme,just make sure its compatible with the rom yore using.Oh,and replace SystemUI.apk in system/app folder.
And BOOM you have your own custom rom ready to flash.If you need any more tips just ask.
lviv73 said:
Yes you can,i make custom roms with every rom like this,it really easy.Just use 7zip and replace them,just make sure they don't have different names,to be sure i usually delete old apk's first and then copy new ones instead of replacing them.
This what i do:
1 Add or replace apk's in system/app folder and delete any apk's i dont want,this improves speed and battery life.
2 Go to system/media folder and delete or replace any unwanted ringtones and delete system sounds.You can also replace BootAnimation,zip in there for custom boot animation.
3 (Optional) go to /system/frameworks folder and replace framework-res.apk and twframework-res.apk to use a custom theme,just make sure its compatible with the rom yore using.Oh,and replace SystemUI.apk in system/app folder.
And BOOM you have your own custom rom ready to flash.If you need any more tips just ask.
Click to expand...
Click to collapse
Yeah I need a tip. Every time I've tried this I can't resign them.
How do I do this?
Sent from my sprint Samsung galaxy s2 Epic 4g touch with ics using cm9 on the blazing slow now network
gilbydakid said:
Yeah I need a tip. Every time I've tried this I can't resign them.
How do I do this?
Sent from my sprint Samsung galaxy s2 Epic 4g touch with ics using cm9 on the blazing slow now network
Click to expand...
Click to collapse
Resign them?You don't need to resigh them,just add the apk and that's it.
NOTE:
If you modify some apk files they will no longer install from /system/app folder and you need to resign them,but if you did not modify apk file you're good.
While rarely(about 5% of time) some apk's will not install from system/app folder.
Strange thing is that if apk wont install,if you modify it and not sign it it will install,it will install unsigned but will not install signed!
So try it,if signed apk wont install just unsign it(mod it with 7zip) and see if it does and vice versa.
But 95% of apk's will work in system/app folder with no signing or unsigning needed.Just place the apk in system/app folder and you're good.
http://forum.xda-developers.com/showthread.php?t=1568913
playya said:
http://forum.xda-developers.com/showthread.php?t=1568913
Click to expand...
Click to collapse
Its nice but not really needed,plus devs can name same apk's with different names.I ptefer seven zip because it even tells you which apps devs added themselfs to the ROM.
Hi,
I would like to share some of the apks which i have modified (customised). The reason why I wanted to share was because I gained a lot from this site and was hoping to share whichever apks I have modified. I have been modifying Samsung S3 Jellybean 4.3 apks (individual apks) and would like to upload them just incase someone would like to try them too.
Device Name: GT-I9300
Android Version: 4.3
Build Number: JSS15J.I9300XWUGML4 (I9300DDUGMK1)
These are Deodexed APKs. In order to try these apks the phone must be rooted and one can just place these modified apks in the system/app folder. For this one must have a File browser like ES Explorer or Root Browser or some other file browser installed which will let one get access to the system/app folder where one has to put the customised (modified) apks.
NOTE: Remember to make a backup of your original apk files before replacing with these modified apks, just in case you would like to go back to your original apk files.
Also say one is replacing a SecCalender.apk from this thread to your system/app folder on your phone, than search for a SecCalender.apk and for a SecCalender.odex file. If one finds both these files in your system/app folder, first make a backup copy of both these files in case one has to restore these back sometime in the future. Also you can add the extension .bak to both these file ,ie. SecCalender.apk.bak and SecCalender.odex.bak and leave them in your system/app folder itself as a form of back. Now place the SecCalender.apk from this thread in your system/app folder using the any FIle Browser (ie ES Explorer or Root browser). Also once the file has been sucessfully copied to the system/app folder, change the permission of the file to rw-r-r. Next reboot your phone and wait till everything is up before you open the modified app. While replacing other apk files the same procedure applies.
Here are the following Modified Apps:
SecCalender.apk (15.1 MB)
SamsungCamera.apk (10.8 MB)
SMemo.apk (31.4 MB)
SecNoteMyFiles.apk (3.58 MB)
====================================================================================================================
In case you do like any of the modified apks please click the Thanks Meter, as this will help me know that somebody has liked my work and I can than upload more apks which I will be modifying.
I am trying to edit the LGMessage.apk and deodex it aswell
Is it possible to deodex a single system app? My second question is if I am just changing things in the res folder and nothing to do with the odex file do I have to odex it?
The issue I am having is when I replace it in the priv-app folder and set permissions to rw-r-r then reboot. The app doesnt show up as installed.
Questions?
you can edit the apk. no need to deodex. when you replace the original just delete the corresponding .odex file and reboot