{"id":15608919,"url":"https://github.com/pcboy/adb-insecure-patcher","last_synced_at":"2025-04-28T11:48:36.214Z","repository":{"id":146100461,"uuid":"100171573","full_name":"pcboy/adb-insecure-patcher","owner":"pcboy","description":"Enable adbd as root on any ROM","archived":false,"fork":false,"pushed_at":"2019-06-05T02:16:12.000Z","size":5938,"stargazers_count":70,"open_issues_count":5,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T09:22:07.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-13T11:17:12.000Z","updated_at":"2025-02-09T23:13:47.000Z","dependencies_parsed_at":"2023-05-15T01:00:11.478Z","dependency_job_id":null,"html_url":"https://github.com/pcboy/adb-insecure-patcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Fadb-insecure-patcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Fadb-insecure-patcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Fadb-insecure-patcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcboy%2Fadb-insecure-patcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcboy","download_url":"https://codeload.github.com/pcboy/adb-insecure-patcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251309985,"owners_count":21568939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T05:40:29.509Z","updated_at":"2025-04-28T11:48:36.190Z","avatar_url":"https://github.com/pcboy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ADBD insecure patcher\nIn some cases android ROM prevent you from running adb as root. After an `adb root` you can get the message `adbd cannot run as root in production builds` which is super annoying. \nThe script ./adb\\_insecure.sh can patch any android ROM kernel in order to enable running adbd as root.\n\n# Usage\n\n```\n./adb_insecure.sh YOUR_ROM.zip\n```\n\nThen you will get a boot.img file that you can flash with `fastboot flash boot boot.img` in bootloader mode.\n\n# For Xiaomi.eu ROMS (and other Treble ROMs)\nOn Xioami.eu ROMS the ramdisk/default.prop is a symlink to /system/etc/prop.default.  \nYou can if you want take that /system/etc/prop.default and overwrite the ramdisk/default.prop.  \nThe script right now is simply overwriting the ramdisk/default.prop with a default one.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcboy%2Fadb-insecure-patcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcboy%2Fadb-insecure-patcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcboy%2Fadb-insecure-patcher/lists"}