yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] iXaidyiu:
[MENTION=5621191]rcstar6696[/MENTION]

So now there can be a working camera on AOSP 7.0+?

Just heard it from the msm8974 cam discussion thread.

https://github.com/sonyxperiadev/kernel/pull/935

P's I gotta say I am a total noob in porting camera libs, so if I said something silly, please don't blame me:p
[Xperia Z2 Android Development] reknew:
hi I want to report a bug. after I power off my phone, I can't restart it. press power button and nothing happen. I need to use 'fastboot reboot' to boot :rolleyes:
[Xperia Z2 Android Development] iXaidyiu:
Did you press "Power off" or "Restart" in the power menu?
[Xperia Z2 Android Development] reknew:
I tried and found it's the same. phone just shutdown and never reboot.
[Xperia Z2 Android Development] rcstar6696:
Its the charging bug device never power off it stays awake because it thinks charger is detectet
[Xperia Z2 Android Development] rcstar6696:
Camera

We finally fixed the cam!!!!!!!!!!!!!

preview has still problems but pictures are quite good better than 1.2.2

And the camera app has some problems this should be easy to fix after this

I will publish a build in some time

Better it will be tommorrow

CAMERA CAMERA CAMERA :victory::victory::victory:
[Xperia Z2 Android Development] rcstar6696:
Yes CAMERA WORKS
[Xperia Z2 Android Development] DiogoSilva48:
When you have some time, can you post some samples ?
[Xperia Z2 Android Development] iXaidyiu:
HURRAY! FINALLY MY DAILY DRIVER IS HERE!

It's probably the best and yet biggest news I have ever had in my life:victory:
[Xperia Z2 Android Development] Fr@ndroid:
[MENTION=5621191]rcstar6696[/MENTION] I need unlocked bootloader to install this AOSP nougat ?? I do not see the prerequisites in the publication ..
[Xperia Z2 Android Development] reknew:
yes you need
[Xperia Z2 Android Development] ken2508g:
Hi. I find that the battery is draining fast after flash the 7.1 rom, so I need to keep it charging. Could you please fix it? Thank u
[Xperia Z2 Android Development] nakwonelec:
when flashing rom using in MultiRom with 'E:Error excuting updater binary in zip '/tmp/mr_update.zip', then try this and tell me it is work

1. in zip, remove 'META-INF/CERT.RSA', 'META-INF/CERT.SF', 'META-INF/MANIFEST.MF'

2. unzip 'META-INF/com/google/android/updater-script'

3. open 'META-INF/com/google/android/updater-script' with notepad(not wordpad, it modify CR charactor)

4. remove sentense from first 'if range_sha1' to 'abort("system partition has unexpected contents after OTA update");'

4. save and add to zip (replace)

5. enjoy multirom

the key point is that in every OTA flashable zip, update-script check system partition whether flashed well, but multirom does not flash system file to system partition, so abort

so, remove this check command
[Xperia Z2 Android Development] itsnie:
I have already try with restoring backup rom with 3.10 kernel but no sucsses at all ..
[Xperia Z2 Android Development] nakwonelec:
ah... that's bed news
[Xperia Z2 Android Development] itsnie:
Very bad news because i can't use rom with 3.10 kernel as secondary rom, but i'll try again because myself5 has update their multirom
[Xperia Z2 Android Development] RyTekk:
https://github.com/sonyxperiadev/camera

Does it work?
[Xperia Z2 Android Development] :
Is there now a flashable zip that i don't have to flash with fastboot?
[Xperia Z2 Android Development] rcstar6696:
V7 and Announcement

V7 should be up in the next time

Video is fixed with new ardeno blobs

first camera patches (cam is not released yet )

some media updates (from N5)

Announcement

Camera blobs should be released this week and this means we will get camera

Camera will not fully work its more a base construct

focus will not work and colour calibration is not the best but in general the camera will work better than on cm
[Xperia Z2 Android Development] :
is it possible to make a flashable zip
[Xperia Z2 Android Development] itsnie:
[MENTION=5621191]rcstar6696[/MENTION] work better than cm is awesome :D

