today I’d like to show you how to upgrade your Z2 from 5.1.1 Lollipop to the latest 6.0.1 Marshmallow + TWRP + (optional)Xposed Framework without loosing any data on devices with a locked BL.
First of all I’d like to thank those people for their work:
@adop40 for the overall idea
@serajr for making the Marshmallow TWRP that works with locked Bootloader
@Victor91rus for uploading the .570 firmware I used to make the flashable .zip
1. A Z2 phone running the latest Lollipop + Root + [NUT]’s Dual Recovery (If you don’t have root, search for kingroot and root your device, after that install [NUT]’s Dual Recovery)
2. Download my Marshmallow Package with the required files here: DOWNLOAD [MEGA]
3. Make a backup of your device
4. Install latest adb drivers and enable USB Debugging + Unknown Sources
5. IF you have Xposed Framworked installed on Lollipop download the uninstaller from HERE
choose xposed-uninstaller-********-arm.zip
1. Extract the zip files (flashable.zip, byeselinux_flashable.zip, RICDefeat.zip) from the marshmallow.zip onto your SD Card and copy the Recovery Folder (Z2_MM_TWRP) to your Desktop + IF you have the Xposed Framework installed copy the xposed-uninstaller-********-arm.zip also to your sd card
2. Boot your phone into Recovery Mode and flash the zip files in this order: (xposed-uninstaller-********-arm.zip) => flashable.zip => byeselinux_flashable.zip => RICDefeat.zip NO FACTORY RESET NEEDED
3. Clear Dalvik Cache and Reboot (First boot may take a while because we cleaned the Dalvik-Cache)
4. After the reboot connect your phone to the PC and run the install.bat from the Z2_MM_Recovery folder (Accept any prompt popping up on your phone)
5. Phone will reboot into recovery when successfull then you’re done
Xposed Framework for Marshmallow will follow in the evening I have no time to add that right now;)
If you have any questions just message me I’ll try to keep the thread updated :good: