Wanting to get into cooking roms ect and need some help - HTC EVO 3D

Hi XDA, i wan't to look into developing roms, for the Evo 3D GSM in particular, im new to any kind of android development so looking for support, i have done some development before but only in visual studio + XNA game studio.
I will need help setting up my development pc from scratch which could either be of two setups that are listed below:
Acer Aspire M1500
Windows 7 Desktop
AMD Athlon 64 X2 Dual Core 4000+ 2.10GHz
3GB DDR2 RAM
1TB HDD, 750GB HDD, 200GB HDD, 160GB HDD
512MB DDR2 ATI Radeon HD4350 Graphics Card
I can setup a dual boot with ubuntu/linux but as this is my main pc i'd like to keep it as it is, but that depends whether my next pc can handle development.
Samsung NC10
Windows 7 + Android x86 ICS Build
Intel Athlon 1.66GHz Single Core
1GB DDR2 RAM
250GB HDD
256MB Intel GMA950 (Integrated) Graphics Card
Ideally i'd like to use my netbook as i rarely use it and if a dual boot were to mess up it wouldn't matter as there's nothing important on the Windows 7 install but if i can develop from within windows 7 via VM ect then i'll use the desktop as it has a larger monitor hooked up to it so if someone can point me in the right direction i'd highly appreciate it.
If a DEV can spare some time to help add to the DEV scene (noticed the GSM Evo has a very small amount of DEV's) I'd be willing to donate my time to use my phone to help out with testing builds ect.
Thanks in advance
-XeX_DuBwoofer_x
EDIT: Going to dual boot with Ubuntu 12.04, what do people recommend? install onto my netbook's second partition (currently has android installed) reccomend me a partition size!
OR
install to the 160GB HDD in my desktop

50GB will be enough for Ubuntu (or Arch, or Gentoo, or Debian, or whatever) + Android sources + compilation stuff.
I would suggest to use ArchLinux tho - it's more optimized and like a bleeding edge.
There is no matter on what you should develop - but IMHO it will be easier under native linux (not virtualized).
After installing system the only thing you need to start develop - download sources and edit them
Compilation stuff is easy as a pie - get repo's, "lunch", "mka bacon". To rebuild 1 thing do "mm" at root directory of that thing.
Do you want to know more? I hope I can help you somehow...
BTW I quite sure that you can build whole android on your netbook but it will be like 10-12 hours of building. Also it will run out of memory sometimes, so you will need to restart "mka bacon" OR you can do it with "make bacon" - it requires less memory and (as you have only 1 CPU) it can be the right way.
You need to check yourself the time of compilation. Also you can train your skills about installing linux
I think you shouldnt remove android from second partition - instead you can use "gparted" while booted to live Ubuntu to resize partitions online. That can lead to loss of data but I never had one. (I was resizing ntfs, fat32, ext2, ext3, ext4, reiserfs)
Actually I'm not quite sure bout how much RAM should you have, but I think 16GB is enough On my new laptop (which is now unusable due to coller stuff, but rescue flies from China right now) it could ran of memory with 8GB of RAM.

SecFry said:
50GB will be enough for Ubuntu (or Arch, or Gentoo, or Debian, or whatever) + Android sources + compilation stuff.
I would suggest to use ArchLinux tho - it's more optimized and like a bleeding edge.
There is no matter on what you should develop - but IMHO it will be easier under native linux (not virtualized).
After installing system the only thing you need to start develop - download sources and edit them
Compilation stuff is easy as a pie - get repo's, "lunch", "mka bacon". To rebuild 1 thing do "mm" at root directory of that thing.
Do you want to know more? I hope I can help you somehow...
Click to expand...
Click to collapse
Thanks for checking this out i will take your suggestions as im a massive noob where Android development concerns me.
I'll install it on my desktops 160GB HDD and add another NTFS partition for all work i do so i can access it from windows easily, so firstly i will download and install ArchLinux on my pc, if you can run me through everything from installing everything on ArchLinux to starting a CM9/AOSP ICS Evo 3D GSM Rom that would be great i have no idea what i need to download ect
P.S i tried your rom out and i like it but i'd like to be able to contribute to things
EDIT: I'll covert my 160GB HDD into 2 Partitions 1x 60GB for ArchLinux + 100GB For everything else

1. Get free space on HDD.
Do it with gparted on ubuntu live or with console like things.
2. Make partition setup.
Do it with gparted on ubuntu live or you can do it in ArchLinux installation process.
3. Then download "https://www.archlinux.org/iso/2011.08.19/archlinux-2011.08.19-core-i686.iso.torrent" - x86 build.
Or this one - "https://www.archlinux.org/iso/2011.08.19/archlinux-2011.08.19-core-x86_64.iso.torrent" - x64 build.
4. Read this until point 4 - https://wiki.archlinux.org/index.php/Beginners'_Guide
BTW if you arent new to Linux, you can read this also - https://wiki.archlinux.org/index.php/Official_Installation_Guide
5. Install ArchLinux
6. Read the rest of - https://wiki.archlinux.org/index.php/Beginners'_Guide
7. While being root, run:
# pacman -Syu openjdk6 schedtool pngcrush curl
8. While being normal user, run: (http://source.android.com/source/downloading.html - Installing repo)
$ mkdir ~/bin
$ echo PATH="~/bin:\$PATH" >> ~/.bashrc
$ echo USE_CCACHE=1 >> ~/.bashrc
Logout, login and run:
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
9. Then do (https://github.com/CyanogenMod/android)
$ mkdir android_source
$ cd android_source
$ repo init -u git://github.com/CyanogenMod/android.git -b ics
$ repo sync
$ . build/envsetup.sh
To build android do:
$ lunch
$ mka bacon

I'm installing Ubuntu 12.04 Desktop as ArchLinux is giving me an error when booting from usb to install
EDIT: installing Ubuntu 10.04 as Android open source site says 10.04 is recommended
EDIT #2: I'm really beginning to dislike this already lol i can't get anything to install correctly on my pc for a dual boot setup other than getting ubuntu 12.04 to install but the open source site says "You will need a 64-bit version of Ubuntu. Ubuntu 10.04 is recommended. Building using a newer version of Ubuntu is currently only experimentally supported and is not guaranteed to work on branches other than master."
last ditch attempt to install Arch Linux, im using LiLi to download the iso and create a bootable usb to install it to my desktop's HDD fingers crossed it works, linux is a bum at times

Arch Linux install failed again with the error not enough memory to load desired image, i've just installed Ubuntu 12.04 fine but can't work out why Ubuntu 10.04 won't?

FIXED Arch Linux! had to disable "Memory Hole" in bios and now it's installing fine

I am going to cook roms also i am far on the way, just compiled my first htc evo 3D kernel, maybe we can fix those thing together? (Btw the kernel works but wifi is broken... )

Goob job! You are managed to pass tho your linux install
Now in console it's enough to contunie from step 7 of my miniguide.
If you want some GUI - you should read this https://wiki.archlinux.org/index.php/Xorg
As miniguide again its "pacman -S xorg-server xfce4 xfce4-goodies" and then "startxfce4" in console.

sjoerd0301 said:
I am going to cook roms also i am far on the way, just compiled my first htc evo 3D kernel, maybe we can fix those thing together? (Btw the kernel works but wifi is broken... )
Click to expand...
Click to collapse
Sounds goot to me! when i have the Arch Linux install all setup will hit you up!
SecFry said:
Goob job! You are managed to pass tho your linux install
Now in console it's enough to contunie from step 7 of my miniguide.
If you want some GUI - you should read this https://wiki.archlinux.org/index.php/Xorg
As miniguide again its "pacman -S xorg-server xfce4 xfce4-goodies" and then "startxfce4" in console.
Click to expand...
Click to collapse
Cheers man! couldn't have done it without your help, im going install both Xorg & KDE as i've used KDE in backtrack before it was more like a normal windows desktop setup

Which linux do you use now then?
I build using ubuntu.
Anybody knows how to build the wifi module for shooter_u ?

sjoerd0301 said:
Which linux do you use now then?
I build using ubuntu.
Anybody knows how to build the wifi module for shooter_u ?
Click to expand...
Click to collapse
currently i have setup Archlinux i686 version and im running KDE ontop so it has a GUI appearance

XeX_DuBwoofer_x said:
currently i have setup Archlinux i686 version and im running KDE ontop so it has a GUI appearance
Click to expand...
Click to collapse
The 64 bit version right? U really need a 64 bit environment

sjoerd0301 said:
The 64 bit version right? U really need a 64 bit environment
Click to expand...
Click to collapse
I686 is 64 bit yes but I can't seem to download multilib stuff :S

I told ya to use ubuntu or li ux mint or so.. i am building android right NOW !

sjoerd0301 said:
I told ya to use ubuntu or li ux mint or so.. i am building android right NOW !
Click to expand...
Click to collapse
yeah i installed Ubuntu 10.04 Lucid Lynx 64bit onto my other hdd downloading the JB repo atm then gonna download ICS

Actually i686 is x86. x86_64 aka amd64 aka x64 is different.
And no problem I'm pretty happy to see people trying to join dev-scene!

SecFry said:
Actually i686 is x86. x86_64 aka amd64 aka x64 is different.
And no problem I'm pretty happy to see people trying to join dev-scene!
Click to expand...
Click to collapse
realised that after i checked arch linux's info lol it said to download it for amd64 processors? :L i got messed up as my windows os was 32 bit and i copied the i386 folder (for drivers) and thought that was the architecture version lol! i got Ubuntu 10.04 LTS 64bit from their site now as its easier to work with

Related

linux distros?

What can be run on the hero?I have tried fedora and ubuntu as wwell as yellow dog on my ps3 and wondered if ubuntu could be installed on my hero
i have run several flavors of ubuntu with success. basically you can run every distro that has an arm compiled release...
ok thanks! how did they run? which do you prefer and where do i start lol i have read i need a kernel with loopbaack support is this true?
http://www.villainrom.co.uk/viewtopic.php?f=24&t=327
here is a very nice writeup how to do it with bind mounts and ext partitions on your sdcard.
tbh, it is all painfully slow. expect five to ten minutes startup time for a graphical desktop. all the graphical stuff is more like a proof of concept. the interesting part is with the command line tools, all those you know are there. i haven't tested it very extensivly, can't say anything about performance. i did get a gnome desktop via vnc from my phone

Linux distro - problem to choose

Which distro for android development could you suggest to try, other than Ubuntu?
Will Arch, Slackware, Backtrack, Mint, Fedora work?
I'm using Backtrack, but just in case of tools included, its based on ubuntu too but this one isn't best for everyday use.
I have Mint on CD, Ubuntu via Wubi, Arch via VirtualBox, and just downloaded Slack, now waiting for new Fedora too and I'm cofused of all of this distroch, which would be good for everyday use to switch from Windows7.
I used Fedora 12 on old PC and I had problems with drivers, where Ubuntu was just fine.
Ubuntu now has Unity which I hate, thats the main reason why I want change.
Arch, I've installed it just on VirtualBox as I can't describe myself as complete Linux expert, nor beginner (I dont want to mess up partitions) but its working pretty fast and need a lot of time to set it up, but everyone tells its nice and I can't feel really why its better than another distros, most linux are the same but Pacman here is nice tool.
I've used Mint but there most confusing problem for me is that it's based on Ubuntu so its 2nd remake (mean Debian>Ubuntu>Mint), which can be unstable, because first Ubuntu days wasn't best and its young distro and I don't want to switch in a month to another distro due to unstability or errors but I really enjoyed using it.
Well, since you said other than Ubuntu, I'll have to recommend Fedora.
Oh I forgot that if other GUI is viable for development I can also switch to Kubuntu or other KDE/LXDE/XFCE desktop distro - I hate Unity the most in Ubuntu.

Need help with Ubuntu

Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
I thought you said you were a dev over in the Epic sub forums. If you were a dev, Linux and bootloader installs should be second nature.
Sent from my SPH-D700 using Tapatalk 2
You can use the wubi installer that should be on the ubuntu DVD ISO that you downloaded.
DroidModder said:
Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
Click to expand...
Click to collapse
The Ubuntu installer should handle all that. Since you already have windows you just need to shrink the windows partition to make room for Ubuntu and install Ubuntu to the free space. Once installed Ubuntu uses the grub bootloader which will give you the option of which system to boot into everytime you start up the computer.
As far as commands and installing stuff goes you may as well start reading up on it. You'll need to know how to use the Terminal to develop in Linux. Its not complicated once you learn common commands, etc. Also, I recommend using Gnome classic or kde as your desktop environment if you want something that looks similar to Windows. I'm a KDE person myself.
Sent from my SAMSUNG-SGH-I777 using XDA
1º Windows
2º Ubuntu!
I'm building on12.04 with zero problems...just my $0.02. And like the other's said just install Ubuntu takes care of all that stuff.
Oh and ALWAYS create a backup before you start installing new OS's!
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
DroidModder said:
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
Click to expand...
Click to collapse
When I get on a computer I'll write up how I got my laptop to dual boot Windows and Ubuntu. I've actually got it triple booting Mac OSX as well.
私のEVO 3Dから送信される。
to setup a dual boot system, u only need a free partition to install linux. a very basic linux installation u have to create root partition and swap partition. u can find installation guide online, its not that hard to setup a dual boot between linux and windows.
Okay cool. Because id like to get into Rom development,etc so I need Ubuntu or Mac OS X. Not too sure which ones better though. I assume Ubuntu is because its Linux and that's Android runs on
Droid Syndicate
Leader/Founder

[Q] USB Boot Ubuntu

I have a Windows 7 64-bit Desktop with a 3.1 GHz AMD Athlon processor, and around 4GB of RAM. I was wondering if someone could point me in the right direction. I want to learn to build android from source, but the better step-by-step guides are for ubuntu. If I were to get ubuntu, I would want to boot from a USB flash drive. Would an 8GB USB flash drive be sufficient for setting up ubuntu, the android sdk, and building a rom? Can I use my PC's harddrive for storage while ubuntu is running from the USB? I have found that Ubuntu 10.04 is recommended for android development from source. The only problem is that there are so many different downloads and files with different file sizes no matter how much I search. If someone could answer my questions and post a link with the ubuntu image, and perhaps a guide on how to install it on my usb, I would be very joyous.
Codename13 said:
I have a Windows 7 64-bit Desktop with a 3.1 GHz AMD Athlon processor, and around 4GB of RAM. I was wondering if someone could point me in the right direction. I want to learn to build android from source, but the better step-by-step guides are for ubuntu. If I were to get ubuntu, I would want to boot from a USB flash drive. Would an 8GB USB flash drive be sufficient for setting up ubuntu, the android sdk, and building a rom? Can I use my PC's harddrive for storage while ubuntu is running from the USB? I have found that Ubuntu 10.04 is recommended for android development from source. The only problem is that there are so many different downloads and files with different file sizes no matter how much I search. If someone could answer my questions and post a link with the ubuntu image, and perhaps a guide on how to install it on my usb, I would be very joyous.
Click to expand...
Click to collapse
you could run ubuntu live off of a usb, but it would be painfully slow. Especially when you are doing cpu/ram intensive tasks like compiling.
Id recomend doing one of the folllowing things:
First/Better option: install ubuntu onto your computer in a dualboot with windows 7
-it will be faster because it will be installed on your computer rather than having to read from the usb
-also faster because all of your cpu and ram are being dedicated to ubuntu
-some people see the word dualbooting and immediately think that its too hard but it isnt. Watch this tutorial: Click here for tutorial
Second option: install ubuntu in a virtual machine within windows 7
-this will be slower because you need to share your computers hardware with windows 7 and ubuntu at the same time
-heres a tutorial on how to do this: Click here for tutorial
Also heres the download link for ubuntu 12.10 (the newest version 64 bit): http://releases.ubuntu.com/quantal/ubuntu-12.10-desktop-amd64.iso
Some people say that 10.04 is better, but i know lots of devs that use 12.10.
If you still want 10.04 here it is: http://releases.ubuntu.com/lucid/ubuntu-10.04.4-desktop-amd64.iso
Yup...true..you can run ubuntu live cd/pendrive but it will be really slow as said earlier.
So wat u do is to download that ubuntu image files.
Then you can use 'unetbootin' for making bootable pendrive.
And 8gb is enough(though 4 will also not be problem in anyway).
For easy installation partition your harddrive to make some 'unused' space(not free..delete the partition as ubuntu needs diffrent partition table,we don't need ntfs partition) for ubuntu.
Now install ubuntu with option 'install ubuntu alongside windows' and you are done with ubuntu part.
Now install android development kit and start working..all the best.
:thumbup::::thumbup:
Sent from my A52 using xda app-developers app

Native Arch Linux

I'm looking for a way to install arch Linux NATIVELY on the touchpad, I tried with kexec and the images available for it and it's all broken, it won't even complete the installation, I also tried this install guide with this image because the install guide uses images that are no longer available to download, but also no luck, there is also this post but the guy said it's really old and the txt file that is in his archive keeps repeating that it's "hacky".
So I really need a nice and modern approach, I know a lot about Linux, just not about porting so if someone wants to try and make a new port and a new installation method I could try to help.
We should really try to do this because it would bring a new life to the TP, imagine running i3-gaps on this beautiful piece of hardware.
Hope you guys can help me and before I post this I gotta say: "Btw, I use Arch".
arrudagates said:
I'm looking for a way to install arch Linux NATIVELY on the touchpad,
That will require a new Kernel and drivers for WiFI, Sound, Touch Screen and any other hardware.
I tried with kexec and the images available for it and it's all broken, it won't even complete the installation, I also tried this install guide with this image because the install guide uses images that are no longer available to download, but also no luck, there is also this post but the guy said it's really old and the txt file that is in his archive keeps repeating that it's "hacky".
So I really need a nice and modern approach, I know a lot about Linux, just not about porting so if someone wants to try and make a new port and a new installation method I could try to help.
We should really try to do this because it would bring a new life to the TP, imagine running i3-gaps on this beautiful piece of hardware.
Hope you guys can help me and before I post this I gotta say: "Btw, I use Arch".
Click to expand...
Click to collapse
The only way that I know that is reliable and works using the lastes Ubuntu, Debian or Arch in a chroot environment.
Click HERE for how to How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot.
HP_TOUCHPAD said:
The only way that I know that is reliable and works using the lastes Ubuntu, Debian or Arch in a chroot environment.
Click HERE for how to How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot.
Click to expand...
Click to collapse
I mean, that would work, but would require Android and wouldn't be native, I want to have arch and webos, both running native.
arrudagates said:
I mean, that would work, but would require Android and wouldn't be native, I want to have arch and webos, both running native.
Click to expand...
Click to collapse
The kernel is what makes the OS works by providing support for the hardware. WebOS Kernel is OLD and not supported by any current Linux, even LuneOS use the Android Kernel.
Android can be install and keep WebOS, it was a great OS but not nothing current will run on it.
Using the method posted, the most up to date and current Linux distribution of Arch, Debian, Ubuntu and more can all be install on the same Tablet running Android and use any Linux flavor without rebooting.
Android provides a very stable newer kernel that will share the resources with any listed Linux flavors and those built are native arm, runs super fast. If you want it to have all that done natively and not using Android, then the Kernel must be modified and all the "private drivers" ported to the most current version of Linux. The OS can not be updated as Linux will modify the Kernel, breaking everything. But everything is possible, is up to the user how much time and dedication plus the knowledge required to make it work.
HP_TOUCHPAD said:
The kernel is what makes the OS works by providing support for the hardware. WebOS Kernel is OLD and not supported by any current Linux, even LuneOS use the Android Kernel.
Android can be install and keep WebOS, it was a great OS but not nothing current will run on it.
Using the method posted, the most up to date and current Linux distribution of Arch, Debian, Ubuntu and more can all be install on the same Tablet running Android and use any Linux flavor without rebooting.
Android provides a very stable newer kernel that will share the resources with any listed Linux flavors and those built are native arm, runs super fast. If you want it to have all that done natively and not using Android, then the Kernel must be modified and all the "private drivers" ported to the most current version of Linux. The OS can not be updated as Linux will modify the Kernel, breaking everything. But everything is possible, is up to the user how much time and dedication plus the knowledge required to make it work.
Click to expand...
Click to collapse
I don't mind running old kernel/package versions, I am actually trying to run the old projects but most have the Images down and unavailable and the ones that don't just straight won't work.
arrudagates said:
I don't mind running old kernel/package versions, I am actually trying to run the old projects but most have the Images down and unavailable and the ones that don't just straight won't work.
Click to expand...
Click to collapse
I never installed any native Linux Os on the Tablet. The Ubuntu Touch was promising but never took off. The system must be stable for anything to be use otherwise is just experimental as most of those builds were. Running Linux in a Chroot environment is somewhat, not the same, as a Linux guest virtual machine and Android as a host.
That is the only way I know of, that is stable and current.
Ok so right now I have two more options available to try but they are probably not gonna work, in that case I'll start to look about making my own port of ArchLinuxARM
arrudagates said:
Ok so right now I have two more options available to try but they are probably not gonna work, in that case I'll start to look about making my own port of ArchLinuxARM
Click to expand...
Click to collapse
I did search for a working native linux OS for the Tablet, but did not found any.
It can surely be done, take a look at this video and the source at GitHub.
Youtube
https://www.youtube.com/watch?v=vx8_u1jhXJY
GitHub
https://github.com/CalcProgrammer1/kernel_tenderloin_debian
The Tablet uses LVM and can easily be partition in any way. It can also boot directly into Linux. The only thing to do is rename the file in /boot uImage.moboot to the Linux uImage ( example ) uImage.ArchLinux.
If any help, let me know.
Have fun!
I'm making some progress
arrudagates said:
I'm making some progress
Click to expand...
Click to collapse
Congratulations !
You did it ! once it boots is all it matters.
This is an idea, a chroot Arch can be built inside Android
A partition can be created in LVM Arch_Linux ( any size )
Inside Android with the App I posted, create the Chroot Arch Linux ( up to date )
Then modify the Ramdisk to direct at the partition Arch_Linux ( same it was use in the Chroot )
Then it should boot up ( some other changes will need to happen I guess)
Arch armv7l as chroot in Android 8.1 with HpTp_MAX
Testing the new kernel settings in Android and installed the latest version of Linux Arch using Linux Deploy.
It is fast and it would be even better running native!
Attached are the screenshots.

Categories

Resources