PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Apache (http://forum.ppcgeeks.com/forumdisplay.php?f=14)
-   -   How To: Build your own Custom ROM! (http://forum.ppcgeeks.com/showthread.php?t=1904)

Perasite 01-29-2007 01:04 PM

Colonel or Mike,
Maybe you could help me out with this. I've taken Helmi's AKU 3.3, added in the cf2 module Colonel posted, made the registry change to fix speed dial, and moved the files to fix the pic/vid hang. I'm using Mike's method to create my ROM. When I try to convert my dump file back to an .nba, I get the mess you see in my screenshot, and the .nba is not created. Any ideas?
http://upload6.postimage.org/4479/NBAError.jpg

helmi_c 01-29-2007 01:25 PM

Quote:

Originally Posted by colonel
Here are the registry entries for the Mark All As Read cab. I have not had a chance to package anything else at this point. For this, though, all you need is the entries and the files from the cab.


[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\SwartB SmartDeviceCab1]
"Instl"=dword:00000001
"InstallDir"="\\Program Files\\SmartDeviceCab1"
"InstlDir"="\\Program Files\\SmartDeviceCab1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View_Context]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View_Context\{6F3A2AA 2-D88D-4e3d-85C1-D5B403EAD4EF}]
@="Inbox Context Menu Extension"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extens ions\ContextMenus\Inbox\List_View\{47018836-A919-42f7-84AF-89257BA458BA}]
@="Inbox Softkey Menu Extension"

[HKEY_CLASSES_ROOT\CLSID\{6F3A2AA2-D88D-4e3d-85C1-D5B403EAD4EF}]
@="Inbox Context Menu Extension"


[HKEY_CLASSES_ROOT\CLSID\{6F3A2AA2-D88D-4e3d-85C1-D5B403EAD4EF}\InprocServer32]
@="\\Program Files\\SmartDeviceCab1\\InboxMenuExtensibility.dll "


[HKEY_CLASSES_ROOT\CLSID\{47018836-A919-42f7-84AF-89257BA458BA}]
@="Inbox Softkey Menu Extension"


[HKEY_CLASSES_ROOT\CLSID\{47018836-A919-42f7-84AF-89257BA458BA}\InprocServer32]
@="\\Program Files\\SmartDeviceCab1\\InboxMenuExtensibility.dll "

[HKEY_LOCAL_MACHINE\Security\AppInstall\SwartB SmartDeviceCab1]
"InstallDir"="\\Program Files\\SmartDeviceCab1"
"Role"=dword:00000018
"Uninstall"="\\Windows\\AppMgr\\SwartB SmartDeviceCab1\\7001.tmp"


[HKEY_LOCAL_MACHINE\Security\AppInstall\SwartB SmartDeviceCab1\ExecutableFiles]

The rgu file should only contain this, I think it's enough since it will be built in rom, and cant be uninstall..

Code:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extensions]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extensions\ContextMenus]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extensions\ContextMenus\Inbox]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extensions\ContextMenus\Inbox\List_View_Context]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extensions\ContextMenus\Inbox\List_View_Context\{6F3A2AA2-D88D-4e3d-85C1-D5B403EAD4EF}]
  @="Inbox Context Menu Extension"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extensions\ContextMenus\Inbox\List_View]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Extensions\ContextMenus\Inbox\List_View\{47018836-A919-42f7-84AF-89257BA458BA}]
  @="Inbox Softkey Menu Extension"
[HKEY_CLASSES_ROOT\CLSID\{6F3A2AA2-D88D-4e3d-85C1-D5B403EAD4EF}]
  @="Inbox Context Menu Extension"
[HKEY_CLASSES_ROOT\CLSID\{6F3A2AA2-D88D-4e3d-85C1-D5B403EAD4EF}\InprocServer32]
  @="InboxMenuExtensibility.dll"
[HKEY_CLASSES_ROOT\CLSID\{47018836-A919-42f7-84AF-89257BA458BA}]
  @="Inbox Softkey Menu Extension"
[HKEY_CLASSES_ROOT\CLSID\{47018836-A919-42f7-84AF-89257BA458BA}\InprocServer32]
  @="InboxMenuExtensibility.dll"

be ware of instalation folder (\\Program Files\\) u need to change them to \\Windows\\ or leave it nothing just the dll/module name since it will locate at \\Windows dir after u flash it. and lastly make sure u hv 1 line free at the end of rgu file (CRLF) and initflashfiles.txt, or built will result error builtin default.hv/user.hv.

helmi_c 01-29-2007 01:28 PM

Quote:

Originally Posted by 6700Yuma
Colonel or Mike,
Maybe you could help me out with this. I've taken Helmi's AKU 3.3, added in the cf2 module Colonel posted, made the registry change to fix speed dial, and moved the files to fix the pic/vid hang. I'm using Mike's method to create my ROM. When I try to convert my dump file back to an .nba, I get the mess you see in my screenshot, and the .nba is not created. Any ideas?
http://upload6.postimage.org/4479/NBAError.jpg

does the nk.nba is exist in the same folder as imgfs_raw_data.bin file?

Perasite 01-29-2007 01:45 PM

The original .nba file was in the same directory as the imgfs_raw_data.bin file, but I renamed it to .bak before doing the dump_to_nba.bat. Once I finished the dump_to_nba.bat and got the above error, a new .nba was not created.

helmi_c 01-29-2007 01:56 PM

Quote:

Originally Posted by 6700Yuma
The original .nba file was in the same directory as the imgfs_raw_data.bin file, but I renamed it to .bak before doing the dump_to_nba.bat. Once I finished the dump_to_nba.bat and got the above error, a new .nba was not created.

U need a nk.nba to built (patch/make_imgfs.exe) the change u've made with dump dir... and I dont think that u need to rename the nk.nba to .bak

Perasite 01-29-2007 02:04 PM

OK, I removed the .bak, so it is now a .nba again. This time the dumb_to_nba.bat seemed to work. No errors. When I look at the last modified time of the .nba file, though, it has not changed. Don't know if that is normal or not. I'm in the process now of converting it to an .nbf and then flashing it to my phone, so I will find out soon.

Bushrod 01-29-2007 02:37 PM

My modified time didn't change but my changes were in there.

Perasite 01-29-2007 02:43 PM

Well, that worked, thanks Helmi! I've now got my custom 3.3 ROM with integrated CF2 and the smartdialer fixed. I ran into a problem with the pic/vid fix, though. I added these two lines to the initflashfiles.dat:

Directory("\Windows\OEM"):-File("mfc80u.dll","\Windows\mfc80u.dll")
Directory("\Windows\OEM"):-File("msvcr80.dll","\Windows\msvcr80.dll")

I was trying to copy the mfc80u.dll and msvcr80.dll out of \Windows\OEM into the \Windows directory. Is that the proper syntax? My goal was to do:

pic & vid hang fix: copy mfc80u.dll and msvcr80.dll from windows/oem to the windows directory overwriting the ones there. (Sonny486)

as listed in the original "Get Helmi_c's AKU 3.3 RIGHT HERE" thread.

Edit: I think I got it backwards, don't I? It should be:

Directory("\Windows"):-File("mfc80u.dll","\Windows\OEM\mfc80u.dll")
Directory("\Windows"):-File("msvcr80.dll","\Windows\OEM\msvcr80.dll")

Is that correct?

colonel 01-29-2007 03:44 PM

Just rename the .dlls in the rom. Make mfc80u.dll into mfc80u.dll_ and so on and vice versa.

Once renamed, here is my flash file entry:
Directory("\Windows\OEM"):-File("mfc80u.dll_","\Windows\mfc80u.dll_")
Directory("\Windows\OEM"):-File("msvcr80.dll_","\Windows\msvcr80.dll_")

Perasite 01-29-2007 07:16 PM

Thank you, that worked perfectly. I'm about 90% done now, so I'll probably post tonight. I'll have the following built-in:
.Net CF2 SP1 (thanks to colonel)
pic/vid fix (thanks to colonel)
smartdialer fix
Total Commander
Clearview for PDFs and PPTs
PPT.exe removed
PHM + TRE Registry editors
Reset (soft reset program)
WM5torage 1.7
WMA Phone Profiles 1.2.1.329
Changed boot logo to my own, but you can change it using tools on this site to whatever you want.

Wanting to add:
PPC6700 Hacks program at trianglepowers.com

Wanting to possibly remove:
Voice dialer (then, some people don't use Voice Command, so may want this, thoughts?)

Thanks to Helmi_C, Mike, and Colonel for all their help in getting this together.

Edit: Ran into a problem with WMA Phone Profiles 1.2.1.329. It should have a today plugin, but all I was getting was the Control Panel icon. Worked on it all night, but ended up locking up my phone so it wouldn't boot the new ROM. I'm going to remove it today and then release what I have so far.


All times are GMT -4. The time now is 01:24 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0