yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] uniqwieczor:
Can't remove bloatware

Hi!

First of all big thanks to all the people involved in obtaining root in our phones.

I own a D5803 Xperia and wanted to root the phone mainly to remove the bloatware.

I followed all the steps and successfully installed SuperSu/DualRecovery and was able to dump TA partition. I also flashed RICDefeat.zip as I couldn't delete sony and google aps.

I was unsuccessful again. Then i flashed http://xdaforums.com/z3-compact/development/23-0-1-5-77-debloated-deodexed-zipalign-t3015281. I was able to remove some of the google aps, but sony bloatware till was there and I again couldn't delete them (TitaniumBK/RootExporer).

I also did the steps in this post http://xdaforums.com/showpost.php?p=58400277&postcount=228

And got following output:

It's funny because now in RootExplorer it says that I have removed an app but it instantly reappears. :)

Can you please help me?
[Xperia Z3 Compact General] hayatesan:
Just tested, all keys are [ok]. :fingers-crossed:

Thanks a lot.
[Xperia Z3 Compact General] limduldk:
There

isn't

any of the steps that require you to unlock your bootloader. The whole point of all this is to

avoid

unlocking the bootloader before you root. So

do not

unlock the bootloader first!

As you are on stock 23.0.1.A.5.77 you

do

need to downgrade the firmware to 23.0.A.2.93 as described in step 2-12
[Xperia Z3 Compact General] charliebigpot:
Will downgrading and rooting wipe the phone? or will that only be wiped when I re-flash a .77 firmware? I'd like to understand at what step the phone gets wiped.
[Xperia Z3 Compact General] limduldk:
downgrading will wipe the phone since your flashing the old firmware.

Backup anything you need to your pc before that!
[Xperia Z3 Compact General] istux:
If you don't want your data wiped, just uncheck "data" within the "wipe" box before flashing with Flashtool ;)

A backup of what is really important for you (on an external memory) is always recommended before ANY change to your phone...
[Xperia Z3 Compact General] charliebigpot:
Oh - that sounds great. I have already backed up everything but there's one thing I can't back up - 4000 songs on spotify offline... since I'm in a very poor internet area it will literally take weeks, if not months to download them again.

So, by unchecking "data" I will avoid deleting apps?

Since the songs are on the SD card, once I have root I can backup the Android ID, wipe and flash the .77 firmware and then restore the android ID so that spotify will work with the offline songs.
[Xperia Z3 Compact General] istux:
Flashtool

never

wipes external memory like SD-card.

Anyway I suggest you remove SD-card before flashing.

Instead Flashtool wipes internal memory and data partition. If you uncheck as I said above, they wouldn't be erased.

Give it a try and report here if it has worked. :)
[Xperia Z3 Compact General] charliebigpot:
Good, good.. so by unchecking that box all apps will be there after downgrading. I'll try it tomorrow!

(e se non funziona vengo a cercarti a Milano!) ;)
[Xperia Z3 Compact General] jerflash:
dude thanks so much for the steps. Probably could have figured it out but thanks for your time. You are making many forum members happy along with [MENTION=3975929]zxz0O0[/MENTION] are making people very happy!
[Xperia Z3 Compact General] thetemplar90:
Hello,

I cant downgrade my fw, because the flashtools says "Drivers need to be installed for connected device."

29/034/2015 18:34:18 - INFO - Preparing files for flashing
29/034/2015 18:34:29 - INFO - Please connect your device into flashmode.
29/034/2015 18:34:35 - INFO - Device disconnected
29/034/2015 18:34:58 - ERROR - Drivers need to be installed for connected device.
29/034/2015 18:34:58 - ERROR - You can find them in the drivers folder of Flashtool.
29/035/2015 18:35:04 - INFO - Flash canceled

I install the Sony Companion, Google USB Driver and ADB drivers (adb-setup-1.4.2.exe), in cmd "adb version" is working.

What have I missed?

EDIT: Nevermind, Windows "Driver Signature Verification" was the problem. Should work now.

EDIT2: And USB3 somehow was a problem. with the good old USB2 port its flashing now.
[Xperia Z3 Compact General] charliebigpot:
Does someone have a mirror? For some reason the download gets interrupted at 5 - 10% and then restarts at 0%.. (or do you know of any tricks to use mega with a download manager?)
[Xperia Z3 Compact General] Freds123:
------------------------------------------------------------------

Are you running Windows 8?

Windows 8 has a security feature which will not allow you to install Unsigned Drivers or the drivers without digital signature.

If you are having trouble on your Windows PC because of this feature then you can simply Disable Driver Check Enforcement on your Computer.

Please look at the FAQ at Flashtools homepage where you will find how to fix this.

I´m a newbie and not allowed to post links.
[Xperia Z3 Compact General] thetemplar90:
Yeah, thanks.

"Driver Signature Verification" was one of the problems, USB3 somehow also was a problem, it didnt start in flashmode when it was connected to USB3, but USB2 did the trick. Worked now, thanks!
[Xperia Z3 Compact General] Conte Mascetti:
If you update via ota you'll loose root since what you're downloading doesn't have root inside. But what you can do is update, loose root, create a ftf with your new firmware, create a pre rooted zip with prfc and repeat the entire process in OP.

From Z3C Black
[Xperia Z3 Compact General] botty67:
I returned it under warranty mate. It was a hardware fault after all. You'll have a 2 year warranty with Sony.. Should take a week..
[Xperia Z3 Compact General] apexofservice:
issues with loader.sin

I redownloaded the unrooted KK firmware and there were no diffs from my previous download, so a corrputed download isn't the issue. To repeat my symptoms, I flash the rooted firware just fine in my recovery, I turn off power, and I select the nonprerooted in the flashtool, I check to exclude /system. Then upon attemting to flash, I get:

S1 checksum error with loader.sin

Flash aborted

And the phone reboots but with many weird errors and the wifi doesn't work. So, I restory from my recovery and I'm fine, but I don't have the upgrade.

Looking at loader.sin, there are a whooooole lotta zeros. I'm not sure if that's okay but that's what I'm finding in that non-prerooted ftf when I unzipped it and started poking around.

Any suggestions?
[Xperia Z3 Compact General] twisteroid:
Here's how I upgraded to the latest rooted firmware:

Make a backup from existing recovery and copy the backup to your computer to be safe. Also backup whatever important bits in your internal storage.

Download the latest FTF, and either download or build a pre-rooted flashable.zip using the latest FTF, SuperSU and dual recovery.

Reboot to your existing recovery and flash the pre-rooted flashable.zip. Power off, DO NOT REBOOT.

Use FlashTool to flash the latest FTF following the guide in the OP. Check the "SYSTEM" option in "Exclude", and also uncheck "CACHE" and "DATA" in "Wipe".

(If you forgot to uncheck "DATA" in "Wipe" (like I did once), your data and internal storage will be wiped. You could do an advanced restore from your previous backup and only restore the data partition, but the internal storage is lost forever.)

Done.

Basically, just repeat the "Install latest firwmare" part of OP.

Hope this helps!
[Xperia Z3 Compact General] Flapperbol:
First of all, thank you for this great guide!

I do however have a small question regarding step 40.

After I successfully completed all the steps, I noticed there was an update available so I started partially over (using the steps from twisteroid above).

Made a small mistake this time so here's my question:

What exactly happens when you do reboot after flashing the pre-rooted firmware zip instead of powering off?

