yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] Kevin.Silbstedt:
So your phone rings when you get called, but the caller screen doesn't open? Weird, didn't have this behavior myself.

Have you tried a clean flash? Btw. there seems to be a v33, have you tried that? Just backup you current rom, wipe system, data, dalvik and cache and make a clean flash, then report, if this still happens.

Maybe you could also capture the error with a log by using "adb logcat -v time -d > logcat.log" via adb on your computer or an app like aLogCat.
[Xperia Z2 Android Development] kapilesh8:
It worked. I wiped the system and then updated it. Thank you so much.?

So does this mean for every version we have to wipe system and then install apps again from backup?
[Xperia Z2 Android Development] Kevin.Silbstedt:
Actually I meant for you to just try a new flashed version after a factory reset, but hey, if it worked this way, it is even better.

Well updating to certain version (like 31 to 32) worked for me without problems, others (like 30 to 31) resulted in bootloops, which always made me do a factory reset (wiping, system, data, cache and dalvik) and start the rom all over again. Just wiping system is actually a good idea, I will try that next time.
[Xperia Z2 Android Development] kapilesh8:
Hmm well everything is good now. Let's see what happens in the next version

Thanks bro ☺
[Xperia Z2 Android Development] sergio_eristoff:
I tested to flash a fresh install on my xperia. V33 installs good but when I flash opengapps the wizard cannot continue. Google Play Store force closes.

Now I try v 31
[Xperia Z2 Android Development] rcstar6696:
Set permission in settings for all google apps then reboot this should solve the problem
[Xperia Z2 Android Development] moman2000:
Install the full gapps if you want stock apps ( it will have more apps but will inuclude the stock ones), if your are using micro use pico. There are known issues with the webview app within the zip. [MENTION=5621191]rcstar6696[/MENTION] , you may want to add it in your OP
[Xperia Z2 Android Development] sergio_eristoff:
So I installed the micro version of gapps and it worked. Now I am on v33 :)

Everything runs good except of taking photos with whatsapp. Here it shows green screen :(

Normal camera app works normal. Please fix it because I need it to authentificate to web.whatsapp.com!
[Xperia Z2 Android Development] Kevin.Silbstedt:
If he has the problem I'm thinking about, this will not work.

When you flash flash this rom with gapps, you have to consider two things (I made this experience on an earlier version, but I don't think, that it has changed):

1. After flashing the rom and Super SU, you have to flash gapps before you start the rom for the first time. If you try to flash it afterwards, it will crash, setting the permissions won't fix that (it didn't in my case).

2. You have to at least flash the Nano Gapps, otherwise certain apps will crash (in my case Gmail, when trying to link it to my other email account, and Chronus). This may be because of missing webview, but even installing it and other Google apps through the playstore, did not fix it.
[Xperia Z2 Android Development] rcstar6696:
N preview

Hey i think i should inform you about it

Yesterday i got my z2 tablet booting n preview and z2 phone has the same hardware as the tablet

Which means z2 will get it too if i fix the wifi bug
[Xperia Z2 Android Development] reknew:
Wow! Can't wait to see it!
[Xperia Z2 Android Development] Austin.gonzo:
You haven't finished Android Marshmallow and now u working on Android N ? bro how do you do this?
[Xperia Z2 Android Development] rcstar6696:
How i Downloaded n source and build it with the mm trees

Aosp mm is nearly stable except cam, call and nfc but i will not stop mm n was only for testing

N source is not released and this was only the preview source with less Features
[Xperia Z2 Android Development] Austin.gonzo:
Is it smooth ? Does the camera work?
[Xperia Z2 Android Development] rcstar6696:
i would say same as mm except wifi it bugs like the hell

Camera was not included in my build but i think not because i build with mm blobs

Which are not full compatible with n
[Xperia Z2 Android Development] Austin.gonzo:
The Android N sources r from the first developer preview, right ? And google released developer preview 4 btw :laugh:
[Xperia Z2 Android Development] Brandon Nel:
I was also busy on porting the N Preview, but I can ditch that project and Beta test and even fix some of the bugs in yours? Thanks alot!
[Xperia Z2 Android Development] rcstar6696:
No it was n preview 3 :)
[Xperia Z2 Android Development] rcstar6696:
Okay i let you know if i need some help or a beta tester
[Xperia Z2 Android Development] Brandon Nel:
Np just send me a PM and I will be more then welcomed to help you out on fixing this ROM. ;)
[Xperia Z2 Android Development] kapilesh8:
So what's happening to this ROM? Is the camera fixed?
[Xperia Z2 Android Development] sergio_eristoff:
Nearly fixed, sometimes there are green screens for example whatsapp web auth. The rest is very good,fast and stable
[Xperia Z2 Android Development] otto81709:
from cm 12?

Mod edit: OP quote removed

hello from venezuela if im using cm 12.1 how do i flash it?? tanks.
[Xperia Z2 Android Development] rcstar6696:
[MENTION=6702481]otto81709[/MENTION]

Please do not quote the full first post

There is a instruction on first post please look there
[Xperia Z2 Android Development] Austin.gonzo:
What did he even mean by saying from cm12?
[Xperia Z2 Android Development] kapilesh8:
Do a fresh installation. That is you flash a rootable ftf. And then use adb to install it.
[Xperia Z2 Android Development] sergio_eristoff:
Is there any chance to get v34 with fixes like greenscreen on whatsapp web auth or chrome integrated video player?
[Xperia Z2 Android Development] rcstar6696:
Chrome issue will be fixed later i have found it but the greenscreen on WhatsApp web is a camera issue better a gralloc issue which means colour calibration
[Xperia Z2 Android Development] Joad:
wifi cant detect anything it just search . any fix ?
[Xperia Z2 Android Development] Austin.gonzo:
There isn't really a fix for it, but here's what I did to make it work.

Method 1.

First I started my phone

Wifi options>advanced>wifi region code then select China

Then turn on wifi.

IF it didn't work then restart your phone.

If it didn't work again.

Method 2.

Then, put phone on airplane mode

Then Wifi options>advanced>wifi region code then select China

Turn on wifi, if it didn't work then turn your wifi off, Wifi options>advanced>wifi region code then select China

Then restart your phone.

I tried to make simple as possible :laugh:

Press thanks if it helped
[Xperia Z2 Android Development] rcstar6696:
Ehm quick question how did you do this i don't have a switch for wifi region in wifi settings?
[Xperia Z2 Android Development] Austin.gonzo:
Uh I was on aokp when I did those methods, they were also on ur ROM too I think

Let me add that these screenshots r taken 5 minutes ago & I'm running Android 5.1.1 right now, they are not from aokp 6.0.1 BUT the wifi settings on on Android lollipop and marshmallow are the same, am I right ? So if you're on marshmallow you will still have these settings.
[Xperia Z2 Android Development] Austin.gonzo:
Change log for developer preview 4 came, RC star are you going to compile it ?
[Xperia Z2 Android Development] rcstar6696:
Build is ready needs to be tested tomorrow

It should work but cam will be half broken you can take photos but you won't see any picture in camera app

And sound is a bit crazy i think
[Xperia Z2 Android Development] Brandon Nel:
Awesome! Remember to PM me if it's ready! ;)

As I said before. I love creating ROMS, as well as fixing them, so I'll fix the Camera bug for you once you send the link to me or post it here! :D
[Xperia Z2 Android Development] Austin.gonzo:
Is it laggy like in marshmallow ?
[Xperia Z2 Android Development] Brandon Nel:
Is the link ready yet? I really want to test Nougat! :D
[Xperia Z2 Android Development] sergio_eristoff:
I tested V34 to dirtyflash over v33 but my Xperia Z2 gets an bootup stuck and also killed the recovery light. The good is adb was on so I can go back to twrp.
[Xperia Z2 Android Development] rcstar6696:
Yes build is stable enough you can test it if you want

Recovery does not work and camera works half as i explained yesterday

I clean flashed V34 and all is working so please clean flash
[Xperia Z2 Android Development] rcstar6696:
Changelog

N-Preview:

First release of N-preview 4

8994 display hal

CPU Control via power hal

Camera is broken again

V34:

Selinux fixes

Green and Pink Video solved

Powerhal better cpu control

Update recovery implimenation
[Xperia Z2 Android Development] Brandon Nel:
This isn't real N preview. It's Marshmallow!

I forgot to flash gapps and twrp and now I can't download anything because I'm stuck with this Webview Browser tester on my phone. Any help on how to fix this?! Thanks
[Xperia Z2 Android Development] rcstar6696:
No its the N-preview builded up from source but yes its really the same as marshmallow no new Features which affects the ui and the things we can see

If you have an idea how can i show you thats the real preview then write me

Install apps via adb (google it for instructions) :)
[Xperia Z2 Android Development] Brandon Nel:
Yeah please tell me how this is real n-preview cause if it is, then just please add the stuff to the ROM that's makes An N ROM, well, Android N! The ROM is pretty stable and fast however, so props to that! :) I just want to flash back to something like eXitenze ROM or something until the ROM looks and feels EXACLTY like N. Still congrats you for your work though. If you want some tips, replace stock Camera in this ROM with Sony Camera and replace Webview Browser and Music app to Stock Sony ones cause the ones included in ROM are WAAAY outdated. Still happy with ROM speed though. Cheers! :D
[Xperia Z2 Android Development] rcstar6696:
I will not include sony stuff because this is a pure aosp rom like nexus and this means no bloatware and no sony stuff

I will inform you if the ui will change
[Xperia Z2 Android Development] RyTekk:
Then you had better go to Cross device section, this is ROM that was made to as close vanilla Android as possible.
[Xperia Z2 Android Development] Brandon Nel:
I don't have my PC at the moment, and I can't download anything with the only browser included. The 'WebView Browser Tester 44.0.24.03.119' is the only browser that's included without the gapps. Every time I try to download something, nothing happens. Can you please provide an HTML code or something that can make it download PLEASE? The phone does have a download manager, but I can't download anything! Please help!
[Xperia Z2 Android Development] shahidaffan:
can i use the rom on D6502
[Xperia Z2 Android Development] Brandon Nel:
Anyone please tell me how to root the device again? I've tried Kingroot and pretty much every other Rooting app on this phone, but fails every time. I have seen some videos on how to Root marshmallow using SuperSU beta and flashing it in TWRP, but you can't get TWRP without Root...??! Someone please help. I'll hit that Thanks button! ;)
[Xperia Z2 Android Development] rcstar6696:
You can get twrp without root you need to flash twrp via fastboot like i explained in the third post if this is done flash supersu beta zip and all will be good

Btw N-preview does not support recovey at the moment
[Xperia Z2 Android Development] rcstar6696:
I have no d6502 but try it and flash the Universal patch for d6502 fron xda
[Xperia Z2 Android Development] sergio_eristoff:
I made a clean flash with v40. Green and Pink on videos are fixed. Chrome and Whatsapp Webauth already exists
[Xperia Z2 Android Development] Brandon Nel:
So...I'm stuck with this ROM forever?!
[Xperia Z2 Android Development] paulwollf:
No you flash kitkat ftf and root with towelroot
[Xperia Z2 Android Development] Brandon Nel:
[MENTION=5621191]rcstar6696[/MENTION] Are you sure TWRP doesn't work with the latest ROM? Have you tested?
[Xperia Z2 Android Development] rcstar6696:
Do you mean mm or n?

For n i need to recompile it on mm all is okay i use the v34 build atm with twrp
[Xperia Z2 Android Development] itsnie:
If you have on UB, it's better to install newest bootloader, your recovery will never gone nor change if you're not changed them
[Xperia Z2 Android Development] raminta:
[MENTION=5621191]rcstar6696[/MENTION] hi can i use it on D6502???

Tnx
[Xperia Z2 Android Development] rcstar6696:
Hey i answered this question two or three posts before please look there
[Xperia Z2 Android Development] Dragoss91:
long time since I checked this forum , is there a oc/undervolt kernel available for aosp mm ?
[Xperia Z2 Android Development] rcstar6696:
No there is no custom kernel available for aosp
[Xperia Z2 Android Development] Brandon Nel:
Hey bro. I accedentaly flashed the twrp as kernel and now my phone won't turn on. Flashtool is however still able to reconise the device and I can still go into fastboot and flash mode. Just takes way tooo long to flash, and i ran out of time cause I had to catch a flight to Singapore. Oh well...I'll fix it at South Africa. :P Anyway, cheers and hope your ROM gets better! :)
[Xperia Z2 Android Development] rcstar6696:
Extract the zip and you will find the boot.img flash them via fastboot and the device will boot again
[Xperia Z2 Android Development] Brandon Nel:
Had an idea of doing that but thought it won't work. Now I know it will! :D Thanks so much for making my life easier LOL. :D
[Xperia Z2 Android Development] rcstar6696:
V35 is available

CHANGELOG

Google release 6.0.1-r53

Security patch to 5th of july

Powerhal values improvement

Thermanager adjustment (new values)

Reimplement of msm id (please check your devices if they boot)
[Xperia Z2 Android Development] Brandon Nel:
In your next ROM update, please use the white background boot logo (NOT boot animation) in the kernel. (Like the one from the Z5, X, and Z3 with N Preview!) That would look sick when turning on the phone. ;)
[Xperia Z2 Android Development] rcstar6696:
No this is not possible it is builded into bootloader and we can not modify bootloader because of no source and i think or better i'm sure we will never get this source
[Xperia Z2 Android Development] RyTekk:
I saw Doom who did it on Z1, I think there're nothing differences between Z2 and Z2.
[Xperia Z2 Android Development] rcstar6696:
Okay any link to his thread where he changed it i will look into it but i'm not sure if i can change this
[Xperia Z2 Android Development] RyTekk:
Z2 DoomKernel http://xdaforums.com/showthread.php?t=2735137

Z1 DoomKernel http://xdaforums.com/showthread.php?t=2448613
[Xperia Z2 Android Development] Joad:
there is no system or boot file on mega . how can flash ?
[Xperia Z2 Android Development] RyTekk:
They're included in zip, you just need to flash the zip via recovery, or you can flash boot.img individually via fastboot.
[Xperia Z2 Android Development] fahim siam:
are the bugs fixed and camera working perfectly? And is there twrp in the last mm version? please ans me
[Xperia Z2 Android Development] rcstar6696:
Bugs are only nfc

Camera will never work like on stock and nearly all custom roms are based on the open device project so you will never get a cam if you flash a custom rom

Twrp 3.0.0 is available in my mega folder if you need sonething newer use multirom twrp
[Xperia Z2 Android Development] Mohaned98:
How does the camera on this rom compare to the camera on cm 12.1 on a scale of 1 to 10?
[Xperia Z2 Android Development] rcstar6696:
Its hard to compare i think we are at stage 7 if we compare it with cm12

I think we will improve it to the same Quality
[Xperia Z2 Android Development] Mohaned98:
what's making it a 7? like, quality? shutter speed? focus? what are the cons?

Just trying to study what i'll have to compromise if i decide to switch from stock marshmallow
[Xperia Z2 Android Development] rcstar6696:
Quality is a bit better than cm . Focus is not good as on cm and shutter speed is longer if you use any thirdparty app

If you compare it with stock all things on stock are better :)
[Xperia Z2 Android Development] Mohaned98:
I'm not heavy on the camera usage, so do you think this would make for a good daily driver like the cm 12.1 does?
[Xperia Z2 Android Development] rcstar6696:
Yes i use it as my daily driver since a longe time and compared to benchmarks aosp is definitly better than stock

