yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] scritch007:
Hi All,

I've been working on a CAF version for osprey. This is started from kernel and device tree made by Alberto97 and Squid2, so thanks a lot to them for the bringup.

This version is very early and should only be flashed by people who know what they are doing. Flash this at your own risk.

#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.
*/

For now only a few things are working:

Working

Bluetooth

SMS/RIL

Sound

Camera preview

Not work

Maybe dual sim

Binaries

Here

Sources

https://github.com/boulzordev/local_manifests/tree/caf-6.0

There is still an issue when building, you must first build the kernel before being able to make a full ROM

XDA:DevDB Information

CAF-6.0 [Osprey], ROM for the Moto G 2015

Contributors

scritch007, squid2, Alberto97

Source Code: git://codeaurora.org/platform/manifest.git

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

ROM Firmware Required: TWRP

Based On: CAF

Version Information

Status: Testing

Created 2015-10-20

Last Updated 2016-01-05
[Moto G 2015 Original Android Development] scritch007:
Changelog

osprey-caf-87.zip

Updated to latest version of CM13 device specific + CM13 kernel)

Updated to LA.BR.1.2.7-00910-8x09.0.xml (February security patch)

Fixed the ringtone setting issue

Using frameworks_av from CM13 from now on.

osprey-caf-86.zip

Fix setting ringtone

Fix invalid number error when the call is ended by the other end

Sepolicy from cm imported (getting ready for Sepolicy being enabled)

osprey-caf-85.zip

Settings for light management ( When opening settings values reset to default)

Dual sims outgoing should be fine now

Updated frameworks_av with CM commits

Now building osprey/lux/surnia at the same time, this is why the version is 85

Rebased with newest version of LA.BR.1.2.7

Backup script when flashing in recovery. This works with open gapps. This means gapps are copied and restored when flashing

osprey-caf-0.25.zip

Updated to 6.0.1

Now using commonized msm8916 like cm13 will do

Using libshim from cm for the missing symbols

There is a bug the initial bootanimation doesn't seem to load. But it loads once rom is started and optimising applications.

aosp-caf-0.24.zip

Didn't have time to test it but this should include the following fixes. I might be off for a few days again, but I'll definitely keep on workin on this ROM.

The google webview

"Maybe the reboot option"

The time.sleep for the camera3 application that was posted somewhere in here (Or surnia's thread)

Let's hope exfat sdcard working too

aosp-caf-0.23.zip

Fixed boot. Kernel is now using squid2 repository directly. But had to use the osprey-stock_defconfig so that it boost.

aosp-caf-0.22.zip

Dual sim support (Couldn't test it since I don't have a dual sim Moto E 2015 phone, but on lux I can make some calls in dual sim)

Fix an issue with wifi bootloop after installing gapps (Can't really tell the trigger, but it's fixed )

I didn't have time to test this version on osprey nor surnia, so you can wait for me to test it or try it yourself and report any issue.

aosp-caf-0.21.zip

Rebased on LA.BR.1.26_rb1.3

OEM unlocked button is now correctly working

Broke video playing but restored it that's why number is much higher with so little changes :)

aosp-caf-0.16.zip

Video Recording

Change Language doesn't crash anymore when accessing to phone config (if I missed some languages please tell me I'll fix them too)

aosp-caf-0.14.zip

Actions (based on CMActions) + Added some actions from Victara phone

Added some commits for gapps package authentication, this should prevent a few errors but not fully working yet.

aosp-caf-0.12.zip

Sdcard mounting properly (didn't double check)

Sound working

Camera can now take pictures (recording not working)

aosp-caf-0.7.zip

Wlan

Sdcard

Init built from caf directly.

Updated APN so now Data is working.

aosp-caf-0.4.zip

Initial Version. Remember to flash the image-new-0.4.img (using fastboot) after flashing aosp-caf-0.4.zip
[Moto G 2015 Original Android Development] Shreps:
GG ;)
[Moto G 2015 Original Android Development] itskapil:
Guys, you can try Gapps from: HERE
[Moto G 2015 Original Android Development] HelpMeruth:
nice,
[Moto G 2015 Original Android Development] HelpMeruth:
Do i need to boot or flash the "special" boot.img?
[Moto G 2015 Original Android Development] madscientistdam:
what is the fastboot command is it fastboot flash image-new-0.4.img?? help i just need the correct command because im not sure exactly what to type thanks..
[Moto G 2015 Original Android Development] scritch007:
fastboot flash boot image-new-0.4.img
[Moto G 2015 Original Android Development] HelpMeruth:
i can confirm it boots :) and that's it..

but great work! hope you can fix the wifi soon!

thanks,

i have some screenshots to:

EDIT: lol my screenshots are on techdroider..

http://www.techdroider.com/2015/10/aosp-how-to-install-android-marshmallow-moto-g3-2015.html
[Moto G 2015 Original Android Development] baggino:
I also did not understand ...... :( when the Rom will be fully functional will explain :confused:
[Moto G 2015 Original Android Development] HelpMeruth:
This ROM isnt fully functional. If you want tot test this out flash the zip and then boot in to the bootloader and flash the boot img using 'fastboot flash boot #name of img#' than you can boot up. This ROM isnt for daily use.
[Moto G 2015 Original Android Development] christopherrrg:
Hey OP what is your github link?
[Moto G 2015 Original Android Development] JoshinPl:
What is the diference between caf and cm?
[Moto G 2015 Original Android Development] squid2:
https://github.com/boulzordev
[Moto G 2015 Original Android Development] christopherrrg:
Wasn't sure if that was his, thanks! :)
[Moto G 2015 Original Android Development] HelpMeruth:
Any updates yet?
[Moto G 2015 Original Android Development] Jamesnewton1406:
is the any updates for this rom?
[Moto G 2015 Original Android Development] christopherrrg:
? guys..

No ETA. :P
[Moto G 2015 Original Android Development] HelpMeruth:
if i'm not wrong, is see a cm-13 for osprey in the github of scritch.

can someone tell my about this or is it just nothing?
[Moto G 2015 Original Android Development] Jamesnewton1406:
will squid2 kernel work on this rom?
[Moto G 2015 Original Android Development] Setialpha:
Getting better. Only issue so far: no 3G/LTE.
[Moto G 2015 Original Android Development] jackk11111:
If i active GPS. Reboot!!!!

Inviato dal mio aosp_osprey utilizzando Tapatalk
[Moto G 2015 Original Android Development] hossman:
Sounds like an APN issue..

LTE working here with virgin mobile
[Moto G 2015 Original Android Development] christopherrrg:
-delete-

Sorted, sorry. :P
[Moto G 2015 Original Android Development] tember1214:
Are people dirty flashing from build to build?
[Moto G 2015 Original Android Development] Setialpha:
Well, I can't choose anything else than 2G in cellular settings. As soon as I do, it's beeing reset to 2G.

Gesendet von meinem aosp_osprey mit Tapatalk
[Moto G 2015 Original Android Development] christopherrrg:
I am not, anything WIP gets treated with fresh installs.
[Moto G 2015 Original Android Development] theincognito:
Okay :)
[Moto G 2015 Original Android Development] TheDemonOfSky:
Link to download?
[Moto G 2015 Original Android Development] dd98:
Here or Here
[Moto G 2015 Original Android Development] TheDemonOfSky:
Thanks so much man :)
[Moto G 2015 Original Android Development] ZeroVirus:
dual sim not working?
[Moto G 2015 Original Android Development] HelpMeruth:
No, we have answerd this question multiple times before. Please read back before asking!
[Moto G 2015 Original Android Development] ZeroVirus:
ok then anyway to fix that issue?
[Moto G 2015 Original Android Development] JackSparrow17:
Just download the zip and start development and help other....Easy
[Moto G 2015 Original Android Development] SirSoviet:
Anyone in this thread, what GApps are confirmed to be working on this ROM? I know about page 10, but I want to see if there is a working alternative.
[Moto G 2015 Original Android Development] hp420:
http://download.dirtyunicorns.com/files/gapps/banks_gapps/
[Moto G 2015 Original Android Development] Rainbowtoast:
I'm getting pretty severe WiFi battery drain on the latest build. Other than that I'm getting no force closes and even V4a works 90%. Keep up the good work.
[Moto G 2015 Original Android Development] Versatil2010:
We seriously need an out of the box file manager please....Idk but a rename to marshmallow and 6.0 they should have thought about a new ui as well. If feels like there's nothing new here, I know all changes are under the hood but nothing that catches attention to me or that I'll use.....just a thought :D Any ways ROM is pretty smooth so far and all is working including 4g/lte.
[Moto G 2015 Original Android Development] Parth2187:
Anyone else confirming the Cellular Network is not detected after flashing CAF 6.0 on Indian variant (XT 1550) ? I know this is experimental, just wanted to try it on my friend's G3. If I flash modem, will it work right?
[Moto G 2015 Original Android Development] hp420:
This has been answered....please read next time!

Switch your apn to another carrier, then back to yours. When you reboot you may have to do it again....this is a known issue....even mentioned directly in the OP
[Moto G 2015 Original Android Development] theShadow800:
Wait, so will it work on the dual sim variant just by changing the apn? I thought i didnt work at all
[Moto G 2015 Original Android Development] theincognito:
Hang on.. SIM detected for your friend? Cuz my phone didn't detect sim at all..

Yeah.. Me too. Please clarify, [MENTION=4196521]hp420[/MENTION] :)
[Moto G 2015 Original Android Development] creative21:
no, even single sim doesn't work on xt1550. SIM isn't 'detected'. so no network availability and option to change to other carrier or APN.
[Moto G 2015 Original Android Development] hossman:
You can try 'change apn' from play store . I don't have dual sim, but the app worked for me
[Moto G 2015 Original Android Development] creative21:
but, the sim isn't "DETECTED" T_T.

what's the point when there isn't any sim to search for network & APN. :/

:banghead: pls
[Moto G 2015 Original Android Development] hossman:
I don't know anything about dual sim..

But I know if you don't have the correct APN, you may not get service... I had no service until I changed my apn
[Moto G 2015 Original Android Development] creative21:
oh, thanks 4 replying. :banghead:

actually its no simcard symbol in status bar and every option related to sim and networks is grayed(disabled). :/
[Moto G 2015 Original Android Development] debojyotidey:
same scenario on caf version of moto E X1521(4G indian variant). sim isn't 'detected' T_T
[Moto G 2015 Original Android Development] theincognito:
[MENTION=3445372]scritch007[/MENTION] : Can you use Titan's RIL blobs instead of Victara's RIL blobs in the next build? Its for the dual sim issue.

PS: I am almost a noob about this,just hoping for the dual sim phones to work. :)
[Moto G 2015 Original Android Development] scritch007:
aosp-caf-0.21.zip

Rebased on LA.BR.1.26_rb1.3

OEM unlocked button is now correctly working

Broke video playing but restored it that's why number is much higher with so little changes :)

Nope still didn't test them. I'm going to start working on the portage for LUX (X play) which I have as a dual sim device, so I'll might start to try things out.

You can always try to use those blobs.

adb shell mount -o remount,rw /system
adb push libXXX.so /system/lib/

And then reboot. You'll have the blobs updated and maybe it will work.
[Moto G 2015 Original Android Development] christopherrrg:
Loving this build, pretty good as my daily driver!
[Moto G 2015 Original Android Development] spiked_mistborn:
Same issue here on the surnia-caf-0.5 build. Portable storage mode work fine though.
[Moto G 2015 Original Android Development] theincognito:
Thanks! I will try it out :)
[Moto G 2015 Original Android Development] Jamesnewton1406:
when i install this Rom it keeps on rebooting, and it can't get pass the setup screen
[Moto G 2015 Original Android Development] theincognito:
[MENTION=3445372]scritch007[/MENTION] : It didn't work. The dual sim problem persists even with the Titan RIL blobs on CAF 6.0 Osprey :(
[Moto G 2015 Original Android Development] christopherrrg:
It has random reboots I think when the RAM reaches close to maximum use. For a WIP though it's great. The system mounts for root and I haven't found a solution for cm13 at all. Layers are nice too, obviously not as thorough as CM themes but I hope this rom goes stable enough that our device has AOSP. Keep up the good work!
[Moto G 2015 Original Android Development] JoshinPl:
What about the project? There are no updates for a long time, will it be continued or its time to switch to albertos thread with cm13? It would be nice to feel the caf speed on our devices :)

Enviado desde mi MotoG3 mediante Tapatalk
[Moto G 2015 Original Android Development] hp420:
I think [MENTION=3445372]scritch007[/MENTION] is probably just waiting for official source.
[Moto G 2015 Original Android Development] scritch007:
No I don't think a week is that long. And my child is sick so I'm a bit tired.

Working on the Lux version so that I can try to fix the dual sim issue at the moment. So surnia/osprey/lux will get a new version at the same time.
[Moto G 2015 Original Android Development] christopherrrg:
Hope child gets better bud! My boy was just sick himself last week. :(
[Moto G 2015 Original Android Development] hp420:
I agree, a week is not that long. Taking care of your loved ones absolutely comes before a trivial rom update. You do you, bro, don't let us get in your way! :D
[Moto G 2015 Original Android Development] scritch007:
aosp-caf-0.22.zip

Dual sim support (Couldn't test it since I don't have a dual sim Moto G3 phone, but on lux I can make some calls in dual sim)

Fix an issue with wifi bootloop after installing gapps (Can't really tell the trigger, but it's fixed )

I didn't have time to test this version on osprey nor surnia, so you can wait for me to test it or try it yourself and report any issue.
[Moto G 2015 Original Android Development] theincognito:
No offense,but why did you name this new release as 0.17,when the previous one was 0.21? Its gonna be confusing
[Moto G 2015 Original Android Development] scritch007:
oops renaming it

Renamed to 0.22
[Moto G 2015 Original Android Development] theincognito:
Saw it. :) Will test it on my dual sim phone and will let you know about the results. BTW,opengapps or Banks gapps?
[Moto G 2015 Original Android Development] DarkElf:
Waiting for ur review...as i have limited data so cant test myself...thanks
[Moto G 2015 Original Android Development] theincognito:
Its not booting for me!

