[Galaxy Tab 4 Accessories] aholmes28191:
So I recently bought a car that came with an awful looking pioneer radio that lit up and flashed like a christmas tree, after the drive home i decided id had enough straight away, so it was trailed out immediately.

So i have started this guide as to the process of my install in as much detail as i can.

To start with context, I have a rooted galaxy tab 4 running PixelizedOS to start with the tablet will be built into the dash of the car running of a usb power source connected to the cars ignition, then linked to a hidden radio head unit behind the glovebox via aux cable (reason being is to utilize the FM module, bluetooth handsfree and internal amp in the headunit).

to make this work i needed a few things so i got my hands an a radio headunit, i opted for a non-cd unit as it makes it more compact and easier to install to hide the unit behind the dash, the unit also comes with wireless remote that means the unit does not need to be accessed everytime master volume needs adjusted for example, a quality aux cable, micro usb and adapter for cigarette lighter socket.

[IMG="Galaxy tab 4 running Car Launcher Pro"]https://lh3.googleusercontent.com/fd0gLQhk12a9B1oUOoEJBEXfJYyUwalWUVX2obLGoYVjPhOm1e0jzOixQCZVikcHTFigkragsaqX1MFWQH8cYzlNpUMIkosCDojTEOd2nSrFa2kv9OmPiE0gArS-3-AFIYMUHQrsHsq2eS35wQwo_c_RLDwHEnpaeOCm6KrFd0nWfg7hqpqLdNBMN33J9_Jy3w6uBISZITsQxVEImyWlNn7JyfGsr3nliwczEO-yuEAdWjeqvYYRbrD6UiyOdKhgtW5c47SmqvEkE_3RBmos2BbzAF6PXAmi6pgHTbCJqwMwDUhqTGdW8dUJHRATEpAS2cgdGHq-Y6MWfh6mw6X0Bb6g5_Fu-doEGtFE9bfrjedZgZQUE02_Ejy1mgpNWPHfTHER6w8u50Hb26nrhDBqIqTrZ9enCbyPs2KzVdM5HUztHHgoxNtxUGOVAzJhDic1VKf1_jGo-Lr7peJIaCUc0xD0Zi95rglGoZDcM9fGY2eKkM5v_qCE1cyI3F3e4EWPvrFd-_LTltonQ-uUj7cTxBFCR_2123XGH-Y7SDNWW_q2yanS43zFIYtBiXOtvm3IX8cATO1-OKjDv1T3yqTKVqUR0YhYvnMbXJ_S4aDx_Bo0QE134hjHQnCilxHrHGuDV_RxYbyNbk1hOLULUUbiTvGjXw=w811-h608-no[/IMG]

[IMG="Radio unit used found on ebay"]https://i.ebayimg.com/images/g/~KwAAOSwTxJb7N3J/s-l1600.jpg[/IMG]

[IMG="usb to cigarette ligher used"]https://i.ebayimg.com/images/g/bWAAAOSwgYdb4Tcb/s-l1600.jpg[/IMG]

So what i have done is root a galaxy tab 4, which is a perfect fit for my double din space on my dash. Next installed the app "car launcher pro" and customised to suit the dash, in my case Mitsubishi, colour, etc (perfect app for anyone doing a similar build) and installed the tasker pro and secure settings app.

with the tasker app i set up profiles to kill and launch each app that needs to be run (in my case, car launcher pro, tunein and google play music) this insures that when usb power is cut with the ignition switch that the sound turns off. next i set up a profile to turn off lock the system when power off

PROFILE+ > STATE > POWER > POWER (leave source "ANY")

NEW TASK > + >DISPLAY SYSTEM LOCK.

this will insure the display turns off when power is cut.

to power the screen up

PROFILE+ > STATE > POWER > POWER (leave source "ANY", change setting to invert)

NEW TASK > + > PLUGIN > SECURE SETTINGS > CONFIGURATION > SYSTEM + ACTIONS > STAY AWAKE WHEN CHARGING.

then i set a profile to power the system off completely after 10 minutes of screen off to save the battery from draining everytime i leave the vehicle over night.

to do this i

PROFILE+ > STATE > POWER > POWER (leave source "ANY", change setting to invert)

NEW TASK > + > TASK > WAIT > 10 MINUTES.

NEW TASK > + > SYSTEM > REBOOT > SHUTDOWN.

[IMG="Tasker profiles"]https://lh3.googleusercontent.com/fQXaVC3ta2qGACSl5ciTpzSrBNJ3uPQZ8WHbIoD_c7uaHsVTeW857P33aQ3h_GtRVL4trh9m90eR2QTaxFhbNnCnYyqsjBDuZ4uqDHCZKEWdXD3jn_5ZcymmdTEMBG_9C6JQKxkJn6e_AZ9XgrGNT-oX-M1Uw77cj0MBkTJesITHZGxr0djvtKF2263wcJV5Yj1ixrwXyfpsef_ZT1ERO64xDmyA6ZKIfj8-yagWoNrBP5p9hQrSbEbx03dIpY4YPSa2iuufYs0QSwvgH1QAC342iO-Qakqzv1dFX7aun7I8E4y3xFyA9R2o5xiLyzI8JsD0rn6HbJLFvZcEaT3oOiwNvAmENhBh-O8FxtKUetXM0gvfdzqZSTYmDZpYh_xlU-xlw5kGAf3OraWsAmIkrfC2Ee8FsCUJETgJkWPV0CMKpOPZo763fLZJtPgJ8k5k_IE6SM0GR8IBCm1fnn7cyjniq8YsP5AT2P-2CojUD4ishreprJVxyONfyhElPI2oHnsEd-PyM2s3HCAuuCzuv8HGnEpJSXL6ItvIAbFf4SKRvgtj-yob-_q6o6YAshzAnpdy3nRRqxgmp_hry0kt5uZThyqXXh_SR6znAIAdKDqy4QAp_mjIMYZZz_ZKzTPDujq7j7KJskGZGlwY3i5zMUqTAw=w456-h608-no[/IMG]

that was the easier part the task was to power up the tablet from completely off, i even had a post here on XDA to try and find a away. i did manage to find full proof way of doing this

so

1. we are looking for a file called lpm in the /system/bin/ folder

2. rename it lpm.old

3 . create a new file named lpm, edit it to have the following commands

#!/system/bin/sh

sleep 2

/system/bin/reboot

4.change the line termination to unix (possibly not necessary)

5. change permissions to RWX R-X R-X

6. change group owner to shell

7. power down and connect power to test.

this boot sequence was not mine i found this on youtube named "Android Mod: Boot automatically when plugged in [REQUIRES ROOT]" so credit to TRYTHISIPTV

So now that the tablet its pritty much programmed to do the basics, i will next start to install the system into the car and i will add a follow up post with how to install the units.

NOTE : as above i do not take credit for the boot sequence boot change, modify and change settings at your own risk, just because it worked for me it may not work for you. also in terms of some of the guys on here at XDA i am a noob with programming etc,i am a auto electrican by trade, so i will answer any questions as best I can.

credit to

TRYTHISIPTV for the video

car launcher pro, tasker and secure settings for the apps

and finally i took inspiration for this product from the awesome guys at Mighty Car Mods, they did this with an ipad, but i prefer to work with android.

if this helped you in any way click thanks and let me know. more guide to follow