yashsingh1/xdaforums huggingface dataset:
[Touch CDMA General] craig0r:
Has anyone found a work-around for this yet? Aside from logging in with a new GMail account?

I would bet that since Donut isn't out yet, Google automatically locks out anyone using the Donut Market, since they're quite obviously malicious pirates.
[Touch CDMA General] tatnai:
bored at work. any donuts coming our way tonight zen?

EDIT: time to go to bed. see y'all in a few hours.
[Touch CDMA General] tatnai:
we'll need a new calibration solution with donut, since the current calibration app that we've been using needs resolution to be 320/480. we could adjust it to be specific to donut resolution, or I wonder if it could be made to sense the resolution and function on every build/resolution. Or, maybe the HTCCalibration tool from tattoo could be made to work for donut, it worked pretty well for me in donut (when the targets would show up at least).

EDIT: I take it back, the current calibration tool seems to work fine on 320x240 w/ lcd.density 110. maybe it is because it is donut? whatever, at least it works!
[Touch CDMA General] BJNK:
Just curious, has there been any headway made on the radio issues? Ie slow calls, GPS and what not. It looks so good I would love to have donut, with its native resolution, work as well as our beloved cupcake :D
[Touch CDMA General] zenulator:
the cupcake builds and blur actually work at native resolution 320 height x 240 width with lcd.density=110 it looks quite nice. but a lot of market apps break with that resolution. donut has the ability to scale those apps once the apps are sdk4 compliant. or at least thats what i get from it. i run ion at the native resolution since i don't use many extra apps.
[Touch CDMA General] BJNK:
Well slap me silly and call me Susy! I've been living in the dark! Thanks zen!:cool:
[Touch CDMA General] BJNK:
Changed it up.. The only app it seems to break is Gmail. Any workaround for this? Would extracting the gmail app from another build and replacing it on work correctly or are they the same all across the board?
[Touch CDMA General] jamezelle:
hmmm maybe the one from tattoo:D
[Touch CDMA General] zenulator:
the tattoo gmail works in donut. it will fail to install on cupcake based builds.
[Touch CDMA General] zenulator:
So how's development coming along
[Touch CDMA General] tatnai:
lolol . . .:mad:
[Touch CDMA General] zenulator:
Should have an audio fix soon.....
[Touch CDMA General] plemen:
I noticed my GPS doesn't work with Donut build... is there something I'm doing wrong or is this known issue?

Thanks - and looking forward to the audo fix!
[Touch CDMA General] zenulator:
I'll upload a updated donut later today. Hopefully gps should work.

I know the camera works with the build I'm using.
[Touch CDMA General] tatnai:
previous version, Pandora, Music player playing MP3s, were all garbled audio. are we closer to a fix? thx for your work zen, you are always appreciated.
[Touch CDMA General] enatefox:
Just for thoroughness here, xxbabiboi228xx said that the audio fix, no bluetooth kernel does get audio to work on Tattoo and I'd assume vanilla Donut too. How could this be kernel related?

http://xdaforums.com/showpost.php?p=4764076&postcount=4658
[Touch CDMA General] zenulator:
i've used that kernel and had no success. if it were kernel related it would affect all builds. libaudio.so just needs to be reworked for donut (hopefully thats all) sometime tomorrow there should be something happening and hopefully a new release. i decided not to put out an update until audio is fixed.
[Touch CDMA General] plemen:
Any update on this? I'm loving the magic build but the native resolution (and dialer performance) of Donut is killer.

Thanks.
[Touch CDMA General] zenulator:
i tried to do it today with no success. i'm going to find out how dzo did it for cupcake and repeat his steps for donut. this is the guide i used modified a little since the directory mentioned doesn't apply and i used dzo's libaudio sources but it didn't work out right.
[Touch CDMA General] enatefox:
I'm in with you. Will try to compile it myself. Once I pull the source again, I'll give it a go. Hopefully one of us is going to put the right typo in..
[Touch CDMA General] pmos69:
ouch :confused:

root@pedro-ubuntu:~/mydroid/hardware/msm7k/libaudio# mm
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=1.6
TARGET_PRODUCT=htc_dream
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=Donut
============================================
No private recovery resources for TARGET_DEVICE dream-open
make: Entering directory `/root/mydroid'
target thumb C++: libaudio <= /root/mydroid/hardware/msm7k/libaudio/AudioHardware.cpp
/root/mydroid/hardware/msm7k/libaudio/AudioHardware.cpp: In member function 'virtual ssize_t android::AudioHardware::AudioStreamInMSM72xx::read(void*, ssize_t)':
/root/mydroid/hardware/msm7k/libaudio/AudioHardware.cpp:702: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'ssize_t'
/root/mydroid/hardware/msm7k/libaudio/AudioHardware.cpp: In function 'android::AudioHardwareInterface* android::createAudioHardware()':
/root/mydroid/hardware/msm7k/libaudio/AudioHardware.cpp:779: error: cannot allocate an object of abstract type 'android::AudioHardware'
/root/mydroid/hardware/msm7k/libaudio/AudioHardware.h:100: note: because the following virtual functions are pure within 'android::AudioHardware':
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:218: note:	virtual android::AudioStreamIn* android::AudioHardwareInterface::openInputStream(int, int, int, uint32_t, android::status_t*, android::AudioSystem::audio_in_acoustics)
make: *** [out/target/product/dream-open/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
make: Leaving directory `/root/mydroid'

ideas anyone?

my C++ is much more rusted than my C...
[Touch CDMA General] pmos69:
it would be great if someone could pick this up, since i'm having some "real life" issues and have very limited availability to mess around with this stuff :(

