Hi, Guest! Login / Register

Announcement: Rumors of a Tecno Spark 2 surface: Android Oreo (Go Edition), Face Unlock... READ MORE (May, 2018)
 
Thread Rating:
  • 1 Vote(s) - 5 Average

[Development] [Lollipop] [Marshmallow] How to deodex Android applications (apks)

#1
(This post was last modified: 05-17-2018, 06:26 PM by hovatek. )

If you're looking to modify or optimize your Android apks (especially framework and system apks) when porting or building a custom ROM then you would want to first Deodex them.

What is Deodexing


Deodexing is repackaging your apk files from apk + .odex parts into one single apk (classes.dex) thereby combining all into one part. Deodexing protects you from running into a conflict with the odex when modifying your apk files

Requirement
  • Download Java Development Kit @ http://www.oracle.com/technetwork/java/j...33151.html and install on the PC
  • Download IOIO Deodexer @ [ Please, Login to view this link] and extract it
  • Copy the app, framework and priv-app folder into a folder of your choice (this guide uses IOIODeOdexer/UserFiles/WorkArea)

Steps to deodex an Android apk


  1. Right-click IOIODeOdexer.exe and run as Administrator

    [Image: Hovatek-How-to-deodex-apks-1.jpg]

  2. You should now be in the IOIO DeOdexer dashboard

    [Image: Hovatek-How-to-deodex-apks-2.jpg]

  3. Click on Browse

    [Image: Hovatek-How-to-deodex-apks-3.jpg]

  4. Select the parent folder where you have your app, framework and priv-app folders then click OK

    [Image: Hovatek-How-to-deodex-apks-4.jpg]

  5. You should now see the file path displayed. Click Deodex

    [Image: Hovatek-How-to-deodex-apks-5.jpg]

  6. Wait while the tool begins deodexing

    [Image: Hovatek-How-to-deodex-apks-6.jpg]

  7. The progress bar should begin loading. Just sit back and let the tool Deodex

    [Image: Hovatek-How-to-deodex-apks-7.jpg]

  8. Once the tool is done, you should see a Deodexing Completed message

    [Image: Hovatek-How-to-deodex-apks-8.jpg]

  9. Go back to the folder to get your deodexed apks

Important Notice
  • Its important you deodex an apk before attempting to modify or export it because the apk is incomplete without the odex
  • Ensure to backup all odexed apks (including their odex files) before replacing with the deodexed versions just in case deodexing bricks the device
  • Partial deodexing tends to brick some devices so ensure to check all folder in the /system for odexes and deodex them too



Need further assistance? Speak with a Hovatek Representative:
Working Hours: Mondays - Saturdays ; 09:00 - 18:00 (GMT +1:00)
Reply
#2
sir if the tool can work on OS win 7 32bit.
thank you sir.
Reply
#3
(This post was last modified: 10-19-2017, 02:21 PM by hovatek. )
(11-04-2016, 10:32 PM)hovatek Wrote: ..

sir if the tool can work on OS win 7 32bit.
thank you sir.
Reply
#4
(03-31-2017, 03:52 PM)iimamsusilo Wrote: sir if the tool can work on OS win 7 32bit.
thank you sir.

Haven't tested it.
You could give it a shot
Need further assistance? Speak with a Hovatek Representative:
Working Hours: Mondays - Saturdays ; 09:00 - 18:00 (GMT +1:00)
Reply
#5
(03-31-2017, 05:31 PM)hovatek Wrote:
(03-31-2017, 03:52 PM)iimamsusilo Wrote: sir if the tool can work on OS win 7 32bit.
thank you sir.

Haven't tested it.
You could give it a shot
I've tried that tool is running smoothly. The app also became successful deodex but if it continues to the framework always failed in repeated back still fail sir.

Thank you very much sir hovatek & team.

Sent from my 7 Plus using the Hovatek Forum App

Reply
#6
how to install java?
Reply
#7
(05-15-2018, 01:03 PM)Top John Wu Wrote: how to install java?

check the requirements section for the link to download and install jdk
Reply




Users browsing this thread:
1 Guest(s)