yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact General] munch77:
How can you check if you've got 'proper' root?
[Xperia Z1 Compact General] kickling:
Hey zxz0O0 ... I am having lots of problems trying to get the 757 firmware from MEGA website (the file that is 900+mb) ... i get to 99% and it never asks me to save the file (but it downloads somewhere in my temp folders, never 100% complete) ... is there a mirror/server I can get the file from instead?

I want to try this method to upgrade from 681 to 757.
[Xperia Z1 Compact General] zxz0O0:
On Sony device it's not enough to have SuperSU. Sony implemented a kernel security which makes /system read-only. dualrecovery includes a feature that allows you to mount /system as rw. Root without access to /system is mostly useless.

I will try to upload it to google drive. In the meantime you could try with a different browser.
[Xperia Z1 Compact General] F308:
I would state it differently.

Root is root then there is no such thing like "Root without access to /system".

While GUI is comfortable - one always can open terminal, run 'su' then run something like: 'mount /system -rw -o remount' (command is given in linux style, some modifications may be needed.).

Once it is done - it is possible to create 10-20 scripts, put them into /system/xbin and have ready to run.
[Xperia Z1 Compact General] zxz0O0:
This command normally does not work on Sony devices, even if you have root (su). The reason is the already mentioned (additional) security feature in the kernel, also referred as RIC. dualrecovery disables RIC.

Added mirror to UK 0.757 :good:
[Xperia Z1 Compact General] coolkoushik07:
[MENTION=3975929]zxz0O0[/MENTION] bro if u allow me i can mirror all the files from my VPS to google drive...

Sent from my Xperia Z1 Compact (D5503)
[Xperia Z1 Compact General] zxz0O0:
Sure you can mirror them. ;)
[Xperia Z1 Compact General] emilic:
Worked!! thanks!

Just one thing.. now I try to run the code: *#*#7378432*#*# the code dissapears, and then... Nothing... :S

I never get access to the settings menu so I can not see if I did the things ok... o rnot...

But phone is working, have 4g, have wifi, have root access :D, have double boot (rescue boot), have the apps of the rom...

Wonder what is not working??
[Xperia Z1 Compact General] munch77:
Is #*#* at end of code m8 not *#*#

And 423 not 432

*#*#7378423#*#*
[Xperia Z1 Compact General] zxz0O0:
Really? And you are on KitKat (4.4)?

Hm, but adb shell is allowed in SuperSU right? What about terminal emulator? Does it work there?

Or try the command:

busybox mount -o remount,rw /system

What about if you mount /sytem rw in root explorer and then follow the steps (without doing the mount command).

Or can you copy the file to /system/bin ?

It's weird because this did not happen on my phone.
[Xperia Z1 Compact General] KL643:
I'm also able to enter recovery...

C:\adb>adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

shell@D5503:/ $ su

su

root@D5503:/ # chown root:root /tmp/su

chown root:root /tmp/su

root@D5503:/ # chmod 755 /tmp/su

chmod 755 /tmp/su

root@D5503:/ # mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-nam

e/system /system

/block/platform/msm_sdcc.1/by-name/system /system <

mount: Operation not permitted

255|root@D5503:/ #

C:\adb>adb shell

shell@D5503:/ $ su

su

root@D5503:/ # chown root:root /tmp/su

chown root:root /tmp/su

Unable to open /tmp/su: No such file or directory

10|root@D5503:/ # chown root:root /tmp/su

chown root:root /tmp/su

root@D5503:/ # chmod 755 /tmp/su

chmod 755 /tmp/su

root@D5503:/ # mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-nam

e/system /system

/block/platform/msm_sdcc.1/by-name/system /system <

mount: Operation not permitted

255|root@D5503:/ # busybox mount -o remount,rw /system

busybox mount -o remount,rw /system

mount: permission denied (are you root?)

1|root@D5503:/ #
[Xperia Z1 Compact General] papzi57:
I have Philz recovery too, but can't install zip from.

From terminal after adb shell: device not found
[Xperia Z1 Compact General] zxz0O0:
Ok I see. For me the mount command works.

And yes you can "get" into the recovery, but it does not really work (can't flash zip files).

However I found a solution:

Put the SuperSU zip on your sd card (see first post where to download).

Go to TWRP recovery (hold volume down when booting).

On your computer do

adb shell

mount /dev/block/platform/msm_sdcc.1/by-name/system /system

Then go to Install and select the SuperSU zip

Swipe to install the zip

Reboot

In terminal emulator you don't do adb shell. But check what I wrote above, it should also work for you!
[Xperia Z1 Compact General] shysparrow:
Yes I'm on KK -

All user data intact, I'm only facing problem while using root apps /rw Error! Can't write to System. I have root access, some apps are working but some aren't as system is not RW

Yes I can Enter Recovery!
[Xperia Z1 Compact General] KL643:
I'm not having TWRP recovery...

Edit nvm, got it
[Xperia Z1 Compact General] shysparrow:
I can enter both recoveries, only I can't flash any zips as system is not mountable!

I guess need an update from NUT
[Xperia Z1 Compact General] zxz0O0:
You can flash in TWRP. Just go to recovery and connect phone to computer then do:

adb shell

mount /dev/block/platform/msm_sdcc.1/by-name/system /system
[Xperia Z1 Compact General] KL643:
when i start adb shell i get device not found

Edit: fixed with drivers

o.k. flashed with twrp but when opening SuperSU i get the same....installing but nothing happens.

Well anyways...I'm off to 40000ft, will try again when I get home. Thanks for your time zxz0O0, appreciate it!
[Xperia Z1 Compact General] zxz0O0:
Phone is connected to the computer and is in TWRP recovery? USB debugging is enabled?
[Xperia Z1 Compact General] KL643:
No, problem were the drivers but that was fixed.

So folowed the last instruction but it didn't work at the end...need to go now, later!
[Xperia Z1 Compact General] mikk_11:
Is the fw deodexed?
[Xperia Z1 Compact General] zxz0O0:
No, it's not.
[Xperia Z1 Compact General] ruqqq:
I think Sony 4.4 blocked locked bootloader from mount /system as rw? I can't remount /system with rw on Android (permission denied). And in recovery, trying to remount it with rw doesn't yield any error but the mount stays as ro. :(
[Xperia Z1 Compact General] papzi57:
Installed latest (03/18) drivers.

Run adb shell: device not found.

I tryed 10000th... Ehh I giv up!

Device not found - not it's in my hand!
[Xperia Z1 Compact General] zxz0O0:
No problem for me accessing system

shell@D5503:/ $ su
su
root@D5503:/ # grep ro.build.version.release= system/build.prop
grep ro.build.version.release= system/build.prop
ro.build.version.release=4.4.2
root@D5503:/ # mount -o remount,rw /system
mount -o remount,rw /system
root@D5503:/ # mount | grep /system
mount | grep /system
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 rw,seclabel,relatime,discard,data=ordered
0 0
root@D5503:/ # touch /system/testfile
touch /system/testfile
root@D5503:/ # echo hello > /system/testfile
echo hello > /system/testfile
root@D5503:/ # cat /system/testfile
cat /system/testfile
hello
root@D5503:/ # ll /system | grep testfile
ll /system | grep testfile
-rw------- root root 6 2014-03-21 17:33 testfile

Did you follow my guide? Did you install the SuperSU zip (because I added that step later)?

Do you get that error when you're in recovery menu and connected to the computer? Check device manager, you probably have the same error as Boes40.
[Xperia Z1 Compact General] papzi57:
No, SuperSU.zip was not in face...

But I tryed 2 different PC, phona on fastboot mode, after adb shell: device not found...

How can we solved?

Can I restore the 4.3 backup, and run process again?
[Xperia Z1 Compact General] ruqqq:
Yup. I have root. shell returns "#" after executing su. This is odd...
[Xperia Z1 Compact General] zxz0O0:
No, not in fastboot mode. Go to TWRP (this means you hold Volume DOWN) recovery menu and while being in recovery menu, connect usb cable to computer and then try adb.

So you did flash the SuperSU zip? What happens if you execute the command I did above?
[Xperia Z1 Compact General] ruqqq:
shell@D5503:/ $ su
root@D5503:/ # grep ro.build.version.release= system/build.prop
ro.build.version.release=4.4.2
root@D5503:/ # mount -o remount,rw /system
mount: Operation not permitted
255|root@D5503:/ # mount | grep /system
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0
root@D5503:/ # touch /system/testfile
255|root@D5503:/ # echo hello > /system/testfile
tmp-mksh: can't create /system/testfile: Read-only file system
1|root@D5503:/ # cat /system/testfile
tmp-mksh: cat: /system/testfile: No such file or directory
1|root@D5503:/ # ll /system | grep testfile
[Xperia Z1 Compact General] emilic:
Hehehehe, yup made multiple mistakes... it is: *#*#7378423#*#* and it works!!

Now just need to upload my tft and flasher and help you guys with my generic version for France ;)

Where must I upload it?
[Xperia Z1 Compact General] zxz0O0:
Did you create a ftf and system flashable zip? Tested already with your files and root is working? You can upload it to some host with good speed (example: mega, google drive, mediafire).

By the way, your customization number is 1279-5365, correct? Can you please contribute your informations here: http://xdaforums.com/showthread.php?t=2722908

Edit: Ah you already did, good job :good:
[Xperia Z1 Compact General] kickling:
Sweet thanks mate for the mirror! Did you develop any fixes for the 0.757 root process failures I encountered and told you about (in your other root/DRM noob guide) ?
[Xperia Z1 Compact General] zxz0O0:
If you follow this guide you should get to 0.757 without any problems (many people already confirmed). Maybe there is just a problem when using 0.757 with my other guide (perhaps Sony changed something in the kernel).
[Xperia Z1 Compact General] emilic:
Here they are!!!

So, version 14.3.A.0.757

Generic, made for regions: Region: AB, EN, FA, FR

The ftf file: https://mega.co.nz/#!3tQFySgC!WqGRoI9PzAKUbApsuGRE_TNAdQ0cy0omb0d93rqJbMw

MD5 file: https://mega.co.nz/#!zwQmhQxb!I9UoVjs6LUwLUbo_xs2_XD-dyhjYIsBYEuqnYomAUeM

The flasher:

https://mega.co.nz/#!vkJUjZ7K!TrGO8VFnp1WNYoXY7Bvb_nIpltzUqvFpBMKMLnW_j6Q

MD5 file: https://mega.co.nz/#!C0A0Ab5B!GeAl6aZWUP35gvfmz4w3xjmNmWKDw9XkyDE29JEiQIo

Let me know if they work (the links ;) )
[Xperia Z1 Compact General] zxz0O0:
Thanks, I added a link to your post. Please also add hashes to your post, if possible (MD5 / SHA1).
[Xperia Z1 Compact General] emilic:
Here they are:

https://mega.co.nz/#!zwQmhQxb!I9UoVjs6LUwLUbo_xs2_XD-dyhjYIsBYEuqnYomAUeM

https://mega.co.nz/#!C0A0Ab5B!GeAl6aZWUP35gvfmz4w3xjmNmWKDw9XkyDE29JEiQIo

Thanks!
[Xperia Z1 Compact General] kickling:
Thanks again mate ... all went well after getting the file from Google Drive. You should look into adding this procedure at the end of your original root/DRM noob guide as step number 23!
[Xperia Z1 Compact General] zxz0O0:
Thanks for the suggestion. That is a good idea.
[Xperia Z1 Compact General] jonsnow69:
Rooted as per guide, unlocked bootloader and upgraded firmware to 14.3.A.0.757 Generic UK 1279-4727 (codified) along with dual recovery.

Everything went as planned except that my camera isn't working. It will show a moving image for still pics, but won't take photos, and won't show a moving image for video, it freezes. I can always try a different firmware but wanted to check if there was an obvious solution that stands out in this situation. Is this likely to be a kernel issue? Any tips would be appreciated.
[Xperia Z1 Compact General] zxz0O0:
Using the same firmware and camera works perfectly. Have you tried wiping cache/dalvik cache? Additionally you could try another firmware (as you said) or a factory reset.

