yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] hapaman:
Hi

Very interesting your custom firmware! I'm mostly interested in point 18, which says improvement of performance. Is this the same like applying the CPU optimization command that is mentioned on 4pda or is this another improvement?

For me a Firmware that has as less crap as possible from the chinese and as close as possible to pure android would be ideal. I always run in fullscreen mode and don't need the top and bottom bar, but sometimes the Navbar toggler does not load properly and I have to reload it by hand. The only thing I miss in Fullscreen is the button to dim and make the screen dark. For all apps like player, radio nav etc I use apps from the store.
[Android Head-Units] l33boy:
Mate, you are a star! I'll give it a go later :good:

I presume I should have visibility as 'visible' not 'gone' though....

Now I think of it, It was the KSP gold theme that I had the album art on before installing the rooted ROM.

My customer.xml didn't have the KSP_gold theme... that's why I couldn't find it!
[Android Head-Units] l33boy:
Hmmmm... Something isn't right here, Album Art flashes up for a second then it's gone

I may try and use my original customer.xml file?

This only had 5 themes in it and the last one is the KSP_Gold theme. (58?)

<?xml version="1.0" encoding="UTF-8"?>

-<customer name="卡斯普">

<item name="AppVersion" value="20181008A-1024x768-860C-Ver1.0.0.ksp-Ov"/>

<item name="CustomerNum" value="5"/>

<item name="ScreenDensity" value="1"/>

<item name="UIStyleStrList" value="KSP UI01,KSP UI02,KSP UI02.1,KSP UI03,KSP UI03.1"/>

<item name="UIStyleNumList" value="8,42,57,56,58"/>

<item name="NavBarStypeStrList" value="KSP UI01,KSP UI02,KSP UI02.1,KSP UI03,KSP UI03.1"/>

<item name="NavBarStypeNumList" value="6,6,6,6,6"/>

<item name="ATSAutoSwitchCanAUX" value="1"/>

<item name="USARTDVDEnable" value="0"/>

<item name="ScreenParam" value="0"/>

</customer>
[Android Head-Units] slick_abs:
Need advice Root Tesla android 6M car edition

Hi , can anyone help I need to root my Tesla radio , it’s running android 6M , A53 x4 cpu.

Radio working fine , canbus working fine just Door opening I need to switch left/right and change speed to MPH from kPH .

Nothing happens if I hold info box , in system parameters there’s no options for this .. if I go to car settings , option is there for kPH/mph but it does not save settings .

Do I need to root to save these settings or is there a another way to access settings .

Any help would be great.

http:

//s1152.photobucket.com/user/Slick_abs/library/[/IMG]
[Android Head-Units] l33boy:
try installing another launcher (any) then use that to access settings etc
[Android Head-Units] l33boy:
Cracked it!!!!

OK so if anyone with 7.1 wants to have Album Art on their Home screen.... You need to change your customer.xml to include KSP UI03.1 and it's corresponding value.

This is the xml code for mine.

<item name="UIStyleStrList" value="Classics UI,Black UI,VW UI,UI3,UI4,Rhomboids UI,Mustang UI,KSP UI01,KSP UI,Cyanine UI,ZYC UI,SR7 UI,UI12,UI13,XZ UI,ACX UI,YHD UI,DC UI,CHWY UI,UI21,Benz UI,YLT UI,UI24,UI25,UI26,UI27,CHWY New UI,KSP UI02,ACK Gold UI,KW Purple gold,KSP UI02.1,KSP UI03,KSP UI03.1"/>
<item name="UIStyleNumList" value="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21,22,23,24,25,26,27,37,42,47,49,57,56,58"

Once you've done that then you choose the KSP UI03.1 theme.

The Launcher is the KSP_Gold_Launcher.xml, found in the res/layout folder.

You can alter the code as you want to arrange everything how you like it and add>remove to your taste.. or just use my Launcher.

I've also added GPS speed in the bottom right (way more accurate than any speedo!)

If anyone is interested I will post my modified Launcher

It uses a transparent background so any wallpaper will show through, I use live wallpapers like the picture attached

It would be quite easy to have the entire background as the cover art if you so desired.

NB: Although it is worth noting that I use a modified lower bar/upper bar as well, so I also have a modified EventCenter.apk
[Android Head-Units] l33boy:
Anyone know where to find the menu links?

Had a good look but not found it yet.

I want to change the icon link for file browser so that it links directly to root explorer rather than ES-explorer....
[Android Head-Units] ramathorn1982:
I think that was alluded to earlier in this thread. I'll dig up my notes today and let you know what I find.

I'm definitely interested in your modified files! I really like your bottom HVAC controls. Can you PM and/or post links for download?

---------- Post added at 01:40 PM ---------- Previous post was at 01:03 PM ----------

Ok, I dug up this but I'm not sure where I originally got it from...probably a knowledge bomb dropped by ikuznets22.

"Using ApkTool (on the forum, find a topic on it), unpack eventcenter.apk. There is a folder smali.

Take your Spotify program, use the Activity Launcher to determine the class and the desired activity to launch Spotify.

In unpacked smali files, replace all occurrences of com.szchoiceway.musicplayer and its activity with class and activity of spotify.

In the EventServices.smali file, find this line

iput-object v0, p0, Lcom / szchoiceway / eventcenter / EventService; -> sysApkLst: [Ljava / lang / String;

in front of her will be something like this

const-string v2, "com.waze"

aput-object v2, v0, v1

iput-object v0, p0, Lcom / szchoiceway / eventcenter / EventService; -> sysApkLst: [Ljava / lang / String;

replace com.waze or whatever will be written to the class spotify.

With apktool, collect the eventcenter back and replace it with the GU. After that, instead of the player, spotify will be launched."
[Android Head-Units] pbrown77:
Has anyone experienced an extra large navigation bar (the top green one) in Google maps? Full screen and split screen.
[Android Head-Units] ramathorn1982:
Yes, very annoying. I have no idea how to get rid of it.
[Android Head-Units] dude-nl:
Hi guys,

I have installed an 4.4. unit in my Outlander.

When I listen to radio and open another app (Tomtom, settings or whatever) the radio stops playing and I need to select it again from top bar.

Somebody knows how to solve this?

2nd question:

I installed a firmware from 4pda forums.

I want to change the theme but in settings there is only 1 theme, how can I get other themes?
[Android Head-Units] ShIvADeSt:
I now have fresh firmware (march 2019) with Tundra support. If it still actuallity, send me PM.
[Android Head-Units] hajali:
the launcher is unstable once i run more than 1 app it crashes

can i change the launcher to a lighter / more stable one with the same looks?

---------- Post added at 02:55 PM ---------- Previous post was at 02:53 PM ----------

it is probably due to the launcher crashing
[Android Head-Units] bsavoir22:
This is compatible with all generations of tundra units?
[Android Head-Units] ShIvADeSt:
It depends by can-adapter too. But it is compatible with all Tundra, that coded at firmware. You can export settings and post to me. I will compare carID
[Android Head-Units] bsavoir22:
Where is the export location at on the unit? I clicked on Export settings but it doesn't say where it is saved at.
[Android Head-Units] ShIvADeSt:
Have You usb flash attached? It saved to usb only.
[Android Head-Units] bsavoir22:
If I purchase your custom how firmware soon can i get it?
[Android Head-Units] ShIvADeSt:
Car ID from settings

<item name = "Sys_LogoType" value = "255"></item>

Your car is Tantu Lo (Tundra LO)

.field public static final CARTYPE_TANTU_LO:I = 0xff

It presents at my firmware. For purschase and other please send PM.
[Android Head-Units] l33boy:
Excellent, cheers buddy, I'll have a look later... been a busy weekend.

I'll send you a PM ref the Launcher & Eventcenter
[Android Head-Units] dude-nl:
Hi all,

new question:

I have an Outlander PHEV (2015) and installed a 10.4 unit.

AC control works but it and it cools. But the heating is not working unless the engine is hot enough. The problem is it's an electric/hybrid car that uses an electric heater for when driving hybrid (because it the enginge doesn't heat).

I guess the unit or canus can't control the electric heater...

Does someone know how to solve this... It's to cold without a heater.
[Android Head-Units] bsavoir22:
Get with the manufacturer of your unit and let them know. That is an issue they need to know or at least help you. I'm not sure there is much these guys here can do for you and this issue your having. Do you know who the manufacturer is?
[Android Head-Units] dude-nl:
This is the manufacturer accodring to the parts and info on the unit:

http://www.cusptech.com/?c=tstyle&t=v&vid=9652bb01d3caa02809cdb7e1c00c9706

They do not respond to my emails.

The Aliexpress shop where it's from is closed.
[Android Head-Units] ramathorn1982:
Do you know anyone with the same setup? I'd be looking to see if it was a CANBUS setting that's not set properly.

If I'm not mistaken there are also some outlander specific settings in the system settings.
[Android Head-Units] dude-nl:
Nope and I don't know wich ones would be specific for Outlanders and can cause the problem.
[Android Head-Units] ramathorn1982:
My mistake. I see two Air settings for a Highlander, not an Outlander...
[Android Head-Units] bsavoir22:
Some of those units from aliexpress are resellers and will help you very little. I order my unit from a domestic seller Phoenix Android Radios as they have support for their units.

Take a picture of your system info screen. I know my Tundra unit has an option for hybrids but it doesn't function as my truck is not a hybrid.
[Android Head-Units] l33boy:
On the Mondeo we have to press the 'MAX' button to get the electric heater to kick in.

That's if you have the optional module & heater of course.
[Android Head-Units] dude-nl:
I tried that also but it still doesn't heat with it...
[Android Head-Units] l33boy:
Now I have the unit how I like it... would be great to put the modified apk's inside the ROM and strip out all the other car rubbish.

Just make it so it loads a my theme and car canbus data from a fresh install... what do you guys use to unpack/repack ROMs?
[Android Head-Units] konzz77:
For anyone who would like to learn more about the tesla style unit, there is a facebook group dedicated to just this. It is for the Tundras though. But, you are still welcome to come join. We would especially like anyone that is knowledgeable in the units. There are a few of us who have figured a lot of things out. But, could always use more idea.

https://www.facebook.com/groups/1942765552407328/
[Android Head-Units] Velatropa24:
Hello

Hi peoples,

I have a slight problem. My Eve Launcher does not start automatically every time my unit wakes up or is rebooted, until I press the home button.

Triend Car Launcher Pro and a few others - all with the same result.

My profiles in Tasker also don't do anything until I open Tasker.

Everything non-system or original gets closed every time the unit goes to sleep or is turned off, nothing auto starts.

Does anybody have the same problem? ...Or even better - a solution?

My unit is px3 Tesla style android 7.1.1 with root from phoenix

Many thanks for your help.
[Android Head-Units] ramathorn1982:
Have you tried using a rooted firmware and adding your launcher to the whitelist?
[Android Head-Units] Riba89:
I need HELP! So my air conditioning/heating got stuck. Like this video

Everything worked fine for 1yr and now that it’s HOT I can’t turn it on anymore. This happened out of the blue few days ago....I haven’t changed anything or messed with the unit. I can’t change any air conditioning/heating settings. The buttons light up when I click them but nothing turns on. Any way to reset the air conditioning interface? Any help would be much appreciated. Thanks !
[Android Head-Units] Velatropa24:
No, I was not able to find instructions on how to do it. Adding the launcher and tasker to the whitelist does the trick? Have you tried it? Many thanks
[Android Head-Units] ramathorn1982:
I added the launcher. I'm using Car launcher pro. For whatever reason, the 7.1.1 units don't play as well with third party apps like the 4.4.4 units did. Adding it to the whitelist fixed many of my problems. I also removed permissions from Index.apk in the Android settings to try and get it to interfere less with the new launcher.

I am using AutoMagic as a tasker. I don't remember if I whitelisted it though but it sometimes doesn't run at startup. I'll try adding it in the next few days and report back...
[Android Head-Units] Velatropa24:
I will also try it and report back.

How would you remove permissions from index.apk?

I know I would add permissions by this command:

Su

chmod 644 /system/app/index.apk

What command removes them?
[Android Head-Units] ramathorn1982:
With a root explorer go in to the permissions option on the APK and uncheck everything. Take note of the original permissions though.

In addition, check the permissions in the app section of the Android settings. In there I removed the permission to 'draw over other apps"...
[Android Head-Units] Velatropa24:
1) I have installed automagic from your suggestion and it is so much better then tasker!

2) I have found a guide on how to white list packages from earlier in this thread, but my next problem is finding the right package...

I can not find the evie launcher package anywhere on the device. The closest thing I have found is /data/data/is_shortcut/shared_prefs/com.evie.sidescreen.prefs.xml but some how I don't think it is the right thing to white list, looks like a file which saves some shortcut preferences rather then the evie launcher package itself...?

I am unable to find index.apk using es explorer either, even with root enabled and "show hidden files" ticked...

Any idea on how to find where these packages are stored? Maybe there is some terminal command?
[Android Head-Units] ramathorn1982:
Index is in \system\app folder. You can just start with removing the other permission in the app settings for Android though.

EDITING: USE this app to find package name

https://play.google.com/store/apps/details?id=com.csdroid.pkg

The easiest way to find your correct package name that I've found is to open a web browser on your computer and open the play store in the browser. Search for and navigate to the app you want to white list from the browser window. The package name can typically be found at the end of the URL after "id="

---------- Post added at 02:10 PM ---------- Previous post was at 01:28 PM ----------

Just edited my last...
[Android Head-Units] marcus82:
from my side, I gave up with this head unit :(

I've unistalled also car launcher and I'm waiting for the new px5 to swap it
[Android Head-Units] ramathorn1982:
Added AutoMagic to the whitelist too...no noticeable change yet.
[Android Head-Units] Velatropa24:
Don't give up mate, winners never quit, quitters never win :)

What are you trying to do?

I am a beginner myself, but so far I was able to:

- get root

- make a toggle toggle to hide/unhide both system ui bars

- activate full screen immersive mode to make the status bar only appear when I swipe down from the top of the screen

If you need help with anything listed above, I am happy to share.

My unit is 10.4" px3 Tesla style from Phoenix, android 7.1.1

---------- Post added at 05:09 PM ---------- Previous post was at 04:59 PM ----------

I successfully edited and tested the whitelist, added eve launcher, circle sidebar and automagic.

However there is no change for my problem described above.

On reboot everything seems fine, but on fast boot (turning off my car and turning back on without rebooting) seems to go to a blank screen until I press the navi button to bring up Google maps. It's as though the screen doesn't wake up.

I suspect it has something to do with what I did:

I entered a command: dumpsys deviceidle disable when I was trying to do something. Then I turned my car off and turned back on, and my system crashed and rebooted. After that I entered dumpsys deviceidle enable and rebooted. After that the problem described above started.

I entered dumpsys device disable again and rebooted.

I read on other forums that the above commands reset after reboot, so I am not sure if they are the cause, however the problem is still there.
[Android Head-Units] ramathorn1982:
Have you tried to give car launcher the "draw over other apps" permission? In addition, you can try setting car launcher as the default Navigation App then setting the navigation to autostart in the radio settings menu...
[Android Head-Units] Velatropa24:
Yeah, all the permissions are set.
[Android Head-Units] Velatropa24:
I have found the solution to the above problem, also how to keep the automagic process from closing.

Solution:

1) I downloaded link2sd app

2) With it, I moved evie launcher and automagic into system apps.

Sorted all my problems :)
[Android Head-Units] marcus82:
after a forced firmware install due to a mistake with an update, the radio seems slow and the RADIO button on the topbar doesn't call radio or DAB (I'm using DAB)

I have the root but:

-whitelist doesn't work

-parking sensors before were visible also during the boot..now nope

-without whitelist, I can't use mirror link cause it kills sudio app and other launcher

-I want to remove both bars but with this 4.4.4 android firmware no custom bar apps are compatible, so no install is possible

I have a PX3 by phoenix

also swc doesn't work... but it's an hardware compatibility issue
[Android Head-Units] Velatropa24:
Just to be clear, your unit is android 4.4.4 and it originally came like that (you didn't downgrade from 7.1.1)?
[Android Head-Units] marcus82:
yes, unfortunately it's 4.4.4

---------- Post added at 11:04 AM ---------- Previous post was at 10:52 AM ----------

but... if I buy this?

https://www.phoenixautomotiveinc.co...arlife-module-for-android-head-units-usb-port

I lost the scope to use this radio "standalone" but I'll delete any wait for update, firmware, app etc...
[Android Head-Units] Velatropa24:
Ок, I can try to help you.

1) whitelist doesn't work for me either, but it's not a problem. There is another way to prevent app processes from being killed.

You need to download an app called link2sd, then with it, move your user apps (including your launcher to system apps and reboot. Once you do that, you processes will not be killed.

Parking sensors - I am unable to help you with unfortunately as I have not struck this issue. But if I had to guess (and I could he wrong), replacing your new firmware's customer.xml with one from your original firmware fixes a lot f issues like this. Fixed a lot of my settings issues when I did it.

As far as the bars - here is a solution which worked for me:

1) download any 3rd party launcher (I use evie).

2) move the launcher into your system apps with the process I described above, then reboot.

3) Permanently set this launcher as the main app when asked to do so. If not asked - could be done through android settings - let me know if you get stuck.

4) Download an app called automagic. It costs something like $4 or $5 from play market, but it's worth it. Give it all the permissions it asks for.

Within this app - create a new flow. For the trigger use: short cut. For shortcut title write "Hide bars" (or anything you want. Press create shortcut and a button will be created in your launcher. For the next flow step, select action - execute root command.

Under command, write:

am broadcast -a "com.szchoiceway.ACTION_SHOW_HIDE_NAV_BAR" --ei "showState" "0"

(all as one line). Save and activate.

Create a new flow, with the same steps, but this time under short cut title, write "Show Bars", and in the root command change the "0" to a "1". Save and activate.

You will now have 2 buttons in your launcher, one to hide bars and one to show them (some times you will need the bars to change screen brightness).

5) open terminal emulator (if you do not have it, download it from play market).

In terminal, write:

Su

settings put global policy_control immersive.status=*

This will make your status bar disappear. You can now show it by swiping down from the top of the screen, when you need to press home or back buttons, after which it will auto hide.

If you ever need to lock it back into place, use command: settings put global policy_control immersive.=*

6) Enjoy your now enhanced experience

If you get stuck, let me know.
[Android Head-Units] marcus82:
thanks for all these helps! I hope to to apply all soon!
[Android Head-Units] ramathorn1982:
Brilliant! I didn't know that was an option! Thanks!
[Android Head-Units] ramathorn1982:
Did you purchase the product key too? If so, is there any added benefit?
[Android Head-Units] Velatropa24:
I'm not completely sure what you mean. Product key for what?
[Android Head-Units] ramathorn1982:
Sorry, the Pro/paid Key fir Link2SD...
[Android Head-Units] Velatropa24:
No, I didn't pay for any thing - free version
[Android Head-Units] marcus82:
So with this action I'm substitutimg the launcher avoiding whitelist?

Inviato dal mio ONEPLUS A6003 utilizzando Tapatalk
[Android Head-Units] ramathorn1982:
I don't know. I did both.
[Android Head-Units] ramathorn1982:
One more question...did you simply use the "convert to system app" option for each app or did you follow some other method?
[Android Head-Units] Velatropa24:
Yep, simply that. Then reboot.

I have since noticed, that on full reboot automagic doesn't auto start. Launcher does. But on my 7.1.1 unit it rarely fully reboots. It sort of goes to sleep until the next time I turn my car on. And in this instance, automatic stays on. I believe 4.4 units fully reboot every time?
[Android Head-Units] marcus82:
yes, every time and slowly!!!

i have to find the originaal customer.xml file...damn!
[Android Head-Units] ramathorn1982:
Yes, 4.4.4 units reboot fully every time. The 7.1.1 units are known as "fastboot" and have a sleep/power off delay of sorts that prevents the radio from turning off for 0, 12, 24 or 48 hours.

I'm experiencing something different after converting some apps to system apps. Unlike yours, mine is fully rebooting every time.

The 4.4.4 does a full reboot and/or power on much quicker than the 7.1.1 radios though.
[Android Head-Units] gerd1986:
Great write up, this has helped me immensely, few issues I'm having though I hope you could help with:

I can't add all apps to system apps, Spotify and Waze are too big, is there anyway around this?

Lastly I'm trying to hide the bars but I get an OS message saying "scroll is on" but the bars stay, picture of the log below.

Any help would be greatly appreciated.

https://photos.google.com/share/AF1...?key=SGs2ckZqenpJWHJ1WTJuRVRGaVR1dHpfam02TzhB
[Android Head-Units] Velatropa24:
Make some space in /system, but be careful!! Only delete things like here maps or other non-essential system files, otherwise you get a brick.

I had to also. I deleted here maps because I don't use it. Also don't add every app to system folder, only those that are essential to stay on. Wase - I don't think is essential, it works anyway when you press the navi button. Spotify - there is a different fix to make it work and not shut down - read here: https://xdaforums.com/android-auto/...t/car-launcher-a2dp-icon-home-screen-t3493882

Once your bt music is turned on in the back ground, all music apps will stay on.

As far as the bars - the process I described worked for me. I'm not sure what you are doing wrong. Try to also download automagic workarounds from play store, I believe it is needed for root commands. But I could be mistaking. Make sure all the permissions are granted for automagic, within the app settings themselves and within android settings. Make automagic system administrator, etc...

Try to input the command in terminal emulator:

Su

am broadcast -a "com.szchoiceway.ACTION_SHOW_HIDE_NAV_BAR" --ei "showState" "0"

Make sure there are no mistakes.

If your bars disappear - then you are doing something wrong in automagic.

If not, then check for spelling mistakes.

I will try to make some screenshots of my flows tomorrow, will see if yours are the same.
[Android Head-Units] ramathorn1982:
You can export your working flows and share them too. A member here did the same for me to get me started so I could see how they are built.