Opening fastboot files - RAZR HD Q&A, Help & Troubleshooting

Hi everyone,
I know Motorola changed the file format recently to some type of ext4, in the fastboot images. Do we know how to open them yet? I want to grab a couple of files, thanks!
Sent from my XT894 running ICS

I used 7zip to extract. I used safestrap to make a backup which created a system.ext4.win file. I then used 7zip to extract which then gave me the files in the traditional format.

007shark said:
I used 7zip to extract. I used safestrap to make a backup which created a system.ext4.win file. I then used 7zip to extract which then gave me the files in the traditional format.
Click to expand...
Click to collapse
Are you using Windows or Linux?
Also I don't have a RAZR M, I just wanted to grab some files from the system folder to use we with a CM10 ROM.
Sent from my Nexus 7 using Tapatalk 2

Related

how to rezip a .tar file to .tar.gz???

hi, as title says, basically I had a tar.gz file and I somehow accidently unzipped it to a .tar file, is there any program or converter I could use to rezip it back to a tar.gz file??
thanks very much
Some context: tar is a relatively old archive format that basically does store many files in one file. I think it was developed for tape backups or something.
Many of the unix compression programs like gzip are meant to operate on a single file. So first you pack everything in a tar, then you gzip it and it will be named .tar.gz
Of course you can repack the tar with just applying gzip compression again to it. It depends on the programs you want to use. With the linux/unix gzip it would just be using "gzip file.tar" and it would create "file.tar.gz". With 7zip or so, it should also be trivial by just compressing it and chosing gzip.
Do u have a link to said converter as ive tried doing it from my computer but cant find nothing?
Thanks alot
Sent from my GT-N7100 using xda premium
Any archive program that supports the creation of archives in multiple formats should support it. E.g. winrar. I mentioned 7zip because it's Free and Open Source software but any other like that should work as well. The tar.gz format is really nothing special, it's just one tar file in a gzip archive. It just depends on the software how archives are created.
dazza_84 said:
Do u have a link to said converter as ive tried doing it from my computer but cant find nothing?
Thanks alot
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
won't winrar do it?
7-zip
prantoroy said:
won't winrar do it?
Click to expand...
Click to collapse
+1

[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] joining TWRP backup files

I recently did a backup using TWRP (v.2.8.1.0) and now have multiple files (data.ext4.win000, data.ext4.win001, data.ext4.win002 etc).
Can anyone please help by proving information on how to easily merge these files together in Windows 7?
Ultimately I would like to be able to view these using 7-zip.
Thanks!
toggly said:
I recently did a backup using TWRP (v.2.8.1.0) and now have multiple files (data.ext4.win000, data.ext4.win001, data.ext4.win002 etc).
Can anyone please help by proving information on how to easily merge these files together in Windows 7?
Ultimately I would like to be able to view these using 7-zip.
Thanks!
Click to expand...
Click to collapse
That's normal. You don't want to merge them. They're all in a folder that is the backup
Sent from my Nexus 9 using XDA Free mobile app
Those files are separate archives, open then like any other tar.gz
GR0S said:
Those files are separate archives, open then like any other tar.gz
Click to expand...
Click to collapse
I get an invalid archive error when I try to open the data backups though I don't on any of the other backup files (cache.ext4.win, system.ext4.win etc).
I'm pretty sure they need to be concatenated together though I am not sure if this is easily to accomplish in Windows 7. Here is an other post with a similar problem that was solved using the Ubuntu.
On ubuntu I've just appended .tar to file name and it works.
You should try merging files with total commander and renaming to .tar
GR0S said:
On ubuntu I've just appended .tar to file name and it works.
You should try merging files with total commander and renaming to .tar
Click to expand...
Click to collapse
Gave that a shot but it didn't work
Should work just copying and pasting them into the same folder. TWRP treats the backup for a partition to be separate and complete from another. I've mixed and matched restoring partitions from different backups and it's worked. You'll have to use your judgment as to whether the restored partitions will play nice with each other.
EDIT - A workaround is to restore the partitions that you want and then back them up into a new archive.

Missing .img files in archive

Hi,
I am trying to manually flash the Android 5.1 to my Nexus 5. I downloaded the facroty image from google and it has only 1 and only 1 files in the archive I have downloaded, called: "hammerhead-lmy47d-factory-6c1ad81e" where are the rest of the files ?? On almost every webiste its saying to run flash-all.bat file but its nowhere in the archive. I have already downloaded the archive 2 times.
What to do ???
Thanks.
Unzip that file, they are inside
Hi,
I renamed it to a zip and then i saw some img files but flash-all.bat is still missing. What to do ? Can i have the command to manually do the flash of the .img files I just found in the archive ???
Thanks.
Unzip, then unzip then look in the folder. Don't rename
Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
Hi,
Found only 5 files in that i.e:
boot.img
cache.img
recovery.img
userdata.img
system.img
No flash-all.bat in them. Also bootloader.img is also missing as suggested by some site. What to do ?
Thanks.
* Don't rename the file. Download again and unzip
* Should have all files required
* If still in doubt, check for videos in YouTube
Flash all, bootloader and radio are in the folder before that one
Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
Hi,
No they are not included. No flash-all.bat at all. I renamed the files to zip and then opened it in Winrar and then I got these files only. Nothing else.
Anyways I found a website which told me how to flash the files manually one by one, and now i am on 5.1.
Thanks.
Ben36 said:
Unzip, then unzip then look in the folder. Don't rename
Click to expand...
Click to collapse
schmos said:
* Don't rename the file.
Click to expand...
Click to collapse
kikloo said:
I renamed the files to zip and then opened it in Winrar and then I got these files only. Nothing else.
Click to expand...
Click to collapse
/facepalm
That and not posting this in q&a.
kikloo said:
Hi,
No they are not included. No flash-all.bat at all. I renamed the files to zip and then opened it in Winrar and then I got these files only. Nothing else.
Anyways I found a website which told me how to flash the files manually one by one, and now i am on 5.1.
Thanks.
Click to expand...
Click to collapse
http://forum.xda-developers.com/goo...e-update-rooted-device-to-5-1-lmy47d-t3050789
Steps 1 to 9
Read before you post
beekay201 said:
http://forum.xda-developers.com/goo...e-update-rooted-device-to-5-1-lmy47d-t3050789
Steps 1 to 9
Read before you post
Click to expand...
Click to collapse
You read before you post, no radio img file in my archive. Only 1 file was there, which I had to rename and then I got the 5-6 image files.
Thanks.
kikloo said:
You read before you post, no radio img file in my archive. Only 1 file was there, which I had to rename and then I got the 5-6 image files.
Thanks.
Click to expand...
Click to collapse
Impossible.
If you download https://dl.google.com/dl/android/aosp/hammerhead-lmy47d-factory-6c1ad81e.tgz, you'll get a file named "hammerhead-lmy47d-factory-6c1ad81e.tgz".
Extract that (NOT RENAME THAT TO ZIP, if that's what you're doing ), and you'll get the following:
Code:
tango% ls android/hammerhead/factory/hammerhead-lmy47d/
total 609M
-rw-r----- 1 bk201 2.6M Feb 23 19:31 bootloader-hammerhead-hhz12f.img
-rw-r----- 1 bk201 974 Feb 23 19:31 flash-all.bat
-rwxr-x--x 1 bk201 845 Feb 23 19:31 flash-all.sh
-rwxr-x--x 1 bk201 798 Feb 23 19:31 flash-base.sh
-rw-r----- 1 bk201 562M Feb 23 19:31 image-hammerhead-lmy47d.zip
-rw-r----- 1 bk201 45M Feb 23 19:31 radio-hammerhead-m8974a-2.0.50.2.25.img
Now reboot device into bootloader/fastboot interface, and run flash-all (either *.sh or *.bat, depends on the OS you're running). DONE.
*sighs*
kikloo said:
You read before you post, no radio img file in my archive. Only 1 file was there, which I had to rename and then I got the 5-6 image files.
Thanks.
Click to expand...
Click to collapse
Sorry, but you are dense.
And by sorry, I mean to everyone else.
Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
Laern to verify the checksum of your downloads
kikloo said:
Hi,
I am trying to manually flash the Android 5.1 to my Nexus 5. I downloaded the facroty image from google and it has only 1 and only 1 files in the archive I have downloaded, called: "hammerhead-lmy47d-factory-6c1ad81e" where are the rest of the files ?? On almost every webiste its saying to run flash-all.bat file but its nowhere in the archive. I have already downloaded the archive 2 times.
What to do ???
Thanks.
Click to expand...
Click to collapse
Did you check to see after downloading 5.1.0 (LMY47D) that the checksum matched?
MD5 Checksum: 021fa0ed4946e0c7e70e39da301e5a34
SHA-1 Checksum: 6c1ad81eb8b90b329da5ed534af6ef18dea9921c
If not, re download 5.1.0 (LMY47D) and verify checksum again.
You can use this free tool called HashTab http://implbits.com/products/hashtab/#
Best of luck
joegestes said:
Did you check to see after downloading 5.1.0 (LMY47D) that the checksum matched?
MD5 Checksum: 021fa0ed4946e0c7e70e39da301e5a34
SHA-1 Checksum: 6c1ad81eb8b90b329da5ed534af6ef18dea9921c
If not, re download 5.1.0 (LMY47D) and verify checksum again.
You can use this free tool called HashTab http://implbits.com/products/hashtab/#
Best of luck
Click to expand...
Click to collapse
Checksum etc is all fine. I already downloaded it 3 times. Same thing every time. Anyways after renaming to zip and extracting the in files, I installed 5.1 on my Nexus and its working fine. Though I never got the flash all. bat file or bootloader img file.
Thanks.
kikloo said:
Checksum etc is all fine. I already downloaded it 3 times. Same thing every time. Anyways after renaming to zip and extracting the in files, I installed 5.1 on my Nexus and its working fine. Though I never got the flash all. bat file or bootloader img file.
Thanks.
Click to expand...
Click to collapse
That's very odd
One more thought.
Is it possible you have "Don't show hidden files or folders and drives" and also "Hide protected operating system files"
checked in the Folder Options/ view tab?
Wakamatsu said:
Sorry, but you are dense.
And by sorry, I mean to everyone else.
Click to expand...
Click to collapse
Ben36 said:
Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
Click to expand...
Click to collapse
Dude's not downloading the same factory image than us, FOR SURE.
I'm out.
7-Zip helped
Guys,
Even I have struggled to find flash-all.bat files and other radio images. But then I found that somehow winrar is not able to open the .tgz file correctly. And that's where 7-Zip helped. After downloading use 7-Zip and "extract to hammerhead-lmy47d-factory-6c1ad81e". Go to that directory and perform the extraction again. If you use winrar, it is not able to perform extraction without re-naming it. But if you use 7-Zip directly you will be able to extract. Hope that helps.
Thanks & Regards
Sharma.
hshakuna said:
Guys,
Even I have struggled to find flash-all.bat files and other radio images. But then I found that somehow winrar is not able to open the .tgz file correctly. And that's where 7-Zip helped. After downloading use 7-Zip and "extract to hammerhead-lmy47d-factory-6c1ad81e". Go to that directory and perform the extraction again. If you use winrar, it is not able to perform extraction without re-naming it. But if you use 7-Zip directly you will be able to extract. Hope that helps.
Thanks & Regards
Sharma.
Click to expand...
Click to collapse
Thanks.
What you describe might be true, but that's not our scope. We aren't here to teach people how to extract archives. That's why nobody mentioned it before.

[Completed] Need an update to my RK3066 that isn't in RAR type but rather ZIP.

i need an update to my RK3066 to 4.4.4 kitkat that isn't in RAR type but rather zip. I've downloaded a couple different ones from the Malaysk profile on XDA and then converted to zip only to have my device recognize it as a bad file. any options?
Hi !
What did you use to convert it ? The zip or rar are the same
You maybe want a zip file in order to flash it in recovery but you have downloaded a rar which isn`t recognized
Open the rar archive and use the files from inside of it , it may contain an image an you have to use that one
Good luck !
xanthrax said:
Hi !
What did you use to convert it ? The zip or rar are the same
You maybe want a zip file in order to flash it in recovery but you have downloaded a rar which isn`t recognized
Open the rar archive and use the files from inside of it , it may contain an image an you have to use that one
Good luck !
Click to expand...
Click to collapse
i did try and flash update w/ the rar but the tablet didn't recognize a rar ext. So i converted to a zip and the tablet stopped because it stated it was a bad file. I thought something may have messed up during the conversion and did it again but same result. I've looked everywhere for updates to 4.4.4 for this tablet but no luck. the ones that i did try and flash would open update and then abort the install.
As I said, I understand what you have tried, now please listen to me, the rar file is not a flashable zip and you cannot just convert it to zip in order to flash it, the flashable zip file results from building the ROM not converting rar to zip
Rar and zip are indeed both archives but the zip you need is a flashable zip as I mentioned above
Open that rar and tell me what you have inside
As for roms, if here on xda aren't available then contact the manufacturer's website or go deeper into Google, as far as I can see there is no ROM for your device here on xda
Sent from my Darkside of Oneplus 3T

Categories

Resources