yashsingh1/xdaforums huggingface dataset:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Hi, it's me again. ;)

At the moment absolutely no problems with the latest build (RR-N-v5.8.3-20170716-griffin-Unofficial.zip & shipped magisc v13.2).

Running over 120h without unexpected behaviour/reboots.

[MENTION=6298645]erfanoabdi[/MENTION]

I plan to donate to lineage/rr,

but is there also a way to donate to you ?

One thing I observed was the com.quicinc.cne.cneservice. I'm a big fan fan of afwall+ , so I'm monitoring everything at the moment and the PID 1000 is extremely active. There are of course many entries for that , e.g. https://xdaforums.com/nexus-6/help/com-quicinc-cne-cneservice-t3128669 . Seems to be a qualcomm thing, it's called Seamless Interworking.

But tbh I don't like it, because it also seems to send some IDs around

and the main reason is, I prefer to decide for myself, when mobile data is active.

Didn't find anything on xda/ on google in general (besides reports of heavy data usage ...)

Is there a way to disable it ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
That's also Android System, which checks if there is any internet connection at all.

Under the PID 1000 are running a lot of things, I prefer to allow that, there isn't much traffic at all.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Thanks bro

If you want to donate plz donate my friend [MENTION=7321245]dom133[/MENTION] who gives me free VM for building this ROM :

https://www.paypal.me/dom133

And about cne app

I'll see that probably i need to update vendor black bs to stock 7.1.1 to fix it but we have to wait for moto to release kernel source ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Yeah, I saw that, but tbh, I don't think I need that stuff ...

I usually see and know for myself, that I have an inet connection ;)

That small x is sometimes annoying in the status bar, but I just don't want my phone to connect to any amazon servers, etc, without my explicit permission. Also it'd be much better, if these things would be separated

Call me paranoid or a control freak, but I like to have that choice ^-^

Ok, I tried to look it up in the apps list. It's there, but I can't disable it ...

There are some files in the system folder,

like CNEservice.apk and some libcne*.so files.

Can I "safely" move them somewhere else to disable that thing, or will I crash something / the system ? :P

Also a colleague mentioned, on his lg g5 he has some "high level" option in the wifi settings, if the system should evaluate the wifi quality and decide which data connection to use,

but I can't find it in RR, seems it's not implemented, is that correct ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
No, not paranoid.

I would also like to differ between those apps but they all run under the same UID (User ID if I remember correctly), which means that they can't at all or can't easily be blocked by AFWall or any iptables based firwall... I think.

Another way to block such things (recently noticed it so I don't know how much of control we have):

Settings -> Data usage -> Cellular data usage

Settings -> Data usage -> Wi-Fi data usage

You can there tap on any shown app and particularly disable data access to cellular & Wi-Fi.

This might help for apps which have shown *any* data usage but might not help for apps without *ever* used a data connection.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ehsangerman:
hello, i want to know how to enable pixel weather widget on pixel launcher. i only have the date . are there any ideas?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I just restored a backup from TWRP.

Rejected my security pattern but accepted my fingerprint :confused:

Cannot perform any security related settings now.

As background I have already fully formatted Data to remove encryption and my phone is not encrypted.

Any suggestions on this?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
You can use a small trick if you are logged in on your device with a Google account.

Go to this page: https://myaccount.google.com/find-your-phone-guide?

Here you can log in to your Google account and select your device and lock it. This is an option which is very useful when it was stolen. Here you can set a password. This password is then your screen lock. If you type it in to your device (the lock screen is a black screen now) you can unlock your device and can use it to change security options.

I hope this is helpful for you.

Have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Thanks I will try this.

But can anyone explain why an unencrypted device does this?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Not working
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Then try to search on Google "my account" and go to the second entry (should begin with "my.account.google" or something).

Then tap on "find my device" and try it again. ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
I haven't noticed this dialog yet. Thank you.

-------------------------

Ok, now to the main reason I'm posting: Next time, I'll just shut up, when everything works ...

And sometimes I want a phone, where I can rip out the battery. These button combinations are really annoing, especially when stuck in a boot loop. Anyway, enough ranting ...

Two things:

* Minor Problem

Is it normal to have two different patterns ?

Let's say I created a pattern #1, during Installation, for unlocking the storage.

After a while I changed my unlock pattern to a more complex one (call it #2).

Now during boot, the phone wants pattern #1, and for unlocking, it wants pattern #2.

Should this happen ?

Also it's maybe related to

Did you change your login pattern ? If so, try if your old pattern which unlocked encryption.

* Main Problem

During a call, started Open Camera.

Preview froze, I tried to stop the app. It showed a info box: "serious camera error" and exited.

Afterwards I tried to restart the camera app, and my whole phone froze.

I tried to resart, and it got stuck in a boot loop.

Then I wiped cache & dalvik cache.

Boot up took really long, and after about 1-2 min, the phone vibrated for half a sec or so, about 6 times or so ...

But it didn't boot up.

Now I'm restoring backup again ...

----------

This leads also to a general question: In such situations, I just hate these boot animations.

Not only they are absolutely useless, they also hide everything, that goes on.

Is there a possibility to disable the boot screen, and see a nice linux boot log ?

Will this work ? https://xdaforums.com/showthread.php?t=2116754

And is there maybe a way to enable some sort of extended logging ?

If such problems happen again, that I'm able to send logs ...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Did you change your login pattern ? If so, try if your old pattern which unlocked encryption.

No I have never changed my pattern.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
The first "problem" is normal.

With pattern #1 you unlock your storage and allow your device to have access to your data.

With #2 you just unlock your screen.

You can't change #1 on "normal" way.

If you have a look to some previous pages of this thread you will find a tool to change the encryption pattern, but I don't know if it works and it's dangerous for your data.

Sometimes I have problem 2 too.

The camera crashes and if I try to open it again my phone freezes.

Similar to the first problem, there is a way described to solve the boot freezes in this thread already, it seems to work but I haven't tried it.

Sorry, but I don't know if you can have a look during boot up on a Linux console.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Hi thanks but that does not solve the problem. In order to use Android Pay I must have a pin or pattern. I tried your method and it required me to enter the PATTERN to unlock even though I set a password in Google account phone lock.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
OK, I'm sorry. On my phone it resets the pattern and I was able to change it in the settings app. :confused:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
OK but my experiment is to restore a backup when the phone was secured by a pin.

[MENTION=6298645]erfanoabdi[/MENTION] can you explain why I cannot restore a TWRP backup of a secured ROM and use the sane security pin/password/pattern to unlock it?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I meant: you lock your device with a pin or password with your Google account. Then you unlock your phone with this pin /password and change the security options in the settings app. ;)

I'm sorry if it wasn't clear enough.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yes I understand. But when I get into settings/security and try to make any changes it asks for my pin/pattern and will not accept it.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Oh. That's bad.

Sorry, but I don't have a solution for this at the moment. :(:crying:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yes the phone is acting as if it is encrypted but it is not encrypted
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
[MENTION=6298645]erfanoabdi[/MENTION]

Here is my experiment:

1 settings/security/screen lock and set a pin or pattern

2 make a TWRP backup

3 reboot to RR and use pin/pattern to unlock

3 boot into TWRP again

4 restore the same backup

5 will not accept the pin/pattern
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] badaas:
Same here, I have a backup of my stock ROM but it has an old turbo z kernel, It won't accept pattern to unlock on initial boot. I have to factory reset that backup and start again.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
This problem you are lately discussing (not accepting PIN/pattern after restore over TWRP) is probably over all phones...

Dunno if it is after a wipe or just a restore.

A temporary solution:

Go to TWRP and be sure that /data is mounted.

Use the inbuilt filesystem browser or terminal

Delete all locksettings files in /data/system

After that every pin/password should be accepted. (Encryption-password is not affected.)

About the encryption password, I already did a note here but somehow nobody seemed to have noticed it or it was too dangerous for you...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
A simple solution is also to remove security settings, make twrp backup and then set up the security again :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Yes, this is the clean version :D

But if I need to do a nandroid backup, I do it just to be safe.

I still have TitaniumBackup which makes my backups which I would use for an unexpected defect or such things.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
I've not read all posts but for pin and pattern

You have to remove this files with TWRP file manager:

/Data/system :

Lockscreen.(everything)

Gatekeeper.(everything)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Mehdi_Hp:
Hi there.

Does Moto actions works in this ROM or any other custom ROMs out there? :confused:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
[MENTION=6298645]erfanoabdi[/MENTION], I have problems with a USB type-C DAC (USB Audio device, NOT the moto thing). [DAC -> digital analog converter]

This one -> https://hifimediy.com/Sabre-9018-Type-C-DAC

It works on my PC and Notebook, so it is definitely not a faulty device.

The problem:

It is nearly never being recognized and used.

I noticed that "USB supplying power to attached device"-notification does not go away and stays until after reboot if I reboot the Moto Z with this USB DAC attached.

Still, sometimes I have to reconnect the USB DAC over 20 times until it is recognized and can be used. (The LED of the USB DAC is then bright red.)

Sometimes I don't accomplish anything after 20 minutes and even a reboot does not help.

I noticed also that after shutting down the Moto Z the usual way, it still is powered on even if the screen is black.

How did I notice that? When I connect the USB DAC to device, the LED turns on for a short moment. This only happens if it gets power but isn't in use.

To properly power off I go to bootloader or recovery and power off from there.

Any quick suggestions?

Otherwise I could gather some logs (dmesg and logcat), just point me to that.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tasar:
Or you flash the attach after restore and first boot. It make the same like the manual delete of the pin/pattern lock. It worked on every phone i have not only Moto.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Darf ich dir einen Tipp geben?

Du solltest "Entferner" auch ins Englische übersetzen.

Das könnte dem ein oder anderen hier helfen zu erkennen wofür diese Datei ist, wenn sie die später mal auf ihrer SD-Karte sehen. ;) :D
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tasar:
Erledigt aber wie du sicher unschwer schon bemerkt hast, bin ich nicht besonders fit in englisch aber ich gebe mir zumindest Mühe :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Wenn Sie Google Translate nutzen, müssen Sie vorsichtig sein, um einfache grundlegende Terminologie zu verwenden :good:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Ach was, sicher immer noch besser als das Deutsch der meisten Engländer. ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
:p

---------- Post added at 04:56 PM ---------- Previous post was at 04:48 PM ----------

Aber danke für deinen nützlichen "Zip":o
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Did something changed in bluetooth (drivers) between

RR-N-v5.8.3-20170707-griffin-Unofficial.zip

and

RR-N-v5.8.3-20170716-griffin-Unofficial.zip ?

I checked the changelog for "bluetooth", but seems only other devices. This time I also searched in this thread but found nothing ;) )

My bluetooth headphones disconnect every 13 sec and then reconnect. That's the optimal frequency to drive me mad :P

(Also quite annoying that the apps seem to reset/ redraw, and jump to upper positions in lists, but that's probably an android wide problem).

I don't remember changing any settings, and with RR-N-v5.8.3-20170707-griffin-Unofficial.zip it worked flawlessly.

I checked logcat, but haven't found anything yet, beside disconnect requests ...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
New Version Uploaded

many fixes and updates

please try camera mod (video recording bugs should be fixed) [MENTION=318623]Conkerts[/MENTION] plz test bluetooth in new version ;)

post #2 updated for devs and introduced patch.sh for easy patching ROMs :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
I flashed the new build. All of my mods are working: battery, speaker and camera.

Some early observations about the camera:

1 videos work except

a full hd locks up

b image stabilization causes lockup

[MENTION=6298645]erfanoabdi[/MENTION] is there any way to get the Moto camera from the stock 7.1.1?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
hmm good idea

let's try it, it's flashable zip for latest moto cam from stock 7.1.1

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

uninstall your moto cam before flashing

no need for do not disturb and this should work on all roms :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tasar:
Iam new on the Z and like the RR rom from other phones, so i flash this version because i thought, it would use the accu from the JBL sound mod. But today i recognized, that the JBL sound mod accu was on 100% but the phone shut down at 1% accu. Why does it not use the accu from sound mod??
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Wow! It appears to be fully functional for all basics. I will be testing more of the features...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
I can confirm this bug

It's not only on JBL it's on all mods

After disconnecting mod

Phone battery going crazy

I think I know the fix I'll take look on it
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] yassine78:
good job [MENTION=6298645]erfanoabdi[/MENTION] , you do a very nice work :good:, i don't use mods cause i don't have them, i need just most battery life ;)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

I've installed the new version too.

After I changed video mode to 4K I'm not longer able to change in camera mode.

The camera also crashes when I try to make a picture in slow motion mode.

Hope I'm not the only one experiencing this.

Have a nice day!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
ok let me see,

open terminal emulator and write this :

getprop > /sdcard/getprop.txt

send me getprop.txt from your sdcard
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Sure.

Here We go.

I hope it helps you.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
temporary fix is removing /system/bim/mods_camd

i'll fix it in new build
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
OK.

Thank you very much! :)

I'm sorry, but I have deleted mods_camd, but the camera still crashes when I open video mode with 4K resolution. :(
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
[MENTION=4762414]lollyjay[/MENTION] could you please also take getprop and send me while camera mod is connected
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yes but I'm having problems without the camera mod. Video is not functioning even with 720p. Camera f/c. Requires a reboot.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Here is the getprop...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
ok ok i know my bad :p

i was trying to add moto mod cam 360 and this is happend

just send me getprop while camera mod is connected