Battery life is good btw round about 4,5h display on time
[Xperia Z2 Android Development] Mohaned98:
alright, so what are the procedures ? fastboot flash boot boot.img, fastboot flash system system.img, fastboot flash usrdata usrdata.img, fastboot flash recovery twrp.img ?
[Xperia Z2 Android Development] rcstar6696:
More easier Download newestzip file

Extract it

Flash boot. Img via fastboot and recovery img (found in mega folder

Boot into recovery

Factory reset and system wipe

Flash rom zip via twrp
[Xperia Z2 Android Development] Austin.gonzo:
So it's possible to use Google camera, retrica & Snapchat?
[Xperia Z2 Android Development] RyTekk:
So AOSP doesn't use the same Camera HAL as stock? That's only reason that can explain it because if the camera HAL is same as, then worse result is came from software (algorithm) and we can improve it easier.
[Xperia Z2 Android Development] rcstar6696:
No stock hal is not public and will never be pubilc

Aosp uses a modifed aosp hal for sony devices

The hal has only a small affect on camera quality the most things are kernel and blobs. Aosp uses newer and faster kernel then stock but due the newer kernel we miss some camera things which are not ported or not compatible with newer kernel versions
[Xperia Z2 Android Development] rcstar6696:
Flash these Boot.IMG https://mega.nz/#F!aEhmCCyI!hwoqM-eTGm42PwoRGrbdbw

Than Boot to recovery flash all things

And than flash back boot.img from Rom
[Xperia Z2 Android Development] Migueliyo98:
Perfectly installed, but i´ve got 32k on Antutu, it´s too low mark but i can stand it,

The rest of the rom is perfect! Thanks mate for your expended time on this rom ;)

if the camera, the mic and the video playing is fixed, is the perfect rom for our Z2
[Xperia Z2 Android Development] rcstar6696:
We work on mic video and audio while call and alin jerpela is working on camera
[Xperia Z2 Android Development] Migueliyo98:
I´m anxious about this update! the rom is very smooth, i want let this rom for too many time, thank you again for your time
[Xperia Z2 Android Development] ckret:
this should fix mic

https://github.com/zephiK/android_h...mmit/9f64aeda4b9c432538e587bc89e0d4cb7161541c
[Xperia Z2 Android Development] benjmiester:
So I just tried to flash this, fastboot flashed the boot.img non rom version it says to flash first (12.2mb) and when I go to boot to recovery the led turns orange but I just get a blank screen and no recovery. Any ideas? I'm BL UL and on 5.1 CM from a few months ago.
[Xperia Z2 Android Development] rcstar6696:
Boot into fastboot again and write "fastboot erase recovery " then reboot to recovery should work

Thanks i will try it and if it work i will release a New build tomorrow
[Xperia Z2 Android Development] benjmiester:
Thanks, I'll give it a try. I got sidetracked with Firefox OS on Freexperia project. Boots up and works, rather interesting but of course it's not android yet :D I'll be back to try Marshamllow on my Z2 again tonight.
[Xperia Z2 Android Development] Migueliyo98:
Waiting for V5 changelog ;)
[Xperia Z2 Android Development] Mohaned98:
ayyy v5 is live, any changelog?
[Xperia Z2 Android Development] VinBenzin810:
I am interesseted for the Firefox Rom :) :) and I wait too for the changeloge rcstar

Gesendet von meinem D6503 mit Hilfe von xda Forums PRO
[Xperia Z2 Android Development] RyTekk:
AOSP 5.1 with kernel 3.10 has got same score, 3D score is too low (~2-3000) while we can got 12k+ on kernel 3.4, 10k has lose due to GPU driver. I've backed to stock after 3 days experience, I'll come to AOSP as soon as camera works or at least graphic (GPU driver) is fine.
[Xperia Z2 Android Development] benjmiester:
I have to say, it was pretty cool. It had gestures to swipe between apps, as in no recents at all (though it still has a recents screen if you want), just swipe left to one app and right to another etc. It also had this neat scrolling like in Facebook where if you flick it a little bit, it will keep scrolling slowly for a minute. Lots of small differences.

I did what you said for with erasing recovery and it worked. I'm currently running the 1st install of 6.0. Do I just flash zips to update to the newest build, as in from version one straight to V5? Also, there's a userdata.img, but no mention of flashing it. Do I need to flash that as well?
[Xperia Z2 Android Development] kokesh:
I guess you are using the camera blobs from the Sony preview binaries.
[Xperia Z2 Android Development] rcstar6696:
Audio is fixed

New build is up !!

ALPHA Release 0.6 Build 11/10

Fixes microphone

Fixes audio while call

Video fix in fullscreen

Audio now working fully

Video should work in full screen now can you check it please?
[Xperia Z2 Android Development] rcstar6696:
No not needed to flash userdata.img i habe a script which copys userdata.img too for the

Next time i will fix my script :angel:

If you have installed a build before you can use the zips and flash it on recovery

Sony does not release any camera blobs all is build by community
[Xperia Z2 Android Development] rcstar6696:
Oh sorry changelog is up now :D

Yes performance is not the best now CPU is okay but GPU makes heavy problems. The Problem is that we use Software Decoder for now because Hardware Decoder is broken. Software Decoder has very Bad performance

And the Software Decoder causes the Bad batterylife
[Xperia Z2 Android Development] RyTekk:
Are you working on GPU driver? Have any good news about it? I see you have fixed the mic audio, I hope you could fix GPU and then I'll marriage to AOSP :D
[Xperia Z2 Android Development] chesterr:
Hey, If your sdcard is formatted to exfat it won't work right? It gotta be fat32 right?
[Xperia Z2 Android Development] rcstar6696:
We hope so too :D we will work now fully in GPU and Video.

For us was the audio issue more important because you have a phone not a tablet :) now telephony works and we can go to the Next step

I haven't test it but i will ask in dev chat and then i will reply here
[Xperia Z2 Android Development] otto81709:
aosp 6.0

hello thanks for making this rom, i have two questions, if i already have install the last twrp can i just flash the system img and boot img ( not the twrp)?

Can i flash the last zip in twrp? Thanks and sorry for my explanation not very good inglish

---------- Post added at 01:24 AM ---------- Previous post was at 12:53 AM ----------

i have cm 12.1 with unlocked bootloader i'm using twrp 3.0.2-0 can i flash the v35.zip in my current twrp? :confused:
[Xperia Z2 Android Development] shahidaffan:
Flashing system.img and boot.img all completed and when i tried to reboot it it does vibrate and led show red

No sony logo just black screen?

I m using D6502 UB
[Xperia Z2 Android Development] rcstar6696:
Yes you can install it directly via twrp. Reboot into twrp do a factory reset amd wipe system then flash the rom zip :)

D6502 is not Supported and will not boot because of missing hardware ids. And thats why your device will not work and only show red led.

Btw where did you get the system. Img since some Version i only provide zips to install this rom?
[Xperia Z2 Android Development] shahidaffan:
I got from ur mega folder v29 and can u able to port it to D6502
[Xperia Z2 Android Development] RyTekk:
You can flash it but baseband won't work, it means there're no GSM signal, WiFi, Bluetooth, but you can try to push etc/firmware (I think so, can't remember correctly) from stock D6502 to make them work.
[Xperia Z2 Android Development] otto81709:
Thanks a lot I could flash the zip via twrp and I been testing the rom all day and it's working fine if I find some bug I'll let you know :D
[Xperia Z2 Android Development] otto81709:
I found two bugs. when I'm talking in a calling the other person listens his voice twice like a feedback and sometimes the during a call the phone reboots suddenly