yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] CptAJ:
Development questions for a change:

Can someone please provide some quick compiling instructions? Toolchain, settings you're using, etc. Links will do, no need to hold my hand so much XD

What do I need to flash it to the device after that?

I've worked on the kernel before, I did the HTC whitestone port for xdandroid. But that was completely different and those guys had awesome docs to get you up and running on the code no matter how inexperienced you were :silly: (I'm by no means an expert. The whitestone was a lot of guesswork and tweaking :laugh:)

Help me get up and running here so I can tweak around! Again, links will do. Just point me in the right direction, I don't want to distract you too much from your dev work :p
[Atrix 4G Android Development] tananaev:
There is a good instruction for building kernel here - http://source.android.com/source/building-kernels.html

Here is Atrix kernel repository - https://github.com/CyanogenMod-Atrix/kernel-olympus-3.1

As far as I remember you need to use olympus_defconfig to build it

...but I don't know what to do next. Which ROM to use? (not sure if it even matters at this point) How to flash kernel?
[Atrix 4G Android Development] krystianp:
Always look for the newest defconfig (i use naming with dates). There's toolchain from cyanogenmod, we use it but google's should be fine (i used it previously). Follow google rules for kernel and you should be fine. As a start we use mmontuori's MROM-ICS. But remember gui doesn't boot yet. Only kernel boots.

EDIT:

Here's a link to my toolchain: https://dl.dropbox.com/u/7461563/toolchain.tar.bz2

If you need more help just ask, i'll try to help. And one more time everything you do, you do it on your own risk. If you brick your phone it's your fault.
[Atrix 4G Android Development] emel-iine-6z:
thank you krystianp but how to flash ?
[Atrix 4G Android Development] atrix4g18:
Sorry mmontuori I'm having trouble with my PMs,

Please update OP with this:

Off-Topic Discussions: atrix4g18 was kind enough to open an Off-Topic Thread here.

URL was broken and linked to post this is for whole thread.

Just reply to this post and then you can copy the code.

Also MOD suggested I change title to discussion.

In which case:

Off-Topic, Questions, Discussions: atrix4g18 was kind enough to open a Discussion Thread here.
[Atrix 4G Android Development] atrix4g18:
Re: ICS/JB Kernel Port Project [Discussion]

Developer. *
[Atrix 4G Android Development] mmontuori:
Actually Geramy is a developer, I just did not update the main OP... just did...
[Atrix 4G Android Development] atrix4g18:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Yeah sorry, posted in the wrong thread too.
[Atrix 4G Android Development] Zeljko1234:
Nice to see four developers :)
[Atrix 4G Android Development] atrix4g18:
Re: ICS/JB Kernel Port Project [Discussion]

Delete.
[Atrix 4G Android Development] atxhardrocker23:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

I changed the flex cable in my atrix but now all I get is a short green light when I turn it on..I bought a s2 so I would like to donate to y'all..please pm me
[Atrix 4G Android Development] CptAJ:
Excellent! I'm all set up and the first compile was a success. Now, how do I test it?

Do I flash MROM-ICS [This one, right?] and then flash the kernel?

I remember having to flash a particular kernel for MROM-CM7... but I don't know how to pack it into a flashable zipfile like that. :confused:
[Atrix 4G Android Development] andresrivas:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

you could dowload any custom kernel's zip and study how it is packed

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] krystianp:
Here:

http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images

you can find needed tools and some guides how to build your kernel image.
[Atrix 4G Android Development] mmontuori:
JTAG Status

Mr. AndroidClone,

It has been over a month that you have an Atrix phone send by me to you, you have offered help in connecting JTAG and I have accepted. I understand that you are having delays and you co-worker is supposed to handle the issue.

I have sent out messages inquiring about the status to you and you co-worker with no response or "I don't know what's going on response". Now you have to answer to the community, not me anymore.

A this point, I would appreciate if you just return the phone to me.

Regards,
[Atrix 4G Android Development] BigJeff:
DANG, he messed with the wrong Mafia.

You goofed bro, better fix your mistake. I mean why would you try to cheat a couple of guys trying to help the community? I hope for his sake that they're just really busy.
[Atrix 4G Android Development] atrix4g18:
Re: ICS/JB Kernel Port Project [Discussion]

I don't know why someone would do that. These devs aren't some high up corporate company. They are doing this for the community. If this is successful, which I am quite certain it will be, the Atrix will become twice the phone it ever was.
[Atrix 4G Android Development] CptAJ:
Rock and roll!

Alright, this is as far as I got today...

I installed ICS MROM just fine...

Read through that guide, but sadly atrix doesn't use mtd? I winged it and checked the partitions, managed to guess a few from the mount points but nothing of great use. Luckily they're documented here http://www.droid-developers.org/wiki/Motorola_Atrix#Partitions

I wasn't super convinced so I went and looked into the update script on the ICS MROM zip file and yup, its mmcblk0p11

But then someone mentioned fastboot. Aha! I pulled the boot.img from the MROM file, opened in hex, stripped the ramdisk and saved it (I checked it by unzipping it like the guide says and indeed, I had the directory structure and stuff in there). I first made a boot.img using some mkbootimg file I found here, supposedly mixing my kernel and ramdisk images. I flashed that using:

fastboot flash boot ../myboot.img

Stuck on the big M. Nothing happened. Then I used fastboot to boot into my kernel+ramdisk like so:

fastboot boot ../zImage ../ramdisk.gz

And we were in business. I got bootani... but no adb

I noticed you guys had adb in the video so... where did I screw up?

Here are the files if you want to check:

Combined image: http://dl.dropbox.com/u/38620067/newimage.img

Ramdisk: http://dl.dropbox.com/u/38620067/ramdisk.gz

Kernel: http://dl.dropbox.com/u/38620067/zImage

[To everyone else: Do NOT try these files. They do NOT work.] :silly:
[Atrix 4G Android Development] ravilov:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

You didn't really need to look that far...

http://xdaforums.com/showthread.php?p=35779145#post35779145
[Atrix 4G Android Development] attrixnor:
did the mrom boot with the new kernel ??
[Atrix 4G Android Development] ravilov:
All the progress and all the achievements are already listed in OP.
[Atrix 4G Android Development] attrixnor:
i know but it's about the CptAJ post
[Atrix 4G Android Development] Zeljko1234:
Please, be patient and on topic. For discussion you can use another topic.
[Atrix 4G Android Development] attrixnor:
Yep :D sorry
[Atrix 4G Android Development] krystianp:
Hi,

Here's a link to leaked kernel zip file with debugging options enabled (thanks goes to mmontuori for preparing this) that you can install through recovery: https://dl.dropbox.com/u/7461563/ics-debug-kernel.zip

You can use it as a base for your kernel. You can follow this few lines:

mkdir new_kernel
cp ics-debug-kernel.zip new_kernel/
cd new_kernel
unzip ics-debug-kernel.zip
rm ics-debug-kernel.zip

../split_bootimg.pl boot.img
rm boot.img
rm boot.img-kernel
cp /path/to/your/kernel/sources/arch/arm/boot/zImage boot.img-kernel

../mkbootimg --kernel boot.img-kernel --ramdisk boot.img-ramdisk.gz -o boot.img
rm boot.img-*
zip -r new_kernel.zip *

../adb shell mount -t vfat -o rw /dev/block/mmcblk0p18 /emmc
../adb push new_kernel.zip /emmc/
../adb shell umount /emmc

Now go to recovery and install new_kernel.zip from internal sdcard. Btw. if you want to install additional modules (currently not needed required), you'd have to unpack ramdisk and put those there.
[Atrix 4G Android Development] CptAJ:
Indeed...

Nope, not even close. I'm just using it as a placeholder ROM. We'll get there though, don't worry!

Also, thanks again krystianp! I'll give that a shot later tonight.
[Atrix 4G Android Development] rspaulo:
Just donated a few bucks for the cause! Thanks for your efforts to make the dream come true!
[Atrix 4G Android Development] krystianp:
http://youtu.be/mX7kCBxmnHc :)
[Atrix 4G Android Development] Fastrite:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Woohoo! :)
[Atrix 4G Android Development] Manoboy:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Wonderfull
[Atrix 4G Android Development] krystianp:
Guys those comments in discussion thread in general please :)
[Atrix 4G Android Development] danilocps87:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Great krystianp! You rock!

What do you thing about the touch? Will be easy to calibrate it?

Enviado de meu MB860 usando o Tapatalk 2
[Atrix 4G Android Development] rspaulo:
Olympus (Atrix 4G) ICS/JB Kernel Port Project

What is that monuting in notification bar? Internal memory or sdcard?
[Atrix 4G Android Development] nlabrad:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Great work! What has changed that was needed to boot? And what is happening with the touchscreen?
[Atrix 4G Android Development] BigJeff:
This belongs in the general but I don't give a ****, the devs deserve for people to know. EVERYONE vote this for the portal news!

Click here if you can't figure out how to... http://xdaforums.com/votenews.php?topic=2016837

As always, sorry for cluttering the thread, but everyone should know about krystianp, lehjr, Geramy, mmontuori; and what they've done for the community as a whole. Thanks guys.
[Atrix 4G Android Development] epinter:
Amazing. Great work!!

I'm trying to start to work on the kernel, but unfortunately I'm unable to boot yet. No video or usb using the latest defconfig.
[Atrix 4G Android Development] epinter:
Boots and usb work :D

@krystianp,@mmontuori

Maybe the touch problem is related to the fact we don't have /dev/touchpad device to calibrate the touch using the touchpad daemon. I think the qtouch_obp_ts.c from 2.6.39 don't use the /dev/touchpad because a firmware is loaded in board-stingray-touch.c, different from atrix.
[Atrix 4G Android Development] Ally_june:
:good:waiting for your good news!
[Atrix 4G Android Development] heatweb:
You all the Man! making an amazing job!! good luck guys!!
[Atrix 4G Android Development] madmax59:
good job man. all atrix 3.1 kernel developers will be a legend
[Atrix 4G Android Development] otsnd:
Quick question for Epinter: I heard u have 2 Atrix, one with the screen jitter problem and one that works, did u tested that with this new kernel? Does the screen jitter issue persists on this kernel too?
[Atrix 4G Android Development] cailloup:
Touch is not working yet

See here http://youtu.be/mX7kCBxmnHc
[Atrix 4G Android Development] quetzalcoatl2435:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Screenshake has nothing to do with touch.
[Atrix 4G Android Development] cailloup:
Ok but you need to interact with the phone to see screenshake, it won't shake on the lock screen without touching, is that right?

https://www.youtube.com/watch?v=OyP8XnlYttM
[Atrix 4G Android Development] epinter:
With this kernel I have no screen problem.
[Atrix 4G Android Development] attrixnor:
epinter ;you actually test this kernel with your rom ?
[Atrix 4G Android Development] epinter:
yes, with 4.1
[Atrix 4G Android Development] ingelectronico:
Epinter CM10 with Kristianp Kernel

Hi Emerson, do you have any comments about the new kernel? You killed me with the short answer, hehe.
[Atrix 4G Android Development] madmax59:
maybe they are make a suprise after a short while
[Atrix 4G Android Development] jhonnyx:
Guys, you're doing an AMAZING work, Congratulations from what you're achieving so far!
[Atrix 4G Android Development] quetzalcoatl2435:
Well, no. If you got the screenshake, then it shakes, even on the bootanimation and lockscreen.
[Atrix 4G Android Development] krystianp:
Odp: Olympus (Atrix 4G) ICS/JB Kernel Port Project

I think screen shaking was caused by some pins/gpios being open and causing signal disturbance(not sure if correct word here). My development atrix was once with this issue on leaked but it never happened during tests of 3.1.10. From what it looks leaked wasn't developed on final machine but some development board. This might be cause of some problems.
[Atrix 4G Android Development] cailloup:
All right my mistake

It seems that I never suffered from the problem and though the wrong thing :eek:
[Atrix 4G Android Development] Zeljko1234:
What is more than great! :)
[Atrix 4G Android Development] canerpense:
"Signal Interference":p (I think it is more of a miscalculated v-sync freq. kind of problem)

You are the real developer community who this forum are for. We "normal people" have crossed our fingers and have been holding our breath for so long, what you have accomplished are just great news for everyone. Thank you, each one of you.

Once you release the ROM we have long waited, a nice cold can of beer for you guys is on me. :highfive:
[Atrix 4G Android Development] Cocolopes:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Sorry if this is stupid....but maybe you can unlock the device using a HDdock and a mouse....so you dont have to use the touch. Just and idea ;)
[Atrix 4G Android Development] krystianp:
Odp: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Most freq. values were taken from leaked, only one is different than what leaked has:

[ 5.994614] tegradc tegradc.0: DSI: HS clock rate is 215500

It's lower by 14500Hz(AFAIR). But it is counted from few other values which I didn't bother to locate.
[Atrix 4G Android Development] mmontuori:
Damn... we were expecting beers now, we code much better under inebriated state...:(
[Atrix 4G Android Development] otsnd:
Yay, thanks for the answer :laugh:
[Atrix 4G Android Development] toomaiv:
oviously you guys deserve donations

So i donated you and krystian speratly...and it's not even close to Reflect my real apriciation to you guys.

(I'm an unemployed student soo...that's all i can afford for now)

P.s

Even if this amazing project won't end up as a kernel on the next rom's to come, you defnatly put a lot of time,effort and headaches and it's really should be recognized and well known to our community...(espacially @ canerpense). Anyway beers on me for now..enjoy it ;)

Tomer
[Atrix 4G Android Development] cpanos:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

I see that you guys are working on porting touchscreen values from GB. If I remember correctly, there was a multi touch bug in gb due to code ported from the defy (in the defy, it avoided registering input from rain drops).

Maybe this is related to what you guys are working on.
[Atrix 4G Android Development] andresrivas:
Hey! Nice idea!! I recall having to deal with no-touchscreen once I tried to "fix" the raindrop fix and screwed real good with the toucscreen file.. :)
[Atrix 4G Android Development] Gizmo306:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

as I recall from early stage of Atrix been bootloader unlocked, there was touch sensing problem from time to time, and some one found the PDS partition reflashing can fix it. so there is an warning from eval to "backup your PDS partition".

while my attempt to flashing CM base ROM & flashing back to Blur ROM, I have such touch sensing problem too. the touch direction is swaped in X/Y, also simply reflashing PDS partition fix it. maybe you can try it.:)

& Happy birthday krystianp.
[Atrix 4G Android Development] ovitz:
the idea is nice, but they can't turn on bluetooth and pare devices with locked phone
[Atrix 4G Android Development] Gizmo306:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

fastboot flash pds .... will do PDS partition flashing, it is supported by unlocked bootloader.
[Atrix 4G Android Development] lightlord:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Just connecting usb mouse would do, but they shure have tried all that. I guess the kernel-rom at this stage just does not suport those simple solutions yet.Anyway I am shure since they come this far it represents a minor obstacle to those guys.

Sent from my MB860
[Atrix 4G Android Development] trogdan:
Ditto, I just donated again, to both. Feel free to allocate that money to a beer or 3.
[Atrix 4G Android Development] KCKitsune:
I donated to two of the four members of the dev team. Next paycheck I'll donate to the other two. I am VERY grateful for all of your work. I can only hope that when you get this kernel done that it will work with Ubuntu for Android. Or better yet that it will allow me to install Ubuntu OS on my Atrix.

That being said, I don't care if it doesn't work out like that because I can still use the new kernel to get the most out of my phone without having to replace it.
[Atrix 4G Android Development] chonkit:
decided to donate another 10 bucks to u guys for you guys hard work. keep it up guys.. although it is little (MYR to USD is x3) , hopefully can help out u guys ...
[Atrix 4G Android Development] nlabrad:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

First of all i thank you for donating to the guys, even if i am not in the dev team, if its good for them, is good for the rest of us.

In second place, I think it would be nice if you guys placed your posts about the donations in the other thread in the general section, so this one keeps development related and clean. And we don't get excited thinking there are development news when we see new posts in the thread heh :).

I'm not a mod, just a friendly suggestion.
[Atrix 4G Android Development] KCKitsune:
My post was a shout out, but it was also a hope that this new kernel will allow me to use Ubuntu for Phone OS.
[Atrix 4G Android Development] atrix4g18:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Belongs in discussion. Thank you for donating.
[Atrix 4G Android Development] Geramy:
Thank you for donating to the dev team it is appreciated by me and i'm sure the rest of the team :).
[Atrix 4G Android Development] gabrielgagz:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Thanks for this great job!

Has sido tapatalkeado
[Atrix 4G Android Development] BALU Motofan:
https://android.googlesource.com/ke...al/android-3.8/drivers/gpu/drm/tegra/host1x.c

what's this
[Atrix 4G Android Development] krystianp:
This is part of experimental 3.8 kernel with partialy ported open source tegra drivers. We have to wait for Key Lime Pie to get anything worth trying. It sure is promissing but we have to finish our 3.1.10 before we'll go to 3.8
[Atrix 4G Android Development] francois64:
This period is a sad one :

No news even good or bad !

I keep checking every evening this thread and CM10.1 too, the same...:crying:
[Atrix 4G Android Development] sidVici0us:
The action is in discussion TH : http://xdaforums.com/showthread.php?t=2169294
[Atrix 4G Android Development] BigJeff:
Off-topic, but I heard speculation that Nvidia is releasing poorly optimized open source drivers with 3.8, that way people have to buy newer, supported hardware to get decent performance? What do you guys think about this if it will be true?
[Atrix 4G Android Development] consolation:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

We think that this speculation belongs in the discussion thread, not the dev thread.
[Atrix 4G Android Development] krystianp:
Working audio, 3d acceleration, kxtf9 (accelerometer) but directions need switching. Video link: http://youtu.be/sFsS-oe0noE

Edit:

Uploaded... Also fixed that 20px missing at the bottom
[Atrix 4G Android Development] ozgurs:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

İ cant see video. Youtube says private video :eek:

Thanks
[Atrix 4G Android Development] danilocps87:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Krystianp, I can't see this video, because it was posted privately. Could you please change it to a public video?

And congratulations for this great work!
[Atrix 4G Android Development] krystianp:
I'll make this video public as soon as it uploads and i cut some garbage from the end. Be patient.
[Atrix 4G Android Development] eSu.Matix:
If they can make it work, they can optimize it. And I don't really think Nvidia is doing that. Most likely the guys who were "fixing" the drivers didn't knew what they were doing.

This video is private. :(
[Atrix 4G Android Development] rspaulo:
Olympus (Atrix 4G) ICS/JB Kernel Port Project

3D acceleration = HWA?
[Atrix 4G Android Development] sidVici0us:
Yeap
[Atrix 4G Android Development] heatweb:
seem like all works! great jobs! thanks so much
[Atrix 4G Android Development] svemprala:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Excellent! Great job!
[Atrix 4G Android Development] ThePigeonKeeper:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

don't forget to acknowledge your successes on your milestones in the OP! great work bud!
[Atrix 4G Android Development] attrixnor:
really, really , really impress by the team !!!! WWHHHOOOOO

Harlem check for you : http://vimeo.com/60997279
[Atrix 4G Android Development] DannyBiker:
Thanks !
[Atrix 4G Android Development] Hai_Duong:
I think its nice to put some pics here but its for dev thread and not a "post a picture to say thanks" thread. So please press thanks button to keep it clean.
[Atrix 4G Android Development] DannyBiker:
Yeah I realized that right after I posted it but there is no way to user delete on xda...:(

So my message was : thanks but don't forget to face the phone the proper way next time ! :angel:
[Atrix 4G Android Development] krystianp:
Odp: Olympus (Atrix 4G) ICS/JB Kernel Port Project

I'll try to remember that next time. I'm new to movie industry ;)
[Atrix 4G Android Development] attrixnor:
Krystian,

do you make us a feedback on the hardware doesn't work actually ?

i suppose modem part and wifi ?
[Atrix 4G Android Development] krystianp:
wlan, bt, modem, fingerprint, proximity sensor, light sensor, compass, gps, button backlight, screen wake up. Maybe more, don't know yet.
[Atrix 4G Android Development] Nadzlee:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Are they not working YET or wont work at all? Sorry im confused with the guy who asked d question

Sent from my MB860
[Atrix 4G Android Development] krystianp:
Odp: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Not working yet
[Atrix 4G Android Development] attrixnor:
no and no : he hasn't test it YET !

because Krystian focus on other driver .

for now anybody can test it :D

oups: same time answer :D
[Atrix 4G Android Development] Cocolopes:
You miss battery charge or you make it work?
[Atrix 4G Android Development] krystianp:
Odp: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Missed that
[Atrix 4G Android Development] Fastrite:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

@krystianp,

Would another battery and battery charger help?

"It's not the fall that kills you, It's the sudden stop at the bottom"
[Atrix 4G Android Development] krystianp:
I have spare battery, more important for me now is fully working touchscreen :D I'm planning buying one soon. Later maybe additional lcd, so i could build another test device.
[Atrix 4G Android Development] ebswift:
After having gone through the pain of digitiser replacement on two phones (received multiple faulty digitisers that had to be returned and had failures afterwards as well which took me through the same process), I ended up damaging the LCD on one of the phones. When I looked at a replacement LCD, I actually found a seller refurbed LCD with digitiser already built into the front casing for $60. This for some reason seems to have been a very reliable fix for relatively cheap, so if you can find that option you might be able to kill two birds with one stone - to get your extra LCD and fix your digitiser.
[Atrix 4G Android Development] NemeZZiZZ:
Re: Olympus (Atrix 4G) ICS/JB Kernel Port Project

Hello! Please, PM me your address, I want to win and send you Atrix from ebay.