ROM building and porting - Sprint HTC EVO 4G LTE

I am going to start building roms and porting roms etc. I may not be a developer, but when I am to a level of satisfaction with myself, I probably will be. I am posting this here because I will be building for this phone.
I recently acquired a windows vista laptop with major (I mean MAJOR) software issues and driver conflicts that I have been able to fix, as the PC could not even boot into an OS, I will be installing windows 7 ultimate when the download finishes. I am not a noob when it comes to working with PCs and etc.
So please post and tips, tricks, guides, and general help here or PM me.
I would have started sooner if I had the computer to use and work on.
I plan on learning more than just building and compiling but that would be a good start.

Link420able said:
I am going to start building roms and porting roms etc. I may not be a developer, but when I am to a level of satisfaction with myself, I probably will be. I am posting this here because I will be building for this phone.
I recently acquired a windows vista laptop with major (I mean MAJOR) software issues and driver conflicts that I have been able to fix, as the PC could not even boot into an OS, I will be installing windows 7 ultimate when the download finishes. I am not a noob when it comes to working with PCs and etc.
So please post and tips, tricks, guides, and general help here or PM me.
I would have started sooner if I had the computer to use and work on.
I plan on learning more than just building and compiling but that would be a good start.
Click to expand...
Click to collapse
First tip - ditch Windows and use a Linux distro. I use Ubuntu. A LOT easier to build from source using a native machine, imo.

Dual-boot that ****. I need me my Win8.1 for stuff like rearranging tiles for no reason.

Actually, I get to rebuild my computer tower when I get a chance to use my friends spare parts. My laptops motherboard went out yesterday about 20 minutes after I installed ubuntu, And it was a dual boot. Ruined my day. So hopefully I'll be able to restart the project when I get the tower rebuilt. As it is from about 2002 with 512mb of ram. Could be a few days or weeks, who knows.

Related

XDA running linux

I saw this a while ago, and tonight I ran into this:
http://pigeond.net/photos/xda-linux/
I run Debian GNU/Linux on my desktop at home, and I'm not a big fan of the SynCE project since I'm a GNOME user and a vast majority of the SynCE tools are built for KDE. So, I would love nothing more than to be able to run Linux on my XDA.
Has any progress been made with this? It looks like someone got linux running on the XDA, but even if we got X working, what kind of task would it be to develop a phone app? What kind of support is needed before this can happen?
Does anyone know anything about the progress? =]
It seems, that this project is located on sourceforge
Here is the Link ...
http://sourceforge.net/projects/xanadux/
perhaps start the job with him.
I am also willing to help, but not familar with linux at all.
status of linux
Hi,
As you may have seen from other posts too, the Linux porting effort has been severely stalled more than once. Currently pigeon posted some progress here on the board which is about similar to what the xanadux project was in. Unfortunately no one currently has time to work further on this. I think pigeon probably will be making the most progress, and possibly we will integrate it all into one place some day. Seeing the current number of contributors and amount of time available I wouldn't hold my breath though ...

[Q] Which Linux OS is Prefered?

