egl = tools.helpers.props.host_get(args, "ro.hardware.egl")
dri, _ = tools.helpers.gpu.getDriNode(args)
egl = tools.helpers.props.host_get(args, "ro.hardware.egl")
dri, _ = tools.helpers.gpu.getDriNode(args)
command = ["lxc-attach", "-P", tools.config.defaults["lxc"],
"-n", "waydroid", "--clear-env", "--",
"/system/bin/cat" ,"/data/system/environ/classpath"]
command = ["lxc-attach", "-P", tools.config.defaults["lxc"],
"-n", "waydroid", "--clear-env", "--",
"/system/bin/cat" ,"/data/system/environ/classpath"]
try:
p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
out, _ = p.communicate()
if p.returncode == 0:
for line in out.decode().splitlines():
_, k, v = line.split(' ', 2)
try:
p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
out, _ = p.communicate()
if p.returncode == 0:
for line in out.decode().splitlines():
_, k, v = line.split(' ', 2)