urgent help required please help - Android Q&A, Help & Troubleshooting

Please help guys stuck here....
I've tried to delete malwarebytes apk from the /system folder (why it was in there is beyond me but.. it was) successfully un-mounted /system folder and deleted the .apk but i am unable to remount the /system folder again.
I checked it was not running before deleting although it would not working crash back to home screen run hence reason for deleting it in the first place and because of location I was unable to just uninstall or update it normally. now trying to remount the system folder It keeps saying mount: Device or resource busy
output from putty:-
login as: root
SSHD Server
[email protected]'s password:
[email protected]:/storage/emulated/legacy # mount -o remount,rw /system
[email protected]:/storage/emulated/legacy # mount -o remount,ro /system
mount: Device or resource busy
255|[email protected]:/storage/emulated/legacy # su
[email protected]:/storage/emulated/legacy # mount -o remount,ro /system
mount: Device or resource busy
tried:
login as: root
SSHD Server
[email protected]'s password:
[email protected]:/storage/emulated/legacy # adb remount
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
remount failed: Permission denied
[email protected]:/storage/emulated/legacy #
also tried from pc command line adb root and adb mount get same error/permission denied
any command I can run to force it or any command to find out whats stopping it, don't mind reflashing it after just don't want to brick the dam thing
I know that as soon as I reboot the box it will brick it, so I am desperate to try and force mount it if possible or anything at this stage
hopefully you guys can help me as I am not really an expert with androids and about run out of ideas how to fix this problem
thanks
Sorted now thanks anyway..

Related

[Q] Rooting: stuck at mounting system

Hi,
I succeeded at installing the recovery image using flashrec and making the nandroid backup. Now I'm trying to go to the next step of the rooting tutorial for noobs: MODIFYING THE CODE TO GET ROOT ACCESSS
This is my cmd (administrator rights) in Fastboot USB Mode:
Code:
c:\sdk\tools>fastboot devices
HT**KL****** fastboot
c:\sdk\tools>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
This is my cmd (administrator rights) in "normal mode":
Code:
c:\sdk\tools>adb devices
List of devices attached
HT**KL****** device
c:\sdk\tools>adb shell mount /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
c:\sdk\tools>adb push su /system/bin/
failed to copy 'su' to '/system/bin//su': Read-only file system
c:\sdk\tools>adb push su /system/bin
failed to copy 'su' to '/system/bin/su': Read-only file system
c:\sdk\tools>adb shell rm /system/app/Superuser.apk
rm failed for /system/app/Superuser.apk, Read-only file system
c:\sdk\tools>adb push su /system/bin/
failed to copy 'su' to '/system/bin//su': Read-only file system
c:\sdk\tools>adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /syste
m
mount: Operation not permitted
c:\sdk\tools>adb shell chmod 777 /system
Unable to chmod /system: Read-only file system
I am running Windows 7 (x64), I downloaded the latest adb tools and usb drivers using SDK Setup.exe. I installed the ADB drivers properly (using the manual wizard to browse to the usb_driver folder and restarting my computer) for the fastboot USB and for "normal mode" with the option debugging usb active.
Information of my current Rom ("Orange Belgium")
HBOOT-1.76.0007 (HERO10000)
RADIO-6.35.06.18
Aug 4 2009,19:43:30
I couldn't find anything by google that solved the problem... I hope you guys can help me out..
First and foremost, please post questions like this in the Q&A, or GENERAL section next time. This part will be moved for you though.
Ok,... I think your making this more difficult than need be. I haven't looked at the link you provided as my phone is playing up..
Take a look at BTDAGs guide linked in my signature... If you have already successfully installed the custom recovery, all you need to do now is pick a custom ROM to download and flash using the recovery.
Sent from my HTC Hero using XDA App
That is quite an old guide you're following. Try mine, or the one here http://villainrom.co.uk/viewtopic.php?f=107&t=2028 or there is universal androot - which will just give you root access on any rom.
you should use this to mount system in read/write-mode:
Code:
# mount -o rw -t yaffs2 /dev/block/mtdblock3 /system
alternatively put adb shell in front of:
Code:
>adb shell mount -o rw -t yaffs2 /dev/block/mtdblock3 /system
And by the way, you should do this from recovery mode (which is accessed by keeping home-button pressed down while turning on. I assume that you have a custom recovery)
Moved to Q&A as not development
Managed to put the recovery rom on it, thanks!
sorry to post it this late. can you pls explain how you resolve? if its available in some other thread, can someone guide me there. have been doing search on the forum for a while now. thanks!

Cannot mount with ADB

Hello all,
I am trying to push a file to my system, however I do not seem to be able to mount my system partition.
When I try to execute the following command, I always get the error "Operation not permitted" :
Code:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
My phone is rooted and my USB debugging is on !!
Anyone no what could cause this. It has always worked when I was still on 1.6 (rooted) and now it doesn't allow me access.
When I use Rootexplorer, I have R/W access, so root works.
Anyone has any tips or advise ?
Try...
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
Tried that, and get permission denied
Should have added, make sure your screens on on the phone and allow SuperUser access when you type su.
never mind, one sec

[Q] adb question

Hi,
I have just installed wolfs 2.3 with hotfix and am having trouble with adb commands
I have tried pushing files to /data/data and I get this error
Code:
failed to copy 'name of file here' to 'path here' : Permission denied
However, if i boot into recovery and manually mount data it works.
My question is
what is the code to mount the data partition from adb?
I know
Code:
adb remount
mounts the system partition but i need the data partition mounted.
I have never ran into this before, all my adb commands worked whilst the phone was turned on...
any help please.
More issues
Code:
adb remount
does not work....permission denied
Also, using apk manager I cannot push sytem files to /system/app
This is quite irritating
The correct command is:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
Code:
adb shell
su
mount -o remount rw /system
works for me.

please help me edit bstid file (bluestack 0.8.5)

hi , im using rooted bluestack 0.8.5 .
and i need edit file /proc/bstid to change BS serial .
im tried to edit by using root explore ( i gave rw permission) but it say cant save .
then i try to use adb to write/copy file , but it still say :
Code:
adb push C:\bstid /proc/
failed to copy 'C:\bstid' to '/proc//bstid': Read-only file system
Code:
adb remount
* daemon not running. starting it now *
* daemon started successfully *
remount succeeded
adb push C:\bstid /proc/
failed to copy 'C:\bstid' to '/proc//bstid': I/O error
Code:
C:\Users\Judas\Downloads\Compressed\ADB>adb shell
[email protected]:/ # su
su
[email protected]:/ # mount -o rw,remount /proc/bstid /system
mount -o rw,remount /proc/bstid /system
[email protected]:/ # echo "xxxxxxxxxxxxxxxxxxxxxxxx" > /proc/bstid
echo "xxxxxxxxxxxxxxxxxxxxxxxx" > /proc/bstid
but nothing change .
could anyone please help me, how to edit bstid file ?
or please tell me a way to fake bluestack 0.8 serial
dechut said:
hi , im using rooted bluestack 0.8.5 .
and i need edit file /proc/bstid to change BS serial .
im tried to edit by using root explore ( i gave rw permission) but it say cant save .
then i try to use adb to write/copy file , but it still say :
Code:
adb push C:\bstid /proc/
failed to copy 'C:\bstid' to '/proc//bstid': Read-only file system
Code:
adb remount
* daemon not running. starting it now *
* daemon started successfully *
remount succeeded
adb push C:\bstid /proc/
failed to copy 'C:\bstid' to '/proc//bstid': I/O error
Code:
C:\Users\Judas\Downloads\Compressed\ADB>adb shell
[email protected]:/ # su
su
[email protected]:/ # mount -o rw,remount /proc/bstid /system
mount -o rw,remount /proc/bstid /system
[email protected]:/ # echo "xxxxxxxxxxxxxxxxxxxxxxxx" > /proc/bstid
echo "xxxxxxxxxxxxxxxxxxxxxxxx" > /proc/bstid
but nothing change .
could anyone please help me, how to edit bstid file ?
or please tell me a way to fake bluestack 0.8 serial
Click to expand...
Click to collapse
any one can help?>
I got the same problem
Please help me
amcetoi said:
any one can help?>
I got the same problem
Click to expand...
Click to collapse
Please help me

[Q] System changes are cancelled when I restart

Hello
I try to use Link2SD on my HTC Desire 610 (rooted and with unlocked bootloader), but the app is not able to mount the SD card partition because the init.d is not present on the stock ROM.
So, I have installed busy-box and tried the term-init script of Ryuinferno. The script seems to works well (no error), but I noticed it had no effect on the system files.
So I tried some manipulations with adb, and I managed to create the init.d file with these commands:
Code:
>adb kill-server
>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]_a3qhdul:/ $ su
su
[email protected]_a3qhdul:/ # mount -o remount,rw -t auto /system
mount -o remount,rw -t auto /system
[email protected]_a3qhdul:/ # mkdir /system/etc/init.d
mkdir /system/etc/init.d
[email protected]_a3qhdul:/ # cd /system/etc/init.d
cd /system/etc/init.d
[email protected]_a3qhdul:/system/etc/init.d # cd /
cd /
[email protected]_a3qhdul:/ # mount -o remount,ro -t auto /system
mount -o remount,ro -t auto /system
[email protected]_a3qhdul:/ # reboot
reboot
>
After the phone restarts, I tested these commands:
Code:
>adb kill-server
>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]_a3qhdul:/ $ su
su
[email protected]_a3qhdul:/ # cd /system/etc/init.d
cd /system/etc/init.d
tmp-mksh: cd: /system/etc/init.d: No such file or directory
2|[email protected]_a3qhdul:/ #
I tried to create files in the system folder, but they are deleted after every reboot.
Have you ever encountered this problem?
I am a novice regarding the linux operating systems, so I have no idea what could cause this.
Hoping you will find a solution, and sorry for my bad english..
EDIT :
After long search on the forum, I found what I needed for solve my problem
The problem was due to the HTC's system write protection (see here).
For the HTC Desire 610, it seems that the protection allow you to add files in the /system directory but cancels all modifications after a reboot.
To disable this protection, I installed the Jmz's A3UL Kernel V1 and it works fine !
Now the Term-init script works, and I was able to install Link2SD and configure it for mount the ext2 partition on my sd card at boot.
Thank you to the community of xda-developers !

Categories

Resources