-
Notifications
You must be signed in to change notification settings - Fork 3
Issues (no 40) #3
Description
Hi there.
I am trying to test NoMount.
I have a personal module that change .apk, .jar and .xml files in /system, /system_ext and /product
<> folders /system_ext and /product MUST be in module's root folder
<> I am building my 5.10.236 kernel:
patch -p1 < nomount-kernel-5.10.patch
or
patch -p1 < nomount-susfs-kernel-5.10.patch
BEFORE commit f17807d (module No 38)
<> with susfs => build kernel ok, boot ok (NoMount working ok)
<> with-OUT susfs => build kernel ok, NOT booting (can't get logs)
WITH latest commit f17807d (module No 40)
<> with susfs => build kernel FAILED
<> with-OUT susfs => build kernel ok, NOT booting (can't get logs)
Module 38 is working BUT... when enabled detectors find su binaries!
Module 40 is NOT working with "old" kernel ('Injection Stats' => Calculating...)
nomount.log
=== NoMount Boot Log | Started: Mon Apr 6 04:42:13 EET 1970 ===
Kernel Version: 5.10.236-android12-9-g71f3aedc8b92
[CONFIG] Verbose Mode: ON (Detailed logging enabled)
[SKIP] Module bindhosts is disabled/removed
[INFO] Mounting module: userxp.rn13garnet.patches (/system)
-> Inject: /system/framework/framework.jar
[ERROR] Failed to inject /system/framework/framework.jar
Reason:
...
-> Inject: /system_ext/priv-app/MiuiSystemUI/MiuiSystemUI.apk
[ERROR] Failed to inject /system_ext/priv-app/MiuiSystemUI/MiuiSystemUI.apk
Reason:
-> Inject: /system_ext/priv-app/Settings/Settings.apk
[ERROR] Failed to inject /system_ext/priv-app/Settings/Settings.apk
Reason:
=== Injection Complete: Mon Apr 6 04:42:13 EET 1970 ===
END LOG
<> I get these errors (on build kernel FAILED):
patching file fs/Kconfig
Hunk #1 succeeded at 350 (offset -1 lines).
patching file fs/Makefile
patching file fs/d_path.c
patching file fs/namei.c
Hunk #2 succeeded at 219 (offset 4 lines).
Hunk #3 succeeded at 375 (offset 4 lines).
Hunk #4 succeeded at 480 (offset 4 lines).
Hunk #5 succeeded at 3812 (offset 102 lines).
Hunk #6 succeeded at 3864 (offset 99 lines).
patching file fs/nomount.c
patching file fs/open.c
patching file fs/proc/base.c
Hunk #1 succeeded at 98 (offset -1 lines).
Hunk #2 succeeded at 1848 (offset -3 lines).
patching file fs/proc/task_mmu.c
Hunk #2 succeeded at 370 (offset -2 lines).
patching file fs/readdir.c
Hunk #2 FAILED at 325.
Hunk #3 FAILED at 332.
Hunk #4 FAILED at 429.
Hunk #5 FAILED at 436.
Hunk #6 FAILED at 639.
Hunk #7 FAILED at 646.
6 out of 7 hunks FAILED -- saving rejects to file fs/readdir.c.rej
patching file fs/stat.c
Hunk #2 succeeded at 91 (offset -1 lines).
Hunk #3 succeeded at 115 (offset -1 lines).
patching file fs/statfs.c
patching file fs/xattr.c
patching file include/linux/nomount.h
Error: Process completed with exit code 1.