yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] Loader009:
Just a little off-topic:

Do we have some indicators to differentiate between p1 and p2 devices?
[Motorola Photon Q 4G LTE] niko99:
AAAAAAAAAAAAAMAAAAAAAAZINNNNNNGGGGGGGGGGGG

cant wait for some first beta/test/kernel for a try ! thanks very good news very !
[Motorola Photon Q 4G LTE] kabaldan:
You can check e.g. /proc/device-tree/System@0/EMUDetection@0 on your device.

If it contains Gpio-dmb-ppd@0, your device is P2.

If Gpio-dmb-ppd@0 is missing, but Gpio-id-en@0 and Gpio-id@0 are there, your device is P1.

It would be useful for me to know if there's actually a P1 device running CM11 out there somewhere.
[Motorola Photon Q 4G LTE] Loader009:
Ok, P2 also here.

Is it possible that P1 devices are prototypes?

Someone here had a prototype, I wouldn't wonder if it was a P1 device.
[Motorola Photon Q 4G LTE] JoseBerga:
[MENTION=2218140]kabaldan[/MENTION] this would work also with xt925 with JB bl.. Because Motorola will not release kk for us until Q3 :(

If you need logs or something for xt925 count with me..

Sent from my RAZR HD using Forum Fiend v1.2.8.
[Motorola Photon Q 4G LTE] CornholioGSM:
...my photon is one of first and it is P2
[Motorola Photon Q 4G LTE] comstyle:
p2 here too
[Motorola Photon Q 4G LTE] palmwangja:
P2 too...
[Motorola Photon Q 4G LTE] kabaldan:
Just to give a 3.4 kernel on Q current status report:

It's not stable yet. Occasionally, there's a kernel panic, usually when going to suspend state.

Will need to figure out the cause.

Otherwise, everything is basically working: radio, gps, nfc, wlan (while using the new wcnss firmware), bt, audio, camera, usb...
[Motorola Photon Q 4G LTE] fatihx:
can this commit may help for our kernel-panic problem .?

https://github.com/edoko/Air_Kernel-NOTE/commit/5cd3f27ce5373fa3e84b7916480cebaa4ebc9df1
[Motorola Photon Q 4G LTE] gehstock:
Kernel 3.4 working?

http://review.cyanogenmod.org/#/c/67589/
[Motorola Photon Q 4G LTE] palmbeach05:
If the Atrix HD is not running a 3.4 kernel yet, then no, it does not work. Be patient until something is announced.
[Motorola Photon Q 4G LTE] kabaldan:
[MENTION=3457922]stargo[/MENTION] , [MENTION=2228410]Skrilax_CZ[/MENTION] , [MENTION=3639055]mrvek[/MENTION] , [MENTION=420530]arrrghhh[/MENTION] and others:

Sorry for the delay. I've been too busy at work and home again (surprise!).

Anyway, I've finally managed to push my current local mess to razrqcom, reusing the old xt897 and msm8960-common repos for tentative 3.4 kernel on JB firmware builds.

Local manifest:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="razrqcom-dev-team/android_device_motorola_xt897" path="device/motorola/xt897" remote="github" revision="cm-11.0-3.4" />
<project name="razrqcom-dev-team/android_device_motorola_msm8960-common" path="device/motorola/msm8960-common" remote="github" revision="cm-11.0-3.4" />
<project name="razrqcom-dev-team/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-11.0-3.4" />
</manifest>

The main issues remain the same:

- while the modem subsystem can occasionally work stable for tens of minutes, it can also get being restarted by watchdog bite in matter of minutes or even seconds (=too often).

- occasional kernel panic (NULL pointer dereference) at process_one_work coming immediately after hitting this warning https://github.com/CyanogenMod/andr...t-common/blob/cm-11.0/kernel/workqueue.c#L550
[Motorola Photon Q 4G LTE] Skrilax_CZ:
No worries, I'm extremely busy lately too with practically no time for this stuff. I'm in China atm. And it's very hot in here (real feel: 44° C).
[Motorola Photon Q 4G LTE] stargo:
Hi,

Thanks [MENTION=2218140]kabaldan[/MENTION] for your work :)

