So I accidentally formatted system and my sd card in touch recovery (don't ask) and now my phone is in bootloop because it has no Rom. For some reason I can't mount sd card through recovery and I can't find a mac tool to help me flash back to stock. Can someone please help!
Use fastboot and flash the Google factory recovery image system.img
Thanks for your reply. Can you please tell me how to do this
I am downloading the images now and I know how to get into fastboot. I just need to know that mac commands
I am unsure of mac commands but on windows through ADB you unzip the system image until you see the recover.img, system.img, and such. Place the system.img file into you adb platform tools file and then open command prompt and type fastboot flash system system.img and let it install then you reboot
Damn I have no clue man
Check this out it may help you a bit
http://forums.androidcentral.com/ve...-root-unroot-unlock-your-vz-galaxy-nexus.html
looking into it. and isn't there a way that I can just flash a rom (zip) from the bootloader?
Ohleo said:
looking into it. and isn't there a way that I can just flash a rom (zip) from the bootloader?
Click to expand...
Click to collapse
No, but you can flash the google images in the bootloader using fastboot.
El Daddy said:
No, but you can flash the google images in the bootloader using fastboot.
Click to expand...
Click to collapse
Trying too but the commands posted in the link above aren't working
Ohleo said:
Trying too but the commands posted in the link above aren't working
Click to expand...
Click to collapse
What is the error after entering the command?
Device not found lol
Ohleo said:
Device not found lol
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1626895
I got it working. Thanks guys
Related
Hi
Can someone please guide.me on how to flash a .img file to my ads without recovery? I have a system.img file that's is Android 2.3.3 and want to flash it. I'm really looking forward on getting this flashed but if anyone has any ideas on doing so to please comment below. Thanks
Reboot to bootloader and choose "Fastboot".
Code:
fastboot flash <partion> <path-to-file.img>
for example
Code:
fastboot flash system android_2.3.3.img
kalaker said:
Reboot to bootloader and choose "Fastboot".
Code:
fastboot flash <partion> <path-to-file.img>
for example
Code:
fastboot flash system android_2.3.3.img
Click to expand...
Click to collapse
That's all? Wow thanks, I should have know that
MrTaco505 said:
That's all? Wow thanks, I should have know that
Click to expand...
Click to collapse
No problem! If it doesn't work, just post it.
So im got this gnex borked an I am rtying to fix it. So far i have tried every known method(usb jig,toolkit,omap flasher, fastboot) basically everything in the book.
The phone itself will not boot up except by running omap flasher. When running omap flasher I can boot up into fastboot via plugging it in and holding all buttons. In fastboot the volume keys do not work. If I start off by trying to flash a bootloader it gets stuck at writing bootloader. If I try to flash a recovery it will say unknown partition. The jig does not force it into download mode.
Please advise me on what other steps to try.
Thanks in Advance.
just a little update I am able to boot into cwm by using fastboot boot command this allowed me to have a window into adb. I am not able to mount tanything in cwm including sdcard and /sytstem
I checked the partitions to see if they are O.K. and you can see the result in the attached pic
i tried the fastboot boot bl.img and it made it hang at the google screen with padlock
i think you should try ot flash a factory image , if you cant do this via adb , use some toolkit ,,,
khuzema9 said:
i think you should try ot flash a factory image , if you cant do this via adb , use some toolkit ,,,
Click to expand...
Click to collapse
If i do that It gets stuck at writing bootloader.
If you had a backup saved, it would have been easy.
Edit: Sounds like the sys permission might have been changed or something you installed could have altered the bootloader.
yalkowni said:
If i do that It gets stuck at writing bootloader.
Click to expand...
Click to collapse
Try
Code:
fastboot format bootloader
before flashing?
It does look like your partitions are derped. There should be A LOT MORE partitions to show. Hopefully partition info is still there, so you might as well use fastboot to format everything else (recovery, userdata, system).
---------- Post added at 04:15 PM ---------- Previous post was at 04:10 PM ----------
yalkowni said:
i tried the fastboot boot bl.img and it made it hang at the google screen with padlock
Click to expand...
Click to collapse
Code:
fastboot boot
is only for booting kernels, so that obviously doesn't work.
Actually i use fastboot boot to boot clockworkmod... So it works for recoveries too.
And i agree that the partitions do not look right.
Would you fastboot flash bootloader?
Yeah. Get a bootloader from the factory image.
You can use fastboot commands right? Format every partition you can think of, except for bootloader. (system, userdata, recovery, boot)
Then flash a bootloader.
This may screw up further, but I can't think of anything else, so if all else fails, then go crazy and format bootloader? What modes can you get into and how?
I thank you guys a lot for helping me out. I will try your suggestions in an hour and report back here.
formatatitng any partition comes back in error with unknown partition.
formatitng bootloader comes back in
yalkowni said:
formatatitng any partition comes back in error with unknown partition.
formatitng bootloader comes back in
Click to expand...
Click to collapse
Sheesh...you got no partition info, so fastboot can make them.
Your NAND is pretty well fried I guess.
It might be time to get a replacement.
I don't know how it might be possible to repartition with having a partition info table. Mayyybe somehow you can get the partition info and have the whole internal storage mounted on your desktop, but that doesn't seem possible.
gnustomp said:
Sheesh...you got no partition info, so fastboot can make them.
Your NAND is pretty well fried I guess.
It might be time to get a replacement.
I don't know how it might be possible to repartition with having a partition info table. Mayyybe somehow you can get the partition info and have the whole internal storage mounted on your desktop, but that doesn't seem possible.
Click to expand...
Click to collapse
Anyway I can rewrite the partition table somehow ?
yalkowni said:
Anyway I can rewrite the partition table somehow ?
Click to expand...
Click to collapse
if u can go into download mode then see my signature for odin firmware (pit file re-partition table + bootloader)
samersh72 said:
if u can go into download mode then see my signature for odin firmware (pit file re-partition table + bootloader)
Click to expand...
Click to collapse
is there any command via adb or fastboot cammands that corces it into download mode?
I havent found a command, but i believe it is to power up via power+volume down..
yalkowni said:
is there any command via adb or fastboot cammands that corces it into download mode?
Click to expand...
Click to collapse
I don't even know how to get into download mode. Is it even there?
Sent from my Nexus 7 using Tapatalk HD
yalkowni said:
is there any command via adb or fastboot cammands that corces it into download mode?
Click to expand...
Click to collapse
Press and hold volume down + power button . or use a USB jig if u have one. Unfortunately, there is no adb or fastboot command for Odin mode
Sent from my Galaxy Nexus using xda premium
Hi guys, this is the TWRP for the Huawei Watch.
To Flash:
Code:
adb reboot bootloader
fastboot flash recovery TWRP2.8.7.0-Sturgeon.img
Source:
Device tree
Modded TWRP source
Big thanks to @Dees_Troy for the help and, of course, for the TWRP source.
Do we have to rename/delete the recovery-from-boot.p file while in TWRP or via ADB?
brizey said:
Do we have to rename/delete the recovery-from-boot.p file while in TWRP or via ADB?
Click to expand...
Click to collapse
I never made it... can you explain better?
Skin1980 said:
I never made it... can you explain better?
Click to expand...
Click to collapse
There is a file /system/recovery-from-boot.p that, on Nexus devices at least, reflashes the stock recovery on system boot. I think the idea is that that is how they upgrade the recovery. It is a good system for ota--it makes sure the system update is good before it replaces your recovery. Usually have to rename it or delete it to stop TWRP from being overwritten.
It's not a huge deal...I am actually thinking of just fastbooting recovery as I am not very likely to change my firmware on the go anyway.
Now we just need to get one of these things into the hands of a ROM dev. :highfive:
When I try and load this I get the following error..
fastboot flash recovery TWRP2.8.7.0-Sturgeon.img
target reported max download size of 63963136 bytes
error: cannot load 'TWRP2.8.7.0-Sturgeon.img': No error
myke66 said:
When I try and load this I get the following error..
fastboot flash recovery TWRP2.8.7.0-Sturgeon.img
target reported max download size of 63963136 bytes
error: cannot load 'TWRP2.8.7.0-Sturgeon.img': No error
Click to expand...
Click to collapse
Two things:
You are unlocked, right? Ran the command "fastboot oem unlock" in fastboot mode? (Warning: this will factory reset your device)
Try fastboot booting the image instead of flashing it:
fastboot boot TWRP2.8.7.0-Sturgeon.img
brizey said:
Two things:
You are unlocked, right? Ran the command "fastboot oem unlock" in fastboot mode? (Warning: this will factory reset your device)
Try fastboot booting the image instead of flashing it:
fastboot boot TWRP2.8.7.0-Sturgeon.img
Click to expand...
Click to collapse
Yeah I am unlocked, I am using the sturgeon kernel already, do i need to be on the stock one for this to work?
It works but how to flash super supersu/root?
I will install this, I can my watch with my pc win 10 64 no connection, what is better way to have connection with my pc
Usa il non metodo come metodo avendo l assenza di limiti come limite
Skin1980 said:
Hi guys, this is the TWRP for the Huawei Watch
Click to expand...
Click to collapse
NICE!!!!!!!! I just got mine today and popped in to see what is going on and first thing I see is kernel and TWRP! Very nice!
brizey said:
Do we have to rename/delete the recovery-from-boot.p file while in TWRP or via ADB?
Click to expand...
Click to collapse
Basically he is asking if the recovery will survive a reboot. I assume it does as I guess you would have tested it multiple times.
It works but how to flash super supersu/root?
Does anyone know if there is a (new) TWRP Ver. 3.0 for the Huawei Watch? ........and a link to it.
ausi said:
Does anyone know if there is a (new) TWRP Ver. 3.0 for the Huawei Watch? ........and a link to it.
Click to expand...
Click to collapse
Have not seen it...yet
When i tried to Restore a BackUp in the Watch through TWRP 2.8.7.0 i got a RED notification "Cannot Restore System...mounted Read Only".
Restore Failed!
Does any one know a solution?
ausi said:
When i tried to Restore a BackUp in the Watch through TWRP 2.8.7.0 i got a RED notification "Cannot Restore System...mounted Read Only".
Restore Failed!
Does any one know a solution?
Click to expand...
Click to collapse
mount system manually
acultr said:
mount system manually
Click to expand...
Click to collapse
Sorry for the Newbee question-
How is this done, using what?
Thanks
ausi said:
Sorry for the Newbee question-
How is this done, using what?
Thanks
Click to expand...
Click to collapse
TWRP mount check system
now we need twrp3.0.0-0 for hwatch and root too
If someone can post a kernel dump would be great
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img
Skin1980 said:
If someone can post a kernel dump would be great
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img
Click to expand...
Click to collapse
Got it.
Uploaded it to Drive. If you'd like it from another site, I can do that.
https://drive.google.com/file/d/0B4CYHidtQWQGTVQwM21GMDd5Qm8/view?usp=sharing
Hi
When I start up the boot loader or hit start, it just goes into recovery mode
When I turn my phone off normally and start it up, it just goes into recovery mode
I have an unlocked phone that's rather new, and I can't start it up
Thanks for the help
RingPvP said:
Hi
When I start up the boot loader or hit start, it just goes into recovery mode
When I turn my phone off normally and start it up, it just goes into recovery mode
I have an unlocked phone that's rather new, and I can't start it up
Thanks for the help
Click to expand...
Click to collapse
Running stock rom and stock kernel? Or custom rom kernel? Twrp recovery? Any other info
Sent from my Nexus 5X using Tapatalk
The_Automator said:
Running stock rom and stock kernel? Or custom rom kernel? Twrp recovery? Any other info
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
I did *fastboot flash boot twrp.img. I mean't to flash it, but I was thinking twrp.img when trying to use boot.img
I couldn't undo it, and I knew I damaged my phone from this, but if there is a possible chance to fix it I am in even if I loose my data.
I was pretty sure this was the reason my Nexus 5x doesn't work, but I did nothing else other then that. Thanks for the help
RingPvP said:
I did *fastboot flash boot twrp.img. I mean't to flash it, but I was thinking twrp.img when trying to use boot.img
I couldn't undo it, and I knew I damaged my phone from this, but if there is a possible chance to fix it I am in even if I loose my data.
I was pretty sure this was the reason my Nexus 5x doesn't work, but I did nothing else other then that. Thanks for the help
Click to expand...
Click to collapse
So you can not boot to bootloader but can boot straight into twrp? But you can't flash the boot image from twrp because you cant use fastboot commands in twrp correct? maybe try this thread dedicated to unbricking phones
http://forum.xda-developers.com/nexus-5x/help/req-help-to-unbrick-t3251740
Sent from my Nexus 5X using Tapatalk
The_Automator said:
So you can not boot to bootloader but can boot straight into twrp? But you can't flash the boot image from twrp because you cant use fastboot commands in twrp correct? maybe try this thread dedicated to unbricking phones
http://forum.xda-developers.com/nexus-5x/help/req-help-to-unbrick-t3251740
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
No no no, I can boot into the bootloader. When I turn on my phone normally, it goes into recovery mode or in twrp. When I load the bootloader and start, it also goes into twrp.
I am pretty sure I can still fastboot commands in twrp, so that's good.
Sorry that I didn't add that, but I hope you know what the problem is because I really want my phone back.
RingPvP said:
No no no, I can boot into the bootloader. When I turn on my phone normally, it goes into recovery mode or in twrp. When I load the bootloader and start, it also goes into twrp.
I am pretty sure I can still fastboot commands in twrp, so that's good.
Sorry that I didn't add that, but I hope you know what the problem is because I really want my phone back.
Click to expand...
Click to collapse
To be clear recovery mode is the same as twrp and you can not use fastboot commands within TWRP you can use adb shell commands (im less familiar with these). You can not flash stock images from twrp only aftermarket roms, kernels, zips etc. Factory images are flashed from the bootloader using fastboot.
But if you can boot into the bootloader and use fastboot (verify by typing fastboot devices)
Download chainfires modified boot image (select bullhead for the Nexus 5X)
http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344
extract the file so you have the .img file
Verify that your fastboot commands work fastboot devices (should always work from bootloader)
place chainfires image in the same folder as your fastboot exe.
fastboot flash boot boot.img
this should over write the boot image.
You could also just download the factory google image
https://developers.google.com/android/nexus/images?hl=en
Latest bullhead image ends with M. Extract the tar and place the extracted content in your (fastboot/adb folder) on your computer and just double click the flash-all.bat (note this will erase all data and give you a clean phone)
leave your phone until it says press any key to exit.
The_Automator said:
If you can boot into bootloader than the simplest thing to do is to download the nexus 5x image from googles factory image site. Extract that zip into your fastboot folder and double click flash all.bat. This will restore youre ur phone to factory defaults on the latest factory image. Alternatively you can just extract the boot image and use fastboot flash boot boot.img (but for this method youd have to download the factory image you already have installed which is why googlea self installer (flash-all.bat) would be easier
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
I just flashed all.bat double clicking it, and it said finished. I turned on my phone already on bootloader, and it went back to twrp. I might have set my fastboot folder wrong, but the location is
C:\Program Files (x86)\Android\android-sdk\bullhead-mda89e if that helps.
Sorry if I am taking to much of your time away, but you've helped me a lot already
RingPvP said:
I just flashed all.bat double clicking it, and it said finished. I turned on my phone already on bootloader, and it went back to twrp. I might have set my fastboot folder wrong, but the location is
C:\Program Files (x86)\Android\android-sdk\bullhead-mda89e if that helps.
Sorry if I am taking to much of your time away, but you've helped me a lot already
Click to expand...
Click to collapse
usually the folder you would want to place the image into is the platform tools folder and you would want to place the files in the directory (not a sub directory) and the mda89e is the first release the newest release from google is
6.0.0 (MDB08M) Link f5233f827a44f99e26722e349f3c9445 5867cc27a23257a47688fe180ec272f1152ddde2
But within the factory image there should be a zip called something like image-bullhead-MDB08M.zip open that zip and extract just the boot.img to your platform tools folder. Then you should be able to use
fastboot flash boot boot.img
RingPvP said:
I just flashed all.bat double clicking it, and it said finished. I turned on my phone already on bootloader, and it went back to twrp. I might have set my fastboot folder wrong, but the location is
C:\Program Files (x86)\Android\android-sdk\bullhead-mda89e if that helps.
Sorry if I am taking to much of your time away, but you've helped me a lot already
Click to expand...
Click to collapse
In your case, it should be: C:\Program Files (x86)\Android\android-sdk\platform-tools\bullhead-mda89e
In this folder your should see fastboot.exe
The_Automator said:
To be clear recovery mode is the same as twrp and you can not use fastboot commands within TWRP you can use adb shell commands (im less familiar with these). You can not flash stock images from twrp only aftermarket roms, kernels, zips etc. Factory images are flashed from the bootloader using fastboot.
But if you can boot into the bootloader and use fastboot (verify by typing fastboot devices)
Download chainfires modified boot image (select bullhead for the Nexus 5X)
http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344
extract the file so you have the .img file
Verify that your fastboot commands work fastboot devices (should always work from bootloader)
place chainfires image in the same folder as your fastboot exe.
fastboot flash boot boot.img
this should over write the boot image.
You could also just download the factory google image
https://developers.google.com/android/nexus/images?hl=en
Latest bullhead image ends with M. Extract the tar and place the extracted content in your (fastboot/adb folder) on your computer and just double click the flash-all.bat (note this will erase all data and give you a clean phone)
leave your phone until it says press any key to exit.
Click to expand...
Click to collapse
I don't know what to say, but thank you so much! I literally had a heart attack when it happened. You deserve more than a thanks for this .
RingPvP said:
I don't know what to say, but thank you so much! I literally had a heart attack when it happened. You deserve more than a thanks for this .
Click to expand...
Click to collapse
Happy to help glad you got your phone sorted
Sent from my Nexus 5X using Tapatalk
Upon booting the 2nd RC build of Dirty Unicorns, I am faced with the dialog saying that the vendor image is out of date,
I have downloaded one from developer.google.com, I just need to know what I have to do to get it onto my Pixel.
fastboot flash vendor vendor.img
Which leads to the next question (or two):
Using a Windows computer, how do I compile the img file? (I could only find the binary at google, a tgz archive containing an .sh file)
Is there a fastboot flashable image available?
pTeronaut said:
Which leads to the next question (or two):
Using a Windows computer, how do I compile the img file? (I could only find the binary at google, a tgz archive containing an .sh file)
Is there a fastboot flashable image available?
Click to expand...
Click to collapse
If you download the full image from Google there is a second compressed file in the full image that has a vendor.img file. Also the just below the download link on the forum for the du ROM there is a link for the vendor image .
The third ROM release from DU does not require vendor image flash if you're already on the latest image.
Otherwise, reboot to bootloader.
Open your command prompt.
Use the command "fastboot flash vendor vendor.img".
I go the extra mile and do two commands.
"fastboot flash vendor_a vendor.img"
"fastboot flash vendor_b vendor.img"
Though it's probably not necessary.
As mentioned above, download the full Google image.
https://developers.google.com/android/images
Then extract it, and keep extracting it again and again until you find the vendor.img.
You can use TWRP to flash the vendor image. No need for fastboot.
spaceman860 said:
You can use TWRP to flash the vendor image. No need for fastboot.
Click to expand...
Click to collapse
Does that work with twrp on pixel?
toknitup420 said:
Does that work with twrp on pixel?
Click to expand...
Click to collapse
Yes
spaceman860 said:
Yes
Click to expand...
Click to collapse
Sweet deal. I didn't know that was working on pixel yet. Good looks for the info.
Flashing
If I try to do fastboot flash vendor vendor.img it says Failed remote command not allowed.
Can someone help me?
Vestell said:
If I try to do fastboot flash vendor vendor.img it says Failed remote command not allowed.
Can someone help me?
Click to expand...
Click to collapse
Did you unzip the file twice
There another zip inside the folder. Extract that and open your command prompt in there
mac796 said:
Did you unzip the file twice
There another zip inside the folder. Extract that and open your command prompt in there
Click to expand...
Click to collapse
I exstract it to a ADB folder and I opened the command prop there.
Vestell said:
If I try to do fastboot flash vendor vendor.img it says Failed remote command not allowed.
Can someone help me?
Click to expand...
Click to collapse
Hello... Is your bootloader unlocked?
Good luck...
5.1 said:
Hello... Is your bootloader unlocked?
Good luck...
Click to expand...
Click to collapse
Hello,yes its unlocked, I flashed Revolution recovery for nougat, I tryed to do /vendor mount -f in terminal and it says:
Permission Denied,If I flash extracted system.img with fastboot flash system system.img it says OKAY and when its done, I boot up my p9 lite but it wont boot to the system.
Vestell said:
Hello,yes its unlocked, I flashed Revolution recovery for nougat, I tryed to do /vendor mount -f in terminal and it says:
Permission Denied,If I flash extracted system.img with fastboot flash system system.img it says OKAY and when its done, I boot up my p9 lite but it wont boot to the system.
Click to expand...
Click to collapse
Hello I never heard of revolution recovery...
I know about TWRP. You can install vendor.img with TWRP by the way. :good:
Also, maybe you should post in the P9 lite forum... This is the Google Pixel XL forum...
Good luck...
5.1 said:
Hello... Is your bootloader unlocked?
Good luck...
Click to expand...
Click to collapse
5.1 said:
Hello I never heard of revolution recovery...
I know about TWRP. You can install vendor.img with TWRP by the way. :good:
Also, maybe you should post in the P9 lite forum... This is the Google Pixel XL forum...
Good luck...
Click to expand...
Click to collapse
Its a TWRP for p9 lite,if I try to install it I can choose between Recovery and boot, and srry that Im posting in google pixel XL forum,but im just looking for solutions that I could try, btw there is no P9 lite forum
Vestell said:
Its a TWRP for p9 lite,if I try to install it I can choose between Recovery and boot, and srry that Im posting in google pixel XL forum,but im just looking for solutions that I could try, btw there is no P9 lite forum
Click to expand...
Click to collapse
Sorry... Since i don't own the device, it's unlikely I can help you. Maybe flashing g P9 lite requires a different process, I don't know. Again, i guess you won't find much help in this forum.
Good luck...
where do i get the vendor image to install in twrp? the only thing that showed up under, "install image" was twrp. Do I need to install a factory vendor image from google?
ken2736 said:
where do i get the vendor image to install in twrp? the only thing that showed up under, "install image" was twrp. Do I need to install a factory vendor image from google?
Click to expand...
Click to collapse
U need extracted vendor img from stock Google zip then flash image in twrp. Yes click image button. Then click on vendor then flash.
hey everyone,
I recently purchased a used Nexus 5x that is running fine so far. my only problem is i get the message "internal problem, contact manufacturer" after every boot.
the phone is running android 7.0 (NDR90S) and the seller told me he trie to root and flash custom firmware but somehow the boot loader always locked itself. Now its not possible to perform an OTA update to 8.0 (get it offered all the time).
According to the developer setting the Bootloader is unlocked. I read that it should be fine to flash the vendor.image. Is this correct so far?