yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] IronTechmonkey:
Ouch. the buildbots are having trouble this week.
[Moto G 4G Android Development] LuK1337:
[ announcement ]

If you want to be able to use OTA ( which is not working yet ) you will have to update TWRP to the latest version as we added /misc mount point.

~ https://dl.twrp.me/peregrine
[Moto G 4G Android Development] Fedray:
Finally new nightly is up. Looks like there are a lot of changes, trying it out today!

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] schrickz:
trebuchet compact app drawer style fixed.

bye2 pixel launcher.
[Moto G 4G Android Development] mrLoma:
Any reason why the download links are removed from the OP?

It was convenient to have the rom and gapps link nicely together.
[Moto G 4G Android Development] IronTechmonkey:
With nightly builds coming out each day now that the ROM is official you can't expect developers to provide links to individual files each day. There is already a link in OP to the ROM download page at CM which you can just check directly whenever you like.
[Moto G 4G Android Development] mrLoma:
Yeah I meant the roms download page, not the build specific ones.

If it is still there, than I must have read over it

:cyclops:
[Moto G 4G Android Development] :
Can't update apps from the Play Store. I get error code 963.

I'm on today's nightly, have updated opengapss (nov. 18th) and wiped cache and dalvik/art.

Any ideas?
[Moto G 4G Android Development] khalmika:
thank you a lot! amazing!

This is amazing!! I got this forma daily use and it's great!

The only issue i get is.. With 28-9 build, exchange and mail crashes on boot..

And, if i ser PIN security, when i want to go to it's settings, settings app fc..

But phone, flashlight, and everything el se is working so perfecto

Just waiting for xposed and busybox compatibility with sdk24 :victory:

It would be wonderful if themes be added too :3

Well, i must thank you guys for this awesome work!!

---------- Post added at 01:47 PM ---------- Previous post was at 01:42 PM ----------

Nope.. This is sdk24, and MM is 23.. Tried to install by myself and nope..
[Moto G 4G Android Development] schrickz:
does sdcard accessible in cmfm on latest build ?
[Moto G 4G Android Development] aha360:
No! :(
[Moto G 4G Android Development] Wyneg:
That would be great, ROM is working pretty well (no fc or whatever for me), thanks for your work devs ;)
[Moto G 4G Android Development] Alessandrotischer:
Arrows while typing don't appear.

Torch doesn't work.

However, great job! It's an amazing rom

Just a question: Is there a way to modify vibration intensity like in cm13?

