OmniRom Oreo 8.1 unofficial

Rondeau79

Senior Member
Jun 19, 2016
305
286
63
So I have successfully built OmniRom 8.1 Oreo for Shamu the zip file is a little over 500mb. The package flashes correctly but fails to boot. I have already tried to change the BoardConfig.mk file to be SeLinux=Permissive but it still fails to boot. My device is decrypted as well. What could be a source of the non boot issue other than what I have mentioned. This project is taking quite some time to complete.
HELP!!!!!
 

Rondeau79

Senior Member
Jun 19, 2016
305
286
63
Does omnirom even have a 8.1 branch for shamu? I can't see it.
No it doesn't I am trying to bring it up, I know they don't officially support it for Oreo. They don't have a device maintainer for Shamu anymore. I have been using other device trees and filling in the required files for building Omni. Like I said I can get a successful build but in won't boot.
 
  • Like
Reactions: duttyend

Elektroschmock

Recognized Developer
Dec 25, 2010
1,024
4,527
153
Winnenden
No it doesn't I am trying to bring it up, I know they don't officially support it for Oreo. They don't have a device maintainer for Shamu anymore. I have been using other device trees and filling in the required files for building Omni. Like I said I can get a successful build but in won't boot.
Well thats not how a bringup works. You need a ****load oft kernel and device commits for shamu to Boot Oreo.
The easiest way would be forking a working device and kernel repository...e.g. LineageOS. Next step would be adapting some makefiles and overlays.
Not much to do, as we have already done the Oreo bringup months ago.
 

Rondeau79

Senior Member
Jun 19, 2016
305
286
63
Does omnirom even have a 8.1 branch for shamu? I can't see it.
Well thats not how a bringup works. You need a ****load oft kernel and device commits for shamu to Boot Oreo.
The easiest way would be forking a working device and kernel repository...e.g. LineageOS. Next step would be adapting some makefiles and overlays.
Not much to do, as we have already done the Oreo bringup months ago.
Yeah that's what I did. When the build first starts something in the vendor folder isn't being globed. It's only 99% of that folder that is accounted for. The build is successful but it just won't boot. I don't have much coding experience so this is really hard.
 

Elektroschmock

Recognized Developer
Dec 25, 2010
1,024
4,527
153
Winnenden
Yeah that's what I did. When the build first starts something in the vendor folder isn't being globed. It's only 99% of that folder that is accounted for. The build is successful but it just won't boot. I don't have much coding experience so this is really hard.
Do an -eng build and read logcat and dmesg via ADB. Usually you see whats wrong.
 
  • Like
Reactions: duttyend

webdroidmt

Senior Member
Dec 20, 2011
1,674
1,156
0
NJ
Yeah that's what I did. When the build first starts something in the vendor folder isn't being globed. It's only 99% of that folder that is accounted for. The build is successful but it just won't boot. I don't have much coding experience so this is really hard.

Hey how's it going? I know you've been trying hard to get an 8.1 Omni build running. FYI, @bthorne79 put out an Omni 8.1 build for Shamu back in December of last year. I tried it at the time and it was a nice build but if I remember correctly, the theming didn't work. I tried changing to a dark theme but it just stayed on default light theme. I always use a dark or black theme on Shamu and I'd rather not have to use substratum. Other than that, the rom ran very well.


Maybe give him a shout, after all you both have 79 in your name. :cool: :D Good luck, I definitely wouldn't mind seeing an Omni 8.1 build.

Mike T
 

Rondeau79

Senior Member
Jun 19, 2016
305
286
63
Hey how's it going? I know you've been trying hard to get an 8.1 Omni build running. FYI, @bthorne79 put out an Omni 8.1 build for Shamu back in December of last year. I tried it at the time and it was a nice build but if I remember correctly, the theming didn't work. I tried changing to a dark theme but it just stayed on default light theme. I always use a dark or black theme on Shamu and I'd rather not have to use substratum. Other than that, the rom ran very well.


Maybe give him a shout, after all you both have 79 in your name. :cool: :D Good luck, I definitely wouldn't mind seeing an Omni 8.1 build.

Mike T
Yeah this project has been a real headache! Nothing like before were most of the files and programming has been done. I am not done yet, I don't give up too easy. This has been quite an undertaking.
 
Last edited:

Rondeau79

Senior Member
Jun 19, 2016
305
286
63

Rondeau79

Senior Member
Jun 19, 2016
305
286
63
If you push your sources somewhere where we can see it, it should be easier for us to help you.
Yeah I am using Omni ROM source with device trees and kernel source from Lineage Oreo. I have modified files and make sources. I have all up to date vendor blobs cloned. There is no build errors just an issue with the system not booting. Pushing my source upstream would be to my personal GitHub account which I have never had to do. Usually I repo/clone source build and upload to Android File Host for working zips. I have never pushed anything up from my laptop!
 

nitin.chobhe

Recognized Contributor
Jan 3, 2013
8,097
19,497
263
Pune
Yeah that guide is so outdated! I followed that kind of stuff years ago when I couldn't build from source. I have done many builds that boot for 3 devices. This is a different problem.
Even though it is outdated it is still very much applicable. I linked that thread because you mentioned this.

Good that you know the problem. All the best!

Nitin
 
  • Like
Reactions: webdroidmt

Elektroschmock

Recognized Developer
Dec 25, 2010
1,024
4,527
153
Winnenden
Yeah I am using Omni ROM source with device trees and kernel source from Lineage Oreo. I have modified files and make sources. I have all up to date vendor blobs cloned. There is no build errors just an issue with the system not booting. Pushing my source upstream would be to my personal GitHub account which I have never had to do. Usually I repo/clone source build and upload to Android File Host for working zips. I have never pushed anything up from my laptop!
It's not that you need to push it somewhere to get working zips, it's just for us to see your modifications.
Otherwise it is just guessing what you did.
Making it compile is one thing...making it work is a whole different story. When I did the Lineage Oreo bringup I had many things to fix untill it bootet properly.

Lineage's device tree for shamu depends on several other Lineage repositories. For example:
android_hardware_lineage_interfaces
android_hardware_qcom_gps
android_vendor_lineage
android_device_lineage_sepolicy

So just cloning the device repo without examining the reason for your 'bootloop' will get you nowhere.

I'd suggest you to do an engineering build which is easier to debug. Altought I would make this build permissive as selinux denials are a common reason for a bootloop.
 

runekock

Senior Member
Apr 24, 2012
821
479
83
How about trying a known working kernel such as popcorn? If the kernel works, you might be able to get some logs. And if you know whether your kernel is the problem, you are one step closer.
 
  • Like
Reactions: webdroidmt

Elektroschmock

Recognized Developer
Dec 25, 2010
1,024
4,527
153
Winnenden
How about trying a known working kernel such as popcorn? If the kernel works, you might be able to get some logs. And if you know whether your kernel is the problem, you are one step closer.
If he is based of lineage's device tree, then Lineage's kernel is the best choice.
You should always be able to grab a log, no matter which kernel you are using.
 

bthorne79

Senior Member
Apr 11, 2012
3,404
3,488
0
ChuckTown
My webhost is down right meow but I can post my Oreo build I had of Omni here I didn't use Los trees i used aosp trees from camcory , joryb and mine cleanos

---------- Post added at 08:47 PM ---------- Previous post was at 08:28 PM ----------

i found my build i had it on afh if you want it to try this was early oreo so some things not fully functional i think gps was iffy https://www.androidfilehost.com/?fid=889964283620775520 i am syncing up omni oreo again for sure will help out if you want please pm

---------- Post added at 08:47 PM ---------- Previous post was at 08:47 PM ----------

nougat builds in that root folder also
 
  • Like
Reactions: webdroidmt

bthorne79

Senior Member
Apr 11, 2012
3,404
3,488
0
ChuckTown
My device and kernel tree GitHub link.
https://github.com/Rondeau79
Your probably going to want to fork the toolchains over that was used with cleanaosp
<!-- Prebuilts --> <project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.9" name="joryb/arm-eabi-7.x" clone-depth="1" remote="bb" revision="master"/> <project path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9" name="joryb/arm-linux-androideabi-7.x" clone-depth="1" remote="bb" revision="master"/>