How to get Framework??? - Samsung Galaxy S (4G Model)

I am New to the whole root and custom roms #dont judge me. How do you even get to the Framework to change certain things???
Sent from my SGH-T959V using XDA App

if you are new to this...then i dont think you should be messing with the framework just yet, but if you really want to change things, check out uot kitchen
the framework file is located in /system/framework

located in /system/framework/
on froyo its framework-res.apk
on gbyou need
framework-res.apk
and in system/app/
systemui.apk

jager555 said:
if you are new to this...then i dont think you should be messing with the framework just yet, but if you really want to change things, check out uot kitchen
the framework file is located in /system/framework
Click to expand...
Click to collapse
I say you gotta learn somehow. It's how I learned linux and how to compile a kernel(PC). I just did it, read up a lil bit and did it.

which is why i gave info on a useful tool in the editing process, as well as answering his question.

Thanks for the help... i used to play with cookies home tab on the HTC HD2 but I'm sure this may be a little different
Sent from my SGH-T959V using XDA App

Im also trying to learn about framework. I've come across tools in form: apk tool, adb, and dome other. Ill come bsck with links
http://forum.xda-developers.com/showthread.php?t=1053227
[TOOL] V1.0.3-xdaAutoTool BETA-Windows | V2.0.0-autoAPKTool | V1.0.2-autoDeoTool
http://forum.xda-developers.com/showthread.php?t=598026
Auto-Deodexer 2.3 [SCRIPT] [FROYO SUPPORT] [Devs Only]
Sent from my SGH-T959V using XDA Premium App

Related

[TOOL][PORT] Autodeodexer 2.3a for the Epic 4G Froyo - Windows

Honestly, I do not know how much interest there will be in this, but throughout my own exploration and experimentation with Android and the Epic 4G I feel like sharing my finds with the community.
I kanged this tool from HERE so thanks to Daneshm90 among other people who are thanked in the tool itself. All I really did was add a few BOOTCLASSPATHS to the *APK.bat files to get it to deodex all the apks, and update smali/baksmali to version 1.2.6 (newest as of 3/25/11).
Basically this is a one click tool to deodex stock, odexed system/framework and system/app folders on a windows machine. I tested on the ACS Untouched Stock EC05 ROM and got clean runs where everything became deodexed.
Tips: I found it best to do system/framework first in one run, then leave the output in deodexed_JAR, and THEN process system/app as many of the files in the app folder have dependencies on the jars.
After processing system/framework you will have framework-res.apk and twframework-res.apk which do not need deodexing.
In early testing, I found certain files leftover after a run processed on the next run. This stopped after updating smali/baksmali. I doubt I'll be of much help if you run into problems, you are doing EVERYTHING at your own risk. I barely understand the details here, I just ported it to work on our phone, so good luck!
Deodexed 2.3a Download
Thanks for this!
Good tool for those that want stock with.a theme.
Sent From My Evo Killer!
Mind if I throw this in the EPIC 4G cookbook?
amosher13 said:
Honestly, I do not know how much interest there will be in this, but throughout my own exploration and experimentation with Android and the Epic 4G I feel like sharing my finds with the community.
I kanged this tool from HERE so thanks to Daneshm90 among other people who are thanked in the tool itself. All I really did was add a few BOOTCLASSPATHS to the *APK.bat files to get it to deodex all the apks, and update smali/baksmali to version 1.2.6 (newest as of 3/25/11).
Basically this is a one click tool to deodex stock, odexed system/framework and system/app folders on a windows machine. I tested on the ACS Untouched Stock EC05 ROM and got clean runs where everything became deodexed.
Tips: I found it best to do system/framework first in one run, then leave the output in deodexed_JAR, and THEN process system/app as many of the files in the app folder have dependencies on the jars.
After processing system/framework you will have framework-res.apk and twframework-res.apk which do not need deodexing.
In early testing, I found certain files leftover after a run processed on the next run. This stopped after updating smali/baksmali. I doubt I'll be of much help if you run into problems, you are doing EVERYTHING at your own risk. I barely understand the details here, I just ported it to work on our phone, so good luck!
Deodexed 2.3a Download
Click to expand...
Click to collapse
This is awesome...... GREAT WORK.....
Okay so this sounds interesting and all...But how does one use it??
tphillips said:
Mind if I throw this in the EPIC 4G cookbook?
Click to expand...
Click to collapse
Go right ahead!
sent from my mind to yours
youngpro83 said:
Okay so this sounds interesting and all...But how does one use it??
Click to expand...
Click to collapse
Just take an odexed frame work, put it in the folder and run deoall.bat, then repeat for app. Pretty much it, if you don't know the point then you probably don't need it, lol
sent from my mind to yours
Thanks dude
Thanks bro good work
Anyone give this a shot yet?
blazinazn said:
Anyone give this a shot yet?
Click to expand...
Click to collapse
Yea I tried using it to deodex my eco5 stock rom, and it ran clean and gave output, but the output wouldn't boot.. I ended up going a diff route which included using a tool made for another phone and doing some by hand...
Sent from my SPH-D700 using XDA App

Decompiler

Hello, I want to decompile my framework-res apk so I can possibly add a battery that displays percentages. Is there any program out that will let me do this?
Sent from my Xoom using XDA Premium App
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Kcarpenter said:
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Click to expand...
Click to collapse
No offense taken. I am in the process of teaching myself these things so Google and xda are my best friends. Thanks for the reply
Sent from my Xoom using XDA Premium App
Kcarpenter said:
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Click to expand...
Click to collapse
Is it possible to read the Stat sys battery XML? I've been reading on how to decompile the files but no real help with this really
Sent from my Xoom using XDA Premium App
I use apk_manager_4.9 it may be the woosie way but it works for me. Try this thread: http://forum.xda-developers.com/showthread.php?t=695701
zone23 said:
I use apk_manager_4.9 it may be the woosie way but it works for me. Try this thread: http://forum.xda-developers.com/showthread.php?t=695701
Click to expand...
Click to collapse
Thank you, I have previously viewed that thread. There aren't really any clear cut instructions on setting it up properly. Are you able to edit the XML files contained in the drawable folder? That is all I'm interested in. I can't seem to successfully decompile the framework-res apk. Thanks again
Sent from my Xoom using XDA Premium App
I will offer to help you out.
1. Install latest SDK from http://Developer.google.com & Eclipse.
2. Search for apktool and unzip files into the SDK folder under platform_a DB
3. Buddy fix apktool with attached files. You will need to rename these files to Apktool, etc..
4. Copy framework-res.apk, systemui.apk, settings.apk, and launcher2.apk from \system + copy the odex
5. Run apktool d framework-res.apk (do this for each apk)
6. Look in the Res/drawing folders for images to mod.
Now you have the .9.png files with marks & the decompiled XML for reference.
Use Photoshop to modify the files.
Use draw9patch to compile any .9.png files
This is really important. Use 7zip or any other zip app that allows you to open and view an apk as a zip without actually unzipping it. Just copy the new photo files in and add them to an update.zip (you can download this from XDA Xoom Development thread) or use a DB to push the updated files to the Xoom.
Theaming is a subject but that's the basics. I can't upload files for newapktools.zip right now but will edit this when I get home later. Alternativly, maybe someone can post the patched up Xoom compatible apktool files. They are also in XDA theaming thread if you search.
Hth
Sent from my Xoom using XDA Premium App
nbeebe24 said:
Thank you, I have previously viewed that thread. There aren't really any clear cut instructions on setting it up properly. Are you able to edit the XML files contained in the drawable folder? That is all I'm interested in. I can't seem to successfully decompile the framework-res apk. Thanks again
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Yes I can you need Java JDK installed:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eventually you will need Eclipse and I use Gimp because its free and doesn't break any .png files.
http://www.eclipse.org/downloads/
IDE for JAVA Develpoers search youtube for a video on how to set it up for android.
http://www.youtube.com/watch?v=ZoWVeXizfbo
I use Notepad++ to edit XML
http://notepad-plus-plus.org/download
Thank you very much for that! I edited the images I want to use, I waes just trying to add the respective values into the XML. Is it possible to add a battery with 1% increments as of now?
Sent from my Nexus S using XDA App
nbeebe24 said:
Thank you very much for that! I edited the images I want to use, I waes just trying to add the respective values into the XML. Is it possible to add a battery with 1% increments as of now?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I have no idea all I know is on the EVO you had to edit the services.jar for that and it is beyond my capabilities. Sorry.
zone23 said:
I have no idea all I know is on the EVO you had to edit the services.jar for that and it is beyond my capabilities. Sorry.
Click to expand...
Click to collapse
I'll pay money if someone can link me to the decompiled battery_stat_sys and battery_charge_sys XML's
Sent from my Nexus S using XDA App
Hey nbeebe24, check out my post over here: http://forum.xda-developers.com/showthread.php?t=1063657
This should help you decompile/recompile framework-res.apk for your mod. I look forward to seeing your results
nbeebe24 said:
I'll pay money if someone can link me to the decompiled battery_stat_sys and battery_charge_sys XML's
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
you tryed this tool
Code:
http://ragotnicolas.free.fr/Android/ax10mk.rar
http://ragotnicolas.free.fr/Android/ax10mk.rar
http://forum.xda-developers.com/showthread.php?t=928864

