yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] meetdaleet:
Required:

- Flashtool in the latest version from: http://flashtool.net

- DualRecovery by NUT as installer.zip: http://nut.xperia-files.com (Download the correct one for your device and at least version 2.8.1+!)

- Root on 23.0.A.2.93 (Download) for example with this method: http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598

Featurelist:

- SuperSU integrated

- DualRecovery by NUT integrated (2.8.1)

Can be used on locked and unlocked bootloader.

Firmware Files:

D5803 and D5833

- Flashable.zip's and FTF files in folders - sorted by devices

The Flashable.zip i've created with the mighty tool PRFCreator by zxz0O0.

Installation/Update (short) guide:

0. Downgrade to the firmware 23.0.A.2.93 and root it (with giefroot)

0.1. Install the LockedDualRecovery by NUT with the installer.zip (install.bat)

1. Put the downloaded update file (ROM.zip) on your device. I recommend you to put it directly on the device.

2. Boot into the recovery (While rebooting -> when the info LED flashs -> press shortly the VOL button for the Recovery you prefer)

(On Recovery you may create a twrp/cwm backup of your device if you get any issues on updating process!)

3. Flash the ROM update file (.zip) with "install zip".

4. Wipe cache and dalvik cache (perhaps under advanced).

5. Reboot to system.

You may have to wait some minutes on the first boot because of initializing system for first time (optimizing apps etc.).

What to do if you get permission errors? (While installing for example the Recovery)

Untill NUT updates his DualRecovery you should fix permissions with ADB with the following commands:

(tested with command line from the giefroot_V...\files\ directory -> shift + right mouse -> open cmd "here")

Either you could try the modified DualRecovery (installer) by NUT (modified by monx): http://d-h.st/iM9p

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

Special Thanks to:

[NUT] (DualRecovery and his efforts!)

zxz0O0 (giefroot rooting tool, PRFCreator and his efforts!)

XDA: DevDB Information

[STOCK][D58XX][4.4.4] Firmware 23.0.1.A.5.77 Generic [ROOT/XZDR/SuperSU], Stock Firmware Xperia Z3 Compact

Contributors

meetdaleet

ROM OS Version: 4.4.x KitKat

ROM Firmware Required: Stock - 23.0.A.2.93

Version Information

Status: Stable

Release Date: 2015-01-25

Created 2015-01-25
[Xperia Z3 Compact Android Development] muzab a:
What about d5833 ftf
[Xperia Z3 Compact Android Development] meetdaleet:
[MENTION=4774671]muzab a[/MENTION]

I'm currently creating the firmware files and will upload them further.

I think they will be available at the evening ;)

Kind Regards

meet
[Xperia Z3 Compact Android Development] abj2aqua:
Which ftf to use for d5833?
[Xperia Z3 Compact Android Development] Matteo Mazzu:
Great , thanks! In case we can go back to totally stock? (For any case) And for lollipop I imagine will have to flash a rom, right? :)
[Xperia Z3 Compact Android Development] meetdaleet:
You may delete some specific folders on internal SD (sdcard0) and flash a ftf without changing anything (like wipes etc.).

I've just added the D5833 files to the OP. ;)

Kind Regards

meet
[Xperia Z3 Compact Android Development] kornelgmk:
The firmware file is D6603, not D5803
[Xperia Z3 Compact Android Development] meetdaleet:
Sorry i've just put the wrong link on the OP.

Corrected it right now :)

Thanks for yozr help!

You can find all my files under:

http://mega.leetbox.net

Kind regards

Meet
[Xperia Z3 Compact Android Development] daphix:
Thanks a lot!
[Xperia Z3 Compact Android Development] pw1nce:
i read in the op that this can be flashe don locked bootloaders aswell as unlocked but i also heard that if we want to flash any rom so we must unlock bootloader , so im a bit confused now? can i just flash it on locked bootloader?
[Xperia Z3 Compact Android Development] meetdaleet:
The "ROM" i've opened to you on this thread is a stock rom (just with SuperSU and DualRecovery integrated).

There is the stock kernel inside why it runs on both. Locked and unlocked bootloader!
[Xperia Z3 Compact Android Development] pw1nce:
ok thnx broo , do we need to wipe system , data and then flash or dirty flash ? thanks

edit : i just did as mentioned in op , after flashing i downloaded the recovery and ran install.bat , it installed the new recovery mentioned in op , it rebooted into that recovery , the icons are too damn big , i can only see ''install'' , wipe , backup option on all the screen , now i have no idea how to get out of here , power buttonn evn if i hold wont work , any suggestion?
[Xperia Z3 Compact Android Development] _MutantX_:
Press on Power + high Volume
[Xperia Z3 Compact Android Development] Sydrox:
Two questions, the .93 fw was country specific, this update doesn't require a specific version?

I feel kind of clumsy asking this but i haven't found the meaning of "XZDR", what does it mean?

Thanks!
[Xperia Z3 Compact Android Development] pikeylfc:
My root seems to have broke after flashing.Can't mount in root explorer
[Xperia Z3 Compact Android Development] meetdaleet:
[MENTION=3555225]pikeylfc[/MENTION],

Did you read the OP?
[Xperia Z3 Compact Android Development] TiMiN8R:
There's a problem with RIC on .5.77, making it impossible to mount system r/w. Nothing to do with root, as you can do other root actions just fine.

You just need to update XZDR, [NUT] just uploaded 2.8.1, which has been fixed for Z3C on .77. Also TWRP has been updated.

Edit: Sorry, see that you already updated OP for XZDR 2.8.1.
[Xperia Z3 Compact Android Development] ovizii:
Same question here what is XZDR?
[Xperia Z3 Compact Android Development] TiMiN8R:
XZDualRecovery
[Xperia Z3 Compact Android Development] Hackpb:
What is XZDR? There are two versions one with that and other one without...

Another question: after done all the steps in the op, if we flash another kernel (with locked boot) it will boot?

Thanks
[Xperia Z3 Compact Android Development] meetdaleet:
The installer.zip is (as it is named?!) a installer which you can run for example under windows (install.bat). The flashable.zip is an updater-script which can be installed via recovery.

You can't flash a custom kernel on locked bootloader...

I recommend you to make a backup of the trimm area as it's described on the following tutorial;

http://xdaforums.com/showthread.php?t=2292598&highlight=ta

After saving your TA you can go straight forward to unlock the bootloader to flash custom kernels/custom roms with custom kernels.

Kind regards

meet
[Xperia Z3 Compact Android Development] Hackpb:
I was asking the difference between the version with XZDR and the other without? One have dual recover and the other one doesn't?

Thank for your explanation about kernel.
[Xperia Z3 Compact Android Development] meetdaleet:
So i don't know what you mean with "XDZR and other without".

Both are DualRecoverys by NUT. The installation method is only different.

Explain it to me a bit more -> my english is not that good. ;)

Kind regards

meet
[Xperia Z3 Compact Android Development] Hackpb:
In this page http://nut.xperia-files.com/

You can see a flashable.zip 2.8.1 with the XZDR in the name and other without that in the name. I haven't yet time to install and see so I am asking to later select the best one...

Thanks
[Xperia Z3 Compact Android Development] meetdaleet:
[MENTION=4242896]Hackpb[/MENTION],

as explained before ->

Flashable.zip means that you can flash it through an Recovery.

Installer.zip means that you can install it through an install.bat which is usable under a PC.

The Recovery you install with those scripts is the same... Only the installation procedure is different.

Either you can ask recovery specific questions at the official thread by NUT:

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

Kind regards

meet
[Xperia Z3 Compact Android Development] abj2aqua:
Hi. Is there any other website where these files are available? Mega blocked by my ISP :(
[Xperia Z3 Compact Android Development] lukacs.attila:
It seems NUT has revoked the 2.8.1 version. If someone has a copy of that, could you please share it? :)
[Xperia Z3 Compact Android Development] tribemac:
He took it down because it was buggy so you better wait until he resolved it ...
[Xperia Z3 Compact Android Development] lukacs.attila:
Yeah, found it on his topic :) THX!
[Xperia Z3 Compact Android Development] ovizii:
I'm a bit stuck here with my D5803.

I flashed the .93 firmware I downlaoded from the links you gave and flashed it, apparently successfully but as son as I restart I get two alternating popups: android.process.acore has stopped followed by android.process.media has stopped, rendering hte phone fully unusable as I cannot click anything because of those constant popups.

I tried again with the same result.

I then tried rooting as directed here, seems to work, still the popups persists.

NOW about 60 minutes later, I see SuperSu popping up but cannot grant anythins as these popups prevent me again...

Will try and continue with this process hoping if I finish it that error will be gone.

P.S. I selected NOT to wipe data, left anythign else on default when flashing .93 - should be ok?
[Xperia Z3 Compact Android Development] Fivecent:
Quick question. Now that you've integerated XZDR into the ROM's flashable zip, do we still need to flash it again after installation as it says in the install instructions? Just wondering because 2.8.1 has been taken down from Nut's site.
[Xperia Z3 Compact Android Development] meetdaleet:
Until NUT will release it's new Recovery this step is obsolet.

You can fix the permission after intial boot on .77 firmware as I've introduced at OP.
[Xperia Z3 Compact Android Development] Fivecent:
Great.

I am going to do the following steps to go from 100% stock to updating to this rom and having /system write access. Let me know if you see any issues.

1. Downgrade software from A.5.77 to A.2.93 using Flashtool

2. Root the A.2.93 software using the giefroot tool found here (http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598)

3. Install Dual Recovery 2.8.0 using the installer .zip found here (http://nut.xperia-files.com/)

4. Reboot to recovery and flash the ROM file

5. Flash the Sony RIC killer script RICdefeat.zip which will give me r/w access to /system without having to go through ADB. Found here (https://github.com/dosomder/SonyRICDefeat)

6. Wipe Cache and Dalvik

7. Reboot

Sound about right?

Edit: Followed these steps and it worked perfectly.
[Xperia Z3 Compact Android Development] Frontier3:
I did the above steps and titanium backup can't uninstall system apps and adaway won't copy the hosts file (suggesting again, that it can't modify /system)

I thought the permissions fix in the OP was supposed to resolve that? Or am I mistaken?

Does anyone know of a way to fix the issue where some apps don't have access to /system?

Thanks
[Xperia Z3 Compact Android Development] Fivecent:
I found that I had an issue with Xposed installer getting into /system, so I went into root explorer and manually flipped the r/w switch there, then completed the installation. Worked just fine.
[Xperia Z3 Compact Android Development] Frontier3:
Just attempted to set it in root explorer and it gave me a permission change error
[Xperia Z3 Compact Android Development] abj2aqua:
Hi

Can anyone one of you please make a torrent file for the pre rooted 5.77 firmware or upload it elsewhere as I can't seem to open Mega. Thanks
[Xperia Z3 Compact Android Development] meetdaleet:
I'm currently uploading new flashable.zip files where the (now fixed) recovery by nut is included.

I think they will be available today at the evening.

Kind regards

meet
[Xperia Z3 Compact Android Development] mickliq:
Silly question, is it not possible to make a "A.5.77" stock pre-rooted flashable zip, rather than having to downgrade, root and then flash? It looks like someone's done that for the Z3 (6603)?
[Xperia Z3 Compact Android Development] meetdaleet:
If it would be possible -> explain it to me and so on i dont have to spend time to upload/generate flashable zip files. ;)

AFAIK it is not possible to root the .77 firmware directly, as the giefroot only works on the "older" kernel from the .93 firmware.

Either you can not simply flash a prerooted flashable ROM without any (custom) recovery at this point, because sony does not have a stock recovery preinstalled.
[Xperia Z3 Compact Android Development] mickliq:
If I understand, your answer is "no" because the only way to get recovery is to install it after the root exploit on .93?
[Xperia Z3 Compact Android Development] tribemac:
Yes you need to have root before you can install a recovery.
[Xperia Z3 Compact Android Development] Howlbeck:
Here you go.

//nvm
[Xperia Z3 Compact Android Development] abj2aqua:
Thanks a lot :)
[Xperia Z3 Compact Android Development] mickliq:
EDIT: NVM
[Xperia Z3 Compact Android Development] moetoby:
here i find another method to get root on latest .77

1. Get root on old firmware with [MENTION=3975929]zxz0O0[/MENTION] masterpiece tool (OP) and install Dual Recovery by [MENTION=4904057][NUT][/MENTION]

2. Create a pre-rooted firmware from latest .77 fw ftf with the not less outstanding PRFCreator tool, including latest SuperSU and Dual Recovery flashable zips (just follow thread instructions)

3. Put pre-rooted firmware flashable zip at internal memory (/sdcard0)

4. Open NDR Utils app and reboot into TWRP recovery

5. Flash pre-rooted firmware and then... POWER OFF device (DO NOT REBOOT)

6. Open FlashTool and flash latest .77 fw - EXCLUDING SYSTEM !!!

7. Done!

i want to kown the difference between yours and this. And why he has the step 6?
[Xperia Z3 Compact Android Development] meetdaleet:
The prerooted Firmware i've uploaded is created with PRFCreator so there is no difference. But I integrated everything from the stock ROM like kernel, fota, modem, LTA etc...

If you include it all you don't need to reflash the kernel/'everything except system'. ;)

Kind regards

Meet
[Xperia Z3 Compact Android Development] moetoby:
so ,you just check kernel, fota, modem and LTA,then we don't need to use flashtool to reflash?it seems quite simple
[Xperia Z3 Compact Android Development] meetdaleet:
[MENTION=6366663]moetoby[/MENTION]

So far thats correct. ;)

As an example. (I'm signing the zip files too)

Onwards i've updated the flashable.zip files right now with the new 2.8.1 DualRecovery included.

Kind Regards,

meet
[Xperia Z3 Compact Android Development] moetoby:
but this error means what?the kernel really be integrated?
[Xperia Z3 Compact Android Development] meetdaleet:
[MENTION=6366663]moetoby[/MENTION]

There it throws no kernel errors out. The rpm does nothing to see with kernel.sin. ;)

I got the same error on Z3 and Z2 devices. At Z1/C for example there is the rpm included.

Kind Regards

meet
[Xperia Z3 Compact Android Development] moetoby:
thanks a lot,i'll try my Zip later:)
[Xperia Z3 Compact Android Development] abj2aqua:
What are the changes in the new firmware? Is it possible to incorporate them into the previous 5.77 firmware you uploaded on the 25th without having to download the whole thing again?
[Xperia Z3 Compact Android Development] meetdaleet:
There is just the new DualRecovery integrated (2.8.1) as in the earlier build there was the 2.8.0 included.

You can simple flash the updated DualRecovery (flashable.zip) via Recovery. This fixes permissions issues of the older build. Nothing more has changed so far ;)

Kind Regards

meet
[Xperia Z3 Compact Android Development] moetoby:
when you downgrade to the firmware 2.93,you should wipe data first,otherwise this trouble will happen to you phone.

before wipe data,you should backup your important data like photos etc.;)
[Xperia Z3 Compact Android Development] frogees:
Smoother them a baby bottom !

Huge thanks to all parties involved . I now have my Z3c peering like a kitten after a feed .

:good:
[Xperia Z3 Compact Android Development] charliebigpot:
but once you root you maybe manage to back up your data with titanium b and once you've done that you can re-flash the latest firmware (wipe data) and then restore the apps with titanium b?
[Xperia Z3 Compact Android Development] Sydrox:
Hi there,

I have a few questions about this method.

1) Does this method wipe all my device data(installed apps,photos, etc..)?

2) The .77 fw you provided is a DE one what does that mean? I also saw a lot of .77 fw in the FTF thread going by .77 - unbranded - conutry name.

3) what does it mean to Wipe cache and dalvik cache?

Thanks!
[Xperia Z3 Compact Android Development] mickliq:
I followed this method. It took quite awhile as had some hiccups, particularly with Flashtool (on a Mac - very unintuitive interface!). The other big roadbloack I ran into, was getting the right Windows drivers installed to install the dual recovery (I did that through Parallels/Windows 7). Without the correct USB driver, the install.bat won't work for Dual Recovery (funny enough, it worked fine for the root install).
[Xperia Z3 Compact Android Development] meetdaleet:
While downgrade you can geht issues as you are talking about.

IMHO the best way to enjoy the device with root is the fresh/clean install. ;)
[Xperia Z3 Compact Android Development] Sydrox:
Never mind found the problem
[Xperia Z3 Compact Android Development] Sanien:
Dual recovery not working

This is SOOOO frustrating! I have successfully downgraded to older firmware and got root (root verified). I run the install.bat for dual recovery and everything seem ok, the phone reboots etc ans says enjoy recoveries.... only there is no recovery. No matter how many times or how hard I press vol + or vol - nothing happens. I tried installing Rom manager and have it try to reboot into recovery as I might have been too slow or fast pressing the buttons at boot - same result nothing, the phone just boots straight into OS!!§!!!!!"#!"%&Q¤&#/ Tried to flash the flash-able version with flashify, seemed successful again yet same result.

WHAT AM I DOING WRONG????

Thx
[Xperia Z3 Compact Android Development] Hackpb:
Hello

It seams that the install bat is buggy like

Is already written in this post http://xdaforums.com/showthread.php?t=3013343

So all credits to the author as he says:

"Unfortunately the script is a bit buggy here, so first go in the "files" directory then go to File menu of the windows explorer and select "open command prompt..."In the command prompt type "adb shell" then "su" (allow root on the phone if needed) then "mount -oremount,rw /system". That's it, close the prompt window.start install.bat and follow instructions (hit 1 (allow adb/root on the phone as needed)You should be in recovery automatically now. (if not, reboot and when the LED change colors push volume UP repeatedly)"

Hope it helps, and all thanks to the author.
[Xperia Z3 Compact Android Development] zoome9:
Had a similar issue to you. However if you have FlashTool installed. Open the program with your phone connected to your PC. It'll check for root and will say something like "Root Access Allowed". While FlashTool is in the background, go ahead and install dualrecovery install.bat file option 1 (SuperSU). It's a weird bug, but over the weekend I've been reverting from CM12 and Stock numerous times and that seems to be what works.

Hopefully that works for you.
[Xperia Z3 Compact Android Development] Sanien:
Thank you however it did not work. When I run the mount command it says Operation not permitted. :(
[Xperia Z3 Compact Android Development] Sanien:
Thank you. Tried this a few times and still nothing. Well I guess costume recovery isn't for my device.
[Xperia Z3 Compact Android Development] Hackpb:
Have you done the permission in su?
[Xperia Z3 Compact Android Development] robyn402:
sooooo, i went ahead and installed this... this morning via the (dual) twrp recovery, and afterwhich installed the 2.8.1 recovery before i rebooted the phone

phone rebooted and won't turn on... though if i push power and volume or the yellow reset button + it will vibrate 3 times but just won't boot up

when pushing either i'll get a blinking red LED and sometime a bluish purple LED

****************************************************************************************************************************

EDIT : the sony PC compainion device update has since been successful in saving my phone, but now i'm curious what could have caused this... anyone have any suggestions?
[Xperia Z3 Compact Android Development] ovizii:
solved meanwhile.

With regards to the permission problems, can someone post the result when running

? I got a few not found messages followed by a success notification. How can I verify it is all good now?
[Xperia Z3 Compact Android Development] x1123:
I believed ... the kernel is NOT compatible / corrupt.
[Xperia Z3 Compact Android Development] BloodEdge:
so I don't need use flashtool to flash .77 exclude system anymore ?
[Xperia Z3 Compact Android Development] dhvenus:
deleted
[Xperia Z3 Compact Android Development] Zwulf:
[MENTION=5454444]meetdaleet[/MENTION] Could you please create a mirror for the .77 firmware (DE) as my provider throttles Mega and I'm only able to download with 10 kB/s from Mega. Google Drive or anything similar would be nice. Thanks in advance. :)

Edit: Solved. Downloaded it using TOR-Browser.
[Xperia Z3 Compact Android Development] me_ashman:
I keep losing my wallpaper. Any idea why?
[Xperia Z3 Compact Android Development] Rhonin86:
com.android.phone force closed

Hi folx , hi [MENTION=5454444]meetdaleet[/MENTION],

i recently encoutered the above mentioned problem. I tried to identify the reason for this "new" problem. It seems to happen if someone calls me and decides not to wait for me picking up the phone. In this case the phone app crashes. I attach a screnshot showing the related logcat entries - maybe someone got an ides on how to solve it. If i could answer the call immideately there is no problem at all...

I hope you got some idea - maybe exchanging the referring apk with another one - maybe taken from this ROM and giving the right permissions - but additionally erasing the .odex file :confused:

Maybe someone is more experienced with this stuff.. :fingers-crossed:

First test based on the information of this thread - Fixing permissions from TWRP-recovery

Result: some exposed moduls do not work as expected. -> one additional reboot -> NO SUCCESS :( , the problem still exists

Second test based on this report was also unseccessful - tried to clear all caches and data of SIM ToolKit and phone app and additionally cleared data and cache from recovery.

The Solution:

i reflashed the ROM over the existing system (dirty flash) and it worked again

Cheers & THX in advance

Rhonin
[Galaxy S 4 Q&A, Help & Troubleshooting] james_lpool:
Hi, i rooted my phone and now want to make it official again, i still was using the stock rom on my phone, in su i done a unroot but phone still shows as custom.

can anyone help?

james
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
If you have a custom recovery, flashing a stock recovery may help. However, I personally recommend flashing a stock ROM through Odin. This will change the status to official, but keep in mind it will not touch the Knox flag if set to 0x1. There is no way to reset the Knox flag, so don't ask.
[JASJAR, XDA Exec, MDA Pro ROM Development] kevinede:
Hi everyone, can anyone supply the ringtones from the previous PDAVIET (I think it was around 2.01.8)?

I really liked the default ringtones on this.

I have now upgraded to 2.10.02, which I find is amazing. Upgraded last night, and it is so good, I think a little wee may have come out!

Anyone that can help with the ringtones, I will be grateful.

Kevin :)