yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Android Development] fgl27:
Are you shore you are wiping Data?

you do not write that in any of yours post, the only thing that can prevent the ROM from booting is a old data with conflict configuration...

Wipe everything a true clean install is: wipe of system, data and all the caches...

the data and system that really do the trick...

If you can use a old ROM with my latest kernel, this new ROM must work if your data is OK.
[Moto Maxx Android Development] gimpy1:
I did a dirty flash of the Rom and also have bhb's latest kernel and auditor. No problem so far. ?
[Moto Maxx Android Development] Septfox:
[MENTION=5980801]immadeofpixels27[/MENTION], you are correct. Temporal Noise Reduction appears to be the culprit.

I too fell victim to curiosity and messing in the advanced settings. Everything was working fine until I rebooted this afternoon, after which my camera (and by extension "flashlight") stopped working. Since I use both of them at work and home on a daily basis...yea, leaving it broken wouldn't do.

Since I feel that starting over and restoring backups for a problematic ~something~ residing in /data is lame (to put it feather-lightly), I started poking around. Sifting through the various folders brought me to /data/property. Inside are various persistent settings, four directly related to the camera:

persist.camera.enable_vpu

persist.camera.hal.vnr.enable

persist.camera.ltm.gts

persist.camera.morphonr.enable

Temporal Noise Reduction writes to persist.camera.enable_vpu, changing it to 1 if toggled on.

If this setting is enabled (1) at boot, it soft-bricks the camera until disabled and another reboot is performed. Which is rather annoying, since if the camera is soft-bricked you can't get to the toggle in the UI to turn it off. Bit of a design flaw in the app, there...

As for the others, I can't be arsed to check'em, but I'd imagine they're also changed by the various settings.

Anyway, the above in mind, simple camera unsoft-brick:

Download a competent file manager that doesn't whine when asked to access system files (*coughCMFilemanagercough*); I used Total Commander because we've been BFs on and off since Froyo

Make sure SU is toggled on

Open your file manager of choice, go to the file system root, grant root access when asked, navigate to \data\property

Delete persist.camera.enable_vpu (it will be recreated with a value of 0/disabled upon reboot)

Reboot, don't touch Temporal Noise Reduction until told otherwise

Edit: might also be possible to disable it and restart the camera service. No idea, I ain't touching it : \

The phone reboots pretty quick anyway, so probably more trouble than it's worth to do it this way.
[Moto Maxx Android Development] fgl27:
this is really nice work from you guys much appreciated...

"persist.camera.enable_vpu" is a prop value need to see if will be respect by build.prop or others way of setting prop values if the user change it in data to 1, if it does I can just set it build.prop to zero and or some others way of setting those values, if not it can take some more time but must be possible to prevent it to boot with 1 value or reset camera values and set it to 0 after boot...

this test... set persist.camera.enable_vpu=0 in bluid.prop and change the camera setting then reboot, if you guys or any one else interests in this can test and let me know I appreciated....

I will do some test as soon I have time this may be simple and easy if I do I let you guys know...
[Moto Maxx Android Development] JayCizzo:
Dirty flashed the new ROM and kernel. Running super smooth so far. Thanks.
[Moto Maxx Android Development] cal50:
Clean flash and install on my Droid Turbo and no issues.

ROM

OpenGAAPS

Kernel

Supersu

Running like a champ....

Tried the Banks 7X Gaaps and it failed flashing , went back to OpenGAAPS pico and worked perfectly.

EXCELLENT work on the ROM!

Thx Devs!
[Moto Maxx Android Development] Septfox:
Unfortunately, adding it to build.prop has no effect : \

It's a little hacky, but couldn't you use init.d instead?
[Moto Maxx Android Development] fgl27:
no that is deprecated and can't solve here because it also has no precedence to prop values that are load at boot start because init.d runs at boot end...

[MENTION=5980801]immadeofpixels27[/MENTION] and [MENTION=5521404]Septfox[/MENTION]

If there is others setting like this that break camera let me know, before next V...

This is already fix in the ROM side was simple and you guys search help a lot... Next V will have no problem if temporal noise reduction is enable aka /data/persist/persist.camera.enable_vpu = 1

:good:
[Moto Maxx Android Development] Murd0c:
Systemless Xposed?

