yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] iXaidyiu:
Yeah just flashed and it worked for me too, but it seems AF still not working...

So I rolled back to .291 and wait again:p
[Xperia Z2 Android Development] Mohaned98:
Can you please mirror the latest bud and send me link? Maybe the file i downloaded is corrupt or something.. I downloaded another build and it has same issue but maybe it's because of my pc messed up or something
[Xperia Z2 Android Development] akshay2shah:
1. Latest lineage has broken front camera

2. Camera in whatapp messenger doesn't work

Clean install 2 times.

Sent from Xperia Z2 LineageOS build 20170104 (Android 7.1.1)
[Xperia Z2 Android Development] iXaidyiu:
I really have ran out of ideas on why you are encountering this...

Maybe you should reunlocking your bootloader...
[Xperia Z2 Android Development] Mohaned98:
I am on an unlocked bootloader.. I'll try downloading the file directly to my phone, maybe it got corrupt while moving it over MTP
[Xperia Z2 Android Development] iXaidyiu:
Yes I know you have a unlocked bootloader, but what I am suggesting is that you try relocking it and again unlock it, although this sounds useless, but I hope through the process it could be able to repair something that is screwed.
[Xperia Z2 Android Development] paulwollf:
so you will support lineage and carbon officially?
[Xperia Z2 Android Development] Austin.gonzo:
Amazing :D a lot of people would've left their Z2 if it wasn't for incredible work. Keep it up
[Xperia Z2 Android Development] paulwollf:
And what about slim7?
[Xperia Z2 Android Development] ScatteredHell:
switch whatsapp to split mode, camera works when you are in split mode
[Xperia Z2 Android Development] rcstar6696:
I made a new twrp image but i need to update my phones bootloader first but in general this will solve our recovery Problem for ever :D

No its not present i use it as my daily driver and i had one reboot but this was my own fault i was test something and have delete a line which is important :D

As pac maintainer i know something about that too this issue is a old bluetooh driver and new bluetooth which not work together
[Xperia Z2 Android Development] Mohaned98:
Alright, one last thing until I switch to this rom as a daily driver cuz I'm really sick of the stupid random reboots

Could you tell me all the currently not working features and options in the rom so I know what I'm getting used to? please? :)
[Xperia Z2 Android Development] rcstar6696:
Random reboots are not included as a feature :D but i had only one

Not working is the camera and there is a smal brightness issue the brightness jumps to maximum after screen off and on

The rom is pure vanilla android like on nexus 5 its the pure source code from google

But you can use xposed its working without problems on this rom and get so many features you want
[Xperia Z2 Android Development] Mohaned98:
i fkn luv u <3

i don't really care about the camera since I use it the least but I've read through the post that you're working on it and a little extra ;)

Anyway, that brightness issue, after the screen is on, does it bump to max even if i have adaptive brightness on?
[Xperia Z2 Android Development] rcstar6696:
Thx :D

Yes we working on cam and it should be possible that the cam works before new year

The brightness issue is not related to adaptive brightness i tested it

Its a fault in the kernel
[Xperia Z2 Android Development] Mohaned98:
That's some lovely news, gonna download the files over the night cuz i've got a potato internet (50 kb/s ftw!!!)
[Xperia Z2 Android Development] twistedddx:
Exactly I get reboots when Bluetooth is connected and using google maps.
[Xperia Z2 Android Development] Mohaned98:
In order to no longer go off-topic with this thread, can we move the discussion of the random reboots to the Q&A section? Someone already has a thread there http://xdaforums.com/xperia-z2/help/z2-rooted-custom-rom-crashes-t3265773

Just to keep this thread clean :p I shouldn't have started the discussion, my bad
[Xperia Z2 Android Development] RyTekk:
Really? You're beyond godlike :laugh:. I'll the first person who install your release with camera working (maybe the second or third or n/a LOL)
[Xperia Z2 Android Development] blaqhjr:
Hi...so I have this z2 which I can't seem to boot into recovery. I've tried all the key combinations but it jus restarts the phone... Any help pls??
[Xperia Z2 Android Development] Mohaned98:
Recovery isn't yet implemented in the kernel of this rom, to use recovery you have to flash boot.img from a different rom, cyanogenmod boot.img for example, flash a recovery on it, then boot into recovery and do what you want then flash the original boot.img from this rom (if you don't, the device won't work)
[Xperia Z2 Android Development] rcstar6696:
You need to flash the new bootloader and then you will get recovery back. The new bootloader implement a new partition for recovery and you can get access to it with a key combination

Yes thats a good way to but you can use kitkat boot.img which has recovery directly included in ramdisk
[Xperia Z2 Android Development] s.hossein:
Where we can find the new bootloder for z2?
[Xperia Z2 Android Development] rcstar6696:
Here you can find it and in these post its the link for instructions http://developer.sonymobile.com/201...wider-range-of-unlocked-xperia-devices-video/
[Xperia Z2 Android Development] Haldi4803:
But the included recovery from Sony does.... Nothing?

Can you just flash a twrp recovery IMG afterwards?

And where to get a Recovery img? If you look for device specific recoverys you always get Kernel with included recovery's because Sony didn't have a seperate Partition before. Does a recovery need to be device specific to work or does a standard TWRP work fine on all phones with separate recovery?

https://twrp.me/devices/sonyxperiaz2.html says it's for FotaKernel. If i fastboot this into recovery, would that work?

Gesendet von meinem Xperia Z2 (AOSP) mit Tapatalk
[Xperia Z2 Android Development] dkionline:
if sony releases actual kernel source, we would know what lines we must include for sony recovery in AOSP.
[Xperia Z2 Android Development] rcstar6696:
Try it i'm not sure if it will work if not test this one http://dl.myself5.de/sirius/Recovery/TWRP_MR_new_BL.img

No we don't need to add something to kernel all is solved with the new bootloader
[Xperia Z2 Android Development] itsnie:
IMHO, any fota recovery will work with the new bootloader, no matters if the recovery is twrp, phillz, cwm, or cm recovery ..
[Xperia Z2 Android Development] rcstar6696:
No thats not correct we need a recovery which has no lzma compression but the most fotakernel images have it
[Xperia Z2 Android Development] itsnie:
So just unlzma them then repack and recovery will work ?
[Xperia Z2 Android Development] Mohaned98:
Flashed LineageOS today but the camera issue is still present.. I've tried everything.. I wiped cache, boot, recovery and system then flashed but still.. Neither the camera nor the flash work on AOSP or LOS.. Can anyone please help me with any idea? I'll try any suggestions.. This is really frustrating because the rom is perfect but I need the flash to work and I have no idea what to do.. I flashed older build of AOSP, I tried latest build of AOSP and I tried LOS but still.. I switched back to CM 12.1 and Stock .291 and the camera and flash work there.. please anyone any help would be much appreciated

Edit : These are 2 logcats , 1 of them for when I tried turning on flashlight twice and the other for when i tried launching the camera app.. (On LOS)

Camera Flashlight
[Xperia Z2 Android Development] djgigi94:
Hi to everyone! Now i use z2 only with aosp,because i have xz for principal phone ;) But i have a question: i have the same issue of gapps or other mods (like supersu) installation. I must use official twrp to install gapps and supersu ,because the phone restart on the middle of process and i have a lot of troubles with thread modded twrp. How to fix that? I must every time : flash twrp modded via fastboot, do wipes, flash rom only, shutdown the phone, flash official twrp via fastboot, boot on recovery, flash gapps and supersu (only on aosp this passage)? And then, how to root on carbon? Supersu it isn't compatible. And developer options,it doesn't appear any menù. Thanks.
[Xperia Z2 Android Development] base.injector:
For AOSP try this:

https://xdaforums.com/showpost.php?p=70346301&postcount=2731

Hope it works for you
[Xperia Z2 Android Development] djgigi94:
It's the same thing i did always. But in flashing gapps, it always reboots on the middle of the process. To flash correctly gapps , i must use official twrp ...not the modded of mega folder. And then everything works
[Xperia Z2 Android Development] rcstar6696:
Uploading test build

I currently upload a test build which adds substratum and web view fix

Please try and report if both works

Thx
[Xperia Z2 Android Development] Shady_BlackSn0w:
Thank you for your work

edit

web view is working with stock gapps now
[Xperia Z2 Android Development] rcstar6696:
nice can you try substratum ? install the app from play store and try
[Xperia Z2 Android Development] rcstar6696:
next test build is available in some min

for sure its the last rom for now :p

pure nexus rom :D i use it as my daily driver for me the actual best android 7 rom
[Xperia Z2 Android Development] Shady_BlackSn0w:
okay I'll try

please add latest GPU drivers :)
[Xperia Z2 Android Development] Mohaned98:
isn't there anything you could do to help me with my camera and flash issues? :/ I'm on your rom right now and downloading the latest build atm but the flash is essential and i can't use it :/ at least take a look at the log or help me with any suggestions please?

Is purenexus the latest build?
[Xperia Z2 Android Development] raminta:
Hey guys i think i have found a way to fix wifi region code problem

This: https://xdaforums.com/showthread.php?t=2368501

After it explains about " wifix " app it also explaind how to fix it without an application

I didn't test it but it may helps if i get time today i will test it but im little poor in this staffs so if anyone can test it PLEASE test and report back

Thanks in advance
[Xperia Z2 Android Development] akshay2shah:
[MENTION=5621191]rcstar6696[/MENTION] -

Tested on

purenexus_sirius-7.1.1-20170107

1. Webview Working

2. Substratum working
[Xperia Z2 Android Development] rcstar6696:
Sorry no i can't do something i habe no idea why your cam does not work all other guys have it working

And your logs only show that the cam APP crashes and that autofocus and the acurator is broken. Are you 100% sure you done all like explained in the Instruktion

But ypu can test something go to fxpblog and download their Rom its aosp without anymodification and try Thema
[Xperia Z2 Android Development] Mostafa Sherif:
When i start to flash Pure Nexus Rom it gives me a problem which is:

mount: failed to mount /dev/block/bootdevice/by-name/system at /system: No such file or directory

unmount of /system failed: no such volume

Flashing System..

mount: failed to mount /dev/block/bootdevice/by-name/system at /system: No such file or directory

unmount of /system failed: no such volume

Flashing Kernel..

script succeeded: result was [1.000000]

Updating partition details..

...done

Then no rom is installed i'm using TWRP 3.0.0.0 , i also tried installing using an old TWRP without any success

The other Problem and i hope you work on sloving it that in all Roms starting from 6.0.1 , 7.0 and 7.1.1 has a problem which is suddenly turning of phone during the call and i will tell you how it does

Try to make a call then answer and turn off the screen by pressing on the Power button then but the phone on your ears and speak then move it far away from your ears and you will find that the phone will turn off without any warn and without telling anything

It's not a problem in my phone itself as it works normally on older roms without any problem and working normally on Xstasy Rom

So if you have any solution for that please provide it please

Thank you for your hard work :)
[Xperia Z2 Android Development] m1st3r1:
hi, thank you for your works, so many roms by one dev, nice. but i think, it makes it harder to catch up, which rom is your priority, what bugs exist in each rom (like someone reported front cam is broken in lineage os) and whats the changelogs (does purenexus has the latest android security patch?) i think it's better to create different thread for each rom, :D

for now im gonna stick with aosp.

thanks a lot
[Xperia Z2 Android Development] Mohaned98:
PureNexus has 5th of Jan security patches
[Xperia Z2 Android Development] pixel0:
release version of purenexus source? Is it 1/6/2017?
[Xperia Z2 Android Development] Mohaned98:
I'm on purenexus atm.. even though my issue is still persistent but the rom is very awesome.. everything is awesome about this rom and i'll just ignore the camera issue.. one thing tho, power + volume up just turns off the screen
[Xperia Z2 Android Development] Mostafa Sherif:
Please bro tell me how to flash Pure Nexus rom because i tried to flash it too many times and give me this problem

mount: failed to mount /dev/block/bootdevice/by-name/system at /system: No such file or directory

unmount of /system failed: no such volume

Flashing System..

mount: failed to mount /dev/block/bootdevice/by-name/system at /system: No such file or directory

unmount of /system failed: no such volume

Flashing Kernel..

script succeeded: result was [1.000000]

Updating partition details..

...done

So if you can give me your steps for flashing it exactly on which recovery(version) and how to flash i will be thankful for you
[Xperia Z2 Android Development] chriskhany:
Ahm....on the firs page of twrp recovery theres a mount folder in there put a checkmark besides system.have u done that?if u haven't...do so and flash the rom again

And I used twrp 3.0.2 the latest version.
[Xperia Z2 Android Development] Mostafa Sherif:
Actually i uses twrp 3.0.0.0 and i also tried to check system but also it gives me the same result i will try it now on twrp 3.0.2 and i will give a report

Thank you for your answer
[Xperia Z2 Android Development] Mohaned98:
Did you wipe system? Try flashing stock rom then follow the i instructions on OP but use the twrp build from rcstar's mega folder v 3.0.0

Gl
[Xperia Z2 Android Development] Mostafa Sherif:
I flashed twrp 3.0.2 and i tried flashing Pure Nexus but it still give me the same result

any other idea??

and what is the kind of System format ext4 or 3 or what??
[Xperia Z2 Android Development] iXaidyiu:
EXT4, and if you want to switch ROMs, it seems that restoring STOCK FTF via flashtool is a must. After restoration, you can proceed to flash the ROM.
[Xperia Z2 Android Development] Mostafa Sherif:
I always make wipe system, cache, dalvik cache and data but it gives me the same result... i'm also used twrp 3.0.0 and 3.0.2 and the same result

which stock rom you are talking about ??

---------- Post added at 11:03 AM ---------- Previous post was at 11:01 AM ----------

Thank you for your replay

Can you give me a link for this STOCK FTF?
[Xperia Z2 Android Development] Mohaned98:
Flash sony's stock latest mm .291 then follow install instructions from Op

Edit : replied in pm
[Xperia Z2 Android Development] hamzxoxo:
How are the charging speeds on PureNexus Rom?
[Xperia Z2 Android Development] Shady_BlackSn0w:
What's the difference between AOSP and pure nexus ?

Thanks
[Xperia Z2 Android Development] Mohaned98:
Purenexus is an aosp based rom like cyanogenmod, lineageos, paranoid android..etc but it's customization is all gathered into 1 section in settings page with some awesome optimizations overall in the system and it has the pixel accent too, use it.. you'll love it
[Xperia Z2 Android Development] iXaidyiu:
Download flashtool and you will found a FTF downloader called XperiFirm there.
[Xperia Z2 Android Development] djgigi94:
I tried pure nexus: No gapps installation issue, very smooth, i must install mini gapps....this rom doesn't have a launcher, no camera included and when i try other cameras...front camera doesn't work. For root i must install supersu? Thanks
[Xperia Z2 Android Development] iXaidyiu:
Front camera works when you put the app in split screen. And supersu is not a must.
[Xperia Z2 Android Development] Mohaned98:
pure nexus has pixel launcher built in.. also i asked rcstar about the camera and he said he'll fix that in the next build
[Xperia Z2 Android Development] akshay2shah:
[MENTION=5621191]rcstar6696[/MENTION] - finally got to know about front camera issues.

Front camera only works at aspect ratio (4:3)

Front camera fc when aspect ratio changed to (16:9)

Thats why it only works at spilt screen.

Those who have front camera fc issue please change aspect ratio to (4:3)
[Xperia Z2 Android Development] dex87xda:
Can u tell about image quality?! Vs stock auto mode for example ;)
[Xperia Z2 Android Development] djgigi94:
Supersu it isn't a must ok...but i want know how to root there without risk.Or if this is possible.

But with pico gapps i don't have any launcher .With mini gapps i have pixel launcher! I check it on settings also.And thanks for information about camera app ;)

It works thanks! I hope that will e fixed. In aosp ,the front camera works in all resolutions

---------- Post added at 03:27 PM ---------- Previous post was at 03:24 PM ----------

Quality on this aosp is low ...we wait the new camera blobs who they improve the camera. But if you use snap camera hdr and you have some patience and use right settings (there are a lot of settings with aosp) , you can make good phothos(only for light scenes, with dark not yet). But the camera it isn't definitive. And for now, stock is really better.
[Xperia Z2 Android Development] iXaidyiu:
Unlocking your bootloader and rooting are of equal risk. Just flash SuperSU.zip in TWRP then you will have root.

---------- Post added at 03:57 PM ---------- Previous post was at 03:55 PM ----------

You can imagine images with no auto-focus, and that's what you will have.
[Xperia Z2 Android Development] djgigi94:
I know ...i want a feedback only...because in carbon for example there isn't root and with supersu flashed i got bootloop. I ask for information . And i try now supersu....got reboot and now it's ok ;)
[Xperia Z2 Android Development] iXaidyiu:
After flashing SuperSU it will sometimes take a very long time in order to boot up.
[Xperia Z2 Android Development] pixel0:
For now this rom is best to have on Z2.And guys please follow instructions as given you will also get to taste the flavour of purenexus.Im happy with this rom.I hope sony will release blobs soon. Call Echo and camera will be better with final audio and camera blobs release.

And also I want to mention that you can now enjoy carbon rom builds which can be downloaded from official website.
[Xperia Z2 Android Development] Shady_BlackSn0w:
Sirus builds aren't available yet on Carbon's website, just checked it
[Xperia Z2 Android Development] pixel0:
https://basketbuild.com/devs/CarbonROM
[Xperia Z2 Android Development] tmknight:
This URL is more correct: https://get.carbonrom.org/device-sirius.html
[Xperia Z2 Android Development] Shady_BlackSn0w:
[MENTION=5621191]rcstar6696[/MENTION]

Any news about the blobs ?

Thanks
[Xperia Z2 Android Development] Austin.gonzo:
[MENTION=5621191]rcstar6696[/MENTION] since you want to bring Carbon Rom & LineAge OS to z2, don't you think it's better if they have separate threads ?
[Xperia Z2 Android Development] DiogoSilva48:
That ROM is from Rcstar or from another developer ?

---------- Post added at 06:32 PM ---------- Previous post was at 06:25 PM ----------

Can someone send me the adreno driver v145 ??? Can be flashed from TWRP?
[Xperia Z2 Android Development] pixel0:
Rcstar6696 maintaining the carbon builds also.

---------- Post added at 06:44 PM ---------- Previous post was at 06:43 PM ----------

Yes it will be better for users but they are on same base, development will be easier. But eventually there will be a separate thread.
[Xperia Z2 Android Development] akshay2shah:
https://xdaforums.com/attachment.php?attachmentid=3810680&d=1468334041

Flash zip via recovery

Adreno 330 drivers v145.
[Xperia Z2 Android Development] DiogoSilva48:
Carbon is my favourite ROM, my phone feels like a Nexus device.
[Xperia Z2 Android Development] dex87xda:
Ok aosp, carbon or purenexus.

Most stable is???
[Xperia Z2 Android Development] Mohaned98:
Carbon and PureNexus are based off AOSP and they're all pretty stable.. only issues are the slight echo in calls and camera quality but those will be fixed in the future
[Xperia Z2 Android Development] chriskhany:
Carbon.linage.nexus.aosp.

They're all pretty much the same(ofcourse substratum in nexus or linage makes them a bit different from aosp but I really don't know what carbon offers!)but there's one thing I'd love to add to any rom...slim recents....could someone teach me how i could add it..(unfortunately i prefer it over omniswitch which is easy to implement as well)???(if rcstar6696 were to make a slimrom as well id call him an awesome multi tasking monster!great job and fighting! Im sure ur having a rough time there!)
[Xperia Z2 Android Development] ScatteredHell:
just flashed purenexus, but i'm stuck in get connected screen. no matter which network I connect , it's stuck saying checking for updates. anyone got this?
[Xperia Z2 Android Development] iXaidyiu:
Press return should solve this.
[Xperia Z2 Android Development] ScatteredHell:
nope, even if i pressed return i only get to first screen, where I have to choose a language.

alright, reflashed again with stock gapps. now working
[Xperia Z2 Android Development] ScatteredHell:
Anyone using purenexus? Well this kernel doesn't have ondemand governer. Is there any other kernel I can flash?
[Xperia Z2 Android Development] base.injector:
I got stuck too but in lineageos. i changed to english language and it works
[Xperia Z2 Android Development] ScatteredHell:
Got it working now. Thankd
[Xperia Z2 Android Development] hamzxoxo:
Carbon is also based on 7.1?

And how is the gaming performance?
[Xperia Z2 Android Development] Dilesh Perera:
yes 7.1.1
[Xperia Z2 Android Development] Mohaned98:
1 issue with purenexus.. when I press power off, it shows me reboot menu
[Xperia Z2 Android Development] st0wz:
I think it needs a bit of editing to fit Z2. I was flashing on both stock and AOSP rom. My phone works very hot, overheating and restarting when I play games. :(, Whether fps gaming has increased
[Xperia Z2 Android Development] LongLuu:
I used los/carbon/purenexus, device often reset incall. I don't know why. I went back to AOSP :(
[Xperia Z2 Android Development] iXaidyiu:
You mean after you have flashed this zip on both stock and AOSP the phone restart due to overheat?
[Xperia Z2 Android Development] mysubcult:
Cam fixed on new carbon rom?
[Xperia Z2 Android Development] Mohaned98:
Cam is working on all roms but quality and autofocus are bad.. read before you ask please, this was already answered a couple of pages before
[Xperia Z2 Android Development] st0wz:
i mean when flashing this driver, phone overheating when i play 3D games. I've never seen that before here so I think that is not optimized for z2 and need a little editing
[Xperia Z2 Android Development] iXaidyiu:
That should be normal for any phones, when running some high demand applications.
[Xperia Z2 Android Development] pixel0:
Its purenexus bug which will be fixed when next release will come.
[Xperia Z2 Android Development] Mohaned98:
Cool

I found another bug.. it's a tirvial thing but I'll mention anyways

When notification drawer is fully expanded and there's a notification and u long press on it, it shows like this as in the picture.. i have to slide up slightly so it gets fixed.. insignificant bug but thought I'd say anyways

https://mega.nz/#!LthwXSra!S1G79x9dhkkCEKE6c-excFfhT5CB-e5J_1cs2Kd_ZYA
[Xperia Z2 Android Development] iXaidyiu:
I have seen that bug on other devices too... So it may not be the ROM issue but rather than the source code defect...

And which ROM are you on?

//Please don't upload screenshots to MEGA, it consumed too much process to view. You can use the attachment system in XDA.