yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] darkshino:
Hi,

I'm very happy to see all those nice 2.1 ROMs out there, but there is a bug in Eclair from release 2.0 which prevents me to update, because it is really annoying for me little frenchie living in Paris (I'm not alone). I use a lot a wap site giving a lot of informations about transports : wap.ratp.fr

For some reason this site doesn't display correctly in Eclair.

I submitted an issue on Android tracker describing the problem : (ID: 5768. new user I can't post link....)

As I don't think Google will take a look at this in a near future, I'd like to be able to understand more and eventually make a fix which can be included in community ROMs. The problem seems to come from webkit as far as I can understand.

As I don't know well Android internals, what is the best way to look more deeply into the bug ? Is there a way to compile AOSP running in emulator in debug mode or something to track where the problem occurs precisely ?

Thx for your help :)
[Nexus One General] ccunningham83:
Is anybody else having trouble getting screen shots on DDMS or even having their phone show up at all on DDMS? I Had no problems using DDMS on my G1, but I haven't been able to get it to come up with my G1. Just wondering if there is some update I needed to do. I have the SDK set up properly and ADB works great, but for some reason I can't use DDMS.
[Nexus One General] Know-Fear:
I don't recall the exact reason for it but pics all come out yellowed. The easiest way to take a screenshot with DDMS now is to hit the copy button and then paste it into paint or something and save it from there.

Or you can get ShootMe from the market (free). It takes pretty good screenshots from the phone.
[Nexus One General] Know-Fear:
Have you installed the newest drivers for adb? They are in a sticky post around here somewhere.
[Nexus One General] ccunningham83:
ADB works great, I believe I have the most updated version. DDMS doesn't even seem to recognize my phone is connected. I don't know what makes DDMS and ADB so different.
[G1 Q&A, Help & Troubleshooting] xAbstract:
What do I need to get started? (Programs to download, etc.)

Any good readings on the particular subject?

Do I need to know any programming languages? (C++, etc.)

How do I know which SPL and radio are required?

How could I fix bugs?

Most importatnly, what are the detailed steps in creating a ROM?

Before I get the unoriginal e-rage phrase: "USE THE SEARCH BUTTON HEH HEH HEH HEH," I have. But when I do, the results are really broad, and I'm not willing to go through 12 pages of non-related threads. And yes, I did use google. Same thing. Androidspin only teaches the basic first parts to creating a ROM, and in my opinion, doesn't really get into it. I'm experienced when it comes to flashing, as I have done it for a while now. I'm not a complete noob as I know what basic terms are when it comes to rooting and flashing. These are the questions I need answered and I would really appreciate it if I had a lending hand to help me get started.

Regards,
[G1 Q&A, Help & Troubleshooting] smackdown85146:
well i guess i should ask what OS you're using.
[G1 Q&A, Help & Troubleshooting] xAbstract:
I have a macbook partitioned with windows.
[G1 Q&A, Help & Troubleshooting] Ace42:
Soo yeah I recc you get Linux on your Mac first, if possible.
[G1 Q&A, Help & Troubleshooting] smackdown85146:
Linux or Ubuntu are the way to go.
[G1 Q&A, Help & Troubleshooting] xAbstract:
Woops didn't mean to double post. So I should get another partition with linux?

-EDIT-

I'm working on getting ubuntu now..
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
Well, if we want to build from source (who doesn't), you'll need linux or os x. File moving can be done on any os.
[G1 Q&A, Help & Troubleshooting] xAbstract:
I have ubuntu now, working on partitioning it. :3
[G1 Q&A, Help & Troubleshooting] smackdown85146:
http://ctso.me/2010/01/building-an-android-rom-part-1/ <-- it helps to follow on twitter. you'll be surprised what you'll find. :)
[G1 Q&A, Help & Troubleshooting] hiddengopher:
I was wondering how to do so as well. Could I cook up a rom in os x? Or should I do it in linux in virtualbox?
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
The ONLY OS not able to build from source is Windows. The android website will get you started
[G1 Q&A, Help & Troubleshooting] Ace42:
Thats messed up that it would be un-build-able in windows.
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
It's windows fault, not Google's
[G1 Q&A, Help & Troubleshooting] Ace42:
That's discrimination cause they're making Microsoft feel left out, by saying we dont support you.
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
But it's Microsoft's fault! Trust me Google would rather have the largest Operating System out there be able to build from source, but they CAN'T.
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
http://source.android.com/download

If you want to build from source, this will give you the basics
[G1 Q&A, Help & Troubleshooting] hiddengopher:
*tux shyly builds roms in background*
[G1 Q&A, Help & Troubleshooting] Ace42:
Good thing I have the Mighty-Leo on my side so I can have my own winmo roms. :)
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
It's ok tux, I like you.
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
Yeah, don't talk to people that would rather take steps backwards in technology
[G1 Q&A, Help & Troubleshooting] Ace42:
If you wanna take the right direction in life you need to have one of these things:

http://bit.ly/cVI9it

Heard it will be the best top 10 device of 2010.
[G1 Q&A, Help & Troubleshooting] xAbstract:
Thanks to all for the help so far. I'll download the stuff and get started on it tomorrow. I'm working on getting debian on my phone first :p

Ohhh so i don't need ubuntu? >:l
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
No, you do. It's awesome, try compiz. That will make you never look at OS X the same way again.
[G1 Q&A, Help & Troubleshooting] Ace42:
But what is the best security program for ubuntu?

Im about to create e new partition but I know my Eset won't work for Ubuntu.
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
Ubuntu is the best security program for Ubuntu.

Most viruses (read as ~95%) are .exe files, which ONLY work in Windows
[G1 Q&A, Help & Troubleshooting] Ace42:
Last time I checked windows has enough holes so people make virus so they figure to leave Linux alone cause less people have it.
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
While you can look at it that way, just be rest assured that the best anti-virus is linux
[G1 Q&A, Help & Troubleshooting] Ace42:
Well I hope I can find drivers for all of my hardware parts instead of generic drivers.
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
The only problem I've had with drivers is my wireless drivers, activating them causes a kernel panic
[G1 Q&A, Help & Troubleshooting] Ace42:
Can I play Pac-Man on Linux though?
[G1 Q&A, Help & Troubleshooting] JAguirre1231:
Ask Google, jeez
[Touch Diamond, MDA Compact IV General] Magicacaca:
Not sure why (probably something to do with the midlet maanger or J2ME version used) but the Gmail Java app works falwlessly with the Energy ROM for the Diamond (GSM version).

I couldn't get it to install with any other ROM (tried stock, Duttys, Tech Team, Gen Y, Dia Duit and many more). Kept getting 'file not associated to a programme' when trying to install the JAD or JAR file for the app.

Alternatively, just managed to get Gmail to sync using the messaging app native to Windows Mobile. The trick (thanks to another thread on XDA) was to make sure proxy settings were disabled for the data connection, and also to make sure SSL was selected for both incoming and outgoing mail. Beforehand I just kept getting "cannot connect with current settings" despite the fact that I could browse the web with no problems at all.

To help you decide which to use (native Messaging or Gmail JAVA app), the app seems to work faster (i.e. emails arrive on the phone quicker). The downside is the inconvenience (i.e. need to go to Programs, select the Gmail app shortcut, click refresh and then confirm that you want to make a data connection and then one more click to confirm whether you want to be asked to confirm each time you click something in the app, or if you want to use it uninterrupted until the next session). Bit of a faff IMHO.
[Touch Diamond, MDA Compact IV General] rajeshjha84:
For Java app to runs on WM, it needs Jbed - jJava midlet manager. Make sure your wm have it, if not install it first. Energy ROM comes wid jbed.
[HD2 General] eViking:
Boo Hoo ... I love my HTC-HD2, (despite all the grief HTC should have avoided inflicting on us), ... and so I was really looking forward to the 1.66 ROM Upgrade. BUT it won't load for me...

I downloaded the ROM ("GCC & Egypt" version out of Middle-East & Africa site - I'm an expat living in Dubai), connected my phone to my PC by USB & ActiveSync, ran the ROM.exe on my PC, carefully ticked and clicked my way through all the dialogue boxes and when I hit the last "next" button to launch the ROM upgrade, ActiveSync decides to disconnect leaving the phone hanging in the tri-clour bootloader mode and 10 seconds later, (with the connection dropped), I get Error [266] UPDATE ERROR (see attached screen shot).

Happily a quick restart after removing the battery restored the phone to its un-upgraded state. Thinking I may have tweaked something I shouldn't have on my phone (with loaded software, reg-edits and xda-tweaks), I hard reset it back to the original factory 1.43 ROM condition and retried the 1.66 Upgrade; but no go - same ActiveSync disconnection/bootloader hang. Tried again with firewall and virus protection turned off; and again on a different PC; and again and again holding my tongue in every conceivable different position - but no joy and now I have a bald patch from all the hair I pulled out.

I might just be thick and missed something, (though - as a last resort - I did read the instructions seven times), ... so I'm desperately seeking assistance. Any help would be greatly appreciated ... as I'm finding it difficult to suppress the rising anger and loathing I developing for Team HTC - who have now predisposed me to blame them for everything that goes wrong including global warming; - this is turning out to be pretty much like my relationship with all the old Landrovers I've owned - but I digress - can anyone suggest a solution or point out my error ... before I send the less than complimentary email I'm drafting to HTC, who will then have to blacklist me from buying the HD3 and then I won't have anything to complain about, (because my current Landrover Discovery 3 is uncharacteristically perfect !!).
[HD2 General] freyberry:
That's because Windows needs an extra driver for the phone in bootloader mode. It is then no longer connected via Activesync.

Put your phone into bootloader mode, connect it to your PC, wait for the driver to install, then flash again (while the phone is in bootloader mode).
[HD2 General] eViking:
ROM Upgrade Utility / Phone connection problem persists

Thanks for the advice; but still have a problem.

PC connects and recognises the phone via USB connection in bootloader mode(so I assume driver has loaded properly) but ROM upgrade utility still stalls with error message saying "Update Utility cannot get response from your PDA Phone".

Several attempts to run Upgrade Utility while phone is in bootloader mode all fail; sometimes with no detection at but once or twice it manages to detect the phone but doesn't obtain any status info and ultimately fails to communicate properly, always ending up with the Error message noted.

Starting think I have a hardware problem ... oh no ... will have to deal with HTC Middle-East (which will mean numerous miscommunications, 3-4 week waits, phone being lost/misplaced, after 2-months being told there is actually no problem - must all be in my head ... think I'll just slash my wrists now and save the aggravation.)
[HD2 General] rlydiard:
What version of Windows are you using? If you are using Windows Vista or Windows 7 64 bit you may need to install the required drivers by yourself, rather than automatically updating drivers.
[HD2 General] eViking:
Have tried on two systems:

1. Win XP (32bit version with Service pack 3) running as virtual machine in Parallels 5.0 on an iMac OS 10.6 (snow leopard) - yes I've ventured out of the shadows into the light.

and

2. Win XP (32bit version with Service pack 3) running on a standard PC

Both seem to connect, bootloader on phone shows "USB" and under Control Panel/System/Device Manager the HTC Device shows as a USB Root Hub device "working properly" ???
[HD2 General] rlydiard:
Strange. I guess you have tried using different USB ports, and not using a USB hub port. Are you using the stock USB cable that came with your HD2?

You might also try flashing a ROM with your storage card. That should bypass your USB problem. You can find instructions here.

Flashing Via MicroSD Card

1. Make sure your microSD is Formatted to fat32 (you dont have to delete all files but it is safer if you do)

2. Download your prefered Rom from the LEO Rom Develpoment Page and unzip/unrar it to your PC

3. Goto the Roms Folder and rename the .nbh file to LEOIMG.nbh

4. Copy the LEOIMG.nbh file to the root of your MicroSD Card

5. Plug the MicroSD Card into the phone

6. Reset the device while pressing the volume down button to enter the BootLoader screen, you will first see a tri-color screen with the phone and SPL Information at the top

7. Follow the On Screen instructions to start the update

8. After flash has completed, press the reset button with the stylus to reset the device.
[HD2 General] eViking:
Yes; the first thing I tend to suspect is the USB Hub or ports on peripherals, but I also tried virtually every direct connect USB port on both machines.

and

Yes, I'm using the standard HTC micro-USB cable ... BUT whilst waiting for my second HTC cable to arrive I have also been using a micro-USB from a Jabra SP700 (car speaker) which "looks" identical but only charges my HD2 and doesn't work with ActiveSync ... so now I'm wondering if it is slightly different, maybe it has damaged the terminals on the phone - though would've thought that all micro-USBs plug in the same even if terminal configs differ resulting in connectivity differences ???
[HD2 General] rlydiard:
I do not understand all the mechanics of it, but no, not all micro-USB cables are the same, apparently some do not carry enough current, or some such thing. I am searching for more information for you now. If I find it, I will post it here.

For the life of me, I cannot find the information I was looking for. I read somewhere that others solved the problem by just disconnecting and reconnecting the phone during the flash process when the error occurs.

Well try another HTC cable as that sure seems to be suspect now. If all else fails, I would try flashing through the memory card method.

Keep us update. Hopefully soon you will get what you want.
[HD2 General] eViking:
Success!!! Flashing from a 3rd (more powerful) PC, went without a hitch and I'm now up and running.

My observations for what they're worth:

1. As noted by "FreyBerry", when running the Upgrade Utility from a PC using an ActiveSync connection to the phone, the connection gets dropped when the phone goes into bootloader mode and the PC is supposed to detect the phone as a USB device and reconnect - loading the appropriate driver. If driver and/or connection fails to load quickly enough the Utility times-out and you get the error message.

2. Though my USB cable may have been my problem, it seemed to work flawlessly on the 3rd PC. So other possibilites could be:

3. On the 1st attempt, running WinXP as a virtual machine inside an iMac, the USB-device re-connection doesn't happen fast enough as the Mac and PC inside the Mac arm-wrestle over which OS will pickup the connection.

4. On the 2nd attempt, using my office PC, our network/virus protocols/firewall or simply the aging PC may have been too slow or obstructed in reconnecting.

If the problem re-occurs I'll be opting for the SD-Card Flash method you suggested.

Many thanks for all the help ... I can already feel my pulled-out hair re-growing. Cheers.
[HD2 General] wereldbol:
Windows 7 seems to be the problem. I have the same problem if I want to upgrade the ROM on Windows 7, not on Windows XP.
[HD2 General] freyberry:
I never succeeded in flashing from a virtual machine on OS X.

@wereldbol No, it should work fine with Windows 7, both 32bit and 64bit.
[HD2 General] buckeyescott:
Just last week I flashed a rom on a Vista x86 no problem. Now I've got Windows 7 x64 on a brand new computer and I'm now getting error 266. I don't have the option of using the old computer so I'm lost on what to do. I was already even able to flash HSPL3 to my wife's phone on the Win7 pc and didn't have this kind of trouble. But now I can't install a rom.

The device drivers installed. If anyone has any help. It would be much appreciated.
[G1 Q&A, Help & Troubleshooting] ronash:
Hi

I'm trying to downgrade my G1 to RC7, in order to root, and finally get Cyanogen Mod.

My phone was bought in China, but I believe it is German (qwertz keyboard, I have a ß in my keyboard). My OS is this:

http://xdaforums.com/showthread.php?t=566974

I tried to downgrade my phone to RC7, but I'm stuck - I get that 00028002 error, and I get stuck at that rainbow screen.

What can I do?

Thank you very much

Ron.
[Hero, G2 Touch Android Development] e.japonica:
as for my original rom is sg htc hero rom it support english/chinese text on phone.

but now im using mdc 3.1 & i would like to get back my chinese text support as i do have alot of china friends at my work place. i was unable to sms with them now... is there anyway i could add back this chinese langague support on my phone & still using mdc 3.1?
[Hero, G2 Touch Android Development] princescar:
here is what you want, http://android.modaco.com/content/h...772/12-jan-modaco-3-1-chinese-unofficial-diy/

not only add the language support, but also the ime, look into it youself, enjoy!
[Hero, G2 Touch Android Development] e.japonica:
Thanks princescar!
[G1 Q&A, Help & Troubleshooting] gooberguy:
im new to rooting, and i apologize if this is the wrong forum, but i believed it to be best.

my issue is that ever since installing the latest cyanogen mod, my battery is terrible, after about an hour i am down to 65-70 percent battery with minimal usage (no calls or programs, perhaps a text or 5)

i tried using the trouble shooting on the wiki which states

Battery recalibration

If you're experiencing higher than normal battery drain, try the following:

1. Charge the phone to full battery; power off and let it keep charging until the light is green.
2. Boot to recovery mode and go to console (or adb shell) and type:

mount -a
rm /data/system/batterystats.bin

1. Reboot the phone and use it normally, but don't charge until it shuts off.
2. Recharge the phone completely and then use as you normally would.

but when i tried the mount -a command i get various errors pertaining to "not found" i still typed in the rm command but i got no notification that it worked.

any ideas? im loving the mod, and the root community as a whole and i would hate to go back to the original rom
[G1 Q&A, Help & Troubleshooting] gooberguy:
also another oddity i noticed... my battery will drain down to 20 or so percent, and ill plug in the charger for 10min and then itll say 97 percent? (not exact just round abouts of percentage) whats going on?

also ill reboot my phone or start it back up after it shut down to low power and itll be at 50% or way higher then it said it was when it shut down/rebooted
[G1 Q&A, Help & Troubleshooting] AroundTheWorld:
I dont believe it's a problem with the rom itself, it might just be the battery. I had that problem, and solved it simply by replacing my battery.

Did you overcharge your battery? If so, that's probably why your battery is unable hold a charge, or is giving off false percentages. (one way of knowing if you did is if the battery is bulging out)
[G1 Q&A, Help & Troubleshooting] gooberguy:
there does seem to be a miniscule bulge on the battery, as i often left it plugged in even when it was at a 100percent. even so i did not have the severity of the problems i am having before i switched over to cyanogen
[G1 Q&A, Help & Troubleshooting] EclecticBlue:
Same problem

My G1 has been shutting off at 70% battery, too. I tried to do the charge, mount -a, rm /data/system/batterystats.bin bit, and while I could mount -a, when I put in the rm command, the console returns that there's no such file or directory. My battery also has the tiniest bulge; is the next step to just get a new battery? I was not having this problem before Cyanogen Mod, either.
[G1 Q&A, Help & Troubleshooting] bladerunner0427:
I rooted my phone for the first time and am using CM5.0.7. My battery is acting weird. Tried using the console and typing those commands above, but I get the error message as well. Does someone know the answer?

Thanks.
[G1 Q&A, Help & Troubleshooting] DirectMatrix:
To all the posters that are having problems getting access to the file... You might want to try switching your recovery to Amon_RA's latest recovery. He has a menu option which removes the battery configuration file for you. I believe the option is under the wipe menu.

Additionally, make sure you follow the steps for recalibrating the battery outlined in the troubleshooting section of cyanogenmod's wiki because just deleting the batterystat file will not help with the battery drain unless you follow the steps.
[G1 Q&A, Help & Troubleshooting] kusotare:
in addition to all of this, the battery life issues on 5.0.7 is a known bug that cyanogen publicized on twitter through his own testing. it's currently being looked into. so far, wiping battery stats has had no measurable effect beyond what is percieved to be slightly longer life by the user.

my suggestion: stick it out until the fix comes, which will be prior to a "stable" CM5 release.
[G1 Q&A, Help & Troubleshooting] DirectMatrix:
Good advice also. That is what I will be doing. I wanted to stick with this ROM so I tried the recalibration technique but I do confirm that it is having little effect.
[G1 Q&A, Help & Troubleshooting] kusotare:
yeah, there are people claiming that it's having miraculous effect, and then in the next sentence saying "oh, but i'm also not running any apps, have wifi, bluetooth, data and the screen turned off and it's been plugged in for half the time". you cant rely on results like that. if cyanogen says himself that theres a battery problem, i'd tend to take that as gospel. the man kinda knows what hes talking about on a massive scale.
[G1 Q&A, Help & Troubleshooting] ubernicholi:
try this

this was an issue with an old cyanogenmod. 3.8.1

I posted a workaround in the 5.0.7 thread. this worked for me, but YMMV.

add this to your userinit.sh file now located int /sd-ext/

echo 2000000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

or run command in the terminal (not recovery's console)

check it with

cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

before and after if you run it in terminal.

alternatively, set this value in setCPU. under advanced.

my values:

sampling rate : 2000000
up threshold: 60
ignore nice load: 0
power save bias: 200

this gives me about 10%-15% less battery life than the last build. which is better than I was getting friday.
[G1 Q&A, Help & Troubleshooting] a2k:
I beg to differ, I'm having the same issues on the Evo 4G and have tried three different batteries. All batteries drain rather quickly and take FOOOOOREEEEEVVVVVEEEERRRRRRRRRRRRRRRRR to charge. Plugged in over night for over six hours only reaching 63% battery capacity?! Absurd! Does not happen with any of the Stock ROMs.
[G1 Q&A, Help & Troubleshooting] Shavi:
i have the same problem with a LG GT540f ... i installed cyanogenmod 7 and the battery life is extremly unestable... 1 hour and my cel gets OFF ....

no solutions yet?
[TG01 Themes and Apps] Hamido123:
A must have threat

how do ya tg01 today screen look like?

so start postin' ya today screen ;)