yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] Bytecode:
I get this on sense too :p

(but I replaced all that Android wifi stuff,so on Sense,its wierd :p)
[Optimus One, P500 Android Development] dr.notor:
-Os has always been ****... Other than that, unless you can somehow make the log more verbose, NFC. :( Can you get something more useful when you try to load the module manually with insmod?
[Optimus One, P500 Android Development] franciscofranco:
I dont use -Ofast anymore. Did you manually add wireless.ko to lib/modules from your compiled kernel?
[Optimus One, P500 Android Development] shashi_hv:
I tried it thro' the init.rc too. I dont any other ways to do insmod!!

But it failed even on that account!!
[Optimus One, P500 Android Development] shashi_hv:
Yup franco. I copied to modules and then signed it with command:

"java -classpath testsign.jar testsign port.zip signed-port.zip"

I really can't understand why this is getting failed as the same compile options were used for both zImage and wireless.ko!! Rest all works fine except the wifi error!!! The idea i think is as long as all the executables are of same signature, then it should work fine, right?? I am confused on what could be the problem!!!
[Optimus One, P500 Android Development] shashi_hv:
Today I will try with other compile options, either O1, O2.... etc.

Strange thing is that I face this problem with all other available kernels also!! Like for ex., original GB source from LG, paulo's kernel!! All of it!!
[Optimus One, P500 Android Development] dr.notor:
Uh, I do not understand a word.

$ su
# busybox insmod /system/lib/modules/wireless.ko

What is the output of the above.
[Optimus One, P500 Android Development] shashi_hv:
Weird!!! Though I see the file being there thro' file manager, I get the error as "No such file or directory"!!

I was telling that I tried to insert this same command even in the init.rc file at the boot option!!
[Optimus One, P500 Android Development] dr.notor:
You have been already told that you need to manually add /system/lib/modules with the ones you want (such as wireless.ko or tun.ko or cifs.ko) to the ZIP you are flashing.

Flashing zImage only will not flash the modules!!!!

As for your file manager, I recommend this as a "file manager"

# ls -l /system/lib/modules
-rw-r--r-- 1 0 0 19948 Aug 1 2008 tun.ko
-rw-r--r-- 1 0 0 191854 Aug 1 2008 wireless.ko
[Optimus One, P500 Android Development] shashi_hv:
I know that notor!!!

I copied the tun.ko and wireless.ko to the appropriate folder and built the zip file which i flashed!!

The problem is very weird. I see the file wireless.ko if I browse thro' file manager. Even when i press tab in busybox, wireless.ko gets auto populated or even the ls command lists it!!

It is much more weird that if I tried to do insmode ....../tun.ko, i get the error as 'exec format error' but a 'no such file' for the wireless.ko!! Though I flashed both these of these!!
[Optimus One, P500 Android Development] dr.notor:
You know, go wipe the files in /system/lib/modules and flash your kernel and modules from the SAME KERNEL you have compiled.

Also, it is insmod, not insmode and generally if you are posting something, copy and paste the exact output of a command instead of telling us stories about what the output says.
[Optimus One, P500 Android Development] shashi_hv:
Yup thats what i was thinking too.. i would wipe and try copying it once again.

Definitely i would have shown you the screen shots.. but i am not in a position to grab those and paste it here, as i am in office right now.. but the point is i understand some of linux system and familiar wirh it!!

I tried to create and flash the zip the standard way thats available on net and it did not worked!! Thats the point!! So wanted to know am i missing anything!!
[Optimus One, P500 Android Development] dr.notor:
Well, things like 'exec format error' clearly suggest that you flashed some weird corrupt junk... :p
[Optimus One, P500 Android Development] shashi_hv:
I tried this!!!

1. su

2. rm -f /system/lib/modules/wireless.ko

3. rm -f /system/lib/modules/tun.ko

Now the files were not there in the directory. Flashed the same zip file which I used earlier and found the wireless.ko and tun.ko in the same path!!! But still the problem prevails!!

Just to confirm once again that I indeed copied the compiled wireless.ko and tun.ko and built the zip file!! No problem in that!!!

Why do not you try to do insmod of any existing file in the modules path and report what error you get?? I think even you should get the same error even in your phone too!! I tried this command on an already existing libra.ko in the same path and got the same error!!!
[Optimus One, P500 Android Development] andy572:
for a few weeks i has compiled my kernel with optimizations -O3 and got "no such device" when tried to insmod the wifi module ...

possibly the wifi module gets corrupted when the kernel is to much optimized...
[Optimus One, P500 Android Development] dr.notor:
Yeah. Just leave the thing alone. There is basically nothing you will optimize by subverting various crazy -O3 -fzomgoptimized -fflying-phone flags to kernel compile. Leave the stock CFLAGS stuff alone.
[Optimus One, P500 Android Development] shashi_hv:
On a different note, can anybody tell me who will load the wireless.ko and tun.ko at boot time? I mean is there any kind of scripts like the init.rc or any other *.sh scripts under /system/etc?
[Optimus One, P500 Android Development] shashi_hv:
I tried to see in the init.qcom.wifi.sh script, but its based on the property 'wlan.driver.status'!! I dont see this property under getprop command, but added one using setprop, but no success!!!
[Optimus One, P500 Android Development] dr.notor:
Suggestion: restore the stock init **** and leave it alone. There is absolutely no need to mess with that to get WiFi working on any ROM. Others, like tun.ko, you need to load manually via initscript or whatever. Go fix your kernel compile and it will just work.
[Optimus One, P500 Android Development] shashi_hv:
init is already restored by flashing openOptimus GB ROM!! I just tried to flash the kernel zip over it, thats all!!

To compile stock kernel, I used following commands:

1. make thunderg-perf_defconfig

2. make zImage -j4

3. make modules

and to compile franco, just copy the .config to source root directory

1. make zImage -j4

2. make modules

I did not changed any of the settings at all!!

signed zip was created using koush's AnyKernel method using standard practises of replacing zImage, other *.ko modules and signed it!!

I tried this method on openOptimus ROM without any mod to init ****s!!! Because franco's kernel was already working with this ROM!!!

I dont know where I could go wrong here!!!
[Optimus One, P500 Android Development] dr.notor:
Apparently your compiler. Stuff that spits out "executable format error" or similar is clearly miscompiled. NFC what gcc version you are using but get another one.
[Optimus One, P500 Android Development] franciscofranco:
Ok. Let's try and do this as simple as possible.

make clean

make distclean

This **** clears everything that is created on compiling.

Copy the ****ing .config to the root folder then

make -j4

It will compile everything (dont need to make zImage then make modules)

After the compile is done copy zImage and wireless.ko to the flashable zip and flash it. Done. If the problem still persists go to the .config and make it OPTIMIZE FOR SIZE instead of using the -Omfguberoptimizationshitflag.

If this **** fails then sir there's nothing we can do.
[Optimus One, P500 Android Development] andy572:
I think, the kernel searches the module in the wrong place.

When using "make modules && make modules install", the kernel search for in

/usr/lib/modules{KERNEL_VERSION}/wireless.ko instead in /system/lib/modules/wireless.ko
[Optimus One, P500 Android Development] dr.notor:
insmod /system/lib/modules/wireless.ko needs to work and not spit some nonsensical "exec format error" ****...

modprobe never worked, that searches in /lib/modules/$KVER, someone might finally compile it right in busybox.
[Optimus One, P500 Android Development] franciscofranco:
Something like that happened with my x5 when I tried to force load a module that wasn't compiled for that kernel version, it just laughed at me and sent to **** up.

I think andy has got a point there. What I don't understand is why someone does "make zImage" and then "make modules" while doing a single "make -j4" works fine.

Other than what I said in the explanation post I got no clue.
[Optimus One, P500 Android Development] dr.notor:
IIRC that spews up some "wrong version magic" error, not this. At least on Linux.
[Optimus One, P500 Android Development] franciscofranco:
That I do not know, but I'll trust on what you say. Either way I hope the OP can fix that problem, we already gave him all the possible solutions I can think of.
[Optimus One, P500 Android Development] dr.notor:
Just quickly tried:

insmod: error inserting 'ipv6.ko': -1 Invalid module format
kernel: ipv6: version magic '2.6.35.14-test gcc-4.5' should be '2.6.35.14 gcc-4.5'

is the **** it spits up on console and in dmesg on Linux.

Anyway, no other ideas, sounds like some obvious PEBKAC...
[Optimus One, P500 Android Development] fserve:
how i do that:

make clean

make distclean

make menuconfig <= and mark that Optimized for space option, inside one of those menus.

make -j4

then

update original franco.kernel.zip with

arch/boot/arm/zImage

drivers/balbalbla/net/wireless.ko

Work pretty well. i can get 1.5MB kernel with that. | Same performance.
[Optimus One, P500 Android Development] shashi_hv:
F*(king nonsense still:mad::mad:!! No luck for me!!!

I tried fetching the Aug 18th committed source from franco's github.

Did make clean

make distclean

make -j4

I changed only the path of the arm eabi. Nothing else!!

Same results, except wifi everything works!!

Tried on different ROM's, andy's or mik's.. etc!!

I don't want to say I loose, but I will try one more day to get it up!!!

I dont know what is f*(king problem/mistake I am doing!!
[Optimus One, P500 Android Development] shashi_hv:
I get around 1.8 MB kernel, not 1.5 MB!!
[Optimus One, P500 Android Development] shashi_hv:
My biggest question is who loads the modules at boot time?? Can it be controlled thro' any config or a script, so that we can set the search path??
[Optimus One, P500 Android Development] dr.notor:
Well no, until you can load the module manually, your biggest problems is the broken **** you are flashing. After that, you will have no problems with loading the module, it just works. For everyone.
[Optimus One, P500 Android Development] shashi_hv:
Thanks notor!!

I shall try so:confused::confused:!!!
[Optimus One, P500 Android Development] dr.notor:
This will loads any modules you have. Stick it to /system/etc/init.d/10modules or whatever and chmod 777. Anyway, it will definitely not help in any way unless insmod /system/lib/modules/wireless.ko really works without any errors. :p

#!/system/bin/sh
#
# Load any extra modules

MODULES="$(ls /system/lib/modules)"
MODULES_DIR="/system/lib/modules"

if [ ! -d $MODULES_DIR ]
then
exit 0
fi

if [ -z "$MODULES" ]
then
exit 0
fi

for i in $MODULES
do
insmod $MODULES_DIR/$i >/dev/null 2>&1
done

exit 0
[Optimus One, P500 Android Development] andy572:
Why insmod modules manually or in a shell script? the kernel is clever enough to load modules through udev when needed ... there is no need for such scripts but have a

experimental module to load!
[Optimus One, P500 Android Development] franciscofranco:
Which toolchain are you using?
[Optimus One, P500 Android Development] dr.notor:
udev? On Android? :eek:
[Optimus One, P500 Android Development] shashi_hv:
I think the tool chain was the problem(Which I had copied from my friend!!).

But nevertheless, I replaced the tool chain with code sourcery one, and I could build one properly with it!!

I think the tool chain was from the android ndk!!!
[HTC Sensation] osugsxr:
Boot into bootloader , pull battery hold down volume and power button. Had same issue and it worked for me
[HTC Sensation] Behold_this:
Yeah, I have a suggestion, SEARCH BEFORE POSTING (sorry, I couldn't resist). There are several threads about this issue already.
[HTC Sensation] Dandroid4g:
That is scary!!!
[HTC Sensation] PhaedraCorruption:
Thanks, my bad, I found the proper information.

Sorry for the thread, I thought this problem was exclusive to me:o
[HTC Sensation] Behold_this:
No worries friend! Thanks for being a good sport about me busting you're balls :D
[HTC Sensation] jomaxwel:
Is there a mod available for stock tmous deodexed Rom that will make the launcher and lockscreen automatically rotate? I would think this would already be around but was unable to locate anything its not even in any custom Roms that I've tried. And no I don't want anouther launcher. ;)
[HTC Sensation] Dandroid4g:
That would need some work to make it look good
[HTC Sensation] jomaxwel:
Well think about it. The slide phones have it enabled by default and I would think its cooked into Sense and Rosie some were just not enabled for a handset without a keyboard. Just what I thought who knows figured I would ask.
[Epic 4G General] Geekybiker:
My epic keeps skipping while playing music. Its only once every few minutes, but it throws you out of the mood. It happens with multiple players - Mort, poweramp, stock. I'm on ACS frozen, so voodoo audio is on there. Some of the files being played are ogg, as well as mp3. Anyone have any ideas on stopping it?
[Epic 4G General] GuestK00145:
I had the same problem before, switching roms solved my problem.
[Epic 4G General] Geekybiker:
Same problem on ACS frozen? What did you move to?
[Epic 4G General] xopher.hunter:
Raise your minimum cpu clock speed up to 200mhz, if that don't work I know the gingerbread leaks are good for audio
[Epic 4G General] GuestK00145:
I was on Bonsai 4.0.1 rom when my music started skipping and I flashed to CK Urban Regeneration Rom & the problems stopped.
[Epic 4G General] DroidApprentice:
I have used stock ROMs and along with Bluetooth flakiness this is my #1 issue with the phone. I have only found one odd thing that seems to help with it, although it's not a cure-all.

I stopped reordering the apps in the TouchWiz drawer. You see, when they repopulate after boot, they aren't in perfect alpha order. I was using TW to reorder them and when I stopped doing that (strange as it sounds) skipping almost went away completely.

Unfortunately it still comes back. BG processes, CPU or RAM, I have no idea what the cause is. But I can hope GB will fix it.
[Epic 4G General] Geekybiker:
Weird. I'm not using TW though. It feels very much like a cpu priority thing though. Something grabs the cpu for a few MS 100%. I tried setting my min speed to 400mhz and Its changed. I won't say its better, but its changed.
[Epic 4G General] A_Flying_Fox:
Yeah I noticed this yestrday. I'm on eh06. I was tethering to my computer playing battlefield 2 and playing music from the epic at the same time and every few minutes it would choke.

Like you said, its no biggie but it does change the mood lol

It doesn't bother me though, because I'm pretty sureits just. Random spike in cpu usage. All cpus do that
[Epic 4G General] mtwow789:
I had similar issue before. I think it's due to some error collecting overtime. I had problems when I had srf for more than a month. After I odin the phone, skipping went away. Also try formatting the SD card. Mine had corruption that I didn't know about. So I did a backup for important stuff only. After odin and freshly formatted SD, skipping issue was gone. Also I recommend stay away from overclocking/undervolting. I believe some bug is causing error which it accumulates over time. I think I saw someone saying from another thread that undervolting too much causes error that you need to odin to clean up.
[Epic 4G General] AndroidStephen:
Has anyone found a good solution to this?? I had the stock Gingerbread for about a week and didn't notice any issues with the music. I switched to CleanGB rom and started getting the skipping when playing music. Different music players, setting CPU mins/maxs differently doesn't seem to make any difference. I know I can go back to stock, etc... but I really don't want to wipe my phone and start all over again if not needed. Everything else seems to work great except for maybe the Wifi not locking as well as it should.

Thanks, Stephen
[Epic 4G General] BopChie:
I've noticed on EI22 that I would get a little skiping when i pull away from home/work, just as i get out of wifi range.....when it drops the wifi and searches for a new access point/connects to 3G is when i hear the skipping. I just kill my wifi and 4G when i hop in my truck so neither of them are hunting around as i'm drivin around jammin to obnoxiously loud music playing from my sd,slackr or audiogalaxy. :p works for me - Currently running ERA Legendary ei22 rom/ei22 modem with latest IAP Kernel @200min/1340max w/on-demand gov
[Epic 4G General] zman519:
The new Power AMP 2.xxx. sucks ya it looks cool I like the new gui but the sound is not like 1.4 it skips all the time if your doing any thing in the android gui and even Power AMP gui.

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] davidh59:
I did not have this issue at all on stock Froyo but I was getting it on the first couple ACS ICs roms that I installed. Today I install ACS ICS v5.5 and getting it very little. Seems to happen if I lose signal. The good news is Marcusant and the community are improving all the EI22 roms pretty fast
[Epic 4G General] zman519:
I am on Froyo. Its power amp 2.x. I'm prity upset that a paid app that's for sound would do a gui overhall but make the sound start sucking

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] zman519:
http://forum.powerampapp.com/index....y-thing-on-the-phone-open-menus-home-key-etc/

Hears a thread I started about Power AMP on the Power AMP fourms. If your having the problems iam plaese post over there.

And hopefully Max will fix it soon.

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] nootanklebiter:
I've had this happen a lot when I listen to music and have my phone connected to wifi while at work. If I turn wifi off, the skipping stops.
[Epic 4G General] zman519:
I never have wifi on in my car. And it still does it, the new 2.x power amp sucks. Its a music app sound should cme before GUI

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Epic 4G General] HanMan5000:
You may want to try changing the bit rate of the music you are trying to play using a program on your computer. I could not post a link because I am a new user, however google is a fast and easy way to find one.
[Epic 4G General] bigtimeweb:
problemis when I listen to music im usually driving, and if im driving im usually using navigation/maps...

I had a suspicion it was related to data pulls, so Im glad to see some sort of confirmation.

I was also using poweramp which i ditched.
[Epic 4G General] nvertigo:
same here it seems to happen to me if i lose signal. i'm on acs ics 5.5 and on poweramp. only happens rarely so it isn't a huge deal but yeah annoying.
[Epic 4G General] zman519:
I'm not lowering the bitrate. It worked b4 Max wrecked the app it sucks now & I'm vary disapointed. The SGSs have a kickass audio chip there is NO reason to lower the bitrate

Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
[Acer Iconia A500] wailoon:
Hi

I using the original Acer Iconia A500 ROM.

I try to use SetCPU to OC my A500, the max is 1Mhz.

But when I use custom ROM, SetCPU can OC up to 1.6Mhz.

May I know how to set this 1.6Mhz for original Acer ROM??
[Acer Iconia A500] mevensen:
With stock, are you using the stock kernel, or custom kernel?

You need a custom kernel that allows OC.
[Acer Iconia A500] Biologos:
And, of course, it is GHz, not MHz
[Acer Iconia A500] wailoon:
oops... sorry... :P
[Acer Iconia A500] wailoon:
so which kernel will be best for the original rom??

1 more question, stock = original rom from acer??
[Acer Iconia A500] FloatingFatMan:
I used RichardTrip's kernel, you can find it in the dev section... Works great with stock ROM and supports up to 1.64ghz overclock.

