yashsingh1/xdaforums huggingface dataset:
[Zuk Z1 Android Development] javirenart:
Yes sorry, you lose the data when you unlock the bootlaoder. So, what I recomend is:

In titanium backup make an update.zip of all your apps and system information, copy it to the computer. Then unlock the bootlaoder and flash TWRP. Switch on the phone (all data except the system will be lost), copy the update.zip again to the phone, go to TWRP and install the update.zip. It will install all your apps and data again.

Turn on your phone and everything should be like before. Then go to TWRP and do a backup. And finally install xposed apk and .zip

OR:

Follow this tutorial to unlock your bootloader without wiping data, and then everything I've said before.

http://xdaforums.com/zuk-z1/help/guide-unlock-bootloader-zuk-z1-wiping-t3251801
[Zuk Z1 Android Development] Droid_Nut:
Thanks, I found that update zip while going through the TB batch menu, that sounds like an easy way to do this. Now I feel more confident about this process.

I have made some bricks before, I think I will stay away from the other link. :silly:
[Zuk Z1 Android Development] Droid_Nut:
For the start.sh I had to change the permissions to make it executable under Linux. Do I need to do this for all the scripts in order to run this?

BTW I unpacked these in my /home, maybe I should move them to root? And what location if that is so? Also where should the Android SDK folder be located? That is in /home as well.
[Zuk Z1 Android Development] javirenart:
I've never tried it on wifi so I don't now what you should do...

Try using the Install fastboot and adb option..

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] Droid_Nut:
I am doing in in Linux openSUSE, not sure what you mean by wifi? But thanks for the input.
[Zuk Z1 Android Development] javirenart:
WTF. I don't know why I wrote "wifi". I wanted to say linux [emoji23] sorry for that. Have a look at this, it may be useful. http://lifehacker.com/the-easiest-w...I2RHHtw.4&utm_referrer=https://www.google.es/

Please, can you try the option on the toolkit of installing adb and fastboot? Thanks!

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] Droid_Nut:
Thanks, that looks really helpful! :good:

BTW, I still need to know if the tool kit should be on the /home or /root of the hard drive?
[Zuk Z1 Android Development] javirenart:
At least on mac it doesn't matter. In mac you can open it anywhere if you put the complete directory of where the toolkit is...

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] Droid_Nut:
I cant get past unlock bootloader?

-----------------------------------------------------

DISCLAIMER:

YOUR ZUK Z1 WILL BE WIPED. ALL PICTURES, VIDEOS,
AND PERSONAL INFROMATION WILL BE LOST. TAKE A BACKUP
BEFORE UNLOCKING YOUR BOOTLOADER!

You are solemnly responsible for the use of this toolkit.
If your Zuk Z1 is damaged by this toolkit in any way
it is your responsibility and blame. If this is crystal clear,
write the word understood in lower case below to start.

-----------------------------------------------------
Did you understand? (Y/N):
understand

You did not read the disclaimer. Please read it.

Did you understand? (Y/N):
understand Y
./bootloaderunlock.sh: line 24: [: too many arguments
./bootloaderunlock.sh: line 79: [: too many arguments

You did not read the disclaimer. Please read it.

Did you understand? (Y/N):
[Zuk Z1 Android Development] Planet X:
The answer is written in the screen: too many arguments

You only should type understand and press Enter :D

The tool works fine by the way. I have used the Mac version. I'm unlocked and rooted.
[Zuk Z1 Android Development] javirenart:
Sorry you did not read the disclaimer... You should write the word "understood"

I think I may change that to something more intuitive.. But the original toolkit was like that just to make sure people where reading...

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] javirenart:
It's not understand, it's understood [emoji14]

Thanks for the report!

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] Droid_Nut:
My eyes lied. :cyclops:
[Zuk Z1 Android Development] thihaz:
When the phone is rebooted to bootloader, i only saw the penguin icon, although the toolkit say successfully unlocked it, it was not.

I was trying on Mac. Even when I tried manually from terminal, it still not unlock it.

Anyone faced the same issue?

Thanks.
[Zuk Z1 Android Development] Tengo10:
Are writing everything correctly? Or is your phone recognized as a fastboot device? I unlocked my phone with Titos way, root and then edit the bootpartition, or he tried it if its working :D
[Zuk Z1 Android Development] thihaz:
I can't seem to access the phone when the phone is in bootloader state.

Any idea how to make it accessable?

Thanks
[Zuk Z1 Android Development] Tengo10:
Try to activate the advanced reboot options in the dev settings and reboot from there into the boot loader, then you should see an don't plug off logo cause it is in fastboot. And then you can check with fastboot
[Zuk Z1 Android Development] thihaz:
I can't find advanced reboot options.

I rebooted my phone into bootloader via terminal.

this-MacBook-Pro:platform-tools thiha$ ./adb reboot bootloader
this-MacBook-Pro:platform-tools thiha$ ./fastboot -i 0x2b4c oem unlock
...
OKAY [ 0.001s]
finished. total time: 0.001s
this-MacBook-Pro:platform-tools thiha$ ./fastboot -i 0x2b4c oem get-device-info
...
[Zuk Z1 Android Development] thihaz:
Everything is ok now. Thanks for the tools. Awesome!
[Zuk Z1 Android Development] Tengo10:
There :D
[Zuk Z1 Android Development] thihaz:
Thanks. Nope. Mine is may be not properly unlocked. And recovery is still ZUK recovery. Looks like I can't seem to overwrite with other recoveries.

Anyway managed to root the phone with the tool which is pretty awesome.

Thanks for your time.
[Zuk Z1 Android Development] Tengo10:
You have to disable the 'Update Cyanogen ROM ' switch in the Dev settings
[Zuk Z1 Android Development] thihaz:
I do not have that switch. Mine is ZUK ZUI 5.1.1
[Zuk Z1 Android Development] Tengo10:
Oh ammmm thinking...
[Zuk Z1 Android Development] thihaz:
I am running cyanogen now :D

Thanks for your help though.
[Zuk Z1 Android Development] lukode:
Hello

Thanks for this tool, i unlocked the boot loader. Bu i have one problem, i tried to change the recovery, and i cant. I maked all with a mac, but recovery is CM recovery. I don't find the option in dev options that the program says. I only want to make it root.

Thanks in advance.

Regards
[Zuk Z1 Android Development] javirenart:
If you just want to root download kingroot and it will root you much faster. I'll look into the code of flashing the recovery but I think it works correctly. The option is inside developer options in COS

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] talich:
Guys, if you gonna use cwm touch from ghost45 remember bout high risk. It bricked my phone yesterday when I tried to restore my CM 12 backup. Only qpst could help to unbrick it, thanx to lenovo-forums.ru. You've been warned.)
[Zuk Z1 Android Development] javirenart:
Yes, I recommend using TWRP

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] lukode:
Hi! What's COS? Could you post a screen capture of this option? Ive rooted with the temp twrp option, flashing the supersu zip.

Enviado desde OP2
[Zuk Z1 Android Development] javirenart:
Cyanogen OS. I can't post it because I'm using nightlies

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] Tengo10:
COS means CyanogenOS
[Zuk Z1 Android Development] mahi77444477:
while i am using this tool my zuk z1 cant unlock boot loader or cant responding to install stock os what i do any one help
[Zuk Z1 Android Development] javirenart:
Can you please copy and paste the terminal lines since you started the toolkit so I can see the errors that you're getting?

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] mahi77444477:
Terminal lines

HI I M PASTING TERMINAL LINES PLEASE CHECK AND SUGGEST ME PROPER WAY

Please choose from the following:

0. Instructions to enable USB Debugging

1. Unlock the bootloader of Zuk

2. Flash a recovery

3. Root my Zuk

4. Flash latest Cyanogen ROM

5. Lock the bootloader

6. Do some basic ADB and Fastboot commands.

7. Install ADB and Fastboot to my Mac

8. Install Xposed

9. Uninstall Xposed (no bootloop)

10. Uninstall Xposed (if you have a bootloop)

11. About

12. Exit

-----------------------------------------------------

Choice:

1

-----------------------------------------------------

DISCLAIMER:

YOUR ZUK Z1 WILL BE WIPED. ALL PICTURES, VIDEOS,

AND PERSONAL INFROMATION WILL BE LOST. TAKE A BACKUP

BEFORE UNLOCKING YOUR BOOTLOADER!

You are solemnly responsible for the use of this toolkit.

If your Zuk Z1 is damaged by this toolkit in any way

it is your responsibility and blame. If this is crystal clear,

write the word understood in lower case below to start.

-----------------------------------------------------

Did you understand? (Y/N):

Y

You did not read the disclaimer. Please read it.

Did you understand? (Y/N):
[Zuk Z1 Android Development] javirenart:
Read the disclaimer. It tells you to write 'understood' not Y. It's just to make sure people read the disclaimer.

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] mahi77444477:
ok i have write noow understood but phone not responding now

terminal shows

Did you understand? (Y/N):

understood

Make sure your phone is inside Android, is connected to your Mac and has

USB Debugging enabled.

Después de continuar tienes que autorizar el ordenador desde el teléfono

y pulsar la opción de autorizar siempre

On developing options you must activate OEM Unlock

Press any key to continue...
[Zuk Z1 Android Development] javirenart:
Copy the lines again please. Have you tried to force a reboot on the phone?

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] mahi77444477:
yes i have do as you tell by rebooting also but after pressing any key when display show or terminal line shows press any key no action done ?:confused:
[Zuk Z1 Android Development] javirenart:
Please copy the lines of the terminal again

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] mahi77444477:
terminal lines

LAXMI@ishan ~

$ sh '/cygdrive/c/Users/LAXMI/AppData/Desktop/Zuk Z1 Toolkit 0.5.1 BETA [WIN] [EN]/bootloaderunlock.sh'

-----------------------------------------------------

DISCLAIMER:

YOUR ZUK Z1 WILL BE WIPED. ALL PICTURES, VIDEOS,

AND PERSONAL INFROMATION WILL BE LOST. TAKE A BACKUP

BEFORE UNLOCKING YOUR BOOTLOADER!

You are solemnly responsible for the use of this toolkit.

If your Zuk Z1 is damaged by this toolkit in any way

it is your responsibility and blame. If this is crystal clear,

write the word understood in lower case below to start.

-----------------------------------------------------

Did you understand? (Y/N):

understood

Make sure your phone is inside Android, is connected to your Mac and has

USB Debugging enabled.

Después de continuar tienes que autorizar el ordenador desde el teléfono

y pulsar la opción de autorizar siempre

On developing options you must activate OEM Unlock

Press any key to continue...
[Zuk Z1 Android Development] javirenart:
We'll solve it with team viewer
[Zuk Z1 Android Development] mahi77444477:
ok so when ??? now you free ? if yes i will give you access.....
[Zuk Z1 Android Development] javirenart:
Yes now. Answer my PM

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] mahi77444477:
can try on Mac

But on Mac where I get device driver?
[Zuk Z1 Android Development] Planet X:
That's one of the nicest things ob a Mac. On a Mac you don't need any driver to connect an android device. All you need is the android file transfer app from Google and fastboot and adb.
[Zuk Z1 Android Development] mahi77444477:
THANKS MY FRIEND VERY MUCH FOR HELPING I HAVE SUCCESFULLY INSTALL CYNOGEN 12.1 NIGHTLY ON MU ZUK Z1 ......:good::good::good::good::laugh::laugh::laugh::laugh:
[Zuk Z1 Android Development] Schrotty35:
I get this error:

We will now start the flashing procedure. Write your password to continue.

-----------------------------------------------

./commander.sh: Zeile 286: sudo: Kommando nicht gefunden.

-----------------------------------------------

Flashing your Zuk Z1 back to stock. Please wait...

-----------------------------------------------

error: cannot load '/home/schro/Desktop/cm-*/persist.img'

error: cannot load '/home/schro/Desktop/cm-*/NON-HLOS.bin'

error: cannot load '/home/schro/Desktop/cm-*/sbl1.mbn'

error: cannot load '/home/schro/Desktop/cm-*/sdi.mbn'

error: cannot load '/home/schro/Desktop/cm-*/emmc_appsboot.mbn'

error: cannot load '/home/schro/Desktop/cm-*/rpm.mbn'

error: cannot load '/home/schro/Desktop/cm-*/splash.img'

error: cannot load '/home/schro/Desktop/cm-*/tz.mbn'

error: cannot load '/home/schro/Desktop/cm-*/boot.img'

error: cannot load '/home/schro/Desktop/cm-*/recovery.img'

error: cannot load '/home/schro/Desktop/cm-*/system.img'

error: cannot load '/home/schro/Desktop/cm-*/cache.img'

error: cannot load '/home/schro/Desktop/cm-*/userdata_64G.img'

I use Windows 10 and adb is installed. On the Desktop i have this folder with all files: cm-12.1-YOG4PAS3OH-ham-signed-fastboot
[Zuk Z1 Android Development] Tengo10:
On windows there is not such command sudo, its Linux and OS X only
[Zuk Z1 Android Development] Schrotty35:
And why can i not flash and get the error?
[Zuk Z1 Android Development] javirenart:
Sorry, it's a bug of the toolkit. I will update it now.
[Zuk Z1 Android Development] javirenart:
Download the 0.5.3 version and it will work.

Make sure you have extracted the .zip file in the desktop and rename the folder 'cm-'

It should be like this: /home/schro/Desktop/cm-*/

If you want you can use the option of downloading automatically COS and installing it.
[Zuk Z1 Android Development] bluey12:
Hi [MENTION=5784275]javirenart[/MENTION], I'm interested in your tools beacuse I want to install xposed in order to fully utilise greenify...

Can you please explain more about the "Install and uninstall Xposed (You must install this before installing xposed)"? What is the tools do with it?

Because I thought that for installing xposed all I need is just root & twrp, cmiiw...
[Zuk Z1 Android Development] javirenart:
The toolkit just flashes xposed through twrp. The thing that you must install before is the apk I've put in the link. If you want you can just get the xposed file from the toolkit folder copy it to your phone and flash it with twrp. Remember to make a backup just in case.

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] bluey12:
Ok then, got it...

Thanks for the explanation...
[Zuk Z1 Android Development] tulalhyt:
done
[Zuk Z1 Android Development] AlmightyAl:
I'm using Linux (Ubuntu) and can't get this to work. I follow the sh and drag and drop instruction but I only just a page with text. No matter what I do in that page it doesn't do anything to the handset. It simply puts text on the page.

What am I doing wrong?
[Zuk Z1 Android Development] javirenart:
Can you copy and paste the text?
[Zuk Z1 Android Development] AlmightyAl:
I think it's more to do with Ubuntu being 64 bit and the scripts 32 bit. I'll try and update tomorrow.

I couldn't get anything to work through terminal because of it.
[Zuk Z1 Android Development] AlmightyAl:
UPDATE: I could not get this to run on Ubuntu 14 at all. I tried installing the 32 libs and just wouldn't work. Eventually I stopped using the "sh" prefix and simply used "bash" before dragging file into terminal and then BAM it worked!

For Ubuntu if the sh command doesn't work try bash
[Zuk Z1 Android Development] javirenart:
Thanks for the info, I'll include that in the OP
[Zuk Z1 Android Development] AlmightyAl:
Right, now I have the toolkit working, how do i set it up so that it actually does anything to the phone? I've tried when the phone is within ROM and when in fastboot but it does nothing to the phone. USB debugging is set correctly as is OEM unlock. How do I set everything up so that the terminal tool commands actions on the phone?
[Zuk Z1 Android Development] javirenart:
Try using adb commands without using the toolkit and see if they work. If they don't, install adb and fastboot to ubuntu and then try again the toolkit
[Zuk Z1 Android Development] AlmightyAl:
Thanks javirenart

The problem is with Ubuntu and NOT the toolkit. Ubuntu refuses to recognise the device in addition even with adb and fastboot installed. Very frustrating.

From what I can see the toolkit itself looks great!
[Zuk Z1 Android Development] javirenart:
Thanks! I hope you can find a solution :good: :o
[Zuk Z1 Android Development] Planet X:
---------- Post added at 06:42 PM ---------- Previous post was at 06:41 PM ----------

For to get adb and fastboot work in Ubuntu you need to add 0x2b4c to your adb_usb.ini file in .android directory of your Home directory. That made it work for my Xubuntu build host.
[Zuk Z1 Android Development] javirenart:
[MENTION=5573795]AlmightyAl[/MENTION] try that and if it works I'll add it to the instructions. Do you just have to add 0x2b4c? nothing more?
[Zuk Z1 Android Development] Planet X:
Yes, only 0x2b4c and nothing more :).
[Zuk Z1 Android Development] AlmightyAl:
Thanks Planet X

This does not work for me. I can not get any of my PCs runnuing Linux or Windows 10 to see the phone in adb. Ive downloaded all the drivers in wondows and nothing. Entered all; the codes, downloaded adb and fastboot in Ubuntu etc and nothing. Developer options on the phone are ciorrect, yet nothing.

I'm at a complete loss.....
[Zuk Z1 Android Development] Planet X:
I hope that you have the screen on when you connect it to your Computer. When you then disable ADB and reenable it in developer settings you should get a question on your Zuk to allow The Host to connect with your Pc. If you would allow your Zuk would be displayed by adb devices. I have added my adb and fastboot which I use in Ubuntu. They have to be in /usr/bin/...

I hope that will work for you. I usually use OS-X and I know it's a pain in the ass to get adb working on Linux and Windows. In OS-X you don't need any drivers to have it working.
[Zuk Z1 Android Development] AlmightyAl:
Thanks

Finally got the phone to be recognised by adb devices command. It says its offline though. And option 1 (onlock bootloader) does not work on Ubuntu (all the other options bring up a sub meny but not option 1 bootloader).....
[Zuk Z1 Android Development] javirenart:
Did you manage to make something work?
[Zuk Z1 Android Development] AlmightyAl:
Unfortunately no.

I can not get the phone recognised in adb in Windows 10 at all, and it is recognised in ubuntu but it's always offline. I've tried everything I can find online and no change.

I'm close to giving up on rooting this phone. I've spent hours trying to sort it out with no luck.
[Zuk Z1 Android Development] javirenart:
On windows 10 try adb over network, it worked well for me. And if you just need to root use kingroot

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] ClaudioIT:
[MENTION=5784275]javirenart[/MENTION] Thank you! You are amazing! :D
[Zuk Z1 Android Development] AlmightyAl:
Managed to connect over wifi! Simple in the end.

My fear now is that I've messed up - connected, ran the toolkit, selected option 1 to unlock bootloader, phone booted to fastboot, but now the phone shows fastboot mode and Cygwin wont allow me to select another option - been a good 10 minutes now with no progress. Have I ballsed up somewhere?
[Zuk Z1 Android Development] javirenart:
So now you've got problems with the fastboot drivers.. The script is waiting to detect the phone, that's why it doesn't do anything. You should try to chose the correct drivers while you're in fastboot and the phone is connected to the pc.

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] AlmightyAl:
I'm making progress - phone rebooted, wiped. I'm now trying to install TWRP. Its slow but I'll be patient.

Thanks for your help.
[Zuk Z1 Android Development] AlmightyAl:
FINALLY managed to sort something out!

Had to dig out an old laptop running Windows Vista and it worked.

HOWEVER - two issues now raised:

1. Bootloader is unlocked (I checked and verified) BUT I didnt lose any data - nothing was wiped. ....?

2. I follow all the on screen instructions, then attempt to install TWRP. Stockrecovery option is switched off in developer options, but TWRP does not install. I've tried the tool and through bash command and dragging the .sh file into Cygwin but it remains as Stock recovery.

What am I missing here?
[Zuk Z1 Android Development] AlmightyAl:
My next option is to try kingroot to root, then replace that work SuperSU, and use flashify to install TWRP.

I am concerned that the bootloader may not be unlocked though, despite it saying it is, as I did not lose any data/ phone was not wiped....
[Zuk Z1 Android Development] javirenart:
That's weird.. Try fastboot -i 0x2b4c oem device-info and if it says that it's unlocked, it's unlocked.

If fastboot works, look into the files of the toolkit and you can copy and paste the commands you need
[Zuk Z1 Android Development] AlmightyAl:
In the end I decided to root with kingroot, replace that work SuperSU, then istall TWRP through flashify.

Finally worked!
[Zuk Z1 Android Development] lior1262:
I need help I I try everything.

First I try to flask recovery I get any time failed.

I try everything to oem unluck and also in adb

Evrytime I get failed.

So I root the device and flash recovery via tool apk.

So it successfully flash but now when I try to flash any rom it started and give me red error ex4t

What to do?
[Zuk Z1 Android Development] javirenart:
I don't know which error you're talking about. Which recovery did you flash?

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] tycho.98:
Hello [MENTION=5784275]javirenart[/MENTION] and everyone here,

is there someone who knows how you can lock the bootloader of your ZUK Z1 using windows commandprompt? I'm asking this because the toolkit isn't working for me so I want to do it manually
[Zuk Z1 Android Development] javirenart:
Hi, you just have to install fastboot and type the command. You cant get it from the toolkit files or google it

EDIT: This is the command: fastboot -i 0x2b4c oem lock

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] greaves:
Hello,

I am trying to root my phone by following procedure described in the tool.

I successfully unlocked the bootloader and flashed recovery.

However, when I try to push the supersu file, I got an error due to failed signature verification.

Any idea what is the issue ?

Thx
[Zuk Z1 Android Development] javirenart:
Download supersu 2.46 zip in your device and install it manually through twrp
[Zuk Z1 Android Development] spuiqr:
Can this Toolkit unlock bootloader of ZUI? Or it's just for COS?
[Zuk Z1 Android Development] greaves:
Thx for the suggestion, but flashing manually through twrp gives the same signature error.
[Zuk Z1 Android Development] javirenart:
Which version of twrp do you have? The one that the toolkit has?
[Zuk Z1 Android Development] -Diamond-:
Hey guys.

Idk what to do. I'm waiting but nothing happens. http://www.directupload.net/file/d/4251/aapplw3y_jpg.htm

Here is a link of a picture of it. My phone is in Fastboot mode and noth, anybody got a idea?
[Zuk Z1 Android Development] greaves:
Yes I have the version that was included with the toolkit.
[Zuk Z1 Android Development] javirenart:
Can you flash anything else and see if it works?

Try supersu 2.52
[Zuk Z1 Android Development] NahumG:
What version of Twrp does the windows toolkit includes? And does it work properly?
[Zuk Z1 Android Development] NahumG:
Any answer??

Please
[Zuk Z1 Android Development] javirenart:
I'm sorry, I didn't notice the message. Next time try sending me a PM.

You can see in the changelog which version of TWRP the toolkit has. it is this one: https://www.androidfilehost.com/?fid=24337548750881307

Version 2.8.7.0 from JoaoPaulo.
[Zuk Z1 Android Development] NahumG:
Thank you very much!