So I want to get into developing, I heard that Linux is where I should start. But there are a bunch of linux OS out there. Which one is suggested?
Any insight would greatly be appreciated.
P.S. I hope this is the right place to post this
I started with Ubuntu 10.04 but I found myself going to fedora 13 until my computer fried. Lol. Well I think Ubuntu 10.10 is out now could be wrong but it was in its beta stage in June so it should be done lol anyway Ubuntu is for more of the beginner stages of switching over so if your fresh with Linux I think that'd be the best way to go till you get your feet wet. Then I would move up to fedora or something along those lines. But that's my honest opinion people progress differently. I hope this helps
Sent from my FroShedYo.V6 using XDA App
I downloaded 10.10 to a disk so one I get my had drive hopefuly today ill get it installed
Sent from my SPH-D700 using XDA App
Well I wish you luck and welcome aboard the Linux train lmao
Sent from my FroShedYo.V6 using XDA App
I use Ubuntu 9.10 for my Kitchen.
I'm hardcore like that.
I'm running Ubuntu 10.10 on 3 of my computers (2Desktops & 1Laptop) and I love it. Very nice.
Usually I am on the latest Ubuntu release, but for the easy editing, I use Windows7, with Cygwin for the kitchen. Of course, this is only for ROM editing, so no buildig or such things under cyg, but for ROM dev, it is perfect. And I can keep TotalCommander and Notepad++ too
Ubuntu
If you want to be building ROM I'd vouch for Ubuntu.
All you need to do is set-up 10.4 ( so far most stable )
And then run this
sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
This will get all the packages you need. Then follow instructions on [google for building android apt-get, can't post the direct link due to my account being to new here] and happy coding.
You might also want to install Eclipse and ADT.
Also, if you want to be on the cutting edge keep in mind that newer versions of Android platform require 64-bit system for building.
If all you need is to develop the apps, you can use whatever you want as long as it runs Eclipse. [ Windows / MacOS / Most of the major linux distros ]
-- Vlad
On ubuntu it said the 32 bit is suggested. Why is that?
Sent from my SPH-D700 using XDA App
I just switched to Ubuntu 10.10 from Vista and Im kicking myself for not switching along time ago. Its like getting a new computer again.
Start with Linux Mint. It's a redone version of Ubuntu basically. It's aimed towards being friendly to first time Linux users but still powerful enough for experienced users. It comes with some more drivers than Ubuntu so it's compatible with more hardware out of the box and you won't need to do command line stuff or mess with getting drivers installed. It's just an overall great first time linux user distro. I even use it still while I'm inbetween testing out other distros till I finally find one I like to stick with. I tell everyone I know to try out Linux Mint if it's their first time installing linux. One added bonus is it since it's based off of Ubuntu, it has access to all of Ubuntu's programs also through it's software manager. The lists go on. I'd say watch some reviews on youtube (no, not the one's by twelve year olds haha). Also, it's just more so a matter of taste and preference to find your perfect distro that you'll want to stick with. Ubuntu is just a well known one so most people tend to flock to it and use it. (Not that I hate Ubuntu or anything like that).
But anyways, I suggest LinuxMint to the first time users.
EDIT::
warlar12 said:
On ubuntu it said the 32 bit is suggested. Why is that?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I had heard that alot of the 64bit was still new (atleast with the Ubuntu and LinuxMint) and can be quirky at times. But it was about one year ago that I was told that by a member of the Ubuntu forums...I'm not sure how reputable he was, but I just remember him having a few thousand posts.
Although from my experience I would have to say I have not had any problems with 64bit. I have been messing with Linux a little here and there for about a year and half now, and finally got another computer (netbook) after about 8 months of sharing an ancient desktop so I'm starting all over again.
I would agree with Linux Mint. That is what I am on at the moment. I am also a moderator for PeppermintOS and that is incredibly fast on my netbook and laptop. So I would suggest either of those.
is there any place on the website that I can see the included drivers? The reason I am asking is because my wireless card needs the "Broadcam B43 wireless driver" and on ubuntu it is not included on the install
warlar12 said:
is there any place on the website that I can see the included drivers? The reason I am asking is because my wireless card needs the "Broadcam B43 wireless driver" and on ubuntu it is not included on the install
Click to expand...
Click to collapse
I'm not quite sure. I found that information about a year ago but can't remember where... I believe it was in the forums somewhere...
I do know that they like to include broadcom drivers as 2 laptops ago my laptop needed a broadcom wireless driver and a few others and linux mint worked right out of the box. My brother also needed the broadcom drivers and I told him to try LinuxMint and it worked right away.
Best way to see if it'll work is to run a live cd or liveusb and play with it and see if you like it better.
codybear said:
I'm not quite sure. I found that information about a year ago but can't remember where... I believe it was in the forums somewhere...
I do know that they like to include broadcom drivers as 2 laptops ago my laptop needed a broadcom wireless driver and a few others and linux mint worked right out of the box. My brother also needed the broadcom drivers and I told him to try LinuxMint and it worked right away.
Best way to see if it'll work is to run a live cd or liveusb and play with it and see if you like it better.
Click to expand...
Click to collapse
I think ill download it and mess around with it for a bit. And as for ubuntu I agree with the one who said it is just a well known OS. Many times people flock to things that are known, like Ipods vs Zune I prefer zune however many many people use ipod and have never touched a zune. Same goes for different OS, everyone flocks to the most known one and the others may in fact be better.
As for linuxMint. I notice they have a debian version now. Anyone use it here? I like debian and was thinking of installing it to see how good it was.
smokestack76 said:
As for linuxMint. I notice they have a debian version now. Anyone use it here? I like debian and was thinking of installing it to see how good it was.
Click to expand...
Click to collapse
Yes, that's the version I am running right now.
Also running PuppyLinux and Win7.
looking into ArchLinux and also DamnSmallLinux and TinyCore Linux.
Going to be trying those out in the near future.
Linuxmint is great. basically the same thing as ubuntu, but imo it is improved in many ways. lots dub it as a beginner linux, but you still have tons of functionality (possibly as much as ubuntu) and less install headaches. I prefer the UI most of all though.
moosefist said:
Linuxmint is great. basically the same thing as ubuntu, but imo it is improved in many ways. lots dub it as a beginner linux, but you still have tons of functionality (possibly as much as ubuntu) and less install headaches. I prefer the UI most of all though.
Click to expand...
Click to collapse
I have never really heard of any functionality that ubuntu has that linux mint does not. Maybe a program or command not being installed right out of the box, but you have access to all of ubuntu's packages/software/etc through the linux mint install program (drawing a blank and actually on windows for once...playing with a windows only programming language).
I have been using and falling more in love with puppy linux...it's becomming one of my favorites...it's about a 150 megabytes in size and boots into your ram so everything is insanely fast OS wise. To configure my wireless properly I did have to download my driver from my netbook manufacturer's site and locate the .inf file within it using ndiswrapper. It works perfectly fine and is pretty dang fast. I still have more distros to try out and see what has changed in the past year or so.
Will keep reporting back on occasion with my new linux love lol.
If you want a challenge (not so big as, say, Slackware), go for ArchLinux. I have it both on my work laptop and on my home desktop. It's a rolling release, so gets updated fairly frequently and offers a great deal of flexibility. Plus, you learn a LOT about the inner workings of Linux.

[Q] Lack of Player 4.2 ROMs

I am completely let down by the lack of custom ROMs for the Player 4.2. So, I've decided I'm going to start building my own from source. Before I start, however, I have many questions. Hopefully, developers of other Player devices can really help me out.
The first batch of questions before starting:
What Linux distribution should I build with?
How much space do I really need for a repo sync?
What is the best place to find a device tree?
And finally:
Is building difficult?
I have experience with syncing the repo but that's it; anything past that point, such as adding device support, has given me issues.
You can also PM me if you so wish, I'm on XDA every day and I will do my best to respond quickly.
Any help will be greatly appreciated, and if this is the wrong place to post this, please let me know right away to avoid further problems.
Why do we have to miss out on the great things this mobile operating system has to offer?
Cheers, 64kb.
64kb said:
I am completely let down by the lack of custom ROMs for the Player 4.2. So, I've decided I'm going to start building my own from source. Before I start, however, I have many questions. Hopefully, developers of other Player devices can really help me out.
The first batch of questions before starting:
What Linux distribution should I build with?
How much space do I really need for a repo sync?
What is the best place to find a device tree?
And finally:
Is building difficult?
I have experience with syncing the repo but that's it; anything past that point, such as adding device support, has given me issues.
You can also PM me if you so wish, I'm on XDA every day and I will do my best to respond quickly.
Any help will be greatly appreciated, and if this is the wrong place to post this, please let me know right away to avoid further problems.
Why do we have to miss out on the great things this mobile operating system has to offer?
Cheers, 64kb.
Click to expand...
Click to collapse
What Linux distribution should I build with?
While it may be technically possible to build on any Linux distro, a recent version of Ubuntu will probably have the most support. The developer site at google says that you should build on Ubuntu 10.04 and that Ubuntu 12.04 is experimental. I build on Ubuntu 12.04 and use xfce4 to reduce my memory foot print, plus heimdall does not work in 10.04 and I use it all the time for kernel builds.
How much space do I really need for a repo sync?
You download approximately 10 gigs ( give or take ) but you also "check out" the files which will take another 10 gigs. In addition you need space to build. If you are planning to use a virtual machine your going to need extra swap space. I uses VMware player and have allocated 1.4 gigs of ram and 15 gigs of swap. Google site recommends 16 gigs of ram/swap. I allocated 100 gigs to my VM.
What is the best place to find a device tree?
The best place to find a device tree would be github.com .Almost everyone who works on a rom or develops for android uses github.com
Is building difficult?
I've only been building for about a month and I will say that building is all over the spectrum of difficulty. If your building for a supported device then it probably really easy. I guess the player 4.2 is not supported so your task is probably going to be quite difficult. IMO, what you are trying to do should be done by someone with experience in building and you, in order to get experience, should build for a device that already has support so you can get the feel of how things are supposed to work. I realize that is not always possible but ideally...
Good luck!

[Q] Why is it so difficult to port a ROM from one device to another

What's up guys, I've always wondered about it. You can get technical on me.
Now, I'm not saying it is an easy task. I know it is quite time consuming and I appreciate all the developers out there that invest their time in ROM Cooking. I just don't understand why.
As far as I understand, android is just a virtual machine, that's why it's so easy to install into anything (even some windows phones) and that's why we need huge processing power to get a smooth interface in comparison to an iPhone 4.
If it's just a virtual machine, shouldn't it be easy to port ROMs? you know, like how I would install MAC OS on my Windows computer without much trouble with a virtual machine. I know we have drivers to take into account and all that stuff, but drivers are already available.
For example, there is NexSense (a Sense 6 port for the Nexus 5) and the camera doesn't work (I would assume because of driver issues). Can't I just take the camera driver from my stock ROM and shove it into the Sense ROM and call it a day? I know it's not that easy, but why isn't it?
I feel like I'm debating the meaning of life here hahaha...
Thank you for all your answers in advance
Kenchinito said:
What's up guys, I've always wondered about it. You can get technical on me.
Now, I'm not saying it is an easy task. I know it is quite time consuming and I appreciate all the developers out there that invest their time in ROM Cooking. I just don't understand why.
As far as I understand, android is just a virtual machine, that's why it's so easy to install into anything (even some windows phones) and that's why we need huge processing power to get a smooth interface in comparison to an iPhone 4.
If it's just a virtual machine, shouldn't it be easy to port ROMs? you know, like how I would install MAC OS on my Windows computer without much trouble with a virtual machine. I know we have drivers to take into account and all that stuff, but drivers are already available.
For example, there is NexSense (a Sense 6 port for the Nexus 5) and the camera doesn't work (I would assume because of driver issues). Can't I just take the camera driver from my stock ROM and shove it into the Sense ROM and call it a day? I know it's not that easy, but why isn't it?
I feel like I'm debating the meaning of life here hahaha...
Thank you for all your answers in advance
Click to expand...
Click to collapse
This is because most apps are connected to the main frameworks files. Like your camera apk. The app is not completely self contained. It requires HTC framework files which is built to run on only HTC devices. Then you add in the needed kernels which are device dependent. And that is just the beginning. Not to mention a lot of this stuff is closed sourced so porting is not easy.

Getting Nvidia and AMD proprietary drivers in Remix

