yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] Germknoedl:
I'm going back to build A. Clean install.

Build B had gplay and bluetooth issues on my device, because of my lazy wiping. But thanks to Travis I'm not he only one hehe

Can't wait for kernel 5.1!

Weekend! Have fun! :silly:
[Moto G 4G Android Development] nach0x:
We can agree that all our old phones goes to our mothers :D btw, how is the perfomance of the rom compared to the latest nightly?
[Moto G 4G Android Development] Travisholt92:
I'll be messaging you in the morning for building advice ;). Just gotta install ubuntu and download the build environment. My moto g will be my test subject. So don't let me break it. XD
[Moto G 4G Android Development] mac1202:
Using build 24 for a couple of day. Great ROM everything working fine. Just got a lot of RILJ wakelock that I didnt have on stock ROM. Anyone else got this problem ?
[Moto G 4G Android Development] Schmuppes:
I was wondering if your kernel is included in Release 24 or will I have to flash it seperately afterwards? I'd like to test it, even though I'm a bit worried about the GPU OC (or is mine already overclocked after installing the ROM? :p).

With or without your kernel, the ROM runs fantastic on my peregrine and I appreciate your efforts!
[Moto G 4G Android Development] cpthornman:
His kernel is baked into the ROM. No need to flash anything else.
[Moto G 4G Android Development] Germknoedl:
I can fully recommend Build A!

@beeeto: Build A deserves a place in OP + version number. Maybe 24.1?

Many thanks for your efforts!

:D
[Moto G 4G Android Development] StenchBag:
Could you please link me to that fix?

I'm kinda clueless as to how to fix the 'No Sim' issue...

Any help would be appreciated.
[Moto G 4G Android Development] Radra:
There you go

http://xdaforums.com/moto-g/general/falcon-bootloader-upgrader-tool-t3093793
[Moto G 4G Android Development] Caleb_cz:
Camera tweak

Hi Beeeto,

Build A is fantastic and I’m definitely not leaving moto G LTE for newer phone. Only thing that troubles me is camera quality. Every camera app gets almost same result because of aggressive noise reduction. Where is this noise reduction happened? In kernel? Or in some used Motorola cam library? Is it working like camera app ask kernel for camera pic and gets finished noise reduced JPEG?

There is modified Moto camera app http://xdaforums.com/moto-g/general/how-to-unlock-advanced-camera-settings-t2884035, where you can switch noise reduction off (but app itself sux), but is possible to change this setting generally for all camera apps?

Thanks

EDIT: This is working http://xdaforums.com/moto-g/themes-apps/app-camera-galery-t3216944
[Moto G 4G Android Development] Germknoedl:
I believe the camera itself is just not the "best" on the market.

Even my old Anzu took better pictures.:D
[Moto G 4G Android Development] Caleb_cz:
Quoting from this thread: http://xdaforums.com/showthread.php?t=2567260

