yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] Lovatastic:
Do you at least have an unlocked bootloader? If not you need to head over to https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a and follow the instructions to unlock your bootloader

Then you need to root your phone. Download a Custom recovery preferably [MENTION=4802051]Somcom3X[/MENTION] 's TWRP as its easy to use as it has touchscreen support and flash that too your phone using adb and mfastboot. (See this for installing ADB & Fastboot if you don't already have it on your computer http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378)

To install a custom recovery once you have adb/fastboot and the drivers for your phone just open up a cmd prompt in the adb folder and type:

- adb devices

- adb reboot bootloader (Don't forget to turn on usb debugging in developer options)

- mfastboot flash recovery "Recovery name for example twrprecovery.img)

-mfastboot reboot.

Then go into the bootloader again using adb reboot recovery and you should be into a TWRP. then assuming you've added the Lollipop ROM image + Android 5.0 Gapps to your phone go to wipe in TWRP then advanced wipe and select dalvik cache, data, internal storage, cache and system then go back, click install and go to the path where you stored the two files and flash them to your phone. After you have unlocked and rooted it's pretty simple from then on.

[Note: If like me TWRP no longer reads your SD Card, Transfer the two files to your internal storage and leave that out of the wipe then flash the files and wipe internal storage before you boot your device.]

I'd recommend searching Google first on what to do.

---------- Post added at 04:06 AM ---------- Previous post was at 03:41 AM ----------

I'm going to flash it now. WiFi went down for a couple of days so I couldn't download it

Also you asked me to review it over 24 hours without a reboot (that failed as I hit a random reboot when it was charging) and the multitasking has gotten a lot worse. Everything now refreshes even if I just switch apps for a couple of seconds.
[Moto G 4G Android Development] Lovatastic:
[MENTION=4802051]Somcom3X[/MENTION] You've turned this into a nightly release ROM?!?!?!

Does this mean no more fresh flashing??? :D
[Moto G 4G Android Development] Somcom3X:
What recovery are you using? I have a feeling your's is outdated.

Maybe its trying to give more space for other notifications.

offline charging is currently being reworked.

#BlameGoogle. I really don't know why this is or how it happened.

Maybe its cache'n everything on every flash. Then again, Facebook has always been a real memory hog.

Google loves to screw with their sdcard handling every release.

I have around 2 days of battery life.

I'm waiting on the android L ota from Motorola. You know, the one that will never come :silly:

That's cm11 ;) Waiting on CM at this point. I really need a working device encryption.

_________________

I have been toying a lot with this phone, mainly I have been tweaking the lowmemorykiller.

I'll release a new rom soon, keep checking that downloads post or something for a 29th build.
[Moto G 4G Android Development] Lovatastic:
[MENTION=4802051]Somcom3X[/MENTION] My apps are still refreshing like mad. Latest build has been installed for a couple of hours with about 6 custom apps installed. Haven't modified the lowmem file too see how it functions have you changed it since the previous update? Haven't looked yet.
[Moto G 4G Android Development] tbenoit:
I use ClockWorkMod 6.0.5.0, the lastest I believe. (An other user is in the same case)
[Moto G 4G Android Development] Somcom3X:
I've been tweaking it on each release. I get better results with feedback.

I've been actually modifying it frameworks level for a while now.

You might want to use twrp 2.8 as cwm is now defunct.

______

I added that 29 build by the way.

Sent from my XT1045
[Moto G 4G Android Development] tbenoit:
Oh, okay. I'll see this now!

______

I saw the 29/12, It's downloading

UPDATE:

Same after installing TWRP 2.8.2, I can not install directly the 29/12 build (idem for 27/12) i'm stuck on the Cyanogenmod bootanimation. The worst in this story: I tried to install with TWRP an old build than I had under the hand (the 26/12) and the build boot

PERFECTLY

. So, This was not the fault of ClockWorkMod

In short, I wanted to test the build 29/12. Therefore, I installed the 26/12 and then, update with the 29/12. After the update on 29/12, the CyanogenMod version number is again wrong and indicates: 12-20141226-UNOFFICIAL-peregrine (Screenshots attached / Such as the bug on the 27/12 build) and I thought that my flash problem is maybe due to a "malfunction" in the construction of the 2 last build?
[Moto G 4G Android Development] Lovatastic:
http://xdaforums.com/moto-g/4g-development/progress-twrp-2-7-1-0-source-t2807585

TWRP 2.7, don't know if there is an updated recovery since 2.8 but that seemed to be slow and caused problems. I flashed with this no problem.
[Moto G 4G Android Development] keenofhiphop:
do you mean the build from 23rd? I flashed it four days ago I think and had no reboot until now when I plugged it to the charger. could have happened before as well but if it did, I didn't notice. Soft reboot.

does this help anyone?

I'll flash the next newest build and skip the 27th because everybody is reporting problems here. I am very fine at the moment, only bluetooth playback does not work (still), can anyone confirm this or is it a fault in my device? It got very quiet around this bug...

Regards

I just see somcom3x released the build for today. Flashing soon :D

Hopefully I honor you with my signature!
[Moto G 4G Android Development] Lovatastic:
Yeah the 23rd build. Had one or two with every version uploaded.
[Moto G 4G Android Development] tbenoit:
Thanks for the link! A 2.8.2 version is available here if you want: http://www.androidfilehost.com/?fid=95784891001616762
[Moto G 4G Android Development] Lovatastic:
[MENTION=4802051]Somcom3X[/MENTION] would it be possible to add the option go turn off priority pop ups? I don't think Google realised that people don't want to respond to messages straight away when doing something and its frustrating having to sit there waiting for the bar to go away
[Moto G 4G Android Development] keenofhiphop:
you mean heads up?

it's really annoying, especially when receiving whatsapp group messages but you want to answer a single person and you can't, because, even though its possible to pull down the notification shader, you don't see the messages...

I think it's a Google feature that Cyanogenmod implemented better in KitKat already....

I guess they will deliver an alternative when releasing CM12.
[Moto G 4G Android Development] log102:
[MENTION=4802051]Somcom3X[/MENTION] GPS work in new 12-20141229 build? :confused:
[Moto G 4G Android Development] venom04:
GPS Fix?

Try this for broken GPS:

1. Put your phone in debug mode

2. Connect to the computer with a USB cable

2. Start your phone in Bootloader

3 . Open CMD or Terminal and execute this two lines

** fastboot erase modemst1

** fastboot erase modemst2

GPS should work now!
[Moto G 4G Android Development] EternalFlame:
Just flashed latest build and it feels great :good:

Let´s see what happens after the next 24 hours ;)

thanks Somcom !

edit :

Okay, first impression, its smooth as hell again, no lags, memory/process stats stays between normal and low while heavy usage and if an app has to reload it´s smooth and instantly there,multitask is possible between 4 - 5 apps without any redraws.

______________________

I think this is a pretty neat manual :

http://xdaforums.com/showpost.php?p=57809081&postcount=734
[Moto G 4G Android Development] Sn0wdune:
Hey peregrine users!

I was just wondering if someone could point me in the right direction of how to get the latest build (20141229) working on my device. I flashed it through CWM (factory reset, cache & dalvik cache wipe ect) but to no avail. My device just stays at the cyanogenmod logo boot screen and just stays there...

If someone could help me out I'd really appreciate it!

Thanks! :)

UPDATE:

My device ran out of battery so I began charging it and now it has magically booted into lollipop! :D
[Moto G 4G Android Development] gilmarpjr:
I'm having this issue too. I just installed the 12/29 version from a stock rom and tried to factory reset/wipe cache but it didn't work.

If somebody could help it would be nice! :D
[Moto G 4G Android Development] Sn0wdune:
I also came from stock rom! :p

Oh and by the way... Congrats on your first post! ;)
[Moto G 4G Android Development] EternalFlame:
Thank you, this worked for me :good:
[Moto G 4G Android Development] gilmarpjr:
Thanks man! I'm glad to be part of this great community! :D

And I got a FIX! At least for me it worked!

Here's what I did:

- Installed the latest CM11, and the rom initiated with no problem.

- Then I installed the CM12, with a Factory Reset/Wipe Cache before the installation, and just a Wipe Cache after the installation.

- Now the rom started with no problems :)

Hope it fix the problem for you too! :fingers-crossed:
[Moto G 4G Android Development] Sn0wdune:
Thanks man! Appreciate it! :)

I flashed CM11 earlier so will flash CM12 now and will post back with the verdict! ;)

Thanks again! :p :fingers-crossed:

UPDATE:

CM12 installed without any problems! Thank you [MENTION=4236563]gilmarpjr[/MENTION]! +1 for you! ;)
[Moto G 4G Android Development] suo133:
You do not need to flash cm11 to flash cm12 :D just do a full wipe- cache,system,dalvik cache,data,flash rom and reboot. It will take up to 10 minutes to finish booting up
[Moto G 4G Android Development] danny8:
I've dirty-flashed the 29-dec build over the 26-dec build and it booted OK after rebuilding the cache for existing applications.

I have a continuing problem and I'd like to air it out, while also asking for a feature removal – respectfully and with much appreciation for Somcom's extreme work: I wish this ROM did not have the embedded SuperSU module.

Out of the box, this ROM does not (from what I can tell) function properly with Titanium Backup. TB requires Superuser to be installed, which in turn requires SuperSU be uninstalled. Uninstalling SuperSU is a multi-part process as the built-in module does not include the cleanup feature.

As an aside, I cannot get TB working with this 29-dec build, although this may be my own failure for not doing SuperSU removal properly. I am going to try again. I have been able to get TB working will all other builds to date.

Maybe someone will chime in with a simpler fix, or even bolster my request. I would like to know if other TB users have been suffering in silence, or maybe they're using some clever tricks to mass restore their apps and/or create backups.

I am not someone who requests features / changes on a whim. It's totally OK for me to hear "abandon TB", and I don't really mind, but this one issue really bugs me.

Thanks all, for listening. - Danny8
[Moto G 4G Android Development] Sn0wdune:
I did this in CWM to no avail but following the post by [MENTION=4236563]gilmarpjr[/MENTION] above, It worked for me! :o :silly:
[Moto G 4G Android Development] USCanthony:
Why do you think Titanium Backup will not work properly with Supersu? I have used Titanium Backup for many years and have used Supersu since about 1 month after it was first released. I have never had a problem using the two together.
[Moto G 4G Android Development] sillycat98:
Haven't had a lot of time to post lately but I just wanted to say that titanium works fine for me and my bt audio is still broken with my car radio on the 27th build, I just restart my phone everytime i get in the car now. Downloading the 29th now.
[Moto G 4G Android Development] mdmoose29:
Titanium backup also works for me. Don't remember doing anything special, it just works. What happens to yours when you try to use with SuperSu?
[Moto G 4G Android Development] danny8:
Thanks to all for replying.

When I attempt to use TB (full paid version) to restore a previously-made backup, it loops continuously and never completes / terminates. The application does not respond to the back key, although you can use the home key then force stop TB via the app settings panel.

Making a backup is similarly flawed. Except here the program finishes, but backup files are incomplete and I presume these cannot be used to restore the backed-up apps. I know they are incomplete because they're too small in size.

Sounds like I need to investigate TB more. I have set preferences to backup files on the external SD card. Maybe I'll look into that.

I believe at least one other user has this issue, because that's where I got the notion of replacing SuperSU. It's in this thread.

So at least I know TB is working for some, if not most, users. Thanks.
[Moto G 4G Android Development] Somcom3X:
Try the new twrp recovery I just posted. See http://xdaforums.com/showpost.php?p=57811883&postcount=731

I updated the recovery and no more long wait times! See download's post.

Nice signature ;)

I'm currently waiting on the Motorola L ota for a lot of the issues.

Best to wait for cm in this case.

I used TiBu once when I was trying to build L in its initial phases. Worked fine then. Just tried it again to the same result.

I don't even know where to start with the su binary, you may need to clean flash.
[Moto G 4G Android Development] danny8:
Yep, maybe a clean flash is what's needed. I'll post an "all good" when I figure out what's getting me.

Looking forward to newest TWRP.
[Moto G 4G Android Development] Lovatastic:
The XDA app just forced closed on me so I have to rewrite xD

[MENTION=4802051]Somcom3X[/MENTION] just downloaded twrp 2.8.3. Gonna flash it to my phone now and then flash the 29th build. This ROM is going pretty good and is my daily driver the only things that get in the way is the multitasking and it goes slow every now and again apart from that this is fantastic ROM and good job at beating Motorola to running lollipop on this phone ;)
[Moto G 4G Android Development] BlueFlame4:
Hey guys,

I just tried the new TWRP and it turns out that ADB sideload is broken. The only message I get is "error: closed". I tried multiple USB ports and none of them works even though there's no hassle on TWRP 2.7. Can anyone confirm this?

Thanks and best regards! :)
[Moto G 4G Android Development] gabobustamante:
Help

For installing the latest upgrade phone info 12/29 in me keeps popping date 12/26'm doing something wrong or follows them all indicadon date 12/26?
[Moto G 4G Android Development] Lovatastic:
[MENTION=4802051]Somcom3X[/MENTION]

Great work on the new recovery! This one reads my SD Card, thought mine was faulty so I bought a new one but needed more storage anyway.

Aside from that I got this when wiping to flash the 29th build...

E: TWFunc: :Remove_MPT_Storage unable to locate partition for 0

Updating partition details..... done

Full SELinux support is present.

MTP enabled

Wiping Dalvik Cache Directories...

Cleaned: /data/dalvik-cache...

-- Dalvik cache directories wipe complete!

Wiping data without wiping /data/media.... Done.

E:error sending message to add storage 65537

Wiping internal storage -- /data/media..

E:error sending message to remove storage 65537

E:error sending message to remove storage 65537

E:error sending message to add storage 65537

Formatting cache using make_ext4fs function

Formatting system using make_ext4fs function

Updating partition details..... done

Wiping data without wiping /data/media.... Done

E:error sending message to add storage 65537

Formatting cache using make_ext4fs function.....done

It seemed to wipe everything but I don't know why I'm getting so many error messages, only happened on the twrp 2.8.3
[Moto G 4G Android Development] gabobustamante:
Help

Try the new twrp recovery I just posted. See http://xdaforums.com/showpost.php?p=57811883&postcount=731

Please TWRP 2.8.3 in zip :good:
[Moto G 4G Android Development] Somcom3X:
MTP is broken too, I'll have to figure this out after I fix my sdk.

Edit: Narrowed the issue down, seems like the partitions are having issues. I'll look around for a fix.

I am running a clean build at the moment. Hopefully that will fix the date issue.

First one is what I have, I'm lost on why its there.

The second one is bizarre, I'll have to look through the source code for a solution.

I don't believe zips are a very good idea for recoveries. Lots of issues if a bad flash were to occur now wouldn't it? :)
[Moto G 4G Android Development] spiritflare:
Dec 29 issue wifi

In dec 29/build, if you go to settings, more, tethering and turn on portable wifi hotspot it will disable wifi completely. You will need to reboot to reenable WiFi.
[Moto G 4G Android Development] mac1202:
Hi currently using your TWR2.7 because is the only recovery find on xda to work on my device i would like to the new 2.8.3 version.

I try it first with

fastboot boot recoverytwrp2-8-3.img

But all i got is a blue screen and after that the phone reboot normally.

And I want to know if it's normal that when flashing any recovery i found for the moto g 4g i got a error message at the end about mismatched partition size ?
[Moto G 4G Android Development] J0kker:
Wouldn't it be:

fastboot boot recovery recoverytwrp2-8-3.img

Didn't use (m)fastboot for a long time but i think it's what i used.

It do make sense as it says:"Hey, i want to reboot the phone in recovery mod, using recoverytwrp2-8-3.img"

If you don't specify "recovery" it probably tries to boot the phone NOT in recovery mode.
[Moto G 4G Android Development] arthurpl:
I think TWRP has different size (a bit smaller AFAIK) that default preallocated partition size for a (custom) recovery.

Anyway everything runs fine.
[Moto G 4G Android Development] BlueFlame4:
His command is right. The bootloader doesn't care about what to boot, it just does it. The recovery is just another operating system which happens to lie on a special partition :)
[Moto G 4G Android Development] Bazilli:
I have used Flashify when i need to upgrade recovery images. Easy to flash directly from phone without adb and computer.

https://play.google.com/store/apps/...lashify&pcampaignid=APPU_4K2iVNSZDsf0UPeWgegK
[Moto G 4G Android Development] zackwire:
And you can backup your current recovery and kernel in case something goes wrong. Its a great app.
[Moto G 4G Android Development] MagmaCode:
Couldn't the TWRP img be made into a flashable zip ?
[Moto G 4G Android Development] keenofhiphop:
yes. it could but somcom3x explained a few posts before that he thinks it's a dangerous because a bad flash just happens sometimes. If you dare you can do it, I never had problems with recovery zips either but I believe somcom3x knows it best ;)

I am experiencing this st*upid little lab when pressing home button. It's up to two seconds sometimes. Can we do something against this? does anybody else have the issue?

Regards

von meinem Moto G via Tapatalk.
[Moto G 4G Android Development] me_is_rushin:
Did you let your rom sit for 10 minutes upon boot and then reboot?
[Moto G 4G Android Development] keenofhiphop:
I rebooted three times plus a few times when fllashing gapps and superSU

