PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Vogue (http://forum.ppcgeeks.com/forumdisplay.php?f=48)
-   -   User Customization setup (http://forum.ppcgeeks.com/showthread.php?t=21205)

OMJ 03-13-2008 06:23 PM

User Customization setup
 
so I'm adding UC to my next version.....UC is pretty slick btw, built a custom .xml that loads most of my settings & all my pop3 accounts. anyways, here is my situation.....

I edited the config.txt file @ \OEM\ExtendedPKG\ as such:

Code:


LOCK:Enabled
LOCK:Disabled
EXEC:\windows\SDAutoRun.exe

Using Sleuths latest version of SDAutoRun.exe, I copied the file to \OEM\OEMAPPS\

I built this SDConfig.txt file & copied to my storage card:

Code:


LOCK:Enabled
CAB: \Storage Card\Files\touchpal.cab
CAB: \Storage Card\Files\favs.cab
XML: \Storage Card\omjprovisioning.xml
LOCK:Disabled
RST: Reset

So what was happening was, the SDAutoRun.exe was not running post flash. If I set "AutoRunFlag" to 0, then manually run SDAutoRun.exe, it would install as it should. Well after playin around & flashing a handful of times, I realized I have an OEM w/ regedits that included setting "AutoRunFlag" to 1.....dumbass, lol. So I set it to 0, and cooked again. Now the customiszation runs, but installs all the Sprint crap. So then I empty the OperatorPKG_PT folder & cook again. Now, when customization runs, I see it run config_operator.txt which trys to run config_PT.txt, which was in the OperatorPKG_PT folder, which is now empty, so it does nothing. So then I edit the config_operator.txt file as such:

Code:


LOCK:Enabled
EXEC:\windows\SDAutoRun.exe

Now the SDAutoRun.exe will run & install my SDConfig.txt, but to me this seems like I had to rig it to do what I want...Why wont SDAutoRun.exe run from config.txt?...those of you that are using UC in your ROMS, how do you have yours setup?
thx

jakdillard 03-13-2008 10:25 PM

Re: User Customization setup
 
Quote:

Originally Posted by Old_Man_Jenkins (Post 216713)
so I'm adding UC to my next version.....UC is pretty slick btw, built a custom .xml that loads most of my settings & all my pop3 accounts. anyways, here is my situation.....

I edited the config.txt file @ \OEM\ExtendedPKG\ as such:

Code:


LOCK:Enabled
LOCK:Disabled
EXEC:\windows\SDAutoRun.exe

Using Sleuths latest version of SDAutoRun.exe, I copied the file to \OEM\OEMAPPS\

I built this SDConfig.txt file & copied to my storage card:

Code:


LOCK:Enabled
CAB: \Storage Card\Files\touchpal.cab
CAB: \Storage Card\Files\favs.cab
XML: \Storage Card\omjprovisioning.xml
LOCK:Disabled
RST: Reset

So what was happening was, the SDAutoRun.exe was not running post flash. If I set "AutoRunFlag" to 0, then manually run SDAutoRun.exe, it would install as it should. Well after playin around & flashing a handful of times, I realized I have an OEM w/ regedits that included setting "AutoRunFlag" to 1.....dumbass, lol. So I set it to 0, and cooked again. Now the customiszation runs, but installs all the Sprint crap. So then I empty the OperatorPKG_PT folder & cook again. Now, when customization runs, I see it run config_operator.txt which trys to run config_PT.txt, which was in the OperatorPKG_PT folder, which is now empty, so it does nothing. So then I edit the config_operator.txt file as such:

Code:


LOCK:Enabled
EXEC:\windows\SDAutoRun.exe

Now the SDAutoRun.exe will run & install my SDConfig.txt, but to me this seems like I had to rig it to do what I want...Why wont SDAutoRun.exe run from config.txt?...those of you that are using UC in your ROMS, how do you have yours setup?
thx

EXEC: \Windows\SDAutoRun.exe

OMJ 03-14-2008 09:52 AM

Re: User Customization setup
 
Quote:

Originally Posted by jakdillard (Post 217036)
EXEC: \Windows\SDAutoRun.exe

yeah, I had tried it w/ & w/o the space, but neither will run.....I tried numerous times this am. It keeps going to config_operator.txt & will install the sprint crap unless I change config_operator.txt:

from....

Code:

LOCK:Enabled
CFG: \WINDOWS\config_PT.txt

to....

Code:

LOCK:Enabled
EXEC: \Windows\SDAutoRun.exe

this is the only way I can get SDAutoRun.exe to launch. So what happens is, a 1st customize window runs config_operator.txt, then a 2nd customize window runs SDAutoRun.exe......Is it normal to see 2 customize windows?

FastRX8 03-14-2008 10:50 AM

Re: User Customization setup
 
I always see 2 windows when using UC rom's.
They both count down the 3 secs, or I can hit OK to start it right away.

OMJ 03-14-2008 11:14 AM

Re: User Customization setup
 
Quote:

Originally Posted by FastRX8 (Post 217617)
I always see 2 windows when using UC rom's.
They both count down the 3 secs, or I can hit OK to start it right away.

cool....I wasn't sure as I just starting messin w/ UC. Well I guess the way I have mine setup launching SDAutoRun from the config_operator.txt should be fine, b it just bugs me it wont launch from config.txt.

InvincibleLiving 03-14-2008 11:32 AM

Re: User Customization setup
 
with my uc, i've never had to do any of the described above... i left my device config.text as is... and setup my sdconfig.txt with all of the items i wanted installed: EXEC, CPY1,CPY2, XML, HIDE, .... took ALOT of tweaking and retrying, but again i never had to edit my device config.txt...

OMJ 03-14-2008 12:45 PM

Re: User Customization setup
 
Quote:

Originally Posted by nautica2450 (Post 217697)
with my uc, i've never had to do any of the described above... i left my device config.text as is... and setup my sdconfig.txt with all of the items i wanted installed: EXEC, CPY1,CPY2, XML, HIDE, .... took ALOT of tweaking and retrying, but again i never had to edit my device config.txt...

but are you using UC as a user, a chef or both?

when cooking a ROM, you have to tell it to launch SDAutoRun.exe to execute SDconfig.txt on the users SD card.


abit off topic.....but can anyone tell me why this code is not working in my xml? Am I missing another reg setting?

Code:

<characteristic type="HKLM\Software\Microsoft\Shell\Start Items" translation="filesystem">
    <parm name="BTaudio.lnk" datatype="string" value="\Windows\Start Menu\Programs\BTaudio.lnk"/>
    <parm name="DeviceLock.lnk" datatype="string" value="\Windows\Start Menu\Programs\DeviceLock.lnk"/>
    <parm name="Google Maps.lnk" datatype="string" value="\Windows\Start Menu\Programs\Google Maps.lnk"/>
    <parm name="Internet Sharing.lnk" datatype="string" value="\Windows\Start Menu\Programs\Internet Sharing.lnk"/>
    <parm name="Java.lnk" datatype="string" value="\Windows\Start Menu\Programs\Java.lnk"/>
    <parm name="Screen Capture.lnk" datatype="string" value="\Windows\Start Menu\Programs\Screen Capture.lnk"/>
    <parm name="Total Commander.lnk" datatype="string" value="\Windows\Start Menu\Programs\Total Commander.lnk"/>
</characteristic>


InvincibleLiving 03-14-2008 12:51 PM

Re: User Customization setup
 
Quote:

Originally Posted by Old_Man_Jenkins (Post 217832)
but are you using UC as a user, a chef or both?

when cooking a ROM, you have to tell it to launch SDAutoRun.exe to execute SDconfig.txt on the users SD card.


abit off topic.....but can anyone tell me why this code is not working in my xml? Am I missing another reg setting?

Code:

      <characteristic type="HKLM\Software\Microsoft\Shell\Start Items" translation="filesystem">
        <parm name="BTaudio.lnk" datatype="string" value="\Windows\Start Menu\Programs\BTaudio.lnk"/>
        <parm name="DeviceLock.lnk" datatype="string" value="\Windows\Start Menu\Programs\DeviceLock.lnk"/>
        <parm name="Google Maps.lnk" datatype="string" value="\Windows\Start Menu\Programs\Google Maps.lnk"/>
        <parm name="Internet Sharing.lnk" datatype="string" value="\Windows\Start Menu\Programs\Internet Sharing.lnk"/>
        <parm name="Java.lnk" datatype="string" value="\Windows\Start Menu\Programs\Java.lnk"/>
        <parm name="Screen Capture.lnk" datatype="string" value="\Windows\Start Menu\Programs\Screen Capture.lnk"/>
        <parm name="Total Commander.lnk" datatype="string" value="\Windows\Start Menu\Programs\Total Commander.lnk"/>
      </characteristic>


I strictly a user.... which is making me think it was already pre-set up by the chef (no2chem) which would explain alot....

on first glance i dont see anything wrong with that code... getting that syntax just right is a mother aint it? lol

OMJ 03-14-2008 12:56 PM

Re: User Customization setup
 
Quote:

Originally Posted by nautica2450 (Post 217840)
I strictly a user.... which is making me think it was already pre-set up by the chef (no2chem) which would explain alot....

on first glance i dont see anything wrong with that code... getting that syntax just right is a mother aint it? lol

yes, I'm trying to get it setup in the ROM.

yeah, it's not always easy to find what registry setting is being modifed when you enable or disable something.

mrgeoff 03-14-2008 04:01 PM

Re: User Customization setup
 
Quote:

Originally Posted by Old_Man_Jenkins (Post 217850)
yes, I'm trying to get it setup in the ROM.

yeah, it's not always easy to find what registry setting is being modifed when you enable or disable something.

When I get home... I can zip up my UC part and put it on the FTP and supply the info that I put for boot. That should get you by. I haven't had issues with my setup.

ghettofreeryder 03-14-2008 06:38 PM

Re: User Customization setup
 
i ran into this issue as well, I found it to be an incompatible version of autorun. I took autorun from a kaiser, and all is well. check my oem folder in a few minutes

OMJ 03-14-2008 06:47 PM

Re: User Customization setup
 
Quote:

Originally Posted by ghettofreeryder (Post 218390)
i ran into this issue as well, I found it to be an incompatible version of autorun. I took autorun from a kaiser, and all is well. check my oem folder in a few minutes

thx....I see it in your folder....I'll give it a try....I was not using an OEM, just editing config.txt, then adding the SDAutoRun.exe....also, there's a new version of SDAutoRun out that does not require the relaxed security.

ghettofreeryder 03-14-2008 06:57 PM

Re: User Customization setup
 
yeah, that is the new one, you can comment out the reg entries if you want. Either way, I dont think its SDautorun causing the issue, but autorun itself

OMJ 03-15-2008 08:07 AM

Re: User Customization setup
 
well thx ghettofreeryder for the OEM, but I'm getting the same results. but I have come to the conclusion, that this behavior is correct.

I'm assuming that AutoRun.exe, is launching config_operator.txt which contains:

Code:

LOCK:Enabled
CFG: \WINDOWS\config_PT.txt

So it runs config_PT.txt, which contains:

Code:

EXEC:\Windows\RUN_SPRINT_TSK.lnk
EXEC:\Windows\AddContacts.exe
CAB: \Windows\GetGL.CAB
CAB: \Windows\GroveMobile_pulgIn.sa.CAB
CAB: \Windows\SPCS GetOZ.CAB
CAB: \Windows\getmail.ppcwm5.Release.sprintmail_uninstall.CAB
CAB: \Windows\SprintTV_1_5_PPC_V_9-04-07RC7(wo setup).cab
CAB: \Windows\ondemand_6900_boot.arm.CAB
XML: \Windows\RemovePrograms.xml
EXEC:\Windows\ChgScutAttri.exe
CAB: \Windows\LiveSearch.cab
CAB: \Windows\SPCS_Mvsrt.CAB
CAB: \Windows\Today_pluginitem.CAB
CFG: \Windows\config.txt

so it loads all the sprint crap, then the last line points to the config.txt, which after being modified, contains:

Code:

LOCK:Enabled
LOCK:Disabled
EXEC: \Windows\SDAutoRun.exe

So really it's doing what it's suppose to do, but I do not want to run the config_PT.txt which has all the sprint crap. So I edited config_operator.txt to bypass the config_PT.txt & go straight to config.txt:

Code:

LOCK:Enabled
CFG: \Windows\config.txt

I could go straight to SDAutoRun.exe from the config_operator.txt but I wanted to test the config.txt setup......it's working as it should.

So for those of you that are not modifying the config_operator.txt, are you loading the sprint crap?


All times are GMT -4. The time now is 08:22 PM.

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


Content Relevant URLs by vBSEO 3.6.0