Huawei P8 Custom Kernel development (B161 & Source) - Huawei P8 Guides, News, & Discussion

Hey P8 owners,
This is the thread that is only about developing a Custom Kernel for the Huawei P8.
I managed to get these files : Kernel Source of B161, Firmware B161. I then extracted the firmware, and got all available .img files.
These files are available : Here
What we need now : someone who can make a custom kernel
Ciuffy and I were searching for these files, we finally found them (Thanks to ROM-HUAWEI), so I hope we can finally begin developing custom kernels.

goodevening XDA and friends
these days overclocking my super pc gaming
Now I'm writing with a laptop
in the next days I'll be there
by

lello22 said:
goodevening XDA and friends
these days overclocking my super pc gaming
Now I'm writing with a laptop
in the next days I'll be there
by
Click to expand...
Click to collapse
You will help us make custom kernel?
Sent from my HUAWEI GRA-L09 using XDA Free mobile app

Related

[Q] Porting ROMS

Can someone teach me how to port roms starting from the very basic ? I tried porting miui from nexus s using cm7 as base and using http://forum.xda-developers.com/showthread.php?t=1598713 but failed . Can anyone out there who knows how to port roms teach me ?
None of the tutorial will help u in porting roms but you'll only get some idea about handling libs and modules.
You have to use your brain to port roms...
But i'm no developer , i dont know a single thing about development. How do i use my brain then, omr911
?
Sent from my LG-P970 using xda premium
I dont know
zyfkurmom said:
But i'm no developer , i dont know a single thing about development. How do i use my brain then, omr911
?
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
Adb logcat helps a lot
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
I know C#, can it help for porting roms or only knowledge of Java can help?
omr911 said:
I dont know
Click to expand...
Click to collapse
you're a great developer , you and your team ported ics to our ob . can you teach me things you know ?
Jonny said:
Adb logcat helps a lot
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Click to expand...
Click to collapse
the problem is , i know nothing , i dont even know what the logcat is used for
zyfkurmom said:
the problem is , i know nothing , i dont even know what the logcat is used for
Click to expand...
Click to collapse
Logcat is used to detect errors in your rom. For example: you compiled a rom but it wont boot, you use logcat and find the bug and solve the problem hope ive helped
Guyzzzz i need help in removing errors or bugs.
i know porting and i had already ported roms..
Dey r partially wrking...
So can u help me in debugging/?
I would like to help you but im kinda noob in developement, however i cn help with simple things feel free to ask anythin` ill help with all i cn
Bro i just want ntwrk working remaining i will do...
plzz help me in Fixing ntwrk.
i m getting unknown imei and unknown baseband.
Sent from my Micromax A60 using XDA
I don't know either but I'm in a similar situation as you. I can share my thoughts and the answer I gave myself to this question.
My current objective is to help LG optimus black ICS porting. What I've done so far is:
a) download and compile ice cream sandwich.
b) download cm7, I'm willing to compile and try it on my device. Starting on something that works will surely help learning.
at this point I'm going to study a little bit the CM7 code in order to get familiar with the files needed to port a rom. I'll try to apply my edits and attempt to solve bugs for cm7. After gaining confidence with the process I'll move to the porting ICS rom.
I want to give you some advice, you need to get familiar with the set of tools and the terminology that developers use:
1) learn to use Ubuntu Linux, it will greatly simplify development. Plus there is a lot of similarities with android, you will find that there are similar configuration files that you can edit in both systems
2) learn to code in some language (at least the basics). In this context (rom porting) I believe that the most useful language is C. But Java would be necessary.
3) learn to use version control (the git program) because it's what most developers use to share code in an easy manner. Remember, a developer(hacker) reads A LOT of code.
That said, it's a big investment in time, but I believe it will help you in life to know this stuff.
Ok if means its not easy as i thought..
And if u r also starting from beginning means with installing Linux dan tell me.
We can both wrk together on different phones and share what. We have got..
If its ok den pm me wour gtalk, facebook id..
Sent from my Micromax A60 using XDA
gabriele.lanaro said:
I don't know either but I'm in a similar situation as you. I can share my thoughts and the answer I gave myself to this question.
My current objective is to help LG optimus black ICS porting. What I've done so far is:
a) download and compile ice cream sandwich.
b) download cm7, I'm willing to compile and try it on my device. Starting on something that works will surely help learning.
at this point I'm going to study a little bit the CM7 code in order to get familiar with the files needed to port a rom. I'll try to apply my edits and attempt to solve bugs for cm7. After gaining confidence with the process I'll move to the porting ICS rom.
I want to give you some advice, you need to get familiar with the set of tools and the terminology that developers use:
1) learn to use Ubuntu Linux, it will greatly simplify development. Plus there is a lot of similarities with android, you will find that there are similar configuration files that you can edit in both systems
2) learn to code in some language (at least the basics). In this context (rom porting) I believe that the most useful language is C. But Java would be necessary.
3) learn to use version control (the git program) because it's what most developers use to share code in an easy manner. Remember, a developer(hacker) reads A LOT of code.
That said, it's a big investment in time, but I believe it will help you in life to know this stuff.
Click to expand...
Click to collapse
We already have ics
Sent from my LG-P970 using xda premium
kaassaus said:
We already have ics
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
Without:
Audio
WiFi
Camera
Can't mount SD on PC
GSM/SMS is working in some countries only + no voice
---------- Post added 4th May 2012 at 12:09 AM ---------- Previous post was 3rd May 2012 at 11:44 PM ----------
Eklovya said:
Ok if means its not easy as i thought..
And if u r also starting from beginning means with installing Linux dan tell me.
We can both wrk together on different phones and share what. We have got..
If its ok den pm me wour gtalk, facebook id..
Sent from my Micromax A60 using XDA
Click to expand...
Click to collapse
I'm a long time linux user I just told you what I employed in order to build android from source (and read some code in the way).
I wanted to inform you in some degree what you need (probably) to work with rom porting. What I've seen is that the entry-level for helping is quite high, plus there aren't many resources to study on, so you may need to start without rushing.
http://www.youtube.com/watch?v=H_ReU-0w4IE
This video is about compiling and covers many steps (in a superficial way, though):
installing ubuntu linux, downloading the source code (with a version control tool) and building the source.
Try hacking your way!
Anyone tried to fix bugs on ics ??
Working as a team is better...just saying
But we don't have any source code...
But we need a custom oc/ov kernel.
For cm7.
Is der any way we can get kernel
Sent from my Micromax A60 using XDA
Eklovya said:
But we don't have any source code...
But we need a custom oc/ov kernel.
For cm7.
Is der any way we can get kernel
Sent from my Micromax A60 using XDA
Click to expand...
Click to collapse
You could ask devs that are compiling kernels.
Bro i don't have any access to such dev..
Do u know any1???
Sent from my Micromax A60 using XDA

v30c Kernel Compiled with Linaro

Hi Guys,
I have managed to compile our ICS kernel with Linaro 4.7 and make it bootable after too much trouble.....
The kernel is compiled with o3 optimization
Toolchain used from made by Christopher83
http://forum.xda-developers.com/showthread.php?t=2098133
The kernel is tested with Nooby's v30b repack....
The kernel is build from original source i.e it has the first LED not working issue during Boot....
I would like to hear if there's any improvements or its just the same....
It was learning experience for me build a kernel .....
I do not guarantee of providing timely improvements or etc
I do not have a github etc...
can someone help me with that....i want to start it from zero ....with original source and will put patches on it...
I am attaching the patch as a zip file,..is a normal zip file with all the code necessary to compile the kernel with linaro,,,
it also has code of rmcc patch
O3 and linaro equals hard to debug bugs and no performance improvements.
Can you make one kernel for ligux rom?
Enviado desde mi Optimus Black
dflt said:
O3 and linaro equals hard to debug bugs and no performance improvements.
Click to expand...
Click to collapse
The O3 flag would not give much improvement over the O2 flag as the optimizations that are brought in are only applicable in a few places and the kernel isn't that computation heavy. I still want to see a O2 and Os comparison, but I don't have time to waste on things like that these days.
As for different tool chains. I have seen a benchmark sometime ago with different kernels compiled with different toolchains. The difference was marginal and seemed to differ with kernels as well as toolchains (Some toolchains just like and dislike some kernels) . Overall Code Sourcery's toolchain did best on average I think.
Post a source, otherwise this thread will be closed. You can use my guide to learn how to do that.
eagleeyetom said:
Post a source, otherwise this thread will be closed. You can use my guide to learn how to do that.
Click to expand...
Click to collapse
I was actually waiting for user replies ..but it seems no one is using my kernel...
Also i am actually busy for some time....will be providing the source either in a zip or setup a git by following your guide
AW: v30c Kernel Compiled with Linaro
eagleeyetom said:
Post a source, otherwise this thread will be closed. You can use my guide to learn how to do that.
Click to expand...
Click to collapse
Just give him some time it's always hard, when you are new to a subject... and hey, if you provide some benchmarks and further improvements, why should noone wanna use it?
Sent from my LG-P970 using xda app-developers app
Hi guys i have provided the patch to compile kernel with linaro in my OP....
regarding performance i didn't observe anything...
2days ago i officially updated my phone from 2.2 to 4.0 v30c because i wanted all my apps preserved.....
and today i experience sdcard unmount....i didnt experience it with my kernel and nooby v30b repack...maybe because i had i freshly installed...not sure....
i have not yet tried my kernel with v30c....because i have yet to patch the bootlaoader and install cwm...as per another threads to do this,,,maybe i will plan to
do this this weekend,,,,
Oh ...i got my phone reset when did reboot in recovery without any recovery with anreboot...and lost all my phone data....all efforts gone to wain...now i have to root and install apps again
Also my ICS version show 30C-SEA and i am from India...
I flashed official v30c and experienc ed sd card unmount. ..then installed v30b unlocked loader ...then installed my kernel and have been testing it....no sd unmount and also frontkey leds works according to settings done.....
Those who still have unmount problem can try my kernel in OP if you are using v20 bootloader. ..and those who use unlocked v30 unlocked bootloader dont use the Kernel attached in OP otherwise bootloop..just reply to me and I will attach the new one....
Sent from my LG-P970 using xda app-developers app
Have some view in attached file but no feedback
Thanks for your work, but I think everybody here need a optimize kernel, because, you know, the stock kernel isn't enough good
no14me said:
Have some view in attached file but no feedback
Click to expand...
Click to collapse
What u want to say???
no14me said:
Thanks for your work, but I think everybody here need a optimize kernel, because, you know, the stock kernel isn't enough good
Click to expand...
Click to collapse
I don't think there's any kernel fully optimized yet..
I asked only for those who get sd unmount to try my kernel. ..no one is forced to use it....
Sent from my LG-P970 using xda app-developers app
rajeshmk2012 said:
What u want to say???
I don't think there's any kernel fully optimized yet..
I asked only for those who get sd unmount to try my kernel. ..no one is forced to use it....
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Just give a try with French v30C's kernel. They fixed ondemand gov. and there isn't any sd unmounting. I'm using it since it went out and hadn't any problems.
Enviado desde mi LG-P970 usando Tapatalk 2
rajeshmk2012 said:
What u want to say???
I don't think there's any kernel fully optimized yet..
I asked only for those who get sd unmount to try my kernel. ..no one is forced to use it....
Click to expand...
Click to collapse
I see a attached file have some download, but no one give the feedback that with your kernel is the sd fixed or not. Because I don't have that issue.
About the optimization, just is my suggestion
diazao said:
Just give a try with French v30C's kernel. They fixed ondemand gov. and there isn't any sd unmounting. I'm using it since it went out and hadn't any problems.
Click to expand...
Click to collapse
+1.
I just got sd unmount with my kernel after a week's use....
I will wait for v30d sources
Sent from my LG-P970 using xda app-developers app
Hi,
wer can i find the Adagio Kernel? the link in the first post seem to doesn't work
thanks
I dont want to interrupt your hard work but look here, may find something interesting (google translator needed) :-
http://lg-p970-shuajibao.shuajizhijia.net/
There are monthly updated ROMs and Kernels, you might be interested in.
Due to very little internet package I cant test them. If you find any ROM/Kernel useful please inform us all.

Kernel source code for Ascend P-7

Hello folks, now you can find the kernel source code for the huawei Ascend P-7 EMUI here, http://emui.huawei.com/plugin.php?id=hwdownload&mod=detail&mid=71. However I have not tried yet !!!! I only provide the information.
Is this better kernel than we used
So now many custom roms vl be coming to Ascend P7. Thats an exciting news
That is right
With the opening of this Kernel we hope to see many Developers cooking a good custom Rom for these powerful devices. Let's prepare a beer for them !!!
>That is right
would that means you verified it's a complete one?
Does this mean that an official cyanogenmod port will be possible for this phone? I bought my P7 because I had a good deal, but I was disappointed when I saw that there is no CM (yet)
manfreed said:
Does this mean that an official cyanogenmod port will be possible for this phone? I bought my P7 because I had a good deal, but I was disappointed when I saw that there is no CM (yet)
Click to expand...
Click to collapse
Hi mate, our friend @surdu_petru is on his effort to build the CM ROM for our device. It might be taking some time to see the beta version released but there are many other custom roms you can try as for the time being. Just get yourself to read more and try. Good Luck!
Sent from my HUAWEI P7-L10 using XDA Free mobile app
amruhaidy said:
Hi mate, our friend @surdu_petru is on his effort to build the CM ROM for our device. It might be taking some time to see the beta version released but there are many other custom roms you can try as for the time being. Just get yourself to read more and try. Good Luck!
Sent from my HUAWEI P7-L10 using XDA Free mobile app
Click to expand...
Click to collapse
Hi! Wow, this is great news! I just saw the thread, I was aware that it's not an easy task to port CM or any custom ROM to a new device, but I didn't realize that it's still not a piece of cake even if we have the kernel source. I used to have nexus devices. What a difference.

[Mod]-[Custom]Kali Nethunter 1.21

Hey hii all, how are you .. This is a thread dedicated to Kali linux Nethunter which is available for our Nexus 5 .. Thanks to offensive security for providing kali linux for our phons ..
Download - https://www.offensive-security.com/kali-linux-nethunter-download/
So after flashing latest Nethunter image on most roms, nethunter tend to break all roms, so i found a workaround here that will work on any rom, and you will be able to use that with no problems ...Thanks to @DragonHunt3r for providing such a great workaround and an equally great pwnkernel
Open up the NetHunter zip, and go to META-INF/com/google/android/updater-script
Go to line 101 or where "package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");"
Remove that line and save the zip and flash it, and after that flash PwnKernel
Any questions and discussions ..please feel free to use this thread ..
To moderators - if you find that this thread is of no use so feel free to remove it
Sent from my Nexus 5 using Tapatalk
tusshar.gaba said:
Hey hii all, how are you .. This is a thread dedicated to Kali linux Nethunter which is available for our Nexus 5 .. Thanks to offensive security for providing kali linux for our phons ..
Download - https://www.offensive-security.com/kali-linux-nethunter-download/
Any questions and discussions ..please feel free to use this thread ..
To moderators - if you find that this thread is of no use so feel free to remove it
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
What kind of mod is this?
Sent from Mars
It works pretty well, although battery drain is huge at least using Alfa AWUS036H
OptimusVDarwin said:
What kind of mod is this?
Sent from Mars
Click to expand...
Click to collapse
It changes kernel and adds some apps for wifi penetration testing, such as wifite
I m having problem with using nethunter on my Nexus 5 currently ..actually i cant make it work ..tried flashing over Euphoria rom, paranoid rom, even stock lollipop lrx210 (5.0) rom ..but after flashing the nethunter 1.2.1 lollipop version ..it broke all roms ..everything crashed ..so unable to use rom..i tried this on multirom..so i thought that might be the issue of multirom ...so i erased my phone completely ..after that flashed full stock 5.0 rom, rooted the device ,installed busybox then flashed nethunter ..again everything crashed ...even on euphoria and pa rom ....what else i can try ?? Everybody is using lollipop version with no problem ..but why my device isn't supporting it or maybe nethunter is bugged .. please someone help me
Sent from my Nexus 5 using Tapatalk
tusshar.gaba said:
I m having problem with using nethunter on my Nexus 5 currently ..actually i cant make it work ..tried flashing over Euphoria rom, paranoid rom, even stock lollipop lrx210 (5.0) rom ..but after flashing the nethunter 1.2.1 lollipop version ..it broke all roms ..everything crashed ..so unable to use rom..i tried this on multirom..so i thought that might be the issue of multirom ...so i erased my phone completely ..after that flashed full stock 5.0 rom, rooted the device ,installed busybox then flashed nethunter ..again everything crashed ...even on euphoria and pa rom ....what else i can try ?? Everybody is using lollipop version with no problem ..but why my device isn't supporting it or maybe nethunter is bugged .. please someone help me
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Everything solved ...check my first post thanks @DragonHunt3r
Sent from my Nexus 5 using Tapatalk
I deleted the line as stated in post 1
I had deleted the line as instructed, but now that I have been trying to flash it with TWRP, it reads as failed or unable. Any idea or clarity on the issue.
Sent from my Nexus 5 using XDA Free mobile app

Request for a Kernal[version:3.2.x]

Respected developers
I have installed Kali Linux in my android easily using some apps . It runs perfectly in my stock jb with root access and busybox I tried to install reaver and it installed perfectly and needed aircrack-ng so I used
apt-get install aircrack-ng it gives an error saying that it requires a kernal of 3.2+ so if make me or just send me the link of the kernal I will be seriously happy
Thank You[emoji2]
Sent from my GT-I9070 using XDA-Developers mobile app
sanathxda said:
Respected developers
I have installed Kali Linux in my android easily using some apps . It runs perfectly in my stock jb with root access and busybox I tried to install reaver and it installed perfectly and needed aircrack-ng so I used
apt-get install aircrack-ng it gives an error saying that it requires a kernal of 3.2+ so if make me or just send me the link of the kernal I will be seriously happy
Thank You[emoji2]
Sent from my GT-I9070 using XDA-Developers mobile app
Click to expand...
Click to collapse
you can use cocore `s custom kernel
HERE SEE THIS THREAD FOR MORE INFO
DaksAnkit said:
you can use cocore `s custom kernel
HERE SEE THIS THREAD FOR MORE INFO
Click to expand...
Click to collapse
He said 3.2 kernel and this is 3.0 kernel
madkita said:
He said 3.2 kernel and this is 3.0 kernel
Click to expand...
Click to collapse
In that case my bad , i thought it might have been updated . [emoji57]
Sent by using XDA-developers premium mobile app
First, is written "kernel" no "kernal"
Second, Samsung provides by default the kernel 3.0.31 (Team Canjica updated to 3.0.101) is possible upgrade to 3.1 but there is no dev willing to continue the project
We should have by default the kernel 3.4 (The original sources of STE tells us that our version is 3.4)
I think it should be grateful for what has

Categories

Resources