LG Monaco - Cooking Questions [Ask Questions Here] - eXpo GW820, GW825 IQ ROM Development

I've noticed that a fair number of people have downloaded the source files for my ROM (http://forum.xda-developers.com/showthread.php?t=1025113) and figured that maybe we should start a Cooking question thread.
It's possible that those folks creating their own ROMs have been able to find answers to all of their questions already, but if not, feel free to ask those questions here.
TrueG

trueg said:
I've noticed that a fair number of people have downloaded the source files for my ROM (http://forum.xda-developers.com/showthread.php?t=1025113) and figured that maybe we should start a Cooking question thread.
It's possible that those folks creating their own ROMs have been able to find answers to all of their questions already, but if not, feel free to ask those questions here.
TrueG
Click to expand...
Click to collapse
can you give us the OEM Packages
of gw825v and the language is simple chinese thanks

Well the answer to your request is not that simple.
First, LG doesn't break their OEM section into packages. In comparison, HTC is very good about separating their OEM section into packages (separate folders containing all of the files and registry settings for the one application/service). This is necessary for them because they have dozens of devices and they are fairly good about releasing updates.
On the other hand, LG has very few devices and they are not very good about releasing updates. Instead, LG simply dumps all of their OEM software into a single folder labelled OEMMisc.
If you are asking for a copy of the OEMMisc folder for the GW825V, then you can download it from here.
http://www.mediafire.com/file/95xijms97iuexfc/GW825v_OEMMISC.zip
If you are planning to cook your own ROM and you follow the instructions here
http://forum.xda-developers.com/showthread.php?t=671136
You will end up dumping the ROM anyway and you will have your own copy.
If you plan on cooking, I suggest you work on doing the dump yourself. I should be able to help you with any files you need.
TrueG

Hi trueg,
currently, i have 3 questions regarding Dark's article: http://forum.xda-developers.com/showthread.php?t=671136
0. How to detect /YourBuildVersion/
1. How to add some other language to the official ROM dump.
2. How to repackage the dump files to a bin file successfully. i failed to repackage for many many times. may be i make a wrong BuildVersion Folder?
trueg said:
Well the answer to your request is not that simple.
First, LG doesn't break their OEM section into packages. In comparison, HTC is very good about separating their OEM section into packages (separate folders containing all of the files and registry settings for the one application/service). This is necessary for them because they have dozens of devices and they are fairly good about releasing updates.
On the other hand, LG has very few devices and they are not very good about releasing updates. Instead, LG simply dumps all of their OEM software into a single folder labelled OEMMisc.
If you are asking for a copy of the OEMMisc folder for the GW825V, then you can download it from here.
http://www.mediafire.com/file/95xijms97iuexfc/GW825v_OEMMISC.zip
If you are planning to cook your own ROM and you follow the instructions here
http://forum.xda-developers.com/showthread.php?t=671136
You will end up dumping the ROM anyway and you will have your own copy.
If you plan on cooking, I suggest you work on doing the dump yourself. I should be able to help you with any files you need.
TrueG
Click to expand...
Click to collapse

