yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] Rootk1t:
do you know if this issue is fixed in xposed v67 or not?
[Sony Cross-Device General] zxz0O0:
Even though it could be fixed by packing the zip differently I doubt it's fixed in new xposed version. It's more a problem of PRFCreator and not Xposed :)
[Sony Cross-Device General] Rootk1t:
Waiting for a new version of PRFCreator:)
[Sony Cross-Device General] Ilko:
hello

I'm getting troubles here. The package seems ok but something goes wrong. The flash process stands only for 2 seconds then says it's done, but nothing is flashed

I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing '/external_sd/C5503_Stock_LP_10.6.A.0.454_PreRooted.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Archive: /external_sd/C5503_Stock_LP_10.6.A.0.454_PreRooted.zip
unzip: zip flags 1 and 8 are not supported
chmod: META-INF/com/google/android/update-binary2: No such file or directory
/tmp/updater: line 18: META-INF/com/google/android/update-binary2: not found
I:Legacy property environment disabled.
Updating partition details...
I:Data backup size is 95MB, free: 4020MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
[Sony Cross-Device General] hispanico957:
I rebuild flashfile and manually i replace new busybox and now all is fine on flashing

Thank

Hispanico
[Sony Cross-Device General] hispanico957:
Dear zxz0O0 i trying to build a new flashfile woth new firmware 5.1.1 for my Z3C... same procedure and also replace busybox but dirung installation i received this error:

assert failed package_extract_file system.ext4

Thank

Hispa

P.S.

I solved using version 0.8 :)
[Sony Cross-Device General] russel5:
Hello [MENTION=3975929]zxz0O0[/MENTION], i have one little problem.

I download your PRF project from github and compiling on Linux with command

xbuild

. All ok, without any errors. Then i copy compiled program on Windows and all works perfect too, but prog not have ico. Can you help me with this? Thanks.
[Sony Cross-Device General] Rootk1t:
[MENTION=3975929]zxz0O0[/MENTION]

When approximately are you planning to release new version with busybox updated?
[Sony Cross-Device General] hispanico957:
So dear bro @zxz0O0 i try some test and these are the results...

Version 08

If i included firmware 5.1.1, supersu, xzdualrecovery ... OK

If i included firmware 5.1.1, supersu, xzdualrecovery and xposed .... NO xposed result installed

I change inside file flashable the new busybox ... have an error assert failed package_extract_file system.ext4

Version 09

If i included firmware 5.1.1, supersu, xzdualrecovery ... have an error assert failed package_extract_file system.ext4

If i included firmware 5.1.1, supersu, xzdualrecovery and xposed .... have an error assert failed package_extract_file system.ext4

I change inside file flashable the new busybox and have an error assert failed package_extract_file system.ext4

So can you verify this ??

Thank

Hispa
[Sony Cross-Device General] FcukBloat:
domanda scema: hai usato xposed per 5.1.1 e non quello per 5.0 vero?

you tried with xposed for 5.1.1 right?
[Sony Cross-Device General] hispanico957:
Yesss

Hispanico
[Sony Cross-Device General] russel5:
[MENTION=3799890]hispanico957[/MENTION]

Try this version with my own busybox. For me works perfect. I post about this on XZDualRecovery thread.

Download
[Sony Cross-Device General] hispanico957:
Thank a lot...i try

Hispanico
[Sony Cross-Device General] elias.parasini:
PRFv0.9 + 5.1 + UPDATE-SuperSU-v2.46.zip + XZDualrecovery2.8.21 = bootloop

Hi, trying to make prerooted 5.1 file

Coming from Z3 5.0.2 & flash zip file from PRF, then bootloop..

It's ok until "Updating App" (+300 apps), which is very fast (only 1 minute), then it wont go to Home.. It just reboot to SONY logo and then repeat..

First I think my FTF file was corrupt, I tried to flash FTF only (via flashtool), but it works.. So FTF is good..

Any suggestion?

