Modding ROM - G1 Android Development

Hi Guys,
I just wanna ask if you can mod a rom before the update.zip install to your own preferences.
Example you download HERO Batman ROM with its own dock,bar,bootscreen.
Then you open up the files you wanna change, example dock bar colour make it green then save it and then update the rom so that it will come in as you modded it.
Is that ok to do, or will the install of the update.zip fail if we play with the files from the downloaded rom?
Thanks in advance

you need to resign the zip-file after change

modding
Thanx bro`
I just think I will leave that alone, since "signing" isnt ringing a bell.
I done some research on the net and I see its a very delicate process.
So, before I mess up my phone I will leave it alone.
Thanx for the feedback!

it's not that delicate. check out the theme forum. loads of guides on how to resign a zip.

HI
bjehsus said:
it's not that delicate. check out the theme forum. loads of guides on how to resign a zip.
Click to expand...
Click to collapse
I swear I have done everything stericson tells in his how to.
Somehow I dont get the option RESIGN if I click on my mouse.
Maybe we dont understand eachother bcuz of my bad english.
Is it also good if I click on the map (with the files meta, framework, app etc.) and then make a new zip update file? Or is that bad shi*?

dizzydix said:
I swear I have done everything stericson tells in his how to.
Somehow I dont get the option RESIGN if I click on my mouse.
Maybe we dont understand eachother bcuz of my bad english.
Is it also good if I click on the map (with the files meta, framework, app etc.) and then make a new zip update file? Or is that bad shi*?
Click to expand...
Click to collapse
i think he means recreate the zip.. so you need to make the files/folders into 1 zip file.

OK
Ace42 said:
i think he means recreate the zip.. so you need to make the files/folders into 1 zip file.
Click to expand...
Click to collapse
OK, I just hope I wont F** up my phone.
Cheers

dizzydix said:
OK, I just hope I wont F** up my phone.
Cheers
Click to expand...
Click to collapse
You can't brick by flashing an ROM. Worst that will happen is that the phone won't boot, in that case go to recovery, wipe and flash a ROM. That's it.

Related

[APP] Switch RamHack - for ROM Devs

Hi
I wrote a small app which allows you enable/disable RamHack after tap on one button.
I wrote this application primarily for ROM Devs.
INSTRUCTIONS:
Copy the file "switch_rh.zip" to /data/
Contents of the archive /data/switch_rh.zip:
rh_on.img
rh_off.img
rh_on.ko (if required)
rh_off.ko (if required)
How does it work?
1. If the file switch_rh.zip is in /data/ then it is copied to /sdcard/switch_rh/
2. Next, the file /data/switch_rh.zip is removed.
3. The file IMG is flashing and the file KO is copied as a /system/lib/modules/wlan.ko
Notices:
- File /sdcard/switch_rh/switch_rh.zip not be removed if someone wanted to switch RamHack.
- If you are using a ROM and you want to "manually" use this application, you copy the zip package (contents as above) to /SDCard/switch_rh/
I hope this program will be useful for someone
PS. This is my first app
nice job !
Nice job, i am going to have something like this in 2.2 but its in spareparts
Hey lol seems you visited my profile got to say nice apps keep up the good work
where is the zip package ????????????????
fox12345 said:
where is the zip package ????????????????
Click to expand...
Click to collapse
wow, you do not deserve to know how wrong you just sounded
so I created the right folder, put the right files in, installed the app, hit disable, and it does absolutely nothing.
Good concept but doesn't work. I have my 4 file in the .zip. the program extracts them properly but doesn't apply them. My script does work so its not an error on my part. Good luck, man!
Could any1 tell me where is the zip file?
20015jjw said:
Could any1 tell me where is the zip file?
Click to expand...
Click to collapse
fail#2
rename the apk to .zip. then just extract it. but a word of advice, if you didnt know how to do that maybe you shouldnt be messing around with your phone
thanks ;-)
adelco93 said:
fail#2
rename the apk to .zip. then just extract it. but a word of advice, if you didnt know how to do that maybe you shouldnt be messing around with your phone
Click to expand...
Click to collapse
thank's mom
great idea
But not working on G1 running super ds latest with RH.
Phone reboots like it should. cat proc/meminfo shows 10mb memory still.
And app shows ramhack is still enabled.
So...
adelco93 said:
fail#2
rename the apk to .zip. then just extract it. but a word of advice, if you didnt know how to do that maybe you shouldnt be messing around with your phone
Click to expand...
Click to collapse
ACTUALLY... you are incorrect. This app doesn't contain any .img or .ko files.
you have to create them yourself. the reason the op didn't create any files or the zip is because they will vary between different roms. you can't make one universal zip that contains 1.img 1.ko 2.img 2.ko this app is merely an interface not the guts. You get it now, jerk?!
that's why it says for developers. not senior members who post alot of snappy comments and don't really contribute or their info is always wrong. back in the day, senior member actually meant something. now it means nothing generally.
This is awesome! Ive been working on something like this for a while. Glad to see someone got an app to do it Now you just gotta get some devs to implement it
PSHHH....SuperD, CM
sino8r said:
ACTUALLY... you are incorrect. This app doesn't contain any .img or .ko files.
you have to create them yourself. the reason the op didn't create any files or the zip is because they will vary between different roms. you can't make one universal zip that contains 1.img 1.ko 2.img 2.ko this app is merely an interface not the guts. You get it now, jerk?!
that's why it says for developers. not senior members who post alot of snappy comments and don't really contribute or their info is always wrong. back in the day, senior member actually meant something. now it means nothing generally.
Click to expand...
Click to collapse
That explains it. I retract my previous comment.
Total jerk, btw.
sevuth said:
That explains it. I retract my previous comment.
Total jerk, btw.
Click to expand...
Click to collapse
Hey, no problem dude. People can be so rude and the funny thing was he had no idea what he was talking about.
zimphishmonger said:
This is awesome! Ive been working on something like this for a while. Glad to see someone got an app to do it Now you just gotta get some devs to implement it
PSHHH....SuperD, CM
Click to expand...
Click to collapse
yeah its a great idea. it needs a fix currently but once that's done, it'll be great!
a few guys are already working on adding ramhack toggle into spare parts one of the den you mentioned is already doing so. Ben... cough...ahem... but Laszlo already has one made but its activated via script in terminal emulator. A nice interface like this would be more helpful or spare parts intergrading.
sino8r said:
Hey, no problem dude. People can be so rude and the funny thing was he had no idea what he was talking about.
Click to expand...
Click to collapse
My mistake, i can admit when im wrong. but i dont think i was being a jerk. but you on the other hand. but hey, im willing to be the better man
god bless you
Thanks for the explanation . In the next version will add the information if there is no package zip in /sdcard/switch_rh/ or /data/.

Theming files?

Sorry about the first post. I was wondering where the png files are located in the rom so I can start theming
Sent from my HERO200 using XDA App
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
abadasstanker69 said:
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Papa Smurf151 said:
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Click to expand...
Click to collapse
Thanks bro! All I see is apk files though. Where are the images?? Also, is there anything specific I have to do in order to export/import the files in Photoshop? I read something somewhere about a .9 PNG or something like that....what does this mean? BTW great work on your theme! It looks awesome! I love it!
Ok I'm a douche bad. lol I renamed the apk to .zip and extracted with winrar. Now I'm in to where I want to be! I'm looking for the little android guy when you make a phone call but, I can't seem to find him in the HTCdialer.apk. Am I looking in the wrong place? Thanks again for the help!
They are in the apk's.
http://developer.android.com/index.html
Good luck.
Ok found the little droid man! This is gonna be awesome!! Any more useful places I should mess around in? This is gonna be FUN!!!!!!!
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
I may be wrong but I have done the same thing, all I did when I was finished was push them via adb to their respective places and then reboot and it worked fine for me. Nandroid before you push so if it boot loops you can recover. Then the easiest thing at that point would be to save your work in the ROM you modded, push to sd root, wipe and flash it. I am creating a themed version of Darchoid 2.7 but taking my sweet time as I dont have a lot of it to begin with.
For my HTC Keyboard modifications, I just dropped my new images into the APK that was open in 7zip and pushed it to the /system/app/ dir and launched the keyboard, and BAM, my new keyboard.
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
You have to sign it too. If you want to flash it. If you wanna just push it through adb then then put your edited .apk in AndroidSDK\tools and push it.
Go to command prompt:
Code:
cd C:\android-sdk-windows\tools
adb remount
adb push xxxxx.apk /system/app/
exit
C:\android-sdk-windows\tools is assuming thats where your sdk\tools folder is
xxxxx.apk is the name of the .apk
/system/app/ is assuming that's where you got the .apk from
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
abadasstanker69 said:
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
Click to expand...
Click to collapse
Just use a mod or update.zip any will do and add ur files and delete the originals in the zip. Keep the meta file and such. Then u can autosign with avabox. It gets tricky with scripts when making a rom. The update.zip script is very basic
Check This Out
You can just take one from a working zip if you want
Otherwise you will be making a file (i use notepad++) called "update-script" *notice-there is no file extension like .txt or anything*
In general they ususally just have:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
(but may be different depending on where you want the zip's contents to be put in)
Which will be placed into a folder directory META-INF/com/google/android/update-script
You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template
[/QUOTE]You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template[/QUOTE]
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
abadasstanker69 said:
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
Click to expand...
Click to collapse
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
kyouko said:
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
Click to expand...
Click to collapse
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
abadasstanker69 said:
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
Click to expand...
Click to collapse
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Papa Smurf151 said:
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Click to expand...
Click to collapse
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
abadasstanker69 said:
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
Click to expand...
Click to collapse
The Meta file is for the update script. It has other uses but for ur purpose its for the update script which is the instructions the recovery uses to flash the theme. Like I stated before just use an existing one from a different theme or mod. Creating ur own is possible but not needed. Hit me up on gtalk if u want to ask me questions.
[email protected]
I don't mind teaching if anyone wants to learn

[Q] Help In the Kitchen

So I been playing with this and some help as some things I was able to manage to work and some not. Tried coping and pasting some of the files using root explorer as well some worked some didnt. I read that I needed the deodex rom to use kitchen so... I Flashed that with oden as well. Still the same problems occur. I really like to customize my phone but, it seems I can get some things to work right some not. If somone would be so kind to help me out get this straighten out I would HIGHLY appericate it. Im using the EP1W debloated rom with TW4 Launcher. Im missing a few widgets but, the only I really would like to get on there is the Feeds & Updates (preferly not pink header) which seems to be the only one around I can find. In the kitchen I was able to get the battery icon changed and with some copy paste I was able to change the boot animation. The Icons themselfs on the top like time,date etc... didnt take. Thanks in advance if someone can lend me there expertise.
Honestly, UOT I really only find useful for the battery icons. Yeah it can do other things, but its so much easier to just modify the files yourself. I use apk manager and it works great for me. Here is the thread for it http://forum.xda-developers.com/showthread.php?t=1100696 My suggestion, if you want to modify the appearance of your phone is to do it manually via apk manager.
stranula said:
Honestly, UOT I really only find useful for the battery icons. Yeah it can do other things, but its so much easier to just modify the files yourself. I use apk manager and it works great for me. Here is the thread for it http://forum.xda-developers.com/showthread.php?t=1100696 My suggestion, if you want to modify the appearance of your phone is to do it manually via apk manager.
Click to expand...
Click to collapse
Sounds a bit complicated ill look more into it but im no expert for sure. I got some some stuff working I guess I should be happy with that lol. Ill look into it thanks. Im confused on this deodexed stuff thats probally when i need to figure out first
babyjake said:
Sounds a bit complicated ill look more into it but im no expert for sure. I got some some stuff working I guess I should be happy with that lol. Ill look into it thanks. Im confused on this deodexed stuff thats probally when i need to figure out first
Click to expand...
Click to collapse
Its actually very easy. I'll help you out. Go on uot and go to the kitchen. Select all the tweaks/themes/icons/boot animations you want. When you are done go to the file upload tab. From here, open up your rom using winrar. Go to framework and drag and drop your framework-res.apk and twframework (something along that line, youll see it.) Then look for systemUI.apk. I think its under the app folder right when you open up your rom with winrar. After you got these files out of the rom then upload them to uot by clicking file upload and then click on system files. When this is done uploading click on summary and if everything is highlighted in green then your good to go, submit the work to the kitchen. It will give you a pickup number, copy that number and click on the pickup tab... From there, just wait for your order to come up. Download the file and flash in recovery. Profit? Yes. I hope this helps.
And if your rom is deodexed,then your good to go. Dont over think things, itll give you a headache.
ForeverSupra said:
Its actually very easy. I'll help you out. Go on uot and go to the kitchen. Select all the tweaks/themes/icons/boot animations you want. When you are done go to the file upload tab. From here, open up your rom using winrar. Go to framework and drag and drop your framework-res.apk and twframework (something along that line, youll see it.) Then look for systemUI.apk. I think its under the app folder right when you open up your rom with winrar. After you got these files out of the rom then upload them to uot by clicking file upload and then click on system files. When this is done uploading click on summary and if everything is highlighted in green then your good to go, submit the work to the kitchen. It will give you a pickup number, copy that number and click on the pickup tab... From there, just wait for your order to come up. Download the file and flash in recovery. Profit? Yes. I hope this helps.
And if your rom is deodexed,then your good to go. Dont over think things, itll give you a headache.
Click to expand...
Click to collapse
Did all that thast the problem some of things will work some wont which is why im wondering why certain things take and the others do not

[Q] 3 quick questions

Alright this is 3 really quick and easy questions.
I have infused 2.2.3 and i wanna know:
1) if i install a theme, or probably any mod or something like that, how would i take it off?If i wanted to change the theme im on, do i simply go into cwm and apply a different theme? Or do i have to do something to remove the other one?
2)Do i need the old zips i applied to the phone or should i just delete them?
3) and if i were to put allll my zips in there could i just install them from there or do they need to be in the main part of my internal sd card? Basically does it matter where in my internal sd card they are or not?
joeym11 said:
Alright this is 3 really quick and easy questions.
I have infused 2.2.3 and i wanna know:
1) if i install a theme, or probably any mod or something like that, how would i take it off?If i wanted to change the theme im on, do i simply go into cwm and apply a different theme? Or do i have to do something to remove the other one?
2)Do i need the old zips i applied to the phone or should i just delete them?
3) and if i were to put allll my zips in there could i just install them from there or do they need to be in the main part of my internal sd card? Basically does it matter where in my internal sd card they are or not?
Click to expand...
Click to collapse
1) To revert your theme back to the original you would either need to flash the rom again or the theme developer SHOULD have a revert for you to flash.
2)I keep them around just because, I always keepat least two roms and two kernels and a whole bunch of mods and modems. I mean the infuse has 16gb internal storage so memory isnt really that big of a deal. But no you dont NEED them.
3)Nope I've flashed from all sorts of places on my SD card. Root of the SD is probably the easiest though because then you dont have to do all the navigating through files etc in CWM.
Reynaldinho111 said:
1) To revert your theme back to the original you would either need to flash the rom again or the theme developer SHOULD have a revert for you to flash.
2)I keep them around just because, I always keepat least two roms and two kernels and a whole bunch of mods and modems. I mean the infuse has 16gb internal storage so memory isnt really that big of a deal. But no you dont NEED them.
3)Nope I've flashed from all sorts of places on my SD card. Root of the SD is probably the easiest though because then you dont have to do all the navigating through files etc in CWM.
Click to expand...
Click to collapse
Thank you SOOO much... got so tired of seeing 30+ views and no replies... thank you
joeym11 said:
Thank you SOOO much... got so tired of seeing 30+ views and no replies... thank you
Click to expand...
Click to collapse
Haha, no problem man
joeym11 said:
Thank you SOOO much... got so tired of seeing 30+ views and no replies... thank you
Click to expand...
Click to collapse
I just went to look for the revert but he didn't have it
This is the thread here
http://forum.xda-developers.com/showthread.php?p=17642552#post17642552
If you see it then lemme know, otherwise, do i reflash infused??
joeym11 said:
I just went to look for the revert but he didn't have it
This is the thread here
http://forum.xda-developers.com/showthread.php?p=17642552#post17642552
If you see it then lemme know, otherwise, do i reflash infused??
Click to expand...
Click to collapse
Yeah I dont see it. You can reflash infused. Make sure to back up everything you're gonna need though.
joeym11 said:
I just went to look for the revert but he didn't have it
This is the thread here
http://forum.xda-developers.com/showthread.php?p=17642552#post17642552
If you see it then lemme know, otherwise, do i reflash infused??
Click to expand...
Click to collapse
One of the "tricks" I usually do is this:
- make a copy of the .zip you're going to install -- rename it with 'revert' or 'undo' or something
- open the copy with 7zip, navigate to see what files are in it... (*don't touch the META-INF folder)
(themes usually contain /system/framework/framwork-res.apk and /system/app/SystemUI.apk)
- extract the same files from your current ROM
(either from the original zip, or directly from the phone -- I like to use 'Android Commander')
- replace those same files in the 'revert' zip -- and Bingo -- you now have a backup to restore if you don't like the theme
Reynaldinho111 said:
Yeah I dont see it. You can reflash infused. Make sure to back up everything you're gonna need though.
Click to expand...
Click to collapse
gwbard said:
One of the "tricks" I usually do is this:
- make a copy of the .zip you're going to install -- rename it with 'revert' or 'undo' or something
- open the copy with 7zip, navigate to see what files are in it... (*don't touch the META-INF folder)
(themes usually contain /system/framework/framwork-res.apk and /system/app/SystemUI.apk)
- extract the same files from your current ROM
(either from the original zip, or directly from the phone -- I like to use 'Android Commander')
- replace those same files in the 'revert' zip -- and Bingo -- you now have a backup to restore if you don't like the theme
Click to expand...
Click to collapse
Thanks ryan very much
And gwbard... i dont exactly understand that
Edit: Alright i got to the part where i extract the same files wiht my current rom... but how do i do that?... i just opened the zip from infused and all i see was the meta and then a folder with updates... what do i do? Im on infused 2.2.3 if that helps
joeym11 said:
Thanks ryan very much
And gwbard... i dont exactly understand that
Edit: Alright i got to the part where i extract the same files wiht my current rom... but how do i do that?... i just opened the zip from infused and all i see was the meta and then a folder with updates... what do i do? Im on infused 2.2.3 if that helps
Click to expand...
Click to collapse
Just browse through the "update-infused-v2.2.3-full.zip" -- get familiar with the filesystem.
At the root you should see META-INF, system, and updates.
'META-INF' contains the scripting to run the update itself.
'updates' contains the modem & kernel.
'system' is what you should be looking at. Inside 'system' (amongst other stuff) are 'app' and 'framework' folders. "SystemUI.apk" is in 'app'. "framework-res.apk" is in 'framework'. 99% of the time these are the only two files changed in themes.
Now, not all developers follow the same folder structure in their CWM zips, for example they might just have a folder 'framework' where the scripting copies framework-res.apk to /system/framework, and so on...
sorry but it appears my building is on fire gotta go
edit: all is well (sorta) -- seems lightning has fried one of the A/C units on the roof!
gwbard said:
Just browse through the "update-infused-v2.2.3-full.zip" -- get familiar with the filesystem.
At the root you should see META-INF, system, and updates.
'META-INF' contains the scripting to run the update itself.
'updates' contains the modem & kernel.
'system' is what you should be looking at. Inside 'system' (amongst other stuff) are 'app' and 'framework' folders. "SystemUI.apk" is in 'app'. "framework-res.apk" is in 'framework'. 99% of the time these are the only two files changed in themes.
Now, not all developers follow the same folder structure in their CWM zips, for example they might just have a folder 'framework' where the scripting copies framework-res.apk to /system/framework, and so on...
sorry but it appears my building is on fire gotta go
edit: all is well (sorta) -- seems lightning has fried one of the A/C units on the roof!
Click to expand...
Click to collapse
Lol Glad youre aight man
Sent from my friggin huge Samsung Infuse
So if i was to flash infused but wanna keep my kernel and modem id just remove the update folder from the zip and run it as usual?
Sent from my SAMSUNG-SGH-I997 using XDA App

[Q] How to make a zip to install apk on recovery mod?

Hi there, i read some thread about this, but really i dont understand what to do for make a flasheable zip...
Can someone take a moment for this request...
Thnx in advanced for read this
blackgf said:
Hi there, i read some thread about this, but really i dont understand what to do for make a flasheable zip...
Can someone take a moment for this request...
Thnx in advanced for read this
Click to expand...
Click to collapse
wassup, well i think your talking about different things. The apks can be installed any time in the system. the files for a flashable system in recovery mode are system.img.
Now some apks can be intalled by comand promp pushing by code but i really dont remember the exact code lol. But i think is over here in the xoom forum.
now some apks in zip mode just need to be stored no zipped, instead of check the option "compress" look for the one named "Store" that makes a file zip but the files are inside uncompresed, that why most of people can't install apks at first.
hope this helps in something.
See ya!
I think you are looking at how to make your own flashable zips for CWM.
This link here from MODACO was like the first result in google.:
http://android.modaco.com/topic/344906-how-to-create-a-flashable-zip-for-cwm/
It's a pretty decent guide, and it will allow you to install apk's from CWM if you don't want to install them normally.
not too sure but...
I think there is a new program in the Dev. board called fruitcake maker. Says it backs open boot.img and system.img and rolls it into an update.zip . I don't know if that's what you're really looking for.
intensus said:
wassup, well i think your talking about different things. The apks can be installed any time in the system. the files for a flashable system in recovery mode are system.img.
Now some apks can be intalled by comand promp pushing by code but i really dont remember the exact code lol. But i think is over here in the xoom forum.
now some apks in zip mode just need to be stored no zipped, instead of check the option "compress" look for the one named "Store" that makes a file zip but the files are inside uncompresed, that why most of people can't install apks at first.
hope this helps in something.
See ya!
Click to expand...
Click to collapse
Thnx for your replay, yes, i see the adb commands in some threads but i really want to do my flashable zips for CWM.
Delgoth said:
I think you are looking at how to make your own flashable zips for CWM.
This link here from MODACO was like the first result in google.:
http://android.modaco.com/topic/344906-how-to-create-a-flashable-zip-for-cwm/
It's a pretty decent guide, and it will allow you to install apk's from CWM if you don't want to install them normally.
Click to expand...
Click to collapse
Thnx man this is what i need! i try to search in some threads and forums but i didnt know how to search.

Categories

Resources