yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] sandravictoria:
Please do not use this ROM. Please use the other development ROM link below

http://xdaforums.com/moto-g/4g-development/rom-cyanogenmod-14-0-t3469103

Date: 02.OCT.2016

DO NOT USE THIS

Perhaps your warranty is already void. Otherwise you would not be here!

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

This is a compilation of nougat (staging/cm-14).

All code is open source. Download as follows if you have repo installed. Use depth=1 to reduce traffic.

repo init -u git://github.com/CyanogenMod/android.git -b staging/cm-14.0 --depth=1
repo sync

Your local manifest:

YOUR_FOLDER/.repo/local_manifests/roomservice.xml
<project name="CyanogenMod/android_device_motorola_peregrine" path="device/motorola/peregrine" remote="github" revision="cm-14.0"/>
<project name="CyanogenMod/android_device_motorola_msm8226-common" path="device/motorola/msm8226-common" remote="github" revision="cm-14.0"/>
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-14.0"/>
<project name="CyanogenMod/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" revision="cm-14.0"/>
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" clone-depth="1" revision="cm-14.0"/>

To compile.

repo sync
brunch peregrine

Everything seems to work. Please verify MD5SUM

915c9645d3c6bbece9195fde48fca7c8 cm-14.0-20160922-UNOFFICIAL-peregrine.zip

Warning: I have not tried installing GAPPS. I use all ROMs without GAPPS using F-droid (www.fdroid.org) open source apps.

Give a big thanks to all open source developers. It is all unofficial so do NOT ask CM for support.

See in the top tab bar for downloads and screen shots.

DISCONTINUED

http://xdaforums.com/devdb/project/?id=17142#downloads

HOWTO: BACKUP ALL FILES

1. Copy to internal storage. YES, in MTP choose internal storage.

2. reboot to TWRP

3. Factory reset; Wipe dalvik/cache; wipe system.

4. Install and reboot

Note: I had enabled extended storage from Marshmallow, _at least_ for me, it automatically recognised with all files safe. YMMV, please backup!

XDA:DevDB Information

UNOFFICIAL nougat CM-14 for MotoG LTE peregrine, ROM for the Moto G

Contributors

sandravictoria, contributors to previous ROM

Source Code: https://github.com/CyanogenMod

ROM OS Version: 7.x Nougat

Based On: CyanogenMod

Version Information

Status: Testing

Created 2016-09-22

Last Updated 2016-09-22
[Moto G 4G Android Development] tonibm19:
Now tried the room myself.

While its not ready as a daily driver (crash on call), it looks very promising.

Performance is similar to CM13, maybe better.

The good thing is the free ram.

I was getting 550+ mb free with WhatsApp in background. This is extremely useful for our 1gb device.

I suggest to try this rom if you don't really need your moto as a primary phone.

Awesome work, thanks!
[Moto G 4G Android Development] Emoclaw:
Tested the ROM as well, boots fine (no GAPPS).

Phone calling doesn't work, phone soft-reboots.

Camera is working fine (front and back) but video recording is broken.

Everything else, aside from some minor visual glitches, seems to be working fine, thanks!
[Moto G 4G Android Development] Kayant:
Ha you bet me to it :p I was going to create a thread this weekend.

Some things to add -

atm only clean install is supported you will get FCs if you coming from another CM/android version and don't full wipe so do a nandroid if you plan on going back.

I have tested Opengapps briefly and it seemed fine atm.

In terms of issues and the like it should be the same as this list - http://xdaforums.com/moto-g-2014/orig-development/rom-cyanogenmod-14-0-t3458931
[Moto G 4G Android Development] sebaalbo98:
I found this version of CM14 that such works , Which is better this or [MENTION=5075128]LuK1337[/MENTION]?

https://www.androidfilehost.com/?fid=457084094631641100

Sorry bad english:(
[Moto G 4G Android Development] LuK1337:
And I still expect you to do it :^)
[Moto G 4G Android Development] Kayant:
Savage!

Yes boss [emoji1]
[Moto G 4G Android Development] aha360:
FINALLY! I'm in tears after seeing this, and for those who are desperate to have camcorder features on their phone, use Google Camera EXPLICITLY designed for Nougat (version 4 at the time of writing).

I am, let's just say, speechless, about this, so thank you all, and on that note, I'm going to test the Luk1337 version as immediately as possible. :)
[Moto G 4G Android Development] sebaalbo98:
I'm just trying versions, but my internet is really slow.

PD: I found another vesion developed by [MENTION=5059983]Dark98[/MENTION]

https://www.androidfilehost.com/?fid=24727369092696474
[Moto G 4G Android Development] Lurker-Observer:
Hi guys!

I almost cry seeing this post on front page of this forum, I've been testing the two builds (OP's post and [MENTION=5075128]LuK1337[/MENTION]) and I gotta say THANK YOU!

On the LuK1337's build the Phone (Using Open Gapps) is working but not the camera (Google Camera, photos only, not videos) on the OP's build the Phone crashes whenever I receive or make a call, sadly Google Play Services crashes often, after some time it tends to stop. Seems I can't install Apps using Cyanogenmod File Manager, why?

Special thanks to [MENTION=6517527]sebaalbo98[/MENTION] (for mentioning the other build) and [MENTION=5659251]aha360[/MENTION] (for the Google Camera thing, it works if you do what he/she says) and obviously the OP and LuK1337!

I have a question about the Quick Reply thingy, when I reply why does it close itself? I don't remember where I saw that you can keep using the Notification as a little chat (send message the notification stays and you can keep using it without closing) other thing is, if I'm writing on it and the person (or another) sends another message it closes itself and erase what I was writing... or maybe that's the way Google did it :rolleyes:

Guys... guys... GUYS as a P.D. you can change the DPI without root or using a File Manager, simply enable the Developer Settings and modify "Smallest Width" for example 600 or 689 and BOOM! tablet's display resolution. This is incredible, I'm going to test this using it daily (maybe only this weekend lol)
[Moto G 4G Android Development] mrk2006:
Hi guys, thanks for the porting. I tried Luk version, but I can't find the thread here on xda. Can someone link it to me? Anyway I have a little request, either for [MENTION=5075128]LuK1337[/MENTION] or [MENTION=7025451]sandravictoria[/MENTION] : can you please implement the getAllCelInfo() method in TelephonyManager? As I use an app (CellMapper) which needs that, and now with Nougat I can't use it anymore. I am on xt1039. Thanks!!

Inviato dal mio LG-D855 utilizzando Tapatalk
[Moto G 4G Android Development] sebaalbo98:
Today's version of CM14 of [MENTION=5075128]LuK1337[/MENTION]

https://www.androidfilehost.com/?fid=312968872162492542

So far it works quite smoothly me
[Moto G 4G Android Development] tonibm19:
[MENTION=6657428]Lurker-Observer[/MENTION] thanks for the tip!

Luk's version (23rd Sept) is working fine so far, even calls!

And it seems stable.
[Moto G 4G Android Development] sebaalbo98:
Luk has no thread on moto g 4g, simply thread moto g 2014 http://xdaforums.com/moto...-14-0-t3458931

To operate video recording must use this camera http://www.apkmirror.com/apk/google...amera-4-1-006-126161292-android-apk-download/
[Moto G 4G Android Development] LuK1337:
You realize that this function should be in API already? I don't feel like breaking Android API.
[Moto G 4G Android Development] panagiotis15:
Seems that the issue of the soft reboot is being solved with the 23/9 update.

I had already installed all of my apps to the yesterday´s version when i discovered this issue and i tried to perform a dirty flash.

Now everything continues to be ok and no more crash when receive calls.

Nice work guys!
[Moto G 4G Android Development] Lurker-Observer:
Cyanogenmod File Manager won't let me install Apps, but if you use another FM like Amaze it would work... oh wait, you CAN NOW USE the internal File Manager to install Apks!

So, guys I figure it out about the "Notifications Direct Reply" the mini chat window on notifications needs to be implemented from the developers, the only two Apps that are working on that feature are Google Messenger and Google Hangouts.

I haven't tried the last build, I can say that this is usable as a daily driver, the only problems are some little bugs (Like App crashes but it would stop after the first boot, or some Settings changes that don't work, for example using the volume keys to control media volume instead of ringtone volume)

Also if you want to encrypt I can post the guide that I did some time ago on the CM13 thread.

And the background updates looks awesome, no more "Optimizing" thing.
[Moto G 4G Android Development] sebaalbo98:
Whatsapp also can be answered from the notification
[Moto G 4G Android Development] Lurker-Observer:
Yes sir.

But I'm talking about Direct Reply without closing itself: https://www.android.com/versions/nougat-7-0/ jump to Notification Direct Reply, the Google Messenger App allows you to use the chat inside the notification without closing itself after you send the message.
[Moto G 4G Android Development] zagorth:
im getting error 7 with twrp, why?
[Moto G 4G Android Development] panagiotis15:
Make a reboot enter to the TWRP make a factory reset and then install the Rom and straight ahead the pico gapps and reboot again.Have in mind that you have to put your files at a fast sd card.Slow ones make issues frequently
[Moto G 4G Android Development] zagorth:
thanks, now i have nougat ☺
[Moto G 4G Android Development] mrk2006:
It's returning null, which would not pass the Android CTS tests that Google would run on any ROM. It needs to be fixed.. It is perfectly working on cm13, BTW..

Inviato dal mio LG-D855 utilizzando Tapatalk
[Moto G 4G Android Development] LuK1337:
It might be SELinux? Check dmesg for denials.
[Moto G 4G Android Development] mrk2006:
Hmm i will check as soon as I can, will let you know. Thanks

Inviato dal mio XT1039 utilizzando Tapatalk
[Moto G 4G Android Development] aha360:
...and if it is SELinux, and you need the SELinux mode to be on Permissive all the time, then I got an app that was created in exactly the same way as the one made by [MENTION=5405635]erikasnoske[/MENTION] in which it was made via the Tasker App Creator, which is the SELinux PP app (

P

ersistent

P

ermissive - install, start it up, accept root privileges, and then you don't need to do anything else, as once it is launched, it will run a scheduled task (su > setenforce 0) on boot) - yes, I will admit that it is bad practice to do that, but when it interferes with even basic root functionality like updating the HOSTS file with AdAway, then it can be really infuriating.
[Moto G 4G Android Development] mrk2006:
Thanks!! Will let you two know on Monday :)

Inviato dal mio LG-D855 utilizzando Tapatalk
[Moto G 4G Android Development] schrickz:
tried luk1337's version, the apps icon in app drawer scrambled when I used compact style. btw, any fix for the AdAway hosts ? planning to using the ROM as a daily driver but too many ads made the phone lags.
[Moto G 4G Android Development] sebaalbo98:
Today's version cm14 by [MENTION=5075128]LuK1337[/MENTION] :) https://www.androidfilehost.com/?fid=312968872162492736
[Moto G 4G Android Development] aha360:
1. The scrambled icons is a CM14-wide issue, as the Trebuchet launcher that is built-in is buggy - grab the Trebuchet launcher port here: http://xdaforums.com/android/apps-games/app-cm13-trebuchet-laucher-rom-6-0-1-t3350696

2. See the SELinux post below:

SELinux in Enforcing mode interferes with AdAway, so grab the SELinux PP app from the quoted post.

[YOUTUBE]l5Ev2AX_U0s[/YouTube]
[Moto G 4G Android Development] ebol94:
It took me 4:30 minutes to boot. I've been using it with OpenGapps-nano- and it's working awesome! I'll keep on using it and inform if I find something broken.-

Nice work [MENTION=5075128]LuK1337[/MENTION]
[Moto G 4G Android Development] sebaalbo98:
If it takes about 5 minutes to boot but works fine rom [MENTION=5075128]LuK1337[/MENTION]:fingers-crossed:
[Moto G 4G Android Development] Viqta_:
I downloaded the zip from the site, copied it to the phone and internal storage. When I went about installing (after factory reseting of course), it just got stuck at patching image unconditionally only the twrp recovery

I also tried flashing it using adb sideload but I got start at 46%

Any guidance and tips or even work arounds are welcomed.
[Moto G 4G Android Development] sebaalbo98:
What recovery have?
[Moto G 4G Android Development] Viqta_:
sorry I forgot to include that info

I am using the latest twrp img. twrp 3.0.2-0
[Moto G 4G Android Development] sebaalbo98:
What version of ROM and gapps are installing?

1 transfer the rom and gapps to sd

2 Making the wipes (Wipe Dalvik / cache, wipe system)

3 install the rom and gapss

4 Make wipe Dalvik and cache

5 reboot

Sorry bad English, I speak Spanish
[Moto G 4G Android Development] Viqta_:
I have the rom and the gapps on the sd. I also did the wipe fro dalvik, cache and system. When I went to install the rom, the display just stuck at "patching system unconditionally..." everything was okay and I did not get any warnings or errors; it just stuck there
[Moto G 4G Android Development] aha360:
What was the ROM size when you have downloaded it? Did you check to see if the MD5 hashes match up with your download? What TWRP device version did you flash?

Also, double-check your storage space on your microSD card, if it is inserted, and your eMMC memory (internal memory), and transfer the ROM onto the INTERNAL MEMORY (exempli gratia: /sdcard/cmupdater/), and flash it from there.

Alternatively, follow the instructions here if you need to - or more precisely, try flashing a stock non-Google Play Edition ROM via fastboot: http://xdaforums.com/moto-g/help/patching-image-unconditionally-install-t3311564/page3
[Moto G 4G Android Development] ebol94:
So far, the only bug I found is being unable to record videos. Anyway, I don't even remember when was the last time I recorded something with this phone ^^
[Moto G 4G Android Development] aha360:
...which could be worked around with the Google Camera app for Android Nougat.

I have got it installed as a System app, so it doesn't take up any Data partition space, and I even added a survival script to make it survive through dirty flashes.
[Moto G 4G Android Development] sebaalbo98:
To operate video recording must use this camera http://www.apkmirror.com/apk/google...amera-4-1-006-126161292-android-apk-download/

Today's version cm14 by [MENTION=5075128]LuK1337[/MENTION] https://www.androidfilehost.com/?fid=312968872162492786
[Moto G 4G Android Development] Wyneg:
Working like a charm ;)
[Moto G 4G Android Development] Viqta_:
thanks a lot. I checked the md5sum and found they did not match. I downloaded the rom again and it works.

in future, I will be checking the hashes for downloads :)
[Moto G 4G Android Development] k.mlynarczyk87:
Gps working?

Wysłane z mojego XT1039 przy użyciu Tapatalka
[Moto G 4G Android Development] sebaalbo98:
Yes
[Moto G 4G Android Development] alejandrorobles12:
Flash from the statusbar no working
[Moto G 4G Android Development] timmie897:
Flashlight is also not working for me and does anyone else get two of these errors while installing?

E:unknown command [log]
[Moto G 4G Android Development] Viqta_:
For anyone having problems with the flashlight on the status bar not turning on. Go to the camera application, select video, select flash on and off. Quit the camera application then try the flashlight
[Moto G 4G Android Development] timmie897:
Tried it but it's still not working.

I have a XT1039, if that matters.

Edit: flashlight is working in the camera app though.
[Moto G 4G Android Development] aha360:
Speaking of Google Camera, if anyone wants it to be installed as a System app, here's the flashable ZIP, complete with an addon.d BASH script that will make it survive dirty/nightly flashes:

https://1drv.ms/u/s!Agj5mSliZ57FhkYpkeioCOfZIY_b

Also, if anybody wants Swype gestures to work on an AOSP keyboard, here's a flashable ZIP for that too, complete with the survival script:

https://1drv.ms/u/s!Agj5mSliZ57Fhkekg-w8mQap1umU
[Moto G 4G Android Development] ebol94:
Could anyone point me how to install AdAway on CM14? I've tried several guides but none is working.

I've managed to install Adaway but it can't merge host file.

I've tried installin busybox in order to remount system partytion, but even busybox instalation fails.

Thanks in advance

Nice, is there somewhere to see the changelog of each version?
[Moto G 4G Android Development] PenguinDada:
This https://github.com/AdAway/AdAway/issues/770#issuecomment-242997754 worked for me. Make sure to enable root access for apps only and the local terminal in developer options before proceeding.
[Moto G 4G Android Development] aha360:
Check these two posts:

http://xdaforums.com/showpost.php?p=68843497&postcount=30

http://xdaforums.com/showpost.php?p=68840736&postcount=26
[Moto G 4G Android Development] aha360:
For those who are interested and are clearly more technically inclined than I am, I have attached some logcat files in the attachment section.

Also, if this helps, whenever I try to tap on the "Torch" icon, not only it is greyed out, the following line appears in the logcat files:

09-25 21:45:33.311 D/audio_hw_primary( 244): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
[Moto G 4G Android Development] Lurker-Observer:
Guys is it just me or the new notifications aren't that "smart" as everyone says?

I mean it's awesome to reply from the notifications but when the same person writes another message it deletes what you're writing.

Notifications from chat apps only show 1 line not many lines (like Marshmallow)

Don't know if this is a feature from Cyanogenmod (because this is not official yet) but when I download something it doesn't show the speed.

Same with the mini chat window, I don't know what is Google thinking about the new style, maybe they're starting to get too far with the "simplicity"

Are you all having the same problems? or it is the way Google designed the new notifications?

Also today I had a soft-reboot when I launched the camera using the power button twice to test it, I change to video and turn off the screen, it soft-rebooted.
[Moto G 4G Android Development] MaterialMan:
Awesome!! ROM is running quite good. Have not noticed any problems so far, except when using GApps Aroma installer and replacing some system apps with it (for example Android/Google System Web View). After using the aroma package many force close errors occur (Google app, Snapchat etc crashes). When using Gapps mini/micro/nano it works perfect.
[Moto G 4G Android Development] Douglas Gomes:
substratum theme engine Does not work for me
[Moto G 4G Android Development] panagiotis15:
Strange situation.I installed it since the first build and is working ok.Today after the 26/9 build that i installed it coninues to work ok and with the Android 7 navigation buttons

http://s14.postimg.org/5vyc91mht/Screenshot_20160926_133710.png
[Moto G 4G Android Development] Douglas Gomes:
not for me.

when you install it is infinite boot.
[Moto G 4G Android Development] mrk2006:
Hi guys, I runned some more tests. It's not a Selinux problem (tried even with the app from aha360), it's a problem from the Android library side. Data are not coming from the RIL native library, it's an Android issue, not the app's. It's a standard API since android 4.2.

Here's a screenshot from *#*#4636#*#*, where you can see there are not the cell's info:

So, it'd be to figure out why the data are not coming out from there.. Thanks for your work!!

Inviato dal mio LG-D855 utilizzando Tapatalk
[Moto G 4G Android Development] LuK1337:
I cannot get it to show anything there on any of my 7.0 phones ( note: I have one phone that's not on CM14 yet it's still broken ).

Could you try that out on any Nexus device?

Nvm, I figured that out.
[Moto G 4G Android Development] aha360:
Try doing a SOFT REBOOT (enable this selection in Development Settings > Advanced Reboot) and then try to see if the Torch feature works. This has worked for me just now.
[Moto G 4G Android Development] Viqta_:
The only thing that has a problem right now that I've experienced is when you dial a number and press call, the phone does a soft reboot
[Moto G 4G Android Development] aha360:
I haven't experienced this on my Moto G LTE yet, but this is coming from a person who is using said smartphone at the time of writing as a secondary phone for music and experimentation, whilst using an EE (UK network formed as a result of T-Mobile UK and Orange UK merging together, with British Telecom buying said company out recently) SIM for WhatsApp.

As a result of this, I intend to see if I can reproduce the bug using the SIM card from my primary phone (LG G3 D855 - 3 UK) and I will let you know if I get to test this.

In other news: the Flashlight feature works via the pulldown status bar without an issue in the 20160927 UNOFFICIAL NIGHTLY release from [MENTION=5075128]LuK1337[/MENTION]
[Moto G 4G Android Development] tonibm19:
Try luk's version in the other thread by kayant.

For me this one rebooted, but not the other.
[Moto G 4G Android Development] mrk2006:
Did you figure out what the problem is? Great!! Well, here's the screen from a nexus 5x from a friend of mine:

And the app to test it out is CellMapper, you can find it on play store, by activating on its settings 'use new api 4.2+'. So far, by activating 4.2+ API it does show nothing.

Thanks!!!

Inviato dal mio LG-D855 utilizzando Tapatalk
[Moto G 4G Android Development] LuK1337:
Yeah, download today's build. I fixed it.
[Moto G 4G Android Development] mrk2006:
Whoa great, thanks a lot!! Will I find it on this thread?

Inviato dal mio LG-D855 utilizzando Tapatalk
[Moto G 4G Android Development] LuK1337:
Nah, look at Kayant's thread.
[Moto G 4G Android Development] Viqta_:
thanks a lot. it now works, I did a dirty flash, I don't know if there will be any problems that arise from it but everything looks to be working
[Moto G 4G Android Development] panagiotis15:
Hi this bug has being solved after the 24/9 build.Mine works perfect now!
[Moto G 4G Android Development] mrk2006:
Hi Luk, we are making some progress, but the problem is not solved yet: my guess is there are different RIL version mixed, as it seems to have put RSRQ in RSRP, etc. You can look at nexus 5x/6p code to see how it works. Thanks!!

Inviato dal mio LG-D855 utilizzando Tapatalk
[Moto G 4G Android Development] LuK1337:
Can you add me on hangouts / steam or ping me on IRC @ Freenode?
[Moto G 4G Android Development] Jaci19:
Muchas Gracias

Al parecer me funciona bien o es solo mi idea : Tonto: la rom esta muy buena

santo el creador que la puso en nuestras manos para probarla

Gracias por este gran aporte espero no se quede solo en lo que esta

si no que avance en el recorrido de mejorarla diariamente

:)
[Moto G 4G Android Development] mrk2006:
I don't have hangouts but I'll surely ping you on IRC, as soon as I can, thanks!
[Moto G 4G Android Development] LuK1337:
Then do it now lel.
[Moto G 4G Android Development] Fiscelan:
Thank you so much [MENTION=5075128]LuK1337[/MENTION] for bringing Android 7.0 to our belioved Moto G LTE Peregrine!

I've just checkout out and there is a new build:

https://www.androidfilehost.com/?fid=385035244224381101
[Moto G 4G Android Development] Viqta_:
Here is a dumb question I have.

What is the difference between this rom available jere and the luk's version in a thread by Kayant?
[Moto G 4G Android Development] Danielnc43:
Any custom kernel for this rom?

Enviado desde mi XT1040 mediante Tapatalk