Total Pageviews

Saturday 1 April 2023

TaiChi

 A framework to use Xposed module with or without Root/Unlock bootloader, supportting Android 5 ~ 11

https://taichi.cool/

Introduction

TaiChi is a framework to use Xposed module with or without Root/Unlock bootloader, it currently supports Android 5.0 ~ 10.0.

In simple words, TaiChi is a Xposed-Styled Framework, it can load Xposed modules, do hooks and so on.

Features

TaiChi is Xposed-Styled, but it has no relation with Xposed. The only relevance is that TaiChi can load Xposed modules, the implementation of TaiChi and Xposed Framework is very different.

Here are some features of Taichi:

  1. TaiChi fully supports Android Pie.
  2. TaiChi can run in a non-root environment.
  3. TaiChi does not affect the android system and it does not hook all apps in system. Only the apps that you want to apply Xposed modules are hooked. Other apps in your system will run in a completely intact environment, which means TaiChi can pass SafetyNet easily.
  4. TaiChi doesn't need to reboot system in most cases.
  5. TaiChi is hard to be detected. TaiChi doesn't modify the libart and app_process, thus it has nearly no noticeable characteristics.

Usage

TaiChi has two operating mode: magisk mode and non-root mode. If you don't want to unlock the bootloader/flash system images, you can use the non-root mode, but if you prefer more powerful functions, you will need to go for the magisk mode.

What is the different with magisk mode and non-root mode?

The only difference is that magisk mode can hook system process (see below), so more modules are supported, such as Xposed Edge/Greenify. But magisk mode needs an unlocked bootloader and an active Magisk installation, while non-root mode users just need to install TaiChi.

Non-Root mode

TaiChi runs in non-root mode in genernal, just install TaiChi, and you are good to go. If you want to use Xposed modules, for example, you'd like to use SnapFreedom on SnapChat, follow these steps:

  1. Click the float button in main page of TaiChi, and click the button : Create App.
  2. Select the app you'd like to apply Xposed module, such as SnapChat.
  3. Click the "Create" button at the bottom and wait patiently for the process to finish.
  4. After the creation process is finished, TaiChi will tell you that you will need to uninstall the original SnapChat. Please uninstall it, as this is necessary due to TaiChi in non-root mode needs to modify the target APK file which means we have to re-sign the APK.
  5. Follow the steps as instructed in TaiChi app until you installed the re-signed version of the app.
  6. Enter the Module Manage section by clicking the button "Module Manager" in the float button of Home page.
  7. Check the SnapFreedom module.
  8. Kill the process of SnapChat, and the Xposed module applied should work properly now.(A system reboot is not necessary)

Magisk mode

Non-root mode of TaiChi has some shortcommings even though it does not need a unlocked bootloader. We've developed a magisk module to overcome the problems. This module can give TaiChi in magisk mode extra power to perform operations such as :-

  1. TaiChi has the ability to hook into system process.
  2. No apk modification is needed, thus retaininng the original signature of apk.

After you flashed the magisk module provided by TaiChi, TaiChi will switch to magisk mode automaticly: TaiChi App + magisk module = TaiChi·Magisk. When the TaiChi magisk module is disabled or removed, TaiChi app will switch back to non-root mode.

If you want to use magisk mode, please read the wiki carefully.

For Developers

TaiChi is a framework, and developers are welcomed to write xposed modules with hooks based on TaiChi Framework. Module written based on TaiChi framework is fully compatible with Xposed Framework, so contrary a Xposed Framework-based module will work well with the TaiChi framework too.

But before that, we need to clarify that there's still some differences between TaiChi Framework and Xposed Framework, please refer For Xposed Developers for further details.

Discussion

from https://github.com/taichi-framework/TaiChi

------

how to use taichi magisk

The Hitchhiker's Guide to Magisk Taichi

中文漫游指北

Please read through the documentations carefully. Modding can be risky, proceed with extreme caution. The hardware can be valued whereas the data are priceless.

Before we get started

Magisk TaiChi made a wild assumption that you already have Magisk installed and that you UNDERSTAND how to use Magisk, if you don't, you should first check out the Magisk section on XDA

See resources at the end of this document

Getting ready

Backup

  1. Back up your damn data! Modding is risky, and for Jesus Christ the lord's sake, back up your damn data!
  2. You must(MUST!!!!!) uninstall all app created using the normal TaiChi before flashing Magisk TaiChi

Recovery

In any unforeseen scenarios of malfunctioning, you can recover through the following methods.

MM (Recommended)

You must install this module in Magisk prior, or flash it using TWRP in case of unable to boot Usage: 1.Boot into recovery (TWRP is recommended) 2.Start the built in terminal in your recovery 3.Enter /data/media/mm, select u in the first menu and then type in taichi and press enter twice.

*:Alternatively, you can connect your device to your computer, open command prompt/terminal and enter 'adb shell'

Built in recovery mechanism (TaiChi)

1.Boot into recovery (TWRP is recommended) 2.Start the built in terminal in your recovery* 3.Type in rm -rf /data/taichi && rm -rf /data/system/taichi and press enter 4.Reboot

*:Alternatively, you can connect your device to your computer, open command prompt/terminal and enter 'adb shell'

Warnings

TaiChi-Magisk is fully tested on Android Pie but it only has a few tests on Android O, it is not tested at all below Android O. If your device is below Android O, stop using TaiChi-Magisk!!

TaiChi non-root mode supports Android L~P, but magisk mode only supports Android O ~ P. Magisk mode may run well below Android O in some devices, but i won't fix any bug if it occurs (on Android N or lower devices)

Installation

  1. Install latest TaiChi
  2. Flash the TaiChi-Magisk module in Magisk Manager or in Recovery mode.
  3. Open Taichi and add the apps you need to use with Xposed modules
  4. Go to module management and check the checkboxes next to the module you'd like to use
  5. Force close the app you are working with
  6. Reopen the app and the modules should work well.

Note: There are certain differences between Magisk Taichi and actual Xposed

  1. Xposed modules only works given that you added the app in Taichi
  2. Non-systemwide modules does not need reboot to take effect
  3. Reinstalling module will require re-checking the checkbox in module management

from  https://github.com/taichi-framework/TaiChi/wiki/how-to-use-taichi-magisk

 

 

 

No comments:

Post a Comment