I think these two issues are connected, the kernel-panic happens when the kernel tries to notify other parts of the system about state-changes and the corresponding list got corrupted by the crashing modem.

Just to write down what I found out on the weekend:

The crash mostly occurs when one of the CPU-cores changes power-state, usually 2 seconds after CPU1 is shut down

Quite often there are IPC messages to the modem in the time between the CPU-shutdown and the modem-crash

Sometimes the modem crashes without any event when the system was idle for 20s or more.

Sample log for point 1&2:

<6>[ 52.114512,0] CPU1: shutdown
<6>[ 53.010834,0] [HDR] [w rr_h] ver=1,type=data ,src_nid=00000001,src_port_id=0000001a,control_flag=0,size= 25,dst_pid=00000000,dst_cid=00000007
<6>[ 53.011231,0] alarm_set_rtc: Failed to set RTC, time will be lost on reboot
<6>[ 53.115153,1] CPU1 is up
<6>[ 53.365603,0] [RAW] ver=1 type=1 src=0:00000007 crx=0 siz=14 dst=1:0000001a
<6>[ 53.499374,1] [HDR] [w rr_h] ver=1,type=data ,src_nid=00000001,src_port_id=00000034,control_flag=0,size= 25,dst_pid=00000000,dst_cid=0000000c
<3>[ 54.555470,0] Watchdog bite received from modem software!
<3>[ 54.555562,0] modem subsystem failure reason: (unknown, smem_get_entry failed).

