[ROM][GSI][9.0] Havoc-OS 2.7 for Lenovo Z5 Pro GT [L78032]

SrCDA

Member
Mar 12, 2019
33
48
0
Download: Havoc-OS-v2.7-20190712-phhgsi_arm64_ab-Official.img.xz
Original Post: HERE

Note: you will need some program to extract the .img file from the downloaded .xz file.

How to install
To install use this tutorial HERE
Note: You will need to install the gapps


Known Bugs
Fingerprint not work
Slide functions not work
Automatic brightness not work


Fixing the 4G
1) Call to *#*#4636#*#*
2) Phone information
3) In "Set Preferred Network Type" select "LTE / UMTS auto (PRL)"
4) Finish


Fixing the Faceunlock(Smart Lock): Delete folder: /system/app/FaceLock/lib (Backup before removing)
Fixing the Bluetooth Audio A2DP: HERE
Fixing the NFC: HERE

Note: if you have a password on the device, in order to access TWRP you need to remove your password.

To fix other unknown bugs in the original post
 
Last edited:

aldolzn066

New member
Apr 7, 2019
3
1
0
Thanks for the post. This run great but I've upgraded and been running Havoc OS 3 GSI (Android 10) for a week now great results (same caveats as above apply).
Hi, thank you if it wasn't for you i would've never been able to install twrp. However, i've got some questions. Do you recommend installing GSI 3.0 ROM? Does it really increases SD855 overall performance? How do i install this rom, Magisk and the gapps all in one, if it wipes all the data and has no micro sd slot, do the flash files get wiped too?
 
  • Like
Reactions: miji2

miji2

Senior Member
Oct 12, 2010
157
145
63
Toronto
Hi, thank you if it wasn't for you i would've never been able to install twrp. However, i've got some questions. Do you recommend installing GSI 3.0 ROM? Does it really increases SD855 overall performance? How do i install this rom, Magisk and the gapps all in one, if it wipes all the data and has no micro sd slot, do the flash files get wiped too?
Nope, no performance increase if you go GSI ... but you do lose the fingerprint reader :)
I do it for novelty, consistency (to maintain OS experience across devices), and security rather than performance. In most cases going to newer OS means you slow down. But personally I don't find 340k++ on Antutu to be slow so I am OK with that. As a bonus, gcam 7.x actually works for me on Android 10 but not on default global ROM.

So to get going with that, what I use to salvage all my files is a USB-C to SD OTG adapter and I store all files there.
Important --> do full TWRP back up of all partitions with OTG USB as storage for it. Better safe than sorry.
Then I flash GSI IMG file to system image partition, resize system, flash nano gapps, then format data and finally reboot.
After the first successful boot I go back to TWRP and flash Magisk from there. All set to go.

Going back is simply a matter of restoring the System + Boot backup and formatting data. Note, this will replace recovery so you need to fastboot and reinstall it.

Rinse and repeat for any other.

If you want performance increase you need to do full ZUI 10.5 flash via EDL recovery .. which I am still hesitant to do since it's not clear to me if bootloader will remain unlocked and if I can still do GSI after the fact.
 

aldolzn066

New member
Apr 7, 2019
3
1
0
Nope, no performance increase if you go GSI ... but you do lose the fingerprint reader :)
I do it for novelty, consistency (to maintain OS experience across devices), and security rather than performance. In most cases going to newer OS means you slow down. But personally I don't find 340k++ on Antutu to be slow so I am OK with that. As a bonus, gcam 7.x actually works for me on Android 10 but not on default global ROM.

So to get going with that, what I use to salvage all my files is a USB-C to SD OTG adapter and I store all files there.
Important --> do full TWRP back up of all partitions with OTG USB as storage for it. Better safe than sorry.
Then I flash GSI IMG file to system image partition, resize system, flash nano gapps, then format data and finally reboot.
After the first successful boot I go back to TWRP and flash Magisk from there. All set to go.

Going back is simply a matter of restoring the System + Boot backup and formatting data. Note, this will replace recovery so you need to fastboot and reinstall it.

Rinse and repeat for any other.

If you want performance increase you need to do full ZUI 10.5 flash via EDL recovery .. which I am still hesitant to do since it's not clear to me if bootloader will remain unlocked and if I can still do GSI after the fact.
Ok, thanks for the advice! I would have to think it for a while before doing it. One last thing, the tutorial says that i have to deactivate DMverity or something, since i have the newer version of twrp, i can't find that option, is it still necesary? am i getting a bootloop by installing any unsigned rom? how do i avoid it? Thanks again. :laugh:
 

hfmsite

Senior Member
Aug 5, 2010
50
7
0
Thank's.
I use this ROM.
What do you do about the proximity sensor? In call, if I want to end the call or open the "in call UI", I need to open the slider, and after that press on the power butten
 

Henkl

Senior Member
Feb 5, 2010
342
53
48
Nope, no performance increase if you go GSI ... but you do lose the fingerprint reader :)
I do it for novelty, consistency (to maintain OS experience across devices), and security rather than performance. In most cases going to newer OS means you slow down. But personally I don't find 340k++ on Antutu to be slow so I am OK with that. As a bonus, gcam 7.x actually works for me on Android 10 but not on default global ROM.

So to get going with that, what I use to salvage all my files is a USB-C to SD OTG adapter and I store all files there.
Important --> do full TWRP back up of all partitions with OTG USB as storage for it. Better safe than sorry.
Then I flash GSI IMG file to system image partition, resize system, flash nano gapps, then format data and finally reboot.
After the first successful boot I go back to TWRP and flash Magisk from there. All set to go.

Going back is simply a matter of restoring the System + Boot backup and formatting data. Note, this will replace recovery so you need to fastboot and reinstall it.

Rinse and repeat for any other.

If you want performance increase you need to do full ZUI 10.5 flash via EDL recovery .. which I am still hesitant to do since it's not clear to me if bootloader will remain unlocked and if I can still do GSI after the fact.
The bootloader will remain unlocked. Good rom. Use 10.5 cn as daily driver (with every chinese app debloated)
 
  • Like
Reactions: miji2

Sheep888

Member
Mar 16, 2018
24
3
0
Btw if you use an app like MoreLocale2 and use the ADB code the app gives you, you can change the kanguage of the phone in Zui. I used this app to change the language (for a big part) to Dutch.
 

miji2

Senior Member
Oct 12, 2010
157
145
63
Toronto
I tried havoc 2.9 but it remains in bootloop .. does this happen to you too?
I only played with going from shipping ROM to Havoc/GSI and back (ie. no EDL/QPST flashing), so depending where you're coming from YMMV. You have to at least factory reset or maybe even fully wipe the device. Start with factory reset and try, but I think you may have to fully wipe internal storage because of encryption. Make sure you move your backups and any other files off internal storage to OTG USB storage before you wipe/format.

---------- Post added at 11:50 ---------- Previous post was at 11:46 ----------

Does Havoc 3 still has issues with Bluetooth Audio A2DP? I could not fix this issue with earliers versions of havoc
So no go with Redmi AirDots or my QCY headphones. They discover OK, pair OK, but after connection the audio does not seem to be routed to bluetooth properly.
 
  • Like
Reactions: Sheep888

Sheep888

Member
Mar 16, 2018
24
3
0
I only played with going from shipping ROM to Havoc/GSI and back (ie. no EDL/QPST flashing), so depending where you're coming from YMMV. You have to at least factory reset or maybe even fully wipe the device. Start with factory reset and try, but I think you may have to fully wipe internal storage because of encryption. Make sure you move your backups and any other files off internal storage to OTG USB storage before you wipe/format.

---------- Post added at 11:50 ---------- Previous post was at 11:46 ----------



So no go with Redmi AirDots or my QCY headphones. They discover OK, pair OK, but after connection the audio does not seem to be routed to bluetooth properly.
Thanks for trying!

I tried it as well today, but still the same issues, i could control the playback with my headset (1more and libratone) but i could not hear the music.

Maybe a future update can solve the issue
 

metalspider

Member
Jun 24, 2015
9
2
0
installed havoc 2.9
nfc fixed with magisk module(didnt work when i tried "([AOSP 10.0] [2019-12-06] Quack Phh-Treble")
no slider detection so when playing whatsapp voice messages need to open slider or proximity sensor will cause screen to turn off.
double tap to wake doesnt work
whatsapp web the camera has issues focusing and solved by zooming the qr code in web browser
tried enabling aux camera (qualcom) in phh treble settings but still no option for 2nd camera on the back of device. have 1 back camera and selfie camera only.
only method i found to turn on screen from sleep is with power button.
cant test bluetooth audio since i dont have bluetooth earphones.

edit:AOD zip keeps display on only if i keep the slider open so proximty sensor is making it turn off when slider is closed.
adaptive brightness zip installed but still not working.

antutu score is almost 370k so pretty decent imo.