[Q] Android IA drivers - Android Q&A, Help & Troubleshooting

Good morning,
I tried to install Android IA 4.4.2 on my Lenovo X1 and to my great surprise it booted up. Everything works perfect except the sound. (Realtek HD Audio).
When I run "lsmod" in the terminal, I see hda_snd_codec_realtek is loaded, but the sound still doesn't work. I have a module compiled for 4.4.2 but when I would copy it to / lib / modules and firmware files I see that the files differ greatly in size (~ 300 kb vs my new 34 kb). I tried to load the module but the sound still don't work.
I tried to install 4.2.2 verion and the sound works but not wifi and ther performance is not as great as 4.4.2 so I'm back on 4.4.2.
It feels a bit frustrating when almost everything works perfect except sound.
Can i modprobe/lsmod the modules if I find the right one's or do I have to compile the kernel from scratch (if there is any sourcecode)....?
Help would be appreciated!
Thanks in advance

Related

[MOD] Increase Video recording quality, NEED HELP ANY JAVA DEV

I need help for porting libs and editing some values, most probably a java developer needed if anybody wants to help just shoot me a PM, only serious PM. I have found all the dependencies for video encoding, now only if someone could help me edit it
UPDATE- Just found out the omcvideoenc on nexus is properietry so we have to reverse engineer it for enabling different codecs, i am seeing if they have a source for it on android.git.kernel.org but till now no good and moto droid has that file open source so there are possibilities it could be open source but the file is in properitery libs for nexus one
I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOUR PHONE
Only for cyanogenmod. No desire cam.
This is to increase video recording quality
Normal Camera (upto 27FPS)
adb push build.prop /system/build.prop
adb push Camera.apk /system/app/Camera.apk
Overclocked Camera (overclocked 8mhz) (UPTO 30 FPS)
adb push build.prop /system/build.prop
adb push Camera.apk /system/app/Camera.apk
fastboot flash boot boot.img
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
Links
Normal Camera (upto 27 FPS)
http://www.megaupload.com/?d=NCCLKRZB
Overclocked Camera (upto 30 fps) (overclocked to 8 mhz). Can be dangerous and unstable. Revert back if u find any problems
http://www.megaupload.com/?d=GFWTQ4DU
Latest FIX, camera was the problem, i uploaded the wrong camera.apk
http://www.megaupload.com/?d=UZCSHGEC
For those looking for a sample, 28fps video recorded. No placebo.
http://www.megaupload.com/?d=QXXUVZZ0
I tried increasing audio quality but libs are not there, if anybody can help just pm me or reply me on twitter
Thanks to
Cyanogen for the source of CM MOD
coolbho3000 for the camera OC
www.github.com/charansingh
have to update the source yet, will do it sometime today
Will come
Overclocked CPU version of the Camera overclock
Undervolted CPU version of the Camera overclock
Reserved for future use
first thank you very much for your work, this sounds really interesting.
I tried out the normal camera mod, I don't wanna try out the overclocked because it overrides my kernel.
Unfortunately i get a force close as soon as i switch to video mode in camera...
I hope you can get that fixed sometime
Fix uploaded
Thanks! Working fine now.
I get an FC right away ...
I was previously running the Desire camera.
can't push in system. given me error of read-only files.
Help
alijavaid said:
can't push in system. given me error of read-only files.
Help
Click to expand...
Click to collapse
did you do "adb remount"?
thanks... i forget to do that....
its working fin9
It's working nice. It's better to put the good camera.apk in the packages, so people won't get confused.
Stupid question: what's the difference between your mod running on an overclocked the cpu and the overclocked version of your mod?
Apart from that, thank you very much for all your efforts
If you could propose an update.zip version of your mod, it would be even easier to install it!
venezia64 said:
Stupid question: what's the difference between your mod running on an overclocked the cpu and the overclocked version of your mod?
Apart from that, thank you very much for all your efforts
If you could propose an update.zip version of your mod, it would be even easier to install it!
Click to expand...
Click to collapse
This mod overclocks the camera not the CPU.
Very promising! My only qualm with the nexus one's camera was it's low fps.
but.. I get this error:
unable to save to sd card due to insufficient file permissions
It's probably something wrong on my end, but my HTC.launcher.apk also crashes when I load the camera/camcorder. Is this for only for cyan's?
Will it work with the desire camera(the one which is ported for nexus one)?
Thanks for this. Installed the non-oc (didn't want to replace my kernel). Works well. What do you mean specifically by "better quality". Not around a computer to compare the new with the old.
for the normal camera (27 fps) i cannot copy the file from my sd card to my PC (Windows 7) also the file won't open in any media player ive tried on the computer.
Re: [MOD] Increase Video recording quality [FIX FC]
with the updated apk. do i need to redo the fastboot step? (overclock version)
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
no need to again fastboot,
Everybody please post your results
Normal 27FPS - Running on IntersectRavens newest BFS 800mhz kernel.
Crashes when I load up the camcorder. Camera works fine (though the time it takes to write the image to the SD card seems to have increased..)
Pastebin is from the time I clicked the Camera button to after the FC. (includes launching camera and switching to Camcorder).
http://pastebin.com/pEhmEXZ8
Nedlinin said:
Normal 27FPS - Running on IntersectRavens newest BFS 800mhz kernel.
Crashes when I load up the camcorder. Camera works fine (though the time it takes to write the image to the SD card seems to have increased..)
Pastebin is from the time I clicked the Camera button to after the FC. (includes launching camera and switching to Camcorder).
http://pastebin.com/pEhmEXZ8
Click to expand...
Click to collapse
just push the new camera.apk, i didnt get a chance to update them so that is a fix for now

Ubuntu 11.10 on tegra2 device: Toshiba AC100

https://wiki.ubuntu.com/ARM/TEGRA/AC100
"Adobe Flash
Dropping this library into ~/.mozilla/plugins allows flash playback. It warns though that it is out of date. http://kotelett.no/ac100/phh/Android2.2/libflashplayer.so"
Sounds great! =)
I did put this new Ubuntu Image on my AC100, however some things don't work:
* ppa ac100 produces error 404, package ac100-settings isn't found
* high background load, virtually unusable
* no shortcuts (old Imgae did support)
* no suspend (crashes), no sound yet
* did not get flash to work with above plugin
Anyone ha dmore success?
The flash plugin (even only playback) of this Ubuntu doesn't work for my Linux
Ubuntu 11.10 x Folio100?
Hi,
On http://cdimage.ubuntu.com/releases/oneiric/beta-2/ there is a "Preinstalled desktop filesystem archive" for Toshiba AC100. Is it possible to use drivers used in http://forum.xda-developers.com/showthread.php?t=907960 to prepare a version for Folio 100?
Thanks.
semonma said:
The flash plugin (even only playback) of this Ubuntu doesn't work for my Linux
Click to expand...
Click to collapse
I found a solution, now I have flash in Chromium. Doesn't work in Firefox (probably because I am running Version 7).
Instructions:
put the libflashplayer.so in the Chromium plugin directory (/usr/lib/chromium-browser/plugins), easiest way is by wget command:
sudo wget -O /usr/lib/chromium-browser/plugins/libflashplayer.so http://kotelett.no/ac100/phh/Android2.2/libflashplayer.so
install nvidea-tegra package
as it is not in the Oneiric repository yet I pulled this .deb and installed it via gdebi:
http://ppa.launchpad.net/ac100/ppa/...dia-tegra_12-0ubuntu1~alpha1monson6_armel.deb
I have no idea whether this is correct or latest, but it works to some extend.
Run chromium with
chromium-browser --allow-outdated-plugins
otherwise you get warning
360p Youtube runs smooth but when fullscreen has some slight lags, above resolutions do stutter.
Edit:
Here are some .deb packages of the main developer that seem to be newer. Did not test that. See the Readme: http://people.debian.org/~jak/ac100/README
Edit2:
With Beta 2 image and newest kernel (2.6.38-1000-ac100) the AC100 got quite usable now, sound via headphone works and performance bugs are largely reduced. Still some deadlocks by mmcd. Switching from ext4 to nilfs2 might yield some performance gain? And Debian hf, utilizing the Tegra FPU, also sounds promising.
Thank's a lot pibach, I'll try it this night =)
Brief update:
I added the developer ppa in sources list:
deb http://people.debian.org/~jak/ac100/ unreleased main non-free
and installed the package: xserver-xorg-video-tegra
it pulls in the package tegra-libraries
However I don't see any difference in video performace
nvidia-tegra package is not in there, package is stil unchanged
sudo apt-show-versions nvidia-tegra
nvidia-tegra 12-0ubuntu1~alpha1monson6 installed: No available version in archive
It is from this ppa: https://launchpad.net/~ac100/+archive/ppa
Seemingly this is for natty, does not seamlessly work with oneiric (Error 404 when added to sources.list as ):
"Changelog
nvidia-graphics-drivers-tegra (12-0ubuntu1~alpha1monson6) natty; urgency=low
* sigh, and build for the right release, oneiric doesnt work yet ...
-- Oliver Grawert <email address hidden> Tue, 05 Jul 2011 17:55:42 +0200"
However, it does work. Strange.
When I remove that nvidia-tegra package, I get some screen artefacts. Video then plays but very slow
Moreover, I can't find any xorg.conf file to set bit depth to 16 as mentioned in the Unbuntu Wiki.
So any chance to get better video (>360p) and maybe some HTML rendering boost?
Another hint: I got problems with Unity, Dash, Software Center bugging the CPU into performance problems, seems to be some memory lock with mmcd. Chromium 13 is also a lot faster, especially scrolling speed, than firefox 7 (both on smooth scrolling). But also runs into memory / CPU overload. Switching to lubuntu made all much snappier. It requires just 1 command:
sudo apt-get install lubuntu-desktop
and reboot into that one.
Maximus serves to undecorate the maximized windows -> more screen space
pibach said:
Moreover, I can't find any xorg.conf file to set bit depth to 16 as mentioned in the Unbuntu Wiki.
Click to expand...
Click to collapse
Thats probably because linux uses udev and dbus these days to detect your hardware on the fly when you start x.
Sent from my Folio 100 using xda premium
shidima_101 said:
Thats probably because linux uses udev and dbus these days to detect your hardware on the fly when you start x.
Click to expand...
Click to collapse
Yes, you're right. But that how it is described in the official ubuntu Wikipage. Strange. I have no glue how to do that nvidia tegra configuration.
When I launch Chromium-browser from terminal I get a lot of these errors:
ERROR:gl_surface_glx.cc(121)] glxQueryVersion failed
ERROR:gl_surface_linux.cc(73)] GLSurfaceGLX::InitializeOneOff failed.
So seemingly GLX Tegra hardware acceleration is not right.
BTW, the people at Arch Linux have more recent kernel and are on the status that suspend is working fine. Plus zram support there to come. See this thread. Don't know to what extend this will make the device snappier. Mine runs already quite snappy under LXDE.
I think with Linux on it the AC100 it is currently one of the best devices around. And you can get it quite cheap.
Edit:
On boot I usually get the error: unity support test closed unexpectedly
Probably something with GLX
Tegra shouldn't have any problems running Unity or Compiz.
Anybody got this to work propperly?
Edit2:
Launching Chromium in terminal:
chromium-browser --allow-outdated-plugins --use-gl=egl --ignore-gpu-blacklist
I get:
libEGL warning: GLX/DRI2 is not supported
To give you a brief status update:
I got suspend/resume to work
Flash works now in Firefox 7.0.1 (was already working in Chrome)
There seem to be a lot of work put into Ubuntu Oneiric and it's ARM version currently and it seems to be quite stable now.
On Folio100?
Is it usable on Folio 100?
The difference is only thouchscreen and Linux was already working (http://forum.xda-developers.com/showthread.php?t=907960).
Thanks.
gipposat said:
Is it usable on Folio 100?
The difference is only thouchscreen and Linux was already working (http://forum.xda-developers.com/showthread.php?t=907960).
Thanks.
Click to expand...
Click to collapse
but also Sound, Keyboard, NvEc, USB all might be slightly different. Isn't it?
pibach said:
but also Sound, Keyboard, NvEc, USB all might be slightly different. Isn't it?
Click to expand...
Click to collapse
No, I think everything is the same.
Bye
So, has anyone already tried it on Folio?
OK, I've given it a try and the boot image doesn't work, it definitely needs some porting.
hello pibach, thank you for your time testing stuff so we can make it work at the first time.
i installed drivers to make it work with flash, and its nice but sometimes i get a bug (probably due to graphic drivers making the screen get alot of artifacts, and only solution is a reboot, still a proble,m, probably due to alpha stage driver (nvidia could put something out that works decently....)
also, you say this version uses ext4? that should get it a lower performance comparing to nilfs (which i was using with phh's version) maybe disabling the journal? dont really know, will look into it.
how about changing the governor to performance instead of demand?
also...what about an SD card install? with a class 10 card should be fast? any info? worth buying a card to do it?
@Oinquer:
a) I got artifacts too, but only on Unity. I am on LXDE now and that works fine. Don't know why though.
b) I think you can choose ext4 or nilfs2 as you like. Can you point me to some links regarding performance comparisons and some more background info? I would give it a try then.
c) governor can be changed, sure.
d) the android bootloader cannot load from SD. But there might be some solution to do so, don't know. Meanwhile it should be no problem to have dual boot from internal MMC, for example Linux from partition 6 and android from partition 5 (SOS).
hello,
back to you, im using lxde now and installing the driver, hope artifacts go away.
EXT4 as far as i know has some benefits and some disavantages over ext3 and some other filesystems (checked yesterday after post), so performance might not change enough to notice.
governor , did it yesterday to performance, have to check flash playback now, but im not seeing big change except in boot time, that seems a few seconds less.
SD card, last version from phh's could be installed in SD card...and ubuntu wiki from AC100 says that if theres a blank SD card in slot at installation it will ask if you want to install there...im pretty sure its possible, but my sd card is in the trash bin, and cant buy one now...
here im hoping for the FPU stuff for the ac100...its getting there!!! quite usable, theres also a fix to have sound from internal speakers in ac100DOTgrandouDOTnet
will try it after i got everything sorted.
thank you for taking your time.
Sound is working in Ubuntu Oneiric Kernel that is in the proposed repository, works for me, but sound does not wake up after suspend yet.
SD card/USB boot does not work with Androib bootloader that is also used for Ubuntu Oneiric standard install. So you need to find one that can support that. Ccurrently there isn't any solution for that around, AFAIK. But you can put Linux on partition 6 and Android on Partition 5 and uses Android 2.1 bootloader.

