yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ChainsDD:
The apk files in the OP contain the dialer that the screen shots are taken from. you must download and install one of those apk's over your Contacts.apk. Cyanogen said he will include this in his next release, not his last one.

lol, So that's a feature request then? Nifty backgrounds behind contact names? I'll get on that tomorrow just for you. :p
[G1 Android Development] zimphishmonger:
delete 10char
[G1 Android Development] mgorman:
When you scroll the side bar in the contacts list, the alphabet is all screwed up and so is scrolling through the list
[G1 Android Development] sir*mez:
great job on this. i really like this innovation!!
[G1 Android Development] nephron:
omg you are amazing! I asked for a Google Voice version and it was made like 2 days later. Thanks for listening bro! This works great! :D
[G1 Android Development] latinlegacy:
aww this is fc on me im on 4.2.7.1

man it worked till i rebooted..

:(
[G1 Android Development] Mi|enko:
Is there any way to edit the number for the Voicemail button? I personally don't use T-Mo's VM, but youmail instead. It's not too big a problem, as I have youmail in my contacts and just create a shortcut for that, but it'd still be a pretty tight option.
[G1 Android Development] pablizzo:
Great job, like how you were able to check for T-Mo visual Vmail or have the GV version. I dont know how many would want this but, would you be able to make a modified version to check for PhoneFusion's Visual Vmail? I was never satisfied with the voice quality of T-Mo's app. Thanks for your hard work, like the Eclair call list =)
[G1 Android Development] MontAlbert:
edit... ooops broke it by theming somehow- doesnt like optimising?...

yes didn't like optimising:

anyone want to try it.....

editedContacts1.1.2tmob.apk

and matching updated Phone.apk:

editedPhonev22orig.apk
[G1 Android Development] Zei:
What about adding the regular and bluetooth call screens

from Android 2.0 stock theme for AOSP 1.6 by djengizz

I think it would be a lovely addition to an already great apk
[G1 Android Development] kewlguru:
Wow, that was quick!

I just finished pushing it into the phone. Used it a couple of times. No issues seen so far. Love the icon on the right side!

Saw on other posts that this will be standard on CM. Thats good news.

Thanks for the enhancement.

/Ash
[G1 Android Development] cdw9800:
1.1.2 giving me fc like last time with 1.1.1 maybe a bad upload?

update: when i reverted back to 1.1.1 because of the fc i cant make calls when ever i click dail or click on a contact it fc
[G1 Android Development] latinlegacy:
tried them all and they all fc on me ugh hellllllllllllllllllp
[G1 Android Development] eessel:
okay..this is how i installed mine, and i haven't gotten any fc's or anything. Hope it works for you. And this is all done on terminal emulator from the phone. So here it goes:

First, download whichever Contacts.apk you want from the OP, and then place it on the root of the sdcard. Then in terminal emulator on your phone, enter

$su(hit enter)

#mount -o rw,remount /dev/block/mtdblock3 /system(hit enter)

#cat /sdcard/Contacts.apk > /system/app/Contacts.apk(hit enter)

#reboot

and there you go! you should have it, no problems. Let me know how it worked out for you.
[G1 Android Development] fit333:
ok..everything seems fine (non-gv version) but i get an FC when call (send pressed) is placed..bummer.
[G1 Android Development] downtrodn:
Cant type a 3 after mtdblock in terminal, what am i doing wrong?
[G1 Android Development] eessel:
I don't know. You should be able to. Just open up terminal emulator. It should have the dollar sign. And then slide open the keyboard.

(You should do all this with the slide out keyboard)

Then type: su

then you hit enter on the keyboard. It should come up with a pound sign now.

then type: mount -o rw,remount /dev/block/mtdblock3 /system

then hit enter

then type: cat /sdcard/Contacts.apk > /system/app/Contacts.apk

then hit enter

then type: reboot

and then hit enter again

It should then say 'reboot returned', and then reboot. When it reboots, you should have the eclair dialer working. And remember that you have to put the Contacts.apk file on the root of your sdcard. let me know if you're still having problems
[G1 Android Development] ChainsDD:
Anyone having FC issues, I really want to fix them. If you can run 'adb lolcat' on your pc before you duplicate the FC, and capture the last FC part it'd be a huge help.
[G1 Android Development] eessel:
I'm guessin' you meant 'adb logcat'. haha! :p
[G1 Android Development] mgorman:
chains, the scroll bar bug is caused by xenio's contact list mod, where it puts the picture next to your contact. Is there a way you can remove this?
[G1 Android Development] downtrodn:
Forgot to mention, i have a MT3G!
[G1 Android Development] ChainsDD:
I use lolcat :p They both work, I guess someone up at google has a sense of humor.

I haven't noticed and issues on my mt3g, or the wifes g1. Are there more people experiencing it? I can disable it, but I want to get more opinions. If we can't agree, I'll see if I can't look into the problem deeper.
[G1 Android Development] dbertoli:
the new v1.1.2 contacts has .zip extension

I am a noob so please forgive me. I downloaed the new version and it has a .zip extension. I checked the google voice one and it has a .apk extension.

is this a problem?

should I just rename to contacts.apk?
[G1 Android Development] ChainsDD:
That's strange. I'll look into my server config about that... But anyways, yes, rename it to be Contacts.apk.
[G1 Android Development] eessel:
yeah..you can use a file manager on your phone to do that once it downloaded. And if it helps, ChainsDD, I am not having problems with the scroll bar. Everything workin' just fine for me here. My specs are in my signature.
[G1 Android Development] Casao:
Very nice, glad to see this being ported back.

Is there any chance of getting the contacts popup bit ported back? I used a 2.0 rom for a few days and that's really the only thing I miss. I'm sure it's fairly complicated, but it would be amazing.
[G1 Android Development] ChainsDD:
You've found my secret :o. That's the ultimate goal here. I first had to try my hand at something small, then work bigger. It's gonna take me some time to get QuickContact backported, and I'll only be able to deal with it inside of this apk (adding anything to framework-res can cause issues...) but I will be starting on it very soon. :D
[G1 Android Development] Wysie:
ChainsDD: Just a suggestion, I don't use voicemail, is it possible to have the button change to "add to contacts" instead? I might give it a go myself later ^^. update you when i do but i think you will do it faster :D.
[G1 Android Development] ChainsDD:
I do like that. I can move voicemail back up to the 1 (long press just like every dialer before). I think I'll give that a go. Unless there are major objections...?
[G1 Android Development] Wysie:
ChainsDD: I suggested that because for now we need to press Menu in order to add to contacts. Also, there's a check in that if no number is entered, pressing menu will not have any effect. If the button can be made like that it'll be awesome. Maybe it can be greyed out without any number, and when there's a number it'll not be greyed out. I'll try to make some images for it? :)

Also, with regards to what you said. I think the ideal solution would be to have a settings panel where people can choose what the button should be/do, with the following:

"Google Voice"

"T-Mobile Visual Voicemail"

"Add to Contacts"

The list goes on :P
[G1 Android Development] _Kyros_:
Is there any way you can change the pull-up Dialer buttons (during a call) to the way the regular Eclair Dialer looks (separate) because their still bunched up, otherwise works and looks great, thanks.
[G1 Android Development] Wysie:
_Kyros_: I think that's in Phone.apk, and cytown's latest update should have it. I might be wrong tho.
[G1 Android Development] _Kyros_:
Oh ok, I was just looking in his thread and getting ready to install, thanks.

Edit: Just checked Cytown's Phone.apk hack and it didn't change the pull-up Dialer during a call
[G1 Android Development] latinlegacy:
didnt work on my mytouch didnt even install
[G1 Android Development] mgorman:
Chains, can you tell me how to disable it? Thanks
[G1 Android Development] latinlegacy:
Thank you for using Better Terminal Emulator Pro

/ $ su

/ # mount -o rw,remount/dev/block/mtdblock3/system

rootfs on / type rootfs (ro)

tmpfs on /dev type tmpfs (rw,mode=755)

devpts on /dev/pts type devpts (rw,mode=600) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k) none on /dev/cpuctl type cgroup (rw,cpu)

/dev/block/mtdblock3 on /system type yaffs2 (ro)

/dev/block/loop0 on /system/modules type squashfs (ro)

/dev/block/loop1 on /system/xbin type squashfs (ro)

/dev/block/mtdblock5 on /data type yaffs2 (rw,nodev)

/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)

/dev/block/mmcblk0p2 on /system/sd type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)

/dev/block/mmcblk0p2 on /data/dalvik-cache type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)

/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/ # cat /sdcard/contacts.apk > /system/app/contact.apk
[G1 Android Development] Wysie:
ChainsDD: I've made a version that changes the voicemail button to add to contacts instead, but I did not use preferences or anything (not too sure how to do that), and commented out some of your code instead. I'm trying to make some images now to go with it, and will upload them as soon as possible (source and apk).

Update:

Source uploaded. Sorry I didn't do a patch or anything, not very familiar with it. Even worse is GitHub :X. Still learning. Anyway, I've added a comment "Wysie_Soh" to all the code I've added in, and "ChainsDD" for the code I commented out.

Update #2:

Fixed a bug. Uploaded apk as well (please unzip it to get the apk file, and then push it as usual). I've also replaced "ic_dial_action_voice_mail.png" in drawable-finger, and have it attached as well. Added a screenshot as well.

ChainsDD: It would be awesome if you could add in a settings panel :P. I would love to but have yet to figure out how.
[G1 Android Development] Kryogen:
http://xdaforums.com/showthread.php?t=582508

mind merging both projects? ;D
[G1 Android Development] xenio2000:
As I said before only the Photo in contacts is already here, because this version is based on the CM mod.

What about the "advanced" feature on Call Log, thorse are only in the Geesun Contacts.apk, but it is only for chinese, I hope Geesun will find the time to remove the chinese parts.

Xenio
[G1 Android Development] perdid0:
here is the logcat from my phone. the ap was working awesome till this morning, when someone called and my phone started vibrating and wouldn't stop until i removed the battery. i can no longer make calls. i have tried uninstalling and reinstalling using adb and the methods suggested in this thread as well as (adb install -r contacts.apk which was my original ). i also tried removing every instance of the contacts.apk from the phone (rm the dalvik parts as well) rebooted and reinstalled still cant make phone from the contacts apk. i can recieve calls. and i can call from google voice menu option though. please help :eek::eek::eek::rolleyes: thanks for the cool port though!:cool:
[G1 Android Development] ChainsDD:
That's good stuff. I'm working on a preferences panel right now that'll incorporate this. Thanks!
[G1 Android Development] Alucardis666:
Cool concept that causes major instability with android and my phone, I would get constant force closes at the contacts page when wanting to make calls and also I'd get random android crashes and phone resets with all versions. however, this would only occur after rebooting the phone. And I don't think that the 'cool' factor of the awesome dialer layout warrants me having to remove and re-push the apk every reboot.

Still a nice effort and a cool idea. I hope that you get all the kinks worked out and then this will be an amazing addition to all our G1's. unfortunately this venture fell short for me.

EDIT: Note that this happened to me with cyanogen 2.6, 2.7.1 and Dwang's 1.13 releases
[G1 Android Development] yapueloco:
i keep getting fc issues once that gets fixed this dialer would be one of the beest if not the best out there
[G1 Android Development] Wysie:
No fc or anything here. Please post your logcats.

ChainsDD: Glad you like it. I would've tried to figured out how to do the preferences but my Windows partition was screwing up (couldn't ignore it although I'm on Ubuntu, family :|). Do let me know if there's anything I can do to help. I'm not familiar with Android programming, but am in the process of doing so. I'm quite familiar with Java :). Thanks for the work!
[G1 Android Development] DirectMatrix:
Logcat posted on pg 15. No luck with re-pushing the original contacts.apk that I backed up before I pushed this one. No luck reinstalling latest CM build, no luck after restoring my nandroid, no luck period. Currently in the middle of backing up my data so I can wipe and reinstall CM 4.2.7.1 and hope to god it works otherwise I'm gonna go the unrooting/rerooting method and hope THAT works.
[G1 Android Development] Wysie:
DirectMatrix: Have you tried running fix_permissions (latest version, I suggest using Amon_RA's latest recovery)?
[G1 Android Development] DirectMatrix:
Just tried the fix_permissions and no dice. I think I exhausted all possible solutions. All backed up and ready to wipe and reinstall CM 4.2.7.1....
[G1 Android Development] Wysie:
DirectMatrix: Try wiping dalvik-cache? Just a wild guess, really. :)
[G1 Android Development] DirectMatrix:
I ended up wiping everything, reinstalling latest CM build and restoring all my data. It worked finally but of course it was a pain. Its too bad because I really like the dialer but I'm not sure why I am having a problem with it.
[G1 Android Development] ChainsDD:
What's really odd is that I've checked the lolcats, and founc that the FC is happening, in both instances, when

Launcher

is being denied permission for 'CALL_PRIVILEGED' :confused:. Launcher doesn't have that permission, but I can't get my phone to try and call out through launcher at all, not even by putting a contact on my home screen... Still looking into it tho...
[G1 Android Development] xenio2000:
Hey ChainsDD is it difficult to port the Alphabeth separator that there is at the start of every initial contact letter?

Thanks for your work.

Xenio
[G1 Android Development] bbbblack:
This is perfect ! No force closes or anything. I just wanted to know if it would be possible to integrate an exact time call log instead of 2days ago or 3days ago. Kinda like the way the cliqs call log works. It shows the date time and duration
[G1 Android Development] techjosh:
Loving the dialer... great work! Its so much slicker and easier to use than the stock one.

I had one suggestion/request... when you click on a contact you get to see all the things you can do like call each number, text each number, and if there are addresses you can view them in Maps. However, with the new Navigation features I think it'd be cool if there was a "Navigate To..." option for each address as well. It would mean that I don't have to open maps and let the map load before asking for directions.

It would essentially do what a Nav Shortcut does on the home screen. For backwards compatibility this could be made conditional depending on if the Nav intents are registered or not. (this is me speaking out of my ignorance as I only have a very basic understanding of how Android works and haven't acutally dabbled in it myself)
[G1 Android Development] xManMythLegend:
Oh boy....

Worked great for several days....woke up a bit late this morning had to call a cab FC , FC ,FC ...reboot...FC FC.

I came pretty close to flinging my G1 across the room.

Only thing that saved that was voice dial miraculously working.

Running on Dwang..no idea why the sudden FC when I made a phone call right before bed.
[G1 Android Development] AZCovac:
I've ran into the same problem after installing an updated Contacts.apk on G1(Android 1.6). The Contacts.apk is completely different from this one, but the FC problem symptoms are the same (getting an FC when making a call and the same permission problem in the logcat ).

I think this might be related to the way the apk was installed. I used to install it by building and flashing the system.img and everything was fine. After I ran adb install -r Contacts.apk, I keep getting this problem... Not sure what needs to be cleared in order for this to go away...
[G1 Android Development] ChainsDD:
All added to my TODO list

If that be the case, I always use:

adb push Contacts.apk /system/app

And I haven't been able to reproduce any issues.
[G1 Android Development] lightningtrip:
doesn't seem to wanna work with Dwangs rom...it works fine after reboot, but then it starts to fc everything? Love the dialer though, great for my big thumbs..lol
[G1 Android Development] ivanmmj:
I did it while in the recovery console and had no problems.
[G1 Android Development] Wysie:
I'm in the process of adding a preferences panel where you all can choose whether to have T-Mobile, Google Voice, Add to Contacts, etc. Am about 80% done, left with the GUI. I'll try to get it up within the next hour or so. In the meantime, can ChainsDD or someone else post the intent for Google Voice? The one from GitHub's for T-Mo Visual Voicemail right? :) Thanks!
[G1 Android Development] ChainsDD:
Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.apps.googlevoice/.SplashActivity }

I'm anxious to see what you've got, Here's what I'm workin' flickr
[G1 Android Development] Wysie:
Update :)

I'm done with it for now. However, my method of ensuring that the the Dialer gets updated with the Settings is very dirty, by closing it (using ActivityManage restartPackage), I thought it would restart the package but instead it closes :(.

I've again attached the source and some screenshots, as well as the compiled apk for anyone interested :).

The "Add To Contacts" in the menu will NOT be shown if you've selected the button action to be "Add To Contacts". If it's voicemail it'll be shown :).

Thanks once again to ChainsDD :)!
[G1 Android Development] eessel:
Just tried it out...and it's workin' flawless right now. Good implementation. Keep up the good work, you and ChainsDD! :)
[G1 Android Development] Wysie:
Thanks eeesel :).

ChainsDD: I think it'd be awesome if we could figure a way to update the Dialer UI after changing the preferences without killing/restarting the process. One way is to set the button image, but I'm thinking along the lines of refreshing the entire Dialer UI? I've read that we have to use Handlers or something.
[G1 Q&A, Help & Troubleshooting] f4phantomii:
Running Cyanogen 4.2.6 with apps2SD.

I ended up having to restore from a nandroid backup that was a week or so old.

