[DEV][WIP][ROM] AOSPA 3+ Devlopement thread - HTC One V

compiling AOSPA 3.+ for HTC ONE V (primou)
hello everyone as we all know now all developers are busy with there own rom and many of them left this HOV thread.
We don't have many developers to build a new rom for us, that's why we people are having less number of rom in HOV's thread.
So i have decided to start a new project in which we will c compile the AOSP3.+ rom from the source, but the problem is I am not a developer or programmer or any kind of genius.
so what i am going to do is i need a team in which we all can work together and try our best to port this rom from source successfully
anyone who is interested in this can reply to this thread, I'll be glad to having as much as people possible
If i get a team then, we all gonna work according to this guide -> http://forum.xda-developers.com/showthread.php?t=1863547

4.2.2 or 4.3?

well 3+ is 4.2.2

Seraz007 said:
well 3+ is 4.2.2
Click to expand...
Click to collapse
The lateset for many devices is running on 4.3.x, but I'm assuming it's 4.2.2 since the branch for 4.3.x is jb43.

MameTozhio said:
The lateset for many devices is running on 4.3.x, but I'm assuming it's 4.2.2 since the branch for 4.3.x is jb43.
Click to expand...
Click to collapse
3+ and 3.40 are two different versions
anything above 3.40( i think that is the version) is 4.3

Seraz007 said:
3+ and 3.40 are two different versions
anything above 3.40( i think that is the version) is 4.3
Click to expand...
Click to collapse
PA 3.60 for hTC Desire is 4.2.2
Anyway,back on topic.

so you joining @MameTozhio

Sure, I also found a device tree on github.

MameTozhio said:
Sure, I also found a device tree on github.
Click to expand...
Click to collapse
awesome! now the thing is we need atleast 2-3 people so that we can start our project and i hope you have Ubuntu 12.04 (Precise Pangolin) 64-bit in pc

gulsher said:
awesome! now the thing is we need atleast 2-3 people so that we can start our project and i hope you have Ubuntu 12.04 (Precise Pangolin) 64-bit in pc
Click to expand...
Click to collapse
Linux Deepin 12.12.1 (Raring based) 64-bit
Java 6 from Webupd8 ppa.

:good: I'm interested
i m also very new to Android rom development
but will try my best (100%) to support the project
i don't have ubuntu but i can get ready in a VM..do we need x64..x32 wont suffice

blade22 said:
:good: I'm interested
i m also very new to Android rom development
but will try my best (100%) to support the project
i don't have ubuntu but i can get ready in a VM..do we need x64..x32 wont suffice
Click to expand...
Click to collapse
It's harder with 32-bit, I believe. But I know you can build on 32-bit.

blade22 said:
:good: I'm interested
i m also very new to Android rom development
but will try my best (100%) to support the project
i don't have ubuntu but i can get ready in a VM..do we need x64..x32 wont suffice
Click to expand...
Click to collapse
great but i suggest that you make space for ubuntu it would be a better option, if you can or else vm is fine

Vm is fine if you have a LOT of ram, because otherwise the compiling process will take days lol..
If you make a partition, make it at least 70gb, some sources are even 50gbs..

mr_nooby said:
Vm is fine if you have a LOT of ram, because otherwise the compiling process will take days lol..
If you make a partition, make it at least 70gb, some sources are even 50gbs..
Click to expand...
Click to collapse
50 gbs wth in it
I really want to join , but my pc are windows 32bit and 2gb ram D:
sent from my Sensation XE

Mine is 4gb ram dual core 2.4ghz, and it goes pretty well. But school is starting soon so I have no more time to join the team..

Oh.. school...
I start next week.. I can't join unless I get free time..

danishaznita said:
50 gbs wth in it
I really want to join , but my pc are windows 32bit and 2gb ram D:
you can join even my pc config also is same 32bit with 2gb ram , if it will cause problem we will other members of the team for compiling ]
Click to expand...
Click to collapse
@MameTozhio even I am also having college infact the exam are coming soon, but we could do work slowly accordingly , we don't need to do anything in hurry so @mr_nooby you can also join

gulsher said:
@MameTozhio even I am also having college infact the exam are coming soon, but we could do work slowly accordingly , we don't need to do anything in hurry so @mr_nooby you can also join
Click to expand...
Click to collapse
Okay but our timezone.........
Hmm
sent from my Sensation XE

mr_nooby said:
Vm is fine if you have a LOT of ram, because otherwise the compiling process will take days lol..
If you make a partition, make it at least 70gb, some sources are even 50gbs..
Click to expand...
Click to collapse
70gb need to free some space then
is there a specific version of Linux OS needed..as suggested by OP ubuntu..can't we use redhat,linspire etc etc

Related

Android open source available.

Anyone intend to create a build for the dash if possible?
http://source.android.com/posts/opensource
I will look into this, hopefully some more people will be willing to help out...
Dang this is harder then I thought but I think it could be done...
No one has even gotten android to run on anything but a dream that i know of, and the source has been out quite a while. Our project just getting linux running on a dash is proving to be quite a lot of work. Maybe once we get linux running we can move to android. Also visit #htc-linux on irc server freenode to see current progress on porting android to other devices.
BruteSource said:
No one has even gotten android to run on anything but a dream that i know of, and the source has been out quite a while. Our project just getting linux running on a dash is proving to be quite a lot of work. Maybe once we get linux running we can move to android. Also visit #htc-linux on irc server freenode to see current progress on porting android to other devices.
Click to expand...
Click to collapse
Thanks for the information, but I truly believe it could be done because what would prevent android from being installed on a dash...
Also, no one thought linux would get on the dash; however, it is possible now... thanks for the developers...
jdoggraz said:
Thanks for the information, but I truly believe it could be done because what would prevent android from being installed on a dash...
Also, no one thought linux would get on the dash; however, it is possible now... thanks for the developers...
Click to expand...
Click to collapse
Okay your misunderstanding a few things. First of all android is just a different distro of linux. To get it to work on the exclalibur we need to be able to boot a kernel and that kernel needs to work with all of our hardware. Which is what we are working on with the linwizard excalibur project. Once we get it working with all of our hardware we can patch the android kernel with all of our work then use the android userspace (android.bin) But untill we have working drivers for the excalibur in linux its not possible to boot and use android or any linux fully... understand?
Yah I understand what your are saying...

[Q] Roms

Is there anyone, who is able to port firefox os/ubuntu touch or sailfish os to lg g3? Could be nice to see it.
firefox os and ubuntu touch are 4.4.2 kitkat and not all repository are downloadable (this make them unbuildable) sailfish os is not open source, (if you find the source code i could take a look)
manups4e said:
firefox os and ubuntu touch are 4.4.2 kitkat and not all repository are downloadable (this make them unbuildable) sailfish os is not open source, (if you find the source code i could take a look)
Click to expand...
Click to collapse
Here you go mate, https://sailfishos.org/hadk would be amazing if you could build it!
Hey @manup4e nice to see you around these parts, I remember you from the HTC One L porting stuff. I just wanted to throw you this link: https://wiki.ubuntu.com/Touch/DeprecatedPorting for Ubuntu Touch, it is older and there is a new guide being written. Anyway I know it's possible, I had a "working" build for my HTC One m7 like a year ago. I'd be up to work on an Ubuntu port with you.
manups4e said:
firefox os and ubuntu touch are 4.4.2 kitkat and not all repository are downloadable (this make them unbuildable) sailfish os is not open source, (if you find the source code i could take a look)
Click to expand...
Click to collapse
Hey manups4e,
The link that theonlykamph posted takes you directly a page with great info on porting Sailfish to other devices, but the actual source files are kind of buried (at least when I went looking for it). I had downloaded them a few days ago and have them uploaded on my dropbox here if you want to grab it:
https://www.dropbox.com/sh/8bxxwj2h3lil0nb/AADnwQh_8EFoG4AEnt3xibRva?dl=0
This is the source and MD5sum for the ARMv7 chipset.
manups4e said:
firefox os and ubuntu touch are 4.4.2 kitkat and not all repository are downloadable (this make them unbuildable) sailfish os is not open source, (if you find the source code i could take a look)
Click to expand...
Click to collapse
I think this is the source code right? https://github.com/sailfishos
skiman10 said:
Hey @manup4e nice to see you around these parts, I remember you from the HTC One L porting stuff. I just wanted to throw you this link: https://wiki.ubuntu.com/Touch/DeprecatedPorting for Ubuntu Touch, it is older and there is a new guide being written. Anyway I know it's possible, I had a "working" build for my HTC One m7 like a year ago. I'd be up to work on an Ubuntu port with you.
Click to expand...
Click to collapse
i tried downloading sources a few times but some repos were undownloadable... both firefox and ubuntu sources use some aosp sources (stock aosp google sources) that make it unbuildable for g3.. if you build vanilla aosp for g3 you'll get lots of errors because some g3 drivers are not supported by google
---------- Post added at 09:48 AM ---------- Previous post was at 09:30 AM ----------
https://wiki.merproject.org/wiki/Adaptations/libhybris
are still sure you want it?
manups4e said:
i tried downloading sources a few times but some repos were undownloadable... both firefox and ubuntu sources use some aosp sources (stock aosp google sources) that make it unbuildable for g3.. if you build vanilla aosp for g3 you'll get lots of errors because some g3 drivers are not supported by google
---------- Post added at 09:48 AM ---------- Previous post was at 09:30 AM ----------
https://wiki.merproject.org/wiki/Adaptations/libhybris
are still sure you want it?
Click to expand...
Click to collapse
I see. But we don't know how sailfish os will be on lg g3, i mean if you look at nexus 4 they have a close to stable sailfish os. I have read a lot about portings roms. But i think, i found out that the rom you want to port, needs to come from a phone with the same specs right?
manups4e said:
i tried downloading sources a few times but some repos were undownloadable... both firefox and ubuntu sources use some aosp sources (stock aosp google sources) that make it unbuildable for g3.. if you build vanilla aosp for g3 you'll get lots of errors because some g3 drivers are not supported by google
---------- Post added at 09:48 AM ---------- Previous post was at 09:30 AM ----------
https://wiki.merproject.org/wiki/Adaptations/libhybris
are still sure you want it?
Click to expand...
Click to collapse
Right but if we build off a, I hate to say it, stable cm11 base like I did with the m7, it should work.
Sent from my Nexus 7 using Tapatalk
skiman10 said:
Right but if we build off a, I hate to say it, stable cm11 base like I did with the m7, it should work.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Mate are you able to do it? Would be amazing!
As we now have the source anybody able to build it?
Sent from my LG-D855 using XDA Free mobile app
theonlykamph said:
Mate are you able to do it? Would be amazing!
Click to expand...
Click to collapse
Ahh gosh. It'll take a lot of time. It's a very time consuming process. And I'm a high school senior just trying to finish up school. Honestly I don't know if it'll be worth the work I put into it if only a couple people want it.
skiman10 said:
Ahh gosh. It'll take a lot of time. It's a very time consuming process. And I'm a high school senior just trying to finish up school. Honestly I don't know if it'll be worth the work I put into it if only a couple people want it.
Click to expand...
Click to collapse
I get you mate. But i think we are more than a couple of people that want it. People always wanna try something new. So why not give it to them?
theonlykamph said:
I get you mate. But i think we are more than a couple of people that want it. People always wanna try something new. So why not give it to them?
Click to expand...
Click to collapse
I would very much like to see this os on g3 i have been keeping up with their hadk from v1.02 to v1.3. and setting up the mer sdk and chroot is not hard to do but. getting the respitory for your target device is the hassle and trying to get the hybrid libs to compile is not as easy as they make it sound i have tried multiple time for my secondary phone which had the same specs exact to the nexus 4. I know this can be done with each update they provide
xoLEOox said:
I would very much like to see this os on g3 i have been keeping up with their hadk from v1.02 to v1.3. and setting up the mer sdk and chroot is not hard to do but. getting the respitory for your target device is the hassle and trying to get the hybrid libs to compile is not as easy as they make it sound i have tried multiple time for my secondary phone which had the same specs exact to the nexus 4. I know this can be done with each update they provide
Click to expand...
Click to collapse
Knewed i wasn't the only one who wanted sailfish
Sailfish?! That sounds nice
Galaxysm said:
Sailfish?! That sounds nice
Click to expand...
Click to collapse
Amazing rom!
This is an FYI.
This forum is only for high-level discussion about LG G3 development (kernel modification, coding, building ROMs, etc). **Please do not post here if you are not a developer or your post will be deleted.* (Redirect)"]This forum is only for high-level discussion about LG G3 development (kernel modification, coding, building ROMs, etc). **Please do not post here if you are not a developer or your post will be deleted.*
Click to expand...
Click to collapse

[Q] Compile kernel

I thought of developing a kernel so that i can use it with my CM11 that im going to port shortly. I thought I'll compile the stock kernel from source itself. I use android pre-built tool chain (arm-eabi-4.6)
I get a lot of compiler errors on stock kernel without any modifications itself...
Do i need to change my tool chain?
Sent from my One V using XDA Free mobile app
I never tried to build the stock kernel, but I think they did it with the android 4.0 toolchain.
To run CM, you need a CM-Kernel. You have to port things from the stock or a custom kernel (like Hellboy by maxwen) to the cm11 kernel.
Try to use rastomanchiks kernel sources (https://github.com/rastomanchik/android_kernel_htc_primou). This kernel is mostly working, stable and has a good battery life now.
I'd also like to build cm11, but my download speed is to slow to download the sources.
Exactly. Even my download speed is slow. And i have a cap also. After 8GB, my download speed drastically decreases. It takes ages to sync the sources...
Sent from my One V using XDA Free mobile app
How different is Cm kernel from stock? I mean what changes should i make?
Sent from my One V using XDA Free mobile app
Cm needs many features which aren't included in the stock kernel and also you should get ION memory allocator working.
Help
jonas2790 said:
Cm needs many features which aren't included in the stock kernel and also you should get ION memory allocator working.
Click to expand...
Click to collapse
Yeah. How do I port?
What happened to your CM12 project?
hehaichi said:
Yeah. How do I port?
What happened to your CM12 project?
Click to expand...
Click to collapse
I started working on cm12 again yesterday and finally have cm11 sources now, so expect a cm11 build in some days
I can't help you with porting, because all the porting work was done by rastomanchik and I chatted with him. You'd have to ask him about this, but he wasn't online the last weeks and can't speak english without google translator.
jonas2790 said:
I started working on cm12 again yesterday and finally have cm11 sources now, so expect a cm11 build in some days
I can't help you with porting, because all the porting work was done by rastomanchik and I chatted with him. You'd have to ask him about this, but he wasn't online the last weeks and can't speak english without google translator.
Click to expand...
Click to collapse
Actually I insist on porting myself so that I can learn building properly.
Actually these things are also interesting.. fixing bugs and all...
Have series of exams till May end. I cant build properly until then. I thought why not learn something..
Where did you learn about building and other stuff. Also I want to build the device tree on my own.
If you could specify some sources to learn, that would be grateful!
hehaichi said:
Actually I insist on porting myself so that I can learn building properly.
Actually these things are also interesting.. fixing bugs and all...
Have series of exams till May end. I cant build properly until then. I thought why not learn something..
Where did you learn about building and other stuff. Also I want to build the device tree on my own.
If you could specify some sources to learn, that would be grateful!
Click to expand...
Click to collapse
This is exactly the same point of view I had when I started some months ago
Sadly, there isn't much documentation about own device trees and own kernels out there.
There also is no reference device tree, so every dev does it in his own way. I'm always trying to have a clean, easy device tree and use the CM ones as a reference.
You can find some tutorials about building cm, but only with downloading a ready-to-use device config and kernel.
I just played around with it one or two weeks and learned the most.
If you have enough time, please at least try to get into this stuff, maybe we can get cm12 running.
You can reach me on irc in the channel #hov on freenode.
jonas2790 said:
This is exactly the same point of view I had when I started some months ago
Sadly, there isn't much documentation about own device trees and own kernels out there.
There also is no reference device tree, so every dev does it in his own way. I'm always trying to have a clean, easy device tree and use the CM ones as a reference.
You can find some tutorials about building cm, but only with downloading a ready-to-use device config and kernel.
I just played around with it one or two weeks and learned the most.
If you have enough time, please at least try to get into this stuff, maybe we can get cm12 running.
You can reach me on irc in the channel #hov on freenode.
Click to expand...
Click to collapse
I have sufficient time only after May. Till then I'll have to do some research and learn the basics.
I saw on the CM wiki page, it says you can run a prebuilt kernel also... So would it work if we could tweak the stock kernel a bit?
And how do I apply patches to the kernel?
hehaichi said:
I have sufficient time only after May. Till then I'll have to do some research and learn the basics.
I saw on the CM wiki page, it says you can run a prebuilt kernel also... So would it work if we could tweak the stock kernel a bit?
And how do I apply patches to the kernel?
Click to expand...
Click to collapse
Yes you can use a prebuilt kernel, but it will only work if the kernel supports you cm version.
You apply patches to a kernel by changing files or directories in the kernel. For example you can use another fs module (maybe with more functions) by copy and pasting the folder for the module from another kernel. The problem is, the new module may require some functions your kernel does not have so it won't compile.
Hey i had mailed rastomanchik and he said 3.4.x kernel is an impossibility for cm11? Why?
Sent from my One V
hehaichi said:
Hey i had mailed rastomanchik and he said 3.4.x kernel is an impossibility for cm11? Why?
Sent from my One V
Click to expand...
Click to collapse
1. It would be much, much, much work.
2. I think there are some device-specific drivers that only work with 3.0
I'm ready to do that work only if i knew how to...
Sent from my One V
hehaichi said:
I'm ready to do that work only if i knew how to...
Sent from my One V
Click to expand...
Click to collapse
Try to get into it yourself or talk with people who know about kernel developement, I'm also new to android developement.

How to compile the oficial OOS sourcecode?

Hi,
Since OP released the source code of the OP3 I thought I would take a shot on compiling them.
I have a lot of experience with C++ on an application level and also did some minor work with windows drivers.
But on Linux I'm still a beginner.
Since the repository OP points to (https://github.com/OnePlusOSS/android/tree/oneplus3/6.0.1) contains only a shell script I guess I can't compile it on windows, right?
So I will go for a Linux VM, what OS should I use Ubuntu 12 or 14 or may be better Debian?
Also How much power does a machine need in order to compile a android image in a reasonable time frame? My PC has a 6 core i7 @ 4GHz with 64 GB of RAM, AFAIK I can give all cores to the VM and up to 32 GB or RAM.
Giving cores is no problem, but the more RAM I give the larger all the snapshots become, so what would be a recommended amount?
Also What tools do I need? I tried to run the pull_library.sh but it threw some errors as I did not have ADB installed in the VM, so before I try and try i thought I just ask what thing I'll need to swiftly succeed with my endeavor?
Cheers
David X.
DavidXanatos said:
Hi,
Since OP released the source code of the OP3 I thought I would take a shot on compiling them.
I have a lot of experience with C++ on an application level and also did some minor work with windows drivers.
But on Linux I'm still a beginner.
Since the repository OP points to (https://github.com/OnePlusOSS/android/tree/oneplus3/6.0.1) contains only a shell script I guess I can't compile it on windows, right?
So I will go for a Linux VM, what OS should I use Ubuntu 12 or 14 or may be better Debian?
Also How much power does a machine need in order to compile a android image in a reasonable time frame? My PC has a 6 core i7 @ 4GHz with 64 GB of RAM, AFAIK I can give all cores to the VM and up to 32 GB or RAM.
Giving cores is no problem, but the more RAM I give the larger all the snapshots become, so what would be a recommended amount?
Also What tools do I need? I tried to run the pull_library.sh but it threw some errors as I did not have ADB installed in the VM, so before I try and try i thought I just ask what thing I'll need to swiftly succeed with my endeavor?
Cheers
David X.
Click to expand...
Click to collapse
Why do you not asking this in the right section?
Maybe general or Q&A
Best Regards,
Taker
What are you expecting when trying to compiling this ? It's the device tree and the kernel, not a full rom that you can install and run on your phone. Maybe you should look at how to compile a full rom like cm13. (if you want to compile something with your beast). There are plenty of tutorials.
_Man0waR_ said:
What are you expecting when trying to compiling this ? It's the device tree and the kernel, not a full rom that you can install and run on your phone. Maybe you should look at how to compile a full rom like cm13. (if you want to compile something with your beast). There are plenty of tutorials.
Click to expand...
Click to collapse
and where would I find those?
DavidXanatos said:
and where would I find those?
Click to expand...
Click to collapse
perhaps by searching? there is a whole thread about building cm13 in Guides, News and Discussion. And google should bring you many results. I know I searched when I wanted to build my first rom a couple of years ago.
DavidXanatos said:
and where would I find those?
Click to expand...
Click to collapse
Come on. There is even a thread dedicated to building cm13 for the OP3. It should help you to start. There are several useful links inside the thread too. It's almost the same for any android rom (with a few adjustments).
http://forum.xda-developers.com/oneplus-3/how-to/learning-to-build-cm13-t3406725
Feel free to ask questions there if you get stuck. It should get you busy until we have official nightlies.
Good luck ! But please don't create a new thread 'Unofficial cm13 build'. We have enough of them
DavidXanatos said:
and where would I find those?
Click to expand...
Click to collapse
You will never be able to build yourself if you ask people where to find those.
Sent from my ONEPLUS A3000 using XDA-Developers mobile app

[JDCTeam] Ubuntu Touch (UBPorts) for jflte devices [EXPERIMENTAL]

Hello guys. Since i am kinda bored of those ROMs i was thinking about a new project. So i managed to port Ubuntu Touch to jflte devices.
But first lets explain something....
!!!!!!!!THIS BUILD IS NOT SUPPOSED TO BE USED AS A DAILY DRIVER!!!!!!!​
Almost nothing works...its just boots....No camera, not even charging....Although wifi is working
Also, the installation process is not as simple as flashing android roms. Since we dont flash Google android rom, there is no a flashable zip as it would be with any other rom. So the installation is a bit...tricky and for now, i managed to do it only using Ubuntu. i guess you can do it with windows10 WSL too.... OR you can simply install ubuntu to a VM (I use 20 LTS)
lets move on:
manifests/README.mkdn at ubuntutouch · JDCTeam/manifests
Android manifest to sync projects. Contribute to JDCTeam/manifests development by creating an account on GitHub.
github.com
reserved
some screenshots
reserved
hey! wanna try to redo it but with Q/R trees? should be fun as well
IGor2Orel said:
hey! wanna try to redo it but with Q/R trees? should be fun as well
Click to expand...
Click to collapse
Q/R trees?
side said:
Q/R trees?
Click to expand...
Click to collapse
halium has a variant for q/r, shouldn't it have something handled differently?
IGor2Orel said:
halium has a variant for q/r, shouldn't it have something handled differently?
Click to expand...
Click to collapse
i am kinda outdated from halium side mate...i have stopped this rom since noone used it
also i am a guy who would like to develop everything from the beginning...so i started with my lineage tree

Categories

Resources