yashsingh1/xdaforums huggingface dataset:
[E 2015 Original Android Development] scritch007:
​

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

REMEMBER TO MAKE A NANDROID BACKUP OF YOUR WORKING PHONE.

REMEMBER THAT THIS IS A TESTING VERSION.

Instructions For Flashing First time

Reboot to recovery.

Factory Reset. (wipe data,cache and dalvik cache)

You should also wipe system.

Flash the zip and reboot.

Instructions For Upgrading from Previous Nightly/RC/Stable/Milestone

Reboot to recovery.

wipe cache and dalvik cache only .

Flash the zip and reboot.

Current work process

I'm working on the XT1524 and the following status as only been tested on this device.

This build works on XT1514, XT1521, XT1523, XT1524, XT1526, XT1527

This build is based on F-AOSP.

XT1524 Status

Working

* Speaker OK

* RIL (voice OK, sms OK, Data OK, 4G OK)

* Camera (front OK, back OK)

* Video Recorder OK both

* Playing video recorded with the camera OK

* Auto rotation OK

* Airplane mode

* Bluetooth (detected another phone, but not tested completely)

* Wifi

* GPS

* FM

* Led notifications (Only when plugged)

Not working

* Videos of more then 46 seconds sometimes make the camera app crash and video is not complete.

* Some issue in WiFi with DHCP but it depends of unknown (yet) parameters

* SEPolicy set to permissive

* Probably other stuffs

CDMA devices

* LTE not working

Dual sim devices

* SMS/CALL/DATA will probably not work

Reporting Bugs

Tell which version you are on

Tell which phone you are on

Provide logcat

Provide DMESG

adb shell getprop

Provide a way to reproduce the issue

Binaries

Builds can be found here

or Here

Sources

https://github.com/F-AOSP

https://github.com/Motorola-CyanogenMod/android_device_motorola_surnia

https://github.com/Motorola-CyanogenMod/android_kernel_motorola_surnia

https://github.com/Motorola-CyanogenMod/android_vendor_motorola_surnia

Check for the aosp-5.1 branch

Credits

Google

Alberto97

cybojenix

Motorola

percy_g2

XDA:DevDB Information

AOSP 5.1 for moto E 2015, ROM for the Moto E 2015

Contributors

scritch007, percy_g2

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.10.x

ROM Firmware Required: TWRP Recovery

Based On: AOSP

Version Information

Status: Alpha

Created 2015-05-27

Last Updated 2015-06-08
[E 2015 Original Android Development] scritch007:
Changelog

AOSP-5.1.1-20150921-surnia-jenkins-dual-28.zip

Updated device tree with latest CM changes

Actions (Thanks to alberto97) Chop Chop is displayed but obviously not working

Using osprey kernel like cm12.1

Updated wifi binary (From squid2 post)

Latest F-AOSP changes

AOSP-5.1.1-20150721-surnia-jenkins-dual-20.zip

Same as AOSP-5.1.1-20150720-surnia-jenkins-single-18.zip

Dual sim support

AOSP-5.1.1-20150720-surnia-jenkins-single-18.zip

Updated stml0xx drivers with peregrine version

Integrate patch for the xt1526 version

Update to latest version of android

AOSP-5.1.1-20150616-surnia-jenkins.zip

The update of the sensor binary to the 5.1 was not correct regarding the 5.0.2 kernel driver. I updated the kernel to fix some of the values and now they do work, but some stuff might be broken. I have to figure out how to force flash a 5.0.2 sensor binary.

Fixed Headset

Fixed speaker

Fixed Proximity sensor

Fixed camera recording

AOSP-5.1.1-20150612-surnia-jenkins.zip

Headset Fixed

AOSP-5.1.1-20150609-surnia-jenkins.zip

This is a test build do not flash it, it has some heating issues. And eleven player doesn't work.

Updated 5.1 blobs

Added Eleven music player

AOSP-5.1.1-20150604-surnia-jenkins.zip

64Gb exfat sdcard support.

latest aosp update.

AOSP-5.1.1-20150527-surnia-benjamin.zip

Initial version
[E 2015 Original Android Development] xukashi:
Very nice! Thx bro
[E 2015 Original Android Development] schmanto:
xt1524

hya!

i flashed this on my rooted xt1524 with the custom squid r5 kernel (followed the xda video guide for rooting).

...immediately noticed huge improvements in performance!

then i went ahead and flashed gapps 5.1 (for google play store) as well, (i always cleared cache&dalvik after flashing) which resulted in heavy slowdowns and error messages at first, luckily now it's running smooth again! (i did however deactivate everything, except for play store, which is the only google thing i use)

next, i installed the latest alpha for xposed 5.1 , and the modules i use seem to work as they should (greenify, viper4android).

so yeah, i'm very happy now :) thank you big time!!
[E 2015 Original Android Development] pixiebob:
great job scritch007 , flashed this and this is my favorite rom better than cm and maybe more compatible with xposed framework. thank you

edit: drop network problem
[E 2015 Original Android Development] crazynapkinman:
Deleted

Sent from my Moto E 2015 LTE
[E 2015 Original Android Development] xukashi:
I use this Rom now for a few days. Conclusion: no lags, no boot loops, camera works.
[E 2015 Original Android Development] scritch007:
I'm using it too as my everyday rom, but I'm having some issues with the video recording, this issue I also have it on CM12.1.

If I try to record some video of more then 46 secs (I usually test with 1minute), one time out of 2 or 3 the camera app will force close. I'm still investigating on this issue but do you face it?
[E 2015 Original Android Development] xukashi:
Hi, I have now tested the video function several times. With me everything is working. I've made several videos over 5-6 minutes. Goes without problems. But I also do not the stock app but "open Camera". Can it be that the stock App is broken?
[E 2015 Original Android Development] googed:
Earphones not working?

On the XT1527, I tested a couple of earphones and none is working. That's the biggest bummer so far for me.
[E 2015 Original Android Development] crazynapkinman:
Does 4g work on this ROM or no? According to another post the 4g is working but if it's built off [MENTION=3445372]scritch007[/MENTION] build then, in my experience, 4g CDMA doesr not work.

http://www.htcmania.com/showthread.php?t=1021303
[E 2015 Original Android Development] jahrule:
From OP:

CDMA devices

* LTE not working
[E 2015 Original Android Development] scritch007:
AOSP-5.1.1-20150604-surnia-jenkins.zip

64Gb exfat sdcard support.

latest aosp update.
[E 2015 Original Android Development] xukashi:
Where can I find this build? In GDrive is nothing
[E 2015 Original Android Development] cheffy11:
I was just wondering that??
[E 2015 Original Android Development] scritch007:
Sorry forgot to update first page. Builds are available now on:

http://builds.hubdroid.com/AOSP/
[E 2015 Original Android Development] matteo 06:
hi

is MMS working?
[E 2015 Original Android Development] cheffy11:
Amazing ROM just installed latest update and wow so much smoother than your cm build :D
[E 2015 Original Android Development] xukashi:
Nice work
[E 2015 Original Android Development] colemickens:
I hope the noob question can be forgiven, but does F-AOSP include the modifications that remove the carrier-signaling when tethering?

With the stock ROM, T-Mobile can tell when I'm tethering because the stock build uses a different device to send out the tethered traffic.

CM12 normally removes this such that one can tether without strings attached. Does F-AOSP include this, or no?
[E 2015 Original Android Development] Niflheim_:
I miss your work ): ... The wifi direct, dont work
[E 2015 Original Android Development] Nilesh414:
Reaqust For Custom Roms

Dear Sir,

My mobile is moto e2 LTE (xt1521) surnia. I request to you...you builds iPhone or miui custom rom. Please kindly request build this custom ROM.

Please Reply me. (nileshbendre414@gmail.com)

Thanks....

.
[E 2015 Original Android Development] deepjyoti30:
[MENTION=3445372]scritch007[/MENTION] I own the device. But i am not much familiar with its issues and fixes. Anyways installed lineage os14.1 and i now want to flash this rom. The issue is I don't know if it is stable now or still has dual sim,lte and other issues. Please help me with this. Shall i install it? Is is stable now? What's not working now? TIA!
[E 2015 Original Android Development] chakraa2:
This is by far the best ROM I have tried on Moto E (LTE) ,its way smoother than the CM12 builds I have tried so far.I have the Dual Sim version wanted to check by when can we expect the support for Calls,SMS etc.As of now it doesnt seem to recognize any Sim.
[E 2015 Original Android Development] scritch007:
As I explained on the moto E thread, the AOSP doesn't support dual sim version. It requires using some CAF repository instead of the Google repositories.

I can make a build with those repositories.
[E 2015 Original Android Development] chakraa2:
That be of great help mate! I honestly wouldnt want to go back to Stock or the CM builds for the simple reason that I dont find them fluid enough.

if you can look in to it that be simply great :)
[E 2015 Original Android Development] cheffy11:
Stock is ok but I know what you mean this rom is amazingly smooth for a device with only 1gb of ram.
[E 2015 Original Android Development] chakraa2:
I am yet to recieve 5.1 update so cant comment on how smooth it can get .5.0 is not that smooth as id expect it to be(Memory leak issues probably), considering that its suppose to give stock experience.

This rom looks like a turbo charged version over the CM builds and stock 5.0.X versions and that too with 1 GB ram like you mentioned.

Regards.
[E 2015 Original Android Development] crazynapkinman:
I just want LTE to work on CDMA... ???
[E 2015 Original Android Development] xukashi:
Is there any chance to build the rom with Moto Doze feature?
[E 2015 Original Android Development] dulce.ai.angel:
I just tested this rom on my XT1527 and I experienced 3 bugs: the video recording bug (which we knew already), the headphones bug (which we knew already too) and the music app bug, that keeps force closing to me. To be honest, this rom is really smoother than stock, but I'm not using it as a daily rom because of the headphones bug and also this rom overheats my phone. Anyway, keep up the good work, it's almost usable to me :) just slight details.
[E 2015 Original Android Development] scritch007:
AOSP-5.1.1-20150609-surnia-jenkins.zip

Updated blobs from 5.1 xt1527

Added Eleven music player

I made the build without testing it, but I also faced the heating issue. I didn't have time to figure out what was going on.

The music player crashes because it requires some patches in other parts, which I won't be making so I'll just remove this too :)

So to be clear this build was mostly a test, and previous version was much better.
[E 2015 Original Android Development] hisaishi:
music bug is easy to eliminate, go to settings -> apps -> choose all, find music

then force stop and DISABLE

music app will vanish from main menu, then download any app from playstore (poweramp, n7 music player, plenty of choice)

I did the same with browser and downloaded Opera.

I downloaded mini gaaps and system is very clear

Only bug I found is wifi scanning worse than in stock. I couldnt find my network in room next to router. In stock I found a lot of wifi networks. But when I went to room with router and connected to it, wifi worked well.

So connection works well, but scanning is a bit worse.

Version xt1524.

---------- Post added at 10:35 AM ---------- Previous post was at 09:59 AM ----------

Couldnt edit.

My phone sometimes restart, I dont know why. I hope it wont occur too often.
[E 2015 Original Android Development] hisaishi:
it restarted 5th time in few hours, Im changing it for something other or stock until it be fixed

thanks anyways for your work, scritch!
[E 2015 Original Android Development] hisaishi:
I installed Pacman rom and the same problem, I need go back to stock :crying:
[E 2015 Original Android Development] hisaishi:
Probably I found source of problem, mini gaaps from this thread : http://xdaforums.com/android/apps-games/hdpi-google-apps-5-1-t3066172

Now I didnt install them and no restarts so far, we will see. Im back on AOSP, best rom I found for moto e lte.
[E 2015 Original Android Development] xukashi:
I use the TK GApps and here is all fine.

---------- Post added at 19:31 ---------- Previous post was at 19:29 ----------

http://xdaforums.com/showthread.php?p=60921686
[E 2015 Original Android Development] scritch007:
AOSP-5.1.1-20150612-surnia-jenkins.zip

Headset Fixed

Actually you can flash this version even with the 5.1 blobs, but clean wipe all before flashing.
[E 2015 Original Android Development] xukashi:
"clean wipe all"? System an data too or Cache and dalvik?
[E 2015 Original Android Development] xukashi:
With the new build, i have no Sound
[E 2015 Original Android Development] rster:
The 0612 build doesn't work for me with xposed, with or without a complete wipe - and also looped on boot now and then. I'm going back to the last build which is my favorite even with headphones not working. Overall, this is a great rom.
[E 2015 Original Android Development] scritch007:
Yes actually Headset is now working but normal speaker isn't.
[E 2015 Original Android Development] matteo 06:
oh yes, in earlier builds the headphones do not work and in the final build the headphones work but this time speakers not working, same in cm12.1, I went to build 29.04 have both at work (cm 12.1).

Thanks for your works cm 12.1&aosp
[E 2015 Original Android Development] jahrule:
Other than the speaker bug. The ambient light sensor also is always reporting 0.
[E 2015 Original Android Development] scritch007:
AOSP-5.1.1-20150616-surnia-jenkins.zip

The update of the sensor binary to the 5.1 was not correct regarding the 5.0.2 kernel driver. I updated the kernel to fix some of the values and now they do work, but some stuff might be broken. I have to figure out how to force flash a 5.0.2 sensor binary.

Fixed Headset

Fixed speaker

Fixed Proximity sensor

Fixed camera recording
[E 2015 Original Android Development] dulce.ai.angel:
Hmmm everything is okay to me :) bugs are really fixed. Just ONE thing: it overheats the phone easily. If you use a few apps then it stays in 102.38 F but... If you use it some more.. Like, using facebook and the browser at the same time, it reaches more than 105 F and my hand can't stand it. :/ anyway, it's usable now :D thanks!

Edit: Also I think it has battery draining, it lasts about 3 hours of SoT and stock 5.1 lasts like 6 or 7

Enviado desde mi XT1527 mediante Tapatalk
[E 2015 Original Android Development] Code Of Conduct123:
how to keep logs

Im new to android and i know how to root and flash customs on my phone.And i dont knlow how keep logs at all and i have tried loggy apk and it did not work.
[E 2015 Original Android Development] crazynapkinman:
Anyone know if LTE is working for CDMA devices with this ROM?
[E 2015 Original Android Development] matteo 06:
hi

I installed it on my device xt1524, then add some configuration and app. no problem but when I switched back on 3 hours after, all the configurations made and added apps. were missing, the Rom returned to the initial state.

I have never seen that....

PS.Traduit by google
[E 2015 Original Android Development] starkly_raving:
I really hope the LTE gets sorted out for CDMA soon too. [MENTION=4480917]Alberto97[/MENTION] has made some strides on the CDMA (3G) front. I love pure AOSP and hope to get to use it on this device soon. [emoji106]
[E 2015 Original Android Development] Chiveta:
[MENTION=3445372]scritch007[/MENTION] Bluetooth works perfect jeje
[E 2015 Original Android Development] iks8:
[MENTION=3445372]scritch007[/MENTION] hi

I have question: do you think it is possible to build android 4.4.4 for this phone? Or we miss some sources?
[E 2015 Original Android Development] starkly_raving:
Why would you want to go to KitKat when M is a few months out and Lollipop is stable? Seems a bit like regression versus progression.
[E 2015 Original Android Development] iks8:
I belive that KitKat is still the fastest and the most stable version of android.
[E 2015 Original Android Development] xukashi:
Nope!
[E 2015 Original Android Development] stefanthehuman:
Just a quick question, I really want to try this rom out but was wondering since its AOSP what is the notification method seeing as how there is no notification light, is the moto active notifications enabled like it is in stock?:confused:

Thanks!
[E 2015 Original Android Development] xukashi:
You can turn on Ambiente Display in settings but it is not the same. Moto Doze is the module in stock Rom for the Display notifications but is not in aosp build yet
[E 2015 Original Android Development] stefanthehuman:
Perfect thank you, no idea if it will be implemented right?
[E 2015 Original Android Development] Killoma572:
Latest build works great on my XT1526. no problems for me so far besides the camera crashing after 46 seconds and the fact that LTE doesn't work but 3G works just fine. No problems with Wifi, the connection signal is better than the CM builds. This ROM is what I'm going to use for my daily driver from now on. One more thing, the audio actually seems to sound better while using this ROM compared to stock and CM...I don't know if that's just me but it just sounds better. Looking forward to future updates.
[E 2015 Original Android Development] Killoma572:
Even though this is a AOSP ROM I was wondering if it would be possible to add the "Skip Tracks With Volume Keys" feature like in CM. I tend to listen to music a lot so this feature would be useful. I do realize other things are to be delt with, like bugs, but it would be nice to see this feature in the future. Thank you.
[E 2015 Original Android Development] starkly_raving:
Im wondering if these settings are present...haven't flashed this rom yet.

Settings > Under "Wireless & Networks" click MORE > Mobile Networks > Preferred network type should say "CDMA+LTE/EVDO"

If not I wonder if it could be as simple as updating the apns, that's been used in the past on Sprint, Boost and Virgin mobile etc.
[E 2015 Original Android Development] Killoma572:
It is not available in the settings and also I can't find anything to change the APN with in the settings...I remember on my old S4 to add a APN all I had to do was go to Mobile Networks and select "Add APN" and just type in all the settings and voilà, the data connection worked but with this phone and more specifically this ROM I can't find such an option to change it
[E 2015 Original Android Development] xukashi:
Settings > wireless and networks > more > cellular networks > access point names

