yashsingh1/xdaforums huggingface dataset:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] DD3Boh:
Reserved

Unofficial builds deleted on April 2nd 2020
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Starchm:
Hmm
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] manashz1:
was eagerly waiting for lineage 17 update, downloading,thanks so much dev, let's hope we'll get an official update soon
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] P650SE:
Huge thanks to the developer, very exciting to have Android 10 up and running on my device, with encryption in place! :)

PS: I couldn't get the beta version of Open GApps to flash in TWRP - It complained about a missing file in the ROM - I didn't make a note of what it said but I tried BitGApps instead and that worked fine: https://bitgapps.cf/arm64/Q/
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] panicker666:
The 20200115 gapps beta build was the problem. The next beta gapps should have it fixed.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] manashz1:
so far very stable, everything works fine,the ui is almost perfectly smooth,but sometimes an app takes a milliseconds to get that opening animation running,lineage 16 is perfect in that ,when you tap an app it instantly responded,it needs a little work,but msn is it the best 10 rom out there,smoothest , lineage is the best
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Tutida:
Thanks for the rom!

I'm having some issues...

1 - unable to hide apps in trebuchet

2 - unable to expand desktop

For now, only it.. if i found something i will update the reply...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] P650SE:
I have an update about the problem I and another user reported in the TG group, where pictures and music were not appearing in the stock apps in Lineage 17 - After a couple of days of using this ROM my pictures and music have randomly started to appear in the stock apps. For some reason it took a few days for them to show up! :p
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] manashz1:
media scanner was not running,just download 7zipper and run media scanner
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] jarco1:
I don't see adaptive battery in the settings
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] jarco1:
Brilliant Rom. Very fast and very good battery. I like him.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] santhosh45:
Anybody tried any sound mods on this rom...i got bootloop from vuper4android.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] manufcorreya:
Is there a way to remove unwanted system apps. When i remove app using link2sd app i got a bootloop.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Crystz:
Can GSI's be flashed on this ROM...??:D
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Crystz:
But, I've flashed many GSI's successfully... So z2 plus is a GSI flashable.

And to flash any GSI we need a proper treble rom(with a good vendor which actually supports flashing any GSI..)..AFAIK:)
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] linuxnoobbbb:
I'm not sure whether it's a bug or not. I tried the new internal audio recording feature of Android 10 with com.kimcy929.screenrecorder, it's not working, nothing but silence was recorded.

Edit: It's working with the browser (with slight lags though). However, it didn't work while playing sound with the built-in file manager.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Havok19111:
Bruh that PE dev damaged gis phone now give me a solution
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] ERHAN53:
LineageOS 17.1 official released

https://download.lineageos.org/z2_plus

note: removed
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] osmosi:
Any news on android 11
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] ruben958:
I have the Los Recovery and Rom, if I Update from OTA updates does it install last recovery and rom or only the rom?

Or to update the recovery was to be from adb?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sujayrai:
Jio Video Call Help

Hi Team,

Few weeks ago I had asked for assistance regrading Jio to Jio Voice Calls Ending abruptly/unable to make Jio to Jio Calls. However I didn't get much assistance don't know why.

However I reflashed the OS & now its working quite better.

I have installed Lineage OS over Zui 4.0, flashing via ADB Sideload with Magisk (Magisk uninstalled later via Magisk uninstaller).

However as of now I'm unable to do VOLTE Video Calls, I'm quite new to this stuff all assistance is highly appreciated.

Also if someone can help me how I could use banking apps because after Hiding via Magisk the app was still able to detect the phone is rooted.

My baseband:M8996FAAAANAZM-1.70664.3.76387.1

Kernel:4.4.205-LineageOS+

#1 Thu Sep 10 08:32:34 UTC 2020
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] prakashitbhav:
Hide magisk manager also (there is an option in setting). If issue persists, disable phone permission of Google Play services. If still issue persists, try Arrow OS (without Magisk), it will work.

ViLTE does not work in android 10 ROMs for our phone. Use other video calling apps
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] bonilobo62:
hello we already have android 11 for the zuk z2 plus

I'm testing it and it's going pretty well

https://youtu.be/uhZo8I1hpow

https://t.me/joinchat/AO0r3UBUMvSOh3a6LtnexQ
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
How can I pass the safety net test? Tried everything that includes Magisk hide, props, magisk passes the test but fails when I use an app. I need to use Gpay.

I am using MicroG too.

Any help from you guys would be much appreciated.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Hey. I just updated my Z2 to 17.1 nightly yesterday(lineage-17.1-20200924-nightly-z2_plus-signed) and i got everything set up(flashed gapps mini, magisk, got the apps i like installed)... Was all working well with reboots between each install. But when i tried turning it on today to actually use it, i am stuck at the "ZUK powered by android screen". Anyone know what happened, or how to fix it? I cant boot into android at all, but can still get to TWRP(3.3.0-1). I tried dalvik/cache wipe, but that didnt do anything.

