yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Android Development] iiWoodstocK:
The Moto Camera from the G4 actually only works on Marshmallow.

It's different from the old Motorola Camera, in that Moto Camera has professional mode (needs build.prop changes to "ro.product.name" to "=athene" to make it appear, slider for macros crashes app, but exposure, white-balance and ISO work), a new slow-mo (probably needs other tweaks, I couldn't get that to show), and the option for a shutter button. I noticed the Moto Camera is that all the other video options aside from 1080p, fail (some microphone issue), and the double twist gesture doesn't work on stock (works on CM/RR probably MoKee since the gesture is part of the ROM).
[Moto Maxx Android Development] gumbi2647:
This is what I get when I click on those (yours and his)
[Moto Maxx Android Development] ChazzMatt:
Are you using an app? Try on a PC. Doesn't open for me, either, on my phone using Tapatalk, for some reason.

Yet opens on my PC Chrome browser just fine!

I had not tried on my phone using Tapatalk app when I first posted. I was using my desktop computer browser.
[Moto Maxx Android Development] iiWoodstocK:
XDA Labs opens the thread like it should.
[Moto Maxx Android Development] gumbi2647:
Yes I am using the app so that must be the problem. I knew I wasn't going crazy
[Moto Maxx Android Development] monza1412:
do you have a link for that?
[Moto Maxx Android Development] syphix:
Easy to find on apkmirror.com:

HTC Camera:

http://www.apkmirror.com/apk/htc-corporation/htc-camera-new/htc-camera-new-8-10-763406-release/

HTC Gallery:

http://www.apkmirror.com/apk/htc-co.../gallery-htc-corporation-9-51-755029-release/
[Moto Maxx Android Development] monza1412:
Thanks, I thought it was specifically moded to work with other than htc devices :good:
[Moto Maxx Android Development] gumbi2647:
Which variant should I try?
[Moto Maxx Android Development] syphix:
I'm using the latest version of each. Love it.
[Moto Maxx Android Development] NepoRood:
Not really that BIG a deal, but...

I've noticed, since upgrading to RR 5.7.0, my Ambient Display randomly stops working :confused:

I like the fact that I can wave at my phone to check for notifications without having to pick it up and push the power button :good: (I don't use notification LED)

Has anyone else noticed/experienced this? I don't have anything special installed, I'm stock CM kernel and not using Xposed framework. A full reboot fixes the problem, for a time, but then it starts to "not work" again (seems like when the battery gets low, but, yet to confirm for sure)

Regards,

Nepo
[Moto Maxx Android Development] iiWoodstocK:
Yep. Clean flash of RR, too. I didn't have this issue 2 RR updates ago (I spent some time not on RR so I've skipped a couple versions before ending up on the latest).

If I look closely at the IR sensors, they're flickering a lot. When they're working normally, they're supposed to be lit solidly, no flickering. It doesn't happen right away, either. But I've always noticed it stopped working after my phone had been asleep for a long time, but not overnight oddly enough. Only thing I've found to fix it is a reboot.
[Moto Maxx Android Development] NepoRood:
It didn't happen in RR 5.6.9, that I can remember anyway, lol. I always do a clean flash, and I'm glad to know it's not just my device :D

Maybe it'll get lined out in future updates, next time it "quits" I'm going to try and restart "SystemUI" ("Soft reboot" doesn't work) and check my battery level. Not sure if it has anything to do with battery or not, but, seems like I'm at or under 30% when it quits working...
[Moto Maxx Android Development] fgl27:
That is new for me, as I used the led I never notes that...

Going to check to see if I can reproduce to understand... :good:
[Moto Maxx Android Development] NepoRood:
Awesome, Thank You for your work!

As I said before, it's not "a big deal", minor actually, in the grand scope of things you've already done. I'm on a full charge right now, and my "overnight" is around 5 hours (I work for a newspaper and am "on call" 24/7) but will be paying close attention to battery this time (may not be the issue, but I'm going to try and see if it has anything to do with it ;) )

Thanks Again,

Nepo
[Moto Maxx Android Development] fgl27:
Ok let me know if you find something, I'm using it now.

And BTW two tings...

I work before in a 24/7 call when I work with telecommunication, those telecom machines can never stop working, that can be very stressful, watch out for your health.

And github display to me your fork, check OP I have change device tree repo.

:good:
[Moto Maxx Android Development] fgl27:
Not a ROM update again :silly:

I'm very busy and will be like this until next two weekends, I'm on a no broadband land :eek:

Doing some changes but can't push a ROM zip, when I can I will push a better version of the OS....

I was doing some test, I find out way the Moto voice app doesn't install on custom ROM, is because it is already installed...

We have Nexus 6 version of the app on custom ROM that CM dev included, and that app have the same android permission and that cause the problem when installing...

The app name is always on voice is it is on the folder system/priv-app/TriggerEnroll

If it is removed then Moto voice install, have no ideai if it will work, I have install it but I don't have a working Moto app or broadband to download it and test.

To that app to work is need to have the Moto folder that is inside system/vendor on stock ROM

I have a zip of 5.1.1

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

But may be better to copy the one from soak 4 so if you have soak 4 TWRP backup copy that folder from it paste on the vendor folder give it folder 0755 permission and 0644 (or great) to files there is a lot of folders and files on that moto folder (the app es file manager can paste the folder and it gives 0755 or 0777 to new files, the is not need to give it 0644 just give the folder 0755 and it must be accepted by the system) after paste and permission reboot...

Win rar can open the system.ext4.win file of the TWRP backup, the vendor folder in soak 4 backup is on the system.ext4.win001

have fun... I will work on this when I have more time on the end of this month :good:
[Moto Maxx Android Development] lkthomas:
It will be great if you could make Moto Display working, I actually like that instead of ambient display.
[Moto Maxx Android Development] gangrenius:
So basically he's saying uninstall always on voice then try installing moto voice?
[Moto Maxx Android Development] immadeofpixels27:
So to clarify, the .zip you linked to should be extracted into /system/vendor/moto-audiomonitor? Oh, it's flashable. :p sorry

Also, would someone be kind enough to upload those files from soak 4?
[Moto Maxx Android Development] immadeofpixels27:
With the Moto Voice app installed and the supporting files from stock LP, I can see the Voice option in the Moto app, and the Moto Voice app, but clicking either one has no result. Also, when I try to enable the "Let Moto learn" option in Moto app settings, it asks for my email and then fails back to the settings menu of the app. Might that also be part of the problem?
[Moto Maxx Android Development] kitcostantino:
well, i actually think the Htc camera takes better pictures. it could be placebo, but the pictures seem more focused and crisp. The gallery app works well too. I like the stock Moto ones also. Seeing this work makes me wonder what, if any, camera/gallery apps work as well as or better than stock Moto. Has anyone tried a bunch of them? If so, what alternative apps work well?

Htc, Moto
[Moto Maxx Android Development] RLShiftyDoggit:
Moto display is really tricky I've been trying for a long time to get it to work actually got stuck in a bootloop screwing w it once but my work on screwing w it has stopped since I got this new job working full time sadly doesn't leave time for that
[Moto Maxx Android Development] lkthomas:
How come wifi pickup speed is slower than stock ROM?
[Moto Maxx Android Development] Moondroid:
This is supposedly a common problem with the Turbo, and on KitKat I frequently noticed it wasn't as snappy as my older phones. I've read that Lollipop corrected that, but as I never ran 5.x on my Turbo I can't say. (And I personally think 5.x was a step backward for Android in a whole bunch of ways, regardless of whatever it allegedly improved.)

Both my Wifi and Cellular can be a little sluggish to start up, but I don't see it as different from what I had with right-out-of-the-box KK. Just my opinion/personal observation.
[Moto Maxx Android Development] drizzzzzz:
I can confirm the same issue. Have not noticed a pattern as to why, and I don't know how I fixed it either.
[Moto Maxx Android Development] cal50:
The current ROM is close to perfection with the only chink in the armor being slow switching from 4G to wifi. It's still overall 1000% better than the factory ROM and load of crap.
[Moto Maxx Android Development] Nitefire77:
RR released 5.7.1 today. Has a good changelog to it + a few new features. We have something very nice to look forward to once Baybutcher gets a break from his busy schedule
[Moto Maxx Android Development] quantum tao:
Tons of changes to cm since last RR build too.
[Moto Maxx Android Development] RSDamasceno:
Web server in AdAway does not remain selected after leave and return to the application.
[Moto Maxx Android Development] lkthomas:
Interesting that after running RR for two days, problem suddenly disappeared.
[Moto Maxx Android Development] Latiken:
Been away for a while, but has anyone gotten Moto voice to work? If I can have that I'll be extremely happy with this device, twice more so if I can have Moto display :)
[Moto Maxx Android Development] RLShiftyDoggit:
Moto voice will work it is just a pain in the grass to get working and I don't really have time to continue trying to get it to work so I wouldn't be surprised is [MENTION=5747496]baybutcher27[/MENTION] is working on something