By the way, as you said you unlocked bootloader: I recommend to use a custom kernel. I am using the one by NUT ( http://nut.xperia-files.com/ ), it has dualrecovery included. This guide here is for updating with locked bootloader, if you have unlocked bootloader it's a lot easier.
[Xperia Z1 Compact General] jonsnow69:
Thanks for the tips, I appreciate it. Wiping cache and factory reset hasn't resovled it. I have a slow connection so it may take some time to get another firmware, will give that a try and update later.
[Xperia Z1 Compact General] jonsnow69:
Thanks for the advice again. I tried different firmwares, and also tried different kernels including the customer kernel by NUT.

The camera issue persisted. The only thing everything had in common was the dual recovery, I decided this was the most likely issue.

In frustration I decided to see if the camera will work without dual recovery, fully aware that without recovery I may have to start the root process again with the docomo FTF, but I really wanted to make sure my camera isn't broken, and at least my bootloader is unlocked.

So I flashed without the dual recovery, and left data checked in Flashtool. The camera works now, and I'm on 14.3.A.0.757, rooted with SU - but no recovery.

I'll be able to sleep now because my camera isn't broken and I'll try it all again tomorrow. If there's a way to get recovery onto this without starting it all again let me know, but I'm happy to attempt it all again. Also, if there is an older version of the dual recovery that is still compatible, I might try using that, because my aussie Telstra branded X1C didn't like this version , at least this time around.
[Xperia Z1 Compact General] zxz0O0:
I think you don't fully understand what unlocked bootloader means. It means that you are allowed to flash custom kernels (e.g. the one by NUT). If you don't have an unlocked bootloader, the device will not boot with a custom kernel. The dualrecovery resides in the /system partition (that means kernel is not touched) and because /system partition is wiped when updating firmware, all those steps on the first post are required if you don't have unlocked bootloader.

However, if you have unlocked bootloader, you can just flash a custom kernel, which has recovery built in the kernel.

Hope you understand now, and don't mix dualrecovery for locked bootloader with custom kernel :good:
[Xperia Z1 Compact General] aroy11:
Worked perfectly in my already rooted phone. Flashed z1c-44-14.3.A.0.757-NO.system.flashable.zip, no problems.

Z1C-lockeddualrecovery2.7.123-BETA.flashable.zip is also working fine.
[Xperia Z1 Compact General] mikk_11:
I'm really uncomfortable with this question but I don't know the solution.

Today I want to do the .757 update. I formated /system and flashed the system zip. But during the flashprocess I walked away. When I came back I switched off my phone. So I have forgotten to flash the recovery and the supersu update.

Now I've still root and the phone is still working but i've no recovery. When I boot my phone the LED turns red and not green.

I've already tried to use the dualrecovery installer with option 1 ( install on rooted rom with supersu) but it doesn't worked.

What can I do now?
[Xperia Z1 Compact General] munch77:
You dont have full rw access on root? Will have to re-root from start again Sorry
[Xperia Z1 Compact General] mikk_11:
Oh that are bad news.

Anyway, thanks for your help!
[Xperia Z1 Compact General] munch77:
Only solution i know pal, unless anyone else can help?
[Xperia Z1 Compact General] zxz0O0:
No, that's currently the only solution. In the future I might pack a working dualrecovery with an update so this will not happen again.
[Xperia Z1 Compact General] casablanko:
sorry but i want to ask

i already on .757

how to root only without to have go through a lot of step (re-flash etc)

i already search around here but there's only that long way to root the Z1 compact.

thanks, sorry for the noobs question.
[Xperia Z1 Compact General] coolkoushik07:
U can root by unlocking bootloader and then by flashing cwm and supersu.. Btw u will lose ur drm keys if u dont take backup of TA partiotion...

Sent from my Xperia Z1 Compact (D5503)
[Xperia Z1 Compact General] casablanko:
[MENTION=2111743]coolkoushik07[/MENTION]

hey thanks for reply.

btw, i finally decided to go through that lenghty step and got the 4.4.2 rooted :D
[Xperia Z1 Compact General] alex_hk90:
I just used this guide to update from a previous version of KitKat (14.3.A.0.681 Generic UK), rooted but with locked bootloader, to 14.3.A.0.757 Generic UK 1279-4727, and something I have done is causing loads of issues with my phone - on boot (and after) lots of applications come up with "Unfortunately, [application name] has stopped." (including Google Play Services, gapps), the internet (either WiFi or 3G) isn't working and I can't seem to access the internal (emulated) SD card. I think it might be because between steps 8 and 9 (flashing the files in Recovery and the FTF using Flashtool), my phone booted up and did some kind of 'upgrade' at this stage - I redid the steps from the beginning but maybe this messed things up somewhat?

So my question is, what's the quickest way to do a clean install / reset and end up with 14.3.A.0.757 rooted with unlocked bootloader?

Thanks in advance. :)
[Xperia Z1 Compact General] zxz0O0:
For a clean install, go to recovery and do a factory reset, then continue from step 6.
[Xperia Z1 Compact General] Socotroco:
zxz0O0,

