yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] ACiD GRiM:
HDMI on 10.2 12/05

I'm running 12/05 nightly and am not able to get HDMI out to display on my lapdock. Would anyone be able to confirm if HDMI works? I want to see if it's just my lapdock, or the phone. I've done a factory reset and reinstall, and I'm going to try going back to stock in a bit. I've also tried the CM11 nighties to no avail.

I checked log cat, and I'm seeing messages from Display Manager services that say device added/removed, and the screen flickers. I don't have a mini USB adapter to try with my TV, but if a Dev is interested I'm happy to PM my log cat from when the HDMI is connected to when the phone settles.

After checking for any personal information, I attached the log cat anyway. Hope someone can help because I'm really looking forward to getting this working.
[Motorola Photon Q 4G LTE] Loader009:
I'll check this in about 5 hours.

My setup:

Photon Q -> miniHDMI to HDMI adapter cable -> HDMI cable -> fullHD TV

The picture was always upscaled when I tried this earlier but it worked.
[Motorola Photon Q 4G LTE] ACiD GRiM:
Thank you. I wonder what we're doing differently. I flashed/wiped back to stock JB 4.2 and it worked immediately. I then installed just the 10.2 12/5 nightly and got the same behavior as before, no display, however I found that the screen didn't rotate and USB mouse/keyboard didn't work until I installed Gapps. Are you using the 2013/08/13 Gapps?
[Motorola Photon Q 4G LTE] Loader009:
I'm not sure which gapps version I have installed (I don't have it completely installed, only a few things of gapps). I will look if I am back home but I'm sure that it's that version.

Anyway, with my setup I had earlier no problems, it shouldn't be a gapps problem.
[Motorola Photon Q 4G LTE] ACiD GRiM:
I'm thinking its something kernel module related because I found that I can see the boot screen availible on stock, however in CM 10.2, no boot screen. This is looking like something that's past my abilities if that's the case. I'm going to poke around to see if there's a module that doesn't get loaded I can insert. I get this on both Arrrrrgh's and standard CM. Unfortunately the skrillaz build bot folder at droid-developers is down, so I can't try his build again.

can you post the output of lsmod when you're connected and mirroring when you get a chance?
[Motorola Photon Q 4G LTE] tobby88:
LapDock isn't working with my Photon Q as well :(

Keyboard works, Touchpad works, but no image on screen.
[Motorola Photon Q 4G LTE] Loader009:
You need to tell me how or give me a link to a tutorial.

I'm not a noob in PC, Windows. But I am still unexperienced with some dev tools of linux and android.

Well, my TV shows my the screen of my PhotonQ without issues.

1080p 60Hz, looks to be upscaled as always (never tested a high quality 1080p movie).
[Motorola Photon Q 4G LTE] ACiD GRiM:
Alright, if you open up a terminal, type "lsmod", im interested in the output listing drivers loaded. And if you could post a log cat starting from just before connecting HDMI to after the phone settles, that might help me compare what actions are happening, in fact that might be more direct than lsmod.

The tool I use for log cat is catlog, and I have the Main and Events log on.

Thanks again!
[Motorola Photon Q 4G LTE] ACiD GRiM:
Whelp, I reviewed both our log cats and the same actions are occurring, so it's unfortunately looking to be beyond my abilities since android behaves much differently than the linux systems I'm used to administering. You mentioned dmesg, which is a good idea, I'm going to take a look at mine to see if I can pick up any errors there.

Still frustrating that I can't get it to work even after a full wipe, back to stock, and re-upgrade. I'm going to keep hammering at this, but hopefully I don't become the definition of insanity.
[Motorola Photon Q 4G LTE] Loader009:
Something that might interest you:

I always format/wipe the /system partition before I put a (completely) new ROM.

So for cm10.2 I had a clean /system partition, to make sure that no moto apps are installed.

I had earlier also noticed that (with my old sdcard) I had problems with installing from external_sd, for installing new ROMs and updates I use internal storage.

This way I was pretty sure that everything was installed correctly and the ROMs have been installed 'clean'.
[Motorola Photon Q 4G LTE] ACiD GRiM:
I'm gonna give it a shot, I thought stock had to be installed first for CM to work since it needs proprietary files?

Could you also post your dmesg? I see that there's an error in mine that says "unsupported resolution" that is interesting. It's appearing that my phone is sending the res of 720x480, which is weird, since mirroring would require the same 920x540 resolution as my screen.
[Motorola Photon Q 4G LTE] arrrghhh:
The phone comes with stock, I'm not sure what you mean here... Not like they ship phones without an OS.
[Motorola Photon Q 4G LTE] kabaldan:
The installation of any CM update package starts by format of /system (after back-up of potentially installed gapps).

The necessary proprietary files are already part of the CM package.

The stock ROM prerequisite concerns mainly the version of BP firmware installed on the phone (CM installation doesn't touch BP).

Believe it or not, there's no HDMI device used in my household. So I haven't used the HDMI connector on my Qs so far.

And I'm afraid that HDMI is not much used by other razrqcom-dev team members as well.

Anyway, it's definitely a kernel issue.

I've already purchased the micro HDMI cable to be able to debug it, but I haven't got to testing it yet (there's no TV here, just a monitor connected via DVI to our HTPC :) ).
[Motorola Photon Q 4G LTE] arrrghhh:
I've never even considered plugging my phone into my TV... Ever since Chromecast, that seems thoroughly unnecessary :p.

But, I guess it would be a neat feature. I might buy a cable, but 99% positive I won't be the one to fix it!
[Motorola Photon Q 4G LTE] ACiD GRiM:
I believe DVI and HDMI are interchangeable as long as an hdmi/dvi adapter is used.

Well I've got $20 on it, so as long as you don't buy a monster cable :p should cover it.

my main reason isn't just for tv, i have chroot Linux installed and I'm hoping i can use the lapdock as some unholy android/chromebook chimera. I've got a handle on most of the bugs I posted about here after digging myself and scripting around cyanogen's typical handling, but kernel land is not my strong point.

I believe the reason it works for [MENTION=4724631]Loader009[/MENTION] is likely because his TV is 1080p, which is listed in /sys/devices/virtual/graphics/fb1/modes, however on my lapdock, which I believe has a native resolution of 1366x768, which is not listed, and the 720x480 may be too small for it to display properly.

Glad to see there's a little interest.

Edit: So I went back to stock to poke around a little more, and did found that the modes listed in fb1 sys are identical to the CM 10.2 version as well as arrrghhh's (obviously). I'll post a dmesg soon.
[Motorola Photon Q 4G LTE] Loader009:
Nice to know, thanks.

Since on the milestone the /system partition wasn't formatted, I thought this would be on all phones. (It was my first android device.)

I formatted/wiped on the milestone the /system partition because there stayed a few moto-apps without the format/wipe.

That is what concerns me.

Possibly some EDID features have been removed from the kernel?

Correct, DVI and HDMI are electronically compatible, a passive adapter is enough for this.

Probably the webtop is a dvi display with hdmi adapter built in.

The best thing you could do is:

PhotonQ -> miniHDMI to HDMI adapter cable -> HDMI to DVI adapter -> DVI display with a resolution of 1366x768 (maybe one that cannot display 720x480)

This should reproduce this issue.

Since not everybody have such a display, you might try if on a display with a 16:10 resolution, but I believe the PhotonQ will use the next possible 16:9 resolution.

PS: My 1920x1200 display have HDMI and DVI on it, I will test this later.

I will also take a look at dmesg later.
[Motorola Photon Q 4G LTE] kabaldan:
It was formatted (unless buggy recovery version was used). Standard CM install procedure. See e.g. the beginning of Milestone CM9 updater-script:

ui_print("Welcome to 9.1.0e-umts_sholes!");
assert(getprop("ro.product.device") == "umts_sholes" || getprop("ro.build.product") == "umts_sholes" || getprop("ro.product.board") == "umts_sholes");
mount("yaffs2", "MTD", "system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
[B]format("yaffs2", "MTD", "system", 0);[/B]
mount("yaffs2", "MTD", "system", "/system");
...
[Motorola Photon Q 4G LTE] Loader009:
Yeah, never looked in that script.

I believe this way it could be possible to use another mtd-compatible filesystem.

But this is another thing and just a thought as long as I don't get another phone to experiment with.

(Together with a way to theoretically change partition sizes on mtd systems.)
[Motorola Photon Q 4G LTE] Braccoz:
i find this interesting, but i can't help as of now cause i've yet to receive the phone...

anyway, the last thing you said sprung me an idea... if you can't write to that file it may be a permission issue. you should modify the ramdisk init to allow write permissions to that and try again

it would be not the first time that CM roms have issues like that

edit: i also believe there could be a daemon that handles part of the stuff, should be hdmid (on stock)
[Motorola Photon Q 4G LTE] Loader009:
I'm sorry, it might take a while until I test, the next few days I haven't very much time so I probably won't test anything or look into dmesg.
[Motorola Photon Q 4G LTE] saint_tm:
Hi can someone please upload CM10.2 20131203/20131204/20131205 (GSM). The old links are dead and it looks like I've broke my phone by trying to flash CM10.2-20131203 to CM11 with CWM, then I've used the only CM10.2 there is cm-10.2-20131102-SNAPSHOT-M1-xt897.zip but some apps like Play Store, QR Droid,... only show as shortcuts but won't start also data transefer for most apps doesn't work (both 3G and WiFi - the icon is always grey, GTalk, Opera won't connect but the weather widget seem to be fine).
[Motorola Photon Q 4G LTE] ACiD GRiM:
Can you not download the lastest from cyanogenmod.org? That's what I'm having to use right now, no ext_sd swap like in the Skrillax site, but most everything is the same.
[Motorola Photon Q 4G LTE] saint_tm:
The problem is there is only cm-10.2-20131102-SNAPSHOT-M1-xt897 with is older then 20131203 that I had installed before the mixup with CM11 (error status 7 - cwm but I couldn't boot to CM after that). The 20131102 is what I have installed right now but it's not working properly probably because it's a downgrade from 20131203.

I was just hoping that someone has a backup zip and could upload it, all the official mirrors have been deleted, only the snapshot remains.

And the skrilax site links don't work either (skrilax.droid-developers.org)
[Motorola Photon Q 4G LTE] ACiD GRiM:
I didnt see any process called hdmid running in stock. I also just threw deodexed framework and moto dock services + others on top of cm 10.2 which didnt cause issues, but it doesnt appear that any stock app is acting like a helper for the hdmi system.

/sys is mounted RW and the directories are also writeable by root. Since they're kernel memory objects, just viewable as a filesystem. If the kernel isn't letting them be written, it's not necessarily a permissions issue.
[Motorola Photon Q 4G LTE] The Solutor:
If you don't have a backup of your data done before the cm11 installation no version will ever work fine w/o a wipe.

Your phone is not working right just because you are using the data coming from cm11.

To get working your phone with cm11 you have to restore the whole phone (data included) from a nandroid backup.

or

install any cm10.x on a wiped phone, and then restore one by one the data with titanium backup.

If you haven't any of the two I'm afraid you have to start from scratch and reinstall all the sw you need.
[Motorola Photon Q 4G LTE] saint_tm:
The CM11 installation was interrupted at the beginning the progress bar didn't fill at all "Error status 7", could that be enough to mess up the apps and data transfer?
[Motorola Photon Q 4G LTE] arrrghhh:
As previous guy said, if you don't have a backup the best idea is to just factory reset.

Always, always, always take a backup before flashing anything.
[Motorola Photon Q 4G LTE] saint_tm:
Ok, I get it but could someone provide a working CM10.2 from the last few days 03-05.12.2013 if that won't work I'll do the reset.
[Motorola Photon Q 4G LTE] The Solutor:
http://sdrv.ms/1994hZX

Here you are.

I'm sure you will waste your time, but if you want to try...
[Motorola Photon Q 4G LTE] tobby88:
Just uploaded them to Mega.

CM10.2 - newest official build: cm-10.2-20131205-NIGHTLY-xt897.zip 186.5 MB

CM10.2 - newest build by skrillax: cm-10.2-20131205-NIGHTLY-skrilax-xt897.zip 186.3 MB
[Motorola Photon Q 4G LTE] saint_tm:
Yup, did the reset and wipe but it did not help still had problems with data transfer in Play Store, Opera and GMail worked fine. Then used twrp2 but it could'n flash CM11 ROM (used the newest version of twrp and ROM) finally found a working mirror for Skrilax's open recovery (open_recovery_209_25_11_2013) and that worked just fine. Anyway thanks for the upload I'm sure someone will use it.
[Motorola Photon Q 4G LTE] arrrghhh:
You need my beta version of TWRP to flash KK ROM's, I still haven't updated the official one.
[Motorola Photon Q 4G LTE] Zixione:
Can you post a link? It definitely will be good to have related links handy here and not to crawl each time the whole internet while Skrilax's site is down.
[Motorola Photon Q 4G LTE] saint_tm:
Sure, mirrors:

MEGA: open_recovery_209_25_11_2013.img

ZIPPY: open_recovery_209_25_11_2013.img

SENDSPACE: open_recovery_209_25_11_2013.img
[Motorola Photon Q 4G LTE] Zixione:
Thanx!! Can someone also mirror

? To any filesharing service EXCEPT MEGA.

As I'm now trying to download about 28 times from MEGA and every time it saves file with wrong size - from 20 to 150Mb.
[Motorola Photon Q 4G LTE] saint_tm:
Was able to upload to zippy even with my crappy ISP. Hope zippy is ok cm-10.2-20131205-NIGHTLY-skrilax-xt897.zip
[Motorola Photon Q 4G LTE] tobby88:
Just did a test, was able to download both files from mega at first try. Maybe your PC or internetconnection is buggy? Maybe a bad transparent proxy caching a broken version of the file?

Anyway, uploaded them both to Zippy:

cm-10.2-20131205-NIGHTLY-skrilax-xt897.zip

cm-10.2-20131205-NIGHTLY-xt897.zip
[Motorola Photon Q 4G LTE] Loader009:
Probably a torrent would be best for bad connections.

Any interests? (I would search for an open tracker and make a torrent to download. DHT might be also a way.)
[Motorola Photon Q 4G LTE] kecksk0enig:
Use bittorrent sync ( http://www.bittorrent.com/sync )
[Motorola Photon Q 4G LTE] Loader009:
Nah, no third party app...

If it can make a torrent file, it's ok but nothing that requires a specific application.
[Motorola Photon Q 4G LTE] stevie13.xo:
Sounds like the audio stutter is fixed
[Motorola Photon Q 4G LTE] powerarmor:
I was running on 10.1. Today I tried to upgrade to 10.2.

Can you explain why I cannot flash anything beyond "cm-10.2-20131102-SNAPSHOT-M1-xt897.zip" ???

After installing the snapshot, I tried with nightly builds from 12/20 and 12/16. No luck.

I am getting "set_metadata recursive some changes failed", status error.
[Motorola Photon Q 4G LTE] Loader009:
Maybe your recovery is not kitkat compatible?

12/20 and 12/16 are kitkat/cm11 roms!

Lastest cm10.2 is from 12/05 afair.
[Motorola Photon Q 4G LTE] powerarmor:
Ok, so now I know how people mess up their phones :).

Anyway - at the moment I have the 2013-11-02 snapshot installed. As i presume, you are talking about CDMA (12/05), and I'm looking for GSM version.

Is that snapshot the latest build? If not, can you please give me a link where I can download the latest one with 10.2?

Also, I'm new in flashing roms- and my phone is acting a bit weird after messing up with incorrect installations (catlog shows errors all the time). How would you suggest to proceed? I just wiped data/cache/dalvik and flashed the snapshot after the set_metadata error.
[Motorola Photon Q 4G LTE] stevie13.xo:
I would go about updating your recovery and install cm11 it's running nicely on mine so far with the latest update.. Can't find anything that doesn't work
[Motorola Photon Q 4G LTE] Loader009:
I'm using the GSM version.

I think it is the latest cm10.2 build, but I'm not sure.

Here you find the Skrilax version and the official one. (I'm using the first one.):

I haven't updated to cm11, I want to wait until it's considered as daily usable by the developers. (Or wait for a cm11 thread from the devs.)

I don't know if a downgrade from cm 11 to cm10.2 is possible, you can make a backup (with the nandroid feature in the recovery) and try it out.
[Motorola Photon Q 4G LTE] kecksk0enig:
Is there any news when skrillex buildbot will be avaible again? Is there any way to help you out?
[Motorola Photon Q 4G LTE] powerarmor:
Appreciate all the help guys!

I'm on 12/05 rom and will stick with it for some time :)

Anyway, one more thing bothers me- if I want a complete, clean, new install of a rom- after formating system in CWM, do I have to flash something else before the CM 10.2 ? I mean- in the first post Skrilax writes "It is necessary to flash stock JB first to flash CM10.2!!!". Did I understood it correctly?
[Motorola Photon Q 4G LTE] arrrghhh:
That step is necessary for the GPS to properly function on some devices. Really, he just wants to ensure that everyone comes from the same platform, so there's no questions about what was flashed previously. It's not a requirement, just a recommendation (again, it's mainly if you have issues with GPS).

So don't let it bother you, factory reset in CWM is fine for your needs.
[Motorola Photon Q 4G LTE] Loader009:
If I understood kabaldans post, I think it's mainly to be sure that the BP firmware is the 'newest' one.

Of course that might also affect GPS.

edit: Of course it would be nice to read some information about Skrilax's server.

But since we have christmas and new year in front of us, this can of course wait a few weeks :)
[Motorola Photon Q 4G LTE] kubago:
Hi Skrillax,

CM OTA updates does not work. Can you please repair it?

Also entire webpage with builds does not work http://skrilax.droid-developers.org/cm10.2nightly/razrqcom/

Thanks :)
[Motorola Photon Q 4G LTE] tobby88:
Reading the latest posts helps...

OTA of CM10.2 works great.

If you want to install CM11 (via recovery or OTA), you need a KitKat compatible Recovery, like a beta-build of TWRP (linked a few times somewhere here in the thread and in other threads) or Open Recovery. See here: http://xdaforums.com/showthread.php?p=48697383&postcount=455

Skrillax webpage is down because of a HDD failure, as mentioned somewhere here in the thread, too.
[Motorola Photon Q 4G LTE] kubago:
Thank you for reply tobby88.

I'm aware of that I need Kitkat compatible recovery. I have OpenRecovery 2.09 by Skrillax which is KitKat compatible and OTA updates still doesnt work (my build is 20131110 cm10.2). When I try refresh list of nightlies I get only "New version check failed, Check your internet connection and try again".

So I think it has something to do with Skrillax webpage down maybe?

EDIT: OK, I found latest cm10.2 nightlies (20131205) so I will flash this :)
[Motorola Photon Q 4G LTE] pir8man:
I have been running the CM 10.2 12052013 release since it came out. Everything has gone well for a month.

For the past few days however, I cannot receive ANY text messages. I have not made any major changes, just updates of apps. So I am very confused. I know in the early days of CM10.x we had SMS issues. I have not had any since I started running 10.2 about 4 months ago. I have Google Voice setup and can see the text messages arrive in my account, but they do not arrive to my phone.

Has anyone had issues with SMS lately. Any fix/workaround?

Last night to try and resolve it, I did a factory wipe, reinstall of CM10.2, gapps, and Kernel. I then used Titanium Backup to restore my apps and some of my settings. SMS still fails to receive.
[Motorola Photon Q 4G LTE] arrrghhh:
How are you using SMS with GV. Are you using the GV app? Voice+? Send SMS directly to the phone? Hangouts?

I use the GV app, works great here.
[Motorola Photon Q 4G LTE] pir8man:
It was the GV app causing the problem. Somehow its settings changed. Maybe on update. But I found the setting and they are setup again.

Sent via mobile.
[Motorola Photon Q 4G LTE] kecksk0enig:
Hi there :)

Are there any news about skrilax build server/ otas?

Or is this beeing abandoned?

Should we switch to official cm11?

Will there be a build by team razerqcom for cm 11?

Thank you in advance
[Motorola Photon Q 4G LTE] mionica:
++that;

the feature I'm missing the most in CM11 is the double-keypress to get the accented characters; and while KK is undoubtably the way to go (w/ ART - battery life is awesome!), I think there's definitely a case for -skrillaz CM11 builds...

Just my 2 cents.
[Motorola Photon Q 4G LTE] matt2k12:
Is there any way to access these unofficial nightlies? I am looking for the 9/23 CM 10.2 nightly. The link in the OP is dead.
[Motorola Photon Q 4G LTE] pir8man:
I have been wondering the same...

I was running the CM10.2-1205 release until I realized that 4G-LTE gradually stopped working. I rolled back to stock rom to update the PRL. When I decided to re-upgrade my rom, I came to check the current status and find there is still no CM11 thread to read up on the current status. this thread is for CM10.2 but development there has halted(?).

On CM download servers, I find a new CM10.2.1 release, but cannot find any information about it. The CM11 nightlies stopped on 2/18, but I cannot find if they will be continuing or if the project is abandoned.

Can we get some clarification on CM for PhotonQ status?... preferably in the OP.
[Motorola Photon Q 4G LTE] kecksk0enig:
There are current cm11 builds. Head over to

http://xdaforums.com/showthread.php?t=2558491

However the builds end up un 4/18 because all msm8960 based phones are now together avaible under the tag msm8960.

Read the above link, as dev nadlabak (part of the razercomq team) answers support-questions on that thread.

IDK why skrilax_cz does not show up here/closes this thread withredirect to official builds.
[Motorola Photon Q 4G LTE] pir8man:
thx for the link!

strange to find a support thread for a custom rom in the general section. oh well a mod will fix it or not :)

EDIT: Reading following post, and the previous one, I suggest we close this thread as all cm-10.2 development has ceased.
[Motorola Photon Q 4G LTE] kabaldan:
Support threads never belonged to the development section on XDA - the development section was always meant solely for a discussion between developers.

But ROM threads in the dev section always turn into a general support thread anyway, sooner or later. And users without enough posts are frustrated that they can't post there.

So I've decided to not start new CM11 thread here and stick with the existing thread in the general section.

I've put a notice about the switch from xt897 specific to moto_msm8960 unified builds on CM wiki: http://wiki.cyanogenmod.org/w/Xt897_Info , so users should be able to find the new builds...
[Motorola Photon Q 4G LTE] liquidmetalrob:
Sorry if this is a stupid question but how do I know if I should install the GSM or CDMA version?
[Motorola Photon Q 4G LTE] arrrghhh:
Well, it kinda depends on if you're using a GSM or CDMA network (depends on your provider & location)

Assuming your profile is accurate, you'll want GSM - there are no CDMA networks in the UK ;)