yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] CAL7:
Does the following tell you anything about my rw problem?

u0_a312@D5803:/ $ su
root@D5803:/ #* mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=886952k,nr_inodes=178260,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=886952k,nr_inodes=178260,mode=750,gid=1000 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=886952k,nr_inodes=178260,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=886952k,nr_inodes=178260,mode=755,gid=1000 0 0
tmpfs /tmp tmpfs rw,seclabel,nosuid,relatime,size=886952k,nr_inodes=178260,mode=755 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,discard,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/apps_log /mnt/idd ext4 rw,seclabel,nosuid,nodev,noexec,noatime,discard,data=ordered 0 0
tmpfs /storage/remote tmpfs rw,seclabel,relatime,size=1024k,nr_inodes=256,mode=750,gid=1028 0 0
/dev/block/platform/msm_sdcc.1/by-name/LTALabel /lta-label ext4 ro,seclabel,nosuid,nodev,noexec,noatime,nobarrier,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/uicc0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/dev/block/vold/179:65 /mnt/media_rw/sdcard1 texfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,umask=0007,allow_utime=0020,nls=utf8,min_prealloc_size=64k,max_prealloc_size=60874M,readahead=4M,fail_safe,discard,errors=continue 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other,allow_utime_grp 0 0
[Xperia Z3 Compact General] lysp:
I managed to root without deleting data. Took a few goes, but worked.

I followed another post:

http://xdaforums.com/z3/general/root-d6603-77-downgrade-data-wipe-t3016521

The only issue i had i think (from memory) was forgetting to enable flight mode, and mock locations.
[Xperia Z3 Compact General] Proday:
I had the same problems on my win 8 x64, there were no chances to make drivers to woark. I switched to my brother computer with win 7 and everything woarked fine from first.
[Xperia Z3 Compact General] dunrite:
Hi all

I used this guide to root and install recovery on my D5803. It all went smoothly. After everything was done and rebooted into system I checked the apps to see if the SU icon was there which it was along with the NDRUtils icon.

I then tried to boot in recovery, with no luck at all. I went to Nuts page and followed his steps,

and different combinations of the power and volume buttons. The phone just boots as normal. There's no LED flash.

I used the NDRUtils app and selected reboot to recovery. It just does a normal reboot. Like recovery not there at all.

I repeated the guide a second time with the same results.

Has anyone had this problem or am I just flat missing something.

I would be grate full for any help.

Thanks...dunrite
[Xperia Z3 Compact General] jean001luc:
Thank you.

Xposed however does not succesfulyl hide root for the application in question (work related apps plus Barclays mobile banking).

Is it possible to do a complete unroot?

My end goal is to remove bloatware - after that I don't need root
[Xperia Z3 Compact General] charliebigpot:
Good stuff :D I'm glad it worked for you :good:
[Xperia Z3 Compact General] Nesousx:
Hi all,

I have followed the first post to root my device and it worked. However, I am strugling with the non writable /system paritition.

Symptoms :

my /system is read only:

mount | grep system
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0

I can manually remount as rw, but it won''t take hold after the reboot.

Weird things, is I had no issue so far with several "root" apps : Titanium Backup, Xposed Framework, Adaway. They all works flawlessly. However, if I want to create or delete a file inside /system (even though the file exporer is granted root access) I have an error and can't do it. As mentionned earlier, my /system boots as ro, and I can remount it manually as rw.

What I tried :

I have flashed RICDefeat.zip from recovery and,

I even tried this : http://xdaforums.com/showpost.php?p=58421809&postcount=1108 but it didn't help either.

Any help would be greatly appreciated.
[Xperia Z3 Compact General] istux:
Thank you guys... there's no need of my test anymore :good: and no need to correct my tutorial in "stock firmware" thread as well :victory:

Well, so if you uncheck "data" before downgrading and then before upgrading,

the data partition is safe

and the only issues you get are the

errors I quoted above

, which get fixed when you revert back to .77 at the end of the process

[MENTION=2851630]bilboa1[/MENTION] If you change idea in the future, you can insert a note inside the OP that points to this post, in order to help who needs to keep data.

