[Q] Developer wishing to be brought up to speed - X Style (Pure) Q&A, Help & Troubleshooting

Hello everyone! I am looking for any developers who can assist me in getting a few things figured out. I want to start a project (mainly for myself but if there's enough demand I'll release it on here). I am entirely half deaf in one of my ears, as such, I am unable to listen to stereo music and if I use earbuds on a normal phone I will be missing an entire channel of audio (try listening to just one half of Paranoid Android and you'll get my struggle), but I want to do something about it! Since surgery isn't really a possibility, and I can't just grow a new ear, I need to create a way for my Moto X Pure edition to downmix all audio output to mono.
I achieved this on my old phone, an HTC One m8 by utilizing HTC's boomsound feature (which was really easy. One simple change in a config file.) However, since Motorola doesn't use as much proprietary stuff (yeah!) I suspect to achieve this same effect on the moto x I will need to dive into some code.
I was looking around and lo and behold, motorola released the source code to their rom! (link) So here's the start of my question.
Firstly, I'm confused by the document motorola has here. It seems to infer that to build their rom you only need to download their kernel (which doesn't seem to have any audio related pieces involved), and google's "prebuilts." I need access to the audio.h file in order to try what I think might solve this problem. Where would I find this, and how can I build the stock motorola rom for my own purposes?
Thanks in advance and sorry for the wall of text!
[EDIT] Upon further inspection it seems that link is only the moto kernel, not a full rom. The files I need to access aren't in the kernel, so how would I get my hands on motorola's rom?

Related

Camera Light as Notification LED

Would it be possible to make the camera light flash when an event occurs. For instance, when a call is received, or when you receive a message. I for one tend to put my pda face down on my desk, just in case something falls on it (It also prevents dust from collecting on it, as it's a bugger to clean off) so it would be a novel use for the light. The camera light woul definitely draw attention to the phone, much more than the little orange flashing light that's there atm...
Anyone know of anything which may do the job?
---
Posted From My Wizard
extremly good question would make sense.
lets see what we come up with.
-Brian
VJCandela could quite easily be modified to do this.
It doesn't support the Wizard though, I've never had one to debug on
V
vijay555 said:
VJCandela could quite easily be modified to do this.
It doesn't support the Wizard though, I've never had one to debug on
V
Click to expand...
Click to collapse
Well I love mine far to much to commit it for scientific research
Why can't all of these little bits of hardware all be accessed in the same way on all devices... It's silly having to access them directly. It's a bit like the sounds and notifications thingy. There are loads of notifications, so why can't we change them all without having to install other programs? Because you can in the full blown windows...
Yes, but on PCs the hardware has to be made hardware compatible, or interfaced by appropriate drivers. On the PPC you're not working to a strict hardware platform, so you get different cameras, different scrollwheels, different audio etc. And that's even just withinHTC.
We're working at a driver level, or even worse, hardware level, and that requires some device specific work.
If it's any consolation, the Hermes and the Universal are much more similar then the Wizard and the Hermes, for example. So perhaps things are moving in the right direction.
V
vijay555 said:
Yes, but on PCs the hardware has to be made hardware compatible, or interfaced by appropriate drivers. On the PPC you're not working to a strict hardware platform, so you get different cameras, different scrollwheels, different audio etc. And that's even just withinHTC.
We're working at a driver level, or even worse, hardware level, and that requires some device specific work.
If it's any consolation, the Hermes and the Universal are much more similar then the Wizard and the Hermes, for example. So perhaps things are moving in the right direction.
V
Click to expand...
Click to collapse
Granted the platform differs, however, there should be a method to activate and de-activate the camera flash that's semi universal, I refuse to believe the camera application that comes with the wizard is written specifically for it.
nKrypteD1 said:
Granted the platform differs, however, there should be a method to activate and de-activate the camera flash that's semi universal, I refuse to believe the camera application that comes with the wizard is written specifically for it.
Click to expand...
Click to collapse
Yeah, this is essentially what I was getting at myself, I just didn't know how to word it at the time...

The 1,000.00 USD Audio to Earphone Speaker Contest

Ok folks, I know this is something that has been said to be impossible to do beforehand, but I want to know how far we can push it - I am offering 1,000.00 USD to the one brave developer who finds a solution to reroute all audio (be it music or VoIP data) to the *earphone speaker* of the whole HTC WM5/6 lineup in software only. 50% of the devices are not enough, it has to be all of them. It also has to be a new development that can be integrated into other WM software easily and that remains exclusively under my rights unless I decide otherwise.
sounds interesting... though I am no coder. But it seems a bit too difficult - for 100% of HTC WM5 and WM6, if not entirely impossible.
Yes, it might be downright impossible since people said before that HTC didn't implement the possibility to do this on the hardware level. But if there is even a slight possibility I want to enable people to put some more work into it. I hope that there is a solution after all and if the compatibility mark drops to 90% it would still be ok (just you get nowhere if you start low ;-))

Deflated

Got my new HD from Uk Mobiles. Was really looking forward to it. What a let down. Is this really the phone that is raved about? What does it give me that my Tytn didn't apart from a bigger screen, welcome but not essential, and built in GPS?
It is no faster in real use, the volume is so low when using Tom Tom that it can't be heard (unlike my Tytn which needed turning down and could be used in my old diesel Transit with no problems) and the lag on the GPS is so bad that you need to stop on roundabouts for a cup of tea and a biscuit so that it can catch up and show you which exit to take (if the sound worked I would have known because Jane would have told me).
It only changes orientation automatically in one or two items of software and it came with a rubbish little carry bag instead of the very usable belt holder that came with the Tytn.
Most of the software that is available was available on the Tytn, it seems to be only the extra screen real estate that makes a real difference.
It has no external buttons, something I didn't realise I would miss.
It's just as crap at syncing over bluetooth as the Tytn, I know that's a software issue but it just adds to the frustration and disapointment.
edit: Orange have identified a fault using a flow chart questionaire and have given me a fault code, Uk Mobiles are replacing the phone. If I can't come up with fixes for my issues, or rather the phone's issue my own are to deeply ingrained, before the new one arrives it's up on ebay.
What am I missing? Can it be turned into a usable phone or should I sell it on ebay, seek out a second hand TytnII and accept that I can't handle change?
Volume on mine is too loud actually,
Get HDTweak to enable the louder volume
Orientation can be changed in almost every app.
I use Mobile Magic to manage my Orientation apps
I have also fully tweaked my phone and I love it also coming form a Tytn.
I also miss the hardware buttons and most of all the slide out keyboard but I can now type just as fast on the softboard.
Your right about the speed not being any quicker but I can cope as can the phone.
My advice is if you feel like you say then sell it. however as with all HTC phones they have to be tweaked to get the most out of them.
That's why this place is such a god-send, Without this forum I doubt that many of us would own a HTC device.
Graeme, I know you're pain. When I got mine last November I struggled for a week to get it to sync with my exchange server and I had bluetooth issues as well. The stock rom seemed unstable and slow. I don't have any of those issues anymore and haven't for a long time. May I suggest trying a cooked rom. There are some great chefs in this forum that have refined and tweaked things such that, in my opinion, allow the HD to run the way it was intended...smooth and fast. My HD is solid. My point is, before you put it up on ebay, give one of these roms a look.
I'm sorry to hear you feel this way. I know others feel the same and similar threads have been created. Would recommend sticking with phone and trying to become adjusted to it. Read up opn other threads andpossible use software to improve phone. Plenty available on thjese forums if you search.
No need for another thread is similar ones exist.

[Galaxy S] 3x Stratosphere, all broken screens; uses? Solderable TV-out?

So I had bought three Stratospheres for cheap (bundle auction), hoping that I'd be able to pick up another cheaply with a good screen or bad glass+good LCD. However, beings I've not taken one apart to that extreme I wasn't aware how hard it'd be to separate those pieces At any rate, they all work fine otherwise, I know at least 2 boot to Android since I eventually get the haptic vibration indicating it'd reached the unlock screen. I had also hoped that at the very least the Wiki would've been right about HDMI out, but it's hard to find out what all have full support (the Epic 4G [D700] I got instead for example has it mostly but no one's able to get it working).
New screens cost the same as a working Strat, and seeing as I already bought an Epic after finding that out, I'm wondering what to do with these. I love tinkering, so being able to solder in a Composite, VGA, DVI, HDMI video connector and use it as a self-powered Stick Computer would be seriously awesome.
I'll gladly take hi-res PCB photos, with a DSLR and ample (non reflecting) light, if folks want to help tackle this Hell, for that matter... if you've got the know-how and want give it a try, I will give you one of these Strats to see what you can figure out. These aren't like the Epic as far as PCB goes, either. That Epic is very tiny and a fraction of the phone's size, but these Strats are pretty much the full phone's length and width, so lots to play with lol
Anyways, hope someone knows a thing or two and we can figure a hack out!
Thanks.
EDIT: This just came to me...What about something like these, in conjunction with a ROM (preferably Odin flashable) that has USB Hub support?
http://www.monoprice.com/products/subdepartment.asp?c_id=101&cp_id=10114#1011403
Unfortunately it isn't driverless, BUT it does list Linux support, at least on the VGA model! More than I'd like to spend given the project, but we can call that Plan Y (Plan Z being: buy a new screen lol)
Ez way - how about flashing with some latest ROM and enabling tvout (with help of screenshots from DDMS)
Then you can connect any cheap stuff decoding pal/secam and maybe an otg keyboard/mouse + power chord through hub or straight to the batt slot.
The tryhard way - you could try to exploit screen flex slot. You should find 16/24bit rgb dpi'ish interfrace there + 2 i2c/spi busses and some gpios. Maybe utilising it as 16bit rgb going to sort of converting circuit could leave you with like ~15gpio pins for mostly any kind of stuff u want (spi, i2c, irqs). You need a good breakout for that and gotta consider high frequency layout (as rule of thumb, try to make wires between consecutive ICs as short as possible and equal length)
Capabilities and possibilities are unlimited. Just human's imagination and life is.
Id be careful with usb-dvi converters. Might work. Might not. Check with otg keyboard or smth first.
Rebellos said:
Ez way - how about flashing with some latest ROM and enabling tvout (with help of screenshots from DDMS)
Then you can connect any cheap stuff decoding pal/secam and maybe an otg keyboard/mouse + power chord through hub or straight to the batt slot.
The tryhard way - you could try to exploit screen flex slot. You should find 16/24bit rgb dpi'ish interfrace there + 2 i2c/spi busses and some gpios. Maybe utilising it as 16bit rgb going to sort of converting circuit could leave you with like ~15gpio pins for mostly any kind of stuff u want (spi, i2c, irqs). You need a good breakout for that and gotta consider high frequency layout (as rule of thumb, try to make wires between consecutive ICs as short as possible and equal length)
Capabilities and possibilities are unlimited. Just human's imagination and life is.
Id be careful with usb-dvi converters. Might work. Might not. Check with otg keyboard or smth first.
Click to expand...
Click to collapse
So TVOut on the does actually Stratosphere work? (with a custom ROM, I mean)
You happen to know where to find such a ROM? I know that XDA doesn't have a Strat subforum I've looked high and low, and can barely find custom ROMs, let alone one that's TVout lol Everything is still Gingerbread based, but I suspect that doesn't matter since the hardware is from that time.
As for the latter, I actually hadn't realized that without a screen, I'd be without a MOUSE haha I was totally focused on it having a slider keyboard and somehow missed I'd still need a mouse Nevertheless, doing it myself would be pretty hard :\ I don't know that much about the finer details of hardware, at least circuits of that complexity. Modding an analog audio circuit with new capacitors or an OpAmp is one thing, but that's straight forward In-Out, Power-Ground lol
That isn't to say I wouldn't attempt it but I'm not sure exactly what would be needed. If it's LVDS, I do have an older 15" laptop screen that'd be cool to hack a Strat to use :cyclops: That's adding a bit more complexity to things though, at least to start with right out of the gate.
Sadly I dont know where to get Strat ROM. But I assumed that its HW is pretty much the same as I9000, except the additional keyboard, so aries kernel with patches might/should/could work. There shouldnt be any major problems in porting it. I would get these crappy Sammy sources for I405 and I9000, diff them and try to apply diff on kernel_samsung_aries repo of CM.
About TVOut - it is matter of one or two gate ICs and a jack sensing onboard, as S5PC110 has built in tvout signal generator. So I would expect HW to support it.
Edit: There should be some tvout handling in original kernel sources if it is supported. Though, knowing Sammy, there might be aswell tvout driver enabled but HW not wired at all to support it.

Sony XAV-AX1000 - Custom splash screen?

Hi all.
First of all, I wanted to say hi (I am new to the forum )
I received my Sony XAV-AX1000 head unit yesterday, and wired it up this morning. Looks all perfect (good enough for now, will need to disassemble again to do some tweaks, nevermind). I just wanted to know if there’s a way of changing this boring Sony splash screen (and perhaps a wallpaper) to something better. I know there is a possibility of doing this in an AX100 head unit, however, from what I see, the firmwares do not seem to be compatible. Please help, and thank you in advance.
Same boat, same problems. :/
I’m stuck in the same boat too. I love the head unit I installed already! I just wished there were some options that I could use that were able to be used on the AX100 model. If there is a way to gain access to changing the wallpaper and splash screen on the AX1000 model then that would make my radio perfect for my build!! I hope there is something. I’ll keep my fingers crossed.
bump
Is anyone able to make custom firmware to give access to custom boot image or wallpaper? I would be willing to pay if someone is willing to take this on
I recently switched back to Android and totally forgot this unit only does Carplay. So I'm personally on a quest to fix that.
It seems that the real difference between AX100 and AX1000 is software but that's my guess. I know superdavex has done some work on the AX100 but I'm not nearly skilled enough (or in excess of time) to really dive into this kind of stuff.
However, for anyone who is and is interested, that's perhaps where you'd need to go.

Categories

Resources