yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] zxz0O0:
Seems in your case RPM is flashed in a different way. But this is not so important (also written on the second post). Kernel is not missing, it's boot.elf.
[Sony Cross-Device General] hell_lock:
Will this work on my E3? We have no root,custom kernel or custom recovery available atm.
[Sony Cross-Device General] kingvortex:
It probably will successfully produce a prerooted firmware zip, but you have no way of flashing it without a custom recovery.

Sent from my C6603
[Sony Cross-Device General] RedSkyRoad:
Currently I'm on CM12. If I included all the kernels & stuff when I created the ZIP, can I just flash the zip or do I need to flash the FTF as well?
[Sony Cross-Device General] RedSkyRoad:
What does the following mean when I tick all the boxes?

04/12/2014 10:17:56 - Info: Could not find rpm
[Sony Cross-Device General] bjorn96:
Just the zip. [emoji1]
[Sony Cross-Device General] kamalmawa:
If you want to return to stock rom from CM12, you need to flash FTF first with full wipe otherwise you will run into so many issues as downgrading always seems to complicates things specially you are switching from ART to Dalvik. CM12 -> Android 5.0 Sony stock ROM -> Android 4.4

I don't think it will even boot if you do so ;)
[Sony Cross-Device General] bjorn96:
Me missreading. [emoji6]
[Sony Cross-Device General] netwave:
I'm getting this too: Info: Could not find rpm

Cool Tool BTW :)
[Sony Cross-Device General] ghostofcain:
And has been stated previously, it's safe to ignore that error message.
[Sony Cross-Device General] o-l-a-v:
The output created with prfcreator gets different md5 every time making a .zip of the same input files.

Why is that? Is it anything to worry about?
[Sony Cross-Device General] kamalmawa:
Zip file was Generated in different times. Therefore each any every file will have it's own MD5. Try replacing something inside the zip with a same file, you will see that MD5 changes
[Sony Cross-Device General] Rootk1t:
i've made a lot of prerooted zips with the help of Nut's DIY Guide. Not a sigle time i touched nstalldisableric.sh file. After installing with or without wipes everything works good, root is full, can modify every file with Root Explorer.
[Sony Cross-Device General] norti:
This is only for newer fw versions, that aren't included in the rickillerinstaller script in the recovery installer = the phone won't kill the ric and you can't mount the system R/W. But you can install the rickiller with different methods too (most of the time with rooting tools and [NUT]'s DIY scripts do the same job for you). Maybe that's why you don't need to change anything at all ;)
[Sony Cross-Device General] zxz0O0:
I've just created a flashable zip to kill RIC (see here: https://github.com/dosomder/SonyRICDefeat ). So for newer firmwares when dualrecovery is not updated yet, simply add RICDefeat flashable zip in PRFCreator (Extra Zip section) :good:
[Sony Cross-Device General] Chena_22:
Can we just flash it through recovery?
[Sony Cross-Device General] zxz0O0:
Yes, you can do that too.
[Sony Cross-Device General] Chena_22:
great! thanks so much dude...you are awesome:D
[Sony Cross-Device General] RyTekk:
Does this tool work on Ubuntu with Wine? Or can you make a Linux version?
[Sony Cross-Device General] zxz0O0:
It should work fine as long as you installed vcredist packages and .NET 3.0 in wine.
[Sony Cross-Device General] Rootk1t:
does it support firmwares based on Lollipop?
[Sony Cross-Device General] RyTekk:
There's no lollipop firmware so can't confirm now.

---------- Post added at 11:10 PM ---------- Previous post was at 11:09 PM ----------

And you guess does Xperifirm can do work/download on Ubuntu?
[Sony Cross-Device General] hdnick:
Can I include this zip in a D5803 firmware to avoid the need to manually patch the system via adb to set it to R/W?
[Sony Cross-Device General] Rootk1t:
not only you can, but you need to.
[Sony Cross-Device General] hdnick:
Uhm, I don't think so...if this ZIP is mandatory to obtain full R/W access when flashing a prerooted custom firmware, why should I manually run this code after have flashed my prerooted fw (on a Z3c D5803)?

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

How can I test if my /system is mounted R/W?

In these days I will test a .77 fw done from scratch to see what happen...or wait until a .77 compatible dualrecovery that should do the trick w/out any other ZIP...
[Sony Cross-Device General] HoTsHoT89:
[MENTION=3975929]zxz0O0[/MENTION]

Once the recovery is supported, do we have to remove ricdefeat before flashing the new recovery?
[Sony Cross-Device General] Rootk1t:
http://xdaforums.com/showpost.php?p=58439820&postcount=3236

You have to use RICDefeat if you're using 2.8.0 recovery. If you're using new 2.8.1 you don't need it anymore.
[Sony Cross-Device General] zxz0O0:
It should not be necessary to do that.
[Sony Cross-Device General] fabfor:
[MENTION=3975929]zxz0O0[/MENTION]

Is it safe to ignore the following error message and flash the .zip?

I could not find info in the thread about "Error: Unexpected exit code: 2"

Thanks!

28/01/2015 12:12:03 - Extracting system.sin from D6603_23.0.1.A.5.77_IT.ftf
28/01/2015 12:13:54 - Verifying extracted Sin File
28/01/2015 12:13:54 - Extracting image from Sin File system.sin
28/01/2015 12:15:36 - Adding info to flashable script
28/01/2015 12:15:36 - Adding system to zip
28/01/2015 12:19:40 - Adding extra files
28/01/2015 12:19:40 - kernel
28/01/2015 12:21:48 - Info: Could not find rpm
28/01/2015 12:21:50 - fotakernel
28/01/2015 12:23:54 - amss_fsg
28/01/2015 12:25:51 - amss_fs_1
28/01/2015 12:27:50 - amss_fs_2
28/01/2015 12:31:05 - elabel-D6603-row_201410151821.1_23.0.1.A.5.77
28/01/2015 12:33:46 - Adding UPDATE-SuperSU-v2.45.zip
28/01/2015 12:35:24 - Adding Z3-lockeddualrecovery2.8.1-RELEASE.flashable.zip
28/01/2015 12:36:20 - Error: Unexpected exit code: 2
[Sony Cross-Device General] zxz0O0:
You probably selected the option to sign the zip. For zip signing, Java needs to be installed. I use the cmd command

java.exe -version

to check if Java is installed. Seems your machine returned exit code 2 for that. Not sure why. You could try to run this command manually and see if there is any error.

Anyway, seems the pre-rooted firmware was created successfully, it's just not signed.
[Sony Cross-Device General] fabfor:
There must be something broken in my machine's Java: recent update keeps failing at 98%.

I will look into that and meanwhile use the unsigned zip

Thanks for fast answer!
[Sony Cross-Device General] infinitylook:
Hi i wonder if this would work. I found your PRF tool. I already unlocked my SGP621, made TA backup and used the advance stock kernel with TWRP. In this case, the DRM are lost and would not work (don't have propriety features). so i want those features back, would the tool you have work on the current SGP621 FW? Like i will create one the has SUPERSU on it, then update via zip so that i will be back to stock kernel with SUPER SU and root. I would then restore my TA backup to have my keys back and maintain root, would that work? What do you think?
[Sony Cross-Device General] danilo_scala:
great work, hi friend, please i need a helpe plese, i try make a pre root xperia z3 d6633 dual brazil . 96.. but only wi fi not work . i only use prf creator with SuperSU zip ,dualrecovery and FTF ..

edited ,, work now.. thanks
[Sony Cross-Device General] moetoby:
[MENTION=5358165]danilo_scala[/MENTION]

i think you should check all under ‘include’,my zip works well:)
[Sony Cross-Device General] danilo_scala:
thanks i will try [MENTION=6366663]moetoby[/MENTION]
[Sony Cross-Device General] maikoandres:
Hello Friend , That first swim thanks for your efforts .

Boxes that include recommended me , I never used fw pre -root , I 've always used other methods to update fw with root

1- if included in your application Kernel I can skip step 6 ?

http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598/post58395100#post58395100

2- FOTAKerenel is to receive your updates via OTA ?

3- Modem it for?

4- LTALabel it for?

5- The flashable zip is as if flash with flashtool ? So the result is equal to the original tft with flashtool ?

Thank you thank you very much again.
[Sony Cross-Device General] juanpirulo:
Yep did you included fota kernel?
[Sony Cross-Device General] danilo_scala:
bro, work now, but thanks
[Sony Cross-Device General] was12:
I am trying to make .77 fw pre-rooted. But I get flashable zip that is only 1.16 mb. What is the problem ?

Using PRFcreator 0.8 Windows 8. Device is Z3 Compact.
[Sony Cross-Device General] zxz0O0:
Can you post the log?
[Sony Cross-Device General] was12:
07/02/2015 14:41:37 - Verifying extracted Sin File

07/02/2015 14:41:37 - Extracting image from Sin File system.sin

07/02/2015 14:43:30 - Adding info to flashable script

07/02/2015 14:43:31 - Adding system to zip

07/02/2015 14:45:27 - Adding UPDATE-SuperSU-v2.45.zip

07/02/2015 14:46:18 - Adding Z3C-lockeddualrecovery2.8.1-RELEASE.flashable.zip

07/02/2015 14:47:36 - Finished
[Sony Cross-Device General] zxz0O0:
Weird. Can you upload the FTF you are using?
[Sony Cross-Device General] maikoandres:
anyone can help me ?
[Sony Cross-Device General] was12:
https://mega.co.nz/#!9ZUlXTia!irNZObn2lJbNqaKtXVoNu8YNc-C008Tur8JHi_vczsI
[Sony Cross-Device General] image45:
Philz Touch Recovery 6

Are Zips flashable using Philz Touch Recovery 6 at all please?
[Sony Cross-Device General] zxz0O0:
Just tried it with PRFCreator v0.8 and zip is successfully created with size 1155MB. You did unpack the FTF from the RAR, correct?
[Sony Cross-Device General] was12:
I guess my ftf was corrupted while extracting or downloading. I redownloaded a retried creating zip, it successfully done. Thanks for your interest. And also thanks for your tool.
[Sony Cross-Device General] SE_iCEQB:
I previously created flashable zips for my Xperia Z with NUTs VM Image. The result was always a flashable zip and a ftf file which included the kernel.

Do I still need to go through the FTF step with your tool ? Or should I just include everything and go for it?

EDIT: Nevermind, just tried it...no risk nofun right? :D

Flashed everything OK, kernel and baseband .... VERY good tool you created there buddy.
[Sony Cross-Device General] Aid777:
Just tried this on SGP512, and it works, booted up fine, but I have lost root - cannot update host files on AdAway nor install busy box, yet SuperSU does work, and seems to think I have root. Suppose the main thing is tablet booted up and it's not bricked. Think I'll flash back down to 4.4.2 and try again..

EDIT - all okay now, started again, and used RIC killer - what a fantastic piece of software PRFCreator is
[Sony Cross-Device General] digitalbenny:
Looks like I may be rooting my SGP621 in the near future. There's a... Problem... With my IMEI... So says T-Mobile.
[Sony Cross-Device General] bowyerv:
Great tool!

Thanks - works well with my D6653_Telstra AU_1288-6090_23.0.A.2.108 :D
[Sony Cross-Device General] HORiZUN:
Just an idea...

Can we make a rooted firmware for the D6616, flash with the tool, and have a rooted phone without unlocking the bootloader?

Seems simple enough on paper, right?
[Sony Cross-Device General] o-l-a-v:
What tool?

You need to be rooted and have a custom recovery (CWM/PhilZ/TWRP) in order to install pre-rooted firmware

Unlock bootloader or not, depends if you can root your phone without unlocking it.
[Sony Cross-Device General] gregbradley:
If you mean to make a rooted FTF and flash with Flashtool then you need to know the keys that sony has in order to create stock firmware, seeing as we do not have them and the only people who know them are sony that's never going to happen.

