yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] falle21:
I don't know exactly why but you don't need to install every recovery, I recommend use the twrp, not cwm. About the data and WiFi, try to update the radio by fastboot and after that everything have to work fine

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] moralesnery:
the cyanogenmod recovery is an optional install. You can disable the installation in the developer settings, so it wont replace your recovery.
[Moto G 4G Android Development] AndreiSant:
a small question... how can i downgrade bootloader version?
[Moto G 4G Android Development] Gianlu92:
I don't think it's a good idea playing with your bootloader. Anyway, previous bootloader is included in the kitkat firmware you can find in a specific topic here. You can find the instructions to flash everything via mfastboot.
[Moto G 4G Android Development] AndreiSant:
its because i have problem with partition, my recovery (twrp) show 0mb internal recovery and cant mount system, data,etc...

but thanks for the answer :)
[Moto G 4G Android Development] Somcom3X:
It's still up in the air whether or not I have time for both devices. I'll keep you guys posted
[Moto G 4G Android Development] gartzen:
I hope the wind blows towards the yes!
[Moto G 4G Android Development] aveyer:
Still having the odd reboot here and there on latest nightlies, sometimes happens when turning off wifi, another time it happened when opening TuneIn.
[Moto G 4G Android Development] sevenrock:
The soft reboot bug is still not fixed:

https://jira.cyanogenmod.org/browse/NIGHTLIES-1715

Please upload logcat.
[Moto G 4G Android Development] keevre:
Do I need to flash Lollipop bootloader to update to the latest nightlies? If yes, where can I find it?
[Moto G 4G Android Development] Travisholt92:
Yes and Google is your friend (hint: peregrine lollipop bootloader)
[Moto G 4G Android Development] keevre:
Didn't work.
[Moto G 4G Android Development] Drop-EX:
Hi,

I'm still using the 20150718 build because at some point the cm recovery accidently got flashed and it didn't seem to support backups. Since I had problems quite often I always do a backup before flashing an update. I hate doing anything with adb, it never worked for me, so I didn't flash a new recovery and the build worked pretty well.

However, I now flashed TWRP 2.8.7 which works but it won't let me flash the latest build. There's an error directly at the beginning without any further description. Does anyone know why?
[Moto G 4G Android Development] ahmedteling:
plz can i have only the kernel in .zip flashable file ?
[Moto G 4G Android Development] afox27:
Still no support for the xt1042 T-T
[Moto G 4G Android Development] setherd:
Anyone having GPS issues? I can't get a lock in anything except the Google maps app. Even then I'm not sure it's working properly.
[Moto G 4G Android Development] Gianlu92:
Try erasing modemst1 and modemst2 via fastboot.
[Moto G 4G Android Development] Bastlwastl2010:
Are you on Lollipop Bootloader and Modem?

No..so update this first...And you must do this with fastboot....
[Moto G 4G Android Development] Elyo:
flash this if your dsp is still crashing https://www.androidfilehost.com/?fid=95784891001615764 got it from aneriks cm12 for moto g thread over here http://xdaforums.com/moto-g/development/5-0-cyanogenmod-12-t2950466
[Moto G 4G Android Development] hotbld5:
The latest twrp is indeed broken if you try to clear/format your cache. It WILL corrupt it and send you into a bootloop until you restore completely to stock.
[Moto G 4G Android Development] Level99:
I was actually able to get out of the bootloop by fastbooting the CWM.img from Socom's EasyRecovery toolkit and format cache that way. I don't think a full stock is necessary.
[Moto G 4G Android Development] hotbld5:
Really? I wish I had known that sooner...Thanks for that tip though!
[Moto G 4G Android Development] PatrickDziura:
I cleared cache and it was fine. I was able to boot. It takes more time, but it formats fine
[Moto G 4G Android Development] momterai:
​

Same here. TWRP 2.8.2.0 seems to work fine for me on my 1040. Did take quite a bit longer to format cache but it did work. I'm still on cm11 but flashed this recovery as i couldnt access my sd card (sandisk 32gb) with the old recoveries available. This one can access my sd card no problem, its just a bit slow on formatting cache.
[Moto G 4G Android Development] Somcom3X:
My apologies to everyone, my premature cm12 releases seem to be riddled with bugs I don't have or can't reproduce.

I'll upload another release in a few hours. So far no bugs other than the mentioned have come to my attention, hopefully no one will experience anymore devastating issues.

As for twrp, recovery has always been a tricky part of the development process. It does not corrupt /cache for me though, it only takes about 40 seconds to finish. I'll see about recompiling one over again.
[Moto G 4G Android Development] Lovatastic:
[MENTION=4802051]Somcom3X[/MENTION]

The new TWRP is flawless with my device! Its a lot more polished and the text is better refined it's just it takes a little longer to complete tasks but that's fine for me. As far as the latest CM12 ROM it's doing well apart from refresh of the systemui when closing certain apps
[Moto G 4G Android Development] Somcom3X:
New build up.

I won't be posting anymore builds for a few weeks. I've taken too much time building roms and neglecting my school work, so I have to do this to stop myself.
[Moto G 4G Android Development] Xplorer4x4:
Are you still going to bring carbon up to date before returning to your school work? Thanks for all the hard work.
[Moto G 4G Android Development] EternalFlame:
new build has superSU and dsb fix included ?

going to flash this right away :)

edit:

dsb_fix sill needed but inbuild superuser works.

edit2:

stock clock works stock camera does not but alternatives do.

dialer does not crash after a call.

first impression: looks good (:

off topic :

oh and if anybody misses the circle battery icon with the actual percentage... i just found this app, it´s not a circle but you have the percentage again (:

https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent&hl=en

and... its black on white on my device (the comments tell otherwise). hf (:
[Moto G 4G Android Development] occtec:
Does one need to clean install coming from the 26th build?
[Moto G 4G Android Development] Xplorer4x4:
Does TWRP 2.8.0.0 work for flashing this?
[Moto G 4G Android Development] EternalFlame:
I did a clean flash.

I used 2.8.2.0
[Moto G 4G Android Development] Xplorer4x4:
2.8.2 failed to wipe cache or mount it and sent me in to a boot loop last time I tried.
[Moto G 4G Android Development] EternalFlame:
yeah i know it works for me though, guess i´m just lucky, let us know if it worked for you with the elder TWRP build? (:
[Moto G 4G Android Development] marco.burrometo:
Is there any changelog? thx
[Moto G 4G Android Development] kamilpl87:
TWPR 7 working:)
[Moto G 4G Android Development] marco.burrometo:
I still have problems with maps... it doesn't find gps.

Is this a common trouble?
[Moto G 4G Android Development] EternalFlame:
yep, flash your stock-rom, turn gps on after you get a lock flash/(restore)? cm12 - i guess this is the common solution, correct me anybody if i´m wrong.

I use mobile/wifi for maps, so i can´t tell if this works but i don´t get a gps-lock either on cm12 if i choose gps-only(device only option) in location settings.
[Moto G 4G Android Development] Drop-EX:
Don't know, how can I find out?
[Moto G 4G Android Development] Bastlwastl2010:
Do you read this thread?

In # 2575 i post the links, just one day ago
[Moto G 4G Android Development] setherd:
Seems to work temporarily. I can get a fix at first. I try again later and I can see the satellites but not get a lock.

If I reboot I can't even see the satellites. :crying:

Edit. I left the phone in a window after rebooting. It got a lock finally... But it took many minutes.
[Moto G 4G Android Development] Drop-EX:
To be honest: No, since I was kind of stuck on the build 2 months ago.

But I've seen your link and also read it, but I don't understand much of it. :( Is there a way to find out if my bootloader is too old? And do I have to do a full wipe?
[Moto G 4G Android Development] ahmedteling:
[MENTION=2481935]setherd[/MENTION] the phone must be in a clear direct view to the sky , no obstacles
[Moto G 4G Android Development] Germknoedl:
http://xdaforums.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793

get into fastboot mode. there you can see the version of your bootloader. (as seen in first attached picture in thread above)

if you didn't flash stock L before, you should be on an older version.

41.1A is the newest one - I got that via 5.1 OTA.

not sure about wipe in your case.
[Moto G 4G Android Development] matmutant:
after flashing new bootloader,

you'll need to

format /system, /cache and /dalvik-cache

install the newest night

install gapps

This way you'll get the most bugless achievable update possible without loosing user data.

i think that 41.18 and 41.19 are already LP bootloaders (that's the case on XT1032 at least), btw, i would be happy to have the 41.1A for Peregrine so i can give a download link in my own step by step flashing guide : http://xdaforums.com/showpost.php?p=59520890&postcount=233
[Moto G 4G Android Development] Germknoedl:
guess you're right. never cared which BL version i had with KK. my bad.;)
[Moto G 4G Android Development] Drop-EX:
Thank you Germknoedl! Everything worked out fine, I'm now on the newest nightly even though I dirty flashed it. If it won't work, wiping is no problem (just didn't want to wipe this time). Btw, I was on 41.13. :D
[Moto G 4G Android Development] Axaion:
Uh hey, im sorry if this has been asked and answered before, but after i flashed recovery, i noticed theres a "line" going from the bottom up like an old CRT monitor.

Also, when i try to do a backup before going any further i get this error:

E:createTarFork() process ended with ERROR=255

Also i just read what you guys were talking about above, about the bootloader, so from what i understand from that is that i need to get the newest one in the linked reply, and flash that with adb/fastboot, yeah? in order to run this rom.

Thanks a ton for reading

update; Seems TWRP 2.8.7.0 was the issue at least for now, 2.8.3.0 does the backup fine, i havent tried to flash cm 12.1 yet however, but im guessing i need to do the bootloader parts?..
[Moto G 4G Android Development] gartzen:
[MENTION=4969081]Axaion[/MENTION]

The line is a bootloader issue. That happens when using cm12 or 12.1 with a kitkat bootloader. The rom works well though, that line disappears the first time you switch off your screen, and doesn't come back, unless you reboot. If you flash stock lollipop and then cm12 you can get rid of it for good.

[MENTION=4802051]Somcom3X[/MENTION]

I've seen that in the last nighlies you added cm recovery. Can you tell us something about this? Is it safe to use, should we stick to twrp?

Thanks!
[Moto G 4G Android Development] Axaion:
That is hella confusing, flash it with what?, adb commands? twrp?

I somehow feel like information like this, plus the linked reply should be in a sticky somewere or in the OP

edit:

So i got the bootloader updated to 41.1A, and CM12.1 flashed after a factor reset..

But its just been sitting there on the Cyanogenmod logo for 10~ minutes just doing that animation, also the screen it starting to get rather hot
[Moto G 4G Android Development] gartzen:
You may have to wipe internal storage in order to boot cm12.

Sorry if I was so confusing, but this questions have been asked so many times in this thread, I agree it should be a guide or something.
[Moto G 4G Android Development] Axaion:
when you say wipe, do you mean factory reset, just wipe it in advanced or go the whole nine yards and format it?

Nono, youre not confung, im just making reaaaaly sure i dont mess up, just got the phone and all, heh.

edit; i did a factory reset, and advanced wipe of everything but external sd card. - Its still just sitting there doing the CM12 logo animation and getting real hot (id wager 50-60c)
[Moto G 4G Android Development] ahmedteling:
u should flash TWRP-v2.8.7.0 with Encryption Support from here http://xdaforums.com/moto-g/4g-development/collection-somcom3xs-experimental-corner-t2996266

and before flashing any new rom make sure to wipe data, cache , dalvick cache , system , internal storage to make sure it will run with 0 issue

if ur phone freeze on boot screen just hold VOLUME DOWN + POWER for 3-5 secs and then release , repeat this action till it boot to bootloader , it may just reboot so u have to repeat
[Moto G 4G Android Development] Axaion:
Sorry, i should have stated i did update TWRP to that one you linked.

I also used the format option and clean installed cm12.1 now, just to make sure, its been on the CM animation for about 10 minutes so far, at full screen brightness

Pretty much this is what ive done:

buy phone with 4.4.4 stock

Flash twrp 2.8.3.0

**** fails because bootloader is not correct

Flash the 41.1A bootloader from http://xdaforums.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793 (it supports the 4G model too.)

Flash TWRP 2.8.7.0encryption from socoms thread

use the format option in TWRP, reboot back to recovery and flash CM12.1

Now booting, or well its kind of "stuck" on the blue head CM 12, pulsing as if its trying to boot, getting rather warm still.

update here; well the phone is not bricked, because i got stock 5.1 booted, says unknown baseband, but i guess i have to do the modem stuff too, even though the stock rom should have taken care of that.

Weird though that cm12.1 just sat there forever and ever ever

update2: i got it into cm12 and the modem shows, its got 4G connection, i think im good.

It seems that flash STOCK 5.1 twice did the trick after a format, in case anyone ever had the issue.
[Moto G 4G Android Development] ahmedteling:
[MENTION=4802051]Somcom3X[/MENTION] in the latest build trebuchet force close and cant add widget
[Moto G 4G Android Development] sevenrock:
It looks like this bug will be fixed in next nightly: http://review.cyanogenmod.org/110555
[Moto G 4G Android Development] dc239:
[MENTION=4802051]Somcom3X[/MENTION] so are you already decided if you'll still continue to develope for our phone ? Since we don't get official android 6...some future developing from your side will be much appreciated :D
[Moto G 4G Android Development] zackwire:
Root is missing for me in 03/10 version, even the option to enable it under developer options.

Enviado de meu XT1040 usando Tapatalk
[Moto G 4G Android Development] Somcom3X:
It appears Motorola has dropped support for this device officially. Depending on whether they decide to go with a 3.10 kernel or keep with the 3.4, is whether or not the device will survive till marshmallow.
[Moto G 4G Android Development] _that:
What would be the major incompatibility between kernel 3.4 and 3.10?
[Moto G 4G Android Development] Somcom3X:
There won't be any hardware support for the peregrine/falcon typically. It's possible I can modify it to account for the falcon/peregrine.
[Moto G 4G Android Development] _that:
OK. But we could still run newer ROMs on 3.4, right? At least we were running Android 5.1 on a Linux 3.1 kernel on our Asus tablets...
[Moto G 4G Android Development] Somcom3X:
I mean officially from moto [emoji28] . I can see the confusion. Yes we can run it.
[Moto G 4G Android Development] molnaratt:
Hello,

Does it mean that Marshmallow will be available for this device as a CM update? Or Lollipop will be the last stage?
[Moto G 4G Android Development] mac-duff:
Hey,

on the last nightly 08 my phone hangs on the boot screen, had to return to 03. Just for information
[Moto G 4G Android Development] RLNTLSS:
+1

on the nightly 06 too, i have this same problem.
[Moto G 4G Android Development] molnaratt:
Mine is working fine.
[Moto G 4G Android Development] Axaion:
Same here no issues except hardware ones
[Moto G 4G Android Development] matthias1976:
cant get BetterBatteryStats get to work on CM12.1

says it must be system app.

when i move to system next start says

Battery_Stats granted

Dump granted

no funktioanlity !?

any idea !?
[Moto G 4G Android Development] mihaum:
[MENTION=5280807]matthias1976[/MENTION],

either install it as system app via the app itself or find a flashable zip.
[Moto G 4G Android Development] mac-duff:
Hey,

I think the issue is related to Xposed v74. V75 is out: http://xdaforums.com/showthread.php?t=3034811&page=3 and my phone boots up
[Moto G 4G Android Development] aveyer:
Any update on fixing the weak flashlight? All the falcon + peregrine sources must be out by now.

It's difficult to see in the dark with it.
[Moto G 4G Android Development] matthias1976:
doesent work for me......
[Moto G 4G Android Development] mihaum:
[MENTION=5280807]matthias1976[/MENTION],

then download the recovery zip.
[Moto G 4G Android Development] johan111:
You are on the good way, my friend. Now reboot your device and install BBS apk again.
[Moto G 4G Android Development] peter_baz:
currently on 09/10 build and still geting soft reboots.having this problem for about a month.any ideas?
[Moto G 4G Android Development] dc239:
I'm running on build 10/10 now (i updated from 7/10) and i dont have any soft reboots.....did you tried to make a clean install ?
[Moto G 4G Android Development] galaimo:
When I switch from WiFi to mobile data, I'm getting an exclamation mark and no connection. It tends to come back but sometimes it can take half an hour! Anybody got any ideas on this one?
[Moto G 4G Android Development] Skire90:
If I remember correctly Somcom3X released an experimental cm12.1 build a while ago that fixed the weak flashlight. Maybe he ran into some problems, I am not sure.

EDIT: I am referring to this post: http://xdaforums.com/showpost.php?p=62028617&postcount=155
[Moto G 4G Android Development] Bastlwastl2010:
Why do CM12.1 not use the mountoption -discard?

In my opinion (and in other devices with CM12.2 it is set) this is essential that Lollipop can use fstrimm.

Or i am wrong?
[Moto G 4G Android Development] rodsayd:
Will we be able to run Marshmallow on a future Mr. [MENTION=4802051]Somcom3X[/MENTION]? Or we don't know it yet.
[Moto G 4G Android Development] redavenger:
i'd be interested in that too.

however i would like to know, whne is cyanogenmod going to release a official snapshot build for peregrine?
[Moto G 4G Android Development] stepini:
I'm also interested in the official release...

Thanks
[Moto G 4G Android Development] dhk.-:
Is there somebody else having this issue with the navbar in landscape mode?
[Moto G 4G Android Development] RLNTLSS:
I am also having this issue
[Moto G 4G Android Development] Timops:
Face Unlock / Trusted Face not working

Is faceunlock / Trusted Face working on anybody's peregrine?

I'm running CM (12.1-20151017-NIGHTLY-peregrine) and open_gapps-arm-5.1-nano-20151018. Everything else is working just fine.

Even Trusted Places is working. But Trusted Face seems to not do anything.

When the screen is locked, I can see the pulsating icon on the bottom (not the padlock but the little profile picture icon) but it doesn't unlock / change to the open padlock.

I have taken about a dozen pictures of myself to improve the recognition but it hasn't worked once.

Any suggestions on how to fix that?
[Moto G 4G Android Development] Somcom3X:
To all of you wondering if I'm dead or not. I'm here, simply strapped for time and I have some news for you all. The good news is I've decided I'm going to be supporting this device throughout M. The bad news is I won't likely work on it until Thanksgiving break. (Working full-time and attending school full-time had many sacrifices). Anyhow, if any of you decide to upgrade to the MXPE, you'll be seeing me around there as well.

I'm sure [MENTION=4173406]Kayant[/MENTION] ;) can keep you all busy in the mean time.
[Moto G 4G Android Development] Kayant:
Will do :) Already started :p.... And many thanks as always and good luck.
[Moto G 4G Android Development] partizann:
The problem with the navigation bar in landscape seems to be fixed in 21.10. nightly (jumped from 17.10. to 21.10.).
[Moto G 4G Android Development] dhk.-:
It was not fixed for me, I solved it changing the dpi in display settings
[Moto G 4G Android Development] yggdrasil31:
Hi,

Yesterday, i've upgraded from nightly 20150824 to 20151022 on my XT1039 and i still get the "com.motogeofencesvc has stopped" message after 30s driving with Waze. This does not happen on stock 5.1. It also doesn't happen in Maps.

Is there a way of preventing this process to be started ?

Shall i open a jira case ?

Is there a CM based rom without this issue ?
[Moto G 4G Android Development] yggdrasil31:
Looking at Moto G 2014 CM topic, it seems that i'm not the only one to face this issue :

http://xdaforums.com/showpost.php?p=62221656&postcount=1008

Furthermore motogeofencesvc seems to be bloatware (http://xdaforums.com/showpost.php?p=63239343&postcount=2)

So as advised by LuK1337 (http://xdaforums.com/showpost.php?p=62222488&postcount=1011), i've removed it, and i'm not bothered by this error message anymore.

The apk to remove is /system/app/MotGeoFenceSvc/MotGeoFenceSvc.apk

Strange that it is still bundle in CM. Maybe it is meant at being used by other motorola devices.
[Moto G 4G Android Development] ebol94:
IMHO CM12 has reached a everyday-usage level. Everytime something's fixed, something else breaks. Maybe it's time to focus on CyanogenMod 13, which I think is gonna be the last for our beloved peregrine.-
[Moto G 4G Android Development] troyekto:
I agree in everything. I'm still on official 4.4.4 because the time goes and cm12.1 is not as stable as I expected for an officially cm supported phone. That's why I don't have many expectatives for cm13. I'm really surprised, because I also have a samsung galaxy s plus (1 core, 512 mb ram) and unofficial cm12.1 works frankly well.
[Moto G 4G Android Development] kirokko:
Hi!

I'm using CM12.1 26.09.2015 build and have a couple of issues.

First of all, MobileOrg is crashing when I'm trying to setup Dropbox sync. Could anyone confirm this? It won't take too much time to install this app, but it will save mine beacuse reflashing everything and setup it from scratch is a huge work. I dont't have any other devices and don't have any backups. I know it's an offtop here, so the next one is real problem. -- solved

Another issue is with gamepad. On stock 4.4 it worked well, but not this time. I see that it was detected via dmesg, then I can see that some processes crashes and I can't find which one. There's only PID. Does anyone use the gamepad with this firmware? Mine is Logitech F510 (similar to F710), keylayout is OK (installed manually). -- checked stock ROM, works OK.
[Moto G 4G Android Development] matthias1976:
did u see this 2 topics about OTG !?

http://xdaforums.com/moto-g/help/moto-g-usb-otg-list-devices-t3224536

http://xdaforums.com/moto-g/help/xbox360-usb-controller-support-t3228222
[Moto G 4G Android Development] peter_baz:
is the hot reboot issue resolved?

you can check on the battery consumption for gaps
[Moto G 4G Android Development] panagiotis15:
Hi i have a XT1040 and i am using a Retail Brazil 5.1 ROM (Optimized) v1.1 stock rom.I wanna try the cyanogenmod 12 rom.Can i install it directly using my TWRP recovery making wipe etc?Or i have to use the cyanogenmod recovery and install firstly the cm11 version as i read in an other post around that was mentioning that the device doesnt boot directly from cm12?
[Moto G 4G Android Development] dc239:
You can use TWRP, just wipe system,cache,dalvik cache,data and internal storage (this is important, if you don't wipe the internal storage you'll stuck at bootloop)
[Moto G 4G Android Development] kirokko:
No, I didn't. I forgot about OTG and controller keywords. Just checked "gamepad".

So, I installed stock 5.1 firmware and gamepad is working well. Is there a way to make a bugreport? I can collect neccesary data and send it. Also, I checked wireless mouse on CM12.1 and it worked well. The only problem with gamepad.