yashsingh1/xdaforums huggingface dataset:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
I have downloaded rom from this link
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] vaserbanix:
last build is from june

not may!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Ok can you send me the link of last built plz ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
ROM works fine. I haven't heard any issues so far from users. I would suggest to restore stock ROM, if you have backup. Few days back you mentioned your device came back from service with stock ROM installed. What was the problem you gave it for service? Reason why I am asking because you are facing issues with volte as well. Since there are multiple problems, it is better to restore stock ROM.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] vaserbanix:
you can get it in page 27-29 of this thread

right before your volte problem

is posted by [MENTION=1163024]kalyansundhar[/MENTION] but porheps he didnt update the first post(OP)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
No i haven't given my phone to service centre. After purchase. N i don't have backup of my stock rom
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Oh..ok. then it is my mistake. I understood wrong. Sorry for that.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
I have this version of this rom its june version but some details in about phone is change [MENTION=1163024]kalyansundhar[/MENTION] can you give me the link which version are you using plz ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
This is one I use. https://www.androidfilehost.com/?fid=962339331458999798

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Have you installed above your last built ? I have clean flashed june version in my phone its same which you have guven but details in about different.

---------- Post added at 03:02 PM ---------- Previous post was at 02:59 PM ----------

Baseband and kernal version is different from your rome in june built kindly have a look ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] vaserbanix:
look the images atached!

i see you have in notification barr a circle with a point in it

so pull down the notification drawer and do like in images!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Its now connected yo my laptop
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Its connected to my laptop and its same as in the pic
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
[MENTION=1163024]kalyansundhar[/MENTION] sir can you upload a built of lineage os 14.1 with the same baseband and same kernel which you have in ur phone i think this may be a issue about volte in my phone mine baseband and kernal are different from your rom can you assist me sir ? Its would be a great help for me ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
I don't see anything different.

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
[MENTION=1163024]kalyansundhar[/MENTION]

Ohh sorry [MENTION=3178159]vaserbanix[/MENTION] had uploaded the screen shot my mistake.

Last time as i remember i had enable the mtp throught a zip file to install a google camera. Its would not be a problem for my volte ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Sir would you help me to solve this issue or in installing stock rom in moto g5s xt1795 ???
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] vaserbanix:
i will try to help you

but use my telegram link from here https://xdaforums.com/showpost.php?p=76892536&postcount=466

cant loading this thread with off-topic mesagees, is not nice!

i will not answer anymore here

also on telegram will be more easy to talk!

Thankyou!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Give me ur telegram contact detail
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Talwar sridhar:
https://t.me/vaserbanix
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Thx got it
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dineshthakur14:
Dear sir my issue resolved but only 50 % volte start but ota update will not get I think

I have installed this room and volte is working fine

https://xdaforums.com/moto-g5s/development/rom-stock-montana-moto-g5s-7-1-1-lite-t3725293
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] cpu004:
Video recording is broken in all builds. Works first time then stops working.

07-01 20:42:15.907 13934-14111/com.google.android.GoogleCamera E/CAM_CdrMediaRecStop: Failed when call MediaRecorder#stop: com.google.android.apps.camera.proxy.media.MediaRecorderException: java.lang.RuntimeException: stop fail

Also onedrive download link is broken.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ARJNMRLON:
[MENTION=1163024]kalyansundhar[/MENTION] hi, you will work in another rom or in the lineage 15.1 ? :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Xiahou Yuan:
My dreams [emoji7] Kaylan, work on Lineage 15.1 [emoji851]

Enviado de meu Moto G5s usando o Tapatalk
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] danteissaias:
Yes please. I cannot find any other oreo roms for moto g5s. It will be amazing if you can do this.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
Happy new year !

And great job, thank you very much kalyansundhar ! :D
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] govind1233:
I will provide you proper commits for cmactions and other bugs...just wait for some time...and don't stop here the development...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
I think its time for building a ROM. In stead of try on error.

Building is always better than porting a ROM. One part is from the stock ROM and a part of Motorola G5 ROM. But the devices are not exactly the same.(NFC, Moto actions, fingerprint, Screen resolution).

In my perspective the ROM is still from Motorola. We can also change the following things and called it Lineage:

Change boot animation to Lineage.

