We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waydroid just rebooting after changing the file this file link is bellow
click here to see
after changing in file waydroid in not able to boot and i am getting this in that file
import os import shutil from stuff.general import General class Smartdock(General): id = "smartdock" dl_link = "https://f-droid.org/repo/cu.axel.smartdock_1121.apk" partition = "system" dl_file_name = "smartdock.apk" act_md5 = "dde94e2babc5f78bf7279e60a98eef05" apply_props = { "qemu.hw.mainkeys" : "1" } skip_extract = True permissions = """<?xml version="1.0" encoding="utf-8"?> <permissions> <privapp-permissions package="cu.axel.smartdock"> <permission name="android.permission.SYSTEM_ALERT_WINDOW" /> <permission name="android.permission.GET_TASKS"/> <permission name="android.permission.REORDER_TASKS"/> <permission name="android.permission.REMOVE_TASKS" /> <permission name="android.permission.ACCESS_WIFI_STATE"/> <permission name="android.permission.CHANGE_WIFI_STATE"/> <permission name="android.permission.ACCESS_NETWORK_STATE"/> <permission name="android.permission.ACCESS_FINE_LOCATION"/> <permission name="android.permission.READ_EXTERNAL_STORAGE"/> <permission name="android.permission.MANAGE_USERS"/> <permission name="android.permission.BLUETOOTH_ADMIN"/> <permission name="android.permission.BLUETOOTH_CONNECT"/> <permission name="android.permission.BLUETOOTH"/> <permission name="android.permission.REQUEST_DELETE_PACKAGES"/> <permission name="android.permission.ACCESS_SUPERUSER"/> <permission name="android.permission.PACKAGE_USAGE_STATS" /> <permission name="android.permission.QUERY_ALL_PACKAGES" /> </privapp-permissions> </permissions> """ files = [ "etc/permissions/permissions_cu.axel.smartdock.xml", "priv-app/SmartDock", "etc/init/smartdock.rc" ] rc_content = ''' on property:sys.boot_completed=1 start set_home_activity service set_home_activity /system/bin/sh -c "cmd package set-home-activity cu.axel.smartdock/.activities.LauncherActivity" user root group root oneshot ''' def copy(self): if not os.path.exists(os.path.join(self.copy_dir, self.partition, "priv-app", "SmartDock")): os.makedirs(os.path.join(self.copy_dir, self.partition, "priv-app", "SmartDock")) if not os.path.exists(os.path.join(self.copy_dir, self.partition, "etc", "permissions")): os.makedirs(os.path.join(self.copy_dir, self.partition, "etc", "permissions")) shutil.copyfile(os.path.join(self.download_loc), os.path.join(self.copy_dir, self.partition, "priv-app/SmartDock/smartdock.apk")) with open(os.path.join(self.copy_dir, self.partition, "etc", "permissions", "permissions_cu.axel.smartdock.xml"), "w") as f: f.write(self.permissions) rc_dir = os.path.join(self.copy_dir, self.partition, "etc/init/smartdock.rc") if not os.path.exists(os.path.dirname(rc_dir)): os.makedirs(os.path.dirname(rc_dir)) self.extract_app_lib(os.path.join(self.copy_dir, self.partition, "priv-app/SmartDock/smartdock.apk")) with open(rc_dir, "w") as f: f.write(self.rc_content)
The text was updated successfully, but these errors were encountered:
Sorry but how to apply this fixes?
Sorry, something went wrong.
No branches or pull requests
click here to see
after changing in file waydroid in not able to boot and i am getting this in that file
The text was updated successfully, but these errors were encountered: