yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] margosmark:
Anyone having trouble with data connection with latest system and nbh (5/7/2010)

I have a vogue on the bell network, flashed back to official bell rom and data worked flashed back to android not there. It connects gets the ip and everything but browser and other data apps dont work.

Anyideas?
[Touch CDMA Android Development] incubus26jc:
sounds like you extracted the image. and re tar it. That seems to break data. Try to redownload and keep the image intact. Just rename it.
[Touch CDMA Android Development] mssmison:
two suggestions; firstly update your apn to bells network settings.

secondly if that doesn't work, go back to an older version of the ril, (libhtcgeneric-ril.so). I'm on bell as well and was having some issues, I didn't update my apn settings (which might have fixed it) so try that first.

Bell's APN settings;

Name: Bell

APN: pda.bell.ca

Proxy: web.wireless.bell.ca

Port: 80
[Touch CDMA Android Development] margosmark:
To both of you thanks for the ridiculously quick replys!

I'll try incubus's fix first since I was on my way to doing that, and I'll report back.

EDIT:so inc's suggestions worked, not playing with the tar (should probably be in linux and not windows to keep permissions and stuff but alas not on my own comp)

Also I'll try and see if mssmison suggestion works (the apn settings at least)

EDIT: Alright well the apn settings didnt help so its probably the permissions and other extra data that ntfs didnt keep when extracting and re-tar'ing. Gonna try doing what I did in linux -- EDIT: That worked,guess dont play with the tar in windows, well at least dont extract it keep it in 7z

Thanks again.
[Touch CDMA Android Development] dzo:
I've just put 2 new system tars on sourceforge, an english (and spanish) only image with maps and a system with all the languages. I also made a small change to the kernel to switch off the speaker when using the headset, this should let you enjoy your music for a bit longer!
[Touch CDMA Android Development] incubus26jc:
any changes to the englsh version?
[Touch CDMA Android Development] blindguyinanorgy:
yes

http://androidhtc.git.sourceforge.n...it;h=bab529954d7c00d5f52a046f81b20a8d0be77d39
[Touch CDMA Android Development] thoughtlesskyle:
any chance you can make a 320x480 kernel i only need English
[Touch CDMA Android Development] kallt_kaffe:
Should these lines also be changed?

#define MSM_PMEM_MDP_BASE 0x17000000
#define MSM_PMEM_MDP_SIZE 0x00800000

#define MSM_PMEM_ADSP_BASE 0x16800000
#define MSM_PMEM_ADSP_SIZE 0x00800000

to

#define MSM_PMEM_MDP_BASE 0x17400000
#define MSM_PMEM_MDP_SIZE 0x00400000

#define MSM_PMEM_ADSP_BASE 0x17300000
#define MSM_PMEM_ADSP_SIZE 0x00100000
[Touch CDMA Android Development] samjam:
I'm using Nand flash with kaisimg-panel2-320-tilt-eclair-02-07-10.nbh and system-froyo-05-07-10_16.tg and it's pretty good. Not as snappy as Myn's warm donut, but the combined mailbox and active-sync calendar/contacts/mail is great!

Stills camera works apart from zooom, movie does not.
[Touch CDMA Android Development] samjam:
Now I'm using KK's latest kernel and dzo's latest image (6 July), I'll see how it goes!

Thanks guys!
[Touch CDMA Android Development] kallt_kaffe:
New kernels for Kaiser and Polaris. I removed the kernelparamters since the sizes needs to be hardcoded at the moment anyway so that should make them easier to use. No need to change default.txt for HaRET users.

The ADSP and the PMEM area seemed to be swapped on Polaris compared to the Kaiser and the Vogue so I changed the Polaris setup to look more or less identical to the Kaiser. Perhaps it will work better now?

I've also pushed the changes in case someone wants to compile their own kernel.
[Touch CDMA Android Development] Lintegras:
zImage-06-07-10 is causing black screen on boot using NoMoRootfs with initrd-22-05-10.gz on Vogue. Returned to zImage-02-07-10 and issue is resolved.
[Touch CDMA Android Development] scooter1556:
Cheers K_K, simplifies things!! Better tell Loserskater, i think he's just changed his NBH Editor to be compatable with the new parameters, his old version should work again now i'm guessing.
[Touch CDMA Android Development] Murrky:
Sorry, Kallt, I have not understood the exact meaning :confused: Is there any advantage in the nbh for Pola100 compared to converted voguimg-06-07-10?
[Touch CDMA Android Development] samjam:
Thanks; I'll try it now. The one I tried earlier this morning has twice been stuck on black screen after I've come back to the phone after leaving it for a while.

