yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 General] alphatact1cs:
Okey :rolleyes:

There are always some problems with the Z5. In 80% this guide will work, but sometimes it will not. Sony included the new secure-boot feature on newer devices, that can be a problem sometimes.

I would flash a new ROM via flashtool (you want 5.1.1 instead of 6.0 right?). Then use AndroPlusKernel_v20 (MM) or AndroPlusKernel_v14 (LP). TWRP this version: twrp-3.0.0-0-E6653-20160220.img. Download link: https://www.androidfilehost.com/?w=files&flid=52179

Sry I cant do more :(
[Xperia Z5 General] harringtonmarlow:
Sorted

Hey Alpha,

Thanks for the assistance earlier, I ended up getting root access after some further messing about and ROM flashes. :laugh:

My mistake that was causing grief was a stupid one that just clicked for me. Booting into recovery via;

"fastboot boot twrp.img"

I realise now that I was booting into the twrp file in my attempt to access recovery, and not the installed twrp in the Z5.

In my case, I was unable to access recovery via "volume down" at amber during boot, simply would not work.

I found via a google search the cmd prompt “adb reboot recovery” that brought me into my actual twrp, and not the original image file. From here I could correctly install SuperSU and gain root access.

While it may be common knowledge for a vast amount of people, it may be useful to add that recovery access command to the "Recovery" section of "General" in your OP in case anyone is silly like me and didn't make the immediate connection.

Thanks for the good work on the guide mate, appreciate your efforts with it and your assistance for me. Have a good one :good:
[Xperia Z5 General] ninjy:
Hello,

I just wondering how works the fake DRM keys.

It enable all post process image/sound/camera features ? And works on stock MM rom ?

Is it safe to use, and can Sony block that trick on futur roms ?

Thanks
[Xperia Z5 General] mr_negative16:
Has anyone tried facebook messenger's voice recording? It keepa forcing close after following this guide. Can anyone please confirm?
[Xperia Z5 General] alphatact1cs:
Cant confirm on: Android 6.0 / AndroPlusKernel_v20
[Xperia Z5 General] TheTecXpert:
Well, I was able to Successfully flash Custom Recovery (TWRP 3.0.0.0), Marshmallow, and superSU & DRM keys on my Xperia Z5.

I'm happy to say that I have been running the device for over a week without any Errors, App Crashes, Bugs etc..

I completely debloated the device as well and even went as far as removing some useless key modules / core services and only kept the Apps/Modules/Services that are necessary and that I need..

Before Debloating the device the "Default" RAM usage was a whopping 2.7GB RAM, and that was without installing any third party Apps from the Play Store yet..

After debloating the device, and removing all "JUNK, Bloatware",

AND with all my Third Party apps installed,

My device RAM usage is only 1.4-1.7GB.. 1.8-1.9 (MAX under heavy use), i have not seen it exceed or reach 2GB RAM usage at all yet..

The device also runs SOO much cooler even under hours and hours of constant use. It barely even gets that warm.

AND to put the icing on the cake..

The Battery life is so much better.. Especially during Sleep Mode.. Much more improved..

Hopefully everyone else can achieve Optimal Performance / Stability / and Efficiency as i have..

Good luck guys :)
[Xperia Z5 General] Nidhal AKA the king:
hi,

well, i would like to fix my phone problem so i think i need to install custom recovery or custom rom,

but before i proceed, please visit my thread below, and see what's my problem if you can help me to do something, because i do not want to mess up my phone more.

here is the thread link:

http://xdaforums.com/xperia-z5/help/help-please-stuck-activation-screen-t3345872

i'd appreciate any help or share my thread or TAG anyone you know he could help me out!

thank you so much
[Xperia Z5 General] mr_negative16:
A quick question, so the kernel v22 is out, do I need to flash kernel+twrp+root again or just the kernel? Thank you
[Xperia Z5 General] alphatact1cs:
Hello,

youre right, that is a problem. I explain you why:

Your Z5 is locked and can

ONLY

be unlocked with the Google Account to the person it belongs to. So you bought it cheap because its probably stolen. We had something like this not long ago. You can ask the person where you bought it, maybe its his account (and his phone).

Anyway:

1) What happends when you reflash new OS via Flashtool and check everything under "Wipe"? Do not use Sonys PC Companion.

2) Your phone have a Wifi issue, but to solve this it would be helpful to get full access.
[Xperia Z5 General] alphatact1cs:
Just kernel :)

1) Copy kernel.zip to internal or external sd card

2) Go into twrp recovery

3) Flash kernel.zip
[Xperia Z5 General] Nidhal AKA the king:
hi, thanks for the respond, i really have no idea about these stuff, even the guy i bought from told me that he did an update and since then the phone got stuck... well, i flashed in flashtool and all that, also i was able to activate it using my sim card 3G connectivity. the phone is working now, and i activated it (check the attached pics PLZ), but as you said, the only issue i have is the wifi doesn't work, also the MAC address is unavailabe, so when i turn it on, it remains forever as "turning on" but nothing happens!

please do u have any idea/solution how to fix it and make it working again?

also, i discovered that the bootloader was UNLOCKED, so i had to RELOCK, and now it's locked, but i know that DRM keys are lost... :(

now if you can do me a favor plz, help me out to make the wifi + bluetooth working again!

i''d appreciate that so much REALLY!!!
[Xperia Z5 General] korom42:
Could someone help me plz .. I can not flash TWRP recovery correctly

- I am on stock firmware 32.1.A.1.163 for E6653

- I've booted in disabled signature verification mode win 10 and installed all the drivers

- I unlocked bootloader

-when I try to flash recovery

in 'Minimal ADB and Fastboot' it says that it is all okay

after writing 'fastboot boot twrp.img' phone goes into recovery

like in guide steps Idid a : reboot -> into recovery

But the problem is here the phone goes to system and not to recovery .

note that when I first booted into recovery I got this message about read only system partition , I swiped to allow system modification

I've tried to apply same steps in another laptop running Windows 10 also with USB 2.0 ports ( since mine have only 3.0 ports)

but I had same problem .. phone always boot onto system after entering ' reboot -> into recovery' in recovery mode

note that 'adb reboot recovery' while phone is switched on also goes into system :(
[Xperia Z5 General] alphatact1cs:
Yeah.

And now, whats your exact problem? Sry, I didnt get the point.

1) Can you enter TWRP while holding volume down when the led gets yellow? ---> Yes. ---> All fine.

2) flash TWRP again:

fastboot flash recovery twrp.img

3) forget fastboot boot recovery, it only boots recovery, nothing else
[Xperia Z5 General] korom42:
thanks for fast reply ... I can't enter to recovery that's the problem , my led is not getting yellow when switching on .. how to do this ? should I plug it to the pc ?
[Xperia Z5 General] alphatact1cs:
I will try to, but I cant promise anything.

So for now:

Flash new ROM with flashtool. Select the correct model! How? Take a look into my guide.

After you have done this, report me if its working or not.
[Xperia Z5 General] alphatact1cs:
Mmm. No. You can plug it in, but it doesnt matter. Your phone boots into Android, the only issue is that you cant enter TWRP right?

Did you flashed kernel first?

I will do my best, but I have to think about it.
[Xperia Z5 General] korom42:
I didb't flash any kernel I came from stock RU firmware
[Xperia Z5 General] alphatact1cs:
Well, there you have it. You cant just flash TWRP :eek: You have to unlock your bootloader, flash kernel, flash twrp and so on. Thats why I wrote this guide goddammit :mad: :D
[Xperia Z5 General] Nidhal AKA the king:
thanks for that... i really would appreciate it,

ok i will flash again in flashtool, but which version of android should i flash? i have (E6653_32.0.A.6.152 and also E6653_32.0.A.6.200 and both 5.1.1)

well, my model is E6653

let me know before i proceed with the flash :)
[Xperia Z5 General] korom42:
xD I can't beleive how stupid I was .. Sorry man my bad , I thought that flashing Kernel is OPTIONAL :confused:

I know I suck in hacking :cyclops:

I flashed kernel then recovery now everything is okay :D

Thanks mate :D
[Xperia Z5 General] alphatact1cs:
You use XperiaFirm and Flashtool right? Which country do you use?

Anyway, use E6653_32.0.A.6.200.
[Xperia Z5 General] alphatact1cs:
Alright. Im happy too :good:
[Xperia Z5 General] Nidhal AKA the king:
yes, i do use them!

well, the phone came from France, it was locked on SFR carrier but you know it's sim unlocked now!

so, the firmware i have is E6653_32.0.A.6.200_NCB (Nordic) is ok or i should download the SFR firmware ?

also, tell me, should I select wipe "data, Cache, wipe apps log" before i flash or leave them unchecked as is ?

thank you
[Xperia Z5 General] alphatact1cs:
Use E6653_32.0.A.6.200_NCB (Nordic), thats fine.

And wipe all (check data, Cache, wipe apps log, etc.)
[Xperia Z5 General] Nidhal AKA the king:
ok, thanks :good:

and then i will let you know about all, also if you need to take a look at the log after flashing let me know!
[Xperia Z5 General] Nidhal AKA the king:
hi again,

well i did flash as you told me, and nothing has changed, still the wifi and bluetooth Mac address unavailable!!

please take it easy with me to figure out how we can fix it?

i appreciate all

thanks so much!
[Xperia Z5 General] gm007:
Mac address been lost when unlocking bootloader that's my guessing.
[Xperia Z5 General] Nidhal AKA the king:
and i totally agree with you because the phone's bootloader was unlocked! (not me, but i bought like that)

please do you know how to restore, fix....etc?

thank you
[Xperia Z5 General] alphatact1cs:
That not true. Dont tell storys. Then why I have still the same MAC adresses before and after unlocking my bootloader? Everyone who unlocks his bootloader will lost Wifi and bluetooth ... yeah sure :mad:

MAC adresses are hardcoded and can not be changed. Every single device in the world has a unique adress. Sure, you can edit it with software, but it remains the same in the device.

Its more likely that the module is dead than this.

So for now

Download https://play.google.com/store/apps/details?id=com.tortel.syslog, do a log and send me the zip file. But pls search another person which is more talented than me. AndroPlus maybe.
[Xperia Z5 General] TheTecXpert:
I just checked my wifi mac address on my device. On an unlocked bootloader, And my MAC addresses are visible as well.. So "losing mac address on unlocked bootloader", is not true..

Anyway, this shouldn't be a problem on unlocked bootloaders, since you can edit system files.. If i remember correctly, all the information in "About Phone" device info, is in build.proc file which you can edit.. (assuming you hsve rooted device aswell) otherwise forget it..

So i agree with alphatact1cs
[Xperia Z5 General] Nidhal AKA the king:
ok thanks, but this app requires ROOT!, my phone is not rooted yet!

should i root ?

---------- Post added at 05:17 PM ---------- Previous post was at 05:15 PM ----------

yeah the phone was rooted, and bootloader unlocked... now i relocked the bootloader...

tell me plz, i can fix or restore the MAC address and so everything will back again?

thanks!
[Xperia Z5 General] gm007:
I'm not telling stories, mac adress is written in TA partition, could be something went wrong when he unlock or lock the bootloader.

---------- Post added at 07:02 PM ---------- Previous post was at 06:58 PM ----------

Dial the service menu *#*#7378423#*#* and check in service info about wlan mac adress.
[Xperia Z5 General] Nidhal AKA the king:
I did, and this is what it shown... check the picture PLZ
[Xperia Z5 General] gm007:
That is mine but sorry i don't know how to help you.
[Xperia Z5 General] Nidhal AKA the king:
but your wifi is working and you only have 1 mac address... the rest nothing!

same like me... do you think this could be fixed?
[Xperia Z5 General] korom42:
noob question can I reflash stock kernel after unlocking bootloader and installing recovery ? cause I'm having random reboots and crashes with AndoPlusKernel (Very unstable)

If yes, plz give me the link for stock kernel .. thanks in advance

or I should just try this ?

[ROM][E6653] [6.0] 32.1.A.1.163 Slim Stock
[Xperia Z5 General] TheTecXpert:
Try flashing drm keys back to device. That could help. Assuming you dont have you TA partition
[Xperia Z5 General] Nidhal AKA the king:
how can i get the drm keys?

when i bought the phone it was already bootloader unlocked!
[Xperia Z5 General] TheTecXpert:
Well, when i initially flashed and rooted my device, i followed a guide that was on here.. Ill search for the link and post it to you shortly,.. But what i did was i downloaded the provided drm keys in the guide and installed them via recovery.. Hopefully that will work for you..

Ill post more detailed info later when i have time, currently i have other matters to attend to at the moment. But once i get the free time at some stage later on, ill give you the links /details etc
[Xperia Z5 General] alphatact1cs:
DRM Keys: http://xdaforums.com/attachment.php?attachmentid=3614676&d=1453158735. I dont think it wil work, but here they are.

You need unlocked bootloader, custom kernel and TWRP to flash it. Before you ask how to do that...its all in the guide.
[Xperia Z5 General] TheTecXpert:
Thanks for providing the link for him alphatact1cs.. I just had a spare 5 minutes and was just about to get around to doing it myself until i saw your post..

Thanks for that mate... I appreciate the follow up..

Have a great day bro.

edit: sorry, one thing i forgot to mention is that I have all funtions working on my device after flashing and rooting marshmallow. As stated by other users who have had success with rooting.

