Help with boot.img - myTouch 3G, Magic Android Development

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.

Related

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.

"Help" With Creating Rom.

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.

[Q] Bricked/need help

I had to post in the Q&A since i'm a newb here, but my transformer is bricked, and i tried the unbricking method seen in the development thread and I keep getting stalled at "waiting for bootloader to initilize"
does anybody know how i can fix this and get a stock rom on my transformer incase i need to rma it.
I am also running VMware as i do not have a windows pc at the moment, so i don't know if that has anything to do with it.
Any help is much appriciated, thank you.
Not sure, but does VMware support USB devices?
it does, or at least it shows apx mode when it's plugged in. I may need to just try it on an actual windows computer though :/
EDIT: for some reason it worked right after i posted that. I didn't really do anything different, htc-hd2 is just good luck i guess!
Running VMWare on what machine? A Mac ?
Can't you dualboot Windows 7 with BootCamp ?
I dont have a mac, just going on what I have heard
VMware is probably your problem. Boot up a Linux live CD and run this: Stock Honeycomb 3.2 (Actually if you have a mac you can run this too, just run extract the archive and run the bash script from the terminal)
It's a tar ball that I put together that contains the files needed to flash a stock image of 3.2 via nvflash. The archive is about 300mb IIRC.

[Q] modify tf700 on a mac, IS IT POSSIBLE?

I have spent all day long trying to figure this out, I dont have a pc and need to see if I can install CWM recovery on my UNLOCKED/UNROOTED jelly bean tf700, using a mac? (I would like to install cleanrom in the end).
any help would be highly appreciated!!
Not a Mac user however
I see that Android SDK is available for MacOS.
The tools are evidently downloadable: http://developer.android.com/sdk/index.html
A video that may help.
http://www.youtube.com/watch?v=3iJzC5uMfC4
Seems if you can get a terminal window up on your Mac you should be able to flash to the tablet.
thank you
Thats OK said:
I see that Android SDK is available for MacOS.
The tools are evidently downloadable: http://developer.android.com/sdk/index.html
A video that may help.
http://www.youtube.com/watch?v=3iJzC5uMfC4
Seems if you can get a terminal window up on your Mac you should be able to flash to the tablet.
Click to expand...
Click to collapse
thank you so much for taking the time to answer my question! I have unlocked, installed twrp and flashed cleanrom and clemsyns kernel. I did go through hell with the twrp flashing since i am not well versed in pc language (nor mac really) but I was able to get it in the end. I ended up borrowing a pc (without the owners knowledge though, oooops!!).
Everything smooth and great now!!
:cyclops:

[Q] How do I get started with Linux ?

So guys I am new to Linux and the OpenSource ideology. Is there a ' - for Dummies' kind of guide which you people know of so that I can get started. I have questions in mind like - "How is Linux different from Windows ?". So, to cut a long story short, how and from where do I get started ?
(By the way, I am running Ubuntu Linux in a virtual machine via vmware player. So until I am comfortable enough with Linux, I can't even think of installing it directly onto my hard drive.)
systemshock1993 said:
So guys I am new to Linux and the OpenSource ideology. Is there a ' - for Dummies' kind of guide which you people know of so that I can get started. I have questions in mind like - "How is Linux different from Windows ?". So, to cut a long story short, how and from where do I get started ?
(By the way, I am running Ubuntu Linux in a virtual machine via vmware player. So until I am comfortable enough with Linux, I can't even think of installing it directly onto my hard drive.)
Click to expand...
Click to collapse
You can look at the Ubuntu wiki, which is very well made and self-explanatory.
I think the Ubuntu wiki is a good place to start for those high-level questions. I'd also highly recommend at least getting comfortable with using the command line. You don't need to learn every command, but it's a very useful tool.
Try using www.linuxsurvival.com
I'm sure it will help you.
Sent from my HTC One X+ using XDA Premium 4 mobile app
I would recommend you install Gentoo or Arch to learn the fastest. Installing ubuntu is too "easy"

Categories

Resources