I tried 4 methods:

1. Flashed ROM and gapps, wiped dalvik & cache and rebooted.

2. Flashed ROM only, wiped dalvik & cache and rebooted.

3. Flashed ROM and gapps, didn't wipe dalvik & cache and rebooted.

4. Flashed ROM only, didn't wipe dalvik & cache and rebooted.

I got the same end-result for all these 4 methods: Stuck at bootlogo. :(
[Moto G 2015 Original Android Development] valkaizer2594:
same here stuck at motorola logo

using moto g 2015 indian variant
[Moto G 2015 Original Android Development] scritch007:
Ok sorry for that... I'll test it and check what is going wrong.

Thanks for the feedback
[Moto G 2015 Original Android Development] androidbaba:
Hey can u try with latest squid or blu kernel may be we will get lucky ☺?
[Moto G 2015 Original Android Development] scritch007:
Yes this is only a boot.img issue. I booted it with the 0.21 version and it's fine. Actually I switch to squid marshmallow branch, but there must be something that went wrong. I'm investigating.

If someone is willing to test, reflash 0.22, boot with 0.21.

3 things are changed, init, dtb and zImage

For dual sim device:

adb pull /system/build.prop

in the build.prop add this line at the end of your file

ro.telephony.ril.config=simactivation

then push it back

adb shell mount -o remount,rw /system
adb push build.prop /system/
[Moto G 2015 Original Android Development] theincognito:
Can you post the boot.img file?
[Moto G 2015 Original Android Development] scritch007:
aosp-caf_0.23.zip

Fixed boot. Kernel is now using squid2 repository directly. But had to use the osprey-stock_defconfig so that it boots.

Dual is reported as partially working for surnia. Link to surnia's post I think that we will most probably have the same issues.
[Moto G 2015 Original Android Development] hossman:
Very nice!

Running great on CDMA virgin mobile.

No fc's yet, everything seems to be working so far...

Thanks for this!

One thing I would like is advance power menu.. Haven't tried xposed yet but I'm sure I will by the end of the day
[Moto G 2015 Original Android Development] scritch007:
Agreed, haven't have time to look into this, but I'll definitely add it :).

Did you have something special to do to get it working on VM? on surnia we are having issues with the CDMA devices. I'll probably have to check with alberto what he did to make it work in cm12.1 if you didn't do anything special
[Moto G 2015 Original Android Development] hossman:
I replaced apns-config.XML before first boot.

https://www.dropbox.com/s/96wnvah13ilbt9d/apns-conf.xml?dl=0

That's it!
[Moto G 2015 Original Android Development] scritch007:
Good to know. I'll try to work on this for surnia then.
[Moto G 2015 Original Android Development] hossman:
Also I should add when i replaced that APN service came up as us cellular, but all services were working through virgin mobile...

Adding these to build prop changed to carrier description to virgin mobile

ro.cdma.home.operator.numeric=311490

ro.cdma.home.operator.alpha=Virgin Mobile US

ro.telephony.default_network=8

telephony.slteOnCdmaDevice=1
[Moto G 2015 Original Android Development] androidbaba:
confirmed out going calls and sms not working on sim 1 in laatest version
[Moto G 2015 Original Android Development] hp420:
Sony submitted a suggestion to the issue tracker for exactly this, and Google looks like they're finally actually considering it.

Here's the request and code submitted by sony.

https://code.google.com/p/android/issues/detail?id=195842

https://android-review.googlesource.com/#/q/I0cdc80eb44b8d42f4d30007d6c03dfc2cd24e7d4
[Moto G 2015 Original Android Development] christopherrrg:
Read that as well! Thought it wasn't going to happen, glad it may now!
[Moto G 2015 Original Android Development] hp420:
I've submitted this request countless times, and every single time I have they close it immediately. This time not only is it staying open, they reopened and merged my original request with the Sony dev's. Together we have over 200 stars so far. I really hope they do this bad!! If they do, I think it'll be one of those things that everyone finds out about within a week, and they're forced to put it right in the open, rather than hiding it behind developer options.

This is good for absolutely everyone. I just don't understand how Google doesn't see that.
[Moto G 2015 Original Android Development] scritch007:
Actually code seems to be already available https://github.com/boulzordev/andro...mmit/35621363cf4028c32b9312f38c4f62bfe89481af

I'll try to activate it for next build
[Moto G 2015 Original Android Development] mlara113:
Hello, this rom works in Moto 1 G XT1541 8GB RAM ?
[Moto G 2015 Original Android Development] theincognito:
Yes.
[Moto G 2015 Original Android Development] scritch007:
aosp-caf-0.24.zip

Didn't have time to test it but this should include the following fixes. I might be off for a few days again, but I'll definitely keep on workin on this ROM.

The google webview

"Maybe the reboot option"

The time.sleep for the camera3 application that was posted somewhere in here

Let's hope exfat sdcard working too
[Moto G 2015 Original Android Development] androidbaba:
thanks for your hard work

is out going calls fixed in this build??

edit1:- out going calls sms not fixed/incoming calls working

edit2:-sd card working perfectly

edit3:-reboot option is there :D

edit4 :-no native browser present
[Moto G 2015 Original Android Development] scritch007:
thanks for feedback, remember to say which device you are on.
[Moto G 2015 Original Android Development] androidbaba:
I am on xt 1550 Indian dual sim version
[Moto G 2015 Original Android Development] hossman:
1548 virgin mobile

Working great!

Flashed ROM, gapps

Mount system and flashed APN fix.

And yes reboot option is there:thumbup::thumbup::thumbup:
[Moto G 2015 Original Android Development] androidbaba:
tested thoroughly

supersu2.60 works perfectly

xposed and gravitybox working perfectly

tried flashing cm13 blu kernel to check for out going calls but lost my wifi

i even tried putting my sim to 2nd slot to check for outgoing call that didnt help either

trying to set network to 2G in network setting give com.process.phone a fc

hope it helps

thanks again for your continued efforts
[Moto G 2015 Original Android Development] christopherrrg:
Maybe idea for native browser? To go with CAF? :P

(CAF Chromium Browser)

http://caf.notphenom.com/
[Moto G 2015 Original Android Development] Yousvel:
Out going call

Does the out going call issue affects all variants?

Edited: No out going call issue on my xt1540 1G. All is fine!
[Moto G 2015 Original Android Development] SirSoviet:
Great progress so far, would have been better if the installation of OpenGapps wasn't broken :/
[Moto G 2015 Original Android Development] Yousvel:
It may be a bad download of open gapps. I did not have problem installing open gapps with this rom.
[Moto G 2015 Original Android Development] SirSoviet:
Oh, I'll try other versions of OpenGapps then. I tried Mini, but it hanged on the post installation process. The exact same package worked on CM13 however.
[Moto G 2015 Original Android Development] SirSoviet:
Ok, I tried all versions of OpenGapps and all of them were stuck on the unmounting process. BaNkS Gapps worked perfectly fine though.
[Moto G 2015 Original Android Development] Yousvel:
I am glad you found the way out.
[Moto G 2015 Original Android Development] SirSoviet:
Not sure why, but BaNkS Gapps is failing to install.

E:Error executing updater binary in zip

Same with all the other Gapps. I think I'll just stay on CM13.

XT1541

Edit : Never mind, installation was a success for BaNkS, not sure about other Gapps. Installed 12-9 instead of 12-13 this time. The problem was because of one of these 1. Because I used the latest version of Gapps 2. Because I had 7-Zip installed instead of WinRAR 3. Because one of the files I had downloaded was corrupt
[Moto G 2015 Original Android Development] Yousvel:
I used open gapps with this rom and was flashed successfully. I use twrp r4
[Moto G 2015 Original Android Development] android1111:
Thank you for this rom; it appears incredibly faster than cm
[Moto G 2015 Original Android Development] skooter32:
Would like to test this ROM download links pleased for the zip and boot.img

Edit what zip is it there are a few
[Moto G 2015 Original Android Development] Yousvel:
Choose the latest one
[Moto G 2015 Original Android Development] skooter32:
Ok so flash zip in recovery then fastboot img? Or other way round?
[Moto G 2015 Original Android Development] Yousvel:
Just flash in recovery, flash gapps then reboot. That's all!

Make sure you make a full wipe before you flash it.
[Moto G 2015 Original Android Development] skooter32:
OK cool 1 last thing which zips the newest?
[Moto G 2015 Original Android Development] Yousvel:
0.24 is the newest.

Please remember to press my thanks button instead of saying thank.