Автор | Тема: Учимся делать кастомные прошивки (Прочитано 60 раз) |
|
Tuk_Tuk_Tuk_Stahur

Новичок

Сообщений: 5 Репутация: 1 Пол:  Brainrot
|  | Учимся делать кастомные прошивки « Дата: September 20th, 2026, 9:12pm » |   |
Создаю отдельную тему для кастомных прошивок, или инструкций к ним. У меня самого сложности с этим всем. Предпочтительно для 7-ки, но так же можна и для 8-ки и для 10-ки если такое есть. Считаю что надо где то собрать адекватно, и возможно кто то еще попробует это сделать. Напишу то что для Samsung Omnia 7 и Samsung Focus нормальных кастомов не сохранилось, и приходиться скорее всего делать свои прошивки под Full Unlock. | | Скрыт |
|
|
|
Tuk_Tuk_Tuk_Stahur

Новичок

Сообщений: 5 Репутация: 1 Пол:  Brainrot
|  | Re: Учимся делать кастомные прошивки « Сообщение #1 Дата: September 22nd, 2026, 10:24pm » |   |
Даю оригинал инструкции старой как мир:
How cooker a ROM WP7 (Part 1 : Beginner, bases, etc...)
Preamble
Hello everyone, Firstly I'm really sorry for my bad English used For personal reasons, sometimes we want to create our own ROMs Customs, to add features, change the SplashScreen add xap default, etc ... In short there are plenty full of reasons, this is why I decided to start this tutorial. The tutorial will consist of two distinct parts, and thereby be constituted as follows : • The first part "How cooker a ROM WP7 (Part 1 : Beginner, bases, etc...)" which as its name suggests is designed for the beginner. • A second part "How cooker a ROM WP7 (Part 2 : More complete control, etc...)" which as its name suggests is much deeper. Warning :
If you work on another ROM Cuisto either this forum or another, in order to avoid XDA-Developers any dispute, you must have the permission of the Cuisto if you want to publish your ROM. Prerequisites
• Download OSBuilder 1.4.223, installez le. • Download ROM Customs WP7, for example Gen-Mob v1 (2 langues) for Samsung Omnia 7. Unpack the archive. • I recommended to watch videos to learn more. It is here. Decompilation/compilation Decompilation 1. Rename the file "OS.D000FF" to "OS.nb" which is in the folder of the ROM download previously (1). 2. Start OSBuilder, go to "Mode - Dump Tool" (top right of the screen) (2). Click "File" and "Open file" (3). 3. Select the file "OS.nb" you rename (4). Make sure that the file type is "nb files (*. Nb)" (5). Click "Open". 4. Create packages (it will create all the files needed, basically it is decompilation) (6). 5. Switch to "Mode - OS Builder" (top right of the screen) (7). Click "File" and "Open folder" ( . 6. Select the folder "Dump" which is in the folder of the downloaded ROM (9) then click "OK" (10). Compilation 7. Click "Settings" (11) then click the tab "General" (12 ). In the "Packages", uncheck the first two boxes (13). Click the tab "Building - 2" (14). 8. Under the tab "Building - 2" click "ROM files and types" at the bottom of the window (15). 9. In the "NB file" select "D000FF" (16). In the case of "New NB file" mark "OS.D000FF" (17). Check "Copy ROM file to selected folder" (1 then click the "travel" at the bottom of the window (19). 10. Select your destination folder (where you want to save, in my example I created a folder "ROM Customs") (20). Click "OK" in the three windows (21, 22, 23). 11. Click on "Refresh" (24) then click the "Start" (25). 12. Your ROM is in the destination folder you chose above. Must in this case - in order to flash this ROM - there is "DFT_WPI_SAM1.exe ", "rapitool.exe" and "OS.D000FF". Try to understand how to add xap, add / modify the SplashScreen, etc ... Anyway another tutorial will explain to you all this and more, but mostly patience and be curious. The updates will follow, Part 2 and under construction and you will learn the DSM, register file, etc, etc ... patience Again, sorry for my bad English Do not forget the Thanks Meter if you are satisfied hBk0 How cooker a ROM WP7 (Part 2 : More complete control, etc...)
Warning, this tutorial is Part 2 of construction, and is therefore incomplete. Preamble
For personal reasons, sometimes we want to create our own ROMs Customs, to add features, change the SplashScreen add xap default, etc ... In short there are plenty full of reasons, this is why I decided to start this tutorial.
This tutorial follows the first part. Warning :
If you work on another ROM Cuisto either this forum or another, in order to avoid XDA-Developers any dispute, you must have the permission of the Cuisto if you want to publish your ROM. Prerequisites
• Download "OSBuilder 1.4.223", then install it. • Download a Custom ROM WP7, for example the "Gen-Mob v1 (2 langues)" pour le Samsung Omnia 7, then unzip the archive. • I recommended to watch the videos to learn more.It is here. Sorry for my bad English Do not forget the Thanks Meter if you are satisfied Certificate and Digital Signature Creating a Digital Signature and its certificate Download "Utilitaires Cook WP7 Titi66200.zip", then unzip the archive. Go to the folder "WP7 Update Cab Builder\Certificat".
Edit the file "Créer un Certificat.bat" with Notepad.
Replace all "Titi66200" the name of the certificate you want. Save the changes and start "Créer un Certificat.bat". A password is required, click "aucun". You now have three new files :
"Nom du certificat.cer" which is the certificate (used in the creation of the cabs and ROM update).
"Nom de la clé privé.pvk" is the private key (but is no longer used to keep).
"Nom de la signature numérique.pfx" which is the digital signature (used to sign cabs update). Integration of the certificate in the ROM Open the "Dump" the ROM on OSBuilder.
go on "Tools" and "Edit DefaultCerts.dat". Go on "Certificates" and "Add". Select the certificate and click on "Ouvrir". Go on "File" and "Save". The first certificate is installed. Go on "Tools" and "Edit MsDefaultCerts.dat".
Go on "Certificates" and "Add". Select the certificate and click on "Ouvrir". Go on "File" and "Save". The second certificate is now installed. It is also possible to integrate it into "Edit MsDefaultCerts.dat [SLDR]" and "Edit MsDefaultCerts.dat [SLDR]" (this requires a reconstruction of the SLDR during the creation of the ROM). Integration of DSM in the certificate of the OEM ROM Packages It is strongly recommended to include the certificate in the DSM, it will change its packages in the future with updates by cab.
Quick explanation : To modify a package in ROM must contain the latter certificate of the person who signed the cab update. Click with the right mouse button on the OEM package to modify and "Edit DSM". Click the tab "Certificates". Click with the right mouse button and "Add from .cer file". Select the certificate and click on "Ouvrir". Going to do this with all OEM Packages. Sorry for my bad English Do not forget the Thanks Meter if you are satisfied hBk0 Integration a xap Integration a xap in Packages To embed a xap in Packages, we obviously need to xap and a "registry file" which has the extension ".rgu".
Locate the xap package, then right click and "Open" edit the file .rgu (1). In the file .rgu, you should have about :
Code:
REGEDIT4 [HKEY_LOCAL_MACHINE]
[HKEY_LOCAL_MACHINE\Software]
[HKEY_LOCAL_MACHINE\Software\OEM]
[HKEY_LOCAL_MACHINE\Software\OEM\FirstBoot] [HKEY_LOCAL_MACHINE\Software\OEM\FirstBoot\InstallApps]
"\\Windows\\Name_of_xap.xap"=""
Therefore for integrate a xap, must simply add this line by changing "Name_of_xap" based on the name of the xap Code:
"\\Windows\\Name_of_xap.xap"=""
Exemple :
Code:
REGEDIT4 [HKEY_LOCAL_MACHINE]
[HKEY_LOCAL_MACHINE\Software]
[HKEY_LOCAL_MACHINE\Software\OEM]
[HKEY_LOCAL_MACHINE\Software\OEM\FirstBoot] [HKEY_LOCAL_MACHINE\Software\OEM\FirstBoot\InstallApps]
"\\Windows\\Connection Setup.xap"=""
"\\Windows\\DiagnosisApp.xap"=""
"\\Windows\\ScreenCapturer.xap"=""
"\\Windows\\WP7RootTools.xap"=""
"\\Windows\\DigitalPower.xap"=""
"\\Windows\\GSensorSwitch.xap"=""
"\\Windows\\Bazaar.xap"=""
"\\Windows\\ContactsShare.xap"=""
"\\Windows\\Counters.xap"=""
"\\Windows\\CityLens.xap"=""
"\\Windows\\Themes.xap"=""
"\\Windows\\CameraExtras.xap"=""
Then finish with a blank line and save in "Unicode". Integration in DSM Right click on the DSM, and "Open (2)" Go to the tab "Modules and files" (3) and right click "Add file" (4). Click on the first file and then "Open" (6). Made for all the files in the Package (5). Integration of wallpapers Integration of wallpapers in Packages To embed a wallpaper in Packages, we need obviously wallpapers and a "Registry file", which has the extension ".rgu". It's a bit the same procedure as the integration of xap. Locate the wallpapers Package (1), then right click on the file .rgu, and "Open" (2). In the file .rgu, you should have about :
Code:
REGEDIT4 [HKEY_CURRENT_USER]
[HKEY_CURRENT_USER\Software]
[HKEY_CURRENT_USER\Software\Microsoft]
[HKEY_CURRENT_USER\Software\Microsoft\Photos] [HKEY_CURRENT_USER\Software\Microsoft\Photos\LockScreen]
"CurrentWallpaper"="\\Windows\\wallpaper.jpg" [HKEY_LOCAL_MACHINE]
[HKEY_LOCAL_MACHINE\Software]
[HKEY_LOCAL_MACHINE\Software\Microsoft]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell] [HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\WallpaperSets]
"OEMWallpapers"=multi_sz:"\\Windows\\Wallpaper_00.jpg"
"Wallpapers"=multi_sz: "\\windows\\Wallpaper_01.jpg",
Therefore include a wallpaper, you simply have to add this line by changing "Name_of_wallpaper" based on the name of the wallpaper Code:
"\\windows\\Name_of_wallpaper.jpg"
WARNING : It is not too simple, indeed it must to the last line of code from the last wallpaper, there is no "decimal point" => "," end of line.
Example :
Code:
"Wallpapers"=multi_sz: "\\windows\\Wallpaper_01.jpg", "\\windows\\Wallpaper_02.jpg"
Same for all lines of code wallpaper, even the first line of wallpaper, except the last (now you know why), you need a decimal point at the end of the line.
Example :
Code:
"Wallpapers"=multi_sz: "\\windows\\Wallpaper_01.jpg", "\\windows\\Wallpaper_02.jpg", "\\windows\\Wallpaper_03.jpg", "\\windows\\Wallpaper_04.jpg", "\\windows\\Wallpaper_05.jpg", "\\windows\\Wallpaper_06.jpg", "\\windows\\Wallpaper_07.jpg",
So in the end, its going to give it :
Code:
"Wallpapers"=multi_sz: "\\windows\\Wallpaper_01.jpg", "\\windows\\Wallpaper_02.jpg", "\\windows\\Wallpaper_03.jpg", "\\windows\\Wallpaper_04.jpg", "\\windows\\Wallpaper_05.jpg", "\\windows\\Wallpaper_06.jpg", "\\windows\\Wallpaper_07.jpg", "\\windows\\Wallpaper_08.jpg"
To choose the wallpaper that will display when you boot your Windows Phone, you have this line :
Example :
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Photos\LockScreen]
"CurrentWallpaper"="\\Windows\\Name_of_Wallpaper.jpg"
WARNING : the same, do not put the "," end of line.
then finish with a blank line and then save in "Unicode". Intégration dans les DSM Right click on the DSM, and "Open (3)" Go to the tab "Modules and files" (4). Right-click anywhere, and "Add file" (5). Click on the first file, and "Open" (6). Do this for all files in the package. Click on "File", and "Save (7)" You see, I told you that it's a bit the same procedure as for the integration of xap Integration of registry key Integration in the registry key file .rgu To integrate a registry key we need registry key (you have full full full on xda (over 80 pages), seeking a minimum). We also need a file .rgu. Select a Package (1), then right click on the file .rgu, and "Open" (2). In a file .rgu, you should have this :
Code:
REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Qualcomm\Adreno20X]
"SlushFundAdjustmentLimit"=dword:20000
"SlushFundSoftMaxSize"=dword:1E00000
"SlushFundHardMaxSize"=dword:1E00000 [HKEY_LOCAL_MACHINE\System\GWE\Compositor]
"MaxBufferKB"=dword:A000
Note that there are several files .rgu which contains many of the key. This is the "location" the registry key. This is where your registry key will appear in the registry of your phone.
Code:
[HKEY_LOCAL_MACHINE\Software\Qualcomm\Adreno20X]
This is a registry key.
Code:
"SlushFundAdjustmentLimit"=dword:20000
This is the name of the registry key.
Code:
SlushFundAdjustmentLimit
It should be added, " in the beginning, and " à la fin du nom de la clé, like this :
Code:
"SlushFundAdjustmentLimit"
This is the type of the value.
Code:
dword
It should be added = at the beginning of the value type, and : at the end.
Code:
=dword:
This is the value of the key
Code:
20000
End with a blank line, and save in "Unicode". Integration into DSM Select the package where there is your registry key (3). Right-click on the DSM (4), and "Open" (5). Go to the tab "Modules and files" (6), then right-click anywhere, and "Add file" (7). Select the file .rgu ( , then click at "Open" (9). Click "File" (10), and "Save (11)". | | Скрыт |
|
|
| Translit (ASCII)
|