yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
I've since switched the access mode of the MicroSD card from shared storage to external storage. There are some problems still:

- The latest Amazon appstore (from amazon.de/androidapp) won't run. It either crashes shortly after start or fails to synchronize the apps. An older version of com.amazon.venezia (release-21.0001.917.2C_651000110) works, though.

- Vanilla music (version 1.0.57 ch.blinkenlights.android.vanilla from f-droid) fails to recognize my music on the external SD-card. I can browse there from within the app and play single titles, but it doesn't show the albums in the list. The stock music player (com.cyanogenmod.eleven) works. This problem wasn't present in shared mode.

-Oandbackup (0.2.12.1 dk.jens.backup from f-droid) seems to work, but shows a date of "01.01.1970 01:00:00" for all backups in the list. This problem wasn't present in shared mode, either.

Regards

Ektus.

LOS version for testing: 14.1-20171018-UNOFFICIAL-cedric from first post in this thread, together with LOS root and pico GApps.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Edit - Just tested vanilla music and it worked fine

When I opened it it asked for permission to access storage - once permissions were granted it detected all my music on sd card set as external

If you have granted it media access permissions & it still can't detect the media see below

It may be that you need to manually run a media scan of your sd card - use this app - it will force close some things so just reopen them & also make sure that you don't have any USB connected

https://play.google.com/store/apps/details?id=com.house.noranuko.mediarescanner
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
I've already installed and run that app, and restarted the phone, with no change. File access is granted, media access is nowhere to be seen or set. The "all permissions" list shows SD access for both read and write, keep awake and audio settings. The stock music player does find the media, so it looks like the media scan was successfull.

Vanilla music shows only directories below /storage/emulated/0 in the indexed directories list and doesn't accept the location of my music folder (/storage/30C9-1910/Music)

ls -l in a shell shows the date 1970-01-01 01:00 for the 30C9-1910 entry, whereas emulated shows 2017-10-18 10:24

Is there a way to change "30C9-1910" to "sdcard"?

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I don't know then because it works fine for me

This is how my sd card is displayed in total commander (playstore)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
I can see it just fine in any file manager or a shell, too. The interesting question is: How is it displayed in your vanilla music in the media library?

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
This is how it displays

My music is stored in sdcard/music with each album in its own folder within that directory
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
That's the same for me, but vanilla music refuses to index the sdcard. There has been a bug for this in https://github.com/vanilla-music/vanilla/issues/439 but that is resolved and working for you. Why not for me?

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
The only thing that should be different between us is our sd card and phone variant

Iv got a SanDisk ultra 32gb

XT1675 variant (that's single sim 16gb storage 2gb ram)

If formatting the sd card doesn't work (try formatting in twrp) than Iv no idea
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
I've got a 64GB card, would have to open the phone to check the brand, and the XT1676 (dual-SIM 16GB storage 3GB RAM).

The Card has been formatted just yesterday by the phone when switching storage mode to external.

I've since copied back several GB of music and photos and don't want to do that again if I can avoid it. If formatting would resolve the issue, there should be errors on the card that would be visible either in the logcat or with a file system check.

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Unless it's another issue with the 3gb variant as from lollipop you did need root for apps to access the external storage although this was quickly fixed & instead you just have to grant permissions & set the root of the sd card for apps to get access

However if if it linked to obtaining root to access external storage it might be why you have problems but I'm totally guessing & plucking links out of thin air

You will need others with the 3gb variant to test & see if they have the same issue
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matmutant:
Hello Ektus, i may have missed it in your troubleshooting, but did you tried to remove your cache / music app cache & data / reinstall the app?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jobinrjohnson:
CPU issue have been fixed and he will release the update soon. Fixed governors have been updated to stock ones
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
okay.... didn't try that one. Just did a wipe of cache and dalvik. Now I removed and re-installed vanilla music, and it did ask for permission to access media files, and subsequently found my files. So something must have been messed up when switching modes.

Problem solved, thank you!

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
My spec:

LinageOS from this thread, root from LineageOS site (done like in the link on the beginning of this thread), Lenovo MotoG5.

I have a root but I have a problem with Titanium Backup. Titanium communicates it has root but it can't do anything with system apps (freeze, unfreeze, remove). Operation is carried out (Titanium communicates everything had been done) but nothing happen.

Also there is problem with recovering data of some not system apps, eg. OsmAnd, Sygic, Yi Dashcam. I can't figure out what is their common feature.

Have somebody any idea why it may looks like this?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Most likely you have the 3gb ram variant with the segmentation fault

Titanium backup works perfectly fine on the 2gb variant but as the 3gb variant has problems executing root commands you may find this is the reason why it's not working

If you keep repeating the command eventually it will work but you may have to try alot of times
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Indeed I have 3 mb ram. Can I do something with it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Currently there is no fix

Edit - problem is fixed with new build

See the segmentation fault thread in general section
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Welcome to the club :(

There is the specific thread about the segfault:

https://xdaforums.com/g5/how-to/segmentation-fault-customs-roms-t3682734

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
New Build 12-11-2017.Big thanks to vache and jobinrjohnson for their helps.Changelog:

- Root obtaining problems(a.k.a segmentation faults) are fixed.
- Governor of the little clusters is interactive now.
- Some other optimizations.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Wow!!!! Awesome! I Can't wait to see it fixed on AICP!!!

It's truly working thankssssss!!!!!

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] mrfrantastic:
Segmentation fault is over \o/ awesome!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] icantlogin:
This is great news, thanks a lot!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
Working good so far, thank you very much!

Just one question: What's the reason for the security patches being from October? Are the November patches not ready yet? Is there a status page for these somewhere?

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jobinrjohnson:
Lineage OS haven't merged the November security patches yet.

They will be merging it soon.

Lineage os do have a cve tracker only for official device and is manually updated

https://cve.lineageos.org/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matmutant:
So I dirty flashed the update, and... So far so good.

I was a little curious about that uncommon zip name, so I

checked the zip integrity (see screenshot) and builb.prop content to make sure it was for our Cedric. (And it was confirmed by the update that had been tested in segmentation fault dedicated thread)

Then backed up everything in twrp

And finally flashed the update.

Good job [MENTION=6810779]wzedlare[/MENTION] & testers !
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
You can always check the latest LineageOS security patch from this link:

https://github.com/LineageOS/android_build/blob/cm-14.1/core/version_defaults.mk#L134

Regards.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
That's the information I'm looking for: Is there a status page for the progress of the merge?

Those don't include our cedric (yet), so are useless for tracking the progress, and only show the current state anyway.

There's likely a bugtracker somewhere, but those aren't usable for users that don't have the needed detail knowledge on these complex systems.

I'd rather see a brief summary on the LOS main page stating status of the milestones and perhaps some links to the relevant diskussions (in case those are public). This would void the need to ask here, but I'm content to wait anyway. Hopefully I can reach a better uptime with the latest version, frequent updates won't allow long uptime ;)

Regards

Ektus.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Bug tracker is here

https://lineageos.org/community/

As Cedric only has Unofficial builds you will not find anything about Cedric on the lineageos site

You can view the progress of official devices to see their progress & what they have as they will have the latest changes

You can view commits & other proposed changes on github.com - either the lineageos source or you can look at this devices device tree - Just search Cedric device & choose the relevant repo - obviously for this rom it would be Wzedlare
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Simply speaking: AWESOME!

Thank you for release with this fix. You've made my day :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
I was suffering some random FC with memory Intensive apps, by example opening a big PDF, viewing street view.

The new update fixed it. No more crashes. I'm so happy!

Enviado desde mi XT1676 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matmutant:
^^^^^^

See above :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Katmando:
Awesome! Big thanks [MENTION=6810779]wzedlare[/MENTION]!

Just one question: where exacly is the Donation Button? :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
I can't accept donations for now :p Unfortunately, Paypal is banned on my country
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Just an observation - I found the phone wakes up alot when it's moving especially when it's just sitting on shelf in the car (I expect it's the vibrations)

I found that disabling the pick-up ambient display feature in display settings stops this & also turn on prevent accidental wake ups so the phone doesn't wake up when it thinks you are picking it up
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 006fazer:
Hi

Thanks for this update. This is an OTA update ? no more full release ?

best regards
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
The only difference is zip's name, it is the same as the previous updates, I mean it is a full release.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Shooting Star Max:
Sometimes, I've seen it waking up even when it's laying flat on a table, for no reason whatsoever.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Crakaz:
I may have found a security vulnerability. When booting up my phone with encryption on (haven't tried without encryption yet) it doesn't require me to input my pattern to enable fingerprint, it just boots straight onto my home screen with no second passcode required.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Edit

Without encryption you get the default lockscreen you have set on boot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
[MENTION=6810779]wzedlare[/MENTION]

The media scanner isn't working correctly

Some examples -

Example 1

I plug my phone into the pc I can view all the files in /Downloads

I disconnect the phone from the pc and then I create a new file in /Downloads

I then reconnect the phone to the pc and I cannot view this new file in /Downloads

Example 2

I plug my phone into the pc I can view all the files in /Downloads

I disconnect the phone from the pc and then I delete some file from /Downloads

I then reconnect the phone to the pc and I can still view the files I deleted in /Downloads and I get an error if I try to copy new files

Both examples can be solved by doing a manual rescan of media

Therefore the I assume that the media scanner is not scanning for changes upon connect/disconnect from usb
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] VinithRaj:
Bug

How to make hike work in Lineage Rom. Thanks in advance
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
provide full details - if it is an app provide app link

If it is not working say what is not working - eg app force closes on launch or when I do xyz then this happens

If you are refering to hike messenger

https://play.google.com/store/apps/details?id=com.bsb.hike&hl=en_GB

Than I just tested it and it stalls at receiving contacts and just says Almost ready

Logs showed some null pointer errors and other warnings

I suggest you contact the app developer for support

If it works on stock rom but not lineageos then say so and provide logs else the op can't do anything
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] matmutant:
Same here,

Had no time to investigate, but I noticed a similar behavior on my device: battery stats show some activity spikes while unused at night and it sometimes wake up while lying on my desk.

I don't know if it is one of the sensors' threshold that is set too low and reacts to signal noise or if there are moves I don't notice that are catched?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
disable pick-up in the ambient display settings - makes a difference as the phone does't wake up with the slightest of movement anymore
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
I have a similar problem which is also related to the media scanner. When I download an image with Nextcloud the image doesn't appear in the gallery until I reboot the the phone or trigger the media scan manually.

Viewing images instantly after downloading them works fine on my tablet running LineageOS and it worked on my Moto E also running LineageOS.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Does it work (without restart/manual scan) if you use quickpic to view the new image

I use quickpic (playstore) instead of the stock gallery

It maybe quickpic triggers a media scan on launch as if I download an image I don't need to manually scan or restart to trigger media scan
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
I have installed quickpic and downloaded an image. It worked and the image was shown in quickpic automatically after downloading it. Thank you for the hint but using quickpic is not an option for me because I want to stay with the stock gallery app.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
The media scanner triggers need to be fixed then - especially after disconnecting from usb & other such events
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Crakaz:
Split screen bug

When splitting the screen (holding down recent apps button) it appears that only the top half displays my apps properly. On the bottom half it tends to show just a black screen. Some apps like chrome appear to try and use the upper three quarters of the screen (this is visible when moving the split up and down). I though some apps just didn't support split screen at first until I tested with chrome and YouTube. When chrome is on the top half not it and YT work fine, but if I swap it so YT is on the top only half of the bottom split shows chrome.

On another note how do I tell if my image is up to date. Automatic update just tells me I can't connect at the moment.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Just tested split screen and it works perfectly fine for me - see screenshots

The latest lineageos is on the first post of this thread - normally the zip files are date named & you can see when the first post has been updated

The lineageos update in about phone will only work for official devices or if the op has implemented their own update server
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] masterdex:
Is there a way to unlock the screen without the need for pin or gesture but only with a fingerprint? If it is by what menu thank you.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Yes - but you also need a pin lock set - you can't just have fingerprint

Create a pin lock screen

Create a fingerprint profile

Now when you want to unlock your phone don't press the power button just place your digit on the fingerprint sensor & the phone will unlock

You can also use the pin in the normal way

Note that for security reasons the pin must be entered on startup before you can unlock the phone via fingerprint upon future unlock attempts
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
There is one way to have no security but you can unlock with fingerprint. Just set any lockscreen security, then set your fingerprint. Now with any root explorer go to /data/system and delete locksettings.db, locksettings.db-shm and locksettings.db-wal, restart phone and you can unlock with fingerprint with only having to swipe to unlock, without pin-password-pattern. Hope it helps.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Why does the file say OTA? Does this have OTA support!?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
just the way it was built (it automatically names zips) - no it doesn't have ota support - this is only for official builds or for devs who have their own server and implement it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] razzor1984:
Hello, does anynody know whats the currents cve progress off the kernel ?

Thats the source https://github.com/Wzedlare/android_kernel_motorola_msm8937 of the kernel.

Thats the cve status off Lineage build - https://cve.lineageos.org/android_kernel_bq_msm8937
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
cve status is the same as addison since cedric use the same kernel source with addison.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] razzor1984:
if this is really a Linux 3.18.x kernel it shouldnt be effected of CVE-2014-9902 (patched) but it is - https://cve.lineageos.org/android_kernel_bq_msm8937

Same for CVE-2016-5863, CVE-2017-8260, CVE-2017-8264

patches are available - https://github.com/raymanfx/android-cve-checker/tree/master/patches/3.18 and i gues much more ........

This kernel is in his current state a potential backdoor - i understand that not so high cves will not be fixed quickly but these are quit hefty
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Shooting Star Max:
I don't have Ambient Display turned on, yet sometimes the device wakes up completely (as if I had pushed the power button).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jon33383:
Hi, If I flash unofficial lineage and if official lineage comes out can I just flash it without deleting apps and stuff? Thank you.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
Yes, no problem.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] :
Is it possible to upgrade LineageOS without loosing apps and data?

I usually do this by TWRP, but always have to set all those rings, camera settings, displa behaviour. Fortunatelly I have backup of app data in Titanium Backup. But maybe there is other way?

I have also problem. I can't send and download any MMS.

I checked APN very carefully. I am connected to internet. Message application just send endlessly MMS after some time it give up. I have impression it happen after update of LOS where was a fix of SU for MotoG5.

I can provide system logs.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] applesauceChris:
Hello, excuse me for not helping enough, I just don't have knlowledge. Just commenting because I want to know if this battery usage is normal, goes like 20% over night, in like 8 hours. Do you know any method that helps battery? Thanks for your help :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Turn off wifi if you're not using it

Turn off adaptive brightness & set screen brightness manually to as dark as your eyes can still read screen

In ambient display settings turn pick-up off
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ttocs99:
Funny? I'm on aicp which is los based but do not suffer any battery drain and get around 7 sot from 100% to 0% and that's with heavy usage
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
It depends very much on the usage. I can get 7 hours (or some such) of navigation with Navit running, GPS, mobile data (2 SIM cards) and screen on, WiFi off.

I can also get several days of light use (WiFi off, mobile data on, GPS for 1/2 hour a day, no WhatsApp or Facebook or other never-sleeping apps). The attached screenshot was made last week after 5 days at 11% battery remaining. The table below the graph shows the power consumption of certain apps, if any one is very high just disable it or try to have it run less often.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ppq-:
No because they use different keys. You will have to wipe. Just use Titanium Backup to backup&restore
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Not true - even if the keys are different you are replacing the system image

And I think they just use standard platform keys anyway

There is no problem flashing it if it becomes official - Just wipe delvik cache after flashing the zip

And the official version will be same as the next Unofficial version if it hadn't become official (if you follow me) - its built using the same device tree - the only difference being lineageos themselves build it
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] bojnice:
---------- Post added at 02:06 PM ---------- Previous post was at 01:53 PM

---------- Post added at 02:07 PM ---------- Previous post was at 02:06 PM ----------

Ok. So developers od this unofficial build are not members of Lineage os? Understant it I good? The officilal build Is making by Lineage without you?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You build the rom then submit your device tree to lineageos

They then build the rom using your device tree

You then test the rom & if there's no problems they add your device tree to their repo

Devices in their repo are automatically built using jenkins server

You can still maintain the tree & submit patches on top of the lineageos automatic changes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] bojnice:
Thank you for the answer. You are very smart.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] razzor1984:
Are there any plans to patch critical cve bugs ? - because CVE-2014-9902 isn patched yet - https://cve.lineageos.org/android_kernel_bq_msm8937

Other hefty cves are also not patched. Does the kernel maintainer not see the implications which high value cves can have on the OS ?

best regards razzor