yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] snu:
I've had the same issue with this rom. It's definitely not the atrix itself - I had no problems with the sixaxis app on jokersax's cm9 rom, and it refuses to connect with this rom.
[Atrix 4G Android Development] andresrivas:
Guys, tjis is an alpha stage kernel, it obviously won't support advanced stuff, at least until major issues are fixed,

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] krystianp:
It's probably missing kernel module for that type of controllers. Testing all or using linux to find which one it uses could solve it.
[Atrix 4G Android Development] douglasroos:
Thanks for the info, as i have none knowledge about kernel build or modules i have to wait until someone can test that and do it :(
[Atrix 4G Android Development] lightlord:
Sixaxis controller works. Latest kernel on AtrICS2.0.Of course you have to spend a few minutes setting it up.I had to reset the game pad etc, but it works WITHOUT external USB power.

Sent from my MB860
[Atrix 4G Android Development] douglasroos:
Thanks, can you give me more details about it? Which version of AtrICS 2.0 are you using? And what Kernel build date?
[Atrix 4G Android Development] lightlord:
this kernel http://xdaforums.com/showthread.php?p=48738580

and 20121114 rom

Sent from my MB860
[Atrix 4G Android Development] krystianp:
I did some updates to the code. The most important is probably change in oncall behaviour. I removed previous workaround and restored deepsleep support. I added proximity irq gpio to wakepad, so now it should wake up the phone and should save some more battery (during calls). I also made some changes to my uv code. It needs testing but if anyone want to try it, then it's there. When my local tests are successful, I'll publish compiled kernel.
[Atrix 4G Android Development] tonglebeak:
Hi krystianp. Just wanted to let you know that I usually get many modern does a day but have had no issues at all using the Xoom motoril lob
[Atrix 4G Android Development] ohnez:
If these changes in the ICSRom ?
[Atrix 4G Android Development] palmbeach05:
Updated kernel is still in testing phase. if you read these threads, you realize he releases a CM9 and a CM10.1 kernel here, and he releases a build for/someone else releases a build based off of the CM9 kernel on the AtrICS ROM, which is essentially the same thing as ICSROM.
[Atrix 4G Android Development] krystianp:
Good to hear that. But I also heard from other users that it still can cause drops. So if it helps you then stay with it until I fix our lib.

No, latest changes are only on github. I don't recommend using them yet. Somehow I ended up with not fully functional code. Until I fix it please use your current kernel.
[Atrix 4G Android Development] Silentwidow:
Thank you for all you guys are doing for this device, it's nice to see people love it still!

If I could figure out how to import device trees I would start building roms, but it seems to be beyond my mentality right now lol
[Atrix 4G Android Development] andresrivas:
On that case, google is your friend (also, you will find useful info on stackoverflow and serverfault)

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] a6576171:
Hello Krystian. I've experienced some modem and network drops as well. Usually I get it working again by rebooting. The drops are very random, so far I couldn't identify the scenarios that make them happen, but I have this wild guess that makes me think it has something to do with the temperature, despite the fact that it is really random. Hope it helps in any way.

----------------------------

Sent from my Motorola Atrix

Specs:

Memory: Elpidia 40nm

Panel: 0x80000740

Tegra revision: A03 Prime
[Atrix 4G Android Development] tonglebeak:
Just wanted to let you knwo that using the Xoom motolib_ril.so works great for me, so give that a shot. Krystian posted that earlier (may have been in the CM9 thread). I used to have to reboot several times a day due to it, but haven't had to for the past two days ever since I put Xoom's lib in there.
[Atrix 4G Android Development] andresrivas:
You forgot the logs he requested to anyone with modem drops

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] a6576171:
First I'd like to thank you, 'cos I don't really know what's going on with cm9. Secondly, where do I find those libs and where do I put'em? Would be great if you could walk me through it... Can be via private message, though, or you can send me the link. (The reason I'm posting this here is for anyone else who has the same issue can go about doing the same).

Sorry for the spamming.

----------------------------

Sent from my Motorola Atrix

Specs:

Memory: Elpidia 40nm

Panel: 0x80000740

Tegra revision: A03 Prime
[Atrix 4G Android Development] krystianp:
From [MENTION=5268654]rhcohen[/MENTION] logs it seems that we have bad ownership on one important file. So please try this in terminal:

su
cd /sys/class/radio/mdm6600
ls -la

if you have this

--w--w---- root root 4096 2014-01-14 11:25 command

then do this

chown system.radio command
ls -la

you should get something like

--w--w---- system radio 4096 2014-01-14 11:30 command

And wait for drops...
[Atrix 4G Android Development] andresrivas:
Apparently, this only applies to CM9, on AtrICS, this is what I got:

andres@Minako:~$ sudo adb devices
List of devices attached
TA2070QZWJ	device

andres@Minako:~$ adb shell
shell@olympus:/ $ su
root@olympus:/sys # ls -la /sys/class/radio/mdm6600/
/sys/class/radio/mdm6600/: No such file or directory
1|root@olympus:/sys # find . -name mdm6600 -print
./bus/usb/drivers/mdm6600
./bus/usb-serial/drivers/mdm6600
./module/mdm6600
[Atrix 4G Android Development] kur41:
I can confirm that in latest epinter's build the file has wrong permissions: "root:root".
[Atrix 4G Android Development] krystianp:
It should be there. If it isn't it means you have kernel with bad radio_ctrl driver. There is a batch of kernels that had bad driver (from xoom but not adapted). Latest kernels have it restored to original, functional one.
[Atrix 4G Android Development] andresrivas:
Now I'm dazzled.... Will install latest kernel and report back. My atrix is on a old kernel, before all those with more debugging enabled to narrow down modem drops
[Atrix 4G Android Development] krystianp:
You can use safetly sources with commits up to Dec 29, 2013. Just do:

git checkout 52662a6de5409c896152015e689a9ff5bc3e8c84

in your local repository.
[Atrix 4G Android Development] andresrivas:
Compiled, flashed and tested. The owner and group of command file are correct

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] krystianp:
So it was correct from the start?
[Atrix 4G Android Development] andresrivas:
Indeed, will check if changes after a drop, or in a different commit

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] krystianp:
What rom are you using?
[Atrix 4G Android Development] andresrivas:
Old atrics, the build from 2012, not the actual one with radio problems

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] krystianp:
Then it's perfectly fine. I found that ownership mismatch comparing cm9 and atrics. This problem applies to custom build roms.
[Atrix 4G Android Development] KCKitsune:
Quick question Krystianp about HDMI output, I have one of the lapdocks and when I try to plug it in, I don't get the HDMI to mirror to the lapdock. Am I missing a setting or is the lapdock not telling the phone that it's there?

I'm running Epinters 12/11 CM10.1
[Atrix 4G Android Development] krystianp:
HDMI mirroring will work only if we get extdispservice.apk to work. It's still work in progress.

---------- Post added at 11:50 AM ---------- Previous post was at 11:49 AM ----------

Do you have permanent network drops on atrics?
[Atrix 4G Android Development] andresrivas:
Yup, I mean, I can make and receive calls and sms, but internet is dead, no matter if switch data off/on, airplane, wifi, etc.. only solved by rebooting
[Atrix 4G Android Development] krystianp:
The root of this issue is the same. Difference is that on atrics rom modem is properly restarted (but not all services connected to it) and on CMs it's not restarted at all. I hope this is the ownership issue and with that we'll get same results as on Atrics rom. Until then I'm not touching anything other. I don't think it will be hard to regain internet connection capability after cell network drop is fixed.

Edit:

I'm dividing modem issues to 3 separate problems:

1. Permanent network drops that makes calling impossible.

2. Data communication loss after non fatal network drop (or system able to recover from network drop).

3. Loss of data transmission during sleep.

Now I'm trying to fix 1 case.
[Atrix 4G Android Development] tonglebeak:
Hi again. Just wanted to update that it worked fine for a couple of days with Xoom's lib, then it started acting up again, and got more and more frequent. I'm seeing just the data drop most of the time...a lot more than total loss, and I already had the ownership corrected on the radio. Next time it does it I'll do a dmesg and attach it. CM9
[Atrix 4G Android Development] Feche:
Indeed, if I get network drop and restart the modem on CM10.1, I can make calls/sms but data won't connect, reboot solves it.
[Atrix 4G Android Development] palmbeach05:
thats why he was telling us about the non Xoom lib kernel. the Xoom ones are not adapted to A4G, which causes errors.
[Atrix 4G Android Development] tonglebeak:
Where? He specifically linked to the Xoom lib for testing.
[Atrix 4G Android Development] krystianp:
Try reverting to original library and set ownership. Check then if you lose connection with modem permanently.