[Q] Allwinner A13 Q88 tablet driver issue

Hi I've been looking over the forums on information about this but i cannot find out how to add drivers to a ROM
i don't have a backup of the stock ROM, however i have a ROM in which everything apart from WiFi works ( 5 point touch screen, all hardware buttons, sound, screen)
this Q88 ROM is downloaded from http://lctrading.hk/download/Q88/
i tried the cyanogenmod ROM from ANONFBI
http://forum.xda-developers.com/showthread.php?t=2343531
and nothing works apart from the wifi driver no touch, no volume buttons
i would like to extract the drivers from the q88 rom and add them to the cyanogenmod rom.
ive never been able to get the camera working its the single front camera it doesnt bother me its not very good
i tried this thread http://forum.xda-developers.com/showthread.php?t=2189569
however when i load a driver the ported PORTED JB-4.1.1 rom doesnt boot up
i see it has camera drivers but i dont know how to install them
i have attached a LSMOD from the q88 rom
thanks for your help
the g sensor works aswell on the q88 rom
thanks
help
can any one tell me how to find out what driver does what from the LSMOD picture
if i find them
can i just add the driver to C:\Users\user\Desktop\update\system\lib\modules in the cyanongen rom
then change init.d touchscreen file C:\Users\user\Desktop\update\system\etc\init.d/07touchscreen
to the drivers added so that they load?
does each item (touchscreen, hardwarebuttons, camera etc etc) have 1 driver or do they all have multiple?
markjamieson2005 said:
can any one tell me how to find out what driver does what from the LSMOD picture
if i find them
can i just add the driver to C:\Users\user\Desktop\update\system\lib\modules in the cyanongen rom
then change init.d touchscreen file C:\Users\user\Desktop\update\system\etc\init.d/07touchscreen
to the drivers added so that they load?
does each item (touchscreen, hardwarebuttons, camera etc etc) have 1 driver or do they all have multiple?
Click to expand...
Click to collapse
hi as far as i know there is no way to find out what driver is for what piece of hardware... although normally you can just make educated guesses from experience by looking at the lsmod screenshot from your first post your touchscreen driver is mxc622x BUT if your ts currently does not work then this is the wrongly loaded driver and you need to change this to get the ts working (trial an error)... and as for doing what you describe above i am not sure this will work although i have never tried your method using init.d??
have a read through my other thread an you will see how i do it >>> http://forum.xda-developers.com/showthread.php?t=2189569
managed to get cyangen working with the touchscreen, was a total nightmare installed wrong cwm n could not mount storage, managed to install correct one after i found out how many partitions i had, after i got cyanogenmod loaded without touch screen then ext-sd got corrupt and wouldnt mount so i had to wait for a card reader to format it, after i got everything working that i needed the internal sd went corrupt, i had to mount it using CMW then full format it.
ive got fpse workin great, its overclocked 1200mhz normal use but 1100mhz with fpse, i also use a app called touch screen digitizer booster which works great aswell, its a great tablet for £45 considering i only use it for fpse, my only problem is cant charge while using otg, might try a few bluetooth dongles
the voluume buttons and camera dont work but i never use them
cheers

Need some help with C12R1

Please need some help with C12R1. I have this:Telechips TCC8803, 2Din Car Media Center Running Android 4.0.4 ICS
2 Din Car DVD Stereo GPS+ CD Player +MP3 +Bluetooth +Ipod +WiFi+ 3G+7 inch Android 4.0 Tablet Car PC Media
Android: ICS 4.0.4 rooted
Hardware Pad
CPU:Telechips TCC8803,1.0GHz; Cortex-A8 Kernel, 45nm processing.
RAM: DDR III 512M
ROM FLASH:4GB
Power IC:TDA 7388/LA47002/TA2929/TA2939
Extended memory card:Up to 32GB SD/TF card
WiFi:Bulit-in High performance, low power consumption, Atheros 6302 WiFi802.11b/g/n.
3G:3G Universal Drive ---Support extral USB Dongle:WCDMA,EVDO,TD-SCDMA GPS,JRC G591Receiving Module
G-SENSOR:3 axis acceleration sensor and 3D IC hardware acceleration,could realize dynamic 3D game and 3D interface.
CAMERA: support 0.3-2 Megapixels rear camera
Speaker:built-in speaker,1pc 1W,8Ohm
Micphone:built-in, high sensitivity input, right&left channel
Indicator light:built-in red charging indicator light,built-in vibration motor
Hardware CarAudio System
Operation System DVD platform
CPU:Toshiba TMP86FS49UG
Display:Supplier:Innolux
LCD:7 inch 800*480 HD, TFT digital screen, Resistive touch screen.
MODEL Nr: C12R1 (crane)
Baseband version: 1.4rc2
Kernel version: 3.0.8 [email protected] - 102 # 447
Build number: crane_C12R1-eng4.0.4 IMM76D 20131114 test-keys
took it from this thread: http://forum.xda-developers.com/showthread.php?t=2572265
My problem is I've accidentialy deleted my /system/app/* and /data/app* files trying to free some space / I wanted to copy it on extsd card with X-plore app but it didn't work out for me I've copied the files above the number of the sdcard and they're gone / don't do this it's dangerous, and I've lost all of them. And my tablet started with the errors and stuff and I wanted to throw it off the window, than I settled down for a bit.And before a week or so I've started looking for 4.0.4 roms compatitable system apps for my rom, I've tried maybe 40 roms by now /I download the rom / extract the /system/app, and /data/app folder and try to run the tablet, but it didn't work out. I managed to run it with modacocustomrom reading one of xda threads but it started throwing exceptions. Then I've started deleting one by one system apps and I've come to the conclusion that the system could run only with 3 apk's - launcher, settings and settings storage. It started but it is not the same and I've lost all my preffs and stuff.
Please if someone have C12R1 send me /system/app/ and /data/app files. for 4.0.4 android
Appreciate it. Thanks in advance.
And could you tell me how to unpack this rom (WooComet-MiOptimusOne.com -ICS_4.0.4- F1中性-20120920.1.0.3-A721_V4.2.img) from this thread - http://forum.xda-developers.com/showthread.php?t=1925577 without the device connected to pc and this program: LiveSuit.exe. I've tryed with dd in linux on flash and with mounting img in linux but it coudn't work out why?
I've tried to unpack the img with ext4 unpacker and ext2 explorer too but it couldn't work out.
please help!
Ok guys I managed to do this, I've made the last step /flashing the rom (I wanted just to copy the system files in internal memory in /system/app and /data/app but couldn't find it anywhere), I did'nt wanted to do it this way but I've done it cause it wasn't anything else left to try after long sleepless nights
I've installed a new stock rom sun4i_crane_t02a.img and android launched but now I have another significant problem - I dont have a proper driver and my touch screen does not work.
And my android's usb debugging is not with turned on and I cant use adb or so....
Any ideas?
Please if someone have this touch screen drivers or stock or other rom that works on this device please send it to me!
This is the exact device:
http://www.aliexpress.com/item/2-Di...92768377.html&cv=11032041&af=cj_6149808&vd=30
but I cant find roms anywhere for it
Hi Razer69
I see you still have problems with your device.
Well before i wend on a Rom hunt i have managed to install CWM recovery on mine and make a backup of the stock rom, in order to test various roms, and if they do not work i restore the stock.
If you want i can create a link for you so you can download it and install it. Bare in mind though i have made some mods prior to the stock rom so it worked a bit better that when it arrived.
Did also find a link for your issue with the touch screen ----> http://www.pandawillforum.com/archive/index.php?t-12129.html
Cheers
G
Could you share how did you managed to install custom rom - clockworks - CWM because that is my problem now.
I can't install the rom because I've flashed my device - all partitions - kernel, recovery, rom - with LiveSuite and .img file but eventually
I found out this rom is not for my device - the rom I've installed is C12 not C12r1, and I'm still looking for C12r1.
Thank you for your answer
I've come to the conclusion I'ts wrong rom that's why the touch screen is not working.
This guys are writing the same here:
http://www.pandawillforum.com/archive/index.php?t-12129.html
"sun4i_crane_t02a.img is not work with FT5306DE4 Chipset,is wrong point of touch screen"
Today I'll try their methods
thanks

