Difference between revisions of "Template talk:Keys"

From The iPhone Wiki
Jump to: navigation, search
(File Names: Another idea also.)
(Required Changes: new section)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
== File Names ==
 
== File Names ==
I know why we list the file names of the Root FS and ramdisks: to know which is which. Why don't we list the file names of the other ([[IMG3 File Format|IMG3]]) files? I have seen some [[n82ap|iPhone 3G]] (<code>iPhone1,2</code>/<code>n82ap</code>) firmwares that contain [[m68ap|iPhone 2G]] (<code>iPhone1,1</code>/<code>m68ap</code> IMG3 files also under <code>/Firmware/dfu</code> and <code>/Firmware/all_flash</code>. There have also been some firmwares that contain multiple [[Kernelcache]]s.<br />To know which is which, you need to look up the [[Application Processor|application processor]]'s name. If you have the keys in front of you, it would make sense to have the file name also. Listing the file names of the Root FS and ramdisks makes it so you don't have to look in <code>BuildManifest.plist</code> to find out which is which. So why do we make you have to look up the applicatioin processor's name?<br />Granted, this situation doesn't happen that often, but it would still make sense. As for how to acomplish this, we can just use the current method for IMG3 files, but modified a bit ([[Big Bear 5C1 (iPhone)|iPhone 2G 2.0.2 (5C1)]]):
+
I know why we list the file names of the Root FS and ramdisks: to know which is which. Why don't we list the file names of the other ([[IMG3 File Format|IMG3]]) files? I have seen some [[N82AP|iPhone 3G]] (<code>iPhone1,2</code>/<code>n82ap</code>) firmwares that contain [[M68AP|iPhone 2G]] (<code>iPhone1,1</code>/<code>m68ap</code> IMG3 files also under <code>/Firmware/dfu</code> and <code>/Firmware/all_flash</code>. There have also been some firmwares that contain multiple [[Kernelcache]]s.<br />To know which is which, you need to look up the [[Application Processor|application processor]]'s name. If you have the keys in front of you, it would make sense to have the file name also. Listing the file names of the Root FS and ramdisks makes it so you don't have to look in <code>BuildManifest.plist</code> to find out which is which. So why do we make you have to look up the applicatioin processor's name?<br />Granted, this situation doesn't happen that often, but it would still make sense. As for how to acomplish this, we can just use the current method for IMG3 files, but modified a bit ([[Big Bear 5C1 (iPhone1,1)|iPhone 2G 2.0.2 (5C1)]]):
 
| iBSS = iBSS.m68ap.RELEASE.dfu
 
| iBSS = iBSS.m68ap.RELEASE.dfu
 
| iBSSIV = TODO
 
| iBSSIV = TODO
Line 14: Line 14:
 
:While I like the new design, I don't think we should change these key pages all the time just for the sake of design. Remember that this wiki is intended for developers and hackers and people who want to learn something, so it doesn't matter how nice the key looks like. And the arguments of [[User:Cj|cj]] and [[User:INeal11|Neal]] are very valid - there are tools that create these pages and things that have to be changed just because of this new design. I know I'm a little behind in looking through the wiki changes, but the worst thing here is that these changes have started without a discussion with a generic agreement. --[[User:Http|http]] ([[User talk:Http|talk]]) 22:06, 24 October 2013 (UTC)
 
:While I like the new design, I don't think we should change these key pages all the time just for the sake of design. Remember that this wiki is intended for developers and hackers and people who want to learn something, so it doesn't matter how nice the key looks like. And the arguments of [[User:Cj|cj]] and [[User:INeal11|Neal]] are very valid - there are tools that create these pages and things that have to be changed just because of this new design. I know I'm a little behind in looking through the wiki changes, but the worst thing here is that these changes have started without a discussion with a generic agreement. --[[User:Http|http]] ([[User talk:Http|talk]]) 22:06, 24 October 2013 (UTC)
 
::If opening your code and changing <code>"build"</code> to <code>"Build"</code> and recompiling is too hard, you really shouldn't be programming. I've had to update my parsers for many sites whenever they change, but I'm not complaining. --[[User:5urd|5urd]] ([[User talk:5urd|talk]]) 00:38, 25 October 2013 (UTC)
 
::If opening your code and changing <code>"build"</code> to <code>"Build"</code> and recompiling is too hard, you really shouldn't be programming. I've had to update my parsers for many sites whenever they change, but I'm not complaining. --[[User:5urd|5urd]] ([[User talk:5urd|talk]]) 00:38, 25 October 2013 (UTC)
:::I know it is a little late ideally, but what about for the S5L8900, we change <code>LLBIV = Not Encrypted</code> to <code>LLBNotEncrypted</code>? I think the <code>IV</code> part is pointless and looks stupid. It can also be confusing. I know it means editing the 8900 pages again, but I feel that this change is worth it and it would have the same rules, 15 edits a day. What do you think? --[[User:IAdam1n|iAdam1n]] ([[User talk:IAdam1n|talk]]) 11:31, 27 October 2013 (UTC)
+
:I know it is a little late ideally, but what about for the S5L8900, we change <code>LLBIV = Not Encrypted</code> to <code>LLBEncrypted = false</code>? I think the <code>IV</code> part is pointless and looks stupid. It can also be confusing. I know it means editing the 8900 pages again, but I feel that this change is worth it and it would have the same rules, 15 edits a day. What do you think? I also had a few more ideas so [http://pastie.org/private/twtuvig3i5bni71yyjkg here] is an example. --[[User:IAdam1n|iAdam1n]] ([[User talk:IAdam1n|talk]]) 11:31, 27 October 2013 (UTC)
  +
::While I want this as much as you, it doesn't won't affect the output of the page. In addition, it will upset many people here. --[[User:5urd|5urd]] ([[User talk:5urd|talk]]) 02:17, 28 October 2013 (UTC)
  +
::I propose to not change the key pages anymore. Leave them like they are for now. If, in half a year or so, you come to a conclusion that further changes would be useful, start a new discussion and list the benefits and the number of pages affected. I would oppose minor cosmetic changes. --[[User:Http|http]] ([[User talk:Http|talk]]) 07:48, 28 October 2013 (UTC)
  +
:::The reason I suggested it now was because if people had not updated their tools and I know of one person for sure, [[User:CompilingEntropy|CompilingEntropy]], then it would have been best to edit with all changes than twice but as you wish. --[[User:IAdam1n|iAdam1n]] ([[User talk:IAdam1n|talk]]) 01:51, 10 November 2013 (UTC)
  +
  +
Just putting this out there, but it'd be even better that if you '''had to''' change a template for any of your (surely "important" reasons), you were to add an actual decent message about '''what has changed AND WHY''''. ''"i think that should do it"'' or ''"Lets see if this looks better...."'' give me (and everyone else) no guide whatsoever, frankly. --[[User:Cj|cj]] ([[User talk:Cj|talk]]) 17:02, 10 November 2013 (UTC)
  +
:To be honest, I don't care now if we use my latest idea or not. --[[User:IAdam1n|iAdam1n]] ([[User talk:IAdam1n|talk]]) 17:25, 10 November 2013 (UTC)
  +
  +
::Just an update, the template changes have been completed. Thank you all for being patient. --[[User:IAdam1n|iAdam1n]] ([[User talk:IAdam1n|talk]]) 12:48, 25 November 2013 (UTC)
  +
  +
== Adding hashes ==
  +
  +
It would be handy to add a "Hash:" key to the firmware key template. Perhaps that could ensure people who are trying to decrypt firmwares don't end up with a corrupted firmware, if they check the hash.
  +
  +
OR, it might be sufficient to just add the file size of the firmwares to the template.
  +
  +
--[[User:Citrusui|Citrusui]] ([[User talk:Citrusui|talk]]) 01:11, 17 February 2017 (UTC)
  +
  +
== Required Changes ==
  +
  +
After the addition of [[YagerC 17K449 (AppleTV6,2)]] I've noticed that it shows rootfs but it's only an OTA file so there is no rootfs dmg, so there needs to be a change made to the template to allow this. Also inside of the OTA is an UpdateRamdisk but it is listed as "038-02160-057.dmg.image-img4" but the template automatically appends a ".dmg". I'm thinking maybe if we include say {{otakeys}} on the page then the template could not append ".dmg" and have the optional rootfs. I could technically create a copy of this template and paste it into {{otakeys}} and make the changes there then just use <code><nowiki>{{otakeys .......}}</nowiki></code> on the page, but if someone knows how to make the changes and keep it inside of this template, then that would be better. --[[User:IAdam1n|iAdam1n]] ([[User talk:IAdam1n|talk]]) 16:18, 30 August 2020 (UTC)

Latest revision as of 16:18, 30 August 2020

File Names

I know why we list the file names of the Root FS and ramdisks: to know which is which. Why don't we list the file names of the other (IMG3) files? I have seen some iPhone 3G (iPhone1,2/n82ap) firmwares that contain iPhone 2G (iPhone1,1/m68ap IMG3 files also under /Firmware/dfu and /Firmware/all_flash. There have also been some firmwares that contain multiple Kernelcaches.
To know which is which, you need to look up the application processor's name. If you have the keys in front of you, it would make sense to have the file name also. Listing the file names of the Root FS and ramdisks makes it so you don't have to look in BuildManifest.plist to find out which is which. So why do we make you have to look up the applicatioin processor's name?
Granted, this situation doesn't happen that often, but it would still make sense. As for how to acomplish this, we can just use the current method for IMG3 files, but modified a bit (iPhone 2G 2.0.2 (5C1)):

 | iBSS                = iBSS.m68ap.RELEASE.dfu
 | iBSSIV              = TODO
 | iBSSKey             = TODO

Any ideas? --5urd (talk) 15:58, 3 October 2013 (UTC)

Sounds like a great idea, but I would also add an option for the kernelcache (not the key) but the filename. --Phyrrus9 (talk) 02:04, 5 October 2013 (UTC)
I propose no such changes to key pages (we have many existing ones and updating them all is a pain - not to mention those of us who can actually grab keys keep having to change our templates.) --cj (talk) 16:57, 8 October 2013 (UTC)
I'm with cj on this, it's frustrating to be updating things all the time just to keep up with the latest template. Additionally, I don't think the filenames are necessary; anyone who is going to be doing this type of thing will know how to find the file they're looking for without being told the exact filename. --CompilingEntropy (talk) 20:15, 8 October 2013 (UTC)
I think we should continue to list with this new format. It is nicer now it has a smaller font and its quite nice. Filenames are not needed but it is consistent. --iAdam1n (talk) 20:16, 8 October 2013 (UTC)
It's entirely INCONSISTENT with all previous designs. --cj (talk) 19:10, 9 October 2013 (UTC)
I would love to know how you define consistent. --Neal (talk) 19:14, 9 October 2013 (UTC)
After discussions with admins, we have decided to continue over periods of time, 15 edits for this a day. --iAdam1n (talk) 08:29, 10 October 2013 (UTC)
While I like the new design, I don't think we should change these key pages all the time just for the sake of design. Remember that this wiki is intended for developers and hackers and people who want to learn something, so it doesn't matter how nice the key looks like. And the arguments of cj and Neal are very valid - there are tools that create these pages and things that have to be changed just because of this new design. I know I'm a little behind in looking through the wiki changes, but the worst thing here is that these changes have started without a discussion with a generic agreement. --http (talk) 22:06, 24 October 2013 (UTC)
If opening your code and changing "build" to "Build" and recompiling is too hard, you really shouldn't be programming. I've had to update my parsers for many sites whenever they change, but I'm not complaining. --5urd (talk) 00:38, 25 October 2013 (UTC)
I know it is a little late ideally, but what about for the S5L8900, we change LLBIV = Not Encrypted to LLBEncrypted = false? I think the IV part is pointless and looks stupid. It can also be confusing. I know it means editing the 8900 pages again, but I feel that this change is worth it and it would have the same rules, 15 edits a day. What do you think? I also had a few more ideas so here is an example. --iAdam1n (talk) 11:31, 27 October 2013 (UTC)
While I want this as much as you, it doesn't won't affect the output of the page. In addition, it will upset many people here. --5urd (talk) 02:17, 28 October 2013 (UTC)
I propose to not change the key pages anymore. Leave them like they are for now. If, in half a year or so, you come to a conclusion that further changes would be useful, start a new discussion and list the benefits and the number of pages affected. I would oppose minor cosmetic changes. --http (talk) 07:48, 28 October 2013 (UTC)
The reason I suggested it now was because if people had not updated their tools and I know of one person for sure, CompilingEntropy, then it would have been best to edit with all changes than twice but as you wish. --iAdam1n (talk) 01:51, 10 November 2013 (UTC)

Just putting this out there, but it'd be even better that if you had to change a template for any of your (surely "important" reasons), you were to add an actual decent message about what has changed AND WHY'. "i think that should do it" or "Lets see if this looks better...." give me (and everyone else) no guide whatsoever, frankly. --cj (talk) 17:02, 10 November 2013 (UTC)

To be honest, I don't care now if we use my latest idea or not. --iAdam1n (talk) 17:25, 10 November 2013 (UTC)
Just an update, the template changes have been completed. Thank you all for being patient. --iAdam1n (talk) 12:48, 25 November 2013 (UTC)

Adding hashes

It would be handy to add a "Hash:" key to the firmware key template. Perhaps that could ensure people who are trying to decrypt firmwares don't end up with a corrupted firmware, if they check the hash.

OR, it might be sufficient to just add the file size of the firmwares to the template.

--Citrusui (talk) 01:11, 17 February 2017 (UTC)

Required Changes

After the addition of YagerC 17K449 (AppleTV6,2) I've noticed that it shows rootfs but it's only an OTA file so there is no rootfs dmg, so there needs to be a change made to the template to allow this. Also inside of the OTA is an UpdateRamdisk but it is listed as "038-02160-057.dmg.image-img4" but the template automatically appends a ".dmg". I'm thinking maybe if we include say Template:Otakeys on the page then the template could not append ".dmg" and have the optional rootfs. I could technically create a copy of this template and paste it into Template:Otakeys and make the changes there then just use {{otakeys .......}} on the page, but if someone knows how to make the changes and keep it inside of this template, then that would be better. --iAdam1n (talk) 16:18, 30 August 2020 (UTC)