Maybe we will get the kernel sound source - LG Optimus 2x

Hi
I really want Voodoo Sound for the Optimus 2X, but without the kernel sound source it's not possible, Supercurio did contact LG USA but I don't know if he got any answer, so I contacted LG Sweden yesterday and got answers today (they are very quick to answer, thumbs up)
I just told them I need the kernel sound source and explained about Voodoo Sound and so on, quite long message, anyway, the first answer was this:
"We will not release our internal source of sound kernel and is it that you get hold of it, it's nothing that we have officially released and that means then that if you start experimenting with the source code to the warranty on your phone can be broken."
Then I replied that there was no risks with releasing the kernel sound source, it's just great if we can get it and the phones sound will greatly improve with Voodoo Sound and it's not amateurs that is doing this, it's pro people that know what they are doing, and that a lot of Optimus 2X users would be very happy if we get Voodoo Sound.
Then I got a reply from another guy that said this:
"I've put your request on internally at LG and we'll see what the Korean says, I am linking back to you when I received a reply, you may feel free to reply to this email as I have you in my inbox."
I replied: Thanks for the reply, very appreciated, you have no idea how happy Optimus 2X owners will be if LG Korea would release the sound source and not tell us that there is risks with it hehe, there is absolutely no risk with it as I said (otherwise I would not contacted you from the start), everything is just positive and I hope you are doing everything possible to persuade LG Korea to release the sound kernel, like I said the many would be very happy with Voodoo Sound, with the Voodoo Sound it's like night and day
Well now we have to pray to God that the Koreans sees this like a positive thing, I think LG Sweden would have released it if they could.
edit: maybe wrong section?

Thanks [email protected] for doing this. It would be great to have Voodoo Sound on the O2X aswell, mostly since the hardware seems to be the same as in SGS or Galaxy Tab (Wolfson EM8994). Let's see what the guys in Koreea have to say about this.

albireox said:
Thanks [email protected] for doing this. It would be great to have Voodoo Sound on the O2X aswell, mostly since the hardware seems to be the same as in SGS or Galaxy Tab (Wolfson EM8994). Let's see what the guys in Koreea have to say about this.
Click to expand...
Click to collapse
isn't wm8994 part of the official linux kernel?
Sent from my GT-I9000 using XDA App

codeworkx said:
isn't wm8994 part of the official linux kernel?
Click to expand...
Click to collapse
Removed from here:
https://github.com/Cpasjuste/android_kernel_lg_p990/tree/2.6.32.9/sound/soc/codecs
and defconfig disable ALSA all the way:
https://github.com/Cpasjuste/androi.../arm/configs/star_SKT_rev_a_android_defconfig
Maybe it's not an ALSA driver but an OSS one instead like I saw on Atrix 4G?, I don't know.
lsmod output and /proc/kallsyms content would help − I don't own the device.

Is it any way the ones who own the o2x can help you? I'm offering.

supercurio said:
Removed from here:
https://github.com/Cpasjuste/android_kernel_lg_p990/tree/2.6.32.9/sound/soc/codecs
and defconfig disable ALSA all the way:
https://github.com/Cpasjuste/androi.../arm/configs/star_SKT_rev_a_android_defconfig
Maybe it's not an ALSA driver but an OSS one instead like I saw on Atrix 4G?, I don't know.
lsmod output and /proc/kallsyms content would help − I don't own the device.
Click to expand...
Click to collapse
all device related drivers are there:
https://github.com/codeworkx/android_kernel_lge_star/tree/2.6.32/drivers/star
wm8994 test driver:
https://github.com/codeworkx/android_kernel_lge_star/blob/2.6.32/drivers/star/star_wm8994.c
Correct defconfig:
https://github.com/codeworkx/androi...arch/arm/configs/star_rev_f_android_defconfig
Sent from my GT-I9000 using XDA App

albireox said:
Is it any way the ones who own the o2x can help you? I'm offering.
Click to expand...
Click to collapse
yah you can post the result of:
Code:
adb shell lsmod
and:
Code:
adb shell cat /proc/kallsyms
It will help know a little more about what/how
− PS: so far I still don't plan to buy the device, No promise either to support it in Voodoo sound

codeworkx said:
all device related drivers are there:
https://github.com/Cpasjuste/android_kernel_lg_p990/tree/2.6.32.9/drivers/star
Click to expand...
Click to collapse
Yes, there is a stub wm8994 test driver here for debugging, capable to read or write registers but that's all.
I mean, it's not a sound driver at all.

supercurio said:
yah you can post the result of:
Code:
adb shell lsmod
and:
Code:
adb shell cat /proc/kallsyms
It will help know a little more about what/how
− PS: so far I still don't plan to buy the device, No promise either to support it in Voodoo sound
Click to expand...
Click to collapse
I used CMD and got this when I typed adb shell cat /proc/kallsyms (nothing happened when I typed adb shell lsmod, maybe I did something wrong?)

[email protected] said:
I used CMD and got this when I typed adb shell cat /proc/kallsyms (nothing happened when I typed adb shell lsmod, maybe I did something wrong?)
Click to expand...
Click to collapse
Thanks.
Same for cat /proc/modules ?

supercurio said:
Thanks.
Same for cat /proc/modules ?
Click to expand...
Click to collapse
I typed adb shell cat/proc/modules it says not found

For lsmod (or /proc/modules), I only got this with wireless enabled:
Code:
wireless 214820 0 - Live 0xbf000000

gromez said:
For lsmod (or /proc/modules), I only got this with wireless enabled:
Code:
wireless 214820 0 - Live 0xbf000000
Click to expand...
Click to collapse
same here but wireless 215058 0 , just tried with wireless enabled

[email protected] said:
I typed adb shell cat/proc/modules it says not found
Click to expand...
Click to collapse
you should leave a space after cat. Just copy paste this:
Code:
adb shell cat /proc/modules

L10nH34Rt said:
you should leave a space after cat. Just copy paste this:
Code:
adb shell cat /proc/modules
Click to expand...
Click to collapse
yes tried that also, I get nothing, only when wireless is enabled

Okay so I'm really missing something, custom kernels have audio and are built from sources, but I don't see where is this audio driver source.
And the latest command output show that this is not an audio kernel module either.
Sorry guys, I just don't understand how it works ^^

supercurio said:
Okay so I'm really missing something, custom kernels have audio and are built from sources, but I don't see where is this audio driver source.
And the latest command output show that this is not an audio kernel module either.
Sorry guys, I just don't understand how it works ^^
Click to expand...
Click to collapse
ok but if the sound kernel source would be released, would it be possible to make Voodoo Sound work (let's say you have the device)

[email protected] said:
ok but if the sound kernel source would be released, would it be possible to make Voodoo Sound work (let's say you have the device)
Click to expand...
Click to collapse
Due to Voodoo sound driver design, a port should be possible.
However with what I saw from kallsyms and /proc/module, a module option like the new Voodoo Control Plus is extremely unlikely.
Some tweaks would be possible but by polling & writing stuff directly to the registers outside of the original driver, which means a poor quality implementation causing sound troubles and issues.
So, maybe the source is already here, but I don't understand how it works!

supercurio said:
Due to Voodoo sound driver design, a port should be possible.
However with what I saw from kallsyms and /proc/module, a module option like the new Voodoo Control Plus is extremely unlikely.
Some tweaks would be possible but by polling & writing stuff directly to the registers outside of the original driver, which means a poor quality implementation causing sound troubles and issues.
So, maybe the source is already here, but I don't understand how it works!
Click to expand...
Click to collapse
i'll have a look at it today and report back what i've found.
Sent from my GT-I9000 using XDA App

---------------------

Related

[PRJ][OS]Linux and Android on SE Xperia X1

This thread is here for information and discussion about the Linux kernel (and Linux based userspaces like Ångström distribution or google android.
If you have no clue what this is all about, click the above links and read a bit about it.
The xperia(kovsky) research information vital to porting the linux kernel is available at htc-linux.org
The kovsky is very similar to raphael, diamond and the other htc phones that are based on the QCT msm7xxxA chip. This is why the raphael/diamond development kernel code from the htc-linux project runs well on it.
Kovsky has its own machine type in the htc-msm-2.6.27 (see link above) branch now.
im kinda excited about this! if linux (& android) is able to run on the X1 smoothly, I'm definitely donating!
New thread = very good news.
If you need someone for testing then let me know.
I would be willing to donate as well.
Keep working hard everyone!
somehow i feel like setting up an X1 android version for it. since im more the "script" guy im rather useless for u if it comes to kernel development ^^
how stable and functional is the kernel so far?
and especialy, is the Wifi running allready?
hey decordes,
there is the question where to get the [email protected] files 0.8 and 1.0... (i have them. but dont know if i may provide these files while they are not from my self!)
a simple yes or no and they are available for the next years or not
--
cyberdesigner.net
achmed20 said:
how stable and functional is the kernel so far?
and especialy, is the Wifi running allready?
Click to expand...
Click to collapse
afaik the wifi doesnt work. only usb0 which is laggy. (but works! you could ssh to the x1 per default.)
i am a little bit bussy at the moment (have to provide some sap-python-mysql-interface for productive use.)
but if i get spare time i will take a closer look at wifi...
--
cyberdesigner.net
kk thx.
as long i can use ssh, i'm all set up i guess
time for some android theory
NSRocket said:
Ooops (forgot to strike key), yes I mean TNETW12511.
Click to expand...
Click to collapse
isnt that the same wifichip as the kaiser has?
but why is wifi needed to boot android?
Reversedhex said:
isnt that the same wifichip as the kaiser has?
but why is wifi needed to boot android?
Click to expand...
Click to collapse
I don't know many things on Kaiser device but if you read somewhere that it use a TI 1251 WLAN then... yes, it's the same.
I don't understand why do you correlate wifi and android booting
We're talking about this wifi chip just because it isn't supported in the linux-htc-kovsky package at the moment.
NSRocket said:
I don't know many things on Kaiser device but if you read somewhere that it use a TI 1251 WLAN then... yes, it's the same.
I don't understand why do you correlate wifi and android booting
We're talking about this wifi chip just because it isn't supported in the linux-htc-kovsky package at the moment.
Click to expand...
Click to collapse
i was reading a combination of things,
-wifi not working and usb0 laggy.
-log readout over usb0
so i thought maybe for the log or something, nevermind
---------------------------------------------------------
wifi not working on kaiser either so we cannot take the driver from there, but i dont think wifi has high priority...
http://www.androidonhtc.com/kaiser:port_status
NSRocket said:
I don't know many things on Kaiser device but if you read somewhere that it use a TI 1251 WLAN then... yes, it's the same.
I don't understand why do you correlate wifi and android booting
We're talking about this wifi chip just because it isn't supported in the linux-htc-kovsky package at the moment.
Click to expand...
Click to collapse
its not related. i jsut read that the USB connection was kind of laggy so once i set up a working wifi connection i can continue working with SSH over wifi. that was the only reason.
ah... ok i think this was my intention.
most of the time i am waiting for usb0 to get any response! i cant read on the display them self... so the next needed feature for _me_ was to get a stable/responsible connection (like wifi
achmed20: you got it!
--
cyberdesigner.net
Hi,
very nice project. Maybe i could help out a bit
At least i may help testing and do some hardware discoveries, because i'm not a good kernel hacker.
Anyway i'm used to digg the kernel source and all the other stuff.
There are some questions though:
Those are introduced in the git repository of Mariusz "Aiv" Dalewski. Among other changes, it has the fully working xperia keyboard.
Click to expand...
Click to collapse
Is the git already accessible?
Maybe someone could create a patch to get started more easily
afaik the wifi doesnt work. only usb0 which is laggy. (but works! you could ssh to the x1 per default.)
Click to expand...
Click to collapse
What's the exact state of USB connection right now?
Does it work on Raphael?
Concerning debugging:
Anything known about JTAG on Kovksy?
As you might know i'm addicted to this interface
Best regards,
scholbert
scholbert said:
Hi,
very nice project. Maybe i could help out a bit
At least i may help testing and do some hardware discoveries, because i'm not a good kernel hacker.
Anyway i'm used to digg the kernel source and all the other stuff.
There are some questions though:
Is the git already accessible?
Maybe someone could create a patch to get started more easily
What's the exact state of USB connection right now?
Does it work on Raphael?
Concerning debugging:
Anything known about JTAG on Kovksy?
As you might know i'm addicted to this interface
Best regards,
scholbert
Click to expand...
Click to collapse
http://www.htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_QCT_MSM7xxxA_based_devices
The aiv code is htc-msm-2.6.27 branch plus xperia changes. I think he doesn't want to make it available publicly yet. I'm waiting for it too so I can push it to linuxtogo. You can pull the htc-msm-2.6.27 either way.
usbnet is same driver as used for raphael.
drivers/usb/msm_usb
For jtag, I think you need to wire it to the board manually.
For the raphael you can get a serial connection by making a cable that plugs in the usb port. Ask dreamkill about it. I don't know if it is wired the same way in xperia.
Hope this makes sense I have horrbile hangover
http://www.phonewreck.com/wiki/index.php?title=Sony_Ericsson_XPERIA_X1
So what has to be done is get the linux drivers for al these hardware components and compile them to a kernel to make it fully working?
that probably ist going to be easy
---------------------------------------------------------
btw about wifi cant the driver from g1 be extracted?
same hardware G1/X1
-Power Management PMIC: Qualcomm PM7540
-WLAN Texas Instruments WL1251B/WL1251FE
-UMTS: 2100MHz avago ACPM-7381
-USB SMSC USB3316
Hi dcordes,
thanks for your reply.
http://www.htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_QCT_MSM7xxxA_based_devices
The aiv code is htc-msm-2.6.27 branch plus xperia changes. I think he doesn't want to make it available publicly yet. I'm waiting for it too so I can push it to linuxtogo. You can pull the htc-msm-2.6.27 either way.
Click to expand...
Click to collapse
Yeah did that already.
Unfortunately right now i got no X1 for testing. Should arive the next days i suppose
usbnet is same driver as used for raphael.
drivers/usb/msm_usb
Click to expand...
Click to collapse
O.K., i see so we will also use the config for raphael, i suppose..
For jtag, I think you need to wire it to the board manually.
Click to expand...
Click to collapse
Sure, that's essential
I just wanted to know if there's anyone apart from Sony and HTC engineers who got some info about these testpoints ?
For the raphael you can get a serial connection by making a cable that plugs in the usb port. Ask dreamkill about it. I don't know if it is wired the same way in xperia.
Click to expand...
Click to collapse
That's cool!
Hope this makes sense I have horrbile hangover
Click to expand...
Click to collapse
Does make sense to me
BTW anyone tried this patch to get WIFI support on X1?
http://linuxtogo.org/~lgorris/diffs/git-diff_htc-msm-2.6.27_add-ti1251.diff
Best regards,
scholbert
BTW anyone tried this patch to get WIFI support on X1?
http://linuxtogo.org/~lgorris/diffs/git-diff_htc-msm-2.6.27_add-ti1251.diff
Click to expand...
Click to collapse
Have to quote myself
The patch applies fine but after having a short glimpse, this one has been extracted from the SDK. No proper Kconfigs or Makefiles
So i don't think this huge patch is intended to go into kernel tree again.
AFAIK, there's also a lot of stuff for userland inside.
Insider may know more about it!
Perhaps for WIFI on the X1 it's better to start with a more clean driver.
You make have a look here:
http://osdir.com/ml/linux-wireless/2009-02/msg00390.html
I will try to integrate the patch to current 2.6.27-msm.
There's work to do of course, e.g. SDIO support and PM.
Best regards,
scholbert
I have no idea what you guys are saying.
But Android on the Xperia is f*****g awesome!
could any1 just quickly recap how close we are on a ROM with Android?
D4113R said:
I have no idea what you guys are saying.
But Android on the Xperia is f*****g awesome!
could any1 just quickly recap how close we are on a ROM with Android?
Click to expand...
Click to collapse
though i understand just a little, id like to qoute myself on this
So what has to be done is get the linux drivers for al these hardware components and compile them to a kernel to make it fully working?
that probably ist going to be easy
Click to expand...
Click to collapse
yes with htcraphael_defconfig xperia boots.
I will ask some people about 7xxxA jtag pins and let you know if I have any information.
scholbert said:
Have to quote myself
The patch applies fine but after having a short glimpse, this one has been extracted from the SDK. No proper Kconfigs or Makefiles
So i don't think this huge patch is intended to go into kernel tree again.
AFAIK, there's also a lot of stuff for userland inside.
Insider may know more about it!
Click to expand...
Click to collapse
Right, It copies some revision (see date of file upload) of the android git ti1251. It should enable you to build the kernel module.
lgorris=dcordes
scholbert said:
Perhaps for WIFI on the X1 it's better to start with a more clean driver.
You make have a look here:
http://osdir.com/ml/linux-wireless/2009-02/msg00390.html
Click to expand...
Click to collapse
It's no big secret the 10M google ti1251 driver is crap and it might really be better to use that wl12xx as soon as they have the SDIO.
scholbert said:
I will try to integrate the patch to current 2.6.27-msm.
There's work to do of course, e.g. SDIO support and PM.
Click to expand...
Click to collapse
That will be nice. Let me know when you tried.

Louder Volume Hack v3.6

Requirements: Android
Overview: The speaker itself isn’t of the highest quality but the Android Community wanted to squeeze as much as possible from it. A project then came along to improve the audio quality and volume and hence AudioHack was born.
* NO NEXUS SUPPORT EVER
v3.6
* Now includes Widgets!
* Please run app before widget
* App may require a restart
Nice idea. I installed it, tried IC2 and IC3 and neither seam to show a difference. Perhaps a more detailed guide needs to be created? Aside from your color chart, the rest is kind of foreign to me.
TheRomMistress said:
Nice idea. I installed it, tried IC2 and IC3 and neither seam to show a difference. Perhaps a more detailed guide needs to be created? Aside from your color chart, the rest is kind of foreign to me.
Click to expand...
Click to collapse
+1 - or just get Audio Booster, pull all adjusters to the right (full volume) and voila!!
matt
Not working
not working... Nothing happens
Interesting concept, care to explain a bit more about how this works (some have said they have noticed no difference) ?
100% working just flash the rom one more time and chk
cool man,I need sth like that for my subwoofer
Ill try it
Thanks, I'll be trying this out shortly.
Always wanted a louder speaker on Android. WM7 seemed louder with same mp3 as ringtone then Android.
This doesnt work for me. Any alternative??
matthew33 said:
+1 - or just get Audio Booster, pull all adjusters to the right (full volume) and voila!!
matt
Click to expand...
Click to collapse
Looked for "Audio Booster" in the Market. Nada. Does it have another name? Or should I look somewhere else?
Thanks.
-Bob-
any chance for some version for Nexus?
What a shame no nexus support :s
Does not work for me. I get an error message that tells me to restart the app, I do and i get the same message.
Working fine on SD Desire HD
I know this is posted in the HD2 section but when you say "NO NEXUS SUPPORT" are you referring to the Nexus One phone, or Nexus based builds?
sbryan12144 said:
I know this is posted in the HD2 section but when you say "NO NEXUS SUPPORT" are you referring to the Nexus One phone, or Nexus based builds?
Click to expand...
Click to collapse
They are saying Nexus builds are not supported and never will be. There must be something in those that is incompatible with this .
produces no effect on desire HD :-(
for those who have a phone with which it works, there is an update 4.1
--> http://androidaudiohacks.com/home/
Borisdm said:
100% working just flash the rom one more time and chk
Click to expand...
Click to collapse
I think that emoticon tells me that something smells fishy here.
not working on hd2 android nand
Uhm... Louder Volume Hack v3.6 is a PAID app on the market. Is this even legal to post here?
Mods?

[Q] Audio chip

Hello, could anybody please confirm, if the S3 mini has a Wolfson DAC, just like the S3 and original Galaxy S? Of course I would like to continue using Voodoo Sound (and enjoy briliant sound), if I upgrade from my current Galaxy S
I think I googled quite a lot about it, but with no results
Any help is greatly appreciated.
Hi, this is a great question, I'm interested too.
I don't know everything about this stuff, someone may know more, but I don't think it uses the Wolfson DAC, here's why; it's running on ST-Ericsson's NovaThor chipset. If you can put proprietary audio on that, then it's news to me.
GSM Arena SGS3 Mini specs: http://www.gsmarena.com/samsung_i8190_galaxy_s_iii_mini-5033.php
AW: [Q] Audio chip
I second that. I'm very interested in getting sound as loud as on Galaxy S1.
Send with GT-I8190
soo, no one can confirm if it has a wolfson dac? its been a while now since the device is on this world,has anyone more expert check this out?
the net search doesnt give any conclusive results,so i highly doubt that is has Wolfson dac,but hopes die last
funkyboj said:
soo, no one can confirm if it has a wolfson dac? its been a while now since the device is on this world,has anyone more expert check this out?
the net search doesnt give any conclusive results,so i highly doubt that is has Wolfson dac,but hopes die last
Click to expand...
Click to collapse
Ask guys who sell OEM parts.
There are couple of them on the Internet
Sent from my GT-I8190 using xda app-developers app
Maybe some will insert output from terminal of list of devices (I forgot exact command) from i8190 here?
can't believe this, hasn't still found out which audio DAC s3 mini uses???
it's likely STE made, as per http://www.stericsson.com/developers/CD00291561_UM1031_AB8500_user_manual-rev5_CTDS_public.pdf and the fact that /proc/asound/pcm contains the entries for ab8500 for playback and capture as well as a dummy device.
metalboy94 said:
it's likely STE made, as per http://www.stericsson.com/developers/CD00291561_UM1031_AB8500_user_manual-rev5_CTDS_public.pdf and the fact that /proc/asound/pcm contains the entries for ab8500 for playback and capture as well as a dummy device.
Click to expand...
Click to collapse
thx! finally this must be the answer. i assume that the chip won't be hacked like wolfson dac...
DocMAX said:
thx! finally this must be the answer. i assume that the chip won't be hacked like wolfson dac...
Click to expand...
Click to collapse
Yes, I'm fairly sure it won't be. However you can always use more advanced EQs like the one in PlayerPro or, for volume changes, any ALSA related app (YMMV).
metalboy94 said:
Yes, I'm fairly sure it won't be. However you can always use more advanced EQs like the one in PlayerPro or, for volume changes, any ALSA related app (YMMV).
Click to expand...
Click to collapse
just asked supercurio from voodoosound, if he can do anything about it...
I would really like to know too, as I'm going to buy one. Pleeease, let me know!
(At least tell us how it sounds in your opinion, if you know what you're saying.)
any news on this?
Bumping this thread because interested too.

[BOUNTY MET] frandom.ko compiled!!!!

Look I know $20 isn't much but I will donate to the first individual that can compile a frandom.ko module for this phone. Send me a PM.
The source for the module is here.
Thanks
UPDATE: shabbypenguin has compiled his stock/rooted Kernel with a frandom module. It's running butter smooth!
You can download the Kernel here
and crossbreeder here
don't thank me...thank him!! :cyclops:
Hmmm...maybe it'll help to explain what the frandom module accomplishes? frandom will allow you to use crossbreeder to it's full potential. Reducing lag by orders of magnitude over the regular RNG (random number generator). please take a trip over to the crossbreeder thread here for more info.
Not that our phones don't handle lag well. They do. But every little bit helps.
I am possibly mistaken but could you download the seeder app and it do the same thing?
jspsuperman said:
I am possibly mistaken but could you download the seeder app and it do the same thing?
Click to expand...
Click to collapse
NOOOOOOOOOOOOOOO! Seeder uses an entirely different approach to RNG. Also please see the comparison between the regular RNG vs Frandom. It's literally orders of magnitude better. check this out.
rawintellect said:
NOOOOOOOOOOOOOOO! Seeder uses an entirely different approach to RNG. Also please see the comparison between the regular RNG vs Frandom. It's literally orders of magnitude better. check this out.
Click to expand...
Click to collapse
ok so... you shave about half a second off in one test against urandom. unless im mistaken urandom and frandom still only would be used when loading SSL certificates etc? as in where that half a second would not be needed/noticed
shabbypenguin said:
ok so... you shave about half a second off in one test against urandom. unless im mistaken urandom and frandom still only would be used when loading SSL certificates etc? as in where that half a second would not be needed/noticed
Click to expand...
Click to collapse
Incorrect sir. Frandom does not limit itself to just SSL. all of this has been asked and answered in that thread. But hey I'm not pushing anyone to use it. I've used it in the past and simply wish to continue to use it on this phone.
Sent from the rabbit hole.
rawintellect said:
Incorrect sir. Frandom does not limit itself to just SSL. all of this has been asked and answered in that thread. But hey I'm not pushing anyone to use it. I've used it in the past and simply wish to continue to use it on this phone.
Sent from the rabbit hole.
Click to expand...
Click to collapse
im actually trying to understand, as last i knew the urandom stuff that seeder all brought up was dismissed by many people and it was all considered placebo.
the only thing i can find in that thread is that it boosted your entropy values. as well as that to see the improvements you should run the lag test app, but dont expect any kind of results because there is no proof that boosting entropy values improved performance in that test.
so im truly lost on what exactly it does, if i knew and it was worthwhile then id look into trying to make it for us.
shabbypenguin said:
im actually trying to understand, as last i knew the urandom stuff that seeder all brought up was dismissed by many people and it was all considered placebo.
the only thing i can find in that thread is that it boosted your entropy values. as well as that to see the improvements you should run the lag test app, but dont expect any kind of results because there is no proof that boosting entropy values improved performance in that test.
so im truly lost on what exactly it does, if i knew and it was worthwhile then id look into trying to make it for us.
Click to expand...
Click to collapse
When I get home I'll find the SSL answer. I've been using this for about a year and I can tell you crossbreeder isn't placebo. Reach out to the dev in that thread. I'm sure he can be far more technical than me. Making the module is pretty straightforward or so I'm told. You just edit the makefile and compile against the source. After you pull the config from our phone. Hell I freely admit I can't do it. Hence the impetus for this thread. I will say this I am using crossbreeder already with urandom and I'm scoring 13100 + in quadrant. I'd love to see what it does with frandom.
Sent from the rabbit hole.
rawintellect said:
When I get home I'll find the SSL answer. I've been using this for about a year and I can tell you crossbreeder isn't placebo. Reach out to the dev in that thread. I'm sure he can be far more technical than me. Making the module is pretty straightforward or so I'm told. You just edit the makefile and compile against the source. After you pull the config from our phone. Hell I freely admit I can't do it. Hence the impetus for this thread. I will say this I am using crossbreeder already with urandom and I'm scoring 13100 + in quadrant. I'd love to see what it does with frandom.
Sent from the rabbit hole.
Click to expand...
Click to collapse
yea im familiar with compiling modules. im just not seeing what this brings to the table, the "test" script to show how much faster frandom is isnt a fair test
# We don't want the test to take too long on slow computers, and it's
# meaningless if it goes to fast. Solution: Use bogomips as an
# indication of how fast or slow the computer is.
bogomips=`grep -i bogomips /proc/cpuinfo`;
bogomips=${bogomips##*:}; # Remove everything before ":"
bogomips=${bogomips%%.*}; # Remove anything after "."
urandomkbytes=$((bogomips*5));
frandomkbytes=$((bogomips*50));
failed=0
echo "Running tests... This may take up to a minute"
(
echo -e "Results of frandom vs. urandom test:"
echo -e "====================================\n"
date
echo -e "\nurandom created $urandomkbytes kBytes of data"
echo -e "frandom created $frandomkbytes kBytes of data\n"
echo -e "Note that frandom did 10 times as much data!\n"
echo -e "head --bytes=${frandomkbytes}k /dev/frandom > /dev/null"
time head --bytes=${frandomkbytes}k /dev/frandom > /dev/null
echo -e "\nhead --bytes=${urandomkbytes}k /dev/urandom > /dev/null"
time head --bytes=${urandomkbytes}k /dev/urandom > /dev/null
Click to expand...
Click to collapse
http://pastebin.com/5273qmdq full test.sh script
i dont understand why frandom is getting a different number to test with right before the tests. ill grab source and try making it work for mdl, however i think this is going to be about as useful as a second power button
shabbypenguin said:
yea im familiar with compiling modules. im just not seeing what this brings to the table, the "test" script to show how much faster frandom is isnt a fair test
http://pastebin.com/5273qmdq full test.sh script
i dont understand why frandom is getting a different number to test with right before the tests. ill grab source and try making it work for mdl, however i think this is going to be about as useful as a second power button
Click to expand...
Click to collapse
Haha well as I stated in the OP you sir will get a donation and my gratitude!
Sent from the rabbit hole.
Here is the FAQ from the developer of frandom. He quotes:
"How is random data generated?
frandom is based on the RC4 encryption algorithm, which is considered secure, and is used by several applications, including SSL. Let's start with how RC4 works: It takes a key, and generates a stream of pseudo-random bytes. The actual encryption is a XOR operation between this stream of bytes and the cleartext data stream.
Now to frandom: Every time /dev/frandom is opened, a distinct pseudo-random stream is initialized by using a 2048-bit key, which is picked by doing something equivalent to reading the key from /dev/urandom. The pseudo-random stream is what you read from /dev/frandom.
frandom is merely RC4 with a random key, just without the XOR in the end."
I'm sure there's more out there but I haven't had to research this stuff in a year or more.
PS any chance of making a linaro compatible kernel?
PSS here are screenies of my phone using crossbreeder with just plain ol urandom. Once I get the module I'll just insmod it. I know how to do that at least
rawintellect said:
Here is the FAQ from the developer of frandom. He quotes:
"How is random data generated?
frandom is based on the RC4 encryption algorithm, which is considered secure, and is used by several applications, including SSL. Let's start with how RC4 works: It takes a key, and generates a stream of pseudo-random bytes. The actual encryption is a XOR operation between this stream of bytes and the cleartext data stream.
Now to frandom: Every time /dev/frandom is opened, a distinct pseudo-random stream is initialized by using a 2048-bit key, which is picked by doing something equivalent to reading the key from /dev/urandom. The pseudo-random stream is what you read from /dev/frandom.
frandom is merely RC4 with a random key, just without the XOR in the end."
I'm sure there's more out there but I haven't had to research this stuff in a year or more.
PS any chance of making a linaro compatible kernel?
Click to expand...
Click to collapse
many experienced kernel devs have done a lot of research to prove that using diff toolchain has almost no impact, in fact most of the time its purely the optimzations they use that bring about speed improvements. i dont plan on doing a big full kernel and switching toolchains is a bit of work with not a lot of payoff.
and i dont doubt the use for random data on actual linux, but i cant imagine a lot of android apps actually patch into /dev/*random
shabbypenguin said:
many experienced kernel devs have done a lot of research to prove that using diff toolchain has almost no impact, in fact most of the time its purely the optimzations they use that bring about speed improvements. i dont plan on doing a big full kernel and switching toolchains is a bit of work with not a lot of payoff.
and i dont doubt the use for random data on actual linux, but i cant imagine a lot of android apps actually patch into /dev/*random
Click to expand...
Click to collapse
Ah well I didn't mean you per se. At this point all I want is for someone to compile frandom.ko for me
Sent from the rabbit hole.
Also if you want some more info try talking to Ktoonsez. I just read he implemented frandom on one of his kernels. I by no means possess dev level info on frandom.
Sent from the rabbit hole.
i have it compiled and trying to launch it, but it seems i keep getting blocked.
seems this selinux crap is going to piss us off even further :/
shabbypenguin said:
i have it compiled and trying to launch it, but it seems i keep getting blocked.
seems this selinux crap is going to piss us off even further :/
Click to expand...
Click to collapse
mind tossing me the link? I'll give it a shot and toss you a donation sir...and you have my thanks !
rawintellect said:
mind tossing me the link? I'll give it a shot and toss you a donation sir...and you have my thanks !
Click to expand...
Click to collapse
https://dl.dropboxusercontent.com/u/10162842/frandom.ko
no donation though. the file isnt working. at least not for me on stock rooted mdc... i should see if i have any luck on cm :/
shabbypenguin said:
https://dl.dropboxusercontent.com/u/10162842/frandom.ko
no donation though. the file isnt working. at least not for me on stock rooted mdc... i should see if i have any luck on cm :/
Click to expand...
Click to collapse
hmmm it failed on me as well. maybe if I uninstall SEAndroid?
rawintellect said:
hmmm it failed on me as well. maybe if I uninstall SEAndroid?
Click to expand...
Click to collapse
possible? im trying a backup and see if it works on cm currently
shabbypenguin said:
possible? im trying a backup and see if it works on cm currently
Click to expand...
Click to collapse
Got it working on your shabby beta kernel. Hmmm maybe use the MDL source to get it working on current kernels? in any case I'm happy!!
The reason for the failure is my previous insmod was for an MDL kernel I had on. Once I switched to your beta.002 (thank god I never throw out anything) kernel it works like a charm.
So for now I'm running a MDL rom and an MDC kernel...kinda funky...but I'll live with it until we can get one compiled for MDL. lol donation inbound!
donated!
Confirmation number: 4Y8663147883xxxxx. An email with your donation details has been sent to [email protected] and you can print your donation receipt.
DONATIONS COORDINATOR CONTACT INFORMATION
[email protected]

"QC_Reference_Phone"

Hi!
I just got my OnePlus 3T about a week ago and i noticed something strange. I installed CPU-Z on it, everything else seems fine but under the Device tab, the Board name shows up as "QC_Reference_Phone" instead of "MSM8996" and its the same on CPU-X and Aida64 as well.
I have no Idea what it means. I looked it up but can't seem to find anything.
Does anyone else have the same thing or is it just me ? And can someone give me an explanation of what it means?
I'm on OxygenOS 4.0.2 Nougat if you need to know.
Such information is hardcoded into the hardware. "QC_Reference_Phone" means it's a modified Qualcomm SoC. I believe OnePlus just forgot to insert a suitable description. This has been mentioned on the OnePlus forum.
Inciter said:
Such information is hardcoded into the hardware. "QC_Reference_Phone" means it's a modified Qualcomm SoC. I believe OnePlus just forgot to insert a suitable description. This has been mentioned on the OnePlus forum.
Click to expand...
Click to collapse
I see. So is there any way to make the app report the correct name ? or any apps which would show the actual board name ?
Mizart said:
I see. So is there any way to make the app report the correct name ? or any apps which would show the actual board name ?
Click to expand...
Click to collapse
I don't think it's "hardcoded in hardware" - it's just another ro property:
Get you phone rooted, get a prop editor (or any text editor, if you know how to remount /system rw; or start the text editor from within a root enabled file browser) and change ro.product.board to whatever you want...
EDIT: you need to reboot, since read only properties can't be changed with setprop.
...change it to "oneplus7" and post screenshots of CPU-Z - I'm sure some peoples attention will be with you... *lol*
nvertigo67 said:
I don't think it's "hardcoded in hardware" - it's just another ro property:
...change it to "oneplus7" and post screenshots of CPU-Z - I'm sure some peoples attention will be with you... *lol*
Click to expand...
Click to collapse
A build.prop value was the first thing that came to my mind as well and there IS one property that allows you to modify the board name indeed but i posted the same thing on other places as well and everyone seems to be saying its hardcoded but the apps just read it off the build.prop. I sent a mail to the OP Support as well, waiting for a reply from them to just confirm this thing and get it off my mind for good.
And as for the other thing. It's a pretty good idea haha but i doubt anyone would fall for it. Editing the build properties is fairly common and anyone would see right through it xD
Mizart said:
A build.prop value was the first thing that came to my mind as well and there IS one property that allows you to modify the board name indeed but i posted the same thing on other places as well and everyone seems to be saying its hardcoded but the apps just read it off the build.prop. I sent a mail to the OP Support as well, waiting for a reply from them to just confirm this thing and get it off my mind for good.
Click to expand...
Click to collapse
Let me put it this way: maybe it's written in sillicon - but the property comes out of system/buid.prop of the flashable zip and it is changeble in build.prop.
I have the unpacked 4.0.2 ota full zip on my disc:
Code:
[email protected] /usr/local/src/oxygenos-4.0.2 $ grep ro.product.board system/build.prop
ro.product.board=QC_Reference_Phone
[email protected] /usr/local/src/oxygenos-4.0.2 $
I wouldn't think too much about it. I think it's because OnePlus's sources are based on caf sources - which doesn't know of OnePlus and just call msm8996 based phones QC_Reference_Phone.
If you are in contact with OnePlus regarding this matter, I would be interested how to read such information directly from the soc.

Categories

Resources