[Q] How to reodex framework files ? - Galaxy S I9000 Themes and Apps

Hi all, just a quick question to chiefs : how do you manage to reodex framework files ?
I found some time ago a script by stericson but it gives me bootloop (system/app and framework..).
Also i would like to know how you add SGS2 lockscreen to a rom ? (Of course i mean after decompile etc.)
There is no tutorial on these questions, i'm not a dev but i really would like to do so on darky..
Thanks in advance to my hero !
Sent from my GT-I9000

Bump.
I think i'm not the only who wants to know that.. i hope !
Sent from my GT-I9000

I'm at work now so i can only point you in the right direction. Google for dexopt-wrapper. Hope this help

Yeah thanks that's the first thing i've found, with the script..
But it gives me bootloops with reodexed framework files..
Sent from my GT-I9000

Related

[HOWTO] Use the dsixda Kitchen to make Galaxy W ROMS

This isn't necessary anymore, the dsixda kitchen now fully supports our phone.
Get the dsixda kitchen from HERE. And unzip it to a place of your choosing.
REMINDER: This will only work on Linux and/or Cygwin. Tutorials for that are on the kitchen page.
Thx for sharing your knowledge...it can give a massive headache when u don't know a thing about this stuff, like me..i will learn with my die-hard mode ..
anyway I have a question for you..about bootanimation on your v2 rom..how you disable it.? How you do that.?sammy using a proprietary file for his bootanim rite.?a .qmg file,am I rite? How you do that.? Seriously,i do wanna know..
I'm more interested on modding theme,crt anim,etc...but my knowledge limit my passion...
sent from another space
jahlee said:
Thx for sharing your knowledge...it can give a massive headache when u don't know a thing about this stuff, like me..i will learn with my die-hard mode ..
anyway I have a question for you..about bootanimation on your v2 rom..how you disable it.? How you do that.?sammy using a proprietary file for his bootanim rite.?a .qmg file,am I rite? How you do that.? Seriously,i do wanna know..
I'm more interested on modding theme,crt anim,etc...but my knowledge limit my passion...
sent from another space
Click to expand...
Click to collapse
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
cowithgun said:
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
Click to expand...
Click to collapse
Actually THIS is the original thread. The one you linked to gives no credit to knzo for his discoveries. (I know you didn't mean anything bad though )
KezraPlanes said:
Actually THIS is the original thread. The one you linked to gives no credit to knzo for his discoveries. (I know you didn't mean anything bad though )
Click to expand...
Click to collapse
sorry! didn't mean it, was googling those property based on your build.prob and it just land there!
I also just learn thru a hard way that after compiling acro68 kernel, I need to copy the dhd.ko module into the ROM. Finally able to get wifi!
cowithgun said:
sorry! didn't mean it, was googling those property based on your build.prob and it just land there!
I also just learn thru a hard way that after compiling acro68 kernel, I need to copy the dhd.ko module into the ROM. Finally able to get wifi!
Click to expand...
Click to collapse
I forgot to mention that, sorry xD
And I know you didn't mean it, it's okay Just always look on XDA first
KezraPlanes said:
I forgot to mention that, sorry xD
And I know you didn't mean it, it's okay Just always look on XDA first
Click to expand...
Click to collapse
You provide more than enough! Your first optimized ROM! I learn a lot by looking at it. Then, with this tutorial, I was able to build my first customized ROM by following exactly that you wrote.
You should change the "**MIGHT**" work to "**SURELY**" work!
cowithgun said:
You provide more than enough! Your first optimized ROM! I learn a lot by looking at it. Then, with this tutorial, I was able to build my first customized ROM by following exactly that you wrote.
You should change the "**MIGHT**" work to "**SURELY**" work!
Click to expand...
Click to collapse
Thanks for the compliment.
I will keep the **MIGHT** because there are always people who try crazy things (me included) like random porting of ROMs so it's safer this way. xD
If anyone interested to try compile acro68 kernel, I recommend to look into this link: http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
Very detailed, step by step and only need to change the kernel source to point to: https://github.com/arco/samsung-kernel-ancora/tree/gingerbread (for GB)
Once the make is successful, you will get an zImage.
Now, in Kitchen, you should have already use option 20 to extract the boot image. Replace the newly generated zImage to get a shiny new kernel. Of cause, you need to pack it back and finally build your ROM.
Finally, replace the ./samsung-kernel-ancora/drivers/net/wireless/bcm4329/dhd.ko to ROM's system/etc/wifi/dhd.ko.
cowithgun said:
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
Click to expand...
Click to collapse
Thanks for that link..appreciate that..? Will testing rite now..
Sent from another space
Can we use this for the exhibit ii
via Dan swagger
Actually, regarding the instructions in Post 1, you could probably skip all of them and do this only:
Rename the file tools/edify_defs/GT-I9001 to: GT-I8150
Kezra if i wanna change the launcher just delate the touchui.apk on the app folder and add some launcher? Heheh sorry for the noob question im a complete noob on rom building
Sent from my GT-I8150 using XDA App
can anyone help mee??? if i wanna install my modified rom i get error in cwm (bad) can't open ;( why?
DarthJonathan said:
Kezra if i wanna change the launcher just delate the touchui.apk on the app folder and add some launcher? Heheh sorry for the noob question im a complete noob on rom building
Sent from my GT-I8150 using XDA App
Click to expand...
Click to collapse
try to answer your question, corect me if im wrong XD
just delete a TWLauncher.apk and replace with your launcher, don't forget to change the permission XD
Hello guys,
Latest Arabic rom link :
Here
Could you please make this rom deodex ?
I am trying to make it using dsixda kitchen but I could not.
i found something in this forum....can this mathod used for sgw?look likes same i follow some of the guide.....
Hey Guys,
I am going to explain some of the files in a custom rom,the small and easy to mod files because the aim is to educate newbies and NOT advanced devs.
Ok,So,I have seen a lot of questions being asked nowadays about making custom roms.This guide is NOT about building a custom rom but about editing and modding it.I am doing this guide taking CM7 as base,not stock,so there might be differences between the roms you choose to mod.Also,I am prone to mistakes here and there.If i made any,please comment about it and i will remove it.Also,please feel free to give your suggestions about making this guide better
What you would need:
Notepad++
WinRar or any other zip/rar manager like 7zip or WinZip
If you want go advanced,you would also need these things
Cygwin
Smali/Baksmali
APK Multi tool or anything like that,i dont care
And most importantly,a brain and eyes(So,Dont ask me stupid questions like,how de fuk du i xtarct? and then in brackets,sorry for my english)
GUIDE:
So,first up,download a rom of your choice(Dont forget to get the permissions for modding from the developer) and extract it.When you extract it,you will see 2 folders and 1 file,it varies.It depends on the contents of the rom.
The folders are:
1.META-INF
2.system
The file:
1.boot.img
So,
Open up system and the first folder you are going to see is 'apps'.
As you already see,this is the place where all the apps go,for the history.You might also see some .odex files below the apps.So,if you remove an app,you should delete the odex file too.If you want to add an app,just drag and drop Take care not to delete each and every app you find,because each of them has their own functions.Also,if you delete contact.apk and replace it with a better dialer like Exdialer,you wont be able to add or delete contacts.So,there are some files better left alone.
If you want to know how to merge them,then use google,there are a lot of tutorials on deodexing.If you want to edit an app,then use APK multi tool,again please use google,lots of tuts on this one too.
Also,you will find an app here and its a main one,systemui.apk By editing systemui.apk,you can get transparent status bars,transparent notification bars,centre the clock.Things like that.The idea with which you edit Systemui.apk and framework-res.apk,thats how your rom is going to look like.These files handle the visual things and they are awesome too.For some systemui mods,refer HERE
Next,the 'bin' folder,this guide is aimed at the noobs,so nothing about this,this is a bit advanced stuff,so sorry.
Next up,the 'etc' folder.There are a lot of things that go here.I wont be going to full details for the moment because i am having exams,so no time.However,i will be explaining the easy to explain files.
One thing you will notice is the 'init.d' folder.If you want to add any script like LagFree v2,just put the files of the init.d folder in the script's folder here,nothing else.You dont need to copy any other files like META-INF.
Another file,is CHANGELOG-CM,just as the name suggests its a file giving you changelogs
Another file is NOTICE.html..Its just a file showing copyrights and all that stuff.You wouldnt need to edit that,would you?
Will add more about the other files soon
Next,the 'fonts' folder..You guys need an explanation for that??
Next,'framework' folder.Here you will find framework-res.apk(Obviously,duh...).I wont tell about any other file because this is aimed at new users,not advanced guys.Framework-res is where all the icons in notification bar are.The battery icons,they are all in framework.Also,lockscreen icons
go here..Most of the icons.If i have to start on anything.It would take me weeks,theres so much to write about framework.Also take care not to mess up the framework.Because its like the skeleton(thats what i know ) of a rom.If a framework is incorrectly configured,the rom wont boot.So,keep that in your mind always when you edit framework.
Next,the 'libs' folder,This guide is aimed at newbies,so not touching this part.
And comes 'media'..Most probably you will find 2-3 folders here.Audio,bootanimation.zip and wallpapers.
If you want to change the default,its in build.prop,not here,i will explain that later.If you need to add some audio,its just drag and drop,nothing much,just put them in the right folders,like alarms,ringtones and notifications
If you need to add wallpapers,reszie the pictures to 640x480,thats the resolution that works for ace.Also resize it to 107x80 and save it as another pic with a _small at the end.For eg,the default file is defaultwallpaper.jpg,you make another pic with 107x80 called defaultwallper_small.jpg.
Then,theres the bootanimation.zip..However way you change this thing.Always name it bootanimation.If you want to know how to make a boot animation,then refer freeyourandroid.com
Next up is 'tts' folder..Sorry but i dont know much about this folder.I think this folder contains the languages for the tts app but i am not sure about it.Same goes for 'usr' and 'wifi' folders.But since this thread is aimed at newbies,i dont think there wouldnt a point in writing them up anyway
Next up is build.prop file.Open it with notepad++...build.prop file is pretty self explanatory.
Here you can change the most basic things like the android version that setting shows..Wondered how people are making 2.3.4 look like 4.0.3 in settings??Its build.prop.Also,you can change what 'About phone' shows here.
Other things,you can change things like,how long your wifi scans,how much battery your phone saves while in sleep,Dalvik VM heapsize and default ringtones.If you are wondering what # stands for,it signifies that,that particular tweak is not running,so you can take out the # if its a tweak you like.You could also use it say things like,Additional build properties.You could make it #AdditionalBuildProperties and go to the next line and give your tweaks there.Some build.prop tweaks can be found in slaid480's thread in Galaxy Ace S5830 titled "[MOD]Build.prop tweaks for SGA" or you can go to freeyourandroid.com and find some tweaks there,however the tweaks listed there are universal,so practise caution when playing with build.prop
Now to boot.img..Theres an awesome guide about this in freeyourandroid.com Please have a look at it,because there are lots to write about this one.This is where Cygwin comes in,for instructions on unpacking and repacking and commands and info about boot.img,referHERE and HERE.My summarized version,boot.img is where you can replace kernels.This is where you can make those low-level changes
Then,to META-INF folder.You would find lots of folders here but the file that you would edit consistently is update script.Find it and open it with Notepad++..Unless you edited xbin and bin files,this is not hard to do..Just change around ui_print to what you like.Dont touch anything else if you dont know what you are doing.If you DID edit xbin or bin files,you would need to touch advanced things like symlink tagged ones(I had to give them some sort of a tag)
Now on making it a flashable zip,archive them to a zip file.Get a signer here: http://forum.xda-developers.com/show...96&postcount=2
The instructions on using that are given with it.Just rename it back to the name you like after signing it.
ganesh...will this work on stock ROM ?
Sent from my GT-I8150 using xda premium
When i build the Rom, do i have to zip and sign, or not?
bagux said:
When i build the Rom, do i have to zip and sign, or not?
Click to expand...
Click to collapse
You better sign it. xD

Is it possible!?

Is possible that anyone cant teach me how to create a launcher?! I'm trying to know it since december, but nothing! HELP MEEE!
you can easily mod launcher but make them from nothing is very hard
Yeah. I want to do it! Can you help me, teaching me what i should do to start?
PLS! For me it's too important!
Search google for UOT kitchen.
Try somethings out, battery , , animations, boot animation are easy to mod, then finish and upload androidian.apk from cm7 system/app and rename it and instLl from theme chooser and apply.
Or upload framework from stock or custom rom..
Sent from my GT-S5660 using xda premium
just extract the apk with 7-zip
then just mod the images and done
But is important that i have to use a software like Eclipse modding or not??
nope
7-zip
and photshop for ease
and for making app out of nothing
there was something else
to make application u need:
- eclipse + plugin for android
- android sdk
- java language
u can read about android here:
http://developer.android.com/index.html
http://developer.android.com/sdk/index.html
Tnx guys.
Phiexz, scuse me, i know you 'created' cyanogenmod 7 on my gio. Thanks a lot for all the work, and...so, i want to know... what kind of work you've done, or better, i have to do, if i want to build a rom... is difficult for a newbie?? I'm 15 and i want to become very strong! What do you think?? TNX!
Yes im a newbie too and im 13 years tooo
Verstuurd van mijn GT-S5660 met Tapatalk
So? I want to start developing, or simply helping!!! HELP ME!
I will start developing too im a newbie
Verstuurd van mijn GT-S5660 met Tapatalk
I think you should read something about development and programming. Not specially about Android but in general. Some 'hello world's in Java or C++. You have to be genius to start develop from walk
Wysłane z mojego GT-S5660 za pomocą Tapatalk
Ok, tnx! I started studing java with a university book!
Also, if you haven't already been there, there's an Italian Android forum named Androidiani that might be worth looking into as well.
Good luck,
Darkshado
Thanks but anyone had no gave me an answer..
mackief said:
Thanks but anyone had no gave me an answer..
Click to expand...
Click to collapse
u just need to extract the apk with 7-zip
photoshop some images
add to archive
launcher.apk
use android commander or anything else to sign the apkand
install it normally
Sent from my GT-S5830 using xda premium
Tnx! I'll try!

[Decompile/Compile] IS IT ALL A HOAX?

how do i decompile and compile XWLPG ICS 4.0.3 APK's
what is your guy's setup, i really never can get it working smoothly,
why is that, help :crying:
PLEASE
Use apk manger... U need jdk jre, and android sdk installed to use it... Simple and easy...
Cheers
Sent from my GT-I9100 using Tapatalk 2
This one repacked by Wanam works great for me !
Just set the compression level to 0 and increase the heap size and you'll have the same configuration as me
Envoyé depuis mon GT-I9100
thanks you but i have tried them, theres no decompileing this systemui.apk
android_isda_**** said:
thanks you but i have tried them, theres no decompileing this systemui.apk
Click to expand...
Click to collapse
What are you trying to do? To extract the apk just rename it to zip, or open on 7zip to edit. I don't know much about apks, sorry.
I've tried them all and Wanam's apk manager works great. For some reason I can't compile the framework-res but system UI is fine.
Sent from my GT-I9100 using Tapatalk 2
android_isda_**** said:
thanks you but i have tried them, theres no decompileing this systemui.apk
Click to expand...
Click to collapse
need System.UI apk -> UNMODIFIED
no -> Jkay , theme , mod ...
android_isda_**** said:
thanks you but i have tried them, theres no decompileing this systemui.apk
Click to expand...
Click to collapse
Are you joking man I tried decompiling system ui... So many times... From JKay's mod as well as original one... All done ok no issues at all... Wht are your steps to decompile it ???
Sent from my GT-I9100 using Tapatalk 2
i tried every guide but no dice, but it turns out, after i update my jdk, jde, sdk, java,
ita all started workin fine, thanks everyone
android_isda_**** said:
i tried every guide but no dice, but it turns out, after i update my jdk, jde, sdk, java,
ita all started workin fine, thanks everyone
Click to expand...
Click to collapse
As I said...
Sent from my GT-I9100 using Tapatalk 2
no i had them, but it didnt work, i just updated them, =)

[NOOB] My First Mod

Hello all,
after a rather once-in-a-blue-moon stint at xda, I was able to finally get going on a mod of my own! Well, it is just a few change of colors in an app.
I am using a GT-S6102 running stock ROM and Compact kernel by Deadly.
Also, a BIG thanks to Deadly for taking the time to go through my stupid questions, and answering them.
Click to expand...
Click to collapse
I know it isn't much, guessing by the standards of the people around here - but I though it would be good for noobs like me, and so here I am!
WHAT I DID
Nothing much. I did the following:
Pull out the Mms.apk and Mms.odex from /system/app/
Deodex the application using baksmali and smali
add classes.dex into the apk with 7zip
decompile the apk with apktool
make a few changes to the images (and hence the look of the app)
package it back
install it with adb, by pushing it to /system/app/ after removing the original apk and odex from /system/app/
AND A QUESTION, PLEASE!
I tried to find a complete tutorial from A to Z for this process, but didn't find anything that was COMPLETE and SELF-SUFFICIENT (i.e. Doesn't get away with partial information).
Is it a good idea to make one here, or has everyone had enough of those tuts? Please post your comments in the thread.
And for those interested, here is the modified apk.
I think this isn't a mod,but a tutorial.
Sent from my GT-S5300 using Tapatalk 2
74M3NUMB3RS said:
I think this isn't a mod,but a tutorial.
Sent from my GT-S5300 using Tapatalk 2
Click to expand...
Click to collapse
Well, on second thought, it does seem like one - but it wasn't meant to be...
It barely explains what I did in those steps.

