P10 & P10 Kernel Sources Now Available - Huawei P10 Plus Guides, News, & Discussion

As im sure some of you know Huawei have finally released the Kernel Sources for the P10 series enabling for much further development.
I would link the news source but apparently the XDA app does not want to lol.
Cheers

Here is http://consumer.huawei.com/en/opensource/detail/index.htm

Is it too difficult to build AOSP from this sources?

Its possible but not enough time ...

Because? The source relajease since June. I don't understand. It's very difficult built custom kernel and AOSP ROM?

Custom Kernel is not possible because there a bug that you cant took pictures with Huawei Stock camera.
AOSP for huawei is an unofficial build so you need to search all needed files from stock and that is not
easy if you dont do that every day
And testing with reading logfiles need a lot of time too. You can try if you want.

Blackball said:
Custom Kernel is not possible because there a bug that you cant took pictures with Huawei Stock camera.
AOSP for huawei is an unofficial build so you need to search all needed files from stock and that is not
easy if you dont do that every day
And testing with reading logfiles need a lot of time too. You can try if you want.
Click to expand...
Click to collapse
Thank you by your answer. I don't know compile AOSP ROM. SORRY

Blackball said:
Custom Kernel is not possible because there a bug that you cant took pictures with Huawei Stock camera.
AOSP for huawei is an unofficial build so you need to search all needed files from stock and that is not
easy if you dont do that every day
And testing with reading logfiles need a lot of time too. You can try if you want.
Click to expand...
Click to collapse
can you tell exactly what changes to the kernel makes the camera stop working ? Because i am trying to compile kernel and make a few small changes like adding new governors just to have some fun. Will adding governors and other small mods make the camera not work ?
I am going to use the custom kernel on stock rom so the camera should work right ?

Related

MiUI sources public.. Possible to compile rom

Hello everybody,
some of you might know that the MIUI theme has opensourced it's code at https://github.com/MiCode. It seems that the 'PatchROM' repository contains code to build a MIUI rom? There also is a readme pdf in there but it's completele in Chinese..
Because our MIUI roms are based on an outdated build of CM7, I was wondering if one of our skilled developers could take a look in it..
MisterGT said:
Hello everybody,
some of you might know that the MIUI theme has opensourced it's code at https://github.com/MiCode. It seems that the 'PatchROM' repository contains code to build a MIUI rom? There also is a readme pdf in there but it's completele in Chinese..
Because our MIUI roms are based on an outdated build of CM7, I was wondering if one of our skilled developers could take a look in it..
Click to expand...
Click to collapse
only a couple apps are released for now
and that PatchROM is something nice with that you can "patch an update to a device" normally when you update you need to install a whole rom( ~100MB) with the patch sometimes a file that is most of the times couple MB
You still need to flash a whole ROM. It converts a normal ROM to one with the MIUI framework. I'm busy with it but it has some errors that need to be resolved first..
Sent from my Optimus 2X using XDA App

What about LiquidSmooth Rom ?

This is question for developers and porters.Why no one is porting new builds of liquidsmooth rom since it is for me best rom for our phone.I am still flashing old demetris build...
dimi89 said:
This is question for developers and porters.Why no one is porting new builds of liquidsmooth rom since it is for me best rom for our phone.I am still flashing old demetris build...
Click to expand...
Click to collapse
Sorry to ask for this, I know I should install and test for myself the rom,
But I just would like to know how is the battery life on this rom?
What about the power button? Does it work properly? Because I had this issue on android 4.3 based rom's.
And the camera? Clear images and sharper?
Thanks in advance!
Best Regards from Brazil
By the way, in my opinion android 4.2.2 is the most stable atm
Rafael Cardoso said:
Sorry to ask for this, I know I should install and test for myself the rom,
But I just would like to know how is the battery life on this rom?
What about the power button? Does it work properly? Because I had this issue on android 4.3 based rom's.
And the camera? Clear images and sharper?
Thanks in advance!
Best Regards from Brazil
By the way, in my opinion android 4.2.2 is the most stable atm
Click to expand...
Click to collapse
Build that we currently have ported by Demetris is 4.2.2 and for me it is the best custom rom out there.Camera and battery are great even with stock app and stock kernel.Alwayse switching between MIUI and LiquidSmooth.Flash it and test is for couple of days yourself and see if you are satisfied.
Greetings from Serbia
what bugs does it have?
Sent from my AOSP 4.3 Xperia S via Tapatalk
Ben36 said:
what bugs does it have?
Sent from my AOSP 4.3 Xperia S via Tapatalk
Click to expand...
Click to collapse
Test it or read the last few posts of the rom thread.
Not that hard, is it?
Sent from my 4X HD via XDA Premium
it's also not hard for the devs to just put them in the OP but they all seem scared to admit there are bugs on this forum
Sent from my AOSP 4.3 Xperia S via Tapatalk
dimi89 said:
Build that we currently have ported by Demetris is 4.2.2 and for me it is the best custom rom out there.Camera and battery are great even with stock app and stock kernel.Alwayse switching between MIUI and LiquidSmooth.Flash it and test is for couple of days yourself and see if you are satisfied.
Greetings from Serbia
Click to expand...
Click to collapse
@dimi89 Dimi! Thank you again! You have already answered me on another post, and again here, with the same education and niceness
Thanks, I flashed LiquidSmooth rom and until this moment, no problems at all.. everything ok with iodak kernel v8 10.1..
Greetings from Brazil
Ben36 said:
it's also not hard for the devs to just put them in the OP but they all seem scared to admit there are bugs on this forum
Sent from my AOSP 4.3 Xperia S via Tapatalk
Click to expand...
Click to collapse
It's even easier for YOU to test it yourself. Backup your current setup and flash it. Most of the mentioned bugs aren't even for everybody and it is actually quite hard for the devs to make a full list of bugs which occur for every single user.
If you don't agree with that it's your fault. The devs are doing an awesome job here and they do it because they want to.
Sent from my 4X HD via XDA Premium
In my honest opinion, bugs should be on the OP if they are known bugs. It's a matter of structure and information. But that's just me
From what I understood, carbon is a "fork" from Liquid and I think it's a compilation from source and not a port, right? If so, is it possible to compile Liquid from source as well ?
This question is for someone who knows or a developer
MidnightDevil said:
In my honest opinion, bugs should be on the OP if they are known bugs. It's a matter of structure and information. But that's just me
From what I understood, carbon is a "fork" from Liquid and I think it's a compilation from source and not a port, right? If so, is it possible to compile Liquid from source as well ?
This question is for someone who knows or a developer
Click to expand...
Click to collapse
They stated that Carbon rom doesnt have anything to do with liquid team.Also if you look at title on older liquid builds by demetris you will see it says "Official" so i think it is possible to compile from source.Asked demetris long time ago about liquid future for our phone but still no answer.
dimi89 said:
They stated that Carbon rom doesnt have anything to do with liquid team.Also if you look at title on older liquid builds by demetris you will see it says "Official" so i think it is possible to compile from source.Asked demetris long time ago about liquid future for our phone but still no answer.
Click to expand...
Click to collapse
No, they stated the following:
CarbonRom is an aftermarket firmware based on the Android Open Source Project. The team is composed of former members of Team Liquid who have forked the code in an attempt to bring greater speed, better coding, and full authorship to code. We are in no way affiliated with Liquid0624. The rom was forked at Liquid beta 3.2.1 and has since undergone major code changes and modifications.
Click to expand...
Click to collapse
They "forked" the code, although it was changed a LOT, a fork is a fork
Anyway, I'm gonna have a look later on see if Liquid can be compiled for our p880.
Thanks dimi :good:
MidnightDevil said:
No, they stated the following:
They "forked" the code, although it was changed a LOT, a fork is a fork
Anyway, I'm gonna have a look later on see if Liquid can be compiled for our p880.
Thanks dimi :good:
Click to expand...
Click to collapse
No,THANK you man Someone sayed that all 4.2 builds are much better then 4.3 roms builds and i agree on that.
Far as I understood the source is published.
Will see what I can do during the weekend
https://github.com/LiquidSmooth/android
And yeah, I agree, I'm pretty happy with CM10. 1.3. Although I do miss the privacy features from 4.3.
Mods can lock and delete this since demerits answered our prayers and ported new version.
Sent from my microwave.

[Q] How to port I9300 roms to I9305?

Hello , I'm very disappointed of the interest of the developpers for the LTE variant of the S3 so i wanted to port i9300 roms from myself , according to hardware , the only changes are the modem and the ram right ? So how could i port these roms ? From no specific knowings , i'd like to at least learn how to do it without big risks of brick so help please .
Thank you and sorry for english mistakes if i've done some.
aaz03 said:
Hello , I'm very disappointed of the interest of the developpers for the LTE variant of the S3 so i wanted to port i9300 roms from myself , according to hardware , the only changes are the modem and the ram right ? So how could i port these roms ? From no specific knowings , i'd like to at least learn how to do it without big risks of brick so help please .
Thank you and sorry for english mistakes if i've done some.
Click to expand...
Click to collapse
this is not a easy question for random guys like me with almost zero knowledge about developing, although on the other hand a developer could simply explain how its done by f.e. making a thread about porting roms specifically to our i9305 in noobs language (if possible) but i doubt that this will happen, as it is very much time consuming and a lot of thinking and typing work. personally i think a thread like this would bring some life into our i9305s threads, dont you think so..?
to get you already started with some learning and discovering for yourself, read further..
the best method for porting roms is IMO building from source, but this is not as easy as it sounds..
first you will need to set up a build environment. I assume youre using Windows OS, now if you got a 64 bit system this is exactly what you need.. fortunately for you and others there is a custom branch of the Ubuntu OS thanks to @sylentprofet to use with Oracles VB/VM (Virtual Box/Machine) already preconfigured for building or porting roms (both require building/developing experience though) all you need to do is download the source and commit, fork, cherry-pick etc. if you decide to step into the android development world, you will learn more step by step however having some basic knowledge like terminal commands and git commands would be useful.
Also you need to get familiar with github and how it is used, check out here
I recommend lots of research though before actually taking any actions!! all these things will make you feel :silly: at times, but do not give up! for there were is a will, theres a way
good luck :good:
Download builduntu v1.4 here
Download Oracles VB here
Guide-how to build rom from source (most recent one i guess)
MaHo_66 said:
this is not a easy question for random guys like me with almost zero knowledge about developing, although on the other hand a developer could simply explain how its done by f.e. making a thread about porting roms specifically to our i9305 in noobs language (if possible) but i doubt that this will happen, as it is very much time consuming and a lot of thinking and typing work. personally i think a thread like this would bring some life into our i9305s threads, dont you think so..?
to get you already started with some learning and discovering for yourself, read further..
the best method for porting roms is IMO building from source, but this is not as easy as it sounds..
first you will need to set up a build environment. I assume youre using Windows OS, now if you got a 64 bit system this is exactly what you need.. fortunately for you and others there is a custom branch of the Ubuntu OS thanks to @sylentprofet to use with Oracles VB/VM (Virtual Box/Machine) already preconfigured for building or porting roms (both require building/developing experience though) all you need to do is download the source and commit, fork, cherry-pick etc. if you decide to step into the android development world, you will learn more step by step however having some basic knowledge like terminal commands and git commands would be useful.
Also you need to get familiar with github and how it is used, check out here
I recommend lots of research though before actually taking any actions!! all these things will make you feel :silly: at times, but do not give up! for there were is a will, theres a way
good luck :good:
Download builduntu v1.4 here
Download Oracles VB here
Guide-how to build rom from source (most recent one i guess)
Click to expand...
Click to collapse
Thanks mate, i'm gonna try this and gîve you some news, other advices for maybe add some optimizations like linaro and kernel adding for example? I'd like to just port Roms but maybe it would be interesting to build my own rom later
Edit: sorry didn't read the guide, find my answers, thank you
aaz03 said:
Thanks mate, i'm gonna try this and gîve you some news, other advices for maybe add some optimizations like linaro and kernel adding for example? I'd like to just port Roms but maybe it would be interesting to build my own rom later
Click to expand...
Click to collapse
your welcome bro :good:
i really have no idea about how linaro is used in combination with kernel, you really have to google that one or get in contact with a dev. willing to help you out i think the kernel is automatically installed with your build when youre initializing/syncing repos and with commands in terminal its executed to build it. you can of course compile own kernel with modifications but as i said it needs lots of research, wish i could help you..
try for now some basics with the guide for gaining more experience and who knows what you will be capable of in next 2/3 months or less
aaz03 said:
Thanks mate, i'm gonna try this and gîve you some news, other advices for maybe add some optimizations like linaro and kernel adding for example? I'd like to just port Roms but maybe it would be interesting to build my own rom later
Edit: sorry didn't read the guide, find my answers, thank you
Click to expand...
Click to collapse
Here you got some useful video tutorial regarding kernel development with Linaro
MaHo_66 said:
Here you got some useful video tutorial regarding kernel development with Linaro
Click to expand...
Click to collapse
Ty , it 'd try , any other advice for kernel dev ?
aaz03 said:
Ty , it 'd try , any other advice for kernel dev ?
Click to expand...
Click to collapse
not that i know of, the tutorial should be explaining everything

Lollipop for the Optimus 2x

Welcome to the official thread for the Lollipop roms for our Optimus 2x
As to start, this thread is exclusively for the developers who are interessted/working on on the Lollipop ports for our Optimus 2x
We had alredy some build like the OmniRom , CM12 and even ParanoidAndroid.
This thread is exclusively for discussions for the developers and for the testers to test the new made roms so I will update the links as the roms get made. So I am only posting here the links of the latest version, to get the versions from the past you wil need to browse throught this thread
Update 05/6/2016
Gucky did it again! New build for CyanogenMod 12.1 is up, and now with fixed camera! When I get the full list of working features and bugs, I will upload it here. Thank you Gucky for your massive help and contribution to this community. This device is very old after all, and you still find the time to tinker on it. No words really. Respect!
CM12.1 : https://sourceforge.net/projects/lg...cm-12.1-20160531-UNOFFICIAL-p990.zip/download
WARNING the Rom is still not stable, but we are close!
ParanoidAndroid: https://s.basketbuild.com/devs/Puri/p990/AOSPA(lollipop)
Take in mind that all these roms are unstable besides the CM12 rom,but it still has some major bugs which we as a group will fix.
As in all of this, stay tuned for updates
Good job my friend
Thank you very much. I'm downloading right now. It would be useful, if you could upload your (Lokal) Manifest, too. So we are able to re- build the rom with the necessary changes.
Looking forward!
Credits goes to you!
um
gucky01 said:
Thank you very much. I'm downloading right now. It would be useful, if you could upload your (Lokal) Manifest, too. So we are able to re- build the rom with the necessary changes.
Looking forward!
Credits goes to you!
Click to expand...
Click to collapse
um.......*noob mode activated.....BOOP * what you mean with manifest? lol
Could you please share your sources.
TheMysteryouse said:
Hello everyone.As you might know me from some threads where i comment some stuff.Anyways, since Lollipop was announced i was obssesed with it and my wish was that i would be the first one to make the version availble for our device.
Well i kinda did it....KINDA of course but we need some help if we wanna make it work.I call ALL of the developers for our device to work together to make it work.We are so close to get it fully booting.I made it boot to the animation and now where the help comes in use.We need some developers who can enable ADB on our device in the bootanimation.TO be honest i dont really know anything about sources and that stuff but i know some things.With the help of @tonyp and @timduru which I am the most thankfull of that gave me hope to make this.So here we go!
WARNING!!!
ONLY FOR DEVELOPERS
No one should download and flash this rom because you will get stuck in the bootanimation and will need to install previouse rom again and install everything over...blah blah blah.
Also the link to the rom is here ----> https://www.dropbox.com/s/fwhg08ux7qhtgsh/5.0 test.zip?dl=0
So if someone gets it working, please pm me in the progress. Cheers
Click to expand...
Click to collapse
TheMysteryouse said:
um.......*noob mode activated.....BOOP * what you mean with manifest? lol
Click to expand...
Click to collapse
a little help.
http://wiki.cyanogenmod.org/w/Doc:_Using_manifests
Oh
Hugo-PT said:
a little help.
http://wiki.cyanogenmod.org/w/Doc:_Using_manifests
Click to expand...
Click to collapse
Well to be honest, i dont really know how to share the menifest because i didn't use much the source. I was porting the Cm11 tonyp's rom and the rom from timduru, so i dont really know how to share the manifest lol
TheMysteryouse said:
Well to be honest, i dont really know how to share the menifest because i didn't use much the source. I was porting the Cm11 tonyp's rom and the rom from timduru, so i dont really know how to share the manifest lol
Click to expand...
Click to collapse
Did you change some files in the zips or did you build a new rom in the way Raum described, my friend?
http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305
nope
gucky01 said:
Did you change some files in the zips or did you build a new rom in the way Raum described, my friend?
http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305
Click to expand...
Click to collapse
nope, didn't touch anything other than the updater script i think and the build prop because i wanted fully stock experience
I can be your tester my phone got a battery problem so im having fun with flashing roms
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
DJNoXD said:
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
Click to expand...
Click to collapse
Well, it might be that he used KatKiss from timduru for the TF101 which has a Tegra 2, but still our phone uses the Tegra 2 AP20H, while the TF101 uses Tegra 2 T20. Small difference in the chipset, but still a difference. Easiest would be to port from the Galaxy R or Captivate Glide, but they too struggle with Lollipop over in their forum. Anyway, TheMysteryouse used timduru's AOSP rom, so maybe it would be easier building the whole thing from the demo CM12 sources available.
nonono
DJNoXD said:
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
Click to expand...
Click to collapse
Nope, this rom has NOTHING to do with the tegra 3 rom.I used the rom for TF101 tablet which is tegra 2 but had a cmall chipset difference.So yeah I am still trying to do some things like searching the framework sources from tony to see if he has a code in the build.prop which directly enables ADB from the boot, but cant really find it.Anyways try your best and so the others.Cheers
Hi guys, after some testings I could get booting to finish. There are some errors left. But I will work further this evening and upload the rom afterwards. Think this will remain a test build for some time, till Tony or DJ can fix the errors.
Stay tuned!
Any video or screenshot? xD
Sorry for nob request, but working well or not, its great to our comunity
p.s. if need tester in future, you, TheMysteryouse or DJNoXD.
Im ready for
...WoW!...That´s Good News...Thank You for All of You, Guy´s...
gucky01 said:
Hi guys, after some testings I could get booting to finish. There are some errors left. But I will work further this evening and upload the rom afterwards. Think this will remain a test build for some time, till Tony or DJ can fix the errors.
Stay tuned!
Click to expand...
Click to collapse
Awesome news buddy! Lollipop on first power dual core android device! Switch to 1+ One as a primary phone for some reason but I will continue to follow and supporto you!
That is great!!! ))))))))
Ok. I have to go one step back. The rom is not ready for the testers and I'm too tired to test more. For those, who want to repeat my steps or want to finish...
I replaced the files in Mystery's rom with my own Kitkat ones. The first half, than the second. Now I could get it to finish the booting process. This steps I went on and on. So I could reduce the problem to the framework-files in "system". If you replace all of them, it boots up with some error messages.
I think we have to reduce the 40 files inside more and more to find the reason for the bootloop.
All the best to you,my friends!
Damm this is great a device from 2010 receives android L. 4years later. If I can borrow the old optimus 2x from my father then I could also look into the problems if it's not booting yet then. Till then continue your work.

Custom ROMs quality

Hey. I'm considering buying Mi 5, but I've been wondering about whether custom ROMs work just as well as stock in terms of performance, stability, photo, video and call quality. I have some pretty bad experiences with custom ROMs on LG G2, so that's why I'm asking.
None.
Thanks, vlad. Anyone else to confirm?
TH4N1X said:
Thanks, vlad. Anyone else to confirm?
Click to expand...
Click to collapse
due to broken kernel source code, current status is none.
so_cool_rohan said:
due to broken kernel source code, current status is none.
Click to expand...
Click to collapse
Wait. There are ROMs for this phone on XDA, so how can it be with a broken kernel? Unless you mean cracked.
TH4N1X said:
Wait. There are ROMs for this phone on XDA, so how can it be with a broken kernel? Unless you mean cracked.
Click to expand...
Click to collapse
currently most of them are based on Prebuild Xiaomi Kernel, our hard working devs are behind in fixing the broken kernel which was released my Xiaomi so within 2-3 months we may get stable custom roms
so_cool_rohan said:
currently most of them are based on Prebuild Xiaomi Kernel, our hard working devs are behind in fixing the broken kernel which was released my Xiaomi so within 2-3 months we may get stable custom roms
Click to expand...
Click to collapse
Aight, sry for being such a pain in the ass, but lemme ask one more time. The ROMs that are available now work, but are built on the prebuilt kernel, which doesn't allow us to have some neat features and that will be fixed in a few months?
TH4N1X said:
Aight, sry for being such a pain in the ass, but lemme ask one more time. The ROMs that are available now work, but are built on the prebuilt kernel, which doesn't allow us to have some neat features and that will be fixed in a few months?
Click to expand...
Click to collapse
its ok that you are asking ques as these forum are meant to be.
these custom roms are in beta stage & it will surely work as your daily driver except for few things like (camera doesnt take quality pics as does stock rom does, tap the home button will not take you to the home screen etc), yes the built on the prebuilt kernel doesn't allow us to have some neat features and currently devs are working on the kernels which is released by Xiaomi
so_cool_rohan said:
its ok that you are asking ques as these forum are meant to be.
these custom roms are in beta stage & it will surely work as your daily driver except for few things like (camera doesnt take quality pics as does stock rom does, tap the home button will not take you to the home screen etc), yes the built on the prebuilt kernel doesn't allow us to have some neat features and currently devs are working on the kernels which is released by Xiaomi
Click to expand...
Click to collapse
Alright, that explains everything. Thank you!
I have been using my mi5 for a month and I am very satisfied with mui rom, it is stable, quick, and very good looking and has neat features, and miui keep updating their roms weekly and there is a clean version of their rom called Xiaomi.eu. For now, I don't see a reason for switching to CM roms. It is up to you anyway.

Categories

Resources