yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] defconoi:
let me know how it runs, I think I gotta fix gps/camera

btw if anyone knows how to fix gps/camera let me know, im new at this **** lol
[G1 Android Development] dcowboys2184:
camera work with this build i didn't see it in the 1st post?
[G1 Android Development] studjuice:
EDIT: that's with test3... you released test4 too fast :P

Camera doesn't work, and I assume GPS doesn't work. I opened browser and at google homepage it said "location unavailable".

Also with sapphire the keyboard doesn't auto-correct

but the 'menu button unlocking the screen' has been fixed :)
[G1 Android Development] defconoi:
well something needs to be added for it to work, cyanogen fixed it in the source I used, but I dunno what exactly to do, its probably simple as hell and I gotta get to bed, I dont use camera or gps so im good, cyan should release an official build soon anyways
[G1 Android Development] Ace42:
Can you try the drivers made by Ncommander?

i dont have the link for the thread, but those hacked drivers might also work in 2.2 if you do some extra hacking, one of the magic devs said something about the camera.
[G1 Android Development] studjuice:
If you need to fix gps, lfd posted something about it that I haven't figured out yet. also haven't spent any time on it yet though lol

http://xdaforums.com/showthread.php?p=7037535#post7037535
[G1 Android Development] jubeh:
lol'd

Add me too. I was checking CM's libcamera2 source and it's different from the source I have originally from NCommander. I asked if one of those changes had to do with the camera fix but all he replied was "no".

I've been trying to find out ever since he fixed it for Eclair how he got camera/camcorder working, but I guess he's the type of guy who's likely to reply "source's available, read it yourself".

I seem to remember it involved taking a camera lib from the Legend build and then linking libcamera to it, or something like that...

GPS, honestly, I have no idea whether it works or not. I should get my new ADP Monday, so then I can flash the build, try to turn GPS on and see what kinds of error messages I get.

Oh, btw. Anybody know a source of 2.2 compatible GAPPS that are either MDPI or all-dpi? If not, then I guess I'll just have to go through the tedious work of manually fixing all the artwork (hint, difference from 240 dpi to 160 dpi is 2/3, so just reduce your artwork by 2/3rds, move it to mdpi, re-pack, sign, and you should be fine).
[G1 Android Development] studjuice:
not really, i pieced my Gapps together to get the good ones..

they look right, and work right. the only exception is the market. With the market, the icons are all the right size and stuff, just the text in the header-moving-text-thing is funny looking.

I could try and package them for you if you want them, or you can just take them out of my rom yourself? I doubt they are what you looking for exactly, but they are the better ones out there so hopefully its less work for you, that's the point right? :)

edit: there is one still with small icons, News and Weather, because i didn't know the name of the apk :P
[G1 Android Development] jubeh:
GenieWidget.apk.

I actually have an all dpi (both mdpi and hdpi art included) version of that one, so that one doesn't need fixing.

Actually, I have all dpi version of Gapps for 2.1, but I don't think they'll work on 2.2. I might try it, but I'm not sure it will work, it seems google now really completely detached Gapps from AOSP and instead the new gapps come with their own sync providers and the older gapps from 2.1 still depended on some code in AOSP that had to be corrected if you were making a build with no gapps.

---edit---

I also haven't seen this problem with "small icons" you speak of. Seems people don't know ddms, so I'm not getting any screenshots even though I asked for them.

My guess atm is that the apps are specified as HDPI at AndroidManifest or maybe at one/more of the layout xmls.

Should be a matter of digging through them and see which ones have hard coded values for setting font size, etc (rather than relying on parent size) and changing those values to look right on mdpi).

APK tool is your best friend.
[G1 Android Development] sahid1haha:
This is one someone posted earlier on your thread.
[G1 Android Development] studjuice:
Here you go, I hope this helps in some way!

Gmail, Vending, Talk. Gapps-froyo
[G1 Android Development] studjuice:
I installed defcon t4 and after installing Maps from the market it gives me FC when i open it :(
[G1 Android Development] ggolemg:
ditto, everything else looks and works well as far as ive tested, rom is rather slow though or maybe i need to cut back on the coffee
[G1 Android Development] studjuice:
be careful with that one. that's where i got all mine EXCEPT Market.

the market in that one has been changed so it looks correct, looks better than mine, but when i used it I got FC's every now and then from it.

Just fyi dude
[G1 Android Development] sahid1haha:
Yeah i've noticed that too but not too big of a problem for me.
[G1 Android Development] Daneshm90:
Link. Its using the keyboard from cyan's rom. Wipe n flash is ur best shot at success.
[G1 Android Development] studjuice:
first off i think there are about 10 different gapps posted in this thread, which are you talking about? besides the keyboard should kinda be in the rom.. unless your talking about latinimegoogle specifically?
[G1 Android Development] Firerat:
the apps which are not showing are probably not tagged by the app dev as being 2.2 compatible, which is why the market is not seeing them

Ask the App dev when they will be releasing a 2.2 compatible version
[G1 Android Development] robuser007:
That's not the reason, I hadd this also on 2.1.

Maybe there's a good program that includes all market links.
[G1 Android Development] studjuice:
upload an example of a rom that does that, then someone like me or whoever will decompile it and tell you whether or not it is infact 2.2 compatible, and then if it is, move on to the next option which is where your app is stored
[G1 Android Development] cigar3tte:
Having a problem...

When I enable Wifi, and connect to an AP, the phone reboots and starts a bootloop. It does boot to Home before the loop starts.

Tried 3G and that works fine.
[G1 Android Development] studjuice:
i'm having a lil problem. i'm working on the cm6 rc1 and doing a few lil mods here and there ;)

but when it boots it turns on the blue led, and it stays on.. forever, until something else is plugged it. obviously it's something i did since the standard rc1 doesn't do it. but what causes this? it has to be either init.d scripts, shadow.sh script, or bootanimation. but it's not the bootanimation, still happened after i removed it :(

Edit: so it's an init.d script. i'll find out which one soon enough if no one knows.
[G1 Android Development] joe75:
hey studjuice, i had the same led problem when i tried royalknights rom.. i dont know what caused it either.
[G1 Android Development] studjuice:
it's the supersettings script!
[G1 Android Development] gjunky:
Perhaps off topic but is there a DUN Bluetooth profile for 2.2? I would like to connect my TomTom and it says the phone doesn't support it.
[G1 Android Development] LordXeth:
Hey Guys,

her is my new Theme "BX-Destiny" .::Froyo::. for cm6 RC1

mfg LordSeth
[G1 Android Development] BigMikeyVegas:
Amazed... that is all I can say. This works great on my phone. Thanks to all of the devs for the hard work.
[G1 Android Development] XxKOLOHExX:
the B.L.O.W (Blue Light Of Worry) haha :P Can be easily turned off by deleting a line of code in the script
[G1 Android Development] studjuice:
ah. well maybe i'll put it back in the next test... and i'll ask you what that line is :P but cachemate is still a good choice for people with a dollar to spend

thanks for being wise
[G1 Android Development] quierotacobell:
http://xdaforums.com/showthread.php?p=7146845#post7146845

Mount /sd-ext, last post.
[G1 Android Development] XxKOLOHExX:
LOl thats true and it's this line,,

for dc in dalvik-cache;
do
umount /cache/$dc;
rm -fr /cache/$dc;
mkdir /cache/$dc;
chown 1000:1000 /cache/$dc;
chmod 771 /cache/$dc;
mount -o bind /data/$dc /cache/$dc;
[B][U]echo 255 >/sys/class/leds/blue/brightness;[/U][/B]
done;

The bolded and underlined part is what you delete :D
[G1 Android Development] studjuice:
Thank you sir, will be included.

and thank you sir, this will also be included

:)
[G1 Android Development] Shaquiel Harris:
that theme doesn't flash over this build from that lord dude.
[G1 Android Development] Shaquiel Harris:
Told ya, kolehe is the shiz. Not Dickriding.:cool:
[G1 Android Development] Firerat:
so maybe you should detail the apps you are having trouble with

we can then all check and find that they are all <2.1...............
[G1 Android Development] motoman234:
My phone wont even boot after flashing this? Even after a full wipe.
[G1 Android Development] Firerat:
data wipe will have nothing todo with it

maybe system is full
[G1 Android Development] motoman234:
Good point. Thanks for the reply. After flashing it comes on the colored X screen and just freezes before it turns to the blue X.
[G1 Android Development] studjuice:
I looked into it. I thought it was system being full. but is the .png and .9.pngs. so the theme is broke. sad. it looked really cool
[G1 Android Development] dragonrider8844:
Building CM6

After I build the otapackage I get the following errors:

[: 27: =: unexpected operator

./squisher: 42: mksquashfs: not found

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

Please install pngcrush

mv: cannot stat `/tmp/repack/xbin.sqf': No such file or directory

anybody have this problem?
[G1 Android Development] motoman234:
Yeah it wasnt system afterall. I wiped system and its a no go. Hopefully he will fix it cuz it looks nice.
[G1 Android Development] studjuice:
yes. i looked into the package. the themeing itself is really cool, but the installing it is very crude. it's going to need a better update-script after the .pngs are fixed. so it doesn't interfere with cyanogens gapps

lol. maybe its just me but it looks like you need to install pngcrush...... :P

or if you already have it, add it to your PATH so it will quit telling you to

get that done then try again and lets see what happens
[G1 Android Development] johnphamiliar:
gps dont work?

i did full wipe and flash the newest 6.0.0 ds rc1 but gps dont seem to work?
[G1 Android Development] dragonrider8844:
definately what i was missing. took me 5 days to finally get one build completed
[G1 Android Development] Bzerk1:
umm... voice search doesnt work.*(for the list on front) or is it just me?
[G1 Android Development] studjuice:
i'm not sure about that. when i thought it was fixed with the new cm gapps like its supposed to. it wasn't.

but then later i did something. and happened to try it cause i felt like it. and it worked. so i'm trying to figure it out. in my current test that i am uploading, it works.

the only difference i made. was removing the bootanimation. literally...
[G1 Android Development] XxKOLOHExX:
Might be a space issue
[G1 Android Development] studjuice:
yeah i thought that. but it's not. i went from a 3.9 sized bootanimation to a 1.6 and it broke. and then i went back to 3.9 and it worked. and i went and removed it (so 0) and it worked. so it's just the freakin bootanimation.... idk
[G1 Android Development] XxKOLOHExX:
Interesting,, Got to look into that right now ,,
[G1 Android Development] Firerat:
I take it you also installed mksquashfs
[G1 Android Development] dragonrider8844:
that definately also helped. the CM6 on cyanogenmod wiki didn't specify to have the pngcrush and mksquashfs
[G1 Android Development] Daneshm90:
Posted this in cyan's thread, so thought id do it here as well. For those of u who want to a *clean start*, as in wipe data,cache,system and dont want to fuss with fastboot or dont have it setup.

So flash Link

It'll format cache,data,system

Then flash rom rom

Then flash gapps
[G1 Android Development] XxKOLOHExX:
Not to be rude or anything,, but you know that roms alread wipe system

format("MTD", "system");

The Roms/update.zip don't do a good enough job to rely on them,,
[G1 Android Development] Daneshm90:
I do know that, however cyans roms run a backuptool.sh script which backs up stuff like gapps and what not from ur system partition first before wiping it. Plus those users who wiped data,cache,system before flashing his cm6 have had 100% success compared to those who just wiped cache,data. But yes, other roms do format system before flashing so kinda pointless for those, but this is based on cyans so it is relevant. I did this after endless user-posts saying they're getting gapps fc's, whereas those of us who wiped data,cache,system are getting NONE.
[G1 Android Development] motoman234:
I completly agree. At first when i flashed cm6 i was getting FC on market and a few other places. After i flashed your script i have NOT had ONE. Thanks :cool:
[G1 Android Development] XxKOLOHExX:
Yes And I wipe all those each time I flash,, but it's w/e just wanted to point out that update.zip usually don't clean as well as a adb or fastboot command can lol :P
[G1 Android Development] tnpapadakos:
this is for all the crybabies that kept saying "oh, since cyanogen got a nexus1, i guess the dream and magic are just going to be forgotten"
[G1 Android Development] juangil:
you again? you just posted the same thing on CM6 thread:cool:
[G1 Android Development] Firerat:
but...

cm5+6 make backups of gapps *before* the 'format'

but, it just as easy to

adb shell mount /system
adb shell rm /system/build.prop

( the backup script checks the prop for a CM ROM )

and yes, RA recovery just mounts and deletes, you can have system data cache in such a state where this dosn't work

Clockwork uses erase_image, this is much better at handling a broken partition
[G1 Android Development] studjuice:
wow sir you are great. i changed everything, but could you tell me the actualy line i should put in the updater-script to do permissions for the mountsd and bindmount scripts?

right now its just a

set_perm_recursive (0, 2000, 0755, 0750, "/system/etc/init.d");

and voice search fc's for you? it works for me! do you have a g1, did you do test2 or test2.1.

you know, based on the libdvm.so i'm wondering if voice search is working because JIT is on? i'm gonna test it! it's not
[G1 Android Development] ttabbal:
Glad to help. Yes, voice search FCs, I'm using test2, JIT is ON. Should I try test2.1? I could try with JIT off as well I guess, but it sounds like you have it on. I'm on a G1. This install is a no-wipe over CM6-RC1, but that should be ok in this case. If you think it will make a diference, I'll try a fastboot wipe as well.

Not sure on the update script. I haven't worked with those, but the basic idea looks OK to me. The 06BindCache script came from FR's boot.img patch, but I didn't push the mountsd script in, so I think that should have been there when the update script ran.

Just to clarify, voice search FCs, voice dial works fine.
[G1 Android Development] studjuice:
try 2.1 and see if voice search works, otherwise wipe and see. cause mine is totally working, with or without jit. also, try not using FR's boot.img patch and see if it auto bindcaches and mounts sd-ext. there was an issue with his patch making it not correctly running scripts on boot for a fellow last night, see if that applys to you to

voice dial works, thats a good thing at least. what about voice input for keyboard, test that too (i think that runs the same as voice search)
[G1 Android Development] ttabbal:
I'm running custom partitions, does the ROM handle that properly without the FR patch? If not, I'll have to mod them back to stock first I guess.

I tried the keyboard voice input button. It has a giant microphone icon with a red slash through it. It also doesn't respond to speaking into it, so I guess that means it can't get access to the mic? odd. Perhaps it is wipe time. :)
[G1 Android Development] studjuice:
it doesn't. i used to include that, but got annoyed that it never worked so i stopped. i'm still running it on my patched recovery no problems, no real need to go back to stock yet (just don't flash a radio or spl or anything like that with a patched recovery...)

it should be a grey mic with a red slash, then after a few seconds its just a grey mic that turns white when you speak.
[G1 Android Development] Firerat:
FroYo doesn't seem to use cache for anything

so the bindcache script isn't all that important
[G1 Android Development] johnzal:
studjuice warp speed!!!

im using your cm6 2.1.. and i have to say this thing is warp speed...i set it up to your recommendation.. 10 swap and i didnt use any ext... did full wipe no firerat parch or fastboot erase since i had done that before.... map is super fast now..based on what we where taking about gps locate in the other thread. i did notice a faster locate in your rom.. if i unclick use wireless network it is even faster almost instant... but what i have notice with other rom is when you unclick use wireless network, latitude will not update. every hour or when you move.. so i guess you cant have everything... thank you for your work..:D:D;):p:)
[G1 Android Development] ttabbal:
Yeah, it's grey with the red slash. The slash never goes away though. I'm going to try a wipe (fastboot) and reflash without installing any other apps and such just to see.
[G1 Android Development] studjuice:
Maybe you need to let it settle and let it reboot idk, I've been running it for awhile before I tested it. But I flashed it and gapps overtop (no wipe) and it worked without waiting?
[G1 Android Development] ttabbal:
OK, my bad. I must have had the wrong gapps. I did a fastboot wipe and installed clean and it noticed that I forgot the gapps, so voice search wasn't installed. So I installed the ones you linked and it worked fine. As it was installed with the gapps, I figured I'd install them over the top of my nandroid restore and all is well. There are way too many gapps packs for froyo. :D

Thanks for the help and the killer rom build. Loving it.

Now if swype would add the voice button. I'm playing with slideIT and so far it's nearly as good and includes the voice stuff. I might have to pay for the thing. :)

Oh, and swype's official version keeps complaining about my phone resolution. Stupid thing.
[G1 Android Development] crr127:
using firerat's ext mount patch. the damn thing still doesn't do it.. the little mount app comes up and when i turn it on it just loops.. can't logcat cuz i'm at work anyone else having this issue? also it is on sj's test 2.1
[G1 Android Development] periferral:
didnt read the whole thread because its too darn long so I apologize if this is a repeat question. I just upgraded from a nightly image from 3 days back to the latest. With the old one, I had installed a bunch of apps and moved it to my SD.

Now with the new build, I can see to access my apps on my SD. The app icons on my main screen show the default no icon app and clicking it says, app not installed. When I go to

settings - applications - manage applications

Under downloaded, I see the apps listed (not by name). So for example, Advanced Task Manager shows up as com.aaron.taskManager etc.

When I click on that.. it takes me to a page where I can uninstalled, clear data and a button called Move. When i click on Move, it says 'Failed to move application. The application does not exist."

On the SD card, I see .android_secure directory with a bunch of com.xx.asec files for each of my apps.

Is there a way and I recover my apps without reinstall? any help is appreciated.
[G1 Android Development] nrmerritt:
I'm getting an install error when trying to install the Weather Channel app from the market.

Here's the logcat, it looks like it depends on google maps. I know this worked fine in the official RC from cyanogen. Any idea's??

D/PackageManager( 137): Scanning package com.weather.Weather
E/PackageManager( 137): Package com.weather.Weather requires unavailable shared library com.google.android.maps; failing!
W/PackageManager( 137): Package couldn't be installed in /data/app/com.weather.Weather-1.apk
D/dalvikvm( 137): GC_EXPLICIT freed 12622 objects / 550704 bytes in 227ms
D/vending ( 4536): [8] LocalAssetDatabase.notifyListener(): -6750316753266307112 / INSTALL_FAILED
I/vending ( 4536): [8] AssetDownloader$DownloadManagerBroadcastReceiver$MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/download/9 failed: Missing shared library.
[G1 Android Development] studjuice:
I don't know anything about a2sd (any kind), i don't use it. perhaps someone else can help you soon? eh guys?

but that was a fantastic post. noobs should take a lesson from that

i'm not sure, that's a file that gets installed when flashing the gapps. and i just checked installing the weather channel app, and it worked fine. redownload gapps and flash it, otherwise do a fastboot wipe (i know its a pain to wipe for one lil issue :()
[G1 Android Development] nrmerritt:
I'll try re-flashing the gapps a shot. I did a "fastboot -w" prior to installing though. I installed this version of gapps initially "gapps-mdpi-FRF91-2-signed.zip" I'm flashing "gapps-mdpi-FRF91-3-signed.zip" as I type. Fingers crossed :D
[G1 Android Development] robuser007:
Why don't we start a Thread with the most current build of http://buildbot.teamdouche.net/nightly/dream_sapphire/

?
[G1 Android Development] studjuice:
because this isn't the teamdouche nightly thread. its us guys taking compiled versions of cm6 whether the teamdouche one or a self compiled one and modifiying it be the most working it can be (and fast ;))
[G1 Android Development] Bzerk1:
hey studjuice, question about your downloads. are they color coded as

blue = good to go

yellow = beta-like

red = dont get

or am i just completely getting this wrong. dunno if i should download the test 2.2.5 or the 2.1
[G1 Android Development] studjuice:
not exaclty color coded. blue means its available. red means its private, so you won't be able to download it (so it's old). yellow means there is a password (so it's like a beta)

but i'm thinking about releasing the new one. doesn't seem to be any extra problems. but i kinda want to added swap compatibility for p3

gimme a DM on twitter if you are interested in testing
[G1 Android Development] XxKOLOHExX:
Anyone know the files needed to make audio work? I know only a couple,, the .csv and couple libs but can't seem to get audio working on the newest Nightly Buildds
[G1 Android Development] studjuice:
there are 4 audiopara .csv types

and libhtc_acoustic.so is probably what you are looking for
[G1 Android Development] XxKOLOHExX:
You sure thats it? I just replaced those from the CM6 official release and it still doesn't work,,
[G1 Android Development] studjuice:
check this http://download523.mediafire.com/m2hgzi23s3rg/gyoddyy5uo0/dream_sapphire_proprietarys.tgz

it may not solve your problems, but it's at least a good source of what the proprietary libs are.

make sure you have the audiopara files and the audio profile script in init.d. not sure what else?
[G1 Android Development] XxKOLOHExX:
Alright cool thanks :D