[Q] POV Mobii tablet: apps to /system/app not possible - Android Software/Hacking General [Developers Only]

Hi,
I am trying to copy an apk to /system/app on this tablet, but it does not work as expected.
I do the following, but /system/app remains read-only.
=====================
=============================
c:\Users\gerrit\android-sdk-windows\tools>adb shell
#
# id
id
uid=0(root) gid=0(root)
#
# mount
mount
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
#
#
# mount -o rw,remount -t cramfs /dev/block/mtdblock4 /system
mount -o rw,remount -t cramfs /dev/block/mtdblock4 /system
#
#
# mount
mount
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
# exit
exit
c:\Users\gerrit\android-sdk-windows\tools>adb push vending.apk /system/app
failed to copy 'vending.apk' to '/system/app/vending.apk': Read-only file system

Related

Partitioning internal flash

I have an Archos 7 Home Tablet running Android 1.5 Cupcake
Thanks to the one click root development happening for the N1 right now, it is possible to root stock roms. i.e. Without flashing a custom rom etc (though these are also available).
Due to the fact that /system is on a cramfs filesystem, it isn't possible to root permanently, but only for a session.
In any case, the thing I need most is increased app storage.
Here is some info on the current config:
Code:
# mount
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock4 /sqlite_stmt_journals/sys_bin_orig cramfs ro 0 0
tmpfs /system/bin tmpfs rw,size=4096k 0 0
/dev/block//vold/31:8 /flash vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0111,dmask=0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
The default roms also seem to have busybox (v 1.11) builtin.
What I want to do is either increase /data and /data/data (to approx 256 mb each) or implement some form of apps2sd which puts apps on the internal flash memory.
Can anyone point me in the right direction? Or give me some advice?
I run linux on my PC.

Help please!!!!

i have a phone here from china, the name is KATA iDROID. i was trying to root it using different types of methods, such as doomlord, superoneclick, EPRJ_EasyRoot, zopo zp100 4.0ROOT, z4root, androot, universalandroot, etc.... but i get one respond from all of these. it says failed.
i tried mounting the system manually, but it gives me permission denied.
these are the steps that i tried:
adb shell
mount -o remount,rw --t yaffs2 /dev/block/mtdblock11 /system
mount: Operation not permitted
adb shell
$ mount
C:\ADB> adb shell
$ mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mtdblock11 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock13 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock12 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock7 /system/secro yaffs2 ro,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u
id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset
=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat
ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch
arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-1 /mnt/asec/com.corner23.android.universalandroot-1 vfat ro,dirsyn
c,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=
iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
$ ^C
the phone is MT6516, android version: 2.3.5, Dual sim from china.
can anyone help me to mount the system as r/w so i can push the files that i need. thanks in advance guys
What happens when you try to use super1click? Do you have a log for that?
The adb command you are trying will work if your phone is rooted only. I mean you should have super user permission to run the command!
Try to install all the drivers of your mobile on your pc or re-install the drivers, restart the pc and try with super one click!
Super one click will prompt you to install any missing drivers during the process. Accept all and proceed.
If you still get error try
http://unlockroot.com/download.html

[Q] Please help me mount RW

Hy my friends.
My name is Chris,from Romania.
First ,please excuse me for my poor english !
I have a Prestigio Multipad PMP5100C tablet.I flash it with a rooted firmware ,by arktablet.com (Arnova10 custom firmware,Android 2.2.1,froyo). It work good
for me,but I can not access system file,because is mount Read-Only.
I try "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" ,but not work.
With adb I got this :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Documents and Settings\Administrator>g:
G:\>cd G:\SDK\sdk\platform-tools
G:\SDK\sdk\platform-tools>adb devices
List of devices attached
11223344 device
G:\SDK\sdk\platform-tools>adb shell
# su
su
# cat /proc/mounts
cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
tmpfs /mnt tmpfs rw,mode=755,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,mode=755,gid=1000 0 0
/dev/block/vold/31:8 /mnt/sdcard vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
/dev/block/vold/31:8 /mnt/secure/asec vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,size=0k,mode=000 0 0
/dev/block/vold/179:1 /mnt/sdcard/external_sd vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
# exit
exit
Please help me to mount my device as RW.
Thanks in advance.
cristicaras said:
Hy my friends.
My name is Chris,from Romania.
First ,please excuse me for my poor english !
I have a Prestigio Multipad PMP5100C tablet.I flash it with a rooted firmware ,by arktablet.com (Arnova10 custom firmware,Android 2.2.1,froyo). It work good
for me,but I can not access system file,because is mount Read-Only.
I try "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" ,but not work.
With adb I got this :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Documents and Settings\Administrator>g:
G:\>cd G:\SDK\sdk\platform-tools
G:\SDK\sdk\platform-tools>adb devices
List of devices attached
11223344 device
G:\SDK\sdk\platform-tools>adb shell
# su
su
# cat /proc/mounts
cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
tmpfs /mnt tmpfs rw,mode=755,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,mode=755,gid=1000 0 0
/dev/block/vold/31:8 /mnt/sdcard vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
/dev/block/vold/31:8 /mnt/secure/asec vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,size=0k,mode=000 0 0
/dev/block/vold/179:1 /mnt/sdcard/external_sd vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
# exit
exit
Please help me to mount my device as RW.
Thanks in advance.
Click to expand...
Click to collapse
Why are you mounting mtdblock3? It shows your system as mtdblock4. Not sure on the yaffs2 either. None of those are listed up there.
Mount -o remount,rw -t ext3 or cramfs /dev/block/mtdblock4 /system try something along those lines. Possibly take out the -t and ext3 as well, try cramfs
I could be totally wrong here but from the mount command its showing block4 as your system.

[Q] Problems to swap external sd to internal sd (kitkat 4.4.2)

Hi guys,
i'm sorry if i opened my question in wrong location.
I tried to swap my sd card external for internal in my device, but i don't have success.
I tried using Root External to internal using the following setup:
internal: /mnt/sdcard
external /mnt/sdcard2
device access: /dev/block/vold/179:97
and option: umask=0000
before the kitkat(4.1.2) the process successful .
I list my mount via adb and note that internal is mounted in /storage/emulated/0 and executed manual line on adb:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/shell/emulated/0
apparently worked, i use "ln -l" on "/mnt/shell/emulated/0" with "root" and list external files, but without "root" not worked.
=/
after, i list "mount" and tried in all mounts that use "/dev/fuse" but not worked.
i modified platform.xml (http://forum.xda-developers.com/showthread.php?t=2687734) but not worked.
Below is the list of "mount" default of device:
mount
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,relatime,mode=755,uid=1023,gid=1023 0 0
/[email protected] /system ext4 ro,seclabel,noatime,noauto_da_alloc,commit=1,data=ordered 0 0
/[email protected] /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/[email protected] /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/[email protected] /flex ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/[email protected] /misc/phone ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.maxmpz.audioplayer.unlock-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.smarterdroid.wififiletransferpro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/vold/179:97 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
can anyone help me?

[Completed] Need Help Getting Rid Of Write Protect In /system

I'm using Huawei g7 and i'm trying to install busybox but i keep getting a error
i'm a 100% sure this is because there is some wierd write protection on /system. i know this because everytime i try to change it to rw in es explorer it changes back to ro when i close to app.
I also tried some terminal commands but with no luck so far.
Any help would be appreciated
Here is the full log of my terminal commands:
` [email protected]:/ $ su [email protected]:/ # mount rootfs / rootfs rw,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=970080k,nr_inodes=155313,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,seclabel,relatime 0 0 selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=750,gid=1000 0 0 none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0 none /dev/frz cgroup rw,relatime,freezer 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 /dev/block/bootdevice/by-name/log /log vfat rw,relatime,uid=1000,gid=1007,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 /dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0 /dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0 /data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0 /dev/block/bootdevice/by-name/cust /cust ext4 rw,seclabel,relatime,data=ordered 0 0 [email protected]:/ # mount -o rw,remount /system mount: Read-only file system 255|[email protected]:/ # mount rootfs / rootfs rw,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=970080k,nr_inodes=155313,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,seclabel,relatime 0 0 selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=750,gid=1000 0 0 none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0 none /dev/frz cgroup rw,relatime,freezer 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=970080k,nr_inodes=155313,mode=755,gid=1000 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 /dev/block/bootdevice/by-name/log /log vfat rw,relatime,uid=1000,gid=1007,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 /dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0 /dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0 /dev/block/bootdevice/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0 /data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0 /dev/block/bootdevice/by-name/cust /cust ext4 rw,seclabel,relatime,data=ordered 0 0 [email protected]:/ #`
Cleaner version:
[email protected]:/ $ su
[email protected]:/ # mount
…
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
…
[email protected]:/ # mount -o rw,remount /system
mount: Read-only file system
255|[email protected]:/ # mount
…
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
…
[email protected]:/ #
Hello and thank you for using XDA Assist,
please ask in our Android Q&A section:
Android Q&A, Help & Troubleshooting
The experts there should be able to help you.
Kind regards & good luck
Trafalgar Square
XDA Assist

Categories

Resources