[11][R][GSI][A51] HAVOC OS 4.1 GSI FOR SAMSUNG GALAXY A51[A51]

Search This thread
Feb 11, 2021
38
44
UPDATED GUIDE FOR ANDROID 11[R]

Hey Guys,

Before you dive in, irrespective of your reading speed read this carefully and slowly for better understanding but if you cannot focus and read it slowly then you better give up music for a few weeks.

About the Device

Before you jump in and get your hands dirty.. you should know that what you will be installing is Generic System Image, It is not specifically made for your device so if you are going to install some other GSI other than this, you might face some issues.

If you are a beginner, you should Go Through Project Treble, just for the sake of knowledge.

Also Galaxy A51 has A/B partition and Supports Project Treble though remember that Treble Devices are not same as A/B devices and Vice Versa.



Things You’ll Need

  • A Computer (not an iPad)
  • Internet [requirement around 6 gigs (4.8 gigs optional, for downloading stock Firmware, Highly Recommended)]
  • Samsung Galaxy A51 (will not work on A50)
  • Patience and a madcap attitude.


Resources
Download Odin from the link given below and extract it in a folder.
https://odindownload.com/download/Odin3_v3.13.3.zip

Adb and Fastboot Drivers
https://gsmusbdrivers.com/download/adb-fastboot-drivers/#

Samsung Drivers
https://developer.samsung.com/mobile/file/68b2dc40-3833-4a8b-b58e-32f7aca25c00

Havoc OS GSI [ANDROID 11]
[11][OFFICIAL] Havoc-OS 4.1 [ARM64/ARM/A64][A/AB/AB-VNDKLITE][GApps/Vanilla] | XDA Developers Forums (xda-developers.com)
Don’t forget to check that there is “arm64” and “ab” written on the name of the file
Other option is with Gapps (it means the rom will come with Google Play services built in, otherwise it is Vanilla Android.

CHONDOE FLASHER
ChonDoe_Flasher.zip | by androidhowto for Utilities (androidfilehost.com)

Twerp Recovery [ANDROID 11]
Twrp+vbmeta_A11.tar | by androidhowto for Utilities (androidfilehost.com)

Encryption Disabler
Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip | by androidhowto for Utilities (androidfilehost.com)


EDIT
BEFORE YOU PROCEED
1. IT IS MANDATORY TO FOR THE DEVICE TO BE IN ONE UI 3.0, ANDROID 11. IF NOT DOWNLOAD ONE UI 3 FROM Model : SM-A515F - Galaxy A51 — Samfrew.com THEN PROCEED.
2. NOT ALL GSIs WILL WORK TO KEEP A LIGHT HEART ABOUT A GSI NOT WORKING.



Its Show time

1. Go to settings and go to about phone, tap build number 7 times and a dialog will appear, you are now a developer. [IF IT WAZ THAT EASY]

2. Go to additional setting or search developer options in the settings search bar

3. Once in the developer settings find OEM unlock and turn in on, scroll down and also turn on USB debugging, your phone will ask the permission for accessing the data by your computer.

4. Turn off your device. Get a usb cable and connect it to your computer.

5. While phone is off first press Volume UP and Volume Down together, and then then insert the usb cable into the phone while holding the buttons wait for two seconds. a blue screen will come up telling you about consequences and life choices.

6. Long press the Volume Up Button and a new blue screen will show up asking you for unlocking the bootloader. Press Volume Up to confirm. You device will erase everything and reset itself ( Don’t forget to take backup of your Data).

7. After the setup screen appears skip everything in the setup and enable developers option and enable USB debugging in the developer options.

8. Turn off your device again and Repeat step 5.

9. Press Volume up for entering the download mode

10. Now in your computer, Install Odin and open Odin.exe you’ll find your device as comm: xx. Go to options and disable auto reboot.

11. Now click on the AP button and select the twerp you downloaded. do not remove the usb cable and after it is installed press vol down and power, as the screen goes black hold with cable connected press and hold vol up and power until twerp boots up.

12. If you miss it repeat the process again but don’t let it boot to One Ui.

13. twerp press wipe => format data =>type yes. Press home button and again go to wipe advanced select Data, Cache and Dalvik and swipe to clear.

14. Press home again. Go to reboot and select recovery, twerp wil reboot. Once it reboots transfer the encryption disabler to your phone and in twerp press install select the storage, sdcard or internal storage, where you have stored the file, select it and swipe to install.

15. Now in your computer extract the Havoc os image and rename it as “system.img”.

16. Place the chondoe flasher zip and system.img in internal storage and then flash chondoe flasher zip

17. Reboot and KABLAMO You have installed Havoc OS.



Bugs

  • A small random issue in Auto Brightness
  • If you root with magisk and install modules, after you reboot your phone will get into a bootloop. Use Phh_Magisk but I aint sure if it’ll work or not Your call madcap.


NONE OF THE FILES IN THIS TUTORIAL HAVE ANYTHING TO DO WITH ME. If SOMETIHING HAPPENS I AM NOT RESPONSIBLE. ONLY DO IT AT YOUR OWN RISK.



Troubleshooting.

  • If you find errors in twerp, such as unable to mount vendor or system_root, or data. Then you got to install the stock One Ui Back again, therefore it is highly recommended to keep with yourself the stock firmware. You will need It. And it is 4.78 gigs. You can download it from
  • Model : SM-A515F - Galaxy A51 — Samfrew.com
  • To reinstall the stock firmware first extract it and the open odin and repeat steps 8 and 9, once your device is detected in Odin press the respective buttons and select the respective files such as for BL button select the file With BL in the name. Do it for buttons, BL, AP(once you select the file it will take long for it load into odin so do not panic and let it load, it might become unresponsive but use patience and wait.)CP , CSC. Click on start and you’ll have ONE Ui back on your device.
  • To Lock the bootloader repeat steps 5 and 6.


If you still want more stability and Control You can install a different Kernel NDataX from (@Hendamanu) https://forum.xda-developers.com/m/hendramanu.11224917/
 
Last edited:

darkshinigami

Member
Oct 5, 2014
16
16
I currently have havoc Android 10 installed, I would like to update to Android 11, I am very happy with the battery life, as I read this version it has the same small bugs, but the battery lasts the same as the previous version?
 
  • Like
Reactions: hacker812c
Feb 11, 2021
38
44
I currently have havoc Android 10 installed, I would like to update to Android 11, I am very happy with the battery life, as I read this version it has the same small bugs, but the battery lasts the same as the previous version?
Yeah havoc 10 is very good for battery life..
There is really not much difference between battery life as vendor for Android 11 Is optimized but u might see a small drop in battery. Make sure you install one up 3.0 first... you may test battery life with the stock one ui 3 11.0.. what really matters is the vendor, system image rarely makes difference ( unless its loaded with bloat).
So in conclusion vendor for Android 11 is pretty much optimized as that of Android 10 with minor difference and should offer almost same performance for different GSIs..
 
  • Like
Reactions: hacker812c

darkshinigami

Member
Oct 5, 2014
16
16
Thanks for answering bro, the truth with ui 3.0 the battery drained very quickly and the performance was terrible, but it was sure because it was updated via ota and it was not a clean installation, I will give it the opportunity, I am tempted by the one that goes better even if it loses a bit of battery life, thanks
Yeah havoc 10 is very good for battery life..
There is really not much difference between battery life as vendor for Android 11 Is optimized but u might see a small drop in battery. Make sure you install one up 3.0 first... you may test battery life with the stock one ui 3 11.0.. what really matters is the vendor, system image rarely makes difference ( unless its loaded with bloat).
So in conclusion vendor for Android 11 is pretty much optimized as that of Android 10 with minor difference and should offer almost same performance for different GSIs..
 
  • Like
Reactions: hacker812c
Feb 11, 2021
38
44
Thanks for answering bro, the truth with ui 3.0 the battery drained very quickly and the performance was terrible, but it was sure because it was updated via ota and it was not a clean installation, I will give it the opportunity, I am tempted by the one that goes better even if it loses a bit of battery life, thanks
I don't think clean install will really help.. didn't help me and I did mention unless , one ui is bloat city

But it's worth a shot...
 
  • Like
Reactions: hacker812c

darkshinigami

Member
Oct 5, 2014
16
16
bro I already managed to install havoc 4.1 and I love the smoothness, and the battery is on the right track, it does not seem to be better than havoc 3, but better than the stock for sure, but I have a big problem and it is that the option of two taps to wake does not work, do you know if it is a matter of havoc or it is not yet implemented in the gsi code of android 11
 
  • Like
Reactions: hacker812c
Feb 11, 2021
38
44
bro I already managed to install havoc 4.1 and I love the smoothness, and the battery is on the right track, it does not seem to be better than havoc 3, butbetter than the stock for sure, but I have a big problem and it is that the option of two taps to wake does not work, do you know if it is a matter of havoc or it is not yet implemented in the gsi code of android 11
Dude first of all if it has Android 11 in its name then it definitely has the Android 11 code. As far as these roms go.. they start from a very stock Android 11 from Google and they modify up to their requirements.. mostly they just cut and paste the code which they already have from previous versions to the same libraries as the new version without making any changes as Android is not drastically updating its small improvements and more polish.. more over the features like lock screen visualizer or double tap are installed as apk inside the rom. So there can be a lot of reasons something might not work when changing the Android version without optimization. Definitely it's a problem from their side or it can be incompatibility with the vendor of the device.. not all features will work as you expect them to unless it is specifically optimized for the particular device. And since we are dealing with GSIs here.. they are generic so the above scenario of optimization is really over the top as it is made for each and every device. They mostly focus on important features and leave the rest on the vendors.. if it works then yay if not then eh...
 
  • Like
Reactions: hacker812c

darkshinigami

Member
Oct 5, 2014
16
16
Dude first of all if it has Android 11 in its name then it definitely has the Android 11 code. As far as these roms go.. they start from a very stock Android 11 from Google and they modify up to their requirements.. mostly they just cut and paste the code which they already have from previous versions to the same libraries as the new version without making any changes as Android is not drastically updating its small improvements and more polish.. more over the features like lock screen visualizer or double tap are installed as apk inside the rom. So there can be a lot of reasons something might not work when changing the Android version without optimization. Definitely it's a problem from their side or it can be incompatibility with the vendor of the device.. not all features will work as you expect them to unless it is specifically optimized for the particular device. And since we are dealing with GSIs here.. they are generic so the above scenario of optimization is really over the top as it is made for each and every device. They mostly focus on important features and leave the rest on the vendors.. if it works then yay if not then eh...
Ah then my guess was not bad, but thanks for clarifying it, for now I will play it with the option to activate the ambient screen when lifting, and sometimes I forget that I am trying a generic rom, rather it surprises me that it is not have so many things broken, rather it is to be appreciated that there are people who take their time to compile and share these roms, it will be to wait maybe later they will implement it
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Havoc os 4.4 unofficial other deceloper
    I am currently using version 4.3 of this developer and everything is going great, if he did not do anything different I imagine that it will still work wonders
    1
    I am currently using version 4.3 of this developer and everything is going great, if he did not do anything different I imagine that it will still work wonders
    Apart from the havoc gsi group, the maintainer said that he could no longer develop, because he had no devices to test the builds so for now there will be no more official roms, so thanks for sharing the unofficial ones to keep the rom updated
    1
    Fingerprint run perfectly a51?

    Fingerprint run perfectly a51?
    No bro, surely much later, if I have seen that phh has mentioned that it is working on it, really if you want to go with generic rom you have to sacrifice several things
    I support it because I prefer that to one ui XD
  • 3
    UPDATED GUIDE FOR ANDROID 11[R]

    Hey Guys,

    Before you dive in, irrespective of your reading speed read this carefully and slowly for better understanding but if you cannot focus and read it slowly then you better give up music for a few weeks.

    About the Device

    Before you jump in and get your hands dirty.. you should know that what you will be installing is Generic System Image, It is not specifically made for your device so if you are going to install some other GSI other than this, you might face some issues.

    If you are a beginner, you should Go Through Project Treble, just for the sake of knowledge.

    Also Galaxy A51 has A/B partition and Supports Project Treble though remember that Treble Devices are not same as A/B devices and Vice Versa.



    Things You’ll Need

    • A Computer (not an iPad)
    • Internet [requirement around 6 gigs (4.8 gigs optional, for downloading stock Firmware, Highly Recommended)]
    • Samsung Galaxy A51 (will not work on A50)
    • Patience and a madcap attitude.


    Resources
    Download Odin from the link given below and extract it in a folder.
    https://odindownload.com/download/Odin3_v3.13.3.zip

    Adb and Fastboot Drivers
    https://gsmusbdrivers.com/download/adb-fastboot-drivers/#

    Samsung Drivers
    https://developer.samsung.com/mobile/file/68b2dc40-3833-4a8b-b58e-32f7aca25c00

    Havoc OS GSI [ANDROID 11]
    [11][OFFICIAL] Havoc-OS 4.1 [ARM64/ARM/A64][A/AB/AB-VNDKLITE][GApps/Vanilla] | XDA Developers Forums (xda-developers.com)
    Don’t forget to check that there is “arm64” and “ab” written on the name of the file
    Other option is with Gapps (it means the rom will come with Google Play services built in, otherwise it is Vanilla Android.

    CHONDOE FLASHER
    ChonDoe_Flasher.zip | by androidhowto for Utilities (androidfilehost.com)

    Twerp Recovery [ANDROID 11]
    Twrp+vbmeta_A11.tar | by androidhowto for Utilities (androidfilehost.com)

    Encryption Disabler
    Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip | by androidhowto for Utilities (androidfilehost.com)


    EDIT
    BEFORE YOU PROCEED
    1. IT IS MANDATORY TO FOR THE DEVICE TO BE IN ONE UI 3.0, ANDROID 11. IF NOT DOWNLOAD ONE UI 3 FROM Model : SM-A515F - Galaxy A51 — Samfrew.com THEN PROCEED.
    2. NOT ALL GSIs WILL WORK TO KEEP A LIGHT HEART ABOUT A GSI NOT WORKING.



    Its Show time

    1. Go to settings and go to about phone, tap build number 7 times and a dialog will appear, you are now a developer. [IF IT WAZ THAT EASY]

    2. Go to additional setting or search developer options in the settings search bar

    3. Once in the developer settings find OEM unlock and turn in on, scroll down and also turn on USB debugging, your phone will ask the permission for accessing the data by your computer.

    4. Turn off your device. Get a usb cable and connect it to your computer.

    5. While phone is off first press Volume UP and Volume Down together, and then then insert the usb cable into the phone while holding the buttons wait for two seconds. a blue screen will come up telling you about consequences and life choices.

    6. Long press the Volume Up Button and a new blue screen will show up asking you for unlocking the bootloader. Press Volume Up to confirm. You device will erase everything and reset itself ( Don’t forget to take backup of your Data).

    7. After the setup screen appears skip everything in the setup and enable developers option and enable USB debugging in the developer options.

    8. Turn off your device again and Repeat step 5.

    9. Press Volume up for entering the download mode

    10. Now in your computer, Install Odin and open Odin.exe you’ll find your device as comm: xx. Go to options and disable auto reboot.

    11. Now click on the AP button and select the twerp you downloaded. do not remove the usb cable and after it is installed press vol down and power, as the screen goes black hold with cable connected press and hold vol up and power until twerp boots up.

    12. If you miss it repeat the process again but don’t let it boot to One Ui.

    13. twerp press wipe => format data =>type yes. Press home button and again go to wipe advanced select Data, Cache and Dalvik and swipe to clear.

    14. Press home again. Go to reboot and select recovery, twerp wil reboot. Once it reboots transfer the encryption disabler to your phone and in twerp press install select the storage, sdcard or internal storage, where you have stored the file, select it and swipe to install.

    15. Now in your computer extract the Havoc os image and rename it as “system.img”.

    16. Place the chondoe flasher zip and system.img in internal storage and then flash chondoe flasher zip

    17. Reboot and KABLAMO You have installed Havoc OS.



    Bugs

    • A small random issue in Auto Brightness
    • If you root with magisk and install modules, after you reboot your phone will get into a bootloop. Use Phh_Magisk but I aint sure if it’ll work or not Your call madcap.


    NONE OF THE FILES IN THIS TUTORIAL HAVE ANYTHING TO DO WITH ME. If SOMETIHING HAPPENS I AM NOT RESPONSIBLE. ONLY DO IT AT YOUR OWN RISK.



    Troubleshooting.

    • If you find errors in twerp, such as unable to mount vendor or system_root, or data. Then you got to install the stock One Ui Back again, therefore it is highly recommended to keep with yourself the stock firmware. You will need It. And it is 4.78 gigs. You can download it from
    • Model : SM-A515F - Galaxy A51 — Samfrew.com
    • To reinstall the stock firmware first extract it and the open odin and repeat steps 8 and 9, once your device is detected in Odin press the respective buttons and select the respective files such as for BL button select the file With BL in the name. Do it for buttons, BL, AP(once you select the file it will take long for it load into odin so do not panic and let it load, it might become unresponsive but use patience and wait.)CP , CSC. Click on start and you’ll have ONE Ui back on your device.
    • To Lock the bootloader repeat steps 5 and 6.


    If you still want more stability and Control You can install a different Kernel NDataX from (@Hendamanu) https://forum.xda-developers.com/m/hendramanu.11224917/
    2
    Eu send new thread for phh developer for correction fingerprint a51 natively

    What is the reason for using chondoe and not twrp to flash the rom
    Dynamic partitions are a userspace partitioning system for Android. Using this partitioning system, you can create, resize, or destroy partitions during over-the-air (OTA) updates. With dynamic partitions, vendors no longer have to worry about the individual sizes of partitions such as system, vendor, and product. Instead, the device allocates a super partition, and sub-partitions can be sized dynamically within it. Individual partition images no longer have to leave empty space for future OTAs. Instead, the remaining free space in super is available for all dynamic partitions.

    If you flash through twerp it'll get flashed in super partition instead of system partition where we want it to be moreover it'll effect other partitions such as vendor etc.., hence it'll screw the device..
    2
    Ah then my guess was not bad, but thanks for clarifying it, for now I will play it with the option to activate the ambient screen when lifting, and sometimes I forget that I am trying a generic rom, rather it surprises me that it is not have so many things broken, rather it is to be appreciated that there are people who take their time to compile and share these roms, it will be to wait maybe later they will implement it
    Yeah that's cool.. or you can try other GSIs as well
    2
    Dude first of all if it has Android 11 in its name then it definitely has the Android 11 code. As far as these roms go.. they start from a very stock Android 11 from Google and they modify up to their requirements.. mostly they just cut and paste the code which they already have from previous versions to the same libraries as the new version without making any changes as Android is not drastically updating its small improvements and more polish.. more over the features like lock screen visualizer or double tap are installed as apk inside the rom. So there can be a lot of reasons something might not work when changing the Android version without optimization. Definitely it's a problem from their side or it can be incompatibility with the vendor of the device.. not all features will work as you expect them to unless it is specifically optimized for the particular device. And since we are dealing with GSIs here.. they are generic so the above scenario of optimization is really over the top as it is made for each and every device. They mostly focus on important features and leave the rest on the vendors.. if it works then yay if not then eh...
    Ah then my guess was not bad, but thanks for clarifying it, for now I will play it with the option to activate the ambient screen when lifting, and sometimes I forget that I am trying a generic rom, rather it surprises me that it is not have so many things broken, rather it is to be appreciated that there are people who take their time to compile and share these roms, it will be to wait maybe later they will implement it
    2
    I have a problem with brightness. It's lower than on stock. Extended brightness range doesn't help that much
    You can try another gsi such as aosp11
    [email protected] - Browse Files at SourceForge.net
    aosp with gapps also works great.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone