• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE] Update firmware with locked/unlocked bootloader & root (14.3.A.0.761)

Search This thread

zxz0O0

Senior Member
Apr 18, 2011
1,533
5,162
Note: This thread is old. Currently you can just update the firmware and then root again using Easy Root Tool

This is a guide on how to update the Z1 Compact to any firmware without losing root on locked bootloader. For unlocked bootloader, please see post #3 ( http://forum.xda-developers.com/showpost.php?p=51254652&postcount=3 )

Requirements
Latest flashtool ( http://www.flashtool.net )
Rooted Z1 Compact (check here for how to root: http://forum.xda-developers.com/showthread.php?t=2642081 )
D5503_14.X.A.X.XXX_Generic_XX-nosystem.ftf from 'Firmwares' below
z1c-44-14.X.A.X.XXX-XX.system.flashable.zip from 'Firmwares' below
SuperSU ( http://download.chainfire.eu/supersu )
Latest Z1C-lockeddualrecovery(...).flashable.zip ( http://nut.xperia-files.com/ ) (atleast v2.7.117)

Firmwares
Here you can find some prepared firmwares. Note: Do not mix files from different firmwares!

Jelly Bean (4.3)

KitKat (4.4)

Tutorial
You will not lose any data. It is still recommend to take a backup.
  1. Copy D5503_14.X.A.X.XXX_Generic_XX-nosystem.ftf to your flashtool installation in the folder firmwares/
  2. Put z1c-44-14.X.A.X.XXX-XX.system.flashable.zip on your sdcard (do not unpack)
  3. Put Z1C-lockeddualrecovery(...).flashable.zip on your sdcard (do not unpack)
  4. Download SuperSU and put on your SD card (do not unpack)
  5. Go to the recovery menu and try flashing SuperSU. If it succeeds, proceed. Otherwise change recovery menu (TWRP is Volume DOWN)
  6. In the recovery menu format /system (located under Mounts & Storage) (do not reboot!)
  7. Install the following files in recovery (in this order)
    1. z1c-44-14.X.A.X.XXX-XX.system.flashable.zip
    2. Z1C-lockeddualrecovery(...).flashable.zip
    3. SuperSU zip file
  8. After installing go to Advanced => Power off (Power off might also be located under Power Options, depending on the recovery you use)
  9. Boot your phone in flashmode (Hold volume down while phone is off and plug in your USB cable)
  10. Open flashtool and flash D5503_14.X.A.X.XXX_Generic_XX-nosystem.ftf (select Wipe [Uncheck Data] and Exclude [Uncheck ALL])
  11. You're done!

Hashes
  • D5503_14.2.A.1.114_Generic UK-nosystem.ftf
    • MD5: 47005E1E16B340A90B958919122F89AA
    • SHA1: 252C905F1F0213D809925BC32A955E421FE4C3E6
  • z1c-43-uk.system.flashable.zip
    • MD5: 6221178B6809EA943A0AB5654A9D6A2D
    • SHA1: 8B9BEAB4846927DED38018B93C56993BD017BFB8
  • D5503_14.3.A.0.681_Generic_UK-nosystem.ftf
    • MD5: 5D1BDD44DF531280984B60E810A87FFA
    • SHA1: 5ADE48599414BE47A0A7DD1BCB37C0F5518F7CCB
  • z1c-44-uk.system.flashable.zip
    • MD5: 148BDD3BEAEDE850CAF085ED82518FF9
    • SHA1: FB594821FBEA030657CA5D048DE2593194F18DF8
  • D5503_14.3.A.0.757_GenericDE-nosystem.ftf
    • MD5: D720CD278E0DB88F49FA22CBBE441720
    • SHA1: 3F4C47B841BD24511C30BB0E44030872BD93921A
  • z1c-44-14.3.A.0.757-DE.system.flashable.zip
    • MD5: 38FA3162C725B0E357FD8CDE1AA8CDE8
    • SHA1: F898DC9580D84D541C622307439B45A607A0A7A5
  • D5503_14.3.A.0.757_GenericNO-nosystem.ftf
    • MD5: 3E76A9E4DFE4BD6D2CE05DBBC0B09CB8
    • SHA1: 44EFFED69E881B08FF6F3AEEF0EDBE69C59187DC
  • z1c-44-14.3.A.0.757-NO.system.flashable.zip
    • MD5: A6B54DF73E5E0038152EC2AFFE4E7067
    • SHA1: DF6F497987D44F43ABF49C4BB98ECC49058F97C6
  • D5503_14.3.A.0.757_Generic_UK-nosystem.ftf
    • MD5: 915E348841834816216F4EFE6BB85D29
    • SHA1: 28EBCA4A3218E45C1C7B00C6DE494052A004DA0B
  • z1c-44-14.3.A.0.757-UK.system.flashable.zip
    • MD5: 9A8089751D964312E255ABC507AD1C90
    • SHA1: 2FC34DB65EA087C0D824502FE1E801027461EC49
  • D5503_14.3.A.0.761_GenericNO-nosystem.ftf
    • MD5: 3DD5723B43F834ED55E65A9B8DCCB0D2
    • SHA1: 84848D4C1ABBD4C2729E3BBCE0706A25379717F8
  • z1c-44-14.3.A.0.761-NO.system.flashable.zip
    • MD5: 771B257718FCE8CBE8E3EAE6F29B0765
    • SHA1: C737EEE5D1DB28F8F918A126A18EDCA7FAF8E5AF

Questions
  • I get an error in flashtool: "Cannot open bundle. Flash operation canceled"
    • You need the latest flashtool.
  • I am from Country XY but there is no firmware for my country? :crying:
    • It doesn't really matter what localization you use. The firmwares are almost the same. Your language will still be available.
  • Are these roms deodexed?
    • No. All roms are odexed.
  • I can't access recovery menu, when I boot my phone the light is orange, not green?
    • Somehow you lost your recovery menu. If your bootloader is locked you need to start again from the beginning of the rooting guide.
  • I have another error, which is not in this list!
    • Post it in the thread but note for successful help you need to provide the following:
      • dualrecovery version used
      • flashable system zip used
      • ftf no-system used

Proof
Confirmed working by pcpepik, Boes40 ( http://forum.xda-developers.com/showpost.php?p=51476157&postcount=156 ), tommy17 ( http://forum.xda-developers.com/showpost.php?p=51384084&postcount=125 ), mikk_11 ( http://forum.xda-developers.com/showpost.php?p=51341824&postcount=105 ) and many more on locked bootloader :highfive:

attachment.php

Credits
  • Darkimmortal
  • [NUT]
  • pcpepik
 
Last edited:

rickywk

Member
Feb 6, 2008
29
5
Hello,

Seems missing the download path of "Z1C-lockeddualrecovery(...)flashable.zip" and is it also copy to SD card?:confused:
 

zxz0O0

Senior Member
Apr 18, 2011
1,533
5,162
Unlocked bootloader

Requirements
Latest flashtool ( http://www.flashtool.net )
fastboot and flashmode drivers installed
Z1 Compact with unlocked bootloader
ftf of firmware (check here http://forum.xda-developers.com/showthread.php?t=2631291 or general section for official firmwares)
SuperSU ( http://download.chainfire.eu/supersu )
Custom kernel with recovery (e.g. dualrecovery kernel or http://forum.xda-developers.com/showthread.php?t=2620794 )
Note: Kernel needs to be for the specific firmware version (dualrecovery kernel is only for latest firmware)

Tutorial
You will not lose any data. It is still recommend to take a backup.
  1. Copy the firmware ftf to your flashtool installation in the folder firmwares/
  2. Download SuperSU and put on your SD card (do not unpack)
  3. Boot your phone in flashmode (Hold volume down while phone is off and plug in your USB cable)
  4. Open flashtool and flash your ftf (select Wipe [Uncheck Data] and Exclude [Uncheck ALL])
  5. After flashing, boot your phone in fastboot mode (Hold volume up while phone is off and plug in your USB cable)
  6. Download a custom kernel and unzip until you have a file called *.img
  7. Put the custom kernel inside the folder of flashtool called x10flasher_lib/
  8. Open cmd and navigate to this folder (e.g. cd C:\flashtool\x10flasher_lib)
  9. Execute the following command to flash the custom kernel (boot.img is the filename of the kernel, change if needed)
    fastboot.exe flash boot boot.img
  10. Boot your phone and go to the recovery menu
    Note: This is different in some kernels, default is to hold volume up when the led lights up
  11. Optional: If you are using dualrecovery kernel, flash the kernel flashable zip
  12. Flash SuperSU zip
  13. You're done!
 
Last edited:

KL643

Senior Member
May 28, 2009
419
127
@40000ft
Confused about point 5 : Install Z1C-lockeddualrecovery(...)flashable.zip

and warning post 1 : Do not try to flash the dualrecovery, you will end up stuck at boot logo!

So what to install on point 5?
 
  • Like
Reactions: zxz0O0

KL643

Senior Member
May 28, 2009
419
127
@40000ft
what to do with error in flashmode :Cannot open bundle. Flash operation canceled

and point 5 should be power options, not advance
 

KL643

Senior Member
May 28, 2009
419
127
@40000ft
Downloading the latest flashtool now...Don't know which recovery, can't check at the moment cause i'm in bootloop :) but it's from this thread http://forum.xda-developers.com/showthread.php?t=2634196


Edit: Flashed with latest flashtool and suceeded, KitKat installed.

Edit 2 : When opening SuperSU, it needs to update binaries, I have to choose normal cause there's no recovery. Says installing but nothing happens (rebooted elready and tried again).
 
Last edited:

papzi57

Senior Member
Feb 28, 2013
615
56
pécs
Downloading the latest flashtool now...Don't know which recovery, can't check at the moment cause i'm in bootloop :) but it's from this thread http://forum.xda-developers.com/showthread.php?t=2634196


Edit: Flashed with latest flashtool and suceeded, KitKat installed.

Edit 2 : When opening SuperSU, it needs to update binaries, I have to choose normal cause there's no recovery. Says installing but nothing happens (rebooted elready and tried again).

Same!
I have rooted Z1c with Android 4.4!
Hurry!
But supersu can't update. Some app can't rooted (eg. Greenify), Es explorer can't mount system r/w...
 
Last edited:

zxz0O0

Senior Member
Apr 18, 2011
1,533
5,162
Downloading the latest flashtool now...Don't know which recovery, can't check at the moment cause i'm in bootloop :) but it's from this thread http://forum.xda-developers.com/showthread.php?t=2634196


Edit: Flashed with latest flashtool and suceeded, KitKat installed.

Edit 2 : When opening SuperSU, it needs to update binaries, I have to choose normal cause there's no recovery. Says installing but nothing happens (rebooted elready and tried again).

Root should still work. But to fix the problem, try this.

Download SuperSU from here: ( http://download.chainfire.eu/supersu )
Copy the file su from the folder arm to somewhere on your phone. (e.g. /tmp)
Give correct permissions (755)
Then copy it to /system/xbin and overwrite the old one.

Please let me know if it worked.
 
Last edited:

papzi57

Senior Member
Feb 28, 2013
615
56
pécs
Downloading the latest flashtool now...Don't know which recovery, can't check at the moment cause i'm in bootloop :) but it's from this thread http://forum.xda-developers.com/showthread.php?t=2634196


Edit: Flashed with latest flashtool and suceeded, KitKat installed.

Edit 2 : When opening SuperSU, it needs to update binaries, I have to choose normal cause there's no recovery. Says installing but nothing happens (rebooted elready and tried again).
Could we update SuperSu from Play?
Or how can we solved: We have root, but we have an not working supersu...
 

KL643

Senior Member
May 28, 2009
419
127
@40000ft
Problem is I can't copy the file with rootexplorer. First time RE opens it asks for root, press yes of course but it looks it doesn't get root.
 
Last edited:

zxz0O0

Senior Member
Apr 18, 2011
1,533
5,162
Problem is I can't copy the file with rootexplorer. First time RE opens it asks for root, press yes of course but it looks it doesn't get root.

What is the error message? And have you tried with adb?
And can you check if your system flashable zip has the same hash as in the first post?
 

KL643

Senior Member
May 28, 2009
419
127
@40000ft
With Root Explorer, first mesage is :The current file sytem is r only. Do you want to remount as r-write and continue the operation, / yes / su already exists. Do you want to overwrite it? / yes / Copy failed su to /system/xbin

Haven't tried with adb, how please?

How to check the hash?

thanks
 

papzi57

Senior Member
Feb 28, 2013
615
56
pécs
What is the error message? And have you tried with adb?
And can you check if your system flashable zip has the same hash as in the first post?

After run esexplorer and granted supersu: 1. screenshot
After run supersu: 2.
After update normal (we don't have CWM...): 3.
Root checker: 4.
Supersu: 5.

All working except supersu...
 

Attachments

  • Screenshot_2014-03-21-12-14-31.png
    Screenshot_2014-03-21-12-14-31.png
    153.7 KB · Views: 399
  • Screenshot_2014-03-21-12-15-00.png
    Screenshot_2014-03-21-12-15-00.png
    140.9 KB · Views: 379
  • Screenshot_2014-03-21-12-15-33.png
    Screenshot_2014-03-21-12-15-33.png
    144.5 KB · Views: 374
  • Screenshot_2014-03-21-12-17-52.png
    Screenshot_2014-03-21-12-17-52.png
    96.1 KB · Views: 371
  • Screenshot_2014-03-21-12-17-15.jpg
    Screenshot_2014-03-21-12-17-15.jpg
    66 KB · Views: 360

zxz0O0

Senior Member
Apr 18, 2011
1,533
5,162
With Root Explorer, first mesage is :The current file sytem is r only. Do you want to remount as r-write and continue the operation, / yes / su already exists. Do you want to overwrite it? / yes / Copy failed su to /system/xbin

Haven't tried with adb, how please?

How to check the hash?

thanks
Copy the new su binary to /tmp then do

adb shell
su
chown root:root /tmp/su
chmod 755 /tmp/su
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system
cp /system/xbin/su /system/xbin/su.old
mv /tmp/su /system/xbin/su

After run esexplorer and granted supersu: 1. screenshot
After run supersu: 2.
After update normal (we don't have CWM...): 3.
Root checker: 4.
Supersu: 5.

All working except supersu...
Have you tried to replace su binary as I posted above and post #11 ?
 

shysparrow

Senior Member
Sep 23, 2012
245
67
Riyadh
Just followed ur instructions!

After successful flashing I can still enter Recovery.

Xposed Installer NOT working, requires writing permissions!

 

KL643

Senior Member
May 28, 2009
419
127
@40000ft
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system

error:

block/platform/msn_sdcc.1/by-name/system /system
mount : Operation not permitted
255|[email protected]:/ #
 

papzi57

Senior Member
Feb 28, 2013
615
56
pécs
for adb wich mode need: fastboot or flashmode or normal. (I forgotten...)
Su binary can't replace: permission denied
 

Top Liked Posts