Closed XePeleato closed 8 years ago
Does the device currently boot? Any logcat logs?
Sure it does, I don't know why would you need a logcat, but if you want it anyway, I'll upload it somewhere.
P.S: Just got wifi working
Nice! The reason I was asking is that I'm currently porting CM for the Huawei P8 and was wondering how far you've gotten with the P8 Lite. Mine currently has issues with blobs while booting (stuck at CM boot animation) so I will take a look at what you have done.
@XePeleato Is this list up to date? I got bluetooth and Wifi working yesterday. Sound is still not working. Seems mediaserver dies all the times.
Oh I forgot about it, if you send me your logcat I might be able to help you
@XePeleato Here you go: http://pastebin.com/EHFKcs2G
Hm, so you are facing a segmentation error, your best bet is to debug the process in order to detect what's exactly wrong with it
Yeah, what's the best way to debug the process itself?
For this kind of issue, I'd use gdb.
Good Luck!
I will try, thanks. What's status for you? What's working and not working?
The device boots fine as I showed, however when I change some libs to make it more functional, I face some errors
Did you get the audio to work? I had some errors with medaserver and its blobs but I fixed them and everything audio and camera wise seems to load fine but it never completes booting or at best shows the android is upgrading/starting apps screen but no crashes: http://pastebin.com/ztg0X19w
@debbiche I don't know since I had some issues with media_codecs/profiles.xml Could you please find what's the lib that triggers that 'state' ?
Were you able to boot with sound working? I'm not sure which lib causes this state, here is my list (probably a few that are not needed): http://pastebin.com/ud57xYeG
@debbiche As I said above, I haven't tested it, so I guess it's not working. I agree with you, there are some libs that shouldn't be there, altought I am not sure since I haven't finished the rom
@debbiche I have spotted why it doesn't boot, let me investigate it a little bit more and I'll tell you what is it.
That's great. I cleaned up my blobs list quite a bit but still same effect. I'm running a new build now since it's been a few days since I did a clean one.
The camera is now working!
Very nice. What did you do? Blobs thing? Mine just gives me sensors error or something.
Yeah I just copied some blobs and all of a sudden it worked. Audio works in your build right? How did you did it? Have you copied media_codecs.xml or/and media_profiles.xml?
Which blobs did you copy? Audio works perfect for me. Took me a while to get it to work. And you need all the stuff in etc/audio and some other files.
I copied all the libcamera_* and libjpegenchw.so and libmedia.so (just the 32 bit lib). Is your blob list at your github updated? It'll be easier to know wich ones are missing.
Yeah they are updated and for the audio too so it should work for you. On Mar 23, 2016 23:28, "Eduardo Alonso" notifications@github.com wrote:
I copied all the libcamera_* and libjpegenchw.so and libmedia.so (just the 32 bit lib). Is your blob list at your github updated? It'll be easier to know wich ones are missing.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/XePeleato/android_device_huawei_p8lite_alel21/issues/3#issuecomment-200568221
Well, since the HuaweiRIL.java I am using is made for Android 5.1 Ther are lots of missing dependencies. Do We have any Java developer? I can handle C/C++ but not Java.
I do Java but I'm not familiar with how these ril classes work.
If We had a 5.1 version, it'd be much easier, so whenever Marshmallow is released, I'll switch to it.
There is a 5.1 version available. But no source. It's possible to bootup and work with the system with the 5.0 own build kernel and stock 5.1 ramdisk files.
@olrak2 Oh, could you find me a link? It would be interesting to have a look.
@XePeleato , it's a lot of work. But you can take an nandroid after installation
http://forum.xda-developers.com/p8lite/help/upgrade-android-5-1-1-b008-ale-21-t3285993
First install B052 with mfastboot Then install B136a with mfastboot Then install B008 (5.1.1) with dload
@olrak2 Thank you! I wasn't aware of that.
From my post to haky86:
If you need them or not, here are all the kernels + ramdisk files:
Download link for kernel android 5.0 ALE-21: https://mega.nz/#!dF9x1ZbA!pipmYzYtbaKpZbrFPYmAKtmpLaNkszyoLMgyVfsTmZw
Download link for kernel android 5.1.1 ALE-21: https://mega.nz/#!oRVwxBKI!w2NcBAKouK0Q6aLz-9v01v6evqG8uVFwfCDfnOPFeaI
Download link for kernel android 6.0 ALE-21: https://mega.nz/#!IVdVRSJB!qU4na409x8JCeOFnHoAVjEKEPowl4vY-hbjn5dbQMyw
@olrak2 It worked! Now I have Android 5.1.1 installed. The server is compiling!
@XePeleato : You can start building 6.0 :smiley:
https://github.com/olrak2/make_boot_image_hi6210sft https://github.com/olrak2/android_kernel_huawei_hi6210sft
@olrak2 Good Job! However, I am now building 5.1.1, the RIL classes compiled perfectly, anyway that are some good news!
Update: Xposed works
@XePeleato didn't Xposed worked flawlessly on AOSP?
@muhammadfahadbaig Sure it did, but no one got it working on the P8 Lite
Hi, I know this isn't the right place to ask, but... Anyone knows how to unlock bootloader with the new Huawei's website? I don't know and I need it...
@FelipeBR28 Log in with your Huawei ID here https://emui.huawei.com/en/plugin.php?id=unlock&mod=detail
@XePeleato I know how to, but the problem is that some time ago, you could choose the model number Y300-0000 and then, you had the number, but now you can't even with that, so if there's any other way to do it...
@FelipeBR28 : don't know if it will work but try this unlocking guide
http://huaweip8lite.blogspot.be/ (--> you need google translate :smile: )
@FelipeBR28 What device do you have?
@olrak2 I'll try it... thanks!!
@XePeleato ALE-L21, the standard
@XePeleato Still no sign of baseband?
There is way to unlock bootloader without Huawei's website. However you must be rooted for that method.
@muhammadfahadbaig I am working on it.
and also what about graphics.c file? I am working for TWRP for my other Huawei device.
@debbiche Also asked for it, @muhammadfahadbaig I forgot to upload it https://gist.github.com/XePeleato/3e886d517fbc7142780d
place it in bootable/recovery/minuitwrp
just one more question... I am compiling TWRP right now. No idea why it's failing at " make: *\ No rule to make target /datadrive/android/system/out/target/product/hi6210sft/kernel', needed by
/datadrive/android/system/out/target/product/hi6210sft/boot.img'. Stop. I am using my own prebuilt kernel.
And thanks for graphics.c . You are doing a great job sir!
So, in order to keep track of what is fixed and what is not (and if it's fixed, how to fix it), I have created a list, so if anyone wants to collaborate with their experience, any ideas or even linking me to a post or anything, feel free to do so, I'll edit it whenever I achieve something new. The list is small because I want to focus into a small group of issues at a time.
(Currently fighting against):