Open Aurnytoraink opened 6 years ago
Okay, it's actually do bootloop
Please, can you send me the manifest ? Thanks
Would this port support the hi6250 chipset series of devices, eg p8lite 2017 / honor 8 lite etc? I'm curious about this project and am interested to see how I could help out.
You have to build your own port for each chipset. I'm curious too about this project but I don't succeess to build for the p8 lite 2015, because I don't find functional repositories for the kernel, vendor etc..
Hi everyone, Yeah actually, I'm in vacations so I can't continue my port. I have all the links and files on my computer. I will send you when I will come back to home See u
Hi ! Very nice ! I would like to see the manifest etc.. What step are you stopped on ? Does this port still do bootloop ? See u
Just a quick tip. If the device is stuck on the boot screen with no boot animation and the device is getting hot, it might be caused by the framebuffer console (FBCON) kernel module. There is a bug in the Honor 4C kernel that causes it and the same may apply to P8 Lite (they do share Kirin SoC, right?).
Anyway, the device should have Rx and Tx pins somewhere on the board. UART is disabled by default and there should be a "fastboot oem" command to enable it. If not, you can disable the check in the kernel source. Look for something like "no_uart_output" in /proc/cmdline of running device. That argument should be in some kernel driver *.c file.
Good luck.
P.S. I've managed to successfully start Debian arm64 on Honor 4C without Android stack (but with no graphics accel or sound and etc, just Wi-Fi and OTG).
Hi guys,
Yeah I know it will make a lot of time that I paused the project and the reason is because I don't have time.
Yes, I will try to port it but I forgot to say to you that I'm not a real developer I just a teenager who wanted to develop Ubuntu Touch for my phone.
But I want to learn how to do it. Of course I know some basics (I'm not dumb) but I want to try with you because I can't find any good and solid tutorials for custom ROM or TWRP things.
I'm sorry
PS: Here is the devices repositories that I used:
https://github.com/OpenKirin/android_device_huawei_alice/tree/7.x https://github.com/OpenKirin/android_kernel_huawei_alice/tree/nougat https://github.com/OpenKirin/android_vendor_huawei_alice/tree/7.x
and here is my manifest file
(it's in a zip file because Github don't support .XML file here)
any news on this? mine stops here:
/halium/kernel/huawei/alice/net/wireless/sme.c:433:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct cfg80211_registered_device *dev = wiphy_to_dev(wiphy); ^ CC net/xfrm/xfrm_replay.o CC net/wireless/chan.o CC net/xfrm/xfrm_algo.o CC net/wireless/ethtool.o CC net/xfrm/xfrm_user.o CC net/wireless/mesh.o CC net/wireless/ap.o CC net/xfrm/xfrm_ipcomp.o CC net/wireless/trace.o LD net/xfrm/built-in.o CC net/compat.o CC net/sysctl_net.o CC net/activity_stats.o CC net/wireless/wext-core.o CC net/wireless/wext-proc.o CC net/wireless/wext-spy.o CC net/wireless/wext-priv.o LD net/wireless/cfg80211.o LD net/wireless/built-in.o LD net/built-in.o Makefile:136: recipe for target 'sub-make' failed make: *** [sub-make] Error 2
Hi, I've successfully built using the manifest file provided by @RavengamerSpace and am at Bootloop phase as stated in todo. @tmp64 The two models do share the same Kirin SoC and when I check TWRP the device went to 40C so the device was getting a bit hot and I shut it off for now.
I have enabled fastboot oem
as stated above.
Hey, @NostalgiaNinja I glad to hear that. For myself, I've remade the project with a new manifest file and I successfully built it but the problem was that the boot file was 0,1MB too big for the partition. And after this I gave up -___-
But at least, I can try to find my manifest file and built it
Okay, I found find it huawei_alice.zip
@NostalgiaNinja Can you share me the fixup_mountpoints file please ?
Here is the old fixup_mountpoints listings. I still have to rebuild off of the new manifests file. Once done, I'll share the new listings. Haven't gotten around to it yet. fixup-mountpoints.zip
Thanks ! By the way, I have modified the manifest file again and this is the latest version I am using huawei_alice.zip
Thanks, will build off of this promptly.
Hey @NostalgiaNinja Where are you on the ROM build? For my case, it result in a error when trying to buid mkbootimg
Oops wrong button
My build completed successfully. What's the issue you're coming across and how is your Kernel file set up?
Do you have a video of a working halium on p8 lite?
@NostalgiaNinja Ouh sorry, I've made a mistake. So yes, I have successfully built the mkbootimg, hybris-boot and system images file.
But now I was trying to port Ubuntu Touch. Sadly the halium-boot build fail.
But maybe I should first try with Halium and when it's stable, try with UT ?
Btw, I actually haven't my Huawei on me because I lend it to a friend
@oceanmar I currently have a build that's doing bootloop so unfortunately I don't have video.
I've been using the Halium reference image and haven't gotten the image to work for myself. You can try with UT or with Halium.
Sadly can't try with mine since I lent it to my mother 😂😂
Have you guys touch the defconfig on the kernel according to the verification written on the site?
Yes, of course
I've even tried Using your manifest. But same I have problems building, error on mkbootimg
Build it successfully but stuck in Huawei logo
Halium roots, plasma, UT nothing all same stuck at logo
That's the bootloop that we are currently at. Any suggestions on getting past that?
I don't know, I need to do more search and tests but I recently had a problem with my computer that forces me to reinstall it so I kind of lost all the halium project (I mean I need to resync and rebuild everythings)
I'll gonna do a research too. But specifically I like to look at the mount points and fstab part
Hey, I get my phone back. Now I need to sync and build halium. Btw, I asked myself if we can ask people who already make ROM for the Huawei P8 Lite what they used
So I'm actually trying to build hybris-boot, but I'm stuck here: https://pastebin.com/4Ft0U70W
Think that's something to do with the kernel configuration - When you set a setting that is not supposed to be set (there are a few that are meant to be ignored) then you will get a build error on that. I have a successful build on hybris-boot but still got bootloop.
Mer_verify_kernel_config should give warnings on the following:
CONFIG_MEMCG_KMEM
CONFIG_CGROUP_MEM_RES_CTLR
CONFIG_CGROUP_MEM_RES_CTLR_KMEM
CONFIG_CGROUP_MEM_RES_CTLR_SWAP
These can be safely ignored based off of the Kernel version being written. You should get a successful build off of mka hybris-boot
but just make sure everything lines up as well.
Hum... Okay, I think I will remove the alice_defconfig and resync everything. But before that, can I have your defconfig file ?.
Oh and btw I change my fixup-mountpoints. It's now looking like this: https://pastebin.com/1352fJVH
alice_defconfig.zip Here you go. I will check out the fixup mountpoints when I wake up later.
Ahah! Good sleep!
Btw, it builds successfully
Still get bootloop ?
Just built the new build, still getting bootloop @xolider. I have outputted the kernel log. If you can see anything that may be of interest or can help, it'd be appreciated. dmesg.log
that looks like an old kernel and it doesn't like hybris-boot or halium-boot
Linux version 3.10.105-gf69598e-dirty (xepeleato@devel) (gcc version 4.9 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Mon May 8 18:24:27 CEST 2017
Are you sure this isn't your recovery?
I get an error when building systemimage. @NostalgiaNinja Did you try with my fixpoint ?
It might be my recovery? Since I grabbed my kernel logs from TWRP.
@RavengamerSpace I built systemimage fine with your fixpoint and got a successful build.
Do someone got this error when building system image file https://pastebin.com/B2acycWb
Don't you want to open a Discord server or something like this to discuss about this project and sharing problems/bugs etc ?
Yes we can create an Discord server, or Telegram, or IRC.
Well, I create one Edit: Discord link server have been removed
Any update on this? Apparently it is possible to launch linux on a P8, but nothing stable. Maybe with joined efforts :)
kinda off-topic, but huawei p8 lite has a working postmarketOS port now :tada:
https://wiki.postmarketos.org/wiki/Huawei_P8_Lite_(huawei-alice)
Tree: halium-7.1
[x] Create manifest huawei_alice.zip
[ ] Boot image and system image build successfully <--- bootloop
[ ] Device boots into rootfs,
usb: Manufacturer: GNU/Linux Device
appears indmesg
on host.[ ] LXC container starts and does not crash
[ ] libhybris tests
[ ] Port Ubuntu touch