yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] stephj:
Sounds like you have the file open as write, "w", not update or read/write "r+", or "rb+" if you want to write binary values.

Use fseek() to position the file pointer to the position you require, then use fwrite() to write the data out at that position.

If the file is opened as write, it will be cleared, and the file pointer set to 0. Setting the file pointer to beyond the actual file size will extend the file to that point but will null fill the space in between.

FILE *inout;
float pi=3.14159;
inout=fopen("DATA.DAT","rb+"); // Zero error handling!
fseek(inout,0x100,SEEK_SET);
fwrite(&pi,sizeof float,1,inout);
fclose(inout);

The above example writes the raw binary value of the float into the file. To write its actual value as text, open the file as text read/write, "r+", and fprintf() the value into the file.
[General Questions and Answers] Xerax:
Thank you very, very much kind sir. Worked like a charm.

+1.
[General Questions and Answers] Lgks 20:
Hi everyone!

ive updated today my lg ks20 with 6.5

all was perfect but when it was finish ive no service

the simcard is in the phone and when i stard i must put the pass in but notthing happen:-(

pls help:(
[General Questions and Answers] Venny:
the phone doesn't read your simcard?

Try to extract and insert another time the sim in the phone..

I don't know whatelse could be..:(
[General Questions and Answers] dongni filth:
So i guess the radio source of the rom has problem, or your method of upgrading got something wrong then?

Re-flashing it to see any change?!
[General Questions and Answers] T.C.P:
yes if your phone was working fine a reflash most likely will fix your problem
[General Questions and Answers] Lgks 20:
okay thanks!

i will test it out

when it helped i will subscribe u all:D

i dont uderstaand...

when i stard the phone after flashing i must activate the sim... i did that

but after that there is standing: failed to connect to the network or something like that

pls help :-(

OK...

ive a reason

ive didnt restored my .nv2 file:-/ iam an idiot

now LGMPD is working and than i will restore .nv2

thank you all!
[General Questions and Answers] dongni filth:
Good luck dude :D
[Galaxy S I9000 Q&A, Help & Troubleshooting] behelit:
I'm planning to get a galaxy S and wanted to know about adb and file transferring etc..

I read somewhere that you need to use samsung's software to transfer files to your phone, is this true? or can we just use plain hd/mass storage modes?

Also, can I adb install apk's/files easily or does it also have to go through samsung software?
[Wildfire General] mestizo19:
Hi everybody..i am from Greece and i have a HTC Wildfire..it has android 2.2.1 .

I see some beatufull home screen with nice icons and theme packs.

I want to install themes in my device but i dont know how..i am new in android software so plz help me guys....

Sorry about my english....i am wating for a help...!!!:D
[Wildfire General] brilldoctor:
Install adw from the market if you want themes
[Wildfire General] wilbur-force:
Most of the 'themes' you see will be either based on customised ROMS or (more likely) from using various Launchers.

I use (and recommend) LauncherPro on my HTC Desire. Other good ones ive tried are GO Launcher, ADW, OpenHome. All of these are available in the App Market. Try a few and see which ones you like. They wont delete Sense - its easy enough to revert back (use the app 'Clear Default Home' from the market if you are struggling).

You now have hours/days of tinkering ahead trying out all the looks and features of your shiny phone :D
[Droid X General] msburr87:
I'm a pretty avid, and relatively knowledgeable android user, and previous iphone owner. My question is what makes android Apps more difficult to develop over say apple. Apple Apps are always smoother and polished, where android is bulky and rough a majority of the time. Why is this so?
[Droid X General] joebob296:
Last I heard Google has set the market.apk Mb size to Mb. I assume that some of the badass iPhone games are far greater then 25Mb.
[Droid X General] Trongable:
Android doesn't seem to have the greatest SDK, no strict standards for us to comply to. And in my experience, Java and other Java-esque languages have never been very good in performance or polish.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] Markitos1:
Since I installed the 3.14 Rom I'm getting the,, " you cant install unsigned apps" msg

How can i get rid of this.

regards

Marc
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] A.Calamita:
I had this issue whem trying to install resco.

Make sure the .cab is in the root of the Windows folder. That worked for me.

Thanks,

Al
[EVO 4G Q&A, Help & Troubleshooting] eurominican:
Hello! I rooted my Week old EVO that came with 2.10.0001 HBOOT and last night following the instructions on this thread and everything worked perfect, but Im having trouble changing the boot splash image and boot animation.

First, I tried using this method:

But it gives me this error:

And then tried this method:

http://xdaforums.com/showpost.php?p=9633485&postcount=6

But after the bootloader reads the PC36IMG.zip file it just goes back to the menu and does not give me the option to flash it.

Is it even possible to change the splash image with HBOOT 2.10??

And then my other issue is changing the boot animation. This is the one I want to use and used the procedure explained in the thread. It seems to go through fine but the default animation from the rom Im using keeps showing up. Is the file structure different on the new OTA or something (Im using VirusROM REVOlution Z RC1 PORT 1.34) ? Ive changed this on my old EVO with no problems.

Thanks for any help!
[Desire Q&A, Help & Troubleshooting] Helle85:
Hi,

i have a AMOLED Desire with S-off and HBOOT 93.0001.

Can i change from clockworkmod 2.5.0.1 to AmonRA 2.0.1 with

unrevoked 3.14 without goldcard ore RUU Image?

Sorry for my poor english :(
[Desire Q&A, Help & Troubleshooting] MasDroid:
Have you tried via ROM Manager?

Scroll all the way down to Alternate Recoveries. It'll be there as long as you place the relevant recovery image to the root of your SD card.
[Desire Q&A, Help & Troubleshooting] mariosraptor:
if you have s-off then you can flash recoveries from fastboot(recommended).

what you have to do is to download the recovery.img of AmonRa and put in the tools folder of SDK

then open a command prompt and navigate the the tools folder of sdk. for example :cd C:\android-sdk-windows\platform-tools

after that put your phone in fastboot mode by shutting it down and then turn by pressing back button+power on. connect it to PC, let install drivers.

now type:

"fastboot flash recovery recovery .img"

Wait until the send and write operations are completed

"fastboot reboot-bootloader"

"fastboot reboot"

after that reboot your phone.
[Galaxy S I9000 General] Rawat:
The Galaxy Tab has had some recent firmware that includes new bootloaders. These bootloaders have checksums/signatures in various parts of the firmwares. The "normal" Samsung ROMs, and custom ROMs and kernels, do not have these checksums. The result is that once flashed, you cannot revert to older/official/custom Samsung ROMs, and you are pretty much stuck using one of these four ROMs [There are/were 4 tab ROMs that had these newer bootloaders], as they are the only ones containing the right checksums.

Before flashing leaked or even official ROMs (via Kies), check to make sure that the ROM you are flashing DOES NOT include new bootloaders ( boot.bin and sbl.bin ) or wait for confirmation that it's a safe ROM.

Although there has not been SGS firmware with these new bootloaders, Samsung may release firmware that has these bootloaders, so make sure that you check!

The latest bootloaders from Samsung were in the XXJPU release, JPU is safe to flash because it did not have the checksum bootloader that Galaxy Tab has.

Newer Galaxy S firmware (that comes in a low package) may have similar checksums.

How do we know if a ROM includes bootloaders?

Open the PDA file with winrar, 7zip or something similar, and look for "boot.bin" or "sbl.bin". If these files are included, delete them before flashing, or wait for confirmation that it's a safe ROM.

What if a ROM is avaible on KIES at first? Is there a way to know? Better to wait in that case too?

Yes, it is important to check for ROMs available on KIES too. If it is an encrypted file, you can decode it using decodertest.exe, after which the file will be downloaded to your hdd. From there, you can untar and check if boot.bin and also sbl.bin is present in the file.

Chainfire's original thread on the Galaxy Tab board: http://xdaforums.com/showthread.php?t=888071
[Galaxy S I9000 General] tjsooley:
Thankyou for your info
[Galaxy S I9000 General] EarlZ:
Is there a way to update my SGS's bootloader to JPU's ?
[Galaxy S I9000 General] Rawat:
If you have working bootloaders, then updating the bootloaders is not mandatory as they are only supposed, to fix some compatibility issues with Mac OS X platform.

http://xdaforums.com/showthread.php?p=10126791#post10126791
[Galaxy S I9000 General] dan@msx:
Been reading the thread on SGtab section as i have both devices. Looks pretty scary stuff especially when it cones to devs side. Even chainfire has a brick now :-(
[Galaxy S I9000 General] AllGamer:
very good info, should be added to the Wiki
[Galaxy S I9000 General] g00ndu:
A request, can this be stickied?
[Galaxy S I9000 General] specialex:
is it possible bootloader changed, although Phone Bootloader Update untick in Odin ?
[Galaxy S I9000 General] dan@msx:
unfortunatley, even if the option in Odin is unticked, it will still update the bootloaders if the files are part of the package....

if the Boot.bin and Sbl.bin files are present in the PDA file they are the relevent bootloader files and i believe you can delete and re-package the PDA containing only the rfs and zimage files? (i hope a dev will correct me if i am wrong but thats what i would assume)
[Galaxy S I9000 General] emuneee:
This or extract the files from factoryfs.rfs and make a. Clockwordmod zip file. Can anyone confirm removing the sbl.bin or boot.bin works for odin flashable roms?
[Galaxy S I9000 General] imparator:
Confirmed. Odin does not like if you add files to the pda tar
[Galaxy S I9000 General] Tehpriest:
I hope Samsung are not going to become another Motorola or I may as well go back to Nokia.
[Galaxy S I9000 General] Stefanauss:
What if a ROM is avaible on KIES at first? Is there a way to know? Better to wait in that case too?
[Galaxy S I9000 General] w98seeng:
I'm not too sure if I understand this well, but I am guessing it means that if we flash our phone with a ROM that has a boot.bin or sbl.bin we can no longer flash anything else?

When I got my Galaxy back from Samsung Service it had JH2 on it. I upgraded with Kies to JL2 (it has Sbl.bin but not boot.bin) and everything is fine. I decided to put Darky's Gingerbread ROM on it and it worked fine for a couple of days but I decided to put JL2 back on. No problem there.

I have had JL2 on a couple of more times after trying different ROMs.
[Galaxy S I9000 General] Odia:
The option in Odin for "Phone Bootloader Update" refers to boot.bin only, even if its not enabled sbl.bin will still be updated if it exists in the PDA archive.
[Galaxy S I9000 General] g00ndu:
If it is an encrypted file, you can decode it using decodertest.exe, after which the file will be downloaded to your hdd. From there, you can untar and check if boot.bin and also sbl.bin is present in the file.
[Galaxy S I9000 General] Rawat:
Thread updated with new questions
[Galaxy S I9000 General] seltaeb:
Grr...

I hate it when manufacturers put in 'updates' like this just to stop legitimate (read 'legally allowed') hacking of their product. Sony does it all the time with the PS3 and I was hoping Samsung at least wouldn't take this route.

Users who like using that reg-hack thing to flash especially need to be careful now.
[Galaxy S I9000 General] jossilint:
:eek: i have updated to JPY with kies using reg hack, is JPY safe or i already doomed my phone with JPY????
[Galaxy S I9000 General] DamianGto:
It safe. I would know if its even possible to do this on this phone.

On xbox there is fuses that gets burned when you flash newer system, so you can't flash older system. So far its the only way to prevent to flash. I don't think sgs has this. Many they put some checks in the bootloader that the system then checks. But that would not prevent much.

**Using my own JPX kernel, z4mod, 346MB Ram and ext2 filesystem**
[Galaxy S I9000 General] dhiru1602:
Does the 2.2.1 Update from Samsung Kies have any Bootloader updates except for JPU which was Beta?
[Galaxy S I9000 General] lgkahn:
No.
[Galaxy S I9000 General] Rawat:
None of the SGS firmware are effected as of yet, but they put it in a few Galaxy Tab firmware, and they might do the same for Galaxy S.
[Galaxy S I9000 General] Rawat:
Did you even read the OP? It's done by having checksums/signatures in various parts of the firmwares. And if a new bootloader/firmware does not have these checksums/signatures, you can't flash it. The flash will fail. Check chainfire's topic for more details.
[Galaxy S I9000 General] DamianGto:
Yes i did read it and i still dont think its not possible to flash a new boot loader that works.

And its not on sgs either.

**Using my own JPX kernel, z4mod, 346MB Ram and ext2 filesystem**
[Galaxy S I9000 General] jossilint:
thanks for info, i feared that SGS may become Motorola horror...

I am interested if new protected bootloader is installed why it is not possible to destroy new bootloader and revert to back if SGS becomes Motorola (just example question of interest)
[Galaxy S I9000 General] Rawat:
I don't know if it's an act, but you're just acting stupid now.

RTFS. Previous Galaxy Tab firmware was fine (just like SGS). Then a few new ones came out that had these checksums. The same thing could happen with Galaxy S. And yes, they put checks in the bootloader. Those checks are enough to stop you from downgrading via ODIN/KIES/HIEMDALL/redbend_ua etc. Possible solution is also mentioned, which you'd know if you RTFS.

Fuses and xbox stuff is irrelevant.
[Galaxy S I9000 General] Rawat:
From chainfire's thread:
[Galaxy S I9000 General] Rawat:
More people should know about this.
[Galaxy S I9000 General] DamianGto:
You did just wrote a way to do it.

The thing is that its always a way to do it so long you it don't break things. It still a "flash card".

Safe???? Depends on the system you flash with.

All system can be broken into. Some just take more time....

**Using my own JPX kernel, z4mod, 346MB Ram and ext2 filesystem**
[Galaxy S I9000 General] g00ndu:
It's not that the phone cannot be used, even if the checksum is introduced in future roms. It's just that you will be limited to specific f/w that only Samsung releases.

I'd bet that Samsung will introduce this eventually.
[Galaxy S I9000 General] PIRATA!:
Any info on when these firmwares will be released??
[Galaxy S I9000 General] Rawat:
That is unknown. It's not known if they even will. But we know how to avoid it ;)
[Galaxy S I9000 General] Samdroid_G_S:
I believe JL2 for the i9000M that was released on Dec 23rd has a boot loader that you are unable to downgrade to 2.1 again without finding a full rom that includes a .SBL and the boot file.

You can flash other 2.2 and 2.2.1 firmwares with it fine though.
[Galaxy S I9000 General] PIRATA!:
How can we avoid it? Safe firmwares with bootloaders removed??
[Galaxy S I9000 General] windraker:
I have JL2, it's not rooted and has recovery 3e.

Can someone tell me howto get darky's 8.0 rom installed, I've tried searching but there's no real information for this Bell hassle :(

Also, once I flash Darky's, how hard is it to install official 2.3 over top of it?

If i was to flash offically any release from samsung I would like to make sure any signs of rooting, or recoveries would be gone :(
[Galaxy S I9000 General] windraker:
Ok, so i found an old offical update JH2 (2.1), and it installed with Odin, trying to setup darky's now
[Galaxy S I9000 General] Rawat:
Yes, use firmware that has the bootloaders removed, or where the bootloaders are normal ones (like JPU)
[Droid Incredible Q&A, Help & Troubleshooting] ejdavis72:
I'm using a font in my phone that I really like but the letter G looks way too much like the letter C and it's hard to tell the difference sometimes. Anyone know how to Photoshop font packs or maybe some other way to do this? Thanks for your help in advance.
[Droid Incredible Q&A, Help & Troubleshooting] ejdavis72:
No one at all??
[Galaxy S I9000 Q&A, Help & Troubleshooting] usernome:
I tried to unlock one i9000 version 2.2 and I didn't succed.

I downgraded it but I couldn't unlock it. I have NSPRO, too.

I upgraded it back but now it doesn't see any network, not even the one that is locked on.

Is there any possibility to get it back to how it was?

Thanks!
[Galaxy S I9000 Q&A, Help & Troubleshooting] SkinBobUk:
Have you looked to see if the imei of the phone has changed? If it has you could well be stuck unless you backed up the efs folder.

Sent From My GalaxyS Iphone Killer
[Galaxy S I9000 Q&A, Help & Troubleshooting] usernome:
IMEI is ok. I think is something wrong with NVM.

Thanks!
[Galaxy S I9000 Q&A, Help & Troubleshooting] usernome:
Can anyone help me please ?

Thanks !
[Galaxy S I9000 Q&A, Help & Troubleshooting] JJEgan:
Its possible you have not entered the correct details APN etc .

Looks like you no longer have the original providers details in this firmware .

jje
[Galaxy S I9000 Q&A, Help & Troubleshooting] usernome:
I think the NVM is damaged .

Is there any possibility to calculate it ?

Thanks !
[Galaxy S I9000 Q&A, Help & Troubleshooting] machatta:
*Assuming you have a backup*

You can delete the NV bin and MD5 files in the EFS folder and reboot and the phone will recreate them from the backup (not your backup, the internal one).
[Nook Color General] MXIIA:
I'm not sure how else to say this, it's kind of bizarre.

I've had my rooted NOOKcolor since Christmas, and it's worked fine (rooted it on Christmas), but starting today it just randomly reboots.

It's been sitting next to me, I haven't messed with it much today, but it has rebooted 5 times in the past 10 hours, without having being touched to provoke this.

What is causing this and how can I fix it?
[Nook Color General] naezwood:
This is a known issue. From what I've heard, it's likely a bug that occurs when the screen locks and turns off. Mine does it too and so does my friends. Hopefully it'll be fixed soon.
[Nook Color General] khaytsus:
Please look/search first.

http://xdaforums.com/showthread.php?t=880785
[Android Software/Hacking General [Developers Only]] ilendemli:
Is there a flashable Alternate Lockscreen for Samsung Galaxy 3?

I dont want to use Apps like LockBot or Lock 2.0 or something else,

because they are too slow..

I want to replace the standard Galaxy 3 lockscreen with the one from eclair or froyo.

thx in advance
[EVO 4G Q&A, Help & Troubleshooting] player21:
Is the HTC evo on Android 2.2, Build 3.70, Kernal Version 2.6.32 Unrootable???

Absolutely Nothing has worked for me so far, any help will be appreciated.

Thank you,

Tony
[EVO 4G Q&A, Help & Troubleshooting] dkdude36:
*FACEPALM*

http://xdaforums.com/showthread.php?t=829045
[EVO 4G Q&A, Help & Troubleshooting] harvickgm:
I have rooted my phone with unrevoked and have played with multiple roms to find what I like. Right now I am using warm twopointtwo Rom with kings #11 BFS kernel.

But when I run the quadrant test all my numbers suck.. like 900-1050.. people with the same are reporting a lot higher numbers.

A friend of mine has the my touch phone.. its rooted but with the stock Rom and kernel and he scored a 1700.

So what's the deal?? What am I doing wrong?
[EVO 4G Q&A, Help & Troubleshooting] Vandelay007:
Can you give more info? Like are you over clocking at all....set cpu perhaps? If so....what do you have it set to.....processor speeds make a difference ....

Sent from my rooted evo using the xda app....if I helped you, please click Thanks!
[EVO 4G Q&A, Help & Troubleshooting] TheMagicalSock:
Have you tried a CFS kernel?
[EVO 4G Q&A, Help & Troubleshooting] harvickgm:
Not using set cpu.. only running whatever the kernel is setup for. And yes I have tried multiple kernels including kings cfs kernels.. I just don't know what I'm doing differently
[EVO 4G Q&A, Help & Troubleshooting] NewZJ:
never trust the first quadrant score, always run it 2-3 more times and use the highest as your "bragging quadrant score"

do you have lots of widgets/apps installed? or is this with a fresh install?

do you get higher score with a different kernel?
[EVO 4G Q&A, Help & Troubleshooting] TheMagicalSock:
It's important to note that you are running a Sense ROM, and though I'm not certain, I would assume that this would give you lower quadrant scores (Sense is resource-heavy). Your friend's MyTouch also has different hardware than your Evo.

Unless you're noticing unresponsiveness, quadrants mean nothing. Don't let them get you down, haha. If you're worried about it, back up your apps, make sure everything is synced with Google, do a full wipe, and reinstall your ROM.
[EVO 4G General] hachiroku:
which is your favorite version of swype? it seems the newer the version the more i hate HATE HATTEEE swype. the early beta's seemed to have the best response for me. the newest version overshoots and suggests completely wrong words.

have any of you been dealing with the same issue?
[EVO 4G General] ifly4vamerica:
I actually see the opposite, 2.15 works the best for me by far, the one that comes stock with 3.70 worked terrible for me. Couldn't tell you why though. maybe it has something to do with fat fingers.
[EVO 4G General] hachiroku:
i'm on 2.6.47 right now. its the worst yet. 1.6 or what not was much more accurate.
[EVO 4G General] stargaterules:
I thought I was the only one having that issue. I agree that earlier versions were better as I constantly have to hit my delete key back because the words swype is suggesting are wrong.
[EVO 4G General] hachiroku:
using version 2.7.49.12469 which is part of the new 3.70 update for the evo. i have to say it is much more refined vs the previous 2.6 version. still not as accurate as the early beta, but it is leaps and bounds better than the previous versions up to this point. i have thin fingers and earlier versions weren't so good with my inputs.
[EVO 4G General] Justin.G11:
My first exposure to Swype was the HTC OTA and I liked it a lot but I was a bit mixed on the keyboard as it changed out the stock keyboard and while the arrows are still there ... they are a little hidden and kind of annoying to get at (I don't like swyping to open the 2nd keyboard).

I now use the beta which functionally is the same BUT as it's more platform agnostic I'm running it on Gingerbread which has that very nice little drag-able cursor so I don't need the arrow keys anymore. So right now that's my "perfect setup". I couldn't flash the OTA version over Gingerbread successfully, at least not against the early builds ... I've been happy thus far so haven't tried sense.
[G2 and Desire Z General] OoTLink:
So I just did a factory reset on my G2 (got a new one, the first one was having issues) - but I didn't trust it, so i plugged it into my computer and turned on the disk mode.

Boy was I surprised, everything on the SD card was still there! :D I suppose this figures, but.. sheesh! lol. Just warning you guys!
[G2 and Desire Z General] wileykat:
I didn't think a factory reset wiped the SD
[G2 and Desire Z General] TheMan42:
And? A factory reset only affects device memory, not external.
[G2 and Desire Z General] waffleman911:
Wow, I hope your just kidding around with this post...
[G2 and Desire Z General] cwirth7:
This thread is still open?
[G2 and Desire Z General] lowpeezy:
Cool story bro.
[G2 and Desire Z General] TL24:
Another EPIC FAIL thread FTW!
[G2 and Desire Z General] theratdude64:
Wow :eek: lol
[G2 and Desire Z General] LGS1231:
It actually warns you that doing a factory reset will not erase any data saved on the sd card
[G2 and Desire Z General] xXReubenXx:
lol... @it says it won't effect the SD card.. some people man.lol