We can rebundle existing firmwares but as soon as you modify them in anyway from complete stock you need the keys to sign it again....

It seems simple on paper, but when you realise this you will find it is very, very, very far from simple
[Sony Cross-Device General] Santos8913:
Upgrade FW

_Kernel

_FOTAKernel

_Modem

_LTALabel

I need to download files with these names, or is it only select these options when creating the FW on PRF Creator?
[Sony Cross-Device General] AlfredS:
Does anyone have a D5833 firmware for share? :) :P
[Sony Cross-Device General] Santos8913:
Upgrade FW
[Sony Cross-Device General] caqo71:
Check the file, it's look like the download was corrupted.

Enviado desde mi D6603 mediante Tapatalk
[Sony Cross-Device General] demon82:
Sorry, posted in the wrong category...
[Sony Cross-Device General] jagtisda:
hope this software will support android 5.0 :D
[Sony Cross-Device General] akkufix:
About the question on the first post... ;)

"How does the tool work?"

It works pretty well for me on XZ2, thanks.

Keep up this great work, [MENTION=3975929]zxz0O0[/MENTION]
[Sony Cross-Device General] lvnatic:
Does this work for the latest lollipop builds?
[Sony Cross-Device General] hispanico957:
Just a clarification: i want include in Z3 Compact firmware LolliPop the Root.

So i selcet firmware: D5803_23.1.A.0.690_Customized_NCB.ftf

I select UPDATE-SuperSU-v2.45.zip

But i think not select also:

-Kernel

-FOTAKernel

-Modem

-LTALabel

while i must select

-sign zip

It's right ?

Thank

Hispa
[Sony Cross-Device General] kulvertti:
Yes. This works. At the moment Dualrecovery need to be updated though before it will work.

---------- Post added at 20:49 ---------- Previous post was at 20:40 ----------

Yes.

It is up to you but don´t see the point. If you just want latest firmware with root acces why exclude part of it.

Again up to you but not necessary.

You should also know that in this way you end up with partial root with read acces to system but not write acces to it.
[Sony Cross-Device General] hispanico957:
Thank i try to select:

-Kernel

-FOTAKernel

-Modem

-LTALabel

but during zip creation see error:

.. is normal ?

Hispa
[Sony Cross-Device General] TiMiN8R:
I had this error too but the zip is working fine, no worries.
[Sony Cross-Device General] pedro5148:
24/03/2015 13:45:16 - Extracting system.sin from D5803_23.1.A.0.690_R9C_Customized_NCB.ftf

24/03/2015 13:45:47 - Bad state (oversubscribed literal/length tree)

what does that mean?
[Sony Cross-Device General] juanpirulo:
Yep no worries, some ftf dont have rpm file.
[Sony Cross-Device General] WastedJoker:
Hi,

After flashing, I have no recovery. I've tried flashing the NUT dual recovery flashable zip via flashify but when it tries to boot into recovery it just boots as normal.
[Sony Cross-Device General] evilc1:
zxz0O0,

Any chance of a Linux version of this?
[Sony Cross-Device General] vcdwelt:
NUT's Dual Recovery did not support Lollipop Images until he found a new way to execute it with SELinux...
[Sony Cross-Device General] daniel2744:
hey everyone

my question is simply can i include xposed installer zip to flash the framework if currently recovery doesn't work for lollipop as we know on the Z3? so i don't know if it will flash it?
[Sony Cross-Device General] zxz0O0:
Yes you can include the Xposed flashable zip under "Extra Zip".
[Sony Cross-Device General] Guto ViP:
I need a help... I make a flashable using Z3 D6643 firmware 5.0.2 Oi Operator BR with SuperSU and DualRecovery and my phone got bootloop, what i have wrong something?

EDIT: I solved my problem, now all os working, with this tuto:

5:Instale a Rom 690 BR em FTF pelo flashtools, Marcando as opções como mostra abaixo !

[x] APPSLOG

