yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] inspectoralex:
Out of memory problem

If I try to download a big file (about 500mb) from my phone and I get an error page :

WP7 WebServer - ERROR An exception has occurred! You may have tried to access a location that doesn't exist, or that can't be opened. The error message is: System.OutOfMemoryException: OutOfMemoryException at System.IO.BinaryReader.ReadBytes(Int32 count) at Homebrew.IO.File.ReadAllBytes(String filename) at WebServer.Handler.Process(RequestContext context) at HttpServer.Server.ProcessModules(RequestContext context) at HttpServer.Server.HandleRequest(RequestEventArgs e) at HttpServer.Server.OnRequest(Object sender, RequestEventArgs e) at HttpServer.HttpListener.OnRequest(Object sender, RequestEventArgs e) at HttpServer.HttpContext.OnRequest(Object sender, FactoryRequestEventArgs e) at HttpServer.Messages.MessageFactoryContext.OnMessageComplete(Object sender, EventArgs e) at HttpServer.Messages.Parser.HttpParser.OnComplete() at HttpServer.Messages.Parser.HttpParser.GetHeaderName() at HttpServer.Messages.Parser.HttpParser.Parse(Byte[] buffer, Int32 offset, Int32 count) at HttpServer.Messages.MessageFactoryContext.Parse(Byte[] buffer, Int32 offset, Int32 length) at HttpServer.HttpContext.ParseBuffer(Int32 bytesLeft) at HttpServer.HttpContext.OnReceive(Int32 bytesLeft) at HttpServer.HttpContext.b__a() at System.Threading.ThreadHelper.ThreadStartHelper(ThreadHelper t) at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStartHelper()

If you have time, can you fix it?
[Windows Phone 7 Development and Hacking] hitmanhell25:
webserver was working correctly 1st time

I installed it and mark trusted inwp7rootools.

then I removed it and again installed it after few days,and its

not working any more. it runs and when I open the ip indicated it doesn't work

..it is marked trusted also.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
[MENTION=4534516]hitmanhell25[/MENTION]: Sorry for the long-delayed response. Have you tried removing the "Trusted" mark in Root Tools and adding it again?

If that's not it, you're going to have to be more specific about the problem. Are you able to connect to the server (i.e. does the browser find the server or does it say something like "the address cannot be found")? Do you get the password prompt? Does the browser connect to the server but get no response? What is the name of the connection (on the phone's screen) that you're using? Are you using the same WiFi network as before (some networks don't permit one device to talk directly to another device; this breaks the way the server works)?

[MENTION=1831913]inspectoralex[/MENTION]: At *some* point I do plan to implement Chunked data encoding (a form of HTTP transmission that supports large files more easily) or at least handle read-send looping over the file (rather than trying to read the entire thing for a single send). Neither of these are terribly hard, I've just been distracted by other things.

But yes, if you try to upload or download a file that's more than perhaps 50% of your phone's memory (so, 250MB for most WP7 devices) it will likely fail with that error. It may even fail on smaller files. I'll put that fix in the to-do list for once I (metaphorically) get off my but and begin releasing updates to this app again.

A quick note for any WP8 users: Although this app doesn't work on WP8, I've got a new and completely re-implemented version available for WP8. It doesn't (yet) have anything close to full access - it's more akin to fiinix's Mango webserver, but for WP8 - but it does work for some things.
[Samsung Infuse 4G] Goneeuro:
so I noticed that my phones screen will come on for no reason. Its like i hit the power button to check the time or something. It just flicks on to the lock screen then after a few seconds it goes back to sleep. I dont know if it has anything to do with Serindipity 7 or not. I flashed that onto the phone a couple of weeks ago. I dont know if it has been doing it that long. I just noticed it the other day and i cannot figure out what is causing it. I was going to wipe the phone and reinstall serindipity. I love the rom and dont want to go back to stock. Does anyone have any suggestions before i wipe the phone and start fresh???
[Samsung Infuse 4G] Erik_T:
I'd suggest reading. Anyone else? Back a few months ago when I didn't know what was going on, I did some reading and with just one question I've managed to figure out a lot of stuff.
[Galaxy S I9000 Q&A, Help & Troubleshooting] adam_677:
is there a easy way to get the phone to loop
[Galaxy S I9000 Q&A, Help & Troubleshooting] theKingJan:
Into an Bootloop or what? ?
[HTC Rezound] eagle20g:
Ok so I'm trying to flash Clean Rom ICS 1/22 version

I did all the steps they said to in the instructions "I also made sure I had no PH files or I made sure I already deleted them"

I keep getting this

Main version is older!

update fail

press <power to rebot>

I then have to take the sd card out, get into recovery, put sd card back in and then USB mount the sd card to erase the ph file that the rom installed..

I'm so frustrated by this.

I was currently running the rom below with a custom kernal
[HTC Rezound] SteveG12543:
http://xdaforums.com/showthread.php?t=1456883
[HTC Rezound] heleos:
I did the same thing... What I've done is downloaded a few ROMs to my SDcard, but I've edited the .zip before putting them on. I went into the kernel folder, and edited the android-info.txt to match that leaked mainver number. After I saved that file, i went into the PH98IMG.zip and edited the android-info.txt file in there. Now I don't have to worry about getting stuck if I don't have a computer handy to do a fastboot
[HTC Rezound] andybones:
The next OTA update will fix this big mess, and hopefully we all learn from this lol. I sure have!
[HTC Rezound] Marine6680:
Not to flash leaks unless you are a Dev... or very experienced user/rooter/flasher of Android devices? :p
[Defy General] fabiobatera:
Can someone answer me if this rom has downgraded?

http://xdaforums.com/showthread.php?goto=newpost&t=1458954
[Defy General] Sgt-Hartley:
If you have not already flashed a full gingerbread sbf, you will be able to downgrade after using this rom but you must use a fixed sbf NOT a full one.

And on a side note please be more specific with the thread title's
[Defy General] fabiobatera:
Sorry

thanks, I was forgetting it.

excuse
[HTC Rezound] remmy5r:
I am rooted running cwm and the stock rom. My question is... I have 2.1 ics cleanrom downloaded onto my sd card (not installed yet). Is their a way to save the ROM I am running right now onto my computer so if I dont like ics or have trouble with it, I can revert back. I would like to be able to just copy it off my phone onto my comp to save it (so I dont have to download it because I have Satellite internet and it would take me until the year 2020 to get a rom downloaded because hughes net is so slow.

Thanks in advance
[HTC Rezound] trickster2369:
USB cable, create a folder on your computer, copy and paste. Can do this with any folder or file on your phone that your computer can see. Or you can upload and store it on drop box.
[HTC Rezound] WasabiWa83:
Perform a nandroid before you flash. You should do that anyway, but that way you can just restore the nandroid if you don't like it. That will bring you back to how you had everything right before you flashed the new rom. You just need to make sure you flash the boot.img or kernel from the nandroid again to get everything to work.
[HTC Rezound] remmy5r:
wasabi, I am doing a nandroid right now. So if I dont like the ics I will just have to do a nandroid recovery.

Where can I find the boot.img and what kernel would need to be reflashed?
[HTC Rezound] DbZ Gokuu:
I would also recommend doing a backup right after you flash and get everything the way you want. That way if you mess up something you have a backup exactly the way you want it
[HTC Rezound] WasabiWa83:
Well, the boot.img is the kernel. So you need to find the ROM that you are using (and making a nandroid for right now) and extract the boot.img from that ROMs zip. Essentially, download that ROM again (if it's not on your computer) unzip the .zip file or copy and paste the boot.img out of it. You can then put it on your SD card and use Scrosler's Clean Flash tool to flash that boot.img. That tool is in the android development section. That should get you where you need to go.
[HTC Rezound] remmy5r:
Ok, I have this zip on my laptop "z471-VIGOR-GB-CK3-CFS-122911-2139" and "flashmeinrecovery". The z471 file has a "kernel" and boot file in there, is that the one I want?
[HTC Rezound] WasabiWa83:
That's ziggy's kernel. You don't want that yet. What ROM are you coming from?

EDIT: I have to run, but you want the boot.img that is in the ROM you are using right now, not that one. If you go back to that ROM, you can then flash ziggy's kernel after you have the ROM's kernel on your phone. What I would do is find the ROM that you are using, pull that boot.img and use it. If you are using the stock ROM, there are stock kernels posted in the android dev section so you can use those. Hope this helps, cuz I need to run. Someone else should be able to get you the rest of the way if you get stuck.
[Xperia Play Q&A, Help & Troubleshooting] lyricalchaos:
cant get a non demo gamecih2 theres no ad either
[Xperia Play Q&A, Help & Troubleshooting] Hogwarts:
thats because your hosts file is blocking ads

are you using a custom rom?

if so goto /etc/ delete host file and reboot
[Xperia Play Q&A, Help & Troubleshooting] lyricalchaos:
Stock 2.4.4
[Xperia Play Q&A, Help & Troubleshooting] fma965:
no such thing as stock 2.4.4. guess u mean 2.3.3 or 2.3.4?
[Nexus S Q&A, Help & Troubleshooting] BenJeffery:
When I tried out the OTA ICS ROM, I was able to switch keyboards from the notification menu. I now have KANGY v7 installed, which doesn't seem to have any apparent way to change the keyboard without going into system settings > language and input > default keyboard.

Is there a way to force this menu back?
[Nexus S Q&A, Help & Troubleshooting] BenJeffery:
Never mind, I found it.

In Settings > ROM Control > General UI, I had to check off "Show IME Switcher" and reboot my phone.
[Fascinate Q&A, Help & Troubleshooting] booch2001:
Does anyone know how to change the boo

t animation on this rom. Help please
[Fascinate Q&A, Help & Troubleshooting] mezster:
You need a kernel that supports custom boots. Comradesven's kgb kernel should do the trick.
[Fascinate Q&A, Help & Troubleshooting] scarfman4:
GeeWiz kernel will also work. I'm running it with Superclean and am seeing the TSM bootscreen.
[Fascinate Q&A, Help & Troubleshooting] booch2001:
thank you everyone for the help, i am running kgb 11/27 kernel. but i figured out how to do it.
[HTC Rezound] Deathbyfugu:
Just a heads up (and maybe I'm just late to the game) but I was looking through download.clockworkmod.com/recoveries and searched for "vigor" out of curiosity and saw a version of CWM built for it with an upload date of January 14th. I am not suggesting that anyone try it (I'm awaiting a response from Koush regarding the state of the code and it's stability) but wanted to let people know it's there. Once I get a response from Koush via twitter I'll update the post.

All credit to Koush/ClockWorkMod devs for their work - I take no credit at all. If you flash this linked file I assume no responsibility for damages incurred (if any). Flash at your own risk.

Link to the actual recovery .img:

Edit: Removed because I tried the image and is not functional. Does not boot into recovery after install.
[HTC Rezound] con247:
I might look at it later, but I have been happy with AmonRa so far. A safe way to test it without making it "permanent" is fastboot boot cwmrecovery.img
[HTC Rezound] Deathbyfugu:
Ah thanks con, that command is new to me (although it really shouldn't be at this point lol). I'll give it a try later as well. AmonRa works nicely for me too, but if we can get some of these ROMs uploaded to Rom Manager servers that'd be nice.
[HTC Rezound] Deathbyfugu:
The image I originally supplied does not work, so I removed the link. A mod may close this thread at their discretion or keep it open for future updates regarding official CWM releases for the Vigor.
[HTC Rezound] con247:
ok thanks for the heads up.
[HTC Rezound] Deathbyfugu:
Nice to know Koush et al are at least trying lol...
[HTC Rezound] AtLemacks:
There are 2 images in there for the Vigor, as well as the md5sum.
[HTC Rezound] Deathbyfugu:
Well if you look at the MD5 checksum .txt for either file you'll note that it indicates "Froyo" in part of the build directory so clearly something is amiss. I tried the larger of the two .img files available but I'll venture to say that neither is functional.
[HTC Rezound] Deathbyfugu:
Another heads up - RomManager is adding support for "unsupported" devices in the coming update so Devs should be able to upload Roms to Koush's servers soonish. Look to the clockworkmod official twitter page for links/info.
[HTC Rezound] AtLemacks:
Wonder why he would build it for Froyo, considering the phone came with GB.
[HTC Rezound] Deathbyfugu:
Several of the various recent images built the same way. Maybe they've been in a rush to release things and messed up the build parameters.
[HTC Rezound] AtLemacks:
But I haven't seen, or heard an official release. Our 5.5.0.4 port works just fine as is. It is working for me from ICS ROM's also, so I wonder if we just port an official from the Nexus?

Edit: Nevermind, the official on my girlfriend's Nexus is 5.5.0.4 also.
[HTC Rezound] Zibs the Bowler:
I wish I had seen this before I flashed CWM for the Rezound, when the option showed up on my phone. I'm stuck in reboots and have to start all over.

Darn.

******

Okay..I thought this would be an easy task... flashing AmonRa back onto the phone, but it's not...or I'm doing something incorrect.

I access HBOOT and have the image on the SD card, but to no avail.

******

Fixed it!! This was the key, from this thread: http://xdaforums.com/showpost.php?p=21870383&postcount=255

adb reboot bootloader

fastboot flash recovery recovery.img

Had to start from scratch and thankfully Titanium Backup Pro restored everything and I mean everything.. Folders and icon settings too.

(sidebar) On a reboot, I got the process.com.htc.android mail 'is not working' error. And since it was after the BAMF screen, that started a do-loop as well. Luckily, an app didn't install completely, so I was able to access and open TB via Market, and DELETE htc.android mail. Problem solved!
[Galaxy Note GT-N7000 General] kramdens:
... I'm ok with that, since that's the one I have lol.. but I'm just curious. Seems like it is. And if so, why?
[Galaxy Note GT-N7000 General] Thugsin313:
well.......

look at it like this,

before a medicine is launched in the market,

trials are taken on lab monkeys :p

no offense just jokin....
[Galaxy Note GT-N7000 General] planoman:
Seems like DBT is on the ball with updates...glad I have one! Thank you DBT!
[Galaxy Note GT-N7000 General] Braxos:
not sure but it could have something to do with the sells of the debt version it could be with the most sells so debt gets first the updates so more people will benefit from it.
[Galaxy Note GT-N7000 General] zkyevolved:
I highly doubt it. I'd believe that since it was the first device out there (or one of them at least).
[Galaxy Note GT-N7000 General] senectus:
+1 this :-)
[Galaxy Note GT-N7000 General] chikess:
So far as i remember, the Galaxy S get ihe Updates at frist time in the Scandinavian Countries (was ist XEE?), Samsung is playing, every Device becomes a home Country ;)
[Milestone 2 General] jsschmid:
I recently installed the current ROM from "[Port&MOD][CM7][GB kernel][20-Dec-2011] cm72-111215.1631-NIGHTLY-v1.3".

In the same thread there are some supplemental downloads at the end of the first post. There I saw the mentioned above "mod for tezet-CM7", but unfortunately there is no description (at least I couldn't fin any) of what this mod is good for, what it does.

So now I'm asking you folks!

I preappologize in case I missed an existing description or easy to find explanation.

Thanks!
[Milestone 2 General] axl63800:
in fact the mod is for the rom of tezet ([ROM][22-01-2012] CyanogenMod 7 for Motorola Milestone 2 (Android 2.3.7)) and apply the same modification as the rom you had installed

so nevermind in your case!
[Milestone 2 General] jsschmid:
Is it somehow possible to get an T9 Dialer in ICS style?

I'm so used to find contacts using the T9 method and it's much quicker compared to all the scrolling up and down and up and .... you get my point...
[Milestone 2 General] axl63800:
maybe this one :

GO Contacts EX
[Milestone 2 General] jsschmid:
Thanks!

I'll try this one, how ever it's not really the same look as ICS... but at least I'll have T9 dialing...
[Milestone 2 General] axl63800:
maybe there is a theme for ics style ??
[Milestone 2 General] fedegil69:
got it

i got it:

ice Cream Sandwich (theme) by kovdev

or

Ice Cream Sandwich CM7 Theme by Sonny Sekhon

serch in the market
[Milestone 2 General] axl63800:
yes but without t9 ^^
[Samsung Epic 4G Touch] EL TEJANO:
It's probably old news, if so I couldn't find it.

Anyhow for those who aren't rooted, myself included (say what!!!) I hate the fact that there is no reboot option on our phones.

After scouring the net & testing it myself rebooting is as simple as long pressing the power button (about 7-10 seconds).

This is not one of those "ooooh-ahhhh" moments but I like the fact that I no longer have to wait for my phone to shut down completely before turning it back on.
[Samsung Epic 4G Touch] Gary13579:
Holding the power button is the equivalent to pulling the plug on your PC when it's still running. It's harmful to the phone. If it turns off mid-write, it could do damage to the point where it won't turn back on unless you root it.
[Samsung Epic 4G Touch] EL TEJANO:
Possibly can't say for sure. I've searched the net & couldn't come to an answer for any smartphone using this method but you never know...
[Samsung Epic 4G Touch] squshy 7:
You're half wrong on this. Yes there is the possibility of data corruption due to something being in mid-write, however in modern file systems for android it tends to be quite rare due to effective methods of journaling and write-protection.

The method described by the OP is the effective equivalent of pulling the battery, which is of course Android's soft reset, and an endorsed action.
[Samsung Epic 4G Touch] spitefulrain:
This +1 You could do this on the OG Epic no problem, but if you had journaling turned off you almost always had to restore a backup or flash your ROM again. Still nice to see people putting out actually useful info :)
[Samsung Epic 4G Touch] Gary13579:
Journaling isn't 100% effective. I've seen it happen myself on ext3 desktops. It will save you most of the time, but it's still not something I'd recommend doing unless you HAVE to (eg due to a hard lock). Would you crash your car into a wall just because the air bags will save you? :P (I know, that's a terrible analogy, sorry!)
[Samsung Epic 4G Touch] sfhub:
Journaling doesn't save you from data corruption. It saves you from the super long fsck. The reason why you usually don't have a problem is the OS is read-only.
[Samsung Epic 4G Touch] Gary13579:
Which still isn't a complete fail safe as there can be corruption in system /data files which results in boot loops and requires a wipe to fix.
[Samsung Epic 4G Touch] bluefire808:
I have been yanking batterys and holding down the power button to restart phones for years. Never had 1 single problem. I wouldnt worry about it

Sent From My Epic Touch 3g
[Samsung Epic 4G Touch] Gary13579:
Anecdotal evidence can't really compare to the fact of how file systems work. Just because the chance of dying for sticking your finger in an electrical outlet is small doesn't mean you should do it.
[Samsung Epic 4G Touch] LordLugard:
Still i'll take YEARS of my own personal experience over anything else.
[Networking] mattcyborg:
I am not going to explain on how it is done because that has been covered plenty of times.

If you are considering porting your number, make sure you do it early during the week! If you do it mid week or later, you will be without phone service for the weekend.

*FIRST: Always call your carrier before hand to verify you will not incur any contract violation charges, etc..*

Porting a number can take a few days to actually go through. In the meantime you can continue using your phone. Once it gets transferred to you Google Voice account, you need to reassign a new number to your mobile plan by calling your carrier.

However, my port to Google Voice went through on Friday at 7:30pm pacific time. Verizon's porting department closes at 8pm central. They are the only department that can assign your current phone plan a new phone number and they will not reopen until Monday.

I'm not sure what other carrier's operation hours are, but Verizon can be contacted 24 hours a day, EXCEPT this particular department. So be careful!
[HTC Sensation] Blackbird1989:
Hi All,

I'm searching for a fix for a battery drain problem for the latest MIUI on my HTC Sensation. I Spent whole day searching this forum and the web for answers but I didn't found any.

What's the problem? Well, since I installed the MIUI rom the battery drains abnormally fast. In standby my phone loses about 5 percent per 15 minutes. I've searched in the MIUI xda topic and there were also people with the same problem. But they also have no solution.

Apparently the issue is that the phone goes not to "sleep". When I use battery monitor I see that my Sensation loses about 300 mA in standby. I've installed no apps, no data connection or WIFI enabled. I'm using the stock kernel and also tried Faux and Bricked kernel. Nothing helped. I'm also using the recommended radio.

I've also reflashed the rom about 3 times.

When I go in the "battery use" menu I see that 80% of the consumed uAh is for the display. The display has consumed about 8791 uAh in 20 minutes. I guess that isn't normal right? Followed by 13% for the Cell Standby and 7% for "phone idle".

I excuse my for noobish questions but i'm quiete desperate.

Thanks for your time and help!
[HTC Sensation] g1user101:
I have perfect battery life on latest with fauxs latest beta 9
[HTC Sensation] k1w33d:
Hey there.

I'm quite new to this but thought I might just offer a suggestion. No idea if it is of any help but who knows eh?

Have you tried flashing a different rom since you started getting the battery drain problem? If battery drain is normal on the other rom then at least you will know that your problem is definitely related to the MIUI rom and not something else like the radio or whatnot.

Good luck. Hopefully someone else with more experience than me, and more insight than g1user101 will come along and offer some real help.
[Motorola Photon 4G] flyguy914:
Cm9 ics have Bluetooth connected but not paired. Long press the device to try to delete n reinstall but when I long press nothing happens someone please help is there a fix for this?

sent from my mof*ck!n mopho
[Motorola Photon 4G] TheChronicDroid:
wrong thread should be in Q&A
[Motorola Photon 4G] tetrabyt:
What I did, was unpaid the Bluetooth device. Turn Bluetooth off. Reboot. Turn Bluetooth on and pair with the device again. That seems to work for me.
[Motorola Photon 4G] motempo:
1. Wrong thread.

2. It is an alpha build.
[Motorola Photon 4G] flyguy914:
i'll give it a try, thanx
[Galaxy 3 General] tucucumelo:
Fitst y must say that My inglish is very bad but i believe help the people that need bluetooh. You can install Astro File Manager and next you can install astro bluetooh module and with module you can send and

recieve files.
[Galaxy 3 General] V!KR@M:
It already works on alpha7. only the Bluetooth sharing is not working between phone and a laptop
[Galaxy 3 General] tucucumelo:
I could not make it work with other mobile and after that it works.
[Galaxy 3 General] Galaxy580:
Yes. Bluetooth work in CyanogenMod 7 - Alpha 7