yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 4] joefuf:
So I went ahead and ordered a battery off of Amazon. Replacing was the easiest thing the world.

I wanted to see if I noticed a difference, and I think it might have actually made a huge difference. Below are screenshots of the battery level over several hours. Not even a full 10% drop.

[IMG="1"]http://i.imgur.com/cDfMZIg.jpg[/IMG]

[IMG="2"]http://i.imgur.com/mclHKOg.jpg[/IMG]

What I also noticed though was the wifi wakelocks were also gone. This phone is on the Stock OS and I just bought it used off eBay. I haven't flashed CM 13 yet, but I noticed from this alone there seems to be quite the reprieve in wakelocks. Is this normal for Stock vs CM? Are there any other factors?
[Motorola Droid 4] Shani Ace:
There's an app called rootcloak...
[Motorola Droid 4] Shani Ace:
That's exactly what happened to me, so you found no way to fix this?

Do you happen to still have the file for that nightly? Or do you know where I could find that one, because CM themselves only have nightlies from May.

Thanks in advance!
[Motorola Droid 4] Careless_:
i've been asking the same question a couple of times now, and i haven't seen anyone reply- so i guess this is me asking for a 3rd time now.

maybe its time for a new phone :crying:
[Motorola Droid 4] synpse:
Yeah. msg me n give me somewhere to upload the thing..

i just updated to the uhm.. 04182016 release? yesterday. and didn't wipe out the old rom from my SD card.

---------- Post added at 11:23 AM ---------- Previous post was at 10:38 AM ----------

http://www.filedropper.com/cm-130-20160329-nightly-maserati
[Motorola Droid 4] Shani Ace:
It actually worked for me (4/19 snapshot), don't know how exactly. Before I installed gapps, I had installed Safestrap. Then after installing gapps, Google Play Services would always shut down. So I uninstalled Safestrap (because it's 17MB and the only app I could uninstall) in Android and rebooted. I think (?) I made a factory reset in recovery and then flashed the pico gapps again.

The next time I looked at the phone it was running Android without any problems and the Play Store was there. I went to see how much memory is left and then installed Safestrap again, no problems at all.

I was actually doing this for someone who bought my D4. I'm switching to a S6 edge plus with the official Keyboard cover or a Blackberry Priv. Haven't decided yet.

So far everything feels snappy and is definitely faster than with CM11. Although this could also be due to the "fresh ROM" effect, who knows...

[MENTION=4389797]synpse[/MENTION]: Thanks anyway for that download link!
[Motorola Droid 4] Shaker1978:
I haven't tried anymore, because I am using the Photon Q now and I didn't need the CM13 on my Droid4. I'm well off with CM12 there...
[Motorola Droid 4] Shani Ace:
Oh ok, is it in any way (not just the specs) better than the Droid 4? I just googled it and it seems to have the same keyboard.
[Motorola Droid 4] u.b.o.o.t:
Slightly bigger screen, 2x1.5GHz, no SIM-slot (you can buy modded Q with SIM-slot soldered in on Ebay, though). The lack of a SIM slot made me buy the Droid 4.
[Motorola Droid 4] u.b.o.o.t:
Back to topic btw: did anyone manage to get Chainfire's SuperSU working with CM13 on his Droid 4?

I once tried it but it didn't manage to update su binary.

AFAIK, SuperSU tries to modify boot image and seems to have trouble with Safestrap.

I need SuperSU for some apps like ToggleNetwork which don't work with CM13 built-in root because of SELinux being strict (and I don't want to make it permissive).
[Motorola Droid 4] christr:
So two things i've noticed so far with mine that's bugging me. I can't pair with my car (uconnect). But it was paired from the upgrade... stupid me unpaired it and tried repairing and now *Poof*. :(

Another bit, is mute in call doesn't appear to be working.... as I found out Friday when I was on a conference call and my coworkers heard my McDonalds order. :) Amusing, but I had to buy McD's for half the office.

--Chris
[Motorola Droid 4] Careless_:
I thought that didn't work anymore because lack of busybox?
[Motorola Droid 4] KusioST:
Wrong place. Pleace delete this post.
[Motorola Droid 4] u.b.o.o.t:
According to this thread, SuperSU does work with CM13: http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344

What bothers me is: there is a systemless install method (which tries to patch initrd!) and a classical one and I'm not sure which one is compatible with Safestrap and CM13 on the Droid 4.
[Motorola Droid 4] JLPDA:
This is still an unresolved issue. Does anyone have information on this BT bug and not being able to enter PIN Code when pairing some devices?
[Motorola Droid 4] Pitagoras2000:
Hi, does anyone have a problem with the GPS? Fix my position only when screen is off.
[Motorola Droid 4] Zero5295:
Been Gone A While

Hey guys,

So what's actually not working with this ROM? Is it good enough to use as a daily driver? I'm dusting off my Droid 4 (moved to the HTC One M8, then the LG G4) and wanting to use it as a workout phone. Light usage, maybe a few apps on there besides the basics. This ROM looks promising, ordered a new battery for my D4 an hour ago in preparation. Thanks!
[Motorola Droid 4] Pitagoras2000:
At this moment the biggest problem is not working properly bluetooth - sometimes not pairing with computer/headset. In my Droid is still a problem with GPS - fix position only when screen is off, but I don't know if it's not a problem with hardware.

But rest is ok, usable for daily ROM. I recommend flash custom kernel link and optimalization from here. Optional custom layout for keyboard - here.
[Motorola Droid 4] kzin42:
I'm currently using "cm-13.0-20160506-NIGHTLY-maserati" with the "cm-13-OC-FullScale-Lite-2016-05-03" kernel from: http://xdaforums.com/droid-4/development/wip-marshmallow-custom-droid-4-razr-oc-t3281830

There is an issue with Wifi, former connections will not automatically connect, you have to select them manually when you turn it on. not a biggie.

Also have had a few calls missed, phone did not ring, was in the same room with me. this has only happened a few times though.

I'm using as my daily
[Motorola Droid 4] Zero5295:
Are you using the version of the hacker keyboard that's for cm12 or the original one? I installed the nightly from 5/14, installed the same kernel as the gent above me. I also installed L Speed, but we'll see if I use it.
[Motorola Droid 4] Pitagoras2000:
For CM12. The only difference from the original is change in omap4-keypad.kl WAKE_LOCK to WAKE.
[Motorola Droid 4] Zero5295:
Hmm, every time I try to flash it, it says that it's getting an error and won't flash. I'm going to try downloading the mod directly to my phone and seeing if that makes a difference.

P.S: Got the same error.

Error flashing zip '/sdcard/download/Hacker-Keyboard_CM12.1.zip'
[Motorola Droid 4] Pitagoras2000:
I did not even know that there is an error with flashing - I always manually replace files and chmod with file manager in recovery, because I edit keychars for my language (You know, some special letters).

So, just unpack omap4-keypad.kcm and omap4-keypad.kl from zip, replace it in system/usr/keychars + system/usr/keylayout and don't foget to change permissions to rw-r-r (chmod 644).
[Motorola Droid 4] Zero5295:
Worked perfectly, thank you much!
[Motorola Droid 4] highlandsun:
I get intermittent audio from SIPdroid - both the ringtone is broken up, as well as in-call audio. In-call audio is also broken using SIP with the built in Phone's SIP support, but regular cellular calls work fine. The browser locks up on me quite often, and during those times the Recent Apps button (long press on Home) hangs too. Using the last April "release".
[Motorola Droid 4] stargo:
Hi,

Full-duplex recording/playback is broken in the stable snapshots, only fixed in the nightlies currently. The last snapshot was only a security update, so it didn't contain any other fixes (like the audio fix).

Hmm, which browser? The integrated one seems to be ok, but the phone likes to run out of memory...

Cheers,

Michael
[Motorola Droid 4] u.b.o.o.t:
As far as I can tell, CM13 with built-in root works well with Titanium Backup. The only issue I have is with Tasker Plugins like Secure Settings and Toggle Network, which do require SuperSU for switching mobile data and GSM/WCDMA because only SuperSU supports non-permissive SELinux.

But SuperSU does not seem to work with current CM13.0 builds due to ramdisk / SafeStrap incompatibility.

Please: if anyone managed to get SuperSU working, please tell us how!

Regarding web browsers: I'm very happy with Opera Mini.
[Motorola Droid 4] highlandsun:
Thanks stargo, I grabbed the latest nightly and now SIP audio is working.
[Motorola Droid 4] squarepusher782:
It is very convenient to use NUM_LOCK key to switch languages on hard keyboard - actually on/off num lock modes are supported and you can assign different symbols in omap4-keypad.kcm having assigned NUM_LOCK to OK 232 button. But, this stoped working after some update two months ago. Could there be a workaround? Is num lock no more supported?
[Motorola Droid 4] Careless_:
does bluetooth work again, or is it still broken?
[Motorola Droid 4] highlandsun:
Bluetooth with my car worked fine, placed a call without any trouble.
[Motorola Droid 4] aiamuzz:
Thanks Michael ... for the continued support.

1. There is no support for external sd permission on this ROM (the xml file has this entry missing) ... As a result apps that need external sd card support are in operable as we don't have that permission to enable

2. A stable Wi-Fi fix is long over due. Wi-Fi scan and connect is still a nagging issue. Switching off and back on does not work. I need to open Wi-Fi settings manually tap on the Wi-Fi and tap on connect. Only then do i have a successful connection. Moreover Wi-Fi disconnects on standby. And need to go about manually every time.

an automatic Wi-Fi connection on wake and when within range is reprieve long hoped for.

Thanks
[Motorola Droid 4] martin9959:
Oh, that sounds interesting! I'm afraid, I can't help you with your problem, but I would curious to learn how your NUM_LOCK trick worked - I tried to achieve somewhat the same goal by assigning CAPS_LOCK to the OK button, and by modifying /system/usr/keychars/omap4-keypad.kcm to something like:

key A {
label: 'A'
base: 'a'
shift:	'A'
capslock: '\u03b1'
shift+capslock: '\u0391'
ralt:	'\u00e4'
shift+ralt:	'\u00c4'
}

and the like. Did you do the same just with Num Lock instead of Caps Lock? Anyway, the Caps Lock thing has worked fine for me until now (I'm currently on the nightly of 14/05), so it might be a workaround if Num Lock doesn't work any more for some reason.

Obviously, it would be even better if there was a way to actually *switch* layouts instead of integrating everything into one big layout - that could eventually allow for switching at the same time the error correction language and the virtual keyboard as well.
[Motorola Droid 4] Careless_:
sometimes wifi's on/off button isn't even usable at the settings screen. its just greyed out and doesn't move in either direction.
[Motorola Droid 4] squarepusher782:
Sorry, my bad. it works well - this was due to omap keyboard has not been set to default. You can use NUM_LOCK in this way:

key A {

label: 'A'

base: 'a'

shift, capslock: 'A'

ctrl, alt, meta: none

numlock: '\u0444'

numlock+shift, numlock+capslock: '\u0424'

}

and this is quite convenient to choose between leyouts. Would be more ellegant to assign the LED on keyboard(which is on when caps lock on) to NUM LOCK mode. This setting in kl file, actually, doesn't work:

led 0x01 NUM_LOCK

led 0x00 CAPS_LOCK. Thank you!
[Motorola Droid 4] EvilDragon17:
Listening to music still stutters in my car (tried DroidSound and SubSonic). :(
[Motorola Droid 4] Careless_:
which rom version are you using?
[Motorola Droid 4] EvilDragon17:
I was using the nightly from May 22nd, now I've upgraded to the latest nightly yesterday but haven't tried since.
[Motorola Droid 4] u.b.o.o.t:
Did you wipe anything prior to updating?

I upgraded from nightly 20160526 to 2016060 yesterday, but it didn't boot (cyanogenmod-logo didn't even show up). I then reverted back to previous rom and everything was fine.

The only issue I occasionally have is camera app being unable to connect to camera hardware.

EDIT: Sometimes I also have reboots on incoming SMS or calls with nightly 20160526.
[Motorola Droid 4] Mankei:
Some Issues

First I want to thank you guys for your great work. This ROM is working amazingly well in daily use.

But there are some things I would really love to see fixed:

-swyping on keyboard without gapps (Ok, this might be a bigger problem)

-music is scuttering while played via hdmi

-getting spirit fm to work like you did for cm 12.1

I am currently using the 20160608 build. Do you need any further information?
[Motorola Droid 4] Puppymang:
this is totally offtopic but how did you get spirit fm to work on cm12.1? it worked for me in cm11 but when i try it on cm12.1 it just doesnt work

its not that big of a deal to me so i just kinda gave up but itd be nice to have it again
[Motorola Droid 4] Mankei:
I think some version of Spirit UL (unlocked) worked. But I installed it on my exes phone... So it's not that easy to check, which one it was.
[Motorola Droid 4] 71evin:
Does anyone have 4g connection on Maserati`s rom? Because I have only 3g - hspa.
[Motorola Droid 4] highlandsun:
If you have 3G / HSPA then you are not in North America. The 4G only works on Verizon's network, 700MHz. (And the 3G/HSPA is blocked in North America.)
[Motorola Droid 4] 71evin:
I`m outside North America. But recently my phone provider started 4g service and I have friends with other phones models that displayed 4g where is signal status on their screen.
[Motorola Droid 4] treefidi:
I'm finding CM13.0 absolutely terrible.

- Flakey bluetooth. I often have to reboot the phone before it'll pair with a device and it often stop WiFi from working

- Redesigned Music and Messaging apps missing features from old versions

- It's slow. I mean SLOW. Everything takes a few seconds to respond. The screen takes so long to wake up when a call comes that the call is missed. Whatsapp and other messaging apps lock up the phone for seconds while they process key input

I've been on nightlies for the past few months, and for the first month or so it was fine but around the time someone added some bluetooth patches it became horrible. I don't know if the source code got worse or my phone showed its true performance as I loaded it up with my original apps but I'm ready to downgrade back to CM11 as soon as I work out whether I can downgrade the MMSSMS database.

Is anyone having the same experience or is it just me? This was a fresh phone, with a new ROM slot.

EDIT: I remembered another problem; audio like WAV, 3GP, etc (but not MP3 and FLAC) doesn't play properly, so when I try to play a sound someone's sent through Whatsapp it's slow and jerky and can't play it in real time.

---------- Post added at 03:23 AM ---------- Previous post was at 03:13 AM ----------

You can fix this by copying the libjni_latinimegoogle.so lib into the /system/lib folder and setting the correct permissions. Gesture typing will work after that.

---------- Post added at 03:27 AM ---------- Previous post was at 03:23 AM ----------

The phone only supports 4G on 700MHz band 13. From the Wikipedia page on LTE bands, the only other providers who use this apart from Verizon are Open Mobile in Puerto Rico, FLOW in Turks and Caicos Islands, and Entel in Bolivia. Otherwise 3.5G is the best we'll get.
[Motorola Droid 4] u.b.o.o.t:
I'm also a bit mixed about cm13 performance... I tried running it on internal partitions (http://xdaforums.com/droid-4/development/wip-safestrap-3-75-unused-partitions-t3023932), but it didn't make a difference and with newer nightlies I didn't even manage to make it boot (I patched ramdisk myself, but this worked only up to 20160526 build, later builds will just get stuck on a black screen, no cm logo). Overall, the internal flash is very slow in terms of random read/write access. Even my 2011 Xperia Pro is way faster in that discipline. But this could be due to a different filesystem (yaffs), which is better suited for flash than ext3. Unfortunately, the Droid4 has only 3.0 kernel, otherwise f2fs would be a promising option.

But one thing that definitely made it more responsive for me is increasing ZRAM swap size to 400MB and setting swappiness=100! Read here for an extensive study on memory tuning: https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1
[Motorola Droid 4] drnessie:
How did you do this? Does it require a custom kernel or just some configs? I am only on CM13 because it started showing up as a CM update on my CM11 install. I am considering wiping my phone and going back due to how unresponsive this thing is.
[Motorola Droid 4] Bobcus Leper:
Use kernel adiutor from the Google Play Store. Once in the app, find the "Virtual Memory" tab. There you can change your ZRAM and swap values.

https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
[Motorola Droid 4] giannhs_n:
use those lines on init.d or on terminal on every boot

swapoff /dev/block/zram0

echo 1 > /sys/block/zram0/reset

#

# setting zram size to 400 mb

echo 396286400 > /sys/block/zram0/disksize

#

# making zram swapable

mkswap /dev/block/zram0

#

# starting swap on zram

swapon /dev/block/zram0

sysctl -w vm.swappiness=100

sysctl -w vm.vfs_cache_pressure=100
[Motorola Droid 4] stargo:
Hi,

I'm probably going to merge this: http://review.cyanogenmod.org/#/c/150323/

It coincidentally includes the changes you are talking about.

Cheers,

Michael
[Motorola Droid 4] Bobcus Leper:
My phone's performance seems better that it was beforehand. I haven't had any lags, black screens, or force reboots yet. So far so good. I will give this nightly a few weeks and report back later.
[Motorola Droid 4] carlosirai:
I Just make a clean install yesterday and runs well... The only thing is i cant install in safe slot. I dont understand hoy to do it, im New with The droid 4

Enviado desde mi E2104 mediante Tapatalk
[Motorola Droid 4] Careless_:
which nightly are you using? did you try bluetooth audio to see if stuttering is still a problem?
[Motorola Droid 4] Septfox:
[MENTION=3457922]stargo[/MENTION]

Commit 150769 made me think a bit in the opposite direction...

Is there any way to make KSMing load-dependent? Is its usage enough to be worth the trouble?

E.g. during moderate to high CPU loads - lets say >60% - skip performing the KSM scan and repeat while at or above that level, with the intention of leaving the CPU time for other threads and possibly improving UX.

Once load drops - user is reading something or making a decision - grab the opportunity to perform a scan or three and merge pages before letting the CPU fully idle down. Maybe even crank the number of pages up a bit to compensate and take advantage of the processor being "free".
[Motorola Droid 4] Mankei:
How can I manage to get things like alt+o => ö and stuff like that working again. Since the last few patches, my omap4 keychar/keylayout workaround stopped working
[Motorola Droid 4] carlosirai:
How can i install this in the stock slot ? It always send error, i have it in slot 1 and is a little slow, then i install it in safe slot and run fast but too low memory, cant install anything even gapps. Somebody help me!!!!

Enviado desde mi XT894 mediante Tapatalk
[Motorola Droid 4] Septfox:
Define "error". Safestrap throws a variety of errors, some more useful than others.

To install in the stock slot, you'll need to use a small Gapps (nano/pico ideally), since there isn't enough room for larger ones. Using a larger gapps will fill the partition up completely, fail to flash everything successfully and assuming it doesn't immediately start throwing errors when you boot up (due to some apps only being partially copied) probably cause problems down the road with anything that tries writing to /system.
[Motorola Droid 4] stargo:
Hi,

It's running with low priority so it will not get scheduled while higher-priority processes are running.

Cheers,

Michael
[Motorola Droid 4] carlosirai:
This is the error

Thanks in advice

P.S. Im using mentors SS 3.75

Enviado desde mi E2104 mediante Tapatalk
[Motorola Droid 4] carlosirai:
Bump

Enviado desde mi XT894 mediante Tapatalk
[Motorola Droid 4] Septfox:
Sorry, forgot about this.

Wild guesses:

- Damaged filesystem

- Full partition (CM package didn't wipe properly > copies new files in > out of space, some files fail > tries to symlink to missing files > fails), though that seems doubtful.

- Upgrade scripts aren't present/doing their job

Try wiping the partition before flashing.

If you're flashing directly from stock Jellybean, try stepping through KitKat first (Flash CM11 first, flash CM12 or 13 over that). Previously, the CM12 package didn't perform some of the housecleaning that CM11 did, so stepping through that was necessary. I would guess that the scripts are included these days, but it doesn't hurt to make sure.
[Motorola Droid 4] jaqjacek:
Since last weak I can't change brightness. Its always on max. Flashing new nightly from today an latest RR the same thing. Someone else have this issue. Same with cm13 milestone from April probably hardware issue
[Motorola Droid 4] Careless_:
just installed the latest nightly over 3-26 version. seems like no issues upgrading from all the way back at that date to the latest nightly. works really well. no issues yet.

going to test bluetooth stuttering tomorrow.

i just installed the latest nightly and have no issues with screen brightness controls. seems to change fine for me. perhaps the hardware modulator for the backlight is stuck in a default always-bright mode if it has a failsafe. not a bad thing, lol. better than stuck in the off mode.
[Motorola Droid 4] sdlev:
Firstly, thanks for bringing CM13 to the Droid4.

I've been following this thread and using it on my phone for quite a while now with very few problems.

The only real niggle for me has been the Wifi connectivity issue.

I've been following the CM Nightly commit logs, trying snapshots that contain changes that might make a difference, so as a result tried the 20160722 nightly after seeing the 'wlan: (backport) Fix scan timestamps to android expectations' commit which was the first relevant looking commit I've seen since (20160626 my last installed nightly).

This appears to have made a significant difference, in that I can still connect to my home wifi automatically after the phone being on 3 days, It would stop connecting before a day was out before (maybe after a deep sleep, but not certain of the circumstances). It also connected to a public hotspot without intervention yesterday as well.

Here's hoping that continues!

Cheers,

Simon.,