remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.12k stars 295 forks source link

#prop# #ro.xxx# The settings for the phone model and other parameters are not taking effect. #481

Open paulgu888 opened 11 months ago

paulgu888 commented 11 months ago

docker run -itd --privileged \ --restart=always \ --name=redroid \ -p 5689:5555 \ redroid/redroid:13.0.0-latest \ androidboot.redroid_width=411 \ androidboot.redroid_height=711 \ androidboot.redroid_fps=30 \ androidboot.redroid_dpi=320 \ androidboot.hardware=mt6899 ro.secure=0 ro.product.system.name=android12

androidboot.hardware=mt6899 ro.secure=0 ro.product.system.name=android12

When these settings are applied and Docker is started, the parameters do not take effect. I would appreciate it if the developers could provide guidance on the cause of this failure. Thank you.

zhouziyang commented 11 months ago

You can set device model with ro.product.model. BTW, you can override androidboot.hardware via docker run ... --entrypoint "/init androidboot.hardware=redroid" ...; Well, should not change this key property.