Twrp problem - Nexus 6P Q&A, Help & Troubleshooting

anyone got an idea why my twrp file got all messed up after downloading it from the official site?? after putting it on my desktop the .img disappears and then i cant flash it in fastboot. the "file" is a burning disc file... thanks in advance for answers

Sounds like your PC is simply associating .IMG with a burning software. If you are concerned about the integrity of the file, run a hash check on it and compare to what is available from the TWRP website.

Related

Recovery image

For some reason I am not able to load the recovery images so that I can flash the rom to Madaco's ui.
When I download the recovery image it downloads as a .IMG I have unzipped it and put in in my superboot folder, run command and find the folder, but it does nothing.
Is there a special application to download .IMG? I have tried winzip a few others.
I have also used the Terminal Emulator and placed the file directly on my SDcard and opened the file from there, but nothing happens.
Any Suggestions???
Thanks in advance.
wrong place to ask a ?
you are really totally wrong here. also, if the *.img file is in a *.zip file it probably means it has been made into a update.zip that can be flashed... i can be wrong though...
in general, nothing here that has *.zip extension is generally to be opened with WinZip... the *.zip files here are update zips that can be flashed (e.g. a ROM, a radio, etc.).
best advice would be to guide you to Amon_Ra's recovery image thread (first page of Nexus One Android Development).
you can also search "Amon_Ra"
there is the topic recovery image
Everything you need is in this thread.
http://forum.xda-developers.com/showthread.php?t=611829

Acer Decrypter Tool

For those that need the Acer Update Decrypt Tool.
Unzip contents.
Select encrypted zip
Select Start
Decrypted file will have the same name, but includes the word "decrypted"
the decryption key ($12) doesn't seem to be working anymore
Have tried it a coupla times. Seems the key has been changed.
Moscow Desire said:
For those that need the Acer Update Decrypt Tool.
Unzip contents.
Select encrypted zip
Select Start
Decrypted file will have the same name, but includes the word "decrypted"
Click to expand...
Click to collapse
mannubhatt said:
Have tried it a coupla times. Seems the key has been changed.
Click to expand...
Click to collapse
The decrypter tool has been the same for a long time. The keys haven't changed. $12. And has worked till a couple of weeks ago.
Depends on what you are decrypting. If it's the files we have here in the Dev forum, it works.
If you try it on files elsewhere, it may not work. It probably will not work on A51x or 70x update files. Nobody has tried.
Definately won't work on Asus updates
MD
Absolutely nothing wrong with the decrypter. You have to wait a few minutes depending on PC. Has to decrypt 400mb remember.
MD
Hi,
Sorry for the newbie question.
I cannot run the tool. Here is what I do:
Using PC window 7 to download the zip file.
Unzip it.
Have an exe file but get an error message when run it. (Window can not find the path ...)​
Can you please explain how to use this decrypt tool ? or tell me what kind of error I did ?
Thanks a lot for your help,
sviet
sviet2k said:
Hi,
Sorry for the newbie question.
I cannot run the tool. Here is what I do:
Using PC window 7 to download the zip file.
Unzip it.
Have an exe file but get an error message when run it. (Window can not find the path ...)​
Can you please explain how to use this decrypt tool ? or tell me what kind of error I did ?
Thanks a lot for your help,
sviet
Click to expand...
Click to collapse
Sounds like you're trying to run it from within the zip file itself? Helps to know the full error message.
Try unzipping it to your C:\ drive. Then run it again.
It's a small app, and basically you will get a button to select the file (zips only), then select Start. After a couple minutes, it will write the decrypted file in the same folder as the original (says decrypted at the end of the file name).
MD
Thanks a lot for your quick help.
This is a fault of may anti virus that prevents to run the tool.
Just turn it off and I can run the tool.
Thank you,
sv
Antivirus block download
Hi!
I'm trying to download the tool to decrypt the zip files but my antivirus (a business version of Trend Micro that i can't disable) block the download.
Is it possible to rename or change the extension to avoid this issue?
thank you
no solutions?

Nougat Vendor.img

Hey all, long story short I need to find to the Nougat vendor.img. The link to it from the debloated ROM page appears to be down, so if anyone else has a link to the .IMG file that would be helpful. In the WETA ROM thread, the dev said you go extract it from the .zip but I have no idea where it is/how to flash it in fastboot if it's not a .IMG file. Thanks.
Sent from my Nexus 6P using XDA-Developers mobile app
If the file icon looks like a page with a cd/dvd on it, that is an .img file. Or just right click and look at the properties.
Eric214 said:
If the file icon looks like a page with a cd/dvd on it, that is an .img file. Or just right click and look at the properties.
Click to expand...
Click to collapse
In the zip, the vendor file has a .new.dat extension. Would I change that to .img and flash it in fastboot? Or would that be a mistake?
if the dev says the vendor.img file is included it should be in there, your have to dig through the compressed folder to find it, its usually named vendor.img you might have extensions hidden, or if you have a known .img file elsewhere it will likely have the same icon next to it in the file tree.
you can just extract it and rename the file with a straight ".IMG" prefix and flash that from your ADB folder or using your chosen tool
hutzdani said:
if the dev says the vendor.img file is included it should be in there, your have to dig through the compressed folder to find it, its usually named vendor.img you might have extensions hidden, or if you have a known .img file elsewhere it will likely have the same icon next to it in the file tree.
you can just extract it and rename the file with a straight ".IMG" prefix and flash that from your ADB folder or using your chosen tool
Click to expand...
Click to collapse
So that didn't work (phone wouldn't boot past splash screen) but I did flash this .img file https://www.androidfilehost.com/?fid=24651430732236715 and it worked
RollTribe said:
So that didn't work (phone wouldn't boot past splash screen) but I did flash this .img file https://www.androidfilehost.com/?fid=24651430732236715 and it worked
Click to expand...
Click to collapse
What issue were you having that you needed the vendor image, if you mind me asking?
Was your phone stuck in the splash screen loop?
defcondev said:
What issue were you having that you needed the vendor image, if you mind me asking?
Was your phone stuck in the splash screen loop?
Click to expand...
Click to collapse
I had an old version of TWRP (wasn't aware that there was one that worked with Nougat) and needed to flash an old vendor to get it to work, then a newer one to get my phone to boot. I flash the DP5 vendor and the phone booted just fine, but there was a warning message and I figured it would be better to get the updated vendor.

Flash Stock ROM missing META-INF directory

Kinda makes this noob sick. I just got a new Moto G4 X1625 (not Amazon). Next came the steps to unlock the bootloader with Motorola and to install TWRP. Everything had gone so easily by following some how-to steps I jumped to the next step of installing SuperSU without doing a backup – thinking it was simply adding an app. Big mistake! Reboot and now always stuck on the logo boot animation.
Okay, so I found and tried use TWRP to install ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip in an attempt to get back to stock. No luck there since install always aborts with a "Could not find 'META-INF/com/google/android/update-binary' in the zip file."
I checked a couple of other ROMs and that META-INF directory doesn't seem to be included in them either.
What do I need to do just to get back to normal eliminating the effects of that SuperSU install? Help greatly appreciated.
That file you downloaded is not a flashable file.
Instead, read this linky
Thanks for the helpful clue @t0mm13b. I followed the approach at <http://www.stechguide.com/download-stock-firmware-of-moto-g4-and-g4-plus/> and executed the listed commands from my MacOS Terminal. They did the job resulting in a fresh install after bootup.
2-1/2 questions…
1. Are flashable ROM files readily available? The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
2. Is TWRP not useful for these stock ROMs?
The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
Click to expand...
Click to collapse
As a general rule of thumb, read the accompanying text to the link of the download, on a web page where you find one. It will tell you if it's flashable or not.
Factory images, just like what you had to carry out previously, never have, and do not have the `META-INF` directory. They usually contain img files that requires `fastboot flash`.
On the other hand, OTAs and flashable zips will have that in their respective zip file.
Thanks again @t0mm13b for the clarification. I often didn't see info about whether a ROM is flashable in link or web page text, but it may have just been assumed based on being aware of what the zip contains.

Need help

How to extract zip64 archive?
I have j510fn nougat firmware, but while extracting it stuck on 90%. I/O device error ?
My operating system win7 32bit
What are you trying to do? Extracting prom phone to pc (so as a backup) o like downloading the file from the web and extracting the content to flash it?
BlackJack67 said:
What are you trying to do? Extracting prom phone to pc (so as a backup) o like downloading the file from the web and extracting the content to flash it?
Click to expand...
Click to collapse
Extracting the firmware to flash it
sorry late reply
ivan'z said:
Extracting the firmware to flash it
sorry late reply
Click to expand...
Click to collapse
I never saw someone uploading a zip64 file as a rom, are you sure about what you're doing? ?
Anyway, try extracting it onto the pc hdd/ssd making sure you have enough space to do it, then put the rom on the phone's sd card via usb cable, that should do it :good:
Btw, what rom are you trying to flash?
BlackJack67 said:
I never saw someone uploading a zip64 file as a rom, are you sure about what you're doing? ?
Anyway, try extracting it onto the pc hdd/ssd making sure you have enough space to do it, then put the rom on the phone's sd card via usb cable, that should do it :good:
Btw, what rom are you trying to flash?
Click to expand...
Click to collapse
I'm trying to flash nougat firmware, but cannot to extract the firmware, always stuck on 90% (can't read I/O device error). When I see the firmware info on winrar it seem that use zip64 archive format (zip64 library), because the content after extracting is 3gb, I think that's the problem while extracting. My laptop is low specification, also I'm trying to transfer to another pc using usb flashdisk but I got stuck while transferring, transfer failed. I never seem like this before , cannot to transfer unable to extract, wtf? Firmware corrupted? I think not.
ivan'z said:
I'm trying to flash nougat firmware, but cannot to extract the firmware, always stuck on 90% (can't read I/O device error). When I see the firmware info on winrar it seem that use zip64 archive format (zip64 library), because the content after extracting is 3gb, I think that's the problem while extracting. My laptop is low specification, also I'm trying to transfer to another pc using usb flashdisk but I got stuck while transferring, transfer failed. I never seem like this before , cannot to transfer unable to extract, wtf? Firmware corrupted? I think not.
Click to expand...
Click to collapse
Since I never had to deal with zip64 format (I always ended up downloading only zip file ready to flash), can you share the link where you downloaded the firmware? Let's see if it's a hardware problem or a bad file
BlackJack67 said:
Since I never had to deal with zip64 format (I always ended up downloading only zip file ready to flash), can you share the link where you downloaded the firmware? Let's see if it's a hardware problem or a bad file
Click to expand...
Click to collapse
The firmware is downloaded from samsung-firmware.org, region asia INS. I was download marshmallow firmware too and flash it to my phone but I don't see any problem while extracting the firmware, I'm using another pc with operating system window 10 64bit. I think the problem is my pc can't handle/read zip64 format even using winrar or 7-zip with latest version. The dialogue show error mssg "problem read file, I/O device error".
ivan'z said:
The firmware is downloaded from samsung-firmware.org, region asia INS. I was download marshmallow firmware too and flash it to my phone but I don't see any problem while extracting the firmware, I'm using another pc with operating system window 10 64bit. I think the problem is my pc can't handle/read zip64 format even using winrar or 7-zip with latest version. The dialogue show error mssg "problem read file, I/O device error".
Click to expand...
Click to collapse
On the site you linked, every firmware is in zip format, so ready to flash. I can't find any zip64 archive.
If you still face the problem, try looking up the firmware on sammobile
BlackJack67 said:
On the site you linked, every firmware is in zip format, so ready to flash. I can't find any zip64 archive.
If you still face the problem, try looking up the firmware on sammobile
Click to expand...
Click to collapse
I'm not sure is the firmware in zip format or zip64 format, but while repairing the firmware it detect as zip64, don't know. Maybe the firmware is brocken, damage, cause trying to extract many times. Anyway thanks for help.
Maybe the file is corrupt.Changing compression method won't help.You can't repair an archive.Just download it again.

Categories

Resources