camera mod is connected?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Yes
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Oops! Cleared data. Forced stop. All permissions are on. Rebooted phone.

Also uninstalled the camera, reinstalled same.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
buggy rom removed from servers

new rom uploaded download and test : https://www.androidfilehost.com/?fid=817550096634789721
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
Awesome, loocking forward to test this in depth.

Unfortunately my BT bug returned -.-

It's super strange, I had about a day peace,

some hours before I updated, the bug returned,

and now after the update it's here again.

The BT headset seems to work with other phones, so that should not be the problem.

Also seems it's some weird interaction with mort player or mx player or some other app, because the bug sometimes just disappears ...

So anyway, I'll do research on my own atm, because I suspect its not related to the ROM...

And btw, on dmesg, I saw quite often crash dumps / traces of wma.c (wma_process_mcbc_set_filter_req) (and some other parts as well)

I don't know, how important this is, do you want the logs ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
Well... Camera is not functioning. F/C on 720p video... Without the camera mod
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] xamindar:
Hey I just want to say this rom was great. I have gone back to stock 7.1.1 for the following reasons and thought I would list them in the hope they can get fixed.

1) First, and most important problem to me (being in Texas heat right now) is that the phone gets way way way too hot when used. For example, I was simply downloading the 7.1.1 stock rom, a 1.2GB file, over LTE and the bottom back of my phone became almost too hot to touch and the whole interface very sluggish as if it was doing heavy thermal throttling. Being that this phone has a non-replaceable battery, heat issues are not acceptable to me.

2) Camera app and mod. The moto camera app hard crashes the phone if you try to record any video with it. I could work around this problem by using the AOSP camera for video, but it can become a problem when I let others use my phone to take pictures/video. The camera app is also all around sluggish and takes slower burst pictures compared to a stock rom. OIS was apparently also non-functional. As for the mod, it was mostly usable and you did a great job getting the half-press shutter button to focus lock. Power button not working is not a big issue but would obviously be better to have it working.

3) General mod features. While it is great the moto mods work, little things just bugged me. The mod battery levels were notification items instead of quick-setting icons; wireless charging notifications were non-existent (maybe I toggled that off somewhere, not sure).

Other than those, this rom is pretty great. Only a few random reboots here and there which always seems to happen with custom roms in my experience. One thing I forgot to test was daydream. I wish I would have as no one seems to comment on that. Anyway, with two young babies the need to have the moto camera work 100% was too great for me so I have switched back to stock rom. Keep up the good work and I hope I was helpful in the short time I used this rom.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
here 720p, 1080 and 4k is working without cam mod

tested with google cam, moto cam, snap

tnx for using but

1. thermal is common issue on all custom roms it's kernel, you can use 1.8Ghz CPU like stock

2.moto cam force close is not bug, have fix and i mentioned many times in this and lineage thread, i'll post new cam flashable zip on post #3

i can confirm it's sluggish, this should be codec bug (decoder and encoder) i remember it since cyanogenmod

please take logs for OIS, and send it for me here

3. sorry for battery mod level, but i can suggest you to use command center widget (from z droid) you can have mod level on homescreen with it

i'm not sure about wireless charging never used it
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] M!tch:
thanx for your great work!

ho are the chances to see your moto mod contribution on any official rom (rr or los)?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Conkerts:
1. yeah, I can confirm thermal throttling as well, BUT I don't think, that was better on stock.

Stock will throttle as well, when it reaches the temp limit. So basically the same effect, but when you have 2,2ghz enabled and only light load with short peaks, the device will feel "more snappy".

Anyway, [MENTION=4584475]xamindar[/MENTION] you can use kernel adiutor to limit it to 1.8ghz if you want to.

[MENTION=6298645]erfanoabdi[/MENTION]

is it difficult to add / merge undervolting ?

I had quite good experience with it on i9100 & sony z3 and heard in general, the qualcomm cpu's have some potential. Sure, if bugs arise, users will have first to disable undervolting & test again before they post ...

2. same here, first video recording aborts with camera error,

second time cam app is started, the device freezes completely (only moto cam, stock cam video works, but is not as fancy as moto cam)

I can provide dmesg, kmesg logs if needed.

I guess the lineage rom should have this bug as well ?

* random reboots: haven't experienced any, the rom is actually really stable I'd say.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
1. For undervolting you have to use custom kernels we have great kernels like elementalx and new kernel recently pushed to XDA VisionZ

2.please see post #3 for new stock cam download link

Play store moto cam is not working on 7.1

Use my flashable motocam zip, it's fully working
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I already flashed your zip, but the Camera ist still crashing when I try to make a video in 4K.