How to zip files in Windows - AT&T Samsung Galaxy S II Skyrocket SGH-I727

Hello! Okay the title pretty much says it all, I have followed this guide to port the newly released MIUI 2.7.20 from the hercules to our skyrockets and to make the file switches i had to "extract" both archives. Now I have everything changed that needs to be but no way to re zip it to flash? I tried 7zip and Winrar and they just made a zip file that housed the original file inside (cant flash that). Any help would be great, Thanks

Related

Problem signing Update.zip files

Hi all,
I've recently got my Vodafone Magic and am enjoying the awesome work of all those here that have helped to root the phone and create the brilliant custom ROMs. So big thanks to all those involved.
On to my problem. I actually tweaking the updates I apply to the phone slightly, such as adding ring tones or changing to the android keyboard. I've got scripts that do this, but I'd really like to alter the update.zip and apply it in a single go. I understand what needs to be done, but the signing of the altered update.zip file doesn't work.
I am using signapk as per instructions, which succesfully completes, but it removes the META-INF\com directory (and yes it is in the original zip). I saw someone had a similar problem a while ago, but the thread didn't have a solution.
I'm using Windows XP 32bit. I've downloaded and installed the JDK 6 Update 14, and installed it to \Java to ensure no spaces are in the directory path.
Can anyone help?
Thanks
RogueJay said:
Hi all,
I've recently got my Vodafone Magic and am enjoying the awesome work of all those here that have helped to root the phone and create the brilliant custom ROMs. So big thanks to all those involved.
On to my problem. I actually tweaking the updates I apply to the phone slightly, such as adding ring tones or changing to the android keyboard. I've got scripts that do this, but I'd really like to alter the update.zip and apply it in a single go. I understand what needs to be done, but the signing of the altered update.zip file doesn't work.
I am using signapk as per instructions, which succesfully completes, but it removes the META-INF\com directory (and yes it is in the original zip). I saw someone had a similar problem a while ago, but the thread didn't have a solution.
I'm using Windows XP 32bit. I've downloaded and installed the JDK 6 Update 14, and installed it to \Java to ensure no spaces are in the directory path.
Can anyone help?
Thanks
Click to expand...
Click to collapse
the signapk never removes files. (imho)
you have to put all the files in one zip file
META-INF
-com
--google
---android
----update-script
-cert.rsa
-cert.sf
-manifest.sf
system
boot.img
Click to expand...
Click to collapse
the cert.rsa, cert.sf, manifest.sf, will be updated (imho) by the signapk
kingchris said:
the signapk never removes files. (imho)
Click to expand...
Click to collapse
Well it is on my machine.
kingchris said:
you have to put all the files in one zip file
the cert.rsa, cert.sf, manifest.sf, will be updated (imho) by the signapk
Click to expand...
Click to collapse
All the files are in the original zip file and signapk does update the cert.rsa, cert.sf & manifest.sf. It just seems to remove the com directory and hence the update script.
I started with the ION update, extracted it, changed a couple of things under system, rezipped it and tried to sign it with the outcome I mentioned.
I've tried creating the zip with XPs built in zip handler and WinZip.
RogueJay said:
Well it is on my machine.
All the files are in the original zip file and signapk does update the cert.rsa, cert.sf & manifest.sf. It just seems to remove the com directory and hence the update script.
I started with the ION update, extracted it, changed a couple of things under system, rezipped it and tried to sign it with the outcome I mentioned.
I've tried creating the zip with XPs built in zip handler and WinZip.
Click to expand...
Click to collapse
you can do a test like this.
download the signed rom and try to sign it again. then take a look into the zip file in the meta directory
Yay - got it working.
It would seem that the problem was the zip files as created by WinZip. When I created the zip file using 7-zip, all went well. At least all the files are there - haven't tried putting it on the phone yet.

Google Experience only

I am happy with what I have since the new update from Viewsonic.
If I only want to add Google Experience, marketplace, do I still need to go through the process of rooting, installing clockwork and a new UI?
Is there just a simple way to add GE to the Classic UI?
Gapps install
http://forum.xda-developers.com/showthread.php?t=842590
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
butchconner said:
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
Click to expand...
Click to collapse
I HAD to resort to putting on Clockwork Mod 0.8 to get GApps on my G Tablet.
Putting the update.zip on the internal and sd card storage did not work for me either with the newest update installed.
Clockwork Mod is a super easy install - just follow the instructions on how to install G Apps...basically: put CWM on your SD card in it's root (meaning NOT in any directories) and rename it update.zip, put the corresponding recovery directory on the SD as well. I use Winrar as well, I drag the recovery directory right from the file itself and to the SD Card.
Will look like:
Drive: update.zip
Drive: /recovery/command
basically.
Flash it the normal stock way (power and volume +). I press Power and Volume + without even powering off the device, because if the device is powered down and then you start it and miss that first start up, the device WILL delete the recovery/command file and the update won't flash.
GL
I don't officially get to play with my GTab until after package opening tomorrow so I can't do anything today, but I'm trying to line up my to do list. I have never rooted, flashed, or modded anything but am not afraid to play around as long as I don't brick the tablet.
What do you mean when you say "put the corresponding recovery directory on the SD as well. I use Winrar as well"? What is the corresponding recovery directory? What do you use Winrar for? I Googled "winrar" and found " WinRAR is a shareware file archiver and data compression utility developed by Eugene Roshal, and first released in the fall of 1993.[1] It is one of the few applications that is able to create RAR archives natively, because the encoding method is held to be proprietary. " I cannot figure out why it would be needed to load the standard Android market.
MSU_Sparty,
When you do updates (or installs) that have to be flashed onto the internal sdcard, they usually com in pairs of files. You will have an update.zip file that has the update in it (DUH!) -- and accompanying it will be a "Recovery" directory that has a command file in it (The command file has only one line that "calls" the update.zip file.
WinRAR "Zip" utility enters the picture because most of the devs here use WinRAR to package updates. The when they tell you to decompress it, you use WiinRAR and are left with a .zip file to install.
That's the question I had about this update. The Gapp file show to be a RAR package, but when I un-RAR it I come up with no .zip file -- only regular files.
Hope this helps you understand.
Rev
P. S. -- If you are new to this business, take it slow and easy and read ahead on this site and make sure you understand what you are doing. I try to do that, but even with years of IT experience I still mess things up once in a while.
Neoprimal,
Thanks for the tip about CWM. I have two tablets and the other has CWM on it and is fairly modded.
But this tablet I am trying to keep basically stock so I can get updates, etc. and see what the "state of product" is.
As mentioned in my previous answer, I am stumped because I am not getting what looks to be an update.zip file from the Gapp download. When I use WinRAR to decompress the Gapp file, I don't get a .zip file -- only a couple of directories. On the other hand, when I rename the Gapp file update.zip and try to flash it it doesn't work.
Again, thanks for the reply.
Anyone else with suggestions!!!????
Rev
Thanks. What you've written really does clarify the previous post. I appreciate it.
But let me ask another naive question. Why don't the developers create their update programs so they can be installed by just downloading them OTA like most applications? That would sure make it easier for neophytes. I'm guessing that the reason is because we aren't really adding an application but replacing the OS.
I greatly appreciate your guidance and that of all of the folks who use this forum.
Happy Holidays!

[Q] Extract Files from ROM

Hi there,
Is it possible to extract files from ROMs here?
Tried open with 7-zip, but only i see are errors.
what exactly out of the roms are you trying to open?
Sorry, i tried open ROMS for CWM, like PRIME or Revolver.
ok but what type of file? is it just a zip or is it the blob file
It's a blob file inside the cwm rom zip file... what to do?
Maybe try this?
http://forum.xda-developers.com/showthread.php?t=1068548

[Q] How to create cwm flashable .zip under OSX

Hi there,
I am trying to create a .zip file for my rooted Galaxy S3 which should be flashable under cwm (actually Philz Recovery 5.00.5). While under Windows 7 it works like a charm to unzip a third party .zip file, change some files and re-zip it using WinRAR, I just can't do the same under OSX. It seems that the rezipped file is somewhat different from a .zip file Windows creates. I tried zipping with Unarchiver, Keka, /usr/bin/zip and p7zip - none of them works, cwm keeps telling me "Installation aborted.". OSX ressource files are not included in the archive.
Can anyone point me to a OSX App with wich I can create a flashable .zip file?
Thank you in advance!

[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