yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oxxo.andatti:
New build

Copy files with USB cable

Error is displayed when copying unspecified message
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] crazijoe:
My phone's stability (as in it reboots itself) has not been resolved. I first suspected of my external SD card, but i was wrong. I, actually, was able to pinpoint the true culprit: wifi. If it's disabled, my phone just won't reboot by itself. If it's on, it will resume the reboot-craze.

As soon as I find out how to provide a logcat, i'll make it available here.

Btw, i'm using the 20170630 build.

Edit: here it is (https://drive.google.com/file/d/0B7ESF8qrT4tSSUx2RGc2M2dCdVE/view?usp=sharing). The error hasn't occurred during the capture of this logcat. If it's a must-have, i'll just leave it on as it may happen literally anytime.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
https://drive.google.com/open?id=0B04TdZfiVaBoWkNMUlhSSWdvTEk

Try it after flashing this boot.img via fastboot.Then, please give me a feedback.Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] trotter2000:
Loving the rom so far and not seen any bugs as such. Seems just like my old oneplus one.

Boot up seems very slow but running fine when up so not to bothered about that.

Wondering if your going to do any kernel work? Splitting up them cpu cores into two groups would be cool and maybe seeing how low they can go to. I'm sure them slower ones can drop lower than 960Mhz. Don't get me wrong mind, battery life is good I just like to tinker lol

I may even have a go my self but have only ever added functions by pulling in more code. Never changed any thing my self.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] crazijoe:
Just did. I'll report back ASAP.

:good: :good:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
read my post that was only two above yours!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
USB Transfer file to pc potential fix (not rom related)

struggling with transferring files to pc via usb due to an unknown error than read my post here for potential solution

https://xdaforums.com/g5/how-to/guide-how-to-fix-error-copy-files-to-t3632895/post72934652
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] crazijoe:
wzedlare,

my phone just rebooted by itself. But, it was after an impressive 18h-long wake time. So, it improved remarkably.

Anyway, here it is a logcat of the first minutes after the reboot (https://drive.google.com/file/d/0B7ESF8qrT4tSbnd4cnotMlhpbnM/view?usp=sharing).

and thank you very much for your time, on this specific help and in general! we all own u!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
Well, I need logcat from the moment of reboot.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] crazijoe:
Yeah, i thought so. I'll just leave it running. Then cut the unnecessary hours before the reboot. Tks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eshan419:
i am using lineage os on my moto g5 xt1677 amazon version.

every time i reboot or powerup my device , it goes to recovery mode(twrp). why i don't know?

until i go to bootloader mode and press power key to start device.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] crazijoe:
Nailed it. Was "lucky" that it just restarted again after a few minutes with logcat ON.

Here's the file: https://drive.google.com/file/d/0B7ESF8qrT4tSamlkNW5FeUF6cTA/view?usp=sharing

Fingers crossed here
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tjMF6:
Update LineageOS Cedric UNOFFICIAL

Can i easyly update my 2017-06-30 build to the latest (July Build) and flash it over?

Does TWRP Backup work with the unofficial TWRP Build?

Regards :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
yes, you can.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tjMF6:
Works Fine! And now i have security patch level 2017-07-05 ! Boom ! :good: :cool:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eshan419:
I am waiting for help..:confused:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] chickenkicker99:
I cant accept or decline calls there is no call screen for me.

I cant seems to find dialer apk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jib@rmi.ge:
That happened to me once when I flashed aroma opengapps and chose google dialer instead of native. Even when I declared google dialer default phone app in settings still there was no call screen and also when I called there was nothing, could not call. I just reflashed and went back to native dialer.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
Does not work for the xt1670 right ?

Hello,

Does not work for the xt1670 right?, I tried to install and gave me error 7 in the twrp, edit the update file to let me pass and still gave me error 7, I thank you for your help.

regards

Hola,

¿No funciona para la xt1670 verdad?, lo intente instalar y me dio error 7 en el twrp, edite el archivo update para que me dejara pasar y aún me dio error 7, te agradezco tú ayuda.

Saludos
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Don't edit the updater script

Instead edit your phones build.prop in the system folder

Change any values to the following

ro.build.product=cedric

ro.product.model=Moto G5

ro.product.device=cedric

Save build.prop with correct permissions 644

Now the zip should flash but be warned it may not boot - do at own risk and take necessary backups to restore if boot fails
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
Solved

Thank you very much, if you could with those changes.

Now let's try to see that one.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
Problem

Hello,

Thank you very much for your effort, and I'm trying it and it's great!

I just have a problem, the camera does not open, I get a sign that "Camera stopped", the same happens with some applications, and install other apps to see if it works out but there is no way to make it work, you think you can guide? Thank you

Regards

Hola,

Muchas gracias por tu esfuerzo, ya la estoy probando y esta genial!

Solo que tengo un problema, la cámara no abre, me sale letrero de que "Cámara se detuvo", lo mismo pasa con algunas aplicaciones, ya instale otras apps para ver si se resuelve pero no hay forma de hacerla funcionar, crees que me puedas orientar? gracias

Saludos
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
You will have to provide logs to the op of this thread so he can look into the problems with the varient of your phone - after all I told you how you can mod your phone to allow it to flash but I did warn about potential problems
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
Find this, I do not know if it's what you need

I hope you can help me, and if it does not suit you, advise me to inform me what you need specifically and how I get it to send you, thank you
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] leorock33:
Does it work on xt1670 argentina? Thanks
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Yes it works without problems. Si chango funca sin problema.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] lazasanchez1:
what version of moto g5 you have?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
Hello,

Motorola moto G5 XT1670.

Saludos

---------- Post added at 10:07 PM ---------- Previous post was at 09:52 PM ----------

Hello,

Motorola moto G5 XT1670.

Saludos
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Jorge R:
What does it take for Lineage OS to be official?

¿que hace falta para que Lineage OS sea oficial?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Open phone settings

Apps

Camera

Permissions

Make sure everything in this section is enabled

Go back

Press Force stop

Re-open camera app

Do the same for any other app not being given the correct permissions at launch

This has happened because when you have opened the app previously and have denied it permissions to access your phone eg storage permissions so it can't run correctly

---------- Post added at 06:48 AM ---------- Previous post was at 06:39 AM ----------

This question has already been answered in this thread and can also be answered with a quick Google search

Anyway the answer is when the op feels like all major and most smaller bugs have been fixed they can submit it to lineageos for consideration to get official supplies

In my opinion it is a ready to be submitted but that's up to the op if he wants to sort anything else out
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Go into twrp

Goto wipe

Advance wipe

Select the following and wipe them

Dalvik / art cache

System

Data

Cache

Go back

Select install

Select rom zip

Go back

Install

Select gapps zip

Go back

Install

Select su zip

Wipe dalvik / art cache

Restart
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
Hello,

Yesterday reinstall the rom and everything worked very well, now if the camera works and I will see with the other apps that were closed, but everything seems to work well, and this great ROM, great work !!

Regards
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] infixremix:
Use built in su as I don't think you can install the the latest su
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It is the built in su

You still need to flash the su add on zip - link to the thread on first post and enable it in dev settings
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
Past the initial emotion.

Past the initial emotion.

After a while the camera stopped working again, it marks the same error and there is no way to make it work until the Rom is reinstalled.

I hope there is a solution soon.

regards
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
No idea why it would work than stop working

Assuming restarting your phone or wiping the camera app data doesn't make it work again

Also assuming you have tried 3rd party camera apps

Not something I can fix - you will have to wait for op
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nickpons666:
I installed the Rom on top

I installed the Rom on top of what I already had and that's how the camera works, now I'm going to monitor if opening an app will block the camera, I'll be informing you what I find.

regards

---------- Post added at 12:37 PM ---------- Previous post was at 11:56 AM ----------

Hello,

I already saw that when editing the build.prop to put qemu.hw.mainkeys = 1 causes the camera to stop working, and even after removing the line, it no longer opens it again.

I hope this can help you with something.

regards

Hola,

Ya vi que al editar el build.prop para poner qemu.hw.mainkeys=1 hace que la camara deje de funcionar, y aún después de quitar la linea ya no la abre de nuevo.

Espero esto les pueda ayudar en algo.

Saludos
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
That just removes the soft hardware keys from the bottom of the phone - don't know why you would want to do that

The only thing I can suggest is if you take the folder system/lib/hw from your stock rom (either have stock rom on your phone and copy to sd then flash lineageos & replace or a quick way is to restore twrp backups) or extract from firmware zip If you know how to or can Google extracting the system folder from firmware zips

Once you have that folder you can try replacing the libs in the lineageos rom with ones from your stock firmware

This is the problem with unsupported variants - this is all the help I can give on this
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tjMF6:
Sim-Cards

Hi,

in the stock Firmware it is possible to activate sim1 and deactivate sim2 or otherwise.

Is it possible to enable this feature in your custom rom, too?

Regards :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] onryo:
When listening to the radio the sound seems to fluctuate back and forth between sounding OK to compressed. Sort of like in a tin can. Also the Soundfx profiles do not seem to do anything to the sound.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
Alternatively you can enable extended desktop as default, it's works nicely. I truly prefer to disabling the navigation bar from build.prop.

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] jib@rmi.ge:
Exactly same here. Occasionally there also come some very brief noise interruptions. I guess has to do with reception quality?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] uran235:
Is there no inbuild-root like in CyanogenmodOS ? That feature was awesome
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
It is the same if you follow the guide
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
That is the inbuilt root - you have to enable it via the zip file see first post
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rionline:
Running well so far. My video recording is force closing. Am I doing something wrong?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Works fine for me

Have you formated data in twrp so it's mountable?

Have you selected & given permission to storage/sd card
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rionline:
Hmm, yeah I think so. Taking pictures is working normally. All permissions given...? Oo
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Take a log cat of you trying to record video

Without logcats it's impossible to say what's wrong

As I said nothing wrong with my camera functions front or back recording
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] JammieB:
Hello,

Great work on getting this rom working. Are there any plans to add back the scrambled pin layout option? This is a great security option and would help people to keep their data safe.

Thanks in advance
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] sjau:
scambled pin layout?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 71n4:
Skype - cameras not working

The rom works perfectly for me, except for the camera in Skype. I just get a black picture, i can see the person on the other end though. Permissions are active, reinstalling Skype won't help. Reinstalled stock today, camera works fine in Skype.

Using lineage-14.1-20170706-UNOFFICIAL-cedric.

Anyone know a fix?:confused:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Confirmed

07-21 22:16:44.436 E/CameraService(555): connectLegacy: Camera HAL module version 1 too old for connectLegacy!

07-21 22:16:51.834 E/QCOM PowerHAL(1192): Failed to acquire lock.

07-21 22:16:52.854 E/ActivityManager(1192): applyOptionsLocked: Unknown animationType=0
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
Well, I have a guess but we will have to test it.

Please open build.prop and delete this line.Then tell me if skype issue is fixed.

camera.hal1.packagelist=com.skype.raider,com.google.android.talk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Confirmed

After removing line camera works in Skype
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wzedlare:
Thanks, I will remove this line in the next builds.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 71n4:
Awesome - tyvm!:)

Can confirm too.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Fedray:
I just bought Moto G5, been thinking of unlocking bootloader and installing a custom rom. Any major bugs on this rom?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Nope - read first post
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 71n4:
Just encountered this issue. However, after following your instructions, I'm still not able to transfer files to my PC or any other Windows 10 PC I've tried (neither PTP, nor MTP work). Curiously, MTP file transfer works perfectly with the TWRP recovery from this forum. Any more thoughts on this?:confused:

EDIT: Oh, and I've also tried reformatting my SD card from withing LineageOS, since it kinda seemed like a permission problem to me at first. Didn't help ofc.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Once you have installed usb drivers and set phone to allow adb and have granted permissions on phone remove usb cable and reconnect in order to remount the drive

Iv not had any issues on Windows or Ubuntu since setting up the adb connection

Type adb devices in CMD (where you have adb.exe) or terminal (if you have correctly installed the Android sdk) and make sure you have a device connected
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] 71n4:
I tried that, it's still not working. ADB command lists my device just fine. I've also tried re-authorizing my PC for debugging. This happens on 2 different Windows 10 machines, not with stock firmware though.:eek:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
At worst you can try adb pulling/pushing to you device

ADB pull location/nameoffile

ADB push location/nameoffile destinationLocation

I don't know why file transfer isn't working on yours as I have no problem with it

Provide logcats of trying to transfer a file
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] wq0913562:
Does this ROM enable double tap to wake/sleep for the Moto G5? The stock ROM apparently does not support it. It it supported with LineageOS?

Also: Any plans to make this ROM an official LineageOS ROM? Will the Moto G5 be added to the official LineageOS device roster soon? This would allow for automated weekly builds and OTA updates.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Double tap status bar to sleep is supported

Press power button twice quickly to open camera is supported

Using volume keys to wake device is supported

The op can submit rom to lineageos for approval when they feel like it's virtually bug free
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
For people who are struggling to transfer files to the pc via usb (windows)

Please make sure you have installed the latest moto drivers

I have included both 32bit and 64bit drivers in the attachment

If you have already installed drivers still download below and do a repair install

Once done remove and reinsert your phone if it was already attached

edit

hmm strange it worked on a windows 10 machine but as soon as I restarted the phone im getting the transfer error again

I will get to the bottom of this random mtp transfer error bug

Update - so I left it a few hours plugged my phone back in set to usb transfer & transfered a file from my phone to laptop with no errors - the only thing I did was restart the laptop

So if you get any errors after installing the drivers just try restarting
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
[MENTION=6810779]wzedlare[/MENTION]

Any idea what these errors are - they occur often whilst phone is idle

The file is in system/bin but it's compiled so you have the source

07-24 00:47:28.757 E/cnss-daemon(566): Stale or unreachable neighbors, ndm state: 16
07-24 00:47:28.790 E/cnss-daemon(566): gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x
07-24 00:47:28.790 E/cnss-daemon(566): : 00:00:00:00:00:00
07-24 00:47:28.790 E/cnss-daemon(566): Invalid mac address: 0x88925e6cM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] kip_dynamite:
Could anybody please check whether this app works with this image:

DKBPushTan

It's a tan generator for online banking which checks various securtity settings (e.g. root).

I would like to know if the unlocked bootloader prevents this app from starting.

It would be great if someone with an unrooted Lineage-Image could give it a try

before I unlock my bootloader.

Thanks!

Best regards

Kip
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Laurentius26:
From me as well to the op, thank you for your effort.

After a few days running the rom today I've noticed my camera stopped as well. A softreset or stopping the camera in settings/apps does not work. I can't start the camera anymore.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Did you remove

camera.hal1.packagelist=com.skype.raider,com.google.android.talk

From the build.prop? (although this just effects those apps)

Can you provide a logcat opening up the camera app
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Laurentius26:
[MENTION=4728903]TheFixItMan[/MENTION], yes I did remove that line. But that's a different bug isn't, related to Skype? In my case the whole camera isn't working. A logcat I can't give you at the moment as I'm at work. Thanks for the reply.

Edit; Here's the logcat. Thanks again.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
That's the entire app force closeing due to a lib error

I'm assuming that 3rd party camera apps don't work either

The only thing I can suggest is to do a full data wipe

Wipe system

Wipe data

Wipe cache

Wipe art cache

Flash rom again

Flash gapps (I suggest nano gapps)

Flash su addon zip from first post

Wipe cache art/dalvik

Restart
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Laurentius26:
[MENTION=4728903]TheFixItMan[/MENTION], do you have any idea what could cause this lib error? Could it be an app or do you think it's a bug in the rom?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
No idea - Iv never had this problem

My guess is maybe you either have a conflicting lib from a previous rom & you you didn't fully wipe all partitions before flashing rom or another camera app has installed a conflicting lib or you have a different phone variant which uses a different lib

Other than that no idea
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Laurentius26:
[MENTION=4728903]TheFixItMan[/MENTION], thanks, I did do a full wipe with twrp before flashing the rom. The camera was working fine from the beginning. I don't use any other camera app but there are many apps that can use the camera. One more user reported the same issue. I'm going to investigate the apps I've installed last days. Cheers.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Laurentius26:
I've just followed your steps with suggested nano gapps (pico I've used before), the camera is working again.:)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Happy days
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] olekvanbolek:
Fullscreen mode in browser videos

Hello. Thank you for the build. Works almost perfectly. The only issue I had so far was not being able to watch videos in the browser app in Fullscreen.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
I don't know if it's a know bug, but tethering trough USB isn't working. Also te command "settings" outputs the error "Segmentation fault" like the command "pm".

I attached the logcat.http://cloud.tapatalk.com/s/5977805279dd2/2017-07-25-12-12-33.txt

Enviado desde mi Moto G5 mediante Tapatalk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tomiivagyok:
hello,

just bought an XT1675, and I'd like to ask if this LineageOS will be fine on it?

i mean, i've switched from Galaxy S4, and it wasn't all the same if I try to install an I9505 or an 9506 version.

thanks for help.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
This will work on all moto g5 Cedric

Read instructions on first post

Obviously only flash roms that are meant for Cedric (codename of moto g5)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] tomiivagyok:
nice! thanks for the fast answer. i'm not new in romming, i'm just new at Moto G5. Trying to unlock the bootloader, but my PC sucks, so idk. never tried ADB yet.

thanks again.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Long as you have installed the Android sdk it's just a case of following the instructions on the Moto unlock bootloader website

Takes about 5mins once you have your unlock cide