I'm trying to edit some of the files in the ROM before flashing so I can have my defaults settings in place. I could do this just fine with EVO 4G ROM files, but when I try to open...say...build.prop, it says the archive is corrupt and that there are no files to extract. However, the ROM will flash onto my phone just fine.
Do I need a different version of WinRAR? Different program? Anyone else having that problem? Thanks for any answers.
Holyrolla said:
I'm trying to edit some of the files in the ROM before flashing so I can have my defaults settings in place. I could do this just fine with EVO 4G ROM files, but when I try to open...say...build.prop, it says the archive is corrupt and that there are no files to extract. However, the ROM will flash onto my phone just fine.
Do I need a different version of WinRAR? Different program? Anyone else having that problem? Thanks for any answers.
Click to expand...
Click to collapse
Update winRAR, or try 7zip. Redownload the file if you still get the error.
Maybe the ROM is signed that will keep you from making changes without extracting it first..
Id have to say use 7zip. Free app that's a 1000 x better for using when doing rom and theme building. IMO of course
Papa Smurf151 said:
Id have to say use 7zip. Free app that's a 1000 x better for using when doing rom and theme building. IMO of course
Click to expand...
Click to collapse
7zip does not care if the .zip is signed or not. Don't know if I would agree that its a 1000x better but thats just me. This is why I don't sign my ROMs anymore. Just encase someone wants to delete or add something before they flash.
zone23 said:
7zip does not care if the .zip is signed or not. Don't know if I would agree that its a 1000x better but thats just me. This is why I don't sign my ROMs anymore. Just encase someone wants to delete or add something before they flash.
Click to expand...
Click to collapse
It doesn't matter if a rom is signed or not. Its just a zip file. With 7zip u should be able to edit what ever you want. You won't be able to view any PNG files unless they are extracted but if you edit the rom or the apk it will usually break the signature which isn't a huge issue. You can always resign an apk or flash a rom without a signature. I can't stand win zip or winrar. They take forever and always have to extract crap. With 7zip its drag and drop and never an issue.
Thanks guys. I'll give 7-zip a try. That must mean that none of the EVO 4G roms I've ran (CM7 and MIUI) were ever signed...
Holyrolla said:
Thanks guys. I'll give 7-zip a try. That must mean that none of the EVO 4G roms I've ran (CM7 and MIUI) were ever signed...
Click to expand...
Click to collapse
Probably not most DEVs stopped signing ROMs a while ago.
Related
Hey all, Well i know we could not wait for a Honeycomb theme, i know i cannot, but heres my conundrum.
I have made a honeycomb keyboard, but cannot get it to install for the life of me, ive used the testkeys, shared, platform, etc (all using Signapktic from Stericson. Does anyone have any clue as to why it will not install?
A few questions that i know you might ask, answered ...
No, there is no other keyboard, other than swype, and samsung keypad..
I made it off of the GB keyboard...
Yes, I have made many of themes, many of changes to Frameworks, and have had sucess installing, and running my custom roms....
My question basically is this, IF POSSIBLE, CAN ANYONE SIGN THE FILES I HAVE TO MAKE THIS WORK? PM ME AND I SHALL SEND THE FILES. CREDIT WILL BE GIVIN, I AM ON THE OTHER HAND GOING TO NEED SOME SORT OF PROOF YOU KNOW WHAT YOUR DOING, I WORKED REAL HARD ON THIS, SO FOR RIGHT NOW ITS PRIVATE, HENSE THE PM.
THANKS AGAIN IN ADVANCE. REMEMBER .. LETS GET THIS HONEYTCOMB GOING
I know that most of the keyboards dont work simply by installing but rather need to be pushed to the data\app or data\app_s folder depending on which rom you are running. You can accomplish this using adb or using a file explorer like RootExplorer.
Thanks
Thank you man, this helps a whole lot. Now do i need to re-sign each apk inside the rom folder? or can i just re-sign the .zip?
georgegreco86 said:
Thank you man, this helps a whole lot. Now do i need to re-sign each apk inside the rom folder? or can i just re-sign the .zip?
Click to expand...
Click to collapse
I'm not sure what .zip you're refering to other than a CWM recovery flashable .zip for you keyboard. If this is what you mean, then use the same signiture (key) you'd find in any of the flashable .zips on the forums. In other words, just copy over the META-INF folder from some other .zip to yours. Of course, you'll want to make sure the update-script in this folder is pointing at the proper directories for installation.
For your apk, you should only need to sign it if you changed the AndroidManifest.xml. Otherwise, just keep the META-INF folder from them original apk.
anyone managed to cook something that will flash? uot is awesome ;-)
I was going to try something once the kitchen was back up and working again
Ill try to let you know once it is
Sent from my MB860 using XDA App
aaron.a said:
anyone managed to cook something that will flash? uot is awesome ;-)
Click to expand...
Click to collapse
Will flash fine. Just replace the update binary with the one from the ROM you have on your phone.
i have used it 6 times on the atrix, twice on kennethpens gb leak and 4 times using cherrypi.
follow the directions in the uot and all should be good. you will run into recovery error (Status 0) while flashing it so to save you some time there is a workaround in the uot how to section:
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the UOT zip (overriding UOT's file)
Click to expand...
Click to collapse
so yea unzip the uot file and replace the update-binary file in uot file with the one in your rom then zip it and flash should work like a charm. CaelanT said the same thing above but i just wanted to be clear.
using alien 4 i can't get it to work.
i've used the alien 4 theme files, and replace the update binary with the one found in that theme, and with the one found in the alien 4 rom. no luck..
i also used the files from the alien 4 rom, and replaced the update binary with the one in the rom. no luck..
every time i get error 0. this was the same issue on alien 2. never tried alien 3 but i assume it wouldn't be much different
aaron.a said:
using alien 4 i can't get it to work.
i've used the alien 4 theme files, and replace the update binary with the one found in that theme, and with the one found in the alien 4 rom. no luck..
i also used the files from the alien 4 rom, and replaced the update binary with the one in the rom. no luck..
every time i get error 0. this was the same issue on alien 2. never tried alien 3 but i assume it wouldn't be much different
Click to expand...
Click to collapse
upload the framework-res.apk and systemui.apk from the rom zip your on (build 4) create the theme, download it, unzip it and replace the update binary with your roms then rezip it and name it whatever you want. i have done this with at(honeycomb)rix rom that iam on with 3 different themes i have made and they all worked.
I've done exactly that 5 or 6 times.. am I missing something simple like one of the options to the left on the upload page..
How are you zipping the files up after changing the update binary?
Assimilated via WinBorg 4G
I just made one last night for the first time. I dis t unzip my file from UOT. I had unzipped the alien 4 rom to upload the frameworks so I just grabbed the updater file and put it where it goes via windows explorer... it worked without issue.
Sent from my MB860 using XDA Premium App
CaelanT said:
How are you zipping the files up after changing the update binary?
Assimilated via WinBorg 4G
Click to expand...
Click to collapse
i'm on ubuntu. the first time i just dragged the update binary into archive manager. then i tried unzipping the uot, replacing the update binary, then zipping the 4 folders by selecting them, and using right click>compress so it would look like the original archive. still error 0
aaron.a said:
i'm on ubuntu. the first time i just dragged the update binary into archive manager. then i tried unzipping the uot, replacing the update binary, then zipping the 4 folders by selecting them, and using right click>compress so it would look like the original archive. still error 0
Click to expand...
Click to collapse
Unzip
Replace update binary
Install 7-Zip
Select all files and right click them
From dropdown select 7-Zip > Add to archive
Set archive format to 'zip' and compression to 'store'
Click OK
<edit> Oh, wait.........I don't know Ubuntu. Is there a 7-zip version for this?
Doesn't look like it. The problem could be the way you are re-zipping the files.
well what i did is reflash the rom (alien 4) and not install the alien 4 theme. then i did exactly what the site says to do and it worked fine. so apparently trying to mod the alien theme, or overwrite the alien theme with uot framework just doesn't work. hell if i know why, nor do i care. it works! =D
Anyone have any idea why my battery icons didn't work? Everything else works... well acutually not the 5 bar signal bar and 4G icon but that's because they probably weren't in the icon set I picked. But I chose a rather stock looking battery icon with a different color scheme and it still shows up as green?
I'm running Alien4 without the theme, I even did Notach's 1% Battery Mod and no Carrier mod but when I re-applied my UOT theme it of course over-wrote it.
I assume I just need to use that systemui.apk and framework.res and then make my modifications?
I don't have enough posts yet to post in the Development Forum, but I have a small question.
There are some .apks in the .zip file for DroidTh3ory's new M0N0LITHTH3ORY ROM that I'm not going to use like AndExplorer and Terminal Emulator, can I delete these, and there are also some .apks from another ROM I'd like to add.
Is it safe to do this?
EchoX860 said:
I don't have enough posts yet to post in the Development Forum, but I have a small question.
There are some .apks in the .zip file for DroidTh3ory's new M0N0LITHTH3ORY ROM that I'm not going to use like AndExplorer and Terminal Emulator, can I delete these, and there are also some .apks from another ROM I'd like to add.
Is it safe to do this?
Click to expand...
Click to collapse
Good question...
kierandill said:
Good question...
Click to expand...
Click to collapse
Hmm, that's great! Except in the first line I said that I DON'T HAVE ENOUGH POSTS YET
Read next time!
EchoX860 said:
I don't have enough posts yet to post in the Development Forum, but I have a small question.
There are some .apks in the .zip file for DroidTh3ory's new M0N0LITHTH3ORY ROM that I'm not going to use like AndExplorer and Terminal Emulator, can I delete these, and there are also some .apks from another ROM I'd like to add.
Is it safe to do this?
Click to expand...
Click to collapse
You can delete those apks and add apks from something else, no problem. You will have to re-sign the zip before it becomes flashable again.
The easy way would be to flash monolith, and use something like titanium or root explorer to remove the system apps. To add apps to a running rom, you can drop the apk in /system/app, and change the permissions to match everything else. (XX_X__X__)
Thanks! I did it this way, Open both .Zips on my PC, delete the ones I don't want, and just click and drag from another ROM. I take it that's bad?
EchoX860 said:
Thanks! I did it this way, Open both .Zips on my PC, delete the ones I don't want, and just click and drag from another ROM. I take it that's bad?
Click to expand...
Click to collapse
That's fine if you didn't extract them and zip them back up. I open the zips with winrar or 7zip and swap them that way with no problems, sometimes if your replacing an app delete the one you are replacing before you drag and drop the new/themed version.
If you completely unzip and re-zip the file will need to be resigned to be able to flash. The way you describe will work no problem.
Some people aren't sure how to create a flashable zip. So here is a template zip file.
Instructions add your APK files to the appropriate directory within the zip.
ie framework-res.apk would go in system/framework/
SystemUI.apk would go in system/app/
Vigor_VZW_bootanimation.zip would go in system/customize/resource/
*You may need to create directories within the zip*
lol nice idea i have never thought about making one for people I forget people dont know how
This could be very useful for people who are new to theming and from development and who are still learning how to sign zips.
Nice work and good idea.
Sent from my ADR6425LVW using XDA App
ljbaumer said:
This could be very useful for people who are new to theming and from development and who are still learning how to sign zips.
Nice work and good idea.
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
Agreed. This is pretty sweet and actually an idea I was going to ask someone for once (I had no idea how to do these).
And MrSmith, now I can try to get all the boot anims updated with flashables also so that everyone will have different options. Thanks!!
Thanks for dropping this. Already have one, but this helps anyone trying to learn. You may have given the next big developer a good first tool. Congrats.....
Sent from my ADR6425LVW using Tapatalk
Thanks. I'll give this a go on cleanrom.
Sent from my ADR6425LVW using xda premium
Is this just the required directories for theming or does it include the ones required to make a flashable ROM?
ShaneMA said:
Is this just the required directories for theming or does it include the ones required to make a flashable ROM?
Click to expand...
Click to collapse
this is just a flashible zip only you will need to add your files to the right folders to make it theme
is there a list of the folders? for example what folders should i make to add ringtones to the ones that are already on my phone? how about notifications, wallpapers, etc.?
bal1985 said:
is there a list of the folders? for example what folders should i make to add ringtones to the ones that are already on my phone? how about notifications, wallpapers, etc.?
Click to expand...
Click to collapse
The three things you've listed are items that can be freely transferred via USB. This is more for theme elements and applications.
However to answer your question, stock ringtones and notifications are in /system/media/audio/ringtones and /system/media/audio/notifications . The stock wallpapers are stored in /system/customize/resource.
MrSmith317 said:
Some people aren't sure how to create a flashable zip. So here is a template zip file.
Instructions add your APK files to the appropriate directory within the zip.
ie framework-res.apk would go in system/framework/
SystemUI.apk would go in system/app/
Vigor_VZW_bootanimation.zip would go in system/customize/resource/
*You may need to create directories within the zip*
Click to expand...
Click to collapse
Good idea.. I have my own templates I use. Never thought to post.. kinda nervous that someone out there would brick their phone and blame me...been busy as hell past month, hopefully soon I'll get some time to port over some of my previous work over to the rezound, since now all the issues with compiling and decompiling have been figured out.. I got some catching up to do
Sent from my ADR6425LVW using Tapatalk
Mr. Smith,
So if I wanted to make a flashable zip of say the market apk or root explorer that I can keep on the root of my SD card so if for some reason the rom I flash is missing gapps. Would I just make a folder called data with a subfolder called app and then it would get installed in data app ? Then drop the apk within the app folder and resign using android signer ?
I just had that happen while trying to flash the anthrax kernel , for some reason I lost my market apk and since it was a fresh flash I had no access to a file explorer. So ended up googling the commands to adb push the market apk to system. It worked, but made me think if I had my own flashable market zip I could have just flashed that and been up and running easier .
mjh68 said:
Mr. Smith,
So if I wanted to make a flashable zip of say the market apk or root explorer that I can keep on the root of my SD card so if for some reason the rom I flash is missing gapps. Would I just make a folder called data with a subfolder called app and then it would get installed in data app ? Then drop the apk within the app folder and resign using android signer ?
I just had that happen while trying to flash the anthrax kernel , for some reason I lost my market apk and since it was a fresh flash I had no access to a file explorer. So ended up googling the commands to adb push the market apk to system. It worked, but made me think if I had my own flashable market zip I could have just flashed that and been up and running easier .
Click to expand...
Click to collapse
You got it. As long as you get the structure down right, flashing the zip will drop the files in the proper directory on your phone/device.
What about file permissions and owner? How do we set that in the zip (eg. if I need to flash a file to /system that requires permissions 644, owner 0/0.
Nighthound said:
What about file permissions and owner? How do we set that in the zip (eg. if I need to flash a file to /system that requires permissions 644, owner 0/0.
Click to expand...
Click to collapse
Android handles that. However you can edit the script : META-INF/com/google/android/updater-script to make whatever changes you need. So you could add a line: run_program("/sbin/busybox", "chmod", "644", "xxx_file");
MrSmith317 said:
Android handles that. However you can edit the script : META-INF/com/google/android/updater-script to make whatever changes you need. So you could add a line: run_program("/sbin/busybox", "chmod", "644", "xxx_file");
Click to expand...
Click to collapse
Ahh, I googled for edify scripts and found there is a set_perm command which does exactly what I need. Thanks!
Nighthound said:
Ahh, I googled for edify scripts and found there is a set_perm command which does exactly what I need. Thanks!
Click to expand...
Click to collapse
haha that too.
MrSmith317 said:
Come a day there won't be room for naughty men like us to slip about at all.
This job goes south, there well may not be another.
So here is us, on the raggedy edge. Don't push me, and I won't push you.
Dong le ma?
Click to expand...
Click to collapse
Shiny!
MrSmith317 said:
Some people aren't sure how to create a flashable zip. So here is a template zip file.
Instructions add your APK files to the appropriate directory within the zip.
ie framework-res.apk would go in system/framework/
SystemUI.apk would go in system/app/
Vigor_VZW_bootanimation.zip would go in system/customize/resource/
*You may need to create directories within the zip*
Click to expand...
Click to collapse
Quick Q. is it possible to create 1 flashable zip that would flash more than 1 file into different directories I.e a file into System/app and another in System/Framework ?
funnyangrykid said:
Quick Q. is it possible to create 1 flashable zip that would flash more than 1 file into different directories I.e a file into System/app and another in System/Framework ?
Click to expand...
Click to collapse
Yeah man, that's what this blank flashable zip does
You can put as many files in the 'app' or 'framework' folder and it will flash them all
Got question about adding apps to ROM.
Sooooo, can i just sign the apk and stuff it in ROM or do i have to put it in the ROM and sign the entire thing?
s3nt from my 3D wond3rland
gilbydakid said:
Got question about adding apps to ROM.
Sooooo, can i just sign the apk and stuff it in ROM or do i have to put it in the ROM and sign the entire thing?
s3nt from my 3D wond3rland
Click to expand...
Click to collapse
I'm not an expert or guru of any kind when it comes about building ROM's but I do know from my past in programming that the latter one might be the right answer to your issue.
Try adding the apk into the zipped rom file. You just open the zip to view contents (no extract) and place the apk files where they need to be. The zip will update and can then be flashed. I've been doing this with MeanRom replacing the htc music app with the one from CleanRom which has better sound enhancer options. Of course I'm just replacing an already existing apk in the Rom. It may be different if you're adding apps that aren't already present but it's worth a shot. Make sure to make a backup of your current set up first.
Looks like those apk files should be placed in yourromname/data/app. That's what I'm seeing in mean and clean roms
gonk24 said:
Try adding the apk into the zipped rom file. You just open the zip to view contents (no extract) and place the apk files where they need to be. The zip will update and can then be flashed. I've been doing this with MeanRom replacing the htc music app with the one from CleanRom which has better sound enhancer options. Of course I'm just replacing an already existing apk in the Rom. It may be different if you're adding apps that aren't already present but it's worth a shot. Make sure to make a backup of your current set up first.
Looks like those apk files should be placed in yourromname/data/app. That's what I'm seeing in mean and clean roms
Click to expand...
Click to collapse
If you decompile it you may need to sign it . I had issues in the past with things.
Sent from my PG86100 using xda premium