• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

SnowFuhrer

Senior Member
Apr 5, 2018
1,622
469
Spirit River
Hello,

I try to upgrade a Samsung A5 2017 with lineageOS 14 and TWRP 3.1.1 to lineage0S 16.
TWRP 3.1.1 refuses to sideload the lineageOS 16 image because it says that the image is for 'a7y17lte' device, and my device is '.' .
The upgrading instructions says that if TWRP refuses to manage the upgrade, I should install a newer version.

But, whatever the TWRP versions available on the official site (as of today, 3.2.3, 3.3.0, 3.3.1-0 and 3.3.1-1) that I install using heimall under linux, I have the same issue: once the phone boot to TWRP, the splash screen appears, showing the right TWRP version number, and then TWRP asks for the key to decrypt the data partition, but the touchscreen is non-responsive, making TWRP unusable.

When I reinstall the TWRP 3.1.1 version that I have backed up, every thing is good, but I'm back to my origin: can't upgrade LineageOS.

Is that a known issue and how can it be fixed ?

thanks
Flash the a5y17lte twrp NOT the a7y17lte. That's why your screen is unresponsive.
 

BavoV

Senior Member
Apr 22, 2014
128
36
Antwerp
Is this version suitable for android 10? Does it reco gnize encryption in android 10 as it does in android pie?
 

Fire1511

Senior Member
Sep 4, 2019
271
59
Please android 10 Pixel Esperienze for A5 2017

Pixel Experience android 1p A5 2017 please!!
 

gabrielea179

Member
Aug 23, 2019
8
0
Hi xda community, I'm new and would like to know if your guide is still valid at the moment. (A52017 with 8.0.0 version of Android and February 2020 security patch) thanks in advance. Sorry for my english but I'm italian ?
 

LucasBergia

Member
Dec 6, 2019
22
2
any way to use twrp if you have broken display ? without using otg because I dont have the adaptor just a bluetooth keyboard

---------- Post added at 04:43 AM ---------- Previous post was at 04:33 AM ----------

Theres already a script that will add a vendor partition to your device. It also patches TWRP to support the vendor partition.

what can you use the vendor partition for? because I never addet it and even formatted this on twrp
 

Simon1511

Recognized Developer
any way to use twrp if you have broken display ? without using otg because I dont have the adaptor just a bluetooth keyboard

---------- Post added at 04:43 AM ---------- Previous post was at 04:33 AM ----------



what can you use the vendor partition for? because I never addet it and even formatted this on twrp
I think there is no chance with a broken display.

The vendor partition can be used for Treble ROMs as soon as we have one
 

Top Liked Posts

  • 1
    @corsicanu, my Galaxy A7 (2017) bootloops after updating to TWRP 3.6.0. Only reverting back to TWRP 3.5.2 eliminate the bootloop.
    Thanks for reporting, will check it out soon.
    Regards
  • 1
    @corsicanu, my Galaxy A7 (2017) bootloops after updating to TWRP 3.6.0. Only reverting back to TWRP 3.5.2 eliminate the bootloop.
    Thanks for reporting, will check it out soon.
    Regards
  • 46
    Ae08b8N.png

    Official TWRP 3.3.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.