PRFCreator for pre rooting firmware - Sony Xperia Z Ultra

Hi all,
unfortunately I cannot post this message on the sony cross device dev thread since I am a relative new member and cannot post in the dev threads. My question actually is related to the following thread: https://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I want to flash a pre rooted lollipop with latest firmware from Sony on my Sony Xperia Z Ultra. For that reason I used the PRFCreator.
I did the following:
I downloaded with Xperifirm the latest firmware for my Sony Xperia Z Ultra. I downloaded the following version: C6833_Customized CE1_1276-2235_14.6.A.1.236_R4D
I created the ftf file according to the steps outlined here: http://www.xperiablog.net/2014/08/1...re-files-using-xperifirm-and-flashtool-guide/
The last step was to use the PRFCreator as outlined here: https://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I used the following sources
- For SuperSU: SuperSU-v2.46.zip
- For Recovery: ZU-lockeddualrecovery2.8.26-RELEASE.combined.zip
I rebooted the phone into TWRP, made a wipe and installed the zip file which was created before with PRFCreator. Unfortunately the phone does not boot after the flash. No LED is lighting, screen is black and no boot logo to see.
My bootloader is unlocked.
When I flash the self created ftf file with the flashtool (without SuperSU and without recovery) the phone boots. Can anybody help me whats going wrong and how I can created a pre rooted firmware with latest sony firmware for my Sony Xperia U Ultra?

With TWRP Log
Here is the TWRP Log: https://pastebin.com/FJcpyT3p
What seems strange to me:
Code:
Couldn't find partition with matching uuid
run_program: child exited with status 1
about to run program [/tmp/sinflash] with 6 args
Kernel flashed.
Before I flashed the prerooted ftf file I did the following:
I flashed C6833_14.1.B.1.532_NUT.ftf
I rooted the device with the following method: Bin4ry's "Root MANY ANDROID"
I installed ZU-lockeddualrecovery2.8.26-RELEASE.combined.zip

Hey have you tried kingroot then removing it with super su method?

Pannam said:
Hey have you tried kingroot then removing it with super su method?
Click to expand...
Click to collapse
I figured out that the problem was due to an older twrp build. After I used TWRP Version 3.0.2 for togari it worked. Unfortunately I can not use dual recovery but that is not a big issue. I followed the following guide to install TWRP 3.0.2:
https://forum.xda-developers.com/xp...ent/twrp-recovery-2-8-7-0-2016-02-03-t3307043
With this version I could install the image made by the PRFCreator.

Related

[STOCK][D58XX][5.0.2] Firmware 23.1.A.0.690 Generic [ROOT/XZDR/SuperSU]

Required:
- Flashtool in the latest version from: http://flashtool.net
- DualRecovery by NUT as installer.zip: http://nut.xperia-files.com (Download the correct one for your device and at least version 2.8.1+! And only if you have no working recovery on your device. )
- Full Root on 23.0.A.2.93 (Download) for example with this method: http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598 / 23.0.1.A.5.77
Featurelist:
- SuperSU integrated (2.46)
- DualRecovery by NUT integrated (2.8.3) - Currently not working on Android 5.X!
- Fixed RW (/system) - Thanks to javierdsv
Can be used on locked and unlocked bootloader.
Be careful with encrypted devices. It may cause a softbrick on updating- process and afterwards.
Firmware Files:
D5803 (other Versions will be released asap!)
- Flashable.zip's and FTF files in folders - sorted by devices
(Tanks to javierdsv for sharing the "fixed rw flashable.zip"!)
The Flashable.zip i've created with the mighty tool PRFCreator by zxz0O0.
Installation/Update (short) guide:
0. Downgrade to the firmware 23.0.A.2.93 and root it (with giefroot) (only if you have no root!=
0.1. Install the LockedDualRecovery by NUT with the installer.zip (install.bat)
1. Put the downloaded update file (ROM.zip) on your device. I recommend you to put it directly on the device.
2. Boot into the recovery (While rebooting -> when the info LED flashs -> press shortly the VOL button for the Recovery you prefer)
(On Recovery you may create a twrp/cwm backup of your device if you get any issues on updating process!)
3. Flash the ROM update file (.zip) with "install zip".
4. Wipe cache and dalvik cache (perhaps under advanced).
5. Reboot to system.
You may have to wait some minutes on the first boot because of initializing system for first time (optimizing apps etc.).
What to do if you get permission errors? (While installing for example the Recovery)
Untill NUT updates his DualRecovery you should fix permissions with ADB with the following commands:
(tested with command line from the giefroot_V...\files\ directory -> shift + right mouse -> open cmd "here")
Either you could try the modified DualRecovery (installer) by NUT (modified by monx): http://d-h.st/iM9p
Code:
adb push systemrw.sh /data/local/tmp
adb push modulecrcpatch /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb shell
chmod 777 /data/local/tmp/systemrw.sh
chmod 777 /data/local/tmp/modulecrcpatch
chmod 777 /data/local/tmp/wp_mod.ko
su
cd /data/local/tmp
./systemrw.sh
Special Thanks to:
[NUT] (DualRecovery and his efforts!)
zxz0O0 (giefroot rooting tool, PRFCreator and his efforts!)
Chainfire (for amazing SuperSU)
XDA: DevDB Information
[STOCK][D58XX][5.0.2] Firmware 23.1.A.0.690 Generic [ROOT/XZDR/SuperSU], Stock Firmware Xperia Z3 Compact
Contributors
meetdaleet
ROM OS Version: 5.0.2 Lollipop
ROM Firmware Required: Stock - 23.0.A.2.93/23.0.1.A.5.77
Version Information
Status: Stable
Release Date: 2015-03-16
Created 2015-03-16
Thanks!!! A question. Is it working Mount R/W; R/O?
Thanks!
PherChe said:
Thanks!!! A question. Is it working Mount R/W; R/O?
Thanks!
Click to expand...
Click to collapse
R/O
sototallycarl said:
R/O
Click to expand...
Click to collapse
Just need to flash a zip, i dont need flash other files with Flashtools like .93 to .77 and to hold root access? Did tu flash it? what about blotware?
thanks thanks,
Yeah, I just flashed the zip. No other steps. I have root but cannot write to /system. I see no additional bloatware. Any disabled/frozen apps I did in 4.4.4 remained that way.
Could I just install the flash.zip from rooted .77?
Does anybody try this way?
Can i flesh the zip on my d5833
is android l worthwhile if i lose xzdualrecovery?
sototallycarl said:
Yeah, I just flashed the zip. No other steps. I have root but cannot write to /system. I see no additional bloatware. Any disabled/frozen apps I did in 4.4.4 remained that way.
Click to expand...
Click to collapse
Did you try the steps for "What to do if you get permission errors? "
i making a own flash.zip i will see.
meetdaleet said:
Required:
- Flashtool in the latest version from: http://flashtool.net
- DualRecovery by NUT as installer.zip: http://nut.xperia-files.com (Download the correct one for your device and at least version 2.8.1+! And only if you have no working recovery on your device. )
- Full Root on 23.0.A.2.93 (Download) for example with this method: http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598 / 23.0.1.A.5.77
Featurelist:
- SuperSU integrated (2.46)
- DualRecovery by NUT integrated (2.8.3) - Currently not working on Android 5.X!
Can be used on locked and unlocked bootloader.
Click to expand...
Click to collapse
Im currently on 4.4.4 unlokced bootloader with drm fix. Going to lock it up and restore TA just for this. Im on a custom kernel right now, will this flash a new kernel, propably yes? So i dont have to worry
PherChe said:
Did you try the steps for "What to do if you get permission errors? "
i making a own flash.zip i will see.
Click to expand...
Click to collapse
Should have mentioned I did not. Didn't have a cable handy.
Okay, so right now I'm running the Sony Xperia 4.4.4 ROM with unlocked bootloader and ROOT. But I'm using a custom kernel. Can I apply this update, keep root, and not even wipe data??
bofis said:
Okay, so right now I'm running the Sony Xperia 4.4.4 ROM with unlocked bootloader and ROOT. But I'm using a custom kernel. Can I apply this update, keep root, and not even wipe data??
Click to expand...
Click to collapse
from what i understand you need to restore ta partition and lock up bootloader before updating to stock loli. but you can keep root with the method in the first post
So, just flash the ZIP? Does it overwrite current installed apps? No need to flash kernel and everything else from an ftf file?
How to keep root?
I'm currently on 23.0.1.A.5.77 rooted with no custom recovery installed
Can someone explain me in a simplest way how to upgrage do Lollipop and keep roooted?
Locked bootloader
lamale78 said:
I'm currently on 23.0.1.A.5.77 rooted with no custom recovery installed
Can someone explain me in a simplest way how to upgrage do Lollipop and keep roooted?
Locked bootloader
Click to expand...
Click to collapse
I think you could try to install NUT recovery using the installer for Windows (you have root, so adb commands should work), then flashing this firmware over the one you're using.
Hi guys, thanks for all your posts, I currently have kk version 5.77, pre rooted and dual recovery working, I would like to try this lollipop release pre rooted, I am aware of the inability to use dual recovery, however I will still try it if there is a way to revert back to the release compatible with giefroot, anyone that could help me with this, it will be highly appreciated.
unable to install/boot into recovery
Jac0verflow said:
I think you could try to install NUT recovery using the installer for Windows (you have root, so adb commands should work), then flashing this firmware over the one you're using.
Click to expand...
Click to collapse
I'm trying to install/boot into recovery and nothing works
Downloaded already latest release od xNUT dual recovery installer zip. file , ADB seems to install everyhing, at the end appears: "enjoy recoveries" and that is all,
boots normally as phone always boots. No volume up and down combination works
What I do wrong?
wait for new rec that can work on 5.0
Sent from my D5833
But I have now 4.4

TWRP Recovery 3.0.2-0 - 2016-05-31

TWRP 3.0.2-0 for Xperia Z Ultra
Alternative: MusterMaxMueller's build with MultiROM support (requires a kexec hardboot patched kernel):
http://forum.xda-developers.com/showpost.php?p=67108468&postcount=89
Up-to-date TWRP with new looks and functional display/brightness settings.
Download:
http://forum.xda-developers.com/devdb/project/?id=13710#downloads
Built in an OmniROM tree, with TWRP commits currently up to and including this one.
To use, make sure you have installed the new bootloader by flashing the latest stock Sony ROM at least once.
Then, erase the recovery partition and flash TWRP using fastboot.
Code:
fastboot erase recovery
fastboot flash recovery twrp-3.0.2-0-togari.img
To enter recovery:
Switch off the phone
Hold Vol-Down & Power button simultaneously until the phone vibrates
Release the power button and keep holding Vol-Down until the Sony logo appears
Device sources:
https://github.com/olefb/device-sony-togari/commits/android-6.0
https://github.com/olefb/android_device_sony_rhine-common/tree/android-6.0-twrp
https://github.com/olefb/android_device_sony_common/tree/android-6.0-twrp
https://github.com/olefb/android_kernel_sony_msm/tree/android-6.0-f2fs (thanks, @MusterMaxMueller)
Thanks to all contributors to the Sony AOSP program, the FreeXperia team, and to OmniROM/TWRP
XDA:DevDB Information
TWRP Recovery for Xperia Z Ultra (togari), Tool/Utility for the Sony Xperia Z Ultra
Contributors
Triflot
Version Information
Status: Snapshot
Current Stable Version: 3.0.2-0
Created 2016-02-03
Last Updated 2016-05-31
How I can be sure my Z Ultra running new bootloader?
I have installed last rom 14.6.A.1.236 via flashtool
I tried to use the sony tool but I don't receive mail for activation. I use a gmail account
Obi-Wan said:
How I can be sure my Z Ultra running new bootloader?
I have installed last rom 14.6.A.1.236 via flashtool
I tried to use the sony tool but I don't receive mail for activation. I use a gmail account
Click to expand...
Click to collapse
You need to put the Customization.ini file in Emma's folder prior to running, as per the instructions. Then it won't need a login.
A full guide by alia5 here.
Obi-Wan said:
How I can be sure my Z Ultra running new bootloader?
I have installed last rom 14.6.A.1.236 via flashtool
I tried to use the sony tool but I don't receive mail for activation. I use a gmail account
Click to expand...
Click to collapse
You should already have the new recovery, it will have been installed/ partitioned when you first installed Stock 5.1.1. (The method described in the link above or even using Emma does not work on C6806 by the way.)
It does require an unlocked bootloader for it to be active though.
-------------------------------------------------------------
Doesn't work on my C6806, device just continues to boot the OS.
I have the recovery partition as I can access championswimmer's build of CWM or Saatvik Shukla's build of TWRP 2.8.5.0 if flashed into recovery. (and a build of TWRP-2.8.7.0 that I forgot that I had downloaded from somewhere in December)
Hi. Are you going to make a TWRP 3.0 build_?
fnldstntn said:
Hi. Are you going to make a TWRP 3.0 build_?
Click to expand...
Click to collapse
Thread updated with TWRP 3.0.0-0.
Enjoy.
Triflot said:
Thread updated with TWRP 3.0.0-0.
Enjoy.
Click to expand...
Click to collapse
Not working on C6806, keeps rebooting, your build of 2.8.7.0 didn't work either, that went straight to booting the OS.
C6866. Works good with sony new bootloader.
pTeronaut said:
Not working on C6806, keeps rebooting, your build of 2.8.7.0 didn't work either, that went straight to booting the OS.
Click to expand...
Click to collapse
If you have the new bootloader, you go into recovery differently.
Instructions are provided by sone here: http://developer.sonymobile.com/201...for-a-range-of-unlocked-xperia-devices-video/
alia5 said:
If you have the new bootloader, you go into recovery differently.
Instructions are provided by sone here: http://developer.sonymobile.com/201...for-a-range-of-unlocked-xperia-devices-video/
Click to expand...
Click to collapse
I know, I can flash into the recovery partition (and access) three different recoveries, See my previous post.
@pTeronaut sorry didn't read that
----
There is an "issue" with the fstab and recovery.init.rc script with this recovery.
I just built crDroid-mm, and the mountpoints of the "new" install scripts don't work with this build of twrp, since there is a missing symlink (github commit)
If any1s interested, i've gone ahead and also built twrp 3.0.0 for our togari
How can I check if I have new partition for recovery? I flashed with flashtool .216 firmware a month ago. Now I have gpe port with recovery in kernel. Is possible to have recovery in kernel (old recovery) and in the same time new recovery?
If You flashed/updated to newest fw at least once You have new bootloader with /recovery.
Sent using XT1562 - Resurrection Remix/Ultra Kernel
Uploaded a new version with the fixed symlink, as pointed out by @alia5.
Still no idea about the C6806, sorry.
Triflot said:
Uploaded a new version with the fixed symlink, as pointed out by @alia5.
Still no idea about the C6806, sorry.
Click to expand...
Click to collapse
Now we should have 2 identical twrp-3.0 versions here, oh well...
We figured it out... his (the(?))C6806 doesn't have the seperate recovery partition....
Shouldn't Fastboot flash recovery [image] result in an error if the partition isn't there?
pTeronaut said:
Shouldn't Fastboot flash recovery [image] result in an error if the partition isn't there?
Click to expand...
Click to collapse
In my experience, it flashes it to FOTAKernel, or just doesn't do anything without throwing any errors (rather stating it has flashed it succesfully)
alia5 said:
In my experience, it flashes it to FOTAKernel, or just doesn't do anything without throwing any errors (rather stating it has flashed it succesfully)
Click to expand...
Click to collapse
You can also use the Emma Bootloader and flash it into recovery via:
Code:
fastboot flash recovery FILENAME OF YOUR RECOVERY
fastboot reboot
But this way needs UB
PDesire said:
You can also use the Emma Bootloader and flash it into recovery via:
Code:
fastboot flash recovery FILENAME OF YOUR RECOVERY
fastboot reboot
But this way needs UB
Click to expand...
Click to collapse
Only on C6833 & C6802
Emma doesn't find any 'services' for C6806 (NA LTE ) & C6843 (Brazil with OTA TV) variants.
An update on my attempt to get TWRP 3.0.0.0 installed and working on my C6806.
My previous attempt was coming from flashing stock roms from 5.0 onwards using Flashtool or PC companion.
This time, I relocked the bootloader & flashed the FTF of 14.3.A.0.681 (4.4.2) and let my phone update itself all the way to 14.6.A.1.236, re-unlocked the bootloader, and tried to flash TWRP again.
This time I was successful, either Flashtool and/or PC companion cannot handle the repartitioning, or they mispartitioned my phone the last time around.

How do the root on Xperia Tablet Z2 (SGP521) with Android 6.0.1?

Hi.
I have a Xperia Tablet Z2 (SGP521) with Android 6.0.1 (build 23.5.A.0.570) without root, and I would like to make the root, how can I do?
Thanks in advance.
I'm sorry for my english.
Only way is:
- come back to original rom 4.4.2, using Flashtool http://www.flashtool.net/index.php
- root using Flashtool,
- flash TWRP http://nut.xperia-files.com/path/XZDualRecovery/Older_Releases/XZDualRecovery_2.8.21
- flash a prerooted rom using TWRP 2.8.21, http://forum.xda-developers.com/xperia-z2-tablet/general/prerooted-zip-vmo-ru-ua-kz-t3362729
- flash TWRP 3.0 can download from here http://forum.xda-developers.com/z3/general/wip-sony-android-6-0-mm-t3337357 Recroot combined v 4
To go on recovery, at the vibration when you turn on your device, push volume down button and recovery will start
I made it all working fine
lorisino said:
Only way is:
- come back to original rom 4.4.2, using Flashtool http://www.flashtool.net/index.php
- root using Flashtool,
- flash TWRP http://nut.xperia-files.com/path/XZDualRecovery/Older_Releases/XZDualRecovery_2.8.21
- flash a prerooted rom using TWRP 2.8.21, http://forum.xda-developers.com/xperia-z2-tablet/general/prerooted-zip-vmo-ru-ua-kz-t3362729
- flash TWRP 3.0 can download from here http://forum.xda-developers.com/z3/general/wip-sony-android-6-0-mm-t3337357 Recroot combined v 4
To go on recovery, at the vibration when you turn on your device, push volume down button and recovery will start
I made it all working fine
Click to expand...
Click to collapse
Hello,
why i need something "flash" after rooting? i dont understand what is the "flash" do?
Paja LT said:
Hello,
why i need something "flash" after rooting? i dont understand what is the "flash" do?
Click to expand...
Click to collapse
"Flash" means installing something to the internal memory.
You need to go back to a "rootable" version and after having your terminal rooted you can flash the latest rooted ROM.
Following the instructions on this thread https://forum.xda-developers.com/xp...lipopprerooted231a128z2-tabletsgp511-t3100821 I suggest you:
Flash the Lollipop 23.1.A.1.28 firmware with Flashtool;
Unlock the bootloader (not sure it is strictly needed but better avoid potential issues) with Flashtool (use the Sony website to get the unlock code as the automatic retrieval of Flashtool did not work for me);
Root using the script mentioned in the thread;
Flash the custom recovery;
Flash the rooted 6.0.1 ROM.
maxlnc said:
"Flash" means installing something to the internal memory.
You need to go back to a "rootable" version and after having your terminal rooted you can flash the latest rooted ROM.
Following the instructions on this thread https://forum.xda-developers.com/xp...lipopprerooted231a128z2-tabletsgp511-t3100821 I suggest you:
Flash the Lollipop 23.1.A.1.28 firmware with Flashtool;
Unlock the bootloader (not sure it is strictly needed but better avoid potential issues) with Flashtool (use the Sony website to get the unlock code as the automatic retrieval of Flashtool did not work for me);
Root using the script mentioned in the thread;
Flash the custom recovery;
Flash the rooted 6.0.1 ROM.
Click to expand...
Click to collapse
Thank you for the reply, as i understant the devise will work fine without any flashing? "Flash" means something installing in internal memory, but I do not understand why should I do it ?
please help me to root devise.
flashTool writing: "ERROR Illegal key size or default parameters."
That can i do?
Andriusss said:
please help me to root devise.
flashTool writing: "ERROR Illegal key size or default parameters."
That can i do?
Click to expand...
Click to collapse
You cant make the root with the flashtool! Copy the SuperSu (download newest zip) on your tablet (anywhere) and proceed with this: "TabZ2-lockeddualrecovery2.8.21-RELEASE.installer" you already downloaded from the tutorial. when you launch the "install.bat", the tablet will be rooted and twrp installed it auto-boot into twrp and now you can isntall your copied supersu zip then you can proceed with the tutorial
Got it fixed. In my first CWM Backup from the Dualrecovery Package (installer) was a working boot.img All fine now!

How to Root Sony Xperia Z2 D6502 & D6503

Sorry to be mean or noob in this field.
I have both the model of Sony Xperia Z2 D6502-3. Both are on Marshmellow (6.0.1) Build 23.5.A.0.575.
This is my first time to root Z2 phone I'm trying to get rooted from last two days and I've searched
all threads and read them I can that only way to root this build is to PRF(what is the process before
PRF). but can you tell me the whole process from start to end neatly and clearly.
I have unlocked bootloader of my 6503 from sony official.
after that i did recovery via fastboot. I tried to install supersu from recovery but everytime it
comes clean after reboot and this is what i have done so far
A. DEVELOPER OPTION ==> USB DEBUGGING ==> UNKNOWN SOURCES
B. Customization Number (CDA) (For FTF Download from Xperifirm)
C. PROCESS TO FLASH STOCK ROM
D. PROCESS TO UNLOCK BOOTLOADER
E. PROCESS TO INSTALL RECOVERY or TWRP
F. SuperSu Stable/MM/BETA via Flashable Zip
CAN YOU PLEASE TELL ME WHAT I AM MISSING HERE TO ROOT MY SONY XPERIA Z2 D6502-3
Done it.
check this
http://forum.xda-developers.com/xperia-z2/help/how-to-rrot-z2-marshmellow-t3384384
Enable installation of unknown resources in security settings
Hariskh said:
Enable installation of unknown resources in security settings
Click to expand...
Click to collapse
bro i already did that read it clearly
@pharaon said:
check this
http://forum.xda-developers.com/xperia-z2/help/how-to-rrot-z2-marshmellow-t3384384
Click to expand...
Click to collapse
trying this now downloading ftf for both model will took some time...
i tried that thread but no luck on finding PRF D6502 Flashable Zip
i tried to make PRF my self with supersu 2.65 & 2.74 but no luck on firmware 575
Can any one tell me how to create PRF for D6502 23.5.A.0.575???
Admin Close it...

How to install custom ROM without recovery mode - SGP321 (pollux)

Hi
Xperia Tablet Z LTE version
Android version : 5.1.1 / kernel version : 3.4.0-perf-gbccb33a / Platform : 32bits / Build number : 10.7.A.0.228
I've still have stock firmware so I don't have option to boot to recovery mode. I've installed flashtool, bootloader is unlocked, device is rooted with kingrot. I've tried to install TWRP with offical app but without success I've tried to install TWRP manually, but also without success.
C:\Users\szm>adb root
restarting adbd as root
C:\Users\szm>adb wait-for-device
C:\Users\szm>adb push C:\twrp\twrp-3.0.2-0-pollux.img /tmp/twrp.img
failed to copy 'C:\twrp\twrp-3.0.2-0-pollux.img' to '/tmp/twrp.img': Permission denied
C:\Users\szm>adb push C:\twrp\twrp-3.0.2-0-pollux.img /tmp/twrp.img
failed to copy 'C:\twrp\twrp-3.0.2-0-pollux.img' to '/tmp/twrp.img': Permission denied
Click to expand...
Click to collapse
I don't know what do do next. I don't want do do something stupid and brick device. I want to install custom rom from here:
https://forum.xda-developers.com/xp...pment/rom-resurrection-remix-n-6-0-0-t3748092
I'm thinking about flashing kernel with TWRP but don't know where to find correct one, old topics are with old firmware . Any advice?
EDITED:
I wasn't understanding the instructions. Firmware kernel doesn't block the TWRP. If someone has similiar problem to mine with TWRP. Just follow steps from this topic:
https://forum.xda-developers.com/xp...de-tutorial-sony-xperia-tablet-z-lte-t3392831
Solution works with different roms and versions of TWRP. TWRP for me booted after installation so there was no need to use buttons. I'm now happy user of android 8.1 on Xperia tablet Z. Thread can be deleted or closed now.

Categories

Resources