Building AOSP for my HTC One E8 (M8 Ace) - General Questions and Answers

Hey people!
I was trying to learn how to build AOSP ROMs for my E8, for which HTC has released the kernel source on the HTCDev website.
I feel kind of lost right now.. I have uploaded the kernel source for the device on to GitHub: [LINK] There are two archives within the source archive, where one says "platform" and the other is the kernel source.
Now, I'm syncing the AOSP source as they tell you to in the Sony Developer Portal (from HERE) to my Ubuntu VM (which is a huge download). What do I do next? Will this be enough to build the ROM or will I need other resources as well?
Sorry, I've never really done this before. So, I have some really noobish questions.
Thanks!

* BUMP *
Anyone? Please help!!

Related

[Q] Can I upload the nexus binaries to github for my rom?

Hey there!
I started a new project for a new ROM based on AOSP with some friends and wanted to know if I am allowed to upload the vendor binaries from here: https://developers.google.com/android/nexus/drivers?hl=de#hammerheadktu84q to my github for including it in the build?:silly:
Couldn´t find an answer in the license myself but I saw that it has been uploaded already in some git repos.
Thanks for your help again!
yes
Why wouldn't you be able to?

How to compile aosp source code for specific devices?

Hi guys, I'm a total noob to android custom roms, so please don't abuse me if I've just asked something very obvious to devs...
Please don't reply giving links to the aosp project, I've already seen them.
Assume I have the system needed to build from the source code.
How do I exactly configure the toolchain for a particular device(say moto g xt1032)?
Do I get configurations with the 9gb download, or do I have to download it separately? And will I be able to successfully compile a working ROM for that device?
I just wanted to know more before diving into my new project.

...

...
GPL Stuff and Other Info:
https://github.com/VilleSensePortingTeam
Kernel and Maybe ramdisk will be there. ROM base will be uploaded there as well.
We could use SVN but I prefer git
Next post will be instructions on how to download that I'll complete when We have a booting ROM.
This thread is also where the FAQ, Download Instructions, and other general non development related info will be.
We'd like to keep the ROM Thread Clean and Focused on Development ONLY, and this thread for discussion.
Also Thanks List:
@LlabTooFeR for the base
@dd98 for the ROM Development
@javelinanddart for the Kernel Development @Zarboz for the kernel base @pirlano for the rom development
I personally WILL NOT help anyone who has not searched and thoroughly read the instructions because there will be a lot of them
There will also be no ETAs
Download Instructions: Coming Soon!
FAQ: Coming Soon!
Heres something that should help us with this rom
link
New MaximusHD for M7 is coming: https://twitter.com/LlabTooFeR/status/569807285960077312
Still no kernel sources on HTCdev...
kdd998 said:
New MaximusHD for M7 is coming: https://twitter.com/LlabTooFeR/status/569807285960077312
Still no kernel sources on HTCdev...
Click to expand...
Click to collapse
As far as I know the Ireland and UK lollipop ota is to be released on Wednesday
First kernel source archive for M7 and Android 5.0.1 is here: http://dl4.htc.com/RomCode/Source_and_Binaries/m7ul-3.4.10-g3c9a631.zip
Going to have a look at it this week-end... If anybody want a tester, I'm in
kdd998 said:
First kernel source archive for M7 and Android 5.0.1 is here: http://dl4.htc.com/RomCode/Source_and_Binaries/m7ul-3.4.10-g3c9a631.zip
Going to have a look at it this week-end... If anybody want a tester, I'm in
Click to expand...
Click to collapse
Thats strange. HTC has the source code listed for Android 5.0.1 yet the dev edition and the EU 7.19.401.2 update is based on Android 5.0.2
As I can see well, HTC put in access the kernel
I've been looking at the HTC kernel source for M7 and tried to build it for our ville. This, I managed: I got a kernel. I then tried to make a boot.img but I don't get from where to start. Which initrd should we base on?
I don't have time to work on this these days, but maybe in a week I'll have a few hours. I'm reading any pieces on advice on how I can help and which ways I can explore.
I intend to start from MaximuxHD 52.0.0 by @LlabTooFeR. Maybe we could try to start from the base he's working on instead...
Anybody else tried anything?
Take a look
http://forum.xda-developers.com/showthread.php?t=3050637
Sense 7 port for HTC One M7 is here
Inviato dal mio Nexus 7 con Tapatalk 2
Devs Please Port this to One XL (Snapdragon S4)
Devs Please port lollipop sense to One XL too
One s & XL have almost identical hardware
I'm really interested in this rom. Thank you!
I think we will never get a sense 7 port
@dd98
I got @Zarboz to help with a kernel
It's on the team github
Let's upload the MaximusHD M7 ROM and start this!
I'm compiling the kernel he gave us right now
We will use CM's Wifi Firmware and Drivers
The only thing he's concerned about is the display drivers not working
Also Ville is not my main phone anymore and I might have to give it up this summer, just fyi
I'm also undertaking porting a Linux 3.4 Kernel to the Samsung Galaxy S Blaze 4G as well as LP to it (with the 3.0 kernel atm)
@pirlano, I'll add you to the github Done
Also the kernel is not compiling atm
javelinanddart said:
@dd98
I got @Zarboz to help with a kernel
It's on the team github
Let's upload the MaximusHD M7 ROM and start this!
I'm compiling the kernel he gave us right now
We will use CM's Wifi Firmware and Drivers
The only thing he's concerned about is the display drivers not working
Also Ville is not my main phone anymore and I might have to give it up this summer, just fyi
I'm also undertaking porting a Linux 3.4 Kernel to the Samsung Galaxy S Blaze 4G as well as LP to it (with the 3.0 kernel atm)
@pirlano, I'll add you to the github Done
Also the kernel is not compiling atm
Click to expand...
Click to collapse
I think it's better to wait for T6 International LP rom
But I'll see what I can do with kernel, I was porting M7 LP kernel in private (Zarboz one is an M8 port?)
pirlano said:
I think it's better to wait for T6 International LP rom
But I'll see what I can do with kernel, I was porting M7 LP kernel in private (Zarboz one is an M8 port?)
Click to expand...
Click to collapse
OK, but why T6?
Zarboz said there's only so many device specific files: If we chose apq8064 in m8 source, and added m7 files, we could build m7 kernel
feel free to push your repo
javelinanddart said:
OK, but why T6?
Zarboz said there's only so many device specific files: If we chose apq8064 in m8 source, and added m7 files, we could build m7 kernel
feel free to push your repo
Click to expand...
Click to collapse
Because T6 international WiFi (firmware maybe not, but for example qualcomm chip hotspot framework and config yes), BT, FM Radio framework, config, app and binary files are perfect for Ville!
For example, BT and FM Radio in 4.4.2 Sense 6 were fixed with T6 files. Same for BT with "4.4.3 experimental" can be fixed with T6 BT files (FM can't be fixed because of a T6 lib that doesn't works with all others M7 libs).
javelinanddart said:
@dd98
I got @Zarboz to help with a kernel
It's on the team github
Let's upload the MaximusHD M7 ROM and start this!
I'm compiling the kernel he gave us right now
We will use CM's Wifi Firmware and Drivers
The only thing he's concerned about is the display drivers not working
Also Ville is not my main phone anymore and I might have to give it up this summer, just fyi
I'm also undertaking porting a Linux 3.4 Kernel to the Samsung Galaxy S Blaze 4G as well as LP to it (with the 3.0 kernel atm)
@pirlano, I'll add you to the github Done
Also the kernel is not compiling atm
Click to expand...
Click to collapse
Thats great, the more the better
Shona lá Fhéile Pádraig ?

