{"id":15431467,"url":"https://github.com/mkg20001/autoflash","last_synced_at":"2025-11-17T11:35:10.802Z","repository":{"id":66214546,"uuid":"129785009","full_name":"mkg20001/autoflash","owner":"mkg20001","description":"My tiny update script for my phone","archived":false,"fork":false,"pushed_at":"2020-08-08T20:01:45.000Z","size":44,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T16:55:04.052Z","etag":null,"topics":["backup","flash","lineageos","script","twrp"],"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/mkg20001.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":"2018-04-16T18:03:03.000Z","updated_at":"2022-01-13T12:07:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ba36bdd-824e-4a73-a416-4a3386f61123","html_url":"https://github.com/mkg20001/autoflash","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"181250175aef7f407662e25d36662cc4362fc484"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkg20001%2Fautoflash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkg20001%2Fautoflash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkg20001%2Fautoflash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkg20001%2Fautoflash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkg20001","download_url":"https://codeload.github.com/mkg20001/autoflash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241513234,"owners_count":19974712,"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":["backup","flash","lineageos","script","twrp"],"created_at":"2024-10-01T18:22:29.145Z","updated_at":"2025-11-17T11:35:10.724Z","avatar_url":"https://github.com/mkg20001.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autoflash\n\nMy tiny update script for my phone\n\n## Magisk\n\nTo enable magisk, add `MAGISK=true` to `$HOME/.autoflash/$DEVICE.conf`\n\n## Why\n\n### Because doing it manually got annoying\n\n## What does it do?\n\nDownload, install and update:\n - Latest vendor image, if supported\n - Latest TWRP\n - Latest LineageOS\n - Latest F-Droid privileged OTA\n - Latest addon su for LinageOS\n - Latest OpenGApps pico\n\nNote that the last 4 items get updated by doing a full re-flash of the system partion (takes longer than just flashing them individually, but this keeps the system partion cleaner)\n\n## Other nice features:\n\n - Parallel flashing: Add the `ANDROID_SERIAL=\u003cyour-serial\u003e` parameter in front of the command to safely flash multiple phones in parallel\n - Backups: Before every flash a backup of the data partition is taken\n - Robust and well tested: Used in production for over a year. My devices are living proof that this script won't brick yours!\n\n## What is supported?\n\nCurrently the following devices are supported:\n - Google Nexus 5x (bullhead)\n - Google/Asus Nexus Player (fugu)\n - OnePlus One (bacon)\n\n_Coincidently_ they also happen to be the devices I own ;) (All of those are tested to work with this script)\n\nFeel free to add your own devices via PRs, but don't create device request issues as I can't test any of those devices.\n\n## Why publish?\n\nSome people may find it useful for themselves.\n\n# FAQ\n\n## Why does it attempt to unlock the device multiple times?\n\nSometimes a device won't properly unlock on first try (such as the bacon). Therefore unlocking will be tried 3 times before really giving up.\n\n## Why doesn't it detect my device immediatly?\n\nSometimes the adb server won't detect a device. This can be usually solved by re-starting the adb server on the host computer as root with `adb kill-server \u0026\u0026 sudo adb devices`. No idea why.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkg20001%2Fautoflash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkg20001%2Fautoflash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkg20001%2Fautoflash/lists"}