yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] sandman01:
You can also look at this How-To.

nothing will be changed on your current android installation, only the recovery will be installed permanently on the dedicated partition.

So after changing the recovery you can flash every day a new build from here without the need of installing other recoveries any more.

Its like on most of the other mobile phones, recovery can be seperated from the kernel and stays permanently (as long as you flash no other recovery or stock)
[Xperia Z2 Android Development] bobs158:
Before you Flash just do a back up of your rom, there should be an option in your recovery called backup/restore just select that and select back up to sd card and make sure you back it up to your external sd card (sd card1).

After that you can flash this rom and if you ever want to go back to your original just go back into recovery and wipe everything just like your flashing a new rom but instead of going to "install zip" go back to "backup/restore" select restore and your sd card (should be "sd card1" like before) and select the backup you made (should have the date of the back up)

Reboot and then your all back to normal

(If your talking about multiboot rom then no, because Multirom doesn't support the Z2)
[Xperia Z2 Android Development] sindre2104:
Am i correct in assuming the recovery in the FOTAkernel partition will be written over if i flash back to 4.4.4?

---------- Post added at 01:01 PM ---------- Previous post was at 12:59 PM ----------

He quoted this ;)
[Xperia Z2 Android Development] Hussainally:
So in love with lollipop man..feels smoother then iOS now
[Xperia Z2 Android Development] sandman01:
Hi Mikey94!

I face the same issue with WhatsApp.

I'm at work where I have nearly no cellular signal.

As after every reboot WhatsApp mentioned that there is something wrong with date and time so I open the Clock settings close it again but this time the Issue would not be solved.

Than I see that my cellular connection wasn't up so far because of the weak signal.

Now I think that WhatsApp reads out the date & time settings which are set permanently to 1970,.... this would stay as long as no update via cellular or any other data connection can fix the date. (only till next crash/reboot)

So as long as the date/time stays at 1970,... WhatsApp will not work.

Maybe there is some date/time that would not be automatically written into the phones memory to minimize the failure after crash/reboot, I also don't know how stable roms deal with that
[Xperia Z2 Android Development] dkionline:
[MENTION=2983201]sindre2104[/MENTION], if u flash stock than yes. [MENTION=716651]sandman01[/MENTION], it also work with date problems. [MENTION=1077833]infected_[/MENTION], allready 5.0.1?
[Xperia Z2 Android Development] seth.i.simmons:
Did you check with a file manager to see if you can access the internal SD card? Sounds like you may have my issue.
[Xperia Z2 Android Development] adyscorpius:
I had this issue.. Its a permissions problem..

Can you revert with the owners and groups of /storage/*

With ls -l /storage/
[Xperia Z2 Android Development] RedSkyRoad:
I get

dd: /dev/block/platform/msm_sdcc.1/by-name/FOTAKernel: Permission denied
[Xperia Z2 Android Development] seth.i.simmons:
When I was having this issue, the owner was "root" for the internal SD card. Couldn't even see files with a root explorer though.
[Xperia Z2 Android Development] adyscorpius:
You can still go through /data/media/0

Check it out.. Atleast if nothing else, you can make a backup.
[Xperia Z2 Android Development] seth.i.simmons:
Forgot about that path, but I already FTF'd back to stock to fix the permissions issue.

For some reason clean flashing CM12 again failed to fix it, and wiping all partitions including Internal Storage still didn't fix it. FTF fixed those permissions issues and now Im on CM12 again.
[Xperia Z2 Android Development] adyscorpius:
TWRP has a format /data option, which is different from wiping data.. Doing that fixes the write read issue with internal sd. I had it myself and was able to fix it without having flash the ftf.

Also, I used the /data/media partition access to backup data..

[MENTION=1077833]infected_[/MENTION] you might want to add this to the OP second post so the others don't lose data..
[Xperia Z2 Android Development] serj.borgore:
So, what i have to do for having a custom recovery?
[Xperia Z2 Android Development] RyTekk:
Do you work lonely? Why don't you join freexperiaproject? Or you already?
[Xperia Z2 Android Development] SGEdanny:
You can find very nice and extensive tutorials in YouTube. Just search for twrp in xperia and your questions should be answered :)
[Xperia Z2 Android Development] seth.i.simmons:
Wiping /data with /data/media did not work for me. I tried repairing the fs as well, with no success. Tried everything ik of bit had to ftf
[Xperia Z2 Android Development] adyscorpius:
Thats what, dont wipe it. Format it.

The one on the right..
[Xperia Z2 Android Development] serj.borgore:
i know the way to install a custom recovery, is it the same for LP? i thought that there was a different way
[Xperia Z2 Android Development] seth.i.simmons:
Huh, didn't see that :P I'll try that if it happens again. Thanks!
[Xperia Z2 Android Development] Karl-Johan:
Not working here, just says device not found. Any ideas?
[Xperia Z2 Android Development] action294:
Install fastboot drivers, get the adb&fastboot package. Put your phone in fastboot mode (turn off phone, hold the vol+ button and connect to pc, you'll see the blue notification light), then execute the command:

fastboot flash recovery yourrecoverysname.img

Note that you'll have to extract the adb&fastboot package and put your recovery.img in the same directory. Check the INDEX thread and use the search to get the necessary packages. Google will help you aswell.
[Xperia Z2 Android Development] Karl-Johan:
Done exactly that. I can flash bootimage with "Fastboot" so drivers are ok, i guess.
[Xperia Z2 Android Development] :
Looks like manual brightness is broken on latest build.
[Xperia Z2 Android Development] action294:
Works for me.
[Xperia Z2 Android Development] :
Do you really get bright screen? For me brightness level in max is not that bright.
[Xperia Z2 Android Development] action294:
Yes, fully. Works with and without adaptive brightness aswell!
[Xperia Z2 Android Development] :
Thx. Looks i need to flash again.
[Xperia Z2 Android Development] rcstar6696:
Its a bug in thermmanger change the thermanger.xml in system/etc and their you must look to something with brightness

At the moment it stands wled:backlight and you have to put lcd-backlight instead wled:backlight and then reboot all is okay
[Xperia Z2 Android Development] :
Thanks a lot that worked. I was scratching my hair off with this :D
[Xperia Z2 Android Development] The Peterle:
Well recovery is installed after felt 100 times tried. I got it with rushr app.

I got problems with the new 1203v2 built. Bootloop. With 1130 it's stable. What has changed?

Grüße/Regards

peterle
[Xperia Z2 Android Development] Karl-Johan:
Getting permission denied when I try to flash TWRP.

C:\adb>adb push recovery.img /sdcard/

7250 KB/s (12091392 bytes in 1.628s)

C:\adb>adb shell dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

dd: /dev/block/platform/msm_sdcc.1/by-name/FOTAKernel: Permission denied
[Xperia Z2 Android Development] adyscorpius:
Type adb shell

The type su

Give permission to adb shell from your phone.

Then when in root mode, use the dd command.
[Xperia Z2 Android Development] action294:
I still don't get it, why don't you flash the recovery via fastboot?
[Xperia Z2 Android Development] adyscorpius:
I think its okay... Why not learn something new and probably more convenient?
[Xperia Z2 Android Development] Karl-Johan:
Thanks. Finally it works.

Typed boot instead of recovery earlier when I tried. I'm new to all this. :confused:
[Xperia Z2 Android Development] moman2000:
My brightness wont max out wats going on please help me is it my fotakernel.img i flashed the twrp 2.8.1.0 recovery with fastboot flash recovery openrecovery-twrp-2.8.1.0-sirius.img

Is it possible for me to get the fotakernel.IMG from your ROM zip of 03/12/2014
[Xperia Z2 Android Development] action294:
Read up!
[Xperia Z2 Android Development] Uclydde:
What is the easiest way to install an update? I'm running an older build of this rom, but I don't want to flash a temp recovery just to flash the latest zip.
[Xperia Z2 Android Development] moman2000:
Thx soo much
[Xperia Z2 Android Development] deepongi:
uploading nightly 20141204...

changelog: http://paste.ofcode.org/346sZ2J9CcsfzZFvjZ5waPv

regards.
[Xperia Z2 Android Development] bluheart:
Got my Z2 back yesterday, tried to flash, but went into bootloops. JJust waiting on CM11 M12 infected built.
[Xperia Z2 Android Development] RedSkyRoad:
UPDATE : The following worked:

adb shell

su

dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

(no need for fastboot. straight from the running phone)
[Xperia Z2 Android Development] jackq:
Guys which one recovery do you use with this cm12 rom? Can anyone share link to recovery.img i tried a couple but no one works. I just want to have one which could be flashed via app from ps. Thanks in advance
[Xperia Z2 Android Development] Karl-Johan:
Managed to flash TWRP on my phone yesterday and today I was going to update to 1204 build, but something went terribly wrong. I did an update and wiped cache/dalvik and

after that my phone didn't boot it was stuck with black screen and red LED light just after sony logo. Finally managed to get it back working again by flashing Doomkernel again.
[Xperia Z2 Android Development] moman2000:
Download a app called rashr and install a recovery u want.. Alternitavely u can flash the fotakernel.img, give it a try .
[Xperia Z2 Android Development] Omar A. Muhammad:
I dont know if this is a noob question, but can you take screeshot? I can't seem to find anything.
[Xperia Z2 Android Development] mariotme:
Yes buddy its functional.

Volume down + power button
[Xperia Z2 Android Development] Omar A. Muhammad:
Thanks for the reply man, but it doesnt take screenshots. :/
[Xperia Z2 Android Development] deepongi:
Check attachment. Latest build.
[Xperia Z2 Android Development] Reb0rn:
Gotta love how the battery percentage keeps popping on and off in these nightlys :D 12.03 had percentage working but not brightness slider and now 12.04 has brightness slider working but percentage is gone :)

We all know its a work I progress :D and a damn good one at that!

Love the battery time. It's really spectacular.
[Xperia Z2 Android Development] joeliomason:
is anyone else getting better battery on this than on the official sony 4.4.4 build? (23.xx or whatever)

just makes me laugh, on sonys stock firmware I was barely getting a day, and now im getting just over a days life! only issue I have found is that the battery stats don't reset, it says my screen has been on for 10 hours :P havent come across a reset button, but its doesnt really bother me, just want tethering to work (Y) because with the internet at uni im getting barely 1Mbs whereas my phones on 4G and im averaging 25Mbs
[Xperia Z2 Android Development] Hussainally:
Hotspot works for me on 0312 build
[Xperia Z2 Android Development] joeliomason:
It turns on, I connect my iPad/Mac to it, but it says they aren't connected to the internet :/
[Xperia Z2 Android Development] The Peterle:
With 1204 I have terrible problems with superuser permissions. Binaries are updated but the su notification is not tapable. How can I fix permissions? Twrp is broken for that or?

Grüße/Regards

peterle
[Xperia Z2 Android Development] adyscorpius:
Use supersu
[Xperia Z2 Android Development] Karl-Johan:
Made another attemp installing and flashing with TWRP and it seems to work fine now. Guess the wipe earlier of dalvik and cache after flash wasn't very brilliant... :confused:
[Xperia Z2 Android Development] The Peterle:
I do. Therefore I wrote updated binary.

Grüße/Regards

peterle
[Xperia Z2 Android Development] adyscorpius:
That's a first then.. I thought you updated busybox binaries...

Maybe try a fresh install and flash supersu before booting...
[Xperia Z2 Android Development] bluheart:
ady, bro, when I installed, its fine but without modem(D6502)! But when I flash the modem then I get bootloops. Any idea what to do? Without modem, everything is fine and fabulous.
[Xperia Z2 Android Development] xrenoix:
thank you man !!!

thnak you [MENTION=1077833]infected_[/MENTION] very good work android 5.0.1 !!! just the camera not work !!!
[Xperia Z2 Android Development] Nov3c3nto:
Can anyone explain what technical issue there is behind the not-working camera state?

Just curious :)

ty
[Xperia Z2 Android Development] vwirstam:
Flashing now and will report back! Flashing 04/12
[Xperia Z2 Android Development] Myself5:
Driver incompatibility between the Rom, the Android Version and the Driver itself.
[Xperia Z2 Android Development] hery.chemo:
Does anyone have problems with the notification LED?
[Xperia Z2 Android Development] _RoMe:
Unable to flash from sdcard

Is anyone else having trouble flashing the zip? I've tried with TRWP, CWM and Philz recovery and none of them is able to extract the zip.

Ideas?

Thanks,
[Xperia Z2 Android Development] deepongi:
check md5sum's if they match. could be a bad download.
[Xperia Z2 Android Development] _RoMe:
Probably is. I've verified the zip and it looks corrupted. I've tried downloading several times and I keep getting bad downloads. I'm going to try a different browser or computer.

Obrigado!
[Xperia Z2 Android Development] vwirstam:
Wow. Love this rom. Can't wait for this rom to get all features to work. But will sure be my Daily driver! Just One question: When i try to restore apps with titanium backup, it wont work. Just loading. Anyone have same issue or a fix? TiB should work with Lollipop...

Anyway, thanks a lot for this infected_
[Xperia Z2 Android Development] Reb0rn:
Backups that are from older versions of android (like the jump from jellybean to KitKat) usually never works... And sometimes u have made backups from a odexed ROM and trying to restore to a deodexed... Your gonna have a bad time...

The system/app folder in LP differs from KK pretty considerably AND LP is natively running ART mode... Which some apps need update to work as they should.
[Xperia Z2 Android Development] furrypotato:
You need to flash latest SuperSU zip in recovery after flashing ROM. For some reason the included root doesn't work with titanium .
[Xperia Z2 Android Development] Envious_Data:
Led flashes apear to be discolored for me, could you describe your problem with greater detail.
[Xperia Z2 Android Development] hery.chemo:
exactly this :P
[Xperia Z2 Android Development] Envious_Data:
It seems to be normal i for now

It pronably would be fixed later
[Xperia Z2 Android Development] hery.chemo:
but If i put this configuration, the LED changes color

I don't know if that will help us to know the problem
[Xperia Z2 Android Development] Envious_Data:
Cm12 is far from finished so it could just be a CM bug for now

We will have to wait for it to be officialy released+a stable release for it to have less off issues
[Xperia Z2 Android Development] vwirstam:
Working awesome when i changed to SuperSU. Thanks Alot!
[Xperia Z2 Android Development] deepongi:
nightly 20141205 is up.

build/sync date: 07:12:24 GMT+0

changelog: http://paste.ofcode.org/4rNvjtEDLKVqSNwVyzBJEh

regards.
[Xperia Z2 Android Development] mgprime.havoc:
is the knock to wake already working?
[Xperia Z2 Android Development] chesterr:
When will be seeing a proper camera fix? Are you working on it?
[Xperia Z2 Android Development] adyscorpius:
I thought we were waiting for you to fix it.

P.S. No ETAs
[Xperia Z2 Android Development] chesterr:
Damn how did you know that I am fixing it :D :p
[Xperia Z2 Android Development] bluheart:
Jokes apart, Thanks infected_ buddy for this awesom rom. Waiting patientlyy for cam to work :)
[Xperia Z2 Android Development] Myself5:
No. I'm working on it tho.

Never as you asked.

+1

Not funny :P

THATS how to "request" things :P
[Xperia Z2 Android Development] jackq:
maybe this can help http://gerrit.aokp.co/#/c/15980/

btw. on latest build i have "weird actions" on clock package, can't set alarm, clock icon on statusbar are blinking, etc... anyone can confirm?
[Xperia Z2 Android Development] The Peterle:
This issue was even in cm 11 and it is not fixed till now.

Grüße/Regards

peterle
[Xperia Z2 Android Development] chesterr:
Hey guys, I sincerely apologize if I said something inappropriate, I was out of curiosity and I was really excited about how infected_ made this rom possible on our device.

He did an excellent job on it and I've used it and I was really happy about it. I was so excited cause this rom was so smooth and snappy. and there weren't any hiccups. Sadly I wasn't using it as my daily driver cause I am more hooked on to camera and taking pics a lot. That's why I asked about the camera and what is his progress on, Other than I am chilled and waiting for him take his time to fix all the bugs. and He made this rom almost perfect when CM12 was not there for beta builds. Still again I apologize for asking, if you sense any rudeness, I take my comments back. Thank you
[Xperia Z2 Android Development] sergio_eristoff:
I would really like to flash CM12, but the recovery is a problem for me if it is not working. I can life without camera for daily use.

Is it fixed so far?

Another question can I update directly from CM11 to CM12?
[Xperia Z2 Android Development] schallwert:
Dunno if it's fixed, but you can easily flash TWRP via Fastboot.

fastboot flash recovery recovery.img
[Xperia Z2 Android Development] deepongi:
nightly 20141206 is up.

changelog: http://paste.ofcode.org/6bxTdFTV5fAryQynfFVvvF

have a nice weekend everybody :)
[Xperia Z2 Android Development] Hussainally:
No battery indicator on status bar on 0612 build bro
[Xperia Z2 Android Development] Manya3084:
Errr, don't press any volume keys on the new 0612 build, the phone goes crazy and reboots. Think i'll revert to 0512. Might be a reason those proprietary file changes haven't officially been merged.
[Xperia Z2 Android Development] dkionline:
0512 have graphical glitches.
[Xperia Z2 Android Development] Hussainally:
On latest build can't play YouTube videos...reverting to 0412
[Xperia Z2 Android Development] action294:
Neither can I.
[Xperia Z2 Android Development] Karl-Johan:
Same here Youtube videos won't play but battery indicator is showing and volume keys are working fine.
[Xperia Z2 Android Development] jackq:
I can confirm too that youtube doesnt work even if you delete it from system/app and install new one form playstore, also clock package still doesnt work corectly, cant set any alarm. Maybe next build will be better (hope so).
[Xperia Z2 Android Development] deepongi:
anyone can confirm if notifications sounds are working?
[Xperia Z2 Android Development] LordDacas:
With Build 0512 notification sound works on my z2.
[Xperia Z2 Android Development] xrenoix:
work

No Work on 06/12/2014 confirm thank you [MENTION=1077833]infected_[/MENTION] !!!
[Xperia Z2 Android Development] Manya3084:
Do you also get the lock screen sound when turning off the screen?
[Xperia Z2 Android Development] solidturk:
No sound for me on 06/12 so reverted back to 05/12 build.
[Xperia Z2 Android Development] deepongi:
notifications sounds are borked.. its "main" CM code related, nothing to do with my commits. Made a PA Legacy 5.0 alpha build, which legacy branch is based on CM, and has the same issues.

i'll keep my eye on gerrit for possible fix.

regards.
[Xperia Z2 Android Development] kumbangdesa:
How to change widget in quick settings?. Seem didn't find it.
[Xperia Z2 Android Development] dkionline:
[MENTION=4523492]jackq[/MENTION], clock works without issues.
[Xperia Z2 Android Development] hery.chemo:
All is OK for me on the latest build, including D2W
[Xperia Z2 Android Development] Myself5:
Is it meanwhile activatable with the Settings App or did you used any 3rd party software (like mine for example)? Cause activating it from the settings app does not seem to work for me on the 20141204v2 build with my Kernel where I was testing the D2W commit for CM.
[Xperia Z2 Android Development] hery.chemo:
I used your app :)
[Xperia Z2 Android Development] :
And what app would that be? ;)
[Xperia Z2 Android Development] Myself5:
https://www.androidfilehost.com/?w=files&flid=21022

[emoji14]
[Xperia Z2 Android Development] hery.chemo:
It only works on latest build

https://www.androidfilehost.com/?w=files&flid=21022
[Xperia Z2 Android Development] t0pstar:
Jep works ?

Now only navbar buttons left ,for me .
[Xperia Z2 Android Development] Reb0rn:
D2w is working great.

And it's at least vibrating during notifications which is nice ?
[Xperia Z2 Android Development] deepongi:
uploading 20141207..

notifications sounds are back.

regards.
[Xperia Z2 Android Development] Reb0rn:
Video too?
[Xperia Z2 Android Development] deepongi:
whats wrong with video?
[Xperia Z2 Android Development] Reb0rn:
1206 had broken video so had to revert. YouTube didn't play videos and Instagram videos didn't play up.
[Xperia Z2 Android Development] deepongi:
could be one or more of the frameworks/av commits. new ones were merged. try new build to see if it solved it.
[Xperia Z2 Android Development] Reb0rn:
Working great! Sweet build so far.
[Xperia Z2 Android Development] nEUTRon666:
Really a great rom, so fast and smooth, but without the camera i can't use it as my daily driver :/
[Xperia Z2 Android Development] Hussainally:
Every time I switch on location and switch it off the icon still remains at status bar until I reboot
[Xperia Z2 Android Development] Reb0rn:
Stop taking too many selfies. You probably are beautiful anyways...

That's a known bug. Been there since first build. Will get fixed eventually.
[Xperia Z2 Android Development] t0pstar:
In the new build where can I find battery preference?
[Xperia Z2 Android Development] moman2000:
Problem moving apps

Couldn't move app. Not enough storage space
[Xperia Z2 Android Development] bluheart:
New update is up and seems to be better.
[Xperia Z2 Android Development] deepongi:
you cant.. not working at 100%, so i removed it.

known issue and being taken care of.

regards.
[Xperia Z2 Android Development] moman2000:
Thx for ur reply, awesome work cant wait for the final build.
[Xperia Z2 Android Development] moman2000:
Is otg working in this rom 07/12/2014?? Because when i plug my usb hub in it doesnt mount any usb's attached even when using a externel power supply. It even wont recognice a 1 port usb otg cable. What is going on please someone tell me does the kernel not support it yet or what. Thanks for your support.

Mohamed
[Xperia Z2 Android Development] bluheart:
OTG isn't working yet buddy
[Xperia Z2 Android Development] LordDacas:
It seems that with build 07/12 when you fresh install the rom, the mobile data connection dosen't work, when you update from an older build than it's working perfect.

Notification LED/Vibration works.

Sometimes force restart when the phone is not connected to a wlan network for a longer time than 4 or 5 hours and you hit the power button to secure the phone. (since build 03/12)

That's all. Good Work Infected.
[Xperia Z2 Android Development] IkeSmash:
I wonder if that's whats causing my constant restarts. Whenever I hit the power button it restarts. I got home yesterday and it worked all of a sudden, then on my way to work today it started again.
[Xperia Z2 Android Development] Reb0rn:
Made a speaker boost and stereo ringtone mod for this.

http://xdaforums.com/showthread.php?t=2965808

Enjoy.
[Xperia Z2 Android Development] Aust S5:
Do we still need to fastboot a cm11 boot.img to flash this rom then fastboot back the cm12 boot.img?
[Xperia Z2 Android Development] kumbangdesa:
No need if you already had install recovery in cm12.
[Xperia Z2 Android Development] Aust S5:
So if coming from a stock bl unlocked rooted devices with DoomLords AdvStockKernel then flash the cm11 boot img first
[Xperia Z2 Android Development] 3oQod.Developers:
How to Use it ??

How to Use it ?? :rolleyes:
[Xperia Z2 Android Development] kumbangdesa:
Yes. Flash cm11 boot.img first.