[TREBLE][AOSP][10.0] riseTreble for A5 and A7 2017

Simon1511

Senior Member
Mar 10, 2016
476
468
73
Germany


Disclaimer
Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.

Features
  • Vendor ported from official Galaxy A7 2018 Q release (A750FNXXU4CTE3)
  • Kernel built from A720SKSU3CSH1 sources with Linux 3.18.91
  • Ready for a lot of Android 10 GSIs
  • Its recommended to use riseKernel for Treble from here

Bugs
  • Enabling/Using Wifi display reboots the phone
  • Selinux is, and will remain, Permissive
  • Double tap to wake
  • Camera flash doesn't work in stock camera. Use Footej, Gcam, or any other camera app.
  • AOD sometimes doesn't turn back on again after going off. (e.g. when pulling the phone out of your pocket)

Installation
  • Just in case, make a backup of all your partitions in case something goes wrong.
  • Download and install the repartition script from here if you haven't done yet.
  • Make sure to have the latest version of TWRP/SHRP/Orangefox installed.
  • Wipe /system, /vendor, /data and /cache.
  • Download any Android 10 GSI. Choose arm64 and A/B. (A only will NOT boot!)
  • Make sure the downloaded GSI is a .img file. If it's a .zip or .xz file, extract it first.
  • Download riseTreble-v1.0-a57y17lte.zip. from the downloads section below.
  • Copy the GSI and the riseTreble ZIP to your phone (preferably to SD card)
  • In recovery, go to "Install", choose "Install Image" and select the GSI you just downloaded. (This can be different depending on the recovery used)
  • Choose "System Image" and flash it. (Flashing GSIs can sometimes take >2mins depending on which GSI you flash.)
  • Flash riseTreble-v1.0-a57y17lte.zip.
  • Optionally, if not already included in the GSI, flash Opengapps AFTER the first boot. Choose arm64 and 10.0.
  • Optionally, flash Magisk.
  • You are done.

From where can I get GSIs?
  • You can find a lot of GSIs on pHH's Github and on XDA.
  • Remember to always choose A/B and arm64.
  • Please note that most OEM GSIs (such as OxygenOS, MIUI, OneUI, ...) will NOT work!
  • Also, see a list of GSIs we have already tested in post #2.

How do I update a GSI?
  • If there is an update for your GSI, make sure to make a backup of /system and /vendor in case something goes wrong.
  • Wipe /system and install the GSI.
  • Flash riseTreble-v1.0-a57y17lte.zip again, even if you already had it installed before.
  • If you had Gapps and/or Magisk installed before, you will likely need to reflash them too.
  • Done.

Downloads

Support and FAQ

Credits
  • @corsicanu for his work on the A720S kernel
  • @Astrako for helping me getting Treble initially working on 7880
  • All telegram testers
  • PM me if I missed someone!

XDA:DevDB Information
[TREBLE][AOSP][10.0] riseTreble for A5 and A7 2017, Tool/Utility for the Samsung Galaxy A Series 2017 A3, A5, A7

Contributors
Simon1511
Source Code: https://github.com/Simon1511/android_kernel_samsung_universal7880/tree/10.0-treble


Version Information
Status:
Stable
Stable Release Date: 2020-09-08

Created 2020-09-08
Last Updated 2020-09-10
 
Last edited:

Simon1511

Senior Member
Mar 10, 2016
476
468
73
Germany
List of GSIs which have been tested so far


Please note that most OEM GSIs (such as OxygenOS, MIUI, OneUI, ...) will NOT work!



Working/Usable GSIs:


  • PHH AOSP v221: General bugs
  • Havoc v3.7 official: General bugs (except for DT2W), Hardware button backlight, ADB/USB debugging
  • caos-v222-200808-arm64-bvN: General bugs
  • descendant-X-OFFICIAL-arm64-ab-20200615: General bugs
  • aosp_arm64-exp-QJR1.191112.001-6004257: General bugs, extSD card access broken, button backlight, MTP
  • lineage-17.1-20200808-UNOFFICIAL-treble_arm64_bvN: General bugs
  • DirtyUnicorns-14.0_111119-ARM64-AB: General bugs
  • PixelExperienceQ-28102019-ARM64-AB: General bugs
  • PixelExperience_ARM64AB-10.0-20200118-2138-GSI: General Bugs
  • AospExtended-v7.0-20191017-2132-ALPHA-treble_arm64_bvS: General bugs
  • EvolutionX_4.0_ARM64AB-10.0-20200112-2300-GSI: General bugs
  • RROS-Q-8.5.8-20200815-ARM64_AB-GSI: General bugs
  • bless-v221-200725-arm64-bvN: General bugs
  • bliss-v217-200602-arm64ab-vanilla: General bugs
  • MiMax3EU-AB-10-20200815-nippongsi (MIUI): General bugs, booting either takes >5 minutes or only boots on second try, ADB/USB debugging, screen brightness cant be changed, NFC, flashlight, hardware button backlight, fingerprint, setting lockscreen, hotspot, probably more
  • EmperorMiLavender-AB-10-20200525-ErfanGSI: Same as MiMax3EU-AB-10-20200815-nippongsi
  • LavenderMiHellas-AB-10-20200801-nippongsi: Same as MiMax3EU-AB-10-20200815-nippongsi
  • PocoF1EU-AB-10-20200813-nippongsi: Same as MiMax3EU-AB-10-20200815-nippongsi
  • MortalOS-AB-10-20200612-nippongsi: Same as MiMax3EU-AB-10-20200815-nippongsi
  • MIUI-AB-10-20200601-ErfanGSI: Same as MiMax3EU-AB-10-20200815-nippongsi(?)
  • BootleggersROM-Queque-5.0-arm64_ab-GSI: General bugs
  • ZenX-OS-v1.9-arm64-ab-vanilla: General bugs
  • RROS-Q-8.5.8-20200815-ARM64_AB-GSI: General bugs
  • Generic-AB-11-20200611-ErfanGSI.img-0323: Bootable, but has too much stuff broken to list here.