it's my first Sony after 3 Samsung Galaxy devices, let me please take a little bit of your time to ask you as for what I have read you've a clear picture of this rooting/unlocking bootloader process.

My Z1c was purchased abroad so I don't have warranty, I don't care loosing warranty as I don't have it anyway. From your personal point of view, is it worth to follow all the complicated steps on your guide to root and backup DRM keys or I just go to unlock bootloader, install CWM and SuperSu?

What could be the impact if I don't backup DRM keys? any app will stop working?

Thanks for your reply.

best regards.
[Xperia Z1 Compact General] zxz0O0:
There have been rumors that some (useless in my opinion) stuff stops working. However some people denied some of those rumors (e.g. [MENTION=4386647]Riyal[/MENTION]).

Honestly I've only done this for the warranty and I'll probably never need my backup anyway.

On the other side, this 'complicated' guide is a good start to get into flashing Sony devices and to understand how things work.

With unlocked bootloader everything definitely gets a lot easier.
[Xperia Z1 Compact General] Socotroco:
This is the part I'm interested on... I know that I can go to Sony website to unlock the bootloader. After unlocking, should I simply install CWM or something else must be done before that?

Thanks for your reply and your time.
[Xperia Z1 Compact General] zxz0O0:
After unlocking the bootloader, flash a custom kernel which has recovery built in (I'm using the one by NUT from here http://nut.xperia-files.com/ (only for 757)) and then install SuperSU zip file in recovery. If there is a new version, simply flash the ftf in flashtool and repeat this process.
[Xperia Z1 Compact General] Riyal:
I haven't encountered any issues after doing your rooting method though... And haven't seens anyone also complain about stuff not working (@.@) did I miss something?
[Xperia Z1 Compact General] zekoslav:
I can not aess to recovery mode, have no green liht, onliy orange, was try everything

please help!

Device Z1C rooted with 618 UK

Thanx
[Xperia Z1 Compact General] zxz0O0:
You need to restart from the beginning of the rooting guide again because your recovery menu is lost.
[Xperia Z1 Compact General] zekoslav:
I already do that, now working well.

Thank you
[Xperia Z1 Compact General] wyt18:
Hi,

I'm on 4.3 stock rooted with locked bootloader, and would like to get to 4.4 stock rooted with locked bootloader ... with as many of my user apps/data intact as possible.

I figure the OP instructions would get me to 4.4 stock rooted from 4.3 ... but have a few questions which I'd appreciate advice with:

- Does the process in the OP keep my bootloader locked (to maintain BRAVIA features etc.)?

- What is the best way to restore my user apps/data that I had on 4.3 onto the new 4.4 stock rom? I read Titanium backup somewhere but wonder if there is a more direct way to do this (e.g. from a nandroid backup of 4.3)?

thanks!
[Xperia Z1 Compact General] byterapper:
Annoying Update Center

Everything worked well for me getting it to 4.4.2, but I was really lucky that I worked long enough on other android phones in the past to subconsciously do it right I assume :)

