Please help me adb mount RW - Android Software/Hacking General [Developers Only]

Hy !
My name is Chris,from Romania.
First,excuse me for me poor english !
I have a Prestigio PMP5100 tablet. I replace original firmware with Arnova 10 rooted firmware. It work fine,but the partition not mounted R/W and I don`t have access system files.I install USB drivers,JRE,JDK,Addroid SDK.
With "adb devices" my tablet apear connected.
With "adb shell" I tasted :
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
apear :
#su
su
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
My problem is how to continue ???
If press ENTER key apear new line with # :
#
Please help me.
Thank you in advance,and have a nice day.

Related

Nandroid code

Could someone post how to push hard spl through adb or send a link. I cannot flash through recovery (E:No signature).
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system
cd /system
# cat /data/local/recovery.img > recovery.img
I tried this: but couldn't proceed after the # cat line above.
I need to restore a nandroid backup.

CDMA Hero Bootscreen MODS *Working

Okay here is how to do it if you dont already know, (sorry if this was done before but i found it amazingly fun. lol)**Note, you can be caught in a boot loop for ANY boot files, i would exclude the .mp3 file, but just to be safe, make sure any file you edit, has the same attributes as before. Editing the .xml file, as long as you only edit variables(e.g. useAudio="0" // 1: true ; 0:false the "0" <- that is the only part you should edit, It should be in quotes!!) Do this at your own RISK! i have attached the XML file as a TXT file, just rename it and edit it to what you like.
What you need:
DriodExplorer, (GUI for editing the phones filesystem)
adb and AndriodSDK (they come together)
1. Open up your adb shell, and make sure you see '#' and not '$'
2. type this in: mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
so output should look like this for Super Users: (From start to finish)
Code:
adb shell
$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Or if you are Rooted already:
Code:
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then open up DriodExplorer and navigate to the "/system/media/bootscreen/"
folder. you can now drag and drop any file or edit any file you want.
**NOTE: you can also do this with a file explorer from the phone side too.
Now to finish the job, in adb shell put this in, so it looks like this for super users:
Code:
adb shell
$ su
su
# mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
And for Rooted users:
Code:
adb shell
# mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
Notice the 'rw' is now just 'r' this makes the system folder turn back to read only mode, so not to **** it up later
Hope this has helped many of you!!

Stock Calendar, HELP PLEASE

Hello,
Accidentally today I removed Calendar.apk and CalendarProvider.apk from /system/apps.
But I have the backups .apk from /system/apps.
This is what I do:
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/Calendar.adk > /system/app/Calendar.adk
cat /sdcard/CalendarProvider.apk > /system/app/CalendarProvider.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
reboot
And the app doesn't appear in the menu or in other place. What I'm doing wrong?

[Q] Moto G (XT1032) Internal partition formatted problem

My first gen moto g is stuck in a bootloop, everything i have done so far has not worked.I have tried to flash using fastboot and mfastboot with different stock images in all I get failed to erase partition, remote failure.
The internal storage says it has 0 mb of space. I have Twrp installed and using cat /proc/partitions finds no partitions
~ # ←[6ncat /proc/partitions cat /proc/partitions major minor #blocks name
I have managed to push a Stock rom but can´t flash it with mount data error,mount sd card error, mount system error and mount cache error..
I have tried to use Adb remount but it fails
remount failed: Success
I also tried the following commands
adb shell
su
mount -o rw,remount -t yaffs2 /system
mount -o rw,remount -t yaffs2 /data
mount -o rw,remount -t yaffs2 /cache
And they give the following error
adb shell ~ # ←[6nsu su /sbin/sh: su: not found ~ # ←[6nmount -o rw,remount -t yaffs2 /system mount -o rw,remount -t yaffs2 /system mount: can't find /system in /proc/mounts ~ # ←[6nmount -o rw,remount -t yaffs2 /data mount -o rw,remount -t yaffs2 /data mount: can't find /data in /proc/mounts
In recovery mode, i went to advanced, then Terminal Command, then entered the command df and it listed
Filesystem 1K BLocks Used Available %Use
tmpfs/dev 443852 48 443804 0
tmpfs/tmp 443852 24 443828 0
I have also uploaded a recovery.log
Any help would be greatly appreciated
I have found this xda post with the partition table and sizes of the moto g. http://forum.xda-developers.com/showpost.php?p=48855450&postcount=35
I also found this xda post where they partition the emmc http://forum.xda-developers.com/showthread.php?t=2596521 , if someone could help me identify what should I put in adb.
I think the solution is to reformat using adb but i dont know how.
I have the exact same problem and would love to know if you have fixed it please.

[Q]android M,adb shell can't mount partition.Permission denied

Hi there,Since my M9 update to android M.I want to deodex RUU like what I did in android 5.0.
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
this is what I did.and shows like this
Code:
[email protected]_himaulatt:/ $ su
[email protected]_himaulatt:/ # stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount: Permission denied
I don't know what should I do. I use charge only option when I plug to USB.
if there any solution.I will be very happy:silly:

Categories

Resources