yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] istux:
I bet you flashed .77 without excluding system.

Was the root preserved?

You disabled the wrong service maybe.

Write me in italian language via PM ;)
[Xperia Z3 Compact General] Tracy1988:
It has no stock recovery. I remember trying to enter it when I first got the phone, before I rooted it of course, there was no LED during start and volume up or down buttons didn't do anything. I did a search how to enter recovery and found out the phone has none. You're ok, pal.
[Xperia Z3 Compact General] isaac602:
Thank u so much for this!

One question.

I am at the last stage to flash the newest fw, but the flash tool won't start up and i dun know why.

It was just fine when i was flashing the older fw, but after i closed it, it would't start again. Just nothing happens when i double click the icon.

Using Windows 7 64bit, both 32&64 flashtool doesn't start up. I tried rebooting my pc, re-installing the flash tool. But still same.

Could anyone help me on this plz?
[Xperia Z3 Compact General] mbsmith76:
Awesome, I feel much better now. I love the helpful folks on XDA.
[Xperia Z3 Compact General] damaz78:
Lost recovery access after dealing with Busybox Installer

As stands in topic: after installing another Busybox (1.23.1 via Busybox by Stericson available on Play Store) I realized after short time I lost possibility to enter any of dual revovery - either via NDR Utils or manually (by pressing Vol button). There is no led blinking nor vibration during boot as well.

Uninstalling newer Busybox resulted with loosing Busybox at all. Attempts to instal Busybox (via the same app; to system/bin as well as to system/xbin) gave no result - still no signs of recovering acces to recovery.

If I lost it by described steps - how can I get it back?

(Hope there is no need to go through the whole rootong procedure again)

Any thoughts'd be much appreciated.

Solved. Repeating the dual recovery installer on 23.0.1.A.5.77 worked.
[Xperia Z3 Compact General] jean001luc:
unroot

Does anyone know how to 'unroot'

I don't mean revert to original ROM.

I want to root, remove bloatware and then remove all traces of root so that I can run applications which do not like rooting (Barclays app for one).

Xposed will not achieve this

Thank you
[Xperia Z3 Compact General] cschmitt:
Do a full unroot in SuperSU . You can leave dual recovery installed, apps won't detect it as root and you can still access recovery to reflash SuperSU if needed.
[Xperia Z3 Compact General] Rattles:
Hi guys,

First of all thank you so much for the detailed guide, it was extremely helpful!! Now, I know it was discussed on the last page but i just want to confirm:

If I need to return to stock, all I need to do is use flashtool to flash the non rooted .77 firmware and it will take care of the ROM and RR remove the twrp recovery? I didn't unlock the boot loader so I am assuming that the DRM keys are not touched, is there a way to confirm that?
[Xperia Z3 Compact General] Tracy1988:
I just did a system backup to external SD with Philz Touch recovery (to flash dual speakerphone mod) but I can't find it with root explorer (show hidden files enabled). I went back into Philz and clicked on restore from sdcard1, the backup image is there (/storage/sdcard1/1970-06-40.13.11.00-23.0.1.A). I rebooted the phone and still couldn't find it. Weird!

Does anyone have this problem? Where's its location? Will the restore still work? If I create another backup, will it overwrite?

I had about 50GB of data on my 64GB SD card. I noticed it's 2.4GB fuller. If I can't find it, how can I delete it?

Thanks in advance.

Edit** Never mind. Lol. In ES File Explorer I have to click on Hide List in addition to turning on the Show hidden files. Sorry for the troubles.
[Xperia Z3 Compact General] andonymouz:
E: Error - Can't mount SD Card (in Recovery)

Hello Everybody,

this is my 1st post in this forum but I've been reading along for quite a while.

I own a Z3 Compact (D5803) since Oktober last year.

I 'm really happy there's a root method with LB - I just waited for this!

I did the root a week ago and everything worked quite well. There's just a few things I was forced to do differently:

