[RECOVERY][OFFICIAL][3.6.1-x] TWRP for Galaxy A5/A7 (2017)

Search This thread

eginugraham

Senior Member
May 6, 2017
61
3
Hey, I was able to install TWRP without any issues, but the problem is that it shows everything as 0 MB. When I ADB pushed the DM Verity file, it showed up in the file explorer in TWRP, but when I tried to flash it said "unable to mount/data." I tried everything and even reflashed the official firmware. In official recovery, it says "unable to mount/misc partition." What is the issue here? I have already done the OEM unlock switch. I'm not able to boot into bootloader/fast boot as doing it from official recovery just boots into the system.
Have you tried format data
 

Ben.gd

Member
Jun 11, 2019
12
7
I think A5 2017 TWRP have a bug. TWRP works fine, but if I try to flash ih8sn with TWRP on A5 2017 it gives me error. If I flash ih8sn with S4 TWRP it works flawlessly. I do not know if I can upload link of ih8sn from github.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 47
    Ae08b8N.png

    Official TWRP 3.6.1-* For Galaxy A5/A7 (2017)
    Only for exynos variants - A520F (Europe, Global Single-SIM); A520F/DS (Global Dual-SIM); A520K/L/S (South Korea); A520W (Canada), A720F (Global Single-SIM); A720F/DS (Global Dual-SIM); A720S (South Korea)
    Disclaimer
    I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
    Please do some research if you have any concerns about features included in this recovery before flashing it!
    YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.


    Features:
    Code:
    - built from Pie kernel source
    - built from android-9.0 recovery sources
    - built in full 64 mode
    - fully compatible with Android 8.*/9.0/10.0

    Downloads:

    Instructions:
    Odin
    1. Download latest Odin zip from downloads.corsicanu.ro/samsung
    2. Download and install Samsung Drivers (if you have them installed you can skip this step)
    3. Go to settings/Developer options and enable OEM unlock (If you don't see developer settings, go into Settings/About phone/Software info and tap "Build number" 10 times to show Developer options menu)
    4. Download TWRP_*.tar
    5. Switch off the phone
    6. Use Home+Volume Down+Power to enter Download Mode and connect the device to usb
    7. Open Odin and untick autoreboot in "options" tab. Also make sure that your device is detected
    8. Put TWRP_*.tar.md5 file into AP tab
    9. Click Start
    10. When Odin shows "PASS", take your device in hands, disconnect the usb cable and press simultaneously the "Home" + "Vol. Down" + "Power" buttons until the downoad mode disappears
    11. At the precise moment the screen becomes black, immediately release the "Vol.Down" button and press the "Home" + "Vol. UP" + "Power" buttons during 10 to 15sec to forcefully enter TWRP
    12. If it didn`t worked, redo the steps from #1 more careful this time.
    TWRP
    • Download TWRP_*.img, push it into phone storage, choose install image in your current recovery, navigate to downloaded *.img file, select it, select to flash as recovery.
    After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
    If for any reason you fail to install TWRP multiple times/different methods, make sure you check this thread

    Sources:
    Credits:
    • TeamWin, jesec, geiti94, dyneteve, testers, donors and anyone else involved in making this possible
    19
    New TWRP out:
    Changes:
    • switched to TwrpBuilder official builds
    • included crypto for LineageOS software encrypted data, thanks to @Option58
    • made preload partition wipeable in recovery
    • included cpefs and m9kefs partitions in backup for safety reasons
    Downloads:
    Instructions:
    Odin
    1. Download Odin v3.13.1
    2. Download and install Samsung Drivers (if you have them installed you can skip this step)
    3. Go to settings/Developer options and enable OEM unlock (If you don't see developer settings, go into Settings/About phone/Software info and tap "Build number" 10 times to show Developer options menu)
    4. Download TWRP_*.tar
    5. Switch off the phone
    6. Use Home+Volume Down+Power to enter Download Mode and connect the device to usb
    7. Open Odin and untick autoreboot in "options" tab. Also make sure that your device is detected
    8. Put TWRP_*.tar.md5 file into AP tab
    9. Click Start
    10. When Odin shows "PASS", take your device in hands, disconnect the usb cable and press simultaneously the "Home" + "Vol. Down" + "Power" buttons until the downoad mode disappears
    11. At the precise moment the screen becomes black, immediately release the "Vol.Down" button and press the "Home" + "Vol. UP" + "Power" buttons during 10 to 15sec to forcefully enter TWRP
    12. If it didn`t worked, redo the steps from #1 more careful this time.
    TWRP
    • Download TWRP_*.img, push it into phone storage, choose install image in your current recovery, navigate to downloaded *.img file, select it, select to flash as recovery.
    Optional - Download and flash no-verity-opt-encrypt-6.0 zip to disable data partition encryption
    If for any reason you fail to install TWRP multiple times/different methods, make sure you check this thread

    All the best!
    16
    Misc links:

    FAQ / Further reading
    Q: TWRP can't mount data partition, what to do?
    A: Make sure you formatted data partition.

    Q: Phone is not booting even after 20 minutes
    A: Try to reboot. If still not booting, make sure you formatted data partition.

    Q: How to format data partition?
    A:
    ymlnQUE.jpg


    Q: Phone is showing only Samsung logo
    A: Try to reboot. If still not booting, consider installing an older TWRP build or a more recent firmware.

    Q: I get "Failed to mount /preload message", what to do?
    A: From wipe menu select Advanced Wipe, select preload partition to be wiped and reboot recovery.

    Q: Why do i need to format data partition?
    A: Because old rom encrypted your data partition and new rom can't decrypt and use that content / root needs access to data partition to place misc files / phone not booting after flashing root until data partition gets formatted.
    14
    TWRP 3.3.0-* is out - all links are in first post.
    More details about the release here.
    Regards.
    9
    New official builds out!
    Regards.