yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] jackk11111:
I can't browse microsd card with es file explorer and others file explorer

Inviato dal mio MotoG3 utilizzando Tapatalk
[Moto G 2015 Original Android Development] umeshxda:
[MENTION=3445372]scritch007[/MENTION] here is a workaround for no ringtone in oneplusone... Hope it works here too!

http://xdaforums.com/showthread.php?p=63456479
[Moto G 2015 Original Android Development] ZeroVirus:
bro it is pure android 6.0???when that two bug solved???
[Moto G 2015 Original Android Development] jackk11111:
My camera works! Only ring tone and microsd bug.

Inviato dal mio MotoG3 utilizzando Tapatalk
[Moto G 2015 Original Android Development] SirSoviet:
The ROM is getting close to being suitable for daily use, keep up the great work :)
[Moto G 2015 Original Android Development] Versatil2010:
So I flashed this a few minutes ago.

Camera works, was able to take a picture.

Sdcard is being read, but no file explorer whatsoever to test if you can go in.

No SMS app whatsoever.

Service works, (MetroPCS)

Internal storage cannot be mounted while phone is booted. But it did while in twrp.

And about twrp, it erases recovery so be prepared to flash again.

Can't remember anything else at the moment, I post anything else later.

Oh, why the hell does it look like they merged jellybean and lollipop? Wallpaper is from jellybean if I'm not mistaken and so is the launcher. I wasn't able to notice any big BIG difference.
[Moto G 2015 Original Android Development] HelpMeruth:
Flash gapps.. That launcher is just default
[Moto G 2015 Original Android Development] firefoxjds:
i tried substituting

I tried substituting a file i found in hardware/qcom/diplaycaf/msm8916/liboverlay/overlayRotator.h by:

#include <linux/msm_mdp.h>

#include <<overlayRotator.h>

#include <sys/ioctl.h>

#include <utils/Log.h>

#include <utils/Trace.h>

#include <errno.h>

#include "overlayUtils.h"

#include "overlay.h"

in mdwrapper.h andoverlayUtils.h

It still says,

compilation terminated.

build/core/binary.mk:706: recipe for target 'out/target/product/osprey/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o' failed

make: *** [out/target/product/osprey/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] Error 1

In file included from hardware/qcom/display-caf/msm8916/liboverlay/overlayRotator.h:35:0,

from hardware/qcom/display-caf/msm8916/liboverlay/overlayRotator.cpp:20:

hardware/qcom/display-caf/msm8916/liboverlay/mdpWrapper.h:41:29: fatal error: <overlayRotator.h: No such file or directory

#include <<overlayRotator.h>

^

compilation terminated.

build/core/binary.mk:706: recipe for target 'out/target/product/osprey/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayRotator.o' failed

make: *** [out/target/product/osprey/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayRotator.o] Error 1

I dont know how to guide it to the file so it finds it
[Moto G 2015 Original Android Development] firefoxjds:
I think that I found the problem, I hope it works.

I was missing the include linus folder contents in my out directory, I'm rebuilding with the contents included now, hopefully this works .
[Moto G 2015 Original Android Development] firefoxjds:
Yes!!!

I fixed it by recompiling the kernel
[Moto G 2015 Original Android Development] firefoxjds:
#include <linux/msm...h> //flags

I thought I fixed this yesterday but I was wrong. The audio-caf display make files are asking for variuos:

#include <linux/msm.....h> //flags

I have all of these files under kernel/include/linux/msm...h

But the make files aren't seeing them

Maybe its litterally looking for them at linux/ msm in which case I can try copying the file to my build.

Maybe because the device/motorola/osprey/ boardconfig.mk was origonally looking for the kernel under kernel/motorola/ msm8916: in that case in meed to put include/linux/msm....h inside a newly made motorola/msm8916 folder inside my kernel folder.

But that is another thing that is confusing me, its asking for:

#include <linux/msm....h> //flags

My folder is kernel/include/linux/msm...h

Do I rewrite it to say:

#include <include/linux/msm...h> //flags

Or maybe

#include <kernel/include/linux/msm...h> //flags

I could really use some help on this. Also I had posted yesterday that I had ficed this and I was mistaken. For anyone who is googling a similar error looking to fix their problem, I'd like them to find help and not be misled by my mistaken fix. If any of my ideas work to fix this I will post the answer. If they don't work than I could really use some help. Hopefully someone out there has encountered this and has found a solution.
[Moto G 2015 Original Android Development] firefoxjds:
Simplified question

Building

In the file hardware/qcom/display-caf/msm8916/liboverlay/overlayMdp.cpp

Where is it looking for

#include <linux/msm_mdp.h> //flags

Because I'm getting: fatal error: no such file or directory.

I have the file in kernel/include/linux/msm_mdp.h

Its not seeing the file and I can't seem to figure out where to put it so it does see it.

Does anyone know?
[Moto G 2015 Original Android Development] christopherrrg:
Yessir sorry I've been away from my PC for the weekend. I believe you may need to add qcom libs.

https://github.com/canadianchrisg/android_hardware_qcom_media

(Used my github but forked from cyanogen, on my git I've also got qcom/common and qcom/sepolicy.)

Also if you've already included them ignore me. :P
[Moto G 2015 Original Android Development] firefoxjds:
I did find a soltion after all

I do have those files from your github I did find the folder after all. It was in out/target/product/osprey/obj/ include & KERNEL_OBJ/usr/include[(this one was missing)and bothe needed to be updated with the contents of kernel/ include

There's a kind of overlapping of files here where cyanogenmod files mix with aosp files, it tookme almost three days to figure out. Now I'm happily attempting to solve other errors almost there.

I do have those files from your github :) I did find the folder after all. It was in out/target/product/osprey/obj/ include & KERNEL_OBJ/usr/include[(this one was missing)and bothe needed to be updated with the contents of kernel/ include

There's a kind of overlapping of files here where cyanogenmod files mix with aosp files, it tookme almost three days to figure out. Now I'm happily attempting to solve other errors :) almost there.

---------- Post added at 10:44 PM ---------- Previous post was at 10:14 PM ----------

Now I'm stuck at the file kernel/include/linux/stddef.h and a few others. The all seem to have missing identifiers or incorrect punctuation. I've tried importing them from other kernels but they are all exactly the same which is weird cause its reading them as incorrect
[Moto G 2015 Original Android Development] Yousvel:
Which version of this rom is more stable? v86 or v87? or any other?

Thanks in advance for helping to find out
[Moto G 2015 Original Android Development] rwxr-xr-xis:
Both, v87 is the newest
[Moto G 2015 Original Android Development] Yousvel:
Is v87 still CAF based?
[Moto G 2015 Original Android Development] rwxr-xr-xis:
Idk
[Moto G 2015 Original Android Development] odysseus84:
[MENTION=3445372]scritch007[/MENTION] Is this ROM still alive? I mean security patch level says February...
[Moto G 2015 Original Android Development] nicedream0601:
I really like this ROM, but I do wish the developer would respond to questions every once in a while.
[Moto G 2015 Original Android Development] christopherrrg:
Development is second to peoples main lives.

I believe scritch has been taking care of an ill relative. I'm sure he will get back to this when he has a chance to respond.
[Moto G 2015 Original Android Development] scritch007:
Hopefully nobody is sick anymore, but indeed I have life outside XDA, I do answer to questions, when I think they are relevant enough.

I already answered in the Moto X Play forum the question regarding the rom status. Here are the link because I believe you should check them too.

http://xdaforums.com/moto-e-2015/orig-development/caf-6-0-surnia-t3250165

http://xdaforums.com/moto-x-play/orig-development/caf-6-0-1-lux-t3294867

The rom is still caf based, Kernel, HAL and framework AV are from CM13. Blob will also be taken from TheMuppet repository.

As explained in the X Play forum, the CAF version doesn't include any fix after the one from february, so I didn't think building a rom for increasing a version number was of a real need. I'll build one when I'm in the mood to do it or CAF includes the security patches. As far as I know there isn't any major issue with this rom.
[Moto G 2015 Original Android Development] firefoxjds:
I have a question regarding building

no such file bt_nv.h

hardware/qcom/bt/libbt-vendor/src/bt_vendor_persist.cpp is looking for bt_nv.h and it cant find it. Do you know how to solve this?

Thankyou, hope all is well :)
[Moto G 2015 Original Android Development] firefoxjds:
Do you know if kernel/user/include is supposed to go in osprey/obj/include? I'm finding it a little confusing.

---------- Post added at 08:51 PM ---------- Previous post was at 08:39 PM ----------

It just seems unclear, I'm worried that important things won't make it into the build if I don't add them there, but maybe they get added elsewhere. So far the only files I'm putting in there are files that the build is asking for. The problem with putting all includes files in there is some create havoc in bionic unless I rename them, but If I add a whole folder at once, it is had to tell sometimes which file is creating a conflict.

---------- Post added at 08:55 PM ---------- Previous post was at 08:51 PM ----------

