I need android.policy.jar file under system/framework
I overwrote mine without a backup. Could someone send it to me?
EDIT: FOUND FILE
Related
[Q] Best way to merge back the ".apk" and ".odex" files to be 1 ".apk" file
Hey everyone,
I am seeking some help for some way to get the 2 files of .apk and .odex to get back to their original state of only one install-able package .apk file..
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package."
Any other ideas how I can extract a single application from Stock or Customized ROM?
I need this help for building a rom that supports multi languages that comes with Market installed within it and having root access.
Any help would be much appreciated!
omar.elhelw said:
Hey everyone,
I am seeking some help for some way to get the 2 files of .apk and .odex to get back to their original state of only one install-able package .apk file..
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package."
Any other ideas how I can extract a single application from Stock or Customized ROM?
I need this help for building a rom that supports multi languages that comes with Market installed within it and having root access.
Any help would be much appreciated!
Click to expand...
Click to collapse
It's the only way. You have to deodex the file. The error message "There is a problem prasing the package" is not a deodex message to the best of my recollection.
djmcnz said:
It's the only way. You have to deodex the file. The error message "There is a problem prasing the package" is not a deodex message to the best of my recollection.
Click to expand...
Click to collapse
Sorry I didnt get what you mean completely.
What I have tried: I used kitchen to deodex the files, copied the .apk file to my phone, tried to install it. this error message shows up!
by the way, its the same message that shows if you copy the .apk file without the .obex file to the phone and try to install it..
Any help would be appreciated!
hmmm
I would like to bring back universal inbox (from froyo to CM7 nightly, Droid X) and a few other items
no go?
omar.elhelw said:
Hey everyone,
I am seeking some help for some way to get the 2 files of .apk and .odex to get back to their original state of only one install-able package .apk file..
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package."
Any other ideas how I can extract a single application from Stock or Customized ROM?
I need this help for building a rom that supports multi languages that comes with Market installed within it and having root access.
Any help would be much appreciated!
Click to expand...
Click to collapse
U can use baksmali.jar to de-assemble and smali.jar to assemble.
U need java virtual machine
1) Download files from here http://code.google.com/p/smali/downloads/list
2) read this wiki http://code.google.com/p/smali/w/list
3) Get more Knowledge from here
http://forum.xda-developers.com/showthread.php?t=537779
4) then after converting odex to classes.dex put inside apk(Use winar and change extension of apk to zip and open with winrar and remove meta-inf
5) put classes.dex to ur zip file by draging
6) change extension to apk again
7) Download autosign apk tool
http://forum.xda-developers.com/showthread.php?t=471634
8) Sign ur apk and install
Can someone help me to merge these two files into a normal install apk package please
Merge Jobmanager.apk and Jobmanager.odex => one apk file
Thanks
coolpixs4 said:
Can someone help me to merge these two files into a normal install apk package please
Merge Jobmanager.apk and Jobmanager.odex => one apk file
Thanks
Click to expand...
Click to collapse
Try this: http://forum.xda-developers.com/showthread.php?t=1879128
I've Compiled framework-res.apk from stock SE XMP 4.0.4, it's successfully complied. then I open the new framework-res.apk and deleted 2 files ( META-INF and AndroidManifest.xml) after that i opened the old framework-res.apk and make a copy those two files ( META-INF and AndroidManifest.xml) back to the new one...then i copy to /system/framewok with permission 644...
Question is: Why it's boot loop? I didn't had any error on compiling...please......................
Framework-res.apk is highly recommended to install via Recovery, also occured bootloops long ago, however if I created Recovery-flashable .zip file, then it worked.
Hey everyone,
My stock rom on my phone has issues with MVNO's (mobile virtual network operator). Basically this means that my data connection only works when Roaming. This is a know issue that has already been fixed on several roms (but not on mine).
To fix this I would like to modify the source of the framework.jar file (`/system/framework/framework.jar`), more specific the file : `/com/android/internal/telephony/gsm/GsmServiceStateTracker.java`
To start I will list the steps I have take to show you where I'm stuck at the momoment:
- I have fully deodexed my stock rom, both the JAR files and the APK files in both /system/framework/ and /system/app
- I have downloaded the deodexed framework.jar file and extracted the classes.dex file from it
- I have decompiled the classes.dex file using baksmali to end up with several *.class files
- I have converted these *.class files to a .jar file using dex2jar
- I have unpacked opened this jar file using jdqui to end up with several *.java files
This is where I'm stuck, I need to figure out how to edit the java file I want and end up with a working framework.jar again that I can upload to my phone.
Am I doing this the wrong way? Any other way to resolve my issue? I hope to get some help from people who have experience in doing this...
Any help would be appreciated!
Bump, anyone?
Hi
I deleted odex file for my galaxy system/app ... yes i know iam idiot
but i create copy all odex files on my sd card
my phone still bootloop
can anybody create for me zip file with odex files ??? install this zip by CWM
I cant write this script and create folders to copy this files to system/app
PLS help me !
i can't post link with pack with odex files. Send on priv to somebody who want help me
Ive got a backup of the entire system on my pc but can't get it for a couple of hours
Sent from my GT-I9300 using xda app-developers app
flash the odexer script
Hi,
I have an apk that I'd like to edit, just some simple icon and xml changes. I have decompiled, edited and signed with apktool so I'm confident everything there is ok. Only problem is, it won't install.
The apk does have a odex file with it. Is it possible to edit this apk or am I wasting my time?
syztemlord said:
Hi,
I have an apk that I'd like to edit, just some simple icon and xml changes. I have decompiled, edited and signed with apktool so I'm confident everything there is ok. Only problem is, it won't install.
The apk does have a odex file with it. Is it possible to edit this apk or am I wasting my time?
Click to expand...
Click to collapse
if it is system file than place it in system/app
and set permissions and reboot
Does that include the original odex file or should I just dump it after I've edited the apk?
syztemlord said:
Does that include the original odex file or should I just dump it after I've edited the apk?
Click to expand...
Click to collapse
it work only if you have deodex it
Hello, I am running into the same problem. I want to change a setting in an apk. But I'm confused with the odex file accompanied with it.
Can I unpack an apk, change it. Rebuild it and put it back?
Do I also have to unpack the odex file and rebuild it and put it back?
I can see a lot of information about apk editing. But I can't find tools to edit an Odex?
I think I'm also confused about the odex/deodex. I just googled everything about this subject and got the tools studioandroid, but it doesn't contain anything with editing odex files....
I hope someone can help me out!
Thanks!!