[Q] getting error when trying to flash new firmware - Verizon HTC One (M8)

I am trying to flash the new firmware
i am running badseed rom with s off and unlocked
I downloaded the no boot img firmware
fastboot oem rebootRUU (this puts the device in RUU mode)
fastboot flash zip firmware.zip (rename file to firmware.zip)
then i get error:cant not open firmware.zip
not sure what i am doing wrong

ryanchief said:
I am trying to flash the new firmware
i am running badseed rom with s off and unlocked
I downloaded the no boot img firmware
fastboot oem rebootRUU (this puts the device in RUU mode)
fastboot flash zip firmware.zip (rename file to firmware.zip)
then i get error:cant not open firmware.zip
not sure what i am doing wrong
Click to expand...
Click to collapse
Someone else said if you rename the file using Windows it adds .zip automatically. Delete the .zip an try again.....let me know.
Sent from my HTC6525LVW using XDA Premium 4 mobile app

That worked i renamed it and took out the .zip and it flashed fine
Thank you very much for your help

ryanchief said:
That worked i renamed it and took out the .zip and it flashed fine
Thank you very much for your help
Click to expand...
Click to collapse
No problem bro. As I don't use Windows an the funny part is I just learned that tip yesterday a few hours before you ask. Good timing. But glad to hear it is took care of...
Sent from my HTC6525LVW using XDA Premium 4 mobile app

The problem is caused by a setting in Windows. For some odd reason Microsoft has chosen to hide file extensions of "known" file types by default. It's always been this way for Windows. Unless you change the setting, Windows will show the name without the extension. Files such as zip, jpg, bmp, txt, etc. would be examples of what are considered "known" file types. So, in this case, what's happening is people see the file name without the extension, rename it to firmware.zip and end up with a file that's really named firmware.zip.zip. I'm not sure why they chose to do this but I don't care for it at all myself. It's one of the first things I change after an installation of Windows if I'm going to be using it myself.

robocuff said:
The problem is caused by a setting in Windows. For some odd reason Microsoft has chosen to hide file extensions of "known" file types by default. It's always been this way for Windows. Unless you change the setting, Windows will show the name without the extension. Files such as zip, jpg, bmp, txt, etc. would be examples of what are considered "known" file types. So, in this case, what's happening is people see the file name without the extension, rename it to firmware.zip and end up with a file that's really named firmware.zip.zip. I'm not sure why they chose to do this but I don't care for it at all myself. It's one of the first things I change after an installation of Windows if I'm going to be using it myself.
Click to expand...
Click to collapse
That's what I said his problem was . An I dont use Windows or I would definitely not have that setting turned on either.
Sent from my HTC6525LVW using XDA Premium 4 mobile app

One of the first things I do is on any Windows box os turn off hide file extensions, then turn on show hidden files. Like Verizon, Microsoft wants to keep us out of trouble
Sent from my Nexus 7 using XDA Premium 4 mobile app

Related

expand a nandroid img file

for those who do not know how to do this yet, follow directions given here.
Just took this info from the web. None of this except for the guide is written by me.
I am not responsible for anything please do not contact me if a green sludge starts attacking your neighborhood eating one person at a time.
************************************************************
************************************************************
************************************************************
http://code.google.com/p/unyaffs/downloads/list
made for linux, but if you know a bit of c, you can probably change it to work with windows, maybe I will do that if I have some time this week.
********OR********
http://jiggawatt.org/badc0de/android/unyaffs-x86-win.zip
or http://www.4shared.com/get/fgryPnPx/unyaffs-windows.html
for windows..... instructions below apply for both
if not included in the zips above, cygwin1.dll and unyaffs.exe are included as an attachment of this reply.
open up a command line, in windows vista/7 just press start and then type cmd press enter and change the directory to the folder with the unyaffs and the img in it. in xp press start>run>cmd... then the same
the usage is: unyaffs /path/to/img
example:
(if unyaffs.exe and system.img are both in c:\temp)
"c:\temp> unyaffs /temp/system.img"
note: the '/' is the way linux determines the pathname of a file and since it is built using cygwin(a file allowing for windows) it is preferrable that the path to the actual file is in unix POSIX format ie: / instead of \ between folders and files.
*********WARNING************
this will extract to directory that unyaffs binary is in.
That's so weird -- I was gonna post the same thing tonight. Thx for writing this up. It's odd that more people don't talk or ask about this tool!
I remember reading this stuff back when I got my G1, and tonight I was trolling the themes and apps section cause I couldnt sleep. (which I rarely look at)
I was baffled that this wasnt common knowledge. I figured if there was no threads about it that people just knew how and didnt have any problems with it. My mistake lol...
enjoy.
can you please explain what is it? what it does? thanks
ericizzy1 said:
can you please explain what is it? what it does? thanks
Click to expand...
Click to collapse
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
decalex said:
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
Click to expand...
Click to collapse
thx
Sent from my SPH-D700 using XDA App
smeyerhuky said:
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Right, like if you wanted a file or a few files from clockworkmod img backup, then this process would give you an extended file system, other than what you would normally use to extract the img files. Just trying to understand this so, please correct me if im wrong.... I've been trying to get more knowledge of this, so im still learning.
I prolly sound like a complete idiot, lol...
Sweet! Thanks for this man. I'd been looking for how to do this for some time and kept ending up learning about emulation or some other tangential topic. This is the basic functionality I was looking for. Thanks for posting!
Np. I'm working on writing some stuff on top of the source code that should allow you to browse and pull just one our more file
Its been a but since I looked theory source code so it might take a while... Maybe in between semesters?
Sent from my SPH-D700 using XDA App
Dode you saved my as** thx big thx
Great, now how can I re-compress back to .img after I've made the changes that I want?
EDIT: Nevermind. I just made a zip of the new system folder and flashed it in CWM.
This worked great for me.
Thanks,
Bud
Man, I do not know how to thank you. I was able to recover some important stuff off of my cwm recovery backup. THANKS!!

Any way to extract files from a .kdz file?

Anyone here know how to open/browse/extract files from a .kdz file? I've spent the last hour or so searching via Google and can't come up with anything that works.
Did you try winrar?
Sent from my LG-P999 using XDA Premium App
KRAZYADROIDMASTER said:
Did you try winrar?
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
Yea it gives an error. Does it support that file type?
Have you tried 7zip? I've never seen an archive it couldn't open, it's like the VLC of compression.
Sent from my Nexus Prime using XDA Ultimate App
LordButtersI said:
Have you tried 7zip? I've never seen an archive it couldn't open, it's like the VLC of compression.
Sent from my Nexus Prime using XDA Ultimate App
Click to expand...
Click to collapse
I haven't tried that one. I'll try it as soon as I can convince my wife to stop shopping so we can go home ... lol ... Thanks for the suggestion.
LordButtersI said:
Have you tried 7zip? I've never seen an archive it couldn't open, it's like the VLC of compression.
Sent from my Nexus Prime using XDA Ultimate App
Click to expand...
Click to collapse
Just tried it and it wouldn't open it. Bummer.
Which file are you trying to extract?
FatalityBoyZahy said:
Which file are you trying to extract?
Click to expand...
Click to collapse
The GB update kdz file.
You need an LG Utilties program to extract the KDZ files. There are some out there for the KP500 and GW520 but not sure if the same utility will work for the G2X P999 files. After that you need a program called unyaffsmbn (zips on internet) to extract the files further. Here is a GW520 Utility zip (attached to post) that I haven't tried yet. I was trying to do the same stuff you've been playing with. I haven't tried to extract the files yet. Another way is to grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. If someone is updating a phone the files are there long enough to copy, but I am not going to update my phone again just to grab the files.
phburks said:
The GB update kdz file.
Click to expand...
Click to collapse
They already have the GB update in the Development section. You could also just download the source code from LG.
People are after the baseband. That's not included on the rom files you mentioned.
Sent from my LG-P999 using Tapatalk
jboxer said:
You need an LG Utilties program to extract the KDZ files. There are some out there for the KP500 and GW520 but not sure if the same utility will work for the G2X P999 files. After that you need a program called unyaffsmbn (zips on internet) to extract the files further. Here is a GW520 Utility zip (attached to post) that I haven't tried yet. I was trying to do the same stuff you've been playing with. I haven't tried to extract the files yet. Another way is to grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. If someone is updating a phone the files are there long enough to copy, but I am not going to update my phone again just to grab the files.
Click to expand...
Click to collapse
Thanks. Will play around with this.
Sorry for my response. I did a internet search and got a lot of weird results.
Sent from my LG-P999 using XDA Premium App
KRAZYADROIDMASTER said:
Sorry for my response. I did a internet search and got a lot of weird results.
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
Nah its cool. I was hoping I'd missed something and it would work. It didn't lol.
jboxer said:
Another way is to grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files.
Click to expand...
Click to collapse
This was my first approach but I didn't know where the files were extracted to so thanks. I managed to grab the extracted files by creating a symbolic link named Phone in that LGMOBILEAX directory. I pointed the symlink to another dierectory. I named it Test since I wasn't sure if this would work. I then ran the kdz updater (without my phone attached of course) and it extracted the kdz file to .\Phone which in turn saved them in my .\Test directory. The updater aborted when it detected there was no phone and the extracted files remained in the .\Test directory.
So now I have 2 files (it only extracted 2), Star_Model.dll and a .wdb file that is undoubtedly the firmware because its like a 180MB file. I tried extracting from the firmware using a couple different versions of LG utils that were floating around because they have an option to extract files from a wdb file, but they keep giving an error. I'll keep trying lol.
Any ideas?
jboxer said:
People are after the baseband. That's not included on the rom files you mentioned.
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
Exactly. I don't know why we don't have a flashable baseband yet and maybe my approach is going to be a dead end. Is a flashable baseband even possible on this phone? I dunno lol. Nobody seems to be paying it (the baseband) any attention.
I want to see a flasable baseband and other wind subscribers would as well because to get it we would have to flash the gb update. That changes the splashscreen to tmobile making it unable to change back since we don't have the stock rom that I know of.

[Q] Nexus 5 unrooting troubles

Hey guys, new member here
I was trying to unroot my phone using a factory image. However, when I downloaded the factory image, it downloaded as a document and not as a zipped file. This means that I only downloaded a document (which when opened showed symbols) and not the other files (flash-all) which are required for a factory image flash. I have looked everywhere and can't find a fix. I would appreciate if anyone could help me out here
Thanks in advance!
Here did you download the image. Is it a .tgz file?
Sent from my Nexus 5 using XDA Premium 4 mobile app
The factory image in .tgz format needs to he extracted in platform-tools folder assuming you're using the SDK (I used WinRAR to do so). Open up Command prompt and CD to platform-tools and type in fastboot flash-all while connected to USB in fastboot mode (you can also try typing just flash-all.sh ) It'll begin writing and you will lose everything.
I did that yesterday and followed this tutorial: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Hope it helps you.
Sent from my Nexus 5 using XDA Premium 4 mobile app

[Q] Can't establish a reliable connection to the Play Store

Hey guys,
I know that many of you have given a bunch of solutions to the error message saying that the play store can't establish a reliable connection. However, I've tried all of those methods and none have worked. I got here in the first place because I couldn't connect to the play store. When I cleared data, I was logged out and couldn't log back in. I've tried editing the host file using total commander,clearing cache/data, and even a factory reset. Do you guys have any solutions? Thanks in advance.
Did you run Towelroot?
If so a friend of mine went into system/etc/hosts and commented out one of the IP addresses and it worked fine. Factory resetting doesn't change back system files to my knowledge.
TheLastSidekick said:
Did you run Towelroot?
If so a friend of mine went into system/etc/hosts and commented out one of the IP addresses and it worked fine. Factory resetting doesn't change back system files
to my knowledge.
Click to expand...
Click to collapse
I'm not sure what towel root is, but that is exactly what I did using total commander. I put a # before the second address. That didn't work. Also, since resetting won't change system files, I tried flashing a factory image. However, when I try to download the latest image on my PC, the download shows up as a document and not as a zipped file. That means that there is no flash-all script to run. I've reached a wall lol if you could think of anything that would work, I would appreciate that. Also, thanks for replying!
Winrarlabs.com and get latest WinRAR and extract the .tgz file with WinRAR to same directory as fastboot. Flash all script will be there once you extract .tgz
TheLastSidekick said:
Winrarlabs.com and get latest WinRAR and extract the .tgz file with WinRAR to same directory as fastboot. Flash all script will be there once you extract .tgz
Click to expand...
Click to collapse
So I zip the document, and then extract it to the fastboot directory?
Skippery said:
So I zip the document, and then extract it to the fastboot directory?
Click to expand...
Click to collapse
Or is there even a need to zip the file? Sorry real tech noob here
Skippery said:
Or is there even a need to zip the file? Sorry real tech noob here
Click to expand...
Click to collapse
Install winrar. Open the .tgz file via winrar and then extract all the files you get there. flash-all file will be among those files
vin4yak said:
Install winrar. Open the .tgz file via winrar and then extract all the files you get there. flash-all file will be among those files
Click to expand...
Click to collapse
Thanks guys
Skippery said:
Thanks guys
Do you know where I could install WinRar for free (Windows 8 64-bit)?
Click to expand...
Click to collapse
Here you go: http://www.filehippo.com/download_winrar_64/
Really appreciate this. Thanked ya both.

[Q] stuck

Hello I am trying to flash the factory image on to my Nexus 5 with the flash all option in the zip file and it keep going missing boot.img as seen in the picture and I am unsure what to do at this point cause I disconnect my phone and it does boot up in to android 4.4.4 but I need help here
hell I would let some one remote connect if that helps any lol
Buckii said:
Hello I am trying to flash the factory image on to my Nexus 5 with the flash all option in the zip file and it keep going missing boot.img as seen in the picture and I am unsure what to do at this point cause I disconnect my phone and it does boot up in to android 4.4.4 but I need help here
hell I would let some one remote connect if that helps any lol
Click to expand...
Click to collapse
1) "Stuck" is NOT a question. Please use descriptive thread titles
2) You haven't unzipped the image-hammerheadxxx.zip that contains the images :/
but I have I followed the instructions to a T and put all file in the folder under platform tools
Buckii said:
but I have I followed the instructions to a T and put all file in the folder under platform tools
Click to expand...
Click to collapse
Not sure what instructions you've followed. Either they're incomplete or you made a mistake. Like I said, your screenshot shows a zip file. You need to unzip that in the location that it is in now
picture
rootSU said:
Not sure what instructions you've followed. Either they're incomplete or you made a mistake. Like I said, your screenshot shows a zip file. You need to unzip that in the location that it is in now
Click to expand...
Click to collapse
This is now what I have done you were right but still missing boot.img
Buckii said:
This is now what I have done you were right but still missing boot.img
Click to expand...
Click to collapse
Just fastboot flash it then.
Link to guides in my signature.
I have similar issues. Mine complains that the archive doesn't contain boot.sig and recovery.sig, and then it fails to allocate space and the update package missing system.img.
Going to do it manually now to see if it works
Desca said:
I have similar issues. Mine complains that the archive doesn't contain boot.sig and recovery.sig, and then it fails to allocate space and the update package missing system.img.
Going to do it manually now to see if it works
Click to expand...
Click to collapse
Mine shows same as you, but just reboot and it is working

Categories

Resources