Hey All,
I was trying to find a way to make a symbolic link to the SD card so all the movie programs could see it. On a FAT32 it looks like it isn't doable. You can, however, bind mount to a folder.
Here is the info. Credit goes to korora over at modaco.
You have to be rooted for this to work(or so it seems)
Pop open the terminal and enter the following code:
Code:
cd /mnt/sdcard
mkdir fssd
mount -o bind /Removable/MicroSD /mnt/sdcard/fssd
fssd is generic and can be named whatever you prefer.
Now to find your sd card in a program that can't access /Removable/MicroSD just navigate to /mnt/sdcard/fssd
hope this helps.
Wow, this is sexy! Thanks for this, I have only just done it and a quick poke around with ES File Explorer, but it also is nice because I can just open ES, it defaults to sdcard, so I scroll down to MicroSD (the directory I made) and there it is! I know it only saves me 2 taps of the screen, but still, it's nice. So I say, thanks for bringing it to my attention, as I don't follow those boards.
Thanks,
this is great and works perfectly!
Sent from my Transformer TF101 using Tapatalk
No problem. Glad i could help
amazing how quickly threads get buried here.
Now to add it to the autos execute shell script so it binds every start up.
Neat! Makes me wanna root now Wonder if you could do the same with say a 500GB external USB drive
This is great but we need app developers to now start allowing us to select where we want app data.
Sent from my Transformer TF101 using XDA Premium App
frosty5689 said:
Now to add it to the autos execute shell script so it binds every start up.
Click to expand...
Click to collapse
so it kills it on reboot? is there an easy way to make it automatically execute each startup?
ratindahat said:
so it kills it on reboot? is there an easy way to make it automatically execute each startup?
Click to expand...
Click to collapse
Look for Script Manager in the market.
But I have another question: how can I have programs to save their own settings in this new links/directories?
I do not want to copy it by hand.....and I want to let software recognize their saved settings after a reinstall/restore....
Nice job,this works great,thanks.
sorry for the noob question...
where exactly to put in this code?
i tried making new script with the Script Manager and run it but it says:
CD: not found
mkdir failed for fssd, Read-only file system
mount: no such file or directory
but if it worked this workaround would've been great though
This is what mine says when I open up the script:
#!/system/bin/sh
mount -o bind /Removable/MicroSD /mnt/sdcard/MicroSD
This is with my directory named MicroSD of course. The first line was there when I made a new script so I left it. Not sure if that helps. I already made the directory so I didn't need that command.
Sent from my Transformer TF101 using XDA Premium App
i was trying to figure out where to put the mount line. Thanks, it worked great with script manager.
Related
I'm kinda new to android
I've started to delete useless apps through Titanium Backup(acer staff,games etc) , and exidently deleted smth connected with honeycomb stock keyboard.
Now every time when i want to use stock keyboard, pops up a messege "The application Android keyboard (process com.google.android.inputmethod.latin) has stopped unexpectedly. plz try again".
Ive tryied to reset factory data but it wont helped. Is thera any solution for this problem? if there no, plz tell how to completely reset tablet) ive read "system Images " thread but i didn understand some things
here is my recover steps: (for a500 which is bricked)
for a500 is normal:
root it
put the system.img into a500
connect to the computer with adb and follow the codes:
su
dd if=/sdcard/system.img of=/dev/block/mmcblk0p3
then reboot
Click to expand...
Click to collapse
connect to the computer with adb and follow the codes:
su
dd if=/sdcard/system.img of=/dev/block/mmcblk0p3
what that means)
You might very well have ruined your tablet.
I'm not a developer or coder so I can't make any sense of the code you posted but if a reset didn't fix it then you've certainly deleted something important. Hopefully someone has some ideas.
If not, then maybe you can return it? And next time, don't delete something unless you know what it is you're deleting.
ok ive recovered from image, but now wifi is not working , what should i do?
There are posts about having to change file permissions to fix wifi. Search this forum, there are a few.
edit - linked post
http://forum.xda-developers.com/showthread.php?t=1074449&highlight=wifi+permission
yeah ive read this but i dont know how to move that files to system folder on devide, wifi is down , so i cant download any file managing apps from market and theres no any file managers on stock Rom
If you've got the adb working, you can use the command mv to move the file.
I'm not sure of the exact path involved, but for example. the file is in /mnt/sdcard/filetobemoved and needs to go into /sytem/lib/modules
mv /mnt/sdcard/filetobemoved /system/lib/modules
That'd put it in the location you need. To change the permissions, you'd use the command chmod
chmod 655 /system/lib/modules/filetobemoved
The 655 is an octal(0-7) representation of the file's permissions. I'm not sure what permissions it needs, but you could try 655 as a start unless someone else knows for sure.
if you want, hit me up on msn, I can try to walk you through it: [email protected]
Glebaka said:
ok ive recovered from image, but now wifi is not working , what should i do?
Click to expand...
Click to collapse
Ah *phew* Good to hear.
gammaRascal said:
Ah *phew* Good to hear.
Click to expand...
Click to collapse
lol How'd he get in that shape to begin with? Any idea what exactly it was he deleted that bonked his system?
muqali said:
lol How'd he get in that shape to begin with? Any idea what exactly it was he deleted that bonked his system?
Click to expand...
Click to collapse
No clue. I really should start reading up on HC app development and at least familiarize myself with that environment.
I haven't rooted yet cause I'm e'scarded to.
ahh i cant replace that files , somehow installed astro manager(through docsttogo) but i cant remove/replace/rename that files in system/lib/modules it says i dont have permission to do this.
tryed in connectbot type "mv /mnt/sdcard/filetobemoved /system/lib/modules"
got this "failed on '/system/lib/modules/filename' - cross-device link"
im rooted what if
Glebaka said:
ahh i cant replace that files , somehow installed astro manager(through docsttogo) but i cant remove/replace/rename that files in system/lib/modules i dont have permission to do this.
tried connectbot tryied "mv /mnt/sdcard/filetobemoved /system/lib/modules"
got this "failed on '/system/lib/modules/filename' - cross-device link"
im rooted
Click to expand...
Click to collapse
type mount and paste/retype the line that has /system in it. It might be mounted read only.
or try the cp command in place of mv
edit - also, the filetobemoved is just an example. I think one of the filenames is bcm4329.ko but I'm not sure. so /system/lib/modules/bcm4329.ko would be the full path
ah im total noob tried cp instead of mv it said permission denied .
t
ype mount and paste/retype the line that has /system in it. It might be mounted read only.
Click to expand...
Click to collapse
i didnt get that (
edit - also, the filetobemoved is just an example. I think one of the filenames is bcm4329.ko but I'm not sure. so /system/lib/modules/bcm4329.ko would be the full path
Click to expand...
Click to collapse
yeah thats i know)
Are you logged into the tablet using adb's shell? I've only used that once on a different tablet, but iirc the commands are standard Unix/Linux commands. Someone correct me if I'm wrong but aren't you already logged in as superuser like this? You don't need to 'sudo' or 'su' to switch over do you?
I'm not familiar enough with this specific environment to figure out what might be keeping you from placing those files in that location. The command to check the partitions mount options is
mount
It should return a bunch of text, one line of which is gonna be the /system partition. If it's ro(read only) then you can't write to it and would need to remount it.
yeah it looks like it is "ro"
ive got /system ext4 ro
how to remount)
My knowledge of adb is limited as well. All I know is that I can connect to it, type: adb devices (in the command prompt) to make sure it sees my tab then 'adb push filename.extension /directory/structure' to force files... Conversly, I think adb pull filename.extension /directory/structure will grab files on the tab if you know what they are called and where they are located.
Glebaka said:
yeah it looks like it is "ro"
ive got /system ext4 ro
how to remount)
Click to expand...
Click to collapse
what was the /dev/block/mtdblock for /system?
there is a number after it...for example /dev/block/mtdblock1
mount -o rw,remount -t ext4 /dev/block/mtdblock1 /system
would remount it read/write, provided that it is mtdblock1, change the number depending on what your device has.
yeah now /system have "rw", but it anyway refuses to copy using mv(failed on '/system/lib/modules/filename' - cross-device link"
) or astro manager
Glebaka said:
yeah now /system have "rw", but it anyway refuses to copy using mv(failed on '/system/lib/modules/filename' - cross-device link"
) or astro manager
Click to expand...
Click to collapse
If cp won't put it there either, I'm out of ideas. Maybe ask in the other thread how they were able to copy/move the file and set the permissions?
I know it may not be really classy, but how about downloading an .apk That will let you mount the drive, to an sd card in a computer then transfer that to the Acer. (If it's an extreme case and nothing else will work..not condoning piracy, but don't know what would work...)
or is it possible to copy the system data from a Titanium backup and send it over so he can restore the missing files?
This following step I can't be responsible for it's safety. It looks safe to my eyes, but proceed having been forewarned. I did some research and you might be able to use dd to get the file there.
dd if=/mnt/sdcard/filname of=/system/lib/modules/filename
Hy
Is there a way to link our external SD to internal storage?
I've tried:
Code:
cd /mnt/sdcard
mkdir sdcardname
mount -o bind /mnt/external_sd /mnt/sdcard/sdcardname
The following command works but it gets lost after a reboot.
Symlinking with ln -s doesn't seem to work- It gives a "link failed Function not implemented" error. Busybox is installed.
symlinks (ln -s) doesn't work because /sdcard is fat32. It doesn't support symlink. You can indeed mount the external_sd underneat /sdcard, but as you say, it's lost after reboot. You have to do it everytime you boot.
The only other way is if it's supported with a custom rom.
Blast. Then I'll probably format my card to EXT and mount it like that,
I didn't know that I can't mount FAT.
EDIT: Success! It's possible using Tasker and Locale Execute Plug-in. Now the card gets mounted at boot and you can transfer files directly to it.
Ok here are the results after some testing:
+ SD card is now a part of internal memory so I can save an view files without messing arround
+ You can copy files directly to SD now without jumping through hoops
- You have to have a rooted tablet runing Tasker and Locale Execute Plug-in which is quite a lot for a simple fix
- PC doesn't see the files you copy to your SD through the tablet even though it sees the files that you've transfered through PC. Both are seen on the tablet though.
I can provide instructions if anyone is interested.
I'm interested.
Ok you have to install Tasker, Locale Execute Plug-in and root the device.
Then:
- Make a folder on your internal memory where the files will be located (SD in my case)
- Go into Tasker and click on New
- Click on Event/System and select Device Boot
- Click on New Task and press OK
- Click on the + button and select plugin (if you don't have any plugins listed you didn't install the execute plugin)
- Select Execute and click on Edit
- Type (without quotes) "! mount -o bind /mnt/external_sd /mnt/sdcard/SD" (replace the SD with your folder name)
- Click on the menu button and you'll see a bar which will be empty. Just click on the last button and you'll see that the command is saved.
- Now click on Done twice and you're set
Reboot the device and check if it works.
Thanks so much for this. Now I never have to remove my micro-sd card. This is huge!
hi... this is great..,
but 1 questions
1. does it effect when clockworkmod read the external sd ?
The script runs after you boot Android (when it comes to the lock screen) so no it shouldn't affect anything because the bind doesn't work after a reboot.
That's why I use Tasker to run the command. Tasker actually only enters the command for you (previously I had to type the command manually).
tried this and excellent,
but what about the battery ? is the tasker application eating battery much or not ?
whats youe experience?
I have it on my tablet and my phone and I never noticed a drop in battery consumption so I think that we're talking about minutes here at most.
PC actually sees a CramFS userspace partition, which is an image of /data/local/
bpivk said:
Ok here are the results after some testing:
+ SD card is now a part of internal memory so I can save an view files without messing arround
+ You can copy files directly to SD now without jumping through hoops
- You have to have a rooted tablet runing Tasker and Locale Execute Plug-in which is quite a lot for a simple fix
- PC doesn't see the files you copy to your SD through the tablet even though it sees the files that you've transfered through PC. Both are seen on the tablet though.
I can provide instructions if anyone is interested.
Click to expand...
Click to collapse
Whatever I try, i cant get it to work. If i enter the command in tasker:
! mount -o bind /mnt/external_sd /mnt/sdcard/SD
it shortens it to:
! mount -o bind /mnt/external_sd /mnt/sd
What should i do so tasker understands/saves/remembers the complete line?
Are you typing it in Tasker or Locale Execute Plug-in. Because you should use the latter.
CheopsChefren said:
Whatever I try, i cant get it to work. If i enter the command in tasker:
! mount -o bind /mnt/external_sd /mnt/sdcard/SD
it shortens it to:
! mount -o bind /mnt/external_sd /mnt/sd
What should i do so tasker understands/saves/remembers the complete line?
Click to expand...
Click to collapse
Me too So should I typing it in Tasker or Locale? I don't have Locale.
Sheesh guys. Just follow the post #6.
You need a rooted device and Locale Execute Plug-in. Locale Execute Plug-in is not Locale but a plugin and a free one as that.
Follow the instructions. They are clearley written and you should have no problems. Just don't skip steps.
You are the best Thanks for help. I forgot about su premission (What a shame).
My 3.1 is rooted, i have su access, and it even remembers it.
I type the command in the locale plug-in as per instructions on the first page.
But still it abbreviates the command.
And if i attach the Iconia to my pc, and open the Acer Iconia icon, its empty, which means, i think, it points to a non-existing directory?
Any help would be appreciated.
CheopsChefren said:
And if i attach the Iconia to my pc, and open the Acer Iconia icon, its empty, which means, i think, it points to a non-existing directory?
Click to expand...
Click to collapse
Off course it does. It just points to an empty map if the command isn't entered properly.
I don't know about abbreviating the command. It works fine on my Acer and on some others that reported good results.
Edit: But when you enter the command.... Do you see the abbreviated command in tasker or in plug-in if you return to it? Because Tasker won't show the full command only a few words but you should be able to see the whole command if you click on Edit and check it in the plug-in.
CheopsChefren said:
Any help would be appreciated.
Click to expand...
Click to collapse
You should click "allow" in Locale Execute Plug-in when superuser ask you about it and don't forget about spacebar between:
mount -o bind /mnt/external_sd(here spacebar)/mnt/sdcard/SD
No need for scripts. Search for GL to SD app, much easier.
------
I'm not a heavy gamer, but usually have tons of games installed on my phone for my kid to play with (trying to resist to the "daddy, I wanna a PSP" while I can, at least with the phone I can control when he plays ).
With the advent of HD games, it become more and more difficult to manage multiple game installations on sdcard. The last drop was Asphalt6, with its +500M of downloaded files.... soon will have to use external hard disks to use games on our phones . Most of the "heavy" games are from Gameloft, and the problem lies on the installation pack that doesn't ask for a location to install additional files, always assuming sdcard.
Looked around, and the only workaround I've found was a crack that opens the game apk and changes the download destination directory. Well, I wasn't very comfortable in using this, and it only worked on some games.
So I configured the following "dirty" workaround, I know it's not perfect, but it resolved my problem so I decided to share here.
Basically I've moved gameloft directory from sdcard to external_sd and created a bind mount point called gameloft on sdcard pointing to external_sd. This has the problem that you can only mount that bind point before using the gameloft games, because if you keep it mounted and use storage usb you'll have problems mounting sdcard.
So I've created two scripts - one to mount it, another to unmount it -, and using script manager created a shortcut (actually is a script manager widget) to both scripts on my screen. Whenever I want to use/install gameloft games I mount it, and in the end dismount the bind.
Additional steps for gamming, but restored my sdcard space and now I can use my 16G external sd for that files. Note that if your external card is slow, the game load will be slower.
EDIT: This procedure needs root and busybox. Sorry forgot to mention earlier, I never had my phone not rooted
So, the how-to for anyone who wants to try:
1 - copy /sdcard/gameloft to /sdcard/external_sd/gameloft (if you don't have any GL games installed just create the folder /sdcard/external_sd/gameloft)
2 - remove /sdcard/gameloft/ contents
3 - create the following scripts on sdcard:
mount_gl.sh
Code:
#!/system/bin/sh
# mounts bind point
if [ -e /sdcard/gameloft ];
then
if [ -e /sdcard/external_sd/gameloft ];
then
busybox mount -o bind /sdcard/external_sd/gameloft/ /sdcard/gameloft
else
echo "no gameloft dir on external_sd"
fi;
else
echo "no gameloft dir on sdcard"
fi;
umount_gl.sh
Code:
#!/system/bin/sh
# UNmounts bind point
if [ -e /sdcard/gameloft ];
then
busybox umount -l /sdcard/gameloft
else
echo "no gameloft dir on sdcard"
fi;
Run first to mount, and check /sdcard/gameloft/ contents. If everything ok, start game and try.
Remember that to simplify you can create shortcuts of the scripts using script manager.
Try not to leave the bind mounted. If by any chance you forget to unmount the bind and use usb storage, you wont be able to mount sdcard, but there's no need to stress . Just unmount usb storage, open adb shell (or a terminal on phone) and issue the command:
# umount /sdcard/gameloft
after that mount usb storage, unmount it again, and everything will be back to normal.
If you at some point regret the change, just move the content of /sdcard/external_sd/gameloft to /sdcard/gameloft/.
The usual disclaimer: I provide this to share my findings, use it at your own risk. AFAIK there's no risk on this operation, besides the fact you could have to download files again if something goes wrong, but I didn't test this on any other phones besides mine.
EDIT 08/19: updated scripts with feedback from thread - added busybox to mount/umount and added -l switch to umount.
Cheers
nice idea.
Can I do this method with symbolic link too?
No. Symlinks are not supported by fat filesystem, the only way I've found was trough bind mount point.
Sent from my GT-I9000 using XDA App
I tried this method and didn't worked for me =(.
When i execute the script in script manager show me this error:
exec sh '/mnt/sdcard/mount_gl.sh'
$ exec sh '/mnt/sdcard/mount_gl.sh'
: not found
/mnt/sdcard/mount_gl.sh: 11: Syntax error: "fi"
unexpected (expecting "then")
tanke234 said:
I tried this method and didn't worked for me =(.
When i execute the script in script manager show me this error:
exec sh '/mnt/sdcard/mount_gl.sh'
$ exec sh '/mnt/sdcard/mount_gl.sh'
: not found
/mnt/sdcard/mount_gl.sh: 11: Syntax error: "fi"
unexpected (expecting "then")
Click to expand...
Click to collapse
It looks like you don't have busybox installed. Do you have it?
My bad, didn't mention it on OP, sorry.
Try to open a terminal emulator on phone and execute:
$ sh /mnt/sdcard/mount_gl.sh
just to make sure its not script manager related.
Sent from my GT-I9000 using XDA App
u can use busybox umount -l /sdcard/gameloft in case umount doesn't work. when sdcard being used by some background program, normal umount not working. Tested with O2X though
I use JVR with latest semaphore kernel and i guess that this kernel has busybox v1.16.2. Am i wrong?
lunasea said:
Try to open a terminal emulator on phone and execute:
$ sh /mnt/sdcard/mount_gl.sh
just to make sure its not script manager related.
Click to expand...
Click to collapse
I tried that on terminal emulator and i get the same error ;S
tanke234 said:
I use JVR with latest semaphore kernel and i guess that this kernel has busybox v1.16.2. Am i wrong?
I tried that on terminal emulator and i get the same error ;S
Click to expand...
Click to collapse
The code is wrong in the mount script, there's duplication
it should be:
Code:
#!/system/bin/sh
# mounts bind point
if [ -e /sdcard/gameloft ];
then
mount -o bind /sdcard/external_sd/gameloft/ /sdcard/gameloft
else
echo "no gameloft dir on external_sd"
fi;
and make sure you leave the /sdcard/gameloft folder where it is (even though it'll be empty)
shinigamis said:
u can use busybox umount -l /sdcard/gameloft in case umount doesn't work. when sdcard being used by some background program, normal umount not working. Tested with O2X though
Click to expand...
Click to collapse
can confirm this works, OP's unmount brings up 'files in use' or similar error sometimes..
on a side note, didn't know android was so picky when it comes to case.. if "Busybox" is used then you get a busybox: not found error, has to be lowercase
anyway, for the sake of clarity for other users:
Code:
busybox umount -l /sdcard/gameloft
viva.fidel said:
The code is wrong in the mount script, there's duplication
it should be:
Code:
#!/system/bin/sh
# mounts bind point
if [ -e /sdcard/gameloft ];
then
mount -o bind /sdcard/external_sd/gameloft/ /sdcard/gameloft
else
echo "no gameloft dir on external_sd"
fi;
and make sure you leave the /sdcard/gameloft folder where it is (even though it'll be empty)
Click to expand...
Click to collapse
I'm testing different locations, so no duplication. But be free to optimize the scripts, my programing is quite rusty this days.
Android is linux based, thus sensitive to capitalised words. About mount needing busybox, already happened to me on some rom/kernel combination. Using surface + talon and don't need to add busybox before the commands thought.
Sorry about the problems, like I said only tested on my sgs.
Cheers
Sent from my GT-I9000 using XDA App
Already tested this "script method" and working flawlessly.
Just a note: Hero of Sparta bounced to homescreen when loading main menu (after the opening video). But I can assure you this is not the fault of the script because HoS also not working when using patching method.
XA-R01 said:
Already tested this "script method" and working flawlessly.
Just a note: Hero of Sparta bounced to homescreen when loading main menu (after the opening video). But I can assure you this is not the fault of the script because HoS also not working when using patching method.
Click to expand...
Click to collapse
Dont have HoS, so thanks for the feedback. Maybe gameloft is making some control over the installed files because of illegal copy. Wish they put the same effort on resolving the installation issue, dont know why its so hard to ask the location instead of assuming a location for the download files.
Sent from my GT-I9000 using XDA App
I thought symlinks could do the trick as well (you wouldn't need scripts), but using mount points is a smart way as well! Thanks for sharing!
Will this work on SG2?
justmiike said:
Will this work on SG2?
Click to expand...
Click to collapse
Don't know mate, the scripts are pretty generic thought, as long there's a sdcard and an external_sd dir.
Taptalked... holding it the right way.
good guide!will try it later...coz im a heavy gamer ..cant resist any RPG game..and it really eat so much space in my int SD, here a "thanks" for u
sgsmaniac said:
good guide!will try it later...coz im a heavy gamer ..cant resist any RPG game..and it really eat so much space in my int SD, here a "thanks" for u
Click to expand...
Click to collapse
Thanks... happy gaming
Taptalked... holding it the right way.
justmiike said:
Will this work on SG2?
Click to expand...
Click to collapse
Yes..
The script is generic, you can make it work on another Android Phone with internal SD such as LG, Atrix, etc.
I'm using this patch (Auto_Patch_APK_for_Samsung_by_Duero__include_Java_.exe) in order to place the game data into external memory. Most of Gameloft games work using this method except games which download from market. Just patch the apk file and after install them your game data will stored in folder Gl at your external memory.
So far only this games which not able to patch into external SD
-assassin creed
-hero of sparta
-hawk
Is it possible to mount and unmount usb storage via script?
What I'd like to achieve is the following:
usb storage mount script:
1. unbind directories
2. mount as usb storage
usb storage unmount script:
1. unmount usb storage
2. 10 sec pause
3. bind directories
This way, instead of running the script when playing games (or in my case, using music streaming app such as MOG and Grooveshark), I can run the scripts when I want to mount/unmount as usb storage. After all, I'd be using music apps more than I would use usb storage.
I have created some directories and files using "Android Terminal Emulator" (e.g. using commands mkdir, ls -al > fname.txt etc) on /mnt/external_sd. I can see these files when I do 'ls -al of /mnt/external_sd'. I can see them in ES File Manager as well. But they do not appear when I connect iconia to my XP PC. I see rest of the files "My Computer\Acer ICONIA TAB A500\SD Card". Can anybody help me ?
Thanks
This won't help much
Just a few words that your not the only one. It seems that files created on
the A500 and written to the external_sd are not seen by the PC. One theory of mine is that is a Acer Sync issue. It sure is annoying. Anyone else with the same problem or better yet an answer.
frankelr said:
Just a few words that your not the only one. It seems that files created on
the A500 and written to the external_sd are not seen by the PC. One theory of mine is that is a Acer Sync issue. It sure is annoying. Anyone else with the same problem or better yet an answer.
Click to expand...
Click to collapse
Can you still not see them after rebooting the tablet?
You should be able to after rebooting.
To avoid having to reboot, you can use SD Rescan.
https://market.android.com/details?id=com.bero.sdrescan&hl=en
kjy2010 said:
Can you still not see them after rebooting the tablet?
You should be able to after rebooting.
To avoid having to reboot, you can use SD Rescan.
https://market.android.com/details?id=com.bero.sdrescan&hl=en
Click to expand...
Click to collapse
Thanks for the tip. Reboot does the trick. Not only reboot, unmount and mount of sdcard does it too.
tahdor said:
Thanks for the tip. Reboot does the trick. Not only reboot, unmount and mount of sdcard does it too.
Click to expand...
Click to collapse
The app I linked to is free, and alot quicker than both those methods
tahdor said:
I have created some directories and files using "Android Terminal Emulator" (e.g. using commands mkdir, ls -al > fname.txt etc) on /mnt/external_sd. I can see these files when I do 'ls -al of /mnt/external_sd'. I can see them in ES File Manager as well. But they do not appear when I connect iconia to my XP PC. I see rest of the files "My Computer\Acer ICONIA TAB A500\SD Card". Can anybody help me ?
Thanks
Click to expand...
Click to collapse
External_SD is not SDCARD. they are seperate entities in the tablet.
one is /mnt/external_sd
the other /mnt/sdcard <-- this one is what shows up on the PC
Nova5 said:
External_SD is not SDCARD. they are seperate entities in the tablet.
one is /mnt/external_sd
the other /mnt/sdcard <-- this one is what shows up on the PC
Click to expand...
Click to collapse
Actually they both show up on the PC. Not sure which ROM you're on, but stock 3.2 and ROMs built off of stock 3.2 show both internal as well as external.
This may amount to a n00b question, but here goes: After rooting my Kindle(7.2.3), my GF decided she loved the new look and functionality of it so she wanted me to do the same. Hers was on 7.3, which made the process different, but I was able to do it successfully. I've already installed Market and Google Play, and am now trying to remove the ads by changing Dtcp_apk.apk to Dtcp_apk.bat. However, I keep getting an Operation Failed message. I realize this has to do with changing the permissions, but I can't for the life of me remember how to do it, or where exactly I read it when I rooted my personal Kindle. Any help would be greatly appreciated.
So...
Code:
adb shell su -c "mount -o remount,rw ext4 /system"
adb shell su -c "mv /system/app/dtcp_apk.apk /system/app/dtcp_apk.bak"
...doesn't work?
And now, my n00bness shall shine through. Haha. After I rooted the first Kindle(7.2.3), I only had to change the dtcp_apk.apk file to dtcp_apk.bat and it worked like a charm. The method you are describing, I am not familiar with. Is that something I do within a cmd window? I apologize for not knowing, I just didn't have to do it before...
Yes, those are entered from the command line. The first one remounts the system partition as read/write, allowing changes to be made to that partition. The second one simply renames the file so the system can't find it. The "su -c" part tells the shell to run the commands as the root user, needed on stock systems.
I'm guessing your file manager your using doesn't have full root access I use es file explorer and you go into settings root settings and check them all then you can rename that file you don't have to learn to use adb to do this...
Sent from my GT-P3110 using xda app-developers app
mrkhigh said:
I'm guessing your file manager your using doesn't have full root access I use es file explorer and you go into settings root settings and check them all then you can rename that file you don't have to learn to use adb to do this...
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
AHA!!!! This was exactly what I did the last time, but couldn't remember this time around. Worked like a charm. Thank you both for the responses and the help. :victory: