libimobiledevice-win32
libimobiledevice-win32 copied to clipboard
libimobiledevice-win32 code showing error
hi....... libimobiledevice-win32 is showing error of "error link 1104 :cannot open file libimobiledevice.lib " in projects idevice-debug-client and idevicebackup2
hi prateek1108,i can build the solution with no errors, maybe u should set idevice-debug-client 'project dependence' libimobiledevice?
thanks airwolf2026 for reply, by your suggestion i am able to remove the compile time error but now runtime error is coming i.e" unable to start program \libimobiledevice-win32-master\debug\getopt.lib"
just set a project that you need as startup project using project's context menu (you have getopt project as startup project now)
which project i have to set as startup project.....
I have set getopt project as startup project but runtime error is continuing... i.e "unable to start program \libimobiledevice-win32-master\debug\getopt.lib"
hi vc123456, the getopt project is a dll ,not a exe, so if you want to debug ,you should set 'ideviceinstalller' or other you like as a startup projcet
hi airwolf2026, for your reply, i have set ideviceinstaller as a startup project but now runtime error is coming i.e" The program can't start because zlib1.dll is missing from your computer. Try reinstalling the program to fix this problem"
hi airwolf2026, In which operating system and evirnment(Software installed) for compiling this code
there are dlls (zlib, iconv, libxml2) in vendors directory, you have to put them to Debug directory
hi prateek1108 my env is win7+sp1, and vs2010
hi, i have restore all dlls (zlib, iconv, libxml2) in debug folder respect to error but runtime exception is coming. i have simple explain my problem.... i want to create simply window based application (vs2010) to copy sms.db ( /private/var/mobile/Library/SMS/sms.db) file in iphone to my computer for recover deleted sms and backup purpose without jail-breaking.
please give you any type of suggestion.. thanks in advance....
but in vs 2010 this .sln is showing file unidentified .........i had tried this in windows xp ,vs 2012.,
hi vivek0626, you could use Filerelay service to download the sms.db or use the backupclient2
hi airwolf2026, thanks for reply, suggest any of the demi project link...
currently my project copied sms.db database on jailbreak iphone but i want to copy without jailbreking iphone.
without jailbreak,you could use file_relay.c to download the user dbs(contains addressbook,sms etc);
can you create a small project to download the addressbook db.
i had run this code but some of .dll is giving error at run-time ..........can you please provide any other link to this code or to code compatible with vs 2010......something is missing or corrupted in this libimobiledevice-win32 code.
hi vivek0626, i wrote a demo func to download the userdatabase
idevice_t device = NULL; lockdownd_client_t client = NULL; lockdownd_service_descriptor_t service_descriptor = NULL;
if (IDEVICE_E_SUCCESS != idevice_new(&device, NULL)) {
fprintf(stderr, "No iPhone found, is it plugged in?\n");
return;
}
if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &client, "file_relay")) {
fprintf(stderr, "Could not connect to lockdownd. Exiting.\n");
goto leave_cleanup;
}
if ((lockdownd_start_service
(client, "com.apple.mobile.file_relay",
&service_descriptor) != LOCKDOWN_E_SUCCESS) || !service_descriptor->port) {
fprintf(stderr,
"Could not start com.apple.mobile.file_relay!\n");
goto leave_cleanup;
}
file_relay_client_t fileRelayClient = NULL;
file_relay_error_t ret = file_relay_client_new(device,service_descriptor,&fileRelayClient);
if(ret!=FILE_RELAY_E_SUCCESS)
goto leave_cleanup;
else
{
idevice_connection_t connection = NULL;
//connect to the service port
idevice_error_t connRet = idevice_connect(device,service_descriptor->port,&connection);
if(connRet==IDEVICE_E_SUCCESS)
{
const char* source[2]={"UserDatabases",NULL};
ret = file_relay_request_sources(fileRelayClient,source,&connection);
}
}
leave_cleanup:
if (client) {
lockdownd_client_free(client);
}
idevice_free(device);
//bla bla other resource release
Hi Sir @airwolf2026 ,
Could you please tell me how can i insert and extract Text Message(SMS) from ios device .If any Example code or process its really appreciated .
Thanks a lot in advance.
@vipinbeni You can extract SMS from FileRelay service. You can't insert message in SMS in normal iOS(except jailbreak)
Dear Sir @airwolf2026 ,
Can you give me some reference code for sms(FileRelay ) and i have a product that insert sms to ios device without jailbreak. is there are no way to insert sms text messages to device.
thanks vipin
@vipinbeni That product may be use a ath flaw (no check the path is valide)
Dear Sir @airwolf2026 , Could you please tell me about this in detail if you have time as i have no idea about ath flaw and FileRelay
thanks.
@vipinbeni Why your team make another wheel? Because there are a lot free software to manage iDevice.
Dear Sir ,
Its our project to complete ios syn .
that why we have to complete it. Please help me.
thanks.
On Fri, Feb 27, 2015 at 8:36 AM, airwolf2026 [email protected] wrote:
@vipinbeni https://github.com/vipinbeni Why your team make another wheel? Because there are a lot free software to manage iDevice.
— Reply to this email directly or view it on GitHub https://github.com/storoj/libimobiledevice-win32/issues/7#issuecomment-76323266 .
Thanks Vipin Kumar Beniwal