Closed XePeleato closed 8 years ago
@muhammadfahadbaig Thanks! Just copy the kernel to that directory manually, it happened to me too.
cp device/HUAWEI/hi6210sft/kernel out/target/product/hi6210sft/kernel
Change the command as needed.
First of all thanks @XePeleato for your work on P8 Lite, nice to see there will be an AOSP and maybe CyanogenMod soon. Will follow this project and hope to see an public beta or even an better version soon on XDA :)
@XePeleato Is there anything you did to any makesfiles to get the RIL class to compile except adding the flag to the board config file?
I had to modify frameworks/opt/telephony/Android.mk However it failed to compile on Android 5.0, I switched to 5.1.1
@sgspluss Just got sound working, whenever RIL works, I'll release a beta.
@XePeleato What you did to fix sound? Added some blobs?
and also @XePeleato , I have cloned your source to my machine so that I can try a build for my p8 lite. I hope if that's ok (any permission or anything)
@muhammadfahadbaig You can check it in the last commit. Sure, you can clone it and use it however you want, that's why I released it :+1:
@XePeleato Thanks!!! I'm building now...
I have a really bad luck today. Was building on a server, and I have a fixed monthly cap. Didn't knew that I have already used up all of my resources and bam, all servers were shut down. Well, I'll have to wait for a week for the credit to reset :)
@XePeleato Did you have any issues with camera apps not able to get camera info? I added all the camera blobs but it fails with this error: http://pastebin.com/YMsNAzEy
@debbiche Does the Camera app work?
@XePeleato No, it just shows a black screen then crashes. I was fixing some other small issues yesterday and managed to get rid of the Camera app exception but it still crashes and force closes. Log with all the errors since boot, starting the camera still causes the invalid id error : http://pastebin.com/J79zeayE
@XePeleato: Does Bluetooth works on the latest build, the one on XDA?
For me it won't start. I get an error on startup Android and an error while starting up Bluetooth?
@olrak2 I forgot to include the BT firmware, I wasn't really focused on it so, my bad. The fix should be really easy, if you want to work on it.
I'm porting AOSP for Huawei Mate 7 and I managed to get the RIL working by decompiling the original framework and implementing needed functions, try this frameworks/opt/telephony https://github.com/mt7-dev/aosp_frameworks_opt_telephony
@gabry3795 Cool! I'll check it out, it's nice to have a guy who understands Java by our side.
@gabry3795 That's really amazing! I will run a new MM build for the P8 with this to try it out!
@XePeleato @debbiche perfect! On Mate7 I can make calls, send and receive sms and 4G but carrier's APN is not set automatically so I have to set it manually to get the 4g internet connection working
@gabry3795 Tried your files, it throws some Java errors, I'll look further into it
@XePeleato Post here your make log, maybe I can help! My tree is based on android-6.0.0_r1, which one do you build?
Oh, I am at 6.0.1 http://pastebin.com/FzbubWrV I'll try with 6.0.0, I'll also try by extracting the files from the P8 Lite framework.
It seems that the 8 errors are related only to different android versions and not to my edits.. worse luck I am obliged to build the 6.0 because of the proprietary blobs but now if you can build the 6.0 with my telephony framework you can try to apply my last 3 commits to the original 6.0.1 telephony framework. As far as regards cyanogenmod I totally give up that project because proprietary libsurfaceflinger and other graphics related blobs has been adapted by huawei so they don't follow the android original code, as a matter of facts if I try to build the 6.0.1 (or cm13) using libsurfaceflinger I get missing methods form libandroid_runtime.so that looks for 6.0.1 methods in a 6.0.0 library. They adapted Android to their libraries instead of adapt their libraries to Android.
@gabry3795 I am building CM, you don't need surfaceflinger, at least not on the p8 lite. I'll look into it, thanks!
By the way, I managed to fix it. I'll report the results later on.
@XePeleato Did you get it to work on 6.0.1 or you used 6.0?
@debbiche I used 6.0.1 but it shouldn't matter
Hey! I would like to ask is this new release stable enough to use every day? (Sure i know its nightly, but i owned a lot devices, if you know what i mean... ;) )
More interestingly: what does it require, is there a boot image? Because I flashed it and it's stuck at the boot screen.
@powerpaul17 did you installed any gapps package? (It doesn't work for me neither :( )
As you can see there, it's just a nightly, because I enabled my Jenkins instance to compile nightly builds, and whenever I reach a milestone, it's uploaded to github, this one was uploaded as a test, please don't intend to use it as a daily driver. I'll have a look about that, but here you have the boot.img : https://mega.nz/#!ZxwQ2I7K!6EERItMjNbli6aDm2KkaxZfU5iUi74HLaANyiUlYMlU
But... it's 22 mb... is it flasheable? I mean, if I flash it, I will have CM?
I'll quote myself "here you have the boot.img" I was answering to @powerpaul17 It's the ""fix"" to the black screen, or at least, that's my best guess, I can't try it at the moment.
@XePeleato Sorry for pissing you, but it stucks for me too, I'll have to flash it after installing the previous zip? Thanks.
@FelipeBR28 After flashing the zip, you'll have to install that image via fastboot, fastboot flash boot XXX.img
Sorry, can you please link me the "tutorial" for flashing this ROM? I want to do it properly.... thanks
@Sn0wPaw There's no tutorial because the rom was just uploaded to test if my build script worked, for any issue that you may have, please open a new one so We don't clog this one up.
Thanks @XePeleato but even with your boot.img it is stuck at the boot screen. I hope it is not related to a changed vendor partition because I did an upgrade of the Huawei firmware. Can't access it through adb neither, so I can't provide more information now.
@XePeleato I flashed your .img after installing the zip. I left it all night long, and it stucks at "Android is starting. Starting apps." but I connected it to the computer and installed CM drivers.
Can someone give me link to download rom?
You find it under Code/Releases but it does not work. It was just a build test from XePeleato.
Oh right, forgot to check there, thank you :)
Enough off topic, this is not Xda, this is a developer network
@XePeleato Are all of these bugs fixed?
@NoxNebula No, it depends on the rom you are talking about but they are not fixed
@XePeleato oh ok, I was just wondering because the issue were closed.
Btw, I really love what you are doing here 👍
He closed it because people keep asking for his ROM which is really annoying after some time.
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):