Trouble with turning JIT on - G1 Q&A, Help & Troubleshooting

Can some on please help me out im trying to install JIT and I have in the past but now I cant and I get these errors

mount -o rw,remount system
But seriously, just leave jit off. You will not get more out of it than a higher score in linpack. No real world performance gain, just a tiny disadvantage in startup time of apps.

Sorry for the late Post I did what you said and i get
Usage:mount [-r] [-w] [-o options] [-t type] device dictionary
What do I do then?

Try this
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
instead. Make sure there is no blank between the comma and the remount.

The problem is a missing leading "/" in the mount point.
I.e., mount -o remount,rw /system

Related

Help! Syntax please

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I have typed that in 5 times and it says it's a syntax error. I'm guessing it's a space issue or something. My phone is down.
What is the exact syntax?
Thanks
jlacy76 said:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I have typed that in 5 times and it says it's a syntax error. I'm guessing it's a space issue or something. My phone is down.
What is the exact syntax?
Thanks
Click to expand...
Click to collapse
Are you sure your at the root prompt? Looks like this # and not this $
jlacy76 said:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I have typed that in 5 times and it says it's a syntax error. I'm guessing it's a space issue or something. My phone is down.
What is the exact syntax?
Thanks
Click to expand...
Click to collapse
That syntax is correct. Are you invoking busybox's mount?
I finally got it, thanks.
The way it shows in the root guide is:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
The way I had to type it.
mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system
It turned out to be a spaces issue.
I got that part done and then is said "Can't cd sdcard"
My sd card is formatted fat 32 and loaded the rc29 fine but won't cd to sd card. Does it need partitions or something?
Honestly, this is one of the most frustrating things I have ever done in trying to root this phone. Now I can't even use mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system.
Please help me out I am still getting usage errors. It must be something to do with spaces in the syntax of mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system
jlacy76 said:
Honestly, this is one of the most frustrating things I have ever done in trying to root this phone. Now I can't even use mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system.
Please help me out I am still getting usage errors. It must be something to do with spaces in the syntax of mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system
Click to expand...
Click to collapse
The syntax of those lines is all messed up. You need spaces between "yaffs2" and "/dev/block/mtdblock3" and "/system". If your phone is already rooted, just hook it up to adb and type adb remount.
Thanks jashsu, that did it. For a total noob like me, I just didn't understand.

Newb terminal command questions

What's the difference between these two (at least why they use the mount command, remount command, or shell command?)
su
mount -o remount,rw /dev/mtdblock3 /system
rm [whatever i want]
mount -o remount,ro /dev/mtdblock3 /system
and
adb remount
adb shell rm [whatever i want]
The first is a terminal command from the phone. (Only requires the phone)
The second is through adb to the phone. (Involves a properly configured adb, computer, usb cable, and phone)
evilkorn said:
The first is a terminal command from the phone. (Only requires the phone)
The second is through adb to the phone. (Involves a properly configured adb, computer, usb cable, and phone)
Click to expand...
Click to collapse
Wow, so people manage to type out all that craziness on the phone huh.
Thanks!
Anytime. Doubt they do that all the time, it would be easier to just make a script if you have to do that more than once. I just use root explorer, it has a button that mounts /system/ -rw.
I'm not sure about other terminals, but you can create aliases in Better Terminal Emulator
alias rw='mount -o remount,rw /dev/mtdblock3 /system'
alias ro='mount -o remount,ro /dev/mtdblock3 /system'
so now all you have to do is type rw or ro and it executes the full command. Or you can create scripts:
su
mount -o remount,rw /dev/mtdblock3 /system
cd /system/bin
echo "#! /system/bin/sh" | tee ro rw
echo "mount -o remount,rw /dev/mtdblock3 /system" >> rw
echo "mount -o remount,ro /dev/mtdblock3 /system" >> ro
chmod 755 rw ro
Same thing, except it executes the scripts instead of an alias.

Mount system doesn't work

adb shell
su
mount -o remount,rw /dev/block/stl9 /system
When i'm on step 3 "mount -o remount,rw /dev/block/stl9 /system" it tells me
mount: Invalid argument
How can i fix this? USB debug is on
Could this be a ROM related problem?

[HELP] broken lcd + after working with adb doesnt boot

Hey xda-community,
might be a long text to read but i want to make it as detailed as possible :/.
I have an i9070 with broken lsd (+touch not working) and pattern lock.
i booted into recoverymode (TWRP) and removed the pattern lock via adb shell ("rm /data/system/gesture.key").
i wanted to use [email protected] so i tried to activate USB Debugging via adb shell.
in the internet i found a method and tried it right away
i had to pull /system/build.prop
add the line "persist.service.adb.enable=1" in the file
and after that i had to push it back, but i couln't.
So i searched to mount /system r/w ..... (prob for the false device ,_, )
i tried the 1st command and forgot the 4 in ext4, so i typed it like this in the adb shell:
# mount -o rw,remount -t ext /dev/block/mmcblk0p8 /system
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p8 /system
after that i was able to push the build.prob back, and used
# mount -o ro,remount -t ext /dev/block/mmcblk0p8 /system
# mount -o ro,remount -t ext4 /dev/block/mmcblk0p8 /system
afterwards.
Rebooted it and it stuck while booting prob.
So i tried the push back the original build.prop. (thought it might be the cause)
Still not booting..
I ended trying all commands without any order:
# mount -o ro,remount -t ext /dev/block/mmcblk0p3 /system
# mount -o rw,remount -t ext /dev/block/mmcblk0p3 /system
# mount -o ro,remount -t ext4 /dev/block/mmcblk0p3 /system
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p3 /system
# mount -o ro,remount -t ext /dev/block/mmcblk0p8 /system
# mount -o rw,remount -t ext /dev/block/mmcblk0p8 /system
# mount -o ro,remount -t ext4 /dev/block/mmcblk0p8 /system
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p8 /system
chmod 755 system
chmod 777 system
i used also mount..../mmcblk0p3 instead of mmcblk0p8 because after using "mount" it showed behind the /system mmcblk0p3 ...
i messed too much around as a newbie :crying:
I am still able to use adb in recovery mode but cant acces the internal storage.
Would be nice if someone could help me
Ty if you read the whole text .. ^^

Fix Persist Partition in XT1063

Put this zip file in the sdcard internal (very important in marshmallow) and flash but before mount the persist partition in TWRP 3.0.0.1 + theme.
Theme is here http://forum.xda-developers.com/showthread.php?p=65199244
[THEME][TWRP] TWRP 3.0.0 dark stock theme pack w different colors v2 [07.03.2016]
Files and folders, extracted from a XT1063
Mount again the partition before reboot [emoji16]
Note: It does not work if the partition is not mounted and Zip in SDinternal
1.-Reboot to recovery
2.-Mount the persist partition
3.-Flash The zip in SDInternal
4.-Mount the persist partition again
5.-Reboot
6.-Enjoy
jacbarahona72 said:
Put this zip file in the sdcard internal (very important in marshmallow) and flash but before mount the persist partition in TWRP 3.0.0.1 + theme.
Theme is here http://forum.xda-developers.com/showthread.php?p=65199244
[THEME][TWRP] TWRP 3.0.0 dark stock theme pack w different colors v2 [07.03.2016]
Files and folders, extracted from a XT1063
Mount again the partition before reboot [emoji16]
Note: It does not work if the partition is not mounted and Zip in SDinternal
1.-Reboot to recovery
2.-Mount the persist partition
3.-Flash The zip in SDInternal
4.-Mount the persist partition again
5.-Reboot
6.-Enjoy
Click to expand...
Click to collapse
hey..
how can i mount the persist in twrp..? there is no option for persisit..? and mount command alsa not owtrking on twrp..
~ # ←[6nmount -o remount,rw /persist
mount -o remount,rw /persist
mount: can't find /persist in /proc/mounts
~ # ←[6nmount -o remount,rw /mmcblk0p29
mount -o remount,rw /mmcblk0p29
mount: can't find /mmcblk0p29 in /proc/mounts
~ # ←[6nmount -o rw,remount /persist
mount -o rw,remount /persist
mount: can't find /persist in /proc/mounts
t-mobile_mda said:
hey..
how can i mount the persist in twrp..? there is no option for persisit..? and mount command alsa not owtrking on twrp..
~ # ←[6nmount -o remount,rw /persist
mount -o remount,rw /persist
mount: can't find /persist in /proc/mounts
~ # ←[6nmount -o remount,rw /mmcblk0p29
mount -o remount,rw /mmcblk0p29
mount: can't find /mmcblk0p29 in /proc/mounts
~ # ←[6nmount -o rw,remount /persist
mount -o rw,remount /persist
mount: can't find /persist in /proc/mounts
Click to expand...
Click to collapse
this method would solve the changed partition problem xt 1078 by the xt1068 partition.
t-mobile_mda said:
hey..
how can i mount the persist in twrp..? there is no option for persisit..? and mount command alsa not owtrking on twrp..
~ # ←[6nmount -o remount,rw /persist
mount -o remount,rw /persist
mount: can't find /persist in /proc/mounts
~ # ←[6nmount -o remount,rw /mmcblk0p29
mount -o remount,rw /mmcblk0p29
mount: can't find /mmcblk0p29 in /proc/mounts
~ # ←[6nmount -o rw,remount /persist
mount -o rw,remount /persist
mount: can't find /persist in /proc/mounts
Click to expand...
Click to collapse
You read that right ?, while installing THEME, is appended to the menu "mount" The "persist" partition friend. please follow the instruction
Work Only in the version ** TWRP 3.0.0-1 **, and Version 1 from the theme or 2, I am no sure in this moment. [emoji16]
Enviado desde mi Nexus 6

Categories

Resources