Related
Hi,
I recently installed PHM traylaunch, very nice APP btw. Could someone inform me of how to change the icon that is presented on the today screen? For example, I put calendar.exe in the traylauch and the icon that is associated it with it is garbage. Could someone explain to me how to change the icon? Thanks!
I believe the icons are located within the program's files, usually a .exe or a .dll file. You would need to edit the files with a program like reshack (resource hacker). I did this for a couple of programs when I used TrayLaunch. You'll need to replace the icons in the file and save it. I would make a backup first -- you don't want to screw up the program's executable and have no way of recovering it.
I usually copy the file to my desktop to edit it. When I have the new file saved, I rename the old file on my device (xxxxxx.old), then I copy the new file to the same location as the old one. If you replaced the icons with new ones more to your liking, then a soft reset should show you the new icons in the tray.
I think calendar.exe is in ROM, though, so this probably will not work. I believe there are launcher programs which let you assign icons, but I haven't used any. TrayLaunch is simple and efficient, even if it is a pain to set up initially.
jgrnt1 said:
I believe the icons are located within the program's files, usually a .exe or a .dll file. You would need to edit the files with a program like reshack (resource hacker). I did this for a couple of programs when I used TrayLaunch. You'll need to replace the icons in the file and save it. I would make a backup first -- you don't want to screw up the program's executable and have no way of recovering it.
I usually copy the file to my desktop to edit it. When I have the new file saved, I rename the old file on my device (xxxxxx.old), then I copy the new file to the same location as the old one. If you replaced the icons with new ones more to your liking, then a soft reset should show you the new icons in the tray.
I think calendar.exe is in ROM, though, so this probably will not work. I believe there are launcher programs which let you assign icons, but I haven't used any. TrayLaunch is simple and efficient, even if it is a pain to set up initially.
Click to expand...
Click to collapse
Great! Thanks for the information. I will give that a try.
I apologize if this is the wrong location for this question. Please move if it is.
I am looking to see if anyone has yet created a CAB file that would modify the File Locations as detailed in the WM5_Tweaks_Other Wiki.
I'm interested in the following tweaks:
Change the location of My Documents
Change the location of email and attachments
Change the location of temporary internet files
The reason I'm asking for a CAB file is so that I can change these automatically when I burn a new ROM without having to install a registry editor each time and make all those registry changes. It's getting old to have to modify those each and every time.
Any assistance would be greatly appreciated!
Greg
As it is only changing keys in the registry, it can be done with a cabfile.
The trial of WinCE CAB Manager can do that.
Dude use Schaps_AdvancedConfig, It has those options plus MANY more.
joshkoss said:
Dude use Schaps_AdvancedConfig, It has those options plus MANY more.
Click to expand...
Click to collapse
Actually it doesn't seem to have all of those. I tried 2.02.1.0. It allows you to change the location of the IE cache and temporary files, but it does not allow you to change "My documents", and it does not allow you to change the location of email and attachments. At least not that I can find.
Maybe I'm blind and not seeing those though. Can you point them out for me please?
Thanks!
Greg
Advanced Config, 1 or 2, is a wonderful tool, but if you make a cab file that takes care of your own preferences all in one go, including ones Adv Config doesn't cover (it can't cover everything) thenit's a good idea.
I did the same thing with an xml file rather than a cab a while ago. All I actually did was edit the pre-existing orange xml file that set up my network connections.
Might be easier than creating a cab as requires no tools but Notepad.
write all the registry tweaks into one single text file, save it as <whatever>.reg and install dotfred's task manager (which is a single exe-file).
this taskmanager can easily imoprt reg-files.
if you need a template for the reg-file's syntax use dotfred's task manager to export the required reg-keys...
Final Result
I have decided to go with the CAB file. It was a BREEZE! And the resulting CAB file is less than 3k, and take just a second to install. In case anyone is interested in it, I am attaching it here. Feel free to request anything in addition as I can add registry entries very easily.
All this small CAB does is set "My Documents" to be on your storage card, and set email and email attachments to your storage card. 3 registry keys added. Nothing more.
Enjoy.
is it possible to change splash screens on the cavalier like in other htc models ?
there's a setting on the registry that you can change to point to a different image...
ms_splash.png I think
but how can i change the file,cause it's telling me that the file is in use
rename then copy then rename back
or just use a different name and change the registry
ikkoku said:
or just use a different name and change the registry
Click to expand...
Click to collapse
what registry?
because i can't even rename the system file...it's telling that's in use..
find ms_splash.png in the registry. change the string to ms_splash1.png.
name your image to ms_splash1.png and place the file into the same folder as ms_splash.png
soft reset
i tried also with total commander but i even cant rename the file
om, so i am a semi-advanced user, and i am trying to make a flashable zip. i have everything down, but when i try to change the update script from .txt to no extention so it could be read, nothing happens. i have tried three different ways (simply deleting .txt, right click to get info and changing there, mv command in terminal) and it always opens as a txt file. the extention name is gone, but it acts like a txt still. i have tried flashing, and it doesnt work (update script error). plz help me!!!!
27 views but no replies? A simple I don't know would be better than nothing so i can stay on the first page. Plz help I need it...
Im clueless on this one.
THANK YOU! Finally somebody replies
Are you sure you completely removed the .txt suffix? In Finder preferences do you have the checkbox for "Show all Application extensions" checked or unchecked? Make sure it is checked and then remove the .txt suffix again from the file.
Because Macs still show the .txt extension even when this box is unchecked, it is easy to think it was removed it when in actuality it was not. The reason behind this is that on Macs there is often a double .txt extension
You should be able to do it this way...
click on the file, then go to the Action menu (the button that looks like a gear up in the Finder window’s toolbar), and choose Create Archive from there. Either way, it quickly creates a new file, with the file extension “.zip.”
You can also compress several different files (like three, for example) into one single archive file — just Command-click (or Shift-click contiguous files) on all the files you want included, then choose Create Archive of X Items from the Action menu.
I know this is the "ghetto" way but if you have a hosting service you can just upload it, click rename, then wipe out the .txt
Thanks olcowicz and rutter. Ca million I am not trying to make a zip. Thanks anyways.
Thanks everyone for all your help.
Hello.
In this tutorial, I will try to explain how to add some language(s) in your phone when it's not implemented by the vendor (localized ROM).
I will not cover how to change the keyboard language (or layout) as there are a lot of free keyboards in the market with a lot of localizations. (In my case I need azerty French keyboard that is not implemented in my ROM).
I did it with KitKat (4.4.2) but should be ok with almost any version.
It's for Samsung devices, I really don't know if it's work with others brands try it !
I'm pretty sure that only the 1st phase should maybe not work in other brands, The last 3 phases should be OK with any brand.
I'm French and living in Japan, I recently bought a Samsung Galaxy S4 who is restricted by Japanese vendor (DOCOMO) to only English, Japanese & Korean languages.
I've read a lot of things before I could translate the OS (French in my case) , and I could'nt find any good tutorial. Some people say you can't, some say you have to recompile your ROM , etc...
First, you could install something like "applocal2" for add your language in already translated apps, but of course, it will not work for the non-already translated apps (usually system apps).
As I'm new here (look at my join date ), I coudn't post link, so google for them !
What you need :
In your device :
Your device must be rooted.
Root Browser or equivalent.
USB debugging turned on.
In your PC :
A Rom for your device with the language you want inside in the same version of Android. (Find it in sammobile.com site for Samsung devices).
sgs2toext4.jar. (Transform the system.img.ext4 from the extracted ROM to a readable format for the next tool)
ext2explorer. (Extract the files from the system.img.ext4)
Virtuous Ten Studio. (Don't have to present it !! The must have tool !!)
7zip or equivalent.
What you have to know :
This is always dangerous to play with system files ! I'm not responsible if you broke your device !!
Always do a backup of the file you will modify ! I suggest you copy them on your PC and you keep them in the original folder with a modified name, as this you could maybe try to restore them via ADB if something is wrong.
You don't have to bother with the signature mode when recompiling system (only) apk (any of them are ok). But you should copy the "META-INF" folder & "AndroidManifest.xml" file from the original apk to the newly repacked apk. (First erase them from the newly created apk inside 7zip, then open the original apk with 7zip and copy and paste to the new apk).
When copying new apk from PC to device, first copy them in the /system/ folder, then change permission to 644 (rw-r--r--) before finally moving them to the original folder.
How it's work :
The principe, as you should understand, is to extract both your apks and the apks from the dowloaded ROM, copy the ressources in your language from it to your apks and then rebuild them.
In our case (at least mine ) these apks are in the folders :
/system/app/
/system/framework/
/system/priv-app/
Ok, here we GO !
1st phase : extract the files from the downloaded ROM with the language you want.
Extract the ROM (.zip) with 7zip, and then extract again the resulting file (.tar.md5) with 7zip (you should have an error : don't care of it).
Open sgs2toext4.jar and past in it the file system.img.ext4. Wait it take time. It will produce a new file named : system.img.ext4.img
Open ext2explorer and choose open the previously created file. Then right click on it and save. Create a new folder (I named it sys), and press ok. Wait it take time.
You now should have the /system/ directory extracted inside the sys directory with the apks who have your language in them.
2nd phase : Find the apks you need to modify. This is actually the most harder part !
There are a lot of apks in the 3 directories I say earlier. You don't have to translate all of them.
The 1st one you should change is /system/framework/framework-res.apk or /system/priv-app/SystemUI.apk. One of them (don't remember wich one ) give you the option of your language in the settings.
Launch VTS (Virtual Ten Studio) and click New Solution
Choose the file you want to open, then Import.
Project-Type must be Apk-Project.
Choose a Solution Name (for example Original_name_of_apk or Translated_name_of_apk), then Click Next.
Should be Basic Theming. Click Next.
Click Next.
What I did is to open some of them one by one to see if there are localized languages in it.
Here a non-exhaustive list of what I found :
Some of them are the overlay by Samsung (TouchWizz), and some of them are Japanese version of app.
Try to find yours (for example JContacts.apk could be SecContacts_OSup.apk in the downloaded ROM) by opening both versions and comparing the file /res/values/strings.xml.
/system/framework/twframework-res.apk
/system/framework/framework-res.apk
/system/priv-app/SystemUI.apk
/system/priv-app/Keyguard.apk
/system/priv-app/Jcontacts.apk
/system/priv-app/SecLauncher3.apk
/system/priv-app/SecPhone_JPN.apk
/system/priv-app/SecSafetyAssurance.apk
/system/priv-app/SecSettings.apk
/system/app/AccessControl.apk
/system/app/AssistantMenu.apk
/system/app/EasySettings.apk
/system/app/MultiWindowTrayService.apk
/system/app/SViewCoverService.apk
3rd phase : Copy the language from one apk to another.
Now you have found some apk to "translate", we must copy the /res/ folders we want from the decompiled apk of the ROM who contain your language to your original apk.
Look in the /res/ folder in VTS and find the differents languages : they are /res/value-xx/ but you could have in some case /res/raw-xx & /res/xml-xx.
Anyway,
Copy from the folder created by VTS all the directories who have the language you want (in Windows Seven it's : \Documents\Virtuous Ten Studio\Projects\Translated_name_of_apk\name_of_apk\Data\res) and copy them to the VTS directory of your original apk ( \Documents\Virtuous Ten Studio\Projects\Original_name_of_apk\name_of_apk\Data\res).
In VTS, reopen or reload the original solution.
Click Build all in the top tab Home. Wait it finish.
Very important : As said before, open your original apk and the newly created apk ( \Documents\Virtuous Ten Studio\Projects\Original_name_of_apk\name_of_apk\Binary) with 7zip, and replace META-INF folder & AndroidManifest.xml file from the original one to the new one. This will sign your apk.
4th phase : Replace the original apk whith the new one.
Copy the new apk on your device, and copy it in the /system/ folder.
Very important :Change permissions to 644 (rw-r--r--) with Root Browser in the device, and then move it to the original folder remplacing the original one.
That's it, wait few minutes and play with your device to see if there are no problems and then reboot, go settings, change language and see the changes !
I suggest you reboot after each change you made in case something goes wrong.
Notes :
In some case I had errors when decompiling apk. I had resolved that by remplacing the version of ApkTool in VTS by the last one (C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool) version apktool_2.0.0rc3.jar. Then remove the other 2.0.0 jar file.
In some case I couln't build the new apk because of errors in some layout files. I didn't manage to resolve that as the both ROM I have (mine and downloaded one) have the same issue.
If something goes wrong (but it shouldn't be), for example lot of messages "error xxx should close" just when you replace the apk before rebooting try to lanch an adb shell and to retrieve the original apk you had saved in the original dir by erasing the new one and rename the saved one. In some devices you have first to remount the system partion in rw as it's read only.
EDIT :
I had a bug with 1 file I modified : SecMms.apk
I'd tried it and it was working fine, but after I receive message, it crash always.
After some testing, I got it working by using the old version of APKTOOL (1.5.2) for decompiling it.