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

[TREBLE][AOSP][Q/R] riseTreble for A5 and A7 2017!

Search This thread

eginugraham

Senior Member
May 6, 2017
53
3
Definitely not if you already have twrp installed and are already able to flash other custom roms, I'm not actually sure if you need these in the first place anyway
one more thing, my "reboot to recovery" menu doesn't work, be it from magisk or power button. i don't know if its rom issue or not.
im running on caos android 11 treble rom, with this vendor zip, and also have rise kernel installed

*edit
also magisk installed
 

Simon1511

Recognized Developer
one more thing, my "reboot to recovery" menu doesn't work, be it from magisk or power button. i don't know if its rom issue or not.
im running on caos android 11 treble rom, with this vendor zip, and also have rise kernel installed

*edit
also magisk installed
This is in fact an issue I faced with all android 11 GSIs so far. I don't know if this is device specific or not, so for now you'll need to reboot to recovery using the key combo.
 
  • Like
Reactions: eginugraham

Thrownness

Member
Sep 27, 2021
5
0
Hello thanks for your great work

Can I flash PixelExp 11 on my A520f ? And it will run without bugs ?

Or which gsi do you recommend ?

Thank you
 

Erfan1

Member
Mar 9, 2021
36
9
31
Hello dear friends and simon, has anyone installed this ROM on the phone? Does battery life and fingerprints work well in banking applications?
 

Erfan1

Member
Mar 9, 2021
36
9
31
Seagold Dear friend, I want to install this ROM. The installation of this ROM is a bit different, but there are many download links and the installation method is different. Can you guide us from the beginning so that I can install it easily. Thankyou🙏
 

YusufOzmen01

New member
Jan 24, 2021
4
1
So good news, android 12 AOSP build does work, with some graphical glitches. I'm going to test pixel experience aswell and if succeed, I'm gonna write a post about it.
 
  • Like
Reactions: Simon1511

YusufOzmen01

