[VENDOR] Treble support for ZUK Z2 Pro

Hugo_PM

Member
Jul 22, 2014
31
4
0
I've flashed LineageOS and everything seems fine but now I can´t boot to EDL mode in order to flash with QFIL.
Everytime I try to reboot to EDL mode, it boots normally. I tried to reboot with fastboot-edl without success.
What should I do?
 

ralph.bethke1

Senior Member
Mar 29, 2016
106
61
28
I've flashed LineageOS and everything seems fine but now I can´t boot to EDL mode in order to flash with QFIL.
Everytime I try to reboot to EDL mode, it boots normally. I tried to reboot with fastboot-edl without success.
What should I do?
Boot to recovery, within TWRP select "reboot >> download"

Gesendet von meinem Z2 Pro mit Tapatalk
 
  • Like
Reactions: Hugo_PM

kubersharma

Recognized Developer
Dec 30, 2015
1,122
5,314
133
New Delhi , India
Good work, Zuk-devs :D


I've flashed LineageOS and everything seems fine but now I can´t boot to EDL mode in order to flash with QFIL.
Everytime I try to reboot to EDL mode, it boots normally. I tried to reboot with fastboot-edl without success.
What should I do?
Through Fastboot :
Code:
fastboot -i 0x2b4c oem reboot-edl
Through TWRP > Terminal
Code:
reboot edl

And here are some Screenshots from Last nights build of PhhAOSP Treble with GApps and SU inbuilt.
 

Attachments

  • Like
Reactions: Hugo_PM and xino22

kryzeK

Senior Member
Jul 17, 2012
1,201
821
113
Cachoeira Paulista
What do I need to install to use the latest version of Official AEX for Z2 Pro?

I installed TWRP + Magisk (both for Treble) but I still have a popup when I turn on the phone saying that the Android system is damaged.
 

Rochseron

Member
Oct 12, 2017
10
0
0
No audio during calls (mic/speaker/dial tone) for ZUK Z2 pro

Thank you very much for porting full treble compatibility for the zuk z2 pro.
I was able to flash treble ROMS. With the Resurrection version I constantly get a message that com.android.phone stopped. With the Lineage and the AOSP treble ROM (Phh-Treble 24-04-18) I have the effect that during a call I neither hear the person calling me nor does he hear me. No dial tone, either. I have tried various baseband-versions, but this doesnt affect this behaviour. Mic and speaker are functional, e.g. I can use "OK Google" without problems. Calls can be made and received, but: so sound. I have asked in the treble ROM forum but they advised me to post the issue here since the ZUK has no native support for treble ROMS.
Help will be very apprechiated.
 

Lamba92

Senior Member
Jun 14, 2013
118
11
0
Pescara
None of the treble roms seems to boot on my z2 pro. It may be related to the boot.img but i have no idea. I was following @mar.ur advice to extract the latests boot.img from a Mokee rom but seems it's not working at all. Here's what i tried both with data and cache in f2fs and ext4 and with the recommended baseband and latests one:
- flash boot.img from latest mokee, flash linked vendor.img, flash AOSPExtended w/ Treble support. NOT BOOTING
- flash latest mokee rom. BOOTING
- flash latest mokee, flash vendor.img, flash AOSPExtended w/ Treble support. NOT BOOTING
- flash latest mokee boot.img, flash vendor.img, flash phh's lineage 15.1. NOT BOOTING
- flash latest mokee rom, flash vendor.img, flash phh' lineage 15.1. NOT BOOTING

I have no idea what to do next :-/
 

AMDFenics

Senior Member
Oct 18, 2012
586
292
0
None of the treble roms seems to boot on my z2 pro. It may be related to the boot.img but i have no idea. I was following @mar.ur advice to extract the latests boot.img from a Mokee rom but seems it's not working at all. Here's what i tried both with data and cache in f2fs and ext4 and with the recommended baseband and latests one:
- flash boot.img from latest mokee, flash linked vendor.img, flash AOSPExtended w/ Treble support. NOT BOOTING
- flash latest mokee rom. BOOTING
- flash latest mokee, flash vendor.img, flash AOSPExtended w/ Treble support. NOT BOOTING
- flash latest mokee boot.img, flash vendor.img, flash phh's lineage 15.1. NOT BOOTING
- flash latest mokee rom, flash vendor.img, flash phh' lineage 15.1. NOT BOOTING

I have no idea what to do next :-/
hm, mate, for latest aex u don't need any vendor or boot.img.
To start from top u should install ZUI with qfil and update to latest state. (3.5.xxx)
After that u flash TWRP from cosmedd (March) one TWRP wich is mounting factory partition
Than u install factory to vendor zip
than latest TWRP or Red wolf recovery ur choice
than u reboot into just flashed recovery (such as twrp)
Now Vendor img should be mounted (see in mount tab)
now flash Treble rom of your choice, AEX 5.4, RR6 .. whatever u want
After this, u can add zip of your choice -> Gapps, custom kernel, magisk,... etc...

:cowboy:
 
Last edited:

mar.ur

Senior Member
Oct 30, 2016
980
348
63
Sosnowiec
None of the treble roms seems to boot on my z2 pro. It may be related to the boot.img but i have no idea. I was following @mar.ur advice to extract the latests boot.img from a Mokee rom but seems it's not working at all. Here's what i tried both with data and cache in f2fs and ext4 and with the recommended baseband and latests one:
- flash boot.img from latest mokee, flash linked vendor.img, flash AOSPExtended w/ Treble support. NOT BOOTING
- flash latest mokee rom. BOOTING
- flash latest mokee, flash vendor.img, flash AOSPExtended w/ Treble support. NOT BOOTING
- flash latest mokee boot.img, flash vendor.img, flash phh's lineage 15.1. NOT BOOTING
- flash latest mokee rom, flash vendor.img, flash phh' lineage 15.1. NOT BOOTING

I have no idea what to do next :-/
install 20180311 twrp
install vendor.img
install boot.img
Use older mokee boot.img
https://mega.nz/#!Alg1QL6T!PZwcYSBchXBuMpc74xQfocAsjv2oZTquECh_jyeYlCc
install gsi (don't boot to system if you want gapps )
install gapps ( resize system partition before )
install custom magisk 16.3
https://androidfilehost.com/?fid=746010030569967187
reboot and enjoy :)
 
Last edited: