Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
segway_
Old
(Last edited by segway_; 5th September 2010 at 11:56 AM.)
#1  
Member - OP
Thanks Meter 2
Posts: 71
Join Date: Feb 2010
Location: Ioannina
Default [Experimental] Tatto htc kernel 2.6.29 for eclair!

This is an experimental build for tattoo derived from HTC Buzz soucres and Hero sources:

http://member.america.htc.com/downlo...34e5f81.tar.gz
http://member.america.htc.com/downlo...f74b252.tar.gz

build for eclair!

I have setup an github repository, you can crab it here:

http://github.com/segway/Htc-tattoo-....29-for-eclair

There you will find and the config file. Just copy it as .config and you ready to compile!

I test it at donut original HTC version and everything works except camera
(new configuration and drivers) and akm8973 (the problem is at the
struct akm8973_platform_data compass_platform_data with the LAYOUTS and the
driver at drivers/i2c/chips/akm8973.c. If you use the old struct and the driver
drivers/i2c/chips/akm8973.c from original tattoo kernel the compass works!
Maybe we need and a new /system/bin/akm8973 binary?).

What can you do to help me? Ok you can test the kernel with the android 2.1
system (you can grab also the /system/bin/akm8973 binary from buzz to
test if compass works) and send feedback. As i see in the buzz sources
there are several buzz implementations. On one of them there is present
a mt9t013 camera (see arch/arm/mach-msm/board-buzzc.c). This board
has many similarities with tattoo (akm8973, bma150). So we can get binary
files from official roms (for example /system/bin/akm8973).

At dmesg also i get a: "BUG: scheduling while atomic: kmmcd/9/0x00000002"
which is a sched something bug but the kernel continue to boot. I ll try to figure why.

That' s all
Keep hacking to all of you.

Seg
 
HCDR.Jacob
Old
#2  
HCDR.Jacob's Avatar
Recognized Developer
Thanks Meter 544
Posts: 1,046
Join Date: Jun 2010
Location: Gateshead

 
DONATE TO ME
Quote:
Originally Posted by segway_ View Post
This is an experimental build for tattoo derived from HTC Buzz soucres and Hero sources:

http://member.america.htc.com/downlo...34e5f81.tar.gz
http://member.america.htc.com/downlo...f74b252.tar.gz

build for eclair!

I have setup an github repository, you can crab it here:

http://github.com/segway/Htc-tattoo-....29-for-eclair

There you will find and the config file. Just copy it as .config and you ready to compile!

I test it at donut original HTC version and everything works except camera
(new configuration and drivers) and akm8973 (the problem is at the
struct akm8973_platform_data compass_platform_data with the LAYOUTS and the
driver at drivers/i2c/chips/akm8973.c. If you use the old struct and the driver
drivers/i2c/chips/akm8973.c from original tattoo kernel the compass works!
Maybe we need and a new /system/bin/akm8973 binary?).

What can you do to help me? Ok you can test the kernel with the android 2.1
system (you can grab also the /system/bin/akm8973 binary from buzz to
test if compass works) and send feedback. As i see in the buzz sources
there are several buzz implementations. On one of them there is present
a mt9t013 camera (see arch/arm/mach-msm/board-buzzc.c). This board
has many similarities with tattoo (akm8973, bma150). So we can get binary
files from official roms (for example /system/bin/akm8973).

At dmesg also i get a: "BUG: scheduling while atomic: kmmcd/9/0x00000002"
which is a sched something bug but the kernel continue to boot. I ll try to figure why.

That' s all
Keep hacking to all of you.

Seg
I will test this later if I have time
Main Phone:
- Samsung Galaxy S III GT-I9300
ROM:
[4.0.4] CM9 Nightly w/ Ninphetamin3 kernel

Main Tablet:
- Samsung Galaxy Tab 10.1 WiFi (P7510)
ROM:
[4.0.4] CM9 Nightly

Other devices: Huawei Ideos S7, Nexus S I9020, Huawei U8800, ZTE Blade x2, HTC Wildfire, HTC Tattoo

Donate
 
ikxdf
Old
#3  
Senior Member
Thanks Meter 8
Posts: 661
Join Date: May 2010
Location: Venice

 
DONATE TO ME
Quote:
Originally Posted by HCDR.Jacob View Post
I will test this later if I have time
my rom already contain this kernel compiled from source and full functionally.
if u want i can upload only the zImage and the wlan.ko here or u can extract it from my rom
 
HCDR.Jacob
Old
#4  
HCDR.Jacob's Avatar
Recognized Developer
Thanks Meter 544
Posts: 1,046
Join Date: Jun 2010
Location: Gateshead

 
DONATE TO ME
Quote:
Originally Posted by ikxdf View Post
my rom already contain this kernel compiled from source and full functionally.
if u want i can upload only the zImage and the wlan.ko here or u can extract it from my rom
Can you upload please?

Sent from my HTC Tattoo using XDA App
Main Phone:
- Samsung Galaxy S III GT-I9300
ROM:
[4.0.4] CM9 Nightly w/ Ninphetamin3 kernel

Main Tablet:
- Samsung Galaxy Tab 10.1 WiFi (P7510)
ROM:
[4.0.4] CM9 Nightly

Other devices: Huawei Ideos S7, Nexus S I9020, Huawei U8800, ZTE Blade x2, HTC Wildfire, HTC Tattoo

Donate
 
segway_
Old
(Last edited by segway_; 6th September 2010 at 10:26 AM.)
#5  
Member - OP
Thanks Meter 2
Posts: 71
Join Date: Feb 2010
Location: Ioannina
Quote:
Originally Posted by ikxdf View Post
my rom already contain this kernel compiled from source and full functionally.
if u want i can upload only the zImage and the wlan.ko here or u can extract it from my rom
I dont think so. You have used the sources from donut kernel from HTC:
http://member.america.htc.com/downlo...-656120.tar.gz
I used the sources from buzz and hero kernels to compile a kernel
for tattoo. There are big differences you can check it with diff..

Seg
 
ikxdf
Old
#6  
Senior Member
Thanks Meter 8
Posts: 661
Join Date: May 2010
Location: Venice

 
DONATE TO ME
Quote:
Originally Posted by segway_ View Post
I dont think so. You have used the sources from donut kernel from HTC:
http://member.america.htc.com/downlo...-656120.tar.gz
I used the sources from buzz and hero kernels to compile a kernel
for tattoo. There are big differences you can check it with diff..

Seg
uh...sorry...i haven't read well

i will download it and wil l take a look but i don't think to find big differences in this kernel...
 
ikxdf
Old
#7  
Senior Member
Thanks Meter 8
Posts: 661
Join Date: May 2010
Location: Venice

 
DONATE TO ME
Quote:
Originally Posted by HCDR.Jacob View Post
Can you upload please?

Sent from my HTC Tattoo using XDA App
yes. this package contain the zImage and the wlan.ko module already compiled.


PS: the wlan.ko module can work only on 2.1 rom. if u need this moudule for 1.6 or 2.2 rom you have to recompile it. don't try to use a wlan.ko module from another rom...it can't work.
Attached Files
File Type: zip Kernel 2.6.29 + wlan.ko [ikxdf].zip - [Click for QR Code] (2.17 MB, 26 views)
 
francians
Old
#8  
francians's Avatar
Senior Member
Thanks Meter 21
Posts: 449
Join Date: May 2010
What could be the advantages to use the buzz/hero kernel?
You will lose all the tweak for the tattoo (even if they aren't so much).
 
ikxdf
Old
#9  
Senior Member
Thanks Meter 8
Posts: 661
Join Date: May 2010
Location: Venice

 
DONATE TO ME
Quote:
Originally Posted by francians View Post
What could be the advantages to use the buzz/hero kernel?
You will lose all the tweak for the tattoo (even if they aren't so much).
i think that the htc release kernel already contain all needed patch for a specific devices... use a specific kernel of another device is not correct...you haven't all specific patch for your device and the kernel contain some not necessary (and unknow) patch for another devices...

i think that is only a losing time...
 
segway_
Old
#10  
Member - OP
Thanks Meter 2
Posts: 71
Join Date: Feb 2010
Location: Ioannina
Quote:
Originally Posted by francians View Post
What could be the advantages to use the buzz/hero kernel?
You will lose all the tweak for the tattoo (even if they aren't so much).

Ok you have a point but this can lead us to port 2.6.32 kernel (even aosp)..
Think that all the sources files at mach_msm directory is developed for
eclair by HTC.

Also extra tweaks for tattoo can always be imported to this kernel.

PS.: I noticed that from this morning the tattoo kernel at http://developer.htc.com/ change the name-link to
HTC Tattoo - Donut - 2.6.29 kernel source code! ;-P

Seg.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more