Write a phone call recorder on iOS 8 step by step

Create a Theos project “iOSRECallRecorder”

snakeninnys-iMac:Code snakeninny$ /opt/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/cydget
  [3.] iphone/framework
  [4.] iphone/library
  [5.] iphone/notification_center_widget
  [6.] iphone/preference_bundle
  [7.] iphone/sbsettingstoggle
  [8.] iphone/tool
  [9.] iphone/tweak
  [10.] iphone/xpc_service
Choose a Template (required): 9
Project Name (required): iOSRECallRecorder
Package Name [com.yourcompany.iosrecallrecorder]: com.naken.iosrecallrecorder
Author/Maintainer Name [snakeninny]: snakeninny
[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: com.apple.mediaserverd
[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: mediaserverd
Instantiating iphone/tweak in iosrecallrecorder/...
Done.

Edit Tweak.xm

#import <AudioToolbox/AudioToolbox.h>
#import <libkern/OSAtomic.h>
#include <substrate.h>

//CoreTelephony.framework
extern "C" CFStringRef const kCTCallStatusChangeNotification;
extern "C" CFStringRef const kCTCallStatus;
extern "C" id CTTelephonyCenterGetDefault();
extern "C" void CTTelephonyCenterAddObserver(id ct, void* observer, CFNotificationCallback callBack, CFStringRef name, void *object, CFNotificationSuspensionBehavior sb);
extern "C" int CTGetCurrentCallCount();
enum
{
	kCTCallStatusActive = 1,
	kCTCallStatusHeld = 2,
	kCTCallStatusOutgoing = 3,
	kCTCallStatusIncoming = 4,
	kCTCallStatusHanged = 5
};

NSString* kMicFilePath = @"/var/mobile/Media/DCIM/mic.caf";
NSString* kSpeakerFilePath = @"/var/mobile/Media/DCIM/speaker.caf";
NSString* kResultFilePath = @"/var/mobile/Media/DCIM/result.m4a";

OSSpinLock phoneCallIsActiveLock = 0;
OSSpinLock speakerLock = 0;
OSSpinLock micLock = 0;

ExtAudioFileRef micFile = NULL;
ExtAudioFileRef speakerFile = NULL;

BOOL phoneCallIsActive = NO;

void Convert()
{
	//File URLs
	CFURLRef micUrl = CFURLCreateWithFileSystemPath(NULL, (CFStringRef)kMicFilePath, kCFURLPOSIXPathStyle, false);
	CFURLRef speakerUrl = CFURLCreateWithFileSystemPath(NULL, (CFStringRef)kSpeakerFilePath, kCFURLPOSIXPathStyle, false);
	CFURLRef mixUrl = CFURLCreateWithFileSystemPath(NULL, (CFStringRef)kResultFilePath, kCFURLPOSIXPathStyle, false);

	ExtAudioFileRef micFile = NULL;
	ExtAudioFileRef speakerFile = NULL;
	ExtAudioFileRef mixFile = NULL;

	//Opening input files (speaker and mic)
	ExtAudioFileOpenURL(micUrl, &micFile);
	ExtAudioFileOpenURL(speakerUrl, &speakerFile);

	//Reading input file audio format (mono LPCM)
	AudioStreamBasicDescription inputFormat, outputFormat;
	UInt32 descSize = sizeof(inputFormat);
	ExtAudioFileGetProperty(micFile, kExtAudioFileProperty_FileDataFormat, &descSize, &inputFormat);
	int sampleSize = inputFormat.mBytesPerFrame;

	//Filling input stream format for output file (stereo LPCM)
	FillOutASBDForLPCM(inputFormat, inputFormat.mSampleRate, 2, inputFormat.mBitsPerChannel, inputFormat.mBitsPerChannel, true, false, false);

	//Filling output file audio format (AAC)
	memset(&outputFormat, 0, sizeof(outputFormat));
	outputFormat.mFormatID = kAudioFormatMPEG4AAC;
	outputFormat.mSampleRate = 8000;
	outputFormat.mFormatFlags = kMPEG4Object_AAC_Main;
	outputFormat.mChannelsPerFrame = 2;

	//Opening output file
	ExtAudioFileCreateWithURL(mixUrl, kAudioFileM4AType, &outputFormat, NULL, kAudioFileFlags_EraseFile, &mixFile);
	ExtAudioFileSetProperty(mixFile, kExtAudioFileProperty_ClientDataFormat, sizeof(inputFormat), &inputFormat);

	//Freeing URLs
	CFRelease(micUrl);
	CFRelease(speakerUrl);
	CFRelease(mixUrl);

	//Setting up audio buffers
	int bufferSizeInSamples = 64 * 1024;

	AudioBufferList micBuffer;
	micBuffer.mNumberBuffers = 1;
	micBuffer.mBuffers[0].mNumberChannels = 1;
	micBuffer.mBuffers[0].mDataByteSize = sampleSize * bufferSizeInSamples;
	micBuffer.mBuffers[0].mData = malloc(micBuffer.mBuffers[0].mDataByteSize);

	AudioBufferList speakerBuffer;
	speakerBuffer.mNumberBuffers = 1;
	speakerBuffer.mBuffers[0].mNumberChannels = 1;
	speakerBuffer.mBuffers[0].mDataByteSize = sampleSize * bufferSizeInSamples;
	speakerBuffer.mBuffers[0].mData = malloc(speakerBuffer.mBuffers[0].mDataByteSize);

	AudioBufferList mixBuffer;
	mixBuffer.mNumberBuffers = 1;
	mixBuffer.mBuffers[0].mNumberChannels = 2;
	mixBuffer.mBuffers[0].mDataByteSize = sampleSize * bufferSizeInSamples * 2;
	mixBuffer.mBuffers[0].mData = malloc(mixBuffer.mBuffers[0].mDataByteSize);

	//Converting
	while (true)
	{
		//Reading data from input files
		UInt32 framesToRead = bufferSizeInSamples;
		ExtAudioFileRead(micFile, &framesToRead, &micBuffer);
		ExtAudioFileRead(speakerFile, &framesToRead, &speakerBuffer);
		if (framesToRead == 0)
		{
			break;
		}

		//Building interleaved stereo buffer - left channel is mic, right - speaker
		for (int i = 0; i < framesToRead; i++)
		{
			memcpy((char*)mixBuffer.mBuffers[0].mData + i * sampleSize * 2, (char*)micBuffer.mBuffers[0].mData + i * sampleSize, sampleSize);
			memcpy((char*)mixBuffer.mBuffers[0].mData + i * sampleSize * 2 + sampleSize, (char*)speakerBuffer.mBuffers[0].mData + i * sampleSize, sampleSize);
		}

		//Writing to output file - LPCM will be converted to AAC
		ExtAudioFileWrite(mixFile, framesToRead, &mixBuffer);
	}

	//Closing files
	ExtAudioFileDispose(micFile);
	ExtAudioFileDispose(speakerFile);
	ExtAudioFileDispose(mixFile);

	//Freeing audio buffers
	free(micBuffer.mBuffers[0].mData);
	free(speakerBuffer.mBuffers[0].mData);
	free(mixBuffer.mBuffers[0].mData);
}

void Cleanup()
{
	[[NSFileManager defaultManager] removeItemAtPath:kMicFilePath error:NULL];
	[[NSFileManager defaultManager] removeItemAtPath:kSpeakerFilePath error:NULL];
}

void CoreTelephonyNotificationCallback(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo)
{
	NSDictionary* data = (NSDictionary*)userInfo;

	if ([(NSString*)name isEqualToString:(NSString*)kCTCallStatusChangeNotification])
	{
		int currentCallStatus = [data[(NSString*)kCTCallStatus] integerValue];

		if (currentCallStatus == kCTCallStatusOutgoing || currentCallStatus == kCTCallStatusActive)
		{
			OSSpinLockLock(&phoneCallIsActiveLock);
			phoneCallIsActive = YES;
			OSSpinLockUnlock(&phoneCallIsActiveLock);
		}
		else if (currentCallStatus == kCTCallStatusHanged)
		{
			if (CTGetCurrentCallCount() > 0)
			{
				return;
			}

			OSSpinLockLock(&phoneCallIsActiveLock);
			phoneCallIsActive = NO;
			OSSpinLockUnlock(&phoneCallIsActiveLock);

			//Closing mic file
			OSSpinLockLock(&micLock);
			if (micFile != NULL)
			{
				ExtAudioFileDispose(micFile);
			}
			micFile = NULL;
			OSSpinLockUnlock(&micLock);

			//Closing speaker file
			OSSpinLockLock(&speakerLock);
			if (speakerFile != NULL)
			{
				ExtAudioFileDispose(speakerFile);
			}
			speakerFile = NULL;
			OSSpinLockUnlock(&speakerLock);

			Convert();
			Cleanup();
		}
	}
}

OSStatus(*AudioUnitProcess_orig)(AudioUnit unit, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inNumberFrames, AudioBufferList *ioData);
OSStatus AudioUnitProcess_hook(AudioUnit unit, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inNumberFrames, AudioBufferList *ioData)
{
	OSSpinLockLock(&phoneCallIsActiveLock);
	if (phoneCallIsActive == NO)
	{
		OSSpinLockUnlock(&phoneCallIsActiveLock);
		return AudioUnitProcess_orig(unit, ioActionFlags, inTimeStamp, inNumberFrames, ioData);
	}
	OSSpinLockUnlock(&phoneCallIsActiveLock);

	ExtAudioFileRef* currentFile = NULL;
	OSSpinLock* currentLock = NULL;

	AudioComponentDescription unitDescription = {0};
	AudioComponentGetDescription(AudioComponentInstanceGetComponent(unit), &unitDescription);
	//'agcc', 'mbdp' - iPhone 4S, iPhone 5
	//'agc2', 'vrq2' - iPhone 5C, iPhone 5S
	if (unitDescription.componentSubType == 'agcc' || unitDescription.componentSubType == 'agc2')
	{
		currentFile = &micFile;
		currentLock = &micLock;
	}
	else if (unitDescription.componentSubType == 'mbdp' || unitDescription.componentSubType == 'vrq2')
	{
		currentFile = &speakerFile;
		currentLock = &speakerLock;
	}

	if (currentFile != NULL)
	{
		OSSpinLockLock(currentLock);

		//Opening file
		if (*currentFile == NULL)
		{
			//Obtaining input audio format
			AudioStreamBasicDescription desc;
			UInt32 descSize = sizeof(desc);
			AudioUnitGetProperty(unit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 0, &desc, &descSize);

			//Opening audio file
			CFURLRef url = CFURLCreateWithFileSystemPath(NULL, (CFStringRef)((currentFile == &micFile) ? kMicFilePath : kSpeakerFilePath), kCFURLPOSIXPathStyle, false);
			ExtAudioFileRef audioFile = NULL;
			OSStatus result = ExtAudioFileCreateWithURL(url, kAudioFileCAFType, &desc, NULL, kAudioFileFlags_EraseFile, &audioFile);
			if (result != 0)
			{
				*currentFile = NULL;
			}
			else
			{
				*currentFile = audioFile;

				//Writing audio format
				ExtAudioFileSetProperty(*currentFile, kExtAudioFileProperty_ClientDataFormat, sizeof(desc), &desc);
			}
			CFRelease(url);
		}
		else
		{
			//Writing audio buffer
			ExtAudioFileWrite(*currentFile, inNumberFrames, ioData);
		}

		OSSpinLockUnlock(currentLock);
	}

	return AudioUnitProcess_orig(unit, ioActionFlags, inTimeStamp, inNumberFrames, ioData);
}

__attribute__((constructor))
static void initialize()
{
	CTTelephonyCenterAddObserver(CTTelephonyCenterGetDefault(), NULL, CoreTelephonyNotificationCallback, NULL, NULL, CFNotificationSuspensionBehaviorHold);
	MSHookFunction(AudioUnitProcess, AudioUnitProcess_hook, &AudioUnitProcess_orig);
}

Edit makefile

THEOS_DEVICE_IP = iOSIP
ARCHS = armv7 arm64
TARGET = iphone:latest:8.0

include theos/makefiles/common.mk

TWEAK_NAME = iOSRECallRecorder
iOSRECallRecorder_FILES = Tweak.xm
iOSRECallRecorder_FRAMEWORKS = CoreTelephony AudioToolbox

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 mediaserverd"

Edit control

Package: com.naken.iosrecallrecorder
Name: iOSRECallRecorder
Depends: mobilesubstrate, firmware (>= 8.0)
Version: 1.0
Architecture: iphoneos-arm
Description: A phone call recorder sample
Maintainer: snakeninny
Author: snakeninny
Section: Tweaks
Homepage: http://bbs.iosre.com

Add postinst & postrm

  • Run make package to compile and package the project. After that, we have an _ folder, then rename it to layout, as shown below:
    image
  • Open layout folder, and delete Library folder, as shown below:
    image
  • Open DEBIAN folder, and rename control to postinst, as shown below:
snakeninnys-iMac:iosrecallrecorder snakeninny$ cd /Users/snakeninny/Code/iosrecallrecorder/layout/DEBIAN/
snakeninnys-iMac:DEBIAN snakeninny$ mv control postinst
  • Edit postinst
#!/bin/sh
killall -9 mediaserverd &> /dev/null
exit 0;
  • Grant execute permission to postinst, as shown below:
snakeninnys-iMac:iosrecallrecorder snakeninny$ chmod +x /Users/snakeninny/Code/iosrecallrecorder/layout/DEBIAN/postinst 
  • Copy postinst and rename the new file postrm, as shown below:
snakeninnys-iMac:DEBIAN snakeninny$ cp postinst postrm
  • Run make clean and rm *.deb to clean the project, as shown below:
snakeninnys-iMac:iosrecallrecorder snakeninny$ make clean
rm -rf ./obj
rm -rf "/Users/snakeninny/Code/iosrecallrecorder/_"
snakeninnys-iMac:iosrecallrecorder snakeninny$ rm *.deb
  • The project should look like this now:
    image

Package and install iOSRECallRecorder

snakeninnys-iMac:iosrecallrecorder snakeninny$ make package install
Making all for tweak iOSRECallRecorder...
 Preprocessing Tweak.xm...
Name "Data::Dumper::Purity" used only once: possible typo at /Users/snakeninny/Code/iosrecallrecorder/theos/bin/logos.pl line 615.
 Compiling Tweak.xm...
 Linking tweak iOSRECallRecorder...
 Stripping iOSRECallRecorder...
 Signing iOSRECallRecorder...
Making stage for tweak iOSRECallRecorder...
dpkg-deb: building package `com.naken.iosrecallrecorder' in `./com.naken.iosrecallrecorder_1.0-4_iphoneos-arm.deb'.
install.exec "cat > /tmp/_theos_install.deb; dpkg -i /tmp/_theos_install.deb && rm /tmp/_theos_install.deb" < "./com.naken.iosrecallrecorder_1.0-4_iphoneos-arm.deb"
Selecting previously deselected package com.naken.iosrecallrecorder.
(Reading database ... 2984 files and directories currently installed.)
Unpacking com.naken.iosrecallrecorder (from /tmp/_theos_install.deb) ...
Setting up com.naken.iosrecallrecorder (1.0-4) ...
install.exec "killall -9 mediaserverd"

Test

Make a phone call and speak something. After a few seconds, hang up and check if there’s f file at /var/mobile/Media/DCIM/result.m4a, as shown below:

FunMaker-5:~ root# ls -al /var/mobile/Media/DCIM/result.m4a
-rw-r--r-- 1 mobile mobile 114526 May  8 13:44 /var/mobile/Media/DCIM/result.m4a

Open it with any audio player, you’ll find it’s the audio of your phone call :wink:

Download

iOSRECallRecorder.deb (8.8 KB)
Works on my iPhone 5, iOS 8.1.1. You can download this deb without compiling the above project. The deb is not limited to iOS 8, so feel free to test it on older iOS versions and let me know if it still works, thank you :blush:

References:

  1. http://stackoverflow.com/questions/1809347/how-can-i-record-conversation-phone-call-on-ios for hows and whys on this specific function
  2. iOS App Reverse Engineering for a thorough and serialized tutorial of general iOS reverse engineering
6 个赞

Hi, Snakeninny,
I followed your tutorial, and made this tweak, but i am having some problems. WEll my theos instalation on mac had only 5 options to choose instead of 9, but its not a big deal i suppose as i created tweak as well as you in this tutorial. Just that I did it for ios 7.1 version instead of 8. And I changed dependencies accordingly in control and makefile. I did everything as you said till the last part: Package and install iOSRECallRecorder

As in there I would be getting connection closed between my iphone and mac after it would ask me for password and i would provide one. It might also be related to the fact that in Makefile i changed this line:

THEOS_DEVICE_IP = iOSIP

To have my device ip which is 192.168.1.130 so I wonder what is defined in your system for that constant.

So instead in that last part i run simple make package command and it created deb file for me, and i put that deb file in my repo and installed this tweak through there from cydia. And when I do call someone result/m4a file gets created but it is kinda broken or empty file as its size is only 28 bytes and I cant play it on any player. So can you tell me how I can debug this tweak to see why it is not working, or maybe you had similar problem before and now the solution?
Thanks in advance, your tutorial helped me greatly already and if you could help me solve my last problems I would be forever grateful.

Check out the sample of my book iOS App Reverse Engineering, you’ll get the answer in section 3.2

What changes have you made?

What was the output? Your THEOS_DEVICE_IP seems to be OK though.

I don’t know why it was not working, let’s first confirm that your project files are all well composed

How can I package the .deb tweak along with a cydia app I’ll make? Or how can I package the Tweak code along with an application? Or should I write my UI code etc into the Tweak? I want the user to be able to start the UI from the SpringBoard.

Can you understand the usage of layout folder in this example? I’ve also explained how layout works in chapter 3 of iOS App Reverse Engineering. You can put your App inside layout and then package

@snakeninny, the solutions (both code and .deb) crashes at least the SpringBoard (if not other things) for us, at the end, after phone call, IIRC. It makes the .m4a but it contains no audio, and just 28 bytes. Any ideas on how to fix or debug?

Ok, great, we’ll try that

What’s your iOS version?
And can you find in syslog what caused the crashes?
Or attach the syslog here

well yeah i read your book and about those other 5 additional project templates, but they are not relevant in this situation right now :smile:

well like i said i just changed it according to my device and project, here is how my makefile looks like:

THEOS_DEVICE_IP = 192.168.1.130
ARCHS = armv7 arm64
TARGET = iphone:7.1

include theos/makefiles/common.mk

TWEAK_NAME = CallRecorderTweak
CallRecorderTweak_FILES = Tweak.xm
CallRecorderTweak_FRAMEWORKS = CoreTelephony AudioToolbox

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
install.exec “killall -9 mediaserverd”

and control file:

Package: com.prmtk.callrecordertweak
Name: CallRecorderTweak
Depends: mobilesubstrate, firmware (>= 7.1)
Version: 1.0
Architecture: iphoneos-arm
Description: A tweak to record calls!
Maintainer: Macas
Author: Macas
Section: Tweaks
Homepage: http://apple.com

and when i run that make package install after i renamed - to layout and made those two other files in there thats what i see in terminal:

Macas:callrecordertweak macas$ make package install
Making all for tweak CallRecorderTweak…
Preprocessing Tweak.xm…
Compiling Tweak.xm…
Linking tweak CallRecorderTweak…
Stripping CallRecorderTweak…
Signing CallRecorderTweak…
Making stage for tweak CallRecorderTweak…
dpkg-deb: building package com.prmtk.callrecordertweak' in ./com.prmtk.callrecordertweak_1.0-2_iphoneos-arm.deb’.
install.exec “cat > /tmp/_theos_install.deb; dpkg -i /tmp/_theos_install.deb && rm /tmp/_theos_install.deb” < “./com.prmtk.callrecordertweak_1.0-2_iphoneos-arm.deb”
The authenticity of host ‘192.168.1.130 (192.168.1.130)’ can’t be established.
RSA key fingerprint is 39:92:36:0a:63:ff:99:ab:c7:51:14:8f:71:99:b1:6d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘192.168.1.130’ (RSA) to the list of known hosts.
root@192.168.1.130’s password:
Read from socket failed: Connection reset by peer
make: *** [internal-install] Error 255

also like milord said for me it also crashed springboard i think, or at least some parts of it, cause i couldn’t make a new phone call, as keyboard on phone wouldn’t work and from call app all the tabs would work but Keypad wouldn’t work so I wouldn’t be able to dial a number.

This seems to be a generic SSH issue, google for a solution.

I don’t have a jailbroken iOS 7 ATM so I’m unable to test by myself. Upload your syslog and let me have a look

1 个赞

HI again,
sorry didn’t responded for so long, but had various other things to do and this one kinda didn’t had time :slight_smile: but now i am back working on this one, and i did a new install with a bit edited and changed tweak, and this time everything went smoothly and everything installed on phone. I did only one change in makefile on these two lines:

THEOS_DEVICE_IP = 192.168.1.130
ARCHS = armv7 arm64
TARGET = iPhone:latest:7.0

and in control file changed according to

Depends: mobilesubstrate, firmware (>= 7.0)

after that everything went smoothly, just my install didn’t showed this line:

Name “Data::Dumper::Purity” used only once: possible typo at /Users/snakeninny/Code/iosrecallrecorder/theos/bin/logos.pl line 615.

and everything just went in smoothly like this:

Macas:iosrecallrecorder macas$ make package install
Making all for tweak iOSRECallRecorder…
Preprocessing Tweak.xm…
Compiling Tweak.xm…
Linking tweak iOSRECallRecorder…
Stripping iOSRECallRecorder…
Signing iOSRECallRecorder…
Making stage for tweak iOSRECallRecorder…
dpkg-deb: building package com.naken.iosrecallrecorder' in ./com.naken.iosrecallrecorder_1.0-2_iphoneos-arm.deb’.
install.exec “cat > /tmp/_theos_install.deb; dpkg -i /tmp/_theos_install.deb && rm /tmp/_theos_install.deb” < “./com.naken.iosrecallrecorder_1.0-2_iphoneos-arm.deb”
Selecting previously deselected package com.naken.iosrecallrecorder.
(Reading database … 2287 files and directories currently installed.)
Unpacking com.naken.iosrecallrecorder (from /tmp/_theos_install.deb) …
Setting up com.naken.iosrecallrecorder (1.0-2) …
install.exec “killall -9 mediaserverd”
Macas:iosrecallrecorder macas$

after that I did phone call and after i finished talking, went to see if file appeared, and it did, but it was only 28Bytes size file. So after that I looked in syslog to see what could have caused the error, and i found this in there:

Jun 5 14:55:06 p002s-iPhone mobile_assertion_agent[355]: service_one_connection: Connection closed for client iTunes.
Jun 5 14:55:54 p002s-iPhone launchproxy[2900]: /usr/libexec/sshd-keygen-wrapper: Connection from: 192.168.11.21 on port: 51735
Jun 5 14:55:55 p002s-iPhone sshd[2902]: Accepted publickey for root from 192.168.11.21 port 51735 ssh2: RSA 7e:05:95:8a:0c:ad:8f:c3:e4:aa:71:5a:67:5c:8a:62
Jun 5 14:55:56 p002s-iPhone com.apple.launchd1 (com.apple.mediaserverd[50]): (com.apple.mediaserverd) Exited: Killed: 9
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]: MS:Notice: Injecting: com.apple.mediaserverd [mediaserverd] (847.27)
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Tracer.dylib
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/iOSRECallRecorder.dylib
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]:
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]: 2015-06-05 02:55:56.799034 PM [AirPlay] HAL plugin initializing
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]: 2015-06-05 02:55:56.804814 PM [AirPlayScreenClient] ### Screen not supported on this device (iPhone3,1)
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]: 2015-06-05 02:55:56.823218 PM [AirPlay] HAL plugin initialized
Jun 5 14:55:56 p002s-iPhone mediaserverd[2917]: NOTE: 14:55:56.876 [tid 0x3d4ea18c] [304]: Logging defaults: [ General Priority: Note; Trace Priority: Note; Async Priority: Error; Traced Scopes: { } ].
Jun 5 14:55:57 p002s-iPhone SpringBoard[30]: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jun 5 14:55:57 p002s-iPhone sshd[2902]: Received disconnect from 192.168.11.21: 11: disconnected by user
Jun 5 14:55:57 p002s-iPhone launchproxy[2900]: /usr/libexec/sshd-keygen-wrapper: Connection from: 192.168.11.21 on port: 51751
Jun 5 14:55:58 p002s-iPhone sshd[2920]: Accepted publickey for root from 192.168.11.21 port 51751 ssh2: RSA 7e:05:95:8a:0c:ad:8f:c3:e4:aa:71:5a:67:5c:8a:62
Jun 5 14:55:58 p002s-iPhone com.apple.launchd1 (com.apple.mediaserverd[2917]): (com.apple.mediaserverd) Exited: Killed: 9
Jun 5 14:55:58 p002s-iPhone com.apple.launchd1 (com.apple.mediaserverd): (com.apple.mediaserverd) Throttling respawn: Will start in 4 seconds
Jun 5 14:55:58 p002s-iPhone sshd[2920]: Received disconnect from 192.168.11.21: 11: disconnected by user
Jun 5 14:56:02 p002s-iPhone mediaserverd[2922]: MS:Notice: Injecting: com.apple.mediaserverd [mediaserverd] (847.27)
Jun 5 14:56:02 p002s-iPhone mediaserverd[2922]: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Tracer.dylib
Jun 5 14:56:02 p002s-iPhone mediaserverd[2922]: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/iOSRECallRecorder.dylib
Jun 5 14:56:02 p002s-iPhone mediaserverd[2922]:
Jun 5 14:56:02 p002s-iPhone mediaserverd[2922]: 2015-06-05 02:56:02.970119 PM [AirPlay] HAL plugin initializing
Jun 5 14:56:02 p002s-iPhone mediaserverd[2922]: 2015-06-05 02:56:02.976070 PM [AirPlayScreenClient] ### Screen not supported on this device (iPhone3,1)
Jun 5 14:56:02 p002s-iPhone mediaserverd[2922]: 2015-06-05 02:56:02.991053 PM [AirPlay] HAL plugin initialized
Jun 5 14:56:03 p002s-iPhone mediaserverd[2922]: NOTE: 14:56:03.034 [tid 0x3d4ea18c] [304]: Logging defaults: [ General Priority: Note; Trace Priority: Note; Async Priority: Error; Traced Scopes: { } ].
Jun 5 14:56:03 p002s-iPhone SpringBoard[30]: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jun 5 14:56:18 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::setBacklightEnableGated 0 (set level to 0x1c8)
Jun 5 14:56:18 p002s-iPhone kernel[0]: AppleMultitouchN1SPI: updating power statistics
Jun 5 14:56:18 p002s-iPhone backboardd[35]: Posting ‘com.apple.iokit.hid.displayStatus’ notifyState=0
Jun 5 14:56:18 p002s-iPhone SpringBoard[30]: [MPUSystemMediaControls] Disabling lock screen media controls updates for screen turning off.
Jun 5 14:56:18 p002s-iPhone SpringBoard[30]: [MPUNowPlayingController] Not registered for now playing notifications. Ignoring call to -unregisterForNotifications.
Jun 5 14:56:18 p002s-iPhone backboardd[35]: MultitouchHID: detection mode: 0->255
Jun 5 14:56:19 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::handleMessageGated - framebufferState → 0
Jun 5 14:56:19 p002s-iPhone profiled[2924]: MS:Notice: Injecting: com.apple.managedconfiguration.profiled [profiled] (847.27)
Jun 5 14:56:20 p002s-iPhone profiled[2924]: (Note ) profiled: Service starting…
Jun 5 14:56:30 p002s-iPhone profiled[2924]: (Note ) profiled: Service stopping.
Jun 5 14:56:39 p002s-iPhone locationd[46]: need a scan, count, 0, 0, lwatchdog, 0.0, interval, 60.0, needWatchdog, 1
Jun 5 14:56:39 p002s-iPhone locationd[46]: Fence: loc watchdog cancel, count, 1, 0, client, 0x0
Jun 5 14:57:03 p002s-iPhone medialibraryd[192]: {MediaLibrary} [MediaLibraryService] Cancelling any active or suspended import operations in progress for process (process ID = 2890)
Jun 5 14:57:03 p002s-iPhone medialibraryd[192]: {MediaLibrary} [MLWriter] Cleaning up any remaining transactions for ended process (process ID = 2890)
Jun 5 14:57:25 p002s-iPhone backboardd[35]: Posting ‘com.apple.iokit.hid.displayStatus’ notifyState=1
Jun 5 14:57:25 p002s-iPhone SpringBoard[30]: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
Jun 5 14:57:25 p002s-iPhone kernel[0]: set_crc_notification_state 0
Jun 5 14:57:25 p002s-iPhone backboardd[35]: MultitouchHID: detection mode: 255->5 (deferring until bootloaded)
Jun 5 14:57:26 p002s-iPhone backboardd[35]: MultitouchHID: device bootloaded
Jun 5 14:57:26 p002s-iPhone backboardd[35]: MultitouchHID: detection mode: 5->5
Jun 5 14:57:26 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::handleMessageGated - framebufferState → 1
Jun 5 14:57:26 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::setBacklightEnableGated 1 (set level to 0x624)
Jun 5 14:57:27 p002s-iPhone backboardd[35]: MultitouchHID: detection mode: 5->0
Jun 5 14:57:33 p002s-iPhone backboardd[35]: Could not set priority of [2926] to 1, priority: Operation not permitted
Jun 5 14:57:33 p002s-iPhone backboardd[35]: Could not set priority of [2926] to 0, priority: Operation not permitted
Jun 5 14:57:33 p002s-iPhone MobileCydia[2926]: Setting Language: en_LT
Jun 5 14:57:33 p002s-iPhone backboardd[35]: HID: The ‘Passive’ connection ‘MobileCydia’ access to protected services is denied.
Jun 5 14:57:34 p002s-iPhone MobileCydia[2926]: dynamic_cast error 1: Both of the following type_info’s should have public visibility. At least one of them is hidden. 9metaIndex, 15debReleaseIndex.
Jun 5 14:57:35: — last message repeated 5 times —
Jun 5 14:57:35 p002s-iPhone backboardd[35]: CoreAnimation: updates deferred for too long
Jun 5 14:57:35 p002s-iPhone MobileCydia[2926]: dynamic_cast error 1: Both of the following type_info’s should have public visibility. At least one of them is hidden. 9metaIndex, 15debReleaseIndex.
Jun 5 14:57:35 p002s-iPhone backboardd[35]: CoreAnimation: timed out fence 23103
Jun 5 14:57:52 p002s-iPhone locationd[46]: need a scan, count, 0, 0, lwatchdog, 0.0, interval, 60.0, needWatchdog, 0
Jun 5 14:58:08 p002s-iPhone iFile_[1038]: WebServer: GET / HTTP/1.1
Jun 5 14:58:08 p002s-iPhone iFile_[1038]: WebServer: GET /GenericFolder.png HTTP/1.1
Jun 5 14:58:08 p002s-iPhone iFile_[1038]: WebServer: GET /FileAlias.png HTTP/1.1
Jun 5 14:58:08 p002s-iPhone iFile_[1038]: WebServer: GET /webstyles.css HTTP/1.1
Jun 5 14:58:08 p002s-iPhone iFile_[1038]: WebServer: GET /GenericDocument.png HTTP/1.1
Jun 5 14:58:08 p002s-iPhone iFile_[1038]: WebServer: GET /headingbg.png HTTP/1.1
Jun 5 14:58:19 p002s-iPhone locationd[46]: need a scan, count, 0, 0, lwatchdog, 0.0, interval, 60.0, needWatchdog, 1
Jun 5 14:58:19 p002s-iPhone locationd[46]: scan result, count, wait, 1, retry, 0, error
Jun 5 14:58:19 p002s-iPhone locationd[46]: scan result, count, wait, 1, retry, 1, error
Jun 5 14:58:19 p002s-iPhone locationd[46]: scan result, count, wait, 1, retry, 2, error
Jun 5 14:58:23 p002s-iPhone locationd[46]: Fence: loc watchdog cancel, count, 1, 3, client, 0x0
Jun 5 14:58:27 p002s-iPhone iFile_[1038]: WebServer: GET /var HTTP/1.1
Jun 5 14:58:27 p002s-iPhone iFile_[1038]: WebServer: GET /webstyles.css HTTP/1.1
Jun 5 14:58:27 p002s-iPhone iFile_[1038]: WebServer: GET /GenericFolder.png HTTP/1.1
Jun 5 14:58:27 p002s-iPhone iFile_[1038]: WebServer: GET /headingbg.png HTTP/1.1
Jun 5 14:58:29 p002s-iPhone iFile_[1038]: WebServer: GET /var/mobile HTTP/1.1
Jun 5 14:58:30 p002s-iPhone iFile_[1038]: WebServer: GET /webstyles.css HTTP/1.1
Jun 5 14:58:30 p002s-iPhone iFile_[1038]: WebServer: GET /GenericFolder.png HTTP/1.1
Jun 5 14:58:30 p002s-iPhone iFile_[1038]: WebServer: GET /GenericDocument.png HTTP/1.1
Jun 5 14:58:30 p002s-iPhone iFile_[1038]: WebServer: GET /headingbg.png HTTP/1.1
Jun 5 14:58:31 p002s-iPhone iFile_[1038]: WebServer: GET /var/mobile/Media HTTP/1.1
Jun 5 14:58:31 p002s-iPhone iFile_[1038]: WebServer: GET /webstyles.css HTTP/1.1
Jun 5 14:58:32 p002s-iPhone iFile_[1038]: WebServer: GET /GenericFolder.png HTTP/1.1
Jun 5 14:58:32 p002s-iPhone iFile_[1038]: WebServer: GET /GenericDocument.png HTTP/1.1
Jun 5 14:58:32 p002s-iPhone iFile_[1038]: WebServer: GET /headingbg.png HTTP/1.1
Jun 5 14:58:33 p002s-iPhone iFile_[1038]: WebServer: GET /var/mobile/Media/DCIM HTTP/1.1
Jun 5 14:58:33 p002s-iPhone iFile_[1038]: WebServer: GET /GenericFolder.png HTTP/1.1
Jun 5 14:58:33 p002s-iPhone iFile_[1038]: WebServer: GET /webstyles.css HTTP/1.1
Jun 5 14:58:33 p002s-iPhone iFile_[1038]: WebServer: GET /GenericDocument.png HTTP/1.1
Jun 5 14:58:33 p002s-iPhone iFile_[1038]: WebServer: GET /headingbg.png HTTP/1.1
Jun 5 14:59:30 p002s-iPhone com.apple.launchd1 (UIKitApplication:com.apple.Preferences[0x28a0][2877]): (UIKitApplication:com.apple.Preferences[0x28a0]) Exited: Killed: 9
Jun 5 14:59:30 p002s-iPhone backboardd[35]: Application ‘UIKitApplication:com.apple.Preferences[0x28a0]’ quit with signal 9: Killed: 9
Jun 5 14:59:31 p002s-iPhone com.apple.launchd1 (UIKitApplication:com.apple.reminders[0x2a12][804]): (UIKitApplication:com.apple.reminders[0x2a12]) Exited: Killed: 9
Jun 5 14:59:31 p002s-iPhone backboardd[35]: Application ‘UIKitApplication:com.apple.reminders[0x2a12]’ quit with signal 9: Killed: 9
Jun 5 14:59:31 p002s-iPhone com.apple.launchd1 (UIKitApplication:com.apple.mobilecal[0x769b][598]): (UIKitApplication:com.apple.mobilecal[0x769b]) Exited: Killed: 9
Jun 5 14:59:32 p002s-iPhone backboardd[35]: Application ‘UIKitApplication:com.apple.mobilecal[0x769b]’ quit with signal 9: Killed: 9
Jun 5 14:59:32 p002s-iPhone SpringBoard[30]: [defaultImage; snapshot] <com.apple.mobilemail> failed to get snapshot surface
Jun 5 14:59:35 p002s-iPhone com.apple.launchd1 (UIKitApplication:com.apple.mobilenotes[0xa74e][1037]): (UIKitApplication:com.apple.mobilenotes[0xa74e]) Exited: Killed: 9
Jun 5 14:59:35 p002s-iPhone backboardd[35]: Application ‘UIKitApplication:com.apple.mobilenotes[0xa74e]’ quit with signal 9: Killed: 9
Jun 5 14:59:38 p002s-iPhone iFile_[1038]: applicationWillEnterForeground:
Jun 5 14:59:38 p002s-iPhone iFile_[1038]: applicationDidBecomeActive:
Jun 5 14:59:41 p002s-iPhone iFile_[1038]: WebServer: Shutting down service
Jun 5 14:59:41 p002s-iPhone iFile_[1038]: WebServer: Disabling Bonjour for service ‘p002’s iPhone’ of type 'http.tcp.’
Jun 5 14:59:41 p002s-iPhone iFile
[1038]: WebServer: Leaving run loop.
Jun 5 14:59:41 p002s-iPhone iFile
[1038]: WebServer: Bonjour did stop
Jun 5 14:59:41 p002s-iPhone iFile_[1038]: WebServer: Disabling Bonjour for service ‘p002’s iPhone’ of type 'webdav.tcp.’
Jun 5 14:59:41 p002s-iPhone iFile
[1038]: WebServer: Bonjour did stop
Jun 5 14:59:59 p002s-iPhone locationd[46]: need a scan, count, 0, 0, lwatchdog, 0.0, interval, 60.0, needWatchdog, 1
Jun 5 15:00:00 p002s-iPhone locationd[46]: Fence: loc watchdog cancel, count, 1, 0, client, 0x0
Jun 5 15:00:11 p002s-iPhone iFile
[1038]: No app info found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: No viewer info found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: No viewer icon found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: No viewer small icon found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: No app info found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: No viewer info found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: No viewer icon found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: No viewer small icon found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:00:11 p002s-iPhone iFile_[1038]: InfoCenter: {
MPMediaItemPropertyTitle = result;
}
Jun 5 15:00:12 p002s-iPhone pasteboardd[2934]: MS:Notice: Injecting: (null) [pasteboardd] (847.27)
Jun 5 15:00:27 p002s-iPhone iFile_[1038]: InfoCenter: {
MPMediaItemPropertyTitle = result;
}
Jun 5 15:00:55 p002s-iPhone iFile_[1038]: applicationWillResignActive:
Jun 5 15:00:55 p002s-iPhone iFile_[1038]: applicationDidEnterBackground:
Jun 5 15:00:55 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 2, priority: Operation not permitted
Jun 5 15:00:55 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 4096, priority: Operation not permitted
Jun 5 15:01:06 p002s-iPhone networkd[140]: client_handle_opportunistic_disable CommCenterClass.25 toggling opportunistic without com.apple.networkd.disable_opportunistic entitlement
Jun 5 15:01:06 p002s-iPhone kernel[0]: AppleSerialMultiplexer: mux-ad(eng)::setTrafficCategoryLimitGated: Setting traffic category limit to 0x3
Jun 5 15:01:06 p002s-iPhone kernel[0]: AppleSerialMultiplexer: npio::setTrafficCategoryLimit: changing traffic category limit from 0x4 to 0x3
Jun 5 15:01:06: — last message repeated 3 times —
Jun 5 15:01:06 p002s-iPhone networkd[140]: opportunistic_interface_ioctl SIOCSIFOPPORTUNISTIC failed: 6 - Device not configured
Jun 5 15:01:06 p002s-iPhone iFile_[1038]: applicationWillEnterForeground:
Jun 5 15:01:06 p002s-iPhone iFile_[1038]: applicationDidBecomeActive:
Jun 5 15:01:07 p002s-iPhone CMFSyncAgent[2936]: MS:Notice: Injecting: com.apple.cmfsyncagent [CMFSyncAgent] (847.27)
Jun 5 15:01:08 p002s-iPhone iFile_[1038]: applicationWillResignActive:
Jun 5 15:01:08 p002s-iPhone kernel[0]: [HPark] RcMgr::GetFirmware( 'gsm ’ 'nb ’ ) found in resource ’ ’ ’ ’
Jun 5 15:01:08 p002s-iPhone UserEventAgent[21]: id=eu.heinelt.ifile pid=1038, state=32
Jun 5 15:01:08 p002s-iPhone SpringBoard[30]: -[UIApplication endIgnoringInteractionEvents] called without matching -beginIgnoringInteractionEvents. Ignoring.
Jun 5 15:01:09 p002s-iPhone MobilePhone[2938]: MS:Notice: Injecting: com.apple.mobilephone [MobilePhone] (847.27)
Jun 5 15:01:09 p002s-iPhone syncdefaultsd[2939]: MS:Notice: Injecting: com.apple.syncdefaultsd [syncdefaultsd] (847.27)
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Tracer.dylib
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:warning: nil class argument for selector phoneCallForCall:
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:warning: nil class argument for selector initWithCall:
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:warning: message not found [DialerController callStatusChanged:]
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:warning: message not found [PhoneApplication setConferenceParticipants:]
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:warning: message not found [PhoneApplication addActiveCall:]
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:warning: nil class argument for selector callDataChanged
Jun 5 15:01:10 p002s-iPhone MobilePhone[2938]: MS:warning: nil class argument for selector callHistoryRecordAddedNotification:
Jun 5 15:01:11 p002s-iPhone backboardd[35]: HID: The ‘Passive’ connection ‘MobilePhone’ access to protected services is denied.
Jun 5 15:01:12 p002s-iPhone syncdefaultsd[2939]: (Note ) SYDAlwaysOnAccount: no account (null)
Jun 5 15:01:12 p002s-iPhone syncdefaultsd[2939]: (Note ) SYDAccount: no account
Jun 5 15:01:12 p002s-iPhone syncdefaultsd[2939]: (Note ) SYDPIMAccount: no account (null)
Jun 5 15:01:14 p002s-iPhone CommCenter[25]: No more assertions for PDP context 0. Returning it back to normal.
Jun 5 15:01:14 p002s-iPhone CommCenter[25]: Scheduling PDP tear down timer for (455198474.917974) (current time == 455198474.918227)
Jun 5 15:01:14 p002s-iPhone kernel[0]: [HPark] AUD10::enableAudioOutput() Overwrite UI Tone disable
Jun 5 15:01:15 p002s-iPhone iFile
[1038]: applicationDidEnterBackground:
Jun 5 15:01:15 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 2, priority: Operation not permitted
Jun 5 15:01:15 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 4096, priority: Operation not permitted
Jun 5 15:01:17 p002s-iPhone backboardd[35]: Posting ‘com.apple.iokit.hid.displayStatus’ notifyState=0
Jun 5 15:01:17 p002s-iPhone SpringBoard[30]: [MPUSystemMediaControls] Disabling lock screen media controls updates for screen turning off.
Jun 5 15:01:17 p002s-iPhone backboardd[35]: MultitouchHID: detection mode: 0->2
Jun 5 15:01:17 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::setBacklightEnableGated 0 (set level to 0x1c8)
Jun 5 15:01:17 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::handleMessageGated - framebufferState → 0
Jun 5 15:01:23 p002s-iPhone backboardd[35]: Posting ‘com.apple.iokit.hid.displayStatus’ notifyState=1
Jun 5 15:01:23 p002s-iPhone SpringBoard[30]: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
Jun 5 15:01:23 p002s-iPhone backboardd[35]: MultitouchHID: detection mode: 2->0
Jun 5 15:01:23 p002s-iPhone kernel[0]: set_crc_notification_state 0
Jun 5 15:01:23 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::handleMessageGated - framebufferState → 1
Jun 5 15:01:23 p002s-iPhone kernel[0]: ALS: AppleARMBacklight::setBacklightEnableGated 1 (set level to 0x67e)
Jun 5 15:01:24 p002s-iPhone kernel[0]: [HPark] AUD10::enableAudioOutput() Overwrite UI Tone disable
Jun 5 15:01:28 p002s-iPhone networkd[140]: client_handle_opportunistic_disable CommCenterClass.25 toggling opportunistic without com.apple.networkd.disable_opportunistic entitlement
Jun 5 15:01:28 p002s-iPhone kernel[0]: AppleSerialMultiplexer: mux-ad(eng)::setTrafficCategoryLimitGated: Setting traffic category limit to 0x4
Jun 5 15:01:28 p002s-iPhone kernel[0]: AppleSerialMultiplexer: npio::setTrafficCategoryLimit: changing traffic category limit from 0x3 to 0x4
Jun 5 15:01:28: — last message repeated 3 times —
Jun 5 15:01:28 p002s-iPhone networkd[140]: opportunistic_interface_ioctl SIOCSIFOPPORTUNISTIC failed: 6 - Device not configured
Jun 5 15:01:28 p002s-iPhone CommCenter[25]: Client [(dead conn, pid=0[0x3d4ef9fc])] is telling PDP context 0 to go active.
Jun 5 15:01:28: — last message repeated 2 times —
Jun 5 15:01:28 p002s-iPhone identityservicesd[44]: [Warning] No registered account for service com.apple.ess, bailing…
Jun 5 15:01:28: — last message repeated 1 time —
Jun 5 15:01:28 p002s-iPhone CommCenter[25]: Client [(dead conn, pid=0[0x3d4ef9fc])] is telling PDP context 0 to go active.
Jun 5 15:01:28 p002s-iPhone CommCenterMobileHelper[2942]: MS:Notice: Injecting: com.apple.commcentermobilehelper [CommCenterMobileHelper] (847.27)
Jun 5 15:01:29 p002s-iPhone MobilePhone[2938]: (Error) [ABLog]: ABPeoplePickerNavigationController does not support subclassing in iOS 7.0 and later. In the future, a nil instance will be returned.
Jun 5 15:01:29 p002s-iPhone MobilePhone[2938]: Application tried to push a nil view controller on target <PHVoicemailNavigationController: 0x14f8be30>.
Jun 5 15:01:40 p002s-iPhone iFile
[1038]: applicationWillEnterForeground:
Jun 5 15:01:40 p002s-iPhone iFile
[1038]: applicationDidBecomeActive:
Jun 5 15:01:47 p002s-iPhone iFile
[1038]: WebServer: Image Root is //Applications/iFile.app/common
Jun 5 15:01:48 p002s-iPhone iFile_[1038]: WebServer: Starting service
Jun 5 15:01:51 p002s-iPhone iFile_[1038]: WebServer: Serving
Jun 5 15:01:55 p002s-iPhone iFile_[1038]: WebServer: GET /var/mobile/Media/DCIM HTTP/1.1
Jun 5 15:01:55 p002s-iPhone iFile_[1038]: WebServer: GET /webstyles.css HTTP/1.1
Jun 5 15:01:56 p002s-iPhone iFile_[1038]: WebServer: GET /GenericFolder.png HTTP/1.1
Jun 5 15:01:56 p002s-iPhone iFile_[1038]: WebServer: GET /GenericDocument.png HTTP/1.1
Jun 5 15:01:56 p002s-iPhone iFile_[1038]: WebServer: GET /headingbg.png HTTP/1.1
Jun 5 15:02:08 p002s-iPhone iFile_[1038]: WebServer: GET /var/mobile/Media/DCIM HTTP/1.1
Jun 5 15:02:08 p002s-iPhone iFile_[1038]: WebServer: GET /webstyles.css HTTP/1.1
Jun 5 15:02:08 p002s-iPhone iFile_[1038]: WebServer: GET /GenericFolder.png HTTP/1.1
Jun 5 15:02:08 p002s-iPhone iFile_[1038]: WebServer: GET /GenericDocument.png HTTP/1.1
Jun 5 15:02:09 p002s-iPhone iFile_[1038]: WebServer: GET /headingbg.png HTTP/1.1
Jun 5 15:02:16 p002s-iPhone iFile_[1038]: applicationWillResignActive:
Jun 5 15:02:16 p002s-iPhone iFile_[1038]: applicationDidEnterBackground:
Jun 5 15:02:16 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 2, priority: Operation not permitted
Jun 5 15:02:16 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 4096, priority: Operation not permitted
Jun 5 15:02:17 p002s-iPhone iFile_[1038]: applicationWillEnterForeground:
Jun 5 15:02:17 p002s-iPhone iFile_[1038]: applicationDidBecomeActive:
Jun 5 15:02:23 p002s-iPhone iFile_[1038]: applicationWillResignActive:
Jun 5 15:02:25 p002s-iPhone iFile_[1038]: applicationDidBecomeActive:
Jun 5 15:02:28 p002s-iPhone iFile_[1038]: WebServer: Shutting down service
Jun 5 15:02:29 p002s-iPhone iFile_[1038]: WebServer: Disabling Bonjour for service ‘p002’s iPhone’ of type 'http.tcp.’
Jun 5 15:02:29 p002s-iPhone iFile
[1038]: WebServer: Leaving run loop.
Jun 5 15:02:29 p002s-iPhone iFile
[1038]: WebServer: Bonjour did stop
Jun 5 15:02:29 p002s-iPhone iFile_[1038]: WebServer: Disabling Bonjour for service ‘p002’s iPhone’ of type 'webdav.tcp.’
Jun 5 15:02:29 p002s-iPhone iFile
[1038]: WebServer: Bonjour did stop
Jun 5 15:02:43 p002s-iPhone iFile
[1038]: applicationWillResignActive:
Jun 5 15:02:43 p002s-iPhone iFile_[1038]: applicationDidEnterBackground:
Jun 5 15:02:43 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 2, priority: Operation not permitted
Jun 5 15:02:43 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 4096, priority: Operation not permitted
Jun 5 15:02:52 p002s-iPhone locationd[46]: need a scan, count, 0, 0, lwatchdog, 0.0, interval, 60.0, needWatchdog, 0
Jun 5 15:03:10 p002s-iPhone MobilePhone[2938]: 15:03:10.662 ERROR: [0x3d4ea18c] 75: InitializeSystemSoundPorts posting message to kill mediaserverd (0)
Jun 5 15:03:10 p002s-iPhone ReportCrash[2945]: MS:Notice: Injecting: (null) [ReportCrash] (847.27)
Jun 5 15:03:11 p002s-iPhone ReportCrash[2945]: Saved crashreport to /Library/Logs/CrashReporter/stacks+MobilePhone-2015-06-05-150311.ips using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Jun 5 15:03:11 p002s-iPhone com.apple.launchd1 (UIKitApplication:com.apple.mobilephone[0x4722][2938]): (UIKitApplication:com.apple.mobilephone[0x4722]) Exited: Killed: 9
Jun 5 15:03:11 p002s-iPhone backboardd[35]: Application ‘UIKitApplication:com.apple.mobilephone[0x4722]’ exited abnormally with signal 9: Killed: 9
Jun 5 15:03:53 p002s-iPhone iFile_[1038]: applicationWillEnterForeground:
Jun 5 15:03:53 p002s-iPhone iFile_[1038]: applicationDidBecomeActive:
Jun 5 15:04:04 p002s-iPhone iFile_[1038]: applicationWillResignActive:
Jun 5 15:04:04 p002s-iPhone iFile_[1038]: applicationDidEnterBackground:
Jun 5 15:04:04 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 2, priority: Operation not permitted
Jun 5 15:04:04 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 4096, priority: Operation not permitted
Jun 5 15:04:05 p002s-iPhone MobileCydia[2947]: Setting Language: en_LT
Jun 5 15:04:05 p002s-iPhone backboardd[35]: HID: The ‘Passive’ connection ‘MobileCydia’ access to protected services is denied.
Jun 5 15:04:06 p002s-iPhone MobileCydia[2947]: dynamic_cast error 1: Both of the following type_info’s should have public visibility. At least one of them is hidden. 9metaIndex, 15debReleaseIndex.
Jun 5 15:04:06: — last message repeated 4 times —
Jun 5 15:04:06 p002s-iPhone backboardd[35]: CoreAnimation: updates deferred for too long
Jun 5 15:04:06 p002s-iPhone MobileCydia[2947]: dynamic_cast error 1: Both of the following type_info’s should have public visibility. At least one of them is hidden. 9metaIndex, 15debReleaseIndex.
Jun 5 15:04:06: — last message repeated 1 time —
Jun 5 15:04:06 p002s-iPhone backboardd[35]: CoreAnimation: timed out fence 1e33f
Jun 5 15:04:36 p002s-iPhone kernel[0]: 488484.626724 wlan.A[18294] AppleBCMWLANNetManager::checkRealTimeTraffic(): now 488484.626700333 num entries 4
Jun 5 15:04:36 p002s-iPhone kernel[0]: 488484.626791 wlan.A[18295] AppleBCMWLANCore::dumpWmeCounters(): per TIDs tx counters: 43254 455 0 0 0 0 130782 0, per TIDs rx counters: 480276 0 4839 0 0 0 0 0
Jun 5 15:04:36 p002s-iPhone kernel[0]: 488484.626845 wlan.A[18296] AppleBCMWLANCore::dumpWmeCounters(): AWDL: Tx 0 0 0 0 0 0 0 0, Rx: 0 0 0 0 0 0 0 0
Jun 5 15:04:41 p002s-iPhone iFile_[1038]: applicationWillEnterForeground:
Jun 5 15:04:41 p002s-iPhone iFile_[1038]: applicationDidBecomeActive:
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No matching viewer found for file file:///var/log/syslog
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No app info found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No viewer info found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No viewer icon found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No viewer small icon found for external viewer ‘com.zodttd.OpenStreamer’
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No app info found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No viewer info found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No viewer icon found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:05:01 p002s-iPhone iFile_[1038]: No viewer small icon found for external viewer ‘hk.kennytm.sql3’
Jun 5 15:05:02 p002s-iPhone pasteboardd[2980]: MS:Notice: Injecting: (null) [pasteboardd] (847.27)
Jun 5 15:05:06 p002s-iPhone iFile_[1038]: WebServer: Image Root is //Applications/iFile.app/common
Jun 5 15:05:07 p002s-iPhone iFile_[1038]: WebServer: Starting service
Jun 5 15:05:10 p002s-iPhone iFile_[1038]: WebServer: Serving
Jun 5 15:05:17 p002s-iPhone iFile_[1038]: WebServer: GET /var/mobile/Media/DCIM HTTP/1.1

so from what i seen I am thinking that maybe it crashes here:

Jun 5 15:03:10 p002s-iPhone MobilePhone[2938]: 15:03:10.662 ERROR: [0x3d4ea18c] 75: InitializeSystemSoundPorts posting message to kill mediaserverd (0)

or in one of these:

Jun 5 15:04:04 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 2, priority: Operation not permitted
Jun 5 15:04:04 p002s-iPhone backboardd[35]: Could not set priority of [1038] to 4096, priority: Operation not permitted

also you can see that one crash report was saved so in that crash report there is such info:

{“os_version”:“iPhone OS 7.1.2 (11D257)”,“bug_type”:“188”}
Incident Identifier: A5230EAB-ED62-4340-9FCA-539BCCED23A8
CrashReporter Key: e297c0beaeecb67d2e75e45474b3722a067e6ed8
Hardware Model: iPhone3,1
OS Version: iPhone OS 7.1.2 (11D257)
Kernel version: Darwin Kernel Version 14.0.0: Thu May 15 23:18:01 PDT 2014; root:xnu-2423.10.71~1/RELEASE_ARM_S5L8930X
Date: 2015-06-05 15:03:10 +0300
Exception Code: 0xbe18d1ee
Reason: mediaserverd: RPCTimeout message received to terminate [0] with reason ‘InitializeSystemSoundPorts’

Thermal Level: 0
Thermal Sensors: 3574 3415 5062 3137 3458 3185 3389 3715 3544 3955 32768

Frontmost process PID: 30
Jetsam Level: 0
Free Pages: 25599
Active Pages: 31437
Inactive Pages: 16819
Purgeable Pages: 3127
Wired Pages: 17936
Speculative Pages: 1711
Throttled Pages: 35762
File-backed Pages: 44792
Compressions: 0
Decompressions: 0
Compressor Size: 0
Busy Buffer Count: 0
Pages Wanted: 0
Pages Reclaimed: 0

Process 0 info:
resident memory bytes: 48508928
page faults: 649
page-ins: 0
copy-on-write faults: 0
times throttled: 11
times did throttle: 42
user time in task: 471790.124917 seconds
system time in task: 0.000000 seconds

so i assume its that timeout error causing all this ? or am i wring?

full crash report and syslog can be found here

Also like mylord said before after that it just crashed springboard and now i can’t go to keypad when i am in call app, as it just doesn’t react to touch, and its probably because keyboard is dead or something similar as in messaging app I can’t type anything with keyboard, it just appears there but you can’t press any buttons and it just closes down itself after about half a minute if you try clicking something there.

Any help on how to solve this problem and make this recorder working on IOS 7 would be greatly appreciated.

also after phone restarted couple times and springboard started to work so that i could type in the number for another call i found such errors in syslog:
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.245 ERROR: [0x2447000] 1045: AudioConverterNew returned -50
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.248 ERROR: [0x2447000] 1045: AudioConverterNew returned -50
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.251 ERROR: [0x2447000] 1045: AudioConverterNew returned -50
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.254 ERROR: [0x2447000] 1045: AudioConverterNew returned -50
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.258 ERROR: [0x2447000] 1045: AudioConverterNew returned -50
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.262 ERROR: [0x2447000] 1045: AudioConverterNew returned -50
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.351 [0x2447000] AudioSessionSetClientPlayState: WARNING translating CMSession error: -12985
Jun 5 16:06:12 p002s-iPhone mediaserverd[51]: 16:06:12.353 ERROR: [0x2447000] 150: AudioQueue: Error ‘!int’ from AudioSessionSetClientPlayState(0x3300a)

Have you looked at this post?

yeah i did, also read some other similar topics there, just that i am not sure how it is related to this problem, cause they were trying to play some stuff and i am only trying to record the sounds, and also i am not sure but it might be that maybe sometimes it has problems with converting, will need to investigate this further as now its a bit strange.

seems the post mentioned “mute”, have you tried under that situation?

yeah now i tried it and it rly had mute hardware switch on, but still even turning that off didnt solved the problem, as it still creates that 28bytes file and crash springboard, as i cant access keyboard now :slight_smile: but in syslog there are no such errors like before, so i am totally unsure what is causing it now, i am thinking it is maybe media stream daemon shutting off or maybe some stuff with audio ui tones being disabled. I uploaded the syslog here
can you take a look and what is wrong now in your opinion?

I remembered something from AudioRecorder… What’s your iDevice?

I am trying it on Iphone 4 with iOS 7.1.2

AudioRecorder only supports iPhone 4S and later devices, and it is working in a similar manner. Maybe that’s the reason

hmmm might be, but then i am wondering how other apps manage to do phone call recording on this device