Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,941 Members 38,404 Now Online
XDA Developers Android and Mobile Development Forum

[GPL][Kernel] 2.6.35 for HERC [AP #4/5]

Tip us?
 
s0be
Old
(Last edited by s0be; 9th April 2011 at 03:09 PM.)
#1  
s0be's Avatar
Recognized Developer - OP
Thanks Meter 425
Posts: 707
Join Date: Dec 2007
Location: Madison, WI

 
DONATE TO ME
Default [GPL][Kernel] 2.6.35 for HERC [AP #4/5]

Github:

I now consider this Release Candidate quality. Please do report issues (with logcats and dmesgs). Check the known bugs, etc, etc.

https://github.com/s0be/cm-kernel

the -amonra zip is for recoveries that don't take the FS type as the first argument of mount(...) If the regular zip fails complaining about missing files, try the -amonra version.

Latest official version:
If that download doesn't work for you, your OS likely has a broken ipv6 stack. Please check that you have ipv6 disabled if you don't actually have an ipv6 connection.

What works:
  • Ram console
  • Keypad
  • Screen
  • Touchscreen
  • GPS
  • Compass
  • G-Sensor
  • nand
  • Early Suspend
  • Bluetooth
  • Headset Detection
  • Camera

What Doesn't work or hasn't been tested:

Thanks to:
Elemag for the initial Hero 2.6.35 port, with Erasmux as a major contributor, Decadence for the 2.6.34/35 heroc board files, and riemervdzee for his pointers at fixes needed to get it working and his continued drive to get this kernel full featured and stable, and everyone they pulled from (Darch, Toast, Cyanogen, etc, etc). If I've forgotten anyone, please let me know the names to add.
There is no need to pm me, I probably won't answer. Just ask whatever you have to ask in a public thread.
My Github
The Following 35 Users Say Thank You to s0be For This Useful Post: [ Click to Expand ]
 
s0be
Old
(Last edited by s0be; 8th April 2011 at 04:34 AM.)
#2  
s0be's Avatar
Recognized Developer - OP
Thanks Meter 425
Posts: 707
Join Date: Dec 2007
Location: Madison, WI

 
DONATE TO ME
See first post for current. This is just historic releases.
There is no need to pm me, I probably won't answer. Just ask whatever you have to ask in a public thread.
My Github
 
rochford77
Old
#3  
Senior Member
Thanks Meter 6
Posts: 152
Join Date: May 2010
Location: Mt. Pleasant/Oxford MI
what kind of performance increase will this bring? and will it be nice to have when we get a fully working GB rom?
 
riemervdzee
Old
#4  
riemervdzee's Avatar
Retired Recognized Developer
Thanks Meter 297
Posts: 593
Join Date: May 2010
Location: Dokkum
Unfortunally the current .35 build for the Hero GSM version is slower than any .29 kernel.
But yeah, seems we have to reimplement a lot of optimalisations.

It is nice that we actually get something out of the HeroC though
Devices: HTC One X, HTC Hero GSM

My Github: linky
- HTC One X kernel playground, based on Franco's
- 2.6.35 port for the Hero
The Following User Says Thank You to riemervdzee For This Useful Post: [ Click to Expand ]
 
s0be
Old
#5  
s0be's Avatar
Recognized Developer - OP
Thanks Meter 425
Posts: 707
Join Date: Dec 2007
Location: Madison, WI

 
DONATE TO ME
Quote:
Originally Posted by riemervdzee View Post
Unfortunally the current .35 build for the Hero GSM version is slower than any .29 kernel.
But yeah, seems we have to reimplement a lot of optimalisations.

It is nice that we actually get something out of the HeroC though
There are other advantages of course, we have to remember. Performance is king, but features are definitely queen. Getting to a recent kernel (2.6.29 is coming up on 2 years old), makes future updates to Heroc a lot easier. Going to up-to-date drivers may allow us to eliminate some of the binary cruft from the Heroc tree, etc, etc.
There is no need to pm me, I probably won't answer. Just ask whatever you have to ask in a public thread.
My Github
The Following User Says Thank You to s0be For This Useful Post: [ Click to Expand ]
 
dbayub
Old
#6  
Junior Member
Thanks Meter 2
Posts: 5
Join Date: Jan 2010
Two things I've tried:

1. In the xda "hero" dev forum, there was a post that there was a problem with the newer (>.34) yaffs2 code, and you needed to boot and wipe using a 1.7 RA recovery. So, I copied the yaffs2 code from deca's .29 kernel. It then oopsed at 1017 in msm_fb, which was the ifdef'd line for HERO.

2. So, I added "&& !defined(CONFIG_MACH_HEROC)" to line 1016. It then still rebooted, but last_kmsg was different after "vsync on gpio 97 now 0":

[ 3.626831] vsync on gpio 97 now 0
[ 3.632263] msmfb_probe() installing 320 x 480 panel
[ 3.640106] Registered led device: lcd-backlight
[ 3.650085] msm_serial: driver initialized
[ 3.654052] msm_serial_hs module loaded
[ 3.697570] loop: module loaded
[ 3.698760] pmem: 1 init
[ 3.702514] pmem_adsp: 0 init
[ 3.706420] pmem_camera: 0 init
[ 3.711578] Android kernel panic handler initialized (bind=kpanic)
[ 3.712524] AKM8973 compass driver: init
[ 3.718566] input: compass as /devices/virtual/input/input0
[ 3.731079] msm_nand: allocated dma buffer at ffa0a000, dma_addr 256fb000
[ 3.732696] msm_nand: read CFG0 = aa5400c0 CFG1 = 8744a
[ 3.733245] msm_nand: CFG0 cw/page=3 ud_sz=512 ecc_sz=10 spare_sz=4
[ 3.734069] msm_nand: NAND_READ_ID = 5501bcec
[ 3.735229] msn_nand: nandid 5501bcec status c03120
[ 3.735595] msm_nand: manuf Samsung (0xec) device 0xbc blocksz 20000 pagesz 800 size 20000000
[ 3.736114] msm_nand: save CFG0 = e85408c0 CFG1 = 4745e
[ 3.736419] msm_nand: CFG0: cw/page=3 ud_sz=516 ecc_sz=10 spare_sz=0 num_addr_cycles=5
[ 3.737121] msm_nand: DEV_CMD1: f00f3000
[ 3.737609] msm_nand: NAND_EBI2_ECC_BUF_CFG: 1ff
[ 3.738372] 6 cmdlinepart partitions found on MTD device msm_nand
[ 3.738708] Creating 6 MTD partitions on "msm_nand":
[ 3.739257] 0x00001ff60000-0x000020000000 : "misc"
[ 3.753509] 0x000002c60000-0x000003160000 : "recovery"
[ 3.776397] 0x000003160000-0x0000033e0000 : "boot"
[ 3.794219] 0x0000033e0000-0x000009be0000 : "system"
[ 4.070312] 0x000009be0000-0x000009fe0000 : "cache"
[ 4.098876] 0x000009fe0000-0x000020000000 : "userdata"

No errors detected

Don't know if this helps or not. BTW, I'm using Firerats's custom MTD partitions, so I modified the boot parameters.
 
s0be
Old
#7  
s0be's Avatar
Recognized Developer - OP
Thanks Meter 425
Posts: 707
Join Date: Dec 2007
Location: Madison, WI

 
DONATE TO ME
Quote:
Originally Posted by dbayub View Post
Two things I've tried:

1. In the xda "hero" dev forum, there was a post that there was a problem with the newer (>.34) yaffs2 code, and you needed to boot and wipe using a 1.7 RA recovery. So, I copied the yaffs2 code from deca's .29 kernel. It then oopsed at 1017 in msm_fb, which was the ifdef'd line for HERO.

2. So, I added "&& !defined(CONFIG_MACH_HEROC)" to line 1016. It then still rebooted, but last_kmsg was different after "vsync on gpio 97 now 0":

<SNIP>

Don't know if this helps or not. BTW, I'm using Firerats's custom MTD partitions, so I modified the boot parameters.
yeah, I had that fixed in my tree, forgot to commit the || -> && change I didn't do that yaffs2 change, but I just tested it with identical results.
There is no need to pm me, I probably won't answer. Just ask whatever you have to ask in a public thread.
My Github
 
Decad3nce
Old
#8  
Decad3nce's Avatar
Retired Forum Moderator / Recognized Developer
Thanks Meter 2,768
Posts: 2,083
Join Date: Feb 2010

 
DONATE TO ME
Sweet. I'll spend more time on it this weekend. Swamped with homework atm.

Hopefully we'll have something super stable!
 
s0be
Old
#9  
s0be's Avatar
Recognized Developer - OP
Thanks Meter 425
Posts: 707
Join Date: Dec 2007
Location: Madison, WI

 
DONATE TO ME
Quote:
Originally Posted by Decad3nce View Post
Sweet. I'll spend more time on it this weekend. Swamped with homework atm.

Hopefully we'll have something super stable!
Made some more progress:

http://android.pastebin.com/AWysQDNk
There is no need to pm me, I probably won't answer. Just ask whatever you have to ask in a public thread.
My Github
 
MallardDuck
Old
#10  
MallardDuck's Avatar
Senior Member
Thanks Meter 201
Posts: 281
Join Date: Jun 2009
Location: Lansing
s0be, i think you're going to blow up the hero scene again. with deca and you working together there's been a lot of progress recently and i want to thank both of you. i really love my hero and you guys keep it feeling young.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes