Maybe helpful, not sure. - KIN Two Software Development

So I extracted the ZuneDriver.dll and made a folder of course. Then I looked through it and came across a text file called string. I opened it and found this.
101 Generic flat
102 Generic hierarchical
103 DCF
104 Fixed storage
105 Removable storage
106 Storage
107 Portable Device
Any use for it? or was that just random things?
Might be lines for just the zune.

What i think
it looks like either a list of specs or is defining what certain numbers mean when they are used in the file's text strings. it could be useful, but we'll never know unless we find out for certain.

I would want to know how you extracted them (hopefully, not using PeXplorer).
This is not useful (already known) but other things may be.
To be more concrete, is the text description of storage types. Ours is 102 Generic hierarchical.
Could be check using mtp queries.

I extracted it using 7-zip.

i tired using a standered mtp driver which let me veiw the drive in windows explor and then reformated the hard drive... alll it really did erase everything( i couldnt mess with anything on the phone) but it did give me more space to put music and video on it was 6.7ish before after it was 7.3 ish so no to amazing but still kinda cool. i also noticed that it showed the driver (after whipping) as having 120 something mb still on but nothing was there.

Related

Need Help. How do I get to the Internal Storage area

OK, I got my Sprint TP2 yesterday and was playing around with it. I installed my SD card that had some files on it and when I tapped on one document file by mistake it "unzipped" it to the internal storage completely filling it.
I've looked all over but cannot seem to locate the internal storage memeory on the phone.
HELP!
Thanks in Advance.
OK, never mind. But.....
OK, after I opened it back up today I started looking at it like my old PDA and found the file and deleted it.
But..
I'd like to free up more internal memory as it shows I only have 158MB free. And only 59MB free for program memory. I'll be getting a 16GB card soon to replace my 2GB I have but I'd like to have more internal memory.
What programs/files can I delete safely from my Sprint TP2 to free up more space?
JohnMcD348 said:
I'd like to free up more internal memory as it shows I only have 158MB free. And only 59MB free for program memory. I'll be getting a 16GB card soon to replace my 2GB I have but I'd like to have more internal memory.
What programs/files can I delete safely from my Sprint TP2 to free up more space?
Click to expand...
Click to collapse
158MB of "Storage" memory is actually quite a bit -- it's 60% open/empty. Considering that a lot of applications are less than a 1 MB, and a huge one is 5MB -- you still have room to install dozens directly to the device. To minimize use of Storage, install as many apps as possible to your card. And, wherever possible, configure settings on apps to store their data to the card...and set the camera to save to the card, etc. Even a 2GB card is a lot of space -- unless you're carrying full-length, high-quality movies.
Program memory gets filled up by stuff that's currently running, so deleting installed programs won't free up more of that -- unless these programs run automatically/all-the-time.
MCbrian said:
158MB of "Storage" memory is actually quite a bit -- it's 60% open/empty. Considering that a lot of applications are less than a 1 MB, and a huge one is 5MB -- you still have room to install dozens directly to the device. To minimize use of Storage, install as many apps as possible to your card. And, wherever possible, configure settings on apps to store their data to the card...and set the camera to save to the card, etc. Even a 2GB card is a lot of space -- unless you're carrying full-length, high-quality movies.
Program memory gets filled up by stuff that's currently running, so deleting installed programs won't free up more of that -- unless these programs run automatically/all-the-time.
Click to expand...
Click to collapse
Yeah, if you have 158MB storage free on the phone right now, be sure to take a screenshot if it so you can look back later and remember "back when" you had still had that much free space
MCBrian is right, moving stuff to your memory card is the best way to free up space on the phone's memory and keep it from filling up unneccesarily. Like he said, first change the camera settings to always save to the card, otherwise that will always eat into your available on-board storage, and quickly. I would also suggest going into the current album of pics on the phone, deleting anything you don't want to save, and move whatever you do want to save into a "pics" folder on your card (HTC's photo album can include pics saved there as well). Same for music...store any and all of it on the card, not the phone's memory. The one caveat with that is that the HTC music player (the music tab in touchflo) doesn't always find music on the card, not for me anyway, but I never liked that player anyway.
Managing my memory that way has given me enough space that even with dozens of programs on the phone, all of them installed to the phone's memory, I still have 95MB free space for programs on there. In fact, I still have a fair amount of junk (stuff I tried but don't use, etc) in there that I need to go clear out. Installing some of your programs to the memory card can help too, but if you're careful you can keep enough storage memory on there available to be able to avoid ever needing to do that (and the hassle that comes with trying to figure out which programs are ok with being installed on the card, as well as managing/maintaining separate install locations).
If you're going to start using file explorer to dig around in your directories, I highly recommend you first install File Explorer Extension. It simply adds a lot of the stock destop file explorer functionality that's missing in the mobile version ("open with>" in the context menu, for example!)...makes a HUGE difference in ease of use when digging through your file structure. I attachted it below, "fexploreext v2.05.CAB"
For keeping your RAM ("running" memory) from growing too fast, I also suggest running the other 2 cabs I have attached below (SSK TP2 Dynamic Resource Proxy.cab and nopushinternet.cab), they make a big difference in the active memory management on the TP2, you'll probably see a noticable difference right after soft-reset.
Thanks for those CABs. I'm pretty good at managing the storage on things like this, I just couldn' find the files/folder on the newer phone using the options available in WinMo6+. I've been using an Axim for years runnign WinMo5 and earlier versions. Storage cards are pretty easy for me as I'm use to running stuff between the Main/CF/SD cards that I had on the Axim. I just have alot to learn about the newer 6.1 OS. Probably, by the time I get used to 6.1, Sprint will come out with 6.5(6,7,whatever) and I'll get to relearn everything all over again.
If there are any other programs you'd recommend to help me out I'd greatly appreciate it.
JohnMcD348 said:
Thanks for those CABs. I'm pretty good at managing the storage on things like this, I just couldn' find the files/folder on the newer phone using the options available in WinMo6+. I've been using an Axim for years runnign WinMo5 and earlier versions. Storage cards are pretty easy for me as I'm use to running stuff between the Main/CF/SD cards that I had on the Axim. I just have alot to learn about the newer 6.1 OS. Probably, by the time I get used to 6.1, Sprint will come out with 6.5(6,7,whatever) and I'll get to relearn everything all over again.
If there are any other programs you'd recommend to help me out I'd greatly appreciate it.
Click to expand...
Click to collapse
Well the file structure is obviously still pretty much the same windows-standard, just some locations moved around. The bad news is that none of the programs installed by default in the stock rom are removable through the normal remove programs dialog, or any 3rd-party app I've seen. However you can just go perform the same steps manually by deleting any folders matching the program/publisher's name in these locations:
<root>/program files
<root>/application data
<root>/windows/start menu
...and then searching in the registry to delete any keys in there for the program as well. You'll need a registry editor to do that, I've attached my favorite free one, PHM Regedit...just search your registry by the name of the program you're removing. If you're not familiar with messing around in the registry, there's guides available here, let me know if you need me to point you in that direction. And, as always, be SURE to make a backup copy of your registry (PHM can handle that for you) before making any changes.
Here's a couple of other utilites I've found useful:
Advanced_Configuration_Tool_v3.3.cab -Gives you acccess to all sorts of advanced UI and system configuration options, a favorite and often-referenced tool here at xda.
Extra Camera Modes.cab -unlocks some capture modes that the TP2 camera is capable of, but aren't enabled from the factory on US models. New modes include MMS video, Burst, Sport, and geotagged images
SDK certs.cab -windows authentification certifcates necessary for installing many hacks/apps/cabs/etc that are available here
DivXPlayer_PPC.cab -a lean, mean .avi player from the people who came up with DivX (the codec standard, not the movie rental crap lol). I rip my DVD's at home to ~700MB DivX files, save them on my memory card, and use this app to play them...it gives far better performance and quality than any of the other players I've tried.
Very Much appreciated.
Now, I seem to have another probelm and I don't know if it's my unfamiliarirty with the newer Sync Center or am I just doing something wrong, or if it's an issue with the programs I've got.
I'm new to both Win7 and WinMo6+(and touch flo, etc). Up to now I had XP(w/ ActiveSync) and my WinMo5 Axim.
I can't seem to get my programs installed onto my TP2. I use a prgram for work called Tarascon. It's a medical reference program. I tried to install it yesterday and I never got the repsonse on the TP2 to request permission to install it. Today, I tried to install SOTI's Pocket Controller and this time I did get the request and I installed it to the device but I can't find it anywhere on it. It didn't install an Icon on the device and I've looked through every place I could think and can't even find an installation file for it. I didn't get an install error or failure notice and my memory size dcreased 2MB so something happened.
Glad to help
Since I don't really know anything about the medical reference software you're using, my first suggestion would be to check with the publisher and make sure that the version you have is compatible with Win7 and WM6.x...often software that worked on WM5 won't work just right on 6.
As for SOTI Pocket Controller, the latest version available on the site should be compatible with your setup. When you install it, are you doing that by running a .exe file on your PC and then letting Mobile Device Center (the new generation of ActiveSync) handle the install from there? It might be advisable to just moving the .cab file for the program straight to your phone (device memory or storage card is fine), and run it from there to install...bypasses the MDC, and ends up doing the same thing in the long run. In fact, it might be worth trying the same thing (running the .cab straight from your phone) with the medial software you've got.
It might just be that I'm using Ver4 and it doesn't want to run right with the newer install setup(MDC).
It worked fine when I installed it on my Axim(WinMo5) and using WinXP(ActiveSync).
Another odd thing, every time I plug in my TP2 and MDC starts to Sync, I get the request from Win7 for the Tarascon program to initialize. So that tells me something, somewhere set a pointer to my TP2 to update the program. I think.

[Q] view and edit large text files

have a lot of text files i use. i have problem viewing them if file is larger than 9KB.
any content of the file that is beyond 9KB is not seen in text editor. some editors that have autosave even reduces the file once it's open an closed..
is this a bug or what? is there any program that can handle this?
i tried this with lots of text editors and on different phones.
p.s. Thinkfree office can handle this files, BUT program is quite slow and file can't be saved in txt format afaik
anybody??
please, i need reading and editing "large" text files and NO GO with text editors
Aha! A potential customer.... ;P I was experiencing the same problem, so I wrote an app to solve it and just uploaded it onto the market today. It deals with large text files just like your thread wants.
http://forum.xda-developers.com/showthread.php?t=898083
Let me know if you have any questions about my app.
Ummmm, just a warning, my app is sometimes slow on startup, I think its due to the file write when it first creates some log files for tracking progress. Even so, it only takes around 4 secs to open a 10MB txt file.
oh, so there is this silly size limitation for text files.. :\ big thnx for this. i thought i was the only one with that problem.
will try your app.
again, thnx for solving this mistery
Android has this max size limiting the textboxes, I could in theory set it to
android:maxLength="99999999" or so, but even if the phone has that much memory, it can be pretty slow loading even 1-2 MBs of text. So I went with the file chunking approach, which bottlenecks in file write operations, but is still acceptably fast to me and is overall more specs friendly.
hmm, installed your app, but still same problem. can see few more lines than in other text editors, but that's it, only few more, not whole file.. do i need to set anything??
file i was testing is 15KB size..
other comments on program: it's fast, smooth scrolling, with just the right amount of options,.. looks great
It works by loading only a small chunk of the file at a time. To see the subsequent chunks, either:
1) Do a short horizontal swipe to the left which will load the next chunk.
2) Use the GoTo in the menu.
3) Scroll to the bottom, then briefly tap the bottom of the screen. But (3) only works during View mode since it will interfere with the cursor placement.
TO load the previous chunk, just 1,2, or 3 in reverse
You can try experimenting with MB-scale files too. So long as your internal SD has the space to support it, there should be no problems.
BTW: the screwy cursor placement when the original blinking cursor location is a few pages away is due to some inherent bug of the EditText class. I dunno how to fix it actually, but luckily it's not too complicated to overcome on the user's side; just type something after tapping at the place you want your cursor to be shifted, and the page will scroll back to where you originally tapped your finger.
after some testing, i can say this is a great program !!
only 2 things if i may:
-sliding between chunks is hard to achieve(sliding doesn't work well)
-there are temp files left in .NeedToWrite folder on internal SD card.. which is not good if there are stored some passwords
Glad you liked it!
Yup, Sliding is tricky, because the in-built vertical scrolling tends to interfere when there is a slight vertical slant in your horizontal swipe. So I made the horizontal swipe very sensitive to compensate. To take advantage of this, try doing a tiny horizontal swipe rather than a long one. It is much easier to make a tiny swipe be horizontal enough than a long swipe.
As for the tmp files, I wasn't aware tmp files got orphaned! Hmmm.... do tmp files still get orphaned after you've installed v1.31? Pls do install it if you haven't yet.
Update: Just found out that the orphaned tmp files probably occurred if you open mnt/sdcard/[folder/example.txt] and sdcard/folder/[example.txt]. The difference is the mnt/ folder. Although they have different paths, they are still the same file, but NTW creates the backup folder hierachy based on the file paths, so.
Anyway, I've come up with v1.32 which will place the tmp files on the same folder as the original file. Although this makes your folder more cluttered, but the benefit is reduction in "Force Close" errors due to the length of the backup file paths in .NeedToWrite exceeding the file path limit. And no more duplicate backup files created due to opening the same file from mnt/sdcard/example.txt vs sdcard/example.txt. And also much easier for user to maintain personally.
However, one user aptly pointed out that the extra clutter is really not welcomed and would also mean extra copying time when copying the whole folder over to the PC. So v1.33 will again return to the old system of placing all backups in .NeedToWrite/tmp

Kin & Xna Framework 3.1 (prev. Random Madness)

Hey, i was playing a bit with some files here and there, so i faked Xna to believe that kin was a zune (i'm a ninja) and then becoming asleep when suddenly i launched the first non-official app on the kin.. although it didn't work.
It's the result of a bad deployment of a XNA game template, which runs till the loading part, where it's broken and does nothing.
On the other hand, it's listed on the recent apps tab, and i was able to re-do the deployment. I wasnt able to redo after some time, even rebooting the Kin.
Yup, i know it does nothing but... makes you wonder if working apps can be made and yak yak yak.
Fyi, i was able to reboot succesfully but the app must be in a temp space, cause it didnt showed anymore nor in recent apps, nor in the menu. Kino showed me that there were no further files, other than mines.
i thought that a video would show things that are real and ... well.. all. So it's attached.
I wont tell how it goes in the very end till i'm able to reproduce it, and also, cause i *cough* modified *cough* some file in my windows to do so (not distributing them, for legal reasons and so). In any case, i would just tell how to get the same file, through a process.
I h4ck3d this thing, now, where are my cookies? (just kidding)
Edit:
Disclaimer
Ha! Before doing anything, this is going to scr*w your XnaFramework 3.1 Zune capabilities, so.... backup first, backup first... did you backup?
Ha 2.0. This is you, doing it personally. If it's not legal there (?) i take no responsabilities from what you do. If you crash your windows/zune/kin... i won't pay it.
Procedure
- Install Visual studio 2008 c# express (or 2008 if you have it... legally and so on) for free from microsoft.
- Install the Xna framework 3.1 (I also installed 4.0 but... it's not going to work for other tests i wanna make... so.... i wouldnt do it)
- Install the Xna framework 3.1 zune extensions
- Install a hex editor ... my favourite is HxD but others, like ultraedit32 or... [insert other here] will work. Notepad is not a hex editor.
- Look for "XnatransZ.dll" under "c:\program files\common files\microsoft shared\xna" (or just common files will only have one or two inside). There are Am64 folders with it (64 bits) and X86 (32 bits), of course, you are going to edit the one you use and so....
- Backup... remember to backup... backup... man, do a backup. Then open the file
- Search for the following HEX pattern: 5a 00 75 00 6e 00 65 00 00 00
(which is "Z.u.n.e..."). Make sure that on the right side on HxD shows Zune alone and not "Z.u.n.e.D.e.v.i.c.e.", or so. Replace it (overwriting left side on Hxd) with: 4b 00 49 00 4e 00 00 00 00 00 (which is "K.I.N....")
- Save the file.
- Now use the xna device center to add a new device, and pick a Zune (yup, a zune). Kin will appear there if done correctly.
Explanation
Why this change? Well, seems like it's pretty much stupid things around.
First i thought that as there were only a few models of zune, the xna would have the PID and VID values for their devices.
Then through *magic process* i saw that it just looked at the "Zune" text and compared it with the devices on the system. So i changed the zune driver info to name the Kin as "Zune" (haha smart approach huh!) but the Zune software is sooo smart, that it changed the device name under device manager... Wow!
So... i checked that file and ... through *magic process* i found out that it checked the devices statically (using "Zune"), so as i couldn change my device name, i turned that string into ours: "KIN" and.. magic worked...
Surely, not going to help us... but it's kind of a weird thing that it worked "as is" (Xna detects the phone as compatible) even if later it says that the needed runtimes werent present at the phone (it's ok, the files for gaming aren't probably on the kin).
That means that microsoft could modify the Xna to let development on the kin, but was out of it, not the kin market i guess.
hmm.. if this XNA application doesn't appear on first page... then how did you launch it in the first place?
Any way of receiving already made apps?
You wrote to phone's unreachable memory?
Tutorial?
Too many question? umad?
Try to get one of the phones apps and see how they are coded so you can get one to launch
Antonpup said:
hmm.. if this XNA application doesn't appear on first page... then how did you launch it in the first place?
Click to expand...
Click to collapse
Deployment launched it if i had the device connected, in a non error state, and with the screen showing the home (apps) window. IF it was with the screen turned of, it didnt showed anything (quite meh). Then i realizzed that it was on the recent
Antonpup said:
Any way of receiving already made apps?
Click to expand...
Click to collapse
Who knows yet?
Antonpup said:
You wrote to phone's unreachable memory?
Click to expand...
Click to collapse
Not sure of where this app went, must recheck at night
Antonpup said:
Tutorial?
Click to expand...
Click to collapse
When is repeatable or a working thing. I said, i modified files which is not the same as redevelop things. this is clearly a hack (of the files,not the device itself).
Great to hear of more potential progress here.
I'm curious, JohnKussack... was it my comment about XNA a while back that led you in this direction?
Marcellus1 said:
Would Zune apps loaded through KinO run? What about XNA apps?
Click to expand...
Click to collapse
Marcellus1 said:
Great to hear of more potential progress here.
I'm curious, JohnKussack... was it my comment about XNA a while back that led you in this direction?
Click to expand...
Click to collapse
Unfortunately, not. I was inspecting the Xna software for about 1 day or more before posting this. A few days before your post, i was able to upload anything with KinO and tried it without success.
This comes from *other* ways, which we have no idea about how they work. I will skip the part where i found how it all works when looking for a "Zune".
I've been experimenting with all the kin related test for a year (not continuosly) and went curious about "why Xna device center doesnt recognize the kin?". The answer is pretty much stupid: because it looks for the Zune.
I updated the first post about how to operate with the Xna framework, although it doesnt let you do anything, it's a lame thing.
Pretty cool findings, man. So are you able to duplicate this on both the TWO and TWOm versions of the OS? Are the results the same?
(actually, I don't even know if your current working device can be switched between the original and M versions of the OS)
klamation said:
So are you able to duplicate this on both the TWO and TWOm versions of the OS? Are the results the same?
(actually, I don't even know if your current working device can be switched between the original and M versions of the OS)
Click to expand...
Click to collapse
I prefer not to play Russian Roulette with RB+power option, and getting a kintwo or a brick atm. If i was on verizon coverage area... mmmm might be. I'm getting this on my new phone, which is a Kin Two M (2 yellow dots model to be exact)
I will try to send programs till i figure out what could work or i get bored. In the end... microsoft abandoned the kin, so unless we test things... we'r stuck with the phone.
maybe one of this lame programs lets us read(even only reading) the normal filesystem.
In any case... i will try some helloworld!
I could kiss you right now
johnkussack, I've been reading all of your posts on here and... wow. I'm amazed at your knowledge and how much you have been able to figure out. You are so close to getting apps on this phone!
I know nothing about Windows hacking/development, but I have had experience with Android development on old WM6 devices. The hardware on this phone is capable of running android, the only thing stopping it is not being able to test the builds. If you figure out how to get apps to launch, one of the ones I suggest you put on your list is Haret.exe, then maybe we can send the android files to the phones storage and... well, I'm rambling on and on right now. Anyways, here's what I am thinking after reading all that you have done:
On my old Env2, the device was locked to only run BREW games, which was a pain because you can't torrent them Flash games couldn't be launched from the SD card or the internal memory, but some genius figured out that the calculator and the world clock were flash apps. So by connecting your phone to your PC and using bitpim (at least I think it was bitpim) you could replace the world clock or calculator with 2 flash games, like pac man.
So, I'm assuming that the apps already on the Kin are .exe or something, couldn't you just replace the calculator on the kin with a file system explorer?
You probably know all of this, I hope this post helped in some way and didn't just waste your time...
Good Luck! - Jeff
Jemilio3 said:
...So, I'm assuming that the apps already on the Kin are .exe or something, couldn't you just replace the calculator on the kin with a file system explorer?
You probably know all of this, I hope this post helped in some way and didn't just waste your time...
Good Luck! - Jeff
Click to expand...
Click to collapse
The main complication with this is, we haven't found any way to get access to the main file system of the phone (the one containing the Windows Mobile OS files). BitPim gives access to one small area, and MTP (using John's KinO software) gives access to another area.
If we could find a way to gain access to the main operating system of the phone, then we're almost assured victory.
@Jemilio3 Thanks for the compliments hehehe.
As was very well explained by Klamation, we do not have access to the filesystem where the OS is (at least for now), we are kind of stuck with what we have.
From my past experiences with a win mobile 2003 pda, the system will be a fixed rom memory, user available space (configuration & temp values) and a storage card (our storage now).
So when we CB reboot the kin, just configuration & storage are cleaned.
I'm still operating on what to do with my pc, the disk is half dead, but isnt sata, so no replacement easily... reinstalling on another external disk to test things....tomorrow
There are several things to test by now:
-test for deployment tools on the xna3.1
-deployment of apps using xna 3.1 and openzdk deploy tools
-xna 3.1 deployment with visual studio (for ages testing)
.... a lot hahaha
It's very strange that the device is so locked down. Music and videos sync to the main memory, right? Maybe the solution isn't to hack the device, but to hack the program that syncs the music.
I wish I could help with the testing, but the only Kin I have access to is my dads, so I can't mess with it. Maybe I will call the people who made the Kin and see if they will help us.
Jemilio3 said:
Maybe I will call the people who made the Kin and see if they will help us.
Click to expand...
Click to collapse
We already tried this. Microsoft, Sharp, and Verizon didn't help much. They mostly dropped support for the phone.
Jemilio3 said:
Maybe I will call the people who made the Kin and see if they will help us.
Click to expand...
Click to collapse
Antonpup said:
We already tried this. Microsoft, Sharp, and Verizon didn't help much. They mostly dropped support for the phone.
Click to expand...
Click to collapse
You are more than welcome to call. Past experience is you'll get a run-around of people telling you to call the other company, if you're lucky.
I've tried calling a few people (within Verizon) and basically reached dumb tech support people. (minor rant, how can you work in tech support when you are a self-proclaimed "non technical person"??)
If you do contact anyone more than the customer service and tech support staff with no information, like somebody who advises you to contact somebody else, please take note of whom they say to contact, and their own name/contact information. If we can actually get the right people, or at least get a lead on the right people to contact, maybe we can make progress within the companies.
@John
If you ever need parts or anything im sure all of us on here are willing to help, including me.
Jemilio3 said:
Maybe the solution isn't to hack the device, but to hack the program that syncs the music.
Click to expand...
Click to collapse
That's what KinO is for .
The OS memory and the music/pictures/etc storage is different, so only apps should be able to use it.
@soninja Thanks . I guess that i will use one my several external disks instead the zombie one, but yesterday i had to classify ~200gb of info & videos into others before formatting it and reinstalling linux. My data inside was a mess rofl so it took about 4 hours.
In any case, thanks to awesome71717 & some random analysis i did on the kin mtp, i saw that most of the MTP commands used on the Zune HD app deployment are present on the kin MTP commands list, so at least deploy is available, even if it's not using XNA code, but c# code or so.
I know this might be a stupid question (this is really my 1st phone I've ever worked with)
but is there a way to push an XNA framework to the kin or something along those lines or would that just be pointless work?
jthree2001 said:
I know this might be a stupid question (this is really my 1st phone I've ever worked with)
but is there a way to push an XNA framework to the kin or something along those lines or would that just be pointless work?
Click to expand...
Click to collapse
Probably easier to just test what works from the xna or c# examples. I dont want to deal with microsoft things more than needed. Legal issues and that things. I try to draw a line there.
I'm not 100% sure I understand how this all works but have we figured out how the browser adds links to the main menu? Or possibly where this is located?
What are we able to access at this time?
Heratiki

Huge bug in BackgroundTransferService

Just found a huge and very annoying bug in WP7 BackgroundTransferService (it's a task for background file transfers, downloads or uploads).
If you create and add BackgroundTransferRequest, but cancel and dispose it shortly, during download process (i.e. download not finished yet), or even uninstall application (sic!), the OS does NOT release the reserved space (equal of the total file size, doesn't really matter how much data you've already downloaded!) The only way to avoid that problem is to wait until transfer completion. But if your app will be uninstalled during non-completed transfer, you're (i.e. user) out of luck
I did some investigation with interop-unlocked phone. Actual files are stored in \My Documents\Zune\PimentoCache\Lib\<numberic subfolders>; on interop-unlocked phone you may easily delete unwanted "space eaters" (in my case, files are .mp4 video files with real huge sizes, from 250 to 800 MB) but on regular dev-unlocked device you have no choice than do a hard reset - as I supposed to do with my Lumia 900
So, my note to WP7 developers: use these "BuggyTransferService" with care, you can easy damage the user's phone. I believe that bug is the main source of some rare complains about "I've magically lost phone storage free space". And shame on Microsoft to ruin the perfect "sandbox" concept by buggy and untested API!
P.S. As for me (personally) the most annoying thing is: because of "super-duper-STUPID" protection, I can't cleanup my Lumia 900 (and MS didn't provide any tool for that!) and should (damn!) do a hard reset, and reinstall whole stuff For the first time I start thinking, I've chosen a wrong platform to live and work with...
sensboston said:
Just found a huge and very annoying bug in WP7 BackgroundTransferService (it's a task for background file transfers, downloads or uploads).
If you create and add BackgroundTransferRequest, but cancel and dispose it shortly, during download process (i.e. download not finished yet), or even uninstall application (sic!), the OS does NOT release the reserved space (equal of the total file size, doesn't really matter how much data you've already downloaded!) The only way to avoid that problem is to wait until transfer completion. But if your app will be uninstalled during non-completed transfer, you're (i.e. user) out of luck
I did some investigation with interop-unlocked phone. Actual files are stored in \My Documents\Zune\PimentoCache\Lib\<numberic subfolders>; on interop-unlocked phone you may easily delete unwanted "space eaters" (in my case, files are .mp4 video files with real huge sizes, from 250 to 800 MB) but on regular dev-unlocked device you have no choice than do a hard reset - as I supposed to do with my Lumia 900
So, my note to WP7 developers: use these "BuggyTransferService" with care, you can easy damage the user's phone. I believe that bug is the main source of some rare complains about "I've magically lost phone storage free space". And shame on Microsoft to ruin the perfect "sandbox" concept by buggy and untested API!
P.S. As for me (personally) the most annoying thing is: because of "super-duper-STUPID" protection, I can't cleanup my Lumia 900 (and MS didn't provide any tool for that!) and should (damn!) do a hard reset, and reinstall whole stuff For the first time I start thinking, I've chosen a wrong platform to live and work with...
Click to expand...
Click to collapse
Hmm what about subsequent reboots? I know that I've done what you've just stated above multiple times in testing BGTransferService, yet I see no files within those multiple folders. Maybe syncing the phone helps clear the cache? I don't know.
Reboot doesn't help. If you saw many empty folders, it means your transfers successfully completed and downloaded files are in your app's isf (it's a normal situation).
Try to:
- start a few transfers (AFAIR limit is 2 simultaneous transfers)
- remove and dispose transfers
Code:
BackgroundTransferService.Remove(transferToRemove);
transferToRemove.Dispose();
or just uninstall app.
You'll see "lost" files in these folders. Try to download huge files (like in my case - video recordings) to be sure they will not complete soon.
sensboston said:
Reboot doesn't help. If you saw many empty folders, it means your transfers successfully completed and downloaded files are in your app's isf (it's a normal situation).
Try to:
- start a few transfers (AFAIR limit is 2 simultaneous transfers)
- remove and dispose transfers
Code:
BackgroundTransferService.Remove(transferToRemove);
transferToRemove.Dispose();
or just uninstall app.
You'll see "lost" files in these folders. Try to download huge files (like in my case - video recordings) to be sure they will not complete soon.
Click to expand...
Click to collapse
Oh so basically you have that switch enabled that allows you to download over 10 MB (or whatever that limit is). That may be the issue then with that switch and the API.
Of course I do (transferRequest.TransferPreferences = TransferPreferences.None; ) but it's a default value. Actually Background Transfers API is very useful for the large files: you shouldn't care about power loss/battery drain/connectivity loss - the whole idea is a brilliant (and I like it). But implementation is kinda buggy And MS-side support is awful. The official from MS just confirmed what "bug is well known and will be fixed" but that's all - I did a damn hard reset and spent lot of time to reinstall stuff (also lost my game progress/sms/etc. and so on 'cause MS+NOKIA are really care not for bugs but for "protection") At least they may send me a provisioning file packed in .cab, to clean-up the mess. But... seems it sounds like a "project" for MS

When they compare mobile to PC...

UFS 3.0, 12gb ram...this and that...meh
Just transfer file (3.4gb) from point A to point B...full 6 minutes...old HDD is faster
from?
to?
with?
neodemonium said:
from?
to?
with?
Click to expand...
Click to collapse
One folder from downloads to DCIM...all internal using file manager
I just tested this with a 3.3gb test file and it took 1 minute 20 seconds. That's about 45MB/s I think.
Not great but there's definitely something wrong with your setup, I'm just testing with my work laptop.
Makonator said:
One folder from downloads to DCIM...all internal using file manager
Click to expand...
Click to collapse
it's normal that it is slow when you move a folder with lots of small files in it
There so much lacking given informations to know what could be the issue here.
yep you will only reach max transfer rates on a single large file, if you transfer a load of little files each file will start basically a new transfer meaning you will never reach the full potential. it's the same on every single digital device a single large file will always beat out a bunch of small ones, be it windows, mac, ios or android, it's just the way file transfer protocols work.
UFS 3 is fast, but data transfer can be slowed down for a myriad of reasons, most commonly the number of files, such as a 2GB folder with a thousand small files, will take wAAAAAy longer than a single 4GB file.
Aside of that, if you're talking about transferring from PC to phone, or vice versa, there's also the unfortunate thing about only one data transfer operation being able to occur at a time.
Maybe you can clarify your issue.
Yeah, plus it depends of the cable, the USB port type used, the transfer protocol chosen, etc etc.
Since I see that someone here didn't understand what I said...I've dl 2200 wallpapers in one folder on my note 10+...transfer that file from download folder of my phone to another folder...that took around 6 min. Just to make it clear, it was not from pc to phone...it was all on the phone.
I've just dl same folder on my pc, and move it from one HDD to another HDD, took not even full minute.
Maybe it could be app that I've use to move it...but I doubt...
BIG EDIT: IT WAS DAMN FILE MANAGER APP!!!
Just used stock file manager from note 10+ and it was almost instant move...lol...
it should be near instant on the same drive as it shouldn't actually move the files, it only needs to change the indexing information for the files, so the new folder structure comes into play, as the files on the drives don't have to be physically located in a certain place to be in a certain folder.

Categories

Resources