yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] reignzy:
Soft power off hold volume up and power button until you get a 3 vibration effect then release.
[Xperia Z2 Original Android Development] Michuta:
Hi all! i have two questions, if we restock our rock and relock our Z2 we will take back DRM keys? and if we just relock custom rom we will take DRM keys back?
[Xperia Z2 Original Android Development] reignzy:
If you have unlocked boot loader now then drm keys gone for good, stock or Custom rom.

Both questions answered
[Xperia Z2 Original Android Development] mcteague:
Guys probably a question I can answer myself, I'm on 55 build number so I guess I would need to use corresponding recovery and root file and not the new one as it's for a different sw version
[Xperia Z2 Original Android Development] Xernoxis:
Go to the download section in OP, there you see an "older files". Click it and you will see the kernels for the other FW. You have .55 so v2 is for you.
[Xperia Z2 Original Android Development] The Peterle:
[MENTION=2784807]DooMLoRD[/MENTION]

First of all, Thanks for your great work!

One question. Is it possible to get a twrp recovery separately? Because I am still waiting for your Kernel for 402 and missing twrp.

Thanks and regards

Peterle
[Xperia Z2 Original Android Development] DooMLoRD:
Ya I think i will release TWRP separately in a thread...
[Xperia Z2 Original Android Development] Jackos:
What about PhilZ?
[Xperia Z2 Original Android Development] Michealtbh:
Good news, I would like this too
[Xperia Z2 Original Android Development] adamsmth663:
Hi DoomLord

Just came into ask are you or any other developer working on a way to back up TA / root without unlocking BL?

Thanks.
[Xperia Z2 Original Android Development] tpcastelli:
Hi DoomLord,

I am on kernel version #5, can go to .402 through companion? Probably a stupid question just trying to catch up on updates :)
[Xperia Z2 Original Android Development] DooMLoRD:
Ya we are trying to get root but unfortunately no luck so far on locked bootloader...

I have uploaded my DooMKernel v06 which supports 17.1.1.A.0.402 firmware
[Xperia Z2 Original Android Development] tpcastelli:
Flash v 6 then upgrade to 406?
[Xperia Z2 Original Android Development] drup88:
How many ppl are working actively on root + TA Backup on unlocked bootloader? [MENTION=2784807]DooMLoRD[/MENTION]?

I'll send another donation through to cover coffee so you guys aint slacking off sleeping or doing something else unproductive =P
[Xperia Z2 Original Android Development] reignzy:
I would assume, flash update, then flash kernel before rebooting. :good:
[Xperia Z2 Original Android Development] The Peterle:
First FW then Kernel.

Regards

Peterle
[Xperia Z2 Original Android Development] lvikel2:
plz help.. i see just the sony logo after fastboot

plz help

i flash your boot.img

now i fill the touch but i cant see nothing

i see the sony logo

and i heard sound only

i can to getinto CWM

thanks

ok, i fiz it

in CWM i make adb sideload for anorher rom

thanks
[Xperia Z2 Original Android Development] reignzy:
If you're running. 402 with v5 you need to download v6

If you're running firmware below. 402 you should be OK with v5 kernel
[Xperia Z2 Original Android Development] DooMLoRD:
Please don't mix the versions... The kernel in this thread are different from my DooMKernel!!!
[Xperia Z2 Original Android Development] tpcastelli:
Thanks. Yes I flashed v6 got black screen then tried update with no go. Pulled sim card for reboot to get into recovery and flashed v5 all good. Will try the again. Thanks
[Xperia Z2 Original Android Development] nosidefcp:
keep pressing f5 for a root + cwm for locked bootloader :(
[Xperia Z2 Original Android Development] reignzy:
My apologies. Was only trying to help
[Xperia Z2 Original Android Development] DooMLoRD:
no problem mate! just please mention the kernel name and not just the kernel version... we dont want people getting confused :D
[Xperia Z2 Original Android Development] DooMLoRD:
As requested...

[sirius][CWM Advanced Edition] PhilZ Touch {UNOFFICIAL}

regards,

DooMLoRD
[Xperia Z2 Original Android Development] DooMLoRD:
As requested...

[RECOVERY][sirius] TWRP 2.7.0.0 Touch Recovery {UNOFFICIAL}

regards,

DooMLoRD
[Xperia Z2 Original Android Development] kjhughes:
Help - bricked ?? :(

EEK!! I unlocked my bootloader successfully and then flashed the boot.img from this post using fastboot.exe - it told me everything was okay, then I rebooted and just have a blank screen now - can't even get back into fastboot mode - doesn't boot at all, if I plug in USB it gives me an orange notification LED but nothing else....

Help (please....) - any pointers ??

.. Ken

UPDATE - working now (phew...) for some reason there was no display, although the device was actually working - when I eventually got it turned off after guessing where the screen buttons were, I turned it on again and got the sony logo etc - all is good now - but worth bearing in mind...

.. Ken
[Xperia Z2 Original Android Development] DooMLoRD:
1st] PLEASE DO NOT QUOTE THE ENTIRE OP!!!

2nd] PLEASE READ THE ENTIRE OP BEFORE FLASHING ANYTHING!!!

