{"id":13566911,"url":"https://github.com/xpirt/sdat2img","last_synced_at":"2025-04-04T00:32:26.869Z","repository":{"id":25032987,"uuid":"28452602","full_name":"xpirt/sdat2img","owner":"xpirt","description":"Convert sparse Android data image to filesystem ext4 image","archived":false,"fork":false,"pushed_at":"2022-06-26T12:25:27.000Z","size":27,"stargazers_count":858,"open_issues_count":9,"forks_count":388,"subscribers_count":39,"default_branch":"master","last_synced_at":"2024-11-04T21:37:12.490Z","etag":null,"topics":["android","python","sdat2img"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xpirt.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":"2014-12-24T15:19:19.000Z","updated_at":"2024-11-03T03:43:15.000Z","dependencies_parsed_at":"2022-07-09T10:31:23.218Z","dependency_job_id":null,"html_url":"https://github.com/xpirt/sdat2img","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/xpirt%2Fsdat2img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpirt%2Fsdat2img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpirt%2Fsdat2img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpirt%2Fsdat2img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpirt","download_url":"https://codeload.github.com/xpirt/sdat2img/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103290,"owners_count":20884023,"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","python","sdat2img"],"created_at":"2024-08-01T13:02:19.415Z","updated_at":"2025-04-04T00:32:26.586Z","avatar_url":"https://github.com/xpirt.png","language":"Python","readme":"# sdat2img\nConvert sparse Android data image (.dat) into filesystem ext4 image (.img)\n\n\n\n## Requirements\nThis binary requires Python 2.7 or newer installed on your system. \nIt currently supports Windows, Linux, MacOS \u0026 ARM architectures.\n\n**Note:** newer Google's [Brotli](https://github.com/google/brotli) format (`system.new.dat.br`) must be decompressed to a valid sparse data image before using `sdat2img` binary.\n\n\n\n## Usage\n```\nsdat2img.py \u003ctransfer_list\u003e \u003csystem_new_file\u003e [system_img]\n```\n- `\u003ctransfer_list\u003e` = input, system.transfer.list from rom zip\n- `\u003csystem_new_file\u003e` = input, system.new.dat from rom zip\n- `[system_img]` = output ext4 raw image file (optional)\n\n\n\n## Example\nThis is a simple example on a Linux system: \n```\n~$ ./sdat2img.py system.transfer.list system.new.dat system.img\n```\n\n\n\n## OTAs\nIf you are looking on decompressing `system.patch.dat` file or `.p` files, therefore reproduce the patching system on your PC, check [imgpatchtools](https://github.com/erfanoabdi/imgpatchtools) out by @erfanoabdi.\n\n\n\n## Info\nFor more information about this binary, visit http://forum.xda-developers.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpirt%2Fsdat2img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpirt%2Fsdat2img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpirt%2Fsdat2img/lists"}