yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] Mohaned98:
Yes because it's an AOSP rom.. nexus-like experience

If you want to root it you can follow the instructions provided
[Xperia Z2 Android Development] plagu:
just updated to v16 still echoing in opponent end.
[Xperia Z2 Android Development] rcstar6696:
I build all bootimgs inline and i saw you use the android-7.1 branch switch to android-7.1-test its the one i use for releases atm :)

Thx for the note will do it :) if you are interestet in helping in open device pm me
[Xperia Z2 Android Development] m1st3r1:
hello. is there any love left for AOSP? :D

if not, i've searched about dirty flash from aosp to purenexus, and someone said it's ok, but im not sure, did anyone try it?

i use adoptable storage in aosp, if it can i really like to avoid dirty flash.

thanks.
[Xperia Z2 Android Development] 658speeder:
what steps exactly do I need to take if i'm currently on abricot 8.1 kernel and existenz MM 5.6.5? I'm kinda new to all this fastboot stuff so dont kill me just explain first :D
[Xperia Z2 Android Development] bustr85:
Sorry for slight offtopic. I have a z2 6503 that says bootloader is locked and its not allowed to unlock. Any way of forcing this so I can get aosp installed?
[Xperia Z2 Android Development] iXaidyiu:
If your phone is carrier branded, there could probably no way for you to unlock it. However, without an unlocked bootloader, this ROM (ALL non-stock-based) cannot be installed.

---------- Post added at 12:19 AM ---------- Previous post was at 12:18 AM ----------

Follow OP, instructions clearly written. You have to do a clean installation.

---------- Post added at 12:21 AM ---------- Previous post was at 12:19 AM ----------

Yes, you can dirty flash PureNexus over AOSP, but adaptable storage is known to have issues with TWRP, I would recommend you to revert it back to portable storage then upgrade to PN then adopt it again.
[Xperia Z2 Android Development] DiogoSilva48:
Just flashed the new build, I love the new navigation bar with the pixel animation and the data bug seems to be solved. Thanks a lot, I am loving using this ROM, it's great.
[Xperia Z2 Android Development] DiogoSilva48:
I think that must be some NFC bug.
[Xperia Z2 Android Development] akshay2shah:
[MENTION=7291156]DiogoSilva48[/MENTION]

No NFC bugs !

Please test for day or two.

Make clean install.
[Xperia Z2 Android Development] mimo.aridi:
Can u provide us the link of latest PN rom other than mega link.(if available please).
[Xperia Z2 Android Development] iXaidyiu:
The latest builds are to be uploaded to the MEGA folder once it finished building. However, they should have some closed alpha builds that could be very unstable therefore not open to the public.
[Xperia Z2 Android Development] akshay2shah:
New build has been released.

Its in Mega folder in OP (no rocket science)

purenexus_sirius-7.1.1-20170228-HOMEMADE-Rcstar6696.zip

https://mega.nz/#!PIQ2HJAQ!NuPTWDtop_JSq7UQeNtuuCkWv4WoYfbM-sntb_DOHdg
[Xperia Z2 Android Development] hamzxoxo:
Does 7.1 still take a lot of time to charge or it has been fixed?
[Xperia Z2 Android Development] base.injector:
Noice!. I will download it when I back home [emoji106]

أرسلت من D6503 بإستخدام Taptalk
[Xperia Z2 Android Development] Thieuke:
Downloading now, will do dirty flash, will get back to you on here with findings.

---------- Post added at 07:53 AM ---------- Previous post was at 07:27 AM ----------

Dirty flash went perfect. first time boot took longer (off course), did wipe cashe and Dalvik, but that's it.
[Xperia Z2 Android Development] fezzawinkle:
Thanks. Looking forward to the change log too !
[Xperia Z2 Android Development] djgigi94:
Changelog? I try to install and i hope to don't have anymore gapps reboots bug :rolleyes:
[Xperia Z2 Android Development] akshay2shah:
Added in OP.

Gapps reboot is your personal problem.

We dont have such any.

If every user had faced same issue then we could have called it as bug.

