"how to" mount patitions rw & flash custom recovery ! - Click Android Development

-dev: size erasesize name
-mtd0: 000a0000 00020000 "misc"
-mtd1: 00500000 00020000 "recovery"
-mtd2: 00280000 00020000 "boot"
-mtd3: 09600000 00020000 "system"
-mtd4: 09600000 00020000 "cache"
-mtd5: 0a520000 00020000 "userdata"
in a shell:
mount -o rw,remount /dev/block/mtdblock3 /system
mount -o rw,remount /dev/block/mtdblock4 /cache
mount -o rw,remount /dev/block/mtdblock5 /data
mount -o rw,remount /tmpfs /dev "755"
mount -o rw,remount /devpts /dev/pts "600"
mount -o rw,remount /rootfs /
mount -o rw,remount /proc /proc
mount -o rw,remount /sysfs /sys
and depending were you have flash_image
in my case i use terminal emulator to flash recovery in 3 seks:
/system/bin/flash_image /sdcard/recovery.img
use Amon_Ra´s Recovery
THX
Marsdroid

Related

Trouble with turning JIT on

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

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?

[Q] how to mount cdrom as rw?

how can I mount the /dev/block/mmcblk1p17 as read write.
I have tried:
[email protected]:/# mount -t iso9660 /dev/block/mmcblk1p17 /data/local/mystuff/cdrom2
and
[email protected]:/# mount -o remount,rw /dev/block/mmcblk1p17 /data/local/mystuff/cdrom2
Always shows as read only though:
[email protected]:/# mount |grep cdrom
mount |grep cdrom
/dev/block/mmcblk1p17 /data/local/mystuff/cdrom2 iso9660 ro,relatime 0 0
I would like to update the motohelper driver file to latest version on this partition. Any ideas on how to do this?

[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