Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
doixanh
Old
(Last edited by doixanh; 3rd May 2011 at 07:53 PM.)
#1  
Recognized Developer - OP
Thanks Meter 4712
Posts: 1,247
Join Date: Jan 2011

 
DONATE TO ME
Default [Module] X8Kconfig - Extract kernel config from running kernel | v001 | 02-05-11

This module is not for end-users. It's only valuable for kernel developers.

Intro
I wrote this module for the purpose of extracting kernel config from our running kernel 2.6.29 in my X8 (an educational purpose).

Instruction
Everyone who wants to try:
  • Download the module below (only for X8 with latest kernel + baseband 015)
  • Extract
  • Push to /system/lib/modules
  • From adb shell
    Code:
    insmod /system/lib/modules/x8kconfig.ko
    gunzip -c /proc/config.gz > /mnt/sdcard/x8config.txt
  • Mount USB, open x8config.txt from your sdcard with wordpad
  • You will see these in some first line:
    Quote:
    #
    # Automatically generated make config: don't edit
    # Linux kernel version: 2.6.29
    # Tue Jan 18 23:38:24 2011
    #

Source was pushed to github: https://github.com/doixanh/X8Features

Licence violation will be discussed later
Attached Files
File Type: zip x8kconfig.zip - [Click for QR Code] (1.4 KB, 526 views)
IScreamDX v004 | GingerDX v028 | GingerDX v015 for GT-I9000 | LinuxDX v004 | FroyoBread v023b FINAL | X8Gesture v007
X8Overclock v004 | X8Undervolt v001 | X8MDDI v001 | X8Kconfig v001 | X8Netfilter dev | FroyoBeam dev | X10MPMultitouch

shakira/gdx31stock - best experience ever | galaxysmtd/slimbean | p1/cm | anzu/slimbean | maguro/slimbean
The Following 11 Users Say Thank You to doixanh For This Useful Post: [ Click to Expand ]
 
skyboyextreme
Old
(Last edited by af974; 3rd May 2011 at 08:27 PM.)
#2  
skyboyextreme's Avatar
Senior Member
Thanks Meter 152
Posts: 1,089
Join Date: Feb 2011
Location: Cairo
SE is treating it's end users like s*it as we all can see....
The Following 2 Users Say Thank You to skyboyextreme For This Useful Post: [ Click to Expand ]
 
XperianPro
Old
#3  
XperianPro's Avatar
Senior Member
Thanks Meter 637
Posts: 1,903
Join Date: Nov 2010
Location: Mars

 
DONATE TO ME
This will pass,only we need to spread the news.

News:Sony is hiding latest open source kernel,does sony afraid or newest source can unlock bootloader.
Because of user rights when qouastion will asked we can only guess whay they will say nothing or they can go to jail.

Sent from my X8 using XDA Premium App
XPERIA FAN
Xperia X8 (slow phone but good) > Xperia Live with Walkman (fastest but bad screen) > Xperia U (smooth as butter)
 
asn-mat
Old
#4  
Member
Thanks Meter 0
Posts: 42
Join Date: Nov 2010
Why don't you take the boot.img from the latest se rom and extract it so you can get the origenal kernel ..
then build a costom one debending on it
 
Graveir
Old
#5  
Senior Member
Thanks Meter 227
Posts: 703
Join Date: Jan 2011
Location: Łódź
That's insane... I've just forwarded it to Polish android board, everyone should know this.
| White X8 | FroyoBread ROM | OC 768 MHz | CRT animation & other features |
| alfsamsung's theme | GO Launcher Ex | Gre home theme | Droid Sans Font |
| GO SMS pro | GO weather widget |
| doixanh FTW! |
 
speedi57
Old
#6  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Sep 2009
me using your module I obtain it:
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29
# Sun Jan 30 20:24:17 2011
#
 
aldee_s
Old
#7  
aldee_s's Avatar
Senior Member
Thanks Meter 56
Posts: 358
Join Date: Mar 2011
Location: Serang

 
DONATE TO ME
hmm, why cant we use the older kernel to unlock the bootloader?
just asking.
Damn you Sony Ericsson, giving us ****ty phone with such little RAM. Your marketing strategy really sucks you know.

 
Graveir
Old
#8  
Senior Member
Thanks Meter 227
Posts: 703
Join Date: Jan 2011
Location: Łódź
doixanh, are you going to contact http://gpl-violations.org/ those guys?
| White X8 | FroyoBread ROM | OC 768 MHz | CRT animation & other features |
| alfsamsung's theme | GO Launcher Ex | Gre home theme | Droid Sans Font |
| GO SMS pro | GO weather widget |
| doixanh FTW! |
 
sonty
Old
#9  
Member
Thanks Meter 40
Posts: 32
Join Date: Dec 2010
does the kernel tree compile with the config extracted from the device?

I think the different build dates are not really a good proof that the published archive is not the real one because they probably did multiple builds with different configs. I know that when I tried compiling kconfig support into the previous kernel/baseband it turned out to be useless and had a bunch of undefined config flags compared to the published kernel tree.
 
oisteink
Old
(Last edited by oisteink; 3rd May 2011 at 07:11 AM.)
#10  
Senior Member
Thanks Meter 17
Posts: 124
Join Date: Jan 2011
Location: Oslo
Because the configuration is newer you assume changes to source? That's pretty far fetched... Releasing updates on this big scale you don't do last minute changes to code... Gpl said release changes to code. What code is missing / changed?

Sent from my E15i using XDA Premium App
I am a fruit ninja!

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

Advanced Search
Display Modes

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...