"Help" With Creating Rom. - Hero CDMA Android Development

Hello Guys,, Im Going 2 Install Linux " Ubuntu 9.10 " And i wanted 2 know if is that ( operating system ) the 1 i need for making rom's and such.
And if so then could anyone help me with the steps on how to create a rom.
im really getting serious about this soo please help.
and i have a cdma hero "sprint"
Rooted
Recovery Img 1.5.2
Rom: [Rom-dev] (2-18-10) AOSP 2.1 | Sensors Now Work by darchstar
Thankx In Advance

lonnie23 said:
Hello Guys,, Im Going 2 Install Linux " Ubuntu 9.10 " And i wanted 2 know if is that ( operating system ) the 1 i need for making rom's and such.
And if so then could anyone help me with the steps on how to create a rom.
im really getting serious about this soo please help.
and i have a cdma hero "sprint"
Rooted
Recovery Img 1.5.2
Rom: [Rom-dev] (2-18-10) AOSP 2.1 | Sensors Now Work by darchstar
Thankx In Advance
Click to expand...
Click to collapse
You should be okay using Ubuntu 9.10. I currently have that installed, but haven't done anything yet with it. Although, I actually plan on switching to Fedora 12 -- since I'm more familiar with the Red Hat distro's.
If you need help getting started, you should look into these tutorials below, provided and documented by Gbhil from Android Central.
How to create custom Icons:
http://forum.androidcentral.com/htc-hero-roms-hacks/6070-changing-hero-application-icons.html
ROM FAQ/How to Build ROMS:
http://forum.androidcentral.com/hacking/6037-general-rom-faq.html
How to setup Ubuntu for the Android SDK:
http://forum.androidcentral.com/hac...ramming-envrionment-using-ubuntu-windows.html
OR here:
http://www.futuredesktop.org/developing_android_apps_on_ubuntu.html
Gbhil does an excellent job explaining how things work and how to begin your journey with Android development, hope that helps.
I've used the links above to begin making a custom icon pack, and hopefully soon enough another AOSP ROM.

I use Ubuntu 9.10 for everything I do. Make sure you're root user in that by doing these commands in the terminal:
Code:
sudo passwd
*your root password here*
*repeat root password*
Then, log out of that user, and click "other" to log in. Type root for username, and the password you set with sudo passwd for password. Note, Ubuntu 9.10 is also referred to as Ubuntu Karmic or Karmic Koala, so those are the same as 9.10.

Thankx But could you help with more?
When i try to install the Sun's Java Runtime Engine (JRE) and Java Development Kit (JDK) thier both .bin files + i dont understand on how to make them work.
could you help?

lonnie23 said:
Thankx But could you help with more?
When i try to install the Sun's Java Runtime Engine (JRE) and Java Development Kit (JDK) thier both .bin files + i dont understand on how to make them work.
could you help?
Click to expand...
Click to collapse
I don't know about that, I just use the java built into ubuntu.

How did you set up yours then?
Doo you make roms and stuff??
Because i have a dual boot with my win7 and ubuntu

lonnie23 said:
How did you set up yours then?
Doo you make roms and stuff??
Because i have a dual boot with my win7 and ubuntu
Click to expand...
Click to collapse
All the links I gave you will give you the information to get started. Again, follow this think, it even says what its going to help you install:
We are now going to install these programs
• The Ubuntu Linux Desktop.
• Sun's Java Runtime (JRE) and Development Kit (JDK).
Java Runtime is only needed to run the Eclipse IDE. Android has its own optimized Java VM (Dalvik).
• The Eclipse IDE.
• The Android Software Developer's Kit (SDK).
• The Android Developer Tool (ADT), a special Eclipse plugin.
http://www.futuredesktop.org/developing_android_apps_on_ubuntu.html
If you want to test if Java works -- you can run the commands java --version, which java and echo $JAVA_HOME (which java and echo $JAVA_HOME should correctly state where you chose to set your environment variables when you run them). Otherwise you could open a text editor (I use VIM) and write the universal "hello world" in Java and test Java that way to make sure the program runs.
Lastly, everyone here is more than willing to help you -- but try to search for the information via Google, here on XDA, or other Android forums yourself first -- you'd be surprised that they probably already have your answer.
HeroMeng said:
I use Ubuntu 9.10 for everything I do.
Click to expand...
Click to collapse
I don't think Ubuntu 9.10 is bad -- but I've always worked with Red Hat/CentOS and at work we use RHEL servers, so Fedora is an easy switch for me.

Related

Help Upgrading and Downgrading with MAC

I have tried to upgrade to rc30 modified but i couldn't due to the fact i i had a windows 2000 and i wasn't able to use the cmd properly... i have a mac osx now... is there any instructions in how to downgrade to from ota rc30 to rc29 then upgrade to the modified rc30.. i would appreciate this help if someone could get me instructions
zeroblackpimp said:
I have tried to upgrade to rc30 modified but i couldn't due to the fact i i had a windows 2000 and i wasn't able to use the cmd properly... i have a mac osx now... is there any instructions in how to downgrade to from ota rc30 to rc29 then upgrade to the modified rc30.. i would appreciate this help if someone could get me instructions
Click to expand...
Click to collapse
hey, im a mac user too....the instructions for cmd/terminal/shell work on mac...just follow the same instructions and PM me if you need help...
Android development in general should (currently) work even better for OSX and Linux than for Windows.
More important than what operating system you're running is the ability to read the stickies and understand what they're saying.
jashsu said:
More important than what operating system you're running is the ability to read the stickies and understand what they're saying.
Click to expand...
Click to collapse
i completely agree... well put jashsu... but mac seems to be most compatible out of the box...lol...
Theoretically Ubuntu 8.04 should be the absolute most compatible for Android development currently, as that is what Google references in the sdk docs. Mac should be very similar, as it's partially built on BSD. Any experience with unix shells would give one a big jumpstart with Android hacking. However a lot of Mac users (Windows users too) have never touched the command line before. Which is a shame...
jashsu said:
Theoretically Ubuntu 8.04 should be the absolute most compatible for Android development currently, as that is what Google references in the sdk docs. Mac should be very similar, as it's partially built on BSD. Any experience with unix shells would give one a big jumpstart with Android hacking. However a lot of Mac users (Windows users too) have never touched the command line before. Which is a shame...
Click to expand...
Click to collapse
yes that really is too bad...commandline is fun and flexible...and sometimes quicker....

VMWare image of the source building environment

Hi all, I'm sorry if this has already been asked, i looked for it using Google and the search forum option and while i found this http://forum.xda-developers.com/showthread.php?t=396782&page=145, (using this: http://www.google.com/cse?cx=000825...ource&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8) it didnt really help me because it's not exactly what i'm looking for
I want to be able to change some bits of code on the os and see how that affects the device (for example, i'd like to change the order of options in the menus and stuff like that) just to get to know the development environment better.
however, I'm using Microsoft windows (vista x64) and cannot build it on this env (according to: http://source.android.com/download --> "To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.").
therefore i was wondering, did anybody make a vmware image that is ready to use that contains the environment and the sources that will only need a source update and can be built immediately after for noobs like me?
I'm sure I'm not the only one running a windows machine and so i guess somebody has already made one for himself, I'm asking if you could maybe share it somehow...
Thanks
E.
Clarification: I'm not talking about the SDK building but rather the actual OS source code so that i can re-build and put on my phone
note: tried this: http://www.koushikdutta.com/2008/12/building-android-source-and-deploying.html, didn't work, but it gives an idea of what I'm looking for...
did u try running a virtualbox with linux? or maybe a macOS off a usb?
vista x64
for windows, have you tried cygwin?
I've installed it just fine in ubuntu in vmware.
I'd about 8 gb. quite hard to make an image out of it.

Configuring ADT plugin for eclipse -- no Android option in preferences

I'm trying to setup eclipse for Android but have run into an issue.
I'm following the guide here: bah, I can't post outside links from being a new user. But if you go to developer (dot) android (dot) com/sdk/eclipse-adt.html -- This is the part that I'm stuck on.
I've got eclipse to download the ADT plugin, but when trying to follow "Configuring the ADT plugin" I open the preferences via Windows > Preferences (step 1), but there is no "Android" option on the left hand side as indicated in step (2).
Any idea why this would be happening?
Thanks,
~kb
EDIT: This should really be in the base android development forum. I've messaged a moderator to hopefully get it moved, sorry for posting it in the wrong forum.
The Android option is not coming up under Window>Preferences in Eclipse after installing the ADT?
One reason that this may be occurring is because of Windows 7 security settings. Try starting up Eclipse with “Run as administrator.”
1) Start Eclipse with ‘Run as administrator’ (It may ask to change workspace directory. I just made it c:\workspace temporarily.)
2) Download the ADT plug-in with Eclipse as directed in the Android documentation
3) Profit
Note: I did not have to run as administrator every time. Once it was installed I could see it when I started Eclipse normally, but I had to set the Android SDK directory again.
-Rob
Credit to www(dot)hambonious(dot)com
this is happening to me also, but it was on ubuntu after i upgraded from lucid to maverick. ...i hate upgrading ubuntu...
Did you guys find any solution yet? I can't see "Android" under preferences either. And I upgraded to Ubuntu 10.10 recently.
I don't think the dev kit works well with Eclipse 3.6.
Try the 3.5 download
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/galileosr2
It is 3.5.
eclipse : issue fixed
I just signed in as I wanted to let you know about that issue I got.. fixed !
I tried several tricks so to speak, uninstalled Eclipse, uninstalled ADT plugin, reinstall the SDK, tried with and without adding the SKD path to the $PATH...
Using linux, I just deleted the .eclipse directory that was in my home directory.
You will have to add the repository for the ADT plugin to be installed, install the plugin... and restart Eclipse (not to mention you'll have to reinstall ALL the plugin you added, correct me if IM wrong).
Then you should be able to set the preferences about the SDK path... and have a new menu item (new project -> android )
Dont ask me what happened while upgrading my ubuntu from 10.04 to 10.10, I actually didnt take some time to investigate about it (ubuntu64 10.10)
(sorry about my english by the way)
Cheers,
Fabrice (France)
you're welcome.
Thanks LinuxFab, I'll give it a try.
Did this work?
I'm using a mac, so I'm wondering if this fix at least worked for ubuntu, lemme know! Thanks

[Q] Setting up Eclipse

Hey all I was wondering if someone could help me out in installing and setting up eclipse. I tried before and ended up installing something called glassfish3 or something like that so what would be ideal is a list of links to the downloads I need to get maybe in the order I need to install them in? =P It would really be greatly appreciated!
Thanks,
D3luSi0n4L
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
I'm almost close of not asking any more questions but I had problems with apk manager, I got it right, and I had problems with Avabox, and I got that right but now I'm having problems with Eclipse. I installed basically both files of Eclipse the big file and the small fiile (I didn't know which one I needed).
when I open the eclipse program I get this message:
"Failed to load the JNI shared library : c:\program files (x86)\java\jre6\bin\client\jvm.dll
I don't know what this means. can someone help me? thanks.
Sorry I'm also a noob at installing eclipse, but thought this might be a good place to ask my question too. I found a tutorial on how to install everything (i.e. eclipse, JDK, and SDK) put it said I needed to change my PATH to point to /tools and now after doing that I can't open eclipse. I go the same error you did in your first post. I'm thinking I needed the other lines that were in the PATH, but now I don't know what they were.
If you follow the steps here, it is fairly simple and easy:
http://developer.android.com/sdk/installing.html
You have to download first de java JDK (jre is not enought) and then download and instal eclipse... Just follow the instructions on the link
Sent from my GT-P1000 using XDA App
I've gone through this and had eclipse up and running. Even created some AVDs. Here is the part that screwed it up though.
"On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ and platform-tools/ directories to the path. "
D3luSi0n4L said:
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
Click to expand...
Click to collapse
I downloaded the 32 bit version of eclipse and javaw.exe was not missing anymore. How do i use eclipse though?
Edit: I get it, JDK.

[Q] Full Java Path

Hey guys,
I installed Android Studio but it said that the JDK isn't installed.
The path for java isn't right...
So I need the full java path.
I searched in the whole internet. But I didn't found a full path.
Thank you (If you can help)
Btw, i'm using windows 8
It worked. Sorry guys
The Dev Clock said:
Hey guys,
I installed Android Studio but it said that the JDK isn't installed.
The path for java isn't right...
So I need the full java path.
I searched in the whole internet. But I didn't found a full path.
Thank you (If you can help)
Btw, i'm using windows 8
Click to expand...
Click to collapse
Oops. It worked. Sorry guys
Just for the record ; the problem you faced is due to JDK not being an environment variable/on the build path of your OS.
After making sure JDK is downloaded (java development kit), add it to your environment variables/build path. The error shall be immediately gone.

Categories

Resources