yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Android Development] krypton_the_slayer:
I tried appending this code below in /system/etc/asound.conf

pcm.!default {

type plug

slave {

pcm "hw:1,0"

}

}

This is pretty much what others have been doing (same code to get USB devices working under linux)

And I tried various other ways of doing the same thing but ultimately got the output below each time :-( You can see I used a standard PCM 16bit stereo 44kHz wav file.

app_197@android:/sdcard # alsa_aplay -D plughw:1,0 test.wav

Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

aplay: set_params:1117: Unable to install hw params:

ACCESS: RW_INTERLEAVED

FORMAT: S16_LE

SUBFORMAT: STD

SAMPLE_BITS: 16

FRAME_BITS: 32

CHANNELS: 2

RATE: 44100

PERIOD_TIME: (125011 125012)

PERIOD_SIZE: 5513

PERIOD_BYTES: 22052

PERIODS: (3 4)

BUFFER_TIME: 500000

BUFFER_SIZE: 22050

BUFFER_BYTES: 88200

TICK_TIME: 0

not sure if I'm missing something in asound.conf or if we're missing support in another library.

EDIT:

I've been poking around other sources that have USB audio support working.

One suggestion is that the order of module loading matters, and I wonder how we are affected since you compiled all the drivers into the kernel.

The drivers in order of insertion others are using are as follows

snd-hwdep.ko (this is part of speedmod kernel)

snd-rawmidi.ko

snd-usbmidi-lib.ko

snd-usb-audio.ko

Don't know about the order of these but pretty sure they're essential :-)

snd-mixer-oss.ko

snd-pcm-oss.ko
[Galaxy Note GT-N7000 Android Development] mdrjr:
Loading sequence does matter that's the main reason to leave it to kernel handle.

When you build modules as built-in kernel keeps the loaded all time at ram so you don't have to worry about loading.. its all there.

I'll check and see if snd-mixer-oss and snd-pcm-oss are there...

Meanwhile can you run alsa_aplay -D plughw:1,0 -vvv test.wav

and give us the output? getting that extra verbosity may help.
[Galaxy Note GT-N7000 Android Development] krypton_the_slayer:
no difference with more verbosity
[Galaxy Note GT-N7000 Android Development] gattari:
There is an apps in marked called usbaudio tester if help....

Inviato dal mio GT-N7000 con Tapatalk 2
[Galaxy Note GT-N7000 Android Development] mdrjr:
in your signature says that you have Ubuntu, can you try this USB adapter in your linux box and give me the output ?

I'm rebuilding another kernel to test.

PS: I'm on IRC.
[Galaxy Note GT-N7000 Android Development] krypton_the_slayer:
can you be more specific?

Ubuntu lsusb gives

Bus 001 Device 007: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)

Ubuntu:~$ aplay -l gives (the same as on your android kernel)

card 2: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio]

Subdevices: 1/1

Subdevice #0: subdevice #0

Ubuntu:~$ aplay -L gives

sysdefault:CARD=Device

Generic USB Audio Device, USB Audio

Default Audio Device

front:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

Front speakers

surround40:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

4.0 Surround output to Front and Rear speakers

surround41:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

4.1 Surround output to Front, Rear and Subwoofer speakers

surround50:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

5.0 Surround output to Front, Center and Rear speakers

surround51:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

5.1 Surround output to Front, Center, Rear and Subwoofer speakers

surround71:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

iec958:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

IEC958 (S/PDIF) Digital Audio Output

dmix:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

Direct sample mixing device

dsnoop:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

Direct sample snooping device

hw:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

Direct hardware device without any conversions

plughw:CARD=Device,DEV=0

Generic USB Audio Device, USB Audio

Hardware device with all software conversion

Android:~$ alsa_aplay -L

gives

null

Discard all samples (playback) or generate zero samples (capture)

default:CARD=Device

Generic USB Audio Device, USB Audio

Default Audio Device

I removed the Galaxy Note on board yamaha devices from the above for clarity.
[Galaxy Note GT-N7000 Android Development] mdrjr:
Later today I'll post another kernel.

AND I'll try to buy one of those DAC's no garantees.

EDIT:

New kernel, V4. Check the new modules place.

Same stuff as v3 but with extra modules.
[Galaxy Note GT-N7000 Android Development] REVERSiN:
Interesting job, I just flashed v5 so far everything ssems great I have more free memory than ever running smooth will feedback tomorrow for battery life since based on Speedmod hope it has some life if not better :)
[Galaxy Note GT-N7000 Android Development] gattari:
Anyone has able to connect any type of external dac with this kernel???

Inviato dal mio GT-N7000 con Tapatalk 2
[Galaxy Note GT-N7000 Android Development] nnotis:
I'm trying to read up on loading modules so I can give this kernel a try. Can anyone post a n00b friendly guide to getting started? There are a lot of people out there dying to get USB audio functionality on their phones who could serve as testers. I'd certainly love to try connecting to my two USB DACs.
[Galaxy Note GT-N7000 Android Development] blindbox:
Can you run initscripts on this kernel? Original speedmod doesn't have it enabled. Anyone can confirm if the module cifs.ko exists in this kernel?
[Galaxy Note GT-N7000 Android Development] mdrjr:
Just like Samsung stock kernel it does not have cifs module, CIFS support is built in kernel. You don't have to load a module to get it working. It should work Out-of-the-Box.

V6 is comming, huge changes.
[Galaxy Note GT-N7000 Android Development] krypton_the_slayer:
Cifs definitely does work. I use it often.

Not done much with ALSA configs, been busy with a wedding (and recovering) and Wimbledon :victory:

Soon flashing Criskelo V8 and a bigger/better alsa build if I can find one!

I will try and post instructions later for installing the required modules. Probably a script too. It's not so hard.

Make sure you have a terminal program though.

Will wait for v6 though I think.
[Galaxy Note GT-N7000 Android Development] janice1234:
is it possible to port Gamma adjustment???

Hi, wondering is it possible to port Gamma adjustment as available in Leankernel for Gnex to m1 kernel?

http://rootzwiki.com/topic/13092-lea...30#entry616858

since there are some users saying its helped with black crush problems
[Galaxy Note GT-N7000 Android Development] robertberma:
Uh??? Any change we see the v6 soon?
[Galaxy Note GT-N7000 Android Development] mdrjr:
Not really, I'm in a huge hurry at work.

And v6 and on will be CM9 kernels only.
[Galaxy S III Themes and Apps] dazzzdelux:
are there any good non-google pay apps worth getting ?

all i know of is dsp manager
[Galaxy S III Themes and Apps] Deusdies:
http://xdaforums.com/showthread.php?t=1702910
[General Questions and Answers] yusuf00786:
is there any developers who can create an app like Direct call Gesture feature for all android phones... or can anyone drag out the app from SGS s3 for everyone in a form of Apk file.

Rgds,

Yusuf00786
[General Questions and Answers] Ace3:
dunno what it is, but maybe Wave Launcher can achieve the same functionality?
[General Questions and Answers] yusuf00786:
No wave launcher is not capable of the doing the samething which s3 direct call gesture can do. Direct call gesture depends on proximity sensor, need the same capability features in apk form to install on any android phone.
[General Questions and Answers] cvs26:
Life oAgend

As long as the device contains a proximity sensor hardware, any application developer can add this "smart call" feature to his application.

1. Register a proximity SensorEventListener

2. OnEvent use the current usage context to determine a contact to call and raise the appropriate intent. (assuming that the proximity is due to the user holding the phone to his ear)
[General Questions and Answers] yusuf00786:
Yes that what i am trying to ask any of the developers to create an app like that...

Yusuf00786
[General Questions and Answers] yusuf00786:
Hey,,,

No Body is replying, Pls developers, can any one do this task. I am feeling guilty of not having any knowledge on programming.....

Rgds,

Yusuf00786
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
I have been reading a lot about this but no one has helped or given a definitive answer on how to get it, what it does, and how to install it...

I am running Darkside V2 that just came out by TDJ and is it compatible with this rom? Also will it make a difference?

Any answers would be thanked and appreciated much. Thank you..
[T-Mobile Samsung Galaxy S II SGH-T989] TheTechNiq:
Personally I think it helps a little. I know that when you bullet proof apps like the launcher it never redraws which is nice.

You need script manger from the market. Go to Google and type in v6 supercharger script xda. First link should be the right one. Go in there and read his forum. Its by zepplinrox (sp?) And its very informative. Once you get the script just open up script manger a and find the script you download and click it. Then you want to click the skull and crossbones and it'll turn green. The run and just follow the script when it prompts you.
[T-Mobile Samsung Galaxy S II SGH-T989] TheTechNiq:
http://xdaforums.com/showthread.php?p=16635544#post16635544

There's the link bud. If you're going to do it on ics he just updated so its a little different than the above directions but that is the basics:)
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
Thank you so much! I am going to try it now
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
actually, looking at it, it seems like it is ALOT and it seems sort of complicated to me... I don't know if all of that is going to be worth it in the end... I have never installed it but I keep hearing it is like having a new phone.. I don't know if I should go through the trouble and get it done or if it isn't going to make a huge effect on the already sped up Darkside ICS rom :/
[T-Mobile Samsung Galaxy S II SGH-T989] sinfulgray:
Its really not as hard as it seems to install...i just did a couple hours ago and i followed this guide (different phone i know but all the same) http://xdaforums.com/showthread.php?t=1334834

Hope this one helps you out :D
[T-Mobile Samsung Galaxy S II SGH-T989] TheTechNiq:
Just take your time. The hardest part is just downloading everything you need. Once you actually run the script its the easiest thing because the script babies you and shows you and hints as to exactly what to do. I thought it was worth it at the time.
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
Thanks to both of you.... I will try it I guess... If I brick, I am coming back with a vengence :D

JK haha
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
It is on and working! I am running at 1000HP and installed little odds and ends it asked me to! Thanks guys, that wasn't hard!
[T-Mobile Samsung Galaxy S II SGH-T989] TheTechNiq:
You're welcome my friend. Hit that thanks button;) but it us relatively easy. Did you bullet proof the launcher?
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
I am limited to 8 thanks a day and I used one on you, I will have to thank you tomorrow haha! And no, just die hard? Should I put the option for bulletproof?
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
And after trying to set it to Bulletproof, it doesn't, it stays at Die-Hard. :/
[T-Mobile Samsung Galaxy S II SGH-T989] TheTechNiq:
Did you input the app correctly when it asked you too?
[T-Mobile Samsung Galaxy S II SGH-T989] Optimizer:
it never asked me to? :confused:
[T-Mobile Samsung Galaxy S II SGH-T989] jtroye32:
I just applied this and there is an option to bulletproof the launcher.. I ran it and it said that it "can't bulletproof launchers on IcS, but you have a patched services.jar so who cares"or something like that
[Galaxy S II Q&A, Help & Troubleshooting] HollyJ9:
Hi I have Rooted my GS2 Gt-I9100 running 4.03,Using CF Root. Everything OK. I put the Zip File of Miui 2.6 on my SD Card went into CWM Recovery did all I was told and the ROM seemed to Install.,when Finished the Miui Logo came up and thats as far as it went.I then tried to use ODIN 1.85 but I could not get a .tar file out of the download. What am I doing wrong ????. Is the CF kernal not compatible with MiUI or CyanogenMod.. Sorry If I appear Stupid....
[Galaxy S II Q&A, Help & Troubleshooting] atifsh:
Using cwm format cache data system sdcard(not micro sd)

Now flash same miui using cwm.

First boot takes time.

Still issues, download the ROM again
[Galaxy S II Q&A, Help & Troubleshooting] GuestK0060:
Just go into cwm and wipe data, cache and dalvik. If this doesnt work , reinstall.

But usualy the firste boot takes some time ( can take up to10-15 min)
[EVO 4G Q&A, Help & Troubleshooting] flim flamin:
I've got my evo rooted, or at least I'm pretty sure I do.

It's currently on 2.3.3, with an H-boot version of 6.16.1002, the software version is 4.24.651.1, and CWM revolutionary 4.0.1.4.

I'm looking to flash a new rom that is very well functioning. I'm just wondering if I've got everything done right so far, and if there is an official version of Cyanogen out (I'm leery about nightlies), and how well it works. The only other rom I've seen that I'm really interested in is this

So have I got everything rooted properly, before I flash are there any thing I need to avoid, and precautions I need to take?
[EVO 4G Q&A, Help & Troubleshooting] klharalson:
Cyanogenmod has stable releases at http://download.cyanogenmod.com/?device=supersonic&type=RC

I would always do a backup in recovery just in case...other than that you should be good to go.
[EVO 4G Q&A, Help & Troubleshooting] flim flamin:
Thanks, I found the latest stable release.

I've done my fair share of flashing on my Droid X, but just to make sure I don't wake up to bootloops for breakfast, what are the recommended install instructions for CM?

Also, does CM include a custom kernel, and do you recommend the latest stable, or the latest RC?
[EVO 4G Q&A, Help & Troubleshooting] Klown80:
Wipe data 3x

Wipe cache 3x

Wipe dalvik 3x

Flash CM

Flash gapps?

(I don't remember if you need to flash gapps with CM)

Not sure if doing each 3x is really needed but that is how I was taught and have never had issues thus far, unless it was a specific rom related issue.

As for kernel since CM is AOSP, I would say it is custom since you can not use a sense kernel on an AOSP rom.

Hope this helps!
[EVO 4G Q&A, Help & Troubleshooting] flim flamin:
I don't need to wipe the system?
[EVO 4G Q&A, Help & Troubleshooting] klharalson:
If you are on stock sense...factory reset
[EVO 4G Q&A, Help & Troubleshooting] flim flamin:
So don't wipe the system, but wipe the data. (factory reset)

Does anyone know if I need gapps, and which one I'd need?

Also, should I use the latest RC, or the latest stable?
[EVO 4G Q&A, Help & Troubleshooting] klharalson:
I haven't used gingerbread in a while so I am not sure how the latest RC is...gapps link is here https://www.dropbox.com/sh/136ywplkpwiya5r/Skn6qoszOt/CM7/gapps-20110828-vm.zip this includes sprint vvm...let me know if you are using anything else
[EVO 4G Q&A, Help & Troubleshooting] flim flamin:
I think I'll start out trying the latest RC.
[EVO 4G Q&A, Help & Troubleshooting] burghfan3:
If that doesn't work out for you, or you just wanna be a whore and flash something else, give Vaelpak GB AOSP a run. I love it

Sent from my Vaelpak Powered OG EVO
[EVO 4G Q&A, Help & Troubleshooting] flim flamin:
I've run into a very odd roadblock...

TiBu keeps freezing before i can even do anything. I've tried reinstalling, using an older version, and fixing permissions, and its still happening the moment I touch the screen.

This isn't too big of a problem as long as I can restore all my apps (including the numerous ones on the sd card) through my CWR backup... is this possible?

I think a lot of my issues I've been having are because I took an OTA update after rooting...
[EVO 4G Q&A, Help & Troubleshooting] dcharleyultra:
Ummm, yea. The 2 do not mix. Either keep it rooted and no OTAs, or keep it stock with OTA updates (if you choose them).
[Galaxy S III General] cmd512:
If you had an unlocked GT-I9100 in the States and you were around during the entire FastDormancy fiasco with the first few stock ROMs, then you'll know where I'm heading with this.

After getting my SGS3, I noticed I was getting consistently slower speeds as well as notable battery drain when only on cellular data. While there were some knuckleheads on here that kept telling me to "use the phone APN" (even though I'm on AT&T's Medianet and CANNOT use the phone APN), I started digging into the SGS3 Fastdormancy settings as I knew from experience that could impact both download speed and battery life.

Not too long after, I realized that the UK version of the GT-I9300 does not have ANY Fastdormancy data for AT&T medianet. So, I added them in, and now, I'm pulling consistent 5Mbps downloads vs not being able to break 3Mbps previously.

(Only time will tell on battery life. Given most of the battery life complaints have come from US users while there are tons of great battery life claims from international users, I highly suspect this might be the root cause as well.)

Things you'll need:

1) SQLite Editor

2) Root Explorer

Steps:

1) Under Root Explorer, go to /data/data/com.android.providers.telephony/databases

2) Select nwk_info.db and choose to open with SQLite Editor

3) Click on carriers:

A. First, notice there is NO AT&T Medianet setting and the last _id number.

B. Menu button -> New Record

C. Enter in:

a. _id: last _id number + 1 (increment by 1, next in sequence)

b. name: Cingular 410

c. numeric: 310410

d. mcc: 310

e. mnc: 410

f. apn: wap.cingular

g. user: WAP@CINGULARGPRS.COM

h. server: cingulargprs.com

i. password: CINGULAR1

j. mmsproxy: wireless.cingular.com

k. mmsc: http://mmsc.cingular.com

l. authtype: -1

m. type: default,mms,supl

n. protocol: IP

o. roaming_protocol: IP

p. carrier_enabled: 1

q. bearer: 0

r. nwkname: Cingular 410

s. preferred: 0

t. editable: 0

(ALL OTHER FIELDS ARE BLANK.)

D. Click Save

E. Back button

4) Click on dormpolicy:

A. Again, note there is nothing for AT&T Medianet

B. Create a new record (just like above), enter in:

a. plmn: 310410

b. nwkname: Cingular 410

c. lcdonfdtime: 0

d. lcdofffdtime: 20

(ALL OTHER FIELDS ARE BLANK.)

C. Click Save

D. Back button

5) Click on nwkinfo:

A. Again, note there is nothing for AT&T Medianet

B. Create a new record (just like above), enter in:

a. plmn: 310410

b. nwkname: Cingular 410

c. dormancy: on

d. mtu: 1500

(ALL OTHER FIELDS ARE BLANK.)

C. Click Save

D. Back all the way out

6) Reboot the phone, you should be good to go.

Proof: Screenshot below. Tested from the exact same location each time (my desk at work) with a GT-I9100 sitting right next to the GT-I9300. After putting in the proper settings, the SGS3 is neck and neck with the SGS2 now. :)

Hope this helps others seeing network speed issues on AT&T Medianet, thanks for looking!
[Galaxy S III General] AmesCell:
How is it working after a few days?
[Galaxy S III General] SlimJ87D:
Sounds good, I'm going to try this. Some things to add to your guide.

1. Mention to others to make a backup of the DB file.

2. Also mention an alternative method to perform this task by copying it over to a computer and using a editor on windows to save some money. Cheers.
[Galaxy S III General] Baldilocks:
I'm already getting speeds between 3-11Mbps. (Average 5) with factory settings. (shrug)

Hopefully this helps someone though.
[Galaxy S III General] cmd512:
You're hitting 11Mbps on Medianet? I thought it was capped at around 7-8Mbps?
[Galaxy S III General] Baldilocks:
As far as I know there is no speed limit on MediaNet. But, next time I am in that area, I will try to grab a screenshot.
[Galaxy S III General] cmd512:
That'd be interesting to see, I do get serious throttling once I hit 7.5Mbps. No complaints though, perfectly content with that speed.
[Galaxy S III General] SlimJ87D:
Last question to your guide. What did you do in the APN settings finally? Just made one called phone and left it all blank?
[Galaxy S III General] cmd512:
Nope, leave APN alone... can't use "phone" if on Medianet.
[Galaxy S III General] SlimJ87D:
Reporting in. Note that the internet at my house sucks. I live a few miles away from the boarder of Los Angeles.

Previous Speed test:

1. 1813/1083

2. 127/132

3. 834/319

After Proper Settings:

1. 3314/1013

2. 1121/145

3. 392/133

These were 3 random speed test. It seems like it has helped a little bit if not a lot. Will have to test it more when I'm in the OC area or other parts of LA. Anyways, here is the SQLITE file for others if they want to just copy and paste it in. Can you put it in the op? Thank you!
[Galaxy S III General] ceo.mtcl:
I'm getting 6 to 7 mbps without any modifications by default settings.

I'll try your method and will let you know.

Mind if I link your thread in my thread (look at my signature)?
[Galaxy S III General] cmd512:
Glad it helped... and thanks for the zip, updated first post!

I'm not sure, but I could not for the life of me get my SGS3 above 2.x Mbps running Speedtest right next to my old GT-I9100. I fiddled a bit with the Fastdormancy settings before, so when I went to take a look, there wasn't even a record of AT&T Medianet (Cingular 410) in the SGS3.

At the end of the day, I can't say it's the cure all for the slow speed issue, but it did fix mine for sure. And, it can't hurt to have the proper settings in your nwkinfo.db, right? :)

And of course not, link away bud!
[Galaxy S III General] ceo.mtcl:
Thanks slim. As always I find your comments quite useful. Please let me know if it worked in your other tests and then I will test it out also.
[Galaxy S III General] Baldilocks:
Just for giggles, I went ahead an applied this fix. No major change in speeds but I did notice one thing.

Cell standby usage has dropped considerably.

I wonder if having your carrier settings on that database file has something to do with it??

My phone has just been sitting here for almost 2 hours and Cell Standby is only at 16%, while screen is at 62%.

Any thoughts???
[Galaxy S III General] cmd512:
Yep, this fix addressed the improper FastDormancy implementation on the earlier stock ROMs for the SGS2 GT-I9100 where it was a major culprit for battery drain. Make no mistake of it... even though all these knuckleheads on here claim "FastDormancy should be turned off for AT&T," AT&T's network in the US DOES support FastDormancy. And, in theory, FastDormancy should improve battery life if properly implemented, so why you would want to turn that off completely is a mystery to me.

However, what I've noticed is that these earlier stock ROMs for these UK devices simply do not have the right FastDormancy settings for the US networks (yet). While the later ROMs did seem to address this, I'm not going to sit around for them to include the proper AT&T Medianet settings when I can just do it quickly myself. :)

Back to the original topic, FastDormancy does seem to impact speeds as well, so my original purpose for this hack was primarily for that. But, I would not be surprised one bit if it helped to reduce wakelocks and improve battery life overall on AT&T Medianet.

Glad it helped!
[Galaxy S III General] SlimJ87D:
I have something to discuss. I noticed that with this method there comes 2 methods to register with a Network now in here.

Settings > Wireless and Networks > More Settings > Mobile Networks > Network Operators.

The first being the default I believe and the second being the settings we inputted.

When I select the second AT&T it does not work. I don't know if there was somethign wrong with the settings or not or even if this is affected by what we did here. But I think this might have all beena placebo or coincidence. Not sure yet. Any answers?