Remounting /system partition as r/w'able - myTouch 3G Slide Q&A, Help & Troubleshooting

Inve been messing around with "better terminal emulator" trying to mount the system partition using different syntax, when I input the "mount" command (this is all while busybox and flash_image are installed in /system/xbin) I get a return depicted by the images attached. Could someone with more technical prowess tell me what the output is telling me.
Sent from my T-Mobile myTouch 3G Slide using XDA App

Armyjon88 said:
Inve been messing around with "better terminal emulator" trying to mount the system partition using different syntax, when I input the "mount" command (this is all while busybox and flash_image are installed in /system/xbin) I get a return depicted by the images attached. Could someone with more technical prowess tell me what the output is telling me.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Well, your image is way too small to read.

Other image did not upload.
Sent from my T-Mobile myTouch 3G Slide using XDA App

Either way, you can't mount the /system partition as r/w except in recovery. The SPL security will not permit the partition to be written to in normal boot mode.

The images didn't upload properly I guess is there a better screen shot app I can use?
Sent from my T-Mobile myTouch 3G Slide using XDA App

Oh ok thank you
Sent from my T-Mobile myTouch 3G Slide using XDA App

Armyjon88 said:
Inve been messing around with "better terminal emulator" trying to mount the system partition using different syntax, when I input the "mount" command (this is all while busybox and flash_image are installed in /system/xbin) I get a return depicted by the images attached. Could someone with more technical prowess tell me what the output is telling me.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
That image is really small... lol. I can't read it. At the moment, you can not mount the system until the phone is in recovery. THANKS HTC! hahaha.

Yeah I know but I think I figured it out I had the upload setting to low hopefully this fixes it.
Sent from my T-Mobile myTouch 3G Slide using XDA App

Does this work?
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

in clockwork just go to the partitions menu and mount /system

mayormullet said:
Does this work?
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Thanks mayormullet, that one's going in my notes.
Worked like a charm

Related

[Q] advanced adb and terminal questions

ok, so i am a pretty advanced user, but i have some things that i need to know.
first of all, i am having trouble mounting /system in rw in the terminal emulator app. could somebody tell me the code?
my next question is for terminal (mac) in general. whenever i get a prompt to give a password, for example, when i am trying to run recovery-mac.sh (yes i am nand unlocked so i dont need this but it is helpful to do if i am already in recovery) i see
password:
and i am unable to type anything. could somebody please help me on this one bcuz i am stumped.
and finally, anybody know of a good mac alternative for notepad++? thanks.
dk
ok, so i answered two of my three questions. the passowrd: promt simply doesnt show what you type, so your password stays hidden. second, coda is a good notepad++ alternative, but i still dont know how to create a no-extension packadge.
plz answer my first question
Of what value is a password if it is echoed to the screen or (back in the day) printed on a hard copy terminal.
Once you've achieved root (the # prompt) it should be something along the lines of
# mount -o remount,rw /system
The various *nix flavors all vary somewhat but that should be about right. Try mount -? Or man mount for details on this specific implementation.
Not to be rude, but these are fairly rudimentary items that should be well within the knowledge of a "pretty advanced" user.
Swyped on my PC36100 using tapatalk.
thanks for answering john, but that isnt a very straightforward answer. first of all, these questions are totally unrelated. second, i want to know a good app to write no-ex files because i am just starting to make flashable zips. third, COULD YOU PLEASE JUST TELL ME THE COMMAND TO MOUNT READ-WEITE IN THE TERMINAL EMULATOR APP IF I HAVE SU PERMISSIONS. thanks
1) # mount -?
Has your answers, but since you are unwilling to RTFM, I suggest you try what I told you. It has a high degree of likelihood to work.
2) mount -o remount,rw /system
Im not big on spoon feeding the answer as it really doesn't teach.
Swyped on my PC36100 using tapatalk!
mount -o remount,rw -t yaffs2 /dev/mtdblock3 /system
Sent from the iPhone Assassin
fenixjn said:
mount -o remount,rw -t yaffs2 /dev/mtdblock3 /system
Sent from the iPhone Assassin
Click to expand...
Click to collapse
thanks fenixjn. i had no idea it was anything like that. i thought it was either the same command as an anb shell ( mount /dev/block/mtdblock4 /system) or mount -o -rw /system. thanks for giving me the correct info.

[GUIDE] Update CM without losing custom /system changes (ex Swype, keymap)

There's a really simple way to prevent CyanogenMod from overwriting your custom /system changes during an update. Create the file '/system/etc/custom_backup_list.txt' with a list of files within /system that you don't want to be overwritten.
For example, to prevent CM from wiping out Swype, open adb shell and type this:
Code:
mount -o remount,rw /system
cd /system/etc
echo lib/libSwypeCore.so >custom_backup_list.txt
echo app/Swype.apk >>custom_backup_list.txt
cd /
mount -o remount,ro /system
If you use teferi's custom keymap, do this:
Code:
mount -o remount,rw /system
cd /system/etc
echo lib/libSwypeCore.so >custom_backup_list.txt
echo app/Swype.apk >>custom_backup_list.txt
echo usr/keylayout/vision-keypad.kl >>custom_backup_list.txt
echo usr/keychars/vision-keypad.kcm.bin >>custom_backup_list.txt
cd /
mount -o remount,ro /system
Then the next time you flash CM, your changes to /system will still be there. If you want to see why this works, take a look at /system/bin/backuptool.sh
Hope this helps
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
CM probably needs to overwrite build.prop but I've been changing the LCD density in this file. Is there a way to use a seperate file to override the lcd density so that i can let CM overwrite build.prop but still maintain lcd density after a flash?
Whatever commands you put in /data/local/userinit.sh will run at boot. So in adb shell, type this for a density of 215:
Code:
cd /data/local
echo setprop qemu.sf.lcd_density 215 >userinit.sh
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Thank you!
This may be the long lost solution to my Swype and Cyan Problems. The new Release Candidates are destroying my swype and not liking it's return after installing the new Cyan. So, if this can basically help me update without losing much, it's a god send. Especially the LCD density.
You're a genius.
Thank you.
Hmm, seems the issue is still persistent. Thanks though.
Should userinit.sh and custom_backup_list.txt survive the upgrade or should they both be included in the backup list file?
Sent from my HTC Vision using XDA App
If you look at the actual script, it seems that it ignores the backuptool if .installscript exists, and in practice, I've noticed that nothing gets saved when flashing via ROM Manager. Is this, in fact, what's happening, and is there a way around it?
sundar2012 said:
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Click to expand...
Click to collapse
You can put the following in /data/local/userinit.sh:
mount -o rw,remount /system
for apk in ADWLauncher.apk MS-HTCVISION-KNT20-02.apk
do
rm -f /system/app/$apk
done
for package in com.android.launcher
do
pm uninstall $package
done
mount -o ro,remount /system
exit 0
Click to expand...
Click to collapse
I haven't tried this for removing the Wifi Calling app, so ymmv. I remove a much larger set of apps myself (facebook, email, live wallpapers, amazon mp3 store, DSPManager, FileManager, Browser). http://wiki.cyanogenmod.com/index.php?title=Barebones has a list of apps that can be removed safely.
@cparekh -- what e-mail app is that? Or did you just use the pre-OTA's Email.apk app?
Rc4 has the trackpad wake fm radio and speaker led fixed its workng very smooth better than rc3
Sent from my HTC Vision using XDA App
sundar2012 said:
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Click to expand...
Click to collapse
Just delete them from the cmupdate.zip before flashing. Cwm recovery doesn't require sig so u don't have to worry about resigning it.
OP: nice find, I'm sure ill use it at some point.
This is driving me crazy because I know I have used this command before but i cannot get it to work now... What is the deal?
Code:
$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Rooted using gfree on this phone. On my previous phone I used wpthis and did not have a problem. Anyone know what I need to do to mount rw?
cparekh said:
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
Click to expand...
Click to collapse
I need that apk
Sent from my HTC Vision using XDA App
Used this method to when going from stock to CM 6.1.1 and could not get it to work. I had to push/install manually from ADB.
Anyone had any luck? I did what the OP said then flashed. Was I supposed to do anything after flashing wiping and then flashing (CM & gapps)?
rraxda said:
This is driving me crazy because I know I have used this command before but i cannot get it to work now... What is the deal?
Code:
$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Rooted using gfree on this phone. On my previous phone I used wpthis and did not have a problem. Anyone know what I need to do to mount rw?
Click to expand...
Click to collapse
Make sure you have root in the shell by typing su.
cparekh said:
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
Click to expand...
Click to collapse
IConrad01 said:
@cparekh -- what e-mail app is that? Or did you just use the pre-OTA's Email.apk app?
Click to expand...
Click to collapse
chubb16 said:
I need that apk
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I am also interested in that apk
How can I backup progress on Angry Birds? Drives me nuts starting back over when I reflash CM
Titanium backup. You can use it to restore the app and the data. Usually i just restore the data to a fresh install.

Removing the Swype keyboard in cm6

OK, so i installed the swype from stock espresso 2.1 ROM but it doesnt let me swype. tells me that its configured for a different device which is a fail honestly but how do i go along to delete it? Terminal or ADB commands would be nice because. Thanks fellas. i tried
rm -r /system/app/swype.apk
rm -r /system/app/com.swype.inputmethod
any other suggestions?
Did you try reflashing cm6? Idk if it will work, but worth a try.
Sent from my T-Mobile myTouch 3G Slide using XDA App
guitarist5122 said:
Did you try reflashing cm6? Idk if it will work, but worth a try.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
That seems like the only thing I can think of too. I'm having a similar problem where I tried to flash Swype, but it just keeps force closing, and now I actually HAVE the beta but I can't uninstall my old swype D: . I tried going thru with ADB and Root Explorer... It seems I deleted anything involved with Swype, BUT it's still in there somehow.
Shaquiel Harris said:
OK, so i installed the swype from stock espresso 2.1 ROM but it doesnt let me swype. tells me that its configured for a different device which is a fail honestly but how do i go along to delete it? Terminal or ADB commands would be nice because. Thanks fellas. i tried
rm -r /system/app/swype.apk
rm -r /system/app/com.swype.inputmethod
any other suggestions?
Click to expand...
Click to collapse
You have to do it via adb in while your phone is in recovery because our phones are s-on.
reboot into clockwork recovery, go into the partitions menu, mount /system, then in command prompt type
Code:
adb shell
rm /system/app/apkname.apk
If you're not sure what the exact name is do this:
Code:
adb shell
cd /system/app
ls
then it'll give you a list of all files in /system/app, type rm apkname.apk to remove it. Then reboot
MusicMan374 said:
You have to do it via adb in while your phone is in recovery because our phones are s-on.
reboot into clockwork recovery, go into the partitions menu, mount /system, then in command prompt type
Code:
adb shell
rm /system/app/apkname.apk
If you're not sure what the exact name is do this:
Code:
adb shell
cd /system/app
ls
then it'll give you a list of all files in /system/app, type rm apkname.apk to remove it. Then reboot
Click to expand...
Click to collapse
Ive tried that before (suggested by others) wouldnt work for me. I would always get a read only error. The cd /system/app ls command would run fine though :/
Sent from my T-Mobile myTouch 3G Slide using XDA App
guitarist5122 said:
Ive tried that before (suggested by others) wouldnt work for me. I would always get a read only error. The cd /system/app ls command would run fine though :/
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Were you in recovery? Another thing to try while in recovery and in adb shell, type this:
Code:
mount -o rw,remount /system
You might also try adb remount, not in shell, then go back into shell.

[RECOVERY][ClockWorkMod 3.0.2.8][BETA]

Disclaimer:
Proceed at your own risk. I am not responsible if your device gets bricked or damaged during the process.
recovery-CW3028-OP-thunderc_002.zip
Port to Optimus V
This version is using a beta kernel I am working on. (driver updates from new Optimus-S source, NOOP set default)
Backup and restore tested.
Camera button == Action
Code:
In an ADB shell:
> mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
> cat /sdcard/flash_image > /system/bin/flash_image
> chmod 755 /system/bin/flash_image
> mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
> mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
> flash_image recovery /sdcard/recovery.img
> exit
reboot into recovery (I use QuickBoot, but "adb reboot" works fine as well)
Enjoy!
I'll update more after work.
[hold]
Badass, thank you!
Sent from my VM670 using XDA App
What's the difference between this and the one posted on romrepo?
Sent from my LG-VM670 using Tapatalk
vegetajin8 said:
What's the difference between this and the one posted on romrepo?
Sent from my LG-VM670 using Tapatalk
Click to expand...
Click to collapse
Cant say 100% as I only used the recovery-thunderc-v-1.2.0-GNM.img recovery (Amon_RA based) once since I've had the OptV.
This is based on CWM source and the stock recovery kernel (for now)
which allows advanced restores etc.
The only other Recovery I see is CWMA which looks like a Xionia kernel and a Amon_Ra/ClockWorkMod hybrid recovery. I know nothing about that recovery, so be sure to try it out and see which you like best.
opcode1300 said:
Cant say 100% as I only used the recovery-thunderc-v-1.2.0-GNM.img recovery (Amon_RA based) once since I've had the OptV.
This is based on CWM source and the stock recovery kernel (for now)
which allows advanced restores etc.
The only other Recovery I see is CWMA which looks like a Xionia kernel and a Amon_Ra/ClockWorkMod hybrid recovery. I know nothing about that recovery, so be sure to try it out and see which you like best.
Click to expand...
Click to collapse
I've tried xionia I like it to a point that almost all roms will only work with it. I'm currently using 3.0.2.8 from rom repo for the v and like it better. Just wish everyone would use one recovery to develop their roms with.
Sent from my LG-VM670 using Tapatalk
I'm sorry, but I am having some trouble using the ADB. Where does the .zip file need to be when I type in all of these commands?
Whenever I try to type in the first command (mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system) in the ADB shell it says Operation not permitted. Anyone know how to get around it?
When in adb type su then the command see if that works.
Sent from my LG-VM670 using XDA Premium App
Why not just add terminal directions? much simpler
$ su
# cat /proc/mtd
identify recovery -mines mtd2 - & backup...
# cat /dev/mtd/mtd2 > /sdcard/recovery.img
place the recovery to be flashed on sdcard root (example.img)
# flash_image recovery /sdcard/example.img
I saw a clockwork recovery avalibale threw rom manager for the optimus v and would like to know if that's a stable recovery ?
Sent from my T-Mobile G2 using XDA App
arsonist63086 said:
I saw a clockwork recovery avalibale threw rom manager for the optimus v and would like to know if that's a stable recovery ?
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Depending on how new the OV is.
The newer OVs have a different screen and that recovery is not compatible
Sent via LG VM670 IHO
Someone explain recovery for me, is it basically a rom?
BOB DOLE
Recovery
omgpk said:
Someone explain recovery for me, is it basically a rom?
BOB DOLE
Click to expand...
Click to collapse
No its not a rom but what can be used to flash roms
Sent from my LG-P500 using XDA
Here is a dictionary link
omgpk said:
Someone explain recovery for me, is it basically a rom?
BOB DOLE
Click to expand...
Click to collapse
Here is some info on it.
http://forum.xda-developers.com/showthread.php?p=10377391#post10377391
Once you are on the page you can scroll up to the top to see the other information that is there.

[Q] CM9. can't mount /system rw

Whenever I try and mount system as writable I get
Mount: operation not permitted
The error occurs whether I use adb or terminal.
Sorry! Realized after posting I'd gone into the wrong forum! Could a mod move it please? Or delete it and I'll make a new one?
Maybe try to download the ICS rooting.zip and run the macro using fastboot.
Open up terminal emulator and type:
su
mount -o remount,rw / system
Sent from my SPH-D710 using xda premium
bmxrideher said:
Open up terminal emulator and type:
su
mount -o remount,rw / system
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
This won't work on the a100. You still need the mempodroid exploit.
Works on mine. It's only a small price to pay to have the CM9 goodness on my tablet and it's R/W until next reboot.
Sent from my SPH-D710 using xda premium
bmxrideher said:
Works on mine. It's only a small price to pay to have the CM9 goodness on my tablet and it's R/W until next reboot.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
This method doesn't work on my tablet.
Isn' there any other method to acquire r/w?
bellaale said:
This method doesn't work on my tablet.
Isn' there any other method to acquire r/w?
Click to expand...
Click to collapse
Either of the ICS root methods in the dev section should fix it
bellaale said:
This method doesn't work on my tablet.
Isn' there any other method to acquire r/w?
Click to expand...
Click to collapse
You might try "busybox" after the su and before the mount command, e.g.: 'busybox mount -o remount,rw /system'
Busybox knows about these things.
AZBOLIVE
just type in "su" enter it then type commands as normal.
your permissions wont let you at present,
letting the system know to run su works good.
hope it helps!

Categories

Resources