[Guide] [Suggestion] [Blue Stacks] [Windows] easy folder access - Android Software/Hacking General [Developers Only]

a few days ago i installed Bluestacks and immeadiately realized the entire computer is not viewable
so i started looking for a way to make it so i found a bunch of ways for previous versions but with this version and its altered windows regestry archeture i was unable to impliment them
so i decide to try a simple directory junction and it worked heres the method i used
it uses junction points
okay there are ultimately 2 ways to do this
one is with a utillity (i use Link Shell Extension) and the other is through command
you need your file system to be NTFS however if you are running Vista or 7 you are already on it (its the default)
im not sure if its the default on windows XP (if your using fat or fat32 on XP use the following CMD)
Code:
convert [driveletter:] /fs:ntfs
example convert c: /fs:ntfs
for more info visit the following knoledge base artcle support [dot] microsoft [dot] com kb/307881
for my example i am going to link "my music" to bluestacks through a folder that is rarely used but read by bluestacks
Close out of bluestacks
so to start install Link Shell Extension and allow it to restart explorer (i cant post links so you will have to google it, the developers web site ends with [dot] at)
now navigate to your user profile (paste the following in the explorer address bare to go right there)
Code:
%USERPROFILE%
Right Click on "my music" or "music"
Click "Pick Link Source"
now go to public pictures
Code:
C:\Users\Public\Pictures
right click in pictures
hover over "drop as" and select "Junction"
open bluestacks
launch your file browser and navigate to "/mnt/sdcard/bstfolder/PublicPictures"
and music should be there
this can be adjusted for as many folders you want except C://", "C://Users", "C://Users/public", "C://Users/Public/Pictures" (as those would create an infinate loop and may crash bluestack and or your computer. i haven't tested this, nor do i intend to) just link them all to "public/pictures" instead of music use the other source

Related

[TOOL] Simple Windows command line sign script

Hello, everybody!
I've wrote simple batch script for signing apk and zip to be used in windows console.
There's nothing special, I just found it more handy for me, since I prefer to use Far Manager, not Windows Explorer and because I don't like right-clicks
To install it, extract contents of attached file somewhere into your path.
Then you can sign files simply typing in Far Manager (or windows console):
Code:
sign filename1.zip filename2.zip filename3.zip ...
It will create signed files filename1.signed.zip, filename2.signed.zip and so on.

[Q] local htm files

hello guys
if any one can tell me how to open local html files with internet explorer or opera mini in offline mode.
IE doesnt' seem to allow the file:// URI scheme, and (at least on stock ROMs) runs with so little permissions it's unable to see almost any files anyhow. Since you have Opera, you're presumably on a full-unlock custom ROM. You could try specifying the apth the file for Opera (or IE; I've never tried on a custom ROM). Either use file:///path/to/the/file.htm or \path\to\the\file.htm.
thank for the reply.but i tried to make that address i.e.169.132......to open an index html file located at root directory but nothing happen.if u give me some detail on this method it would be great.i read some questions at microsoft support but some code written in ms.studio and subsequent compilation could help.my rom is deepshining 7.3 and my phone is hd7
thanks in advance.
Waaaaait, you did what? Nothing in what you wrote looks like what I said you should try. You don't need to run any code, for example. You also shouldn't be entering an IP address, unless you're actually running a webserver on your phone.
If the file is called "index.htm" and is located in the phone's root directory ("\"), then you should have tried either "\index.htm" or "file://index.htm" or "file:///index.htm". These are standard ways to create a local-path URI
You could also try running a webserver, of course. The "Root Webserver" app linked in my signature will run just fine on your ROM. You'll need to make sure that it keeps running in the background (the "NoDehydrate" hack can help here, see my MultiTaskToggle app for an easy way to enable it), then run it, hit the Start button (not Back, as that would exit the webserver), load IE, and then go to 127.0.0.1. You'll need to move or copy the file to the webserver's "Content" folder, then go to 127.0.0.1/Content/index.htm.
thanks for the quick reply .i did not make any code but the question at ms.was about ability of applications to open local help files.
i will try the method u mentioned and reply asap.
i tried all posible paths but always "internal comun.error" in opera .i should give it a try using web server and tell u the result.thanks

[MASS STORAGE]true mass storage for WP7/7.5

Hey everyone,
I thought of making a simple guide or tutorial on how to get TRUE mass storage working on a windows phone 7/7.5 device with all methods put together under one heading in a single thread. I wanted to do this because many users find the lack of mass storage to be a serious problem especially when it comes transferring .pdf/.ppt/.pptx/.doc/.docx files to their devices or when they want to transfer any file that they downloaded on their wp7 devices to their pc. I hope this helps them.
The USB storage enabler that you find everywhere is not system wide. It just shows the folders that zune can access.
Requirements:
-Full unlocked or interop unlocked windows phone 7/7.5/7.8 device with working WP7 Root Tools
-PC with Windows XP/Vista/7/8
-Windows phone SDK(If you don't want to download and install the whole 1.4GiB here is the miniSDK)
-Connection to a router(for using webserver only)
-Zune
Assuming that you want the mass storage mode to transfer files between your phone and PC, currently there are three ways of achieving this in your WP7 device.If there are any other ways please let me know. I will update the post with links and instructions.
1: Using the Root webserver
This is by far the simplest method of accessing all files and folders on your device. You can download and upload files to the device(one at a time) and delete empty folders. No need to connect your phone to your PC via microUSB cable.
Instructions:
-Install webserver on your phone by deploying webserver.xap from PC or by XapHandler (Thanks to GoodDayToDie for Xaphandler) and mark it trusted in 'policies' tab in wp7 root tools.
-Open the application and type in your own username and password, whatever you like.
-Connect your phone and the other device in which you want to access your phone's file system to the same network.The other device can be another wp7 or any android or your PC etc.You need not have internet access. Its enough if your phone and the other device are on same network(i.e., connected to same modem/router)
-If your phone is running the webserver app, you can see the IP address of your device and the SSID of the network to which it is connected to.
-Open a web browser and type the IP address you can see(not the one that says software loopback interface!!) in the address bar on the other device.
-Enter the username and password you entered in the beginning. That takes you to a page where you have links for IsolatedStorage of webserver app, File system of your phone, content folder, about webserver. Go to file system, you can see all folders and files.
This method doesn't give access to registry and you can't delete non empty folders.
2: Using Windows phone device manager
Here you use a client on your PC and an app on the phone to communicate information on filesystem, and applications. Using this method, you can manage applications as well as access files and folders. And you can perform operations on multiple files at once, but still can't delete non empty files and there is no access to phone's registry. You can also connect to your phone via Wi-Fi.
Instructions:
-Download the windows phone device manager. Finish installation on PC.
-Connect your phone to PC using data cable and start zune. Your device shouldn't be in guest relationship with zune.
-Start windows phone device manager on your PC, it installs touchXperience on your phone for the first time.
-Go to wp7 root tools on your phone and mark touchXperience as trusted and exit the app.
-Start WPDM on PC, then start touchXperience on your phone.WPDM on PC should tell you that it is connected to 'so and so' device. There will also be a notification telling you that your phone is connected to the PC.
-Now you can explore files, install and uninstall apps, sync documents from your PC.
3: Using Windows mobile device centre
Ultrashot says that you can access file system and registry of your phone on your PC using the WMDC launcher and Windows mobile device centre on PC. I have not been able to get Windows mobile device centre installed on my PC since it is only supported on Windows Vista. So I do not have a hands-on experience myself. You can get WMDC for PC here
You will be able to:
-Manage your photos, music, videos.
-Browse the file system and transfer files.
-Edit registry through tools like CERegEdit,etc.
-Manage applications installed on your windows phone.
It is simple to use. Install WM Device Centre app on your device. Mark it as trusted in WP7 root tools or any other root access manager. Plug in your phone. If zune starts, don't worry tap WM device centre app on the phone. Your computer should just detect it as another windows mobile device and start windows mobile device centre. Scroll down for the link.
Some final words:
The files downloaded on your WP7 devices will be in the isolated storage of the respective apps. The apps from the marketplace do not have access to complete file system. So it is downloaded to their own isolated storage which will be usually
\Applications\Data\<app's GUID>\Data\
If you want to transfer .pdf files to your device, first transfer it to an easily accessible folder like 'My Documents' and then open them on your phone using a file explorer rather than directly putting them in Adobe Reader's isolated storage because they don't show up in adobe reader if you do that. Office documents(.ppt/.doc files) do show up in office app if you put them in \My Documents. Once you open your .pdf files using a file explorer, it will be copied to adobe reader's isolated storage which means after you open the .pdf files you just copied to \My Documents or any folder, you can delete them using a file manager and you can still have them stored in adobe reader's isolated storage. This way you get some space saved.
If you find these tools helpful, click 'thanks' button for the developers for these apps:
-Webserver: http://forum.xda-developers.com/showthread.php?t=1459235
-WMDC launcher: http://forum.xda-developers.com/showthread.php?t=1521763
Thanks to:
-Heathcliff74 for the unlocks and the WP7 root tools
-fiinix,GoodDayToDie for webserver
-ultrashot for WMDC launcher
-Julien Schapman for WPDM, touchXperience
Prahlad Varada
Reserved
I tried your method of copying the .pdf file in My documents and then opening it in adobe reader via a file explorer. But when I try to open the file, adobe gives an error saying "The file path is not valid." I also tried a couple of other locations in memory, and also created a few new folders inside various existing folders. But every time I get the same error.
What am I doing wrong? Please help.
Thanks,
PO15ON
PO15ON said:
I tried your method of copying the .pdf file in My documents and then opening it in adobe reader via a file explorer. But when I try to open the file, adobe gives an error saying "The file path is not valid." I also tried a couple of other locations in memory, and also created a few new folders inside various existing folders. But every time I get the same error.
What am I doing wrong? Please help.
Thanks,
PO15ON
Click to expand...
Click to collapse
I think u went to adobe reader's isolated storage and deleted that PDF file there..u can open adobe reader and delete that document (but unable to delete files from recently viewed section)..if only one particular file is experiencing this problem, delete that file in adobe reader app(don't use a file explorer to delete files from adobe reader) and open the file using file explorer(I prefer Heathcliff74's WP7roottools 1.2 or W.I.N.C.O's wPhoexplorer) from a local folder..
In simple words, an uninstall and reinstall of adobe reader should solve the problem..please try it and report back..
Prahlad Varada
Hey Prahlad,
Thanks for answering. Here is what I did before reading your answer.
1. Installed Adobe reader. Opened it once and viewed one pdf file (a small one) from my skydrive, just to make sure it is working properly. The file opened correctly, and everything went normally.
2. Used usb connection to pc to transfer a big file into the "My Documents" folder.
3. Removed the usb connection.
4. From the phone, used a file explorer to go to My Documents folder and tried opening the large pdf file.
5. It opens Adobe reader, but before loading the actual file, Adobe reader gives the error. When clicking OK on the error, it opens adobe reader, but without the file.
After reading your reply:
1. Uninstalled Adobe. Reboot.
2. Install Adobe.
3. Opened Adobe, no file present. Close Adobe.
4. Went to My Documents from file explorer, and tried opening the pdf file.
5. It opened adobe reader, but before loading the actual file, gave me the same error. After clicking OK on the error, the app opens, but without the actual file.
I never went into any other folder, and have NOT deleted any file. Not from My Documents, or from any Adobe folder.
PO15ON said:
Hey Prahlad,
Thanks for answering. Here is what I did before reading your answer.
1. Installed Adobe reader. Opened it once and viewed one pdf file (a small one) from my skydrive, just to make sure it is working properly. The file opened correctly, and everything went normally.
2. Used usb connection to pc to transfer a big file into the "My Documents" folder.
3. Removed the usb connection.
4. From the phone, used a file explorer to go to My Documents folder and tried opening the large pdf file.
5. It opens Adobe reader, but before loading the actual file, Adobe reader gives the error. When clicking OK on the error, it opens adobe reader, but without the file.
After reading your reply:
1. Uninstalled Adobe. Reboot.
2. Install Adobe.
3. Opened Adobe, no file present. Close Adobe.
4. Went to My Documents from file explorer, and tried opening the pdf file.
5. It opened adobe reader, but before loading the actual file, gave me the same error. After clicking OK on the error, the app opens, but without the actual file.
I never went into any other folder, and have NOT deleted any file. Not from My Documents, or from any Adobe folder.
Click to expand...
Click to collapse
Hmm..then I think the PDF is corrupted..maybe u unplugged ur phone before the transfer got complete or there was some loose contact and your phone didn't get the file completely..try deleting the file u transferred and from my documents or whatever folder they are in, reinstall adobe and open PDF again with file explorer..granting root access for adobe reader might help, I m not sure..but your file explorer must have root access either through a custom rom or wp7roottools
Next time when u reply, please do mention on WHICH device, with WHAT FIRMWARE u r experiencing this problem..if u also mention which method u used to transfer the file and how big the file was, maybe we can figure something out..
Regards
Prahlad Varada
prahladvarda said:
Hmm..then I think the PDF is corrupted..maybe u unplugged ur phone before the transfer got complete or there was some loose contact and your phone didn't get the file completely..try deleting the file u transferred and from my documents or whatever folder they are in, reinstall adobe and open PDF again with file explorer..granting root access for adobe reader might help, I m not sure..but your file explorer must have root access either through a custom rom or wp7roottools
Next time when u reply, please do mention on WHICH device, with WHAT FIRMWARE u r experiencing this problem..if u also mention which method u used to transfer the file and how big the file was, maybe we can figure something out..
Regards
Prahlad Varada
Click to expand...
Click to collapse
Giving root access to Adobe reader worked. The file manager already had root access, but Adobe didn't. When I granted Adobe root access, it worked for a couple of files. There is one file which is around 250 MB, which didn't worked. But I guess it exceeded the storage capacity of Adobe. When I tried opening the big file, it opened Adobe reader, and after a few seconds, Adobe quits.
I am using HTC Titan ATT branded, but full unlocked with Custom ROM 7.8. The custom rom makes it possible to connect to pc via windows phone device manager when connected through USB. I used that method for transferring the files.
Anyways the smaller files worked. So thanks for helping me out.
Cheers,
PO15ON
feherneoh said:
WMDC should work on any Windows 6.x system, so versions othe than Vista will work. For 5.x (2k & XP) use ActiveSync instead of WMDC.
Phone should appear in My Computer like a WM phone does when in ActiveSync mode, but Zune have to be open. The only problem with this is its slow transfer speed, but you can still use it with just a USB cable. You should even be able to use the webserver method using USB instead wifi.
Click to expand...
Click to collapse
But i couldn't get it work even once..so i just stick onto touchxperience which is currently working fine..i just mentioned WMDC just for the sake of records and i even saw a video of wp7 working with wmdc and so i mentioned it..cheers
Prahlad Varada

[Tutorial] [Root] How to Make Apps Download From Local Location

Sometimes You want to install an App on more than an android device, but the App data is Big, so it would take long to download
My Problem For Example, I Want to Install Several Offline Language packs For Google Translate for each Device, on my Connection it would take Forever
Now The Thing That You Need these File's to Be Downloaded Once, Copied To your PC, Plus Knowing From Where the files Being Downloaded
For My Case the File's are "ar.zip" and "c.zip" And they are being Downloaded From:
http://dl.google.com/translate/offline/v3/r1/ar.zip
http://dl.google.com/translate/offline/v3/r1/c.zip
Now the idea is:
1.Get a Copy of the Files to your PC
2.Make a Local WebServer
3.Edit Hosts file in Your Android (Require Root)
and Simply Download the Files Using your App as Normal But it will download rather than internet it will download from your PC
Now you'll Need Reactor, Get it From: https://app.box.com/s/brvhhzr72220n1w1mao6
Simply After you Download it, Run it and Install it, Run It, Run the WebServer
Now when you open localhost or 127.0.0.1 in your Browser it will open you an automatically Generated page by Reactor
Now you need to store Files in the WebServer, or whatever you call it, To Do this, Go to the Folder where you installed Reactor, Open "Core" Folder and then "htdocs" Folder, Now For Example if you Put a Folder called "hello", and Put a File Called "a.mp3", if you Opened with your Browser, localhost/hello/a.mp3 you will be able to download it!
Now For My Case i made the "ar.zip" and "c.zip" in translate/offline/v3/r1/
So the Path of the Files are:
\Reactor\Core\htdocs\translate\offline\v3\r1\ar.zip
\Reactor\Core\htdocs\translate\offline\v3\r1\c.zip
while in the Browser They Would be:
localhost/translate/offline/v3/r1/ar.zip
localhost/translate/offline/v3/r1/c.zip
Now The Next Step is to redirect the Website The App Will download From to Your PC Server, Which is you PC IP Address
My PC IP Address is 192.168.1.106,. So For my Case i want dl.google.com to be redirected to 192.168.1.106
"hosts" File will do the Job!, You'll need root for this Step, Open up a File Manager in your android, navigate to /etc/ and Open up "hosts" file with a Text Editor
and add the Following Line:
HTML:
<For (IP)> <From>
For My case i will add:
HTML:
192.168.1.106 dl.google.com
Now if i Opened dl.google.com in your android Browser it will open the WebSever you made with your PC!
Now For My Case When Google Translate Try to Access:
HTML:
http://dl.google.com/translate/offline/v3/r1/ar.zip
HTML:
http://dl.google.com/translate/offline/v3/r1/c.zip
dl.google.com --> is the WebServer Now
/translate/offline/v3/r1/ --> Entering the Folders I Made the ZIP Files In
<file>.zip is the Files
So the it will now download Rather from the Internet it will be Directed to My PC hooray!:victory:
Now you Bring Every Droid You have, Add a Single Line, and Download the File you want Normally! Amazing!:victory:
Please Suggest me A Better Title:good:
This Is My First Tutorial Thread So Don't Blame me:fingers-crossed:, Just tell me what is Wrong
Please Rate The Thread For Me
And Hit that Thanks Button if i Helped, i really Appreciate this!

[GUIDE] Save apps to sdcard Surface RT 8.1

Assuming that you have:​
Not modified the registry.
Surface RT with Windows 8.1
Patience (Essential)
First: Taking ownership.​Use
Code:
takeown /F "C:\Program Files\WindowsApps" /A /R
Second​ Let's remove the C:\Program Files\WindowsApps folder (As we have already taken ownership we can do this) just use "SHIFT+SUPR".
There is also a way to preserve already installed apps, this shouldn't affect but in the proccess I just deleted everything, anyway, you decide...
Code:
robocopy "C:\Program Files\WindowsApps" "D:\WindowsApps" /E /COPYALL /DCOPY:DAT
and then just use "SHIFT+SPR" to delete the folder.
Assuming that your news apps folder is at "D:\WindowsApps" change it to the directory where you want to have the apps.
Third​Now let's create the symbolic link
Code:
mklink /D "C:\Program Files\WindowsApps" "D:\WindowsApps"
Restart
Try to install an app and... d*mn! Error 0xd00000bb
Don't worry just right click over the new app directory, in my case "D:\WindowsApps" and choose properties... then Security tab and then Advanced now we must be sure that there is the "ALL APPLICATION PACKAGES" with full control if it isn't then just add it. Enable inheritance and tick the option "Replace all child permi..." then ok and wait... when it's done go to the Windows Store and click "Retry" and.... voi lá app get installed.
Be hapy :good:
I'll try to do this later. But has anyone else tried this and confirmed it works. Also, I'm not a pro, so I don't understand what "use "SHIFT+SPR" to delete the folder." means. Can you elaborate?
I just bought one of these cheap 16gb Win tablets for my son and I'm SOOOOOOO mad that I can't install apps on the SD card. What a joke.
Ok. So I created the D:\WindowsApps and did the robocopy. That took about 30-45minutes.
I tried to create the link, but it said the link was already created. So I don't know about that. Does the robocopy create a symbolic link?
PS. I discovered with some Googling 'Shift+SPR' is 'Shift Delete in Spanish.
thehotrod11 said:
Ok. So I created the D:\WindowsApps and did the robocopy. That took about 30-45minutes.
I tried to create the link, but it said the link was already created. So I don't know about that. Does the robocopy create a symbolic link?
PS. I discovered with some Googling 'Shift+SPR' is 'Shift Delete in Spanish.
Click to expand...
Click to collapse
Did you deleted original folder in C:\ yet?
I tried this procedure three times today. I was never able to delete the WindowsApps folder from my C drive. And it would continue to install my apps on the C drive. Moreover there were no security options on the WindowsApp folder on my SD card. Frustrated that I spent so much time on this and didn't get anywhere.
If there are no security options on the SD card, then the SD card isn't using NTFS. FAT obviously doesn't support ACLs, so it has no security settings.
If you can't rename or delete the original folder, then obviously you can't replace it with a symlink. You'd have two things with the same name! Robocopy doesn't move files and folders, it copies them (surprise...).
Thanks GDTD
GoodDayToDie said:
If there are no security options on the SD card, then the SD card isn't using NTFS. FAT obviously doesn't support ACLs, so it has no security settings.
If you can't rename or delete the original folder, then obviously you can't replace it with a symlink. You'd have two things with the same name! Robocopy doesn't move files and folders, it copies them (surprise...).
Click to expand...
Click to collapse
HI again internet.
I tried this method with little success. Then again I had a bitlocker encrypted SD not sure if that makes a diff??
Have fun
Wcomhelp
Would this work on 8.1 with Bing? Could someone write a script, to automate the process?
Thanks!
"robocopy" Not Working?
First, i tried to post a comment but since my hotspot was a sprint isp, it denied me. Such a pain and waited a long time to finally register. I finally got around to accessing cable internet to register. But by now, I already found my answer. So here it is.
If you cannot successfully complete the robocopy (says access denied for certain files), you need to fix the permissions first.
1-Before starting these instructions; you must have "ALL APPLICATION PACKAGES" added in the permissions of D:\WindowsApps or wherever that folder is on D. But also be sure to hit the "Full Control" box before saving.
2- Start this tutorial and the robocopy should work.
Hi,
I cannot seem to get the permissions in the SD card folder to work permanently and folder permissions keep reverting to read-only. I have been able to install one app in the SD card folder but now I am continuing to get the error.
Any kind soul would like to explain how to permanently set the permissions to that will make sure that this works?
Thanks a lot.
You didn't mention that the SD Card must be formated as NTFS system in order to take into account correct NTFS Right access.
Does it valid only for Windows 8.1 RT version ??? I am trying on Windows X86 32Bits but doesn't works
Deleted
I'm also interested if it is possible to do this on other machines with Windows 8.1.
I followed the instructions above, but when I'm trying to install i.e. Adobe Touch app, I'v got an error: 0x80244022.
tried in windows 8.1 pro and it does not work. As soon as i open an installed app it opens for a few secconds and the exit imediately.
Please help.

Categories

Resources