yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] adityak1303:
Nougat ROMs in general consume more battery than Marshmallow ROMs. So it wouldn't be right to compare battery life of LOS with stock ROM. LOS has good battery life when compared with other Nougat ROMs for our device.
[Moto G 2015 Original Android Development] lvgandhi:
I installed matlog It says it needs a permission to log. I showed a adb command. I connected my device to laptop thro usb and went to adb folder and issued the command. I get message device not found.
[Moto G 2015 Original Android Development] KrisM22:
Are you rooted? I believe it needs root. You shouldn't have to go to PC and do anything with adb.

I see this " Instruction dialog for granting log-reading permission on non-rooted device" but don't know what that is as I have never tried it non-rooted.

EDIT: Hang on - I screwed up and am rebuilding and will test matlog non rooted for you.
[Moto G 2015 Original Android Development] KrisM22:
This is complicated and the answer I have is for Ubuntu Linux.

ref page: https://itsfoss.com/fix-error-insufficient-permissions-device/

My terminal log:

kris@kris-Z97X-UD3H:~$ adb shell pm grant com.pluscubed.matlog android.permission.READ_LOGS
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: insufficient permissions for device
kris@kris-Z97X-UD3H:~$ sudo adb shell pm grant com.pluscubed.matlog android.permission.READ_LOGS
error: insufficient permissions for device
kris@kris-Z97X-UD3H:~$ adb kill-server
kris@kris-Z97X-UD3H:~$ sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
kris@kris-Z97X-UD3H:~$ adb shell pm grant com.pluscubed.matlog android.permission.READ_LOGS
kris@kris-Z97X-UD3H:~$

Also, whether it makes any difference or not in Developer options I set:

Root access - adb only

Android debugging (usb debugging) on.

This will get you going if you have linux (maybe a live CD would do it).

If you run windows the question would be how to start adb in admin mode.

You don't need "SDK" - all you need are a few files and an exec if I remember correctly - the trick would be to stop it and then start it in admin mode, in a cmd opened to admin. Or something. I no longer have windows so can't play with it to see.

You will have to do this after each clean flash of rom. don't know about dirty flash. Use root if you can - it's WAY easier.
[Moto G 2015 Original Android Development] justjr:
Use this https://xdaforums.com/showthread.php?t=2588979
[Moto G 2015 Original Android Development] lvgandhi:
After unlocking, installing recovery and rooting only, I installed mos. Does this installation removes root access? However I have reverted to backup as I could not get any relevant answers for enabling miracast. Is there any way to get miracast working in mos.

---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------

I have only windows.

---------- Post added at 08:26 AM ---------- Previous post was at 08:25 AM ----------

I have it already.
[Moto G 2015 Original Android Development] KrisM22:
LineageOS in and of itself is NOT rooted.

a) what is "mos"

b) what piece of hardware (like chromecast) are you trying to control with miracast? I read [MENTION=5119654]IronTechmonkey[/MENTION] 's comment on cast. At least he uses it. I, so far, do not, though I might be convinced to pick up something and plug it to my TV... Though it would be purely for testing purposes as there is nothing on my phone I want to see on my TV...

I think that depends on what TWRP you use - official or squid's. I use squids and I have to flash root in order to get root. I believe I found at one time that If I had the official TWRP, I got root no matter what, without flashing it. At least with LinOS. But I may not be remembering correctly.
[Moto G 2015 Original Android Development] lvgandhi:
Thanks for your time.

a) Sorry. Type error. In stead of LOS, written as mos.

b) I want to do miracast from my phone to miracast enabled devices like LG C6 65 TV with in built miracast or TVs using adapters like Net gear ptv 3000.

I used twrp-osprey-3.1.0-r1.img. I wanted to know whether LinOS installation with lineage-14.1-20170511-nightly-osprey-signed.zip and open_gapps-arm-7.1-stock-20170507.zip has root access or not?

I have read in this forum regarding bug reported that was similar to mine. wifidirect shows the TV and says invited, but cast does not show the device. Hence I reverted back using twrp restore.
[Moto G 2015 Original Android Development] KrisM22:
a) ah!

b) sorry I can't help testing that as I have a Vizio.

so you have squid's TWRP.

So go to https://download.chainfire.eu/1019 and grab supersu 2.79, and then flash that in TWRP after every time you flash a new rom and that will give you root. - So clean flash would be wipe, flash rom, flash gapps, flash supersu, reboot. if you want to dirty flash (keep what you have), just flash supersu and reboot.
[Moto G 2015 Original Android Development] banerjeeayan1996:
Or maybe there would be something we need to change in build.prop??
[Moto G 2015 Original Android Development] ranaxda200:
You can try jio dialer app and set it up as default one by apps>settings>phone app> jio dialer. Test then whether it redirects to jio or not. I'm not sure though as I've no jio sim.
[Moto G 2015 Original Android Development] Mitko:
Am I the only one with a huge battery drain issue? ~70% before going to sleep, 52% in the morning, followed by 2 hours idle with 3 missed calls during that time which made it go down to 35%.

WiFi and mobile data are always switched off when I don't use the phone. Doesn't look too normal.
[Moto G 2015 Original Android Development] keeithlv:
OTA Update?

Once the nightly is out for CM 14 will come as an OTA on cm13?
[Moto G 2015 Original Android Development] samir.saurav:
Yes, it will show in cyanogen updates. But, I think it should be installed clean due to major changes.
[Moto G 2015 Original Android Development] althafvly:
no more update from motorola anymore.. sad news.. i think there will be cm14 official for us.. thanks alberto :)

http://motorola-blog.blogspot.in/2016/10/n-is-for-nougat-android-70-is-coming-to.html
[Moto G 2015 Original Android Development] Mkfermam:
Thanks [MENTION=4480917]Alberto97[/MENTION]

Except these bugs, the rom can be considered stable? :good:
[Moto G 2015 Original Android Development] robot_head:
Thank you for quoting the whole op, yes, very stable
[Moto G 2015 Original Android Development] kailasraj97:
super smooth and stable rom

but annoying message comes as "cell broadcast" frequently.

any help?:confused
[Moto G 2015 Original Android Development] hareshsangar:
Massages >Options>Settings>Select Sim>Scroll Down to end>select wireless alerts>options>select settings>and turn off everything.... Done:good::silly:
[Moto G 2015 Original Android Development] ranaxda200:
The best thing is he didn't ask for that lol.
[Moto G 2015 Original Android Development] kailasraj97:
Thank you so much:):good:
[Moto G 2015 Original Android Development] tzzeri:
I'm pretty sure that the development of cm13 will continue independently of cm14. You'll probably need to flash it yourself
[Moto G 2015 Original Android Development] georgetoneverland:
With this ROM your phone has an excellent performance, it is really very pleasant to use.

But I have noticed that with my use always use approximately 1.2 GB of RAM. It would be possible to increase the number of apps in background as with opo3? Using in combo with the data saving function shouldn't be reduced much autonomy.
[Moto G 2015 Original Android Development] batboy29011:
One question for Virgin Mobile users. Is service and data working properly ? Like no need to flash the APN fix ?
[Moto G 2015 Original Android Development] kailasraj97:
while calling the sound is very low.Loud speaker also dosen't seem to be loud enough.

any suggestions?:confused:
[Moto G 2015 Original Android Development] Mimisf:
Do you have any sound mods installed? Arise sound mod works for me without issues BTW.
[Moto G 2015 Original Android Development] Casper1982:
I have problems with apk.

"Play View" to see movies on the TV.

I get error FC, at all times, a shame, because i use the apk at all times...

Someone else could you check? thanks
[Moto G 2015 Original Android Development] Hedied4me:
Yeah I have this same problem since switching to 7.0. In fact I can neither turn the volume up or down on voice calls, changing volume has no effect.
[Moto G 2015 Original Android Development] eemgee:
I can't change the default tint on night mode. If I change it and as soon as I close it reverts back. It works on AOSP but that has massive bluetooth drain.
[Moto G 2015 Original Android Development] Arch Carrier:
stock camera stuck with latest build

Hi,

Is anyone else having problems with the stock camera app and build lineage-14.1-20170511-nightly-osprey-signed.zip 2017-05-11 11:45:29 ?

It freezes instantly when I open it . Photo and video. Like it takes a picture instantly atm I open the app and then freezes.

I went back to:	lineage-14.1-20170504-nightly-osprey-signed.zip 2017-05-04 10:51:14

I'm wondering if more people have this error.

cya
[Moto G 2015 Original Android Development] KrisM22:
post#4568 will give you a temp fix. Should be perm fixed next Thurs. If you read from there you will see the 2 jiras.
[Moto G 2015 Original Android Development] Arch Carrier:
Thanks for the reply!

Search/read back before asking. :D mmmm guess I can still improve in that department :)
[Moto G 2015 Original Android Development] Arch Carrier:
Any reason to upgrade TWRP 3.0.2-r5 ?

I used the search this time :good: and got the idea that most people (including me) are still using TWRP 3.0.2-r5 even though there is a newer version of TWRP released (also for XT1541) a few months ago. I installed the new release a couple of months ago but ran into heavy errors so I installed TWRP 3.0.2-r5 again.

Any reason to not keep using this (TWRP 3.0.2-r5) version?
[Moto G 2015 Original Android Development] KrisM22:
None that I am aware of.
[Moto G 2015 Original Android Development] arbasakbar:
Lineage camera is not working after last update.

Something has happened to my graphics. I'm not able to watch any videos. It's not just about camera.....all are just blackout. when i try to play any video...i can hear audio but no video.
[Moto G 2015 Original Android Development] lvgandhi:
Thanks for the info.

I would like to know whether any one is having working miracast when using this rom or any other rom in moto g3 xt1550 before proceeding further.
[Moto G 2015 Original Android Development] KrisM22:
4 or 5 posts back.
[Moto G 2015 Original Android Development] vdhatterwal:
~~Same problem here. The camera is not working. It takes photos and works everywhere, but the view is not there. Event the QR code app reads the code when shown, but nothing is visible while camera is selected. Opening camera shows nothing but a black screen but clicking a photo shows the correct picture.~~

~~Also Youtube Go doesn't show videos on full screen, on normal size, it plays the video. On going full screen, it freezes to the last played frame.~~

Some apps are also having problem when gallery is selected, they crash.

Found the solution(#4568), but seems to be temporary. As it makes the camera or the app using camera utterly slow.
[Moto G 2015 Original Android Development] KrisM22:
post 4568 or post 4588.
[Moto G 2015 Original Android Development] KrisM22:
Odd - you're first to report that. Are you running any theming stuff or other things that might impede it?
[Moto G 2015 Original Android Development] KrisM22:
OT: I was able to make my Moto G3 2015 XT1540 2GB US ATT able to pass safetynet. (and do important things like play PokeGo!)

https://xdaforums.com/2015-moto-g/general/guide-pass-safetynet-custom-roms-t3603609

EDIT 5-21-2017

at https://xdaforums.com/2015-moto-g/g...tynet-custom-roms-t3603609/page6#post72383665

post 51 is a much easier way.
[Moto G 2015 Original Android Development] xfahim:
I've been meaning to change the file system from ext4 to f2fs. Can anyone confirm if LineageOS supports f2fs for /system, /data and /cache?

If it does, I'll also benchmark ext4 vs f2fs performance in osprey this or next weekend. Thanks!

Previously asked here but wasn't answered: https://xdaforums.com/showpost.php?p=68910005&postcount=361

---------- Post added at 11:40 PM ---------- Previous post was at 11:32 PM ----------

Dang that's gonna be super useful. I can't use most of the banking apps, and now can't use Netflix. I'll also try it and report back. I also have the XT1540 2GB version.

For this, I'll ignore the root zip provided by LineageOS, install Magisk, enable Magisk Hide, then change the build.prop settings? Also, are you using the latest magisk?
[Moto G 2015 Original Android Development] KrisM22:
My intent is to make [MENTION=6217614]coolguy_16[/MENTION] 's thread the complete go-to guide since it would be OT here.

https://xdaforums.com/2015-moto-g/general/guide-pass-safetynet-custom-roms-t3603609

So start there and you'll see my posts on the 2nd page and if you need more info ask me there. :) I definitely want to make it easy for folks!!! [MENTION=6217614]coolguy_16[/MENTION] has done so much on it! It's a gem and so simple even

-I-

can understand it!!! :)
[Moto G 2015 Original Android Development] fliipendo:
how can i delete FMRadio.apk

i delete it with titaniumbackup but still able to open it

and even though i disabled it is using mobile data??
[Moto G 2015 Original Android Development] KrisM22:
Looks like you can't because it's a system app. Try going to TBPro and freezing it.
[Moto G 2015 Original Android Development] fliipendo:
i dont have pro version

its impossible to delete the fmradio apk?
[Moto G 2015 Original Android Development] KrisM22:
afaik

EDIT I believe "App Quarantine ROOT/FREEZE" will do it for free.
[Moto G 2015 Original Android Development] Hedied4me:
You can also go to settings/apps/fmradio and disable. Its the same freezing.
[Moto G 2015 Original Android Development] KrisM22:
disable is greyed out. system app.
[Moto G 2015 Original Android Development] coolguy_16:
Since you are using TB here, I assume you have root access.

