Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > General > Hardware

Reply
 
LinkBack Thread Tools Display Modes
  #111 (permalink)  
Old 08-17-2008, 03:12 PM
iSchmave
Status: Offline
Member
 
Join Date: Jun 2008
Posts: 31
Rep Power: 0
iSchmave is on a distinguished road
Default

we have reached a milestone!

copy /System/Library/PrivateFrameworks/IAP.framework/Support/iapd to where ever you can to open it in a hex editor

open a hex editor

goto offset 6d94c

OVERWRITE it with 00 30 a0 e3

copy this patched iapd back

if you dont have ldid type apt-get install ldid

then

ldid -S iapd

chmod 777 iapd

reboot

*this will only work for 20-30 sec then you have to tap the video again - this is by no means a release im still working on it not stopping after 90 secs

Thanks!!




schmave out

Last edited by iSchmave; 08-22-2008 at 11:41 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #112 (permalink)  
Old 08-27-2008, 09:16 PM
Numbski
Status: Offline
Junior Member
 
Join Date: Aug 2008
Posts: 27
Rep Power: 0
Numbski is on a distinguished road
Default

Good to see you guys are cracking at this on the video side. Now if the stupid forum would allow me to create a thread to document my work on the Motorola D650 Bluetooth adapter, then I'd be on my way.

Our work is related, because it's basically hacking at the dock interface, but still. The rules say 3 posts, and I should be able to create a new thread, but NO.....5 posts and it still won't let me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #113 (permalink)  
Old 08-28-2008, 03:59 AM
anewkindofarmy
Status: Offline
Member
 
Join Date: Jul 2008
Posts: 40
Rep Power: 0
anewkindofarmy is on a distinguished road
Default

hello all. i just started reading this thread so forgive me if this is off topic.
i just started getting the "this accessory is not made for iphone" message today. i read somewhere that at least on 1.1.4 you could delete the apd file in the framework. when i did this the iphone would boot, but was totally unresponsive and kept cycling. luckily i could ssh in and put the file back in there so it still runs. unfortunately, the message still pops up, so i was wondering if there was a fix for this, just to kill this message entirely.

thanks a bunch
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #114 (permalink)  
Old 08-28-2008, 08:39 AM
iSchmave
Status: Offline
Member
 
Join Date: Jun 2008
Posts: 31
Rep Power: 0
iSchmave is on a distinguished road
Default

what cable do you have?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #115 (permalink)  
Old 08-28-2008, 03:33 PM
romeoyankee
Status: Offline
Junior Member
 
Join Date: Aug 2008
Posts: 5
Rep Power: 0
romeoyankee is on a distinguished road
Default

a bit of a hijack and Im sorry for this but I cant start a new thread yet.... And it is closely related.

My question is on the iapd

I am on FW 2.0.2 and am having issues with the " This accessory is not made to work with iPhone " nag message. ( I dropped it in water... ) Basically every time my iPhone awakes I get the nag and then I am unable to use the external speaker for audio. (the ringtones and system sounds still work though.. )

After doing some google searches this was the only thread I could find that had any info on the iapd process.

Basically I must have shorted out the dock connector in the iPhone somehow.

I have read somewhere that if I just delete the iapd off of the iphone Ill be fine. I dont quite trust that post so I was hoping you guys could help after seeing some of your research on the iapd.

I see that the iapd is responsible for turning on this nag screen and controlling info on the different accessories that could be connected to the dock.

You guys will make a whole bunch of people happy if you could find a way to hack the iapd to turn off the nag screen in your quest for fixing the video issue.

My iPhone works perfectly except for the nag and the resulting speaker shut off. If I could just stop the stupid nag screen...

Anyways sorry again for the hijack and if somebody with some privileges would like to move this to the proper location that would be great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #116 (permalink)  
Old 08-28-2008, 09:44 PM
superduca
Status: Offline
Member
 
Join Date: Jan 2008
Posts: 40
Rep Power: 0
superduca is on a distinguished road
Default

keep up with your very good work ! unfortunately i'm not been able to test it. i have hexedited my file ( firmware 2.01) and replaced it in the phone but at reboot the phone hangs at slide to unlock screen. totally blocked.

I left ssh and wifi on, so i've been able to ssh and replace the backup file, then everything came back ok.

can you attach an edited file for firmware 2.01 or 2.02 to try it ?
tnx!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #117 (permalink)  
Old 08-28-2008, 11:40 PM
iSchmave
Status: Offline
Member
 
Join Date: Jun 2008
Posts: 31
Rep Power: 0
iSchmave is on a distinguished road
Default

soz guys, ok

1. this (im sure) ONLY turns the "nag msg" off when a VIDEO CABLE is connected i.e (we're going back to th old system of enumeration) something that has that pull down resistor (i dont know the value).

2. you MUST run apt-get install ldid -S iapd

3. then you must run
sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0

4. then you must run chmod 777 iapd

5. then and only then can you kill the iapd process and see if it is auto respawned. if it is then you can reboot

-> your iPhone will hang if there is a) NO iapd b) no execute bit on iapd c) no hash string written into the header OR you haven't run sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0

again this "patch" will only "allow" the cable for like 30 secs, a timer (maybe 2) are created after you start a video, and when they end so does your video - turning them off ddosent work either.

i'm still working on a full patch but this proof of concept is halfway
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #118 (permalink)  
Old 08-28-2008, 11:41 PM
iSchmave
Status: Offline
Member
 
Join Date: Jun 2008
Posts: 31
Rep Power: 0
iSchmave is on a distinguished road
Default

Quote:
Originally Posted by superduca View Post
can you attach an edited file for firmware 2.01 or 2.02 to try it ?
nope sorry thats really illegal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #119 (permalink)  
Old 08-29-2008, 01:59 AM
freedoct
Status: Offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Rep Power: 0
freedoct is on a distinguished road
Default

Dear iSchmave

Please let me know what version of ipod that you worked.

Because there are so many versions today, please post about 16 bytes of code around your patch point. Then we find it with hex editor and can replace it.

Thanks in advance ^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #120 (permalink)  
Old 08-29-2008, 06:19 PM
bigfishman
Status: Offline
Senior Member
 
Join Date: Jul 2008
Posts: 128
Rep Power: 8
bigfishman is on a distinguished road
Default

not to do with video but will it ever be possible to use the old cables to charge any modifications we can do? i have a system in my car, the "ipod" function works with my stereo but the thing wont charge cos its an unspported acessory Which means its pointless as the battery gets murderd before i get out the car lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 01:09 PM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105