[Motorola Droid 4] Ohmster:
04/12 UNOFFICIAL is great, screenrecord never did work

EDIT 4/19/2015:

[MENTION=4772154]lucize[/MENTION] did help me with syntax corrections today. The screenrecord feature does very much work. The proper syntax for using it in terminal that worked for me, pointed out by lucize is:

$ su

# screenrecord --bit-rate 4000000 --time-limit 20 /sdcard/test3.mp4

Sorry [MENTION=3457922]stargo[/MENTION] I think I "shot from the lip instead of the hip" in this case. :o

The 04/12 UNOFFICIAL rom is *very* good. The rest of this post is now confirmed to be inaccurate. Sorry for the confusion.

[MENTION=3457922]stargo[/MENTION] thanks again for giving us these fantastic new roms to use. I am from the Razer Development thread but I think you visit this thread more often so it is a good venue for passing on appreciation and information from us, to you.

What is to follow is FYI ONLY. No action on your part is requested or necessary. :)

I really like this 04/12 spyder rom a lot. the umts_spyder tests revealed that there was a slight lag to light screen when pressing the power button. 4 hard buttons light, screen does not light or is backlit, but dark. For me, it was more of a minor irritation than a real issue. I don't see much, if any, of it in the 04/12 build.

One thing you might not be aware of (I wasn't until just now.) is that the built in screenrecord feature really does not work on the Razr phones. Probably does not work on any of the OMAP4 devices. This is not terribly important and I only found this out while trying the feature from the APM+ Xposed Module. It comes with a Power Menu feature to create a screenrecord by using the built in feature in cm11. It does not work. Makes an mp4 file in the set destination, but locks up the phone and fails to properly close the file, the phone self reboots. I contacted the developer of APM+, [MENTION=4414937]kennethso168[/MENTION] for "instructions".

He told me this is really just a front end for the built in feature, primarily used with adb in a root shell, and if working properly, should work the same in a root terminal session. I decided to try the adb method. "STDOUT" on the command and output is as follows:

C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>adb shell
?7?[r?[999;999H?[6nroot@cdma_spyder:/ # screenrecord --bit-rate 4000000 --time-limit 20 /sdcard/test.mp4
00 --time-limit 20 /sdcard/test.mp4 <
ERROR: unable to configure codec (err=-2147483648)
WARNING: failed at 540x960, retrying at 720x1280
^C
C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools>

It appeared to be working quite well and I stopped it with a Control-C as you can see. I found the test.mp4 on my sdcard, it did have a thumbnail and played quite well from start to finish. It was SO good that I "fogot I was watching a movie" and tried to work my phone, thinking it didn't work until I tapped the screen and saw the Pause || come up. Hah! I unpaused it and let the video finish. No audio but yes, it did work just fine.

When I repeated this very same procedure in the Terminal window as root, I got the exact same code response as you see above, but at the bottom of the screen, I got the "Superuser has been granted to Terminal" message and it did not go away. The phone froze right up. I had to do a hard reboot or wait for it to crash and reboot on it's own. The terminal screen was *exactly* the same as the code above, but stopped right before the ^C and the phone froze up right there. No usable mp4 file produced.

So, the screenrecord that comes with the cm11 spyder build file is buggy. Actually I don't think it ever worked.

Not asking you to fix it or anything, just thought you should know. This is "your baby" and the more you know about it, the better you will be able to work on it. :)

Thanks again Michael for the awesome new roms! Just wanted to share what I found out. Take care my friend! :D