[Q] Customising a custom ROM - Wildfire General

OK, finally decided to pass on to a custom ROM, and the choice fell on sunaabh 1.1
Now the question is, I downloaded the ROM and I see it's a standard zip file. Is it possible to further customize it by removing/substituting/adding/updating files in the correct folders, and then flash it normally?
As an example, update the hosts file, removing the useless HTC apps, preinstalling titanium or any other app I like?
If it is possible, should I unzip the ROM, do my things, and zip it back, or does it require anything special?
Thanks in advance!

Veon11 said:
If it is possible, should I unzip the ROM, do my things, and zip it back, or does it require anything special?
Click to expand...
Click to collapse
Yes, it should be as simple as that. Most likely you do not need to re-sign the rom.zip since you're already using a custom recovery (assuming you have rooted your phone), but I signed mine anyway, so I didn't get to confirm it myself. Good luck and have fun!

Veon11 said:
OK, finally decided to pass on to a custom ROM, and the choice fell on sunaabh 1.1
Now the question is, I downloaded the ROM and I see it's a standard zip file. Is it possible to further customize it by removing/substituting/adding/updating files in the correct folders, and then flash it normally?
As an example, update the hosts file, removing the useless HTC apps, preinstalling titanium or any other app I like?
If it is possible, should I unzip the ROM, do my things, and zip it back, or does it require anything special?
Thanks in advance!
Click to expand...
Click to collapse
You can do exactly that. Open it up, mess around, making sure everything stays in the correct folder, zip it back up, and you're done. No need to sign if you're on Clockworkmod recovery.

Related

How do i remove apk's out of a rom???

i'm trying to build a rom (credits will be giving) and i'm trying to strip out apks out of the rom so when you flash it you won't have all the go to the comandprompt and do it...
also how do i add apk's to the rom....
once i get this info i can release this unstable rom clueless me is trying to make.
http://forum.xda-developers.com/showthread.php?t=581976&highlight=apps+safe+remove
i know how to do that.
i mean from an alredy built rom. i have a rom that i would like to strip some stuff out of completely. and i can tell you know it's alot of steps. it's easy just time consuming.
i would also like to say that it is very very very fast. i don't mean fast as in "it's ok" i mean fast as in "oh **** it's fast" i would like to share it with everyone but i don't want them to go threw all the steps i had to go threw.
There, I cannot help you, sorry. I flashed the ROM I wanted and tore out what I didn't want after. I've never built my own.
The kitchen doenst allow you to adb pull apk's or adb push apk's?
4SidedDie said:
The kitchen doenst allow you to adb pull apk's or adb push apk's?
Click to expand...
Click to collapse
fresh kitchen lets you pull apks and delete afterwards if you choose.
i thought it doesn't work with 2.1???
Check your ROM thread -- I created an update.zip file for you that will take care of exactly what you want to do.
All anyone has to do is copy the file I created to the SD Card and flash. It will remove all the apps you've listed in your ROM thread. Enjoy.

[Q] Does Rom Manager do me any good?

I installed unrevoked 3 to root my phone and then downloaded Rom Manager. Rom Manager wants to install ClockworkMod Recovery, but it already got installed with unrevoked. Should I let it reinstall it? Is there any reason for me to use Rom Manager on my phone if I have unrevoked 3 rooting?
Unrevoked 3 gives you clockworkmod so you can flash a new ROM. After flashing a Rom, clockwork goes away. ROM Manager gives you access to clockwork at all times. Also, you can download and flash CM6 from it. I shouldn't even have to mention the fact that it keeps track of all your nandoid back-ups. So really, how many times will you be changing ROMs, and how many back-ups will you have? If you flash ROMs alot, keep ROM Manager. Otherwise, you might not need it.
Hope it helps ~ Pete
PiratePetey said:
Unrevoked 3 gives you clockworkmod so you can flash a new ROM. After flashing a Rom, clockwork goes away. ROM Manager gives you access to clockwork at all times. Also, you can download and flash CM6 from it. I shouldn't even have to mention the fact that it keeps track of all your nandoid back-ups. So really, how many times will you be changing ROMs, and how many back-ups will you have? If you flash ROMs alot, keep ROM Manager. Otherwise, you might not need it.
Hope it helps ~ Pete
Click to expand...
Click to collapse
Clockwork does not "go away" after flashing with Unrevoked once you've flashed a ROM. It replaces stock recovery.
Yea, I actually agree because I just used Clockworkmod to flash CM6 without using RomManager at all. I even made my backup with Clockworkmod - not RomManager. I fail to see why I need RomManager at all and again I'm looking for advice as to what it does that I can't do with clockworkmod directly (backup, flash rom, unmount, etc.)
Does ROM Manager Do Me Any Good?
echodun said:
I installed unrevoked 3 to root my phone and then downloaded Rom Manager. Rom Manager wants to install ClockworkMod Recovery, but it already got installed with unrevoked. Should I let it reinstall it? Is there any reason for me to use Rom Manager on my phone if I have unrevoked 3 rooting?
Click to expand...
Click to collapse
This reflects my opinion only:
I installed ROM manager, and yes it does have some pretty cool features that can be run from a single screen. Like you, I noticed that it immediately wanted to install clockwork Mod, the exact same version I was already running. I noticed after installing it that it also self installed multiple files and folders. My concern is purely from a security perspective. The icon for the app itself speaks volumes to me! After uninstalling it, I noticed that several files and a folder with an app called download.apk remained on the phone. Along with several other files and folders in the clockwork folder.
Personally, I would be very reluctant to make any credit card purchases or do any smartphone banking after installing this app. I re-rooted and re-flashed my ROM, including re-formatting the SD partition and extended partition, all cache, and wiped the phone to make sure I eliminated every element of ROM manager.
I have found that I can do almost everything through ClockworkMod, but I have to manually download anything I want to flash first.
Again, this reflects my opinion and preferences.
echodun said:
Yea, I actually agree because I just used Clockworkmod to flash CM6 without using RomManager at all. I even made my backup with Clockworkmod - not RomManager. I fail to see why I need RomManager at all and again I'm looking for advice as to what it does that I can't do with clockworkmod directly (backup, flash rom, unmount, etc.)
Click to expand...
Click to collapse
Theres nothing you can do with rom manager that you can't do manually with clockwork or terminal emulator. Clockwork just makes doing those things more convenient. I always flash roms and do nandroids via clockwork and I don't use the other features enough to make rom manager useful for me.
I only use ROM Manager for the fix permissions option.
i also think you can rename your backups with ROM Manager, but i still dont use it.
How would we do this otherwise? If i remember correctly, its not as simple as renaming the folder
It doesn't even give me the option to uninstall from the GUI. Did you have to remove it via command line or is there a better way?
Typing fix_permissions into terminal emulator will rum fix permissions.
dexmix said:
i also think you can rename your backups with ROM Manager, but i still dont use it.
How would we do this otherwise? If i remember correctly, its not as simple as renaming the folder
Click to expand...
Click to collapse
You can mount your sd card as storage and rename then with your computer. You can also do it via astro or some other file manager on your phone.
Jimmeh83 said:
It doesn't even give me the option to uninstall from the GUI. Did you have to remove it via command line or is there a better way?
Click to expand...
Click to collapse
What I do is delete the apps I don't want before I install the rom. Just unzip it, go into the apps folder and delete the apps you don't want and then rezip it all. You can do this on your computer our with astro. Otherwise you have to use cmd prompts.
What I do is delete the apps I don't want before I install the rom. Just unzip it, go into the apps folder and delete the apps you don't want and then rezip it all. You can do this on your computer our with astro. Otherwise you have to use cmd prompts.
Click to expand...
Click to collapse
Righto, thanks.
CallMeAria said:
What I do is delete the apps I don't want before I install the rom. Just unzip it, go into the apps folder and delete the apps you don't want and then rezip it all. You can do this on your computer our with astro. Otherwise you have to use cmd prompts.
Click to expand...
Click to collapse
Nice! If I'd have known it was that easy, I would have been doing that all along. So will this work both ways, could I just as easily add an APK that I wanted?
armyengineer51 said:
Nice! If I'd have known it was that easy, I would have been doing that all along. So will this work both ways, could I just as easily add an APK that I wanted?
Click to expand...
Click to collapse
Yep you just paste the .apk's into the /system/app folder before you re-zip the rom. I have a couple apps that I add before I install a rom.
CallMeAria said:
Yep you just paste the .apk's into the /system/app folder before you re-zip the rom. I have a couple apps that I add before I install a rom.
Click to expand...
Click to collapse
Fan-freakin-tastic, thanks for that little tidbit!

Prepackaged Zips for on the go flashing

As someone who came from a Nexus One, I prefer to flash on the go. I usually take a Zip I have on my phone with ua_redbend in it, edit the update script on the go and drop the appropriate Modem.bin or zImage into it. But for those who haven't done this on the go, all you'll have to do is unpack the tar file most people upload, drop it in the respective ZIP file below using an appropriate program on your phone (unrar, astrozip, astro file manager for a few) and use Clockwork to flash on the go...
Of course, I am not liable for any misflashing that may occur, I just thought that this would help out on the go...
The folder to drop your respective file into will be the kernel_update folder.
Enjoy guys! And flash on the go Go GO!
Edit: Works as well with Infuse. It saved my Bacon when making my 1.0 Infusion so that I could reupload it quickly.
I just download the files to my computer that are flashable with clock and copy them all onto my sd and flash while i drive lol
Sent from my SAMSUNG-SGH-I897 using XDA App
That works too. I just thought that everyone would love to have these.... I love being able to flash anything anytime without sitting down at my computer.
Thanks bedwa, ive been looking for a method like this! All I ever really have to use my ext. Sd for is priority files and a handful of things for post-flash care such as my ever-so-loved launcher 2 apk, setiron's kernel, and a few others so when I help someone flash I put my sd in there phone and install the basics.
So I just drop zimage in w/ no edit?
I appreciate it. Thanks.
Sent from my SAMSUNG-SGH-I897 using XDA App
Flash a z4 kernel and you are kind of stuffed lol. Well it's more of a nandroid and ROMs on the internal SD on my side of the world.
tiger4j said:
Thanks bedwa, ive been looking for a method like this! All I ever really have to use my ext. Sd for is priority files and a handful of things for post-flash care such as my ever-so-loved launcher 2 apk, setiron's kernel, and a few others so when I help someone flash I put my sd in there phone and install the basics.
So I just drop zimage in w/ no edit?
I appreciate it. Thanks.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Download the respective zip and drop it in the "kernel_update" folder in the zip. No other work needed..... I just wanted to make it quicker for others to do this on the go....
so is there a way for this method to restore my captivate back to JF6? i'm on a mac and don't have access to windows all the time, so one click back to JF6 isn't a common option for me
Thats a bit trickier.... I would assume that you could redbend the whole thing, but you would need ALL the partitions and all the proper locations. Though it may be easier with hiemdal.....
lolgrec said:
so is there a way for this method to restore my captivate back to JF6? i'm on a mac and don't have access to windows all the time, so one click back to JF6 isn't a common option for me
Click to expand...
Click to collapse
Idk about JF6 but I've been using the stock OTA UCJH7 as my jump-off for flashing ROMs. I always do it through CWR and (as long as I remember to disable lagfixes) I've never had a problem.
Made my phone a damn good brick by forgetting to disable the lagfix and trying to flash back to stock, but as long as you're not as dumb as me you shouldn't have a problem.
When I first got the phone I spent hours trying to get my computer to recognize it in download mode before eventually coming to the conclusion that I was having hardware problems in my USB ports. I've only ever used Odin to go to stock *once* and I did it on a friend's laptop. So, figure that you and I have about the same access to Odin. I feel pretty confident with this on-the-go method of returning to stock and flashing.
Edit:
Also, now that I think about it, you can probably find a stock JF6 update.zip to be used with CWR. You may even find it somewhere linked to that thread that I posted.
This seems very interesting.
I came from the HTC Legend background and i was always flashing on the go then. I bricked the Cappy when i tried flashing on the go (as i was so used to on the legend).
However, looking at your files, i really have NO IDEA how to use this.
Could you post a step by step guide as to how to use this?
Would be great if you could dummy proof this so users like me won't mis-flash.
At the moment, i'm looking at your files, and i have no idea what order of flashing should another custom rom be.
However, i can only assume that these files are flashed BEFORE the custom ROM?
As in -> recovery -> Kernel & modem -> Custom Rom.
In this order?
These aren't flashable update.zips they're just guts to insert into a pre-made update.zip.
As far as on-the-go flashing with a Captivate... it's the only way to fly ;D
Still confused on how to use this
so the kernel is the zimage file in the update folder, is that correct? and the modem is the modem.bin? those are the files I would need to replace
wvumaniac79 said:
Still confused on how to use this
Click to expand...
Click to collapse
I think I've got it. So i drop the zimage inside the kernel_update folder and leave the redband thing?
I would very much like to try this but am a bit confuzzled Can I download and flash or do I have to do some adding and things. I"m under the impression that I have to mod some more after I download these... would be quite nice to have these w/ the stock zimage or whatever already in the zip...that's just me..mostly because I'm at work and would really like to reflash a rom right now.
Someone please post a step-by-step guide to using this please...
Am confused and without help right now...
Thanks
i agree a step by step would be great
+1 for a step by step!!!

