yashsingh1/xdaforums huggingface dataset:
[Mogul, XV6800 ROM Development] 88fingerslukee:
Hey everybody,

I'm trying to get Phonealarm to play nice with the Titan regarding profile switching but there is something that has me stumped.

I need the program to switch from one profile to another after I plug in my wired headset. The problem I'm having is that phoneAlarm has no way to know if the headset is plugged in or not.

Usually (at least with a bluetooth headset) a registry entry is added to HKLM/System/State/Hardware that phoneAlarm then reads to tell that the headset is already connected. The problem is, the Titan (or DCD's rom) doesn't do this.

Now, the headset obviously does something to the OS because it works and transmits audio through the headphones and not the speaker etc..

If I do a registry export with the headset connected and then disconnected, there is no difference in the two files except for signal strength. Am I out of luck here? How can it know that my headset is plugged in?

Any help would be great...thanks!
[Mogul, XV6800 ROM Development] mdiokwe:
Did you ever find a solution to this?
[Mogul, XV6800 ROM Development] 88fingerslukee:
I never did. I can't figure out how the phone knows the headset is connected when the registry never changes.
[General Questions and Answers] lotion:
I just have a quick dev question ... When uninstalling an application, is WM smart enough to perform a rollback or does it just iterate through all the installed files/shortcuts/reg entries and remove them?
[General Questions and Answers] egzthunder1:
I think it just deletes. I don't believe that WM is designed to rollback... then again, that is just my guess based on several years of using WM devices...
[General Questions and Answers] demonizator:
Is there a way to make the cab backup the replaced files and then restore them on uninstall?

Or at least overwrite the installed files with backup ones already provided with the cab?

Thanks.
[General Questions and Answers] jianwei87:
Where can download newest Cooking Kits and OEM Packages? I would like to using Blackstone to flash into Xperia X1.
[General Questions and Answers] egzthunder1:
You cannot just flash a rom from one phone into another (unless you want to brick your device). If you know how to port the roms, then just look into the phone's forum. Otherwise, if you like your device [highlight]do not[/highlight] flash your phone with another device's rom.

I hope I just prevented you from doing something you would otherwise regret.
[General Questions and Answers] jianwei87:
So how to join the programm into X1 ROM. Like i like the TF3D.
[General Questions and Answers] egzthunder1:
Look into the Development and Hacking forums [highlight](just don't post new threads with questions in there)[/highlight] since they have ported TF3D for several different devices. If I am not mistaken, your device is a VGA one with graphics acceleration so it should work rather well. Just look around some and you will find it. Good luck.
[General Questions and Answers] jianwei87:
but i would like to build my own ROM with blackstone or raphael programm in Xperia X1. So which Cooking Kit i should use. Like i like the TF3D or footprint i would like to build into my own ROM.
[General Questions and Answers] egzthunder1:
Search through this and see if you can find what you are looking for...

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

Good Luck!
[General Questions and Answers] jianwei87:
After i download and add the item i need in to the ROM and i build it by HTC ROM Tools? So is it done? And i can be flash on Xperia? If unsuccessfully will the phone brick?
[General Questions and Answers] egzthunder1:
Ask one of the cooks. I personally have never cooked a rom and honestly don't know for sure. What I do know is that if the base rom is not designed for your device, you will brick it for certain.

My recommendation to you would be to make sure that you know what you are doing (cooking a rom) before doing so. From what I have read so far, you do not seem to be too familiar with the cooking process (I apologize if it is not the case), but I would read a lot if I were you (the Xperia is a pretty expensive device to use it as a test bed).

Good luck to you!
[General Questions and Answers] jianwei87:
After i have cook the htc rom when it pop up the htc rom builder. I need to select the device as KOVSKY* so i can be flash into Xperia and modify?
[General Questions and Answers] afn691:
Problems:

1) I'm having some trouble to boot, as sometimes the registry is corrupted and my device can't load some of the apps listed in the boot list. I must enter in safe mode and later editing the registry, wait some time, and try again. The problem in the list disappears but sometimes I can make my device boot in standard mode and sometimes I must ask for Safe mode without an apparent cause (this is: I don't modify anything in my device and it boots or sometimes it decides not to boot). Is there any solution or problem related to this ?

2) A file named TaskBarAttachLog.txt appears in the root folder, and increases its size continuously till my device begins to have problems with the free space. Then, I delete it and it begins to grow up again. There's nothing related with this file - I could not find anything in any .INI file, any .CAB file, any registry key - and I could not find any information in the net. Does somebody know anything about it ?

My device is an official (not locked for any carrier) Herald with WM6.0. working with Simyo carrier. Pagepool to 8 Mb. OMAPclock to 228 or 240, depending of my stressed life.

THE QUESTION: Is somebody coming to Barcelona to the GSMA Mobile World Congress ? (I suppose it's difficult, as I read the price for the tickets...) I'm having lots of things to do in other things, but I live about 400 meters from the fair, and it will be a pleasure to shake hands with xda-dev's people.
[Upgrading, Modifying and Unlocking] dmitriy_n:
Greetings to everything, I ask the help! I search pinouts JTAG for ASUS P525 I can not find anywhere, who can will prompt?? I will be grateful for the given information
[Upgrading, Modifying and Unlocking] nothin:
try to ask there...

http://asusmobile.ru/board/index.php
[G1 Android Development] moussam:
Does anyone know the changes from sdk 1.0_r2 to 1.1_r1?

I tried using a jar compare tool to figure it out without much luck. I used jarc http://www.extradata.com/products/jarc/ .

Does anybody know of a better jar compare tool out there, preferably one that outputs to a file instead of the console like jarc.
[Mogul, XV6800 ROM Development] serfboreds:
I am updating today a replacement phone and wondered if any newer radios have been out there. I have not been posting for quite some time and don't see any posts and didn't see anything when I searched xda using google.
[Mogul, XV6800 ROM Development] neophyte.vii:
3.42.50 is still the latest and greatest!

Was disappointed with battery drain on 3.42.40, which is 'newer'.

Welcome back!
[Mogul, XV6800 ROM Development] drewcam888:
I don't have any battery drain problems with 3.42.40
[Mogul, XV6800 ROM Development] thecatkicker:
What about 3.37.78 from the new Verizon MR2 update?
[Mogul, XV6800 ROM Development] serfboreds:
Having some difficulty after flashing nue 2.47, where it just hangs on the "loading..." gray screen after bootloader tricolor screen. I will be reformatting card and trying from scratch, but this is weird to me as I have flashed a zillion times and never had this happen. Refurb phone is probably trash and will need to get another.
[Mogul, XV6800 ROM Development] unL33T:
When flashing anything via SD card I often have to give it a few tries for some reason. When installing 2.47 on at least one occasion I even had to reformat the card an extra time and put the file back on it again. I'm not sure why.
[Mogul, XV6800 ROM Development] serfboreds:
I believe that issue was related to the problems with getting around with the custom roms not working with aGPS. I posted a tutorial that fixed my issue. Not sure why it wasn't working but it was prob a bad TITAIMG.nbh file.
[G1 Android Development] superxnova:
first of all i would like to thank this forum and it's members, you have been a great source of G1 info for me, and i want to give something back :cool:.

this is a guide for installing fonts which will enable you to get rid of the annoying while boxes when you try reading something in a foreign language such as:

web pages

contacts

pretty much everything else

note that it does not alter your current English font, so no worries about font size not fitting buttons, etc.

this, of course, requires root access.

I haven't been able to find a comprehensive and full guide, so i made one:

1) download the DeJaVu fonts from here, they are freely licensed (so no worry about copyrights).

2) copy 'DejaVuSans.ttf' to your sdcard and rename it exactly 'DroidSansFallback.ttf'

