FAQ Firmware Modding... How to use Tools like Wave_Remaker and TriX - Bada Software and Hacking General

PLACEHOLDER.
If I have more time today. I will upload few Videos... Screenshots... etc.
About working with these files:
Code:
ShpApp.[B]app[/B]
rsrc_S8500_Open_Europe_Common.[B]rc1[/B]
FactoryFs_S8500_Open_Europe_Common.[B]ffs[/B]
CSC_S8500_Open_Europe_Common_DBT.[B]csc[/B]
and also...
Code:
apps_compressed.bin
amss.bin
Rsrc2_8500(Low).rc2
Lesson 1...
Working with HEX Editor to find MD5 sum ... See here:
http://forum.xda-developers.com/showthread.php?p=25686868#post25686868
To be continued...
Best Regards

Thank you for helping.I only don't know about amss.bin

Code:
S8[B]6[/B]00 [B]XXLD[/B]1 DBT [B]MD5[/B]
amss.bin 726C9536CDAE7F3A330A539B324B4E09
apps_compressed.bin B13B931FC61386A777340D5C4697DFDC
bplib_S8600OpEuroCommon.fota 70ABC89638959F4760A41118E5414F45
CSC_S8600_DBTLB1.csc 5FA176E8B64B3DEBE6AD6A78AA40D999
PFS_S8600_Open_Europe_Common_XXLA1_XXLD1.pfs 394A8265DFB37978AFC93E5D4B549F61
Rsrc2_S8600(Low).rc2 B06D2E03FC2B3A519BCA52C5B40EF556
Rsrc_S8600_Open_Europe_Common.rc1 6CC6D2E82302036FC910AE3EEC79990F
ShpApp_HD.app 063DD3BF6D00828BEDF25A0955F48D1E
Each file has MD5...
It is 16 Byte...
Here I have written about S8600 XXLD1 Firmware as "reference"...
You can find these MD5 "Values" at end of file...
See Video previous post...
Best Regards

I want to Understand About Social Hub Premium on Wave II
I Made it Custom Firmware with soical hub premium for my Wave I Firmware DXLD1
When I made It for Wave II (DXLD1) It is giving error while Log in Facebook and Twitter
I did everything the same that Wave I.But it stilld isn't working on Wave II
I am facing this problem.What i did wrong ? Exactly I don't know
Best Regards

Tutorial 1: Using TriX to Modify Firmwares. A Beginner's Guide
Tutorial: Using TriX to Modify Firmwares. A Beginner's Guide
1. Create a folder in your pc where you will save the dumped files from TriX. Example, create a folder in Local Disk C, called Test.
2. Keep the Firmware you need to modify at desktop for easy access.
3. Launch TriX
4. Check the box for Input File ==> click on the search icon ==> click desktop from the Explorer window and select the firmware file (e.g. ShpApp.app), then click Open (to load the file).
5. Check the box for Output File (where the modified file will be saved) ==> click on the search icon ==> click Local Disk C from the Explorer window and double-click the folder Test. Then enter the File name for your modified file, e.g. ShpApp.app, then click Save (to save the file).
6. After you have selected the input file, and specified the output file name and location, which are under the General tab of TriX, now click on the Scripts tab of TriX.
7. Under the Scripts tab, click on the search icon (at bottom left of TriX) ==> expand the displayed bada folder ==> select fs_shell.trx ==> Open ==> Add
8. After adding the script file, click Start (on top menu) ==> enter 2 (for Your choice) to dump files, then press ENTER.
9. Write C:/Test (for Enter Destination Directory) i.e. if you have created a folder Test as in nº 1 above, then press ENTER. TriX will now dump the files to the directory C:/Test. Wait till the dumping process completes.
10. Now go to the directory C:/Test, and edit any folder/file you want.
Caution: Do not Close TriX yet. Make sure TriX is still open.
11. After editing the dumped files as you like (in C:/Test), go back to TriX and enter option 3 (Your choice) to upload the files. After uploading, enter option 0 to quit. Now close TriX.
12. Your new modified file will be saved at C:/Test.
That’s all. I hope this basic tutorial will help those just beginning to learn how to use TriX.
See attached files for details and screenshots.

Not much time yet...
Meanwhile you can also watch such Videos.
http://www.youtube.com/watch?v=BRWpJWxnylk&feature=player_embedded
Thanx JabbaIsFat
Best Regards

Tutorial 2: How to reduce files from firmware to improve speed
In this tuotrial, you are guided to the files you can safely remove from your custom firmware to increase memory and speed. These files/folders are in the CSC, SHP and FFS. So use TriX or WaveRemaker to dump the files first.
1. CSC FILES
a. Appex => SysDefault => Java => Games => (delete all the games here).
b. CSC => Customer => (delete all except your preferred CSC)
c. CSC => SW_Configuration.xml => (delete all except your CSC. Also edit <NbCustomer>1</NbCustomer).
d. SystemFS => Settings => PreConfiguration (delete all CSC except yours).
Don't delete neither "PreConfiguration.ini" file nor "Default" folder.
2. ShpApp FILES
Osp => Applications => delete the following folders:
a. 1xd3tvpnc5 (Music Hub)
b. 5zdx8bkb6w (Yahoo)
c. 8c59h50loa (GTalk)
d. 577yx64nrt (Caster)
e. 760n3w3202 (MSN)
f. kfdoqs63to (ChatON)
NB: You can as well delete all the language xml files (except your own language) inside "Res" folder of these application:
i. 0rq06e23py (SevenIM)
ii. 8d7uw8z551 (Kona)
iii. rcz4775900 (Bori)
AppEx => Sys (delete this whole folder "Sys"completely).
The Sys folder contains the subfolders listed below which are not used (and already exist in the ShpApp/Osp/Application).
i. BDAgent ===============> [36cbr89p8t in the ShpApp/Osp/Application (BDAgent)]
ii. SamsungAccount=========> [rcz4775900 in the ShpApp/Osp/Application (Bori)]
iii.SamsungApps============> [8d7uw8z551 in the ShpApp/Osp/Application (kona)]
iv. Z7Engine===============> [2482tqy39g in the ShpApp/Osp/Application (z7clientengine)]
3. FFS FILES
a. AppEx => Sys => Widget => (delete these folders: AccuWeather, GoogleMobileService, Memo).
b. Media => Sounds => (delete the "Over the horizon.mp3" file)
c. SystemFS => Media => (from the folders listed below, delete the specified files):
i. Images => delete all except "Wallpaper 01.jpg" and "Wallpaper 02.jpg"
ii. Others => delete the pdf file.
iii. Sounds => Alert tones => delete all except "Cloud.wav", "Good morning.wav", "Haze.wav", "On Time"
iv. Sounds => Ringtones => delete all except "Samsung tune.mp3"
NOTE: Removal of these items will not affect your phone in any negative way.
Rather it will immensely improve the speed and stability of the phone.
Example, you can conveniently now play the Asphalt6 HD game without problems.
Total Memory of Phone will be approximately as follows:
Free Memory Space:
Application Memory: 838 out of 883 MB
System Memory: 570 out of 575 MB

Related

Batch cab installer