And yes, Stock = Original ROM from Acer.
[Acer Iconia A500] mevensen:
+1 for RichardTrip's kernel
[Acer Iconia A500] wailoon:
thanks...

I have installed the kernel and now is OC to 1.6ghz...

many thanks.
[Acer Iconia A500] FloatingFatMan:
Note: Just because you CAN go to 1.6, doesn't mean you SHOULD! That's WAY faster than the CPU is rated for so don't be surprised if you get some pretty major issues. I run at 1.4 and find it way more than enough and it stays stable.
[Acer Iconia A500] xjestersdeadx:
+1 on that. I'm at 1.4 and very stable, no problems.
[Milestone 2 General] xXLuHXx:
how you fix the cam

im using the muiu aosp and likely fix to aosp

sorry my bad english
[Milestone 2 General] Endless7:
comment the line:

ro.media.capture.flip=horizontalandvertical

in /system/build.prop
[Milestone 2 General] xXLuHXx:
if yet commented

#

# ADDITIONAL_BUILD_PROPERTIES

#

ro.media.capture.maxres=5m

ro.media.capture.flash=led

ro.media.capture.flashIntensity=41

ro.media.capture.torchIntensity=25

ro.media.capture.classification=classH

ro.media.capture.flip=horizontalandvertical

persist.sys.purgeable_assets=0

ro.com.android.wifi-watchlist=GoogleGuest
[Milestone 2 General] sahilarora911:
He means it should look like

#

# ADDITIONAL_BUILD_PROPERTIES

#

ro.media.capture.maxres=5m

ro.media.capture.flash=led

ro.media.capture.flashIntensity=41

ro.media.capture.torchIntensity=25

ro.media.capture.classification=classH

#ro.media.capture.flip=horizontalandvertical

persist.sys.purgeable_assets=0

ro.com.android.wifi-watchlist=GoogleGuest
[Milestone 2 General] xXLuHXx:
but the line is comented and bootup the cam is up side down

needs the # for comment, for any comment sorry im is new android
[Milestone 2 General] rasecrmz:
Yes, just add the "#" symbol

#ro.media.capture.flip=horizontalandvertical

Only in that line

. Reboot your phone and your camera should be fixed.
[Milestone 2 General] xXLuHXx:
how i fix headset button ??
[Milestone 2 General] gwunit:
CM7 Camera and Video

I tested the camera app from defy.tanguy.tk/jordan-nightly/camera/com.motorola.Camera.apk

Now i am able to make videos but every time the system store the movie/picture the app craches.

But I think, it's the right way.
[Milestone 2 General] Neuralsystem:
Can´t get GPS fix position with CM7 rom... Tried to install gps status, but still not working, the gps only finds 2 sattelites... Im from Brazil, do I need to configure something?

I´ve another question, how to record voice calls? in deblured GB there´s an option to do, this is possible with cm7?
[Android Software/Hacking General [Developers Only]] lunit:
I want to enable the fmradio of china phone A9+.

The phone have on board the tea5991 FM chip, but the phone don't have any grafic app. In the /system/lib is there "libfmtea599x.so" and in /system/bin are there "fmtest" "fmapp".

If try to run by terminal "fmapp". I've this: VIDIOC_G_TUNER:error!!

If try "fmtest" I've always "FM[off]".

I thought the tea5991 was unsupported by android but I've find this phone Acer beTouch E130 with the same harware, the same amdroid (2.1-update1) and radio app.

Any idea...

Thanks
[Android Software/Hacking General [Developers Only]] lunit:
I attach the fmtest log