Dont call it bug !
[Xperia Z2 Android Development] DiogoSilva48:
I made a clean install but Everytime I try to activate NFC this happens.
[Xperia Z2 Android Development] akshay2shah:
I got it buddy.

Bug report should be consist of model number and atleast logcat.

We dont have such issue so cant reproduce it.
[Xperia Z2 Android Development] Mohaned98:
Does the latest build have the latest adreno driver or should i flash it?
[Xperia Z2 Android Development] DiogoSilva48:
Sorry for bothering again, but I was trying to get logcat from adb but I connect my phone to my PC and it's not recognized. It can be recognized on TWRP.

Edit: restarted and it's recognized, I don't know what is happening.
[Xperia Z2 Android Development] akshay2shah:
Adreno v145 drivers are not compatible with this rom.. Apps FC while using this.

This rom has v127 from sony blobs & google.

V145 are for developers use only.

V127 has better performance than v140 (from stock 6.0)

you are free to use any (just dont report any bug here if u use other than v127)

Recommendations is stick with v127.

Other XDA threads will help u for that. ?

Next time report bug with logcat.(Will save time of everyone)
[Xperia Z2 Android Development] DiogoSilva48:
Sorry about that, I am a newbie at this, next time I will send you the logcat when reporting the bug.

Here it is https://drive.google.com/open?id=0BwHQpHCE9A0YSVAzLVpvWEVVeVE , I couldn't get it attached on XDA. My Z2 is a D6503 Portuguese, sorry for wasting your time.
[Xperia Z2 Android Development] djgigi94:
I know sorry i don't explain better. It's a my problem and i hope it is fixed with install of new version. I don't know what is the cause
[Xperia Z2 Android Development] iXaidyiu:
Install Gapps package as minimal as possible so as to eliminate possible conflicts.
[Xperia Z2 Android Development] klengjaua:
is DRM Fix included?
[Xperia Z2 Android Development] djgigi94:
I try pico. Only one time it worked without launcher
[Xperia Z2 Android Development] iXaidyiu:
Try micro or mini.
[Xperia Z2 Android Development] raminta:
i have exacly same problem with gapps(micro and stock) the micro version worked fine once but not after that

in twrp it just say "installing core apps" and it just hangs and reboots the phone and non of gapps were installed
[Xperia Z2 Android Development] djgigi94:
Always reboot. New version too .

---------- Post added at 04:01 PM ---------- Previous post was at 03:37 PM ----------

I have same problem!!! Or core gapps, or when it install some apps after core gapps. I'm not alone :highfive:
[Xperia Z2 Android Development] LongLuu:
after install gapp pico then install pixel launcher with the zip file via twrp
[Xperia Z2 Android Development] base.injector:
Well. Thats weird. I installed full arm gapps. No problems.. By the way. Don't use stock gapps as the description says: replaces all apps with google apps
[Xperia Z2 Android Development] djgigi94:
But pico gapps don't work anymore :( I think the same too but too late

---------- Post added at 05:20 PM ---------- Previous post was at 04:45 PM ----------

Same with full gapps too. I try today the latest too
[Xperia Z2 Android Development] mysubcult:
bluetooth still not working well on latest pure nexus?
[Xperia Z2 Android Development] rcstar6696:
In theory it should work better but not sure if all is fixed
[Xperia Z2 Android Development] mysubcult:
In previus build someone posted that he's got problems with connecting bluetooth bracer.
[Xperia Z2 Android Development] raminta:
It works good a have tested it
[Xperia Z2 Android Development] Ahmed tarek3912:
Is there gonna be. A carbon nightly today to repair sound and Bluetooth or should I download the pure nexus one
[Xperia Z2 Android Development] Mohaned98:
I have a little issue.. When I plug my device in to the computer or the charger, nothing happens.. just nothing.. No errors, nothing

any help? thanks in advance
[Xperia Z2 Android Development] raminta:
You should choose an option for transferring files the option is on battery charging by default

Pull down the notification drawer and choose the last one(i don't remember the name)
[Xperia Z2 Android Development] Mohaned98:
what i meant was when i connect the phone to anything, even the charger, it wouldn't read..

a restart fixed that though, thanks for help
[Xperia Z2 Android Development] dikme:
Ty for your hard work this rom makes me love my phone again ?
[Xperia Z2 Android Development] magic man 12:
which I can download from Mega as it includes (carbon..experimental..lineage..nougat..marshmallow..purenexus..recovery) ...

Iam using mega app for download.

Which file contains Rom(aosp_d6503-20161031-7.1-n.zip
[Xperia Z2 Android Development] d1021979:
flash boot and recovery

position now on stock 291, rooted, twrp 3.0.2.0, UB..... d6503 device

downloaded PureN 711-20170228, extracted.

i tried to do this step:

3. Flash the Boot from ROM via fastboot (fastboot flash boot pathTo/boot.img)

4. Flash TWRP Recovery 3.0.0-0 via fastboot too (fastboot flash recovery pathTo/recovery.img)

- When i tried step 3, after reboot, always stuck on sony logo.

- For step 4, no matter what, always back on version 3.0.2.0

Help me, please. Thank You.
[Xperia Z2 Android Development] LongLuu:
you should try install gapps with the apk files
[Xperia Z2 Android Development] :
Just me or is video playback on social media apps (Facebook, Instagram, Youtube, etc.) not working? Youtube audio works but video is just black. Other apps just freeze/don't play when I try to play a video. Running the PureNexus 2-28 build.
[Xperia Z2 Android Development] iXaidyiu:
Can you play such videos on social media using a browser (eg Chrome)?
[Xperia Z2 Android Development] base.injector:
I didnt tested fb. But youtube works fine. And yes there was problem playing video on instagram at the previous builds but for this build i didnt tested
[Xperia Z2 Android Development] :
Videos on chrome work fine.
[Xperia Z2 Android Development] base.injector:
What gapps you've installed? Full?

Is the android webview activated or chrome webview ?
[Xperia Z2 Android Development] :
Mini Gapps installed. Android system webview is deactivated and cannot be re-activated, so I'm assuming that chrome webview is activated.
[Xperia Z2 Android Development] akshay2shah:
Download from Pure nexus folder.

Date 20170228

When Sony logo comes keep pressing volume button up to enter in recovery and install ROM, gapps.

From chrome browser (audio+ video)

From social media apps FB, insta, YouTube(video+audio)

That's why op recommended to install Full version of gapps. It replaces AOSP webview.

But people will never listen. They follow their own genius mind.
[Xperia Z2 Android Development] base.injector:
Try reflashing the rom and flash full gapps

---------- Post added at 06:51 AM ---------- Previous post was at 06:48 AM ----------

Ikr :good:
[Xperia Z2 Android Development] djgigi94:
With single apks? Like Google play services apk, play store apk ecc.? But why in my z2 i do this in other z2 no?
[Xperia Z2 Android Development] LongLuu:
i dont know, i have never met such error. the solution is manually install Google Play Store, Google Package Installer, Google Play services... to try :D
[Xperia Z2 Android Development] mysubcult:
Guys, how to disable notification in notification bar that app is running? Nut i dont need to block all notifications from that app, only the notifacation about the app is running, This is system notification, not from app.
[Xperia Z2 Android Development] dikme:
everything work fine Facebook Instagram Youtube :good:
[Xperia Z2 Android Development] mysubcult:
Cheked now by myself. Bluetooth still working bad.
[Xperia Z2 Android Development] tset351:
Pure Nexus is by far the best rom which revived my Xperia Z2. Thank you so much for making this happen! Only the camera issue is still there but I can live with that.
[Xperia Z2 Android Development] tom.smith:
Is there a chance of having f2fs support? As twrp isn't showing the option I assume it's not supported at the moment...?

As I'm running Carbon I have to kindly ask for a new build... Checking the download link nearly every hour ??
[Xperia Z2 Android Development] Austin.gonzo:
The next build would likely to be up 7th or 16th
[Xperia Z2 Android Development] tom.smith:
Does that mean that there are no weekly builds for Carbon ROM anymore?
[Xperia Z2 Android Development] iXaidyiu:
7th March or 16th March.

Average WEEKLY/2 weeks.
[Xperia Z2 Android Development] tom.smith:
Last 'working' build was Feb. 16th.

Build Feb 22nd wasn't usable with sound bug. As bugs are fixed I hoped for a build such as Pure Nexus got... Pure Nexus seems to be better option...
[Xperia Z2 Android Development] magic man 12:
QUOTE

Download from Pure nexus folder.

Date 20170228

Thanks, but I tried downloading pure nexus 20170228

And while flashing Rom appears error "this Rom is for sirious devices" and installation failed.....
[Xperia Z2 Android Development] raminta:
Please use the provided recovery

Or delete the line that check phone on updater script file(it discussed on 1or2or3 last page)
[Xperia Z2 Android Development] base.injector:
What changes did you made? Cuz I'm on the latest pn and there is a low echo. I don't know maybe it's becuz of this mod?

https://xdaforums.com/crossdevice-dev/sony/mod-sonysoundenhancementviperaudio-t3517779

So what did you changed in your build.prop so i can do it manually. Too lazy to check every line. ?
[Xperia Z2 Android Development] akshay2shah:
Make clean install.

I have absolutely zero echo.

Tested literally many many times.
[Xperia Z2 Android Development] base.injector:
Well. I will clean install again!!. But is it necessary to use LTE instead of 3g? Cuz our lte signal is not good here
[Xperia Z2 Android Development] DiogoSilva48:
Did you had time to see the logcat I sent you about the NFC bug ?
[Xperia Z2 Android Development] TheMatroid:
Is this rom stable for daily use?

And is there any way to port the Sony Android N rom from Xperia Z3+?

Thanks.
[Xperia Z2 Android Development] iXaidyiu:
Welcome to XDA!!!

Z3+ has official Android N firmware support. And yes, this ROM is suitable for daily use, but do expect some defect in camera.

//Read through the later pages of this thread to know more about the issue you may face when using this ROM.

//Btw, here is the Xperia Z3+/Z4 forum on xda, you may want to check it out for the ROMs and requests you are looking for.
[Xperia Z2 Android Development] TheMatroid:
Thank you! :)

But i mean port the official Android N Rom from Z3+ to Z2...
[Xperia Z2 Android Development] iXaidyiu:
Oh... Sorry I got it wrong.

Yes, that should be possible but still it has to be based on AOSP, which all the ROMs introduced within this thread are commonly based on. However, there are still lot of AOSP bugs and glitches that make these ROM relatively unstable from stock. So the devs have to eliminate the AOSP (primary) bugs first before moving on to port a stock based ROM to AOSP based and face some new (secondary) bugs.
[Xperia Z2 Android Development] magic man 12:
This means that there is no hope to get android N for my Z2 D6503??
[Xperia Z2 Android Development] iXaidyiu:
No! What you need to do is just flash the TWRP as provided in the OP to your device using the command:

fastboot flash recovery <name_of_recovery>.img

And then you can flash the ROM onto your phone without the error you previously encountered.
[Xperia Z2 Android Development] Austin.gonzo:
I don't think it's possible because z3+ is 64 bit and z2 is 32 bit
[Xperia Z2 Android Development] iXaidyiu:
Yes, you are right but...

We could somehow recreate the features by making an overlay.
[Xperia Z2 Android Development] dikme:
hey did anyone know good sound mod work fine with pure nexus ?
[Xperia Z2 Android Development] iXaidyiu:
Project Meli.
[Xperia Z2 Android Development] base.injector:
This one works fine? It doesn't restore call echo bug again?
[Xperia Z2 Android Development] iXaidyiu:
No evidence show it will, if there are problems, roll back to older versions.

//Off-Topic
[Xperia Z2 Android Development] base.injector:
I'm gonna clean install pn. And try this one. Cuz i tried another mod. But when i received a call from my father he said he can hear him self. Trying > reporting
[Xperia Z2 Android Development] base.injector:
Yes. There is no echo after testing meli project.

BUT THERE WILL BE ECHO IF YOU USED THIS MOD

https://xdaforums.com/crossdevice-dev/sony/mod-sonysoundenhancementviperaudio-t3517779

DONT USE IT
[Xperia Z2 Android Development] TheMatroid:
Help!

After flash boot.img and recovery the phone boot, vibrates and show purple light for recovery but nothing happens.

Can anyone help me?

Thanks
[Xperia Z2 Android Development] akshay2shah:
I have asked [MENTION=5621191]rcstar6696[/MENTION] to have a look.

Currently he is busy with university.

He will look in after he gets time.

And u blame us for still having echo !
[Xperia Z2 Android Development] base.injector:
Nope. I have asked for changes at build.prop :D
[Xperia Z2 Android Development] akshay2shah:
Changes already included in latest build.

Things dont work like (you keep messing up with rom then ask for solution which is already included)
[Xperia Z2 Android Development] base.injector:
First force your device to shutdown by peressing and holding a small button you can see it its near to sim card. After that go to pc and reflash via fastboot.

Fastboot flash boot boot.img

Use the extracted boot.img from the latest pn rom.

And download twrp in mega folder and put it in same file where boot.img is. And type

Fastboot flash recovery < name of recovery >

Without <>

And type fastboot reboot

After that press vulome up . i hope it works

---------- Post added at 07:24 PM ---------- Previous post was at 07:21 PM ----------

Well. Ma bad i guss :p
[Xperia Z2 Android Development] DiogoSilva48:
OK, thanks a lot for helping me with it.

Can you please answer this question? How can Nexus 5 use 3.4 kernel on AOSP and z2 don't?
[Xperia Z2 Android Development] churchner420:
After the latest purenexus update from 22nd of February: camera is still not working but I know that you are working at it so do not hurry. The charging issue is not fixed. Every time I unplug the phone after offline charging it boots into system instead of just switching off the charging animation. After installing (clean install) the ROM and flashing the stock Google package the Google camera crashes instead of showing the blurred screen you are discribing.
[Xperia Z2 Android Development] magic man 12:
Thanks for your kind I tried do that and boot the boot file by command in fast boot mode but phone stoped on Sony Logo and didnt start... I repaird it by official firmware but I want android N
[Xperia Z2 Android Development] mimo.aridi:
Can u go into twrp? If not repeat all steps in OP.

Go fastboot and erase boot and erase recovery then stary from scratsh

Flash boot.img then recovery 3.0.0img then go to twrp and flash latest purenexus and full gapps and super su if u want.

Ps: be sure ur bootloader is unlocked.
[Xperia Z2 Android Development] magic man 12:
Thanks my dear... Bootloader unlocked... I tried to go into twrp

after boot the boot.img file of pure nexus, phone didn't respond .. I will try again as you explained But I don't know how to erase boot and recovery??.. This is first.. Second is the pure nexus file I downloaded "purenexus_sirius-7.1.1-20170228-HOMEMADE-Rcstar6696.zip" the true file for Z2 D6503??
[Xperia Z2 Android Development] mariocaraujo:
Hey guys.

I flashed the boot.img from purenexus_sirius-7.1.1-20170228-HOMEMADE-Rcstar6696.zip

And also flashed twrp 3.2.0

Recovery is working ok. But when I try to install pure nexus, it gives the error:

"Failed to mount /dev/block/bootdevice/by-name/system at /system: no such file or directory"

Anyone can help? Thanks!
[Xperia Z2 Android Development] base.injector:
My friend. You need to flash twrp 3.0.0 its provided in mega folder. Do not use any other twrp for this rom
[Xperia Z2 Android Development] -Andi-:
Just try twrp 3.0.0-0

I performed a fresh install without any problems. First flash boot.img then recovery.img via fastboot.

Boot into recovery and full wipe.

I installed pure nexus 20170228 and full arm 7.1 gapps.

Everything is working fine.

Gesendet von meinem Xperia Z2 mit Tapatalk
[Xperia Z2 Android Development] mariocaraujo:
Thanks a lot, didn´t see it was a custom link to TWRP.

Flashed ok now, gonna test a little.
[Xperia Z2 Android Development] magic man 12:
Thanks I Did it and installed N 7.1 but it tkes more about 30 minutes and phone didn't restart tell now there are points moving on screen is that is normal or how can I fix that??
[Xperia Z2 Android Development] iXaidyiu:
What have you flashed in TWRP?
[Xperia Z2 Android Development] magic man 12:
I flashed boot.img file in fastboot mode and recovery 3.00 open twrp, wipe del,cashe,data...

install pure nexus 7.1 then gapps and pixel style and reboot the phone restart and the image in attachment appeared as moving couloured points.. Is there is amistake I encouterd or what can I do for this??
[Xperia Z2 Android Development] iXaidyiu:
Why why why Pixel style...#facepalm

This MOD has stopped working since 20161031 build!!!
[Xperia Z2 Android Development] magic man 12:
Sorry ... I will repeat it without pixel style.. But you see only install pixel style is responsible for apearing this screen??!

Special thanks for your kind
[Xperia Z2 Android Development] iXaidyiu:
Other seems no problem.

//Please use thanks button to give thanks.
[Xperia Z2 Android Development] mimo.aridi:
No. First boot gets stuck with me always just reboot. Hold on power button till ur phone goes off and power on. It'll work.
[Xperia Z2 Android Development] :
Do we have any information about what's the most installed rom? Pure nexus vs Carbon rom vs AOSP, I can write up the differences between them if there is the demand for it, also, for Z2 D6503 can anyone confirm that it is daily driver stable with their experiences with it, good and bad.
[Xperia Z2 Android Development] rcstar6696:
I like these guys asking for eta and report bugs over bugs and bugs but no one can see them on their own device :eek::eek::eek: Echo has improved extremly so when you want a device which works out of box buy pixel or install stock
[Xperia Z2 Android Development] akshay2shah:
Read just above your comment.

Solution already given & still u giving wrong info.

Dont mislead.

Your first boot always reboot cause u install SuperSU & that cause it.

Echo is completely gone in latest build.

I have told many many times to these people.

1. Read OP, Read OP , Read the DAMN OP.

2. Search before posting

3. Dont spam like its your (hangout or WhatsApp chat)

4. Use PM

And Why dont these guys understand ?

Literally clearly written in OP to Install FULL version of GAPPS.

Here is Video From XDA-DEVEOPERS to people who don't follow forum rules !

https://www.youtube.com/shared?ci=dG98h3Uc76s

Henceforth I will report to only genuine Questions ! Not gonna waste time here reading same irrelevant questions again and again.

Regards.
[Xperia Z2 Android Development] DiogoSilva48:
Deleted
[Xperia Z2 Android Development] Thieuke:
Can you explain why you insist installing full gapps? I did install micro and all works fine. I use nova launcher by the way, which works great as well.

By the way

Other then known camera bugs I haven't found any other bug. So if you (whomever reads this) have a bug, it's in your device, not in ROM.

Verstuurd vanaf mijn Xperia Z2 met Tapatalk
[Xperia Z2 Android Development] Austin.gonzo:
Because of full Gapps has stock (Google) WebView (read the posts about it), has the launcher and you'll Know that you're doing everything right as it's written in the OP,

Let me add for those who use nano or micro Gapps, in the flashtools app (PC) you can install launcher from there or just boot in recovery mode and install it from there if you already got a launcher in your SD card or Internal Storage. If you don't then just install one of below links or both :D

Nova launcher download link from apkmirror : http://www.apkmirror.com/apk/teslacoil-software/nova-launcher/

Pixel Launcher download link from apkmirror :

http://www.apkmirror.com/apk/google...-launcher-7-1-1-3368800-android-apk-download/
[Xperia Z2 Android Development] twistedddx:
And you can get chrome from play store to replace webview.