yashsingh1/xdaforums huggingface dataset:
[T-Mobile myTouch 4G Slide] strapped365:
For me being on wifi rather than mobile data saves me some battery
[T-Mobile myTouch 4G Slide] jonnycat26:
A number of reasons:

It drops my wifi calling to the floor

If something wakes up, and uses data, it uses mobile... because wifi won't reconnect until I wake it up.

However, I think I may have found something... or not. But, the vendor/firmware on the CM9 image has an extra fw_bcmdhd_p2p.bin file which is not included with the HTC version. Additionally, although the bcm4239.hcd files are identical, the other 2 firmware files are different.

For reference, from CM9:

-rw-r--r-- 1 jcochran users 261922 Feb 28 2008 fw_bcmdhd_apsta.bin
-rw-r--r-- 1 jcochran users 254509 Feb 28 2008 fw_bcmdhd.bin
-rw-r--r-- 1 jcochran users 261922 Feb 28 2008 fw_bcmdhd_p2p.bin

From HTC:

-rw-r--r-- 1 jcochran users 263784 Jun 13 20:42 fw_bcm4329_apsta.bin
-rw-r--r-- 1 jcochran users 263780 Jun 13 20:42 fw_bcm4329.bin

If the .hcd files are identical, but the .bin(s) are different, could that be causing issues?

Is it possible to use those files with CM9, or is that completely absurd? I'm wondering if HTC implemented a workaround for the lower power problems, because I'm in low power mode with the stock firmware, and am not losing connection.
[T-Mobile myTouch 4G Slide] edwardng:
For some reasons...

Alpha2 camera worked cam apps worked

Alpha3 camera worked cam apps didn't work

Alpha4 camera didn't work cam apps didn't work

Again... I'm confused what's wrong with my phone. Anyone?
[T-Mobile myTouch 4G Slide] Some_dude36:
Ohhh ok I get it , I get a good signal and didn't include wifi calling so it uses my minutes and I don't have data , wifi only. But I get why you need it now.
[T-Mobile myTouch 4G Slide] tbalden:
it's already in https://github.com/TeamDS/android_d...mmit/f9d52439d8f9d2771358cb5defe88776c3c377b6

it will need to be gerrited yet to CM gerrit repos.

"Also, the proprietary-files.txt needs the audio libs, otherwise it won't build when you start from scratch."

What do you mean by that exactly? You using https://github.com/TeamDS/vendor_htc_doubleshot master branch or the v3 + forked hw/hw_legacy?
[T-Mobile myTouch 4G Slide] seidler2547:
Sorry, I mean

diff --git a/BoardConfig.mk b/BoardConfig.mk
index 8d2f8fa..e1fdb39 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -34,7 +34,8 @@ TARGET_BOOTLOADER_BOARD_NAME := doubleshot
BOARD_KERNEL_BASE := 0x48000000
BOARD_KERNEL_PAGE_SIZE := 2048
BOARD_KERNEL_CMDLINE := no_console_suspend=1
-TARGET_PREBUILT_KERNEL := device/htc/doubleshot/prebuilt/kernel
+TARGET_KERNEL_CONFIG := doubleshot_defconfig
+TARGET_KERNEL_SOURCE := kernel/htc/doubleshot

# QCOM Gralloc/Copybit/HWcomposer
COMMON_GLOBAL_CFLAGS += -DQCOM_ROTATOR_KERNEL_FORMATS -DUSES_AUDIO_WITH_NO_FM_VOLUME
diff --git a/cm.dependencies b/cm.dependencies
index 0da4573..154b5e9 100644
--- a/cm.dependencies
+++ b/cm.dependencies
@@ -2,5 +2,10 @@
{
"repository": "android_device_htc_msm8660-common",
"target_path": "device/htc/msm8660-common"
+ },
+ {
+ "repository": "htc-kernel-doubleshot",
+ "target_path": "kernel/htc/doubleshot",
+ "branch": "aosp"
}
]
diff --git a/device_doubleshot.mk b/device_doubleshot.mk
index 8568866..a6b875b 100644
--- a/device_doubleshot.mk
+++ b/device_doubleshot.mk
@@ -141,16 +141,6 @@ PRODUCT_AAPT_CONFIG := normal hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_LOCALES += en_US hdpi

-ifeq ($(TARGET_PREBUILT_KERNEL),)
-LOCAL_KERNEL := device/htc/doubleshot/prebuilt/kernel
-else
-LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
-endif
-
-PRODUCT_COPY_FILES += \
- $(LOCAL_KERNEL):kernel \
- device/htc/doubleshot/prebuilt/bcmdhd.ko:system/lib/modules/bcmdhd.ko
-
# call the proprietary setup
$(call inherit-product-if-exists, vendor/htc/doubleshot/doubleshot-vendor.mk)

diff --git a/prebuilt/bcmdhd.ko b/prebuilt/bcmdhd.ko
deleted file mode 100644
index 1791b2e..0000000
Binary files a/prebuilt/bcmdhd.ko and /dev/null differ
diff --git a/prebuilt/kernel b/prebuilt/kernel
deleted file mode 100755
index b0c7c9f..0000000
Binary files a/prebuilt/kernel and /dev/null differ

according to http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building

For the proprietary files, isn't the whole idea behind setup-makefiles.sh and extract-files.sh that you do not publish the vendor blobs publically (e.g. github) because it is illegal? That's why I say the files should be mentioned here:

diff --git a/proprietary-files.txt b/proprietary-files.txt
index c615d7b..81d6187 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -29,6 +29,10 @@ lib/egl/libGLESv1_CM_adreno200.so
lib/egl/libGLESv2_adreno200.so
lib/egl/libq3dtools_adreno200.so
lib/hw/camera.default.so
+lib/hw/audio.primary.default.so
+lib/hw/audio.primary.msm8660.so
+lib/hw/audio_policy.default.so
+lib/hw/audio_policy.msm8660.so
lib/libC2D2.so
lib/libOlaEngine.so
lib/libOpenVG.so

Stefan
[T-Mobile myTouch 4G Slide] RazoE:
Tried another fresh install last night, and initially I was able to download apps from the market and update. Now, once again, today I can't download anything. It'll just hang and say "<unknown> in progress."

I have great signal, so I'm going back to Alpha 3.

*sigh*
[T-Mobile myTouch 4G Slide] dhkr234:
People without a data plan still want to be able to receive email and SIP calls. Also, when you're out of coverage area and rely 100% on wifi for connectivity...
[T-Mobile myTouch 4G Slide] ac3theone:
Wifi calling
[T-Mobile myTouch 4G Slide] blackknightavalon:
Why am I not getting any of these reported bugs on Alpha 4?
[T-Mobile myTouch 4G Slide] Emmanuel U:
because your special :D....or everyone else just doesn't know how to flash a rom
[T-Mobile myTouch 4G Slide] strapped365:
The only bug I ever had on any of the alphas was when my weather lockscreen stopped showing weather. My work around was use a custom location. I have since then done a fresh flash of alpha 4 and its running solid as ever. Cm9 has been my daily for about 2 weeks now and I honestly wouldn't have it any other way. I'm now totally happy with my device :eek:
[T-Mobile myTouch 4G Slide] jonnycat26:
Or, ya know, there are still some bugs.... 'coz It's still an alpha, and all.
[T-Mobile myTouch 4G Slide] blackknightavalon:
I'm not getting any of the wifi bugs. :p

Sent from Spaceball One.
[T-Mobile myTouch 4G Slide] onebornoflight:
Been running this with the trackpad wake flash since the 9th - flashed over Alpha3 just wiping caches and other than a few random reboots due to my own stupidity (ex. Restoring gmail through titanium even though it's considered a system app) it has been stable. However... will speech to text work via bluetooth on this rom?

One side note - I am using the V6 supercharger with this rom primarily to keep control of persistent apps such as Facebook and for the fix emissions on boot - dunno if that actually helps or harms but it SEEMS to be helpful. Wondering if there's a better radio I could flash to improve signal as it seems to have declined since alpha 3.
[T-Mobile myTouch 4G Slide] onebornoflight:
My money is on no as of right now because after some googling I found that it doesn't seem that linaro is compatible with snapdragon devices.... but I could be wrong.
[T-Mobile myTouch 4G Slide] jonnycat26:
Eh... maybe you've got a better router than I do @ home and work. :)

I think, to be honest, the problem is the firmware that's being flashed for the broadcom chip. It's not the one that HTC is shipping, and I'm fairly sure that HTC has implemented some workaround for the lower power sleep bug (or at least, that's what I've been reading). The default broadcom driver apparently has issues.
[T-Mobile myTouch 4G Slide] jeffakajeff:
I have had zero issues with alpha 4. Do you people with all the issues use tb? What are your flashing procedures?
[T-Mobile myTouch 4G Slide] jonnycat26:
I started completely from scratch, totally clean, and re-installed everything. Did a complete wipe of everything, flashed the kernel and ROM, and got to work.
[T-Mobile myTouch 4G Slide] jeffakajeff:
Are you s on?

I ask because before I went s off I had a horrible time with this rom
[T-Mobile myTouch 4G Slide] jonnycat26:
Yes, hence the flashing of the kernel. :)
[T-Mobile myTouch 4G Slide] jeffakajeff:
Hence your problem, maybe. :)
[T-Mobile myTouch 4G Slide] jonnycat26:
It's possible, but extremely unlikely. It's a well known issue with the wifi/bt chip used in the phone.
[T-Mobile myTouch 4G Slide] jeffakajeff:
Just not on my phone now....but was before I went s off. So unlikely or not, fixed my issues.
[T-Mobile myTouch 4G Slide] jonnycat26:
You had the WiFi issues?
[T-Mobile myTouch 4G Slide] jeffakajeff:
Plus some.
[T-Mobile myTouch 4G Slide] jonnycat26:
S-ON/OFF shouldn't really affect this. Everything in the other threads I've read about this points to a driver/firmware issue.
[T-Mobile myTouch 4G Slide] dillalade:
ArmV7 is supported, I'm quite certain we are ArmV7 too.

TeamDS are probably best point of call as to if/when we may see Linaro/CM9... it's true the Linaro to CM9 upstream had begun - how complete who knows.

If we get Linaro on this device it would be impeccable.

I've had my eye on Linaro since hearing about it a few years back, but the various video illustrations of AOSP vs Linaro Android are kinda unbelievable :D

Considering the jump from stock rom to this rom is so damn impressive. It would be unrecognizable if Linaro got pumped into the MT4gS equation!

Any insight/thoughts from teamDS members would be great.

CM9 MT4G-S

[MTD: Sys=255MB Data=1.6GB]
[T-Mobile myTouch 4G Slide] Emmanuel U:
I put linaro on my aokp rom :) Maye new stable build tonight or tomorrow
[T-Mobile myTouch 4G Slide] jeffakajeff:
I can't say for sure as I've done no research. I can just go off my experience which has no testing or backing to it. I do realize it should not matter.
[T-Mobile myTouch 4G Slide] jonnycat26:
I've been relatively obsessed with the issue over the last few days. I'd love to try using the alternate firmware, but as HTC only uses 2 files, and the ROM uses 3, I'm not sure if a straight replacement would work. Anyone in the know care to comment, please? :)
[T-Mobile myTouch 4G Slide] jeffakajeff:
Make a backup and try it out, or point me to the files and I'll take a look. :)
[T-Mobile myTouch 4G Slide] jonnycat26:
I'll send you the files if you like... just PM me your email address. Or if you have a nandroid backup from the stock image, you can grab them pretty easy. Go back a few pages, and I've listed the details out.
[T-Mobile myTouch 4G Slide] jeffakajeff:
OK I have a Nan I'll grab them in a bit and take a look.
[T-Mobile myTouch 4G Slide] jonnycat26:
Awesome. You'll need to rename/replace the files in the /vendor directory in CM9. They're in /system/etc/firmware on the default rom.
[T-Mobile myTouch 4G Slide] blackknightavalon:
I've restored my apps via Titanium in Alpha 1, flashed Alphas 2-4 over it after only wiping both caches, and I'm not getting many errors.
[T-Mobile myTouch 4G Slide] jeffakajeff:
Did not seem to make any difference, I should say replacing those files did not break anything.
[T-Mobile myTouch 4G Slide] jeffakajeff:
Its interesting that some are having issues and others not. Got to be something simple. Are you s on or s off
[T-Mobile myTouch 4G Slide] inkling:
just reporting that i too had the camera app issue that showed up with alpha 3, now with alpha 4
[T-Mobile myTouch 4G Slide] blackknightavalon:
S-off via Revolutionary

Sent from Spaceball One.
[T-Mobile myTouch 4G Slide] tbalden:
We tried it on one x build alpha3. Didn't do much difference
[T-Mobile myTouch 4G Slide] seidler2547:
Ok, so here's another FAQ/README

Linaro optimizations

: If you're reading something on the Internet, be sure to read on:

And reading on further reveals that it might me too much ado about .. well .. not so much:

Read this post (and especially the comment by Bernhard Rosenkränzer).

Does [feature X/accessory Y/software Z] work on this ROM?

Well, why don't you just try it and tell us :)

Random FCs, reboots, crashes, very high battery usage (phone getting hot)

: Please make sure it's not connected to overclocking/undervolting. It's been known that excessive undervolting for example can lead to extreme battery usage (it's probably because the CPU is unstable and constantly restarts processes). So try with lower freqs and stable voltages.

Camera issues

: Just want to ask about this: Open a cam app, switch to front camera, press home and start a big app (like game or so), start another camera app, camera stops working? I actually have a hard time reproducing this, and if so it happened occasionally with the front cam only. Does anyone have a full procedure which

always

makes the camera stop working?

Stefan
[T-Mobile myTouch 4G Slide] dillalade:
It would be nice to see those other benchmark scores.

I'm sure that "100% improvement" statement are those reporters doing simple maths on the fps output screen from the Bernhard video in Hong Kong.

However if CM are doing what you've quoted then Linaro optimizations gotta be doing something for the greater good.

So you having tried the Linaro stuff with your one x - does that mean CM and yourself now have initiated the entire Linaro package into the CM build tree.... or is it still in the process and not entirely in place? (If the later, hence why your possibly not seeing any difference, but if the former that Linaro is entirely in the CM build then maybe your correct in that there's not much difference.)

Perhaps it is all much to do about nothing.

I hope that it's not the case though, just to keep the hope for continual advancement alive :o

CM9 MT4G-S

[MTD: Sys=255MB Data=1.6GB]
[T-Mobile myTouch 4G Slide] jonnycat26:
That's a good start. After work tonight, I'll replace those files in the zip, do a fresh install, and connect to WiFi. I won't install anything or sign in to any services, just to see what happens to the connection.
[T-Mobile myTouch 4G Slide] Script Kitty:
about 8ush days after i flashed this rom my battery refused to charge while off, and when i charged it while it was on it didnt hold the charge ._., ive been surviving by charging it i my old mt4gs that i have to send back to Asurion for warranty but yeah... anyone else having this issue?

im S-On unlocked CWM 5.0.2.7 i believe
[T-Mobile myTouch 4G Slide] strapped365:
The famous cwm my phone won't charge powered off thing again. That's how CWM is, wildchilds recovery allows for off charging and is very nice.
[T-Mobile myTouch 4G Slide] Script Kitty:
Wow im an idiot >.>, thanks so much, where could i find wildchild though in the rom 4,0 wildchild thread here on this forum or?..
[T-Mobile myTouch 4G Slide] seidler2547:
Not sure if that's what you're looking for: http://xdaforums.com/showthread.php?t=1677059

Stefan
[T-Mobile myTouch 4G Slide] jeffakajeff:
Let me know how that works out, hope it works for ya
[T-Mobile myTouch 4G Slide] Topernicus:
Woke up this morning, checked my email on my phone, went to get ready, and when I picked up my phone to leave, it wouldn't power on.

Running CWM 5.0.0.7 (According to the market... Obviously can't check the device now) and a fresh install of CM9 Alpha 4 installed a day or two after it was released. Everything has been fine except for intermittent wifi issues, which it seems others have had.

Phone was powered on and should have been fully charged, as it was responsive 30 minutes before I found it "bricked". Charge lights don't come on at all, but there is a faint red glow from the trackpad for a few seconds when attempting to power up.

Not sure what the troubleshooting process is at this point. I've never had a device that wouldn't at least power on to CWM. Any help would be appreciated.
[T-Mobile myTouch 4G Slide] Emmanuel U:
are you available to go in irc at #TeamDS?
[T-Mobile myTouch 4G Slide] seidler2547:
It might be still running. I have had it (maybe three times?) that the screen wouldn't turn on. Solution: Press trackpad, keep it pressed, press Volume down, keep both pressed, press Power, and keep those three pressed for something like 3 seconds. Your phone should reboot.

If the battery has run down you could try removing the battery, wait 10 seconds, plug phone to charger, insert battery, wait 5 minutes, try to power on.

Stefan
[T-Mobile myTouch 4G Slide] Fuzi0719:
The infamous black screen. I, too, have had that happen perhaps 3 times on various ROMs, including stock HTC rom. The phone is actually still on, just the screen won't wake up. I know this because I've been able to receive calls while in that state. A battery pull/reboot is what I have done. I've heard from 3 other people who've seen this on the MT4GS.
[T-Mobile myTouch 4G Slide] Topernicus:
Well, it doesn't seem to be a standard black screen. Did some troubleshooting on #TeamDS and it may be a battery issue. Will be sure to post an update.
[T-Mobile myTouch 4G Slide] Coug76:
Mine did this the other day on alpha 4. Trackpad, vol down, and power reboot brought it back.

Hastily spouted for your befuddlement
[T-Mobile myTouch 4G Slide] tbalden:
hmm, that is really really sad to hear. i was hoping that the new v3 kernel fixed this totally. But seems like Stock Sense rom has it too as this thread detailed in previous posts... seems like a hardware defect all devices have more or less? :confused:
[T-Mobile myTouch 4G Slide] inkling:
I can't predictably reproduce the camera freeze with alpha 4. Just happened yesterday for the first time and I had to restart the phone for it to be able to "connect to the camera". With alpha 3, it was more frequent and seemed to happen when switching between camera apps and/or viewing a newly taken photo from the camera app. I believe there was a flashable zip that fixed it, but I think that zip was also patched into the alpha 4?
[T-Mobile myTouch 4G Slide] mattlowry:
isnt 5.0.0.7 the really old cwm that doesnt allow charging if turned off?
[T-Mobile myTouch 4G Slide] AgentCherryColla:
Yeah 5.0.0.7 sucks. Thats the issue right there.
[T-Mobile myTouch 4G Slide] RazoE:
Okay, here's an update. I reinstalled my old Alpha 3 and decided to flash Alpha 4 on top. All of my previous issues are gone. I'm sending this through Tapatalk, and I've been able to download market items and internet. I haven't heavily tested the camera but ill report any issues.

I guess one must flash on top instead of installing it as a stand-alone ROM. Not sure why, but this must be the case.

Ps I JUST got a double letter posted, but it wasn't a huge deal.
[T-Mobile myTouch 4G Slide] jonnycat26:
No go... wifi wouldn't initialize at all... wouldn't even turn on with the HTC files.
[T-Mobile myTouch 4G Slide] DarkenFable:
This happened to me as well. My phone wasn't on the charger at the time, I was driving to eastern Washington to visit family, pulled my phone out for a sec and it wouldn't turn on. Pulled the battery, nothing, figured it was dead. Got to my destination, plugged my phone in, charging light didn't come on. Thought it may have been the battery (3600mAh mugen) or possibly the charger. Next day went to a T-Mo store and asked if I could use a stock battery and a different charger, tried both, no good. Finally had to warranty exchange the device with T-Mo and get a new one.
[T-Mobile myTouch 4G Slide] jeffakajeff:
Get me a logcat, I will take a look if you like.

I'm using the HTC files right now, no difference
[T-Mobile myTouch 4G Slide] jonnycat26:
You overwrote the CM files with the HTC files?

PM me an email address, and I'll send the logcat.
[T-Mobile myTouch 4G Slide] jonnycat26:
I think I found part of the problem.

I've been looking at the output from DMESG, and poking around with the HTC kernel source.

I could be wrong, but it looks like the HTC drivers never enter into sleep on wifi. It looks like they're either in PM_OFF when the phone is active/awake, or PM_FAST when the phone is in any other state.

I haven't looked at the dmesg for CM9/Alpha4, but I'm willing to bet it's entering into sleep (PM_MAX), and that's the issue.

What's the easiest way to test to see if this is the problem? I haven't done *any* kernel type stuff in about 10 years, but I was kinda tickled to find that make xconfig still works. Is the default configuration workable out of the box? I was thinking of just setting PM_MAX = 1 (which is the same as PM_FAST) in the wlioctl.h include file and hoping that 'make modules' still works the way I remember. I found someone with the same problem/idea here:

http://xdaforums.com/showthread.php?p=7638714#post7638714

Or does some kind soul who already has their dev environment way more functional than mine want to give that a shot? :)

EDIT: Okay, never mind. HTC proved me wrong, and I just found a PM_MAX hit in my dmesg.
[T-Mobile myTouch 4G Slide] blackknightavalon:
My Volume+ doesn't work anymore.
[T-Mobile myTouch 4G Slide] Some_dude36:
I hadnt been able to get dsp or vol+ to do anything since I used this rom. no matter how I det the EQ it doesnt change the sound
[T-Mobile myTouch 4G Slide] blackknightavalon:
It was working on Alphas 2 and 3...

Sent from Spaceball One.
[T-Mobile myTouch 4G Slide] tbalden:
That's probable as audio changes were made to fix stuff. There's a new approach in gerrit that fixes audio, alpha5 will have it. Maybe it will help that
[T-Mobile myTouch 4G Slide] dillalade:
Volume+ by Meltus works flawlessly on a4 for me :eek:

I'm not sure if I went to DSP App info screen (drag DSP from launcher to the home screens App Info) & cleared its cache &/or data - but I just went in there to check and my DSP's cache & data are both 0bytes.

(Note: I have always installed over each alpha release without any form of wipe, dunno if this would make for my app data (data partition) to pertain the goodies which had DSP working within alpha 2/3 as some have recalled.)

CM9 MT4G-S

[MTD: Sys=255MB Data=1.6GB]
[T-Mobile myTouch 4G Slide] jonnycat26:
Any chance of fixes/changes on the WiFi side?
[T-Mobile myTouch 4G Slide] seansc144:
Volume plus works for me too. I hope alpha 5 compliments it as well
[T-Mobile myTouch 4G Slide] seidler2547:
Can you try this firmware:

http://omapzoom.org/?p=platform/har...bd9f14d34c2bbb89c5e;hb=refs/heads/gingerbread

Found here: http://code.google.com/p/android/issues/detail?id=15542

Stefan
[T-Mobile myTouch 4G Slide] jonnycat26:
I'll give them a shot... just rename them to overwrite the existing files, I'm assuming?
[T-Mobile myTouch 4G Slide] jeffakajeff:
I was attempting to build from scratch, and since I have not done that since my mytouch, I am a bit rusty. I got compiled, and almost booting but stuck on boot screen with the following:

I/ServiceManager( 267): Waiting for service media.player...

I/ServiceManager( 267): Waiting for service media.audio_policy...

I/ServiceManager( 267): Waiting for service media.player...

I/ServiceManager( 267): Waiting for service media.audio_policy...

W/IMediaDeathNotifier( 267): Media player service not published, waiting...

I/ServiceManager( 267): Waiting for service media.audio_policy...

I/ServiceManager( 267): Waiting for service media.player...

I/ServiceManager( 267): Waiting for service media.audio_policy...

Any ideas?

* Tried boot.img from alpha 4 no go

Thanks in advance.