Now use a file explorer of your choice( Solid explorer or MiXplorer)

Goto root directory. Then goto SYSTEM/PRIV-APP/

Here you will find a folder named "FMRadio". Just delete that and then reboot your phone.
[Moto G 2015 Original Android Development] fliipendo:
i am root but using the default file explorer that comes with lineage

i must download one of the 2 u mention?
[Moto G 2015 Original Android Development] fflp:
After doing what you've said, the camera is now working. But I can't open the gallery app, it always FC. I did try to install the other gallery app, but it cannot being installed. Is there any other way to make my gallery or google photos open thoses images? Thx
[Moto G 2015 Original Android Development] MrMosoani:
The soft restart is broken. It logged out all my accounts on all apps installed. It was like logging in to all of them again one by one. the dropdown notification won't even drop. I can only tap the gear icon but not the arrow down to access the tiles there.
[Moto G 2015 Original Android Development] Subinsmani:
Hey only one question,,,,

for this we need to install Magisk manager or not???

m planing to edit build.prop then flash it by twrp,,,

edit: yes it work on non magisk manager..

confrm it work on non rooted phone...
[Moto G 2015 Original Android Development] KrisM22:
clean flash and try again. wipe dalvik/ART, system, data, cache.

---------- Post added at 10:09 AM ---------- Previous post was at 10:07 AM ----------

clean flash and try again, please.

---------- Post added at 10:12 AM ---------- Previous post was at 10:09 AM ----------

while Magisk will give you root, you have to turn root on in Magisk settings, so I think you don't have to use it, ie it looks unrooted unless you turn that on, However you need magisk to HIDE things. I had to do a clean install to make it work.
[Moto G 2015 Original Android Development] KrisM22:
The problem with doing updates is it is a dirty flash. I suggest you do a full clean flash and start over.

wipe dalvik/ART, system, data, cache.and then flash rom and flash gapps.

https://xdaforums.com/2015-moto-g/general/guide-osprey-moto-g3-begin-how-to-t3599251

step 5 (and maybe step 6)
[Moto G 2015 Original Android Development] bejunk:
For anyone who wants to acitvate Google Assistant (on 1Gb devices): (root needed)

Open build.prop in /system with an editor like turbo editor

Scroll down to the bottom and on the first empty line add "ro.opa.eligible_device=true". Make sure there 2 empty lines below. Save & reboot. Profit. Everything works great, maybe to get hotword to work you need to retrain voice model in settings.

Thanks developer for this ROM everything works and its a good daily driver!
[Moto G 2015 Original Android Development] vdhatterwal:
I saw that number somewhere. But I meant that one where it was mentioned to force GPU rendering and disable hardware overlays.

No theming engine, just plain LineageOS. It seems that it happens in apps more often that the Camera app itself. And after every restart I have to redisable hardware overlays - so tired of it (As I have to do multiple restarts as a lot of times, the media is not rescanned, no app or force rescan works).
[Moto G 2015 Original Android Development] KrisM22:
why not: settings/google/search/voice/"OK Google" detection

---------- Post added at 10:19 PM ---------- Previous post was at 10:12 PM ----------

the first one - post 4568:

Okay something is wrong on your build because those Developer Options settings will hold across boots, and media is scanned on reboot. I use "media re.scan" so don't have to reboot.
[Moto G 2015 Original Android Development] KrisM22:
post #4568
[Moto G 2015 Original Android Development] bejunk:
this just activates the "ok google" hotword. what im talking about is activating the Google Assistant. (https://assistant.google.com/) its now avaiable to all phones running 6 or higher AND having at least 1.5Gb RAM. with the tweak above you can also make it work on 1Gb devices like our MotoG. :)

peace.
[Moto G 2015 Original Android Development] IronTechmonkey:
Perhaps getting less OT over time. The missing Netflix in playstore may be due to a new policy wherein Netfix will not appear in Playstore for rooted or tweaked devices even though it may work on them when manually installed.

If the list of commonly used apps that need to pass safety net grows, this may become as significant an ancillary piece of our ROM installations as the SU and gaps packages.

Thanks for the testing and the details.
[Moto G 2015 Original Android Development] KrisM22:
You're welcome, and yes. Proof/pudding - my playstore offers Netflix.

It does make an install, which I seem to do a few times a week, a bit longer, but I will continue to use it for now.

All thanks go to [MENTION=6217614]coolguy_16[/MENTION] and his thread

https://xdaforums.com/2015-moto-g/general/guide-pass-safetynet-custom-roms-t3603609
[Moto G 2015 Original Android Development] crudeassassins:
Someone have tried to use a generic joystick with this rom? I was trying to play Bully with joystick, when I connect via OTG cable, nothing happens. Also I've used USB/BT joystick app, it worked, but when i click any button into Bully, it crashes.
[Moto G 2015 Original Android Development] KrisM22:
no, but I googled for

use joystick on nougat

and found

http://www.technorange.com/2017/01/...android-to-play-games-using-usb-bt-joycenter/

There may be others.
[Moto G 2015 Original Android Development] IronTechmonkey:
Serious geek-out incoming as this is something I've played with a bit before. :)

I just tested a Playstation2 clone USB PC controller and an XBox wireless USB controller for PC on both Peregrine and Osprey in LOS14.1 (both devices connected via OTG adapter - with no 3rd party software to manage the controller).

The Playstation2 controller worked reliably on both Osprey and Peregrine in LOS14.1 for navigating and selecting items by joystick or arrow-pad but has no back button function (same as was the case in CM12.1 and CM11). In spite of the lack of back button function in the OS I've used this controller to run a quadcoptor simulator on both of these devices in CM12.1, and from what I see in this test it might work just as well for that particular simulator in LOS 14.1 on both devices.

The XBox wireless USB controller connects OK to Peregrine in LOS 14.1 and is useful for navigating and selecting (only by joystick, arrow-pad does not work) but it does have a back function. On Osprey LOS 14.1 the Xbox did not connect at all, or if it did there was no indication. I don't recall if the Xbox controller worked on Osprey CM12.1 but I think it did. Also when I've used this for Android games/sims the joystick drifted, which it does not on PC so I think that is software related.

In summary: the LOS14.1 ROMs seem to support controllers in general, but not surprisingly the results may vary depending on device, controller, and app/game. In fact just as I was wrapping up this test one of the devices spontaneously rebooted while I was connecting/disconnecting controllers but that was only once in 10 or more tests. Also, here are results from an old test in CM11 which was focused on a wider range of devices but has description of these 2 controllers in CM11 on Atrix HD as well. https://xdaforums.com/showpost.php?p=57884354&postcount=672.
[Moto G 2015 Original Android Development] crudeassassins:
I've tried my PS3 Sixaxis Controller, nothing happens... I really love this room, specially because of the customization that I can have with It. Probably I'll wait more some months before play Bully.
[Moto G 2015 Original Android Development] MrMosoani:
the phone reboots or shuts off even battery is 40%+ ... never good for gaming, it auto closes games and problem connecting to google play. it randomly resets the phone with error phone.android.com has stopped... this ROM is good for the spare phones but not for a phone used for daily driver... But thanks dev for all the efforts I've been using this since it first came out flashing weekly updates but I guess I'll have to revert back to (maybe) stock for stability reasons.
[Moto G 2015 Original Android Development] Hedied4me:
This statement is not right. I'm having none of these issues. This ROM is fine as a daily driver, Ive been using it as one for more than 4 months. You must be doing something wrong.
[Moto G 2015 Original Android Development] KrisM22:
+1

see below.

key words "flashing weekly updates". That is a dirty flash and you now undoubtedly have a ton of junk on there.

read https://xdaforums.com/2015-moto-g/general/guide-osprey-moto-g3-begin-how-to-t3599251

and do step 5 and maybe (depending on what you want) step 6.
[Moto G 2015 Original Android Development] IronTechmonkey:
An interesting note in the latest LOS blog article about security, SU hide and peripherally - safety net. Section titled "Kernel su-hide to address an important vulnerabilty" here: https://lineageos.org/Changelog-9/. After this tweak it may be the case that merely disabling native LOS SU temporarily will allow Google Play store (and maybe other things?) to pass safety net.

[EDIT] As described in the LOS blog this is not a single patch for all devices, but rather each device will have to be handled separately. To that point, it does not yet appear in the Osprey changelog but for those who are curious here is the Peregrine version of it: https://review.lineageos.org/#/c/172086. Please note: This is in no way a complaint about the pace of this fix in Osprey (and it still might appear because not every fix is in the changelogs) - just sharing information about a topic we've been discussing lately.

If I flash new builds this week (still recovering from a dead laptop and loss of 5 months of digital life - ugh) I'll see if it allows Peregrine to see Netflix in PlayStore, and will share the results.