yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] xenio2000:
Inside the zip file there is the .apk you have to push it to the phone.

I don't know if this modded phone.apk work with all the roms, I am not a developer, I putting here some tweak for who want to make a "regular build of phone.apk", we are lucky we have Cytown that make the Android Phone usable.

Cytown is building the new version with some improve... thanks to him.
[G1 Android Development] jimbo05dv8:
help

how do u install this?
[G1 Android Development] thegreatcity:
Have a problem, not sure if it has to do with the phone.apk or with the rom.

Ever since I flashed Cyan's 4.2.1 Ive had a problem with incoming calls, I cant hear the person on the other end, just my own echo. They can hear me fine, but I have to call them back to be able to hear them.

Ive since flashed 4.2.2 but the problem persists.

Any help would be appreciated.
[G1 Android Development] cytown:
I personally don't think that's the problem from phone app or cm rom......
[G1 Android Development] cytown:
update to v11 now.
[G1 Android Development] G1-evolve:
the "BIGGER" avatar won't resize after it syncs with gmail contacts right? Cause it did for this http://xdaforums.com/showthread.php?t=576310

edit: pics a bit blurry. I was under the impression that I can crop the pic a bit better and it'd be clear but its blurry that way and just by letting it resize itself.
[G1 Android Development] oMszKikiIzWavyo:
Im Still Having A Problem With Installing This On TheOfficial TMO US/EU & ADP Donut-1.6 - v2.1.1

When I Put This

1. unzip and copy Phone.apk to /sdcard

2. remount system rw

3. cat /sdcard/Phone.apk > /system/app/Phone.apk

4. rm /system/app/Phone.odex

My Service Never Comes Back...Please Help Still A Noob At This
[G1 Android Development] cytown:
As I said b4, the original pic is 96x96, and size larger than 116 will make it blurry.

Of course you can tweak other apps like contacts for better pic.
[G1 Android Development] cytown:
I have no idea about why you got this.....

You can check the size of Phone.apk, see it will be the same as file in zip.

Or just reboot.

If still failure, maybe this app is not in your type :)
[G1 Android Development] Wysie:
Thanks for the update! However, update on pickup is not working for me.
[G1 Android Development] cytown:
Update on pickup????
[G1 Android Development] Wysie:
Sorry, i meant vibrate on answered.
[G1 Android Development] cytown:
You mean it won't vibrate or no use for you?

You can check the settings for allow vibrate on answered or not.
[G1 Android Development] Wysie:
It isnt working for me. Its selected already. Was working on v10. Thanks!

Update: I unticked it, then ticked it again and it's working now :D. Sorry about it.
[G1 Android Development] thegreatcity:
Well what could it be then, and how could I remedy it?

Ive tried wiping and flashing again. Im sure it started right after I flashed 4.2.1, it doesnt happen for all calls though, just most of them.
[G1 Android Development] pershoot:
using v11 caused no radio signal. on cm4.2.2 w./ mem hack kernel.

letting you know..
[G1 Android Development] pershoot:
radio comes back if you enable 2G and then disable it, 3g comes on. but doesn't survive a reboot. needs to be re-toggled.
[G1 Android Development] mrnv45:
if u are runnin any toggle settings or power control widgets.. ive noticed you have to take those off then go to your settings>wireless option... and activate them from there..

its a hassle..but thats the only thing ive noticed when wifi..26/36 cutts off..
[G1 Android Development] cytown:
Hope not the hardware problem...
[G1 Android Development] thegreatcity:
Yeah same here, the phones not even a year old.
[G1 Android Development] pershoot:
hmm. might be an issue in my area, unrelated to phone v11 (the same happened when i reflashed back to 10 and also reflashed radio for good measure).
[G1 Android Development] xenio2000:
Does not vibrate on answer/call waiting

In the V11 there no vibration on answer and call waiting,

I checked and unckecked the settings but it do not change anything.

Works only the hungup vibration, it is a single short vibrate (if I don't remember wrong, in the previuous version the hungup was two little short vibrate)

Thanks

Xenio
[G1 Android Development] Wysie:
xenio2000: Actually it does vibrate on answer, I got it a few times, but it's not always. Also, when it does happen, it vibrates like 2 seconds or so after the person picks up :(.

cytown: Could you please take a look? Thank you!
[G1 Android Development] cytown:
I'll check that....

I make the vibrate in a thread and so that they won't affect the system performance, but looks like it is not such good idea......

I'll check the code and hope it will be fixed.....
[G1 Android Development] cytown:
Good news, I fix the bug.

The bad news is I don't know why a thread won't vibrate but a handle callback will vibrate...

Maybe that's why google suggest the programmer not using thread.
[G1 Android Development] Wysie:
Thanks cytown :)!
[G1 Android Development] xenio2000:
V.11.1 is working for me...

Thanks again. :D
[G1 Android Development] bluenile:
Thnx

Thanks cytown v11.1 works as expected.
[G1 Android Development] palosjr:
how would i go about adding the vibrate on call waiting feauture to the Hero Phone.apk? It is probably going to be an XML edit, which is fine, just wondering where to begin.
[G1 Android Development] thegreatcity:
So in your to-do you have "add black list".

Does this mean the "Send calls directly to voicemail" feature currently does not work? Because contacts I have set to this still constantly get through.
[G1 Android Development] HubertAH:
support U :)
[G1 Android Development] cytown:
In my place, there is no voicemail feature supplied from mobile network, so I can not tell you anything about voicemail.

But the working blacklist feature is just hangup any in list call and even not notify you it happened.
[G1 Android Development] cytown:
I don't have hero rom, so as to phone app in hero....

As I known, there is no source code for this, so you must use smali from JF to modify it.
[G1 Android Development] juanjo7812:
Organization don't show

Hi!

I'm using cm-4.2.2 with latest Phone.apk v11.1 installed. I've checked the 'show organization' but simply don't show on incoming calls.

Still showing only the name and no the name-organization mix.

Any idea ?

Thanks !
[G1 Android Development] cytown:
I'll check it. Thanks for report.
[G1 Android Development] cytown:
Have checked, not repeat in next in process release......

Anyway, next release have no such problem.
[G1 Android Development] bert269:
Modified Phone.apk v11.1, more.(1029) - changed

I looked inside the zip, and there is now a "Mail.apk" as well as a sub-dir "zxing". The previous packages only contains "Phone.apk".

What are these others for and why do we need them?

Thanks for the hard work!

UPDATE: Very strange: ANDROZIP (on G1) shows these other two entries in the .zip file. If I look at it on my PC (PKZip & Total Commander), it only shows the Phone.apk.

I must be stupid or something - sorry for the waste of your time - but I am still curious to know why?
[G1 Android Development] cytown:
I think that's the problem from your file manager of android. That app maybe unzip everything into a defined dir and never delete them later.
[G1 Android Development] mrnv45:
cytown..

is there a reason why my contacts are still 90x90.. they used to be bigger but now they arent.. i got the gradient tho!
[G1 Android Development] cytown:
Download and install v11.1 and try again later.
[G1 Android Development] Chahk:
Thanks for your work on this app, cytown. Glad to see it part of CM now :)
[G1 Android Development] enchoy:
Thanks for the call-waiting vibrate, it's a life saver! Could you please make a mod to make the call-waiting beep while the speakerphone is activated? It beeps when the earpiece is active but no luck on speakerphone. Is is also possible to repeat the call-waiting notification sound/vibrate? Much like a normal telephone repeatedly beeps for call-waiting.
[G1 Android Development] mrnv45:
after installing the v11.1 it went bacc to the normal lookin caller id..

bacc to g1 default..

i had dont it before now it never works lol..
[G1 Android Development] cytown:
Check the settings, did it say v11.1?
[G1 Android Development] mrnv45:
yuh its weird.. and even when i wiped..ran in adb..and in terminal .. nothing changed..

i even tried oh dudes themed version and still nadda...

can you give a a CERTIFIED WAY to install .. cause i tried like 4 different ways.. on both forums..just to make sure but none are workin anymore.. or the phone.apk isnt gettin installed right..

it went from themed wit big contacts to themed with cyans mod.. to regular..with the new 11.1
[G1 Android Development] cytown:
Hey guy, everyone love black list, just update to v20!
[G1 Android Development] enomther:
That's awesome man ... can't wait to give it a try ... that's a sweet feature!

Nice Work!

~enom~
[G1 Android Development] str4vag:
nice work :)
[G1 Android Development] mrnv45:
ok i got it to finally install but i guess theres no background to em anymore..

i have the black list so i know its installed..

but the pics arent big 200x200 is what i use to have..

with the gradient bg.. anyways.. i like the new feature.. just wish you could put that BIGGER AVATAR pic in there.. cause its still kidna small!

the guy who themed your had 200x200 i think them pics took up a majority of the screen.. you should try to do that too.. thanks.
[G1 Android Development] Wysie:
mrnv45: I don't think 200x200 is good as the pictures will look too grainy, due to Google Contacts storing them at 96x96. The current 116x116 is perfect :D!

cytown: Is it possible to make use of some scaling algorithms to resize the pics before displaying them? Will it slow down the Phone.apk significantly? I'm thinking if you could do that than perhaps we can go beyond 116x116 without it being too grainy.
[G1 Android Development] bluenile:
Orientation?

Update:

a) there are no issues with orientation, it is working as expected of it.

b) tested v2.0 is working as expected

c) as usual wonderful job

cheers
[G1 Android Development] neozhu:
great job

I first time update,My contact name,company name is chinese characters,but

Some one can display the company name when Calling in phone, other do not appear,why?

T-Mobile G1 Rom TheOfficial AOSP-1.6_r1.4 DRD20 (Donut) v2.1.2
[G1 Android Development] mrnv45:
naw the 200x200 were fine i just re did all my pics to fit em.. they looked rather ood not even the 90x90 that got resized were grainy.. even pulled from the net!
[G1 Android Development] Wysie:
mrnv45: Even if you re-do them, the next time Google syncs your contacts they will get downsized back to 96x96...
[G1 Android Development] mrnv45:
i went in to my contacts.. took all pictures out..

synced google..

rebooted..

when it re syncd no pics were there..

i loaded my facebook pic sync app.. and pics i had on sd .. placed in contacts..

syncd google. (i did all this with google sync off that away it wouldnt take forever while changin pics..

then rebooted and when it sycnd they were still huge sizes wit new pics.. so idk..

ps.. im not takin away from this app its great and i thank u.. i just liked one of the older versions better just given you some feedbacc as a customer :)
[G1 Android Development] vincom2:
Hi, thanks for the great work!

I have a small request here: would it be possible for you to add an option to change the LED colour for the missed call notification? The current light blue one's the same as my "new twitter messages" LED colour, and I'd like to be able to distinguish them.

Once again, thanks!
[G1 Android Development] cytown:
I am not good at image algorithms, so I can not tell you yes or no. But for my opnions, the default image algorithm is balence at quality and speed, any better algorithms?

Anyone who is good at it, feel free to tell me how to do.
[G1 Android Development] cytown:
I just put the organization field[0] to be shown in calling screen, maybe you put wrong field?
[G1 Android Development] cytown:
I just want to keep the beauty and speed balanced, so I will like someone just beautify it and share with others, for it's not so hard to change the xml and png:)

Personally, I like it was :P
[G1 Android Development] cytown:
Many suggestion for that, but I do think it's a minor improvement, maybe some day I am not so busy and feel nothing else to do then maybe I will add such a feature.
[G1 Android Development] Binary100100:
I think I might have a problem with the Black List from Settings.

When I go to Call Settings then to Black List, I select "Add phone number" and when I press the button to the right of the empty text field nothing happens. Anyone else?
[G1 Android Development] cytown:
You are right, that's a lost function... In my emulator, I click other similar button like voice mail, it just nothing happened(I have no contacts there), so I just think that's common, now I know I am wrong.....

I'll add that next version.
[G1 Android Development] CrazyEye:
Confirm, doesn't work with hero builds :p

Such a shame too =/
[G1 Android Development] Binary100100:
sweet. other than that i love it and can't wait to try it! damn bill collectors. in the mean time i'll just "send calls directly to voicemail" under the contact.
[G1 Android Development] andonnguyen:
Cosmetic issue

Hey cytown, just found a cosmetic issue while in the dialer. Having the keyboard open (HTC Dream) causes the dialer buttons to overlay on top of each other.

Here is a screenshot:
[G1 Android Development] cytown:
.....................
[G1 Android Development] cytown:
The dialer is not part of phone app. You must install a modified Contacts app.
[G1 Android Development] cyanogen:
This is an issue on CM 4.2 due to a change I pulled from CodeAurora. Will be fixed in the next version.
[G1 Android Development] cytown:
update for bug fix.
[G1 Android Development] djengizz:
Excellent, thanks a lot!
[G1 Android Development] jdhedden:
Why the black list feature?

Pardon my ignorance, but how does the use of this phone app's black list differ from setting 'Send directly to voicemail' in Contacts?
[G1 Android Development] xenio2000:
V.20.1 works very nice for me... now I can choose blacklist # from contact list.

Thanks a lot.

I updated the V.20.1 with the Eclair background and 210x210px you can look in the Dream Themes and Wallpaper thread.

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

Xenio
[G1 Android Development] cytown:
Phones on BL do not need to be your contact, also with no call log.
[G1 Android Development] kevev:
I get this error when trying to install:

Failure [INSTALL_FAILED_OLDER_SDK]

I am on xRom. I think it is cupcake. Is the Phone.apk only for donut? If so, is there a versio with Black-List that will run on cupcake? Thank You!
[G1 Android Development] jdhedden:
Force UNKNOWN caller ID to voicemail

Ah. Thanks. How about when the caller ID comes in as 'UNKNOWN'? I would love a feature to send anyone blocking caller ID directly to voicemail.
[G1 Android Development] Cabarnacus:
I copied the 20.1 version of Phone.apk over to my cm 4.0.4 build and now iv lost signal and im getting hundreds of force closes. Tried removing Phone.apk from /system/app and doing

cp /sdcard/Phone.apk /system/app/Phone.apk

but still no luck. It copies fine but is causing everything to go haywire.

Cant get original app back either cos i never backed up (i know, i know, im an idiot. Was just so keen to try out the blacklist feature)

Could it be that 20.1 is not backwards compatible with cupcake? Any advice on how to get the phone.apk back that was in cyans 4.0.4 build?
[G1 Android Development] AtariLM:
You can flash version 8.2 linked on the first page of this thread. That's the last version for Cupcake.

Or if you really want the one that came with 4.0.4 you can open the 4.0.4 zip and extract the Phone.apk that's under system>app> and push it to your phone
[G1 Android Development] Cabarnacus:
Nice one thanks, back to terra firma now.

Guess il just have to make the donut jump soon. Was avoiding it as copilot for 1.6 hasnt been cracked yet and i need it for work. I could just buy it but thats too easy :D
[G1 Android Development] cytown:
No such version on cupcake.
[G1 Android Development] cytown:
My mobile network supplier do not support voicemail, so I can not tell you how to set it redirected. But if you want to make it blocked, you can add phone "0000" to black list.
[G1 Android Development] cytown:
4.0.4 is half donut, v20.1 need full donut.
[G1 Android Development] G1-evolve:
If I add "0000" to blacklist then it auto sends unknown to my blacklist? Hmm
[G1 Android Development] xenio2000:
Some ideas for BLACKLIST

Hi Cytown, some work for you....:)

I drop here some idea that would be nice in your fantastic Blacklist function

1. Possibility to block the GROUPS! (Usefull in weekend when I don't want calls from coworkers)

2. Possibility to block a prefix... I mean, check just the first numbers of the caller -> block +39079 +39 my international prefix and 079 my city prefix)

3. Possibility to add in BL all the numbers of the contacts that I choose in the Contact List.

Thanks again...

Xenio
[G1 Android Development] cytown:
Acturely the unknown phone number is parsed to "0000".
[G1 Android Development] cytown:
1, I don't think that's good idea, because the block method is just hangup the incoming phone, so ppl will know you just don't want to answer them, that thing will just make your contacts angry.

2, Sounds good, I will take in consideration.

3, Same as 1, and it has add by contact function already, and it's enough.
[G1 Android Development] mattgyver83:
Screen Down functions

The added functionality is great in this version. 2 features I think could be very usefull would be;

1. Option to put call on speaker phone if phone is placed screen down on flat surface while in a call (disable when call ends or phone is no longer flat). To build on that, maybe even for users with blue-tooth headsets to select the headset instead of speaker.

2. Option to temporarily turn off ringer and vibrate only if phone is screen down on flat surface while not inside a call.

I think that would just blow the standard phone application away!
[G1 Android Development] cytown:
No. 2 sounds good, but it will cause missing call and takes too much battery for detect up or down.
[G1 Android Development] xenio2000:
I throw here another function I miss from my old old nokia...

Redial on busy?

I don't know if it could be done in Phone.apk, just putting some idea here... :)

Xenio
[G1 Android Development] cytown:
Sounds good, aoto repeat 3 times.... Right?
[G1 Android Development] xenio2000:
Yes, the phone could repeat 3 times and you choose or make an option for the seconds between redial...

:D
[G1 Android Development] ATZ-007:
TheOfficial DONUT TMO US/EU

Hi, please help

How can I use this Phone.apk on “ [ROM]TheOfficial DONUT TMO US/EU & AOSP-1.6_r1.4(dream...” http://xdaforums.com/showthread.php?t=538456

I’ve tried following

adb remount

adb push Phone.apk /system/app/

also I removed “Phone.odex”

:mad: still no luck :mad:
[G1 Android Development] MERKJONES:
I'm in some what of the same situation. Running the Donut official / rooted release from these forums. When I pushed the Phone.apk to my phone using the directions, the Phone app continued to crash over and over. When I rebooted, same thing and now no service. I removed the app, and then retried - same thing. I pushed my Phone.apk back (that I pulled to C:\) and I still have no service. I'm starting to think that it's because I removed the ODEX File associated with Phone.apk.

Any ideas?

EDiT: Pushed ODEX file back, I have service again.
[G1 Android Development] ATZ-007:
Just reapply/reinstall theme that contains Phone.apk or if you are not using any theme, try Expansion-Pack

Hope this solves yr problem
[G1 Android Development] xenio2000:
@ATZ-007

I am using TheOfficial Rom from Enom (the best rom I ever flashed) (AOSP1.6_r1.4+ADP DRD20 ROM) with 2.1.2 exp pack without any theme, and the push commands you wrote works well for me...

After the push I lost the signal for 10 seconds and when it come back the new Phone.apk from Cytown works perfect.

I dont use the version that Enom put in the exp pack that give me a lot of problem and it is not updated.

Could you try this version? It is packed as update.zip for a flash from recovery.

It is the Cytown version with just some cosmetic tweak.

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

Xenio
[G1 Android Development] ATZ-007:
WoW you managed to get cytown's Phone.apk v20.1 working

Please would you be kind enough to give me exact step-by-step what you did to get it working?

I will try your themed Phone.apk over the next weekend

But must say it does look good

Keep up the good work
[G1 Android Development] ATZ-007:
Had a change of mind and decided to try it now

Just installed your “phone201_update.zip” and it works perfect

Thank you and as I’ve said, keep up the good work :):)
[G1 Android Development] xenio2000:
Vote this issue

http://code.google.com/p/android/issues/detail?id=1265

Vote this issue to push Google to improve the dimension and quality of Contacts Avatar.

Click on the star on the top left and add some comment...

Thanks.

Xenio
[G1 Android Development] ATZ-007:
Sorry

After little while I couldn’t use my phone to make call at all because of Force Close issue so I have to reinstall the default Phone.apk
[G1 Android Development] REALfreaky:
Great modifications, cyt0wn. A couple requests though:

Wildcards. I get alot of telemarketing calls from 269-768-**** across multiple numbers and it would be nice to block them all with just one black list entry.

Small request here... the ability to add numbers from the call log (maybe in the long-press menu)
[G1 Android Development] cytown:
Wildcards, maybe later, but you know, it will lower the preformance, I still have questions for that.

Call log, that's not part of Phone app, so I can not add such feature.
[G1 Android Development] ravens0ng:
Feature request: no call log option

I would love to have an option not have the phone return to the call log after a call is finished.

These phones just love to make phone calls by themselves, and I am tired of having people tell me that my phone called them on it's own. To me, the touch screen + call log together seems like a recipe for trouble.

There is an app called "not call log", that performs this function, but it would be great to have this in my native dialer. (since I run CM, this IS my native dialer).
[G1 Android Development] xidominicanoix:
for some reason the newest version leads to FC for me ... I'm at school now so I'll grab the adb lolcat when I get back home .. pretty much I lose all signal and whenever I hit the green call button I receive an FC .. only Phone.apk that works for me is the one directly from Cyanogen's rom (which is an older version of your Phone.apk I believe) ... but yea I'll edit this post later on :D

EDIT: flashed the newest MBlend theme and the problem seems to have gone away ;)
[G1 Android Development] cytown:
I don't really understand these, so you want to make some phone won't in call log? What about missing call log?

I think to delete them in call log is a better idea. :)
[G1 Android Development] bkmo:
He means when the call is ended you are returned to the call log screen. If you are not careful you can dial another number very easy. Maybe it would be better to have an option to return to the home screen?
[G1 Android Development] ravens0ng:
The call log itself is not the problem, I just do not want to return to the call log after I make a call. I can always access the call log if I need to by accessing it's tab in "dialer".

I'm not trying to hide (or delete) numbers from the call log, I am trying to keep the call log from dialing out on its own randomly to one of the last people I called.

There is no need (at least for me) to have the phone go to the call log after a call. The only time I need to see the call log after a call, is when I need to add someone as a contact.

If I need to use it to call someone, or check something from it, I can always just open dialer and choose the call log tab.

Yes, this is exactly what I was thinking.