yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] aha360:
Yeah, and Google are wilfully sabotaging external SD card storage just to promote their services, like Google Drive, and based on my past experiences, I wouldn't trust Google at all, not even a kilobyte-sized text file with nothing but gibberish written on it, especially when their Google Drive service CANNOT even refresh storage sizes with data deletions - I actually am a victim of this, and therefore cannot receive new emails because of this.

Outside of Google Drive, Microsoft robbing 10GB of storage, making users ONLY have 5GB of free storage, and Mediafire shrinking their cloud storage sizes from 50GB to a puny fraction of this is pathetic. No wonder not a lot of people CANNOT trust cloud storage at all.

Special thanks to [MENTION=5119654]IronTechmonkey[/MENTION] for pointing out Google's data storage bull$hittery: http://xdaforums.com/showpost.php?p=69553527&postcount=265
[Moto G 4G Android Development] gaston2150:
Few days after installed this ROM, I find it pretty good but slow.

Launch an application take few seconds. Swith between applications is horrible.

For exemple, I get a notification from Skype, I clic on it, and I have a blank screen while 10s before skype appears.

I try to desactive animation in the developer options but nothing to do, it's pretty slow.
[Moto G 4G Android Development] CraschTD:
On my case it seems that the phone is low on memory and keeps killing apps (I'm on cm-14.1-20161110-NIGHTLY-peregrine clean install).

User 64%, System 11%, IOW 10%, IRQ 0%

User 763 + Nice 4 + Sys 133 + Idle 150 + IOW 129 + IRQ 0 + SIRQ 4 = 1183

PID USER PR NI CPU% S #THR VSS RSS PCY Name

761 system 18 -2 28% S 126 1484672K 252228K fg system_server

27142 u0_a119 20 0 23% R 29 1322616K 101464K fg com.google.android.gms

26954 u0_a119 20 0 13% R 37 1308204K 72428K fg com.google.android.gms.persistent

Some logcat

11-11 10:21:01.399 29462-29473/com.google.android.gms I/art: Background sticky concurrent mark sweep GC freed 50601(3MB) AllocSpace objects, 10(200KB) LOS objects, 28% free, 10MB/14MB, paused 13.207ms total 134.327ms

11-11 10:21:03.055 29462-29473/com.google.android.gms I/art: Background partial concurrent mark sweep GC freed 83860(5MB) AllocSpace objects, 0(0B) LOS objects, 40% free, 9MB/15MB, paused 1.756ms total 134.402ms

11-11 10:21:04.204 2655-2666/com.lbe.parallel.intl I/art: Background sticky concurrent mark sweep GC freed 171372(6MB) AllocSpace objects, 5(140KB) LOS objects, 38% free, 10MB/17MB, paused 2.261ms total 151.726ms

11-11 10:21:11.398 23977-23988/com.whatsapp I/art: Background partial concurrent mark sweep GC freed 58275(2MB) AllocSpace objects, 10(220KB) LOS objects, 40% free, 13MB/22MB, paused 1.380ms total 746.423ms

Let me know if I can help with more logs
[Moto G 4G Android Development] schrickz:
try to activate automatic optimization in battery saver and performance, it's off by default.
[Moto G 4G Android Development] CraschTD:
Blame on me... I didn't activate greenify. Now the phone seems to work as on CM13
[Moto G 4G Android Development] snappy65:
File manager keeps asking for root access , have it enabled in developor options, still can't access sd card. have it set as portable storage.
[Moto G 4G Android Development] schrickz:
it's a known issue.

use other file manager.
[Moto G 4G Android Development] mrLoma:
I haven't used greenify since I started using cm14, didn't feel like I needed it.

It was very much needed on lollipop though.

So on another note, will there be a new thread for the official 14.1 or is this one going to be used for the official releases as well?

Since the unofficial builds have stopped I assume we'll use the official ones from now on.

http://download.cyanogenmod.org/?device=peregrine

I guess I'll try the official nightly later today. I currently have (cm-14.1-20161101-UNOFFICIAL-peregrine) so I'm guessing I need to wipe everything, right?
[Moto G 4G Android Development] schrickz:
maybe [MENTION=4173406]Kayant[/MENTION] just need to change the thread title.

better to do clean install.
[Moto G 4G Android Development] mrLoma:
Ok thanks
[Moto G 4G Android Development] CraschTD:
From what I see when I started greenify the phone is much faster.

If someone tried installing greenify maybe she could confirm or not this fact.

Another thing that I find beneficial for CM14 snappyness is using an additional swap file.

The cache partition is unused so I created one there.

Below the scripts command

su

dd if=/dev/zero of=/cache/swapfile.img bs=1024 count=512000

mkswap /cache/swapfile.img

swapon /cache/swapfile.img

-- to check

free -h
[Moto G 4G Android Development] matthias1976:
i got 2 logcat.....

"cm_error_report_app" always fc at startup

since offical nightlys

"cm_settings_app" fc when changing "system profiles" "prefered network type"

since i started to use cm14 01.10.
[Moto G 4G Android Development] schrickz:
never think of this before.

last time using swapfile was on my Rokr E6 running MontaVista Linux.

btw, since it's on /cache, I guess it would erased each time we flashing a newer nightly.

with greenify on, I do feel my phone runs really smooth.

+data saver on to prevent background apps, it's even got smoother.
[Moto G 4G Android Development] CraschTD:
In this moment I have 756M total swap space, used 258M and free 498.

So without the additional file the swap space wasn't enough.

When flashing new version the partition is reformatted and the file lost.

Maybe [MENTION=4173406]Kayant[/MENTION] could think about including the creation of this swap file .

Good to know that greenify is good also to you.

What's data saver?
[Moto G 4G Android Development] schrickz:
settings > data usage > data saver.
[Moto G 4G Android Development] IronTechmonkey:
AFAIK it is effectively what was once called "Back ground data" but now with per-app control.

[EDIT] A quick google search (which anybody including you could do;)) finds this https://developer.android.com/training/basics/network-ops/data-saver.html
[Moto G 4G Android Development] mrLoma:
Just installed the Official build from 11 11 , I had an issue with the phone dailer,it crashed on opening.

After a bit of poking around I fixed it by clearing the data of the phone app.

Maybe I broke something by restoring app data with titanium.

It's worth a try for people that have the crashing phone app.

The default cm camera stops the video recording the moment you start it, so that seems broken again.

I installed google camera 4.2 that one crashes after getting permissions.

So I replaced it with 4.1 , wich works but sometimes has the strange rotated camera when switching camera or photo/video mode.

Apart from that it all feels smooth and other things I tested seem to work.

Ow yeah the sd card total size in the settings are still wrong, or would it take a reformat of the sd to fix this?
[Moto G 4G Android Development] schrickz:
camera should be fixed in today's nightly, seen it in the change log.
[Moto G 4G Android Development] pjconoso:
Update from within CM still not working?
[Moto G 4G Android Development] audinswfc:
Running the latest official peregrine nightly and whenever I boot up i'm getting an error "cm bug report has stopped". Anyone else getting this?

Flashed the ROM via TWRP 3.0.2-0 and using the open gaps 7.1 nano.
[Moto G 4G Android Development] matthias1976:
same here....
[Moto G 4G Android Development] audinswfc:
Out of interest, did you opt out of sending bug reports to CM? I did at first but I've just enabled sending bug reports and rebooted and the error hasn't popped up, yet...
[Moto G 4G Android Development] matthias1976:
where to enable disable it !?
[Moto G 4G Android Development] audinswfc:
It's under Settings then Privacy
[Moto G 4G Android Development] Kayant:
Modifications like that will have to be done by you each time as that change is unlike to be added to official repos.

Done :D
[Moto G 4G Android Development] matthias1976:
brings no difference for me.

with and without error report iss crashing on startup
[Moto G 4G Android Development] mrLoma:
I just had FC issues with the file explorer. Seemed to be the restored data from titanium backup again. Was all fixed after wiping the app data.

It restored most things just fine, but some apps don't seem to like it, or maybe the backup got corrupted somehow.
[Moto G 4G Android Development] Pupet_Master:
So the init.d script should look like that?

#!/system/bin/sh
dd if=/dev/zero of=/cache/swapfile.img bs=1024 count=512000
mkswap /cache/swapfile.img
swapon /cache/swapfile.img

-- to check
free -h

Also about lose it when flash, i have a init.d zip file to flash every time we flash a new ROM, if the script is right above i can share it
[Moto G 4G Android Development] CraschTD:
"free -h" is only to check, you can delete it. Thanks if you share!!!
[Moto G 4G Android Development] CraschTD:
logcat errors

looking into logcat there are lots of errors...

What it's the best way to address them?

I mean... write on this thread, file some bug report...

11-13 16:20:52.331 1011-1633/system_process E/WifiHAL: virtual int WifihalGeneric::handleResponse(WifiEvent &): QCA_WLAN_VENDOR_ATTR_FEATURE_SET not found
11-13 16:20:52.331 1011-1633/system_process E/WifiHAL: nl80211: requestResponse->nl_recvmsgs failed: -5
11-13 16:20:52.344 1011-1084/system_process E/BatteryStatsService: no controller energy info supplied
11-13 16:20:52.345 1011-1084/system_process E/BatteryStatsService: no controller energy info supplied
11-13 16:20:52.348 1011-13250/system_process E/BatteryStatsService: power: Missing API
11-13 16:20:52.382 1011-1084/system_process E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
[Moto G 4G Android Development] rndmnck:
To be able to upgrade from the unofficial build to official ones, I had to delete the database files in

/data/user_de/0/com.android.providers.telephony/databases

SIM card will now be detected.
[Moto G 4G Android Development] mrLoma:
[MENTION=4173406]Kayant[/MENTION] the changelog link in the OP doesn't work for me.

This looks more like the correct one.

https://www.cmxlog.com/14.1/peregrine/
[Moto G 4G Android Development] IronTechmonkey:
Yep, the link in OP still seems to be the one for CM14.0 before the it went device specific.
[Moto G 4G Android Development] audinswfc:
Yeah same here, it didn't error for a while but the errors are back now
[Moto G 4G Android Development] gaston2150:
Camera works fine for me. No crash, no FC. I use the default app.

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G 4G Android Development] ppzoid:
Absolutely fabulous. Everything works fine for me. Only minor problem is the wrong sd-card size shown.
[Moto G 4G Android Development] Kayant:
Hmmmm you shouldn't really need to do that as that should be handled by the ROM after the dtatabase stuff was merged earlier. I wonder what's up there.

Will update the link tomorrow.
[Moto G 4G Android Development] Pupet_Master:
Alright, here i'll attach the init.d zip file.

There are 3 more small scripts though on my zip.

One for set the /system partition as read and write, other for selinux to permissive and the last for call userinit.sh if present.

And the swap of course ;)
[Moto G 4G Android Development] schrickz:
thanks, gonna try it.
[Moto G 4G Android Development] Pupet_Master:
Tell me if work fine, if not i may need to change the permission of the swap script (but i think it's working fine on my device at least)
[Moto G 4G Android Development] schrickz:
working fine but I feel a little bit of lag on free windows mode when resizing the apps window.
[Moto G 4G Android Development] Pupet_Master:
I'll make a zip now for you with only the swap script.

So we can trace if it is the flashing method or the other scripts i find useful yet not too intrusive. Wait around 3 mins here
[Moto G 4G Android Development] Pupet_Master:
Here it is, the flash zip file with just the swap script
[MENTION=3166483]schrickz[/MENTION]
[Moto G 4G Android Development] schrickz:
okay, testing it now.
[Moto G 4G Android Development] schrickz:
latest init.d.zip working flawlessly.

more fluid and smoother.

5 apps, 6 floating windows, no more lag on resizing.
[Moto G 4G Android Development] schrickz:
after deleting .android _secure on external sd card via TWRP, external sd card is accessable now on cm file manager.

I guess this is the only workaround for now on the issue with cm file manager can't read the external sd card.
[Moto G 4G Android Development] steve.loveday:
Cheers guys

Installed the latest nightly with twrp and it worked great.

Not noticed any problems yet and is running smoother than my stock lollipop that it was on before.

Daft question but my sons having this phone in 2 weeks if I do a factory reset does it actually reset to this cyanogenmod it wont try going back to stock will it ?

Cheers all
[Moto G 4G Android Development] mrLoma:
No factory reset clears some data and settings not the installed ROM.

I have an issue where some of my contacts are scrambled in the sms messaging app.

In the list they show up wrong, but when I open the conversation it says the wrong name on top, but the right name on the message entry.

I did do some contact merging(linking contact entries) yesterday, any ideas how to fix this?

UPDATE: crap, it seemed to be the titanium backup data again, sorry for the incorrect info. Once the data of the messaging app was cleared everything was fine again. I'll have to be very selective in the future what I restore using titanium backup.
[Moto G 4G Android Development] Fedray:
Is this cm stable enough for daily driver? Are there random reboots or some app crashes? I'm curious, I want to try but I use sd as internal and want to know if that would work.

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] sevenrock:
Please be careful when flashing the upcoming nightly version 20161114,

it might be unflashable, at least with TWRP: http://review.cyanogenmod.org/#/c/170895
[Moto G 4G Android Development] Pupet_Master:
Nice, i'm glad it work well.

I'll troubleshoot the other now to find out what script slow it down
[Moto G 4G Android Development] LuK1337:
Tip: If you want to be able to flash latest CM14.1 updates you need to update your twrp.

~ https://dl.twrp.me/peregrine
[Moto G 4G Android Development] Pupet_Master:
You are TheMan, Luk.

Thanks so much
[Moto G 4G Android Development] Libor1:
Can't write host files in AdAway on new nightly and new TWRP. Anyone else having this problem ? Solution ? Thanks.
[Moto G 4G Android Development] fygonzalo:
Search the AdAway post in XDA and download the lastest beta, install it and make sure that in preferences "Enable systemless mode" is unchecked.

Now try to download host file again and should work.
[Moto G 4G Android Development] CraschTD:
I've done the same thing twice... first time all went ok.

Now it seems that database file didn't gets recreated by reinstalling rom.

Any idea on what can I do to solve this?

Cleared org,cyanogenmod.cmparts data and everything is back to normal.
[Moto G 4G Android Development] wagmic:
Merci:good:

one thing selinux doesn't seem to be permisive
[Moto G 4G Android Development] Fedray:
I think I'm ready to backup my current rom, install CM14.1 and see how it goes. I'm sure that is really stable at this moment so there will not be big problems, right? One question, is storage still showing wrong sd card size?
[Moto G 4G Android Development] schrickz:
stable enough for me to deleted my cm13 backup.

don't know if others got error on storage, but I never had that problem since unofficial cm14.
[Moto G 4G Android Development] sebaalbo98:
I also did not have the storage error from the unofficial ROM
[Moto G 4G Android Development] Fedray:
I had adoptable storage in CM13, CM14.1 also used my sd as adoptable without asking me, my sd working without problems, anyways I have the wrong sd card size in settings, but if it works then there is no problem I think, gonna try it a bit more. Working so good so far, very happy with it. :)

Edit: My apps getting installed in my sd, when I try to move to internal i get "insuficient space" or something like that. Uhmmm will see what to do, maybe I will use it as external storage.

Edit2: Definitely adoptable storage not working, going with portable storage then. :)
[Moto G 4G Android Development] steve.loveday:
Yeah mines not showing the correct size on mine

I've got my 8gb normal internal and the 16gb Micro SD set as internal but shows this amount...but it works OK and when plugged into my laptop it says over 16gb in total available.
[Moto G 4G Android Development] pjconoso:
is OTA update for Nightlies working? My keeps on saying 'No update found'. I have to download and save it into the cmupdater folder I created manually.
[Moto G 4G Android Development] minimale_ldz:
Thank you for this ROM. I'm not a CM person, but got it for tests. Good to see it has no problems with AFWall (quite a lot of custom kernels don't like it). I flashed cm-14.1-20161113-NIGHTLY last night - very snappy, looks good. Just had one system freeze when installing Adaway (everything stopped, screen didn't respond to touch, had to reboot) and today my clock reset to 00:00 when I was browsing Developer's options (didn't change anything there). Guess it's not a daily driver for me yet, but I'm really glad to see developement still going for our device.
[Moto G 4G Android Development] Tenchu:
Error 7 flashing 20161116

Hi all.

I'd tried flash latest version 20161116, twrp-3.0.2-0, and got error 7. Anybody else?

Thank's
[Moto G 4G Android Development] troyekto:
It's written on the first post and also some posts back.
[Moto G 4G Android Development] mrLoma:
You need the newer twrp

---------- Post added at 02:33 PM ---------- Previous post was at 02:31 PM ----------

What version are you using this has been broken for me since 14.1.

Maybe I should try reformatting the SD
[Moto G 4G Android Development] Tenchu:
I'd used the correct twrp version. Didn' see?:D
[Moto G 4G Android Development] aha360:
Go here and update your recovery: http://xdaforums.com/showpost.php?p=69627354&postcount=125

THE LATEST TWRP RECOVERY VERSION IS 3.0.2-1 - THREE POINT ZERO POINT TWO DASH ONE!

It is a CM14.1-wide problem - the CM Updater feature is incomplete on all CM14.1 ROMs regardless of the OEM it is built for - I have even tried using the CM Updater feature on my LG G3 and it doesn't work for that phone as well.
[Moto G 4G Android Development] Tenchu:
Twrp 3.0.2-1

Thank's aha360, thank's for anybody.
[Moto G 4G Android Development] Fedray:
I had sd card as internal storage with the wrong size, I thought all was working good anyways but then I couldn't move apps from sd to phone, got the message "no space available", I just formatted sd as portable storage and now shows the right size.

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] steve.loveday:
You don't need to move them over once its set as internal.

Set it as internal then press on your internal storage at top of the list and hit the menu top right and choose migrate (think that's what its called) that's the same as copying to SD
[Moto G 4G Android Development] Fedray:
I know, but I don't want all my apps in sd, because some of them don't work really well, for example Snapchat.

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] steve.loveday:
Ah right yeah...

Never looked into it but can't you move a single app the other way
[Moto G 4G Android Development] troyekto:
No, you wrote the wrong version. That's why I told you. Didn't you see?
[Moto G 4G Android Development] Fedray:
Well, CM14.1 was really good, anyways I miss all the CM13 customization, also I miss some Xposed modules so I went back to CM13. If anyone wants to know CM14.1 is really stable,, so you will not have any problems. I recommend it :)
[Moto G 4G Android Development] alejandrorobles12:
Installing version 16/11/2016 issues error
[Moto G 4G Android Development] Fedray:
Did u update twrp?

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] alejandrorobles12:
Yes, I just realized but thanks anyway, my friend! hahaha
[Moto G 4G Android Development] troyekto:
Some little bug:

- Vega notification sound is duplicated.

Anyway, it's incredible how fine CM 14.1 runs on moto g. It's a new life for the device.
[Moto G 4G Android Development] Tenchu:
OK, my apologizes for the Way i wrote. I'did because the links refer to version 3.0.2.0 in TWRP site, not the New version 3.0.2.1. The New version, like aha60 said, is in attachments.

I don't want cause any problem. Thank's for help.
[Moto G 4G Android Development] fygonzalo:
Which build? I have the first nightly and the vibration/silence icon is on the status bar.
[Moto G 4G Android Development] matthias1976:
maybe disabled in "preferences" "statusbar" "statusbaricons"
[Moto G 4G Android Development] troyekto:
Yes, you're right. It was my fault.

Thank you very much.

Sorry for the mistake. It works ok.

Thank you very much.
[Moto G 4G Android Development] :
Problem installing CM 14.1

I can't install CM 14.1 on my peregrine.

I user TWRP TWRP-3.0.2-0 I don't find anything newer.

I have adopted storage, but I tried both internal only storage and adopted storage too.

I have wiped and formatted everything many times. Just internal or adopted.

No matter what, I always get ERROR: 7

No issues trying to reinstall CM 13.

I don't know what am I doing wrong. Any help will be appreciated.

EDIT: It seems there are a few bad images uploaded to the peregrine section. I've been successful with the one from the 13th. Now running.
[Moto G 4G Android Development] Tenchu:
You must use TWRP version 3.0.2.1
[Moto G 4G Android Development] :
Actually, I've been able to install version 14.1-20161113, but not the newer ones.

Where do I get that new version of TWRP?

EDIT: Nevermind, I already found it. Thanks.
[Moto G 4G Android Development] Fedray:
We are getting fixed the wrong sd size when using adoptable storage! That's good :) https://review.cyanogenmod.org/#/c/171068
[Moto G 4G Android Development] troyekto:
Could anybody test if Settings->Status bar->Icons-> Time-> Show hours, minuts and seconds works?

It doesn't for me. It's not very useful, but it may be a bug.
[Moto G 4G Android Development] M1chiel:
Doesn't work for me either.
[Moto G 4G Android Development] Fedray:
Hey [MENTION=5075128]LuK1337[/MENTION], when I use adoptable storage I can't move apps that are already in the sd to phone memory, I got a message like "insufficient space" or something like that, I can't remember well because I went back to CM13, what I want to know if its a known bug or I did something wrong. Hope to not bother you! Anyways I thank you for the amazing job, you and all the developers (I assume there are others contributing to this work) for making this rom possible to our lovely phone. <3
[Moto G 4G Android Development] sevenrock:
Same here.
[Moto G 4G Android Development] LuK1337:
No clue about this.
[Moto G 4G Android Development] ravenmag:
I can't download the latest version. I tried the opera, opera mini, chrome and built-in browser. Any clue?

Sent by a fridge. My XT1039 is broken.
[Moto G 4G Android Development] matthias1976:
Same here
[Moto G 4G Android Development] IronTechmonkey:
The Nov 17 nightly has been bad from the moment it was posted, reporting completed download with resultant file's size = 0. There were problems in the build queue (which at the time I was hawking for osprey, as it were) just before Peregrine. In a few hours we should see if the next nightly is OK.
[Moto G 4G Android Development] ravenmag:
Thx. I love this ROM and your work.

Sent by a fridge. My XT1039 is broken.
[Moto G 4G Android Development] alejandrorobles12:
Does anyone know how to compile a rom rom 7.1 from windows? Is to put the themes to see how they are going. https://github.com/CyanogenMod/android_packages_apps_ThemeChooser/tree/cm-14.1
[Moto G 4G Android Development] _that:
1. Install a Linux VM

2. Continue with the instructions for Linux: http://source.android.com/source/requirements.html
[Moto G 4G Android Development] hrincon:
http://jenkins.cyanogenmod.org/job/android/187132/consoleText

oh oh... :(