yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Android Development] Pacer_456:
Welcome To PacerRom...​

So I wanted a stock based rom for the Moto G 2015, for a fast and stable experience with great camera quality and battery life. So I made one. Enjoy!

As I carry on development I start to realise that there is no use updating this rom. On other devices like the LG G2, a stock based roms are popular because of the enhancements LG has made in the framework of the stock rom, like the camera is much better on stock based roms than AOSP, however this isn't really the case with the moto g3, there aren't any significant enhancements to the stock rom since it is AOSP and the only advantage I can think of is 100% stability. But if you are after stability, then CM13 is probably better because it gets nightlies and is pretty bug free, along with more features and enhancements. So for the time being, I won't be developing stock based rom for this device until further notice, but I may make a custom version of CM14 once it is out.

/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/

Features Include:

Root/Busybox

Nexus Launcher

Viper4Android

Gello Browser

Substratum (RRO Theme)

Moto G4 Camera

Deodexed/Zipaligned

Installation:

As you would any other rom. Boot to recovery, wipe system, data, cache and dalvik/art cache, then flash and reboot. Note that the first boot takes a really long time, give it a good 15 to 20 mins. It works for sure on XT1541, but need testers for XT1540-flash at your own risk as I have no idea if the rom works or not for this variant.

Bugs:

Only bug I know of is that double twist for the camera does not work, I am assuming because of the Moto G4 camera. If you find a bug, please inform me.

Special Thanks:

@lost101 For now, this rom is only for XT1541 1gb, if you find it works with other variants please tell me. If they don't, I will push out the rom for other variants as well later on.
[MENTION=718594]super[/MENTION]R
[MENTION=1569052]viper520[/MENTION]
[MENTION=4395895]BeansTown106[/MENTION]
[MENTION=4480917]Alberto97[/MENTION]

If I have missed anyone or if you don't want your work in this rom, please contact me and I will amend it ASAP.

Suggestions for features are welcome.

XDA:DevDB Information

PacerRom, ROM for the Moto G 2015

Contributors

Pacer_456, lost101 SuperR Viper520 BeansTown106

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Based On: Stock Motorola Rom

Version Information

Status: Stable

Created 2016-08-10

Last Updated 2016-08-24
[Moto G 2015 Android Development] Pacer_456:
Changelogs

9th August 2016: V1: initial release.

10th August 2016: V1.1: Added Gello and Subsratum. Get theming! Released PacerRom V1.1 for XT1540 for testing
[Moto G 2015 Android Development] Pacer_456:
Downloads

Download for V1 (XT1541 only)

Download for V1.1(Working on XT1541, unknown for XT1540--need testers)
[Moto G 2015 Android Development] walter0157:
Work for xt1544?
[Moto G 2015 Android Development] Pacer_456:
Re read OP. Probably not for now at least.
[Moto G 2015 Android Development] robot_head:
Downloading now, big rom

Sent from my Vanilla Unicorn Moto G3
[Moto G 2015 Android Development] lohanbarth:
Thank you for this rom :good:
[Moto G 2015 Android Development] kosmasgr:
Glad to see stock based ROMs. :)
[Moto G 2015 Android Development] diego88it:
Great rom..i think this will be my daily rom :)

Inviato dal mio MotoG3 utilizzando Tapatalk
[Moto G 2015 Android Development] Pacer_456:
Awesome to see people like it. Please also tell me what you would like to see in the ROM.
[Moto G 2015 Android Development] fernandojhr:
Downloading, will give you a review asap
[Moto G 2015 Android Development] thinkking:
Camera shortcut?

With no twist for camera gesture, is there any other shortcut besides the lockscreen? Like the "double tap power button" maybe?

A great feature would be to give the option of setting double tap power button to either change ringer to vibrate only or launch the camera. ?
[Moto G 2015 Android Development] Pacer_456:
I will look into it, thanks for the feedback.
[Moto G 2015 Android Development] jikobutsu:
Awesome, about time we had a stock based custom ROM :)

I have XT1541 2gb... should work right?
[Moto G 2015 Android Development] robot_head:
Could you look into advanced reboot

Sent from my Vanilla Unicorn Moto G3
[Moto G 2015 Android Development] Pacer_456:
I am not sure, you could try and report back, apparently that was the case with other stock based ROMs.
[Moto G 2015 Android Development] Pacer_456:
I looked and I only could find an xposed module. If you know then please tell me, I will promptly look into it.
[Moto G 2015 Android Development] jikobutsu:
So far woking fine on 2 GB version. Love the Nexus launcher, very smooth and clean.
[Moto G 2015 Android Development] Pacer_456:
Awesome, will update OP soon.

Note to all, a new update is coming soon. Who likes to theme?
[Moto G 2015 Android Development] biox200301:
works very good thank you

Skickat från min MotoG3 via Tapatalk
[Moto G 2015 Android Development] :
If battery backup is the idea with this ROM, the stock Cyanogenmod browser is way lighter. And this one has add blocker built In ;)

http://xdaforums.com/android/apps-games/app-gello-browser-t3384782
[Moto G 2015 Android Development] Pacer_456:
Will attempt to include this, Gello is pretty sweet.
[Moto G 2015 Android Development] Pacer_456:
It hasn't even been a day and V1.1 is out ;)

Changes include the addition of Substratum (Yes, you can theme) and Gello Browser.

I have also built for XT1540, however I need testers as I do not have XT1540, flash at your own risk and please report back asap.

You can dirty flash if you are on V1, but if you experience weird things make a backup and clean flash V1.1 and report back. Dirty flashing seemed fine for me, however Gello was being a bit weird, had to install it again manually even though it was installed and included in the rom.

You can find downloads in post #3 or here

Enjoy, and notify me of bugs please.
[Moto G 2015 Android Development] robot_head:
I don't but will check further
[Moto G 2015 Android Development] Pacer_456:
Device? Clean or Dirty flash? Thanks!
[Moto G 2015 Android Development] byron641:
downloading and testing xt1040...
[Moto G 2015 Android Development] Pacer_456:
Great, let me know if it boots and works or if it doesn't.
[Moto G 2015 Android Development] byron641:
if you boot, normal performance

bugs

Gello no open, I run to install

uninstall the service firmware motorola sensors

substratum working

awesome work! tank you!

pdta. sorry from bad english!
[Moto G 2015 Android Development] Pacer_456:
What do you mean by uninstall the service firmware motorola sensors? And Gello; I had the same problem. need to figure out how to fix it.

If anyone knows the issue and a fix, please tell me.
[Moto G 2015 Android Development] Pacer_456:
Ah, I believe I used 6.0 instead of 6.0.1 for xt1540, will fix that soon.

Edit: No firmware images found for 6.0.1 on xt1540
[Moto G 2015 Android Development] TestXenLuu:
could in a next version upgrade the security patch and update the gapps already included or can not? Good performance and stability. Nice and smooth , soon proves v1.1 a great job well done . sorry for my bad writing in English. Thank You for ROM.
[Moto G 2015 Android Development] Pacer_456:
I cannot upgrade the security patch level, as Motorola has not released the update, and I do not know how to make it manually. However, I can certainly try to update the gapps and possibly include more as per user request. What variant is your moto g?
[Moto G 2015 Android Development] TestXenLuu:
It would be great if you manage to update it manually it is tedious and also the security patch , but have a piece of ROM so I'm content . The version of my baby is XT1542 . Thank you
[Moto G 2015 Android Development] Pacer_456:
Huh? I might build for XT1542 soon. The update will be really difficult.
[Moto G 2015 Android Development] TestXenLuu:
Flash and initialization function XT1542 perfect . the same would be good if you shall bring forth a version for that model.
[Moto G 2015 Android Development] byron641:
I only appeared uninstall me message service motorola

better use firmware xt1041 with 6.0.1

he 6.0 from xt1040 are unstable, very lag and low battery life
[Moto G 2015 Android Development] Pacer_456:
I can't get 6.0.1 for xt1540 for now. As per the fist thing you said, I am confused on what you mean
[Moto G 2015 Android Development] byron641:
just showed me message
[Moto G 2015 Android Development] jhenrique09:
Works in XT1543 ?
[Moto G 2015 Android Development] Pacer_456:
Okay

Not yet.
[Moto G 2015 Android Development] jhenrique09:
Suspected ... I installed and checked it does not recognize the sims

1GB Ram Model
[Moto G 2015 Android Development] Pacer_456:
Notice to all: do not ask if I am going to be building for a variant, all you are doing is cluttering the thread; I will answer no more of these questions. If you have queries that aren't answered in the OP and are relevant then go ahead. Thanks
[Moto G 2015 Android Development] sergioproandroid:
funciona en xt1542

funcionando perfectamente en xt1542 con xposed y sustrato.. gracias por eltrabajo
[Moto G 2015 Android Development] thinkking:
I just installed v1.1. Very stable

Double tapping the power button does launch the camera. ? So the lack of twist gesture isn't so bad.

