Boot.img extraction - Galaxy Tab 7.7 General

Hi, I'm from the samsung galaxy tab 7 plus and I'm trying to build a rom for our tab. But i need to extract the boot.img from my tablet. So I came here to ask you guys how you extracted your boot.img to build your custom roms. I figured i'd come here for help since our devices are very similar in terms of hardware.

easiest way is to download your stock rom (see http://forum.xda-developers.com/showthread.php?t=1367478) and then untar it -- the boot.img should be there

Use terminal emulator
This from tab 7,7 partition table..
to extract kernel(boot.img) you can type this
Code:
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img bs=4096
to extract recovery, type this
Code:
dd if=/dev/block/mmcblk0p6 of=/sdcard/recovery.img bs=4096
both of file will extract to sdcard, you can replace destination folder with yours..
if you want to repack boot.img or recovery.img dont use this method, you need image from odin file..
Like post above before me

Related

[Q] How to Create boot.img file

I couldn't find a thread on this. If there is one and I just missed it, please direct me that way and I apologize for the duplicate.
I hacked the .config file (kernel), compiled it, tested it in fastboot's boot mode (from the bootloader) and then flashed it to the phone with the instructions on this site:
credentiality2.blogspot.com/2010/08/nexus-one-htc-passion-compile-and-flash.html
It works and is wonderful, but I would love to find a way to create a boot.img file with the kernel I've hacked. Do any of you have any insight or know where I can look for more info.?
Do any of you know how to create the boot.img-ramdisk.gz file? I know how to put that with my hacked boot.img-kernel file and create a boot.img file that way.
Any help is much appreciated.
Fixed!
I figured out the problem was I couldn't the boot.img file from my Android 2.2 phone because the read-write permissions did not allow me to do the adb pull command. Now, I've pulled that boot.img file and can unpack and repack it with my hacked kernel using the directions on the website I originally referenced.
I used this command to change the permissions so I could pull the boot.img file:
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Hi,
I have rooted my HTC Dream successfully. I have flashed in CyanogenMod ROM.
Now I have downloaded Android Kernel and rebuilt it. Now I have the zImage which is the kernel image. Now how do I use this new image? I guess must modify the boot.img to use this new kernel image.
Any idea how can I do this? I tried using "fastboot flash:raw boot <kernel directory> <ramdisk directory>"
For <ramdisk directory> I point to the one in the android-sdk. But after flashing it stuck in the "G1 T Mobile" screen and doesn't proceed. Not sure how to resolve.
Thanks In Advance,
Perumal
I downloaded the boot.img file, split it into boot.img-kernel and boot.img-ramdisk.gz. Then, renamed my newly-compiled kernel's "zImage" file as "boot.img-kernel" and zipped them back up into boot.img. Then, I flashed it to the phone with fastboot. All of the directions are on this website:
credentiality2.blogspot.com/2010/08/nexus-one-htc-passion-compile-and-flash.html
It was written for HTC Passion / Nexus One, so you may want to pull your existing boot.img file first in case it doesn't work on the HTC Dream and you need to go back to where you started. I found this tutorial helpful for that.
credentiality2.blogspot.com/2010/08/extract-bootimg-from-android-phone.html
You probably need to change your permissions to push and pull the boot.img file. I would do that on my computer (with it tethered to the phone), using the following commands in a terminal window:
$ adb shell
$ su
# mount -o remount,rw /dev

[Guide][NOOB-Friendly] How to share your Nandroid Backup and Modem

As we are having a lot of Jelly Bean leaks lately, a lot of users want to share the Nandroid backup to others but sometimes they make mistakes which ends up in md5 mismatches or some of them don't know how to create a share-able zip.
I have tried to create this guide to enable them in doing so. Hope this will help everyone.
Requirement:
CWM Recovery
7zip, Winrar or any file compressing tool
ADB setup in your PC
Click to expand...
Click to collapse
Once you have applied the OTA and done a factory reset, Follow the process given below:-
If your have ClockworkMod Touch Recovery 6.0.1.2 (Believe me it is easier and better in Touch recovery - Get it from here) follow these:-
In CWM Recovery
Reboot into Recovery => Hold Volume Up + Home + Power buttons together for about 5-7 seconds, release the buttons when you see the recovery menu
Choose -> Backup and Restore
Chooose -> Choose Backup Format (Optional)
Change Backup format to tar (Optional)
Choose -> Create image.zip
This will create an image.zip and an image folder in your Internal Sdcard inside the clockworkmod>backup folder
Copy the image.zip file to your PC, rename it to the software version you are sharing for e.g. GT-I9300-XXXXXXXX. Important do not put spaces in the name.
Upload this zip to whichever Filehosting site you want to share with.
*this image.zip can be flashed in CWM directly without having the need to extract the files inside*
Click to expand...
Click to collapse
If you have ClockworkMod Recovery 5.5 (Get it from here) Follow these:-
In CWM Recovery
Reboot into Recovery => Hold Volume Up + Home + Power buttons together for about 5-7 seconds, release the buttons when you see the recovery menu
Choose -> Backup and Restore
Choose -> Backup (either Internal or External SDcard by default it will backup to ExtSDcar)
Your Backup will now be there inside the clockworkmod>backup folder, Copy this folder to your PC
Zip the Folder and give it a name for e.g. GT-I9300-XXXXXX (Dont use spaces)
Now you can upload this zip to any filehosting service of your choice
Click to expand...
Click to collapse
How to extract the modem:-
For extracting the modem you need to be rooted (If you are not or want to know how go here)
Using ADB (Go here if you want to know how to set up ADB)
Connect your phone to you PC (Please ensure that ADB debugging option is checked in Developer Options)
Type
Code:
adb devices
You will get something like this:
Code:
List of devices attached
XXXXXXXXXXXXXX device
It shows your device is connected via ADB
Type
Code:
adb shell
You will get a output like this:
Code:
C:\adb>adb shell
[email protected]:/ $
Type
Code:
su
You will get:
Code:
su
[email protected]:/ #
(Those who are using Terminal Emulator can start from this step)
Type
Code:
dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
You will get
Code:
[email protected]:/ # dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
dd if=/dev/block/mmcblk0p7 of=/sdcard/modem.bin bs=4096
8192+0 records in
8192+0 records out
33554432 bytes transferred in 2.892 secs (11602500 bytes/sec)
[email protected]:/ #
Your modem.bin file is copied to the root of your sdcard, copy it to your PC and upload it to the file hosting site of your choice
Click to expand...
Click to collapse
I have tried to write everything to the best of my knowledge. If anyone feels that I have missed something or I have written something wrong please let me know. I will make the changes.
Thanx for this very useful
Sent from my GT-I9300 using Tapatalk 2
anurag549 said:
Thanx for this very useful
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
will be helpful for many ... nice work buddy
Q: When I dump modem I get a modem.bin and its ~30mb, while shipped modems in stock fw is ~12mb, why is this?
Perka said:
Q: When I dump modem I get a modem.bin and its ~30mb, while shipped modems in stock fw is ~12mb, why is this?
Click to expand...
Click to collapse
Well that escapes me..may be someone knowledgeable can shed some light on it..
Sorry..
Maybe the that provided with the firmware is a patch..I know OTA files are patches but can't say much about full firmwares..
I'm trying to do this using the terminal emulator in Rom toolbox and u keep getting permission denied?
(from what I understood we had two ways of doing this correct? A computer and adb or TE, correct?)
Danielhammons1 said:
I'm trying to do this using the terminal emulator in Rom toolbox and u keep getting permission denied?
(from what I understood we had two ways of doing this correct? A computer and adb or TE, correct?)
Click to expand...
Click to collapse
You have to type su in terminal to gain root access. It's just like a standard Linux terminal.

need param.bin for I9500 please

please can someone attach param.bin for S4 I9500 (you must be rooted)
how to extract it to sdcard via adb:
-connect your S4 to usb port after enabling usb debug in developer options
-open cmd prompt on your laptop and type the following:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
how to extract it to sdcard via terminal emulator:
-install terminal emulator on your device
type the following:
Code:
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
This command reads the param partition and copy it to your internal memory, which you can transfer to your PC and attach it in this thread
thx in advance
Anyone??
samersh72 said:
please can someone attach param.bin for S4 I9500 (you must be rooted)
how to extract it to sdcard via adb:
-connect your S4 to usb port after enabling usb debug in developer options
-open cmd prompt on your laptop and type the following:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
how to extract it to sdcard via terminal emulator:
-install terminal emulator on your device
type the following:
Code:
su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin
This command reads the param partition and copy it to your internal memory, which you can transfer to your PC and attach it in this thread
thx in advance
Click to expand...
Click to collapse
Attached
thank you very much my friend :good:
How do I use param.bin ??
I mean i flashed wrong rom and caused logo distorted can anybody tell me how to flash this param.bin
aukhan said:
How do I use param.bin ??
I mean i flashed wrong rom and caused logo distorted can anybody tell me how to flash this param.bin
Click to expand...
Click to collapse
param.bin in odin as pda
samersh72 said:
param.bin in odin as pda
Click to expand...
Click to collapse
@samersh72 this issue I got it fixed thanks for the response.
BTW we can flash .Bin files from PDA its only Modem and this file should not be flashed on Modem section.
how to extract param.bin? i used poweriso on windows it cant
param_i9500.zip
Link - https://www.androidfilehost.com/?fid=457095661767103950

PIT FILE + ADB SHELL command to restore partitions and IMEI?

I had a problem with my SM-N9005.
They lost her baseband (baseband null) and also IMEI (IMEI null) with a malicious app.
So, no one baseband can't be flashed, but this was solved just flashing a PIT FILE + KIT KAT ROM + some commands in ADB (adb shell, su... etc).
Like in this topic:
http://forum.xda-developers.com/showthread.php?t=2567133
But I have a GT-I9500, with baseband... But IMEI is generic... Well, I can try to repair it with a repairer box.
But I'd like to know if exists some similar way to restore the partitions of S4 (and maybe the partition with the IMEI and the CERT), like I did with my SM-N9005.
Well, exists here some similar thread for S4 GT-I9500?
Like for example, installing together some ROM with a PIT file, and after tiping commands like this at some ADB program?
Comands like this?
adb shell
su
dd if=/external_sd/mmcblk0p1 of=/dev/block/mmcblk0p1
dd if=/external_sd/mmcblk0p2 of=/dev/block/mmcblk0p2
...
dd if=/external_sd/mmcblk0rpmb of=/dev/block/mmcblk0rpmb
Well... If exists a similar method... I'd like to try...
Thanks!
you can copy PIT using adb shell
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176.
Under odin there is option to creat pit partition.
You can copy all your partition before repartition.

any flashable pure stock ROMs are available for v400?

I don't have a laptop And I really need to flash the stock ROM of 4.4.2.. I have TWRP installed and that's all.. Is anyone aware of some flashable zip of this stock ROM? Thanks in advance
I wanted to help but I have no idea how to create and update-binary file, so it is not flashable, but you can go back to 4.4.2 without computer. So what you need to is:
Download this: V40010C
Extract and place it onto your sd card!. Make sure all files are under /sdcard/* directory. Boot into the recovery, go to wipe -> advanced wipe -> wipe everything except sd card and internal storage. In recovery, go to advanced, then terminal. Folders should pop on the screen but do not go to any different directory, just press select. Now you should be in the terminal. Now, I'm really sorry but it will take some time, you have to enter each of this commands separately into the terminal:
Code:
dd if=/sdcard/V40010C/bootloader/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/V40010C/bootloader/factory.bin of=/dev/block/platform/msm_sdcc.1/by-name/factory
dd if=/sdcard/V40010C/bootloader/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd if=/sdcard/V40010C/bootloader/rpm.bin of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/V40010C/bootloader/sbl1.bin of=/dev/block/platform/msm_sdcc.1/by-name/sbl1
dd if=/sdcard/V40010C/bootloader/sdi.bin of=/dev/block/platform/msm_sdcc.1/by-name/sdi
dd if=/sdcard/V40010C/bootloader/tz.bin of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/V40010C/boot.bin of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/V40010C/cust.bin of=dev/block/platform/msm_sdcc.1/by-name/cust
dd if=/sdcard/V40010C/modem.bin of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/V40010C/persist.bin of=/dev/block/platform/msm_sdcc.1/by-name/persist
dd if=/sdcard/V40010C/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
Remember only system is an img file! It is about 2,5GB so to flash it will take about 5-10 min.
Once you flashed everything you can reboot, in my case it said that OS is not installed but the recovery didn't know yet that we just flashed it. So just swipe to reboot and tablet should boot up with 4.4.2 !
If you have any problems just tell me
Adam Myczkowski said:
I wanted to help but I have no idea how to create and update-binary file, so it is not flashable, but you can go back to 4.4.2 without computer. So what you need to is:
Download this: V40010C
Extract and place it onto your sd card!. Make sure all files are under /sdcard/* directory. Boot into the recovery, go to wipe -> advanced wipe -> wipe everything except sd card and internal storage. In recovery, go to advanced, then terminal. Folders should pop on the screen but do not go to any different directory, just press select. Now you should be in the terminal. Now, I'm really sorry but it will take some time, you have to enter each of this commands separately into the terminal:
Code:
dd if=/sdcard/V40010C/bootloader/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/V40010C/bootloader/factory.bin of=/dev/block/platform/msm_sdcc.1/by-name/factory
dd if=/sdcard/V40010C/bootloader/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd if=/sdcard/V40010C/bootloader/rpm.bin of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/V40010C/bootloader/sbl1.bin of=/dev/block/platform/msm_sdcc.1/by-name/sbl1
dd if=/sdcard/V40010C/bootloader/sdi.bin of=/dev/block/platform/msm_sdcc.1/by-name/sdi
dd if=/sdcard/V40010C/bootloader/tz.bin of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/V40010C/boot.bin of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/V40010C/cust.bin of=dev/block/platform/msm_sdcc.1/by-name/cust
dd if=/sdcard/V40010C/modem.bin of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/V40010C/persist.bin of=/dev/block/platform/msm_sdcc.1/by-name/persist
dd if=/sdcard/V40010C/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
Remember only system is an img file! It is about 2,5GB so to flash it will take about 5-10 min.
Once you flashed everything you can reboot, in my case it said that OS is not installed but the recovery didn't know yet that we just flashed it. So just swipe to reboot and tablet should boot up with 4.4.2 !
If you have any problems just tell me
Click to expand...
Click to collapse
Wow.. Amazing.. I don't know how to thank you man.. That's a lot of helping
BIG THANKS!!
Adam Myczkowski said:
I wanted to help but I have no idea how to create and update-binary file, so it is not flashable, but you can go back to 4.4.2 without computer. So what you need to is:
Download this: V40010C
Extract and place it onto your sd card!. Make sure all files are under /sdcard/* directory. Boot into the recovery, go to wipe -> advanced wipe -> wipe everything except sd card and internal storage. In recovery, go to advanced, then terminal. Folders should pop on the screen but do not go to any different directory, just press select. Now you should be in the terminal. Now, I'm really sorry but it will take some time, you have to enter each of this commands separately into the terminal:
Code:
dd if=/sdcard/V40010C/bootloader/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/V40010C/bootloader/factory.bin of=/dev/block/platform/msm_sdcc.1/by-name/factory
dd if=/sdcard/V40010C/bootloader/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd if=/sdcard/V40010C/bootloader/rpm.bin of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/V40010C/bootloader/sbl1.bin of=/dev/block/platform/msm_sdcc.1/by-name/sbl1
dd if=/sdcard/V40010C/bootloader/sdi.bin of=/dev/block/platform/msm_sdcc.1/by-name/sdi
dd if=/sdcard/V40010C/bootloader/tz.bin of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/V40010C/boot.bin of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/V40010C/cust.bin of=dev/block/platform/msm_sdcc.1/by-name/cust
dd if=/sdcard/V40010C/modem.bin of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/V40010C/persist.bin of=/dev/block/platform/msm_sdcc.1/by-name/persist
dd if=/sdcard/V40010C/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
Remember only system is an img file! It is about 2,5GB so to flash it will take about 5-10 min.
Once you flashed everything you can reboot, in my case it said that OS is not installed but the recovery didn't know yet that we just flashed it. So just swipe to reboot and tablet should boot up with 4.4.2 !
If you have any problems just tell me
Click to expand...
Click to collapse
Hey, I know it's been a while since you posted this. but could you help me try to recover my v400? It doesn't boot at all and I believe that the partitions are corrupt. How can I flash them?

Categories

Resources