To be safe I rebooted into TWRP, installed the pre-rooted firmware again and afterwards flashed the latest TFT with the correct settings, but I"m not entirely sure if I messed something up since everything seems to be working normally.
[Xperia Z3 Compact General] twisteroid:
I believe (not verified, don't quote me on this) that the pre-rooted firmware only includes SYSTEM by default, so rebooting after flashing the zip means the phone booted with SYSTEM partition from the new firmware and kernel from the old one. Probably no lasting damage if the two versions are close enough. If you tried to boot a KitKat kernel with Lollipop SYSTEM partition, probably bootloops?
[Xperia Z3 Compact General] cilicus:
How do updates work?
[Xperia Z3 Compact General] cbuctok:
They work ok.
[Xperia Z3 Compact General] luizlee86:
Hello! So sorry for asking this... but I was out for a few weeks and there is so much to catch up...

I have a D5833 with rooted KK 23.0.1.A.5.77... how do I update to latest rooted LL?

If anyone can help, I appreciate!
[Xperia Z3 Compact General] crazy_calm:
Just updated my Z3C with rooted 23.1.A.0.726 through OTA to 23.1.A.1.28. As far as I can tell, all the functions associated with root access work just fine. It could be just my case though. Don't blame me if you lost root doing the same thing:D
[Xperia Z3 Compact General] patwang0311:
Can confirm that's the case.

Just did OTA update too from the same version.

- Dual Recovery remains after update (that's already enough as you can always flash SuperSU zip if root doesn't work)

- Z3C still rooted - Adaway can still update /etc/hosts just fine

- *.0 custom CA I added still there

- platform.xml that I changed to enable SD card write still remains - can still delete photos using Quickpic from SDcard.

So that OTA from 23.1.A.0.726 to 23.1.A.1.28 didn't touch SYSTEM partition.
[Xperia Z3 Compact General] Starlith:
Its only 10MB download so i wouldn't think it would change much. I can't update via ota because of a verification error. Anyone tried by pc companion?
[Xperia Z3 Compact General] qbdx:
I tried the pc companion, it asks you to disconnect the phone, and then it began downloading the whole 1gb+ update. I assumed from there, it would be an official firmware losing root.
[Xperia Z3 Compact General] Homu:
Different question now: Since the last few steps are not needed on 5.0 (this should really be put in the OP/the OP should be changed because I just wasted my time doing this whole procedure twice), is there anything else I need to do instead of those steps on 5.0 or do I just reboot normally after flashing the prerooted firmware?
[Xperia Z3 Compact General] Sirboscos:
Question:

I did this back when it was new, on kitkat. Downgrade to the .93 and so forth. Everything works jut fine.

Now i feel i wanna try Lollipop, i need something new.

How would i do that? Like i said. i'm already rooted on kitkat with locked BL.

Do i just go from step 26 in the guide " -- Install latest firwmare with root, DRM keys, recovery --" and download a pre-rooted LP firmware?

Need i quick, easy guide for this. Thanks!
[Xperia Z3 Compact General] camaro322hp:
Thanks for this guide. Really nice, easy to follow. Just got my wife a Z3C and had it upgraded to 5.0.2 and rooted in a few minutes.

IMO, this thread should be stickied.
[Xperia Z3 Compact General] chris5s:
Download one of the pre-rooted, debloated roms from the Android development section of this forum, place on your scared, do a full wipe and flash Lollipop.

Simple.

Peace
[Xperia Z3 Compact General] Sirboscos:
Well that was easy. Thanks a lot!
[Xperia Z3 Compact General] snuf1991:
Can this be used on the Z1compact? :)
[Xperia Z3 Compact General] deeevan:
Well I certainly wouldn't be using any of the linked Z3C firmwares on your phone [emoji14] But as a guide and links to tools required, this is good. Since you need to go to each of those links to download the tools, why not check compatibility while you're there (most seem to cover the Xperia family)?
[Xperia Z3 Compact General] OGSwank:
I'm confused.

I made my own pre-rooted fw with PRFC. installed flashable.zip through recovery. Now my phone is off.

Why do i have to reflash the unrooted image i downloaded when i just flashed the rooted one :silly:

- Open Flashtool and select the non-pre-rooted fw (this is 23.1.A.0.690), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM", flash it.

press volume DOWN and plug USB cable while keeping volume DOWN pressed, when flashing starts, stop pressing the volume button

- After flash is done and when flashtool tells you to, remove USB cable and start the phone

- Congrats and enjoy, you made it to the end! you now have latest + recovery + root and backups of your DRM keys! (and of course all DRM functions enabled)
[Xperia Z3 Compact General] deboopi2:
I followed the guide in the beginning of this thread to root my Z3C and to upgrade it from kitkat to lollipop.

This worked perfectly.

But it requires some steps to get it done.

My question is what we'll need to do if we want to upgrade from rooted lollipop to newer version of lillipop (a newer bugfixed version of lollipop or android 5.1 or 6.0).

Will we still need to

- create a prerooted .prf

- flash the pre-rooted prf

- and finally flash the non-prerooted ftf

This way still requires three steps, will there be no easier solution to keep root and upgrade the system?
[Xperia Z3 Compact General] see_lee:
My Z3 is currently in Lollipop 23.1.1.E.0.1 and I am trying to downgrade to 23.0.F.1.74 so that I can root it and then upgrade back to Lollipop. However, I am not able to find 23.0.F.1.74 fw for my region. Is it possible to downgrade using fw of other region (say RU), root it and then flash it to 23.1.1.E.0.1 of another region (i.e. my origin region) while keeping the root?

Does anyone know? Thanks.
[Xperia Z3 Compact General] deboopi2:
This should work, the only thing they say is downgrade to a version below .77 but as far as I know you can flash a rom from another region.

I myself used the one for Nordic and before it was the one for Belgium, the only important thing for me is to have Dutch as a language in the rom.

