the requested resource is in use - ONE Q&A, Help & Troubleshooting

When copying several folders from internal storage over USB to Windows 7 64-bit PC, only the first three folders would copy. I started multiple copy operations of individual folders and received error "the requested resource is in use". Turning off Android debugging on the phone solved the problem.

Related

I-Mate SP5 Low Memory

Does anyone know any way to store all contacts,emails and text messages to the mini-sd card on the SP5.
I don't seem to be able to find an option to do so.
Thanks
You can't. All those databases are stored in internal memory, and cannot be moved to the miniSD card.
Found this on another forum and it works perfectly have sync'd all my mail and attachments to the SD Card :
Email & Attachments on Storage Card
Forgive me if this has been posted before. Or if you all know this. I used to do this on my PPC before I got my smartphone (sp5). I just tried it to see if it would work and it does
Create the folders on your Storage Card '\Storage Card\Inbox' and the subfolder '\Attachments'
Import the registry keys as below. (try Registry Workshop and you can connect to Mobile device registries from your PC and import reg files. This saves having a Registry editor installed on the phone and typing on the device). If you are entering these keys manually rather than importing a *.reg file only use single slashes for the paths. Restart your device after doing this.
CODE
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\MAPI]
"AttachPath"="\\Storage Card\\Inbox\\Attachments"
"PropertyPath"="\\Storage Card\\Inbox"
This not only puts email attachments onto your storage card but puts all the *.mpb files which make up items in your Inbox onto the storage card too. This means I now sync the last month of complete emails (1362 of them!) from all folders on my Exchange server and it doesn't make a dent in the phone memory.
For anyone that needs it here is the reg key attached just import it into the registry of the SP5
tis a text file here, just open it and re-save it as map1.reg and you got the reg key you need.
Very informative!!
mitchello said:
You can't. All those databases are stored in internal memory, and cannot be moved to the miniSD card.
Click to expand...
Click to collapse
Anything can be moved to external storage with a few registry tweaks. What you have to consider is decreased performance on those moved items vs. having additional memory resources available internally. :wink:
can we have more details how to save e mails on card?
guys, I am a little slow on this. can someone pls write down a step-by-step how to do implenment? or at least specify to what directory map1.reg should be saved for this to work?
SP5 wont put e mails or attachment on storgage card
I followed the instructions as given (created the folders on the card and imported the reg file to the registry using Registry Workshop). My SP5 does not put e mails & attachment on the storage card. (I rebooted the device, deleted the e mails on the device and resyched, but no go.
I recently upgraded ROM to 2.5.331.2 could this be the issue?
anh help or hint will be much appreciated.
anyone know how to put Contacts on the storage card in SP5?
anyone know how to put Contacts on the storage card in SP5? any help appreciated.
HelP!
I downloaded Woody's text file, saved it as map1.reg, and using Registry Workshop tried to import it into the SP5 Registry (connected to mobile).
I got an error message saying, "Cannot Modify Value...Access is Denied" the the contents of the key were displayed (\...\Attachments)
Any ideas what I did wrong?
Yale
I get the same result. I guess Woody's file and instructions are incorrect or incompele. Either way, it does not work. We need to wait until someone figures this out correctlyand puts it on the web. (It would be good if people refrained or at least disclosed when their solutions are untested.)
Well, I don't know Ramy...it appears that there have been 56 downloads of Woody's txt file and it seems that only you and I couldn't get it to work. That leaves 54 people who, presumably, did get it to work
COULD ONE OF YOU who did get it to work, please help us woefully ignorant types? :lol: pRETTY pLEASE?
Yale
(MDR)
There is one problem on pointing to Storage Card regarding PIM, because the system tries to open the database BEFORE mounting the Storage Card...
In the Tornado, if you change the registry settings for the PIM database, it will block during startup .If you wait about 10minutes, it will start but no PIM info is displayed in your Home screen, among other strange behaviors--- :x
So does anyone know what controls the startup process?
If so we could potentially get this workinh after all.
RamyG said:
I get the same result. I guess Woody's file and instructions are incorrect or incompele. Either way, it does not work. We need to wait until someone figures this out correctlyand puts it on the web. (It would be good if people refrained or at least disclosed when their solutions are untested.)
Click to expand...
Click to collapse
You're on a developer forum, this is a "lab" environment.
Be thankfull that someone is going out of their way to try and assist.
"...There is one problem on pointing to Storage Card regarding PIM, because the system tries to open the database BEFORE mounting the Storage Card..."
The answer posted elsewhere is to disable Messaging on Today screen
"...Due to the fact that Today plug-ins are initialized earlier than the storage cards become available, to avoid the Storage Card2 problem you must disable the Messaging Today plug-in. To do this, go to Start/ Settings/ Today/ Items and uncheck Messaging..."
http://www.pocketpcmag.com/blogs/index.php?blog=3&title=this_is_how_you_can_store_your_activesyn
I haven't tried this yet but intend to when I upgrade my T-Mobile MDA Vario to AKU2 ROM.
Shemesh
OS RegTweaker is suppose to do so. Only I can't change those options ? But this is still in beta stage.
{
"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"
}
MyDogReese said:
HelP!
I downloaded Woody's text file, saved it as map1.reg, and using Registry Workshop tried to import it into the SP5 Registry (connected to mobile).
I got an error message saying, "Cannot Modify Value...Access is Denied" the the contents of the key were displayed (\...\Attachments)
Any ideas what I did wrong?
Yale
Click to expand...
Click to collapse
U should unlock u smart registry...
follow instructions..
HKLM->Security->Policies->Policies
here u should change some values:
00001001 DWORD=2 change this to 1
00001005 DWORD=16 change this to 40
00001017 DWORD=128 change this to 144
and finaly add new DWORD
0000101b with DWORD=1
Somehow i cant attach rar file with the proper registry editor, that should not give u "Access Denied" error while adding new record to registry. So if u'll need it pm me ur email.

Yet more Windows Media problems, help!

Once again folks. However this time resetting or searching failed me.
This morning I was stuck with the too common library problem (finding files but not adding them) but the file in MSMETADATA was not there. I deleted the files in WMDRM and resetted. Not surprisingly, it did not find files.
I then opened files manually and saved them as a playlist. I received this message as I saved it "The system cannot find the file specified". So I can't update my emptied library or even save files in a playlist and thus have to manually open the damn files manually.
Any fix for that?
Thing I tried:
-Numerous resets
-More resets
-Syncing
-Resets again

(MOD) How to install Windows Stores apps on sd card

hey guys and gals,
We all know that the Surface has limited storage. I was messing around and found a quick change to a registry key that lets you change where windows store apps are stored when installed. Tested and working on my Surface 32gb. see below for the key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx
change the key labeled PackageRoot to whatever directory you want, and all new apps will install in that directory.
Note: this does require that you change owner and permissions on the Appx registry folder so that you can edit the key. I have tested this will no ill effects.
You can also change the app repository to another directory by changing the PackageRepository key.
Test on a class 10 32gb card. Hope this helps!
Ahh, good find. I just used a symbolic link (which has the advantage of moving existing apps without breaking anything) but your approach is probably easier on clean installs.
GoodDayToDie said:
Ahh, good find. I just used a symbolic link (which has the advantage of moving existing apps without breaking anything) but your approach is probably easier on clean installs.
Click to expand...
Click to collapse
Did you have to do anything funny with permissions to make the change? What was the command to make the link and move the files?
Last time I used a symbolic link (Windows "Installer" folder *sigh*), I don't remember Windows automatically moving anything. I was probably doing it wrong, but manually set up everything so it wouldn't be lost.
Used robocopy, with the switches to maintain ACLs and all, to copy the directory tree. Deleted the old one, and then used mklink /d to create the symbolic link.
tamarasu said:
hey guys and gals,
We all know that the Surface has limited storage. I was messing around and found a quick change to a registry key that lets you change where windows store apps are stored when installed. Tested and working on my Surface 32gb. see below for the key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx
change the key labeled PackageRoot to whatever directory you want, and all new apps will install in that directory.
Note: this does require that you change owner and permissions on the Appx registry folder so that you can edit the key. I have tested this will no ill effects.
You can also change the app repository to another directory by changing the PackageRepository key.
Test on a class 10 32gb card. Hope this helps!
Click to expand...
Click to collapse
where do I change the owner and permission? I opened the reg edit as adminirtator but could not change the folder... do I have to uninstall all the apps before changing...??
Youll need to change owner and permissions on the registry key. you can also change both on the windowsapps folder, though it isn't necessary.
truffle1234 said:
where do I change the owner and permission? I opened the reg edit as adminirtator but could not change the folder... do I have to uninstall all the apps before changing...??
Click to expand...
Click to collapse
I have not been able to get this too work. I have made the registry changes with no problems but once I do that I get an error when trying to install any item from the app store. Once I change the registry back it functions correctly. Any thoughts? I did create a directory on the SD card first and mapped the registry setting to it.
Thanks
No nothing special. the only difference on my system is that the sd card is formatted as ntfs instead of the default fat32 that it came as. zero issues installing apps.
Ishman said:
I have not been able to get this too work. I have made the registry changes with no problems but once I do that I get an error when trying to install any item from the app store. Once I change the registry back it functions correctly. Any thoughts? I did create a directory on the SD card first and mapped the registry setting to it.
Thanks
Click to expand...
Click to collapse
Wonder if it is because I am using a 64 gb exfat card. I will try with another card tomorrow.
Damn - so you have to have the SD Card formatted as NTFS? I'll have to pull a boat load of content off of the card before I reformat it, then.
Has anyone determined in the NTFS requirement is technically driven or reg setting enforced? Would be nice if there were a modification that would allow exFAT to work without going through the hassle of reformatting. I did a cursory look in the registry and didn't see anything.
The only thing I can think of is name length and special character restrictions of fat formats. Haven't seen anything in the registry yet that determines the ntfs comparability versus far or exfat
kenikh said:
Damn - so you have to have the SD Card formatted as NTFS? I'll have to pull a boat load of content off of the card before I reformat it, then.
Has anyone determined in the NTFS requirement is technically driven or reg setting enforced? Would be nice if there were a modification that would allow exFAT to work without going through the hassle of reformatting. I did a cursory look in the registry and didn't see anything.
Click to expand...
Click to collapse
How do I change the ownership and permissions??? All I keep getting is "Unable to change permissions on appx"
Please help
I can confirm that you need to have the microsd formatted to NTFS. It works fine using this method. The exFAT will not work. This was tested on the 64 GB card.
Thank you for this tip. I don't need to use it yet but it will sure come very handy later on.
tamarasu said:
Youll need to change owner and permissions on the registry key. you can also change both on the windowsapps folder, though it isn't necessary.
Click to expand...
Click to collapse
Please help me figure out how to do this. I really seem to be lost on how to be able to change the permissions and ownership of the key. I always get a message about not being able to change the settings.
Sweetblu said:
Please help me figure out how to do this. I really seem to be lost on how to be able to change the permissions and ownership of the key. I always get a message about not being able to change the settings.
Click to expand...
Click to collapse
Right click on the key and choose permission...I assume you are familiar with how security setting in windows works. If you are not, reply here and I can guide you step by step.
Note: you have to change the owner of the key from TrustedInstaller to Administrators first, only then can you give Administrators full control over the key.
{
"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"
}
illidanx said:
Right click on the key and choose permission...I assume you are familiar with how security setting in windows works. If you are not, reply here and I can guide you step by step.
Note: you have to change the owner of the key from TrustedInstaller to Administrators first, only then can you give Administrators full control over the key.
Click to expand...
Click to collapse
I also need help.
Well here is how you change permissions using security setting.
Click on Permissions to open the "Permission for Appx" window. Click on Advanced to open a window like this:
Currently, the owner is TrustedInstaller. Click on Change. In the Select user or group window, click on Advanced..., the click Find now. You will get the list of all possible user/groups on your computer.
Select Administrators (the one with 's'), hit OK, hit OK once more. Make sure you select "Replace owner on subcontainers and objects", then hit OK once more. You should be back at the "Permission for Appx" window now. In this window, select Administrators and check "Full control" box under Allow. Hit OK the last time.
Now you have full control of the registry Appx folder and will be able to change every key inside this folder as you wish.
For those facing the issue of reformatting a large SD card: there's a better option. SD cards, like all block storage devices, can be partitioned (legacy ones used MBR, I don't know about SDXC ones); they might use GPT. It doesn't matter, Win8 understands both). You might be able to use Disk Management, just shrink the existing partition on the card and then create a new one, format the new one as NTFS, and mount at E:\ or similar. If Disk Management won't do it right for removable media, use diskpart.exe (terminal user interface app, but with a good help system).
GoodDayToDie said:
For those facing the issue of reformatting a large SD card: there's a better option. SD cards, like all block storage devices, can be partitioned (legacy ones used MBR, I don't know about SDXC ones); they might use GPT. It doesn't matter, Win8 understands both). You might be able to use Disk Management, just shrink the existing partition on the card and then create a new one, format the new one as NTFS, and mount at E:\ or similar. If Disk Management won't do it right for removable media, use diskpart.exe (terminal user interface app, but with a good help system).
Click to expand...
Click to collapse
Great idea, but it doesn't seem to work. The option to shrink the volume isn't available from Disk Management, at least for my SD Card. It's a 64GB SDXC card. Oh well.

