yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] Diagrafeas:
Basically when your program finds Registry Keys with different values, it uses the one found last in the file and ignores the rest. For example if the input is

[HKEY_CURRENT_USER\ControlPanel\Sounds\VTCallWaiting]

"Category"="InCall"

"Category"="Ring"

then the output is

[HKEY_CURRENT_USER\ControlPanel\Sounds\VTCallWaiting]

"Category"="Ring"

Also it ignores keys starting with -

[-HKEY_LOCAL_MACHINE\Comm\IrDA]

And for last it ignores the keys that have no value.

It would be useful if we could compare the input and output files and see what is left out. But i don't know a program that does that. Or the program could ask which value to keep.
[Windows Mobile Software Development] selyb:
This kind of discrepancy is exactly why I didn't write any code to process the keys. I use RGUComp to convert the original rgu to hv, then export it back to rgu. I'll try to whip up a script to organize without processing with RGUComp. It will probably be buggy at first though, it involves alot of if/then/else because reg files can contain data in several different ways...
[Windows Mobile Software Development] selyb:
If that sounded annoyed, then I apologize, it's not how I meant it. When I first wrote this script, I had little interest in what was happening and more interest in what the end result would be (after the rom was cooked). I wrote a good majority of the first draft of RGUOrder last night. It will (at least attempt to) reorder an rgu file without changing any data. Things that are tough to handle are comments on lines by itself (does it go with the value above it or below it) and data that uses multiple lines. I can handle this stuff, it just takes longer for me to write the code.
[Windows Mobile Software Development] selyb:
Update

RGUOrder added to first post.
[Windows Mobile Software Development] fards:
neat app, found a slight bug in it, but not certain what's going on.

I reordered a rgu (from oemdrivers, as it's big one) then decided to compare it, looked good but not perfect, so I re-ordered the re-ordered one to test it

.

the two are different.

have included all 3 so you can see the differences.

HtH

it will certainly make cooking a bit easier if you can get the app 100% :)
[Windows Mobile Software Development] selyb:
did you upload or attach?

Did you use RGUber or RGUOrder?
[Windows Mobile Software Development] Diagrafeas:
I just tested ReOrder. Now if only all the registry values of the same key were in one key and not in many different ones we could just compare the two files, the one from RGUber and the other from RGUOrder with a program like WinDiff/Winmerge and find out what RGUber left out.
[Windows Mobile Software Development] selyb:
ok, RGUber v1.1 is losing a key each time >:-(

I should have this ironed out tonight...
[Windows Mobile Software Development] fards:
sorry don't know where the attachment went..

let's try that one again..

this is using rguOrder
[Windows Mobile Software Development] selyb:
It's cool, I found several bugs anyway. I have updated to RGUber v1.2 and RGUOrder v1.2

RGUOrder now works as expected with the exception noted in post #1. RGUber no longer reorders values for each key and RGUComp uses a First In Last Out method so every time you run an rgu through it, the values are spit back out in reverse order. What this means is that if you run an rgu through RGUber, then run it through again, the output will be different. Run it through again though, and the output will be identical as the output from the first run-through.

I will add value reordering back into RGUber and try to make RGUOrder recognize the delete key issue, but I won't have time for the next two days
[Windows Mobile Software Development] fards:
looks like it's sorted the issue I had.. nice :D
[Windows Mobile Software Development] Diagrafeas:
When should we expect the next version of your tools with the key sorting restored?
[Windows Mobile Software Development] selyb:
sorry, I got caught up in some other projects and forgot to work on this... I expect it to take me 3-4 hrs +/- and I should have that kind of time in the next couple of days. So, I'm thinking release by Wed or Thu.
[Windows Mobile Software Development] selyb:
I'm sorry guys, I have worked on this the last two nights, but didn't have time today. Anyway, I've coded RGUOrder to fix the delete entry issue but it isn't working :-/

Since I didn't design the sorting algorithm, I still haven't figured out how it works and I haven't been able to keep it from putting a delete entry before the key it deletes.

Anyway, it isn't forgotten again, it's just taking longer than anticipated.

Edit:

OK, I feel kinda dumb :-p

The reason I couldn't stop the sorting algorithm from sorting keys with the same name is because it doesn't process the data in a linear fashion. Basically, I was trying to debug under some assumptions that were wrong.... Assumptions are going to be the death of me :-/
[Windows Mobile Software Development] selyb:
Updated!

Okay guys, this may be a final release of RGUOrder. Everything seems to be working for me. Please test carefully as I have made major modifications to core code. Enjoy :)
[Windows Mobile Software Development] Diagrafeas:
Everything seems to be working OK. Will you add alphabetically sorting of the values in each key in a latest release?
[Windows Mobile Software Development] selyb:
That should be fairly simple since I already have the code to do it in RGUber. I'll see if I can add that tonight.
[Windows Mobile Software Development] selyb:
I remember now why I didn't add this to RGUOrder in the first place. Since RGUber processes with RGUComp, each value has only one line. Because of this, I know each new line is a new value. If the rgu is not formatted this way (e.g. boot.rgu ripped from a stock rom) then I can not rely on that format and it becomes extremely difficult to separate the different values to be able to sort them.

Unless you or someone can present to me a significant need to have them sorted, then I don't think the feature is worth the time it would take me to code it. As a reference, I expect it would take me no less than 6 hrs to code it and perfect it. I have put at least 40 hrs into each script as of yet.

I do still plan to add the feature to RGUber but I can't use the code from an earlier version since it is mixed/mingled with the other sorting code.
[Windows Mobile Software Development] tomcug:
Thanks for all updates but I'm still using RGUber v1.1 because it sorts values for each key :). Am I loosing somethine compared to v1.2 version?
[Windows Mobile Software Development] selyb:
All versions prior to v1.2 were subject to losing a key during the sorting process. I couldn't tell you why it was being lost, nor could I predetermine which key was being lost, but usually values from one key would be mixed with a key just before it or after it and the key name would be left on a line by itself.

I'm swamped with computer repair side-work ATM but I will add this feature back into RGUber very soon.
[Windows Mobile Software Development] selyb:
Updated RGUber to 1.21a
[Windows Mobile Software Development] tomcug:
Thanks :). That one key loss wasn't a big issue, I added it myself, but now I can upgrade to new RGUber :D. Thanks again :).

One last question, RGUber v1.1 didn't have any other bugs, right? I hope it didn't damage or change any registry data :D.
[Windows Mobile Software Development] selyb:
I certainly hope not... I thought I had fixed it in 1.02 and again in 1.1.

This sort of thing is hard to debug considering the differences in input files and the output from RGUComp.

Sure, I could write a script to check an input file against an output file but it may take me almost as long to code one as to scour a complete oemapps.rgu and the check script would be susceptible to the same errors as RGUber and RGUOrder.

I labelled 1.21a(lpha) b/c I have not done any extensive testing with it. I only tested to make sure multiple runs though produced the same output. If no one seems to have any problems with it then I will rename it to 1.21 and probably remove the start/stop time box or make it an option. For me, with the biggest rgu, the start and stop are always <2s different.
[Windows Mobile Software Development] tomcug:
I guess you are right. I already cooked two ROMs using RGUber v1.1 and both work fine :).

I've just experienced something strange. After using RGUber v1.1 moBlue stopped working and after using v1.21 it was fine. However, I couldn't find ANY difference in keys and values. Strange.
[Windows Mobile Software Development] selyb:
That is strange... You could try to run the output from each through RGUOrder and then use winmerge to find any differences.

BTW, right now, I can't remember if I coded RGUOrder to handle multiple sections of keys with only a single delete key... I don't think there should be any problem but ATM, I don't have any spare time to test it. I do remember seeing some rgu's in OEM folders that had multiple sections of values for the same key or even duplicate sections for the same key.
[Windows Mobile Software Development] tomcug:
I'll try that later, if you can, send me RGUber v1.1 because I deleted it :(.
[Windows Mobile Software Development] c_shekhar:
ver 1.21a

This too does give the same error at lime 288. I have removed

WSH.CurrentDirectory = WSH.Environment("SYSTEM")("temp")

and now it works fine.

One more problem found...