EDIT: Torch now works (don't ask me why, but it actually works)
[Moto G 4G Android Development] ebol94:
Have anyone found out what is causing Exchange services to close? I'm gonna go max power and wipe data/system/sdcard and install october 1st build.
[Moto G 4G Android Development] aha360:
Is it me, or for some reason, your Google Apps setup is corrupted and you'll need to reinstall the OS as the worst case scenario. Before you do that though, try clearing the app data/cache for Exchange Services, and if you have a TWRP backup of your phone with THE SAME OPERATING SYSTEM as your current installation and if it had Google Apps installed on said partition but without the Google Apps-related errors on it, restore it, and then try to install the latest nightly on top.

Another thing I could suggest is to wipe the system partition ONLY, reinstall the OS and Google Apps, and try setting it up from there, but that would cause more problems than having a Google Services app FORCE CLOSE all the time.

I had to do that at one stage, and it wasn't fun at all.

Last point: calm yourself down and get your $|-|!7 together!
[Moto G 4G Android Development] Jounessss:
W0ww0w

Great, I flashed this as my first custom rom ever. Torch does not work but it is a second phone so no issue for me. Keep up tthe good work! :good:
[Moto G 4G Android Development] Alessandrotischer:
With latest build torch doesn't work anymore :silly: :confused: :laugh:
[Moto G 4G Android Development] Kayant:
Torch seems to a hit and miss thing ATM it works for some doesn't for others(like me) not sure why. I looked at logcat and with my limited understanding I cannot see what exactly is wrong.
[Moto G 4G Android Development] pjconoso:
If you really need torch, just do a soft reboot.
[Moto G 4G Android Development] Kayant:
The magic of the reboot knows no bounds!
[Moto G 4G Android Development] aha360:
...or use the hilariously bad workaround, which is to open the Camera app, switch it to Camcorder mode, and enable the light on there! :p
[Moto G 4G Android Development] tonibm19:
Orr.... Download a flashlight app from google play

---------- Post added at 06:24 PM ---------- Previous post was at 06:23 PM ----------

Has anyone got pokemon go to work in this rom?

With magisk or something like that?

If so, how?
[Moto G 4G Android Development] aha360:
I would like to try it, but I'm always tight on space. I shall not make any promises on testing it, so if I do test it, I will.

However, I'm pretty sure it will work, but as certain mods can destroy your OS setup in a split-second, like how Lucky Patcher did when I tried to disable the Package Installer Signature Verification on CM14, I would strongly advise you to backup your OS setup via TeamWin Recovery BEFORE attempting to use Magisk or any other mods that involve tampering with root-level files.
[Moto G 4G Android Development] Alessandrotischer:
Ok, Thanks for everything!

I repeat, this is a great ROM. I think it's already smoother than cm13!

Any infos about arrows while typing and vibration intensity setting?
[Moto G 4G Android Development] clubvybe:
Great Rom, very smoother - nice work! 1 problem i found was that the usb thethering has stopped working since the Spetember 28th build.
[Moto G 4G Android Development] knnrdvrmrn:
Great ROM so far! Some things I found so far that isn't working:

- swiping up on the lock screen to show the pattern input is more difficult than with 6.0. The length of the swipe has to be much longer than before.

- can't enable adaway because writing to the hosts file fails. I did enable root access for apps in developers options. That didn't work. I tried flashing supersu and then trying again but still no luck.

- torch

- video recording
[Moto G 4G Android Development] Pilaf:
For adaway i have instaled rashr- flash tool from play store and instal updates.. After i have open adaway and done.. Works.. i don't know why but it as working for me..

---------- Post added at 07:25 PM ---------- Previous post was at 07:24 PM ----------

Torch doesn't work for me too
[Moto G 4G Android Development] khalmika:
Actually torch is working perfect (XT1040)

Only thing that is not working is that gesture or swipe thing with the aosp keyboard..

As well, vídeo récord (that i dont care about it.. XD)
[Moto G 4G Android Development] schrickz:
try to clear play store cache and the app cache that gives you this error in settings>application.
[Moto G 4G Android Development] Fedray:
I tried again and the bug (if its a bug) still present, when using adopted storage obviously apps get instantly installed in sd card, and because some apps doesnt work really well there I tried to move them back to internal storage, the process starts but then I got the message "Not enough storage space".
[Moto G 4G Android Development] l0rand:
As a workaround you can uninstall the app, remove the SD card, install it again and put the card back.

Interesting, but I get the same error for a the reverse direction, too.
[Moto G 4G Android Development] Fedray:
I think I will stick with sd as portable storage, anyways that sounds like a good momentary fix! Other than that I'm surprised how everything works so well. :)
[Moto G 4G Android Development] IronTechmonkey:
Have you seen different behavior with adoptable storage in CM13 or in other ROMS? If not then maybe this is just a byproduct of using adoptable storage. In addition to formatting and encrypting parts or all of the SD card, adoptable storage leaves you with less control of storage on the device. You can check the links in this post for some details about Adoptable storage which will help you determine what is a bug and what is just the way things work.http://xdaforums.com/showpost.php?p=69553527&postcount=265. In particular it is this article that answers some of these questions: https://www.reddit.com/r/Android/comments/3oz7eu/guidelines_for_marshmallow_users_formatting/.
[Moto G 4G Android Development] Fedray:
I didn't see any difference in performance but of course I loved that I was never running out of space in my phone, that's the only reason I used adoptable storage. Obviously it had his cons, for example the encryption.
[Moto G 4G Android Development] IronTechmonkey:
I wasn't clear (apologies), I not was referring to performance comparison but rather asking if you had the same "problem" when using adoptable storage in other ROMS.
[Moto G 4G Android Development] Fedray:
Oh, sorry, my bad! No, I didn't, in CM13 I was able to move apps from internal to sd/sd to internal without problems!
[Moto G 4G Android Development] troyekto:
I'd like to report another bug.

After taking a photo, if I open gallery (from the camera app) to see the last taken photo, it freezes.
[Moto G 4G Android Development] CraschTD:
Me too!!!

Also bluetooth switch often is grayed out and I'm unable to turn it off.

As a workaroung I have to click on "other settings" at the bottom. There the switch alway works.

Anyone has this behavior?
[Moto G 4G Android Development] mrLoma:
Yep i have the same issue with the 20161119 build.

SD size in settings are correct now, but moving any app will still result in "insufficient space" message, although I have gigs free and an app is only a few mb big.

Google camera 4.2 crashes on startup, of you want to use it you need to install the 7.0 version(build 4.1), which can have weird behaviour wrong oriented and stretched image.

I tried gapps aroma and it disabled cm camera without installing the Google camera, so I had to manually install it.

I just tested the cm camera, after enabling it again, indeed the gallery freezes if you take a picture and than use the gallery shortcut. When I try to send the bug report, that also crashes. Than it tries to send it anyways and it's been doing that for a while now.

---------- Post added at 02:03 PM ---------- Previous post was at 01:35 PM ----------

I did a soft reboot to try to get the report to send, but now the camera gallery doesn't crash.

The little gallery icon doesn't update when making panoramic pics

---------- Post added at 02:14 PM ---------- Previous post was at 02:03 PM ----------

Tried again

Full reboot->crash(was able to send report this time)

Soft reboot->cm camera gallery works fine.
[Moto G 4G Android Development] Arnova8G2:
Install similar ROM to google pixel

Install similar ROM to google pixel

Download last cm14.1

cmxlog.com/14.1/peregrine

Download last OpenGApps Super Package for Android 7.1

opengapps.org/?arch=arm

gapps-config.txt base github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options

Download gapps-config.txt and place it in the same folder as the Open GApps zip
[Moto G 4G Android Development] Fedray:
I'm curious about something, sometimes was a bit difficult to unlock the phone with the slide, was like screen wasn't properly responding. Didn't happen on CM13 as I remember, used it for months and no problems. Maybe it's a bug or a problem of my screen?
[Moto G 4G Android Development] mrLoma:
I haven't had any issues with unlocking.

But I don't use the slide to unlock.

I had some issues with some of the previous test versions, that some inputs seem get lost. But I didn't see any issues with the last few builds.
[Moto G 4G Android Development] wagmic:
Same here but maybe it's just my screen too :)
[Moto G 4G Android Development] sevenrock:
Just want to share some experience:

After seeing this patch https://review.cyanogenmod.org/#/c/169231/ I was curious whether

it improves XT1039 as well or not. First tests today showed that I could copy to my vfat-formatted

sdcard with ~4,8 MB/s compared to 2,8 MB/s using a cm13-based ROM without this patch, both

times the sdcard is neither encrypted nor merged with the internal storage. During testing I copied

~20 GB of data to the sdcard, their md5sum still matched their originals so I can rule out data

corruption, at least for today ;)

The oldest commit of this code I could find dates back to Aug 2015:

https://github.com/neonkat/kenzo_kernel/commit/af84a9cb13de10373889056a7d366423de700526

Is this patch worth being included in our ROM as well?
[Moto G 4G Android Development] Danielnc43:
Can I install pixel launcher and activate Google assistant in this ROM?
[Moto G 4G Android Development] M1chiel:
I could not get the assistant working, but may be others did.
[Moto G 4G Android Development] schrickz:
simply edit the build.prop by adding ro.model.product=Pixel

clear Google app data and set up the assistant.
[Moto G 4G Android Development] schrickz:
no problem with Pixel launcher.

I am using the black version from #TeamBlackOut
[Moto G 4G Android Development] M1chiel:
That's what I did (only "PixelXL" instead of "Pixel"). I'll give it another try later.
[Moto G 4G Android Development] ravenmag:
How to get this effect? I tried to flash .zip by a recovery and it don't work.

Sent by a fridge. My XT1039 is broken.
[Moto G 4G Android Development] schrickz:
go to settings > developer options, scroll down and activate "force activities to be resizeable".

open some apps and hold recent button to enter multi window, click on the square icon to get the app on floating mode.
[Moto G 4G Android Development] Arnova8G2:
[MENTION=5357473]Danielnc43[/MENTION] and [MENTION=7244877]M1chiel[/MENTION] To activate the assistant

After installing the ROM as indicated on this post : http://xdaforums.com/showpost.php?p=69725419&postcount=391

Download on google play > get assistant.

To force the install all the apps on the sd card go to settings > developer options, scroll down and activate "Forcing availability external storage".

Some screen capture after installation
[Moto G 4G Android Development] schrickz:
the icon you red circled is simply a voice search shortcut, not the assistant.
[Moto G 4G Android Development] Arnova8G2:
This will display after activating the assistant

Here are the two screenshot before and after the activation of assistant
[Moto G 4G Android Development] schrickz:
open Google app setting and look for the assistant settings, I bet you don't have it.

believe me, that's only voice search shortcut.
[Moto G 4G Android Development] schrickz:
here's the assistant activated by long pressing the overview button.
[Moto G 4G Android Development] Arnova8G2:
OK to work after changing the language in English

Does not work in French

thank you [MENTION=3166483]schrickz[/MENTION]
[Moto G 4G Android Development] schrickz:
lol.

just press the thanks button.

btw, try out the black Pixel launcher from TeamBlackOut to get the transparent app drawer.
[Moto G 4G Android Development] Tenchu:
init.d.zip

Just a newbie question... can i run this script too? There's any observation or recomendation? What's it change?

Thank's
[Moto G 4G Android Development] schrickz:
yes, you can.

just flash it.

it's create swapfile from the unused /cache partition to act as a virtual memory extension of our phone RAM. Having more RAM, makes the phone runs smoother even with more apps running.
[Moto G 4G Android Development] Danielnc43:
Can I install this script with the kernel Valkyrie?
[Moto G 4G Android Development] Pupet_Master:
Yes, not just you can.. but thats how i use on my device ;)

As long the ROM and Kernel suport init.d (as most do) you can flash it
[Moto G 4G Android Development] schrickz:
got error while flashing 20161123, anyone tested 20161122 ?

weird to have error 7 on flashing the right ROM.

my bad, forgot to revert my build.prop, it's still Pixel.
[Moto G 4G Android Development] M1chiel:
20161122 installation went fine for me. Haven't tried 23 yet.
[Moto G 4G Android Development] aha360:
Nice TWRP theme - what is the theme name, may I ask?

The 2016-11-23 build installed successfully for me, this time via the built-in CM UPDATER, which now works.
[Moto G 4G Android Development] l0rand:
Is bluetooth working on latest version? There were some problems on 1119.
[Moto G 4G Android Development] :
same problem here with image since 17. November.

I have don't tested other builds before.

We need a fix?
[Moto G 4G Android Development] schrickz:
it's Materialized twrp theme

http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
[Moto G 4G Android Development] CraschTD:
Me 2! IN CM14.1 unlocking with swipe is more difficult!!!!
[Moto G 4G Android Development] Schmuppes:
The ROM is working alright for an early build, but I clean installed it and what bugs me is a somewhat sedate keyboard without swype functionality. Any way to fix that without installing a different keyboard software?

/edit: Thanks for the great work bringing 7.1 to my humble XT1039!
[Moto G 4G Android Development] :
[MENTION=3166483]schrickz[/MENTION]:

after update twrp 3.0.2-0 to 3.0.2-2, works ffashing here fine.

I hope this can hell you....

Bug:

delete downloaded images (ota) don't works here

design are not in settings available
[Moto G 4G Android Development] Mogster2K:
Should /system and other partitions be formatted as ext4 or f2fs?
[Moto G 4G Android Development] LuK1337:
The only partition that can be f2fs is /data.
[Moto G 4G Android Development] Fedray:
Any news about the problem when using adoptable storage and trying to move apps from external memory to internal and vice versa?

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] schrickz:
my problem was solved. I forgot to change back my build.prop from Pixel to XT1039, that's why I got error 7 when trying to flash 20161123 build. TWRP assume I'm trying to flash a peregrine ROM on a Pixel device and prevent the installation process.
[Moto G 4G Android Development] mrLoma:
I tried the cm update yesterday. It downloaded the rom and when I started it showed a progress bar, but it just booted in recovery. So I did the rest manually.

I did get an error copying zip to @/cache/recovery/something.map

At the beginning the flashing process.

Don't recall the exact path, I thought there would be a log but I can't find it.

I did use the init4.d.zip last week, could it be related?

Apart from the error the phone is working though.

I had to look around for the download location the cm update (it's on the SD card under cmupdater).
[Moto G 4G Android Development] Pupet_Master:
No, init.d zip don't affect the ROM before it first boot.

What TWRP version you are using?
[Moto G 4G Android Development] mrLoma:
Twrp 3.0.2-2

Can't seem to find the log , I only see the gapps log.

To be more clear it didn't say something.map I just don't remember that part;)
[Moto G 4G Android Development] Marcos60001:
Can anyone report on the stability of the ROM? I'd like to try this but I fear something might not work out right.
[Moto G 4G Android Development] jdegreef:
Well, if you have a good backup of your current config you can test it without risk.

Plus you can read a few pages back in this thread to have a good idea of the situation of this rom.

That's what I do :)
[Moto G 4G Android Development] mrLoma:
Most things work. I use it as my every day phone.

The problems are very minor for me compared to the performance gain since the official lollipop.

Problems I notice now are a very seldom thing that my WiFi gets disabled. Had it twice last few months.

You can't move apps between SD and internal.

Google camera 4.2 doesn't work but it's not the stock camera app anyway.

The cm debugger crashes sometimes. On boot and on installing apps, but you can just click away the pop-up.

That's all I noticed so far. Nothing really game breaking for me
[Moto G 4G Android Development] aha360:
Google Camera 4.2 does NOT work as it is meant for ARM64 devices, and the Moto G (LTE) and the LG G3 are NOT ARM64 devices.
[Moto G 4G Android Development] mrLoma:
Ow OK. I like the way it works and it's gallery. Too bad.
[Moto G 4G Android Development] aha360:
Me too, especially when it came to its panorama/photo sphere features.

Looks like we have to upgrade out phones if we want ARM64-only versions of the Google Camera app in the future. :(
[Moto G 4G Android Development] mrLoma:
You can use 4.1, but it has a few bugs.

When you use it as guest when the phone is locked and let the screen go black again it gets stuck and you need to force reboot. And sometimes the camera rotation is tilted 90 degrees and stretched. It's weird that they make the 4.1 for all CPUs but the 4.2 is only arm 64
[Moto G 4G Android Development] doldraug:
Error 7 installation script.

Bad updater-script in /META-INF/com/google/android/

I replaced the installation script with this one:

------------------

ui_print("Target: 1478919286");

ifelse(is_mounted("/system"), unmount("/system"));

package_extract_dir("install", "/tmp/install");

set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);

set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "backup");

unmount("/system");

if is_mounted("/data") then

package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

else

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");

package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

unmount("/data");

endif;

show_progress(0.750000, 0);

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

show_progress(0.020000, 10);

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "restore");

unmount("/system");

show_progress(0.050000, 5);

package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

show_progress(0.200000, 10);

set_progress(1.000000);

------------------

Good Luck. :)
[Moto G 4G Android Development] LuK1337:
Or update your twrp.
[Moto G 4G Android Development] doldraug:
Thank you.

Thank you.

I'm still a little new to this.

I update and I see with the soguiente ROM.
[Moto G 4G Android Development] mrLoma:
Hey I'm on the latest nightly 20161115.

I had to charge my phone via USB today and it took about 4 hours. Don't know what's that about. This is the first time I charge the phone since updating so I don't know how it charges using other chargers. I normally use my home PC with asus charge boost.

On another note the error I get when flashing is about @/cache/recovery/block.map
[Moto G 4G Android Development] Alessandrotischer:
This morning notification toggles have disappeared... Does anyone know how to get them back to their place?

(I tried to reboot and to flash an update, without any results)
[Moto G 4G Android Development] mrLoma:
Have a look at

Settings>status bar>status bar icons

Are they still all enabled? Try enabling disabling if they are enabled.
[Moto G 4G Android Development] Alessandrotischer:
Still no results
[Moto G 4G Android Development] mrLoma:
What build are you on?
[Moto G 4G Android Development] Alessandrotischer:
Today's one
[Moto G 4G Android Development] mrLoma:
Do you still have them listed on the settings?

What version did you come from? Did you wipe davilec etc?

Did you have them after installing the rom?