GithubHelp home page GithubHelp logo

programmin1 / iostransfergui Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 2.0 16 KB

Simple GTK GUI program to transfer books to iPad, share files to/from compatible apps, and screenshot iDevices. Tested on Ubuntu with libimobiledevice 1.2.

License: GNU General Public License v2.0

Python 100.00%
libimobiledevice ipad ios linux hacktoberfest

iostransfergui's Introduction

iosTransferGUI

Simple GTK GUI program to transfer books to iPad, share files to/from compatible apps, and screenshot iDevices. Tested on Ubuntu with libimobiledevice 1.2.

This simple application builds upon the work of Book2Pad, Ifuse and Libimobiledevice and their Python bindings (Thanks Zhou Hao for the examples).

Setup

  • Libimobiledevice >= 1.2 is required to connect with recent versions of iOS.
  • Ifuse >= 1.1.3 is required for app itunes-file-sharing support with --documents.
  • Python-plist and Python-imobiledevice packages should be installed.

Features

  • Drag and drop books to iBooks
  • Mount itunes-file-sharing-compatible apps to transfer files to/from device.
  • Screenshot and save tif image file.
  • View device details.

Usage

  • Download with the "Download Zip" link, or git checkout the repository.
  • Run TransferGUI.py

iostransfergui's People

Contributors

programmin1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

iostransfergui's Issues

ImportError: No module named gi.repository

New install of Ubuntu 16.04 I get the following error when trying to run:

Traceback (most recent call last):  
  File "./TransferGUI.py", line 8, in <module>  
    from gi.repository import Gtk, GdkPixbuf, Gdk  
ImportError: No module named gi.repository

This is fixed by installing the python-gi package. Perhaps this package should be added to the requirements list? Thanks!

No such file or directory when trying to copy PDFs to Ipad

Hi there,

I'm using Ubuntu 16.04 to run iosTransferGUI. All dependencies were met and I built my own version from github.
iosTransferGUI gives this info about my device:

ActivationStateAcknowledged: true
BasebandStatus: NoTelephonyCapabilty
BluetoothAddress: 3c:15:c2:54:2e:1a
BoardId: 10
BrickState: false
BuildVersion: 13F69
CPUArchitecture: armv7f
ChipID: 35138
CompassCalibration: CwIGAAMA+P/l//r/WQD9/wAA/f/1/wEAWQBI2Q==
DeviceClass: iPad
DeviceColor: black
DeviceName: iPad de Mr Nutz
DieID: 2887971262057677972
EthernetAddress: 3c:15:c2:54:2e:1b
FirmwareVersion: iBoot-2817.50.3
HardwareModel: P105AP
HardwarePlatform: s5l8942x
HostAttached: true
MLBSerialNumber: C7L4274087RF570AR
ModelNumber: MF432
NonVolatileRAM: 
 auto-boot: dHJ1ZQ==
 backlight-level: MTY5Mw==
 boot-args: 
 oblit-begins: T2JsaXRUeXBlOiBPYmxpdGVyYXRlRGF0YVBhcnRpdGlvbi4gTm8gcmVhc29uIGdpdmVuLg==
 obliteration: aGFuZGxlX21lc3NhZ2U6IE9ibGl0ZXJhdGlvbiBDb21wbGV0ZQ==
PartitionType: 
PasswordProtected: true
ProductName: iPhone OS
ProductType: iPad2,5
ProductVersion: 9.3.2
ProductionSOC: true
ProtocolVersion: 2
ProximitySensorCalibration: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
RegionInfo: TY/A
SBLockdownEverRegisteredKey: false
SIMStatus: kCTSIMSupportSIMStatusReady
SerialNumber: F7NN2CHWFP84
SoftwareBehavior: AQAAAAAAAAAAAAAAAAAAAA==
SoftwareBundleVersion: 
SupportedDeviceFamilies[2]: 
 0: 1
 1: 2
TelephonyCapability: false
TimeIntervalSince1970: 1470405963.802384
TimeZone: Europe/Madrid
TimeZoneOffsetFromUTC: 7200.000000
TrustedHostAttached: true
UniqueChipID: 3850748797903
UniqueDeviceID: c0a7a8664ec1d489047996ac10549d71b1ebfc27
UseRaptorCerts: true
Uses24HourClock: false
WiFiAddress: 3c:15:c2:54:2e:19
WirelessBoardSerialNumber: 14185269770

As you can see, OS version is 9.3.2.
However, when I try to copy a PDF to the Ipad, I get:

Transfer to: /run/user/1000/gvfs/afc:host=c0a7a8664ec1d489047996ac10549d71b1ebfc27,port=3
Traceback (most recent call last):
File "./TransferGUI.py", line 175, in on_drag_data_received
book2pad.addbooks( iPadDir, url_splitted )
File "/home/manuel/src/iosTransferGUI/book2pad.py", line 96, in addbooks
tree, array = parse_plist(plist)
File "/home/manuel/src/iosTransferGUI/book2pad.py", line 48, in parse_plist
os.makedirs(os.path.dirname(plist))
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: '/run/user/1000/gvfs/afc:host=c0a7a8664ec1d489047996ac10549d71b1ebfc27,port=3/Books'

Any ideas on what the problem could be here?

properly exit the script

Closing the windows wont exit the script. It keeps running. It's only possible to shut it down with killing the process from another terminal.

Error:No module named plist

when I click "App Documents/File-sharing" it shows this . how could I slove it ? By the way Add pdf to ibooks can work nicely.Thank you !

GUI Design

Would you be interested in making it look a little better? I am a designer and would love to come up with a few simple examples and provide all of the graphics to you. Please let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.