I was meaning kernel/ usr/include into out....osprey/obj/include
[Moto G 2015 Original Android Development] Vink67:
Hello, can someone is able to explain what is CAF ? I know it's not base on AOSP but what it is ?

Thanks
[Moto G 2015 Original Android Development] nicedream06:
Caf is a branch of android source code from Code Aurora Forums. It has optimizations for Qualcomm chipsets.
[Moto G 2015 Original Android Development] AudioCreaper:
An updated build of this would be nice, all the other roms out there are too feature heavy. Hope you would consider.
[Moto G 2015 Original Android Development] SirSoviet:
It doesn't need an update though, it's basically vanilla Android from Nexus devices, coupled with CAF modifications. And CAF decides whether the security patch should be updated or not, so there really isn't anything left to update.
[Moto G 2015 Original Android Development] firefoxjds:
Building Aosp (DityUnicorns) Using these device (Osprey) from the Caf6 manifest. I'm super stuck in my build, wondering if you guys would mind lending a hand to solve the error. I've been stuck for weeks. Really appreciate the caf ROM and every thing that I've learned from the caf source as well :)http://pastebin.com/PHWhmT6F
[Moto G 2015 Original Android Development] m_loaiza:
I flash this rom and open gapps. Befor i make backup of my rom but now can't access to recovery. Sorry my english
[Moto G 2015 Original Android Development] :
Turn phone off and then long press power and volume down (I think)
[Moto G 2015 Original Android Development] armedandmannered:
Building using the Boulzordev osprey device

I am building using the boulzordev osprey device and the msm8916-32 device folder combined as is in the source code. I have gotten my build to build all the way through. I am using osprey_defconfig prebuilt kernel/squid/msm8916.

For some reason whe I flash the final ota, it tell me that I have no system, and that it failed to load the kernel. Trying various things like removing the osprey custom boot image, and just using the qcom generate_extra_images.mk or vice versa, but I keep getting the same problem with the boot.img. Have you encounterd anything similar building caf-6? I asking you because you used the same files to build. Please let me know anying on this matter. Thanks by the way! Love the Rom :)
[Moto G 2015 Original Android Development] armedandmannered:
Requirements for Kernel

Do the CM files require the kernel to be compiled arm-linux-androideabi- as the cm board config suggests? Ive been compiling arm-eabi...dunno if it makes a difference?
[Moto G 2015 Original Android Development] Vink67:
I search on web but don't find a real good explanation about CAF. I'm old I try to understand how thing work. Can someone nice can explain to me what difference between CAF, AOSP, AOKP, Omni...

Thx

Sent from Custom MotoG3 using XDA-App
[Moto G 2015 Original Android Development] Acidfire.TM:
I was a bit confused at first too, turns out I found more info on CAF looking through forums and inadvertently managed to read enough snippets of information to patch together the following explanation.

Caf is code Aurora forum and it's your good friend If you

Use any SOC that's remotely new, and has a Qualcomm chip inside

It's Qualcomms hardware source code repository

Used by anyone from OEM's to xda devs. basically to provide updates to hardware controlling code and optimizations/

Drivers and patches for android.

So caf based simply means: it's heavily based on these CODE AURORA optimizations usually for better performance,

And Hardware compatibility for Qualcomm based SOC's

These "CAF" based ROMs are usually more up to date with

Qualcomms most current drivers and patches.

But may be less current with AOSP specific things. Because of heavy reliance on CAF for compatibility & hardware.

I personally have always gone with CAF based Roms

As they do provide better performance in some areas.

And for a relatively new SOC (8916) I feel it benefits

From being constantly synced with newer CAF drivers and patches.

Infact the chromium browser is "optimized for snapdragon" and is a

CAF project. So the optimizations to android are similar

To this,I guess in theory.
[Moto G 2015 Original Android Development] Vink67:
Thanks for explanation, ?

Sent from Custom MotoG3 using XDA-App
[Moto G 2015 Original Android Development] valkaizer2594:
anybody using this rom on indian dualsim variant? 1550
[Moto G 2015 Original Android Development] veloz46:
Hi [MENTION=3445372]scritch007[/MENTION],

There is a more recent patch update.

He believes that it will be updated with the new patch?
[Moto G 2015 Original Android Development] Dasaviour_official:
Tried 3 different GApps Packages all of them give me Force closes....
[Moto G 2015 Original Android Development] HelpMeruth:
Hmm, just wait a week or 2. This is still a very buggy ROM
[Moto G 2015 Original Android Development] scritch007:
I had some force close with gapps when you change language of the phone. It was working fine in english tough.

