hello, friends
i have a s5830i,
i try to entry CWM, i choose .zip from sdcard ,but when i reboot,the phone doesn't change any,
i want to know why?
please tell me soon
Sent from my ZTE N880E using xda premium
Did you try to mount /system?
Gesendet von meinem GT-S5830i mit dem verfluchten Broadcom Chip
mount /system has been inclued in update-script, or what should i do to mount /system?
Sent from my ZTE N880E using xda premium
hiack said:
mount /system has been inclued in update-script, or what should i do to mount /system?
Sent from my ZTE N880E using xda premium
Click to expand...
Click to collapse
Better mount it by yourself, because sometimes it has errors.
In cwm goto mounts and storage and look if there is mount /system or unmount /system. If there are the words "mount /system" select it. If there is the words "unmount /system" it is already mounted.
Android-fany said:
Better mount it by yourself, because sometimes it has errors.
In cwm goto mounts and storage and look if there is mount /system or unmount /system. If there are the words "mount /system" select it. If there is the words "unmount /system" it is already mounted.
Click to expand...
Click to collapse
Should we change the 'mount /data' to 'unmount /data'?
Vishnu pv said:
Should we change the 'mount /data' to 'unmount /data'?
Click to expand...
Click to collapse
Yes, change the mount /data to unmount /data
Gesendet von meinem GT-S5830i mit dem verfluchten Broadcom Chip
Related
Ok long story but I'm trying to figure out how to mount the external sdcard from a shell script or terminal emulator. Nothing I've tried or can find works. One example that's not working (or any variations of this) :
mount -o remount,rw /dev/block/mmcblk1p2 /mnt/sdcard/ext_sd
Sent from my ADR6425LVW using Tapatalk 2
When you plug in just hit "use as external storage" or somehing like that when the window comes up in the phone.
Yeah I know how to mount ext_sd via USB I'm working on a script and need to know the command to use from a script, I'm not trying to mount the card on my computer.
Sorry I wasn't more specific.
Sent from my ADR6425LVW using Tapatalk 2
rsage said:
Yeah I know how to mount ext_sd via USB I'm working on a script and need to know the command to use from a script, I'm not trying to mount the card on my computer.
Sorry I wasn't more specific.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
That's what you wrote.
So, you want to be able to push or retrieve a file from external SD through ADB?
No not really, though I guess that would be similar. I'm working on a script and in the script I need to mount the external sdcard if it's not already mounted.
Sent from my ADR6425LVW using Tapatalk 2
I jumped from stock to CM10 and have found an issue I need resolved, but am not sure how to go about it.
On stock, I didn't have
/sdcard/ is the path for the internal memory
/sdcard/external_sd/ is the path for the actual add-in slot you buy yourself.
This is great because the file explorer apps don't need special access to get to, and things are at least somewhat logical on how they're laid out.
On CM10:
/storage/sdcard0/ is internal memory
/storage/sdcard1/ is external memory
There are symbolic links of /sdcard and /external_sd but to access the latter, I need to tell apps like ES file explorer to change their base path rather than just having a nested mount structure.
I've tried using terminal emulator to go in and create a symbolic link, but I get 'operation not permitted' messages. I've also tried editing /etc/vold.fstab to have it change the mount from /storage/sdcard1 to /storage/sdcard0/external_sd, but the filesystem is read-only and 'mount -o remount,rw /' doesn't have an effect even though it doesn't complain.
How can I change the mount structure back to how I want it and how it's easier to access/navigate it in my apps?
Run into some situation, hopefully someone can shed some light
Did you mount this files as r/w?
Sent from my SAMSUNG-SGH-I717 using xda premium
johnrippa said:
Did you mount this files as r/w?
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
In my original post I mention trying to get it remounted as r/w, the command doesn't complain but the filesystem stays read-only.
Try busybox mount -o remount,rw /system
If that fails, use an app to do it.
ChronoReverse said:
Try busybox mount -o remount,rw /system
If that fails, use an app to do it.
Click to expand...
Click to collapse
Any particular apps to recommend? I had tried issuing the remount command on / and not /system. I will give that another try.
ChronoReverse said:
Try busybox mount -o remount,rw /system
If that fails, use an app to do it.
Click to expand...
Click to collapse
I was able to modify the mount point to be /storage/sdcard0/external_sd/ for the external SD slot, but when I rebooted CM it got stuck and would buzz every 10 seconds or so and stayed that way indefinitely. Not sure why this breaks CM so bad but there you have it. Oh well.
Might be a better idea to just add links so you get your old /sdcard/external_sd
I'm not currently on a CM10 ROM or else I'd test.
ChronoReverse said:
Might be a better idea to just add links so you get your old /sdcard/external_sd
I'm not currently on a CM10 ROM or else I'd test.
Click to expand...
Click to collapse
Symbolic links don't work on a FAT based filesystem (which the SD card mounts are), unfortunately.
Hi, this is a tutorial that explain how to change the internal sd with the external.
It is an idea of danitab78, i decided to create this to shy away from talking in other threads.
I think it solves the main problem of our device that has only 2,3 gb as internal sd.
It works on this script:
ICS:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd
The only thing to do is create a "external_sd" folder in external_sd
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in system/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!
Congratulations
All rights reserved to Danitab78
JELLYBEAN:
I copied kumas post, so thanks to him here and here
ROOT IS REQUIRED and Jelly Bean
I made/copied (lol) this script by combining Artas182x and Mateo1111 scripts
this is how you would save it as script (.sh file)
Code:
#!/system/bin/sh
SU
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
if busybox mount | busybox grep vold/179:61; then
busybox mount -o bind /data/media /storage/external_SD
busybox rm /storage/external_SD/external_sd
busybox chmod -R 777 /storage/external_SD
fi
Or just download the attachment and unzip to your sdcard and run with smanger or similar app (and set to boot at startup if you want)
Note:
1.When using the camera and video recorder, change settings storage to internal memory (if you don't, you will have to reboot the phone to see your pic/vid you just took)
2.This script will allow you to install large size games (ex. Asphalt 7) but you will still need link2sd (to move apps to your external_SD)
Now if you use the link2sd app, select the "create symbolic link"
lol one more thing, you will need to partition your sdcard to use link2sd.
3.If y'all have busybox installed properly this script should work fine. In addition, this script is all set for init.d (but i have problems using this method). You will get an error for SU, because it's set for init.d. However, the script still works fine through a terminal.
Warning, using Android Tuner app can mess up your L9 and I'm not responsible if you do!
Or if you don't want to use link2sd and partition your Sdcard, you can use Android Tuner However, this app is really advance and you should make a CWM backup (thanks to Artas182x) before messing with this app. It has a lot of options and you could mess the phone up.
I did it for a better english, i hope
Will it take the apps into it!?
Sent from my LG-P765 using xda premium
hkfree said:
Will it take the apps into it!?
Sent from my LG-P765 using xda premium
Click to expand...
Click to collapse
I did it and i installed NFS Most Wanted and Asphalt 7, so definetly yes
it works, my internal now states 16gb
but i still don`t understand " The only thing to do is create a "external_sd" folder in external_sd"
does it means i have make folder external_sd after all the process?
in process so should be like this
1. install script manager
2. load script
3. check internal sd now should be as big as our mmc
4. create a "external_sd" folder in external_sd
does it right?
Normally, in /mnt/sdcard there is a folder named "external_sd" that is your microsd card, you have to create a folder named "external_sd" in it.
It doesnt matter if you create it before or after the script, i did it after and it worked but i think it would have worked in any case
Perfect it worked!!!
Sent from my LG-P760 using xda app-developers app
it really is move data of the application..
but if you take a look on "/data/app/" the installed apps is still there and the "/sdcard/app" is empty
it seems move everything including data of application (OBB files), and default location of application like whatsapp media now is in the "/sdcard/whatsapp"
is that normal or there would be any possible way to move "/data/app" to such as "/sdcard/app" ??
Roker1 said:
Hi, this is a tutorial that explain how to change the internal sd with the external.
It is an idea of danitba87, i decided to create this to shy away from talking in other threads.
I think it solves the main problem of our device that has only 2,3 gb as internal sd.
It works on this script:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd
The only thing to do is create a "external_sd" folder in external_sd
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in sys/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!
Congratulations
All rights reserved to Danitba87
I did it for a better english, i hope
Click to expand...
Click to collapse
Does this work without rooting your phone?
Sorry for being a noob here...just switched to android and got this phone... :silly:
sunnydsouza said:
Does this work without rooting your phone?
Sorry for being a noob here...just switched to android and got this phone... :silly:
Click to expand...
Click to collapse
nope, you must have access to /system by rooting ur phone
itoit said:
it really is move data of the application..
but if you take a look on "/data/app/" the installed apps is still there and the "/sdcard/app" is empty
it seems move everything including data of application (OBB files), and default location of application like whatsapp media now is in the "/sdcard/whatsapp"
is that normal or there would be any possible way to move "/data/app" to such as "/sdcard/app" ??
Click to expand...
Click to collapse
the script work only for swith internal sd card whit external.
No need move apk in sdcard
Roker1 said:
At first, you must have a file managar that works on rooted phones like "Root Explorer" and also "Script Manager - SManager" so you can bring the attached file into your phone, i suggest you to paste it in sys/etc. Now rename your .txt in .sh.
Open Script Manager with root permissions and find the .sh, tap on it, and if is asked how to open it, choos script/executable. In the next windows tap on "su", "boot","save" and finally "run".
If it doesnt give you any error it has worked!
Congratulations
All rights reserved to Danitab78
I did it for a better english, i hope
Click to expand...
Click to collapse
insted of script manager u could simplify this to make a script in rom toolbox lite via scripter
just put inside the script
Code:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd
\
name it as u wish, example "int2sd" and make it run on boot
sorry for asking this..
if i do this switching the memory, so the external sd will be the internal and the internal will be the external sd.. is it right?
bramprasetyo said:
sorry for asking this..
if i do this switching the memory, so the external sd will be the internal and the internal will be the external sd.. is it right?
Click to expand...
Click to collapse
Yes!
thanks for the script, it's working perfect
Roker1 said:
Yes!
Click to expand...
Click to collapse
thank you for quick reply...
and how to undo this script? just delete and reboot?
bramprasetyo said:
thank you for quick reply...
and how to undo this script? just delete and reboot?
Click to expand...
Click to collapse
yes
danitab78 said:
yes
Click to expand...
Click to collapse
thanks
let me try it now...
I ran the script and then went back into folder with root explorer and it looks like all the files from sd have been copied to sd_external
Sent from my LG-P769 using xda app-developers app
R: How to exchange memories
After following this guide should i See more space here? Cause i've done IT without errors but the space avaible is the Same.
Sent from my LG-P760 using xda app-developers app
it works. thanks
My phone hang in formatting /data over 1 day in CWM. then i unplug cable .......
i run more time still hang in formatting /data , but formatting /cache /system /sdcard /emmc all done.
anyone can help ><"??
Go to advance and storage and mount and wipe pre install
Sent from my GT-I9100 using xda app-developers app
vishal11in said:
Go to advance and storage and mount and wipe pre install
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
tried,still hang storage and mount format data / \
1. Partition the SD with CWM (easiest method) and you can be sure that the second partition disk type is of ext4 (latest CWM).
2. Rename other scripts in init.d, so that it gets executed only after the mount script has run (prioritize mount script).
3. Ext4 has many advantages over its earlier versions. So update the mount script's disk mount type to be ext4 (mount -t ext4).
4. If you are using low performance SD please update the script to mount the disk without mount options such as noatime.
5. Never add ext4 tweak if you are using mount scripts, it causes data corruption.
6. If you don't want the script to move certain folders in data partition then add the folder name to the moving data to SD ext.
Using a mount script is very easy, these points make it better.
BTW, I suggest you to try INT2EXT for EXT4 (with the above updations) the next time you reset your device.
Sent from my GT-I5500 using xda premium
Ok finally i observed that u disabled noatime, norealtime and zipalign code from the original int2ext4+ script..but i still dont understand what does that code do
Code:
-o nosuid,nodev,noatime,nodiratime,barrier=0,nobh,data=writeback,noauto_da_alloc
BTW thanks nanba for all the help dude..
swat4samp said:
Ok finally i observed that u disabled noatime, norealtime and zipalign code from the original int2ext4+ script..but i still dont understand what does that code do
Code:
-o nosuid,nodev,noatime,nodiratime,barrier=0,nobh,data=writeback,noauto_da_alloc
BTW thanks nanba for all the help dude..
Click to expand...
Click to collapse
Those are the options available while mounting a disk. You can Google for each one, read the Linux pages.
Sent from my GT-I5500 using xda premium
SuganAnbalagan said:
Those are the options available while mounting a disk. You can Google for each one, read the Linux pages.
Sent from my GT-I5500 using xda premium
Click to expand...
Click to collapse
I prefer reverse mount than symlinks and for speed I leave dalvik cache on data partition. You can try that too.
Sent from my GT-I5500 using xda premium
That's a lot of linux related technical stuff..well its too hard to understand..anyways "Ignorance is Bliss"