yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] chriskhany:
​

It's easy to mod and work with z2.in fact much easier than all other brands.in short it's just that this rom is an exception from all other z2 roms since it needs it's own Kernel and etc...to skip over losing it either have the kernel and twrp merged or simply use multirom recovery and use this rom as a secondary rom.at first it was a failure because this rom needed it's own Kernel but someone mentioned he didn't get bugs(newer build??)

Or. Much simpler use other roms and give up on 7 for now.

---------- Post added at 12:18 PM ---------- Previous post was at 12:12 PM ----------

Personally I think the safest fastest and easiest one is using adbtools.ive tried all other ways but non is as good as sticking with adb and a pc.if needed theres a guide for it on the first page.
[Xperia Z2 Android Development] iXaidyiu:
Use adb via command prompt. Most traditional way but safest.

---------- Post added at 12:30 PM ---------- Previous post was at 12:27 PM ----------

But Sony is more development friendly...

//I am scared of the Odin sh**

///Making a Samsung to explode is easier then the frying pan Sony too...

////No offence[emoji28]
[Xperia Z2 Android Development] xPr0metheus:
I was very surprised to see that Sony itself offers the needed tools to unlock the bootloader. You wouldn't see something like that from Samsung.

Gesendet von meinem Pixel XL mit Tapatalk
[Xperia Z2 Android Development] ScatteredHell:
nope, sony is very much easier when modding comes than any other device
[Xperia Z2 Android Development] DiogoSilva48:
The problem with Sony in roms is getting the camera working like on stock.

//Happy New Year everyone
[Xperia Z2 Android Development] iXaidyiu:
And you know what, they even supply a guide to build N ROMs for the left behind devices too.

This really encouraged me.
[Xperia Z2 Android Development] twistedddx:
I assume you meant fastboot.

eg: fastboot flash recovery twrp.img
[Xperia Z2 Android Development] iXaidyiu:
Yes indeed.
[Xperia Z2 Android Development] base.injector:
Well. Mine works good and no lost of recovery.. Here what i did.

First: extracted boot.img from rom zip.

Second: flashed the boot via fastboot.

fastboot flash boot boot.img

Third: downloaded twrp recovery from mega.. You can see the file called recovery when you want download the rom.

Fourth: flashed recovery via fastboot.

Fastboot flash recovery recovery.img or what the file called.img

Make sure you flash the recovery after flashing boot.img and not before

After flashing recovery.. I unplug my device and restart it and keep pressing the vul-up button.. Not holding it.. It will enter to recovery.. Do a wipe data cache system.. After that flash the rom and flash mini or nono gapps.. If you want root.. Flash it.. And done.. I haven't seen any problem after doing this :D
[Xperia Z2 Android Development] xPr0metheus:
Thanks I will try that!

Gesendet von meinem Pixel XL mit Tapatalk
[Xperia Z2 Android Development] Hariskh:
Just wipe system cache and dalvik cache from the recovery and flash the rom did the same its my first week of android N didnt have a single FC or random reboot.No need to flash the boot.img. To flash TWRP root the phone using supersu 2.78 sr5 then place recovery img in internal storage and install the official twrp app and select your .img and select flash to recovery. Simple
[Xperia Z2 Android Development] twistedddx:
I just installed the latest build 20161223 and decided to make a test call to my carriers support service.

The support line is handled by an automated robot that can understand speech etc.

It was impossible for the call to progress as the robot was unable to manage the amount of call echo. It would continuously believe I was speaking because it could hear itself.

Muting my microphone 100% corrects the issue which leads me to the echo is likely a physical microphone being able to hear the speaker and software not being able to remove the echo.

Block mics with thumb I get.

Normal:

Speak to top - clear

Speak to bottom - clear

Block the top mic dot:

Speak to top - clear

Speak to bottom -

Block the bottom mic dots:

Speak to top - muffled

Speak to bottom - muffled

I tried placing my thumb as firmly across the top speaker of my phone during a call to the support line which made the audio extremely muted but this did not assist the robot/echo at all.

As another issue volume for any call is constant. Volume control does not function, you see the slider move but the volume does not alter.

I found a similar bug for the z3 compact where that community seems to be actively trying to resolve currently:

https://github.com/sonyxperiadev/device-sony-aries/issues/49

It appears the audio config is not fully functioning for our devices, perhaps constant volume and call echo are all related to the audio input/output devices not being configured correctly.
[Xperia Z2 Android Development] J.M.Siyath:
Sir can i try the experimental Lineage OS? or is it only for your experimental purpose? because whenever you build anything for us you put it into the nougat folder...
[Xperia Z2 Android Development] Austin.gonzo:
as the guy above me says :) the LineAge Rom is up, let's test it n send in bug reports to make it bug free(with the big help from RcStarr,of course)
[Xperia Z2 Android Development] iXaidyiu:
The LineAgeOS build is not up yet, let's wait for [MENTION=5621191]rcstar6696[/MENTION].
[Xperia Z2 Android Development] Dilesh Perera:
LineAgeOS build is up man its in the experimental folder!

but i dont know if it for us or not. and it was uploaded very recently
[Xperia Z2 Android Development] akshay2shah:
Yes !

In Experimental folder

lineage-14.1-20161230-UNOFFICIAL-SonyLOS-sirius.zip

https://mega.nz/#!qFJAiABZ!smjpfTmEgtoguvhJGCZkyZ-Xy44ilfyW7dvIL65545E

Is Bluetooth wakelock issue fixed in this LOS build ?

Or r u gonna upload seperate AOSP build ?

[MENTION=5621191]rcstar6696[/MENTION] thanks
[Xperia Z2 Android Development] base.injector:
What's the difference between this aosp and los one ?. It seems like they took it from here.. Why so happy about los version.. They would have the same bugs listed here.. I think they were the same.. Correct me if I'm wrong
[Xperia Z2 Android Development] Austin.gonzo:
Check b4 Saying anything bro, u make yourself look dumb. No offense
[Xperia Z2 Android Development] rcstar6696:
Yes but its not the final fix

Aosp build will follow after we fixed a small thing

Bug list is the same only diffrence is hdr does not work on los
[Xperia Z2 Android Development] base.injector:
Then i prefer your build.. Even if los fixed bugs or added some features. I started with you.. Then i will finish it with you :good:
[Xperia Z2 Android Development] akshay2shah:
So basically u r saying Bluetooth wakelock issue is partially fixed and added to LOS.

you still need some work For wakelock issue?
[Xperia Z2 Android Development] rcstar6696:
Wakelock is ok but after turning off BT event wakelocks are there

The causes are timing problem
[Xperia Z2 Android Development] iXaidyiu:
Sorry:p

I am terribly tired so I overlooked something:(
[Xperia Z2 Android Development] xerxes101:
Has any1 tried experimental lineageos
[Xperia Z2 Android Development] Piotrekkn:
i tried but couldnt install it.
[Xperia Z2 Android Development] st0wz:
^ try with other twrp
[Xperia Z2 Android Development] Piotrekkn:
Im trying right now! :D

gonna keep you updated :)

ok it works what i did was:

fastboot erase system

fastboot erase cache

fastboot erase boot

fastboot flash boot boot.img (took it from the zip)

fastboot flash recovery recovery.img (used this one cm-12.1-20160822-NIGHTLY-sirius-recovery.img, twrp didnt work)

install zip in recovery
[Xperia Z2 Android Development] raminta:
i have flashed the experimental lineage os and it is fast and stable

review : 1 - the wifi problem on some devices still exist(region code cannot be changed)

2 - camera shots is so bad

i dont see any other bugs

Edit 1: meybe this : https://xdaforums.com/wiki/WiFi_regional_problem_on_Android

helps for wifi [MENTION=5621191]rcstar6696[/MENTION]

Edit 2 : the ROM goes a little lagy some times
[Xperia Z2 Android Development] st0wz:
How to disable desk dock mode (autorotate screen) when connect magnetic charger? it's difficult when there is no XPOSED :(
[Xperia Z2 Android Development] Piotrekkn:
go to settings - > display -> screen saver -> off
[Xperia Z2 Android Development] st0wz:
Sr, i mean is disable autorotate when connect magnetic charger.
[Xperia Z2 Android Development] ruslan1968:
gapps found uninstallation problem on Nougat 7. 1. 1,it was the twrp, set this one cm-12. 1-20160822-NIGHTLY-sirius-recovery. img, all established without problems
[Xperia Z2 Android Development] aboodyaiman:
Some apps are rotation locked, like Instagram, I believe you can fix it with apps configuration maybe?
[Xperia Z2 Android Development] akshay2shah:
[MENTION=5621191]rcstar6696[/MENTION] - Quick Bug Report of Experimental LineageOS

Some bugs

1. Hotspot - Broken

2. FM radio - Broken

3. Bluetooth - Unstable

( All 3 bugs need to add fix from previous AOSP build )

Plus points

1. No need to format External SD card ( exFAT working )

2. Android system webview can be installed via playstore and we can select form developer options (AOSP webview/Android system webview)

Miscellaneous - APK(unknown sources apps) can only be installed from internal storage.

[MENTION=5621191]rcstar6696[/MENTION] - Please remove 3 bugs which we have already fixed in last AOSP build.

Thanks !
[Xperia Z2 Android Development] chriskhany:
With xposed I used ownorientation module to overcome that so if xposed lights on nougat ud be good to go
[Xperia Z2 Android Development] 7Zero3:
[MENTION=5621191]rcstar6696[/MENTION]

On AOSP N I can't use my exfat formated sdcard is this an issue of nougat or is it because my sdcard has 2 partitions (exfat ~48gb + ext4 ~10gb)?

I hope it's not a problem of MultiROM... I'm booting AOSP N of my sdcard.
[Xperia Z2 Android Development] iXaidyiu:
Possibly cause of MultiROM.
[Xperia Z2 Android Development] xPr0metheus:
I just recognised that I use a very old build of your ROM (mobile mega doesn't show the dates, that's why)

Thus, I tried to dirty flash to the latest build, which gave me Error 7. Some pages back this post https://xdaforums.com/showpost.php?p=70036475&postcount=2464 talks about flashing kernel .291 from gustavo thread. You already know by now that I am new to Sony devices, so I have some questions:

Can I flash this kernel although I am on a Nougat rom already?

I probably need to flash it with fastboot then, right (not over existing recovery)?
[Xperia Z2 Android Development] 7Zero3:
okay :|
[Xperia Z2 Android Development] Austin.gonzo:
Hey RcStarr is Bluetooth wakelock fixed ? If not then you should talk to them because they got it working for z3, I dont think I should mention that z2 and z3 have identical hardware only minor changes :D .

https://xdaforums.com/z3/orig-development/7-1-cyanogenmod-t3508140/page23
[Xperia Z2 Android Development] N00b_H:
It's not multirom.

aosp doesn't support exfat sd cards, you need to either format it again or you can use lineage OS.
[Xperia Z2 Android Development] xPr0metheus:
Guys I have a new problem: I cannot install some of the drivers for flashtool on my PC. Seems to be the fastboot drivers because that's the only thing that doesn't work. I am running a Windows 10 64bit setup (Insider Preview). Hadn't had a problem to install the drivers on my friends Windows 10 PC though... Any idea?
[Xperia Z2 Android Development] akshay2shah:
[MENTION=5621191]rcstar6696[/MENTION] - Bluetooth wakelock fix as [MENTION=7198048]Austin.gonzo[/MENTION] mentioned in z3 cm14.1 thread

https://github.com/sonyxperiadev/device-sony-shinano/commit/661750778c09f3857ad1047b44ef3c2b8e93b2e9

https://github.com/sonyxperiadev/kernel/pull/1095/commits

Is it helpful ?

Thanks!
[Xperia Z2 Android Development] 7Zero3:
Maybe a problem of the insider preview :| had the same problem with an older insider preview
[Xperia Z2 Android Development] Mohaned98:
What error do you get?

Try this

Launch cmd as admin

Enter : shutdown /r /o /f /t 00

Then go into advanced options and choose boot options or something, can't remember exactly

Then press the number that says something about disabling driver signature checking then pc will reboot and try again
[Xperia Z2 Android Development] twistedddx:
Just hold shift and restart instead of command line.

And yes disable driver signature enforcement to install driver.
[Xperia Z2 Android Development] pixel0:
It was already fixed 3 days ago by [MENTION=5621191]rcstar6696[/MENTION] as he mentioned earlier and it will be in upcoming aosp build.

But z3 development is ahead of z2 a bit.They even dont hv call echo bug mentioned in their forum.Also I found they are using David alviteri patches for better camera mentioned in LineageOS z3 thread.
[Xperia Z2 Android Development] m1st3r1:
wait what? https://xdaforums.com/showpost.php?p=69816575&postcount=3 i think Z2 is ahead.

anw, im using the latest AOSP N (build 20161223) and i can not take screenshot (error image), same with screen recorder, used to be fine in older build. can anyone confirm this?

and one more thing. the change to sdcardfs make the folder mount unusable, so i use hybrid card now. not really complaining, just information.

thanks.
[Xperia Z2 Android Development] akshay2shah:
Screenshots working.

No issues here with partial screenshot and full screenshot with 20161223 build.

Didnt try video recorder.
[Xperia Z2 Android Development] m1st3r1:
damn im such a noob, didnt know how partial screenshot work. Lol.

yea, screenshot is working. Thanks.
[Xperia Z2 Android Development] akshay2shah:
Is screen recorder working ?

Cause someone before mentioned that it's not working.

Plz confirm.
[Xperia Z2 Android Development] xPr0metheus:
Does the bootloader stay unlock when I flash stock rom or do I need to unlock it again?
[Xperia Z2 Android Development] Dilesh Perera:
it will be Unlocked until u lock it again . flashing rom wont change it
[Xperia Z2 Android Development] MJ999:
Anyone who have used it can confirm is it worth unlocking the bootloader for this ROM?
[Xperia Z2 Android Development] Dilesh Perera:
it might not at this moment. but soon will be as we will not get any official updates again. if u plan to unlock make sure to backup TA first to preserve ur DRM keys . u cn find toll in XDA. do not unlock without backing up TA. u cam Locl BL again when u want with DRM keys working
[Xperia Z2 Android Development] DiogoSilva48:
Yes, everytime I install the stock ROM again I restore my Ta partition.

Can someone tell me how stable is LineageOS ROM?? Should I use AOSP or LineageOS??
[Xperia Z2 Android Development] xPr0metheus:
I finally got the latest aosp from December to work, however again after rebooting the twrp disappeared. Now I want to flash root but have no recovery.

If I flash the recovery image with fastboot will my ROM stay as it is? (userdata etc)
[Xperia Z2 Android Development] rcstar6696:
The new release all won't have custom kernel features

OC and underclock are removed

same as sound control and voltage table

One of these things destroy our devices or better will bring our device to kernel panics so if the update came out please update directly

i thing its the voltage table in combination with the oc

please update as fast as you can and enjoy deep sleep bt is fixed incuelding fm
[Xperia Z2 Android Development] DiogoSilva48:
And when comes the next LineageOS build?? I am really enjoying it.
[Xperia Z2 Android Development] rcstar6696:
building after aosp
[Xperia Z2 Android Development] m1st3r1:
Screen recording is working, im using recme app, just need to clear its data then it's working again.
[Xperia Z2 Android Development] ScatteredHell:
Camera works in whatsapp, but whatsapp needs to be in multi windows mode. otherwise it'd say camera error. main camera is ****, secondary camera works good but in monochrome
[Xperia Z2 Android Development] base.injector:
Did you put the new gpu drivers from qualcomm ?
[Xperia Z2 Android Development] hamzxoxo:
Everything works in LineageOS?
[Xperia Z2 Android Development] Noss7i:
resolution of the camera is so baaad any fix ??
[Xperia Z2 Android Development] base.injector:
We all know that.. And it has been explained.. Please use the search button ;)

---------- Post added at 03:17 AM ---------- Previous post was at 03:16 AM ----------

Except hdr mode for the camera.. And that has been fixed in aosp
[Xperia Z2 Android Development] Noss7i:
thnx for your replay and i hope fix it soon
[Xperia Z2 Android Development] J.M.Siyath:
New AOSP build is downloaded...... (sirius-rcstar6696-NMF26Q-20170103.zip)
[Xperia Z2 Android Development] Noss7i:
what about camera ??
[Xperia Z2 Android Development] J.M.Siyath:
same.....
[Xperia Z2 Android Development] LongLuu:
delete
[Xperia Z2 Android Development] xPr0metheus:
Some questions:

If I flash recovery boot image, will it reset my ROM?

If not, can I dirty flash from the previous to the latest AOSP release?

And a ROM related question: Is there an option somewhere to disable vibration completely? I hate vibration, on Samsung phones you can disable it. Is this a Sammy feature?
[Xperia Z2 Android Development] pixel0:
No, rom is on system Partition and kernel on boot partition. And u can go with a dirty flash if u want just clear cache/dalvik.

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

For vibrations, go to other sounds in sounds settings.
[Xperia Z2 Android Development] base.injector:
Seems like video recording was fixed but hdr got broked again ?
[Xperia Z2 Android Development] Mohaned98:
Flashed the latest build with the latest opengapps nano build and latest supersu zip, but i cant get the camera to work idk why but it the app can't connect to the camera and I can't turn on flashlight either

I like the device's performance once I set cpu governor to performance and gpu to simple_ondemand using kernel adiutor

The call echo isn't that bad and I use my earphones most of the time anyways so no big deal

I'm in love with this rom so far but im really frustrated by the camera and flashlight issue

Worth noting : I disabled Gallery and installed Google Photos instead

Also when i tried to install brighter flash mod in /system/etc i couldn't even find a flashled_calc_parameters.cfg

---------- Post added at 02:39 PM ---------- Previous post was at 01:53 PM ----------

I checked using Antutu, still on v140.. I flashed 145 manually anyways
[Xperia Z2 Android Development] base.injector:
Thanks for replying. The camera works.. Its focus and quality are bad...
[Xperia Z2 Android Development] Mohaned98:
it's not working for me, says can't connect to camera
[Xperia Z2 Android Development] iXaidyiu:
Try clean installation again. DONT FLASH PIXEL CONVERSION PACK.
[Xperia Z2 Android Development] Mohaned98:
I'm doing a clean install again now, will report back.. I didn't flash the pixel pack the first time.. But I found pixel navigation bar once I flashed the rom idk if it's implemented or what but I didn't flash anything other than rom, gapps and supersu

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

I just erased system and boot then flashed boot and recovery then flashed the zip and rebooted but the camera is still not working.. didnt flash anything with the zip

I also got E: unkown command [log] after flashing is over
[Xperia Z2 Android Development] iXaidyiu:
It seems you didnt clear cache and ART cache, did you?
[Xperia Z2 Android Development] Mohaned98:
wiped dalvik, cache, system and data in TWRP

---------- Post added at 03:46 PM ---------- Previous post was at 03:45 PM ----------

do i have to flash the top zip file first then flash the latest update?
[Xperia Z2 Android Development] Meloferz:
Thanks [MENTION=5621191]rcstar6696[/MENTION] for the new builds! I will try LOS and see how works :)
[Xperia Z2 Android Development] paulwollf:
I See you built carbon today are you planning to continue It was my favourite cuszom Rom Back in KitKat days on LG g2
[Xperia Z2 Android Development] Shady_BlackSn0w:
[deleted]
[Xperia Z2 Android Development] akshay2shah:
Get all Latest Stock Sony Apps on AOSP/LineageOS

Don't miss your beloved Sony Apps

https://xdaforums.com/showthread.php?t=3263403
[Xperia Z2 Android Development] Mohaned98:
[MENTION=5621191]rcstar6696[/MENTION] [MENTION=6891123]iXaidyiu[/MENTION] Here's a logcat I hope it helps figure out the issue, i was asked to put it here

https://mega.nz/#!eo5iQLKJ!LWQRfNHk5RUgbqVWY9EpdaiPcV_6fgor28gz1WaEXR4
[Xperia Z2 Android Development] rcstar6696:
Yes sirius is added to carbon weekly :)
[Xperia Z2 Android Development] rcstar6696:
So the issue is camera APP clean data and don't use Google cam only open camera and aosp cam are supported
[Xperia Z2 Android Development] Mohaned98:
The issue is present in all apps and I can't turn on flashlight.. Problem is on Instagram, Imgur, Messenger, Whatsapp.. everywhere.. I also tried using OpenCamera but still it says the camera is being used by another app

I'm having this issue on a 100% clean installation, no gapps, no supersu, nothing
[Xperia Z2 Android Development] pixel0:
There may be two reasons. May be your gapps package replacing aosp camera and libs by Google camera. Or, its a hardware issue and you can check it by going back to stock.
[Xperia Z2 Android Development] akshay2shah:
THIS IS ONLY ABOUT CAMERA.

I will post Latest AOSP review after some time.

I m latest AOSP. did clean install.

AOSP and open camera app works well,

But

I can't use camera in any other applications like WhatsApp, messenger etc.

In WhatsApp it says " can't start camera, restart your phone"

In messenger it says " camera is used by another applications "

I had restarted phone and checked if any app using camera.

Error still there.

Thanks !
[Xperia Z2 Android Development] m1st3r1:
Try using whatsapp in multiwindow/split screen, the camera works there, i think someone alr mentioned this here. Dunno bout messenger as i dont use it. It works fine (ignoring the quality) in Snapchat and instagram tho. so i think it's the whatsapp's fault, dunno for sure.

I think (and hope) there'll be new build for january security patch, so im gonna wait for it :D

and, has anyone tried the lineageos (build 20170104)? can give us review here? mainly hotspot, data, wifi, bluetooth, the sdcard, ive read that it support exfat partition for sdcard.

thanks
[Xperia Z2 Android Development] akshay2shah:
Just Installed Clean LineageOS latest build 20170104

1. Hotspot (2.4/5ghz) with data on - OK

2. Bluetooth - OK

3. FM - OK

4. Deep sleep - OK working great

5. NFC - OK

6. Charging - OK

7. Flash - OK

8. USB Tethering - OK

9. Camera

- Rear - OK

- Front - Broken (always says can't connect to camera)

- Video Rec - OK

10. Echo

- 2g/3g calls - acceptable echo on callers end.

- VoIP calls (WhatsApp, messenger) -No echo.

11. Whatsapp, messenger can't use camera. There is always camera error.

12. Webview - Installed Google Webview, can be selected from developer options after installation..

13. exFAT is working with LineageOS.

no need to format external SD card like AOSP.(sometime works, sometimes doesn't work, STRANGE)
[Xperia Z2 Android Development] LongLuu:
and the camera's focus ? i try carbon rom, focus is ok but random reset incall
[Xperia Z2 Android Development] Mohaned98:
As i mentioned, the issue is present on a fully clean installation without gapps installed and i did try going back to stock and the camera is functioning, it's functioning on CyanogenMod 12.1 too
[Xperia Z2 Android Development] Austin.gonzo:
[/COLOR]

Will we be able to see the builds on the official carbon site ?
[Xperia Z2 Android Development] iXaidyiu:
The build is branded unofficial bro. Only when rcstar6696 opted in as a device maintainer or CROM developer will the ROM be listed on the official site.

//Dont get me wrong, I hope this to be come true sooon enough too.
[Xperia Z2 Android Development] rcstar6696:
Yes it will be added

https://plus.google.com/+CarbonROM/posts/YpTD31Pmwz7
[Xperia Z2 Android Development] rcstar6696:
Sorry but for me the cam works everywhere

I can use facebook whatsapp and all other things with cam