[VENDOR] Treble support for ZUK Z2 Pro

herrxyz

Member
Oct 31, 2012
10
0
0
need correct boot.img

There is not available for now . Use kernel( boot.img ) from last Mokee . Just unpack rom and copy boot.img into your phone . Flash boot.img , vendor.img and gsi
got "android encryption problem"... only button there is "factory reset". Button does something, reboots into recovery and so on, then same screen again: "android encryption problem". after long searches, I found out it MIGHT have something to do with wrong kernel-version (boot.img) for GSI. could someone give me his working boot.img ?

what I did: full erase / factory reset / wipe EVERY partition in TWRP. everything mentioned in first post ([boot.img fromboot.img from MK81.0-z2pro-201805121530-NIGHTLY], vendor was not flashable), afterwards I did flash "factory2vendor_z2_plus.zip" as mentioned in another thread, reflashed vendor and reflashed GSI - now got this "android encryption problem"
 

mar.ur

Senior Member
Oct 30, 2016
980
348
63
Sosnowiec
got "android encryption problem"... only button there is "factory reset". Button does something, reboots into recovery and so on, then same screen again: "android encryption problem". after long searches, I found out it MIGHT have something to do with wrong kernel-version (boot.img) for GSI. could someone give me his working boot.img ?

what I did: full erase / factory reset / wipe EVERY partition in TWRP. everything mentioned in first post ([boot.img fromboot.img from MK81.0-z2pro-201805121530-NIGHTLY], vendor was not flashable), afterwards I did flash "factory2vendor_z2_plus.zip" as mentioned in another thread, reflashed vendor and reflashed GSI - now got this "android encryption problem"
Wipe/ format data / "yes" ( This erases all your data )
 
Last edited:

herrxyz

Member
Oct 31, 2012
10
0
0
Wipe/ format data / "yes" ( This erases all your data )
unfortunately this didn't solve my problem

---------- Post added at 08:15 PM ---------- Previous post was at 08:11 PM ----------

"solved" encryption problem by deleting everything and switch to an older agustin rom (https://ota.zuk.qnsystem.com/download/z2_row/) (had to reswitch factory2vendor and recovery - keep in mind to use old opengapps also because of /vendor and /factory problematic), then used agustins OTA (several times) to get up-to-date
thanks to @ianbassi for his helpfull post https://forum.xda-developers.com/showpost.php?p=76285175&postcount=43
 
Last edited:

mar.ur

Senior Member
Oct 30, 2016
980
348
63
Sosnowiec
unfortunately this didn't solve my problem
Do you know difference between wipe data and format data ?
You did so many unnecessary steps . Just read a thread before you will act .

Btw , thanks for link to unofficial Los 15.1 for z2pro . I've installed it with magisk 16.0 and the latest gapps without any problems . You must flash f2v.zip and 2018.04.13 twrp before .
 

Attachments

herrxyz

Member
Oct 31, 2012
10
0
0
Btw , thanks for link to unofficial Los 15.1 for z2pro . I've installed it with magisk 16.0 and the latest gapps without any problems . You must flash f2v.zip and 2018.04.13 twrp before .
does your bluetooth work? every time I try to connect to a devices my phone hangs and softreboots after some minutes ... also the included camera app crashs all the time (not a problem, just downloaded another one)
I have exact the same version as you, regarding to your screenshots (except that I didnt install magisk)
 

Terminator.J

Senior Member
Jun 11, 2014
238
157
63
Seattle
So this has been out for a while now... how well do the current Treble GSI versions of RR or LOS work on our Z2 Pro? Anyone using those currently, as opposed to the native device roms here in the Z2 Pro forums?
There's still no current GitHub release for boot.img, would we still want to grab one from Mokee, or maybe from latest full-treble AEX or RR? Or, for that matter, use AEX 5.5 installer & latest TWRP for its /boot and /vendor partitions, then replace /system with one from a Treble GSI?
If anyone has tried this, I'd be curious to see how it's working (or if @cosmedd or @davidevinavil wants to chime in and say "wait a week, we're about to push new releases" that would be great too) … although I've got another day or two of babysitting PowerPoints at a convention so I might be bored enough to try various combinations myself.
 
  • Like
Reactions: jordandroid64

mar.ur

Senior Member
Oct 30, 2016
980
348
63
Sosnowiec
does your bluetooth work? every time I try to connect to a devices my phone hangs and softreboots after some minutes ... also the included camera app crashs all the time (not a problem, just downloaded another one)
I have exact the same version as you, regarding to your screenshots (except that I didnt install magisk)
I didn't have any issue with BT or stock camera . What fw do you use ? I probobly was on 3.5.344 but I am not sure . I sold my Zuk three days ago and can't check it anymore .
 

herrxyz

Member
Oct 31, 2012
10
0
0
Baseband M8996FAAAANAZM-1.70664.3.76387.1, boot.img from mookee and agustin rom, as already mentioned. haven't used stockrom for some months, dont know what version it was (had mokee 8.1 before, but there were no updates anymore)
 

jordandroid64

Senior Member
Sep 7, 2014
328
36
0
Hey,
I just flashed a GSI system from AEX 5.5, I still can't make jack working.
Someone succeed to make jack working ? From which full treble ROM ?
I tried a solution provide by a mate 10 lite user, change a value in build.prop, but this value was not in our file and add it in our file didn't make sound from jack working.

Solution for mate 10 lite : set vendor.audio.offload.passthrough to true;