Possibility of Outlook on RT8.0? / Outlook appeared in Windows Update

Well, yesterday my XPS10 told me that they are some updates available. After checking list I noticed... Outlook on the list. But I have Win8.0, so that was werid.
Anyway, after updating and reboot there was no outlook... so I started investigating. And look what I found in installed updates, and in Software Distribution folder:
{
"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"
}
After unpacking cab from inside it, fixing file names (a few had numbers _001 _002 and so on after extension) trying to run outlook gives "Cannot start Microsoft Outlook" message. I hope that this it related to some not registered DLLs, maybe missing registry keys - maybe someone who has better knowledge than me can try to work on this?
I'm attaching here outlook-x-none.msp file that contains this cab extracted on the 2nd screenshot. As it's untouched update, I'm sure that's no problem.
http://kitor.pl/software/windows_arm/outlook-x-none.msp
kitor said:
Well, yesterday my XPS10 told me that they are some updates available. After checking list I noticed... Outlook on the list. But I have Win8.0, so that was werid.
Anyway, after updating and reboot there was no outlook... so I started investigating. And look what I found in installed updates, and in Software Distribution folder:
After unpacking cab from inside it, fixing file names (a few had numbers _001 _002 and so on after extension) trying to run outlook gives "Cannot start Microsoft Outlook" message. I hope that this it related to some not registered DLLs, maybe missing registry keys - maybe someone who has better knowledge than me can try to work on this?
I'm attaching here outlook-x-none.msp file that contains this cab extracted on the 2nd screenshot. As it's untouched update, I'm sure that's no problem.
http://kitor.pl/software/windows_arm/outlook-x-none.msp
Click to expand...
Click to collapse
I haven't checked but I have a feeling that Outlook RT on 8.1 has both certs for 8.0 and 8.1 so it would work on both. Paul Thurrot has a version for 8.0 that has both certs at least.
Would certificates even matter if the device is "jailbroken"?
They shouldn't, but even without running jailbreak I have the same message when trying to run outlook, not the usual that file is not signed. And as @jessenic written, Office files has got two cetrificates, so then we shoud be able somehow to get Outlook running on RT8.0
I noticed something about Outlook in my updates too.
jessenic said:
I haven't checked but I have a feeling that Outlook RT on 8.1 has both certs for 8.0 and 8.1 so it would work on both. Paul Thurrot has a version for 8.0 that has both certs at least.
Click to expand...
Click to collapse
It's too bad they don't offer it as a download somehow, even if it's only through something like software assurance program, or msdn, etc. I don't want to update to 8.1 as I need the jailbreak, but wouldn't mind giving outlook a shot. I wonder where this Paul Thurrot got his copy...
There's another update for Outlook. About copying files - I just done copy from 8.1 and replaced folders in Program Files and Common Files with 8.1 ones - it still works the same. So they are two options (as I just compared files with desktop office 2013 and seems that all needed ones are there):
1. problem is in registry
2. there's somewhere in source code if(windows_version != 8.1) fail;
After installing all updates on 8.0 and 8.1 and then replacing office on 8.0 (and adding some registry keys from desktop one - don't know if that changed anything), Outlook is starting! But fails with error that it can't register vbscript.dll. I'll investigate that later. Still, this shows that it can work on RT8.0.
Sadly, registering vbscript changes nothing. Importing all registry changes from desktop Outlook 2013 also. By starting mail setup cpl from office directory some functions are not working, one gave me error code that (some) class is not registred. Running regsvr32 on all dlls from office directory also doesn't help.
On first start (or after language change) trying to run outlook gives only error message from first post ("cannot run microsoft outlook"). Second run goes to this screenshot from post before.
Maybe you need dll and registry files from 8.1RT?
Yes and no.
By tracking changes in x86 Win8 after installation of Office 2013 (only Outlook component) I got list of all files that are located outside Office directories (truth is that we are talking about a few mfc dlls). And files that exists on 8.1RT exists too at 8.0RT, they are identical in terms of executable (differs just in second signature added in 8.1) and replacing them changes nothing.
Registry is sadly more complex thing - as desktop Office did approx. 3000 (yep, three thousand) registry entries.
As I'm going to reinstall OS after finals (I screwed Office registry anyway), I'll try to do some hacks later. I think about replacing Office files before first run.
kitor said:
There's another update for Outlook. About copying files - I just done copy from 8.1 and replaced folders in Program Files and Common Files with 8.1 ones - it still works the same. So they are two options (as I just compared files with desktop office 2013 and seems that all needed ones are there):
1. problem is in registry
2. there's somewhere in source code if(windows_version != 8.1) fail;
After installing all updates on 8.0 and 8.1 and then replacing office on 8.0 (and adding some registry keys from desktop one - don't know if that changed anything), Outlook is starting! But fails with error that it can't register vbscript.dll. I'll investigate that later. Still, this shows that it can work on RT8.0.
Click to expand...
Click to collapse
Would you be willing to provide registry keys for Outlook? I don't have them, and I am running Windows RT 8.0. I would be happy to help out in getting Outlook to work
I'll look if I still have them somewhere, but I can also provide you full registry dump from 8.1
kitor said:
I'll look if I still have them somewhere, but I can also provide you full registry dump from 8.1
Click to expand...
Click to collapse
I bet a full registry dump would work.
Here is what I get when I open outlook. If it asks to run setup again, maybe someone has the setup for Office RT...
[EDIT] I copied all the office registry files from my Windows Server 2012 R2 machine and now I am getting the VB Script DLL error
I never seen this error. But google finds something about wrong permissions to registry keys - maybe it's worth checking?
I'll upload registry later, as it's quite big (200mb afair).
But I'm just trying other thing. As I screwed up OS a bit, I restored clean 8.0 image, but before first boot I replaced all Office files with RT8.1 ones. Now I'm going through OOBE, then I'll try to run outlook.
[e]
Ok, first run: Cannot run Microsoft Outlook
2nd run: the same message as yours
<here I imported some registry keys from 8.1)
3rd run: gui starts with Vbscript.dll not registered error.
kitor said:
I never seen this error. But google finds something about wrong permissions to registry keys - maybe it's worth checking?
I'll upload registry later, as it's quite big (200mb afair).
But I'm just trying other thing. As I screwed up OS a bit, I restored clean 8.0 image, but before first boot I replaced all Office files with RT8.1 ones. Now I'm going through OOBE, then I'll try to run outlook.
[e]
Ok, first run: Cannot run Microsoft Outlook
2nd run: the same message as yours
<here I imported some registry keys from 8.1)
3rd run: gui starts with Vbscript.dll not registered error.
Click to expand...
Click to collapse
Ok. Microsoft has an article http://support.microsoft.com/kb/961100 that says there is a bug where Outlook cannot translate your name to ANSI if your Windows username contains Unicode characters.
I am going to create a new local user and see where that goes.
syn3h said:
Ok. Microsoft has an article http://support.microsoft.com/kb/961100 that says there is a bug where Outlook cannot translate your name to ANSI if your Windows username contains Unicode characters.
I am going to create a new local user and see where that goes.
Click to expand...
Click to collapse
I already checked that, and this goes to nowhere Also, I done some DLL Hell analysis using dependency walker (working on RT dlls) and seems that everything is there.
I've copied Office from WinRT 8.1 to the microSD card and when it starts I get a blank error message that said nothing but "9". After I dismissed the message, Outlook froze and I had to force it to stop from Task Manager. I re-opened Outlook (from SD) and got the DLL error again. I'll check the system log and see what "9" means... :fingers-crossed:
Today Office SP1 showed in WinUpdate. Update cab is almost 250MB and it contains all files... is there any possibility of obtainig configuration from MSI installer (which file from cab goes to where, registry entries, etc)?
kitor said:
Today Office SP1 showed in WinUpdate. Update cab is almost 250MB and it contains all files... is there any possibility of obtainig configuration from MSI installer (which file from cab goes to where, registry entries, etc)?
Click to expand...
Click to collapse
I believe the downloaded update cabs are stored in
Code:
C:\Windows\SoftwareDistribution\Download
Is that correct?
I know (for the most part) cabs can be opened like any archive with a program like 7zip. I will download and attempt to decompress it and see what all is inside
Yes, they are stored there. No, they are no cabs, but executable Windows Update files (really, MSIs with other exension). Inside of it there's cab file with all updated files, but there's no directory structure - OS must somehow know what files put where, so there must be some list embedded in this MSI installer.

