[Android Head-Units] kaween:
Default app modifications for 2.8.8_permroot.

Launcher for 2.8.8 to permit change of the default apps (like Poweramp for default music ect) : https://yadi.sk/d/cMaL9TNjcN9eG

To have an idea how it looks like : look at the screenshots of felipesalomao.

No RedPower logo like the 2.9.4 has, and is meant for 2.8.8 Permroot. Maybe hellSunshine 's version would work on 2.8.8 too, but this came with some 2.8.7's and 2.8.8's.

Function : press the icon you want to reassign for a bit longer, it will open a program-list selector where you can link the wanted app to the icon you chose.

Method :

* root the machine

* go to system/app. Rename the existing com.android.launcher2_7819.apk to backup.com.android.launcher2_7819.apc or something similar

* unpack the file in the link, rename the unpacked file to com.android.launcher2_7819.apk and copy that to the systems' system/app location

* change rights to 644 (will probably be 600 originally)

* reboot unit : during boot you'll see a "updating app" message, that's the installation of the new launcher taking place.

New launcher will be there, long press the music icon, select your favorite music player. Done.

This will now be called upon whenever you select the music app from your launcher or from your SWC control.

Drawbacks : Poweramps "odd behavior". PA turns out to have a couple of really weird oddities after promotion to the default player.

For example : I've noticed that once being "default player", it will prohibit the sound of the radio app ! I switched on PA : everything's fine. I select Radio ... radio comes up, but no radio sound : PA just keeps on playing.

Started toying with the sound priority settings, situation got worse : Start PA, PA works and plays. Select Radio, radio selected and plays. Started Navi App : suddenly PA decides to push over the Radio sound ....

I thought I could retire LLama handling/redirection of the default app this way, but it now turns out that I must Llama guard the launch of the Radio app and if condition is met, Force-Kill Poweramp when Radio is chosen to avoid this odd behavior. And here's the odd thing : upon force kill, relaunching PA may or may not result in auto-play resume. I've not as yet figured out why it shows this behavior.

When I issued the play command using LLama as stopgap solution, this worked everytime.

It seems that the moment PA is used as default player, SOMETHING is handled differently in comparrison to the Llama Music -> PA solution. So the only thing I've gained is the "skip default music play and kill process to launch and play PA", but I got a complete new can of worms instead. :confused:

So it's not flawless, but anyone who wants can toy with it, or select another standard music app (Rocketplayer or something else) that maybe behaves a bit nicer than PA does, or you can try to debug the situation and let us know how you did it.

At the moment, I'm not 100% convinced this solution works all that better than the "redirect over LLama" trick, mainly because of the oddities I've come accross PA's behavior. But this could be entirly my own fault, so please toy with it and let me know what you find out.

The same way, the default radio app could be changed to another app like for example Tunin Radio, Xiila or comparable.