yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Harrson:
KMSG Logs

Attached are two (sizeable) log files, each containing kmsg logs for periods of between 4-8 minutes, during which time I ran speedtest between 5-6 times in quick succession. Unfortunately, I did not experience a modem drop during this time.
[Atrix 4G Android Development] rhcohen:
For what problems do you want test results?

RE generating info for logs: does running dmesg via adb yield any more info than running it from terminal emulator on the phone? Because otherwise I can't get from dmesg human-readable info about the memory. All I get is info like:

LPDDR2 MR0: 0x00EF (0xBEEF)
[Atrix 4G Android Development] overboard1978:
since i already reflashed cm10.1 which seems to have solved issue i will try flashing latest kernel again. where is spreadsheet link for kernels

edit found spreadsheet
[Atrix 4G Android Development] Harrson:
Captured modem Drop in KMSG

Decided to keep on going with the speedtests while streaming kmsg, and I managed to capture the drop. It failed mid-test, and I kept the log running long enough to pull up the *#*#4636#*#* menu to confirm failure of the ping test.

It's a big-ass log file, but hopefully there's something of use for you in there.
[Atrix 4G Android Development] rhcohen:
spreadsheet location

Spreadsheet link for kernels should be here:

https://docs.google.com/spreadsheet/ccc?key=0AqtYkKHzeOy_dGZFU3RBWGlkbF9GQVJuaDctbGl6MXc&usp=sharing
[Atrix 4G Android Development] krystianp:
I suspect that one line of 1-wire was muted and because of that battery stats weren't correctly shown. I cleared all pinmuxes, so now it should be read correctly.

Logs are important only in case of drops.

It makes it easier/faster to stop (as soon as modem drops).

Thanks, will look into it.

I made new kernel, no big changes, no uv, just modiffied a bit what voltage is set.
[Atrix 4G Android Development] rhcohen:
differences between kernels?

I did a bit of switching back and forth tonight between the kernel that seemed very stable for me (01-31_cm10_1_clk2_ucb) and the most recent (02_03_19_21_cm10_1). Rather consistently, I get slower SpeedTest results with the 01-31 kernel, but it is stable for me, vs random reboots every hour or so on 02_03_19_21. Is it possible to summarize the difference between these two? In particular I am wondering how I might recognize a future kernel that is for me both stable and has the faster data. It is amazing to me how dissimilar two instances of supposedly the same phone can be.

Also if you can provide any pointers for how to determine the kind of memory I have from the dmesg output (all I get from dmesg is what look like hexidecimal info on the memory: lines like "LPDDR2 MR0: 0x00EF (0xBEEF)"), I will be happy to add that to the spreadsheet.

Moving on now to try the newest kernel.
[Atrix 4G Android Development] bigbadfisherman:
I'd like to contribute, over all the different kernels, I usually have datadrops when leaving the wifi area and when the phone should switch to mobile data. Maybe this information helps others to reproduce...?

Gesendet von meinem MB860 mit Tapatalk
[Atrix 4G Android Development] krystianp:
It's all vague matter with some extra placebo effect :D You are experiencing both better performance from unlocked clocks and worse performance from extra debugging data that is being produced. Reboots might be caused by my voltage tweaks or by pinmux settings. Both things will be changed over time. Our main concern now is modem behavior. I wouldn't worry too much about reboots or hangs. Our patient is open, we are performing surgery, it might happen that liver or kindey will fall out:D. It will be put back again later, now we are focusing on heart that has some problems with pumping blood (data). At first I did too many things without comments, so I started losing track of what when was changed. Had to change approach, to make something out of it.

Edit:

I've updated ramdisk of cm10.1 kernel in the latest kernel. It was missing start of config_olympus_panel.sh script at boot.
[Atrix 4G Android Development] jisse44:
Hi, take a look at this usefull thread: http://xdaforums.com/showthread.php?p=41651182
[Atrix 4G Android Development] Feche:
18 hours uptime with kernel-2014_02_03_19_21_cm10_1.zip, no reboots/hangs, no data drop, exellent. Now going to install 9_10 kernel.
[Atrix 4G Android Development] rhcohen:
dmesg

Thank you for your effort to be helpful, but I was already quite familiar with that thread -- in fact I am writing the full output of dmesg, run right after reboot, to a file and searching that file. I get a bunch of lines like

LPDDR2 MR0: 0x00EF (0xBEEF)

(including lines for MR1, MR2, etc.) -- but no human-readable indication of memory manufacturer. I do get all of the other info that [MENTION=4641721]krystianp[/MENTION] has requested for the spreadsheet.
[Atrix 4G Android Development] saiftheboss7:
Using 9_10 Kernel. The phone doesn't go into deep sleep.
[Atrix 4G Android Development] rhcohen:
placebo effect

As to placebo effect -- I was thinking that too, until I switched back and forth several times and seemed to have a consistent factor of two or more in speedtest results. Anyway with your latest kernel as of this writing (2014_02_04_09_11) I am seemingly getting the best of everything-- the faster speedtest results and (so far, after 9 hours) no reboots or modem drops or freezes (and normal battery stat behavior). I will monitor as the day progresses and update my entry in the spreadsheet if necessary -- if the good luck continues I will make this kernel my personal baseline (but will also continue to test new ones).
[Atrix 4G Android Development] overboard1978:
running 9 10 for 6 hours now running great no modem drops lock-up or reboots. very smooth lag-free interface and battery reads correct. great job
[Atrix 4G Android Development] Feche:
Okay I had a reboot with 9_10 kernel, phone was locked, when I grabbed it, it was on CM startup splash.
[Atrix 4G Android Development] overboard1978:
Didnt notice at first but modem is dropping data only on 9 10. signal stays blue but no data getting through. calls and texts still work fine
[Atrix 4G Android Development] vicfuze:
My phone is also warm... not sleeping.
[Atrix 4G Android Development] krystianp:
Deep sleep issue is usually rom problem. Try cleaning dalvik cache or wiping data. Nothing regarding deep sleep routine was changed.
[Atrix 4G Android Development] Harrson:
Flashed new kernel three hours ago. Thus far, no drops, no reboots.

Awesome.

That said - and I'm not sure this is a kernel thing - speedtest results have been positively schizophrenic over the past 3-5 flashes. They range from 8 Mbs on the high end to sub-1Mbs on the crappy end. I expect my APN settings are partially (entirely?) responsible.
[Atrix 4G Android Development] saiftheboss7:
My charge doesn't go more than 86% ... Cleared cache and dalvik. Also formatted data and system before installing.. Any idea how to fix it so that it charges 100%?
[Atrix 4G Android Development] Harrson:
You could try wiping battery stats once you're sure the battery voltage is at 4200 millivolts, or you could install the Atrix Battery fix and press the Fix Battd button, and then choose Restart. You'll have to do it several times, and I advise doing it while connected to a charger.
[Atrix 4G Android Development] rhcohen:
After nearly 24 hours almost everything is great, no modem drops, no random restarts, no freezes.

The only thing is -- Google Voice Search freezes after a few seconds. I'm not sure when this bug crept in. The last time I tried it, around Jan 1, it was working. I notice there was an update to Google Voice Search on Jan 6, not sure if I've used it since the update. Anyone else noticing this? (Would require CM10.1, as Google Voice Search doesn't support Android versions before 4.1 -- so maybe should be posting on the CM10.1 thread?)
[Atrix 4G Android Development] saiftheboss7:
Delted dalvik cache & cache again last night. Phone doesn't go into deep sleep mode. Anyone having similar issue or is it just me?
[Atrix 4G Android Development] thecjan:
have not deep sleep issue.

btw, do you fix panel setting?
[Atrix 4G Android Development] saiftheboss7:
Actuallt it was fixed from beginning. I didn't know it was the other way...

Flashed the new kernel, with profile 2 gets me into a black screen after Motorola Logo. But if I wait sometime (about 3 minutes) and press power button, the mobile presents me in the lock screen. That means the boot screen is black but the phone is booting. After pressing power button, it starts displaying the display. Nobody told me that... So I figured it out last night.
[Atrix 4G Android Development] jisse44:
Did you try to flash the Deep Sleep Fix after flashing kernel ????

Or edit this build.prop line, changing false to true: ro.mot.deep.sleep.supported=true
[Atrix 4G Android Development] andresrivas:
Afaik, that line is for moto's ics, it enables a sort of 'suspend' feature on that rom that is also called deep sleep

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] saiftheboss7:
Deep sleep is now working... Delete cached and dalvik again... Working...
[Atrix 4G Android Development] krystianp:
I've made new kernel. I redid audio pinmux handling but it requires testing. So please test audio on every possible way that comes to your mind. If something doesn't work then after that failed attempt take kernel log and send it to me. I also changed some debugging logging stuff. So if there's a modem drop also take kernel log and send it to me.
[Atrix 4G Android Development] Feche:
I had data drop + reboots, going to try to take a log.
[Atrix 4G Android Development] rhcohen:
Suddenly lots of reboots

I'm still on 2014_02_04_09_10 kernel, and after almost a day and a half of stable operation I've started getting frequent (every few minutes) spontaneous reboots). So I can't blame mine on the newer kernel (but will try it).
[Atrix 4G Android Development] todobarato:
Hello kristianp,

the sd-card sleep function is disabled? I get one reboot after wake up ( card inserted, after remove works OK)? ( not complaining only to known)

Best regards.
[Atrix 4G Android Development] krystianp:
It's probably from my core voltage tweak or sdcard. Second cause u can test by removing sdcard. First should get better if you go to recovery for 2 minutes.

Interesting, it might be clue actually.

---------- Post added at 08:45 PM ---------- Previous post was at 08:41 PM ----------

I'm testing different method to this issue. It's not about sleep but rather wakeup. When writing is initiated before voltage for sdcard is stable it reboots (my hypothesis). I'm testing different method of delay.
[Atrix 4G Android Development] rhcohen:
My observation is that my (newly recurring, after a day and a half of stable operation) reboots seem to always happen while phone is asleep, but when I wake up the phone some times I'm looking at the initial phase of reboot and sometimes looking at the unlock-sim-card screen. That would suggest to me that the problem is not about wake up, since in the latter cases the phone had already rebooted by the time I woke it up.
[Atrix 4G Android Development] Reiki21:
I also get that output. Try taking a dmesg after restarting your device and look for a line that says

<6>[ 0.391513] tegra_init_emc: Elpida 1G 50nm memory found

I'm not sure if that will be there for you but it was for me.
[Atrix 4G Android Development] rhcohen:
And I can add now that removing the SD card seems to have solved the reboot (at least, it's not occuring every few minutes). Of course this is also the first time I've had the phone powered down for a few minutes, so maybe that has something to do with it?
[Atrix 4G Android Development] krystianp:
It's good sugestion but will work on pre modem test kernels and on the latest of modem kernels.

Turning off might have helped also. I suspect cpcap goes berserk at some point and without short break (being off or in recovery) it doesn't provide what SoC needs.
[Atrix 4G Android Development] Feche:
Latest kernel (kernel-2014_02_05_15_39_cm10_1.zip) is VERY unestable for me, data drops (it reconnects but takes sometime), bad signal, and reboots during sleep (I had 2 reboots that ended in 'Unrecoverable bootloader error')

---------- Post added at 06:02 PM ---------- Previous post was at 05:59 PM ----------

I meant data drops and reboots. (Not a reboot while data loss)
[Atrix 4G Android Development] krystianp:
You promised logs :crying:
[Atrix 4G Android Development] andresrivas:
Hi! I'm kinda back, my brother got me a new digitizer and it kinda works. I'm testing first atrics kernel, so far its up for 7 hs and counting. Did a couple of speedtests (strange, I get nearly 550kbps downstream and almost 1024kbps upstream) but it kept stable and online. Will wait until tomorrow and fullfill the spreadsheet.

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] Feche:
If data is lost and then it reconnects, do you want while there is no 3g connection or when 3g connection is back?
[Atrix 4G Android Development] krystianp:
Check if there is anything mdm_ctrl related in the log. If there is then send it to me.
[Atrix 4G Android Development] rhcohen:
reboot exprience

So a further update -- as noted before, removing SD card stabilizes. Putting SD card back in destabilized (in spite of some time with power down). Staying in recovery for several minutes re-stabilizes, it seems. So both removing SD card and some time in recovery is stabilizing; powering for several minutes seemingly does not. (this is still on the 9_10 kernel from Feb 4). Does any of this point toward a solution?
[Atrix 4G Android Development] krystianp:
Check with newer kernel, it has longer delay for sdcard.
[Atrix 4G Android Development] rhcohen:
With today's kernel I still find Google Voice Search freezes after a few seconds. Don't know yet about reboots (At least I've gotten past the first 10 min without a reboot.)

Do you want us to enter such info on the spreadsheet somewhere?

When I get a chance (in a few hours) I will reboot, reproduce problem, and send log.
[Atrix 4G Android Development] Harrson:
Flashed kernel-2014_02_05_15_40_cm9 this morning, and am pleased to report that in the past ~12 hours I have had zero network drops, zero reboots, and zero hard freezes.

Data connection is slow, though that may be because of ROM configuration (haven't bothered setting up APNs since last flash).

Battery life has been good - all day with moderate usage and I'm currently showing 3553mV. About to plug in the charger for the first time since flashing the kernel.
[Atrix 4G Android Development] rhcohen:
So after several hours I can report that today's kernel 2014_02_05_15_40 (with CM10.1) looks to be stable, as you had hoped -- so far no reboots, modem drops, phone freezes (of course I was not getting this with the previous day's kernel either until nearly a day and a half had passed, so maybe too soon to tell).

But as noted, Google Sound Search crashes. It is not just Google Voice Search -- pretty much any app that uses Google voice typing for input seems to have the same problem, i.e. the issue is with google voice input.

I am attaching two dmesg logs. The first (called dmesglog.txt) is after a fresh reboot, then starting up terminal, then launching a google voice search and talking for several seconds until the voice search quit in the midst of my speaking and its window closed. After making this log file, I then re-opened Google search and activated the microphone. THis time I could only talk for a second or two before the microphone stopped responding and the voice search window stayed open but inactive. I took another log file, and then edited out the lines that were already in the first file. This is called "incremental_log.txt". I left in two lines of overlap with the earlier log file; other than that it is just 22 1/2 lines of new stuff related to my second attempt at a voice search. I don't know if there is any significance to the 1/2 line addition to the line with time stamp 304.137324 not having its own line -- kind of strange.

I hope these logs are of use.. And -- is anyone else having problems with voice typing? (I think, but am not sure, that this is supposed to be an option in ICS as well as JB and so should be testable with all versions of the kernel)

By the way I seem to have no other audio issues -- I can use a recording app to record seemingly arbitrarily long recordings; I can play back long sound files.
[Atrix 4G Android Development] krystianp:
In cm9 voice typing works fine maybe it's cm10.1 issue. This message I'm writing using voice and it's already been 10 seconds.
[Atrix 4G Android Development] jisse44:
Hi.

I have a big freeze this morning with 2014_02_05 version. I had to pull battery to restart phone.

It happened during a Speedtest, exactly at the same place than kernel-2014_02_03_19_21 reboot yesterday.

I have noticed that it's only when I switch different network antenna that the reboot/freeze/drops happen.
[Atrix 4G Android Development] saiftheboss7:
With 2014_02_05_15_39_cm10_1 kernel, I faced frequent modem drops. Repored on Gdocs :)
[Atrix 4G Android Development] krystianp:
Just to be sure revert to previous and verify that issue is gone.
[Atrix 4G Android Development] saiftheboss7:
Just reverted. Also I had 3 random reboots while updating apps on Play Store on the latest kernel. Reverted to the previous one. Will let you know after moderate use. :)

Just wanna Thank you from deep of my heart to make all this happen.

Though I recently bought a Moto G and thought of selling Atrix to gain some financian advantage, I didn't do it at last. This is my first phone and I collected the money all by myself. There's some emotional attachment with this phone. I had the high hope of running a fully functional CM10.1 from the beginning. Just when we all lost hope, you resurrected it. I want to see the end of my Atrix's life. I'll keep it as long as it lasts because I saw how hard you worked on it solving different problems.

All I can do is Thanking you. :')

BTW K,

WIll we see workable boot animation in future release? :) Just to see an indicator that CM is going to boot.

Update:

After reverting to the previous kernel, only 1 modem drop (very less than the latest kernel) and didn't have any reboots.
[Atrix 4G Android Development] rhcohen:
voice typing

No, not a CM10.1 issue per se. I reflashed epinter cm-10.1-20131211 and voice typing works fine. So apparently it is a problem with how the kernel interacts with CM10.1. I can't say which version of the kernel would have introduced the problem; I tried 2014_01_31_cm10_1_clk2_sub (as that was one that worked well for me other than battery stats) and that already has the voice typing problem.

I also note that after a reboot, the first time I try voice typing it seems to work for quite a while, may even be longer than 10 sec. But after a failure, the second failure will be much quicker, after a few sec. So you may have the problem on CM9, maybe you just didn't wait long enough to see it.

I should add that I've repeated the experiment twice: going back to CM10.1 from 1211, flashing the 02_05 kernel, flashing CM10.1, flashing 02_05 kernel. Quite consistently voice typing works for multiple very long email messages with just CM10.1 from 1211, but fails with the 02_05 kernel. Also -- the problem seems to set in quicker on phone data vs wifi, but occurs on either.

I note that voice typing requires an internet connection to work at all, if that helps diagnose the problem.

I am wondering if anyone else has this issue.
[Atrix 4G Android Development] Feche:
After switching from different basebands, I had reboots with all with 'kernel-2014_02_05_15_39_cm10_1.zip', so I guess it is not a baseband problem that not all atrixes handle the same way..
[Atrix 4G Android Development] Harrson:
Had a hard modem drop when I got to work this morning, but I don't know if it happened overnight, when I switched off wifi, or when I got to work.

After this reboot, I have experienced 1 hard modem drop (reboot required), one soft modem drop (turning modem on and off resolved the issue), and zero hard freezes.

Speeds are still all over the map, though.

Also, I listened to music stored on the SD card for about an hour at lunch, and while everything played fine, battery consumption was slightly higher than usual (~20% decrease, and then jumped immediately to low battery. Don't know why).
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
libtpa_core.so

K,

when doing reverse on libmoto_ril.so, found that it might need libtpa_core.so (not included in properitery list) to do NitzTiing, it might have some side effect on modom connection/reconncetion (dropout, as not sync) problem, just maybe...
[Atrix 4G Android Development] andresrivas:
Maybe, on atrics that lib (and libtpa.so) are present.

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] rhcohen:
Since I had pretty stable results with epinter's cm-10.1-20131211 and was originally motivated to follow the succession of kernels because of the working flash (which did not work for me with cm-10.1-20131211), I am wondering if it is time for me to try compiling a kernel. Can someone point me to the place to download source files for the kernels and the atrix cm10.1's?

And perhaps, [MENTION=4641721]krystianp[/MENTION], could you point me to the coding in the kernels that relate to camera flash?

Thanks.
[Atrix 4G Android Development] yp18:
Latest kernals are posted here.

https://www.dropbox.com/sh/npbgtozd4w0ahiv/VIA6JjSf4l
[Atrix 4G Android Development] krystianp:
It's always a good time to try compiling kernel. Compilation is rather simple task (if everything works fine). And you'll be looking for arch/arm/mach-tegra/board-olympus-pinmux.c file where are all default pinmux settings defined.
[Atrix 4G Android Development] rhcohen:
Thanks, but I'm looking now for the source code, not the compiled kernels. I think what I want is

https://github.com/CyanogenMod-Atrix/android_kernel_motorola_olympus
[Atrix 4G Android Development] Feche:
Yes that is the source code, problem is that is outdated :p
[Atrix 4G Android Development] rhcohen:
where to find the source code?

Thanks for the warning -- so where can I find the current source code for (a) the latest kernel, and (b) the kernel as it was for epinter's Dec 11 CM10.1? Maybe [MENTION=4641721]krystianp[/MENTION] can weigh in?

Also it would still be nice to hear if anyone else is having problems with google voice typing (it dies after maybe 10-15 sec on fresh boot, and in a few seconds once it has died once; not a problem running just epinter's 10.1, but is a problem on any of the recent kernels.)
[Atrix 4G Android Development] krystianp:
It just misses the most current changes that I still keep on my drive;). I don't like to push not finished code and since our dev group have shrinked I have no real pressure to push it as it is.:angel:
[Atrix 4G Android Development] Feche:
Problem is that is missing most important thing for CM10.1, flash :p
[Atrix 4G Android Development] asparaz43:
You have my admiration for your work. Thanks :good:
[Atrix 4G Android Development] rhcohen:
Yup, that would be a problem for me. To reiterate, I was doing pretty well with epinter Dec. 11 CM10.1, was hoping to make a kernel minimally changed from that but with flash from the more recent kernels.

In the interim I will go back and look at some of the posts from [MENTION=4641721]krystianp[/MENTION] between Dec 11 and Jan 31 to look for the first one that seemed to elicit a response of "the flash works" and see if I can use that one without loosing Google Voice typing. Assuming the link for that one is still live.

By the way it looks like I may have more problems than just Google Voice typing, I'm also unable to make a test call on skype after a Google Voice typing failure. (I can make the call, but when the test call is played back it is just noise). And also when Google Voice typing fails, if I wait, I get messages about not being able to communicate with Google. (None of this happens on epinter Dec 11 CM 10.1). I any voice-over-data service is affected, will do further tests.