Does anyone know if there is a Systemless Xposed that doesn't need Magisk that we can flash? I have gotten Android Pay and Pokemon Go working beautifully with iSu (great work [MENTION=5747496]bhb27[/MENTION]!) by disabling Su and setting SELinux to Enforcing. The only problem, which I expected, is when Xposed is flashed to my device it won't pass SafetyNet. So if i want to play Pokemon Go, I have to uninstall Xposed from system and it works again, I am only asking just to make things easier, but if there is not one available it isn't a big deal.

EDIT: Apologies if this has been answered already, it is very late EST and I am too tired to search around.
[Moto Maxx Android Development] ceelos218:
I was hoping I didn't have to resort to wiping data since I don't the lengthy time right now to fox everything back in order.. But that shall be the last thing I do. Which seems like I will have to.
[Moto Maxx Android Development] ChazzMatt:
Wrong GAPPS.

There's your problem. You should have used the 6X Banks GAPPS. This is Marshmallow, not Nougat.

Banks GAPPS is working great for me.
[Moto Maxx Android Development] cal50:
My bad & I had a 50/50 chance and got it wrong.

Thx for the correction.

I downloaded the wrong one but will give the 6x version a try next flash.

Any noticeable difference between Banks & Gaaps?
[Moto Maxx Android Development] fgl27:
I let it very clear on my update post, you must fallow recommendation...

I assume that everyone that try to help you was also assuming that you know what you are doing when you keep posting you have problem and you did not even try to clean the data, you are just wasting my and everyone time that try to help you...

Any one knows that today clean install is easy as making a backup with any app like titanium then clean and restore yours apps takes about 10 to 15min you have wast way more time doing wherever you did here complain and restoring flashing things, next time just fallow instructions, at least read them...
[Moto Maxx Android Development] fgl27:
I made that below not supporting anything juts sharing info, in hide su thread there s a version of xposed systemless I have not test anything, if works with CM or if after works with pokemom or whenever safety net related I don't know but the zip fully removes cm su and allows you to flash super su and other in systemless mode...

file also in afh ... CM_SU_REMOVER_PREPARE_TO_SYSTEMLESS.zip

have fun
[Moto Maxx Android Development] xboxbr:
I did clean install, but it is getting up to 15 sec in CM logo before changing to RR bootanimation. I reboot many times. can I delete some file, cache or something to get it better?
[Moto Maxx Android Development] newbe1droidx:
Clean install... ROM, kernel, ka and pico gapps. Working great all around. Only new thing is bank app tells me warning phone is rooted, still works fine tho. Also sometimes tries for root access. Sneaky huh
[Moto Maxx Android Development] ceelos218:
Just do what you do normally and this time your going to have to clear "data" something most of us hate doing just for the fact that we have to restore most settings .. Not too worried about apps though. So yea this update seems to cause some issues with our data on our device I cleaned it and works now.
[Moto Maxx Android Development] xboxbr:
but it was clean install, full wipe. I just keept internal storage, maybe that's the problem, something in internal storage. should I clear data again?
[Moto Maxx Android Development] ceelos218:
Try downloading maybe from the Texas server.. I was getting some error from the Canadian server. Also I changed to open gapps pico.. Was previously using opengapps nano
[Moto Maxx Android Development] fgl27:
What is CM logo to you? boot logo?

Does it happens every time you reboot?

Every time you change the kernel (update the ROM, restore a boot.img backup, update the kernel) is need to decompress the new kernel it takes some time about that 15s in boot logo screen, but that happens only after you click in reboot to system in TWRP... after that slow boot, any reboot must be way more fast unless you have a problem...

Please don't confuse others users... you don't read what is in the tread or you don't understand what you read... check the below post it was all to you...

this

is not a true maybe to you it is but not to all, so don't use that to explain a problem that you don't fully understand...
[Moto Maxx Android Development] Septfox:
Oh. I'd always thought that init.d ran very early in the boot process, since it can handle mounts, shuffling system files around, etc.

Anyway, upgraded/dirty-flashed latest RR and kernel last night, no new problems so far that I've noticed. iSU and Pokemans are still working as they should...thank you for the continued support :)

Bugs for your consideration:

LiveDisplay tile disappears from Quick Settings panel after reboot, has to be moved or replaced in Settings before it will show up again; this was a problem in at least the last version too, forgot to report it

