I want to learn a little bit about android and want to ask what tools do you guys use to extract and repack img files. I've been messing around with unyaffs in linux.
Thanks
http://androidforums.com/behold-2-all-things-root/56517-extracting-img-files.html
http://androidforums.com/behold-2-all-things-root/54424-creating-custom-roms-backups-odin.html
Wondering this as well, still digging
phfaty said:
I want to learn a little bit about android and want to ask what tools do you guys use to extract and repack img files. I've been messing around with unyaffs in linux.
Thanks
Click to expand...
Click to collapse
I'm on ubuntu 10.04 and use unyaffs to unpack and mkfs.yaffs2 to repack.
prscott1 said:
I'm on ubuntu 10.04 and use unyaffs to unpack and mkfs.yaffs2 to repack.
Click to expand...
Click to collapse
Thanks that is what I'm also using. I'm wondering if there are other similar tools on Windows 7 and OS X.
I'm an Ubuntu user as well, so I'm not certain - if you can't find anything native, you could run a Linux VM to get around this (or maybe even something like cygwin, if you are fairly technical).
phfaty said:
Thanks that is what I'm also using. I'm wondering if there are other similar tools on Windows 7 and OS X.
Click to expand...
Click to collapse
both Windows and OS X have versions of those tools....
Some tools can also be found here - http://jiggawatt.org/badc0de/android/index.html
Related
Hi all!
Does anyone have something editor program which can edit zImage easily?
In Linux Ubuntu or In Windows 7 ...?
plz... I need something easy program to edit zImage because I don't know how to use c+, c++ ...?
If anyone have any good zImage editor then can you tell me the program name?
Thanks
Hey man, you can't edit a zImage and you don't need to know about c+ or c#. If you have linux installed you can easily download the kernel source for your mobile phone and re-compile it for your needs.
OK thanks, but zImage can be edited in JetDroid..
maybe on some phones cant..?
I manage to run windows xp on our transformer using BOCHS app
Its work kinda slow but faster than i thought
Tutorial
1)Search on the web the SDL folder for BOCHS and the WIN XP img file (or download the SDL folder below)
2)Put the SDL folder in the tf101 main folder
3)Copy the img file to the SDL folder and and rename it to C.img
4)Run BOCHS and you done
5)Now u can create a folder named "HDD" in the root of your SDcard and transfer files there,
when u boot ur windows , all of ur files will be in D drive
Downloads
Here u can download BOCHS app and the SDL folder:
http://forum.xda-developers.com/showthread.php?t=1459153
Hmm... Looks promising. Gonna try, thanks!
Looks like fun..might have to have a play and see what i can do..
Care to make video of it and load it to YouTube..?
sent from yet another MikG HTC Evo
How do we create .vhd image of windows xp?
How likely is it to get actual windows programs (especially office) to work? Interesting finding for sure!
funnycreature said:
How likely is it to get actual windows programs (especially office) to work? Interesting finding for sure!
Click to expand...
Click to collapse
Second that question.
But nice finding, indeed!
photoshop....I want photoshop...the real one, with meshes and textures not the tab version before anyone says "PS Touch" I have it already..
yeah ! me too
luna_c666 said:
photoshop....I want photoshop...the real one, with meshes and textures not the tab version before anyone says "PS Touch" I have it already..
Click to expand...
Click to collapse
I'm willing to test this out on a Xoom. I'll update later on.
Sent from my HTC Desire Z using Tapatalk 2 Beta-3
I'm getting my img, i'll update soon.
Edit1: I just managed to boot win7 .img. I editted bosch.txt and got this gem to work, also now I can use usb host to plug a mouse.
Edit2: April fool's
Edit3: Btw, no joke, managed to make a ".img" from a ".vhd" WinXP sp2 lite version, and made it run, you just need to edit bochs.txt to give more free ram. I always have 420~ free ram becouse im under ARHD, but with aosp you can manage to get more.
Lite version of windows is the best choice, no crap services (like printer) or unused programs (aka tools) runs pretty fast, keyboard works under .txt (PRETTY FAST! IF USING OC KERNEL)
Just download an iso, open virtual machine, install winxp and then backup the img as .vhd or .img
I'm trying to get the pad work, dunno if it's app limitation.
Can't post link, but if pm I can give winxp sp2 .vhd (no lite) so you can convert it to img under windows 7
-I'll try qemu, perhaps faster.
ALSO, win7 is impossible on tf101.
Wait for win8 that can run under ARM devices, with a boot manager we could simply boot under ubuntu, android or win8. Just be patient.
PS: For windows xp you must edit ips table to a value ~ 10000000
also, here you have cmds for the internal debugger
http://bochs.sourceforge.net/doc/docbook/user/internal-debugger.html
How fast is it? How long does it take to open any small program ?
aligatro2010 said:
How fast is it? How long does it take to open any small program ?
Click to expand...
Click to collapse
+1
Vid please
Win 7? Its awesome! Can you post the edited bosch.txt and write how to create .img of windows 7? Thanks!
surtrafl said:
I'm getting my img, i'll update soon.
Edit1: I just managed to boot win7 .img. I editted bosch.txt and got this gem to work, also now I can use usb host to plug a mouse.
Click to expand...
Click to collapse
can you post the modified file and if possible the img.
Sent from my Legend using XDA
Mod Edit: The image for WinXP is copyrighted material from Microsoft and as such it cannot be copied or requested on XDA. Please watch what you ask for
surtrafl said:
I'm getting my img, i'll update soon.
Edit1: I just managed to boot win7 .img. I editted bosch.txt and got this gem to work, also now I can use usb host to plug a mouse.
Edit2: April fool's
Edit3: Btw, no joke, managed to make a ".img" from a ".vhd" WinXP sp2 lite version, and made it run, you just need to edit bochs.txt to give more free ram. I always have 420~ free ram becouse im under ARHD, but with aosp you can manage to get more.
Lite version of windows is the best choice, no crap services (like printer) or unused programs (aka tools) runs pretty fast, keyboard works under .txt (PRETTY FAST! IF USING OC KERNEL)
Just download an iso, open virtual machine, install winxp and then backup the img as .vhd or .img
I'm trying to get the pad work, dunno if it's app limitation.
Can't post link, but if pm I can give winxp sp2 .vhd (no lite) so you can convert it to img under windows 7
-I'll try qemu, perhaps faster.
ALSO, win7 is impossible on tf101.
Wait for win8 that can run under ARM devices, with a boot manager we could simply boot under ubuntu, android or win8. Just be patient.
PS: For windows xp you must edit ips table to a value ~ 10000000
also, here you have cmds for the internal debugger
http://bochs.sourceforge.net/doc/docbook/user/internal-debugger.html
Click to expand...
Click to collapse
Awww...bad joke man...I been messing with this all day could have PM'd me..anyways, what about Vista..is it possible?
I wonder if you can access internet or local file from inside android filesystem?
I am asking because i have small utility id like to run on WinXp so wonder how can i get it in there?
Tnx
Pretty cool, i wouldnt mind messing around with this and seeing what i can do.
Can you post the modified .txt file and xp img file please?
Or can you make a tutorial with all the steps?
I'm trying to run xp on the transformer since february.
Thanks
Mod Edit: No asking for img files of Microsoft OS' systems is allowed as this is warez
I've tried like 10 different .IMGs and i get the error "NO BOOT"
@ all,
Stop asking for images of WinXP. This is a copyrighted OS and as such, if you don't have it, you cannot have it (unless you buy if, of course) or share it.
There have been multiple people requesting this in this thread. Next one to ask will get a vacation.
I want to unpack the img but don't want to use in my pc(too confused).
so I want to unpack by the phone,
thank you
ytyyutianyun said:
I want to unpack the img but don't want to use in my pc(too confused).
so I want to unpack by the phone,
thank you
Click to expand...
Click to collapse
I don't think there is. Maybe I'm wrong too.
Basically all these boot.img tools are written in shell/bash and is made specifically to run in Linux distros.
Anyways there is an Android app called, Complete Linux Installer that lets you install any Linux OS in your phone. But I doubt whether boot.img tools work, as it needs various library files for it to work.
On a side note, I guess it would be more complex to do it in phone rather than in PC, if there is some way for it to work.
coolsandie said:
I don't think there is. Maybe I'm wrong too.
Basically all these boot.img tools are written in shell/bash and is made specifically to run in Linux distros.
Anyways there is an Android app called, Complete Linux Installer that lets you install any Linux OS in your phone. But I doubt whether boot.img tools work, as it needs various library files for it to work.
On a side note, I guess it would be more complex to do it in phone rather than in PC, if there is some way for it to work.
Click to expand...
Click to collapse
Thank you for your reply, but do you feel strange that the IMG is created by the recovery, so it is rational that there is a tool about IMG building. then why there is no apk. I mean some professional can extract just from the CWM recovery, I think.
need root
if you wanna get boot.img i think you must be rooted.
k0tsompakos said:
if you wanna get boot.img i think you must be rooted.
Click to expand...
Click to collapse
yes, I root, so I can use the recovery to back and restore,
I think any app that can access zip files in the internal and external memory can extract boot.img.
Like ASTRO File Manager and stuff...
recovery?
You wanna install a rom?
or recovery??
or we speak about boot.img? (Boot img is the boot animation when you turn on your phone.)
k0tsompakos said:
You wanna install a rom?
or recovery??
or we speak about boot.img? (Boot img is the boot animation when you turn on your phone.)
Click to expand...
Click to collapse
Nooooo
boot.img is the kernel (zImage + Ramdisk packed into an image file) that lies in the /boot partition
@ OP - If you want to extract boot.img itself, there are various methods and from CWM recovery like you said. I thought you were mentioning about how to unpack the contents of the boot.img say like zImage, Ramdisk and other files.
0ops
0ops yeah... :silly:
Searching for 1 minute and found this tool :good:
--> [TOOL] Boot.img tools [unpack, repack, ramdisk] <--
( I do not send link cause i am new here and can't :angel: )
It works. Have a nice day
k0tsompakos said:
0ops yeah... :silly:
Searching for 1 minute and found this tool :good:
--> [TOOL] Boot.img tools [unpack, repack, ramdisk] <--
( I do not send link cause i am new here and can't :angel: )
It works. Have a nice day
Click to expand...
Click to collapse
Yes, that's the tool and it works :good:
But as OP mentioned, he wanted to do it within phone, I highly doubt though.
coolsandie said:
Yes, that's the tool and it works :good:
But as OP mentioned, he wanted to do it within phone, I highly doubt though.
Click to expand...
Click to collapse
It could be done using this post http://forum.xda-developers.com/showpost.php?p=20227868&postcount=1124 and a hex editor from play store on your phone. But would be even more fiddly than on pc I would imagine, unless your phone has a largish screen. It could be done though.
If editing the ramdisk, you would need to unpack and repack after editing, which usually requires linux. I recently found http://forum.xda-developers.com/showthread.php?t=2036528 for PC, but have not had a chance to try it yet, seems best solution for OP
coolsandie said:
Yes, that's the tool and it works :good:
But as OP mentioned, he wanted to do it within phone, I highly doubt though.
Click to expand...
Click to collapse
thank you coolsandie, the android is based on linux, isn't it, and if I can, I can install busybox.and using the terminal like Android Terminal Emulator, but I do not know the procedure. like you, it's more complex,
Robbie P said:
It could be done using this post http://forum.xda-developers.com/showpost.php?p=20227868&postcount=1124 and a hex editor from play store on your phone. But would be even more fiddly than on pc I would imagine, unless your phone has a largish screen. It could be done though.
If editing the ramdisk, you would need to unpack and repack after editing, which usually requires linux. I recently found http://forum.xda-developers.com/showthread.php?t=2036528 for PC, but have not had a chance to try it yet, seems best solution for OP
Click to expand...
Click to collapse
it's good tool, it can unpack the boot.img, but as to the kernel, I don't know how to unpack. but this tool add to my favorite, thanks Robbie.
OK, I find the app, names: yaffs, the author I don't know because I found in the search engine. so I also cannot find the course
then the app,
Alright I've searched for a while to find a way to get my Surface 2 to run .java files as I have Notepad++ on here. I've seen that there is a Java version for ARM architecture but it's for the Raspberry Pi.
What I've done so far, and I'm hoping that someone else will be able to take it further as it will be a very valuable tool, is;
-Download the Java file 'Linux ARM 32 Hard Float ABI' from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
-Extracted the .tar.gz file using 7Zip, then extracted the .tar file the same way.
-Moved the jdk folder into C:\Program Files\Java (where it would go if being installed on a normal Windows computer)
-I then used an elevated Command Prompt to open Environment Variables and added JAVA_HOME to the system variables with the value 'C:\Program Files\Java\jdk1.8.0_73'. I also edited the Path variable to include 'C:\Program Files\Java\jdk1.8.0_73\bin'
Now as far as I know surely that's half the job done? But if I try and do anything in cmd that starts with 'java' it says it's not recognised.
Have I done the Paths wrong? Another thing I noticed is that on a Windows 10 PC there are also Java files in 'C:\ProgramData\Oracle\Java\javapath' but this is the only difference between Java on my laptop and Surface.
The problem is these files are compiled for x86 or x64 architectures and won't do anything on my Surface.
Considering the files in ProgramData are now the only Java differences between my laptop and my surface and I've been told it's possible to install Java without using the installer and just copying files across a system, would it be possible for anyone to find a way to have those files on an ARM system or a way to run it without those?
Bear in mind this is the first time I've properly tried to do anything like this so if it's a bad idea please let me know nicely lol. I just haven't seen anyone go down this route, maybe there's a reason but it intrigued me so I thought I'd ask.
Thank you
You can't run Linux binaries on Windows. So downloading the Linux version of JAVA will not work.
EDIT: It's an interesting concept. It should be theoretically possible to compile OpenJDK to work on RT.
abtekk said:
You can't run Linux binaries on Windows. So downloading the Linux version of JAVA will not work.
EDIT: It's an interesting concept. It should be theoretically possible to compile OpenJDK to work on RT.
Click to expand...
Click to collapse
Oh I see, yeah I wasn't sure how far it could go but I thought I'd put it out there. I have absolutely no idea how to go about compiling that so I'm hoping someone sees this and does everyone a favour as this would be an extremely useful tool to have!
Hello everyone,
The reason why I wish it to be edited and repack is because I want to change the boot logo(not boot animation) without rooting.
After few hours searching here and there, I found Samsung's boot logo located at BL_[texts].tar.md5
Open it with 7-Zip and open Param.bin, if you like to see it yourself here is a sample:
https://mega.nz/#!bV1XAQ6a!O53nC4V0HNMt3i7Qj6SCN4bxZGtkDqxPQYxSdnh_vm8
I know there's tool to edit and pack the system file but not sure how to do it with BL_[texts].tar.md5 thought
What is the tool available to replace the logo.jpg? Or is it possible to be edited using linux?
Please share what you know, and please don't discourage if you don't know.
doulc said:
Hello everyone,
The reason why I wish it to be edited and repack is because I want to change the boot logo(not boot animation) without rooting.
After few hours searching here and there, I found Samsung's boot logo located at BL_[texts].tar.md5
Open it with 7-Zip and open Param.bin, if you like to see it yourself here is a sample:
hxxps://mega.nz/#!bV1XAQ6a!O53nC4V0HNMt3i7Qj6SCN4bxZGtkDqxPQYxSdnh_vm8 <-- _vm8 no space
I know there's tool to edit and pack the system file but not sure how to do it with BL_[texts].tar.md5 thought
What is the tool available to replace the logo.jpg? Or is it possible to be edited using linux?
Please share what you know, and please don't discourage if you don't know.
Click to expand...
Click to collapse
Greetings and welcome to assist. I think it may be possible with linux, you can unpack and repack the tar file easy enough and then create a md5 file. I have never done it myself but do know of someone who did this on a verizon device with a locked bootloader
Good Luck
Sawdoctor
sawdoctor said:
Greetings and welcome to assist. I think it may be possible with linux, you can unpack and repack the tar file easy enough and then create a md5 file. I have never done it myself but do know of someone who did this on a verizon device with a locked bootloader
Good Luck
Sawdoctor
Click to expand...
Click to collapse
I'm not using any linux OS so I don't know much
1. How to compress tar files and set specific permission to file while compress using linux?
2. Is there any GUI or need to use everything using console?
3. In windows is there any tool available to compress tar file as well?
doulc said:
I'm not using any linux OS so I don't know much
1. How to compress tar files and set specific permission to file while compress using linux?
2. Is there any GUI or need to use everything using console?
3. In windows is there any tool available to compress tar file as well?
Click to expand...
Click to collapse
If you want to use linux there are plenty of prebuilt vm machines at osbox.com, I like linux mint myself as it has a desktop similar to windows. You can also boot linux mint from a usb drive without actually installing it (live mode)
I also found this tool for windows which may work as well
http://forum.xda-developers.com/showthread.php?t=2446269
And this kitchen runs in windows too
http://forum.xda-developers.com/che...-android-roms-editor-assayyedkitchen-t3410545
Hope that helps
Good Luck
Sawdoctor