yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] fezzawinkle:
If the answer is yes, why do I need to do more research?

If you are saying this has been answered before, I could not find it.
[Xperia Z2 Android Development] LongLuu:
search before asking and ask the problem has not been mentioned to thread less dilution
[Xperia Z2 Android Development] akshay2shah:
I have fixed Call ECHO on Z2 AOSP 7.1.1

Just add these 2 line in build.prop

ro.qc.sdk.audio.fluencetype=fluence

persist.audio.fluence.mode=fluence

Volaaaaa !

Echo is completely gone !
[Xperia Z2 Android Development] DiogoSilva48:
Thanks, you solved the only bug holding me back. ???
[Xperia Z2 Android Development] paulwollf:
Can you Change in call volume as well after the fix?
[Xperia Z2 Android Development] iXaidyiu:
One down, one left?.

And that's one is called camera.
[Xperia Z2 Android Development] akshay2shah:
I need confirmation guys if it works for u. If it doesn't work then please share build prop here

Edit : Updated post #3352
[Xperia Z2 Android Development] rcstar6696:
I can confirm it works :) very brilliant job

We only need to test them one by one which one is the correctly solve
[Xperia Z2 Android Development] Farooq95:
Is the latest purenexus build good to flash? And should I add those lines to build prop to fix mic /reboot issues or are they already present in the latest build?
[Xperia Z2 Android Development] rcstar6696:
Yes
[Xperia Z2 Android Development] tzaneff:
For me probably the fix of echo is not working..., just now a friend told me that he is hear his own voice.., last purenexus. My opinion is - the fix is more needed than camera /of course camera also is need, but this is phone first/. Cheers.
[Xperia Z2 Android Development] akshay2shah:
Post #3352 updated.

Issue resolved !
[Xperia Z2 Android Development] Austin.gonzo:
Feb 16th build of Carbon rom is up, please test and give feedback

https://basketbuild.com/uploads/dev...ON-CR-5.1-MOO-WEEKLY-sirius-20170216-0552.zip

---------- Post added at 09:45 AM ---------- Previous post was at 09:37 AM ----------

[MENTION=6891123]iXaidyiu[/MENTION] I told you z2 uses both speakers when you are on the phone and that it should be turned off, ? anyway

I'm happy that [MENTION=7333858]akshay2shah[/MENTION] fixed it, you made nougat get more z2 users because in my opinion that was the only reason what hold most z2 users back from using nougat on their phone, one bug down, one to go and we'll have a stable nougat build, cheers
[Xperia Z2 Android Development] fezzawinkle:
I don't think you read my response nor does that make any sense
[Xperia Z2 Android Development] DiogoSilva48:
I hope Alin is almost finishing the new blobs.
[Xperia Z2 Android Development] Hariskh:
HI am I the only one experiencing this issue on 14th February purenexus?after I put it on charge after a while the light on top of the phone turns off but when I turn on the screen the battery icon on statusbar is still showing charging but in battery stats it says not charging and also in ampere and it does not charge unless I turn the phone off.in the 27th January it didn't detect any USB including the charger after ejecting a hard-drive or otg so I had to reboot.

Is this fixed?
[Xperia Z2 Android Development] akshay2shah:
Issue will be fixed in next build.

Already reported to [MENTION=5621191]rcstar6696[/MENTION]

Regarding ECHO see post #3352
[Xperia Z2 Android Development] Hariskh:
so the device will not charge until turned off?
[MENTION=7333858]akshay2shah[/MENTION]
[Xperia Z2 Android Development] fezzawinkle:
Yes, me too.
[Xperia Z2 Android Development] Hariskh:
call echo and reboot were the only things keeping me away from purenexus and now the charging bug. will wait more until this gets fixed too.

thanks for the rom [MENTION=5621191]rcstar6696[/MENTION]
[Xperia Z2 Android Development] chriskhany:
On the latest build it does but it would be annoying stopping and starting over and over (if turned on)and it's the same old bug there are many reviews over it.as the master said a mistake.nothing special.either use the 27th January.or do the simple fix but if it gets too hot you'd get random reboots.(the battery protection would be particularly off.)(note:a mistake in the 14th February purenexus.so it's just this one.nothing to prevent u from using this rom)and the call echo was fixed as well so it's just the camera left and with the apps that were introduced by someone in the past I was able to take amazing photos in well lit places so u could say the only bug is not being able to use the stock camera or not being able to take good photos by non stock apps introduced,in dark places.
[Xperia Z2 Android Development] rcstar6696:
Its an heating issue

It requieres only a small change and normally charging should work when the device cooled Down
[Xperia Z2 Android Development] rcstar6696:
Fixed in New build :)
[Xperia Z2 Android Development] DiogoSilva48:
Do you know anything about Alin's camera blobs?
[Xperia Z2 Android Development] twistedddx:
Yes, in call volume works but low to high is not significant.
[Xperia Z2 Android Development] iXaidyiu:
Who said nothing will be removed? Your /system partition will be re-wiped! Only those if your apps and data in /data will be untouched!

And yes, the boot image of this ROM does not come with a TWRP so reflash is needed.
[Xperia Z2 Android Development] mimo.aridi:
My bad. Will report when i install the latest build. Big thanks.:good:
[Xperia Z2 Android Development] akshay2shah:
New blobs have been released !

Next build will have it !
[Xperia Z2 Android Development] DiogoSilva48:
OMG! 2 bugs solved in one day!!! OMG, I am so happy right know!!!
[Xperia Z2 Android Development] mimo.aridi:
Camera fix included? :laugh:
[Xperia Z2 Android Development] akshay2shah:
AOSP 6.0/7.0/7.1 Marshmallow and Nougat for Sony Xperia Z2

Only crash is fixed which happened in last blobs.

Dont expect much camera improvements !

Seems Alin has priorities with new X series and Z5 series devices. Not sure we will ever get working camera !
[Xperia Z2 Android Development] mimo.aridi:
Ok
[Xperia Z2 Android Development] DiogoSilva48:
I thought it would improve the quality. That's a shame for Sony priotizing the new phones that have official nougat support.

---------- Post added at 07:10 PM ---------- Previous post was at 07:08 PM ----------

But will them release blobs that improve the quality of the camera??
[Xperia Z2 Android Development] iXaidyiu:
Yes (I hope), and thats should be a matter of time. There is still Z3+ in the line, after that Z2 & Z3 will have their blobs updated together.
[Xperia Z2 Android Development] iXaidyiu:
[MENTION=5621191]rcstar6696[/MENTION] Will these lines be added to the new version of Carbon ROM WEEKLY build.prop? As well as the new blobs?
[Xperia Z2 Android Development] subhanjavadov:
Anyone use latest Carbon? Camera app does not work. Back camera completely gone. Is there any fix?
[Xperia Z2 Android Development] rcstar6696:
I think yes they need to be merged first

Known issue non working blobs
[Xperia Z2 Android Development] subhanjavadov:
Oh sorry, I thought I did something wrong. Because in LOS, camera app at least opens. Hope to fix, I love Carbon ROM.
[Xperia Z2 Android Development] Shady_BlackSn0w:
[MENTION=5621191]rcstar6696[/MENTION]

What's the difference between purenexus the 18th build and the 14th build?
[Xperia Z2 Android Development] akshay2shah:
New Pure Nexus Build is out

purenexus_sirius-7.1.1-20170218-HOMEMADE-Rcstar6696.zip

changelogs

1. New blobs

2. Camera crash fix

3. Echo fix

4. Charging bug fix

5. Performance improvements !
[Xperia Z2 Android Development] tom.smith:
Is there a solution for this strange behavior? Having the same trouble while trying to install Pure Nexus (14.02. and 18.02.) and the latest Carbon.

What I did:

- fastboot boot.img (extracted from the particular zip file) = OK

- fastboot recovery (twrp 3.0.2) =OK

- wiping data, cache and system

- installing rom zip-file

= no system partition

- using Flashtool to install the latest stock rom

- and again fastboot flashing boot.img and recovery

- installing rom zip-file

= no system partition

- mounting system manually

= no system parition

Don't know what else to do...?

Any hints?

Funny thing...

using the twrp backup to have my latest rom installed (restore function) is working...
[Xperia Z2 Android Development] iXaidyiu:
Most probably the /system partition is mis-formatted.

Check what it shown in TWRP mount table the format of system, if its not ext4, change it to; if it is ext4, click on repair partition then retry flashing.

If the above tricks dont work, I would go for a custom kernel that has custom recovery installed (eg EliteKernel) and use that recovery to flash the ROM and recovery, no reflash of boot.img is needed.

Report if these tricks work out or not.
[Xperia Z2 Android Development] subhanjavadov:
Open terminal in TWRP, try this 2 commands:

mkdir -p /dev/block/bootdevice/by-name

ln /dev/block/platform/msm_sdcc.1/by-name/system /dev/block/bootdevice/by-name/system

In every flash, you need to do this.

---------- Post added at 01:17 PM ---------- Previous post was at 01:14 PM ----------

Tested today's purenexus. In call echo there is, did not fixed. Also I apply 2 new lines to build.prop in latest carbon rom, in call echo there is also. This lines does not fix echo issue.
[Xperia Z2 Android Development] tom.smith:
- ext4 is shown -> repair = no success

- changed system partition to f2fs and back to ext4 = no success

- Installed EliteKernel = no success: error: device is no sirius...

- Installed Abricot Kernel 8.1 = no success: errors installing Pure Nexus

- with Abricot Kernel installted and no reboot I tried Carbon. Corbon installer did a format of the system partition and rom seems to install

- no reboot, factory reset + wiping System partition: Installation of pure nexus wasn't possible:

ApplyParsedPerms: removexattr of /tmp/install/bin/backuptool.sh to 0 failed: Operation not supported on transport endpoint

set_metadata_recursive: some changes failed

Updater process ended with ERROR:7

- no reboot, installation of Carbon ROM succeeded -> no reboot, installation of pure nexus:

ApplyParsedPerms: removexattr of /tmp/install/bin/backuptool.sh to 0 failed: Operation not supported on transport endpoint

set_metadata_recursive: some changes failed

Updater process ended with ERROR:7
[Xperia Z2 Android Development] Austin.gonzo:
It says marshmallow binaries, they can be used for nougat too?
[Xperia Z2 Android Development] vikash1994b:
Yes
[Xperia Z2 Android Development] rcstar6696:
I tested a lot of calls its not possible echo is completly gone for me
[Xperia Z2 Android Development] subhanjavadov:
It was my mistake. I flashed LineAgeOS boot, but try purenexus and carbon. Maybe it did not work for it. Now I flashed carbonrom boot and ROM, it worked, in call echo is gone with edited build.prop. Thanks for this great work :)
[Xperia Z2 Android Development] twistedddx:
There is still echo when volume is above 50%. It still bothers automated answering services, eg if volume is above 50% I can not call my providers support number as automated answering service can not negotiate the echo.
[Xperia Z2 Android Development] akshay2shah:
Which rom are u using ?

Did u make dirty flash ?

Clean install is adviced

Try this root app.

https://drive.google.com/file/d/0B5aYbXQShko3WnZtNUUySlcxaGM/view?usp=drivesdk

Click on enable fluence and reboot !

Report back
[Xperia Z2 Android Development] twistedddx:
Purenexus 18/02/2017.

Purenexus 14/02/2017 was 100% clean, but 18 was Dirty over 14.

Well test defluence etc tomorrow.

The fluence build.pro settings do improve things.

In call volume functions and echo is reduced.
[Xperia Z2 Android Development] Hariskh:
why are the wifi signals weak running purenexus 18 feb
[Xperia Z2 Android Development] akshay2shah:
AOSP 6.0/7.0/7.1 Marshmallow and Nougat for Sony Xperia Z2

Try this build.prop and replace with original

Made some twicks

https://drive.google.com/file/d/0B5aYbXQShko3MzdUd3dWMVlYTVk/view?usp=drivesdk

Sorry for inconvenience.

Please report back
[Xperia Z2 Android Development] iXaidyiu:
Tried THIS?
[Xperia Z2 Android Development] mimo.aridi:
Hey i FIXED THIS. Twrp 3.0.2 has this problem. Just donwload the twrp 3.0.0 from OP. Then go fastboot and flash the 3.0.0 not the 3.0.2

3.0.0 works
[Xperia Z2 Android Development] tom.smith:
I got EMMA working, installed the boot.img (pure nexus) and twrp 3.0.0 and installation of the pure nexus rom-zip started... For some time I do see 'Flashing System..' That's it...?? Something is going wrong again...
[Xperia Z2 Android Development] mimo.aridi:
Without emma just do a normal installation. If u have pure nexus already and only want to update the build don't flash boot.img. i had carbon Feb 8th build. And updated twrp to 3.0.2 and when i was installing carbon Feb 16th build i had the same problem as u urs (cannot mount system.. Etc) but then i reflashed the twrp 3.0.0 and non of this happened ; rom installed successfully. I hope this works for u. Just go to recovery wipe everything and flash the zip files.
[Xperia Z2 Android Development] chriskhany:
I'm sorry but aren't the WiFi drivers different from the marshmallows?when I checked they were slightly different!I had the same problem in marshmallow existenz and using the lollipop drivers helped me but after updating to nougat it was much better. Actually a lot better.they are different(purenexus vs marshmallow).(aren't they?)but good idea iXaidyiu I remember the guy tried it as a joke!it might actually work better.thanks for always helping out.... Everyone!
[Xperia Z2 Android Development] tom.smith:
Without a custom kernel I cannot install the recovery, can I? After installation of a custum kernel (abricot 8.1 or elitev3) I cannot install twrp-3.0.0-0. The phone always shows 3.0.2-0 after 'fastboot flash recovery twrp....'???

Trying to restore the backup isn't working anymore... no way to go back to MM... while restoring 'System' and 'data' there is kind of a 'jump' within this process. System jumps from 450MB to 1,6GB and data stops at 4,6GB/jumps to 100%, while the backup is something around 9GB...

This is what I call a Saturday...
[Xperia Z2 Android Development] mimo.aridi:
Haha dont go to mm. U got an unlocked bootloader right? The go to fastboot cmd on pc plug ur in device in fastboot mode. Type "fastboot devices" ur device will appear then type "fastboot erase recovery" then type "fastboot flash recovery (drag ur twrp3.0.0.img here)" then flash purenexus or carbon whatever zip and gapps. Idk why they told u to try so many kernels(wipe everything before)
[Xperia Z2 Android Development] fezzawinkle:
I had the same problem. Seemed to require me to flash twrp 3.0.0.0 twice to get rid if 3.0.2.0.
[Xperia Z2 Android Development] mimo.aridi:
No need to flash twice. U can erase the .2 and flash the .0
[Xperia Z2 Android Development] mimo.aridi:
Guys on latest carbon rom flashlight works which didn't before. Also camera force closes now instead of can't connect to camera i guess there is progress.
[Xperia Z2 Android Development] twistedddx:
New build.prop seems to behave better.

My providers robot is no longer confused by hearing itself.

I will test more later.
[Xperia Z2 Android Development] iXaidyiu:
Slightly different can make a big change.
[Xperia Z2 Android Development] chriskhany:
I can start agreeing and it'd never be enough.
[Xperia Z2 Android Development] akshay2shah:
Thats good to hear .

I and [MENTION=5621191]rcstar6696[/MENTION] are working on it make it better.

Do more test and Please report
[Xperia Z2 Android Development] Hariskh:
Battery drain is very high on standby running purenexus 18 feb drained 30% from night till morning

---------- Post added at 04:26 AM ---------- Previous post was at 04:25 AM ----------

This worked thanks
[Xperia Z2 Android Development] twistedddx:
I found when I first installed the battery usage was high. But first day can often be like that for Android ROMs.

However I installed greenify and battery usage seems much better than stock.

For greenify I have shallow hibernation and root installed.
[Xperia Z2 Android Development] Austin.gonzo:
I think the heavy battery drain is caused by Gapps.
[Xperia Z2 Android Development] iXaidyiu:
Show us your battery stats then.
[Xperia Z2 Android Development] tom.smith:
:crying::crying: I'm getting crazy :silly::silly:

- Used EMMA to have a clean stock rom

- checked with flashtool that my bootloader is unlocked

- flashed the pure nexus boot.img and twrp 3.0.0

- did a factory reset and wiped system partition

- started installation of the latest pure nexus zip file

- progress bar is at 100%

all there is is the information 'Flashing System..' for some Minutes... Don't think that it has to take that long...
[Xperia Z2 Android Development] mimo.aridi:
Yes progress bar stays at 100 during installation. Give it some time. Cz flashing system takes up to 5-10 min cz ur unpacking a total of 600mb+ files so wait un sure it'll finish.

If it got stuck. Then try carbon os.
[Xperia Z2 Android Development] mimo.aridi:
Check whats draining. Download greenify and hebf. It'll solve the problem or greatly decrease it.
[Xperia Z2 Android Development] tom.smith:
Waited some 45 minutes - nothing changed.

Rebooted into recovery and do have the following Information (wipe -> advanced wipe -> check 'System' -> repair of change file system:

Present: yes

Removable: no

Size: 0MB

Used: 0MB

Free: 0MB

Backup Size: 0MB
[Xperia Z2 Android Development] mimo.aridi:
I had this prob too. Cz i erased system partition. But wont matter cz ull flash a new system. Can u try latest carbon? Try flashing any zip file other than the rom like g apps check if the problem is from the zip or from the recovery. If g apps worked fine then the rom is the prob. Re wipe everything and try carbon os or redownload the purenexus rom and try.
[Xperia Z2 Android Development] tom.smith:
Yes will do try carbon next... But I think that pure nexus gets more attention and does have improvements earlier...

If installation of Carbon Rom works or succeeds... Can I dirty flash pure nexus on top?
[Xperia Z2 Android Development] mimo.aridi:
All roms have same bugs that's what i read. For example camera problem. Call echo is now fixed.

No i guess u have to wipe system then flash.

---------- Post added at 11:17 AM ---------- Previous post was at 11:14 AM ----------

So camera works on latest purenexus or what?
[Xperia Z2 Android Development] vikash1994b:
Yes camera works but still bugs are same autofocus broken nd low brightness issue
[Xperia Z2 Android Development] mimo.aridi:
Will it be fixed on carbon? Cz camera doesnt even launch on carbon
[Xperia Z2 Android Development] vikash1994b:
Once carbon includes new blobs(18th feb) then camera will work. Next weekly build will have working camera.
[Xperia Z2 Android Development] mimo.aridi:
Awesome
[Xperia Z2 Android Development] twistedddx:
All I have is an afternoon of clash of clans.
[Xperia Z2 Android Development] mimo.aridi:
U can have greenify to hibernate coc and hebf to hibernata google play services. I have coc too but doest drain in the background.
[Xperia Z2 Android Development] saggiboy231:
Hello everyone, I am currently on stock and want to switch to Custom Rom's. Can anyone help with the bugs(if any) that come with this ROM.

Quite excited to see a marshmallow build.
[Xperia Z2 Android Development] RyTekk:
http://nut.xperia-files.com/path/XZ...hus89jbh8qsal4k6blcr007&randomizer=_ilxusecgg

Extract boot.img in tmp folder in zip file, then flash it via fastboot and you'll get recovery back.
[Xperia Z2 Android Development] Rajeev:
The non working / bug list is already available in OP. I think better u read it first my friend.. If u are a camera lover then its not for u. U should wait..
[Xperia Z2 Android Development] blaqhjr:
Thanks... But just to be sure, i haven't flashed the stock pre-rooted rom i downloaded yet... My current firmware is 23.1.A.1.200 will it still work on this?
[Xperia Z2 Android Development] RyTekk:
If pre-rooted firmware include kernel, it would boot. If not, follow these steps that I do whenever I flash/reflash a firmware:

- 3 wipe

- flash firmware and other mod/tweak (if have)

- wipe again (no need)

- turn of your phone

- open Flashtool, prepare to flash, REMEMBER EXCLUDE SYSTEM (if not, you won't have root)

- wait for the flashing done and boot your phone up.
[Xperia Z2 Android Development] Haldi4803:
That's so much easier if you have a Recovery in the Recovery Partition. :cool:

Download ROM

Boot into Recovery (VolumeDown+Powerbutton, keep volume down pressed after it vibrates)

FACTORY RESET and FORMAT SYSTEM (needed if you have LP or other custom LP Roms)

Flash SYSTEM.img and BOOT.img from ROM via FASTBOOT

Boot into Recovery

flash gapps zips http://opengapps.org/

Optional: Flash SuperSU.zip

Boot into System

Last time i checked in EMMA after the update it still showed the unlocked Bootloader sign.

If you're really really courageous you can try this.

https://mega.nz/#!s1013D7I!l_Bjs_3gU4nkDP7jaKxv6ZM8BTMh8O2NZi6YSi1NhP0

I've created a .tft file with FlashTool from the FILES downloaded by EMMA, it's .200 Cusomized Nordic firmware, included ALL .ta files except simLock. So be carefull.

You're on .200 Firmware now from EMMA?

Try to install this recovery from MySelf5 http://dl.myself5.de/sirius/Recovery/TWRP_MR_new_BL.img

Fastboot flash recovery recovery.img

You enter Recovery not like all kernel included recoveries by pressing volume down after booting but by pressing VolumeDown+Power and then keep volume down pressed.

[MENTION=5621191]rcstar6696[/MENTION]

You might wan't to open a Q&A Thread for this topic. Not like anyone would care anyway.... :D

Edit:

P.S Nice app anyone with Brightness issues should try :)

https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite

Set it to "On Wake"
[Xperia Z2 Android Development] RyTekk:
[MENTION=3056043]Haldi4803[/MENTION] Emma will do flash new bootloader or 1.200 firmware?
[Xperia Z2 Android Development] Haldi4803:
[MENTION=4798704]RyTekk[/MENTION]

Both.

http://talk.sonymobile.com/t5/Gener...d-Open-Devices-TA-Update/m-p/1074394#U1074394

P.S

Screenshots for the third post of pure clean AOSP awesomeness.
[Xperia Z2 Android Development] blaqhjr:
Hi guys...thanks for your suggestions... I've successfully installed cwm and therefore flashed the pre-rooted ROM i downloaded earlier... Thanks so much
[Xperia Z2 Android Development] stayawake:
v15 is up! what's new?
[Xperia Z2 Android Development] Mohaned98:
Camera fixed yet? :D
[Xperia Z2 Android Development] Haldi4803:
you guys are impatient thats unbeliveable ^^

he will post a Changelog when he has time for it.
[Xperia Z2 Android Development] stayawake:
hahaha, I know, but is dificult hold the excitement, this is the biggest project in developement for Z2 in my opinion xD
[Xperia Z2 Android Development] azam_:
i know some get so over excited, i m too but doesnt mean spam thread for it. Wait for the changelog
[Xperia Z2 Android Development] Haldi4803:
BTW, tried the zip upgrade via recovery, stuck in bootloop :( needed a factory reset to get it working.

On another note. Is it just my phone that likes dropping from 100% to 90% for no reason right after its charged? For no valid reason.

P.S no camera not working on v15 but you can shut down your phone and it won't reboot anymore :)

Edit:

Well yeah I guess that explains stuff xD
[Xperia Z2 Android Development] rcstar6696:
I have the same problem every time it jumps from 100℅ to 90% i think the end voltage while charging is nit correct
[Xperia Z2 Android Development] RyTekk:
Your battery is cool, my batt's temp is always above 30°C, it just goes down to below 26°C when I'm in a room with air-conditioner. Go back to the main topic, so the issue with battery is still alive? Btw, what version of supersu do you use to root MM ROM?
[Xperia Z2 Android Development] plagu:
Voice calls still echoes in opponent end in V15

in lollipop roms there was same issue and some sort of fix was implemented.
[Xperia Z2 Android Development] benjmiester:
V15

brightness issue (bright if DTW used) Lux won't fix it. It jumps back to bright every time I use DTW. Not a huge issue though

No in call sound unless I use speaker on D6503