yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] krystianp:
Leaked kernel is 2.6.39.4
[Atrix 4G Android Development] krystianp:
Quick update. Finally we have full control over logs, turns out 3.1.10 is doable also. So tommorow maybe some new information will come.
[Atrix 4G Android Development] jewkhok:
Just asking

The kernel from the atrix 2 or atrix HD can't be ported?
[Atrix 4G Android Development] Zeljko1234:
No, different SoC (CPU/GPU) architecture.
[Atrix 4G Android Development] vladeco:
No, because they use different SoCs:

Atrix = Tegra 2

Atrix 2 = TI

Atrix HD = Snapdragon

EDIT: ooops, replied at the same time =P
[Atrix 4G Android Development] krystianp:
Hi guys,

We are working on it. We gonna stick with 2.6.39.4 for now because 3.1.10 has some incompatibilities with PMU drivers. Maybe tommorow i'll give you some more information but things looks promising.
[Atrix 4G Android Development] BigJeff:
I've read the linux Changelog from 2.6.39.4 to 3.1.10, but is there any negatives of using the older kernel base instead of the new one in android?
[Atrix 4G Android Development] toyota86:
Is this the nvodm-free kernel?

If you decide to port nvodm as well, pls let me know, I can merge my stuffs across
[Atrix 4G Android Development] kangi26:
Lets get back on topic.

Donations are a personal option, and we don't need to express our own different feelings about it. It's like talking about politics, it's just going to cause issues. IF you do decide to donate, good for you; and if you don't, good for you. Either way, please don't bring the discussion to the threads.

If you feel the need to talk about it to someone. Use PM
[Atrix 4G Android Development] eagleeyetom:
^This.

I just cleaned 17 pages of this thread.
[Atrix 4G Android Development] krystianp:
Thanks for cleaning thread. I just want to make a small update, how things are. Because development got stuck, we made a decision to go hardcore way. So we are reverse engineering leaked kernel. I had only experience with dos and windows 95/98 assembler. So no linux neither arm architecture. Turns out it's not that different. Especially when you have sources you can compare to. But it's SOOO time consuming. Getting 20 lines of code reverted to semi C took me almost an hour (which equals 5-10 lines of C code). We are working on scripts that will speed up things.
[Atrix 4G Android Development] Zeljko1234:
Thank you for update :)

Technically speaking, on which part did you stuck? Access parameters for specific hardware?
[Atrix 4G Android Development] krystianp:
Panel initialisation is a problem (kernel crashes on both 2.6.39.4 and 3.1.10), some problems with PMU and task completion, PMU controls rtc, so again same problem as before, setting correct regulators to right hardware is kinda problematic, every tegra device has it done a little differently. Cpcap controls usb detection (AFAIK) and it was done thru nvrm/odm + some motorola specific usb gadget driver. Again problems... We might be very close to getting it right, but not close enough to get it work.
[Atrix 4G Android Development] lehjr:
I wish you guys the best of luck in this effort. Converting all of it back into C will be challenging enough, but making sense of it all, well, all I can do is thank you in advance for the sanity you are about to sacrifice.
[Atrix 4G Android Development] toyota86:
This is a HUGE task. I respect your perseverance.

If both of our approaches fail in the end, would you like to try this:

1. Remember what you told me? To achieve hwa, we need a kernel that is in some way compatible with the nvidia opengles libs. That means, like you said before, a proper 2.6.39.4/3.x kernel, OR another kernel version that exports the same C symbols.

2. Let us dump the symbols from That Kernel and diff against faux's 2.6.32 or whatever best kernel we have today. We then look up linux kernel source and selectively backport those missing functions.

3. This may be the most important, i am not sure, no one knows.... We trick the rest of the system that our kernel is 2.6.39 by entering this version number :)... Who knows if the nvidia opengles libs are not doing something like:

Uname(v);

If (parse_version_str(v)) < kversion_xxxxx) {

Goto exit; /* hwa not supported */

Ps: above code is just for laugh
[Atrix 4G Android Development] integraletotale:
Re: Olympus ICS/JB Kernel Port

Krystian, did you get my PM?
[Atrix 4G Android Development] krystianp:
I did, it was one of the first kernels i looked into (even before we started making our own port). Problem with out kernel is use of proprietary hardware which doesn't have open documentation so we have to guess how it works (or reverse engineere).

---------- Post added at 05:16 PM ---------- Previous post was at 05:09 PM ----------

Nvidia built new EGL libs that are compatible with tegra2 and tegra3 devices. But that required rewriting kernel driver, i'm affraid if it were that simple, Motorola or other companies wouldn't make new kernel just would made a patch. But maybe we could make some fake functions if needed but i'm affraid that could break compatibility with games that use higher EGL (or maybe not). I'm not sure, i'm not GL nor Android expert.
[Atrix 4G Android Development] iranterres:
As for apps and game compatibility, it seems unlikely since OpenGL and OpenGL ES are made to be backwards compatible regardless of the silicon they're running in. I'd give it a try, what do you think?
[Atrix 4G Android Development] toyota86:
Alright. I am in. Let me know of your plan
[Atrix 4G Android Development] krystianp:
Question to the users of leaked ics kernel. If you can check if you have something other then:

[ 0.222872,0] mot_panel_setup_dc: type=40, fast=1, SMD=3, TMD=0, WAR=1

[ 0.222882,0] mot_panel_setup_dc: using SMD ES4.5 smart panel sequence

Please PM me with your info. It can read from early kernel.log (so reboot is required). If you have the same you can just skip this message. Thanks for help.
[Atrix 4G Android Development] littleemp:
Re: Olympus ICS/JB Kernel Port

Would this be for those whose Atrix works almost perfectly with the leaked kernel or for those having issues?

I personally don't have it installed, but if you need my logs, I can get them within an hour or two. (My phone works almost flawlessly with the leaked kernel aside from the massive battery drain.)

And if you do need them, is there any ROM in particular that would be more helpful? Perhaps the same that you're using?
[Atrix 4G Android Development] krystianp:
It can be related to screen issues (i had issues, so you might have different panel). For now i just want to get some information on how many different panels where used in Atrix. If you want you can check it and if it is different then PM me.
[Atrix 4G Android Development] TurbineReckless:
logs

logsTE=krystianp;37305107]It can be related to screen issues (i had issues, so you might have different panel). For now i just want to get some information on how many different panels where used in Atrix. If you want you can check it and if it is different then PM me.[/QUOTE]

How exactly do we check if not too much trouble cause I have used every leaked kernel ROM out there and never had any screen issues just battery life problem
[Atrix 4G Android Development] epinter:
Re: Olympus ICS/JB Kernel Port

http://xdaforums.com/showpost.php?p=32858392&postcount=60
[Atrix 4G Android Development] Lightsword1942:
I'm confused about whats going on in the source, why doesn't the standard tegra_olympus_android_defconfig work?
[Atrix 4G Android Development] syngamer96:
Question for devs: Are you guys using the 2.6.39.4 or the 3.1.10 for the reverse engineered kernel? And are you guys considering 'frankenstein-ing' the kernel with parts from other kernels if the reverse engineering doesn't go well?

A little bit confused here, didn't follow the thread as closely recently...
[Atrix 4G Android Development] krystianp:
It's a matter of differences in code. Some things weren't ported yet, some things won't be used at all, other things were done differently. To control kernel development we use our own defconfig which is changed when needed.

---------- Post added at 10:03 AM ---------- Previous post was at 09:50 AM ----------

We are reverse engineering leaked kernel. Our kernels don't have to be reversed since we have sources. When we revese funtions it gonna fit both 2.6.39.4 and 3.1.10. For now we have no plans of frankensteining kernels. We want to get real code not just functionality. But maybe in future is such move is our only option we'll reconsider it.
[Atrix 4G Android Development] Zeljko1234:
You guys are just amazing! Thank you so much.

I'm really overbooked right now but if you still need dmesg I'll flash CM with leaked kernel asap.
[Atrix 4G Android Development] krystianp:
So case of panel types is closed. As Epinter pointed it's already been discussed and i know now what i needed. Thanks for help :)
[Atrix 4G Android Development] epinter:
I'm glad to help
[Atrix 4G Android Development] fasjoifas:
Will it be possible to make the fp scanner functional? I'm really used to this method of unlocking...
[Atrix 4G Android Development] Cocolopes:
Re: Olympus ICS/JB Kernel Port

Kristian...sorry to ask but...I just want to know...you make the usb work?

You maybe are tired to read this...but...thanks for the hard work!

from the (M)ATRIX...
[Atrix 4G Android Development] Zeljko1234:
You're like me, refreshing github every day, every few hours :)
[Atrix 4G Android Development] krystianp:
For now usb is only partially working. Hardware is detected but usb functions doesn't work. I'm now working on init.rc file to get rid of stuff usb related to start android without usb.
[Atrix 4G Android Development] ravilov:
I think the reason for their fury was, it's just way too early to tell, it's way too early to even ask. It's like they've just started laying out the foundation for a house and you're already asking for details about all the furniture, or what kind of pictures will be hanging on the walls. All in good time. I'm sure they won't mind adding support for all kinds of things (if at all possible) once they have something that's actually working reliably.

EDIT:

Yes, that too. Exactly.
[Atrix 4G Android Development] tonglebeak:
They are not developing a ROM. They are developing a kernel. Think of the kernel as the brains behind the operation. It's primary job is to provide a path between the software and hardware layers (just like your brain converts thoughts into action). Once the kernel is completed (and I say this with certainty because the devs have been doing an amazing job thus far), then other people can build ROMs that package this kernel. Right now, the main objective is to get a fully booting kernel to begin with. Pestering the devs about one of the most minute features that you currently have, that quite frankly is at the basement of their list, is just not needed.

I encourage you to read this wiki article if you are still uncertain as to what the kernel is supposed to do.

http://en.wikipedia.org/wiki/Kernel_(computing)
[Atrix 4G Android Development] francescod:
If you are talking to me too, I wasn't angry or furious. I just said that it's not a priority, now.

Also, to me, fasjoifas didn't make any wrong question or did it in a "bad/pert" way. :)
[Atrix 4G Android Development] kangi26:
Ok, guys, please chill out for a bit please. If a user asks a question you dont care for take it to PM or please report it to a moderator. the more extra posting from people who dont like what someone has posted, creates a bigger mess for everyone

Thanks
[Atrix 4G Android Development] ingelectronico:
Re: Olympus ICS/JB Kernel Port

Please also remember that not all the people comes from English-speaking countries, so don't be so severe with the interpretation of the messages.

Let's keep cheering the developers.
[Atrix 4G Android Development] krystianp:
Hi,

We were able to reverse some data. Some values of registers are hard to decipher because of their deep nesting. But most of code is quite readable. Pinmuxes, gpios settings, clocks are done (or almost done). We're now dealing with panel, i think we found the correct sequence and values needed for panel init but we're not sure of it. So i'm asking if anyone of you recall any other phone that has tft lcd with 960x540 except ZTE Grand X? If it's tegra2 based it must have ics released, if there're no more but ZTE then maybe some other phone made on different soc. But if there is such phone i need kernel sources not just name of that phone. Thanks for any help.
[Atrix 4G Android Development] saldirai:
nontegras i've found so far: htc sensation, htc evo design, htc droid incredible, motorola photon Q
[Atrix 4G Android Development] BioVipah:
Re: Olympus ICS/JB Kernel Port

At least 960x480 max 960x640

Android 4 at least

Tft LCD

www.gsmarena.com/results.php3?sName...eryCapacity=0&StandBy=0&TalkTime=0&sFreeText=
[Atrix 4G Android Development] real_viper:
htcdev.com/devcenter/downloads/

Here you can find kernel sources for these HTC Devices
[Atrix 4G Android Development] consolation:
Re: Olympus ICS/JB Kernel Port

sensation uses s-lcd not tft.
[Atrix 4G Android Development] Maringer:
S-LCD is just a type of TFT screen, as is IPS.

The link to gsmarena shows there are a good few qHD phones available including a number with ICS+. None but the Grand X are Tegra 2 based, however.

In particular, quite a number of chinese phones have qHD but most seem to use MTK chipsets.
[Atrix 4G Android Development] gambe89:
You should have a look at pdadb.net search engine... http://pdadb.net/index.php?m=pdamaster

Maybe we could find something useful on droid x2 forum
[Atrix 4G Android Development] BigJeff:
Droid X2 is by Motorola, I haven't looked into it, but I'm positive that there's no source or even ICS for it. Fu*k Moto.
[Atrix 4G Android Development] Lexord:
Re: Olympus ICS/JB Kernel Port

..
[Atrix 4G Android Development] m1k3_:
Well, I been follow the thread, and now I see an oportuny to help. I been seeking, the only Tegra 2 based Android 4.0+ phone, it's the ZTE Grand. HTC have the EVO 4G with the same resolution display, and I belive, the same kind of TFT based display.

Do you need all the Android 4+ that have the same kind of TFT based display that Atrix?
[Atrix 4G Android Development] crnkoj:
Re: Olympus ICS/JB Kernel Port

Xperia p, http://code.google.com/p/freexperia/source/checkout

It has same res and it's lcd, it is however not pentile.
[Atrix 4G Android Development] consolation:
Re: Olympus ICS/JB Kernel Port

sLCD, TFT & IPS are types of LCD, they deal quite differently with sub pixel addressing. That is, they are a subset of LCD; IPS, sLCD etc are NOT a subset of TFT. As pointed out above, they are not pentiles, for a start..

I think you need to find displays that are pentile, TFT and the same resolution as the Atrix. Off the top of my head, I can't think of any, non Motorola, phones.
[Atrix 4G Android Development] Maringer:
I think we'll have to agree to disagree with this one:

http://en.wikipedia.org/wiki/TFT_LCD

All hail wikipedia! :silly:

All LCDs use thin film transistors, don't they? Regardless, this OT doesn't really matter.

krystianp didn't specifically mention anything about Pentile displays so hopefully, the devs don't specifically require a screen with a RGBW Pentile configuration. As far as I'm aware, only Motorola have used this Pentile layout so no chance of an ICS/JB build being available for this sort of screen. Lots of phones available with a RGBG Pentile configuration, however.
[Atrix 4G Android Development] Franklee99:
Re: Olympus ICS/JB Kernel Port

Off topic: Wow, there are a lot of knowledgeable people floating around this thread.

Keep up the great work guys. I have faith, you'll get there!

End OT.
[Atrix 4G Android Development] m1k3_:
So, there is not a chance to get the same resolution and the same display?

What about get the resolution from a phone (like the ZTE Grand X) and the display from another (Like any Samsung with pentitle)? I don't know nothing about that, just guessing.
[Atrix 4G Android Development] consolation:
Re: Olympus ICS/JB Kernel Port

Actually, we won't - you're right and I'm wrong, I had TN & TFT switched around in me noggin...

Regardless.. from my experience of hacking kexts, you will need one that matches very closely. At the very least, correct sub pixel.

I'll stop cluttering up the thread now.
[Atrix 4G Android Development] krystianp:
Hi,

Thanks for all informations you gave here. The best would be another motorola phone with pentile lcd. But it's not that important. We won't be using some other panel init sequence since we reverted atrix panel init sequence but i want to compare it to some other panel that uses same method of panel init. Current init we based on ZTE code, just different command values.
[Atrix 4G Android Development] snowplow:
Re: Olympus ICS/JB Kernel Port

It may be irrelevant now, but as I didn't see it mentioned I'll post it here: the Motorola Electrify M has a qhd, pentile display.

ICS source code here:

http://sourceforge.net/projects/xt901.motorola/files/7.7.1Q-144_SLS_S240-55/

It's a snapdragon S4 processor, so not Tegra 2 but maybe it will help
[Atrix 4G Android Development] Maringer:
Good catch.

It's an AMOLED so that will mean a RGBG Pentile, but hopefully it will still be of use to the devs.
[Atrix 4G Android Development] BigJeff:
Doubt this is useful, but http://www.gsmarena.com/htc_sensation_4g-3922.php and http://www.gsmarena.com/motorola_droid_razr_m-4973.php
[Atrix 4G Android Development] Nadzlee:
Indeed the Razr M uses the same display pattern and resolution but then, its an AMOLED which is RGBG instead of Atrix's Pentile Matrix RGBW. Lets just try eh? Who knows it'll work.. After all, both are Samsung's tech. Good luck devs ;)
[Atrix 4G Android Development] amedeh123:
the droid 3 has the same screen type as the atrix: qHD, pentile (RGBW arrangement just like the atrix, not RGBG like some amoleds) tft, but it is gingerbread

I THINK the droid4 has exacly the same panel type plus official ics.. it is an OMAP4 device but it may be worth looking at

also the photon q... not sure about the details on this phone but it kinda is the sucessor for the d4
[Atrix 4G Android Development] Maringer:
The following Anandtech page mentions that the Droid 4 uses a RGBW Pentile screen:

http://www.anandtech.com/show/5415/motorola-droid-razr-maxx-droid-4-and-lapdock-500-pro-impressions

ICS is definitely available for this phone so this may be the best fit for the devs.
[Atrix 4G Android Development] marcovrv:
I just wanted to let you know that the thread on the Atrix sourceforge page asking for the unfinished ICS code now reaches near 170.000 visits. It's worth mentioning that there are formal requests by both t0dbld (from original atrix_dev_team) and Krystian Plonski (from the new "Olympus ICS/JB kernel port" team).

Let's hope for the best and please don't flame on that thread because surely it'll be counterproductive.
[Atrix 4G Android Development] RoboDroid13:
Quote from the motorola employee in the above link:

"Assigning internal developers on this will not be possible on the short-term. I am not even sure where they are located. Besides there are other higer priorities for them to work on at the moment. I am sure you all will understand in a few months.

That said, we are all supportive of this effort. Just need to get the appropriate clearance. It might take some time to get it, but we will get there."

Looks like things are going in the right direction, although it might take a while :D
[Atrix 4G Android Development] iranterres:
What goppi post is still stupid, since it leads to nowhere... =(
[Atrix 4G Android Development] Zeljko1234:
Waiting for them is just waste of time. Releasing kernel source will be much more useful.
[Atrix 4G Android Development] atrix4g18:
Re: Olympus ICS/JB Kernel Port

Exactly. This thread is about the making the kernel, waiting for moto is not in the interests of the many supporters of this project.
[Atrix 4G Android Development] lehjr:
Doesn't sound that way to me. Sounds like even if they decide and go ahead with the request to release the code, they don't have the resources to pull from profitable projects in order to give something away for free. Someone has to go through that code before they will release it. It was a long shot anyway, and it might actually happen. And if it does, great. But even if it does happen, it's broken code and we still need skilled devs to fix it or determine if it's even possible.

Meanwhile, we have a real effort from this team here to make this kernel a reality.

Btw, I was trying to compare the code here with what you have in the repo, mainly just the device specific stuff. It's just interesting to see just how the code is radically different in places you would expect them to be very similar.
[Atrix 4G Android Development] THUNDERASS:
i want to ask something maybe stupid but please answer..Can we use leaked rom's gpu driver on gb roms?if not why?
[Atrix 4G Android Development] Lightsword1942:
We already have proper gb drivers, that doesn't make any sense.
[Atrix 4G Android Development] atrix4g18:
Re: Olympus ICS/JB Kernel Port

Yeah GB ROMs are great now. This is (as the title says) for ICS/JB.
[Atrix 4G Android Development] lehjr:
I assume you were wondering if there would be a performance gain from using the newer drivers like we often do in desktop situations, where often the be all end all of fixing everything from slow performance to having a bad day is updating your graphics drivers. In this case, even if it were technically possible, it probably wouldn't make any difference in performance.
[Atrix 4G Android Development] marcovrv:
Re: Olympus ICS/JB Kernel Port

I kind of agree with this. The request is for kernel source, as a bonus I suggested that the devs had access to Moto people. This last request they seem to reject on that answer.

I wouldn't hold my breath on one (source) or the other (Moto collaboration) anyway. Certainly it doesn't mean to stop current efforts, since all that independent knowledge the team is acquiring will be valuable even if Moto releases the code.

Anyway, we all know Motorola...

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] wlh03212:
Re: Olympus ICS/JB Kernel Port

The leaked rom has excellent fluidity in its UI, definitely the best in all the atrix roms i tried. Unfortunately the others just can't be compared.
[Atrix 4G Android Development] jjwatmyself:
Re: Olympus ICS/JB Kernel Port

I agree.

The Moto employee is doing his or her job and at the same time advocating and supporting our needs. Until a higher up shares this view, there will not be any source code release. I'm pretty sure that we will move forward with or without Motorola Mobility (Google) on this one. Taking the most compatible kernel and melding it to the Atrix will likely be the path taken. Like all of us, I'm looking forward to seeing this next big step become a reality. I'm pretty confident in our Atrix developers. They are a hard core team.
[Atrix 4G Android Development] lehjr:
That doesn't necessarily mean that you would get the same performance in GB though. And really, if we had completely working libs and supporting code to build a true ICS kernel, then why would you want to use those in GB instead of just using ICS or JB?

Anyway, I think we're starting to stray off topic here.
[Atrix 4G Android Development] atrix4g18:
Re: Olympus ICS/JB Kernel Port

This.
[Atrix 4G Android Development] petran_7:
Hi guys,

I don't know if you know it, these days LG gave the source for the ICS rom for the LG Optimus 2X which runs on the same chipset.

Is it possible to port the whole rom or the kernel only and have a fully functional ICS rom for our devices?
[Atrix 4G Android Development] danilocps87:
Re: Olympus ICS/JB Kernel Port

I think these two devices haven't the exactly same chipset.

The two are Tegra 2, but, as Krystianp says, atrix has a unique chipset in the world...

But, the sources from 2x maybe helps a little.
[Atrix 4G Android Development] petran_7:
I wish to help us!

You may be right but in gsm arena says the same chipset, cpu and gpu.