How do you do it? Just same as adb push? Or any special way? Don't wanna get stuck to bootloader again.....
Sent from my DROIDX using XDA App
I just do this
Code:
adb push services.jar /sdcard/
adb shell
su
mount -o rw,remount -t ext3 /dev/block/userdata /data
cp /sdcard/services.jar /system/framework/services.jar
mount -o ro,remount -t ext3 /dev/block/userdata /data
reboot
hi every one
i am actually looking for your help guys with streak 7
i want to copy some files from sdcard to system using ADB
i used to do the fllowing for streak 5
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/lib/* /system/lib/
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
but when i tried it with streak 7 its fail no luck ????
sorry for my poor english
All you need is
Adb pull /mnt/sdcard/location_of_file
Or
Adb pull /mnt/sdcard2/location_of_file
Sent from my Dell Streak 7 using XDA Premium App
the file is going to be in your adb tools folder
Sent from my Dell Streak 7 using XDA Premium App
Trying to get Ubuntu chroot up and running with Linux installer from the market.
Followed the quick start guide to a "t", only changes I made from the default settings were distribution and version. This resulted in a /data/local/mnt/Linux directory with the Ubuntu file structure inside and a Linux.loop file in the root of my internal storage.
The part that is confusing of how to mount. The last step in the guide is to press the button that creates the linuxchroot script; when I press the button out says it's creating the file but the file isn't created.
I'm attempting to use the following commands to mount manually:
Code: ---------# mount loop.img directory ---------If for some reason that doesn't work use losetup.
Code: ---------# losetup /dev/block/loop7 loop.img # mount -t auto /dev/block/loop7 directory
But not sure how to use them because there isn't a .img file, just the previously mentioned /data/local/mnt/Linux directory and the Linux.loop file.
Anyone? Thanks in advance
Sent from my DROID3 using Tapatalk 2
Q9Nap said:
Trying to get Ubuntu chroot up and running with Linux installer from the market.
Followed the quick start guide to a "t", only changes I made from the default settings were distribution and version. This resulted in a /data/local/mnt/Linux directory with the Ubuntu file structure inside and a Linux.loop file in the root of my internal storage.
The part that is confusing of how to mount. The last step in the guide is to press the button that creates the linuxchroot script; when I press the button out says it's creating the file but the file isn't created.
I'm attempting to use the following commands to mount manually:
Code: ---------# mount loop.img directory ---------If for some reason that doesn't work use losetup.
Code: ---------# losetup /dev/block/loop7 loop.img # mount -t auto /dev/block/loop7 directory
But not sure how to use them because there isn't a .img file, just the previously mentioned /data/local/mnt/Linux directory and the Linux.loop file.
Anyone? Thanks in advance
Sent from my DROID3 using Tapatalk 2
Click to expand...
Click to collapse
If you see the directory structure in /data/local/mnt/Linux then it's already mounted.
Code:
chroot /data/local/mnt/Linux /bin/bash
Should work, but I have no idea why the script isn't being created.
To manually mount.
Code:
mount /sdcard/Linux.loop /data/local/mnt/Linux
and un-mount after exiting the chroot environment by a ctrl-d or typing "exit".
Code:
umount /data/local/mnt/Linux
if un-mounting causes a device is busy error, un-mount the lazy way
Code:
umount -l /data/local/mnt/Linux
Doing any of this manually might cause some errors because the script isn't doing whatever it is that it does.
Ok so I finally got Ubuntu up and running with vnc server and all, & realized there's no way to input text.
Anyone know if there's any possible way to be able to use the d3 keyboard while in chroot (other than in terminal of course) ?
*edit*
Seems to be working now...
The simple ways pls?
Sent from my GT-P1000 using xda premium
i have suffered a lot in this prob. use of this application seems easiest to me.
good luck
You can automount your SD card with this :
Create a file in /sdcard named emmc.sh
Paste the code :
Code:
busybox mount -t vfat -o rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020 /dev/block/mmcblk1p1 /sdcard/emmc
And you can autolaunch the script at start with script manager (the script must be root and boot)
Reboot the tab and enjoy
create emmc.sh on sdcard
open emmc.sh
copy thus command busybox mount -t vfat -o rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020 /dev/block/mmcblk1p1 /sdcard/emmc
to emmc .sh
save it
open script manager.. you can download on playstore
choose emmc.sh
klik boot,, then run it.,
done
Sent from my Galaxy Tab (CM10) using xda Premium
boot into recovery, mount emmc
It won't work guys I try all of your post...huhuhu
Sent from my GT-P1000 using xda premium
marvz098 said:
It won't work guys I try all of your post...huhuhu
Sent from my GT-P1000 using xda premium
Click to expand...
Click to collapse
step by step guide..follow it to the core....
1. create a folder inside sdcard directory and name it emmc.
2. i've attached my emmc.sh file to this post in a zip format(extract the zip to get the emmc.sh script file)...copy it to the sdcard directory(do not copy it to the root of your directory..it doesn't work then)...
3.then install "script manager-smanager" from playstore.....you can search for script manager in playstore.....you will get to it...
4.open smanager and you can see a dialog box popping up....click on "browse for root" and allow permissions.........go to the sdcard directory and click on the emmc.sh file>>>click on script/executable>>>the things that i mention now must be activated....
1.Su(android skull sign)
2.boot
3.Is script
and then click on save and voila it's done!!!
now reboot for changes to take effect
Will this work on t989 as well?
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
if your T989 has cm10 that has exactly the same issue of not mounting emmc,
and the emmc is located at /dev/block/mmcblk1p1
then l would say yes.
EDIT: but if your T989 has kernel that does not even see the emmc, then no.
exec sh '/storage/sdcard0/emmc.sh'
[email protected]:/ # exec sh '/storage/sdcard0/emmc.sh'
mount: mounting /dev/block/mmcblk1p1 on /sdcard/emmc failed: No such file or directory
Is this correct.failed to read
Sent from my GT-P1000 using xda premium
marvz098 said:
exec sh '/storage/sdcard0/emmc.sh'
[email protected]:/ # exec sh '/storage/sdcard0/emmc.sh'
mount: mounting /dev/block/mmcblk1p1 on /sdcard/emmc failed: No such file or directory
Is this correct.failed to read
Sent from my GT-P1000 using xda premium
Click to expand...
Click to collapse
if that didn't work.......try this
edit emmc.sh
remove p1 from mmcblk1p1....
mmcblk1p1 should now be mmcblk1.....
this should definetely work
Read this thread
http://forum.xda-developers.com/showthread.php?t=1804573
Sent from my GT-P1000 using xda premium
thanks
I want to bind some folders from the internal sdcard to the external. But something doesn't work.
from command line, works flawless,
Code:
$ su
# mount -o bind /storage/ExtSdCard/Music /storage/sdcard0/Music
but when I try to put the line above in a script
script.sh:
Code:
mount -o bind /storage/ExtSdCard/Music /storage/sdcard0/Music
Result:
mount: No such file or directory
I don't know what I'm missing , any idea?
-》 GT-I8190 -》 Tapatalk 2
Sv: Directory bind problem
I'm using the app directory bind, and works fine like this. /sdcard/
Sent thru time and space from my s3mini.