yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] f2065:
The bug is still there… If the properties of the application prohibit the use of data transfer (via Wi-Fi AND mobile) - it crashes in the application "Settings"…
[Sony Xperia M2] sgspluss:
This update should fix gps hopefully, the other problem will fixed in next upates else.
[Sony Xperia M2] f2065:
I found that the phone does not wake up. This happens often, but because of the bug in the driver of alternative sensors. This time - the reason is new!

07-23 16:37:32.192 1089 4373 W Watchdog: *** WATCHDOG KILLING SYSTEM PROCESS: Blocked in monitor com.android.server.am.ActivityManagerService on foreground thread (android.fg), Blocked in handler on ActivityManager (ActivityManager), Blocked in handler on PowerManagerService (PowerManagerService)

After that, the screen was not turned on (log read through adb)

full logcat attached
[Sony Xperia M2] sgspluss:
Will look into it soon, now i am in holidays for one week... If i am back at home be sure will look into it.
[Sony Xperia M2] hooooossamq:
happy holiday :)
[Sony Xperia M2] pdalfarra:
Great work so far!

I just installed it and I'll report bugs (along with logcat output) if I find some.

Thanks a lot for this good work!

:good::good::good:
[Sony Xperia M2] f2065:
Problems with GPS are not fixed!

1. For some reason, GLONASS satellites are not used. In the factory firmware they were used.

In this firmware, GLONASS satellites are visible, but fixation on them never occurs.

2.When driving (in a car), the fixation of all satellites periodically disappears. Problem in the firmware. I kept other phone for comparison - he did not lose his companions.

I also went on this route with the stock firmware 5.1 - and she also did not lose the satellites. But in this firmware 8.1 - there is a regular loss of satellites.

And it looks like this is happening when the LTE network is lost and there is a transition to the 3G network or a 2G network.

And, after rebooting the phone - within an hour the problem with the loss of satellites does not arise. And then he begins to lose again satellites while driving in the car.

in logcat nothing interesting for this time I do not see.

dmesg in this firmware does not actually work (.
[Sony Xperia M2] walkman-610:
there was a problem with receiving messages. rebooting and reinstalling sim cards did not help. had to be stitched to stock
[Sony Xperia M2] sgspluss:
Thats for reporting will look into the problems as soon as i am back at home.
[Sony Xperia M2] f2065:
I checked in air-mode. On the same route where there were several losses of fixing the GPS before - in the air-mode mode, no loss of fixation!

It looks like the problem is somehow connected with the transitions between LTE and 3G networks. Or with the use of some auxiliary data via the Internet.
[Sony Xperia M2] sgspluss:
It could be possible that i've made an mistake, i've back from short holidays so will look into it tomorrow...
[Sony Xperia M2] gajojet:
can i use this rom for xperia m2 aqua?
[Sony Xperia M2] f2065:
Yes,

but the latest versions m2 aqua (revision 5) after 1-3 days do not work all the sensors (proximity, orientation, compass). The driver of alternative sensors contains some bugs…
[Sony Xperia M2] galaxyfreak:
Is it Pie time yet? ;)
[Sony Xperia M2] JuniorCaesar:
i guess so :)

what you think about it? can eagle handle it for daily usage or we should forget about it? i guess it will push the limits of sd400 but who knows
[Sony Xperia M2] sgspluss:
Tbh i've not working on android p yet, just because of the bugs on oreo. As soon as they are mostly fixed will begin the work on p.

I think the phone can handle it, but more can say if the first build is done and working.
[Sony Xperia M2] JuniorCaesar:
take your time, i will choose stable oreo over pie (lag-free oreo go edition can be more amazing, but i dont really know what causes the lag) :)

again thank you for the good work!
[Sony Xperia M2] sgspluss:
We will see what what the time will bring us... I will give my best to get everything working and mostly bug/lag free. After that we can talk about android p.
[Sony Xperia M2] galaxyfreak:
Haha, at time of writing this, noone is working on Android P yet because AOSP sources aren't completely uploaded yet.

I've posted the message above just for, let's say trolling.

I probably won't do any thread or "real" development, but I do wanna see the hardware situation aka how broken stuff will be on initial build.

Nougat -> Oreo sensors and video camera were hell, hoping it's gonna be easier this time.

Now the "standard" procedure takes place - waiting for either Omni or Lineage team to start merging stuff etc.

[MENTION=5785496]JuniorCaesar[/MENTION]

As for actual usage... don't expect too much. Fresh boot is probably gonna seem great but after you throw on Gapps and 5 apps in memory it'll start to lag.

Doubt new animations and gestures are gonna do us any favors, as well.
[Sony Xperia M2] sgspluss:
Well maybe its possible to fix any issue with camera with ideas taken from other sd400 and sony devices, but this needs much time to testing it, for that reason i've linked an other camera where everythings works.

We will see what happen, how broke it will be and what we can fix...

Saw today on review.lineage there are merge some stuff, of course not all but works in process its question of time when it will be ready.

So far i've try to fix the other problems here in oreo, to get this stable... ;)
[Sony Xperia M2] Pitrecha:
Hey, after upgrading from BETA2, I can not connect to the bluetooh sensors of my bike. Endomondo searches for them but can not connect. I checked version -20180707- and -20180722-, several versions of endomondo and other applications. Everything worked well at BETA2.

Someone had a problem with this and found a solution?
[Sony Xperia M2] walkman-610:
after 3 weeks of work on this firmware, the screen turns off when the call comes in. and after a reboot the sensor sometimes does not work, as on the old kernel from [MENTION=5360291]freack_v[/MENTION] 5.1.1
[Sony Xperia M2] Nixeus:
Hello,

Thanks for the hard work ! I flashed the rom but have a little issue : I don't find where te restore my application and setting with my google acount.

I sign it....but no backup are loaded...i just got the contact...not my applications....

I didn't have the reload screen after the first boot.

Is it ok ? How to force the sync?

Thanks a lot :)
[Sony Xperia M2] xazakasrizava:
I'm having some major problems with rooting the latest build, flashing Magisk does nothing, neither SuperSU, clean install does nothing again, even the Lineage root enable zips do nothing. I'm at a loss, anyone have any suggestions?
[Sony Xperia M2] mantazzo:
Did you use Lineage su zip from version 14.1?
[Sony Xperia M2] xazakasrizava:
Magisk was the culprit! turns out flashing the Magisk uninstaller let me install the LineageOS root addon. Now I don't know why Magisk would give such trouble though...
[Sony Xperia M2] f2065:
I took 3 photos in the built-in camera, and a few minutes after that the phone is fully frozen.

Did not react to the buttons and the touchscreen, the clock on the screen stopped.

And this is not the first time, any use of a camera (built-in) or a video camera (third-party) leads to a hangup or a reboot in a few minutes or an hour.

Does anyone else have problems after using the camera?

At me in adjustments the maximum quality of pictures, and save GPS-tags.

Through ADB, I kept logcat when it crashed…
[Sony Xperia M2] xazakasrizava:
I installed Simple Camera from the PlayStore and it works just fine, even video recording is working.
[Sony Xperia M2] f2065:
I tried Simple Camera, I do not like how it works.

Video there is written with poor quality. The rest of the cameras write FullHD, but Simple Camera writes 1280x720 (16: 9).

Photographs does not from the first time! Writes that the photo could not be saved. But on the second attempt - the photo does.

Maybe all this is due to the poor support of D2403 rev5 (driver of alternative sensors)?
[Sony Xperia M2] xazakasrizava:
Hey guys has anyone else had problems with notification access on this ROM? Specifically when I want to to enable notification access for an app. Here's what it says every time I try to enable it.
[Sony Xperia M2] basem_ym:
I assume that you enabled GO configuration?

If yes, then its not a problem nor bug, this is one of GO config. standards.
[Sony Xperia M2] xazakasrizava:
Oh! Didn't know that, thanks. Do you know if it's possible to enable notification access without having to disable Android Go configuration?
[Sony Xperia M2] basem_ym:
AFAIK, you can't.

Glad I helped :angel:
[Sony Xperia M2] hooooossamq:
a Bug

edit: sorry i was mean RR v6
[Sony Xperia M2] muthatrukka:
Brilliant :)

Nice work :cool::D:)
[Sony Xperia M2] masoonthegamer:
problems with wireless pay. terminal can't see a phone. and on the phone not situated anything (ssory, english is bad). what i can do?
[Sony Xperia M2] Okeanij:
Try Open Camera from F-Droid.
[Sony Xperia M2] cihatnuroglu:
nice works thank you

sony m4 aqua is work?
[Sony Xperia M2] sieghartRM:
Hi cihatnuroglu

This recovery is built for Sony Xperia M2 only, so it will not work with Sony Xperia M4 Aqua.
[Sony Xperia M2] matti_1967:
Installed 22072018 release lineage 15.1 unofficial

hello sgspluss

I've installed your build release: 22/07/2018 on my xperia m2 eagle.

Everything (exept camera) seems to me that works better than previously release.

I'm coming from lineage 15.0 unofficial.

Like i did in the previous release i've installed fj camera that works better.

I've tried to install your build starting from source code too, but the package doesn't get installed from twrp.

the build did successfull ,i've run the the followings commands after initialized the build environment:

source build/envsetup.sh

lunch lineage_eagle_userdebug

make -j4

make dist -j4

The build successfully and the last cmd created the .zip ota package that i've tried to install in my phone without success.

Maybe i would have to sign the package before trying to install it in my phone?

I've build lineage working on a linux Opensuse Leap 42.3 desktop

thanks for your awesome works, many thanks to all developers too (kj77, ecc)

:good:
[Sony Xperia M2] matti_1967:
HELLO GUYS

Finally i've successfully build lineage 15.1 os starting from yours source code on my xperia m2 eagle

Everything goes well except camera . the problem with camera was that built in app crash immediatley when you open it.

If you try another app camera (like fjcamera or simple camera) you can make a picture but you cannot save it on internal storage.

The build has been sync with latest lineage repo (i mean january 2019).

Do you have any suggestions or maybe can i send to you some logs?

how did i said in the previously post, if i install sgspluss custom zip (22/07/2018 release) the built in app camera works well (the movie cam is a bit slow)

thanks in advance

Max Mattioli
[Sony Xperia M2] sgspluss:
If you want to continue think would welcome to the community :good:

Will PM you as soon as possible, where we can talk about fixing that.
[Sony Xperia M2] prashant_ag_14:
Can u make a build for Xperia c3 dual?, it has same specifications as that of m2.
[Sony Xperia M2] Sikoka1989q:
we already know how to start the camera .. but we have a problem with AGPS

on github at f2065 see comments
[Sony Xperia M2] f2065:
Fix videocamera:

- https://github.com/f2065/android_kernel_sony_msm8226/commits/lineage-15.1

- https://github.com/f2065/device-sony-yukon/commits/lineage-15.1

commits «msm: vidc» and «treble_omx enable»

Fix firewall (bug: https://xdaforums.com/showpost.php?p=77017979&postcount=72)

- https://github.com/f2065/android_kernel_sony_msm8226/commits/lineage-15.1

commits «Allow IPTABLES REJECT commands»

AGPS not work.

XTRA-file downloaded - OK, reported in the log that successfully injected… But not work, really not injected or immediately cleared… We continue the study of this problem.

Another bug (in all versions LOS 14.1 and LOS 15.1) - the video camera records a very quiet sound.
[Sony Xperia M2] TheodreyZ:
Hello All

I have tried to install this ROM but no way! on my M2 D2303 5.1.1. - 18.6.A.0.182

Bootloader: unlocked

Recovery tested :

- XperiaM2-MultiRecovery-0.9-PC : installation aborted

- twrp 3.0.3 : installation successfull but bootloop on recovery, no boot on this Custom Rom

How have you succefull installed it ?

I don't undertand why it doesn't work...
[Sony Xperia M2] sieghartRM:
You should use this recovery to flash this ROM https://xdaforums.com/xperia-m2/orig-development/recovery-team-win-recovery-project-t3807714.
[Sony Xperia M2] muthatrukka:
I have same phone D2303 and worked fine for me as long as you follow all the steps in the link above.

:) Although for a stable ROM for daily use I still prefer OMNI -7.1.2 eagle and its google play certified :) hopefully there will be a stable 8.10 in the future :) :)
[Sony Xperia M2] TheodreyZ:
[MENTION=8562650]sieghartRM[/MENTION] : thanks for the link, i'll tried this later

[MENTION=9442881]muthatrukka[/MENTION] : which gapps have you used with this rom, nano ?
[Sony Xperia M2] muthatrukka:
I use pico gapps :)
[Sony Xperia M2] Evandro704:
will you provide some update and correction of this rom in the next months? or would you have one more updated that you already made available?
[Sony Xperia M2] masoonthegamer:
Hello guys, i have good news. Sikoka1989 is create a more roms. Lineage OS 14.1/15.1, RR, Aicp, Pixel Exp and etc. All you can see on his site on github, where he released all roms.

He work with los 16

In roms has fixed GPS, Camera. Its nearly stable roms. Enjoy
[Sony Xperia M2] JuniorCaesar:
that's good news, is he working on los16 now or not (i didn't understand that part properly)?
[Sony Xperia M2] masoonthegamer:
i communicate with him very good, and he really work with los 16

he write a new tree, kernel is ready (nearly, wifi and cam not work, but he work with bugs)

Wait, i too
[Sony Xperia M2] JuniorCaesar:
oooh that's awesome! i am happy that someone still develops for this device :))))
[Sony Xperia M2] mantazzo:
One question, if you don't mind me asking - that twrp link needs permission to view it, do we ask for it or not?

EDIT: Tried out the new RR build - works perfectly fine, I think - and now even Magisk fully works (with MagiskHide), so please pass my thanks to the dev.
[Sony Xperia M2] f2065:
AICP 13.1 (Android 8.1 Oreo) 2019.02.28

Resurrection Remix 6.2.1 (Android 8.1 Oreo) 2019.02.28

LineageOS 15.1 (Android 8.1 Oreo) 2019.03.12

LineageOS 14.1 (Android 7.1.2 Nougat) 2019.03.12

All firmware fixes AGPS and videocamera. Latest security updates.

New builds will be regularly after the next Security updates (but AICP and RR still do not apply new security updates).

Links to download, sources - http://www.f2065.ru/android/Android_M2_en.htm

ps. We are working with LineageOS 16. It is launched (on M2 Aqua), LTE/Internet, Camera, USB-OTG - are working. Bluetooth, Wi-Fi, microSD - do not work…
[Sony Xperia M2] JuniorCaesar:
that is awesome, thanks for extended support guys :)

i am hijacking the thread (sorry for that), but how about making AOSP 5.1 and 4.4.4 stable? i am gonna give a shot at los16 but at least stable 5.1 would be awesome for this device (in terms of performance and nostalgia factor :p). i compiled aosp 5.1 in last year but it didn't boot.
[Sony Xperia M2] symoom14:
Mobile data connectivity issues on Xperia M2 on 3G

Hi there. I flashed Lineage 15.1 (this build) on my Xperia M2 Dual and everything has been excellent except for the mobile data connectvity.

Basically, the issue is that when I turn on mobile data, there is this small cross on the lower right corner of the network icon but a H+ icon on the top. After a few seconds, both of the icons go away. And I cannot connect to the internet the whole time. It works fine on 2G.

There is no problem from my carrier. The APN is correct and I can use 3G just fine on other devices.

I'm a beginner so please pardon my mistakes. Any help would be highly appreciated.
[Sony Xperia M2] f2065:
What version of stock firmware (5.1 or 4.x) was installed before LineageOS?
[Sony Xperia M2] symoom14:
Hi. Thanks for the reply. It had stock 5.1.1 firmware before.

And also, I have found out a small but lengthy workaround. I have selected 2G in the preferred network type at first. Then I turned on mobile data. Then switched preferred type to 3G. After about a minute, the connection switched to H+ without any more problems. Now I have to do it every time I want to use mobile data. But this is an annoying workaround, to have to do this every time.

Thanks again ?
[Sony Xperia M2] f2065:
In older versions of LineageOS 15.1 the same problem?

Check lineage-15.1-20180722-UNOFFICIAL-eagle.zip from https://basketbuild.com/devs/sgspluss/rom/eagle/15.1
[Sony Xperia M2] basem_ym:
Am I the only one facing offline charging problem?

Its present in every custom rom I've tried.

Whenever you turn off and plug in charger, phone won't boot with charger plugged in.

Not a big problem though, but fixing it would be nice.
[Sony Xperia M2] symoom14:
Okay I'll check and let you know.

Thanks again.
[Sony Xperia M2] mantazzo:
Yeah it's a known problem, and after many tries people gave up trying to fix this... I think last ROM I have personally used where offline charging (and also reboot to recovery) worked proper was either one of the older versions of RR/LOS 14.1 by galaxyfreak and co or even further back - CM13...
[Sony Xperia M2] f2065:
There are many more significant problems, so do not waste time on fix offline charging…

Memory leaks after several days of work

Audio levels in mixer_paths (videocamera, call recoreder, etc)

Reset of GPS after changing network 3g-4g

Black borders around the edges of the camera window

thermanager configs

Magisk

SElinux permissive

If it is known at what time it broke - then you can see what was changed in the source at this time. And try to fix it.
[Sony Xperia M2] mantazzo:
I probably said something a bit off there, but I never intended saying that fixing offline charging/reboot to recovery should be a priority. There's definitely more important stuff to fix. And from the list you mentioned:

- yes, leaks are problematic, though the problem I guess is that we can't save or see any logs just before that starts happening so we don't know why it keeps happening

- audio levels seem fine to me mostly, but adjustments can be made, of course

- I don't know about that GPS bug, does it happen when auto switching between 3G-4G or when you set to specific setting?

- true about the black borders, but I don't think that changes resolution or recording outcome?

- thermanager? Could you explain a bit more, perhaps, what are the problems with that for now?

- Magisk SEEMS to be fixed for me. Installed new RR build from the link in previous page (by that otber guy with github, not your link), a clean install - after I installed Magisk, SafetyNet was reported working but app install failed, so I disabled MagiskHide, restarted phone, checked SafetyNet again (to see it failing), enabled MagiskHide again, checked the log to see MagiskHide enabling immediately, checking SafetyNet AGAIN to see it working... And after that I discovered I can install apps from store and normally. So now I have Magisk working normally plus apps installing plus SafetyNet working.

- SELinux - do we really need to have it on enforcing?

Bonus:

With all that RR updating/reinstalling, phone is able to turn on again normally with headphones plugged in - with sgs's build it failed to fully boot with headphones plugged in (finishes booting up after disconnecting). So that's also nice.

All in all, I just want to say thank you to every single person, ex-developers on this phone and those still working on this phone and still working to keep this phone updated - not so many phones can "brag" about still being updated by community members to this day, haha. :)

EDIT because I completely forgot it originally: on offline charging - it's a very old issue. After spending some time with search in this forum, I think the last version which had both offline charging and "special" reboots working was the old CM13; After restructurization for LOS14.1 by galaxyfreak (back in early 2017) something changed and I don't think we ever got reboots or offline charging working as it should. If we could get some logs on what's going on when we're trying to turn on the phone with charger on, or when we try to reboot to recovery, what does it try to do and what it should do... Sadly I don't think logs are possible to get for that.

(Also very "crazy" observations - after ROMs were restructurised from CM14 to LOS14, ROMs stopped being recovery dependant (as in you could use any recovery you want pretty much). On the other hand, I found some posts here https://xdaforums.com/showpost.php?p=74770507&postcount=270 and it is being mentioned that a differrent solution was used back for CM13... But I doubt anyone would want to try their hand at that thing.)
[Sony Xperia M2] mantazzo:
Update: Small update on RR Oreo ROMs - don't expect newer ones. I have found out looking through Github that RR devs are done with Oreo already and are working ONLY on the Pie build, which saddened me quite a bit (this means that no new security patches will be implemented and no fixes to the weather services, etc. will be done).
[Sony Xperia M2] Jaswin Kumar:
Thank you so much! I'm currently using dotOS, it's amazing!
[Oppo F1] khannz7:
° Hey there , Lately I had added Dualbootpatcher to support F1f

•Haven't Tried it Yet

What It Does?

•Custom kernels for dual boot support

•ROMs so that they can be installed as secondary

•Google Apps packages for AOSP-based ROMs

•SuperSU so that it can be used in the secondary ROM

Try at your Own Risk

Download It:cool:
[Moto Z2 Force  Guides, News, & Discussion] Technical:
First, thanks to [MENTION=4604067]Uzephi[/MENTION] and [MENTION=3302201]41rw4lk[/MENTION] for helping me to use/recover my phone. Please, read and do not underestimate the guides: our phone is tricky! We have two system partitions (slot a and b) to allow stock updates on-the-fly. This complicates the normal flashing process and if you do not follow the steps, you may bootloop. Use these guides at your own risk!

Reading this page is a good beginning to understanding the A/B partitioning scheme and how Motorola Z2 Force works:

1) Our phone has A/B partitioning, so flashing Magisk/XPosed is different

2) It does not support Project Treble (faster stock updates)

3) It does not a recovery partition, so flashing TWRP is different

Note also that the RSD Lite from Motorola has issues with Windows 10 and you’ll need to manual flash firmware if you bootloop (see Process E below). Other way is directly flashing from Qualcomm EDL mode (Emergency Download Mode) from which users can perform various tasks like unbricking, unlock bootloader, and installation of any custom ROMs.

Right now, this guide has 5 parts (maybe we can dual boot our phone in the future). If you just want to use a rooted stock ROM, please, search for other guides here on xda. These guides were written (and tested) using a Motorola Z2 Force XT1789-05 phone (Brazil), although most of it should work for other variants if you download and use proper firmware files for these other phones. For other models, better if you follow Uzephi’s guide.

A. Opening bootloader

B. Preparing the phone to move into custom ROMs (AOSP) + TWRP recovery

C. Flashing a custom AOSP ROM + rooting

D. Dirty flashing AOSP ROM updates

E. Recovering from bricks or returning to stock

F. Oreo ROM features comparison table

If you want to move your Motorola Z2 Force to Project Treble ROMs, please, check this guide.

Here is a list of the ROMs that are waiting for you.