yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] cellzealot:
The way overclocking is accomplished on Motorola devices with locked bootloaders on the stock kernel is by using a runtime module that can edit the OPP registers "on the fly" by locating the memory addresses where those values are stored in the kernel.

This requires compiling such a module that is compatible with the Tegra2 kernel and then experimenting with various VSEL values etc. to find what is possible/stable.
[Atrix 4G General] FrozenComa:
We Get The Point

Will you please read the entire thread before you reply saying that <insert device here> doesn't have a custom kernel and has been overclocked? We get the point, but I can guarantee that people will still reply saying the exact same thing in this thread.

What I'm trying to get through is to read the entirety of any thread before you reply to one persons comment because I guarantee that if it's not the last thread reply then somebody else has answered or commented on it already. I end up wasting my time reading pages of junk just like the other 3+ million members in this forum.
[Atrix 4G General] tassadar898:
cell, would compiling such module be an easy task for the tegra2? I've been wondering why we havnt seen a tegra2 overclocked when its been out for a while in devices like the G tablet with a pretty big xda community.
[Atrix 4G General] cellzealot:
The short answer is I have no idea! :D

A somewhat better answer is to say start here and see what you are trying to do and then see what applies to this chipset and kernel. :cool:

http://code.google.com/p/milestone-overclock/wiki/Disassembly
[Atrix 4G General] andeelym:
I second that idea. Quite frankly my dream and vision too.
[Atrix 4G General] bumsock:
Why are all you girls crying about snapdragon processors and the second generation "Scorpion processors" "CPUs" (lol@SoC) when your in a thread about the Motorola Atrix?
[Atrix 4G General] Riemen:
I am waiting for the LG Optimus 2x.

But as it also uses the Tegra2 SOC, an overclocking tool should work on both devices.

It would be great to be able to bring it to 1200-1300 MHz as Nvidia had planned for the Tegra2 3D, maybe with some undervolting. At this clock speed the Tegra would beat Omap 4 in all benchmarks.

I am totaly new to Android and also to Linux, so I am not sure if this is helpful, but I have seen something very interesting in the Optimus 2x review at Anandtech.

I dont know where these variables are stored and what is needed to, but for me it looks as if we are able to change them, overclocking should be possible on both Devices.

Forgive me, if all I have written is already known.
[Atrix 4G General] sdlopez83:
Banter, why not? Why should it really matter so much. I just learned something from that whooo hoo. Relax you could take apart a whole thread with useless things. Just ignore it.
[Atrix 4G General] andrew53517:
http://www.droidforums.net/forum/dr...orola-xoom-1-2ghz-hits-40-mflops-linpack.html

"Now, SetCPU developer Michael Huang has pushed the Tegra 2 CPU in the XOOM up 20% to 1.2GHz. At that speed, it manages a score of 40.716 MFLOPS while still working perfectly. The caveat? Linpack is a single-core benchmark, meaning that one of the Tegra 2′s cores goes unused. (By comparison, my EVO on CM7 nightlies manages around 39 MFLOPS at 1.13GHz after caching.)"

So the XOOM was overclocked to 1.2 Ghz today. Should be able to have the same for the Atrix once we get full bootloader unlock.

I am going to bed with over 40% battery life every night (on heavy usage too!), I think a little overclock won't hurt ;) :D
[Atrix 4G General] tassadar898:
We don't even need an unlocked boot loader the moto x and other moto phones with locked bootloaders are still able to overclock read previous posts. Is really like to see claimed overclock functionality... my HQ gomtv.net sc2 streams on flash are stuttering :P
[Atrix 4G General] andrew53517:
My bad. Very true, ill read up on those. Sorry for the miss post. But I wouldn't mind a little extra speed too.. even though I initially didn't want it lol

Atrix4G Rooted!
[Atrix 4G General] Exador:
Too bad those benchmarks are all meaningles in the real world. Qualcom cpu's are the worst in the industry. HTC makes great phones, but Snapdragon processors and Adreno graphics are a ****ty combination.
[Atrix 4G General] Triketra:
Yup sure is, goto the android market and download an app called backup everything. you can back everything up that way onto your sdcard in zip format. but I WOULD NOT BACKUP SYSTEM SETTINGS or your APN's, everything else you should be fine on. then swap those files to the new phone download Backup Everything again and select restore!
[Atrix 4G General] tassadar898:
Setcpu world with Tegra but you can only underclock for noe
[Atrix 4G General] andrew53517:
XOOM was overclocked to 1.5 Ghz today :O can't wait to see what that'll be like on the Atrix!

http://xdaforums.com/showthread.php?p=11695470

Atrix4G Rooted!
[Atrix 4G General] tassadar898:
the hurtles to jump is the bootloader and lack of custom kernel. setcpu dev also said that atrix uses nvidia drivers and not the google tegra drivers in xoom. i hope we can get a OC possibility like that of the DX/2
[Atrix 4G General] waltah!:
And how overclocked is your G2? Compare the stock numbers and see how that works out. Quadrant isn't ever optimized for tetra 2 and it still kills it.
[Atrix 4G General] 1BadHEMI:
Just to let you guys know, a new version of SetCPU was just released in the market that specifically says it works with the Atrix. Don't have my Atrix anymore so I can't test it, but just a FYI...
[Atrix 4G General] Apocalypse487:
I have. the processor info is there but the limits are set at 216-1000. there was a 10% increase on smartbench and linpack had the same results. On smartbench I got 30xx. On linpack I got 37mflops. Once this kernel thing gets figured out the true potential of this phone will be unlocked.
[G2 and Desire Z Q&A, Help & Troubleshooting] LGS1231:
Just went from Gingervillain to CM7 and Juicedefender is not working with CM7.

The feature I like about juicedefender is that it turns off my data unless I unlock my screen. Is there any app in the mean time that would do the same thing?
[G2 and Desire Z Q&A, Help & Troubleshooting] TJBunch1228:
Yeah dude, check out Super Power in the market. Same concept.
[G2 and Desire Z Q&A, Help & Troubleshooting] breezy169:
Does that really help in battery life ? (Juicedefender) or any other app
[G2 and Desire Z Q&A, Help & Troubleshooting] martonikaj:
I used to use JuiceDefender on 2.2, but since flashing CM7 I haven't been using it and my battery life has been fine.

I have brought up in other threads that JuiceDefender only helps a lot when you leave the screen off phone idle for a long time. It doesn't really help very much turning the phone on/off a lot because the data connection costs you more battery turning the mobile data on and off over and over.
[G2 and Desire Z Q&A, Help & Troubleshooting] LGS1231:
I don't use my phone too much for the majority of the day, so that's why I want the data off when I'm not actually using my phone.

In my opinion, it does get me more battery life because the data gets turned off and that way it conserves battery. But like that user said, it'll only be beneficial if you let your phone stay idle for periods of time and not constantly turn it on and off.
[Defy General] JostVice:
Hello, i've been usually listening to the FM radio, but while searching for a dark widget for the music player i tried PowerAmp, and tried the earphones and I noticed that it started playing the FM radio, and the PowerAmp song at the same time.

I though this could be that the process auto starts with earphone or something, so used Task Killer and Android Assistant but there isn't anything about radio, or the normal player there...

I tried opening the music app, going to the radio and it shows like it is working, try to press the mute button and nothing happens, i try changing station and the same ...

I downloaded this app http://xdaforums.com/showthread.php?t=903103 and tried to open it while this problem was going on, it just was stuck on 'loading fm radio...'

anyone knows what this could be about? how can i stop the damn radio? I want to listen to my songs too!
[Defy General] slph:
Stock radio app? Click on headphones icon in center
[Defy General] JostVice:
Yeah, I click that icon and nothing happens. I try to change to another station and same, and even i can go and play a song using the default player while the radio works
[Defy General] scrannel:
This issue has been reported before. You might do a search of Moto forums.
[Defy General] JostVice:
Right, I didn't remember about the moto forums, I found the topic:

https://supportforums.motorola.com/message/306546#306546

Only solution I found is to turn off phone and reboot. :rolleyes:
[Desire Q&A, Help & Troubleshooting] derDominic:
Hi,

just wondering, when I turn on my WiFi on Desire, that I have sound gaps every few seconds via my bluetooth A2DP connection.

With wifi of all is working fine.

Got this problems with CM6 and also CM7.

Anybody have an idea how I can hear onlineradio via wifi to A2DP audio output ????

regs

Dominic
[Defy Q&A, Help & Troubleshooting] MAPGPS:
Has anyone tried Defy's USB Host mode?

Would like to attach USB devices onto Defy:

- USB keyboard / mouse

- USB disk drives

- Other types of USB 3G modems (like CDMA1x/EVDO)

- Arduino IO board

...

I haven't bought Defy yet, but want to do some pre-research before the purchase.

Could someone do me a favor to post the outputs of "dmesg" on Defy?

(Run dmesg command under the Linux console).

I expect to see something like:

...
OMAP3630 ES1.1
...
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Sangoma WANPIPE r outer v1.1 (c) 1995-2000 Sangoma Technologies Inc.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
...

I got above dmesg by Web searching for an OMAP3630 test board, not a Defy.

Just want to make sure Defy is equipped with USB OTG controller.
[Defy Q&A, Help & Troubleshooting] _ReBoot_:
This function not supported in the kernel, so kernel we can not replace, because bootloader is locked.
[Defy Q&A, Help & Troubleshooting] MAPGPS:
Understood the bootloader is locked by Moto, and a kernel must be signed.

Instead of replacing kernel itself, can we just load new driver modules (*.ko via insmod command)?

Does Moto also prevent from loading customized driver modules?
[Defy Q&A, Help & Troubleshooting] MAPGPS:
Can someone help to get the outputs of "cat /proc/driver/musb_hdrc" ?

Something like:

#cat /proc/driver/musb_hdrc
Status: MHDRC, Mode=Peripheral (Power=60, DevCtl=80)
OTG state: b_idle; inactive
Options: musb-dma, otg (peripheral+host), debug=3 [eps=16]
Peripheral address: 30
Root port status: 00000000
Gadget driver: (none)
[Defy Q&A, Help & Troubleshooting] unrafa:
http://copytaste.com/e272
[Defy Q&A, Help & Troubleshooting] MAPGPS:
unrafa, thanks a lot for your info.

One correction to my previous command line for current USB mode:

"cat /sys/devices/platform/musb_hdrc/mode"

Following dmesg of Defy shows the internal USB modem is attached to the USB Host for modem init. But later reset as b_peripheral:

<6>[ 8.118133] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<4>[ 8.118347] IRQ 78/usbtll: IRQF_DISABLED is not guaranteed on shared IRQs
<6>[ 8.119018] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
<6>[ 8.119323] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
<6>[ 8.119842] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
<6>[ 8.134368] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
<6>[ 8.135192] usb usb1: configuration #1 chosen from 1 choice
<6>[ 8.135650] hub 1-0:1.0: USB hub found
<6>[ 8.135833] hub 1-0:1.0: 3 ports detected
<6>[ 8.136688] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<6>[ 8.137451] usbcore: registered new interface driver cdc_acm
<6>[ 8.137573] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
<6>[ 8.138244] usbcore: registered new interface driver usbserial
<6>[ 8.138366] usbserial: USB Serial Driver core
<6>[ 8.138641] USB Serial support registered for moto-modem
<6>[ 8.138946] usbcore: registered new interface driver moto-modem
<6>[ 8.139312] USB Serial support registered for QSC 6085 Modem Driver
<6>[ 8.139617] usbcore: registered new interface driver cdma-modem
...
<6>[ 80.229614] MUSB BUS RESET as b_peripheral

How about to use:

"echo b_host > /sys/devices/platform/musb_hdrc/mode"

to enable the Host mode again?

May run command "modinfo musb_hdrc" to get actual parameters we can use to enable the Host mode.

Something like "modprobe musb_hdrc mode_default=1".
[Defy Q&A, Help & Troubleshooting] unrafa:
$ cat /sys/devices/platform/musb_hdrc/mode

