5,595,428 Members 47,921 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
raolleel
Old
#11  
raolleel's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 121
Join Date: Nov 2008
Location: Münster

 
DONATE TO ME
Quote:
Originally Posted by jimbo77 View Post
I tried Booting the B125 img, I'm on B118CN however the link for it leads to a 1.2MB file so based on previous kernel building experience I think the size is not right for a boot.img

Anyways, I tried with

Code:
fastboot boot boot.img
And failed to boot, the output was:

Code:
downloading 'boot.img'...
OKAY [  0.233s]
booting...
FAILED (remote: invalid command)
finished. total time: 0.236s
I didn't want to flash it straight to the phone, might give it a try to build a test kernel later on today and see how it goes as well.

Regards,

Jimbo

Oh looks like androidfilehost is a ****ty hoster ^^

all boot.imgs are about 5MB
 
jimbo77
Old
#12  
jimbo77's Avatar
Recognized Contributor
Thanks Meter 2116
Posts: 1,428
Join Date: Nov 2010
Location: Guatemala

 
DONATE TO ME
Yeap, the only one with a smaller size is the 118CN llink the other files are fine. Do you think it will make any difference to flash it to the phone (Using fastboot flash boot boot.img) instead of trying booting it from fastboot?
If want to support my work just click HERE

Current Model: Huawei Ascend P6 - [ROM] B118 CN [KERNEL] Stock

Creator of:
 
raolleel
Old
#13  
raolleel's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 121
Join Date: Nov 2008
Location: Münster

 
DONATE TO ME
I uploaded all files to my Dropbox .. links are changed

It should work .. at least I hope it does

Its a testing-build .. and Huawei did many things with there source, which are ... not really intelligent ^^

Also the procedure to include the Kernel (zImage) to boot.img is untested, but I hope it will work
The Following User Says Thank You to raolleel For This Useful Post: [ Click to Expand ]
 
jimbo77
Old
#14  
jimbo77's Avatar
Recognized Contributor
Thanks Meter 2116
Posts: 1,428
Join Date: Nov 2010
Location: Guatemala

 
DONATE TO ME
Quote:
Originally Posted by raolleel View Post
I uploaded all files to my Dropbox .. links are changed

It should work .. at least I hope it does

Its a testing-build .. and Huawei did many things with there source, which are ... not really intelligent ^^

Also the procedure to include the Kernel (zImage) to boot.img is untested, but I hope it will work
Check your PM, i've sent you something we can try. Based on my experience with the S3, there was a script to generate the boot.img from within the phone using the existing ramdisk and a new Zimage. We might give it a try, also have you tried decompiling stock boot.img and see the contents of the ramdisk?
If want to support my work just click HERE

Current Model: Huawei Ascend P6 - [ROM] B118 CN [KERNEL] Stock

Creator of:
 
raolleel
Old
#15  
raolleel's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 121
Join Date: Nov 2008
Location: Münster

 
DONATE TO ME
Quote:
Originally Posted by jimbo77 View Post
Check your PM, i've sent you something we can try. Based on my experience with the S3, there was a script to generate the boot.img from within the phone using the existing ramdisk and a new Zimage. We might give it a try, also have you tried decompiling stock boot.img and see the contents of the ramdisk?

I extracted the Boot.img out of the three roms, unpacked it, and simply repacked it with the new zImage

.. But also, I can't work on my phone at this moment, its in repair .. (screen is not working like it should)
 
jimbo77
Old
#16  
jimbo77's Avatar
Recognized Contributor
Thanks Meter 2116
Posts: 1,428
Join Date: Nov 2010
Location: Guatemala

 
DONATE TO ME
It works... I finally decided to use fastboot flash boot and it booted. Also the procedure I sent you via PM works too... I'll send you the zip file I used, probably it's a more user friendly way to update a kernel.

This is great, I'll soon start a kernel test as well. Been itching since I builded kernels for the 2011 Sony phones.

Good work!

Sent from my P6-U06 using Tapatalk
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1388850823362.jpg
Views:	293
Size:	74.6 KB
ID:	2493807  
If want to support my work just click HERE

Current Model: Huawei Ascend P6 - [ROM] B118 CN [KERNEL] Stock

Creator of:
The Following 2 Users Say Thank You to jimbo77 For This Useful Post: [ Click to Expand ]
 
raolleel
Old
#17  
raolleel's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 121
Join Date: Nov 2008
Location: Münster

 
DONATE TO ME
Cool .. that sounds nice .. then I can open a Tread in Orginal Android developing ^^
 
raolleel
Old
#18  
raolleel's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 121
Join Date: Nov 2008
Location: Münster

 
DONATE TO ME
Again I am a little bit confused ..

the kernel-source of huawei has MHL-Support enabled by default ...

I thought the P6 doesn't have an MHL-option
If you like my work buy me some sweets ^^ ... I don't like coffee

Huawei Ascend P6 - OmniROM 4.4.2
HTC Evo 3D - CM10.2 4.3.1 3.0.101-MiRaGe

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes