{"id":17930397,"url":"https://github.com/sickcodes/droid-ndk-extractor","last_synced_at":"2025-03-24T04:31:15.086Z","repository":{"id":43737855,"uuid":"406170931","full_name":"sickcodes/Droid-NDK-Extractor","owner":"sickcodes","description":"Android NDK Extractor - Extract ARM native bridge libndk translation libraries for use in any Android derivative.","archived":false,"fork":false,"pushed_at":"2022-02-20T20:38:52.000Z","size":17,"stargazers_count":51,"open_issues_count":4,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T22:00:19.428Z","etag":null,"topics":["android","arm","libndk","ndk"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sickcodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-14T00:28:50.000Z","updated_at":"2025-03-04T12:50:53.000Z","dependencies_parsed_at":"2022-09-08T06:21:06.731Z","dependency_job_id":null,"html_url":"https://github.com/sickcodes/Droid-NDK-Extractor","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/sickcodes%2FDroid-NDK-Extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sickcodes%2FDroid-NDK-Extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sickcodes%2FDroid-NDK-Extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sickcodes%2FDroid-NDK-Extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sickcodes","download_url":"https://codeload.github.com/sickcodes/Droid-NDK-Extractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245211043,"owners_count":20578331,"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":["android","arm","libndk","ndk"],"created_at":"2024-10-28T21:13:11.517Z","updated_at":"2025-03-24T04:31:14.724Z","avatar_url":"https://github.com/sickcodes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Droid-NDK-Extractor\nAndroid NDK Extractor - Extract ARM native bridge translations for use in any Android derivative.\n\nSystem Requirements:\n\n```\np7zip\nbinwalk\ngit\n```\n\n`./android-extract-ndk.sh`\n\n```bash\n\n#!/bin/bash\n# Author:       sickcodes\n# Contact:      https://twitter.com/sickcodes\n# Repo:         https://github.com/sickcodes/Droid-NDK-Extractor\n# Copyright:    sickcodes (C) 2021\n# License:      GPLv3+\n\nARCH=\"${1}\"\nARCH=\"${ARCH:=\"x86_64\"}\"\n\nmkdir ./working\n\ncd ./working\n\ngit clone https://gitlab.com/android-generic/android_vendor_google_emu-x86.git\n\nyes | ./android_vendor_google_emu-x86/download-files.sh \"${ARCH}\"\n\nyes | unzip \"${ARCH}-*-linux.zip\"\n\n7z e x86_64/system.img\n\nbinwalk -e \\\n    --depth 1 \\\n    --count 1 \\\n    -y 'filesystem' \\\n    super.img # only search for filesystem signatures\n\n# 1048576       0x100000        \\\n# Linux EXT filesystem, blocks count: 234701, \\\n# image size: 240333824, rev 1.0, ext2 filesystem data, \\\n# UUID=31e7cd0f-5577-515b-bea5-c836952b952b, volume name \"/\"\n\nmkdir extracted\ncd extracted\n\nyes | 7z x ../_super.img.extracted/100000.ext\n\nfind system \\( -name 'libndk_translation*' -o -name '*arm*' -o -name 'ndk_translation*' \\) | tar -cf native-bridge.tar -T -\n\npwd\n\nstat native-bridge.tar\n\necho \"${PWD}/native-bridge.tar\"\n\n# move native-bridge.tar somewhere, and remove the ./working folder as it is no longer required.\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsickcodes%2Fdroid-ndk-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsickcodes%2Fdroid-ndk-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsickcodes%2Fdroid-ndk-extractor/lists"}