If NVidia cooperated with Android x86 team to provide a way for end users to install the proprietary drivers, we will get full featured experience from our GPUs. I'm imagining a scenario of a root application or an application pre added to Android x86 and its forks that can download the needed files and place them in system. Also the kernel should be aware how to use the newly added driver. Nouveau and similar one for AMD actually degrades the performance too much. It also overheats and it won't work for all GPU cards. So I made a petition on change.com for this. We need +10k signatures so that we can contact NVidia and AMD to help the android x86 team achieve the change and be able to use the drivers. This petition can change the future of remix OS. We will play ALL games with the highest possible performance. Please people sign this petition, it will take less than a minute. Any suggestions are welcomed.
https://www.change.org/p/mohammed-d...source=share_for_starters&utm_medium=copyLink
Moderators: I'm sorry for posting this again. If you find it necessary please delete the old thread not this one.
Look. When was the last time a company was coerced into doing something via a petition? Your effort is laughable. You gather a bunch of teenage kids to sign a fragment of text online hoping rocket science companies will even look at you. NVidia? Really? Asking for open source drivers for Remix OS? Who is Remix OS again? Why don't you stop the non sense and just buy a Google supported device - a chromebook or a chromebox, which will have the Android Play Store in a month anyway. Supported HDMI audio, accelerated graphics, native screen resolution, printing - out of the box.
Why do you Linux guys like to be so sadistic I will never understand. All I read on your forums is how to make your hardware work. Don't you ever get bored of this? Scrap your PC - it's 2016. PCs are falling, Windows is falling. You have no need for a PC. Get a chromebook, officially supported by Google, and get on with your life on a fully working device.
or29544 said:
Look. When was the last time a company was coerced into doing something via a petition? Your effort is laughable. You gather a bunch of teenage kids to sign a fragment of text online hoping rocket science companies will even look at you. NVidia? Really? Asking for open source drivers for Remix OS? Who is Remix OS again? Why don't you stop the non sense and just buy a Google supported device - a chromebook or a chromebox, which will have the Android Play Store in a month anyway. Supported HDMI audio, accelerated graphics, native screen resolution, printing - out of the box.
Why do you Linux guys like to be so sadistic I will never understand. All I read on your forums is how to make your hardware work. Don't you ever get bored of this? Scrap your PC - it's 2016. PCs are falling, Windows is falling. You have no need for a PC. Get a chromebook, officially supported by Google, and get on with your life on a fully working device.
Click to expand...
Click to collapse
It is clear that you have no respect for other peoples' hobbies, at least in this case.
Take the thing that you like to do the most, and that you get the most pleasure from doing, and think to yourself that some people would tell something along the same lines of what you had posted here, and you may understand.
I assure you, there is no sadism here (or maschoism), but instead a passion for computers.
While I personally do not think that they will listen, it's worth a try, miracles do happen.
Please do not take this too harshly, I only wanted you to understand the situation and the gravity of what you had posted, not to start a feud.
or29544 said:
Look. When was the last time a company was coerced into doing something via a petition? Your effort is laughable. You gather a bunch of teenage kids to sign a fragment of text online hoping rocket science companies will even look at you. NVidia? Really? Asking for open source drivers for Remix OS? Who is Remix OS again? Why don't you stop the non sense and just buy a Google supported device - a chromebook or a chromebox, which will have the Android Play Store in a month anyway. Supported HDMI audio, accelerated graphics, native screen resolution, printing - out of the box.
Why do you Linux guys like to be so sadistic I will never understand. All I read on your forums is how to make your hardware work. Don't you ever get bored of this? Scrap your PC - it's 2016. PCs are falling, Windows is falling. You have no need for a PC. Get a chromebook, officially supported by Google, and get on with your life on a fully working device.
Click to expand...
Click to collapse
I already have a MacBook with everything working out of the box. I'm trying to make remix work on my old laptop, and there is nothing wrong with this. It already has Windows 10 working blazing fast and stable. We - the linux community - find it interesting to 'make things work'. This is our hobby. I don't know why are you replying here, I mean your reply has nothing important. Remix OS is getting more fame and will be competing Windows soon. Please do respect that we are trying to make it work on our devices regardless if NVidia is a large company in comparison to Jide. Learn how to respect others before commenting or replying in XDA please. This place wasn't made for this.
Also did you read the Petition first? It states that we want a way to install the proprietary drivers. I didn't mention we want them open sourced LOL
OK honestly I was not expecting these answers. Indeed, the magic word is hobby. I would never waste my time with old devices. I simply find them obsolete. Hell, I find PCs obsolete now that chromebooks get the android play store. My understanding was that you guys simply want android apps on a desktop PC - and we will have that very soon, like...next month or so in a fully supported official google package. I want that. But you - you want something else. You simply want to tinker with your PCs and you will do that with any occasion. I get that and I respect that.
But as for me, Remix OS, Windows, Linux - whatever, that's not for me. I ran Linux, several distros, I ran Windows, I ran them enough. I need a simple, easy to use, unbreakable device - like a mobile phone, but on a large screen. And I want the android apps ecosystem. But I had enough tinkering. I want something that works. It's 2016 and I've been tinkering for 20 years now. I had enough. I will go the official google devices way. I don't want to loose my time on forums because my NVidia card does not work.
or29544 said:
OK honestly I was not expecting these answers. Indeed, the magic word is hobby. I would never waste my time with old devices. I simply find them obsolete. Hell, I find PCs obsolete now that chromebooks get the android play store. My understanding was that you guys simply want android apps on a desktop PC - and we will have that very soon, like...next month or so in a fully supported official google package. I want that. But you - you want something else. You simply want to tinker with your PCs and you will do that with any occasion. I get that and I respect that.
But as for me, Remix OS, Windows, Linux - whatever, that's not for me. I ran Linux, several distros, I ran Windows, I ran them enough. I need a simple, easy to use, unbreakable device - like a mobile phone, but on a large screen. And I want the android apps ecosystem. But I had enough tinkering. I want something that works. It's 2016 and I've been tinkering for 20 years now. I had enough. I will go the official google devices way. I don't want to loose my time on forums because my NVidia card does not work.
Click to expand...
Click to collapse
I understand how you feel, since I had met many people who went that way.
There's nothing wrong with that, but please don't try forgetting that other people like to use their devices in different ways, whether just using, trying to make (or break) things, trying to to own them, etc..
What is important is that we enjoy whichever way we chose, and that what needs to get done is done.

Categories

Resources