This is the way to APNs
[E 2015 Original Android Development] Killoma572:
Okay well I'm fairly new to XDA so I don't know how to properly reply and also since I don't have more than 10 posts I can't attach a screenshot...but when I went to these settings I didn't see access point names. All I saw was data roaming, preferred network type, system select, and CDMA subscription. Nothing about changing or configuring the APN...I apologize for my stupidity if I'm getting it wrong.
[E 2015 Original Android Development] russ722:
Could someone link me to the gapps you used for this ROM? Thanks.
[E 2015 Original Android Development] xukashi:
search for TK-Gapps. I use the Pico package
[E 2015 Original Android Development] kamekazi:
It isn't connecting to the Boost data service. I'm wondering if any folks out there have the same issue and know a workaround?
[E 2015 Original Android Development] starkly_raving:
I think it could be an apn issue...according to some other different device forums.

**EDIT**

Anyone who has the rom loaded on Boost want to try this? It's a universal apn/build prop mod. Remember to have a backup just in case.

https://drive.google.com/file/d/0B46DbOH2IgChRndzVmhqd1BQZ0U/edit?usp=docslist_api

Thanks to [MENTION=456243]SuperR[/MENTION] for modifying it for the E.
[E 2015 Original Android Development] rmpcunha:
Thanks for your thanks :) .... but i think i haven't modify anything....
[E 2015 Original Android Development] starkly_raving:
Confirmed LTE is working just shows "Sprint"
[E 2015 Original Android Development] starkly_raving:
Noticing stock SMS isn't working and neither is Google Messenger. Hangouts seems to be fine though.
[E 2015 Original Android Development] SpiralX15:
Has anyone tested it on XT1506?
[E 2015 Original Android Development] kamekazi:
3G works on the Boost Network, 4G LTE working on Sprint. Thank you so much for sharing, and thank you [MENTION=456243]SuperR[/MENTION] for making it work on the E. Now I don't have to have all that terrible Boost bloatware on this under-powered phone!
[E 2015 Original Android Development] starkly_raving:
I'm testing a different patch by [MENTION=456243]SuperR[/MENTION] will report here.
[E 2015 Original Android Development] crazynapkinman:
How did you get LTE working? Does calling/texting work?
[E 2015 Original Android Development] starkly_raving:
Calling and LTE work by flashing the zip with the apn fix above. Native SMS and Google Messenger don't seem to work but Hangouts works fine. Still working/testing some things with [MENTION=456243]SuperR[/MENTION] to get a cleaner fix but its a step in the right direction. [emoji106]
[E 2015 Original Android Development] crazynapkinman:
So would you say this same patch would work for cm12.1 build?

Also, does using the 4g sprint affect the data speeds if you're a boost Mobile customer?

And I have updated to 5.1 stock. I am part of the soak test. This has changed my partitions. Does that matter for flashing this ROM or cm12.1?

Thanks!
[E 2015 Original Android Development] starkly_raving:
Can't confirm on CM12.1 as I've not tested it but feel free to. I'm running a different rom now but speeds didn't seem any better or worse here in the Vegas valley. As its primarily a build.prop edit and an apn.conf edit I'd think it'd be safe to test on CM 12.1 just have a back up handy. If you've got time to do some speed tests etc between this and stock I'd be curious to see your results.
[E 2015 Original Android Development] crazynapkinman:
So SMS isn't working. I can call and data is working.

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

I am using Hangout to do SMS. And it doesn't work to send SMS [emoji21] [emoji21]

---------- Post added at 03:07 AM ---------- Previous post was at 03:06 AM ----------

Would changing the band to USA band fix this?
[E 2015 Original Android Development] scritch007:
[MENTION=4658982]starkly_raving[/MENTION] nice found. When you have something stable can you send an email with the patch I'll include in into the repo, or you can make a pull request.
[E 2015 Original Android Development] crazynapkinman:
[MENTION=3445372]scritch007[/MENTION] does this build have root?
[E 2015 Original Android Development] scritch007:
It has adb root, but not root like the cm12.1 root
[E 2015 Original Android Development] crazynapkinman:
Also, I can receive test just not send
[E 2015 Original Android Development] crazynapkinman:
Okay, your fix for LTE works on the CM12.1 build. Everything works on PCS band, calling/texting/data.

Thanks so much for this fix! Is prefect for the CM build! You should post this into that forum as well!

Sent from my Motorola Moto E 2015 4G LTE
[E 2015 Original Android Development] xukashi:
[MENTION=3445372]scritch007[/MENTION]

Please can you patch the "moto doze" in this rom?
[E 2015 Original Android Development] starkly_raving:
Absolutely... I was researching the LTE for CDMA devices and found this for another to device and reached out to @ SuperR to help make it compatible with the Moto E. It does fix LTE but breaks SMS/MMS. Will continue to search out a solution or and see why SMS is being broken here. [emoji106]