yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Graymi:
This is my first ever smartphone app, but it's based on a full-fledged windows app of mine that I've been using for a few years now.

Basically, I like to change my desktop background alot, each time I log on in fact. So I wanted something similar for my phone. Also, I wanted a way of having an appropriately dimensioned image for when the keypad was open/closed as I own an Xperia X1.

So I've created this little app for my X1.

What it does is choose a random image from a preset directory (different directory for portrait/landscape images - to allow for correct dimensions - can be the same dir if you're not fussed) and sticks it in as your Today Screen background image.

Current Features

Random Background Selection

Supports any resolution device

Different Image For Portrait/Landscape mode

Supports Different Directories To Select Portrait/Landscape Iamge From

Preview Backgrounds In The Config Util

Scheduling Support

Timer Support

New Background After Hard Reset Option

Current Wishlist:

Automatic image resizing/scaling etc

New Background After Suspend

Current Known Bugs

Hard Reset update seems buggy - but could just be my phone taking a while to load up! You might get a very scary error, but your phone won't be borked! I promise.

View attachment 283586 V0.5

Installation notes:

Copy the .exe file to wherever you want it on your WinMo device

Run the exe

Please download it and have a play. Any/All feedbacks, criticism and requests more than welcome. Let me know if you like it too :)

Currently tested on windows mobile 6, 6.1 and 6.5 via my X1 and the microsoft device emulators.
[Windows Mobile Apps and Games] deio:
After you close the program it remains resident in memory? It still continues to change wallpaper, cause it would have been nice if... It's a great program, and waiting for new features like automatically changing wallpaper after a custom time (15-30 minutes for example).
[Windows Mobile Apps and Games] Graymi:
The program doesn't remain in memory. It sets itself to run as a notified program at the appropriate time. Much the same as a windows scheduled task.

I should be able to make it run every xx minutes as opposed to at a set scheduled time though. So watch this space!
[Windows Mobile Apps and Games] deio:
Ok, thanks. And there's a little thing that worries me, on my HD2, it hangs the OS for some time after I press to change wallpaper (I'm on 1.66 stock ROM), then it lets go and OS works normally after a while. Maybe others encountered the same? Also, will it change the lock screen too?
[Windows Mobile Apps and Games] Graymi:
how long are we talking about the OS hanging here?

it takes a few seconds, maybe 5 to 10 on my phone to do the file copies when you're setting an image. I get the spinning timer, and don't believe i've tried to access the start menu, although I doubt it'd work. I imagine it would lock for longer if you're using bigger pictues, all mine are 800x640 or 640x800 to start with.

and it should change the lock screen, providing of course you're using the standard winmo one.
[Windows Mobile Apps and Games] dagosjt:
Something missing for all the other similar programs:

Choose DESTINATION.

I mean i could have a wallpaper for WAD2, one for S2U2, one for PowerRadio, one for G-Alarm etc. etc. etc.. and each of them have it on different paths.

Your program would need a way to choose multiple pairs like:

SOURCE PATHS -> DESTINATION FILE

I hope my request it's clear :)

Thank you very much
[Windows Mobile Apps and Games] deio:
I'm using stock ROM (as stated above) and it hangs the OS for some time, need to do more testing how long. Could the proggie be updated to change pictures at regular intervals, in the near future?

Well, the app is hanging the OS, it won't quit or respond to taps, not even to OK or anything else just right after I choose the wallpaper and set it, then I have to keep pressing keys until the phone responds and end program with X on taskbar. The wallpapers are 480x800 normal size.
[Windows Mobile Apps and Games] Graymi:
deio:

What phone / version of WinMo are you using? I've only got my X1 for testing and the Windows Mobile SDK Emulators. Therefore only tested on WinMo 6.1 and 6.5.

I'll have the timer based update wrote today I reckon, just need to get some coding done between watching old lost eps :)

dagosjt:

to clarify: What you want is a way of changing wallpapers other than the windows today screen one. And to do this you want the ability for the program to replace a custom image file you specify when its run?
[Windows Mobile Apps and Games] Graymi:
New version with timer support uploaded and added to front post :)
[Windows Mobile Apps and Games] dagosjt:
Absolutely yes! just to make an example, there are apps like G-Alarm or PowerRadio (and many others) supporting custom backgrounds. So I ask for something like:

/My Wallpapers/ -> /PowerRadio/backPowerRadio.jpg

/My Wallpapers/ -> /G-Alarml/backGAlarm.jpg

even if /My Wallpapers is the same directory, I would like the chance to choose different images (so the randomizing would happen two times, one for PowerRadio, one for GAlarm). Instead for people who like having everything the same, you could make only one randomizing for the same source, and copying that chosen image to all destination.

Hope I was clear, thanks a lot for your attention!
[Windows Mobile Apps and Games] Graymi:
cool, i should be able to do that.

As a word of warning, I can't garauntee that changing the original file will make these progs auto update. it might be they cache the bg somehow (an issue that caused me a few probs with the tday bg)

But changing additional BGs should be doable. Will take me a while to add an extra config screen, but as always, watch this space!
[Windows Mobile Apps and Games] dagosjt:
Well, no one ask you to make other programs update their background :D

I'm asking this features because I've already a mortscript doing everything I'm asking. However it has two "big" shortcomings:

- It's quite difficult to configure for the other people

- I've implemented the scheduled update (let's say every 30 minutes) however often something block the update and I've to relaunch the script.

Hope your application will be able to make better than my script :)
[Windows Mobile Apps and Games] Graymi:
well, I'm speccing it at the moment, probably take me a week or so to write the actual code (My evenings tend to get tied up doing other stuff). But fingers crossed, should have something by next weekend.
[Windows Mobile Apps and Games] dagosjt:
Another little request, if you don't mind :)

you could give the option to use your program command line, for example:

BGSwitchPPC -path:1 -next

BGSwitchPPC -path:2 -previous

BGSwitchPPC -path:3 -random

Where path:<id> needs to refer to one of the configured path list, while next, previous, random option let you move around in chosen path file.

This would be handy for somebody wanting to build a slideshow/photoframe inside applications like WAD2 or HS++ or iPhoneToday or similar :)

Thanks again
[Windows Mobile Apps and Games] Jive Turkey:
Your program crashes on my SE X1 whenever I try to specify the wallpaper directory.

BGSwitchPPC.exe
IOException

at System.IO.__Error.WinIOError()
at System.IO.Directory.InternalGetFileDirectoryNames()
at System.IO.DirectoryInfo.GetDirectories()
at BGSwitchPPC.frmDirPicker.RecurseNodes()
at BGSwitchPPC.frmDirPicker.RecurseNodes()
at BGSwitchPPC.frmDirPicker.RecurseNodes()
at BGSwitchPPC.frmDirPicker.frmDirPicker_Load()
at System.Windows.Forms.Form.OnLoad()
at System.Windows.Forms.Form._SetVisibleNotify()
at System.Windows.Forms.Control.set_Visible()
at System.Windows.Forms.Form.ShowDialog()
at BGSwitchPPC.frmDirPicker.ShowDialog()
at BGSwitchPPC.frmMain.btnPortraitPick_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterModalDialog()
at System.Windows.Forms.Form.ShowDialog()
at BGSwitchPPC.SharedSubs.main()
[Windows Mobile Apps and Games] Nakkie040:
works great on my HD2

thanks
[Windows Mobile Apps and Games] Antimus:
Can you make it change the lock screen wallpaper too? that would be fantastic :)
[Windows Mobile Apps and Games] Nakkie040:
you mean like this: screen ?

because it does at mine
[Windows Mobile Apps and Games] Antimus:
That's the one, but the lock screen wallpaper is different to the home screen wallpaper.

Does this app change lock screen too?
[Windows Mobile Apps and Games] kenkiller:
Because you're using HTC Sense. This one only changes the wallpaper on default winmo interface iirc.

google for antworks wallpaper changer.
[HD2 General] EagleEye2004:
Hello,

My Problem is that i can´t flash a costum Rom from SD Card.

Some Details:

- SD Card: Adata 16 GB Class 6 => Formated in Fat32

- I tested it with some custom roms and renamed all files to leoimg.nbh and put it in the root of the SD card

- I installed HSLP with no errors

