yashsingh1/xdaforums huggingface dataset:
[Zuk Z1 General] SkandaH:
Thanks to [MENTION=4626118]jacksparao[/MENTION], we are now able to get our hands on the (possible) earliest public build of COS on ham:

The signed images are taken down, but the dev-key signed are still up.

[MENTION=7006460]tuatara42[/MENTION]

1. Usually adb sideload exposes the device as generic Qualcomm device (VID 18D1: Qualcomm). Please use this driverpack (latest is v1.17) to install the driver & try again.

2. You can't use '-i 0xVENDOR_ID' with adb - only fastboot supports this parameter.

3. Rather than adb sideload, you can also put the zip in sdcard & use standard adb zip flash.
[Zuk Z1 General] jacksparao:
Don't und std

Can you point me what I have to do ? Sorry I have good experience in MTK its my first Qualcomm phone
[Zuk Z1 General] SkandaH:
[MENTION=4626118]jacksparao[/MENTION]

Sorry for late reply.

Your device is running the oldest known COS Preview build which is signed with dev-keys, so it is little hard to apply official Cyanogen signed OTAs (both full & incremental) on top of it as they will likely throw out error about incompatible data partition.

IMO, most appropriate way is to unlock the bootloader & flash the latest fastboot package.
[Zuk Z1 General] jacksparao:
@ Titokhan,

Thank you for the update.

Can you share the links to unlock the bootloader and post the lastest fastboot package too..

Sorry for being nob..
[Zuk Z1 General] tuatara42:
[MENTION=5301049]Titokhan[/MENTION] :svetius:

Thx, m8! :victory:

UniFL drivers did work and I was able to sideload supersu.

Cheers!!!
[Zuk Z1 General] jacksparao:
Not able too

Not able to unlock the bootloader - please have a look at the imgae

View attachment 3512777

Any advice is welcome
[Zuk Z1 General] Brutalibus:
Have you enabled "OEM unlock" in developer options?
[Zuk Z1 General] jacksparao:
Not able to

I tried to unlock the OEM unlock under setting but its not happening, When I turn on it goes to off automatically
[Zuk Z1 General] Ollebro:
Sorry for asking but how do you root the ZUK Z1 (received mine today and just updated it to the latest OTA, 12.1-YOG4PAS38J) and will I have problems with OTA if the phone is rooted? I guess I lose root everytime I install a OTA but thats not a problem as long as OTA works.
[Zuk Z1 General] vr43x3m:
Try oem unlock-go

---------- Post added at 10:40 AM ---------- Previous post was at 10:38 AM ----------

When you root, OTA will stop working. And only way to get it back is to restore your device to factory rom. So you will loose all your data.
[Zuk Z1 General] othe01:
Doesn´t really matter, if you don´t have a problem to install root every time again then theres no difference to flash the signed zip + supersu or just supersu (if Ota would work). It takes just a few seconds longer.

However, on cyngn forum is a thread that we want root inbuild and file based OTA, you should raise your voice there.
[Zuk Z1 General] plikmuny:
Is it fastboot oem unlock-go or fastboot -ix02b4c oem unlock-go ?

I am getting this output.... what should i do next ? both of the above commands are not working. i am getting waiting for device......

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -i 0x2

fo

...

(bootloader) Device tampered: false

(bootloader) Device unlocked: false

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

OKAY [ 0.047s]

finished. total time: 0.047s
[Zuk Z1 General] tuatara42:
fastboot -i 0x2b4c OEM unlock-go should do the trick.

Did you allow 'OEM unlock' in the Developers options?

Won't work if you don't..
[Zuk Z1 General] plikmuny:
I have enabledit already. I will try it once i get home.

Thanks for your tip.
[Zuk Z1 General] plikmuny:
Its not working. It is giving me a list of options where i am totally lost about which command to use.

Should i post a screen shot of all these commands here ?