Notification sounds and vibration are still cut short when the screen turns on, easily seen if Ambient Display or an app that emulates it are turned on and a notification comes in
[Moto Maxx Android Development] ceelos218:
i said "Our" data... quoting the user having similar issues as me. meaning mines and his.. not everyone elses. anyways.. data cleaning fixed the issue. thanks for your hard work.
[Moto Maxx Android Development] gumbi2647:
I found that unless you dirty flash then its always good to wipe everything but your storage. Glad you got it!
[Moto Maxx Android Development] xboxbr:
yes, everytime I reboot. system reboot, not TWRP. it looks like first boot after install ROM, but everytime
[Moto Maxx Android Development] fgl27:
No man please don't try to help other in things you don't understand or give the time to try to understand...

The users has a slow time in boot logo, how that is related to the answer yo give him?

Please I'm just asking don't help if you don't understand or give the time to try to understand, you are making things worse...
[Moto Maxx Android Development] fgl27:
Is the device hot and or charging?
[Moto Maxx Android Development] xboxbr:
no
[Moto Maxx Android Development] monsterlucifer:
I tried to install Pixel dialer using apk. It installs fine and I am able to set permissions and make it default app for phone. On dialing a number, it soft-reboots the phone. Any heads up on this?
[Moto Maxx Android Development] gumbi2647:
I know that someone had posted something about cast screen not working. I am also having trouble too! It will cast fine using YouTube or any third party app but has a green screen when using the cast that's built in to the ROM. I need it because it is the only way to cast my Kodi app. If anyone has a fix or work around please help!?!?
[Moto Maxx Android Development] mubaidr:
I did notice that too, but it does not really matter for me, i have 64Gb version. Only time i am concerned about this is when i am about to make a twrp backup.
[Moto Maxx Android Development] tecsironman:
It should be 3-4 but from my understanding that's all the stock moto system files that really can't be touched. Even if you wipe system all those files are in a different partition. This was my issue when I had my droid ultra and moto x 16gb phones. I went for a 64gb phone knowing that after a BL unlock and ROM install 7-9 GB would be used already.

Remixed Droid Turbo
[Moto Maxx Android Development] fgl27:
you already post this more then once please stop.

you must understand how a apk works, it is a simple zip file that need to be unpacked in the device to work, it app produce a lot of data, all of that counts for the app used space, the zip, the uncompressed zip the data it produces (data + cache).

there is no problem this is how any ROM running android works...

don't believe it lets take TurboToast.apk for example the apk size for the last V in made is around 40kb, but when you go to system you notice it uses almost 10 times that and that is not a bug, is just the app, the unpack app and it data and it cache, and this app produce almost no data so the main thing for this one is the uncompressed + the compress that need to exist + the cache...

View attachment 3913063

So unless someone can prove that this is a bug please stop this type of post, thanks.
[Moto Maxx Android Development] ankurcshah:
I was just asking for a explanation, the only reason I posted this for 2nd time was because I didn't get a reply then. Nothing else.

Thanks for the explanation mate. Great work on the ROM ??
[Moto Maxx Android Development] fgl27:
Those seems to be old bugs of the OS related to RR OS, is not a device specific those are really hard to find way and when it started... I'm debugging the second one but may take a wild...

I post on the change logs when those are fix... :good:
[Moto Maxx Android Development] fgl27:
the last V of atfwd.apk for MM is attached, does this apk make any difference?

replace it under system/priv-app/atfwd

make shore the permission is 0644 and reboot

I have no way to test this, I have no wireless monitor, I try to make my pc a wireless monitor receiver but on linux that is not easy I don't wanna to push it and damage the OS of the only build machine I have, I can fix it if I damage it but I need time and internet those are not much available here :(, I have a old windows pc here so I will try on that....

Any one know a tested way to make a window PC a wireless monitor receiver for android particularly the cast option of android?

I will try google and see if that helps...

:good:
[Moto Maxx Android Development] fgl27:
Theoretically you posting a thing you don't understand as a problem not as a question.

When we ask is need to use at least "???" some question mark, no question mark you are making a statement...
[Moto Maxx Android Development] immadeofpixels27:
It didn't work. Still the same problem with two error messages and a green screen. I'll upload logs in a bit.

If you have windows 10 then open the connect app to use the native wireless display, if not there might be some 3rd party program floating around on the internet.
[Moto Maxx Android Development] sidcarton1:
How do I change the apk settings to 0644? I tried to do it in the file manager under the properties tab for the app but it won't let me for some reason.

If it helps any to figure out the issue, yesterday I flashed iiWoodstock's Brazilian stock ROM and the casting function worked but stopped working when I flashed back to this ROM. Not sure if that provides any clues to a fix. In any case aside from the screen cast this latest build is working well and the battery performance seems the especially good for me!,?
[Moto Maxx Android Development] immadeofpixels27:
You can change file permissions in a terminal emulator.

Oh, and what file explorer are you using? I just checked and Solid Explorer (my personal choice after ES went to adware hell) can do it but, like most other file explorers, it uses the much more readable read/write/execute check boxes rather than a hex value.
[Moto Maxx Android Development] Marky__Mark:
Did the new CM_Actions create any new switches in gestures? Im on 10/6 and want to remain on 10/6. Thinking about copping the apk and replacing it on the 10/6 rom.
[Moto Maxx Android Development] fgl27:
no, kinda risk don't advice that...

My windows is 10 but old, that is only available in the anniversary edition... I don't see any third party app that can do that so I will update the machine, probably in the next weekend I will be testing for it...
[Moto Maxx Android Development] Marky__Mark:
What would be the risk?

---------- Post added at 08:38 PM ---------- Previous post was at 08:36 PM ----------

I dont imagine it would cause a boot loop. And if that wont happen, I can revert it back in TWRP if i need to.
[Moto Maxx Android Development] sidcarton1:
Thanks for the advice. After some tinkering with ES and finding it really not worth it I discovered that the RR default File Explorer can perform terminal emulator commands(as far as I can tell anyway haha). Ultimately, as with other users it didn't work for me. Sucks but hey I learned a bit about altering system app permissions tonight so that's a bonus haha!
[Moto Maxx Android Development] gumbi2647:
0: --- No Permissions (the user(s) cannot do anything)

1: --x Execute Only (the user(s) can only execute the file)

2: -w- Write Only (the user(s) can only write to the file)

3: -wx Write and Execute Permissions

4: r-- Read Only

5: r-x Read and Execute Permissions

6: rw- Read and Write Permissions

7: rwx Read, Write and Execute Permissions

Owner = Read/Write

Group = Read

Others = Read

That should give you the 0644 permission after reboot!

Download Root Browser by JRummy and you can perform the update with ease. No terminal emulator needed!
[Moto Maxx Android Development] fgl27:
ROM update! ResurrectionRemix-M-v5.7.4-20161025-quark.zip​

Download-ROM

Changelog

If dirty flash and the device don't boot make a clean install (Wipe dalvik cache, cache, system and data) then install the ROM + Gapps (demanding when clean install flash ROM+ Gapps at the same time).

...............

Notes:

This ROM doesn't have my kernel it have Stock-CM-Kernel but you can download and use it, I do this because some people may not need custom kernel or wanna to test without it.

Download BHB27-Kernel

Use only the latest version of my kernel today BHB27-Kernel-V202-4-M.zip base on Moto 6.0.1 source.

* Only Version BHB27-Kernel-V202-3-M.zip and up are ready with the kernel side audio improves that I have add to this version of the ROM, if you try any old version of my kernel with the latest ROM there may be side-effects that I have not test nor will.

Bug report: make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
[Moto Maxx Android Development] mubaidr:
Awesome, downloading now. Once again thanks for the updates.
[Moto Maxx Android Development] xboxbr:
xposed module "performance profile" isn't working with CM binares, but if I install busybox, it breaks iSu funtionallity
[Moto Maxx Android Development] immadeofpixels27:
What happened to the music visualizer? I just recently noticed that it isn't showing up on the lockscreen anymore, despite having settings > customizations > Lock screen > Lockscreen media > display music visualizer turned ON.

I tested this on a clean install of today's build with only OpenGapps and the ROM flashed, and the problem persists.
[Moto Maxx Android Development] adrihdez21:
Same problem
[Moto Maxx Android Development] fgl27:
if you are using xposed way you care about iSu functionality?

Not a problem with building music app, usually the app (third party music app) has it's on implementation of that.
[Moto Maxx Android Development] vinydasilveira:
In my old RAZR HD with CM12.1 the lockscreen visualization work with third-party apps, as poweramp, for example. On my Moto X2 also in CM13. But the Droid Turbo, the lockscreen visualization with poweramp only works when I connect my Bluetooth headset. With normal headset doesn't work
[Moto Maxx Android Development] immadeofpixels27:
I use Rocket Player and Pandora and that was the case a while ago, but recently even playing music over Bluetooth doesn't show a visualizer any more.
[Moto Maxx Android Development] vinydasilveira:
Normal headset / bluetooth headset. Using poweramp

View attachment 3916873

View attachment 3916874
[Moto Maxx Android Development] immadeofpixels27:
Bodyache = Pandora

Quantum Immortality = Rocket Player

You can see the headset icon when I'm using a wired headset.

It's probably worth noting that I use V4A, but this also used to work with V4A installed. I'll test it on a fresh install without V4A later and post those results.
[Moto Maxx Android Development] vinydasilveira:
Maybe it's just a bug in the preview interface. Something so small, that has gone unnoticed
[Moto Maxx Android Development] karthik.naidu0212:
Wouldnt it delete the flash files after Wiping the data before flashing the rom?

Since this device doesn't have any extsd ,once we wipe the data to do a clean install ..wouldnt it wipe out the rom files too.?
[Moto Maxx Android Development] mubaidr:
No. System partition is where Rom is stored and Data partition is where Android data is stored. Avoid formating any other storage (I think Local Storage is the name) and you will be fine.
[Moto Maxx Android Development] mubaidr:
So another user just confirmed that deleting the file /data/property/persist.camera.enable_vpu and rebooting fixes the camera issue.

http://xdaforums.com/showpost.php?p=69335533&postcount=867
[Moto Maxx Android Development] ChazzMatt:
Installing the most recent version of the ROM also fixes the issue. ;) [MENTION=5747496]bhb27[/MENTION] already fixed it. So, you do not have to do that.

http://xdaforums.com/showpost.php?p=69303228&postcount=3729

ROM update! ResurrectionRemix-M-v5.7.4-20161025-quark.zip
[Moto Maxx Android Development] newbe1droidx:
Yep latest all working fine for me! Great work bhb thanks for helping us all out!
[Moto Maxx Android Development] fgl27:
please...

step by step in words I can't watch videos or have time to search the web, how do I connect kodi app to the remote screen receiver?

widows is update connect is ok, kodi is installed and I have a video on device to stream... I'm using the android tethering...

:good:
[Moto Maxx Android Development] immadeofpixels27:
I don't know about Kodi - I use the Cast function built into the ROM: settings > display > cast (or add the QS tile).

That being said, make sure the phone and PC are on the same network. Open the Connect app on Windows, then open the Cast menu in android from either location mentioned earlier. Your PC's name should appear in the menu within a minute.

Once connected, you'll get two messages to accompany the green screen:

"Protected content can't be viewed on this device"

"This device doesn't support input from your mouse"
[Moto Maxx Android Development] RL_Wells:
If you are using Kodi on an Android device, you can use LocalCast. I've been using it on a 2gb LG tablet for the last two years or so, along side my Chromecast, and have no complaints.

https://play.google.com/store/apps/details?id=de.stefanpledl.localcast&hl=en

Here are some instructions; you also have to include an .xml file

http://www.alphr.com/google/google-...how-to-install-kodi-on-a-chromecast-streaming
[Moto Maxx Android Development] gumbi2647:
I can cast fine using the YouTube cast feature but when I try the built in feature its a green screen. The Kodi app has nothing to do with the issue.
[Moto Maxx Android Development] mac.os.x:
Ok ChazMatt, I fell asleep earlier, just d/l 5.7.4 zip bout to flash it. I think that's all I need. Kinda wipe should I do. Data system everything?

---------- Post added at 10:52 PM ---------- Previous post was at 10:20 PM ----------

I'ma leave Gapps alone, wipe dalvik/cache, flash... :/ Hopefully I'll be right back.
[Moto Maxx Android Development] ChazzMatt:
You need Marshmallow GAPPs. Listed in the op. I use the dynamic GAPPs, 6.x.
[Moto Maxx Android Development] mac.os.x:
I I flashed without gapps/ wiped data/cache/delvik ... Installed perfect.
[Moto Maxx Android Development] mac.os.x:
Was I suppose to wipe system I didn't...

---------- Post added at 12:33 AM ---------- Previous post was at 12:32 AM ----------

Was I suppose to wipe system, and u got link I can't find those gapps ChazzMatt
[Moto Maxx Android Development] ChazzMatt:
https://download.dirtyunicorns.com/gapps/Banks/

Use the 6.x version.