Problems with deodexing xperia active - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

when i try to deodex my xperia active ,at point 3 (Deodex / system / app) it says error no ODEX files found ??
i have tried it with xultimate 2.4.2
i am on stock rom ics 4.1.B.0.431 an its rooted
but i did all like it is described in this post : http://forum.xda-developers.com/show....php?t=1600805
in my case it just creates .apk files in the folder origi_app but there must be .ODEX files in it
but it don't matter how often i repeat [(1) pull /system/app] it only create .apk files

Related

[Q] Manual deodex an rom before flashing?

I'm searching for a simple way how can I deodex any rom. My idea is to rename the *.odex file to classes.dex and put it into the apk/jar archive using a simple archive manager. Will this work? I don't like any scripts to do that, will make it manual before flashing the rom. And need I to sign the apk/jar files (I think the normal apk files need that, but what witch the framework? Need it too to be resigned?).
no use xultimate
Sent from my GT-S5830 using xda premium
sometimes scripts is better to make your life easier
btw try dsixda android kitchen. its my favorite tool/script to deodex
Hmm ok will try first the dsixda android kitchen, I see it has version for Linux. But I will understand how this script works?
EDIT
Ok, now I see, it uses baksmali and samli to deodex. Thanks to all, will test it tomorrow.
Ok, after using the dsixda android kitchen and deodexing the framework (and SystemUI.apk, not more) and flashing the ROM I got an bootloop (wipe doesn't help). Her is my logcat http://pastebin.com/DtfChnPp , can some help, what did I wrong? I have only after deodexing apply the volume mod and the Pdroid patch, I am working on this rom http://forum.xda-developers.com/showthread.php?t=1360889
try this
download xultimate, theres a thread about it somewhere. unzip it and connect your phone with the rom thats .odex http://forum.xda-developers.com/show....php?t=1360889
next
once connected click on opition 5 which will pull all the apps and framework files from your phone and will deodex all the files and store them in the folder called "done_app" and "done_framework" may take up to 15mins
next
change the folder names of the done folders to "app" and "framework" and have both folders and the rom.zip that you installed pre at hand, in your case
http://forum.xda-developers.com/show....php?t=1360889
Then open the rom.zip up with 7zip and then click on system folder and drop "app" and "framework" folders into the rom.zip so your swaping the the folders with the .odex files for the deoxed ones you just did. put it on sd-card. wipe, mount system and data and install.
correct me if im wrong.
hope this works.

[Q] problem with framework-res.apk

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.

[Q] Deodex my rom

Hallo guys, I trying deodex my rom a week but it did not work as well. Successful only half the rom. Please help me, I have tried many ways to including XUltimate exactly.
Rom here: http://www.mediafire.com/?qj9hllq7cp6uuqj
Sorry for ugly english
What is your phone?
If is an Motorola, here is the tutorial:
Deodexing Explained + How To
So you want to theme… but you keep hearing about all this deodexing stuff… so whats that all about?
Stock android implements an odex file structure; for every (well…most) system app(s) (.apk file) and framework files (.jar) there is a corresponding .odex file, so for example you have;
/system/app/Phone.apk
/system/app/Phone.odex
/system/framework/com.motorola.android.mediasync.jar
/system/framework/com.motorola.android.mediasync.odex
What do the .odex files do?
All of your apps on your device are packaged as .apk files; these files are compiled from google source code and can interchangeably be viewed/thought of as a compressed folder (like a .zip or a .rar); and all of your framework components (well most…) are packaged as .jar files which literally stands for Java Archive (so again this can be compared to a .zip or a .rar).
When the android OS want’s to run your apps or utilize its framework components, it has to parse (read/interpret) the compressed data held within your .apk and/or.jar files. What the odex file structure aims to do, is to expedited this process by utilizing another file (.odex file) to compliment every.apk file (and .jar file); the odex file, includes the most critical data in an uncompressed format so the android os can quickly interpret that important information before parsing through the rest of the data held within the compressed .apk files (and .jar files). So subsequently, in an .odex file structure the .apk & .jar files don’t include all of the applications/framework-components data; Essentially, two files are acting as one; for your apps there are .apk files + their corresponding .odex file and for your framework components there are .jar files + their corresponding .odex file. This works nicely as an optimized file structure, except in the circumstance when the user want’s to theme; theming requires a modification to your .apks; the image files (.pngs) held within the pngs are replaced with different ones. However it is impossible to theme an application if it exists as two files. So that is why it is said you need to be DeOdexed in order to theme; DeOdexing is the process of re-bundling that uncompressed critical data (.odex files) back into your compressed .apk (& .jar) files, so that now all of the data is included in the .apk files necessary to run your applications without the presence of .odex files; in addition all the data is now included within the .jar files necessary to utilize your framework components without .odex files. In a DeOdexed file structure, there are no odex files present.
What are the benefit’s of DeOdexing?
Simple. To be able to theme a stock ROM.
Deodexing doesn’t speed your phone up or do anything of the sort.
It is simply something that is necessary to be able to theme a stock ROM.
How do you DeOdex?
One way you can deodex is to use the application xUltimate which actually rebundles that information for you. Another way, is to use a pre-made DeOdexer Update.zip; this zip already has all the repackaged fully compressed .apk files and utilizes code in the update script to delete all of the odex files present. So essentially all it’s doing is overwriting all your old semi data inclusive .apk files with fully inclusive ones and then deleting the (now) superfluous .odex files. This is the easiest way to do it, since all the work is already done for you. Just flash it in clockwork as you would for any theme:
Download it
Place it on your sdcard
Open Droid X Bootstrap
Hit Bootstrap Recover > Ok > Reboot Recovery
Navigate to ‘Install zip from sdcard’ with volume keys and select with camera button
Navigate to ‘Choose zip from sdcard’ and select
Navigate to the directory containing the above deodexer zip
Select it > Yes
Wait for it to do its thing > reboot system
You are now deodexed.
How can you check to see if you DeOdexed successfully?
Open a file explorer (like Root Explorer or Astro)
Navigate to the directory /system/app
Check for the presence of .odex files
Navigate to the directory /system/framework
Check for the presence of .odex files
If there are no odex files present then you are deodexed!
Now you can theme!
Will DeOdexing slow you down?
Technically it should, but in actuality its really quite negligible to notice, however… In my opinion, it’s rather silly to DeOdex and stay on stock ROM; you should just make the switch to a custom ROM. Why? Because custom ROMs are already deodexed and they zipalign your apps on boot; zipaliging is the process of reorganizing the manner in which the .apk is packaged to optimized it for being parsed faster by the android OS, it is comparable if not better than the odex file structure, so you get the best of both worlds; a themed ROM and the speed of an optimized file structure. That is why Stock is lame and custom ROMS pwn (IMO of course…)

Deodex?

From what I found deodexing is deleteing an .apk's corresponding .odex file so it doesn't load during the boot process. So if I run the Auto Deodexer and Debloater ONE-CLICK tool by das7982, by phone will be deodexed. But I wanted to edit the .bat file to exclude some apps. There are some mods that say they require your phone to be deodexed. If I edit the tool to keep some apps, should I still delete the odex file?
Spaded21 said:
From what I found deodexing is deleteing an .apk's corresponding .odex file so it doesn't load during the boot process. So if I run the Auto Deodexer and Debloater ONE-CLICK tool by das7982, by phone will be deodexed. But I wanted to edit the .bat file to exclude some apps. There are some mods that say they require your phone to be deodexed. If I edit the tool to keep some apps, should I still delete the odex file?
Click to expand...
Click to collapse
yes you can run a ROM that has for example, everything DE-ODEXed except for a few ODEXed .apks, but you need to keep the .odex and .apk for the .ODEX files for the .apks that you kept ODEX.
only once the .apk is deodexed should/can you remove the .odex from the corresponding .apk,
when you deodex "APK have all their application packages put back together in one place, allowing for easy modification such as theming." so it doesn't delete the .odex it packs them into the .apk
Ok so I want to install the mod to remove the location/GPS icon from the status bar. It says my phone has to be deoxed. How would I go about JUST deodexing my phone?

[Q] How to know corresponding lib file of system/apk in system/lib

Hey I need your help , thanks in advance
I have lg p765 4.1.2 v20c
How to know corresponding lib file of system/apk in system/lib ….
I tried decompiling apk but I didn’t found any relation with lib file by seeing android manifest.xml
Or u have any list that *.apk uses *.so files or something
for example old chrome apk uses lib file system/lib/libchromeview.so
but update uses different lib files (as I have removed system/lib/libchromeview.so with never lib file found in apk/lib folder and removing from apk saves space(both on system partion and internal memory) and so far I have no force close works perfect)
this things I want to know because want to remove unwanted app and update gms
Here you go.
http://forum.xda-developers.com/showthread.php?t=2737126
[TUTORIAL] Find out which shared libs (.so) are missing
If you have an detailed list of library files for in build apps (especially for HTC) like the one you mentioned of the chrome library file please share it with me.
HTC desire X, JB , TWRP

Categories

Resources