yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] Loader009:
Yes, there are several codes but I don't remember all of them.

On cm the qualcomm app isn't present. So there is no way to get QPST working in cm (theoretically). It might be enough to copy the app but I think there will be some modules/framework missing.
[Motorola Photon Q 4G LTE] eigerzoom:
maybe this could work?

http://xdaforums.com/showthread.php?t=1815580
[Motorola Photon Q 4G LTE] tcrimsonk:
Wow; I'm really impressed with the response. Thank you all!
[Motorola Photon Q 4G LTE] kabaldan:
The log isn't much helpful. The truth is that a2dp playback has been plagued on android in general (at least for qcom chipsets) since 4.2 when the switch to bluedroid happened. The issues are not moto msm8960 specific.

Let's see if the recently merged a2dp related commits help:

http://review.cyanogenmod.org/63222

http://review.cyanogenmod.org/63223

I will have to get myself some a2dp headphones for proper a2dp evaluation, so far I've been checking it only via streaming from phone to PC with a2dp sink stack installed.
[Motorola Photon Q 4G LTE] Loader009:
Nice, I'll test tomorrow the next new build.

Will any logs help? Maybe more verbosity level? (somehow)

I also read about "event underrun case for LPA/Tunnel".

Is it possible that LPA is still active?
[Motorola Photon Q 4G LTE] EpicSaga:
CM10 or CM11

I'm debating whether I want to wait for CM11 Stable or if I want to put the latest stable Cyanogen Mod Rom on my phone. Would that be the

cm-10.2.1-xt897.zip http://download.cyanogenmod.org/?device=xt897 or cm-10.1.3-xt897c.zip http://download.cyanogenmod.org

/?device=xt897c(CDMA)? It's a Sprint Motorola Phone Q LTE. I've also seen that there is the moto_msm8960. What is the difference?

How would I update it from CM10 to CM11?

Thank you
[Motorola Photon Q 4G LTE] arrrghhh:
Going from CM10 --> 11 you need to clean flash, just like any new ROM (factory reset).

As for the recommended version, grab moto_msm8960 CM11. Whatever is the latest. moto_msm8960 is the new device name for all the moto's which share the same SoC (Razr HD, Razr M, etc).

xt897/c shouldn't be used/downloaded anymore.

Don't let the 'nightly' moniker scare you - it's really quite stable.
[Motorola Photon Q 4G LTE] Loader009:
I had today some weird FCs. (Build 03/05/2014; DD/MM/YYYY)

Music Player running (Apollo), WhatsApp and Threema.

In background was ES File Explorer and Quickpic shortly used.

I was writing inside of Threema and the screen froze. Just nothing happened. The music was still playing.

I turned off the screen, turned it on again and it was on, but still the frozen screen. Touching the screen anywhere didn't help.

So I turned it off again and on, nothing happened. I pushed the nice button a few times and heard a (WhatsApp) message notification.

The screen stayed off.

I had to force reset it (nice little trick with VOLDown+Power for about 10 seconds did it). Now I noticed that Chrome was defective (no update received today). Probably the file system was damaged.

Would a dmesg help in such a case? (I got several FCs with this build already.)

I am not sure if the dmesg do survive a force reset.

I tested today but sadly the issue still exists. (Build 03/05/2014; DD/MM/YYYY)

I am also able to reproduce the issue with a specific song/mp3 file. (No problems with the headphone-port, only with bluetooth/A2DP.)

Sadly the file is copyrighted... I will look if I can create another mp3 with similiar settings.

(Has someone a favourite and free song for this? If possible in flac so I can encode to mp3 with a nice bandwith. Otherwise I will reencode another mp3.)

Theoretically it is possible that the bluetooth encoder isn't having enough resources to encode into the A2DP format.

Since those two commits doesn't help, I have no clue.
[Motorola Photon Q 4G LTE] kabaldan:
1. Razr HD users are reporting similar issues since the merge of the new theme engine (= since the April 13th nightly). I've had it on my xt897 only once so far (a few days ago). It's not specific to xt897 device nor moto_msm8960 builds in any way. Since CM11 M6 release, many reports started to appear on CM JIRA, usually ending at https://jira.cyanogenmod.org/browse/CYAN-4047 (other reports marked as duplicate of it).

Something seems to trigger a massive memory leak in SystemUI under certain conditions, causing it to freeze or crash eventually. It's being investigated. Simple logs alone won't help in this case. To find a method how to reproduce reliably and repeatedly this issue would help though, so the detailed tracking of the memory heap and/or specific debugging in such situation could be done.

2. Both a2dp commits I referenced before were reverted before making it to any nightly, so it's not surprising that the issue persisted for you.

I've got myself a2dp headphones in the meanwhile, to be able to test it. I can now confirm occasional drop-outs.

Good news may be that I'm now testing a new build with http://review.cyanogenmod.org/63499 merged and so far I haven't experienced a single drop-out/skip. Though more testing will be needed before it can be confirmed as fixed.

Please test the next nightly.
[Motorola Photon Q 4G LTE] Loader009:
2. That sounds great!

It's weekend and I think I won't forget to test. Since I now know how (ow) to reproduce it easily, I am able to confirm it pretty fast.

1. It might also do something with the task manager or it's also affected (of course, the whole system is).

I noticed for quite some time that the task manager isn't always showing every task it should. Close and reopen helps.

Sometimes (I am not able to reproduce it reliably) it just show no task.

That's probably one of the issues that happens since the new theme engine, I guess.
[Motorola Photon Q 4G LTE] CornholioGSM:
.....razr HD soak is out...so maybe you can build with new kernel :)
[Motorola Photon Q 4G LTE] Loader009:
Maybe the A2DP bluetooth device is defective, I experienced some "hickups" with a Galaxy S4. Looks like I have to test it on more devices and more intensive.

My Surface Pro 2 had no problems.
[Motorola Photon Q 4G LTE] kabaldan:
Kernel source has to be published first. And the source will most likely need some love to get it going on xt897 as it's unlikely to be ready out of the box for Photon Q.

There's not even a system dump available at this point (so we could update at least some binary blobs), as the so far leaked OTA is an incremental patch against a firmware build for which there is no sbf available.

The updated Razr HD phones will need a new custom recovery to be built first, to be able to do the system dump. The old custom recoveries are not working after update, most likely because devicetree partition is not used any more (replaced by dt.img, now part of boot/recovery image).
[Motorola Photon Q 4G LTE] kabaldan:
Good news is that the dt.img contained in the recovery image from Razr HD 4.4.2 leak contains also entries for Asanti device (Photon Q).

E.g. there are references to our display panel - mipi_mot_cmd_auo_qhd_430.

This could mean that the 3.4 kernel for which source release we are waiting will support our Q rather well :) .
[Motorola Photon Q 4G LTE] CornholioGSM:
...hooray :)
[Motorola Photon Q 4G LTE] kecksk0enig:
Since the few latest nightlies (possible after M6) I do have problems with my connection.

After a fresh bootup the gsm/2g&3g connections are up and running. however after a few hours they are dropped, I am only able to do emergency calls.

There is no way to reenable Mobile Data/GSM without rebooting the phone.

If I select mobile network in Settings menu I get an selection window in which I can chose to open mobil network with either Sim-Settings or networksettings.

If i open it with Simsettings I am told ther is no sim inserted.

However a reboot of the phone solves this "no sim present" issue and i have connectivity for the next few hours.

Anyone else experiencing those issues on simcard modded photon Q?

Any hints besid reflashing of pre M6 nightly?

Any hints where i may find nighltys previose to M6 milestone?

Thank you in advance
[Motorola Photon Q 4G LTE] mrvek:
There is a chance your sim mod became loose what causes the "no sim card" error because contacts lose conectivity and our device does not support sim hotswapping so a connection to the sim can not be established without a reboot.

I had the same issue and had to do to the mod repair. The sim slot was replaced but this time with its "holder" (don't know the correct terminology, I should probably take photo of it). And for those past ≈5 months not a single sim connection drop.

Btw, this was thorughly dicussed in Cornholio's sim mod thread so you might take a look about other possibilities for this issue (assuming it is not some recent change in the OS which it shouldn't be, e.g. I have no problems with connectivity).
[Motorola Photon Q 4G LTE] kabaldan:
I second mrvek's reply - it's most likely HW issue that has been discussed in the sim mod thread.