Well done ROM!!! ?
[Moto G 2015 Android Development] :
Any screenshots?
[Moto G 2015 Android Development] :
Stock rom with substratum and agni kernel :)
[Moto G 2015 Android Development] Pacer_456:
Why do you need screen shot? It's looks like any aosp ROM.
[Moto G 2015 Android Development] Pacer_456:
I'm trying to figure what kernel I shall use for myself, trying out squid. Is Agni better and how?
[Moto G 2015 Android Development] thinkking:
Hmmm, a file manager is always appreciated, could you bake in the Lenovo File Manager from the G⁴?
[Moto G 2015 Android Development] Pacer_456:
Hmm, most people tend to install there own file manager after like normally ES, I will try out the Lenovo one and see if it is any good
[Moto G 2015 Android Development] thinkking:
Well, ES is always superior. Leaving the user to use what they want is better when I think about it... I find cm file manager a bit annoying, while ES never seems to fail, esp. after the redesign.

I was suggesting based of having the most pure and updated Moto experience.
[Moto G 2015 Android Development] :
I'm not sure what is best one but, agni is very good for battery life. I like optimus kernel too, very clean just useful features added.

---------- Post added at 01:29 PM ---------- Previous post was at 01:27 PM ----------

I am a long time es user but lately I am preferring this much more clean ui one, it's very good!

https://play.google.com/store/apps/details?id=pl.mkexplorer.kormateusz
[Moto G 2015 Android Development] kosmasgr:
Gelo browser not working for me.

Anyone with the same issue ?
[Moto G 2015 Android Development] Pacer_456:
Yep, I had the same issue. I fixed it by reinstalling it but right now I am clueless to why that is happening
[Moto G 2015 Android Development] kosmasgr:
Can you provide the apk file ? Thanks
[Moto G 2015 Android Development] Pacer_456:
Just search gello.

And can you try disabling and enabling it please, I would like to check to see if it is the download or something else.
[Moto G 2015 Android Development] eemgee:
So gapps are included?
[Moto G 2015 Android Development] Pacer_456:
Yes.
[Moto G 2015 Android Development] :
Are there any optimisations you have done to this stock ROM Dev?
[Moto G 2015 Android Development] Pacer_456:
Read the OP. I have deodexed and zipaligned.

Edit: My apologies, I haven't mentioned it in the OP, wil do now, sorry.
[Moto G 2015 Android Development] eemgee:
Just waiting on it booting xt1541 2gb
[Moto G 2015 Android Development] :
Lol! It's kind of a standard thing in a thread ;)
[Moto G 2015 Android Development] BillSwaginGates:
Will test on my XT1540 once my primary ROM is done installing and backed up
[Moto G 2015 Android Development] Pacer_456:
Let me know how it works
[Moto G 2015 Android Development] thinkking:
Indeed a commendable ui, but it lacks features I use often, and only found in ES as one packaged experience.
[Moto G 2015 Android Development] Pacer_456:
Amen
[Moto G 2015 Android Development] Pacer_456:
So here is the plan for V1.2:

I will try to fix Viper4android and Gello

I will try to add systemless xposed support

I will try to add more variants

And I shall try to update few apps, mostly Google apps.
[Moto G 2015 Android Development] eemgee:
Adaway might be a useful addision.
[Moto G 2015 Android Development] radichification:
It would be good if you provided some screenshots even though it's a stock based one. We always want to see what things look like before installing them
[Moto G 2015 Android Development] Pacer_456:
Good point, I will look into it.

Well I guess so now due to popular demand. I will do it with the next release as I will be clean installing that one.
[Moto G 2015 Android Development] csmarino90:
I think that you can check the system less ad blocker... It uses Magisk as base. Thanks

Enviado desde mi MotoG3 mediante Tapatalk
[Moto G 2015 Android Development] BillSwaginGates:
Just got time to test on my XT1540 and am happy to report that everything is working fine except for Gello which other users have reported. I can also confirm that using System App Remover to uninstall Gello and then reinstalling the apk fixes the issue. Everything seems to be running smoothly so far :)
[Moto G 2015 Android Development] Pacer_456:
Awesome to hear
[Moto G 2015 Android Development] jhenrique09:
I changed a few lines in the build prop and now network is OK

My model is the XT1543 Dual Sim 16 GB

Brazil
[Moto G 2015 Android Development] charutl:
XT 15550??

Does it support xt15550????
[Moto G 2015 Android Development] Pacer_456:
?

Mind if I ask what you changed?
[Moto G 2015 Android Development] jhenrique09:
My build.prop

https://onedrive.live.com/redir.asp...126&authkey=!ANwJLzD6R-MEjuQ&ithint=file,prop
[Moto G 2015 Android Development] BillSwaginGates:
* I apologize in advance for the long paragraph that follows *

OK so after having the ROM installed for a couple days I managed to find a bug. Installing Xposed v86 through recovery seems to mess things up. Upon booting back into the OS, it starts up directly onto the homescreen instead of the lockscreen, and using the power button, the lockscreen seems to have disappeared entirely even though it was set to swipe in security settings. Also, pulling down the notification drawer no longer gives access to quick settings, which also seem to have vanished. So I booted back into TWRP to uninstall Xposed as well as PDB ABSTweaks that I had installed along with Xposed. First removing ABS and rebooting, nothing seemed to change so I figured it was the Xposed framework that was the problem. After removing Xposed however, the phone no longer booted to the homescreen, instead giving me a black screen for a solid few minutes. I could tell that the screen was still on, because it was still slightly lit up but not doing anything. Needless to say I'll be reinstalling to see if I can replicate and hopefully fix this, just thought I'd let everyone know.

EDIT: After a clean install everything is working fine now. Must have been some error in installation the first time or incorrect order of the zips I installed. (Usually Rom - Gapps - Kernel - Xposed - Tweaks).

This time I flashed ROM, then Xposed, then kernel, then ABSTweaks and now everything is running smoothly again :D
[Moto G 2015 Android Development] Pacer_456:
I have xposed as well, flashed it before squid kernel only because I wasn't sure what kernel to use when I flashed xposed, and had no issues doing this with any device (Lg g2/Moto G3) or Rom. But thanks for letting me know!
[Moto G 2015 Android Development] 77Dark:
Is working on XT1542 1gb?
[Moto G 2015 Android Development] djekan:
Congratulations, very nice stock based ROM, somoth, fast, with some features was great, it's possible? like a advanced reboot, clean recents?

V4A, here works great, uninstaling system V4A and install V4A open source, the camera openn with Doble click on power button, so, it's in Wright way.

Thanks, and keep this great work.

Enviado do meu MotoG3 através de Tapatalk
[Moto G 2015 Android Development] Pacer_456:
Sorry for the late reply, but what did you change in it?
[Moto G 2015 Android Development] Pacer_456:
I would like to ask who here got Viper4android working fine?
[Moto G 2015 Android Development] jhenrique09:
I just used the build prop of the stock rom.
[Moto G 2015 Android Development] csmarino90:
Working good in XT-1540. Thanks dev!!

Enviado desde mi MotoG3 mediante Tapatalk
[Moto G 2015 Android Development] 77Dark:
Support XT1542?
[Moto G 2015 Android Development] adonayescalante:
Very good rom works very well, just ask that you remove the Google apps that only let necessary because the desintalarlas cause bootloop , not that ?, and selecting the option to enable 3G data, it goes to the menu options and does not within that option as it does on the official stock , and if you can optimize it a little more to consume less battery , using your rom in a xt1540. Waiting for an update soon. Thanks from El Salvador.
[Moto G 2015 Android Development] Pacer_456:
Thanks, but I can't do much, I have only changed what I listed in the OP. I am confused on the gapps problem, can you explain more? And how do you suggest I optimize it?
[Moto G 2015 Android Development] Chory99:
Perfect in XT1543

rom in the XT1543 perfect touch was to modify the rest build.prop well
[Moto G 2015 Android Development] BillSwaginGates:
Battery life on my XT1540 is just fine, try a different kernel and use Kernel Adiutor to optimize it for battery life. Also you can use System App Remover to get rid of any apps you don't need that are preinstalled.

---------- Post added at 06:26 PM ---------- Previous post was at 05:30 PM ----------

@Pacer_456 Could you please try to implement expanded desktop into the settings in the next version? Currently I'm using GravityBox to toggle it with the power menu but would love per app expanded mode to hide navbar in apps like Nova Launcher but show in Chrome, Play Store, etc. Thanks in advance :)
[Moto G 2015 Android Development] 77Dark:
XT1542 plss
[Moto G 2015 Android Development] adonayescalante:
Thanks , I mean if you could put the necessary gapps , ie playstore and play services, and others that are optional install , ie as youtube , chrome , etc , otherwise all right, I congratulate you, soon I hope an update . Greetings.:good::):)
[Moto G 2015 Android Development] Pacer_456:
Ah, I'll see
[Moto G 2015 Android Development] rsoria:
Hi Pacer_456,

Do you know if the rom works fine in XT1541 with 2 GB ?

Thx
[Moto G 2015 Android Development] rsoria:
Works fine !! :)
[Moto G 2015 Android Development] Chory99:
Pacer for XT1543

It runs smoothly !!!!!!

