Re-signing rom? - Samsung Epic 4G Touch

If I delete some unwanted APK's from the rom before flashing, do I need to re-sign the rom? Thanks in advance!
- Z

zzelinka said:
If I delete some unwanted APK's from the rom before flashing, do I need to re-sign the rom? Thanks in advance!
- Z
Click to expand...
Click to collapse
umm depends.. are u usin 7zip? also windows are ubuntu? either way just try it and if it doesnt work then toggle the signature thingy in clockwork, and you can use this to resign
http://forum.xda-developers.com/showthread.php?t=633246

You can also extract the Rom on your phone with Root Explorer or the equivalent, then go in and make your changes, then simply delete the two "cert" files, and the "manifest" file that are in the "Metainfo" folder.
Re-zip it using Root Explorer, and you'll be good to go.
(Of course, you'll have to have the unsigned zips allowed thing toggled in whichever recovery you're using...but this works the easiest, IMHO.)
Sent from my SPH-D710 using xda premium

Thanks for all the responses! I use Calkulin's ROM, but still way too many apps on first boot. I hate going through TB and deleting all the unnecessary and unwanted apps. I'll try it and get back to y'all. Probably on the next update of Calkulin though...
-Z

Just open in 7zip, remove what you want, and flash.

BigJPNut said:
Just open in 7zip, remove what you want, and flash.
Click to expand...
Click to collapse
This is correct. Simple and easy and doesn't jack up anything up.

Related

rom editing question

so basically i have flashed cm6 on my incredible and a theme and i want to know if there is a way i can make a rom of what i have on my phone now of if i can combine the zips to make a working rom i can further edit. i have a rom kitchen set up and i am still trying to learn all the in's and out's of it.
undeclared said:
so basically i have flashed cm6 on my incredible and a theme and i want to know if there is a way i can make a rom of what i have on my phone now of if i can combine the zips to make a working rom i can further edit. i have a rom kitchen set up and i am still trying to learn all the in's and out's of it.
Click to expand...
Click to collapse
I would say that is what alot of people are doing right now with incredible rom's.....that is why people are releasing patches and fixes after seeing them working in other roms.
......I have a rather easy question that applies to this subject also....
before loading a rom to my phone, can i go into the zip file and remove some 3rd party app apk files that i don't want before running it and will it still be ok ?
JustinD,
U can not just unzip it change things and rezip. It needs a signiture. Use the basic htc kitchen that's posted in chef central, it will unzip it into a working folder allowing u to change things at your will, u also use the kitchen to rezip and sign.
Sent from my ADR6300 using XDA App
tcberg2010 said:
JustinD,
U can not just unzip it change things and rezip. It needs a signiture. Use the basic htc kitchen that's posted in chef central, it will unzip it into a working folder allowing u to change things at your will, u also use the kitchen to rezip and sign.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Excellent. Thank you. I figured it wasn't as simple as I put it, but I just wanted to make sure before I did something stupid.
Or use 7zip to manipulate files in the archive without even having to unzip it.
Sent from my Incredible using XDA App
mini_monsta said:
Or use 7zip to manipulate files in the archive without even having to unzip it.
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
No. Changing even 1 byte will change the signature needed. You need to use the kitchen so you can resign the ROM and flash it.
Even if u did just unzip, rezip, and flash it would just throw back an invalid signature error and return u to recovery menu. No real harm done.
Sent from my ADR6300 using XDA App
Clockwordmod has signature validation disabled by default. So it will still flash if you change a kb or remove an app.

Removing/unistalling Some HTC programs?

Hi i have a desire with the leeDroid Rom installed and wondered if i can unistall programs like friend stream,stocks (which i never use) with something like titanium Back up?
Is there a list of programs like this which is safe to remove?
andy46 said:
Hi i have a desire with the leeDroid Rom installed and wondered if i can unistall programs like friend stream,stocks (which i never use) with something like titanium Back up?
Is there a list of programs like this which is safe to remove?
Click to expand...
Click to collapse
The latest version of Titanium Backup will colour the system apps red, so you know what you're getting into.
Avoid apps that you can't see on the apps drawer and it should be fine.
You can delete these programs from system/app in the rom zip file before you flash it.
Sent from my HTC Desire using XDA App
Before removing anything form Leedroid look at the wiki to see which apps can be removed safely. You can delete apps that are not on the list but if you run i to issues you know why.
do i do this on the phone or on my pc? any special software needed?
thanks in advance
Yes.
To delete the apps from the zip you need special software like winzip or winrar, high tech stuff.
Just go to he /system/app/ directory and remove what you don't want and know it's safe.
And for example, if you want to make your life harder use ADB via recovery.
There are other methods too, if you are not satisfied with the zip editing.
3722 said:
Yes.
To delete the apps from the zip you need special software like winzip or winrar, high tech stuff.
Just go to he /system/app/ directory and remove what you don't want and know it's safe.
And for example, if you want to make your life harder use ADB via recovery.
There are other methods too, if you are not satisfied with the zip editing.
Click to expand...
Click to collapse
Ok cool. I had never opened rom's zip file before, didn't realise I could 'play ' with it like that
Will experiment later, after a back up!
Sent from my HTC Desire using XDA App
andy46 said:
Ok cool. I had never opened rom's zip file before, didn't realise I could 'play ' with it like that
Will experiment later, after a back up!
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
I'm not sure if it's the best practice, but I always trim my zip files without actually unzipping them (right click unzip).
You actually have an alternative if you're already installed and suddenly feel to lazy to wipe your phone. Get titanium, then go to the list of apps, long press, then choose "force remove app".
Although I'm not sure if it will cause any conflicts with your ROM.
Safety first!
I've been using this tutorial for removing stock apps.. works perfectly..

[ASK] [Needed] all default aplication pleasee...

