Can anyone point me in the direction to add the /data/app/ functionality to a rom, manually? I was using dsixda's kitchen, but its not working right for some reason anymore. I really want to use it on cm7 as I like to customize my rom before install. But it would be nice to know how to do it on any rom, if there is a difference. Thanks in advance...
Sent from another Dimension!
netwokz said:
Can anyone point me in the direction to add the /data/app/ functionality to a rom, manually? I was using dsixda's kitchen, but its not working right for some reason anymore. I really want to use it on cm7 as I like to customize my rom before install. But it would be nice to know how to do it on any rom, if there is a difference. Thanks in advance...
Sent from another Dimension!
Click to expand...
Click to collapse
Not sure I follow the question. A ROM installs based on its updater-script file and contents in the .zip.
If the zip has files in /data/app and the updater-script instructs package_extract_dir data/app to /data/app then all the files in the .zip's data/app will be copied over to the device's /data/app directory.
Hopefully that helps!
Thank you! It helps a little. Lol. But I know nothing about the updater-script. So I guess that's my next venture. I just want to add apps to my initial install of cm7. I'm slowly trying to build up my knowledge of how this all works. Is there a good thread on how to modify or build and updater-script, so I can mess around with it?
Sent from another Dimension!
netwokz said:
Thank you! It helps a little. Lol. But I know nothing about the updater-script. So I guess that's my next venture. I just want to add apps to my initial install of cm7. I'm slowly trying to build up my knowledge of how this all works. Is there a good thread on how to modify or build and updater-script, so I can mess around with it?
Sent from another Dimension!
Click to expand...
Click to collapse
to answer your question specifically:
two steps:
1)add your apk files to a data/app directory inside the .zip file. 7zip works great for modifying zip files in windows.
2) add this line to the updater-script: package_extract_dir("data/app/", "/data/app/");
to answer your question generally about help on creating a ROM .zip file:
I've covered the topic a few times in answering specific questions. I did a quick google search for xda joeykrim updater-script to try and find my previous posts. i generally provide more information than is requested by the poster and link to other posts/guides to make sure i've covered most of the common issues. here are a few:
How to zip a ROM to be flashed - i provide a lot of information including links to some great guides
[Q] update.zip problems
my posts in those two threads should provide *plenty* of information. let us know if you have any other questions! good luck!
Wow. Thanks so much! After work is play time now... I learn alot better through trial and error, so I hope I don't have to keep asking, lol. Now if I could just find a good updated tutorial on compiling cyanogenmod. But that's down the road.
Sent from another Dimension!
Related
Helllo everybody
Can anybody tell me (or a link?) how I can de-odex the rootedupdate.zip version 1.21.405.2?
Thank u
http://code.google.com/p/smali/wiki/DeodexInstructions
how space does de-odexing save? if that is one of its benefit
I tried it with the auto deodexer from this topic: http://forum.xda-developers.com/showthread.php?t=598026
The "De-odexing process" was successful. I de-odexed the /system/framework and the /system/app folder.
But if I replace the old /app and /framework with the de-odexed ones, my device doesn't startup.
Can anybody help me?
Flash the rom and then boot with logcat and search for the problem.
nickiberli said:
I tried it with the auto deodexer from this topic: http://forum.xda-developers.com/showthread.php?t=598026
The "De-odexing process" was successful. I de-odexed the /system/framework and the /system/app folder.
But if I replace the old /app and /framework with the de-odexed ones, my device doesn't startup.
Can anybody help me?
Click to expand...
Click to collapse
I'm having the same problem, do you solve it???
@ nickiberli : Download dsixda's kitchen and install it following his directions. It has all the tools you need to get started customizing ROMs. I believe your problem is that your .zip is not being signed which is another thing that his kitchen does for you.
@ ermacwins : Basically, (I'm not 100% on this explanation) "de-odexed" .apks are simply a .zip with a different extension. This allows further customization of the .apk. "odexed" .apks are split into two files, an ".apk" and an ."odex". The "odexed" .apk still contains the information that the "de-odexed" contains but is spread across the two files. To answer your question, I don't believe that a "de-odexed" rom saves you any more space than an "odexed" rom or vice versa.
@slavatore82 : Try the stuff I posted above. It should work for you. It's the method I've been using and it works great.
salvatore82 said:
I'm having the same problem, do you solve it???
Click to expand...
Click to collapse
When you deodex your files try to set compression level less than default. Till to 0. After deodex first boot-up might take about 10-15 min.
Dont know if this is going to shine light to anyones perspective view, but it did too me.
Link>>> http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
SystemErrorOne said:
Dont know if this is going to shine light to anyones perspective view, but it did too me.
Link>>> http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Click to expand...
Click to collapse
Way to resurrect a 6 month old thread dude! lol, Just joking with ya, btw that link has some good info. Thanks for sharing it.
mbobino said:
Way to resurrect a 6 month old thread dude! lol, Just joking with ya, btw that link has some good info. Thanks for sharing it.
Click to expand...
Click to collapse
haha my bad man just trying to help lol
Couple of things to ask:
1. What is deoxdexing and how does it help me?
2. Is there any official stock for 2.2? I have looked, can't seem to find it.
3. sbl.bin?
4. Is there a thread i missed that is a nice list of terms?
Thanks for the help.
My responses are in red.
silentabe939 said:
Couple of things to ask:
1. What is deoxdexing and how does it help me?
Just google it, but basically it allows an app to be themed.
2. Is there any official stock for 2.2? I have looked, can't seem to find it.
Check the dev section Bible
3. sbl.bin?
Secondary Boot Loader
4. Is there a thread i missed that is a nice list of terms?
My noob guide has some... let me know if I need to add others.
Thanks for the help.
Click to expand...
Click to collapse
and yeah that basically explains it all. if you can add a brief section on the deodexing and the ilk.
btwsomehow i knew you would be the one to respond
I can't tell if that is a good, or a bad thing.
Correct me if I'm wrong, but on deodexing:
Imagine the files that are part of android are zipped up, like .zip files. You can run them that way, or you can have them unzipped aka deodexed. The files are all out there, making it easier for stuff to be changed around: instead of having to go into the compressed file, uncompress it, change stuff in it, then compress it back up again, it already runs uncompressed. There's a small (possibly negligible?) speed penalty for running deodexed, but not much.
deodexing removes the odex files from the ROM and enables custom themes. As I understand it, deodexing does not affect performance, only themes. I may be wrong though.
Sent from my SGH-T959 using XDA App
Hi, i'm new to the ROM building/editing stuff. I've read a lot about building ROM's from scratch, but thats not what i'm interested in. I would like to know if, and if i can how, i can edit an existing rom for the Samsung Infuse 4g such as the stock rom and replace stock apps. I want to just edit some of the system/apps like the stock launcher, stock messaging app, etc and replace them with different ones that i already have downloaded. I don't want to edit any of the really deep/internal stuff just the stock applications that are loaded on the phone. Pretty much i want to theme it i guess you could say. Can anyone help me out or point me in the right direction?? Thanks in advanced. I'm looking forward to working with custom ROM's.
bump. can anyone help a guy out??
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
How do you flash new rom on your samsung. Is it a .zip file and you flash it via cwm?
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600
cjtulowiecki said:
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Assuming your file is a .zip file, you could just replace the applications you want (found in the "system/app" folder) on the zip, and sign it afterwards with a tool like AndroidSigner. It works for me
dsixda's kitchen
I haven't used this, but I have seen other ROM modders talk about this application called Kitchen (by dsixda). The link to the post is http://forum.xda-developers.com/showthread.php?t=633246
From the looks of it, it fits your bill.
you have Output the /system and do some work like change themes and other stuff and their is guys in Android Development and Hacking>Android Software Development
First off, thanks for all your replies, I appreciate getting some assistance. To answer most questions, yes I have the rom as a .zip file and flash it with cwm. I will try to replace the apps I want and then look into signing it ( which I don't know a whole lot about, but ill Google it.)
Sent from my SAMSUNG-SGH-I997 using XDA
Yeah so the apps are in /system/apps/ You can replace them easily, but You have to set good permisions
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600
Hello web masters and developers,
I've got a noob question...
I've got Jusada's ICSunday Final ROM (all credits to Jusada, and of course I've got his permission to do moding), which I modified for my personal needs.
Until now I've added many options that missed in original release (so it's not barebone anymore) like live wallpapers, torch, RE, ScanMedia, battery drain fix and GPS fix, transparent status bar and modified Acheps CM theme (all credits to their developers, u can find the topics here in Ace forum) etc.
There is couple of things I currently cannot resolve and that drives me crazy.
When I make a fresh install of the ROM, it starts with default wallpaper (which I modified too). But since I often use my favorite livewallpaper, i really need it to be set by default from the system. Now, I've got Livewallpaperspicker.apk installed and working. I can put the livewallpaper's apk file in the /system/app and to be installed by default, but how to make it enabled by default instead of the static default_wallpaper.jpeg inside framework_res.apk?
Where in which file I should enable it bu default?
Thank you for your patience, and also excuse me for my bad english, and If I break the rules with this thread!
Regards!
P.S: Excuse me for the stupid thread title, I couldn't figure out a better one...
Obviously no one knows, or it's too difficult to explain for noobs like me... Sad... I search on Google but either I don't search with correct keyword or there are no such thread/topic/lesson...
Sent from my GT-S5830 using xda premium
Here is all the info you need, figure out yourself
http://forum.xda-developers.com/showpost.php?p=13649923&postcount=2
The line should be without the space (glitch in XDA forums LOL) in com.android.wallpaper
<string name="default_wallpaper_component">com.android.wallpaper/.nexus.NexusWallpaper</string>
not the one u see in the post
tomsons26 said:
Here is all the info you need, figure out yourself
http://forum.xda-developers.com/showpost.php?p=13649923&postcount=2
The line should be without the space (glitch in XDA forums LOL) in com.android.wallpaper
<string name="default_wallpaper_component">com.android.wallpaper/.nexus.NexusWallpaper</string>
not the one u see in the post
Click to expand...
Click to collapse
Thanks for the reply mate, but it seems that there is no "value" folder inside my /res folder. Anyway I searched for strings.xml inside other folders in /res folder but... no success... I'll extract the ROM's package right now and will search inside all folders for strings.xml and will see if such a file exist... Thanks btn pressed for the reply and for the idea
P.S: I've found the file that contains keyword "default_wallpaper_component" in it. It's framework.odex. Now I've got to figure out first how to edit it (with notepad++ there are a bunch of unusable characters) and what exactly to write to enable my favorite_livewallpaper.apk by default. Because it's gonna be normal, pre-installed .apk file (not inside the LiveWallpapers.apk) and I don't know how to call it inside the string... Damned, this is gonna be harder than I thought But... I like to be hard, if there are good people that wont mind to teach me or tip me for the answer)) Thanks
Spoonk said:
Thanks for the reply mate, but it seems that there is no "value" folder inside my /res folder. Anyway I searched for strings.xml inside other folders in /res folder but... no success... I'll extract the ROM's package right now and will search inside all folders for strings.xml and will see if such a file exist... Thanks btn pressed for the reply and for the idea
Click to expand...
Click to collapse
Some ROM modder you are LOL don't even know the basic
You need to decompile the framework-res.apk LOOOL
Good luck
tomsons26 said:
Some ROM modder you are LOL don't even know the basic
You need to decompile the framework-res.apk LOOOL
Good luck
Click to expand...
Click to collapse
I didn't say that I'm modder. I'm modding only Jusada's ICSunday ROM, and only for my personal use... anyhow, thanks for the tips, and replies. No offence, but... sometimes noobs want's to learn too, u know... keep it in mind.
Spoonk said:
I didn't say that I'm modder. I'm modding only Jusada's ICSunday ROM, and only for my personal use... anyhow, thanks for the tips, and replies. No offence, but... sometimes noobs want's to learn too, u know... keep it in mind.
Click to expand...
Click to collapse
How will they learn if everyone is laying info on a gold plate for them and serving them it
Ive never asked WHAT HOW instead i searched and read it and thus learned it myself
tomsons26 said:
How will they learn if everyone is laying info on a gold plate for them and serving them it
Ive never asked WHAT HOW instead i searched and read it and thus learned it myself
Click to expand...
Click to collapse
As I said before, I need just an advise on how to do-that. I don't need someone to "serve it in golden plate" All I needed was a little hint and you gave it to me, that's why I thanked you. And as I said before, I searched Google and xda but with no success - obviously I didn't know how to "ask", wrong keyword etc.
After your hint I remembered that I read somewhere that not all folders are visible with win rar (for example) and they need to be decompiled in a special way. I searched again and found APKTool, now I'll install it (inside Windows folder, i read) and will begin to learn how-to.
That's the way to learn I think?
Spoonk said:
As I said before, I need just an advise on how to do-that. I don't need someone to "serve it in golden plate" All I needed was a little hint and you gave it to me, that's why I thanked you. And as I said before, I searched Google and xda but with no success - obviously I didn't know how to "ask", wrong keyword etc.
After your hint I remembered that I read somewhere that not all folders are visible with win rar (for example) and they need to be decompiled in a special way. I searched again and found APKTool, now I'll install it (inside Windows folder, i read) and will begin to learn how-to.
That's the way to learn I think?
Click to expand...
Click to collapse
Yes, and xdaAutoTool is better and user friendly
How to add new device in dsxida kitchen?
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
soham jambhekar said:
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
klembo1957 said:
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
Click to expand...
Click to collapse
Nope, there is no such necessity
OK
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
klembo1957 said:
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
Click to expand...
Click to collapse
You put any custom ROM for your device in there, configure it for that file (meaning that show it the file you're working on), replace it's system folder with the stock deodexed system folder.
Now, you're ready. Do your modifications. Add features. Build. Zip
Now, the important part.
Kitchen updater-script doesn't work on our device in some case. Use any custom ROM updater-script (with permission and credit), and voila!
There is a complete guide on it in Development section too.
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
klembo1957 said:
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
Click to expand...
Click to collapse
Only thing is that it's updater-script doesn't work
You have to add yours
iamareebjamal said:
Only thing is that it's updater-script doesn't work
You have to add yours
Click to expand...
Click to collapse
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
klembo1957 said:
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
Click to expand...
Click to collapse
did it work ?