---------- Post added at 09:42 PM ---------- Previous post was at 09:40 PM ----------

Xoom libs should work for us. It's the modem (which is the same) rather than anything else. But if we can make newer version of the lib to work properly then it's probably better to switch to it rather than stay with older one.
[Atrix 4G Android Development] tonglebeak:
Hi Krystian. Attached are two logs. dmesg.txt was the log taken after I woke up and saw that both voice and data had completely dropped. The dmesg2 is when just the data went out later that day. Let me know if there's anything else you need. These were with the original libs and corrected permissions.
[Atrix 4G Android Development] krystianp:
Could you also provide radio log (logcat -b radio)? Kernel log slonr is not enough, as it only shows communication errors between modem and system and I need to know what they were trying to negotiate.
[Atrix 4G Android Development] palmbeach05:
With the new cm10.2 release from last night, are the kernel updates compatible with the new ROM after doing the whole cygwin boot.img kernel swap method or do you think there will be incompatibilities?
[Atrix 4G Android Development] tonglebeak:
Here is logcat of data drop only. If the attachment here doesn't work then I'll do it from my computer in a few hours.
[Atrix 4G Android Development] Feche:
I will try to be most clear as possible, I am now traveling on bus and just something happend: I've lost data connection so I put it on airplane mode one or two times but it didn't work since that data didn't connect, on third or fourth attempt I opened app 'Network Signal Info' to see what was happening and took airplane mode off and saw that 'Data state' was on 'Setting up data connection', after some seconds baang! 'Setting up data connection' now was empty, network operator was empty too and no signal at all, tried to change between 2g/3g mode and I couldn't, so I took logs as fast as possible, here they are: http://www.solidfiles.com/d/74c9364a24/ -> I am using CM10.1 with 07/01 kernel.

Conclusion: modem crashes after trying to set up data connection. (somehow it fails to connect and modem crashes/shutsdown)
[Atrix 4G Android Development] krystianp:
Almost perfect except it's system log instead of radiolog (maybe missing parameter "-b radio"?)
[Atrix 4G Android Development] tonglebeak:
Here is another logcat using the kernel you posted yesterday. This was a network drop

EDIT: Just noticed the radio perms were root again. Not sure why, but I chown'd yet again, so I'll see what happens after this.

EDIT2: The perms are resetting after a reboot. Why is that? Would perms be responsible for the network drops to begin with?
[Atrix 4G Android Development] krystianp:
Permissions have to be set in init script to be recreated at boot. Those files are created by kernel driver with default settings.
[Atrix 4G Android Development] tonglebeak:
Alright. Do you need another logcat if it drops with correct perms again, or are you good with the last one I submitted?

EDIT: If I submit another logcat, it'll be using the 1/7 kernel. Incoming audio drops off during every call with the kernel from last night.
[Atrix 4G Android Development] Feche:
Same as before, now took radio logcat :)

http://www.mediafire.com/?yzf1d6d9qwt4oz2
[Atrix 4G Android Development] krystianp:
We're going for JTAG on atrix motherboard. There's an UART on it, we gonna get to it. Hopefully it will give us what we want.
[Atrix 4G Android Development] Zeljko1234:
I know, I'm digging for it since headphone jack doesn't work for the first time.Yesterday lehjr trigger me again, found schema and disassembling guide again, spoke with mmontuori and gave him everything and his brave enough to try :)

You are welcome to join our gtalk conversation :)
[Atrix 4G Android Development] lehjr:
Btw, I found the correct orientation for that JTAG on some Russian site if you need it.
[Atrix 4G Android Development] Zeljko1234:
Yesssssssss, thank you! :)
[Atrix 4G Android Development] LawlessPPC:
I know I'm probably wasting thread space but this thread is getting pretty interesting. Well done for keep getting past the stumbling blocks. Good luck *80)
[Atrix 4G Android Development] lehjr:
I'm still hunting for a suitable connector to solder in there. I have found connectors like this, where a connector from the same family with the correct pin count would probably work. The problem is finding any of these with a part number. I'll keep looking though. I may have to resort to trying to guess some measurements based on the scale of the photo in order to find something :silly:

Edit: I measured the MDM6200 chip in GIMP and compared the size in the photo vs the device outer dimensions from the datasheet to get my scale. I can now say within a reasonable degree of certainty that the lead spacing is 0.4mm on center, the gap between the 2 rows is about 1.28mm, and lead length is about 0.75mm.

Edit 2: Looks like this is a possible connector.
[Atrix 4G Android Development] vladeco:
There's also this schematic, found here:

http://xdaforums.com/showpost.php?p=28027550&postcount=31
[Atrix 4G Android Development] Zeljko1234:
lehjr, second one looks promising. Actually we neet to connect just TX from JTAG and ground. RX is not needed and could even damage SoC. I would avoid direct soldering if we can. Usually PCB is not strong enough to keep wire on it or copper could detach during soldering.
[Atrix 4G Android Development] daveee143:
instead of using PCB why don't you used breadboard instead? you can easily tangle and put parts into it :D

just suggesting :D
[Atrix 4G Android Development] Zeljko1234:
I mean Atrix PCB ;)
[Atrix 4G Android Development] daveee143:
ahaha sorry :D
[Atrix 4G Android Development] Zeljko1234:
Don't worry, every suggestion is welcome. Together we can make it happen :)

The easiest way is to give up and buy a new devices, that's exactly what vendors wish :D
[Atrix 4G Android Development] lehjr:
The 4 corners have the ground connection which would strengthen the bond to the board and I'd say would be better than having wires dangling off the device. It makes it much easier to store or handle the device. It would also come in handy should you ever need to use the JTAG port. All that said, the connector that I found is still an educated guess, but at least they're cheap enough to try, and having a part number means you can order from some place relatively close, wherever you are in the world.
[Atrix 4G Android Development] VipeRsan:
You can try get sample from Molex: http://www.molex.com/molex/products/datasheet.jsp?part=active/0559092474_PCB_HEADERS.xml (once they send me few connectors).
[Atrix 4G Android Development] lehjr:
I'd also order one or both of the mating connectors to go with it, and order a few of each just in case. Then use a small PCB to attach that to and add your serial connections to the board. Or if you wanted to get fancy you could make something like I mentioned earlier, depending on how much you need full JTAG. I don't know how much experience you have making your own PCB's but it's really not that hard, unless you have a lot of through hole components and have to to a lot of drilling.
[Atrix 4G Android Development] mixlis:
check this out http://xdaforums.com/showthread.php?t=2028946&page=34
[Atrix 4G Android Development] paravorheim:
I don't quite remember, but if the major issue was find kernel sources from 2.6.39.4, this is it. However, I think the hurdle now is obtaining all of the hardware ID (generalizing here) to make it compatible with a kernel such as that. Also, are we entirely sure the O2X chip is the same as the one in the Atrix 4G?
[Atrix 4G Android Development] lehjr:
I'm actuallly kind of anxious to see if the debugging serial port works and what wonders it will bring.
[Atrix 4G Android Development] paravorheim:
Agreed. It seems like as long as we have the right location and pins, it would work. I believe someone got it working with the Captivate a while back.
[Atrix 4G Android Development] krystianp:
So we're almost ready to move things to new kernel. We've cleared all board files from odm and nvrm (well 98%, till we have debug uart). And now it's time to merge those files + drivers with new kernel and fix all the problems that will show up. Hopefully there won't be many serious ;)

EDIT:

Btw. I'm also anxious about that jtag/uart thing. It will be huge help if we get access to console. Otherwise it will be like looking for a needle in a haystack if we get stuck at bootloops.
[Atrix 4G Android Development] uffi69:
Hi all, I would download and try this kernell but I don't succeed in finding the right link. can someone link it to me? thanks
[Atrix 4G Android Development] Harrson:
I have a quick question - will this kernel be compatible with KitKat? I ask because I've got a TF101 (very similar hardware capabilities to the Atrix, at least at first blush) with Timduru's KatKiss KitKat ROM, and the performance is _amazing._

If the kernel will be compatible, I foresee awesome KK ROMs extending the life of this Lazarus of phones a little while longer.
[Atrix 4G Android Development] ravilov:
Please use search before asking any (more) questions.
[Atrix 4G Android Development] Harrson:
I initially did a cursory search of this thread using 'KitKat' and 'compatible' without success.

Searching for 'chipset' after your response, however, was more fruitful, and took me to a post sequence starting on page 49 that suggests forward compatibility of kernels is unlikely, given the relative uncommonness of the Atrix's chipset.

Nuts.
[Atrix 4G Android Development] Harrson:
Additionally, I found this thread, which provides a little more information.
[Atrix 4G Android Development] krystianp:
I think it's doable but have doubts if we can get data over modem feature. Other than that it should be bootable at some point.
[Atrix 4G Android Development] runekock:
Krystian, if you think that the mdm6600/command permission is important, it would be a good idea to fix it in your kernel packages -- we users are likely to forget, and then send misleading reports. (Using kernel-2014_02_02_18_25_cm10_1 the owner is still root).
[Atrix 4G Android Development] krystianp:
New kernels should have fixed ownership. As for what [MENTION=5268654]rhcohen[/MENTION] asked, modem data issue is common for all roms but not all tegras (probably). I changed some settings to less energy efficient just in case it has any impact on modem stability. As soon as we fix (hopefully) modem, I'll revert those settings. Every new kernel has something changed. Recent ones are faster in i/o operations. You should try those. The most recent is always the most important. If anyone notify me about network drop I scratch that kernel from "working" list. So until we find perfect or closest to perfect kernel the most recent should be considered as a base.

Edit:

New kernels. I've lowered core voltage temporarily. Please test modem stability, I've also removed again deferred resume, so there might be some random reboots. Also did some clock tweaking.

Edit2:

I think we should go with all the reports to bug spreadsheet. There is modem section. It needs cleaning and we should start there from the beginning (similar to panel tests). Each kernel separate results. Anyone volunteers to do that table? I'm going to sleep:)
[Atrix 4G Android Development] Harrson:
I just finished testing kernel-2014_02_02_18_25_cm9 with the associated ROM, and have experienced multiple modem drops and one hard freeze (had to pull battery). My testing 'method' was just to run speed test repeatedly until the mobile data connection stopped working, so this doesn't really reflect normal usage.

Will download the new ones and try the same thing.
[Atrix 4G Android Development] saiftheboss7:
No panel settings are working for me. Will there be any other panel settings? My phone worked just fine with hporch32. What should I do? I tried profile 0, profile 1 and profile 2.. Nothing worked. And since new kernels don't do anything about panel settings, I'm kinda stuck.Since this new panel setting system appeared, I never could boot into CM10.1. And once I don't have a correct profile, I cannot use latest kernels also. :(

Is there any way to get rid of this now? I couldn't test any kernel since then! Besides Krystian told me to test these kernels and find out which one is perfect for me.. https://docs.google.com/spreadsheet...RBWGlkbF9GQVJuaDctbGl6MXc&usp=drive_web#gid=0

But all those links are invalid.

Can anyone just make a profile config which is present on hporch32? If hporch32 has couple of configs bundled in it, can anyone make 2/3 zips for me? I'm really sad and stuck! :(

I flashed the last working hproch32 kernel in order to get the working config setting from this kernel. However in /data/system there is no file names olympuspanel.cfg.. How can I copy the working config setting from this hporch32 kernel?
[Atrix 4G Android Development] tonglebeak:
Camera is not working on the latest kernel. Modem also dropped very quickly. Reverted to 1_25 kernel from today to get camera working again
[Atrix 4G Android Development] Feche:
Deep sleep is not working in 'kernel-2014_02_03_01_17_cm10_1.zip'
[Atrix 4G Android Development] Harrson:
New one (CM9) lasted longer than the previous one, but I experienced modem drops.

No hard freezes, though, which is an improvement. The testing process remained the same - speedtest.net app (by ookla) until failure.

Hope this is helpful.

(edit - phone was warmer than usual, but not alarmingly so)