Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post-install.example.sh location incorrect? #61

Open
jersa opened this issue Jul 29, 2023 · 2 comments
Open

post-install.example.sh location incorrect? #61

jersa opened this issue Jul 29, 2023 · 2 comments

Comments

@jersa
Copy link

jersa commented Jul 29, 2023

Hi,

I just wanted to point out that rather than being in /data/adb/sui/ as mentioned here, I found post-install.example.sh in /data/adb/modules/zygisk-sui/ instead.

Unless I'm just confused, that might confuse someone else. Thanks.

@Katsklub2022
Copy link

Katsklub2022 commented Aug 6, 2023

Thanks for this.. , this was really helpful.

@Unknown78
Copy link

Unknown78 commented Aug 17, 2023

@jersa @Katsklub2022

After you found it, how do you try out the shell?
What is the variable value of RISH_DEX, RISH_LIB, and RISH_SCRIPT?
Does all of three the same of /data/adb/modules/zygisk-sui/?

There's an example of adb and termux on the bottom, do I need to uncomment it?

How to load the script? I've already rename and put it on /data/adb/sui/post-install.sh, but still couldn't run rish on termux. It's the same after reboot.

I'm on Samsung Galaxy Note 4 SM-N910H with Custom ROM of REFINED_NOTE8_7.1_T2.zip + latest RisingNote4 and Custom Kernel of Helios_Kernel-V3.1-N910C.H-20200809.img and latest Magisk debug channel version 26105 with Zygisk enabled.

Here is the log of the installation:

- Copying zip to temp directory
- Installing sui-zygisk-v13.0.1-release.zip
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: module.prop
**************
 Zygisk - Sui 
 by Rikka 
**************
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: customize.sh
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: verify.sh
*******************
 Powered by Magisk 
*******************
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: util_functions.sh
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: util_functions.sh.sha256sum
- Extracting verify.sh
- Extracting util_functions.sh
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: module.prop
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: module.prop.sha256sum
- Verified util_functions.sh
- Magisk version: ee34f775 (26105)
- Installing Sui (Zygisk version)
- Android SDK version: 25
- Device platform: arm
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: post-fs-data.sh
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: post-fs-data.sh.sha256sum
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: uninstall.sh
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: uninstall.sh.sha256sum
- Extracting module files
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: sepolicy.rule
- Verified module.prop
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: sepolicy.rule.sha256sum
- Verified post-fs-data.sh
- Verified uninstall.sh
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libsui.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libsui.so.sha256sum
- Verified sepolicy.rule
- Verified lib/armeabi-v7a/libsui.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libmain.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libmain.so.sha256sum
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: librish.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: librish.so.sha256sum
- Verified lib/armeabi-v7a/libmain.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libadbd_wrapper.so
- Verified lib/armeabi-v7a/librish.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libadbd_wrapper.so.sha256sum
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libadbd_preload.so
- Verified lib/armeabi-v7a/libadbd_wrapper.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: libadbd_preload.so.sha256sum
- Verified lib/armeabi-v7a/libadbd_preload.so
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: sui.dex
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: sui.dex.sha256sum
- Verified sui.dex
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: sui.apk
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: sui.apk.sha256sum
- Verified sui.apk
- Fetching information for SystemUI and Settings
somp_thread.c:114	 [1692261387.054660]	TID 0xB6FBD548 - somp_thread_ctor()
env.c:593	 [1692261387.054813]	TID 0xB6FBD548 - env_ctor()
- AppProcess: main
- SystemUI: uid=10064, processName=com.android.systemui
- Settings: uid=1000, processName=com.android.settings
- AppProcess: exit
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: rish
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: rish.sha256sum
- Extracting files for rish
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: post-install.example.sh
Archive:  /data/user/0/o.dmxr/cache/flash/install.zip
  inflating: post-install.example.sh.sha256sum
- Verified rish
- Verified post-install.example.sh
- Cannot find /data/adb/sui/post-install.sh
- Removing old files
- Installing custom sepolicy rules
- Done

I also dial *#*#784784#*#*, but nothing happened.

@RikkaW The lack of documentations are not very beginner friendly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants