[TOOL][WINDOWS] Apk Changer Beta - Android

Apk changer is a command line program for modification of apk and jar.
Features:
- Setup wizard on first start
- Normal and Advanced Mode.
- Multicore support(much faster than other tools in batch operations and image optimization) - supports up to 6 cores
- Decompile/Compile selected part of apk's.(Batch mode supported, framework dependent decompiling supported too)
- Optimize pngs inside apk's(including .9.pngs).(Batch mode supported)
- Zipalign apks
- Sign apks(Batch mode supported)
- Colored adb logcat with logcat options(via WiFi or usb cable)
- Two versions of apktool and aapt(1.4.3 and 1.5.1)-if error occurs while decompiling my program will try too use alternative version and will compile your apk with that version that was used for decompiling
- Three languages at the moment(Russian, English and Dutch) - if you want to translate my progam into your own language just let me know
- Settings (Compression level, Heap size, optimization level, apktool version, language...) - program saves all settings - no need to enter them every time you starts it.
- Error detection. If error occured, program reports about it
- Log (For batch Decompilation/Compilation program creates two logs. First is full and second shows only in with what apks occured errors).
- Decompile/Compile jar files(framework files)
- Program automaticaly detects if JAVA installed on your PS and if no starts java installer(which downloads all necessary files from internet) and after installation adds java location to system variable.
- All stuff i forgot
- If you need other functions - let me know and i`ll try to add them in future versions
Credits:
Brut.all, iBotPeaches and miui team for apktool
Igor Pavlov for 7zip
Oracle for JRE
Google for Android, aapt, adb and zipaling
X128, hoehrmann, PAQer and all others for image optimization tools
Adrian Vintu, Jeff Sharkey, André Burgaud for colored logcat
Instructions:
- install program
- put apk or jar files in working folder(place-files-here-for-modding)
- start program(apkchanger.exe)
Download page
Github page(version history)​

reserved for future

Great tool. Thanks!

Nice work!
Sent from my Galaxy Tab 10.1 via Tapatalk

Thanks for this amazing app!
I'm trying to use it, but after selecting the language (english) it crashes saying that I haven't the lang folders, which is false because it's integrated in your package..
Any suggestion please?

Iperzampem0 said:
Thanks for this amazing app!
I'm trying to use it, but after selecting the language (english) it crashes saying that I haven't the lang folders, which is false because it's integrated in your package..
Any suggestion please?
Click to expand...
Click to collapse
Try to unpack program in root of disk C. Program may not work properly if there are folders whith non english names in path to it. And check if other folder(it contains all necessary files for program and it's translations too) in same place as main script and don't rename them.
Sent from my HTC Desire using xda premium

would u give me direct link from mediafire,please...
thankz before

can you please give another link ?
i really want to use it but multiupload does not work..

Would you mind if I port this tool to Linux?
I hate Windows.
I am porting APK Multi-Tool now, and when it's done I'll port this one.

mDroidd said:
Would you mind if I port this tool to Linux?
I hate Windows.
I am porting APK Multi-Tool now, and when it's done I'll port this one.
Click to expand...
Click to collapse
I love Linux too(my main OS is Gentoo), but for some tasks i use windows. I decided write this tool for windows because it use some programs that exist only for windows(we can try to use them with wine, but i don't know if they'll run stably and they'll work slower than in native environment). And of course it wouldn't be easy to port ≈ 3000 lines of code.
For all: i can't reupload my tool - version that i published is too old now (it was in my backups - but they were on multiupload too). Now i have only v6 of my tool, but it's not ready for release. You may ask why i didn't published previous versions - v1 weren't popular for some reason (as you can see - there are only few comments in this topic), so i decided develop program only for my own use. Now i'm thinking either fix bugs and release v7 for public or not.

furniel said:
I love Linux too(my main OS is Gentoo), but for some tasks i use windows. I decided write this tool for windows because it use some programs that exist only for windows(we can try to use them with wine, but i don't know if they'll run stably and they'll work slower than in native environment). And of course it wouldn't be easy to port ≈ 3000 lines of code.
For all: i can't reupload my tool - version that i published is too old now (it was in my backups - but they were on multiupload too). Now i have only v6 of my tool, but it's not ready for release. You may ask why i didn't published previous versions - v1 weren't popular for some reason (as you can see - there are only few comments in this topic), so i decided develop program only for my own use. Now i'm thinking either fix bugs and release v7 for public or not.
Click to expand...
Click to collapse
Should release public ofcourse.
and which files do not exist on Linux?
The only one I know is roptipng
Greets!

i'm very need this tool..
so i hope u can reupload from another upload manager,such us mediafire maybe..
please..
i'm now still learning to editing apk file,like replacing adn modifying icon on apk file..

mDroidd said:
Should release public ofcourse.
and which files do not exist on Linux?
The only one I know is roptipng
Greets!
Click to expand...
Click to collapse
I don't use roptipng since second version. Now i use few image optimization programs (i added support for optimization of png, 9.png and jpg images) as result image compression is the same and sometimes even better than in specialized image optimization scripts. And most of this programs exist only for windows.

Dutch translation
Hi furniel,
Here the Dutch Translation I use instead of the eng file in the lang folder
I just name it eng also.
sparkienl

Thank you!!!
Greetings.
Edit: link don't work

Hi
I like to try this tool. I'm new in this matter and any help or tool will be much appreciated. If you released to the public an doesn't have success doesn't matter cause it's a good work and people who needed will used.
So thanks for your hard work and i hope you'll released to the public!

has anyone reuploaded this else where im very interested.. pm me

Glad to see that someone is interested in my work. Program isn`n finished till now(didn`t have much time last weeks), but i think that i`ll publish alpha version in next few days.

Thanks for your handy tool. I am very interested in an update.
Hotrod

link is dead
re-up please??

Related

hermes rom koch v0.99

well.. here is the latest and greatest version of the rom koch.
its pretty close to the final version, there is one little (functional unimportant) bug thats why i do not release it as final.
i wont be around much from now on so if you need support go and bug pof or olipro
it is very easy, i have cooked alot of different roms now and i consider it stable and guess what i release it exactly on time!
have fun, if you need some last minute help drop by into our irc chat at irc.freenode.net / #xda-devs.. i will be around a few hours
i tried to keep track of my changes with a changelog, but as you can imagine i forgot alot of changes, but here it is anyways.. because im sure alot of you guys are interested in such stuff:
Code:
-after opening a rom, select button is disabled.. inorder to renable, start a new project
-console font changed to vista's segoe UI. don't have it? get it
-added the kochs own unicode text editor
-features, remind if forgot to save, right mouse, cut&paste etc.
-after editing a file and saving it will be moved out of the dump into the projects directory
-added menu bar (projects,console,?)
-restructured lower form layout
-browse for rom is grayed out after selecting a rom
-alot of internal changes necessary for project handling
-imagefs is beeing generated upon loading rom (part of project handling) if it already exisists for this rom/project
it will not be gerneated again
-inorder to load list of files in rom no dump of the rom is required anymore
using my new tool "listimgfs.exe" , the tool will be added to the official buildchain, source will be released
-new dumptool utility based on mamaichs viewimgfs, recmod is redundant now.
using this tool you can extract either one single file or create an complete dump
no matter if its XIP or a normal file
usage: extractfileimgfs <imgfilename.bin> <filename> (<outdir>)
<filename> can be '*' to dump everything
<outdir> is optional and defines the output directory for the dump
-even more internal restructuring because of the new project handling
-multiple fileselection in original romlist possible
-multiple file selection in add file to rom dialog
-another layout change
-new tool to decode/encode nbh files nbhtool.exe, get it while its hot
-imported nbh-classes into the kitchen, i.e. you can now decode/encode images without any external tool
<more things i forgot>
-changes and fixes to extractfileimgfs
-added searching to the editor
-added find again "f5" to the editor
-important project files are automatically extract upon project creation
-fixed initflashfilees editing
-fixed registry editing
-added find string to editor
-changed editor window type to toolwindow
*changing programm architecture, removing all external dependencies execpt rgucomp
-alot alot alot and alot of work on the image modification library :(
-prevented adding too many files
*alot more work done at the toolchain
**again million fixes and changes that i forgot to add here :(
-finally finished project handling, loading and saving a project is now possible
-fixed the select a rom button not beeing reenabled after starting a new project
-adding a file into the rom: if it already exists it will be marked for removal
-implemented a workaround for a bug in the imagefs library not a real fix but a workaround
-final cosmetic cleanups for v0.99
just try it, its a totally new tool
screenshots:
download: http://rapidshare.com/files/20594171/_romkoch_v099a.zip.html
update 12.03.07: fixed bug when compiling.. that causes a crash on xp machines
just incase you havent noticed, these "project", "console" and "?" labels right above the console are menus ; )
update 12.03.07 #2: pof detected a cosmetical issue - fixed. (extracting roms wont label them correctly)
Thanks dutty! Hope everything goes well tomorrow and hope to see you soon kicking ass here again!
A big THANK YOU from me as well. You're actually the first developer I met who constantly meets his release deadlines! Respect!
All the best for tomorrow!
Cheers
Daniel
tadzio said:
A big THANK YOU from me as well. You're actually the first developer I met who constantly meets his release deadlines! Respect!
All the best for tomorrow!
Cheers
Daniel
Click to expand...
Click to collapse
thanks alot.. incase you havent noticed.. i have just uploaded a revised version, please redownload it was a bug that happend when i renamed the file from cookgui.exe to koch.exe for the release and forgot to update the assembly names
Here is a picture of it running under XP pro.
J-Man5
incase you havent noticed. the file has been updated. thanks to pof and j-man
could someone put this on the FTP as I can not access "Personal Network Storage" sites from work.
done
check the hermes uploads directory for _romkoch_v099a.zip
Good luck from me too dutty! True XDA Guru's are always in short supply so we'll be needing you back right away plz!
Where do the "preconfig" files come from?
Sorry for being a bit off-topic, but I didn't want to start a new thread.
I used the ROM Koch to look into the new lvsw edition, which I also have flashed. When I hard-reset my TyTN and don't do an immediate soft reset, then all the xml and cab from \Windows\Config.txt are executed. Some of these files are indeed present in the \Windows folder of my TyTN.
However, they are not in the 06_OS.nb file, or at least the ROM Koch does not list and extract them. This seems logical, as the contents of these files is specific to HTC, and the 06_OS.nb is generic Microsoft.
The question is: where are these files, and how do they end up in the \Windows folder?
Thanks,
Daniel
thanks sleuth
tadzio said:
The question is: where are these files, and how do they end up in the \Windows folder?
Thanks,
Daniel
Click to expand...
Click to collapse
extended rom
well done on this tool dutty.... its has come so far...
good luck with your op mate...
dutty said:
thanks sleuth
extended rom
Click to expand...
Click to collapse
Still offtopic, but the lswv ROM does not have an extrom. The preconfig insrt (config.txt) in that ROM also does not execute the "autorun.exe" for an ExtRom to run. I looked at to see if HSDPA was set among others.
Well, I must correct myself - most of the files are in the Windows.nb now (either I was blind, or the first Rom Koch 0.99 version skipped them). Some are still missing, but I guess lvsw just removed them and forgot to delete them from the Config.txt, or they were never there in the first place.
The Extended ROM seems to have nothing to do with this.
Cheers
Daniel
Great Job dutty,
Best wishes, hope all goes well tomorrow and a speedy recovery. We will miss you here.
thanks everybody for the get well wishes.. i really appreciate that!
wpbear said:
Still offtopic, but the lswv ROM does not have an extrom. The preconfig insrt (config.txt) in that ROM also does not execute the "autorun.exe" for an ExtRom to run. I looked at to see if HSDPA was set among others.
Click to expand...
Click to collapse
oh.. yeah right.. the first lswv rom that was released had a extrom,ipl,spl and radio included.. but that one was pulled off the net quickly
dutty said:
thanks everybody for the get well wishes.. i really appreciate that!
oh.. yeah right.. the first lswv rom that was released had a extrom,ipl,spl and radio included.. but that one was pulled off the net quickly
Click to expand...
Click to collapse
What was in the ext rom? The Preconfig config.txt didnt reference the running of an extrom, so how was the extrom going to be automatically executed. Anyway, was there anything new int he HTC EXTROM of interest.
OMG! I can't wait to give this a try. Hope all is well dutty - good luck. And thanks for the great tool!
Hi dutty,
best of luck with the op.
Thanks for this tool, I think I can say I am comfortable to cook my own rom now.
I will give it a shot over the coming days.
Cheers
I have two questions, please don't judge me if they sound noobish:
1) Is this tool generic, as in can it be used to cook ROMs for other devices (like Trinity)?
2) Does this tool help when trying to make a dumped ROM flashable?

[Release] UC ROM SDConfig.txt Builder (reborn) [Prikolchik Ed.]

When LennySh had released a UC ROM I was looking for a UC Rom SDConfig.txt builder and found THIS. However, it would not even load on my Windows XP laptop... So i decompiled the program to get the source code, completely redone copy of original interface by hand (God, that was painful) and have seen numerous bugs in the code. I was going to report them to original developer, however seems like he doesn't work on this program anymore. So i decided to take this matter into my own hands and started developing this program further.
SDConfig Builder v0.7.85 PE (released July 16, 2008)
Features:
-- SDConfig.txt builder.
-- reg2xml converter (including special character/Unicode support)
-- xml2cab packer
-- xml preview/edit
-- custom Owner Information to XML
-- a few other things...
Known Bugs: I need your help finding them!!!
NONE known
Things to work on
1. Have to be 10000000% sure reg2xml and owner info generator work correctly. Need testers.
3. Built-in XML editor does not save by itself (but works fine with "Edit XML" button)
5. Have to make window dynamic (so it can go full size)
6. Make suggestions!!
Instructions to use
-- Unpack the archive to any folder
-- Make sure you have Microsoft .NET Framework v2.0 installed
-- Run "SDConfig Builder.exe"
-- Read documentation on XML and SDConfig.txt (Click link)
-- Have fun. Report bugs. Ask for new features.
Download (direct link. No wait time!) (250kb): SDConfig.Builder.v0.7.85.PE.rar
NOTE: Original project was started by doedoe and since then almost all of the code has been rewritten by me...
NOTE2: I'm 2nd year computer science student and my experience in .NET programming is limited to 30 hours so please DO NOT expect miracles from me But I will certainly do what I can...
Change Log:
v0.7.85 PE (July 16, 2008)
-- reg2xml: Fixed MANY bugs thanks to uzziah0 for pointing some of them out!
-- reg2xml: now has Unicode support (non-English characters, i.e. Russian, German, Spanish)
v0.7.8 PE
-- Completely redone "SDConfig" tab interface.
-- Added drag-and-drop feature for adding CABs & XMLs
-- Dag-and-move items in the list
-- Can now open existing SDConfig.txt files!
-- Many other new features...
NOTE: I have only made changes to SDConfig.txt part. Everything else is same as in previous version.
v0.7.21 PE
-- Fixed few SDConfig.txt save file bugs
-- Fixed Owner Info 2 XML bugs. Now works great =)
v0.7.1500.1 PE (Prikolchik Edition)
Bug fixes:
-- reg2xml now understands values that are taking move than 1 line.
-- reg2xml works correctly with hex values and converts them to base 64
-- xml2cab is now working correctly
-- fixed problem with saving SDConfig.txt (was placing '\n' character at the end of every line)
-- removed/added some notification windows
-- many minor fixes
New features:
-- XML-tester/editor. Please use "Edit XML" button on the top right.
-- Unicode reg file support
-- Owner Information generator. Please test it!
v0.6.3456.1PF (PF = prikolchik fix)
now works on WinXP (added workaround)
Added reg2xml feature
Fixed few notification windows
Fixed minor bugs
(everything below by Doedoe)
v0.6
Fixed Tab's at end of lines
v0.5
Fixed missing CABs & XML in output file issue
Fixed source CABs & XML selection issues
Fixed Move Up / Down experiance
Added Select All option in source files
reserved for more info
Sweet man. I def try this out in a few and report my findings. I'm glad to see that you picked this project up.
and by god.. u r good at it.. this is a wonderful face lift to the original proggy.. keep it up
wow! nice stuff, will defo try it...
also going to try it out, I love UC compatibility.
This looks great, but I'm looking for a little more instructions before I start.
Do I need the CAB files for this to detect, and if so where should they be (on my SD card or PC)?
Do I need to run this so it reads stuff from my Axim?
I'm just looking for a little more details in:
-- Read documentation on XML and SDConfig.txt (Click link)
-- Have fun.
because the other thread doesn't include those details either.
uzziah0 said:
This looks great, but I'm looking for a little more instructions before I start.
Do I need the CAB files for this to detect, and if so where should they be (on my SD card or PC)?
Do I need to run this so it reads stuff from my Axim?
I'm just looking for a little more details in:
-- Read documentation on XML and SDConfig.txt (Click link)
-- Have fun.
because the other thread doesn't include those details either.
Click to expand...
Click to collapse
Well, it is all much more simpler than you think =).
You just specify a folder on your computer with CAB files and program will read their filenames. That is what you will be operating with.
Program will not copy, or do anything with cab files, it only read the filenames.
It cannot read anything from your Axim (only the details, or whatever, that were originally made by Doedoe but were not tested by me due to lack of Vista)
The documentations in the link is about SDConfig.txt files. What they are and how they look. There is also information about XML files. That link does NOT have ANY instructions for using SDConfig Builder.
Also, just want to note that in a few days i will release a much better version of SDBuilder which should be much simpler to use.
I dont know if i should create any instructions for it, since it is all very straight forward... But we will see.
new version of SDConfig is posted. See first post for download link, description and screenshots.
nice work.. will try this on my next flash, probably tonight... lol..
progress
any progress on this great software??
madamada31 said:
any progress on this great software??
Click to expand...
Click to collapse
I dunno if i even should work on it. 500 downloads and not a single constructive comment. I dont even know what to change or improve... and if anyone actually finds in useful...
Why would i spend time on something nobody needs, when I can do something else that people actually need (non-PDA related)
this is a great app, its been saving me about 30 mins each time i flash, its good that i can just select the cab files to install just by checking the boxes.. keep up the good work...
not sure what to say on it needs to be improved
here is an idea... : if you look at Schap's Advanced config it is all about tweaking and such, but it only allows you to change it manually at runtime
However, if it could make those changes and export to XML/cab file so it could be stored in SDautorun....
prikolchik said:
I dunno if i even should work on it. 500 downloads and not a single constructive comment. I dont even know what to change or improve... and if anyone actually finds in useful...
Why would i spend time on something nobody needs, when I can do something else that people actually need (non-PDA related)
Click to expand...
Click to collapse
Wait, wait!!
I found this software today when I tried to find something that apparently is nowhere to find elsewhere:
What I need is a XML to REG converter.
Your first post is saying that exactly this is integrated since V0.6.3456.1PF:
prikolchik said:
v0.6.3456.1PF (PF = prikolchik fix)
now works on WinXP (added workaround)
Added xml2reg feature
Click to expand...
Click to collapse
Only I can't find this XML2REG feature in any version of the software.
Of course a REG2XML conversion is integrated, but not the other way around.
I would be glad if you could tell me how to use this because apart of a Pearl script which needs some libraries which are meanwhile not available for download any more I have found nothing that can handle this conversion.
Thank you very much in advance!
I played around with this software for about 5 minutes this morning, and I just wish I had found it a couple of weeks ago before setting up all my UC by hand... Lol... Oh well...
So far looks very good, I'm gonna test it some more and let you know if there's anything that can be improved.
One thing I'd like to see is a list of common reg entries that can be modified, and an xml created. Kind of like a schaps Advanced Config thing, but so that those settings that are chosen are done by the UC, instead of after...
what i woldn't mind seeing in this software is xml settings for all settings in control pannel... stuff like lights or sounds etc..... thanks in advance thats if u still wanna work on this program
thank you very much, prikolchik.
it is very useful. thanks again for your great efforts!
Silly question.. I've been reading over the various threads related to this.. does this process only work thru a UC compliant ROM.. or can I build a config file and run it after installing any ROM?

[REF]Noonski's Little SPC-MORT-COOKING OEM Packages repository

Since i'm not going to cook just yet for the Pro, nor am i helping out any specific crew Over At the Pro (SPC crew will come over to Pro someday anyway).
I have decided to make a OEMMORT Packages Repository.
For those that want to cook with the utmost optimized packages for their Pro.
OEM PACKS
To use these Optimized Packages to Cook (specifically with Touch Pro In Mind), you always need the the MortScript Base.
So if you use more or less packages the RFO.mscr & CLASC.mscr need to be adjusted appropriately to correspond with the correct File Operations.
Mort Script 4.112.b7
AdobePDF_2_5_103401_01
IA_ZIP_1_21_18171328_1
More coming eventually.
Explanations
If you do see the Logic and and improvements this adds to cooking control and performance enhancement, then don't forget to mention the SPC-MORT-COOKING Style, Wax in Wax Out
Any Comments, Opinions, Ideas or Questions welcome.
TNX to the rest of the bengalih for some pointers & SPC crew for testing and helping out.
And thanx of course to MORT.
Don't Know MortScript? Shame on you. (neither do i)
Donny Bahama's easy to carry Mortscript Manual in HTML:
http://forum.xda-developers.com/atta...9&d=1214102654​
excellent stuff
Hi Noonski... Very interesting concept.. Great Works! Cheerz..
would it be possible to put the cab files from UC all into 1 zip file to save space ?
da_jojo said:
would it be possible to put the cab files from UC all into 1 zip file to save space ?
Click to expand...
Click to collapse
ExactMundo.
If you'd make the cab files into OEM packages first.
I have a WNDWS.zip
PRGF.ZIP
and a MYDOCS.zip
But even that would not be needed as one zip file should be able to do it.
As long as the Makedir command is used in a Mortscript before the Zip is extracted for folders that do not exist unless you have the complete folder structure in the zip files.
Unless you mean the Cabs from the UC on your SD card.
But even then you could also only extract just a cab at a time.
So i'm not sure you meant the ROM Autorun Cabs or the SD UC cabs?
Also unzipping the files instead of having them in Rom, or making the links with a script removes that darned ROM Read File Protection.
yes yes yes that is what i mean exactly my friend
i mean both ... it would save space on the storagecard as well as remove this freaking writeprotect on the dirs. dir structure in the zip file would be the best option i think as it copies 1 on 1 without setting userrights.
this writeprotect option is set on a hidden part of the systemflashdrive. in the mft i think. strange thing is that i got acces to my windows folder through activesync and it doesnt work on vista mobile device center.. frankly i have no idea what i did but it seems something in the pc as it works on my xp machine and not on vista. i didnt change anything yet on the phone itself relating to this.
pocketcommander www.totalcommander.com is able to ignore or overwrite the writeprotected files in windows dir so there must be a sollution to this.
i dont have the proper tools to do all this stuff but it would be the fastest way to extract all files from all cabs one need into one zip file and let mortscript handle the unpacking and settings of the registry. this way theres no need for autorun cabs merely the UC SD installer. maybe someone can make an nice logo for the custom uc installer.
da_jojo said:
yes yes yes that is what i mean exactly my friend
i mean both ... it would save space on the storagecard as well as remove this freaking writeprotect on the dirs. dir structure in the zip file would be the best option i think as it copies 1 on 1 without setting userrights.
this writeprotect option is set on a hidden part of the systemflashdrive. in the mft i think. strange thing is that i got acces to my windows folder through activesync and it doesnt work on vista mobile device center.. frankly i have no idea what i did but it seems something in the pc as it works on my xp machine and not on vista. i didnt change anything yet on the phone itself relating to this.
pocketcommander www.totalcommander.com is able to ignore or overwrite the writeprotected files in windows dir so there must be a sollution to this.
i dont have the proper tools to do all this stuff but it would be the fastest way to extract all files from all cabs one need into one zip file and let mortscript handle the unpacking and settings of the registry. this way theres no need for autorun cabs merely the UC SD installer. maybe someone can make an nice logo for the custom uc installer.
Click to expand...
Click to collapse
I think for that for the SD Autorun UC solutions there are already a few good solutions around some even supporting Mortscript.
And they all are pretty user friendly to.
Depending on what a user wants and knows, using mortscript being cooked in just gives them more freedom to play around customizing a cooked rom.
But it would need more hand work using your method, but it is possible of course.
It boils down to, do you like making Mortscripts to change registry settings or do you prefer making PROVXML files?
And not everyone is into decompiling cab files to make them fit their exact requirements.
But there's only one rule, Copy the Script to device memory and a folder name tat does not contain a space in it's path. And then run the script.
As the Exec: command from autorun doesn't like that.
But mostly the main way i use it is for the Cooked Autorun part.
I control when the Welcome wizard is run, Before Autorun or after the boot.
I can remove the extra parts of the Networkwizardauto.exe files and also run the networkwizard when i want during the process.
All i need to ad to my process is to open the Locale Preferences dialog during this process and then finish it of with Syncrotime. (or asking for the choice if you want threaded SMS on or not, the possibilities are plenty)
Put all the Setting up your device options after each other for those users that don't have the know how of how to use UC to setup their personal settings.
I even delete the back up files for the one App that i only get installed correctly through a cab file
DelTree( "\Windows\AppMgr\SRS Labs SRS WOW HD" )
So i hope that those that cook or customize and want even more control and detail into what happens can appreciate this.
I know i'll keep using this, and adjusting all my OEM packages to it. Because i have experienced the overall speed improvements in the Rom because of it.
I'm not a Pro in Mortscript and myself i only use the fairly simple commands.
i see.. thnx for explaning
it would be far simpeler using the xmlprov
unless one requires the extra functionality of mort script
the SRS wow HD is a driver enhancement so it needs the system to detach the driver which is only possible with the installer . hence cab files work good cause the're installed by the windowsinstaller which can temp disable the driver.
Instead of MortScript, there is a Yonsm's CeleCmd that perform roughly the same thing.
Check it out!
http://www.yonsm.net/read.php?329
V
vibranze said:
Instead of MortScript, there is a Yonsm's CeleCmd that perform roughly the same thing.
Check it out!
http://www.yonsm.net/read.php?329
V
Click to expand...
Click to collapse
Hey Vibranze, Long time no See.
Would you mind translating
Mort has a bigger fanbase here on XDA.
Yeah, long time no see How are you?
I really not used to your new avatar, without the cigarette it's not like you at all hehe
Actually you can try to download it and check out the sample, it's very easy to understand. I attached here for you
Anyway, here is the translated page by Google.
V
Noonski said:
Hey Vibranze, Long time no See.
Would you mind translating
Mort has a bigger fanbase here on XDA.
Click to expand...
Click to collapse
Explanations
What Does RFO.mscr do?
What Does CLASC.mscr do?
Which Packages Contain Modules and Why?
There's Files Missing from the Packages?
What Does RFO.mscr Do?
Well this script is copied to the regular Start up Folder in Windows.
I use short file names because as much as possible for anything that goes into Windows folder and have no other use being in the Windows folder then being copied by initflashfiles to another folder.
RFO.mscr basicly is the only file i use an initflasfiles.txt for (goes to \Windows\StartUp\ReplaceFileOperations.mscr)
Because after that it takes over the File Operations of the Default build in initflashfiles method.
Why?
Well You don't need actual shortcut files present in ROM to make them.
Code:
CreateShortcut("\Windows\StartUpDisabled\btdwake.lnk","\Windows\btdwake.exe")
in the RFO i don't put that much actual File Operations.
Only the ones that might be useful.
(Why start up WiFiInit.exe during autorun, if it's only useful after the Autorun reBoot?)
Code:
CreateShortcut("\Windows\StartUp\WiFiInit.lnk","\Windows\WiFiInit.exe")
I basicly set up the Second mortscript that will run after the Autorun reboot.
And i make sure the script is not to short. A script that is to short might actually copy the second script so fast into the autorun folder that it will actually be run immediately at during Autorun.
And i make sure the script deletes itself
Code:
RegDeleteKey( "HKLM" , "Services\SqmUpload" , TRUE , TRUE )
RegDelete( "HKLM" , "init" , "Launch99" )
SetFileAttribute("\Windows\StartUp\ReplaceFileOperations.mscr", "readonly", FALSE)
SetFileAttribute("\Windows\StartUp\ReplaceFileOperations.mscr", "system", FALSE)
CreateShortcut("\Windows\StartUp\WiFiInit.lnk","\Windows\WiFiInit.exe")
Copy( "\Windows\CLASC.mscr", "\Windows\StartUp\Clean AutoShortCutStartUp.mscr" )
Delete( "\Windows\StartUp\ReplaceFileOperations.mscr" )
So you can choose during which Boot you want to do what.
But it's better to do it after the first Reboot in case there is no Autorun installation and the phone reboots before finishing the RFO script.
So the Yummy goes to the CLASC.mscr.
What Does CLASC.mscr Do?
Well this does the actuall JuJu...
It takes over the Job of AutoAttribute.exe, so that can be kicked out of the Rom.
Code:
SetFileAttribute("\Windows\StartUp\Clean AutoShortCutStartUp.mscr", "readonly", FALSE)
SetFileAttribute("\Windows\StartUp\Clean AutoShortCutStartUp.mscr", "system", FALSE)
It Takes over the Job of AutoShortcut.exe and initflashfiles.
(less autoshortcut.provxml files in the final rom for the people to lazy to put these into a .rgu file for correct cleanliness)
Also Autoshortcut.exe is set up to run and check the regsitry at every Boot up, so out with this nonsense.
Code:
MkDir("\Windows\Start Menu\Programs\Office")
CreateShortcut("\Windows\Start Menu\Programs\Office\Adobe Reader.lnk","\Windows\AdobeReaderLE.exe")
And eventually it run some Post Stuff to make setting up the device easier at first boot.
Code:
Run("\Windows\ConnectionSetup.exe")
Delete( "\Windows\StartUp\Clean AutoShortCutStartUp.mscr" )
Message("Thank you for installing A SPC Optimized Rom. ","Installation Finished")
Also sometimes people encounter a registry setting that does not get applied directly because of .rgu or .provxml conflict.
So instead of making a new EXTRA .provxml file to fix this.
The registry setting can be added to a file that is already there.
Code:
RegWriteString ("HKLM", "Software\Microsoft\MediaPlayer\Skins", "DefaultPortraitSkin", "\Storage Card\My Documents\Windows Media Skins\Mono SPC\portrait-htc-touch.skn")
RegWriteString ("HKLM", "Software\Microsoft\MediaPlayer\Skins", "DefaultLandscapeSkin", "\Storage Card\My Documents\Windows Media Skins\Mono SPC\landscape-htc-touch.skn")
Or create a new start up script that runs at every start up when you have these annoying Registry settings that for some reason like to reset to a specific default value.
Code:
WriteFile("\Windows\StartUp\FixRightSFTKey.mscr", 'RegWriteString("HKCU", "Software\Microsoft\Today\Keys\113", "Open", "\Windows\Submenus\Contacts.mbi")^NL^RegWriteString("HKCU", "Software\Microsoft\Today\Keys\113", "Default", "Contacts")')
Less headaches going trough all the files finding the conflicts, as you now have a sure fire hit to get the registry right.
And we all know that eventually you will stumble upon the rgu or provxml file that is causing Havoc. But at least you don't have to stay awake pounding your head to find them.
Which Packages Contain Modules and Why?
Well the ones that do have Modules instead of regular files most propalby..
Work as a Module.
Show improved starting up of the application
Can be made into a module to start with (not all files like this)
Show improved handling speed or usage performance.
So when you do find Modulated files in the packages, these have been tested and found worth modulating.
These days most of the kitchen's have G'Reloc.exe build into the cooking process.
So the chance of Modules overlapping a specific memory allocation/space is fixed.
Some kitchens also offer this functionality to Make Modules of files.
But in some Junior Cheffs cases, that usually will result in (nice term coming) OverModulating.
If the kitchen you are using does not run G'Reloc.exe automatically please do so manually when cooking packages with modules.​

[APP][05.OCT.09 new beta]Application for theme switching in WM 6.5 Titanium

There are more and more themes coming up for WM 6.5 Titanium, which are not only tsk, colors etc, but also change greatly the Titanium....x......cpr file and the registries. When one wants to change from one such theme (for example WM7 project) to another (for example Shadow Neo Skin) the former theme has to be removed, and the new one has to be installed and customized, sometimes the plugins have to be reinstalled.
The theme switcher has the following capabilities:
- Backing up the existing theme, grafics files, cpr files, registries, so that it can easily be restored
- Installing the new selected theme
New beta release:
Supported resolutions QVGA, WQVGA, QVGAsquare, VGA, WVGA, VGAsquare... It only works with WM 6.5. You need to have MortScript installed.
IMPORTANT: First of all this will be replacing your Titanium cprs and bronzeres.dll files, so pls. make a backup of your original files.
Installation:
1. Unzip the enclosed file TitaniumThemes to Storage Card.
2. Have all the plugins installed that you want to have in your Titanium screen, so that
the themes can load them.
3. It is not necessary to install all themes, as i have collected all images needed by the
theme and stored them in folders inside the TitaniumThemes folder, so the images will not
clutter your Windows folder. The modded cprs point to this images. Below you find the
links to the corresponding themes threads, so that you can check out how the theme
looks, and say thanks to the theme designer for his nice work.
4. Run the "Install Titanium Theme Changer.mscr" from the apps folder in TitaniumThemes,
choose your resolution and click ok, this will install all supported themes cprs in Windows
and a shortcut for "Titanium Theme Changer. mscr" in Windows/Start Menu/Programs.
5. Run the shortcut "Titanium Theme Changer", select the theme you want to apply and in
a few seconds it will appear on your screen.
6. Apply the tsk of your choice
As said it is a beta version and it might have still some bugs, or errors in the cprs, as i only have a QVGA device, pls. report them.
I could have not done this without the help of many people, like BigDaddyG, RoryB and egoist6 from the MortScript thread, TWolf, drkfngthdraglrd and many more, so thanks to all.
Also please consider that i in no way designed the themes, i only modified the cprs for easy switching, so all thanks go to the themes builders.
Most of the plugins are supported in my cprs, like
All standard plugins
TWolf Multiplugin
http://forum.xda-developers.com/showthread.php?t=523015
JMLToday
http://forum.xda-developers.com/showthread.php?t=540413
IsmToday
http://forum.xda-developers.com/showthread.php?t=535682
AnalogClock
http://forum.xda-developers.com/showthread.php?t=511483
CLauncher, CSettings, CGames, CApps1
http://forum.xda-developers.com/showthread.php?t=514490
CManilamenu 1 to 3
http://forum.xda-developers.com/showthread.php?t=537237
COffice
http://forum.xda-developers.com/showthread.php?t=510362
Titanium Weather
http://forum.xda-developers.com/showthread.php?t=481379
CComm
http://forum.xda-developers.com/showthread.php?t=513747
Settings
http://forum.xda-developers.com/showthread.php?t=515979
System
http://forum.xda-developers.com/showthread.php?t=510051
CVolume
http://forum.xda-developers.com/showthread.php?t=512529
CFacebook
http://forum.xda-developers.com/showthread.php?t=510479
CTwitter
http://forum.xda-developers.com/showthread.php?t=510360
Taskanium
http://forum.xda-developers.com/showthread.php?t=515586
CSchedule
http://forum.xda-developers.com/showthread.php?t=557725
AT FavePeople
http://forum.xda-developers.com/showthread.php?t=506221
Opera Favorites
http://forum.xda-developers.com/showthread.php?t=496758
ArteseaTwitter
http://forum.xda-developers.com/showthread.php?t=511919
Themes:
Bliss
http://forum.xda-developers.com/showthread.php?t=508968
Shadow Neo
http://forum.xda-developers.com/showthread.php?t=524979
Neo Titanium
http://forum.xda-developers.com/showthread.php?t=534553
Buffed and Lizzy
http://forum.xda-developers.com/showthread.php?t=528935
Josito
http://forum.xda-developers.com/showthread.php?t=556378
WM7 project
http://forum.xda-developers.com/showthread.php?t=504716
Could not upload here the zip file, so pls. dowload it from 4shared.com
http://www.4shared.com/file/140139192/882eec04/_3__TitaniumThemes.html
I want that theme。THS!
[email protected]
I was thinking the same thing and M2DC comes the closest to mind. We need to get mpenguin14 a device and encouragement to modify it for WM6.5...
mchapman007 said:
I was thinking the same thing and M2DC comes the closest to mind. We need to get mpenguin14 a device and encouragement to modify it for WM6.5...
Click to expand...
Click to collapse
I am working on such a theme switcher, done in MortScript. I have a folder named TitaniumThemes on my Storage Card. Inside there i have a folder backup where i save the current theme (Titanium_XXXxXXX.cpr (both P and L), bronzeres.dll and CHome registry). I have also a folder for each of the themes, currently WM7, TitaniumBuffed, TitaniumShadowNeo, Bliss, BlackDragon, where i stored the same files for the theme tweaked and set up to my liking. All themes have first to be installed, as some of them store in Windows some files like icons etc, or they create a folder under Program Files with those files. I tried first manually to swap this files and it work very nicely. Now i am trying to make Scripts to do this work, but i am a complete noob in scripting and have following problems:
1. I need to disable Windows Default to be able to copy bronzeres.dll to Windows, and i dont know the command for it.
2. I need to read and save the whole CHome registry (export) and also to import the themes CHome registry. This should be doable with MortScript but i found only how to import/export single keys and dwords in the manual.
3. At the end i have to enable again Windows Default.
When i could solve this points i would have a simple script based program to backup/restore the current theme, and to switch themes choosing from a menu.
you should be able to replace bronzeres.dll without the need to disable titanium. In order to refresh titanium after changing the theme you can use chomerefresh.exe provided by appstar. PM me If I can be of any help
rpereira said:
you should be able to replace bronzeres.dll without the need to disable titanium. In order to refresh titanium after changing the theme you can use chomerefresh.exe provided by appstar. PM me If I can be of any help
Click to expand...
Click to collapse
In fact that was my first approach, to copy the files to windows and then refresh chome, but it is not working. Even when copying manually the files with total commander, i can do that for both titanium cpr files, but as soon as bronzeres is copied an error message comes up. So it looks like bronzeres needs titanium to be disabled before copying, when i disable titanium manually the script copies everything correctly to windows. So i have to find the command to disable/enable titanium.
On the other hand i have still problems to find the way to backup/restore the complete chome registry. I tried also to look inside the Sashimi script to find out how it is done there, but i am too much of a noob and could not figure it out (too many subroutines pointing from one to the other).
I had thought about doing this before but with a more ambitous approach that would have required theme makers to include an .xml file together with their theme. this .xml would include a list of all of the theme files and their destination directory, since not all themes are the same, some people replace bronzeres.dll and some others don't, so it's hard to tell unless you have a list of what to apply and what to remove.
Disabling titanium, as far as my research has gone, it's not possible with mortscript alone. These are lower-level system functions that can be found on C++, just like chomerefresh.exe which is also built on C++. Getting more complex as we dig deeper into it.
but, I still have faith in being able to replace the .dll without disabling windows default first, have you tried using mortscript's file attribute change to change the .dll's attribute from read-only to normal file before copying. I still do believe we'll need to standardize themes.
rpereira said:
I had thought about doing this before but with a more ambitous approach that would have required theme makers to include an .xml file together with their theme. this .xml would include a list of all of the theme files and their destination directory, since not all themes are the same, some people replace bronzeres.dll and some others don't, so it's hard to tell unless you have a list of what to apply and what to remove.
Disabling titanium, as far as my research has gone, it's not possible with mortscript alone. These are lower-level system functions that can be found on C++, just like chomerefresh.exe which is also built on C++. Getting more complex as we dig deeper into it.
but, I still have faith in being able to replace the .dll without disabling windows default first, have you tried using mortscript's file attribute change to change the .dll's attribute from read-only to normal file before copying. I still do believe we'll need to standardize themes.
Click to expand...
Click to collapse
It is possible to disable and enable titanium with mortscript, it is just a registry HKLM/Software/Microsoft/Today/Items/Windows Default, set Enabled to 0, then RedrawToday. The same to enable it, only set to 1.
I posted my scripts like they are now in the post below, asking for help to make them work, in the Mortscript examples thread. It still does not work to
replace bronzeres.dll, but i will look into your suggestion to change the attributes to normal before copying. The strange thing is that when i do everything manually with total commander with the titanium disabled it works flawlessly. On the other hand you are completely right, the themes are not standardized, but normally, with all the themes installed before, so that all the needed files are there, and then by replacing the above mentioned files it works. Thanks a lot for your help.
http://forum.xda-developers.com/showpost.php?p=4088840&postcount=1619
First try for an alpha version of the Titanium Theme Switcher. Download from the first post.
Hey claus - I only want to say how much I appreciate your work! It's really hard - especially to save everything, that nothing will be destroyed.
For bronzeres.dll - you must find a way to unload this .dll for changing - I'm not sure, if Mortscript can do it. If you need help - please tell me.
But perhaps you need no unload...this little needful thing could help, which I append
I use them very often by shortcut in StartMenu - especially "disable all" to switch off all todays and "EnableTitanium" - because I'm to lazy to go to my Home-Settings... (please comment iPhoneToday-Lines, if you don't have it - or make a check to Registry-Key, if it's exists)
Some questions:
- When can we expect a VGA-Version?
- Do you have a more technical implemention description how it works?
- What's the problem with cabbing? Perhaps I can help you
Thanx 4 all
Micha
MichelDiamond said:
Hey claus - I only want to say how much I appreciate your work! It's really hard - especially to save everything, that nothing will be destroyed.
For bronzeres.dll - you must find a way to unload this .dll for changing - I'm not sure, if Mortscript can do it. If you need help - please tell me.
But perhaps you need no unload...this little needful thing could help, which I append
I use them very often by shortcut in StartMenu - especially "disable all" to switch off all todays and "EnableTitanium" - because I'm to lazy to go to my Home-Settings... (please comment iPhoneToday-Lines, if you don't have it - or make a check to Registry-Key, if it's exists)
Some questions:
- When can we expect a VGA-Version?
- Do you have a more technical implemention description how it works?
- What's the problem with cabbing? Perhaps I can help you
Thanx 4 all
Micha
Click to expand...
Click to collapse
Hi Micha
Thanks for your offer. In fact it took me some time to sort this out. Now it is working as i apply bronzeres.dll with a cab, so i don't need to disable Titanium. At the end i refresh Titanium so everything gets updated. The idea is later to avoid swapping out bronzeres.dll, when all theme builders make their themes without changing bronzeres.
A VGA version should not be difficult the only problem i have is that i only have a QVGA device. The cprs i have included are the themes cprs for QVGA, complemented with most of the plugins and some modded by me to get support for the plugins. I am still working on some icons and layouts. If someone with a VGA device has cprs for this themes filled with all the most used plugins i would be very grateful to receive them so i could put together a set for VGA. The same also for other resolutions. This shall be a theme switcher, so i am not interested for skins which can be changed by applying the corresponding tsk.
The way the theme switcher works is very very simple, and it works with Mortscript:
The themes must be installed first, all of them. Then we copy into windows the cprs for all this themes, Titanium_240x320.cpr and 320x240.cpr, Neo_240x320.cpr and 320x240.cpr, Lizzy_240x320 and 320x240.cpr etc etc.
By calling the themes menu mscr the menu pops up with all available options:
Save the current theme: This backs up the currenty active Titanium cprs and bronzeres.dll, so that one can revert back to what he had.
The next buttons are for applying any of the themes. This is done by inserting in the ExtensibilityXML registry the name of the cpr to be used, without touching the rest of the information in this registry, that means your personal plugin setup (active plugins and their order) stays the same. Then the corresponding bronzeres.dll is loaded by cab and when available the themes tsk is applied. At the end Titanium is refreshed and the theme has been changed.
As said this is still a bit rudimentary and i will with the time make it smoother and apply some cosmetics to make it look better.
The problem with the cab is that i have only built very simple ones like for loading bronzeres.dll into windows. For this i would need a cab which:
1. installs all the themes,
2. copies the TitaniumThemes folder into storage card,
3. copies all cprs into windows and the shortcut into start menu/programs
I almost thought, that you're doing i like that... it's not rudimentary - it's a very good way Perhaps a little bit to complicated for some things (why not using ExtensibilityXML to approve only Plugins, which works with the skin). Thanx for explanation.
But one thing... I don't know if you assume this will be in future, that's noboy would change the bronzeres.dll - I think not all developers will know this way - and there will be much more edits in future of other Titanium-Files perhaps - I would save it and have a look, that it would work with and without Bronzeres. Save the differences of each installation to the original theme - and you mustn't care for such things (I know - that's very rudimentary - but how do you say in english: If the mountain won't come to Mohammed, Mohammed must go to the mountain )
I will have a look for my VGA-cpr - at the moment I haven't very much installed.
To your problems:
The problem with the cab is that i have only built very simple ones like for loading bronzeres.dll into windows. For this i would need a cab which:
1. installs all the themes,
What's the problem there? The themes are all installed by cab - so alltogether should also be installed like cab - Perhaps - I don't now - you must only cascade the .cabs in Installation - with between "saving" - that could work
2. copies the TitaniumThemes folder into storage card,
*g* For this case you asked in the other thread. In this case... make an installer after installation (I think you have JMLToday ( *link*), too? - you know what appears after Installation? In this script you could put the copy...
If you want to make it International... why not putting the Name of "Internal Storage" in the language-File? Or: Ask the user, where he wants to have his "Save-Files" - then you have the complete working path for you.
There's no reason to put something in a .cab, which canbe much easier done after installation. You need it anyway the whole time if somebody creates a new Titanium Skin - or should then the cab be reinstalled?
3. copies all cprs into windows and the shortcut into start menu/programs
Same as 2. - only back... and how to add Shortcuts in an .inf-File - I think that you already knows, right?
Keep up your good work - when it's working - than very much people will know, for what you'd make this effort!
Thank you
Micha
MichelDiamond said:
I almost thought, that you're doing i like that... it's not rudimentary - it's a very good way Perhaps a little bit to complicated for some things (why not using ExtensibilityXML to approve only Plugins, which works with the skin). Thanx for explanation.
Click to expand...
Click to collapse
I did not want to touch the rest of ExtensibilityXML because i want to leave the setup of the plugins everyone already has. Anyway only the plugins supported by the theme will show up.
But one thing... I don't know if you assume this will be in future, that's noboy would change the bronzeres.dll - I think not all developers will know this way - and there will be much more edits in future of other Titanium-Files perhaps - I would save it and have a look, that it would work with and without Bronzeres. Save the differences of each installation to the original theme - and you mustn't care for such things (I know - that's very rudimentary - but how do you say in english: If the mountain won't come to Mohammed, Mohammed must go to the mountain )
Click to expand...
Click to collapse
Some developers to which i have talked are willing to change their approach and try to leave bronzeres untouched for the next versions of their themes. Anyway the possibility to swap bronzeres is in the script and it is working well. I have fried to chnage theme without bronzeres at the beginning but for most of the themes the slider panel image is in bronzeres, so it does not look good without changing it.
I will have a look for my VGA-cpr - at the moment I haven't very much installed.
Click to expand...
Click to collapse
Thanks i will appreciate that.
To your problems:
Click to expand...
Click to collapse
The problem with the cab is that i have only built very simple ones like for loading bronzeres.dll into windows. For this i would need a cab which:
1. installs all the themes,
What's the problem there? The themes are all installed by cab - so alltogether should also be installed like cab - Perhaps - I don't now - you must only cascade the .cabs in Installation - with between "saving" - that could work
Click to expand...
Click to collapse
Yes i was thinking doing it like this but i have only done the very sinple cabs to install bronzeres up to now using the cab wizard, so i really am offside with building cabs.
2. copies the TitaniumThemes folder into storage card,
*g* For this case you asked in the other thread. In this case... make an installer after installation (I think you have JMLToday ( *link*), too? - you know what appears after Installation? In this script you could put the copy...
If you want to make it International... why not putting the Name of "Internal Storage" in the language-File? Or: Ask the user, where he wants to have his "Save-Files" - then you have the complete working path for you.
There's no reason to put something in a .cab, which canbe much easier done after installation. You need it anyway the whole time if somebody creates a new Titanium Skin - or should then the cab be reinstalled?
Click to expand...
Click to collapse
You are right on this, the script could be launched after installation and just copy the TitaniumThemes folder into Storage Card. I did choose this name as i used it in my scripts but i could change it to Internal Storage to suit the needs of non WWE users, for you it would be Speicherkarte right?
3. copies all cprs into windows and the shortcut into start menu/programs
Same as 2. - only back... and how to add Shortcuts in an .inf-File - I think that you already knows, right?
Click to expand...
Click to collapse
Ok, can go in the same script, i thought pakaging everything into 1 cab install would be easier but you are right.
No - not "Speicherkarte" "Interner Speicher" would be the word, which Microsoft has chosen...
With Cab-Wizard you won't have any chance... you need the .inf-File... and I know... it's hard... there's no description for our purpose at one place - I had to seek very much around until I had the cab-concept e.g. for JMLToday.
But so I could help you - I will make bytheway a description with a .cab-Frame for JMLToday 5.3 - but I can give you the additional informations what you need to get it work with AT Plugin Installer.
Therefore I would need the complete directory-structure, which you want to cab... and a little time...
Send me a private message, ok? Don't want to blow up your Thread with Things that doesn't concern all users.
I am working to iron out the cprs for the different themes, to get support for most of the plugins out there today. When they are ready for QVGA i will try to resize them for the other resolutions with the new tool that came out, and post them for you to test them for me in your devices. When they are working well i can post installers for all resolutions.
I need information of which themes people is using to see which ones are worth to be included in the theme switcher, so pls. vote in the poll.
Cool Claus, but the poll isn't good
You develop a Theme Switcher - and in the Poll you can only choose one Theme
MichelDiamond said:
Cool Claus, but the poll isn't good
You develop a Theme Switcher - and in the Poll you can only choose one Theme
Click to expand...
Click to collapse
You are totally right Micha, it was late when i posted the poll and forgot to change the option to let choose several options. Now i don't find how to change this option. Any mod can help me do that?
There are some resized cprs to be tested on the first post for VGA and WQVGA. If someone with this resolution has TitaniumShadowNeo or WM7 theme installed could test them, i would be grateful. Pls. don't forget to backup your Titanium cprs first.
Will be happy for any feedback to correct the cprs.
claus1953 said:
There are some resized cprs to be tested on the first post for VGA and WQVGA. If someone with this resolution has TitaniumShadowNeo or WM7 theme installed could test them, i would be grateful. Pls. don't forget to backup your Titanium cprs first.
Will be happy for any feedback to correct the cprs.
Click to expand...
Click to collapse
I have been waiting so long for someone to do this. Thank you.
Here are screenshots of my 2 real issues so far.
1) The is no icon for the SMS/MMS panel.
2) notice how the word phone is cutoff on the Phone panel.
P.S. I am using it on a Diamond
goraps said:
I have been waiting so long for someone to do this. Thank you.
Here are screenshots of my 2 real issues so far.
1) The is no icon for the SMS/MMS panel.
2) notice how the word phone is cutoff on the Phone panel.
P.S. I am using it on a Diamond
Click to expand...
Click to collapse
Thanks for testing it, i will look into the missing icon and move the text a bit up for this panel tomorrow, and repost the cprs. Are those the only issues you found?

Enable SMS on Any ROM

Since there's now an Xposed Framework Module available to do this same thing, that is the much better way to go than modifying your framework-res.apk directly.
Check that out here http://repo.xposed.info/module/de.makuser.nexussms
-Original post follows-
I got tired of seeing several threads about this topic so I figured I would post a "How to", which should work on all ROMs and versions around.
This procedure is actually fairly simple, and if you have basic Android and computer knowledge you can do this.
What Does This Do?
On mobile-enabled tablets like the N7 3G and the N7 LTE, the device itself is capable of sending & receiving MMS and SMS messages. Maybe you've read about how Google Hangouts got the ability to do this not too long ago. However, if you excitedly downloaded and installed the new version, you may be like "What the hell is this?!?" because by default you cannot see any SMS-related options. In Jellybean and KitKat, a device has to be "a phone" before the system thinks the device is able to send SMS and MMS messages. However, its fairly easy to change this particular property on your device so that it self-identifies as a "phone" and you get access to SMS.
Important: You actually have to have SMS service to use SMS service. Even though it boggles my mind, people have actually sometimes been confused by this particular mod, and have asked me if it somehow gives you SMS service. It does not, it only gives you access to the software functionality to send and receive SMS messages.
Even More Bolded Text!: there is one exception to this. If you are using CyanogenMod 10.2 (or 11 if they have ported Voice+ to it, not sure at this time), you can use this mod in conjunction with Google Voice and the Voice Plus app. Voice+ allows you to send & receive messgaes via the Google Voice service behind the scenes, but on the front end you can use the stock MMS.apk, or the Google Hangouts app to do this. This does not involve modifying Google Hangouts, its just sort of "bridging" Google Voice and the native SMS handling so that your Google Voice texts act like regular SMS messages. Voice+ is part of the CyanogenMod project and you can read more about it here. It's honestly pretty nice if you're a Google Voice user, since the regular Google Voice app kindof sucks.
This procedure involves modifying a boolean setting in your device's framework-res.apk file. That may sound like gibberish to you, but its still not hard to get this done.
What You'll Need
This guide is written for people who use Windows. All the utilities I'll talk about in this guide are for Windows. I'm sure its possible to do this on Mac & Linux, but the main utility I use to make this easy (FrameWork Flasher) is for Windows.
-An archive manager. I recommend 7-Zip, since it is free, open source, and can handle basically every archive format known to man.
-FrameWork Flasher. I updated this application to work with KitKat, but am not the original creator. You can download the updated version from MediaFire. FrameWork Flasher was created by XDA's own Wes Foster, and you can see his original post here.
-Some kind of text editor. I use NotePad++
-An Android device with a custom recovery installed on it. "Custom Recovery" means like ClockWork Mod, or TWRP. You need this to flash your modded file back onto your device.
Got all your stuff together? OK, on with the How Tos.
How To Do This
The first thing you'll need to do is get a copy of your current ROM's framework-res.apk file. There are a variety of ways to do this. If you're running a custom flashable ROM, like CyanogenMod, the simplest way to go is to just download your ROM's flashable ZIP file onto your computer and then open it up in 7-Zip. The file should be located inside the ZIP in the system\framework folder. Just extract that to your Desktop, or wherever you're going to keep the files you're working on.
If you're running a "stock" firmware, probably the easiest way to get your current framework-res.apk is to copy it from your current tablet. Note: this method should always work regardless what ROM you are running, I just find it easier to pull the files out of the downloaded ZIPs on a computer. You'll need an Android file manager that allows you access to the entire file system, not just the "sdcard" type area. I use SolidExplorer, but Root Explorer would work just as well. Your goal is to get the file /system/framework/framework-res.apk on your Android device onto your computer. There are probably a dozen ways to accomplish this. Super noob method: just copy this file from its original location to your "Downloads" folder, then plug your device into your computer via USB and copy the file out of the Downloads folder and onto your computer using MTP. Another method would be to send it to yourself as an attachment on an email. Hell, Solid Explorer has a SMB/SAMBA client built into it, so if you know how to use that you can just push the file directly from its original location to a shared folder on your computer. If you need a step-by-step on how to accomplish this particular step, IMO you're not tech savvy enough to be doing this stuff.
Anyways, so you should now have the framework-res.apk file from your current ROM on your computer.
Download and unzip my FrameworkFlasher-MOD file. Inside the folder, you'll see several folders and files. You need to put the original framework-res.apk file in the "place-framework-res-here" folder (how inscrutible!). Then you can run RunMe.bat.
You should get a pop-up window with a simple text-based menu. You'll want to run Option 1. The program will process for a while, and then should end up at a "The APK has been decompiled successfully" message. You can press any key to continue. At this point its not a bad idea to just leave FrameWork Flasher running.
FrameWork Flasher should have unpacked all the resources from the APK into the folder "files-to-edit". You'll need to go into files-to-edit\framework-res.apk\res\values. Inside of their, you'll find a bunch of XML files. You need to open bools.xml in the text editor of your choice. You're looking for the line that says
<bool name="config_voice_capable">false</bool>
All you need to do is change false to true, so you should end up with
<bool name="config_voice_capable">true</bool>
Then, save the file and close your text editor and go back to FrameWork Flasher.
You'll now want to run through options 2, 3 and 4. After doing this, you'll have a file called "update.zip" in the "final-zip-file" folder. You'll need to put this onto your device and flash it.
If you've flashed ROMs before, I'd hope you know how to do this. As with the "get your framework file" step, there are many different possible ways to get the update.zip file onto your device. You could transfer via USB, over the network, via email, whatever.
Once you've got the file on your device, you flash it like you do any other flashable ZIP using CWM or TWRP. This ZIP should work with either recovery, and you do NOT need to clear cache or anything like that. Simply flash and then reboot your device.
NOTE FOR T-MOBILE USERS: Some T-Mobile customers, including me, get a "New Voicemail" notification on their device(s) with voice capable turned on. This is specifically a problem with the way your T-Mobile account was initially set up and/or provisioned. The device is correctly reporting the voicemail status it gets from your account. The problem is that T-Mobile sometimes puts the "Welcome to your new voice mailbox!" message into your inbox even if your voicemail is not turned on. As far as I know there's no way to fix this issue short of working with a T-Mobile tech to get them to fix it, which I haven't bothered trying to do given the weird nature of what I'm doing. In CM10.2 you can just swipe this message away. It occurs once and only once each time the device is rebooted. On the current builds of CM11, the voicemail notfication cannot be swiped away. This is a known bug in AOSP and was fixed in 4.4.2, so the fix should come to CM11 soon enough.
Forgot to mention, since this makes your device think its a "phone", if you install Dialer.apk, you can have access to the normal "Phone" app in your Apps drawer, and mess with SIP goodness
Also, for CyanogenMod users, your ROM probably did not come with some APKs that will make this more useful.
You CAN just use Google Hangouts as your SMS/MMS app, but some people may prefer to use the native CM app instead (it has those nice pop-up messages!). For that you need MMS.apk.
If you want to mess with the "Phone" functionality, you'll need Dialer.apk.
And finally, if you want to receive emergency notifications from the government (for like natural disasters and Independence Day-style alien invasions and stuff ) you'll need CellBroadcastReceiver.apk. Please note that none of these are needed for SMS functionality and all these APKs are from CyanogenMod and will not work on stock or other ROMs.
For CM10 Stable, I grabbed these APKs out of the Nexus 4 (mako) ROM, stuck them in a zip and uploaded them here.
On CM11-M1. same deal but I used the Nexus 5 (hammerhead) ROM as my source. Those are here.
These files just need to be placed into the appropriate folder(s) on your device and then you'll need to set the file ownership & permissions the same as the rest of the the stuff in there (owned by root:root, -rw-r--r-).
They all go in /system/app, except for MMS and Dialer on CM11. On KitKat they have introduce the new /system/priv-app folder. My ZIPs contain those directories to remind you where to put the stuff.
I'm not a Windows user and I'd love to modify my own (stock) framework-res.apk to re-enable SMS support. Do you know what tools FrameWork Flasher uses "behind the scenes" to decompile and recompile the apk?
I don't like the idea of tampering with framework-res.apk using apktool unless somebody can confirm that this is the right direction.
sbiriguda said:
I'm not a Windows user and I'd love to modify my own (stock) framework-res.apk to re-enable SMS support. Do you know what tools FrameWork Flasher uses "behind the scenes" to decompile and recompile the apk?
I don't like the idea of tampering with framework-res.apk using apktool unless somebody can confirm that this is the right direction.
Click to expand...
Click to collapse
APK Tool is indeed the right direction to take.
I actually had to update the binary of APK tool that Framework Flasher uses, since the one included in the original isn't new enough to know what JellyBean and KitKat are Since FrameWork Flasher is a Windows Batch Script, I'm certain its just automatically doing stuff in the command line you could be doing by hand.
Looking at the source, I think the deompilation is done with this command:
java -Xmx%heapn%m -jar apktool.jar d "../place-framework-res-here/framework-res.apk" "../files-to-edit/framework-res.apk"
"%heapn%" is a variable, which appears to default to the value of 64.
So the command
"java -Xmx64m -jar apktool.jar d "/path/toframework-res.apk" "/path/to/extract/to"
should work on Linux or Mac, provided you've got Java installed and the jar in the current working directory. Obviously change the paths to match your local stuff. Post how it works if you'd like, I'love to update the guide to include Mac / Linux instructions, and Framework Flasher is the only "Windows" part about it.
DivinityCycle said:
Post how it works if you'd like, I'love to update the guide to include Mac / Linux instructions, and Framework Flasher is the only "Windows" part about it.
Click to expand...
Click to collapse
Obviously I messed up the resulting framework-res.apk because it got stuck in a Zygote startup loop. It's worth noting that I built apktool from the latest git sources, so there might be some bugs lurking in the shadows.
Oh well, I'll just wait for somebody else to do the dirty work
sbiriguda said:
Obviously I messed up the resulting framework-res.apk because it got stuck in a Zygote startup loop. It's worth noting that I built apktool from the latest git sources, so there might be some bugs lurking in the shadows.
Oh well, I'll just wait for somebody else to do the dirty work
Click to expand...
Click to collapse
Well, if you send me your framework-res.apk I can mod it for you. Takes like 2 seconds
The Framework Flasher source code shows the following for the actual "do the work" steps:
To decompile the original APK-
java -Xmx%heapn%m -jar apktool.jar d "../place-framework-res-here/framework-res.apk" "../files-to-edit/framework-res.apk"
To compile the new APK-
java -Xmx%heapn%m -jar apktool.jar b %~dp0files-to-edit\framework-res.apk %~dp0place-framework-res-here\unsignedframework-res.apk
To sign the APK-
java -Xmx%heapn%m -jar signapk.jar -w testkey.x509.pem testkey.pk8 ../place-framework-res-here/unsignedframework-res.apk ../place-framework-res-here/signedframework-res.apk
To build the unsigned ZIP-
7za a -tzip %~dp0place-framework-res-here\unsignedframework-res.apk %~dp0temp-files\* -mx%usrc% -r
And finally, to sign the ZIP-
java -Xmx%heapn%m -jar signapk.jar -w testkey.x509.pem testkey.pk8 ../final-zip-file/update_unsigned.zip ../final-zip-file/update.zip
note: you do not actually need to sign the ZIP. You CAN flash a zip without a signature on it, its just that with signature you get verification that the file is intact, which isn't a bad idea.
In Batch's screwy syntax, %heapn% is the variable that contains the heap size, and it looks like the default heap size the script uses is 64 unless otherwise specified by the end-user.
Also, %~dp0 is just a path expansion expression used to give the full path to the target files where its used.
I'm pretty sure you can make use of the jar and key files inside the FrameWork Flasher zip file I attached to this thread. You can find them in the resources folder. Both apktool.ar and signapk.jar are necessary, and I'm pretty sure the testkey files are needed to do the digital signatures and make this stuff work. Hope that stuff helps
Your mediafire link is just another link to download 7zip, could you update it. Thanks.
deyanimay said:
Your mediafire link is just another link to download 7zip, could you update it. Thanks.
Click to expand...
Click to collapse
Damn you multi-tasking!!! sorry about that. Fixing it nao.
The link should be http://www.mediafire.com/download/jozlg1xy4vxiegb/FrameworkFlasher-MOD.zip
when I tried to use framework flasher option 1 it said
Framework Flasher 1.1.4 - by Wes Foster (wesf90)
Please read the "Help" section before using this script
--------------------------------------------------------------------------------
----
Compression: 9 Heap Size: 64mb
````````````````````````````````````````````````````````````````````````````````
````
Main Options (in order)
-----------------------------------
(1) Decompile APK
(2) Compile APK
(3) Sign APK
(4) Create and Sign update.zip
(5) Great News! (when your finished creating the zip)
Other Options
-----------
(10) Set Compression Level for APK's
(11) Set Max Memory Size (if you get stuck when decompiling/compiling)
(12) Read Logs
(13) About / How-to / Help
(99) Exit
--------------------------------------------------------------------------------
Choose the number corresponding to the option:1
(removing old files...)
(removing old files-to-edit...)
===============++ Decompiling the APK. Please, please be patient ++==========
=====
ECHO is off.
An error has occurred. Check the log for more info.
ECHO is off.
Press any key to continue . . .
Click to expand...
Click to collapse
I attached the log. I'm trying to do this with CM 11 M1 on my deb, windows 8. Any ideas?
edit: framework-res.apk i'm trying to decompile: https://www.dropbox.com/s/iqc3eniv0u51ytg/framework-res.apk
seems like this is a common problem (googled it echo off) but I havent found a solution that works
edit 2: just tried it on my windows 7 laptop with the same result
edit 3: tried doing this with the cm 10.2 framework-res.apk with the same result.
About the voice mail message. Have you tried to install T-mobile Visual Voicemail to see if it could download then delete the message? I don't know how this app works, it's just the first thing I thought of when I read your post.
Thanks for creating this quide. I tried the single steps of the guide two weeks ago (I described it here: http://forum.xda-developers.com/showpost.php?p=47928887&postcount=167), but always got a bootloop. (De-)compiling the framework succeeded without errors and I tried it with and without changing the build.prop. By now I have no clue what went wrong. Mabye you need a special version of apktool fitting the rom you want to patch ?
Paten said:
About the voice mail message. Have you tried to install T-mobile Visual Voicemail to see if it could download then delete the message? I don't know how this app works, it's just the first thing I thought of when I read your post.
Click to expand...
Click to collapse
I've tried this and it doesn't work. I guess the app can't properly add the visual voicemail service to that line. I've also asked T-mobile about it and they said that I don't even have a voicemail box to store messages so there is nothing they can do about it.
nsmart said:
Thanks for creating this quide. I tried the single steps of the guide two weeks ago (I described it here: http://forum.xda-developers.com/showpost.php?p=47928887&postcount=167), but always got a bootloop. (De-)compiling the framework succeeded without errors and I tried it with and without changing the build.prop. By now I have no clue what went wrong. Mabye you need a special version of apktool fitting the rom you want to patch ?
Click to expand...
Click to collapse
Same here, it appears that setting config_voice_capable to true triggers an NPE inside the Keyguard class (i.e. the system PIN entry dialog) which then in turn causes SystemUI to restart over and over.
Perhaps the answer lies somewhere in the changes between 4.4 and 4.4.2 inside the AOSP device tree for deb, but I don't have the time to do an extensive diff of everything that has changed between those two releases.
Has anybody succeded in modding the stock KOT49H build without side effects?
---EDIT---
Apparently @GuyAdams managed to do it. Question is, how
cheers mate, nice post etc, been trying to get this going the last few days (and trying the other posts I've seen you talking on) but so far no luck. I'm getting the same log error as the previous poster too.
cheers
running nexus 7 with cm11 latest nightly.
burpitt said:
cheers mate, nice post etc, been trying to get this going the last few days (and trying the other posts I've seen you talking on) but so far no luck. I'm getting the same log error as the previous poster too.
cheers
running nexus 7 with cm11 latest nightly.
Click to expand...
Click to collapse
Well that sucks! It looks like APKtool doesn't work on anything newer than 4.4. I was able to reproduce the errors by trying to decompile / recompile the framework-res.apk from stock 4.4.2. The current release of APKtool from Slimbean I found here on XDA Devs appears to not be new enough. The main attraction of FrameWork Flasher over other solutions was the extremely easy & rapid download & use (as opposed to the end user having to like go download and install the entire Android dev kit), and Virtuous Ten Studio can definitely do this job, but again it looks to be an order of magnitude more complex for the average user to use. I'm going to be a little busy today doing actual work, but I should be able to find the time to work on this other stuff as well. Frustrating!
Is this working for the rom here: http://forum.xda-developers.com/showthread.php?t=2545628
And what about the carrier dont they see you now making calls and texts on a line that is set to be a tablet?
curtdragon said:
Is this working for the rom here: http://forum.xda-developers.com/showthread.php?t=2545628
And what about the carrier dont they see you now making calls and texts on a line that is set to be a tablet?
Click to expand...
Click to collapse
Did you even read my post? At no point did I say anything about "making calls", and as stated in the OP, this simply turns on the software on the tablet that allows you to send & receive SMS/MMS messages. You have to have to actually have SMS service to send / received SMS messages.
Also as carefully stated in OP, using CM10 or CM11 means you can use Voice+ to make Google Voice messages act like regular SMS.
Last but not least, the most recent builds of Bruce's CM11 ROM (the one you linked to) already have this modification applied (as he explained in the most recent few posts).
DivinityCycle said:
Did you even read my post? At no point did I say anything about "making calls", and as stated in the OP, this simply turns on the software on the tablet that allows you to send & receive SMS/MMS messages. You have to have to actually have SMS service to send / received SMS messages.
Also as carefully stated in OP, using CM10 or CM11 means you can use Voice+ to make Google Voice messages act like regular SMS.
Last but not least, the most recent builds of Bruce's CM11 ROM (the one you linked to) already have this modification applied (as he explained in the most recent few posts).
Click to expand...
Click to collapse
Hey thanks for coming off as a douchbag. Do I even read? No, perhaps you've edited your post several times since i did. Not to mention the fact that your title reads "Enable SMS on any ROM" then you go on to say that it will also enable the voice portion of the phone. Finally I asked a legitimate question it he texts why? because with ATT i have a share plan. While the plan says it's unlimited talk and text then the data is shared each device is different on the account and priced differently as well.
Also if I wanted to use Google Voice to send text messages i would just do that. Voice+ sends
But as you said this is enabled in the ROm i am using so I will exit this thread now.
You really need work on your people skills.
I do not run framework flasher is not possible to have a zip ready to be flash? I have a nexus 7 2013 LTE with cm 11 kot49h.... Thanks
Inviato dal mio Nexus 7 utilizzando Tapatalk

Categories

Resources