yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] koekoek91:
Thats great.

If fastboot is working then yes there is another way.

Download the two files from this link ive uploaded for you on my google drive: https://drive.google.com/drive/folders/0B1-5Lr_Sntl5dnZYbXdEdDIwX0k

Its a custom kernel (works on e6653) + plus a twrp.img

Download minimal adb and fastboot from XDA if you dont have it already.

Open the Z5 Sunkernel zip file using winrar or 7zip and extract boot.img to your minimal adb and fastboot folder.

Flash the kernel with this command: fastboot flash boot boot.img

DONT boot your phone yet.

Place the twrp302.img file also in the minimal adb and fastboot folder.

Flash it with the command: fastboot flash recovery twrp302.img

If all went well, you should now be able to turn on your phone and boot into twrp by repeatedly pressing volume button when the led turns orange.

Restore your backup.

I hope this will do the job for you. If you need more help just let me know ;)

---------- Post added at 11:49 AM ---------- Previous post was at 11:39 AM ----------

@P Slim

Flashing only the kernel should be enough since you didn't flash a new firmware :laugh:

So just flash the kernel in fastboot and try to boot into twrp ;)
[Xperia Z5 Android Development] P Slim:
I'm trying to flash only the kernel but still can only get into flashmode and fastboot at best...

I'm going to flash the recovery too...

update:

So I flashed both files, but still no breakthrough. It's strange that I cannot boot into TWRP since I just flashed it. Could something else be wrong? The phone only boots into flashmode and fastboot when connected to my computer. When unplugged, it does nothing.

I tried to reboot through fastboot while holding volume down and it simply went into flashmode... Am I trying to boot into TWRP incorrectly?
[Xperia Z5 Android Development] arikyeo:
Hi, just wondering, is v2.0 compatible with Xposed FW?

I tried flashing the framework after a full restart and on boot, it alleges 'SystemUI has stopped', then hangs with a black screen + backlight on and consequently reboots again and again. I've done the usual prior to flashing (clear cache+dalvik) and followed post#3.

It used to work completely on XPowerv3.

Also, how can I get back system-based root? It seems the systemless root isn't compatible with some apps such as ES File Explorer.
[Xperia Z5 Android Development] _LLJY:
No it's not compatible with xposed , I am working on it to fix it(maybe) or I could change to a different systemui and try it again
[Xperia Z5 Android Development] _LLJY:
It's normal, I patched the thermal engine for a little more headroom before it throttles. But it shouldn't get THAT hot
[Xperia Z5 Android Development] _LLJY:
Guys, i have been working on a rom lately, thus, the lack of updates. The rom is based off this rom as a base and it is a Extremely stripped down version of sony's ui with a few apps and ui tweaks to make it like the stock roms on the nexus devices. The rom is for people who want AOSP like performance with (some) AOSP ui elements PLUS the stability of stock
[Xperia Z5 Android Development] harrywarry:
Already enough progress to do some testing? (E6853)
[Xperia Z5 Android Development] amunarjoh:
Exactly what I'm looking for! Looking so forward to testing, when the time is right[emoji4]
[Xperia Z5 Android Development] :
That sounds perfect willing to test on Z5 Premium Dual (E6883)
[Xperia Z5 Android Development] _LLJY:
Nice, here's the thread if you are interested: http://xdaforums.com/xperia-z5/development/rom-slimx-extreme-debloatwith-google-t3399934/page1
[Xperia Z5 Android Development] _LLJY:
Here's the thread if you are interested http://xdaforums.com/xperia-z5/development/rom-slimx-extreme-debloatwith-google-t3399934/page1
[Xperia Z5 Android Development] derfritz:
Hi! I have a problem with my fingerprint reader, when I turn the screen off for a few minutes, it says on the lockscreen "fingerprint reader not available" (In German, so the translation may not be perfect). I haven't found anything on the internet, so I wanted to ask if you have an Idea.

Fritz

Gesendet von meinem E6653 mit Tapatalk
[Xperia Z5 Android Development] bongo1:
Will this rom provide improved camera quality for those with lost TA partition?
[Xperia Z5 Android Development] _LLJY:
It's all over the forums though, there's no fix for it. It's a Sony issue
[Xperia Z5 Android Development] cloudy06:
Dear friend i instal your rom one hour ago and i m only wait wait wait.... phone is not wakeup and pc not see phone... i m most afraid now what can i do?? i think phone is brick because phone is not hot and not working on backside. my last rom is 32.0.A.5.19 and im living first time this.

---------- Post added at 04:14 AM ---------- Previous post was at 04:03 AM ----------

please i wait your reply early
[Xperia Z5 Android Development] _LLJY:
Flash .224 before flashing this rom
[Xperia Z5 Android Development] cloudy06:
Ok i will try. I returned to my stock rom but It was very difficult... thank you so much for your helps.
[Xperia Z5 Android Development] _LLJY:
Look through the forum and you'll find my thread with the .ftf attached
[Xperia Z5 Android Development] chaseghuggins:
Worked well! Just one question. What should I use for backups? I believe this rom wrote over TWRP...

--edit--

Here's a new question. I've noticed that the live wallpaper picker is not included. Is there any way to use live wallpapers now? I've tried installing the picker from everywhere on the internet. I can't find a n apk that is up to date and works. They all say that there is an error.
[Xperia Z5 Android Development] zohaib0001:
I need some help....... not related to this thread..... sorry for that

I have Xperia Z5 Running stock 6.0.1 rooted with recovery installed. i copy and replace my bootanimation.zip file with xperia X bootanimation in system / media folder with correct permissions and also deleted the decripted zip from this folder

But my boot animation is not changing and shows me the old one. i also flash it through flashable zip but result is same

Can any one help me in this regards that how to change bootanimation of Xperia Z5
[MENTION=6791680]_LLJY[/MENTION]
[Xperia Z5 Android Development] Pox4eveR:
What about Z5c, any chances?
[Xperia Z5 Android Development] koekoek91:
The correct way to boot into recovery is unplug from pc.

Restart your phone and then start pressing volume button (I use volume up always but down works too I think).

It should also work when connected to PC and then restart and press buttons I think though but try it while unplugged or have you already tried?
[Xperia Z5 Android Development] P Slim:
Yeah, I tried with it both plugged in and unplugged. When unplugged, the original issue still happens: the phone vibrates like it's about to boot, but the screen never turns on and nothing happens. I can keep pressing the power button and the phone just keeps vibrating.

Is it possible the phone is missing it's boot partition? Or does the boot image you gave me take care of that?
[Xperia Z5 Android Development] koekoek91:
Wow okay...

When you flashed the kernel and twrp.img were there errors or did it went correct?

Is the device recognized correct in fastboot mode?

If both answers are yes, im affraid there is no more other option (atleast not that I know about) on how to recover your phone other than flashing a new firmware.

---------- Post added at 12:25 ---------- Previous post was at 12:22 ----------

Yeah the boot image contains the boot partition.

I guess you could try a different kernel like latest androplus kernel for Xperia Z5, but I dont see why it would work with this kernel.

Other than this im running out of ideas :(
[Xperia Z5 Android Development] P Slim:
There were no erros, both the boot and recovery images were said to have been flashed successfully. The device is seen by fastboot, but I'm not sure if correctly. It doesn't seem to be seen as an Xperia Z5, but instead as some generic Xperia phone in a 'service mode.'

I did some researching on the "S1 Service" and it's what Sony phones appear as when in a service state when being utilized by Sony PC Companion, or in this case, flashtool. Is there anything else I can flash through fastboot to get the phone running? I'm almost certain that something went corrupt and the phone lacks a system partition. I'm not sure why the recovery can't boot; have you ever heard of an issue where the phone does't turn on past the orange LED? Could the battery be losing connection? I'm just thinking of other possible issues.

Just to be sure, if I cannot find an alternative, does flashing a firmware wipe internal storage?

Tried newest AndroPlus kernel, still nothing.
[Xperia Z5 Android Development] koekoek91:
Something definetly sounds corrupt.

I have bricked my z5 many many times, and I believe I even had it similar to your case once, where my phone was recognized as something different. I dont remember if I was able to fix this without flashing a new firmware though... I dont think so.

For me a bricked device always gave me a red flashing led and bootloop. I've never seen or heard about issues with an orange flashing led.

Normally when you see the orange led turning on when booting, you can then go into recovery by repeatedly pressing volume buttons.

Well when flashing a new firmware you can select which partitions to wipe.

I guess if you decide to flash a new firmware you could try it while excluding (unticking) the userdata partition so it doesn't get wiped.

I would recommend though to just let it wipe everything, but I know it sucks to lose important files.

Maybe you should do some more research first before moving on...

But I think from this point I can't help you further anymore because we've basically tried everything as far as my personal experience with this device goes.
[Xperia Z5 Android Development] P Slim:
Alright. You've been incredibly useful and I'm surprised these solutions didn't work.

What bugs me is that this isn't a normal bricked phone situation. I've bricked phones before and the result is usually the same: a bootloop. This however is another beast entirely! The phone can't experience a bootloop because it doesn't even get that far. I don't believe the orange LED is actually blinking to indicate something, it's just that it comes on right before the phone starts, but since the phone fails to start, it just tries to boot again and the orange led lights up each time it continuously attempts while plugged in. When unplugged, other than the vibration, I get nothing, not even the orange LED.

I guess I'll do some more searching and maybe later try to flash a new firmware.
[Xperia Z5 Android Development] koekoek91:
Your case definitely sounds really really weird lol.

Next time when flashing this rom, flash v3.0 first and then the latest version to avoid issues like this :silly:

Well good luck with it. Let me know here if and how you recovered your phone once it's working again ;)
[Xperia Z5 Android Development] _LLJY:
Other phones get a soft reboot, this phone reboots with a red led and resets the battery I believe

Install the fastboot drivers in the flashtool folder, it will have another folder called drivers
[Xperia Z5 Android Development] P Slim:
I did that. Unfortunately flashing images through fastboot didn't resolve the issue; I really thought that would work, the plan seemed solid.
[Xperia Z5 Android Development] _LLJY:
Just flash a whole firmware, I've never seen this happen before
[Xperia Z5 Android Development] EDGN:
U need to disable Windows 10 driver Signature. I had this Problem once and solved it with this. Dont remember exactly but this should help

Edit: found this Video on YouTube. Its on spanish but it should give u some more knowledge [youtube]YAdWKNdwP68[/youtube]
[Xperia Z5 Android Development] P Slim:
Which Firmware for AT&T in USA

I've decided to try and install a new firmware. I've opened XperiFirm, but I don't see the USA as an option under the Z5. I don't recall which I originally installed. Does it matter? I need it to work on AT&T in the USA.
[Xperia Z5 Android Development] koekoek91:
Dont think it really matters.

I prefer to stick to my own countries firmwares but I've used others too in the past without issues.

---------- Post added at 06:24 PM ---------- Previous post was at 05:38 PM ----------

By the way..

If you made the backup before things went wrong to an external sd, I think if you flash a new firmware, flash a custom kernel and twrp..

You're probably able to restore your backup in twrp after all??
[Xperia Z5 Android Development] P Slim:
Let's hope. That is actually my current plan.

Can I just start flashing things over a new firmware? Do I need to reroot first? I assume my bootloader will remain unlocked.
[Xperia Z5 Android Development] mateau:
Hey guys first of all thx for the good job [MENTION=6791680]_LLJY[/MENTION]. I get my E6653 flashing till vers 2.3.3, everything goes fine.

When i got further to ver 2.4 i get bootloop nothing happens more even after 30 minutes.. A new install from ver 2.4 didnt changed anything. Do have i done something wrong? Can i go direct to newest ver?

Sorry bout many questions as im very new to this.

regards
[Xperia Z5 Android Development] koekoek91:
Yes you can.

Flash firmware

Then Flash custom kernel via fastboot

Then flash twrp via fastboot

Try to boot into recovery and restore your backup.

Bootloader remains unlocked unless you re-locked it yourself.
[Xperia Z5 Android Development] _LLJY:
flash v3 before flashing any versions above it..
[Xperia Z5 Android Development] koekoek91:
Flash v3.0

Then flash latest version.
[Xperia Z5 Android Development] mateau:
Sorry stupid me again, flash from beginning direct v3.0 without starting by ver2.2.1?

or can i actually flash ver3.0 over 2.3.3?
[Xperia Z5 Android Development] P Slim:
Are you doing clean flashes? You don't need to go through the versions sequentially, you can just install any compatible ROM as long as you do a clean install; that is, you clear system and data partitions before flashing.

HOWEVER, be careful if going to the newest version. The OP himself recommends you first flash version 3.0 and then flash any newer versions.
[Xperia Z5 Android Development] koekoek91:
Yes just do a clean flash of v3.0 over 2.3.3 and then flash latest version :)
[Xperia Z5 Android Development] P Slim:
Just out of curiosity: why is this helpful? If I do a clean flash of 3.2.1 after booting into a clean flash of 3.0, will any system files even remain?
[Xperia Z5 Android Development] koekoek91:
Once you are on v3.0 from then you can dirty flash later versions unless stated otherwise by the OP.

Clean flash will wipe system and data partition, so you will lose apps, settings and tweaks for example..

but I believe personal files like pictures and documents remain intact even if they are on internal storage. Not sure about this though.
[Xperia Z5 Android Development] mateau:
cheers guys flashed ver3.0 n everything goes fine, will go further

thx four ur help
[Xperia Z5 Android Development] P Slim:
Solution Achieved! Good but bad

So I've made great progress and was able to fully restore my phone to working order! :D

1. I flashed a stock Lollipop (5.1.1) firmware using flashtool

2. Booted the phone and set it up so I could get into developer options and enable ADB

3. Rebooted into fastboot and flashed my recovery (TWRP)

4. Rebooted into TWRP via ADB command and then restored my backup which I had made on my SD card beforehand.

5. Booted my phone into it's original state before I did anything... Good:)

Now the Bad:

I went back into TWRP and wiped my system and data (not including Internal and SD). Then I flashed (clean of course) ROMX v3.0... After I selected the options and the install completed, I pressed reboot system in TWRP... And my phone became an unresponsive brick again in the same way :(

Luckily, I will simply rinse and repeat to fix my phone. However, why can't I use this ROM successfully? :confused:

Has anyone cleaned flashed straight to v3.0? Do I need to start on an even earlier version?

Maybe... maybe I need to first flash a Marshmallow firmware before installing the ROM. My current setup is on Lollipop. I don't see why this would be an issue, it's never been before, but Sony seems to be more complicated and harder to mod than my main Nexus 6P.

Welp, I guess I'll try again at some point...

Many thanks to [MENTION=7328701]koekoek91[/MENTION] , you helped a lot and I'd probably be stuck with a paperweight if it wasn't for your help. :good:
[Xperia Z5 Android Development] whalesplaho:
buddy to be sure, flash MM first den boot to recovery & just wipe factory reset den install rom.... it should be good!
[Xperia Z5 Android Development] P Slim:
Yeah, that was what I was getting at and will do. I only restored to be sure it worked. I'm simply going to flash a MM firmware and TWRP and then go straight into the new ROM.
[Xperia Z5 Android Development] koekoek91:
What firmware were you running when you made that back up? Lollipop too?

You need to be on .253 marshmallow firmware before you flash romx v3.0

I suggest you follow this closely:

I'd suggest to repeat your process, restore your backup and then move your necessary important files to a PC or to SD card. Then forget about the backup and delete it.

Once that's done start with a clean. 253 marshmallow firmware and then try again to clean flash romx v3.0 followed by the latest version.

See if this works.

Anyway it was fun to help you.

I like to learn from these kind of things to help myself maybe later and more other people :laugh:
[Xperia Z5 Android Development] BumRush:
Everytime I click on "KA-Mod", the settings app force closes. Anyone else experiencing this?

The option above service menu is also empty. Is this normal? Clicking on it also force closes settings.
[Xperia Z5 Android Development] s.hossein:
You most install "kernel adiutor_mod" app for "ka_mod" For second problem I don't any idea
[Xperia Z5 Android Development] BumRush:
Yep. That did it for the first issue.

The second one seems to be something related to location based WiFi.
[Xperia Z5 Android Development] frostmore:
old version?

i downloaded from this link "https://drive.google.com/file/d/0B1GT7O5RajNnTkhuVzVrQW1QVWs/view"

Is the FW different from 3.0?

I did try flashing a clean 3.3 but i still get bootloop on the Z5P.

will a logcat help?
[Xperia Z5 Android Development] Pandemic:
Its removed and its told few pages back ;)

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z5 Android Development] _LLJY:
DNDCDB
[Xperia Z5 Android Development] _LLJY:
Flash 3.0, then dirty flash 3.2.1, 3.3 is bugged out
[Xperia Z5 Android Development] sirdoha:
Could any bro give me the System UI apk of latest ROMX? I want to use it instead of SlimX System UI which has strange Data Icon.

Thanks in advance ;)
[Xperia Z5 Android Development] koekoek91:
You could download the latest version and extract it from the zip.
[Xperia Z5 Android Development] whalesplaho:
yhu dnt need to download another SystemUI.apk.... just goto system/vendor/overlay/ & delete SystemUI_Overlay_AOSP_Signal_Icons_4G.apk
[Xperia Z5 Android Development] tatomolina11:
Just got one question I've tried to flash all versions after 3.0 and they all fc on camera no matter the fixes... Can I make a backup of the whole camera folder and just replaced it once I flash the latest version! If it's possible which is the folder I need to backup?
[Xperia Z5 Android Development] koekoek91:
http://xdaforums.com/xperia-z5/development/xperia-x-rom-e6653-e6683-z5p-t3388183/post69523286 flash this camera fix.
[Xperia Z5 Android Development] msiemens:
Hi guys, I am getting a brand new e6633 tomorrow - and I am wondering how to flash that ROM... I conclude that I firstly have unlock bootloader and to flash TWRP - so far - so simple. Do I then have also to root the device or can I flash latest ROM version (3.2.1) after having installed TWRP? Thanks in advance! Martin
[Xperia Z5 Android Development] _LLJY:
Just flash haha

