Hi again...
[I hope all ok]
-
Module CI_80:
"! Unsupported architecture: arm64"
Module is not searching inside /bin folder for 'nm-arm64'.
Easy to correct.
-
kernel: 5.10.236 - SUSFS: 2.1.0
BUILD: failed at /fs/open.c
ORIGINAL patch:
#ifdef CONFIG_NOMOUNT
long nm_res;
if (nomount_handle_faccessat(dfd, filename, mode, lookup_flags, &nm_res)) {
revert_creds(old_cred);
put_cred(override_cred);
return nm_res;
}
#endif
Errors:
<> undeclared identifier 'override_cred';
<> ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement] - PROBLEM AT long nm_res;
I CHANGE patch to:
#ifdef CONFIG_NOMOUNT
if (true) {
long nm_res;
if (nomount_handle_faccessat(dfd, filename, mode, lookup_flags, &nm_res)) {
revert_creds(old_cred);
/* put_cred(override_cred); */
return nm_res;
}
}
#endif
BUILD: ok
BOOT: ok (with problems...)
Ther device is booting. The nomount.log seems ok --- all Injects are normal
My module has these files:
/product/priv-app/SecurityCenter/SecurityCenter.apk
/product/priv-app/SecurityCenter/lib/arm64/libsec-common-utils.so
[Inside nomount.log injects both files]
The SecurityCenter.apk originally exist in path.
The libsec-common-utils.so originally NOT exist in path.
In root file-manager I can see the SecurityCenter.apk, but I can NOT see (NOT exist) /lib/arm64/libsec-common-utils.so
... so I get errors about missing library libsec-common-utils.so and the SecurityCenter.apk is not working.
Thats All
[Good work...]
Hi again...
[I hope all ok]
Module CI_80:
"! Unsupported architecture: arm64"
Module is not searching inside /bin folder for 'nm-arm64'.
Easy to correct.
kernel: 5.10.236 - SUSFS: 2.1.0
BUILD: failed at /fs/open.c
ORIGINAL patch:
#ifdef CONFIG_NOMOUNT
long nm_res;
if (nomount_handle_faccessat(dfd, filename, mode, lookup_flags, &nm_res)) {
revert_creds(old_cred);
put_cred(override_cred);
return nm_res;
}
#endif
Errors:
<> undeclared identifier 'override_cred';
<> ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement] - PROBLEM AT long nm_res;
I CHANGE patch to:
#ifdef CONFIG_NOMOUNT
if (true) {
long nm_res;
if (nomount_handle_faccessat(dfd, filename, mode, lookup_flags, &nm_res)) {
revert_creds(old_cred);
/* put_cred(override_cred); */
return nm_res;
}
}
#endif
BUILD: ok
BOOT: ok (with problems...)
Ther device is booting. The nomount.log seems ok --- all Injects are normal
My module has these files:
/product/priv-app/SecurityCenter/SecurityCenter.apk
/product/priv-app/SecurityCenter/lib/arm64/libsec-common-utils.so
[Inside nomount.log injects both files]
The SecurityCenter.apk originally exist in path.
The libsec-common-utils.so originally NOT exist in path.
In root file-manager I can see the SecurityCenter.apk, but I can NOT see (NOT exist) /lib/arm64/libsec-common-utils.so
... so I get errors about missing library libsec-common-utils.so and the SecurityCenter.apk is not working.
Thats All
[Good work...]