Thanks (:
[Sony Cross-Device General] Frenik:
Did you wipe system, data, cache, dalvik-cache (or at minimum cache and dalvik)
[Sony Cross-Device General] elias.parasini:
try with & without wipe system+data+dalvik+cache.. both are the same.. bootloop..
[Sony Cross-Device General] Frenik:
Thanks, just reporting success with v0.9 on D6653_Customized AU_1288-4247_23.4.A.0.546_R5C with DualRecovery v2.8.21 and SuperSU v2.46

First time working with Sony ROMs so pretty much followed this guide (starting at part 2).

Did factory reset in TWRP and wiped system partition, flashed ... and waited and waited at the animation for it to boot. Finally got there and all seems good.
[Sony Cross-Device General] FcukBloat:
hi [MENTION=3975929]zxz0O0[/MENTION], instead I have a very strange problem I can't explain myself, probably you can help me? :o

thing is, I have some flashable zips I use for debloating the FW or install some extras etc that I'd like to add to the pre-rooted fw with your tool.

strange thing is that very often if I add these zips in the "extra" in your tool, they are not going to be flashed because of the error "setperm change failed" or similar (so what happens is that the FW, super su and dual receovery all flash fine, then during the first zip flashing attempt I get the error and all my zips are not flashed at all).

Instead if I make a pre-rooted fw with only supersu and dual recovery, and then I flash the exact same zips mentioned above separately (so not included in the pre-rooted fw) they all flash fine!

this doesn't happen always, but just with certain zips of mine.

do you know what can be? really getting crazy with all the attempts I tried to understand what is wrong!! :silly::eek::p

TIA!!

EDIT: all errors fixed using the version by [MENTION=4688377]russel5[/MENTION]!!
[Sony Cross-Device General] hispanico957:
Big big thank russel5 with your version fw 5.1.1,supersu,recovery and xposed... Flash Ok and all installed!! :) Now i can build my Mod ALL IN ONE

Thank

Hispanico
[Sony Cross-Device General] FcukBloat:
thanks mate your version fixed also my setperm change failed errors! ;) :good: :o
[Sony Cross-Device General] zxz0O0:
You mean the file icon displayed in the explorer? I don't think it's possible to get that using xbuild.

Great job with new busybox [MENTION=4688377]russel5[/MENTION]. Can you explain what is the change to fix the problems other people mentioned?
[Sony Cross-Device General] russel5:
Nothing change, I used this version of busybox very long time and not have any problem at all. I think all points in busybox applets. Some cyanogen's busybox not have all applets what we need + I have latest version. Compiling with rootbuilder and use uclib and thumb2 technology. That's all
[Sony Cross-Device General] heywheelie:
I've tried making a pre-rooted firmware of 5.1.1 for my Z3 but in the log it keeps giving an error after Adding extra files.

07/26/2015 22:38:22 - kernel

07/26/2015 22:38:37 - Info: Could not find rpm

07/26/2015 22:38:41 - fotakernel

It still created the firmware but when I open the zip file there is no kernel mentioned. All the other files are there, fotakernel, boot, system etc.

Is it safe to use this firmware? I always do a complete wipe before flashing any firmware so I'm a bit worried if this doesn't include the kernel.
[Sony Cross-Device General] sigprof:
The kernel image (kernel.sin in FTF) is named boot.elf in the flashable zip. And "Could not find rpm" is not an error — on some devices the rpm image is actually combined with the kernel instead of using a separate partition.
[Sony Cross-Device General] James L:
Worked perfectly! Very nice tool.
[Sony Cross-Device General] MonsterMMORPG:
my phone currently have

PhilZ touch 6.48.4

and

ClockworkMod v6.0.5.0

so all i need is use this tool with latest super su to compose new rom from official rom

and update it via recovery mode right?

phone is xperia z2

i am planning 5.1.1
[Sony Cross-Device General] :
Hello Guys. Is it able just to take TWRP Recovery? Not DualRecovery.

If yes, where can i get a flashable.zip of TWRP 2.8.5.0? I only have an image...

Or will my TWRP "survive" if i flash only Android 5.1.1 and SuperSU?
[Sony Cross-Device General] MonsterMMORPG:
same questions here
[Sony Cross-Device General] faded_giant:
Morning all.

Last night I created my pre-rooted 5.1.1 zip as I have done in the past. I bundled it with Dual Recovery 2.8.21 and SuperSU 2.46 using russel5's updated PRFCreator (thanks for that by the way).

I booted into recovery and flashed the zip and everything seemed to go fine however I am now essentially stuck in a boot loop. It will boot and "optimize apps" (however this goes very fast so I'm not sure if it's actually doing it properly) and right after "starting up" it will black screen and reboot. Occasionally I will see "android.process.media has stopped" before the reboot. Any ideas? I can't enter recovery unfortunately. Is this an issue with PRFCreator or should I seek help elsewhere? I am running a unlocked Z2 with US firmware.

Thanks in advance.
[Sony Cross-Device General] :
Having the same problem
[Sony Cross-Device General] Iman87:
28/07/2015 20:52:26 - Extracting system.sin from D6502_23.4.A.0.546_StoreFront.ftf

28/07/2015 20:56:26 - Verifying extracted Sin File

28/07/2015 20:56:26 - Extracting image from Sin File system.sin

28/07/2015 20:58:02 - Adding info to flashable script

28/07/2015 20:58:02 - Adding system to zip

28/07/2015 21:04:03 - Adding extra files

28/07/2015 21:04:04 - kernel

28/07/2015 21:05:42 - Info: Could not find rpm

what is this error in last line??? COULD NOT FIND RPM
[Sony Cross-Device General] faded_giant:
Okay I think I figured out the problem. I believe I forgot to check the kernel box when creating the flashable zip...:eek: I was able to enter fastboot by holding the Vol Up and Power buttons, and then I used Flashtool to flash the kernel from the tft file. I was able to get it booted properly. As far as I can tell it's working properly but I may try to reflash Dual Recovery and reflash a corrected version of the flashable zip. Hope this helps!
[Sony Cross-Device General] aidy.lucas:
It's fine, see a post about half a dozen further back

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Sony Cross-Device General] :
How did you do? There is no boot.img
[Sony Cross-Device General] faded_giant:
Choose the TFT file, and only flash the kernel (exclude everything else).
[Sony Cross-Device General] soldiers33:
is anyone else having issues with rooting the device? I have created a zip with latest supersu zip. it installs but when I try use root explorer it says device not rooted. also tried opening supersu but says binary not installed.
[Sony Cross-Device General] :
Me too. Twrp manager says there is no busy box. My recovery didn't work too
[Sony Cross-Device General] ffira04:
windows 10

can i ask [MENTION=3975929]zxz0O0[/MENTION]?is it compatible with windows 10?because when i want to choose ftf the apps freeze and not responding?or can you make one?

thank you :D:D:D

Edit:if anyone use this tool for windows 10..you have to write path for the source file manually..its the only working way
[Sony Cross-Device General] aidy.lucas:
Is your device already rooted, sorry if that's a stupid question but this won't root a unrooted device, it's so you can flash a pre-rooted zip to a already rooted device to upgrade the firmware and keep root.

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Sony Cross-Device General] deck91:
Hi! The app is awesome ;)

Sony's Android™ Concept ROM for XPERIA Z3 (ftf) error :/ please fix :(

Link: http://xdaforums.com/z3/general/sonys-android-concept-review-download-t3167488
[Sony Cross-Device General] afifth:
wow its great, i hope its work for 5.1.1 xperia z3

because it's hard to root on 23.4.a.0.564
[Sony Cross-Device General] 3raserNL:
Same here.

Is there a solution to this or are we doing something wrong?
[Sony Cross-Device General] faded_giant:
I had forgotten to include the "optional" items in my flashable zip (specifically the kernal :silly:).

Rebuilding it with these included, solved my problem.
[Sony Cross-Device General] nscxp2005:
Thank you to the developers of this tool.

I would like to request a feature. I would like to see included an option to deodex the rom and have root and recovery. This would be a helpful option to be able to modify system framework.

Thanks again.
[Sony Cross-Device General] :No-Frost::
Is it possible to create an FTF file from a prerooted firmware?
[Sony Cross-Device General] das.dian24:
Can someone clarify me the step on making a pre-rooted rom? Am I doing it right?

I put in the ftf file, the supersu.zip, and the recovery.. Included the kernel, modem(for phil region) and thats all?

Am I missing any step? Thanks in advance
[Sony Cross-Device General] Rootk1t:
don't forget to tick everything in the "include section" and thats all.
[Sony Cross-Device General] DBBGBA:
App freezes when any button to select files is pressed on Win 10.
[Sony Cross-Device General] das.dian24:
Thanks.. Just made a perfect pre-rooted rom.. :thumbup:
[Sony Cross-Device General] RyTekk:
Have anyone got problem when add additional zip? The zip is OK when flash it alone but got error when was added in PRFCreator.
[Sony Cross-Device General] FcukBloat:
had exact same problem look some pages back fixed the problem using the patched version by russel5 ;)
[Sony Cross-Device General] evildog1:
you mean stock recovery?
[Sony Cross-Device General] nscxp2005:
Does anybody know if it will be possible to make a stock rom with root, recovery and have it deodex and flash it to a device with a locked bootloader?
[Sony Cross-Device General] nhojeric214:
just a noob question, is the zip created can be flashable via flashtool?
[Sony Cross-Device General] aidy.lucas:
No you need to flash via recovery..

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Sony Cross-Device General] Rootk1t:
seems to be so, if you add deodex.zip for you ROM as an "Extra Zip". But flashing it afterwards, is better.
[Sony Cross-Device General] AkashKharatmol:
Thanks Bro!!

it works flawlessy even with lollipop firmwares
[Sony Cross-Device General] nscxp2005:
Thanks.

Can you link me to the deodex.zip needed?
[Sony Cross-Device General] Rootk1t:
I don't know FW version, you're using.
[Sony Cross-Device General] nscxp2005:
I'm using Z3 23.4.A.0.546 5.1.1 firmware on a locked bootloader.
[Sony Cross-Device General] MasterTB:
Can't make a prerroted rom of the Customized_US version 5.1.1 for the D6633. I have the Rom downloaded with xperifirm, create the FTF file, add it to PRFcreator, add SU 2.46 (also tried 2.49), Dual Recovery Zip, and create, BUT, after I flash, I have no root and no recovery, the rom flashes fine but it's clean and of course, being a 5.1.1, unrootable once flashed.

I need help, please..
[Sony Cross-Device General] Rootk1t:
Try this version of PRFCreator.
[Sony Cross-Device General] MasterTB:
Thanks, I'll try and see.
[Sony Cross-Device General] zxz0O0:
Updated PRFCreator to v1.0 :fingers-crossed:

The system partition on some newer devices are 5GB. This is too much for a zip file. Google or the recovery menu devs do not plan to add support for zip64 so I had to search a solution.

The new method using my tool called sinflash will flash sin files directly on the phone. PRFCreator will simply pack all the sin files together. That means the pre-rooted firmwares are smaller and faster created.

However you can still use the old method (which extracts the sin files to images on the computer) by checking the Legacy mode checkbox.
[Sony Cross-Device General] nk1001:
hi zxz, does it require java to run ?

can i use this created zip or make another zip ?
[Sony Cross-Device General] russel5:
[MENTION=4835208]nk1001[/MENTION] i think java need when you choose "sing zip"
[Sony Cross-Device General] nk1001:
you are genius , thank you :good:
[Sony Cross-Device General] Kureiji:
I can't create zip from Xperia V 4.3 rom, it gives me error: "Object reference not set to an instance of an object". And it works without problems with Z1 lollipop rom.
[Sony Cross-Device General] RyTekk:
Can you add version number on the title? That will help me and others more easier to know have a new update.
[Sony Cross-Device General] Daniel D.:
I've the same problem with a 4.3 ROM from my Xperia SP.
[Sony Cross-Device General] RyTekk:
My ftf gone away when the process finished, PRFCreator 1.0 with Legacy mode.
[Sony Cross-Device General] zxz0O0:
There was a bug with sin v2, I have already fixed it in the source on github :)

That's not possible, FTF will not be deleted in the process.
[Sony Cross-Device General] adamtan:
Can i create a TWRP flashable Zip without root/recovery etc from a stock ftf file?

Meaning stock ftf file to stock zip file?

p/s: ok i tried, unable to proceed without SuperUser Zip fi;e
[Sony Cross-Device General] x-geo:
this works with Sony's Android™ Concept?
[Sony Cross-Device General] zxz0O0:
Try it :) If it doesn't work, I'll try to fix it.
[Sony Cross-Device General] x-geo:
doesnt work, only puts system.sin in the zip and stops at step 3
[Sony Cross-Device General] zxz0O0:
Try redownloading the latest version, I updated the attachment.
[Sony Cross-Device General] x-geo:
Ok, thank you for your dedication.... i re-downloaded the latest version and the program gave me this log

05/09/2015 14:27:07 - Extracting system.sin from D6603_Concept_Android.ftf
05/09/2015 14:27:28 - Adding info to flashable script
05/09/2015 14:27:28 - Adding system to zip
05/09/2015 14:28:06 - Extracting partition-image.sin from D6603_Concept_Android.ftf
05/09/2015 14:28:06 - Adding partition-image to zip
05/09/2015 14:28:10 - Adding extra files
05/09/2015 14:28:10 - Error: Could not find boot
05/09/2015 14:28:10 - rpm
05/09/2015 14:28:16 - Error: Could not find fotakernel
05/09/2015 14:28:16 - amss_fsg
05/09/2015 14:28:20 - amss_fs_1
05/09/2015 14:28:25 - amss_fs_2
05/09/2015 14:28:29 - Error: Could not find LTALabel in FTF
05/09/2015 14:28:29 - Adding UPDATE-SuperSU-v2.46.zip
05/09/2015 14:28:34 - Adding Z3-lockeddualrecovery2.8.20-RELEASE.installer.zip
05/09/2015 14:28:39 - Signing zip file
05/09/2015 14:30:17 - Finished

with a screenshot,

it will be safe to flash it?

thanks foy your kind help
[Sony Cross-Device General] zxz0O0:
It should work like that but after flashing the rom in recovery, you have to flash the Concept Rom with flashtool (exclude System).
[Sony Cross-Device General] x-geo:
ok, i'll do it, but... doing that i'll keep root and recovery?
[Sony Cross-Device General] zxz0O0:
You should be rooted then but I don't know if dualrecovery supports Concept Rom.
[Sony Cross-Device General] CiscoX:
Hi,

You should instead use the Z3-lockeddualrecovery2.8.21-RELEASE.flashable.zip I see you have been adding the installer version.
[Sony Cross-Device General] Daniel D.:
Did you already update the downloadable version? I would like to try it with my Xperia SP and 4.3.
[Sony Cross-Device General] zxz0O0:
Yes, the attachment was updated.
[Sony Cross-Device General] casouzaj:
[MENTION=3975929]zxz0O0[/MENTION]

Thank you very much for your geniality whist creating such an amazing tool. I'd like to report that, whist trying to upgrade my son's ZL to the newly released 5.1.1 ROM, using PRFCreator v1.0, the flashing process failed at the beginning, with some permission denied error message. I repeated from scratch, but now with v0.9 instead, and it worked just fine! I've noticed that, with the same components and zips specified, the ftf file produced by v1.0 was some 120MB larger than v0.9's.
[Sony Cross-Device General] zxz0O0:
Thanks for your feedback. Could you upload the flashable zip which produced the error message?
[Sony Cross-Device General] casouzaj:
It's in my Google Drive. Its download link is here:

https://drive.google.com/file/d/0B9QC6m7q4NrFN3JoZHFKM09Idmc/view?usp=docslist_api

This one was produced by v1.0.
[Sony Cross-Device General] zxz0O0:
The script looks fine. Could you try flashing it again and uploading the recovery log? There is an option to save it to SD Card.
[Sony Cross-Device General] casouzaj:
Sorry, it's not my phone. It's my son's. It is already running 5.1.1, produced by your previous version. Everything seems to be fine! Thanks again, anyway!
[Sony Cross-Device General] taciogw:
Hey im about to make a pre-rooted LP image, i got the stock .ftf file and all .zip flashable stuff (recovery and SU), what do i need to check on?? "Kernel, FOTAKernel" etc

Thanks
[Sony Cross-Device General] Rootk1t:
[MENTION=3975929]zxz0O0[/MENTION]

I made Sony 5.1.1 rom with your great tool v0.9. Flashed via TWRP 2.7.0.0

Everything is good, except, i noticed some of zips from extra section are not flashed at all. They even do not appear in recovery install log.

For example latest Xposed v73 and Dialer & Contacts MOD zips.

Though when i install them manually via TWRP afterwards, they install without issues.:confused:
[Sony Cross-Device General] zxz0O0:
Have you tried to create the prerooted rom with the new version v1.0? The problem should be fixed there.
[Sony Cross-Device General] Rootk1t:
Trying now. Do i need to use legacy mode or normal for TabZ 5.1.1? Please specify, what device users should use legacy mode and what normal one

you should tick everything except sign.zip
[Sony Cross-Device General] zxz0O0:
Use normal mode. If there is a problem, please upload the recovery log.

Generally legacy mode is only for very old phones like Xperia J for example (< 2013).
[Sony Cross-Device General] Rootk1t:
Creating PRF in normal mode now. Will report soon.
[Sony Cross-Device General] taciogw:
Hey mate, thanks for your answer, but, i did check everything, including "Sign Zip", will it give me problems? Should i make it all over again and just dont tick zip signing? Thanks!
[Sony Cross-Device General] Rootk1t:
[MENTION=3975929]zxz0O0[/MENTION]

I retried with PRF v1.0.

This time the above mentioned zips were flashed ok. Will see, about other included zips.
[Sony Cross-Device General] zxz0O0:
Well can you upload the recovery log after flashing the firmware. You can save it to SDCard in recovery menu.
[Sony Cross-Device General] Rootk1t:
[MENTION=3975929]zxz0O0[/MENTION]

Insert firmware template is not updated during PRF creation. (v1.0)

===========================================
| |
| *** Pre-Rooted firmware *** |
|[B]INSERT FIRMWARE HERE[/B]|
| |
| Created with PRFCreator |
| by zxz0O0 |
| |
===========================================

Extracting files...
PRF is using sinflash
Installing firmware. This might take a while...
[Sony Cross-Device General] lonixlon:
seems to work well in linux under mono if anyone is interested
[Sony Cross-Device General] Rootk1t:
[MENTION=3975929]zxz0O0[/MENTION]

Is sinflash method in PRF v.1.0 compatible only with TWRP recovery? Cause, in CWM it gives errors and doesn't flash it.

I think it is the same issue as described:
[Sony Cross-Device General] zxz0O0:
Can you upload the recovery log?
[Sony Cross-Device General] Rootk1t:
Unfortunately not, because after CWM fails, i flashed normally with TWRP.

I understand that without logs, it's difficult to speak about issue. I just don't want to reflash once again. If i get logs, i will publish them here.

Did you yourself try flashing PreRooted ROMS with CWM from XZDualRecovery?
[Sony Cross-Device General] enfilade:
I successfully created a prerooted ROM for Xperia ZR using 5.1.1. FTF + SuperSU + XZDualRecovery (v2.8.21)

When I flashed it using existing XZDualRecovery (v2.8.20), the logs said everything works fine.

But I am still on 5.0.2 :( . The software wasn't updated.

Any ideas why?
[Sony Cross-Device General] Rootk1t:
Upload log.
[Sony Cross-Device General] enfilade:
Here it is. Thanks a lot.

EDIT: Aah.. The log lists some errors related to no space left.. What's the size required on the internal memory? I have around 1.1 GB. I thought that should be fine.