android_device_huawei_p8lite_alel21
android_device_huawei_p8lite_alel21 copied to clipboard
Progress.. :)
Hello! Sorry for starting this as an issue but I can't find a way to write messages to users on Github (maybe it doesn't exist..)
I found your repository for the P8 Lite yesterday and since I am also trying to compile a AOKP ROM for this device I wanted to ask if your device configuration is working. I also saw that you already included the Mali libraries, is this working too. So far I couldn't get my phone to boot correctly..
Thanks and maybe we can combine our efforts..?
Greetings, Paul
Hi there, the build works, but the device won't boot to android due to some GPU issues that I am trying to fix. As far as I can tell, the device configuration is fine, the current issue is with the Mali GPU, but the libs get loaded by the device.
Feel free to contribute, some help would be awesome!
Hello! I am very glad that you are working on CM for alel21. Can the USB Host / OTG support for him? Unfortunately I'm still a noob and cant do it myself. Sincerely, Alexander.
Hey, thanks for the reply. I also have the same problem with the GPU, it seems to boot but the graphics do not get initialized.
Did you use a stock kernel? Maybe it has something to do with this, I am currently trying to compile the kernel too. I also wrote to someone on xda-developers who seems to have accomplished to compile the kernel.
Well, first I am trying to get working pure Android, whenever that's done, I'll start with Cm.
@powerpaul17 The kernel gets compiled from source, I am pushing that commit right now.
@powerpaul17 I'd love to see your logcat output, mine is this
http://pastebin.com/iRMw1SBS
Is surfaceflinger also crashing on your end?
sorry, I haven't saved the logcat, but it looks pretty much the same.. it also crashed at the same point with the same stacktrace. I also tried to use the surfaceflinger binary from the stock rom but then it doesn't even get started.
I start to believe it might have something to do with the kernel. Maybe the stock kernel is not compatible with AOSP, I am trying to compile the kernel from the sources but I still got some issues.
I think I've reached a major milestone :P
Nice.. :) So is it booting? Did you manage to compile the kernel? I am still trying..
@powerpaul17 It's almost booting. What's that kernel issue? Are you using Linaro toolchain?
I am using the toolchain which gets compiled or prepared from the "repo" system (just started with Android development.. ;) ). The kernel finished compiling now using the sources from Huawei but I haven't tested yet. What are your boot issues?
@powerpaul17 zygote is crashing, at least surfaceflinger loads properly, it looks like I'll need to change some libs.
Any progress ?
thx in advance.
@olrak2 Well, I have compiled the kernel succesfully, and now the "rom" itself is my obejctive, if there's any major progress I'll post it here or wherever I find it convenient.
Have a nice day!
Just a quick update for those of you who are waiting, I have spent all of the weekend working on this, I have compiled more than 40 images so far just in the weekend, I have solved some issues but the rom is not finished yet. Now I am not stuck with the graphics system anymore, but there are more issues to fix, I won't surrender.
Good luck with the problems :) I'm very glad you won't surrender. We need a rom for our Little P8
Alright, got it, the rom boots to android, I am not too excited about it since some services crash and the rom is not functional, since you are spammed with "service XXX stopped working" warnings, but at least, it boots :) I'll upload some pics later
I'm very excited to hear that. Those warning's can't be worse than EMUI :) Let those pics come :)
There are lots of bugs (as expected), but there's the proof!
wow, congrats, so it was libs issue?
Kind of @hak86 I also disabled selinux and modified the ramdisk, I'll submit a pull request in the afternoon to your tree, since I have spotted something weird.
@XePeleato i think you need to remove everything used by emui, second we should make a ril.java file to let it works, we can try with honor 6 one, it's use kirin920 if not wrong but i'm not sure ;)
@hak86 True, since the phone doesn't even ask me to unlock the SIM card. I didn't had much luck following the Honor 6 config. I removed every Huawei file inside 'framework', so there's no trace of Huawei code (just the libs used to get the camera/wifi/bluetooth/display..) working.
one question, does get in the out like root/res? needed for the charger? @XePeleato because my own boot won't boot without them....pretty weird...
@hak86 Yes, I copied them from the original ramdisk, it's not updated here because I am building everything again from scratch.
UPDATE: I am switching from AOSP to CM, because AOSP doesn't let me configure some things that CM does, and at the moment, I don't have the time to figure out how to do them on my own, so the Build machine is now compiling, allow some hours for a new update.
Have a nice weekend!
Well, it looks like it wasn't as easy as just switching sources, now it doesn't even boot.
i fix copying blobs into build and now should copy them with any rom, for the boot.img i still don't understand why in the out/target/product/hi6210sft/root, give me only sbin and res, should be folder like data, dev, system and many other..bah.. @XePeleato
Well, you can copy them by hand in order to check if it works @hak86 Mine copied that files just fine.
@XePeleato Can you update your source? I also want to test aosp and try to boot up my P8 lite. One thing i find weird. How does it come your build number is the same as the original stock build number? It should be a total different number than the stock one, no?