Hi, this is a script for converting the Deodexed firmware to Odex Structure.
This script is created by Me , ported from vLad's work & mixed TearsDontFalls work for useable for galaxy not.
This is for Samsung Galaxy note & maybe s2(if you test for s2 p.m me) Official Firmwares.
Instruction:
be sure your phone is rooted and The Java Runtime packages is installed on your pc
1: Download The Attachment and Extract it to your PC.
2: Put your phone into USB Debug mode or reboot into recovery and mount system
Code:
Settings > Application > Development
Enable The USB debugging mod
3: Connect The USB Cable into your phone
4: Run the
Code:
odex.cmd
file from downloaded attachment.
5: Your phone will start the Odex Converting and also will Zip_align all applications.
This script will ODEX all fles on your phone:
Code:
/System/app
/System/framework
-------------------------------------
if has error MobileTrackerEngineTwo.apk you most cut this file from /System/app and odex rom after reboot call back this file
Credits:
Mehrzad_63
M_J_Nazari
Vlad
TearsDontFalls
Click to expand...
Click to collapse
DISCUSSION THREAD
http://forum.xda-developers.com/showthread.php?t=1608715
Hello Mehrzad,
You asked me to reply in this thread. The question was how to re-odex a deodexed S2 Samsung 4.0.4 Rom.
I quote:
mehrzad1363 said:
Hello Existence
First you can use this Thread for odexing
this odexer for note and i think work this with S2 . but if you get bootloop upload init.rc in root your phone.
for Deodexer i Necessarily get S2 .Because change this method for any app in system and apks in S2 .
Deodexer is the first way in Windows without linux and I do not have access to different phones.
Click to expand...
Click to collapse
@[email protected] said:
Hi Mehrzad, I'm playing with it as we speak! I changed your odex.sh with bootclasspath for the S2:
Code:
/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
But no boot... :crying:
Will upload my init.rc.. Where can I find this?
Will look for it now!
Edit: Here's my init.rc. Thanks for looking into this!
https://dl.dropbox.com/u/25779832/init.rc
Click to expand...
Click to collapse
My init.rc is in the above quote.
The S2 community would be very thankfull if you could make this handy script work for the S2! (I9100)
why should we odex again?
meethere said:
why should we odex again?
Click to expand...
Click to collapse
Odexed is known and proven to be more smooth, fast and less RAM-eating then a De-odexed Rom.
The disavantage is that your Rom will become less easy to customize...
@[email protected] said:
Hello Mehrzad,
You asked me to reply in this thread. The question was how to re-odex a deodexed S2 Samsung 4.0.4 Rom.
I quote:
My init.rc is in the above quote.
The S2 community would be very thankfull if you could make this handy script work for the S2! (I9100)
Click to expand...
Click to collapse
1- open init.rc with notpad ++ and get line BOOTCLASSPATH.
2- replace this line into odex.sh in odexer package
3- next line in odex.sh edit with all jar BOOTCLASSPATH and save
4- for any apk in app folder if get error moved this file to oder folder and finish re-odex callback this file.
Common this way for all android phone . :good:
I have idiot question
How can i knows my rom is odex after run odex.cmd(working)? I dont see anything odex file in system/app and system/frammerwork
Related
This file to support Arabic language in 4.1.57
Installation instructions:
1- Root
http://forum.xda-developers.com/showthread.php?t=1016060
2-
A- GingerBlur ★ v1.1
http://forum.xda-developers.com/showthread.php?t=991595
OR
B- GladiAtrix 2
http://forum.xda-developers.com/showthread.php?t=1019097
OR
C- Deodexed 1.5.7
http://forum.xda-developers.com/showthread.php?t=1019994
3- Root Explorer
Download from market
4- Download framework file
http://www.multiupload.com/8HXQ9ADF7P
5- Extract the file then Copy and Replace (framework) to /system/framework/
Very important to change the Permission to rw-r--r-- otherwise you will broke your device.
Restart and enjoy
Well is this going to work in the browser or its the same like the old script that just works in apps and messages ? Thanks tho
this is RTL , not arabic support... it's works for all languges that need RTL
havlaz said:
this is RTL , not arabic support... it's works for all languges that need RTL
Click to expand...
Click to collapse
Can you please explain what that means ?
Sent from my MB860 using XDA Premium App
azy8000 said:
This file to support Arabic language in 4.1.57
Installation instructions:
1- Root
http://forum.xda-developers.com/showthread.php?t=1016060
2-
A- GingerBlur ★ v1.1
http://forum.xda-developers.com/showthread.php?t=991595
OR
B- GladiAtrix 2
http://forum.xda-developers.com/showthread.php?t=1019097
OR
C- Deodexed 1.5.7
http://forum.xda-developers.com/showthread.php?t=1019994
3- Root Explorer
Download from market
4- Download framework file
http://www.multiupload.com/8HXQ9ADF7P
5- Extract the file then Copy and Replace (framework) to /system/framework/
Very important to change the Permission to rw-r--r-- otherwise you will broke your device.
Restart and enjoy
Click to expand...
Click to collapse
Azy what did you use to modify the framework file ? And what pointed you in that direction to target it and modify it ?
Sent from my MB860 using XDA Premium App
molotof said:
Can you please explain what that means ?
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
hebrew and arabic are writen from right to left [ R T L ]
so by modifing the framework we are "fix" our problam with sms texting and emails.
but - every ROM have a Diffranet framework..
so i don't know if this file works for all of them.. (unless he checked it)
here is a program that does the fix automaticly - for any android phone!
(must have root and deoxded rom)
https://code.google.com/p/and-rtl-patcher/
originaly was for HD2 android but works for all android phone
just chack in Interface : stock (no sence)
and build base : Nand
and click GO GO GO
Thanks havlaz for lighting up my path
Thanks guys... is there a way to get that without having a custom ROM i.e. with only a root?
TareX said:
Thanks guys... is there a way to get that without having a custom ROM i.e. with only a root?
Click to expand...
Click to collapse
The only way to modify the framework is to deodex (untangle) the files so you can modify one without wreaking the whole system into a brick and having to go thru loops to bring it back to normal, there is no harm in deodexing right now, whats your issue with not putting deodexed framework files ?
molotof said:
The only way to modify the framework is to deodex (untangle) the files so you can modify one without wreaking the whole system into a brick and having to go thru loops to bring it back to normal, there is no harm in deodexing right now, whats your issue with not putting deodexed framework files ?
Click to expand...
Click to collapse
Well I heard I'll be missing out on the Atrix update if I do that... that's all. But then again the benefits of a Deodex seem to outweigh those of the new update...
molotof said:
The only way to modify the framework is to deodex (untangle) the files so you can modify one without wreaking the whole system into a brick and having to go thru loops to bring it back to normal, there is no harm in deodexing right now, whats your issue with not putting deodexed framework files ?
Click to expand...
Click to collapse
Molotov, does this Arabization patch fix the disconnected arabic words in the Launcher Pro facebook widget?
Thing is my Atrix was bought off ebay so if I brick it, it's over...
Yes it does work with facebook, but I am not sure about launcher pro
Sent from my MB860 using XDA Premium App
Hi there... When I unzip, I get a framework folder but no Framework file!
هذا ملف التعريب
http://www.4shared.com/file/hTTmbwfy/Arabic-Farsi_Atrix_4g.html
salem190 said:
هذا ملف التعريب
http://www.4shared.com/file/hTTmbwfy/Arabic-Farsi_Atrix_4g.html
Click to expand...
Click to collapse
Thank you. Will this version work with 4.1.57?
hisham2k said:
Thank you. Will this version work with 4.1.57?
Click to expand...
Click to collapse
Yes, but I do as is shown in the picture after the transfer of files
/ system / fonts / DroidSansArabic.ttf
/ system / framework / framework
After finishing work to restart the device
salem190 said:
Yes, but I do as is shown in the picture after the transfer of files
/ system / fonts / DroidSansArabic.ttf
/ system / framework / framework
After finishing work to restart the device
Click to expand...
Click to collapse
Thanks again... Works beautifully except that all GMAIL headers now say "Forgot password?"...
Any ideas.
hisham2k said:
Thank you. Will this version work with 4.1.57?
Click to expand...
Click to collapse
I can confirm that the Arabic RTL fix by the DroidSansArabic.ttf/framework.jar files overwrite does work with both Gingerblur and Gladiatrix ROMS on 4.1.57.
Cool, but now that I have RTL, how do I actually get Arabic?
How do I get:
1) Fonts
2) Keyboard that actually works properly?
3) What is everybody else doing?
Thanks
Please solve the problem in Gmail.
Browser is solved by replacing it with Firefox or opera.
The only remaining is Gmail and it is so so important to be Arabized.
By the way is there any alternatives to gmail where we can see emails with Arabic connected letters? any suggestions?
My question is that I want to convert a stock rom (.tar format) into cwm flashable zip having customised features like :-
rooted with su
busybox
zipalign
deodexd
Can somebody help me pls...........
really need to cutomise my stock rom myself
no replies ???
Try dsixda kitchen.Search and you would find it.The thread has the tutorials.Though it is not compatible with note you could do basic operations like deodexing,zipaligning etc...
vijai2011 said:
Try dsixda kitchen.Search and you would find it.The thread has the tutorials.Though it is not compatible with note you could do basic operations like deodexing,zipaligning etc...
Click to expand...
Click to collapse
Yes, Kitchen works great for deodexing, zipaligning and signing Roms, but doesn't create correct updater scripts for me.
I use x ultimate to deodex.
Here are guides I found helpful when I wanted to cook it myself
(My gratitudes to thering1975, gadgetcheck, HumanoidTalking and original_ganjaman)
http://forum.xda-developers.com/showthread.php?t=1441409
http://forum.xda-developers.com/showthread.php?t=1132724
-----
PS
If cp command does not work use busybox cp to replace odex files.
Deodexing and zipaligning is not development may be I'll share my rom when I learn more
chasmodo said:
Yes, Kitchen works great for deodexing, zipaligning and signing Roms, but doesn't create correct updater scripts for me.
Click to expand...
Click to collapse
But it worked for me.Did you change to edify after doing chances in the kitchen?
I almost forgot the options because I fully switched to manual thing because Its good for starter but not for persons who need to become a pro
Tutorial to add Lg classes to the framework.jar in order to make work the original weather widget of LG in every rom.
I have made this process successfully in the CyanogenMod 7.2RC1 and in the MIUI 2.1a.
I discovered this process thanks to doc3000, which created to me the framework.jar of CM7 with Lg classes. After a while researching, I discovered the process.
First of all, make a backup of your rom just in case something goes wrong, be able to recover the terminal restoring it from the recovery, given the fact that a wrong framework.jar will produce a bootlop.
The files you need are:
1) baksmali.jar y smali.jar ,which you can get it from here: http://code.google.com/p/smali/. I have used the .jar files
2) original LG framework.jar file, for example in whatever rom STOCK, available in “/system/framework/framework.jar”
3) framework.jar of the rom to which we want to add the LG classes, available in “/system/framework/framework.jar”
4) WeatherWidget.apk which you can get too from whatever STOCK rom, available in “/system/app/WeatherWidget.apk”
1) Open a console, then cd to the folder where you have the 4 files. Run:
Code:
java -jar baksmali.jar framework.jar -o outlg
This will make a folder named “outlg”, which it will have all the LG Classes of the framework.jar
2) Repeat the same with the framework.jar of the rom that we want to add the LG classes running the command
Code:
java -jar baksmali.jar framework.jar -o out
3) Go to the folder “outlg/com” and make a copy of the “lge” folder to the “out/com” folder.
4) Now run
Code:
java -jar smali.jar out -o classes.dex
5) Open the framework.jar of the rom that we want to add the LG Classes with Winzip / 7zip ... , and replace the file classes.dex from the inside by the one we just have created. (Don't use Winrar, it make an incorrect framework.jar with a bootloop as a result. I don't know if Winzip work, but I confirm 7zip yes)
6) Insert the modified framework.jar to the “/system/framework” overwritting the original file, and checking that it has group and owner “root” and the correct permissions ( To know the correct permissions, look the permissions of any file in the folder “/system/framework/”...)
7) Copy the file “WeatherWidget.apk” in “/system/app/” and put he same permissions as any apk in that directory, check that the group and the owner are “root” too
8) Restart the device, and here we have the original LG weather widget in our favourite rom.
This process should work in every rom in every device, not only in the Optimus Black, but I could not check it because I only have an Optimus Black.
Sorry for my english >.<
Cheers!!!
Thank you i gonna try it out. but why it is in Q&A section? Maybe moderator could move this thread to themes&apps section? xD anyway thank you dude
I have less than 10 posts, I can't post on Development forum, but you are right, apps and themes are the correct forum, sorry >.<
Enviado desde mi LG-P970 usando Tapatalk
It ok maybe moderator can move it some day and more people find it?
Sent from my P970 using XDA
Hang on, i got an idea. i can create thread for you and put link on this thred hows that?
Runtime,
Great toturial on getting stock weather widget to work with cm7.
Any way you could put all this into a flashable zip?
I have abandon stock rom for months now and dont want to go back to extract files. Just too much efforts.
Thanks,
Sent from my LG-P970 using XDA
fongnd said:
Runtime,
Great toturial on getting stock weather widget to work with cm7.
Any way you could put all this into a flashable zip?
I have abandon stock rom for months now and dont want to go back to extract files. Just too much efforts.
Thanks,
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
If i could make you a flashable zip i would make it for you. But i dont know how to. So ill just make you a zip containing all of needed files c: (btw it seems like the original poster of this left this thread D: )
Sent from my LG-P970 using XDA
Hi all,
I can do a normal zip with all the files needed. This night I will do the zip.
A flashable zip is usseles when developers make a change involving "CyanogenMod/android_frameworks_base" because the framework.jar change. You need to do the process again to get a new framework.jar or you will get a bootlop.
Since u back so i ask qustion again...
Do you want me to open thread for you in themes and apps and give a link to your post... i take no credit for ur work.. so want me to?
P.S. im making zip now
Sent from my LG-P970 using XDA
foggydisaster said:
If i could make you a flashable zip i would make it for you. But i dont know how to. So ill just make you a zip containing all of needed files c: (btw it seems like the original poster of this left this thread D: )
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
thanks for offering me all necessary files.
I've just go through the tutorial again to rehearse all the command that I need to do.... I think I will screw up on this.... I have a busy life and I cant afford to have bootloop on phone. Just too time consuming.
Zip Is Here!
As i promised, ZIP with all STOCK files you need to go Good Luck with this
LINK:
->> http://dl.dropbox.com/u/78691851/StockFiles.zip <<- Have fun c:
foggydisaster said:
As i promised, ZIP with all STOCK files you need to go Good Luck with this
LINK:
->> http://dl.dropbox.com/u/78691851/StockFiles.zip <<- Have fun c:
Click to expand...
Click to collapse
Have you try this? meaning get the lg weather widget to work on cm7/muiu
The command that RUNTIME listed... do we execute these on the Android Terminal on the phone
thanks,
fongnd said:
Have you try this? meaning get the lg weather widget to work on cm7/muiu
The command that RUNTIME listed... do we execute these on the Android Terminal on the phone
thanks,
Click to expand...
Click to collapse
As i understood you do this in ADB on your PC....ive got an idea, i can do this for ya just send me your framework.jar (/system/framework/framework.jar) And i can try aply this for you
foggydisaster said:
As i understood you do this in ADB on your PC....ive got an idea, i can do this for ya just send me your framework.jar (/system/framework/framework.jar) And i can try aply this for you
Click to expand...
Click to collapse
link below is the framework.jar from my CM7
https://docs.google.com/open?id=0BwQDdoY7L1pGQ1J6MmQ1Y1pRSUU
thanks,
fongnd said:
link below is the framework.jar from my CM7
https://docs.google.com/open?id=0BwQDdoY7L1pGQ1J6MmQ1Y1pRSUU
thanks,
Click to expand...
Click to collapse
Ok dude its night now so ill do this for you tomorow c: but ull have this i promise nighty night
Sent from my GT-I9001 using XDA
Hi all,
@foggydisaster
I apreciate you offer, I you want to do for me, I thanks you.
The commands are for a windows/linux terminal/shell with java installed, no need to have ABD or android SDK installed. On windows do Start->Run->Cmd, on linux simply open a terminal emulator.
runtime_Err0r said:
Hi all,
@foggydisaster
I apreciate you offer, I you want to do for me, I thanks you.
The commands are for a windows/linux terminal/shell with java installed, no need to have ABD or android SDK installed. On windows do Start->Run->Cmd, on linux simply open a terminal emulator.
Click to expand...
Click to collapse
Ill go with ubuntu c:
Sent from my GT-I9001 using XDA
i have a problem... when i run comand to extract LGE framework.jar it shows folowing:
"
Code:
[email protected]:~/Desktop/workfolder$ java -jar baksmali.jar framework.jar -o outlg
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:265)
[email protected]:~/Desktop/workfolder$
Any ideas?
foggydisaster said:
i have a problem... when i run comand to extract LGE framework.jar it shows folowing:
"
Code:
[email protected]:~/Desktop/workfolder$ java -jar baksmali.jar framework.jar -o outlg
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:265)
[email protected]:~/Desktop/workfolder$
Any ideas?
Click to expand...
Click to collapse
I edit my first post with CODE tags, copy again the commands and it will work. It's a problem with the "-" simbol in plain text with browser. My fault.
Still the same itworks with CM7 framework filebut not with LGE..
Hey buddys, I found a [HOW TO] for Multi-window port.. I'm going to give a try
Now, my problem is that the environment is setted up, I think, correctly but I can't decompile "SecSettings.apk"
Every time I try with "APK Multi Tool" "Apktool" "Apk Manager" I have errors like this:
This is my ADB Variable:
And my PATH is this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_11\bin;C:\Program Files\Java\jre7\bin;C:\Program Files (x86)\Android\android-sdk;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Android\android-sdk\tools
The PATH is correct because there are JDK and JRE installed, same for SDK..
How can I fix this? Thanks in advance people!!
Re: [Q] [HELP] Can't decompile SecSettings.apk
Did you install the framework and tw-framework?
Sent from my GT-I9070 using xda premium
I installed correctly the frameworks now and edited the files using the SGS II [HOW TO]..
Bootloop.. Im sure bootloops because I used the SGS II files, I dont know if are the same smali and jar's files of Advance..
I'll study better this later, now im going to find another mods for JB..
Thanks Shaaan!
fedevd said:
I installed correctly the frameworks now and edited the files using the SGS II [HOW TO]..
Bootloop.. Im sure bootloops because I used the SGS II files, I dont know if are the same smali and jar's files of Advance..
I'll study better this later, now im going to find another mods for JB..
Thanks Shaaan!
Click to expand...
Click to collapse
You didn't sign file. Copy Meta-INF from original to the new one. Open files with WINRAR for that.
Still bootlops..
Leave this thread like SOLVED and when you can gimme a hand, if you want of course
Does multiwindow works
Sent from my GT-I9070 using Tapatalk 2
Одг: [SOLVED] Can't decompile SecSettings.apk
fedevd said:
Still bootlops..
Leave this thread like SOLVED and when you can gimme a hand, if you want of course
Click to expand...
Click to collapse
Try to put resurces.arsc from compiled to original file. With WINRAR, and set compression to lowest - storage it is I think. And then try it.
Sent from Galaxy S Advance
shut_down said:
Try to put resurces.arsc from compiled to original file. With WINRAR, and set compression to lowest - storage it is I think. And then try it.
Sent from Galaxy S Advance
Click to expand...
Click to collapse
The problem is completely solved. Merry Christmas.:good::fingers-crossed:
This Is The Mod Which I Made By Myself..And Till Yet I Dint See This Guide In Galaxy Y/Y Duos Dev Thread/Forums
Hope So I Am The First One
Do You All Wanna Use MoD SystemUI By Kenjboy On Odexed Stock Rom..Mainly Those Which Have Swipe2Remove Feature...??
If Yes Then Just Keep Open Your Eyes Its Gonna Be Very Interesting.When I Will Manually Tell You-How To Add This On Odexed Stock Rom
REQUIREMENTS :-
Freshly DeOdexed Stock Rom..(I Used DDLG1 Deodexed Firmware)
XDuos's(Custom Rom=Xduos V3 2.0) Framework.jar Coz ICS Bars Framework Doesnt Boot Up When Odexed
Apktool (Mobile Version) [Its Not So Important]
14 toggles black
In Case If Your Status bar Is Gone
Link---- http://forum.xda-developers.com/attachment.php?attachmentid=1404835&d=1350337506
Mod SystemUI
Link--- http://forum.xda-developers.com/showthread.php?t=2364522
Rom-Odexer For Galaxy Y
Link--- https://www.box.com/s/lcmvrakwugd6n5cwllq5
Root Explorer
STEPS >=< Follow It Carefully
*** [For Bricked Results I Will Not Be Held Responsible] [[Cwm Backup Is Must]]
No Brick Should Occur If You Follow Carefully***
1.Install Deodexd Firmware
2.Extract ICS Bars,Then Delete Framework Folder In It Again Make Zip and ReInstall Ics Bars Mod By Kenjboy **I Used V3 Swipe2Remove+Battery Percent**
If You See Your Status Bar Gone After Installing..Then Just Install 14-black toggles For Stock Rom...And After That Only Again Install The ICS Bars(The Zip Which You Made Just Recently ...Without Framework folder)
3.Use Root Explorer...Open Xduos V3 2.0 Custom Rom.Copy Framework.jar
System>Framework>framework.jar
Copy It To Anywhere On Sd Card
4.Now make Odex of Your Installed SystemUI By Apktool.apk
**Check For The Odex Files Below**
Extract The Required Zip File And rename it to SystemUI.odex
5.Copy The SystemUI.odex File In System/app/Here **No Need Of Setting Permissions**
6.Then Now Make Flashable Zip Of framework.jar Extracted From Xduos Rom and Install It Through CWM
**Or Else You Use Root Explorer To Move It In System/framework/Here
It Will Replace The Stock Framework**No
7.Now Its All Done ..Just Reboot Into Recovery....And Flash Rom-Odexer-For Galaxy Y's Script...Which Will Odex Your Stock Rom For More Free Internal Space..
Now Its Finally Completed
CREDITS
Kenjboy For Awesome SystemUI Mod
If I Dint Mention Any1 Of Yours then please post here I Will Add Too
Enjoy And Press Thanks If I Helped You
where are the credits for 14toggles black?
-CALIBAN666- said:
where are the credits for 14toggles black?
Click to expand...
Click to collapse
Who Is The Dev Of 14 toggles black..Is It U??
you see the name in thread where i have posted it!its from Kundal,but dont mind me ididnt want to flame,its only a suggestion for prevent some problems bro.
-CALIBAN666- said:
you see the name in thread where i have posted it!its from Kundal,but dont mind me ididnt want to flame,its only a suggestion for prevent some problems bro.
Click to expand...
Click to collapse
I dnt knw any1..I Just Found It In Xda Thread and Downloaded...The toggles