People keep asking the same questions over and over again ;)
[Xperia Z3 Compact General] Sptz:
I tried to copy a file to /system and it didn't work, so, I'm assuming I encountered the RO mounting issue. So, I tried flashing the fix in the OP and nothing has changed. Still can't copy anything to /system, so effectively, Titanium is only able to freeze apps but not uninstall them.

Anyone faced the same issue and knows a fix?

Many thanks

---------- Post added at 04:58 PM ---------- Previous post was at 04:33 PM ----------

I have the exact same issue, flashing the RCIDefeat.zip did no good as well.

Have you tried uninstalling the app "Albums" for example with Titanium? Try that after backing it up and see if it holds after a reboot. That's the issue I'm having, I'm only able to freeze those xperia system apps. :(
[Xperia Z3 Compact General] CAL7:
Same here. I've done everything I've been able to research that is supposed to address the rw issue: 2.8.1 dual recovery, RICdefeat, the adb commands. I'm VERY open to suggestions.

Yes; No.

Ditto.

I haven't tested that, but will. I initially had problems using TB at all because I had the removable sdcard as my backup location and TB couldn't write to it. I changed that to internal sdcard, and at least now, it's working.

Edit: was able to delete "Album" app through a reboot. Then restored from TB.
[Xperia Z3 Compact General] Sptz:
So you actually can delete it. Did it disappear from the drawer etc and stayed crossed in TB? This is annoying so much argh : l
[Xperia Z3 Compact General] CAL7:
Yes, all that. But I can't write to /system, so it's not all roses. :-[:(
[Xperia Z3 Compact General] phanmo:
If you can mount system as rw through terminal, why not just run the script at boot? There are a bunch of terminal apps that can automatically run scripts.
[Xperia Z3 Compact General] Sptz:
I just tried to mount it using this command: mount -o remount,rw /system

It comes back saying "operation not permitted". Any ideas?
[Xperia Z3 Compact General] alxtorrentazos:
CAL7, "SDFix: KitKat Writable MicroSD" is your friend (Google Play Store )if you need to write the TB files into an external microSD card. Before you run it, just do the "SU, MOUNT -O REMOUNT,RW /SYSTEM" trick on "Terminal Emulator for Android" :)

Phanmo, could you please provide a few steps guide about how to create a script that launches automatically when you turn the phone ON or when you restart it? I'm a completely noob.

TIA

Alx
[Xperia Z3 Compact General] bilboa1:
Added as faq item, best of both worlds!
[Xperia Z3 Compact General] Shaydar:
Not certain actually.

Maybe you need to have an unlocked BL to flash the whole rom from recovery.

But I you follow this method, you just flash the system from the recovery, and the rest with flash tool.
[Xperia Z3 Compact General] Jonky0:
I asked because of this thread.

It says that it's not a problem to have a locked bootloader, so I thought it was fine to flash directly from twrp.

I'll try to get more info on the matter and in the case I'll find something useful I'll share it with you.

Anyway, thanks for the help, I appreciate that!
[Xperia Z3 Compact General] RaXelliX:
If you have working TWRP already then that means you already completed the process once so you can flash prerooted rom in recovery. Even if it's newer android version (like 5.1.1 vs 4.4.4 but currently not 6.0.1). You just have to clear /data in addition to /dalvik and /cache (when upgrading to a newer build in the same android version you dont have to clear /data). Clearing /data is important when upgrading to newer android version - otherwise you'll summon a spirit from a horrible place.
[Xperia Z3 Compact General] Jonky0:
I see, then I'm gonna try as soon as possible! Thank you very much!

P.S.:

I nearly died here hahahah
[Xperia Z3 Compact General] spcd:
twrp is always stuck on clearing cache here, so I never clear cache. Doesn't seem to be a problem here.
[Xperia Z3 Compact General] penaqui:
Works with Stock Android 6.0.1 - 23.5.A.0.570 - Unbranded - Malaysia?
[Xperia Z3 Compact General] RaXelliX:
No
[Xperia Z3 Compact General] fsirigu:
going Marshmallow

Hi guys, I followed the guide some time ago, and it all worked out like a charm :)

now Marshmallow is rolling out and I've already received the notification.

