I need some help with extracting a system.img in Ubuntu I've googled it many times but I'm still stuck on it I've tried unyaffs but get a fault of some sort
EDIT:solved it
And put the solution
Sent from my Galaxy Nexus using xda premium
Nevermind figured out thanks for all your help lul
Sent from my Galaxy Nexus using xda premium
If you are only interested in using this forum to get answers but not to share them then at least do not mark you query as "Solved" and do not expect any future help. Please make amends.
Thank you.
-- Sent from my Palm Pre3 using Forums
eKeith said:
If you are only interested in using this forum to get answers but not to share them then at least do not mark you query as "Solved" and do not expect any future help. Please make amends.
Thank you.
-- Sent from my Palm Pre3 using Forums
Click to expand...
Click to collapse
Nah dude the solved wasn't there I solved it which is why I put solved
Sent from my Galaxy Nexus using xda premium
Ok but how about you posting the steps you took to solve it for the next person searching for the solution? Thanks.
-- Sent from my Palm Pre3 using Forums
Step 1 download dsixdas android kitchen
http://forum.xda-developers.com/showthread.php?t=633246
Step 2 get your system.IMG and put it in original_update
Step 3 open terminal emulator
Ctrl+alt+t
Go to where you extracted the kitchen
In my case its "cd kitchen"
Step 4 type ./menu wait for the GUI to pop up and choose create working folder and this will automatically extract the system.IMG that you have in your original_update folder
Step 5 wait and when its done it will mount system.IMG or something then it will ask you for your sudo password
Step 6 wait till its done and boom you extracted it dsixdas the easiest way to extract it.I didn't get any success on unyaffs or yaffs2
Sent From The Third Nexus
Great job! Thank you!
I love reading and learning something new...
Sent from my HTC Desire using Tapatalk 2
That doesn't teach anything. It's a toolkit.
beekay201 said:
That doesn't teach anything. It's a toolkit.
Click to expand...
Click to collapse
It extracts the system.img
Sent From The Third Nexus
Alternate solution: mount -o loop /path/system.img /mount_point
Sent from my liquid glowing bomb shell
Omar1c said:
Step 1 download dsixdas android kitchen
http://forum.xda-developers.com/showthread.php?t=633246
Step 2 get your system.IMG and put it in original_update
Step 3 open terminal emulator
Ctrl+alt+t
Go to where you extracted the kitchen
In my case its "cd kitchen"
Step 4 type ./menu wait for the GUI to pop up and choose create working folder and this will automatically extract the system.IMG that you have in your original_update folder
Step 5 wait and when its done it will mount system.IMG or something then it will ask you for your sudo password
Step 6 wait till its done and boom you extracted it dsixdas the easiest way to extract it.I didn't get any success on unyaffs or yaffs2
Sent From The Third Nexus
Click to expand...
Click to collapse
Nice beat bro! It works! :good:
Related
Thought I would post as I'm not sure if anyone has tried this yet but I used the nexus 1 bootloader anamation found here and it works perfectly.
So for anyone who wants to do it them selves heres a guide once you have rooted your desire follow these steps.
1. Put the nexus-bios-boot.zip onto your sd card.
2. Load up into ubuntu.
3. Turn off your desire.
4. Turn it on again while holding down the 'volume down' button this time. The screen will look similar to before, but will say 'HBOOT' instead of 'FASTBOOT'. Use the volume buttons and the power button to select the 'RECOVERY' option. You should then see a screen with a red triangle - at this point, plug it into your usb.
5. Now you need to unzip the 'push files' zip that you downloaded.
6. copy pushfiles folder to the desktop
7. open terminal
8. type this into the terminal window
Code:
cd ~/Desktop/pushfiles
9. then type
Code:
sudo ./recovery-linux.sh
10. In the recovery image (moving around using the optical trackball), select 'Flash zip from sdcard' and choose the nexus-bios-boot.zip
11. Confirm then reboot desire.
I would like to point out that none of this is my own work I simply compiled all of the above information from others work to make a simple guide. All credits goto Paul @ MoDaCo for rooting and his guide and I am unsure of who actually made the boot screen. But the link is at the top of the post.
Below are all of the files you will need to get started
and here is a quick vid
nice one, thanks
Installed this too, looks smart!
Dont know if anyone noticed but as its booting it says nexus one lol I have posted in the original thread maybe someone who knows what they are doing will edit it and make one specifically for the desire.
Hi,
Great work!
Would this work for all Boot screens for Android?
Regards
Mo
I'm honestly not sure this is my first android phone. I saw the boot animation thread a few weeks ago an thought as soon as we have root I'm going to try it and to my sunrise it worked. I would guess any existing nexus one animations would work on the desire fine but I an not 100% sure. If you find any others I would be happy to try them and post my results.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
FeaRThiS said:
I'm honestly not sure this is my first android phone. I saw the boot animation thread a few weeks ago an thought as soon as we have root I'm going to try it and to my sunrise it worked. I would guess any existing nexus one animations would work on the desire fine but I an not 100% sure. If you find any others I would be happy to try them and post my results.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
Umm How about..
These over at modaco?
Green Android is Very Cool....
Regards
MoJo
As soon as I get my pc up and running again (can't believe I still use Windows) I will test them out and let you know if they are working
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
FeaRThiS said:
As soon as I get my pc up and running again (can't believe I still use Windows) I will test them out and let you know if they are working
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
Thanks buddy.
I'm looking forward to it.
It would be nice to have a bootup with the actual android on the screen lol
I quite like the Open Eclair boot animation. The one with the logo exploding into a million androids that fly at the screen.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
as you can restore the original boot?
Thanks
I have not tried but as the boot animation is loaded onto the rom I would guess if you restored an original rom I would set it back to "how it was ment to be". I am jus grabbing the files I need now and will test a few more out and post my results + vids.
mojavaid36 said:
Umm How about..
These over at modaco?
Green Android is Very Cool....
Regards
MoJo
Click to expand...
Click to collapse
I have just tried all three and get the same message saying... E: No signiture E: Verification failed
I also tried another from the original thread I linked to the nexus-boot-apple 1 and it worked fine. Possible they need signing properly and then they would work but dont really know enough about android phones atm to really sepectualte.
Edit: Just been told that the files you linked to do not get flashed but you push them over via adb.
bootanimation.zip
Just a wierd question.
I tried to create a bunch of png files to create an animation.
Numbered from 00001 to 00009
I placed those in a folder named android.
Edited the desc.txt file to:
480 800 1
p 1 1 android
Zipped this to bootanimation.zip and placed this zip file in /data/local
When rebooting the phone i get a nice black screen.
Now what am i doing wrong in this progress?
Greetings from a vastloper
You need to re-sign the package. To do that just zip up the 'data' and 'META-INF' directories then use the following guide to sign it:
http://forum.xda-developers.com/showpost.php?p=3175518&postcount=2
i signed it also.
Didnt work either.
Do i need to change the meta.inf file ?
Thanks for the reply
It shouldn't be a file called meta.inf, it should be a directory named META-INF.
If you use nexus-bios-boot.zip as an example (from Post #1) then in the META-INF directory should be a few signature files:
CERT.RSA
CERT.SF
MANIFEST.MF
(delete these - they will be recreated when you sign the file)
and subdirectories com -> google -> android containing the update-script
(which can be left alone)
Do you have the update-script in the correct place? Zip it all up, sign and apply. Any change?
Might be a problem with bootanimation.zip actually.
http://androidforums.com/all-things-root-droid/25774-custom-boot-animation-figured-out.html
I think the folder with the .pngs needs to be called part0 and part1:
"the folder part 0 is the part that does not loop. part 1 will loop after part 0 plays and while phone is still loading."
Final tidbit...
You could always just use adb to push the bootanimation.zip to the correct place.
No need to worry about signing or update-script! Of course you have to do this from recovery mode after mounting the system, so the full code you would run:
Code:
adb shell mount /system
followed by:
Code:
adb push bootanimation.zip /data/local/
This is my 1st actual post for development...so I hope you enjoy what I have to give!
I know this isn't long, since this isn't a ROM, so there aren't any changelogs or that kind of stuff.
Basically what this is, is a myTouch 4G radio flasher, it automatically puts your desired Radio onto you SD Card without you having to type it.
So...without further ado...here it is:
myTouch 4G Radio Flasher
ZiggyR2005 said:
This is my 1st actual post for development...so I hope you enjoy what I have to give!
I know this isn't long, since this isn't a ROM, so there aren't any changelogs or that kind of stuff.
Basically what this is, is a myTouch 4G radio flasher, it automatically puts your desired Radio onto you SD Card without you having to type it.
So...without further ado...here it is:
myTouch 4G Radio Flasher
Click to expand...
Click to collapse
Do I flash in recovery?
Sent from my HTC Glacier using xda premium
How does it work?
Sent from my HTC Glacier using xda premium
rog17 said:
How does it work?
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
Sorry, I got it!;-)
Sent from my HTC Glacier using xda premium
rog17 said:
Sorry, I got it!;-)
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
How
Sent from my HTC Glacier using xda premium
To those who are considering trying this app, don't!
The OP was posting from a brand new account and has already been banned.
Something doesn't seem right here...
Lololol anyone dumb enough to download a 1kb app...if anyone gets a virus or something from this I will be disappointed
Sent from my HTC Glacier using xda premium
I smell foul play
If I helped, give thanks, if you please.
........Death before dishonor........
Seems legit to me
This is NOT an apk.
This file has a .rar extension. I have checked this package.
Two files:
1) READ THIS FIRST!.txt
Instructions!!:
1. You MUST have already downloaded AndroidSDK, if not, search it on Google.
2. MUST HAVE S-OFF FOR THIS TO WORK!
3. Download your desired Sensation Radio and rename it to PD15IMG.zip(if not already named that)
4. Put the Radio(.zip file) into your C:/AndroidSDK/platform-tools/ directory(if not, rename the SDK tools folder to AndroidSDK)
5. Once you've done that, plug your myTouch 4G in your USB port and put charge only on the phone.
6. Double-click the Batch file in the folder and wait for it to do its magic.
7. Once it's done rebooting into bootloader, wait a bit and some green lettering should come up.
8. After a few seconds, it should find the Radio, if it does, just press the Volume UP button to start the update(it's either
Volume UP or another button, should say).
9. Once update is complete, reboot and enjoy your new Radio!
Click to expand...
Click to collapse
2) MT4G Radio Flash.bat
Code:
@echo off
title myTouch 4G Radio Flasher
color 0a
echo Putting your desired Radio onto your SD Card...
cd C:/AndroidSDK\platform-tools/
adb push PD15IMG.zip /sdcard/PD15IMG.zip
echo -----------------------------
echo Now for part 2...
echo -----------------------------
cd C:/AndroidSDK/platform-tools/
adb shell md5sum /sdcard/PD15IMG.zip
echo ---------------------------------------------------------------------
echo Now rebooting into bootloader...
echo ---------------------------------------------------------------------
cd C:/AndroidSDK/platform-tools/
adb reboot bootloader
echo DONE! :)
pause
exit
Conclusion:
This is a bat file for WINDOWS USERS.
It needs the SDK installed or adb(android debug bridge) in it's PATH!
It will only place the modified PD15IMG.zip on the sdcard so that when it reboots into bootloader/spl(second partition loader) it reads and updates the device.
**Remember, if you use this method, you must erase the PD15IMG.zip from the sdcard root directory. What happens is if you don't erase it, every time you reboot/boot into the spl, it will read the PD15IMG.zip and update it again.**
If the OP was suspended because of this post, mods please reinstate his/her status.
RichieDaze said:
This is NOT an apk.
This file has a .rar extension. I have checked this package.
Two files:
1) READ THIS FIRST!.txt
2) MT4G Radio Flash.bat
Code:
@echo off
title myTouch 4G Radio Flasher
color 0a
echo Putting your desired Radio onto your SD Card...
cd C:/AndroidSDK\platform-tools/
adb push PD15IMG.zip /sdcard/PD15IMG.zip
echo -----------------------------
echo Now for part 2...
echo -----------------------------
cd C:/AndroidSDK/platform-tools/
adb shell md5sum /sdcard/PD15IMG.zip
echo ---------------------------------------------------------------------
echo Now rebooting into bootloader...
echo ---------------------------------------------------------------------
cd C:/AndroidSDK/platform-tools/
adb reboot bootloader
echo DONE! :)
pause
exit
Conclusion:
This is a bat file for WINDOWS USERS.
It needs the SDK installed or adb(android debug bridge) in it's PATH!
It will only place the modified PD15IMG.zip on the sdcard so that when it reboots into bootloader/spl(second partition loader) it reads and updates the device.
**Remember, if you use this method, you must erase the PD15IMG.zip from the sdcard root directory. What happens is if you don't erase it, every time you reboot/boot into the spl, it will read the PD15IMG.zip and update it again.**
If the OP was suspended because of this post, mods please reinstate his/her status.
Click to expand...
Click to collapse
Why would you need to do all that when you can simply download a radio in our thread put it on the root of sdcard and boot into bootloader? Waste of time and the o.p clearly did something wrong to get banned
sent from My Creamed Glacier 4.0
Nicgraner said:
Lololol anyone dumb enough to download a 1kb app...if anyone gets a virus or something from this I will be disappointed
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
1kb file is probably just a small script... Don't judge an app like this by it's small size, text files are never really huge. If it's a script with 3 simple lines, then it makes sense.
I haven't looked at it myself... But I suggest you all keep flashing as you normally did. It's not complicated.
the thing is, why would you need an App to flash the radio when the device can do it via HBoot?
that was already strange in itself....
gd6noob said:
the thing is, why would you need an App to flash the radio when the device can do it via HBoot?
that was already strange in itself....
Click to expand...
Click to collapse
Moreover, the major problem is that there isn't any reference to md5 checksum whatsoever- Flashing a corrupted radio file could result in major headache.
The OP should add this into the instructions (between steps 3 and 4), and could also be nice if the script could also include md5 checking...
jaibar said:
Moreover, the major problem is that there isn't any reference to md5 checksum whatsoever- Flashing a corrupted radio file could result in major headache.
The OP should add this into the instructions (between steps 3 and 4), and could also be nice if the script could also include md5 checking...
Click to expand...
Click to collapse
That'll be kinda hard since the OP has been banned (at least for now), but yeah lack of MD5 verification was the first thing I thought of when I read the description.
you know what's easy? Download all the radio files putting each one in a separate folder. Verify MD5 so you know you have good downloads. Put all those folders in a "Radio" folder on your SD card. Then you just copy the one you need into the root directory of your SD card when you need to reflash.
Not sure why you'd need a script for this.
bittermormon said:
you know what's easy? Download all the radio files putting each one in a separate folder. Verify MD5 so you know you have good downloads. Put all those folders in a "Radio" folder on your SD card. Then you just copy the one you need into the root directory of your SD card when you need to reflash.
Not sure why you'd need a script for this.
Click to expand...
Click to collapse
I don't need a script for this, I was just trying to find some justification for the OP's post, which actually does almost nothing other than push a non-checked file.
Anyway, op is banned and we added to the thread a warning to check md5 for whoever reads this.. probably more than enough.
Sent from my HTC Glacier using Tapatalk
jaibar said:
I don't need a script for this...
Click to expand...
Click to collapse
That wasn't directed at you. More of a general observation for the betterment of mankind.
sckboy78 said:
Why would you need to do all that when you can simply download a radio in our thread put it on the root of sdcard and boot into bootloader? Waste of time and the o.p clearly did something wrong to get banned
sent from My Creamed Glacier 4.0
Click to expand...
Click to collapse
^^this...its so freaking simple to flash radios already. The ops way is even more complicated.
Sent from my HTC Glacier using xda premium
i install cygwin
i type cd /boot
and when i type ./extractboot boot.img the cygwin say something about cpio acces denied, and about perl
Plese help
Sent from my GT-S5660 using Tapatalk 2
Install dsixda kitchen
And use bootimg tools
Sent from my GT-S5660 using xda app-developers app
You'll need Linux or Cygwin
redprotoman said:
You'll need Linux or Cygwin
Click to expand...
Click to collapse
Read the post...
He says : I install cygwin.
Trolol.
You do better watch out with your spam to get 10 postd
Sent from my GT-S5660 using xda app-developers app
now i'm trying with kitchen
i unpack the boot.img
but i cant re-pack it because the kitchen say "working folder not found"
Sent from my GT-S5660 using Tapatalk 2
Msilviu said:
now i'm trying with kitchen
i unpack the boot.img
but i cant re-pack it because the kitchen say "working folder not found"
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
use any rom.zip likecm7 and place it in .kitchen/origonal update
open cugwin - kitchen
hit 1
select the rom you pasted
hit 0 after ots dome
now hit 20 for boot img tools
press The button to extract the boot.img from the working folder
let it extract
now use the one to extract ANY boot.img
place your boot.img you want to extract into e folder bootimh123532
it gets extracted
now delete the folder BOOT-EXTRACTED and rename bootimg1223456 to BOOT-EXTRACTED
do your changes
then switch back to kitchen, and hit B to build for working folder
your boot.img is at the working folder,, copy it to were you want
thanks a lot my friend
Sent from my GT-S5660 using Tapatalk 2
DO NOT PRESS 1 - IT's a waste of time!!
Just extract your ROM onto the dsixda kitchen (using WinRAR or 7zip)
Rename the folder to WORKING_xxxx
Where xxxx is your ROM name, or you can call it whatever
Make sure inside WORKING_xxxx you have:
META-INF
system
boot.img
Then hit 0 & 20
thanks all i done my work
Sent from my GT-S5660 using Tapatalk 2
Hello Everyone. I am completely new to android and i understand a bit but only a bit, not much. I have been trying to flash the newest firmware (4.2.2) and i got all of the files prepared and I used this guide: http://forum.xda-developers.com/showthread.php?t=1626895<br /><br />[HOW-TO]%20[GSM%20&%20CDMA]%20Return%20to%20stock%20for%20ALL%20Galaxy%20Nexus%20phones%20%28latest%20JOP40D%29
I've rebooted my device like how it says (with the android guy open for surgery). Ihave all of the files ready in one directory, but i don't understand how to open a command prompt in the same directory which holds all the files like how it says. I really need a good and easy, quick response. Also, will i use terminal or console or something else??
Thank You in Advance!!
https://www.youtube.com/watch?v=sP9ZDWmbLVM&feature=youtube_gdata_playerHere's a video I made back when I had my nexus s. Same presses applies to the galaxy nexus. Just follow the steps
Sent from my Galaxy Nexus using xda premium
thanks, but thats not what i was looking for, i want to use htis guide, and my only problem or question is how to open a command prompt in the directory i made as in step 1 part C. i just want to make sure the computer sees my device, but i don't know how to do this.
Could try this (found after a quick Google search)
http://forum.xda-developers.com/showthread.php?t=1366806
Obviously the file names will be different as the image will be the latest 4.2.2 as opposed to the one used in the guide but it still applies
Gorantheg said:
thanks, but thats not what i was looking for, i want to use htis guide, and my only problem or question is how to open a command prompt in the directory i made as in step 1 part C. i just want to make sure the computer sees my device, but i don't know how to do this.
Click to expand...
Click to collapse
You have to open a terminal window on your mac...
Sent from my Galaxy Nexus using Tapatalk 2
OP do you know the path to your destination folder?
When you launch terminal window your default localisation is: YOUR_USER_NAME folder. I have no idea where do you keep your image files. Mine is located at Desktop/Nexus/Stock/422_jdq39* . The easiest way to navigate is in my case just to type:
cd desktop/nexus/stock/422_jdq39
once you're there you can start ./fastboot flash ....
*remember to copy fastboot file to that folder
Hi I just picked up a T-Mobile galaxy s4 and I've been trying to root it through osx. I've only rooted my phones through windows 7 so if anyone can help me, I would appreciate it. We can do it through team viewer if you want.
Thanks
Sent from my HTC One using Tapatalk 2
Optimusg2x said:
Hi I just picked up a T-Mobile galaxy s4 and I've been trying to root it through osx. I've only rooted my phones through windows 7 so if anyone can help me, I would appreciate it. We can do it through team viewer if you want.
Thanks
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
Search heimdall.
KillaHurtz said:
Search heimdall.
Click to expand...
Click to collapse
I tried that but it only gives me an error and all of the fixes won't work but thanks.
Sent from my HTC One using Tapatalk 2
To try and help, Optimusg2x is right. On OS X, the only easy way I've found is to use Heimdall 1.4, which is the Odin equivalent on OS X. I rooted my S4 near its release date using Heimdall and by following ChainFire's CF-Auto-Root instructions. I'd like to disclose that I did this a very long time ago and I'm telling you this from memory because I'd like to help you, so anyone else that sees something wrong with my instructions, please correct me.
First download the package from his thread, and unzip it so you get:
Code:
CF-Auto-Root-jfltetmo-jfltetmo-sghm919.tar.md5 <-- remove the .md5 extension
Odin3-v1.85.exe
Odin3.ini
Remove the .md5 extension to make it a .tar file and extract the files from that, which should be:
Code:
cache.img.ext4
recovery.img
These are the files that you'll be using Heimdall to flash. There is a new version of Heimdall that came out recently, v1.4.0, in June, however when I rooted I used a release client v1.4rc1, which I should have uploaded in this post. Download and extract that, or use the official v1.4.0 (if you're running Mountain Lion) I only have instructions for the way I did it which was to use the command line to root.
At this point, put "heimdall", cache.img.ext4, recovery.img in a location you know how to get to, such as your desktop. Then place your phone into download mode
Open terminal on your mac
go to where you extracted the HEIMDALL contents, so say "cd ~/Desktop/" or wherever you extracted it to
To make sure you're in the right directory say "ls" and see if "heimdall gets listed"
if so, say "sudo ./heimdall flash --recovery ~/Desktop/recovery.img --cache ~/Desktop/cache.img.ext4" (Saying sudo may be unnecessary, but its a good precaution)
Wait a bit and let your phone reboot and you should now be rooted!