I should mention that this is the first big update i did on this phone over the last 2 years. Prior to it, it was running an old build of lineage, so i'm kinda thinking its from outdated files from before(though that wouldnt explain why it worked fine yesterday)

I'm setting it up so i can use it as my backup, for if i screw up updating my redmi 9s... So you can imagine i'm not too confident about that update going to smoothly now.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Not sure if i made things better or worse, but i tried updated TWRP(now i'm at twrp-3.4.0-0-z2_plus) and reflashing the linage rom(lineage-17.1-20200924-nightly-z2_plus-signed) as a way to just start fresh... but now i get

"Failed to mount '/vendor' (inavalad argument)"

error.

Everything i do gives me that error.

Kinda annoying, everything seemed to be fine yesterday, and now nothing is working ?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] blackkharv:
Flash the rom with right recovery.. And getting flash ot mtp problem, try to flash via sideload
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
So i flashed a vendor2factory_z2_plus file, and that let me install everything without errors... Upon rebooting though, i get a screen asking me how i want to boot... no options of which sends me to android.

I feel like i'm almost there, but theres one minor thing i have ignored or forgot thats keeping me from booting properly.

edit- blurred serial number out. Dunno if that was necessary but playing it safe.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] xtra sharif:
Please install latest recovery also
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
K, thats on now, and from that page i am now able to get into the recovery menu, but still not able to actually boot into android.

edit- feels a lot more cramped than TWRP. Unless theres a reason to use this instead of TWRP, should I get this working again, i think id prefer to have TWRP on it instead.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] xtra sharif:
Why vendor again not mounting or any other error
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Heres where i'm at now.

factory2vendor gives me an error that i need to "force" install it, which it then tells me was successful. Then when i try to install the newest lineage nightly, I get an error in "sideload/package.zip (status 7)"

This has me bootlooping into the fastboot menu. I'm still able to get into recovery from fastboot though.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
What method did you use?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Everything i have done has been through the recovery program(TWRP, and now lineage recovery). I dont have the ADB stuff set up on my PC anymore, and if possible, id like to avoid installing it again for simplicity sake.

Thanks for the reply.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Sir, to my knowledge 17.1 can be installed only through ADB sideload, one ought to install using ADB.

Firstly install the older version of lineage using TWRP (Clean Flash) I am sure you have it on your internal storage. Reboot to make sure it boots.

2. Download Minimal ADB and fastboot, make sure Lineage 17.1 zip file is stored into the Minimal ADB folder, use ADB Sideload commands to flash the file. Hope this helps you sir. All the best.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
I actually don't have an older install. Like i said, this phone was ignored for the last 2 years, so i kinda just grabbed the newest build i could find and flashed it over my current(2 year old) one. How far back should i go?

Also, i still have adb access to the phone through recovery, so would it be possible to do it that way? Even better though, i think id be happy to just put the most recent stable version of lineage on it through recovery... I dont really need the newest features or minimal bug fixes. I just want something stable to have incase i mess up fixing my other phone.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Ok! I would recommend you downloading lineage 16.0, install it via TWRP, then proceed with 17.1 using ADB sideload. That's because 17.1 is an upgrade to 16.0, it can only be installed via ADB.

I am no expert but just trying to help, there are many pro's out here hope they can help you too. :)

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

https://xdaforums.com/showthread.php?t=2317790
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Unfortunately, i cant find lineage 16.0 anywhere, but i see there are people on reddit forums who were able to update their phones to 17.1 though twrp, so i'm thinking my issue is beyond that. I tried going back to twrp by installing it over adb(enabling adp though the lineage recovery, sending the command to go to fastboot, and then "fastboot flash recovery twrp-3.4.0-0-z2_plus.img", but it just says "waiting for devices". Prior to that i can see the device if i type "adb devices" in recovery mode)

I feel like the more i mess around with it, the worse i am. I'm struggling to get TWRP back on it now. Atleast from TWRP i could have probably placed a different rom on it.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Have you tried booting into fastboot??? And then checking on fastboot devices??
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
in fastboot, i no longer have ADB access to the phone.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
What I meant is to reboot your phone into bootloader, do not use the adb commands to boot into bootloader, that's what I meant, secondly I am hoping that all your drivers have been installed properly, as I have been in the same situation as you are:)

---------- Post added at 04:06 AM ---------- Previous post was at 04:03 AM ----------

https://xdaforums.com/showthread.php?t=2588979

---------- Post added at 04:14 AM ---------- Previous post was at 04:06 AM ----------

Once you have booted your phone into the bootloader then connect your phone to your PC and type fastboot device, pls run commands as, 'run administrator'.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Just tried it again, after installing the adb setup 1.4.3, and booting directly into fastbook. With the cmd screen opened, running as admin(typing cmd into search, right clicking "run as administer"), i still get the same issue. Not visible when i list adb devices.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Are your USB drivers up to date?

---------- Post added at 01:23 PM ---------- Previous post was at 01:18 PM ----------

Please search for VCOM USB Drivers, Google drivers.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
That could be it. I just threw all the drivers i could from searching for ZUK z2 adb drivers(ZUK_UsbDriver_1.0.5, minimal_adb_fastboot_v1.4.2_setup, Qualcomm_USB_Driver_v1.0, adb-setup-1.4.3, usb_driver_r13-windows) but i still have this in my device manager.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
https://developer.android.com/studio/run/win-usb
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Yeah, i just cant seem to get it to install. I point the device manager directly to the google ADB folder(and i tried Universal_Naked_Driver_0.73) but windows tells me it "could not find the right drivers for your device"

edit- to be clear, this is happening all while its in the fastboot screen. When its in the lineage recovery screen with ADB access, it still reads it fine. But thats not of any use since i cant flash twrp to it through the lineage recovery, right?

edit- I thought this had to be an issue with my PC, so i dragged out an older laptop(running a fresh install of windows 10 pro, literally clean and void of any extra junk) and installed the ADB setup 1.4.3 and had the other drivers ready to install when i saw the android thing pop up in device manager once its in fastboot. EXACT same results... Visible and able to accept commands in lineage fastboot, invisible in fastboot. I'm guessing the things just messed up beyond salvage. Are there steps somewhere to recover a phone thats inaccessible through fastboot? Or is it at the point where its better to just walk away?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Unfortunately the only way out is adb and fastboot, I too struggled mate before I could get it right, installing drivers is a hassle, but don't give up,

Here a video,

[youtube]maLWScgXflk[/youtube]
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Here's what you can do is to boot into bootloader with you phone connected to your pc, open device manager, check the list of drivers you should see Android and next to it a yellow triangle, highlight it, then move to the Action tab, add legacy hardware, next, Install hardware (Advanced), next from there choose your driver and install fastboot driver, this should install fastboot driver.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Here's what it should look like.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Device Manager
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Finally got it. Thanks for your help incognito777. TWRP is back in, and trying to flash lineage-17.1-20200924-recovery-z2_plus.img is back to giving me an error: 7 which isnt great, but atleast now i have other roms to try since TWRP allows more options.

Do you have a suggestion for something that is stable and gives good battery life? I mostly just want to set this thing up as a reliable backup. Once i have everything set up, software wise, i'll swap in a new battery and hopefully have something i can lean on incase my current phone keeps giving me issues.

edit- after digging around a bit, i think my bootloader might be out of date. I remember re-flashing my phone with an official update to get a treble bootloader years ago. Was there another new implementation since then, that would require me to go back to the official zuk rom? I also wiped the system and user data on my phone, so i shouldnt be running into this error 7 issue from trying to migrate from an older build, since there is no lineage build(or any OS) on my phone at all now.

I tried sideloading it through ADB from my PC, and it results in the same error 7 thing.

Heres my attempts at installing, same error as usual.

[IMG="error from attempting to install"]https://i.imgur.com/M568wmr.jpg[/IMG]
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Glad you managed to connect your phone and drivers, have you flashed vendor2factory or Factory2vendor??? Matey I had done all this years ago with a struggle too and have forgotten, search for those files(Vendor2factory) these are Treble Roms, also depends on the version of TWRP for certain Roms, pls do search for Zui version for Zuk2 plus, to flash Zui version one must flash using QPST, you may google search, by telling you all this I am no expert. I am using 17.1 lineage as mention install 16.0 then sideload 17.1 I am using MicoG not GAPPS, I have degoogled my phone. So things are different for me.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
I tried putting on AospExtended ROM V7.0 and i get the same error 7 thing, about the vendor image. I'm guessing this has to do with the vendor/factory partition getting renamed for treble stuff, but having tried to flash both the vendor2factory_z2_plus or factory2vendor_z2_plus both nets me the same error(and iv done them in practically every combination possible, with TWRP 3.4.0 and 3.2.2...). I remember doing that flash to the official rom a long time ago for treble too, so i figured that was already sorted out.

I also cant find the official zui rom anywhere(lots of google drive links that are empty now), nor the lineage 16 rom. But tbh i'm doubtful that would solve it either since i dont think its an actual issue with the roms, so much as my messed up vendor/factory partition.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Oh! Man you seem to running into to many road blocks, hope you are down loading the right files for Zuk2plus, here my gdrive link, yet with these.

https://drive.google.com/folderview?id=17fprxtmmBOF-oqEBphrUxLaq84_Kjzm4

---------- Post added at 06:47 AM ---------- Previous post was at 06:44 AM ----------

https://xdaforums.com/lenovo-zuk-z2/development/lineageos-16-0-t3907327
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Neyzik:
Bro, you should flash ZUI again with QPST. Start fresh then proced with bootloader unlock and install lastest TWRP , forget about v2f or f2v this is the easyest way to fix this mess.

Heres a valid link to download zui 4.0.

https://drive.google.com/uc?id=1CxAa8B77Ert7pdIQMqv5hS2HHz_aLjEJ&export=download

Good luck.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] scott86:
Yeah, i'll give that a try... Dumb question, but once i flash the stock ZUI rom with QPST, do i need to re-unlock my bootloader? Cause i'm not sure how i would go about getting the unlock file again. I know they emailed it to me a LOOONG time ago but it was also deleted long ago. If it'll still be unlocked, then id just need to enable developer mode from the system menu, turn on USB debugging, ADB command boot into fastboot, flash TWRP, drag the newest lineage rom over, and install from the TWRP recovery page.... right?(and after that, add magisk, etc... )
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Neyzik:
You don't need to re-Lock the bootloader, the process of flashing stock rom with QFIL will lock the bootloader automatically. To unlock it's pretty simple, just enable dev options and check "unlock oem" then proced with adb unlock command. After that you are good to go, just flash latest TWRP and choose you're favorite custom rom.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Incognito777:
Thanks for helping out :good:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] art2111:
Hi, I installed Lineage 17.1 and now I don't have TWRP. How can I restore it and install another ROM instead of Lineage 17.1?

Thank you.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] fsck-justin:
doesn't seems so. ADB complains about missing some library
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] TheStraight:
Try to flash Miracast Enabler or something like that in Magisk.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] 4ngl09669:
Hi everyone,

I have a problem. I tried to install lineage 17.1 + Gapps and it doesn't work, the device gets stuck on the initial loading screen. Installing only Lineage instead it works...

I already have the latest official TWRP available installed, and I come from another custom ROM of Android 11, but obviously I have cleaned everything from TWRP.

Anyone have ideas?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] linuxnoobbbb:
I got bootloop as well, with the latest LOS 20201217 and the latest OpenGapps stock 20201222. I think it might be related to OpenGapps.

I got bootloop with the old build of last month as well, then I found that an old OpenGapps release worked - however the last worked OpenGapps stock 20201119 (Sorry! OpenGapps stock 20201119 DIDN'T WORK at that time either. I checked my notes, then I found I misremembered it. It was OpenGapps stock 20201029 which actually worked at that time, NOT 20201119) no longer seems to work with LOS 20201217. I'm then trying older OpenGapps, will edit this reply when I see the outcome. Tried OpenGapps 20200827, it works.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] linuxnoobbbb:
1. Use fastboot to flash TWRP into the recovery partition.

2. Use QPST/QFIL's partition manager to flash TWRP into recovery partition - the firehose programmer file is required, which can be obtained from stock ROM package. To enter EDL (9008) mode, you may try "deep flash USB cable".
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] art2111:
Thanks, it helped!
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] andrepd:
Hi! I'm having the same issue here when upgrading from a LineageOS Nougat rom. I read through the next pages and if I understand correctly I should use qfil/qdl to flash ZUI4.0?

Only this will lock my bootloader again right? And wipe twrp? MOST IMPORTANTLY, will it wipe my data in internal storage??

Is there any way to flash only the firmware without wiping anything else, like twrp and relocking bootloader etc?

Thanks, any help would be appreciated!

EDIT: For example here https://xdaforums.com/t/guide-flash-firmware-through-twrp-without-relocking-bootloader.3576196/ they suggest removing emmc_appsboot.bin from the zip to be flashed. Will this work in this case?

EDIT2: I'm even more confused, the ZUI4.0 zip I downloaded has a whole bunch of stuff inside. What should I flash? I chose 'flat build' then there are two .elf binaries (lite and ddr), which am I supposed to pick? Then if I load a .xml again I have two to pick (one says retain_userdata, say I pick that). Then finally there's a patch file.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] andrepd:
Update: hooray! I finally found my unlock_bootloader.img somewhere in my old computer :D So even if I lock it by flashing ZUI 4 with qfil I can unlock again.

The question still stands, before I can go ahead with this: will it delete my internal storage, and is there a way to only flash firmware?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] andrepd:
Another update: this thread https://web.archive.org/web/2019042...-flash-a-stock-zui-rom-zuk-z2-z2131-only.104/ says that "USB flashing will wipe your internal phone storage!", also that I should lock my bootloader first or it will brick my phone. So what should i do?! Is there any way to just flash the correct firmware and be done with it?

Again, thanks for any help and thanks for your work in this ROM :)