yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] chul:
Hey,

I'm currently using LeeDroid 1.8, but I'd like to replace the Sense messaging client with the Froyo 2.2 stock client.

Is there any way to get this done?

The Modaco ROM builder seems to support this option, however, I wasn't able to find the APK anywhere on the web.

Thanks.
[Hero CDMA Q&A, Help & Troubleshooting] DirtyShroomz:
http://www.dailytech.com/Reports+iP...n+Apple+Antenna+Chief+Canned/article19289.htm
[Hero CDMA Q&A, Help & Troubleshooting] t12icky0:
until verizon and sprint post it themselves i wont believe it. Besides i like my hero. Iphone is good for apps and stuff but its to big.
[Vibrant General] rhcp011235:
Hey Guys,

Whats the best tools for building the kernel? roms? rom kitchen etc.

For a macbook pro 17 10.6.4.

I seem to have problems with everything.

is there a tool-chain? for osx?

Thanks!
[Vibrant General] Alex530:
Wrong section buddy. Ask a mod to move it to general. :)
[Vibrant General] rhcp011235:
Honestly,

I dont see why this should go to general. Its about dev work. Hence in the android dev talk.
[Vibrant General] byt3b0mb:
i agree, this is a development related question. I too would like to know where/which toolchain to get.

any help is greatly appreciated.
[Vibrant General] vinnydakid:
Development is for when you actually developed something.
[Vibrant General] junkdruggler:
vague questions about development in general on the android platform should go somewhere in here...

http://xdaforums.com/forumdisplay.php?f=564

The vibrant section isnt the only subforum around here...

This section was made specifically for posting developments to the vibrant platform...

edit: oh yeah forgot about chef central all your cooking needs...

http://xdaforums.com/forumdisplay.php?f=611
[Vibrant General] rpcameron:
If you're looking to do kernel hacking or just build a system, then all you need is the command line. All of the tools in the SDK are written to be used this way, but if you're going to be editing source files, you may want a decent text editor (I like TextMate). If you're uncomfortable with the command line, then you probably shouldn't doing that kind of development.

For applications themselves, Eclipse is probably the way to go. It's a bit bulky (and not the nicest IDE), but it is quite competent and gets the job done. Plus, there are the ADT (Android Development Tools) that allows for graphical management of your SDK targets, as well as an AVD editor for setting up different emulator environments and one-button access to DDMS.

(While this question may have been best posted in the general Android dev section, I don't see any reason why it's not development related and should be in general or Q&A.)
[Vibrant General] byt3b0mb:
thanks rpcameron - we appreciate the info!

and vinnydakid why bother posting if it doesnt answer the question or provide direction. your comment just took up space...
[Vibrant General] byt3b0mb:
sorry...double post...
[Vibrant General] rhcp011235:
Thanks for this info.

I already use eclipe with the android plugin. That's how i was able to write the one click root apk.

But, ive tried a few rom kitchens. and they dont seem to work.

Also, Looking for a deox that will work on mac. For both APK/ROM.

Also, Looking to see how to build a kernel on a mac.

I think i need a working tool-chain to cross compile.

If someone can point me to it.
[Vibrant General] Arr MiHardies:
I haven't used it for android development yet, but xcode is an awesome application for programming on the mac. And best of all, not only is it free, but it ships on every osx install disc in the extras section.

Sent from my Vibrant using the XDA app.

Typos, incorrect words, gibberish, and other nonsense brought to you courtesy of Swype.
[Vibrant General] jroid:
To build a kernel from source on a mac, you're going to need to dual-boot linux (ubuntu seems to be very popular among devs) set up your dev environment and run a make (compile)
[Vibrant General] rpcameron:
I'm pretty certain that OS X can cross-compile Android's linux kernel. (I'm not 100% on this, but pretty certain. If it's not, a dual-boot is not necessary: I use a VM in VirtualBox.) However, if you're compiling Android sources (and AOSP), 10.6 is not presently supported (but it is possible, with work). Also, you need to use HFS+ with case-sensitivity—if your drive is not formatted for a case-sensitive filesystem, then building in a disk image is advisable.

Smali/baksmali both run on a Mac, so if you need to de-odex there is no problem there; but they are command line programs.

As far as a ROM kitchen: Call me crazy, because perhaps I'm in the minority here, but a "kitchen" is not really development in my eyes; it's putting a bunch of files into a zip file (which can be done on the command line, again), and perhaps editing a few text and/or XML files specific to the hardware.

In the end, other than ensuring your machine meets the requirements necessary to build the source (and you can find them at the source website, make sure to check the "Setting up your machine" section), the Mac already has all of the programs necessary. From what I've seen of most of Google's Android developers, many (if not most) use a Mac.
[Vibrant General] rhcp011235:
At the moment MacOS 10.6 ("Snow Leopard") is not supported.

:(((((
[Vibrant General] jroid:
well I meant vm when I said dual-boot. I'd recommend just to make a decent size partiton on your drive and install a linux distro. I'd rather make compiles on the full OS rather than compiling on a vm
[Vibrant General] rhcp011235:
I think im just going to wait for my netbook on WED. Macbooks only have 4G of ram. MAX. I hate VM'ing. slows everything down.
[Vibrant General] rpcameron:
After thinking on it a little, I realized the reason cross-compiling is an issue is only because of the processors, not because of OS X/xnu versus Linux. Cross-compiling is building for one processor on another—in this case, building for ARM on x86.

There really is no issue of OS X/xnu versus Linux because both are fully POSIX compliant; as long as the same build tools are used in the toolchain, the only issue is having an ARM toolchain running on x86. Don't know what I wasn't thinking clearly before, but there's the core of the matter.

Of course, the original caveats stand: building on 10.6 (Snow Leopard) is not supported, and the build cannot be done on a case-insensitive filesystem (which is the default for OS X). But git/repo and the rest of the build environment runs without a problem on 10.5, therefore there is no problem building Android/AOSP on a Mac. (Again, "cooking a ROM" is no problem regardless of your OS X version or filesystem, because nothing is really being built, only packaged.)
[Vibrant General] atinm:
The kernel and even Eclair build even with Snow Leopard but you have to change some make files and fix some code. Google "android eclair 2.1 snow leopard" and you'll find a few links that tell you the changes needed. You also need to make some changes to build Eclair using the default Java 6 that comes with Snow Leopard - google it.

The toolchain for the kernel is Code Sourcery - both the 2009q4 and 2010q1 versions work. Also, you need to make sure that your disk is case-sensitive - or build a disk image that is case-sensitive and mount that, it is what I do. Again, google is your friend and there are some pages that tell you exactly what you need to do to set up the environment.

For development using the Android SDK, the installation page for the SDK tells you how to set it up on the Mac. You would use Eclipse for development. I tend to use emacs when in the Android code proper, while I use Eclipse for App development.

ROM kitchens - beats me. That's not development :-)

-Atin
[Vibrant General] rhcp011235:
I read the 'thats what i do'

any chance you can share with me a pre-done version? :)

I really hate to go through all the work if its been done. (reinvent the wheel)

THANKS
[Vibrant General] atinm:
I am assuming that you mean to build the kernel and eclair, not just do applications.

You will need to do *some* work if you want to build the kernel and eclair using Snow Leopard because you do have to set up your environment - read the http://source.android.com/source/download.html setting up your machine page to get that squared away and also install the code sourcery toolchain 2010q1 build. The changes in the eclair source are easy - use www.justinlee.sg/2010/06/22/compiling-android-2-1-eclair-source-on-mac-os-x-10-6-snow-leopard/ and follow the steps (there really are just two changes).

If you just want to build apps, then you don't need any of this and just need to install the SDK.
[Vibrant General] rhcp011235:
Thanks! :)

I already build apps.

I am just not familer with doing kernel/src. and i want to learn. I am a active dev. I know C/ASM/C++/C# and java is kinda like it.

Plus the kern/src is all C :)
[Vibrant General] atinm:
Cool - then just following the steps in the links I gave will work for you.

best,

-Atin
[Vibrant General] rhcp011235:
Many thanks. You have been most helpful.
[Vibrant General] Disconn3ct:
Awesome :)

Weird question - have you built and booted a kernel for vibrant? Every image I build shows the AT&T splash screen (using the samsung t959 source bundle) and then hangs..

+1. Been using my work desktop (via vpn) to do kernel builds, and a brain-damaged xp vm to flash them. At least now I can eliminate the vpn step :)
[Vibrant General] BitVenom:
Dev Work

I wanna chime in here:

I do 'pro' Android dev work, my company integrates various things into android builds for handset makers, carriers, etc.

Without _any_ doubt, the strongest recommendation I can make it that you run Ubuntu under a VM on your Mac. I spent weeks messing with the 'how to' guides for Snow Leopard. They are a mess, and even as Froyo made it a _bit_ easier, by far the quickest, cleanest, and most refined way to go is Ubuntu. Plus, then I have a VM with all of my Android work, which means I can back it up, shuffle it onto other machines, etc as needed.

A 100% raw repo sync of Android (froyo) will build first-time (as long as you pull the vendor folder correctly using your device or the 'net) on Ubuntu with a tiny bit of system lib/java updating.
[Vibrant General] Disconn3ct:
Absolutely, linux is tons better - if you have the disk/ram/cpu all in one place. Unfortunately, my options are a tablet/convertible laptop (usually off, when its not running w7 or ubuntu or jolicloud or... and its not got nearly the ram), the macbook pro (plenty of cpu, low on disk and ram is always -well- over capacity - the wrong webpage causes swap thrashing..) and the remote mess I mentioned above.

The good news for me is, I'm not planning to do many full system builds (and when I do, the macbook is fine - shut down browsers, etc and run it overnight, let it use as much of the 4 gigs as it can get) but kernel builds are a different story..

(Also, as far as backups, mac android dev needs a case sensitive fs anyway. So the simplest answer is to use a disk image, which can be backed up etc just like the vm could. No advantage there :) ..)
[Desire General] dougsdir:
if i press the Phone button it takes me to the dial keypad with the Call History in the background. Is there a way to make it default to Contacts instead as this is nicely sorted into alphabetic order?
[Desire General] Jabbafat23:
If they are contacts you dial often, they will be the first results that will appear when you start to type either their name, initials or number.

Otherwise leave the people app on your home screen and use that.

I don't know of any option to do what you want unless its through root which I haven't done.
[Galaxy S I9000 Themes and Apps] pharaohdk:
Do anyone know of an app that will make it possible to creat folders on the homescreen where you can have different stuff in, like one for puzzle games, actions games etc.

And anyone know of an app that keeps track of how much data you have send/recived so I can keep track of when I reach the limit im paying for ?
[Galaxy S I9000 Themes and Apps] mvenneker:
I dont know if u can create folders on your homescreen.

about the 3g traffic, i recommend 3g watchdog. u can download it from the market. it monitors your traffic :-)
[Galaxy S I9000 Themes and Apps] dakine:
hmmm: long press>folders>new folder
[Galaxy S I9000 Themes and Apps] pharaohdk:
haha doh ^^; thanks a lot.

ok thanks :)
[Galaxy S I9000 Themes and Apps] Beards:
Yes.... Been using this method since day one.

I have one page solely devoted to Folders.
[Galaxy S I9000 Themes and Apps] sunwee:
you can use App Organiser (free from Market), its more customisable and powerful than the standard folders. basically you can label your apps as certain category (or even more than 1 category), then you create a shortcut for that category. when you click on it, it opens up like a normal folder. besides this, another advantage over standard folders is you can customise the icon.
[Galaxy S I9000 Themes and Apps] coooolboyz:
App Organiser

. . . and it also allows you to export and import the current settings. Very handy incase of format and re-install of firmware.

Check it out at http://www.appbrain.com/app/com.google.code.appsorganizer

:)
[Galaxy S I9000 Themes and Apps] Highl1:
Is there an app that can do the similar, but in the application menu? (not on the home screen)
[Galaxy S I9000 Themes and Apps] sg10:
sorry to bring up month old thread, but did you find application you looking for ?

I'm looking for the same thing
[Galaxy S I9000 Themes and Apps] Will.1:
My turn to bring up the month old thread but i'm also really interested in having folders on the application menu (touchwizz)

Would be very helpful
[Desire General] Tander_ZA:
Howzit guys,

I would like to use navigation on my phone but the Google Nag software says South Africa is not supported. Is there anything I can do to make other work? I am running a rooted Desire on custom ROM.

Any help would be great thanks! Just want to use my GPS on this awesome phone!
[Desire General] bloosteak:
http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=737119
[Desire General] nasimdejai:
I tried to flash a custom 2.2 ROM yesterday onto my unlocked,unbranded and rooted Desire yesterday but it failed and the SDcard no seem not to be receiving files download either images or applications.Then I flashed the original 2.1 ROM back to restore the Device but the SDcard still displays 3.66GB as total space and available space even when I download apps.What can I do to restore the SDcard to the way it used to respond to downloads?it seems to be installing onto Phone's memory instead
[EVO 4G Q&A, Help & Troubleshooting] imiddlet:
this has happened on pretty much every 2.2 rom i've tried:

even with auto-syn and background sync turned on, sometimes when i turn on screen, its showing the sync icon, and when i go under accounts & sync, it has cancel sync.

isnt the point of turning off background syncing, to make it so it doesnt sync unless told?

anyone know of a way to fix this? ( Current rom is dc3.5 final if it matters, has happened on others too )
[EVO 4G Q&A, Help & Troubleshooting] jwterminator:
Mine was doing that for awhile when I was using advanced task killer. Atk was killing the sync process and causing it to restart. I haven't been using a task killer for a few days and I haven't had an issue. For what it's worth, the new fresh rom didn't have the sync problem like all the other roms I tried.
[EVO 4G Q&A, Help & Troubleshooting] imiddlet:
yeah, i stopped using a task killer with 2.2 since it wasnt needed anymore.

in 2.1 i never had the issue, it seems something is still being silly in 2.2 ... I dont use sense ( ban it using dcconfig ), because i think its downright ugly... maybe its time for me to try cm6 nightly, but i wonder if i'll have the same issues with that.
[Desire Q&A, Help & Troubleshooting] nasimdejai:
I tried to flash a custom 2.2 ROM yesterday onto my unlocked,unbranded and rooted Desire yesterday but it failed and the SDcard no seem not to be receiving files download either images or applications.Then I flashed the original 2.1 ROM back to restore the Device but the SDcard still displays 3.66GB as total space and available space even when I download apps.What can I do to restore the SDcard to the way it used to respond to downloads?it seems to be installing onto Phone's memory instead
[Desire Q&A, Help & Troubleshooting] mtmcndrw:
Hi there,

I installed a custom rom yesterday.

Prior to installing I prepared my SDcard in the following manner.

I started up an Ubuntu LiveCD session then used gparted to format my SDcard.

1. Format the whole card as FAT32.

2. Shrink the FAT32 partition by 512MB to leave 512MB at "END" of SDcard.

3. Make new EXT3 partition in the spare 512MB at end of card.

I then put all the necessary files for the custom rom on to the SDcard and installed the rom.

Everything seems to be working great as applications are being installed to SDcard.

Matt
[Galaxy S I9000 General] masi0:
is there any script to odex the rooted ROM?:confused:
[Galaxy S I9000 General] dseo80:
there is a script you can modify on the G1 Boards. (i assume you mean deoxed?)
[Galaxy S I9000 General] Daneshm90:
There is but ull lose theming capabilities.
[Galaxy S I9000 General] masi0:
i dont care :)
[Galaxy S I9000 General] Daneshm90:
Ok then try this

for i in /data/app/*.apk
do
odex=`echo $i | sed -e 's/.apk/.odex/g'`
echo "dexopt-wrapper $i $odex"
dexopt-wrapper $i $odex
done

Then do same but instead of /data/app do /system/app

Once done clean ur dalvik-cache directory and reboot.
[Galaxy S I9000 General] masi0:
thx will try tonight :)
[Galaxy S I9000 General] SquidgyB:
Is there a similar script which will de-odex the apks in a rom?
[Galaxy S I9000 General] Daneshm90:
De-odexing must be done using smali/baksmali. Refer to my signature "Auto Deodexer".
[Galaxy S I9000 General] SquidgyB:
Thanks Daneshm90
[Desire General] n-j-f:
I have a shortcut to each of my mailboxes on one of my homescreens. When I created them, they showed the number of unread emails as a small number on the mailbox icon. The number never changes and does not get updated when new emails come in or are deleted. Is there a way to show the current number of unread emails on the icon?

TIA
[Galaxy S I9000 Android Development] Adevem:
this is the prompt.

The process com.google.process.gapps has stopped unexpectedly. Please try again. [Force Close]

i'm currently running on a stock JM5. flashed using Odin with a re-partition followed by a full wipe off the recovery screen. ):

anyone know what's going on or if there's any fix?
[Galaxy S I9000 Android Development] sunwee:
seems like this problem started only the last few days. google it...many users using different phones reporting this problem. could be server related.

here's one link

http://www.google.com/support/forum/p/Google+Mobile/thread?tid=7fbf3c640ffa9b37&hl=en
[Galaxy S I9000 Android Development] kunsoni:
I just bought the phone last week and had the same problem.

I also did the method mentioned in above link by moving all inbox mail to temp folder and then refresh the gmail in phone. But when I transferred all mail again to Inbox, problem started again. Everytime I open gmail i got force close.

But then I flash Paul's Froyo rom with Odin and now the problem is gone and gmail is working without problem.
[Galaxy S I9000 Android Development] Adevem:
I thought of flashing paul's rom but after trying the stock jp3, meh lol. too much bugs, maybe wait for a cyanogen stable release for the galaxy s.
[Galaxy S I9000 Android Development] kunsoni:
I don;t think we'll cyanogen on galaxy s as I've heard from someone in this forum that they've abandoned the work as he broke his vibrant.
[Galaxy S I9000 Android Development] Adevem:
damn. heard SO much good stuff about it. ah well, a stock froyo soon then samsung.
[XPERIA X10 General] Zenghelis:
I'd read in some thread here about this app, y tried it. But it doesn't seem to work properly in auto-switch mode. Data turns on again when tha screen is off.

(I've unistalled switchpro widgets btw, but still the same)

Does it work fine for anyone?

Thanks in advance
[XPERIA X10 General] Zenghelis:
Just found the solution: in "APN type--Default,supl" just deleted ",supl" and left "default" and now works fine.
[XPERIA X10 General] MarylandCookie:
Where exactly is this information? I had the same problem with Data on Demand so i uninstalled it.
[XPERIA X10 General] TechGuru_x10:
Settings wifi mobile networks apn edit by pressing four squares.
[XPERIA X10 General] MarylandCookie:
Ok.. found it... :)
[EVO 4G Q&A, Help & Troubleshooting] CrazyFoool:
Posting from my phone so please excuse me if its widely known. My phone is rooted. What do I need for Usb tether? My desktop current has no internet bc I just moved. I'd like to plug my phone to it and tether off its 3g. I tried to search the market for Usb tether but none of the options worked for our evo. Thanks in advance.

This desktop has no WiFi card so wireless tether will not work. No Bluetooth either.
[EVO 4G Q&A, Help & Troubleshooting] Kornsaq:
Use easytether. I think you will have to use the paid version though.
[EVO 4G Q&A, Help & Troubleshooting] sombdy:
easytether works great! The free version allows non-https web. You have to upgrade to the paid version to include https for sights where a login is needed like Facebook. It's $9.95.

Pda-net works as well and is a free trial with complete web access. However, after the trial expires you have to pay $20 to purchase the app. Sucks!
[EVO 4G Q&A, Help & Troubleshooting] fldash:
If you know how to use proxies, you can use Tetherbot (Google it), it's free and supports basically everything connection-wise (including HTTPS). However you need to know how to setup a SOCKS 5 proxy.
[XPERIA X10 General] VoidRunner:
Guys, maybe a bit of stupid question, but...

When I power on the device, without a sim, there's no menu, just a red cross for the emergency calls. And that's all.

Is developers from SE mentally retarded for not providing offline operating mode, or all others mobile brands (htc, nokia, siemens...) are stupid that they allow users using the full capabilities of their gadgets even when there's no SIM inside it?

Thinking that 1GHz of CPU WLAN,GPS,BT etc... is far more than simply a low class mobile handset made just for in/out going calls.

And about the fonts? There's no option changing the size.
[XPERIA X10 General] Tjotte:
Is this really a SE problem and not Android related then? I've not looked into the matter as of now couse i'm on the bus. But i know you can do what you ask on WM phones, so this might be an Android error.
[XPERIA X10 General] VoidRunner:
I've noticed this isue for all of SE phones (Not Working Without a SIM!). It's a kind of tradition, or a company policy for SE to lock their phones with a sim card.

Nexus One could be used without a sim, as most of the HTCs even under android. For windows mobile I am sure that it's ok without a sim. It'll take ages for SE developers to rewrite the kernel instructions on WM to lock it for SIM.
[XPERIA X10 General] visitador02:
Don't use an Android phone without a sim card if you want paid apps appear in the Android market. Otherwise you will only have the option of the free ones.
[XPERIA X10 General] VoidRunner:
I have found something about the problem:

android-tricks.blogspot.com/2009/01/using-adp1-without-sim-card.html

Maybe it is usefull and for SE X10i.

May I ask some one to test it, 'cause I still can not install phone drivers.
[XPERIA X10 General] jasonvw:
Get the phone unlocked and you will be able to use it offline. When I got my Rogers branded one, it was doing the exact thing which really sucked cause Im not with Rogers. So once I unlocked it, you can use it offline.
[XPERIA X10 General] Tri3Dent:
There's an app on the market called "wosim" which allows you to use the phone without a SIM. I know this works because my friend downloaded and used it. I was like, what app is this? and he showed me..
[XPERIA X10 General] uabtodd:
Unlock and or debrand it and it will work fine without a sim. Mine does