This is a new thread for collecting information about the camera and getting it work in Android
Information about the kaiser: http://wiki.xda-developers.com/index.php?pagename=KaiserResearch
The camera on the kaiser: s5k3c1fx
The driver in the kernel is for the s5k4b1fx and we have to modify it. Here is what we need to do:
It's an S5K3C1FX03 and it's very similar to the vogue camera which works. It's just a matter of tracing the differences and changing some numbers (well, probably quite a lot of numbers..). I just don't have time to do it at the moment.
you need to trace 3 things, rpc call for the clocks, i2c for the camera control and adsp for the vfe queues.
Click to expand...
Click to collapse
If anyone has more info on doing the 3 things i would really appreciate it if you could post. thanks
Setting up for a haret trace:
Windows Mobile Settings:
On the mobile device make sure this option is enabled: Start > Settings > Connections (tab) > USB to PC > [+] Enable advanced network functionality. I have found that some roms do not have this option and they are mainly the 6.5 roms, maybe it was moved. You will need to use a stock rom. Now when you sync with windows you will see an additional network connection:
Windows Users:
Download HaretPack.zip from: http://drop.io/s5k3c1fx
Extract it to C:\HaretPack or other convenient destination
If you've enabled the advanced networking setting on the mobile device you will have an additional network in network connections:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Run haret.exe on the phone and hit Listen for network connections
Run default-activesync.bat
Linux Users:
run ifconfig -a and note down the network interfaces
Download haretconsole-0.5.2.tar.gz from: http://drop.io/s5k3c1fx
Extract it to a convenient destination
Plug in the phone and enable advanced networking, you will have an additional network in ifconfig, note the hwaddr, i think its the same for everyone:
Code:
[B]ifconfig -a[/B]
eth1 Link encap:Ethernet HWaddr [B]80:00:60:0F:E8:00[/B]
[INDENT]inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)[/INDENT]
Now to setup the network connection and run the haret console, make sure to change eth1 to the new interface you find and the location of console:
Code:
sudo ifconfig [B]eth1[/B] 169.254.2.2 netmask 255.255.255.0
./console 169.254.2.1
A script that does the same thing as the above code;
Code:
#!/bin/sh
fail() {
echo "Failed"
echo "$1"
exit
}
ifconfig -a [B]eth1[/B]
[ $? -eq 0 ] || fail "Network connection not found"
sudo ifconfig [B]eth1[/B] 169.254.2.2 netmask 255.255.255.0 broadcast 169.254.2.255
[ $? -eq 0 ] || fail "Failed to setup the network, cannot continue"
ifconfig -a [B]eth1[/B]
if [ -e [B]./console[/B] ] ; then
[B]./console[/B] 169.254.2.1
else
echo "Failed"
echo "Console Script not found"
fi
Source Files
We'll need to modify the kernel driver:
kernel/drivers/i2c/chips/s5k4b1fx.c
kernel/drivers/sbus/char/vfc_i2c.c
Helpful Tools
usefulbits.zip http://drop.io/s5k3c1fx
Scripts provided by dzo (Thanks!) for reading the haret logs.
Documentation
Haret: http://handhelds.org/moin/moin.cgi/HaRET_20Documentation
Kaiser GPIOs: http://wiki.xda-developers.com/index.php?pagename=Kaiser_GPIO (might need updating)
I'll help out testing it...I'll even work on it (just to see if I can figure something out!)
My camera already works and so do all these cameras.
http://forum.xda-developers.com/showthread.php?t=371647&highlight=Kaiser+picture+thread
denco7 said:
My camera already works and so do all these cameras.
http://forum.xda-developers.com/showthread.php?t=371647&highlight=Kaiser+picture+thread
Click to expand...
Click to collapse
In android? I guess i didn't make it very clear, i've updated the thread to reflect that
Hope you crack it!!
hope you solve it man! that's the only deal breaker remaining on android! also there are some twisted apps out there for android that use the camera so it would be a shame to miss out on those.
natalic said:
I'll help out testing it...I'll even work on it (just to see if I can figure something out!)
Click to expand...
Click to collapse
I've updated it with info on getting haret to work
maybe you guys could coordinate the thread in such a way you could accept donations like how it was done for the wifi thread as an incentive to get the camera done.
I can see the incentive approach, but it seems kinda lame that people wont help unless theres a chance they could get some money out of it. This is a place where developers get together and make some magic happen... My 2 cents.
In other news: I'd really like to help get the camera working but unfortunately have no experience with kernal/driver situations so I wont be much help. Maybe I'll follow this closely and when it starts to pick up i can help out as much as possible. But for now I'll just watch...
loserskater I agree, but people do need to eat. Especially how bad things are today.
Datasheet
We really need the datasheet of the vogue camera for debugging....
The source of the vogue cam is reading/writing registers through the I2C protocol which are not defined in the datasheet from the kaiser cam:
for example:
i=i2c_read( 0x79);
i2c_write( 0x79, 0x1);
0x79 is not defined in the datasheet
Another one:
i2c_write( 0x03, 0x10);
reg 0x03 only uses the lower 4 bits.....
Who is able to post (PM) the datasheet of the vogue sensor (s5k4b1fx)
edjeed said:
We really need the datasheet of the vogue camera for debugging....
The source of the vogue cam is reading/writing registers through the I2C protocol which are not defined in the datasheet from the kaiser cam:
for example:
i=i2c_read( 0x79);
i2c_write( 0x79, 0x1);
0x79 is not defined in the datasheet
Another one:
i2c_write( 0x03, 0x10);
reg 0x03 only uses the lower 4 bits.....
Who is able to post (PM) the datasheet of the vogue sensor (s5k4b1fx)
Click to expand...
Click to collapse
Hi, try the python script dzo provided, i think it does what you want it to, haven't had time to test it myself yet
edjeed said:
We really need the datasheet of the vogue camera for debugging....
The source of the vogue cam is reading/writing registers through the I2C protocol which are not defined in the datasheet from the kaiser cam:
for example:
i=i2c_read( 0x79);
i2c_write( 0x79, 0x1);
0x79 is not defined in the datasheet
Another one:
i2c_write( 0x03, 0x10);
reg 0x03 only uses the lower 4 bits.....
Who is able to post (PM) the datasheet of the vogue sensor (s5k4b1fx)
Click to expand...
Click to collapse
dzo says he actually used kaiser's sensor datasheet as a start, and debugged the rest: http://forum.xda-developers.com/showpost.php?p=3712410&postcount=5007
When I have some time available I will have a look at the source of the driver. I have been playing around with the haret tool to debug some GPIO's needed for the cam.
any news guys?
some specific things to look for/at would be nice although the thread seems pretty dead here
I think what we should do to re-energize this project and make sure it goes through is as I previously said is to set up some sort of reward fund or any kind of incentive to those or the person that gets it working. I think instead of twiddling our fingers waiting for progress we can do something about it by being proactive and setting up a donation collection thread of some sort.
Edit: if this does get started put me down for $20 bucks towards the reward of getting the camera working.
Bumping for everyone to see.
Hey, in the name of cross-compatibility (we'd like to have more than just android available), what kind of kernel interface do we use between camera and android? Is it v4l, some android-specific thing, or somewhere in between?
anyone else willing to donate for the cause? again i really think this is a good idea if we would like to see improvement on the kaiser camera compatibility
not be be an ol spoil sport but I think any real developement has basically come to a stop. I'm not going to hold my breath on getting camera or bluetooth functional on the kaiser. Doesnt look like there is a whole lot of developement going on over at the vogue threads either. Looks like to me most coders are just focused on getting whats been put out to run more efficiently rather than trying to cobble up the slow systems with even more processes. I think a lot of the original devs have moved on to upgraded devices, granted we still have a few good ones hanging around plus a lot of new ones popping into the scene.
Related
I ran across this tweak on a diamond forum and tried it on my HD... seems to really work... basically turns on G network support rather than relying on B
HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms\dot11BasicRateMaskG
Mine was set to 1 (one) and I changed it to 8 (eight)... then did a soft reset...
abeery said:
I ran across this tweak on a diamond forum and tried it on my HD... seems to really work... basically turns on G network support rather than relying on B
HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms\dot11BasicRateMaskG
Mine was set to 1 (one) and I changed it to 8 (eight)... then did a soft reset...
Click to expand...
Click to collapse
What do you mean about 1 & 8 where can i find them ?
Thanks
I have enabled this with a cab file I found on the net...
When I'm getting back on my laptop, I'll search for it...
grtz,
degake
EnableWLANGMode.cab
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I just tested my WLAN speed without any registry mods @ http://www.dslreports.com/mspeed with 1MB filesize and I got ~1500 kbit/s so I don't think it is necessary to modify those settings.
My Access Point is a LinkSys WRT54GL router with Tomato 1.23 firmware set to Mixed B+G mode and WPA2 Personal (PSK) + AES security.
-Valynor
Valynor said:
I just tested my WLAN speed without any registry mods @ http://www.dslreports.com/mspeed with 1MB filesize and I got ~1500 kbit/s so I don't think it is necessary to modify those settings.
My Access Point is a LinkSys WRT54GL router with Tomato 1.23 firmware set to Mixed B+G mode and WPA2 Personal (PSK) + AES security.
-Valynor
Click to expand...
Click to collapse
you need now to install the cab and , after a soft reset, to do the test again ...
I did some research about what "Basic Rate" really is.
This seems to be the lower speed limit for WLAN device handshake, so the client/access point can
a) figure out what the bare minimum speed is that's needed to connect to the given AP
b) set the initial communication speed between the device and its AP
Apparently this is only important when you have old 802.11b devices connecting to a mixed B+G AP.
There should be no impact on the actual WLAN speed.
-Valynor
Without any mods, my speed is 1624 kbits/sec.
Duttys v.1.7
And about battery drain .... ?
Ciao
Fred
frederikk said:
And about battery drain .... ?
Ciao
Fred
Click to expand...
Click to collapse
I can confirm, IT WORKS. I think it may only be important for someone that wants to stream video...like me. The battery was getting hot so I imagine it is sucking the battery too.
Hi
before the "tweak" I hade a speed of around 1300k. After I applied the "tweak" speed jumped to 1900k. Not bad at all
Thanks for the advice!
Btw. I have the stock 1.14 Rom on my HD (GER) and had the string already there.
Greetz
Ascenca
I like it also
im seeing a 520k gain. Great for video
I can't see any difference.
How do you improve speed? With the proposed CAB file or by manually modifying the registry?
Because the CAB file is adding a key to a non-existing folder in the registry:
HKLM\Comm\TNETWLN1\Parms
param="Dot11SupportedRateMaskG" value="8"
This parameter is already set to "8" in TNETW12511 key and not in TNETWLN1, the last is non-existent.
Furthermore the first post in the thread speaks about "Dot11BasicRateMaskG" and not "Dot11SupportedRateMaskG" ?
Placebo warning lolol
Guys I also have 1 on the reg, but when I connect to my wifi router, on the Wireless Settings on my HD, Tx Rate is at 54Mbps... and my Linksys is forced to only accept G connections...
As someone already said
I did some research about what "Basic Rate" really is.
This seems to be the lower speed limit for WLAN device handshake, so the client/access point can
a) figure out what the bare minimum speed is that's needed to connect to the given AP
b) set the initial communication speed between the device and its AP
Apparently this is only important when you have old 802.11b devices connecting to a mixed B+G AP.
There should be no impact on the actual WLAN speed.
-Valynor
Click to expand...
Click to collapse
Just wondering if this patch will help browse the web faster?
Thanks in advance.
How can I measure the transfer rate. I have a felling that wifi works realy slow when browsing.
thnx in advance
Some of you had mentioned speeds of more then 1000 Kb/s. Is it real?
I did change the registry value from 4 to 8. All I am getting are speed values around 400, 300 or sometime 250 Kb/s using either DSLREPORTS or Pocket Speed Test.
I have the ASUS 406G ADSL wireless router, configured to operate on 54Mb/s
Please advice
What should be the values of the following Registry Keys?
--- HKEY_LOCAL_MACHINE\COMM\TNETWLN1\PARMS dot11SupportedRateMaskG (mine is set to 8)
--- HKEY_LOCAL_MACHINE\COMM\TNETWLN12511\PARMS dot11SupportedRateMaskG (mine is set to 8)
--- HKEY_LOCAL_MACHINE\COMM\TNETWLN12511\PARMS dot11BasicRateMaskG (mine is set to 1; when set to 8 the speed is close to zero)
--- HKEY_LOCAL_MACHINE\COMM\TNETWLN12511\PARMS dot11BasicRateMaskB (mine is set to 1)
--- HKEY_LOCAL_MACHINE\COMM\TNETWLN12511\PARMS dot11SupportedRateMaskB (mine is set to 2)
Please advice
Thanks
is there some sorf of mod that the WIFI can Connect Automatically to a Unsecure Network like the "Iphone" ?
WaveyKat said:
is there some sorf of mod that the WIFI can Connect Automatically to a Unsecure Network like the "Iphone" ?
Click to expand...
Click to collapse
also interested in that
(I'm only two days into WP7, so don't smack me too hard.)
While attempting to debug some Windows Phone 7 behavior via RustyGrom's unlocked images, I stumbled across the whole "/h/ttps issue". This forced me to re-look at how the original mod was performed.
The original method, as outlined in this blog post, involves manipulating the read-only portion of the system registry -- default.hv. Doing so invalidates its baked in signature, wrecking havoc (manifesting itself as broken /h/ttps and other assorted crappiness).
To work around this, I instead made a change to an internal function within AppMetadata.dll, causing all requests to blacklist to return empty handed. (A one byte change at 0xAC8A, 75->EB.) That unlocks the applications on the splash screen.
To unlock the "settings", however, is a trickier matter and involves those irritating "SecureItem" values and the parsing code within SplashSettingsDll.dll. (If you're wondering what the GUIDs mean, there's a translation to canonical names in 8C9C0C34-B77D-45FB-9E4E-D53AC5900244.rgu).
Code:
Themes = {165705CD-200B-4b23-961D-E3F66F844514}
Sounds = {92F34415-4D78-4430-9933-D2DEEA0C9D3D}
FlightMode = {1DEF9B7D-2322-40eb-A007-16A75D5CDA62}
Accessibility = {C5A90F1C-112F-43d3-8C80-C5D1746F3B68}
WiFi = {291A7CF3-48C4-4319-A6F6-E4BABFCCB8E8}
Bluetooth = {BFBBBF37-35E3-447b-BE65-DFC149EF614F}
Location = {41954AAF-E1C4-4b81-A5EC-A5C8961FE34C}
CellularConn = {FD427838-F373-40a3-9FEC-76C6CFFAFC04}
Accounts = {87F5E764-4AB3-4664-B2A3-BE00A2E8AF4A}
Brightness = {B7AFEE4D-7738-48df-8CA4-588D14AE256B}
TouchKeyboard = {071692BE-EC17-463e-94C7-64FB874A6180}
Regional = {E37398A2-CEAD-423c-9EC2-F43251C0B2CE}
DateTime = {9CB05CAE-D2CF-4409-8E64-352DD8F6FDE2}
PhoneLock = {37966764-79C8-4090-A8CF-FB65D638E529}
Updates = {C956380A-087F-4548-A5F6-CEF3616A55DA}
About = {9DAD8821-3F8C-474f-AB2B-D120BA03AFDC}
Speech = {7D878951-E418-46a3-AF6B-DCB45CD375B9}
Contacts = {2D267C1E-C53A-4718-8032-FAC545DDDF8C}
Photos = {864AAEB9-9419-40f9-BA88-03E986859450}
Messaging = {D651D70D-B141-4d71-8FFB-1004C24FB12B}
Phone = {83171528-D3B9-49b6-BC05-BBB3B4B25460}
IE = {A7DD1D7D-C7CA-4566-A5E7-015C7940276E}
Maps = {21EF1D0A-5EBE-4056-9622-2D9615C967E1}
Search = {90A593C1-F945-4bf7-AB56-A999E425F16F}
OfficeMobile = {5962CFCF-8008-4d55-B048-BDCDD7A90EAB}
Games = {B193A538-115B-4789-93D1-F3981B9D7B11}
Radio = {18916419-df98-4042-bb27-6ae39dbc3310}
FindMyPhone = {1691B767-686D-4934-A844-C0057C6024A0}
Feedback = {BF0D001A-1988-4cf3-81E1-16A1CCAB5DA3}
Marketplace = {1D36BBB8-9EEE-4e30-A72B-77ED9CFF11D1}
Unfortunately, Microsoft decided to put required data in these SecureItem values. It appears this data drives what order the application shows in the Settings list and/or the "type" of task. (Unsure about that last bit.) If this data is empty -- for example, I skip over all the SecureItem parsing -- the item vanishes.
I wrote some assembly to simulate returning order data, in an incrementing fashion (10, 20, 30, ...) -- which was fun -- but utterly useless. I'm obviously not putting this data where it wants it to be. I believe the second parameter to an internal function that handles enumerating all the SecureItems (va 41415066/offset 0x4266) is some sort of structure (with two members?) that's key here.
Without a debugger, probing this structure is nearly impossible -- I'm open to ideas here... The only idea I have is making the application crash on "executing" those members, then using the output window to get the values... but this'll be super difficult to pull off.
(If you could convince a mod to lift the restrictions on my account, that'd be wonderful. I can't post links or do anything useful.)
Thanks for the work.
mod speaking: about the link as you are a new member you need 5 posts before you can post link so only one post left until you can edit and post comment
Great work! One thing I thought about, what about just editing the RGU files to get to the same goal of writing to the registry? It seems like those are applied at boot time and presumably wouldn't be under the 'read only'.
RustyGrom said:
Great work! One thing I thought about, what about just editing the RGU files to get to the same goal of writing to the registry? It seems like those are applied at boot time and presumably wouldn't be under the 'read only'.
Click to expand...
Click to collapse
I don't know much about those files, but each RGU file has a corresponding DSM which appears to have certificate information. I'll see what happens tho. (I'm guessing these files were designed for OEM use.)
Update: Yeah, as I thought. The (signed) default.hv references the RGUs, so you can't just rip one out. And you can't tinker inside because they're signed. You can't replace the DSM either because its root certificate is checked against the baked in few (similar to desktop Windows). Ahhhh. We might be forced to patch up the boot/kernel binaries... that sucks tho.
Update 2: ... and no, you can't replace the RGU/DSM pair with a "valid" one. The files are SHA160 hashed, with the first 16 bytes put into default.hv -- HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpdate. I suppose since the hash is truncated, you could -- in theory -- edit a RGU until it generated a similar hash... but that's crazy talk.
Keep up the good work Rafael, I'm sure you will figure out a way around it. You always find the craziest ways around Microsoft's lock-downs. Good Luck and I can't wait to see the results .
Just an update: I was able to build an SDK that works pretty damn well for native WP7 binary creation. After some fiddling with the buggy XIPPort tool and VS2010, I was able to produce a binary that runs just fine in WP7. (Currently, I just replaced Settings3.exe and used the menu's Settings link as an entrypoint.)
Now I can fiddle with more fun things, like accessing the registry and inserting those elusive SecureItems Not sure if those values are checked all the time tho -- if it's a one-time deal, I'll need to "reboot" the home screen.
Code:
INT start(
__in HINSTANCE hInstance,
__in HINSTANCE hPrevInstance,
__in LPWSTR lpCmdLine,
__in int nCmdShow
)
{
NKDbgPrintfW(L"[Hello, WP7. I haz you.]\r\n");
return 0;
}
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Awesome stuff man. This should be extremely valuable once we figure out how to mod the ROM.
Settings3.exe is an application that runs in a normal user context, i.e. isn't very useful. Preload.exe, however -- which is used to insert dummy address book data at boot -- runs at a higher level. I replaced that with my code and was able to edit the registry (blacklist, secureitems) just fine... but it's too late during boot (damn!). The splash screen starts before my code is executed.
will the WP7 support for the old apps of wm?
i know, only market apps, but if we can cook, then we can add a install app existent which install apps, this if the programs have acess to the file system and register.
As far as current information goes, there is no support for legacy software, so I don't think that the libraries necessary for WM6.5 hardware would be on the phone.
Also the window-management (if one wants to call it that) would be completely different in the Windows Phone 7 series.
Another important thing is that it is based on a different kernel than Windows Mobile 6.* (which uses Win CE 5.1). I don't remember what the last number was but it could either be the Win CE 6 Kernel or as was rumored some time ago: the first use of the new Win CE 7 Kernel. This means that lots of API might have changed or be missing.
if we would manage to cook our own custom WP7 ROMs in the future then we also can get us access to the native api. however it won't be possible to run standard wm 6 applications due to GUI components missing. But we still could develop some nice little hacks, tools, services, free customization or maybe even build libraries with native functions exported (to re-use them in the Silverlight apps) to allow us develop something like a simple file explorer, task switcher or registry editor! though not sure about the Silverlight part. What are some .NET experts saying there?
Silverlight and Isolated Storage
When I first read, that there was no direct access to the FileSystem and instead the Silverlight isolated storage was to be used I wondered wether the regular Silverlight Quota's for the isolated storage would apply.
Anyone who wants to know more on what IsoStore quotas are can look for more information here: http://msdn.microsoft.com/en-us/magazine/dd458794.aspx
Suffice to say, that for Silverlight 2 there was a default quota of exactly 1 Megabyte of Storage Space (which could be expanded by querying the user). So I went to find out if this would apply to WP7s Applications as well.
Luckily there are methods for requesting exactlly this information.
This told me that I have: 1 927 Megabytes of free space and that the quota limit is set to the maximum value supported by a long variable - which implies no quota limitation.
The question remains: is this only true of the emulator image or will this apply to the final phones as well (my guess currently is that the 1.9 GB of free space imply 2 gb storage space on the emulator image and ~ 90 mb being used by the system and IE).
I hope somebody thinks this information is useful, I'll perhaps try how much i can fill this memory up and how big my programm can get in memory next.
How do I create 'pages' in VS?
I've downloaded the new VS Express and made a basic GUI app, but I can't figure out how to make pages. Please see my pic below to understand what I am refering to.
Has any one figured this out or seen any guides on how to do this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Don't remember where I saw it, but I think pages or "pivots" as they have been called are disabled in this release of the sdk.
Edit - It's on page 57 of the UI Design and Interaction Guide.
Yup it's meant to come in the updated release, also support for Visual Basic
Visual Basic
I just downloaded Windows Phone Developer tools and i can see only support for C#.
Does that means that they are still working on VB part or that they done with VB and i should finally start learning some real programming languages?
check this out... good behavior that works like the panoramic control for that might be released in future versions of the SDK
http://aimeegurl.com/2010/03/18/pan...ne-7-with-no-code/comment-page-1/#comment-966
hope this helps
you know what I'd like to see?
The WP7 homescreen consists of hubs, right? and swiping it to the left, gives you a list of applications. The app list doesn't seems to be finished yet, but how likely will it be, that this page will eventually be made available for UI customization? I mean, the hubs/tiles interface should still be the main screen when getting the phone out of standby, but the app page could an ideal spot for custom UI, just by a swipe of your finger. just a thought.
Quote from the developer forum
Hi folks,
I have some great news!
I received feedback from the GPM for the Microsoft VS Languages team, who indicates:
"there will definitely be support for writing VB apps for Windows Phone 7, but we are still working on the details and the timeline".
Best Regards,
Mark
mrabie said:
http://aimeegurl.com/2010/03/18/pan...ne-7-with-no-code/comment-page-1/#comment-966
hope this helps
Click to expand...
Click to collapse
Cool link!
Yay, i can postpone my VB to C switch
Thx for info
Thanks for pointing out where in the guide it said that. Also thanks to mrabie for that link. I hope the 'pivot' template released with the final version of VS is a simpler though.
You can probably get away with using VB in SL4 using the VB edition of VS2010. Just avoid using any libraries or controls that SL4 doesn't support in WP7. Then when they launch WP7 it will just be a matter of re-making your interface and copy & pasting most of the code.
Beware: I am an idealist
Silverlight limitation \ work around
I was investigating if it was possible to create a Silverlight (SL) application that can help IT people with basic task; ping, trace-route, port scan, viewer HTTP headers, etc. Unfortunately Silverlight doesn't seem to be cable of doing any of this. Very disappointing to learn.
Anyway, the only work around I can in-vision is if a program were to be installed on that network that had all these abilities and then SL could just be used as a remote control. Since many of us in this forum are tech savoy people, I'm curious as to your feelings toward such an application.
Personally, I would use it only as a last resort. I have a similar application for my iphone, but its all self contained on my phone which makes it great when I have to troubleshoot a foreign network.
Possibly you could do the part about an http-header viewer, but as silverlight and XNA currently don't give you access to the ip-stack itself, port-scanner, ping, tracert don't seem possible.
A fact, MS hopefully will address. As to an application which does this from the phone using a proxy: if i have to setup that proxy first, I'd rather stick with that machine for the occasional ping, tracert, too - but that's just me. Nice idea anyway.
Arabic support in the development tools? [Edit: resolved]
Hello
I'm new to WM development and trying to learn on the WM 7 CPT tools released last week. I try to change label text to Arabic characters but they show up as squares. Are the current tools not yet supporting such languages or is there a work around?
On a semi-related note, is anybody else experiencing some lag while playing around the emulator? It just seems quite slow. I'm running on quite a decent PC (quad core, 2gb ram etc).
How would I go about downloading a file?
How would I download a file from the internet onto the phones storage?
I got a text file in mind, and I'd like the text from the file to be displayed in a text box.
So does anyone know how I would go about doing this?
LooperNor said:
How would I download a file from the internet onto the phones storage?
I got a text file in mind, and I'd like the text from the file to be displayed in a text box.
So does anyone know how I would go about doing this?
Click to expand...
Click to collapse
You don't need to download it to the storage device to be able to display a text file from the net. I haven't developed on WP7 yet, but assuming you can use System.Net.dll and System.IO.dll:
C#:
Code:
HttpWebRequest hwr = HttpWebRequest.Create("http://www.google.com/Robots.txt");
WebResponse resp = hwr.GetResponse();
StreamReader sr = new StreamReader(resp.GetResponseStream());
this.textBox1.Text = sr.ReadToEnd();
sr.Close()
edit:
And looking at Scottgu's Twitter code example, you should be able to do:
Code:
private void Form1_Load(object sender,EventArgs e)
{
string url = "http://www.google.com/Robots.txt";
WebClient wc = new WebClient();
wc.DownloadStringCompleted += new DownloadStringCompletedEventHandler(wc_DownloadStringCompleted);
wc.DownloadStringAsync(new Uri(url));
}
void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
{
if (e.Error != null)
return;
string DownloadedText = e.Result;
this.textBox1.Text = DownloadedText;
}
Andromadus
Presents
Andromadus Jelly Belly Beta 1
It has been a long 4 months for all of us. Flinny has been hard at work with all his test builds and we finally agreed to release a beta as we feel it is in a stable state. Flinny will still be releasing test builds dont worry but i will handle all betas as my time at this moment is limited. We hope you enjoy!!!!!!!!
What Works?
Radio ( Phone & Mobile Data, SMS/MMS )
Touchscreen
Wifi
Bluetooth
Physical Keyboard
Audio
Real Full HW Accel
Screen Orientation
GPS
USB - UMS
Camera
Other Things
What Doesn't?
You Tell Us
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Downloads
Jelly Belly Beta 1 & GAPPS 20121011
http://andromadus.codefi.re/
879bb3d9f5a0846d7bc4e2ca23d1adf6 jellybelly1.zip
4e9e7ec3c22b0b3471bd05d62b8a659d gapps-jb-20121011-signed.zip
Change Log
Check 2nd post
Bug Tracker
How to report bugs? Use our Bug Tracker! Be sure to include a logcat and/or dmesg.
Link coming soon
The Team
Darkspadez
Flinny
Flemmard
Synergye
Super
Snadge
Ionic
Jhall
Xep
Fyodor
Blk_Jack
Special Thanks
mdeejay
Tsubus
dh-harold
crowstar
Flemmard
CyanogenMod
Lord Clockan
Twisted Umbrella
OdiemanSAM
Fattire
Google
HTC
Testers
Anyone who I forgot
Changelog:
Beta 1
- Initial Release
- Updated repos from CM since 128
- Kernel Tweaks from fyodor since 128
- Various fixes since 128
- More
just in case
Frickin awesome! Downloading now and report back
Sent from my HTC Vision using Tapatalk 2
nice, will download and try soon
———————————————————
i didn't mean to mock you or to offend you in any kind of way
seriously just love the adromadus team! totally platonic and all - you guys are the best!
and to all out there wondering if an official beta release means a base for othersis now available...
What difference with Flinny?
Downloading.
Sent from my HTC Vision using xda app-developers app
One question,
Beta releases will be deodexed?
Thanks a lot
Enviado desde mi HTC Vision usando Tapatalk 2
So this does look awesome. I have downloaded and installed but the first boot is taking an age......
can I just update my test build 128 to beta 1? or I need to make full wipe?
it's similiar to flinny 128 build, but camcoder is working with sound.
Sent from my HTC Vision using xda app-developers app
reserved for future use!
i'm on 128 now! this release is extremely smooth!!!!
Xardejn said:
it's similiar to flinny 128 build, but camcoder is working with sound.
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
Gotta love bugs that go away with nobody being done to fix them...
The glitches when creating a panorama shot with the stock camera are "normal" right? The shot comes out fine, just happens when shooting the image.
jacakk said:
can I just update my test build 128 to beta 1? or I need to make full wipe?
Click to expand...
Click to collapse
can somebody answer me?
jacakk said:
can somebody answer me?
Click to expand...
Click to collapse
I upgrade without any wipe and no problem at all!
For the other : what's the best compromise seetings for OC and governor for you?
I let the Interactive on a high level (1500) to let it smooth and seems better than the 128.
jacakk said:
can somebody answer me?
Click to expand...
Click to collapse
Try an upgrade with no wipe. Do a backup first. If everything works, awesome. But if you have issues, do the full wipe and install again to see if the issues continue before you report them.
Solid but I have a problem with VPN
Hi Guys
I have managed to successfully root my UK Vodafone 2.3.3 Desire Z and get the new Andromadus Jelly Belly build installed no problem.
I am really impressed with the build btw.... It is very stable and very fast
Here is my problem
I have setup an inbound connection on a Windows 7 host for PPTP VPN so that all of my mobile internet traffic is transparent and routes through my personal Fiber connection. The connection itself works great and I can connect my handset via its mobile data connection no problem to the VPN and all traffic from the handset goes through the VPN. However, if I enable WIFI Tethering the handset is still ok however, any devices connecting to the hotspot can connect ok but can't go anywhere. I did notice yesterday that it does seem to resolve internet DNS queries and a tethered device can ping the VPN assign DHCP address of the connected hotspot handset but no other IPs on that subnet
I have tried the following supplimenting tun0 with ppp0 as per the attached screen shot and I tried to attempt doing it the second way too however, when I do an ip rule show I don't get a specific table setting for tethering so that was a no go.
Here are the instructions that I followed from - http://forum.xda-developers.com/show...1766020&page=2
My setup:
- Samsung Galaxy Note Ics 4.0.4
- Openvpn for Android ( does not need root, might work with other vpn)
- Active data connection
- wifi tethering (should work also with usb)
Prerequisites:
- a root-ed phone
- a terminal
You need to issue 3 commands:
0) launch terminal and become root
yourprompt> su
yourprompt#
1) allow FORWARDING of vpn data (this will allow ALL forwarding)
yourprompt# iptables -A FORWARD -j ACCEPT
2) change NAT to MASQUERADE from ALL interfaces
yourprompt# iptables -t nat -A POSTROUTING -j ACCEPT
3) route traffic in specific tethering routing table
3a) see table for tethering (in my setup is table '60')
yourprompt# ip rule show
3b) add your private address (myne is 172.16.0.0/16) to the tethering table
yourprompt# ip route add 172.16.0.0/16 dev tun0 table 60
Think this is slightly overcomplicated. Here is a more simple method that should work for everyone:
Download a terminal client, e.g. ConnectBot and connect to your local shell.
Enter `su` to become root. (Double check with whoami afterwards).
Enable wifi tethering and ensure your data connection is working (connect to VPN)
Run `netcfg` and note your interface names (typically tun0 and wlan0 (ignore m.wlan0 or similar, only take the one with a real mac address), as is on my SGSII)
Double check the subnet for your wlan0 device and enter the following commands:
iptables -A POSTROUTING -s 192.168.43.0/24 -j MASQUERADE -t nat
(setup a postrouting entry for the tethered devices subnet, implementing NAT)
iptables -A FORWARD -j ACCEPT -i wlan0 -o tun0
forward packets from tethered devices across the tunnel
iptables -A FORWARD -j ACCEPT -i tun0 -o wlan0
forward packets from the tunnel to the tethered devices
and here is my netcfg and 'ip rule show'
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any help would be really appreciated guys.
In a clean installation after the first start, does not subscribe to a Google account.
You can show or hide the MAC address of a device with Windows Mobile 10 ?
Needed for what?
augustinionut said:
Needed for what?
Click to expand...
Click to collapse
Access daily wifi public networks do not want my exposed Mac address on the networks .
No MAC, no TCP/IP ==> You don't want to have no MAC.
Anyway, since MACs aren't unique there is no concern regarding privacy or security.
Corect, your MAC has your name on it?
dinrillas said:
Access daily wifi public networks do not want my exposed Mac address on the networks .
Click to expand...
Click to collapse
And also in my private network , you are a person who has cloned my Mac to be able to access my network , since I had already locked his Mac to access the to ... I need a solution ..
dinrillas said:
And also in my private network , you are a person who has cloned my Mac to be able to access my network , since I had already locked his Mac to access the to ...
Click to expand...
Click to collapse
Please read www.catb.org/esr/faqs/smart-questions.html.
Thanks.
dinrillas said:
I need a solution ..
Click to expand...
Click to collapse
Well, I for myself need free beer.
http://windows.microsoft.com/en-us/windows-10/how-and-why-to-use-random-hardware-addresses
Why use random hardware addresses?
Applies to Windows 10
When you're not connected to Wi-Fi, your PC sends a signal to look for Wi-Fi networks in the area to help you get connected. The signal contains the unique physical hardware (MAC) address for your device. Some places, for example shopping malls, stores, or other public areas, might use this unique address to track your movement in that area. If your Wi-Fi hardware supports it, you can turn on random hardware addresses to make it harder for people to track you when your PC scans for networks and connects.
Click to expand...
Click to collapse
winphouser said:
http://windows.microsoft.com/en-us/windows-10/how-and-why-to-use-random-hardware-addresses
Click to expand...
Click to collapse
On PC is simple, but is it possible on W10M?
w.bogdan said:
On PC is simple, but is it possible on W10M?
Click to expand...
Click to collapse
On the x50 phones it should be just as simple; however just like on W10PC it requires driver support. I think it works something like this:
Windows> Wifi driver, what tricks do you know?
Driver> 802.11n, wpa2, power saving, random hardware addresses, ...
Windows> OK let's turn on the mac scrambler and do some scanning
I think, just like with call recording, Microsoft is waiting for the nagging threshold to be reached before they add this feature to older phones.
Manually changing the mac address however, I'm guessing is already possible through the registry.
http://www.csoonline.com/article/29...-random-mac-addresses-for-wi-fi-security.html
According to new recommendations by an IEEE study group, the Wi-Fi protocol needs to be updated to use randomly generated addresses for better security and privacy.
Today, the 802.11 Wi-Fi standards are designed so that each mobile device gets its own, unique media access control (MAC) address -- which allows spies, criminals, and advertisers to track mobile users.
"Because of the uniqueness of the identifier and the fact that they're not encrypted, you can easily make a connection between the identifier and the user," said Juan Carlos Zuniga, principal engineer at InterDigital and chair of the IEEE 802 Privacy Executive Committee Study Group.
That's because the protocols developed over the course of decades were originally designed to work over local networks with stationary devices. (...)
"We have tried it on 802.11n, on 802.11g and 802.11ac," he said. "This is something that can be done by a firmware update, if manufacturers decide to do so."
It does require changes at either the hardware or the operating system layer, however, not an app.
"I don't think today you can do it with over-the-top software," Zuniga said. "It really has to be part of the design."
But the newer the device, the more likely it is the fix can be distributed with an operating system update, he added.
For example, Apple's latest iOS update includes privacy features for when the devices are scanning for wireless networks -- but the update only works while scanning, not for after the device is connected, and it only works on the most recent iPhone models.
Click to expand...
Click to collapse
I've tried via registry [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318]
https://social.technet.microsoft.co...rum-faqhow-to-change-mac-address-on-windows-7
but it doesn't seem to be working
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Random MAC:
Install Storage Explorer
http://forum.xda-developers.com/windows-phone-8/development/xap-storage-explorer-t3142339
Rename (delete) file C:\DPP\QCOM\WLAN.PROVISION
spavlin said:
Random MAC: Install Storage Explorer Rename (delete) file C:\DPP\QCOM\WLAN.PROVISION
Click to expand...
Click to collapse
Thank you! I might add, a reboot is needed. [W10M] Reboot app
Change the registry value
1. Open the Registry Editor.
2. Navigate to,
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318]
3. Under this key, you should see numbers in sequence as "0000 ", "0001 " and so on. Click one at a time to check the description of the device to match it with that of your Network Card. In this case it is "0000 "(at first on my device).
4. Highlight the corresponding number that match your Network Card(Qualcomm WiFi), look for the "NetworkAddress " key value. Enter the desired MAC-Address as a 12 digit number (all in one, no "space" "." or "-")
5. If the key "NetworkAddress" does not appear, create "New " as "String Value ". Enter the name as "NetworkAddress ". Now set the desired value.
(not yet tested)
Of sorry, I was not read previous posts. Bad Babbitt.
djamol said:
(not yet tested)
Click to expand...
Click to collapse
Well, test it, maybe there is a way. I only tried 0001 where the value was present. I didn't want to mess with the other ones because I was not sure what they are for. One is for Bluetooth.
Just to confirm, MAC address spoofing really works, at least on Lumia 550. I've used procedure for Windows 10 (same as @djamol described above) but with Interop Tools.
Don't forget to reboot after NetworkAddress change.
I also created small .bat file helper, to simplify correct adapter search (it was 0009 for my L-550). Run it via ssh session on the phone, not on the PC. And you should have reg.exe copied to c:\windows\system32 of course.
Please, note: MAC addresses, started with 0x, isn't working (for me). First, I wanna set 01-02-03-04-05-06 address (NetworkAddress value 010203040506) - this doesn't work but 120203040506 works perfect!
P.S. BTW, this hack is useless, I don't really know how this can be used.