yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] krystianp:
When you start alsamixer you get list of parameters when you click on one you get list of possible options and currently selected. You just have to write what you want to set. For mic it can be set to something like HS Mic, Mic1, off and some others. For rear mic you only have off and Mic2. But you can try other options and parameters.
[Atrix 4G Android Development] puskyer:
Hi krystianp, will you be committing you changes to github? Last commit's were in February..

It seems that when i build the Rom with kernel it works, but when i try installing just the kernel the atrix will not boot?

I would love to get you changes...

I am not a programmer, but i have a build environment so i can keep up to date with cm10 updates.

I am running 4.2.2 i built in April with kernel 3.1.10-gf11134a and used you ALSA recommendation to fix audio issues.

thanks,
[Atrix 4G Android Development] krystianp:
Sure I'll be commiting changes. I just don't like to post unfinished code. We still are working on mic issue. When we fix it I'll commit all the changes I have. It shouldn't take much longer.
[Atrix 4G Android Development] douglasroos:
Hey krystian, i'm currently testing the last kernel on AtrICS and have an issue with skype, when using WiFi first call have no mic, the second one does, but with 3G is totally different, first call works like a charm, but after that mic is dead. You have to reboot the phone.
[Atrix 4G Android Development] ohnez:
Hello,

After install the last kernel for ICS_Rom, my device dont arrived The deep sleep modus. All other are fine (i dont use skype).
[Atrix 4G Android Development] puskyer:
That is great, look forward to it.. Great work..:good: Oh! btw, have a few beers on me..

Cheers,

Pasquale
[Atrix 4G Android Development] todobarato:
The last kernel is for testIng Mic with Alsa, not for use everyday. But the one before was working Ok.
[Atrix 4G Android Development] douglasroos:
I've noted that when phone is with screen off not receive calls from skype, my mom's phone turns screen on and shows the call, the atrix don't. I hope this can be fixed in the nearby future :laugh:
[Atrix 4G Android Development] quetzalcoatl2435:
LG has released the sources for the SU660 months ago...
[Atrix 4G Android Development] BioVipah:
If u look the forums of LG 2X here in XDA, the official ICS has a lot of bugs, is slower and isn't recommended like a daily
[Atrix 4G Android Development] Zeljko1234:
Sounds familiar...

The best what we can do is to support krystianp and mmontuori in kernel and rom development.
[Atrix 4G Android Development] crnkoj:
Yes but the su660 platform differs from the EU 2x and moto Atrix. Just wanted to help sharing what I know.
[Atrix 4G Android Development] lehjr:
We can rebuild him, we have the technology, better, stronger, faster... but it's probably just cheaper to get another one off eBay.:silly:

Anyway, any idea what went wrong?
[Atrix 4G Android Development] quetzalcoatl2435:
It's still using the same Tegra 2 chip, though, so I don't see how porting the SU660 kernel is any different from porting the P990 kernel. That is, in terms of the amount of work that must be done, not actual code differences, because the P990 and SU660 clearly do have different kernels & software/ROMs.

In any case, the Galaxy R kernel is supposedly a closer match than either LG phones, so let's see how far this goes first.
[Atrix 4G Android Development] attrixnor:
we have speak about other kernel status ... but the actual thread problem is : DOES JTAG CONNECTION IS POSSIBLE

so we must stand for team post :( ....
[Atrix 4G Android Development] krystianp:
Hello Community :),

Just quick info how things are going. So kernel compiles but... there's always some but(t). Kernel hungs, which is bad, bootloop would be better. So we are trying to make kernel to bootloop. Without uart it's our only option, because only then we probably can diagnose what causes bootloop. JTAG is still unknown because last atrix didn't survive that experiment.
[Atrix 4G Android Development] attrixnor:
thanks krystianp !!

jtag problem was probably due to pin voltage error :-/
[Atrix 4G Android Development] Zeljko1234:
Probably you tested with proper ramdisk, libs and rom (ICS/JB)?
[Atrix 4G Android Development] krystianp:
We didn't get to connecting something to JTAG. We only removed metal cover and wanted to check if everything works as it should and it wasn't.
[Atrix 4G Android Development] mmontuori:
Kernel boot

Just wanted to clarify when we say boot the kernel, what exactly do we mean? Based on the questions asked here, I am assuming the process is not clear.

kernel+ramdisk are located in the boot partition (mmcblk0p11)

system filesystem is located in the system partition (mmcblk0p12) (All drivers and libs are here)

When the power button is pressed, the following happens:

Diagnostics pass/fail

Bootloader is executed

Bootloader uncompresses kernel and ramdisk

Bootloader executes kernel ( **** WE ARE STUCK HERE **** )

kernel mounts ramdisk

basic init is exeuted

/system partition is mounted

regular init.olympus.rc and init.rc processes are executed

this is where all native drivers and libs are loaded

Hope this explain things a little further...
[Atrix 4G Android Development] Zeljko1234:
May I ask how do you know where kernel stuck if you don't get any logs?
[Atrix 4G Android Development] mmontuori:
This is my experience with the Atrix 4G.

Diagnostics pass/fail

Bootloader is executed

Bootloader uncompresses kernel and ramdisk

Bootloader executes kernel ( **** WE ARE STUCK HERE **** )

slight flicker on the screen when kernel is finally executing

Motorola logo goes away

kernel mounts ramdisk

basic init is exeuted

/system partition is mounted (logs are starting to display at this stage)

regular boot animation is displayed

regular init.olympus.rc and init.rc processes are executed

this is where all the remaining drivers and libs are loaded
[Atrix 4G Android Development] barry_:
just wondering if previous Atrix developers who have moved on would have any ideas to help you get past the problem you're having?
[Atrix 4G Android Development] randrew87:
Where is Faux ?¿ ... please help US
[Atrix 4G Android Development] rjayflo:
Faux is over at the ATT SGS3 forums
[Atrix 4G Android Development] madmax59:
no, he is using nexus 4
[Atrix 4G Android Development] jhonnyx:
Please :)
[Atrix 4G Android Development] Zeljko1234:
Doesn't matter which phone faux uses right now, the question is whether he wants to help.

If someone know him, please kindly ask him to join the team.

jhonnyx, our job is to report post, not to make more garbage to clean ;)
[Atrix 4G Android Development] bobmorsy:
using the latest kernel with cm10.1...

still having the same problem with shazam and google voice search.

mic works fine with skype on wifi only, noise on 3g.

mic works fine with hangouts on wifi, i don't know if it works on 3g because i could never make a hangouts call on 3g on this phone, yet i can on any other phone...dunno why :confused:

mic works on magicjack and viber only in speaker mode and when the screen is on!

so generally proximity sensor is playing a big role i guess..

Thanks Krystian !!
[Atrix 4G Android Development] draxx31:
Do you have test to install AlsaMixer and the latest kernel?
[Atrix 4G Android Development] krystianp:
Proximity sensor is having some issues on cm10.1. It works fine on cm9. Use alsamixer to check whether slecting different mic helps in any of those apps. You should also test all those apps on atrics rom. If that still doesn't work there then I'll check those apps. Otherwise I won't be dealing with it yet.

I'll check on cm9 if and why Skype doesn't wake up the phone.
[Atrix 4G Android Development] GTMoraes:
hey,

just came in here to appreciate the work on this phone. It's rather old, but still a nice device.

My mom loves her Atrix, and I'm happy to see that there is some development going on for it! Kudos to all of you involved somehow with the project.

I'm tempted to take her off the old Android 2.x times just for... the sake of taking her out of 2.x. She doesn't REALLY need it anyway. How stable is the current build? She's not a heavy user, she plays candy crush, backgammon, makes calls and browses teh internet. She even barely uses the camera.
[Atrix 4G Android Development] saldirai:
other than the mic related problems, so mic-dependent apps like voice search, skype etc; i can call it pretty stable. video recording and photo quality might not satisfy the expectations but you'll be running 4.2.2.
[Atrix 4G Android Development] Voldemort:
Don't forget to mention that android 4.X eats the battery faster (because of all the new services, most of them worth it) and also consumes a bit more of ram, but that's not related to our ROM/kernel.
[Atrix 4G Android Development] GTMoraes:
Oh, that's sad. She couldn't care less for the camera, but her little eyes sparkled with the new Google Now voice commands. Well, I'll probably make the jump this weekend. Let's see how it'll perform.

