Posts

Showing posts from June, 2023

How to install Xposed on rooted device & emulator running Android 5.0-8.1

Image
Thanks to KhanhNguyen9872 for the modded version of Xposed Installer 3.1.5 that fixes connection issue, and added x86_64 support, we can install Xposed easly without using recovery. I have only tested on Memuplay emulator but it should work on other emulators, and rooted phones as well Important: Xposed Installer works only on Lollipop 5.x.x, Marshmallow 6.x, Nougat 7.x.x, Oreo 8.x. If you are using Android 9 Pie and above, use Magisk (Or Magisk Delta for emulator) with LSposed module instead. Search for the tutorials how to do it If you are using Magisk Delta on emulators, please completely uninstall Magisk Delta first, enable root in emulator settings and reboot, then you can install Xposed. Otherwise, you will get an error “mv: can’t rename ‘/system/lib/libart.so’: Device or resource busy” (See screenshot below) After Xposed installation, you can install Magisk Delta back Download modded Xposed Installer 3.1.5 Link 1: https://github.com/KhanhNguyen9872/xposed/raw/main/xposed...

How to fix PNG error on Apktool

I got a strange PNG error when trying to compile I: Using Apktool 2.5.0 I: Smaling smali folder into classes.dex... I: Smaling smali_classes2 folder into classes2.dex... I: Smaling smali_classes3 folder into classes3.dex... I: Smaling smali_classes4 folder into classes4.dex... I: Smaling smali_classes5 folder into classes5.dex... I: Building resources... W: libpng error: Not a PNG file W: ERROR: Failure processing PNG image E:\APK Easy Tool\1-Decompiled APKs\gameexample\res\mipmap\ic_launcher_background.png brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): We can see an error occured on \gameexample\res\mipmap\ic_launcher_background.png How to solve it? Basically use any image editing software that support transparent like Photoshop, and just re-save the PNG file, then it will successfully compile the APK I: Using Apktool 2.5.0 I: Smaling smali folder into classes.dex... I: Smaling smali_classes2 folder into classes2.dex... I: Smaling smali...

How to make a custom Virtual Android ROM for Virtual Android app

Image
I’m making a tutorial how I make a custom ROM for Virtual Android app You need to know the basics of Android ROM modding and APK modding in general. You can refer to XDA for infomation about android ROM structure. Don’t worry, you don’t need much coding knowledge for this Do not expect that you can make a ROM with other Android versions like Android 11, or use the ROM from other devices. You would need to build a specific kernel ONLY for Virtual Android. It’s not easy than you think. Please do not be that dumb Getting started: You need CN version of Virtual Android https://www.wandoujia.com/apps/8111997 . We can’t edit url directly in Play store version Apktool to modify APK. You can use GUI tool called APK Tool GUI A server to host your ROM. You can use free one like 000webhost File manager or zip utility to modify ZIP file Original ROM and modding kits: 2.24 GB folder on MEGA How to get the original ROM by myself? If you like to know to get the original ROM by yourself ...

Mod source codes collections

The place to get spoonfeed with my source codes and offsets of the games I have modded, and also others which I got permission to share or found from the web. Credits given in the specific files. You can use them learn and see how I wrote the code, and get ideas, if you have common sense. Most codes are very old since 2014. Sources may be messy. It’s also to stop leechers from leeching my offsets when it’s impossible to stop them, due to shaddy scripts wide spread. Now they can just find this repo straight forward without leeching. I’ll try to share more codes of my active mods when I can, considering if devs doesn’t bother patching something This isn’t really straightforward spoonfeeding, I don’t offer any support with this repo. If I don’t spoonfeed enough, just learn more programming and modding and at least have common sense! I’ll appreciate if you can credit to me and others (if mentioned in the source) if you wanna use the sources Have fun :) Link: AndnixSH/Free-Shared-Mod-C...

How to bypass G-presto anti-cheat

Image
Since 2018, I found a bug that disables anti-cheat entirely by accident. Why this is an accident because I once patched the file incorrectly that corrupted it. This bug still present as of today, but it doesn’t work on some games that requires G-presto anti-cheat running. We will try GUNSHIP BATTLE- Helicopter 3D as an example. When just resigning the APK, you will get this error message So how do I do bypass it? Easy. We need to corrupt all .sec files. We don’t delete them because the game will still detect Open .apk file as zip, go to /assets Extract all .sec files Open them on hex editor, and corrupt them by adding or removing any bytes Save the files and put them back to /assets in APK file Zipalign and sign the APK file Tada! No more error message This may no longer work with latest G-presto. You might want to try bypassing G-presto using NP Manager app on your Android environment, and choose any sig killers provided. Do not corrupt .sec files tho Do not ask me to ...

IDA Tips: Graph colors

Graph edges can have several colors. In graph view: Blue: a normal edge Green: if the jump is taken (its condition is satisfied) Red: if the jump is not taken Blinking: when in the debugger, the edge that will be followed blinks And, in proximity view: Blue: Code cross-reference edge Gray: Data cross-reference edge IDA highlights the current mouse items. If the mouse is hovered over an edge, it is highlighted. If the mouse is hovered over a node, all adjacent edges are highlighted. To turn off the highlighting, specify the ‘current edge’ color as an undefined custom color. The ‘highlighted edge’ and ‘foreign node’ colors are not used yet. Credits: Hex-Rays

How to check for latest app version on Google Play Store

Image
Some peoples actually don’t know the meaning of “Update”, asking modders to update when a mod is broken, instead of meaningful word “fix”, or asking for update if there is an update to additional data, or just simply lying for no reason, to waste modders time. I don’t like the rumors when peoples asking me to update even there is no app update on Play store, so I will use this thread to teach them a lesson All you need is to check Play Store before asking for update, really. If you can’t, use alternative app store Apkpure, Apkcombo. Check the news in app, or the fan pages such as Facebook, Twitter, Discord. You must be 100% sure there is an update to APK. Aditional data update does NOT mean APK update So here is detailed steps how to check for app version on Play Store Start by opening the Play Store app. Then, tap your profile picture on the top right side of the screen. Once you’ve done that, tap Manage apps & device. Now, tap Manage Scroll until you find the app you’re ...

VMOS Pro: How to renew free premium everyday

Image
I just found a way to renew free premium/VIP account by creating new accounts everyday, without using mod APK If you haven’t installed VMOS already, go to VMOS Virtual Machine Operating System - Double Your Android System or 产品中心-VMOSPro (preferably vmos.cn because vmos.com is often outdated. The language is 50% english and 50% chinese) and download official APK Create account with throwaway email and simple password. Use temp mail sites like Emailnator , YOPmail , Dispostable , Temp-mail or others Once you create account, you will get free premium for a day After it expired, repeat from step 2 😂 Works as of VMOS 2.7.4 You will not lose installed root or xposed if premium expired, but you will not be able to boot up VM until you renew premium again

How to backup app data using Titanium backup app (Root)

Image
Most users probably don’t need a backup tool since most games comes with login system, or transfer ID. But some offline games does not offer an option to backup or you can’t backup because you haven’t paid the game, or using signed APK, or broken Facebook login. To use Titanium Backup Pro properly, you’ll need to root your Android device. If you don’t have root, you can use Virtual Machine and install apps you like in it. You can’t transfer your data to your Virtual Machine Download Titanium Backup Titanium Backup (root needed) - Apps on Google Play Open Titanium Backup. It may ask you to install addon, you can install it You may see this warning, just ignore it We will need to avoid backing up the APK since it would take long time. Click Menu If you want to save spaces, avoid APK backup by unchecking all 3 options of APK backup Go back. Now we need to filter the app list. Click the Backup/Restore tab and click on Click to edit filters Uncheck System It’s now all setup...

Wayback Machine browser extension - Archive website quickly

Image
The Official Internet Archive Wayback Machine Browser Extension allows you to save page of the current tab to archive.org quickly. This is useful to save useful tutorials around the web Google Chrome, Kiwi Browser (Android) and other chromium based browsers: Wayback Machine Firefox and other firefox based browsers : https://addons.mozilla.org/en-US/firefox/addon/wayback-machine_new/ Microsoft Edge: Microsoft Edge Addons Safari: ‎Wayback Machine

How to hide Magisk from detections (Magisk v23 and below)

Image
MagiskHide allows you to hide apps from detecting Magisk and root, prevent showing incompatile device or fake bugs such as crashes, stuck, connection error. Not all apps can be bypased because they may have new detection methods and new ways of circumventing MagiskHide. For Magisk v24 and above, please check this tutorial: https://www.andnixsh.com/2023/06/how-to-hide-magisk-from-root-detections.html Let’s get started Open Magisk and open settings Enable MagiskHide and click on Hide the magisk app A prompt will appear. Name the app of your choice, and click OK Now please wait for a few seconds!!! Don’t touch anything until it relaunches. After that, click the shield icon -> MagiskHide Choose the apps you would like to hide from detection Reboot to take effect. That’s all!

How to fix MagiskHide crashing or not launching (Magisk v23 only)

Image
I was very confused why MagiskHide was crashing/not launching on both phone and emulator, the icon would get a little bit bigger, highlighted (like the screenshot above), darkened out, greyed out whatever… Reinstalling Magisk entirely or creating new emulator instance did not help. I used HTTP Tooklit to log the network traffics and I just discovered it was literally downloading 24.1 stub APK instead 23.0. Now I know wrong version of stub APK will lead to crash. Since Magisk allows you to change channel, I have hosted magisk v23 files on my server and it has fixed MagiskHide How to fix? The fix is very easy First, open Setting in the Magisk app. Change Update Channel to Custom Channel . Click on Custom Channel and add this url https://repo.andnixsh.com/magisk-v23/stable.json Click OK Uninstall broken Magisk hide app and try to hide the Magisk App again via the Magisk settings. The app should be able to hide now Here is the proof. The app is called Settings

IEEE 754 Floating Point Converter (Windows)

Image
The simple GUI tool for converting decimal to IEEE 754. Written in C# Download Releases · AndnixSH/IEEE-754-Converter Alternatives Base Convert: IEEE 754 Floating Point IEEE-754 Floating Point Converter

Apktool - A tool for reverse engineering Android apk files

Image
Apktool A tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications. It also makes working with an app easier because of the project like file structure and automation of some repetitive tasks like building apk, etc. It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms, analyzing applications and much more. Download https://github.com/iBotPeaches/Apktool/releases https://bitbucket.org/iBotPeaches/apktool/downloads/ Features Disassembling resources to nearly original form (including resources.arsc, classes.dex, 9.png. and XMLs) Rebuilding decoded resources back to binary APK/JAR Organizing and handling APKs that depend on framework resources Smali Debugging (Removed in 2.1.0 in favor of IdeaSmali ) Helping with repetitive tasks Requirements Java 8 (JRE 1.8) Basic knowledge ...