BuildOS chokes on this RGU...suggestions? - Mogul, XV6800 ROM Development

I'm using DCD's new 2.3 Kitchen.
I created an OEM from a Mortscript install cab (ver. 4.1) using Ervius Package Creator.
When BuildOS compiles the registry I get an "error building defaul.hv and user.hv".
Checking the log comes up with this:
log.txt said:
Failed to parse value name HKEY_LOCAL_MACHINE\Software\Spb Software House\Pocket Plus\11\Applications\MortScript.exe!!!
InitRegistry FAILED in file ".\Registry\3361ebcd-b637-423d-b96b-5d65fda26662.rgu" within a few lines of line 6.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\3361ebcd-b637-423d-b96b-5d65fda26662.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
Click to expand...
Click to collapse
Here is the RGU. Line six seems to deal with the creation of a value, "window classes". Looking at a manual installation the value is supposed to be a Multi Line Value.
Here is what is in the RGU:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Spb Software House\Pocket Plus\11\Applications\MortScript.exe]
"Enabled"=dword:00000001
"UserName"="MortScripts"
"WindowClasses"0x00010000SysListView32
[HKEY_CLASSES_ROOT\MortScript\Shell\Open\Command]
@="Windows\\MortScript.exe""" """%%1"
[HKEY_CLASSES_ROOT\MortScript\DefaultIcon]
@="Windows\\MortScript.exe,-130"
[HKEY_CLASSES_ROOT\MortScript]
@="MortScript"
[HKEY_CLASSES_ROOT\.mortrun]
@="MortScript"
[HKEY_CLASSES_ROOT\.mscr]
@="MortScript"
According to this guide the """ in line 9 is an error with Ervius Package Creator that should be changed to \" so I tried changing it to:
Code:
[HKEY_CLASSES_ROOT\MortScript\Shell\Open\Command]
@="Windows\\MortScript.exe\" \"%%1"
And I got the same error. Any suggestions are appreciated.

HI , I am stuck exactly at the same place....

Related

how to make a mui file for application

I want to make a chinese mui file for application,how to do it?
you can do it with a resource editor like resource hacker but you must have the mui in english
i think it's th e good answer but i'm a newbee on the subject
I have the english mui,and I use the resource editor edit the language option,but the mui file cannot work.
then i think it's necessary to sign your new mui but i never do this so i can't explain
if somone can confirm please
sam
I have tried to get someone to answer this question but it seems to me like no one can do this on XDA forum Because me to want to translate the mui file for TouchFlo2D.
Have tried a couple of things but nothing works when using the mui file on the device.
So if there's anyone who can do this, please explain where to start...
ToddeSwe
Hi i had a similar problem with the dll i was trying to modify but i cracked it in the end with a few tools lucky for you schreda has brought them all to one place so i hope this will help your situation
Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!
Click to expand...
Click to collapse
here:
http://forum.xda-developers.com/showthread.php?t=432041
Also some languages already done here:
http://forum.xda-developers.com/showthread.php?t=432965
when yu want to make one at youre own,, take a look at http://msdn.microsoft.com/en-us/library/ms776216(VS.85).aspx
Using MUIRCT to Build Resources
MUIRCT (Muirct.exe) is a command-line utility for splitting a standard Win32 portable executable file into a language-neutral (LN) file and a .mui file containing language-specific Win32 resources. Each of the resulting files contains resource configuration data that associates the files. MUIRCT is included in the Microsoft Windows SDK for Windows Vista.
Placing Win32 MUI Resource Files
A typical MUI application that uses Win32 MUI resource configuration consists of an LN file and language-specific resource (.mui) files . This topic discusses the placing of resource files on the target computer for optimal use by the application loading logic and the resource loader.
Loading Win32 MUI Resource Files
This topic discusses the loading of user interface resources on Windows Vista and on pre-Windows Vista operating systems. For an MUI application targeted at Windows Vista, the Windows Vista resource loading functions contain the proper logic to retrieve the correct language resources in the language-specific resource (.mui) files at runtime. However, the Windows Vista resource loading technology does not exist on pre-Windows Vista operating systems. Therefore, you must modify your MUI application code to load the appropriate resources on such an operating system.
The MUILoad library furnished by the Microsoft Windows SDK for Windows Vista includes the LoadMUILibrary and FreeMUILibrary functions. These functions can be used by your MUI applications targeted at either Windows Vista or a pre-Windows Vista operating system to load and unload resources based on operating system user interface settings. The LoadMUILibrary function returns a handle to the appropriate language-specific files based on operating system user interface language settings, and the FreeMUILibrary function closes the handle. The fallback priority used in LoadMUILibrary is user UI language, followed by system UI language and system default UI language. If the function cannot find an LN file in these languages, it returns the handle of the .mui file located in the same folder as the code .dll. If the .mui file does not exist either, the function returns a handle to the binary file that contains the code.
Note: MUILoad library functions are based on the assumption that the MUI application uses Win32 MUI resource configuration. If your application uses another resource technology, it must implement its own approach to loading resources.
Note: Because a particular user's language preferences might include languages that are not supported by your MUI application, the application should always handle these languages by loading the appropriate fallback resources.
Loading Win32 MUI Resources on Windows Vista Only
Using RC Compiler to Build Resources
RC Compiler (Rc.exe) is a command-line utility for compiling a resource definition script file (.rc extension) into resource files (.res extension). RC Compiler is included in the Windows SDK. This document explains the use of RC Compiler with MUI-related capabilities of the resource loader introduced in Windows Vista. For complete information about the compiler, see About Resource Files .
RC Compiler allows you to build, from a single set of sources, an LN file and a separate .mui file containing language-specific Win32 resources. The resulting LN file and .mui file each contain resource configuration data, which associates the two files with each other.
Windows Vista supports two ways to build an LN file-.mui file pair. One technique, described here, is to use the RC compiler. The other technique is to use MUIRCT.
Preparing a Resource Configuration File
This topic describes the preparation of a resource configuration file, used in Win32 MUI resource configuration to associate resource configuration data in an LN file with that in the associated .mui files. The resource configuration file is a public, human-readable XML file.
The RC Compiler and the MUIRCT utility both provide mechanisms for building an LN file and associated .mui file. Each utility has an optional command line switch that allows you to specify a resource configuration file. Use of the file allows more control over the splitting of resources than can be obtained using the regular command line switches of these utilities. However, even if you do not provide a resource configuration file as an input, the LN and .mui files contain resource configuration data.
This topic focuses on the aspects of the XML schema that are useful in building Win32 unmanaged code using Windows Vista. In particular, it is only concerned with the behavior of the win32Resources element. All resource configuration files for Win32 applications begin and end identically:
<?xml version="1.0" encoding="utf-8"?>
<localization>
<resources>
<!-- a single win32Resources element goes here -->
</resources>
</localization>
so take a look on http://msdn.microsoft.com/en-us/library/aa365064(VS.85).aspx
good luck

BLUETOOTH BPP and FTP in DCD ROM

First off let me say that this is a great site and I have enjoyed reading and learning from all of you and your experiences.
Anyway, I was hoping to find a way to add the bluetooth bpp function and ftp function to the dcd rom. I saw someone in another thread make a mention but he never got an answer. Can anyone help me out with this??
For the most part I have been able to add various elements to the dcd kitchen that I extracted from the ppc kitchen. However those two bluetooth functions when added i get the error message regarding the can't create default.hv and user.hv or something like that. I looked at the log and it gave me this error related to BPP
Failed to parse value name HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD!!!
InitRegistry FAILED in file ".\Registry\c7f840e6-4c2e-40a8-8676-c9dca31ceebd.rgu" within a few lines of line 37.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\c7f840e6-4c2e-40a8-8676-c9dca31ceebd.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
this is from lines 36 and 37
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"BT_BPP"="1_6_1_0"
and this error related to FTP
Failed to parse value name HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD!!!
InitRegistry FAILED in file ".\Registry\f1d746e0-97d9-48a2-b9ca-84886fd5488a.rgu" within a few lines of line 50.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\f1d746e0-97d9-48a2-b9ca-84886fd5488a.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
this is from lines 49 and 50
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"BTFtp"="1_2_33309_91"
Anyway thats it, I hope someone can figure that out for me, I would greatly appreciate it.
-eYe-
Can you please post the .rgu files for each OEM?
Not to be dense, but do you mean you want to download the actual files, or do you want me to post the exact contents of each file?
After thinking it over for a minute it made no sense to me why I just didnt do one or the other anyway so here are the files....
bpp.rgu
ftp.rgu
I don't know whether you needed the actual file names as they are in the kitchen, but if you do let me know.
thanks.
-eYe-

.RGU skipped during compilation (PkgToolsBuildOs 6.x-5.3)

I know most chefs have moved on to the Visual Kitchen, but I would greatly appreciate some insight on a problem I'm having with the old'style kitchen.
I moved the GSensorCalibrator & GSensor SDK from the OEM folder to the PACKAGES folder. I added a supporting OPTION.XML (Unicode, like the others) and collapsed the contents of 0409 folder to the respective package folder, removed the 0409 folders, and then renamed the packages as follows:
.\Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
.\Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
The ROM loads up fine from the BuilOS tab of PkgToolsBuildOs 6.x-5.3 and the output of the log pertaining to the package above shows the following:
Code:
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0\9f517713-bb2d-4e77-8de8-e0638bf94c40.dsm
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
The Cabinet Tool section of the log shows this:
Code:
-- adding packages\9f517713-bb2d-4e77-8de8-e0638bf94c40.rgu
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu
Notice that the .DSM for the GSensorCalibrator is missing - not sure why. I've even tried recreating the file and using BUILDDSM.
The RGU Comp section of the log shows this:
Code:
package "02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0" does not contain .rgu file "8f517713-bb2d-4e77-8de8-e0638bf94c40.rgu"
importing registry file ".\Registry\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu"...
I checked the usual stuff: .RGU file format (Unicode, like others), .PROVXML format (same like others, although irrelevant at this point), duplicate .DSM/.RGU, multiple .RGU/.DSM in the package folder.
I'm completely stumped; I'm sure it's something I'm overlooking but for the life of me, I can't figure out why PkgToolsBuildOs 6.x-5.3 is not "picking" up the GSensorCalibrator .RGU file.
* UPDATE *
Deleting the .DSM files and creating blank empty ones seem to solve the problem ... which still has me confused as I started off with empty .DSM to begin with.
As I suspected, if the Cabinet Tool section does not show a .DSM for an .RGU expect problem with the package in question.
Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.
That's how I assumed it was supposed to function - the .DSM essentially provided a folder contents list of sorts.
That said, it appears that the version of PkgToolsBuildOs I'm using will search for the .RGU file in the folder ... when the .DSM file is empty (0 byte).
Cheers,
GSLEON3 said:
Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.
Click to expand...
Click to collapse
The RGU does NOT need to be read only...
Is that the extent of YOUR helpful commentary?

[Problem]Errors with Kitchen!!

Hi at all.. well i'm new in the forum but not a noob in the topic..!! This is my problem..!! I'm trying to install the latest version of the Kitchen posted in this same Categorie/Forum..!! Well all is correct until i run de cygwin.. looks the log..:
Code:
[email protected] ~
$ cd kitchen
[email protected] ~/kitchen
$ ./menu
./menu: line 46: chmod: command not found
scripts/check_install_dir: line 13: grep: command not found
scripts/init_kitchen: line 12: chmod: command not found
scripts/init_kitchen: line 13: chmod: command not found
scripts/init_kitchen: line 14: chmod: command not found
scripts/init_kitchen: line 15: chmod: command not found
scripts/init_kitchen: line 16: chmod: command not found
scripts/init_kitchen: line 17: chmod: command not found
scripts/init_kitchen: line 18: chmod: command not found
scripts/init_kitchen: line 19: rm: command not found
scripts/init_kitchen: line 20: rm: command not found
scripts/init_kitchen: line 21: rm: command not found
scripts/init_kitchen: line 22: rm: command not found
scripts/init_kitchen: line 23: rm: command not found
scripts/check_binaries: line 22: clear: command not found
Welcome to dsixda's Android Kitchen
Please wait .
Error: The application 'clear' is not installed - the kitchen
will not function properly without it. Ensure you did
not miss a step during installation! Refer to the
Android Kitchen FAQ at xda-developers.com for further
assistance.
[email protected] ~/kitchen
$
I'm not sure of what happend.. well at the first time that i run the cygwin it said an error with Java application not found..!! well i fixed it adding to the end of the .bash_profile file this line:
Code:
PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_29/bin:\${PATH}
After that modification of the .bash_profile the Java error was solved..!! so now when i run again the ./menu it show that errors mentioned up..!!
So how can i fix it for work with the kitchen as soon as posible..!!??
Well i'm from colombia.. so my native language is spanish.. i'm learning english but it isn't perfect.. is good no more..!! So excuse me for mi wrongs with my words and if in any part the incoherence is too big tell me for re-tell you the correct form for you can understand me..!!
Thanks..!!
please can somebody help i have the same problem
You both didn't set up cygwin right. Go back and reread op of the kitchen. The tools are not in your path.
Sent from my Nexus S 4G using xda premium
i installed it in the right way:
After three attempts it still doesnt work so i deleted java jdk and cygwin and the kitchen. Then i have reinstalled java jdk (version 6.31, i allsow ttried with versions 6.20 and 6.21). After that i unzipped the cygwin package and started the setup exe, then i choosed "Install from local directory" then i choosed the root folder C:\Cygwin\. After that i choosed from where Cygwin should installed (the cygwin_package folder). So then setup choose me which packages should installed and i clicked on the arrow until to All Packages Install All (or something like that). Then it installed and finished. After that i copied the kitchen to C:\Cygwin\home\XXX\kitchen .
And when i start cygwin and type in cd kitchen i get always the error application clear is not installed.
I tried even Install All Default and Reinstall. But it shows always this fu***** error
solution
jojogangsta said:
i installed it in the right way:
After three attempts it still doesnt work so i deleted java jdk and cygwin and the kitchen. Then i have reinstalled java jdk (version 6.31, i allsow ttried with versions 6.20 and 6.21). After that i unzipped the cygwin package and started the setup exe, then i choosed "Install from local directory" then i choosed the root folder C:\Cygwin\. After that i choosed from where Cygwin should installed (the cygwin_package folder). So then setup choose me which packages should installed and i clicked on the arrow until to All Packages Install All (or something like that). Then it installed and finished. After that i copied the kitchen to C:\Cygwin\home\XXX\kitchen .
And when i start cygwin and type in cd kitchen i get always the error application clear is not installed.
I tried even Install All Default and Reinstall. But it shows always this fu***** error
Click to expand...
Click to collapse
hey
when there is a window for selection. Click on the icon next to package,it turn to install icon,do this to all and then try.
i did by this method.
You could always just get Linux too. that is the easiest possible fix!
solved this problem
initially i faced the same problem. Then while a window of cygwin asks what to install on top of the option bar there is a option with default. click on it until install appears. if still problem persists mail me and i will send you the link.
Gioyik said:
Hi at all.. well i'm new in the forum but not a noob in the topic..!! This is my problem..!! I'm trying to install the latest version of the Kitchen posted in this same Categorie/Forum..!! Well all is correct until i run de cygwin.. looks the log..:
Code:
[email protected] ~
$ cd kitchen
[email protected] ~/kitchen
$ ./menu
./menu: line 46: chmod: command not found
scripts/check_install_dir: line 13: grep: command not found
scripts/init_kitchen: line 12: chmod: command not found
scripts/init_kitchen: line 13: chmod: command not found
scripts/init_kitchen: line 14: chmod: command not found
scripts/init_kitchen: line 15: chmod: command not found
scripts/init_kitchen: line 16: chmod: command not found
scripts/init_kitchen: line 17: chmod: command not found
scripts/init_kitchen: line 18: chmod: command not found
scripts/init_kitchen: line 19: rm: command not found
scripts/init_kitchen: line 20: rm: command not found
scripts/init_kitchen: line 21: rm: command not found
scripts/init_kitchen: line 22: rm: command not found
scripts/init_kitchen: line 23: rm: command not found
scripts/check_binaries: line 22: clear: command not found
Welcome to dsixda's Android Kitchen
Please wait .
Error: The application 'clear' is not installed - the kitchen
will not function properly without it. Ensure you did
not miss a step during installation! Refer to the
Android Kitchen FAQ at xda-developers.com for further
assistance.
[email protected] ~/kitchen
$
I'm not sure of what happend.. well at the first time that i run the cygwin it said an error with Java application not found..!! well i fixed it adding to the end of the .bash_profile file this line:
Code:
PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_29/bin:\${PATH}
After that modification of the .bash_profile the Java error was solved..!! so now when i run again the ./menu it show that errors mentioned up..!!
So how can i fix it for work with the kitchen as soon as posible..!!??
Well i'm from colombia.. so my native language is spanish.. i'm learning english but it isn't perfect.. is good no more..!! So excuse me for mi wrongs with my words and if in any part the incoherence is too big tell me for re-tell you the correct form for you can understand me..!!
Thanks..!!
Click to expand...
Click to collapse
Hey found a solution to ur problem jus follow the given steps
go to your jdk folder n open the bin folder (C:\Program Files\Java\jdk1.7.0_25\bin)
and find the java.exe application n put it in C:\cygwin\bin
dont edit the .bash_profile file
All the best :fingers-crossed::good:
hit like if i helped :good:
it caused by Java 7 versions, maybe cygwin cannot find their path.
revert the changes that you did it for bash_profiles.
then just copy java.exe into cygwin/bin folder.
how to test if works or not?
just run cygwin and type:
Code:
java -version
the result must be like this:
Code:
$ java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
to check if other commands are working:
type:
Code:
chmod +x -R *
if works, then your package is ready to use.
Best regards.
how to fix
scripts/check_binaries: line 22: clear: command not found
Welcome to dsixda's Android Kitchen
Please wait .
Error: The application 'clear' is not installed - the kitchen
will not function properly without it. Ensure you did
not miss a step during installation! Refer to the
Android Kitchen FAQ at xda-developers.com for further
assistance.
** PLEASE READ THE FAQ BEFORE ASKING QUESTIONS!! **
YES, THIS ERROR IS ALREADY COVERED IN THE FAQ. DO NOT
WASTE YOUR TIME MESSAGING ME. JUST READ IT, PLEASE.
on this message the application of "clear" is not found
thanks
Thanks worked for me ...
yanyanruhyana said:
scripts/check_binaries: line 22: clear: command not found
Welcome to dsixda's Android Kitchen
Please wait .
Error: The application 'clear' is not installed - the kitchen
will not function properly without it. Ensure you did
not miss a step during installation! Refer to the
Android Kitchen FAQ at xda-developers.com for further
assistance.
** PLEASE READ THE FAQ BEFORE ASKING QUESTIONS!! **
YES, THIS ERROR IS ALREADY COVERED IN THE FAQ. DO NOT
WASTE YOUR TIME MESSAGING ME. JUST READ IT, PLEASE.
on this message the application of "clear" is not found
Click to expand...
Click to collapse
I have same problem, I don't understand what to do
Try "sudo apt-get install clear" from a command line.
remember, remember.......
vawa.id said:
I have same problem, I don't understand what to do
Click to expand...
Click to collapse
djmatt604 said:
Try "sudo apt-get install clear" from a command line.
remember, remember.......
Click to expand...
Click to collapse
no?no!no! them error only for Windows
thanks it help me
:good:
CLINTZ9 said:
Hey found a solution to ur problem jus follow the given steps
go to your jdk folder n open the bin folder (C:\Program Files\Java\jdk1.7.0_25\bin)
and find the java.exe application n put it in C:\cygwin\bin
dont edit the .bash_profile file
All the best :fingers-crossed::good:
hit like if i helped :good:
Click to expand...
Click to collapse
:good:
I'm sorry but I did not get everything done as it is written, and all the same error.
I can not use the kitchen. When I enter in cygwin (. /menu) Is an error
Welcome to dsixda's Android Kitchen
Please wait .
Error: The application 'clear' is not installed - the kitchen
will not function properly without it. Ensure you did
not miss a step during installation! Refer to the
Android Kitchen FAQ at xda-developers.com for further
assistance.
I do not understand what to do = (
CLINTZ9 said:
Hey found a solution to ur problem jus follow the given steps
go to your jdk folder n open the bin folder (C:\Program Files\Java\jdk1.7.0_25\bin)
and find the java.exe application n put it in C:\cygwin\bin
dont edit the .bash_profile file
All the best :fingers-crossed::good:
hit like if i helped :good:
Click to expand...
Click to collapse
:good:
Still same
Hi,
Tried all steps provided like your suggested post still the same error
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
:
scripts/check_binaries: line 22: clear: command not found
 
 
 
Welcome to dsixda's Android Kitchen
Please wait .
Error: The application 'clear' is not installed - the kitchen
will not function properly without it.
Please Help Thanks again
SATHYA0403 said:
Hi,
Tried all steps provided like your suggested post still the same error
:
scripts/check_binaries: line 22: clear: command not found
 
 
 
Welcome to dsixda's Android Kitchen
Please wait .
Error: The application 'clear' is not installed - the kitchen
will not function properly without it.
Please Help Thanks again
Click to expand...
Click to collapse
Not sure if you still need help with this. I resolved my issue by confirming that I had 32 bit Java installed on a 64 bit system. The answer was to install 64 bit Java and then update the path variable in Windows. Then there are also several modules in the CYGWIN setup called NCURSES. Launch the setup and when presented with the file listing to be installed search for NCURSES and then install all relating modules.
Hope this helps!
Awesome sauce
Worked for me!!:good:

How to create a working vendor folder?

Hi all!
I'm fairly new to this whole ROM development thing, and the most I know how to do is use the kitchen to modify working ROMs to my leisure.
Lately I've been trying to port/build CM7 to my device, which is fairly new (and only recently got a forum here on XDA) which is the Samsung Galaxy W (codename Ancora).
First I tried to use as a base existing CM7 ROMs from devices with similar hardware, by just modifying the updater-script to put the files in the right partitions, however with no luck.
So then I decided to download the sources for CM7 and try to port using a generic build and then filling in the blanks related to hardware and such, but again with no luck (maybe related to something I heard about samsung specific patches?)
So now I'm trying to build it from source for the device, but I'm stuck at creating a vendor folder that works.
I've updated most the files that need updating but I keep getting this error:
Code:
build/core/product_config.mk:205: *** No matches for product "cyanogen_galaxyw". Stop.
I've inserted the references need in almost all files called but still nothing. Any ideas?
You have device and vendor folder, properly referred??
Greets!
mDroidd said:
You have device and vendor folder, properly referred??
Greets!
Click to expand...
Click to collapse
I believe so. But could you be a little more specific so I can double check? Some file may have gone over my head.
Thanks in advance,
At what stage is this failing? When you run envsetup.sh or when you setup lunch or when you call make?
medizen said:
At what stage is this failing? When you run envsetup.sh or when you setup lunch or when you call make?
Click to expand...
Click to collapse
When I setup lunch
Sent from my GT-I8150 using XDA App
When you run . build/envsetup.sh does it populate lunch with cyanogen_galaxyw?
i.e "including device/samsung/galaxyw/vendorsetup.sh"
it should populate lunch with an option to select for the cyanogen_galaxyw.
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. simulator
4. medizen_olympus-eng
Which would you like? [full-eng]
If not check your vendorsetup.sh that is in your vendor/(Brand)/(Device) directory.
medizen said:
When you run . build/envsetup.sh does it populate lunch with cyanogen_galaxyw?
i.e "including device/samsung/galaxyw/vendorsetup.sh"
it should populate lunch with an option to select for the cyanogen_galaxyw.
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. simulator
4. medizen_olympus-eng
Which would you like? [full-eng]
If not check your vendorsetup.sh that is in your vendor/(Brand)/(Device) directory.
Click to expand...
Click to collapse
Edit2: Yes it does. I just wasn't seeing it.
Edit3: This is what I get in the lunch menu:
Code:
Which would you like? [full-eng] 76
build/core/product_config.mk:205: *** No matches for product "cyanogen_galaxyw". Stop.
Device galaxyw not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Traceback (most recent call last):
File "build/tools/roomservice.py", line 16, in <module>
result = json.loads(urllib2.urlopen("http://github.com/api/v2/json/repos/show/CyanogenMod?page=%d" % page).read())
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1201, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1174, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
socket.error: [Errno 104] Connection reset by peer
build/core/product_config.mk:205: *** No matches for product "cyanogen_galaxyw". Stop.
** Don't have a product spec for: 'cyanogen_galaxyw'
** Do you have the right repo manifest?
Do you have a .mk file from you devices/[vendor]/[model] that references your vendor .mk files?
Maybe you did not extract the files in the folders, poor am I not understanding you?
Greets!
The problem has to do with some of the core files, which is why it doesn't build.
I have recently attempted the same thing with CM7 for the HTC Flyer/View tablet, without much success. I believe my tablet shares the same chipset and CPU as your Samsung Galaxy W (MSM8255T)
What I did was clone a similar build and try to modify some of the script sh files and mk files from a similar device (HTC Incredible 2/S aka vivow and vivo on HTC codenames/CM7). Once you edit these files and properly substitute the device name, you can get past the problem you are having in the OP with the "device not found and looking up cyanogen repos", but you must already have the proprietary and device files extracted, and properly edited in /rootcm7folder/device/htc/galaxyw and /rootcm7folder/vendor/htc/galaxyw
For the proprietary files, it's pretty easy, just take the extract-files.sh script and modify the device name and it'll copy the necessary ones to /vendor/htc/galaxyw
That'll let you finish lunch, but once you compile, it won't start. I think it has something to do with some different libraries in my case, but I'll update you if I figure out more.
---------- Post added at 12:27 PM ---------- Previous post was at 12:16 PM ----------
whoops, ignore the htc folders I wrote above and substitute it for samsung. I was thinking wrong for some reason.
I'm making an attempt at building the ics source code from google and modifying the build to run on my lg thrill and I was wondering if anyone can shed any light on making a vendor folder for my device?

Categories

Resources