yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] lithid-cm:
If someone wants to do a full wipe and try that tegra gb gapps or the others and let me know how they both work I would have no issues changing where the gapps are. I personally have not tried them. Sorry.
[EVO 4G Android Development] warrencarreiro:
I asked the same question and this is the answer given by thexx(sp)

Yes it's a know issue when your ssl settings are wpa / wpa2. If you change your settings to wep it seems to stay connected longer without any drops on wake.
[EVO 4G Android Development] captblaze:
gapps-gb-20110114-signed.zip (universal) loads with current build... havent tested each app individually

will report back if anything is amiss

gapps flashed from full wipe of latest build (01152011)

update

setup wizard works

gmail works

gvoice works

gtalk works

market works / updated to new version

navigator works

gmaps works

car home works

^
[EVO 4G Android Development] tyrnight:
gapps-gb-20110114-signed.zip

Didnt do anything for me.

acted as if GAPPS wasnt installed..

wiped and used 20110106 Lith made.. good so far..
[EVO 4G Android Development] jerdog:
I have followed the instructions in the OP to a "T" multiple times, and I keep getting the following

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory

it then goes through a bunch of stuff for awhile and ends with:

arm-eabi-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [out/target/product/supersonic/obj/STATIC_LIBRARIES/libjavacore_intermediates/luni/src/main/native/NativeBN.o] Error 1
make: *** Waiting for unfinished jobs....
external/sqlite/dist/sqlite3.c: In function 'sqlite3VdbeExec':
external/sqlite/dist/sqlite3.c:58248: warning: 'pc' may be used uninitialized in this function
[EVO 4G Android Development] lithid-cm:
Try deleting the ~/android/system/ * then resyncing.
[EVO 4G Android Development] edisonalvarez:
Same here. I didn't wipe just to see if there was any difference. So far no issue or changes
[EVO 4G Android Development] david279:
It should have the new market.
[EVO 4G Android Development] blehzz:
TARGET_PRODUCT=full

that means your

. build/envsetup.sh ; lunch cyanogen_supersonic-eng

did not work, or you did a

make clean

and didn't re-do the above 2 commands?
[EVO 4G Android Development] Crsdr37:
I sent voodoo a pm last night asking him how and what he changed to get that dropdown menu. He has not responded yet. I have tried to change many of the files without success. I know in froyo you had to change the services.jar for transparency. But I guess in GB it's defaulted. Once he responds if he does. I will get back to you guys. :D
[EVO 4G Android Development] sfld:
flashed over those new gapps still the same old market?

is there some way to trigger it, or should i just wait it out
[EVO 4G Android Development] cMeka:
You could try going to applications>Market>clear data>force close> and then reboot your device.
[EVO 4G Android Development] lithid-cm:
How are you enjoying your Kang? I hope its shaken and stirred just right for you! :p
[EVO 4G Android Development] sfld:
no defaults in the market, but i cleared cache and rebooted phone lets see
[EVO 4G Android Development] cMeka:
Enjoying it indeed! It's perfect, I appreciate every once of effort you put into these builds :)
[EVO 4G Android Development] Askym:
lithid you are da kang! ty so much for all you have done.

i bow to your kangdom :)

btw i love the kangbang...almost fell out of my chair laughing when i saw that. ty needed a good laugh lol
[EVO 4G Android Development] drmacinyasha:
You'll need to clear out your /system folder or else this won't necessarily flash over right (the new gapps are TINY packages which lack Gmail, Voice, etc.).

As to get them working? In CWM they're fine, but in Amon_RA, you need to go to Mounts>Mount /system and THEN flash the ZIP. I'm working with Amon_RA and the dude who whips up the official gapps packages to get this all fixed up, but in the meantime, that works.
[EVO 4G Android Development] lithid-cm:
Must be how its calling the "/sbin/mount", works if these:

run_program("/sbin/mount", "/system");
run_program("/sbin/umount", "/system");

Are changed to:

mount("yaffs2", "MTD", "system", "/system");
unmount("/system");
[EVO 4G Android Development] edisonalvarez:
Two ice cubes and let it sit for a minute. Lol
[EVO 4G Android Development] voodoo55:
#! /bin/bash
# Script for modification of CM7

echo "Pulling files..."
adb pull /system/framework/framework-res.apk pulled/
adb pull /system/app/SystemUI.apk pulled/

echo "Decompiling..."
./apktool if pulled/framework-res.apk
./apktool d pulled/framework-res.apk
./apktool d pulled/SystemUI.apk

echo "Editing Components.."
sed 's|TextAppearance.StatusBar.EventContent.Title|TextAppearance.StatusBar.Title|' <framework-res/res/layout/status_bar_latest_event_content.xml >cache
mv cache framework-res/res/layout/status_bar_latest_event_content.xml
./apktool b framework-res
./7za x -o"framework-res/dist" "framework-res/dist/framework-res.apk"

mkdir -p "res/layout"
mkdir -p "res/drawable-hdpi"
cp pngs/framework/*.9.png res/drawable-hdpi
mv "framework-res/dist/res/layout/status_bar_latest_event_content.xml" "res/layout/"
./7za a -tzip "pulled/framework-res.apk" "res"
rm -r res

sed 's|#ff212121|#bb000000|' <SystemUI/res/layout/status_bar_tracking.xml >cache
mv cache SystemUI/res/layout/status_bar_tracking.xml
sed '4178 s|const/4 v5, 0x2|const/4 v5, -0x3|' <SystemUI/smali/com/android/systemui/statusbar/StatusBarService.smali >cache
mv cache SystemUI/smali/com/android/systemui/statusbar/StatusBarService.smali
./apktool b SystemUI
./7za x -o"SystemUI/dist" "SystemUI/dist/SystemUI.apk"

mkdir -p "res/layout"
mkdir -p "res/drawable-hdpi"
cp pngs/systemui/*.9.png res/drawable-hdpi
mv "SystemUI/dist/res/layout/status_bar_tracking.xml" "res/layout/"
mv "SystemUI/dist/classes.dex" "classes.dex"
./7za a -tzip "pulled/SystemUI.apk" "res"
./7za a -tzip "pulled/SystemUI.apk" "classes.dex"

echo "Cleaning up..."
rm -r framework-res
rm -r SystemUI
rm -r res
rm classes.dex

echo "Pushing files..."
adb remount
adb push pulled/framework-res.apk /system/framework/
adb push pulled/SystemUI.apk /system/app/
echo "Rebooting device..."
adb reboot

echo "Done."
exit 1
[EVO 4G Android Development] lithid-cm:
I know how do do it with smali code. I thought you knew it at the source. Doing it this way is no better then the hacking of sense. Thank you much for the code. but this won't cut it for submitting to CM. Not unless we know the actually java values that are changing.
[EVO 4G Android Development] krazyflipj:
What items in the /system folder would i need to delete? the apps?
[EVO 4G Android Development] voodoo55:
yeah. you were the one all about pushing it to repo. i'm just into theming, and it works for me. run the script after a new build install. could even be modified to alter the rom zip before flashing.

i am able to build cm7 from source, but the sheer mass of the thing is intimidating. i don't really comprehend the file structure well enough to make changes there.
[EVO 4G Android Development] lithid-cm:
I understand. I am going to take your script and see if I can make the edits to the source. Not today thought... but soon. :)
[EVO 4G Android Development] spiicytuna:
Agreed. Can someone push this code to gerrit?

w00t! good deal!

*sigh* collaboration and helping out the greater community is quickly being lost on XDA. I remember when XDA was a much smaller group and everyone helped out the next guy without a bunch of smoke and mirrors.... Thank you lithid for ALL that you do and this thread-- I truly appreciate the time you've given the community.

Point taken. I build cm7 from source every couple of days and follow this thread for fun... maybe I'll take a shot at applying your changes to the actual code next week sometime if someone doesn't do it sooner.

Cheers!
[EVO 4G Android Development] lithid-cm:
I wonder if my boot sound patch would work on cm7...
[EVO 4G Android Development] jerdog:
yeah - just did that a bit ago - it's all rebuilding now - figured I would start all over. removed the ~/android directory actually
[EVO 4G Android Development] drmacinyasha:
To be honest, what I'm trying to get is for either that (which looks to me like it'd be proprietary to some extent, aka, "I have no freaking clue if that would work in CMR") or for Amon_RA 2.3, there to be a symlink at /sbin/mount which points to "/sbin/busybox mount".

Y'know, the easiest thing may be to just DO A NANDROID, then delete everything in /system, and flash the ROM, followed by gapps. Can't predict how well that'd work for updated apps that used to be system apps.

Please no. I hate having boot audio, especially when I'm trying to do Android stuff at work/school during break. :(
[EVO 4G Android Development] fearphage:
<mostly off topic but i'm excited and want to share>

Holy crap. On build 11/14 (not sure it matters really), last night I turned background data off before i went to bed. I woke up about 8 hours later and the battery barely moved. Bluetooth, wifi, and gps were also off. Went to bed at 34% woke up at 33%.

The almost horizontal spot in the graph is the time i was sleep. 20 hours on CM any version is amazing to me. I'm not sure what's so different about power drain between sense and aosp.

</mostly off topic but i'm excited and want to share>
[EVO 4G Android Development] jerdog:
i ran:

make clean
make install clean
repo sync
cd ~/android/system
cp ./vendor/cyanogen/products/cyanogen_supersonic.mk ./buildspec.mk
. build/envsetup.sh
lunch cyanogen_supersonic-eng
make -j`grep 'processor' /proc/cpuinfo | wc -l` otapackage

and continued to get the errors...

I just wiped out the ~/android directory and going to try it all again
[EVO 4G Android Development] lithid-cm:
looks to me your repo syncing then changing directories.. that would cause issues.
[EVO 4G Android Development] pinetreehater:
I still get the flaky wifi on this build. I wonder exactly what causes the wifi to be sporadic. I am almost certain it is CM specific. I have been running evervolv for the last several days. Interestingly, wifi is perfect on that build, even though it was taken from the CM code.

I flashed back to evervolv this morning and the wifi was good. Now back on CM and it disconnects again. The exact same behavior as CM's froyo builds have...what I am trying to say is I have flashed back and forth between gingerbread builds. It seems that the ones that have the cyanogenMod settings have wifi problems, and the ones that build without it do not have wifi problems.

Just an observation.
[EVO 4G Android Development] jerdog:
sorry - no I was just posting the steps I followed from your OP.... I was already in the android/system directory

everything is ran out of there like the OP says to.... I am repo syncing from the ~/android/system directory
[EVO 4G Android Development] BK553:
Hey just a quick heads up for those frustrated by the Adfree Android java io problem, I replaced my .host file via this adb method and it worked great.

http://xdaforums.com/showthread.php?t=664532
[EVO 4G Android Development] BK553:
Is it disconnecting while the screen is on, or every time you turn it off?
[EVO 4G Android Development] pinetreehater:
It isn't that. For me, it's the same issue as the Froyo builds. The connection is weak, so when I am farther away from my router the signal tends to disconnect. It works, it is just sporadic. Right now I have 1 bar in my garage. With all sense builds (and some CM builds like Evervolv) the signal would indicate two maybe three bars of wifi.

One of the first things I always do when I flash a ROM is unchecked the "wifi sleep withscreen off " tick box.

Another thing I have noticed that is specific to CM but doesn't show up in all kanged Roms, is the disappearing search box on xda. When I use the old forum format, and I am on a pure CM build, the search box will close as soon as you try and type in it. Has always done this to me.. funny thing is, neither crackflashers nor Evervolv do this. That is why I suggested it may have something to do with CyanogenMod settings that comes installed on pure CM builds.
[EVO 4G Android Development] davidnjessicacruz:
I was actually going to make that a personal project. Just poking at it, I thought that the bootanimation binary file needed to be edited to call for the sound file. Would you mind sharing how you did it? You can pm if that would be better.
[EVO 4G Android Development] BK553:
weird. I haven't had any change in my WiFi range. I'm not saying you don't. Does the speed say the same? I think cyanogen reports the signal strength of the network different than the sense roms, does the actual connection change or just the reported strength?
[EVO 4G Android Development] 27s:
Off topic : amazing title. I laughed for a solid minute
[EVO 4G Android Development] lithid-cm:
Sure here it is:

#!/system/bin/sh
#lithid
#Setting up the system for read/write access
if [ "`ls /sbin|grep -q recovery;echo $?`" = "0" ];
then
mount -a > /dev/null
recoverymode=y
else
mount -o rw,remount /system
recoverymode=n
fi

#This is to create the needed scripts in init.local.rc
echo '' >> /system/etc/init.local.rc
echo '' >> /system/etc/init.local.rc
echo '###Bootsound - Safe to Delete: Start ###' >> /system/etc/init.local.rc
echo "" >> /system/etc/init.local.rc
echo 'service bootsound /system/bin/bootsound' >> /system/etc/init.local.rc
echo ' user media' >> /system/etc/init.local.rc
echo ' group audio' >> /system/etc/init.local.rc
echo ' disabled' >> /system/etc/init.local.rc
echo ' oneshot' >> /system/etc/init.local.rc
echo '' >> /system/etc/init.local.rc
echo 'on property:init.svc.bootanim=running # to correct timin' >> /system/etc/init.local.rc
echo ' start bootsound' >> /system/etc/init.local.rc
echo '' >> /system/etc/init.local.rc
echo 'on property:dev.bootcomplete=1' >> /system/etc/init.local.rc
echo ' stop bootsound' >> /system/etc/init.local.rc
echo '### bootsound - Safe to Delete: End ###' >> /system/etc/init.local.rc

#Now creating the bootsound script
touch /system/bin/bootsound
echo '#!/system/bin/sh' >> /system/bin/bootsound
echo '' >> /system/bin/bootsound
echo 'bprop=/system/build.prop' >> /system/bin/bootsound
echo '' >> /system/bin/bootsound
echo 'play=$(cat $bprop | egrep -c -i -o ro.config.play.bootsound=1)' >> /system/bin/bootsound
echo 'if [ "$play" = "1" ]; then' >> /system/bin/bootsound
echo ' stagefright -a -o /system/media/android_audio.mp3' >> /system/bin/bootsound
echo 'fi' >> /system/bin/bootsound
echo 'exit 0' >> /system/bin/bootsound

#Changing some permissions
chmod 777 /system/bin/bootsound
chown root:shell /system/bin/bootsound
echo '' >> /system/build.pro
echo 'ro.config.play.bootsound=1' >> /system/build.prop

mount -o ro,remount /system
exit

Make sure there is a audio file there.

su
mount -o rw,remount /system
cp /sdcard/file.mp3 /system/media/android_audio.mp3
[EVO 4G Android Development] Askym:
when changing host name under settings>applications>development>device hostname i am unable to change the hostname with the htc_ime keyboard t9. it only uses first letter.

was wondering if other keyboards worked on this....

edit: works with the stock keyboard.
[EVO 4G Android Development] jerdog:
Still having issues.....

after removing the ~/android directory, rebooting and starting over - here's what I still get when I start the build process (make -j`grep 'processor' /proc/cpuinfo | wc -l` otapackage)

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.1
TARGET_PRODUCT=cyanogen_supersonic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
Checking build tools versions...
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
[/quote]

It's still running - I can PM a text file of the entire log if someone wants...
[EVO 4G Android Development] lithid-cm:
I am currently attempting another build. There were some updates over night.
[EVO 4G Android Development] mitchellvii:
The reason I wrote that is that it seems the #1 feature most users across the web are looking for is the damned silly "tv-off" feature. It's like buying a car because you like the cup holders.

However, if (my part of the comment) offended you I am sorry, was just trying to add some amusement.

Mitchell's EVO
[EVO 4G Android Development] mitchellvii:
Awesome dude. Don't sweat the copycat threads. That's bound to happens - let the mods sort it out.

* We all know who has the REAL cm7 thread :)

Mitchell's EVO
[EVO 4G Android Development] mitchellvii:
Hmmm, I went ahead and set up an ext4 and believe cm7 does run quicker on it. Anyway, been reading about some speed tricks they are trying with ext4 and I'm glad I did it just in case :)

Chicks dig guys with ext4.

Mitchell's EVO
[EVO 4G Android Development] cMeka:
I subscribed this thread, lithid ... you have converted me from sense to awesomeness :)
[EVO 4G Android Development] snrubs13:
But they're really nice cupholders.
[EVO 4G Android Development] PhantomPhreak53:
Do you ever sleep? haha
[EVO 4G Android Development] mitchellvii:
I think we should get an entire selection of screen-off "Twilight Zone" animations along with spooky music.
[EVO 4G Android Development] lithid-cm:
Just pushed cyanogen_supersonic-ota-eng.lithid.20101227.zip to the folder enjoy.

Look at the change log for any changes or cmsrc.
[EVO 4G Android Development] mitchellvii:
Lol, dude, saw the new title. Completely cracked me up. Whatcha bet you stay top of page 1 from now on?
[EVO 4G Android Development] lithid-cm:
build 1227 is still broken. restore 1226 build 2 nandroids. just sits at the boot screen. will try again later if there are more updates. sorry.
[EVO 4G Android Development] EJerVJerO:
I hope my compile I am working on now doesn't bootloop :(

Anyone notice the twitter for cmsrc is not updating even the timestamps?

frameworks_base/gingerbread - Steve Kondik * b997de - audioflinger: revert mStreamTypes to original size... http://bit.ly/eLbRf2

6 minutes ago via CMBot

Its been showing 6 minutes ago since it got posted for me LOL
[EVO 4G Android Development] lithid-cm:
It will. Media libs are broken. I would just wait. Unless something is terribly wrong on my system.

Here is the logcat of it:

I/ServiceManager( 115): Waiting for service media.audio_policy...
W/AudioSystem( 115): AudioPolicyService not published, waiting...
I/ServiceManager( 115): Waiting for service media.audio_policy...

Then it loops all over again.
[EVO 4G Android Development] EJerVJerO:
Your saying converting your sdcard to ext4 made your phone faster? Do you have apps on that sdcard? I don't see how this can make your p.hone faster unless you do have apps on the sdcard
[EVO 4G Android Development] pHaez:
Nothing is wrong on your system. I just compiled and flashed and logcat shows the same thing for me.
[EVO 4G Android Development] lithid-cm:
Nice, I like it when things are broken. That means they are working on stuff. YAY for CM
[EVO 4G Android Development] info[]box1:
My first post regarding results, flashed last nite before bed time and I'm loving it. Performance is 100x better than what I expected. The UI is outstanding, battery is very good with stock kernel. See Roms like this is the reason I own a Android device *Evo. I have 0003 hardware so my camera smh, but it's okay. I have everything I need for daily usage and Bluetooth is rock solid.

I'm in gingerbread heaven via team cm7

sent from my 100% GoogleUI cm7
[EVO 4G Android Development] mitchellvii:
Well, seems faster anyway. Could be placebo effect. I read somewhere that devs were experimenting with some sort of caching using ext4 that was generating quad scores of over 3000 with super-fast r/w speeds. I figured that was what CM was up to but now I learn that ext4 wasn't intended for EVO.

Dunno.
[EVO 4G Android Development] mitchellvii:
Just noticed 3g doesn't work well...

Since I have been stuck in the house with the snow, I haven't been testing this rom with 3g. However, wanted to check out the mspot movies-on-demand service and it only works over 3G/4G.

Normally I get solid 3G in my house, but couldn't get it all all with this rom. Have no idea if this has meaning.
[EVO 4G Android Development] lithid-cm:
Bars = Radio Signal Strength, only way to really test anything "data" are speed tests.
[EVO 4G Android Development] DraginMagik:
I was gettting a simlar set of errors before i put a 'sleep' in my script. if i make it 10sec on my system, it will fail....30 sec works fine. /shrug

#!/bin/bash

echo "Make clean";
make clean
make installclean

echo "Syncing";
repo sync -j4

echo "Copying the make file";
cp ./vendor/cyanogen/products/cyanogen_supersonic.mk ./buildspec.mk
sleep 30

echo "Setting up build env\n";
. build/envsetup.sh
sleep 30

echo "Setting up lunch";
lunch cyanogen_supersonic-eng
croot

echo "Using the make command"
make -j4 otapackage

#move and rename files.

#Set Date
DATE=`date +%Y%m%d-%H%M`

#Now we move the file to the share folder.
cp /home/me/android/system/out/target/product/supersonic/cyanogen_supersonic-ota-eng.me.zip /home/me/shareOUT/generalshare/CM7RC0-$DATE-EVO4G-dMgk.zip

#File move is now complete.
echo "Move is Complete"
echo "File is located at"

...fyi...prolly should note that this script behaves best when you have the terminal open to the folder where the script resides. i keep it in /home/me/android/system.
[EVO 4G Android Development] warrencarreiro:
WiFi issues

What is the status of getting the WiFi to work with standard security settings.

Really the only thing I miss on this mod other that Visual Voice Mail which I guess does not work on any mod yet?

Thanks for all your work.
[EVO 4G Android Development] dkotoric:
Can anyone tell me why allot of the video apps and music apps dont work on this rom like slingplayer and iheartradio. Does it not work on all gingerbread roms or just this one. Any help would be appriciated.
[EVO 4G Android Development] drmacinyasha:
"Standard security settings"? Please explain. I can connect to WPA2, WEP, and WPA-Enterprise networks just fine. As for VVM, supposedly it works, just depends on what version you get.

Don't know about slingplayer, I believe it's a Gingerbread issue. For iHeartRadio, I believe it stems from a bug I found last week: Streaming AAC doesn't play in any Gingerbread ROM. Let's all give Cyanogen and Lithid a collective nudge on that one. ;)