I am trying to use my own bootanimation.zip to replace the original bootanimation.zip in /data/cust/media, but the directory is read-only, and root explorer won't mount it as r/w when I press the button at the top. Are there any commands I can use in terminal emulator or any other ways to get this done?
I suggest asking this in your device forum, but it most likely should be in /data/local or /system/media.
Sent from my Jellied out Vibrant sandwich.
Check out the Hellybean nightlies Here and here and the Devil Kernel for ICS here and Jelly Bean here for the Galaxy S and variants.
In terminal emulator type:
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
If that doesn't work, try searching "mount system rw" in the play store. There should be a useful app in there.
clear the cache of root explorer.. if it won't work themw try using any other version of root explorer..
Related
Hi forum.
A quick question...
How do i re-install the defailt launcher ??
I have tried this way:
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb push content/Launcher.apk /sdcard/Launcher.apk
@adb shell dd if=/sdcard/Launcher.apk of=/system/app/Launcher.apk
And even thoug the launcher is on the sd card after (as i not clean after install), and also it all looked like it was installed ok, it don´t work.
When i try to install it from my sdcard with astro, i get a error saying:
"Start could not be installed on this phone"
Pleace, do you know why ??
pshdo said:
Hi forum.
and also it all looked like it was installed ok, it don´t work.
Click to expand...
Click to collapse
What did it say, it should say if it was pushed or failed?
pshdo said:
"Start could not be installed on this phone"
Pleace, do you know why ??
Click to expand...
Click to collapse
Because some system apks have to be pushed and wont install in the usual fashion.
hi
you must set the permissions, sytem apps need it
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
chmod 644 /system/app/Launcher.apk
reboot
or you navigate with rootexplorer to system, mount it rw, navigate to sytem/app/Launcher.apk set the permissions to 644 (User-rw,Group-r,Others-r)
then reboot
sry for bad english, hope it worked
Zocker Tko said:
hi
you must set the permissions, sytem apps need it
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
chmod 644 /system/app/Launcher.apk
reboot
or you navigate with rootexplorer to system, mount it rw, navigate to sytem/app/Launcher.apk set the permissions to 644 (User-rw,Group-r,Others-r)
then reboot
sry for bad english, hope it worked
Click to expand...
Click to collapse
Hi there...
I can´t figure this out...
I can see with "OI file explorer" that have the Launcher.apk inside /system/app.
It looks like it all goes well with mount and chmod above, but i can´t use the launcher?
And inside Titanium Backup it looks like the launcher "start" is not even installed on the phone...
What am i missing here ??
pshdo said:
Hi there...
I can´t figure this out...
I can see with "OI file explorer" that have the Launcher.apk inside /system/app.
It looks like it all goes well with mount and chmod above, but i can´t use the launcher?
And inside Titanium Backup it looks like the launcher "start" is not even installed on the phone...
What am i missing here ??
Click to expand...
Click to collapse
It makes me think that you have also removed Launcher.odex from /system/app . Do you have Launcher.odex in system/app ?
Post a screen shot of the cmd window, it should hint at what your doing, or not doing correctly.
Sent from my X10i using XDA App
Hmm have you set the permission, have you install homeswitcher, with this you can switch the launcher you have installed and set as default.
Sent from my.X10i using XDA App
Hi
I have Huawei u8150, Android 2.2, Rooted with z4root.
I want to give widgetsoid access to toggle data using the android apn toggle.
The instructions are:
____
Just put the Widgetsoid apk on /system/app folder
Work only with ADB connected to the phone (doesn't work if you use root explorer or other apps like this) :
* Remount /system as read/write
* adb push Widgetsoid.apk /system/app/Widgetsoid.apk
* Remount /system as read-only
_____
Can someone tell me what I can type in terminal emulator window to achieve this. I can't use adb as it won't recognise my u8150 (It worked fine with my i9000)
Thanks
Kiwi
Widgetsoid website - http://jaumard.android.free.fr/widgetsoid/help_widgetsoid.php?lang=en_EN
PS: Apologies if the wrong forum, but there were only 4 specific android forums, so i thought the general forum would be the best to post this type of question in.
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
http://www.reallylinux.com/docs/files.shtml
Thanks
I had tried
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# CHMOD 777 /SYSTEM
the above works but if i try to push i get
# push
push: not found
I also tried the above then switched over to es-file explorer and was able to copy + pasted the widgetsoid.apk file from my sdcard into the /system/app directory. It correctly pasted the file, but when I clicked on widgetsoid.apk to install the apk i got an error.
"Parse Error: There is a problem parsing the package."
I wouldn't chmod /system ... just leave the permissions the same.
cp /sdcard/downloads/widgetsoid.apk /system/app/
Chmod 644 /system/app/widgetsoid.apk
No need to click install or anything like that... just reboot after copying it to /system/app.
Sent from my Droid using Tapatalk
push is an adb command. You'll want to put the apk on the sdcard then use:
cp /sdcard/Widgetsoid.apk /system/app/
That will copy it to the directory.
Nevermind, do what jeffv2 said.
THANKS! it's working now.
I had placed it in /system/app and did a reboot and it still hadn't installed
then i renamed the file from Widgetsoid2.x.apk to Widgetsoid.apk and also did chmod 644, after a reboot it has successfully installed.
I think it was the chmod 644 to the apk file that allowed it to be installed
Many thanks!
I can't get Root Explorer to mount as R/W. It will only stay on R/O when trying to paste files on to system folder. Any help is appreciated. Btw, used the One-Click-Root program on the Inspire if that helps...
Try super manger or es file explorer
Sent from my Desire HD using XDA Premium App
Mount system rw in Terminal Emulator:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 777 /system/customize
It should let you make changes.
Sent from my Inspire 4G
Still not working...it says "Permission denied"
I had that problem, wouldn't do anything when I clicked the r/w tab, turned out I just needed to update. Make sure there isn't an update available.
i didnt even have a tab on mine to switch it lets me write or delete anything.
You got to have the spaces in there
sent from my second Inspire 4G
I have a few general questions for using adb, and also a related problem (which got me asking those questions).
Any help would be great.
1. when remounting which is the actual directory and which is the virtual one?
mount -o rw,remount dirA dirB
2. Is it possible to mount/remount several paths to the same virtual path? If so what happens when there are conflicts (directories or files with the same name)?
3. Is 'push' any different from just copying a file to the phone via USB?
Other than those questions I have a more specific one:
I'm trying to push a file into /system/app/ and /system/lib/ but I get a message that the directory is read-only.
I ran 'adb root' and then entered the shell, remounted this way:
'mount -o rw,remount /dev/block/mtdblock3 /system'
It seemed to work (I just got the command echoed back to me with no error messages).
But still I got read-only when trying to push.
The remount does not appear anywhere when I check mounts. Also mtdblock3 does not even appear in /dev/block/.
I can see that there is an rw mount for '/dev/block/stl9 /system' in the mounts - could it be that for SGS stl9 is the block to use instead of mtdblock3?
If so then why can't I push the file (since it's already mounted as rw).
Sorry for all the questions but I'm new to adb.
I'm using SGS GT-I9000 running 2.2.1 based rom with lag-fix (system is ext4)
yuv1 said:
3. Is 'push' any different from just copying a file to the phone via USB?
Click to expand...
Click to collapse
Adb push can push to more than just the sdcard.
It can also push to internal memory
Sent from my HTC Vision using XDA App
A working recovery for Samsung Conquer 4g!!!
Needs Root!
V. 5.0.2.7
1.Download the files below
2.Move flash_image (in the zip folder) and CWMR.img to your sd card
3.On your phone download root explorer
4.Move flash_image to /data/local using root explorer
5.Download a terminal Emulator on your phone
6.Open the terminal and put in:
Code:
$ su
# /data/local/flash_image recovery /sdcard/CWMR.img
7.Than to make sure it doesn't revert to stock recovery put in:
Code:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock9 /system
to make sure its in rw mode put:
Code:
# mount | grep system
than:
Code:
# chmod 444 /system/etc/install-recovery.sh
(dont worry if you get an error not found some phones dont have this)
Credit goes to utankos over at rootwiki for creating the recovery.
Need some clarification
Perfect timing. I am just now starting to learn how to root my conquer 4g. I am having some issue locating this folder "/data/local/"
/data/local/flash_image recovery /sdcard/CWMR.img
I have installed the Root Browser - free version on my phone, but still not able to find the directory. Am I supposed to create the "local" folder within the /data folder?
Thanks.
yanxizao said:
Perfect timing. I am just now starting to learn how to root my conquer 4g. I am having some issue locating this folder "/data/local/"
/data/local/flash_image recovery /sdcard/CWMR.img
I have installed the Root Browser - free version on my phone, but still not able to find the directory. Am I supposed to create the "local" folder within the /data folder?
Thanks.
Click to expand...
Click to collapse
I have never ran into a problem like this but do so in the /data folder on your phone and sorry this has taken so long I haven't been on XDA for a while. Tell me if it works.
/data/local dir in root browser
Hi, in order to properly see the /data/local folder which is a hidden folder you need to access it as root. If you installed root browser before the phone wa rooted it already checked for root access and was denied. From then on it will run without root permissions. you need to gran it root access before you can access hidden folders the easiest way would be to erase the data of root browser in options|applications.
hope this helps.
Thanks for this, works great!
jhorton014 said:
Thanks for this, works great!
Click to expand...
Click to collapse
Actually I'm having difficulties getting the CWM recovery to be permanent. When I reboot it reverts back to stock recovery. I followed all of the instructions on the tutorial that you provided.
nvm