Sunday, 6 November 2016

Hackintosh Troubleshoot & Reparing

1.Fix file system

Go to single user/safe mode on boot and try following commands:-

$ fsck_hfs -fyr /dev/disk0s2
or
$ fsck_hfs -fyr /dev/disk0s2

Apply these commands to other disk also,  /dev/disk0s1, /dev/disk0s3, /dev/disk0s4 etc depending upon your partitions on disk.


Friday, 21 October 2016

El Capition Hackintosh

Boot Flags for Clover

dart=0 -v nv_disable=1 GraphicsEnabler=Yes

or

-v nv_disable=1


How to check clover's config list where boot flags are stored/populated ?

Where is clover's config.plist ????

Clover stores boot flags and other infos (That  I dont know :)) in config.plist
at path /Volumes/EFI/EFI/CLOVER/config.plist

EFI partition is hidden, so we need to mount it.

See all the partitions on hard disk
$ diskutil list

$ mkdir /Volumes/efi

$ sudo mount -t msdos /dev/disk0s1 /Volumes/efi

Go to finder and read/edit the file.


Useful Links:
https://eladnava.com/install-os-x-10-11-el-capitan-on-hackintosh-vanilla/


http://osxarena.com/2015/10/guide-install-mac-osx-el-capitan-on-hackintosh-pc-with-clover-vanilla-installation-method/


Friday, 12 August 2016

How to get UDID of iPhone or iOS Device ?

  • Launch iTunes and connect your iPhone.
  • In the right pane, locate the information about your iPhone, including its name, capacity, software version, serial number, and phone number.
  • Reveal the Identifier by clicking on Serial Number:
  • Go to Edit
  • Copy UUID

iOS Launch Screen Images and App Icon Sizes

 Launch Screen Sizes iOS


      Naming Convention                    Size

1.  ipadLandscape1x                     1024 x 768
2.  ipadLandscape2x                     2048 x 768
3.  ipadLandscapeWSB1x                  1024 x 748
4.  ipadLandscapeWSB2x                  2048 x 1496
5.  ipadPortrait1x                      768  x 1024
6.  ipadPortrait2x                      1536 x 2048
7.  ipadPortraitWSB1x                   768  x 1004
8.  ipadPortraitWSB2X                   1536 x 2008
9.  iphonePortrait1x                    320  x 480
10. iphoneLandscapeHD5.5                2208 x 1242
11. iphonePortrait2x                    640  x 960
12. iphonePortraitHD4.7                 750  x 1334
13. iphonePortraitRatina                640  x 1136
14. iphonePortraitRatina4               640  x 1136
15. iphonePortraitRatinaHD5.5           1242 x 2208
16. Launch Screen                       480  x 480




   App Icons Sizes iOS


    Naming Convention                       Size

1. icon_29                                29  x 29
2. icon_58                                58  x 58
3. icon_87                                87  x 87
4. icon_80                                80  x 80
5. icon_120                               120 x 120
6. icon_57                                57  x 57
7. icon_114                               114 x 114
8. icon_120                               120 x 120
9. icon_180                               180 x 180
10.icon_29                                29  x 29
11.icon_58                                58  x 58
12.icon_120                               120 x 120
13.icon__40                               40 x 40
14.icon_80                                 80 x 80
15.icon__50                               50 x 50
16.icon_100                              100 x 100
17.icon_72                                 72 x 72
18.icon_144                              144 x 144
19.icon_76                                76 x 76
20.icon_152                              152 x 152
21.icon_167                              167 x 167
22.icon_1024                             1024 x 1024

How to install ipa on Device ?

  • Drag-and-drop IPA file into 'Apps' tab of iTunes
  • Connect your device
  • Select your device on iTunes
  • Select 'Apps' tab
  • Search app that you want to install
  • Click on 'Install' button. This will change to 'Will Install'
  • Click on 'Apply' button on right corner. 
  • This will initiate process of app installation. 
  • You can see status on top of iTunes as well as app on device.

Sunday, 7 August 2016

How to edit Clover config.plist ?

To edit clover's config.plist, you need to  mount an EFI boot partition.

To see the volume identifier for your EFI boot partition.

Run this command:

$ diskutil list

The output:-

/dev/disk0
 #: TYPE                     NAME          SIZE       IDENTIFIER
 0: GUID_partition_scheme        
         *251.0 GB  disk0
 1: EFI                                    209.7 MB   disk0s1
 2: Apple_HFS                Macintosh HD  250.1 GB   disk0s2
 3: Apple_Boot               Recovery HD   650.0 MB   disk0s3
 
 
Mount EFI
$ mkdir /Volumes/efi
$ sudo mount -t msdos /dev/disk0s1 /Volumes/efi

 
Edit Clover config
$ vi /Volumes/efi/EFI/CLOVER/config.plist

<key>Boot</key>

Saturday, 14 May 2016

How to clean xcode cache

Xcode create a huge memory cache/dump on hard disk that often makes your computer slow !

To clean this, go to Terminal and run following command

 cd /Users/macdev/Library/Developer/Xcode/DerivedData
 rm -fr <Dir-name>


Tip:-
To check disk usage of a directory, run following command:-

du -sh *

Hope this helps, cheers (*_*)