I wonder if I need something other than pm.sleep_mode=1 ?

As for panel, my panel type is set to 2 (ghex2 hex editor). panel 1 is wrong and shows jagged graphics; panel3 often fails to run-sleep; panel 2 seems to mostly work although I get a random pixel mess of colour most times when I un-sleep.

Panel 0 wakes me up to a white screen but maybe thats not because I'm not panel 0 but for the same reason that panel 2 is currently failing to wake up.

I may have to go back to kaisimg-panel2-320-tilt-eclair-02-07-10.nbh for today...
[Touch CDMA Android Development] samjam:
pm.sleep_mode is 1 with kaisimg-panel2-320-tilt-eclair-02-07-10.nbh; but I should say that it may be the new image that can't work up, maybe not the kernel. I will soon know.
[Touch CDMA Android Development] kallt_kaffe:
Yes it should but Vogue still need the parameters and it won't hurt Kaiser and Polaris if they are present. They will just be ignored.
[Touch CDMA Android Development] kallt_kaffe:
The vogueimg currently available gives 11Mb extra for Vogue users. What I've done is that I've taken those changes and applied them for Kaiser and Polairs. It works on my Kaiser but I have no Polaris so I have no idea if it works. Use the kernels only with the latest Froyo release. (use the command "free" in a terminal to see the difference. It should change from 93M to 104M when using this kernel)

On Vogue it can be controlled with kernel parameters if the kernel are to be used with Donut/Eclair and not get the extra 11Mb or with Froyo and get the extra 11Mb but on Kaiser/Polaris this must be hardcoded (as I understand it) so the kernel must be compiled for either Donut/Eclair _or_ Froyo.

Perhaps dzo, who have far greater knowledge about how this works, have some idea how we can solve that without hardcoding it.
[Touch CDMA Android Development] samjam:
seems to be the kernel, putting back kaisimg-panel2-320-tilt-eclair-02-07-10.nbh lets me wake again (using today's froyo image)
[Touch CDMA Android Development] kallt_kaffe:
Interesting, without really knowing what I'm messing with I did this change also for the Polaris: http://androidhtc.git.sourceforge.n...;hpb=016a987fa4e483a4e682b0aa2600dc852b410ff4

Try the attached kernel. (I forgot to rename the file but it's a Froyo-only kernel)

EDIT: removed attachements as they were a mistake.
[Touch CDMA Android Development] samjam:
Looking at the config strings in the nbh file, it's definately a polaris kernel, nooptions for kaiser keypad type, etc and has board-htcpolaris.panel in it. I'm using kaiser.

Sam
[Touch CDMA Android Development] Murrky:
The kernel works on polaris, system boots, but there is no memory gain. (I didn't reinstall RLS9 though)
[Touch CDMA Android Development] kallt_kaffe:
Oops sorry, well in that case it makes more sense. The removal of that line is propably what is causing your troubles. I'll make a new Kaiser kernel with the line enabled again.
[Touch CDMA Android Development] alexinc:
you guys are crazy, almost every 12hrs another nbh, system or whatever! ;) ok, willing to keep the pace...

as i'm setting everything up again, how to check if there is memory gain? any onboard program?

btw. having bt pairing-probs too since playing with froyo (didnt use android before!). after inserting pin nothing happens - just gets back to bt-screen...
[Touch CDMA Android Development] kallt_kaffe:
Here we go...

EDIT: Added Polaris kernel aswell and zImage just to make this just to add to the confusion. :)
[Touch CDMA Android Development] Murrky:
Download "terminal emulator" app and use "free" command in there.
[Touch CDMA Android Development] Murrky:
Btw, I cannot pair anything via BT, either. I had tried my notebookPC and Nokia headset, they are found, I enter my codes (message pops up on PC), but still, it goes back to the list and says "Press to pair with..."
[Touch CDMA Android Development] kallt_kaffe:
Same thing here.
[Touch CDMA Android Development] alexinc:
free mem total shared: 104488

if you ask me: seems to work!!! :D

running POLAIMG-PANEL1-320-ECLAIR.NBH from kk (posted in here today and got renamed to POLAIMG-PANEL1-320-FROYO.NBH, see page before ;) ) and system-froyo-all-languages-06-07-10_15 everything on nand!

shouts out a big thx!
[Touch CDMA Android Development] kallt_kaffe:
That's great and it means all three supported platforms now can enjoy the extra 11Mb. :)
[Touch CDMA Android Development] alexinc:
now only bt-pairing, video and cell-tower id left in my dreams... ;)

just switched one week ago from various win mobile experiences over the last 2yrs. awesome what you're doing to our beloved old devices. thx again!

if only freehand bt for my carkit (pioneer) will work some day, o2 wont get money very soon for a new device! :D

all other things compared to win mobile are software related... shame that still no native sync-solution for outlook exists and a stable running multi-messenger for icq, fb chat doesnt exist yet too!? qip pda-like would be awesome! :) *still dreaming*
[Touch CDMA Android Development] kallt_kaffe:
For BT pairing to work again use this as a workaround (in a terminal):

$ su

# chmod 777 /data/misc/bluetoothd

Not sure if it survives a reboot of the phone though.
[Touch CDMA Android Development] alexinc:
will try in car asap after leaving my office! ;)
[Touch CDMA Android Development] kallt_kaffe:
This is should be a more "proper" way to fix it.

$ su

# chown 1002.1002 /data/misc/bluetoothd
[Touch CDMA Android Development] kallt_kaffe:
Here's an androidupdate with an odex version of the Gmail.apk that dzo posted here: http://xdaforums.com/showpost.php?p=7080191&postcount=1072
[Touch CDMA Android Development] Murrky:
Very strange... I did the same and still have 93344...
[Touch CDMA Android Development] kallt_kaffe:
Are you sure you do not have multiple NBH files in the same folder and accidently flashed an old one?
[Touch CDMA Android Development] Murrky:
Quite sure. I have even tried both your nbh posted today.

I had Incubus RLS9 - 93Mb.

Flashed nbh1 - 93Mb

Reinstalled RLS9 - 93Mb (twice - the second time with clearing data)

Installed Dzo's release "all lang-15" - 93 (clearing data)

Flashed nbh2 - 93

Shoulda try another run
[Touch CDMA Android Development] Murrky:
Kallt, you have posted Polaris nbh twice today, their timestamp differs slightly - which one should I use for Pola100?
[Touch CDMA Android Development] kallt_kaffe:
For the Polaris users they should be the same. For Kaiser users the last one reverts a change that dzo made a few days ago that may cause sleep-of-death problems for some.
[Touch CDMA Android Development] kallt_kaffe:
Strange. I only needed to reflash and there it was, 11Mb extra, even with an older build it should show although the latest builds have a camera lib that works with the change. I suppose it may even show and work in Eclair as long as you don't use the camera (not tested).
[Touch CDMA Android Development] Murrky:
Is my guess is right that it is no need to reinstall the system (and clear data too) to have a memory freed up?

P.S. Oh, you've already answered before I've asked :)

Thanks!

P.P.S. Yesss!!!! Another retry does the trick, 104488. (I am perfectly sure that I did flashed the same image last time.... Strange)
[Touch CDMA Android Development] incubus26jc:
so what are the latest polaris and kaiser nbh's so i can link them on my page? Thanks
[Touch CDMA Android Development] alexinc:
good to hear, almost thought i did something "wrong" to get the additional 11m! ;)
[Touch CDMA Android Development] kallt_kaffe:
Btw, I'm playing music over bluetooth (to my laptop) at the moment! :D:D:D:D:D

Just do the the bluetooth fix I suggested.

No idea why this helped, maybe it's Froyo, maybe it's the extra memory or maybe dzo made something with the libs and/or the kernel but the sound is coming out bloody perfect from my computer speakers... This is it, I need bluetooth headphones.
[Touch CDMA Android Development] kallt_kaffe:
http://xdaforums.com/showpost.php?p=7079594&postcount=299
[Touch CDMA Android Development] samjam:
That does the trick just nice!

Thanks.

I'm really pleased - over-joyed in fact - to have my HTC hardware (I think HTC make really good hardware) running some software that does what *I* want.

(I've nothing against MSFT, I used to do smartphone development for Orange, I just find Android more congenial than windows mobile).

thanks dzo and kk (and also Myn, whose donut build I used for a while).

Sam
[Touch CDMA Android Development] kallt_kaffe:
What panel do you use. I just got a garbage graphics on screen freeze and I think maybe it's related to the line I reenabled. Perhaps it should be enabled only on certain panels?

EDIT: Nevermind, I checked older posts and you are using panel2.
[Touch CDMA Android Development] kallt_kaffe:
Have anyone tried the hacket Froyo Market app from here: http://xdaforums.com/showthread.php?t=718350?

No need to reinvent the wheel if it has allready been done by others who also have the same issue.

Edit: The one page 2 show apps that were previously were unavailable but force closes often, the one on the first page force closes when I try to start it.
[Touch CDMA Android Development] mnjm9b:
I tried this of eclair, and confirm it works. but camera is unfixable.

tried replacing libcamera.so from the newer froyo build but that didn't fix it.

so until eclair camera can be compatible with new kernel the 11MB will be froyo only.
[Touch CDMA Android Development] kallt_kaffe:
What needs to be done is propably to make the same changes to the eclair camera lib and recompile it. But I'm not sure how to compile libs but ask dlepage, he propably knows what needs to be done.
[Touch CDMA Android Development] Murrky:
I have lost my phone audio (no ring and absolute silence during incoming call both ways) when I have received a call, listening music via BT.

Connects and disconnects didn't help, had to reboot.
[Touch CDMA Android Development] kallt_kaffe:
For the brave (or dumb) go into manage applications, choose all, find Market, force close it (if it runs), then clear it's data.

Restart and install the attached update. It replaces the Market with the version on the second page in the tattoo thread. Finds lot of apps but Force Closes a lot but with a little patience you make it install stuff.

Maybe it works better if integrated into the installation archive?
[Touch CDMA Android Development] DmK75:
Is great!

I used this zImage with VaniljEclair RLS7c and get 102Mb RAM instead 91!
[Touch CDMA Android Development] kallt_kaffe:
That will work as long as you leave the camera alone. But it should be possible fix the eclair camera lib to work with this.
[Touch CDMA Android Development] Murrky:
Thus, this zImage boots normally on Polaris? No "notbusy's"?
[Touch CDMA Android Development] loserskater:
Just to catch up on the new kernel... You need to add the params to the cmdline still right? so my update last night still works with the current versions? if it is, i'll also have a new update tonight for polaris users
[Touch CDMA Android Development] kallt_kaffe:
At the moment only Vogue needs those parameters. On Kaiser and Polaris we need to "hardcode" the kernels for the extra space so I removed the paremeters as it didn't make sense to keep them.
[Touch CDMA Android Development] TheKartus:
I put the new Vogue zImage in, and my phone seems to be hanging between the scrolling text and pulling up the bootscreen. All it is showing is a backlit black screen.
[Touch CDMA Android Development] DmK75:
Thank for warning about camera!

Yes, camera stops but i rarely use it there.
[Touch CDMA Android Development] DmK75:
Same there, i launched this only after some attempts.
[Touch CDMA Android Development] samjam:
Yeah, and I get the coloured junk on un-freeze before the screen re-paints. I recall being told that it is because the android sleeps deeper than winmobile.
[Touch CDMA Android Development] scooter1556:
That is just the panel turning back on, i used to run panel = 0 which didn't turn the panel off so you didn't get the pause while it turned back on, but changes in the kernel means a panel needs to be selected, and it's just logical to save the panel and battery.
[Touch CDMA Android Development] jcatt:
Stereo Bluetooth Works

I Have been lurking on this thread a while and I just wanted to confirm that using k_k's Bluetooth fix I have been able to pair with my Blueant X5i Stereo Headset on my ATT branded kaiser and A2DP audio is working!

I also want to thank k_k for all you help for us Kaiser users, and Dzo for your amazing work reviving our devices. I will be donating as soon as I get my paycheck this week.

Thanks again,

JCatt
[Touch CDMA Android Development] alexinc:
with bt on pioneer carkit i can say that after applying kk`s fix i can pair, but dont get a connection. pioneer is just showing "error" on display, but also shows "paired with android"... seems to be a pioneer-problem?
[Touch CDMA Android Development] warttack:
i have a question about your releases dzo. i have a htc vogue with your latest android release installed and i want to know if i could on new releases instead of wipe everything out just rename the new release to androidupdate.tgz and install it as an update. could I? or it'll probably cause instability or malfunction? thanks in advance.
[Touch CDMA Android Development] dzo:
Probably better to wipe everything, doing an update would erase just as many blocks but involves much more work for the nand driver and I could imagine situations where it could run out of space.

If only small things change then I'll post an update with just the changes.
[Touch CDMA Android Development] dzo:
I've made a change to the kernel to keep the core android phone services in memory as much as possible. It's a bit of a hack and not the right way to do things but seems to work OK for me. Try the new kernels I just put on my site, should work on all devices.
[Touch CDMA Android Development] mnjm9b:
are these still just for froyo?
[Touch CDMA Android Development] blindguyinanorgy:
do these keep the changes k_k made to the kaiser rom to match the memory increase? (looks like it from sourceforge)
[Touch CDMA Android Development] thoughtlesskyle:
320x480 using RLS9 by Incubus

i have been running into a strange bunch of issues with the new kernel,

when im in the market the keyboard will only show up as a blank half of the screen but i can still type with it, when i place a widget i cant scroll through the menu to use it (even the Dpad doesnt work)

i was running this build at 240x320 all day an never ran into any of these issues
[Touch CDMA Android Development] pardonmyownage:
i installed the newest nbh from dzo site with incubus's rls9... missing the 11mb data extra. i DID edit the nbh using the nbh editor that was updated for froyo nbh's. rebooting and seeing if i reload the nbh fixes it.

edit: Nope. still showing 93mb. this could be because i edited the file or it wasnt there to begin with?
[Touch CDMA Android Development] thoughtlesskyle:
i switched back to your 240x320 kernel from yesterday and all the problems vanished
[Touch CDMA Android Development] odz:
ditto lost the 11mb of extra ram with the new nbh running att tilt.
[Touch CDMA Android Development] kallt_kaffe:
I still get the extra 11Mb but I haven't tried the NBH's from dzo but compiled them myself instead (attached).
[Touch CDMA Android Development] Murrky:
Are these files modified to keep phone core in memory too?

I have flashed the one for Polaris - 11 Mb are still there.

Dzo and Kallt_Kaffe, you are the greatest, thank you!
[Touch CDMA Android Development] kallt_kaffe:
Yes, unless there is something that dzo hasn't pushed yet but asfaik it has been pushed so it should be in there.
[Touch CDMA Android Development] Murrky:
Thank you, Kallt!

I've tried to make a test call to myself - my phone reacts in the period of the first and second tone for caller. For the second tone it already rings. (But one single calltest means almost nothing yet).

P.S. Have anyone noticed, that some ringtones (e.g. Digital Phone) ring only once? While still vibrating, and showing caller ID, the phone does not repeat the ringtone. I don't know, when it starts to happen, but it was in any ROM from July.
[Touch CDMA Android Development] kallt_kaffe:
Full Market!

Here we go, I used apktool to extract the contents of this archive, unpatched and patched version and ran a diff on it and copied the changes to an extracted version of our Vending.apk. Then built a new apk and copied classes.dex from the new one into the original.

Seems to work perfectly so far. Seeing lots of stuff that wasn't available before and no FC's.

Instructions

1. Apply update

2. Go into settings and choose to manage applications.

3. Choose all, find Market.

4. Force close it (if it is running) and delete data.

5. Start Market.

6. Have fun!

I've pushed the non-odexed version to the repo to be included in the next build.
[Touch CDMA Android Development] siwahem:
I had this problem as well, thought I'd share my finding and fix:

In OGG files I've found that there's an extra meta tag called ANDROID_LOOP which is set to 'true'. The Digital Phone ringtone doesn't have this tag, while others like the Classic Phone does (hence why the Classic ringtone repeats for incoming calls).

Here's what I did to fix this:

- Download and install Audacity (audacity.sourceforge.net)

- Open the ringtone file in Audacity, note you can use mp3/wav files as well, Audacity can convert them into OGG.

- Select Open Metadata Editor for the File Menu

- Add a new tag called ANDROID_LOOP and set the value to 'true'. (See screenshot here: g-sel.com/meta_editor.jpg (I can't post external links, so if a mod would like to edit this post and make them links, please feel free.))

- Click OK

- Select Export from the File Menu and select the Save As Type format as Ogg Vorbis Files.

- Click OK through File Save and Metadata dialogue window.

- Copy the new ringtone file onto your phone and enjoy :)

You can also copy the new file over the existing one as well:

- Open a terminal program (eg. Better Terminal from the marketplace) and run the following commands:

$su

#rwsystem

#cd /system/media/audio/ringtones

#cp <location of new ringtone> .

#chmod 644 <new ringtone filename>

#rosystem

#exit

- If you have added a new ringtone, ie. your own one not Android default, you will need to reboot the phone for the new ringtone to appear on the list.

Obviously change <location of new ringtone> and <new ringtone filename> to where you've saved the new file (eg. /sdcard/Ring_Digital_02.ogg and Ring_Digital_02.ogg).

PS. I don't think the CHMOD is really needed, but I like to keep things consistent so I do it anyway.
[Touch CDMA Android Development] Murrky:
Great!!! Thank you for such a good answer, it was a real surprise :) Seems pretty easy now.
[Touch CDMA Android Development] -Arturo-:
Kalt, I think your latest Kaiser Kernel, the one with incoming call fix, breaks voice input in android keyboard.
[Touch CDMA Android Development] kallt_kaffe:
For me it works. Are you sure you are not running an older Froyo build. The one before the last build had libspeech.so in the wrong place.