When flashing a ZIP from recovery (not TWRP one), I could not access the internal SD Card: "E: Error, can't mount SD Card" so I had to do it from the external one.

I wanna ask you guys if this is due to having ecrypted my phone beforehand? When I'm in TWRP Recovery it prompts a password that I can skip but trying my encryption password fails and no SD access as well in TWRP.

It's not a Problem at all to me, I just wanted to make sure I did everything correctly [ rembering on my Galaxy S2 (i9100) there was a bug that "damaged" the internal sd flashing certain firmwares resulting in loss of writing access (I managed to fix that with the right firmware tough, so the damage was not permanent :) ]

Being able to create a file in system folder with ES File Explorer proves me that it all seems to work when Firmware is booted up. Also ext SD writing permission is given, of course. I just can't write into "sys" folder, don't know if writing access is relevant there (I thought root gives w-access to ANY folder, but it might be 'in use' as well.)

Another question I have for trying to install Linux on my device (using Google Plays "Complete Linux Installer" App)

DOES THAT KERNEL SUPPORT "LOOP DEVICES" ??

The List of supported devices is down right now and installing linux didnt work to me.

That question is important to me because I'd buy a Z3 Tablet compact if I get to run a Linux Distribution on it.

Many many thanks in advance !

Got much love for this forum!!
[Xperia Z3 Compact General] caralarmandmore:
I accidentally forgot to flash the dualrecovery.flashable.zip and now, whenever I try to boot my xperia z3c (cm12/superSU) into recovery mode it goes straight into cyanogenmod recovery. There's no way to boot into TWRP for example even though ROM Manager verifies that TWRP is indeed installed.

How can I boot into TWRP now? Tried flashing the dualrecovery.flashable via cyanogenmod recovery but that doesn't work ("E:Cannot load volume /misc!"; "E:footer is wrong" and "E:signature verification failed").
[Xperia Z3 Compact General] jean001luc:
Thank you. Will this get rid of the binaries associated with rooting? Ive found in the past (on Experia Mini) that such unroot doesn't remove all traces of rooting and the app still detects it and fails to run
[Xperia Z3 Compact General] vikingsail:
Thank you so much for the guild here. I'm sure it has helped alot of ppl like me.

I actually have a better and easier way to get to the latest update maintaining root.

after getting root, don't go directly for the dual recovery. instead, open SuperSU and check on persist root during OTA. then open Sony Update and download and install the system update. basically you only have to download about 100MB+ update from your phone, instead of downloading 2Gb of pre-rooted rom and non-pre-rooted rom.

i hope this helps.

===================================================

UPDATE

i can't flash the dualrecovery now. i get the same error when i'm doing "mount -o remount,rw /system" in terminal. and it goes like

i don't know if these two things are related. ideas?

==================UPDATE OF UPDATE===========================

YES these two things are related.

since I ota updated the system, it seems there's no way to get dualrecovery after.

BUT i figured it's still possible by:

1. open Flashtool, select the OLD firmware (say 23.0.A.2.93 here),

2. UNCHECK "DATA" in Wipe field, and UNCHECK SYSTEM in Exclude field.

3. let Flashtool finish the job.

4. now restart your phone and run dualrecovery installer as in OP ( remember the mount -o, rw thing ). (PLUS. i also flashed the RICDefeat.zip mod after the phone restarted into recovery, but you can do this later too)

5. open Flashtool again, but now select the newest firmware, which can be easily downloaded in Flashtool (by now it is 23.0.1.A.5.77).

6. again, UNCHECK "DATA" in Wipe field, and UNCHECK SYSTEM in Exclude field.

7. let Flashtool finish the job and restart your phone.

8. now hit the "thanks" button.

By now you have a rooted Z3 compact with /system -rw permission and a locked bootloader&drm key.

This is by far the easiest way i've found to achieve this goal. Hope this helps.

peace xda.
[Xperia Z3 Compact General] Amr Nasser:
Important

On Step 20

How Much Time It Takes ??

Mine Is Stuck & No Root
[Xperia Z3 Compact General] apSlain:
It shouldn't take too long; the prompt will let you know when the next step initiates, when it requires your input, when it's complete, etc.

Perhaps you missed a prompt on your phone to allow permissions due to the screen time-out? I'd recommend setting the screen timeout to a longer time so you don't miss any phone prompts during this procedure.
[Xperia Z3 Compact General] iAlle:
help meee

hello everyone!

ok guys, i need your help. i think i f***ed up my phone.. :(

im stuck on point 38

after pressing install and trying to shutdown my phone, a locker (with TWRP letters) appeared on my screen, and i can do nothing.. do i've bricked my phone? :(

EDIT: uh ok i found out how to unlock and reboot phone (POWER+VOLUME UP+VOLUME DOWN)

but i cannot understand what to do on point 38 :(
[Xperia Z3 Compact General] gegu2:
Open cmd window, go to place/path where dual recovery installer was extracted (35th step) and run install.bat script and enter 1 from keyboard.
[Xperia Z3 Compact General] TheBored:
Just wanted to post my thanks - the guide worked very well on an unlocked Z3C. A few minor hiccups but all were my fault. Thanks!

EDIT: And for those curious about not losing data, I didn't wipe my user data and did just fine. There were a ton of process crashes when I was back on the old kernel version... all were resolved as soon as I got back to the latest kernel.
[Xperia Z3 Compact General] vikingsail:
before step 38, make sure you have done 37 correctly.

if so, open install.bat and hit 1 on your keyboard and enter.

then follow the prompt.

if all of the above has been successfully executed, you will find your phone restarted right into the recovery menu.
[Xperia Z3 Compact General] iAlle:
Ok, my Phone is in recovery now, i press install, but i can't find flashable.zip that i previously moved to internal storage.. Damn..
[Xperia Z3 Compact General] Amr Nasser:
Important

I just rebooted my phone :D
[Xperia Z3 Compact General] XperiaUserZ:
After since rooting it, mobile data has been really slow? Is it because I chose the US firmware? I'm in the UK. It used to say 4G, but now it says LTE.. I know it's the same thing, just saying.
[Xperia Z3 Compact General] vikingsail:
you should try to always put your flashable zip into the external SD card. it's much easier to manage and to find.

good luck out there.

btw. did u manage to complete the whole process by now?

check out my other reply here

---------- Post added at 00:50 ---------- Previous post was at 00:45 ----------

normally it won't affect your network speed switching from the UK firm ware to the US one. as long as you make sure to choose the right firmware for the actual MODELL (D5833/D5803).

for example, if u chose the AUS/NZ firmware then it will cause u problems. but as long as you stay among the european/n.a. firmwares it will be totally ok.

you can try to download a new internet/mms settings from Settings-More-Internet Settings.
[Xperia Z3 Compact General] BobbyHenceMcGee:
Absolutely fantastic, thank you so much!
[Xperia Z3 Compact General] XperiaUserZ:
anyone??
[Xperia Z3 Compact General] vikingsail:
See my last reply. #209.
[Xperia Z3 Compact General] iAlle:
Dude..thank you..

Atm i can't try, because i've a Mac and i used my brother's PC to do all the things.

Now i'm using the Phone with old firmware, the last firmware gave me some battery problems. So im quite happy. :)

The point 38 is for upgrade Phone to the last fw, right? If so, i can wait for 5.0 then do this part of the guide.. Or im wrong..?

Sorry but im a noob at it, thats my first time.. And sorry for my poor english..
[Xperia Z3 Compact General] XperiaUserZ:
Not sure how that is related to my problem? I have successfully rooted it with everything working except mobile data which is really slow and sometimes doesn't even work.
[Xperia Z3 Compact General] -V-O-Y-A-G-E-R-:
I agree with this remark...I had to read several times in order to confirm to myself that System needs to be expluded...yet I managed to bork my Wi/Fi because I installed in the end the old fw, instead of the newer one :o

[MENTION=2851630]bilboa1[/MENTION] Nevertheless, thank you very much for this. I especially appreciated that correction in install script with system mount point, as I bashed my head the other day trying the same script on Mac and Windows with no success :highfive:
[Xperia Z3 Compact General] jaeiksong:
HELP!!!

what to do? :(

==============================================

= =

= giefroot v3 =

= created by zxz0O0 =

= =

= Many thanks to: =

= - [NUT] =

= - MohammadAG =

= - Keen Team =

= =

==============================================

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

* daemon started successfully *

=============================================

Waiting for Device, connect USB cable now...

Make sure that you authorize the connection

if you get any message on the phone

=============================================

Device found

=============================================

Sending files

=============================================

126 KB/s (259 bytes in 0.002s)

3614 KB/s (22220 bytes in 0.006s)

115 KB/s (237 bytes in 0.002s)

3317 KB/s (13592 bytes in 0.004s)

832 KB/s (1705 bytes in 0.002s)

4205 KB/s (34473 bytes in 0.008s)

5903 KB/s (4016989 bytes in 0.664s)

6549 KB/s (657704 bytes in 0.098s)

366 KB/s (752 bytes in 0.002s)

Error: Seems your kernel / device is not supported

giefroot (c) zxz0O0

Press any key to continue . . .
[Xperia Z3 Compact General] davebugyi:
Did you followed the instruction in the thread and downgraded the firmware first to .93?
[Xperia Z3 Compact General] vikingsail:
You have the wrong version of firmware. You need to downgrade first.
[Xperia Z3 Compact General] jaeiksong:
i did sir. i use D5833_23.0.A.2.93_PH_generic :(
[Xperia Z3 Compact General] jaeiksong:
Open Flashtool and select the non-pre-rooted fw (this is 23.0.1.A.5.77), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM", flash it.

what i do check?

EXCLUDE:

[ ]BOOTBUNDLE

[ ]PARTITION

[ ]KERNEL

[ ]FOTA

[ ]BASEBAND

[ ]SYSTEM

[ ]ELABEL
[Xperia Z3 Compact General] istux:
System.
[Xperia Z3 Compact General] jaeiksong:
like this? but it says DESELECT! O.o all are DESELECT what would i check? :eek:

[ ]BOOTBUNDLE

[ ]PARTITION

[ ]KERNEL

[ ]FOTA

[ ]BASEBAND

[ /]SYSTEM

[ ]ELABEL
[Xperia Z3 Compact General] vikingsail:
by DESELECT he means the actual flashing process should be proceed without flashing the /SYSTEM partition. so you only have to actually check SYSTEM at the EXCLUDE area. learn English lad.

if you have downgraded then it should be fine. i'm sorry i'm not sure about what's wrong with it. but there's a way around that. you don't have to use the way he provided. check out my earlier reply below:
[Xperia Z3 Compact General] :
Great!

I just rooted my one day old Z3C (coming from HTC M7 :) ). Everything worked just fine, now I just have to migrate all important data from my old phone and thats it! Thanks man! :D:good::fingers-crossed:
[Xperia Z3 Compact General] iAlle:
Now that my device is rooted.. When lollipop will be released, do i have to flash it like i did in the last points of this guide? Excluding system, so my root will rest..right?
[Xperia Z3 Compact General] cschmitt:
Create a PRF of the L update (including dual recovery and super su) and flash it in recovery, that's it.
[Xperia Z3 Compact General] iAlle:
Uh ok. Thank you
[Xperia Z3 Compact General] mrepovz:
I did it - root working!!!!

thanks again
[Xperia Z3 Compact General] KevinN206:
how to get .93 with root?

How do I get root but stay on .93? It seems the last few steps flashes to .77 but I have terrible battery life with .77. If I want to keep .93, then can I just substitute .93 or .105 for references to .77 at Step 26 for Alternative 2?

Why are we flashing back to .77? Is that to fix the wifi issues that certain people encountered? I tried reading the guide many times, but I can't figure what steps that I can skip or modify to keep .93 and root. Any help is appreciated.
[Xperia Z3 Compact General] mariotme:
Thanks for the great guide!

This worked in both my z3c and z3 dual Sim d6633
[Xperia Z3 Compact General] mrepovz:
Do you guys after root have an option in system/apps to move apps to SD?

I was hoping for this. I did search for some guides on how to move apps but without success.
[Xperia Z3 Compact General] dillalade:
Thanks for such an epic guide. I love my phone even moreso with root privileges.
[Xperia Z3 Compact General] gegu2:
You need to use link2sd or gl2sdor folder mount apps, to move your apps/games to sd card.
[Xperia Z3 Compact General] KevinN206:
I tried replacing .77 with .93 including creating the pre-rooted fw using PRFC, and everything worked on the first. It's pretty cool that everything worked fine on the first try including write access to system. Thank you for the guide. It's awesome!
[Xperia Z3 Compact General] gruev:
Can't mount system

Hi, I also followed each step exactly as written. Everything works well, except mounting system rw. I installed SonyRICD but it didn't help. Any suggestions?
[Xperia Z3 Compact General] Jannik19999:
Big problem

can anyone send me his TA Partitions

I have unlocked the bl of the phone with the old method
[Xperia Z3 Compact General] cschmitt:
Bigger problem

Don't restore the TA partition from a different phone, it will permanently brick your device.
[Xperia Z3 Compact General] Jannik19999:
So there is no Chance for me to restore TA?
[Xperia Z3 Compact General] riedos:
finally i got my z3c rooted... thank so much for this guide..

however, i want .93 fw and i dont want .77, can i just flash .93 fw from this guide before? [and keep rooted]

Or i just can stop at step 21?

or any other .93 fw recomended? for battery life saving performance

thanks in advance

(sorry, my english not so good)
[Xperia Z3 Compact General] nikkopwn:
Unrooting and reseting the z3c

Fixed.
[Xperia Z3 Compact General] edurjbr:
Sorry fo the question but, could I flash a custom rom and restore DRM with it?
[Xperia Z3 Compact General] scutterflux:
Total newb here, it's my first android after playing with symbian for years, welcome to 2010 right.

Here's my question:

How do you get flashtool to find or recognize the ftf file. I've tried re-downloading flashtool from different servers with the same result, and after each removal and install flashtool hardly gets started when it tells me to move files from c:\flashware\firmware to c:\users"myname"\.flashware\firmwares

What am I missing, I also have a working Sony PC companion install and the drivers all seem to be working corectly and I'm on Windows 7. I also checked for hidden files I might easily miss.

Help is appreciated.

Edit:

I forgot to mention:

I did try moving all files from Flashtool\firmwares location to .flashTool\firmwares location.

Also I'll install firefox and check for java updates now.
[Xperia Z3 Compact General] scutterflux:
So if anyone else is new to this and has this problem, there are two solutions.

1) You will have to completely remove all files from C:\Flashtool\firmwares and move them to the desired location, do not copy paste, but copy>cut>past.

2)Use an older version which seems to be another successful alternative to solve this.

here's a link for more help

http://xdaforums.com/showthread.php?p=58999018#post58999018
[Xperia Z3 Compact General] scutterflux:
Really big thanks to:

bilboa1 for all you've done here,

and

apSlain and cpurick for details on steps ~33-40 on pg 17

Wow is android always this complicated compared to old symbian, haha, no probably not.

Thanks for the success.
[Xperia Z3 Compact General] spielnicht:
Nope, no chance. If you didn't back up the TA before unlocking the bootloader, then you lost them forever. You can't use someone else's. Sorry.
[Xperia Z3 Compact General] Xani.e:
Why is it necessary to flash the same version again?
[Xperia Z3 Compact General] HITjackma:
SO-02G with docomo's fw cannot root

- Does this work on my SO-02G (Xperia Z3C Docomo NTT version) ?

[MENTION=4746496]pngoc256[/MENTION] tested and yes, it works

First, thanks very much for your summary and keen team and zxz0O0 and all others.

I tested with my SO-02G with fw SO-02G_23.0.B.1.13_docomo.ftf

and I cannot root ( it says Error: Seems your kernel / device is not supported )

since SO-02G NFC cannot be controled in other fw, is there any solution to root docomo's fw?
[Xperia Z3 Compact General] riedos:
I think u still can root, but use your phone own fw, try use your z3c version fw, search here :

http://xdaforums.com/showthread.php?t=2906706

[FTF] STOCK FIRMWARES for D5803,D5833,SO-02G
[Xperia Z3 Compact General] Santos8913:
Hi friend, if not too much to ask, could you post the Mega a pre-rooted FW D5833?:thumbup:
[Xperia Z3 Compact General] charliebigpot:
Nix, after re-rooting successfully (the tool said it's rooted) and going through the whole procedure twice I can't install xposed. I manage to install the bridge.jar by using the recovery mode but the app_process won't install. Even when using the RICDefeat.zip patch it won't work.

Any suggestions?

EDIT:

Solved it by downloading terminal emulator and manually doing this step:

In the command prompt type "adb shell" then "su" (allow root on the phone if needed) then "mount -o remount,rw /system". That's it, close the prompt window.

It's all roses now :)
[Xperia Z3 Compact General] whinette:
Thanks, I followed the guide step by step and everything works well.
[Xperia Z3 Compact General] charliebigpot:
I need help here!

I just don't get it to stick. I run through the whole procedure 3 times now but xposed never works. I manage to make it work by manually typing what I pasted above, but as soon as I reboot the phone xposed doesn't work and I have to redo the manual trick. Also, the RICDefeat patch doesn't work, no matter which recovery I flash it from.

I am 100% that the instructions work and that I followed them since it worked flawlessly for me when I tried 1 month ago - what's going on now :confused:
[Xperia Z3 Compact General] vetko:
Same issues - manual remount rw

I am facing the exact same issues as you, but with Titanium Backup: I have to manually remount /system rw after every reboot when I need to change (remove) some system apps with Titanium Backup. If I forget to do this, Titanium Backup says it was successful, but in reality it didn't remove the respective apps.
[Xperia Z3 Compact General] charliebigpot:
Well, after redoing the whole process a 4th time and still without luck I found this post of [MENTION=3989065]serajr[/MENTION] I got it to work once, unfortunately after reboot I couldn't mount the system as rw again :(

By running code below inside your giefroot_v?\files\ folder did the trick on .77!!

(Reboot your device for changes to take effect)

Code:

adb push systemrw.sh /data/local/tmp

adb push modulecrcpatch /data/local/tmp

adb push wp_mod.ko /data/local/tmp

adb shell

chmod 777 /data/local/tmp/systemrw.sh

chmod 777 /data/local/tmp/modulecrcpatch

chmod 777 /data/local/tmp/wp_mod.ko

su

cd /data/local/tmp

./systemrw.sh

Intrestingly enough, TB and xposed don't get rw access, root explorer works flawlessly.
[Xperia Z3 Compact General] dijorc:
thanks a mill for this guide!!

I'm now making my pre-rooted firmware.

Do I need to click the checkbox "Kernel" before creating the flashable.zip ?

QUOTED:

Note: If you do not include the kernel in the pre-rooted firmware, it's recommended to flash it afterwards with flashtool (check "system" under Exclude).

Note2: I am not responsible for any damage done to your device or if you end in a bootloop