Time passes and the number of devices receiving Android 5.0 Lollipop increases. In just few days a large number of devices is added to this list. At first mostly of devices received Lollipop through Custom ROMs based on the official version announced by Google. Now some of devices like Motorola and Nexus smart phones has received Lollipop officially, but there are also many others that are running a Custom ROM based on Lollipop, like the famous CyanogenMod 12.
While much of Lollipop’s underlying architecture is the same as previous versions, also there are many changes. Android 5.0 Lollipop finally replaced Dalvik System Runtime with ART. This was a fantastic move from Google in terms of performance and battery life savings. But it don’t have only good things, it also has some side effects for certain categories. So it is incompatible with Xposed Framework, switching to ART system means that decrypting system apps has to be done differently.
For developers nothing is impossible, an XDA Senior Member called Tech N You made a guide that shows you how to use Oat2dex converter to decrypt Lollipop apps and jars. In Android 5.0 Lollipop framework, app, priv-app folder called “.odex”, files there have a specific folder for ART runtime in order to compress into two modes.
odex.art.xz > The ART mode to native file.
odex.xz > 7zip, odex appears when you unzip the file.
odex.xz > unpack the file compression uses the .odex file unless the ARM is compressed folder .odex.
So in order to deodex files you need a deodex tool and the apk along with .odex.xzxz
How To Deodex Android 5.0 Lollipop Apps
- Download and extract the 7z file on your computer. Find the file in the source link in the end of the post. Then Hold right Shift key and right click mouse, a Commikand Prompt window will open, click on it.
- Now that Command Prompt is open, place you.apk and .odex.xz there and type the following command: 7za x * .odex.xz thenthen press enter. This will lead you to xz uncompromising and output file you will receive as an odex, even though a new format odex will be given in output, so you need oat2dex converter.
- In Command Prompt enter this code ‘oat2dex.bat * .odex’ and press enter. This command confirm that there is a OAT file and DEX file header present. If you face any errors, you can’t do nothing because the apk won’t be converted.
- We are assuming that you don’t get any error, now enter this command “oat2dex.bat *.odex. This command will give you the required output ,I.e..temp.dex. file is created. It is an odex file with the old structure.
- Using the baksamli/samli to deodex use this command: “java -jar baksamli- 2.0.3.jar -a 21 -x temp.dex -o deodex”. This command will decompile dex and as a result you will find a deodex output folder with no errors.
- To compile the output back to classes.dex use this command “java -jar smali- 2.0.3,jar -a 21 deodex -o classes.dex”
- Now to put the classes.dex into apk use the following command “7za u -tzip *.aPk classes.dex”
- That’s all.
Note: I am not a developer. I collected some information and posted here. It can contain errors. If you find any please contact me to make this guide to work without any error.
Related posts
7 Online Tools To Record Lectures [2023]
The educational environment seems a lot different compared to a few years ago, with technology bringing major changes. Are you as a lecturer or a learner up to date with the apps and software that can make your life a little easier, for example catering…
Should You Take Mobile Security Seriously? Here Is Why
Gone are the days when the biggest security threats only existed on your computer. Most people think that a cell phone can be a safe space for personal, financial as well as confidential data. However, nowadays with the extensive use of cell phones for literally…
The Best Android Apps To Download This Year [2020]
As our mobile phones have become an essential part of our lives in this technologically advanced world of ours, we have found more ways in which we can use them. Some people stick to the traditional methods of calling and texting, while others venture into…
The Best Photo Editing Apps That You Need to Increase Your Instagram Followers
Instagram is probably the most used social media network nowadays. For some people, it’s just a simple a place to share photos and try to impress the other with the “good life” they have while some others have discovered the power of Instagram and run…
Comparison Of Smart Watches – Apple Watch 8 vs Google Pixel Watch
Since the introduction of smartwatches in the market, people have started to rely more on them because of their convenience. You can use smartwatches to receive notifications, make and receive calls, and access various apps. Smartwatches are not just about looking at the time; they…
Why You Should Use a Personal VPN on a Daily Basis
Personal VPN is one of those technologies which is gaining more and more popularity and importance from day to day. Generally, VPN (Virtual Private Network) was designed to get a secure connection for business purposes mainly. Now, the role of VPNs has changed a lot….
Best Instagram Usernames For Boys and Girls To Get More Followers in 2019 (Updated)
If you are an Instagram user, you have to agree that there is nothing as cool as a catchy name. The importance of a good and unique Instagram name is something that can’t be ignored. The username determines who follows you, the comments that are…
How IoT is Influencing App Development
As you leave your office for the day, you tap an app on your phone and start your car. Another app allows you to turn on lights at your house, maybe even get dinner started. Welcome to IoT, the Internet of Things, in which an…