- Original SD card a gave away to a friend :(

- The only way to flash the roms is Active Sync

I hope someone know how to solve the Problem

nobody has the same problem?
[HD2 General] Pisisuli:
I have same kind of problem with 8GB Class 4 SD card. With original 2GB everyting runs fine. I formated 8GB SD in HD2 and same problem. HSPL just boots up but stays in 4-colored view. Seems like HSPL can't use bigger SD cards or what i'm doing wrong?
[HD2 General] samsamuel:
it isn't hspl it is the phone that doesn't handle large cards very well.

do you need to flash with sd card? much safer too use active sync to flash.less likely to accidentally mess up your spl
[HD2 General] Pisisuli:
Thank you! I will follow this information in future!

But is there also known problems using larger SD for normal device usage like applications, data, images etc?
[HD2 General] samsamuel:
there have been some reports of problems with large cards but I think in most cases it is due to slow/fake cards.

the large cards should have no problem in general use only for flashing.:confused:
[Nexus One Android Development] seraph1024:
Hello.

We are trying something out and we need help from someone with Engineering SPL or HTC Google Holiday Device. Please contact me and we will give you instructions.

We just need a few images and system dumps from your device. The process will not harm your device in any way shape or form.

Mods: Once we get a helping hand, we can delete this thread.
[Nexus One Android Development] Bumble-Bee:
Yes a fully unlocked (S-OFF) device would help our efforts no end .... maybe more than just relocking the loader ;-)

as stated above the commands run would not harm the device what so ever, but will benifit the andorid community no-end.

Any Volenteers ?

;) :rolleyes: ;)

**** anyone willing to lend a hand join this irc channel ****
[Nexus One Android Development] uansari1:
I thought there was a guy that was more than willing to help in the "relocking bootloader" thread...?
[Nexus One Android Development] lyczko:
How i can check, what kind of N1 i've?
[Nexus One Android Development] Bumble-Bee:
to check :-

1) power off device

2) hold power + trackball untill the spl loads

3) read a line near the top u will see S-ON or S-OFF

we are looking for someone with S-OFF
[Nexus One Android Development] twiggy114:
I have the holiday phone........instructions please.
[Nexus One Android Development] Bumble-Bee:
1) can you boot into SPL and run

"fastboot getvar all"

2) reboot AS SOON as the phone gets to android run adb shell then "dmesg", near the top of the output it will give u something like

<5>[ 10.611511] 0x000003ee0000-0x000003fc0000 : "misc"

<5>[ 10.613494] 0x000004240000-0x000004740000 : "recovery"

<5>[ 10.619995] 0x000004740000-0x0000049c0000 : "boot"

<5>[ 10.623596] 0x0000049c0000-0x00000dac0000 : "system"

<5>[ 10.791290] 0x00000dac0000-0x0000139c0000 : "cache"

<5>[ 10.901733] 0x0000139c0000-0x00001fe00000 : "userdata"

can u post the results of both please :-)

THIS WILL IN NO WAY CANGE ANY OF THE PHONES DATA !
[Nexus One Android Development] twiggy114:
INFOversion: 0.5

INFOversion-bootloader: 0.33.2012

INFOversion-baseband: 4.02.02.14

INFOversion-cpld: None

INFOversion-microp: 0a15

INFOversion-main: 0.87.0.C3

INFOserialno: XXXXXXXXXXX

INFOproduct: nexusone

INFOplatform: HBOOT-8x50

INFOmodelid: PB9910000

INFOcidnum: GOOGL001

INFObattery-status: good

INFObattery-voltage: 3986mV

INFOpartition-layout: Generic

INFOsecurity: off

INFObuild-mode: ENG

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: c3f18dd3

INFOhbootpreupdate: 11

all: Done!

Here is the first part.....still kinda confused on #2 instructions o.0??
[Nexus One Android Development] Bumble-Bee:
Ah cheers

Right the second bit needs to be ran as soon as u can after the android system boots.

1)run ADB SHELL

2)run #dmesg

3)will give a really long output the part u want will be at the top and look like the example i posted

:-) hope it helps

and many thanks :-)
[Nexus One Android Development] twiggy114:
May I have your email? This thing is to long to fit in this or a PM.
[Nexus One Android Development] Bumble-Bee:
yep ill pm it to u :-)
[Nexus One Android Development] twiggy114:
Ok information sent hope it helps
[Nexus One Android Development] imfloflo:
@twiggy114 use pastebin.Com website like this way everybody can show result :)

Tips: let your device plug in with usb and you will see notification on windows when you reboot so you can launch ADB AS SOON as you can
[Nexus One Android Development] twiggy114:
http://pastebin.com/f410dc4f8 Ok posted there =]
[Nexus One Android Development] bwilliams1:
Can someone please edit his post to remove the serial number, just a thought.
[Nexus One Android Development] twiggy114:
ok no more serial number XD
[Nexus One Android Development] imfloflo:
thanks @twiggy114 i hope seraph1024 have got all is wanted, and can use this results

I still read serial number in pastebin ....

I edit your post with a new pastebin where i remove 2 times your serial number ;)
[Nexus One Android Development] bwilliams1:
Nevermind. :P
[Nexus One Android Development] twiggy114:
oh crap HAHA ummmm how do you delete those pastebin things?
[Nexus One Android Development] Bumble-Bee:
twiggy114

cheers man this has helped no end :-D thats all we need for now, can i get in touch via PM or email when we have more for u to test ?

Again Thankyou
[Nexus One Android Development] m00moo:
just checked and mines s-on so no use sorry. But glad we've found someone with s-off pretty quickly. Hope the info given here does eventually come in use to the talented :)
[Nexus One Android Development] twiggy114:
Yup sure anytime =]

Ohh ok thanx =]
[Nexus One Android Development] guiburi:
i was wonderin..i just got my nexus..whats the difference between this ENG N1, the Holiday N1 and the regular N1???
[Nexus One Android Development] TFJ4:
The holiday N1, has the engineering spl...which is needed to relock the bootloader...

I'll happily donate to whoever gets this baby relocked =)
[Nexus One Android Development] twiggy114:
Ohhhh hey hey can I get a part of that since I'm helping them figure it out using my Holiday phone??? ;):p
[Nexus One Android Development] TFJ4:
yeah we can split my $5 five ways :D

But in all seriousness thanks for helping the community...surprised you (anyone) came through that fast
[Nexus One Android Development] serialtoon:
Hey Twiggy114, as of right now, you are my hero :-p
[Nexus One Android Development] droiddrop:
Twiggy you could help this community greatly, don't break your phone. :p
[Nexus One Android Development] twiggy114:
HAha yeah im here for you guys. Just let me know what ya want me to do with my phone and what you need off of it and I will be happy to do so. I can't even send it to warranty if i wanted to because I got this phone from somebody who worked at Google so I'm SOL if I bust it but I do have insurance on it just in case for that XD.
[Nexus One Android Development] seraph1024:
Sorry just got back home. No we are not going to ask twiggy to break his phone.
[Nexus One Android Development] TFJ4:
How long do you think it will be till a working relock or what-not...greatly appreciated! (hope I don't come off as inpatient)
[Nexus One Android Development] mikeybags:
This is pretty exciting. Way to step up, twiggy.
[Nexus One Android Development] ~~Tito~~:
Twiggy, don't give up that phone LOL. I hope that re locking will be possible because then people can have their warranty's back and can then send for repairs/replacements with out fears.
[Nexus One Android Development] Bumble-Bee:
Help Needed !

We are working hard on relocking but as the memory where the SPL lies is protected now it going to be very difficult, now we know the ENG devices and Shipping devs use the same radio and such we are working on flashing the eng loader to the shipping devices.

What We Need :-

An exploit to allow flashing of an unsigned hboot

OR

An ENG SPL (hboot) its probably version 0.33.2012 and is 768kb in size. ***NEEDS TO BE HTC SINGED***

(the one on this forum is not singed so is no help)

If anyone has a singed eng hboot plese can u contact me.

Why :-

The Nexus one has two flags in the SPL

-OEM lock state

-S flag (like other HTC devices)

When lock is on and S-ON all boot, system, hboot, spash are signeture checked, to stop all non sigend code from being flashed

When lock is off and S-ON only hboot, splash are signature check this prevents us from flashing any unsigned boot loaders (SPL)

With S-Off anything can be flashed

Also flashing an ENG loader should ignore both the lock and S flag to allow flashing of any file and relock the loader. and still allow flashing of the original SPL and keeping the locked state

Obviously this is all speculation as we have no ENG SPL (hboot) that is signed to try. If anyone has a way of getting a signed eng hboot, or any thorys of bypassing the sig check please pm me.

Many Thanks In Advance
[Nexus One Android Development] m00moo:
Thanks for the hardwork Apache.

Just a question for you for us all, so we can help. We know what you need but any instructions about how we find out if we have what you need would help greatly :)
[Nexus One Android Development] Bumble-Bee:
Well if you have an eng hboot that is singed you will know, i put this on here as a kind of call to arms as there my be a leaked copy lieng on someones computer not knowing its usefull lol. I do whant to thank the comunity for all there support :-D
[Nexus One Android Development] seraph1024:
The ENG hboot is 768k and should be able to flash without any security issues. You don't have to post it here directly. You can PM apache or me and we'll take care of the rest so that in case you don't want your name(s) mentioned.
[Nexus One Android Development] flak0:
I think its about that time to contact the SPL king himself Haykuro. Wheere is he at these days. I remember he had the HERO on his G1 like 4 months before HERO came out and he also re-worked the SPL to allow for it to work on the G1.
[Nexus One Android Development] dcplaya:
I could be completely wrong but wasnt he able to do that becasue somone got a hold of a signed SPL and flashed the G1 then all hell broke loose with custom SPLs?
[Nexus One Android Development] Bumble-Bee:
U either need a leaked singed spl or an exploit to flash non signed either way. .. we can't loade anything coustom on s-on/shipping devices
[Nexus One Android Development] NCommander:
Isn't it possible to access the SPL from the Linux side; the flash map should show up, it should just be a matter of writing to the right mtdblock device (or dd'ing off a binary)? The flash chip itself might be set to read-only, but the right unlocking commands should cause the chip to set the SPL partition from read-only to read-write ...
[Nexus One Android Development] pjcforpres:
Have you contacted Olipro or Cmonex at all? I know they are the undisputed champions of the WM devices, and while that isn't a 100% carry over, they might be able to give you an idea of where to look/begin.