New member
Jan 24, 2021
4
1
So, I tried a lot of gsi's and only AOSP gsi from phhunson worked. And that one has some serious UI and system glitches. Mostly graphical but I noticed that changing some settings like screen lock crashes settings. I guess we gotta wait for the AOSP 12 to become stable enough.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    So good news, android 12 AOSP build does work, with some graphical glitches. I'm going to test pixel experience aswell and if succeed, I'm gonna write a post about it.
  • 6
    Heads up!

    riseTreble v2.0 is here!

    It brings support for android 11 GSIs and includes all the fixes from LineageOS 18.1!

    As always, you can find downloads and the changelog on the first page of this thread.
    2
    rise-Treble.png


    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 Note10 Lite R release (N770FXXU7EUC6) (v2.0) / A7 2018 Q release (A750FNXXU4CTE3) (v1.0/v1.1)
    • Kernel built from A720SKSU5CTL2 (v2.0) / A720SKSU3CSH1 (v1.0/v1.1) sources with Linux 3.18.140 (v2.0) / 3.18.91 (v1.0, v1.1)
    • Ready for a lot of Android 11/10 GSIs
    • Its recommended to use riseKernel for Treble from here

    General bugs
    • Selinux is, and will remain, Permissive
    • On android 11, dual Sim might not work. Use the fix down below in the download section.
      • 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 in recovery.
      • Download any Android 11 GSI. Choose arm64 and A/B. (A only will NOT boot!)
      • Make sure the GSI has "vndklite", "RW" or "lite" in its name.
      • Make sure the downloaded GSI is a .img file. If it's a .zip or .xz file you need to extract it first.
      • Download riseTreble-11-v2.0-a57y17lte.zip. from the downloads section below.
      • Copy the GSI you chose and downloaded earlier 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-11-v2.0-a57y17lte.zip.
      • Optionally, if not already included in the GSI, flash Opengapps AFTER the first boot. Choose arm64 and 11.0.
      • 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 you need to extract it first.
      • Download riseTreble-v1.1-a57y17lte.zip. from the downloads section below.
      • Copy the GSI you chose and downloaded earlier 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.1-a57y17lte.zip.
      • Optionally, if not already included in the GSI, flash Opengapps AFTER the first boot. Choose arm64 and 10.0.
    • I highly recommend flashing a GSI that has Gapps already included!
    • Optionally, flash Magisk after first boot (You may need to remove built-in root first, check out the FAQ down below for that)
    • 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. (And make sure it contains "vndklite", "RW" or "lite" if you're flashing an android 11 GSI)
    • Please note that most OEM GSIs (such as OxygenOS, MIUI, OneUI, ...) will NOT work since this vendor is/was made for AOSP GSIs!
    • 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 the riseTreble zip again after updating the GSI. Otherwise you'll probably end up in a bootloop.
    • If you had Gapps and/or Magisk installed before, you will likely need to reflash them too.
    • Done.

    Downloads

    Donations
    • If you like my work feel free to send me a donation.

    Support and FAQ

    Changelogs
    *Updated for android 11
    *Fixed various issues on dual SIM devices
    *Updated kernel to latest A720SKSU5CTL2 release
    *Updated kernel to Linux 3.18.140
    *Enabled navigation bar/gestures by default (Can be disabled in Phh settings)
    *Switched to A720S Pie bluetooth
    *Enabled ZRAM with 1.5GB
    *Switched to opensource NFC HAL from LineageOS
    *Added libLifevibe blobs for audio enhancements
    *Switched to N770F R RIL
    *Included all other fixes from LineageOS, thanks to @Option58 !

    *Fixed some OMX issues (screen recorder, sometimes video issues)
    *SIM detection on dual SIM devices with only one SIM in use should be fixed
    *In-app fingerprint authentication should be fixed

    *Initial release

    Credits
    • @corsicanu for his work on the A720S kernel
    • @Astrako for helping me getting Treble initially working on 7880
    • @Option58 for initially bringing android 11 to our devices
    • All telegram testers
    • PM me if I missed someone!
    • Me for spending my free time on this

    Contributors
    Simon1511
    Source Code (v1.0/v1.1): https://github.com/Simon1511/android_kernel_samsung_universal7880/tree/10.0-treble
    Source Code (v2.0): https://github.com/Simon1511/android_kernel_samsung_universal7880/tree/11.0-treble

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

    Created 2020-09-08
    Last Updated 2020-09-10
    2
    List of GSIs which have been tested so far


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

    Working GSIs:
    • PHH AOSP v310: General bugs
    • Bless v306: General bugs, button lights
    • CAOS v310: General bugs
    • crDroid R Mod (crDRom): General bugs
    • HavocOS v4.5 official: General bugs
    • LeOS July: General bugs
    • LineageOS 18.1: General bugs
    • LineageOS R Mod (LiR): General bugs
    • PixelExperience Plus v310: General bugs
    • Google AOSP 11: General bugs, no exfat support, button lights, ...
    • Pixel 11 ErfanGSI: General bugs, no exfat support, wifi dies after rebooting, ...
    • CorvusOS v16.6, v16.5, v15: sim card not detected, general bugs
    • dotOS 5.1.1: general bugs, hardware back and app list buttons dont work out of the box (Read FAQ on how to disable navigation bar to fix this issue)
    • NusantaraOS v2.5: general bugs, button lights don't work, hotspot can't be turned on
    • And many more!

    Broken/Not booting GSIs:
    • AncientOS: Reboots on bootloader splash
    • CherishOS: Reboots on bootloader splash
    • CorvusOS v14.5, 9.0: Doesn't boot

    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
    2
    Update

    v1.1:

    Downloads:

    Changelog:
    *Fixed some OMX issues (screen recorder, sometimes video issues)
    *SIM detection on dual SIM devices with only one SIM in use should be fixed
    *In-app fingerprint authentication should be fixed
    1
    FAQ (Frequently asked questions)

    1: 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.

    2: How do I disable the navigation bar?
    ->Go to Settings, pHH settings, Misc and Choose "Force navigation bar disabled" and reboot.

    3: Installing Gapps in recovery gives me a "not enough space left" error!
    ->In recovery, go to "Wipe", "Advanced Wipe", select "System", then tap "Repair or Change File System", then tap "Resize File System" and confirm by swiping. Reboot to recovery
    and install Gapps. The procedure may be different in SHRP and OrangeFox recovery.

    4: Magisk shows "API error" when I check for safetynet!
    ->First, enable MagiskHide in Magisk's settings. Then follow the instructions in step 1.

    5: Help, my phone spams "Play protect not enabled" notifications!
    ->First, enable MagiskHide in Magisk's settings. Then follow the instructions in step 1.

    6: How do I remove built-in root?
    ->Go to Settings, pHH settings, Misc and tap "Securize". This will remove in-built root.

    Maybe more, feel free to tell me.