One thing worth noting and mentioned is that i also flashed the provided "drmrestore" file that is provided in the guide. It may possibly be the most important file to flash / install on to your device to allow the device to have full functionality..

All bravia and x reality functions working, bluetooth functioning fine and streaming audio flawlessly (so far havent had issues with any streaming)..

As far as i can tell i havent experienced any issues with app crashes, xposed, root access, sd card, read write permissions, drm functions,

So, my (guess), is that the "fake drm keys" in the provided drmrestore.zip are absolutely necessary to restore full/original device funtion.. (on an unlocked bootloader)..

The only unusual thing I have noticed upon entering the service menu (after all flashing and mods) and tapping on the "service info".. When all the information is shown, my "bootloader unlock allowed" shows "no"... (just to be clear, I check my unlock allowed status before rooting and flashing marshmallow) and the "bootloader unlock allowed" was actually set to "yes", and was successful via official unlocking using thr sony website.

Im not sure if that has any relevance to the custom kernel that i flashed, provided in the guide given.. But i would be greatful if anybody else who has rooted their device using the exact same guide, if they coukd kindly check their "service info" in their Xperia Z5 service menu, and let me know if their bootloader unlock allowed, also says "no"..

Thanks in advance.
[Xperia Z5 General] alphatact1cs:
AndroPlus included DRM fix in his kernel since v21. Sometimes its working, but if not youll have to flash the zip.
[Xperia Z5 General] Bautinho88:
hey guys...i will get this z5 tomorrow absolutely new. It will has a DE firmware i think (5.1.1?) Do I have to update to 6.0 first before rooting etc, or should I first root and do the update afterwards?

can someone give me a checklist what i have to do in which order?

thanks in advance
[Xperia Z5 General] GEX THE GECKO:
Read the 1st post of the thread.
[Xperia Z5 General] alphatact1cs:
Follow the guide for StockRom. Its in the right order already.
[Xperia Z5 General] Nidhal AKA the king:
i followed all the instructions, and i installed the Kernel for the E6653 using Minimal ADB and Fastboot, after i unlocked my BL, but when I first turned on my phone, I felt the vibration but the screen was black, and no LED light and nothing... im on 5.1.1 built number .200 (nordic)

so I had to reflash a fresh stock rom...

why do you think it didn't work for me?
[Xperia Z5 General] Nidhal AKA the king:
[MENTION=7347494]TheTecXpert[/MENTION] [MENTION=6761463]alphatact1cs[/MENTION]

guys, I did repair and update thru PC Companion and I was updated to Android 6.0

then when I went to check the wifi issue, it's still in there but the Mac Address has changed from unavailable to some numbers

please check the picture below

thank you
[Xperia Z5 General] alphatact1cs:
That doesn't mean anything. I have the same MAC adress (see attachments).
[Xperia Z5 General] Nidhal AKA the king:
i know but remember in the previous version of android, it was Unavailable !

:confused:

---------- Post added at 01:03 PM ---------- Previous post was at 12:17 PM ----------

ok, how about the root.. i followed all the steps and then when i booted the phone vibrates but the screen is black and there is nothing!

do you think i missed something?
[Xperia Z5 General] alphatact1cs:
Not even the led? (red flashing)

Use AndroPlusKernel_v14 (link also in download links) for 5.1.1. Sometimes this will work. But then I dont know what to do.

Your Z5 has some serious problems. I dont want to know what the previous owner has done to it and why it was that cheap. :/
[Xperia Z5 General] Nidhal AKA the king:
now the root and custom kernel worked, also flashed superSU and drmrestore, they all works... but the wifi problem is still available :confused:

does the drmrestore remains permanently or i should install it in every update?

and if i lock the bootloader again, and remove root, it will be also removed?

thanks
[Xperia Z5 General] alphatact1cs:
1) You flashed the whole system, kernel, recovery,... and it still remains. So I think its a hardware issue, probably the wifi/bluetooth module is broken. I dont know what else it should be.

2) Reflash it every OS update/upgrade.

3) I think it isnt a good ideo to relock bootloader. But you can try yourself. But I dont know why to do this. This doesnt make sense to me.
[Xperia Z5 General] Nidhal AKA the king:
..but how they got broken if it's the wifi/bluetooth module?

also, why i cannot flash another person's TA partition same model E6653? i mean what are the technical failure or risk?

i know they said it will hard brick the phone but i would like to know what this does exactly to make it hard bricked or completely dead!

