Coby Kyros 7042-4 system space issue

Discussion in 'Coby Generation 3' started by Hibtek, Jun 7, 2013.

  1. Hibtek

    Hibtek Member

    Joined:
    Jun 7, 2013
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    62
    Location:
    Cleethorpes
    Tablet / Device:
    Kyros 7042
    Hi,

    Thanks to everyone for the help, I have been reading this site and have got much help, but im stuck and need some assistance :)

    I have tried to root my tablet 7042-4, and all seemed to go well, but its does not seemed to have actually done anything.

    I followed the instructions here http://www.androidtablets.net/forum...ead-first-development-index-root-utility.html

    Its all connected ok and it copied the files ok, but I think the rooting process ran out of space on /system

    shell@android:/data/local/tmp $ df
    df
    Filesystem Size Used Free Blksize
    /dev 407M 44K 407M 4096
    /mnt/asec 407M 0K 407M 4096
    /mnt/obb 407M 0K 407M 4096
    /system 251M 251M 4K 4096
    /data 1G 249M 1G 4096
    /cache 503M 8M 495M 4096
    /mnt/sdcard 4G 68M 4G 4096
    /mnt/extsd 7G 168K 7G 4096

    and now su is too small and I get a segmentation fault when I run su

    shell@android:/data/local/tmp
    $ dir /system/xbin/su
    dir /system/xbin/su
    -rwsr-sr-x root root 4096 2013-06-08 00:08 su

    shell@android:/data/local/tmp $ su
    su
    Segmentation fault
    original su is about 21k

    139|shell@android:/data/local/tmp $ dir
    dir
    -rwxrwxrwx shell shell 843503 2013-06-06 21:06 Superuser.apk
    -rwxrwxrwx shell shell 33554432 2013-06-07 23:46 boot.img
    -rwxrwxrwx shell shell 16777216 2013-06-07 23:46 bootloader.img
    -rwxrwxrwx shell shell 1075144 2013-06-06 21:06 busybox
    -rwxrwxrwx shell shell 216 2013-06-06 21:06 install-cwm-recovery.sh
    -rwxrwxrwx shell shell 222 2013-06-06 21:06 install-stock-recovery.sh
    -rwxrwxrwx shell shell 10276 2013-06-06 21:06 mempodroid
    -rwxrwxrwx shell shell 105 2013-06-06 21:06 reboot-recovery
    -rwxrwxrwx shell shell 33554432 2013-06-07 23:46 recovery.img
    -rwxrwxrwx shell shell 445 2013-06-06 21:06 root.sh
    -rwxrwxrwx shell shell 22364 2013-06-06 21:06 su
    -rwxrwxrwx shell shell 110128949 2013-06-07 23:46 system.tgz
    shell@android:/data/local/tmp $

    The Tablet does boot up and work ok, so no problems there.

    Finally managed to get the /system in rw mode, but of course can not edit or move anything in there
    is there a way of increasing the size at all?

    /dev/block/nandd /system ext4 rw,relatime,user_xattr,barrier=0,data=ordered 0 0

    Thanks for any help

    Chris
     
  2. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    You need to delete some stuff from system.

    remove from here /system/vendor/modules

    8192cu.ko
    bcm40183_dhd.ko
    bcm40183_fw.bin
    bcm40183.hcd
    ar6302.ko
    ar6003.ko

    that should get you enough room if you need more room remove more files, that you don't need.
     
  3. Hibtek

    Hibtek Member

    Joined:
    Jun 7, 2013
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    62
    Location:
    Cleethorpes
    Tablet / Device:
    Kyros 7042
    Hi,

    I keep getting access denied, I guess this is because the su is giving segment errors as its only 4k

    I tried running su from a different path, but just get the below

    shell@android:/system/vendor/modules $ /data/local/tmp/su -c "rm /system/vendor/modules/8192cu.ko"
    c "rm /system/vendor/modules/8192cu.ko" <
    rm failed for /system/vendor/modules/8192cu.ko, Permission denied
    255|shell@android:/system/vendor/modules $

    Am I missing something simple?

    I am doing this from an adb shell, should I be doing it a different way?

    Thanks
     
  4. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    you said you have system mounted as rw, (read and write, add and remove) so how did you mount system rw without being root?
     
  5. Hibtek

    Hibtek Member

    Joined:
    Jun 7, 2013
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    62
    Location:
    Cleethorpes
    Tablet / Device:
    Kyros 7042
    Hi,

    I modified this command and managed to free up some space, I removed the .ogg files from the ringtones and a couple of the files you said

    /data/local/tmp/mempodroid 0xd7cc 0xad27 rm FILES
     
  6. Hibtek

    Hibtek Member

    Joined:
    Jun 7, 2013
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    62
    Location:
    Cleethorpes
    Tablet / Device:
    Kyros 7042
    Sorry, I was trying to run the root_restore.bat, as that failed I was running the commands manually from the batch file, that command must of worked, so I answered no to the reboot, but now its working a bit better, its now got another issue which is a volume issue, you touch the tablet near the volume buttons and the volume goes up on its own :-(

    Oh well, Thanks for you pointers, im sure they wont be the last :)

    Its 3:30 am, and im getting tired now :)

    Chris
     
    • Like Like x 2
  7. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    no ideal on that one.

    anyway get some sleep, you might see things clearer later.
     
    Last edited: Jun 7, 2013

Share This Page