FORUMS
Remove All Ads from XDA

[KERNEL][2.6.27]Midnight's kernel and Midnight's Bundle

2,765 posts
Thanks Meter: 3,974
 
By helicopter88, Inactive Recognized Developer on 3rd December 2011, 11:35 AM
Post Reply Email Thread
Hi all!
After being for a long time a neopeek.com thread only,i've choosen to post the kernel here too..

Please note that i'm using codesourcery's toolchain 9-2010
If the kernel fails at booting
Please check this startup and this haret
Please change
Code:
set INITRD_OFFSET 0xSOMETHING
to
Code:
set INITRD_OFFSET 0xA00000
in startup.txt
If you don't have the line in startup,add it,it must be anywhere before "boot"

DOWNLOADS
CREDITS
Alex[sp3dev] for the gpu overclock,for the charger and for many X1 fixes..
Blackra1n for help with the overclocking part
Xdandroid team for the kernel source
Caliban2 for testing everything I uploaded
Everyone who has helped me improving this kernel with reviews and tips
Everyone who has bundled this kernel in the builds

SOURCES

CHANGELOG
  • V12
    • 642200 MHz now runs with 200 Mhz AXI and AHB clocks
    • Fixed a small issue with AXI and AHB clocks,them weren't set properly
    • PLL clock is now mantained after panel blank-unblank
  • V11
    • Added some scaling steps,642200 MHz and 100800 MHz
    • Last frequence(642200) runs off PLL3,making a small speed bost
    • AXI and AHB are clocked at 160 MHz for PLL3,when making it higher the phone became unresponsive and slow
    • Default governor is On demand if you don't use my new rootfs
    • Kernel uses now 642200 as default max frequency
    • CIFS is back
    • V(R) is now default I/O scheduler,however you can always go back to No-op
    • Worked a bit on Kovksy battery meter,should be a bit more responsive now
  • V10
    • EXPERIMENTAL,Topaz should boot now
    • Kovsky battery fix,now is being more precise
    • Reverted to the old way to handle clock,doesn't bring more performance,could make the battery last a bit more
  • V9
    • EXPERIMENTAL,EXT4 support
    • Kovsky battery fix,now is being read properly
    • CIFS is being built as a module
    • No-Op I/O scheduler
    • Small but useful change in the way cpu handles clock
  • V8
    • Partially fixed kovsky battery meter
      Now battery discharges and charges,is just bad calibrated

DISCLAIMER:

If your phone(or SD-CARD) burns,explodes,or does unexpected things when using my kernel i take no responsability.

BUG LIST
  • Camera not working on X1,that's a common issue,pheraps it's time to backport from alex's .35
  • Class 6 and above sd-cards don't work well on blackstone
The Following 7 Users Say Thank You to helicopter88 For This Useful Post: [ View ] Gift helicopter88 Ad-Free
 
 
3rd December 2011, 11:41 AM |#2  
helicopter88's Avatar
OP Inactive Recognized Developer
Thanks Meter: 3,974
 
More
Bundle
Since ext3 is bringing good results and since everyone is saying good things about it
I've decided to make it more noob friendly.

DOWNLOADS
INSTRUCTIONS:
Please read carefully README.txt
If you can't extract it,please download latest 7zip..

NOTES FOR DEVELOPERS/CHEFS:
You need to update /META-INF/com/google/android/updater-script to make the build working with ext3
Change all the format and mount lines to ext3 instead of ext2.

Example
Code:
format("ext2", "EMMC", "/dev/block/mmcblk0p2");
has to be
Code:
format("ext3", "EMMC", "/dev/block/mmcblk0p2");
CHANGELOG:
  • V9
    • ROOTFS: Rel_path fixed
    • ROOTFS: Removed some hardcoded /sdcard/npkboot,now system can run from any folder
    • ROOTFS: Added some checks for the existance of CSV files in root of the SD-Card
    • ROOTFS: Boot will now fail if no CSV are found to avoid missing audio
    • ROOTFS: Updated Gingerbread's init.rc
    • KERNEL: New Acoustic code,improves audio in all the system,allows more tweaks to be performed by editing manually CSV files
    • KERNEL: Fixed static sound with data enabled
    • KERNEL: Brought back wlan.ko
    • KERNEL: Kexec working
    • BUILD : New GBX0B build included
    • BUILD : This build contains the new acoustic code
    • BUILD : Completely based on latest Gingerbread release by XDANDROID team,with some small tweaks for speed and working with CWM
  • V8
    • KERNEL:642200 MHz now runs with 200 Mhz AXI and AHB clocks
    • KERNEL:Fixed a small issue with AXI and AHB clocks,them weren't set properly
    • KERNEL:PLL clock is now mantained after panel blank-unblank
    • ROOTFS:New RIL and new Lights.ko for froyo
    • ROOTFS:Updated init.rc's
  • V7
    • KERNEL:Added some scaling steps,642200 MHz and 100800 MHz
    • KERNEL:Last frequence(642200) runs off PLL3,making a small speed bost
    • KERNEL:AXI and AHB are clocked at 160 MHz for PLL3,when making it higher the phone became unresponsive and slow
    • KERNEL:Kernel uses now 642200 as default max frequency
    • KERNEL:CIFS is back
    • KERNEL:V(R) is now default I/O scheduler,however you can always go back to No-op
    • KERNEL:Worked a bit on Kovsky battery meter,should be a bit more responsive now
    • ROOTFS:"Performance" is now the default governor
    • ROOTFS:Fixed init.d support
  • V6
    • KERNEL:Reverted the screen on/off frequencies
    • KERNEL:Kovsky battery should be more precise
    • ROOTFS:init.d support
  • V5
    • KERNEL:Kovsky battery working
    • KERNEL:EXT4 is back
    • KERNEL:No-Op is the I/O scheduler now
    • ROOTFS:XDANDROID partition layout can be used now
      Read readme please
  • V4
    • KERNEL:Some small clocks changes
    • ROOTFS:Things that needs an explanation,please read readme
  • V3
    • KERNEL:Reverted some changes to Epson panel (Kovsky,Blackstone and RAPH800)
    • KERNEL:Added JB's audio stuttering fix/hack for Diamond and Blackstone
  • V2
    • KERNEL:Reverted turbo to 960 MHz
    • ROOTFS:Enabled fail,this is going to stop boot process when no partitions are made.
    • ROOTFS:Readahead back to 1024
  • V1
    • Initial Release
Sources:

CREDITS TO:
  • Neopeek for Neofroyo and CWM
  • Xdandroid team for the kernel,rootfs source and inird
  • Turbolapin/lapin for the inird repacking trick,really really thank you!
The Following 2 Users Say Thank You to helicopter88 For This Useful Post: [ View ] Gift helicopter88 Ad-Free
3rd December 2011, 11:52 AM |#3  
izzyk's Avatar
Member
Flag Cairo
Thanks Meter: 10
 
More
well, I've tested your V10 Rom with an EXT2 rom which is SenseDroid V9 and it's amazing

but two issues:

1. Wifi doesn't seem to work for some reason even when turned on in winmo
2. There is this weird sound that comes from the speaker every few seconds

Other than that ... The kernel is great and fast and I love it ...

I hope I have helped and I'm sorry I'm new to all of this and I'm trying to learn as much as I can ... I hope I don't bother you with my questions and reports
3rd December 2011, 12:27 PM |#4  
Junior Member
Thanks Meter: 8
 
More
Hello Midnight,
nice to see this kind of topic here, I think many X1 users didn't find it at neopeek's site in Blackstone, Topaz (etc) section. Hope you will get better X1 feedback here.

I've tested V9 and V10 kernels on Jerrytan's Honeydroid with EXT3. I think both have slightly higher battery consumption than old Ygge's Turbo kernel.
Battery reading is still in both kernels literally "jumping" around the right value and it is changing several times per minute. But in V10 it seems a little bit better.
And as it was already said there is a strange sound comming from phone speaker in V10, when phone network is used, like when you put phone near some speaker.
I didn't tested wifi.

Thanks for your work and good luck in further development.
3rd December 2011, 12:46 PM |#5  
helicopter88's Avatar
OP Inactive Recognized Developer
Thanks Meter: 3,974
 
More
Quote:
Originally Posted by frybend

Hello Midnight,
nice to see this kind of topic here, I think many X1 users didn't find it at neopeek's site in Blackstone, Topaz (etc) section. Hope you will get better X1 feedback here.

I've tested V9 and V10 kernels on Jerrytan's Honeydroid with EXT3. I think both have slightly higher battery consumption than old Ygge's Turbo kernel.
Battery reading is still in both kernels literally "jumping" around the right value and it is changing several times per minute. But in V10 it seems a little bit better.
And as it was already said there is a strange sound comming from phone speaker in V10, when phone network is used, like when you put phone near some speaker.
I didn't tested wifi.

Thanks for your work and good luck in further development.

Quote:
Originally Posted by izzyk

well, I've tested your V10 Rom with an EXT2 rom which is SenseDroid V9 and it's amazing

but two issues:

1. Wifi doesn't seem to work for some reason even when turned on in winmo
2. There is this weird sound that comes from the speaker every few seconds

Other than that ... The kernel is great and fast and I love it ...

I hope I have helped and I'm sorry I'm new to all of this and I'm trying to learn as much as I can ... I hope I don't bother you with my questions and reports

Is the speaker bug present with xdandroid kernels?
Wi-fi worked with V9,so something is wrong build side..
3rd December 2011, 12:54 PM |#6  
izzyk's Avatar
Member
Flag Cairo
Thanks Meter: 10
 
More
I dunno about the Xdandroid kernel as I have never used it ... I just downloaded the files and over wrote them on a Turbo kernel and changed the start-up file to yours ...

The speaker just does a sound close to the one when u put ur phone next to the speakers like it was said ... but it's coming from the speaker of the phone itself ...

Well, I'm gonna wait for Jerrytan's new EXT3 Rom ... hopefully this week and I'll further test your kernel and give u more feedback ... thanks for your efforts
3rd December 2011, 01:39 PM |#7  
Junior Member
Thanks Meter: 8
 
More
I've never used xdandroid kernels too. But the speaker sound is messy only in V10, in my case V9 was fine in this matter.

And I forgot to mention that the phone speaker is always on...
The Following User Says Thank You to frybend For This Useful Post: [ View ] Gift frybend Ad-Free
3rd December 2011, 01:47 PM |#8  
Senior Member
Thanks Meter: 5
 
More
WOW!!!Tnx dear Midnight for this awesome release.........
I'll replace it with V9 ASAP
and one question.....randomly,when I press my X1's power button to check the clock or sth,My device screen get back and it dies,I forced to reset my device by pressing the reset key to make this issue solved..........
Is it solved in this Kernel??
3rd December 2011, 02:09 PM |#9  
helicopter88's Avatar
OP Inactive Recognized Developer
Thanks Meter: 3,974
 
More
Quote:
Originally Posted by reza3310

WOW!!!Tnx dear Midnight for this awesome release.........
I'll replace it with V9 ASAP
and one question.....randomly,when I press my X1's power button to check the clock or sth,My device screen get back and it dies,I forced to reset my device by pressing the reset key to make this issue solved..........
Is it solved in this Kernel??

I've not seen any SODs recently..
The Following 2 Users Say Thank You to helicopter88 For This Useful Post: [ View ] Gift helicopter88 Ad-Free
3rd December 2011, 03:16 PM |#10  
Junior Member
Thanks Meter: 8
 
More
I don't know if this helps, but:

The sound is active when data connection (EDGE/GPRS) is used. It stops right after a phone call and the speaker is off for a while. But it starts again after a while, maybe 2-3 minutes and the speaker is on again.

I don't know if this is kernel related, but i can't recieve mms messages. The truth is, that I didn't test this with other kernels cause I don't usually use MMS.
The Following User Says Thank You to frybend For This Useful Post: [ View ] Gift frybend Ad-Free
4th December 2011, 02:56 AM |#11  
izzyk's Avatar
Member
Flag Cairo
Thanks Meter: 10
 
More
I've also tried V9 ... the hizzing sound is less frequent but it's always on when I'm using internet mobile as mentioned before ... V9 is very fast and stable. with an EXT3 rom it was working amazing ... I think it uses a bit more battery than the Turbo kernel but with the option to charge from Android itself ... I don't mind that as I mostly carry a charger around if I'm going out for long ...

also, there's a second of black screen after you press the power button ... the hizzing sounds stops once the screen is off ...

The other only problem I see so far the battery meter but u are already working on that in V10 ... Thanks so much for the great efforts
Post Reply Subscribe to Thread

Tags
2.6.27, android, bundle, kernel, linux

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes