Skip to content

Latest commit

 

History

History
executable file
·
97 lines (67 loc) · 6.41 KB

README.md

File metadata and controls

executable file
·
97 lines (67 loc) · 6.41 KB

samloader-actions ⚙️

samloader-actions is a GitHub CI script designed to download the required files for Magisk to root your Samsung device without needing to download big firmware files..!

❗️WARNING: If you input a wrong IMEI, the script will fail to get the firmware from the Samsung server.

❗️WARNING: You must update the phone's software to the latest version before unlocking the bootloader.

Note

If you wish to upload the final results to your Telegram, create a public Telegram channel and a bot, add the bot to the channel as an admin, and set the GitHub environment secret TELEGRAM_BOT_TOKEN with your bot token and TELEGRAM_CHAT_ID with your channel's ID.

How to root your phone using only my Script..? 🌜

Requirements:

  • a Samsung device with your latest Samsung software update.
  • Unlocked bootloader.
  • PC and USB cable.
  • Samsung USB Driver and ODIN. ( Link 1, Link 2, Or download "Odin" and "Samsung USB drivers" from google )
  • 🧠

1️⃣. Steps:

01. Update your Samsung device to the latest software update.

  • Otherwise, your device will fail to boot..❗

02. Backup your important files/photos/videos/messages to an external storage.

  • Because your device will reset during the bootloader unlocking process.

03. Unlock your device's bootloader using the guides below.

04. Follow every step in the "Usage" Section.

05. Fixing common issues.

2️⃣. Usage: ☑️

1. Give this repository a Star ⭐️ and fork it.

2. Navigate to the "Actions" tab and select "Create a zip for Magisk".

3. Fill in all the required information there and press the "Run workflow" button ✅.


🗒 Note: You can find the value for CSC in "Settings > About phone > Software information > Service provider software version".

4. The script will start the downloading process for you.


5. After 10-15 minutes, you can find the output files in your Telegram channel or Workflow's artifacts. (I'll choose the artifact.)

6. Download the artifact and extract the "tar.xz" file inside it.

7. Extract the "Magisk-Patch-Me-YOUR-MODEL.tar" inside that "tar.xz" file.

8. Now, copy the extracted "Magisk-Patch-Me-YOUR-MODEL.tar" to your phone's internal storage.

10. Open Magisk Manager > Choose the first "Install" button > "Select and Patch a File" > Choose the tar file which we copied to internal storage > "LET'S GO ->"

1.mp4

11. The patched tar file will be located in your "Download" folder. Copy it to your PC.

12. Reboot your Device to Download mode.

13. Open "ODIN" and click "AP" button and choose the "magisk_patched-xxxx.tar".


14. Press "Start" in ODIN. It will begin to flash the patched file required for Magisk root to your device.


15. Now, your device should boot up. If it fails, just do a "wipe data/factory reset" using Android recovery. (In my case, I didn't want to do a reset)


16. Open Magisk Manager and You will see a notice like this:

  • Simply press OK and your device will reboot in 5 seconds.

17. 🔥Once booted, install a root checker app and see the magic..! 😉


Credits: