Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
env:
# Telegram
TG_CHAT: "@DumprXDumps"
TG_TOKEN: ENCRYPTED[5f547b09e09023988e0ea334b4328cd83bea8e4eb4389f2365eab389e0df620ae2a1c0555edc0f32801cd4c594f4e2b1]
TG_TOKEN: ENCRYPTED[a73a53b94a14e3cb110744a6edd108475494c5eff22d1881b407ae09d6a4fef90e8579a1b8f8a7286a9452c081f94894]

# Gitlab
PUSH_TO_GITLAB: true
GITLAB_GROUP: Android-Dumps
GITLAB_TOKEN: ENCRYPTED[99ff1b55524206ae9db506d7ac7ffa41e359124579a5756632c53d486f1a5321ab4a4a3e1c7b86c42d598912a2edf33d]
GITLAB_GROUP: DumprX
GITLAB_TOKEN: ENCRYPTED[9df452a061a97524a9994517e5fc5bbc4ebbb62aff325ec486ae4395276ba8561ca921bcd0dac76c0f2edff77808b6d8]
GITLAB_INSTANCE: www.opencode.net

# Private SSH Key
PRIV_SSH_KEY: ENCRYPTED[f089734f7284794ec3d78e4fb239fd4e5a9b4db19173fb406d17b1788af1b9cc50e6b4b5c0e439bd7b2bd9feced489a8]
PRIV_SSH_KEY: ENCRYPTED[6642ded05f455c0aec06fb52c7c7c9981de3d199832ca90b8270392a3b2784a77c34922104b79c4b2312b16de6e0b055]

task:
name: "Firmware Dump by DumprX"
only_if: $CIRRUS_REPO_OWNER == 'DumprX'
skip: $CIRRUS_BRANCH == 'main'
auto_cancellation: $CIRRUS_BRANCH == 'autocancel'
timeout_in: 120m
container:
image: ghcr.io/sushrut1101/docker:arch
Expand All @@ -28,6 +30,7 @@ task:
- mkdir -p ~/.ssh
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
- ssh-keyscan -t rsa $GITLAB_INSTANCE >> ~/.ssh/known_hosts
- echo "$PRIV_SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa

Expand All @@ -39,6 +42,7 @@ task:
- echo "$GITLAB_GROUP" > .gitlab_group
- echo "$TG_CHAT" > .tg_chat
- echo "$TG_TOKEN" > .tg_token
- echo "$GITLAB_INSTANCE" > .gitlab_instance
- sudo bash setup.sh

DumprX_script:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Dump Android ROMs/Firmwares Online, via a PR, for free!
## Notes ##
- If the Dump is Successful, you'll see a post on our Telegram Channel, [@DumprXDumps](https://t.me/DumprXDumps)
- If the Dump Fails, you'll not see the post, and you'll have to check the Logs in Cirrus CI Website
- The Dumps are Pushed to [https://gitlab.com/Android-Dumps](https://gitlab.com/Android-Dumps
- The Dumps are Pushed to [https://www.opencode.net/DumprX](https://www.opencode.net/DumprX
)
- Since this is Using only 2 Cores, Cirrus Waiting Time is Very less, Usually not more than a minute or two.
- This Script use [DumprX](https://github.com/DumprX/DumprX.git) to Dump the ROM/Firmware.
Expand Down
2 changes: 1 addition & 1 deletion ROM_URL.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://bigota.d.miui.com/V12.5.4.0.RJWINXM/curtana_in_global_images_V12.5.4.0.RJWINXM_20220129.0000.00_11.0_in_85f43863e5.tgz
https://bigota.d.miui.com/V14.0.2.0.TGEMIXM/miui_FOGGlobal_V14.0.2.0.TGEMIXM_d9fc7d070f_13.0.zip