How to Use Mars Box adb Tool to Import/Export Channel List

There is 1 reply in this Thread which was already clicked 1,034 times. The last Post () by tony34567.

  • [B How to Import/Export channel list via adb tool.
    ]If you want get the pm.db file from box
    1. adb kill-server
    2. adb connect 192.168.1.xx
    3. adb remount
    4. adb shell “ls /sdcard/app/dtv/ -la”
    This step is to check if pm.db is exist, if exist,There is a pm.db name to show.
    5. adb pull /sdcard/app/dtv/pm.db ./
    When this step is run, the remote pm.db will be pull to current dir.



    If you want send the pm.db file to box
    1. adb kill-server
    2. adb connect 192.168.1.xx
    3. adb remount
    4. adb push ./pm.db /sdcard/app/dtv/pm.db
    When this step is run, the pm.db in current dir will be push to remote dir.



    Notice:
    Because the sw have two version.
    At before the database dir is /data/app/dtv/pm.db
    Now the database dir is /sdcard/app/dtv/pm.db

  • Updated commands works (windows command prompt) with latest Mars software
    To pull database from box to pc .
    Download adb_tool on desktop from here http://linuxsat-support.com/attachment.php?attachmentid=32798&d=1429715717
    Run cmd
    edit and match file path then
    copy and paste below lines


    cd C:\Users\yourusername\Desktop\adb_tool


    C:\Users\yourusername\Desktop\adb_tool>adb kill-server


    C:\Users\yourusername\Desktop\adb_tool>adb connect 192.168.1.xx
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    connected to 192.168.1.xx:5555


    C:\Users\yourusername\Desktop\adb_tool>adb remount
    remount succeeded


    C:\Users\yourusername\Desktop\adb_tool>adb pull /sdcard/dtv/pm.db database
    514 KB/s (372736 bytes in 0.707s)




    To push database from pc to box.


    cd C:\Users\yourusername\Desktop\adb_tool


    C:\Users\yourusername\Desktop\adb_tool>adb kill-server


    C:\Users\yourusername\Desktop\adb_tool>adb connect 192.168.1.xx
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    connected to 192.168.1.xx:5555


    C:\Users\yourusername\Desktop\adb_tool>adb remount
    remount succeeded
    C:\Users\yourusername\Desktop\adb_tool>adb push database/pm.db /sdcard/dtv/
    840 KB/s (372736 bytes in 0.433s)



    Note : keep it in mind to push database to box , pm.db file should be in database dir.


    if any problem reply here.

    Edited once, last by tony34567: typo ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!