From b67dafefe0d17dee2a448eeadc3daa95c8182f28 Mon Sep 17 00:00:00 2001 From: Money-Ape <128079906+Money-Ape@users.noreply.github.com> Date: Wed, 13 Nov 2024 23:46:46 +0530 Subject: [PATCH 1/3] Line : 134 : 'printf(rt%02ld%%,', Change %02d to %02ld --- pacextractor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacextractor.c b/pacextractor.c index 6992ed7..e9954a8 100644 --- a/pacextractor.c +++ b/pacextractor.c @@ -131,7 +131,7 @@ int main(int argc, char** argv) { printf("Partition image extraction error"); exit(EXIT_FAILURE); } - printf("\r\t%02d%%", (uint64_t)100 - (uint64_t)100*dataSizeLeft/partHeaders[i]->partitionSize); + printf("\r\t%02ld%%", (uint64_t)100 - (uint64_t)100*dataSizeLeft/partHeaders[i]->partitionSize); } printf("\n"); close(fd_new); From ff6631880b9c768df809adb00a7a275d3aafc125 Mon Sep 17 00:00:00 2001 From: Money-Ape <128079906+Money-Ape@users.noreply.github.com> Date: Sun, 17 Nov 2024 14:21:31 +0530 Subject: [PATCH 2/3] pacextractor : working : Linux{Ubuntu_24.04} --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8519b60..aa653c2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Extractor of SpreadTrum firmware files with extension pac -Extract all data that I may recognize in package. \ No newline at end of file +Tested Successfully on Linux : Ubuntu 24.04 LTS + +Extract all data that I may recognize in package. From 4a112ec13298ab4cc3731a782d1c006db1d93bd0 Mon Sep 17 00:00:00 2001 From: MAN {Lovepreet Singh} Date: Tue, 25 Feb 2025 15:11:38 +0530 Subject: [PATCH 3/3] Create test_hai.md --- test_hai.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 test_hai.md diff --git a/test_hai.md b/test_hai.md new file mode 100644 index 0000000..db08cc2 --- /dev/null +++ b/test_hai.md @@ -0,0 +1 @@ +test hai.!