8000 GitHub - daivik007/Rooting-A70s: A Rooting Kit for Samsung A70s (SM-A707F)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

daivik007/Rooting-A70s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LineageOS Logo

Samsung A70s Rooting Kit

This repository provides a complete rooting kit for the Samsung A70s (SM-A707F variant) running LineageOS 21.
It includes all necessary tools and files to root your device safely and efficiently.

πŸ“¦ Included in the Kit

  • Booting Files (Recovery + Boot image)
  • Magisk Modules (Required modules for Magisk)
  • Odin Software (Proprietary software for modifying Samsung recovery)
  • Misc Apps (Google apps and others)

⚠️ Warnings and Risks

  • Rooting will void your warranty.
  • There's a risk of bootloop if instructions are not followed carefully.
  • Backup your data! This process may require a factory reset.
  • This kit is only for Samsung A70s (SM-A707F) running Android 11.
    Using it on other devices or firmware versions may cause irreversible damage.

βš™οΈ Installation Sections

🚧 Prerequisites

  1. Make sure your phone is on the latest firmware for your region. In this case, it is Android 11.
  2. A Windows machine.
  3. Download required files from Release.

To unlock bootloader

  • Go to Settings > About Phone > Software information > Click Build Number a couple of times
  • This should enable Developer options for your samsung device after entering your password.
  • Go in Developer options > Enable OEM unlocking.

πŸ”§ Flashing LineageOS Recovery

  1. Shutdown your phone.

  2. Hold Vol+ and Vol- and connect your phone to a PC.

  3. Click volume up to continue the process on warning page.

  4. Now your device is in Download Mode.
    For verification, FRP Lock and OEM Lock should be OFF and KG STATUS should be checking.

  5. Open Odin and select:

    • AP β†’ Select the Lineage OS recovery provided.
    • BL, CP, CSC β†’ Leave blank.
  6. In Options, only check F. Reset Time.

  7. Click Start and wait for the flash to complete.

  8. Now you have your Recovery installed succesfully.

Odin Recovery

πŸ”§ Flashing LineageOS ROM

  1. Hold Vol- and Power to hard restart.
  2. Shift to Vol+ and Power to go to Recovery.
  3. Go to Factory Reset > Format system partition.
  4. Then, go to Apply Update > Apply from ADB.
  5. From the ADB folder, launch cmd-here.exe.
adb sideload [local path of custom rom]
  1. Then again go for applying update from ADB.
  2. If signature verification failed, install anyway.
adb sideload [magisk.apk path]
  1. Repeat applying update from ADB
adb sideload [MindTheGapps path]
  1. Reboot. Here it won't reboot and will ask for data reset.
  2. Allow data reset and you'll be fine.

πŸ”§ Installing Magisk and Magisk Modules

Installing Magisk

  1. Launch Magisk from app drawer and download the app from toast notification.
  2. After rebooting, launch magisk and you should see Magisk icon.
  3. Launch Magisk and click Install in the Magisk card and select Direct Install to install Magisk.
  4. After reboot, launch Magisk again and go to it's settings. Enable this:
    • Hide the Magisk app
    • Systemless hosts
    • Zygisk
    • Enforce DenyList
    • User Authentication

Module Installation

  • Download the .zip file of the module
  • Go to Magisk > Modules > Install from storage
  • Select the .zip package
  • Reboot!

Passing Play Integrity

  1. Download PIF, TrickyStore, TrickyStore Addon.
  2. Install PIF and reboot.
  3. Install TrickyStore and reboot.
  4. After reboot, cick on the action button on PIF module.
  5. Go to /data/adb using ZArchiver. There you will find a pif.json file.
  6. Copy that file to data/adb/modules/playintegrityfix.
  7. Install TrickyStore Addon and reboot.
  8. After reboot, click on the action button of TrickStore module. this will install KsuWebUI if you do not have KsuWebUI or MMRL installed. KsuWebUI is preferred.
  9. Open KsuWebUI and click on Tricky Store.
  10. Click on menu > click on Set Valid Keybox.
  11. Click on menu again > click on Set Security Patch > click on Get Security Patch > click on Save.
  12. Done. Now you should have basic, device and strong integrity in both legacy and new response.

Do not check play integrity too frequently. Do not check at all if not necessary. Because if you check too frequently, Google with get sus.

πŸ“¦ Core Modules

Files: relative file location
This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation.

πŸ”Ή TrickyStore

Files: relative file location
This module is used for modifying the certificate chain generated for android key attestation.

Files: relative file location
This module is used for configuring Tricky Store target.txt with KSU WebUI.

πŸ”Ή playcurlNEXT

Files: relative file location
This is a rewrite of Playcurl, the old version became outdated as many things have changed. Paradoxically, this is more lightweight and easier to use.

πŸ”Ή LSposed_mod

Files: relative file location
A Riru / Zygisk module trying to provide an ART hooking framework which delivers consistent APIs with the OG Xposed, leveraging LSPlant hooking framework.

πŸ”Ή WearableSpoof

Files: relative file location
WearableSpoof is a module for LSPosed that lets you use Samsung apps (for example Wearable/Gear, SmartThings, ...) on Samsung phones running AOSP ROMs.

Required Files: APK, Restricted Settings

πŸ”Ή Twifucker

Files: relative file location
Twitter modded LSposed module

Required Files: APK

πŸ”Ή InstaEclipse

Files: relative file location
InstaEclipse is an LSPosed module designed to enhance your Instagram experience with advanced features like developer options, ghost mode, distraction-free mode, and more!

Required Files: APK

Files: relative file location
Revanced app versions for YouTube, YouTube Music and Spotify

Files: relative file location
Systemlessly replaces the emoji font with iOS Emoji.

Files: relative file location
Xposed Module to Disable FLAG_SECURE, enabling screenshots, screen sharing and recording in apps that normally wouldn't allow it.

Files: relative file location
A quick settings tile to switch your private dns provider. Supports any number of providers. Makes it easy to turn adblocking dns servers on or off with just a single tap.

Files: relative file location
LSPosed / EdXposed module to add Google Pixel features on Google Photos for any device.

Files: relative file location
This is a module to install Google Sans font (aka Product Sans) systemlessly through Magisk.

πŸ”Ή YABP

Files: relative file location
This module try to protect your device from bootloops and system ui failures caused by Magisk/KernelSU/APatch Modules.

πŸ”Ή GMS Flags

Files: relative file location
GMS Flags is a tool for changing parameters in Google services to activate or deactivate certain functionality in Google applications.

πŸ”Ή StevenBlock

Files: relative file location
Advanced Ad-Blocking Module for Android. Compatible with Magisk, KernelSU, and APatch.

πŸ”Ή GCAM

Files: relative file location
Google Pixel Camera MOD for Samsung A70s.

πŸ—‘οΈ Uninstallation

Magisk Modules

Method 1: Via Magisk App (Recommended)

  1. Open the Magisk App.
  2. Go to the Modules section.
  3. Find the module you want to remove.
  4. Tap the trash icon next to the module.
  5. Reboot your device.

βœ… This is the safest and cleanest way to uninstall a module.


Method 2: Disable Module Without Booting (If Device is Bootlooping)

  1. Boot into Custom Recovery (e.g., TWRP).

  2. Navigate to:

    /data/adb/modules/
    
  3. Delete the folder of the module you want to remove.

    Example:

    rm -rf /data/adb/modules/module-name
  4. Optionally, delete the file:

    /data/adb/modules/module-name/update
    
  5. Reboot your device.


Method 3: Using Magisk’s disable Flag (Advanced Recovery Option)

  1. In custom recovery, create a file named:
    /cache/.disable_magisk
    
  2. This disables all modules temporarily.
  3. Boot the phone, open Magisk, and remove the faulty module.
  4. Reboot normally.

Magisk

Use this only if you want to remove Magisk and unroot your device completely.

  1. Open the Magisk App.
  2. Tap the Settings icon (βš™οΈ).
  3. Scroll down and tap on Uninstall Magisk.
  4. Choose "Complete Uninstall".
  5. Magisk will prompt for reboot. Tap Yes.
  6. Your phone will reboot and Magisk will be removed.

βœ… This will restore your stock boot.img if you originally patched it with Magisk.

Reverting to Stock ROM

  1. Connect your phone to a PC with USB.
  2. Enable USB Debugging
    • Go to settings
    • Scroll down to About Phone
    • Scroll down to Build number
    • Click it several times and you should have developer options enabled.
    • Go to system > Developer options
    • Under debugging, enable USB debugging and Rooted debugging.
  3. Install Samsung USB Drivers from the repository.
  4. Keep the Stock Firmware folder ready.
  5. Launch the Odin tool.
  6. Now under the ADB folder, launch cmd-here.exe and type
adb reboot download
  1. Now in Odin, you should see <ID:0/006> Added!! in the log
  2. For adding files, select the appropriate files that matches the name from the Stock Firmware folder
  3. In CSC, add CSC_OMC_ODM file.

Odin stock

  1. Now just hit Start and you are good to go!

It should only take 1-2 reboots to get to boot up the OS. If it takes more than that, consider your phone in a bootloop. Head over to this video to get out of bootloop.

πŸ™ Credits

This project wouldn’t be possible without the contributions and efforts of various developers and communities across the Android and rooting ecosystem.

πŸ”§ Tools & Frameworks

πŸ“¦ Core Modules & Contributors

🌟 Useful Modules & Creators

πŸ“ Additional Resources


Special thanks to the open-source Android modding community and everyone who contributed directly or indirectly to this project πŸ’™

πŸ“œ License

This project is released with respect to the licenses of included open-source projects.
Please refer to their respective licenses for usage guidelines.

About

A Rooting Kit for Samsung A70s (SM-A707F)

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0