yashsingh1/xdaforums huggingface dataset:
[Zuk Z1 Android Development] liver20:
Can i reboot in Recovery, and flash Signed Zip ?
[Zuk Z1 Android Development] adamo86:
Will M be released for this device
[Zuk Z1 Android Development] tmxturuu@gmail.com:
yeah i worked my way around it but its strange right! every fastboot command i described works with no issues except system.img

personally i dont like to use custom stuff on COS devices like TWRP, i prefer the stock COS recovery.
[Zuk Z1 Android Development] jmazzamj:
Are you running a recent version of fastboot?

Old ones won't flash large files....

Does anyone have the change log for the latest update?
[Zuk Z1 Android Development] tmxturuu@gmail.com:
yes i use the latest version of fastboot and adb. it erases the partition and its supposed to send and write after it but fails at sending. so i just boot the CM recovery and from there sideload the signed zip. so it takes car of this.

---------- Post added at 02:53 AM ---------- Previous post was at 02:51 AM ----------

Double tap 2 wake is working perfectly on the new YOG4PAS3AJ build. will test the earphone low volume bug later.
[Zuk Z1 Android Development] Ferenor:
I was trying to download one of the firmwares at the top of the thread (the ones from google) but I can't download, it says access denied. Is there a mirror or somewhat?
[Zuk Z1 Android Development] MKKLR21:
Does the method described in OP work with ADB sideload option in TWRP? I don't want to download both ...signed.zip and ...fastboot.zip.
[Zuk Z1 Android Development] radii:
it doesn't
[Zuk Z1 Android Development] radii:
Hi guys/gals,

I note it appears all the links are down (except the very latest ota). Breadcrust is onto Cyanogen to find out what is happening.

Latest OTA links added to spreadsheet
[Zuk Z1 Android Development] vittogn:
Thanks a lot [MENTION=342572]radii[/MENTION] for maintaining the list.

Thanks also to [MENTION=5606552]Breadcrust[/MENTION] for all the work.

Just for my understanding.

The 740/50MB zips can be considered as factory images rather than OTA incremental updates. Can you confirm?

If we are not rooted

, we can simply flash cm-12.1-YOG4PAS3AJ-ham-signed.zip via stock CM recovery. Can you confirm? Does CM recovery support dirty flash (no wipe)?

If we are rooted + custom recovery

(most of us I guess, CM device with no root???) we need:

1- flash via ADB cm-12.1-YOG4PAS3AJ-ham-signed-fastboot.zip to get to CM stock recovery

2- flash cm-12.1-YOG4PAS3AJ-ham-signed.zip via stock CM recovery

3- flash Breadcrust TWPR via ADB

4- flash supersu via Breadcrust TWPR

Thanks.

I look forward to get the device, but modding/updating looks to be a bit more difficult than expected (see e.g. OPO)!!
[Zuk Z1 Android Development] radii:
Yes these are full factory images

You can use the specific 40-50mb ota files to update via CyanogenOS recovery if not rooted without wiping

Extract CyanogenOS recovery from the fastboot zip

Flash Cyanogen OS recovery using TWRP

Using the signed image flash the latest signed zip CyanogenOS (740-750mb files) using either ADB or update from local storage (it is a dirty flash)

Then reroot and install TWRP
[Zuk Z1 Android Development] vittogn:
Thanks [MENTION=342572]radii[/MENTION].

It's now clear also reading again OP.

Can you please explain me how I can obtain a flash of COS without wipe (dirty flash).

In my experience flash of the full image (even if dirty) is better than incremental OTA. I'm asking as I'd like to avoid setting up everything from scratch for each single update.

Thanks a million.
[Zuk Z1 Android Development] radii:
Hi the instructions I gave was for dirty flashing. If you want to wipe you can select wipe from COS recovery.

After every update you will have to re root and re install TWRP....so far.
[Zuk Z1 Android Development] vittogn:
Ahn OK.

So with CM Recovery installed back you can flash cm-12.1-YOG4PAS3AJ-ham-signed.zip from local storage with no wipe, like you do with TWRP.

I've never used stock CM recovery.

Great.

Thanks [MENTION=342572]radii[/MENTION].
[Zuk Z1 Android Development] Breadcrust:
Yes, then this will re-install Cyanogen OS Recovery. To re-install TWRP and Root you need to re-flash the TWRP img.
[Zuk Z1 Android Development] vittogn:
Thanks a lot [MENTION=5606552]Breadcrust[/MENTION].

Do you think it is possible to pursue of having a pre-rooted full image to be flashed via TWRP (without having everytime Cyanogen OS Recovery flashed over TWRP)?

Thanks for the work you are doing.

Look forward to having the Z1 in my hands!
[Zuk Z1 Android Development] Breadcrust:
I'm working a lot at the moment, however it is currently in the pipeline for a system image with a TWRP recovery partition.
[Zuk Z1 Android Development] vittogn:
Fantastic, it will be great! Don't forget to add root as well!!
[Zuk Z1 Android Development] Breadcrust:
We'll see ;)
[Zuk Z1 Android Development] Breadcrust:
I will see what I can do, just sat down to start.
[Zuk Z1 Android Development] xdakewie:
hi there!

i was able to follow everything you instructed with no problem, and the Z1 running the latest version 12.1-YOG4PAS3AJ,

however, in Developer Options, i couldn't switch Unlock Bootloader on; it asks for a PIN which of course i know nothing about.

i then tried to install TWRP as you described.

i entered fastboot mode by first powering off the Z1, then holding down the whole volume key & connect it to the desktop. this time, instead of the linux penguin, the Z1 screen says Cyanogen Fastboot mode. i tried flashing the recovery images as follows:

fastboot -i 0x2b4c flash recovery z1.twrp.recovery.img
​

but nothing happens after what appears a successful flash. the phone still shows the Cyanogen Fastboot mode screen. i waited a good 5 mins or more before turning the phone off. but upon restart TWRP still not installed, still Cyanogen recovery!

i've also tried

(1) just flashing z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img &

(2) flashing z1.twrp.recovery.img then UPDATE2.img in succession

, but both ended in failure (to install TWRP)

i'd appreciate your advice on what i've done wrong, thanks!

p.s. also tried to flash UPDATE-SuperSU-v2.46.zip from internal storage using Cyanogen recovery, but it failed too saying something like couldn't verify the signature of the file...

typing the command fastboot -i 0x2b4c oem device-info shows:

(bootloader) Device tampered: false

(bootloader) Device unlocked: true

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

OKAY [ 0.029s]​
[Zuk Z1 Android Development] MKKLR21:
You should only boot into TWRP by launching

fastboot -i 0x2b4c boot z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img
[Zuk Z1 Android Development] Breadcrust:
fastboot -i 0x2b4c flash recovery "filename".img
[Zuk Z1 Android Development] xdakewie:
thanks for your advice.

i powered off my phone, pressed down on the on the volume key while connecting it to the desktop, phone shows "Cyanogen Fastboot Mode", i then executed your command, but nothing happens on the phone -- still showing the "Cyanogen Fastboot Mode" screen; no reboot, no nothing.

F:\Android\Z1\root>fastboot -i 0x2b4c boot z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img

downloading 'boot.img'...

OKAY [ 0.283s]

booting...

OKAY [ 0.019s]

finished. total time: 0.314s

F:\Android\Z1\root>

if i manually press the power button, the phone will restart.

after restart, i could see in Developer Options that (1) OEM unlocking still switched OFF, (2) Update Cyanogen recovery remained OFF

rebooting into recovery put me in Cyanogen Recovery, so TWRP was not installed :/

---------- Post added at 07:22 PM ---------- Previous post was at 07:17 PM ----------

yes, that was exactly what i did.

i copied your line of command and substituted "filename" with your latest TWRP file, so...

F:\Android\Z1\root>fastboot -i 0x2b4c flash recovery z1.twrp.2.8.7.0.By.Breadcru

st-UPDATE2.img

target reported max download size of 1610612736 bytes

sending 'recovery' (8686 KB)...

OKAY [ 0.280s]

writing 'recovery'...

OKAY [ 0.132s]

finished. total time: 0.424s​

but the phone still shows the Cyanogen Fastboot Mode screen, and nothing happened....
[Zuk Z1 Android Development] Breadcrust:
fastboot reboot

Then go into developer options in the os enable advanced reboot and then hold the power button>reboot>recovery
[Zuk Z1 Android Development] xdakewie:
tried that. nothing happens on the phone while the desktop command window says. <waiting for device>... (i never disconnected the USB at all)

so, i pressed the power switch, the phone reboots... after reboot, reboot into recovery like you suggested, but it is still Cyanogen Recovery!!

it seems by following your first step (flashing the recovery.img) made Cyanogen recovery took over from the default recovery (the linux penguin screen), but now Cyanogen will not relinquish its control!! :eek:

despite what appeared to have been a successful flashing of the TWRP image...

F:\Android\Z1\root>fastboot -i 0x2b4c flash recovery z1.twrp.2.8.7.0.By.Breadcrust-UPDATE2.img

target reported max download size of 1610612736 bytes

sending 'recovery' (8686 KB)...

OKAY [ 0.280s]

writing 'recovery'...

OKAY [ 0.132s]

finished. total time: 0.424s​
[Zuk Z1 Android Development] Breadcrust:
[MENTION=342572]radii[/MENTION] any input? (Radii helped me work on this)
[Zuk Z1 Android Development] xdakewie:
i really appreciate you all for trying to help.

i restarted my Windows, powered off my Z1, then tried again.

this is what the command window shows (which is not any different from before)

F:\Android\Z1\root>fastboot -i 0x2b4c oem device-info

...

(bootloader) Device tampered: false

(bootloader) Device unlocked: true

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

OKAY [ 0.013s]

finished. total time: 0.014s

F:\Android\Z1\root>fastboot -i 0x2b4c flash recovery z1.twrp.2.8.7.0.By.Breadcru

st-UPDATE2.img

target reported max download size of 1610612736 bytes

sending 'recovery' (8686 KB)...

OKAY [ 0.281s]

writing 'recovery'...

OKAY [ 0.128s]

finished. total time: 0.416s

F:\Android\Z1\root>​

again, despite all the fastboot commands seemingly carried out without errors, the phone just sits there with its Cyanogen Fastboot Mode screen and nothing happens...
[Zuk Z1 Android Development] MKKLR21:
I also had no success in flashing TWRP, but booting into it as a tethered temporary solution always works. You'll have to wait some seconds. The device will boot to TWRP without pressing a button.
[Zuk Z1 Android Development] Breadcrust:
Do you have the Chinese or international variant? If its Chinese can you wait like twenty minutes as me and [MENTION=5986135]TheCrazyLex[/MENTION] are building a international version
[Zuk Z1 Android Development] TheCrazyLex:
I don't believe this ia the reason for it to fail, because the international/chinese variant issue only affects zip flashing.

I think the issue here is that you have to do fastboot reboot and IMMEDIATELY enter recovery, otherwise the system will just remove it.
[Zuk Z1 Android Development] xdakewie:
strange that you mentioned that....

i ordered from www.zukmobile.cc on 26/10, but they didn't deliver it until 2 days ago.

although their website says it's the International version with Cyanogen OS, I discovered to my horror it was an English version of ZUI!

following your instructions, obviously there were no problem converting it from ZUI to COS, as my About Phone reads:

Device model	Z1

Cyanogen OS version	12.1-YOG4PAS3AJ

Android version	5.1.1

Android security patch level	2015-11-01

Baseband version	.4.0.1.c1-00175-M8974AAAAANAZM-1

Kernel version	3.4.0-cyanogenmod-gef06bf8

build04@cyanogenmod #1

Wed Oct 14 12:58:29 PDT 2015

Build date	Wed Oct 14 12:55:22 PDT 2015

Build number	LMY48B

SELinux status	Enforcing​

but attempts to install TWRP and to root it has so far failed :(

and, yes, of course i'll wait!

i'll wait for you at the World's End like Simon Pegg did ;)

---------- Post added at 08:19 PM ---------- Previous post was at 08:13 PM ----------

thanks for your input, but i don't know how to boot into it as a tethered temporary solution.

well, i created a batch file with these two lines:

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

fastboot reboot
​

the flashing produced no errors as before, and the reboot command immediately followed it; however, nothing happened on the phone, while the Windows command window says <waiting for device>, again as before...

thanks anyway!
[Zuk Z1 Android Development] TheCrazyLex:
You have to hold the needed keys to reboot to recovery, so it goes there immediately. Did you do that?
[Zuk Z1 Android Development] xdakewie:
i used the Advanced Power Menu in cos to boot into recovery.

do you mean - after flashing - i immediately press the hardware keys to go into recovery? (whole vol button + power?)

---------- Post added at 08:50 PM ---------- Previous post was at 08:33 PM ----------

TheCrazyLex YOU HAVE SOLVED IT!

after flashing, i

immediately

pressed down the power switch on the Z1, when i felt the phone vibrated i also pressed down on both vol+ and vol- as well, keeping all 3 buttons depressed, and finally TWRP came up

its screen says...

TWRP has detected an unmodified system partition.

TWRP can leave your system partition unmodified to make it easier for you to take official updates.

TWRP will be unable to prevent he stock ROM from replacing TWRP and will not offer to root your device.

Installing zips or performing adb operations may still modify the system partitiion.​

and there is a button "Keep Read Only" and underneath it "Swipe to allow Modifications"

of course i swiped!!

then inside TWRP i browsed for & installed UPDATE-SuperSU-v2.46.zip, and now i am ROOTED!!

THANK YOU EVERYONE FOR YOUR HELP!

HOPE YOU WILL ALL WIN THE LOTTERY PRETTY SOON!! :laugh::laugh:
[Zuk Z1 Android Development] TheCrazyLex:
Yes, if you let cyanogen boot it blocks the recovery.

If you let the recovery boot first it patches cyanogen not to block it.

So try with immediately pressing the hardware keys.

Alex

---------- Post added at 12:52 ---------- Previous post was at 12:50 ----------

No problem, I always like to help :)
[Zuk Z1 Android Development] xdakewie:
lesson noted! :good:

flashing the Cyanogen recovery.img didn't require this step so, it was not for you & [MENTION=5606552]Breadcrust[/MENTION] & all the others, i would not have thought about it!

thanks again! :laugh::laugh:
[Zuk Z1 Android Development] Breadcrust:
Glad you fixed it :D At least I know it wasn't something I did ;)
[Zuk Z1 Android Development] javirenart:
I see in jira there is a new update.. 12.1-YOG4PAS3OH

Does anybody know anything about it?
[Zuk Z1 Android Development] radii:
just seen ota, needs links and can then update the spreadsheet
[Zuk Z1 Android Development] javirenart:
You can find them in htcmania. I will send you the link when i can

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Android Development] radii:
thanks spreadsheet updated
[Zuk Z1 Android Development] Breadcrust:
Radii this Google Play Services bug you reported to me on Hangouts is it just for you because it was still present when back dating the version I am on. Also is double tap to wake working again on the new build because it seems to not be working on my ROM again it seems to be intermittent.
[Zuk Z1 Android Development] radii:
Hi. Its a google play services issue rather than a ZUK issue. Its affecting those on 1+1 devices too.

Double tap to wake is working for me....maybe others will chime in?
[Zuk Z1 Android Development] vittogn:
Official CyanogenMod 12.1 Nightlies Available for the ZUK Z1

Here we go!!

Do you think that when we'll have a snapshot it will be as stable as CyanogenOS (with all the benefit of root, flash.........)?
[Zuk Z1 Android Development] vittogn:
I flashed the latest image via stock recovery. I don't see a lot of settings (e.g. customisation of notification bar) and under buttons I only have few options.

Do I have to enable it somewhere?

Thanks.

Inviato dal mio D6603 utilizzando Tapatalk
[Zuk Z1 Android Development] secXces_debaki:
Settings - about phone - advanced mode

The thing under system update. ^^
[Zuk Z1 Android Development] vittogn:
Super thanks. Why the hell it is disabled by default? [emoji35] [emoji35]

Inviato dal mio D6603 utilizzando Tapatalk
[Zuk Z1 Android Development] secXces_debaki:
Ask that cyanogen x)
[Zuk Z1 Android Development] Kontex:
You should be able to switch this off: Options --> Development Options --> CM-Recovery update (Updates Recovery during system updates) --> off [default is on]
[Zuk Z1 Android Development] yacbos:
hum, my carrier sees the Zuk as a sony z1 and now i see this signature stating D6603 which i presume it was sent using a zuk as well , any idea why that happens ?
[Zuk Z1 Android Development] vittogn:
Interesting. No idea but I guess it is an issue of Tapatalk!

Inviato dal mio Z1 utilizzando Tapatalk

EDIT: It works now. I guess I actually sent that message using my prevoius phone (Xperia Z3) while setting the Z1 up!
[Zuk Z1 Android Development] Byte_Me:
My phone is rooted (with kingroot), and the bootloader is unlocked. I boot to bootloader, and run the fastboot command, phone boots to recovery. I have the correct ROM in the same folder as adb.

The command: adb sideload cm-12.1-YOG4PAS38J-ham-signed.zip

results in: error: protocol fault (no status)

What should I do?

Nevermind, I reinstalled adb & fastboot, and ran them in an administrator prompt, now it's working.

Next hurdle: TWRP doesnt install. I don't get an error message, in fastboot everything looks ok,:

Sending recovery... OKAY

Writing recovery... OKAY

finished

But then when I boot to recovery I end up in cyanogen recovery.
[Zuk Z1 Android Development] landov:
Just find out info from Czech server about launching stable CM 13: http://smartmania.cz/vysel-stabilni...a-androidu-6-0-ke-stazeni-je-pro-39-zarizeni/
[Zuk Z1 Android Development] yacbos:
haha despite tapatalk, my cell carrier as well and google store sees my phone as the z1
[Zuk Z1 Android Development] sherlok81:
Why this workaround?

I am not sure why one needs to flash the stock recovery, then the update and then TWRP again? I tried CM 13 S2 but wasn't very happy. So, flashed back the YOG4PAS7DF version of the stock ROM (downloaded from the Cyanogen site itself) using TWRP (latest / official release) and it worked just fine. After flashing, the TWRP recovery remained intact. If a new version is out, I could just flash the new *.zip from TWRP itself, no? I assume it will just work fine. :rolleyes:
[Zuk Z1 Android Development] xaboren:
Hey guys,

I just got an option to install a new OTA called 12.1-YOG4PAS9IG, but I can't find it anywhere on the device. Does somebody know where the update.zip is located? Would love to contribute, but just can't find it...

It's not on the internal storage and not in the cache folder.
[Zuk Z1 Android Development] headsh0t95:
Update details for new version

Version: 12.1-YOG4PAS9IG

"This maintenance release provides bug fixes and critical security updates for your device."

Download URL: builds.cyngn.com/incremental/ham/cm-ham-4514d763bc-to-8667eb9a19-signed.zip

File size: 256 MB

MD5 checksum: 8a204bd707223e74cee78122eca78645

Rollout stats page: fota.cyngn.com/api/v1/update/find?model=ham&type=STABLE&incremental=4514d763bc&device_id=696a3b09692623c89d60cedf74322f1c
[Zuk Z1 Android Development] zombiezoom:
You have to boot to recovery without restarting the phone. When you finish flashing TWRP, remove your cable and press the power button for a long time and it will turn off. Now hold vol+, vol- and power button. That's it ^^
[Zuk Z1 Android Development] Byte_Me:
Thanks! The problem was already solved by using flashify if I remember correctly, but now I know for future purposes.
[Zuk Z1 Android Development] konrad496:
Any idea what's the issue here? I'm unable to flash the update due to error 7
[Zuk Z1 Android Development] repsol89:
You can't flash official OTA with TWRP recovery, you need stock recovery.
[Zuk Z1 Android Development] konrad496:
Ok, I'll go back to stock recovery and see if it helps. Thanks!
[Zuk Z1 Android Development] konrad496:
Had to do clean install but in the end system updated successfully. Will report if I come across any bugs. So far all working good, fast and stable.
[Zuk Z1 Android Development] Manuel1986:
Can someone make a flashable zip for TWRP?That would be so great!
[Zuk Z1 Android Development] BanditCeed:
...would be great...
[Zuk Z1 Android Development] mboudzy:
Hi . what do you mean by stock recovery??
[Zuk Z1 Android Development] konrad496:
Hi, I mean original cm recovery and not twrp
[Zuk Z1 Android Development] lupotto301:
I have not yet received this update, how many of you have done and if you did you might say, how are you? thank you
[Zuk Z1 Android Development] konrad496:
You don't have to wait for OTA update, you can flash it manually. You can get the latest incremental update zip for ZUK Z1 (12.1-YOG4PAS9IG) at

builds.cyngn.com/incremental/ham/cm-ham-4514d763bc-to-8667eb9a19-signed.zip
[Zuk Z1 Android Development] mboudzy:
hi thanks for your reply . i sucseed to flash the original recovery with the " tool kit z1 ". I am on cm-12.1-YOG4PAS7DF-ham-rooted and i can not do the update he stop

install failed

e: failed to install / sideloadpackage.zip

e; please take note of all the above lines for report
[Zuk Z1 Android Development] konrad496:
Maybe try flashing it with All in one tool, go back to stock and flash the update with stock recovery. Worked for me:

https://forums.oneplus.net/threads/...ock-twrp-factory-image-stock-recovery.442040/
[Zuk Z1 Android Development] mboudzy:
Thanks men [emoji1] . now works perfectly i had to flash stock frimware and do the update.

Hope he is stable i had to root it know [emoji6]
[Zuk Z1 Android Development] lupotto301:
I know that you can make the update manually, I wanted more than anything else to ask those who have already done if he had found some problems (like that of the gyroscope so to speak!)
[Zuk Z1 Android Development] awarapan:
tell me have 2 manually flash
[Zuk Z1 Android Development] awarapan:
Thanxs bro I new it but its new update na
[Zuk Z1 Android Development] konrad496:
I see what you mean. Yes, it's not available via All in one but you can get it separately from builds.cyngn.com/incremental/ham/cm-ham-4514d763bc-to-8667eb9a19-signed.zip
[Zuk Z1 Android Development] bukubapi:
Dear All,

I see the latest update, when I go to the system update on my Zuk Z1.

Can anybody update on their experience after installing the update, has it fixed existing bugs, or created new :)

Or we can be happy with whatever we have, currently.
[Zuk Z1 Android Development] lupotto301:
I honestly did not bug than that of the double twist that I still have. Otherwise all OK I have not noticed improvements in the already excellent battery of his short, you should do it if only for the security patches.
[Zuk Z1 Android Development] mcatalin:
can't update to YOG4PAS91G

Hello!

I can't update to YOG4PAS91G!

This is the error:

Package expects build fingerprint of zuk/ham/Z1:5.1.1/LMY49/YOG4PAS7DF:user/release-keys or ZUK/ham/Z1:5.1.1/LMY49J/YO4PAS91G:user/release-keys; this device has zuk/ham/Z1:5.1.1 LMY48B/YOG4PAS30H:user/release-keys

E: Failed to install /sideload/package.zip

Note that I had TWRP and use All in one tool, go back to stock and the error was when I want to flash the update cm-ham-4514d763bc-to-8667eb9a19-signed.zip with stock recovery

My curent version is LMY49H with 12.1-YOG4PAS7DF

Where I'm wrong? Thank you in advance for any suggestions...
[Zuk Z1 Android Development] kannan96:
same for me too

---------- Post added at 03:11 PM ---------- Previous post was at 02:50 PM ----------

link for the stock pls