b_peripheral

# echo b_host > /sys/devices/platform/musb_hdrc/mode

# echo b_host > /sys/devices/platform/musb_hdrc/mode

# cat /sys/devices/platform/musb_hdrc/mode

b_peripheral

# ls

uevent

modalias

subsystem

power

driver

gadget

mode

vbus

srp

# cat power

power: invalid length

# ls

uevent

modalias

subsystem

power

driver

gadget

mode

vbus

srp

# cat mode

b_peripheral

# cat vbus

Vbus off, timeout 0 msec

# cat srp

srp: invalid length

# cat uevent

DRIVER=musb_hdrc

MODALIAS=platform:musb_hdrc

# cat modalias

platform:musb_hdrc

# cat subsystem

subsystem: invalid length

# modinfo musb_hdrc

modinfo: can't open '/lib/modules/2.6.32.9-ga649a2e/modules.dep': No such file or directory

# modprobe musb_hdrc

modprobe: chdir(/lib/modules): No such file or directory

by the way /lib/modules doesnt exist, there are 20 modules in /system/lib/modules

and no musb_hdrc module there

Inside android's menu if i change "motorola Phone portal" to "USB mass storage" dmesg got this

<3>[12344.262695] do_cmd_proc_msg: Acquisition cycle length overflow

<6>[12345.158843] musb_pullup - Disabling USB Pullups

<6>[12345.159606] usbnet_disable

<7>[12345.159881] mtp_function_disable(): disabled

<6>[12345.161651] adb_release

<6>[12345.163146] adb_open

<6>[12345.165618] Sending USBLAN disabled uevent

<6>[12345.279876] musb_pullup - Enabling USB Pullups

<6>[12345.389068] device_mode_change_write - Successfully enabled function - msc_adb

<6>[12345.594573] MUSB BUS RESET as b_peripheral

<6>[12345.674407] MUSB BUS RESET as b_peripheral

<6>[12345.705291] android_usb gadget: high speed config #1: android

<4>[12349.139770] mmc0: Starting deferred resume

<4>[12349.511322] mmc0: Deferred resume completed

/sys/module/musb_hdrc/parameters/debug exists. no more than that file

Would it be possible to connect an external hard disk to this phone?
[Defy Q&A, Help & Troubleshooting] bschuele:
No, we really can load own driver modules....

sent from my moto defy with taptalk
[Defy Q&A, Help & Troubleshooting] m11kkaa:
It would be very great if this will work.

Is there any progress?
[Defy Q&A, Help & Troubleshooting] sonhy:
yeah, be nice to connect 2 usb hosts so i can copy my slr pictures from a 32gb sd card over to a 320gb hdd.

I have usb y cables so i can power the hosts with an external usb charger.
[Defy Q&A, Help & Troubleshooting] viper.:
Any news on this?
[Defy Q&A, Help & Troubleshooting] petronel:
It will be nice to see an USB host patch/mod on Defy
[Defy Q&A, Help & Troubleshooting] drmouse81:
hi

I've seen that some phones will enable host mode if you boot them with the data pins shorted, done with a "dongle". anyone tried this on the defy? I'll make one and try it if no one has.
[Defy Q&A, Help & Troubleshooting] viper.:
hmm.. is that safe? I dont want to burn my usb port..
[Defy Q&A, Help & Troubleshooting] drmouse81:
I doubt it will damage anything. they won't be able to source enough current.

I've checked and the omap3610 supports usb otg. I will try to test this weekend.
[Defy Q&A, Help & Troubleshooting] drmouse81:
http://www.tombom.co.uk/blog/?p=124

that page shows the 'dongle' I mean.
[Defy Q&A, Help & Troubleshooting] drmouse81:
Scratch that, it is not the data pins, you connect the "extra" pin (pin 4) to ground.
[Defy Q&A, Help & Troubleshooting] IE-coRe:
Maybe 2nd ini make this able...
[Defy Q&A, Help & Troubleshooting] wouternet:
Guys, i saw something on Blog.Makezine.

http://androidcommunity.com/ioio-fo...mples-from-usb-breakout-board-video-20110408/

