I have running a desire s with runndroid by the pvteam. I flashed it about a week ago.
This morning I found my phone locked up, It would not become active. I pulled the battery and attempted to reboot. it now just sits on the initial flash screen.
after a lot of mucking about in EXT4 recovery, I feel my problem is that hte system not mounting /data /system and /cache... it just won mount because when I attempt to mount in the recovery I just get an error.. in abd shell.... I get:
# mount -a
mount: mounting /dev/block/mmcblk0p27 on /cache failed: Invalid argument
mount: mounting /dev/block/mmcblk0p26 on /data failed: Invalid argument
mount: mounting /dev/block/mmcblk0p25 on /system failed: Invalid argument
I have formatted, I have repartitioned and I have reflashed my room. It wont boot, these wont mount.
any ideas?
ah, I just had a brain wave...
#dmesg in the shell.... . I have lots of IO errors:
<3>[ 1660.224365] end_request: I/O error, dev mmcblk0, sector 1384779
<3>[ 1660.224456] end_request: I/O error, dev mmcblk0, sector 1384780
<3>[ 1660.224639] end_request: I/O error, dev mmcblk0, sector 1384781
<3>[ 1660.224761] end_request: I/O error, dev mmcblk0, sector 1384782
<3>[ 1660.224945] end_request: I/O error, dev mmcblk0, sector 1384783
the phone is bricked I assume? the internal NAN has failed?
ye, everytime I attempt to mount I get the following:
<3>[ 2225.836029] mmc0: DMA channel flushed (0x80000004)
<3>[ 2225.836425] Flush data: 0000c003 0bb03000 00000000 00400040 00100010 00000003
<6>[ 2225.837127] mmc0: Controller has been reset
<6>[ 2225.837585] mmc0: Worked around bug 1535304
<3>[ 2225.838256] mmcblk0: error -110 sending read command, response 0x40ff8080
<4>[ 2225.838653] mmcblk0: retrying using single block read
<3>[ 2225.840332] mmc0: DMA channel flushed (0x80000004)
<3>[ 2225.840698] Flush data: 0000c003 0bb03000 00000000 00400040 00080008 00000003
<6>[ 2225.841430] mmc0: Controller has been reset
<6>[ 2225.841857] mmc0: Worked around bug 1535304
<3>[ 2225.848571] mmcblk0: error -110 sending status comand
<3>[ 2225.848937] mmcblk0: error -110 sending read/write command, response 0x0, card status 0x0
<3>[ 2225.849945] mmcblk0: error -5 transferring data, sector 1343490, nr 2, card status 0x0
<6>[ 2225.850585] mmc0: reinit card
<4>[ 2225.850952] mmc0: Starting deferred resume
<6>[ 2228.035705] mmc0: Deferred resume failed
<3>[ 2228.035827] end_request: I/O error, dev mmcblk0, sector 1343490
<3>[ 2228.036041] EXT3-fs (mmcblk0p26): error: unable to read superblock
<3>[ 2228.036560] mmc_blk_issue_rq failed!!
<3>[ 2228.037750] mmc0: DMA channel flushed (0x80000004)
<3>[ 2228.037841] Flush data: 0000c003 0bb03000 00000000 00400040 00100010 00000003
<6>[ 2228.038116] mmc0: Controller has been reset
<6>[ 2228.038299] mmc0: Worked around bug 1535304
<3>[ 2228.038482] mmcblk0: error -110 sending read command, response 0x40ff8080
<4>[ 2228.038604] mmcblk0: retrying using single block read
<3>[ 2228.039764] mmc0: DMA channel flushed (0x80000004)
<3>[ 2228.039855] Flush data: 0000c003 0bb03000 00000000 00400040 00080008 00000003
<6>[ 2228.040130] mmc0: Controller has been reset
<6>[ 2228.040283] mmc0: Worked around bug 1535304
<3>[ 2228.046295] mmcblk0: error -110 sending status comand
<3>[ 2228.046478] mmcblk0: error -110 sending read/write command, response 0x0, card status 0x0
<3>[ 2228.046752] mmcblk0: error -5 transferring data, sector 1343490, nr 2, card status 0x0
<6>[ 2228.046844] mmc0: reinit card
<4>[ 2228.047027] mmc0: Starting deferred resume
<6>[ 2230.288024] mmc0: Deferred resume failed
<3>[ 2230.288421] end_request: I/O error, dev mmcblk0, sector 1343490
<3>[ 2230.289123] EXT2-fs (mmcblk0p26): error: unable to read superblock
<3>[ 2230.290466] mmc_blk_issue_rq failed!!
<3>[ 2230.292266] mmc0: DMA channel flushed (0x80000004)
<3>[ 2230.292633] Flush data: 0000c003 0bb03000 00000000 00400040 00100010 00000003
<6>[ 2230.293365] mmc0: Controller has been reset
<6>[ 2230.293792] mmc0: Worked around bug 1535304
<3>[ 2230.294494] mmcblk0: error -110 sending read command, response 0x40ff8080
<4>[ 2230.294860] mmcblk0: retrying using single block read
<3>[ 2230.296569] mmc0: DMA channel flushed (0x80000004)
<3>[ 2230.296936] Flush data: 0000c003 0bb03000 00000000 00400040 00080008 00000003
<6>[ 2230.297668] mmc0: Controller has been reset
<6>[ 2230.298095] mmc0: Worked around bug 1535304
<3>[ 2230.304412] mmcblk0: error -110 sending status comand
<3>[ 2230.305084] mmcblk0: error -110 sending read/write command, response 0x0, card status 0x0
<3>[ 2230.306060] mmcblk0: error -5 transferring data, sector 1343490, nr 2, card status 0x0
<6>[ 2230.306457] mmc0: reinit card
<4>[ 2230.306793] mmc0: Starting deferred resume
<6>[ 2232.540161] mmc0: Deferred resume failed
<3>[ 2232.540283] end_request: I/O error, dev mmcblk0, sector 1343490
<3>[ 2232.540496] EXT4-fs (mmcblk0p26): unable to read superblock
<3>[ 2232.540954] mmc_blk_issue_rq failed!!
<3>[ 2232.542236] mmc0: DMA channel flushed (0x80000004)
<3>[ 2232.542327] Flush data: 0000c003 0bb03000 00000000 00400040 00080008 00000003
<6>[ 2232.542602] mmc0: Controller has been reset
<6>[ 2232.542755] mmc0: Worked around bug 1535304
<3>[ 2232.548767] mmcblk0: error -110 sending status comand
<3>[ 2232.548950] mmcblk0: error -110 sending read/write command, response 0x40ff8080, card status 0x0
<3>[ 2232.549255] mmcblk0: error -5 transferring data, sector 1343488, nr 1, card status 0x0
<6>[ 2232.549346] mmc0: reinit card
<4>[ 2232.549438] mmc0: Starting deferred resume
<6>[ 2234.632263] mmc0: Deferred resume failed
<3>[ 2234.632629] end_request: I/O error, dev mmcblk0, sector 1343488
<3>[ 2234.633361] FAT: unable to read boot sector
<3>[ 2234.635650] mmc_blk_issue_rq failed!!
Unfortunately it looks like your right, I'm just wondering why you still can access recovery, to be sure pls make a reboot to recovery and straight afterwards execute dmesg | grep mmc0.
You can try to replace your bootloader and check if it works, even take a look at the index, at the bottom is a thread named read this before going to replace emmc chip.
And pls tell what bootloader you're using.
Swyped from my Desire S far away from my PC (maybe)
# dmesg | grep mmc0
<3>[ 7.411163] mmc0: No card detect facilities available
<6>[ 7.411682] mmc0: Qualcomm MSM SDCC at 0x00000000a0500000 irq 98,0 dma 7
<6>[ 7.411926] mmc0: Platform slot type: MMC
<6>[ 7.412048] mmc0: 4 bit data mode disabled
<6>[ 7.412292] mmc0: 8 bit data mode enabled
<6>[ 7.412414] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 96000000 Hz
<6>[ 7.412658] mmc0: Slot eject status = 0
<6>[ 7.412780] mmc0: Power save feature enable = 1
<6>[ 7.412902] mmc0: DM non-cached buffer at ffa0f000, dma_addr 0x0c250000
<6>[ 7.413146] mmc0: DM cmd busaddr 0x0c250000, cmdptr busaddr 0x0c250300
<6>[ 7.566467] mmc0: new high speed MMC card at address 0001
<6>[ 7.567840] mmcblk0: mmc0:0001 M4G2DE 2.10 GiB
<3>[ 67.214080] mmc0: Failed to get card ready i = 122482
<6>[ 67.214263] mmc0: reinit card
<4>[ 67.214355] mmc0: Starting deferred resume
<6>[ 69.626434] mmc0: Deferred resume failed
is the dmesg output.... asi you can see....... can not mount it.. .:\
and as your post says"
http://forum.xda-developers.com/showthread.php?t=1284196
mmc0: failed to get card ready
mmc0: reinit card
mmc0: Starting deferred resume
mmc0: Deferred resume failed
Than you internal memory (eMMC) is corrupted i.e. your chip is "fried". This is a hardware issue (reference here) and the chip has to be replaced. Sorry, no other solutions available.
thanks for your help!
Sry, missed it at the op, but this will always stay a riddle to me.
How the hell is it possible to access a recovery located on mmc0 without a working mmc0, anyways.
There is a thread introducing a replacement emmc confirmed working out of the box, if you like to repair it yourself and save a lot of money
Swyped from my Desire S far away from my PC (maybe)
Tectas said:
Sry, missed it at the op, but this will always stay a riddle to me.
How the hell is it possible to access a recovery located on mmc0 without a working mmc0, anyways.
There is a thread introducing a replacement emmc confirmed working out of the box, if you like to repair it yourself and save a lot of money
Swyped from my Desire S far away from my PC (maybe)
Click to expand...
Click to collapse
yeah, you got me!
um, do you have a link to that mentioned thread? I will at the worst have a look at replacing it....
http://forum.xda-developers.com/showthread.php?t=1543310
Swyped from my Desire S far away from my PC (maybe)
But found something additional, maybe you're willing to try because you got nothing to lose^^
The only thing a bit tricky could be to find the right backup location of the superblock.
How to restore superblock http://linuxpoison.blogspot.com/2007/10/how-to-recover-damaged-superblock.html?m=1
Edit: Here is how to find the backup locations of the superblock http://www.cyberciti.biz/faq/recover-bad-superblock-from-corrupted-partition/
Swyped from my Desire S far away from my PC (maybe)
Hi everbody,
Yesterday I received two Transcend 8GB microSDHC cards (Class 4, TS8GUSDHC4) and I wanted to use them with my rooted EEE pad transformer. I've formatted the card using fdisk (with fat32, "c" in fdisk). Then, I copied a jpg to the SD card, but my tablet couldn't open it.
I've checked /Removable but it was empty. I went into the adb shell as root. "dmesg" gave me the following:
Code:
<6>[ 4545.116710] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.117412] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.117802] [mmc]:carddetect_irq:272 mmc1: gpio_69:1
<6>[ 4545.118197] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:1
<6>[ 4545.118870] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.138425] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.139115] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:0
<6>[ 4545.139476] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.142621] [mmc]:carddetect_irq:272 mmc1: gpio_69:1
<6>[ 4545.142997] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:1
<6>[ 4545.143644] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.281748] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.282439] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:0
<6>[ 4545.282814] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.288602] [mmc]:carddetect_irq:272 mmc1: gpio_69:1
<6>[ 4545.289014] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:1
<6>[ 4545.290014] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.292451] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.292846] [mmc]:carddetect_irq:272 mmc1: gpio_69:1
<6>[ 4545.293509] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.293896] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:0
<6>[ 4545.294568] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.294955] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.295618] [mmc]:carddetect_irq:272 mmc1: gpio_69:1
<6>[ 4545.296006] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:1
<6>[ 4545.296677] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.298838] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.299529] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:0
<6>[ 4545.299896] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.304242] [mmc]:carddetect_irq:272 mmc1: gpio_69:0
<6>[ 4545.304627] [mmc]:carddetect_irq:272 mmc1: gpio_69:1
<6>[ 4545.305003] [mmc]:mmc_detect_change:1368 mmc1: gpio_69:1
<6>[ 4545.305677] [mmc]:mmc_schedule_delayed_work:84 mmc1: delay 20
<6>[ 4545.327467] [mmc]:mmc_rescan:1786 mmc1: gpio_69:1 rescan_disable 0
<6>[ 4545.482018] [mmc]:mmc_rescan:1868 mmc1: extend_wakelock 1
Not sure what is happening here, but no device seems to be mounted. With the card inserted, I also ran "df ":
Code:
Filesystem Size Used Free Blksize
/dev 360M 32K 360M 4096
/mnt/asec 360M 0K 360M 4096
/mnt/obb 360M 0K 360M 4096
/system 503M 459M 44M 4096
/data 13G 7G 5G 4096
/cache 521M 22M 498M 4096
/Removable 360M 0K 360M 4096
/mnt/sdcard 13G 7G 5G 4096
And "mount":
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p1 /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /data ext4 rw,nosuid,nodev,noatime,nodiratime,errors=panic,user_xattr,acl,barrier=1,nodelalloc,data=ordered 0 0
/dev/block/mmcblk0p2 /cache ext4 rw,nosuid,nodev,noatime,nodiratime,errors=panic,user_xattr,acl,barrier=1,nodelalloc,data=ordered 0 0
tmpfs /Removable tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
Can somebody help me getting my SD card to work? Is this card simply not compatible or is something else wrong?
I've searched the forums, but I couldn't find the answer anywhere.
Thanks a bunch!
May be try that MMC in some other device like a phone...
Sent from my Transformer TF101 using xda app-developers app
udupa82 said:
May be try that MMC in some other device like a phone...
Sent from my Transformer TF101 using xda app-developers app
Click to expand...
Click to collapse
Aah.. this is so stupid.
I don't have any experience with SD cards so far. So I thought it would be OK if it was partially sticking out. After all you need to be able to pull it out. But apparently one should insert it fully into the tablet.
chronozphere said:
Aah.. this is so stupid.
I don't have any experience with SD cards so far. So I thought it would be OK if it was partially sticking out. After all you need to be able to pull it out. But apparently one should insert it fully into the tablet.
Click to expand...
Click to collapse
Thanks, I needed a good laugh
Everyone starts some-where, MicroSDHC cards are evil in that respect
I have the sameproblem...icant mount sd card...howto
Enviado desde mi Transformer TF101 usando Tapatalk 2
chronozphere said:
Aah.. this is so stupid.
I don't have any experience with SD cards so far. So I thought it would be OK if it was partially sticking out. After all you need to be able to pull it out. But apparently one should insert it fully into the tablet.
Click to expand...
Click to collapse
I used to think the SD card reader on my laptop was poorly designed as i needed tweezers to pull out the card, then one day i pushed it in and it clicked then the thing flew out, good times :laugh:
Hello Guys,
I was very disappointed as I saw that in stickmount the mounting in 4.2 was fixed, and no solution can be found, how that was done.
I found the "magic" which chainfire uses.
Well, as we all should know, we can mount with adb and all apps can access the files.
If you mount as root WITHOUT adb, for example in an terminal, the Terminal-App can access the files, but no another app.
So I explored a bit Stickmount and also installed a rootlogger app. First I thought, it has something to do with the permissions or where it is mountend.
Then I found it. (For the germans: "Ich bin aus allen Wolken gefallen" )
The magic all behind that is, to start a "system service" which android knows.
Stickmount writes the shell-commands in "/system/bin/debuggerd" and runs the shell-file with "start debuggerd"
The "start" and "stop" operates a bit higher in the levels then other apps.. (like adb) so they can mount the devices for all apps.
This also works for cifs. I tested it on my Nexus 7.
I am open-mindend for any questions and hope some mounting-applications that stopped working with android 4.2 can be fixed now.
Best regards
vorcers
PS: I didn't found any information about this, so I started this thread. Please correct me, If I am wrong.
PPS: Sorry for my bad english.
EDIT:
The main mistake is, that with the debuggerd method, it is really really necessary to mount within /data/media/0. NOT within /storage!! Otherwise only the current opened app can see the files!
That's great news, vorcers! I hope, that cifsmanager gets updated asap! Maybe you should direct the attention of the developer to this solution of the problem.
Greetings, Hugo
Hm I looked a bit into the cifs manager... This app wasn't updated since over one year. Maybe the developer isn't active anymore.
I also think about something like a universalmounter.. With the otg things and cifs and NFS. Maybe also sshfs? But I can't compile the NFS and cifs modules for all devices. This need to be done by the owners... I could this only do for the nexus 7 and galaxy nexus. (Maybe for i9001 with ivendor's jelly bean)
vorcers,
thanks for this information. But what do you mean by 'Stickmount writes the shell-commands in "/system/bin/debuggerd"' ?
/system/bin/debuggerd seems to be a binary file. How can we write shell commands in it ?
Thanks.
mrmrmrmr said:
vorcers,
thanks for this information. But what do you mean by 'Stickmount writes the shell-commands in "/system/bin/debuggerd"' ?
/system/bin/debuggerd seems to be a binary file. How can we write shell commands in it ?
Thanks.
Click to expand...
Click to collapse
anybody who could comment on that ?
thanks.
I wish i could make mount work on Cryptonite on Cm 10.1. Facing same mount problem right now.
if only Vorcers could see my question...
I bet he has the answer
I saw your post.
mrmrmrmr said:
if only Vorcers could see my question...
I bet he has the answer
Click to expand...
Click to collapse
I already posted a further explanation in another Thread. (Link)
I post it here again. I hope this helps you.
vorcers said:
(For germans: "Bitte nagelt mich nicht darauf fest" (Auf die Informationen) Sorry, I don't know the english phrase for this...)
The "debuggerd" is an "debugger daemon". It can be started with "start debuggerd" and stopped with "stop debuggerd". I think errors at excecution are posted in dmesg or logcat.
The main thought behind this, that the debuggerd is started by "start" with higher privileges even then our normal su. (Or it does mount something, I don't know) So, if you backup the original /system/bin/debuggerd and write your own commands into that file and start it via "start debuggerd" these commands are executed with these "high privileges". For example, if you write these content in debuggerd and start it, the share should be available for all apps. (Well, only if "others" have r (? wx ?) permissions on server...)
/system/bin/debuggerd
Code:
#!/bin/sh
busybox mount -t cifs //server/share /mnt/sdcard/mnt -o username=max,password=mustermann)
You can also mount devices with this method...
Well, you can't use this with the manager, because the manager needs to be changed to support this.
I hope this helps you.
Click to expand...
Click to collapse
Hi Vorcers,
Thanks for your reply. I justtried this but couldn't succeed.
I have a copy of the /syste/bin/debuggerd, and I have the commands I'd like to start with "start debuggerd" in a file named /system/bin/debuggered.mount.
Then I have a Gscript script which calls the "start debuggerd" command.
/system/bin/debuggerd:
Code:
#!/bin/sh
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/data/com.gameloft.android.ANMP.GloftN3HM
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.GAND.GloftKRHP /sdcard/Android/data/com.gameloft.android.GAND.GloftKRHP
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.ea.games.nfs13_na /sdcard/Android/data/com.ea.games.nfs13_na
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.rockstar.gta3 /sdcard/Android/data/com.rockstar.gta3
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftA7HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftA7HM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftKRHM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftKRHM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftN3HM
busybox mount -o bind /storage/usbdisk/N7/gameloft /sdcard/gameloft
Gscript script:
Code:
busybox mount -o remount -w /system
cp /system/bin/debuggerd /system/bin/debuggerd.ydk
cp /system/bin/debuggerd.mount /system/bin/debuggerd
start debuggerd
stop debuggerd
cp /system/bin/debuggerd.ydk /system/bin/debuggerd
busybox mount -o remount -r /system
I don't know where my mistake is. I also couldn't find a way to diagnose.
Could you please let me know how I can fix ?
Could it be that debuggerd cannot be copied over (overwritten)? Have you tried mv instead of cp?
Edit: nevermind. Tried all that with mv instead of cp in the terminal emulator, and got nowhere as well. Sorry.
mrmrmrmr said:
[snip]
Click to expand...
Click to collapse
Can you provide the "dmesg" output after you tried this?
And also, it shouldn't have any effect, but leave out the stop command?
I suggest to run this:
Code:
busybox mount -o remount -w /system
cp /system/bin/debuggerd /system/bin/debuggerd.ydk
cp /system/bin/debuggerd.mount /system/bin/debuggerd
start debuggerd
By hand and write the dmesg output after the start command here. I am testing such things with an sshd server... It is the easiest. I use this server: https://play.google.com/store/apps/details?id=me.shkschneider.dropbearserver2
Ok; did as advised through the SSH server:
Code:
130|[email protected]:/system/bin # busybox mount -o remount -w /system
[email protected]:/system/bin # cp /system/bin/debuggerd /system/bin/debuggerd.ydk
[email protected]:/system/bin # cp /system/bin/debuggerd.mount /system/bin/debuggerd
[email protected]:/system/bin # start debuggerd
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin # cat debuggerd
#!/bin/sh
mount
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/data/com.gameloft.android.ANMP.GloftN3HM
mount
sleep 1
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.GAND.GloftKRHP /sdcard/Android/data/com.gameloft.android.GAND.GloftKRHP
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.ea.games.nfs13_na /sdcard/Android/data/com.ea.games.nfs13_na
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.rockstar.gta3 /sdcard/Android/data/com.rockstar.gta3
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftA7HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftA7HM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftKRHM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftKRHM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftN3HM
busybox mount -o bind /storage/usbdisk/N7/gameloft /sdcard/gameloft
[email protected]:/system/bin #
[email protected]:/system/bin #
dmesg:
Code:
[ 308.593540] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 308.593739] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 308.593849] usb usb2: Product: Tegra EHCI Host Controller
[ 308.594041] usb usb2: Manufacturer: Linux 3.1.10-faux123-grouper-00895-ga842db8 ehci_hcd
[ 308.594148] usb usb2: SerialNumber: tegra-ehci.0
[ 308.595469] hub 2-0:1.0: USB hub found
[ 308.595600] hub 2-0:1.0: 1 port detected
[ 308.596199] Wake39 for irq=52
[ 308.596393] Enabling wake39
[ 309.693303] usb 2-1: new high speed USB device number 2 using tegra-ehci
[ 309.728447] usb 2-1: New USB device found, idVendor=05e3, idProduct=0736
[ 309.728588] usb 2-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[ 309.728813] usb 2-1: Product: USB Storage
[ 309.728937] usb 2-1: Manufacturer: Generic
[ 309.729060] usb 2-1: SerialNumber: 000000000272
[ 309.731639] scsi0 : usb-storage 2-1:1.0
[ 309.826667] tegra_dvfs: voltage 1200 too high for dvfs on cpu_g
[ 309.826871] cpu-tegra: Failed to set cpu frequency to 1400000 kHz
[ 310.003278] INOK=L
[ 310.003630] smb347_charger: [cable_type_detect] Reg39 : 0x10
[ 310.004045] smb347_charger: [cable_type_detect] Reg3F : 0x81
[ 310.004383] smb347_charger: [cable_type_detect] Reg3E : 0x0e
[ 310.004572] Cable: SDP2 host mode charging
[ 310.004674] ========================================================
[ 310.004860] battery_callback usb_cable_state = 1
[ 310.004961] ========================================================
[ 310.005146] battery_callback cable_wake_lock 5 sec...
[ 310.005152]
[ 310.005376] elan-ktf3k 1-0010: Update power source to 1
[ 310.008230] bq27541_get_capacity = 29% ret= 33
[ 310.009171] bq27541_get_psp voltage_now= 3729000 uV
[ 310.010174] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 310.011209] bq27541_get_psp status: Charging ret= 0x0181
[ 310.735079] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 0272 PQ: 0 ANSI: 0
[ 310.736076] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 310.894390] sd 0:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[ 310.895868] sd 0:0:0:0: [sda] Write Protect is off
[ 310.895985] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[ 310.897500] sd 0:0:0:0: [sda] No Caching mode page present
[ 310.897695] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 310.903110] sd 0:0:0:0: [sda] No Caching mode page present
[ 310.903351] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 310.917896] sda: sda1
[ 310.923288] sd 0:0:0:0: [sda] No Caching mode page present
[ 310.923404] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 310.923593] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 312.004076] bq27541_get_psp status: Charging ret= 0x0181
[ 312.004985] bq27541_get_psp voltage_now= 3750000 uV
[ 312.006516] bq27541_get_capacity = 29% ret= 33
[ 312.007374] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 312.011419] bq27541_get_capacity = 29% ret= 33
[ 312.012459] bq27541_get_psp voltage_now= 3750000 uV
[ 312.013534] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 312.014422] bq27541_get_psp status: Charging ret= 0x0181
[ 312.044011] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 312.328237] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 313.501145] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 313.564481] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 314.555979] init: untracked pid 4652 exited
[ 314.789968] init: untracked pid 4654 exited
[ 314.912327] init: untracked pid 4708 exited
[ 315.138358] init: untracked pid 4711 exited
[ 344.523435] binder: 1069:2048 transaction failed 29189, size 4-0
[ 344.523555] binder: send failed reply for transaction 13169, target dead
[ 349.723016] request_suspend_state: sleep (0->3) at 349589817028 (2013-01-08 21:45:32.731926998 UTC)
[ 349.723293] early_suspend: call handlers
[ 349.742941] [ektf3k]:[elan] elan_ktf3k_ts_suspend: enter
[ 349.743631] stop_drawing_early_suspended
[ 349.752516] tegra_pwm tegra_pwm.0: pwm_disable called on disabled PWM
[ 349.752714] grouper_panel_early_suspended
[ 349.752814] al3010_early_suspend+
[ 349.753308] al3010_early_suspend-
[ 349.753494] early_suspend: sync
[ 349.764688] active wake lock PowerManagerService.Broadcasts
[ 349.764803] active wake lock PowerManagerService
[ 372.134247] bq27541_get_psp status: Charging ret= 0x0180
[ 372.135055] bq27541_get_psp voltage_now= 3766000 uV
[ 372.136648] bq27541_get_capacity = 29% ret= 33
[ 372.137436] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 372.140076] bq27541_get_capacity = 29% ret= 33
[ 372.141065] bq27541_get_psp voltage_now= 3766000 uV
[ 372.141954] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 372.142920] bq27541_get_psp status: Charging ret= 0x0180
[ 395.981736] EXT4-fs (mmcblk0p3): re-mounted. Opts: user_xattr,acl,barrier=1,data=ordered
[ 432.294143] bq27541_get_psp status: Charging ret= 0x0180
[ 432.294976] bq27541_get_psp voltage_now= 3773000 uV
[ 432.296615] bq27541_get_capacity = 30% ret= 34
[ 432.297434] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 432.300096] bq27541_get_capacity = 30% ret= 34
[ 432.301493] bq27541_get_psp voltage_now= 3773000 uV
[ 432.302449] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 432.303476] bq27541_get_psp status: Charging ret= 0x0180
[ 467.479418] EXT4-fs (mmcblk0p3): re-mounted. Opts: user_xattr,acl,barrier=1,data=ordered
[ 492.454200] bq27541_get_psp status: Charging ret= 0x0180
[ 492.455122] bq27541_get_psp voltage_now= 3774000 uV
[ 492.456667] bq27541_get_capacity = 30% ret= 34
[ 492.457485] bq27541_get_psp temperature= 290 (0.1¢XC)
[ 492.460269] bq27541_get_capacity = 30% ret= 34
[ 492.461210] bq27541_get_psp voltage_now= 3774000 uV
[ 492.462224] bq27541_get_psp temperature= 290 (0.1¢XC)
[ 492.463150] bq27541_get_psp status: Charging ret= 0x0180
final mount:
Code:
[email protected]:/system/bin # mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,relatime,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/dm-0 on /mnt/asec/com.gameloft.android.ANMP.GloftA7HM-2 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-1 on /mnt/asec/com.gameloft.android.ANMP.GloftN3HM-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/platform/sdhci-tegra.3/by-name/APP on /system type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /data type ext4 (rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,discard)
/dev/fuse on /mnt/shell/emulated type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
tmpfs on /storage/emulated type tmpfs (rw,nosuid,nodev,relatime,mode=050,gid=1028)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /cache type ext4 (rw,nosuid,nodev,noatime,nodiratime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,discard)
/dev/fuse on /storage/emulated/0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/0/Android/obb type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/legacy type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/legacy/Android/obb type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/sda1 on /data/media/0/usbStorage/sda1 type vfat (rw,nosuid,nodev,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/vold/8:1 on /storage/usbdisk type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
[email protected]:/system/bin #
what's wrong ?
---------- Post added at 11:52 PM ---------- Previous post was at 11:50 PM ----------
If I run the commands in "debuggerd" file on the shell (SSH server) ; I get them mounted correctly.
Is that gscript the APP in the play store? I will test if I can get it working with that.
mrmrmrmr said:
Ok; did as advised through the SSH server:
Code:
130|[email protected]:/system/bin # busybox mount -o remount -w /system
[email protected]:/system/bin # cp /system/bin/debuggerd /system/bin/debuggerd.ydk
[email protected]:/system/bin # cp /system/bin/debuggerd.mount /system/bin/debuggerd
[email protected]:/system/bin # start debuggerd
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin # cat debuggerd
#!/bin/sh
mount
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/data/com.gameloft.android.ANMP.GloftN3HM
mount
sleep 1
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.GAND.GloftKRHP /sdcard/Android/data/com.gameloft.android.GAND.GloftKRHP
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.ea.games.nfs13_na /sdcard/Android/data/com.ea.games.nfs13_na
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.rockstar.gta3 /sdcard/Android/data/com.rockstar.gta3
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftA7HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftA7HM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftKRHM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftKRHM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftN3HM
busybox mount -o bind /storage/usbdisk/N7/gameloft /sdcard/gameloft
[email protected]:/system/bin #
[email protected]:/system/bin #
dmesg:
Code:
[ 308.593540] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 308.593739] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 308.593849] usb usb2: Product: Tegra EHCI Host Controller
[ 308.594041] usb usb2: Manufacturer: Linux 3.1.10-faux123-grouper-00895-ga842db8 ehci_hcd
[ 308.594148] usb usb2: SerialNumber: tegra-ehci.0
[ 308.595469] hub 2-0:1.0: USB hub found
[ 308.595600] hub 2-0:1.0: 1 port detected
[ 308.596199] Wake39 for irq=52
[ 308.596393] Enabling wake39
[ 309.693303] usb 2-1: new high speed USB device number 2 using tegra-ehci
[ 309.728447] usb 2-1: New USB device found, idVendor=05e3, idProduct=0736
[ 309.728588] usb 2-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[ 309.728813] usb 2-1: Product: USB Storage
[ 309.728937] usb 2-1: Manufacturer: Generic
[ 309.729060] usb 2-1: SerialNumber: 000000000272
[ 309.731639] scsi0 : usb-storage 2-1:1.0
[ 309.826667] tegra_dvfs: voltage 1200 too high for dvfs on cpu_g
[ 309.826871] cpu-tegra: Failed to set cpu frequency to 1400000 kHz
[ 310.003278] INOK=L
[ 310.003630] smb347_charger: [cable_type_detect] Reg39 : 0x10
[ 310.004045] smb347_charger: [cable_type_detect] Reg3F : 0x81
[ 310.004383] smb347_charger: [cable_type_detect] Reg3E : 0x0e
[ 310.004572] Cable: SDP2 host mode charging
[ 310.004674] ========================================================
[ 310.004860] battery_callback usb_cable_state = 1
[ 310.004961] ========================================================
[ 310.005146] battery_callback cable_wake_lock 5 sec...
[ 310.005152]
[ 310.005376] elan-ktf3k 1-0010: Update power source to 1
[ 310.008230] bq27541_get_capacity = 29% ret= 33
[ 310.009171] bq27541_get_psp voltage_now= 3729000 uV
[ 310.010174] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 310.011209] bq27541_get_psp status: Charging ret= 0x0181
[ 310.735079] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 0272 PQ: 0 ANSI: 0
[ 310.736076] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 310.894390] sd 0:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[ 310.895868] sd 0:0:0:0: [sda] Write Protect is off
[ 310.895985] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[ 310.897500] sd 0:0:0:0: [sda] No Caching mode page present
[ 310.897695] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 310.903110] sd 0:0:0:0: [sda] No Caching mode page present
[ 310.903351] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 310.917896] sda: sda1
[ 310.923288] sd 0:0:0:0: [sda] No Caching mode page present
[ 310.923404] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 310.923593] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 312.004076] bq27541_get_psp status: Charging ret= 0x0181
[ 312.004985] bq27541_get_psp voltage_now= 3750000 uV
[ 312.006516] bq27541_get_capacity = 29% ret= 33
[ 312.007374] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 312.011419] bq27541_get_capacity = 29% ret= 33
[ 312.012459] bq27541_get_psp voltage_now= 3750000 uV
[ 312.013534] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 312.014422] bq27541_get_psp status: Charging ret= 0x0181
[ 312.044011] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 312.328237] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 313.501145] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 313.564481] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 314.555979] init: untracked pid 4652 exited
[ 314.789968] init: untracked pid 4654 exited
[ 314.912327] init: untracked pid 4708 exited
[ 315.138358] init: untracked pid 4711 exited
[ 344.523435] binder: 1069:2048 transaction failed 29189, size 4-0
[ 344.523555] binder: send failed reply for transaction 13169, target dead
[ 349.723016] request_suspend_state: sleep (0->3) at 349589817028 (2013-01-08 21:45:32.731926998 UTC)
[ 349.723293] early_suspend: call handlers
[ 349.742941] [ektf3k]:[elan] elan_ktf3k_ts_suspend: enter
[ 349.743631] stop_drawing_early_suspended
[ 349.752516] tegra_pwm tegra_pwm.0: pwm_disable called on disabled PWM
[ 349.752714] grouper_panel_early_suspended
[ 349.752814] al3010_early_suspend+
[ 349.753308] al3010_early_suspend-
[ 349.753494] early_suspend: sync
[ 349.764688] active wake lock PowerManagerService.Broadcasts
[ 349.764803] active wake lock PowerManagerService
[ 372.134247] bq27541_get_psp status: Charging ret= 0x0180
[ 372.135055] bq27541_get_psp voltage_now= 3766000 uV
[ 372.136648] bq27541_get_capacity = 29% ret= 33
[ 372.137436] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 372.140076] bq27541_get_capacity = 29% ret= 33
[ 372.141065] bq27541_get_psp voltage_now= 3766000 uV
[ 372.141954] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 372.142920] bq27541_get_psp status: Charging ret= 0x0180
[ 395.981736] EXT4-fs (mmcblk0p3): re-mounted. Opts: user_xattr,acl,barrier=1,data=ordered
[ 432.294143] bq27541_get_psp status: Charging ret= 0x0180
[ 432.294976] bq27541_get_psp voltage_now= 3773000 uV
[ 432.296615] bq27541_get_capacity = 30% ret= 34
[ 432.297434] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 432.300096] bq27541_get_capacity = 30% ret= 34
[ 432.301493] bq27541_get_psp voltage_now= 3773000 uV
[ 432.302449] bq27541_get_psp temperature= 280 (0.1¢XC)
[ 432.303476] bq27541_get_psp status: Charging ret= 0x0180
[ 467.479418] EXT4-fs (mmcblk0p3): re-mounted. Opts: user_xattr,acl,barrier=1,data=ordered
[ 492.454200] bq27541_get_psp status: Charging ret= 0x0180
[ 492.455122] bq27541_get_psp voltage_now= 3774000 uV
[ 492.456667] bq27541_get_capacity = 30% ret= 34
[ 492.457485] bq27541_get_psp temperature= 290 (0.1¢XC)
[ 492.460269] bq27541_get_capacity = 30% ret= 34
[ 492.461210] bq27541_get_psp voltage_now= 3774000 uV
[ 492.462224] bq27541_get_psp temperature= 290 (0.1¢XC)
[ 492.463150] bq27541_get_psp status: Charging ret= 0x0180
final mount:
Code:
[email protected]:/system/bin # mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,relatime,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/dm-0 on /mnt/asec/com.gameloft.android.ANMP.GloftA7HM-2 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-1 on /mnt/asec/com.gameloft.android.ANMP.GloftN3HM-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/platform/sdhci-tegra.3/by-name/APP on /system type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /data type ext4 (rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,discard)
/dev/fuse on /mnt/shell/emulated type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
tmpfs on /storage/emulated type tmpfs (rw,nosuid,nodev,relatime,mode=050,gid=1028)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /cache type ext4 (rw,nosuid,nodev,noatime,nodiratime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,discard)
/dev/fuse on /storage/emulated/0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/0/Android/obb type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/legacy type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/legacy/Android/obb type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/sda1 on /data/media/0/usbStorage/sda1 type vfat (rw,nosuid,nodev,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/vold/8:1 on /storage/usbdisk type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
[email protected]:/system/bin #
what's wrong ?
---------- Post added at 11:52 PM ---------- Previous post was at 11:50 PM ----------
If I run the commands in "debuggerd" file on the shell (SSH server) ; I get them mounted correctly.
Click to expand...
Click to collapse
I have tried also mounting a shared folder by using the start debuggerd and the code of debuggerd is the following:
Code:
#!/bin/sh
busybox mount -t cifs //192.168.1.66/share /sdcard/cifs/share -o username=USER,password=PASSWORD
but the mounted directory appears empty, while if I enter
Code:
busybox mount -t cifs //192.168.1.66/share /sdcard/cifs/share -o username=USER,password=PASSWORD
through the shell it mounts correctly...
I don't know what I'm doing wrong, I think I understood correctly what you said that we should do....
vorcers,
yes that's the app on the play store. but as you'll see in the above output, the mount doesn't work when I run "start debuggerd" on the shell as well.
so what's wrong ?
the usage of debuggerd ?
I am going back to SuSE Linux 7.2! This really worked!
@mrmrmrmr @tristaoeast,
You used "#!/bin/sh" it need to be "#!/system/bin/sh" ! There is no /bin in android
I also did the same mistake :victory:
-------------------
I tried around a bit and this feels like I am using Windows 98. This is no Linux anymore...
I need to run my mount and umount scripts three times till I finally see and read the content. Maybe you should also try it. If I am using the ssh server, everything works instantly. I don't know what the hell is going on. I am using SManager.
If someone is interested in, I am using this script...
/mnt/sdcard/scripte/mount_cifs.sh
Code:
#!/system/bin/sh
DEBUGGERD=/system/bin/debuggerd
PATHE=/mnt/sdcard/scripte
su -c "stop debuggerd"
#stop debuggerd
busybox mount -o remount rw /system
cp $DEBUGGERD $DEBUGGERD.bak
insmod $PATHE/md4.ko
insmod $PATHE/nls_utf8.ko
insmod $PATHE/cifs.ko
echo "#!/system/bin/sh" > $DEBUGGERD
echo "mkdir -p /mnt/sdcard/mnt/cifs" >> $DEBUGGERD
echo "busybox mount -t cifs //192.168.100.1/share /mnt/sdcard/mnt/cifs -o username=####,password=###,umask=555,uid=1023,gid=1023" >> $DEBUGGERD
busybox chmod 755 $DEBUGGERD
chown root:shell $DEBUGGERD
su -c "start debuggerd"
#start debuggerd
#####
mv $DEBUGGERD.bak $DEBUGGERD
busybox mount -o remount ro /system
mount
/mnt/sdcard/scripte/umount_cifs.sh
Code:
#!/system/bin/sh
DEBUGGERD=/system/bin/debuggerd
stop debuggerd
busybox mount -o remount rw /system
mv $DEBUGGERD $DEBUGGERD.bak
echo "#!/system/bin/sh" > $DEBUGGERD
echo "busybox umount /mnt/sdcard/mnt/cifs" >> $DEBUGGERD
busybox chmod 755 $DEBUGGERD
chown root:shell $DEBUGGERD
start debuggerd
#####
mv $DEBUGGERD.bak $DEBUGGERD
busybox mount -o remount ro /system
mount
ok; as you'll see below, I have modified debuggerd script to have #!/system/bin/sh
but I still can not run it correctly when I run "start debuggerd" on ssh server:
Code:
[email protected]:/system/bin # cat /system/bin/debuggerd
#!/system/bin/sh
mount
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/data/com.gameloft.android.ANMP.GloftN3HM
mount
sleep 1
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.gameloft.android.GAND.GloftKRHP /sdcard/Android/data/com.gameloft.android.GAND.GloftKRHP
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.ea.games.nfs13_na /sdcard/Android/data/com.ea.games.nfs13_na
busybox mount -o bind /storage/usbdisk/N7/Android/Data/com.rockstar.gta3 /sdcard/Android/data/com.rockstar.gta3
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftA7HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftA7HM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftKRHM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftKRHM
busybox mount -o bind /storage/usbdisk/N7/Android/obb/com.gameloft.android.ANMP.GloftN3HM /sdcard/Android/obb/com.gameloft.android.ANMP.GloftN3HM
busybox mount -o bind /storage/usbdisk/N7/gameloft /sdcard/gameloft
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin # stop debuggerd
[email protected]:/system/bin # start debuggerd
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin #
[email protected]:/system/bin # mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,relatime,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/dm-0 on /mnt/asec/com.gameloft.android.ANMP.GloftA7HM-2 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-1 on /mnt/asec/com.gameloft.android.ANMP.GloftN3HM-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/platform/sdhci-tegra.3/by-name/APP on /system type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /data type ext4 (rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,discard)
/dev/fuse on /mnt/shell/emulated type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
tmpfs on /storage/emulated type tmpfs (rw,nosuid,nodev,relatime,mode=050,gid=1028)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /cache type ext4 (rw,nosuid,nodev,noatime,nodiratime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered,discard)
/dev/block/vold/8:1 on /storage/usbdisk type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/fuse on /storage/emulated/0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/0/Android/obb type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/legacy type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/legacy/Android/obb type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
[email protected]:/system/bin #
what's wrong with my setup ?
---------- Post added at 11:49 PM ---------- Previous post was at 11:39 PM ----------
Code:
[email protected]:/data/data/berserker.android.apps.sshdroid/home # start debuggerd
[email protected]:/data/data/berserker.android.apps.sshdroid/home # dmesg | tail -5
[ 1363.181092] tegra_dvfs: voltage 1200 too high for dvfs on cpu_g
[ 1363.181330] cpu-tegra: Failed to set cpu frequency to 1400000 kHz
[ 1363.691106] tegra_dvfs: voltage 1200 too high for dvfs on cpu_g
[ 1363.691320] cpu-tegra: Failed to set cpu frequency to 1400000 kHz
[ 1365.180568] init: cannot execve('/system/bin/debuggerd'): No such file or directory
[email protected]:/data/data/berserker.android.apps.sshdroid/home # ls -al /system/bin/debuggerd
-rwxr-xr-x 1 root root 1060 Jan 10 23:45 /system/bin/debuggerd
[email protected]:/data/data/berserker.android.apps.sshdroid/home #
it says "no such file or dir." but it is there... how ?
Hm, the only thing that can be wrong, are the group rights... Or maybe something with the script itself. I need to test that.
Try the following:
chown root:shell /system/bin/debuggerd
@vorcers
I changed the group rights of debuggerd in ES File Manager,which I'm using with root to copy the modified debuggerd file...
I still haven't got the chance to try it out, but what does #!/system/bin/sh do?
Thanks for all your patience in this matter man
EDIT: I tried your script but it can't change debuggerd. As it seems it needs root permissions to do
Code:
busybox mount -o remount rw /system
cp $DEBUGGERD $DEBUGGERD.bak
echo "#!/system/bin/sh" > $DEBUGGERD
echo "mkdir -p /mnt/sdcard/mnt/cifs" >> $DEBUGGERD
echo "busybox mount -t cifs //192.168.100.1/share /mnt/sdcard/mnt/cifs -o username=####,password=###,umask=555,uid=1023,gid=1023" >> $DEBUGGERD
busybox chmod 755 $DEBUGGERD
chown root:shell $DEBUGGERD
su -c "start debuggerd"
#start debuggerd
#####
mv $DEBUGGERD.bak $DEBUGGERD
busybox mount -o remount ro /system
otherwise it says that the file system is read only, despite the remount as rw...
so I'd like to understand how o execute multiple lines in su mode, but I have googled for a while and reached no conclusion...
changing woner and group rights didn't help me.
what does this really mean :
Code:
[ 1365.180568] init: cannot execve('/system/bin/debuggerd'): No such file or directory