yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] paravorheim:
I don't want to be that guy, but these sorts of things are being ignorant of the search bar. This has been discussed before, and the final verdict on the Optimus 2x is that they are using an updated kernel version, so we can't just port back and forth as we please. The other factor is that although the chipset may be the same, that doesn't fix the problems they will have with other components, as they are completely different (i.e pentile rgbw screen vs the lcd 800x480 on the optimus).
[Atrix 4G Android Development] iranterres:
The devs main problem is the panel init, there are some different panel versions in the atrixes. The other problem is the pinmuxing that goes along. Checking the code from Optimus 2X may be helpful but that's a step further,
[Atrix 4G Android Development] guidoido004:
fix the att panel first then, after that, all that will be needed is a fix for intl, like the ram fix.( i can dream can i? lmao) :)

for the screen, use droid 4's(or 3, maybe? :) ) for gpu and cpu(maybe also other stuff), O2x's, and for the rest, look into the other motorola phones, i heard they actually have a lot in common.

also, give them a credit, two guys did are doing what two dev teams couldnt, they need time, but if they got here, they will get there. (im kinda high, haha)
[Atrix 4G Android Development] lehjr:
I was going to suggest more or less the same thing, that it would be good to just focus on whatever the team has for hardware and add support for the rest later. However, I think they're trying to cover as broad of a base as possible so that other developers can help out once the JTAG's serial port is no longer needed. Once they pass that point, others can help speed up the development.
[Atrix 4G Android Development] m1k3_:
Actually, they do pass the JTAG step already. :D.
[Atrix 4G Android Development] Cocolopes:
Re: Olympus ICS/JB Kernel Port

I think not at all...the jtag work...but the usb for log its not working...so w/o usb log the other devs cant help.
[Atrix 4G Android Development] lehjr:
http://xdaforums.com/showpost.php?p=37411259&postcount=437

That's why JTAG is still needed, as it's the only means of getting any idea of what the device is doing without USB at this point. That's if nothing has changed, but that may be old news, it's hard to say. Keep in mind that the more they focus on keeping us in the loop, they less they can focus on keeping that loop moving forward, and that's why we're less likely to hear about minor bumps than we are major milestones.
[Atrix 4G Android Development] mmontuori:
Update

Hi,

Just wanted to give you a quick update, in the last week, we have been extremely busy with life stuff and have had little time to dedicate to this project.

As you probably already know, the new kernel does boot and initializes many Atrix components successfully, however, the components we need the most, Panel and USB are not initializing...

We are working on the next approach to take to solve this...

Stay tuned for updates...

Thanks for your patience...
[Atrix 4G Android Development] barius:
Thanks for the update! It's Chinese New Year's Eve today, best wishes and enjoy a happy (Chinese) new year! :D
[Atrix 4G Android Development] Cocolopes:
Great!!!!...Thanks for the update....keep the hard work...you are awesome!!...:good:
[Atrix 4G Android Development] furkonhesti:
Re: Olympus ICS/JB Kernel Port

Waww thank you..you make our atrix survive
[Atrix 4G Android Development] gradd:
____

we knew you can make that happen sir. thank you :good:
[Atrix 4G Android Development] m1k3_:
Thanks you so much! My brother and I both buy an Atrix for each other. :). I know you'll made it.
[Atrix 4G Android Development] petran_7:
great news!!!! thank you!!!!
[Atrix 4G Android Development] saiftheboss7:
Can this thread be useful for devs here?
[Atrix 4G Android Development] Cocolopes:
Re: Olympus ICS/JB Kernel Port

I think the devs already see that post...kristian already post on that thread...:D
[Atrix 4G Android Development] guidoido004:
i was wondering, what do you mean by "fix the panel"? usb is kinda obvious, but that one got me curious(NOOB_MODE:1)
[Atrix 4G Android Development] vladeco:
Re: Olympus ICS/JB Kernel Port

I'm taking the liberty to reply on behalf of the devs, so don't hate.

It basically means the LCD panel is not initializing correctly. The screen just isn't working, just like USB. They now need a way to figure out how to initialize the screen correctly in order to properly boot the new kernel.

Sent from my GT-N7100
[Atrix 4G Android Development] guidoido004:
oh, i thought it was something related to the sw, some panel that is needed to be configured right to boot the kernel preoperly. you guys could check in the droid bionic's source(or even the droid 4's, but i think somebody already told that), it has the same screen the photon does from what i understood.

EDIT: i found that the xperia p also uses this kind of screen, and it already have ICS, so the source also may be out, worth the look doesnt it?
[Atrix 4G Android Development] Maringer:
Actually, this isn't the case. Although the Xperia P does have a RGBW display, it doesn't use a Pentile screen like the Atrix:

http://www.anandtech.com/show/5583/sony-announces-xperia-p-and-u-joining-xperia-s

That said, I suppose it is possible for the Xperia P source code to be helpful (though I'd tend to doubt it).
[Atrix 4G Android Development] eagleeyetom:
Thread cleaned. Proceed on topic.
[Atrix 4G Android Development] marcovrv:
Re: Olympus ICS/JB Kernel Port

The latest post on the thread on the Atrix sourceforge page asking for the unfinished ICS code now says that they might get someone from Motorola tho help on specific issues an even suggests this request format:

"We want to see more posts in thisformat:

Hey Motorola, I am stuck because I ran into this problem [INSERT YOUR PROBLEM HERE]. I am trying to do this [INSERT YOUR GOALS or WHAT YOU WANT TO ACCOMPLISH]. I have contacted the forums and have also tried to do this [INSERT ANY WORKAROUNDS AND RESULTS] but still have no luck. I think you can really help me in these areas [INSERT SPECIFIC HELP YOU NEED] And btw, the stuff I am working on is really cool and will benefit the world in the following ways[INSERT THE BENEFITS] ===="

May it be worth the try?

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] m1k3_:
As far I can understand, they don't want any other post requesting ICS kernel. So, I don't see the point of posting I need ICS kernel because I want my phone have ICS/JB. Let's face it, the guy obviusly it's doing it's best to apear he's doing something. Let's give a leap of faith with him.

I can't any worse. We need those drivers, if they can provide it, good for us. If they not, well, we tried. But don't make that an embarrassment requesting again, and again, and again the ICS kernel.

Plz plp!
[Atrix 4G Android Development] Amr Nasser:
:)

Good Luck Guys :victory:
[Atrix 4G Android Development] saiftheboss7:
I think the SourceForge guy MAY release the sourcecode!
[Atrix 4G Android Development] clemare:
Re: Olympus ICS/JB Kernel Port

Because.... u know him?
[Atrix 4G Android Development] lehjr:
Guys, this isn't the best place to discuss whether or not the source code from the leak will be released or not. We know if it is released it could be a tremendous help to this project. But even if that code is released, there is still work that needs to be done on it to be able to use it in our devices. How much work is unknown.

What we do know is that a very small team here is doing their best to get the job done while trying to balance their effort here with real life commitments. AFAIK the JTAG serial out is still needed, but there are other ways to help out such as combing through the code itself and seeing if there is anything that was missed. I know, that sounds a bit vague, but it could be something simple that the compiler doesn't catch, or where someone forgot to change the function being called when copying code from another device. It may not be helpful, but as long as it isn't a hindrance (like asking "what does this line do?" on ever line of code), it would be considered constructive.

Also, for those that want to compile the kernel for whatever reason, Linus Torvalds once said that by keeping everything in memory he's able to build the Linux kernel in well under under a minute. Unfortunately, my system is pretty dated, so I'm actually trying to avoid actually compiling on it as much as possible.
[Atrix 4G Android Development] LawlessPPC:
sweet ill dig my amiga out and compile in its ram disk then. Only once small thing to do and that is get my coding skills past print f (( or 20 goto 10 lol
[Atrix 4G Android Development] marcovrv:
Re: Olympus ICS/JB Kernel Port

The point, I think, is that they seem to be willing to help on specific issues (i.e. panel and usb init) while they can get eventual clearance for eventually releasing the source.

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] guidoido004:
to you see how things are, a friend who worked(left a couple months after we last met, from what ive heard) on Google, told me "i WILL give you this, because as an important programmer from Google Brasil, i have access to all manufacturers sources and they are indeed developing ICS for atrix..."

BUT

as you can see, he didnt gave me that(if he did, we wouldnt be speaking in this thread about this kind of thing. what a SOB, lol) and made me look bad because a year ago i told i was getting it, but i didnt.

trust in what youre seeing development, not in just some words.(motorola is doind better in 2H/2012 and 2013

If a guy who worked on Google ended up not releasing it, you think a guy replying stuff on SourceForge will? think about it. ;)

NOW, what needs to be done is to find a way and report, in fixing the usb and panel problems, if isnt related to that, dont even think about replying. i already feel bad for leaving the topic, and seeing people doing it drive me crazy. so lets get back ontopic. ;)
[Atrix 4G Android Development] iranterres:
I'm pretty sure Google does not have any kind of input on Motorola's development policy, so what your friend told you, is a lie.

All what Google does, is related to the AOSP Android, wich has nothing to do with the code specific for the hardware it will run, That's a carrier/ manufacturer issue.
[Atrix 4G Android Development] atrix4g18:
Re: Olympus ICS/JB Kernel Port

Irrelevant. Please read.
[Atrix 4G Android Development] lehjr:
I'm not sure how that would show up in the code, but I noticed that in the teardowns that the Atrix and the XOOM use the same CPCAP chip, but the XOOM uses a "USB3321 Miniature Hi-Speed USB Transceiver" (first entry under other devices) and as far as I can tell, the Atrix uses the Tegra chip itself with no external chips for USB. Not sure if that's helpful or not.

Edit: This is kinda OT, but I was thinking, the ICS leak itself has really poor battery life, and the cause of it is assumed to be one thing or another (CPU, GPU, debugging, etc...). If the drain is limited to a specif component on the board, wouldn't that show up as heat in that specific component just as it does with extended wifi usage or the battery drain itself? It's only a theory, and I wouldn't recommend tearing apart a fully functional unit to test it, but if you have test devices with easily accessible boards, it might be might be an option.
[Atrix 4G Android Development] guidoido004:
What youre sayin is to open up a device, let it run and see which part(which chip, in other words) gets hot? as soon i get my batteries charged ill do it, i broke my usb fixing wifi, so its just a testing device now. will report tomorrow.
[Atrix 4G Android Development] lehjr:
Thanks! Just keep in mind that on top of being internally fragile, there is a potential for damage from ESD. That's why I suggested that here, since the devices they're working with are already open with wires hanging out.
[Atrix 4G Android Development] palmbeach05:
Re: Olympus ICS/JB Kernel Port

Would the new kernel from the 4.5.145 update have anything useful to help with the ics/jb kernel project?
[Atrix 4G Android Development] danilocps87:
Re: Olympus ICS/JB Kernel Port

I think that it is the same "old" kernel from the last build...
[Atrix 4G Android Development] palmbeach05:
Re: Olympus ICS/JB Kernel Port

It might be, but the build names are different, which is why i asked (see attached pics for kernel info)
[Atrix 4G Android Development] guidoido004:
is a different guy/machine compiling the same source, if you didnt realised, the only thing new in this update is the radio, that make gps locks faster.
[Atrix 4G Android Development] Nicki760:
...

Two ways to do this without ESD, that i can think of quick:

- Measure with IR thermometer. one that has a laser pointer

- use IR camera (if you're lucky enough to have access). Keep in mind with IR camera values must be compensated for by their emissivity.
[Atrix 4G Android Development] lehjr:
I was thinking more along the lines of the good old fashioned wrist strap. The IR stuff would be fun, but I don't think it's something the average person has. The main reason I was thinking about ESD was because of the time of year, and being really cold and dry where I am. However, that is a bit shortsighted of me, considering that not everyone here is in the northern hemisphere or in an area that experiences radical seasonal temperature swings. That, and only a couple of days ago, I was sweating in shorts, now I'm bundling up.
[Atrix 4G Android Development] guidoido004:
iLL do it, in the old fashioned way, i almost throwed my phone in the wall after one of the screws when blind, so ill break it, check stuff, and report, also, i have a reserve to put back after doing this(from another atrix i had before this one, with 3G issues instead of wifi/bt)
[Atrix 4G Android Development] attrixnor:
Krystianp , Mmonturri

could you make a feedback about the investigation on this kernel .

Thank you :laugh:
[Atrix 4G Android Development] krystianp:
I think we won't get any definitive results with those temp measurements. I'm affraid it's all related to lack of proper suspend. Hardware works on it's default voltages it just never sleeps, which causes additional power loss. Also soc probably doesn't have all unused pinmuxes and gpios disabled which is another cause of power loss. I'm not very optimistic about getting something out of it but in current state anything is worth of checking.
[Atrix 4G Android Development] blttalas:
last change a month ago

i think they stopped
[Atrix 4G Android Development] cailloup:
:(

Since this topic is the most important for many of us, I'm gonna try to sum up things, please correct me if I'm wrong

- You first managed to get JTAG work for debuging, fantastic work.

- Then, you tried to get usb debug on 2.6.39.4

- But there were too many issues (can't find the post where you said it) so you moved on to leaked kernel 3.1.10

- Next update from mmontuori

- And your last update on power loss

If it doesn't work, what's your next plan if you still have other ideas? People often talk about other tegra2 devices, I understood you have many of them, and they are almost useless. Is that right?

I don't want to loose hope ^^ !

Impressive work anyway.
[Atrix 4G Android Development] Disillusioned:
@krystianp

I did some experiments to square on battery drain issue for leaked kernel. There were some strange observations which you my find useful.

Even when the CPU was set to work on say 216MHz (and it would go to some 300 level by itself) the phone won't have any lag, it would still heat and consume battery like the way it did with 1000MHz. Now, any change in CPU voltage even at same frequency would result in better performance. However, as you mentioned the voltage is correct I presume CPU voltage and scaling is not the issue.

Then I squared on GPU. The graphics would remain above par even at low speed, games would run which ideally shouldn't at such low CPU frequency. This clearly states its the GPU that is drawing the power and possibly heating the device. I had not been able to get any detailed readings on GPU, but I believe with JTAG you maybe be able to.

The display panel issue can also be addressed with GPU, as we have seen over clocking/over volting the GPU might lead to problems with display (like tearing).

I maybe wrong, but with the observations, its easy to identify GPU as a component where something is going on.
[Atrix 4G Android Development] krystianp:
Starting from the end. My power loss input was about leaked kernel and I understand that last sentence could lead you to thinking that we are out of options. I could've been clearer here. It was only about that until we get something working with sources every option should be considered. We are still working on kernel but we only update sources now when we find solution for something. And now we are working on some problems related to power management (getting it partially working did not gave us breakthru). We mainly work on 3.1.10 because if gives us early logs. On stingray's kernel (which we base our 2.6.39.4 kernel) early logs only gives us garbage. I don't want to redo it with some other stock 2.6.39.4 until i'm forced to do it. And to hopefully clear things about other tegra2 devices. Sometimes they might be helpful, like LG's mmc drivers, or ZTE panel init, but most of them uses different hardware (except same soc), so we won't use much of it. Of course it might turn out later that we'll use some more of theirs code, but for now we deal with motorola specific problems. We still have hope and are working on it, so you shouldn't be worrying too much about it ;) This is my personal war, so i'm not giving up quickly.
[Atrix 4G Android Development] Zeljko1234:
Thank you krystian very much! And to mmontuori! If you we can help, just let us know.
[Atrix 4G Android Development] lehjr:
The top right hand side of page 8 of the schematic shows a large number of unused GPIO's, but doesn't show if they're externally pulled up or down, or left floating (eek!), but I assume whatever way they set them in the GB kernel should be fine for this kernel.

I realize the temperature investigation may not be that helpful specifically for this project, since you're taking a ground up approach and any power management issues will be solved in code, but for those working with the leaked kernel itself it could at least help target their efforts to a specific component if it turns out that it is a specific component rather than power management as a whole. I'm guessing that the original developers were working with a dev kit rather than actual phones at this phase in development, so power management was probably closer to the end of their list of goals, since a battery isn't much of a concern for something you can plug in.

Sometime awhile back, there was mention on www.android-hilfe.de that the leak we ended up with was not as far as they had gotten, I think it was somewhere on this thread. There were a few other bits of information somewhere on those forums as well, mostly about bricks during development, but probably nothing that would be of any use here, just some interesting bits of information for anyone curious about at how the development was going before the project was shut down.

Anyway, I realize there's an awful lot of pressure from the community, but sometimes people need the occasional reminder that you guys all have lives outside of this project. Just remember that we do appreciate what you guys are trying to do, even if we don't always show it.

Btw, I see you took Gopi up on his offer. Hopefully that pans out. Until that happens, have you given any thought to using inline ASM from the leak to get USB working, at least until you can get it working in C? I realize that in itself is a complex task, but it might help to if you want to work on another part of the code and come back to it later.
[Atrix 4G Android Development] krystianp:
Odp: Olympus ICS/JB Kernel Port

We wouldn't need inline asm it's not that hard to convert asm to C when you have idea what you are expecting. I'm just not yet at usb code. Another problem is that in 3.1.10 usb data structures are different so we'll have to go back to 2.6.39.4 but I want to go there after we fix cpcap. Which is common problem on both kernels.
[Atrix 4G Android Development] attrixnor:
thanks krystianp, perhaps ,you could explain the problem with cpcap for potential devlopper her that can help !!
[Atrix 4G Android Development] krystianp:
Odp: Olympus ICS/JB Kernel Port

Quoting what I wrote on SourceForge.net:

I'm trying to load cpcap firmware and it gets to fw_load(...) (in cpcap-uc.c) which starts raw_write(...) and gets stuck on wait_for_completion(&uc_data->completion). I could make a workaround by adding complete(&uc_data->completion) before it and it looks like it worked or at least there was no errors. But that's not a solution. I've found that stingray's cpcap and also cpcap from unfinished atrix kernel uses wait_for_completion, so i assume that problem lies elsewhere. Is it something with spi configuration or maybe something about irqs? From the logs from unfinished atrix kernel there's a (before firmware load): [ 0.266170,1] Enabling wake18 [ 0.266398,1] CPCAP : cpcap_vendor_read vendor 0x0 rev 0x12 I couldn't make kernel produce that enabling nor reading cpcap vendor gave me that result (should be rev 0x12, i had 0x00). So i'm guessing cpcap isn't ready for firmware load. What are requirements to get that raw_write(...) (and ram_read(...)) to work.
[Atrix 4G Android Development] lehjr:
I went back and looked at the schematic again, and it looks like they are designating the unused pins as POR PU (pull up), POR PD(pull down), POR Z (no idea), and a couple as WAKE CAPABLE (no idea). It's interesting that the number of unused pins in the schematic is much lower than the number in the code. I'm going to run through the schematic pin by pin and see where they go and comment in the gpio-names.h file. However, I do realize that you guys already have a better handle on this than I do, so that probably isn't going to serve much more than my own personal amusement, but it would be something I consider entertaining.
[Atrix 4G Android Development] sms2000:
POR Z .... isn't "tri-state"?

Sorry I'm over 10 years off hardware business...
[Atrix 4G Android Development] Zeljko1234:
Then join to team and help :)

I think you have right.

p.s.

I reached thanks limit.
[Atrix 4G Android Development] lehjr:
Yes, I believe you are correct.
[Atrix 4G Android Development] krystianp:
I totally forgot about schematics. It will be helpful. You can comment all used/unused gpios if you have time. Ask mmontuori to give you access to github so you can upload it directly to sources.