http://ytai-mer.blogspot.com/2011/04/meet-ioio-io-for-android.html

Maybe this could help, would love to be able to play video files from a external HDD. Watching movies on the backseat while we drive to our vacation!
[Defy Q&A, Help & Troubleshooting] zjfgavin:
maybe we need another kernel,i think
[Defy Q&A, Help & Troubleshooting] shorty66:
Any news on this?
[Defy Q&A, Help & Troubleshooting] mesterke:
bump anyone with any experience with usb/kernel modules?
[Defy Q&A, Help & Troubleshooting] Monkey007Man:
???

Hi all, there is already someone working on this mod? It would really mega cool to have that I have on defy:D
[Defy Q&A, Help & Troubleshooting] evilinheaven:
I would like to see this working too!!
[Defy Q&A, Help & Troubleshooting] pachuau86:
any developments on this?? getting my defy next week... Samsung Galaxy S 2 supports this but no developments on the Samsung Galaxy afaik (same chipset as Defy)
[Defy Q&A, Help & Troubleshooting] viper.:
I think that atm we cant have host mode drivers beacuse of locked bl.
[Defy Q&A, Help & Troubleshooting] pachuau86:
b.u.m.m.e.r :(
[Defy Q&A, Help & Troubleshooting] Monkey007Man:
well??? any news?
[Defy Q&A, Help & Troubleshooting] MAPGPS:
Finally I bought my Defy, and began to do more research on it.

My first attempt was to turn on the VBUS 5V power supply for the USB port on Defy.

I have made it happened by insmod a dummy module with following piece of code executed during the module init:

#define MBASE 0xfa0ab000 //got from:
//data# dmesg|grep Peripheral
//[ 8.125518] musb_hdrc: USB Peripheral mode controller at fa0ab000 using DMA,IRQ 92

void power_on_vbus(void)
{
u8 reg;
void __iomem *mbase = MBASE;

reg = musb_readb(mbase, MUSB_TESTMODE);
reg |= MUSB_TEST_FORCE_HOST;
musb_writeb(mbase, MUSB_TESTMODE, reg);
}

You can see my USB modem attached to Defy has it's light ON!
[Defy Q&A, Help & Troubleshooting] tmuell:
wow this is great.

it is still possible to access the usb host mode from linux ?

see:

http://android.galoula.com/en/LinuxInstall/

http://labs.igep.es/index.php/How_to_get_the_Ubuntu_distribution
[Defy Q&A, Help & Troubleshooting] dangpzanco:
Would you compile this?

Sent from my Milestone 2 XDA App
[Defy Q&A, Help & Troubleshooting] MAPGPS:
Yes, it was compiled by ARM cross-compiler as a kernel module.

It is not for people to use at this moment, just to demo that Defy has USB OTG hardware capability, thus USB Host is possible.

The effort is on software, and I'm working on it...
[Defy Q&A, Help & Troubleshooting] [] AL []:
Good stuff! Many people are interested by this; it even made the news in the CM7 thread.

I don't know if it would be of any help, but you can see my latest post on this over there.

Good luck and thanks for your effort in this matter.
[Defy Q&A, Help & Troubleshooting] sykoism:
Great Work!

It will be a big news for the defy's user!
[Defy Q&A, Help & Troubleshooting] DJ_Synergy:
i would love to see this work ... this would be such a cool thing to connect an external hdd to the defy :D
[Defy Q&A, Help & Troubleshooting] mainbord:
MAPGPS

Use GScript programm for mount flash drive

GScript :

http://xmages.net/i/3138809
[Defy Q&A, Help & Troubleshooting] Epsylon3:
defy will not be able to handle hi power devices...

You need a self-powered hub to handle that
[Defy Q&A, Help & Troubleshooting] ryan8r:
It will be a great accomplishment if we can even use a flash pen drive.
[Defy Q&A, Help & Troubleshooting] dangpzanco:
Would you publish your source code to a github repository, so more people could help you?

Or it is already published?

Sent from my Milestone 2 XDA App
[Defy Q&A, Help & Troubleshooting] tmuell:
any news ?

it would be great when the source of the kernel module will be published.

i also want to hack a little bit with this ;-)
[Defy Q&A, Help & Troubleshooting] Epsylon3:
Here is the omap 3630 cpu datasheet :

http://focus.ti.com/pdfs/wtbu/OMAP36xx_ES1.x_PUBLIC_TRM _vW.zip

released 30 sept 2011 :)
[Defy Q&A, Help & Troubleshooting] wizwin:
Thanks for the update! I had TRM vO. I carry around the TRM on my Defy itself :p
[Defy Q&A, Help & Troubleshooting] sykoism:
Thanks to every developer here:-)

We are now getting closer and closer to the USB host mode for defy:-D
[Defy Q&A, Help & Troubleshooting] viper.:
hmmm... Last cm7.1 change log says: "Encore: USB host support - Verygreen " .:confused:

Has somebody tried that ?
[Defy Q&A, Help & Troubleshooting] frasco810:
It's referring to the LG Encore I think, not the Defy.
[Defy Q&A, Help & Troubleshooting] ofmb:
Can you post the compiled kernel module for other people to try that?
[Defy Q&A, Help & Troubleshooting] pachuau86:
That is correct... It is not referring to the Defy
[Defy Q&A, Help & Troubleshooting] bitocampo:
DemoKit on Defy

Hello,

Does anyone tried DemoKit to connect an arduino or IOIO Board?
[Defy Q&A, Help & Troubleshooting] gastgast1:
USB OTG cable

Hello

hath any one tested a USB OTG cable like this 3w.amazon.de/USB-OTG-Adapterkabel-Adapter-Kabel-Micro-USB-Stecker-USB-Kupplung-Buchse/dp/B005JDETZA ?

I have a Nokia 6600 Slider and the usb OTG function is not supportet but with a Usb OTG cable i can use a USB stick that is formatet with FAT32. The USB OTG cable will be set the USB controller in Host mode.
[Defy Q&A, Help & Troubleshooting] frasco810:
Seems to work at least with the stock ROM:

http://groups.google.com/group/ioio-users/browse_thread/thread/a56d309544279542
[Defy Q&A, Help & Troubleshooting] bitocampo:
It is not clear. Android documentation says that ADK is only supported for 2.3.4 or above, and the post mention android 2.2.1.
[Defy Q&A, Help & Troubleshooting] :
just wondering, does this mean cm7 (or cm9 in future) has usb host support now?
[Defy Q&A, Help & Troubleshooting] sykoism:
No, it doesn't work yet, but I hope that the usb host mode can work in cyanogenmod one day, since it was shown that defy has ability to have it.
[Defy Q&A, Help & Troubleshooting] smileyint:
I would love usb host capability on my defy after seeing the samsung otg usb cable. That would be cool to connect flash drives to mobile phones. :)
[Defy Q&A, Help & Troubleshooting] qsmyle:
Yes! It would be great!

I'm not a developer just a power user. Are there any progress about OTG for Defy topic?
[Defy Q&A, Help & Troubleshooting] JC6ekLZG:
Hi all, finally I found a site providing the required binaries and solving that problem:

ok, i'm not permitted to post links ... so you have to complete. Just copy the line bellow into your address-field ;-)

foo.abmh.de/en/papers/android/defy/

I got OTP working on my Defy with Android 2.1.
[Defy Q&A, Help & Troubleshooting] hackergnome:
Wtf!!!

Omfg!!

foo.abmh.de/en/papers/android/defy/

Here's the link so u can click it

Thanks to the guy above me who found it!!!

**** this is crazy!!!!
[Defy Q&A, Help & Troubleshooting] Matze5800:
Thats freakin awesome!!! :O Gonna try that after i got the OTG cable, someone already tried with cm7?
[Defy Q&A, Help & Troubleshooting] walter79:
Did it work only only on android 2.1?
[Defy Q&A, Help & Troubleshooting] matrix866:
Is the NOkia N8 OTG cable good?
[Defy Q&A, Help & Troubleshooting] hackergnome:
M gonna try with that one!