How to port rom from HTC sensation?

I have an One s with S3 processer(villeC2).
Its specs are similar to sensation(with same cpu and screen resolution),but sensation has Android 7.1 ROM and one s only 4.4......
I would like to port a ROM for it from sensation.
Does anyone know how to do that?
Or if it is possible ?
(sorry for my bad english)
(my first post)
Some info !
Hi,
Actually I'm new in building roms and kernels, too. But i can share some info with you.
For starting this tutorial may be helpful: [Guide] Compile 4.2 & 4.3 & 4.4 Roms for villec2
As you can see, you will need "device", "vendor" and "kernel" source to build a rom.
Usually you can find source code of roms and kernels in xda threads and can start from those.
For example for Android 7.1 you can use RROS vendor and VilleC2 device and kernel sources. (Note: i don't know are these examples compatible or not?!)
And for kernel, maybe you has to upstream the kernel source to be compatible with new version of android that you want to build.
Good luck.
-----------------------------------
Edit:
After Compiling for myself, i figured out Vendor files for choosed rom (Lineage, RR, ..) will be included by their manifest files automatically. so for "Vendor" part in "local_manifest.xml" (or newer "local_manifests/roomservice.xml") we need to assign "proprietary_vendor" files related to our devices. "proprietary_vendor" files can be extracted manully if there isn't any online source.
one more useful guide: [GUIDE]Building any ROM from source for HTC One S aka ville!

How big is the BlissROMs source code file for building unofficial build for ARM devices? Also help about building from the source code.

I want to build my unofficial build for my phone, HTC Desire 816. But I have a limited data plan, and I worried I will running out of my data by downloading a huge source code with unnecessary files for other architectures, phones etc. And I'm just need the ARM and important files.
Also I got these repos from Tarkzim's forum at LineageOS unofficial for HTC Desire 816:
Device tree
Kernel
Vendor
Well, I didn't have any experience at Android development. So maybe can someone give me a guide too?
I'm just know the preparations on the documentation and it's ready, but the steps are confusing for me.
Or maybe if peoples are have their time maybe can someone make the official build?
Maybe it such out of BlissROMs, but I really want to Blissify my phone. Because LineageOS are too plain, no good features like smart charging etc. It just looks a normal Android build from AOSP source.

Categories

Resources