Pl see the first entry in album.rgu sorted to album_sorted.rgu
[Windows Mobile Software Development] selyb:
Man, that really sucks... I coded these scripts to reorder by detecting open bracket to separate keys. I never thought about value data containing brackets. I need to think about this and maybe I can come up with some simple solution to resolve this issue :confused:
[Hero, G2 Touch General] erikcave:
Today at Sprint store I played the same YouTube video on the Hero and the Pre side by side. The Pre looked great, the Hero had a very low frame rate and poor resolution. I hope someone can tell me something was wrong with the Hero and it is not always like this.

I am seriously considering buying a Hero and have been spending a lot of time at my local Sprint story getting to know it. Today I was trying out flash video on many sites and they all looked bad like I described above. I just assumed the videos had a poor source until I tried a YouTube video on the Pre. It is hard to believe all the reviews I have been seeing of the Hero wouldn't have hammered it for this if it were a common problem.
[Hero, G2 Touch General] streetdaddy:
maybe the reviews didn't hammer it since at the time the choice was 'average flash performance' vs 'no flash at all'... I always watch youtube vids in the You Tube app which plays them smooth as silk, even in HD (with the occasional flutter)

If the need for smooth Flash animations takes precedence over the 1001 other unbelievably high quality aspects of the HTC Hero, then you should probably just buy a Pre like all the other dorks...
[Hero, G2 Touch General] foxmeister:
The quality of the video on the actual YouTube app is way superior to that you will get going onto the main site via the browser and the HTC Flash player.

Regards,

Dave
[Hero, G2 Touch General] bboydru:
I'm not sure if the YouTube app chooses the video quality for you or not based on your connection. But, if the video starts off on low quality, just hit the menu button, choose "more" on the pop-up menu, and then select High Quality. It's crystal clear after that.
[Hero, G2 Touch General] erikcave:
Thanks for the replies. I will try to get back to the Sprint store today and try out the video quality options.

How do I know if the video is playing in the YouTube app or not? The video I tried played full screen. Must I navigate there from a separate app than the browser?

Erik
[Hero, G2 Touch General] dragonflyFZX:
it is true, i did not know that. I usually watched videos through the site. Tried the youtube app on my hero and it is indeed crystal clear. Cool :cool:
[Hero, G2 Touch General] foxmeister:
It is a physically separate app from which you can search/view Youtube videos. It came preloaded on my GSM Hero, so I assume it's still on the Sprint Hero.

If you go to Youtube via the browser, it launches the HTC Flash Player when you try to view a video, and this is quite poor! Thinking about it, I think on the G1 if you were on YouTube in a browser, it would launch any videos via the Youtube app (since it doesn't have a flash player).

Regards,

Dave
[Hero, G2 Touch General] erikcave:
It seems the phone should be smart enough to know you are loading YouTube videos and load the YouTube player instead of the HTC Flash Player.
[Hero, G2 Touch General] foxmeister:
I think the "idea" is that if you have flash, you don't need the YouTube app. Sadly, it's a bad idea!

Regards,

Dave
[Hero, G2 Touch General] Vertig0:
exactly what I do and the quality is awesome, suck that the app wont allow you to choose HD for all videos.
[Hero, G2 Touch General] Aridon:
Good advice in this thread and I would like too add I do not miss it Pre one bit. That device has some serious flaws not likely to be addressed for another year. Namely its weak SDK, lack of deep system / hardware access and lack of GPU support. The Pre can't use its own hardware properly much less the lack of options in all of the OS.
[Hero, G2 Touch General] erikcave:
Wait, are you saying you have to do tell it to play high quality every time? That would suck indeed, and would be a serious oversight in functionality.
[Hero, G2 Touch General] ratchetjaw:
C

Yes you do unless on WiFi. Then I think it automatically goes into high quality mode
[Hero, G2 Touch General] firefight16:
Pre vs and youtube

I stoped by a Bell to try a Pre and compared it to my HTC touch on same Bell network, yes picture was great on Pre but it was slow, in fact I gave up waiting for it to load some video as my touch was playing them in half the time. Today at work we had my touch on bell a Touch 2 Pro on Telus and a iPhone on rogers, all playing the same video from You Tube and nothing compared to the touch pro 2 for quality video was HD looking and played without jumping, the IPhone 3gs crashed tohe sound quit working we had to restart it, and it then worked but picture of video was not full screen as the other two had. Big differance was the way they handled buffering the IPhone buffered all at first then played non-stop the other two would play a few seconds then buffer for up to 2 minutes play a few seconds then again buffer. I then played my IPod Touch same video but wifi, again video did not fit all the screen but no buffering and no digitaizing. So all in all a big disapointment with all three networks and their ability to play streaming HD video!
[Hero, G2 Touch General] erikcave:
I was at the Sprint store again today and tried to enable high quality, but could never find the setting. I pressed the menu button over and over again while the video was playing, but it never did anything. Also, I intentionally loaded a video via the YouTube App and the quality was still bad. Furthermore I rebooted the device to be sure it wasn't just loaded down with running programs.

Weird
[Hero, G2 Touch General] Aridon:
With the video on you press menu > more > watch high quality.
[Hero, G2 Touch General] erikcave:
That's what I did. I pushed the menu button next to the trackball and nothing happened. No menu appeared. I also pushed every other button and the touched the screen.
[Touch HD General] Svegetto:
Hey everyone,

In the old custom roms with facebook integration, when you synced a contact it automatically set their picture to the facebook profile picture. For me this was very handy as most of my contacts have a facebook account. In the new ROMs with facebook integration, if seems as though you have to set the profile picture yourself which is very tedious for 100 contacts (although I love how you can sync all the contacts at once now instead of going one by one). My question, is there anyway, whether a reg tweak or some option that I missed, which would automatically set a profile pic to the facebook picture?

Much thanks
[Touch HD General] srgudhka:
try booksync....
[Touch HD General] srgudhka:
booksync

u can get it from here

http://www.booksync.co.uk/
[Touch HD General] hmmhmm1222:
also i have found syncing one contact at the time works. quite time consuming....but it works, also their status updates.
[G1 General] pcguru000:
After fighting to get this g1 running right two days later (today) i was holding it (not noticing) over a cup of apple cider, some unearthly force had me drop it it...

really weird- dont even remember letting go or having it slip through my fingers but one second it was in my hand the next it was in the cup.

i quickly pulled it out and yanked the batter

pulled the whole thing apart and sat all the main components openly over my gaming computers 200mm fan (antec 900 for you nerds) and two hours later ive managed to have it boot up just fine :)

Lets hope i havent spoken too soon- any other recommendations?
[G1 General] AdrianK:
I've heard loads of people suggest placing the phone in a bowl of rice to draw out the moisture. Probably not much point doing that now, but you could if you want to be safe.
[G1 General] Icebergxx:
My Brothers old Nokia phone fell off his lap in a storm and was in a puddle for hours, let it dry out in the sun with its battery out and exposed, totally worked fine after.
[G1 General] philje123:
So Apple Cider is fine. When you testing it with Pear cider then?! hehe

Glad you got it working. Must have been a heart stopping moment there!
[G1 General] purg:
Will keep the phone away from other drinks until tested.

Last week after bricking the phone I tried to totally kill it.

A 5kV mains electric generator for fence also doesnt break a G1.

Sparks jumping all over the phone and to ground when I connected across the battery contacts. Oddly still booted to standard bricking point.
[G1 General] coolbho3000:
Haha, Antec Nine Hundred ftw. Though I'm sure your G1 is upset about being drenched in "Apple" cider.
[G1 General] wm1:
Rice Works

2% Milk in a cereal bowl won't kill it either...just saying.
[G1 General] tinyaznboi:
lol u made a funny. this made me laugh. xD
[G1 General] goldenarmZ:
Phones are more resilient than people think.. my old siemens c25 was practically indestructible. I once slipped down a hill in a thunderstorm and reflexively used it as a ground anchor.. when I got home and took the cover off, it was packed solid with wet, sticky mud. I thought it was a lost cause and didnt even bother cleaning it out.. just left it by the window for 24hrs and switched it back on.. absolutely fine. It ran for years after that, still full of mud. :D
[G1 General] Basket Lotioner:
I had an old Nokia phone go half down the drain of a toilet full a piss one morning....made sure to wash my hands after that :D
[G1 General] donepate:
Had a MyTouch drop into a full glass of cranberry and vodka. Dissasembled and cleaned with 91% isopropyl alcohol. Still kicking 3 months later. HTC makes a tough device.
[G1 Q&A, Help & Troubleshooting] s15274n:
I tried to follow the steps from androidandme to set up my phone for screen shots. I got java, got the android sdk and unzipped everything (nothing was installed?), changed the path under advanced settings, dowloaded eclipse (why not) and all that jazz - full 9 yards.

However, when I run ddms.bat in the tools folder and Dalvik comes up it never recognizes my phone. I have tried with the g1 mounted, unmounted, usb debugging on/off (which I also do not know what this means).

Anyone have any thoughts? I did not get any prompts about drivers and I am mounted to my computer.
[G1 Q&A, Help & Troubleshooting] evilkorn:
Read the guides on how to install ADB.
[G1 Q&A, Help & Troubleshooting] david1171:
for some reason when i ever i use ddms to take screen shots, i can't just go to take a screenshot, i have to run a logcat first, it will bring up a popup that says "failed!" i then close that and it runs a logcat, after i do that, then i can use it to take a screen shot.
[G1 Q&A, Help & Troubleshooting] s15274n:
^^ not sure how that matters but I double clicked the adb.exe file, a dos prompt ran a lot of info and disappeared. Also, your signature has a link to SDK 1.5, not 1.6?

Tried DDMS again with no luck.

^ I tried to do a logcat, failed, SS with no luck... again though, the issue is that my phone is not being identified - it would make sense that it would not work if it doesnt even know my phone is hooked up.

Perhaps I will sleep on it as work is in a few hours. I would appreciate any help I can get.
[G1 Q&A, Help & Troubleshooting] billquinn1:
Sorry if this is not relevant, but I had a ton of trouble until I had the newest jave runtime installed. I never had trouble, got a new laptop at work and had no clue why it would not run. the newest JRE fixed it right up. Maybe not your problem but...

Also I like the program "droid explorer". It has screenshot built in.

EDIT.

I have one more thought...I (always have one more thought) try starting your phone in fastboot (camera and power) then back button when the skaters come up) and see if it asks for drivers then.
[G1 Q&A, Help & Troubleshooting] AdrianK:
adb.exe is a command line application, it doesn't have a GUI. To use an command line app you have to 'cd' to the directory where it's located and enter valid commands. I think you can type 'adb help' for a full list of commands.

Try reinstalling the drivers, it took me a few tries to get it working right on Vista (interestingly no drivers are needed for OS X :P)
[G1 Q&A, Help & Troubleshooting] s15274n:
Let me start very basic. Is there any "installing" of the SPK? Or, do I just extract the files? I extracted them and created a directory in PATH like the site said to do.

If there is no installation... are you saying for me to get in dos and just start keying commands, and not using any of the files from the zip?
[G1 Q&A, Help & Troubleshooting] fenixnr:
There is no installation, but EVERYTHING for the sdk is ran in command prompt. Meaning click start, click run, type in cmd, then type cd path/to/your/toolsfolder/ then type adb remount see if it does, if not you NEED TO FOLLOW THE ADB INSTRUCTIONS FOR INSTALLING DRIVERS.
[myTouch 3G, Magic Themes and Wallpapers] awdlexusis:
looking for this wallpaper that was on the Community Hero Mix Version Cyan 4.0.4 theme with the glowing android breaking out of glass i cant find anywere and would love to have it as my wallpaper ...if i could get some help id apperiacte it!!!!
[myTouch 3G, Magic Themes and Wallpapers] nephron:
here u go :D
[myTouch 3G, Magic Themes and Wallpapers] awdlexusis:
Thanks Nephron. I couldent find it anywere!
[myTouch 3G, Magic Themes and Wallpapers] nephron:
yup any time bro :D
[myTouch 3G, Magic Themes and Wallpapers] jess1313:
anyone have the blue colored one? I love this wallpaper but just as awdlexusis i cant seem to find it anywhere and i wanna use it as the background for handcent sms to match my wallpaper
[myTouch 3G, Magic Themes and Wallpapers] crunkcory:
Nice, anyone have the wallpaper from the "Droid" the grungy grey wallpaper from Android 2.0?