Another launcher(trebuchet).

Change the property's to Lineage.

And you have a fake lineage ROM.

The question is: How do you build(compile) a Lineage ROM if the device is not supported by Lineage.

*Device tree

*Vendor tree

*kernel tree

How do we compile these three to a ROM?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] govind1233:
By building them from the scratch... building device tree is not that tough but building vendor and giving proper commits to kernel is tough
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
There is nothing called as fake lineage ROM and original lineage ROM in my opinion. If we take any custom ROM for that matter, vendor blobs has to be extracted from stock. Even in device tree, the configuration files like camera, audio, GPS, init files and so on would be matching with that in stock. So can we say any custom ROM of any other device as fake.

We cannot just blindly copy from G5. Even the copy/paste should be done cautiously and with some understanding. At the least, the board config (MSM8937) should match. Of course sensors, fingerprint devices and their configuration would be different. We need to adjust those in the init files, sepolicy, uevent files. For every change it requires hours of build. To do the build we need to have the Lineage code base to be checked out. I did all these. And whatever we do, it would be still Motorola only.

When I don't have anything, I need to start from somewhere. So I started from G5. I won't say what I have done is simply a port. I don't know how many of you would agree. All I wanted is to set a stage so that other developers could pitch in and make it perfect.

Thanks for sharing your thoughts.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] govind1233:
Please don't listen to any bad comments and please continue the development
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
[MENTION=7668686]govind1233[/MENTION], Thanks for the encouragement. I would try my best. All of us are in various other professions and would be putting our effort whenever we find some time. I would do the same.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
For me you have a good job, continued as you will get there, even if it will be long, now it is necessary that more experienced develloppeur can help you
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] govind1233:
Are you available for testing a ROM
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
of course, that's when you want
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Now that more ROMs are coming from more experienced developers like govind and lohanbarth, I am stopping here. With holidays over, I am getting very less time for the development as well. If someone wants to continue from here, please feel free. Otherwise we could close this thread as discontinued. When I get time and if I am able to find a solution for NFC, Developer options and MotoActions, I would send a note to developers in other threads.

Thanks for all your appreciation, patience and support.

Let this new year bring more and more ROMs for our device.

Regards

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] govind1233:
Moto actions fixed by me...but i m running out of time bcz of some important work...will push my trees very soon...and this is all possible bcz of you... please continue the development...u did a great job...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
hi friends, i'll post this afternoon crdroid android v3.8.4 7.1.2.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] UryuuChangAmanno:
Bugs?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
Dev options
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
There is some relation between Developer Options and rild-daemon.

If rild-daemon is disabled (comment out in init file), we would not have network, but dev option works. If we enable ril-daemon, then whenever to click on dev option, we get SELinux error.

01-06 19:43:06.834 514 514 E SELinux : avc: denied { find } for service=netd pid=1899 uid=1000 scontext=u:r:system_app:s0 tcontext=u:object_r:netd_service:s0 tclass=service_manager permissive=0

I added a rule in device/motorola/montana/sepolicy/system_app.te to allow the access like below.

allow system_app netd_service:service_manager find;

But the above rule is blocked by a global rule in system/sepolicy/netd.te

# only system_server and dumpstate may interact with netd over binder
neverallow { domain -system_server -dumpstate } netd_service:service_manager find;

As you can see, the process is run as UID 1000, which is 'system' user. I don't see any problem with that.

May be it has something to do with android_file_system_config.h entries.

{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/imsdatadaemon" },
{ 00755, AID_SYSTEM, AID_RADIO, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/ims_rtp_daemon" },

I am not getting what rild-daemon has to do with developer options.

Right now the BoardConfig has the following setting.

# RIL
BOARD_PROVIDES_RILD := true
BOARD_PROVIDES_LIBRIL := true

Which means rild and libril.so are used from vendor blobs.

What if we use "TARGET_RIL_VARIANT := caf", so that rild and libril.so would be generated by the build. Not sure whether that would solve the problem. But something worth a try, I believe.

Till we fix the problem, I think we can retain "persist.adb" entries in system.properties.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ShattrdChain:
ROM is fantastic so far. Really looks good on G5S. Stability is great too. Didn't face any crashes or lags. Big thanks to the developer.

1. Most apps run smooth and quick while some apps take a pause before starting. (Whatsapp) This was fine on stock ROM though. The same thing is felt in lohanbarth's crDroid too(Really took a liking to that too. Thanks to lahanbarth too).

2. Request the developer to kindly incorporated the fingerprint scanner navigation.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
NEW BUILD: Same location as in first post. File name: lineage-14.1-20180111-UNOFFICIAL-montana.zip

Fixes:

-- Developer Options.

-- MotoActions. Someone please check one handed mode.

Bugs:

-- Fingerprint navigation gestures not working. Till we fix it, please use 3rdparty app from Google Play.

TODO:

-- Cleanup.

Pleases do a clean install.

Thanks,

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
I test tonight
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GoldeneyeS2:
MotoActions handed mode working perfectly.

Which 3rdparty app are you using?

How can i debug on NFC?

Many thanks for this ROM.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ilovepanda:
no have another kkkkk

Enviado de meu Moto G5s usando o Tapatalk
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] slitbrain:
Hey,

really nice work for our device.

Unfortunately download links are not working.

https://androidfilehost.com/?w=files&flid=251047
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] WandresJersey:
and the roms oreo?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Just now verified. I am able to download. Please check it again.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] MostLite:
Hi, i have one question, in the post don't have any Gapps link or i can't see them, so i ask for what gapps i need to install for this rom? Thanks
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
Open gapps 7.1 ARM pico or nano.

https://opengapps.org
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] FeNa712:
How to install the update? Do I Need format everting?

Thanks!!!

:D
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
no need, just make a wipe cache and dalvik.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] FeNa712:
I did the procedure as you said, and it worked. Many thanks, man.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] slitbrain:
I meant the Download-Links at OneDrive from the first Post are not working.

The Link I posted is working great:)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] WandresJersey:
xposed works?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] frytzulrich:
Phone app searches online

Hello everybody.

First of all my thanks to kalyansundhar for his work on this rom. I am really happy, that we have a build for the 5Gs.

I use it (lineage-14.1-20180615-UNOFFICIAL-montana) for some weeks. I now found, that the phone app searches online, when I am looking for a contact in the contacts tab.

It suggests online results, that are absolutly irrelevant for me (likely, because it has no access to my location). I want to switch this "feature" off.

Before, I had a Moto G4 with the official athene build. I never saw this behaviour there.

To be clear, this happens in the phone app. When I open the contacts app and search for a contact, I cannot see this behaviour,

Can anybody answer the following questions, please:

1. Is searching online a regular feature of the phone app?

2. How can it be switched off?

3. This rises the additional questions for me: Why does the phone app have the right to go online and why is there no way to switch internet access off for a specific app? Or am I missing something?

Best regards

Frytz
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Open phone app, settings.

Uncheck phone lookup options.

That would stop giving you online results.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
It may work. I haven't tried. If you use Xposed and get into issues, to be honest I could not support it, because I don't have much idea about Xposed. Sorry to say no for support.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
New build: https://www.androidfilehost.com/?fid=5862345805528057662

Change Log:

-- July 2018 Security Update.

Usual dialogue. By now you might have memorized this dialogue :). Dirty flash should work. If not try a clean flash. If you see issues even after clean flash, get back to me,.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
I would like to continue giving security updates till we have a proper working Oreo ROM. If you all think these monthly security releases are not of much benefit, please let me know. Because it takes several hours to build using my last gen desktop.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Ænimal:
I never had any security breaches on my devices, but then I usually run roms which are patched properly - so yes, your work and efforts are much appreciated..:good:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Talwar sridhar:
Work on security patch updates until we get a stable Oreo on our Device

Thanks :good:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ilovepanda:
Your work is Great

Do not listen, I really like your Kaylan work, and I like it too when releasing security updates, please! do not stop releasing the updates please! continue with this beautiful work that few are willing to do.

thank you
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] vliqnie17:
64 bit support???
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lohanbarth:
No
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] dmilz:
Can it work on Motot g5s x1799-2 ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] BombeerHC:
Future plans...

Hi guys how are you? how does the development on oreo proceed?

and also I would like to know if you have plans in the future for android Pie on this device.

I take this opportunity to thank you all for this excellent work guys, really appreciated
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] LzDoBeaTs:
Is this ROM 64bit? already tested the Google Camera to see if it works?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
NEW BUILD: https://www.androidfilehost.com/?fid=1322778262903986282

Change Log: August 2018 Security Patch

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
Perfect ! Many thanks:good::good::good::good:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] BombeerHC:
Hi, do you have any plans for lineage 16.0 for our montana?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rpcll:
Quick question: What does it take for a ROM to get "official" status with Lineage, e.g. getting automatic builds? More testing?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ppog:
Hi thanks for this ROM. I installed this morning with open Gapps. Video doesn't work in any app; not Google camera, open camera, WhatsApp etc.

Anyone have any ideas?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
Did you make a full wipe before ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ppog:
I did.

UPDATE: dirty flashed ROM and aroma open gapps, choosing to keep default camera all as Google camera. Video works the first time, then not again
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
Oh yeah me too...

And I can only take one photo at a time.

I have to wait before taking a second photo otherwise the application crashes or the picture does not save (I close the application and I wait a few seconds). I tried with several different applications including the original application Motorola.

But it's the only thing that does not work well, for the rest everything is OK.

And sorry but I don't understand why...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ppog:
I changed the LCD density from 390 to 400 and I'm getting better results, seems to be working for now. I did it because I noticed default camera opened in a lower Res UI size first, but then the second time opened with the UI tiny. So I thought it might be something to do with that. Will test more and update
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ravenight:
Enable on-screen nav-bar works now?:rolleyes:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
OK thanks for the feedback :good:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ppog:
Nope still the same. It works at first, then obviously some parameter changes in the background, and breaks it. I can't get logs now but I will if there's anyone who knows how to interpret them?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
I don't think it is a problem with previous build. I will take a look and once fixed I will release a new build.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ppog:
Thank you for your work on the ROM :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
NEW BUILD: https://www.androidfilehost.com/?fid=1322778262903997451

Change log:

1) It is a clean build which would fix camera and video recording issues. If not fixed, please let me know.

2) Enable onscreen navbar option in Settings -> Buttons menu. By default nav bar is off.

NOTE: Navbar tweaks required changes in init scripts. So boot image is changed. Try dirty flash. If it gives problem, please take a backup of all apps (APK files), messages, etc and do a clean flash.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] -GabrielBR:
Very good rom!

---------- Post added at 08:05 AM ---------- Previous post was at 07:14 AM ----------

everything working, good rom!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
Oh my god, I download it immediatly (2 hours remaining...), I test and I let you know as soon as possible if it has been repaired or not.

Many thanks :good:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
Results of my tests:

Video worked for a few minutes. I was able to film several times in a row without any problem.

But after the photo tests and the restart of the phone (I do not know exactly what causes it) it does not work anymore.

Photo: it's always the same, that is to say that I can not take more than one photo in a row. I have to restart the application and there I can take another photo. If I take several photos in a row the application does not save the images and it ends up crashing.

Sorry, nothing has changed.

Thanks anyway for your help.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Please attach logcat while taking photos and videos separately.

Also it would be helpful if you could send me the list of apps you are using. There could be some interference between apps.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Is this problem happening for more users?

Please update me.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Ænimal:
No problems here taking pictures (haven't tested video recording over longer period). I clean flashed the latest build.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] kalyansundhar:
Yes, even I don't see any issues taking photos and videos continuously. It becomes difficult to debug when problem is not reproducible.

[MENTION=8640338]Mindrel[/MENTION], I need some help here.

1) Take a twrp backup and do a clean flash ( Wipe data, cache, dalvik, system, internal storage). Just install the ROM and test photos and videos.

2) If no issues with step 1, then install Gapps and test taking photos and videos.

3) if no issues with step 2, then install yours apps and test taking photos and videos.

If you see a problem taking photos and videos in any of the step, please take a logcat and pass it on to me.

I apologise for asking to do so many things.

Thanks

KS
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mindrel:
It seems that I am one of the few people to be impacted ...

You do not have to apologize when you just want to help me! :victory: :victory:

Really nice. :good:

I did not even think it could be due to a software conflict, but there is indeed a high probability that this is it.

I try it all as soon as I can and I'll let you know. :fingers-crossed:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] jahhh1:
will it work on xt1799?