Commit Graph

40 Commits

Author SHA1 Message Date
Box In a Box d0323f36c6 phoenix_firmware_dumper: Generate TWRP Tree if possible. 2022-04-29 19:28:52 +00:00
Box In a Box df550b8829 dumper: Randomize Branch Names
(1). This is needed in order to dump custom-roms, as multiple builds of the same device might use the same fingerprint, thus not pushing the firmware, or git notifying to use "-f" flag, which is not what we want.
(2). We aren't hosting our dumps on a custom server, so storage isn't much of a headache as of now.
2022-01-20 15:26:13 +00:00
Hendra Manudinata bb96d9432f utils: Use AOSP `dtc` from other branch
In  5443d89a08, I (yes, that was me) used `master` branch for `dtc`.

The fact that `master` branch is kinda same like kernel.org's `dtc`. But other branches than `master`, like `android10-release`, generates the `dts` output more correctly.

So use that one.
2021-12-08 14:46:47 +00:00
Box In a Box bdc2949586 dumper: dumper.sh: Show Kernel Version In Telegram Message
- Why Not?
2021-12-08 14:46:47 +00:00
Evan Ferrao 541bd2a06d dumper: Introduce Live-Telegram Updates
- Due To CURL Requests At Each Stage, Average Dump Time Will Be Increased By Approximately 2min, This However Pales In Comparison To The Benifits Of Live-Updates"
2021-12-08 14:46:43 +00:00
Evan Ferrao 15aa91be54 dumper: Switch Over To GitLab
- All My Homies Use GitLab
- Add Support For Personal/Community/Private GitLab Instances
2021-09-19 13:55:18 +05:30
Rokib Hasan Sagar 236b3e1d18
Merge pull request #4 from hendralizeStuff/main
- Use device codename when the description is empty
- Use DTC from Android Source instead of Kernel(dot)Org
- Fix ikconfig extraction resulting empty file
2021-06-21 19:52:36 +06:00
Hendra Manudinata 8861794b63
[TEST] dumper: Fix ikconfig extraction resulting empty file 2021-06-21 12:17:19 +07:00
Hendra Manudinata 5443d89a08
utils: Use Android version of DTC
Using Android version of DTC resulting more correct of dumped DTS. The
one that I notice is comma seperator between value. With Linux DTC, the
comma seperator is converted to '\0', while Android DTC convert these
normally.

I don't know the difference of those, but if there a normal version, why
not?

