yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] bmccrary:
Just wanted to say THANK YOU to everyone who made 12.1 possible on the Photon Q!! I've been a user of the Photon Q since the first day it came out and have been using a "heavily modified" version of the stock ROM. One of the main reasons was Sprint's VVM which I use a lot. I was now able to get this working on 12.1! I had been kind of waiting on the Priv but after realizing it couldn't be rooted (most likely anyway) I decided to try CM again. I feel like I have a brand new phone! Not just in the interface/OS, but the whole phone is sooooooo much quicker and responsive than it was before! I had a test phone flashed with the stock ROM and tested a few apps and 12.1 was running them quicker even loaded down with all my apps I put on it. I will end up keeping this phone for years now!

The only thing I will miss is the car dock output. I used that on a couple of docks but at least that can dealt with by using a longer cable and pluging directly to the headphone jack.

One thing I did find annoying was the keyboard backlight seemed to be tied to the display backlight when it really should be basically the inverse of the display brightness. Fortunately Tasker supports a state "Keyboard Out" so I'm going to make something that checks the ambient light when the keyboard is pulled out and adjusts the backlight from that. If you "disable" the backlight under Settings/Buttons it seems tasker can have full control of the backlight without it being changed by the OS itself. If anyone else is interested in this let me know.
[Motorola Photon Q 4G LTE] maisdoiscorregos:
Moderator Edit

Not related to thread... please post questions in the Q and A Forum.
[Motorola Photon Q 4G LTE] tobby88:
Did anyone already try to compile CM13 from the sources?

I would give it a try but if anyone already tried it (and maybe failed?) then I can spend the time for better things ;)
[Motorola Photon Q 4G LTE] tzuba12:
I don't think anyone has attempted it yet. We would all appreciate it if you gave it a go!
[Motorola Photon Q 4G LTE] enigma9o7:
#1 Unlock Bootloader

#2 Install Recovery (TWRP)

#3 Install ROM

I think that's all it takes.
[Motorola Photon Q 4G LTE] tobby88:
Ok, just tried it. It failed:

target thumb C: libminzip <= bootable/recovery/minzip/SysUtil.c
system/core/sdcard/sdcard.c: In function 'fuse_notify_delete':
system/core/sdcard/sdcard.c:750:35: error: storage size of 'data' isn't known
struct fuse_notify_delete_out data;
^
system/core/sdcard/sdcard.c:756:17: error: 'FUSE_NOTIFY_DELETE' undeclared (first use in this function)
hdr.error = FUSE_NOTIFY_DELETE;
^
system/core/sdcard/sdcard.c:756:17: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/home/tobby/android/cm13/out/target/product/xt897/obj/STATIC_LIBRARIES/libsdcard_intermediates/sdcard.o] Error 1
make: *** Waiting for unfinished jobs …
In file included from external/libcxx/include/limits:112:0,
from external/libcxx/include/memory:603,
from external/libcxx/include/algorithm:628,
from external/libcxx/include/string:439,
from bootable/recovery/voldclient.h:22,
from bootable/recovery/roots.cpp:39:
external/libcxx/include/__undef_min_max:16:2: warning: #warning : macro min is incompatible with C++. #undefing min [-Wcpp]
#warning: macro min is incompatible with C++. #undefing min
^
make: Leaving directory »/home/tobby/android/cm13«

#### make failed to build some targets (12:33 (mm:ss)) ####

And I don't have any knowledge how to fix that (and no time as well ^^). So we have to wait for someone else to fix this (kabaldan?).
[Motorola Photon Q 4G LTE] Goodevil95:
Hi, TWRP 2.8.6.2 is an unofficial build for Photon Q? On the official website last build is 2.7.1.2.
[Motorola Photon Q 4G LTE] 4218kris:
I cant get 2.8.6.2 twrp to open it goes to the blue twrp screen but no further then reboots 2.7.1.2 will open but does not do anything i try like no clear cache i did format cache to f2fs..? I believe thats the problem.
[Motorola Photon Q 4G LTE] kabaldan:
There are some commits on gerrit that I haven't merged yet:

http://review.cyanogenmod.org/#/q/owner:pavel%40doshaska.net+status:open+branch:cm-13.0

For the error above, you should cherry-pick this one: http://review.cyanogenmod.org/118386

You'll also need to set selinux premissive. Add androidboot.selinux=permissive to cmdline at https://github.com/CyanogenMod/andr...-common/blob/cm-13.0/BoardConfigCommon.mk#L44

Cm-13.0 for xt897 builds fine and also boots (eventually)...

The main issue is that the system process is experiencing random mmap failures during boot...

I'm looking into it (occasionally), but I'm unfortunately busier than ever with both real life and work at this time.
[Motorola Photon Q 4G LTE] tobby88:
Thanks!

I may give it a another try :) But I think I can't really help you debugging boot/mmap... I'm more in programming Atmel-8Bit-µCs in C, ROS-Nodes in C++, C# Desktop things and Structured Text for PLCs. The only thing I ever did in case of Android-development was a simple augmented-reality app based on the Vuforia-framework for my studies at the uni ;) In case of kernel or ROM-things I am only able to build CM & TWRP from source with minimal changes by myself (a few lines). This doesn't really help me debugging these Linux-kernel-things ^^

Thanks anyway for your awesome work in keeping the Photon Q alive :) I am currently very busy in real life and my studies as well, so I know what you mean! Take your time, maybe/hopefully you'll find this annoying mmap-bug in a while. And I'll give my small knowledge of debugging that a try in 1-2 weeks as well. :)
[Motorola Photon Q 4G LTE] 4218kris:
Twrp 2.8.6.2 was working i update cm12.1 to 11/22/15 build it wouldn't open twrp just sat at the twrp boot screen went no further.. I reflashed twrp no luck. Only 2.7.1.2 boots but cant mount any f2fs partions. Any idea how to reset twrp or format the recovery partition maybe. i have 4g photon asanti_c am u using the right recoveries that support f2fs?
[Motorola Photon Q 4G LTE] tobby88:
You may try my build: http://tobby.eu/downloads/cm.html (TWRP 2.8.7.0). It works fine on my Photon Q :)

There are two changes in my build compared to the official builds! 1.) You can't save backups to internal (emulated) storage, only to external SD-card. 2.) It will not exclude /data/media during backup - so this means, internal emulated storage (/data/media) will be included during backup/restore of /data.
[Motorola Photon Q 4G LTE] palmwangja:
what a great news, never expected CM13 would come to our machine!!
[Motorola Photon Q 4G LTE] kabaldan:
Just a status update regarding M/cm-13.0:

http://review.cyanogenmod.org/123002 fixes the mmap failures that bothered me since the beginning of cm-13 bring-up.

Next targets for fixes are:

1. camera fails due to a parameter setting failure

2. cell data not working in a strange way: e.g. a ping or wget from Android Terminal works just fine, but e.g. Chrome or Play can't connect to servers at all (no such issue on wifi)

I hope to find some time to look into it during the coming holidays. Let's see...
[Motorola Photon Q 4G LTE] mifritscher:
Very cool!

If you need a tester - just drop me a mail :)

[MENTION=532852]cell[/MENTION] data: So linux can connect, but apps based on the android framework not? Perhaps the frameworks doesn't get the info that cell data is available? Or something strange with DNS-resolution or IPv4/IPv6?
[Motorola Photon Q 4G LTE] kabaldan:
The strange data issues were caused simply by a wrong APN being selected by default :).

It actually seems to work fine on GSM/WCDMA for me now.

I have no idea about how good or (more probably) broken is CDMA, though.
[Motorola Photon Q 4G LTE] tobby88:
Nice!

So only camera is causing problems, the rest seems to be working fine?
[Motorola Photon Q 4G LTE] kabaldan:
The camera can work immediately, if we break some NDK compatibility. The current problem is to find a viable non-NDK-breaking workaround for it. See http://review.cyanogenmod.org/125382

I've already switched my last non-shattered-screen xt897@cm-13.0 to serve as my daily driver and it seems to do what I usually need rather fine (well, if you don't look at the logs to see the problems ;) - kgsl kgsl-3d0: |kgsl_iommu_fault_handler| GPU PAGE FAULT: addr = xxxxxxxx pid = 0 in dmesg asks for attention...).

Besides the camera, there's still some selinux work to be done, so we can run it in strict mode (that's an imperative for starting the official CM nightlies).

Gps navigation seems to be fine, I've been using waze and sygic, no issues.

I expect a2dp to be broken, but I haven't got to testing it yet.

And the CDMA support is expected to be broken as well, at this point.
[Motorola Photon Q 4G LTE] kossusukka:
Does anyone has same problem that i do. Very often when i reboot my PhotonQ (w/ newest CM12.1 nightly 20151224), the status bar is missing and phone does not react when i press buttons on home screen. Onscreen nav buttons work, i can open a recent apps window, but nothing more. Nothing happens if i tap any recent app windows. I cant tap anything on home screen, not even menu button. Nothing just happens and phone seems to be completely stuck. Even swiping between home screens aint working.

Problem gets fixed when i reboot my phone 2 or 3 times. Its quite a annoying problem, because i have to reboot phone quite often because it loses my sim-card for some reason. Already checked if sim-slot wires are soldered bad, or if ground is soldered incorrectly but nope. Also the GPS goes stuck like once in a week, it just cant find the fix for some unknown reason. Quick reboot fixes it too.

CM12.1 20151224 nightly installed, no any mods/kernel tweaks etc installed. Only basic apps like whatsapp and firefox. How can i debug these problems?
[Motorola Photon Q 4G LTE] palmwangja:
Great!! Will always root for your works

---------- Post added at 11:51 PM ---------- Previous post was at 11:47 PM ----------

No, I've been following almost every nightlies, but I haven't had any sympotom you described.

Losing sim-card was a poor contact problem in my case.
[Motorola Photon Q 4G LTE] mrvek:
cm-13.0 UNOFFICIAL (PREVIEW)

Hi.

Below you can find an unofficial cm13 recovery flashable zip. This primarily servers as preview only.

ALL credits go to kabaldan and CyanogenMod contributors (I only compiled the thing).

It includes all changes up to, and including, http://review.cyanogenmod.org/125925.

SELinux is disabled (if you care about security you'd might wan't to wait for an official build)

ART preopotimization is enabled: speeds up first boot after wiping dalvik cache: only GApps (if present) and user installed apps need to be compiled. It also saves some space in /data as system apps odex/art/oat files are stored in /system partition instead of /data/dalvik-cache (this actually might be usefull option to be reviewed: with default cm13 install there is just under 440MiB of space left in /system and about 229MiB is saved in /data). This is the reason for the large size of the update package.

kernel includes tentative patch for Picture Order Count Type aparently needed to compile the build.

Apart from those listed above there should be no custom changes present and the "attached" update file is default/stock CM-13.0.

NOTE !!! :

Please do make a full nandroid backup!

In case anything goes wrong or you simply wan't to go back, you should be able to recover/restore in a jiffy. If, by chance, you have issues restoring system when twrp claims it failed to mount system, a relatively simple workaround is to flash whichever CM update, flash GApps you used previously and then restore only data, wipe dalvik, reboot... hope for the best...

Happy New Year.

MD5: 56eca73e3a1fe2b5883aac3e90ba7d4c (or use the attached to post md5sum file)

File size: 341,428,773 bytes

Download
[Motorola Photon Q 4G LTE] bmccrary:
Thanks mrvek for compiling us this preview!! And of course thanks to all the CM developers! I tested most things out and they seemed to work great for me. I was even able to chromecast the screen and use a USB OTG mouse to get around! The only exception being CDMA which I know was probably not expected to work. I couldn't turn on mobile networks at all. I'm up for experimenting if I could be of any help to make this work. I'm on CDMA provider Sprint with no SIM card mod. I'm very excited to see 6.0 coming to the Photon Q! :good:
[Motorola Photon Q 4G LTE] tzuba12:
Just tried it out and everything works great. Very smooth. Only problem is, like the last poster mentioned, is no CDMA. Hopefully it'll work in the future because I really like what I see so far. Thanks for the preview!
[Motorola Photon Q 4G LTE] mrvek:
It might be useful to enable aplogd logging and share logs to kabaldan for inspection. He has mentioned lack of access to cdma networks so logs may be able to provide some valubale information if cdma support is to be added.

You can enable aplogd in terminal or adb shell

su
setprop persist.log.aplogd.enable 1

Logs are saved in /data/aplogd/
[Motorola Photon Q 4G LTE] maisdoiscorregos:
CM13: wifi connects and disconnects constantly
[Motorola Photon Q 4G LTE] mrvek:
Have you tried deleting and recreating connections? About a week now and never a single issue with wifi here.
[Motorola Photon Q 4G LTE] stargo:
Hi,

as I'm debugging exactly the same issue on older Motorola devices (Droid 4/Razr/Bionic), can you try toggling airplane-mode after boot? This might get CDMA up and running.

Cheers,

Michael
[Motorola Photon Q 4G LTE] gtmaster303:
Please create a separate unofficial cm13 thread in the development section to stay organized. it will be confusing if theres 2 discussions of 2 different roms going on in the same thread.
[Motorola Photon Q 4G LTE] tzuba12:
I tried last night, it didn't work. But I DID have service when I first installed CM13, but it was roaming and then it said no sim was inserted.
[Motorola Photon Q 4G LTE] maisdoiscorregos:
And I did a dirty installation, presented this problem, then did a clean install mode and the problem continued.
[Motorola Photon Q 4G LTE] tzuba12:
I would, but unfortunately this is my daily driver and I need the service every day.
[Kindle Fire Q&A, Help & Troubleshooting] copestag:
so backstory first:

mother-outlaw drops off her kindle fire..... its stuck in a boot loop ( just keeps cycling the 'kindle fire' logo)

I initially had no idea what version of anything this was but later found S/N and determined to be KF 1

I have run all the utilities KUU, KFU, Etc.... none do anything

when I plug to the wall nothing at all just loop no lights.... when I initially turn it on I get a quick flash with some illegible pixels on screen like its trying to boot but then straight to loop

when I hook to computer using an actual data cable not normal USB.... after sitting overnight the orange light will at some point during the night come on and stay on..... today I let it sit with light on for about 8 hours while gone..... and when I reboot after the light has been on it will stay on as long as connected to computer

I truely have no idea of battery state, ie if its charging, if its charged, where its at, etc

I CAN see the device and issue reboot commands etc through ADB from computer

I am not opposed to total wipe/flash if needed.... of course since this is for my computer illiterate mother-outlaw Im sure it would be better to not start over ( I have confirmed with her however there is nothing that needs to be saved on the device, its for browsing and games only)

Suggestions? Fixes?

I have read hundreds of pages on this forum and others and its all just a jumbled mess in my mind by now..... so now Im calling for HELP
[Kindle Fire Q&A, Help & Troubleshooting] sd_shadow:
Latest system version 6.3.3 doesn't work well with KFU or unbrick utility

Likely need a fastboot cable

How to flash twrp and firefirefire with a Fastboot cable

http://xdaforums.com/showpost.php?p=53652317&postcount=2
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] GhostRider419:
I have the Note from Verizon so everything is stock. After updating to Lollipop I factory reset it and after that the Package Application Helper stops every time I try to move certain apps to the SD card. First I noticed it every time I try to move Skype, also quite a few apps from the amazon app store. I factory reset it again and installed no apps from Google backup, then I installed just Skype and the Helper app crashed on trying to move to the SD again. I can't find any posts about this crash except for on the Kindle. I was just wondering if anyone else was experiencing this problem?
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] Dankees:
This is now happening to me.

I factory reset, and this message appears while trying to install an application from the Amazon App Store.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] Mreelsauce:
I'm having the same issue with the Package Access Helper when trying to move some apps. Specifically two games from Humble Bundle 11, which I purchased yesterday. Helper crashes when when attempting to move 80 Days to SD. Riddick crashes on installation, so the "App not installed" prompt shows up 15 seconds after.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] joesf1979:
I'm also having the same issue both trying to move apps to the SD Card and simply trying to install apps from both Humble Bundle and the Amazon App store. It seems limited to specific apps on each store - some install fine, some get the error. I have not run into the issue where I have gotten the error and been able to install the app on another attempt. My Verizon Note 4 was factory reset after the upgrade as well.

I haven't encountered the error on any Play Store Apps at the moment (Badland couldn't be installed via Humble Bundle or Amazon App Store, but the F2P version on the Google Play Store installed without issue).

Has anyone tried on another lollipop device or a non-Verizon Note 4 running lollipop? I'm going to try installing one of the problem apps tonight on my wife's lollipop GS5 and see if the error occurs. I can't seem to determine if this is an incompatibility/format change with old APKs, or if Verizon simply pushed out a dud Package Access Helper build with the Note 4 update.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] joesf1979:
We tried installing one of the problem apps on my coworkers lollipop Nexus 5 using the Amazon App store - no problems there with the same trouble app. Looks like something with either Samsung's or Verizon's update package that is corrupted and causing this issue.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] TabGuy:
I had the same message when trying to restore apps via Helium.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] Dankees:
How can this be fixed?

It is still happening today.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] joesf1979:
I haven't found a work around for it. Seems like Samsung may have pushed out a broken image for their update. I started a thread on the GalaxyNote4 subreddit and it appears that other people are having the same issue on the AT&T varient of the Note 4. It's probably going to remain in a broken state until Samsung and the carriers push out an additional update, or individual APKs are updated to work around the bug (unlikely).
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] GhostRider419:
I am unable to install any of these apps from the Amazon appstore: Angry Bird Transformers, Braveland, Knock-Knock but that is only 3 out of 50 and rest installed fine. There are quite a few Amazon apps that won't move to the SD card though. I haven't had any problems installing a Google Play app and only Skype refuses to move to the SD and crashes the helper app.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] Nizda1:
Same problem here, although I'm on AT&T. Now I didn't factory reset my phone after the lollipop OTA yet, so I have apps not from Google Play still able to move on to the SD card. The apps that are not from Google Play are from the Oculus store, what's odd is that I just downloaded two apps, however one was able to move to the SD card and the other spawns the error.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] joesf1979:
I am unable to install Pinball Collection HD, Badland, Back To Bed and a few others from the Amazon App Store on my Note 4 due to this error. Both Badland and Back To Bed install without issue from the play store though. I definitely get the error more often trying to move apps to the SD card - same issue with Skype. It's definitely app dependent - probably some of the apps calling whatever code is corrupted in the Package Access Handler component vs others that don't call the suspect functions.

My wife has the GS5 and it's updated to Lollipop (and has not been factory reset - simply upgraded). We tried installing the same apps on her phone using the Amazon App Store and it worked fine.

This looks like Samsung pushed out a shoddy ROM for 5.0.1 on the Note 4. I can't believe nobody caught this before all the carriers propagated it to the public.

I put in a tech support inquiry to both Amazon and Samsung about this issue. Not sure if it will get any traction, but the Amazon support request has been escalated. Maybe they'll put some pressure on Samsung to push out a fix in the near future.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] izeb:
Same thing is happening to me since the update. Then I got to thinking sometimes apps are moved automatically to the SD card. Also looked at other forums regarding older updates like kitkat, and someone noted they removed their SD card.

Let's give it a shot! Sure enough out of the 4 apps that wouldn't install from Amazon I'm on number three that is installing with no problem.

So try this as a work around.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] kaminczak:
Yeah. I can't install any non market app. Have the right security checked, too. No Humble Bundle, no Amazon. Either they hang and install forever or I get the Package Access Helper has stopped error. This happened after the lollipop update, so I did a factory reset and it didn't solve it.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] stueycaster:
This might be because of the Internal SD write problem with the last versions of Android. Go to the Play Store and get the "Foldermount" app and run it. If the problem is there it'll tell you and offer to fix it. After the fix reboot.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] kaminczak:
That seems to be for root only. I'm on a Verizon retail Note 4.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] stueycaster:
Well fiddle sticks. :( I guess that leaves that one out. Sorry.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] Dankees:
Yeah, my Pinball Collection HD won't install either.

I did a factory reset upon updating to Lollipop on Verizon.

When will Samsung fix this?

I love that game!
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] Dankees:
Still no fix for this?

I got Amazon to credit my account $5 for my troubles.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] aapellegr:
possibly solved.

Hey guys,

I might have found a fix that did in fact work for me which I found on a reddit post I believe, I don't remember the site.

Verizon Note 4 5.0.1

To install an amazon app store app, first unmount your SD card, then try downloading and installing again. For me this worked and afterwards I just went back into settings and mounted my SD card again.

Anthony
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] Dankees:
Yahoo!

Bless You!
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] d3zt:
worked for me thanks!
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] KubliKahn47:
Removing SD card was the only solution for me. Amazon support couldn't find anything wrong and offered to refund the amount for the games that wouldn't install. I just hope I don't have to eject the SD every time this happens; for me it was only large games that wouldn't install.