let me guess you had FW 17.1.A.2.36/17.1.A.2.55/17.1.A.2.69 and you flashed the latest kernel (the one ment for 17.1.1.A.0.402)?

just do a hard power down:

POWER + VOLUME UP - both keys pressed for 5 seconds

now connect to fastboot and flash the correct kernel for your firmware!

this is THE LAST TIME i am going to answer such questions!

regards,

DooMLoRD
[Xperia Z2 Original Android Development] ado0001:
got it .. and then for updating from 17.1.A.2.69 to 17.1.1.A.0.402

Hi DooMLoRD i followed the procedure to root and got it successfully, now please grant me this questions please.

I want to move on from 17.1.A.2.69 to 17.1.1.A.0.402, i tryed using the	[DEODEXER] [D65XX] [4.4.2] 17.1.1.A.0.402 from MR Ling,

flashing from recovery but after that i checked and i was still at17.1.A.2.69 and messed up the xperia keybord...so i went back

restoring from recovery.

So now my question is if i want to flash the generic german 17.1.1.A.0.402 TFT by using flashtool

1. what should i exclude for not messing the custom recovery and the kernel (Advance Stock Kernel with

CWM Recovery v03 (FW:17.1.A.2.69}) that i installed in this procedure.

2.Can i keep my apps? or should i wipe everything again? do i have to root again?

3.will my mods will be lost?

Please dont re direct me i beg you DooMLoRD i respect you so much and i would really apreciate you can teach me this please.
[Xperia Z2 Original Android Development] DooMLoRD:
if you are on unlocked bootloader then you can happily flash the entire FTF and then flash the kernel corresponding to that firmware from this thread to get recovery + root...

if you flash FULL FTF:

/data partition will be WIPED!

internal sdcard (/data/media) WILL BE WIPED!

ALL APPS, APP DATA & FILES ON INTERNAL SDCARD WILL BE GONE!

if u want to retain you files/userdata, while flashing FTF

uncheck

the follow:

Wipe Userdata

its ok if the kernel gets replaced as on unlocked bootloader u can flash any kernel you want...
[Xperia Z2 Original Android Development] ado0001:
DooMLoRD thankyou so much for giving me the answer i was looking for, im sorry to make you another question:

Should i use flashtool that is available for download at the official sony site (you know the one that they provide in order to flash unlocked phones) by using this one it seems to auto detect ur device and give u the available software options to flash the Z2.

Or should i just use the flashtool-0.9.15.0-windows, in this case i will need the TFT file wich i downloaded already. in this flashtool there are actually options for not wiping data.

So does these 2 flashtools actually do the same thing?

thanks in advance.
[Xperia Z2 Original Android Development] DooMLoRD:
Use the one we created:

Flashtool by Androxyde

Use the latest version 0.9.16 I think
[Xperia Z2 Original Android Development] kjhughes:
Sorry / Fixed / Donation

Ah - yeah, sorry about that - you were correct, all fixed now :)

Made a small donation in way of an apology...

I was thinking the Xperia Lounge, Update Center etc were removed from the ROM ? but that doesn't seem to be the case ?

Thanks .. Ken
[Xperia Z2 Original Android Development] ado0001:
Got it just right!

Done!!! works perfect, i did a full wipe to get clean install, no im at lastest firmware,

first time i installed the wrong kernel version and GOT black screen problem, almost sh#$@$ my pants!! but now,

after flashing TFT installed kernel recovery and root again!! ! just like that in less than 30 min everything done!!

WHO NEEDS PC COMPANION OR OTA? HAHA HAA

We got FLASHTOOL! and fantastic EXTRAORDINARY developers! like SIR DOOMLORD!!!

unlocked bootloader is a Blessing!!!!

Thanx everyone who helped this poor rookie to become not so rookie now!
[Xperia Z2 Original Android Development] tpcastelli:
I have the Kernel ..where do i get the FW .402

Sorry..Im new to flashtools/sony products (Odin will be history :) )
[Xperia Z2 Original Android Development] se1000:
Z2 Development section, there are a few ROM's, pick one.
[Xperia Z2 Original Android Development] pdash79:
I didnt find anyone asking this question yet in this thread so figured i will just ask it.

Everything works fine with the CWM recovery and all.

However, is it just me or what?

The touch thing does not work on this CWM.

Is there anything additional that we need to do to get the touch working?
[Xperia Z2 Original Android Development] Visual360:
Hey all. Quick question.

I can't seem to go to recovery. I power down, wait a couple of seconds and turn on. I see the Sony logo, but no LED light flashing. I press/tap the volume button, but it doesn't seem to work. Any idea?

Thank you.
[Xperia Z2 Original Android Development] pvyParts:
i assume you didn't flash it properly.
[Xperia Z2 Original Android Development] DooMLoRD:
hey guys I have updated my Xperia SDCARD Mounter app to support this phone!

what does the app do?

It will allow you to connect the external SDCARD as a USB Mass Storage device....

so basically the sdcard will act as a USB stick/pen drive...

you can use the classic/advanced copy manager (TotalCopy, etc) which gives u greater level of control and possibly better copy speeds (though this is debatable)...

also the internal sdcard will be now be easily mounted on linux devices which have issues recognizing MTP connection...

hope you like it!

regards,

DooMLoRD
[Xperia Z2 Original Android Development] Xernoxis:
You need to flash recovery through flashtool.

Sent from my D6503
[Xperia Z2 Original Android Development] kjhughes:
Are you tapping/pressing the vol button multiple times ? Works for me with recovery flashed - just power up and keep pressing the button when I see the Sony logo until it gets into recovery...