The source of Android DTC is taken from here:
https://android.googlesource.com/platform/external/dtc, branch master.
2021-06-19 11:18:53 +07:00
Hendra Manudinata 698113dc3f
dumper: Use device codename in the worst case
Some devices like RMX1851
(https://github.com/DroidDumps/realme_rmx1851_dump) doesn't have
description and incremental information from build.prop. And if this
case happen, the description will be empty, resulting no repository
description and weird commit message.

So for the alternative, use device codename for this case. Users won't
confused tho.
2021-06-19 10:22:42 +07:00
Rokib Hasan Sagar a315b7b3b8
Update dumper.sh
- Unencrypted ozips are reconstructed as zip in the same directory with same basename.
  Dumper will try to get that file first, then search for unpacked encrypted ozip contents.
2021-05-31 14:22:59 +06:00
rokibhasansagar 1d5a0b579b
Various fixes amd improvements
- Suppress more bypassed command error logs
- Rework euclid image extraction snippet
- Try to fix empty incremental and description

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-04-05 03:13:33 +06:00
rokibhasansagar a8485297b3
Fix Oppo/Realme ofp extraction logic
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-04-05 01:12:38 +06:00
Rokib Hasan Sagar 2236fadaab
Update dumper.sh
- Simplify external tool cloning
- Fix and update (split)super image detection and extraction

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-04-05 00:34:45 +06:00
rokibhasansagar c4d479d03d utils: Update lpunpack
- Merge build from 8a056f69fbd9558c3577317922afe7a127298f80

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-04-04 08:42:37 +00:00
Rokib Hasan Sagar 5ad4c9bf89
Update setup.sh
- Fix pypa fetch url
- Remove pycrypto, as it breaks pycryptodome

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-04-04 13:25:05 +06:00
rokibhasansagar 9a34af653d
Revert "Update dumper.sh"
This reverts commit 3723de08a8.

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-04-04 12:09:35 +06:00
Rokib Hasan Sagar 3723de08a8
Update dumper.sh
- Fix non-encrypted ozip extraction
2021-01-31 05:37:20 +06:00
rokibhasansagar d77a9e3023
Realme OTA check implemented
- Corrected .gitignore
- Updated README
- Improved build prop identification

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-01-31 00:37:23 +06:00
rokibhasansagar 032e20cc3d
Fix multiple fingerprint parsing
- with suppression of otherpartition finding
- and board-info.txt file fixation

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-01-22 22:25:28 +06:00
rokibhasansagar 6f37875280
More Oppo/Realme Improvements
- With vmlinux-to-elf Short Pathname
- A/B Device Check
- More euclid Image Extraction Support

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-01-22 22:25:15 +06:00
rokibhasansagar da2073a47d
Onedrive Direct Link Fix
- With Disabled Certificate Check For wget & aria2c

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-01-22 17:15:59 +06:00
rokibhasansagar 84385e2c45
Use update_metadata_pb2.py from Android's update_engine Git Repository
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-01-22 16:57:45 +06:00
rokibhasansagar d12c790d5e
Housekeeping
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2021-01-02 23:54:16 +06:00
rokibhasansagar de16b52adc
Simplify Xiaomi .tgz firmware extraction
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-12-27 13:34:42 +06:00
AndroiableDroid d216ebfeb3
Fixed Archived firmware extraction
Signed-off-by: AndroiableDroid <mohd.faraz.abc@gmail.com>
2020-12-27 13:34:41 +06:00
AndroiableDroid 3624d73c90
Added V3 bootimgs extraction
Signed-off-by: AndroiableDroid <mohd.faraz.abc@gmail.com>
2020-12-27 13:34:41 +06:00
rokibhasansagar 89deb3808d
Improved build prop identification
Now no prop will be empty, at least if available in them

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-12-27 13:34:21 +06:00
rokibhasansagar cabfcb5b9a
Version Patch number bump with updates
- Oppo ofp firmware checks refined
- Partition extraction repetition removed
- Re-Loadable filesize check improved
- Documentation updated to latest version v1.1.3

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-12-14 18:30:29 +06:00
rokibhasansagar a3dd4ddc60
Minor Improvements
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-12-08 13:08:22 +06:00
Mohd Faraz 8e2ecb7464 Added Oneplus/Oppo ops extraction
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
2020-12-07 23:50:14 +05:30
Mohd Faraz ed7d56cced added dtbo unpack tasks
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
2020-12-07 23:50:05 +05:30
Mohd Faraz f965aa46b1 unpack other partitions when super
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
2020-12-06 15:35:58 +05:30
rokibhasansagar 05a93aa9f0
Huge Update
- Bumped patch version
- Oppo ofp firmware in-a-zip file is currently supported
- Both Oppo's ozip and ofp decrypter is fetched from upstream now
- vmlinux-to-elf by marin-m is fetched from upstream now
- unpacking boot/recovery image is no longer silent
- Files larger than 62 MB will be split into parts

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-12-02 14:16:01 +06:00
Rokib Hasan Sagar 39cedc236d
Update dumper.sh
- add another location for searching oppo product device codename
2020-12-01 14:14:16 +06:00
rokibhasansagar e63053f84f
Minor Update: vmlinux-to-elf updated
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-11-06 21:51:20 +06:00
rokibhasansagar 3721b32cc8
Add recovery image support
- Helpfull for making TWRP Trees
- Also added another possible path for finding realme codename

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-11-06 21:34:21 +06:00
rokibhasansagar e51f9dd441
Enhancement: Remove zippyshare & GDrive folder support
- Unified badown and gdrive script with a little modification

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-10-31 18:40:42 +06:00
Rokib Hasan Sagar cb09a69792
Little Bugfix
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-10-21 14:43:07 +06:00
rokibhasansagar b976e12beb
Phoenix is Risen
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
2020-10-18 12:13:25 +06:00