yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] master08ozan:
Setting - > System - > Gestures
[Xperia Z2 Original Android Development] xamqoptm:
I'm talking about the bar under the keyboard, there is no option to take it out. I already tried Setting - > System - > Gestures. :crying:
[Xperia Z2 Original Android Development] Peyman082:
سلام رام عالی اینقدر خوبه که میشه از مشکلاتش چشم پوشی کرد دوتا مشکل داره که یکیش مصرف سریع باتری و دیگری نقطه ی اتصال وای فای , کسایی که رام براشون نصب نمیشه یا هر اروری میده اول آخرین نسخه ی رام رسمی گوشی رو نصب کنه بعدش اینو نصب کنه تا بالابیاد موفق باشید و تشکر از سازنده به امید بهتر شدن
[Xperia Z2 Original Android Development] koraymers:
im not sure what you meant but you can try this module on magisk
[Xperia Z2 Original Android Development] xamqoptm:
It's the bar that appears under the keyboard when you wanna write something. For instance, when I click on a search box I get the Keyboard + the bar(under the keyboard).

This Module fix the problem! Thank you! :good:
[Xperia Z2 Original Android Development] blacknight153:
SOLVED i needed custom kernel to change screen color saturation but i found that xda provided an app callled sa2ration works great so far
[Xperia Z2 Original Android Development] blacknight153:
My opinion on this rom so far,(Small bug found)

Ok so i spent 1 day of using the rom and so far so good the rom is very snappy games run fine and better than it did on android 9 AICP except asphalt 8 i don't know if its a game issue or the rom ,Found some bugs but its not that annoying i think its most of it is easy to fix

1-after restarting when you go to settings from quick settings the settings app wont open until you open the settings app it self from home screen then it works normally

2- 4k recording is some what working on open camera but there is a fps drop maybe its from my kernel manager because i was recording in 1.2ghz

3-60fps is also drops frames which i think its easy to fix and its also tested in open camera

4-noticeable battery drain i don't know why i use greenify and battery saving settings in EX kernel manager

5-Youtube Picture in picture mode is buggy i don't know why it wont appear until you press on it and it appears normally maybe becuase i use youtube vanced

so far thats what i found thanks for the rom btw :laugh: keep up the great work
[Xperia Z2 Original Android Development] Peyman082:
Bugs of this ROM

1_ No face unlock

2_ After installing gapps(micro&nano) that I restart, I hit the password for the first time, it hangs

3_ 4 hours, from 3% to 100% (battery and original charger)

4_ Does not shoot video from the screen when hitting the power

5_ Pulling the boot for up to forty seconds

6_ Change the hour after Restart

7_ Wi-Fi and the hotspot of the damaged Wi-Fi. Hope to fix the problems Thanks

.t.me/special_prosecutor
[Xperia Z2 Original Android Development] blacknight153:
On my phone here I am seeing better performance I would use the phone a day or 2 then it starts to stabilize and WiFi works for me and kernel manager is not working well for some reason do you face this issue too ?
[Xperia Z2 Original Android Development] a95i:
Hi Mr. NeoArian, I solved the antenna problem, but wifi shows me when you put the phone in airplane mode.

can you help me
[Xperia Z2 Original Android Development] blacknight153:
Any way to fix this kernel issue ??

i cant change cpu frequency or the gpu frequency they change on there own i cant control it tried diffrent kernel apps but the same issue happens is it the magisk version that i use ?? i am using version 20.3
[Xperia Z2 Original Android Development] Peyman082:
WiFi only works as long as the SIM card is not available or the aircraft mode is restarted.

But the clock is evil bad from Restart

---------- Post added at 03:17 PM ---------- Previous post was at 03:05 PM ----------

Install

1-rom

2-gapps

3-magisk

After reboot
[Xperia Z2 Original Android Development] blacknight153:
wait i should reboot after installing magisk does this really work ?? i really need it to work
[Xperia Z2 Original Android Development] atti9935:
How you solved the antenna problem?
[Xperia Z2 Original Android Development] Peyman082:
​

Yes it works, install all three in the recovery section later reboot
[Xperia Z2 Original Android Development] ticktock666:
I can't boot into the 3.3.1 twrp version, after installing through fastboot, I turn off the device, then power it up while holding the volume down button, but nothing happens.

If I keep holding down the vol_down button, the device vibrates then reboots, if I release the buttons as soon as the phone is on, nothing happens and it continues to boot into the ROM.

I'm trying to create a magisk module for the modem firmware, but I'm unable to test because of this, so I'm wondering what I'm doing wrong here, any ideas? Maybe it's a timing thing?
[Xperia Z2 Original Android Development] koraymers:
try to flash your img file with twrp app from play store
[Xperia Z2 Original Android Development] a95i:
first flash d6502 patch then flash kernel in page 3
[Xperia Z2 Original Android Development] nhuduy:
Like you, and I flash with TWRP from Play Store. But it is not working, like you again.

Can't turn on TWRP recovery.
[Xperia Z2 Original Android Development] Iscariah:
Are you sure about the volume down button? I flashed the latest TWRP 3.3.1 and have no problem booting into it, but I press several times the volume UP button right after the Sony logo appears, until my Z2 vibrates and the LED switches from red to blue...
[Xperia Z2 Original Android Development] nhuduy:
I click 2-3/reboot to recovery and volume down.

I will try to click more.

Thanks you.
[Xperia Z2 Original Android Development] ticktock666:
I use this method to boot to my current twrp, but when I tired the same with the 3.3.1 version the phone just reboots does back to the don't logo.

If I flash the img file from inside my current twrp it only shows the flash to boot, and if do that I can actually go into the recovery but my phone won't fully boot because I replaced the kernel itself.
[Xperia Z2 Original Android Development] atti9935:
I cannot find the kernel on Page 3 can you share me the link.
[Xperia Z2 Original Android Development] koraymers:
try rz kernel from z2 general thread but i dont recommed cuz current one is supports double touch to wake, device only gps support etc.

arian's still developing because we share it with all shinano platform he can take data from this source and it may let fix bugs . so it's more efficient. also rz has stopped i guess.
[Xperia Z2 Original Android Development] devilgloom:
Both rz kernel and xren kernel not working in Android 10 please don't try if flash that your phone going to boot loop
[Xperia Z2 Original Android Development] a95i:
View attachment kernel_permissive_patcher.zip
[Xperia Z2 Original Android Development] atti9935:
Thanks bro, it's working. :)
[Xperia Z2 Original Android Development] darknessmc:
Does changing kernel to permissive make the sim network work for you? Share everything you did for people to help them.
[Xperia Z2 Original Android Development] ticktock666:
I'm still gonna try with the magisk module, once i can get the twrp recovery to actually boot that is, I do not like setting Linux kernel to permissive, as that is one security feature I want to keep
[Xperia Z2 Original Android Development] a95i:
Well, good luck:good:
[Xperia Z2 Original Android Development] a95i:
Stock sony camera app

Hi, you were able to flash Sony camera software
[Xperia Z2 Original Android Development] blacknight153:
I tried to install camera mod in magisk but it gave me bootloop
[Xperia Z2 Original Android Development] atti9935:
Yes changing the kernel to permission fix the modem. Simple steps as follow,

After installing the room.

Install baseband Patch provided by [MENTION=256850]neoarian.[/MENTION]

Then change the kernel to permissive.

---------- Post added at 04:04 PM ---------- Previous post was at 03:58 PM ----------

This is great Rom enjoying it a lot.

Found a weird bug, in landscape mode changing the volume will lock the screen and in landscape mode button below volume panel is also changed.

Hope [MENTION=8746471]NeoArian[/MENTION] will fix this in next build.

---------- Post added at 04:06 PM ---------- Previous post was at 04:04 PM ----------

No, I didn't tried to install because I don't need that. But I think that is also related to flashable zip compatibility with TWRP 3.3.1. Maybe need to update the zip to latest format.
[Xperia Z2 Original Android Development] koraymers:
volume issue is already mantioned before. tell us about general performance, phone idle battery consumption and different governor settings
[Xperia Z2 Original Android Development] atti9935:
All bugs are mentioned in the previous posts that I found, and for performance of the rom it is better then Android 9, battery consumption is bit more and charging is also slow. Volume issue is very annoying thats why I mentioned it.

But overall I love this rom.
[Xperia Z2 Original Android Development] blacknight153:
Agree this ROM so far is far better than android 9 Roms
[Xperia Z2 Original Android Development] NeoArian:
Make sure to install the latest stock ROM before because sony delivered the feature to boot a kernel with appended dtb in the last updates and my twrp takes use of that so you need to flash the latest stock ROM before.

I have been going through your messages and want to ask if I understand it correct now: D6502 works fine when you install the rom, flash the zip I provided and then flash the kernel permissive patcher? If so, could someone be so kind and record an adb logcat on D6502 during boot in permissive?
[Xperia Z2 Original Android Development] atti9935:
Here it is.
[Xperia Z2 Original Android Development] atti9935:
Medium Torch Booster

Original mode created by olokos just sharing the file and path for Android 10

Extract the attached file and replace the extracted file at the following path via root explorer. Because I don't know how to create a flashable ZIP for Android 10 ?.

System/vendor/etc/flashled_calc_parameters.cfg

Set permission of file to 0644.

Enjoy the boosted torch.
[Xperia Z2 Original Android Development] a95i:
What is it for? What is its function?
[Xperia Z2 Original Android Development] @kitokit:
For torch/flashlight enhancement
[Xperia Z2 Original Android Development] a95i:
Thank
[Xperia Z2 Original Android Development] juancho1540toby:
hello, i have a problem to install the rom

1: which version of android stock or cooked should I have

2: do I have to be a root user?

3: the recovery twrp could not be installed on the phone because it does not start in the recovery mode, it only shows the logo and turns the phone on normally.
[Xperia Z2 Original Android Development] @kitokit:
You should be on latest stock which is Marshmallow Android 6,

Use fastboot command to flash recovery and from recovery you can flash the ROM.

And make sure you already unlock your bootloader.
[Xperia Z2 Original Android Development] blacknight153:
I got an annoying issue here i cant change the CPU frequency is changing on its own i tried many methods but non of them worked at all any help??
[Xperia Z2 Original Android Development] ssjoker:
--------------------------------------------------------------------------------------------------------------------------------------------

Hi NeoArian, hello guys

need some help ... today i installed lineage 17.1 lastest version and everything is great but i have one big problem (this is my problem not global), i dont have WIFI detection , need setup wifi regional country and i was test some apps and modules from xposed to magisk but i cant connect to wifi network. is it have any solution?

ty all
[Xperia Z2 Original Android Development] a95i:
سلام برادر اول d6502 بیس باند ارایه شده neoarianرا فلش کن بعد kernel که تو همین صفحه هست را فلش کن آنتن درست میشه wifiباید بذاری حالت هواپیما ریستارت کن گوشی را بعد میبینی wifi نشون میده
[Xperia Z2 Original Android Development] juancho1540toby:
hi, to install the rom I have to have root? and another is how they start the recovery mode because I can flash through an adb folder, or they could explain to me how I should flash the recovery.

I already have the bootboater unlocked and I have the latest stock version for this sony z2
[Xperia Z2 Original Android Development] ticktock666:
You need to have fastboot drivers installed on your pc, and fastboot package from Google too, I'm not gonna go into how to have that setup.

Turn off your phone

Hold volume up and connect phone to pc with usb cable, your are now in fastboot mode

Open folder where you saved the recovery image file you download from the first page of this thread

Hold shift and right click in the folder (this is for Windows pc), select open command line here

In the cmd window type fastboot flash recovery <name of recovery img file>.img (a useful tip is type the first 2 letters of the file name then hit tab on keyboard, it will auto complete, if you have multiple files you can keep pressing tab to cycle between them) then hit enter

You'll get a message saying something about flashing file successful.

Unplug phone from pc

Hold the volume down and power until the phone starts, then release volume down

You should boot into recovery

[MENTION=8746471]NeoArian[/MENTION] can this room, and the patches in it, be used to build a different room, for example resurrection remix or aex?

I've never done ROM building before, and I'm hoping on using this extended lockdown to learn and maybe try to do it, I used to mod the stock ROM for my personal use with good results, but I'm not sure if I'm getting into something way beyond my level with this.
[Xperia Z2 Original Android Development] pesimist2006:
thank you very much

very beautyfull but

Camera button does not work
[Xperia Z2 Original Android Development] blacknight153:
I confirm that it works perfectly fine
[Xperia Z2 Original Android Development] juancho1540toby:
problem with wifi signal

hello, I have had a problem and I don't know how it could be solved, what happens is that it has little wifi signal when it is close to the wifi modem, the stock rom did not have this problem, it loses 2 to 3 stripes and causes it to slow down the Internet.
[Xperia Z2 Original Android Development] pesimist2006:
sorry

camera button works
[Xperia Z2 Original Android Development] Samir2298:
same problem to me. On stock signals are good but this rom it's weak...
[Xperia Z2 Original Android Development] BigBrother84:
Hi,

does double tap to wake work?

Thank you for that great rom!
[Xperia Z2 Original Android Development] koraymers:
it works
[Xperia Z2 Original Android Development] NeoArian:
Hey there,

I'm sorry for being pretty inactive here within the last week's, I didn't have much time left for my sony Shinano devices recently. I have got a new phone that needed to be brought up and that consumed most of my spare time and that still not completely done. I will try to find some time to unify the builds for D6503 and D6502 so that both one are working fine with one build and without the need to flash a zip for d6502. I can't say when this will be ready, please be patient.

Thanks for your understanding!

Greetings, Arian

Am I understanding it correct that you have working WiFi in this rom but the signal strength is weaker then the signal strength you get when you are using the stock rom?
[Xperia Z2 Original Android Development] BigBrother84:
Working

-Viper4android

-Xperia launcher universal version works even with full android 10 gesture navigation!

-Double tap 2 wake

-Netflix app doesn't crash while opening but still not logged

-Sony apps universal like weather, calendar

-Mirroring desktop using USB adapter but not in android 10 desktop mode

-Teamviewer qs but to remote control you have to contact them for extension I used anydesk instead - works

-Teamviewer pilot

-Xprivacylua

-Aurora store and Aurora droid with root installing

-Sony Device Dummy

-Offline charging

not working

-Fdroid privileged extension

-Sony apps enabler (yes I mount system partition before flashing both versions) this is different module than Sony Device Dummy

not tested

-Miracast

-Gravitybox (couldn't find q version in repo even with beta enabled)

-Ifont
[Xperia Z2 Original Android Development] koraymers:
try sony device dummy instead of sony apps enabler. it's working on me

ps. in addition to above, you can also try sony framework on magisk. I've got both of them so I'm not sure which is working properly currently
[Xperia Z2 Original Android Development] @kitokit:
How did you manage to install viper4android? Can you share your steps? I always ends up in a bootloop.
[Xperia Z2 Original Android Development] BigBrother84:
If it helps but I think I installed it like always.

1.Flash magisk

2.disable lineage audiofx using e.g. airfrozen

3.Download viper 2.7 from xda labs

4.Grant root and install drivers

5.Reboot.

6. In magisk manager app in modules should appear Viper4android

6. Enjoy

Did it on both z2 so it should work...

What I didn't do is flash stock before installing lineage. I moved directly from aicp with rz kernel.

How? So after fastboot flash recovery I force reboot to recovery using device keys, wipe everything and format data then install rom and magisk.

If you got bootloop after installing viper, maybe you have to set selinux to permissive (I got same problem on XZ1 lineage 17 thread and somebody shared script that worked but you know what you lose)

The question is, why to change selinux if it works for me with enforcing...

I'm not a specialist, only guy who joined forum, learned everything from it and just started learning java. That's why I don't know exactly what is going on...

But I hope you'll finally get it somehow! :)

Here are evidence:
[Xperia Z2 Original Android Development] @kitokit:
Is the viper 2.7 you mentioned a magisk module? I did a clean flash, flash stock mm and then lineage 17.
[Xperia Z2 Original Android Development] BigBrother84:
I checked and v4a is Magisk module but you install it from xda labs like normal app, grant root and rest is done by app. Reboot

I don't know if it works with lineage su.

If you just want soundmod and you don't really want viper, there are avaliable Dolby Digital plus and Sony stock xz2 soundsystem. Read carefully threads and check if they work with los17.

Of course if you know you want viper you should be able to install it.

First of all backup everything in twrp and try follow steps from previous post.

Maybe send me pm if I can help you but as I said I'm just interested in android, not specialist.

Hope you'll get it!
[Xperia Z2 Original Android Development] BigBrother84:
I found a bug but cannot take screenshot, sorry for picture quality.

If you enable gestures navigation and show arrow keys while typing, hide keyboard button and change keyboard button are in the same place as arrows, so cannot use them and rest buttons.

May I send logs?
[Xperia Z2 Original Android Development] @kitokit:
Finally got viper working..thanks for the steps.
[Xperia Z2 Original Android Development] ticktock666:
Can you explain the force reboot to recovery bit? If I flash using fastboot I can't access the recovery, not by turning on with volume down or by pressing the volume up when the device vibrates.
[Xperia Z2 Original Android Development] @kitokit:
I think you power off your phone and then when turning it on back.. you have to hold power+ volume down buttons simultaneously until the twrp flash screen comes up.
[Xperia Z2 Original Android Development] BigBrother84:
I'll try but recommended is flash previously stock. It's written in first post.

I didn't flash stock, did it directly from aicp. So I got problem, that after flashing recovery, was unable to boot into it.

So connect phone into fastboot mode by holding turned off phone vol + button and connecting USB. Command: fastboot flash recovery patchtorecovery, then disconnect USB and hold power on button and vol - button in a same time. When you see Sony logo, release power button and start fast press and release only vol - button, pending you see twrp screen.

Eventually use fastboot reboot recovery command (don't know you have to check it)
[Xperia Z2 Original Android Development] l3nnard:
After working through this thread I still have some questions and maybe it is a good idea to ammend this info to the first post...

So I am currently using Lineage OS 14.1 on my Z2 and quite happy but I would like to switch to a more up to date version regardless.

Is this release feasible as a daily use OS?

Do phone calls work?

Does wifi/bluetooth/gps work?

Offline charging?

Camera/Video/hardware button? (I have read that Sony has some proprietary image stabilisation tech that does not work if the DRM keys arent installed, can this be circumvented with this rom)

I probably forgot some stuff, but theese are the most important features that come to mind...

Any answer would be greatly appreciated, Thank you!
[Xperia Z2 Original Android Development] koraymers:
hey guys

seems like android 11 doesn't come with arm32 version. so for 32bit platforms like our device, the current version which is android 10 may be the latest version for us.

latest released a11 developer preview has arm64 bit support and intel x86 arch, not arm32.
[Xperia Z2 Original Android Development] m3ni:
Thanks to all the hard efforts which the developer had put in this ROM. It's amazing !

But i'm having a region problem, :(

I live in iran and this ancient problem had been with most ROMs, WiFi Works without SIM card, but with simcard, it doesn't.

back in the CM days, there was an option in wifi settings which gave the option to change wifi region, and so far i didn't found any working solutions

It'll be awesome to have the fix implemented in this ROM,

Thanks again to [MENTION=8746471]NeoArian[/MENTION] For this perfect ROM.
[Xperia Z2 Original Android Development] JCWangK:
Why does my time reset every time I shut down
[Xperia Z2 Original Android Development] Dikus_Z2:
Send screen not working

First of all, thank you to [MENTION=8746471]NeoArian[/MENTION] for this great job. Our Xperias Z2 are alive again and working as it was new.

I installed LineageOs 17.1 as described in the first post and I was trying some of its functions but Send Screen (Miracast or mirroring) is not working in my Xperia. It searches for devices to connect but it doesn't find anyone. Obviosly I can connect to my TV with others devices.

This is my information:

LineageOS version: 17.1

Gapps version: open_gapps-arm-10.0-micro-20200417

wipe: as indicated in the first post

restore with titanium backup: no

reboot after having the issue: yes, several times

Are you using--

a task killer: no

a non-stock kernel: no

other modifications: none

It worked with the official stock rom. My logcat if it helps, is attached.
[Xperia Z2 Original Android Development] JCWangkie:
BUG Feedback

Why does the date and time reset every time I restart.Happened on the March 16th version
[Xperia Z2 Original Android Development] ali6944:
might wanna give this a try: https://xdaforums.com/showpost.php?p=82082675&postcount=26
[Xperia Z2 Original Android Development] koraymers:
wait for new build it will be fixed [MENTION=5389428]m3ni[/MENTION]

---------- Post added at 08:52 PM ---------- Previous post was at 08:51 PM ----------

update your magisk if you installed
[Xperia Z2 Original Android Development] NeoArian:
Good evening,

I'm uploading a new build to https://sourceforge.net/projects/ephedraceae/files/sirius/lineage-17.1/ (should be available witin 15 minutes, sourceforge need to mirror it)

Since it has been a while i don't have a changelog but D6502 should be supported now and the problem about forgetting time should be resolved.

Please give feedback about D6502 and happy flashing!