3) start terminal emulator and type exactly (watch the Case) the following commands, followed by enter:

su (then wait for the superuser screen and press yes)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSansFallback.ttf
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
reboot

your phone will now reboot, and vualla! you have your native language displayed! no more white boxes! Ha Ha Ha!! :)

note: if the dejavu fonts don't support your language, just find a font that does, and follow exactly the same procedure.

hope this helps someone, because I sure needed it...

cheers! :cool:

note: you might want to make this a sticky
[G1 Android Development] h4ng0ver:
Hi there

Thank you so much for the guide

Will this font work for Vietnamese?

Thanks
[G1 Android Development] ahmad.yousry:
this will not support Arabic .. right ?
[G1 Android Development] h4ng0ver:
It works great for me(Vietnamese fonts).

Thanks a bunch
[G1 Android Development] funbacon:
These fonts 're different from Android fonts. Droidsans font family is a font pack which're specialy for Android phone.
[G1 Android Development] aacshar:
wont open dd cant file

i paste the DroidSansFallback.ttf on sd root, and have problem on the last sentence

dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf

its says the file cant find

any help thanks

root access on G1 jesus frekes Dev1 Rc33
[G1 Android Development] superxnova:
yes it will, enjoy

aacshar, try redoing it all over again, you probably mistyped some letter...

i have tried this several times and works like a charm, i am running jf1.41 RC33 also
[G1 Android Development] yochaigal:
Why can't JF put this in his releases, as a default font? I know that future android releases support locales, etc.... but why can't JF replace his release with this one so we don't have to redo this every time?

Thanks
[G1 Android Development] Pikkuhannu:
Something went wrong, now "su" wont work, only flash black, then denied or something???

What now???

Trying to flash again, don`t want to wipe...:(

E: Reflash and works again...

But no help my fonts :(
[G1 Android Development] ghassan99:
This will work for Arabic but the letters will be disconnected. I wrote about that solution in my blog a month ago:

http://dumpytips.blogspot.com/2009/01/arabic-on-t-mobile-g1half-solution.html

Read the comments if you are interested, we had an interesting discussion in there.

-Gus
[G1 Android Development] eladkatz:
I second the motion, JesusFreke - what do you say?

yochaigal said:

why not?
[G1 Android Development] a1t:
Success

This works great thank you!

Edit - Now that this is working, we must ask how can we undo these changes? - Thanks!
[G1 Android Development] superxnova:
you need to get hold of the original file, either by someone sending it to you, or by getting it out of an image.

these instructions just copy a file over an existing file, so use the same instructions again for the original font file.

JesusFreke: It would aid us all not native English speakers if you added this to your ROM. this is after all a feature. thanks :-)
[G1 Android Development] nathan.tran:
Thank you for your instruction. It's exactly what I need.

But my question is DejaVu Sans font comprises of 4 style: regular, italic, bold, bold-italic. The font has 4 files:

DejaVuSans.ttf

DejaVuSans-Oblique.ttf

DejaVuSans-Bold.ttf

DejaVuSans-BoldOblique.ttf

Why your instruction only use DejaVuSans.ttf file ? What if text in web page has italic, bold or bold-italic, how will it be displayed ?

Nathan Tran
[G1 Android Development] nathan.tran:
I figured it out. Android will use DroidSansFallback.ttf for anything that it cannot display.

Nathan
[G1 Android Development] eladkatz:
1.5 gmail LTR

Hi, in the new version of JF 1.5 i tried it and the LTR isn't working on gmail application

just an FYI
[G1 Android Development] colonel:
cheers m8. brilliant (works fine on my HTC magic 1.5)
[G1 Android Development] BolecDST:
Just one question. So if I install someone's rom that doesn't have polish locale in it, all I have to do is to -dd this font file and I will have polish language in my phone? Or is it just for web browsing? Thanks in advance for any reply.
[G1 Android Development] g1lovermas:
URGENT Pleeeeease

thank u for yr post but i'm sorry I dont understsnd the 3rd step...

3) start terminal emulator and type exactly (watch the Case) the following commands, followed by enter:

Code:

How to do ( start terminal emulator )???

And where i should type the code ????

NEED V.V. URGENT REPLAY

Thank u in dvance
[G1 Android Development] thihaz:
Terminal means command prompt in Windows.

1. go to command prompt (window + R , type cmd , press enter)

2. cd to your androidsdk/tools/ (cd C:\AndroidSDK\tools\)

3. type this without quotes 'adb shell'

4. copy and paste this in command prompt

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

5. copy and paste this in command prompt

chmod 4755 /system/fonts/DroidSansFallback.ttf

before you do this

dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf

unmount OR turn off your sdcard

and then copy and paste this

dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf

6. reboot

That's all.

I have installed HTC ROM following this guide

http://www.karrderized.com/romguide/

so i think mine is already rooted. So when I type 'su', no problem for me.

Thanks to the person who posted this awesome tricks.

Cheers,

thihaz
[G1 Android Development] ghassan99:
I have created a very small update file that will change the fallback font without all the manual steps. If you are interested follow the instructions in this post of my blog:

http://dumpytips.blogspot.com/2009/09/easier-fix-for-half-solution.html

I used the main DejaVu font which included multiple languages.

-Gus
[G1 Android Development] thihaz:
hi,

Thanks for the update.

But I use Myanmar unicode font which is not included in Dejavu.

Because after installing Dejavu font, when I visited Myanmar website, I still see the squares.

So What I do is I changed my Myanmar font's name to the one it is mentioned and install it. And it works :D.

Thanks anyway.

Cheers,

Thihaz
[G1 Android Development] ghassan99:
Let me know where I can find the Myanmar font, and I will modify the update file for you specifically. I think this is easier than doing the manual process, especially if you are going to change mods frequently like I do. You can just run this update immediately after you install any mod (that would be possible if you are using the CM Recovery Image), so the process can be faster and easier.

-Gus
[G1 Android Development] thihaz:
Hi,

Thanks for your help.

Download Zawgyi Myanmar Font here

Frankly, I have no knowledge about ROM or SPL or anything related to Android phone but linux. I know a bit of linux. So i follow this instruction and manage to install HERO ROM to my magic.

http://www.karrderized.com/romguide/

and also your font installation.

Now I start thinking to change it to other ROM as sometimes it is lagging although the UI and Flash are nice.

Do you recommend any ROM (fast and stable)?

Thanks,

Thihaz
[G1 Android Development] ghassan99:
Hi Thihaz,

I have created the file with the font you provided, please let me know how it goes. Its currently the first post on my blog (dumpytips.blogspot.com).

For me I tried several mods but I think the most stable and notable is CM Mods.

Good luck,

-Gus
[G1 Android Development] thihaz:
Hi,

Thanks. Sure will try it.

It would be great if you can upload the file into Mediafire or Zshare or other free file sharing than rapidshare as I can't download it from Rapidshare.

Cheers,

Thihaz
[G1 Android Development] thihaz:
Yeah. It works like a charm!!!

Thanks.

Thihaz
[G1 Android Development] uzibahar:
Hi,

Is there a way to add Hebrew fonts without Root ?

I dont know a lot about it but i think that is shouldnt be hard to add it maybe using one of the file manager from the market.

If someone know, please let me know...

Thanks,

Uzi
[G1 Android Development] raven911:
I installed the Dejavu font in order to get some extra languages, but then after replacing the DroidSansFallback.ttf, my Chinese language support no longer worked. I use the Google Chinese IME. Does anyone know if there is a way to get both languages working?
[G1 Android Development] yochaigal:
The newest CyanogenMod Rom (experimental) allows for both fonts. No need to move them over, either. It should be a stable release soon, but in my eyes the current experimental is totally stable. Give it a shot.
[G1 Android Development] raven911:
So the newest experimental Cyanogen Rom already has the DejaVu font built into it ?
[G1 Android Development] yochaigal:
To be honest I don't know what font set he used. All I know is that using his newest experimental version -- 4.1.11.1, and after a wipe I can read BOTH hebrew and japanese/chinese when before I could only read one or the other. Try it out. Install the cyanogen recovery, do a nandroid backup, Get CM updater from the marketplace, and upgrade yourself.
[G1 Android Development] eladkatz:
make a sticky

this is still the best guide for this issue - y not make it a sticky?
[G1 Android Development] yochaigal:
I agree.

It is also important to note the the first stable release of cyanogen with the fonts built in is to be released tonight or tomorrow.
[G1 Android Development] Remobero:
here is what i did and it worked perfectly for me

1 - i copied my orginal rom fonts from /system/fonts (just backup ur current rom then rollback)

2 - i pushed both DroidSans.ttf and DroidsSansFallback.ttf

3 - reboot

hope this would help :)
[G1 Android Development] zsidane:
Are arabic letters connected ?
[G1 Android Development] Remobero:
nope .. but it's a progress for me anyway n it worked on all native apps so far

ps if u want to view arabic sms with connected letters check Mirsal on the market .. it's the best afaik ;)
[G1 Android Development] sauudmir:
i opened the fonts site but there are many fonts there which one to download?
[G1 Android Development] WhiteFeather:
ya..

I've run into similar problem..

Koreans became square boxes in all of apps and browsers..

Can somebody help me undo the change I made following this instruction?????
[G1 Android Development] droidnikki:
downloading packages

I attempted to set up the hebrew font on my droid phone when I attempted to download the package to my sd card it said it was not supported by phone. Also is there a particular package I'm supposed to download for hebrew? How can I get the package onto my sd card?

Thanks for any help

Nicole
[G1 Android Development] ALLENBERK:
Should the commands work on a samsung moment

Hi and thanks in advance,

my samsung moment has been rooted and the terminal emulator seems to work..I can do su enter and reboot work as commands and my phone reboots.

however this part (mount -o rw,remount -t) doesnt seem to work

Is the code different for a samsung moment?

thanks
[G1 Android Development] yochaigal:
The mtdblock might be different on the samsung moment, I'm really not sure!

In this guide:

http://forum.ppcgeeks.com/showthread.php?t=96237&page=6

They say to mount /dev/stl5 instead, so I guess the device node is different!
[G1 Android Development] ALLENBERK:
Do I need different commands for a samsung moment or should it work the same? (my phone is rooted and follows commands like su enter, reboot enter)

but this doesnt seem to work
[G1 Android Development] yochaigal:
The commands should be largely the same, the primary difference is the DEVICE NODE of the system partition --- namely /dev/mtdblock3 is not gonna work for you. If you look at the above link, it is listed as /dev/stl5, so it should look something like:

mount -o rw,remount -t yaffs2 /dev/stl5 /system

so try that out.
[G1 Android Development] ALLENBERK:
I tried it

I get back

Usage: mount [-r] [-w] [-o options] [-t type] device directory

any ideas? thanks
[G1 Android Development] nephron:
To be honest, this is much easier done with adb.

adb remount
adb push C:\DroidSansFallback.ttf /system/fonts/DroidSansFallback.ttf
adb shell reboot

there you go. That is if DroidSansFallback.ttf is placed on your C drive

if it gives you that it cant find /system/ do the following

adb remount
adb shell
cd system
cd fonts
ls (this will show you what fonts are in the fonts folder)
exit

then follow the above commands. That should mount the fonts folder. :D
[G1 Android Development] j8dailo:
anyone get chinese to work? i can view chinese everywhere else just not song titles...some shows up but other just bunch of random symbols
[G1 Android Development] vincom2:
That sort of thing happens on my computer too. Are you sure it's not just ID3 tags with messed-up encoding?
[G1 Android Development] xaueious:
I have Bitstream cyberbit installed to support CJK languages.

However the fonts are not very readable on my G1.

What's a good CJK font that displays well for the G1? The default Cyanogenmod font is good for Chinese, but some Japanese characters seem to be broken. I haven't tested Korean, but I don't think that was working right either.

Edit: workaround by flashing the Docomo DroidSansJapanese.ttf as DroidSans.ttf

Fixed CM and Super D
[G1 Android Development] MilkPudding:
Same problem with Japanese here. Is there a way to uninstall the Dejavu fonts?
[G1 Android Development] ALLENBERK:
when i put write adb in the terminal emulator of my rooted samsung moment phone it doesnt recognize that code

do I need to somehow put android sdk into my phone if so how do i do that?

(I have been trying to get my samsung moment to have foreign language fonts)

thanks in advance
[G1 Android Development] ohadbenita:
Works great for me, thanks !
[JAMin, XDA Neo, S200 ROM Development] red_net:
Amigos procuro uma rom para um qtek s200 em portugues, agardecia muito mesmo q alguem me dissesse onde arranjar, e ja agora eu tenho visto q existem roms para o qte s200 g3 e g4 podia me dizer a diferença delas? obrigado
[JAMin, XDA Neo, S200 ROM Development] Rioreininho:
Hello red_net, download this ptg rom on the link below, is the Portuguese rom I use now.

http://rapidshare.com/files/192001164/nk.7z

To find out if your device is G3 or G4 look at this Link.
[Touch Diamond, MDA Compact IV General] frag2:
When I turn on my HTC TD, it always ALWAYS gives me this connection setup thing about my operator not being recognized. How do I disable that?

Thanks
[Touch Diamond, MDA Compact IV General] frag2:
anyone know how to turn off that "unrecognized operator" error?
[Touch Diamond, MDA Compact IV General] elcom:
Go to: settings> connections> connection setup. Check what is written there under country and operator and see if it matches your details. Most likely you are using an operator that the setup cannot auto config with. If you want it to stop popping up all the time click menu and uncheck "enable auto configuration".
[General Questions and Answers] santosru:
Hi,

Help needed to restore GSMFSS.NB0 cause flash stops with message,

"GSMFSS at 0x13000000

GSM Doesn't exist

Spin Forever

Use (format All) instead."

Is there a way to format all rom?

Thanx