Unfortunately, after a reboot the updating process fails miserably :(

I guess this is due to the recovery which is not stock

my question therefore is: is there a procedure to go back to stock rom or stock recovery? do I need to restore DRM keys in the process? Thanks soooo much

EDIT: update completed through Sony Companion, so now I've got Marshmallow (rooting is gone, though!)
[Xperia Z3 Compact General] Lazer72:
How is it? Better than 5.1.1?
[Xperia Z3 Compact General] niczoom:
Does anyone know if we expect this process to work for Marshmallow (6.0.1) or will that require a separate process for upgrading with root?
[Xperia Z3 Compact General] HvdW:
Flash a nice ftf frome here and you're there.

Here is here: http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706
[Xperia Z3 Compact General] UndisputedGuy:
Absolutely brilliant guide, thanks greatly for putting the time and effort into this
[Xperia Z3 Compact General] bert682:
Great guide

Great guide, works perfectly!

I did encounter an issue that I couldn't find any other posts mentioning. Wonder is there an actual solution?

I had encryption enabled that was controlled by pattern unlock. When I downgraded to 23.0.A.2.93 it only would allow me to enter a password / code, assuming the swipe was added in a later FW version. Couldn't really get a way around this and so just allowed the SD card to be wiped as I had a full backup anyway.

Is there a way to actually resolve this save adding a passcode before the downgrade?

Just curious!
[Xperia Z3 Compact General] rokiabal:
Hey, got a question. I'm currently on 5.1.1 23.4.A.1.232. When I downgraded to 23.0.A.2.93 using flashtool I got into bootloop. Tried multiple times to no avail. Is there any solution to this? :(
[Xperia Z3 Compact General] Lazer72:
Check all the WIPE boxes and flash it again
[Xperia Z3 Compact General] phoenix31121:
This is happening because either you could have a bad fw of .93 or because you didn't check ☑ the wipe boxes when you flashed the firmware. Most prolly its the 2nd case and i had the same problem at first but found out myself. But after you flash the prerooted pcrf fw through recovery and other than system files from flashtool its not necessary to wipe data.

Happy flashing mate!
[Xperia Z3 Compact General] rokiabal:
Thanks for the replies! Worked perfectly. Gonna flash SliMM now :)
[Xperia Z3 Compact General] galaham:
Hi,

Marshmallow does not work with these steps in my case. Lollipop worked just fine.

First I tried 23.5.A.0.570 (1289-4696) but if I boot my Z3 Compact only shows the Sony writing, turns black and starts showing it again. With power and volume up I turned it off and tried again to start my phone but without success. Went back to Lollipop (23.4.A.1.264 1289-4696) with success. Tried again Marshmallow but this time with the other german market (1293-2052) - failed again. With system included (no root) it works.

Is there anyone with rooted Marshmallow that followed these steps?
[Xperia Z3 Compact General] kajar9:
For me it booted until the waving animations and then it got stuck with sound bugged on for few seconds and reboot.

For me nordic versions eventually worked (nervewrecking)... but it all depends on what device you have and what region it is configured.

I'd like to ask how can I get back to recovery after I installed the latest firmware (last step complete)? MM rom
[Xperia Z3 Compact General] toxic-hero:
The Marshmallow way

Also, it is worth mentioning where to get the two needed parts:

SuperSU SystemMode: http://xdaforums.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120

RecRoot: http://xdaforums.com/z3/general/wip-sony-android-6-0-mm-t3337357 (no, it's not a problem if it is on a big brother Z3 thread)

hey, [MENTION=2851630]bilboa1[/MENTION], could you add the MM method to the OP?
[Xperia Z3 Compact General] pangyaaaaaa:
hi, i got a new sony z3 compact with 6.0.1 (23.5.A.0.575) :crying:

its possible follow the op tactic to downgrade to 4.4.4 and root it after upgrade to lolipop ? i dont want 6.0.1 really some apps i need dont work and i need root.

Iam not sure. would be great if someone can help me get a working 4.4.4 or a Andorid 5 rooted working on my phone.

thank you much
[Xperia Z3 Compact General] Lazer72:
Yep. Just follow the OP. As soon as you downgrade all traces of 6.0.1 are gone. Just remember to check all the WIPE Boxes when downgrading. Then follow the the instructions
[Xperia Z3 Compact General] pangyaaaaaa:
thanx i will flash 4.4.4,root, backup drm keys and stay with it :)

Edit: Report back: worked! iam on 4.4.4 now and i have a Backup from my DRM Keys. Got a last Question: can i save my current fw using flashtool? i dont have installed a custom recovery.
[Xperia Z3 Compact General] toxic-hero:
i really don't understand the question. since you flashed 4.4.4. you had to download the fw prior to it. so you already have it.

anyway, i really don't recomend 4.4.4., it's an old android, full of security holes. i recomend you to upgrade to 5.1.1., and later (when the bugs are fixed) to 6.0.1.
[Xperia Z3 Compact General] pangyaaaaaa:
the question was: after config the rom updates debloat ect. i want to save the rom as flashable firmware is this possible with flashtool? i dont have a custom recovery installed.

yep you right with android 4.4.4 but i need root. maybe i do an ota to android 5 and find a way to keep root..

(if you know a good easy way would cool if you share with me =) )

kind regards and thanx
[Xperia Z3 Compact General] toxic-hero:
ah, i understand. i don't know if it's possible to do with flashtool but debloating is so easy, that i do it manually everytime i start from scratch.

anyway, why don't you want to get a recovery? it really simplify things a lot. you can bake yourself your own prerooted roms (i don't trust third party custom roms), do nandroid backups...
[Xperia Z3 Compact General] pangyaaaaaa:
you absolutly right!

but since its a brand new phone i dont want install custom recovery, iam not sure how come back to "stock recovery?!" in case i need use my warranty!

so i cant use prerooted roms, no selfbuild or downloadet ones.

i could install 5.0.1 and kingroot but this i really dont want iam happy that iam not need using kingroot.
[Xperia Z3 Compact General] toxic-hero:
getting rid of custom recovery is the easyest thing in the world: you flash (any) stock rom with flashtool and this is it. no more root, no more custom recovery. i did so many times.
[Xperia Z3 Compact General] pangyaaaaaa:
thanx wasnt sure if the recovery is include in the stock rom files.

then i can think about updating the phone :)
[Xperia Z3 Compact General] toxic-hero:
if it's prerooted stock, then it's included. if not, it's not.

stock means a factory rom, without modifications.
[Xperia Z3 Compact General] pangyaaaaaa:
now i dont understand.. can you clearly write where the stock recovery is include? in any rom or only in stock or modded?

i thought the stock recovery is on the stock rom aswell on the moddet ones?!
[Xperia Z3 Compact General] toxic-hero:
there is no such thing as stock recovery with sony devices. sony devices are without a recovery.

i was talking about stock roms vs. stock prerooted roms. stock (factory) roms are without recovery, stock prerooted roms can be with or without custom recovery.
[Xperia Z3 Compact General] pangyaaaaaa:
correct. ok i understand you now.

thank you
[Xperia Z3 Compact General] Lazer72:
Also if you want to upgrade to 5.1.1. Do not do it through ota, you'll lose root.

Look at the OP on how to create a Prerooted firmware then flash.
[Xperia Z3 Compact General] pangyaaaaaa:
there are ways keep root through ota.(dont know if actually for the sony z3c, but i done this often on Motorola and else.)

i know how the op created a pre rooted fw but i cant flash it without custom recovery thats was the point.

toxic-hero told me its not a problem with the custom recovery and restore to default (no recovery).

yet i can think about to upgrade to 5x. no problem at all.

but thanks anyway
[Xperia Z3 Compact General] fango_vk:
.. as I understand there's (still) no way to root 6.0.1 (.575) version? .. only downgrade, then root, then upgrade?

thanks!
[Xperia Z3 Compact General] Lazer72:
Yes, same with 5.0. Only 4.4.4 can be rooted directly.
[Xperia Z3 Compact General] toxic-hero:
the reason for this is that downgrading/rooting/upgrading process is so trivial that noone want's to loose their time inventing a new method for android 5/6.
[Xperia Z3 Compact General] RaXelliX:
But assuming you do do the long method do you end up with root+recovery on 6.0.1?

