(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.
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.
- 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"
- Use device codename when the description is empty
- Use DTC from Android Source instead of Kernel(dot)Org
- Fix ikconfig extraction resulting empty file
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.
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.
- 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.
- With vmlinux-to-elf Short Pathname
- A/B Device Check
- More euclid Image Extraction Support
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
- 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>
- Helpfull for making TWRP Trees
- Also added another possible path for finding realme codename
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>