{"id":27134762,"url":"https://github.com/chickendrop89/fastboot-oem-extractor","last_synced_at":"2025-04-08T00:59:05.390Z","repository":{"id":285639648,"uuid":"953148931","full_name":"chickendrop89/fastboot-oem-extractor","owner":"chickendrop89","description":"Extract hidden \"fastboot oem\" commands from firmware blobs (ABL, UEFI, LK)","archived":false,"fork":false,"pushed_at":"2025-04-01T21:16:57.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T22:27:51.720Z","etag":null,"topics":["abl","fastboot","little-kernel","lk","mediatek","oem","qualcomm","reverse-engineering","uefi"],"latest_commit_sha":null,"homepage":"","language":"Python","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/chickendrop89.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":"2025-03-22T17:21:02.000Z","updated_at":"2025-04-01T21:35:21.000Z","dependencies_parsed_at":"2025-04-01T22:28:03.161Z","dependency_job_id":"f132f2a8-0791-4892-8411-b44b96ee0c3c","html_url":"https://github.com/chickendrop89/fastboot-oem-extractor","commit_stats":null,"previous_names":["chickendrop89/fastboot-oem-extractor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickendrop89%2Ffastboot-oem-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickendrop89%2Ffastboot-oem-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickendrop89%2Ffastboot-oem-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickendrop89%2Ffastboot-oem-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chickendrop89","download_url":"https://codeload.github.com/chickendrop89/fastboot-oem-extractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755581,"owners_count":20990626,"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":["abl","fastboot","little-kernel","lk","mediatek","oem","qualcomm","reverse-engineering","uefi"],"created_at":"2025-04-08T00:59:04.426Z","updated_at":"2025-04-08T00:59:05.373Z","avatar_url":"https://github.com/chickendrop89.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastboot-oem-extractor \nExtract hidden \"fastboot oem\" commands from firmware blobs\n\n## Supported firmware\nThese firmware blobs will be accepted by this tool \n- ABL (Qualcomm)\n- LK (MediaTek)\n- Anything else containing UEFI PEs\n- Anything else containing common bootloader magic bytes\n\n## How to use:\n1. Install python requirements\n```shell\npip install -r requirements.txt\n```\n\n2. Prepare your firmware images from the internet, or by pulling them off the device with `adb`\n3. Run extractor.py against the image\n```shell\n╰─$ ./extractor.py abl.img\n(x) Reading firmware file: abl.img\n(x) Found valid firmware structure at offset: 0x3000\n(x) Extracting firmware...\n(x) Found 1 UEFI portable executable(s)\n(x) Matching 'oem *' ascii strings\n\noem device-info\noem disable-charger-screen\noem edl\noem enable-charger-screen\noem erase-vb-index\noem fbreason\noem getguid\noem getlog\noem lkmsg\noem lock\noem lpmsg\noem off-mode-charge\noem poweroff\noem select-display-panel\noem set-hw-fence-value\noem uart-enable\noem unlock\n```\n\n## Disclaimer:\nIn rare cases, this code might output some hallucinations of commands that don't exist,\nor don't work after the device is sent out of factory. Keep this in mind","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchickendrop89%2Ffastboot-oem-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchickendrop89%2Ffastboot-oem-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchickendrop89%2Ffastboot-oem-extractor/lists"}