And what about recovery itself? As i understand NUTs recovery is not working. What is working? CWM?
[Xperia Z3 Compact General] franklinzero:
In that step, needs to be that version 23.1.A.... or i can use the lastest one?
[Xperia Z3 Compact General] Lazer72:
It has to be the same one you used to create the pre rooted firmware
[Xperia Z3 Compact General] franklinzero:
Looks like i did everything right then, but still not working with D5833_23.5.A.0.570_1289-0407_R5D then i do everything again with D5833_23.4.A.1.232_1289-0407_R5C and now its fine.

And a read all the pages of forum now, sorry for make the same question whats already beem made so many times.

Thanks bro.
[Xperia Z3 Compact General] toxic-hero:
yes, root and recovery. if you follow the manual word by word.

no. Dual recovery isn't working. you have to find (or make yourself one, which i recommend) ROMs made with RecRoot, so you end up with TWRP recovery ans SystemMode SuperSU.

http://xdaforums.com/showpost.php?p=66983006&postcount=1405
[Xperia Z3 Compact General] nri_tech1183:
OP can you make root for marshmallow as well?

Your kitkat and lollipop is amazing, now people are awaiting on marshmallow.
[Xperia Z3 Compact General] limited experience:
anybody on forum in london who can update my 5803 sony z3 compact

hi all

must say before start not inclined and no experience of phones at all other than using and updating apps :(

History. was with o2 few years, got the new replacement phone few months back before left to go to three.

sony have updated the z3 compact i am told in uk now but i will not get marshmallow because i am no longer with o2 or some unhelpfull info like this. Also even though i paid o2 for the phone i cant get rid of all their stuff on the phone or their logo or o2 app ect.

Anyway o2 say hi go away you no longer a customer even though phone is only 4 months old, basically tough

So went onto internet been reading so many ways to update this phone to marshmallow but every one i follow to download some file or another doesnt work from one web site so you go to another it tells you to do something now completely different and contradicts the first one. Scary somewhat

I have got my phone rooted now and in developers mode and usb debugging ect

So my question clearly all you gents ladies on here appear to know what you are doing, is anyone living in london who can actually do this that i can come bring my sonyz3 compact 5083 and T9 tablet to and you can plug your usb leed to yuor computer do your magic and hand them back to me and say all done buy me a drink or several

really appreciate some help

N
[Xperia Z3 Compact General] Lazer72:
Do you really need root? Or do you just want fresh marshmallow?
[Xperia Z3 Compact General] limited experience:
Now that is very good question, i was reading what said on internet to do that is half problem from reading on here also very confusing what should have done:(

What i am trying to do is update from 5.1.1 android to 6.0 or above and get rid of all o2 bloatware from device

Help appreicated

---------- Post added at 08:53 PM ---------- Previous post was at 08:48 PM ----------

6

What i had hoped to do was after i could get link point browser on phone to it, it downloads one file and direct inside phone it updates itself.

I read somewhere also on internet there is a way to re-direct the ip address the auto update directs itself to as i understand now it goes only to o2 and if it goes to sony direct, then i would be downloading effectively only a factory version of android 6.0 to the phone and it would auto rdelete all o2 stuff of it and update itself auot. also i am not gamer or huge social media guy i use mainly work about 10 apps and google maps ect and camera the rest just sits on phone never used
[Xperia Z3 Compact General] Lazer72:
What you want is just to flash the stock firmware, you have no need of root. You will lose all data that is not backed up.

This is what you need to do;

You must have access to a windows pc.

1. Download the .ftf firmware file for your phone from here:http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706

Choose the Stock 6.0.1 for the D5803, country doesn't matter.

2. Download and install Flashtool onto your pc from here http://www.flashtool.net/downloads.php

3. Place the downloaded .ftf file into C:\Flashtool\firmwares folder on your pc.

4. launch Flashtool and wait for it to complete the sync, then click the lightening symbol, click ok, then select the firmware in the list.

5. Check all the boxes in the WIPE catagory

7. click flash and follow on screen instructions.

8. wait for it to finish and tada, new phone.
[Xperia Z3 Compact General] limited experience:
wow now that sounds lot more simple that all other will try now

fingers crossed