Related
This will guide you through making a theming template.
Why: it was requested
What is it for: This is the base in which you start your custome theming. If you have read through Dreamsforgotten thread on theming, you will see that he refers to a theming template to start with.
Be advised, This is not a rom. It is just a template that some dev/themers use as a base for their custome themes or to return to a stock deodex theme. Also, this assumes that you are on a stock rooted system
The Difference you ask:
Theming templates : do not have a modem or kernel, They do have a system folder with and App, font, and framework folder.
Rom: has everything needed to run the OS. Modem (sometimes), kernel, and a full system folder
This is how I do it. That is not to say it is right or wrong, but it works for me. There may be other/easier way developed by other devs.
EI22 Theme Template
Tools:
Rom kitchen form here ( follow the thread and set it up )
7zip from here
Notepad++ from here
Rooted device: if you are not rooted look in the dev section of your device for the instructions on that
Clockwork mod: if you don’t know what this is or don’t have it go to the dev section and research.
Instructions:
1: get a copy of the STOCK system folder. It really does not matter how you get it. JUST GET IT
HINT: if you are rooted already, use root explorer or equivlant and copy it to the sdcard….
Depending on how you got it, you may need to copy it to your computer desktop ( do so now)
2: now you will need to make a zip file (by now you should have 7zip installed)
r-click on system folder that you just copied to your desktop
choose 7zip > add to archive.
under archive change name to (build#).zip ( replace (build#) with the build you are using i.e ec05, ei22 ect….)
At this point you will need the rom kitchen. So, if it is not set up, DO SO!!!!!!!
3: copy to the zip folder to kitchen > original_update. Then open the kitchen.
Choose option 1, answer the next few questions as you need to. For me, I just hit enter at the 4 questions. You should be back at the main screen now
option 0 (enter) > option 11 (enter) > option b (enter) > enter ( best so that if there are errors you can troubleshoot) ( this takes a while: 20 min) assuming all went well, you should get
0 *.odex in system/app
0 *.odex in system/framework
Hit the enter key
option 99 > option 2
At this point, there should be a new folder named “output_zip” with your rom in it. (enter) you should be back to the mail menu. We are done with the kitchen so you can close that.
BUT your not done yet.
4: go to the above mentioned folder. In the folder there will be a zip file.
r-click on it and rename theme_template_(build#) ( replace (build#) with the build you are using i.e ec05, ei22 ect….)
r-click> 7zip> open archive - There you will see two folders and a boot image.
delete the boot.img file
go into the system folder and delete everything except app, framework, and font folders
back out one level and go into meta-inf >com > google >android
Now delete the updater-script (leave 7zip open)
Now we need to write the updater-script for CMW to read
5: open notepad++
BE ADVISED, this portion is for the EPIC 4G and the updater-script may change formats based on your device. So do some research first. I tend to look at other script for my devices to see how it should be formatted.
You can copy and past this in or type it yourself:
show_progress(0.1, 0);
delete_recursive("/system/framework");
delete_recursive("/system/app");
delete_recursive("/system/fonts");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
delete_recursive("/data/dalvik-cache");
show_progress(0.1, 10);
unmount("/system");
Or use this: updater-script
file >save as
Name file: updater-script
File type: chose all types (*.*) you may need to scroll up or down to find it.
save to desktop
drag and drop the updater-script into the 7zip screen. ( you will be prompted with a ?. just hit yes.)
You should now have 3 files on the 7zip screen
Updater-script, update-binary, update-script.orig
close 7zip.
Connect phone via USB
Copy file to sdcard
Disconnect phone
Reboot to CMW
Choose: backup and restore >backup (when its finished you will have a nandroid to restore if you F.U.B.A.R. your phone.
Choose: install zip from sdcard and install your theming template.
Reboot.
Now use your favorite file explorer and go to system/framework and make sure it has been deodexed. If so, the flash was successful and your theme template works.
Congradulations you built your first theme. All be it a stock one. lol
mine for the thank you's
dreams - for all of his tuts
dsixda - for the kitchen.
Finally
Sent from my SPH-D700 using Tapatalk
Zeinzu said:
Finally
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
your welcome.... lol
Download doesn't work. Just downloads and empty zip.
Sent from my SPH-D700 using Tapatalk
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Zeinzu said:
Download doesn't work. Just downloads and empty zip.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
looking into it.
just dl'ed - worked fine for me.
Paul627g said:
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Click to expand...
Click to collapse
i tend to agree. but a noob has to have someplace to start. I wish there was the help i needed when i started doing these things a yr ago. I've learned alot throught the guids that i've found, but yes learning to do them by hand is great to.
Z..
what are you tring to dl. the template "worked fine for me" or the updater-script?
Paul627g said:
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Click to expand...
Click to collapse
I definitely agree, doing it by hand gives you a more broad understanding of how the xml code works. This allows you to perform other modifications as well, and like Paul said it is rewarding and also exciting.
Don't get me wrong, I definitely appreciate the guide! Perhaps you could divide it into a noob section and a more involved section.
Sent from my SPH-D700 using XDA Premium App
thomasskull666 said:
I definitely agree, doing it by hand gives you a more broad understanding of how the xml code works. This allows you to perform other modifications as well, and like Paul said it is rewarding and also exciting.
Don't get me wrong, I definitely appreciate the guide! Perhaps you could divide it into a noob section and a more involved section.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Paul627g said:
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Click to expand...
Click to collapse
Not sure what you are asking for. There is no XML editing involved here. If you are talking about the deodexing process, sure i can write out the long way to do it by hand. But there are alomost 200 odex files btween the apps folder and the framework folder to deodex. This process would take you all day to do if it wasnt for the kitchen.
spdwiz18 said:
Not sure what you are asking for. There is no XML editing involved here. If you are talking about the deodexing process, sure i can write out the long way to do it by hand. But there are alomost 200 odex files btween the apps folder and the framework folder to deodex. This process would take you all day to do if it wasnt for the kitchen.
Click to expand...
Click to collapse
Maybe some are misunderstanding the guide? I'm a little confused also lol. The way I read it...it comes across as just how to deodex your ROM? No actual themeing? Just to get a base template to start themeing...
Is that right?
Further clarification would be appreciated.
Sent from my Nexus S 4G using Tapatalk
I probably jumped the gun myself on thinking this was a theme guide. Only point I was trying to make was I hate seeing people use UOT Kitchen or other means to do themes or build a ROM using it and then put it out as their own work. These methods I think are great for personal use but to build an entire themed frameworks, etc and then expect to take credit for it is a bit overboard and trust me there has been plenty of work here in the past based off of UOT Kitchen and other means.
Bottom line, its more rewarding in the long run when you do as much as possible by hand and learn how its all done. Heck I even recently went back and learned how to use APK TOOL itself to decompile and recompile apks aside from just using APK Manager. Sure I know APK Manager is the tool of choice but I still wanted to see how others did it before the big move over to APK Manager.
Otherwise, this is a great thread having a tool to deodex a ROM. Personally I have never successfully deodexed a ROM myself, I've come close and had working ROMs but usually ended up with one thing or another broken in the deodexing process.
Paul627g said:
I probably jumped the gun myself on thinking this was a theme guide. Only point I was trying to make was I hate seeing people use UOT Kitchen or other means to do themes or build a ROM using it and then put it out as their own work. These methods I think are great for personal use but to build an entire themed frameworks, etc and then expect to take credit for it is a bit overboard and trust me there has been plenty of work here in the past based off of UOT Kitchen and other means.
Bottom line, its more rewarding in the long run when you do as much as possible by hand and learn how its all done. Heck I even recently went back and learned how to use APK TOOL itself to decompile and recompile apks aside from just using APK Manager. Sure I know APK Manager is the tool of choice but I still wanted to see how others did it before the big move over to APK Manager.
Otherwise, this is a great thread having a tool to deodex a ROM. Personally I have never successfully deodexed a ROM myself, I've come close and had working ROMs but usually ended up with one thing or another broken in the deodexing process.
Click to expand...
Click to collapse
Ya I will admit so did I lol, the xml portion is in reference to theme porting, not deodexing.
Carry on >_>
Sent from my SPH-D700 using XDA Premium App
Paul627g said:
I probably jumped the gun myself on thinking this was a theme guide. Only point I was trying to make was I hate seeing people use UOT Kitchen or other means to do themes or build a ROM using it and then put it out as their own work. These methods I think are great for personal use but to build an entire themed frameworks, etc and then expect to take credit for it is a bit overboard and trust me there has been plenty of work here in the past based off of UOT Kitchen and other means.
Bottom line, its more rewarding in the long run when you do as much as possible by hand and learn how its all done. Heck I even recently went back and learned how to use APK TOOL itself to decompile and recompile apks aside from just using APK Manager. Sure I know APK Manager is the tool of choice but I still wanted to see how others did it before the big move over to APK Manager.
Otherwise, this is a great thread having a tool to deodex a ROM. Personally I have never successfully deodexed a ROM myself, I've come close and had working ROMs but usually ended up with one thing or another broken in the deodexing process.
Click to expand...
Click to collapse
thomasskull666 said:
Ya I will admit so did I lol, the xml portion is in reference to theme porting, not deodexing.
Carry on >_>
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
And this is why im not in the field that i went to school for. lol (cysco networking) i got to the last class and they told me i had to document everything. I just dont have the skills to do that. I am going to edit the OP to better clarify what i was tring to do.
No worries to everyone. your opinions are wellcome. I am not all knowing, but i love to learn and share what i do know.
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
How to port PARANOIDANDROID ROM on Defy
After porting the PARANOIDANDROID ROM, I am getting too many PMs from users about how to port. So I decided to make a guide so that you all can port it yourself based on your choice of CM9 nightly. This will also make my job easier and I wont need to take the pain of uploading new build every other day.
Anyone who knows how to operate a computer can port using this guide, just bring the confidence in you that you can do it.
What all you need:
CM9 Nightly (For base)
Original PA ROM, I prefer galaxy s2 PA ROM.
Notepad++
Winrar
A Human Brain in preferably working condition
Click to expand...
Click to collapse
20 simple steps
Make a folder and name it whatever you want.
Copy original S2 PA ROM and the latest cm9 nightly which you want to make the base to your rom.
Rename the cm9 nightly rom to "my_ported_pa" and original S2 PA ROM to "s2_pa"
Now open the "my_ported_pa" with winrar and navigate to system folder.
Delete the "app" and "framework" folder one by one.
Now open original "s2_pa" rom and navigate to system folder.
Drag "app" & "framework" folder from "s2_pa" zip to "my_ported_pa" zip one by one.
Just press the "ok" button on winrar dialogue box, dont change any settings there.
Drag "pad.prop" from "s2_pa" zip to "my_ported_pa" zip
Navigate to /system/media folder of both the zip
Drag the bootanimation.zip from "s2_pa" zip to "my_ported_pa" zip
Close the "s2_pa" zip now.
Now, open the app folder of "my_ported_pa" and just delete the following apks (galaxys2settings.apk, samsungservicemode.apk, tvout.apk, torch.apk)
Open the original un-altered cm9 nightly and navigate to /system/app folder.
Drag the following apks from original un-altered cm9 nightly zip to "my_ported_pa" zip (audioeffectsettings.apk, compasscalibrate.apk, defyparts.apk, droidsshd.apk, filemanager.apk, motophoneportal.apk, torch.apk, usb.apk)
Close the cm9 nightly zip now.
Open the build.prop file using notepad++ of "my_ported_pa" system folder.
Find "# additional_build_properties" and add these lines after it
Code:
ro.cm.version=paranoidandroid
ro.modversion=paranoidandroid
ro.pa.version=paranoidandroid-pa_galaxys2-1.5a-25jun2012-170644
it shud look like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Find and delete the following lines
Code:
ro.cm.version=9-20120710-nightly-jordan
ro.modversion=cyanogenmod-9-nightly-120711-defy
Save the build.prop and close the "my_ported_pa" zip.
That's it, if you followed the process correctly then the rom will boot and that's 100% assurance.
Click to expand...
Click to collapse
This is just the basic thing in order to make the ROM boot. You will further need to decompile the framework-res.apk of both the ROMs and modify the xml files of the following folder as per our device value.
/res/values
/res/XML
and then re-compile.
At the moment, If you are not able to decompile and recompile using apktool, you can get the compiled framework from here. I will make a guide for this later.
Click to expand...
Click to collapse
The AIM here is to make all the users knowledgeable. Maybe some other guys can joing this thread and we can teach every little thing to every one, step by step. This will be in the interest of the community. Knowledge share is the best way to learn.
Warning: Please do this thing at your own risk, It maybe harmful for your device. I have explained the process which I follow.
Click to expand...
Click to collapse
Please post your feedback. I will be happy to help you in every possible way.
APKtool guide for modding framework-res.apk:
Credit: blindndumb
There might be an easier way of doing all of this, but this is what I found works for me. I know there are several other tools out there that automate it for you, but I have not really used them too much except for when I needed to do troubleshooting, since it saves the log when it compiles.
I like doing it manually so I can understand what is going on exactly. Also I think the automation tools do not come with the right apktool.jar versions to decompile framework-res.
Download the these apktools that I gathered and put together apktools-ics - Minus , there are several files in there. Apktool 1.4.2, Apktool 1.4.3, apktool.bat, and aapt.exe
You do not need the sdk installed, but you will need to have Java runtime installed. I am using Java version "1.6.0_29", but I am sure you can just downloaded the latest java runtime.
First thing you want to do is make sure you keep backups of any apk files just in case.
What I do is create a folder to work in and call it for example:
Code:
c:\apktools
1) Take the zip and unzip all 4 files to c:\apktools. You can call this folder whatever you want or put it anywhere, that is up to you.
2) You will need to pull the framework-res.apk from the rom you are working on. Copy it to c:\apktools.
3) Rename apktool.jar.1.4.2 to apktool.jar
4) Open a command window and make sure everything you do from now on is while you are in this folder c:\apktools
We now need to install the framework and type the following:
Code:
java -jar apktool.jar if framework-res.apk
You only need to do this once, unless you are working on a different Rom, then you will need to copy the framework-res.apk from that Rom and run the above command again.
5) We can now decompile framework-res with apktool (most important thing is to make sure we are using version 1.4.2 or will get errors)'
at the command prompt type:
Code:
java -jar apktool.jar d framework-res.apk
the d option stands for decompile and you will now see a folder under c:\apktools\framework-res. Here is all the output and can make any changes you want, and then can recompile. I would test to make sure you can recompile before making a lot of changes though.
6) We will now compile framework-res.apk and what is most important is we need to compile it with apktool version 1.4.3
So what I do at this point is rename apktool.jar to apktool.1.4.2, and then rename apktool.jar.1.4.3 to apktool.jar
now we compile by running the following make sure you are still in c:\apktools
Code:
java -jar apktool.jar b framework-res
It will take a few minutes and it should complete without any errors.
7) Once it is done compiling you will need to go to c:\apktools\framework-res\dist and you will now see your new framework-res.apk
If you get any errors about plurals when compiling it means you used the wrong version of apktool.jar
For any other apk including systemUI.apk, you can decompile and recompile with apktool.jar version 1.4.3. Basically you will have to keep renaming the apktool.jar if you doing a lot of building with framework-res, otherwise most of the time you can decompile/recompile all other apk files with 1.4.3
Just remember to copy any apk you want to decompile right into the root of c:\apktools, run the decompile command and it will create a folder of the output that has the same of the apk file.
Once you have your apk file built you will need to open it with 7zip, and copy out any files you changed to the original apk. If you only changed xml files, then you just need to copy the resources.arsc file and place it in the original apk file. The reason you need to do this is the siganture will change and you want to keep that intact.
Click to expand...
Click to collapse
Reserved for me
Sent from my MB525 using xda premium
Thanks brajesh, ngu ! I am an electronics final yr student... nd m thinking to try this! Can i use crc studio? I am nooob!
Sent from my MB525 using xda app-developers app
Is there a way to bring in the aokp
Toggles and rom control in cm9 hwa based rom?
Sent from my MB525 using xda app-developers app
vedhasd said:
Thanks brajesh, ngu ! I am an electronics final yr student... nd m thinking to try this! Can i use crc studio? I am nooob!
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
This guide is intended for noobs and ur a electronics student so It should not be a problem for you. It's just a simple copy/paste operation.
vedhasd said:
Is there a way to bring in the aokp
Toggles and rom control in cm9 hwa based rom?
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Haven't tried it but it looks to be a bit hard as there will be need to mod framework.jar which is beyond my expertise. Anyways I will make some attempt for sure.
Can latest aokp for s2 be fused to our defy using ur guide? I wanna try it! But there will be need of restructuring framework-res na? Wasse?
Sent from my MB525 using xda app-developers app
I will help u in testing sharmaji
Sent from my MB525 using xda app-developers app
does the battery drain a lot? i think this is more important than performance
Good guide mate however, I think many of us will appreciate the planned guide for de/recompile which can be tricky to get running. When that's posted with link from first post everyone can do this. One question, are winrar preferable instead of 7zip for this task?
My favourite devs made me send this from my phone
SuperSkill said:
Good guide mate however, I think many of us will appreciate the planned guide for de/recompile which can be tricky to get running. When that's posted with link from first post everyone can do this. One question, are winrar preferable instead of 7zip for this task?
My favourite devs made me send this from my phone
Click to expand...
Click to collapse
well, with the method mentioned in the OP you all can get the ROM running. You need to edit the framework-res.apk for changes to take effect according to our device. The decompile/recompile method is nothing but knowing apktool. There are lots of guide on xda for framework modding.
Edit: 2nd post updated
And for the 2nd question: Both Winrar and 7zip can be used but I prefer using winrar (now).
brajesh.sharma87 said:
Edit: 2nd post updated
Click to expand...
Click to collapse
Hmm that's the same post I used. But then I switched to this version of apktool along with your posted link as a guide, so there was no need to use one version for decompile, one for re.
Also I used this post to figure out which framework-res to decompile, which to edit, which to use finally etc. That bit was a little confusing, how to use the edited framework apk. Didn't realize I have to then open it as an archive and transplant the innards back to the base rom's apk!
I wanted this process to be as easy as 1 click, in the process kadavil made his attempt and I must say he produced desired results.
We are just working to polish it more and then you all will have a 1-click ROM porting option (Only for CM based ROMs) very soon.
Hi brajesh.sharma87! first i want to thank you for all the stuff that are you doing for the defy! I have some questions:
First: with this method we can use all cm9 roms but, i have a green lens defy, and for that reason i have to use a froyo kernel cm9 rom right?
Second: There is no problem in using a CM9 rom with a PA rom based in CM10? or i have to use a CM10 nightly as base?
Because i want to port the last PA (1.95a) to my defy green lens and i dont want to make misstakes with the kernel and ruining my beloved Defy. Thanks for all!!
Isma1306 said:
Hi brajesh.sharma87! first i want to thank you for all the stuff that are you doing for the defy! I have some questions:
Click to expand...
Click to collapse
Thanks
First: with this method we can use all cm9 roms but, i have a green lens defy, and for that reason i have to use a froyo kernel cm9 rom right?
Click to expand...
Click to collapse
Well, u will use CM9 nighly which doesn't have kernel in zip. Dont worry about that, you wont need to change the kernel.
Second: There is no problem in using a CM9 rom with a PA rom based in CM10? or i have to use a CM10 nightly as base?
Click to expand...
Click to collapse
PA 1.95a is based on CM10 so use defy CM10 nightly.
Because i want to port the last PA (1.95a) to my defy green lens and i dont want to make misstakes with the kernel and ruining my beloved Defy. Thanks for all!!
Click to expand...
Click to collapse
Just use this tool to automate this process for everything, its completely based on my guide.
brajesh.sharma87 said:
I wanted this process to be as easy as 1 click, in the process kadavil made his attempt and I must say he produced desired results.
We are just working to polish it more and then you all will have a 1-click ROM porting option (Only for CM based ROMs) very soon.
Click to expand...
Click to collapse
So what extra steps/how did you get the PA-JB port working?
I've tried following your instructions as well as the 1-click rom port tool (versions 4.5 and 5). I've used Epsy's 8/6 build, as well as Q's 8/10 build and have now tried GN, NS, and S2 PA 1.97 builds. The only I can get to even boot is the GN port, but as soon as I include the paranoid properties.conf, it starts going crazy with FC in system.ui making it unusable. The rest of the combos won't boot and either just plain hang on the boot screen, or boot loop with a flashing red led.
Suggestions?
This guide work for armv7 to armv6?
antonio8297 said:
This guide work for armv7 to armv6?
Click to expand...
Click to collapse
I doubt, because this guide is about 'porting' the overlaying OS. For armv7 to armv6 its change in hw. So its not that easy.. both hw may have diff kernel modules..
Or else may be i mustn't b knowing
Sent from my MB525 using xda app-developers app
vedhasd said:
I doubt, because this guide is about 'porting' the overlaying OS. For armv7 to armv6 its change in hw. So its not that easy.. both hw may have diff kernel modules..
Or else may be i mustn't b knowing
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
If i change only app,framwork and media?
Inviato dal mio GT-S5660 con Tapatalk 2
Will it work for miui
Sent from my MB525 using xda app-developers app
Hi people, this is my very first contribution to this forum. Basically, after switching to CM9 then back to stock, I felt that I was really missing out the ICS spell checking feature (which I don't know why Samsung disabled it).
While searching this forum, I stumbled upon this thread here, which enables the spell checking feature on S2 ICS. The guy posted the changes he made to the files, and I simply applied the same changes to the S3 files (with some improvisation, as they are a bit different).
I tested the mod with a deodexed XXBLG9 ROM here. However, theoretically, it should work on other deodexed stock-based ROMs.
-----------------------
Instruction:
1. Install AOSP Jelly Bean Keyboard from Play Store (link)
2. Reboot to recovery and create NANDroid backup (IMPORTANT!)
3. Use any root explorer to replace \system\app\SecSettings.apk and \system\framework\framework.jar with the files provided below.
4. Make sure that the permission and owner of the files are the same as original (0644)
5. Reboot
Voila!
I was thinking to create a CWM-flashable zip file, but since I am still n00b here, I couldn't. Can somebody teach me how? Better yet, just post a reply here, and I will add it to this post. :laugh:
EDIT: Taught myself how to create the zip (I was doing it wrong the first time round). The CWM-compatible zip is now added, including uninstaller.
EDIT2: Uploaded the wrong zip files. Please redownload if you downloaded before.
Just SecSettings.apk and framework.jar:
Code:
http://www.mediafire.com/?9aau7f14ba1uw5w
Installer (CWM):
Code:
http://www.mediafire.com/?pe4gnhibdourc36
Uninstaller (CWM):
Code:
http://www.mediafire.com/?xsc2u4zi49ekd7m
inscythe said:
Hi people, this is my very first contribution to this forum. Basically, after switching to CM9 then back to stock, I felt that I was really missing out the ICS spell checking feature (which I don't know why Samsung disabled it).
While searching this forum, I stumbled upon this thread here, which enables the spell checking feature on S2 ICS. The guy posted the changes he made to the files, and I simply applied the same changes to the S3 files (with some improvisation, as they are a bit different).
I tested the mod with a deodexed XXBLG9 ROM here. However, theoretically, it should work on other deodexed stock-based ROMs.
-----------------------
Instruction:
1. Install AOSP Jelly Bean Keyboard from Play Store (link)
2. Reboot to recovery and create NANDroid backup (IMPORTANT!)
3. Use any root explorer to replace \system\app\SecSettings.apk and \system\framework\framework.jar with the files provided below.
4. Make sure that the permission and owner of the files are the same as original (0644)
5. Reboot
Voila!
I was thinking to create a CWM-flashable zip file, but since I am still n00b here, I couldn't. Can somebody teach me how? Better yet, just post a reply here, and I will add it to this post. :laugh:
EDIT: Taught myself how to create the zip (I was doing it wrong the first time round). The CWM-compatible zip is now added, including uninstaller.
Just SecSettings.apk and framework.jar:
Code:
http://www.mediafire.com/?9aau7f14ba1uw5w
CWM-compatible Installer:
Code:
http://www.mediafire.com/?9f2i4pb67tdfe6d
CWM-compatible Uninstaller:
Code:
http://www.mediafire.com/?blqhqivcw1acumh
Click to expand...
Click to collapse
Thanks, but I makes special clear stock deodex without changes, because many people are looking for just the firmware deodeks with root access, without derogation from the flow to change by themselves ...
Sorry not here post...
By the way, I uploaded the wrong files just now, please redownload if you downloaded earlier.
Theme section...
Sent from my GT-I9300 using xda premium
inscythe said:
By the way, I uploaded the wrong files just now, please redownload if you downloaded earlier.
Click to expand...
Click to collapse
Is it possible to do this for the JB updates DLI 8
Sent from my GT-I9300 using Tapatalk 2
Finally!!
Thank you! Its crazy that Samsung disabled this feature on touchwiz. Such a bad company
Im on CM10 because I need the spell checker.
Will this work with the stock rom that came with the phone? I'm rooted and unlocked.
Thank you,
Sent from my SCH-I535 using Tapatalk 2
None of both methods work. I tried them on ICS LHI8 and JB LIB
Moving to Themes and Apps
Sent from my GT-I9300 using xda premium
Sensamic said:
None of both methods work. I tried them on ICS LHI8 and JB LIB
Click to expand...
Click to collapse
not working for me with stock rooted rom
Stock JB
Any chance yo can modify XXDLIB files ?
wen placing your files settings FC after boot and cant enter settings.
ronenzak said:
Any chance yo can modify XXDLIB files ?
wen placing your files settings FC after boot and cant enter settings.
Click to expand...
Click to collapse
+1 to this
Sent from my GT-I9300 using Tapatalk 2
Does this work with AT&T I747
inscythe said:
Hi people, this is my very first contribution to this forum. Basically, after switching to CM9 then back to stock, I felt that I was really missing out the ICS spell checking feature (which I don't know why Samsung disabled it).
While searching this forum, I stumbled upon this thread here, which enables the spell checking feature on S2 ICS. The guy posted the changes he made to the files, and I simply applied the same changes to the S3 files (with some improvisation, as they are a bit different).
I tested the mod with a deodexed XXBLG9 ROM here. However, theoretically, it should work on other deodexed stock-based ROMs.
-----------------------
Instruction:
1. Install AOSP Jelly Bean Keyboard from Play Store (link)
2. Reboot to recovery and create NANDroid backup (IMPORTANT!)
3. Use any root explorer to replace \system\app\SecSettings.apk and \system\framework\framework.jar with the files provided below.
4. Make sure that the permission and owner of the files are the same as original (0644)
5. Reboot
Voila!
I was thinking to create a CWM-flashable zip file, but since I am still n00b here, I couldn't. Can somebody teach me how? Better yet, just post a reply here, and I will add it to this post. :laugh:
EDIT: Taught myself how to create the zip (I was doing it wrong the first time round). The CWM-compatible zip is now added, including uninstaller.
EDIT2: Uploaded the wrong zip files. Please redownload if you downloaded before.
Just SecSettings.apk and framework.jar:
Code:
http://www.mediafire.com/?9aau7f14ba1uw5w
Installer (CWM):
Code:
http://www.mediafire.com/?pe4gnhibdourc36
Uninstaller (CWM):
Code:
http://www.mediafire.com/?xsc2u4zi49ekd7m
Click to expand...
Click to collapse
Will this work with the Galaxy S3 for AT&T?
Can anyone help me implement this on the stock Galaxy ROM?
Starting from the jelly bean update, the language files are completely removed from the system's apk and jar files. It would probably require more than just a simple mod to enable it. I will try when i have time.
Sent from my Nexus 7 using XDA Premium HD app
inscythe said:
Starting from the jelly bean update, the language files are completely removed from the system's apk and jar files. It would probably require more than just a simple mod to enable it. I will try when i have time.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
i tried this. on galaxy note 1. n7000. with stock JB rom (touchwiz) it didnt work i will donate if anyone can help me
inscythe said:
Hi people, this is my very first contribution to this forum. Basically, after switching to CM9 then back to stock, I felt that I was really missing out the ICS spell checking feature (which I don't know why Samsung disabled it).
While searching this forum, I stumbled upon this thread here, which enables the spell checking feature on S2 ICS. The guy posted the changes he made to the files, and I simply applied the same changes to the S3 files (with some improvisation, as they are a bit different).
I tested the mod with a deodexed XXBLG9 ROM here. However, theoretically, it should work on other deodexed stock-based ROMs.
-----------------------
Instruction:
1. Install AOSP Jelly Bean Keyboard from Play Store (link)
2. Reboot to recovery and create NANDroid backup (IMPORTANT!)
3. Use any root explorer to replace \system\app\SecSettings.apk and \system\framework\framework.jar with the files provided below.
4. Make sure that the permission and owner of the files are the same as original (0644)
5. Reboot
Voila!
I was thinking to create a CWM-flashable zip file, but since I am still n00b here, I couldn't. Can somebody teach me how? Better yet, just post a reply here, and I will add it to this post. :laugh:
EDIT: Taught myself how to create the zip (I was doing it wrong the first time round). The CWM-compatible zip is now added, including uninstaller.
EDIT2: Uploaded the wrong zip files. Please redownload if you downloaded before.
Just SecSettings.apk and framework.jar:
Code:
http://www.mediafire.com/?9aau7f14ba1uw5w
Installer (CWM):
Code:
http://www.mediafire.com/?pe4gnhibdourc36
Uninstaller (CWM):
Code:
http://www.mediafire.com/?xsc2u4zi49ekd7m
Click to expand...
Click to collapse
Do you know if these files work on the S4?
They won't. They're specifically for the S3...
Sent from my GT-I9300 using XDA Premium 4 mobile app
As the title says this MOD will remove your emergency call button in the pattern lockscreen.
I´ve modified the Pattern Lockscreen this way the button diasppears. So no more unwanted emergency calls while you have your phone in your pocket.
Just remember. Noone else will be able to call with your phone in case of emergency unless he/she knows how to unlock your phone.
Since there are various custom ROMs with a modified framework and since the framework in Arcos CM9 may differ in each release, I decided to write a little HOWTO.
First you need is my modified pattern lockscreen xml file you can download here:
Rapidshare or Dropbox
Extract it and copy the framework-res.apk from your phone or your flashable ROM to your PC.
Open the framework-res.apk with 7zip and navigate to the res\layout folder there.
Copy and paste my keyguard_screen_unlock_portrait.xml into this folder to replace the current xml file there.
Close 7zip and move the modified framework-res.apk to your sdcard.
Move it to the system folder in your phone and set the permissions to rw-r-r.
Use Root Explorer for the following step!
After the permissions were set correctly, move it to the framework folder and reboot your phone.
That´s all.
Below is a flashable Zip for Arcos beta3.
Rapidshare
Dropbox Mirror
yow honey!
you rock!
-salute!
By only for the vanilla cm9 by arco, do you mean that it won't work on the roms based on it like biohazard?
Sent from my GT-I8150 using xda app-developers app
Gary122 said:
By only for the vanilla cm9 by arco, do you mean that it won't work on the roms based on it like biohazard?
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Well. The modification is inside the vanilla framework and this mod is flashing the modified vanilla framework, so can´t tell. But as long as the framework isn´t modified there, it will. Unfortunally a lot of custom ROMs are using modified frameworks. These would need to be modified as well.
honeyx said:
Well. The modification is inside the vanilla framework and this mod is flashing the modified vanilla framework, so can´t tell. But as long as the framework isn´t modified there, it will. Unfortunally a lot of custom ROMs are using modified frameworks. These would need to be modified as well.
Click to expand...
Click to collapse
I tried it on my biohazard it works! Thanks bro.
Sent from my GT-I8150 using xda app-developers app