yashsingh1/xdaforums huggingface dataset:
[FYT Android Head Units] surfer63:
Thanks for pointing me into the right direction.

When viewing the "Launcher" code in jadx-gui, you see indeed:

public void initAppData() {

this.mRecyclerView = (RecyclerView) mWorkspace.findViewById(C0463R.C0465id.recycler_view);

this.mLeftRecyclerView = (RecyclerView) mWorkspace.findViewById(C0463R.C0465id.left_recycler_view);

LinearLayoutManager layoutManager = new LinearLayoutManager(this);

layoutManager.setOrientation(0); (.line 2882 in my modified Launcher.smali)

LinearLayoutManager leftLayoutManager = new LinearLayoutManager(this);

leftLayoutManager.setOrientation(1);

this.mLeftAppListData = new ArrayList();

The SetOrientation to 0 is for horizontal, and to 1 is for vertical.

The first one (horizontal) is for the standard app list.

The second (vertical) is for the left bar.

It means that in (my modified) Launcher.smali, I have to change:

.line 2882

.local v42, "layoutManager":Landroid/support/v7/widget/LinearLayoutManager;

const/16 v54, 0x0

to

.line 2882

.local v42, "layoutManager":Landroid/support/v7/widget/LinearLayoutManager;

const/16 v54, 0x1

That should make the app bar (inside item_app_list.xml) vertical.

(Extensive answer for "all" the modders here ;).)
[FYT Android Head Units] surfer63:
I tried to maximize the elements in the layout for the "OnlyBottomBar" version for 1280x720, 2000x100 and 2000x1200.

I know I was successful for 1280x720 as that's my resolution, but I do not know for the others.

It is version 1.0.5 in post #1.

Nothing from above post about replacing the app bar from bottom horizontal to vertical left is in this 1.0.5. I did that this morning and only looked into the appbar this afternoon.
[FYT Android Head Units] surfer63:
First version with the app bar from the bottom (horizontal) to the left.

View attachment 6009203

Edit: Of course this version would be more usefull with either widgets on the right side, or horizontally below the PIP window.
[FYT Android Head Units] haixuling:
In this mod, the left side of this launcher 17, can be customized

View attachment 6009469
[FYT Android Head Units] haixuling:
well done
[FYT Android Head Units] surfer63:
"with either widgets on the right side, or horizontally below the PIP window."

And this is exactly the reason why I stopped with this launcher (and I also tried a few others). I can't make the Ubiquity widget work on my system. Not in this launcher, not in the old PeaceOS launcher and neither in the new PeaceOS launcher, and not as an "extra" widget on the screen in Nova Launcher or another FYT launcher.

After a reboot, the first media player that is used, displays fine (and of course I don't have the Google app installed).

Any next player does not work, even though I stop the previous player by simply exciting it, remove it from recent apps, or forcefully stop it from the App Settings. That player simply stays in the Ubiquity widget.

What's more: If I use a media player, stop it and force stop it, the widget still shows the last song playing. If I now start the same app, also the widget is not updated with the next song.

On both my phones (private and work) the Ubiquity widget works splendid. I really don't get it.

Using the standard music widget with König's WidgetUpdater (Demo for 14 days) and MusicProxy works fine (with standard FYT Music, NavRadio+, RadioDroid, Music Folder Player Full), but that costs me 11,99 Euros. I myself am 200% into Open Source and share everything I know, so I don't want to spend "that much" money on that either, where other apps costs between 1,99 to 4,99 (I have multiple). It is just a principle.

View attachment 6010081
[FYT Android Head Units] surfer63:
The 1920x2000 resolution is a "not supported" resolution.

For that reason @packyman created this launcher for 1920x1200 inside the 1280x720 layout elements. For that reason this is a 1920x2000 launcher only.

The app drawer (that shows you the apps you can choose/start) is normally 3 rows by 7 icons. He made it 4x7.

@packyman was so friendly to share his Mod with us.

You can find his Mod in post #1 under "190001034_com.android.launcherBottomMap.apk" with two screenshots.
[FYT Android Head Units] haixuling:
In only left bar

I modified the direction of rotation to vertical, but the screen keeps flashing when loading the launcher does not load normally, is there an error with the xml file？Is the left side not high enough to load the 7 icons of the bottom .

Looking forward to your work
[FYT Android Head Units] shiminis:
This looks nice on 1920x2000 imo.

If you'll be developing it forward it will be great to have a combo of several launchers
[FYT Android Head Units] surfer63:
You also need to make changes in the item_app_list.xml

Change

<LinearLayout android:gravity="center" android:orientation="vertical" android:layout_width="100.0dip" android:layout_height="fill_parent"

to

<LinearLayout android:gravity="center" android:orientation="vertical" android:layout_width="100.0dip" android:layout_height="100.0dip"

(Or whatever the size of your icons/entries is).

And even thought the texts are not visible you need to change the line of the Textview as well and remove android:singleLine="true".

7 vertical icons are not possible by default (or you need to shrink them a lot). The size is less than 7, but you could use a ScrollView around the appbar to make it up/down scrollable (that is what @LLIyT_HuK is doing).

Edit: Of course you also need to change the custom_one.

Below my very first one (for 1280x720). I stupidly deleted my newer version, which had a few changes and updates, instead of this old one that tries to show 7 buttons, but can't. That is also why you need the scrollview around it.

<RelativeLayout android:id="@id/rl_left_bar" android:background="@drawable/hotseat_bg" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_marginLeft="0.0px" android:layout_marginTop="0.0px">
<android.support.v7.widget.RecyclerView android:id="@id/left_recycler_view" android:layout_width="150.0px" android:layout_height="1000.0px" android:layout_marginTop="30.0px" />
</RelativeLayout>

<RelativeLayout android:id="@id/iv_list_bg" android:background="@drawable/app_list_bg" android:layout_width="100.0px" android:layout_height="660.0px">
<android.support.v7.widget.RecyclerView android:id="@id/recycler_view" android:layout_width="100.0px" android:layout_height="481.0px" android:layout_marginTop="5.0dip" />
<ImageView android:id="@id/rl_allapps" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:src="@drawable/all_apps_btn_icon" android:layout_alignParentBottom="true" />
</RelativeLayout>

<ImageView android:id="@id/iv_map1" android:background="@drawable/ic_map_corner" android:layout_width="1165.0px" android:layout_height="650.0px" android:layout_marginLeft="5.0px" android:layout_marginTop="5.0px" android:layout_toRightOf="@id/iv_list_bg" />
[FYT Android Head Units] LLIyT_HuK:
I first made 9 icons, but it seemed too small to me. Then I made 6 icons and three appear when scrolling. This is not ScrollView, but behavior when there is not enough space =)
[FYT Android Head Units] haoxuling:
can we replace the method of initappdata all codes frome five icons bar, in android apkkiller？
[FYT Android Head Units] surfer63:
I do not understand what you mean.

Do you want to remove the standard entries in the code?

Or do you want to kill the app (launcher) ?
[FYT Android Head Units] haoxuling:
It is an unworkable solution and a mistake。Ignore it
[FYT Android Head Units] epidoral:
Good evening, is it possible to create this launcher with 1280x640 resolution Thank you

Boa noite, é possível criar este launcher com resolução 1280x640 Obrigado
[FYT Android Head Units] rol77:
Hi @surfer63, congratulations on your work, I love this launcher and have been using it for many months now.

Is it possible to have a link to download this version of the launcher?

I tried to make some changes myself following your guide in post #2, but even if I only change an icon or a background and recompile it, my FYT unit (NAVIFLY M500 4/64) tells me that it is impossible to install the app, if I install it via lsec script, the changes made are not there.
[FYT Android Head Units] surfer63:
I will have a look. I stopped the "development" as the Ubiquity widget simply does not work correctly on my unit, despite all the good advices I already got.

And I asume you mean for 1280x720 as that is the only version I made.
[FYT Android Head Units] rol77:
Yes I mean 1280x720. I would like to have a version of the launcher with the app bar from the horizontal bottom to the left (vertical) without recent apps and with a big PIP-window, I don't care about the music widget. I saw from the image you posted in post #217 that it is exactly what I was looking for, and I was wondering if you could also publish this version as it is (without music widget)....
[FYT Android Head Units] surfer63:
I uploaded it as last one in post #1. This one is ONLY for 1280x720. It has the scrollable application bar (assigned favorites). It is a screen capture and I forgot to make the "touch place" as white transparent circle, so the app icons seem to move by "magic" ;).

View attachment 6017371
[FYT Android Head Units] rol77:
Thanks @surfer63, it's exactly what I was looking for! There is only one small imperfection on the left of the PIP-Window (as highlighted in the image below). I would like to always have a total-black background, but as I mentioned in my first post, by replacing the background images in the decompiled and then recompiled apk, my FYT unit does not install it.
[FYT Android Head Units] surfer63:
Then create a black background png and assign it as background to the launcher.