No such issues happening here (since I've got the SIM card that finally works).
[Motorola Photon Q 4G LTE] kabaldan:
Test build for the SystemUI freeze and excessive memory usage issue:

Dropbox: cm-11-20140512-UNOFFICIAL-moto_msm8960.zip

Built from current CM11 source without https://github.com/CyanogenMod/android_external_skia/commit/c2807ac91187a30afe0e3e5755e2eabfdc9b9d1b plus http://review.cyanogenmod.org/63806 cherry-picked.

Let me know how it works for you, thanks.
[Motorola Photon Q 4G LTE] niko99:
downloading and testing ... let you know asap
[Motorola Photon Q 4G LTE] kecksk0enig:
thanks for th sugestions. I did read the latestes pages on Sim Mod. My Q was modded by cornoliho himself, and did work since then.

Even if i did not touch the phone the network connection drops at some point.

I did a full wipe and reinstalled latest nightly -> till now problem gone ( there now isonly one option to set network settings also). I think something became loose on daily new nightly update.

Also I think the phone can do "hot swap sim" either with forcing airplanmode or not.
[Motorola Photon Q 4G LTE] mrvek:
Test it: with a running and working system - remove sim card, leave it for second or so then insert sim again to see if phone will detect and enable it.
[Motorola Photon Q 4G LTE] kecksk0enig:
You are right it needs a full reboot cirlce to detect the sim again.

Hopfully there is no hardware defect :(. If the error reoccures i will try with different sim
[Motorola Photon Q 4G LTE] kabaldan:
Actually, the SIM card can be made hot swappable under strict conditions.

Please be aware that it all happens between the proprietary RIL library, modem firmware and SIM card - CM can't build this stuff from source to change how it works. These are proprietary pieces of code we can hack with hexeditor at max, not to recompile it.

There's a property persist.radio.apm_sim_not_pwdn read by libril-qc-qmi-1.so, which controls it.

This property is set to 1 by default, which means that the SIM card won't power down when entering airplane mode.

When the property is set 0, libril-qc-qmi-1 will ask modem to power down the SIM when entering airplane mode and the SIM will be reset and re-initialized when leaving airplane mode.

So with persist.radio.apm_sim_not_pwdn = 0, you can hot swap SIM cards without reboot. But you have to enter airplane mode while the current SIM card is active. Then, when in airplane mode, you can swap the cards. Then leave the airplane mode. After that, the new SIM should work fine.

However, if the connection to SIM card has been lost before you enter airplane mode, the SIM interface won't power down upon entering airplane mode and toggling airplane mode won't bring your SIM card from the lost state, no matter how the persist.radio.apm_sim_not_pwdn is set.

I'm not aware of any recent changes in CM that could affect how the modem manages the connection to SIM card. I'm using CM11 as my daily driver and I'm usually on my own test builds very close to current nightlies. I'm not experiencing any SIM card related issues.
[Motorola Photon Q 4G LTE] kecksk0enig:
This issue arrises from nowhere the phone did not drop or was otherwise abused. Previouse to that the current microsim worked flawlessy in the Q. The mod was done in January/February 2013 by CornolihoGSM (a latter one with sim card reader).

Since then I did not swap sim card once and had no problems with it.

Is it possible that SIMs themself get damaged somhow?

Anyway the apm_sim_not_pwdn option wont help because at the moment one wants to "toggle sim" it ist already disconnected and thus will not reappear after airplane mode.

I will monitor this issue and change sim if it reoccures.

Thank you for looking @ this issue and for the fast explanation/help.
[Motorola Photon Q 4G LTE] niko99:
[MENTION=2218140]kabaldan[/MENTION]

Dropbox: cm-11-20140512-UNOFFICIAL-moto_msm8960.zip

i tested and firs issue what i got is unable to play youtube ( i try from app and on chrome ) i unistall yt apk and wipe all .. move loading but never show up.

Somebody can give me a link to older version CM11 ( older than M6 was come out ) from 05.03 or older :)
[Motorola Photon Q 4G LTE] kabaldan:
The test build for the SystemUI freeze and excessive memory usage issue has been re-built and re-uploaded, YouTube streaming fixed. Please re-download and re-install. Sorry for the derp.

Dropbox: cm-11-20140512-UNOFFICIAL-moto_msm8960.zip

android.doshaska.net: cm-11-20140512-UNOFFICIAL-moto_msm8960.zip (mirror)
[Motorola Photon Q 4G LTE] CornholioGSM:
NO NOOOO!!! dont do this on powered on modded photon!

This is not good because + pin in sim slot is connected constantly and pulling out sim card makes short circuit between VCC and Ground!
[Motorola Photon Q 4G LTE] mrvek:
I must have been lucky then ;)

Or sim mod done differently. Hm...
[Motorola Photon Q 4G LTE] EpicSaga:
Someone told me that the Stable versions are the safest and the others can damage the phone. Is this one stable? http://download.cyanogenmod.org/?device=xt897
[Motorola Photon Q 4G LTE] arrrghhh:
Any aftermarket ROM can damage the phone potentially. Flashing anything 'custom' voids the warranty and could potentially harm the device.

With that said, if you follow the directions it's actually pretty difficult to break the device. I would go with the moto_msm8960 downloads:

