I've seen a few threads around on emulation. But I haven't seen a definitive answer. Before I get flamed...I did search. But nothing....
Is it possible to run 2.3.x on a pc in an emulator? I assume yes.
I'd like to figure this cooking thing out and I have another assumption...wouldn't it be easier if after cooking you could boot up the ROM in an emulator?
If these are all Noob assumptions please let me know.
Yes it is possible
Go to android.com
Download and install the Android SDK (and other prerequisites)
download the platform tools needed(2.3.x) and create a new AVD and select 2.3.x as target
Google/Youtube will help you more here
And you can test your cooked rom if its in .img format(not sure about others)
Related
Every procedure I see starts with a windows desktop. I would have to install one, doesn't anyone have linux tools to backup the rom initially so that I can work on porting to the apache? I have been unable to tell if the tools are just a terminal or if they're is something special.
jshanab said:
Every procedure I see starts with a windows desktop. I would have to install one, doesn't anyone have linux tools to backup the rom initially so that I can work on porting to the apache? I have been unable to tell if the tools are just a terminal or if they're is something special.
Click to expand...
Click to collapse
hi! have you tried to run haret on apache ?
You need the pxa27x version:
http://wiki.xda-developers.com/index.php?pagename=HaRETDownloadSite
can you make 'dump gpio' ?
Is this still the case?
I used the procedure somewhere else on this list and it used a much newer version of haret, Could that be why I can't ssh in?
Yeh I am trying to still learn the platform and all so bare with me and I am sorry about asking a noob question. How do I unpack a boot.img file so i can make modifications. I just want to catch up with everyone here and see if i can't help I have looked and only found tutorials for linux. Linux don't play well on my computer. I was wondering if anyone knew on how that I can extract and repack on a windows based computer. Sorry all. But any help would be greatly appreciated. Thank you for you patiance and your time.
i would also like to know this, I have installed linux on a spare drive and now i want to play
bonesy said:
i would also like to know this, I have installed linux on a spare drive and now i want to play
Click to expand...
Click to collapse
Look here http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images
Better use Alternative Method
For linux you need mkbootfs and mkbootimg
I uploaded the tools here http://onlinenovabg.com/voda_rom/mkboot/
happy packing
M9x3mos said:
Yeh I am trying to still learn the platform and all so bare with me and I am sorry about asking a noob question. How do I unpack a boot.img file so i can make modifications. I just want to catch up with everyone here and see if i can't help I have looked and only found tutorials for linux. Linux don't play well on my computer. I was wondering if anyone knew on how that I can extract and repack on a windows based computer. Sorry all. But any help would be greatly appreciated. Thank you for you patiance and your time.
Click to expand...
Click to collapse
Maybe try running Ubuntu or something in a virtual machine. I personally like VirtualBox. If you are looking into doing some of this ROM stuff you will be better off in a Unix environment.
This should help you get it installed.
http://lifehacker.com/5204434/the-beginners-guide-to-creating-virtual-machines-with-virtualbox
You will need VirtualBox (non OSE is better) from here: http://www.virtualbox.org/wiki/Downloads
Ubuntu (or something else): http://www.ubuntu.com/getubuntu/download
Good luck.
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.
Hi Everyone,
I have few questions regarding Android.
Currently, I don't have an Android and I consider getting one.
Kindly, please answer my following questions [Related to hacking]:
1- Does Android Support Chroot-ing? (Assuming it is been rooted)
2- If it does, is it possible to start/run Xorg/Xserver (Natively)?
3- If Chroot-ing is not possible nor starting an X-server. How easy to dual boot Debian/Fedora/Etc ... in Android phones?
I'm considering to buy Android to chroot or booting a linux in it (ARM Type).
I have already wasted a lots of time trying get my an answer for my questions, the only thing I found is about using VNC on android, but nothing about X11 Forwarding.
If you don't recommend doing any of the above, could you tell me why not [RAM/Technical reason]?
Thanks in advance | You will get thanks after answering me
I guess, I shouldn't scratch "Thanks in advance". Otherwise I might had a better luck.
Hi, may be is too late, i find your post searching info on chrooting.
It's possible installing busybox and like you may had find : on nexus ubuntu can be used.
You can use it from terminal or from vnc so you will have X.
I installed busybox but the bootubuntu script don't find chroot, i installed it from GOT's OpenRecovery (first option)
Xorg does run, I tested it, but the screen becomes garbled, because of Android and Xorg tries to write to screen simultaneously.. I'm trying to find a solution for that lately.
@theGanymedes you run xorg without vnc ? you havn't display error ?
screenshot ?
thanks
New X server written as app for Android
Somebody has written an xserver for android:
my20percent.wordpress.com/2012/02/27/android-x-server/
It is open source:
code.google.com/p/android-xserver/
And is on the market (search for 'x server').
Needs some work but could be the answer to running all gui apps from a chroot inside android!
I am interested in buying a new android and would like to run the OS from a few android phones in a virtual machine. Everything is installed, Android SDK, eclipse, Genymotion, as well. After loading one of the VMs that are already available, what interested me was how could I load a particular kernal for a phone that I would like to buy.
For example, I downloaded the rom for the ZTE Open C (firefox OS). How would I go about converting this to a VDI or OVA? Not sure even which I would convert it to. Could somebody even possibly point me to the correct faq, did some searching but not really sure what to search for so only coming up with how to root your phone.
Thank You