Btw can you make this rom compatible with multirom ?

I have fail when multirom want to injecting the boot.img, the result is same as stock boot.img from stock frimware
[Xperia Z2 Android Development] rcstar6696:
flashable zips are on mega since the second release too :D look to the first post
[Xperia Z2 Android Development] rcstar6696:
Yes i will look into it this means i know what is missing and i need to port it to this kernel

if i finish it i will infor you and you test it okay? i don't want to install multi rom
[Xperia Z2 Android Development] itsnie:
Okay :fingers-crossed: ..

I'll test them :D
[Xperia Z2 Android Development] :
Yeah but can i use them without flashen v1 via fastboot?
[Xperia Z2 Android Development] rcstar6696:
I think it should work but not tested from me maybe anyone here has test this

you don't need to flash v1 i mean if you flash aosp the first time you need to use the IMGs

Now we are on v7 you can choose those images
[Xperia Z2 Android Development] VorpalSnark:
Now if we can just get access to the FOTAkernel for recovery those zips will be much more useful.
[Xperia Z2 Android Development] :
I tried to flashe "aosp_d6503-ota-eng.rcmax.zip" but failed. I don't know how to make it work... Maybe i did something wrong... I don't know... I have to wait for prerooted Android M
[Xperia Z2 Android Development] rcstar6696:
Ok than you need to flash the imgs via fastboot but only if its the first flash of aosp

Everytime i updated my build i use the zips
[Xperia Z2 Android Development] :
Is cm12.1 not aosp?
[Xperia Z2 Android Development] rcstar6696:
No cm12.1 is based on cms android source code (aosp with extremly much mods)

Aosp is the base of cm code but both are not the same. For now i would say cm is not aosp
[Xperia Z2 Android Development] VinBenzin810:
I See on the changelog from v7 build your Team fixed the camera bug ? When you relase a beta build with working camera and another question is now the GPU Problem fixed ? And Video on all players Like YouTube faceboot too ?/

Gesendet von meinem Xperia Z2 mit Hilfe von xda Forums PRO
[Xperia Z2 Android Development] iXaidyiu:
The battery drain is due to Google Play Service, which cannot be fixed much by this ROM side.
[Xperia Z2 Android Development] reknew:
hi guys. "Prevent Running" is a software I often use to control app running. Now that Android N doesn't support xposed, so the author provide another edition. it patches services.jar to prevent apps running. hope it helps. https://github.com/liudongmiao/Brevent/blob/master/aosp/README.md
[Xperia Z2 Android Development] bit_creepy:
Awesome news about getting a working camera. Brilliant stuff! Can't wait to get my hands on it.

One thing that was mentioned a while ago and hasn't appeared recently is the use of the torch. I could never get this to work with previous builds and most the time it was missing from quick settings.

Is this still the case?
[Xperia Z2 Android Development] DiogoSilva48:
Really good news, maybe now we will start receiving other ROMs based on AOSP like cyanogenmod. isn't the 7.0 more stable than 7.1?
[Xperia Z2 Android Development] pixel0:
Can we have the image samples of the new camera.

Thanks
[Xperia Z2 Android Development] Indashio:
OMG So good news.
[Xperia Z2 Android Development] FellipeSilvaRJ:
[MENTION=5621191]rcstar6696[/MENTION] the camera has any issue with focus? I remember that the camera on CyanogemMod 13 unofficial keep focus locked on continuos, wondering if is the same issue on AOSP 7.1
[Xperia Z2 Android Development] LukaRuso:
if camera is fixed, does that mean call echo is fixed too?
[Xperia Z2 Android Development] hamzxoxo:
D6502 users are left dry man, please make it work for us too.
[Xperia Z2 Android Development] :
And the charging? What is the issue exactly? The phone stops to respond or what?
[Xperia Z2 Android Development] yigiitkaan:
Waiting camera fixed build
[Xperia Z2 Android Development] rcstar6696:
Yes focus is not good atm we need to wait for new camera blobs from sony but they should be available in the next week

Are you really ask this? Search in the thread how i handle it when a bug is fixed

But before you do away NO ITS NOT FIXED