https://mega.nz/#!QRE2BA6A!0slAIDTbOoXQygVamrOkU2yc48A8Uh-t7NA4Rpi4jic
[Moto G 2015 Android Development] Pacer_456:
Well that's nice to hear, but I am working on V1.2 and also plan to add this variant officially.
[Moto G 2015 Android Development] Alex0319:
Hey! I love stock based ROMs and this ROM is awesome, runs perfectly in xt1540. Congratulations, keep this ROM alive
[Moto G 2015 Android Development] Pacer_456:
Update on my progress, I have a working V1.2 and I have:

Removed Gello

Tried fixing Viper4android with no luck yet

Added Adblock and kernel adiutor

Added Marshmallow boot animation

The main update for this version is device support, working on adding more variants. I do not want to do the build prop method as it seems sketchy and I would rather take longer to build than hear a bunch of complaints.

If anyone does know how to get Gello and more importantly Viper4android working, please let me know, and if you have an idea for something I could include, please tell me.
[Moto G 2015 Android Development] Chory99:
good work brother would be a pleasure to collaborate and contribute to the XT1543
[Moto G 2015 Android Development] kuzo:
I recommend the reduction of Google applications and services, enough ... Google Play, Gmail and Calendar in my case ... contact sync ... thank you very much

I'm sorry for my English
[Moto G 2015 Android Development] eemgee:
To be fair, do you need any apps that aren't needed for Android to run? Just get them from play store.
[Moto G 2015 Android Development] Pacer_456:
Well the ROM doesn't come with many Google apps preinstalled anyway, and if some are bugging you just use something like ES file explorer to delete them. I don't see the point of getting rid of most of them
[Moto G 2015 Android Development] BillSwaginGates:
Could you possibly try to integrate per-app expanded desktop from cm? Seems like an underrated feature but I like to hide the navbar in a few apps but keep it in most. Would appreciate if you could look into this :)
[Moto G 2015 Android Development] Pacer_456:
As I carry on development I start to realise that there is no use updating this rom. On other devices like the LG G2, a stock based roms are popular because of the enhancements LG has made in the framework of the stock rom, like the camera is much better on stock based roms than AOSP, however this isn't really the case with the moto g3, there aren't any significant enhancements to the stock rom since it is AOSP and the only advantage I can think of is 100% stability. But if you are after stability, then CM13 is probably better because it gets nightlies and is pretty bug free, along with more features and enhancements. So for the time being, I won't be developing stock based rom for this device until further notice, but I may make a custom version of CM14 once it is out.

Edit 1: Another reason why I don't think an update is needed because the things I add are easily available as an app or a flashable zip, and other ROMs provide more features and things that are not available as an app or a zip file and are deeply integrated into the system. Also I should say that it is not final that I will stop development of this rom
[Moto G 2015 Android Development] eemgee:
I've never used a non stock rom that's better or even the same on battery than stock.

If you know of one, let me know.
[Moto G 2015 Android Development] Pacer_456:
I had felt that the battery on all roms were very similar, but perhaps I use my phones differently than most people. Also a custom kernel should bring battery back to stock or better for you, but yes, stability and smoothness with a stable battery are the advantages, but the gap between that and AOSP based ROMs are nearly non existent to me. I should and will add some more info to my post on why I stopped updates
[Moto G 2015 Android Development] Acidfire.TM:
i agree with you [MENTION=7125548]Pacer_456[/MENTION]

at this point most custom Roms are as good stability wise. and the battery on some custom Roms is amazing (DU for example)

firekernel gives me awesome battery. if people are having trouble with custom Roms
[Moto G 2015 Android Development] Casper1982:
Work on xt1543 dual sim? wich version?
[Moto G 2015 Android Development] Chory99:
if I edit the rom and 'running perfectly in the XT1543

https://mega.nz/#!QRE2BA6A!0slAIDTbOoXQygVamrOkU2yc48A8Uh-t7NA4Rpi4jic
[Moto G 2015 Android Development] Innfinite4evr:
Permissions to port this ROM??...

PS:willl mention you in contributors.
[Moto G 2015 Android Development] tk424:
Is the OTA Update notifier turned off on this? (So Motorola updates wont prompt you every 24 hours to update?)
[Moto G 2015 Android Development] Pacer_456:
I will pm you.

I haven't done it, so probably not. You can uninstall it I guess.
[Moto G 2015 Android Development] tk424:
Thanks for the quick Reply. I only ask because I have had a hell of a time getting it uninstalled/killed on the stock ROM (it keeps coming back after reboot) so I am not sure if it actually can be uninstalled/killed. But if you know of a way that would be great.