yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] SolidR53:
Finally got it to work. The camera focus is not working on the rear/back camera. Also tried Instagram without success.

Front

[IMG="Front"]http://i.imgur.com/ZECGJu7.jpg[/IMG]

Back

[IMG="Back"]http://i.imgur.com/KLLqDoV.jpg[/IMG]
[Xperia Z2 Android Development] itsnie:
All ? Like TA, tz, sbl1, aboot, etc etc right ?
[Xperia Z2 Android Development] s.hossein:
Bro Rcstar please fix wifi code problem too.
[Xperia Z2 Android Development] AcidFX:
Rcstar, mine works fine. I flashed it reflashed boot for several times for installing zip apps, turned on and off. Wiped all data and partitions via recovery several times for reinstalling the rom, rooted supers 252, flashed camera zips from lollipop, turned on and off. But it didn't brick o_O.

I never wipe from Android. So I can't confirm this bug. For flashing used tprw recovery. Just flashed zip over my 5.1.1 and it got working fine.

One more issue - nfs seems.to be asleep. It don't read my cards.

---------- Post added at 08:09 PM ---------- Previous post was at 08:06 PM ----------

Also WiFi works for me, 3G. LTE fine. My phone calls, and receiving calls. It's normal beta firmware, not as stable as it supposed to be. But it works.
[Xperia Z2 Android Development] SolidR53:
How did the camera zips work from lollipop?
[Xperia Z2 Android Development] AcidFX:
they didnt work. apps crashed at phone boot. i tried z2 and z5 ports. that is why i reflashed rom after it (poped up errors of camera apps made me nervous). So i have about 30 times to turn on and off the device and its still alive.

Now flashed back to stock, cause i need nfc to charge my transport card for train. If nfc and caller echo fixed i can surely use this rom as everyday.
[Xperia Z2 Android Development] draltus:
yes i did format sd in android system

now can i fix this. is there any solution

after 3 hours bricked .i think battery is empty. again i connect pc , i saw red light

now flashtool says to me "device connected with usb debugging off" . but still cant access flashmod and fastboot mod. i cant install anything.

i disconnect pc again connect, still unknown device

may be help you for solve this problem.
[Xperia Z2 Android Development] jnne2012:
Oh f*ck.. I thought it was about external sd.. Hope there is some way to recover this brick back to life :)
[Xperia Z2 Android Development] rcstar6696:
Please be careful with the lastbuild it can hardbrick your device i removed the build

I will give you a new one later

For those whos device is dead please send it to repair i talked about this with alin and he means its the only way to gwt the device back
[Xperia Z2 Android Development] jnne2012:
Oh god that is going to be expensive :( Probably better to get a different phone.
[Xperia Z2 Android Development] rcstar6696:
Sorry for that again but alin means it shoulde be under garranty

No one can see something what is happen with the device
[Xperia Z2 Android Development] rcstar6696:
If you get it back into this step we can recover your device

Write me if you get it back with red led on
[Xperia Z2 Android Development] jnne2012:
Nah dont be sorry! It was my own fault. And wow it would be really cool if warranty covers it :D but im pretty sure i have to pay for it
[Xperia Z2 Android Development] rcstar6696:
Thank you but it was my fault to release this build i have not tested alll

Btw try to get the battery compelte down and check if you get the same as dratuls

If yes we can recover your device i will help ypu then
[Xperia Z2 Android Development] rcstar6696:
Try to use emma for flashing stock if you get the led again http://developer.sonymobile.com/services/flash-tool/how-to-download-and-install-the-flash-tool/

http://developer.sonymobile.com/services/flash-tool/use-the-flash-tool-for-xperia-devices/
[Xperia Z2 Android Development] draltus:
i tried everything. but i can not sucessfull

end of today my report:

1-flashtool see my phone "device connected with usb debugging off" look picture-1

2-my pc can not recognize the phone "unknown device" look picture 2

3- emma cant connect the phone look picture-3

now i will send my phone the service and wait.

when my device is return i will give report again

thank you for all effort bro ....
[Xperia Z2 Android Development] :
So the Video Player is Fixed via MX Player

And All others bugs too?

What about the Camera its working or not

If working how's the quality cause all UB Roms for Z2 gives the low camera quality problem.

And the Video Recording?
[Xperia Z2 Android Development] rcstar6696:
No you can use it now for z2 all is working except camera :D i use it as my daily driver too without problems
[Xperia Z2 Android Development] rcstar6696:
Yes video play is fixed when you use mx player but some apps can't use mx player to play videos like youtube

Camera is not implemente for now

Video recording is not working due camera

All other things are working :D
[Xperia Z2 Android Development] :
Camera is important for me :(

---------- Post added at 11:58 AM ---------- Previous post was at 11:47 AM ----------

Its My first time to flash AOSP Rom via PC!

Im on now Stock Kitkat v4.4.4

And PC Win10

I want a brief guide to flash
[Xperia Z2 Android Development] VinBenzin810:
Unlock your bootloader if you doesnt do it

Download the second build ( is a flashabel ZIP l)

Download the gapps

Download the super user ZIP

Put the zips on your SD card

Boot into recovery

Wipe data

Wipe cache

Wipe system

Wipe davlik cache

And now install the Rom then gapps then super user

And now reboot into Rom. Dont forget if you Boot into Rom you lose your recovery

Gesendet von meinem Xperia Z2 mit Hilfe von xda Forums PRO
[Xperia Z2 Android Development] :
Reboot into rom not reboot system?

I need to download the v2 flashable zip

After flash v2 then flash v3? Right
[Xperia Z2 Android Development] VinBenzin810:
Reboot into Rom vor system is the same .

AS i know v3 isnt avaible ?!! I See only v2 and if v3 avaible yes flash over v2

Gesendet von meinem Xperia Z2 mit Hilfe von xda Forums PRO
[Xperia Z2 Android Development] RyTekk:
In 1st post OP said rom is included Gapps, so why do we need to flash it?

[MENTION=5621191]rcstar6696[/MENTION], Will you keep this build up-to-date? I mean you will keep to fix and update it in the future even official will be realeased from Sony.
[Xperia Z2 Android Development] rcstar6696:
Gapps are included in all builds

I think yes this is aosp not stock and i like aosp more than stock

If you all read the first post there is an instruction if you come fr another Rom you habe to use fastboot and flash the images. And yes V3 should be up
[Xperia Z2 Android Development] chesterr:
I guess you already have backed up the DRM keys. If not please do back up them.
[Xperia Z2 Android Development] :
Yes i already have a TA Backup

Thanks :)
[Xperia Z2 Android Development] sandman01:
working with v3 since a few hours.

works really good for the moment. will also use it as my daily driver.

due to the fact that I also play games on my phone I mentioned that graphic drivers arn't optimiced for now.
[Xperia Z2 Android Development] rcstar6696:
Yes this generates the issue for video too. What games aren't work?
[Xperia Z2 Android Development] sandman01:
No, the game is working but it is not rendering smooth like it was on lollipop. So not a big deal. Did Anyone else have anoying echos when making phone calls. The other end always hears themselve.
[Xperia Z2 Android Development] pseudoheld:
Thanks for making this. Haven't tried it yet but it's good to see someone working on 6.0!
[Xperia Z2 Android Development] :
Good job! Will work manual camera mod on this rom?
[Xperia Z2 Android Development] Envious_Data:
that would need support from Camera2 API but this may be wrong as i dont know what the manual camera mod is for and what rom as this is somewhat important
[Xperia Z2 Android Development] jnne2012:
[YOUTUBE]E4amrzJ_fUY[/YOUTUBE]

This might interest some of you!
[Xperia Z2 Android Development] zandm7:
Sorry for n00b question but can someone give me some instructions on how to install this rom coming from stock Lollipop? There are instructions in the first post but they seem to be geared towards people that are upgrading from a previous version of THIS rom (as it says you can't use the flashable zip if it's your first flash of the rom?). Thanks!
[Xperia Z2 Android Development] Neo0:
The flashable zip is for upgrading but there are other instructions. You have to flash the images (Boot, system, data) through fastboot

Gesendet von meinem Xperia Z2 mit Tapatalk
[Xperia Z2 Android Development] AcidFX:
Anyway try to flash it via pc companion at first. It may help. (select update software there and nexty step click on blue text "recovery phone") then click next until text that you can lose your data -> agree -> and then connect phone in off mode. it will power on itself.

If doesnt help Try to flash it by flashtool. it may bring the phone to flash mode after from unknown device if lucky.

(And last chance is s1tool - but you need to dissasembly your phone to enter it into flash mode. hard method)

by the way did you try to hold vol+ and power for 5-10 sec. Then release them. hold vol- and connect usb to pc.
[Xperia Z2 Android Development] rcstar6696:
Install flashtool driver with pc companioin and flashtool itseld and try again then you coukd havre luck to get it back
[Xperia Z2 Android Development] draltus:
all drivers are more time installed

red light is only 5-6 second active , than turn off red light.

i cant access fastboot or flashmod because volume keys like disfunctional .

i think it is s1 boot problem. i think i cant fix it.

pc companion cant connect device
[Xperia Z2 Android Development] AcidFX:
By the way, use usb port on back of pc motherboard. this may also help.
[Xperia Z2 Android Development] rcstar6696:
Ah i was thinking that the led is still on btw adb showes permisson denied right or no device ??
[Xperia Z2 Android Development] jnne2012:
I cant get anything out of my phone except the "Unknown USB device". I will send it to service tomorrow. I have my fingers crossed because if they want much money at service i cant afford it. :(

Now rocking with ancient lumia 720 :D
[Xperia Z2 Android Development] draltus:
i tried 2 different pc, 6 different usb port, 2 different data cable. :) bu no success

is there any way to repair boot my friend is electronic engineer. if it is not neccesary spesific device, he can do it.

other way if i send my device to service my quaranntie is acceptable or not ?
[Xperia Z2 Android Development] itsnie:
Guys try this guide http://xdaforums.com/showthread.php?t=2646405 i think it can help because z2 and z ultra have same chipset, that's msm8974, but i'm not sure :D
[Xperia Z2 Android Development] AcidFX:
50/50. if the rom wiped partitions totaly so they cant analyze current firmware that made it bricked - they will reflash rom or change motherboard.

If there are any vestiges of a crime left in memory then the warranty will be void. Anyway dont tell them that you tried to flash custom rom. Just dont turn on and thats all.

---------- Post added at 12:06 AM ---------- Previous post was at 12:03 AM ----------

thats s1tool method. it needs the phone to be dissasemblied. it will help, but after dissasembly the warranty will be void 100%. it is on your own risk. By the way you need to heat the back plate of the phone to take it off, so if you are not experienced in it better skip this method.
[Xperia Z2 Android Development] firerappedR:
If you're on Windows 8 or 10, make sure that your ADB and Fastboot drivers installed properly. You have to deactivate driver file signature verification through booting into Advanced Options.
[Xperia Z2 Android Development] chesterr:
Did you try a different computer? If you have one then install drives from A to Z and see if it's working.

I think you should give it a shot. In your case you'll have to reinstall all your drivers from the scratch to get it working on your computer. I had the same issue and I had to reinstall my OS, it was Win 8.1 and it was bloody annoying.
[Xperia Z2 Android Development] RyTekk:
The problem does not come from PC, it is the phone, no matter does PC installed driver, phone should be in fastboot or flash mode if press correct button, then you can choose/install driver manually if your PC doesn't recognize the phone. I sure you guys will be accepted to take warranty as long as you don't say anything about flash custom ROM, you just say the phone suddenly turn off and be like that until now.
[Xperia Z2 Android Development] rcstar6696:
V20

I uploaded V20

hardbrick is not possible now

And all people who have installed v19 please update to v20

I don't want that more devices got hardbricks
[Xperia Z2 Android Development] _heisenberg:
Hello, when I install Google Apps and Boot the system I always get the Error "Setup has Crashed" and "Google Play Services has crashed". I know that some pages back in this thread there was a talk about this Problem but I could not find a solution.
[Xperia Z2 Android Development] Mikey94:
Which Gapps did you install? I used Open Gapps ARM 6.0 Micro and it worked fine. Luckily i didn't wipe my SD Card inside ROM :eek:
[Xperia Z2 Android Development] SolidR53:
Flash system, flash boot, start phone into system, flash KitKat boot, install gapps, flash boot.

Repeat until success. Worked for me.
[Xperia Z2 Android Development] Austin.gonzo:
U Still haven't posted the changelog :)
[Xperia Z2 Android Development] _heisenberg:
Thats what I did. I was using openGapps Mini. Maybe I should try the micro Version.
[Xperia Z2 Android Development] rcstar6696:
Yes i will do it in the next half an hour
[Xperia Z2 Android Development] rcstar6696:
I use opengapps full version please set the permission in settings in app settings
[Xperia Z2 Android Development] _heisenberg:
Thank you! That worked!
[Xperia Z2 Android Development] rcstar6696:
Changelog V20

I think its okay that we have only Changelog for v20 ( i removed v19 due hardbrick bug)

- camera implimentation

- brightness issue fixed

- new Kernel release 3.10.96

- Code cleanup everywhere

- update media configuration

- some kernel optimations

- fix usb otg

- fix sd mount point (hardbrick fix)

Recommend don't use google cam. The only working cam is camera zoom app
[Xperia Z2 Android Development] AlanDS:
Thanks for the changelog. Looking forward for the "echo" issue fixed build.
[Xperia Z2 Android Development] rcstar6696:
First and second post now up to date !!

Posts are updated + Screenshots added

Thanks to [MENTION=4895687]Envious_Data[/MENTION] for the nice picture
[Xperia Z2 Android Development] s.hossein:
The brightness of the captured image is very low on my phone, I used stock camera and camera zoom, both the same. and WiFi not found my network when I insert my sim,I think this problem in my country only.
[Xperia Z2 Android Development] rcstar6696:
Yes camera is not configured in low light

I will look into the wifi code :D
[Xperia Z2 Android Development] _heisenberg:
I still get the error that Google play services have crashed every now and then. (about every 10mins). I already gave all permissions manually to all Google Apps. [MENTION=5621191]rcstar6696[/MENTION] do you have this problem too, because you said that you use full gapps?
[Xperia Z2 Android Development] s.hossein:
I used both gapps full and micro and never got the Google play service fc.

---------- Post added at 10:50 PM ---------- Previous post was at 10:48 PM ----------

Bro rcstar6696, is it possible to fix camera light on next version?
[Xperia Z2 Android Development] rcstar6696:
Yes i use full gapps give all google apps all permissions in settings and do this to with google system prozesses and test again then.

I tested some different gapps all were okay on my both devices

I think not in the next build we need to calibrate cam completly now i will be fixed step by step

I think focus is more important and nfc
[Xperia Z2 Android Development] Alaa | Google Android:
Sony launches “Xperia Beta Program” for official Marshmallow release

http://www.xperiablog.net/2016/02/1...eta-program-for-official-marshmallow-release/

Xperia Blog

Finally they added Z2
[Xperia Z2 Android Development] atoyu:
hi , if im using cm12.1 with twrp3.0 , can i skip the fastboot img?? just flash the zip file and full wipe?
[Xperia Z2 Android Development] Envious_Data:
Most likely not

Fresh flash mostly to be sure it works
[Xperia Z2 Android Development] Penguin God:
Experience so far

Everything appears to be working sans focusing on camera, except for one minor thing: Audio stutters when the screen turns off. So far I've only listened to music on Play Music but it happens every time and goes away as soon as I unlock the screen again.

Working:

Phone Calls (nice clean and clear)

Wifi

LTE/4G data

Play Store Services and Play Store

All Google Apps

Audio (stutters when screen is off)

Video playback via youTube works perfectly.

NFC (I can scan my Opal card with the Opal app, however in settings, you cannot turn it on or off, the selector just cycles state constantly)

---------

With regard to which GAPPS to install: Do not use PICO or STOCK - these do not include the correct WebView application, and you will get crashes when trying to configure the phone, and any time you try to add or access an account since this launches the WebView for the Google Account setup. Instead of Stock, use Full. Instead of Pico, use Micro.
[Xperia Z2 Android Development] rcstar6696:
Audio stutter is only with play music app try aosp music app (is installed too)

And nfc is fixed now i will give you a new build with the fix

Atm i'm working on recovery for aosp :D
[Xperia Z2 Android Development] Chronic2k13:
You might have to disable driver verifications in your start up menu on your pc if you're running Windows 10 and then install the fastboot and flashmode drivers and then the drivers for your device

As [MENTION=4713943]firerappedR[/MENTION] said earlier
[Xperia Z2 Android Development] Penguin God:
Oh, one other issue - not sure how it ties in yet, but the stock Android Keyboard trail/swipe input causes it to FC. It might be a permissions issue or storage but I haven't looked at the log yet. Typing works fine and haptic vibration works fine as well. Trying to swipe letters starts drawing the trail then FCs.
[Xperia Z2 Android Development] Haldi4803:
You might want to try this keyboard and music app :)

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

I myself absolutely can't stand the stock AOSP keyboard. I prefer Sony keyboard which allows for two languages at once :) and Sony music app is still awesome, even though there is no genre sortation anymore.
[Xperia Z2 Android Development] Penguin God:
I found the Sony keyboard unbearably inaccurate in the word suggestion. It would come up with the most absurd replacements compared to the AOSP/Google Keyboard. Even now, having just switched back, AOSP works better for me. The only thing I need is the swipe working.
[Xperia Z2 Android Development] fedagh:
hello

Man nasb Kardam vali hich Anteni nadashtam va nemitoonestam hich barnamei nasb konam. tebghe raveshe gofte shode ham pish raftam.....

---------- Post added at 09:47 AM ---------- Previous post was at 09:40 AM ----------

I cant install any app....

and my phone dont have any antenna
[Xperia Z2 Android Development] rcstar6696:
I tested again i can install apps without problms

And could it be possible that you use d6502 device ?

Its not supported atm
[Xperia Z2 Android Development] fedagh:
yes My phone is Z2 6502

What should I do?
[Xperia Z2 Android Development] s.hossein:
Yoy should wait to someone to make d6502 patch for marshmallow aosp.

---------- Post added at 01:21 PM ---------- Previous post was at 12:40 PM ----------

Does this rom work with multirom, as secondary rom?
[Xperia Z2 Android Development] Korosaki:
How to get marshmallow
[Xperia Z2 Android Development] _heisenberg:
For God's sake, please read the 1st post and don't ask unspecified questions. Thank you.
[Xperia Z2 Android Development] Mikey94:
how to get marshmallow

btt: Am i the only one around here, with massive lags on this rom? It's not smooth at all :(
[Xperia Z2 Android Development] fedagh:
Im very :( sad
[Xperia Z2 Android Development] _heisenberg:
Sorry, but this is not a thread for your feelings.
[Xperia Z2 Android Development] s.hossein:
I wait for a better camera performance . After that I will use it.
[Xperia Z2 Android Development] timoti123:
I just tested Manual Camera 3.5 and it works much better (manual focus focuses nearer, manual ISO works better, manual shutter speed, manual white balance) than on AOSP 5.1.1 the only bug is that I can't use 20MP only 1MP and pictures are very bad with 1MP :D :D is there any way I can add 20MP resolution to any app not only to original camera app and camera zoom? Thank you

edit: Yes I forgot to write that auto focus doesn't work but manual works :D
[Xperia Z2 Android Development] itsnie:
This rom is smooth for me :D [MENTION=5621191]rcstar6696[/MENTION] can you make charger suspend take their job when the battery have atlast 90% ? Is to slow to take charging from 80%-100%
[Xperia Z2 Android Development] mfsklord96:
looks greate
[Xperia Z2 Android Development] rcstar6696:
Oh for the recommend i will test it to :D

This is a bigger problem because the qcom driver is not working correct on m atm we need to wait if some qcom devs fixing it

Btw i got recovery to boot on aosp now :D
[Xperia Z2 Android Development] fedagh:
can i hope for Z2 6502?
[Xperia Z2 Android Development] francisalmonte:
Is it necessary to have the bootloader unblocked to install this rom? Regards
[Xperia Z2 Android Development] _heisenberg:
Yes it is.
[Xperia Z2 Android Development] rcstar6696:
New build

Hey i made a new build

The new build has recovery support

You can use all recoverys which work on cm too

I have made a recovery too its in the recovery folder on mega and its based on championswinners buikd here on xda

I will add recovery install instructions too now

Changelog:

Batterylife seems better due some optimations

Recovery access

Security patch update to february

Fix some selinux things

Brightness patch ( could generate some issues with backlight)
[Xperia Z2 Android Development] Mikey94:
Flashable zip, like you said? :P
[Xperia Z2 Android Development] rcstar6696:
Yes the zip should be up the rest is uploadin at the moment :D
[Xperia Z2 Android Development] rcstar6696:
Recovery Guide

Recovery installation guide is on fourth post :D
[Xperia Z2 Android Development] timoti123:
What does the recovery support mean for us?
[Xperia Z2 Android Development] s.hossein:
We should always download the system.img to update or zip file is enough?
[Xperia Z2 Android Development] rcstar6696:
You can use all recovery which work on cm13 this is more important for z2_tablet because it hasn't the new bootloader yet

No you need boot.img and system.img or use the zip to update. I have update my device via zip
[Xperia Z2 Android Development] Unicos:
Strange things happens when i try to install the rom.

when i try to write the system file i get a error " failed to write"

do i something wrong? or should i wait for a flashble zip?

great work rcstar6696
[Xperia Z2 Android Development] rcstar6696:
If you flash aosp the first time you need to use the img and flash them via fastboot
[Xperia Z2 Android Development] Unicos:
i got adb on my pc with fastboot and, fastboot erase system, fastboot flash system system.img

gives me a error, its fails to write. should i use a other program?
[Xperia Z2 Android Development] rcstar6696:
Which error showes fastboot ?
[Xperia Z2 Android Development] rcstar6696:
Is your bootloader unlocked ? And update your fastboot driver to newsest version ! And check uf the driver is set correctly in device manager on your pc
[Xperia Z2 Android Development] s.hossein:
Bro rcstar6696 please fix WiFi code problem for me, because I can't use mm if not WiFi.
[Xperia Z2 Android Development] jnne2012:
I just got message from repair service and they said that my warranty is void because there was some minor scratches in corners. Last sony phone i will buy. And yes i know and understand it was my fault that i bricked it but the phone never worked right.