[x] CACHE

[x] DATA

Obs: você pode deixar desmarcado essa opção se quiser preservar seus Apps e Dados , mais recomendo deixar marcado para um Full Wipe e assim podendo evitar algum tipo de Bug !

[ ] BOOTBUNDLE

[x] PARTITION

[x] TA

[ ] KERNEL

[ ] FOTA

[ ] BASEBAND

[x] SYSTEM

[ ] ELABEL

[x] No final verification

[ ] Reset customization
[Sony Cross-Device General] Guto ViP:
[MENTION=3975929]zxz0O0[/MENTION]

The bootloop is over but i can't R/W in system..... :(

I will created the flashable with Incluse option to test. I will put extra zip Cerberus and Xposed.

EDIT: Flashed another but i cant R/W in system... What is the problem??

The firmware used is D6643_23.1.A.0.690_Oi_BR.ftf
[Sony Cross-Device General] daniel2744:
okay thanks for answering. I tried it last night and at first everything was working just fine expect for dual recovery not working at the moment on the Z3 on lollipop which i already knew about so i didn't bother to go to recovery after I flashed pre-rooted lollipop. so anyways I restarted my phone and it got stuck in a bootloop until i finally figured out how to turn it off. I just flashed stock lollipop for now but i will keep this program for when I decide to take another crack at it.
[Sony Cross-Device General] vcdwelt:
It's likely a problem in DualRecovery, see here: http://xdaforums.com/z3-compact/dev...90-generic-t3056413/post59619466#post59619466
[Sony Cross-Device General] infinitylook:
Yes you can include but it would cause bootloop. xposed currently don't support stock roms
[Sony Cross-Device General] CHaPoCA:
You can try this one. Maybe it can help you.
[Sony Cross-Device General] koszanty:
Hello

What mean "GPTP Magic incorrect" error? What can I repair that?

Sorry for my english.
[Sony Cross-Device General] Shaumux:
This doesn't run on linux using mono.

The error i get is

mono PRFCreator.exe
Could not set X locale modifiers

Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Win32Exception: No valid icon entry were found.
at System.Drawing.Icon.InitFromStreamWithSize (System.IO.Stream stream, Int32 width, Int32 height) [0x00000] in <filename unknown>:0
at System.Drawing.Icon..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0

Any help on running this on linux.
[Sony Cross-Device General] sigprof:
PRFCreator currently won't run under Linux for multiple reasons:

The "No valid icon entry were found" exception is caused by the application icon — apparently Mono still does not support 256×256 icon images, and the icon of this application contains only a single 256×256×32bpp image. The icon needs to be modified so that it would contain some smaller images, which are supported by Mono.