So, yes many 5Mpix phones takes better picture, but Moto G is really bad due too much noise reduction. I prefer pictures with more noise and details against 'water-paint' blur. So my question was, where are data from camera processed (kernel, some library or it's done by hardware and hardcoded to firmware) and if is any change to do something about it.
[Moto G 4G Android Development] StenchBag:
You legend!

Everything is working as it should now.

Thanks!
[Moto G 4G Android Development] rena14:
Hey [MENTION=5270463]beeeto[/MENTION]

I've been using and testing build A since its release and I can confirm it's the best release overall

It mixes good battery life while giving a better multitasking and smooth experience

The only thing I wanna talk you about is something about the changes you made in your kernel. I've been using a mod called "Viper4Android" (assume you know it, everyone does) and I'm not being able to install the drivers of it. I've tried using an older version of SaberMod and worked, but then I installed this new kernel and got messed up again. Would you mind taking a look?

Anyways, great job. Keep that up

Cheers ^^
[Moto G 4G Android Development] johan111:
You need to change the SELinux mode of the kernel to "permissive". Download SELinuxModeChanger app from the internet, it does the job.

Regards.
[Moto G 4G Android Development] CsR0501:
I install the app in PRIV-APP folder... :good:
[Moto G 4G Android Development] matthias1976:
i bot problems to root this Version. after install Rom 1. Boot it says superSU not installed completly. Load from playstore vor flash via twrp. Playstore load supersu but dont work. Flash via twrp it downloads su but dont insall it. wheres file now in Smartphone !?

how to root this Version !?
[Moto G 4G Android Development] johan111:
You need to flash superSU.zip after flashing the ROM. Download from here http://download.chainfire.eu/supersu

Regards
[Moto G 4G Android Development] cpthornman:
Having major issues Android Wear anytime I reboot. On build A (happening with every rom I flash except stock) it breakd it and say my 'Android Wear requires Google play services which thjs device doesn't support.' Which renders my Moto 360 useless. Also does it with Google play music. The only way I've found to fix this to do a full wipe and reflash everything. Extremely annoying. The performance of this ROM is incredible but this problem prevents me from using it on a daily basis. Anyone else having insanely frustrating issue?

I'm also flashing the Tk gapps recommended in the OP.

Edit: Found out I can just clear my data in the Google play and services framework and reset my watch and that seemed to fix it with having to do a total reflash. Still wondering why a reboot breaks it though.
[Moto G 4G Android Development] matthias1976:
got no GPS.....!?

came from Stock 5.1.

any idea ?
[Moto G 4G Android Development] johan111:
xdaforums.com/moto-g/general/guide-fix-gps-custom-rom-backup-special-t2909768
[Moto G 4G Android Development] matthias1976:
thx again man......

but i didnt tested that.

took latest CM 12 nightly from CM Server and it works.
[Moto G 4G Android Development] Schmuppes:
I have just experienced the same problem and installing CM12 did NOT work. Gonna try it the harder way then, so thanks for posting the link for the thread, johann11

/edit: The easiest suggestion in that thread helped. Hats off to you, Sir.
[Moto G 4G Android Development] Germknoedl:
regarding gps...

how about this:

http://xdaforums.com/showpost.php?p=62867377&postcount=663

I never tested it though...
[Moto G 4G Android Development] wurstel:
[MENTION=5270463]beeeto[/MENTION] do you plan on releasing new builds for the peregrine? Don't get me wrong, I think the latest build is so great I would never need to upgrade anymore, but I'm really concerned about the new stagefright vulnerabilities. Is there a way to easily patch them in without having to build a new release from scratch?
[Moto G 4G Android Development] Germknoedl:
I guess it can be patched via flashable .zip - I saw such a file in another custom rom thread some time ago.
[Moto G 4G Android Development] wurstel:
Yeah there was one for the stock rom. The creator of slightly ROM made one. But for cm, I found nothing
[Moto G 4G Android Development] fradav:
[MENTION=5270463]beeeto[/MENTION] thanks for this rom, this is the best I've tried on peregrine: fast, reliable, great battery life and with all the bells and whistles (I appreciate the moto-x doze features enabled like ambient display, pocket detection and so on).

Just a small request, don't include adaway as a system apk, it made the upgrade (via f-droid for example) impossible because of signatures conflict.

As a side note can you share all your mods to the cm base so that we can eventually compile ourselves in case you don't have the time and/or you don't plane to make future synced release ?

Regards
[Moto G 4G Android Development] DocBrowns:
You can delete it with titanium backup if

you don't want it
[Moto G 4G Android Development] ssirK:
My mom is really happy with my old G with this rom, very stable, and as she is not a heavy user, she only need to plug it only once a week or so !
[Moto G 4G Android Development] fradav:
I know, it's just inconvenient to have to do that each flash/upgrade of the rom, never mind the risk something goes wrong in the process.
[Moto G 4G Android Development] wurstel:
Guys, it looks like the development for our trusty device dies. No one is developing anymore it seems, even beeeto abandoned us :/
[Moto G 4G Android Development] toster88:
Hi,

great job with optimizing cm! :)

However I have a problem with certain app. Some time ago (on previous device) I bought NFS Most Wanted. After switching to xt1039 everything was still fine. Problem came up when I got rooted and installed this rom. NFS is now incompatible app :(

I tried things like market helper app, changing density, editing build.prop - neither of these worked. So i thought I'll ask here cause it may be something with the rom? Can you guys check if NFS Most Wanted is present in your gplay ?
[Moto G 4G Android Development] dc239:
I'm running on cyanogenmod but no i don't have this game too on my play store....mabe it just doesn't work on android lollipop because the "code name" of our device should be same even on custom roms.Are you sure that if you was on stock 5.1 this game was compatible ?
[Moto G 4G Android Development] toster88:
Hmm, I had it on 5.1 but it's possible that I installed it on 4.4... But I did edit ro.build.version.release to 4.4
[Moto G 4G Android Development] beeeto:
Syncing M sources right now, hopefully we'll get a working marshmallow build pretty soon :)

P.S: I'll get your answers later since I have been a little busy. CM-12.1 is dead now so it won't get any newer builds, or maybe one more once I review the code to see if there's any important changes to add.
[Moto G 4G Android Development] wurstel:
Stagefright fix would be awesome in cm12.1 :))
[Moto G 4G Android Development] DocBrowns:
Yes, one last build would be great [emoji16]

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] pargop:
I would see first working M build rather than another build of already great ROM.
[Moto G 4G Android Development] EternalFlame:
Uhh, I would also like to see a M build but another LP build with the latest and greatest CM 12.1 stuff would be great too because i guess there are a lot of features missing in CM13 and it will take some time until everything is baked in, or am i wrong and cm13 is daily driver material? Nevertheless i vote +1 for another LP build and +1 for a M build :)
[Moto G 4G Android Development] tillward:
I'm getting a No Sim Card error after installing this rom. Everything else is working fine. Has anyone had a similar problem and managed to fix it?