Pimp my rom rescue

I've looked all over but can't find a rescue.zip for pimp my rom. I didn't mess my device up, I just want a backup in case. There IS one in my SD card but it won't flash.
So, does anyone have a working rescue.zip?
(YES, I know I'm an idiot for not backing it up)
Why don't you just make a backup in TWRP or CWM?
peneoark said:
Why don't you just make a backup in TWRP or CWM?
Click to expand...
Click to collapse
Because I need to have it as it was, which I don't
So I need someone with an unpimped nexus 7 to download it, back up a rescue package and upload it here so I can download it.
Make a backup of your current ROM.
Install the factory ROM and root it.
Make a backup of that.
Restore your current ROM from the backup in the first step.
Get a copy of both of 'em off the tablet someplace safe.
Easy-peasy.
bftb0 said:
Make a backup of your current ROM.
Install the factory ROM and root it.
Make a backup of that.
Restore your current ROM from the backup in the first step.
Get a copy of both of 'em off the tablet someplace safe.
Easy-peasy.
Click to expand...
Click to collapse
The rescue pack is not avaliable at the moment. It will be very simple to fix problems by that way, but the pimpmyrom apk has a button to revert changes but doesnt work if you fail in a bootloop.
Regards
Pimp my rom beta rescue package
Hey now,
Go to this link & download the rescue package I tweaked. Make sure you create a Rescue zip using the Pimp My Rom Beta.apk (Thanks to Androguide. You Rock Dude) and name that one Resuce(1).zip. Extract my Rescue.zip and make sure you switch the build.props out (You can add whatever build.prop mod you want to it) by Opening the Rescue(1).zip and dragging the file to the extracted Rescue.zip. Make sure you open the rm.sh and change the scripts that correspond to your init.d folder using notepad. Last thing go into sys/cpu/scaling_freq and change those numbers to your numbers or you can deleted that folder all together just make sure you delete (extract sys/cpu.....) out of the updater script. Rezip it and it's ready to flash. Hope that didn't confuse you. Yeah you right!
BadBrainsEddie
New Orleans, LA
http://www.mediafire.com/?c3rzl9pxssvz62m

Titanium backup issue

I'm trying to create an 'update.zip' file to flash after installing a new rom. The problem is, it doesn't actually create a zip file. It just duplicates every file in the backup folder.
Any ideas?
wvcadle said:
I'm trying to create an 'update.zip' file to flash after installing a new rom. The problem is, it doesn't actually create a zip file. It just duplicates every file in the backup folder.
Any ideas?
Click to expand...
Click to collapse
I just created a zip file containing the apk to be flashed in recovery. Is that what you are doing? Go to menu and head to Special Fetures to create an update.zip of the tb apk that's flashable.
kpjimmy said:
I just created a zip file containing the apk to be flashed in recovery. Is that what you are doing? Go to menu and head to Special Fetures to create an update.zip of the tb apk that's flashable.
Click to expand...
Click to collapse
I apologize. I should've clarified. I'm trying to create an update.zip file that contains all of my backed up apps, via Menu/Batch actions, under Recovery mode. It's narrative says, 'Create "update.zip" from app+data backups'. I assumed this would do what I was thinking it would do.
wvcadle said:
I apologize. I should've clarified. I'm trying to create an update.zip file that contains all of my backed up apps, via Menu/Batch actions, under Recovery mode. It's narrative says, 'Create "update.zip" from app+data backups'. I assumed this would do what I was thinking it would do.
Click to expand...
Click to collapse
Yes that is what it does. So you are saying when you are running that command, a series of additional file folders?
kpjimmy said:
Yes that is what it does. So you are saying when you are running that command, a series of additional file folders?
Click to expand...
Click to collapse
Let's call it a bit of confusion on my part. Not necessarily unwarranted though, because it places both update.zip files outside of the TB folder. Since everything I've had it back up to this point was dumped in the TB folder, I never thought to look elsewhere.
As for the extra files... let's chalk that up to me seeing things?
[click] Thanks for the responses.
wvcadle said:
Let's call it a bit of confusion on my part. Not necessarily unwarranted though, because it places both update.zip files outside of the TB folder. Since everything I've had it back up to this point was dumped in the TB folder, I never thought to look elsewhere.
As for the extra files... let's chalk that up to me seeing things?
[click] Thanks for the responses.
Click to expand...
Click to collapse
Ah...yes you are correct. Both instances will create an "update.zip" on the 'sd card' of the phone outside of TB. What I do is edit the name to something like appsupdate.zip for the apps and left the other update.zip alone.
kpjimmy said:
Ah...yes you are correct. Both instances will create an "update.zip" on the 'sd card' of the phone outside of TB. What I do is edit the name to something like appsupdate.zip for the apps and left the other update.zip alone.
Click to expand...
Click to collapse
Have you ever flashed your apps zip in recovery? If so, did everything go well?
wvcadle said:
Have you ever flashed your apps zip in recovery? If so, did everything go well?
Click to expand...
Click to collapse
I attempted it a few days ago when coming from 4.2.2 to 4.3. It didn't go very well lol. It would flash the appsupdate.zip, lets say, and I see the apps get flashed, but, my recovery would reboot the phone. Bottom line it didn't work for me at that time. I'll try it after lunch to see how it functions when I have root and the phone is happy and stable lol.
What I did was just download TB from the play store and restored my apps from my backup folder once I got root again.
kpjimmy said:
I attempted it a few days ago when coming from 4.2.2 to 4.3. It didn't go very well lol. It would flash the appsupdate.zip, lets say, and I see the apps get flashed, but, my recovery would reboot the phone. Bottom line it didn't work for me at that time. I'll try it after lunch to see how it functions when I have root and the phone is happy and stable lol.
What I did was just download TB from the play store and restored my apps from my backup folder once I got root again.
Click to expand...
Click to collapse
It threw me for a loop when moving from 4.2 to 4.3, due to having to change it to /legacy/. Think this had anything to do with it, or no, since you were in recovery?
wvcadle said:
It threw me for a loop when moving from 4.2 to 4.3, due to having to change it to /legacy/. Think this had anything to do with it, or no, since you were in recovery?
Click to expand...
Click to collapse
Maybe, not sure. I'm going into recovery now. Looks like everything is installing currently. When I did this last time. It tried flashing and booted up without a prompt. It does auto boot up after flashing btw.
Booting up.....
looks good!
kpjimmy said:
Maybe, not sure. I'm going into recovery now. Looks like everything is installing currently. When I did this last time. It tried flashing and booted up without a prompt. It does auto boot up after flashing btw.
Booting up.....
looks good!
Click to expand...
Click to collapse
Great! Glad to see something work as it's supposed to. Of course, TB is solid, with a solid development team, so it should!

Categories

Resources