yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 4] kr3pt:
Thanks for the response, but if you read my post, you will see that I did try connecting. The connection failed. I did test to see if I had any connectivity and I did not. No icon in status bar either. Occasionally it would work. Currently I'm at work and connected. I suspect, when I leave I will lose all credential info and will have to reconnect again along with multiple failed connecions/saves

Thank you for the information regarding log posts, when i get home ill see if I can save one to post also.

I dont fully understand the problem you're having getting the USB to work, but the only insight I can provide is that after flashing, my motorolla drivers were all recognized, but now it was looking for an MTP driver that it did not need before. I noticed this when trying to transfer music to the sd card. I manually installed a generic MTP driver from a list of windows drivers and it worked with no problems. If you think that will help you, I can give you a little more detail on that, but I dont want to spread false information if that is not your problem. You can start by checking Control Panel>Devices and Printers> XT894 (if recognized)> Properties>Hardware and see if your MTP device is listed/recognized.

Edit:

seems like you may have gotten this fixed

I have also just gotten around to testing music via bluetooth, but unfortunately I was stopped before I got started. I cannot get bluetooth to turn on at all. I go into the bluetooth menu and move the slider to on, the phone thinks for a minute and moves the slider back to the off position.

On a side note, It says that I am not rooted after flashing. Will rooting help any of these issues or is it irrelevant in these cases?
[Motorola Droid 4] Shplad:
kr3pt:

You might want to browse through the bug tracker, just to see if your issues have already been reported and/or if similar, but related issues have been reported. I'ts sometimes very helpful.

I'm a newbie, but I'm pretty sure you don't need to root anything in order to try to resolve the problems you're having.
[Motorola Droid 4] kr3pt:
I have looked through the website, but dont fully understand it. It lists all bugs for all devices that run lineageOS and there is no filter for specific devices. How do I find bugs that only pertain to this phone?
[Motorola Droid 4] Shplad:
I would like to add my voice in with kr3pt. I have no coding skills or knowledge and don't understand the process of submitting a bug. I read:

How to submit a bug report

https://wiki.lineageos.org/bugreport-howto.html

But it doesn't tell me what I need to know. Is one expected to test other ROMs to see if a problem is new between builds (a regression)? Is one expected to browse through all bugs which appear similar in previous builds to check if one's bug is a regression?

I believe I'm using a nightly build, but it says bug reports for nightly builds:

"...are accepted weekly from Midnight UTC on Friday through Midnight UTC on Monday".

So, you can only submit bugs on nightly builds on weekends? Why would they limit that to such a narrow timeframe?

Oh and...for us newbies, I assume regression means the problem occurred between versions of Lineage only?

Some explanations for laypeople would really help here. People like kr3pt and me want to do the right thing and contribute. But without having knowledge of development (and ergo bugtracking terminology), we need it spelled out for us.

I don't see any area for specific devices, so I assume that you just post in the right area and specify the device when prompted in your bug report?

Thanks

---------- Post added at 05:33 PM ---------- Previous post was at 05:31 PM ----------

kr3pt:

Here are a couple of examples for you to browse. I know, these may not be exactly your issue. But they hint at a series of possibly similar/related issues involving Wifi:

WiFi doesn't auto connect to wifi networks when enabledhttps://jira.lineageos.org/browse/REGRESSION-708?jql=text%20~%20%22wifi%22

Wifi is not able to connect,

https://jira.lineageos.org/browse/BUGBASH-438?jql=text%20~%20%22wifi%22

(not the "," in the above title name.

WIFI CONNECTION PROBLEM

https://jira.lineageos.org/browse/REGRESSION-648?jql=text%20~%20%22wifi%22

Wifi bug

https://jira.lineageos.org/browse/BUGBASH-244?jql=text%20~%20%22wifi%22

Looks like there have been a lot of problems with Wifi, and not all of them are getting fixed (yet).

EDIT: Why does the forum keep appending my current post content to my last post, instead of creating a new one? I find this very confusing.
[Motorola Droid 4] Shplad:
Careless:

Just to revisit this issue for a moment...I had this happen again today. It seems to pop up the different ring screen depending on which number is calling (WTH?). When I saw it today, I learned that if I swipe to the left, I can answer, or get icons to be able to answer. It's puzzling why this screen sometimes comes up and sometimes doesn't. My device is not locked.
[Motorola Droid 4] Careless_:
can't help ya. i don't get this issue. sorry, brah!
[Motorola Droid 4] Shplad:
Okay. I can't download a logcat file, because the phone is not consistently connecting to my PC. I've tried uninstalling and reinstalling Moto device drivers and etc. No joy. I now can't find the ethernet over USB function in Developer Mode. Can someone tell me where it is? That's what got me more consistent connectivity with the phone earlier. I'm not sure I shut it off, but I can't even find it at the moment.

EDIT: Found the NDIS over USB function. Now, it's not working, but MTP is (unlike the other day when the opposite was true). This seems consistent with reports in the bug tracker.

This Android dev. has expressed concerns about private data being contained in a logcat file

http://blog.parse.com/learn/engineering/discovering-a-major-security-hole-in-facebooks-android-sdk/

Can someone tell me if there's any sensitive/personalized info. in these Lineage logcat files, and if so, how I can get rid of or obfuscate it before posting them to the bugtracker?
[Motorola Droid 4] u.b.o.o.t:
[MENTION=8322967]Shplad[/MENTION]: logcat definitely contains sensitive info like email addresses. you've gotta search&replace them with a text editor.

[MENTION=535343]all[/MENTION]: we fixed a memory leak in Android system_server yesterday for LOS14.1 and I suspect it is also present in LOS13. Could you please report memory usage of the system_server process to me? It should be normally around 100MB, but easily reaches 180...250MB with the bug, rendering the phone un-usable at the end of the road, because on every switch to standby / switch on - cycle, it will consume an additional 2MB. You can watch this with apps like OS Monitor or Simple System Monitor.

Another way to check is running the following shell command (type apostrophes exactly as shown!):

su -c 'procmem `pgrep system_server`' | grep 2040K.*pvrsrvkm | wc -l

The returned number should be 0 most of the time and anything above 1 is an indication of the memory leak.

(A patch for LOS13 is already on the go https://review.lineageos.org/#/c/179453/ but there needs to be another cherry pick to finally activate it.)
[Motorola Droid 4] Shplad:
u.b.o.o.t:

Thanks for that. I'll bookmark it, but at the moment, I'd like to focus on the issues I've already brought up. Any suggestions?

I don't want to sound ungrateful. I'm simply amazed at how much time, effort and dedication the developers put into this project. That being said (and I know I'm gonna get flamed for this)...

First, no one can suggest a guide as to how to remove Personally identifiable info. from a logcat file? This strikes me as a basic problem.

The ability to edit a logcat file assumes at least basic coding skills/knowledge or some minimal knowledge of Android internals, which many of us don't have.

I know all the developers are dedicated, busy people. That being said, if people like me want to contribute, maybe it could be made easier us to do something as simple as that. Again, not meaning to point the finger, but one has to visit several webpages to figure out how to download and install ADB, connect, get a log report. Then there is no warning (that I could find) in the documentation that there is/might be personal information in the logcat file. A logcat file is mandatory, or a bug report is ignored. There is no tool designed to do it for the user. If that is not possible, or technically challenging, perhaps a tool could be written that at least suggests certain changes in the log that would be shown to users so they could decide for themselves? I'm thinking kinda like the spell checker in MS Word, where it suggests, but asks before making the change.

As for the issue you mentioned, I am supposed to issue an "su" command from where on the phone? Is there a terminal app? How do I get there? Doesn't the phone have to be rooted first?
[Motorola Droid 4] u.b.o.o.t:
I don't mean to offend you. but could you please focus these things in dedicated Q&A forum https://xdaforums.com/droid-4/help ? Most of the issues you have been lengthily discussing here are not specific to LOS13. If you open up a Q&A-thread e.g. on how-to-logcat, I'm glad to help, but please let's keep this thread clean for LOS13-specific bugs and issues.
[Motorola Droid 4] Shplad:
u.b.o.o.t:

Thanks for just discounting my posting. I didn't see anyone posting in reply in this forum that they were familar with bug reports or fixes for:

network, no internet indicator

flaky PC connectivity problem

zero balance/airtime message from carrier problem

Just so I'm clear, what precisely is supposed to be posted in this forum, and the other you mentioned?

EDIT: Removed ring screen problem as it may not be a problem at all
[Motorola Droid 4] RScholar:
Hi Kr3pt,

I ran into the same issue as you and had to take a stroll through the LOS Bug Tracker myself, and I believe I found the relevant information. This issue was already reported not long after the build came out, and the underlying issue is that a few of the necessary modules were accidentally omitted from the two most recent builds of LOS13 for our Droid 4s. The person who filed the bug report reported that resolving the issue was as simple as downloading the lineage-13.0-20170527-nightly-maserati-signed.zip build located here https ://mirrorbits.lineageos .org/full/maserati/20170527 /lineage-13.0-20170527-nightly -maserati-signed.zip (spaces removed, of course) and from the file manager on the device, extract the /system/lib/modules folder from the zip and copy any files it contains that are missing from the same folder in your phone's filesystem. His report stated that there were only six files present but 23 in the older build, meaning there were 17 that needed copying. Once the files are in place, it's a simple matter of restarting the device and viola, bluetooth came back to life. I haven't had a chance to test this on my own device since I'm away from home, but I thought I would at least pass along the information since you seemed to find the bug tracker a bit cryptic. I hope this helps us both; best of luck to you.
[Motorola Droid 4] kr3pt:
Ill give it a shot shortly. Cheers. I'll let you know my findings. Is this bluetooth fix only or wifi too?
[Motorola Droid 4] Shplad:
RScholar:

It would be more helpful if you posted the bugtracker link. Linky?

---------- Post added at 10:41 PM ---------- Previous post was at 10:38 PM ----------

uboot:

I'm trying to run this from ADB. Will that work? I tried your command, but just inserted the shell parameter in there, and it just complained that it couldn't find grep on the system . I guess that's cause by default Windows (pre Win10) has no grep installed?
[Motorola Droid 4] RScholar:
I can't speak to its effectiveness for your WiFi issue, as I only experienced the Bluetooth problem you described. I extracted the files and placed them in my /system/lib/modules folder this afternoon and it certainly did resolve my problem in being able to turn on the Bluetooth radio. Several of the files did have 80211 in their name so it wouldn't surprise me if this fixed that as well for you.

One thing I did note while applying this fix was that when I extracted the files on my microSD card, they were created with root as the owner but sdcard as the group, so I had to chown root:root to all the moved files once they were in place. I also did chmod 0644 (-rw-r--r--) to all of them so they matched the files that were already in the folder. As promised, after rebooting the phone, Bluetooth worked like a charm. I hope your results are the same.

---------- Post added at 04:24 PM ---------- Previous post was at 04:20 PM ----------

Sorry about that. Here it is: https ://mello. link/2tKHh2J (Please pardon the spaces, I don't have the ability to post outside links.)
[Motorola Droid 4] Shplad:
https://mello.link/2tKHh2

Even without the spaces, this doesn't appear for me to be a valid link.
[Motorola Droid 4] tobby88:
For sure it's valid :) You missed the last character. https://mello.link/2tKHh2J
[Motorola Droid 4] u.b.o.o.t:
You need to connect via "adb shell"-command first, then enter the command sequence I pointed out. Otherwise, adb will only run the first command on the device and all succeeding ones (i.e. those after the first pipe operator |) will be run on your computer. That's why you received the grep-not-found-error. There's no grep on Windows ;)
[Motorola Droid 4] Shplad:
Wow, this is highly unstable. I can't even get the phone to stay connected to Windows for more than about 10 seconds. And Motorola Device Manager keeps trying to update even though there are no updates. Is there some way to make this thing talk to a PC for long enough to do anything?
[Motorola Droid 4] u.b.o.o.t:
kill motorola device manager ;) you don't need it for adb... alternatively: use linux...
[Motorola Droid 4] Shplad:
When I try to run that command via ADB to get memory numbers, this is what I get

C:\platform-tools>adb shell
7[r[999;999H[6n8shell@maserati:/ $ su -c 'procmem `pgrep system_server`' |
'procmem `pgrep system_server`' | grep 2040K.*pvrsrvkm | wc -l <
/system/bin/sh: su: not found
0

Does that mean I have to install something else to make SU run?
[Motorola Droid 4] u.b.o.o.t:
Yes, that's what I tried to explain to you via PM: you have to flash a separate zip file in order to have proper root access. Otherwise, the su command is missing. This is explained in a side-note about "Su addon" in Post #1 of this thread. Just download this file and flash it via safestrap: http://droid.cs.fau.de/lineage-13.0/addonsu/addonsu-arm.zip
[Motorola Droid 4] K_Meleon:
Is anyone here who managed to install (the latest) LineageOS (lineage-13.0-20170610-nightly-maserati-signed.zip) in safe slot?

As I had to start from scratch with my Droid 4 (dead end because stock slot was updated from LOS13 to 14.1 without su), I had to flash stock ROM again (to get root access and be able to reinstall safestrap which was overwritten). I tried to install LOS13 in safe slot again...without any success. It's working in any virtual slot and in stock (at least for me) but not in safe slot. Same issue as described in https://xdaforums.com/showpost.php?p=71251957&postcount=495. How can I analyze that issue? All filesystems are ext3 except data that is formatted as ext4. Any idea?

Thanks!
[Motorola Droid 4] Shplad:
Back to being highly unstable. Even with Motorola Device Manager disabled (process killed), the phone will not keep a connection reliably. This morning it will only do so for a few seconds before the connection disappears. I have tested it in stock Android 4.1.2 and it is stable, so it's not likely the hardware or usb cable. There are other bug reports about this for LOS 13. With respect, I don't think this behaviour is limited to my situation- I believe it's Lineage.

Any other suggestions?
[Motorola Droid 4] Shplad:
RScholar/Anyone:

Oops! Wrong forum. Please delete.
[Motorola Droid 4] mobileanimal:
Hi fellow Droid 4 Lovers and Keyboardists!

I've been testing CM13 on my D4 over the past year, but keep reverting back to CM11 because of 2 huge annoyances:

1. The added steps to unlock the phone when using PIN entry.

If you enabled the "Directly show PIN entry" option you lose the clock and status bar like there was in CM11. There also isn't an option any more to unlock immediately after correct PIN entry. So, this adds two steps just to unlock my phone when I have a notification to check. I've tried all other locker apps to no avail.

2. The notification drawer panel width in landscape mode is the same as in portrait mode, so you lose a ton of panel real estate when using the phone in landscape with the keyboard that we all love to use. I just tested out CM14 and Resurrection Remix ROM and the notification drawer panel takes up about 80% of the screen width vs about 50% of the screen width in CM13. There has to be somewhere that this can be configured? I can't use CM14 yet since there's no xposed support.

I've seen gobs of other people complain about these issues elsewhere, but no solutions. Does anyone have any ideas to correct these issues?
[Motorola Droid 4] Shplad:
Hmmm..an interesting development I thought the devs should know. I AM able to connect to my Droid 4 to a PC via USB under LOS 13 using my laptop. It's a Thinkpad T410s. So, that means the USB connectivity instability problem may include more than one factor; 1) LOS 13 AND 2) the type of computer or USB ports, perhaps. Just wanted to let you all know.
[Motorola Droid 4] Shplad:
another quick note for the devs (and then I'll stop posting here): Adding the missing files in the /lib/modules folder appears to have fixed enabling of Bluetooth, but it has also turned my USB connectivity stable and predictable.

One thing it did not fix is the "Connected, No Internet" message, even though I have a stable Internet connection.
[Motorola Droid 4] Careless_:
can you post a zip containing the module files, or a mirror containing the 05/27 release?

it is no longer downloadable from the lineageOS site, and I am missing those files. the current release does not have them either.

someone please contribute them to the thread.
[Motorola Droid 4] u.b.o.o.t:
Attached you'll find a zip with all modules from lineage-13.0-20170520-nightly-maserati-signed.zip - hopefully sufficient to solve your problems.

That's all I have because I switched to Lineage 14.1 after that.

But you may also try modules from Lineage 14.1 because it's the same kernel...
[Motorola Droid 4] Shplad:
I used the modules from 20170520 and they (appear to) work just fine. No problems yet that I can tell.
[Motorola Droid 4] Careless_:
shiiiiiiiiiiiiiiiiiiiiiiii

thanks guys. i tried modules from the only zip i had left, from late 2016- and it didn't boot, so I just installed the rom again and that's what I'm using until I figure out why Lineage 14.1 doesn't install using the move-apps script.
[Motorola Droid 4] Shplad:
EDIT: Sorry, posted to the wrong forum. I wanted this to be posted to Droid 4 Q&A, Help & Troubleshooting

Any chance a MOD can move it for me?

Can anyone tell me if there's some sort of code or screen to tell me about the <long term> battery life or condition of the current battery? There is that complex code listed for Marshmallow, but apparently Cyanogen took it out, and I assume it is still out of this ROM. In any case, I tried it, and it didn't work. Is there something that works to tell me long-term battery health of my current battery?

Thanks

---------- Post added at 09:13 PM ---------- Previous post was at 09:00 PM ----------

Oh, and while I'm at it, how much faster would LOS 14.x be on my Droid 4 than LOS 13?
[Motorola Droid 4] hannor:
Dear Stargo, just a quick feedback for improvement purpose: wireless screen does not work (screencast, miracast, etc.).
[Motorola Droid 4] Puppymang:
screencast/miracast was never supported in droid 4 and i recall stargo mentioning attempting to implement it back in the 4.4.4 days but he never mentioned anything about it again. at this point i'd say its not a priority and we probably won't see it happening.
[Motorola Droid 4] hannor:
Thank you for your answer. It is a pity since screencast is a very cool feature - I have a wireless projector, my Xperia SP & my Blackberry Priv both work with it :)
[Motorola Droid 4] own3mall:
Does someone have links to the last stable version of LineageOS 13 for Droid 4 along with the GApps zip? I'd like to run this version.
[Motorola Droid 4] Bobcus Leper:
Go here.

http://droid.cs.fau.de
[Motorola Droid 4] own3mall:
Thanks! Got it installed and running, but how do I root this image / get apps to run as root? I ran the root installer for the official firmware... what do I need to do for this?

---------- Post added at 11:24 PM ---------- Previous post was at 10:27 PM ----------

OK, I got it rooted by going to Settings -> About Phone -> and tapping on the build number 5 times. Then I had developer options where I could enable it.

Does anyone know how to increase performance on this image? What can I do to speed it up? It seems pretty slow compared to the stock firmware (which was slow too, but not this slow...)
[Motorola Droid 4] belrei:
use microG instead of GApps
[Motorola Droid 4] own3mall:
How do you install microG? Do you install it during the flashing process in Safestrap (using a zip), or do you install it manually once LineageOS is installed using the apk?

Back to the main topic of this thread:

I created a guide here (including a file mirror) for anyone trying to install this version of LineageOS (running Android 6.0.1) from start to finish on their Droid 4 phone:

https://dev.x-null.net/own3mall/droid4-motorola-root-and-tether-hack

I hope it helps.
[Motorola Droid 4] belrei:
see post #5 ff in this thread
[Motorola Droid 4] own3mall:
Anyone have this keyboard input problem with this LineageOS image?

[YOUTUBE]https://www.youtube.com/watch?v=KdILQEnGdSM[/YOUTUBE]

Edit, the video above doesn't work embeded, but here's the link: https://www.youtube.com/watch?v=KdILQEnGdSM

When using the keyboard on my phone (the keyboard is slid-out in position), when I tap into input fields and they gain focus (you can see a flashing cursor), a blank white screen fills up the entire display so that I can't see what I'm writing. If I press the back button on my phone, the screen goes away, and I'm able to see what I'm writing unless I re-tap the area again to regain focus... then the screen shows up again. It's very annoying.

Anyone know how to fix this?
[Motorola Droid 4] Careless_:
Yeah I have that problem too. Not sure what it is or if it was due to some other app I had installed so I didn't really bother to mention it, but it seems prevalent in the nightly builds since later December.
[Motorola Droid 4] schmatzler:
I had this problem on LOS14 and I was able to fix it by going into the settings for the physical keyboard and disable the option for showing the virtual keyboard when the physical keyboard is active.

("Bildschirmtastatur anzeigen" in German, too lazy to check what's it called in English. :P)
[Motorola Droid 4] own3mall:
Where exactly are those settings? I looked in "Language & input", but I couldn't find a virtual keyboard setting in LineageOS 13.

---------- Post added at 01:58 AM ---------- Previous post was at 01:55 AM ----------

I can't add any new APN profiles to the phone. When I save my changes or add a new APN profile, it does nothing. Anyone have a fix for this? Need to adjust some settings for Page Plus.
[Motorola Droid 4] own3mall:
The APN problem: https://xdaforums.com/lineage/help/edit-add-custom-apn-cellular-profiles-t3743778

Still don't know how to fix the keyboard issue that happens every now and again.
[Motorola Droid 4] aiamuzz:
[MENTION=3457922]stargo[/MENTION] ...

as most of us are using custom ROM's on our Droid 4's on a slot other than the system slot(primarily due to a small /system partition), i was wondering if there was any possibility of a combination of Android Go and Magisk-Gapps for our Droid 4's ... may be one last gasp for this device ?
[Motorola Droid 4] stargo:
Hi,

from my unsuccessful tries it seems unfeasible to get a useable working version of Oreo on the Moto Omap4s. Too many changes which kill our prebuilt blobs.

Best regards,

Michael