ADB/Fastboot to flash Boot/Recovery - Galaxy S III Q&A, (US Carriers)

Can Samsung phones use ADB and Fastboot to flash boot and recovery img files? I have my S3 but not my sim card in it. Therefore, my warranty is not valid yet. Just wondering if it is possible to flash it that way instead. HTC phones use that way and I prefer it as well.
I saw that the insecure boot.tar file had the boot.img inside it. On the CWM website, the recovery is also a .img in it. If it is possible, I can make a nice simple toolkit to flash and root the phone. I just need someone to confirm it.
If you want to test it, leave a post in this thread and I will walk you through what to do.

Related

[Q] flash_image file

So I am looking to flash a recovery image without RomMangaer from the device itself.
Should not be a issue since I can use flash_image to flash it, but ofc my ROM does not have it.
I found this thread here: http://forum.xda-developers.com/showthread.php?t=902493 that has a flash_image file attached to it...
My question is, can I use that flash_image file, even though that is in the G2 forum or do I need one built for the tbolt specifically? If I do can someone please link to it.
TIA.
It is ok to answer, I won't bite.
You need to grab the correct recovery file. Probably easiest to use Revolution to do this.
Sorry.... Revolutionary.
Look here as well.
http://forum.xda-developers.com/showthread.php?t=1179386
arbrouwer said:
You need to grab the correct recovery file. Probably easiest to use Revolution to do this.
Click to expand...
Click to collapse
arbrouwer said:
Sorry.... Revolutionary.
Click to expand...
Click to collapse
arbrouwer said:
Look here as well.
http://forum.xda-developers.com/showthread.php?t=1179386
Click to expand...
Click to collapse
Hi, I am not looking for a recovery file, I have CWMR already installed. I am looking for a flash_image file, so I can use a command such as flash_image recovery recovery.img if I wanted.
Thanks for trying.
Sounds like you want to run adb commands, not my specialty. Why not grab the appropriate img file and flash through hboot or clockwork.
http://rootzwiki.com/forum/11-thunderbolt/
MordyT said:
Hi, I am not looking for a recovery file, I have CWMR already installed. I am looking for a flash_image file, so I can use a command such as flash_image recovery recovery.img if I wanted.
Thanks for trying.
Click to expand...
Click to collapse
If you're meaning system partitions, you have to make those yourself through using dd and some mounting on linux.
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
http://www.slatedroid.com/topic/5799-repack-systemimg/
http://wiki.archosfans.com/index.php?title=Dump_your_Home_Tablet_rom_and_create_a_custom_rom
http://www.androidtablets.net/forum...notes-modifying-system-partition-desktop.html
Someone also JUST ASKED this on the same page of the q/a and got an answer. No one ever reads previous posts anymore
If you mean flashing recovery you have to grab it from the clockwork mod site and flash it using fastboot.
http://android-dls.com/wiki/index.php?title=Fastboot
arbrouwer said:
Sounds like you want to run adb commands, not my specialty. Why not grab the appropriate img file and flash through hboot or clockwork.
http://rootzwiki.com/forum/11-thunderbolt/
Click to expand...
Click to collapse
I do want to run adb commands - a very specific one - on the phone. The adb command is called "flash_image - such as flash_image boot boot.img.
I will be able to flash different partitions without the need of a PC. The only thing is, while a ASOP rom will have the flash_image command (and file called flash_image) a ROM like the one I am on (or even a stock rom) won't. So I need the file... The link I posted in the op has a flash_image file at the bottom, but I don't know if it works for thunderbolt since it is in a g2 forum...
yareally said:
If you're meaning system partitions, you have to make those yourself through using dd and some mounting on linux.
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
http://www.slatedroid.com/topic/5799-repack-systemimg/
http://wiki.archosfans.com/index.php?title=Dump_your_Home_Tablet_rom_and_create_a_custom_rom
http://www.androidtablets.net/forum...notes-modifying-system-partition-desktop.html
Someone also JUST ASKED this on the same page of the q/a and got an answer. No one ever reads previous posts anymore
If you mean flashing recovery you have to grab it from the clockwork mod site and flash it using fastboot.
http://android-dls.com/wiki/index.php?title=Fastboot
Click to expand...
Click to collapse
Actually, I was not asking that. I know how to make them and all. Do you see my low post count? It is because I read and read and read. Thanks for the advise though.
While I am asking about flashing recovery, I was not asking about hwo to do it in fastboot - I was asking how to do it on the device itself. Without ROM Manager.
In fact, I already know how to do it on the device itself... I need to use the command flash_image recovery recovery.img... except I am missing flash_image on my current ROM... so does anyone know where a version of that file is that is compatible with our tbolts?
MordyT said:
I do want to run adb commands - a very specific one - on the phone. The adb command is called "flash_image - such as flash_image boot boot.img.
I will be able to flash different partitions without the need of a PC. The only thing is, while a ASOP rom will have the flash_image command (and file called flash_image) a ROM like the one I am on (or even a stock rom) won't. So I need the file... The link I posted in the op has a flash_image file at the bottom, but I don't know if it works for thunderbolt since it is in a g2 forum...
Actually, I was not asking that. I know how to make them and all. Do you see my low post count? It is because I read and read and read. Thanks for the advise though.
While I am asking about flashing recovery, I was not asking about hwo to do it in fastboot - I was asking how to do it on the device itself. Without ROM Manager.
In fact, I already know how to do it on the device itself... I need to use the command flash_image recovery recovery.img... except I am missing flash_image on my current ROM... so does anyone know where a version of that file is that is compatible with our tbolts?
Click to expand...
Click to collapse
I dont look at post counts, they're deceiving anyways (and join dates).
Without rom manager? Who does it with that anyways (it's prone to issues)? You flash them in recovery. The commands you use to install something in recovery, if you wish to do it with adb in recovery instead of pressing the buttons are located here http://www.londatiga.net/it/how-to-create-android-update-zip-package/
And yes, you can flash stuff very well in fastboot as well, which is what it looks like you're trying to do by your command you listed. If you're not doing it in fastboot or recovery, you're just crazy and looking to screw something up. You can't do it elsewhere because it'll potentially break your phone.
When you named something recovery.img it makes it look like you're trying to flash a new version of recovery though and that is something you do in fastboot.
That file you wanted anyways, flash_image, just pull it out of another ROM. If it's not in there, then it's part of flashing a new recovery itself.
yareally said:
I dont look at post counts, they're deceiving anyways (and join dates).
Without rom manager? Who does it with that anyways (it's prone to issues)? You flash them in recovery. The commands you use to install something in recovery, if you wish to do it with adb in recovery instead of pressing the buttons are located here http://www.londatiga.net/it/how-to-create-android-update-zip-package/
And yes, you can flash stuff very well in fastboot as well, which is what it looks like you're trying to do by your command you listed. If you're not doing it in fastboot or recovery, you're just crazy and looking to screw something up. You can't do it elsewhere because it'll potentially break your phone.
When you named something recovery.img it makes it look like you're trying to flash a new version of recovery though and that is something you do in fastboot.
That file you wanted anyways, flash_image, just pull it out of another ROM. If it's not in there, then it's part of flashing a new recovery itself.
Click to expand...
Click to collapse
ROM Manager has its flaws. I can't flash boot.imgs in it, I can't flash custom recoverys (not cwm) in it, or any other partition I want....
I am not flashing in fastboot or recovery, or even using a PC. Call me crazy if you will but it is how I roll. The non-need of a computer is what I am after.
See this thread. What I am trying to do is something that can be done since day 1 with android..
http://forum.xda-developers.com/showthread.php?t=902493
http://www.clockworkmod.com/rommanager you can probably pull what you want out of the clockwork recovery image or rom manager.apk. Either mount the recovery image on linux or open up rom manager's apk with a zip program and pull it out.
EDIT: flash_image is in the rom_manager apk. Just get it out of that at the link above.

[Q] Frozen at HTC screen and can't recover

Hi,
Let me start off by saying that I have viewed other threads but have not been able to find one that has this same exact problem. Can someone please help?
I have an HTC Evo 3D unlocked with the HTC method, S-On.
I put a new rom on my SD card, I was using InfectedRom but it had some issues. I loaded into bootloader and used revolutionary to flash the rom. I didn't do a wipe or anything else, thinking that it would just flash the rom and I would be good to go.
The phone gets stuck on the HTC splash screen when I go to boot it. I have tried everything from restoring from a back up, to wiping the phone to wiping the cache and am at a loss.
Can someone please offer me some advice? I really need to get this phone back up and running.
Thanks in advance.
Did you flash the boot.img for the ROM?
How can I do that?
Jep4444 said:
Did you flash the boot.img for the ROM?
Click to expand...
Click to collapse
Thanks for the quick response. How can I go about doing that?
thealist said:
Thanks for the quick response. How can I go about doing that?
Click to expand...
Click to collapse
Considering you're S-ON, how did you install a custom ROM in the first place without doing so?
thealist said:
Thanks for the quick response. How can I go about doing that?
Click to expand...
Click to collapse
You can do that by using fastboot to boot your recovery image.
Code:
fastboot boot [NAMEOFRECOVERY].img
Just running your recovery normally won't allow flashing to certain partitions.
From there, you shouldn't have any problems flashing the full image. The second option would be to use 4EXT recovery (There's a CDMA/GSM version, but don't know off the top of my head), or joeykrim's FlashImageGUI to assist in flashing to specific partitions from the phone.
Edit: CDMA and GSM correction.
Jep4444 said:
Considering you're S-ON, how did you install a custom ROM in the first place without doing so?
Click to expand...
Click to collapse
thealist took the HTCDev unlock which doesn't give S-OFF, but does allow the user to flash custom ROMs.
~co~
closeone said:
You can do that by using fastboot to boot your recovery image.
Code:
fastboot boot [NAMEOFRECOVERY].img
Just running your recovery normally won't allow flashing to certain partitions.
From there, you shouldn't have any problems flashing the full image. The second option would be to use 4EXT recovery (There's a CDMA/GSM version, but don't know off the top of my head), or joeykrim's FlashImageGUI to assist in flashing to specific partitions from the phone.
Edit: CDMA and GSM correction.
thealist took the HTCDev unlock which doesn't give S-OFF, but does allow the user to flash custom ROMs.
~co~
Click to expand...
Click to collapse
Don't S-ON roms still need the boot.img to be flashed to install any ROM?
closeone said:
You can do that by using fastboot to boot your recovery image.
Code:
fastboot boot [NAMEOFRECOVERY].img
Where do I find my recovery image?
Just running your recovery normally won't allow flashing to certain partitions.
From there, you shouldn't have any problems flashing the full image. The second option would be to use 4EXT recovery (There's a CDMA/GSM version, but don't know off the top of my head), or joeykrim's FlashImageGUI to assist in flashing to specific partitions from the phone.
Edit: CDMA and GSM correction.
Thanks. Where would I find this and do I put that into the root sd card portion of my phone and then run through the bootloader? Sorry, I am relatively new to this process. Thanks for your patience.
thealist took the HTCDev unlock which doesn't give S-OFF, but does allow the user to flash custom ROMs.
That's exactly what I did.
~co~
Click to expand...
Click to collapse
Thanks for all the help. It's very much appreciated.
closeone said:
You can do that by using fastboot to boot your recovery image.
Code:
fastboot boot [NAMEOFRECOVERY].img
Just running your recovery normally won't allow flashing to certain partitions.
From there, you shouldn't have any problems flashing the full image. The second option would be to use 4EXT recovery (There's a CDMA/GSM version, but don't know off the top of my head), or joeykrim's FlashImageGUI to assist in flashing to specific partitions from the phone.
Edit: CDMA and GSM correction.
thealist took the HTCDev unlock which doesn't give S-OFF, but does allow the user to flash custom ROMs.
~co~
Click to expand...
Click to collapse
Sorry, my last post did not quote correctly.
How do I find my recovery image?
Once I get FlashImageGUI, do I put that into the root of my SD card by plugging it into my mac?
Jep4444 said:
Don't S-ON roms still need the boot.img to be flashed to install any ROM?
Click to expand...
Click to collapse
Well, all ROMs will need to have a boot.img flashed to boot, but since they are included in the ZIP file containing the ROM, they are normally flashed along with the ROM. If you use FlashImageGUI, you can flash from a boot.img or from a kernel zip file. By running the fastboot boot command, this allows the user to flash to partitions that are locked when booted into recovery from the bootloader.
thealist said:
Sorry, my last post did not quote correctly.
How do I find my recovery image?
Once I get FlashImageGUI, do I put that into the root of my SD card by plugging it into my mac?
Click to expand...
Click to collapse
These are two different methods for accomplishing the same task.
Have you loaded a custom recovery (like ClockworkMod Recovery, TWRP, or 4EXT) before? If you've kept the recovery image on your computer, you can just use that one. Instead of flashing it to your recovery partition (fastboot flash recovery [NAMEOFRECOVERY].img), you would boot to it instead (fastboot boot [NAMEOFRECOVERY].img).
If you use want to use FlashImageGUI, you would copy it to your SD card, install it on the phone, and run the app. Make sure that you've got the ROM you want to flash on the SDCard. If I remember correctly, FlashImageGUI will pull the boot.img out of the ZIP and flash it. Then you will have to boot into your custom recovery to flash the rest of the image. Flashing just the boot image will most likely leave you with a phone that won't boot (until you flash the rest of the ROM).
~co~
closeone said:
Well, all ROMs will need to have a boot.img flashed to boot, but since they are included in the ZIP file containing the ROM, they are normally flashed along with the ROM. If you use FlashImageGUI, you can flash from a boot.img or from a kernel zip file. By running the fastboot boot command, this allows the user to flash to partitions that are locked when booted into recovery from the bootloader.
These are two different methods for accomplishing the same task.
Have you loaded a custom recovery (like ClockworkMod Recovery, TWRP, or 4EXT) before? If you've kept the recovery image on your computer, you can just use that one. Instead of flashing it to your recovery partition (fastboot flash recovery [NAMEOFRECOVERY].img), you would boot to it instead (fastboot boot [NAMEOFRECOVERY].img).
If you use want to use FlashImageGUI, you would copy it to your SD card, install it on the phone, and run the app. Make sure that you've got the ROM you want to flash on the SDCard. If I remember correctly, FlashImageGUI will pull the boot.img out of the ZIP and flash it. Then you will have to boot into your custom recovery to flash the rest of the image. Flashing just the boot image will most likely leave you with a phone that won't boot (until you flash the rest of the ROM).
~co~
Click to expand...
Click to collapse
I have never loaded ClockworkMod Recovery, TWRP, or 4EXT to my phone. Is that something I can download online and then transfer to my phone using the bootloader? I have Revolutionary which allows me to mount the SD card. Same thing goes for FlasImageGUI. I can't get past the HTC load screen so is that something I can just transfer and use Bootloader with?
thealist said:
I have never loaded ClockworkMod Recovery, TWRP, or 4EXT to my phone. Is that something I can download online and then transfer to my phone using the bootloader? I have Revolutionary which allows me to mount the SD card. Same thing goes for FlasImageGUI. I can't get past the HTC load screen so is that something I can just transfer and use Bootloader with?
Click to expand...
Click to collapse
What is this 'Revolutionary' that you're talking about? I realize that multiple pieces of software can be called the same thing though. How did you load on the ROM that you're currently on? Also, before I link you anywhere (because I don't want you loading the wrong recovery on your phone), is your phone on Sprint, or another carrier? You'd use Recovery to load ROMs, back them up, and so on.
What exactly was it that you were trying to do? Or rather, how did the phone get to a state where it's frozen on the HTC logo? Do you have a custom ROM loaded, or the stock ROM?
Sorry for all the questions, and hopefully this response doesn't come off rude (I don't mean it to ). I'm just trying to figure out what's going on before I suggest anything.
If you are on Sprint, you can run this recovery from Fastboot USB mode.
Code:
fastboot boot cwm-4.0.1.4-shooter.img
~co~
closeone said:
What is this 'Revolutionary' that you're talking about? I realize that multiple pieces of software can be called the same thing though. How did you load on the ROM that you're currently on? Also, before I link you anywhere (because I don't want you loading the wrong recovery on your phone), is your phone on Sprint, or another carrier? You'd use Recovery to load ROMs, back them up, and so on.
What exactly was it that you were trying to do? Or rather, how did the phone get to a state where it's frozen on the HTC logo? Do you have a custom ROM loaded, or the stock ROM?
Sorry for all the questions, and hopefully this response doesn't come off rude (I don't mean it to ). I'm just trying to figure out what's going on before I suggest anything.
If you are on Sprint, you can run this recovery from Fastboot USB mode.
Code:
fastboot boot cwm-4.0.1.4-shooter.img
~co~
Click to expand...
Click to collapse
Your questions are really appreciated. Sorry I haven't been more clear.I really appreciate the help as I've gotten myself in trouble here.
I went on htcevohack and found how to flash the synergy infectedrom. The rom has some bugs in it so I downloaded a new rom and placed in the root folder of my SD card. Revolutionary is a program that allows me to wipe data, install from zip card, mount storage so and so forth. I tried to flash the zip from the new rom using this program and this is where I have had the problem. I have the Sprint Evo 3D. I am relatively new to this and just want a stable rom that has wifi tether on it. Thanks again for the help and for the patience.
thealist said:
Your questions are really appreciated. Sorry I haven't been more clear.I really appreciate the help as I've gotten myself in trouble here.
I went on htcevohack and found how to flash the synergy infectedrom. The rom has some bugs in it so I downloaded a new rom and placed in the root folder of my SD card. Revolutionary is a program that allows me to wipe data, install from zip card, mount storage so and so forth. I tried to flash the zip from the new rom using this program and this is where I have had the problem. I have the Sprint Evo 3D. I am relatively new to this and just want a stable rom that has wifi tether on it. Thanks again for the help and for the patience.
Click to expand...
Click to collapse
Oh! Now I know what your talking about. Max from HTCEVOHacks put the Revolutionary branded version of ClockworkMod Recovery in that archive. I know that for a fact (I downloaded it). It's actually the same version of ClockworkMod Recovery that I linked you to.
Okay. Here's my suggestion to start out with. Flash the recovery.img he included (CWM) onto your phone by booting it up into the bootloader, connecting it to your computer making sure that the phone is in FASTBOOT USB mode. Instead of running the command:
Code:
fastboot boot recovery.img
Run the command:
Code:
fastboot flash recovery recovery.img
That will put a copy of ClockworkMod Recovery on your phone. It's accessible by selecting Recovery from the HBOOT menu.
Now, because HTC's Unlock method doesn't unlock enough to flash most images to your phone, you'll still have to run the 'fastboot boot recovery.img' command each time you want to flash different image. That's the classic way we have used to get around HTC's restrictions.
From there, you can flash another image. Make sure to wipe data before flashing.
The reason I told you to also flash the recovery image to your phone is because, you can still create NANDroid backups without connecting to a computer. However, to restore those backups, you'll have to 'fastboot boot ...' the recovery image.
Now, his archive is quite dated. I'd personally recommend after you flash a new ROM, that you take a look at the 4EXT recovery thread in the EVO 3D CDMA development forum. It's really very good (I also like TWRP as well).
Now, there probably wasn't a problem with the ROM. I've used it myself, and have found it to be quite stable. If you flash a ROM onto the phone without wiping data first, you'll probably run into problems booting the ROM. If you liked InfectedRom Eternity, you can always try it again.
This is where NANDroid backups are important. If anything gets messed up, you can easily restore from one in your custom recovery (CWM/4EXT/TWRP).
I hope I didn't throw too much out there. Hopefully this gets you off the ground.
~co~
closeone said:
Oh! Now I know what your talking about. Max from HTCEVOHacks put the Revolutionary branded version of ClockworkMod Recovery in that archive. I know that for a fact (I downloaded it). It's actually the same version of ClockworkMod Recovery that I linked you to.
Okay. Here's my suggestion to start out with. Flash the recovery.img he included (CWM) onto your phone by booting it up into the bootloader, connecting it to your computer making sure that the phone is in FASTBOOT USB mode. Instead of running the command:
Code:
fastboot boot recovery.img
Run the command:
Code:
fastboot flash recovery recovery.img
That will put a copy of ClockworkMod Recovery on your phone. It's accessible by selecting Recovery from the HBOOT menu.
Now, because HTC's Unlock method doesn't unlock enough to flash most images to your phone, you'll still have to run the 'fastboot boot recovery.img' command each time you want to flash different image. That's the classic way we have used to get around HTC's restrictions.
From there, you can flash another image. Make sure to wipe data before flashing.
The reason I told you to also flash the recovery image to your phone is because, you can still create NANDroid backups without connecting to a computer. However, to restore those backups, you'll have to 'fastboot boot ...' the recovery image.
Now, his archive is quite dated. I'd personally recommend after you flash a new ROM, that you take a look at the 4EXT recovery thread in the EVO 3D CDMA development forum. It's really very good (I also like TWRP as well).
Now, there probably wasn't a problem with the ROM. I've used it myself, and have found it to be quite stable. If you flash a ROM onto the phone without wiping data first, you'll probably run into problems booting the ROM. If you liked InfectedRom Eternity, you can always try it again.
This is where NANDroid backups are important. If anything gets messed up, you can easily restore from one in your custom recovery (CWM/4EXT/TWRP).
I hope I didn't throw too much out there. Hopefully this gets you off the ground.
~co~
Click to expand...
Click to collapse
Thanks a lot! I am going to try this right now. I have a mac so I am assuming that I need to use terminal which is what I originally used. Do you know if the extension you provided were also for a mac?

how do i throw cm10 on here?! lol messed up

so hey guys. just got an evo, and did the regaw root method where it unlocks the loader using HTcunlocker. and it also installed the twrp. i downloaded the cm10 zip and threw it on a sd card.
I put the sd card in, and went and booted into recovery mode... all good. locate zip on the external sd card, and when i try and install it, it fails first step... any suggestions what to do.
I read around and noticed you need s off to do anything that has its own kernel.
seems my hmode is like 1.5 or something so i cant do the s-off. I need to downgrade it. No problem.
bad thing is in the recovery i went to do a wipe facory reset, and now when i try and boot to system it says NO OS found! haha i power it down and back on, and it says no os found!
I cant use an RUU or downgrade tool because i cant boot up and into debugging,
i know you clever people can help me out a bit, right?! i miss my epic 4g slider
EDIT STILL NEED HELP please and thank you in advance
http://forum.xda-developers.com/showthread.php?t=1869377
Pay attention to the S-On part of that article. You have to flash the kernel separately with S-On. Also there is now a method of downgrading in order to achieve S-Off. It can be found in the original development subsection.
it seems like i downloaded a RUU with 1.3, but the problem is, it says it cant connect to the phone. i didnt install any drivers or anything. so point blank, since this was a newer phone, I need to download a livecd of linux in order to get this thing to boot to anything other then the white htc screen or twrp?
You need to get into twrp by holding power and volume down . Once there wipe everything except storage. Then mount USB and copy/paste a Rom from your pc to your phone. Pull the boot IMG first and place where your adb/fastboot files are.
Flash the Rom, when its done boot into bootloader from recovery and then fasyboot flash the boot IMG
There are detailed instructions on how to do these steps all over XDA
Hope you get it up and running
I don't know if you need those drivers you talked about. If you wanted to be sure about having the correct drivers you could install HTC sync on your pc.
Sent from my EVO using xda premium
Ok let me read into that push/pull adb fastboot thing.
corcgaigh said:
You need to get into twrp by holding power and volume down . Once there wipe everything except storage. Then mount USB and copy/paste a Rom from your pc to your phone. Pull the boot IMG first and place where your adb/fastboot files are.
Flash the Rom, when its done boot into bootloader from recovery and then fasyboot flash the boot IMG
There are detailed instructions on how to do these steps all over XDA
Hope you get it up and running
I don't know if you need those drivers you talked about. If you wanted to be sure about having the correct drivers you could install HTC sync on your pc.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
ok so go into twrp. then from my rom zip file, youre saying to pull out the boot.img and place in the fastboot folder (not sure)
then flash the whole zip file of the rom (with or without the boot.img that i copied) and then you say boot into bootloader and than fastboot flash the boot.img? im kinda lost right there
So As i just woke up and ready to try again with this bastard phone, can you link me to something stating how to actually flash a rom using s-on htcunlock? or just how and where you put the boot img and where the fastboot folder is etc.
Best thing to do probably is read om4's guide in the Q&A section. Its stickyed or maybe download flash image gui. The app explains the process. Its any easy solution for s-on folks.
Sorry i cant explain in detail how to fastboot flash the boot img but all the info easily found on xda.
Sent from my EVO using xda premium
So when i try to send the image using fastboot, i do fastboot devices, and then i try and send. it says sending, but will stay there infinitely. I cant find a thread that talks about it locking up during the file transfer
Maybe I'm missing something here but couldn't he put a rom like meanROM ,that has the s-on kernel installer built in, onto his sd card (assuming he has one) and install it from TWRP just so he has a working phone? Then he could properly research how to get CM10 installed and running.

How can I unpack or flash this ROM?

I'm using an Empire ElectroniX D709 tablet, running Android 4.0.4. It's an old low-spec device, and I'm planning to use this device to improve my Android hacking skills.
I've asked the manufacturers to send me the stock ROM, which they did. Pretty cool!
The problem is that there's no flashing tool or instructions included, and the staff I spoke with did not know how to flash it either.
So now I'm on my own, with a big image file I don't know how to flash.
I tried to start a development thread at the Miscelleaneous Android Development section, but because I have almost no posts, I can't post there. So maybe this is a good place to ask. How can I flash or unpack this image?
You can find the ROM here: http://www.needrom.com/download/empire-electronics-d709/
Exeleration-G said:
I'm using an Empire ElectroniX D709 tablet, running Android 4.0.4. It's an old low-spec device, and I'm planning to use this device to improve my Android hacking skills.
I've asked the manufacturers to send me the stock ROM, which they did. Pretty cool!
The problem is that there's no flashing tool or instructions included, and the staff I spoke with did not know how to flash it either.
So now I'm on my own, with a big image file I don't know how to flash.
I tried to start a development thread at the Miscelleaneous Android Development section, but because I have almost no posts, I can't post there. So maybe this is a good place to ask. How can I flash or unpack this image?
You can find the ROM here: http://www.needrom.com/download/empire-electronics-d709/
Click to expand...
Click to collapse
You have to manually flash them using fastboot. Look up how to get fastboot and move the image(s) to the folder were fastboot.exe is located. Boot into your bootloader either via adb reboot bootloader or by physically doing it from the device. Now here is where most people fail. At the end of the file name, before the .img, it should be either boot, fastboot, recovery or system. If it is system, then do fastboot flash system nameofthesystemimg.img and if it is boot, you get the idea.
Thank you. Fastboot is a good idea. Problem is that I don't know which partition this .img file belongs to. I have the feeling that this file contains every partition, yet I'm not sure how to split it up so that I can flash each partition.
Exeleration-G said:
Thank you. Fastboot is a good idea. Problem is that I don't know which partition this .img file belongs to. I have the feeling that this file contains every partition, yet I'm not sure how to split it up so that I can flash each partition.
Click to expand...
Click to collapse
Will you mind sharing the whole file name? If it is an all partition img you can do fastboot flash all (I think). Just type fastboot and see the all option in the help menu.
Sent using a ks01lte (gt-i9506) running cm 13
RAZERZDAHACKER said:
Will you mind sharing the whole file name? If it is an all partition img you can do fastboot flash all (I think). Just type fastboot and see the all option in the help menu.
Sent using a ks01lte (gt-i9506) running cm 13
Click to expand...
Click to collapse
The full file name is D709_n.img. Theres an option fastboot flashall indeed.
Right now, I'm trying to get the device into fastboot, without success. Things I've tried until now:
Code:
adb reboot-bootloader
adb reboot bootloader
adb reboot fastboot
Every time, the device restarts and just enters the normal mode. I can get into stock recovery, but there's no option to restart to bootloader there.
Exeleration-G said:
The full file name is D709_n.img. Theres an option fastboot flashall indeed.
Right now, I'm trying to get the device into fastboot, without success. Things I've tried until now:
Code:
adb reboot-bootloader
adb reboot bootloader
adb reboot fastboot
Every time, the device restarts and just enters the normal mode. I can get into stock recovery, but there's no option to restart to bootloader there.
Click to expand...
Click to collapse
Hmmm, if you type adb devices, do you see your device there? If not, search online for drivers. If that does not work, google your device and how to get it to fastboot.
RAZERZDAHACKER said:
Hmmm, if you type adb devices, do you see your device there? If not, search online for drivers. If that does not work, google your device and how to get it to fastboot.
Click to expand...
Click to collapse
Yes, it's fully recognized, and I can adb in it just fine. I also get an adb prompt in recovery mode that lets me control the device. The only problem right now is getting this thing to fastboot.
Update
After googling its model number (crane-evb), I found out that this device can be flashed using LiveSuite (described here). It's nice to see the device back in its factory condition. Now I need to find a way to extract the partitions.
[QRCODE][/QRCODE]
Exeleration-G said:
Update
After googling its model number (crane-evb), I found out that this device can be flashed using LiveSuite (described here). It's nice to see the device back in its factory condition. Now I need to find a way to extract the partitions.
Click to expand...
Click to collapse
YaY! I was going to say that in stock recovery there is this option called update via adb or something but now that it is working, there is no need for that.

Help with root (Magisk) (Huawei P smart)

So I've been thinking about rooting my device for awhile and decided to do it (tried to).
Turns out because Huawei blocked the request for boot loader so I now can't unlock it to install twrp and get root.
I looked on magisk's website and it says devices on EMUI 8 can do this method:
"If you plan not to use custom recoveries, you will have to extract RAMDISK.img from your firmware. Follow the instructions for boot image patching above, but use the RAMDISK.img file instead of a boot image. To install the patched image back to your device, here is the fastboot command: fastboot flash ramdisk /path/to/patched_boot.img. Be aware you are flashing to ramdisk, not boot!"
This is great but I have also have no clue what it means.
How do I extract the ramdisk file and how would I boot it into my device?
does anyone have an easy to understand tutorial of how to do it?

Categories

Resources