i did goofed up on my Mi 9T Pro - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

so basically, i wanted to flash pixel experience based on Android 10, unlocked the bootloader, installed TWRP with adb etc.. but.. i forgot 1 important thing, back up before wiping and reboot, now im in boot cycle and no OS installed on my device, i tried sideloading with adb, tried adb push too, havent tried mount OTG since i dont have cable for it, when i try to sideload, it only goes up to 46-47% at most. and i tried doing both things in CMD and power shell, same results for sideload, i tried push, it says successful, but cant see the zip folder on the directory i put it, so, any advice for it? its my only phone so yeah.. i did goof, plus the current pandemic. no work so no money to spend to another device and ofcourse lockdown, so any replies would be appreciated! Thanks in advance, best regards to all.

XXXLR8 said:
so basically, i wanted to flash pixel experience based on Android 10, unlocked the bootloader, installed TWRP with adb etc.. but.. i forgot 1 important thing, back up before wiping and reboot, now im in boot cycle and no OS installed on my device, i tried sideloading with adb, tried adb push too, havent tried mount OTG since i dont have cable for it, when i try to sideload, it only goes up to 46-47% at most. and i tried doing both things in CMD and power shell, same results for sideload, i tried push, it says successful, but cant see the zip folder on the directory i put it, so, any advice for it? its my only phone so yeah.. i did goof, plus the current pandemic. no work so no money to spend to another device and ofcourse lockdown, so any replies would be appreciated! Thanks in advance, best regards to all.
Click to expand...
Click to collapse
Flash the stock rom using mi flash and "don't lock the bootloader" while flashing

Kotesh koti said:
Flash the stock rom using mi flash and "don't lock the bootloader" while flashing
Click to expand...
Click to collapse
when i flash it, it says no such file or directory, downloaded it directly from xiaomi website, and the MiFlash app too

XXXLR8 said:
when i flash it, it says no such file or directory?
Click to expand...
Click to collapse
Extract the zip to desktop or to C drive.(eg: C:\name)
Don't include spaces in the file directory.
If you're still facing the issue, please share the screenshot.

Kotesh koti said:
Extract the zip to desktop or to C drive(eg: C:\name)
Don't include spaces in the file directory)
If you're still facing the issue, please share the screenshot
Click to expand...
Click to collapse
this is the ss of miflasher
https://imgur.com/lSe8pxo

XXXLR8 said:
this is the ss of miflasher
https://imgur.com/lSe8pxo
Click to expand...
Click to collapse
Your destination directory and directory in the error message are different. Try again if the same happens again unzip to C drive.

Kotesh koti said:
Your destination directory and directory in the error message are different. Try again if the same happens again unzip to C drive.
Click to expand...
Click to collapse
this is how i chose it
https://imgur.com/71UH7RZ

XXXLR8 said:
this is how i chose it
https://imgur.com/71UH7RZ
Click to expand...
Click to collapse
In the error shown by miflash it's refering another directory. So close miflash and try to select the present location. If same scenario repeats, then unzip again and try in C drive freshly.

Kotesh koti said:
In the error shown by miflash it's refering another directory. So close miflash and try to select the present location. If same scenario repeats, then unzip again and try in C drive freshly.
Click to expand...
Click to collapse
its flashing now, any more question or help i will reply to your last message. thanks!

XXXLR8 said:
its flashing now, any more question or help i will reply to your last message. thanks!
Click to expand...
Click to collapse
Welcome

XXXLR8 said:
its flashing now, any more question or help i will reply to your last message. thanks!
Click to expand...
Click to collapse
Hopefully you've restored the phone again now.
Have a look at my guide for flashing ROMs on this phone.
https://forum.xda-developers.com/k20-pro/how-to/simple-guide-flipkart-owners-t4151007/post83329343
This should help you get up and running with a custom ROM.

Robbo.5000 said:
Hopefully you've restored the phone again now.
Have a look at my guide for flashing ROMs on this phone.
https://forum.xda-developers.com/k20-pro/how-to/simple-guide-flipkart-owners-t4151007/post83329343
This should help you get up and running with a custom ROM.
Click to expand...
Click to collapse
yes its fully functional now, and i will look at your thread whenever possible, thanks!

Related

[Q] I deleted everything on the one, please help

I am a newbie trying to root htc one(att) , after I installed the 4.2.2 it began to keep restarting,I tought it was because I didn't wipe my data before I flash a new ROM, so i enter the TWRP and wanna wipe data and try again.
But I selected all the options and wiped everything on the cellphone including the OS, so now I can enter the bootloader, and I can enter the recovery, but I can't find the "USB storage" in the computer , so how can I transfer the rom to the storage and flash again?
Thank you very much
Search on how to use sideload command
Sent from my HTC One using xda app-developers app
You know what ADB and Fastboot are I assume? if not, I'll explain more.
But you have to do the following:
- download a rom of your choice on your pc (or use one you already have on there)
- put it in your ADB folder (for example for me C:\Users\Thom\Downloads\One\adt-bundle-windows-x86_64-20130219\sdk\platform-tools)
- then open a command window in that folder (shift+right click on the folder, or in a cmd window use the cd command)
- use the command "adb push ROM.zip /sdcard/ROM.zip" replacing ROM with the EXACT name of the ROM file and including the .zip piece on both ends. This may take a minute or two...or four, but you will see a message in Command Prompt saying something like <12345678kb to 1234567kb>. That is just telling you that the file was pushed properly.
Hi, thank you for the help. I followed your guide and successfully transfer the zip into the phone. But when I enter the recovery and try to install, it failed and says:
E: unable to mount /cache
E: unable to mount /data
E: unable to mount /system
E: unable to mount internal storage
I click the mount option in the recovery , there are 4 box (cache, data,system,USB-OTG), but I can't choose any of them.
Also at the bottom of the box it says that"Storage: Internal Storage (0MB)"
T_T
thom109 said:
You know what ADB and Fastboot are I assume? if not, I'll explain more.
But you have to do the following:
- download a rom of your choice on your pc (or use one you already have on there)
- put it in your ADB folder (for example for me C:\Users\Thom\Downloads\One\adt-bundle-windows-x86_64-20130219\sdk\platform-tools)
- then open a command window in that folder (shift+right click on the folder, or in a cmd window use the cd command)
- use the command "adb push ROM.zip /sdcard/ROM.zip" replacing ROM with the EXACT name of the ROM file and including the .zip piece on both ends. This may take a minute or two...or four, but you will see a message in Command Prompt saying something like <12345678kb to 1234567kb>. That is just telling you that the file was pushed properly.
Click to expand...
Click to collapse
Hi, thank you for the help.
I'm trying to search more threads about the sideload and learn it.
But since I cant mount anything, I cant do sideload, trying to fix it :silly:
zeekabal said:
Search on how to use sideload command
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
JohnnyXCG said:
Hi, thank you for the help.
I'm trying to search more threads about the sideload and learn it.
But since I cant mount anything, I cant do sideload, trying to fix it :silly:
Click to expand...
Click to collapse
the other, and right now I think only, option is to flash a RUU.
Which One do you have? Europe, Asia, AT&T, Developer, etc? Once I now that I can point you in the right direction
thom109 said:
the other, and right now I think only, option is to flash a RUU.
Which One do you have? Europe, Asia, AT&T, Developer, etc? Once I now that I can point you in the right direction
Click to expand...
Click to collapse
My one is AT&T
Thank you
JohnnyXCG said:
My one is AT&T
Thank you
Click to expand...
Click to collapse
ok, I'll try to help.
I had the exact same problem yesterday (I was being a bit dumb and accidently pressed the wrong button ) and I managed to solve it.
Okay, here is the RUU. Download it, it may take a while.
http://bugsylawson.com/files/file/1847-ruu-m7-ul-jb-50-cingular-12650212exe/
So while it's downloading, start with preparing.
First of all, did you flash the new firmware already? If so, go back to the old one. I'm not sure if the AT&T has same firmware as the international, if it does I can give you a link because I still have it on my pc.
You can flash it with "fastboot oem rebootRUU" (case sensitive!)
then when you see a htc logo on your phone "fastboot flash zip firmware.zip" (replace firmware with actual file name)
THEN FLASH IT AGAIN, OTHERWISE IT WON'T WORK AND YOU'LL BE BRICKED
then if it says succesful, use "fastboot reboot". Then go back into bootloader.
then, flash stock recovery (http://forum.xda-developers.com/showthread.php?t=2158763)
after that, relock your device (command is "fastboot oem relock")
so after the RUU finished downloading, try to run it.
Any problems, I'll keep an eye on this thread
Thank you . I am now at the htc grey logo status.
Since I dont know what firmware is I am afraid to take the next step.
Whats the firmware you've talked about? Is it OS? like 4.2.2 OS zip file?
thom109 said:
ok, I'll try to help.
I had the exact same problem yesterday (I was being a bit dumb and accidently pressed the wrong button ) and I managed to solve it.
Okay, here is the RUU. Download it, it may take a while.
http://bugsylawson.com/files/file/1847-ruu-m7-ul-jb-50-cingular-12650212exe/
So while it's downloading, start with preparing.
First of all, did you flash the new firmware already? If so, go back to the old one. I'm not sure if the AT&T has same firmware as the international, if it does I can give you a link because I still have it on my pc.
You can flash it with "fastboot oem rebootRUU" (case sensitive!)
then when you see a htc logo on your phone "fastboot flash zip firmware.zip" (replace firmware with actual file name)
THEN FLASH IT AGAIN, OTHERWISE IT WON'T WORK AND YOU'LL BE BRICKED
then if it says succesful, use "fastboot reboot". Then go back into bootloader.
then, flash stock recovery (http://forum.xda-developers.com/showthread.php?t=2158763)
after that, relock your device (command is "fastboot oem relock")
so after the RUU finished downloading, try to run it.
Any problems, I'll keep an eye on this thread
Click to expand...
Click to collapse
JohnnyXCG said:
Thank you . I am now at the htc grey logo status.
Since I dont know what firmware is I am afraid to take the next step.
Whats the firmware you've talked about? Is it OS? like 4.2.2 OS zip file?
Click to expand...
Click to collapse
No, the firmware package for the HBoot, Radio, etc.
I assume you didn't flash it when going to 4.2.2?
Or did you take the official 4.2.2 update before?
No, I didn't flah firmware when going to 4.2.2.
When my phone is good, all I did is I just copied the 4.2.2 to the phone and install in the recovery status.
Then the 4.2.2 keeps restarting and then I deleted everything on the phone .
thom109 said:
No, the firmware package for the HBoot, Radio, etc.
I assume you didn't flash it when going to 4.2.2?
Or did you take the official 4.2.2 update before?
Click to expand...
Click to collapse
JohnnyXCG said:
No, I didn't flah firmware when going to 4.2.2.
When my phone is good, all I did is I just copied the 4.2.2 to the phone and install in the recovery status.
Then the 4.2.2 keeps restarting and then I deleted everything on the phone .
Click to expand...
Click to collapse
Okay, you still have 4.1.2 firmware then. In that case you can just reboot already and skip the first step
Thanks.
The second step, flash stock recovery, I downloaded the file and in the recovery folder there are many .imgs
Which one is the one I need?
and how do I do it? just shift+right click to cmd and fastboot flash recovery name.img?
thom109 said:
Okay, you still have 4.1.2 firmware then. In that case you can just reboot already and skip the first step
Click to expand...
Click to collapse
JohnnyXCG said:
Thanks.
The second step, flash stock recovery, I downloaded the file and in the recovery folder there are many .imgs
Which one is the one I need?
and how do I do it? just shift+right click to cmd and fastboot flash recovery name.img?
Click to expand...
Click to collapse
yep, that's exactly how. Gimme a sec, I'll download it too to see which one you need
http://forum.xda-developers.com/showthread.php?t=2362818
Sent from my HTC One using xda app-developers app
okay, I have been browsing a while, but I unfortunately have no idea which one you could use.
HOWEVER,
I did see someone say you don't need stock recovery. So, try to just relock it and then flash the RUU.
You can always unlock it again if it doesn't work, so there isn't much of a risk
---------- Post added at 09:53 PM ---------- Previous post was at 09:49 PM ----------
zeekabal said:
http://forum.xda-developers.com/showthread.php?t=2362818
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
the problem here isn't the firmware he flashed the 4.2.2 rom, which uses the storage a bit different.
The problem he has is caused by the fact he didn't clear SD directly after flashing (needed if you jump from custom rom 4.1.2 to 4.2.2)
it could have been easy, but he can't boot into his rom, everything is gone. If he could boot it would be waaaaaaay easier, would only require a few ADB commands
OK, now I run the RUU, the phone is in the grey htc status,.It says gonna take 10 mins, hope it will be fine :victory:
thom109 said:
okay, I have been browsing a while, but I unfortunately have no idea which one you could use.
HOWEVER,
I did see someone say you don't need stock recovery. So, try to just relock it and then flash the RUU.
You can always unlock it again if it doesn't work, so there isn't much of a risk
Click to expand...
Click to collapse
JohnnyXCG said:
OK, now I run the RUU, the phone is in the grey htc status,.It says gonna take 10 mins, hope it will be fine :victory:
Click to expand...
Click to collapse
okay, if your phone gets a green bar with silver htc logo, you're good and I'm very happy for you
Yeah, it finished and my phone is back to life...
Now I'll try to install 4.2.2 agian.
Thanks for spending so much time on me thom109, you're truly a great person !!
God bless you !:good::good::good::good::good::good::good::good::good::good::good::victory::victory::laugh::laugh:
thom109 said:
okay, if your phone gets a green bar with silver htc logo, you're good and I'm very happy for you
Click to expand...
Click to collapse
JohnnyXCG said:
Yeah, it finished and my phone is back to life...
Now I'll try to install 4.2.2 agian.
Thanks for spending so much time on me thom109, you're truly a great person !!
God bless you !:good::good::good::good::good::good::good::good::good::good::good::victory::victory::laugh::laugh:
Click to expand...
Click to collapse
no problem mate
good you're back.
before you flash 4.2.2, take the official OTA
or if you don't have it yet, first flash the 4.2.2 firmware (can be found in the ARHD thread) and then after the rom is done installing, wipe the sd card
Have fun with your One

[Q] 1,31 , no rom or adb

So basically the only thing working in fastboot
somehow i have managed to wipe everything off of my device so there is no rom installed what so ever...which means i am unable to turn on usb debugging to get adb working. I am also on 1.31 so the RUU method will not work. i am able to flash whatever recovery or Superuser i wish and root/unroot as i please.
the only solution i can think of would be to flash a signed stock zip using "fastboot update signedstock.zip" but the ones i found here -http://forum.xda-developers.com/showthread.php?t=2368907 dont seem to work. i get errors like no "boot.img" or "does not contain android-info.txt"
any suggestions?
thanks for your time
shadowtdt09 said:
So basically the only thing working in fastboot
somehow i have managed to wipe everything off of my device so there is no rom installed what so ever...which means i am unable to turn on usb debugging to get adb working. I am also on 1.31 so the RUU method will not work. i am able to flash whatever recovery or Superuser i wish and root/unroot as i please.
the only solution i can think of would be to flash a signed stock zip using "fastboot update signedstock.zip" but the ones i found here -http://forum.xda-developers.com/showthread.php?t=2368907 dont seem to work. i get errors like no "boot.img" or "does not contain android-info.txt"
any suggestions?
thanks for your time
Click to expand...
Click to collapse
Guide in General on how to downgrade. You'll be fine.
http://forum.xda-developers.com/showthread.php?t=2390821
Indirect said:
Guide in General on how to downgrade. You'll be fine.
http://forum.xda-developers.com/showthread.php?t=2390821
Click to expand...
Click to collapse
i have tried that for cwm recovery but that requires adb and usb debugging...which i dont have
i have also just tried it with the htc recovery where the screen just shows the HTC logo but "adb devices" says no devices are connected
shadowtdt09 said:
i have tried that for cwm recovery but that requires adb and usb debugging...which i dont have
i have also just tried it with the htc recovery where the screen just shows the HTC logo but "adb devices" says no devices are connected
Click to expand...
Click to collapse
Then oh well? There is no other way to fix it than using TWRP / CWM and adb / fastboot.
Indirect said:
Then oh well? There is no other way to fix it than using TWRP / CWM and adb / fastboot.
Click to expand...
Click to collapse
There are no signed stock zips out there that i can use fastboot update .zip ?
shadowtdt09 said:
There are no signed stock zips out there that i can use fastboot update .zip ?
Click to expand...
Click to collapse
http://teamviewer.com/download
Get that, pm me your id and password and I'll fix your phone. Have nothing better to do for a half hour anyway.
Indirect said:
http://teamviewer.com/download
Get that, pm me your id and password and I'll fix your phone. Have nothing better to do for a half hour anyway.
Click to expand...
Click to collapse
you're a hell of a man indirect!
Aldo101t said:
you're a hell of a man indirect!
Click to expand...
Click to collapse
Tis the benefit of having no job. Easily able to help everyone out if I'm bored.
shadowtdt09 said:
So basically the only thing working in fastboot
somehow i have managed to wipe everything off of my device so there is no rom installed what so ever...which means i am unable to turn on usb debugging to get adb working. I am also on 1.31 so the RUU method will not work. i am able to flash whatever recovery or Superuser i wish and root/unroot as i please.
the only solution i can think of would be to flash a signed stock zip using "fastboot update signedstock.zip" but the ones i found here -http://forum.xda-developers.com/showthread.php?t=2368907 dont seem to work. i get errors like no "boot.img" or "does not contain android-info.txt"
any suggestions?
thanks for your time
Click to expand...
Click to collapse
just a fyi you can use fastboot to flash a rom if you put it in the same folder as the platform tools folder of your sdk, All roms have a android-info.txt file that's how android knows how to flash what to the particular partition.
you can flash any zip file from fastboot as long as it has the android-info file
fastboot flash zip nameofzip.zip
Fixed his phone and found out he is in my area. Pretty small world.
Indirect said:
Fixed his phone and found out he is in my area. Pretty small world.
Click to expand...
Click to collapse
I'm in fort myers

Can someone please HELP me

Hello Everyone,
I want to make my htc one work again as I have accidentally deleted its OS without creating any backup now Im stuck and unable to use my phone since a week.
I have tried using adb sideload and adb push to flash rom but its not working even though its says my device is connected PLEASE HELP so i can make my phone work again.I have attached the screenshots to the method I have used for flashing rom as well as the error I am facing in command prompt.
Please explain the answer in detail as I am not a tech geek so most of the technical terms and procedures are new to me.
Thanks in advance awaiting your kind assistance
Did you try this method to "push" your ROM to your SDCard?
http://forum.xda-developers.com/showthread.php?t=1667929
In a command prompt, juste type "adb push androidrom.zip /sdcard/androidrom.zip" (without quotes)
Just wait, reboot in recovery, u should find ur rom...and flash it...
Khurram Abbasi said:
Hello Everyone,
I want to make my htc one work again as I have accidentally deleted its OS without creating any backup now Im stuck and unable to use my phone since a week.
I have tried using adb sideload and adb push to flash rom but its not working even though its says my device is connected PLEASE HELP so i can make my phone work again.I have attached the screenshots to the method I have used for flashing rom as well as the error I am facing in command prompt.
Please explain the answer in detail as I am not a tech geek so most of the technical terms and procedures are new to me.
Thanks in advance awaiting your kind assistance
Click to expand...
Click to collapse
Is "androidrom.zip" in the directory you're running adb from?
Yes
mb_guy said:
Is "androidrom.zip" in the directory you're running adb from?
Click to expand...
Click to collapse
yes it is in the directory but still not working
In TWRP you go to advanced, then ADB Sideload, then swipe.
Then run adb sideload androidrom.zip
Also, where did this androidrom.zip come from??
SaHiLzZ said:
In TWRP you go to advanced, then ADB Sideload, then swipe.
Then run adb sideload androidrom.zip
Also, where did this androidrom.zip come from??
Click to expand...
Click to collapse
Wonder if he may have a double file extension? androidrom.zip.zip? His first screen shot looks like it's in sideload
But good question. Where id the file come from.
Thanks
dd66 said:
Did you try this method to "push" your ROM to your SDCard?
http://forum.xda-developers.com/showthread.php?t=1667929
In a command prompt, juste type "adb push androidrom.zip /sdcard/androidrom.zip" (without quotes)
Just wait, reboot in recovery, u should find ur rom...and flash it...
Click to expand...
Click to collapse
Hey thanks for your help I haven't tried this method il do it now and get back to you, in your post you have mentioned androidrom.zip 2 times im confused which one related to command and which one relates to original rom as I have renamed by rom android.zip, secondly the method you have quoted requires cwm recovery but I have twrp will it work with twrp as well ?
Thanks in advance
Khurram Abbasi said:
Hey thanks for your help I haven't tried this method il do it now and get back to you, in your post you have mentioned androidrom.zip 2 times im confused which one related to command and which one relates to original rom as I have renamed by rom android.zip, secondly the method you have quoted requires cwm recovery but I have twrp will it work with twrp as well ?
Thanks in advance
Click to expand...
Click to collapse
We got the name androidrom.zip from your first screen shot. If that's not the actual rom name it should be. If you created android.zip use android.zip
Will lso work with twrp

Nexus 6 stuck at google screen , Need Assistance.

So i tried flashing the factory image onto my rooted nexus 6 device manually , but while doing so i couldnt get the system.img to load as it kept saying "unable to allocate byte 1176........bytes" something like that. So i read about this error on some forums and they suggested to erase system , cache , userdata and then try flashing the stock image. Upon doing so it gave the same error and unable to load sys.img file.
Now , im stuck at the splash screen with stock recovery and bootloader working fine.
Im aware that my phone is bricked please advise what can i do to fix this issue.???
Thank you
I take it you placed the system.img in the platform-tools folder an you typed fastboot flash system system.img in cmd.
Sent from my Nexus 10 using XDA Free mobile app
faraz90 said:
So i tried flashing the factory image onto my rooted nexus 6 device manually , but while doing so i couldnt get the system.img to load as it kept saying "unable to allocate byte 1176........bytes" something like that. So i read about this error on some forums and they suggested to erase system , cache , userdata and then try flashing the stock image. Upon doing so it gave the same error and unable to load sys.img file.
Now , im stuck at the splash screen with stock recovery and bootloader working fine.
Im aware that my phone is bricked please advise what can i do to fix this issue.???
Thank you
Click to expand...
Click to collapse
First thing, do NOT lock your bootloader. Are you trying to use flash all? If so, do not. Flash the images separately.
Evolution_Tech said:
First thing, do NOT lock your bootloader. Are you trying to use flash all? If so, do not. Flash the images separately.
Click to expand...
Click to collapse
gee2012 said:
I take it you placed the system.img in the platform-tools folder an you typed fastboot flash system system.img in cmd.
Sent from my Nexus 10 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for the quick reply.
Yes i did place is it under the platform tools folder and tried flashing separately as per the instructions given to flash manually.
I know that i should not lock the bootloader.
Im currently trying to flash using the toolkit "flash stock + unroot" and chose the current status "Softbricked/ bootloop in the bootloader mode.
Is this the right option or should i stop it ?
Thanks again for assistance.
faraz90 said:
Thanks for the quick reply.
Yes i did place is it under the platform tools folder and tried flashing separately as per the instructions given to flash manually.
I know that i should not lock the bootloader.
Im currently trying to flash using the toolkit "flash stock + unroot" and chose the current status "Softbricked/ bootloop in the bootloader mode.
Is this the right option or should i stop it ?
Thanks again for assistance.
Click to expand...
Click to collapse
the right option would be to flash the factory image the right way, via fastboot, and while in your bootloader.
simms22 said:
the right option would be to flash the factory image the right way, via fastboot, and while in your bootloader.
Click to expand...
Click to collapse
you mean it flashing it manually by placing the factory image in the platform tools folder ?
I tried that multiple times but it gave me the "could not allocate 721539744 bytes error: cannot load 'system.img" error :/
faraz90 said:
you mean it flashing it manually by placing the factory image in the platform tools folder ?
I tried that multiple times but it gave me the "could not allocate 721539744 bytes error: cannot load 'system.img" error :/
Click to expand...
Click to collapse
If your Android SDK is more than 6 months old, you may need to update it. Google updated fastboot to allow flashing these very large files.
faraz90 said:
you mean it flashing it manually by placing the factory image in the platform tools folder ?
Click to expand...
Click to collapse
No, by using fastboot commands.. The location of the images you flash is irrelevant.
faraz90 said:
I tried that multiple times but it gave me the "could not allocate 721539744 bytes error: cannot load 'system.img" error :/
Click to expand...
Click to collapse
Either there is a problem with the system.img (redownload) or there is a problem with the flash memory on your device.
You could flash a custom recovery and use that to flash a zipped ROM to see.if that makes any difference.
faraz90 said:
you mean it flashing it manually by placing the factory image in the platform tools folder ?
I tried that multiple times but it gave me the "could not allocate 721539744 bytes error: cannot load 'system.img" error :/
Click to expand...
Click to collapse
if you are using the flash-all, dont, as that gives many people problems as of lately. instead, you want to unzip and flash each partition separately.
Here is a detailled guide http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701 for how to flash a image, use method 2. Its the same for the N6 as for the N5.
simms22 said:
if you are using the flash-all, dont, as that gives many people problems as of lately. instead, you want to unzip and flash each partition separately.
Click to expand...
Click to collapse
gee2012 said:
Here is a detailled guide http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701 for how to flash a image, use method 2. Its the same for the N6 as for the N5.
Click to expand...
Click to collapse
I think he has already used fast boot to flash the system.img
rootSU said:
I think he has already used fast boot to flash the system.img
Click to expand...
Click to collapse
Maybe he used the wrong command like: fastboot flash system.img or something similar. If the img`s are in the correct folder and the commands are good it shouldn`t be a problem
I agree with @rootSU flash TWRP, flash factory zip from here:
http://forum.xda-developers.com/showthread.php?t=3066052
gee2012 said:
Maybe he used the wrong command like: fastboot flash system.img or something similar. If the img`s are in the correct folder and the commands are good it shouldn`t be a problem
Click to expand...
Click to collapse
Nope. He used the correct commands. There is no correct folder.
Evolution_Tech said:
I agree with @rootSU flash TWRP, flash factory zip from here:
http://forum.xda-developers.com/showthread.php?t=3066052
Click to expand...
Click to collapse
thanks a bunch. I have a few questions which could be noobish yet i would like to know.
- how can i flash the custom recovery when i cant place the files under the internal storage as my phone doesn't show when i connect it to the PC ?
- just like that im downloading the zip file but i would like to first access the internal storage to place the files under the root or is there a way around to do this ?
Thanks
faraz90 said:
thanks a bunch. I have a few questions which could be noobish yet i would like to know.
- how can i flash the custom recovery when i cant place the files under the internal storage as my phone doesn't show when i connect it to the PC ?
- just like that im downloading the zip file but i would like to first access the internal storage to place the files under the root or is there a way around to do this ?
Thanks
Click to expand...
Click to collapse
Flash TWRP, reboot to bootloader, select recovery mode, enter TWRP, mount MTP.
Evolution_Tech said:
Flash TWRP, reboot to bootloader, select recovery mode, enter TWRP, mount MTP.
Click to expand...
Click to collapse
You Sir, are a lifesaver. It worked!
Although for the sake of better understanding why do you think I wasn't able to flash the system image manually via fastboot ? having tried multiple times with correct fastboot commands :S
Thanks all for the help!
faraz90 said:
You Sir, are a lifesaver. It worked!
Although for the sake of better understanding why do you think I wasn't able to flash the system image manually via fastboot ? having tried multiple times with correct fastboot commands :S
Thanks all for the help!
Click to expand...
Click to collapse
*ahem*
rootSU said:
*ahem*
Click to expand...
Click to collapse
haha ofcourse thanks alot to you for suggesting that idea
faraz90 said:
Although for the sake of better understanding why do you think I wasn't able to flash the system image manually via fastboot ? having tried multiple times with correct fastboot commands :S
!
Click to expand...
Click to collapse
Possibly because your Android SDK tools are out of date(specifically fastboot).

Nexus 6, Deleted System Partition- Cannot Recover

The system partition was deleted and the phone has TWRP. The mac recognizes the ADB device and the MTP. Tried toggling the MTP, no success. Currently android file transfer fails every time due to a missing MD5 file in the android 6.0.1 zip, although all that is being attempted is a drag and drop. ADB sideload says it has completed but no files appear on the phone to flash, or in the file explorer, and so does ADB push. Tried re-downloading the rom, rebooting the phone and everything else.
Any help is appreciated.
evan7899 said:
The system partition was deleted and the phone has TWRP. The mac recognizes the ADB device and the MTP. Tried toggling the MTP, no success. Currently android file transfer fails every time due to a missing MD5 file in the android 6.0.1 zip, although all that is being attempted is a drag and drop. ADB sideload says it has completed but no files appear on the phone to flash, or in the file explorer, and so does ADB push. Tried re-downloading the rom, rebooting the phone and everything else.
Any help is appreciated.
Click to expand...
Click to collapse
flash the factory image, reflash twrp, reflash your ROM and SuperSU.
simms22 said:
flash the factory image, reflash twrp, reflash your ROM and SuperSU.
Click to expand...
Click to collapse
That is what is being attempted. All data has been wiped from the phone and there is an issue getting the ROM and a new TWRP to the phone. The only available computer is a mac and Android File transfer keeps reporting a MD5 file error whenever the rom is tried to be moved over.
evan7899 said:
That is what is being attempted. All data has been wiped from the phone and there is an issue getting the ROM and a new TWRP to the phone. The only available computer is a mac and Android File transfer keeps reporting a MD5 file error whenever the rom is tried to be moved over.
Click to expand...
Click to collapse
thats not how you flash a factory image. you boot into the bootloader, and use fastboot to flash it, via your computer. you dont download it to your phone http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
simms22 said:
thats not how you flash a factory image. you boot into the bootloader, and use fastboot to flash it, via your computer. you dont download it to your phone http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Click to expand...
Click to collapse
The factory image is the .TGZ file? Or one in there. I am accustomed to just flashing zip files from TWRP on a OnePlus One but this is a friends Nexus 6 and in a very odd state.
evan7899 said:
The factory image is the .TGZ file? Or one in there. I am accustomed to just flashing zip files from TWRP on a OnePlus One but this is a friends Nexus 6 and in a very odd state.
Click to expand...
Click to collapse
yup, its a .tgz file. download it, "unzip" it, then flash each partition separately instead of all together using fastboot. its the only way to get everything back. then you can flash twrp after, and SuperSU.
simms22 said:
yup, its a .tgz file. download it, "unzip" it, then flash each partition separately instead of all together using fastboot. its the only way to get everything back. then you can flash twrp after, and SuperSU.
Click to expand...
Click to collapse
Sorry this is very simple but everything is going wrong...flashing the system.img exceeded partition limits. Do I rename files or just type them as is. Sorry many guides are contradicting and I'm very confused.
EDIT: The phone isnt being recognized by the computer in fastboot mode.
evan7899 said:
Sorry this is very simple but everything is going wrong...flashing the system.img exceeded partition limits. Do I rename files or just type them as is. Sorry many guides are contradicting and I'm very confused.
EDIT: The phone isnt being recognized by the computer in fastboot mode.
Click to expand...
Click to collapse
just type in the names, like system.img or boot.img.
and did you install the driver for adb.fastboot?
simms22 said:
just type in the names, like system.img or boot.img.
and did you install the driver for adb.fastboot?
Click to expand...
Click to collapse
This is on a mac and ADB was recognizing the device beforehand but fastboot is not. I am not sure if he has the fastboot drivers installed. I will check that
evan7899 said:
This is on a mac and ADB was recognizing the device beforehand but fastboot is not. I am not sure if he has the fastboot drivers installed. I will check that
Click to expand...
Click to collapse
honestly, I wouldn't know what you need on a Mac to get it working :angel:
simms22 said:
honestly, I wouldn't know what you need on a Mac to get it working :angel:
Click to expand...
Click to collapse
Yup thats my same issue. On my PC it could have been done easily but I'll keep trying. Thanks for all of the help!
evan7899 said:
Yup thats my same issue. On my PC it could have been done easily but I'll keep trying. Thanks for all of the help!
Click to expand...
Click to collapse
maybe this will help? http://htc-one.wonderhowto.com/how-...-mac-os-x-send-commands-your-htc-one-0151178/
You need to run sudo fastboot insertcomand on Mac. good luck.
simms22 said:
maybe this will help? http://htc-one.wonderhowto.com/how-...-mac-os-x-send-commands-your-htc-one-0151178/
Click to expand...
Click to collapse
Thanks but we have tired that. Due to distance this has all had to be over the phone which hasnt helped either. I will update this with how we got it working when we do.

Categories

Resources