Or do not decompile it, but unzip it, replace the background and rezip it.
[FYT Android Head Units] haoxuling:
Thank you for all your work, it was very complex and useful. Thanks to all the fans for their dedication and participation.。
[FYT Android Head Units] rol77:
Thanks again @surfer63. Using the unzip-zip method, I was able to get what I wanted (see attachment). Now I would like to work on customizing the icons (for example spotify, dab-z...), so in addition to adding the custom png, I should edit some .xml files of the launcher. To do this it is mandatory to use apktool, but as I told you after the modifications and recompilation (without any error), the generated apk is not executed by my FYT unit.
[FYT Android Head Units] surfer63:
Let's take dab-z as an example.

In values/public.xml you need to add a new drawable and in xml/custom_icons.xml you define the icon itself, like

values/public.xml: <public type="drawable" name="com_zoulou_dab" id="0x7f020178" />

xml/custom_icons.xml: <entry launcher:epkg="com.zoulo.dab" launcher:eclazz="com.zoulo.dab.<MainIntent>" launcher:eicon="@drawable/com_zoulou_dab" />

And then in "drawable-nodpi-v4", you add the com_zoulou_dab.png icon.

The id="0x7f020178" needs to be a free number which you need to find/determine/calculate.

The <MainIntent> needs to be the main intent of Dab-Z when it starts. I do not know what that main intent is.

When decompiling the apk you just use "apktool d <name_of>.apk".

When recompiling use "apktool b -c <decompiled_folder_name>"
[FYT Android Head Units] lowridincrew,:
Hey, is there a way I can help with developing a 1920x1080p variant?
[FYT Android Head Units] rol77:
View attachment 6019502

Thanks for the useful advice. when compiling the apk I didn't use the -c option because it told me it was deprecated, however it is necessary for the correct compilation of the apk. I changed the icons of the apps that interested me, the only one that wasn't successful is Poweramp icon, I used both eclazz="com.maxmpz.audioplayer.MainActivity" and eclazz="com.maxmpz.audioplayer.StartupActivity" (both existing ), but the icon does not change. For now, however, I am satisfied with the result obtained.
[FYT Android Head Units] surfer63:
That depends whether you have the trial version or the Pro version.

The trial version could be your "com.maxmpz.audioplayer.MainActivity". For the Pro version it would then be "com.maxmpz.audioplayer.unlock.MainActivity".

But I do not know the main activity name and I do not know which version you have.
[FYT Android Head Units] kazlaz:
Can you share the signing key? I tried to make some changes myself, but the installation failed
[FYT Android Head Units] surfer63:
I don't sign.

I use apktool to decompile and use "apktool b -c <apk-folder>" to recompile. First installation then requires an lsec script. If you already have one from @LLIyT_HuK or myself installed, you can just run it as an updatable apk.

And di you read post #2. It mentions it clearly at the bottom.
[FYT Android Head Units] haixuling:
Modded FYT Launcher 34 for uis7862(s) and uis8581a (and probably uis8514a)

Modded Launcher34 I modded the Launcher34. The spoiler shows the "Original Launcher" and the 3 different mods: Launcher with left "hot seat" (recent apps) bar and bottom favorites app bar. Launcher with only the left "hot seat" (recent apps)...

xdaforums.com

#45
[FYT Android Head Units] Birdwatcher_:
Can this launcher be installed on iDoing head unit UIS7862(S) ?
[FYT Android Head Units] KoTiX2:
The sign key used by FYT is a standard Google sign key with "android" as user and password.

Any FYT system app can practically be replaced with your own mod . If you raise up the version code it will be installed as an update of the original app and it'll be easy to remove from the app informations.
[FYT Android Head Units] Birdwatcher_:
Do this .apk's it bring the whole interface similat to your screenshots, like icons, backgrounds etc. or just layout of main screen? The apps look different on your screenshots, like radio and stuff from my own iDoing...
[FYT Android Head Units] surfer63:
Is your Idoing a FYT unit? This is the FYT forum so I assumed you had a FYT.

But if apps look different, it is almost 100% not a FYT (different look of the icons is the launcher).
[FYT Android Head Units] Birdwatcher_:
My iDoing HUnit's info:

* Device name UMS512_1h10_Natv

* OS Android 10

* System Info App 1280x720

* CPU Info UIS7862 (S)

*MCU Version 2023.06.02

* V_Out 1024x600

* Kernel #409 SMP PREEMPT

* Platform (63) 6315 F Full Band
[FYT Android Head Units] marchnz:
Post full MCU version or use surfer's hwinfo tool
[FYT Android Head Units] Birdwatcher_:
Sorry, here is full MCU Version:

2023.06.02 17:44:53 PSTAR_53_L6315_N32P48F64_E60_V:1.0
[FYT Android Head Units] Birdwatcher_:
Hi,

So what's the verdict, is my unit FYT and can I use this launcher? Thank you.
[FYT Android Head Units] surfer63:
Your info is not what we expect. All Android units have the system info option which you should have used.

But it indeed is a FYT.
[FYT Android Head Units] Birdwatcher_:
Hello surfer63,

will keep that in mind, I am still learning "the ropes", sorry... :)

So, since my iDoing unit is also "FYT" and CPU is UIS7862 (S), than I assume I can install your modded Launcher34, am I right?

Screenshot of your launcher's Bluetooth/Phone Dialer is not shown, so I wonder is there a "Star/Favorites" icon there for quick dials? Will your launcher use same Dialer/Bluetooth app with no favorites that came with my unit or it's gonna bring new Dialer with it? May be with "Favorites".

If anything goes wrong is there a way to revert back to original or "Square Home", what I have now?

Thank you, your help is much appreciated.
[FYT Android Head Units] surfer63:
Only the launcher has been modified. Nothing else of the firmware.

On you system are multiple launchers. If you have an issue with one launcher, you simply select another. Simply follow the steps described in post #1
[FYT Android Head Units] rol77:
@surfer63

in the 1920*1080 version, how did you get the full format of the icons of the installed apps (e.g. google maps)? Is it possible to have this effect also in the 1280*720 versions, and remove that horrible colored outline from the icons?
[FYT Android Head Units] surfer63:
I did not make the 1920x1080, @packyman did that.

And yes, it can be easily removed. I just didn't care about that, but I do admit that it looks much better.
[FYT Android Head Units] rol77:
I took a look at the various xml files, but I didn't find anything that made me think about the style of the icons...
[FYT Android Head Units] surfer63:
You did not look in enough xml files :)

The layout for 1920x1200 is also defined inside 1280x720 as 1920x1200 is simply not supported in this launcher (maybe it is in the launcher34 in the new MaxPro 3D firmware as the 3D Max 13" is 1920x1200). I did not look at that yet. That would be a nice update.

The sizes of icons is defined in values-1280x720/dimens.xml and the number of rows/columns is defined in values-1280x720/integers.xml.

EDIT:

The previous launcher34 only supported:

layout-1024x600

layout-1280x720

layout-2000x1100

layout-2000x1200

The new launcher34 from the the 3Dmax firmware supports:

layout-1024x600

layout-1280x720

layout-1280x800

layout-1920x1100

layout-2000x1100

layout-2000x1200
[FYT Android Head Units] Clandaries:
My Max 3D 13 inch head unit is on its way.

I have massiv problems with the steering wheel key app from Teyes, therefore i will try another seller.
[FYT Android Head Units] jokerpzo:
i saw smali code for pip windows is

```

SystemProperties.set("sys.lsec.pip_rect", "178 125 1285 831");

```

how can i calculate for sys.lsec.pip_rect? what 4 number mean?
[FYT Android Head Units] surfer63:
Thanks for mentioning it. I added that to post #2, the smali section.

I added:

You will find something like const-string v2, "10 65 1270 620", where the coordinates are absolute values for "top-left x", "top left y", "bottom right x" and "bottom right y".
[FYT Android Head Units] jokerpzo:
thanks for your help :D i tried and it worked :x
[FYT Android Head Units] elxordielx:
Can use this app on my launches? It has pip windows, but sistem only let me select youtube or google maps, and i want to have tomtom maps…
[FYT Android Head Units] fabiodedo:
Hi @surfer63,

I installed and overwrote your launcher34 with LLIyTHuK's.

I can't go back and get your Launcher34 back. I tried to install your installer, I tried to use your uninstaller, I tried to launch the simple apk... but nothing! Launcher34 is there and doesn't move.

I also tried to remove it with Mario's FMC, but upon reboot it's still there.

I would like to put yours back
[FYT Android Head Units] matt205gti:
Hi, i've installed the modded 34 a while back, with the Teyes front app on my M6 Pro Plus 2k.

I love it, but for some reason the wallpaper keeps switching between two different ones by itself, no matter what i set it too it will switch between the set one and another one (both are wallpapers included in the modded 34 apk).

This behaviour seems to conincide with some instability which can result in the launcher or even the whole unit restarting.

Any ideas gratefully accepted.
[FYT Android Head Units] surfer63:
Which one of the mentioned modded launchers did you install?

The launcher34 has day/night mode and switches automatically using its internal backgrounds.

Also on reboot.

The only option is to replace the backgrounds inside the apk using your own like I described 1-2 pages earlier.

And in the last mod I removed the day/night switch.
[FYT Android Head Units] matt205gti:
Hi.

It was OnlyBottomAppBar_190001034_com.android.launcher34

I could try just duplicating so when it switches it's the same, but so odd that it does it itself with no intervention. What is the mechanism to determine it's night?
[FYT Android Head Units] j0hn83:
That depends on how you set your unit.

There's an option in the Settings called something like "Backlight Control: on/off time based control / light based).

If you set it to time, time controls day and night, though possibly Chinese time.

If you set it to the other setting then your ILL+ (Illumination/headlight) wire controls day and night.

In short, turning my headlights on and off controls day and night mode on the launcher.
[FYT Android Head Units] czekson:
Same problem, same bottombar version.

I think that this is not a problem for time/headlight change. My setting is on headlights switch, it works well if i talk about buttons backlights.

Setting wallpaper in settings only changes one of two backgrounds.

Everytime i press "HOME" button on side of screen it causing wallpaper change.

Maybe changing wallpapers for two same will be a solution, but launcher will be keeping changing it so may cause stability problems.
[FYT Android Head Units] surfer63:
That's the point with modded launchers.

First off: Having two internal wallpapers switching day/night is not a problem, but a "feature". It is specifically built that way by FYT. Also for launcher 33, 46 and 64 (and maybe others by now as well). And I myself am perfectly happy with the two defaults as I simply don't care.

Secondly: The last launcher I built has the day/night switch switched off. But as I totally lost interest in modding the new FYT launchers as it always shows Google Maps in PIP-mode in the PIP-window (unless you implement workarounds by never starting Maps in the PIP-window but fullscreen and then switch to PIP-window).

So you can change it yourself if you want.

And I reversed my last launcher back to having the day/night switch (only for myself, not published) as the day wallpaper is way too bright at night. But now I'm back at Nova with the split-screen launcher.
[FYT Android Head Units] czekson:
Surfer, anyway thank you very much for your work.

I don't mention about PIP function, because it works fine for me.

In my video (post above) the PIP is not working because i killed google maps app :).

Talking only about wallpaper issue:

So i downloaded wrong version from #1 post 23-09-2023, v1.0.5 (with disabled background change) or i don't understand?

I implemented your launcher (installer + apk) in my firmware, flashed so its clean install, but the wallpapers keeps changing 'itself' without matter of time and headlights switch.
[FYT Android Head Units] surfer63:
To be honest: I can't remember exactly.

I created modded launchers without day/night switch, which enabled you to chose your own wallpaper and it would stay that way.

Then I removed that "disabled day/night" switch again.

If you are happy with the launcher, the simplest thing to do is to:

unzip the apk.

Inside you will find a folder "res/drawable-nodpi-v4".

Inside that folder you wil find "def_bf.png" and def_bg_n.png" (day and night wall paper).

Replace those two with your favorite wallpaper(s), but use the same names!

Rezip the file. Check that you have the internals correct with regard to paths/folders and the like.

If you already have the launcher installed, you can simply install it as a regular app from your usb-disk. Otherwise use the installer and replace the apk with your modded apk.

Repeat if you grow tired of your "favorite" wallpapers and have new "favorite" wallpapers. ;)
[FYT Android Head Units] czekson:
Thank you for solution!

I will do some reserach about this 'malfunction' before editing, maybe i will find out what is cause of problem.
[FYT Android Head Units] matt205gti:
I've created modified apk as mentioned by surfer63, will try it later, thank you both for the replies on this.
[FYT Android Head Units] czekson:
Nice to hear that.

No clue what can be reason of wallpapers changing on single 'home' touch, but...

Today i noticed that black fading 'animation' occured when driving car so i take my eyes off the road sometimes.

Changing for two same background will not disable black fading animation between bgs in my opinion, so im gonna try to remove it completly.

surfer, you mentioned (but not remember in which version) that you disabled it.

Can you say something how did you do that? Looking for some hints.

Found some 'def_bg_n' words in arrays.xml, and values.xml but they are according only for language translations.

Which words are responsible for day/night change or dimming/fading? Any help is appreciated.