crackleware / idevice-app-runner

Run app on iDevice using libimobiledevice and com.apple.debugserver service
49 stars 25 forks source link

Could not start com.apple.debugserver! #1

Open hepha opened 12 years ago

hepha commented 12 years ago

hello i use arch linux i will run idevice-app-runner but have bug plz help me thx

idevice-app-runner -d -U ID -r ipod/private/var/mobile/Applications/ Could not start com.apple.debugserver!

crackleware commented 12 years ago

Hi! Thank you for trying out idevice-app-runner!

Be sure to execute idevice-app-runner like this:

idevice-app-runner -U ID -r /private/var/mobile/Applications/HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH/NameAppBundle.app

where H is hex digit from UUID of target app. There is also name of the app bundle at the end of path. Look at the output of 'ideviceinstaller -l -o xml', you should see the full path precisely.

All the best!

hepha commented 12 years ago

hello and thank you i use ifuse mount to ~/ipod

[~/ipod]

idevice-app-runner -r private/var/mobile/Applications/2070D493-B37F-4338-8CFA-9C635ADD7CE7/cwb.app Could not start com.apple.debugserver!

i debug show this

ideviceinstaller -l -o xml|grep app<

/private/var/mobile/Applications/23483782-510A-4260-8B81-8D620A3B4AFC/TW Railway.app
    <string>/private/var/mobile/Applications/5C8857B9-77B7-4816-9571-D38605048BE3/geLinStory.app</string>
    <string>/private/var/mobile/Applications/7F5C8140-EC2F-4936-9A80-F7FD5CBC567D/HamiMusic.app</string>
    <string>/private/var/mobile/Applications/7046FA69-3F22-4663-A6CD-FC8C98D9EC49/Drainworks.app</string>
    <string>/private/var/mobile/Applications/5DDA22BA-E4DC-4E40-9DE0-F1482AA5F101/AppsGratis-Taiwan.app</string>
    <string>/private/var/mobile/Applications/26A2D6A5-E28C-40C2-97F8-F7D682931D54/WM-24H-MC.app</string>
    <string>/private/var/mobile/Applications/AC84CD36-5FF9-4C12-BB2C-F845BAC802F8/TS3.app</string>
    <string>/private/var/mobile/Applications/D2F760FB-6206-46FF-BCD0-B541312A42A0/XinLiaoZhaiDuanPian20111026155744.app</string>
    <string>/private/var/mobile/Applications/257E5B12-C614-4C65-BF5E-0D786BF3829A/CourseInfo.app</string>
    <string>/private/var/mobile/Applications/F09ED294-7276-4DFA-A636-006BD7BEA397/Notebox.app</string>
    <string>/private/var/mobile/Applications/21404EEA-AB3C-4B37-9728-7698F7AC7722/FreeApps100.app</string>
    <string>/private/var/mobile/Applications/3FBF4B6A-C044-48F8-9818-AF6534D803AF/TuneIn Radio Pro.app</string>
    <string>/private/var/mobile/Applications/CF65005F-872C-4C05-9155-8C05E4838DED/QRadioPlayerTaiwanLite.app</string>
    <string>/private/var/mobile/Applications/9FC3705A-DDFA-409A-8A83-A1082D95D08E/Dropbox.app</string>
    <string>/private/var/mobile/Applications/B13D6403-1B75-4CC7-9347-72E959B45C3A/TWWeather.app</string>
    <string>/private/var/mobile/Applications/2F8A0B80-DD8D-42EE-883F-C8DB329B8E44/ChineseFairyTale.app</string>
    <string>/private/var/mobile/Applications/F8F389BE-0385-4919-83CB-792A654EE6DA/FeedMeOil.app</string>
    <string>/private/var/mobile/Applications/AD790968-9C4A-4010-9717-E846A11BF65E/TaiwanReceiptFree.app</string>
    <string>/private/var/mobile/Applications/4398206B-4341-4D7F-9D8A-D4074001A147/Mp3Player.app</string>
    <string>/private/var/mobile/Applications/2DEE66DF-67F7-49BB-B2B4-95F951DE4867/ToliBook.app</string>
    <string>/private/var/mobile/Applications/A30413DC-0DCE-44BF-A7C1-019BC71BCA88/TEDPlayer.app</string>
    <string>/private/var/mobile/Applications/A321C283-6409-4FE7-8582-49A65876B75B/LifeWisdom.app</string>
    <string>/private/var/mobile/Applications/7936F670-2CC8-4284-B7D6-2F9C360A61BD/JingXuanAnTuShengTongHuaInApp.app</string>
    <string>/private/var/mobile/Applications/E09C201B-02DF-4038-8EDF-EDC0CD87584A/Roudoku.app</string>
    <string>/private/var/mobile/Applications/A6C6261C-EE82-4FF9-8FA1-E09E022D45B8/MyRadioTW.app</string>
    <string>/private/var/mobile/Applications/2070D493-B37F-4338-8CFA-9C635ADD7CE7/cwb.app</string>
    <string>/private/var/mobile/Applications/34793EBD-C643-45C8-95DD-C760E384FC65/GoodPlayer.app</string>
    <string>/private/var/mobile/Applications/00450FDD-491D-40ED-B65E-FDDAAB5EC843/iFanbox.app</string>
    <string>/private/var/mobile/Applications/82C480E2-BBF1-4E03-AA4F-0FEBD9DA55B2/BedtimeStories.app</string>
    <string>/private/var/mobile/Applications/4920D8A1-DA3A-4E79-8567-D32C40A1CCF1/                     .app</string>
    <string>/private/var/mobile/Applications/51103DDE-6DC5-48EC-862A-85907CBCEEAA/DiZiGuiZhuYinBanInApp.app</string>
    <string>/private/var/mobile/Applications/71436FDE-5A98-4008-A2CE-05BABB6DB7D0/Ertonggushi.app</string>
    <string>/private/var/mobile/Applications/DA51A916-B530-4FD0-9730-DB54AFE87A30/project.app</string>
    <string>/private/var/mobile/Applications/8FD7DD63-4D94-43CB-AC1B-6131806F2426/TaskAgentFree.app</string>
    <string>/private/var/mobile/Applications/68153CD4-75A4-47AC-A3BB-08881CEE4530/GameApe.app</string>
    <string>/private/var/mobile/Applications/FB551437-A360-4C4C-A1DE-8D736B232116/aupeo.app</string>
    <string>/private/var/mobile/Applications/052CD53E-910D-411B-8D6A-00B3F104994C/PoemsT.app</string>
    <string>/private/var/mobile/Applications/2B2EC073-AEC2-4039-A578-AF9604723DF2/QTRadio.app</string>
    <string>/private/var/mobile/Applications/C5165BA8-06AE-42ED-B4DA-9C3BC8DA0D3E/PhotoManager.app</string>
crackleware commented 12 years ago

How about this:

idevice-app-runner -r /private/var/mobile/Applications/2070D493-B37F-4338-8CFA-9C635ADD7CE7/cwb.app

(there was / missing)

You don't have to mount it to use idevice-app-runner. But it's possible that developer image must be mounted (with idevicemountimage or from Xcode) prior to using idevice-app-runner. I'm not sure.

Tell me if it still doesn't work. We'll run it in the end I'm sure. :-)

Best regards!

hepha commented 12 years ago

A pity not to use or Thank you for your help

hepha commented 12 years ago

I do not know if the backup of previous versions of iOS upgrade are not satisfied, can revert to the older use idevicebackup2?

crackleware commented 12 years ago

Hi,

I tested idevice-app-runner 2bcf6f2a0ec908bb280293942391623f0540f23f with http://cgit.sukimashita.com/libimobiledevice.git/commit/?id=96e06ea1e4dabd2a3d4b51c799842dee2e279f30 on Ubuntu 10.04 x86_64. Device is iPod Touch with iOS 5.1.1.

This is transcript:

$ idevice-app-runner -r /private/var/mobile/Applications/HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH/MyApp.app Could not start com.apple.debugserver!

$ ideviceimagemounter dev-images/5.0/DeveloperDiskImage.dmg{,.signature} Copying 'dev-images/5.0/DeveloperDiskImage.dmg' --> 'PublicStaging/DeveloperDiskImage.dmg' done. Mounting... Done. Status: Complete

$ md5sum dev-images/5.0/DeveloperDiskImage.dmg{,.signature} ab3cef6742373cbb3e6fa8494fa8f3a5 dev-images/5.0/DeveloperDiskImage.dmg bd82a7ba338b8753bd2b66997c055dc3 dev-images/5.0/DeveloperDiskImage.dmg.signature

$ idevice-app-runner -r /private/var/mobile/Applications/HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH/MyApp.app .... ��'Hc0' ��'c' .... (normal output)

You just need to mount developer image once after device reboot.

I can send you DeveloperDiskImage.dmg{,.signature} if you don't have it. It comes with Xcode.

All the best!

uncommonthinker commented 11 years ago

Hi,

I am getting usbmuxd_send: Error -1 when sending: Broken pipe

What can be the reason ?

warfreak92 commented 7 years ago

Hi,

I am trying to run this too but I get a different error from the other guys:

Ralphs-MacBook-Pro:idevice-app-runner ralph$ ./idevice-app-runner -d -r /private/var/mobile/Containers/Bundle/Application/645D85DC-9571-4236-9C36-F65EB3FE3B71/DamnVulnerableIOSApp.app Segmentation fault: 11

What could be the reason for a segmentation fault here?

uncommonthinker commented 7 years ago

Hi @ralphandalis, as per the git page of idevice-app-runner:

Linux 3.0, x86_64, libimobiledevice-git, iOS 4.1 - works
Linux 3.0, x86_64, libimobiledevice-git, iOS 5.0.1 - works
Linux 3.0, i686, libimobiledevice-git, iOS 5.0.1 - works

Seems that they have stopped development 5 years back. So please dont try to use it.