I don't flash gapps very often since I'm always flashing and wiping everything, so can't say anything about that.

That camera/sdcard issue is very strange. I would rather have a working camera and non working sdcard. Instead I have a browsable sdcard and a freezing camera or FC camera...

I'll try to reflash this 0.7 version with a full wipe.

I looked at One Plus fix for audio, but we are already using 5.1 mixer_paths.xml file. I saw that audio default value were set to true in 5.1 and now are set to false, so this might be a good start :).
[Moto G 2015 Original Android Development] Versatil2010:
Hope everything is going well.

Sent from MotoG3 XT1540
[Moto G 2015 Original Android Development] scritch007:
I made some changes and I have ES Explorer that can browse the SDCard, but still no camera working for me.

The computer still doesn't see any SDCard or internal storage.

Did you use the stock camera? or did you install something special, I keep on having some crash after each picture I take.

Looking at the sound ATM? but having hard time with that too...

Moved some code, so that some of the patches I made are now done the CM way.
[Moto G 2015 Original Android Development] Versatil2010:
It was stock camera, I did not flash gapps at the time of test.

Sent from MotoG3 XT1540
[Moto G 2015 Original Android Development] HelpMeruth:
I would be very Nice if this ROM becomes stable and usable for daily use in a couple of weeks :)
[Moto G 2015 Original Android Development] Versatil2010:
We don't know exactly how long it'll take but we'll get there. Patience is the key and 6.0 basically just came out. The best we can do is provide feedback.

Sent from MotoG3 XT1540
[Moto G 2015 Original Android Development] HelpMeruth:
Wait? it is booting without special boot.img :D i just tried it and worried about that zip.md5sum thing but it just boots!
[Moto G 2015 Original Android Development] scritch007:
Well it has been removed from the "install guide" in the first post, and the changelog in the Here does say that you don't need to flash it anymore :). But good find ;)

A little ETA:

* Sound for music now working

* Camera picture now working

* Sdcard seen by ES Explorer but still not seen correctly by the PC

* Still no sound in ringtone, and buttons press (this is related to a vorbis decoder not being instantiated)

New version tomorrow I guess.
[Moto G 2015 Original Android Development] tember1214:
Tomorrow I'll be flashing this!! Can't wait. Awesome job [MENTION=3445372]scritch007[/MENTION]
[Moto G 2015 Original Android Development] Versatil2010:
Apparently there's a soak test for us G 3rd gen. This might be of help?

Sent from MotoG3 XT1540
[Moto G 2015 Original Android Development] scritch007:
Yes we'll be able to update blobs, but I think we can have it all working soon anyway (except dual sim) with L blobs.

Found the issue for ringtone too. Making a new build, hope to be able to have a nearly fully working version in a few hours.
[Moto G 2015 Original Android Development] Versatil2010:
Awesome news! Thanks for your work!

Sent from MotoG3 XT1540
[Moto G 2015 Original Android Development] Jamesnewton1406:
When like 2 to 6 hours? Or the next day

---------- Post added at 02:48 AM ---------- Previous post was at 02:47 AM ----------

And thanks for your hardwork
[Moto G 2015 Original Android Development] HelpMeruth:
Thanks for the work!! I think if the new build is out, it's ready for daily use :)

---------- Post added at 06:00 AM ---------- Previous post was at 05:59 AM ----------

No ETA ;) just hope it will arive soon

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

Sorry i didnt read the changelog :p i wanted to see the new version

And i saw that wifi was working so i flashed it as quickly as possible.
[Moto G 2015 Original Android Development] scritch007:
aosp-caf-0.12.zip

Sdcard mounting properly (didn't double check)

Sound working

Camera can now take pictures (recording not working)

Upload in progress
[Moto G 2015 Original Android Development] creative21:
I think blu_stark kernel works with dual sim, someone should try it with this :rolleyes:
[Moto G 2015 Original Android Development] ZeroVirus:
not all the thing working still??
[Moto G 2015 Original Android Development] theShadow800:
I flashed the latest build with blu_spark kernel but it still doesn't detect the SIM on the Indian Variant, I guess will just have to wait till its fixed.
[Moto G 2015 Original Android Development] jackk11111:
All OK in xt1541 [emoji12]
[Moto G 2015 Original Android Development] JackSparrow17:
Both sim not detecting? And which kernel to flash the custom one or the stock one?
[Moto G 2015 Original Android Development] tember1214:
Keep getting download failed :(
[Moto G 2015 Original Android Development] theShadow800:
Yeah.
[Moto G 2015 Original Android Development] scritch007:
Yes sorry I though I had written it, but indeed dual sims is not working. I don't think any dual sim device is working on cm13 yet. And for now I only have single sim devices to test on.

Regarding the kernel, you will need a kernel that has some mandatory commits. The kernel I use is a fork of Squid kernel, but it lacks the latest commits. This kernel will have to use the non intrusive system for the ramdisk so that it doesn't flash it's own ramdisk.
[Moto G 2015 Original Android Development] theShadow800:
Do you think that right now I can convert my device to a single sim variant? Like I remember on the first gen Moto G we could convert to the Google Play Edition with which non dual sim roms would work, but i would just get one sim. So like can i convert to a single sim variant?
[Moto G 2015 Original Android Development] androidbaba:
can anybody else confirm if its detecting sim albeit single sim in indian version 1550??
[Moto G 2015 Original Android Development] tember1214:
Anyone else having download failed or is it just me?
[Moto G 2015 Original Android Development] theShadow800:
Downloaded just fine for me
[Moto G 2015 Original Android Development] tember1214:
Any mirrors? Just won't download for me
[Moto G 2015 Original Android Development] creative21:
use UC browser's cloud download. :eek:
[Moto G 2015 Original Android Development] tember1214:
got it downloaded and flashed but wont let me sign into google at all

---------- Post added at 08:22 PM ---------- Previous post was at 07:34 PM ----------

OK ha-ha sorry guys. Got it all set up. Any reason why it won't let me use Google launcher as default? And anybody had success with now on tap?
[Moto G 2015 Original Android Development] christopherrrg:
I know this is silly, but where are the downloads?

Edit : found on binaries link.
[Moto G 2015 Original Android Development] bhavstech:
[MENTION=3445372]scritch007[/MENTION]

great work brother!

I appreciate your efforts!

just a request have you given cm13 a shot?

i guess it wont be difficult after fixing so many issues now that we have have a good aosp sources!
[Moto G 2015 Original Android Development] christopherrrg:
Anybody have a working gapps? I flashed the one from the link but when I sign in, it requests sign in through email app and not the setup app? Seems a bit phishy.
[Moto G 2015 Original Android Development] HelpMeruth:
It worked for me, login via setting/accounts/create new google account

I will test it again later on the day
[Moto G 2015 Original Android Development] christopherrrg:
Found a working gapps base that fixed my issue, if you would like a link let me know. :)
[Moto G 2015 Original Android Development] HelpMeruth:
Just post it here for everyone ;)
[Moto G 2015 Original Android Development] GuilleBetico96:
This GAPPS are working:

http://downloadmirror.co/android/sp
[Moto G 2015 Original Android Development] theShadow800:
Hey I just saw this. http://xdaforums.com/moto-g/development/caf-aosp-aosparadox-project-1-0-t3135626 and http://xdaforums.com/showpost.php?p=63588359&postcount=703

On the Moto G gen 1 they managed to get a workaround to make dual sim work. You could talk to them about this.

Cheers!
[Moto G 2015 Original Android Development] eng.stk:
You guys can use Banks gapps http://download.dirtyunicorns.com/files/gapps/banks_gapps/

For remove the FCs, just turn on the permissions on google services http://xdaforums.com/google-nexus-5/general/fix-install-google-gapps-stock-build-t3226205

We are working in a fix out of the box, we'll see how it goes.
[Moto G 2015 Original Android Development] tember1214:
Does now on tap work?
[Moto G 2015 Original Android Development] HelpMeruth:
I will test it soon, i will report back
[Moto G 2015 Original Android Development] christopherrrg:
How to enable OEM unlocking? The switch fails to revert to on, when you click cancel the switch stays but does not function. On this ROM I cannot access recovery.

EDIT - reflashed TWRP after ROM, everything OK no binary updater errors.

---------- Post added at 09:19 PM ---------- Previous post was at 08:59 PM ----------

Hehe eng beat me too it.
[Moto G 2015 Original Android Development] HelpMeruth:
I got an error while flashing it..

error executing updater binary in zip
[Moto G 2015 Original Android Development] christopherrrg:
Got that also, here is the other package that I found 'phishy' but it is just barebones.

https://www.androidfilehost.com/?fid=24052804347844834

edit - I noticed the issue is actually the zip, you will have to re flash TWRP to have it functional again, after flashing all GAPPS packages shared work for me, and when FC I used eng.stk method.