hey,is there anyone have all galaxy y stock rom apps such like the messaging,the gallery,contacts,mail,etc??
i'm using custom rom,i like all the features....
but i prefer all the default aplication,because in my custom rom all the default apps like message,gallery,etc have canged (the icon,and some the contain)..
can anyone gave me??
Flash stock ROM, use Titanium Backup to backup all System apps and restore them in your custom ROM. Titanium Backup is your answer.
well,i've use TB..
but i dunno what the name of aplication to be restored
I might be wrong but I think you can't backup odexed system apps with TB. It just never restores. o-o
Wait uploading.
Silvane said:
I might be wrong but I think you can't backup odexed system apps with TB. It just never restores. o-o
Wait uploading.
Click to expand...
Click to collapse
You Are Correct Silvane, Only way to reinstall app is to push it via adb, or flash it, or include it in the zip file of the custom rom you will be using
Pushing them to system with root explorer apps work though.
http://www.mediafire.com/?n7zvde3715ru3kr
These are all deodexed stock apk's. I wasn't sure which apk's you needed so I just dumped them all in. No stock email apk btw. Just gmail.
Silvane said:
Pushing them to system with root explorer apps work though.
http://www.mediafire.com/?n7zvde3715ru3kr
These are all deodexed stock apk's. I wasn't sure which apk's you needed so I just dumped them all in. No stock email apk btw. Just gmail.
Click to expand...
Click to collapse
well,i'm okay with no stock email apk
what's inside actually? apk.s? or zip?
but,how to use this files(s)?
pushing them with root explorer?
or flash via cwm?
sorry for bothering you guys with dumb-noob question..
i'll download it later,when i've free time (because i'm still schoolar)
ronnieryan said:
You Are Correct Silvane, Only way to reinstall app is to push it via adb, or flash it, or include it in the zip file of the custom rom you will be using
Click to expand...
Click to collapse
flash it? did you mean with cwm? or odin? (i heven't any experience with odin )
include that? how???
No you don't flash it. It's just a bunch of apk's in a zip file. Copy/paste the apk's you need to system/app then change permissions to rw-r--r-- then reboot.
Sent from my GT-S5360 using xda premium
Silvane said:
No you don't flash it. It's just a bunch of apk's in a zip file. Copy/paste the apk's you need to system/app then change permissions to rw-r--r-- then reboot.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
well,thanks silvane!
*thanks button pressed

How to combine multiple .zips into 1 flashable .zip?

I have multiple .zips that I flash for inverted gapps and I was wondering was there anyway I could combine them into one flashable .zip file so I don't have to flash each one individually. I suspect it would take more than just putting all the .zips into one .zip, right?
Also, I'm on a mac. I can access a windows computer if necessary but it would be nice to do it all from my mac
Ngo93 said:
I suspect it would take more than just putting all the .zips into one .zip, right?
Click to expand...
Click to collapse
Not really, no. Just unzip all your files, organize them all together ignoring duplicates, then re-zip.
LordButtersI said:
Not really, no. Just unzip all your files, organize them all together ignoring duplicates, then re-zip.
Click to expand...
Click to collapse
When I unzip each .zip I get the folder that contains the data, META-INF and system folders inside. Where do I go from there? Do I compress all the separate folders into one .zip? I've never done this before so sorry for the seemingly obvious questions!
If they are all just apps from the system folder, simply take every apk out of each zip and place them in the system folder of one of the zips (using 7-zip) then flash it.
artvandelay440 said:
If they are all just apps from the system folder, simply take every apk out of each zip and place them in the system folder of one of the zips (using 7-zip) then flash it.
Click to expand...
Click to collapse
I was thinking that but I was also wondering if the other files inside contributed to each individual apps theming of some sort. But thanks for the tip! I will try that on my next ROM flash
Ngo93 said:
I was thinking that but I was also wondering if the other files inside contributed to each individual apps theming of some sort. But thanks for the tip! I will try that on my next ROM flash
Click to expand...
Click to collapse
The meta-inf folder tells it where to install and sets the proper permissions.
Sent from my Galaxy Nexus using Tapatalk 2
artvandelay440 said:
The meta-inf folder tells it where to install and sets the proper permissions.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Ah, thank you for clarifying
So, would it be possible to, in addition to customizing which apps load on flashing the "re-zipped" ROM, also add a kernel to be flashed along with the ROM all in one flash? Or would the kernel need to be baked into the from?
Sent from my Galaxy Nexus using xda premium
thenewguy821 said:
So, would it be possible to, in addition to customizing which apps load on flashing the "re-zipped" ROM, also add a kernel to be flashed along with the ROM all in one flash? Or would the kernel need to be baked into the from?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
In theory this would be possible, but it would be more complicated then flagging a few system apps.

[Q] HOW TO....

There are 2 points I need some help at.
1. Is there a possibility to remove (automatically) some apps after each ROM install? Even with a striped ROM, there are some apps that I don't need or I want replaced.
2. How can I make a pack of my personal apps that should be automatically installed (silent install, no confirmation for each app)?
okty2k said:
There are 2 points I need some help at.
1. Is there a possibility to remove (automatically) some apps after each ROM install? Even with a striped ROM, there are some apps that I don't need or I want replaced.
2. How can I make a pack of my personal apps that should be automatically installed (silent install, no confirmation for each app)?
Click to expand...
Click to collapse
I dont think there is.. if you really wanna do that you gotta run some sort of script through terminal or something..
Sent from my Xperia Pro using XDA
1: u can manually delete them with root explorer
2: either with titanium backup or make a zip and flash through recovery
You could also open the update.zip in WinZip remove the things you don't want and drag the files or .apk into it.
Sent from my LT18i using XDA
arpith.fbi said:
1: u can manually delete them with root explorer
2: either with titanium backup or make a zip and flash through recovery
Click to expand...
Click to collapse
smartarse93 said:
You could also open the update.zip in WinZip remove the things you don't want and drag the files or .apk into it.
Sent from my LT18i using XDA
Click to expand...
Click to collapse
thanks, guys.
I am thinking about trying that directly on the phone....
if I will do it, I will let you know...

Categories

Resources