Closed YogSottot closed 1 year ago
Ok. Fixed it by adding in /var/lib/waydroid/waydroid.cfg
in the [properties] section, then run waydroid upgrade --offline
to regenerate waydroid_base.prop with the new props
# fix root liapp
ro.product.brand=google
ro.product.manufacturer=Google
ro.system.build.product=redfin
ro.product.name=redfin
ro.product.device=redfin
ro.product.model=Pixel 5
ro.system.build.flavor=redfin-user
ro.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys
ro.system.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys
ro.bootimage.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys
ro.build.display.id=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys
ro.build.tags=release-keys
ro.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys
ro.vendor.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys
ro.vendor.build.id=RQ3A.211001.001
ro.vendor.build.tags=release-keys
ro.vendor.build.type=user
ro.odm.build.tags=release-keys
Ok. Fixed it by adding in
/var/lib/waydroid/waydroid_base.prop
# fix root liapp ro.product.brand=google ro.product.manufacturer=Google ro.system.build.product=redfin ro.product.name=redfin ro.product.device=redfin ro.product.model=Pixel 5 ro.system.build.flavor=redfin-user ro.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.system.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.bootimage.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.display.id=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.tags=release-keys ro.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.vendor.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.vendor.build.id=RQ3A.211001.001 ro.vendor.build.tags=release-keys ro.vendor.build.type=user ro.odm.build.tags=release-keys
Did you get anything special to get the settings to stick? My waydroid.prop resets and removes the above settings whenever I run waydoid show-full-ui
.
Hold on, I don't understand. How would such a configuration work???
Hold on, I don't understand. How would such a configuration work???
Video proof https://mega.nz/file/7cYSVAhQ#xJENf-97WJMPzUSCV-BccbH1erVZmYNSWPHkwouty3A
Hold on, I don't understand. How would such a configuration work???
Video proof https://mega.nz/file/7cYSVAhQ#xJENf-97WJMPzUSCV-BccbH1erVZmYNSWPHkwouty3A
I mean, yeah, it also works for me. But why? The only change I've seen is only that the phone name changed from "Waydroid x86-64" to "Pixel 5" yeah ofc, some apps that required non-rooted phones started to work
I mean, yeah, it also works for me. But why? The only change I've seen is only that the phone name changed from "Waydroid x86-64" to "Pixel 5" yeah ofc, some apps that required non-rooted phones started to work
userdebug/test-keys → user/release-keys
Because liapp thinks that if test-keys, the phone is rooted. In this config, test-keys has been changed to release-keys
Ok. Fixed it by adding in
/var/lib/waydroid/waydroid_base.prop
# fix root liapp ro.product.brand=google ro.product.manufacturer=Google ro.system.build.product=redfin ro.product.name=redfin ro.product.device=redfin ro.product.model=Pixel 5 ro.system.build.flavor=redfin-user ro.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.system.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.bootimage.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.display.id=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.tags=release-keys ro.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.vendor.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.vendor.build.id=RQ3A.211001.001 ro.vendor.build.tags=release-keys ro.vendor.build.type=user ro.odm.build.tags=release-keys
Doesnt work for me
Doesnt work for me
If you are using VANILLA images, try switching to GAPPS.
Doesnt work for me
If you are using VANILLA images, try switching to GAPPS.
I'm using GAPPS with libhoudini. I'll try a fresh install cuz I can't recall if I installed GAPPS or VANILLA and changed to GAPPS.
Ok. Fixed it by adding in
/var/lib/waydroid/waydroid_base.prop
# fix root liapp ro.product.brand=google ro.product.manufacturer=Google ro.system.build.product=redfin ro.product.name=redfin ro.product.device=redfin ro.product.model=Pixel 5 ro.system.build.flavor=redfin-user ro.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.system.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.bootimage.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.display.id=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.tags=release-keys ro.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.vendor.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.vendor.build.id=RQ3A.211001.001 ro.vendor.build.tags=release-keys ro.vendor.build.type=user ro.odm.build.tags=release-keys
Does not work for me.
I installed gapps version and add that props to waydroid.cfg
and checked changes, but LIAPP ALERT still pop up.
Ok. Fixed it by adding in
/var/lib/waydroid/waydroid_base.prop
# fix root liapp ro.product.brand=google ro.product.manufacturer=Google ro.system.build.product=redfin ro.product.name=redfin ro.product.device=redfin ro.product.model=Pixel 5 ro.system.build.flavor=redfin-user ro.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.system.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.bootimage.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.display.id=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.tags=release-keys ro.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.vendor.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.vendor.build.id=RQ3A.211001.001 ro.vendor.build.tags=release-keys ro.vendor.build.type=user ro.odm.build.tags=release-keys
Does not work for me. I installed gapps version and add that props to
waydroid.cfg
and checked changes, but LIAPP ALERT still pop up.
You need to add the props to /var/lib/waydroid/waydroid_base.prop
file, not waydroid.cfg
And make sure that waydroid was installed with GAPPS and not converted from VANILLA!
Ok. Fixed it by adding in
/var/lib/waydroid/waydroid_base.prop
# fix root liapp ro.product.brand=google ro.product.manufacturer=Google ro.system.build.product=redfin ro.product.name=redfin ro.product.device=redfin ro.product.model=Pixel 5 ro.system.build.flavor=redfin-user ro.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.system.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.bootimage.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.display.id=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.tags=release-keys ro.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.vendor.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.vendor.build.id=RQ3A.211001.001 ro.vendor.build.tags=release-keys ro.vendor.build.type=user ro.odm.build.tags=release-keys
Does not work for me. I installed gapps version and add that props to
waydroid.cfg
and checked changes, but LIAPP ALERT still pop up.You need to add the props to
/var/lib/waydroid/waydroid_base.prop
file, notwaydroid.cfg
And make sure that waydroid was installed with GAPPS and not converted from VANILLA!
I definitely installed GAPPS. I also add that props to /var/lib/waydroid/waydroid_base.prop
.
But LIAPP still alert..
I definitely installed GAPPS. I also add that props to
/var/lib/waydroid/waydroid_base.prop
. But LIAPP still alert..
Restarted the container after the changes?
@dannroda Yes sure. I guess your props can help avoiding root detection, but can't avoid virtual device detection.
@yms2772 what's the app name?
@yms2772 yeah, I can't even install it from the Play Store. You can try the magisk + frida combo
Instead the waydroid_base.prop
props should be written to /var/lib/waydroid/waydroid.cfg
, in the [properties]
section, then run waydroid upgrade --offline
to regenerate waydroid_base.prop with the new props
@YogSottot The changes mentioned in waydroid_base.prop are not enough to bypass root detection of some apps, maybe you have an idea: https://github.com/waydroid/waydroid/issues/935#issuecomment-1879857081
whatsapp detected root. This solved the issue. Thanks OP
I'm getting the same "API Hooking, dl_notify_number. Debugging has been detected. App will be terminated. (Please contact customer center.)" error when trying to play "Immortal Rising". Have already tried editing the waydroid.cfg and adding the previously recommended lines, but no change. Any thoughts what else could be done to avoid the error?
@Mindclaw
Try adding
ro.adb.secure = 1
ro.debuggable = 0
I tried this game, it works for me.
@Mindclaw are you using libndk or libhoudini? libndk triggers debugging liapp alert for me.
anybody got ChatGPT to work, please share your configs :D
anybody got apple music to work ?
Describe the bug When I try to run KonoSuba: Fantastic Days, I get the following error: LIAPP Alert: Api hooking, dl_notify_number. Debugging has been detected.
Screenshots
General information (please complete the following information):
Desktop (please complete the following information):
Additional context Waydroid is not rooted. (no Magisk/Zygisk/Lucky Patcher/LSPosed/Game Guardian/etc) Developer mode disabled Stock Waydroid with GApps and Google Play Protect certification This game used to work without any problems. No suspicious apps installed, just a few games.
Logs (please upload as file)
/var/lib/waydroid/waydroid.prop
waydroid.prop
Log file, located at
/var/lib/waydroid/waydroid.log
waydroid.log
``` (685337) [13:10:42] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (685337) [13:10:42] % /usr/lib/waydroid/data/scripts/waydroid-net.sh stop vnic is waydroid0 waydroid-net isn't running (685337) [13:10:42] % systemctl is-enabled -q nfcd Failed to get unit file state for nfcd.service: No such file or directory (687150) [13:10:42] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (687150) [13:10:42] % modprobe -q ashmem_linux (687150) [13:10:42] % chmod 666 -R /dev/anbox-binder (687150) [13:10:42] % chmod 666 -R /dev/anbox-vndbinder (687150) [13:10:42] % chmod 666 -R /dev/anbox-hwbinder (687168) [13:10:44] Starting waydroid session (687168) [13:10:44] WAYLAND_DISPLAY is not set, defaulting to "wayland-0" (687150) [13:10:44] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start vnic is waydroid0 (687150) [13:10:44] % systemctl is-active -q nfcd (687150) [13:10:44] % chmod 777 -R /sys/kernel/debug/sync/sw_sync (687150) [13:10:44] % chmod 777 -R /dev/dri (687150) [13:10:44] % chmod 777 -R /dev/fb0 (687150) [13:10:44] % mv /var/lib/waydroid/config_session /var/lib/waydroid/lxc/waydroid (687150) [13:10:44] % mount -o ro /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs (687150) [13:10:44] % mount -t overlay -o ro,lowerdir=/var/lib/waydroid/overlay:/var/lib/waydroid/rootfs,upperdir=/var/lib/waydroid/overlay_rw/system,workdir=/var/lib/waydroid/overlay_work/system,xino=off overlay /var/lib/waydroid/rootfs (687150) [13:10:44] % mount -o ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor (687150) [13:10:44] % mount -t overlay -o ro,lowerdir=/var/lib/waydroid/overlay/vendor:/var/lib/waydroid/rootfs/vendor,upperdir=/var/lib/waydroid/overlay_rw/vendor,workdir=/var/lib/waydroid/overlay_work/vendor,xino=off overlay /var/lib/waydroid/rootfs/vendor (687150) [13:10:44] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop (687150) [13:10:44] Save config: /var/lib/waydroid/waydroid.cfg (687150) [13:10:44] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init (687150) [13:10:44] New background process: pid=687242, output=background (687150) [13:10:44] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH STOPPED (687150) [13:10:44] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH RUNNING (687150) [13:10:44] waiting 10 seconds for container to start... (688205) [13:10:47] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH RUNNING (687168) [13:10:54] waydroidusermonitor: Received transaction: 1 (687168) [13:10:54] Android with user 0 is ready (687168) [13:10:54] % adb start-server (687168) [13:10:54] % adb connect 192.168.240.112 missing port in specification: tcp:192.168.240.112 (687168) [13:10:54] Established ADB connection to Waydroid device at 192.168.240.112. (690091) [13:11:05] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH RUNNING ```Full (not partial) output of
waydroid logcat
while Waydroid is running https://gist.github.com/YogSottot/0c3d30f58a247aa7eeb4631908cd2e07Output of
dmesg
https://gist.github.com/YogSottot/e038642b4aaad2e54d8d8d2d98f6391a