Broken/Not booting GSIs:


  • OxygenOS-AB-10-20190903-ErfanGSI: Bootloop
  • HydrogenOS-AB-10-20191102-ErfanGSI: Bootloop
  • POSP-AB-10-20190910-ErfanGSI: Bootloops on bootloader splash
  • ExtendedUI_1.0.2_ARM64AB-10.0-20200207-2204-GSI: Bootloops on bootloader splash
  • MIUI12_AB-20200427-ErfanGSI-tunasahinn: Bootloops on bootloader splash
  • OP8-AB-10-20200814-nippongsi: Bootloop
  • OxygenOS-AB-10-20191108-ErfanGSI: Bootloops on bootloader splash
  • DavinciEU-AB-10-20200814-nippongsi: Bootloops on bootloader splash
  • Mi8SEEU-AB-10-20200814-nippongsi: Boots, but gives a blackscreen after boot
  • ColorOS-AB-10-20200609-nippongsi: Bootloops on bootloader splash
  • MIUI-AB-10-20190828-ErfanGSI: booting either takes >5 minutes or only boots on second try, blackscreen after setup, ADB/USB debugging
  • Flyme-AB-10-20200808-nippongsi: Boots, but freezes in setup when trying to add a WiFi network
  • GinkgoMasik-AB-10-20200809-nippongsi: Bootloop
  • JoyUI-AB-10-20200529-ErfanGSI: Bootloop
  • OP5T-AB-10-20200809-nippongsi: Bootloop
  • violetMiNovo-AB-10-20200727-nippongsi: Boots, but gives a blackscreen after boot
  • RogUI-AB-10-20200804-nippongsi: Bootloops on bootloader splash
  • RaphaelMoD-AB-10-20200825-nippongsi with and without DFE: Bootloop
  • Mi10UltraCN-AB-10-20200823-nippongsi with and without DFE: Bootloops on bootloader splash
  • Derpfest-AB-10-20200821-nippongsi: Bootloops on bootloader splash
  • DU-AB-10-20200821-nippongsi: Bootloops on bootloader splash
  • HentaiOS-AB-10-20200822-nippongsi: Bootloops on bootloader splash
  • DandelionGlobal-AB-10-20200907-nippongsi: Bootloop
  • dipperMMX-AB-10-20200908-nippongsi: Bootloops on bootloader splash
 
Last edited:

Simon1511

Senior Member
Mar 10, 2016
476
468
73
Germany
Reserved

FAQ (Frequently asked questions)



  • I can't pass SafetyNet on some GSIs!
    ->Go to Settings, pHH settings, Misc and tap "Securize". This will remove in-built root. To completely pass Safetynet, make sure to have MagiskHide enabled in Magisk's settings and install the MagiskHide PropsConfig module and set the fingerprint to A5 2017 or A7 2017.
  • My navigation bar enabled itself!
    ->Go to Settings, pHH settings, Misc and Choose "Force navigation bar disabled" and reboot.
  • Maybe more, feel free to tell me.
 
Last edited:

de_inferno

Member
Dec 9, 2019
11
14
0
Really nice work , i tested it on my SM-A520F with phhusson's AOSP v222, some noticed bugs:
  • Single sim on dual sim models like mine need force disabling second sim with persist.radio.multisim.config=none in file /vendor/build.prop to make sim recognized at all.
  • /data encryption can be fixed by adding encryptable=footer to mount options of /data in /vendor/etc/fstab.samsungexynos7880
 

Jmackley

Senior Member
Aug 12, 2017
358
168
43
Allright, try it

---------- Post added at 05:04 PM ---------- Previous post was at 04:58 PM ----------



Why i can't download it from my device?
You can press a try download anyway button if it's sourceforge, more the question is why are you using miui given that it's so buggy lol
 

Quiche

Senior Member
Dec 12, 2014
153
376
0
Dendermonde
Has anyone been able to pass safetynet? I'm stuck on the ctsProfile: false.
I tried to change the device fingerprint to a known a5y17lte fingerprint using magisk and the hide props module to no avail.
Thanks in advance!
 

Fire58

Senior Member
Sep 4, 2019
193
38
28
Oh sh1t here we go again
You can press a try download anyway button if it's sourceforge, more the question is why are you using miui given that it's so buggy lol
MIUI Is stable

---------- Post added at 11:13 AM ---------- Previous post was at 11:09 AM ----------

I have tested MIUI12EU-AB-10-20200519-ErfanGSI and apparently it is more stable than the other gsi the bugs are the same, I found a fix for the brightness, @ Simon1511 could you add it in the working gsi list?
 

TioLord

Senior Member
Oct 1, 2013
102
18
38
MIUI Is stable

---------- Post added at 11:13 AM ---------- Previous post was at 11:09 AM ----------

I have tested MIUI12EU-AB-10-20200519-ErfanGSI and apparently it is more stable than the other gsi the bugs are the same, I found a fix for the brightness, @ Simon1511 could you add it in the working gsi list?
Try pm to he in telegram