Location of Boot.img - Android

Hello guys i have been searching forums and google for a while now but i haven't found my answer i want boot.img to create custom recovery for coby kyros 7030 (china made tablet) i have searched in tablet using es file explorer for boot.img but haven't found it ....
Please guys help me find the location of boot.img
Thanks

Dump - guys please help me out and its running ICS 4.0.4 ....
Sent from my SK17i using xda app-developers app

boot.img as seen from a running ROM is one of the mtd blocks typically /dev/mtd/mtd2 . Search for if= and of=, for how to get it from the device.
Or (depending on if the binary is installed), run dump_image boot /sdcard/boot.img. Both of these should require root, without root = no boot.img.
And fyi not sure how you can go from boot.img to recovery.img... only reason I can see is that you want the kernel/zImage.

HypoTurtle said:
boot.img as seen from a running ROM is one of the mtd blocks typically /dev/mtd/mtd2 . Search for if= and of=, for how to get it from the device.
Or (depending on if the binary is installed), run dump_image boot /sdcard/boot.img. Both of these should require root, without root = no boot.img.
And fyi not sure how you can go from boot.img to recovery.img... only reason I can see is that you want the kernel/zImage.
Click to expand...
Click to collapse
actually the reason i want boot.img file is that i want to create custom recovery for it (CWM) i have seen that CWM builder website it requires boot.img file to create custom recovery and i have rooted the tablet and installed Terminal Emulator .. Now ill try that command from terminal and tell you what happens and mtd blocks are not there in /dev ...

okay after using that command it says
"/system/bin/sh: dump_image: not found"
i don't know what to do now

amirfida said:
okay after using that command it says
"/system/bin/sh: dump_image: not found"
i don't know what to do now
Click to expand...
Click to collapse
Just means you don't have that binary the other method I mentioned is described here : under alternate method

HypoTurtle said:
Just means you don't have that binary the other method I mentioned is described here : under alternate method
Click to expand...
Click to collapse
okay i am going to try that method and then ill report you back ...

HypoTurtle said:
Just means you don't have that binary the other method I mentioned is described here : under alternate method
Click to expand...
Click to collapse
damn the alternative method also didn't worked there's no proc directory in there
any other method you got ?
i really wanna make custom recovery so i can make nandroid backup of it and make custom roms and flash them ...

okay i tried the first method too but it says segmentation fault i don't know why

You can also manually place "dump_image" on your device via ADB. You will need to Google for a download tho.

shinobisoft said:
You can also manually place "dump_image" on your device via ADB. You will need to Google for a download tho.
Click to expand...
Click to collapse
okay i am gonna google for that and then ill report back soon ...

i am getting fed up now
i tried this method "http://t-rec.com/Android/CobyKyrosMid7024/DumpRom/"
but when i type the last command it says error no such file or directory please help me someone

okay guys atlast i did it i used a utility and system dump worked i now have all the files which i need now ill try to build the recovery and thanks to "shinobisoft" and "HypoTurtle" for all the help XDA is really a damn nice place Thanks once again

amirfida said:
okay guys atlast i did it i used a utility and system dump worked i now have all the files which i need now ill try to build the recovery and thanks to "shinobisoft" and "HypoTurtle" for all the help XDA is really a damn nice place Thanks once again
Click to expand...
Click to collapse
May I know what utility you have used? I am facing the same problem.

aeioo said:
May I know what utility you have used? I am facing the same problem.
Click to expand...
Click to collapse
the simplest way is to log into adb shell and run
dd if=/dev/mtd/mtd2 of=/sdcard/boot.img
Click to expand...
Click to collapse
and then exit adb and run
adb pull /sdcard/boot.img boot.img
Click to expand...
Click to collapse
this assumes that your boot is on mtd2 (run: cat /proc/mtd on the device to determine right partition)

amirfida said:
okay guys atlast i did it i used a utility and system dump worked i now have all the files which i need now ill try to build the recovery and thanks to "shinobisoft" and "HypoTurtle" for all the help XDA is really a damn nice place Thanks once again
Click to expand...
Click to collapse
well i know it's been a quite long time...
but according to your thread from then you managed to dump boot.img without root using some kind of tool.
could you please tell me how you did it? i'm in a similar situation.
thanks

Related

[Q] HELP

I NEED SOME HELP
I was loading Cyangenmod to my HTC ONE and accidentally deleted my backup. Now it's saying there's no OS found and I can't load one from my computer. Please help me!
joshevans5579 said:
I NEED SOME HELP
I was loading Cyangenmod to my HTC ONE and accidentally deleted my backup. Now it's saying there's no OS found and I can't load one from my computer. Please help me!
Click to expand...
Click to collapse
PS I've tried downloading the ALL IN ONE TOOLKIT and sideloading a rom it asks if the device is in recovery, it is TWRP recovery, but then says error device not found.
Please any help would be much appreciated.
joshevans5579 said:
I NEED SOME HELP
I was loading Cyangenmod to my HTC ONE and accidentally deleted my backup. Now it's saying there's no OS found and I can't load one from my computer. Please help me!
Click to expand...
Click to collapse
can you adb into the phone from your PC ?
you can try to push a rom to /data/media
boot to recovery wait about 10 seconds and the open cmd on you pc and run adb
adb push Rom.zip /data/media
wait for it to copy (it takes a while)
reboot phone back to recovery
your rom.zip should be on the phone now
Flash
your home free
Does twrp run? You should still be able to install the Rom as long as your recovery program still works.
Sent from my HTC One using xda app-developers app
joshevans5579 said:
PS I've tried downloading the ALL IN ONE TOOLKIT and sideloading a rom it asks if the device is in recovery, it is TWRP recovery, but then says error device not found.
Please any help would be much appreciated.
Click to expand...
Click to collapse
do you still have the fastboot folder on your PC ? do the adb push from their
first put the rom.zip in c:\fastboot
---------- Post added at 01:28 AM ---------- Previous post was at 01:25 AM ----------
mrstromboli said:
Does twrp run? You should still be able to install the Rom as long as your recovery program still works.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
twrp is messed up he most likely formatted the system and the /sdcard (rom) it happens all the time
Yea I did the same thing the first time I rooted my one X lol I was scared my phone was ruined! To the OP relax your phone will be alright just follow instructions better in the future.
Sent from my HTC One using xda app-developers app
Here is the instructions i posted that got another guy up and running hope it helps you out
This worked in CWM anyway
Boot into recovery
from the pc (c:\fastboot) do the adb push filename.zip /data/media
wait for it to copy
then on the phone reboot recovery your rom should be in the root of the sdcard waiting for you to flash
I just tested it and it worked perfect ( of coarse I didn't format my sdcard so ymmv )
clsA said:
Here is the instructions i posted that got another guy up and running hope it helps you out
This worked in CWM anyway
Boot into recovery
from the pc (c:\fastboot) do the adb push filename.zip /data/media
wait for it to copy
then on the phone reboot recovery your rom should be in the root of the sdcard waiting for you to flash
I just tested it and it worked perfect ( of coarse I didn't format my sdcard so ymmv )
Click to expand...
Click to collapse
Ok first, thank you for taking the time to help me with this.
I am a little bit of a noob when it comes to this stuff. I know just enough to get into trouble apparently. lol
I have my phone plugged in and have adb up, and am in fastboot. It doesn't seem to recognize my phone. I type adb devices, it just says list of devices and doesn't list any.
It won't let me push anything to my phone. I'm probably doing something wrong.
joshevans5579 said:
Ok first, thank you for taking the time to help me with this.
I am a little bit of a noob when it comes to this stuff. I know just enough to get into trouble apparently. lol
I have my phone plugged in and have adb up, and am in fastboot. It doesn't seem to recognize my phone. I type adb devices, it just says list of devices and doesn't list any.
It won't let me push anything to my phone. I'm probably doing something wrong.
Click to expand...
Click to collapse
I tried adb push myROM.zip /data/media
it says error no device found.
joshevans5579 said:
I tried adb push myROM.zip /data/media
it says error no device found.
Click to expand...
Click to collapse
I got it!!!!! Thanks! I just wiped it again couldn't hurt anything. It recognized it this time! Again Thank you for your help I really appreciate it.
joshevans5579 said:
I got it!!!!! Thanks! I just wiped it again couldn't hurt anything. It recognized it this time! Again Thank you for your help I really appreciate it.
Click to expand...
Click to collapse
Very good !! Glad it turned out well for you.
Lost!
clsA said:
Here is the instructions i posted that got another guy up and running hope it helps you out
This worked in CWM anyway
Boot into recovery
from the pc (c:\fastboot) do the adb push filename.zip /data/media
wait for it to copy
then on the phone reboot recovery your rom should be in the root of the sdcard waiting for you to flash
I just tested it and it worked perfect ( of coarse I didn't format my sdcard so ymmv )
Click to expand...
Click to collapse
I've tried all of this with no luck at all. Main version is 1.26.502.10...tried installing Nandroid backups that other posted and keep getting an error when extracting the zip. I've adb pushed ROMs to the sdcard multiple times. They load for installation, everthing seems to work, but once I reboot, it hangs on the HTC screen.
I too deleted the system files so I can't get back in the phone. Tried CWM and TWRP and tried over and over to get it to work with no luck.
Tried installing CleanROM, Stock, and one other...no dice.
Any ideas? I've been at this for two days now.
download the 1.26.12 RUU that designgears posted in general
boot to bootloader
fastboot oem lock
install RUU to start fresh
gunnyman said:
download the 1.26.12 RUU that designgears posted in general
boot to bootloader
fastboot oem lock
install RUU to start fresh
Click to expand...
Click to collapse
Yes good advice
Sent from my HTC One using xda premium
gunnyman said:
download the 1.26.12 RUU that designgears posted in general
boot to bootloader
fastboot oem lock
install RUU to start fresh
Click to expand...
Click to collapse
Tried that but my version is 1.26.502.10 and that one is .12
It wouldn't work because of that.
metaluna21 said:
Tried that but my version is 1.26.502.10 and that one is .12
It wouldn't work because of that.
Click to expand...
Click to collapse
yes it would.
it works just fine
you have to lock your bootloader first is all.
the RUU is an unreleased leak, but yes it will install as long as your CID is CWS_001. An AT&T device.
joshevans5579 said:
I NEED SOME HELP
I was loading Cyangenmod to my HTC ONE and accidentally deleted my backup. Now it's saying there's no OS found and I can't load one from my computer. Please help me!
Click to expand...
Click to collapse
I did the same thing i used a usb otg cable (http://www.amazon.com/gp/product/B005QX7KYU/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1) I put a rom on a flash drive and mounted it in my recovery and problem solved os installed on phone and working fine.
gunnyman said:
yes it would.
it works just fine
you have to lock your bootloader first is all.
the RUU is an unreleased leak, but yes it will install as long as your CID is CWS_001. An AT&T device.
Click to expand...
Click to collapse
I get Error 132 signature every time I try to do the RUU
Which phone do you have?
gunnyman said:
Which phone do you have?
Click to expand...
Click to collapse
AT&T 32g HTC One

[Q] USB Drivers/Push ROM through ADB

Hello,
I'm a moron and accidentally formatted my SD card, now I can enter bootloader and recovery, but have no ROM's to flash. I can access ADB but when I search devices, it gives me a serial number type of value, then shows "recovery" next to it. I don't think it's actually seeing my device, therefore, I cannot send ROM's through ADB push command.
My question is, can anyone direct me to where I can find the correct drivers in order for ADB to see my device? Or is there any easier way of getting a ROM onto my SD card so I can flash a ROM?
Thank you all!
tjhayes said:
Hello,
I'm a moron and accidentally formatted my SD card, now I can enter bootloader and recovery, but have no ROM's to flash. I can access ADB but when I search devices, it gives me a serial number type of value, then shows "recovery" next to it. I don't think it's actually seeing my device, therefore, I cannot send ROM's through ADB push command.
My question is, can anyone direct me to where I can find the correct drivers in order for ADB to see my device? Or is there any easier way of getting a ROM onto my SD card so I can flash a ROM?
Thank you all!
Click to expand...
Click to collapse
Same here.. i feel like a complete moron.. im using TWRP and i ran into this guide
http://forum.xda-developers.com/showthread.php?t=2131284 I just sideloaded thru adb zip file of rom and it worked.. that was a close one. hope this helped.
Try in adb in recovery
push locationofblah/blah.zip sdcard/downloads
Also what recovery ate you using and was the rom 4.1 or 4.2 since that determines whether you need to push to sdcard or sdcard/0/downloads.
Sent from my VIPER DNA
reaverclan said:
Try in adb in recovery
push locationofblah/blah.zip sdcard/downloads
Also what recovery ate you using and was the rom 4.1 or 4.2 since that determines whether you need to push to sdcard or sdcard/0/downloads.
Sent from my VIPER DNA
Click to expand...
Click to collapse
Recovery is TWRP 4.1 I believe. I was using 4.2 previously (CM 10.1 Nightly) and was attempting to flash Gapps when I made my moronic decision. I'll attempt to push to sdcard/0/downloads this time - don't think I've tried that.
Thank you for your help!
tjhayes said:
I was using 4.2 previously (CM 10.1 Nightly) and was attempting to flash Gapps when I made my moronic decision. I'll attempt to push to sdcard/0/downloads this time - don't think I've tried that.
Thank you for your help!
Click to expand...
Click to collapse
If that says it doesn't exist try sdcard0.
Sent from my VIPER DNA
Moisesm said:
Same here.. i feel like a complete moron.. im using TWRP and i ran into this guide
http://forum.xda-developers.com/showthread.php?t=2131284 I just sideloaded thru adb zip file of rom and it worked.. that was a close one. hope this helped.
Click to expand...
Click to collapse
Thanks for the link!!! I think that should get me through my problems. I was looking for something like that, a walk-through, and couldn't quite find one.
Moisesm said:
Same here.. i feel like a complete moron.. im using TWRP and i ran into this guide
http://forum.xda-developers.com/showthread.php?t=2131284 I just sideloaded thru adb zip file of rom and it worked.. that was a close one. hope this helped.
Click to expand...
Click to collapse
Sideload ftw! Thanks again for the help and the link. Much was learned!

Last Step of Unlock Doesn't Seem to Be Working

After running the last step of the just released bootloader unlock, I get this.
Cannot open for read, no such file or directory
I'm copying and pasting, so I'm not sure what's wrong.
Edit- I got it! Making a backup, now. Bring on those ROMs, boys! Woohoo!
Just a thought but for other folks who might run into this issue, you could describe what you did to fix it - i.e., did you make a typo, did you put the file in the wrong directory...
phobos512 said:
Just a thought but for other folks who might run into this issue, you could describe what you did to fix it - i.e., did you make a typo, did you put the file in the wrong directory...
Click to expand...
Click to collapse
Re-installed the drivers. Don't know if that was it, but it finally went.
spotmark said:
After running the last step of the just released bootloader unlock, I get this.
Cannot open for read, no such file or directory
I'm copying and pasting, so I'm not sure what's wrong.
Edit- I got it! Making a backup, now. Bring on those ROMs, boys! Woohoo!
Click to expand...
Click to collapse
What you did to make this work?
android-incredible said:
What you did to make this work?
Click to expand...
Click to collapse
Don't know. Like I said, I re-installed the drivers, and just kept running the commands, and eventually it took.
android-incredible said:
What you did to make this work?
Click to expand...
Click to collapse
For me, my mistake was it got downloaded to the downloads folder and that's not the director being accessed. I didn't move it to just sit in the sdcard directory outside of a folder. So, when I ran the second command, I'd get your error. Moving the file solves the problem.
img
I flashed the image with flashify real easy
deathsquad737 said:
I flashed the image with flashify real easy
Click to expand...
Click to collapse
Was that all you needed to do to install the bump unlock and recovery is to flash the IMG file?
jlokos said:
Was that all you needed to do to install the bump unlock and recovery is to flash the IMG file?
Click to expand...
Click to collapse
Yes
WHATSAMATTA U ALUMNI
jlokos said:
Was that all you needed to do to install the bump unlock and recovery is to flash the IMG file?
Click to expand...
Click to collapse
Yes because it's the actual Recovery Image ( TWRP ) that's been Bump'd to work on our phones.
Bump isn't an app, it's a modified TWRP.

[Q] [Need Help] Deleted Android OS

So.. My first tread here.
Anyways, let's jump into the topic itself.
So today foolishly, I used TWRP and "kind of" deleted the whole operating system by accident.
How could I recover it, and no, I do not have ANY backups, I used to have but seems like I deleted them aswell..
The phone is Nexus 4 and Android version is 4.4.4
This is kind of urgent, since I need my phone to work right now.
All help is appreciated, waiting for your replies,
-Toquu
Anyone..?
Toquu said:
Anyone..?
Click to expand...
Click to collapse
You have 2 options:
Use adb to push a new rom to the phone and install in TWRP.
Use fastboot to flash the stock img files to the phone while in bootloader/fastboot mode.
es0tericcha0s said:
You have 2 options:
Use adb to push a new rom to the phone and install in TWRP.
Use fastboot to flash the stock img files to the phone while in bootloader/fastboot mode.
Click to expand...
Click to collapse
Could you find any step-by-step tutorials? I can't
Toquu said:
Could you find any step-by-step tutorials? I can't
Click to expand...
Click to collapse
I am new so i can't post links but type in google accidental wipe android nexus 4
Toquu said:
Could you find any step-by-step tutorials? I can't
Click to expand...
Click to collapse
Did you bother to look in the Nexus 4 forums here?
http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
My preferred method would be by adb though.
adb push nameofrom.zip /sdcard
while in recovery.
If you need adb http://forum.xda-developers.com/showthread.php?t=2317790
maybe it's impossible

Stock Boot.img problem, Please Help

Hello Guys! please help me:crying::crying:.
Is anyone here have the stock boot.img of Zenfone 5 t00j? I really need your help with this. I've tried to backup my system data many times. But the boot.img or boot.emmc.win file is not there. Your help is much more appreciated. Thankyou in advance
-LYNN- said:
Hello Guys! please help me:crying::crying:.
Is anyone here have the stock boot.img of Zenfone 5 t00j? I really need your help with this. I've tried to backup my system data many times. But the boot.img or boot.emmc.win file is not there. Your help is much more appreciated. Thankyou in advance
Click to expand...
Click to collapse
Is your device rooted?
What backup method are you using?
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Is your device rooted?
What backup method are you using?
Click to expand...
Click to collapse
He's obviously using TWRP and obviously is indeed rooted. I'm sorry to come off as rude (I don't mean to), but asking that isn't going to help. That's more less going to irritate other users anyways.
Sorry good sir I do believe you'll need to look through Google or though XDA to find what you are looking for. Having this thread may not catch the attention for others to see
TheExploitedOne said:
He's obviously using TWRP and obviously is indeed rooted. I'm sorry to come off as rude (I don't mean to), but asking that isn't going to help. That's more less going to irritate other users anyways.
Sorry good sir I do believe you'll need to look through Google or though XDA to find what you are looking for. Having this thread may not catch the attention for others to see
Click to expand...
Click to collapse
First, having TWRP installed does not equal being rooted, there are plenty of devices that have TWRP installed but are not rooted. Including devices that have TWRP and LineageOS custom ROMs installed but no root. You can install TWRP, create and restore backups and flash custom ROMs, all without root ever being involved in any part of it.
Second, nothing absolutely says they are obviously using TWRP. TWRP is not the only way of creating a .win backup file.
So, that equals, my questions were valid. They were asked for absolute specificity, instead of assuming.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
First, having TWRP installed does not equal being rooted, there are plenty of devices that have TWRP installed but are not rooted. Including devices that have TWRP and LineageOS custom ROMs installed but no root. You can install TWRP, create and restore backups and flash custom ROMs, all without root ever being involved in any part of it.
Second, nothing absolutely says they are obviously using TWRP. TWRP is not the only way of creating a .win backup file.
So, that equals, my questions were valid. They were asked for absolute specificity, instead of assuming.
Click to expand...
Click to collapse
Damn dude you really must be that ****in' stupid. TWRP is the only backup method I've ever seen to create a .win file in my years of Android hacking. Seems like you got butthurt though ?
TheExploitedOne said:
Damn dude you really must be that ****in' stupid. TWRP is the only backup method I've ever seen to create a .win file in my years of Android hacking. Seems like you got butthurt though [emoji23]
Click to expand...
Click to collapse
It's amazing how untrue all of that is, lol. Were you just looking for someone to troll or something?
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Is your device rooted?
What backup method are you using?
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
yes its rooted
-LYNN- said:
yes its rooted
Click to expand...
Click to collapse
Do you specifically need the stock boot.img from the device itself? If so, try adb and use dd commands to dd a copy of the img.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Is your device rooted?
What backup method are you using?
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
I tried to backup my system data many times using TWRP but still the only backup file appear is the system.ext4.win and data.ext4.win. No backup for boot.img. thats the problem is. That why im looking for the stock boot.img of zenfone t00j.
Droidriven said:
Do you specifically need the stock boot.img from the device itself? If so, try adb and use dd commands to dd a copy of the img.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
yes,I only need the stock boot.img. Coz I have my system files backup on my computer. is that possible sir? can you please teach me the adb command for that method?
-LYNN- said:
yes,I only need the stock boot.img. Coz I have my system files backup on my computer. is that possible sir? can you please teach me the adb command for that method?
Click to expand...
Click to collapse
You can download your stock firmware and extract the boot.img from the firmware.
Or, you can install a terminal emulator app or use the terminal emulator that is built into TWRP then find some threads that explain how to use dd commands on android to dd ..img files to/from your internal/external sdcard
You can also use adb/adb shell commands to dd ..img files to/from your device.
Sent from my SM-S767VL using Tapatalk

Categories

Resources