[Q] Re-Compressing Android ROM on OSX - Nexus One Q&A, Help & Troubleshooting

Hi,
I just spent the past 3 hours downloading Rodriguez' MIUI mod on my computer because my connection is so slow. I usually download ROMS straight from my phone.
This time however, about an hour in, I realised that OSX Safari will unzip the ROM as soon as it finishes downloading automatically. I got into Preferences>General and change that setting, but it seems as though it didn't come into effect because I changed the setting whilst the download was in progress.
Anyway, is there any other way I can compress the ROM (which is now a folder) through any terminal commands either on the phone or on the computer?
I've already tried compressing it normally like any other folder with MM's Gingerbread ROM I downloaded yesterday. When I flashed it, I bootlooped so....
Oh and I can't download it again. I'm on the brink of going over my bandwidth allowance.
Thanks!

Well, You can use WinRAR like application for MAC (I Don't use OS X) so cant specify.
Select all the files and compress it to zip! Done!
Donate to me by clicking the Thanks if I helped you!

In theory, it would just be to compress it normally with the use of any archiver program which compresses to a .zip file. Not too familiar with OS X, so I cannot guide you into what program you'll need and how to do.

You need to re-compress the ROM files and sign the ZIP.

Jack_R1 said:
You need to re-compress the ROM files and sign the ZIP.
Click to expand...
Click to collapse
Forge94 said:
I've already tried compressing it normally like any other folder with MM's Gingerbread ROM I downloaded yesterday. When I flashed it, I
bootlooped so....
Click to expand...
Click to collapse
i think the issue is signing... Can someone tell us how to sign a rom on osx?

rassawyer said:
i think the issue is signing... Can someone tell us how to sign a rom on osx?
Click to expand...
Click to collapse
Signapk? But i think signing a rom is not neccesary anymore... Just turn off signature verification in recovery or use 4ext

I have had the same situation. Safari extracted the file automatically.
After waiting for 3 hours until the download completed, because the website is restricting my download speed to 100 kb/s.
I tried zipping and compressing the file both by a Windows system and a Mac. IT DID NOT WORK.
I have to download the file again.

Related

roms wont flash

im not sure if this has happen to anyone else but its has happen to my several times on 2 different roms i downloaded farias aku3.3 and pdaviet 4 once i extract these files i dont get a icon for the installer like other roms i have downloaded i get i folder with about 4 files in it. i try to click the files and i get the same thing everytime not a valid win 32 application. can anyone please help figure out what to do about this? i only get this problem with rar files every file that i download that was a zip file worked fine. thanks
glennh627 said:
im not sure if this has happen to anyone else but its has happen to my several times on 2 different roms i downloaded farias aku3.3 and pdaviet 4 once i extract these files i dont get a icon for the installer like other roms i have downloaded i get i folder with about 4 files in it. i try to click the files and i get the same thing everytime not a valid win 32 application. can anyone please help figure out what to do about this? i only get this problem with rar files every file that i download that was a zip file worked fine. thanks
Click to expand...
Click to collapse
Check to make sure that it is an "original" ROM not a retweaked one. I haven't had the problem you describe.
--M
glennh627 said:
im not sure if this has happen to anyone else but its has happen to my several times on 2 different roms i downloaded farias aku3.3 and pdaviet 4 once i extract these files i dont get a icon for the installer like other roms i have downloaded i get i folder with about 4 files in it. i try to click the files and i get the same thing everytime not a valid win 32 application. can anyone please help figure out what to do about this? i only get this problem with rar files every file that i download that was a zip file worked fine. thanks
Click to expand...
Click to collapse
what are you using to decompress the RAR? and when was the last time you updated it? I use WinRAR and have no issues. If you have a recent (last couple years or so ) copy of WinRAR and are still experiencing this then you probably got a bad or incomplete download -- How big is the file?
i have winrar as well and the files are about 60 mbs and 50mbs

Help!

Hey all, I'm currently in RA after flashing the recovery image , and I'm trying to install the FRESH rom on there but for some reason when I try to "Flash zip from sdcard" it's telling me "No zip files found." Why is that? I have the whole zip folder placed in the main SD card, so why is it telling me it's not found?
BOOGIE_BOTZ said:
Hey all, I'm currently in RA after flashing the recovery image , and I'm trying to install the FRESH rom on there but for some reason when I try to "Flash zip from sdcard" it's telling me "No zip files found." Why is that? I have the whole zip folder placed in the main SD card, so why is it telling me it's not found?
Click to expand...
Click to collapse
I responded to you on http://GeekFor.Me, but the reason is because RA looks in the root of sdcard, the zips can't be inside of any folders.
So does that mean I have to take out all the individual files and place them directly into the root of the sdcard? Because I just basically copied the download folder and dropped it into the root. Thanks for the reply
BOOGIE_BOTZ said:
So does that mean I have to take out all the individual files and place them directly into the root of the sdcard? Because I just basically copied the download folder and dropped it into the root. Thanks for the reply
Click to expand...
Click to collapse
You need to leave the files in a .zip, but yea that zip needs to be on the root of the sdcard.
The only file you need to install the rom is fresh-cdma-hero-20d.zip (for fresh rom 2.0d). Any other zips are just addons or tweaks or whatever they may be.
flipzmode said:
You need to leave the files in a .zip, but yea that zip needs to be on the root of the sdcard.
The only file you need to install the rom is fresh-cdma-hero-20d.zip (for fresh rom 2.0d). Any other zips are just addons or tweaks or whatever they may be.
Click to expand...
Click to collapse
Hmm, I'm on a Mac and maybe it's me but the link I download from gives me an actual folder rather than a zip. And when I rename the folder to a zip, it gives an error. Is there a mirror link to download an actual zip folder?
Boogie when you download it dont opening after it finishes downloading .. just use the finder to navigate to where its at and then copy that to your sd .. when you open it on a mac it will automatically create the extracted folder .. hope this helps ...
Sounds like your using Safari to download it. To make this easier in the future go to Safari > Preferences > General and make sure that "Open safe files after downloading" is NOT check-marked.
Safari is unpacking the zip file for you. The file you want is in your trash bin, drag it to the root of your SD card and that's it..
Ok I'm gonna give it another go. Since I made it all the way through to the RA stage, there's no reason I shouldn't be able to flash the rom is there?
Thanks for all the help everyone I finally got it to flash the FRESH rom, but once I rebooted it, it's still in the "HTC" branded screen. Is it loading? It's not going anywhere but this screen, although I know it's doing something because the animation shine is moving.
BOOGIE_BOTZ said:
Thanks for all the help everyone I finally got it to flash the FRESH rom, but once I rebooted it, it's still in the "HTC" branded screen. Is it loading? It's not going anywhere but this screen, although I know it's doing something because the animation shine is moving.
Click to expand...
Click to collapse
After flashing a new ROM, it can take up to 10 minutes or so to load.
Nice Everything is all good! Now my last question is how do I get the removed apps from the ROM back onto here? I actually prefer to have some of those programs back onto the phone.
BOOGIE_BOTZ said:
Nice Everything is all good! Now my last question is how do I get the removed apps from the ROM back onto here? I actually prefer to have some of those programs back onto the phone.
Click to expand...
Click to collapse
There is a link in the release notes to download all the removed apk's from Fresh Rom. You will then need to use adb push to push them back to /system/app. Search for how to setup adb on a mac as I honestly don't know.

[HOW-TO] [VIDEO] How to customize a custom ROM (make your own ROM from a custom ROM)

This is a video toturial I made for modifying ROMs. Here's the things in the video:
1. How to remove or add apps
2. How to replace the boot screen
3. How to replace other things and sign it
Please remember to read all comments and everything on YouTube about the video before asking questions. I am not going to respond if the question already has been asked
Thanks it seems really interesting ! I'm gonna see it when i come back to my home!
sebxd said:
Thanks it seems really interesting ! I'm gonna see it when i come back to my home!
Click to expand...
Click to collapse
Cool Please feedback
Nice, works like a charm. Your own damn rom and not difficult.
tnx !
flitz said:
Nice, works like a charm. Your own damn rom and not difficult.
tnx !
Click to expand...
Click to collapse
Your welcome
i now know how to add apk files to an update.zip, but the bootanimation.zip just went right over my head
If i want a new bootscreen, do i have to make a whole new custom rom, or can i just flash the new bootscreen?
Rubinski_be said:
If i want a new bootscreen, do i have to make a whole new custom rom, or can i just flash the new bootscreen?
Click to expand...
Click to collapse
You can just delete all other files and folder so you only have fx if your bootscreen is placed like this: META-INF and system system> customize> resource>bootanimation.zip
That should be your only files and folders. Of course if you your bootscreen is placed in data/local/bootanimation.zip then that should be your only directories and files
Limit?
Really like this and it would make trying different Rom easier for me but is there a limit to the amount of apk's you can add or a maximum Rom size?
Have tried again and again over the last couple of days to add 32 (free market apk's) to VillianRom12 but can only get a successful flash at around 12 Apk's and a Rom size of 122mb.
All other tries give me an Error while flashing saying something along the lines of "Error with Line 11" and "Flash aborted".
After a successful flash and reboot 'SD & Phone storage' says I have 158mb of Internal Phone Storage is that different storage to where the Rom is Flash.
If this is not possible can I flash an Update.zip with just the apks?
Thanks. A bit of a Noob.
scottbethell said:
Really like this and it would make trying different Rom easier for me but is there a limit to the amount of apk's you can add or a maximum Rom size?
Have tried again and again over the last couple of days to add 32 (free market apk's) to VillianRom12 but can only get a successful flash at around 12 Apk's and a Rom size of 122mb.
All other tries give me an Error while flashing saying something along the lines of "Error with Line 11" and "Flash aborted".
After a successful flash and reboot 'SD & Phone storage' says I have 158mb of Internal Phone Storage is that different storage to where the Rom is Flash.
If this is not possible can I flash an Update.zip with just the apks?
Thanks. A bit of a Noob.
Click to expand...
Click to collapse
Yes I think there's a limit of how many apps you can add you just have to install the rest manually
C0mpu13rFr34k said:
You can just delete all other files and folder so you only have fx if your bootscreen is placed like this: META-INF and system system> customize> resource>bootanimation.zip
That should be your only files and folders. Of course if you your bootscreen is placed in data/local/bootanimation.zip then that should be your only directories and files
Click to expand...
Click to collapse
I installed the new Pancake ROM on my HTC Tattoo. I can't find the location of my current bootscreen. Do i have to replace the bootscreen.zip in the ROM and flash this ROM, or do i just have to copy the new bootscreen to my sd-card and find the location to paste it at the right place?
Rubinski_be said:
I installed the new Pancake ROM on my HTC Tattoo. I can't find the location of my current bootscreen. Do i have to replace the bootscreen.zip in the ROM and flash this ROM, or do i just have to copy the new bootscreen to my sd-card and find the location to paste it at the right place?
Click to expand...
Click to collapse
I might misunderstand you but I think from what i'm reading you can do both things
C0mpu13rFr34k said:
I might misunderstand you but I think from what i'm reading you can do both things
Click to expand...
Click to collapse
I tried to put the files on my SD-Card and copy them to the right location. (system/media/bootscreen) but it failed. I can't replace the files that are in there. What can i try now?
Hi,
Very nice idea and good tutorial.
But for me, it doesn't work.
I want to add EsFileExplorer to my FroydVillan 1.0.0 (Froyo 2.2) rom.
I copy the file in app folder, i save, i signe my new rom.
I flash my HTC Hero, all is OK, but when i want to use EsFileExplorer, Android says: "Must close ES File Explorer (process .com.estrongs.android.pop). Please try again".
Can you help me ?
Thx
PS: I try with Astro file explorer and same issue
Titou1309 said:
Hi,
Very nice idea and good tutorial.
But for me, it doesn't work.
I want to add EsFileExplorer to my FroydVillan 1.0.0 (Froyo 2.2) rom.
I copy the file in app folder, i save, i signe my new rom.
I flash my HTC Hero, all is OK, but when i want to use EsFileExplorer, Android says: "Must close ES File Explorer (process .com.estrongs.android.pop). Please try again".
Can you help me ?
Thx
PS: I try with Astro file explorer and same issue
Click to expand...
Click to collapse
My post no. 200 LMAO
That happens sometimes. Not all apps work when they are put in system/app. Try putting them in data instead. If that doesen't work you just can't do it with those apps and you'll have to install them from market...
BTW are you sure these apps are Froyo compatible?
A list of what the apps are and whether they are safe to remove would be really helpful. Although probably a lot of work to compile. Just a suggestion. Great tutorial though
walkinhotdog said:
A list of what the apps are and whether they are safe to remove would be really helpful. Although probably a lot of work to compile. Just a suggestion. Great tutorial though
Click to expand...
Click to collapse
Yeah that would be nice but right now i'm working on a new version of my theme for the new version of Cronos Droid...

Kernel Manager

TeamWIN has now made their Kernel Manager app work with the XOOM. What it allows you to do, is flash kernels inside android. No more booting into fastboot, or even running update.zips.
https://market.android.com/developer?pub=Team+Win
Just downloaded and just what we need, it is awesome, will get the paid version as promised in the irc LOL
bwcorvus said:
TeamWIN has now made their Kernel Manager app work with the XOOM. What it allows you to do, is flash kernels inside android. No more booting into fastboot, or even running update.zips.
https://market.android.com/developer?pub=Team+Win
Click to expand...
Click to collapse
It corrupted my kernel just fyi to the devs
sfld said:
It corrupted my kernel just fyi to the devs
Click to expand...
Click to collapse
it didn't corrupt your kernel. Just manually push the BCM4329.ko file through adb.
or just to be safe just push everything again manually. That way you know everything was done right.
sfld said:
It corrupted my kernel just fyi to the devs
Click to expand...
Click to collapse
if there are issues, please join us in #kernel-manager on irc.freenode.net. we encourage all devs to participate in troubleshooting any outstanding issues on all devices.
this broke my wifi. what do i do? i have no idea how to do the steps above with adb
grasshoxda said:
this broke my wifi. what do i do? i have no idea how to do the steps above with adb
Click to expand...
Click to collapse
Download and run the one click root file, it will repatch with the kernel that comes in it or you can place the files from the latest kernel release into it. I think thats the best option for you if you are not comfortable using adb.
Get the one click root here.
http://forum.xda-developers.com/showthread.php?t=1011196
i reran rootmyxoom and have wifi back. how to i use this then without losing wifi?
slatejones said:
Download and run the one click root file, it will repatch with the kernel that comes in it or you can place the files from the latest kernel release into it. I think thats the best option for you if you are not comfortable using adb.
Get the one click root here.
http://forum.xda-developers.com/showthread.php?t=1011196
Click to expand...
Click to collapse
lol just finished doing exactly that thanks tho
how do i go about placing the new files into it?
grasshoxda said:
lol just finished doing exactly that thanks tho
Click to expand...
Click to collapse
It could be an issue with the download. Find the file with astro or root explorer and delete it then redownload, or download to your computer and place it on the xoom and have the app install from the sd card instead of downloading it.
If it still doesnt work for you, just reflash the one click root and give it a day or two for the devs to update the app or something.
Hope everything works out for you
grasshoxda said:
how do i go about placing the new files into it?
Click to expand...
Click to collapse
Well.... Uhhh.... Thats not something I tried myself. But I think it would be pretty easy... When you extract the root my xoom folder to your computer, open it up and find the kernel files... then replace them with the updated files from the 1.3.2 zip file. Just unzip the 1.3.2 folder and copy and paste.
Hope this helps
ive opend the rootmyxoom folder and i dont know where to put the contents from the zip
grasshoxda said:
ive opend the rootmyxoom folder and i dont know where to put the contents from the zip
Click to expand...
Click to collapse
I dont have a current version of the one click root, but I would think to look inside either the wifi root folder or the tiamat folder (inside the rootmyxoom folder). Whichever one has the same files from the 1.3.2 folder, copy and paste them over to that folder inside the rootmyxoom folder and you should be golden.
ive looked thru them all , i dont see any files in any of those folders that look like the ones that come in the zip
open up the tiamit files in the root my xoom folder and replace with whatever kernel you want to use. I did this three times with tiamit 1.3.0, and .1 and .2. You can try to just replace the entire file or go in and replace the indiviual files from within the tiamit kernel folder. Be careful though if you replace the wrong files or mix them up could be bad results, usually just no wifi or bootloops.
Oh by the way i always did all this on a windows based computer that way the files look the same or similar
grasshoxda said:
ive looked thru them all , i dont see any files in any of those folders that look like the ones that come in the zip
Click to expand...
Click to collapse
This works great, now if only there can be a similar app that installs themes
Wow, Kernel manager just solved my problem of flashing the new tiamat 1.4.0 kernel.
Was having issues in CWM, instead of pulling my hair out in testing it out via trial by error. Had a (status 0) error while flashing kernel in CWM.
It was resolved by using Kernel Manager!!!
Can't access link to download apk? Anyone have this problem?
Edit: got it downloaded
Sent from my Xoom using Tapatalk
worked great with 1.3 but as soon as i tried 1.4 it broke my wifi, gonna wait till next update and try again, dont like the 1click root method

Phone won't update to 2.3.4...not even manually

Okay, I'll keep it short and simple.
1. Got the phone and activated it. Running froyo
2. Rooted and installed CWM with the .bat one click file (I think it's the program MT wrote. It wasn't revotoolkit which I know is thecubed).
3. Realized I want to use gingervolt, so I need to update. I use the .bat file to un-root and go back to stock.
4. Try to manually push the OTA download through settings>about phone. Updates the phone to VS910ZV6 which is froyo 2.2.2
5. Try to update again (need gingerbread, which is VS910ZV7) and it keeps telling me "No new Software Update Available"
What gives? I'm thinking it may have something to do with the root? I also tried doing the manual update, you know the one floating around the internet using a .tot and LGNSP or whatever the acronym is, but Megaupload and Multiupload don't have the files anymore. Right now I'm downloading TheCubed's stock shipping rom and see if I can install it and get the update to go through.
Is there any fix that someone might know of? I ask because I've read several topics where people say they went down to stock shipping rom but they still couldn't update to gingerbread...then the topics just stop. Obviously they found their answer, so I'm hoping someone will share. I NEED TEH GINGERBREAD.
Thanks for all the help!
I had the same problem,
I was able to directly push GB using this method
http://forum.xda-developers.com/showthread.php?t=1337386
use the VS910ZV7.tot, that's the latest stock.
I found that post and I would LOVE to do it, but all the files are gone. Click a link, all of them say "file is no longer available".
file serve .tot links gone
Juggernuts said:
I found that post and I would LOVE to do it, but all the files are gone. Click a link, all of them say "file is no longer available".
Click to expand...
Click to collapse
I have the same problem all the .tot files on file serve are no longer there please please give a different link or if you already have the file can you email it to me at [email protected] thank you in advance.
Ok here's what I've done so far---
Followed the instructions to set it back to the stock rom-
http://forum.xda-developers.com/showthread.php?t=1129117
Now My build version is VS910ZV4 and my software version is VS910ZV6
O_O
Can it change the build version without changing the software?????
Tried to update, no avail. Nothing happens, I just get the "no software available" crap. Shouldn't it atleast try to update the build version? and is there a reason why it changed my build version to V4 but not my software?
Read the last few pages of the thread. I posted a link for the V7 Gingerbread .tot file that is linked to my dropbox account. I also posted a link somewhere around here for the LGPNST. I'll try to find the links.
V7 Gingerbread .tot file:
http://db.tt/EA5OuXTu
LGPNST:
http://dl.dropbox.com/u/54918541/LGPNST (LG Revolution).zip
Downloading the .tot now. Crossing my fingers that someone finds the LGNSP file!
Juggernuts said:
Downloading the .tot now. Crossing my fingers that someone finds the LGNSP file!
Click to expand...
Click to collapse
I posted the link just below the .tot file link.
Sent from my Dread Ginger Revo using Tapatalk.
spc_hicks09 said:
I posted the link just below the .tot file link.
Sent from my Dread Ginger Revo using Tapatalk.
Click to expand...
Click to collapse
Oh hell...Did you edit that or am I just an idiot? O_O Either way thanks!!!
I'll let everyone know how it goes.
1. Get the LGNPST Package with the GenericModels and Components Plug-In.
http://www.multiupload.com/UT7I7O2MNZ
2. Get the driver for the phone and install it
http://www.multiupload.com/QELZ4SJ5U4
3. Get the Stock Rom TOT file and extract it.
POSTED ABOVE
4. Get the DLL file specifically for the Revolution
http://www.multiupload.com/0AJEFUHVID
5. Extract the "LGNPST Store & Lab"
I have everything but number 4. What do I do about the DLL, is this something I need?
Juggernuts said:
1. Get the LGNPST Package with the GenericModels and Components Plug-In.
http://www.multiupload.com/UT7I7O2MNZ
2. Get the driver for the phone and install it
http://www.multiupload.com/QELZ4SJ5U4
3. Get the Stock Rom TOT file and extract it.
POSTED ABOVE
4. Get the DLL file specifically for the Revolution
http://www.multiupload.com/0AJEFUHVID
5. Extract the "LGNPST Store & Lab"
I have everything but number 4. What do I do about the DLL, is this something I need?
Click to expand...
Click to collapse
Yeah that DLL is a must have. I have it at home and would be able to upload it but not for a couple hours cuz I'm at work. You can try Google but I can't promise that you'll find it.
Sent from my Dread Ginger Revo using Tapatalk.
Thanks so much you've been a lifesaver...If you upload that, I'll do anything. I'd even help start dev'ing again
Thanks!!
EDIT: I found this, will it work, or is that only for v4?
http://forum.xda-developers.com/showpost.php?p=14850289&postcount=19
May have to upload it anyways...When I try to open it with 7zip I get "main package name is missing" -_-
Juggernuts said:
May have to upload it anyways...When I try to open it with 7zip I get "main package name is missing" -_-
Click to expand...
Click to collapse
Not a problem, expect it uploaded in about 1 hour.
that dropbox link for the .tot file isnt working it keeps sending firefox into foce close any ideas the other one works fine the lgnps file
luke614567 said:
that dropbox link for the .tot file isnt working it keeps sending firefox into foce close any ideas the other one works fine the lgnps file
Click to expand...
Click to collapse
It may just be an issue with Firefox. Juggernuts was able to download it without issue.
spc_hicks09 said:
It may just be an issue with Firefox. Juggernuts was able to download it without issue.
Click to expand...
Click to collapse
ok so i got started with internet explorer quick question how big is the .tot file??? and then is the dll specific or is it universal with v7?
Three things:
1. I was able to open up that .dll with 7zip. if you right click and try to open with 7zip it wont work. Open 7zip and navigate to the zip, then extract it.
2. You'll have to download the .tot (and possibly the .dll) under IE. The .tot file is 637 megs.
3. The .DLL seems to be universal. Once you open it with 7zip it's the exact same size of the link he gave. I'm 53% into the upgrade so I'll let you know if everything went ok.
EDIT: added a third
Everything worked. Installing Gingervolt 1.3!!!!
luke614567 said:
ok so i got started with internet explorer quick question how big is the .tot file??? and then is the dll specific or is it universal with v7?
Click to expand...
Click to collapse
VS910.DLL:
http://dl.dropbox.com/u/54918541/VS910.dll

Categories

Resources