Jump to content

build Kernel


Guest Mahmoud Wafik

Recommended Posts

Guest Mahmoud Wafik
Posted

Hi all

I Have Huawei U8100

I have a problem with it

i have a stock kernel from the Company but i can't flash it

how to build it to flash it

i wanna to hard flash to phone

delete old files and add new one

the link of kernel

http://www.huaweidevice.com/tcpsdownload/d...8120-Eclair.zip

please help the way to build img to install on my phone

and how to change all files on phone by this kernel

i have aback ground of recovery and root

thank you

Posted (edited)
Hi all

I Have Huawei U8100

I have a problem with it

i have a stock kernel from the Company but i can't flash it

how to build it to flash it

i wanna to hard flash to phone

delete old files and add new one

the link of kernel

http://www.huaweidevice.com/tcpsdownload/d...8120-Eclair.zip

please help the way to build img to install on my phone

and how to change all files on phone by this kernel

i have aback ground of recovery and root

thank you

To compile the kernel on linux follow these steps:

1. Download Android ndk from here

2. Extract above archive to your home directory

3. Extract kernel folder from within the archive you posted.

4. export the environmental var CROSS_COMPILE like so:

export CROSS_COMPILE=~/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-

5. Get your hands on a config for that kernel.if you are running the same kernel version on your phone you can simple extract the one from /proc/config.gz using adb or similar.

6. If you want to make any changes use your favorite config configuration tool:

[From root of kernel source]

make ARCH=arm menuconfig

7.Then build the kernel:

[From root of kernel source]

make ARCH=arm

8. Follow instructions here to repack a boot.img ( from a nandroid backup or similar )

try using:

mkbootimg --cmdline 'mem=128M console=ttyMSM2,115200n8 androidboot.hardware=qcom console=ttyUSBCONSOLE0 androidboot.console=ttyUSBCONSOLE0' --kernel boot-kernel.gz --ramdisk ramdisk-repack.cpio.gz --output newboot.img

to repack, where boot-kernel.gz is your zImage in $kernel_src/arch/arm/boot after compilation.

9. flash using fastboot flash boot newboot.img

I'm not too sure about the "fuse" source - looks like you need autotools but there is no no configure.in ...

P.S I haven't got this working yet but it will get you started ;D

Edited by WillyS
Guest Mahmoud Wafik
Posted

thank you for fast reply

i'll try it

and then post reply

thank you

Guest Mahmoud Wafik
Posted

if that not hard for you

can u do it for me

thank you

Posted

Unless you are are making changes to the kernel/config there isn't really much point of recompiling it - it will be exactly the same.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.