[Script] Amestris Odexer V4.0 ! NEW Script

Search This thread

Perka

Senior Member
Sep 15, 2010
3,642
3,122
The new version is released , i wrote the script from the scratch. its now compatible with more phones and will run over windows. no more cwm packages. with faster way backup/restore method.

Best Regards.

Hi will try with my next flash, so now we need an Insecure Kernel? Or something more has to be modded in the kernel?

Thx for your work :)

EDIT: I make stock Insecure kernels. Find in stash :)
 
Last edited:

Perka

Senior Member
Sep 15, 2010
3,642
3,122
Hi Perka

you need a [custom] kernel to run adb root and adb remount command. ;)

Just tested and it works fine with the kernels I have repacked. :)

EDIT: Well the script ran but gave me bootloop.

Code:
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------- A M E S T R I S    O D E X E R    V 4.0 ------------------
 
Wed Feb 13 11:05:58 CET 2013
Starting  
Mounting 

---| Framework Jar Files |------------------------
Odexing  core.odex
----------------------------------------------------------------
Odexing  core-junit.odex
----------------------------------------------------------------
Odexing  bouncycastle.odex
----------------------------------------------------------------
Odexing  ext.odex
----------------------------------------------------------------
Odexing  framework.odex
----------------------------------------------------------------
Odexing  framework2.odex
----------------------------------------------------------------
Odexing  android.policy.odex
----------------------------------------------------------------
Odexing  services.odex
----------------------------------------------------------------
Odexing  apache-xml.odex
----------------------------------------------------------------
Odexing  sec_edm.odex
----------------------------------------------------------------
Odexing  seccamera.odex
----------------------------------------------------------------
Odexing  CustFeature.odex
----------------------------------------------------------------
Odexing  GlobalConfig.odex
----------------------------------------------------------------
Odexing  access.control.odex
----------------------------------------------------------------
Odexing  allshare.odex
----------------------------------------------------------------
Odexing  allsharelib.odex
----------------------------------------------------------------
Odexing  am.odex
----------------------------------------------------------------
android.policy.jar already odexed.
----------------------------------------------------------------
Odexing  android.test.runner.odex
----------------------------------------------------------------
apache-xml.jar already odexed.
----------------------------------------------------------------
Odexing  bmgr.odex
----------------------------------------------------------------
bouncycastle.jar already odexed.
----------------------------------------------------------------
Odexing  bu.odex
----------------------------------------------------------------
Odexing  com.android.future.usb.accessory.odex
----------------------------------------------------------------
Odexing  com.android.location.provider.odex
----------------------------------------------------------------
Odexing  com.android.nfc_extras.odex
----------------------------------------------------------------
Odexing  com.dropboxpartner.odex
----------------------------------------------------------------
Odexing  com.google.android.maps.odex
----------------------------------------------------------------
Odexing  com.google.android.media.effects.odex
----------------------------------------------------------------
Odexing  com.google.widevine.software.drm.odex
----------------------------------------------------------------
Odexing  com.samsung.device.odex
----------------------------------------------------------------
Odexing  content.odex
----------------------------------------------------------------
core-junit.jar already odexed.
----------------------------------------------------------------
core.jar already odexed.
----------------------------------------------------------------
ext.jar already odexed.
----------------------------------------------------------------
framework.jar already odexed.
----------------------------------------------------------------
framework2.jar already odexed.
----------------------------------------------------------------
Odexing  ime.odex
----------------------------------------------------------------
Odexing  input.odex
----------------------------------------------------------------
Odexing  javax.obex.odex
----------------------------------------------------------------
Odexing  libvtmanage.odex.odex
----------------------------------------------------------------
Odexing  monkey.odex
----------------------------------------------------------------
Odexing  multiwindow.odex
----------------------------------------------------------------
Odexing  org.simalliance.openmobileapi.odex
----------------------------------------------------------------
Odexing  pm.odex
----------------------------------------------------------------
Odexing  requestsync.odex
----------------------------------------------------------------
sec_edm.jar already odexed.
----------------------------------------------------------------
Odexing  sec_feature.odex
----------------------------------------------------------------
Odexing  sec_platform_library.odex
----------------------------------------------------------------
seccamera.jar already odexed.
----------------------------------------------------------------
Odexing  secface.odex
----------------------------------------------------------------
Odexing  sechardware.odex
----------------------------------------------------------------
Odexing  secmediarecorder.odex
----------------------------------------------------------------
services.jar already odexed.
----------------------------------------------------------------
Odexing  svc.odex
----------------------------------------------------------------
Odexing  twframework.odex
----------------------------------------------------------------
Odexing  uiautomator.odex
----------------------------------------------------------------
 
---| System Applications |------------------------
Odexing AllowLongSMSxposed2_1357558113_1492.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing ApplicationsProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing BCService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing BackupRestoreConfirmation.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing BadgeProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing BluetoothAvrcp.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing CSC.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing CapabilityManagerService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing CertInstaller.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing ClipboardSaveService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing ClockPackage.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing ContextProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing DefaultContainerService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing DirectConnect.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing DirectShareManager.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing DrmProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing DttSupport.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing EdmVpnServices.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing EnableCallRecordingxposed2_1357557894_3065.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing EnterprisePermissions.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing FlashBarService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing FmRadio.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing FmmDM.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing FmmDS.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing GMS_Maps.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Gmail2.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing GmsCore.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing GoogleCalendarSyncAdapter.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing GoogleContactsSyncAdapter.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing GoogleLoginService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing GooglePartnerSetup.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing GoogleServicesFramework.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing InputDevices.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing JobManager.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing KeyChain.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Keystring_factory.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing LogsProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing MobileTrackerEngineTwo.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing MtpApplication.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing MusicFX.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing NetworkLocation.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Nfc.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing NoIncreasingRingtone.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing OmaCP.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing PCWClientS.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing PRUI.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing PackageInstaller.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Personalization.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing PhoneErrService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Phonesky.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing PopupuiReceiver.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Preconfig.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SamsungCamera.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecBluetooth.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecBrowser.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecCalculator2.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecCalendar.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecCalendarProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecContacts.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecContactsProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecDownloadProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecDownloadProviderUi.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecGallery2_Galaxy.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecHTMLViewer.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecLauncher2.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecMediaProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecMms.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecOmaDownloadProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecPhone.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecSettings.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecSettingsProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecSetupWizard.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecTelephonyProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecWallpaperChooser.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SecurityProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SetupWizard.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing ShareShotService.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SimServicePermission.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Superuser.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing SystemUI.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Tag.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing Talk.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing UserDictionaryProvider.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing VideoPlayer.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing VoiceRecorder.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing VpnDialogs.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing WAPPushManager.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing XposedAppSettings02_1359680060_4464.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing XposedDisableDelivery_1359503915_3217.odex
---------------XposedDisableDelivery_1359503915_3217.apk isnt odexed , maybe doesn't have any smali file. !!!!!
----------------------------------------------------------------
Odexing XposedInstaller_2.1.1.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing XposedTweakbox_1.3.2.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing YouTube.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
Odexing serviceModeApp.odex
ZipAlign 31424i 
Done
----------------------------------------------------------------
 
Deleting dalvik-cache
Done.....
Wed Feb 13 11:10:23 CET 2013
-------------- A M E S T R I S    O D E X E R  V 4.0 --------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 
Last edited:
  • Like
Reactions: M_J_Nazari

M_J_Nazari

Inactive Recognized Developer
Jul 14, 2010
1,545
2,578
38
Bushehr
pda-planet.com
Why does it say already odexed? some .jars, I have deodexed :)

the script structure, it is:

stage 1- get bootclass path files on framework and odex them in sequence. [ i defined the sequence as bootclass path order]
stage 2- get all files on framework folder and make them odex
stage 3- get all apks and convert them to odex


on second state, it reloads the files again, and the bootclass path files are odexed before on fist stage. this message is for it.
 
  • Like
Reactions: Perka

Perka

Senior Member
Sep 15, 2010
3,642
3,122
the script structure, it is:

stage 1- get bootclass path files on framework and odex them in sequence. [ i defined the sequence as bootclass path order]
stage 2- get all files on framework folder and make them odex
stage 3- get all apks and convert them to odex


on second state, it reloads the files again, and the bootclass path files are odexed before on fist stage. this message is for it.

Ok well I just use your cwm zip, as it works fine :)
 
  • Like
Reactions: M_J_Nazari
Dec 25, 2011
25
2
Constanta
I tryed 3.1 on neatrom lite and it gave me a bootloop.
now i wanted to try the windows tool but says something like fail to copy read only file system. usb debugging is enabled but same error. can you help me?
 

M_J_Nazari

Inactive Recognized Developer
Jul 14, 2010
1,545
2,578
38
Bushehr
pda-planet.com
I'm working on new script with smarter logger file , i think it might be very usefull.

with this new script, you can run all deodexed mods over odex stock firmwares!

it could also help to developers for making their odexed mods less than 10 seconds!!

the sample log file of converted deodex services,jar file over stock odex.

PHP:
--------------------------------------------------------------------------------------- A M E S T R I S    O D E X E R    V 5.0 ------------------
 
Sat Feb 23 20:12:54 IRST 2013
Starting  
Mounting 

_________________________________________________________________________
=========================================================================
<services.jar>
---------------------------
--- BEGIN '/system/framework/services.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=6909
--- END '/system/framework/services.jar' (success) ---
Setting Permissions
Copy original services.jar signature
Remove temporary files
Done!
</services.jar>
=========================================================================

 
Deleting dalvik-cache
Done.....
Sat Feb 23 20:12:58 IRST 2013
-------------- A M E S T R I S    O D E X E R  V 5.0 ---------------------------------------------------------------------------------------------

i will publish it as soon.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    Amestris Odexer Version 4.0.

    ONLY FOR ANDROID 4.1.2 SAMSUNG ROMS

    Persian Support Page .. Pda-planet
    Tested on stock deodexed MR2. use at own risk.

    New Function: you can use this script over stock odexed firmwares too, some applications with stock firmware are not odex, this script make them odex!

    changelog:
    no more force close on email and allshare and....
    removed cwm packages.
    script must run via pc.
    new script with smart logger file.
    on finish , the Amestris_Log.xml will create on your pc.
    rooted phone and custom kernel is required now.
    compatible with many samsung 4.1.2 official roms.
    fast and easy way, backup / restore your files.

    -----------------------------------
    Instructions:

    Download Amestris_Odexer V4.0[windows[.zip file and extract. [see the attachments]

    ! you must enable usb debugging from developer options ! for all processes.

    DO A BACKUP AT FIRST.
    for doing backup:
    plug usb cable
    enable usb debugging from developer options, and run Backup.cmd file.
    the files will be copied beside the Backup.cmd.

    for restoring backup:
    goto recovery mode,plug usb cable , mount your system partition and run Restore.cmd file.

    for doing odex
    custom kernel is required for adb commands. [adb root , adb remount] [ mine is siyah kernel ]
    plug usb cable , and run the "Amestris_ODEXERV4.cmd".
    follow the messages. at finish your phone will reboot.

    you can check the Amestris_odex.log file for more information.

    ------------------------------------------------------
    it seems just have a problem on some custom roms.
    the error , it is. nobody knows how we can fix it?
    D/dalvikvm( 4665): Unable to process classpath element '/system/framework/services.jar'
    ---------------------------
    previous versions:
    Version 3.0 and 3.1
    7
    FAQ!

    1- I want to install a lot of custom mod and packages, what should i do?
    R: at first you need to install your favorite custom Rom then do all changes , ( theming , modified applications, custom mod and hacks and etc.. on deodex structure.
    when you finished everything, run this script.


    -------------------------------------------------------------------------------------------------------------------------------------------------------

    Please report your results here.

    Version 3.0
    Tested on 4.1.2 Firmwares and worked fine.
    Deodexed
    -I9300XXEMA2
    -I9300XXEMA1
    - I9300XXELLA
    - I9300XXELL5
    - I9300XXELLC
    Customs: user report!
    Rom Version : Wanam LLA
    Kernel : Perseus a41
    Recovery Version: Phil recovery with sd fix
    Rom Version : Omega37 XELLC
    Kernel : Siyah 1.8.6
    Recovery Version: CF-Root
    6
    The easiest way to reodex any rom (CM, TW, whatever...and not just 4.1.2) is via Titanium Backup. Open TiBu, tap Menu, tap "Integrate sys Dalvik into ROM" and hit confirm. Reboot and you're done.
    For proof that this works, open a file manager and go to \system\app and you will find new .odex versions of all system files. The best part is that this process is completely reversible, should you decide to flash a new theme or mod. Before flashing anything new, you must go back to TiBu and "Undo sys Dalvik integration", then reboot to recovery and flash the new mod.
    3
    it seems the problem is occurred from cwm.

    im trying to write new script by different method.
    3
    The new version is released , i wrote the script from the scratch. its now compatible with more phones and will run over windows. no more cwm packages. with faster way backup/restore method.

    Best Regards.