(CPU1 doesn't have to get up again and the RTC error is usually the first time after a system-boot when the modem crashes, IPC dst 1:xxx is the modem)

I have the feeling that the problem is not at all software related but we have a power-problem with the modem and it's crashing when the power-levels fluctuate and it has to do some work when that happens.

Comparing the Asanti device-tree to the decompiled ghost one reveals major differences (mostly because ghost is based on msm8960ab). Ghost has some pm-regulators defined as always-on for example. I've attached the decompiled ghost-devtree and the decompiled old asanti-devtree (more or less useless, and has some byteorder-problems) to this post.

I've also tried basing asanti on msm8960ab (which also missed the always-on parts), but this didn't help (but it did boot up correctly).

Let's hope we find the problem soon :)

Cheers,

Michael
[Motorola Photon Q 4G LTE] mrvek:
You can enable RTC writes ( https://github.com/CyanogenMod/andr...11.0/arch/arm/mach-msm/board-mmi-pmic.c#L1241 ) but the modem will still happily crash. Having that disabled seems to be common, some modems, most notably cdma, behave crazy when rtc write is enabled/time changes in some, unknown to me, way.

We had it enabled in 3.0 kernel for a long time without negative side-effects.

There are logs in dmesg of rild beeing killed. Is that supposed to happen or is not important? Every time before modem crash, I can observe that ril-daemon was killed. But I have no clue if it crashed because modem crashed first (but it was not logged until later, perhaps because bp-dumps were beeing written).
[Motorola Photon Q 4G LTE] stargo:
Interesting, rild is not dieing for me when the modem crashes.

I have disabled bp-dumps as they filled up my storage pretty quickly.

Cheers,

Michael
[Motorola Photon Q 4G LTE] kabaldan:
I also haven't seen rild dieing here.

Modem crashes happen for me even when running with CPU1 off all the time (nosmp or maxcpus=0 on cmdline).
[Motorola Photon Q 4G LTE] kabaldan:
Just a status update:

- the workqueue kernel panics have been fixed by a revert to JB sensor blobs

- the modem subsystem watchdog bites are still happening. The most easily reproducible trigger is GPS activity (which most likely corresponds to those IPC messages noticed by stargo). With GPS disabled, the modem subsystem can remain stable even for hours, but the watchdog bites irregularly happen anyway, just not so often.
[Motorola Photon Q 4G LTE] kabaldan:
[MENTION=3639055]mrvek[/MENTION] : Thanks for testing the stock motorola 3.4 kernel release and what happens when the watchdog bite is ignored, much appreciated.

Currently, I'm locally running as close to JB blobs as possible - JB mpdecision, qseecomd and thermald in /system/bin/, no KK firmware images besides wcnss (q6 and tzapps images removed from /system/etc/firmware).

Regarding SMSM_RESET state, yes, I've seen it as well.

What I observe now is that when GPS is disabled (Location off or set to Battery saving mode) and radio tech set to 2G only, there are no modem subsystem watchdog bites at all - modem seem to work just fine under such conditions.

No rild crashes observed here as mentioned before. I'll post some logs for you later.

Jugging by some (unfortunately log-less) reports by users of xt907/xt926 KK updated devices running on GSM networks, they are also experiencing some (not clearly specified) modem issues... (also, even the soak testers of beta xt925 KK builds are reporting modem crashes.)

At this point, I have a feeling (maybe too optimistic) that we may see some important commits with the KK release for moto_msm8960 GSM devices by Motorola. So far only CDMA devices have received the official KK update...
[Motorola Photon Q 4G LTE] kabaldan:
Please disregard the info about the modem being stable when set to 2G only - after more than 22 hours uptime without a single BP dump, soon after I posted the above, the watchdog has bitten again.
[Motorola Photon Q 4G LTE] mrvek:
Perhaps it just might be related somehow. I've noticed that when mobile data is disabled modem crashes a bit less frequently. Nothing dramatic but it's not that often.

Since we won't be getting updated firmware images I honestly hope that whatever moto or qc fix it wont leave us in a worse state than we are now.

On a related note, from /data/misc/ril/modem.log it seems that error reported is the same file on the same task in over 90% of cases

Error in file wl1m.c, line 6266
Time of crash (m-d-y h:m:s): 07-21-2014 14:12:19
Uptime (h:m:s): 0:49:23
Build ID: M8960A-AAAANAZM-1.0.103205
baseband ver: ASANTI_C_BP_1139.000.18.12P-FKA011-837FE52_84646EA-2279

REX_TCB ptr: 0x8cbf0d90
tcb.task_name: IST418

Coredump ARCH type is: ERR_ARCH_QDSP6

on one occasion it changed

Error in file smd_main.c, line 1424
Time of crash (m-d-y h:m:s): 07-21-2014 18:18:52
Uptime (h:m:s): 0:05:49
Build ID: M8960A-AAAANAZM-1.0.103205
baseband ver: ASANTI_C_BP_1139.000.18.12P-FKA011-837FE52_84646EA-2279

REX_TCB ptr: 0x8c0aae18
tcb.task_name: ds

and on another occasion it reported dog.c but I haven't saved that one.

I guess those are modem fw/sw internal sources which we will never see...
[Motorola Photon Q 4G LTE] kabaldan:
Yes, they can be seen in this list:

http://tjworld.net/wiki/Android/HTC/Vision/RadioAnalysis#Source-codeFiles

wl1m.c being part of wcdma specific source files.

When operating in GSM only mode, the modem error log points at gmacl1.c (line 243), part of geran (GSM EDGE Radio Access Network) specific source files...
[Motorola Photon Q 4G LTE] mrvek:
[MENTION=2218140]kabaldan[/MENTION] : those reports about modem crashes you have mentioned are exclusively from CM users? The only I found are on CM bug tracker. Are you perhaps aware of other, possibly from KK official testers?
[Motorola Photon Q 4G LTE] thewraith420:
Hi guys. I apologize for the slightly off topic interruption but only someone who is into the kernel code would have a good chance at being able to answer my question.

I'm running my RAZR M on page plus and for that to work I need to be able to run the ics radio. Every jb version was able to use them just fine but the kk update broke that compatibility. My question is do you think it could be possible to patch the 3.4 kernel to work with the ics/jb radio? In my situation I can still use the kk bootloader do I'm thinking it might be somewhat simpler than your situation on the photon Q. Also since I'm making this post I might as well also thank you guys for working on this, really really appreciate it and even if my idea has no ground to stand I know your working on this could possibly bring a 3.4 kernel build to our jb bootloader as well. Thanks again and I won't interrupt again ☺
[Motorola Photon Q 4G LTE] mrvek:
Just to correct the meaning of dog_state_table[] :

"Count" is time in seconds that the task has left to respond to watchdog task and bite occurs when it reaches 0 (src):

- timeout - the timeout value (currently in seconds) of the task

- count - amount of seconds left the task has to respond

- is_blocked - boolean that is set to 1/true when the task is not currently monitored by dog

This became awfully frustrating.

Good luck.
[Motorola Photon Q 4G LTE] kabaldan:
[MENTION=3639055]mrvek[/MENTION]: I took a break from 3.4 kernel bring-up attempts for a while as I was overwhelmed by the tasks at work and also the demands from the usual family life :) .

But I'd like to get back to it.

I agree that there seems to be an issue revolving around the shared memory (SMEM).

I plan to investigate it some more.

Regarding the vendor blobs, there's no easy way to cope with it, but basically I chose to use the new blobs everywhere (to match the updated kernel space), unless the blobs relate to modem (qmi - qualcomm modem interface), which includes e.g. the gps related proprietaries.

The audio lib you mention is libacdbloader.so - we needed to switch the kernel to use ION instead of PMEM everywhere to stay on the track, so we also needed to find a compatible proprietary libacdbloader lib. Initially, mako (Nexus 4) lib was used, but it was not a good match (mako is using APQ8064, not MSM8960, so while close, not getting there in the end). So the issue was later fixed by using HTC One S (ville - htc s4 family) lib, which was the only available good matching ION using alternative at that time.
[Motorola Photon Q 4G LTE] mrvek:
[MENTION=2218140]kabaldan[/MENTION]: thank you very much for the explanation ;)

Btw., the previously mentioned "error" is not fatal as it happens in 3.0 on a running modem and can repeat a lot.

gfw_command_process.c
Invalid value passed to GFW in generic config command value passed 0, setting to 305

This one is generated by diag_mdlog binary which I noticed in stock JB xt897 release. Nifty little tool, hard to interpret output.
[Motorola Photon Q 4G LTE] mifritscher:
Are there any news regarding this?

Just as a silly idea: Is there a way to compare the status of the memory management unit between 3.0 and 3.4?

Or does a new bug in 3.4 sometimes corrupt something in the memory area of the modem (perhaps fixed in the meantime ;) )?

Or could we compare the memory area using a 3.0 with a 3.4 kernel to see any corruption?
[Motorola Photon Q 4G LTE] mifritscher:
Ok, I'll spend 50€ for a successfull (and stable) effort to bring up the 3.4 (or any newer) kernel!
[Motorola Photon Q 4G LTE] mifritscher:
On one of my photons I get these regulary crashes as well - Linegeos 14 - kernel 3.0

[ 116.882313,0] Watchdog bite received from modem SW!

[ 116.882374,0] subsys-restart: subsystem_restart(): Restart sequence requested for modem, restart_level = 3.

[ 116.882618,0] subsys-restart: subsystem_restart_thread(): [c9ea6f80]: Shutting down modem
[Motorola Photon Q 4G LTE] mifritscher:
The biggest problem of the 3.0 kernel for me is that glibc 2.23 needs kernel 3.2 at least. So e.g. a chroot to a ubuntu 16.04 does not work. A solution could be that the kernel pretends to be 3.2, and possibly a few fixes/changes to match this pretend to the extend that glibc works. Will that be possible?

Edit: Perhaps http://man7.org/tlpi/api_changes/#Linux-3.2 is of help?
[Motorola Photon Q 4G LTE] elros34:
You can also recompile glibc with minimum kernel set to 3.0. I did it for ubuntu 17.04 and so far it works.

https://github.com/elros34/sailfish_ubu_chroot/tree/master/glibc
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] apollonitus:
hey so im a noob right now, this is my first post on here and ive been searching for endless hours looking for an answer.

I have a

Samsung Galaxy S4 AT&T SGH-I337 (got in Arizona, but says Made in Korea) :confused::confused:

Firmware: 4.4.3

im trying to find a method that will work for my phone to root it, i have a 32 gb sd card and ive read that other people are not successful with the same phone as me, something like it being "bootlock" by the carrier in this case "AT&T" . :rolleyes:

and i have no idea what like nb1 mk2 things are im seriously so lost in ever loop i need helpp :( lol

but ive looked around for solutions and cant seem to find one.

if there is anyone who can help me root my phone, ill give you any info that you need from my phone,:laugh:

thanks !
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jmjoyas:
There is no direct root method for KitKat. So, you have to do a partial downgrade to MK2(4.3), root and then install a pre-rooted KitKat ROM.

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

Let me know if you need more info
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] duboisbrian:
does installing a prerootted rom trip knox?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jmjoyas:
No. But appreciate reading the the thread for more info
[Xperia Z1 Compact Q&A, Help & Troubleshooting] aresbv2000:
Hello guys...

I have one question. My 2010 Passat CC has a bluetooth carkit incorporated. But unfortunately it uses the rSAP bluetooth connection. So...for this phone, is there a custom ROM that supports this type of connection? Stock .681 for sure doesn`t support because i`ve tested today. I don`t want to change my phone so I`m looking for a custom rom that has support for rSAP.

Thank you!
[HTC One X+] ReX Zex:
i try 1 day to changed battery in hboot mode but still not fully changed n not changed...it that my battery is broken??and my rom is ecidently flashout..i cannot load my rom..how can i do?..my phone htc 1x plus
[G2 Q&A, Help & Troubleshooting] Jostian:
HI, is there anyone that can mod the LG Email app to bypass exchange security, I know there were older versions but when using those on 4.4.2 some functionality aint working. I have tried the xposed bypass security modules but none work on LG Email 4.4.2 (stock ROM), thanks
[G2 Q&A, Help & Troubleshooting] Jostian:
Bump, anyone?
[G2 Q&A, Help & Troubleshooting] njstein:
Just so I'm clear on what you're asking, you can't setup the stock email app because every time you try and set it up an error says wrong email/password, correct?

---------- Post added at 09:49 AM ---------- Previous post was at 09:48 AM ----------

If that's it, I know a fix...
[G2 Q&A, Help & Troubleshooting] Jostian:
No, I can set it up but I have to enter an exchange password everything's Iunlock my phone, so I was asking for someone to mod the email app to disable the exchange password requirement, thanks
[G2 Q&A, Help & Troubleshooting] bharat4ever:
I've tried every possible way, and couldn't get it work on the LG stock email client. Finally shifted to Nine.
[G2 Q&A, Help & Troubleshooting] Jostian:
Thanks for trying, appreciated
[Paid Software Announcement and Discussion] iValueTech:
Hi,

I recently launched an updated version of my app, Business Ringtones Pro. It now features an improved UI and has more than 35 professional ringtones, notifications sounds, alarm sounds and SMS sounds for employees and professional workers.

Business Ringtones Pro is meant for the professional individual looking to show his professionalism in front of co-worker and peers. It removes the feeling of embarassment when your phone plays an odd-sounding ringtone. These sounds are extremely helpful for professionals, business executives, high level employees or other office workers.

Here are some screenshots of Business Ringtones Pro -

Here Is A Link To The App Video​

Please check out the video and if you like the app, please share your feedback. Thanks! :)

​
[General Questions and Answers] nemuro:
Hello,

I'm a designer, so I've got little to no programming experience, but I'm tired of waiting for a game that I like so I'd want to make it myself.

I'm looking for a simple way to develop android games, such as very simple text based RPG or a simple tower defense ( example: robot defense ).

I am now testing the waters with processing.org and I like it, but it's uses a trial and error process for the interface where I code and then test my changes on the phone after about 2 minutes while it builds and uploads.

What I am looking for

a free solution

powerful enough to do compicated stuff later on ( example: dweller beta rpg )

an assets centric interface ( way to drag an drop & manage a list of assets )

wysiwyg window where you drag and position buttons around and see changes as you do them with no need to build out what you have to preview the interface

rather well documented and supported by a community, popular ( ways to find books or youtube videos on making games )

(nice to have) export apk or even better a signed apk with my .keystore file

(optional) cross platform to ios with the same code

offline tool for windows so that I can develop anywhere with no internet

What I want do avoid

stupid limitations such as enforced splash screens stating it's using a free version, max number of assets, etc

Close but no cigar

http://explore.appinventor.mit.edu - unfortunately it's online and I don't know how powerful is it

unity - like it but it has some big limitations in the free version and it feels like a sluggish environment

http://coronalabs.com/pricing/ - like it but even the basic version asks for money and it has some limitations

http://www.spritebuilder.com/getting-started/ - free has no in-app purchases or social media & analytics modules

That being said, I'm open to suggestions. Thank you in advance.
[General Questions and Answers] nemuro:
Any pointers are welcomed.
[General Questions and Answers] Trozzul:
i would recommend unity 3d, its free but the paid version (expensive...) is pretty great too, check out android studio as well, it might come in handy building the ui.
[Shift General] 9ain:
Hello, i want to revive my htc shift, i want to use archlinux

anyone know if there are drivers for wifi, gsensor, touchscreen, etc etc etc

Anyone have idea??
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] alex0987:
I am running the stock 4.4.2 (Australia) which has been installed using odin. It has been working since I got it without a hitch, right up until now. I was using it, and then I locked it, it stated flashing (screen) and then it came up with a black background and the tab becomes un-responsive. I then tried to restart, but it made no difference. It has had two warning messages, Google search isn't responding (which when you click ok, it freezes more and then some process error, which has the same outcome) I have tried to reinstall through odin, but I have had no luck, I don't want to take it back, I need help!!! please

Cheers

Alex
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] jbm76:
Which device do you have? Tried to put it in download mode and reflash via Odin?
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] alex0987:
I have solved it, I found a way to get into recovery mode and reset it back and it has fixed it, thanks for your reply

I am using a SM-P600 btw, should be clearer with that :)

Cheers, and thanks

Alex
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] Shellite:
Hey Alex,

I realise you have fixed the issue, however I am curious which 4.4.2 rom you are using, what PDA/CSC?

I just bought 9 SM-P600's and need to upgrade them to 4.4.2 ;)
[8125, K-JAM, P4300, MDA Vario General] hacksome:
unfortunately, i learned that Fring will not be supported on windows Mobile platform. Its Only for Nokia N-series. It is unfortunate that such a unique software not available for a popular & powerful platform like wm5. :(

If anyone knows how to do voip calls to Google Talk! buddies from wm5 phone

without a desktop proxy etc.. please let me know.
[8125, K-JAM, P4300, MDA Vario General] superhero7:
The Ultimate VOIP for WinMo 6.1 Devices?? Anyone?

I am fully interested in VOIP for my WinMo device also (AT&T Tilt)

ROM: dutty's WM6.1 WWE

Radio: 1.65.14.06

Protocol Version: 25.81.40.02H

Did antone find out about Google Talk or is there another thread on using it for VOIP? Can you call landlines and/or are there any restrictions to using it like having to pay for usage etc. From what I understand using skype requires credits but wasn't sure.

Also any comments on switching from 3G to WIFI automatically and or battery drainage. Has anyone found the ultimate third party VOIP software yet for WinMo is my most immediate and pressing question.
[8125, K-JAM, P4300, MDA Vario General] exohaib:
Fring is now available for Windows Mobile.

Download it Here
[8125, K-JAM, P4300, MDA Vario General] pawanmehta:
checkout http://octro.com/