yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Make sure you have set root to apps and adb in dev options

Make sure usb debugging is enabled

Make sure you have installed Busybox

Make sure you have mounted system & data r/w (you can use total commander from playstore) click on the 3dots then settings - allow root access everywhere - click on the icon bottom right on app home screen that has two squares and two arrows at diagonals to each other and then press the r icon whilst in the root directory of phone so it changes to rw

Magisk works flash version 11.6 in twrp then update the magisk manager and use it to flash 13.3

However magisk hide will not work as safety checks fail but root works fine

I have launched a github issue with magisk regarding flashing 13.3 in twrp & the safetynet failure

However the safetynet failure is a lineageos issue not device specific due to the modded kernel & system so it may never pass & stock maybe the only option to pass this - for now - however Google is rolling out constant security updates to the safetynet which is combating magisk so it maybe a loosing battle unless someone can find a major flaw in it that takes Google a while to fix

---------- Post added at 10:50 AM ---------- Previous post was at 10:48 AM ----------

Nothing is best - both have advantages and disadvantages

Google advantages and disadvantages of a custom rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] PowerWiesel:
May I ask why some of you use Magisk and not SuperSu?

Are there incompatibilities or something else?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You can use either

I personally use the lineageos inbuilt root

Magisk has the ability to hide root from apps so you can use banking apps Apple pay & so on however magisk hide doesn't work with lineageos - although root works it fails the safety net check which is Googles new tamper detector - basically you tamper with the system it triggers the safety net & the apps which requires you to pass the test will fail to run

Magisk attempted to solve that problem but it only really works on stock totally unmodified as Google are constantly patching the safety net meaning it's harder & harder to pass it with a custom rom or even just a rooted stock rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] PowerWiesel:
Thank you for your detailed answer :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
I experienced lots of problem with root and this room. I think it's related to some weird segmentation fault errors If you are sure that your phone was rooted following the guidelines, chances are that you are experiencing the same problem than me.

By the way, titanium backup can't restore apps automatically on my device, and I can't freeze apps, disabling packages is not working in the terminal emulator (segmentation fault error).

Share a logcat for the dev.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
Sure I have enabled Root in dev settings, debugging is enabled, security check of app installs is disabled,...

TB brings it's inbuilt busybox, also it should able to make the filesystem rw itself. Root permission is asked correctly, but it seems there are problems with really doing some things that need the root permissions.

For Magisk: I tried both, install from TWRP aswell as from the manager.

But even with 11.6 installed and trying to install 13.3 I got the image mount failed error.

Yeah, seems so. Better don't try to use the old fashioned freezing (in TB settings you can disable ICS friendly freezing). I tried that and guess what, the apps got frozen but couldn't get them melting anymore :eek:

Don't get the device back from my sister until some problem arises I'll have to fix, so no chance of getting logcats for me atm^^

L
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
For updating from 11.6 to 13.3 install 11.6 zip, latest Magisk manager from apkmirror, install, and update through Magisk manager app. That way it works.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 9Lukas5:
As I said, I did that and got the same error as in recovery

L
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
Try first installing Magisk uninstall
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Amen to that, you are describing the issue perfectly.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
Great ROMs no problem can't wait till an update!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
I was waiting for August security patch to update the rom.So, please wait until the new update is released(Maybe tomorrow).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] too_many_accounts:
Hi wzedlare,

Thanks for your hard work! It seems I can't import contacts from my SIM card, as described here:

jira.lineageos.org/browse/BUGBASH-382

Some patches are out for other devices:

github.com/LineageOS/android_device_motorola_msm8916-common/commit/3ee91a47c2c91bc97f583195aa4f0dc7497aa4a8

github.com/LineageOS/android_device_oneplus_onyx/commit/904818c319b34a1e93834e9230bc6d5618576137

(Sorry for the broken links, you have to add "https://" as it seems I can't post an URL yet!)

Is it possible to implement something similar for the G5?

Thanks!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
As a temp workaround can you try using a 3rd party app - for example

https://play.google.com/store/apps/details?id=sparrow.peter.simcardmanager&hl=en_GB
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aliosha10:
Thanks for the great work! On my G5 all works fine and the LOS feels much smoother than the stock rom.

Is there a way to completely disable the navigaton buttons at the bottom to save that screen space? I only use the fingerprint gestures.

An the haptical feedback for fingerprint sensor is only working when unlocking. In other cases not. But that would be goot, too.

Is it possible to use the G5 stock launcher?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I have just written a guide on how to hide nav bar or status bar - very quick and easy if you have adb setup already on your pc
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] too_many_accounts:
Already tried one (Dumbphone Assistant in F-Droid) with no luck. That let me think it was hardware/LOS related.

Thanks though.

[offtopic]

By the way, I'm new to the Android ecosystem (but quite well-versed in unix and IT in general), could someone recommend me some good ressources (books, URLs) in order to be familiar with Android? (regarding ROMs, filesystems & hierarchy and so on!).

[/offtopic]
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Try the one I gave you as it says it works with android 7.1 - the one you used may not work on the latest android version (I havent looked)

Best advice I can give regarding android is google is your friend - Also youtube is good for how to videos

If you want to know how to do something google it - much quicker and easier than a book although im sure there must be an Android for Dummies if you look on amazon
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aliosha10:
Thank you. Where can I find this guide?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
ironically in the guides section

But as im nice click

[GUIDE] [NO ROOT REQUIRED] Hide The Status Bar Or Nav Bar With ADB
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aliosha10:
Thank you! Worked!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lcosta2:
How to root this rom?

Xposed Works?

Thx
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] too_many_accounts:
The rooting guide link is in the first post of the topic...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Try reading the first post for your question about root - why do people post questions when the instructions are on the first post I will never know

And about xposed?

Xposed is not officially supported on any android version 7.x at the moment so very unlikely - There are unofficial versions but I bet they will cause massive amounts of force closes if it even boots
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wpwrak:
That worked perfectly, thanks ! Now, how do I use the fingerprint reader instead ? I read that the ROM is supposed to support it. But I guess this needs some setup or an app ?

Supposedly the Motorola Assist app does this, but it doesn't appear in the Play store when I access it from the phone, and from the PC, it says it's not compatible with my device.

Any suggestions ?

- Werner
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aliosha10:
There are settings for that under gesture settings.

But in my case the navigation bar pops up in many situations. Same on your side?

Gesendet von meinem Moto G5 mit Tapatalk

---------- Post added at 01:15 PM ---------- Previous post was at 12:51 PM ----------

adb shell settings put global policy_control immersive.navigation=*

Doesn't disable the navigation bar completely. In some cases (apps) it pops up again. Is there a solution?

And: when I use the gestures of fingerprint sensor I'd like to have the haptical feedback. Does anyone know how to get this?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
If you want to permanently disabled the nav bar try adding this at the end of the build.prop

qemu.hw.mainkeys = 1

Not tested it myself - backup build.prop then you can just copy it back in twrp file manager if it doesn't work

Make sure permissions are set to 644 for the file

Edit tested and it works

Make sure you set up your navigation gestures before doing this because obviously as soon as you restart you will no longer have a nav bar
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aliosha10:
Does it also vibrate when you swipe left or right? Only in case you set up these gestures.

Gesendet von meinem Moto G5 mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Fingerprint sensor only vibrates with unlock - nothing else
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
The Haptics you need will be updated with the next builds of lineage, while it is fixed in RR and ViperOS.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aliosha10:
Can you say how long it could take?

Gesendet von meinem Moto G5 mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
Well it's not on me when the update will be released. Its dev that decides.

And besides we have a social life, so please do understand that android building is just a part of hobby and we do it in our free time. We are not even paid for this work. So please be patient and do not ask for eta it's a really kind request.

Cheers!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] aliosha10:
Oh sorry. I wouldn't be misunderstood. We all could be happy about your work and thanks for all the time you spend with the project.

I thought maybe anyone has a time for the next release. It doesn't matter if not. I'm happy be able using this release.

Please do not understand me wrong.

Gesendet von meinem Moto G5 mit Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] m_vaisakh:
I'm not proving anyone wrong or giving the wrong impression. Just making the general public understand that we can't do our hobbies under pressure.

Did not mean to offend anyone!

If you like our work just hit the like button, or if anyone is willing to give more, we and the rom sites have donation URLs open to the people.

Cheers!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Perrotti:
If you do that, your camera will stop working, like mine. I've not tested it with the ADB method yet, but, as soon as I can, I'll do it.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tjMF6:
Update to Security Level 2017-08-05

Hi wzedlare,

can you update this great build to the latest Security Updates? (2017-08-05 Patchlevel)

Is it also possible to allow the system to activate or deactivate SIM1 and SIM2 seperatly?

Regards :)

PS: The System is working perfectly on XT1676 !
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Tested using open camera and it still works

https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=en_GB

Don't forget when you add a line to the build.prop hit enter after so there is always a blank line at the end

Iv included my build.prop in the attachment for comparison

Unzip & place in /system setting permissions to rw-r-r which is 644
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] b.zill:
Flashing requirements?

Is it possible to flash this LOS without having the bootloader unlocked? If yes, is there another way to unlock than registering yourself and the device with Motorola/Lenovo and having them calculate an unlock key?

Is TWRP needed?

The first post reads in “instructions” like LOS can be applied on a stock device without unlocking and without TWRP, especially as the usual “requirements” section is missing. LOS for Moto G5 plus (potter) lists both as required.

Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
U need twrp u can't have twrp with out an unlocked BL u can relock the BL look in guides
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
To flash any custom you need an unlocked bootloader

The only way to unlock the bootloader is through the Motorola bootloader unlock website

The process takes less than 5 mins once you have downloaded & installed the Android sdk & usb drivers

You can only flash unsigned zips with a custom recovery eg twrp

The only way to flash a zip in stock recovery is if it's signed by Motorola with their keys for example official ota zips
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
New release.Changelog:

- Updated to august security patch.
- Added fp haptic option back. (needs to be tested)
- Added option to enable/disable navbar. (needs to be tested)
- Now, Camera works with skype.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Finn10111:
Thank you for this new release, it works fine and I don't see any problems at the moment. Earlier I mentioned that my stock camera crashed if I wanted to take a panorama picture. This also now works now, thanks.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] thecookie94:
I'm unable to find the new Disable Nav-Bar option. Toggling Fingerprint Gestures under Settings>System doesn't seem to autohide the nav-bar like Moto Actions running Stock ROM does.

qemu.hw.mainkeys = 1

added to the end of the build.prop doesn't seem to work either. It worked in the previous build.

Otherwise, keep up the good work!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
I haven't checked or looked yet but if I was to guess maybe it already has

qemu.hw.mainkeys = 0

in the build.prop so all you have to do is change the 0 to a 1 instead of adding the line

Its only a guess though as I'll test it out properly later

I'll also test out the other things mentioned in the change log
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] thecookie94:
Nope. Looked into build.prop again, nothing there, only the

qemu.hw.mainkeys = 1

I added myself.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Perrotti:
Dirty flashed it, enabled haptic feedback (working perfectly) and expanded screen (forgot the name in english, but I guess you know what I'm talking about) and the camera is working perfectly fine now without the navbar. Thanks for the new build!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] thecookie94:
Yeah, of course I can enable expanded screen, but then the navbar isn't disabled, but just hidden, so you can swipe it up again. So it's still there when I'm typing, for example.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] vache:
Settings -> Buttons ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] thecookie94:
Nope. But yeah, reverted to previous build for now, don't have time on hand to mess with stuff right now.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Perrotti:
I'm scared of trying it and the camera stop working again. But, as far as I can tell, It's like the stock rom, you get the navbar while typing. Actually, I like it, because I can't type properly when the keyboard is too low on the screen :silly:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Report on latest build change log

Haptic feedback on fingerprint scanner gesture - working

Expanded desktop globally - working

Expanded desktop per app - working

Moto gestures - all that iv texted work except double twist to open camera app - if I was to guess why it would be because the Moto camera app has a different package name to the stock lineageos camera app - Maybe it can be set to ask what camera app to open like it does with the double press power button to open camera app

---------- Post added at 05:19 PM ---------- Previous post was at 05:18 PM ----------

Latest build has expanded desktop built in so you can hide status bar or Nav Bar globally or per app

Find it in the display options
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Perrotti:
I've enabled it already, as I've said in my other post :laugh:

It's working flawlessly, and working (almost) like the stock rom. I can use the double twist gesture as well, have you tried flashing it again?

------

Do you know if we can use substratum? I don't remember if it's written in the OP. If yes, it's as simples as installing the app and running it?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
The double twist gesture to launch camera app has never worked on mine (including previous builds) don't bother me as I don't use it

Yes Iv just tested substratum and I picked a theme at random and it worked (even though it said lineageos is not supported)

I did however get one random reboot when trying to access it's settings but after that it was fine & I was able to remove the theme too without issue
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
I've installed the build from August 11, 2017 on my 3GB phone (European version) and it works, but the FM radio sound is quite distorted. Nevertheless, thank you very much for your continued efforts!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] too_many_accounts:
Thanks for the update wzedlare!

Regarding the import of SIM contacts, it still does not work, but that's not surprising as it's not listed in this changelog. ;)

I tried with three third party apps on this last build, and they are all crashing and/or waiting endlessly, so I suppose this bug may be LOS related?

For reference:

- https: //play.google.com/store/apps/details?id=com.needom.simcontacts

- https: //play.google.com/store/apps/details?id=sparrow.peter.simcardmanager

- https: //f-droid.org/packages/com.github.yeriomin.dumbphoneassistant/

Too bad it's the only thing keeping me from using this G5 as my main phone!

Could someone reproduce this bug?

(See the previous quote for background if you missed my question!)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Lamith:
First of all, I really appreciate your work in supporting the G5 with this ROM. Just flashed to the newest version and this went easy as peas.

Still, I have some issues since changing to this rom.

First, My phone won't boot normally to system, instead it immediately boots to TWRP. I have to go to bootloader to start via there to be able to use the device. Does anyone have an idea as to what could cause this? The boot times seem to vary quite a lot, but almos always it takes a couple of minutes seeing the lineage logo before actually booting.

Secondly, sometimes applications suddenly stop working without giving an error. This mostly happens with the use of Facebook and apps that use Facebooks login. This can be kind of annoying, since there is no rhythm or explanation for it. Do you magic ppl have any idea?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JeremyHTCA9:
Movie MMS's showing as animated GIFS

Hi, First thank you for porting this to G5 and it works great my only issues is when I get sent a movie and open it in android messages it shows as a badly pixelated animated GIF file and not a mp4 or mpg file.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Flash the rom correctly

In twrp

Goto wipe

Advance wipe

Wipe dalvik/art cache system data cache

Install from zip

Select rom zip

Go back to main menu

Install from zip

Select gapps zip (nano gapps from http://opengapps.org/)

Go back to main menu

Install from zip

Select suaddon zip

Select wipe cache

Restart

---------- Post added at 07:17 PM ---------- Previous post was at 07:11 PM ----------

This is built from source - its not a port but technicalities aside

I would download mx player - if the mp4 is encoded in x264 or something similar it may require an app that can handle them codecs
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JeremyHTCA9:
Sorry for my ignorance did not mean to offend in anyway, thank you for the advice
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Lamith:
Thanks for responding! Tried this a couple of times already, but i never used suaddon. I see no download link in this thread, but there is one in the moto g5 plus thread of this rom. Can you use this one for the g5?

edit: use the 14.1 su zip from lineageos downloads and followed the steps. still booting to trwp
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
read the instruction on the first post - it points to my thread for how to root lineage os but it is the same as the su zip on the lineage os download site

The only thing I can suggest is boot into the bootloader - hold power button and vol down button then select start

or do the same and select recovery then from recovery reboot and select system and see if the settings stick when you reboot normally after phone has booted

other than that without getting hold of your phone to look at it I can't suggest anything as its not a bug of this rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Lamith:
Hi fixitman, thanks again for taking the time and helping me. The way I start my phone now is booting to bootloader and then selecting start. That works, but I would like to boot normally. I have repeated the procedure you describe a couple of times, but still no luck.

I guess im stuck to starting my phone via bootloader, which is fine. I will let you know if the problem with apps suddenly closing persists.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
The following can be done at your own risk

you try this in fastboot

fastboot oem fb_mode_clear

bootup phone and restart to see if it no longer gets stuck booting system

you can also try

in twrp goto the terminal

type in the following

adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc

If all else fails I think the only way to solve this would be by flashing stock firmware via fastboot and starting again
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
I truly miss the ability to completely hide the navbar. Any chance to get it back in the next build?

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You can completely hide it by app already

Goto display

Expanded desktop
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
[MENTION=6810779]wzedlare[/MENTION]

I would say this is reading for submitting

see

https://wiki.lineageos.org/submitting_device.html

if its missing anything they will let you know
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
Thanks but I already submitted it.I've been waiting their answer for weeks.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] b.zill:
Download fails

The download from mega.nz does not work here. Attempts on different days with always different server error messages and issues, usually after most or all of the download is already done. A 350M file shouldn't be an issue. Currently:

Would be helpful if you'd chose another platform or switch back to Google drive. Maybe androidfilehost.com? Thanks.