Even if the icon problem is fixed, the code still does not run under Linux because of Windows-specific assumptions — the main problem is the different path separator character ('/' on Linux, '\' on Windows). Some hardcoded '\' separators are in the PRFCreator code; the DotNetZip library also does not work (the bug reported in 2013 is still not fixed).

I also tried to run PRFCreator under Wine, but it refused to work, because the disk space check was confused and reported that I have 0 bytes free on the '\' drive.
[Sony Cross-Device General] Shaumux:
I'm willing to help on fixing the issue if somebody can help me with the structures but i don't have any idea about the file structures and such.

I know C# and Python.

If the problems cannot be fixed in C# (although they seem to be fixable except the dotnetzip part which i skpped) i am willing to do a re-implementation in python
[Sony Cross-Device General] koszanty:
Anyone can help me?
[Sony Cross-Device General] sigprof:
The FTF file is either corrupted or not supported by PRFCreator. Could you share a link to that FTF so that it could be analyzed by developers?
[Sony Cross-Device General] koszanty:
https://mega.co.nz/#!IxF2wCbK!-0o7gD0nPR0cdulm8EnaiGrUbFpOx9ssJ29Om2woodI
[Sony Cross-Device General] sigprof:
This is a fake ROM — the file is named D6503_23.1.A.0.690_CE1.ftf, but actually it contains a 4.0.4 ROM for Sony Xperia Neo V MT11i:

##### Merging of the /util/data/semc_kernel_time_stamp.prop file #####
ro.build.date=Wed Jul 4 12:32:24 2012
ro.build.date.utc=1341397944
ro.build.user=BuildUser
ro.build.host=BuildHost

##### Final patch of properties #####
ro.build.product=MT11i
ro.build.description=MT11i-user 4.0.4 4.1.B.0.587 tL1_3w test-keys

ro.product.brand=SEMC
ro.product.name=MT11i_1254-8478
ro.product.device=MT11i
ro.build.tags=release-keys
ro.build.fingerprint=SEMC/MT11i_1254-8478/MT11i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys

######################## Customized property values #########################

ro.semc.version.cust=1254-8478
ro.semc.version.cust_revision=R1I

PRFCreator does not support ROMs for such old devices (the FTF file contains parts in SIN v1 format, and the filesystem is yaffs2 directly on mtd, which needs special tools for writing the image to the device).
[Sony Cross-Device General] koszanty:
My mistake. I chose wrong files to create ftf file :P I had previously MT11i.
[Sony Cross-Device General] FcukBloat:
[MENTION=3975929]zxz0O0[/MENTION] many thanks for the great work you make for our xperia phones... root, PRF, byeselinux etc etc :good: just sent you a small donation, a few beers it's the minium I can do...really well done please keep it up! :highfive:

EDIT: someone with skills, could please please create a flashable zip of his byeselinux fix? this way with PRF creator I could make a ready-to-use flashable zip :o (it seems NUT is going to fix flashable recovery too soon :) )
[Sony Cross-Device General] zxz0O0:
Thanks for the detailed report. I will try to fix these issues (hopefully also in dotnetzip) and improve compatibility to Linux OS.
[Sony Cross-Device General] Space_pilot:
Hallo,

got "info: Could not find rpm" while creating fw, should i worry about?

Wbr.
[Sony Cross-Device General] FcukBloat:
no problem happens here too but everything works anyway ;)
[Sony Cross-Device General] juanpirulo:
Thats because there are some firmwares that have rpm file like z1. Cheers
[Sony Cross-Device General] autobanned:
can i flash "flashable.zip" using adb command sideload on un-rooted firmware ?
[Sony Cross-Device General] IgorEisberg:
You know what to do about the icon issue already.

You should never hardcore the path separator. Use Path.DirectorySeparatorChar. That's how older XperiFirm versions (that were dependent on an external java.exe file that may be located in different locations) worked on Linux as well.

You don't have to use DotNetZip. There is a single-class-file solution: ZipStorer.cs

It works great, fast, and is MUCH lighter than any other option.

Also, if you're using at least .NET 4.5, it has its own System.IO.Compression.ZipArchive class for standard ZIP files.

Nah, Wine isn't suited for 'Managed code'. Mono is the way to go.

If you have any questions or need any help, PM me.
[Sony Cross-Device General] driulian:
Hello,

I have created a zip file from ftf for xperia z1 compact with recovery and root on android 5.0, and after googling a bit (that includes forum search), seemed like a good idea to just rename the zip file back to ftf in order to flash it with flashtool. The thing is the file is not recognized in flash tool. What am I doing wrong? (please don't hit me :)) I have tried on different computers (windows 8.1, windows 7) Thank you for your work and your help.
[Sony Cross-Device General] Tboyroy83:
My friend it seems you have got yourself into a little dither. The idea is to create a flashable zip from an ftf resulting in a zip file format and NOT an ftf file format. You must then flash the zip file you created through your recovery on an already rooted rom. I don't think it is possible to create a custom ftf file and flash it in flashtool on a locked bootloader du to the security sony put in place. Hope this helps ;)
[Sony Cross-Device General] driulian:
Thanks for the quick reply and the help. It's sorted now :)
[Sony Cross-Device General] PeppeBove:
new feature request

great tool,

but in the next update, can you add option to choose temp directory?

so we can change it, and/or use multiple instance to create more ROMS at the same time