hjxcode
hjxcode
@zhouziyang 你好,这个问题我现在还是频繁发生,尝试了所有issues中提及的方法,都不生效。请问我应该考虑从什么方向去定位问题。会和我在rk3588上使用了nvme固态有关么?或者和宿主机的fuse版本有关?
可能有用的logcat日志: 11-08 10:34:10.912 270 404 D CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10093; state: DISABLED 11-08 10:34:10.962 270 725 W ActivityManager: Appop Denial: Accessing service com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService from pid=1044, uid=10054...
> Any special logs for `com.android.providers.media.module` process? try kill `com.android.providers.media.module`, and fuse connections should be back. > > Possibly fuse connections are aborted by some other daemon service. 我看不出有什么异常的日志,但这个redroid容器每次重启都缺少fuse挂载,即使我kill掉vold服务,让它重新拉起fuse,也没有用。日志如下: [logcat.txt](https://github.com/user-attachments/files/17900587/logcat.txt)
> 不要自己手动创建映射目录,直接用docker命令自动创建,不然权限什么的有问题会导致外部磁盘掉挂载 我使用的是自动创建的data目录来作为database,然后额外映射一个目录作为data-diff。使用的都是原生的权限。我发现当容器内有这个错误(磁盘没了)的时候,是/dev/fuse在 df -h 的显示中没了。应该是fuse没挂上的(也可能是先挂上了,然后又被其他进程干掉了)。在现象中,我发现/sys/fs/fuse/connection目录(宿主机和容器内是相同的)下的连接也确实少了这个手机的连接。 然后我发现,有的时候我手动干掉 容器内/dev/fuse的全部挂载,然后kill 掉vold进程,有一定的概率可以再次自动将/dev/fuse挂载恢复。但有的时候又不生效。 不知道该怎么解决这个问题。
> Any special logs for `com.android.providers.media.module` process? try kill `com.android.providers.media.module`, and fuse connections should be back. > > Possibly fuse connections are aborted by some other daemon service. When the...
我尝试了一下,注入ro.sf.lcd_density,修改成功了xdpi和ydpi,但对于screen dpi,它始终默认的是300.
我发现,这可能是由于docker启动时添加了--privileged导致的,但当我去掉--privileged时,redroid无法正常启动。这个如何解决呢?
> `CLOCK_REALTIME ` is shared even with different `time` namespace. > > FYI: https://www.man7.org/linux/man-pages/man7/time_namespaces.7.html Does that mean that if I change the time in the container, the host's time will...
> How about `docker run ... redroid/redroid-xxx ro.product.locale=zh-CN`? Typically, locale is controlled by `persist.sys.locale` persist property. 两种方法我都尝试了一下,并没有生效。redroid 12 `docker run ... redroid/redroid-xxx ro.product.locale=zh-CN`无法生效在我意料之中 但我无法理解为什么`setprop persist.sys.locale xxxx`后无法生效,因为persist.sys.locale的值已经被成功修改了,并重启了容器。 
> prop改下,然后run的时候映射进去就好了吧,我是在docker-compose文件里面指定的 我尝试在build.prop中指定了,但是不生效。比如我想在手机创建之初将系统语言设定为泰文。