That's the only thing you have to take care of and I do not know if languages are left out in other roms, I think it depends on the language you want to use, for instance English will always be there.
[Xperia Z3 Compact General] see_lee:
Thanks deboopi2, I will try that.:good:
[Xperia Z3 Compact General] Vaxerld96:
Awwwwome!!

This worked so goood !! :good: thanks dude :o :) Now when I have backed up my TA with TA-Backup tools before I will open my bootloader. So if I understanded When I will relock bootloader , i have to flash stock rom? is this stock rom "D5803_23.1.A.0.690_Customized_NCB.ftf" and restore TA with TA-Backuptools?
[Xperia Z3 Compact General] kwchan98:
Thanks for your guide first. I have rooted my z3c(4.4.4 .577) few months ago, and now I still using 4.4.4 and want to update to 5.0 now.

I want to ask, if update to 5.0 with full root access, which steps I can skip?

Or simply say, what steps I need to do of update to 5.0 with root access if I am using the rooted 4.4.4 rom?

Thanks.
[Xperia Z3 Compact General] carvedblocbk:
another successful root

I was getting 'processing of loader.sin finished with error' but and it went away only when I re-downloaded the flashtools and the flash image.

Overall, no problems and SUPER easy to follow instructions. Thanks!

Z3Compact D5083
[Xperia Z3 Compact General] Cerveza:
I installed CM 12.1 on my Z3C a couple of days ago following this guide (to a certain point). Do I need to do something with the TA backup? Can there something be done for the poor camera performance?
[Xperia Z3 Compact General] Lazer72:
Poor camera performance in general or because you unlocked the bootloader?
[Xperia Z3 Compact General] Cerveza:
I installed custom recovery and CM 12.1, so yes I unlocked my bootloader and that's the reason. Is there anything we can do about it?
[Xperia Z3 Compact General] Guids:
GUYS PLEASE HELP!

I have a bootloop.

I followed the guide all the way to the end, but at the last step, 46, I get a bootloop. Sony logo. What can I do?

I have not build my own firmware. I used: Or, for Lollipop - fw 23.1.A.0.690 (Android 5.0 March 2015)

update: I might have flashed a nonrooted KITKAT base on top of the rooted Lollipop version.

update2: booting again :)
[Xperia Z3 Compact General] Lazer72:
Cerveza, did you make a backup of your TA beforehand?
[Xperia Z3 Compact General] Cerveza:
Yes
[Xperia Z3 Compact General] Lazer72:
Then look at the second entry of the FAQ in the first post.
[Xperia Z3 Compact General] el Filou:
Hi everyone, and first thanks to everyone who posted information. I just bought my Z3C, and after reading the whole thread from the start I was wondering: as we backed up he TA partition after rooting the downgraded firmware, wouldn't it be easier then to just unlock the bootloader, do whatever we want with the phone (install recovery, custom kernel, root), and then restore the TA partition to relock and get back the 'value-added' Sony features?

Or have I missed something? When your bootloader is unlocked, you can install a custom recovery and then flash root and anything you want from there, right?

Or would this cause problems for warranty? Does Sony keep a list of phones for which the bootloader unlock was requested and deny warranty based on that instead of the actual state of the bootloader?

Thanks.
[Xperia Z3 Compact General] Armadillo_Hands:
Down

nut.xperia-files.com/ seems to be down. I tried downloading the dual recovery installer yesterday but it stopped about halfway. and then the website was down. I looked again and it's still down. Is there anywhere else I can download it or am I just stuck on this step?
[Xperia Z3 Compact General] kemonine96:
https://nuskunetworks.box.com/s/hzdo43olfbll4p9awkqhqh951cwnupwp

I've got the dual recovery zip's up and will mirror everything else shortly just in case something else happens.
[Xperia Z3 Compact General] wnpdckpthdcy:
OTA available

I've checked first ten pages of thread and found nothing, so I'll ask here. I've rooted my Z3C with Lollipop 5.0.2 based on the instructions, but:

1) are OTA Updates still possible?

2) if so: is root kept or does an update un-root device?

3) if OTA is not possible: do I always have to go through steps 33 and following (i.e. flashing pre-rooted and non-rooted images)?

4) will OTA or manual flashing always bring back bloatware that I've removed as root?

Regards
[Xperia Z3 Compact General] chris5s:
OTA updates will unroot your device.

Personally I would wait until a pre-rooted version of a significant update is released, then just flash that via recovery.

Of course, updates to system apps won't un-root, just the system upgrades, i.e. 5.0.1 -> 5.1 etc.

Peace.
[Xperia Z3 Compact General] MvD42:
no root?

hey guys,

at first THANK YOU for the possibility to root this great phone.

I'm using the D5803, full wiped as described. Build: 23.0.A.2.93, rooting tool v3.1

i have followed the instructions very carefully. now i got stuck on number 21/22:

"You should be rooted now, if you get an error "Device not rooted" trying running the tool once more"

everythings seems to work fine, no error appears, the rooting tool messages a successful rooting process. but when i'm trying to backup my TA it says:

Waiting for usb debugging... ok

pushing backup ta tools... ok

checking for SU binary... FAILED

requesting root permissions... FAILED"

then the clean up part starts and no backup.zip is created. does that mean that i have no root on the phone?

the superuser-app is installed, but when it starts there comes a message with "there is no SU binary installed" tried it several times in normal and safe mode with no success.

So i can't figure out where the problem is. any ideas how to get it work? Maybe the solution is to flash a pre-rooted firmware?

log:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Failure

pkg: /data/local/tmp/exploitServiceApp.apk

Success

Starting: Intent { cmp=org.keenteam/.ServiceExploitActivity }

Cleaning up now...

Gewartet wird 15 Sekunden. Drcken Sie STRG+C, um den Vorgang zu beenden...1413121110 9 8 7 6 5 4 3 2 1 0
Success

pkg: /data/local/tmp/Superuser.apk

Success

thanking you in anticipation!

MvD42

EDIT

Solution was to use giefroot v3. Google helps to find the download :)
[Xperia Z3 Compact General] regular-john:
No firmware directory

No firmware directory in new flashtool anymore, what I do ?
[Xperia Z3 Compact General] MvD42:
When flashtool starts first time, it will ask you, where to create the user directory. create it at your choice, afterwards it will contain the firmware directory.
[Xperia Z3 Compact General] difto:
Guys I have an issue. My phone is rooted and has the dual recovery installed. I want to update the firmware but I can't. When I follow the steps again, I cannot remount the system partition to reinstall the recovery. I was like ok then I will just use the old recovery but I can't enter. Tried everything. Led is just red and red, no more purple. The phone is still rooted though... NDR utils do not help me, when I click restart in primary recovery the phone just restarts...

What can I do?

Thanks

EDIT: according to TWRP manager the recovery is installed (version 2.8.6.0). I update via OTA and still have root actually.

EDIT2: problem solved, I reinstalled the recovery. ADB could not mount the system partition (operation not permitted) but Super Manager could with root access. Once the partition was mounted I could reinstall the recovery in 2 sec :D
[Xperia Z3 Compact General] legato89:
I followed this guide and would like to apply the new OTA update. WHenever I try to apply it I get a message saying the download can't be verified. I used the pre rooted FW in the OP and am on 23.1.A.0.690 and would like to be on the most up-to-date FW.
[Xperia Z3 Compact General] capaxdoli:
A note on the camera upon rooting

There are several posts expressing concern upon the deterioration of the camera quality upon rooting (Refer post no.366) . There is an explanation at post no.367 that the steps posted here does not affect the camera quality. The reply post i.e. post no.367 invited feedback and I though the following thread would be relevant with regard to the quality of the camera. More information would empower us to choose whether we need to root or not (assuming the quality of the camera is important for the one who uses the phone). The link is as follows:

http://xdaforums.com/showpost.php?p=56013540&postcount=1

Do please post your experience about how your camera works after rooting. Thanks.

Edit 1: Just now came across this video:

https://youtu.be/w7qEk2cK5UY

This seems useful for those who only need root access without taking up the hassle of custom ROMs. Please don't post about the trustworthiness of the app - it has all been said before.

Edit 2: Another video here:

https://www.youtube.com/watch?v=12x6zyLInHU

Edit 3: This is another link on xda about the camera quality post and pre root. There certainly is a visible difference when the bootloader is unlocked! However, if the phone is rooted without the bootloader being unlocked, as shown in the videos, I wonder what the position would be?

http://xdaforums.com/z3-compact/general/camera-picture-samples-unlock-t2898606
[Xperia Z3 Compact General] difto:
The change in quality has nothing to do with root. When you unlock the bootloader the DRM keys are wiped, some software algorithm for camera pictures processing is protected with those DRM keys so it doesn't work anymore. If you don't unlock the bootloader but still root the phone you keep the keys intact.
[Xperia Z3 Compact General] seed_87:
Upgrading to lollipop from pre-rooted kitkat

Posted on wrong thread!