yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] MickieH:
The links should be fine, but here it is again --> https://mega.co.nz/#!qlAETCqJ!Ln4c0MncBq2XPA37gFWeY3VZVz77qk8iJMDiFbjQ3jI

So that is 5.0.2 Customized UK pre rooted, with NUT's dual recovery.

You do not flash that with Flashtool, you install it in recovery.

Did you use Nuts FLASHABLE zip? --> https://mega.co.nz/#!vl4kjRCL!vwO63HbKUkUlVIowXp7WAjEZG_XFutJkm9IBnJrCLrA

If you use the INSTALLER zip, full root will fail.

The flashable zip is flashable through recovery, and so will also work in PRF Creator.

The installer.zip is much bigger and is meant to be ran from a PC.

What versions of Flashtool and XperiFirm are you using?

EDIT - I updated the links in the original guide, so they work again. Not sure why they weren't, I hadn't moved anything that I know of.

Any quotes of my guide will still contain the old links though.
[Sony Cross-Device General] pietro18m:
Hi guys, i have used thi tool to create a Z3C rom (.28, the last) with root and XZDualRecovery.

I have root acces but i can't go in recovery mod. If i long press power and volume down (so, twrp), device run normally android. If i long press power and volume up, device remain powered off.

How can i resolve this problem?

Thank you
[Sony Cross-Device General] najar360:
I already delete the file. Then try to create another zip using diff region ftf, another weird extension were create. I dont know whether prfcreator create the file, but it is create inside same folder.
[Sony Cross-Device General] gamer649:
We have the same problem on the M, maybe it is possible to use a singular recovery like CWM or TWRP? Or does it have to be dual?
[Sony Cross-Device General] zxz0O0:
Did you close the application before it finished? And yes, you can just delete it. It's temporarily created during the process but should automatically get deleted after it finished.

I don't know about these devices. Do you have a flashable zip with single recovery? If yes, then just try to select that for DualRecovery.
[Sony Cross-Device General] RalphLauren:
[MENTION=3975929]zxz0O0[/MENTION]

@ everyone knowledgable ,

I have XZ2 with locked bootloader, but luckily rooted with rootKitXperia and I do NOT have custom recovery.

But certainly this tool is the magic for the future FW upgrades for us with the locked bootloader.

However, I got a question.

How do I flash the created "flashable.zip" ???

Yes, I know I can do it via custom recovery, but I do not like to mess with the recovery.

Can we use the adb commands to flash, and if yes, what that commands are?

Thanks in advance!
[Sony Cross-Device General] zxz0O0:
As stated in the first post, it is to be flashed with a recovery menu. If you are rooted but don't have a recovery menu, I advise you to install [NUT]'s dualrecovery using the file Z2-lockeddualrecovery2.7.154-BETA.installer.zip from http://nut.xperia-files.com/
[Sony Cross-Device General] Lasantha:
Wow thanks a lot and you are featured yey....
[Sony Cross-Device General] RalphLauren:
Thank you very much for the swift reply.

I know about recovery from the first post, but was hoping that there is some other way to flash it.

I just got some bitter aftertaste from using custom recovery last year on my XZ...but it seems that the custom recovery is unavoidable in this case...right?
[Sony Cross-Device General] foliasis:
Xperia J

Hi I am unable to find Dual Recovery for Xperia J on the NUT site. However there is an img of CWM+TWN Recovery for Cyanogen Kernel available for Xperia J at XDA. So is there a way to make it work??
[Sony Cross-Device General] nalab1:
Hi [MENTION=3975929]zxz0O0[/MENTION]

Sorry for the questions! But in the OP you say -

SuperSU zip can be downloaded from here - is this the UPDATE-SuperSU-v2.02.zip

And [NUT]'s dualrecovery can be downloaded from here - is this the Z1-lockeddualrecovery2.7.154-BETA.flashable.zip

OR

Z1-lockeddualrecovery2.7.154-BETA.installer.zip

(My phone is a 6903 - Z1)

Regards,

Alan
[Sony Cross-Device General] zxz0O0:
Are you using a custom kernel? If no, can you please link me to the thread.

You use flashable.zip from [NUT]'s site. I added it to OP.
[Sony Cross-Device General] nalab1:
Hi [MENTION=3975929]zxz0O0[/MENTION],

Thanks for the reply! I have created a zip and oit took about 4 minutes to create.. Will try and flash it at the weekend and see what happens!

Regards,

Alan
[Sony Cross-Device General] lozohcum:
what if I don't want to include recovery?
[Sony Cross-Device General] andrman1:
dualrecovery.zip for what is it?
[Sony Cross-Device General] kamalmawa:
[MENTION=3975929]zxz0O0[/MENTION] First of thank you very much for all your hard work.. This is going to be a huge time saver. Mine get stuck at "Adding rpm to zip" job 5/7.. Tried few times but the same result. Thanks
[Sony Cross-Device General] zxz0O0:
Currently it's not possible as I didn't think someone would want to do that. You could however just select an empty zip file for dualrecovery or something like that.

What if you don't select kernel under include? Could you link me this FTF file?
[Sony Cross-Device General] juanpirulo:
First of all thank you very much. Great tool.

I allready try with the Vodafone 133 z1 firmware, which is supposed to come with a security fix, and i include the kernel in my first zip and this finished with a semiroot system. I cant write on system but dualrecovery is working now ( whith the NuT´s method i wasnt able to get the dualrecovery working at all) i gonna try without kernel to see if i get a full root. cheers
[Sony Cross-Device General] zxz0O0:
That shouldn't make a difference. Since you are saying that dualrecovery is working, could you try flashing dualrecovery.flashable.zip manually in recovery? If system is still not writeable afterwards, you should contact [NUT].
[Sony Cross-Device General] kulvertti:
Thank you [MENTION=3975929]zxz0O0[/MENTION] for your hard work. Nice tool. However I have same problem that the other guy whos process stop job 5/7 "adding rpm to zip". But if you don't include kernel, process went through smoothly. Device is SGP511 and link to ftf is here: https://mega.co.nz/#!kcxxjaLA!itErjRi2fYPPswal-c7XasF_lAvPKyY4GwEzY3xgHZ0
[Sony Cross-Device General] scifan:
For what it's worth, I tried it with a ".230" image for my C6506, and it worked like a champ...

Nice and simple....
[Sony Cross-Device General] kamalmawa:
I can confirm.. If I didn't include KERNEL it works fine... No problems including FOTAKernel & LTALabel
[Sony Cross-Device General] Lasantha:
If you have root use nuts recovery for pc and install using that
[Sony Cross-Device General] pietro18m:
It worked with the app. Thank you, but why in my prerooted rom there wasn't the recovery? I have added the zip in the tool...
[Sony Cross-Device General] saf4xdadev:
I'm not sure about your device but on mine I don't press the vol down/up key until after I see the logo banner or get first vibration. Also if the dualrecovery installed you should have ndlutils app installed you can see in your apps. Ond more thing if dualrecovery didnt install at all you may have used the installer version instead of the flasher version. Just a possibility. Hope this helps maybe.
[Sony Cross-Device General] pietro18m:
On my device (Z3C) this is the buttons combination. Now i have ndr utils, after the problem i don't know if it was installed.

Didn't understand this "One more thing if dualrecovery didnt install at all you may have used the installer version instead of the flasher version"
[Sony Cross-Device General] MickieH:
Does your phone vibrate twice when you turn it on, and the led light up?

It should.

Turn your phone on by holding power only.

When it vibrates twice, press volume up or down.

Do you have the NDR Utils app, in your app drawer? Looks like a red devil.

Open that app, and choose your primary recovery.

Try reboot to primary recovery, and it should auto boot you're recovery without pressing anything else.
[Sony Cross-Device General] pietro18m:
Hey man, problem is solved 3 messages ago :D, now it's ok.

My last question was: why my prerooted rom not inclueded the recovery? I have added the zip in the tool...
[Sony Cross-Device General] saf4xdadev:
Dualrecovery comes in two flavors....one a flasher version and one an installer version. In my previous post I thought maybe you may have tried to use the installer version in your zip. You need to use the flasher version. Just a thought.
[Sony Cross-Device General] pietro18m:
Thank you so much.
[Sony Cross-Device General] zippy01:
So I used this (Not what I wanted to do but anyway)

I used the supersu zip didn't include recovery and I don't have root :(

Any ideas?
[Sony Cross-Device General] MickieH:
Include recovery FLASHABLE zip, not the installer zip

Works for me.

Only including SuperSU didn't give full root.
[Sony Cross-Device General] zippy01:
Looking at the download page seems that I downloaded a very out of date version UPDATE-SuperSU-v1.94

I am sure last night it said that was the current version :confused:

Maybe the reason why
[Sony Cross-Device General] MickieH:
You want 2.46

https://mega.co.nz/#...skZHPx-sOdOY0VU
[Sony Cross-Device General] MetalOllie:
Could I use this on my Xperia M4 Aqua, running stock 5.0 please?
[Sony Cross-Device General] MickieH:
There's no reason why not.

Root your phone, and download SuperSU, and a flashable recovery for your particular phone, and use them to create your flashable zip.

If you're not rooted, I'd check our the M4 Aqua section here at XDA for more info on that.
[Sony Cross-Device General] MetalOllie:
Thanks.. I've created the rom, without any errors, however there doesn't appear to be a custom recovery for the M4. Do you know of another way of flashing, or of a recovery that would work? The M4 Section. On XDA only has about 10 posts, none of which have anything terribly helpful at the moment!
[Sony Cross-Device General] MickieH:
Ah, yes, I've just looked and there's not a lot there yet, is there.

You really need to include the recovery zip when creating the pre rooted firmware.

When I first created one, I left out dual recovery and you end up with not full root.

I did a quick Google for M4 Aqua TWRP and not much comes up. Might have to wait a bit, or maybe someone else knows if there is one or not?

It's still a new device. I'm sure the M4 section will soon fill up.
[Sony Cross-Device General] uchihakurtz:
If this method can be used for Unlocked Bootloader device, how does one flash the zip file? Cuz flashtool only support FTF file, right? Sorry for the noob question.
[Sony Cross-Device General] MickieH:
Hiya.

This method can be used on both locked and unlocked bootloaders.

To flash a zip file, you use a custom recovery. To be able to do that you need to root your device, and install a recovery. You then boot into recovery, wipe what needs wiping, and then install the zip file.

There's plenty of information around about rooting, if you haven't already done it, and yes, to install a pre rooted firmware, you need to be rooted first.
[Sony Cross-Device General] nagusia:
I followed this guide which uses your tool: http://xdaforums.com/sony-xperia-z1-compact/general/stock-step-step-to-rooted-14-5-0-270-t3124395. PRFCreator is very impressive - I wish I'd come across it before. Thanks.
[Sony Cross-Device General] MetalOllie:
If I created (which I have) a prerooted firmware, can I safely flash it on an Xperia, without using or including recovery, via Flashtool, and without bricking the phone. I assume it would wipe user data and apps etc, which isn't a huge problem, although the guide indicated it won't. Or is it the case that Flashtool can only flash an unmodified ftf file?
[Sony Cross-Device General] :
You already know the answer. Flashtool will only flash .ftf files...original non-modified Sony software.
[Sony Cross-Device General] MetalOllie:
Yeh, just realised that's the case, and this produced a zip file, not an ftf.. Brain is going fuzzy from spending a week trying to figure out a way to root the M4!
[Sony Cross-Device General] Rootk1t:
[MENTION=3975929]zxz0O0[/MENTION]

Does, PRFCreator modify baseband (modem) somehow?

I compared sizes of amss_fs files in stock .ftf and in flashable.zip.

In flashable.zip amss_fs_1 and amss_fs_2 files became empty, and amss_fs_3 decreased in size.:confused:
[Sony Cross-Device General] zxz0O0:
Because it's not a sin file anymore, it's extracted ;)

It does not modify baseband.
[Sony Cross-Device General] :
Hey! Question. If I want to add an advanced stock kernel, do I add it to "Extra zip" or "Recovery zip"?
[Sony Cross-Device General] bdithug:
This always seems to happen with every firmware I root with Sony. Everything works fine and then one day I get a notification about a system update. I check Flashtool and xperiafirm and I'm using the latest. Why am I getting a system update?
[Sony Cross-Device General] kt-Froggy:
Same thing just happened to me... The updated was only 270MB or so, but the build number was listed exactly the same as I already had. In a "momentary lapse of reason", I decided to go ahead, just for the heck of it, to see what happens. LOL, stupid me, I know... :silly: Now my phone is not powering up anymore. Flash mode and FastBoot mode are still OK, so I will have to reflash it, install the recovery, etc. Good thing is that I made a nandroid backup yesterday, so I should be able to restore everything. Well, if you don't have a problem, you should create it, right? :) Moral of the story: disable OTA updates if you are rooted, for your own good...

Update:

OK, the phone is back up and running with root and recovery, fully restored from backup. Update service is disabled. :)
[Sony Cross-Device General] bdithug:
Ahh so it's not just me.. I went into the update centre, disabled the auto update, then forced it to refresh and it then said my system is up to date. Weird but yes, moral of the story, disable ota updates if rooted :)
[Sony Cross-Device General] bdithug:
Weird I have that same update notification popping up again. This time it won't let me ignore it. Same build number, same file size, everything. Does anyone have a method to completely block or ignore ota updates?
[Sony Cross-Device General] ecksdeeay:
Isn't there an option to not be notified of the update you receive from the update screen....there was with KK!
[Sony Cross-Device General] bdithug:
Nope. The only option is to disable automatic updates:
[Sony Cross-Device General] ecksdeeay:
Used to be able to tap on the actual download, then had the option to disable notification of it again!!
[Sony Cross-Device General] MickieH:
Go in Sound and Notification.

Scroll down to App notifications.

Swipe across to all.

Find Update service and tick Block.

You won't see any notifications then.

Just for the record, I did notice on the US listing in XperiFirm, there were two releases with the same build number, but one said something like R3D, and the other R4D. Maybe that was the cause of the OTA update notifications?
[Sony Cross-Device General] ecksdeeay:
I received a small update notification when on 4.4.2 but there was the FULL update to 4.4.4, I downloaded the 100Mb or so update showing but it wouldn't install (& hadn't used PRFC'). No consolation though, sorry!
[Sony Cross-Device General] bdithug:
Ahh that could be it.. I could be on the R3D firmware.. Thanks!

I tried disabling the notification from sounds and notifications, but I don't get the option to block update Center. I can block every other apps notifications though, so Sony disabled the option to block otas
[Sony Cross-Device General] MickieH:
Oh my God, you're right, they've removed the Disable option for the update service . . . you could do that in KitKat. Sorry, I should have checked first.

How about using an app that can freeze, like Titanium Backup?

I have just tried it, and it will freeze the service. It then shows as Disabled.

That might cure future update notifications, but it does stop the service completely.
[Sony Cross-Device General] bdithug:
Thanks, I'll try that when I get prompted again. I just deleted update centres data and it goes away for a few days.
[Sony Cross-Device General] Celestial Fury:
[MENTION=5163717]MickieH[/MENTION] [MENTION=4564092]bdithug[/MENTION]

If Xposed works for you, Notify Clean by [MENTION=4501300]defim[/MENTION] removes the OTA update notification for me. The option to block the notification also no longer exists on KitKat.
[Sony Cross-Device General] mundodisco8:
Error on step 5/8

Hi chaps!

I'm having troubles creating my prerooted firmware.

I downloaded the firmware with xperifirm and made the ftf with flashtool. The supersu.zip is the one offered by Koush, and I use the latest version of the Nut's dualrecovery and added the Xposed zip too in extras. I'm trying to make a prerooted version of the latest generic UK firmware (10.6.A.0.454) for the Xperia Z, C6603, on windows 8.1 64 bits.

I have troubles if if flag all the "includes" on the right hand side. I left "sign" unchecked, as recommended, as I don't understand what does it do ;)

[IMG="Screenshot"]http://imgur.com/mdG7Zdi[/IMG]

If I uncheck them ( I tried with none checked and with only kernel and FOTA), it works, so I guess is the modem thingy. I tried to copy the files too, to have fresh copies not used by any process, to no avail. Do you guys have any ideas of what might be happening? I will try to reboot later on to release the files if they really are in use, but I can do it as of now.
[Sony Cross-Device General] mundodisco8:
It's me again.

I rebooted and tried again, only to fail at a later point. I tried this morning redownloading everything on a different computer, and everything worked like a charm in the first try. So as nobody reported this problem before (or at least I couldn't find anyone who did it), I would just ignore it. It must be something I did wrong.

As I said, redownloading the files in a different computer fixed it. No problems whatsoever.

Cheers!
[Sony Cross-Device General] shadowcore:
I created a flahable zip and tried to flash it in my recovery, CWM.

Nothing happend. The phone still loaded the custom rom I have,

Am I supposed to do something else here?
[Sony Cross-Device General] ecksdeeay:
Giving more detail to your prob' would be a good place to start!
[Sony Cross-Device General] krzychunh:
How to write zip file to SGP511 ? Do you have solutions ?
[Sony Cross-Device General] shadowcore:
Well, I did the standard thing. Took a ftf file, supersu zip and used prf creator with all the other elements checked. FOTA, Kernel, Signed etc.

I tried it 2 times, once with all of them unchecked and once with all of them checked. I had CWM running as recovery in my phone before and a custom rom. I wanted to try the prerooted stock rom.
[Sony Cross-Device General] ecksdeeay:
Okay!! (not saying I'll be able to help but it'll give me/others more, knowing what your specifics are)

Device=?

Model=?

ftf used ver.?
[Sony Cross-Device General] kulvertti:
You could try with TWRP. If it doesn't work log from custom recovery might be helpful.
[Sony Cross-Device General] shadowcore:
Also, I cant do a log right now. I had to flash stock rom ftf directly with flashtool as I need the phone right now. I had a problem with the previous custom rom I had , thats why I cant give you a log.

Once I get to install a custom recovery again, ill retry with TWRP.
[Sony Cross-Device General] ecksdeeay:
Not sure if your device needs downgrading to kk first but my Z Tab & ZR was done that way! i.e. root when flashed kk then flash the current ftf using PRFC loaded with SU and XDR
[Sony Cross-Device General] zxz0O0:
I released new v0.9 version for the tool.

Probably most important change for some of you is, there is now a settings file (will be generated with the first start) next to the exe. For now you can set a custom temp folder (i.e. on drive D:\) and choose to show a dialog to save the pre rooted firmware.
[Sony Cross-Device General] Rootk1t:
Didn't check thread for some time. Will it work with 2.8.20 recovery on Android 5.0.2?
[Sony Cross-Device General] juanpirulo:
Yep, at least its working with me on xperia z1. Cheers
[Sony Cross-Device General] juanpirulo:
[MENTION=3975929]zxz0O0[/MENTION]

I am trying to get the preroot zip for the new firmware for z3+4 \E6553_28.0.A.7.24_1295-6967_R4A.ft with the prfcreator 0.9 and i get this error when adding system to zip. Cheers

Edit

trying with 0.8 i get message " woot m8, so spooky "
[Sony Cross-Device General] zxz0O0:
For newer firmwares it still requires some changes. As the new firmware exceed the zip file limits either an ugly hack on my side or zip64 support for recovery menus is required. I have already messaged TWRP team but didn't receive any reply.
[Sony Cross-Device General] juanpirulo:
I gess you allready know about LaguCool tool UnSIN http://xdaforums.com/crossdevice-dev/sony/tool-unsin-sin-v3-unpacker-t3128106. cheers
[Sony Cross-Device General] taciogw:
Hi, i was trying to create a pre-rooted image for a .77 kitkat and i got these 2 messages

10/07/2015 17:16:38 - Info: Could not find rpm

10/07/2015 17:19:57 - Error: Could not execute Java. Is it installed?

Anyways the flashable-prerooted.zip is here. Did anything really went wrong? How can i fix?

Thanks!
[Sony Cross-Device General] juanpirulo:
About the rpm there is no problem some firmware have this file some not.

About the second error you should installer java un your machine, probably zip file its not ok. Cheers
[Sony Cross-Device General] hispanico957:
Dear zxz0O0 ...it's very strange. I build a flashable.zip in the same manner of the past with:

firmware, supersu, xzdualrecovery and last xposed, but after flash the file, xposed result not installed and i must flash again it from recovery and all ok.

I repeat the creation different times but with same result. Respect old release i change only xposed (xposedv66arm.zip)... so i dont understand because happened this.

It may be that the new Xposed should be flashed on your own?

Thank

Hispa
[Sony Cross-Device General] zxz0O0:
Can you upload your firmware?

UnSin tool will extract sin file to ext4 image. PRFCreator can also do that. But the problem is, that the ext4 image is 5GB size or more. This file can not be stored into a normal zip file (requires zip64). The recovery menus however only support normal zip files.
[Sony Cross-Device General] hispanico957:
YES.... here

and here there is building hlashfile that not install xposed

Thank

Hispanico
[Sony Cross-Device General] zxz0O0:
Package looks good. Can you flash it again and upload the recovery log?
[Sony Cross-Device General] hispanico957:
Here is

Hispanico
[Sony Cross-Device General] zxz0O0:
I actually meant the log from the recovery menu after flashing the zip. You can get it for example in TWRP through the menu entry 'Copy log to SD card'.
[Sony Cross-Device General] hispanico957:
Ok i try and it is here

Hispanico
[Sony Cross-Device General] hispanico957:
..........zxz0O0 some feedback ??

Hispanico
[Sony Cross-Device General] :
Feature Request

As a nice new feature I think it would be good to add some apk files to the zip, so we get some preinstalled apps on our "custom prerooted ROM" :D
[Sony Cross-Device General] Hamidreza2010:
[MENTION=3975929]zxz0O0[/MENTION] i want to edit ftf rom , because i want to delete many extra apps and add some other app

can i do that with windows ( not linux ) ?
[Sony Cross-Device General] zxz0O0:
It looks like unzip program is unable to unzip xposedv66arm.zip. Where did you get that xposed flashable zip from?
[Sony Cross-Device General] hispanico957:
I download from post of Xposed, but anyway i enclosed it on this reply

Hispanico
[Sony Cross-Device General] zxz0O0:
Seems the problem is fixed if a newer busybox is used. I will update busybox in next version, for now you can replace busybox in folder /utils of your flashable zip with this one: https://drive.google.com/file/d/0B8nLbtP1HtINdS1PWGZzMGtnNEk/view?usp=sharing to fix the issue.
[Sony Cross-Device General] hispanico957:
So if understand well...i build a flashable zip in normal way and after build the file, i replace busybox in folder /utils with yours

Correct ?

Thank again

Hispa
[Sony Cross-Device General] zxz0O0:
Yes, that is correct :good: Next version of PRFCreator will already include the newer version of busybox.