As for moto display I dunno that seems to be a super tricky one I've looked at it and tried but I have no idea (maybe a kernel thing)(I don't know if the moto maxx has moto display the same as the droid turbo) but nonetheless I had no luck when I was playing w all that
[Moto Maxx Android Development] gangrenius:
Shifty u make me laugh and cringe when I read your posts. Never can someone make me do both at the same time.
[Moto Maxx Android Development] ierofei:
Working great except for my ambient display

Not sure why but my Ambient Display is grayed out by default after a clean flash. Is there a step I missed in enabling the ability to use AD?
[Moto Maxx Android Development] xboxbr:
try to reboot
[Moto Maxx Android Development] ierofei:
I've tried and it's still greyed out.
[Moto Maxx Android Development] NepoRood:
Provide a screenshot, mine's only "greyed" out when it's off...
[Moto Maxx Android Development] RLShiftyDoggit:
I tried playing around w it i got some progress but I don't have the time I've been learning a lot on XDA so
[Moto Maxx Android Development] koftheworld:
You've never actually produced anything on here. Don't make posts that imply you are a developer until you've released anything. I appreciate that you provide answers on here sometimes, but people assume based on your answers that you are a developer giving expert advice which is not true at all. Keep on learning and maybe it will be someday.

Btw this rom just keeps getting better. No issues on it when I use it. Xt1254 on Verizon.
[Moto Maxx Android Development] Nitefire77:
Lets get back on topic and stop attacking people. Its against Forum rules, and it isn't needed. There are a few morons I would love to go off on but I hold back so I'm not reported. Remember a very important line from Bambi. "If you can't say something nice, don't say anything at all"
[Moto Maxx Android Development] gangrenius:
Listen to u haha, the guy that is notorious for clowning. Blessed are the peacemakers for there's is the kingdom of God! [emoji23]

---------- Post added at 10:33 PM ---------- Previous post was at 10:32 PM ----------

What koftheworld said was completely true tho.
[Moto Maxx Android Development] Nitefire77:
There is a difference between joking and flaming. I'm a comic so it just comes naturally to me. But I don't go out of my way to put down someone else. Its not right
[Moto Maxx Android Development] koftheworld:
Anyone try anything different to get volte working on Verizon? I've been looking into other device implementations, but i haven't learned anything that can help us here. I can honestly say i don't know enough, or have the right computer setup, to do anything about it but I was hoping to find a clue.

---------- Post added at 02:17 AM ---------- Previous post was at 02:12 AM ----------

The issue here is that he has been warned over and over again and written a gigantic apology post with zero change in behavior. I'm tired of reading about all the progress he's making doing x or y. There are legitimate newbies on here that are trusting things he says and it's just wrong. Sorry for the off topic but it was annoying.
[Moto Maxx Android Development] iiWoodstocK:
But at the same time, it's just as annoying seeing people publicly flame someone. All it does is promote hostility, distrust, and makes the community as a whole look bad. All of us that have been around long enough know that there may or may not be any actual success.

And, I've been exploring VoLTE for Verizon for the last couple weeks. On RR, I'm able to enable the "Enhanced 4G LTE Mode" toggle, and the VoLTE flag in the hidden dialer code menu is on. On my soak 4 "build," I was able to figure out how to get the "Advanced Calling" menu to show up in settings (doesn't show on RR), but trying to go into it just crashes that settings extension, and the VoLTE flag is off. Neither have actual working VoLTE, but for RR it seems closer to success since I got the VoLTE flag to be on and the "Enhanced 4G LTE Mode" toggle appears, which is the native VoLTE settings switch in AOSP. I'm currently working with a system dump of CF 1.3.7 (since it's based on SU4TL-49 5.1 Lollipop), stock 6.0.1 MOB30O from the Nexus 6, and a system dump of RR 5.7.0 for the Nexus 6. You don't necessarily need a "proper" computer setup for this; I've been doing all my testing and system dumps, etc. on my phone along with Solid Explorer and TWRP, so I can pull all the system directories and make flashable zips right from my phone. I plan on doing more experimenting either this weekend or the start of next week, as I haven't touched the Nexus 6 stuff yet.
[Moto Maxx Android Development] koftheworld:
The RR implementation seems the most likely as I can't change/add anything enough in the soak to enable volte for Verizon. Let me know how the nexus 6 work goes. I find working directly on my phone tedious is really what I meant. You're a saint for doing what you're doing.

You're right of course and I'm just in a mood. Through the years there have always been those users that you wish would mute themselves, but you end up ignoring them. There are a few of the same in the maxx/turbo area as well... I'm going back to ignore and N anticipation mode.
[Moto Maxx Android Development] iiWoodstocK:
I'm hoping it doesn't need any proprietary stuff. But I also don't know much about the related IMS files.
[Moto Maxx Android Development] koftheworld:
That's what cf keeps mentioning to me but I don't know enough to do anything about it. I'm guessing stock will be out before we can fix though.
[Moto Maxx Android Development] kitcostantino:
ive been adding the Moto files from LP with no luck. Even when i get Voice, Display, and Actions to show up.in the signature app, they still dont work right. there are bits and pieces in /system/framework (like jar files) that seem to be needed. when i install the playstore versions, nothing changes. i went as far as downloading the xt1575 Fxz just to have the actual MM files, but i have little to no clue how to implement it. I am so glad there are actual devs here. my boredom tinkering isnt working. ;)

also, in general, i agree with the logic of why flame people. it never yields anything positive nor productive. we are (hopefully) to expand our knowledge. ;)
[Moto Maxx Android Development] iiWoodstocK:
Ooh, that reminds me, I should try to get a system dump from the Turbo 2 on Marshmallow so I can see how the files are structured on Marshmallow.
[Moto Maxx Android Development] RSDamasceno:
Responding to myself or to someone who is having the same problem as me.

For the web server remains active you must install busybox in /system/xbin.
[Moto Maxx Android Development] fgl27:
Are you shore that is the fix?

The ROM have building Busybox, and the checker says it is ok.

Can you confirm that the busy box change make it work?

print a screen with Busybox Checker app to I see the output.

And tell me what is the busybox app you used?

I see the webserver starting, and every time I open/or reopen the app I see it stooping so starting it makes it start reload the app makes it stop, way I don't know, not my app maybe the devs know but I need yours answer first to understand.
[Moto Maxx Android Development] RSDamasceno:
Excuse me. I suffer from premature ejaculation. Lol.

It worked once, but after reboot, the web server does not get active again. : /

I asked on the topic of AdAway and warned me that busybox needs to be installed on xbin.

Here: http://xdaforums.com/showpost.php?p=67712148&postcount=6494

Here: http://xdaforums.com/showpost.php?p=67736725&postcount=6515
[Moto Maxx Android Development] RSDamasceno:
1- Busybox checker says /system/xbin

2- Busybox Pro (Installer) says /sbin

3- Busybox by JRummy (here: https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer) says /sbin

Which one is right?
[Moto Maxx Android Development] RSDamasceno:
And the file explorer says it is in /sbin...
[Moto Maxx Android Development] NepoRood:
Wow, those thumbnails are hard to see (maybe it's my laptop), but, mine's in /sbin too...

Also, I have no "xbin" in the root folder, only in the "system" folder, and there's no busybox there either.

Regards,

Nepo

PS, I've had a few beers, and this post took around 14 minutes to type...

#seesignature
[Moto Maxx Android Development] iiWoodstocK:
Does anyone know how to extract the system directories from a stock firmware zip? I'm trying to extract the system directories for stock 6.0.1 from the Droid Turbo 2, and I tried the tool to convert the sparse chunks into a single system.img, but the ImgExtractor tool doesn't work because the consolidated system.img is too big for the ImgExtractor tool to work, and I tried flashing it via fastboot, but that fails as well.
[Moto Maxx Android Development] koftheworld:
You used this tool http://xdaforums.com/showthread.php?t=2749797 and followed rootjunky's YouTube video https://www.google.com/url?sa=t&sou...XPPT7IsIPsFfp0HVw&sig2=CHVm7_zcjl7yWADa1QLRXg[/url] ?

Also, I remember reading something about Motorola sparse chunk support in FlashFire... Could follow up on that too.

This info seemed to be close http://xdaforums.com/showpost.php?p=64510905&postcount=18
[Moto Maxx Android Development] iiWoodstocK:
I used this thread: http://xdaforums.com/showthread.php?t=2663029

The first part to put the chunks into one consolidated system.img, then (unsuccessfully) used the second half to extract the system directories from the newly created system.img. After a while of troubleshooting I learned that the ImgExtractor can't handle big system.img, and this one is 4GB. I tried flashing it via fastboot so I could go into TWRP and copy the system directory from my phone, but that didn't work either. I'll look into FlashFire.
[Moto Maxx Android Development] RSDamasceno:
Figured out how the web server remains active after the restart!

Step by step:

1- Uninstall AdAway from system (ie with Titanium Backup)

2- Install Busybox Pro (https://play.google.com/store/apps/details?id=stericson.busybox.donate) and select remove busybox from /sbin after reboot in the last tab.

3- Reboot to recovery

4- Clear caches

5- Flash attached file

6- Reboot

7- Install AdAway from XDA Labs

8- Profit!

P.S.: the webserver does not work with the version of Busybox Pro and only works if the AdAway is installed as application user.

P.S.2: busybox version of meefik
[Moto Maxx Android Development] gangrenius:
What does the Web server do?
[Moto Maxx Android Development] ChazzMatt:
I have Stericson's Busy Box Pro and Adaway works fine, as does the webserver function.

When I was using BGB27 kernel with it's own version of busy box, I had to open MY Busy Box Pro and let it make changes to override the BHB busy box. It detected there was another conflicting version and took care of it. I've had Busy Box Pro for years and Adaway on all my Android phones, as well as my wife's.

Which Adaway are you using? The one from F-Droid is outdated. I stopped using it several months ago, and started using the one from XDA. Then in June, in the XDA thread an even newer version was released. There's no auto update for Adaway, you have to keep going back to the XDA thread to see if there are updates. Adaway is open source and anyone can compile it. F-Droid make a version a year or so ago, but never updated it.
[Moto Maxx Android Development] Nitefire77:
I use the Adaway baked into the ROM and no ads show up, it updates host files fine, and has never gave me any issues
[Moto Maxx Android Development] gumbi2647:
What's the difference between AdAway that's built in the ROM and the one you guys are using? I have always used the one built in and the built in Busy Box. I stopped using the pro version that I paid for a while back.
[Moto Maxx Android Development] RSDamasceno:
As I said in step 7 I use the XDA Labs version which is the same forum topic.

EDIT: The only version of BusyBox that worked for me was the meefik.
[Moto Maxx Android Development] ChazzMatt:
It simulates an IP address the web advertising links are telling the web page or app to find the ads. In reality it is redirecting the links to a null address on your phone, so no ads actually appear.

The same way content from web pages is stored on servers (computers) and retrieved to display on your device, ads are also stored and retrieved. In Spain, you would see ads for products there, in the U.S. for products relevant for users in that country. What ads you see are usually based on your device's location. So, the ads are not static blocks built into the web pages but are links which are just placeholders. When you retrieve a web page -- or content from an app -- it goes to one server to retrieve that content and then goes to other dedicated advertising web servers to retrieve ad content. Adaway blocks most of those attempts by redirecting the retrieval to simulated web server on your phone.

If you don't allow that, Adaway has to block the ads in other ways, which may not be as successful. Here's the reason why:

So, the webserver is making the app think ads are being displayed when they are not.

---------- Post added at 12:01 PM ---------- Previous post was at 12:00 PM ----------

Then I don't know why Stericson's Busy Box Pro is not working for you. It works fine for me, on several Android devices with Adaway (and on several friends' devices, for which I provide technical support). You must be doing something wrong. ;)

The only problem I ever had was when BHB27 kernel added its own busy box, which caused a conflict. I let my Busy Box Pro override it, when it asked. But I had to open the app for it to communicate that request to me. First my phone went crazy and kept rebooting, sounding alarms I have set for various times of day, etc. I saw in the change log for the kernel the addition of the busy box, then open my Busy Box Pro and let it take control. Problem solved.

---------- Post added at 12:07 PM ---------- Previous post was at 12:01 PM ----------

I've used Stericson's Busy Box for years and paid for the Pro version a long time ago. It was one of the first and in my opinion, the best. I use it on all my rooted Android devices and install it on all my friends' devices I support.