Theme making

I was wandering if any could help me with theme making. I would like to create a theme for my thunderbolt and than share it woyld the xda community. Just need the basics such as programs and ill be on my way.thankx
Sent from my ADR6400L using XDA Premium App
Alright I am going to try and keep this short.
Basically find the ROM you want to theme (Wait for AOSP as sense has way too many elements to make theming easy for a beginner)
Extract the ROM (Should be a .zip) with your favorite unzipper. Then go to /system/Framework/ Then extract framework-res.apk
Once you extract Framework-res.apk the files you want to edit are in /res/drawable-hdpi
In the Framework-res.apk is where you will find all of the system images. Just replace them with whatever you want just don't change the name. There is more to it than just this but this is a great starting place. Work with this for a while then if you want to theme the status bar and other stuff you get into programming which is outta my league.

[Q] Framework-res.apk

I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Enraged21 said:
I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Anything you want. The easiest thing is editing the png so you change the system appearance. But you don't have to extract it to SD, you have to send it to your PC, decompile it (for .9.png's and xml, if just png you can extract the folder, then put the edited png's back in the apk with 7zip and push), and do whatever you want.
You will need to look for info about decompiling and pushing if you don't know yet.
So is that how themeing works?
Sent from my PG06100 using XDA App
Enraged21 said:
So is that how themeing works?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Yeah, explained fast and in a general way.
Lol thanks man!
Sent from my PG06100 using XDA App
Could you send me any links?
Sent from my PG06100 using XDA App
How exactly do I pull the framework file, then decompile it?
Sent from my PG06100 using XDA App
Bump
Sent from my PG06100 using XDA App
Enraged21 said:
How exactly do I pull the framework file, then decompile it?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
I saw you, I just haven't time to write. Look for a tutorial about pulling and also APK Manager for decompiling. You will need adb
Can I edit the font from this file?
I want to change my rom again but keep the font that I usually use. How would I do that?
________
Evo SHIFT
Evervolv ROM
x99 kernel
Enraged21 said:
Can I edit the font from this file?
I want to change my rom again but keep the font that I usually use. How would I do that?
________
Evo SHIFT
Evervolv ROM
x99 kernel
Click to expand...
Click to collapse
Fonts are not in framework. They are in system/fonts, so you can go to the zip of your current ROM in the PC, open it, go to system/fonts and copy them. Then paste them into the zip of the new ROM or flash it, then push the fonts. (If you can, it will be easier doing it before flashing, with WinRAR or 7zip in computer)
1111111st
congratz man, you got the 1111111 Thread!
http://forum.xda-developers.com/showthread.php?t=1111111
just wanted you to see
Enraged21 said:
I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
You could upload the file you extracted to the uot kitchen (google it, i cannot provide links).
The site allows to create a theme for your phone and to package it in a flashable .zip
(•.•) said:
congratz man, you got the 1111111 Thread!
http://forum.xda-developers.com/showthread.php?t=1111111
just wanted you to see
Click to expand...
Click to collapse
Haha, sweet!
Evo SHIFT
mordekainen said:
You could upload the file you extracted to the uot kitchen (google it, i cannot provide links).
The site allows to create a theme for your phone and to package it in a flashable .zip
Click to expand...
Click to collapse
Yeah I found out about that website a while ago.
But I can never get the colors right to match my theme.
Evo SHIFT
Theming Help
Try this thread:
http://forum.xda-developers.com/showthread.php?t=821638
Enraged21 said:
So is that how themeing works?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
APK Manager
Sorry for double posting but here is the thread for APK Manager:
http://forum.xda-developers.com/showthread.php?t=695701
Enraged21 said:
Yeah I found out about that website a while ago.
But I can never get the colors right to match my theme.
Evo SHIFT
Click to expand...
Click to collapse
For matching the colors you can use any app that lets you choose a custom color. I used widgetsoid, chose a custom color that matched my theme and wrote down the hex value. You can then use the hex value in the uot kitchen.
Sent from my LG Optimus One
Well, I took a snapshot of my homescreen. Uploaded it to a color extractor, and pulled the hex value through there. Used that hex value with UOT kitchen, and the colors still weren't the same after I flashed it...
Evo SHIFT
Evervolv
Can anyone guide on adding crt effect in services.jar?
Sent from my Desire S using XDA App

Stock Sidekick 4G "ThemeChooser" Themes

At the bottom of this post you will find a download link to a zip containing all the themes that the sidekick came with.
Some people may be on a custom ROM like Smooth Maximus and dont have the themes, or just removed them and want them back.
This is just so no one has to go through the trouble of downloading a stock ROM the searching through all the system apps to find the themes themselves . So i've decided to package em together for ya.
This is not flashable so you have to unzip them and use a root file manager (root explorer, super manager ect.) and push them to System/app. You Need to be rooted or it wont push the apps.
Sidekick 4G Themes
this is great ill push them through with the ginger clone!
thanks
ayoteddy said:
At the bottom of this post you will find a download link to a zip containing all the themes that the sidekick came with.
Some people may be on a custom ROM like Smooth Maximus and dont have the themes, or just removed them and want them back.
This is just so no one has to go through the trouble of downloading a stock ROM the searching through all the system apps to find the themes themselves . So i've decided to package em together for ya.
This is not flashable so you have to unzip them and use a root file manager (root explorer, super manager ect.) and push them to System/app. You Need to be rooted or it wont push the apps.
Sidekick 4G Themes
Click to expand...
Click to collapse
they all worked good thank you!
Can you please reupload teddy? Multiuploads down
Sent from my SGH-T839 using XDA App
BUMP
Anyone? Does anyone have the .zip and reupload it through any file sharing website?
Thank you in advance
sp0rkticus said:
BUMP
Anyone? Does anyone have the .zip and reupload it through any file sharing website?
Thank you in advance
Click to expand...
Click to collapse
I have them from a system dump... but just putting them in system apps doesn't seem to make them showup... very odd. Ill upload them when I get on the computer tomorrow maybe you'll figure it out
Sent from my SGH-T839 using XDA
hope this isn't a hijack...
Anyone figure out how to customize these themes? (especially the colors schemes)
I can easily change the wallpaper with Android wallpaper options, but the color schemes can be difficult to read with some color combos (like black text on dark green background).
Thanks for posting these!
I'm excited to download it once they're uploaded. My phone is so lost without the themes.
Hey i pulled these directly from ayoteddy's stock deodexed rom. All you have to do is push them to your system apps directory and restart your phone. Tested on my phone. Also sorry i had computer problems so had to upload them to my 4shared on my phone. http://www.4shared.com/zip/7Hu9zeYZ/sidekick_4g_themes.html
Sent from my SGH-T839 using XDA
Thanks so much. It works awesome!
I don't know how you did it, but you're the best.
I didnt do anything. I just pulled the files and uploaded them for you after i made sure they installed. Thank ayoteddy as i used his stock deodexed to get the files.
Sent from my SGH-T839 using XDA
ncmacasl said:
hope this isn't a hijack...
Anyone figure out how to customize these themes? (especially the colors schemes)
I can easily change the wallpaper with Android wallpaper options, but the color schemes can be difficult to read with some color combos (like black text on dark green background).
Click to expand...
Click to collapse
As for customizing im not sure but i think you can use apk tools to decompile edit and recompile the apk just make sure you have the sidekicks framework installed into apk tools also you may need to sign it im not sure i havent tried it yet
Sent from my SGH-T839 using XDA
Roundtableprez said:
As for customizing im not sure but i think you can use apk tools to decompile edit and recompile the apk just make sure you have the sidekicks framework installed into apk tools also you may need to sign it im not sure i havent tried it yet
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
being an Android newbie that is a whole lot of "Greek" to me!
ncmacasl said:
being an Android newbie that is a whole lot of "Greek" to me!
Click to expand...
Click to collapse
Ah I'm sorry. Uhm what color scheme would you like because I can try modding them for you. I'm not sure if it will work or not but ill try. I used to be in the same boat. In fact im still learning android, but have themed apk files before. So thats in the realm of my knowledge.
Sent from my SGH-T839 using XDA
Thank you soo much! I just installed glorious overdose and was looking for this
EvilAaron11 said:
Thank you soo much! I just installed glorious overdose and was looking for this
Click to expand...
Click to collapse
Glad people are still using these. Would anybody be interested in me modding these apks to make a custom set. We lack a purple one and an orange one. I might start this project in the near future so check the themes section from time to time
Sent from my SGH-T839 using XDA
I would love to have these themes work on my Galaxy Nexus. Is there some way to make that happen?
jcsww said:
I would love to have these themes work on my Galaxy Nexus. Is there some way to make that happen?
Click to expand...
Click to collapse
Negative
Sent from my SPH-D710 using xda premium
Roundtableprez said:
Glad people are still using these. Would anybody be interested in me modding these apks to make a custom set. We lack a purple one and an orange one. I might start this project in the near future so check the themes section from time to time
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
I would DEFINITELY be interested in an Orange one!!!!
Can someone reupload please?

Categories

Resources