[Q] Lua scripts for manila - Touch Diamond, MDA Compact IV Themes and Apps

Does anyone write custom scripts for manila?
I have an idea how add new functions to manila for using them from lua..
Is there anybody interested?

It looks like noone writes scripts.. too bad..

Check the m9editor and Lua 5.1 tools threads.

Mandragore said:
Check the m9editor and Lua 5.1 tools threads.
Click to expand...
Click to collapse
Thank you. As I see, they already found a way to add new functions

Related

[SOLVED]COM5 Expire watermark

How do you disable Beta expiration?
Make an "app.reg" with this key:
Code:
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
then put it in an EXT folder.
Works like a charm. Thank you so much!
No problem...you are wellcome
Anyone help?
I have tried a couple of times now to use mortscript to remove the "BETA" tags from the registry. I obviously am doing it wrong - can someone post what the mortscript should be for me please?
this is what I tried just now and still no go...
Code:
If ( RegKeyExists("HKLM","\Software\Microsoft\Shell\Device Beta"))
RegDeleteKey("HKLM","\Software\Microsoft\Shell\Device Beta",TRUE,TRUE)
EndIf
Thanks
DT
d_train said:
I have tried a couple of times now to use mortscript to remove the "BETA" tags from the registry. I obviously am doing it wrong - can someone post what the mortscript should be for me please?
this is what I tried just now and still no go...
Code:
If ( RegKeyExists("HKLM","\Software\Microsoft\Shell\Device Beta"))
RegDeleteKey("HKLM","\Software\Microsoft\Shell\Device Beta",TRUE,TRUE)
EndIf
Thanks
DT
Click to expand...
Click to collapse
I may be wrong but I don't didn't the os like it if the registry is removed. It'll probably add them back.
I'd just put that in a app.reg in the last package to be processed by the kitchen like this:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
"Today"=""
"Expiry"=""
"Reminder"=dword:00000000
wmserver said:
I may be wrong but I don't didn't the os like it if the registry is removed. It'll probably add them back.
I'd just put that in a app.reg in the last package to be processed by the kitchen like this:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
"Today"=""
"Expiry"=""
"Reminder"=dword:00000000
Click to expand...
Click to collapse
I use old my own style kitchen with OEMs.
and simply include it in a .rgu file:
Code:
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
Don't know if works in app.reg in new style kitchens.
babak00000 said:
I use old my own style kitchen with OEMs.
and simply include it in a .rgu file:
Code:
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
Don't know if works in app.reg in new style kitchens.
Click to expand...
Click to collapse
just delete all instances of DeviceBeta from Shell rgu.
MietasSR said:
just delete all instances of DeviceBeta from Shell rgu.
Click to expand...
Click to collapse
I remove this.... but still have a bug for beta... white screen etc..
Nokser said:
I remove this.... but still have a bug for beta... white screen etc..
Click to expand...
Click to collapse
You need to patch shell32.exe. Da_G posted one in his thread. Use that.
For lazy people like me, use the attached pkg and put in your EXT. It will replace SYS reg..
ai6908 said:
You need to patch shell32.exe. Da_G posted one in his thread. Use that.
For lazy people like me, use the attached pkg and put in your EXT. It will replace SYS reg..
Click to expand...
Click to collapse
I still have bugs...
Nokser said:
I remove this.... but still have a bug for beta... white screen etc..
Click to expand...
Click to collapse
And later:
Nokser said:
I still have bugs...
Click to expand...
Click to collapse
White screen has nothing common with beta watermark or shell32 time-bomb

[QUESTION] automatic reboot at first boot

Hi
My ROM has some tweaks and extras that needs a soft reset after initialization wth 1st boot. How can I make a automatic reboot just the 1st time the phone boots up?
If you're using RunCC, edit your *.rgu/app.reg accordingly:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\RunCC]
"ResetDevice"=dword:00000001
How can I know if I use runCC?
You don't know which packages you're using for your ROM? Funny thing!
animelover said:
You don't know which packages you're using for your ROM? Funny thing!
Click to expand...
Click to collapse
hehe... just using a dump of official rhodium S2, and spiced it up a bit, and deleted things I don't need
Take a look into EXT -> Rhodium -> Your Build -> Rhodium_External_Packages and search for "RunCC"!
animelover said:
Take a look into EXT -> Rhodium -> Your Build -> Rhodium_External_Packages and search for "RunCC"!
Click to expand...
Click to collapse
yeye... there it is Thanks
animelover said:
You don't know which packages you're using for your ROM? Funny thing!
Click to expand...
Click to collapse
Funny indeed. These are the junior cooks we get these days...
No offense here but ...
I think all of great cooks started as "junior"
Even the big NRGZ28
best regards
fwt
hey hey... fair play ppl... glad to have new chefs CC is for that... new chefs and experienced chefs
fwt said:
No offense here but ...
I think all of great cooks started as "junior"
Even the big NRGZ28
best regards
fwt
Click to expand...
Click to collapse
Very true..
Anyways, I love your sig And it's quite funny how true it is!
if i might stick with the topic
2 - xda_uc also offers a reboot after customization - you could add this to your ext
3 - old method: autorun + checkautorun pkg also reboots your rom (dump blackstone or kovsky)
Problem With add2config Packages?
Hey, I had this problem before where all my packages that I cook in with the add2config method (so they can be removed by the user) aren't installing / aren't being set as default...
These are the following packages that I have the problem with:
BG4All Tabs (add2config) - Doesn't appear in the rom at all
A 6.5.5 Theme (add2config) - Isn't default but is in the list of themes
A 6.5.5 Taskbar (add2config) - Doesn't appear in the rom at all
All this was solved when I changed the runcc rgu file: e110406e-9af4-4cdc-932d-255ac9636f4d like everyone says to "ResetDevice"=dword:00000001
But since rebuilding my kitchen im having the same problem, Ive changed the reset device to 00000001 but still none of the add2config packages are working has anyone got any solutions?
Thanks
[★] said:
Hey, I had this problem before where all my packages that I cook in with the add2config method (so they can be removed by the user) aren't installing / aren't being set as default...
These are the following packages that I have the problem with:
BG4All Tabs (add2config) - Doesn't appear in the rom at all
A 6.5.5 Theme (add2config) - Isn't default but is in the list of themes
A 6.5.5 Taskbar (add2config) - Doesn't appear in the rom at all
All this was solved when I changed the runcc rgu file: e110406e-9af4-4cdc-932d-255ac9636f4d like everyone says to "ResetDevice"=dword:00000001
But since rebuilding my kitchen im having the same problem, Ive changed the reset device to 00000001 but still none of the add2config packages are working has anyone got any solutions?
Thanks
Click to expand...
Click to collapse
I'm not sure anyone will be able to answer that without being totally lucky if you don't post your packages or build-log or at least the add2config text files. Anway, maybe you already do this, but if you don't, then start doing this: after cooking, look in the dump and make sure everything is there. Also, look at config.txt to make sure all the add2config's were compiled properly. This will save you the flash-disappointment.
Ok theres my buildlog, my run cc rgu file and one of my add2config files Thanks.
fwt said:
No offense here but ...
I think all of great cooks started as "junior"
Even the big NRGZ28
best regards
fwt
Click to expand...
Click to collapse
Yeah, but I wasn't cooking ROMs for the public until I knew what the hell I was doing... lol
NRGZ28 said:
Yeah, but I wasn't cooking ROMs for the public until I knew what the hell I was doing... lol
Click to expand...
Click to collapse
lol, also I did this way...
Can't remember where I read something like "PPL: Could you make it in this language?" - " "COOK": I don't know how to!"
LOL
[★] said:
Hey, I had this problem before where all my packages that I cook in with the add2config method (so they can be removed by the user) aren't installing / aren't being set as default...
These are the following packages that I have the problem with:
BG4All Tabs (add2config) - Doesn't appear in the rom at all
A 6.5.5 Theme (add2config) - Isn't default but is in the list of themes
A 6.5.5 Taskbar (add2config) - Doesn't appear in the rom at all
All this was solved when I changed the runcc rgu file: e110406e-9af4-4cdc-932d-255ac9636f4d like everyone says to "ResetDevice"=dword:00000001
But since rebuilding my kitchen im having the same problem, Ive changed the reset device to 00000001 but still none of the add2config packages are working has anyone got any solutions?
Thanks
Click to expand...
Click to collapse
[★] said:
Ok theres my buildlog, my run cc rgu file and one of my add2config files Thanks.
Click to expand...
Click to collapse
Bumping my own question
[★] said:
Ok theres my buildlog, my run cc rgu file and one of my add2config files Thanks.
Click to expand...
Click to collapse
The add2config.txt file is in the wrong folder; it needs to go in the \files sub-folder of the EXT. Put it in there, and you're problems should go away.
Edit: although, I'm seeing this in the build-log:
Found: 1 Extra Info on a Package... Populating config.txt with: CAB: \Windows\B4ALL.cab
Click to expand...
Click to collapse
and this:
Processing "B4ALL.cab" as file
Click to expand...
Click to collapse
So, I guess I don't really understand why the .cab isn't installing. I've never used runcc before, so I can't help you on what may be going on with it. I guess it's ok to put the add2config in the main folder, since it looks like it's compiling correctly.
2nd Edit: all the cab is doing is adding a couple of manila files; you should just dump the two files and put them in an EXT and have them over-write the stock manila files. You don't need to run this as a cab, as far as I can tell.
You need to fix this (minor, but might as well do it):
Failed to parse value name HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\start\Tools\Format SD Card.lnk!!!
Click to expand...
Click to collapse
Farmer Ted said:
The add2config.txt file is in the wrong folder; it needs to go in the \files sub-folder of the EXT. Put it in there, and you're problems should go away.
Edit: although, I'm seeing this in the build-log:
and this:
So, I guess I don't really understand why the .cab isn't installing. I've never used runcc before, so I can't help you on what may be going on with it. I guess it's ok to put the add2config in the main folder, since it looks like it's compiling correctly.
2nd Edit: all the cab is doing is adding a couple of manila files; you should just dump the two files and put them in an EXT and have them over-write the stock manila files. You don't need to run this as a cab, as far as I can tell.
You need to fix this (minor, but might as well do it):
Click to expand...
Click to collapse
(disregard my last post on the other thread, I didnt realise you had replied )
Thanks for the response, yeah the add2config file has worked before in the root of the packages, seems something else it buggy :/
Yeah that cab may be so, but that was an old one just as an example, I really need to get it working for this mortscript thing we discussed on the other thread..
Maybe we could discuss more tomorrow ? Perhaps you could have a nosey in my kitchen or something, I know I should work this stuff out myself, but as a chef still in training, its quite difficult to know what to look for, and help from peopel like you is priceless
Thanks

[TOOL] Initflashfiles decoding/compacting tool v1.01

How to use
Drag and drop the initflashfiles.dat file over the tool executable and two files named "initflashfiles_decoded.dat" (identical file with the hexadecimal values removed) and "initflashfiles_compact.dat" (file with only the decoded entries and no comments or empty lines) will be created.
Note
The tool will write only valid lines in the compact file so if you find any line is missing please make sure it's a valid line before reporting the issue.
Changelog
(27/08/2010) v1.01: Now the tool saves the in-line comments as well
(25/08/2010) v1.00: Initial release
wow ! very nice tool !! thanks
airxtreme said:
How to use
Drag and drop the initflashfiles.dat file over the tool executable and two files named "initflashfiles_decoded.dat" (identical file with the hexadecimal values removed) and "initflashfiles_compact.dat" (file with only the decoded entries and no comments) will be created.
Note
The tool will discard in-line comments (comments written on the right of an entry) in the decoded file and will write only valid lines in the compact file.
Click to expand...
Click to collapse
Really nice tool! Great job as always airxtreme.
any chance you could add support for provxml?
does this tool need .NET or anything like that?
selyb said:
any chance you could add support for provxml?
Click to expand...
Click to collapse
Not yet, I still haven't finished my provxml parser
selyb said:
does this tool need .NET or anything like that?
Click to expand...
Click to collapse
It requires .NET 2.0 or higher to run
Thanks man.You are the real deal
Hello Hello,
Sorry for this noob question, but, what's the advantage of this tool ?
I have difficulties to understand.
Thanks a lot,
Regards,
Nixeus
Nixeus said:
Hello Hello,
Sorry for this noob question, but, what's the advantage of this tool ?
I have difficulties to understand.
Thanks a lot,
Regards,
Nixeus
Click to expand...
Click to collapse
Many OEMs put in the initflashfiles files hexadecimal values instead of characters for localization purposes, making very hard for cooks to understand what the entries are about; this tool takes all those hexadecimal values and decodes them to text.
mmm Ok, so,this tool is in order to decode the one initflashfiles.Dat ?
Nice job!
Thanks for sharing.
Nixeus said:
mmm Ok, so,this tool is in order to decode the one initflashfiles.Dat ?
Click to expand...
Click to collapse
Well, as the tool name says, yes.
This may also be a stupid question but with your kitchen it creates app.dat files in many of the Ext packages. Which I assume is added to the iniflashfiles.txt file? So what is the best practice run it on the iniflashfiles.txt and all of the app.dat files individually?
Thanks for clarification
bobsbbq said:
This may also be a stupid question but with your kitchen it creates app.dat files in many of the Ext packages. Which I assume is added to the iniflashfiles.txt file? So what is the best practice run it on the iniflashfiles.txt and all of the app.dat files individually?
Thanks for clarification
Click to expand...
Click to collapse
The next version will have all the validations and initflashfiles compacting built in
airxtreme said:
The next version will have all the validations and initflashfiles compacting built in
Click to expand...
Click to collapse
Great tools airxtreme ... good job mate
Awsom tool, wow
Maybe I'm a bit late but thanks a lot Airxtreme.

How to disable auto time synchororization in kitchen

hi every body
can someone please give me some advice .i want to disable auto time synchronization before cooking the leo rom.can you please tell me how can i do this.thanks.and i wish you all very happy new year.
Code:
;disable auto time sync
[HKEY_LOCAL_MACHINE\Software\HTC\TimeZoneAutoFix]
"CreatePDPAlways"=dword:00000002
"WarnAlways"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock]
"HomeDST"=dword:00000000
"AutoDST"=dword:00000000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
"NITZEnable"=dword:00000000
HD2Owner said:
Code:
;disable auto time sync
[HKEY_LOCAL_MACHINE\Software\HTC\TimeZoneAutoFix]
"CreatePDPAlways"=dword:00000002
"WarnAlways"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock]
"HomeDST"=dword:00000000
"AutoDST"=dword:00000000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
"NITZEnable"=dword:00000000
Click to expand...
Click to collapse
thanks for reply .where is this in os kitchen please?
master92 said:
thanks for reply .where is this in os kitchen please?
Click to expand...
Click to collapse
Try opening all the reg files in your kitchen and look... You might learn a couple of new things as well if you do that!
ai6908 said:
Try opening all the reg files in your kitchen and look... You might learn a couple of new things as well if you do that!
Click to expand...
Click to collapse
Yup, that works. Also, just use Kheb 1.1 to find registry keys. It's faster and easier than either searching or starting a new thread.
The key is probably in the oem drivers rgu, and it may appear several times.
i swithed to osbuilder lately.
there is a option inside called registry preview.
if you expand the three and select the key you're searching for, it shows wich rgu-files are editing the selected key. very easy. best kitchen i ever used to cook roms.
i already solved some order problems this way. just to let you know.
the keys i wrote about should be simply added as last package after all xip/sys/oem (overwrite any other rgu values).
HD2Owner said:
i swithed to osbuilder lately.
there is a option inside called registry preview.
if you expand the three and select the key you're searching for, it shows wich rgu-files are editing the selected key. very easy. best kitchen i ever used to cook roms.
i already solved some order problems this way. just to let you know.
the keys i wrote about should be simply added as last package after all xip/sys/oem (overwrite any other rgu values).
Click to expand...
Click to collapse
hi thanks for reply can you please tell me where can i download this kitchen, and is it for leo.
master92 said:
hi thanks for reply can you please tell me where can i download this kitchen, and is it for leo.
Click to expand...
Click to collapse
You can make it work for leo.
http://www.mobileunderground.info/showthread.php?t=12348

[Help] Menu don't open on Manila Tab Music

Hello my friends,
I use the latest HTC Sense v 2.5.20212114.0 and i have a little problem on the Music tab !
I can see the library softkey, and the Menu softkey.
The library menu can be opened whitout problem, but, if i click on the menu softkay, nothing happens.
Anyone have an idea or an issue for this ?
Thanks a lot my friend,
Best regards,
Nixeus
Hi Nixeus,
Try replacing the xmls in the package with the xmls attached.
Grtz, Leo
Hello Laurentius26,
Thanks a lot for your answer, nevertheless, i have tried but there is no changes
Best regards,
Nixeus
Sorry mate,
I remember I was having the same issue with it.
Now that I look at my kitchen I see I use a earlier version.
Manila_Music_2_5_20173722_0
Nixeus said:
Hello Laurentius26,
Thanks a lot for your answer, nevertheless, i have tried but there is no changes
Best regards,
Nixeus
Click to expand...
Click to collapse
Have you made sure that your xml is getting placed in the appropriate folder during build?
\Windows\ManilaXml
Laurentius26 said:
Sorry mate,
I remember I was having the same issue with it.
Now that I look at my kitchen I see I use a earlier version.
Manila_Music_2_5_20173722_0
Click to expand...
Click to collapse
I use actually the same version : Manila Music v2.5.20173722.0
It's strange
jmart518 said:
Have you made sure that your xml is getting placed in the appropriate folder during build?
\Windows\ManilaXml
Click to expand...
Click to collapse
Hello my friend, and thanks for your answer.
Sadly, my XML files are in the appropriate folder.
Here you go bro, you can try out my oem to see if it works for you.
**Note: it is CFC compressed and localized (0409)
Thanks a lot for yout help
Sadly, always no changes
I think the problem comes from an other package
If I replace the two XML file from your package by the 2 XML files for my localization, the menu is ok, but....i have only the IDS_***** always...
So i cannot use the latest manila music package, i need to use the old Manila_Music_2_5_20171130_0.
I think it's due to a localization dependence located in an other manila package.
Thanks a lot for your help
I get menus disabled in sense sometimes when i use different kitchen! its a lot of trial and error to figure out what works, and what doesnt...

Categories

Resources