yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] m1st3r1:
pls follow the OP (first post). you need to flash recovery twrp 3.0.0 from Mega folder, cant use any other twrp version (yet?).

cant mount system rw where? in twrp? or in the rom? you need root to do that, and use decent file manager with root capabilities (root explorer, mixexplorer, etc). and besides you dont need to change anything in the rom zip, just use twrp 3.0.0 from the mega folder.

btw, you can (and should) test the rom zip with 7zip or winrar first (in PC). if you're using Android, Zarchiever is capable to test zip archive, or you can try to open the zip with decent file manager.
[Xperia Z2 Android Development] a_t_21002000:
Whenever I flash this recovery the phone boot-loops

is there a flashable zip for this twrep version,because I couldn`t find any
[Xperia Z2 Android Development] m1st3r1:
flash the recovery (fastboot flash recovery [your_recovery_name].img and flash the boot.img from the rom zip (fastboot flash boot boot.img).

you have unlocked the bootloader right?
[Xperia Z2 Android Development] a_t_21002000:
I`v unlocked it since i bought the device

I Don`t know where the problem is !
[Xperia Z2 Android Development] m1st3r1:
Ok, have u flashed the boot.img? Open the zip and take the boot.img and flash it.
[Xperia Z2 Android Development] pixel0:
recovery doesnt give system bootloops.

So Be sure while writing. And if i try to understand some other meaning then maybe u r saying not booting to recovery.

And if recovery doesnt boot in ur case thats mean u r flashing wrong twrp on a wrong device. Or even possible ur bootloader is locked or even possible that u r actually not completing theflashing in fastboot. First verify ur device in fastboot then flash correct twrp specific to ur device only.
[Xperia Z2 Android Development] mysubcult:
I tryied with xplore and root explorer. I open the file, edit it but cant save it. Supesu is installed.
[Xperia Z2 Android Development] pixel0:
try with es
[Xperia Z2 Android Development] a_t_21002000:
nothing works .only stuck at sony logo

what about flashing the rom directly from twrp 3.0.2.0

how can i stop the rom from detecting the recovery ?
[Xperia Z2 Android Development] pixel0:
please read carefully what i replied .
[Xperia Z2 Android Development] mysubcult:
Thank you, ES helps.
[Xperia Z2 Android Development] m1st3r1:
when in sony logo, press volume up. :D

come on, gives more detail, you just said it didnt work, it didnt work, but didnt tell us what have you done. Have you flashed boot.img? What rom are you using now?

i've tried removing the getprop("ro.product.device") == "sirius" || abort("E3004: This package is for "sirius" devices; this is a "" + getprop("ro.product.device") + ""."); but it didnt work with twrp 3.0.2. you need twrp 3.0.0.0-sirius from the mega folder.

here's the md5 for it: f9e5aabdbf0e4bd960cdeb3f7980e4fd , check with yours, maybe you've got broken download (if u dont know how to check the md5, google is your friend).
[Xperia Z2 Android Development] pixel0:
[MENTION=5621191]rcstar6696[/MENTION] im back to aosp again.And i observe that

nfc gets hidden and once nfc switching its state continuously as like in aosp mm.
[Xperia Z2 Android Development] m1st3r1:
wait a bit, (and maybe after a couple reboot), it'll show up. this happened to me too.
[Xperia Z2 Android Development] mfauzirahman:
Will definitely test this soon after no issue with camera....kudos dev
[Xperia Z2 Android Development] rcstar6696:
my nfc works evertime here

if your device is hot nfc disable itself to get colder
[Xperia Z2 Android Development] shahidaffan:
Random reboot on build 20112016
[Xperia Z2 Android Development] rcstar6696:
I have no problems here tge only thing is that chrome Browser is very laggy

Anyone else have thid Problem?
[Xperia Z2 Android Development] djgigi94:
Random reboots only with nfc open. When i close it no random reboots(i reboot by myself sometimes only for the camera) . Chrome (or chromium ...i use yubrowser, a chromium base browser) open the pages a little slower but everything is ok ? But i have one question...there is a method to make functional the camera when it crash, without reboot the phone once o twice? Like my old phone (galaxy s3) Who have a similar problem with the camera and cyanogen mod rom. There i use a app that reboots the camera without reboot the phone. And with this method i have more battery life (reboots drain battery). There is a similar method? Thank you
[Xperia Z2 Android Development] shahidaffan:
How do u turn of NFC for me it's not showing in setting
[Xperia Z2 Android Development] djgigi94:
I reflash the rom with pico gapps. With them the rom works perfect without problems(except the termal limit for charge and unstable camera...known bugs)
[Xperia Z2 Android Development] m1st3r1:
in mine Chrome is working fine. maybe it's because you use full gapps? im not sure tho.

but you doesnt have random reboot because of NFC, so yea, kinda weird. Haha.
[Xperia Z2 Android Development] Kevin.Silbstedt:
I had to part with my Z2 for some time (I suddenly got the ghost touch problem and had to use my trusty Nexus 5, for some reason ghost touch is gone now), so I missed quite a few versions of this rom.

But the last version I flashed had the voltage table integrated (for undervolting), the newest version doesn't, is there any reason for this? (I still followed the thread, but no one seems to have mention it)

You also mentioned you were thinking about integrating PureNexus features? Still got plans for that? Because why not, it just enhances AOSP and doesn't bloat anything. I miss my forced menu button and double tap to sleep on statusbar.

Now, I don't wanna seem like the thankless child, who is never satisfied with its presents, but have you thought about integrating custom kernel features in the future (probably more distant, I understand your priorities) like:

Kcal (there already is an sRGB slider in the developer options, is it possible to link it to some sort of color profile? Even with using kcal, I cannot fix the oversaturated green and red)

F2FS (seems pretty stable since a few linux kernel versions)

an option to limit max charge of the battery to 80% to maximize the lifecycle of the battery

Apart from that:

I love this rom, with the call echo nearly gone (and completly gone with headset), the rom has become daily driver for me. Before that people wouldn't call me anymore, because they got so annoyed of hearing their own voices (instead of being just annoyed because of me ;)).

I had no crashes since I flashed the rom yesterday, also tested a few short calls (old version sometimes only crashed during hour long calls, will test that again).

Of course cam often does not work without a reboot, but I was actually impressed by the quality (except for the ****ty focus).

The UI is mostly fluid, but drops frames more often than stock, my Nexus 5 also had GPU problems on android 7, so I guess this is a driver issue and cannot be easily fixed. (f u Qualcomm, still much better than Samsung)

Chrome btw is fluid with me.

So thanks again for sticking with this great phone, it probably will be the best phone Sony ever made.

BTW.: I remember donating to you, when you started development on this rom via a button in the first post, am I blind or is it really gone?
[Xperia Z2 Android Development] djgigi94:
I don't have echo Problem for example. Only one time i heard echo of my voice but only for 1 minute. Then i make calls normally. But call microphone capture every sound xD ahahaha
[Xperia Z2 Android Development] Newbiekingz:
Things not working for me

The only problem I have right now is that tethering is not working for me. Both wifi and USB. Other than that I don't think I have found any problem with the os, well excluding the camera that is. Can anyone here recommend a sound mod that I can use on the AOSP? Will appreciate it.
[Xperia Z2 Android Development] LongLuu:
Please use search
[Xperia Z2 Android Development] xerxes101:
Please can u tell exact file to download..and present bugs thanks
[Xperia Z2 Android Development] iXaidyiu:
You can just search for "bugs".

And for the exact file, download the latest build with no OTA prefix and if there are any OTA file named after the date, download it and flash it together. As well as Gapps.
[Xperia Z2 Android Development] xerxes101:
Thanks lot
[Xperia Z2 Android Development] xerxes101:
:cyclops:
[Xperia Z2 Android Development] xerxes101:
U mean these 3 file flash them all thanks
[Xperia Z2 Android Development] iXaidyiu:
Only the last one will do.
[Xperia Z2 Android Development] shahidaffan:
Random reboot still exist
[Xperia Z2 Android Development] djgigi94:
Random bootloop? Do you ever turn off nfc? Do you make a clear installation (fastboot+ all necessaries wipe + flash Last version+ supersu + pico gapps?)
[Xperia Z2 Android Development] shahidaffan:
Wipe all except internal storag eand micro sd in recovery and then flashed rom,gapps(pico) and D6502 network patch
[Xperia Z2 Android Development] djgigi94:
And the phone doesn't boot? The installation of gapps or other things finish? Or the phone auto-reboot?
[Xperia Z2 Android Development] shahidaffan:
Rom booted normally and after installed some apps from play store and it was working fine and then it's freeze no touch response nothing.

And also while playing videos in mx player it's soft reboot
[Xperia Z2 Android Development] djgigi94:
After clean installation with pico gapps, do you turn off nfc?
[Xperia Z2 Android Development] shahidaffan:
How should i turn off its not showing in setting

After typing nfc in seach its show me

Bt after click it doesn't show
[Xperia Z2 Android Development] djgigi94:
it happens to me too. After a another cleanflash, it is solved and i can turn off nfc. After that , no reboots after all
[Xperia Z2 Android Development] shahidaffan:
How u did clean flash?
[Xperia Z2 Android Development] djgigi94:
wipe data,system,cache,art cache ,install rom and install pico gapps and baseband. It should work
[Xperia Z2 Android Development] shahidaffan:
Thanks it worked
[Xperia Z2 Android Development] mahdi128:
Dears, what Is your next phone after z2?
[Xperia Z2 Android Development] s.hossein:
Any news from camera?camera is important for daily use.thanks for your work for z2.
[Xperia Z2 Android Development] RyTekk:
Yeah but I installed the new ROM, it has no issue with video colors, just appear when screen rotate but is not important. About camera, I'm so disappointed Sony, viewfinder is so lag, unstable (can't connect camera appear a lot and usually), pictures taken is blur, video and front camera is useless. I'm using OmniROM which is based on Sone AOSP tree while waiting for your stable build (of course camera is available).

Did you read my PM? I hope you would build an AOSP 5.1 with a fully working camera.
[Xperia Z2 Android Development] rcstar6696:
Yes i read your pm and i think i have answerd to you :D i will not build 5.1.1 only for camera and it will not fully work here on m later. Its the same as on fxp builds fc and no focus etc. The new camera files are only a base construct which is provided from sony all other things needs to fixed from the community
[Xperia Z2 Android Development] s.hossein:
Is it possible to port z3 Concept ROM - Marshmallow to z2?
[Xperia Z2 Android Development] rcstar6696:
No its not possible because its closed source and we have no chance to build it
[Xperia Z2 Android Development] artas182x:
But Z3 is almost the same devices. I think it is possible to boot it. Z3 and Z2 are based on the same board and sources. There are only small differences.
[Xperia Z2 Android Development] Envious_Data:
No

You still have to modify some things for a Z3 rom to boot on Z2
[Xperia Z2 Android Development] rcstar6696:
Uninstall Issue

Hey not a good thing but i can't uninstall any app atm please test it on your devices and report here please

I need an info about your rom version too

If i try to uninstall any app my device reboots
[Xperia Z2 Android Development] itsnie:
Yes mee too, also my security options in setting force close, i use v9
[Xperia Z2 Android Development] RyTekk:
You didn't reply me, but this answer is enough, thanks anyway.

Watch my video, I flashed Z3's firmware via Flashtool without modify anything, we just need to find touch and ril firmware files from Z2 and patch it to Z3, I guess we'll have a fully work Z3's firmware on Z2.

https://youtu.be/q0Y52kZRiPs
[Xperia Z2 Android Development] artas182x:
Hi! Can you test Z3 marshmallow on Z2 and tell me if it boot and if not can you provide logcat ? I think I will be able to fix RIL and Touch issues although I have some experience with Android.
[Xperia Z2 Android Development] Emma22288:
I think it's not the good thread for this but it would be great if someone can make marshmallow concept work on z2.

Tapatalk-kal küldve az én D6503-el
[Xperia Z2 Android Development] _heisenberg:
I think someone already tested flashing the Marshmallow Concept on the Z2 (Existenz Premium thread I think) and bricked his phone completely. Dont try this.

Edit:

Source: http://xdaforums.com/showpost.php?p=63928537&postcount=4707
[Xperia Z2 Android Development] Envious_Data:
have you tried pulling Z2 files and putting it on this Z3 rom to see if it works also even though i dont care about benchmarks could you make 3 per rom if you have the spare time.
[Xperia Z2 Android Development] RyTekk:
Seem you don't have a Z2 device, I have not much free time recently so I can't, I'll send you after if I have time.

NOTICE: FIRST TIME I FLASH, TOUCH WAS NOT ABLE TO USE, I MUST FLASH KERNEL.SIN OF Z2 VIA FLASHTOOL AND MY DEVICE CAN BE USE WITH SINGLE TOUCH, I SEE YOU HAVE DEVELOPED KERNEL SO YOU CAN KNOW THAT ISSUE.

I don't know what files that I have to push into ROM, even I tried to read logcat but I didn't get anything, someone else who has a certainly knowledge about Android could do it.

P/s: I think we will need to create new thread to talk about this since we've gone far away from main thread.
[Xperia Z2 Android Development] mischa_martin:
He probably created the flashable zip with LTALabel. Although I think thats only the certificates screen I dont think that system, kernel, fotakernel or modem can hardbrick a phone. :confused:

Regards,

mischa_martin
[Xperia Z2 Android Development] rcstar6696:
Uninstall fix

Hey i found a fix for uninstall issue and security settings

Open file manager with root

Go to system/lib/hw

And delete Keystore.msm8974.so

Reboot

I will make a flashable zip which delete the file !! Please test the zip https://mega.nz/#!fFhEUIZK!Nzo72Fqnc-JtMybJS0lAhk7IgBlYPa8sNCAsY9vJAgI
[Xperia Z2 Android Development] itsnie:
Working yeah xd
[Xperia Z2 Android Development] rcstar6696:
V10

New bugfix update

- fix some sensor problems

- adding first patch for smartcover

- fix adb problems

- adding back some features which were broken after the new kernel release

- usb otg should work now
[Xperia Z2 Android Development] _heisenberg:
Camera still does not work in any way?
[Xperia Z2 Android Development] djgigi94:
This is totally OT. Open another thread in General section and put this question there ;)
[Xperia Z2 Android Development] xerxes101:
Can we use substratum ,xposed, ..thnks
[Xperia Z2 Android Development] pixel0:
no
[Xperia Z2 Android Development] rcstar6696:
Substrstrum works but without masquerade

so this means rebbot after applying a theme is needed

xposed is not avaliable yet for nougat
[Xperia Z2 Android Development] xerxes101:
Is bug still present on 6.0...thnks
[Xperia Z2 Android Development] iXaidyiu:
AOSP 6.0 is discontinued. The bug list is latest.
[Xperia Z2 Android Development] Kevin.Silbstedt:
Well, here we go again. Just two days ago I had no issues with calls, suddenly today the old problem came back. I didn't change anything on the phone since then.

First one:

I stuck in the headset after taking the call. After I turned off the screen, the audio I got from the calling person was broken up (like it was cut into pieces), the caller also couldn't hear me anymore. After I noticed this I turned on the screen again, the audio now wasn't broken up anymore. But the other person still couldn't hear me. I switched to speaker mode and back and the person could hear me again. I then turned off the screen again and waited a little longer til the call eventually got hung up (not disconnected because the other person hung up, I asked the person later).

Since I didn't know, which log has documented the bug (the phone did not crash, just the call), I put all I could find in there (except modem log, if you need that, just tell me). There were also logs in the pstore folder (even though the phone didn't crash, I put them in the zip, but they might be the wrong ones).

Second and third one (third is for good measure ;) ):

I called myself from my normal telephone and didn't use a headset this time, same behaviour as before, but... this time the whole phone crashed eventually. Put the logs from the pstore folder from both crashes into a zip.

Conclusion:

As soon as the screen gets turned off:

If I use my headset, the call gets jittered up, other person can't hear me and the call gets eventually disconnected.

If I don't use a headset, the same happens as above, but this time the whole phone eventually crashes.

I have reproduced these behaviours now multiple times, but I still don't know, why I didn't have this problem two days ago, hopefully the logs are helpful to you.

Edit:

Probably it's just coincedence, but TWRP (using the multirom version) and the log system finally realized, that it's 2016 and not 1970. It seems to have corrected itself after the second crash (first pstore logs showed 1970).
[Xperia Z2 Android Development] rcstar6696:
Hey i have looked into your dmesg the first one is a known thing and i will look into it

The two other crashes are due a null pointer error

I never see them before

The twrp clock is messed up since a long time so ignore this

edit: first problem should be gone
[Xperia Z2 Android Development] rcstar6696:
after clean install

my nfc is broken too again

so nfc issue is back i don't know why but it is back :(

i don't change the code

but i manage to get the cam starting every time now so

one good thing one bad

please write your opinon to nfc

my plan atm is completly disable it on sirius

anyone against this idea ?
[Xperia Z2 Android Development] :
[MENTION=5621191]rcstar6696[/MENTION] maybe place a poll at the first page? I personally don't use NFC and would trade it for a normal camera
[Xperia Z2 Android Development] pixel0:
I vote to Disable nfc temporarily till we have a solution for it. And i think its most unused feature of our device by most people. :D
[Xperia Z2 Android Development] rcstar6696:
Cam has nothing to do with nfc

cam will start without problems if nfc is disabled or enabled
[Xperia Z2 Android Development] rcstar6696:
Poll

Please Vote in the poll

the main problem of nfc seems to be unsolvable

There are two ways now one is disable Nfc completly and the other one leave it as it is but you all need to disable nfc

or you will get random reboots
[Xperia Z2 Android Development] mahdi128:
when i bought my Z2, till now i didn't use nfc, but if just this Is the bug, ok Remove it completly
[Xperia Z2 Android Development] Hai_Duong:
So next update would be a stable Camera ? No crashes?
[Xperia Z2 Android Development] xerxes101:
Disable NFC complete is no problem...I don't even rember the last time I used NFC on my device.
[Xperia Z2 Android Development] pijen:
[MENTION=5621191]rcstar6696[/MENTION] do you have any plan to build cm14.1 for us in the near future? thanks anyway
[Xperia Z2 Android Development] m1st3r1:
Lol. i've told you about nfc and the cam didnt crash anymore.

to vote, i need to know whether the NFC is working or not? if it's working eventho it's crashing, you can disable it when it's not needed, so just leave it like this, and state in the op, that turn on the nfc all the time will make the phone crash.

The camera is alr stable in latest built, as long as you disable nfc.
[Xperia Z2 Android Development] mahdi128:
bro i have question, if i disable NFC, i won't have any bug in this rom?
[Xperia Z2 Android Development] iXaidyiu:
It is proved that turning NFC off can eliminate the camera bug, but it is not the case for any other UNKNOWN problems and bugs.
[Xperia Z2 Android Development] m1st3r1:
disable nfc only makes it has no random reboot and camera app stable (not crashing). camera is still dark tho, and some phone call bug still exist (using headset: no phone call bug at all).
[Xperia Z2 Android Development] mahdi128:
Do you prefer to change from MM Existenz, to Nought:(?
[Xperia Z2 Android Development] iXaidyiu:
How your daily usage?
[Xperia Z2 Android Development] mahdi128:
alot, but not with camera, listen to music... play clash Royale, surf on the internet, chat :))))
[Xperia Z2 Android Development] akshay2shah:
If u dont use phones camera and nfc then go for nougat or else stick to stock ?
[Xperia Z2 Android Development] mahdi128:
bro excuse me, How can i use network Traffic on the notification?
[Xperia Z2 Android Development] iXaidyiu:
Try this.
[Xperia Z2 Android Development] xMasterbaitx:
Last update my phone not charging :/. (2x reseted the rom )

and sometimes reboot.
[Xperia Z2 Android Development] rcstar6696:
Nfc

Nfc poll can be closed

nfc is now fully fixed and the reboot issue is gone

you will get a new build tommorow :) with working cam and nfc

now focus is the last problem

thx to [MENTION=763958]dewi[/MENTION] and me
[Xperia Z2 Android Development] mysubcult:
Led is working only when phone is charging. How to make it work for notifications?

---------- Post added at 07:03 ---------- Previous post was at 06:21 ----------

@rcstar6696, can you add more languages to the dialer? Not only english.
[Xperia Z2 Android Development] xerxes101:
No charging solution please no led.there is a charging lightning sign on battery icon but no led and no charging
[Xperia Z2 Android Development] iXaidyiu:
Cool down your phone and charge again.
[Xperia Z2 Android Development] xerxes101:
Ha OK got it..thanks but not able to play coc while charging:(
[Xperia Z2 Android Development] rcstar6696:
Hey charging bug will be solved in todays build too :)
[Xperia Z2 Android Development] xerxes101:
Yayy..u r da best..:svetius: thanks
[Xperia Z2 Android Development] Dilesh Perera:
[MENTION=5621191]rcstar6696[/MENTION]

hi

curious to know about the echo in calling? is it still persists ?
[Xperia Z2 Android Development] mysubcult:
And whats about not working led in notifications?
[Xperia Z2 Android Development] xerxes101:
While playing game navibar used to be on the right side when rotating now on 7.1 it locate in left side little annoying..not much prob but if it can be fixed just reporting
[Xperia Z2 Android Development] magpte:
It is battery protection, you can change the value so it is chargeable. Search the thread avout it.
[Xperia Z2 Android Development] akshay2shah:
whats the max battery temperature set on stock rom while charging ?

is it really safe to set battery temp more than 45'c while charging ?

would it harm battery or device ?

would it be note 7 ? :D
[Xperia Z2 Android Development] xerxes101:
Charging prob will be fixed today just wait for it ,hope it will be uploaded soon
[Xperia Z2 Android Development] akshay2shah:
That wasn't my answer ðŸ˜‰ you misunderstood me ! I wasn't asking about any bug !

I was asking max safe battery temperature can be set while charging ?
[Xperia Z2 Android Development] xerxes101:
OK I was thinking that need not set temp if charging issue like need to cool down for charging will be fixed so u can charge like same old time

---------- Post added at 08:29 AM ---------- Previous post was at 08:06 AM ----------

This my 1st time use aosp ROM and is there anyway to use theme..thanks noobie question he he..
[Xperia Z2 Android Development] xerxes101:
Gallery no photo display...empty..and on gallery setting just black screen...any soln
[Xperia Z2 Android Development] iXaidyiu:
Set permission for Gallery in Settings.
[Xperia Z2 Android Development] akshay2shah:
http://xdaforums.com/showthread.php?t=3263403

sony Apps for AOSP ! use them !
[Xperia Z2 Android Development] xerxes101:
Can amy1 confirmed google assistnce work on build.prop edit thnks