I know their typical approach is to first come up with a hacked "soft-SPL" that you load into which then allows you to flash the hard-spl. They also usually use the official ruu.
[Nexus One Android Development] Bumble-Bee:
Unfortunately the SPL is in a protected area of memory so cannot be accessed from the O/S so we cant fead or flash it like that

And the hboot/SPL is always sig checked, so there is a way of malforming a HTC sig or exploit the check process to allow it no NON HTC spl can be flashed ATM.

HTC really stepped up the game with this one !
[Nexus One Android Development] seraph1024:
That's the key here. We don't have the nbh.
[Nexus One Android Development] Bumble-Bee:
twiggy can u onother test for me ?

boot into SPL then run

fastboot OEM unlock

reboot the phone do you have the unlocked symbol ?? then reboot into spl and run.

fastboot OEM lock

reboot the phone and if you has the unlocked symbol has it gone ??

many thanks in advance
[Nexus One Android Development] NCommander:
It might be possible to load another SPL into RAM and jump into it at the proper entry point, then reflash the SPL from the in-RAM copy.

That being said, I'm not sure if developing a relocking method is the best thing to do; having instant root access to the device is a blast, and I don't want to discourage HTC from putting it in more devices because the Bacon.
[Nexus One Android Development] twiggy114:
What lock symbol?? On start up? I have never seen one or I just didnt notice.
[Nexus One Android Development] Bumble-Bee:
yer on the splash screen just befor the animated X
[Nexus One Android Development] Bicster_:
The video thumbnail here shows an image. I couldn't find a jpg or png

http://lifehacker.com/5446107/unlock-and-root-a-nexus-one
[Nexus One Android Development] twiggy114:
Hmmm ok will try it out but for the record I dont have a lock on start up right now
[Nexus One Android Development] Bicster_:
On a retail device, that lock icon shows up in the splash screen after the oem unlock command.

I assume on yours it will show up after the unlock, and go away again after the lock.
[Nexus One Android Development] twiggy114:
Well I did it but nothing really changed this is what I get when I enter it in.

Eddies-New-MacBook:tools Eddie$ fastboot OEM unlock

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot + recovery + system

flash <partition> [ <filename> ] write a file to a flash partition

erase <partition> erase a flash partition

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it

devices list all connected devices

reboot reboot device normally

reboot-bootloader reboot device into bootloader

options:

-w erase userdata and cache

-s <serial number> specify device serial number

-p <product> specify product name

-c <cmdline> override kernel commandline

-i <vendor id> specify a custom USB vendor id
[Nexus One Android Development] twiggy114:
Hmmm do I have to have the most up to date SDK on my system for this to work?
[Nexus One Android Development] Bicster_:
oem in lowercase...
[Nexus One Android Development] Bumble-Bee:
try

fastboot oem unlock

all lower case
[Nexus One Android Development] twiggy114:
Ok so here the results. If I type in fastboot oem unlock it will take me to the screen to unlock the bootloader and the void waranty thing blah blah blah. If I type in fastboot oem lock it gives me this.

Eddies-New-MacBook:tools Eddie$ fastboot oem lock

... INFODevice was already locked!

OKAY
[Nexus One Android Development] Bumble-Bee:
Oh soz just saw you post thats brill thankoo :-)
[Nexus One Android Development] Bicster_:
Apache, are you asking him to complete the unlock process, or are you just asking about the "do you really want to do this" screen?
[Nexus One Android Development] Bumble-Bee:
no its fine know i dint see his post, as it says already locked its just a little check :-D