Is there such thing available that would install a selection of cabs at the "click of a button".
Over my time here, I have managed to build a list of favourite applications, however whenever I reflash a new ROM on my device, I have to manually install these applications one by one.
I was wondering if there is some type of auto installer that would auto install a list of 'given' cab files by itself? (perhaps reading the list from an xml or a txt file), and if it required no user interaction, that'd be even better (well maybe it could ask one question, just once... "Install to Device or Storage Card?"
WizzKidd
yeah.. i would like to hav sthg like tat too...
it is very frustrating to install all the programmes after flashing different ROM...
if someone can make sthg like tat will b nice..
Yes there is! Try out Sashimi, you'll have to google for it, don't have it with me. It will install any CAB you throw at it plus it can also run xml files to configure things like email accounts, power settings, etc, etc. After flashing a new rom it takes me all of about 3 minutes to have everything I want installed and all my setting changed to how I want them.
crankshaft said:
Yes there is! Try out Sashimi, you'll have to google for it, don't have it with me. It will install any CAB you throw at it plus it can also run xml files to configure things like email accounts, power settings, etc, etc. After flashing a new rom it takes me all of about 3 minutes to have everything I want installed and all my setting changed to how I want them.
Click to expand...
Click to collapse
which version is that? only on their site it says that the HD will be supported in V8 but they only seem to be at V7.9
Scrap that V8 is out http://www.winmo-experts.com/viewtopic.php?f=7&t=4
I'll have to check that out. I was using 7.9. It aways gave an error about unsupported screen size but still worked fine!
Not sure why but the guy who developed it was banned from xda-dev I believe!
Any chance you can post the app here? Really can't be arsed to register on another site!!!
Cheers
Don't worry, just realised I'm already registered!
Hey, this is a nice app! I'll have to get that, seems great for fast setting up everything after flashing.
to everyone who uses sashimi:
im very interested in your regkeys you backup! maybe you can post your regexport.ini here so we all can see and use the useful regkeys for different programs and settings!
thanks!
Rozenthal said:
Hey, this is a nice app! I'll have to get that, seems great for fast setting up everything after flashing.
Click to expand...
Click to collapse
for that reason i have written my own "autorun" script which does the following:
install cabs
import provisioning files
import registry files
copy files
and could do lots of more...
this is how it works:
copy the script into a folder of your sd card, e.g. \Install. now copy
all cabs into \Install\Cab
all provisioning files into \Install\Xml
all registry files into \Install\Reg
all other files into \Install\Files
the script checks for files in a specific folder and executes the tasks required.
the script requires that mort script is installed. alternatively copy the mort script files (mortscript.exe, mortscript.dll, autorun.exe) into \Install so that you can immediately start with the autorun script after flashing or a hard reset (attention: in this case the name of autorun.mscr and autorun.exe have to be the same - do not rename the script file) . the script also needs a prog "taskmanager.exe" which is only required for importing xml and registry files. it does not do anything else (unless you intentionally run it)
mortscript is available here
task manager is available here
anyway, i have put together all files required in the zip file attached
here is AutoRun.mscr:
Code:
scriptpath = SystemPath("ScriptPath")
Call("InstallCabs")
Call("CopyFiles")
Call("ImportXML")
Call("ImportReg")
Message("Done. Press OK to Reset...", "AutoInstall")
Reset
Exit
Sub InstallCabs
ForEach file In Files(scriptpath \ "Cabs\*.*")
RunWait("\Windows\wceload.exe", """" & file & """ /nodelete /silent")
EndForEach
EndSub
Sub CopyFiles
XCopy(scriptpath \ "Files\*", "\", TRUE, TRUE)
EndSub
Sub ImportXML
ForEach file In Files(scriptpath \ "Xml\*.*")
RunWait(scriptpath \ "TaskMgr.exe", "/provxml " & file)
EndForEach
EndSub
Sub ImportReg
ForEach file In Files(scriptpath \ "Reg\*.*")
RunWait(scriptpath \ "TaskMgr.exe", file)
EndForEach
EndSub
but why dont you just use sashimi? it does the same plus some more things (email settings, wireless passwords,..)
Another vote for sashimi, my only dislike is the interface its shockingly bad. The window disappears for every menu option you go to!
output is version 8, the bug has been fixed, or you can use the modified version 7.9 for HD.
As you know how to save the settings for various programs to be able to restore automatically with sashimi?
you can automatically record programs that require activation key, how?
Most things can be done with the regexport.ini file in the program/ini folder.
You can define which registrykeys should be backed up. Most programs store there configuration and serial keys in the registry. So you just have to search for the right entry.
Here is my regexport.ini
Code:
[MySettings]
RegExportDirMode=Auto
key1=HKCU\Software\ageye\
key2=HKCU\Software\Conduits\
key3=HKCU\Software\FdcSoft\
key4=HKCU\Software\Ghisler\
key5=HKCU\Software\JBlend\
key6=HKLM\Software\FLIP\
key7=HKLM\Software\HTC\QuickGPS\
key8=HKLM\Software\Spb Software House\
key9=HKLM\Software\HTC\Manila\ProgramLauncher\
key10=HKCU\Software\HTCAddicts\cleanRAM\
key11=HKLM\Software\Microsoft\Bluetooth\A2DP\Settings\
key12=HKCU\Software\DaProfik\pRSSreader\
key13=HKLM\Software\HTC\HTCAlbum\Ignored\
egoist6 said:
for that reason i have written my own "autorun" script which does the following:
install cabs
import provisioning files
import registry files
copy files
and could do lots of more...
this is how it works:
copy the script into a folder of your sd card, e.g. \Install. now copy
all cabs into \Install\Cab
all provisioning files into \Install\Xml
all registry files into \Install\Reg
all other files into \Install\Files
the script checks for files in a specific folder and executes the tasks required.
the script requires that mort script is installed. alternatively copy the mort script files (mortscript.exe, mortscript.dll, autorun.exe) into \Install so that you can immediately start with the autorun script after flashing or a hard reset (attention: in this case the name of autorun.mscr and autorun.exe have to be the same - do not rename the script file) . the script also needs a prog "taskmanager.exe" which is only required for importing xml and registry files. it does not do anything else (unless you intentionally run it)
mortscript is available here
task manager is available here
anyway, i have put together all files required in the zip file attached
here is AutoRun.mscr:
Code:
scriptpath = SystemPath("ScriptPath")
Call("InstallCabs")
Call("CopyFiles")
Call("ImportXML")
Call("ImportReg")
Message("Done. Press OK to Reset...", "AutoInstall")
Reset
Exit
Sub InstallCabs
ForEach file In Files(scriptpath \ "Cabs\*.*")
RunWait("\Windows\wceload.exe", """" & file & """ /nodelete /silent")
EndForEach
EndSub
Sub CopyFiles
XCopy(scriptpath \ "Files\*", "\", TRUE, TRUE)
EndSub
Sub ImportXML
ForEach file In Files(scriptpath \ "Xml\*.*")
RunWait(scriptpath \ "TaskMgr.exe", "/provxml " & file)
EndForEach
EndSub
Sub ImportReg
ForEach file In Files(scriptpath \ "Reg\*.*")
RunWait(scriptpath \ "TaskMgr.exe", file)
EndForEach
EndSub
Click to expand...
Click to collapse
the script not working though I follow your intruction,what's wrong?
str0nz0 said:
Most things can be done with the regexport.ini file in the program/ini folder.
You can define which registrykeys should be backed up. Most programs store there configuration and serial keys in the registry. So you just have to search for the right entry.
Here is my regexport.ini
Code:
[MySettings]
RegExportDirMode=Auto
key1=HKCU\Software\ageye\
key2=HKCU\Software\Conduits\
key3=HKCU\Software\FdcSoft\
key4=HKCU\Software\Ghisler\
key5=HKCU\Software\JBlend\
key6=HKLM\Software\FLIP\
key7=HKLM\Software\HTC\QuickGPS\
key8=HKLM\Software\Spb Software House\
key9=HKLM\Software\HTC\Manila\ProgramLauncher\
key10=HKCU\Software\HTCAddicts\cleanRAM\
key11=HKLM\Software\Microsoft\Bluetooth\A2DP\Settings\
key12=HKCU\Software\DaProfik\pRSSreader\
key13=HKLM\Software\HTC\HTCAlbum\Ignored\
Click to expand...
Click to collapse
Thanks for your reply, I just solved a file.reg
Question
is possible to automatically with SAHIMI select the language for installation
resco explorer (multilingual) select /italiano / ok
resco audio explorer (multilingual) select /italiano / ok
is possible to automatically with SAHIMI select the answer is no when asked to reset to complete the installation of
SPB Wireles monitor select /no
SPB Phone Suite select /no
perhaps with a Mortscript running in tandem, I unfortunately do not have capable people who give me a hand?
Thanks for your reply, sorry my bad English
You can do that with the so called auto files.
it is explained in the manual of sashimi.
i have never tried it but it should work like you want.
str0nz0 said:
You can do that with the so called auto files.
it is explained in the manual of sashimi.
i have never tried it but it should work like you want.
Click to expand...
Click to collapse
unfortunately I do not know how to fill the auto file, could you please make some examples that help me understand
Thanks for the great help
ippoglosso said:
unfortunately I do not know how to fill the auto file, could you please make some examples that help me understand
Thanks for the great help
Click to expand...
Click to collapse
[AutoFile]
InstallLocation=0
WindowTitle="SpbPhoneSuite_it.arm.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
[AutoFile]
InstallLocation=0
WindowTitle="SpbWirelessMonitor3_it.arm.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
[AutoFile]
InstallLocation=0
WindowTitle="audiorec_p.arm.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
[AutoFile]
InstallLocation=0
WindowTitle="rescoexplorer_p.ARM.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
I do not know the commands
If you are using a UC capable rom (like miri 6.5) you can make a "SDconfig.txt" and it will install whatever cabs you want as part of the first install process at the windows installing screen.
UC Thread for more info.
SPB BackUp 2.0.2. Clean, simple, fast, easy.
Install once all that You want, make backup (is .exe).

How to build a Flasher

What is needed?
1. Winrar
2. One of the flashers (depending on your device) from the following post: Flasher
After you have both extract the flasher using Winrar. Next place your rom in \LGMOBILEAX\Phone. After that navigate to LGMOBILEAX\SmartPhoneSetup and open SPConf.ini with Notepad. You will see a line called DZNAME =. After the = sign insert the physical name of the rom you placed in the Phone folder. Make sure you have the dz extension at the end. Also make sure there are no spaces in the name of the rom. There is also a line called SWVERSION. You can change that to whatever you want as long as there is no spaces. After you are done with editing this file save it.
Next right-click on the LGMOBILEAX folder and choose Add to Archive. Now name the flasher what you want and then check Create SFX Archive. After that click the Advanced tab. Click on SFX options. Now set path to extract to "C:\Users\All Users" for Windows 7 or "C:\Documents and Settings\All Users\Application Data" for Windows XP. Also set Run after extraction to "LGMOBILEAX\SmartPhoneSetup\SP_Starter.exe".
Note: There are options to set icons, pictures, and text in the installer, but is not necessary. If you want to play with that you can by going to the text and icon tab.
Now that you have all that set click ok and then ok again. It will start to create your flasher. IOnce it is done all you need to do is run it.

[S8500] Enable Social Hub Basic Plus in S8500XIKA1

Is possible without installing modded firmwares? I mean, doing it by hand, avoiding flashing again? Stune or TkFileExplorer can do this?
Thanks - sorry for asking but i've searched a lot finding nothing
Yes you can but (with stune) you have to install the region code after and that made a reset of your phone.
Gremo said:
Is possible without installing modded firmwares? I mean, doing it by hand, avoiding flashing again? Stune or TkFileExplorer can do this?
Thanks - sorry for asking but i've searched a lot finding nothing
Click to expand...
Click to collapse
Unfortunately, it is not possible to activate socialhub premium without modifying first the firmware.
Especially, you need to modify the samsung socialhub web address (or simply replace the "clientstrings-en_US.lan" file) that is in ShpApp.app of the firmware.
This file cannot be edited by STune. It does not even show up in STune. The one that shows up in STune is the one from the FactoryFs file.
When you edit this file with STune, it is automatically overwritten by the original file from ShpApp.app. And you are back to square one.
So it is very necessary to edit the ShpApp.app and flash the firmware before socialhub will be active. You can edit the csc and other files with STune.
spacks said:
Unfortunately, it is not possible to activate socialhub premium without modifying first the firmware.
Especially, you need to modify the samsung socialhub web address (or simply replace the "clientstrings-en_US.lan" file) that is in ShpApp.app of the firmware.
This file cannot be edited by STune. It does not even show up in STune. The one that shows up in STune is the one from the FactoryFs file.
When you edit this file with STune, it is automatically overwritten by the original file from ShpApp.app. And you are back to square one.
So it is very necessary to edit the ShpApp.app and flash the firmware before socialhub will be active. You can edit the csc and other files with STune.
Click to expand...
Click to collapse
Thanks for explanation.
I need first to flash S8500XXJID and then S8500XIKA1 (target firmware). If i've understood correctly, i have to:
1) Download trix (any working link? ) and work with S8500XXJID
2) Edit CSC_S8500_Open_Europe_Common_OXA_XXJID.csc and edit Customer.xml
3) Open ShpApp.app and edit clientstrings-en_US.lan with the new address (will it change in future? )
4) Flash S8500XXJID (full)
5) Flash S8500XIKA1 (light)
Should i edit csc and app also for S8500XIKA1? Can I only modify S8500XIKA1?
ty
Gremo said:
Thanks for explanation.
I need first to flash S8500XXJID and then S8500XIKA1 (target firmware). If i've understood correctly, i have to:
1) Download trix (any working link? ) and work with S8500XXJID
2) Edit CSC_S8500_Open_Europe_Common_OXA_XXJID.csc and edit Customer.xml
3) Open ShpApp.app and edit clientstrings-en_US.lan with the new address (will it change in future? )
4) Flash S8500XXJID (full)
5) Flash S8500XIKA1 (light)
Should i edit csc and app also for S8500XIKA1? Can I only modify S8500XIKA1?
ty
Click to expand...
Click to collapse
Answers:
1. Download Trix from here: http://www.megaupload.com/?d=51WOVLLD
2. Edit only the CSC for S8500XIKA1.
(No need to edit the csc of S8500XXJID as it will be overwritten by the csc of S8500XIKA1).
3. It's easier to replace the clientstrings-en_US.lan with the one from http://www.multiupload.com/VYQX8PFOG9 (It is correct and needs no edit).
NB:
i. Replace the clientstrings-en_US.lan file in BOTH ShpApp.app and FactoryFs (S8500XXJID (full))
ii. Replace the clientstrings-en_US.lan file in ONLY PFS_S8500..pfs (S8500XIKA1 (light))
4. First flash S8500XXJID (full)
5. Lastly flash S8500XIKA1 (light)
Suggestion:
Browse this forum for more tutorials on how to activate socialhub premium (there are many of them).
spacks said:
Answers:
1. Download Trix from here: http://www.megaupload.com/?d=51WOVLLD
2. Edit only the CSC for S8500XIKA1.
(No need to edit the csc of S8500XXJID as it will be overwritten by the csc of S8500XIKA1).
3. It's easier to replace the clientstrings-en_US.lan with the one from bada 2.0
or the one from http://www.multiupload.com/VYQX8PFOG9 (These ones are correct and needs no edit).
NB:
i. Replace the clientstrings-en_US.lan file in BOTH ShpApp.app and FactoryFs (S8500XXJID (full))
ii. Replace the clientstrings-en_US.lan file in ONLY PFS_S8500..pfs (S8500XIKA1 (light))
4. First flash S8500XXJID (full)
5. Lastly flash S8500XIKA1 (light)
Suggestion:
Browse this forum for more tutorials on how to activate socialhub premium (there are many of them).
Click to expand...
Click to collapse
Oh really thanks man the only problem is there is no clientstrings-en_US.lan in ShpApp.app and FactoryFs_S8500_Open_Europe_Common.ffs from JID:...
The clientstrings-en_US.lan file is in App\Osp\Applications\2482tqy39g\Data
And it's possible to active socialhub premium with stune but it's easier to make it directly from a firmware.
that's so annoying I link TriX at NokiX site, then everyone link some copies of what they downloaded earlier - at the end people complain the program is buggy, the script is not working, the procedure entry point couldn't be located
download from NokiX site so you always have the current build with updated scripts if something has changed. Short how to is prepared too...
Hi kubica Have you got the link please?
Is there some new scripts for trixBada?
You will find all stuff at http://nokix.sourceforge.net/trix/
there is no currently new scripts - everything still work, even with new bada 2.0, so there is no need for do that
I'm getting the error "social hub has expired. Contact...", so what's wrong?

[Tutorial] How to Enable/Disable CRT-Off for ICS ROMs

This tutorial is written for those interested in modifying the framework-res.apk to enable/disable CRT-Off effect on ICS (Samsung) ROMs using Windows 7. I'm sure it doesn't vary that much with other operating systems. I have used many tutorials from XDA (sources below) - but I will compile everything into one easy guide. Hope this helps! Otherwise, you can get the CWM flashable ones here.
What you need
- APKTool: apktool.jar, aapt.exe, apktool.bat, apktool1.4.3.tar.bz2
- APK Multi-Tool
- XML Editor: Notepad++ or Windows Notepad
- WinRAR or 7-zip
Update: You can also use this modified ApkTool. - thanks sileshnair.
Instructions
I will be splitting this tutorial into several steps to break down the processes (and possibly provide easier troubleshooting help).
Setting up the Files You Need
1. Download all the files needed above.
2. Install necessary programs (winRAR, 7-zip, Notepad++, APK Multi-Tool, etc.)
APK Multi Tool should ask you to choose a default folder. Just make sure you know where it is.​3. Create a folder where you can access. (for me: My Documents/Flash/APKTool)
4. Place: apktool.jar, aapt.exe, apktool.bat, and apktool1.4.3.tar.bz2 into that folder.
Decompile
1. Obtain framework-res.apk from your phone. This can be done using Root Explorer and going to: system/framework/
2. Place framework-res.apk into the folder where you placed apktool.jar (and the rest of them).
3. Exit the folder (so that you are looking at it as "APKTool"). Hold-shift and right-click the folder (APKTools), and select "open command window here.
4. A command prompt should pop up. Type the following:
apktool if framework-res.apk​apktool d frameowrk-res.apk
This should decompile the framework, allow it to run and close after it completes.​
Editing CRT-Off Effect
1. Once the decompiling completes, go back into "APKTools" folder and you should see another folder (framework-res).
2. Open it, and go to: framework-res/res/values.
3. Right-click bools.xml and either press "edit" or "edit with Notepad++".
4. Find the line that says "(bool name="config_animateScreenLights">true</bool) (I changed the first and last part into brackets because it would comflict with the forum code, it should be "<" and ">" respectively).
5. Change the "true" to "false".
6. Save and close.
Compiling
1. Go back into APKTools folder where you had apktool.jar, apktool1.4.3.tar.bz2, etc.
2. Unzip apktool1.4.3.tar.bz2, and unzip again, inside should be a file called "apktools.jar". Replace the original one in "APKTool" folder.
3. Leave the folder (like you did in decompiling) and hold shift and right-click the folder and select "open command window here".
4. Type the following in the command window:
apktool b framework-res​5. Now go to: APKTool/framework-res/dist/
6. There should a file created called "framework-res.apk", right-click and open with winRAR or 7-zip.
7. In winRAR, click "Extract To" and press OK. (Pretty sure you can extract in 7zip too).
8. This should create a new folder called "framework-res". Go inside it where you see the files (assets, res, AndroidManifest, resource.arsc).
9. Go find your original framework-res.apk (located in the root APKTool/ folder) and right-click and open with winRAR (or 7zip).
10. Select "META-INF" and "AndroidManifest.xml" and extract it to the folder created in step 8.
11. Select-all the files within the folder (of step 8) (it should now contain: assets, res, META-INF, AndroidManifest, resource.arsc) and right-click and "add to archive" (again, with winRAR - sure 7zip is something else).
12. In the prompt, change the following: Archive format = zip, Compression method = store. Press OK.
13. This should once again create a framework-res.zip file in the folder.
14. Press alt (assuming you are using Window 7) > Tools > Folder Options. Press the view tab, and uncheck "hide extensions for known file types.
15. Rename "framework-res.zip" to "framework-res.apk".
Now this "framework-res.apk" file is ready to be pushed to your phone's system/framework folder. Your phone should hang, restart it, and you now have CRT-Off effect! If you want to make a CWM flashable - below is the tutorial.
Making a CMW-Flashable File
1. Go below and download my template.zip. Extract the folder "template".
2. Take the completed framework-res.apk from earlier and place it in: template/system/framework.
3. In the template/ root directory, select META-INF and system and right-click, add to archive.
4. In the prompt, change the following: Archive format = zip. You can rename it to whatever you wish "LPS_CRTOff_On.zip".
5. Take the zip file to where your APK Multi Tool directory and place it in the "place-apk-here-for-signing" folder.
6. Open APK Multi Tool application from the start menu > programs.
7. Press any key to continue, and press 19 (Sign an apk (Batch Support)(inside place-apk-here-for-signing folder only)).
8. It should close when it is done, the zip is now ready to be flashed with your phone.
And there we go. I tried! LOL. Good luck. =) If I wasn't very clear, you can go back to my sources and derive what I did from them.
Sources
- [MOD] Decompile and Rebuild ICS framework-res.apk without errors by stars2
- [Tutorial] How to add CRT TV off effect by tweezit
- [TUTORIAL] How to create an CWM installable .zip (Mod) by FlorisNL
Thanks, thanks and thanks. This is the first method that works for me to decompile framework-res.apk and systemui.apk. Thank you.
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Brotuck said:
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Click to expand...
Click to collapse
I tried it with ICS roms and it did not work for me. Thus - having to use the apktool instead. =(
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
sileshnair said:
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
Click to expand...
Click to collapse
Sweet thanks!
@krazykat
On bools.xml:
<bool name="config_animateScreenLights">false</bool>
It is set to 'false' by default.
Any idea on this? Thanks in advance.
More info: Xperia Neo V, official ICS 4.0.4 by Sony
dafuq is CRT-OFF?
Thanks you so much @ OP
It was a very simple task.

[Q] Problems in Deodex Using ROM Kitchen

I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites:
1. XUltimate or any other similar tool which can pull all the Apk's and Framework's from the phone.
2. Rom Kitchen (Link On OP)
3. Zip utilities.
4. Deodex Empty Shell zip. (Deodex_Cwm_Shell .zip - 236 KB)
5. Windows (Cygwin) or Linux ( I won't go into technicalities)
How:
1. Pull all the Apk's and Framwork's along with the .odex files.
2. Rename the folder with the Apk's as "app"
3. Rename the folder with the Framework's as "framework"
4. Create a folder called Deodex_Cwm. (You can choose your name).
5. Inside the Deodex_Cwm folder, create another folder called system.
6. Copy the app and framework folder with the apk's and framework's into system.
7. In the case of ION, I found that there is a file "playstationcertified.odex", rename it to "com.playstation.playstationcertified.odex".
7. Zip the Deodex_Cwm folder.
8. Copy this zip into "original_update" folder inside Rom_Kitchen folder.
9. Run the menu script.
10. From menu select "0 - ADVANCED OPTIONS", then select "24 - Miscellaneous options / Plugin scripts".
11. Now select "(4) Batch_Deodex"
12. Press Enter to continue.
13. Press Enter Again to continue.
14. Press Enter Again to continue.
15. Press Enter Again to continue.
16. Now the Deodexing process will start. It will show a message when the process ends.
17. Rom_Kitchen creates a WORKING_mmddyy_hhmmss folder for processing the files.
18. Once the processing is done, the files are moved to batch_mmddyy_hhmmss.
19. Open the Deodex Empty Shell zip (do not extract). drag and drop the app and framework folders from the batch_mmddyy_hhmmss into the system folder inside the opened zip.
20. You also change the Text inside the updater script in the folder "META-INF/com/google/android" inside the open zip. Use notepad++ under windows, under linux you can use any editor.
21. Now close the zip and copy it to the external sd card in the phone and flash it using CWM Recovery.
Click to expand...
Click to collapse
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
waqasazfar said:
I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
Click to expand...
Click to collapse
Post your question under Ion dev. deodex thread.
Sent from my Ion* using Tapatalk 2
waqasazfar said:
I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
Rom Kitchen Requires Linux. So either use Linux as OS or install Cygwin under Windows. How to use Linux/Cygwin is beyond the scope of the tutorial.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
to run menu, type the following in command prompt.
chmod +x menu (required only once to make menu executable script)
./menu
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
It is for you to download Cygwin
Click to expand...
Click to collapse
Answers under your question.
Thankyou
ganeshbiyer said:
Answers under your question.
Click to expand...
Click to collapse
Thankyou.

Categories

Resources