[Help] Glitched device like *peep* - HTC One X

I have some problems.
Tomorrow I'm on vacation to my parents, so I filled the phone with one movie, and 8 episodes of Criminal Minds.
The first RIP was crap, so I've got 5 flv movies and 4x 3,5gb MP4-Movies.
I also copied around 8gb audiofiles. Music, books and stuff.
And now I have a glitched, slow phone - and no time to reinstall 1gb interal apps.
What happened:
I copied stuff, after I disconnected it from the PC it started to be slow, the UI died 3 times and it takes ages to get over the bootloader and I can see three frames of the booanimation. And I don't know what it does.
Taskmanager claims to have 300mb free memory and the phone isn't hot - so it doesn't do anything which consumes a lot of cpu-time.
This is kinda strange, since there should be the two most common problems.
It takes ages to open the market (need terminal-emu), it doesn't type anything.
I won't revert anything now, I haven't got the time for it.
Any help? I think I get the ADB running in the next 30 minutes.
Edit:
Can someone check this values for the mediaserver? I think it could be the problem.
~:/ $ ps
USER | PID | PPID | VSIZE | RSS | WCHAN | PC | NAME
media | 3899 | 1 | 154596 | 12660 | ffffffff | 00000000 | S | /system/bin/mediaserver
Editedit:
After mounting the storage to the pc the system is nearly as fast as before. G'damn. Now I have 20GB on the device I won't copy that again with 8.8MB/s
And Riptide GP is running flawless.

Related

[GAME][FREE] Attap!

Hello everybody.
This is my first post and the game in the title is my first free videogame for WP7 .
I have to admit it has a really simple gameplay: you have just to frenetically tap the lightning and the fire in order to kill the enemies runnnig on the bottom of the screen... The more you kill, the more you unlock special abilities (from the "I love killing all menu").
Since I developed it only using the emulator because I do not own a WP7 device, (!!!) I probably made some mistakes... In fact 3 users on the marketplace left their bad comments about Attap!, saying it "sucks"... because it crashes!
But I think it is only a question of waiting 'til all the textures are loaded, after clicking on "New game-->Easy | Medium | Hard" (maybe this process takes more than 5 secs, I don't know).
I would be very grateful if you could try Attap! and tell me:
-if it crashes (wp7 device, language used)
-how much the loading process take after tapping on "new game --> | easy | medium | hard"
-if the "small shock" is visible when you tap on the lightning and there is no target under the lightning itself
-if it is difficult to move the lightning and fire
Thank you.
Tested in HD7 crashes most of the time when game over
tapped easy normal and hard it took 22sec to load in each (it looked like it was froze but it wasnt it was loading aparently)
if no target under the ligntning shows a small shock
it was difficult to move (the fire and the lightning get stuck havent managed to make them get stuck in normal or hard)
attached a screenshot of the lightning and the fire stuck together
Moving this to WP7 Software Development for now.
-if it crashes (wp7 device, language used)
Yes, Optimus 7, English
-how much the loading process take after tapping on "new game --> | easy | medium | hard"
Very long for all
-if the "small shock" is visible when you tap on the lightning and there is no target under the lightning itself
Yes
-if it is difficult to move the lightning and fire
Extremely.
thepinkrabbit said:
Hello everybody.
This is my first post and the game in the title is my first free videogame for WP7 .
Thank you.
Click to expand...
Click to collapse
Where is the appp ?
whynot2007 said:
Where is the appp ?
Click to expand...
Click to collapse
Uhm, it's in the marketplace.
First of all: thanks for your bug reports.
I assure you I had not ever experienced those problems (neither crash, neither fire & lightning get stuck).
The very strange fact is that game loading takes different times depending on the device you are playing it.
I've made un update, and another one is still coming to improve game's speed:
-added loading screen
-the two nature defenders now are more reactive to player’s finger
-fire defender shoots faster
-game loads faster
I would appreciate if you could give me more feedback.
Thank you.
Did anyone downloaded the updated version?
Thanks.
Here's some feedback. Go buy a phone.
While its good that you are trying to create something developing for the emulator frequently gives you a totally different experience than on an actual device.
The marketplace is NOT a place to debug your apps/games. Filling it with buggy software whether its free or not is plain wrong.
astromex, I completely agree with you, but this was the product of a C# & XNA course at my University. It's not my fault: we had no phone to test it and all I could test was the MS emulator.
Btw, did you try the game?
thepinkrabbit said:
astromex, I completely agree with you, but this was the product of a C# & XNA course at my University. It's not my fault: we had no phone to test it and all I could test was the MS emulator.
Btw, did you try the game?
Click to expand...
Click to collapse
thanks for the game man! It crashed for me and it took a bit of a while to load using an HD7
professorwol said:
thanks for the game man! It crashed for me and it took a bit of a while to load using an HD7
Click to expand...
Click to collapse
Would you please be more precise about when it crashes?
I think it's something connected to the save of the gamestate.
Meanwhile I resolved the loading problem, the game has been updated.
Moreover, lightning and fire do not get stuck anymore.

[ROM] Fast clean firmware for S8500 & S8530 with SHP + Call-Recorder by sYCO

:: Fast clean custom firmware for S8500 & S8530 with SHP + Call-Recorder by sYCO ::
:: Kies update despite hacked version
If you are using one of the custom firmware versions with voice call recorder hack, but still want to be able to get the newest updates per Kies, you can achieve this with these little steps. Of course, you lose the voice call recorder then, but you do not lose all your settings and everything else.
1. Download the hack-free custom firmware version fitting your hacked one (that means 1.3 for 1.3b or 1.2 for 1.1) and unrar all files.
2. Then flash your phone (see tutorial below but without marker at "full") with only those two files: apps_compressed.bin and the CSC file. The preconfig procedure after flashing is not necessary.
3. After that you can connect your Wave to kies (and upgrade).
:: Some information about the releases: All newer versions always have the advantages of the prior releases, for example SHP and so on ::
.: History
.: S8500 Wave | S8500XXLA1/LA2 (DBT)
1.6 - http://depositfiles.com/files/z7averoa6
- just cleaned up that rusty Bada 2.0 thing
.: S8500 Wave | S8500XXKF3 (DBT)
1.5b - http://depositfiles.com/files/3l8w62cr1
- like 1.5, but full Social Hub Premium without Palringo
.: S8500 Wave | S8500XXKF3 (DBT)
1.5 -
- Social Hub Premium with Palringo
- CSC support: DBT, KOR, ITV, SKT, XEF, XEO, XEU
- Preconfig support: Default, DBT, KOR, EPL, ERA, FTM, IDE, O2I, O2U, OMN, ORA, PLS, VIA, VOD, PRT, CPW, XFA, XFC, XFE, XEF, CIT, NRJ, VGF, ORC, ITV
- GPS tuning
- Camera ISO raised to 1600
- Route66 link/widget
- MMS max size raised from 300 to 600 kb (feature in the menu, but depends on operator)
- frame rate of front camera raised from 15 to 20
- text and MMS max recipients raised to 200 (confirmed)
- Asphalt 5 removed (winning 200 mb)
- some programmes removed, see screenshots (round buttons are standard apps)
- a lot of widgets removed, see screenshot (StudiVZ, Bild, ...)
- all Java games removed
- start/stop sounds removed
- all sounds removed, but standard sounds
- all wallpapers removed
- blocked PDF removed
- added GMX account with SSL to the wizard
.: S8500 Wave | S8500XXKF2 (OXA)
1.4 -
- CSC support: DBT, KOR, ITV, SKT, XEF, XEO, XEU
- Preconfig support: Default, DBT, KOR, EPL, ERA, FTM, IDE, O2I, O2U, OMN, ORA, PLS, VIA, VOD, PRT, CPW, XFA, XFC, XFE, XEF, CIT, NRJ, VGF, ORC, ITV
- Social Hub Premium
- GPS tuning
- Camera ISO raised to 1600
- Route66 link/widget
- MMS max size raised from 300 to 600 kb (feature in the menu, but depends on operator)
- frame rate of front camera raised from 15 to 20
- text and MMS max recipients raised to 200 (confirmed)
- Asphalt 5 removed (winning 200 mb)
- some programmes removed, see screenshots (round buttons are standard apps)
- a lot of widgets removed, see screenshot (StudiVZ, Bild, ...)
- all Java games removed
- start/stop sounds removed
- all sounds removed, but standard sounds
- all wallpapers removed
- blocked PDF removed
- added GMX account with SSL to the wizard
.: S8500 Wave | S8500XXJL2
1.3b - http://depositfiles.com/files/w01zyot0w
- same as 1.3, but with voice call recorder hack (updates per Kies not possible, we guess)
1.3 - http://depositfiles.com/files/1guihl1jd
- Route66 link/widget
- Calendar tool Termine 1.8f by Sagrland (Slim version by sYCO)
- new Facebook app with touch modification
1.2 - http://www.gigasize.com/get/2zdcdlcb63c
- same as 1.1, but voice call recorder hack removed (back to pure S8500XXJL2 with DBT/KOR only, updates possible per Kies)
1.1 -
- Voice call recorder (recordings of your phone calls)
- MMS max size raised from 300 to 600 kb (feature in the menu, but depends on operator)
- frame rate of front camera raised from 15 to 20
- text and MMS max recipients raised to 200 (confirmed)
- Twitter app
- hacked version with XXJL2 and XEKC1, but still DBT (or SEK/SER/SKZ) settings (updates per Kies not possible, we guess)
1.0 -
- Social Hub Premium
- GPS tuning
- two sound bugs removed
0.9 -
- Asphalt 5 removed (winning 200 mb)
- some programmes removed, see screenshots (round buttons are standard apps)
- a lot of widgets removed, see screenshot (StudiVZ, Bild, ...)
- all Java games removed
- start/stop sounds removed
- all sounds removed, but standard sounds
- all wallpapers removed
- blocked PDF removed
- added GMX account with SSL to the wizard
- text max recipients raised from 10 to 20 or 50 (max not tested)
.: S8530 Wave II | S8500XXJKA
1.0b - http://www.gigasize.com/get/2mp77912lyb
- same as 1.0, but with voice call recorder hack (updates per Kies not possible, we guess)
- Operator codes for preconfig: DBT, KOR, ITV, ETR, INU, NPL, SKT, SLK, TML, XEF, XEO, XEU
1.0 -
- Social Hub Premium
- Route66 link/widget
- Calendar tool Termine 1.8f by Sagrland (Slim version by sYCO)
- MMS max size raised from 300 to 600 kb (feature in the menu, but depends on operator)
- frame rate of front camera raised from 15 to 20
- text and MMS max recipients raised to 200 (confirmed)
- Asphalt 5 removed (winning 200 mb)
- some programmes removed, see screenshots (round buttons are standard apps)
- a lot of widgets removed, see screenshot (StudiVZ, Bild, ...)
- all Java games removed
- start/stop sounds removed
- all sounds removed, but standard sounds
- all wallpapers removed
- blocked PDF removed
The bootfiles and all other important files have not been touched. In the end this is a clean and much more stable JL2 (less ressource errors, ...), which still can get updates per Kies.
.: Installation/flashing
1. Battery should be full or 60%, at least. No SIM lock or net lock allowed.
2. Download the custom firmware and decompress it - also Multiloader (from 5.62): http://uploading.com/files/get/a981f374
3. Close Kies (agent, too).
4. Remove SIM and memory card from phone and leave it off.
5. Start phone in download mode (press following buttons at once: left side down button, right side middle button and on the surface the hang-up button).
6. Connect phone to computer with the USB cable.
7. Start Multiloader, check/mark points at LIS, FULL, MASTERROM, klick on PORT SEARCH. If the connection was successful, there comes up a message like READY (LISMORE).
8. Enter all the fields/information with the decompressed firmware: Bootfiles directory, Amss, Apps, Rsc1, Rsc2 (low), Factory FS, CSC, Shp App, Fota.
9. Start flashing (DOWNLOAD). The only dangerous seconds are the first 1.8 ones. During this short period your computer must not crash or anything else. After that there should be no danger anymore. In general your computer should be running without further programmes - just to be safe.
10. ALL FILES COMPLETE should be the message after up to eight minutes, if the flash succeeded. Remove the cable and the battery, enter SIM and memory card into your phone and start it.
11. After starting you have to do the preconfig (do not make another hard reset/master reset): a) Enter *#5239870*# and choose PRECONFIG. b) Enter *#27236*# and choose DBT (or what you wish). Your phone restarts again. Done.
Here is a graphical PDF for help: http://www.handy-faq.de/forum/attac...e-s8500_flashguide_rev0.01.b4_designoo_pf.pdf
BUT FOLLOW MY TEXT TUTORIAL! It is more accurate and newer (the PDF has some old not current information).
.: SHP with ICQ, Facebook, MSN
http://bada-blog.de/2011/02/17/anleitung-icq-account-mit-dem-google-talk-account-verknupfen/
http://badanation.de/topic.php?t=3313
.: Most important hint
Directly after flashing and the preconfig procedure you should adjust your phone totally towards memory card, that means standard storage location for everything should be your memory card, not your phone (only texts and contacts have to be saved on the phone, which is still better than SIM card). Go to your SETTINGS and find the storage settings. Really nothing should be saved on the phone.
But the most important thing is to go to your SETTINGS and APPLICATIONS, where you have to change your standard storage location for apps to memory card, too.
Do this as your very first step.
.: Contacts and backup
For people, who do not like Kies, there is a free online possibility to manage your contacts, even if your battery is empty and you are somewhere on the run: www.everdroid.com. You can even synchronise it with Google, if you like to.
But do that before flashing - otherwise there is nothing left to backup.
1. Create account at www.everdroid.com and send the password to your phone.
2. Log-in, change password, send settings to your phone.
3. Confirm/install.
4. a) In SETTINGS - CONNECTION - SYNCHRONISE go to the Everdroid profile and edit it (long click).
4. b) Go to sync categories and mark all points after you gave them names like cal (calendar), pnote (memo) and task (tasks). Otherwise marking does not work.
4. c) In profiles choose your internet profile.
5. Now start synchronising (activate WIFI before, if you like). Your data is available immediately and you can edit it online or on the phone and synchronise again.
.: Voice quality
Enter *#197328640#
1. Choose "[5] Audio"
2. Choose "[1] CP Config"
3. Choose "[1] RCV Config"
4. Choose "[7] Rx AGC"
5. Set "[0] enable flag" to 0 (both read and write)
Repeat step 3 with 2/3/4 (EAR/SPK/BTH).
Much fun and success.
SUPPORT YOUR LOCAL CUSTOM FIRMWARE CREATOR!
--> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QDFB6YZFGT34U
THANK YOU VERY MUCH. =)
1.1 and 1.2 are the same versions, basically. 1.1 has the voice call recorder using injected/hacked KC1. 1.2 is back to normal XXJL2 and without voice call recorder, because a lot of people asked for Kies update availability.
Maybe there will be two versions of future releases, with and without voice call recorder.
Alright, all work done here so far. It is 3 o'clock in the morning and the clubs are calling my name. I am out. =)
Does exactly as advertised, thanks, the guide is very well laid out for folk like myself. Has anyone reported back to you any battery life improvements at all because of your firmware?
There will no be improvement battery because we can't modify anything concerning battery
could you work to start the spoof applications or games on the menu, without to use the samsung appl? because I and more others people haven't the Data Connettion and use only the Wifi..
thanks a lot
Sorry, guys, I am no fan of spoofing. The thing is Bada and the app store have a ****ed-up situation on the market, already.
So, that does not help them/us and the last thing we need is every guy not paying for those apps. I mean this leads to damages towards small programming groups and self-employed guys/freelancers.
Imagine you are working hard for your company and then there comes a guy which does your work and wants no or half the payment like you and therefore your company fires you. Well, you would hate that, would not you?
But I do not want to start a discussion here right now. Everyone has to decide for himself, what he is doing. I just do not like it ... and I would love to see Bada stronger in the market with a better app store in future.
Concerning the battery: I once wrote a tutorial about energy saving on the handset but that is for purists only. My wave needs reloading every two to three days, but that is pretty normal, I guess.
Fonts & Increased SMS Limit
Hi,
Is there any way to increase the SMS limit as well as adding new fonts to Firmware.
As u guys now are pretty accustomed to Bada and know the intricacies of its structure so it will be nice if u work on that as well.
Thanks.
bhutoria_1989 said:
Hi,
Is there any way to increase the SMS limit as well as adding new fonts to Firmware.
As u guys now are pretty accustomed to Bada and know the intricacies of its structure so it will be nice if u work on that as well.
Thanks.
Click to expand...
Click to collapse
What do you mean with increasing SMS limit? The length of 160 figures? You can write more, of course, but then your operator will charge you twice for two texts/SMS. Or do you mean another limit?
I tried to add new fonts, but that is not possible currently, as they are hidden deep in the system.
Two new versions online:
.: 1.3
.: 1.3b
Follow the details in the first post.
xsycox said:
What do you mean with increasing SMS limit? The length of 160 figures? You can write more, of course, but then your operator will charge you twice for two texts/SMS. Or do you mean another limit?
I tried to add new fonts, but that is not possible currently, as they are hidden deep in the system.
Click to expand...
Click to collapse
I meant the 1300 SMS limit not 160 characters.
Could you add the Full Screen to Browser?
zefiro1492bhutoria_1989 said:
I meant the 1300 SMS limit not 160 characters.
Click to expand...
Click to collapse
Ah, I see. Unfortunately, this is not possible, as the limitation on this subject lies deeper in the system, but I will look into that the next days.
zefiro1492 said:
Could you add the Full Screen to Browser?
Click to expand...
Click to collapse
Same here. The browser was changed in 1.2 and only old versions like the alpha JID or other old versions are having that browser.
What I can suggest: Use Opera Mini 6.1. It is really awesome. Here is a link to both versions, 5 and 6, but I prefer the newer one: http://www.handy-faq.de/forum/samsu...6_0_inkl_multitasking_and_landscape_mode.html
After installation and before starting you deactivate virtual keyboard and the full-screen adaptation in the Java settings and then you enter your phone by Stunes and delete the settings.db within the Opera folder.
Then you have a very attractive full screen browser with no problems and stupid menus.
xsycox said:
Ah, I see. Unfortunately, this is not possible, as the limitation on this subject lies deeper in the system, but I will look into that the next days.
Same here. The browser was changed in 1.2 and only old versions like the alpha JID or other old versions are having that browser.
What I can suggest: Use Opera Mini 6.1. It is really awesome. Here is a link to both versions, 5 and 6, but I prefer the newer one: http://www.handy-faq.de/forum/samsu...6_0_inkl_multitasking_and_landscape_mode.html
After installation and before starting you deactivate virtual keyboard and the full-screen adaptation in the Java settings and then you enter your phone by Stunes and delete the settings.db within the Opera folder.
Then you have a very attractive full screen browser with no problems and stupid menus.
Click to expand...
Click to collapse
Ah...ok...
other question: is it possible copy some icon from menu on the home? for ex. android...
because i can use only the widget in the home..
hey man thankx but i would really appreciate it if you could add the dutch language and full browser
xsycox said:
Ah, I see. Unfortunately, this is not possible, as the limitation on this subject lies deeper in the system, but I will look into that the next days.
Click to expand...
Click to collapse
Sure, take your time. I just wanted the focus to be there as well so that this issue can be addressed.
zefiro1492 said:
Ah...ok...
other question: is it possible copy some icon from menu on the home? for ex. android...
because i can use only the widget in the home..
Click to expand...
Click to collapse
It's not possible.
xsycox said:
Ah, I see. Unfortunately, this is not possible, as the limitation on this subject lies deeper in the system, but I will look into that the next days.
Click to expand...
Click to collapse
if you manage to do this you will be a god!!!!!!! eagerly waiting for the day i dont need to back up my sms every month
downloading now
As a UK T-Mobile user, is there any use in me trying (which has proved tricky to say the least) to find a genuine UK CSC file? Tried a few different things, but I assume your DBT CSC is modified yourself, so by adding a UK specific CSC I would be kind of missing the whole point of your work ?
Apologies if this is staggeringly obvious question, I have tried to look around for the answer first.
I am fully behind you in trying to improve Bada and NOT support spoofing, it is the only way to encourage Samsung to push on with development of an improved ecosystem. Bravo old chap
Its not unreasonable at all, someone should make a database of CSCs from various different countries!

[XAP / BETA] WP7 Screen recorder (Based on "The DllImport Project")

WP7 Screen recorder program
>Zomg, the Chinese could not program good fps...
>So i super optimized the **** code of theirs.
Application features
* Full-screen mode "F11"
* Presentation-mode background color chooser. (Useful in F11 mode)
* Great features on UI (The cn version suck'ed with UI)
* Chose what IP port WP7<>Server talk over
* See frames count' received
* Start/Stop server at any time to continue later -button
* More than 2.3 (old) 4 fps (stable fps)! Yay.
BETA Preview (Watch via Youtube for 720p; damn 4:3 ratio):
Cable free demo (works kind of well) (depends on wifi latency for FPS)
Randoms:
>My rage post about how they cant code: http://forum.xda-developers.com/showpost.php?p=14916356&postcount=75
>This is the result, many extra fps (more to come), yay.
- Server is always backwards compatibility -
Fixed-list
- (v0.2) WP-Client: More frames, less lagg.
- (v0.3) WP-Client: -^- and now a idle fps @ 5.1~ YEAH (my phone, inside app)
> Added more cross-device compatibility for dehydration hack (forgot native dll's, remembered today, so i fixed them too)
> CSharp___DllImport.Dehydrator.AllowMultitasking = true; (threw exception's, gone now ^)
This is huge can't wait!!
This will work with games ?
ninjy said:
This will work with games ?
Click to expand...
Click to collapse
It captures frames globally on the phone, wherever you are; games, yes, but the wifi limitations etc holds the fps down. Later i will take milliseconds benchmark to see where all the functions are un-optimized.
nice work mate
I ask this because the Screen capture program based on "The DllImport Project" too can't capture games, probably due to DirectX.
Nice work...
Duration taken for 1 thread render: 21.295 sec
Duration taken for 2 thread render: 20.232 sec
Saves 1 sec total per 100 frames (according to yesterdays benchmark compared with today's new code)
>Going for the better =D
1 frame = 0,2023 sec (200 ms) (fully rendered)
>Stack where the most time is wasted
>Sending it back to server, need multi-thread there toooo
Eh, not the server transmit
>4.586 sec for 100 frames (static frame) (way to fast)
>0,04586 sec for 1 frame (45,86 milliseconds)
105,4 ms goes to "Phone.Screen.GetCaptureBytes(out buffer);"
+ So thats:
* 202 ms (get & render pixels)
* 45 ms (send pixels)
- Total of: 246 ms
> Average of 4,065 fps
Code:
var t = new Phone.Timers.HiPerfTimer();
t.Start();
for (int i = 0; i < 100; i++)
{
first = CaptureData();
}
t.Stop();
More soon; and a release very soon.
Cool, waiting for it.
Sent from my WP7 HTC Mozart using XDA Windows Phone 7 App
fiinix said:
Duration taken for 1 thread render: 21.295 sec
Duration taken for 2 thread render: 20.232 sec
Click to expand...
Click to collapse
What exactly are you rendering? cant you send the data as defalte stream to the server and render there?
Also why 2 threads for this slow operation any way?
fiinix said:
105,4 ms goes to "Phone.Screen.GetCaptureBytes(out buffer);"
+ So thats:
* 202 ms (get & render pixels)
* 45 ms (send pixels)
- Total of: 246 ms
> Average of 4,065 ms
Click to expand...
Click to collapse
Your goal should be 105,4 ms since thats the upper bound.
Call Phone.Screen.GetCaptureBytes(out buffer); in 1 thread and fill a ring buffer with the info 3 to X elements.
Use antother thread to get them from this buffer, and send them. should be 120 ms then.
If i get something really wrong, please let me know, if you need help with multi threading stuff let me know.
regards.
Flow WP7 said:
What exactly are you rendering? cant you send the data as defalte stream to the server and render there?
Also why 2 threads for this slow operation any way?
Your goal should be 105,4 ms since thats the upper bound.
Call Phone.Screen.GetCaptureBytes(out buffer); in 1 thread and fill a ring buffer with the info 3 to X elements.
Use antother thread to get them from this buffer, and send them. should be 120 ms then.
If i get something really wrong, please let me know, if you need help with multi threading stuff let me know.
regards.
Click to expand...
Click to collapse
New demo video up. (Works perfect without cable!)
__
Getting fps is very hard
Fun Fun Fun!
"Also why 2 threads for this slow operation any way?"
> More threads = faster done.
__
This is the multi-threaded render'er, that converts the "argb" so it can be compressed to "jpeg" (8kb img out):
Code:
Phone.Screen.GetCaptureBytes(out buffer);
captureWorker1T.RunWorkerAsync();
int bufferPos = 576000;
int i = 191999;
while (i < 383998) // thread 2 on "main loop thread"
{
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
arr[++i] = (buffer[bufferPos++] | (buffer[bufferPos++] << 8)) | (buffer[bufferPos++] << 16);
}
captureWorker1E.WaitOne();
return bmp;
Ok then i would suggest, a 3 thread setup.
1 to get the bytes, and put it into a ring buffer, the next pull it from the buffer and convert it to jpeg and put it into another buffer, and the last for sending it.
I would check if it makes sence to split this converting into two threads since its a single core cpu, calculation intense operations arent optmiziable by parellism, so you only get 1 sec by doing so, but expected would be a reduction by 50% in ms.
On the other hand getting the bytes isn't cpu intense there is a lot of locking going on and process boundaries stuff, that the os has to schedule, this should be easily optimizable.
regrads
Beta time =D
Beta up!
>May be very buggy, as executed on your machine (not tested)
>Have a test go!
Currently down to (dump):
0.213043212890625
0.206085205078125
0.207977294921875
0.2100830078125
0.208038330078125
0.214019775390625
0.208526611328125
0.20501708984375
~206-245 ms
40 ms down average, haha.
lol, even better (Thank lord DllImport!)
All threads (in thread scope before while(...)):
Phone.TaskHost.SetThreadPriority(Phone.TaskHost.ThreadPriority.Highest);
0.183013916015625
0.1810302734375
0.18402099609375
0.182037353515625
0.183013916015625
0.18402099609375
0.1829833984375
0.19000244140625
Hey in my PM i ment this technique... dont know if it will help you out.
The Image (800*480):
Line 0 ................ (480px)
Line 1 ................ (480px)
Line 2 ................ (480px)
Line 3 ................ (480px)
[...]
Line 800.............. (480px)
render 1 will register all EVEN lines only and send it to the server as an image of 480*400,
render 2 will render all ODD lines of the next frame and send it to the server,
render 3 will render all EVEN lines of frame 3 and send it
render 4 will render all ODD lines of frame 4, etc. etc.
Then the server will restore these images:
frame 1 (480*800): render 1 (400 even lines) + render 2 (400 odd lines),
frame 2 (480*800): render 3 (even) + render 2 (odd),
frame 3 (480*800): render 3 (even) + render 4 (odd),
frame 4 (480*800): render 5 (even) + render 4 (odd),
So you will get the equal amount of frames as renders but the only difference your renders are half the size (480*400).
if you can get a decent framerate, this trick might result into an even higher FPS. The downside if the framerate is not high enough you might notice "scanlines". Idk if it is worth the try or worth implementing as some people might prefer higher framerate over better quality.
if needed you can ofcourse use 2 threads as well to process 200 lines per thread.
Wow, that's look be fun,
Thank you for your hard work.
very nice. if we could control the phone w/ it, i would def. buy!
The problem is in C++, its to slow.
200ms~ is the absolute lowest we can go.
We need more advanced c++ like ddraw (Direct Draw).
The C# is so optimized that its almost not even possible to go lower because it depends on C++ code behind.
Ill look in to some ddraw code.
Average: 200ms:
Code:
var t = new Phone.Timers.HiPerfTimer();
t.Start();
for (int i = 0; i < 200; i++)
{
first = CaptureData();
}
t.Stop();
Wow awesome work fiinix! Writing a post on this now
Thank's for this great application !
I have one question : I run WP7 Screen Recx- Server on my PC, apps on my mozart, I put Server IP and clic Start, ok now I have my screen on PC but if I clic on Home or another key on my Mozart I dont have image on PC only the screen with server IP, server Port ...
How can I make to use with Zune, Camera or another apps ?

Google Music manger, 5TB max

I am not using anywhere near 5TB, but make good use of the service with about 15K songs. The point of the thread is to give a nod to google for the generous GMM storage limits.
4 * 250M = 1G
20,000songs / 4songs/G = 5,000G
Reference:
http://support.google.com/googleplay/bin/answer.py?hl=en&answer=1143668

Zero to Hero with React and Redux

revolves around the concepts of state trees (stores) that store state, actions that change state trees, and reducers that describe how actions perform.
Learn the essential concepts behind Redux programming, and see how to write Redux apps in TypeScript. Review reducer functions, get the details on combining reducers, find out about creating stores, and see how to combine Redux with React. Be sure to check out this course. See demos and hear details from the experts.
1 | Introduction
Get an introduction to Redux, a compact library that provides a predictable state container for JavaScript apps.
2 | Development Environment
Take a look at the Redux Development Environment.
3 | Essential JavaScript Concepts
Take a look at essential JavaScript concepts, as they relate to Redux.
4 | Reducer Functions
Explore Reducer functions.
5 | Creating Stores
Learn about creating stores.
6 | Combining Reducers
Get the details on combining reducers.
7 | Integration with React
Find out how to combine Redux with React.
8 | Conclusion
Wrap up the course with a review.
If you feel useful for you and for everyone, please share it!
You cannot copy/paste articles without linking to the source at least.
Thread closed.

Categories

Resources