1. Trang chủ
  2. » Công Nghệ Thông Tin

iphone hacks pushing the iphone and ipod touch beyond their limits phần 8 ppt

48 332 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 48
Dung lượng 3,79 MB

Nội dung

  Install the UICatalog Sample on the Device  provisioning proleunique device identiers      [Hack #11.08]  →    11.08:Hack Self-Sign Your SDK Projects       chroot jail [Hack #1.03] code signing   provisioning   You need to install and run at least one app from the App Store before you try this, or these d workarounds may fail. It can be a free or paid app—it just needs to be from the real App Store. Code Signing with Self-Signed Certicates  self-signed certicate    Download at Boykma.Com HACK # 11.08       →    .Figure 11-32      ldid  -S $ ldid -S <program file> ldid  ldid     Download at Boykma.Com    [Hack #11.02] /Developer/Platforms/iPhoneOS.platform/Info.plist   <key>NATIVE_ARCH</key> <string>armv6</string> <key>PLIST_FILE_OUTPUT_FORMAT</key> <string>binary</string> <key>PROVISIONING_PROFILE_ALLOWED</key> <string>NO</string> <key>PROVISIONING_PROFILE_REQUIRED</key> <string>NO</string> <key>SDKROOT</key> <string>iphoneos2.2</string>   Disable Provisioning Checks on the iPhone     javacom       [Hack #2.06]    Download at Boykma.Com HACK # 11.09  11.09:HACK        scp   Your computer and your iPhone should be on the same Wi-Fi network. You’ll also need d to make sure that SSH is installed and enabled on your phone, as scp uses the SSH protocol to communicate with the phone. You can check this in BossPrefs as well.  .appscpscp  $ scp -r YourApplication.app root@192.168.0.101:/Applications/ YourApplication.app192.168.0.101  alpine[Hack #9.04]   respring  respring[Hack #11.12]   install $ make install installldid respringmakeinstall   Download at Boykma.Com   11.10:Hack Use a Virtual Machine for Building iPhone Apps                       [Hack #2.06] Downloading and Conguring the VM       Download at Boykma.Com HACK # 11.10 chapter 11 .Figure 11-33   toolchain .Figure 11-34     $ ifconfig -a eth0eth4eth  /etc/udev/rules.d/z25_persistent-net.rules eth0 Download at Boykma.Com    dhclient ifconfig .Figure 11-35 dhclient  [Hack #9.04]  # ssh root@<IP address> .Figure 11-36     # apt-get install cvs Download at Boykma.Com HACK # 11.10  .Figure 11-37   /root /root/SDK20PROJECTS/ -rw-r r 1 root root 1951 2008-10-19 09:46 README.txt drwxr-xr-x 2 root root 4096 2008-12-28 09:45 respring drwxr-xr-x 4 501 staff 4096 2009-01-04 00:10 UICatalog drwxr-xr-x 2 501 staff 4096 2009-01-03 20:41 WinterBoard respring [Hack #11.12]    respring respringrespring  respring respring IPHONE_IP=192.168.0.11   vim      # apt-get install joe Download at Boykma.Com    # cd /root/SDK20PROJECTS/respring # joe Makefile  # make # make install  make install             Ready to Go     11.11:Hack Develop iPhone Applications on Your iPhone    gccbuild its own applications  in situ Installing the Toolchain   Download at Boykma.Com HACK # 11.11  GCC   Make   Link Identity Editor (ldid)   OpenSSH (ssh)       [Hack #2.06]  /usr/include    [Hack #11.10]   joe-3.7.tar.gz   # scp joe-3.7.tar.gz root@<iPhone IP address>:/var/root # ssh root@<iPhone IP address> # tar xvzf joe-3.7.tar.gz # cd joe-3.7 ./configuremake make install  ./configurecongure script  ./configure    cross-compiling   host # ./configure host=arm-apple-darwin Download at Boykma.Com [...]... Applications Restarting the SpringBoard is a small but critical step in the deployment process There are several different ways to restart your SpringBoard, through both the UI and the command line, and they each have their own merits One application that can restart the SpringBoard is BossPrefs Recent versions have a “Fast Respring” button on the Power management screen (Figure 11- 38) Touching the button will... 12 - Adapt Existing Headphones to Work with the Original iPhone Download at Boykma.Com 349 Hack 12.02: Make the Original iPhone Dock Work for the iPhone 3G Even though the iPhone 3G didn’t come with a dock, you can shave an old dock to work You can modify the iPhone dock that comes with the original iPhone to be compatible with and fit the iPhone 3G Here are the tools you’ll need: 1 2 3 4 Clear packing... use your iPhone only for close-up shots, and you don’t want anything attached to your iPhone, then you can try the surgical approach: open the iPhone and change the focus The process entails opening the phone up, isolating the camera unit, and using pliers to break the glue seal that holds it in the “infinite focus” position You can see more details on this process as performed by Daniel Forsythe at... the Wire To make other 3.5 mm plugs work, you simply need to hack away at the plastic sleeve to make enough room around them so they’ll fit in the hole The technical problem that normally prevents most headphones from connecting is the plastic sheath at the base of the plug The girth of this plastic piece is too wide to fit in the narrow recess surrounding the iPhone s headset port If you compare the. .. last argument, umath.c, is the name of the file that we want to edit That leaves the second argument, '/[jy][01]/ d', which does all the work, is a sed command that will be run on each line of the file The first part of the command is a regular expression that each line is matched against If a line matches, then the d at the end of the command tells sed to delete the line So sed will delete any line... bother, when there’s already a generally wellliked OS on the device It’s like Mount Everest Somebody has to do it—because it’s there ——George Dean IV chapter 11 - access chapter 11 - private apis Download at Boykma.Com 347 12 Hardware Hacks In the future, everyone will have a personal computer with all their information on it, and they will carry it around in their pocket That future is now, and the. .. including the time going to the hardware store to get the sandpaper—depending on how far away your hardware store is! Figures 12-3 and 12-4 show the results 350 iphone hacks Download at Boykma.Com HACK # 12.03 Figure 12-3 Original iPhone dock modified to accept iPhone 3G Figure 12-4 iPhone 3G resting in modified iPhone dock Hopefully, this hack will help save the money it would require to purchase the new... how to disassemble and reassemble all the iPhones and iPod touches And if you’re the circuit builder type, you’ll learn methods for connecting and controlling almost any device—serial or otherwise—to your iPhone, without having to jailbreak it! Hack 12.01: Adapt Existing Headphones to Work with the Original iPhone You can easily adapt hard-to-fit 3.5 mm plugs into a firstgeneration iPhone If you’re using... other platforms, because Interface Builder is available only on Mac OS X Currently the only way to overcome this is to create the desired UI elements programmatically, thereby eliminating the need for the NIB files The UICatalog sample serves as an invaluable resource for hand-coding your UI For one thing, most of the controls are hand-coded even in Apple’s original version of the code; and also, the. .. instance as the root of its navigational 334 iphone hacks Download at Boykma.Com HACK # 11.13 structure Some applications choose UITabBarController as the primary controller; others use custom view controllers when the application is not suited to the standard navigational models of the iPhone But whatever the right root view is for your application, this is where it gets created and added to the main . computer and your iPhone should be on the same Wi-Fi network. You’ll also need d to make sure that SSH is installed and enabled on your phone, as scp uses the SSH protocol to communicate with the. signing   provisioning   You need to install and run at least one app from the App Store before you try this, or these d workarounds may fail. It can be a free or paid app—it just needs to be from the real App Store. Code. #11.02] /Developer/Platforms/iPhoneOS.platform/Info.plist   <key>NATIVE_ARCH</key> <string>armv6</string> <key>PLIST_FILE_OUTPUT_FORMAT</key> <string>binary</string> <key>PROVISIONING_PROFILE_ALLOWED</key> <string>NO</string> <key>PROVISIONING_PROFILE_REQUIRED</key> <string>NO</string> <key>SDKROOT</key> <string>iphoneos2.2</string>   Disable Provisioning Checks on the iPhone     javacom       [Hack

Ngày đăng: 14/08/2014, 20:21

TỪ KHÓA LIÊN QUAN