[Tutorial][Guide]Set up Local and Remote folder mounting using SSH + CIFS

Introduction
For audio enthusiasts like myself, I found myself quite bummed that the GS6 didn’t support expandable storage. This means that I can only fit a fraction of my music library on my phone, and that really bugged me.
So I set out to find a way to connect my music library to my phone, and this tutorial will demonstrate how to do so. In other words, this tutorial will allow you to mount a windows share folder on your phone, either from within the same network, or even remotely! This means you can have your files accessible on your phone as though they are actually on your phone, from anywhere in the world (so long as you have internet of course) and effectively alleviate our limited device storage by 'fooling' our devices into thinking they have unlimited amounts of storage through these mounted folders.
This differs from other more common methods found in some file explorers with SMB (where they allow you to connect to a share), in that this way the folders will be mounted on your phone. Your phone will think that the folder is on it’s storage, which will allow you to use those files in any other app such as music players, video players, ebook readers, etc. Other apps like ES File Explorer etc don't allow this.
I will split this tutorial onto two sections, the first demonstrating how to mount a share on the same network. The second will demonstrate how to mount a share folder from a remote location (i.e from outside your network). The latter method will work with 3G and 4G, heck even G. I will provide screenshots throughout to make it as simple and straightforward as possible.
Requirements for Tutorial 1 (Mount a Share Folder Locally)
• Rooted phone
• Custom kernel with CIFS support (I recommend UniKernel v6 or newer if you're on a GS6, previous versions are unsupported)
• CifsManager
Requirements for Tutorial 2 (Mount a Share Folder Remotely)
• Rooted phone
• Custom kernel with CIFS support (I recommend UniKernel v6 or newer if you're on a GS6, previous versions are unsupported)
• CifsManager
• ConnectBot or similar SSH client
• SSH Server set up on computer with Share folders. My recommendation is freeSHHd
Prerequisite steps
The following steps will need to be carried out on your computer which will have the folder to be shared.
1. Locate or create a folder on your computer you would like to share.
2. Right click on the folder and select Properties. Select the Sharing tab and click Advanced Sharing.
{
"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"
}
3. Check 'Share this folder'. You can open the Permissions screen to control permissions for certain users.
[Tutorial 1]Mount a Share Folder Locally
The idea behind this method is to simply connect directly to the shared folder over the local network, and mount it.
Having performed the prerequisite steps, carry on below.
1. Launch CifsManager and click Add New Share
2. At Share Path, enter the local IP of your computer, followed by a slash and the name of the shared folder. Your IP can be found in you network settings.
3. If your computer has a username and password, enter those, otherwise this step can be skipped. Notice that Mount Point should be auto filled. This is the location on your phone that the share folder’s contents will appear. In theory, you can change this to a location on the internal storage or SD Card.
4. Click Save Share
8. Your share will appear as below and you can simply click on it to mount it. If the grey dot changes to green, this signifies that the share has been successfully mounted and the files within the share will be accessible at the mount point location.
[Tutorial 2]Mount a Share Folder Remotely
The idea behind this method is that using an SSH server set up on your computer, you will be able to securely connect to your shares over the internet (remotely), and mount them of course.
Having performed the prerequisite steps, carry on below.
1. Set up your SSH Server. I won’t go into detail with this here, but this is a good tutorial to follow if you use freeSSHd. When creating a user though, ensure you tick 'Shell', 'SFTP', and 'Tunneling'. This is not specified in the tutorial, but Tunneling is important for what we want to do.
2. Once installed, and with a user created, ensure that local and remote port forwarding is enabled under the Tunneling tab, and that the port under the SSH tab is open on your router, and not being blocked by your firewall. I recommend leaving the port at 22 since most routers have this port already defined in their lists. You may need to open the port though though your router's web settings.
That should be it on your pc, move over to your phone for the remaining steps. You’ll be using ConnectBot to connect to the SSH server you just set up. You’ll need your username, password, and port number (22 by default) you specified in freeSSHd, as well as you Public IP this time, not your local IP. Just google ‘Public IP’ to get this.
3. Launch ConnectBot, and at the bottom of the screen ensure 'ssh' is selected
4. Enter your username, hostname, and port in the format shown in the above image
So for example, mine is similar to this '[email protected]:22'. Hostname is you public IP which you can find on google. Note, don't use you local IP here otherwise you won't be able to connect remotely to your server.
5. Click enter and you should be prompted to enter your password. Doing so should allow you to connect successfully.
6. Click More at the top of the screen, and select Port Forwards. Select More again and press Add port forward.
7. Enter a nickname of your choice
8. Ensure Local is selected under 'Type'
9. Under 'Source Port' enter a port above 1024. Mine is 5600. Remember this for CifsManager later. It must be above 1024 because of a limitation in Android.
10. Under destination, use the local IP (not public IP!) of your computer running the SSH server, followed by a colon and the port 445. At this step, the port 445 must be used.
11. Click Create Port Forward and it should be smooth sailing from here on out!
12. Launch CifsManager and Add a New Share
13. Under Share Path, enter "127.0.0.1/xxx", without the quotes and replacing xxx with your shared folder name.
14. Enter the username and password of your computer (not SSH server). The mount point should have been auto added. You can change this location if you wish
15. Under Options, write “port=xxx”, without the quotes. Replace xxx with the port number you used in the port forwarding step in ConnectBot (step 9)
16. Click Save Share and that’s it.
Try and mount a share by clicking on it, you should get a green dot meaning all went well. Now you can access your files throughout android, from any network. Note that you will need to be connected to your SSH Server in ConnectBot every time you want to mount a share remotely. Below you can see that I've successfully mounted my remote share, and in the status bar I have a ConnectBot instance running.
So after performing this tutorial, all you will need to do from now on is simply connect to your ssh server in ConnectBot and provide your password, back out of it, and click on your CifsManager share.
Hopefully you found this guide useful. If you have any troubles I'll try my best to help out. Thanks for reading!
A little bump to bring this to the top after relocating from the Galaxy S6 forums.

Categories

Resources