von meinem Moto G via Tapatalk.
[Moto G 4G Android Development] nikobadboy:
There is a way to fix that offline charging bug?
[Moto G 4G Android Development] rodsayd:
Guys, on 29/12 build bluetooth is working fine for you? Because others can see my phone but I can't see any other device... is someone experiencing this?
[Moto G 4G Android Development] rackano:
hello to all my good going great but I've noticed or rather came back to do it all again flash the rom change the recovery etc note that with the new recovery the SuperSU not enabled by which the recovery 2.8.2 if is enabled and version 2.8.3 is not activated and q tanbien note all installed very fast ... but it gives me error I Cundo formatting to the other partitions systema and indeed anyone know how I can make a screenshot while in mode recovery ....
[Moto G 4G Android Development] JimYoung:
Can someone on 12/29 build share with me the cyanogenmod music player apk please?
[Moto G 4G Android Development] Bazilli:
Try this: http://xdaforums.com/moto-g/themes-apps/app-music-player-cyanogen-t2974688
[Moto G 4G Android Development] lans_98:
Last build actually needs to execute the script for multitasking or not needed ? [MENTION=4802051]Somcom3X[/MENTION]

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

UPDATE: How can I automate the lmk_fixer script at every boot ?
[Moto G 4G Android Development] setherd:
Using 12/29 I've had several calls where I couldn't hear anyone but they can hear me fine. anyone else?
[Moto G 4G Android Development] Darius_AWS:
You have to factory reset, then you can flash the ROM trough recovery

---------- Post added at 08:49 PM ---------- Previous post was at 08:46 PM ----------

Did you use the phone, I mean did you have multitask with it like browsing Facebook while listening to music ?
[Moto G 4G Android Development] EternalFlame:
i used twrp recovery... wiped Dalvik Cache + Data + Cache + System and did a Factory Reset... after that i flashed the cm12 .zip, GApps, SuperSU and finally the DSB fix ;)

worked very well for me.
[Moto G 4G Android Development] rodsayd:
Can someone tell me what this "DSB Fix" does and where to get it? I didn't find it anywhere here.
[Moto G 4G Android Development] PatrickDziura:
I'm making a new clean install with PhilZ.

Wiped for install a new ROM (wipe system, wipe cache, wipe dalvik, etc), wipe cache, wipe dalvik, installed the ROM, wipe cache, wipe dalvik, installed gapps, superSU, DSP fix and made a wipe cache and wipe dalvik again. Let's see if now it's better.
[Moto G 4G Android Development] tbenoit:
Tu as raison en plus, je n'avais pas vu!:p (Je sais je sais, je parle en français:D)

English traduction:You're right, I did not see!:p
[Moto G 4G Android Development] EternalFlame:
its a sound processing tool.

And what the fix does is, it prevents the DSB Manager from crashing after you flashed the ROM.

flash it via recovery (:

http://xdaforums.com/showpost.php?p=57007392&postcount=28
[Moto G 4G Android Development] Menelkir:
I had some problems while creating a PlayerPro widget, it says "problem loading widget" after being created. Open the player itself I can play without any issues.
[Moto G 4G Android Development] keenofhiphop:
The screen brightness can be lowered a huge lot. But on lowest it is too dark and the screen flickers.

However, this is awesome!

Never expected that :)

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] JimYoung:
Is there any chance to get a working fm radio in this build?
[Moto G 4G Android Development] Somcom3X:
Why yes, except it was a hangouts and chrome kinda thing.

As soon as cm's up to speed on it.
[Moto G 4G Android Development] huma_dawii:
My problem is the DSP, and the Keyboard layout you cant change to Spanish when the system language is english.. D:
[Moto G 4G Android Development] Darius_AWS:
Maybe my hardware is faulty, but afaik on every rom I tried the phone can't handle heavy multitasking and music stops a lot for example, it's similar to the low ram bug but less often (also present on stock rom)
[Moto G 4G Android Development] Polloos:
Big [MENTION=4802051]Somcom3X[/MENTION] thanks for your work! amazing rom!! :)

New build? changelog?

https://www.androidfilehost.com/?fid=95784891001615370
[Moto G 4G Android Development] Somcom3X:
It's the same identical source, there is a tethering fix attempt in the kernel that is different. Too bad it didn't fix anything.

But while it's out, anyone with those old Wi-Fi bugs in the cm11 mind testing it and reporting back?
[Moto G 4G Android Development] Justice™:
Think I posted about this on the CM11 thread, any solution to the CPU running flat out at 1.2GHz constantly?
[Moto G 4G Android Development] PatrickDziura:
Me too. But I haven't so much on stock, it was OK. I could listen to music and play Spider-Man Unlimited and now I can't use Facebook and listen to music =/ Let's see if a full clean install (wiped everything, including /media) solve this problem.
[Moto G 4G Android Development] Somcom3X:
I'm waiting for L ota to come.