FORUMS

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

CleanSlate Brings Fingerprint Scanner Mod to HTC One M9+

Work of XDA Recognized Developer tbalden, CleanSlate custom kernel for the HTC … more

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

[Q&A] Kernel-Building for Huawei Ascent P6

190 posts
Thanks Meter: 106
 
By raolleel, Senior Member on 3rd January 2014, 04:54 PM
Post Reply Subscribe to Thread Email Thread
16th May 2014, 04:31 AM |#21  
Hotfingers's Avatar
Senior Member
Flag Roodepoort
Thanks Meter: 135
 
More
Hi all,

I'd like to build the kernel, but I'm not winning.

I'm new to this kind of development, and am looking for some advice on how to get going..

My first thing is -After setting up Ubuntu, and downloading the source, I and the toolchain and doing sudo get The TheWorld... I can't get it to compile.
(Some error about an unterminated string constant when I try the make command..)

The other thing is how yo get the ramdisk out of boot.img

Thanks

Sent from my HUAWEI P6-U06 using XDA Free mobile app
 
 
16th May 2014, 11:34 AM |#22  
surdu_petru's Avatar
Recognized Contributor
Flag Paris
Thanks Meter: 8,812
 
Donate to Me
More
Quote:
Originally Posted by Hotfingers

Hi all,

I'd like to build the kernel, but I'm not winning.

I'm new to this kind of development, and am looking for some advice on how to get going..

My first thing is -After setting up Ubuntu, and downloading the source, I and the toolchain and doing sudo get The TheWorld... I can't get it to compile.
(Some error about an unterminated string constant when I try the make command..)

The other thing is how yo get the ramdisk out of boot.img

Thanks

Sent from my HUAWEI P6-U06 using XDA Free mobile app

Hi!

First , you shouldn't use sudo when you want to build kernel .

You can unpack repack boot.img with a tool by @dsixda

Good luck!

Edit :

If you can post here your build error, maybe I can help you more ...
Last edited by surdu_petru; 16th May 2014 at 03:49 PM.
The Following User Says Thank You to surdu_petru For This Useful Post: [ View ]
23rd June 2014, 03:09 PM |#23  
Hotfingers's Avatar
Senior Member
Flag Roodepoort
Thanks Meter: 135
 
More
trouble with toolchain
Hi all, me again.

Sorry that I'm slow, but I don't get too much time to play with android stuff.
I've got everything set up now (as described in the 1st post), but I get an error in the toolchain when I try to run

Quote:

make clean && make mrproper

I have already run this bit of code to set all the variables correclty...
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/media/david/Android_Dev_Data/android/kernel/toolchains/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-

export PATH=$PATH:/media/david/Android_Dev_Data/android/kernel/toolchains/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-

So now I get this error below (something about an Unterminated quoted string in "arm-linux-androideabi-gcc"...
Code:
/media/david/Android_Dev_Data/android/kernel/toolchains/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 4: /media/david/Android_Dev_Data/android/kernel/toolchains/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: Syntax error: Unterminated quoted string
Building with KERNELRELEASE = 3.0.8
  CLEAN   .tmp_versions
/media/david/Android_Dev_Data/android/kernel/toolchains/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 4: /media/david/Android_Dev_Data/android/kernel/toolchains/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: Syntax error: Unterminated quoted string
Building with KERNELRELEASE = 3.0.8
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   scripts
  CLEAN   include/config include/generated arch/arm/include/generated
  CLEAN   .config .config.old include/linux/version.h
Does anyone have any idea what I've done wrong..?

Thanks,
Hotfingers
24th June 2014, 08:57 AM |#24  
Hotfingers's Avatar
Senior Member
Flag Roodepoort
Thanks Meter: 135
 
More
Maaybe we can get a new kernel
Hi all,

Can some-one try applying a patch from https://www.kernel.org/pub/linux/kernel/v3.0/incr/ to our 3.0.8 kernel?
I wanted to do this, but I can't even get the kernel to compile.

My friend has a Samsung, and for his phone all kernels 3.0.x have the same ramdisk. So maybe we can even get 3.0.101 kernel by just applying patches to the 3.0.8 code that was released by Huawei..?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes