Hi everyone,
I have the famous problem described here http://forum.xda-developers.com/showthread.php?t=1253036
So I'm trying to repair my internal sd card with these
Code:
adb shell
mount /sdcard
su
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
quit
With "mount /sdcard" I got "can't find /sdcard in /etc/fstab"
With "su" I got "Permission denied"
With "parted /dev/block/mmcblk0" I got "parted: not found"
I have flashed a JVP ROM with speedmodkernel and CWM v2.5.1
Help Please!!
Do you have a terminal program on your phone? Maybe you can try to connect to localhost and try from there.
Because of the Permission denied message: your phone is rooted?
g00fy64 said:
Do you have a terminal program on your phone? Maybe you can try to connect to localhost and try from there.
Because of the Permission denied message: your phone is rooted?
Click to expand...
Click to collapse
I don't have a terminal program on my phone because I have a boot loop issue, so I can only get to download and recovery mode.
From CWM v2.5.1 I've done "Advanced SpeedMod Features" --> "ROOT / Install Superuser" --> "Simple: install busybox+su" so I think my phone is rooted
Related
Hello folks, i have a quick question... i have cyan mod 4.1.99 installed on my phone which im sure comes equipped with busybox. I am trying to find the commands that i would type into terminal emulator to push .apk files without having to use adb.. my pc went up and all i have is my g1 phone now. Is it possible to do what adb does like install, push, and pull files through terminal emulator and busybox? If so what are the commands, or is there a thread with a list of commands? Thanks in advance
to install an app
busybox install <path to apk>
there may be an arguement im missing.....but it should still work (if you put in a random argument or do -h or -help, it should give you the lists. i dont remember what they are though)
for moving files, use the mv and cp commands (mv = move, cp = copy paste)
ie
cp /sdcard/app/heroled.apk /system/sd/app
Click to expand...
Click to collapse
Im trying to copy a file to system/app/ but it says " read only file system"
So i type in a command i found " mount -o rw, remount -t yaffs2 /dev/black/mtdblock3 /system"
But then after i put in the command it stills says read only. Is there a non pc method to remount the system as read/write ? Or should that code work? Another thread said it should change the system
Im trying to copy a file to system/app/ but it says " read only file system"
So i type in a command i found " mount -o rw, remount -t yaffs2 /dev/black/mtdblock3 /system"
But then after i put in the command it stills says read only. Is there a non pc method to remount the system as read/write ? Or should that code work? Another thread said it should change the system
bbbblack said:
Im trying to copy a file to system/app/ but it says " read only file system"
So i type in a command i found " mount -o rw, remount -t yaffs2 /dev/black/mtdblock3 /system"
But then after i put in the command it stills says read only. Is there a non pc method to remount the system as read/write ? Or should that code work? Another thread said it should change the system
Click to expand...
Click to collapse
its block, not black
that should mount as rw
Hi everyone,
I'm using a mac, trying to flash a new recovery image, more specifically the darchstar/godspeed recovery image: http://forum.xda-developers.com/showthread.php?t=672324
I've got the recovery image on the SD Card (not in any folders...right on the top level)
When I issue the flash_image recovery /sdcard/Darchstar-OC-recovery-r2.img command, it's not doing anything.
I've tried issuing it from Terminal on my mac, and using a the android terminal application.
Thanks in advance for any help!
do it with terminal emulator on the actual phone. That's what I usually do
su
flash_image recovery /sdcard/XXXXX.img
adb shell
#flash-blah blah blah.
I am trying to do this as well and when i type su into the command line it tells me permission denied. What am I doing wrong?
silentpanda said:
I am trying to do this as well and when i type su into the command line it tells me permission denied. What am I doing wrong?
Click to expand...
Click to collapse
On terminal emulator your forgetting to type su doing so will give terminal emulator root access. SuperUser Permissions will pop up and ask if its ok click allow.
Try..
Adb remount
adb shell
cd /sdcard
flash_image recovery Darchstar-OC-recovery-r2.img
Hi,
I cannot copy update.zip to my device using adb.
from my comman prompt:
C:\asdk\tools>adb devices
List of devices attached
9000b0c52740 device
=> connected
C:\asdk\tools>adb push root.zip /sdcard/update.zip
failed to copy 'root.zip' to '/sdcard/update.zip': Permission denied
=> the problem
C:\asdk\tools>adb shell
$ su
su
# ^C
=> popup on phone, access granted
C:\asdk\tools>adb push root.zip /sdcard/update.zip
failed to copy 'root.zip' to '/sdcard/update.zip': Permission denied
=> nothing changed
I have JM5, SamSet 1.9d. Busybox installer is installed.
busybox installer says that phone is rooted, but when I try to install busybox it says error. nand is not unlocked or remount is not possible.
If I use windows explorer I can copy an update.zip to /sdcard but then recovery mode says "cannot open".
What wrong?
How can this be fixed?
Thanks in advance
HolyFreak
I have searched but haven't been able to find a solution to my problem.
I am on the latest CM9 nightly and I have installed ADB on my Windows 7 64bit computer and it seems to be working but when I try and use the 'push' command, I get this "C:\android-sdk-windows\platform-tools>adb push Trebuchet.apk /system/app
failed to copy 'Trebuchet.apk' to '/system/app/Trebuchet.apk' : Read-only file system"
I have tried the 'Remount' command, but that just throws back "Remount failed: Operation not permitted"
Any help is much appreciated.
You need to change permissions on the system folder
C:\android-sdk-windows\platform-tools>adb remount
then
C:\android-sdk-windows\platform-tools>adb push Trebuchet.apk /system/app
Didn't see that you had tried this !!
if you have root explorer or such navigate to system directory and change permissions to r/w...
otherwise...
adb shell
su
#mount -o rw,remount /dev/block/mtdblock3
Thank you for the help, however it still isn't working. I used the commands;
adb shell
su
#mount -o rw,remount /dev/block/mtdblock3
and it didn't throw me an error, but then when I tried to push the Trebuchet.apk it says the say as before. "failed to copy 'Trebuchet.apk' to '/system/app/Trebuchet.apk' : Read-only file system" "
Try
adb root
It could also be your version of busybox...
running out of ideas but one more...
Actually try this reboot into recovery (I presume you have some type installed), if you have an option to 'mount system' select it and then push the file...
Sent using my fingers and some technology from my HD2
Thank for your help! In the end it was my bad.
I didn't realise that on CM9 nightlies you have to go to Settings > Developer Options > Root Access > Apps and ADB.
Bling
I've lost sdcard after connection to PC with alert "No external storage available".
I have "Permission denied" in root shell when trying "cat > /storage/sdcard0/123.txt"
"Unable to mount sdc" in TWRP.
Finally I reformatted sdcard with latest busybox:
busybox mkfs.vfat /dev/block/mmcblk0p26
but now I have garbage in TWRP log and again "Unable to mount sdc"
in a root shell:
cat > /storage/sdcard0/123.txt
/system/bin/sh: can't create /storage/sdcard0/123.txt: I/O error
sdcard -f
cannot mount fuse filesystem (22)
(I'm not sure what is sdcard command but it has nice option -f fix up file system before starting)
OS: CM10.
Stock ROM not starting at all.
So I'm sure the problem is wrong formatting partition. Maybe someone knows i957 right data for correct partition?
Solved.
Odin stock.
Then flash TWRP.
Then I can access sdcard from adb in TWRP:
/dev/block/mmcblk0p26
13499512 1729408 11770104 13% /sdcard
but still error in TWRP wipe storage menu.(!!!)
Then upload CM10
./adb push ~/android/i957/cm10_p5att_nrvate_testrelease7.zip /sdcard/
2954 KB/s (156512846 bytes in 51.724s)
Flash&reboot.
Odin is your friend
God promised men that he'd put beautiful women in all corners of the world. Then he laughed and laughed and made the world round