yashsingh1/xdaforums huggingface dataset:
[E 2015 Android Development] MrBoombastic01:
Install gapps after flashing Rom WITHOUT reboot.
[E 2015 Android Development] juanedr:
This Is a everyday use ROM? Stable?
[E 2015 Android Development] kd7eir:
I've been running it for months with no problems.
[E 2015 Android Development] joanthanmajh:
https://androidfilehost.com/?fid=962339331458991742

DroidFreak Built this
[E 2015 Android Development] drmarble:
I am very very pleased with the most recent updates to your oreo-surnia source trees. I am using the most recent branches of each tree (oreo-mr1, lineage-15.1...) Selinux is now enforcing! Cameras work, but I haven't tested them much. Battery consunption is low. I still get that error message from android go not being able to open a proc/mem??? file. It doesn't seem to hurt anything.

DroidFreak32, you have done an excellent job on this rom. Thank you.
[E 2015 Android Development] DroidFreak32:
It wouldn't be possible without the help I got from osprey developers. They are the ones whom you should thank including @MatiHalperin for his work in selinux.

Anyway heres the download links:

DL (AFH) : https://www.androidfilehost.com/?fid=818222786056031859

DL (Temporary mirror) : https://transfer.sh/jdraI/lineage-15.1-20180521-UNOFFICIAL-surnia.zip

Changes:

- WhatsApp video/gif sending fixed ( thanks to [MENTION=4912374]rahul9999[/MENTION]xda and [MENTION=7981204]ZjDroid[/MENTION] )

- SELinux Enforcing ( Thanks to @MatiHalperin )

- GPS config updates (Might work now idk).

and...

.

.

.

- HDR fixed finally.

There are still issues to be fixed though. For ex, boomerang in instagram doesnt work. There could also be some issues in audio/video codec too, audioFX doesnt work etc . And my trees are a mess without proper authorship for few commits so i wouldnt recommend using them for porting other roms..
[E 2015 Android Development] Sher1234:
Awesome, Thanks
[E 2015 Android Development] Ex_FallenSkyTear:
will you convert this rom to go version of android?
[E 2015 Android Development] drmarble:
It is already android go:

https://github.com/oreo-surnia/andr...mmit/810bfe4d84a417cee4a46f07e085a755a0a0aa5a

There are no obvious major changes. Maybe we need a go gapps package.
[E 2015 Android Development] DroidFreak32:
You don't need us to enable or disable GO.

You can just use this instead to enable or disable it yourself

https://xdaforums.com/android/software-hacking/mod-low-ram-property-patcher-android-t3737373
[E 2015 Android Development] d-manse:
Hi. I can't get the white little led working, not in charging, not in notifications.

Is a rom issue, or am i missing something? Mod kernels doesn't work on latest release.
[E 2015 Android Development] guenterm800:
[MENTION=6062450]ElDainosor[/MENTION] can you share your roomservice.xml please? I tryd to build the rom by myself without success.
[E 2015 Android Development] DroidFreak32:
He's probably busy with his own amazing ROM (bootleggers). You can use this manifest, just remove the 2 frameworks base entries https://github.com/DroidFreak32/loc...r/LOS-Oreo/local_manifests/lineage_surnia.xml
[E 2015 Android Development] guenterm800:
Thanks for help. I tried it without success. No problem, I will wait for the official version.
[E 2015 Android Development] DroidFreak32:
Oh What's the error?
[E 2015 Android Development] guenterm800:
I will check it tomorrow again. A compiel error, dualer module if I remember ... I will send you the error.

repo sync was OK, Start Compiler too (more than 2 hours to error - so I don't had time enought for deeper check this day, sorry)
[E 2015 Android Development] guenterm800:
[MENTION=5363856]DroidFreak32[/MENTION]: Here the error:

packages/apps/Dialer/java/com/android/incallui/call/DialerCall.java:818: error: cannot find symbol
return hasProperty(Call.Details.PROPERTY_WAS_FORWARDED)
^
symbol: variable PROPERTY_WAS_FORWARDED
location: class Details
packages/apps/Dialer/java/com/android/incallui/call/DialerCall.java:833: error: cannot find symbol
&& hasProperty(Call.Details.PROPERTY_REMOTE_INCOMING_CALLS_BARRED);
^
symbol: variable PROPERTY_REMOTE_INCOMING_CALLS_BARRED
location: class Details
2 errors
[ 14% 1105/7751] Building with Jack: /...rvices.core_intermediates/classes.jack
ninja: build stopped: subcommand failed.
09:32:56 ninja failed with: exit status 1
[E 2015 Android Development] jmo707:
Hey, I just noticied the 06-26 update yesterday. It's working like charm =) The indication LED is working again and the Trust system the Lineage team introduced went all well.

Thanks a lot!
[E 2015 Android Development] DroidFreak32:
Did you do this?
[E 2015 Android Development] guenterm800:
Sorry, my fault - I fixed it and I can compile without errors. Thanks a lot! :good:
[E 2015 Android Development] DroidFreak32:
Awesome.. I've even updated the Alberto branch of the common repo if you're interested to check it out.. might be helpful to us too if you can contribute, as I'm really busy with college placements and stuff
[E 2015 Android Development] guenterm800:
Build failt (repo sync / make clean / brunch surnia).

external/f2fs-tools/fsck/dir.c:142: error: undefined reference to 'get_dnode_of_data'
external/f2fs-tools/fsck/dir.c:269: error: undefined reference to 'get_dnode_of_data'
external/f2fs-tools/fsck/dir.c:509: error: undefined reference to 'get_dnode_of_data'
external/f2fs-tools/fsck/dir.c:614: error: undefined reference to 'f2fs_alloc_nid'
external/f2fs-tools/fsck/segment.c:82: error: undefined reference to 'set_data_blkaddr'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
[ 92% 71006/76523] Compiling SDK Stubs...tubs_current_intermediates/classes.jar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 92% 71007/76523] Compiling SDK Stubs...tubs_current_intermediates/classes.jar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 92% 71010/76523] //frameworks/compil... header-abi-linker libbcinfo.so.lsdump
ninja: build stopped: subcommand failed.
08:36:19 ninja failed with: exit status 1

#### failed to build some targets (55:07 (mm:ss)) ####
[E 2015 Android Development] drmarble:
There was a change to f2fs that needs some patching. Not the fault of surnia. For now you just need to pick the fixes:

repopick -t f2f2-tools-update

They should be merged soon.

edit: they have been merged. Build away...
[E 2015 Android Development] guenterm800:
It works! I installed the new rom without problems. All works fine.
[E 2015 Android Development] riyan65:
LTE working???

I want to know that is LTE is supposed as in know bug it says volte is not supposed,so I like to know if LTE/volte is working or not. thanks in advance.
[E 2015 Android Development] Sbubba:
Hello! Is this the latest version?

Thank you for the hard work :)
[E 2015 Android Development] DroidFreak32:
Probably my final update before squid2 gets things ready to make surnia get official LineageOS 15 port. :D

https://www.androidfilehost.com/?fid=1322778262903991458

Also , if possible check if audiofx works. and if it doesnt, flash this https://www.androidfilehost.com/?fid=1322778262903991476 and see if it gets fixed.

If it fixes, please report it :)
[E 2015 Android Development] Sbubba:
[MENTION=5363856]DroidFreak32[/MENTION] wow thank you!

Now I have LineageOS 14.1 but I'm going to flash this ROM next week and I'll tell you :)
[E 2015 Android Development] Sbubba:
Hello [MENTION=5363856]DroidFreak32[/MENTION] I just tried the installation but I get an error:

Installing '/external_sd/ROM Lineage 15.1 2018-08-26/lineage-15.1-20180826-UNOFFICIAL-surnia.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
selinux_android_file_context: Error getting file context handle (No such file or directory)
script aborted: E3004: This package is for device: XT1514,XT1521,XT1524,XT1526,XT1527,XT1523,surnia_uds,surnia_umts,surnia,surnia_udstv; this device is .
Warning: No file_contextsE3004: This package is for device: XT1514,XT1521,XT1524,XT1526,XT1527,XT1523,surnia_uds,surnia_umts,surnia,surnia_udstv; this device is .E:unknown command [log]
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/external_sd/ROM Lineage 15.1 2018-08-26/lineage-15.1-20180826-UNOFFICIAL-surnia.zip'
MtpServer::run fd: 15
E:request read returned -1, errno: 22, exiting MtpServer::run loop
Error flashing zip '/external_sd/ROM Lineage 15.1 2018-08-26/lineage-15.1-20180826-UNOFFICIAL-surnia.zip'

I followed the steps in the first post: factory reset, wipe dalvik and then install the zip. I tried more times but I don't understand where I'm wrong :(

I have a Surnia, XT1524 and I used Lineage 14.1 until today. Can you give me a suggestion, please? I attached the whole file log of recovery if it can be useful.
[E 2015 Android Development] DroidFreak32:
Which recovery are you using? Squid's latest is required
[E 2015 Android Development] Sbubba:
thank you for the immediate reply! I have the TWRP 2.8.5.0, I have to change? Before to make a mistake, do you mean this recovery? [TWRP][surnia] Squid TWRP Recovery for Moto E LTE

Thanks

***edit: I answer myself: yes, it was that!

I have a bit trouble booting it from adb fastboot (on ubuntu 16.04), beacuse the terminal stopped without find the phone:

fastboot boot twrp-surnia-3.2.3-r1.img
< waiting for device >

I write how I did in case someone had the same problem: thanks to this page https://xdaforums.com/android/help/device-recognised-fastboot-t3595054 you have to indicate the vendor ID 0x22b8 (this is vendor ID of my Moto E X1524) like that

sudo fastboot -i 0x22b8 boot twrp-surnia-3.2.3-r1.img downloading 'boot.img'...
OKAY [ 0.256s]
booting...
OKAY [ 0.194s]
finished. total time: 0.450s

so I can boot the new recovery.

Thanks, now I can install the ROM and gapps. I hope everything goes well :)
[E 2015 Android Development] DroidFreak32:
This could be helpful. Had no idea about it. :D
[E 2015 Android Development] Sbubba:
I've installed the rom and it is amazing! Very fluid, occasionally some app closes on its own but ok, overall the rom works well. Thanks!

I have a problem with the front camera: I can see the image of the camera but it doesn't take the picture. I have this problem also with Lineage 14.1, do you think it can be an hardware issue?
[E 2015 Android Development] DroidFreak32:
Nope. It's related to kernel. I just need to find some free time to build
[E 2015 Android Development] Sbubba:
happy that it's not hardware problem :)

do not worry, the phone works well even without a front camera :P
[E 2015 Android Development] Skeletrik:
Thanks for the update ?

Battery life is much better
[E 2015 Android Development] DroidFreak32:
Small update with the front camera fix. Nothing else has changed

https://www.androidfilehost.com/?fid=1322778262903993870

edit the previous update had issues with whatsapp

so heres another update

https://www.androidfilehost.com/?fid=1322778262903993870
[E 2015 Android Development] d-manse:
Latest update doesn't let me enable fast charge using kernel adiutor. Could it be because is already enabled?
[E 2015 Android Development] DroidFreak32:
LineageOS 15.1 Sept update

- Sept patches

- Using BT blobs from peach

- Using Squid2's temporary trees

- Updated CarrierConfigs to latest CAF tag for msm8916 (by dianlujitao)

So Jio / VoLTE users please test if VoLTE is working!!

https://www.androidfilehost.com/?fid=1322778262904014106
[E 2015 Android Development] impreza233:
Does it mean that an official Lineage OS 15.1 for surnia will be like this update? Thanks for all your hard work :)
[E 2015 Android Development] Sbubba:
Hello guys, my phone became slower so I wipe cache and dalvik cache from the recovery, as I usually do with other devices. I reboot and the phone seems to be blocked at loading screen.

Can I unlock the phone without reinstalling the rom from scratch? Thank you
[E 2015 Android Development] MrBoombastic01:
Maybe try dirty flashing?
[E 2015 Android Development] Sbubba:
Thank you for your answer, I had already made an attempt with the factory reset but nothing, so at the end I flashed the new version.

I have a doubt: when the phone will be slow again, how do I clean up the cache?
[E 2015 Android Development] MrBoombastic01:
Have you got Squid's TWRP?
[E 2015 Android Development] Sbubba:
yes, 3.2.3-r1 version
[E 2015 Android Development] hannibal97:
Guys need help.My notification bar settings buttons isn't working and recent and home buttons aren't also working. I was using whatsapp and my phone hung and booted and all these problems started I'm using applock does this have anything to do with this
[E 2015 Android Development] DroidFreak32:
Looks like something that happens when you don't finish the setupwizard fully..

Enable USB debugging , open command prompt to start adb and try executing this:

adb shell settings put global setup_wizard_has_run 1

adb shell settings put secure user_setup_complete 1

adb shell settings put global device_provisioned 1

Otherwise backup and do a Clean flash with proper GApps
[E 2015 Android Development] davidnw:
Thanks

Thank you for all your hard work. It is really appreciated.
[E 2015 Android Development] davidnw:
Updated surnia rom lineage-15.1-20181128-UNOFFICIAL-surnia.zip

I have compiled a new version of surnia linage-15.1 rom, that is Android 8.1.0, it includes all the updates from the last build in September and includes Android security patch level 5 November 2018. I have used it for a few days and have found no problems. I have posted the link to the file below.

I cannot help with any problems with this as I am not a developer, I have just followed the build instructions on the Linageos web site and help from this forum.

lineage-15.1-20181128-UNOFFICIAL-surnia.zip at androidfilehost.com

or

https://chenopod.net/Android/surnia/lineage-15.1-20181128-UNOFFICIAL-surnia.zip

The system details of the new rom on my phone -

[IMG="System info"]https://chenopod.net/Android/surnia/Screenshot_20181129-071733_Settings.png[/IMG][IMG="System info"]https://chenopod.net/Android/surnia/Screenshot_20181129-071740_Settings.png[/IMG]
[E 2015 Android Development] davidnw:
As at least 21 people have downloaded the rom, I will attempt to post an update about once a month to provide the monthly Android security patches and Linageos updates untill surnia's official version becomes 15.1 or interest fades.

The Android security patches are generally released in early days of the month so my next release should be posted soon.
[E 2015 Android Development] davidnw:
Minor Build issues

I am building the December release of the Surnia rom with the September Security Update.

I had two small issues were the build did not find two files but I could locate them and copying them from another part of the build tree and restart the build.

make[2]: 'include/generated/mach-types.h' is up to date.

CALL /old/android/lineage/kernel/motorola/msm8916/scripts/checksyscalls.sh

CHK include/generated/compile.h

GZIP kernel/config_data.gz

CHK kernel/config_data.h

AS net/wireguard/crypto/zinc/chacha20/chacha20-arm.o

fixdep: error opening config file: ../../../../../../kernel/motorola/msm8916/net/wireguard/crypto/zinc/chacha20/chacha20-arm.S: No such file or directory

/old/android/lineage/kernel/motorola/msm8916/scripts/Makefile.build:344: recipe for target 'net/wireguard/crypto/zinc/chacha20/chacha20-arm.o' failed

make[3]: *** [net/wireguard/crypto/zinc/chacha20/chacha20-arm.o] Error 2​

I could find the file chacha20-arm.S at lineage/out/target/product/surnia/obj/KERNEL_OBJ/net/wireguard/crypto/zinc/chacha20/chacha20-arm.S

and I copied it from the that location and the build continued. A similar issue occurred first with the file poly1305-arm.S.

My builds are based on the Linageos 15.1 tree and using ElDainosor's roomservice file mentioned at this post and following the build instructions. To rebuild this release, I just performed

repo sync

source build/envsetup.sh

croot

brunch surnia​

Would these file problems have been fixed by running 'breakfast surnia' again, or this there another step I missed ?

I will post the build tomorrow if I do not find any problems with the rom.
[E 2015 Android Development] DroidFreak32:
For now you can revert the commit which includes wireguard.

Or rm -rf the net/wireguard directory in the kernel tree and re build
[E 2015 Android Development] davidnw:
I have posted my December build at AndroidFileHost.

It includes this months additions and fixes to Lineageos 15.1 including the 5th December 2018 Android Security update.
[E 2015 Android Development] DroidFreak32:
Test build: This is just to get my trees of oreo upto date as I have been inactive here.

https://www.androidfilehost.com/?fid=11410963190603885742

Mirror: https://transfer.sh/wmujd/lineage-15.1-20181225-UNOFFICIAL-surnia.zip

Please test VoLTE calls.

CDMA Users you may need to set carrier like mentioned on this commit: https://github.com/moto8916/android...mmit/4ffa5ee03107289e5d5b93bc69d1670826c07879

If things are alright, I will post my updated trees for others to build.

Thanks!
[E 2015 Android Development] davidnw:
My ISP supports VoLTE but is there a way to test that a call was really made via VoLTE ?

I am downloading you build to test.
[E 2015 Android Development] DroidFreak32:
When you call someone who also has VoLTE enabled, you should be able to see the "HD" or something similar in your dialer app.

You may also see the VoLTE icon show up on status bar.

Another way to test it is be forcing your ISP to use "LTE only" in mobile network settings. (Instead of GSM/WCDMA/LTE or WCDMA/LTE or any other option) and then calling anyone.

This makes sure the network isnt switched to 3g for the call and is calling via LTE.

So far the reports are positive, so heres my manifest.

https://github.com/DroidFreak32/local_manifests/tree/master/LOS-Oreo/local_manifests
[E 2015 Android Development] davidnw:
I have done some more testing and compared results with my Moto G 4G (Peregrine) running the LinageOS 14.1.

First my phone service Telstra does provide Category 11 LTE.

On the Moto G according to the phone mobile engineering panel ( via *#*#4636#*#* ) Voice and Data are Both LTE see pic 1. Although it says LTE my "Network Signals" app by Kaibits Software reports the call connecting as "UTMS 384 kbps"

However the Mote E (surnia) shows Voice and Data as unknown see pic 2. My phone immediately end calls when LTE only is set. I could not find any useful debug messages to expain this. When the connect is LTE/WCDMA or other options, the call connection is reported as "UTMS 384 kbps" and G4 as well. So the supposed LTE connection on the Moto G makes no effective difference to the reported connection type.

There is still the issue that with the new 20181225 rom that it does not seem be able to equal the reported (DC) HSPA+ 42.2mbps that the rom I compiled based on the September rom. UTMS and HSPA are WCDMA methods and not LTE, but then I do not know if the "Network Signals" app reports correctly anyway. I will now leave it the more expert.
[E 2015 Android Development] davidnw:
Just theee more observations. The "Network Cell Info" app reports "VoLTE Capable : No"

I can not see any debug output from the IMS module. If it is working and set to debug it should be outputting connection details .

If the phone is set to LTE only calls to the phone get a not connected to the network message.

---------- Post added at 11:54 PM ---------- Previous post was at 11:41 PM ----------

After I install this manifest how do I reset the tree to remove the patches you detailed in your previous instructions?
[E 2015 Android Development] DroidFreak32:
I'm pretty sure that your carrier supports LTE data only, but calls are via 3g/wcdma/whatteverothernameithas

So with LTE only, you cannot call. Not a problem though as the carrier supports other bands. Jio in India does not support 3g so everything is done through LTE.

After copying my manifests

repo sync again

Download the 2 patches I linked in the README.md file and save it in frameworks/base & packages/apps/settings folders respectively

Perform "git apply <downloadedfilename>.patch" in both the above folders

Then build the ROM. That's it.
[E 2015 Android Development] davidnw:
I think I have now worked out why Volte is not working for me. It is because the ims.apk package used in this build only supports India and China (see https://jira.lineageos.org/browse/R...issuetabpanels:comment-tabpanel#comment-21598 )

If you open the ims.apk you can see in the res directory a list of mmc mnc value pairs for Indian and Chinese telcos only, like this-

for it work in other countries we need the full mmc mnc list added, or just add values-mcc505-mnc1 for me :D

About half the users who downloaded my surnia build where from Brazil so their would probably be a demand for the change.

I am trying to modify the app but am have problems with zipalign.
[E 2015 Android Development] davidnw:
New Surnia rom with recent Motorola hardware software fixes

I have produced another surnia rom. There has recently (8/1/19) been a large number of updates for the motorola hardware used in surnia (android_kernel_motorola_msm8916), these changes are listed on the official change log for sunia 14.1.

So I have produced a rom to make these available now, you can download from AdroidFileHost
[E 2015 Android Development] davidnw:
Updated surnia rom

I have produced another surnia rom. LinageOS updates plus a change requested by the developers to help with audio issues. ( I added "LEGACY_LOCAL_AUDIO_HAL := true" flag set in BroadConfigCommon.mk ) You can download the rom from AndroidFileHost.
[E 2015 Android Development] kurtn:
Looks like [MENTION=6485916]squid2[/MENTION] is fixing selinux for us:

https://review.lineageos.org/q/project:LineageOS/android_device_motorola_msm8916-common+sepolicy
[E 2015 Android Development] DroidFreak32:
Yep. Glad to see him back in action at the right time.
[E 2015 Android Development] Michael_Ge:
WoW.. So it goes on, I would not have thought !
[E 2015 Android Development] d-manse:
I'm using this rom. It's good for me because it have "moto actions" in gestures, but whatsapp videos and gif, doesn't works good.
[E 2015 Android Development] davidnw:
I am sorry I cannot help, I now have Android 9 on my phone, ViperOS rom, and I am trying get this build envionment working. I don't use WhatsApp so I cannot tell you if this rom is any better.
[E 2015 Android Development] d-manse:
:good: Thanks, anyways.
[E 2015 Android Development] Chuckdent:
Maps Location

Google Maps shows my location off by 30 feet or so. I have set high accuracy. I would think it would be much closer.

I reloaded the original 5.1 ROM, and location in Maps is just a few feet off. ?? Has anyone else seen this problem ?

:confused:

I am using the 01/19/2019 release.
[E 2015 Android Development] davidnw:
You could try a app like GPS Test to check how long it takes to get an initial GPS fix and the accuracy of the position fix. Also it is always possible to have a temporary poor GPS satellite coverage.
[E 2015 Android Development] Chuckdent:
Yes

That was kind of my point. the LOS 15.1 is slower and less accurate than stock android 5.1
[E 2015 Android Development] Chuckdent:
further testing of gps

After further testing, it seems that the gps isn't working at all according to a couple of gps test apps.

I went back to lineage 14.1, and gps is working fine and high accuracy location is within a few feet.
[E 2015 Android Development] Chuckdent:
It looks like there is very little interest in the old moto E2. lineageOS 14.1 is no longer supported. There have	been no updates for unofficial 15.1 since January. So sad. :(
[E 2015 Android Development] kurtn:
[MENTION=6485916]squid2[/MENTION] is in on/off mode. He started bringing up official Oreo. Looks like he has been interrupted by real life issues again.
[E 2015 Android Development] Chuckdent:
Thanks for the info. Wish him the best, he has done so much for the Moto E2.