yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] Envious_Data:
You will have to be on 167 firmware before hand.

Power off the device (hold the reset(its red) switch under the left flap

Use flashtool to flash a FTF of your choice

1. There were some settings to tell the virtual memory (VM) to store files after using them instead of deleting them. I removed those settings so i added to changelog Remove dalvik VM settings

2. An odex file is a sort of pre-opened version of an app stored in a file, this makes lauching apps quicker but it makes modding imposible while it exists, removing it alows modding freedom of system apps

I use xplore (after fixing root of course) it does its job very well
[Xperia Z2 Android Development] mamenvn:
This ROM Working with this patch :D

Thanks to niaboc79
[Xperia Z2 Android Development] benjmiester:
Well crap, now I'm on 167 firmware and stock rom (US) via FTF, but I of course now have no root or recovery. Am I able to flash dual recovery via Nutz' installer or boot.img via fastboot? I like the new 4.4.4 stock, but I really wanted to flash the Envi!
[Xperia Z2 Android Development] Envious_Data:
If you have a unlocked bootloader :D
[Xperia Z2 Android Development] benjmiester:
Ok, cool. It was unlocked before and from what I've read, I think ftf flashing doesn't undo that right?
[Xperia Z2 Android Development] Envious_Data:
Flashing FTF doesnt effect your bootloader at all so your free to flash doomlords adv stock kernel if it is unlocked
[Xperia Z2 Android Development] core_x:
For some reason I can't get it to work. I reflashed Rom using CWM and Philz recovery and tried to use Xplore, Xposed Installer, AdAway and ES File Explorer but none of these apps can write to /system. Does anybody have an idea how to fix this?
[Xperia Z2 Android Development] Envious_Data:
I think rooting is broken

Re-flash superSu

Try xplore (after changing the apps settings)
[Xperia Z2 Android Development] lanc3lot:
So Noice-Cancelling is still broken. Damn :(
[Xperia Z2 Android Development] Envious_Data:
Ive been trying some things and none of it has worked, ill figure out something one day

No one here in XDA wants to realy help unless they are getting thanks and donated out of it

Greed is killing me it seems :/ :P
[Xperia Z2 Android Development] HeartUnderBlade:
Honestly, if there is some sign of hope that you are able to recover noise cancellation then I don't mind giving you a thanks and maybe donating. I came from niaboc's rom and his NC doesn't work either.

Noise cancellation isn't really important since not everybody has the headphones that work with it but if you have it then why not just use it, right? I actually grew to enjoy my NC since my normal studio monitors are too big to carry around so I leave them at home plugged into my PC.

EDI: Just flashed the file. I noticed at the end of the flashing, it says "E: Unable to create brightness sys file!"
[Xperia Z2 Android Development] Envious_Data:
Niabocs rom 4.4.4 and the one i have is generaly identicle.

I use noise canceling too, my fan is very noisy and NC fixes that, im also not going to have extremly expencive earphones for no reason. $80 is like indefinate savings for me simply because 80x0 is 0

Im trying to find a fix

Im not sure about the flashing issue
[Xperia Z2 Android Development] HeartUnderBlade:
So I think this rom just broke root for me. I went to install SuperSU and it said that there is no binary and supersu can't install the binary. Tried to boot into recovery but I couldn't.

I was able to fix it by using ADB to flash doomlord's advance stock kernel then booted into recovery and flashed everything that is needed. Just thought I'd share this in case anybody had the same problem.
[Xperia Z2 Android Development] Envious_Data:
It seems root doesnt always work for some reason, although the binary is there and it is setup apropriately it just fails to work alot of the time

I usualy recomend flashing the SuperSu flashable zip to prevent the problem
[Xperia Z2 Android Development] mamenvn:
Get fullroot for this rom

http://xdaforums.com/xperia-z2/development/4-4-4-t2936134
[Xperia Z2 Android Development] Envious_Data:
??

He is talking about this roms root prob which i have given a fix for :D
[Xperia Z2 Android Development] mamenvn:
:D

sorry, thanks!
[Xperia Z2 Android Development] Croize:
is the camera laggig in this rom ??? >.<
[Xperia Z2 Android Development] Envious_Data:
What????

There is no camera lag at all that i know of.

Both in stock 4.4.4 and This rom.
[Xperia Z2 Android Development] Croize:
my camera lagged as hell when i did the ota from sony .. >.< Thats why i was asking :) so to install this, just root the phone, install recovery etc after ??
[Xperia Z2 Android Development] Envious_Data:
The camera refresh rate was lowered in the last update intentionaly. Its not lag its overheating prevention.
[Xperia Z2 Android Development] Croize:
will try this rom i think, But im not rly a fan of the big ass icons on 4.4.4 >.<
[Xperia Z2 Android Development] Envious_Data:
you can use Serajr's Xposed module for Xperias to lower the icon size. im not a fan of his modules because they seem to slow my device heavily.

I quite like the larger icons because the fill empty space which existed before and the apear to be more vibrant (which they arent. they just look like it)
[Xperia Z2 Android Development] Croize:
did they fix the random reboots in this update ??
[Xperia Z2 Android Development] Envious_Data:
Never had any random reboots in any update ???
[Xperia Z2 Android Development] Croize:
i had some, time to time.
[Xperia Z2 Android Development] Envious_Data:
https://docs.google.com/file/d/0B7kXPU2Y8c5xR1d3cWxKZzRZbmM/edit?usp=docslist_api

V0.7B Update Package

Simply flash Over 0.6.1B

Wipe dalvik

And cache

(update packages are better and more freindly on peoples Bandwith)
[Xperia Z2 Android Development] cazxstan:
Just installed the V0.7 update, I must say it's very good. The lag that was annoying me in the previous update is gone, and battery life is noticeably better.
[Xperia Z2 Android Development] Croize:
I got bootloop after flashing it, Had to use flashtool.
[Xperia Z2 Android Development] Envious_Data:
Not sure what to tell you

Installing via normal install instructions works every time
[Xperia Z2 Android Development] Croize:
its all good now, Though i wanna flash yours, My phone keept reset after " sony logo " could barly turn it off, But i did exacly as your instructions said O.O First i flashed the rom, Wiped everything that you said, Then i tryed to flash recovery wich i couldnt .. Failed, Root worked in recovery, Then i restarted and the hell went loose :S
[Xperia Z2 Android Development] Envious_Data:
Flash 0.6B then flash 0.7B

0.7B is an upgrade ZIP
[Xperia Z2 Android Development] Croize:
i did flash 06b first, then i flashed the 07b right away.... maybe that was the misstake? But that doesnt explain why recovery flash failed =/
[Xperia Z2 Android Development] Envious_Data:
Odd :/

Try reboot between flashing 0.7B

Let me know if that works at all
[Xperia Z2 Android Development] Croize:
idk if i rly wanna try, What if phone breaks big time... >.<
[Xperia Z2 Android Development] Envious_Data:
Its just a rom so all that should happen is bootloop

I dont have time or patients to test this my self otherwise i would have
[Xperia Z2 Android Development] Croize:
any idea about recovery ??? :)
[Xperia Z2 Android Development] Envious_Data:
Adding recovery to the rom is a tiny bit anoying to deal with, if someone else could make something then ill add their work with their permission
[Xperia Z2 Android Development] harshad_kp:
Does this rom works on D6502.... ?????
[Xperia Z2 Android Development] Envious_Data:
latest version. No.
[Xperia Z2 Android Development] harshad_kp:
will this work if I flash modem from D6502...
[Xperia Z2 Android Development] Croize:
So if i flash the rom then no recovery?
[Xperia Z2 Android Development] Envious_Data:
Yes :D

Flash rom > flash recovery :D
[Xperia Z2 Android Development] Envious_Data:
V0.8B Update Now Avaliable

https://drive.google.com/folderview?id=0B7kXPU2Y8c5xWVhLaWpxRW5yd1k&usp=sharing

(for changes see changelog post #2)

1. Install over V0.6.1B

2. Wipe cache

3. Wipe Dalvik
[Xperia Z2 Android Development] NinthGhost:
Looking forward to update

Downloading the files now.. Will update to 6 -7 - 8.

Hopefully the root permission problem currently I have will be gone .

Will update via CWM and flash SuperSU zip too..
[Xperia Z2 Android Development] Envious_Data:
the V0.8B update package contains all that is in V0.7B :D

all u need is 0.6B, 0.8B and SuperSU flashable zip*(incase root fails)
[Xperia Z2 Android Development] NinthGhost:
Oh i see thx for quick reply.. saves me one small step haha
[Xperia Z2 Android Development] NinthGhost:
Stuck at Sony logo :(

So if i want to flash stock FTF I can use any country ones from 23.0.1.A.0.167 (4.4.4 update) - NO ROOT ?

or should i flash a rooted stock 23.0.1.A.0.167 ? I forgot if root is need for dual recovery...

edit: Will root the FTF using the guide given at the thread before flash and then attempt install the ROM.

edit: erm wait can i use this method if my I am locked bootloader? > http://xdaforums.com/xperia-z2/general/4-4-4-creating-rooted-update-package-t2933155
[Xperia Z2 Android Development] Envious_Data:
You have to be on 167 before hand

1. Flash a 314 FTF (not excluding data will format your internal storage, backup before hand)

2. Root and install recovery

3. Flash 167 rom of choice

4. Flash recovery and root

5. Flash a 167 FTF excluding system and data
[Xperia Z2 Android Development] NinthGhost:
I was on 0.5B that means it's .314 right?

So what i plan to do now is follow this http://xdaforums.com/xperia-z2/general/4-4-4-creating-rooted-update-package-t2933155 to create a .167 with root and recovery. I am not sure thou if i can flash using flashtool if i am locked bootloader.

really appreciate the help.

update: now I am at .169 stock with dual recovery and SuperSU. But the weird thing is root folder writing permission is still denied (i can't save/change anything in root), meaning the root problem was not with Envi-Rom.
[Xperia Z2 Android Development] Envious_Data:
0.5B was 314 firmware ;)
[Xperia Z2 Android Development] NinthGhost:
Finally got root to work in .167 with the patched dualrecovery zip.

Installed 0.6.1B then 0.8B and SuperSU zip. Now everthing is working fine. Thanks :)
[Xperia Z2 Android Development] mamenvn:
Battery drain too fast, about 5h screen on
[Xperia Z2 Android Development] Envious_Data:
Ive noticed with 4.4.4 it takes a while before it properly runs right

The next version i have changed the display comp to MDP so battery life should be alot better
[Xperia Z2 Android Development] Envious_Data:
V1-PRE Now avaliable

So this ROM is no longer in Beta!!, i am working on some final touches before V1 is fully released. For now here is a Pre-Release Version

https://docs.google.com/file/d/0B7kXPU2Y8c5xUHc0NlNhUXA2MTA/edit?usp=docslist_api

If any issues please report them and be spesific!
[Xperia Z2 Android Development] mamenvn:
Thanks for hard work!
[Xperia Z2 Android Development] mariusfl0rian:
hey guys,

I have flashed the v1 on my phone and now it cannot boot anymore. It´s stuck at the Sony Logo. I have forgot to wipe dalvik and cache. I come from Existenz 3.1.5. Please help me, what can I do? Should I do the same instructions like in the 329th post?
[Xperia Z2 Android Development] bdithug:
In the change log, it states you have a new base for v1 prerelease moving forward. Which base is it based off?
[Xperia Z2 Android Development] Envious_Data:
UK:167 firmware

I rebuilt it on a new base because the old one wss kinda broken
[Xperia Z2 Android Development] Envious_Data:
Coming from existenz, flash a 167 FTF :D

Just ask if you need more than this answer?
[Xperia Z2 Android Development] nomaj:
[MENTION=4895687]Envious_Data[/MENTION]

Nice rom... keep the nice work!

I need FM tuner app =) can you please deodex it? I need it desperately.
[Xperia Z2 Android Development] Envious_Data:
You should be able to pull it from previous versions and just copy it

Im about to go sleep, i cant do for you right now
[Xperia Z2 Android Development] mishooo:
So just to confirm this rom is based on 4.4.4 and includes all of its abilities right ?

Also i can flash it on a locked bootloader ?
[Xperia Z2 Android Development] Envious_Data:
Yes this is based on stock 4.4.4 and due to that fact it can be flashed on a locked bootloader :D
[Xperia Z2 Android Development] mishooo:
last one

so does flashing the latest one require anything like recovery or flashing in succession or its good just to put it on given i`m using stock rght now
[Xperia Z2 Android Development] mishooo:
No one?
[Xperia Z2 Android Development] Envious_Data:
Im having trouble understanding, latest what?

The Rom?
[Xperia Z2 Android Development] mishooo:
Uh sorry as it turns out my way of explaining things has not been the best today in general :P

So if i want to flash the latest version given that i have never used your(envi-rom) before and I`m using just normal stock one without recovery do i need to do anything special.

The reason I`m asking is because as i found several posts before in order to flash 0.8 you had to have 0.6 before that. This might be just me not understanding it properly though

Thanks
[Xperia Z2 Android Development] Envious_Data:
V1-pre you can flash it by its self, you do need to be on the 167 firmware for this rom to work

0.8B requires 0.6B to be flashed before (its older versions, V1-Pre is the one to go for)
[Xperia Z2 Android Development] mishooo:
Cool :) cheers ! I`m on 167 anyhow so will just put it on then

thanks
[Xperia Z2 Android Development] bissa:
does the NC work with this rom?
[Xperia Z2 Android Development] Envious_Data:
it works for me but it seems region dependant, some devices it will and some it will not.
[Xperia Z2 Android Development] bissa:
I'm currently on stock .167 DD6503 not rooted.

May you please confirm this steps before I flash your rom?

1- Flash Stock TTF .314

2- Root the device, install recovery

3- Create stock pre-root .167

4- Flash the pre-root stock .167

5- flash your rom

Also what does LB/UB mean and this rom includes Changed display comp to MDP to save battery ? :)

Thanks
[Xperia Z2 Android Development] Envious_Data:
1. Flash 314 FTF

2. Root and install recovery

3. Flash this rom, root, and anything else(recovery for locked bootloader?)

4. Flash 167 FTF excluding system

Enjoy

LB=Locked Bootloader

Ub=unlocked bootloader
[Xperia Z2 Android Development] bissa:
it must be same customization number which you used?

my 167 sw is MEA version, and I know you used the UK version, It is better to use the the UK server when flasing 167 ftf excluding system?

And the 167 FTF which I flash in step 4 is the stock or pre-rooted?
[Xperia Z2 Android Development] Envious_Data:
I used UK unbranded, it doesnt matter what FTF you use so long as its unbranded and 167 firmware
[Xperia Z2 Android Development] bissa:
the step #4 I flash the stock 167 firmware without any edit and exclude the system when flashing, correct?
[Xperia Z2 Android Development] Envious_Data:
Correct, you may need to exclude data
[Xperia Z2 Android Development] bissa:
I don't want to keep my apps or settings, just a fresh rom setup so what do you suggest, exclude only system?
[Xperia Z2 Android Development] Envious_Data:
I think if you leave data it will format internal storage so wipe data before and continue to exclude data
[Xperia Z2 Android Development] bissa:
Flash went successfully but I noticed there is no boot animation just sony xperia black screen

What sound mod do you suggest to use?
[Xperia Z2 Android Development] Envious_Data:
V1-Pre isnt finished yet, there are a couple small thing i have to add, one of them is a bootanimation

Sound mod, im not too sure because i havent tested any
[Xperia Z2 Android Development] bissa:
sometimes I get random animation lag when opening or closing apps, it was happening on stock rom and happening on Envi rom too.

If If I change the Transition animation scale to Off, the lag is gone but I prefer to have some animation.

Why this animation lag happens? I think it is CPU dependent regarding the scaling Governor which is set to Interactive. I can change the CPU scaling Governor on LB?
[Xperia Z2 Android Development] Envious_Data:
yes, i usually use conservative

i get a similar issue, i just turned on 2d hw acceleration in developer options and the lag went away
[Xperia Z2 Android Development] bissa:
How can I change the Governor to conservative with your rom?

btw the battery consumption with your rom is excellent, much better compared to stock 167

Waiting on the stable release with the boot animation :)
[Xperia Z2 Android Development] Envious_Data:
no frills cpu manager is a good app to use

i use fauxclock though, its a paid app
[Xperia Z2 Android Development] bissa:
and for i/o scheduler what do you use?
[Xperia Z2 Android Development] Envious_Data:
Noop

row or sio
[Xperia Z2 Android Development] bissa:
I see version V1 added in the changelog but can't see download link
[Xperia Z2 Android Development] Envious_Data:
i haven't had time or motivation to finish it and or patients to upload it :D

should be comming soon
[Xperia Z2 Android Development] bissa:
Waiting, I like your v1 pre rom and I see v1 has supermod which I need :D
[Xperia Z2 Android Development] sh4d1t0:
Which better noop or row? I haven't sio :(
[Xperia Z2 Android Development] Envious_Data:
Noop=Slower

ROW=faster

Noop gives better battery results though
[Xperia Z2 Android Development] earthtk:
Hello,

Can I flash the latest version over 0.8B?
[Xperia Z2 Android Development] borjok536:
gosh

How can i download the file when i download it opens on chrome and it ipens the zip file
[Xperia Z2 Android Development] Envious_Data:
Yes ;)

You, right click the thing where it starts downloading and click save file behind or something simular
[Xperia Z2 Android Development] sh4d1t0:
About the battery on pre-v1.. I have 7 hours with 30 minutes on your other work "pre-rooted zipalign deodex v3", I have stamina mode, Bluetooth with smartband, and x-reality on, with amplify and greenify.. with this custom rom the battery life is better? And another question, this custom rom is deodex or odex?
[Xperia Z2 Android Development] Envious_Data:
Battery is better than stock for me with my rom

This rom is deodexed

It takes a week or two for this rom to settle for some reason but before that life wont be so good,

So a week/2 weeks and this rom should start springing like a flower ;)
[Xperia Z2 Android Development] mamenvn:
The link to Download, not click download link "Click Here" on op

https://drive.google.com/folderview?id=0B7kXPU2Y8c5xRUl6aUtSV1J0c1U&usp=sharing
[Xperia Z2 Android Development] sh4d1t0:
Ok, so if I have you other work pre-rooted .167 on stock only flash pre-v1 or I need flash first the others files? Full wipe or only dalvik and cache wipes?
[Xperia Z2 Android Development] Envious_Data:
No, this ROM is literally a modified system dump

When i can actually compile versions ill defiantly use linaro to compile

And for the quick pulldown i think ill add it to be the very sides of the status bar on both sides

Later on ill try adding something in the settings
[Xperia Z2 Android Development] stortinget:
How is the camera modified? Jpeg Q increased to 100 I assume, and how did you improve focusing? I assume better sharpness follows the better focus or did you change something else?
[Xperia Z2 Android Development] Envious_Data:
The default JPeg quality is about 85 i forced to 100

Focusing, the camera instead using the default principles it uses my set principlea which is more acurate than stock
[Xperia Z2 Android Development] gravtec:
Waiting Envi-Rom Stock+ base on fw438... Btw good job bro... Keep it up...

I want to suggest invisible power button on future released... Thanks
[Xperia Z2 Android Development] Envious_Data:
Hmm, ill see about that, people have complained about that on other roms

Ill see if there is a good place to put it
[Xperia Z2 Android Development] Envious_Data:
News update

So i may potentially be losing my Z2 for a week because im going to send for a replacement due to my Z2 becoming faulty (again)

I also may be joining a collage and i wont have as much time however ill be learning C coding which is the base for a lot of coding Lang's, so be prepared for good ROM updates in the future
[Xperia Z2 Android Development] CenteaOSD:
Good to see new rom for Xperia Z2! I'd like to request you to make .438 based rom. Anyway I have several questions, you said "Improved Camera Sharpness" and actualy how sharp is that? Maybe can you provide us some comparing photos? I am very interested to see that. Also if it is possible I want to make you settings that allows me to make touch screen "less"-sensitive, as I am using glass film sometimes I feel that screen is too sensitive. Anyway I will try to flash your rom after I backup every datas. Keep up the good work!
[Xperia Z2 Android Development] Envious_Data:
Camera sharpness

Picture export quality is forced to %100

Camera focal principles are more accurate

How exactly sharp is from about 55mm range to about 17mm range in focal

And for the touchscreen sensitivity i cant do unless i make a custom kernel which i wont do (for now)
[Xperia Z2 Android Development] CenteaOSD:
Alright thx for quick reply... And I think it would be nice if you can add some SS or videos that shows your rom's feature on your 1st post as stanley08 noticed in his post.
[Xperia Z2 Android Development] Envious_Data:
There isnt any interesting features to show

There are screenshots under screenshots tab at the top of the op thread

I think ill just video them in later versions
[Xperia Z2 Android Development] zantekk:
Really like your ROM. Rebase 438 and add xposed pls :)
[Xperia Z2 Android Development] Envious_Data:
Xposed, ppl can add them selfs

As for rebasing to 438 in V0.3B may not happen as there is a very anoying ram leak, unless i can find the source and fix it, i may just wait for the next upcoming firmware update as sony have said that they are fixing all known issues, so that ill wait for, they did list ram leaks, camera heating and general heating were fixed

Also i wont have my Z2 for a while because all of the buttons on the side of my device seem to have broken :/, they still work but they have sunk into the side and this makes them very anoying to press so i have to send to Sony Service centre for a repair, and if you know Sony Service, it probably will take about 2 months for them to repair so no updates for a while i guess
[Xperia Z2 Android Development] funky0308:
Can agree with that...

I'm back to 402 as well but...

I would really like to keep improved tap to wake from 438, it's more responsive and it work every single time.

On 402 (at least in my case) when device go to deep sleep it's almost impossible to wake it taping on the screen)

I'm on stock 402 and will download and try this ROM...

I like this types of ROMs, don't like when dev change too many things.

Tnx mate ;)
[Xperia Z2 Android Development] Envious_Data:
Same goes, i couldent find one so im making one ;D

I love seeing positive feedback, makes me happy
[Xperia Z2 Android Development] Scythenet:
Hello.

anyone have trouble with dissapearing of live wallpaper after restart with this rom? dunno what can cause it . TY
[Xperia Z2 Android Development] Envious_Data:
I havent touched LWP or anything to do with

So i cant see a problem

I did experiance this problem a while ago but i havent had it since
[Xperia Z2 Android Development] echim192:
Can't figure out why the camera isn't working. Flashed this on stock. Camera opens, but doesn't focus, and when i press the capture button, it freezes completely and the phone becomes unresponsive.

Any ideas?
[Xperia Z2 Android Development] Envious_Data:
Reinstall the rom but make sure you wipe Dalvik and cache

Im not sure what has caused your problem as i use this rom daily my self to ensure it works fine :/ if it happens again ill look more into posible causes
[Xperia Z2 Android Development] fakelouis_:
Can i have the stock bootanimation? :)