http://download.cyanogenmod.org/?device=moto_msm8960

They have snapshot builds if you don't want nightlies..
[Motorola Photon Q 4G LTE] EpicSaga:
What's the difference?
[Motorola Photon Q 4G LTE] Solust:
Snapshot builds are labeled "M" for "milestone". These are the builds that are the most stable. They aren't guaranteed to be perfectly stable, but they tend to have fewer problems than the "nightly" builds. CM has stopped labeling builds as "stable" because on some phones it's just not possible to have a stable build with absolutely everything working seamlessly.
[Motorola Photon Q 4G LTE] Loader009:
I had a crash yesterday evening with this build.

Yesterday I read some news and while I was watching an image within this news app, the softbuttons disappeared (after I switched to landscape). Then I pressed a few times "tab" and "enter". The CyanogenMod Bootlogo appeared and after a half hour nothing other happened.

I had to force reset.
[Motorola Photon Q 4G LTE] niko99:
I have that same + wrong display some landscape navigation buttons
[Motorola Photon Q 4G LTE] EpicSaga:
What is the difference in the six types of builds? Does it start with the safest builds at the top, i.e. "stable", and then go down to the least safest, "experiments"?

---------- Post added at 11:54 PM ---------- Previous post was at 11:37 PM ----------

I downloaded an app on my Epic that I saw here on XDA called "AirDroid". One of the features it has is that it activates the hotspot. I need to activate my Photon Q. If I can't figure out the steps to get CM11 on my Photon Q soon enough, and use the built in hotspot, would using the hotspot through AirDroid be free or would it trigger Sprint to charge me?
[Motorola Photon Q 4G LTE] kabaldan:
05-17 nightly with supposedly final fix for the SystemUI freezes ( http://review.cyanogenmod.org/64114 ) has been published just now:

http://download.cyanogenmod.org/?device=moto_msm8960
[Motorola Photon Q 4G LTE] niko99:
we test it again with pleasure :D
[Motorola Photon Q 4G LTE] arrrghhh:
Why not just use the built-in hotspot provided in CM? I've never used AirDroid, no clue if that would trigger Sprint to charge you or not. I've always used the built-in one, never had an issue with charges.

I tested that skia patch, so far so good. Thanks!
[Motorola Photon Q 4G LTE] EpicSaga:
It's the steps to going from stock to flashing CM11 is what I'm not familiar with and don't totally understand. I'm used to flashing roms on the Epic 4G and the process is entirely different. I followed the youtube videos to flash my Epic 4G and I don't see any with the entire process for the Photon Q. I did find this one http://www.youtube.com/watch?v=MYrjm8Ihz5M I've never had to deal with unlocking a bootloader before and there is no way of pulling the battery to reset the phone. I do want to flash CM11 to the Photon Q once I've activated it. I only have one phone for personal use and I'm afraid of bricking it.
[Motorola Photon Q 4G LTE] arrrghhh:
I just followed this guide when I first unlocked...

The flashing process, once you have custom recovery, is pretty standard. Factory reset (wipe's data without /data/media, or "internal" SD) when switching ROM's, or if you are going from CM nightly to CM nightly you can skip the wipe step and just 'install' the CM .zip. You can use adb sideload, or copy the zip to the phone/SD card and flash it from there...
[Motorola Photon Q 4G LTE] mrvek:
Do you know if there are any issues with this propery enabled?

It seems that, while enabled (or disabled, acctually, I set it to 0), it causes "paritial sim dropouts" for no apparent reason. Occasionaly I was presented with a sim pin prompt during runtime but no reboot, partial or full, happened. I have it disabled for two days now and it hasn't happened at all what makes me belive that this property alone was causing the issue.

I have no logs at this time, it was always happening while I was busy and I have no idea when exactley and for how long the sim pin prompt was displayed.
[Motorola Photon Q 4G LTE] kabaldan:
Qualcomm seems to disable the sim powerdown for every msm8960 device I've stumbled upon so far, so there's most probably a good reason for it. I've had it enabled just for a few days and I haven't encountered a problem, but that doesn't mean anything.

I guess that the msm8960 modem implementation is designed to operate with the sim powerdown disabled, so I would not recommend to enable it apart from experimentation. I mentioned it just for the sake of completeness of information.
[Motorola Photon Q 4G LTE] EpicSaga:
Is the process from stock: Unlocking the Bootloader, Installing a New Recovery, Installing CM11 through recovery? Will that give it Root?

Why is the internal SD card not able to be removed?
[Motorola Photon Q 4G LTE] arrrghhh:
Uhm. The internal SD is just that - it's internal. Like soldered to the board.

It's really just emulated storage - they changed how storage is handled in 4.1 I believe. So the 8gb internal memory is sliced up into your partitions for the phone, and about 5gb is left for "internal" SD.

As for your question, I'm a bit confused. Do you want CM11, or do you just want stock rooted? If you want CM11, that would be the correct process. If you just want rooted stock, then skip flashing CM11 and install SuperSU or something similar in recovery. TWRP will automatically offer to root the device if it isn't already.
[Motorola Photon Q 4G LTE] EpicSaga:
I had to root my Epic 4G before I could put CM10 on it. I assumed that would be true of the Photon Q too. Will it be automatically rooted if I put CM11 on it without going through the root process? Would I have superuser on it too?

---------- Post added at 02:58 AM ---------- Previous post was at 02:40 AM ----------

Would MotoChopper be safer to use than manually unlocking? I saw a video where someone used motochopper and motopocalypse to unlock it. http://www.youtube.com/watch?v=MYrjm8Ihz5M
[Motorola Photon Q 4G LTE] mrvek:
Camera crashes upon launch in the latest build (verified against latest official nightly also). Just noticed it today, I have no clue when it broke.

Log snippets

Edit: It was not working in yesterdays build also.
[Motorola Photon Q 4G LTE] arrrghhh:
No clue what you mean by 'safer'. I used the official bootloader unlock process, there's nothing unsafe about it at all - in fact, if you typo something it simply will not work.

You need a custom recovery to flash CM... so unlock bootloader, flash recovery, flash CM.
[Motorola Photon Q 4G LTE] kabaldan:
This sounds rather like a corrupted media file in /sdcard/DCIM/camera and a crash when a thumbnail is to be created for it.

Camera starts fine here on my yesterdays build. I'll try also a newer build from this afternoon.
[Motorola Photon Q 4G LTE] mrvek:
It was indeed a corrupted media file. Deleting it solved the issue.

Thank you.
[Motorola Photon Q 4G LTE] EpicSaga:
I meant would motochopper be just as safe as the official bootloader unlock process? Will the phone be rooted after I flash CM? I saw it's possible to put CM on a phone without it being rooted by using the CyanogenMod Installer.
[Motorola Photon Q 4G LTE] AndyYan:
As for the latter question, CM and most custom ROMs are pre-rooted (heck, what's the meaning of a custom ROM if it isn't even rooted?!), so stop worrying :)

I don't really know the mechanism of CyanogenMod Installer, but I do know that we can also put CM on our phones *manually* without rooting first - just fastboot flash any custom recovery, and flash CM directly from there. I assume CM uses similar procedures (and that may explain why CM Installer is only compatible with a few devices, because not all devices have easy ways to do what's said above).

Sent from Google Nexus 4 @ CM11
[Motorola Photon Q 4G LTE] EpicSaga:
Is there a way to get out of the unlocking/rooting process and restart the phone if I screw up. How do you flash a

custom recovery? I've heard that TWRP is the best to use for CM11. Is that true? When I unlock the phone,

do I have to go through the whole process of rooting it at once or can I do it one step at a time and still be able to

use the phone with it just being unlocked, and not being rooted? How do I get out of the bootloader?
[Motorola Photon Q 4G LTE] arrrghhh:
Please ask recovery questions in the appropriate recovery thread. Any recovery should work fine, there isn't one recovery that will flash CM better... TWRP is nice if you like touch, OpenRecovery is great if you want to be able to use the keyboard in recovery, or use some more advanced scripting features. CWM is just CWM...

You can use

fastboot reboot

if you're in boot loader/fast boot mode. Or just hold power + volume down to hard shut off the phone, and turn it back on.

As was stated previously, you don't need to root. Just unlock boot loader, flash recovery, take a backup of your existing setup, wipe, and flash CM.

You seem to be over thinking everything. Just follow the threads which have been linked previously step by step and post in those threads if you have any issue. This is getting pretty OT to CM - come back here once you've flashed cm11 and have questions about it :)
[Motorola Photon Q 4G LTE] CornholioGSM:
I'm not sure from what build date......Wifi and BT not working after clean install over jb :(
[Motorola Photon Q 4G LTE] mrvek:
Both are working here.
[Motorola Photon Q 4G LTE] CornholioGSM:
it works when you update from older cm11...but on clean install cm11 not :(

BUT when i install latest stable 10.2 and then 11...wifi works :)
[Motorola Photon Q 4G LTE] arrrghhh:
Hm, I wonder if that would explain the issues in this thread...

Edit - nvm, OP tried older CM versions it seems.