need help for applying a farmework mod

hi all
as you see in my sig im working on a new rom but i have a big problem now
im trying to use this mod for porting xperia z lockscreen but its not working
i getting some problems when i wanna recompile setting.apk
can anyone help me?
here are my files (well my settings is a little different but don't worry make it with this one then i will theme the setting again)
pedyvirus said:
hi all
as you see in my sig im working on a new rom but i have a big problem now
im trying to use this mod for porting xperia z lockscreen but its not working
i getting some problems when i wanna recompile setting.apk
can anyone help me?
here are my files (well my settings is a little different but don't worry make it with this one then i will theme the setting again)
Click to expand...
Click to collapse
Could you post the log containing errors you get when recompiling?
I don't have a pc to test it myself right now, but I should help knowing what errors you're facing
Sent from my R800i using xda app-developers app
My skills are little rusty, but here is compiled settings.apk
If it's not working, post/upload framework-res.apk and i'll try it again
well this setting didnt work
but i made a working one myself :victory:
but now something else is not working(when i click on lockscreen in setting, setting will force close )
thanks for your help i gave me the idea that why mine wasn't getting compiled again
Oh, sorry, just now i see that you need it for cm9 (second post), not cm10 (first post on that guide). It was recompiled without errors, i assumed it worked.
But i couldn't recompile android-policy.jar
Too much differense in smali files or i used wrong ones
Sent from my R800i using xda app-developers app

Categories

Resources