Audio playback issues - AboxA1

I have an Abox S905x box. I am working on a customized rom with kodi krypton. The only rom i have found that installs on this box is a nexbox a95x 8189x firmware. I have also installed TWRP 3.1.1-0. I modified the firmware with my uboot, ddr img and a generic logo partition from an MXQ firmware. I have only done level 1 mod to firmware because anything else either breaks the firmware or crashed the customization tool. so i started removing all the bloat from the rom with system app remover and removed all the remenants of the TVMC(kodi) and blacklist addons.
Now i have a clean(er) rom and install base kodi 17.6 and everything is great exept I cant get any DTS audio to work. DolbyD-HD works fine.
I have also a working Libreelec sd boot that work well, but i need access to android occasionally.
The thing is the libreelec install plays all passthrough audio including DTS-ma just fine. (it has a list to select what my reciever is capable of)
The android kodi install only has DD and DTS passthrough options, both are on but DTS passthrough fails (only silence)
I have also tried a ****ty build and a "notsoshittybuild" but both show the same
One thing i have noticed is in Libreeelc under audio i have a device listed as ALSA:AML M8AUDIO, HDMI
in android kodi i just see aml audio device. In both cases they are grey with no other selection and the box is always connected with SPDIF.
Can anyone shed light on my problem and suggest a corrective action?
Is it a kodi problem or a driver problem. I thought about the dtd.img in libreelec. Is the rom I am used perhaps not fully compatible?
any help is appreciated, thanks

Categories

Resources