Now I've noticed that the some apps that I installed in the interim are on my phone and installed, but don't show up in my "Downloads" list.

And the opposite is true as well.....apps that I removed in the interim appear in the "Downloads" section, but I am not able to uninstall or install from market.

Is there a way I can rebuild the Market database file?
[G1 Q&A, Help & Troubleshooting] neuvtec:
I am trying to view different movies on my g1 but the only thing that works is youtube. Before I rooted i could view anything. can someone help me with this. and also i am trying to look at movies that i put on my sdcard.
[G1 Q&A, Help & Troubleshooting] DKM119:
what do you mean you could watch anything??.....there is only a few video format that can be view on the G1.
[Hero, G2 Touch General] matika:
A liitle wish list for Hero 2.0(Eclair)

1. Buit-in APP2SD, not need to root anymore.(WM device already got this feature for sometime)

2. Support BT Obex

3. Support recording GPS position when taking a picture.

4. Paying software through operator in market.
[Hero, G2 Touch General] leesah:
Ability to set a proxy for each WIFI.
[Hero, G2 Touch General] maxisma:
Another thing:

Support guys to let them tell guys like you that this forum is not for a wishlist to google.
[Hero, G2 Touch General] cymru:
Isn't that Geo-tagging? Hero already has this
[Hero, G2 Touch Android Development] jmanley69:
So... I download the kernel source from HTC (http://developer.htc.com) and I found this blog that got me started on compiling it...

http://blog.coralic.nl/2009/10/25/how-to-compile-the-htc-hero-kernel/comment-page-1/#comment-42

Well, at first attempt, I got an error that make couldn't find the rule to make projector.o. Well, I went through the .config and changed that option to No...

Then, it gets all the way to where it looks like it's going to make vmlinux1 and it errors out with the message "arm-eabi-ld: no machine record defined .... make: *** [.tmp_vmlinux1] Error 1"

Has anybody successfully compiled the source yet?
[Hero, G2 Touch Android Development] Lox_Dev:
Try "make msm7200a_defconfig" before compiling, do not pull config.gz.
[Hero, G2 Touch Android Development] jmanley69:
That was a very good starting point...

It all comes down to these two lines

On the config from my phone it says

# CONFIG_ARCH_MSM7200A is not set
CONFIG_ARCH_MSM75010A=y

on msm7200a_defconfig, it has

CONFIG_ARCH_MSM7200A=y
# CONFIG_ARCH_MSM75010A is not set

Also, msm7200a_defconfig has these two extra lines that don't exist at all in my config

CONFIG_MACH_SAPPHIRE=y
CONFIG_MACH_HERO=y

That wouldn't be too big a problem, but my config has

# CONFIG MSM_AMSS_SUPPORT_256MB_EBI1 is not set

and msm7200a_defconfig has

CONFIG_MSM_AMSS_SUPPORT_256MB_EBI1=y

and without that set, SAPPHIRE.o won't compile because an integer is long instead of unsigned....

Any idea how I can figure out the correct file to fix for the CONFIG_ARCH_MSM75010A? I looked in /arch/arm/Makefile, and it says ARCH_MSM7XXXX points to msm, and I look in /arch/arm/msm/Makefile, and don't see anything referencing either MSM7200A or MSM75010A, but 7200A has to be someplace
[Hero, G2 Touch Android Development] packetlss:
Standard config pulled from running 1.5 should compile just fine.

Done it countless times myself.

What version of the toolchain are you running?
[Hero, G2 Touch Android Development] jmanley69:
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
[Hero, G2 Touch Android Development] packetlss:
Just tried it myself with the same toolchain:

mange@haxbox:~/android/kernel/kernel_hero$ [B]cp config-gsm-stock .config[/B]
mange@haxbox:~/android/kernel/kernel_hero$ [B]CROSS_COMPILE=~/android/src/aosp/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- make[/B]
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
...
<lots of muck removed>
....
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 0 modules
mange@haxbox:~/android/kernel/kernel_hero$ [B]ls -al arch/arm/boot/zImage[/B]
-rwxr-xr-x 1 mange mange 1648748 2009-12-05 02:13 arch/arm/boot/zImage
mange@haxbox:~/android/kernel/kernel_hero$

The error your getting is usually due to a incomplete machine specification for the linker.

Try and checkout the prebuilt stuff again from AOSP, it's possibly corrupted.

Mine is master branch, synced yesterday.