Scripts for XDA_UC - HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting

I've been trying for the last couple of days to solve an issue (it's not really a problem) that has been irritating me for a while. The issue is that everytime i flash a new rom i have to spent a coupe of hours after configuring everything again. Now, I use the 6.5.x tree of NRGZ28's energy rom series, specifically the standard variant and i want to create some scripts that will automatically setup things like my exchange server, hotmail, opera user-agent string and wifi. I already have a script that is supposed to work for exchange (not tested it yet) and one for the wifi. The wifi one just doesn't work but i've just done some reading and i think i know why (More on that in a mo). So, i was wondering, has anyone tried this already? If so do you have the scripts that are needed or know where i can find them?
Now, back to the wifi script. The reason i believe it doesn't work is because it would appear that the wifi has to be on for the WLAN driver to accept the new configuration. Now when you install a new rom, as most of you will know, the wifi is turned off and those of you familiar with the energy rom series will know that xda_uc runs right after first boot allowing no time for the wifi to be enabled manually. So, i was thinking, is it possible to write some code that will enable the wifi at first boot so the configuration script will successfully modify the wifi configuration?
Thanks for your thoughts in advance guys and girls.

Have a look in the FAQ for the ROM and there is post for sample scripts. I used them last night and got hotmail and exchange working. Here's the link:
http://forum.xda-developers.com/showpost.php?p=7333558&postcount=19477
Check the FAQ - each time I re-read it I figure something else out.

lol and there was me thinking it would be a lot harder. i always skip past the faq because 9 times out of 10 they are always filled with things like "How do i flash a rom" etc but i do still have a feeling it's not going to cover all my questions, things like can i write some code to enable the wifi at first boot or some other things i haven't meantioned like can i write a script that will automatically configure omarket with my login details.
I want to go all out on this and have it set up so i have to do as little manual configuration as possible so some code samples and/or further pointer would be really handy.

Just had another look at the faq and found i already had the xml generator listed in the energy addons page. One small problem... I have no idea what the hotmail server configuration is. Any clues? if not i will google it later.

Got my hotmail script. No idea if it works, guess i'll have to test it at some point.
I'm still looking for info on how to enable the wifi at first boot. Although at this point i am open to suggestions on different methods that could be used.
I am also a little disappointed. i thought this one had more legs to it. oh well, you can't always get everything you want i guess.

Just a litlle update. I got the wifi to take the settings without turning it on. Well i say i did it when really it just seemed to work. i think it might have somethig to do with some new drivers that were cooked into the rom i use.
I dropped the hotmail script because i do actually use windows live fair often and i ended up with 2 hotmail email accounts in the email tab but with a couple of tweaks i did get my exchange settings script to work like a dream.
I'm now looking into setting the phone identity using a reg file. I gave it a go using a script i picked up but instead of doing what it was supposed to it just stopped the windows and HTC sms clients from working correctly and i can't figure out why (it caused the phone to create several undeleteable sms messages). I'll post the code at the bottom. I'm also wondering if it is possbile to have a script that will copy files (ringtones specifically) to the right location. I think XDA_UC will do this if you create the directory structure in a folder in the XDA_UC folder on the sd card (hope you followed that one). Can anyone confirm that? I also created a script to configure quickgps but that didn't seem to work, i'll post the code for that too.
I'm still wondering if it would be possible to configure the opera user agent string using some form of script or reg file and it would be really nice if i could something similar with BSB tweaks, agps, HTC location service and pretty much everything else tbh. So if anyone has any scripts, reg files or cab files they wanna share i will certainly welcome them and i'm sure that many others will too.
Anyway, to posting those reg files:
Code:
[HKEY_LOCAL_MACHINE\Ident]
"Name"="Lucifer"
"Desc"="HTC HD2"
"OrigName"="Lucifer"
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\QuickGPS]
"auto"=dword:00000001
"actSync"=dword:00000001
"ExpiredTime"=dword:00002760
"remind"=dword:00000001

Check this out for reference [XDA_UC][UC][SASHIMI][S4X] S4X_Auto & S4X_Backup [AUG.10.2010] XDA_UC Mods & Answers

id some looking up on the device name thing and found this: http://msdn.microsoft.com/en-us/library/aa924188.aspx seems my reg key was a little wrong.
I've also managed to create a cab file that will install my ringtones and then setthem with all related options as the defaults. I know it's not very impressive but it's a step in the right direction. I think i may have a look at exporting the bsb tweaks settings later and see how that goes.
Oh one question: i have been looking for an .reg to xml converter but my google results all seem a little vague and i don;t know if can trust the programs i'm finding. Has anyone got any suggestions?

M3PH said:
Oh one question: i have been looking for an .reg to xml converter but my google results all seem a little vague and i don;t know if can trust the programs i'm finding. Has anyone got any suggestions?
Click to expand...
Click to collapse
I don't think you need to convert reg to xml. Just leave the .reg files in the XDA_UC directory and it should run automatically.

darkblak said:
I don't think you need to convert reg to xml. Just leave the .reg files in the XDA_UC directory and it should run automatically.
Click to expand...
Click to collapse
No, you're right. I have no idea what i was thinking.
Another little update. I have working reg files for opera ua string and quickgps. I've decided not to bother with bsb tweaks because it's so easy to setup but being able to preconfigure windows live would be cool. Also being able to preconfigure agps would be nice

Related

iMate JasJam ExtRom 1.31.305.107 (Telstra)

New ExtROM for Telstra iMate. Has the new video viewer so you can watch Foxtel etc. Probably some other bits and pieces that I haven't had time to take a look at.
http://www.box.net/shared/xu8t6650u8
Haven't tried it with any of WM6 flavours.
Baggy
Excellent work. Just loaded Black 2.0 and didn't really want to load the new rom I just downloaded from iMate website. Time to install some cabs and have a play with the Foxtel channels.
Dev
You mean the one that was released weeks ago and discussed here?
http://forum.xda-developers.com/showthread.php?t=299597&highlight=telstra+rom
yeah it was discussed and released, but nobody extracted or posted the extended rom.
I asked for it, but nobody did it. This is great, got the files.... now....
i noticed a lot of new stuff.... lots of cabs that are not normally there. does anybody know what they do!!! i would like to get some of the new features, i know instinctively what a lot of them do, but i really dont have any clear guidelines or indication for the following as to whether they will add value, or clutter....
Default ...
3518_07
A_AIMEIDetector
MyPlace
Wavedev
MWizard
NITZ Disable
PP Version
PrefRat_2
RTSP
These are the two I want
videoplayer_No_Unistall
Telstra v5.2
Just wondering if I need any of the first few, at all to get the next two.
I know some gurus can extract and see in side what they do, i dont have these facilities, skills or knowledge, so if there are people who can, would you mind... i can post the cabs individually back if you wish.
simon_darley said:
videoplayer_No_Unistall
Telstra v5.2
Click to expand...
Click to collapse
I believe the player is to fix a streaming video problem that existed in that the default player did not work with the format that Foxtel is streamed using.
Not sure about the Telstra 5.2 bit. I'm not smart enought to deconstruct these things...
EDIT: Oh never mind... I just realised what the question was... It's too early in the morning to be reading and posting
Baggy
simon_darley said:
yeah it was discussed and released, but nobody extracted or posted the extended rom.
I asked for it, but nobody did it. This is great, got the files.... now....
i noticed a lot of new stuff.... lots of cabs that are not normally there. does anybody know what they do!!! i would like to get some of the new features, i know instinctively what a lot of them do, but i really dont have any clear guidelines or indication for the following as to whether they will add value, or clutter....
Default ...
3518_07
A_AIMEIDetector
MyPlace
Wavedev
MWizard
NITZ Disable
PP Version
PrefRat_2
RTSP
These are the two I want
videoplayer_No_Unistall
Telstra v5.2
Just wondering if I need any of the first few, at all to get the next two.
I know some gurus can extract and see in side what they do, i dont have these facilities, skills or knowledge, so if there are people who can, would you mind... i can post the cabs individually back if you wish.
Click to expand...
Click to collapse
the Videoplayer_no_Uninstall is for Foxtel
Telstra v5.2 is for setting up dataconnections and stuff... but this checks your IMEI before it starts...and if its not an IMATE it will not load...
Ok, i seem to have found a little bit...
NITZ is network identification and time zone disabling facility, so dont install...
MyPlace appears to be some sort of shopping or internet web facility link/app probably just to encourage us to buy more...
WaveDev is supposed to add base boost to the device for tcpmp and the like, so probably worth installing
RTSP is real time streaming protocol, so probably needed for the foxtel installation
PP Version might be to do with the java midlet, not sure yet.
MWizard cant find anything on at all yet.
3818_07 and AUS_HR and prefRat_2 still looking....
Installed MyPlace cab which has a few good web shortcuts. Also installed the Videoplayer_no_Uninstall is for Foxtel, but it comes up with an error when I start the app."PVPlayer cannot be opened. Not signed with a trusted certificate, or one of its componets cannot be found".
So I think it may need another one of the CAB's installed to get it working.
ANyone else had a play with this yet?
Cheers,
Dev
RTSP didn't help, still got the error.
I'll try another cab.
i have extracted and got all the cabs. i havent tried the foxtel, though that is the one that i want.
there is a subscription fee.
also an imei check is required, if you dont have imate, it wont install apparently. mine is imate jasjam, so hopefully it will work.
Okidoki
Getting a bit of research going, and testing.
FIRSTLY. IF YOU HAVE WM6 DO NOT INSTALL PV PLAYER OR RTSC.
You dont need it. Media Streaming works for Foxtel services. The reason PV Player is available is due to WM5 and the shortfall of the OS. WM6 uses media streaming and it works, so we dont need that.
The new telstra cab file is beneficial. It installs the correct settings for MMS and internet, sets the WAP facility and i also find i get better phone connection, might be an appearance, see later.
The proxy manager that is installed should be used with My Places, to force the system through the WAP and thus receive the concessional access charges of My Places. Also, My Places being WAP based, is very text limted, and download size limited compared to most, so the cost of access is much cheaper.
However, I suspect leaving the proxy on is going to interfere with push email, and general browsing. So its a matter of turning the proxy on before connecting to the internet (and WIFI is not available when proxy on), so that you can connect to the internet My Places and their rosey garden of chosen content.
However it is possible to access foxtel via the normal internet settings, but suspect if you do that you are going to get or incur premium data charges.
So in summary the ones i wanted i dont want, and the ones i didnt want or need, i installed. Not all though, if I couldnt see a reason for them, skipped them.
Still awaiting some feedback or input in what most of them were about, but if you are on telstra, then some of the items in that extended rom are worth while.
If somebody after this does want to know what i installed, and the effects (if known!), PM me. Its going to be a bit of trial and error over time, so better to PM rather than me keep posting back....
Also, might be beneficial for somebody to consider looking at some of the other files like the mms and other cab files, to see if they are newer, better, or more efficient than the standard device settings.
Personally, i aint gonna bother unless i find a need, i am sure anything in wm6 is going to be better than what imate are releasing.... (thanks to jasjamming and his premium wm 6 OS.... )
Thanks for the info simon. It is appreciated.
Is any of this required in WM6? Is it possible to just get the ExtRom by itself? I upgradded to the latest ROM from iMate/Telstra, but i want to upgrade to WM6 too...
just download ext rom review as reqd but install telstra cab and my places cab if u want foxtel. there are 3 others installed and didnt appear tause harm but cant see what they did or the benfits.
somebody needs to open the cabs and let us know wot they do.
i also installed the 3518 odd ball one, the one with AUS in it and pref-rat as its name imples prwference rates but dont really know wot these 3 did... but again caused no apparent harm.
Have installed those two cabs but cant get Foxtel to work.
I go to my place and click on the Foxtel icon, and I get the following error "Page cannot be displayed or downloaded because the connection was lost". I do have a data connection as my push mail & web browsing works perfectly. I'll have to try other cabs as when I click on Bigpond music icon on My Place, it comes up and says Non Telstra, so there is obviously something missing.
Any ideas anyone?
Dev
Do you have the telstra proxy turned on?
you should b able to access wap on my places without proxy. proxy reqd for most things though including foxtel.
can u browse the internet? is connection set to internet or work?
if that fails disconnect from internet and use the telstra proxy and view the rese coloured telstra garden...
No, I didnt have proxy enabled. Just turned it on and it doesnt make any difference as I still get the same error message. When I click on the Foxtel icon, it want to connect to Telstra.internet, not Telstra.Wap. Both my WAP & Internet connections are working perfectly.
I'm stumped!
Dev
Yea - I cant get fox or AFL vids to function either. Can browse to the wap sites, etc, and click on the TV stuff, it loads up the Windows Media player, says 'Failed to connect', then closes.
Im working with WM6 Black 2.0, with just the Telstra 5.2 cab and My places cab installed. Proxy was set to 'On' for my testing.
Would like to know if I need any other cabs from the Ext rom to get it to work.
i am having difficulties. still testing. but... in media streaming ... need to set the connections settings as to which to use may be secure wap or simply wap. not sure which yet.
i had the test working ok... cant get live to work yet. need to fiddle and ensure doesnt exceed downloads while testing...

ROMS are nice OEMs are Better!

It seems like...we can all easily build ROMs....if you're in here, you're diggin in with dcd....
What we need is a list of OEMs that people can add into their ROMs.
For example...I found Arcsoft MMS: 4.2.8.1 OEM.
Go grab it here:
http://sudermatt.com/files/Optional_MMS_4281_10-29-07.zip
Simply unzip and drop it into the OEM folder....
Be aware...you'd better know your Carrier MMS Settings before attempting this one......
sudermatt said:
Be aware...you'd better know your Carrier MMS Settings before attempting this one......
Click to expand...
Click to collapse
actually, if youre using it with my kitchen, the carrier packages should do the mms configuration for you. I've not tested 4.2.8.1 (i dont have vzw) but I was told it worked right off the bat.
It didn't for me....I had to dig around for a posting that gave the right settings.
http://forum.ppcgeeks.com/showthread.php?t=10210
Of course....with OEMizer....I can easily create an rgu file with the settings built into the OEM I make and Cook in!
sudermatt said:
It didn't for me.
Click to expand...
Click to collapse
I will work on this. 3.0 and 4.2 must use different keys.
is there a cab for this version?
Here are some of the OEMs I use in my personal build...
Here is my mortscript OEM.
This binds the voice dialing key to a mortscript of mine for toggling the cellular data connection. Holding button 5 will connect if disconnected, or will disconnect (and disable) if connected. Script is included.
I use it to shut off cellular data at home, which is the only way ive found to make activesync use wifi for connecting back to mail2web.
Hi, how do you build an OEM, to insert in a rom? I would like to add aim 2.0 and a few other files
DCD, is there a OEM for HTC Home that you used to include in your custom versions? The one that has the today-settings panel?
idenkilla,
Believe me...it's not drag and drop...you have to dig in and get your geek on.
OEMizer is an app (search for it) that seems to help the process. I haven't really used it yet to turn cabs or other folder apps (those that do not require installation), into cookable OEM folders. It looks like it will work. I hope to have some time this weekend (its raining all weekend in LA) to play with it.
I will put up some sort of tutorial when I get it figured out. At least covering the simple stuff I understand.
I'm no programmer. I dabble. My big brained friends say, things like, "you know just enough to really 'f' things up" "you code works...unintelligable...but it seems to work".
Go into one of the OEM folders in the kitchen. Find one that is pretty simple that you have a good idea what the app is about. Look at the Option.xml file. Open the rgu file in notepad.
In OEMizer, do something really simple, like owner information, and build the OEM....look at it....you'll see what's going on....
What I don't really get is, the folder apps....I will have to tinker
sudermatt said:
It didn't for me....I had to dig around for a posting that gave the right settings.
http://forum.ppcgeeks.com/showthread.php?t=10210
Of course....with OEMizer....I can easily create an rgu file with the settings built into the OEM I make and Cook in!
Click to expand...
Click to collapse
Hmm, I couldn't get 4.2 to work on mine even using the settings for the 6700. I wonder what is different for you as compared to mine?
I can't remember all the steps I took....but here goes
The mms app only had one connection listed.
In the Registery, it was listed under some directory.
I remember seeing the registery directory "test" having the verizon settings...I modded those to match what the post said.
I copied "test" into the same directory as the default one.
Then I had to change a registry entry to show 2 connection settings in the application
Then I changed another registry entry to indicate which was the default connection I wanted to use.
Then I added a registry entry for my phone number.
Then I think it started working....
I cooked another ROM last night, so I have to redo all this stuff...I'll walk thru the steps again and repost.
But THIS time....I'm going to put it all down and use OEMizer so I don't ever have to do it again.
I'm really starting to see a LOT of value in that application....
working on integrating all my favs as oems into dcd's but I still have a way to go i suppose... keep getting the registry building errors.... blah
registry build error means you have non-unicode text in a reg file you edited somewhere. Make sure to open and save the file that causes the error with microsoft word, and save as, text, unicode encoding... That should eliminate those errors. a lot of text editor say they are saving as unicode, but don't stick strictly to the standard.
PackageCreater Rulez!
sudermatt said:
idenkilla,
Believe me...it's not drag and drop...you have to dig in and get your geek on.
OEMizer is an app (search for it) that seems to help the process.
Click to expand...
Click to collapse
Actually, there is an app out there which pretty much does make it drag and drop.
Search on this site for the phrase "packagecreator". It was originally written and posted in one of the other forums here (i think the last version was 5.4).
It will open a cab, and export it and all of it's keys into a neatly written OEM folder. It even has the ability to mass-rename files in an OEM to avoid name conflicts when cooking.
This little beauty has worked for me on well over 99% (I can't claim 100% because I'm sure there's something out there that didn't work) of the OEMs I've created.
I find the program to be almost as valauble as the kitchen itself.
Jim
dcd1182 said:
Here are some of the OEMs I use in my personal build...
Click to expand...
Click to collapse
dcd1182 Thanks for all the work on this I have question about the oems you posted. I just started to play with the kitchen and when I add the HTC_XButton2_0_30995 the BuildOS gives me this error.
The file 'temp\dump\testsearch.bmp' already exists.
After doing some research it looks like the file is in both the HTC_XButton and AdobeReader is it ok to just delete one of them and try to run the BuildOS again?
Thanks,
dolivas
dolivas said:
dcd1182 Thanks for all the work on this I have question about the oems you posted. I just started to play with the kitchen and when I add the HTC_XButton2_0_30995 the BuildOS gives me this error.
The file 'temp\dump\testsearch.bmp' already exists.
After doing some research it looks like the file is in both the HTC_XButton and AdobeReader is it ok to just delete one of them and try to run the BuildOS again?
Thanks,
dolivas
Click to expand...
Click to collapse
They are the same picture, it's fine to delete one, but this is a bug in buildos that should be fixed, it should prompt the user to keep existing, rename, or overwrite...
paynej said:
Actually, there is an app out there which pretty much does make it drag and drop.
Search on this site for the phrase "packagecreator". It was originally written and posted in one of the other forums here (i think the last version was 5.4).
It will open a cab, and export it and all of it's keys into a neatly written OEM folder. It even has the ability to mass-rename files in an OEM to avoid name conflicts when cooking.
This little beauty has worked for me on well over 99% (I can't claim 100% because I'm sure there's something out there that didn't work) of the OEMs I've created.
I find the program to be almost as valauble as the kitchen itself.
Jim
Click to expand...
Click to collapse
Package creator 5.4 works great, I've been using it for quite a while creating my OEM's. I use this combined with Mobile Registry Editor to extract stuff from the registry to put into the OEM so I don't have to keep setting stuff up every time I flash. For instance I have Slingplayer mobile in an OEM all configured and ready to go.
htc home 2.0.814.722
paynej said:
Actually, there is an app out there which pretty much does make it drag and drop.
Search on this site for the phrase "packagecreator". It was originally written and posted in one of the other forums here (i think the last version was 5.4).
It will open a cab, and export it and all of it's keys into a neatly written OEM folder. It even has the ability to mass-rename files in an OEM to avoid name conflicts when cooking.
This little beauty has worked for me on well over 99% (I can't claim 100% because I'm sure there's something out there that didn't work) of the OEMs I've created.
I find the program to be almost as valauble as the kitchen itself.
Jim
Click to expand...
Click to collapse
If your still looking for package creator heres a link. http://rs62.rapidshare.com/files/78803302/package_creator.rar

Help Help! Lost functionality after flashing with dcd's 3.1.6!

I just flashed my phone after a lengthy process of changing the bootloader and going through all the steps on the wiki and ended up with windows mobile 6.1 and dcd's 3.1.6 rom. I thought everything was going great, until I tried to download follow a link to the google maps download I got in a text message. The page wouldn't load and the phone gave me an error that said that I had no service provider or something for internet access.
I have sprint sero and before today I had excellent 3g internet access. Now however, trying to navigate to web pages is impossible. However, my phone and sms and other sprint services still work, just not data transfer.
Also, I installed google maps through usb and the map functionality worked fine (which is strange because it's supposed to rely on internet access to get map information from the google servers). Maps would render fine and I could even search up directions from and to locations. However, when I tried to use the gps function, it failed to work just like it did before I flashed my mogul. It took me to what I assume to be the intersection of the prime meridian and the equator off the coast of africa.
This is very troublesome because the reason I flashed my firmware in the first place was to gain gps access!
My gps is configured exactly as outlined in the gps faq post on this forum, so it's not a configuration problem.
I'm extremely confused right now and I'd really appreciate it if someone explained these problems to me.
Just going out on a limb...did you install the Sprint carrier cab?
No... Why?
I'm guessing I should've?
Link?
I sometimes wonder if people read the first post of the kitchen's thread, or if they just click download and go at it...
i think we need a pens/wings link banner on the top as a "friendly reminder" to install the carrier cab....it really is amazing that people are willing to do this to their phones without paying attention and making sure they have everything right.
whong09 said:
I just flashed my phone after a lengthy process of changing the bootloader and going through all the steps on the wiki and ended up with windows mobile 6.1 and dcd's 3.1.6 rom. I thought everything was going great, until I tried to download follow a link to the google maps download I got in a text message. The page wouldn't load and the phone gave me an error that said that I had no service provider or something for internet access.
I have sprint sero and before today I had excellent 3g internet access. Now however, trying to navigate to web pages is impossible. However, my phone and sms and other sprint services still work, just not data transfer.
Also, I installed google maps through usb and the map functionality worked fine (which is strange because it's supposed to rely on internet access to get map information from the google servers). Maps would render fine and I could even search up directions from and to locations. However, when I tried to use the gps function, it failed to work just like it did before I flashed my mogul. It took me to what I assume to be the intersection of the prime meridian and the equator off the coast of africa.
This is very troublesome because the reason I flashed my firmware in the first place was to gain gps access!
My gps is configured exactly as outlined in the gps faq post on this forum, so it's not a configuration problem.
I'm extremely confused right now and I'd really appreciate it if someone explained these problems to me.
Click to expand...
Click to collapse
You dont have wireless carrier data service because you didnt install the carrier cab. This much I guess you already know now from the posts above. But to explain how google maps worked when you were connected to USB even though your wireless internet(data) was down is easy to explain. When you are connected by USB, the PC supplies internet capability to the Titan by activesync "pass down". This is normal and it is how activesync is supposed to work. It allows you to get data from an exchange server (synchronize) whenever you set your PPC in the cradle (or connect via USB).
Its quite a handy feature and allows you to use the internet on your titan even if you dont have wireless or WIFI access to the internet.
its kind of my fault for separating it. i was working on a startup script to prompt for carrier and automatically install, but i scrapped it. i will work on it more when i have time.
Thank you maccaberry for the informative and cordial reply.
That makes sense actually, as now that I'm not connecting my phone to my pc google maps fails to work.
So where can I get the sprint carrier cab download? I searched the xda wiki and google but found nothing.
http://www.lifesnotsogood.com/dcd1182/titan/carriers/dcd Titan Carrier - Sprint.cab
I have a question about this one too. I had been on dcd's 3.0.4 ROM and 3.35 Radio, with a 2.00 PRI and 60611 PRL. After upgrading everying to 3.1.6, 3.39.10, 2.03.003, and 60711 (plus the Sprint carrier cab), I now have the GPS off the coast of Africa problem. I had this problem with earlier ROM versions, but had to upgrade to fix it. Not sure what I can do now.
I am using GoogleMaps, which I know doesn't need to prime the GPS first. Any help would be greatly appreciated. Thanks.
EDIT: Nevermind. It is working now. Tempermental phone perhaps. Also, now that it is working, I tried to see if I could get a lock indoors like others, but I can't. Those that can, must be nice.
Thank you Santehnik!
I've got the carrier cab installed and the data's working just fine now.
The gps function for google maps is still broken though..
Maybe I'm just having the same problem kockroach had. Kockroach, how did you fix your gps? Or did it just start working on its own?
Also, does anyone know where I can download windows live messenger? The app was missing on dcd's rom, but I actually need it for contact information retrieval.
dcd1182 said:
its kind of my fault for separating it. i was working on a startup script to prompt for carrier and automatically install, but i scrapped it. i will work on it more when i have time.
Click to expand...
Click to collapse
3.16 was the first time I used UC, and it works great (except for cabs that require user info on install- this affects thing like Skyfire and Wireless Sync), so I would suggest people read up on it from the UC link in the first post of the 3.16 thread, at least to install their carrier cab. Next time around I'm going to try and use it for reg edits and file copies as well, since that's my last frontier for autoinstall. UC is slow, but its great to just sit and let it happen, instead of manually doing it.
3.16 was the first time I used UC, and it works great (except for cabs that require user info on install- this affects thing like Skyfire and Wireless Sync)
Click to expand...
Click to collapse
Cabs that require input are easy....all you do is add a few commands before and after the CAB command like this:
Code:
LOCK:Enabled
CAB: \Storage Card\Cabs\regularcab.cab
CAB: \Storage Card\Cabs\regularcab.cab
LOCK:Disabled
HIDE:Enabled
CAB: \Storage Card\Cabs\userinputcab.cab
HIDE:Disabled
LOCK:Enabled
CAB: \Storage Card\Cabs\regularcab.cab
CAB: \Storage Card\Cabs\regularcab.cab
LOCK:Disabled
RST: Reset
Currently I have everything done via UC. I use three provxml files, one for registry, one for file operations, and one for email. If anyone wants to see my files for reference let me know.
1. In my SDConfig.txt setup, I have all the cabs listed one after another. In yours, do the HIDE commands temporarily bring the user input screen to the front, and then continue? If so, does HIDE have to be enabled/disable for each such cab, or can you enable, do a few cabs in a row that require input, and then disable again?
Also, I have one program, Pocket Plus, which requires a soft reset. I just put it last in the file and then rebooted manually. Is there a command to allow reset and then continue with UC?
2. I for one would like to see your SDConfig with the provxml files used for reg edits, as this would finish things off for me. It seems the more time that goes by the more regedits I add, and it really is time consuming.
Sorry for OT on this, but the UC thread is enormous. Thanks!
gc14 said:
Currently I have everything done via UC. I use three provxml files, one for registry, one for file operations, and one for email. If anyone wants to see my files for reference let me know.
Click to expand...
Click to collapse
I would love to see your provxml files! I currently have UC simply installing cabs and that's it. Could you either post them here or email me at btonetbone at hotmail dot com?

need help with registry editor.

so i've been building computers since i was 13 so i know what i'm doing when it comes to computers. but i'll be the first to admit that i'm new to modding phones. now on to the reason for this thread... i've read through 40 or so threads and haven't found even one talking about a decent registry editor that i can run from the phone. what are some decent reg editors? where can i get them? what are the bonus's of this reg editor over that reg editor? is it possible to run it from the phone, or do i have to run it from a computer? of all the reading that i did i only found 2 regeditors even mentioned. and of those only one had a way to be able to dl it. can i please get some help on this? even if it's just a "hey stupid, why didn't you read this thread?"
have you looked at PHM REGEDIT yet? it runs directly from the phone. there are many apps that do registry edits
http://www.phm.lu/Products/PocketPC/RegEdit/
there are plenty that should do what you want, feel free to search this site or google.
http://www.freewarepocketpc.net/ppc-download-mobile-registry-editor-v1-11.html
As drdrewdown mentioned, you can't go wrong with PHM Regedit. It is (at least in my opinion) the best reg editor for PPC out there. Try it out, I can guarantee that you will like it!
that's 2 recomendations for phm, and nothing for anything else! that's a little dissapointing... i was hoping for some real conversations from this... oh well. phm it is! thanks for the help.
how can anyone argue with the best.
well unless im doing something increadably wrong (which i may be) i cant call it the best just yet. i attempdet to install the 0.7 version and then after it said that it was done installing my phone couldnt get on the internet any more. i tried everything to be able to get back online but the only thing that worked was a master reset. i found no new icons on my desktop or my phone. no sign at all that it was installed other than the fact that i couldnt get on the web... any help would be greatly appreciated.
can we get some info about your current setup?
of course, anything you need! i'm running windows xp, and using factory default roms on the phone. what i did the first time was copy the msi file to the desktop and installed it while the phone was connected to the comp. the final step said that it was either going to install all the programs again or remove them. i figured that it's better to have them all uninstalled and i could manually install them again to avoid any complications. after it uninstalled everything i looked for the program on the phone. it wasn't there. i soft reset the phone and it still wasn't there. i did a search for it using the search key "reg" through the memory app and nothing. i then did a search for it on the computer using the same search keyword. nothing. i then was going online to make the post that i had before and found that the internet wasn't working. i checked the weather app to see if the data connection was down. weather pulled up just fine. i uninstalled the reg editor ande tried again. no success. so i did a master reset through the software on the phone. i tried to install the reg editor again to be able to see if it was just conflicting software within the phone. no sign that the program was installed again. internet failure again. another master reset and restored the pim this time. and that's where i'm at right now. if there's anything that i missed let me know. i hope that this helps. thanks.
so what's the process that i should use to install it?
so no more help with this, huh?

Updated/Fixed wifi calling for ICS rom users

Hey guys when the latest RUU was released I pulled all the WiFi calling stuff out (well.. lots of bits and pieces) to update my fourth bar install... Figured I'd share it here. This will fix the increasing lag/delay with WiFi calling on all ICS sense based roms..
It shouldn't work on cm10 but i haven't tried it.I am pretty sure the movial implementation of WiFi calling requires many sense hooks though... But the interesting thing to me is that I have modified fourth bar quite a lot from the original to the point where there is practically no sensE stuff left whatsoever.. so it's either a modified telephony provider or it doesn't require sense at all... I haven't tested it much. Feel free to play around if you want.
Made this on the fly from my phone (and also is why I using DB) so let me know if it works if not I'll make one proper. Feel free to try on viper but if you do I'd suggest also.copying over htc frameworks.as well as telephony provider from a sense rom, just a suggestion!
You can tell.the update worked.because the WiFi calling active icon will be different. Oh and those using fourth.bar or speedrom..WiFi calling doesn't have to be permanent.. simply make a shortcut to the WiFi calling activity "wificall preferences" using apex or nova activity shortcuts.. you can also make shortcuts to the full IMS config including SIP reg server, auth info, protocol type, etc. I wouldn't mess with these.settings but could be useful to those porting. FLASH.THE ZIP.IN RECOVERY
LINK: http://db.tt/4B6tcCE1
(uHH... got a PM asking if it was odexed... these files are obviously deodexed..lol.. considering there's no .odex file... but yeah I mounted the system.img from the latest RUU, extracted it, deodexed the entire thing.. and pulled these out to make this zip. I've actually been combed through it with diff to the last RUU and there's really not a lot changed at all. Couple libs here and there, maybe a few other APKs... Not much at all!.. if you need it odexed, it's easy enough to reodex.. I actually prefer my phone to be odexed as well. Good tool to do this is called Dexo, The Universal Odexer.. you can find it on google. It's basically a couple of binaries and a script.. works like a DREAM and the basic script odexes your system apps as well as framework.. and it's easy enough to modify to odex data.. only thing with odexed data is you must delete the .odex file manually after you uninstall any apps because you'll get out of space etc errors if you do not... I find things are much MUCH faster on an odexed system, by far... matter of fact I'll go ahead and create another post with the Tool and a quick batch file I wrote for windows that makes the process very quick and easy.)
Good work :dance:
Just wondering, would there be anyway to get it to work with Miui
build.prop
might need to add this to the build prop if it isn't there
ro.ril.enable.ganlite=1
ro.ril.def.agps.feature=1
chevycowboyusa said:
might need to add this to the build prop if it isn't there
ro.ril.enable.ganlite=1
ro.ril.def.agps.feature=1
Click to expand...
Click to collapse
actually I think that's for the Kineto Gan implementation of Wifi calling, which uses a Userspace application (The one we tried to port over for Viper)
This is actually the Movial IMS implementation. Have you tried this implementation on viper perhaps? You would need some framework files, I think... but it's worth a shot honestly. I don't think it's as tightly hooked into Sense as a lot of us originally thought. I decompiled all of the APKs and I combed through it and I didn't really see any hooks into Sense.. I think that it more than likely depends on a modified telephony provider..
The Kineto Gan implementation used a bit of trickery with what's called a RIL switch, where it would (as the name implies) basically switch the RIL out on the fly between Kineto's RIL (for wifi calling) and the normal one. This implementation is a lot cleaner, and the configurations are included within the files themselves... It actually uses SIP. All the configuration info is actually easily found within the XMLs once the APKs are installed as system apps. The trickery is with the authentication. I've been running wireshark and capturing packets... between that and decompiling the APKs it appears that a basic SIP registration address is used for everyone, it's not unique. There's some kind of SIP address->mobile number translation that happens... the IMS project is open source, and the full source code is actually available on Google Code.. and it has even been updated for Jelly Bean. The interesting part is, I was able to compile the IMS Test App for ICS, take the configuration information I found.. entered it into the test App, and was able to establish half-way working service with the Test application. The thing is, even though it uses SIP, it's not your everyday run of the mill SIP. There's some wrapping and translation going on that uses info contained in the packets to determine where it's going (mobile number).. and don't even get me started on Text Messaging.... that looks like one giant hack-job...basically hijacking the SIP/RTP protocol for a proprietary implementation that just uses the base outline.
I tried to register with a regular SIP client using the configuration information I found (The password was TMO-VOIP-TRIAL) and i couldn't establish registration... and looking at the source I could definitely see why. There's a lot of stuff going on behind the scenes.
The good news is there's VERY LITTLE that appears to have been changed when it was updated for jellybean... what this means is... theoretically if someone was skilled enough they could take the DIFF's (which are freely available on google code) and update the IMS implementation for jellybean. It would take a good amount of time and effort, but I honestly think it's much more possible than a lot of people originally believed. It's the authentication part that's tricky..
But yeah, you might want to give it a shot on Viper! For a start I would probably move over ip-provider.apk, ims-service.apk, IPService.apk, WifiCall.apk (This is basically the on/off switch that Settings calls.. you can just use an activity shortcut to reach it though), and gba-service.apk
Push those all to /system/app
Then on the framework side I would move over javax.obex.jar, gba-service-lib.jar, and the other important one is going to be jsr-api.jar... I didn't know that it was related but it's clearly defined in the IMS source code (https://code.google.com/p/the-ims-open-source-project-for-android/source/browse/#git/jsr-api)
I would also copy over TelephonyProvider.apk and Phone.apk, for good measure. .. and see what happens.
You would need a way to trigger it ON, which can easily be done with Nova/Apex by making an activity shortcut to WIfiCall.apk, you can also make activity shortcuts to all the configuration options within the IMS-server itself but it comes preconfigured.
it's worth a shot... currently WiFi calling is working flawlessly for me on Fourth Bar and I have pretty much EVERYTHING htc related disabled. Including com.htc etc...
Could be in the HTC frameworks though.. or somewhere else... but it's def. worth a shot!
I think this is a awaresome job,although I don't know what's this...
Please do that!
Great work. I tried your file to no avail. Good catch on the other files. I read somewhere that phonesky is also required.
Biggest issue I had with the semi working one that I used is that it wouldn't read the SIM. I moved some files around and then it hung on connecting to the Wi-Fi due to a lack of server address
I'll follow your instructions tonight and see where I can get... I still am working on GPS and now vpn too. Last night I attempted a sense 3.6 venom build.
Wasn't pretty. Something kept failing in the updater script and I got too tired to pay with it..
**tried all the files and made the short cut..
No love.. It didn't work..
Still trying a few things
Any other ideas?
chevycowboyusa said:
Great work. I tried your file to no avail. Good catch on the other files. I read somewhere that phonesky is also required.
Biggest issue I had with the semi working one that I used is that it wouldn't read the SIM. I moved some files around and then it hung on connecting to the Wi-Fi due to a lack of server address
I'll follow your instructions tonight and see where I can get... I still am working on GPS and now vpn too. Last night I attempted a sense 3.6 venom build.
Wasn't pretty. Something kept failing in the updater script and I got too tired to pay with it..
**tried all the files and made the short cut..
No love.. It didn't work..
Still trying a few things
Any other ideas?
Click to expand...
Click to collapse
Hmm... there IS a build.prop entry that I actually just noticed
ro.ril.ims=1
I would try to add that.
Phonesky is just the updated google play market, I believe.
I would try that build.prop entry, then get a logcat if you can and post it. I'd try but currently can't really mess around with my phone as I need wifi calling for work stuff.
See what is going on in the logcat, or post it and I'll comb through it. See if there's API calls that are failing under something like Function does not exist or something or another.. that would seem to indicate some missing framework stuff that provides those functions. Then it might just be including said frameworks as well as altering the bootclasspath in the kernel (Pretty easy thing to do, just break the boot.img into parts with unpackbootimg, un-gzip the ramdisk with gzip and CPIO, edit the init.rc, recompress the ram disk with GZIP, then recompile the boot.img with mkbootimg) and I believe you'd also have to deodex the ROM itself, then if you wanted it odexed you'd have to odex it back with the correct BOOTCLASSPATH or else it will not boot. I'm not sure but I THINK deodexed APKs need to be built with the right bootclasspath.
There HAS to be a way to get it working on Viper. After all it's the same underlying android OS version.. The sensation guys got it worknig on CM9...
ok..
ericdjobs said:
Hmm... there IS a build.prop entry that I actually just noticed
ro.ril.ims=1
I would try to add that.
Phonesky is just the updated google play market, I believe.
I would try that build.prop entry, then get a logcat if you can and post it. I'd try but currently can't really mess around with my phone as I need wifi calling for work stuff.
See what is going on in the logcat, or post it and I'll comb through it. See if there's API calls that are failing under something like Function does not exist or something or another.. that would seem to indicate some missing framework stuff that provides those functions. Then it might just be including said frameworks as well as altering the bootclasspath in the kernel (Pretty easy thing to do, just break the boot.img into parts with unpackbootimg, un-gzip the ramdisk with gzip and CPIO, edit the init.rc, recompress the ram disk with GZIP, then recompile the boot.img with mkbootimg) and I believe you'd also have to deodex the ROM itself, then if you wanted it odexed you'd have to odex it back with the correct BOOTCLASSPATH or else it will not boot. I'm not sure but I THINK deodexed APKs need to be built with the right bootclasspath.
There HAS to be a way to get it working on Viper. After all it's the same underlying android OS version.. The sensation guys got it worknig on CM9...
Click to expand...
Click to collapse
I fixed VPN and I'm uploading it in a few. I think I noticed something as well. I went back to stock ota to see what was going on and noticed wifi calling isn't showing up in settings/more should be there with vpn/ wifi hotspot/ nfc etc....
ericdjobs said:
The trickery is with the authentication. I've been running wireshark and capturing packets... between that and decompiling the APKs it appears that a basic SIP registration address is used for everyone, it's not unique. There's some kind of SIP address->mobile number translation that happens... the IMS project is open source, and the full source code is actually available on Google Code.. and it has even been updated for Jelly Bean. The interesting part is, I was able to compile the IMS Test App for ICS, take the configuration information I found.. entered it into the test App, and was able to establish half-way working service with the Test application. The thing is, even though it uses SIP, it's not your everyday run of the mill SIP. There's some wrapping and translation going on that uses info contained in the packets to determine where it's going (mobile number).. and don't even get me started on Text Messaging.... that looks like one giant hack-job...basically hijacking the SIP/RTP protocol for a proprietary implementation that just uses the base outline.
I tried to register with a regular SIP client using the configuration information I found (The password was TMO-VOIP-TRIAL) and i couldn't establish registration... and looking at the source I could definitely see why. There's a lot of stuff going on behind the scenes.
Click to expand...
Click to collapse
How was the Test App half-way working for you? I didn't compile it, but I tried an apk I found a while back and it CLAIMED it was registered, but I couldn't make it call out. I tried random presence and subscribe options but I don't think they were taking and nothing happened when I called my mobile number from somewhere else. My guess is that I have to subscribe or set presence to something magic for my phone number. After not really finding what I should actually be doing from skimming the 4th or 5th spec, and noticing that the nexus 4 guys have a $1400 bounty and don't really have progress, I gave up.
Yeah there's a pile of authentication (on both sides) that IMS has over SIP. If I understand right, the first part of registration is similar, but then TMO's side says you're unauthorized along with a challenge that's supposed to be sent to the ISIM and part of a key for establishing an IPSec tunnel that everything else goes through. Can't tunnel, then use SIP because you need the key (and part of that probably comes from the ISIM too), and a regular SIP client will just think it failed.

Categories

Resources