But flash V3 before V3.2.1
[Xperia Z5 Android Development] msiemens:
OK - I will then do so! Thanks! Martin

---------- Post added at 02:28 PM ---------- Previous post was at 02:21 PM ----------

Just one final question: "flash systemless SuperSu" - does that mean - the flash-prgramm is asking me while flashing how I want to flash SuperSu?
[Xperia Z5 Android Development] _LLJY:
Just to inform you guys [MENTION=6126659]PDesire[/MENTION] will help to codevelop this ROM with me when he gets his Z5P and I have decided that when he starts development, we will host the Z5P and Z5 versions in their respective forums.

I will inform you guys when this change actually happens

Thanks

Lucas
[Xperia Z5 Android Development] tatomolina11:
I already tried that fix and camera didn't work on any version after 3.0 I downloaded all of them and I've tried that fix on all of them and I still get unknown error on camera app
[Xperia Z5 Android Development] whalesplaho:
Please backup TA partition first....
[Xperia Z5 Android Development] BumRush:
Anyone else having issues with SuperSU trying to update binaries? It always fails when I do. Also tried to reflash 2.78 from the supersu thread but it fails everytime.
[Xperia Z5 Android Development] koekoek91:
Try to remove the app on your phone (also pro version) if you use it, and then reflash supersu zip.
[Xperia Z5 Android Development] BumRush:
Do you mean manually delete SuperSU apk myself? I've tried uninstalling it via the option in the app but it just reboots immediately and nothing seems to change.
[Xperia Z5 Android Development] koekoek91:
I mean just go to settings on your phone.

Then click apps, scroll down to supersu. Click on it and then choose uninstall.

If you use the pro version you have to uninstall this too.

Then after uninstalling reboot into twrp and flash supersu zip and reboot.

Then open up supersu again and see if the issue is solved ;)
[Xperia Z5 Android Development] BumRush:
I can't uninstall that way. It seems to be installed as a system app. The only option given would be to disable via that setting.
[Xperia Z5 Android Development] koekoek91:
Sounds like you use the pro version.

I can also only disable regular supersu app, but I do can uninstall the pro version.

Or use this app to remove it: https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp
[Xperia Z5 Android Development] peddy2k:
Flash this in recovery!

http://cloud.tapatalk.com/s/5849cd1d02646/UPDATE-SuperSU-v2.78-20160905010000.zip

Gesendet von meinem E6653 mit Tapatalk
[Xperia Z5 Android Development] BumRush:
That still doesnt work. I have tried it and always gives me the following when flashing.

Boot image Patcher

Checking patch status

already patched, attempting to find stock backup

stock restore failed, attempting ramdisk restore

ramdisk restore failed, aborting

Google play says I have the normal free version and not the Pro version. This kind of indirectly worked for me though. Used the uninstaller app you provided. Didn't flash anything or reinstall anything after. SuperSU was still there after I rebooted but it stopped giving me the update notification and root is still working.
[Xperia Z5 Android Development] _LLJY:
Flash this.
[Xperia Z5 Android Development] redxslash:
My TWRP 3.0 recovery doesn't seem to be there anymore after flashing ver 3.0 of this ROM onto my xperia z5p (e6853 model). I downloaded TWRP Manager and it says its there, but every time I try to reboot into recovery it doesn't go through. It would show the amber (orange) led light and then reboot again into normal boot up of the phone. Tried rebooting into recovery using the phones power menu, recovery reboot app, TWRP Manager app, and other apps. Nothing worked. This is pretty weird since I used TWRP to flash this rom in the first place.

Anybody know the easiest method to flash TWRP Recovery on ver 3.0 of this ROM? I already have SuperSU and root works fine, just need recovery to make backups and such. Thank you.
[Xperia Z5 Android Development] mateau:
Hey guys ive flashed now dirty ver3.3, all good n fine. Just in lock screen the font of clock is big see printscreen. Can this font make smaller in settings or is it deeper in the system?

Gesendet von meinem E6653 mit Tapatalk
[Xperia Z5 Android Development] kjh8765kh:
e6853 How to install v3.3