Posts

Showing posts from June, 2023

How to install LSPosed on Magisk for Android 8.1 or above

Image
A Riru / Zygisk module trying to provide an ART hooking framework which delivers consistent APIs with the OG Xposed, leveraging LSPlant hooking framework. Emulators are fully supported. If you are using Android 8.0 or below, use Systemless Xposed Installer module instead. See: https://www.andnixsh.com/2023/06/how-to-install-old-xposed-framework-on.html Download the LSPosed ZIP package: Releases · LSPosed/LSPosed If you’re using Zygisk, download the file named LSPosed-xxx-zygisk-release.zip. If you’re using Riru, download the file named LSPosed-xxx-riru-release.zip, Open the Magisk app, and switch to the Modules tab using the bottom navigation menu. Tap on the button named Install from storage (Package icon on bottom-right corner if youuse Mgisk Delta). Next, browse and select the ZIP you downloaded earlier. After a successful installation, click Reboot to reboot Android system. If you use Emulator, do not click Reboot , instead restart the emulator by clicking close butt

How to create unsigned APK file for rooted devices + Lucky Patcher or Core Patch

Image
Why unsigned APK, and why is it recommended for most games? With an unsigned APK, you can install the APK over the original. You can login with your Google account without signature error, and login with your Facebook account without uninstalling Facebook app. “Unsigned” means, that you leaved the opened jacket open. You changed the APK and modified it, but you leaved the opened original Key inside, you do not sign it with the test/own signature key. Android’s security does not allow it by default. But if you root your device and disable signature via Lucky Patcher or Core Patch, you will be able to tell the device “the jacket is closed, install it”. In this way you are able to update the original playstore game with a mod and will be able to login with the Google+ account. You simply lying to your device. You can only install an unsigned APK on your rooted device because it require the signature to be disabled using Lucky Patcher or Core Patch. If your phone is not rooted, please se

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

How to install unsigned APK using Lucky Patcher (Xposed method)

Image
If you have root and Xposed or Magisk + LSPosed module installed, you can use Xposed option in Lucky Patcher to disable signature checks If you don’t have Xposed, follow normal way https://www.andnixsh.com/2020/01/how-to-install-unsigned-apk-root-method.html Installing Xposed For Android 8.0 and above: You need Magisk with LSposed module. For emulator, use Magisk-Delta and install Magisk into system pertition Magisk v24 and up Enabled Zygisk in Magisk settings, if not enabled already Download latest LSPosed zygisk release.zip Releases · LSPosed/LSPosed Open Magisk, go to Module. Tap Install from storage and select .zip file of LSposed you just downloaded Reboot Magisk v23 and below Download latest Riru - Core Releases · RikkaApps/Riru Download latest LSPosed zygisk release.zip Releases · LSPosed/LSPosed Open Magisk, go to Module. Tap Install from storage and select .zip file of Riru Tap Install from storage and select .zip file of LSposed Reboot For Android 5.0

How to install unsigned APK using Lucky Patcher (Rooted device-Emulator-VM)

Image
Can’t login with your Google+ on modded games? Really need to uninstall Facebook? NO PROBLEM. Today, I will show you how to patch signature, so you can install any UNSIGNED modded apk. This is usally for rooted devices only but non-rooted devices can use any Virtual Machine apps which can be rooted Note: Signature patching may not work on 64-bit emulators. Use Xposed method or CorePatch instead Requirements: Rooted device or emulator, or rooted Virtual Machine apps for non-rooted device Lucky Patcher app https://www.luckypatchers.com/download/ Busybox app (normal root) or Busybox for Android NDK (Magisk version). Busybox is not really required to patch, but it is recommended to install it to stop Lucky Patcher from warning you Steps for normal root with SuperSU or other Superusers: Download Busybox app from Play Store: BusyBox - Apps on Google Play You will be greeted with the Install BusyBox screen. Simply click Install to install busybox A message will show it was s

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