yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 General] DeathStroke:
[MENTION=6791680]_LLJY[/MENTION] hello Sir and other guys here, please help me on this confusion.

I downloaded the LP firmware as I'm on MM latest build to downgrade first and then backup TA partition.

The file I downloaded is .Zip LP firmware for E6683 ( link here http://d-h.st/NVkV )

Before downgrading I need to create it as FTF file so that flashtool can flash it, but I'm confuse if for this also I need to remove .ta files before creating .ftf file? or I can just convert the .zip file to .ftf file and flash with flashtool?
[Xperia Z5 General] _LLJY:
Create ftf, don't select the .ta files
[Xperia Z5 General] YasuHamed:
by using flashtool.net you can Relock your bootloader any time!

the modified kernel have drm fix installed, you can however restore DRM keys back to your xperia irrespective of any upgraded version of Android!

---------- Post added at 09:39 AM ---------- Previous post was at 09:36 AM ----------

you have downloaded the flashable zip of LP Android

you either have to convert it to FTF or better download original LP FTF file from xperiFirm using flashtool software from FLASHTOOL.net

and then flash.
[Xperia Z5 General] DeathStroke:
Thanks, i had to do as zip file didn't work.

Now i was trying to root my device,

I m not able to patch latest .305 kernel. Im using indian latest MM firmware.

Please help me.
[Xperia Z5 General] YasuHamed:
first thing first

1. is your bootloader unlocked?

if no then consider DOWNGRADING to LP inorder to extract DRM keys!

if you don't wana do that then

2. download your version from

https://xpericheck.com/device/E6833 (what is your model) ?

and flash it using FLASHTOOL (www.flashtool.net)
[Xperia Z5 General] DeathStroke:
Thanks for your assistance,

My bootloader is already unlocked, TA backed up.

Now I'm on MM .305.

I flashed version .305, boot into system and then fastboot patched kernel via flashtool. But after flashing patched kernel, my system isn't booting up. I didn't get any error during any operation, but my device is not booting with patched kernel, please help me on resolving this.
[Xperia Z5 General] YasuHamed:
are you able to connect your device again in flashmode/fastbood mode????

seems like your E6683 had been Patched with wrong kernel OR atleast something was missing! even if you cannot flash twrp into kernel, you c an always directly flash superSU without recovery in the script! and it SHOULD boot ROOTED!

send me the kernel i will try modifying the same way i did for my E6833 (z5p) and its working like a charm!

however [MENTION=4800812]DeathStroke[/MENTION] if you cannot connect to either flash/fastboot mode and device is idel then it seems like your z5 is bricked.

when you connect cable / wallcharger does it light up with RED LED ? or not?

1. holding POWER+VOLUMEUP for 5 seconds should give you one VIBRATION and device should reboot, it after vibration its not rebooting then it means its STUCK kernel

2. HOLDING POWER + VOLUME UP keys for 15 seconds will make your device VIBRATE 3 times, when its vibrating 2nd time, RELEASE your FINGERS and this will force Z5 to shutdown!

now try connecting in flash/fastboot mode

flash .305 all over again (or atleast kernel.sin from ORIGINAL ftf file) in order to make your device boot up!!! _____ ))))))

then we will see what modify stock kernel we can do for your device ( E6683 )
[Xperia Z5 General] DeathStroke:
I'm able to connect in fastboot/flashmode any time even if it's getting bricked by flashing patched kernel.I have flashed kernel.sin I don't know how many times to check different solution available here, tried using custom kernel too, but nothing is working other flashing again the stock kernel.sin. I already sent the kernel to you, you can see if anything possible could be done.

Thanks.
[Xperia Z5 General] YasuHamed:
FOR NOW

flash you device with virgin ftf file to .305

boot it and run it,

meanwhile i will fix the modified kernel for u
[Xperia Z5 General] DeathStroke:
Right now m running fresh .305 Indian firmware.

I'll try that later, cause that is big file too download right now. Please try to patch the kernel and I'll try it, if that too don't work, I'll try Virgin FTF file.
[Xperia Z5 General] YasuHamed:
sent, plz chk

best of luck
[Xperia Z5 General] DeathStroke:
Sad, it didn't work. I guess don't know how possible if something is wrong with FTF file I flashed?

One more thing, I'm not able to make call on VoLTE ( it is not getting activated, under setting the option is ON), before it was working on latest version of MM (official update) and then I did downgrade and now everything is messed up and no profit.
[Xperia Z5 General] YasuHamed:
this is very strange, from where u downloaded the file? (ftf) ?

try redownloading from xperifirm (in flashtool)

was 32.2.A.0.253 working fine?

do u have problems with .305 update ONLY ?

please specify!
[Xperia Z5 General] DeathStroke:
I downloaded the FTF from xperifirm only, the firmware was India specific latest .305.

I never tried root untill .305 version, this is first time I'm doing this. So I don't know about problems with earlier builds.

Edit: Now I'm downloading the Malaysian Firmware. As Virgin is not available for my device. I'll try that with patched kernel and see if I'm able to do what I need. Later I'll post the results.

Thanks alot for you help mate.
[Xperia Z5 General] YasuHamed:
almost all the countries / builds have got .305 accept Singapore which is still .253 (see attachment)

now technically if you were on LP kernel and directly upgraded to .305, should not give you such problems.

the VERY VERY last option for u to FLASH the zip file of .305 using TWRP kernel! which I DONOT RECOMMEND. because TWRP kernels don't use SONY FILE SYSTEM and PARTITIONS and there is no DRM FIX in their kernels! also i am not sure TWRP is available for SAMURAI (your device). they stopped at YUGA ( base Z series C6602/C6603)

This is why I am no more going to buy sony! they are now TOUGH cookie to break day by day!

soon z5c / z5/ and z5p all variants will GO on Android N and who knows what rooting pattern will be?

i will buy next time ONEPLUS4 or XIAOMI as root is already installed!
[Xperia Z5 General] _LLJY:
It's actually super easy to root Sony devices, it's the same procedure as Nexus devices, TA backup I'd optional.
[Xperia Z5 General] YasuHamed:
super easy to root are samsung devices! sony are the toughest but everyone of us is talking out of our experiences

could you guide me ROOTING E5333 for 6.0.1

still not root for that one!
[Xperia Z5 General] DeathStroke:
[MENTION=5613633]YasuHamed[/MENTION]

While flashing ftf file what all to be excluded. Here in the attachment what i'm flashing is shown. Please check if something more should be there.

Thanks
[Xperia Z5 General] _LLJY:
should be good
[Xperia Z5 General] YasuHamed:
your flashtool is OUTDATED :(

download the latest one! V 0.9.22.3

my flashing screen looks like
[Xperia Z5 General] solidsnakecod4:
just downgraded to LP rom, did TA bkup, created latest firmware .ftf , downloaded from xperifirm and about kernel link u have provided in description is for E6653 and E6603 made by androplus. If there is any kernel for E6683 please provide link for that [MENTION=6791680]_LLJY[/MENTION]
[Xperia Z5 General] YasuHamed:
he has already done that!

i sent him the cutomized kernel for E6683

gimme your email i will send u
[Xperia Z5 General] solidsnakecod4:
ashhadrtr@gmail.com, thanks for the help :)
[Xperia Z5 General] DeathStroke:
[MENTION=5613633]YasuHamed[/MENTION] I was able to root my device, install recovery and boot successfully, but error m getting is memory not mounted, mount it back. How to fix this?

Edit : Fixed that too. It's working now.

Thanks a lot to you for your help. :D
[Xperia Z5 General] solidsnakecod4:
[MENTION=6791680]_LLJY[/MENTION] i need kernel for E6683
[Xperia Z5 General] YasuHamed:
[MENTION=4800812]DeathStroke[/MENTION] I am honestly glad! :) enjoy your xperia! its amazing device with super battery and led shell life! [MENTION=5218180]solidsnakecod4[/MENTION] , chk your email. i have sent it on ashhadrtr@gmail.com

but first, put SUPERSU in your sd card,

flash kernel

boot the device

goto recovery (volume up key while sony logo)

install from sdcard and flash superSU.zip file (2.78 verison is highly recommended)

once done

reboot in to system.

Optional : you may lock your bootloader by flashtool. same key can always be used to unlock later in future
[Xperia Z5 General] theduke7:
[MENTION=6791680]_LLJY[/MENTION] i have a question m8, you wrote about removing the .ta files before packaging the ftf, is that the same for the ones downloaded from within Flashtool? ,will it brick the device?... i'm downloading 1 now and hate to screw the phone :)
[Xperia Z5 General] solidsnakecod4:
[MENTION=4800812]DeathStroke[/MENTION] im facing the same problems as u have faced can u plzz tell me which kernel did u flashed or what did u do make it work?? plzz help man.
[Xperia Z5 General] _LLJY:
The same
[Xperia Z5 General] DeathStroke:
Give me some details what version you are on right now??

Have you unlocked bootloader and backup your TA?
[Xperia Z5 General] solidsnakecod4:
right now im on .305 version Indian firmware downloaded from xperifirm, i have backed up TA and boot loader is unlocked. I done all these by following _LLJY guide.
[Xperia Z5 General] bungadudu:
Can somebody please share a link/the link to the firmware referred here? (the 5.1.1 fw) - http://www.xperiablog.net/forum/resources/xperia-z5_e6653_32-0-a-6-152_central-europe-5_generic.477/

It says that the link is only available for registered users. I registered but now need to wait to get approved :rolleyes:

// found it here - https://anteshflash.blogspot.ro/2016/05/sony-xperia-z5-511-firmware-update.html
[Xperia Z5 General] DeathStroke:
Oh well then flash .305 once again and while flashing choose these settings, don't worry just do that. And then patch your kernel as usual and you will be able boot. Remember don't add SuperSU in kernel, flash it via recovery after flashing kernel before booting into system. Volume up pressing continously untill led turns yellow is to enter recovery if you don't know.

Sorry for late reply, I was busy.

All the best
[Xperia Z5 General] solidsnakecod4:
can u plzz attached that kernel u flashed to my mail id ashhadrtr@gmail.com??
[Xperia Z5 General] osmancan71:
drm key backup 2mb. is it correct?
[Xperia Z5 General] bungadudu:
Probably.

Mine had the same.
[Xperia Z5 General] osmancan71:
hmm :) thank you very much.
[Xperia Z5 General] DeathStroke:
That is TA backup, not drm-keys, drm keys file is approx 500kb. You have to extract drm keys from TA partition using a tool as stated in this guide.
[Xperia Z5 General] osmancan71:
how will I do?
[Xperia Z5 General] DeathStroke:
http://xdaforums.com/showthread.php?p=66141387

Follow this guide. After flash that drm file via flash tool from device key option.
[Xperia Z5 General] osmancan71:
I used it already :)
[Xperia Z5 General] Chri_NRG:
Test
[Xperia Z5 General] TrafalgarD:
how about 6853 ?

nevermind, I find :'D
[Xperia Z5 General] vibealite:
omg i just lost my drm keys thinking the back up worked i did it severel times and it sed it was successful but now when i try and restore them it wont restore them how big is the file ment to be?
[Xperia Z5 General] vibealite:
scratch that i maniged to restore it now have full working drm keys again thank god :)
[Xperia Z5 General] DeathStroke:
The TA backup is big file, but drm file is about 453~ kb.Thats what you need to extract from TA Backup img file.

Sent from my E6683
[Xperia Z5 General] vibealite:
i converted it with backupta then used that to restore my drm keys worked aswell i was relieved cuz i had thought it hadnt worked but it did so happy days lol
[Xperia Z5 General] freaky2xd:
lol I can`t unlock my Bootloader!!!!!!!

it says Bootloader Unlock Allowed = Yes

i have already reinstalled the fastboot and flashmode drivers and i even installed Sonys Xperia PC Companion...

I always get this error:

I have already tried the official method using Android SDK but I get the same error!

and the bootloader still isn`t unlocked but is unlockable....

the device has no simlock btw
[Xperia Z5 General] erikcas:
run flashtool as administrator?
[Xperia Z5 General] freaky2xd:
didn`t work... i tried flashtool64 too and the official method using a command terminal

---------- Post added at 07:23 PM ---------- Previous post was at 07:10 PM ----------

@erikcas

i fixed the "FAILED (remote: Command not allowed)" error!

I simply disabled every admin application in the security settings and I ticked "Allow OEM Unlock" in the developing settings :) now my bootloader is finally unlocked again ^^. the z2 was much easier to unlock but this time I was clever enough to backup my ta partition
[Xperia Z5 General] erikcas:
lol... life can be so..... simple..

Cheers, glad it worked out
[Xperia Z5 General] doum89:
guys I can't find the command backupdrm.bat, there is no file with this name inside the iovyroot folder
[Xperia Z5 General] Rozalina340:
It's called tabackup now.
[Xperia Z5 General] doum89:
Many thanks. Before doing It I have to fully complete this poibt: "Part Three: Downgrading firmware", right?
[Xperia Z5 General] Rozalina340:
Yep , that is correct!
[Xperia Z5 General] doum89:
need help. can't get flashmode on the smartphone. I follow the instruction (push volume down then plug) but it doesn't work (it goes in provisional/temporary mode) ...any suggeston? I have USB debugging and unknown sources are enabled
[Xperia Z5 General] Rozalina340:
Did you install the drivers ?
[Xperia Z5 General] doum89:
I've installed drivers but it is still not working, it keeps to don't enter in flash mode ://
[Xperia Z5 General] joxgo:
hi guys!! first of all i have to say iam a total noob rooting android, then letme ask for some help.

1- will this work for e6603 model?

2- some days ago i follow a guide in youtube ( i fail so i need to reset the system using emma) but from this experience and after read this guide i have this doubt, it is possible to root the device by installing TWRP, then the superSU but whitout flashing the kernel or is risky?

Thanks for your help
[Xperia Z5 General] _LLJY:
1. Yes

2. No it's different for EVERY device

3. Flash kernel before doing ANYTHING
[Xperia Z5 General] joxgo:
Thanks for your answer, now i have a new question.

In the Part Three: "Downgrading firmware". You send us to this link "xperiablog.net/forum/reso...5_generic.477" this is for a "Z5_E6653_32.0.A.6.152_Central Europe 5_Generic" it doesnt matters if the one i have downloaded from xperifirm is z5 e6603 32.2.A.0.305 USA customized? or i have to search for a e6603?
[Xperia Z5 General] dx125:
hey there,

when creating the FTF with flashtool, it adds a .ta file to the bundle i didn't (even couldn't) select:

Sumire_S1BootConfig_MiscTA.ta (located in the boot folder).

is that correct or will this cause problems?
[Xperia Z5 General] Devo7v:
You need to download 32.0.A.6.152 firmware. This is important because it will downgrade you to Lollipop firmware on which the root exploit will run and you'll be able to backup you TA partition with your DRM keys. There is 32.0.A.6.152 firmware for the E6603 as you can see on XperiCheck, but I don't know where you can download it from, you'll have to do some searching.

There's another method of backing up the TA partition using the DirtyCow exploit. This method does not require you to downgrade your firmware, but I don't know if its been tested with the E6603. As far as I know it should work since there is really no functional difference between the E6603 and the E6653.
[Xperia Z5 General] joxgo:
Thanks for the help i will do my own search for the 32.0.A.6.152 firmware for my e6603
[Xperia Z5 General] Jeffrey04:
Just out of curiousity, whenever people mention backup DRM, can I assume it means backing up the TA? :confused:
[Xperia Z5 General] _LLJY:
Yes
[Xperia Z5 General] Jeffrey04:
If I downloaded the latest flashtool

and used the Trim Area backup (Trim Area->S1->backup)

is that good enough?

but then i received this
[Xperia Z5 General] _LLJY:
Backup ta using iovyroot or dirtycow
[Xperia Z5 General] Baradoura:
Pretty good tutorial but i can't download Iovyroot , i have this message instead :

"Sorry this file is infected by a virus , only the owner can download infected files"

How can i proceed to download it ?
[Xperia Z5 General] kaakkuri:
Help needed..I am confused.

Hello, I am on firmware 32.2.A.0.253 and I have taken TA backup. How do I get root and twrp to my device now? I have been reading the noob guide but it seems to be too difficult. I have been flashing and rooting

earlier z models but this z5 seems to be really confusing.
[Xperia Z5 General] migidid:
So, made a TA backup, it said it was successful, its about 2mb. from what ive read i need to extract it from the file right ? and my DRM keys are fine? trying to open the file with winrar says the file is unknown format or damaged, i think thats normal you arent supposed to open it with it. i dont want to restore anything but i started reading about enabling them even with root so i must need my own DRM keys for it and started investigating the file on my pc.

please tell me my keys are ok!
[Xperia Z5 General] tge101:
Is this still the method if you're going from Nougat to MM? Seriously anxious about bricking this phone.
[Xperia Z5 General] WookieLance:
Well, I was Android 7.x

Before starting this, I downgraded to 5.1.1 as instructed via the links here. I then proceeded to backup TA part. Second try lucky it worked fine and it outputted the image file which I promptly moved to my secure Google cloud folder. I then unlocked the bootloader as instructed. Then I flashed the "E6653_32.3.A.0.376" for my carrier which worked fine.

Afterwards, I used the Android SDK to flash "Z5_AndroPlusKernel_Permissive_v43" by running

fastboot boot boot.img

which appears to have flashed just fine but I have no idea if it did as I do not know how to check it, as I checked the about page in settings and it appears I am running 3.10.84-perf-gda84446f" which I don't think is correct from the other Custom Roms I have seen running custom Kernels. Which is weird because the command-line for flashing the kernel boot image was a success.

So now I am just trying to figure out if I have root and if the bootloader is unlocked so I will need to dial the internal number and suss it out.
[Xperia Z5 General] Devo7v:
If it worked properly, you should see the following on the about phone page.
[Xperia Z5 General] WookieLance:
Cheers yea it worked after I used a custom rom, the kernel I mentioned did not flash correctly at all.
[Xperia Z5 General] misbehave:
Can I use this guide if I am still on the very first stock Z5 Marshmello 6.0 rom?
[Xperia Z5 General] sceryavuz:
Easy : https://xdaforums.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
[Xperia Z5 General] zago84:
The guide is for backup DRM, unlock and root. But how to restore anything in case of need to send smartphone in warranty?
[Xperia Z5 General] tge101:
When you downgraded, we're all the options to check boxes the same? Or do you remember which you checked? Some were different when I went to do it and it scared me that I was going to brick it..
[Xperia Z5 General] voryzen:
Is it possible to update this, to reflect other tools, like TAbackup. As the lollipop firmwares are not exactly around anymore, and TA Backup can use marshmallow firmwares.

I actually just backed up my TA partition using this method, and I'm happy to provide instructions and links to the files I've uploaded to google drive.

I'm happy to provide steps (it's not difficult, really) and you can edit the OP. just so, people can find the information easier, and they have another option
[Xperia Z5 General] HTC_SLAVE:
9. Select your device and follow the instructions

9. after getting the unlock key, paste it inside the BLU dialogue in flashtool

10. wait, then profit!

11. now flash the .FTF that you created

12. boot your device into fastboot(plug in power cable and press vol down when your phone is switched off)

13. Download androplus kernel v23 and above from here: https://kernel.andro.plus/

14. Extract boot.img and put it in the android SDK inside of 'platform-tools'

15. Press shift+right click inside of the same folder

be sure to install xperia z5 fastboot drivers)

16. click 'open command window here'

17. run fastboot devices and make sure it detects your device

18. run this command here : fastboot flash boot boot.img

19. Reboot and DONE[/QUOTE]

HI,

I'm stuck on step step 11. Ive tried a singapore custom and UK custom FTF's. And neither of them will flash, I had to reflash the central europe generic rom to get it running again. Is there any other download I can use now?

Ive had some problems getting this far, mainly finding a flashtool that works on my older 32bit laptop. Im using flashtool 0.9.22.3 ( i tried another version which wouldnt let me create the bundle).

IS there any other flash i can use?

I have the DRM keys backed up.

27/022/2018 14:22:26 - INFO - Selected Bundle for Sony Xperia Z5(E6653). FW release : 32.2.A.5.11_R12C. Customization : UK

27/022/2018 14:22:26 - INFO - Preparing files for flashing

27/027/2018 14:27:02 - INFO - Please connect your device into flashmode.

27/027/2018 14:27:03 - INFO - Opening device for R/W

27/027/2018 14:27:03 - INFO - Device connected in flash mode

27/027/2018 14:27:03 - INFO - Reading device information

27/055/2018 14:55:39 - INFO - Unable to read from phone after having opened it.

27/055/2018 14:55:44 - INFO - trying to continue anyway

27/055/2018 14:55:44 - INFO - Phone ready for flashmode operations.

27/055/2018 14:55:44 - INFO - Opening TA partition 2

27/055/2018 14:55:45 - INFO - Start Flashing

27/055/2018 14:55:47 - INFO - Processing loader.sin

27/055/2018 14:55:47 - INFO - Checking header

27/055/2018 14:55:47 - ERROR - Processing of loader.sin finished with errors.

27/055/2018 14:55:47 - INFO - Ending flash session

27/055/2018 14:55:47 - ERROR - Error in processHeader : 22 : The device does not recognize the command.

27/055/2018 14:55:48 - ERROR - Error flashing. Aborted

27/055/2018 14:55:50 - INFO - Device disconnected
[Sony Xperia S, Acro S, Ion] xboxhaxorz:
Has anybody used these http://www.ebay.com/itm/Premium-Tem...r-Sony-Xperia-S-SL-LT26i-LT26ii-/171504983312
[Sony Xperia S, Acro S, Ion] Aksh5450HD:
I USED THIS ONE AND IT WAS BEST N STILL AFTER FALLING MANY TIMES IT SAVED MY XPERIA S DISPLAY :)

http://www.amazon.in/F-EYE®-Xperia-...&redirect=true&ref_=oh_aui_detailpage_o00_s00
[Galaxy Grand 2 Themes and Apps] slhsrc26:
JUST LOLLİPOP 5.1.1 AND OVER ..........PLEASE FOR EFOR THANKS BUTTON.... FOR MOTİON ROM %1OO WORKİNG NAME FİXED

You can USE TROUBLE........ https://mega.nz/#!IRBSVZBQ!1pbFIJT7zL6QLPyFsbOwlmpLCfQiCd9ACV9_nuR8U0s GO__root explorer___system__app___legacyincall___legacyıncall.apk delete___new INCALLUI.apk copy__permisson r.r. restart twrp and cwm flash link:::::https://mega.nz/#!NRxhTagI!DBJYLfMO894MwfDkY4iBjXvCRdEhD093HI3aFGvq9So
[Galaxy Grand 2 Themes and Apps] :
Ya indo this...but after reset my device incall ui not show
[Galaxy Grand 2 Themes and Apps] slhsrc26:
for android 5.1.1 not working 4.4.4 or 4.4.2
[Galaxy Grand 2 Themes and Apps] :
M on motion 5.1.1
[Galaxy Grand 2 Themes and Apps] slhsrc26:
what is the problem
[Galaxy Grand 2 Themes and Apps] :
After do all. ..all r working . In call ui..but after i factory reset . My device in call ui not show
[Galaxy Grand 2 Themes and Apps] slhsrc26:
Does it work now???
[Galaxy Grand 2 Themes and Apps] javad0644:
its working fine
[Galaxy Grand 2 Themes and Apps] LaughAtYou:
working good tw 17.0
[Galaxy Grand 2 Themes and Apps] in with suraj:
not workin for me.. am ion motion rom... aftr do all the steps and restar device whn am calling there is no call ui
[Galaxy Grand 2 Themes and Apps] terabithia1572:
Not Working
[Galaxy Grand 2 Themes and Apps] in with suraj:
guys dont flash this bqz if u insert manualy the ap set permission and after reboot its not working but stil you OS is no problm but if u flash it throug any recovery it erase you OS am facing that last night
[Galaxy Grand 2 Themes and Apps] Saahil Shaikh:
hell man this bricked my phone