(hope it's not for long)

I can help anyone up for it getting started.
[Touch CDMA General] zenulator:
i build for generic. modified BoardConfig.mk..

# config.mk
#
# Product-specific compile-time definitions.
#
TARGET_BOARD_PLATFORM := msm7k
TARGET_CPU_ABI := armeabi
# The generic product target doesn't have any hardware-specific pieces.
TARGET_NO_BOOTLOADER := true
TARGET_NO_KERNEL := true
TARGET_NO_RADIOIMAGE := true
TARGET_CPU_ABI := armeabi
HAVE_HTC_AUDIO_DRIVER := true
BOARD_USES_GENERIC_AUDIO := true

added dzo's modified code. to hardware/msm7k/libaudio

haven't built it yet. it should build the lib into the generic build correct?
[Touch CDMA General] enatefox:
Zen, did the copybits come from git or did you add them in? And what's dzo's modified code. I'm about to try in a couple of minutes. Since suck is a good noun for what my experience with this is, anything you and pmos69 can tell me will help me catch up
[Touch CDMA General] pmos69:
Nope, you should build for htc_dream, acording to dzo (http://xdaforums.com/showpost.php?p=4180714&postcount=1110)

You don't actually have to build the complete system.

do this in your mydroid dir:

source build/envsetup.sh
cd hardware/msm7k/libaudio
mm

mm will build the modules in that dir.

but it's not a straight compile. some things need to be changed for donut...
[Touch CDMA General] zenulator:
i tried to make the changes but no luck.

dzo made the donut changes in git.
[Touch CDMA General] zenulator:
Audio is fixed thanks to dzo updating libaudio for donut.
[Touch CDMA General] plemen:
Thank you Zen and dzo - going to give this a go now.
[Touch CDMA General] zenulator:
first image is vogue only
[Touch CDMA General] tatnai:
new donut for me: audio works perfectly. zen, you've said before that GPS works, but it is not working for me. everything checked under location, but I get no GPS sattelite icon, and "location temporarily unavailable" in google maps. I tried lcd density 120, 110 (res 240x320), doesn't seem to be the problem. what am I doing wrong, or is it not working for others as well? I'm using rootfs from 10/4 that was posted on voguehero, zimage from latest battery update from dzo, and rest from latest basefiles.

still end button behaviour can't go home then sleep. no cameras working for me (reg, propaint).

this build is really getting there, thanks zen.
[Touch CDMA General] plemen:
My GPS works - I started off using just the Vogue build and had no GPS; so I tried the r2 (vogue/kaiser) build with the same data.img from the vogue only and now I have GPS. So not sure if the reboot brought GPS up or if it's just working in the r2 combo build.

Calls come in nice and quick and 240 x 320 is super crisp - going to stick with this build...
[Touch CDMA General] tatnai:
yeah, i'm using the r2 build, I don't know what's up. GPS works fine for me in all other builds, this is weird. any one have a clue?
[Touch CDMA General] zenulator:
I haven't tested gps. It's using the cupcake libgps.so.
[Touch CDMA General] aross6:
Any chance getting a Compact QWERTY keyboard in Donut? Would the one for Tattoo work??
[Touch CDMA General] zenulator:
it could work. when i have time later on i'll spice up the donut build with exchange support and see about putting the tattoo gmail and tattoo keyboard in there.
[Touch CDMA General] enatefox:
xxremovedxx
[Touch CDMA General] plemen:
Zen / Enatefox - when i usquash the donut system.sqsh file I get a ton of errors like:

create_inode: failed to create symlink

Any idea how I can unsquash the file so I can customize and resquash it?

Thanks
[Touch CDMA General] enatefox:
Need more info. With squashfs-tools 3.1, 3.4 and I believe 3.7 you should just have to run "sudo unsquashfs system.sqsh"
[Touch CDMA General] aross6:
Awesome... if Donut had Tattoo Gmail and Keyboard, and the End Button behavior was fixed Donut would be very usable as a daily build!
[Touch CDMA General] enatefox:
Gmail should "just work" and I think you can just drop the HTC_IME.apk in. Probably will throw some errors but with logcat you should be able to debug it. Or wait and we'll get it.
[Touch CDMA General] aross6:
Gmail does work but the text is cut off due to 240x320 resolution. Also, I dropped in HTC_IME.apk and it throws errors but when it does come up the keys are heavily distorted and almost unreadable...
[Touch CDMA General] zenulator:
what htc_ime did you put in?
[Touch CDMA General] aross6:
The one from the highlighted post in this thread: http://forums.t-mobile.com/tmbl/board/message?board.id=myTouch&message.id=35103#M35103
[Touch CDMA General] plemen:
Using synaptics package manager I've installed version 1:3.3-7ubuntu2 and it gives me these file versions:

mksquashfs -version says version 3.3

unsquashfs -v says version 1.5

are these the latest? Sorry I'm newish with Linux..
[Touch CDMA General] enatefox:
I have the same versions on mine. There should be nothing about symlinks during the extraction-- are the files there or did it die with an error?
[Touch CDMA General] plemen:
The files are extracted but seeing a lot of errors during the extraction:

unsquashfs donr2_system.sqsh
create_inode: failed to create symlink squashfs-root/lib/donut/libsoundpool.so, because Operation not supported
create_inode: failed to create symlink squashfs-root/lib/donut/libwebcore.so, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/[, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/[[, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/arping, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/ash, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/awk, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/basename, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/bbconfig, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/bunzip2, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/bzcat, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/bzip2, because Operation not supported
create_inode: failed to create symlink squashfs-root/xbin/bb/cat, because Operation not supported

[...repeat many more times]

created 598 files
created 46 directories
created 0 symlinks
created 0 devices
created 0 fifos
[Touch CDMA General] enatefox:
That's run as root user right? The files should still be there. The busybox tools are symlinked and I don't know what kind of partition you are extracting to but any Linux-supported partition should accept that. The worst I can think of is that they'd just be dangling symlinks but that won't affect the image
[Touch CDMA General] plemen:
Wow - apologies for being brain dead; I was trying to extract to the smb share from my windows box - extracted to my home folder and all is well.

Thanks for your help.
[Touch CDMA General] cointelbro:
Is there any way I can get the Tattoo dialer on the regular Donut build?
[Touch CDMA General] plemen:
I have the tattoo gmail in Donut - I'm going to try the dialer and see if it works - I suspect there are dependencies but we'll see...
[Touch CDMA General] jamezelle:
yea im pretty sure htc has dependencies/locks on the dialer GL
[Touch CDMA General] plemen:
I'm sure - a skin would be easier. Looks like the odexed apps can't be transferred over... for the htc_ime (or any odexed app) do you have to deodex and add the classes.odex to the apk? Anybody have tools handy for this?
[Touch CDMA General] jamezelle:
im pretty sure there is like a checksum or something like that, that locks certain files to certain builds.

and dependencies on different frameworks and libraries and apps for that matter
[Touch CDMA General] Macmee:
I must be doing something wrong, because this is running as bad as Vista was on my PC:p.

It's really laggy, and it force quits a lot :(
[Touch CDMA General] zenulator:
yea your doing it wrong. let me guess you used a old data img?
[Touch CDMA General] Macmee:
Nope, I downloaded everything you said from the other thread and put it on the SD card. I'll try another SD card.
[Touch CDMA General] zenulator:
what phone and files are you using? your using donut right? i know there arent forces closes and lag because i use it every day.
[Touch CDMA General] Macmee:
I'm using it on a smaller faster card, seems to be a lot faster now. Is it me, or does the android market with donut not have as many apps to get? I can't find the task manager or sms popup:p
[Touch CDMA General] zenulator:
i dont really use the market that much but the last time i did i noticed there werent as many apps as the 1.5 market.
[Touch CDMA General] Macmee:
Oh. Is it possible to somehow make it show apps for 1.5?

by the way thanks for all your help with this. I wonder if this will improve battery life. I downloaded the default.txt file on the google code page, and then set the resolution. Is there any other customizations to optimize battery life?
[Touch CDMA General] mrkite38:
Holy crap these build are getting fast. Makes me all the more intrigued about running from NAND since I'm running on a class 4 now.
[Touch CDMA General] zenulator:
turning down your screen brightness and killing off apps your not using. for the market issue you can run the ion cupcake build and install all the apps you need then use a backup program to copy the apps to the sdcard. just remember you cant mix cupcake and donut data
[Touch CDMA General] Macmee:
Ok, my screen brightness is at 40% and I downloaded task killer. I'll go airplane mode at night. Maybe I can download the install packages from the internet:D
[Touch CDMA General] zenulator:
you can go to slideme.org they have their own alternative market app.
[Touch CDMA General] Macmee:
Ok thanks for that. Unfortunately none of these places have twidroid or ebuddy. Is there a quicker way to boot into android without going through winmo maybe:p
[Touch CDMA General] zenulator:
no not really. people want a flashable image but i like being able to use both windows mobile and android. plus it's easier to change builds the way this is set up.
[Touch CDMA General] Macmee:
Oh yeah, I like it too :P, I just miss android market .

Edit: I moved donuts data and system files to a new folder and put the cupcake files back onto the sd card. I loaded cupcake fine, but oddly enough when I search for apps I downloaded just yesterday, such as ebuddy, it cant find the package.
[Touch CDMA General] plemen:
Once you go to donut it seems your email address is somehow marked and you don't see the full market even if you go back to cupcake - there is a thread in this forum about this and a workaround (a new email address I believe).
[Touch CDMA General] dzo:
I've made a new rootfs and kernel for donut, they're on the vogue-android google code site here:

http://code.google.com/p/vogue-android/downloads/list

The rootfs has fixed libraries for audio and the camera. The kernel also has a few changes, a long press on the cam button is home (since the end key behavior is broken) and the panel doesn't do scaling for 320x240 (you won't notice any difference but the display is slightly faster).

Works with zen's latest donut system image on the vogue hero site.

I've been running it with compcache off, is compcache really useful for this?
[Touch CDMA General] KERKEDAGAIN:
so does this overwrite the recently used programs assignment?
[Touch CDMA General] dzo:
Yes it does, I guess we could make that a really long press but I never use it and home is more important I think.
[Touch CDMA General] tatnai:
agreed. thx for this, really brings donut up to speed. landscape is currently long-long press power, with keyboard short-long press power. I think home and running programs are the most used, what if those were both short-long press on camera and power, and landscape and keyboard were long-long press one camera and power? 0.5 seconds and 1 second seemed to be decent, I thought anything longer than 1 second seemed like forever (I think landscape is currently 1.5 seconds or two seconds).
[Touch CDMA General] plemen:
Thanks dzo - really appreciate your work on the kernel to get donut audio, better power management and everything else.

cheers.
[Touch CDMA General] garynsa:
Thanks a lot for all the great work... One quick thing on the new kernel. Tried it with the donut on Tilt. the mobile didnt get registered on the network at all. Is it not made for kaiser/Tilt as yet?

Thanks once again...
[Touch CDMA General] zenulator:
I uploaded a new donut build use it with the zImage and rootfs.img dzo put up. It has a htc themed launcher that allows you to set the number of home screens (up to 7 i think) and the google maps from the sholes/eclair dump. I don't have a kaiser so the wifi part is untested but it should boot on kaiser at least. This is mainly a test build to see how people like the launcher and maps. i'll add the exchange work email app and anything else people will use. this isn't themed except for the launcher. i'm going to work on a dark theme for it later on to match the launcher and a themed dialer.
[Touch CDMA General] polyrhythmic:
Holy Hell.

THIS NEW DONUT BUILD (along with the new rootfs and zImage) IS INSANELY FAST.

Loads faster than any android build I've ever seen. SO FAST. But uh, haven't gotten 3G Data to work yet.

Wifi works, but

You guys rock. Will report back after further testing.

OK: Wifi works. Getting a lot of FCs for android bugreport process. New maps app is way cool, I get a lot of screen tearing when scrolling. New market app still says 'installing' after an app has finished installing, but I've seen that before with the new market. Going to reboot and add in more apps and test further.
[Touch CDMA General] zenulator:
i've used it with compache on and off and there is little difference if you don't use a lot of apps. i've noticed with compcache that more apps are kept in memory and over time it seems to weigh down the system as more and more apps get loaded and none get unloaded. where with no compcache apps running in the background get killed off when new apps open and need the memory. so it all depends on how many apps and widgets you want to run. if anything a small 32MB compcache would be fine for most people.
[Touch CDMA General] zenulator:
3G data works for vogue. It comes right up on boot. Did you try the modem app? Or maybe set your apn?
[Touch CDMA General] KERKEDAGAIN:
as expected..it runs beautifully and i LOVE the launcher and how could we not ADORE the new maps??! (gps no workie so well for me, though. is that true for others?)
[Touch CDMA General] zenulator:
i haven't got it to load up. i did install the sprint nav app and it actually brought up the gps ion. but the app wanted me to log in and i stopped right there. i don't know if the libgps.so needs to be reworked for donut like the ril and libaudio did. i'm sure it will get worked out. for the kaiser issues hopefully when pmos or kb7sqi have time they can take a look at whats going on with 3G data and wifi.
[Touch CDMA General] garynsa:
looks great

Thanks for a great build as always. just installed on Tilt with the new kernel files. Works smooth. Am raoming so cant test much.... Wifi gets activated and shows the connections. Will test further and post results

Thanks :D
[Touch CDMA General] zenulator:
the default camera app works in the new build but the video recorder will crash the phone causing a reboot.
[Touch CDMA General] bzo:
Is there anything special needed to enable the camera button mapping to home? It still brings up the open applications window for me.

Took me a while to figure out that you had to disable auto orientation in settings for the long press on power to rotate the screen.
[Touch CDMA General] polyrhythmic:
On 2nd boot it autoconfigured my AT&T APN, I checked and all the settings are correct, but it never successfully gets connected. If I open the Modem app I can watch it restart pppd and fail to connect, over and over. I was having this same issue with the recent Tattoo and SenseUI builds too. I don't think it's the kernel/rootfs, since the new kernel/rootfs work fine with 3G data on xROM 1.5. Is there a log I can dump somewhere to help debug this?
[Touch CDMA General] zenulator:
Use adb and send the out put to a file. I'm pretty sure pmos69 was working on it but he's been busy. You can report bugs on the Google code pages.
[Touch CDMA General] ajclai08:
i can confirm wifi fully works with the latest files for donut on kaiser. Testing more, sound, power..all work. I can see more apps in the market. but it feels like the ions builds..nice job devs.
[Touch CDMA General] stickus:
How about that end button? Or does the new button mapping work? I was trying the new files last night and long-press on Camera button was the launcher again, rather than home.
[Touch CDMA General] zenulator:
I'm sure dzo is going to work on it. The long press camera button brings up the task switcher for me. Also I'm going to put up two builds tomorrow. One plain build and one themed build with the htc themed launcher and matching themed notification bar and phone dialer and clock widget and blur animations. Also I'll add exchange support, taskiller, jbed java and esfile explorer to both builds. I'm going to try out better browser which has double tap zoom and other features and the tattoo gmail and tattoo htc_ime. If anybody wants any other programs installed let me know.