Can you pls tell me step by step on how to root my ZUK ? i am really pissed off due to lack of proper guide on rooting eventhough it is a CM supported Qualcomm device. I am sure the Devs here can help me out with my problem.

---------- Post added at 06:33 PM ---------- Previous post was at 06:31 PM ----------

Which version of SuperSu did you use ? can you share the link and commands to sideload it here pls ?
[Zuk Z1 General] othe01:
fastboot -i 0x2b4c oem device-info

what does that say?

and fastboot -i 0x2b4c oem unlock-go

write oem lower case and try again. and yes make a screenshot.
[Zuk Z1 General] plikmuny:
It says nothing....

its just .... ..... .... with blinking cursor... no progress at all.

What should i do now ?
[Zuk Z1 General] othe01:
USB driver error.

use the UniFL driver or a non windows OS.

http://leshcatlabs.net/android-usb-unifl/
[Zuk Z1 General] plikmuny:
i have that UniFL driver installed. But it says KB... some update needs to be installed before i install UniFL driver. I went ahead and installed without this Windows Update Patch KB.., even then it is showing this error. I have windows 7 64 bit.

Can you tell me the steps in short from the beginning pls ?

---------- Post added at 07:28 PM ---------- Previous post was at 06:53 PM ----------

finally i got my bootloader unlocked. but i cannot flash custom recovery. Everything goes as per the instructions... but it finally reboots into cyanogen recovery instead of TWRP.

Any solution for that ? should i flash or just boot the recovery image ?

---------- Post added at 07:38 PM ---------- Previous post was at 07:28 PM ----------

Finally this is what i have got in CMD window.

After that i followed Breadcrusts TWRP Recovery installation, everything says OKAY and it reboots into Cyanogen Recovery.

There i dont get any install or USB update something like that so that i can adb sideload the supersu or any other file...

What should i do now ? how can i root my device and install custom recovery which allows me to install any apps or ZIP files ?
[Zuk Z1 General] othe01:
Grab the latest TWRP and boot into it:

fastboot -i 0x2b4c boot recovery z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img

Then install SuperSU update zip, latest beta.
[Zuk Z1 General] tuatara42:
Booting instead of flashing twrp works fine.

You might need to install the unifl drivers several steps of the way though.

I had to install drivers after booting twrp (i went for the Google adb drivers but unifl might/should work).

Then, when you activate sideload in twrp you have to install the unifl drivers in case the zuk appears in the device manager without drivers (happened for me on Win10). Then you can adb sideload.

Supersu 2.46 works fine. Got the standard version from the official supersu thread.
[Zuk Z1 General] othe01:
Sideload isn´t needed tho, just download or move the supersu file to your smartphone and install it from the twrp menu whenever you have to install root.
[Zuk Z1 General] peter.pommes:
How can i unroot the phone to get back to OTA updates without loosing all my data?
[Zuk Z1 General] plikmuny:
Small correction there...

delete recovery in that command. other than that the rest of the code works just fine...

Thanks a lot for the help anyway...

Oh ****... my ZUK is struck at Boot screen. Can anyone help me pls.. I guess it is softbricked.

Pls help....
[Zuk Z1 General] tuatara42:
Is your Zuk still recognised when you plug it into your computer? If so try to go into fastboot mode.

If not, try to press volume up and down (after restart, when it first vibrates) simultaniously to go into recovery mode and flash update or try to boot twrp and then flash or sideload.
[Zuk Z1 General] petrus73:
worked like a charm for me ;)

thanks you all !!!
[Zuk Z1 General] plikmuny:
i can boot into TWRP, but i tried almost all the zip packages, everything is giving me error in flashing.... i dont know which zip file i should flash.

Any signed CM zip file i can get here pls ?
[Zuk Z1 General] tuatara42:
Go to the official ota updates link thread, click on the link for the ota spreadsheet.

Install the 38J ham-signed version. In case you have to sideload be aware that at some point it might seem to have frozen but the install will go through (just takes a while). If your recovery is broken, extract the recovery image from the 38J ham fastboot signed version and flash as recovery. If you manage to copy these files onto your device you wouldn't even need sideload (except for the recovery, maybe).
[Zuk Z1 General] plikmuny:
Its not accepting the signed zip files in COS recovery... and also in TWRP.

Any other way to overcome it ? i can't even sideload the zip file. It says cant find the zip file eventhough the zip file is in that folder..

my windows and UniFL and ADB drivers are making me go crazy with ADB Fastboot commands. I dont really understand what is the real problem.

Is there any PC Suite or Flash Tool for Lenovo based Devices ? especially for ZUk Z1 ? pls share it if you know.
[Zuk Z1 General] tuatara42:
I never had any problem with it finding the file.

Make sure you have the right driver installed.

When you're in TWRP and activate sideload (by swiping, as indicated) check your device manager (assuming you run windows) and make sure the UniFl drivers are installed. I've used breadcrust's twrp image #2.

Start the command prompt with admin rights. Change to the folder where your signed zip file is located. Run the sideload command for the zip (assuming adb/fastboot are registered in the path variable). If your command prompt is at a different folder when you start the sideload it won't find the file. Otherwise, copy the zip to your adb/fastboot folder, open command prompt with elevated privileges at this folder and start the sideload.

adb sideload xyz.zip

(Replace xyz with the actual name of your file)

Worked flawlessly for me (upon having the right driver installed)...

Maybe also check file integrity of the zip file - maybe it hasn't downloaded completely?
[Zuk Z1 General] htc_hd:
Hello everybobody! I want to root my Zuk with Kingroot. I want to know if working or not. not bootloader opening,just rooting.my OS version is YOG4PAS38J . thank you all!
[Zuk Z1 General] jacksparao:
not working

I tried the kingo root not working and my bootloader is locked too.. My OS version is YOG4PAS38J..

I'm trying my best to find a way to root
[Zuk Z1 General] htc_hd:
Kingroot is different then kingo root, as I know.maybe i'm wrong.
[Zuk Z1 General] aaswar:
My 2 cents, windows 10 sometimes will not work with fastboot commands vs. Works fine with Win7.

- I soft brick my device several times, and find that the best way to root is:

- copy superuser to your phone.

- boot to bootloader

- boot twrp (don't flash)

- make nandroid backup of your device

- install superuser from the phone storage

- reboot, you should now have root.

- in case of new ota, boot twrp and restore /system, install the new ota, repeat the same process again with the new /system backup, delete the old one.

- All credit of this procedure goes to Paul O'brien.
[Zuk Z1 General] jacksparao:
work?

Can I use CM stock recovery for the same ?
[Zuk Z1 General] aaswar:
No you can't, you need to boot with twrp, boot will not flash twrp it'll temporary runs till you reboot the device, original cm recovery will remain on the device.
[Zuk Z1 General] jacksparao:
bootloader

I'm not able to unlock the bootloader, suggest me something..

Under developer option, I'm not able to enable to bootloader unlock
[Zuk Z1 General] aaswar:
I really don't know what could be the reasons, try to backup your data, and reset the device to factory settings. Start from enable developer option, "Android debugging", "OEM unlocking", and try again.
[Zuk Z1 General] LethalOne:
What is current newest version of CM12? Im confused :/

Please give me build name

https://xq55.app.box.com/ZUKZ1ROMs/1/5070464146
[Zuk Z1 General] :
Hello,

Just waiting to receive my Z1 tomorrow and the first action to do is to unlock the bootloader and to root...

My question is that: Is possible to sideload supersu using the stock recovery instead of flash unofficial TWRP?

Also, I have checked the file links that you have posted to the system, like the ones bellow.

There are incremental OTAs or complete ROMs?

Due to the size, I think there are complete ROMs, but due to the updater-script I think there are OTAs.

Is possible to get the official links for the complete ROMs or it needs to be flashed via fastboot only?

Finally,

if after unlock the bootloader, I flash a ROM using fastboot, with the commands bellow, is the /sdcard contents deleted?

Thanks in advance!
[Zuk Z1 General] othe01:
it´s unlock-go not unlock.

All OTAs are linked here https://docs.google.com/spreadsheets/d/1xziP6WC5X1HzATEpT7SUGOmQxeILHkxge8DmXA_dvj4/edit#gid=0

Install the OTAs via the updater when you receive the phone, then unlock, boot twrp and install supersu.

When a new ota comes out you need to flash the recovery image from the fastboot linked in the sheet and then install the signed zip from there, then boot into twrp again and flash supersu.
[Zuk Z1 General] :
Normally I remove some bloatware from /system.

What about OTA install if a /system file has been removed?

OTA can be installed from recovery even if not all /system files are installed?

Thanks
[Zuk Z1 General] othe01:
No it can´t.

Thats why you flash the recovery image from fastboot zip, then you flash the signed zip, and then you install SuperSU again or make your modifications.
[Zuk Z1 General] :
OK, the updates listed in the Excel file can be installed from adb-sideload even if some files in /system has been deleted or I need to restore it manually before?

Thanks!
[Zuk Z1 General] SkandaH:
[MENTION=267841]bartito[/MENTION]

Short answer - yes. That spreadsheet contains links to full signed zips, which don't check the integrity of /system partition while installing.

:cowboy:
[Zuk Z1 General] tmxturuu@gmail.com:
Just a precaution all fastboot commands work except system.img

you will most likely have to sideload it from CM recovery
[Zuk Z1 General] manolone:
Hello to everybody. I've read some pages from this thread and I'm quite confused on how to root the z1

I'm on the last cyanogenos (once I got the international version of the z1, I updated through ota)

so I've some questions:

1) is it necessary to unlock the bootloader? if so, is it enough to enable the unlock oem in the developers settings?

2) than it seems to me you need the right drivers. I'm on Windows 7 64bit. can anybody give me a link with the right drivers?

3) Moreover I've adb installed on my pc. once the Windows drivers are installed which are the steps (and the link to the right files) to root the z1?

many thanks for the support

Sent by oneplus one
[Zuk Z1 General] tmxturuu@gmail.com:
look through page 7-15 of this post
[Zuk Z1 General] Kenji242:
Hello I am new here . Unfortunately I can not English and confusion work well with the translators . My questions . Is there now a way to root ? I understand discussion not quite die , what is at stake . Can flashing via Odin ?

Latest CM version is instaled .
[Zuk Z1 General] G3n3R4L:
yeah i feel the same, i don't understand anything !!

is there a method out there ?
[Zuk Z1 General] MKKLR21:
There isn't a one-click-root-solution.

Change USB settings in your Z1 to mass storage.

Connect to PC. You'll get 4 unknown devices. Manually install Shenqi drivers.

Download SuperSU flashable zip and save in phone storage.

Downcload Breadcrust's TWRP image and save it in PC.

Install ADB and fastboot in your PC.

In developer options enable OEM bootloader unlock.

Power off Z1.

Push and hold Vol+ and Vol- and push Power until phone vibrates. In stock recovery choose "Boot to bootloader".

Open elevated command prompt and cd to directory containing TWRP image.

Launch command

fastboot -i 0x2b4c oem unlock-go

to unlock bootloader. USERDATA WILL BE LOST! MAKE A BACKUP BEFORE UNLOCKING.

Launch command

fastboot -i 0x2b4c boot z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img

From TWRP install UPDATE-SuperSU-v2.46.zip.

Reboot. You're done.
[Zuk Z1 General] G3n3R4L:
trust me this is pretty easy .... all i get is stuck at 3 dots "..." when i start the fastboot flash recovery command .... so any idea why ?

and even what you are saying here doesn't make sense !! how i can boot recovery z1.twrp ?!!

and before that i need to unlock with "fastboot -i 0x2b4c oem get-device-info" but i am stuck with the unlock code !! it gives me only "..." and nothing happens

so guys, anyone have this problem before and managed to solve it ?
[Zuk Z1 General] Polarfuchs:
I think you first have to "allow oem unlock" in Android, then turn off phone and boot to bootloader mode with that button combo to unlock the phone.

Then booting the TWRP should work.
[Zuk Z1 General] G3n3R4L:
done that, but still stuck at the 3 dots ". . ." once i lunch the code "fastboot -i 0x2b4c oem get-device-info" ...... i don't know why
[Zuk Z1 General] MKKLR21:
We don't FLASH. we only BOOT TWRP recovery. You should read my guide once again.

This is a tethered temporary solution. You'll have to do this each time you want to use TWRP.
[Zuk Z1 General] G3n3R4L:
now i got it, ok .... temporary solution, but it tells no such file or directory
[Zuk Z1 General] MKKLR21:
You should check the file name of the TWRP image.
[Zuk Z1 General] G3n3R4L:
the driver on my device manager should adb interface ?
[Zuk Z1 General] MKKLR21:
Did you install the Shenqi / ZUK USB drivers to every unknown device?
[Zuk Z1 General] G3n3R4L:
i had 4 drivers unknown named z1, i double clicked the ZUKUSBDRIVERS and it installed them all automatically ....

so i assume this can do it, and then i uninstalled, i restarted the computer and installed again .....

is that right or wrong ?
[Zuk Z1 General] plikmuny:
Just type oem device-info

Then u get 4 sentences showing up bootloader is locked or not.

Then type oem unlock-go. That will unlock ur bootloader
[Zuk Z1 General] cola4cube:
I got stucked at the fastboot command. I'm on linux and it says

./fastboot -i 0x2b4c boot recovery z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img
cannot load 'recovery': No such file or directory

Can anybody help? Thanks!
[Zuk Z1 General] :
./fastboot -i 0x2b4c boot recovery.z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img

a dot between recovery and z1 ;)
[Zuk Z1 General] MKKLR21:
Sorry, there's an error in the command I posted.

The correct command is

fastboot -i 0x2b4c boot z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img
[Zuk Z1 General] G3n3R4L:
i get this error

FAILED <remote: bootimage: incomplete or not signed>
[Zuk Z1 General] pd555:
I am having exactly the same issue. Adb commands work fastboot ones do not. I always get the 3 dots. I have tried every flipping driver I can find and 3 different PCs including an old XP one

It's frustrating me. I'm not exactly a noob, I have rooted a few phones in my time. I wouldn't say I was an expert either.

If anyone can post exact drivers they used on Windows 8.1 and the process that would be great. I suspect the drivers are the problem somewhere

I checked this phone had a root before I bought it and now it looks like it doesn't. So that could be annoying. Or maybe if I am patient a better permanent solution will come out
[Zuk Z1 General] cola4cube:
Same prob here.
[Zuk Z1 General] MKKLR21:
Do you run fastboot commands from an ELEVATED command prompt? This means: Run as Administrator!
[Zuk Z1 General] pd555:
I know I do. Makes no difference
[Zuk Z1 General] MKKLR21:
Works for me without any problem from Win7 x64 and Win10 x64. I haven't got a clue what the problem might be.
[Zuk Z1 General] Kenji242:
Unfortunately, I can as a new user still post any screenshots . Can anyone in the it has worked to make a picture of the device driver list ?

Hello , thank you first for the quick reply . I have now tried . Unfortunately, I still have the error message . Shall be such that the driver ? , I have a handicapped because I can not drive the instalation there. Who can help?

Problem.

C:\Program Files\Minimal ADB and Fastboot>fastboot -i 0x2b4c boot z1.twrp.2.8.7.

