Trying to sign a zip on a phone? Solved - Nexus 5 Q&A, Help & Troubleshooting

I'm trying to create a flashable zip on my phone, but every time I try to flash to test it fails. Can anyone help?
I've tried zip signer and signapktic so it must be something I'm doing wrong
Sent from my Nexus 5 using Tapatalk

Ben36 said:
I'm trying to create a flashable zip on my phone, but every time I try to flash to test it fails. Can anyone help?
I've tried zip signer and signapktic so it must be something I'm doing wrong
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So... let's see that zip.

It's ok. Just sorted it now, obviously waking up at 4:30am has defected my brain. I was zipping the folder as a whole rather than the meta and system folders. So within my zip was another folder of the same name before them. Lol. Doh... Fail to me
Sent from my Nexus 5 using Tapatalk

Related

[Q] Downloaded APK files saved as .zip?

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

a little lost

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!!!

Very long strange names in download folder

Many times when I download files they get saved with very long weird names instead of their correct names. See screen shot attached, first filename should be d821servicemanual.. anyone know why this happens and how to fix?
sent from my hammerhead
Those are normal. They're the update files from 4.4
Right not those, take a look at the file above them. Also happened when I downloaded a bootanimation file, was supposed to be named boot animation.zip and came in like the first file in that screenshot. Had to rename it to correct filename.
sent from my hammerhead
Did you download from a Google drive folder by chance? I've seen that when downloading from drive
sent from my HAMMERHEAD neXus
Yes I think it might have been from Google drive. Weird. Thanks! Know any way to correct this?
sent from my hammerhead
ldubs said:
Yes I think it might have been from Google drive. Weird. Thanks! Know any way to correct this?
sent from my hammerhead
Click to expand...
Click to collapse
I haven't found a workaround. I just rename the zip after download. It has something to do with drive
sent from my HAMMERHEAD neXus

How do I delete apps with a zip file in recovery?

I install a ROM nightly and there are a few files that I dont need. I was hoping to create a file I can install after my ROM that will delete the 4 apps I dont need instead of having to manually remove them from the zip every day before I install it.
If possible, all I need is a zip file that deletes apps and I think I can modify it from there. Thank you in advance!
This is what I made for myself -
https://www.dropbox.com/s/jeupt00bsk1eqsv/deletesh1t.zip
Sent from my Nexus 5 using Tapatalk
I get a 404 when trying this file, any chance you have a different link?
Just edited it. Lol
Just edit the updater script to what you want
Sent from my Nexus 5 using Tapatalk
NEVERMIND, I am a dummy!
There should be text in the updater script :-S
I think drop box is playing up. Try this - https://www.dropbox.com/s/tyz9zmqhhjvb3fz/deleteapp.zip
Sent from my Nexus 5 using Tapatalk
Ben36 said:
There should be text in the updater script :-S
I think drop box is playing up. Try this - https://www.dropbox.com/s/tyz9zmqhhjvb3fz/deleteapp.zip
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You had the answer to the problem before I went into retard mode. I opened the file update-script straight from the zip before copying it onto my hard drive (so it was blank). Copying the file to the desktop and opening the file locally allowed me to edit the file without an issue. I just saved the update-script and put it back in the zip.
In hindsight, the file from Ben36 would have done the job, but I wanted to learn how to do it myself.
Glad to help! Lol
Sent from my Nexus 5 using Tapatalk

Nexus 5 unroot problems.

I'm having a real problem restoring my nexus 5 to stock. So far I have downloaded the .tgz zip folder and put my phone in fastboot mode. I feel like I am missing something though as I'm not sure how to flash-all and I'm quite stuck haha. Thanks in advance.
Unzip the gz file...
#stayparanoid
I have but the only thing in the zip is the "hammerhead-ktu84p-factory-35ea0277", where do I go from here?
Unzip that too.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Unzip that too.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'm getting the error message "The archive is either in unknown format or damaged" when I try to unzip it.
Waggy2014 said:
I'm getting the error message "The archive is either in unknown format or damaged" when I try to unzip it.
Click to expand...
Click to collapse
You download and extract the .tgz, with 7zip if you're on Windows.
In there is a folder. Within the folder is another zip file you need to extract.
Not really sure what you're seeing. perhaps screenshots will help?
Right, think I have sorted it now, seems to be running, thanks for the help.
Thanks, I've been using Winrar but it hasn't been working properly. I used 7zip and it worked perfectly.

Categories

Resources