I softbricked my Skyrocket... but before I reflashed it back to stock , I was able to backup my phone with clockwork mod. I was messing around with the
framework-res.apk file so I put a .bak suffix on the original.(right before I bricked it)
When I extract the system.ext4.tar file in the CWM backup I can see the files
framework-res.apk
and
framework-res.apk.bak
I am hoping there is a way to delete the bad file and rename the good file, then recompress to a .tar file, then restore from that.
Any suggestions??
Don't actually unzip the file. Just double click on it and see it you can remove bad file. Again do not unzip the file. Can you get into CWM?
Sent from my SAMSUNG-SGH-I727 using xda premium
yes i can get into CWM. I also have a copy of the backup on my pc
Fix the copy on your PC. Then flash it
Or just load a new rom and flash it. Do not unzip the file. Just double click it and remove what you need. Then move zip back to SD. Lemme know how it goes
Sent from my SAMSUNG-SGH-I727 using xda premium
I cant see the files I need to delete and rename unless I use winrar. Is there a different program that works better with .tar files?
If it were me. Id just flash a new rom. Start from scratch. Try 7zip
LOL I may be confused
Sent from my SAMSUNG-SGH-I727 using xda premium
OMG! wasted my whole day trying this with WinRAR! Never worked! Tried it with 7zip and it worked. Thanks! Now I still have to get that file to work now that I've edited it.
Related
So I got a phone with cryogen7 or whatever from my friend. I want to make it completely stock again. I dont have his sd card. so I just have mine from another phone. I downloaded the stock g2x gingerbread file, but when I try to restore it, i get a md5 mismatch or something. I saw a thread on that but I dont know how to write code. just hoping someone could help me out. thank you.
Download it again, also try another browsee
Sent from my LG-P999 using Tapatalk
Download the V21E nandroid from this thread:
http://forum.xda-developers.com/showthread.php?t=1196019
Then use your computer to extract the folder from the zip file you download. Copy that folder to the sdcard on your phone, and place it in the ./clockworkmod/backup directory. Then boot into clockworkmod recovery and select backup/restore > restore and then choose the backup folder you just copied to your sdcard. Make sure to do a full wipe/factory reset from within clockworkmod before you reboot or you might get a bootloop.
If you want stock recovery then use tga gunmanns one click app in the development section to restore stock recovery. Then you'll be 100% unrooted stock again.
IF the name of the zip has spaces in it it wont flash
Mister Hat said:
IF the name of the zip has spaces in it it wont flash
Click to expand...
Click to collapse
Nandroid backups aren't flashable zips. With the files from the thread i linked to, you have to extract the backup folder from the zip before you restore it. But yes, you are correct that spaces in the name of the backup create issues.
Did you figure it out yet?
Sent from my LG-P999 using XDA App
it freezes on "checking md5 sums"... don't know what to do
Are you using your computer to extract the V21E folder from the zip file? Ive used my phone before to extract it before and gotten the md5 mismatch error, and then used my computer to do it and it worked fine.
are you sure the rom your using is for your phone?
Can anybody tell me if the AT&T file is zipped or unizipped...trying to see why the link wont show up when i download it http://forum.xda-developers.com/showthread.php?t=1342348
Despite the fact that the link says: Download Stock TAR for SGH-I727, what you will actually download is in 7z format. Once you open that you will find a .tar file. Once you open that, you will find the boot, recovery and system .img files. People love to complicate things.
when i try to open the file it comes up as being blank...nothing is even there
ok i see my problem now...what is a program to open the 7z format file???
Do you have a utility which will open 7z files?
http://www.7-zip.org/
I downloaded both the AT&T and Rodgers files a while back and seem to recall it took over 15 minutes for each of them despite they're only being about 250m. You may have corrupt files.
ok i didnt have the utility...thanks bro i am noob just did my first root 3 days ago and the custom rom im running keeps force closing...trying to get rid of it and return it to stock rom
what is the process of extracting the tar file to odin???
8BallDa8Dawg said:
ok i didnt have the utility...thanks bro i am noob just did my first root 3 days ago and the custom rom im running keeps force closing...trying to get rid of it and return it to stock rom
Click to expand...
Click to collapse
Did you make a nandroid backup? Have you tried fixing permissions? Just curious. If you made a nandroid backup before you flashed your new rom, just restore the backup. Always always always make a nandroid before you flash.
Sent from my SAMSUNG-SGH-I727 using xda premium
naw i didnt bro...i did back up most of my stuff to titanium back up though..would dat matter
8BallDa8Dawg said:
naw i didnt bro...i did back up most of my stuff to titanium back up though..would dat matter
Click to expand...
Click to collapse
honestly, you have some reading to do, but from the initial sounds of it, you either:
A. restored apps you shouldnt have with Titanium Backup after flashing your new rom (only use RESTORE MISSING APPS WITH DATA, NEVER EVER USE RESTORE ALL APPS OR RESTORE SYSTEM ANYTHING)
or you:
B. didnt wipe data/factory reset in CWM before flashing the new rom
best option right now would be to boot to recovery and wipe data/factory reset, then boot back into your rom and see if you get FCs....
i restored all of my apps that were missing on my phone...didnt restore anything else. i just want to return my rom back to its original state and i didnt back it up when i used cwm. the rom that am using is Sky Ice Cream sandwhich and im having problems wit force closes
8BallDa8Dawg said:
i restored all of my apps that were missing on my phone...didnt restore anything else. i just want to return my rom back to its original state and i didnt back it up when i used cwm. the rom that am using is Sky Ice Cream sandwhich and im having problems wit force closes
Click to expand...
Click to collapse
if you want to go back to stock, then you need to fire up ODIN as admin, put the stock tar file in the pda slot, put phone in download mode and hit start
The problem im having wit dat is puting the stock rom into the PDA...the tar file is not recognized in the PDA...i downloaded the utility to extract the tar file from the 7z file but im stuck from there...assistance please??
8BallDa8Dawg said:
The problem im having wit dat is puting the stock rom into the PDA...the tar file is not recognized in the PDA...i downloaded the utility to extract the tar file from the 7z file but im stuck from there...assistance please??
Click to expand...
Click to collapse
open 7z file with 7zip. drag the tar file out to your desktop
open ODIN as admin
click on the PDA button
point it to your desktop where the tar file is
select the tar file and click start
its not complicated....dont really understand what the issue is
when i open the the files in 7zip they will not move to the desktop as a Tar file...they go as three seperate files
8BallDa8Dawg said:
when i open the the files in 7zip they will not move to the desktop as a Tar file...they go as three seperate files
Click to expand...
Click to collapse
inside the 7z file is ONE, count them, ONE .tar file. DO NOT EXTRACT THE FILES INSIDE THE .TAR file....
sounds to me like you are opening the 7z, then opening the .tar within 7zip
try this. right click on the 7z file, 7-zip, EXTRACT HERE, assuming you are somewhere simple, like your desktop. it should spit out ONE .tar file
Just recently, on two different PCs, whenever I downlaod an APK from XDA-Developers, they are saved as .zip files (saved as "app.zip" instead of "app.apk"). Downloading from other sites works fine.
Is it something with the forums? or with my PCs?
Can the file be unzipped?
Sent from my HTC_A510c using XDA App
Android311 said:
Can the file be unzipped?
Sent from my HTC_A510c using XDA App
Click to expand...
Click to collapse
Yes, the file can be unzipped & the contents are what would usually be in an apk file.
I just rename it to "app.apk" & it will work. Its just that it did not happen before, and now, on two PCs whenever I download an APK, I have to rename it first.
Apk in .zip
All APK's are just zip files in a format that Android understands and can un-zip almost like and be installed like a program. So, i think, you need to just change the .zip extension to .apk
The main question was that, previuosly downlaoded APK's from XDA were fine, now, they are saved as .zip. why?
omar302 said:
The main question was that, previuosly downlaoded APK's from XDA were fine, now, they are saved as .zip. why?
Click to expand...
Click to collapse
Probably because its not illegal I guess... if you were to upload a paid app as an APK u could get in trouble whereas if its in a .zip file then its not considered an illegal file... if you get me... another possibility is that it just takes up less space hope this helps
Sent from my Nexus One using XDA
Is it possible to convert Cwm backups for use in TWRP or is it a simple case of drag and drop?
Sent from my Nexus S using xda premium
scoffyburito said:
Is it possible to convert Cwm backups for use in TWRP or is it a simple case of drag and drop?
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Don't know it's possible currently but you can always restore the cwm backup using cwm, then flash twrp, and do a backup with twrp. Now it's converted. Quite a hassle but this is one way I know how.
Sent from my Nexus S using xda premium
[email protected] said:
Don't know it's possible currently but you can always restore the cwm backup using cwm, then flash twrp, and do a backup with twrp. Now it's converted. Quite a hassle but this is one way I know how.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Yeah I guess it's the only way
Sent from my Nexus S using xda premium
scoffyburito said:
Yeah I guess it's the only way
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Found this http://www.droidviews.com/create-flashable-zip-cwmtwrp-backup/
It says:
Code:
Create Flashable Zip from CWM/TWRP Backup
The method for creating flashable Zip from CWM and TWRP backups are different as both the recoveries use different techniques to backup the device.
For CWM Backup
Transfer the CWM backup from Phone to PC.
Extract system.ext4.tar file with any of the archive apps like Winrar or 7zip, you will get the system folder of your device containing all the files.
Gather the boot.img from the CWM backup.
Now collect a META-INF folder from any custom ROM which is made for your device. Make sure you get the correct Meta-Inf folder, else the Zip won’t work and might worsen the condition of your device.
Select the META-INF, System folders and the boot.img and right click your mouse and select add to Archive.
In the Archive settings, choose the extension of the compressed file as Zip (Make sure of this part)
That’s it, your flashable Zip is now ready and you can flash it using any custom recovery.
For TWRP Backup
Transfer the TWRP backup from Phone to PC.
You’ll see a file named system.ext4.win which is the System partition backup of your device. Rename it to system.ext4.tar (Changing its extension from .win to .tar)
Extract the system.ext4.tar using an archive software like Winrar or 7zip.
If your TWRP backup is not in compression mode, you will directly get the system folder, else you will get a file named system.ext4, which should be renamed again to system.ext4.tar and extract it to get the system folder.
Take the boot.emmc.win file and rename it to boot.img.
Now collect a META-INF folder from any custom ROM which is made for your device. Make sure you get the correct Meta-Inf folder, else the Zip won’t work and might worsen the condition of your device.
Select the META-INF, System folders and the boot.img and right click your mouse and select add to Archive.
In the Archive settings, choose the extension of the compressed file as Zip (Make sure of this part)
Now you can use this Zip file to flash it on your Custom recovery.
ok i am trying to put the aeon rom on my infuse, it is rooted with cwm installed. i downloaded the rom from this site , went thru the whole google drive thing and all.ok it downloaded in winrar format , so i created a folder and renamed it zip and put on desktop and then transfered to internal memory on phone. ok i rebooted to cwm , did the wipes like it said then went to install zip from sd, it found the zip and when i selected it it showed all the files in the folder, data,meta-inf,scripts sd card,system ,updates and install busybox. now i am lost as to what to do . do i select these 1 by 1 or did i screw up somewhere before hand.
The file you downloaded should be a zip. Not sure about all the shuffling you did, but you should be able to place the zip you downloaded on your internal sd and flash from recovery. You should not have to do a single thing to the ROM when downloaded other than flash.
Edit...sounds like you were unable to flash the ROM because it was a folder, as opposed to a zip file. Don't pull stuff out of the package, just try changing it from..rar to .zip..then flash.
Sent from my SGH-I997 using xda premium
**** , it keeps downloading as a winrar file , anyway to fix that
ok i did away with my winrar and now have winzip, is that what your talking about or is zip file different, ok looks like i got it now thx alot for the help
Glad you got it. For future flashing, the package you download should be all you need to flash in recovery. No need to pull out files or recreate zips. The devs try to make it easy as possible.
Sent from my SGH-I997 using xda premium
I think your winrar/winzip is just the program.associated with he .zip...i think it was always a .zip...as winzip is not a file...winrar is not a file either...they are just two different programs...
Sent from my SAMSUNG-SGH-I997 using XDA
mg2195 said:
I think your winrar/winzip is just the program.associated with he .zip...i think it was always a .zip...as winzip is not a file...winrar is not a file either...they are just two different programs...
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Yes sir i pm him on that...but your correct...
Yes both are programs, however, you need either one if you want to unzip any file or folder!!!