Any recommended ROMs?
[Atrix 4G Android Development] guruzen:
If you want most of them working try EPinter's CM 10 (JB 4.1.2). Works great.
[Atrix 4G Android Development] saldirai:
cm10 has everything except hardware acceleration (so some apps like chrome wont work) and video recording.
[Atrix 4G Android Development] GTMoraes:
Still no Hardware acceleration? I remember back in the days, when I owned the Atrix, there were a leaked 4.x ROM (called "that ROM") that had hardware acceleration, but few bugs. I thought some of those bugs would be ironed out 'till now, but it seems that people gave up on it.
[Atrix 4G Android Development] saldirai:
cm10 has gingerbread kernel, that's why. you'll have to make a decision :)
[Atrix 4G Android Development] palmbeach05:
"That ROM" has been replaced by AtrICS v2.0
[Atrix 4G Android Development] r.sorujlall:
idk if its just me but with the latest kernel kernel-2014_07_04_22_37_cm10_1.zip on cm10.1 i have problem with network signal. at work i spend alot of time in the server room which is designed to block any sort to wifi/network signal so i constantly lose network coverage while in there but even when i step outside still no signal. the only way to get it work is either with a reboot or by turn airplain mode on and off. the old kernel used to connect back automatically when i step outside. i know this is a test kernel and i'm not complaining i'm just stating a bug i notice with me and wanted to get it out there to see if K or anyone else notice it. would send logs but my home pc needs reloading and i haven't had the time and i can't use work pc for this sort of thing. (company policy)
[Atrix 4G Android Development] phoenixgfx:
Try flashing the 38p radio to see if it works...

I'm from Guyana also and do work in Server rooms and areas where signal is weak. Have been using the radio for several months now and no problem with reconnecting.
[Atrix 4G Android Development] tonglebeak:
I have this issue when taking the phone out of deep sleep. Wifi will not reconnect a lot of times unless I turn off wifi and back on. This happens in different locations.
[Atrix 4G Android Development] DooMaster:
Writing from Atrics 2012 ROM and 24-04 Kernel

Been testing HDMI, trying to figure out how to overscan to fit all image to screen, at least in lapdock. I switch to olders kernel (stock Atrics, several 2013's and of course Krystianps) with no sucess, even edit the settings.db were overscan is set to 100 ot 50 depending from the box check in the screen settings and put 500 with no change.

It's interesting that between testings an "Resolution" option appears sometimes in Screen settings and try change it to 1920x1080 for example but nothings happens

Install "Resolution Changer Pro" and only messes the Webtop 3 mode.

On a side note test CM10 (JB 4.1 from epinter) and HDMI mirroring works fine, scans very well and fits all the screen but since it's mirroring you cannot change resolution (even with the program mentioned before).

My great doubt is since HDMI is kernel dependant why it doesnt work in CM9 and CM10.1but Atrics does? (CM10 works cause it uses the old 2.6 kernel)

BEst regards
[Atrix 4G Android Development] r.sorujlall:
just and update.. the new radio 39P seems to have made a little difference. now i don't use signal all the time and as easy as before. thanks for the tip
[Atrix 4G Android Development] andresrivas:
Bew kernel tries to work on blur and cm, that's why it uses a service, motorola ext-disp, to manage hdmi and tht isn't working.

As for the resolution, keep in mind that atrics was a development snapshot, and as such, there were things not fully implemented and or buggy as sh*t

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] DooMaster:
But HDMI is working on BLUR roms with new kernel, so its lack of apks and libraries in CM that prevents HDMI from working like in BLur roms.
[Atrix 4G Android Development] andresrivas:
Tht's exactly what I said, except for the badly written words, thanks to my crappy digitizer

Those apks and libs are blur dependant, and just like cm7 and webtop, there is not an easy way to port them
[Atrix 4G Android Development] DooMaster:
But, ¿How Epinter manage to enable HDMI in CM 10 (JB 4.1) with the old kernel?, Right now i'm with that combo, I'll put the new kernel and will see whats happens:

Best Regards.

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

The hard way, first flash then read, none of the currents 3.1 K's builds works on CM 10.
[Atrix 4G Android Development] andresrivas:
You need to compile the kernel, decompress cm10's initial ramdisk, and swap the old kernel with the new. On the kernel compile howto are more specific directions. Even doing that won't garantize it will run

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] DooMaster:
Yeah, I'been reading in the compile howto, it's no use.

Back to AtrICS+3.1K now I manage to use HD Dock perfectly: 1920x1080@60 hz resolution and well-scaned in my TV with Webtop3 and native touch-pad on docked atrix :highfive: . This is a breakthrough for me. Standar Dock works fine too with Clock or office mode. So the overscan settings it's what I trying to figure out to display perfectly the Lapdock.
[Atrix 4G Android Development] fengyr:
Kitkat 4.4.4 finally boots up!!!-------Zn7mkUKzN1r8aCIV

omni 4.4.4 finally boots up!!!-------me

Waiting for K to come back.
[Atrix 4G Android Development] krystianp:
Great news. And I'm almost ready to code again. Reinstalled my system and just synced kk sources. Have to do some kernel cleanings and will push it to github. Will try to help Z as much as I can to make kk stable on atrix.
[Atrix 4G Android Development] DooMaster:
That's awesome, maybe when Z release an alpha could post some news in XDA's front page to gather some attention and people to test.
[Atrix 4G Android Development] jeremywh7:
Another datum for hard freezes using Google Voice over cell...

I installed ICSROM 1.4.6 (the one with sendust7's Rev00 boot image rolled in), and after finding that it would reboot when going into deep sleep, I updated to the latest krystianp test kernel, kernel-2014_07_04_22_37_atrics. After fixing the home button, GPS, and 216MHz; everything* had been working -great-. Then I discovered that the phone would hard freeze, within ~2-10sec, when using Google Voice over the cell network (showed 4G at the time). After the second time, I got the hint and stopped trying. I've used GV over WiFi on it extensively, with zero issues. I was planning to work back through the prior kernel's to try and find a fix, until I found many reports of this even back to the February kernels. I will try to capture a log in the meantime.

*As far as audio, other than randomly hearing some minor crackling on occasion from the earpiece (browsing the phone, not on a call, as I use the speakerphone), everything has seemed fine. As in, I'll press the volume button or touch the screen, and it correlates to a crackle/pop; but I would also notice it without direct interaction. No rice crispies involved, either. :) Also, I have not tried Skype yet, nor Bluetooth; will get on that too.
[Atrix 4G Android Development] jeremywh7:
Fixed min cpu freq at 300MHz (312MHz)...

Regarding the 216MHz fix I mentioned, using kernel-2014_07_04_22_37_atrics, I had noticed that the min cpu frequency was 312MHz. Resetting the min w/ a cpu app (No Frills in my case) would work, but only until the screen turned off. I found that the file's group setting was 'audio' instead of 'root':

/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

So I changed it, solved the issue, and it survived a reboot too. This is a kernel issue right (in /sys/)? See here for original post details:

http://xdaforums.com/showpost.php?p=54634797&postcount=1018
[Atrix 4G Android Development] krystianp:
It's rather a missing line in boot settings. Afaik it's on ramdisk. Probably it wasn't set during development (@Motorola). Strange is that it's not restored after reboot.
[Atrix 4G Android Development] jeremywh7:
I had noticed that selecting 'reboot' didn't appear to be a cold reboot...upon a 'power off' this evening, and cold boot...yup now its reset back to group 'audio'. :-/
[Atrix 4G Android Development] lincer556:
I went on testing the latest Kernel with EPINTERS CM10.1, everything's work just fine, camera, audio, bt, everything (NO HDMI) but i've found a bug that from all sudden the SD Card dismounts itself and to fix it need a reboot, if SD gets extracted from phone, the Atrix hangs and then reboots.
[Atrix 4G Android Development] andresrivas:
I do recall seeing (and fixing) that on ramdisk. Will seek for my old backup and post it back online

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
Kernel Patches for Kitkat BigPart

Hi, K,

Thx. for posting up new patches for 3.1.10 :)

Here are the patches for Kitkat BigPart (selinux, BigPart & 1% battery + hporch32 version of panel.c):

link: [ http://www.solidfiles.com/d/c138c05be1/3.1.10_kernel_patch_Kitkat_Olympus_BigPart.zip ]

name : 3.1.10_kernel_patch_Kitkat_Olympus_BigPart.zip

size : 9,881 bytes

md5sum : 348bd75b2d3dce2d2ec28a46a3c2595f

sha1sum : 4df7b1cafa0c0e2c141408f963a27694b5e7ae14

sha256sum : b1e60680787f8a90f98b8c845f43d4609ffe499b38600c87d711394afef4dcc3
[Atrix 4G Android Development] sanaldi:
Google Cloud Messaging working?

with this kernel i have a problem with getting messaging from whatsup, facebook vs in deep sleep. while using 2.6 kernel, i was getting them instantly. is there a problem with google cloud messaging system? what can i do to get messages instantly when the phone is in deep sleep?
[Atrix 4G Android Development] guruzen:
Check for battery save modes in your phone. As long as Google Play Services has internet connectivity in deep sleep, you will definitely get gcm messages.
[Atrix 4G Android Development] luckysquid:
I have same problem(new kernel), I think that all app that have notification don't wake up phone:crying::crying:
[Atrix 4G Android Development] krystianp:
Probably you are right. There might be some incompatibility between wake-up routine inside tegra kernel and Android. Maybe something is missing or requires special treatment. I never investigated that (except general wake up routines). Around Wednesday I'll take a look at that.

---------- Post added at 08:37 PM ---------- Previous post was at 08:36 PM ----------

Thanks for patches. I'll make new kk branch and will push your patches there (on Wednesday)
[Atrix 4G Android Development] luckysquid:
thanks for help, if you need any type of file/log it's a pleasure for me post it.:good::good:
[Atrix 4G Android Development] rhcohen:
Hello [MENTION=4641721]krystianp[/MENTION], I recently noticed that with the latest kernel (2014_07_04), sound recording apps behave strangely. Specifically with RecForge II, any recording made with the rear microphone plays back at something like double speed, double pitch (sort of like playing back a tape recording at twice the speed), while recording with the front microphone doesn't work at all. I did not have this problem with the April kernels. I have AlsaMixer installed, but don't have a clue as to what I should try changing to look for a solution. Where might I find guidance? (Note with the 07_04 kernel as well as the April ones, I still have the problem that stereo recording only works some times, seemingly at random.)
[Atrix 4G Android Development] lincer556:
I have the exact same issue with CM camera, audio recorded on camcorder mode hears like chipmunks talking
[Atrix 4G Android Development] cscmf99:
Looking forward the new KitKat kernel!! http://cdn3.xda-developers.com/images/smilies/laugh.gif
[Atrix 4G Android Development] joshua764:
Today is the day expected for this new kernel. Anyone know anything? :)

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] sanaldi:
i am searching for the solution for a while. But it is obvious that we have push notification problem with the new kernel and cm9+ combination. i dont know it is caused by the kernel or roms but cm 10 with 2.6 kernel has this problem sometimes too. i found an app called push notification fixer. it is for delayed push notification problem. i tried that. it changes the heartbeat of mobile data and wifi to keep the connection alive. it works but messages come a little delayed but not instantly. you can use it. the delay is under one minute.
[Atrix 4G Android Development] luckysquid:
thanks for tweak, what is your values for heartbeat?
[Atrix 4G Android Development] sanaldi:
i have chosen wifi 1 min,mobile data 2 min. you can try and choose whatever you want.
[Atrix 4G Android Development] luckysquid:
as I thought ;) this setting work ok, only one problem is for voip call app like skype :crying: and I think that battery usage is very high.
[Atrix 4G Android Development] sanaldi:
yes battery consumption is so high with this kernel. i admire the power management on cm 10 with kernel 2.6. it uses the the second core only when necessary. i think the ram usage of kk is high. this is the another reason of battery consumption. we will be waiting for the new kernel.
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
i2c clock rate hack to reduce battery consumption

From https://plus.google.com/app/basic/stream/z13rixbparibybpbe04cervoqxekxndb1us0k

" I also grabbed some commits from Code Aurora. It turns out they have found a way to increase battery-life noticeably by dropping i2c clockrate by 60%. Kudos to Sana Venkat Raju from Code Aurora for that. I2C regulates internal peripherals and from my testing I haven't noticed a difference in performances. I guess it really was clocked too high and just draining extra battery for no reason. "

8f35ab7 ARM: dts: msm: i2c: change clock rate to 19.2 MHz

Is there somewhere we can do similar stuff? :)
[Atrix 4G Android Development] krystianp:
We should be able to control i2c frequencies. Our kernel is fine when it comes to battery use in deep sleep (look at img below). Problem is in poor wakeup handling (too frequent, too long). Of course limiting battery drain during usage is important and I too want that to be as close to perfect as possible. This screenshot was taken just before I installed CM11. Phone was mainly laying on my desk, so it was not used but still it's performance is rather pleasing.
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
So you managed to wake up Atrix by giving it a call after 7DAYS, it is VERY VERY IMPRESSIVE, thx!!! Has this patch published yet? :)
[Atrix 4G Android Development] krystianp:
It was waken by power button. It was on latest kernel I had in my dropbox (available to everybody). It just had minimal gapps (just play store). First I forgot I had it turned on and after 4 days I wanted to charge it but it was still working. So I left it for another 24h and turned it on again and it was still working. I didn't do any calls to wake it up just simple power button. I had some apps there but they all had sync turned off. I have a screenshot of wakelock detector after 7 days. Will publish it in a sec.
[Atrix 4G Android Development] krystianp:
Actually it wasn't after 7 days but 4.

View attachment 2915307

View attachment 2915308

View attachment 2915309

View attachment 2915310