.. KJ
[Xperia Z2 Original Android Development] nosidefcp:
doomlord any advance in roting / cwm in lb?thanks
[Xperia Z2 Original Android Development] DooMLoRD:
unfortunately nothing as of now :(
[Xperia Z2 Original Android Development] ado0001:
Camera affected after rooting z2?

Hi guys, so for now is well known that after rooting Z2 DRM or whathever files are lost forever in space... its well known that

X reallity will still be selectable even its not doing Anything at all, in other words is dead meet too..

There is one thing i just wanna comfirm with you guys, maybe its just me but i feel like camera Exmor Bionz or some sensor stoped working

as it was before... could someone comfirm this? or maybe im just becoming crazy about this. just want to know if after rooting the camera is affected..

Thankyou very much
[Xperia Z2 Original Android Development] kjhughes:
I don't see any issues with camera or sensors (on my device)
[Xperia Z2 Original Android Development] ado0001:
I see bro, thankyou !! anyone else?
[Xperia Z2 Original Android Development] Visual360:
I must have missed something. I was under the assumption/impression that I could go to recovery (stock recovery) to flash the kernel.

Isn't the recommended method to flash the kernel is through recovery? Sorry, I'm a newb at this. lol.

I'll try to re-read the OP again, and hopefully it will clear up for me.

Thanks again everyone that have replied.

=============================

EDIT / UPDATE

=============================

Okay, I just use fastboot to flash the kernel, and everything is working now.

I guess I was reading too much on the "RECOMMENDED" procedure.

Thanks again to everyone, especially to DoomLord for the ROOT.
[Xperia Z2 Original Android Development] reignzy:
No issues with mine

Running stock .402 with doomkernel v08 and fauxclock pro over clocked
[Xperia Z2 Original Android Development] ado0001:
got it bro thanks!!
[Xperia Z2 Original Android Development] dandv:
Concise rooting tutorial

Thanks DoomLord for the recovery and root instructions! Here's the TL;DR of the process, all in one concise post. No Internet connectivity or microSD card, or 100MB+ downloads are required (no FlashTool); just a USB connection to a Windows computer. (Probably works on Linux/Mac by downloading the appropriate files, e.g. the platform-specific Android SDK.)

Be aware that your DRM keys will be lost, which means that X-Reality will be disabled and ScreenLink probably won't work. The X-reality port won't work either.

Use the stock ROM option to upgrade to the latest ROM, now .402

Download the FlashTool Xperia Driver Pack, run the .exe and install the Flashmode, Fastboot, and Xperia Z2 Device Drivers from the list.

Download the fastboot package - it contains ADB and fastboot.

Unlock your bootloader via SONY's website - just give them some name, a disposable email, and your phone's IMEI. (Note that you don't actually need to do download the Android SDK or the ADB driver.) Get the unlock code via email, power down the phone, keep VolumeUp pressed, and connect the USB cable (this will put it in fastboot mode). Now run the two commands from the site: fastboot.exe -i 0x0fce getvar version (should return 0.5, to verify fastboot is working), and fastboot.exe -i 0x0fce oem unlock 0xKEY, where KEY is the unlock bootloader key you got via email.

Download TWRP and unzip it. Run fastboot flash boot boot.img, then fastboot reboot. This will flash a nice recovery image and reboot the phone.

Boot the phone normally, then copy onto its storage (e.g. in DCIM) SuperSU and the BusyBox apk. You don't need a microSD card.

Boot into recovery mode (power down, then keep pressing VolumeUp). From the TWRP recovery screen, install SuperSU and reboot.

Use the File Manager app to navigate to the BusyBox .apk and install it.

Your Xperia Z2 is now rooted.

You can activate USB debugging via Settings -> About Phone. Scroll to the bottom and tap "Build number" until you'll get short pop-up saying that you're now a developer (7 times should do). Now you'll have "Developer options" in Settings.
[Xperia Z2 Original Android Development] guhvanoh:
Since this thread is about CWM recovery, shouldn't this post be in the TWRP thread?
[Xperia Z2 Original Android Development] kulguy:
Thanks for your work. I'll wait for an exploit found so that I can root my z2 with locked bootloader..
[Xperia Z2 Original Android Development] pdash79:
Sorry for raising this again.

But I didnt get any response to this question?

Is touch working for anyone on cwm?
[Xperia Z2 Original Android Development] DooMLoRD:
No touch wasn't working in the initial ported CWM...
[Xperia Z2 Original Android Development] pdash79:
Thanks for clearing this up man.

I was under the impression that i was missing something.

Thanks!
[Xperia Z2 Original Android Development] creepingcreep:
All done
[Xperia Z2 Original Android Development] Michealtbh:
You shouldn't have flashed a kernel for the Z2 phone on your tablet
[Xperia Z2 Original Android Development] adz63:
Thanks for the thread [MENTION=2784807]DooMLoRD[/MENTION]

Everything worked fine for me
[Xperia Z2 Original Android Development] alinghi100:
No ways to root with a easier way? Possible without unlocking bootloader? Thanks :)

Inviato dal mio D6503 utilizzando Tapatalk
[Xperia Z2 Original Android Development] pvyParts:
No

Sent via my wireless blackbox
[Xperia Z2 Original Android Development] alinghi100:
No one is trying to do it?

Inviato dal mio D6503 utilizzando Tapatalk
[Xperia Z2 Original Android Development] in_finity:
Of course people are trying to do it. Please refer to this thread for more information.
[Xperia Z2 Original Android Development] quailallstar:
Will my firmware work with the unlocking once I unlock the bootloader? 17.1.1.A.0.402 is what my Z2 the ROM is but I don't know what version it is. How can I check if its v04?
[Xperia Z2 Original Android Development] adamsmth663:
DoomLord what are your thoughts on this

http://xdaforums.com/showthread.php?t=2781109
[Xperia Z2 Original Android Development] pvyParts:
Im not doomlord but. I saw that earlier. The op is very vauge but I've dl'd the files and will check it out over the weekend.

Pvy

Sent via my wireless blackbox
[Xperia Z2 Original Android Development] david_Vi:
This might be a stupid question..

I'm rooted but the new update is available. If I update via Sony it will lose my root right?

So if I use the kernel on this thread can I flash it via recovery without anything being wiped?

Cheers
[Xperia Z2 Original Android Development] [w]:
need help

hi,

so i think i'm the only one having problems when attempting to install this kernel. Not sure if i'm allowed to post questions in this thread, so apologies in advance if this is a mistake.

I've unlocked the bootloader.

and running 17.1.A.2.55

1st problem was no matter what i did i couldn't get the phone to boot into recovery.

tried adb reboot recovery and holding/random pressing volume up on power on. no matter what would not go into recovery =(

so instead of installing this via recovery,

I attempted the fastboot method.

I was using fastboot via flashtool.

I extract boot.img out of the zip and use the flash kernel option in flashboot (under fastboot).

Flashing appears to succeed np. but when i reboot the phone, i just get a blank screen. As i had adb connected i was able to run logcat.

basically everything on the phone breaks. no display, hardware buttons do nothing, can't even turn off phone.

link to logcat

Freaked me out a bit but in order to recover, i found the little red button that manually powers off phone and then used flash tool to flash the original firmware.

I'm sure i'm doing something wrong, but don't know what.

any help apprecieated
[Xperia Z2 Original Android Development] david_Vi:
Please help!

I just flashed the latest rom from this thread. My phone reboots, Sony logo then black screen but on.. Nothing then happens...
[Xperia Z2 Original Android Development] [w]:
Ok after being comfortable with restoring the phone, I decide to give v03 a try.

Was able to use fastboot to flash this no problem.

I now have root on the device and can boot into recovery without issue

next question is why does my build nubmer still show 17.1.A.2.55?

if i'm on v03 of the kernel, shouldn't it show 17.1.A.2.69?

The reason i ask is because i'd like to try moving to DoomKernel but not sure if i can because it explictly says one of the requirements is
[Xperia Z2 Original Android Development] drup88:
I just flashed CWM and it appears that i cant boot my phone now. I can boot into recovery but nothing else. Have i somehow erased the OS?

---------- Post added at 10:12 PM ---------- Previous post was at 09:46 PM ----------

Im the 3rd person with the same issue. [MENTION=2784807]DooMLoRD[/MENTION] can you provide some guidance?
[Xperia Z2 Original Android Development] Hassan99:
I have installed your kernel via recovery with a locked bootloader.

now my phones vibrates and stays on a blank screen, no sony logo... no usb connection, nothing.

Any ideas?

kind regards
[Xperia Z2 Original Android Development] gravtec:
You need to know, all custom kernel cannot flash on LB devices. Try do hard reset and flash stock rom...
[Xperia Z2 Original Android Development] [w]:
What isn't clear for people comming from other phones (at least was the case for me) is that you need to match the Rom to the firmware.

if you go into your about phone and build number is 2.55 you need to match that to the version of the kernel.

in this case you want v02

Even though I am on .55 i was able to flash v03 and so far seems to be running with out issue.

if you want v04, you need to upgrade your rom to a 402 build.

Personally I'm holding off on that for just now because all the 402s seem to be quite buggy in one way or another.
[Xperia Z2 Original Android Development] PiskopatYazar:
I just cant put my phone into recovery mode.

Im keep tapping volume up button when I see the Sony logo it just doesnt do anything.

Downloaded Xposed Installer and added 4 way reboot to my phone Im selecting Reboot Recovery that doesnt work neither.

Do we need to install CWM via Computer?

I have rooted my phone via Community RootKit and Unlocked my bootlader.

What do I need to do the get recovery?
[Xperia Z2 Original Android Development] waynekirby:
Yes, you need to use fastboot commands to flash the kernel, then you'll have recovery, then you can flash kernels via zips :)
[Xperia Z2 Original Android Development] PiskopatYazar:
All I can see is a zip file on first post.

To flash via fastboot I need to download kernel image but there is no kernel image to download.

If you have that can you share it with me please?
[Xperia Z2 Original Android Development] pvyParts:
extract it from the zip. its the boot IMG

pvy

Sent via my wireless blackbox
[Xperia Z2 Original Android Development] seventieslord:
what are DRM keys anyway? Why should a person be concerned about losing them?
[Xperia Z2 Original Android Development] in_finity:
You need them to use Video Unlimited, and OTA updates as far as I know. I believe in the Z1, losing the DRM keys also meant losing X-Reality or crippling your camera functionality, but I'm not sure if that would be the case with the Z2.

And probably most important: Sony *could* deny any warranty claims if they find out that you unlocked your bootloader (they simply look for the DRM keys; if they're gone, they know you unlocked the BL at some time).
[Xperia Z2 Original Android Development] PiskopatYazar:
I flashed the kernel on my phone but my phone doesnt boot up. It doesnt go to recovery mode or anything. there is white flash is on and off nothing else. When I try to enter to recovery mode there is only red led light is on what am I gonna do?

edit. Now I can see sony logo after seeing it, phone vibrates but my screen is pitch black I can get notifications and staff but I cant see anything on my screen
[Xperia Z2 Original Android Development] Silvio Scarani:
I can flash the .img of your Advanced Stock Kernel And CWM using Flashtool?
[Xperia Z2 Original Android Development] PiskopatYazar:
It was silly me. I have flashed the right firmware version and my phone is working fine and have got the CWM installed.
[Xperia Z2 Original Android Development] Silvio Scarani:
Flashed DoomLord kernel + CWM with FlashTool now, everything works fine.
[Xperia Z2 Original Android Development] zeguym:
if i using easy root to root, and not unlock bootloader, can i use this cwm recovery ?
[Xperia Z2 Original Android Development] fribriz:
Zeguym, I'm using NUT's dual recovery. You have option of selecting CWM, Phil's or TWRP. good luck.
[Xperia Z2 Original Android Development] DooMLoRD:
Advanced Stock Kernel v05 released!

[ changelog ]

updated core kernel to 17.1.1.A.0.438 firmware kernel

updated ramdisk to 17.1.1.A.0.438 firmware sources

download links at first post!

regards,

DooMLoRD
[Xperia Z2 Original Android Development] daymon:
works V05 on firmware .402 ?