Hii,
Here i Tell You How Make A Deodex ROM Easily...!!!
Requirement -->
1.Little bit mind only (its not tough).
2.A freshly flashed stock frimware..
3.Rooted Phone.
4.7zip.
5.xUltimate-v2.3.3
6.Done
1--> Flash New Stock frimware through Odin(New means not download from net.Flash frimware which is present in your Laptop/desktop.
After flashing.
2--> Root your Device with root file (update.zip)
After Flashing.
3--> Now You need deodexed app and framework.(inside your extracted system you see system/app/ music.apk & music.odex - Same as framework)
Remember Not all apks comes with .odex files.
How to deodex --> download xultimate v2.3 --> extract it --> Run Main Skip.exe
-> add all odex apps in xultimate v2.3/origi_app.
-> And add all odex framework in xultimate v2.3/origi_frame.
-> locate to menu / press (3) and hit enter --> this will deodex all apps (Note: during deodexng apps, Email.odex cause problem->
-> when xultimate deodex apps email.odex give error--> Go back with hit enter button --> go to origi_app and delete email.odex.
-> delete all deodex apks from done_app / again deodex with hitting (3) button.
-> after deodexing of apps --> hit (4) button and deodexing of framework start.
-> when done, Check all deodex apps and framework in -> done_app & done_framework.
-> Delete previous apps and framework from system/app & /framewok which with odex files -> And add all deodex apps and framework.
-> in specific place.
-> Now you have deodex Rom.
NOTE : The above apks & jars not comes with .odex files(These Framework & apks of galaxy y duos , find your apks which not comes with odex files.)
-> You already have system.tar
-> make a folder in desktop and place in it. unpack it with 7zip. the files i mention below add it to system/app & /framework.
in your extracted system folder in desktop not inside the folder.where you add deodex app and framework. Add the files mentioned below
in your app and framework folder where deodex app and framewok present.
-----> ok ---- > see below ---> and add.
>>>>system/framework/framework-res.apk(not odex)
twframework-res.apk(not odex)
com.google.android.maps(not odex)
>>>>system/apps/Gmail.apk(not odex)
GoogleBackupTransport.apk(not odex)
Gmail.apk(not odex)
GoogleBackupTransport.apk(not odex)
GoogleCalendarSyncAdapter.apk(not odex)
GoogleContactsSyncAdapter.apk(not odex)
GoogleFeedback.apk(not odex)
GooglePartnerSetup.apk(not odex)
GoogleQuickSearchBox.apk(not odex)
GoogleServicesFramework.apk(not odex)
MediaUploader.apk(not odex)
NetworkLocation.apk(not odex)
PCWClientS.apk(not odex)
Phonesky.apk(not odex)
SamsungApps.apk(not odex)
SamsungAppsUNA3.apk(not odex)
SetupWizard.apk(not odex)
Street.apk(not odex)
Swype.apk(not odex)
Talk.apk(not odex)
talkback.apk(not odex)
VoiceSearch.apk(not odex)
Lastly ---> You Done & your rom in working with all apps and framework.
4.Download my attached zip named update v1.1(Odex to Deodex)
Link:- https://www.dropbox.com/s/5myoqo2gl6ye9ht/update v1.1(Odex to Deodex).zip
Extract it with winrar or any other tools.
Add All Apps in App Folder (Deodexed apps)
And Framework Files(jars) in Framework folder. (Deodexed jars)
Now Repack zip add flash in cwm mode.
(mount system > skip if already mounted)
After flashing.
Reboot.
Booting may take little Bit seconds.
Now you have a deodex rom.
Thanks to Developers, making this Great Tool.
or
You Can use "Universal Deodexer V4"
Credits - To Me Kartik [email protected]
Awesomee ..
Nice thread .. im going to try this
But after placing deodexed apps and framework in system/app n system/framework , what about meta-inf folder how to get it and from where can i bro ???
http://forum.xda-developers.com/attachment.php?attachmentid=2748690&stc=1&d=1400336146
its here..Chck it...
shankarsj said:
Nice thread .. im going to try this
But after placing deodexed apps and framework in system/app n system/framework , what about meta-inf folder how to get it and from where can i bro ???
Click to expand...
Click to collapse
i gave u link its a flashable zip just place ur all apps and framework inside the given zip and than repack it .go to cwm recovery mount system(leave if already mounted) than flash.
link ????
where is it bro ..
in this thread it has attached zip file /???
shankarsj said:
where is it bro ..
in this thread it has attached zip file /???
Click to expand...
Click to collapse
Why u peoples make me angry. U have eyes or button which cant see anything properly. 1stly go to ur nearest eye special list and chekup there.
And if u read the thread properly which u peoples cant read. In last in write link and with it link posted.
And read a thread with open eyes if u cant read it in opened eyed than no need to stay or comment here we already have another work.
true story,loooool!!!!!
Hey dont b such angry okay ..
i have got downloaded the dropbox link update v1.1 zip file okay .
i need xultimatee file link ????
shankarsj said:
i have got downloaded the dropbox link update v1.1 zip file okay .
i need xultimatee file link ????
Click to expand...
Click to collapse
Dont say where is the link. the imp thing u want i give and for tool google it or search it on xda .
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
Related
I have builded my rom I've zipaligned it and deodexed. I've packed rom with cygwin and tried to flash it via CWM but it won't flash. does anybody knows how to pack a rom?
Not sure if i am understanding you correct .
Rezip and sign a rom i use . signing -zip posted here sorry cannot find the link .
jje
Details
his script has 2 main uses:
1. Modify an update.zip
2. Create an update.zip
For #1 - You just extract the contents of an update.zip into the placehere folder, modify its contents, and run the script stating to create an update.zip
For #2 - So far these are the options i have in there for create the update-script
1. Copy directories
2. Copy files
3. Create Symlinks
4. Delete file
5. Delete directory
6. Flash boot image
7. Set permissions for file
8. Set permissions for directory
New Features in 2.0 :
- Set java heap size / compression level for zip
- New drag/drop mode.
>>> - If you drag a folder onto the script's icon (as in Script.bat) it will compress the contents of the folder into a zip and sign it.
>>> - If u drag a zip onto the script's icon (as in Script.bat) it will sign the zip for you.
So this script guides u as u select each option, and adds the appropriate command to the update-script file. Then u exit that sub-menu and create update.zip
I've fixed it already anyway thanks for help
Sent from my GT-I9000 using XDA Premium App
This is a detailed tutorial about modifying or making your own custom roms....but not as regular method... It is a new method...
So...lets start....
In this Guide...you will come to know how to--
Modifying rom..
Adding apps and removing..
Changing bootanimation, rom's name, fonts, ringtones...etc.
A new and easy method to make the rom....
::Requirements::
Galaxy Mini..
A windows PC.
Some basic knowledge..
Time and Patience(most imp)
::Important Tools::
7zip or any other zip manager>>Download Here<<
Update Zip Packager>>Download Here<<
Notepad++ >>Download Here<<
Dsixda's Kitchen..(OPTIONAL)..>>XDA Link<<
::About "BaseRom".zip::
Now, suppose, your base rom is CyanogenMod7.zip...
So...when u will extract that zip...u will see there...
META-INF (Folder)
system (Folder)
boot.img
META-INF :
This folder contains the files which are related to your recovery....in simple words...these files guide your recovery to flash zip, set permissions and some other things...
So...the change that we want here is to add the text that our recovery shows while flashing the rom...look in the extras for the tut...
boot.img :
This file contains Kernel of ur rom....and it also contains splash screen of ur rom....which u can edit...!! Look in extras..
NOW, the main thing..
::Main Tutorial::
Download your base rom and flash it....(without editing anything).
Flash Gapps..
Flash some other material such as Bravia Engine, Audio Enhancements, Scripts, Tweaks, etc
Flash each n every thing that you want in your rom...
Flash any theming material..which u want in ur rom
If you are modifying some system apps such as phone.apk, systemui.apk, framework-res.apk....then modify them one by one and flash them..
When you are done your theming, tweaking, and rest of the things...(now, you are running your rom having your desired theme, scripts, tweaks...)
Now....go to CWM recovery and do a Nandroid backup..
After the backup is completed...locate to the folder in sd-card where the backup file is created..(SD-Card>clockworkmod>backup>.....)
In this "backup" folder...you will see a folder named as the date when you have taken the backup..
In that folder...you will see a file - system.ext4.tar.
Copy that system.ext4.tar file in your PC...
Extract the file...you will see a folder - system
Now, this "system" folder is your Rom's system folder.. having all scripts, tweaks and theming...
Just delete the folder "lost+found" in that system folder and take this folder to the folder where your META-INF and boot.img are...
IMPORTANT:You have to delete "xbin" folder from the extracted system folder and then u have to copy and paste the original xbin folder to that folder..
::Extras::
Editing build.prop :
Locate to the system folder....open build.prop and edit it as you want by adding lines to it...refer this link...
Adding and Removing Apps :
Under system>>app folder copy the apps that you want to add to your rom...also remove the apps that you want...but click here to know the list of apps that can be removed...
Adding UI print to the meta-inf :
Locate to the file updater-script (META-INF>com>google>android>updater-script).
Open the file updater-script with Notepad++...
Scroll down to the last line of the matter...
Copy and paste the following code exactly below the last line
ui_print("Have A Nice Day");
Click to expand...
Click to collapse
You should type your own desired text at the place of Have A Nice Day..(with "....")
Done!!
After u have done....leave the META-INF folder as it is....for now..
Editing Splash Screen :
Extract the boot.img by using dsixda's kitchen....it is very easy...
After that....refer to this LINK for editing boot splash screen......and then repack the boot.img again using dsixda's kitchen
Editing boot animation of rom :
Download your desired bootanimation.zip.
Rename it "bootanimation.zip".
Now, locate to the folder system>media
You will see a file bootanimation.zip there..
Replace that file with your desired boot animation..(renamed)..
Done!!
Adding ringtones :
Take your ringtone file...it should be in .ogg format..If not then convert it to .ogg..
Locate to the folder system>media>audio>ringtones>
Copy and paste your .ogg files here in ringtones folder..
You can also change notifications, alarm and UI tones like this..
Changing the Fonts :
Take your desired font.ttf file and rename it as DroidSans.ttf..
Locate to the folder system>fonts>
Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
To change the lock screen clock font...replace the Clocktopia.ttf with your desired one..(rename first)..
Changing the ROM's name :
Note: It will be shown in settings>about phone>
Open build.prop with Notepad++
Find the line-
ro.cm.version="Base rom's name"
Click to expand...
Click to collapse
Type your rom's name instead of "Base rom's name"..
Save..
Done!!
Theming Your Rom :
Refer to the following links for theming guides-
http://forum.xda-developers.com/showthread.php?t=1422116
http://forum.xda-developers.com/showthread.php?t=916814
http://forum.xda-developers.com/showthread.php?t=1342895
http://forum.xda-developers.com/showthread.php?t=821638
http://forum.xda-developers.com/showthread.php?t=1469987
Now you have your MODIFIED : -
META-INF (folder)
system (folder)
boot.img
::Creating your ROM.zip::
Extract the provided UpdateZipPackager.zip
You will see->>placehere(folder)
>>others(folder)
>>script.bat
Now, copy your modified META-INF, system and boot.img in the folder "placehere" in UpdateZipPackager..
Run the script.bat in UpdateZipPackager..
It will ask something...type "n" and press enter..
Now, you will see a list in the script window...
Choose option 2 and press enter..
It will create an update.zip...
This is your roms zip..
Flash your rom and upload it to XDA..!!! Enjoy..!!
Plz...press thanks if I helped you with this guide...
-::Reserved::-
-:::Reserved:::-
-::::Reserved::::-
-:Reserved:-
nice guide dude!
gonna try this wen i m free from my school homeworks!
Sent from my GT-S5570 using Tapatalk 2
ronakmachhi said:
nice guide dude!
gonna try this wen i m free from my school homeworks!
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
Ok..bro..but...
I have forgot that word "homework" from...last year...lol...
oj_buddy said:
Ok..bro..but...
I have forgot that word "homework" from...last year...lol...
Click to expand...
Click to collapse
bt unfortunately i ll have to concentrate on that as i m in 12th grade-science stream!
Sent from my GT-S5570 using Tapatalk 2
Great tutorial OJ.....
This should help many who want to create their own roms, but I also fear xda will now get flooded with themed or modified roms.
thats an awesome tutorial buddy
Thanks a lot
-Rik(Rittik)
Greats,, its fast to make a custom rom
all app data will be in the rom that we have creat?????causs i don't want my sms and other thing to be in the rom that i will make.....pleazzz anwers....
lackhoo said:
all app data will be in the rom that we have creat?????causs i don't want my sms and other thing to be in the rom that i will make.....pleazzz anwers....
Click to expand...
Click to collapse
NO, it won't be there.... ALl your apps and data will not be in this rom as we've not included the data folder data.ext4.tar (which is the one to store all your data).
SO, don't worry much about it.
all app data will be in the rom that we have creat?????causs i don't want my sms and other thing to be in the rom that i will make.....pleazzz anwers....
Click to expand...
Click to collapse
Use titanium Backup to backup your apps and Some SMS backup app from market...many of them are available..Then after installing neW ROM just restore
em..thats how i do it
easy and simple
A problem i am facing is..i have created around 2-3 update.zip like the way mentioned above...following every procedure...but while Installing througg CWM it says...Installation aborted
-Rik(Rittik)
yagya said:
Great tutorial OJ.....
This should help many who want to create their own roms, but I also fear xda will now get flooded with themed or modified roms.
Click to expand...
Click to collapse
Thanks man...
But...r u serious yagya..?? Only source builds..???... how do you know it..??
Sent from my GT-S5570 using Tapatalk
Rittik said:
thats an awesome tutorial buddy
Thanks a lot
-Rik(Rittik)
Click to expand...
Click to collapse
Thanks...
Sent from my GT-S5570 using Tapatalk
Rittik said:
Use titanium Backup to backup your apps and Some SMS backup app from market...many of them are available..Then after installing neW ROM just restore
em..thats how i do it
easy and simple
A problem i am facing is..i have created around 2-3 update.zip like the way mentioned above...following every procedure...but while Installing througg CWM it says...Installation aborted
-Rik(Rittik)
Click to expand...
Click to collapse
Check your framework-res.apk for errors...as well as...check your meta-inf...try with an unedited meta-inf...and also..dont forget to replace that xbin folder with the original one...from base rom...also delete lost + found folder taken from system.ext4.tar ...try everything freshly..dont make anything wrong in update zip packager..in options selection...u will surely get success..
Sent from my GT-S5570 using Tapatalk
After I did the nandroid backup and went my backup folder, I only saw a "system.img" file inside the other folder - no "system.ext4.tar" ...what should I do in this case?
Oj-buddy, I am trying to follow your guide to make a custom ROM, but I find myself in a spot. You said that after I do the nanadroid backup, I'm supposed to go to: sdcard/clockworkmod/backup/(dated folder which contains my rom) where I will see "system.ext4.tar", but that's not what I see ;these are the files I see: android_ secure.img, boot.img, cache.img, data.img, nandroid.md5, recovery.img, sd-ext.img, system.img.....what should I do at this point?
jayrome876 said:
After I did the nandroid backup and went my backup folder, I only saw a "system.img" file inside the other folder - no "system.ext4.tar" ...what should I do in this case?
Click to expand...
Click to collapse
You should use latest CWM recovery for it.....
or you can also extract system.img with magicISO tool...
both system.img and system.ext4.tar are same files..
I'm looking for a deodexed version of the stock Telus/Koodo (Canada) rom for Galaxy Ace. I have the odexed version, but I'm not sure how to deodex. If anyone knows where I can get the deodexed version, or can help me with deodexing, it would be greatly appreciated.
Quietly, THIS IS DEVELOPMENT SECTION and not Q&A or GENERAL, POST IT THERE, here will be posted roms! READ THE XDA RULES BEFORE POSTING -.-
I only know how to deodex on Windows.
First have/download your SG Ace firmware (Canada)
Extract your firmware contents using MagicISO to: firmware_name\system
Download AutoDEOTool1.0.4 (Just a modified version of the tool, including updated binaries)
Unzip it to a directory without spaces e.g: C:\
Move/Copy your firmware's apps and framework files to: _app & _framework
Run AutoDEOToolMain.bat
Hit 2 to be specific.
To find your bootclasspath, just download Terminal Emulator on your Android phone
Run the command: echo $BOOTCLASSPATH
To save it in your sdcard, run: echo $BOOTCLASSPATH>>/sdcard/bootclasspath.txt
Open the bootclasspath.txt, remove any "/system/framework/" codes (without the quotes) then save it
Now copy everything in bootclasspath.txt
Then in the AutoDEOToolMain windows, paste your bootclasspath & hit enter
This will deodex all files in _app & _framework
NOTE: If there are still some odexed files left, then use dsixda's kitchen to deodex the remaining files.
Now copy/move all files in _app to your firmware's /system/app folder
Copy/move all files in _framework to your firmware's /system/framework folder
Now you have a deodexed Canada firmware!
Download these rom_tools and extract it to the root of the extracted firmware (firmware_name)
Now add the boot.img
Zip it and to flash it!
Thanks, I'll try that tonight. What exactly do the rom tools do? I looked at the archive, and I'm pretty sure busybox means root, but what about the rest?
sauron82 said:
Thanks, I'll try that tonight. What exactly do the rom tools do? I looked at the archive, and I'm pretty sure busybox means root, but what about the rest?
Click to expand...
Click to collapse
data folder is optional to include
META-INF folder is to flash the ROM
format.sh formats your Ace/Gio
installbusybox.sh installs busybox
mkfs.ext4 is the tool that format.sh uses
{Tutorial} noob/newbie friendly --->tutorial to ---> make custom roms
"" how to make custom rom easily ""
hello guys,
I ve seen that many newbies r comming & making roms & then discontinued it due to lack of information about making a rom. so i decided to make a thread with all possible ways to teach these newbies about making a custom rom using ur stock rom......
Today i m presenting a tutorial on how to make a rom...........
The easiest way u will ever have seen.......
in this tutorial we will be using Cygwin as shell, with Dsixda's Android Kitchen to make a custom rom.............
Requirements:
- Cygwin with Packages and Dsixda's Android Kitchen
- JRE or JDK
- Winrar
- A stock rom.zip [odexed/deodexed]
-Windows OS [xp,7]
- A sharp mind........
## lets start with our tutorial................
1. download cygwin & jdk/jre from above links..........
how to install java--------
Go to the--- http://www.java.com/en/download/index.jsp
click on red-colored banner, [free java download]
Click the "Agree and Start Free Download" button.
Save the file to your desktop.
On your desktop, double-click the installer that you downloaded.
If an authorization window appears:
In Windows XP, click the Run button.
In Windows Vista, click the Continue button.
In Windows 7, click the Yes button.
Click the Install button.
If you are prompted by an advertising offer, decline the offer:
Click Next.
After the installation finishes, click the Close button.
Click to expand...
Click to collapse
how to install cygwin--------
download the cygwin packages.rar from above
extract it to c:\cygwin folder
now navigate to C:\cygwin\home\
here create a folder of ur windows username like this
now extract kitchen.rar [present in C:\cygwin\home\ ] contents in "C:\cygwin\home\username\kitchen\"
take a look at address bar of this example --- here
Click to expand...
Click to collapse
how to setup kitchen --------
Go to the original_update folder (located in: C:\cygwin\home\username\kitchen) like this
add ur stock rom.zip here which u want to modify........
or there is an dummyrom.zip which u can use as a base zip.......
Click to expand...
Click to collapse
Starting the Kitchen: --------
1. Open Cygwin (X:\Cygwin\Cygwin.bat) [located in cygwin folder]
2. Once loaded, enter: "cd kitchen" > Enter
3. now type "sh menu" The kitchen menu will now start........ for refrence click here
Click to expand...
Click to collapse
now the following window will be appear...........
{
"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"
}
if u will be able to see the above picture then congratulations..........:good::good:
u have setup cygwin with disxda packages correctly......
Setting up a working folder: --------
1. Press 1 > Enter
2. Press Enter and wait...
3. Choose (1) dummyrom.zip OR (2) Ur stock rom.zip
4. Choose "y" > Enter > Enter a new name (I chose WORKING_abhi922) > Enter
(now wait until the zip is extracted)
5.now it will ask u to convert "updater script" to "update script"........
6.press 2 & enter
7. now u have setup working folder correctly..... press enter......
8. now again main screen will be appear with alot of options.............
here u ve a working folder & options in front of u ...........
u have to press button for respective functions like
1. u can press 2 to add root to ur rom..........
2. u can press 3 to add busybox support to ur rom
3. similarly press different numbers for different option.........
Click to expand...
Click to collapse
now if u want to deodex ur rom---------
press 0 for advance options
following image willl appear----
press 11 to deodex ur rom..............
Click to expand...
Click to collapse
it is very easy to use this kitchen...............
u just need to read proper instruction written before options -that's all........
now u need to zipalign all apks after all modifications
zipalign apps in ROM-----------
choose option 6
then click enter & follow on screen instructions......
Click to expand...
Click to collapse
now the time is to build ur rom after all ur modifications.............
BUILD UR ROM-----------
1. Press 99 > Enter
2. Press 1 > Enter
3. Press "n" > Enter
4. Press "y" > Enter
5. Press "y" > Enter > "EnterANewZipName" > Enter
6. Now your cwm zip will be located at: C:\cygwin\home\username\kitchen\OUTPUT_ZIP
The zip that can be found in the directory above can be flashable in CWM. Ejoy your own custom rom
Click to expand...
Click to collapse
special thanks to -------
xda
disxda kitchen developers
cygwin windows developer
broodplank1337
sorry if i forget ur name
Click to expand...
Click to collapse
decompiling/compiling using apk multitools.......
Apk Multitools --
APK Multi-Tool is a simple tool designed for the Android Developers as well as for the beginners who are just eager to know
what an APK file contains. An APK is nothing but a ZIP file consisting of all the files required to run the app. It contains
the XML files which developers use to design the user interface, Java classes to add functionality in the apps and so on. It
also contains the visual graphics which you see as a background of the app on your android.
Click to expand...
Click to collapse
requirements---------
-apk multi-tools
- JRE or JDK
- Winrar
- deodexed framework-res.apk , twframework-res.apk & systemui.apk....
-Windows OS [xp,7]
- A sharp mind........
Click to expand...
Click to collapse
how to setup apk multi-tools--------
java-
. first u will need java so goto first post & follow instructions to install java..........
. if u ve already installed java then no need to install again
Click to expand...
Click to collapse
multi-tools-
1. download multi-tools from above link
2. then open the zip using winrar and extract folder [multitools 1.0.10] to desktop like following pic
3. goto the extracted multitools folder on desktop like following pic
4. then open setup.bat , it will look like following pic
5. press 3 then press enter , it will perform its task like following pic
6. now extract framework-res.apk,twframework-res.apk & systemui.apk from any deodexed rom to "other" sub-folder of
multitools folder...like following pic
7. now again open setup.bat then choose option 2 then press enter && it will look like following pic
8. now in this list 1st install framework choosing option 1 then it will install framework then it automatically closes the
window........ u have to perform this 3 times for different apks...... refer above pic......
9. now u have successfully completed setup process......
Click to expand...
Click to collapse
how to use apk multi tools.................
now i asummed that u ve successfully completed setup process && now the time is to learn how to use apk multitools.............
in this tutorial ,
i will explain how to decompile & recompile ur apks...................
apks r of two types ------
1. system apk file [ never signed again ]
2. regular apk file [ can be sign again ]
Click to expand...
Click to collapse
open multi-tools folder....
there u will find various folders......
1.place-apk-here-for-modding ---- [ place here ur apk which u want to modify ] [ also u will find signed/zipped apk here after recompiling]
2.project folder ---- [ u will find ur extracted or decompiled apk files ]
3. script.bat [ main bat file which u will use to operate differnet options over ur apk ]
to use multi-tools for decompiling framework-res.apk......
1. place ur "framework-res.apk" to "place-apk-here-for-modding"
2. then open script.bat
3. press option 9 to decompile ur apk
4. after this , do not close the script.bat screen [ just minimise it ]
5. then goto project folder & there u will find decompiled apk folder
6. do ur modifications according to ur need
7. then again maximise script.bat screen
8. press 11 & then press enter .........
9. u will see a note & then press "y"
10. then refer the following pic.........
11. click enter & after all this close ur screen
12. goto "place-apk-here-for-modding" and u will find "system_framework-res.apk".........
13. it is ur modiifed/modded apk just copy it to ur sd-card & rename it to "framework-res.apk" & move to system
Click to expand...
Click to collapse
note:--
ur modded apk file size always decreases than the unmodded..........
its normal not to worry..............
Click to expand...
Click to collapse
ANOTHER METHOD VERY EASY ------- hopw to make custom rom easily......... NEWBIE FRIENDLY.....
things u will need for making a rom------
1. notepad++
2. winrar
3. rooted android phone
4. stock rom
5. root explorer
6. Brian & patience
let's start --------
## how to make my first odexed rom.........
1. flash ur stock rom via odin
2. root ur phone --- http://forum.xda-developers.com/showthread.php?t=1552792
3. now install root explorer..
4. goto system folder using root explorer..
5. then copy all folders like app,bin,xbin,lib,media,etc. to any folder in sd-card...
6. now download sample rom.zip from here & extract it to a folder on desktop of pc...
7. now time to copy-paste all folders { like app,bin,xbin,lib,media,etc.} from sd-card to the system folder of sample zip
9. now zip this rom using winrar.......
10. copy this zip to sdcard & flash it using cwm [not 3e recovery]
this is ur first attempt to make rom so flash it & check everything is working fine or not....
##The above rom was odexed & now the time is for deodexed stock rom.....
so to deodex a rom just go through this tutorial...........
Required Downloads -
xUltimate - http://www.2shared.com/file/am_bqx1Z/xUltimate-v233.html
Tutorial --------
1. Connect your phone to computer.(Make sure you have select USB debugging in Settings>Applications>Development)
2. Extract xUltimate v2.3.3.zip and Launch Main.exe
3. If everything goes well xUltimate should recognize the phone and make a connection.You now should see a list of options.
4. Select option (1) pull /system/app. Wait until it complete.
5. Select option (2)pull /system/framework. Wait until it complete.
6. Then select option (3) Deodex /system/app. Wait until it complete.
7. [If encounter any error. Find out which .odex file is it. Then remove .odex file from folder origi_app in xUltimate folder]
8. Then select option (4)Deodex /system/framework. Wait until it complete.
9. Now Exit from xUltimate.
10. Put the phone in USB mass storage.
11. Go to xUltimate folder & find “done_frame”, and “done_app”,folders and these contain deodexed apps/jar files
now you have deodexed rom.
now stay with me....
if u have deodexed ur apps....
now the time is to make flashable deodexed rom......
1. goto to previously made odexed rom folder [ur 1st odexed rom]
2. goto system/app folder in this & delete all apks+.odex files..
3. goto system/framework folder in this & delete all apks+jar+.odex files..
4. just copy deodexed apps from "done_app" to app folder ...
5. similarly copy deodexed framework apps/jar file from "done_frame" to framework folder..
6. now again zip this using winrar..
7. now flash it via cwm & check everything is working or not.....
now u have a working custom deodexed rom made by u...........
if u like my tut then try to hit thanks button for me............
& rate the thread 5 stars & click on newsworhty thread.........
## how to change bootanimation in ur rom [ very useful ]
1. download this bin.zip -- http://www.mediafire.com/?23iic1686hl6c64
2. extract its files to bin folder of ur deodexed rom..
3. overwrite if prompted..
4. now add any "bootanimation.zip" to media folder of ur deodexed rom...
5. now zip this rom using winrar & flash it via cwm & check if the bootanimation is changed or not...
## how to add apps,ringtones,alarm tones,etc to ur rom....
1. copy any apk to system/app folder to make it a system app.....
2. copy any .ogg file in system/media/audio/ringtone folder to add ringtones ...
3. similarly add .ogg files in system/media/audio/alarm folder to add alarm tone....
##how to theme ur rom .......
easiest way is to use uto kitchen to theme ur rom....
1. goto this website -- http://uot.dakra.lt/kitchen/
2. upload ur framework-res.apk & twframework-res.apk & systemui.apk
3. then use options to theme ur rom.....
## how to add lidroid 15 toggles & 6 lockscreens to ur rom........
1. goto this thread--- http://forum.xda-developers.com/showthread.php?t=1924046
2. download patch according to ur baseband...
3. then extract files to appropriate folders of ur rom
[ like copy systemui.apk to app folder ,lidroid-res.apk & android.policy.jar to framework folder ]
4. overwrite if prompted
5. then agian zip rom & flash it via cwm....
6. check everything is working or not.....
## how to make ur roms fast by removing bloatwares.....
1. goto system/app folder.
2. delete the apps which r not essentials
3. for refrence go this thread ---- http://forum.xda-developers.com/showthread.php?t=1897286
4. now zip again & check if it is booting & working properly...
now i think ur rom is ok for u........ & u can give it a name like simplicity or mindcr
## how to modify ur rom build version [ shown in settings/about ]
1. open build.prop in system using notepad...
2. now modify the following line----
ro.build.display.id= gingerbread [ ur rom name here like aurora,etc.. ]
ro.build.version.release= 2.3.6 [ change to anything like 4.1 ]
## how to set default ringtones for ur roms........
1. open build.prop using notepad
2. now modify the following lines----
ro.config.notification_sound=11_Pixiedust.ogg [ its for notification sound ]
ro.config.alarm_alert=Good_Morning.ogg [ its for default alarm tone ]
ro.config.ringtone=Pegasus.ogg [ its for default ringtone ]
## knowing about some general things ---
>>>> where to add kernel in ur rom ---- outside the system folder [where u will find some files like bmlunlock,installbusybox ,flash_image,etc....
kernel = boot.img
>>>>> goto -- META-INF/com/google/android/
and u will find a file named as "updater-script"
this is the main script for flashing rom....
our cwm approaches this file & perform tasks as directed in it.....
1. open it with notepad/notepad++...
2. now nothing is understandable by u.....
3. but remember one thing -- ui_print("");
this statement is used to print text on cwm log screen
[ like ui_print("simplicity rom"); ]
4. u can change it to ur rom name & even u can add some more statements like this to ur script to print something.....
>>>>> goto -- system/etc/
and u will see many folder & files......
1. init.d folder -- conatin all the scripts that will run during startup...
init.d folder may be not there but u can create to add scripts....
[for using these scripts, u need to add custom kernel instead of stock one]
2. host file -- it can allow or block ads on ur device [its same as windows host file]
>>>>> what is ---
T9DB folder --- conatin files for ur stock keyboard....
CSCFiles.txt, CSCVersion.txt, SW_Configuration.xml, csc folder contain ur csc version,etc...
so u can delete them too [ no harm to ur rom ]
## removing ads from free apps in ur rom-----
1. the easiest way is just install adsaway.apk from market to ur phone then run it....
2. allow superuser request
3. then remove ads using some options given thier...
4. after removing apps restart ur device.....
5. open root explorer..
6. goto system/etc folder
7. copy hosts file from it to ur sdcard
8. now connect ur device to pc
9. move this file to ur rom zip at same place [system/etc]
10.overwrite if prompted
11. now flash ur rom using cwm & open any free app which have ads
12. if no ads come then ur rom is ads-free.....
13. enjoy
## Adding different mods & tweaks to ur rom........
1. goto the following threads && integrate them in ur rom....
2. most of them r flashable so better way is to flash them via cwm over ur rom....
3. then copy system folder from ur phone && replace them with the system folder in ur rom.zip...
follow these threads ----------
1. GEEKY ENGINE - http://forum.xda-developers.com/showthread.php?t=1952708
2. ANDERLINE ENGINE - http://forum.xda-developers.com/showthread.php?t=1579710
3. SUPERCHARGE SCRIPT - http://forum.xda-developers.com/showthread.php?t=991276
4. LOOPY SMOOTHNESS - http://forum.xda-developers.com/showthread.php?t=1205744
5. Supremacy Trilogy - http://forum.xda-developers.com/showthread.php?t=1928200
6. Netforks Tweaks -- http://forum.xda-developers.com/showthread.php?t=1961353
7. build.prop tweaks -- http://forum.xda-developers.com/showthread.php?t=1697040
8. cronmod scripts dataext --- http://forum.xda-developers.com/showthread.php?t=1955422
9. (MOD)Beats Audio --- http://forum.xda-developers.com/showthread.php?t=1525226
10. SlaidyBoost-V2.3 ---- http://forum.xda-developers.com/showthread.php?t=1585774
11. ThunderBolt! v2.9.0 ----- http://forum.xda-developers.com/showthread.php?t=1556013
12. Velocity Tweaks ------ http://forum.xda-developers.com/showthread.php?t=1814227
13. Collection of em all. ------- http://forum.xda-developers.com/showthread.php?t=1227269
14. Smurfed Out V 6.6 -------- http://forum.xda-developers.com/showthread.php?t=1517724
15. gps.conf files for all countries ------ http://forum.xda-developers.com/showthread.php?t=1233359
## adding kernel to ur rom ---------
$$$$$ CUSTOM KERNEL $$$$$
most important thing for rom developer is that a custom kernel which support features...
rom functionality depends on kernel i.e boot.img & modules files present in system/lib/modules folder.....
whenever u add any custom kernel to ur rom then remember to downlaod & add modules from his thread to system/lib/modules folder......
this is the problem with most of the roms present here thats why some roms have problems like headphone not working........
gps not working.........
camera settings r small.....
etc.....
so try to remember this to add modules to ur rom along with kernel..........
u can add kernels from the following links----
Rafeal's latest kernel ----- http://forum.xda-developers.com/show....php?t=1818830
Hells Fusion latest kernel ----- http://forum.xda-developers.com/show....php?t=2022147
other kernel on general section --- http://forum.xda-developers.com/show....php?t=2026654
$$$$$ Stock Kernel $$$$$
LINK [STOCK KERNEL] ----- http://www.mediafire.com/?8amfqkqq28v1h9f
stock kernel modules ---- http://www.mediafire.com/?7tckgiclaq80aoc
if u face any problem then dont pm me.......
but u can post ur problem here........... so that if any other person have same problem then we can help him also..
i think this is the easiest tutorial ever u ve seen on xda...
hit thanx button if u like my work..........
& rate thread 5 stars & click on newsworthy thread.......
Nice Guide
Will help many newbies
Thanked and rated 5 stars
Will request Mod to make this a sticky
for all the newbies.............
if u follow this tutorial & make a rom for ur self..............
please never post a thread of ur rom until it has some cool features like in ace-cream,simplicity,mindcr,razodroid,etc............
Good Work abhi i hope the many noobs and newbies finally can stop spamming my or other members PM and of course general section . . . Many of this noobs and newbies are very lazy guys and can't search or read threads on xda or google -_-" . . .
abhi922 said:
for all the newbies.............
if u follow this tutorial & make a rom for ur self..............
please never post a thread of ur rom until it has some cool features like in ace-cream,simplicity,mindcr,razodroid,etc............
Click to expand...
Click to collapse
You have snatched my words
I feel all sections filled up by ROMs without any need of them
I myself made 3 ROMs
But never uploaded them as they were nothing compared to the ROMs available
And also due to 16 kb/s connection
Alucard1989pl said:
Good Work abhi i hope the many noobs and newbies finally can stop spamming my or other members PM and of course general section . . . Many of this noobs and newbies are very lazy guys and can't search or read threads on xda or google -_-" . . .
Click to expand...
Click to collapse
man u r right.........
thats why i post this tut wth all possible ways to teach them............
Very nice guide, hope in the future will complete with more "how to edit" framework, scripts and stuff :good:
this thread should be sticky :highfive:
Very nice guide. It is what I'm looking for...
It will help me so much.
Thanks, thanks...
This is a very useful stuff.
Thanks for the tutorial.
Sent from my GT-S5830i using xda app-developers app
Humberto.Ortega said:
Very nice guide. It is what I'm looking for...
It will help me so much.
Thanks, thanks...
Click to expand...
Click to collapse
schakusa said:
Very nice guide, hope in the future will complete with more "how to edit" framework, scripts and stuff :good:
this thread should be sticky :highfive:
Click to expand...
Click to collapse
brijeshep said:
This is a very useful stuff.
Thanks for the tutorial.
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
thanxx......& will update it with some more things,tuts.............
so keep tuned....
So, before going to make a custom ROM, you should first odexed then deodexed the ROM before making a custom one? Sorry.. Can't barely understand the tutorial.. But thanks for it..
anmino said:
So, before going to make a custom ROM, you should first odexed then deodexed the ROM before making a custom one? Sorry.. Can't barely understand the tutorial.. But thanks for it..
Click to expand...
Click to collapse
in short flash stock one........
stock=odexed
then perform deodexed..........
its simple ..........
When I extract and modify the rom.zip, Should I sign the zip before flash it using CWM?
thanks...
Humberto.Ortega said:
When I extract and modify the rom.zip, Should I sign the zip before flash it using CWM?
thanks...
Click to expand...
Click to collapse
Yes. You flash zip files through CWM recovery.
Sent from my GT-S5830i using Tapatalk 2
schakusa said:
Very nice guide, hope in the future will complete with more "how to edit" framework, scripts and stuff :good:
this thread should be sticky :highfive:
Click to expand...
Click to collapse
Here is the link
There is already a guide
http://forum.xda-developers.com/showthread.php?t=2010679
This guide we will use systemui as an example for deodexing.
Download androblacks apktool below. Install.
Open apk and update it when prompted. go into settings. Make sure you tick "root" option at the bottom. Close the app.
Use any root file browser and create a folder on SD card called "apktool."
Go into system/privapp and copy over systemUI.apk and systemui.odex into apktool folder on SD card. Go back to system/framework and Copy over framework-res.apk to apktool folder on SD card.
Open apktool app and click on internal storage. Select apktool folder. Click on framework-res and in select install as framework. When its done select systemui.apk and also install as framework.
Once completed click on systemui.odex and select decompile for android N. When finished long press on the decompiled odex folder and select recompile. It will create a systemui.dex file. Click on the systemui.dex file and select "add to apk" option. The dex file will now be added to the original systemui.apk. to make sure it worked click on the apk file in your root browser and select view, inside you will see a classes.dex file. Use apktool to now decompile the original systemui.apk and you will now have a decompiled smali folder.
I used this method to deodex my systemui in order to make the necessary mods for 3minit battery mod.
Link to andro Black's apktool:
https://www.androidfilehost.com/?fid=817550096634742560
Hi thanks for sharing this. It seems really cool but when would this be needed? Is this supposed to be for odexed roms and what does deodexing really do anyway? Or is this just because it's possible. Thanks
Odexed applications cannot be decompiled and edited to the same level that a deodexed application can. I'm not going to go into the detailed differences between odex/deodex, a simple google search will clear that up. Odex apks are bifurcated, with odex file containing optimized code readily available for the system to use.
Anyone wishing to modify an apk, especially theming, will need to deal with deodexed files, no odex.
Pain-N-Panic said:
Odexed applications cannot be decompiled and edited to the same level that a deodexed application can. I'm not going to go into the detailed differences between odex/deodex, a simple google search will clear that up. Odex apks are bifurcated, with odex file containing optimized code readily available for the system to use.
Anyone wishing to modify an apk, especially theming, will need to deal with deodexed files, no odex.
Click to expand...
Click to collapse
Oh okay that makes sense whenever I've modified apks they've been deodexed but I've never really looked at odexed files as I'm always on a custom ROM. Thanks
Sorry for noobish questions. When finished do you recompile the SystemUi_src? Also if doing other apps do you need to install each apk as framework? The system/framework only gets done once, but if moving on to others do I need to delete the other apk that was installed as framework?
Delete