Before you can properly build a GW825V or GW820G ROM with Spocky's kitchen you need to make the following modification.....
\[LG] kitchen_2.2\TOOLS\DZCreate.ini
Change
Code:
[GW820]
Chipset=QSD8650
SubFiles=0x0BF80084
SubFileType03=amss.mbn
SubFileType08=partition.mbn
SubFileType14=appsboot.mbn
SubFileType15=flash.bin
SubFileType16=apps.mbn
SubFileType17=dbl.mbn
SubFileType18=fsbl.mbn
SubFileType19=osbl.mbn
SubFileType1A=dsp1.mbn
to
Code:
[GW820]
Chipset=QSD8650
[B]DZVersion=0x03
SplitSize=0x01000000[/B]
SubFiles=0x03F80084
SubFileType03=amss.mbn
SubFileType08=partition.mbn
SubFileType14=appsboot.mbn
SubFileType15=flash.bin
SubFileType16=apps.mbn
SubFileType17=dbl.mbn
SubFileType18=fsbl.mbn
SubFileType19=osbl.mbn
SubFileType1A=dsp1.mbn
If you are adventurous, you could modify the whole kitchen to support all four models. (You would also need to modify \[LG] kitchen_2.2\start.bat)
This is what my DZCreate.ini looks like.....
Code:
[main]
workmem=280
[GW820]
Chipset=QSD8650
DZVersion=0x03
SubFiles=0x0BF80084
SubFileType03=amss.mbn
SubFileType08=partition.mbn
SubFileType14=appsboot.mbn
SubFileType15=flash.bin
SubFileType16=apps.mbn
SubFileType17=dbl.mbn
SubFileType18=fsbl.mbn
SubFileType19=osbl.mbn
SubFileType1A=dsp1.mbn
SubFileType1C=fwua.mbn
[GW820G]
Chipset=QSD8650
DZVersion=0x03
SplitSize=0x01000000
SubFiles=0x0BF80084
SubFileType03=amss.mbn
SubFileType08=partition.mbn
SubFileType14=appsboot.mbn
SubFileType15=flash.bin
SubFileType16=apps.mbn
SubFileType17=dbl.mbn
SubFileType18=fsbl.mbn
SubFileType19=osbl.mbn
SubFileType1A=dsp1.mbn
SubFileType1C=fwua.mbn
[GW825]
Chipset=QSD8650
DZVersion=0x03
SubFiles=0x03F80084
SubFileType03=amss.mbn
SubFileType08=partition.mbn
SubFileType14=appsboot.mbn
SubFileType15=flash.bin
SubFileType16=apps.mbn
SubFileType17=dbl.mbn
SubFileType18=fsbl.mbn
SubFileType19=osbl.mbn
SubFileType1A=dsp1.mbn
[GW825V]
Chipset=QSD8650
DZVersion=0x03
SplitSize=0x01000000
SubFiles=0x03F80084
SubFileType03=amss.mbn
SubFileType08=partition.mbn
SubFileType14=appsboot.mbn
SubFileType15=flash.bin
SubFileType16=apps.mbn
SubFileType17=dbl.mbn
SubFileType18=fsbl.mbn
SubFileType19=osbl.mbn
SubFileType1A=dsp1.mbn
TrueG

HYXine said:
Hi trueg,
currently, i have 3 questions regarding Dark's article: http://forum.xda-developers.com/showthread.php?t=671136
0. How to detect /YourBuildVersion/
1. How to add some other language to the official ROM dump.
2. How to repackage the dump files to a bin file successfully. i failed to repackage for many many times. may be i make a wrong BuildVersion Folder?
Click to expand...
Click to collapse
0.
Here are the build versions for the official ROMs.
GW820 v10d - 21749
GW820 v10g - 21749
GW825 v10c - 21868
GW825V v10d - 21891
1.
We can worry about changing the language once you can successfully build a working ROM.
2.
See post above. If that doesn't work, let me know what the problem is.
TrueG

Related

Newbie Questions: tons of them : mostly mkrom RomKitchen

Hello All,
Firstly, I would like to say how great this website is and tip my hat off to all the people involved in maintaining this site.
I am very new to the whole XDA modification scene and have a ton of newbie questions. I know some of these questions have been asked before; however I still have not grasped the concepts fully. I have tried to restate the questions asked before so that I (and hopefully other newbie’s ) can fully understand how to modify XDA’s.
Any help anyone can provide will be greatly appreciated.
So here goes the questions:
When creating a customized ROM (using MKRom) my understanding is that one has re-create the initobj.txt and the Default.reg. Is it possible just to install all the applications you want, and then download the initobj.txt and the Default.reg and place them in the cfg directory for the custom ROM?
If this does not work, how does one know what to edit in these files?
When MKROM request a Rom image, is it requesting the backup ROM IMAGE? Will any image do?
When backing up a ROM, what option does one have to select to backup the operating system, settings and programs inside the ROM? Does CE do all of this?
What is CE, Boot, GSM stand for in the boot menu?
If one wants to just create a new boot image, what is the simplest way? Does one have to create a whole new ROM?
If one wants to just have the unlocking software, what is the simplest way? Does one have to create a whole new ROM?
When creating a Rom using RomKitchen, it asks you add Add your own ROM files? Is this your backup rom?
In RomKitchen one of the readme files asks for:
bootimage.bmp,_initobj.txt,_initdb.ini,_default.reg,xipchain
Is the default.reg and the initobj.txt in this directory have to be pre altered for the new programs one wants in the Rom like the way the MKROM wants them? Does the setup program create them for you?
Is the bootloader.nb0 file specific to the boot loader you have?
Very confused what is exactly needed in the /CFG directory.
In the CFG directory do you place your backup Rom dump?
Hi ...
Do you call these as newbie questions ??!! :shock: ... I can hardly wait to see your advanced ones :wink:
If I got you right, you want to "create" your own ROM instead of doing like most of us by "cooking" a new ROM in one of the kitchens like www.yorch.net
I may advice you to move this thread to the "Hacking it" forum which I see it a better place than here.

Whole User Interface is Flash based... swf

Files taken from bada SDK... Language packs...
Rsrc_bada_S5250.rc1.org
Rsrc_bada_S8500.rc1.org
Extracted with:
http://forum.xda-developers.com/showpost.php?p=11101655&postcount=4
Thank you very much sebamix.
"Good news"...
Use Flash Decompiler and you can understand:
1.
Why black color Background is locked...
2.
Why only 10 sites for Apps and only 12 Icons each site...
3.
With Flash Decompiler very easily to modify.
And now the bad news...
RC1
I have no idea, If bada 2.0 brings more chance for customization, as I read something about Lock Screen. Btw. *.swf file...
Developer of User Interface came from Sweden... tata.
http://www.tat.se/
Best Regards
almost all samsung phones use a flash interface... so we just have to look how to edit those on bada....
i had a samsung star before and there everything was flash too so we maybe can change those files on wave too
great news , but we have to found a solution to replace the swf file .....
adfree , what is the original name of the file ?
so how will we change the menu background???
or it can't even be changed
i think i am so stupid when i see these things and donot figure them out
Many more *.swf and many other files are stored in RC1...
http://forum.xda-developers.com/showthread.php?t=928178
Between 100 and 140 MB... inclusive Fonts in TTF Format...
But again. No way at the moment to change something...
Best Regards
is that the 7mb file?
~MaX~ said:
almost all samsung phones use a flash interface... so we just have to look how to edit those on bada....
i had a samsung star before and there everything was flash too so we maybe can change those files on wave too
Click to expand...
Click to collapse
Now this explains why there are no native widgets. Posting to TamsBada, thank you!
Up:
http://tamsbada.tamoggemon.com/2011/03/30/bada-gui-is-flash-based/
TAMHAN said:
Now this explains why there are no native widgets. Posting to TamsBada, thank you!
Up:
h t t p : / / t a m s b a d a .t a m o g g e m o n . c o m / 2 0 1 1 / 0 3 / 3 0 / b a d a - g ui-is-flash-based /
Click to expand...
Click to collapse
Error 404 - Not Found
Sorry, the page that you are looking for does not exist.
You should delete these spaces
http://tamsbada.tamoggemon.com/2011/03/30/bada-gui-is-flash-based/
adfree would it be possible to make a custom application and replace the existing flash UI with it. I was thinking of Porting the enlightenment libs to bada and using them to create a community maintained, cross platform, UI.
something similar to: http://www.youtube.com/watch?v=lsw-_S7rZWg&feature=player_embedded
sabianadmin said:
adfree would it be possible to make a custom application and replace the existing flash UI with it. I was thinking of Porting the enlightenment libs to bada and using them to create a community maintained, cross platform, UI.
something similar to: http://www.youtube.com/watch?v=lsw-_S7rZWg&feature=player_embedded
Click to expand...
Click to collapse
That would be truly interesting... I think that if you get to replace it it should work...
At this time we stuck in some problems...
How to build valid RC1 or alternate way...
But work in progress.
Meanwhile you can study and extract self all files from your handset. Look at this:
http://forum.xda-developers.com/showthread.php?t=1010761
Best Regards
Hi,
I have to apologize - it was down as I enqueued the post with a bit of a delay.
Tam
Maybe new chance to mod Background in Mainmenu...
http://forum.xda-developers.com/showpost.php?p=25645157&postcount=11
I'm playing with Flash Decompiler...
But wow... so many black Pics...
No easy Background Color...
My knowledge about SWF and Flash is nearly 0 ...
Best Regards

[Extract|Build] LG DZ Tools (updated 03/06/11)

Hello.
WP7DZExtract extracts every partition from DZ file and converts flash.bin to nb (opens by htcRIE).
My second tool WP7DZBuild builds DZ from partitions and their table (mb it will be not required, please pm me LG device owners).
By the way, files from that topic were extract using this tool.
Usage:
WP7DZExtract.exe input.dz output_dir, there input.dz is DZ ROM file, output_dir is directory.
In output directory will be created many files, one of them, flash.bin, is nb file, just rename it to flash.nb and open it using htcRIE or any tool.
WP7DZBuild.exe input_dir output.dz, there input_dir is directory constains flash.bin, output.dz is out file.
Note: This tools requires .Net Framework 4.0 (at least Client Profile). You can download it form Microsoft web site.
I hope it works (althrough my device is LG, but there is no way to dump or flash it's ROM). Any bugreports here.
Thanks!
I've used standart GZIPStream (works well for unpacking), but it's output doesn't equals original, i've tried to use SharpZip, DotNetZip and even gzip, but uselessly... LG Flasher doesn't work on my computer (why?), so i can't check my work, i fully hope on you, LG owners! Sorry for my english, i dislike online translators and write as i know, though my english skill is pour (too).
Very nice. Hope to get using this very soon.
Yes support for lg devices i am loving it :3 Thanks.
I will tested out.
thx for sharing
Build tool is ready!
Great work!
I'm getting a "#46 Cannot load. Invalid file format" when opening flash.nb with HTCRIE
Please post the link to your ROM, mb i broked down something while developed build tool.
Telus_LG_E900
airwa1kin7 said:
Telus_LG_E900
Click to expand...
Click to collapse
Everything works well. Mb you are using old version of htcRIE? Try to donwload most fresh. At least WP7DZExtract checks hash after unpacking and compares it with dz included, so if hash matchs file is successfully unpacked.
Screenshot
Your correct. I was using "0.5.0.12" Upgraded to "0.7.0.19" and it works.
I was able to get the LG Quantum dz and use these tools to have a look inside the rom and the registry. It makes me wish we could rebuild these roms to unbrand them.
fb401 said:
I was able to get the LG Quantum dz and use these tools to have a look inside the rom and the registry. It makes me wish we could rebuild these roms to unbrand them.
Click to expand...
Click to collapse
That's right, i wanted to build my own rom, but as i wrote above there is no rom for my device. Please test it LG owners, i want to check my gz.
WP7DZBuild
I have been working on my own encrypt/decrypt program. The decrypting is fine, however the trick is encrypting the extracted files back into a flashable image. Using GZip or Zip on linux produces a ROM that is 200 KB smaller than the original LG C900AT ROM. The LG flasher program gives the error "ErrNum 501 Load Image."
So I tried using your WP7DZBuild tool to create a ROM and it's size is 214 MB, the original ROM is ~191.8 MB. The LG flasher program does not give an error when using the ROM built with your tool, but the ROM will not flash to the phone (LG Quantum C900). The LG flasher program just sits waiting. It seems as if the recompression of the files is the key to making the build process work. The original ROM from LG contains files that are decompressable with GZip, but using GZip to recompress results in an invalid file.
I have looked at the binary file produced when using both GZip and Zip, both contain the filename which is not included in the Original ROM . Also, looking at the GZIP file format, some of the Data headers are empty in the original ROM, but both GZip and ZIP fill these fields in.
Do you guys have any ideas as to a ZIP program/library that can output a valid Zip file for inclusion in a flashable ROM that does not include the name of the file that was compressed to make the file? Maybe the original LG encryption program deletes/zeros certain fields in the Zip file header?
Also, just taking the decrypted original ROM's files while still compressed by whatever method LG used, I can create a flashable ROM (it's actually what my phone is running right now!). I'm thinking of GZipping the files and then going back and zeroing out the fields so that the data headers match the original. Maybe that will work.
Has anybody else tried to rebuild a ROM and flash it to the phone?
Everyone test on kdz g5 ?

[TOOL] rkDumpSlicer (RockChip firmware dump slicer)

rkDumpSlicer
RockChip firmware dump slicer to obtain flashable backup
Version 0.97 Windows
1. Slices dump of NAND into partitions (according "parameter" information)
2. Creates config,cfg for RKAndroidTool (1.xx, 2.xx)
Brief instruction
1) Download and unpack AndroidTool v.2.1 + rkDumpSlicer
2) Run AndroidTool 2.1
3) Get the "parameter" file (put a 0 in the "start" box and a 2 in the "count" at "advance functions" tab and press the "export image" button).
4) Open file ExportImage.img in any text editor (except MS Word).
5) Find line "CMDLINE:....bla-bla-bla"
6) Find last data in "mtdparts=rk29xxnand:" parameter (something like "[email protected](user)")
Value "0x005AE000" is count of blocks
7) Put a 0 in the "start" box and value from previous point in the "count".
8) Press the "export image" button.
9) Run "rkDumpSlicer.exe ExportImage.img"
The project is closed
Use rkDumper​Old versions:
View attachment rkDumpSlicer_095.zip
View attachment rkDumpSlicer_096.zip
I don't know anybody needs this tool
Tell me please
RedScorpioXDA said:
I don't know anybody needs this tool
Tell me please
Click to expand...
Click to collapse
Hi Redscorpio
Have you seen this tool, I think it's similar to yours.
http://www.freaktab.com/showthread.php?12404-RockchipDumpSplit-Simplifies-the-creation-of-backups-from-rockchip-devices
dewettie said:
Have you seen this tool, I think it's similar to yours.
http://www.freaktab.com/showthread.php?12404-RockchipDumpSplit-Simplifies-the-creation-of-backups-from-rockchip-devices
Click to expand...
Click to collapse
I don't think so. Maybe even better , but I did this tool for myself. If anyone is not interesting I will not publish
RedScorpioXDA said:
rkDumpSlicer
RockChip firmware dump slicer to obtain flashable backup
Version 0.95 Windows
...
Click to expand...
Click to collapse
Just to know before I use your tool (or the other one in freaktab)
Some device makers post their firmware in one file, normally titled "update.img", in this are included all is needed.
Are flashed back using RKBatchTool ... your app will generate such file?
TIA
DaremoS said:
Some device makers post their firmware in one file, normally titled "update.img", in this are included all is needed.
Are flashed back using RKBatchTool ... your app will generate such file?TIA
Click to expand...
Click to collapse
Some files in "update.img" (RKAF) don't contained in devises partitions. For example: bootloader (like RK3188Loader(L)_V1.24.bin for RK3188), recover-script, update-script. You can add files and make own flashable fw (imgRePackerRK with option /rkaf)
rkDumpSlicer
RockChip firmware dump slicer to obtain flashable backup
New version 0.96 ready
+ RKAndroidTool's configuration files creating have added
- config_8.cfg for version 1.xx;
- config_16.cfg for version 2.xx;
thanks.
is this tools able to bacup rk2926
mithun roy said:
is this tools able to bacup rk2926
Click to expand...
Click to collapse
I haven't possibility to check
rkDumpSlicer
RockChip firmware dump slicer to obtain flashable backup
New version 0.97 ready
~minor bugs fixed
The project is closed
Use rkDumper​
Excellent and reliable tool, thanks a lot!
Works much better for me than the other image splitting program which, for some reason, keeps aborting, telling me that I have 0.00MB or free disk space although I have hundreds of gigs free.
RkDumper is nice too, but I prefer doing a full NAND dump using RK Android Tool and use this one to split it.
Yet another one of your very, very useful tools, RedScorpio.
спасибо !

LG Theme Template (Android Studio Project)

I've seen a lot of people asking how to exactly theme the LG devices, a while ago i made a template in Android Studio.
This is based on another Template i found that was just for Settings.
Anyone familiar with Android Studio should know what to do with this.
Included in the template package is: "common", "settings" and "_app"
"common" is used for the package: com.lge (which is comparable with SystemUI/Framework-res)
"settings" is used for: com.android.settings (Settings App obviously)
"_app" is the app for the theme itself.
If you want to provide themeing to more apps, you will have to add them yourself.
Make a new folder for the app you want to theme, let's say: Phone.
In this folder you add the resources and manifests to make this work (you can copy/modify them basically from 'common' or 'settings')
Add this folder to 'settings.gradle' (main folder)
Code:
include ':_app', ':common', ':settings'[COLOR="Red"], ':phone'[/COLOR]
Build all the seperate files (common, settings and phone (and whatever else you might add))
Then build app, making sure the other files are built and inside "_app\src\main\assets"
I won't be explaining stuff, hope everyone will work together on this one.
Anyways, here's the ZIP file, show me some love for this, and please show the stuff you make using this :good:
[
Mod Edit, link removed.
Thread Closed and PM sent regarding this thread....
Mjuksel said:
I've seen a lot of people asking how to exactly theme the LG devices, a while ago i made a template in Android Studio.
This is based on another Template i found that was just for Settings.
Anyone familiar with Android Studio should know what to do with this.
Included in the template package is: "common", "settings" and "_app"
"common" is used for the package: com.lge (which is comparable with SystemUI/Framework-res)
"settings" is used for: com.android.settings (Settings App obviously)
"_app" is the app for the theme itself.
If you want to provide themeing to more apps, you will have to add them yourself.
Make a new folder for the app you want to theme, let's say: Phone.
In this folder you add the resources and manifests to make this work (you can copy/modify them basically from 'common' or 'settings')
Add this folder to 'settings.gradle' (main folder)
Code:
include ':_app', ':common', ':settings'[COLOR="Red"], ':phone'[/COLOR]
Build all the seperate files (common, settings and phone (and whatever else you might add))
Then build app, making sure the other files are built and inside "_app\src\main\assets"
I won't be explaining stuff, hope everyone will work together on this one.
Anyways, here's the ZIP file, show me some love for this, and please show the stuff you make using this :good:
[
Mod Edit, link removed.
Click to expand...
Click to collapse

Categories

Resources