0.By.Breadcrust-UPDATE2.img

downloading 'boot.img'...

OKAY [ 0.433s]

booting...

FAILED (remote: bootimage: incomplete or not signed)

finished. total time: 0.450s
[Zuk Z1 General] MKKLR21:
Please try to unlock bootloader. Enable OEM bootloader unlock in developer options and launch command

fastboot -i 0x2b4c oem unlock-go

After that try to boot TWRP.
[Zuk Z1 General] G3n3R4L:
i did what you said, i launched your code

<bootloader> erasing userdata.

and guess what, i lost everything !! without even a backup

but it worked ..... thanks man
[Zuk Z1 General] Kenji242:
.

hello there now works for you without any problems?

LG
[Zuk Z1 General] G3n3R4L:
Yup all you need to do is the following

1- connect your phone as mass storage, so you can have 4 unknown drivers.

2- run the zukz1usbdrivers.exe it will install the drivers for all of them automatically.

3- enable oem bootloader unlock in developer options.

4- create a backup of all your daya cause you are gonna delete them in the next step.

5- boot into bootloader using the combo buttons to get into recovery, thene choose bootloader.

6- use this code "fastboot -i 0x2b4c oem unlock-go" and this is where you loose your data.

7- after restart boot into bootloader again and use this code but ofcourse after you copy the recovery img into the fastboot folder "fastboot -i 0x2b4c boot z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img".

It will take you into the custom recovery.

8- in the recovery you can restore your data before installing supersu, then click install and choose the supersu update.zip.

After installing supersu through the recovery reboot into system and u r rooted, finally.

I finally changed the dpi from 480 to 401 and got a decent screen resolution.
[Zuk Z1 General] pd555:
Thanks for this. I have tried this procedure and variations of it so many times I have lost count. I decided to remove the drivers again and followed your instructions and this time it worked. I've no idea why, what was different but at least it worked :)

---------- Post added at 11:46 AM ---------- Previous post was at 11:42 AM ----------

One last question. After rooting and booting I am told there is an update. Can we do OTA on rooted device? I think not but want to check

Are there zips somewhere for the update?
[Zuk Z1 General] G3n3R4L:
i did the updates before rooting, and i saw a post in here that has all the zip updates that u can download and install manually ... just google it u will find it for sure
[Zuk Z1 General] enyx.es:
Has someone tried the new superset? Seens that don't modify system partition...

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 General] liver20:
If have twrp can install next ota update?

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 General] ghost45:
Hi to everyone,

I'm trying several times to Unlock the boot loader but i'm not able...where i must make errors?

C:\Android\sdk\platform-tools>fastboot oem device-info

...

(bootloader) Device tampered: false

(bootloader) Device unlocked: false

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Android\sdk\platform-tools>fastboot -i 0x2b4c oem unlock

...

FAILED (remote: oem unlock is not allowed)

finished. total time: 0.016s

C:\Android\sdk\platform-tools>fastboot -i 0x2b4c boot recovery.img

downloading 'boot.img'...

OKAY [ 0.281s]

booting...

FAILED (remote: bootimage: incomplete or not signed)

finished. total time: 0.281s

C:\Android\sdk\platform-tools>fastboot -i 0x2b4c flash recovery "recovery.img"

target reported max download size of 1610612736 bytes

sending 'recovery' (8686 KB)...

OKAY [ 0.266s]

writing 'recovery'...

FAILED (remote: device is locked. Cannot flash images)

finished. total time: 0.281s

i wait for your answer..

thanks
[Zuk Z1 General] plikmuny:
Here is the Problem... C:\Android\sdk\platform-tools>fastboot -i 0x2b4c oem unlock

you should type unlock-go not just unlock. ok ?

then you can unlock your bootloader. But before giving that command, enable oem bootload unlocker Option in development Settings.
[Zuk Z1 General] Kenji242:
Dowload by Google " minimal ADB and fastboot" its work Better!