As i said before when cam fully works and charging is ok i will add d6502

No charging in general is okay but if you unplug it from wall charger System shows that its connected all the time

Its a kernel issue for sure

I will give you a build this weekend

I need to clean up my source and set all camera things to enabled
[Xperia Z2 Android Development] algnerd:
Will force closing the home app (like the Xperia Home, Nova and ...) fix that "Still connected"-thingy?
[Xperia Z2 Android Development] rcstar6696:
No its a kernel bug nothing on system side
[Xperia Z2 Android Development] FellipeSilvaRJ:
If you need some help testing camera when Sony release the new stuff, just send a DM. I praying for Sony release, I will use my Z2 in a school work, I'm the photographer :D
[Xperia Z2 Android Development] bit_creepy:
Ha! How many times have you asked this question now?
[Xperia Z2 Android Development] hanafi2014:
Is it worth the experience?
[Xperia Z2 Android Development] iXaidyiu:
If I were you I would feel it myself.

P's I would recommend you to wait until [MENTION=5621191]rcstar6696[/MENTION] push out a camera fix so the ROM's overall functionality will be of higher performance.
[Xperia Z2 Android Development] Mohaned98:
REALLY awesome work rcstar.. keep it up man, much love <3
[Xperia Z2 Android Development] hanafi2014:
What's the wrong
[Xperia Z2 Android Development] FellipeSilvaRJ:
I've got this problem too when I was using this ROM, but I don't remember how I fix it... Try all steps again, may help you
[Xperia Z2 Android Development] itsnie:
Change your recovery, you can use twrp from mega folder!
[Xperia Z2 Android Development] hanafi2014:
Z2
[Xperia Z2 Android Development] Farooq95:
Is the bootloader unlocked?
[Xperia Z2 Android Development] hanafi2014:
Yup
[Xperia Z2 Android Development] N00b_H:
I get the same error, the recovery is the issue change your recovery.
[Xperia Z2 Android Development] dex87xda:
Can you make CM14 thread?
[Xperia Z2 Android Development] DiogoSilva48:
Noise cancellation earphones will still work on this ROM?
[Xperia Z2 Android Development] FellipeSilvaRJ:
isnt noise cancellation a feature from Sony ROMs? if yes, so you dont have this on AOSP
[Xperia Z2 Android Development] ticktock666:
is there any hope of getting sony to release the needed info/software/data needed to get this to work on a D6502 ?

I've been hoping to ditch the sony stock rom for a while now, but ever since I learned about this limitation, I'm really considering giving up on the Z2, it's a great device, but not being able to install custom roms is a dead end for me.
[Xperia Z2 Android Development] DiogoSilva48:
But can be ported, and i saw someone asking the same earlier and i wanted to know if the ROM already had support for that, right now.
[Xperia Z2 Android Development] iXaidyiu:
Then I can tell you that, no, not at this moment. We'll see if [MENTION=5621191]rcstar6696[/MENTION] would like to implement it inside this AOSP or as an add-on pack.

P's hey, this is after all a vanilla Android ROM, so can you keep it as vanilla as it can?
[Xperia Z2 Android Development] pirlo0021:
Can you fix it?:):)
[Xperia Z2 Android Development] iXaidyiu:
He is on the way fixing it, just use magnetic charging method for now;)
[Xperia Z2 Android Development] Farooq95:
OK then I know what's the problem. It's the recovery, don't use the latest version. Use the recovery provided in the mega folder I think it's 3.0.0.
[Xperia Z2 Android Development] Brandon Nel:
Could anyone please make a YT Video of the Nougat 7.1 ROM in action, or at least post some screenshots? Thanks! :)
[Xperia Z2 Android Development] DiogoSilva48:
There are some screenshots here from 7.0 http://m.imgur.com/a/e0vwB , sended by: [MENTION=7654218]Caitlin550[/MENTION]
[Xperia Z2 Android Development] iXaidyiu:
Here are some, probably the two most important and noticeable.
[Xperia Z2 Android Development] hamzxoxo:
Just wait for some time. The developer will add support for D6502 after the charging and camera issue is fixed.
[Xperia Z2 Android Development] rcstar6696:
Charging issue is fixed

Next big progress

Charging bug is fixed and this means we have a full working device

Camera is still buggy but when it works it works nice
[Xperia Z2 Android Development] Mohaned98:
You're awesome :p gl with fixing the camera
[Xperia Z2 Android Development] Farooq95:
Bye bye stock Sony ROMs.
[Xperia Z2 Android Development] paulwollf:
Well if echo gets fixed then truly bye bye
[Xperia Z2 Android Development] DiogoSilva48:
Don't forget to update first post, thanks :)
[Xperia Z2 Android Development] RyTekk:
Does NFC work :laugh:, you make me to wanna buy another Z2.
[Xperia Z2 Android Development] rcstar6696:
okay thats the unfixable bug
[Xperia Z2 Android Development] MelihCaliskan:
Is there any estimated time for update with working cam?
[Xperia Z2 Android Development] rcstar6696:
i think on tuesday
[Xperia Z2 Android Development] itsnie:
Why unfixable? I just want to know the reason lol because i never use nfc :D
[Xperia Z2 Android Development] rcstar6696:
its a i2c issue and my codeing skills are not enough to rewrite i2c driver completly
[Xperia Z2 Android Development] MelihCaliskan:
Thank you for your effort, what about photo quality?
[Xperia Z2 Android Development] hanafi2014:
Now on stock 23.5.A.1.291

Root

And coustm recovery twrp 3.0.2_0

Stock_kernal

Question is

How can install this rom

And recovery install it and how install it

Twrp 3.0.0._0

Sorry my English bad
[Xperia Z2 Android Development] :
http://developer.sonymobile.com/ope...a-devices/#build-experimental-aosp-nougat-7-1

from 3 hours ago, just letting you guys know
[Xperia Z2 Android Development] rcstar6696:
NFC is fixed too

I fixed NFC too :D

its a quite full working device now
[Xperia Z2 Android Development] itsnie:
Unbelievable :fingers-crossed: .. I can't wait for new build :D
[Xperia Z2 Android Development] DiogoSilva48:
My device is with the bootloader locked, but i really want to try this ROM, just waiting for the feedback of the next update xp
[Xperia Z2 Android Development] rcstar6696:
Haha yeah two big issues solved on one day :)
[Xperia Z2 Android Development] DiogoSilva48:
I heard something about echo in calls, but beside that they work properly, right ?
[Xperia Z2 Android Development] rcstar6696:
but nfc needs a workaround i have no idea why but if you enable nfc you need to olug it to pc once after unpluging it it works now and does not hung in loop
[Xperia Z2 Android Development] itsnie:
Log may help you, btw i have bad gaming experience, to many lags! Is that because no vulkan api support?
[Xperia Z2 Android Development] number28:
A lot of thanks. Now we only need that Gravity Box (and Xposed of course) works on Android 7.X.
[Xperia Z2 Android Development] iXaidyiu:
There are 2 SDK levels for Gravity Box to follow up :p
[Xperia Z2 Android Development] epeace:
Great work on this thanks! Hey I am having trouble rooting, is there a trick to it? I install SuperSU 2.78 via twrp 3.02 and when I boot in, SuperSU is not installed and no root achieved. I feel like I'm missing something?
[Xperia Z2 Android Development] iXaidyiu:
Install SuperSU app from Play Store.
[Xperia Z2 Android Development] hanafi2014:
What's wrong

Not work

vibrator only

And forced

Install stock rom
[Xperia Z2 Android Development] iXaidyiu:
The logs from TWRP seems fine.
[Xperia Z2 Android Development] hanafi2014:
How can this correction

What is the right way
[Xperia Z2 Android Development] iXaidyiu:
Use TWRP v3.0.2 instead. v2.8.7.0 is no longer supported by Android 6.0+.
[Xperia Z2 Android Development] filjusz:
When i finally decided to install stock marshmallow, rcstar fixed most annoying bugs (charging and nfc) so for me only echo in calls should be fixed and rom would be ready for daily use.

Bad luck brian....
[Xperia Z2 Android Development] paulwollf:
No! Use twrp 3.0.0 from rcstars mega folder. The newest recovery from twrp's site will give you an error as well
[Xperia Z2 Android Development] iXaidyiu:
I used that on twrp.me and it get along well...
[Xperia Z2 Android Development] bit_creepy:
What are the chances of getting Snapdragon camera to work with this ROM?
[Xperia Z2 Android Development] hanafi2014:
Sorry to use this release. The same problem

---------- Post added at 09:55 AM ---------- Previous post was at 09:54 AM ----------

Thank you and I wish to clarify the installation of Recovery

TWRP 3.0.0-0
[Xperia Z2 Android Development] epeace:
Hi again [MENTION=6891123]iXaidyiu[/MENTION]! I had tried installing SuperSU from app store and it just gives the error that it needs root and cannot continue. The strange thing is that I noticed this distribution installs TWRP 2.8.7 so I flashed boot and recovery again with latest TWRP 3.0.2. Neither seemed to get SuperSU installed though. By the time I log in it has been uninstalled somehow.

[MENTION=5664230]paulwollf[/MENTION] Thanks, I will try to find this TWRP 3.0.0 and see if that has any better results, although with the other TWRP versions there were no errors (at least in recovery mode). Just no root once you get into the system ROM.

UPDATE: I just discovered that TWRP v2.8.7 and* 3.0.2 are both installed on my device simultaneously. There are two LED prompts on boot, and depending on which one I hold vol- on determines which TWRP I boot into. And this is after* I flashed 3.0.0 (dl'ed from the TWRP site) twice from fastboot! wth?!?! Shouldn't only be 3.0.0 after a fastboot flash command??
[Xperia Z2 Android Development] iXaidyiu:
I have had the same issue with you after I have realized your problem, however I needed to use my camera and since [MENTION=5621191]rcstar6696[/MENTION] havent has the time to release his build for fixing those camera and nfc bugs, I now have rolled back to stock .291 and wait for the build to be pushed out. For me it was partially the same as you but I remembered I once solved this by indefinitely rebooting my device and until once it got working finally. And from that time on no matter how I reboot my phone the root privilege is presented all along.
[Xperia Z2 Android Development] epeace:
I actually just solved my root problem on this build. I downloaded this version of SuperSU (v2.52) from chainfire's site. And that did the trick! I still have 2 TWRPS installed somehow but whatevs, I'm fully functional now. btw, iX I have a functioning camera? What's the problem you're seeing with that?
[Xperia Z2 Android Development] iXaidyiu:
The camera is half green and it cannot be used in the past!!! How can you bring it to work, [MENTION=5621191]rcstar6696[/MENTION] said he has fixed the camera but since then I havent seen any new build pushed on MEGA or any announcement here...
[Xperia Z2 Android Development] epeace:
I guess the latest build has fixed the camera, it was one of the first things I tried after installing, and it worked as expected, no issues or glitches. I mean, I didn't go on a all day photo trek, but I snapped a shot and it looked fine :)
[Xperia Z2 Android Development] iXaidyiu:
You downloaded which one from where?

Build 202161021 on MEGA?
[Xperia Z2 Android Development] epeace:
from the OP in the attachments
[Xperia Z2 Android Development] iXaidyiu:
I cannot find any attachments...:crying:
[Xperia Z2 Android Development] rcstar6696:
i have not released a build with working camera

i will build today and test it and tommorrow you will get it
[Xperia Z2 Android Development] rcstar6696:
ignore it its a commando which is not implimenated on twrp

but build flash is succesfull you only had to reboot the device
[Xperia Z2 Android Development] iXaidyiu:
So good to hear from you bro:victory:
[Xperia Z2 Android Development] itsnie:
Your model number may d6502 right? 3.10 kernel for now only support d6503! [MENTION=4969498]MHN.1515[/MENTION]
[Xperia Z2 Android Development] hanafi2014:
Yes my model d6503 and kernel 3.4

---------- Post added at 08:17 PM ---------- Previous post was at 07:49 PM ----------

Please refer to everything completed except for this picture Then restart the works I feel just as vibrators
[Xperia Z2 Android Development] Mohaned98:
Big day tomorrow :p
[Xperia Z2 Android Development] xerxes101:
Is 7.1 stable now plsss
[Xperia Z2 Android Development] Farooq95:
Yes today it will, except for echo bug during calls but you can use headphones or ear piece as a work around.
[Xperia Z2 Android Development] hungxman100:
Revolutionary is here and today boiz !!!!
[Xperia Z2 Android Development] rcstar6696:
yes device is very stable but camera does not start everytime

this is a general nougat problem nothing from our side

if the cam does not start, reboot sometimes and it will work

don't blame me blame Google

btw i started uploading atm
[Xperia Z2 Android Development] rcstar6696:
really it works with headphones?? then i have an idea :)
[Xperia Z2 Android Development] pixel0:
I have few questions to ask :

Nfc with workaround or without?

Charging and battery drain stable?

Webview patch for rom?

Gapps stability?

Camera fix possible in next updates?
[Xperia Z2 Android Development] rcstar6696:
Nfc without workaround

Chargeing is quite good

Drain is ok if you not use Bluetooth (currently prevets it before deep sleep)

No webview patch

Gapps working without issues

We are working on it since some weeks so don't except to much and as you read its not a rom bug its general bug in Android 7
[Xperia Z2 Android Development] hanafi2014:
Thank God after revisions were installed Nougat

7.1

I will put my impression after using the Day

How root

And how go to recovery

Thanks:highfive:
[Xperia Z2 Android Development] xerxes101:
Nice..thanks
[Xperia Z2 Android Development] paulwollf:
May you please collect all changelogs in the 2nd Post as you did IT with marshmallow?

Thx
[Xperia Z2 Android Development] pixel0:
Thanks [MENTION=5621191]rcstar6696[/MENTION]

We have fully working 7.1 aosp now except for camera for now.

I want to know if

I want to revert to stock then how it can be done.

Do I have to use emma for it?

Or flashtool can work.
[Xperia Z2 Android Development] rcstar6696:
If you unlock your bootloader always uses emma
[Xperia Z2 Android Development] rcstar6696:
Yes i will update it but i will start new from now and set it from beta to rc
[Xperia Z2 Android Development] rcstar6696:
Build is up

Changelog:

- camera fix (half green is gone)

- nfc is fixed

- update interactive gov

- fix charging bug

- unify sound Implementation

- rework panel Implementation

Bluetooth has some issues device will not go into deep sleep when it was enabled

Disable it and reboot deep sleep will come back
[Xperia Z2 Android Development] iXaidyiu:
In case you forgot, please edit OP:p
[Xperia Z2 Android Development] rcstar6696:
Currently at university later i will do
[Xperia Z2 Android Development] akshay2shah:
What if i have recovery already ?

Do i need to follow step 1 and 2 ?
[Xperia Z2 Android Development] rcstar6696:
Don't use recovery if its based on stockkernel

if not you can skip recovery installation
[Xperia Z2 Android Development] akshay2shah:
Means i have to flash these anyway

1. Boot.img and

2. recovery( if i want it)
[Xperia Z2 Android Development] pixel0:
Deleted
[Xperia Z2 Android Development] xerxes101:
Can i install on locked bootloader
[Xperia Z2 Android Development] pixel0:
Unlock bootloader first then

Install recovery
[Xperia Z2 Android Development] Rajeev:
No . U can't..

Simply root ur device. Then take ur TA backup. Then Unlock Bootloader. Enjoy AOSP
[Xperia Z2 Android Development] reknew:
I come across an error "E1001: Failed to update system image."

why?... file MD5: 67884A85829A04D1DA4CA38BB9F39D19
[Xperia Z2 Android Development] maskedvigilante:
Can I install in twrp 3.0.2 ?
[Xperia Z2 Android Development] DiogoSilva48:
Backing up and restoring TA Partition really relocks the bootloader again?
[Xperia Z2 Android Development] xerxes101:
Ok unlok bootloader using flashtool finished ..and please can u give exact link file..thanks..im browsing from mobile and little..confuse