Root Coby 8065 via ADB

Discussion in 'Coby Generation 4 Technical' started by tpaine, Nov 11, 2013.

  1. tpaine

    tpaine Senior Member

    Joined:
    Aug 18, 2012
    Messages:
    525
    Likes Received:
    130
    Trophy Points:
    132
    Location:
    Socal
    Tablet / Device:
    Coby 7042, Coby 8065, Lenovo A2109
    Good point. Here is the backup method recommended by vampirefo:

    mkdir /sdcard/dump

    cat /dev/mtd/mtd4 > /sdcard/dump/boot.img
    cat /dev/mtd/mtd3 > /sdcard/dump/recovery.img
    cat /dev/mtd/mtd0 > /sdcard/dump/bootloader.img
    busybox tar -czvf /sdcard/dump/coby33_system.tgz /system
     
    • Like Like x 2
  2. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036


    -------------------------------------------------------------------------------------------------------------------------------------------------

    Okay, I extracted the AMLogic_Coby_ADB_root zip in with ADB on Linux, and proceeded to terminal up: adb - adb devices - device found and is connected. Attempted to: adb push data /data/local/tmp/

    but received the message: "mcclaints@Inspiron-1100-ubuntu:~$ adb push data /data/local/tmp/
    cannot stat 'data': No such file or directory"

    So I need to create the " /data/local/tmp " directory on the device/mid8065. Or am I wrong?? ? This "newbie" post will help others too, should they come across the same.(smilz) I think I must create the directory. (But let me know if I'm wrong please.)
    Thanks tpaine! I hope your day is going fine. 26 degrees last night here in Monroe, OR - ice on the ground this morning, but NO RAIN!!!(smilz) Can finish up trimming the folks house!
    Thank you kind sir!
    (warm smilz)
     
  3. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036
    Thanks to you and Vampire for the dump method and rooting methods. I will incorporate this immediately after the root, and no later.(warm smilz)

    ------------------------- This code, after I root the beast!

    mkdir /sdcard/dump

    cat /dev/mtd/mtd4 > /sdcard/dump/boot.img
    cat /dev/mtd/mtd3 > /sdcard/dump/recovery.img
    cat /dev/mtd/mtd0 > /sdcard/dump/bootloader.img
    busybox tar -czvf /sdcard/dump/coby33_system.tgz /system
     
    Last edited: Nov 22, 2013
  4. tpaine

    tpaine Senior Member

    Joined:
    Aug 18, 2012
    Messages:
    525
    Likes Received:
    130
    Trophy Points:
    132
    Location:
    Socal
    Tablet / Device:
    Coby 7042, Coby 8065, Lenovo A2109
    Looks like the "data" directory is missing. You hit upon a good point here. The extract line should read "Extact the zip file to your working directory."

    Then, if you list your directory, you should see the data folder and it should contain the mempodroid and other files from the zip.

    The adb push command is all that's needed to copy the files over.
     
    Last edited: Nov 22, 2013
  5. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036
    Hello!(warm smilz) Thanks for the help! Ya, inside the tablet, under "FileBrowser", it's showing the "Local Disk" and "External Storage Card". Under the "Local Disk" directory, I see folders for "Android", "dump"(???), and "Notifications". Where the "dump" folder is from, I have NO clue. I NEVER tried dumping with this tablet. It is a used one. But I never dumped it. Not yet anyway. I even did a wipe from stock recovery, when I first got this thing.LOL
    Anyway, I guess I need to create a new "data" and "tmp" inside the data folder somehow, then try the ADB again?(smilz)
    Well, thanks again tpaine!

    Todd
     
  6. tpaine

    tpaine Senior Member

    Joined:
    Aug 18, 2012
    Messages:
    525
    Likes Received:
    130
    Trophy Points:
    132
    Location:
    Socal
    Tablet / Device:
    Coby 7042, Coby 8065, Lenovo A2109
    Check if you are rooted

    adb shell

    shellatandroid$ su

    shell#

    If you are rooted, just redo the dump.
     
  7. tpaine

    tpaine Senior Member

    Joined:
    Aug 18, 2012
    Messages:
    525
    Likes Received:
    130
    Trophy Points:
    132
    Location:
    Socal
    Tablet / Device:
    Coby 7042, Coby 8065, Lenovo A2109
    To get the files from the tablet to the desktop:

    in linux working directory

    mkdir backup

    adb pull /data/local/tmp/boot.img backup/boot.img

    for all backup files.
     
    Last edited: Nov 22, 2013
  8. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036


    ---------------------------------------------------

    Was hoping that would be easy/in there already!(smilz) "su not found".(sighs) I think I... " mkdir /sdcard/local/temp " from the ADB prompt, don't I?? ? Sorry for the "NEWBIE"like way here.(smilz) Once I create that over there, then I should be able to root using the unpacked zip you created with the root.sh script you created, which installs the SU?(sighs) Telephone!!!LOL
     
  9. tpaine

    tpaine Senior Member

    Joined:
    Aug 18, 2012
    Messages:
    525
    Likes Received:
    130
    Trophy Points:
    132
    Location:
    Socal
    Tablet / Device:
    Coby 7042, Coby 8065, Lenovo A2109
    To view the data folder on the tablet, you need a file explorer with root permissions.

    Thats why its quicker to use the adb pull command and get it all done at once. (if everthing goes well)
     
  10. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,836
    Likes Received:
    1,394
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Looks like you are confusing Ubuntu, you need to push data folder contents to tmp folder.

    adb push data /data/local/tmp
    Your error says you didn't tell adb where the data folder is located.
    Add the path to data folder.

    Example

    adb push /home/vampirefo/data /data/local/tmp

    Sent from my SPH-D710 using Android Phone.
     
    • Like Like x 4
  11. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036
    ---------------------------------------------------------------

    extract AMlogic_Coby_ADB_root.zip

    adb push data /data/local/tmp/

    adb shell

    chmod 0777 /data/local/tmp/mempodroid

    /data/local/tmp/mempodroid 0xdaa4 0xaffb sh /data/local/tmp/root.sh

    su

    Except at the: " adb push data /data/local/tmp/ ", I try, but I keep getting an error message of: " cannot stat 'data': No such file or directory ".(sighs)

    I'm not sure what's causing that to occur. I'm pretty certain it's not a permissions thing. And ADB sees and lists the device normally in Linux(Ubuntu 12.04)
    (sighs)
     
  12. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036


    ------------------------------------------------------------- Trying ----------------------------------------- ...

    Like so?? ? " adb push /home/adt-bundle-linux-x86-20131030/sdk/platform-tools/data /data/local/tmp "

    Thanks guys! I know you're busy!!!(smilz)
     
  13. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036
    ' cannot stat '/home/adt-bundle-linux-x86-20131030/sdk/platform-tools/data': No such file or directory ' I feel like a "bonehead".LOL (sighs)


    I need mkdir on the tablet first though, create a new folder to push to?
     
    Last edited: Nov 22, 2013
  14. tpaine

    tpaine Senior Member

    Joined:
    Aug 18, 2012
    Messages:
    525
    Likes Received:
    130
    Trophy Points:
    132
    Location:
    Socal
    Tablet / Device:
    Coby 7042, Coby 8065, Lenovo A2109
    The linux file system is still confusing to me. With a Downloaded file, it starts in that directory. I used archive manager to create the platform-tools/data directory and then extract to that directory.

    Not during root. the adb push takes care of that.
     
    • Like Like x 2
  15. mcclain_ts

    mcclain_ts Senior Member

    Joined:
    Aug 29, 2013
    Messages:
    120
    Likes Received:
    42
    Trophy Points:
    102
    Location:
    Monroe, Oregon USA
    Tablet / Device:
    Coby KYROS MID7033, MID7036
    LOL Confusing the heck out of me too!LOL Then again, I'm not as familiar as I'd like to be.(YET!)LOL Give me time, Linux and I will become acquainted.(smilz) Not having much luck here. I might be faster/better off just to copy the zip you made to a small microSD external I have here somewhere, and load it that way. The ADB acts strange for me under Ubuntu too. I adb devices(without "adb shell") and it shows the device. I do "adb shell", and it shows no devices connected.(sighs) Hmmm...(thinking)(scratching my head) Well, I am a "Newb'" after all.(smilz)

    ------------------------------------------------------------ Ya,... I thought...

    I thought that when we give the command to 'push', the directories we order/ask to push, ADB should create those on the fly for us. I figured that much. I'm pretty certain I have ADB set up correctly, and am laying out the path/s correctly as Vampire pointed out. But maybe I am missing one tiny part/instruction/part of the correct command, etc. to get her to "sit up and roll over".(smilz)

    I do a " cat /proc/mtd " with/without adb shell, and I do see a nice listing for the device under the shell. Nothing outside.(scratching my melon)

    A LOT to learn still. A LOT! Not ready to go back to Windows XP just yet.LOLLLlllllll
     

Share This Page

Search tags for this page
coby kyros 8065 firmware download
,

coby kyros mid8065 firmware

,
coby kyros mid8065 firmware download
,

coby mid8065 firmware

,
crystal root zip
,
download crystal root for coby kyros mid 8065
,
download firmware for coby kyros mid8065 via adb
,
how to root your coby mid8065
,

how to update coby8065

,
mid 8065 flh