thanks
[Xperia Z5 General] TheTecXpert:
Did you reflash drmrestore, andropluskernel, after the marshmellow update and wipe both caches?? If you did then i dont see why your mac addresses arent showing.. As alphatact1cs mentioned it could be a module issue, but if it was hardware related then device wont work to begin with.. Also, something worth noting, its very simple to find your wifi mac address on your device.. Settings>Wi-Fi>Advanced Wi-Fi mac address should be there,.. If not, just log in to your router using your pc, go to your wifi settings or connected devices in wireless settings (depends on router), and the mac address of your phone should be there.(probably irrelavent, but its just another way to check your mac address for your wifi on your phone if you want to manually insert it into settings file or something on your phone)

edit: as for flashing wrong TA partition and bricking your phone.. Simply put, flashing the wrong TA partition to a device will inevitably brick it because of "drm". It is used in apps like Walkman to protect purchased drm content, and also used for enabling a devices' enhanced functions such as x-reality, Bravia engine, etc.. No 2 devices are exactly the same either. Internel hardware will have different unique serial numbers, hardware info, specifications, oem settings..(as far as i know, i could be wrong, so correct me if i am). Maybe there's a bit more to it as well.. I've also read that, running a device without TA partition, is a safer option, than re-flashing them back to the device after the bootloader has been locked..

And it makes sense, because on my old Xperia Z, i unlocked my bootloader, flashed a stock AOSP Rom, and still had full bravia engine, x reality, mac addresses etc all working.. (again sorry if this might seem off topic or irrelavent), but maybe the problem is within the ROM somewhere?? Or have we already concluded that its not rom related?
[Xperia Z5 General] Nidhal AKA the king:
well, yeah, i did all, and now i'm running a rooted rom, unlocked and drmrestore is flashed too, with andropluskernel and marshmallow update... assuming if it's not a hardware issue or module as you said... it could be something about programming? like the wifi driver or hardware wifi info was lost and should be restored by some hacking tools or programming ?

i really i'm not advanced in that but it could be the case... so there might be a chance that it would be the case to fix that issue...

assuming if it's a hardware module issue, it wouldn't bother the phone or make it unstable ?... well the phone works perfectly same like yours guys, except of the wifi/bluetooth issue... also i think NFC is related as well as WIFI hotspot, because they don't work as long as the main wifi and bluetooth radios aren't working, so its related!

i wish i could be more convinced whether if its hardware, or software and there is a chance to fix it!

thanks for your help and taking time to explain :good:

i wouldn't give up until i make sure it's a 100% hardware issue
[Xperia Z5 General] stonecoldant:
so now that we have a temp root with a locked bootloader on LP (http://xdaforums.com/crossdevice-dev/sony/iovyroot-temp-root-tool-t3349597), is there a tool or means to unlock a permanently locked BL? ie bootloader unlock allowed:no -> yes?
[Xperia Z5 General] Noisecake:
There will probably never be a root for locked BL so I'm going to try this method.

But before I start I have a few questions.

1. Should I flash 6.0 Marshmallow before unlocking BL and rooting or after?

2. Is it still possible to flash other firmware using Flashtool with Xperifirm when rooted?

3. I'm on Windows 10 with only USB 3.0 ports. I know how to install the drivers needed for adb on Windows 10, but are the USB 3.0 ports going to be a problem for Flashtool/Adb? This is my biggest concern.. I don't want to unlock my bootloader and find out I can't root my phone [emoji52]

Greetz[emoji3]
[Xperia Z5 General] alphatact1cs:
1) Unlocking bootloader is permanent. But if you want Android 6.0 you have to root

after

upgrading.

2) You can flash everything with Flashtool.

3) That can be a problem. It can work, but sometimes it will not.
[Xperia Z5 General] Noisecake:
So what would happen if I got root on my current 5.1.1, and would then try to upgrade to Marshmallow using Flashtool? I'm a bit of a noob in all this, trying to understand [emoji23]

Btw, isn't there any way to test if my USB 3.0 ports will work?
[Xperia Z5 General] KTK GRACER 1:
https://tapatalk.com/shareLink?url=...share_tid=1151735&share_fid=3793&share_type=t

New 100% reliable "temp root" for Titanium Backup (won't stop working until reboot!)

Wysłane z mojego D2303 przy użyciu Tapatalka

---------- Post added at 04:22 PM ---------- Previous post was at 04:15 PM ----------

Thank's for help

Wysłane z mojego D2303 przy użyciu Tapatalka
[Xperia Z5 General] goniecool:
i tried to unlock my 6683 but my phone is not on fastboot devices list in cmd

i follow every step on the instruction, even the xperia companion detect my phone

what should i do??
[Xperia Z5 General] alphatact1cs:
1) Yeah, try fastboot before rooting.