EDIT: I've run the BUT+-+1.20 tool and rebooted, but still getting no sim/imei number. I added an IMEI number via an app, but still no luck. Baseband version in settings is 'unknown' .
[Moto G 4G Android Development] StenchBag:
Flash Latest Radio Firmware?

Have you tried the suggestion in the third post on the Bootloader Upgrader Tool thread, which is to flash the latest radio firmware available?

http://xdaforums.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816

(Near the bottom of the first post you should see 'Lollipop Radio Firmware')
[Moto G 4G Android Development] tillward:
Thank you. I missed that. I tried flashing the radio and got the following error:

assert failed: format("raw", "EMMC", "modemst1", "0", "/modemst1")

Error executing updater binary in zip /sdcard/TWRP_XT1039_Retail_EU_5.1_Radio.zip
[Moto G 4G Android Development] StenchBag:
:eek:

I was getting a similar error message but to an unrelated task. I found out that is was to do with an outdated bootloader ..

When I got the no sim issue after installing this ROM the BUT fixed it so I don't know what else to suggest :(

Hope you manage to solve it mate.
[Moto G 4G Android Development] tillward:
Thanks. I booted up and it's working. You're da man!
[Moto G 4G Android Development] StenchBag:
[emoji6]

Could someone let me know whether flashing the v.5 kernel is even necessary when using the latest build? I seem to remember someone saying it isn't but can't find that post anymore. Thanks
[Moto G 4G Android Development] tillward:
And they say Londoners aren't friendly. haha. I flashed the v5 kernel. Not sure if it was needed.
[Moto G 4G Android Development] StenchBag:
Lol!

Cool, same. Just got worried that maybe the latest version is packaged with a newer version but I suppose it would say in the original post.
[Moto G 4G Android Development] beeeto:
Look what we've got here :D
[Moto G 4G Android Development] wurstel:
Awesome!!!!!

How stable is it? Are the cm features already ported?

I'm really excited about this :))
[Moto G 4G Android Development] falle21:
Awesome! Any mayor issue? I see you have signal and WiFi working fine, a great work

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] beeeto:
Well, to be honest, I haven't done much, all development is made the by the main chickens of msm8226 board, luca020400, h2o64 and Luk1337, thoses guys pushed the necessary things to allow me to build M for Peregrine. All I had to do was was pull some commits together and fix some here and there compilation issues. Once the hard work is done it is easy to "port" things to our lovely 4g. :)

We have working RIL, WiFi and bluetooth, there's also broken things such as external storage and camera, I'll try to push stuff to try to fix storage which is the most urgent thing to me.

I am quite excited too, animations feel very smooth. It is plain AOSP, CM development is under very early stage, so it is as bare bones as you could think. Data seems broken too, but I believe I can make it wirh with some pulls here and there.

Oh and regarding cm-12.1, I have ran out of storage so it was building CM12 or CM13, and you guys know what I choose. I'll try to build on my NFTS disk, to bring a last build of Lollipop.

Kind regards as always!
[Moto G 4G Android Development] anonxlg:
I'm planning on installing this rom from an unmodified phone

is this correct:

once i unlock the bootloader, i'll flash the recovery ClockWorkMod Recovery 6.0.5.0 (touch or no touch?)

then i'll flash this rom along with gapps (do i also need to install one of the kernels?)

does this take care of obtaining root? how does cell radio work? i see that some roms you need to flash some zip containing region of your phone, does this? is there anything that doesn't work for this rom?
[Moto G 4G Android Development] Pupet_Master:
I find TWRP with a better interface. But yes, install CWM.

Then you MUST wipe data, dalvik, cache, system and internal memory (so keep the ROM on an SD card).

Install the ROM and gapps... you don't need to isntall kernels as beto provide a good one. But if you wish you can install another too.
[Moto G 4G Android Development] anonxlg:
shouldnt unlocking the bootloader wipes everything? or should i just wipe it anyways
[Moto G 4G Android Development] ssirK:
Wipe anyway
[Moto G 4G Android Development] wurstel:
Backup your stuff, then unlock, everything gets trashed!
[Moto G 4G Android Development] anonxlg:
i'm getting an error: supports bootloader 0x411A, this device is 0x4110

i used the bootloader tool to update to 411a but it seems like it failed
[Moto G 4G Android Development] wurstel:
You could try to go back to all stock with fastboot, update with ota, and then try again.
[Moto G 4G Android Development] anonxlg:
got it installed, instead of using the bootloader upgrade tool, i manually inputted the commands and it worked

i don't have cell signal anymore, i think i need to flash something else to get it to work? (on canadian carrier, wind (aws))
[Moto G 4G Android Development] Hastaloego:
the radio files flash are mandatory with the manual bootloader update. look at some previous pages for the link

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] anonxlg:
yeah i actually googled and found this https://www.reddit.com/r/MotoG/comments/37ifq2/moto_g_4g_doesnt_receive_signal_after_reboot/

followed a bit of the instructions, works now

i'm liking the upgrade so far, but i'm immediately feeling the effects of no xposed module + gravitybox (was on 4.4.3)

there's just so many more customizations that i'm going to miss

exploring what i can do with the rom now, hopefully i can get use to it

thanks all
[Moto G 4G Android Development] Hastaloego:
well ? Google a bit more since I'm using xposed too on this rom [emoji12]

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] Frazew:
Holy coconuts ! This is amazing [MENTION=5270463]beeeto[/MENTION] ! :D I guess I'll have to sync every repo again :( It took me so long, it broke my vm several times (this is why you still haven't got any pull requests). BUT I have finally managed to get it working back and I should be able to work on this a bit too ! (Yay, I've been saying this for so long it seems it's never coming in fact).
[Moto G 4G Android Development] anonxlg:
i downloaded 2.6.1 and it said not compatible

the website lists up to 2.7, but according to this thread it's up to 3

so i should just follow the thread?

got a few more questions:

does using gravity box conflict with this rom?

does this rom use ART or dalvik, i can't find any option to change it? which one is better for this rom?

is there an adaptive display (autobrightness) toggle tile? answer is no, is there a way to put it back in?
[Moto G 4G Android Development] Hastaloego:
look for xposed for 5.1

View attachment 3515847

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] beeeto:
Hey bud, thanks for answering questions and keep the thread moving when I'm out.

Some news, since [MENTION=4173406]Kayant[/MENTION] already provided you with an alpha CM-13 build I won't be compiling it couse he can provide you newer builds with the upstream fixes. I am currently working on Build 24 with some nice goodies and implementations, mainly focused on ART, bionic, lmk and msm8226 board specifications to try to optimize the code for our target device.

Expect a newer build pretty soon. :cool:

Oh and I wanted to say thanks to [MENTION=3412132]wurstel[/MENTION] for his kind donation. It really makes my day to see your support :o

Kind regards!
[Moto G 4G Android Development] tonibm19:
But [MENTION=6262259]betoo[/MENTION], will you make a CM13 in the future?. Im currently on 5.1 stock but I see so many good comments about your work than, when my 2 years warranty expires in a year, i'd like to use CM13.X optimized by you :)
[Moto G 4G Android Development] wurstel:
The sad fact is: nobody is gonna develop for this phone anymore. Look at the activity now, nobody is developing anymore, in a year this forum will be a ghosttown. We can be grateful if we get a final cm12. I guess too few people bought the moto g 4 g.
[Moto G 4G Android Development] falle21:
We have a lot of roms available for this phone an people working on Android mm, I guess you're wrong, I can't tell how will be in a year, but for sure we are going to have a 6.0 working

Enviado desde mi peregrine mediante Tapatalk
[Moto G 4G Android Development] Arkanoide:
You can think that because there is not a lot activity on the Moto G 4G Threads, but, people who dev for this device and make rom for us are still here :)

Thanks to Somcom3X, Kayant, Beeeto, and many others who are still dev/port good roms (LP and futur MM) for our device ;)

xdaforums.com/showpost.php?p=63422927&postcount=2630
[Moto G 4G Android Development] Germknoedl:
Well.. our phone is getting old. Sad but true.
[Moto G 4G Android Development] beeeto:
Wellp, that's a fair point, but don't forget that our device has the same chip of Moto G Titan, and that phone will get official MM and thus it will get MM kernel source drop. That means we'll get a proper kernel supporting marshmellow and a solid msm8226-common device tree. I think as long the Moto G Titan lives we'll do just fine since stuff can be easily ported to our phone.

Also I'm not planning to leave this phone as long as I can make it work the way I want it to, that was the main reason I learned a little here and there of Android. I even had an LG G2 before this phone and downgraded it on purpose only to encourage myself to learn more :silly:

So, yeah, you won't get rid of my presence here at least for a while, haha.

Regards!
[Moto G 4G Android Development] wurstel:
As long as you are still developing, I have no doubt we get updates :D
[Moto G 4G Android Development] Axaion:
I'm sure you hear this a lot, but you sir, and everyone else that jeeps our devices up to date are all awesome
[Moto G 4G Android Development] beeeto:
Hey guys,

Sorry for being out so long, had some issues with Build 25 and had to rebuild it several times to figure what was going on (Taking 8+ hours on each build :cyclops:). But yeah, finally everything is working as expected. Take a look at the changelog.

Link: Build 25

That's all for now folks, I'll get back to work the kernel a little, so stay tuned!

P.S: Thanks a lot [MENTION=6968108]Schmuppes[/MENTION] for your donation, only 10 USD left to buy Street Fighter V! Hahah :p
[Moto G 4G Android Development] Frazew:
Yay ! What a coincidence : I just successfully made my first build after a LOT of hard work 2 hours ago :P That means I will finally be able to start working on some features. I already started implementing EAP-SIM. My phone is currently dead because CM apparently doesn't manage to poweroff the device when the battery is too low and it is bootlooping (Has any of you got this ? Phone with notification led blinking 3 times when trying to power it up ? It happens to me quite often and it's annoying as you have to let it charge and wait for it to decide to boot). Maybe I can find a fix for this ? It must be that the battery information is a bit off. Anyway, thanks for the new build [MENTION=5270463]beeeto[/MENTION] ! :)
[Moto G 4G Android Development] Hastaloego:
does 25 need clean install [emoji780]

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] StenchBag:
Nope. Download to phone, reboot to recovery, flash the ROM, wipe delvik & cache, done. Enjoy

Edit: This only applies if upgrading from a previous version of the same ROM and not another or CM 11
[Moto G 4G Android Development] peter_baz:
Does this rom has also the cm bugs? Like hot reboots?
[Moto G 4G Android Development] falle21:
Anyone with xt1040 in Latin-American (argentina) can confirm 4g is working in last build?

Enviado desde mi peregrine mediante Tapatalk
[Moto G 4G Android Development] Hastaloego:
tried it, coming from build 24 and looks like a got a boot loop now

will try clean install now

edit: clean install did the trick

edit2: looks like xposed causes the bootloop. [MENTION=5270463]beeeto[/MENTION] any changes from build 24 to build 25 that may cause this ?

edit3: works with xposed-v75-sdk22-arm.zip
[Moto G 4G Android Development] rodsayd:
If it's not working check the APN list and make sure you have only one active. What happens to me on every custom rom I flash is that I have like three different APN and I can't use 4g until I left only one (Personal Datos).

Anyway I've not been on a zone with 4g yet to try it on latest build.. But check that.
[Moto G 4G Android Development] falle21:
Ty I did that, delete all the apn except the one I use (personaldatos) and works, not a great signal, but works fine. ty again

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] danny8:
Splendid ROM!

Zero issues so far.

Love the boot animation! Nice to have the full-power flashlight, also.

Restored my backup from build 23 and flashed on top of it. (I think it was 23; I know I skipped the 24s/interim ROMs.)

Had been using crDroid as my daily driver for a month or so.

Thank you!
[Moto G 4G Android Development] Jeconias Santos:
Excellent custom ROM!
[Moto G 4G Android Development] Germknoedl:
Build 25 rocks!

Thanks a lot beeeto! :highfive:

btw.. is it somehow possible, to make the wifi connect faster via energy widget? In my case it takes ~10 seconds until I get connected.

If I activate wifi via settings menu, it only takes ~1 second to establish a connection.
[Moto G 4G Android Development] vidra:
Can I flash on Falcon