1 month ago I was using win 11 and when I entered this computer, the images downloaded and other disks were visible, then I used linux for 1 month, 1 month later I realized that linux was not for me and went back to win 11. I installed the latest win 11 iso file, and when I go to this computer folder, only the local disk folder appears, not the folders such as downloads images. how can i solve this problem?
Delete all partitions and create only one ntfs.
I suppose the method of installation you have done was wrong, CLEAN install the W11 using NTFS, when there's question asking to select partition when installation screen, delete all drive including RESERVED bla bla bla .. make sure there's only 1 drive while installing W11 ..
the rest of the standard partition and folders will be created automatically, do post the new screenshot after you have done those ..
This may cause because you have not set the file permission for windows 11 and you have deleted your linux os, in this scneario you can try the attrib command for this.
Attrib -r *.* — to change file permissions on all files in folder recursively.
Attrib
Displays, sets, or removes the read-only, archive, system, and hidden attributes assigned to files or directories. Used without parameters, attrib displays attributes of all files in the current directory.
Syntax
attrib [{+r|-r}] [{+a|-a}] [{+s|-s}] [{+h|-h}] [[Drive:][Path] FileName] [/s[/d]]
Top of page
Parameters
+r : Sets the read-only file attribute.
-r : Clears the read-only file attribute.
+a : Sets the archive file attribute.
-a : Clears the archive file attribute.
+s : Sets the system file attribute.
-s : Clears the system file attribute.
+h : Sets the hidden file attribute.
-h : Clears the hidden file attribute.
You can also refer to the following article that might help you Folder Access Denied Error on Windows 11
Related
okay
topic is related to apps2sd, cache2sd and symlinking. The end goal is to produce a process on HTC code based ROMs where we can just "move" both apps and dalvik-cache from internal to the sd ext and back WITHOUT having to reboot the phone
Through shell scripts run from Terminal or GScript I have been able to get dalvik-cache (/data/dalvik-cache - /system/sd/dalvik-cache) to move back and forth on the fly with no ill effect (at least that I have been able to find). BUT apps (/data/app and /data/app-private - /system/sd/app and /system/sd/app-private) are more complicated in that they no longer show up in the app drawer of the lancher program.
A few relevant points on the .apk files:
* I can run the script that moves the app files then via root explorer use the install command and they show up again...
* I can run the script that moves the app files and then reboot the phone and all apps show up again...
SO my questions are:
1) What are all the meta-data and system data locations that are populated when .apks are installed?
2) What specific setting are out of place that causes the app to not show after moving the physical files and establishing (or removing) directory symlinks?
3) How can we force sync so that we can just "move" apps on the fly WITHOUT reboot similar to CyanogenMod builds...
seems like there is just a setting in a db or xml file somewhere that needs to be refreshed after the files are move and the directories are symlinked (or symlinks are removed) :/
If helpful I have attached a .zip file including the following shell script files I use in the process
* 04apps2sd - run via the init.d boot process to check if sd card and ext partition are available and then basically sets and stores a system property of sdactive.
* apps2sd.xtr - runs when executed and checks that proper directories are in place, moves app and app-private files and creates symlinks
* apps2internal.xtr - runs when executed and checks that proper directories are in place, moves app and app-private files and removes symlinks
* cache2sd.xtr - runs when executed and checks that proper directories are in place, moves dalvik-cache files and creates symlinks
* cache2internal.xtr - runs when executed and checks that proper directories are in place, moves dalvik-cache files and removes symlinks
1. Data for the apks are located in /data/data. Each application has its own folder under that.
2. Ran into this very issue with Darktremor 2.7 update 3r1 and 2.7.5 Preview Fix. The issue I had was that, when I copied the files, I wasn't copying the permissions.
It's was actually a simple fix:
Code:
Old way: /system/xbin/busybox cp -f /data/app/* /system/sd/app
New way: /system/xbin/busybox cp -fp /data/app/* /system/sd/app
The -p command copies the file while leaving the permissions intact. Once I changed all the cp lines to use -p, all worked correctly.
3. I know I never reboot when I move applications from internal to sd (or vice versa). The programs follow. However, it could be setting permissions on /data/app and /data/app-private. I usually use chmod 777 (overkill, I know) and it works fine for me.
I do a reboot when I move dalvik-cache, but that is because a few apps have issues when the dalvik-cache is moved while they are running. Technically, it isn't necessary.
zach.xtr said:
SO my questions are:
1) What are all the meta-data and system data locations that are populated when .apks are installed?
2) What specific setting are out of place that causes the app to not show after moving the physical files and establishing (or removing) directory symlinks?
3) How can we force sync so that we can just "move" apps on the fly WITHOUT reboot similar to CyanogenMod builds...
seems like there is just a setting in a db or xml file somewhere that needs to be refreshed after the files are move and the directories are symlinked (or symlinks are removed) :/
If helpful I have attached a .zip file including the following shell script files I use in the process
* 04apps2sd - run via the init.d boot process to check if sd card and ext partition are available and then basically sets and stores a system property of sdactive.
* apps2sd.xtr - runs when executed and checks that proper directories are in place, moves app and app-private files and creates symlinks
* apps2internal.xtr - runs when executed and checks that proper directories are in place, moves app and app-private files and removes symlinks
* cache2sd.xtr - runs when executed and checks that proper directories are in place, moves dalvik-cache files and creates symlinks
* cache2internal.xtr - runs when executed and checks that proper directories are in place, moves dalvik-cache files and removes symlinks
Click to expand...
Click to collapse
Thanks I will try this out...
Okay well thanks for the code but i have tested this and no success
To be clear i am running on the phone, not adb, via gscrips or terminal and the apps still do not show in app drawer unill phone is rebooted...
Any other ideas?
Sent from my Eris using XDA App
try to modify this files /data/system/packages.xml i think this file tells the system where the apks are located.
I developed a cramfs rom for the np7 after user dochoppy found root for the nextbook premium 7 tablet, but he then converted to ext3 which because its packed with features will be more popular. So I am trying to edit his ext3 rom in Ubuntu 11.10 and here is what I do:
1. Copy and paste system.img to desktop
2. Create a folder called system on desktop
3. In command prompt:
cd ~/Desktop
Sudo mount -t ext3 -o loop system.img system
(Asks for pw)
4. Doc said something about only being able to edit as root, so after some Googling I find out how to create a program that grants root.
5. (Open "run as" program) then I type "nautilus /home"
(Asks for pw)
6. Navigate to mounted system and I have read/write privileges (but only in this window)
HERE IS THE PROBLEM!!!
7. View the system mount properties, and it says I have 14.2 mb free space on device
8. Delete files throughout the system folder to make room (but when I refresh properties, free space increase doesn't show)
9. Try to add my own files after deleting some others, ans rather than using the increased space, it just fills the fourteen megs before telling me "device is out ofmemory "
What am I doing wrong, why is the system not physically making the proper system increase and decreases.
ognimnella said:
8. Delete files throughout the system folder to make room (but when I refresh properties, free space increase doesn't show)
Click to expand...
Click to collapse
If you use nautilus, there are chances that your files get just moved to Trash.
Try empting the trash, or remove them from command line (with sudo).
You have to be superuser (ie root) to be able to use mount in Ubuntu. Type 'sudo -' in the terminal again, enter your usernames password. (Default root password is your usernames pwd) then you can mount the image, edit it, etc.
When you open the terminal, type id . It'll show you your username, and uid. After you sudo, type id again. It'll show you're root with uid 0
Sent from my HTC EVO 3D using XDA App
Hey guys,
I recently just installed the r20 release of the Android sdk and have run into a predicament, I am getting the SWT folder does not exist error that many of you have solved for others in the past, but I am getting something strange with that error, there is
Code:
'C:\Program' is not recognized as an internal or external command, operable program or batch file.
the rest is the typical ""Invalid path" and "The system cannot find the path specified,"
I've installed everything prior to that correctly (sdk installed in C:\ and find_java.exe can detect Java in the JRE bin folder), but the C:\Program part of the sequence seems to have me bewildered, do you think any of you might know a clue to where the culprit may be?
Here is a copypasta of the error sequence
Code:
C:\Android\android-sdk\tools>android
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Invalid path
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
ERROR: SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
rm.
Edit1: Forgot to put my current PATH variable
C:\Program Files (x86)\AMD APP\bin\x86_64;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Java\jdk1.7.0_05\bin;
Silly me, I knew the SDK wasn't to friendly to having spaces in the directory names, but I was preoccupied to just think about it...and me being stupid to not seeing the option to install the JDK in the root of C:\. anyway this problem solved...
Moral of the Story: read read read and install in the root of the drive.
In Windows, you can give this command:
Code:
Dir c:\ /s>dir.txt
and it will create a directory listing of the entire file system and write the results to a file named dir.txt.
Is there a way to accomplish the same thing on an Android device?
Loyal AMLOGIC fanboy here messing around with a CS918 for only the third time . . . .
I am trying to run a shell to unpack an archive, there's a smali file that downloads the archive to /sdcard/Android/data, this part works fine.
The SH should then unpack to the same directory, this part fails.
My question is, does the directory path format require changing depending on your action (even though it's all going to the same place)?
I unpacked the rom's IMG file to see how other scripts are interacting with the filesystem and am seeing the following paths used by different files - but they all go to the same place:
/data/user/0/
/mnt/sdcard/Android/data/
/data/data/
Here is what the .sh file is trying to accomplish:
tar -xf /sdcard/Android/data/settings.tar -C /sdcard/Android/data/
rm /sdcard/Android/data/settings.tar
For the record, this works flawlessly on AMLOGIC using the path:
/storage/emulated/legacy/Android/data
Just incase anyone comes across this via searching:
The correct path is /mnt/sdcard/Android/data/ - but you have to run the batch as root