JME CDC: Creating shortcuts for CrEme app - Touch HD Themes and Apps

Hi all,
I have created a shortcut/link file to run my app stored in a path on storage card as follows:
255#"Storage Card\windows\creme\bin\creme.exe" -Of -jar -classpath "\Storage Card\" CdcApplication7.jar
However, it fails to work and the jscpout file generated states it cannot find the jar. But if I place the jar file is in the root of the device it will work. I've tried different permutations but without success, Creme cannot find the jar file. So I suspect the path is syntactically incorrect. Can anybody please point me in the right direction. I dont want to have to store all my apps on the device internal memory!
i.e. how should I type the text in a Pocket PC link file to run my jar file with Creme?
Thanks
Gary

I got this reply from NSIcom Help Desk
Do it like this (single quotes, and all of the path within them):
255#"Storage Card\windows\creme\bin\creme.exe" -Of -jar '\Storage Card\CdcApplication7.jar'
255#"Storage Card\windows\creme\bin\creme.exe" -Of -classpath '\Storage Card\CdcApplication7.jar' Main

Related

Unable to change files in \Windows on TMobile Dash WM6

I'm trying to remap the TZones button on my Dash. However, when I try to manipulate Short_IE.lnk in \Windows on my phone via Total Commander it does not work. I cannot change the file. I have tried an app unlocker mentioned in [http://forum.xda-developers.com/showthread.php?t=281838] but I am not sure if that will do the trick.
Any ideas?
have you tried dragging the file onto your desktop, editing it there and moving it back to your \windows folder?
I suppose that might work, if \Windows could be located through Windows explorer. I'm not sure how to use ActiveSync to write files to the \Windows directory on the phone either. I just pop up My Computer and transfer files to my SD card directly.
at0msk said:
I suppose that might work, if \Windows could be located through Windows explorer. I'm not sure how to use ActiveSync to write files to the \Windows directory on the phone either. I just pop up My Computer and transfer files to my SD card directly.
Click to expand...
Click to collapse
You can't write files to the \Windows directory via ActiveSync. You'll have to write them to My Documents or another visible folder while in ActiveSync. Then using your phone's File Explorer, copy and paste the file from whereever ActiveSync placed it to the \Windows directory.
Rip Syntaxx said:
You can't write files to the \Windows directory via ActiveSync. You'll have to write them to My Documents or another visible folder while in ActiveSync. Then using your phone's File Explorer, copy and paste the file from whereever ActiveSync placed it to the \Windows directory.
Click to expand...
Click to collapse
I can drag and drop at least some files straight to \windows through activesync... specifically the eT9 files for fixing keymapping. Is that not normal?
I've used the unlock method listed here (alternative way) http://www.modaco.com/content/HTC-Monet-Monet-MoDaCo-com/251706/Application-unlock-for-Monet/ and the phone is reported to be fully unlocked. I am still unable to change the Short_IE.lnk file in the \Windows directory. I'm still using Total Commander. I'm trying to rename the Short_IE.lnk file to Short_IE_o.link (original) so that I can rename Short_IE1.lnk which has my desired mapping. I'm just told "Cannot copy or move file!"
Well that's just great. I guess I don't understand this fully. I created a text document on my desktop and renamed it to Short_IE.lnk. From there I dropped it into the Application Data folder and used Total Commander to move it to \Windows. Overwrote the file without a hiccup. Seriously, WTF. Why wouldn't I just be able to edit the shortcut directly? It worked nonetheless but now when I try to use the key (mapped it to point to a shortcut) I'm told that there is no application associated with xxx.lnk (which opens a blank sms message to the person of my choice) and to open that file within the proper program. Now if I run the shortcut directly, it works. I may just edit the Short_IE to open the blank sms message and trash having it point to the shortcut I already made.
skisteven1 said:
I can drag and drop at least some files straight to \windows through activesync... specifically the eT9 files for fixing keymapping. Is that not normal?
Click to expand...
Click to collapse
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
at0msk said:
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
Click to expand...
Click to collapse
Really? Through ActiveSync (4.5, XP Pro), I click explore, and then open a folder called "full device", or something similar (don't have it in front of me) -- that puts me at the root folder. From there I can open "storage card", "windows", "my documents", etc.
Strange... I always thought that was normal (since it's been that way over 3 computers and 2 phones..)
at0msk said:
I wouldn't think so because most of us, I know I cannot, are unable to see the \Windows directory via ActiveSync or Windows Explorer.
Click to expand...
Click to collapse
Maybe on your desktop open my computer, then go to tools>folder options>view>Show hidden files and folders>OK.
Now you can see your \Windows directory through AS.
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Just use resco file explorer...
OrganicM said:
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Click to expand...
Click to collapse
Or just run SDA app unlock =)
OrganicM said:
YOU CAN drag and drop files to the device's \windows directory. There's policies defined in some ROMs (like Roger's) that will not let you do that. But with Kavana's latest... it's not a problem.
Try changing policies 1005 and 1017 to hex "16" in the registry, in order to relax the permissions even more.
--NRGZ28
Click to expand...
Click to collapse
THANK YOU! I'm glad I wasn't going crazy.
OK Here's one for you!
New issue! I use Total Commander to create a shortcut that points to my Storage Card. I place the shortcut in my Start Menu. When I go to open that shortcut...guess what! WINDOWS CANNOT FIND STORAGE CARD OR ONE OF ITS COMPONENTS. WHAT THE ****. If I use Windows Explorer on my computer to navigate to a directory that I place the shortcut in I can double click on it and I am taken right to my storage card. If I click on the shortcut while in Total Commander on the phone I am taken to my storage card.
WTF is wrong with WM6? Why would a valid-everyfuckingwhere-else shortcut not work when placed in the Start Menu?
Relax on the cursing
at0msk said:
New issue! I use Total Commander to create a shortcut that points to my Storage Card. I place the shortcut in my Start Menu. When I go to open that shortcut...guess what! WINDOWS CANNOT FIND STORAGE CARD OR ONE OF ITS COMPONENTS. WHAT THE ****. If I use Windows Explorer on my computer to navigate to a directory that I place the shortcut in I can double click on it and I am taken right to my storage card. If I click on the shortcut while in Total Commander on the phone I am taken to my storage card.
WTF is wrong with WM6? Why would a valid-everyfuckingwhere-else shortcut not work when placed in the Start Menu?
Click to expand...
Click to collapse
I agree with mikey on the foul language,,,,, when you create your shortcut to your storage card, are you making the shortcut to a folder or an .exe file? if you are making the shortcut to just your storage card ( or a folder) you must (i think) also include what browsing program to use inside your .lnk file. If its an .exe you are linking to then try and put quotations at beginning and end of your shortcut ( ex: #16 "storage card\program files\games\pocketnester.exe" ) otherwise you need it to look something like this #16 fexplore.exe - "\storage card\" ...( not sure if the latter string is completely correct , but you get the idea)
see the reason why this is working while you are in windows explorer (fexplore.exe) or total commander is because you are at that time in some sort of file explorer program. But if you do it straight through your start menu you are not actively in a file explorer program and windows doesnt understand what to use to browse to that directory
pudgedaddy said:
I agree with mikey on the foul language,,,,, when you create your shortcut to your storage card, are you making the shortcut to a folder or an .exe file? if you are making the shortcut to just your storage card ( or a folder) you must (i think) also include what browsing program to use inside your .lnk file. If its an .exe you are linking to then try and put quotations at beginning and end of your shortcut ( ex: #16 "storage card\program files\games\pocketnester.exe" ) otherwise you need it to look something like this #16 fexplore.exe - "\storage card\" ...( not sure if the latter string is completely correct , but you get the idea)
see the reason why this is working while you are in windows explorer (fexplore.exe) or total commander is because you are at that time in some sort of file explorer program. But if you do it straight through your start menu you are not actively in a file explorer program and windows doesnt understand what to use to browse to that directory
Click to expand...
Click to collapse
I see what you're saying here. Makes sense. I just thought that, you know...it's Windows, there's a Start menu and whatnot so I figured that some form of explorer was already running in the background so I guess I'm lost as to why one would need to invoke a file explorer to navigate the directories. But this is a phone moreso than a computer. Also, I was tired from a long day at work lol. Frustration clouds the mind. I'll try the fexplore.exe suggestion. Any idea if the 16# is right? I'm not sure what that is for...I see those thrown around and I thought they were button mappings...
Edit: Negative on #16 fexplore.exe - "\storage card\" or 16#:fexplore.exe -"\Storage Card\" or 16#"\Windows\fexplore.exe -\Storage Card\"....
at0msk said:
I see what you're saying here. Makes sense. I just thought that, you know...it's Windows, there's a Start menu and whatnot so I figured that some form of explorer was already running in the background so I guess I'm lost as to why one would need to invoke a file explorer to navigate the directories. But this is a phone moreso than a computer. Also, I was tired from a long day at work lol. Frustration clouds the mind. I'll try the fexplore.exe suggestion. Any idea if the 16# is right? I'm not sure what that is for...I see those thrown around and I thought they were button mappings...
Edit: Negative on #16 fexplore.exe - "\storage card\" or 16#:fexplore.exe -"\Storage Card\" or 16#"\Windows\fexplore.exe -\Storage Card\"....
Click to expand...
Click to collapse
Well i tried everything i could too. i know there is probably a way for either file explorer or resco explorer to go to the storage card as soon as it is launched. Personally i dont have this issue because i use smarttoolkit and there is immediate access to the storage card via the start menu without using any 1st or 3rd party file explorers but you may not want to use this proggy so i thought i'd help. sorry i couldn't solve your question
ok i got it! you can do it one of 2 ways: 1. edit the .lnk file with this #40"\windows\explorer.exe" "\storage card" 2. You can use resco explorer and navigate to the storage card and do a copy.....then paste shortcut in the \windows\start menu directory. cheers!

MortScript not acting as expected

So, as I'm beginning to tire of having to keep moving all of my shortcuts after each new ROM flash for organization, I made a small little script to do that for me.
However, part of it isn't working. It will successfully move shortcuts from the root of start menu to other folders, but will not copy shortcuts off of my storage card into the start menu. Any ideas why?
Here's that part of the script:
Code:
Copy ("\Storage Card\Garmin.lnk" , "\Windows\Start Menu\Programs")
Copy ("\Storage Card\Garmin\Garmin.png" , "\Windows")
RegWriteString ("HKLM" , "\Security\Shell\StartInfo\Start\Garmin.lnk" , "Icon" , "\Windows\Garmin.png")
Could someone please help?
Regards
Smith
I figured out why. It's because "Storage Card" has to be shortened to "Storage"
I changed the script though. Instead of copying a link, I'm creating a new one.
Code:
CreateShortCut("\Windows\Start Menu\Programs\Garmin.lnk" , "\Storage Card\Garmin\Apps\QuePPC.exe" , TRUE)
Yes, the target parameter still says "Storage Card." That is because WINDOWS wil be interpreting that from the link once it has been created. So, if the parameter were simply "Storage" windows would be unable to find that and the link would be invalid.
Geez, been too long since I've coded. Too many dumb errors lol.
Regards
Smith

Installing Metro Apps to another drive (for SSD Users)

title says it all, you see metro apps from the window store are huge, some games even reach 200 Megabytes. I'm thinking of upgrading my computer by using an SSD instead of an HDD, however unlike my HDD, the SSD is only 120GB while my HDD is 750 GB. I could easily fill 120GB with Steam Apps, Metro Apps, Desktop Apps in less than a month.
It's possible, but it does require some work. Microsoft doesn't make this easy. You can use directory symbolic links (symlinks) to put the files on one drive (say, D: ) but have them accessible via another (say, C: ). This avoids breaking all the install paths, etc. and ensures new installations will go to the correct disk. Please note that even the biggest Metro apps are pretty small compared to the typical Steam game. You'll save a lot more space moving your Steam library over to the other drive. It's also a lot easier; you can either use the built-in Steam feature to put games in different library locations, or you can use symlinks (similar to as below, but with a whole lot less "Takeown" and similar). However, if you really want to move the WindowsApps folder, try the following steps. Be aware that in cases of mistyped commands, failure to follow instructions correctly, gremlins, or plain bad luck, it's entirely possible that this will mess something up.
You'll need an Administrator command prompt (meaning you need Admin access) to do this.
These steps assume that your C:\ drive is your SSD, and that Windows is currently installed there, and D:\ is your large data drive, where you want to move the app folder.
You may adjust the paths, especially the destination, if you want; these instructions put the "WindowsApps folder on the root of the D: drive.
First, make sure you aren't running any "Metro" apps. It may help to do these steps immediately after rebooting.
Open a Command Prompt as Administrator (you can do this by right-clicking the Start button and selecting "Command Prompt (Admin)" from the menu).
Take ownership of the WindowsApps directory:
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Make a copy of the "C:\Program FilesWindowsApps" folder onto the new drive:
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
Make sure that the copy succeeded (no Skipped or FAILED, etc. in the summary).
Delete the original WindowsApps folder:
Code:
rmdir /S "C:\Program Files\WindowsApps"
Create the symlink:
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
At this point, you should be done. Try running a Metro app to verify that it worked.
My apps won't work because of the last step. It say's
Cannot create a file when that file already exists.
Click to expand...
Click to collapse
That just means that the WindowsApps dir wasn't fully deleted. I actually recommend doing this step from the local Administrator account (disabled by default; use Computer Management -> Local Users and Groups to enable it, then log off (tap your name on the Start screen to get the log off option) and log in as Admin. That should ensure that anything using the WindowsApps dir stops, since local Admin can't run AppContainer apps.
It wont let me delete these files, im in admin mode
C:\Users\Administrator>rmdir /S "C:\Program Files\WindowsApps"
C:\Program Files\WindowsApps, Are you sure (Y/N)? y
C:\Program Files\WindowsApps\MICROS~2.135\images - Access is denied.
C:\Program Files\WindowsApps\MICROS~2.135 - Access is denied.
C:\Program Files\WindowsApps\MICROS~3.26_\LOCALC~1\CACHED~1 - Access is denied.
C:\Program Files\WindowsApps\MICROS~3.26_\LOCALC~1 - Access is denied.
C:\Program Files\WindowsApps\MICROS~3.26_ - Access is denied.
Access is denied.
Click to expand...
Click to collapse
lowridincrew said:
It wont let me delete these files, im in admin mode
Click to expand...
Click to collapse
it sounds like you nor elivated the CMD promt,you need to run the cmd prompt in elevated rights, not just logged in as administrator
click start
type cmd
right click
select run as administrator
or
Windows Key + X and select cmd prompt (administrator)
Uninstall all Apps currently installed (The registry tweak will cause errors when Apps get updated)
Regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\PackageRoot
Change location from "C:\Program Files\WindowsApps" to where you want them ie( "e:\WinApps")
RoyalWitCheese said:
Uninstall all Apps currently installed (The registry tweak will cause errors when Apps get updated)
Regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\PackageRoot
Change location from "C:\Program Files\WindowsApps" to where you want them ie( "e:\WinApps")
Click to expand...
Click to collapse
I would have thought you don't need to do this if you are using a symlink/junction
If you just manually moved the files and didn't create a link afterwards then YES you need to make this registry change
Everything seemed like it went smoothly but once I updated the main apps (mail, calendar, people, messaging) They will not open. All of the apps I installed after doing this procedure work fine, as well as Store and Bing. I tried uninstalling these apps and reinstalling to no avail. They just start to open and then close. All of the new apps are being installed in the correct "WindowsApps" folder on my D: drive so it seems to have worked. Any Ideas?
Tried to make the change in the registry but when I save it I get an error message:
"Cannot edit PackageRoot: Error writing the value's new contents."
This change seems like a logical solution but I'm not sure why I can't save the change.
I'm having trouble simply copying over the data >< I initially tried to write to a sub-folder, not the root of another drive. Both attempts to run robocopy on root and sub-folder failed giving the message:
Copying File C:\Program Files\WindowsApps\18476MPBrun.ShareMyFiles_1.4.0.0_neutral__5j38zygvezh8g\App.xaml
Access is denied.
Waiting 30 seconds...
I thought maybe I had something open so I booted up in Safe Mode with cmd prompt and still, I got the same error. Any ideas?
GoodDayToDie said:
It's possible, but it does require some work. Microsoft doesn't make this easy. You can use directory symbolic links (symlinks) to put the files on one drive (say, D: ) but have them accessible via another (say, C: ). This avoids breaking all the install paths, etc. and ensures new installations will go to the correct disk. Please note that even the biggest Metro apps are pretty small compared to the typical Steam game. You'll save a lot more space moving your Steam library over to the other drive. It's also a lot easier; you can either use the built-in Steam feature to put games in different library locations, or you can use symlinks (similar to as below, but with a whole lot less "Takeown" and similar). However, if you really want to move the WindowsApps folder, try the following steps. Be aware that in cases of mistyped commands, failure to follow instructions correctly, gremlins, or plain bad luck, it's entirely possible that this will mess something up.
You'll need an Administrator command prompt (meaning you need Admin access) to do this.
These steps assume that your C:\ drive is your SSD, and that Windows is currently installed there, and D:\ is your large data drive, where you want to move the app folder.
You may adjust the paths, especially the destination, if you want; these instructions put the "WindowsApps folder on the root of the D: drive.
First, make sure you aren't running any "Metro" apps. It may help to do these steps immediately after rebooting.
Open a Command Prompt as Administrator (you can do this by right-clicking the Start button and selecting "Command Prompt (Admin)" from the menu).
Take ownership of the WindowsApps directory:
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Make a copy of the "C:\Program FilesWindowsApps" folder onto the new drive:
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
Make sure that the copy succeeded (no Skipped or FAILED, etc. in the summary).
Delete the original WindowsApps folder:
Code:
rmdir /S "C:\Program Files\WindowsApps"
Create the symlink:
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
At this point, you should be done. Try running a Metro app to verify that it worked.
Click to expand...
Click to collapse
You need to add a line to change the file access permissions using icacls, otherwise you'll get "access is denied" when you try to copy the files.
Ah, good point. (Sorry, as I mentioned somewhere, I did this rather haphazardly...)
A possibly better way (no changing permissions, including ownership) would be to use a shell under TrustedInstaller. There are, or at least used to be, a few ways to do this... but I can't get them to work now. Anybody know of one that works on Win8 x64?
built in apps(weather, mail, maps, news) not working after update. do you know how to fix other than refresh windows? thanks
Fienamie said:
built in apps(weather, mail, maps, news) not working after update. do you know how to fix other than refresh windows? thanks
Click to expand...
Click to collapse
I solved it, at least on my Surface. I ran this from an elevated command prompt after running into Access Denied on all content in the folder:
Code:
C:\windows\system32>icacls "c:\program files\windowsapps" /grant
Administrator:(D,WDAC)
I then re-ran the rmdir command.
---------- Post added at 03:48 PM ---------- Previous post was at 03:38 PM ----------
CRAP - after all this, all of my Metro apps crash and fail to open. dammit.
looks like you have made a mistake, the apps are in windowsapps folder, while the data <say downloads or cache of an online video app> is in C:\Users\<user name>\AppData\Local\Packages. this folder will even larger.
I have tried to use junction to move some of the folders to sd card on my rt, the app can read / write, but cannot create a file.
GoodDayToDie said:
It's possible, but it does require some work. Microsoft doesn't make this easy. You can use directory symbolic links (symlinks) to put the files on one drive (say, D: ) but have them accessible via another (say, C: ). This avoids breaking all the install paths, etc. and ensures new installations will go to the correct disk. Please note that even the biggest Metro apps are pretty small compared to the typical Steam game. You'll save a lot more space moving your Steam library over to the other drive. It's also a lot easier; you can either use the built-in Steam feature to put games in different library locations, or you can use symlinks (similar to as below, but with a whole lot less "Takeown" and similar). However, if you really want to move the WindowsApps folder, try the following steps. Be aware that in cases of mistyped commands, failure to follow instructions correctly, gremlins, or plain bad luck, it's entirely possible that this will mess something up.
You'll need an Administrator command prompt (meaning you need Admin access) to do this.
These steps assume that your C:\ drive is your SSD, and that Windows is currently installed there, and D:\ is your large data drive, where you want to move the app folder.
You may adjust the paths, especially the destination, if you want; these instructions put the "WindowsApps folder on the root of the D: drive.
First, make sure you aren't running any "Metro" apps. It may help to do these steps immediately after rebooting.
Open a Command Prompt as Administrator (you can do this by right-clicking the Start button and selecting "Command Prompt (Admin)" from the menu).
Take ownership of the WindowsApps directory:
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Make a copy of the "C:\Program FilesWindowsApps" folder onto the new drive:
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
Make sure that the copy succeeded (no Skipped or FAILED, etc. in the summary).
Delete the original WindowsApps folder:
Code:
rmdir /S "C:\Program Files\WindowsApps"
Create the symlink:
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
At this point, you should be done. Try running a Metro app to verify that it worked.
Click to expand...
Click to collapse
So I can use the built in steam method to move my current installs on my pro, to my 64gb class 10 microsd card? I think I saw the place you talking about. In steam store, then view, then setting, then download tab. In there I see steam folder locations. When I press on it, it shows my current steam folder location and how much memory its used up. I have 12 installs taking up like 43gb on my Surface Pro 128gb. The only options I see in there is to "Add steam folder location" and "Remove Steam folder location".
Now how would I go about using that to move existing location of installs into my micro sd card? As far as built in steam method goes. Is it like if I make a new location those will automatically be moved there or only new installs from that point on. This mod would really help and free me up space. With steam games and metro apps, im only looking at about 22.8gb free space left. I've seen other methods of moving but afraid to mess my device up. This windows stuff seem to have more dire consequences than me taking risks with my android tablet. Pro is an expensive tablet.
Would performance still be the same once stuff moved to my SanDisk class 10 64gb card? As far as steam games go. I remember reading the class 10 card has similar speeds compared to built in ssd.
Any insight greatly appreciated.
---------- Post added at 10:36 AM ---------- Previous post was at 10:21 AM ----------
I just came across this in steam help/how to's section. Bit this doesn't really describe built in steam method. More so going into file explorer and copying/pasting.
"Moving Your Steam Installation
Warning:
It is highly recommended that you create a backup of your SteamApps folder before attempting this process. Neglecting to do so may result in a loss of all of your game content should something go wrong.
If you're low on space on the drive you have Steam installed, you can move the Steam folder to a different location. Here's an example of how to move the Steam installation between two hard drives:
1.Log out and exit Steam
2.Navigate to the folder where Steam is installed (by default: C:\Program Files\Steam\)
3.Delete all of the files and folders except the SteamApps folder and Steam.exe
4.Cut and paste your Steam folder to the new location, for example: D:\Games\Steam\
5.Launch Steam
6.Steam will briefly update and then you will be ready to play
7.All future game content will be downloaded to the new folder D:\Games\Steam\Steamapps\
"
Would that be correct?
If you use the existing steam method to install new games on the SD card you can then use the method listed in the second link to move existing installs to the new location.
I took the risk and used second method of moving everything to micro sd card. it took a while but it went through successfully. games are playing fine so far off the microsd card. and now I freed up a ton of internal ssd memory space. only thing I had to do was make a new steam shortcut in desktop. but everything works as it usually does.
im hoping if I need to free up steam space on card, I can use usual method of uninstalling. Or can I have steam reading from both locations. like lets say my memory card fills up...which I only have like 13gb left on it now. can I just add another location and use internal also or does it have to be one or the other?
also by using second method, steam will automatically now install any new games to sd card. I checked in settings and the file path points to my microsd card,
demandarin said:
I took the risk and used second method of moving everything to micro sd card. it took a while but it went through successfully. games are playing fine so far off the microsd card. and now I freed up a ton of internal ssd memory space. only thing I had to do was make a new steam shortcut in desktop. but everything works as it usually does.
im hoping if I need to free up steam space on card, I can use usual method of uninstalling. Or can I have steam reading from both locations. like lets say my memory card fills up...which I only have like 13gb left on it now. can I just add another location and use internal also or does it have to be one or the other?
also by using second method, steam will automatically now install any new games to sd card. I checked in settings and the file path points to my microsd card,
Click to expand...
Click to collapse
I forget the exact settings but it is possible to specify 2 seperate steam library file paths and then when you install an game it gives the choice which to use
SixSixSevenSeven said:
I forget the exact settings but it is possible to specify 2 seperate steam library file paths and then when you install an game it gives the choice which to use
Click to expand...
Click to collapse
It's in your settings > Downloads > Steam Library folders

[Q] add NAS to libraries using symboic links

I have a Surface RT 32GB and am trying to create symbolic links to a NAS (WD Mybook live Duo 4TB) for the music library. I run the mklink /D command and I get "The system cannot find the path specified."
Here is my full syntax: mklink /D "C:\Public\Shared Music" "\\192.168.0.4\Public\Shared Music"
I have tried using the drive letter and drive name for the NAS, but get the same error.
I am running the command prompt as administrator and have created the appropriate directory and added to the library, then deleted the directory.
Any thoughts?
Thanks
Chris
There's no such folder as "Shared Music". That's purely a shell abstraction. The folder is merely called Music.
Also, there's a better way to do it:
Open Explorer.
Go to C:\Users\Public
Right-click the Public Music folder and select Properties
Go to the Location tab (which will show you that the actual folder is just called "Music")
Enter the target path you want to use in there
That would be cool, but I am unable to change the target location in the location tab.is there a regedit that will allow me to do that?
Also, with regard to the symbolic link, "shared Music" is the folder I created and deleted to link to.
Search the registry for the current value of that Location field, and you should find it. I don't know why you wouldn't be able to edit it, though; it's easily editable on my system.

[Guide] [Tutorial] How to Deodex Stock Rom using Universal Deodexer (Easiest Way)

Hello Friends..!!!
This guide is for all who wants to deodex their roms for easy customization.
First Lets know some Basic knowledge about DEODEX/ODEX...
What is Odex and Deodex ROM
What is an ODEX file?
In Android file system, applications come in packages with the extension .apk.
These application packages, or APKs contain certain .odex files whose supposed function is to save space.
These ‘odex’ files are actually collections of parts of an application that are optimized before booting.
Doing so speeds up the boot process, as it preloads part of an application.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
What is an DEODEX file?
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files.
By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
So, Deodexed ROMs (or APKs) have all their application packages put back together in one place,
allowing for easy modification such as theming. Since no pieces of code are coming from any external location,
custom ROMs or APKs are always deodexed to ensure integrity.
How this works?
For the majority noobs amongst us, Android OS uses a Java-based virtual machine called the Dalvik Virtual Machine.
A deodexed or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK.
An .odex file, on the other hand, is an optimized version of this same .
dex file that is stored next to the APK as opposed to inside it.
Android applies this technique by default to all the system applications.
When an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.
By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages.
Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.
Advanteges & Disadvantages
The advantage of deodexing is in modification possibilities.
This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first,
since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times.
However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used.
Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
Note: Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.
Now Lets Start!!!
Requirements:-
1. Java installed on your PC
2. Universal Deodexer (Download from here - http://d-h.st/bMp)
3. Android SDK (for installing deodexed files)
Instructions:-
1. Now first of all you need to copy system/framework and system/apps folders from your phone to your PC. You can do this by simply using the Root Explorer or using ADB commands.
2. Download and extract the zip. You will get a folder called "Universal Deodexer V4"
3. Open the folder and place all your apks or jars from the apps folder in the "apks" folder. No need to manually check if a apk has the corresponding .odex file or not. Apks or Jars which do not have .odex files are automatically deleted.
4. Double click on Universal Deodexer V4.jar. If it does not open then right click--->Properties--->change the Opens With: to "Java(TM) Platform SE Binary". Now double click and it will open. If it still doesn't open then shift+right click anywhere in the folder and open a command prompt window there. Then type - "java -jar Universal Deodexer V4.jar" (no quotes) and see the output.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5. Select the various options (android version, compression level, debug mode).
6. Then chose the deodex all apks option. Once the deodex is complete, you will get a popup message if it was successful or not.
7. You can find the deodexed apks in the "deodexed" folder. Copy them to some other folder and empty the "apks" and "deodexed" folder.
8. Now for framewok files, you also need to put them in the "apks" folder not in "framework" folder (because there is a bug in this tool).
9. Then you need to choose both the options deodex all apks and deodex all jars one by one.
10. Thats it... Done :good:
Now for installing deoedexed files in your phone:-
1. Put the phone in USB mass storage.
2. Go to folder where you have copied Deodexed apks and framework files and move them to the root of the sdcard.
3. Now get out from USB storage mode.
4. Go to the folder there you android SDK is installed. Go to C:\Program Files\Android\android-sdk\ [Assuming that your SDK is installed in C:\]. Then open a command prompt here. For this press Right Mouse click while holding the Shift key and select the "Open command window here" option.
5.Enter following codes.
(If you are using ADB shell in su for the first time, keep phone screen on. After entering "su" code, super user request prompt in phone. Press allow )
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
6. Congrats...!!! Now you have deodexed rom :good: :victory:
Does this need unlocked bootloader?
ADB shell not working
divyamg28 said:
Hello Friends..!!!
This guide is for all who wants to deodex their roms for easy customization.
First Lets know some Basic knowledge about DEODEX/ODEX...
What is Odex and Deodex ROM
What is an ODEX file?
In Android file system, applications come in packages with the extension .apk.
These application packages, or APKs contain certain .odex files whose supposed function is to save space.
These ‘odex’ files are actually collections of parts of an application that are optimized before booting.
Doing so speeds up the boot process, as it preloads part of an application.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
What is an DEODEX file?
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files.
By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
So, Deodexed ROMs (or APKs) have all their application packages put back together in one place,
allowing for easy modification such as theming. Since no pieces of code are coming from any external location,
custom ROMs or APKs are always deodexed to ensure integrity.
How this works?
For the majority noobs amongst us, Android OS uses a Java-based virtual machine called the Dalvik Virtual Machine.
A deodexed or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK.
An .odex file, on the other hand, is an optimized version of this same .
dex file that is stored next to the APK as opposed to inside it.
Android applies this technique by default to all the system applications.
When an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.
By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages.
Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.
Advanteges & Disadvantages
The advantage of deodexing is in modification possibilities.
This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first,
since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times.
However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used.
Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
Note: Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.
Now Lets Start!!!
Requirements:-
1. Java installed on your PC
2. Universal Deodexer (Download from here - http://d-h.st/bMp)
3. Android SDK (for installing deodexed files)
Instructions:-
1. Now first of all you need to copy system/framework and system/apps folders from your phone to your PC. You can do this by simply using the Root Explorer or using ADB commands.
2. Download and extract the zip. You will get a folder called "Universal Deodexer V4"
3. Open the folder and place all your apks or jars from the apps folder in the "apks" folder. No need to manually check if a apk has the corresponding .odex file or not. Apks or Jars which do not have .odex files are automatically deleted.
4. Double click on Universal Deodexer V4.jar. If it does not open then right click--->Properties--->change the Opens With: to "Java(TM) Platform SE Binary". Now double click and it will open. If it still doesn't open then shift+right click anywhere in the folder and open a command prompt window there. Then type - "java -jar Universal Deodexer V4.jar" (no quotes) and see the output.
5. Select the various options (android version, compression level, debug mode).
6. Then chose the deodex all apks option. Once the deodex is complete, you will get a popup message if it was successful or not.
7. You can find the deodexed apks in the "deodexed" folder. Copy them to some other folder and empty the "apks" and "deodexed" folder.
8. Now for framewok files, you also need to put them in the "apks" folder not in "framework" folder (because there is a bug in this tool).
9. Then you need to choose both the options deodex all apks and deodex all jars one by one.
10. Thats it... Done :good:
Now for installing deoedexed files in your phone:-
1. Put the phone in USB mass storage.
2. Go to folder where you have copied Deodexed apks and framework files and move them to the root of the sdcard.
3. Now get out from USB storage mode.
4. Go to the folder there you android SDK is installed. Go to C:\Program Files\Android\android-sdk\ [Assuming that your SDK is installed in C:\]. Then open a command prompt here. For this press Right Mouse click while holding the Shift key and select the "Open command window here" option.
5.Enter following codes.
(If you are using ADB shell in su for the first time, keep phone screen on. After entering "su" code, super user request prompt in phone. Press allow )
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
6. Congrats...!!! Now you have deodexed rom :good: :victory:
Click to expand...
Click to collapse
As per the above guide, i was able to deodex all system apk/framework. Then i have copied the deodexed apk and framework folder to the root of the sdcard as said above but at the time of running adb shell, all commands were accepted and except "cp /sdcard/done_app/* /system/app/", it says "cp: /sdcard/done_app/*: No such file or directories. By this, what does it mean, i don't know as it is available on sdcard and i can access it through root explorer. I am totally stuck here, kindly help me to get out of this ...
Problem using adb shell
[/INDENT][/INDENT][/INDENT][/INDENT][/INDENT]
gusato said:
As per the above guide, i was able to deodex all system apk/framework. Then i have copied the deodexed apk and framework folder to the root of the sdcard as said above but at the time of running adb shell, all commands were accepted and except "cp /sdcard/done_app/* /system/app/", it says "cp: /sdcard/done_app/*: No such file or directories. By this, what does it mean, i don't know as it is available on sdcard and i can access it through root explorer. I am totally stuck here, kindly help me to get out of this ...
Click to expand...
Click to collapse
Thanks for your advice but i think you didn't get my point, i have done all the process of deodexing apk n jar file successfully. Then i tried to push them bach into my fone with adb shell and it didn't work. Using adb shell when i entered
"cp /sdcard/done_app/* /system/app/" it says No such file or directory but when entered
"cp /sdcard/done_frame/* /system/framework/" it accept. Why this used to happen????????
Thank you so much !! This Worked really well on my Micromax a25:victory:
I tried it bt it doesn't work for me....showing some classpath error...however my java is perfectly install even test result show completely fine n every thing got passed
same here!
deoboy said:
I tried it bt it doesn't work for me....showing some classpath error...however my java is perfectly install even test result show completely fine n every thing got passed
Click to expand...
Click to collapse
Mybe theres somtething is missing in this guide! after deodexing both apks and jars, when i opened in archive still no classes.dex which is needed in decompling the apks. I think the boothclasspath is missing here?
---------- Post added at 10:40 AM ---------- Previous post was at 10:37 AM ----------
Guys can you help me decompiling the apks of huawei which being odexed? I have tried decompiling some apks of huawei and was successfully recompile without error. But my huawei g526 is odexed room which really hard to decompile. Can yopu help me? please?
divyamg28 said:
Hello Friends..!!!
This guide is for all who wants to deodex their roms for easy customization.
First Lets know some Basic knowledge about DEODEX/ODEX...
What is Odex and Deodex ROM
What is an ODEX file?
In Android file system, applications come in packages with the extension .apk.
These application packages, or APKs contain certain .odex files whose supposed function is to save space.
These ‘odex’ files are actually collections of parts of an application that are optimized before booting.
Doing so speeds up the boot process, as it preloads part of an application.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
What is an DEODEX file?
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files.
By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
So, Deodexed ROMs (or APKs) have all their application packages put back together in one place,
allowing for easy modification such as theming. Since no pieces of code are coming from any external location,
custom ROMs or APKs are always deodexed to ensure integrity.
How this works?
For the majority noobs amongst us, Android OS uses a Java-based virtual machine called the Dalvik Virtual Machine.
A deodexed or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK.
An .odex file, on the other hand, is an optimized version of this same .
dex file that is stored next to the APK as opposed to inside it.
Android applies this technique by default to all the system applications.
When an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.
By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages.
Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.
Advanteges & Disadvantages
The advantage of deodexing is in modification possibilities.
This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first,
since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times.
However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used.
Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
Note: Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.
Now Lets Start!!!
Requirements:-
1. Java installed on your PC
2. Universal Deodexer (Download from here - http://d-h.st/bMp)
3. Android SDK (for installing deodexed files)
Instructions:-
1. Now first of all you need to copy system/framework and system/apps folders from your phone to your PC. You can do this by simply using the Root Explorer or using ADB commands.
2. Download and extract the zip. You will get a folder called "Universal Deodexer V4"
3. Open the folder and place all your apks or jars from the apps folder in the "apks" folder. No need to manually check if a apk has the corresponding .odex file or not. Apks or Jars which do not have .odex files are automatically deleted.
4. Double click on Universal Deodexer V4.jar. If it does not open then right click--->Properties--->change the Opens With: to "Java(TM) Platform SE Binary". Now double click and it will open. If it still doesn't open then shift+right click anywhere in the folder and open a command prompt window there. Then type - "java -jar Universal Deodexer V4.jar" (no quotes) and see the output.
5. Select the various options (android version, compression level, debug mode).
6. Then chose the deodex all apks option. Once the deodex is complete, you will get a popup message if it was successful or not.
7. You can find the deodexed apks in the "deodexed" folder. Copy them to some other folder and empty the "apks" and "deodexed" folder.
8. Now for framewok files, you also need to put them in the "apks" folder not in "framework" folder (because there is a bug in this tool).
9. Then you need to choose both the options deodex all apks and deodex all jars one by one.
10. Thats it... Done :good:
Now for installing deoedexed files in your phone:-
1. Put the phone in USB mass storage.
2. Go to folder where you have copied Deodexed apks and framework files and move them to the root of the sdcard.
3. Now get out from USB storage mode.
4. Go to the folder there you android SDK is installed. Go to C:\Program Files\Android\android-sdk\ [Assuming that your SDK is installed in C:\]. Then open a command prompt here. For this press Right Mouse click while holding the Shift key and select the "Open command window here" option.
5.Enter following codes.
(If you are using ADB shell in su for the first time, keep phone screen on. After entering "su" code, super user request prompt in phone. Press allow )
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
6. Congrats...!!! Now you have deodexed rom :good: :victory:
Click to expand...
Click to collapse
I had some few questions? After deodexing my apks and frameworks, I was able to check the classes.dex was there but why when I decompiled the apks then smali is empty? I thought that the size of deodexed apks would be bigger but the size of odexed apk still the same with deodexed apks? can you help to solve my problem? I dont why encounter ?
---------- Post added at 05:27 AM ---------- Previous post was at 05:10 AM ----------
deoboy said:
I tried it bt it doesn't work for me....showing some classpath error...however my java is perfectly install even test result show completely fine n every thing got passed
Click to expand...
Click to collapse
yes thats what I think coz after reading the error I thnink the bootclasspath is missing. hope it will be fixed soon...
---------- Post added at 05:34 AM ---------- Previous post was at 05:27 AM ----------
toto2011 said:
I had some few questions? After deodexing my apks and frameworks, I was able to check the classes.dex was there but why when I decompiled the apks then smali is empty? I thought that the size of deodexed apks would be bigger but the size of odexed apk still the same with deodexed apks? can you help to solve my problem? I dont why encounter ?
---------- Post added at 05:27 AM ---------- Previous post was at 05:10 AM ----------
yes thats what I think coz after reading the error I thnink the bootclasspath is missing. hope it will be fixed soon...please see attaeched photos
Click to expand...
Click to collapse
Hello, I have already pulled my .apks and .jars but nothing is appearing in the deodexed file. Here's the debug script of what happens with any one particular .apk:
deodexapk.bat said:
Welcome!
Deodexing apk..
Compression=0
API=17
'xcopy' is not recognized as an internal or external command, operable program or batch file.
Can't find the file AllshareMediaShare.odex
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "out/" at org.if.smali.main.main(main.java:180)
'xcopy' is not recognized as an internal or external command, operable program or batch file.
Can't find the file AllshareMediaShare.odex
'xcopy' is not recognized as an internal or external command, operable program or batch file.
Can't find the file AllshareMediaShare.odex
'xcopy' is not recognized as an internal or external command, operable program or batch file.
Can't find the file AllshareMediaShare.odex
'7za' is not recognized as an internal or external command, operable program or batch file.
Can't find the file AllshareMediaShare.odex
'7za' is not recognized as an internal or external command, operable program or batch file.
Can't find the file AllshareMediaShare.odex
The system cannot find the file specified.
'xcopy' is not recognized as an internal or external command, operable program or batch file.
The system cannot find the file specified.
Could Not Find C:¥Users¥Teracotta¥Downloads¥Android¥Universal Deodexer V4¥framework¥AllshareMediaShare.odex
Could Not Find C:¥Users¥Teracotta¥Downloads¥Android¥Universal Deodexer V4¥framework¥classes.dex
The system cannot find the file specified.
Could Not Find C:¥Users¥Teracotta¥Downloads¥Android¥Universal Deodexer V4¥framework¥AllshareMediaShare.odex
DEODEXED SUCCESSFULLY.
Press any key to continue...
Click to expand...
Click to collapse
The Path I have set in Advanced Systems: C:\ProgramData\Oracle\Java\javapath;C:\Users\Teracotta\AppData\Local\Android\android-sdk\platform-tools

Categories

Resources