Only thing that is annoying me now is that the Update Center is notifying me of a "new version" with the precise same build number as the one I used (14.3.A.0.757 Generic DE). I disabled the center's notification completely for now, but can someone maybe give an explanation or maybe even a solution?

Thanks!
[Xperia Z1 Compact General] jzaq0417:
.761 Flashable

Hi! When are you going to release .761 flashable?

Thank you! :good:
[Xperia Z1 Compact General] zxz0O0:
Uploading now :good: Will take maybe 30 - 60 minutes
[Xperia Z1 Compact General] ThreeMMM:
FYI:

I have just tried to flash the update. I can succsessfuly flash supersu with twrp, but when im trying to flash the z1c-44-14.X.A.X.XXX-XX.system.flashable.zip i got an error.

"Faild to execute binary"

Under PhilzTouch Recovery all flashings are working
[Xperia Z1 Compact General] Marv42:
Same here
[Xperia Z1 Compact General] zxz0O0:
Are you talking about 0.761? I tried it in TWRP (latest dualrecovery) and everything worked.
[Xperia Z1 Compact General] ThreeMMM:
oh, i forgot. Yea im talking about 0.761. and TWRP from latest dualrecovery.

Another Question: Have anyone shuttering notification sounds present in 0.761? i hoped it will be fixed with the new Firmware but... nope.
[Xperia Z1 Compact General] roboflekto:
Hi! I'm currently on 757 UK, rooted.

Is it worth to update to the new 761?

Can anyone post a brief changelog between these versions? I can't find it clear.

Enviado desde mi D5503 mediante Tapatalk
[Xperia Z1 Compact General] kiwonks:
Failed to flash in TWRP

me too. tried flash z1c-44-14.3.A.0.761-NO.system.flashable.zip 3 times in latest Z1C-lockeddualrecovery2.7.123-BETA.flashable.zip using TWRP recovery and stil failed .

So i stay in 757 rooted.
[Xperia Z1 Compact General] zxz0O0:
Try in Philz recovery then. It seems there are a lot of problems with dualrecovery (failed to format system, failed to restore backup, CWM not working, etc.) but I'm not the developer of dualrecovery and I can't fix it.
[Xperia Z1 Compact General] komedol:
I was able to flash z1c-44-14.3.A.0.761-NO.system.flashable.zip using Philz recovery and flash tool 0.9.16 following the guide on page 1.
[Xperia Z1 Compact General] eresac:
Here also problems with CWM.

The big issue is I am now stuck at SONY logo at startup and have fastboot mode only (preatty sure because of system format).

But being with locked bottloader, I'm afraid that's useless.

Any help is really appreciated

PS: [MENTION=3975929]zxz0O0[/MENTION] if you think is better I can open a thread on Q&A forum
[Xperia Z1 Compact General] zxz0O0:
I'm sorry to tell you that you have to restart from rooting guide again. You can make your device boot by flashing stock ftf but you will not have root / recovery.

How did you use CWM? I think it's broken in latest dualrecovery?

By the way I think it would be good if all you people who have problems with TWRP / CWM post here http://xdaforums.com/showthread.php?t=2647480 and let the developer of dualrecovery ( [NUT] ) know about it. [MENTION=3442593]ThreeMMM[/MENTION] [MENTION=4173126]Marv42[/MENTION]
[Xperia Z1 Compact General] kiwonks:
Use Philz

yes u right. use philz touch rec instead TWRP. it works FINE. Thank you :good::good:
[Xperia Z1 Compact General] eresac:
First of all zxz0O0, thank you for your kind sudden reply (not a surprise anymore ;) ).

I used CWM to flash SU, wipe system, but got error by flashing z1c-44-14.3.A.0.761-NO.system.flashable.zip.

I'm already downloading latest NO .761 tft. Have to hope flashtool will recognize the phone.
[Xperia Z1 Compact General] akabelakos:
is this working with unlocked bootloader too ?