yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] Pi3rluigi:
What model? I'm on D6633 and all was fine, either XPosed framework install!

Inviato dal mio D6633 utilizzando Tapatalk
[Sony Cross-Device General] Rootk1t:
Also this FAQ may be usefull for you.
[Sony Cross-Device General] bigrammy:
Wow just what I was looking for Thanks :highfive:
[Sony Cross-Device General] akkufix:
Well, the "OT" was meant for my 2 pence :D

Unlocking is like "free your phone".

Don't forget to backup your TA, to relock it later again, if you want.
[Sony Cross-Device General] bigrammy:
Yes need root for backup of TA I think and struggling to get it on 5.1.1 and I don't think I can roll back without unlocking the bootloader :confused:

I sound like a total noob now :silly:

Maybe I should take a break and come back later with a fresh head on. :laugh:
[Sony Cross-Device General] sling-shot:
I do not know if this has been answered yet but I came across the same error today while preparing to update my Xperia ZR to Lollipop 5.1.

I think the error appears because the path to the file contains a space. I solved this by putting the PRFCreator directory at the root of C drive and placing all required files inside it. Once that was done I was able to successfully generate a signed zip.

Tagging [MENTION=3975929]zxz0O0[/MENTION] for reference. Thanks.
[Sony Cross-Device General] zxz0O0:
Thanks for the report. It's not a problem with the space in the directory name. The reason it can't find the file is because the working directory is not where PRFCreator is located. This will be fixed in the next version :good:
[Sony Cross-Device General] sling-shot:
I had a vague suspicion about this once everything was going well.

Thanks for the information. I stand corrected.

Tagging [MENTION=5401012]Celestial Fury[/MENTION] as heads up
[Sony Cross-Device General] alex_hk90:
Thanks for this - I just used it to create a pre-rooted firmware for my Sony Xperia Z1 Compact, and it seemed to install fine (from recovery).

However, now I can't seem to boot back into recovery (using either VolUp or VolDown).

The recovery I used was: Z1C-lockeddualrecovery2.8.22-RELEASE.flashable.zip

Is there some way I can check whether it has installed properly? I had CWM Touch recovery installed before (which I used to flash the pre-rooted firmware).
[Sony Cross-Device General] aidy.lucas:
Just reinstall your preferred recovery and your good to go.

D2303 5.1 customised NCB LB rooted Nuts t2u dual recovery bravia engine+x-reality debloated
[Sony Cross-Device General] alex_hk90:
Hmm, I just tried but it says it can't find su:

Look at your device and grant supersu access!
/system/bin/sh: su: not found
Press enter to continue AFTER granting root access.

I tried installing SuperSU from Google Play but that said it couldn't install it either...

This doesn't seem right to me - unless I misunderstood, the idea of PRFCreator is to create a pre-rooted flashable zip with recovery?

I guess I must have done something wrong as I don't seem to have either...

I've attached a screenshot of what the output zip from PRFCreator looks like.
[Sony Cross-Device General] zxz0O0:
Which version of PRFCreator did you use? Seems SuperSU and recovery was both not installed.
[Sony Cross-Device General] alex_hk90:
It was PRFCreator v1.1;

with files:

- FTF: D5503_14.6.A.1.216_1279-4727_R6D.ftf;

- SuperSU: UPDATE-SuperSU-v2.46.zip;

- Recovery: Z1C-lockeddualrecovery2.8.22-RELEASE.flashable.zip;

And options:

- Include: Kernel, FOTAKernel, Modem, LTALabel;

- Sign zip.
[Sony Cross-Device General] zxz0O0:
Not really sure what the problem was, the recovery log would be useful now. In the future always check recovery output if everything was installed. And I recommend to use TWRP.
[Sony Cross-Device General] alex_hk90:
Thank you for the fast responses.

Do you mean the log from CWM Touch?

I didn't notice anything untoward.

EDIT: I reinstalled using TWRP (after downgrading and re-rooting / installing recovery) and this time it worked fine (including recovery and su). So it does look like your recommendation of using TWRP is correct. Thanks. :)
[Sony Cross-Device General] Rootk1t:
Next time, check that on the first post stated: "TWRP is recommended for flashing!"

Also ticking sign is not necessary. See screenshot on 1st post.;)
[Sony Cross-Device General] o-l-a-v:
Will PRFCreator handle the new combined ZIPs from NUT? (combined flashable and installer in one zip)
[Sony Cross-Device General] zxz0O0:
Yes, [NUT] designed it so it works without any modifications :)
[Sony Cross-Device General] alex_hk90:
I saw the message but didn't think "recommended" meant "necessary". ;)

But fair enough, I should have followed the advice. :) It's just I'd always used CWM recovery until then.

Anyway, PRFCreator has worked well for me now (using TWRP for flashing). :D
[Sony Cross-Device General] sling-shot:
How to get TWRP? It is a part of NUT's 'dual' recovery right?

My problem of not getting a working root may have to do with that too.

I created the pre-rooted FTF by following the instructions. I had a rooted KitKat stock on which I had installed the dual recovery. It booted into TWRP in the beginning but when I actually went to flash the FTF, it was Philz that booted up to do the work. There was an error at the very end of process.

I got root with Kingroot later.

As you seem to have it right, could you please explain how did you make it right?
[Sony Cross-Device General] der_henk:
It's not necessary, Philz Touch and CWM working fine on my Z3C, Z Ultra and Z.
[Sony Cross-Device General] alex_hk90:
Yes it's part of NUT's deal recovery. I just booted up into TWRP (Power + VolDown) instead of PhilZ / CWM Touch (Power + VolUp) and flashed the zip from there. :)

---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------

Strange it didn't work for me on my Z1C. :confused: Oh well - good to know it can work but I'll stick with TWRP. :)
[Sony Cross-Device General] Rootk1t:
Nope. PreRooted .zips created starting with PRFC v1.0 (not using legacy mode), do not install under CWM.
[Sony Cross-Device General] zxz0O0:
Just tried installing a firmware created with PRFCreator 1.1 on CWM. Worked fine, no idea what problems you have :confused:
[Sony Cross-Device General] Rootk1t:
I think, that it was bug of compability XZDR with PRFC. Hopefully, it was fixed in XZDR 2.8.23.
[Sony Cross-Device General] lamale78:
Can someone explain me what I did wrong?

I'm on Z2 Tablet SGP521 and wanted to get newest firmware: [23.4.A.1.232]

I've been before on [Prerooted][flashable]zip[23.4.A.1.200][SGP521] Customized BAL working fine with teammac dual recovery

I've prepeared my own ROM with instructions from this tread, downloaded tft, downloaded dualrecovery, SU 2.46 and prepared prerooted flashable ROM with prfcreator.

I've flashed it, and worked fine. After restart I don't have neither Dual Recovery nor Root. What I did wrong?
[Sony Cross-Device General] alex_hk90:
Did you use TWRP to flash the ROM?
[Sony Cross-Device General] lamale78:
After flashing it asked me to get root, so I agreed. Then restarted. Recovery gone, Root gone. Why?
[Sony Cross-Device General] alex_hk90:
Sure, but which of the dual recoveries did you use?

When I used PhilZ/CWM it didn't work but when I used TWRP it did.
[Sony Cross-Device General] lamale78:
Use where? I was in teamwin recovery, flashed rom and restarted. Lost everything. Should I do something else?
[Sony Cross-Device General] Pi3rluigi:
Have you done a backup?

Restore, flash your pre-rooted rom wiping only cache and dalvik, before and after flashing, reboot.

I've done yesterday and all was fine, no data, root and recovery lost!

Inviato dal mio D6633 utilizzando Tapatalk
[Sony Cross-Device General] Pi3rluigi:
I think anyone here can tell you that what you have done here was wrong, not being with you. :)

Surely you've done a big mistake not backing up the rom with recovery.

So, if Titanium don't have root access, I'm pretty sure you have lost it

Put the Titanium folder in a safe place, your PC, and then try the whole procedure from KK.

Inviato dal mio D6633 utilizzando Tapatalk
[Sony Cross-Device General] lamale78:
Ok, I'll repeat the KK operation, and try to flash it again after that with my ROM, but what if this happens again?

I get to recovery, flash with my ROM and boom the same. How to avoid that? Should I do something else after flashing and before restart to no lose recovery and root again?
[Sony Cross-Device General] Pi3rluigi:
Cook another time your own rom, check carefully two time everything.

Have you download the original tft file, unpacked, removed what not needed,repacked properly?

Variables are so many, to say what happend.

Inviato dal mio D6633 utilizzando Tapatalk
[Sony Cross-Device General] lamale78:
I downloaded this by flashtool, not unpacked it, flash tool prepeared tft file.

Sent from Tapatalk Xperia Z3C
[Sony Cross-Device General] Pi3rluigi:
Ok, I've done it manually.

After unpacked you have to remove the device info. txt file and leave out two. ta file before repacking.

Don't know if this could be related with your problem.

Inviato dal mio D6633 utilizzando Tapatalk
[Sony Cross-Device General] sling-shot:
AFAIK with the latest Flashtool there is no need to alter anything. The files which are not compatible are automatically excluded. Hence it should be safe to go with default selection.

TWRP should be the best choice recovery to flash. Once you are in KitKat and rooted, use NDRUtils application to select it and reboot, then use it to flash the pre-rooted.zip.
[Sony Cross-Device General] lamale78:
Ok, I've done the whole procedure again, coming back to kk. My Rom is ok, it was philz recovery‘s fault.

Sent from Tapatalk Xperia Z3C
[Sony Cross-Device General] Vtrendzzy:
I read the op and i've a doubt about recovery. My device is xperia m2 dual D2302. I'm on locked bootloader so can't flash custom custom kernels yet. The problem is there's only one recovery tool available for my device and it's not flashable. It is install.bat file. I also created ftf from flashtools, added supersu too, but while flashing, it gave an error with loader.sin.

I've the pc companion update downloaded. Just help me make a pre-rooted zip.
[Sony Cross-Device General] aidy.lucas:
It's in a flashable zip aswell or use nuts t2u dual recovery like me. Works great try using older version of flashtool aswell to create the ftf

D2303 5.1lollipop customised NCB LB rooted Nuts t2u dual recovery bravia engine 2+x-reality debloated viper audio
[Sony Cross-Device General] ThemGo:
What happens if the ftf-file contains simlock.ta? Will PRFCreator or TWRP sort it out - or will the device be hard-bricked afterwards?
[Sony Cross-Device General] zxz0O0:
All *.ta files are excluded.
[Sony Cross-Device General] ThemGo:
Cool! :cool:
[Sony Cross-Device General] Vtrendzzy:
How can i make a pre-rooted ftf instead of a flashable zip?
[Sony Cross-Device General] :
You can't modify a .ftf.
[Sony Cross-Device General] Vtrendzzy:
Flashtools has the option but. I'm noob btw.
[Sony Cross-Device General] :
It is not what you think it is. A .ftf file can be opened to make a system dump, but you can't add root or other mods. It looses its format or a special signature; some other terms I don't remember at this time. It won't be recgnized as a .ftf by Flashtool; making it useless.
[Sony Cross-Device General] Vtrendzzy:
got it.
[Sony Cross-Device General] ecksdeeay:
Do we remove the *.ta when moving the stock firmware files to the right in flashtool or not? because the tutorial just instructs us to move everything but others tell us to leave them out.
[Sony Cross-Device General] sling-shot:
All the newer versions are .ta safe.
[Sony Cross-Device General] ecksdeeay:
meaning they get automagically removed even if included?
[Sony Cross-Device General] sling-shot:
This is the author saying it.
[Sony Cross-Device General] Rootk1t:
Flashtool v0.9.18.6 | v0.9.19.10 excludes them automatically during flashing process. In v0.9.18.6 exclusion is hardcoded, in v0.9.19.10 selector screen will show a warning, if you want to include it.
[Sony Cross-Device General] ecksdeeay:
Now to Google what *.ta are /do? I guess they're what the carrier has added according to where and the SIM being used in the connected phone ?

Sorry to bring it up again

https://goo.gl/Mf5YxW
[Sony Cross-Device General] Rootk1t:
TA = Trim Area. It incorporates the DRM keys,Bravia Engine (X-Reality on newer ones) and IMEI.
[Sony Cross-Device General] TONYTONYAU:
Sorry but i dont understand

is it make ftf become a preroot zip? or just put recovery and root inside of the ftf file?
[Sony Cross-Device General] Bartekreaper:
[MENTION=6077430]TONYTONYAU[/MENTION] Its make flashable ftf :P and you can add SuperSu.zip to root or flashable recovery for recovery :P or you can add apps and other zips.
[Sony Cross-Device General] :
[MENTION=3975929]zxz0O0[/MENTION]

In what order does the program flash additional files? By filename or by the order in which it was added intially?

Edit: Asking because I flashed a framework to enable deodex after the zip, which erases all apps that I had flashed beforehand which made me reflash again individually.
[Sony Cross-Device General] zxz0O0:
Good question! :good: The order is

Extra flashable

In the order you added it initially in the GUI

APKs
[Sony Cross-Device General] KyleSforza:
Create FTF

Is it possible to create a ftf with this method to flash via flashtool?
[Sony Cross-Device General] ecksdeeay:
Why would you think that? it a different application, unless I am mistaken? this uses your device to do the install.
[Sony Cross-Device General] caqo71:
No, because ftf uses signed files from sony.

Enviado desde mi D6603 mediante Tapatalk
[Sony Cross-Device General] bastardociccio:
I have problem with v1.1

The zip that i flash lost my recovery and root...

I have to start again with flash firmare+root+dualrecovery...

Then I used v0.8 like usualy, and the zip that i flashed do the right job:

rom+dualboot+root
[Sony Cross-Device General] MickieH:
I still use v1.0 and that works fine for me on my Z3.
[Sony Cross-Device General] Rootk1t:
Tried v1.1 on TabZ 5.1.1 LP ROM. Working good:good:

Add this to 1st post, as information is valuable.
[Sony Cross-Device General] sling-shot:
Looks like v1.1 is not working for me too. I have followed all instructions as written. Everything runs alright and I get a properly signed zip that is verified to be correct by TWRP.

While flashing everything goes right until near end where after flashing SuperSU and DualRecover it tries to mount /system and fails. Then there will be 2 or 3 such failed to mount /system error messages and on reboot there is no root and no recovery.

I will try with v0.8 once again.
[Sony Cross-Device General] sling-shot:
I am sorry. It did not occur to me to save that or did not even know how to get the log.

Right now I have a TWRP directory in internal memory with nothing in it. Also a XZDualRecovery directory on external sdcard with log files dated 2009 which appear to be pertaining to the install of the recovery itself? I am not sure because the error I encountered is not mentioned in them.

I will again flash the same ZIP that gave the error and this time will catch the log.

Sorry for the lack of information.
[Sony Cross-Device General] sling-shot:
Recovery log - https://dl.dropboxusercontent.com/u/37931428/XDA/sling-shots Xperia ZR recovery.log

Images of screen while flashing -

https://dl.dropboxusercontent.com/u/37931428/XDA/Page 1.jpg

https://dl.dropboxusercontent.com/u/37931428/XDA/IMG-20151223-WA0021.jpg

https://dl.dropboxusercontent.com/u/37931428/XDA/IMG-20151223-WA0022.jpg

https://dl.dropboxusercontent.com/u/37931428/XDA/IMG-20151223-WA0023.jpg

https://dl.dropboxusercontent.com/u/37931428/XDA/IMG-20151223-WA0024.jpg

NOTE:

As I do not have root after flashing, the only way to get root is through KingRoot. With the new KingRoot it is no longer possible to replace it with SuperSU (at least with the method I used) so I installed XZDualRecovery using SuperUser method (option 2) from desktop.

Booted into TWRP, wiped dalvik, cache and flashed. There are no errors on screen during flashing of SuperSU or XZDualRecovery and there is only one Unable to mount /system error at the end. But on rebooting there is no recovery, no SU.

I read through the log, but I am not knowledgeable enough to understand what am I doing wrong here.
[Sony Cross-Device General] zxz0O0:
Thanks for the log. Can you check if /system is mounted before you install the zip? Simply run this command in adb

mount
[Sony Cross-Device General] casouzaj:
[MENTION=4725029]sling-shot[/MENTION], just a thought. I wonder if your phone is one of the first Z-series phones and your XZDualRecovery version is still 2.8.21. There is an issue in the install script on that version which prevents the system partition from being mounted whist in recovery. If this is your case, use XZDualRecovery v2.8.23, instead.
[Sony Cross-Device General] tetsuo55:
Hi [MENTION=3975929]zxz0O0[/MENTION],

In addition to the updated binaries i sent you, there are a few more things you could update which i could not (i dont have a compiling environment set up)

DotNetZip.Semverd has been updated to 1.9.7

signapk has also seen a few commits since your last compile. There is one very relevant commit in there namely this one

I hope you find the time to apply these updates and release a new version.

Thanks in advance!
[Sony Cross-Device General] sling-shot:
Also [MENTION=3975929]zxz0O0[/MENTION]

I guess you are referring to this http://xdaforums.com/showpost.php?p=62719893&postcount=6192

I have just located it after some more searching. About XZDualRecovery v2.8.23, I did try to install it on Dec 4 but the version available on that refused to install both from the computer as well from the recovery. Hence I went back to v2.8.21.

I will try to install the newer one available for download today (I know it is new because the SHA1 is different although the file name is identical).

Will get back with the report.

------------------------

About KingRoot. I am on locked bootloader and have no older/KitKat/JellyBean FTF to play with at present and hence for root I am limited to KingRoot.

With KingRoot 4.1 or something I was able to replace it using a script from here http://tiny.cc/fo78zx but the newer 4.6 'integrated' versions cannot be removed by that method. I have just gotten hold of an old 4.1 KingRoot APK. Will try with that, replace it with SuperSU 2.4 and install XZDualRecovery v2.8.23 and report back with findings.

Edit: I will also have to rerun PRFCreator with the new XZDualRecovery.
[Sony Cross-Device General] sling-shot:
[MENTION=3975929]zxz0O0[/MENTION] [MENTION=346743]casouzaj[/MENTION]

It looks like I might have jumped the gun in blaming PRFCreator for the errors I got while the actual problem was with XZDualRecovery.

With v2.83 XZDualRecovery, I have succeeded in flashing and retaining root without any apparent errors. In the first boot however I nearly had a heart attach when the screen appeared blank and phone did not show any lights/response. Thought I had to do a battery pull. However on close inspection I saw a very faint outline of Android is optimising apps dialogue, so I waited for another half an hour to find that phone had indeed booted up properly.

I still think that I do not have full read/write on /system (which was my primary reason for starting this endeavour) as I am not able to create or delete/rename a file in odex.app or odex.priv-app directories. I want this because I want to cleanly uninstall and remove all traces of certain system/privileged applications such as SonyEmail, YouTube, Google+ apps. I want to install them later as user apps from Play Store and link to SD card second partition using Link2SD so that even their DEX files (which are at times huge of more than 30 MB and occupying precious space on /data) can be moved to the SD card. This is a big PITA for us ZR users with only 8 GB internal storage and only about 4.6 of apparent available but less than 3 really available internal storage.

Here is the new recovery log - https://dl.dropboxusercontent.com/u/37931428/XDA/Sling-Shots Xperia ZR XZDR 2.83 recovery.log
[Sony Cross-Device General] zxz0O0:
Are you remounting system as rw? System rw is done by dualrecovery, if it does not work but the recovery is installed fine then it's most likely an issue of dualrecovery.
[Sony Cross-Device General] sling-shot:
No. I have not manually remounted system as rw. If that is required, then that is the step I am missing. In all my previous efforts even a manual remount did not work. So I thought once the DualRecovery was properly configured it would automatically work like in previous versions such as KitKat.

Just for clarification, you are asking me to open a terminal and type "mount -o rw,remount /system"? Is that the correct command?

Note: My actual technical knowledge is limited though I have been using PCLinuxOS for sometime and can follow instructions to some extent. :laugh:
[Sony Cross-Device General] casouzaj:
Do you have FolderMount installed? The first you run it after installation of XZDualRecovery, it offers to patch the system to gain system r/w access. After a new boot you will be all set!
[Sony Cross-Device General] sling-shot:
I have but it did not ask to do that. Once in the multiple experimental flashes, it did complain that it did not have read write access to SD card but never to system.
[Sony Cross-Device General] casouzaj:
No, it patches some XML file in the system partition to allow r/w access to the SD card! It's precisely the complaint you've talked about. That action will fix your problem!
[Sony Cross-Device General] Hamidreza2010:
[MENTION=3975929]zxz0O0[/MENTION] we also wait for new version

thanks
[Sony Cross-Device General] [NUT]:
No, on some ROMs these folders are actually mount points, which need to be remounted by hand.
[Sony Cross-Device General] zxz0O0:
Let me explain you. ext4 is a linux file system and can not be edited on Windows. You can remove files with a Linux machine (takes quite some time) but the point of this tool is an easy and quick solution.

What is the advantage of a flashable script which deletes the bloat? Well, you don't have to edit the ext4 image for every firmware, you can simply create an universal debloat script. Note that it's possible to include this script in flashable.zip, so you'd still have only one file.

If you are still unsure what I am talking about, please send me a private message and I'll try to help you achieve your goal.
[Sony Cross-Device General] ayong chia:
Hi zxz0O0,

Thank you for the superb app to make every Sony Mobile User easier in our life :) I have tried to create the Flashable.zip but not flash yet, as my device is now running on the lastest firmware, I have one suggestion for you, I think The PRFCreator's "Create" button should be disable once user hit the button (Greyish/I think you should get what I mean) to make the app more professional, and I daren't to try to hit the button while creating the flashable.zip, I hope nothing will be done if hit the button while creating flashable.zip, Cheers!
[Sony Cross-Device General] TimeTurn:
Thanks, I overread that :)
[Sony Cross-Device General] zxz0O0:
Thanks for your suggestion :) I will add this in next version. Currently nothing happens while jobs are running.
[Sony Cross-Device General] juliand95:
Help

XM C1904 Dualrecovery .zip ????
[Sony Cross-Device General] ayong chia:
What you quoted and what you ask? I think you are in wrong room :cyclops:
[Sony Cross-Device General] hussein1:
The error In Stage 2 for Xperia SP Build 207

zxz0O0 Thancks My friend.

Ask a question?

The error In Stage 2 for Xperia SP Build 207

See photo:

[IMG="http://xdaforums.com/attachment.php?attachmentid=2929400&stc=1&d=1410194568"]http://xdaforums.com/attachment.php?attachmentid=2929400&stc=1&d=1410194568[/IMG]

Where is the problem?:eek: