Author Topic: Making of your own Custom Firmware  (Read 10528 times)

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Making of your own Custom Firmware
« on: August 22, 2011, 12:51:12 PM »
ok. this is the start of my custom firmware tutorial. I won't go in depth for now but will add stuff as soon as i can.

Windows user's only:
1. Windows user should download and install virtualbox
2. Download/Buy/Borrow a copy of Mac OS and install on your virtual machine. There are a couple tutorials for this. Unfortuanetly I can't find the one I used. When I find it i will post the link
3. Boot up your Virtual Machine

4. Download the firmware you want to mod
5. Make a base custom firmware with pwnagetool or sn0wbreeze ( copy the ipsw from your host pc to your virtual machine)
6. Rename the ipsw to zip
7. Extract it
8. Look for the biggest .dmg file in there, that is your filesystem
9. People who used sn0wbreeze may or not may correct the permissions of the "firmware" folder( from " own" to read write)
10. open Terminal
11. cd to the location of your dmg, foor example Desktop ( cd Desktop)
12. make your dmg writable by typing
      hdiutil convert -format UDRW somenumbers.dmg  -o udrw.dmg
13. Mount the dmg ( double click it)
14. Browse through the "drive" and make the changes you want, examples
     -delete Launchdaemons from system/library/launchdaemons
     -Put your contatcs etc. into the right folders in var/mobile/library (more info coming)
     -Put deb files into var/root/Media/Cydia/AutoInstall
     -replace the 100.png file in var/stash/Wallpaper/your device/ with the wallpaper you want on startup
     -Place .plist from var/mobile/Library/Preferences in the right folder
     -etc.^^
15. if everything is done open terminl again and type in
     - hdiutil convert -format udrw.dmg -o udzo.dmg
15.1 Check if the file is okay by typing
       asr -imagescan udzo.dmg
16. Put udzo.dmg into the folder you extracted and rename it back to the original name
17. Mark the files in the folders and zip them(IMPORTANT: Don't zip the folder, only the files in the folder)
18. Rename the zip to ipsw
19. Put your device into pwned dfu and restore like you always did.
20. After bootup make 1-2 restarts, maybe 3.

21. Be happy:-)

Again, i will add more stuff later and make it more clear, add pictures etc.
And i am not responsible for any damage you do to your device by deleting important files etc. only edit the things you know!
« Last Edit: August 23, 2011, 12:24:17 PM by realblack7 »
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline iShubham

  • Just a Helper :)
  • SuperHero Member
  • *****
  • Posts: 838
  • Country: in
  • Find me.
    • View Profile
    • iTooleTech
  • Device: iPod Touch 2G
  • My Computer: Windows
Re: Making of your own Custom Firmware
« Reply #1 on: August 22, 2011, 01:36:31 PM »
is there any way to do this on just windos and not VM?
cause i have very less space in my pc now,and im gonna upgrade in 2-3 months and then ill dual boot with mac ...
but not now...

The Whited00r Team needs to buy iPods 1G/2G & iPhones 2G/3G for testing WD 6.1 Beta, Apps & Features. We need your help to keep WD Free.

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: Making of your own Custom Firmware
« Reply #2 on: August 22, 2011, 01:43:42 PM »
ehm..actually thi sis what i did.
I think it might be possible by converting the dmg file to iso with the program dmg2iso. then edit the iso and convert it back with..don't know ultraiso? didn't try it though
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline iShubham

  • Just a Helper :)
  • SuperHero Member
  • *****
  • Posts: 838
  • Country: in
  • Find me.
    • View Profile
    • iTooleTech
  • Device: iPod Touch 2G
  • My Computer: Windows
Making of your own Custom Firmware
« Reply #3 on: August 22, 2011, 04:11:23 PM »
Ok ill try

The Whited00r Team needs to buy iPods 1G/2G & iPhones 2G/3G for testing WD 6.1 Beta, Apps & Features. We need your help to keep WD Free.

Offline snowcolt

  • Hero Member
  • ****
  • Posts: 167
  • ....
    • View Profile
Re: Making of your own Custom Firmware
« Reply #4 on: August 22, 2011, 08:26:58 PM »
cant run vm... but i got a hackintosh. i will try when i hook it back up. thanks alot. and i will try for the dmg2iso. ;)

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: Making of your own Custom Firmware
« Reply #5 on: August 22, 2011, 08:29:31 PM »
when you have an hackintosh then it will be best idea to use this cause it ..let's says the native place for those files^^
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline snowcolt

  • Hero Member
  • ****
  • Posts: 167
  • ....
    • View Profile
Re: Making of your own Custom Firmware
« Reply #6 on: August 22, 2011, 08:37:37 PM »
whole purpose of my hackintosh ;). im on it right now. going to try and do a 4.3

is this good xD
hdiutil: -convert: verb not recognized
Usage: hdiutil <verb> <options>
<verb> is one of the following:
help               imageinfo
attach             internet-enable
detach             isencrypted
eject              makehybrid
verify             mount
create             mountvol
compact            unmount
convert            plugins
burn               resize
info               segment
load               pmap
checksum           pmap2
chpass             udifderez
unflatten          udifrez
flatten            
snow-colts-dell-dv051-stacpi:~ snowcolt$
« Last Edit: August 22, 2011, 09:35:59 PM by snowcolt »

Offline snowcolt

  • Hero Member
  • ****
  • Posts: 167
  • ....
    • View Profile
Re: Making of your own Custom Firmware
« Reply #7 on: August 23, 2011, 12:22:06 AM »
is there any way to do this on just windos and not VM?
cause i have very less space in my pc now,and im gonna upgrade in 2-3 months and then ill dual boot with mac ...
but not now...

use poweriso. it works great.

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: Making of your own Custom Firmware
« Reply #8 on: August 23, 2011, 03:45:27 AM »
ah it is a typo, didnt remember right.

hdiutil convert -format UDRW your.dmg -o output.dmg

this should work
« Last Edit: August 23, 2011, 12:24:51 PM by realblack7 »
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline snowcolt

  • Hero Member
  • ****
  • Posts: 167
  • ....
    • View Profile
Re: Making of your own Custom Firmware
« Reply #9 on: August 23, 2011, 03:53:30 PM »
i didnt know. lol you can also do it in windows easy.
make the ipsw in sn0breeze.
change the .ipsw to.zip.
get poweriso.
you can convert the dmg to iso, or create a new folder, and extract the dmg in the new folder. and edit your stuff.

still trying to figure out a way to convert back to .dmg

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: Making of your own Custom Firmware
« Reply #10 on: August 23, 2011, 04:12:32 PM »
thats why you do it on mac without converting it:P
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline snowcolt

  • Hero Member
  • ****
  • Posts: 167
  • ....
    • View Profile
Re: Making of your own Custom Firmware
« Reply #11 on: August 23, 2011, 09:25:17 PM »
most people... *cough, cough* iShubham, doesnt have a hackintosh, mac, nor can run vm. lol. trying to find a alternative way for others.

Offline realblack7

  • Omniscient and stuff...
  • SuperHero Member
  • *****
  • Posts: 650
  • Country: de
  • Human Instrumentality
    • View Profile
    • realblack7's Repo
  • Device: iPod Touch 1G
  • My Computer: Windows
Re: Making of your own Custom Firmware
« Reply #12 on: August 24, 2011, 12:18:30 PM »
mmhh..why shouldn't you be able to run a VM? the thing that can happen is if you have pc with low RAM it can be laggy.
But yeah the way with poweriso or whatsoever is possible, though you need a script to turn it back into an dmg..but i think there shuld be some
Creator of RealBackup: Last Updated Post | Creator of iCloud for WD Info Page | iPhone 3GS
My Repo: cydia.realblack7.bplaced.net

Offline banana

  • Banana
  • Administrator
  • SuperHero Member
  • *****
  • Posts: 2432
  • Country: kp
  • Banana
    • View Profile
    • FinkMac's Blog!
  • Device: iPod Touch 1G
  • My Computer: Mac
Making of your own Custom Firmware
« Reply #13 on: August 24, 2011, 01:05:50 PM »
All the steps described here can be done with a cheap $30 iMac G3
Banana

Offline snowcolt

  • Hero Member
  • ****
  • Posts: 167
  • ....
    • View Profile
Re: Making of your own Custom Firmware
« Reply #14 on: August 24, 2011, 06:31:43 PM »
neither my computers support vm. mine just never boots. i did however get it to go on my dell once. and everyone says its impossible. but that was a while back. and like finkmac said. you can do it with a g3. or see if you can do a hackintosh