• We are moving to xdaforums.com!

    Posts made between now and when the migration is complete will not be carried over.
    You will be automatically redirected once the migration is complete.

[Guides & Links] TOUCHWIZ UNIFIED MODS THREAD

Search This thread

cnkzlyr

Senior Member
Oct 21, 2014
1,337
1,187
25
Ankara
@ShaDisNX255 thanks sir. But, is there any other working method without modifying framework.jar? Bcoz I cant apply this for odexed firmwares. And for deodexed firmwares, also framework.jar editing is a pain (for example it takes 15+mins to boot after flashing framework.jar. So if you have any other method can you tell me?
Or do u know how to mod odexed rom's framework.jar?
Regards
 

ShaDisNX255

Senior Member
Apr 3, 2014
2,965
1,965
Matamoros
Samsung Galaxy A52 4G
@ShaDisNX255 thanks sir. But, is there any other working method without modifying framework.jar? Bcoz I cant apply this for odexed firmwares. And for deodexed firmwares, also framework.jar editing is a pain (for example it takes 15+mins to boot after flashing framework.jar. So if you have any other method can you tell me?
Or do u know how to mod odexed rom's framework.jar?
Regards

I think there is a way to directly modify odex, but I've never attempted it myself. You can google it, there may be a way.
Other than that, I have never seen any other method to change notification text
 

3to4

Senior Member
Aug 13, 2009
422
72
Lyon
This is for Lollipop, the method name is different now and the location has changed but everything else should be the same:

[Guide] Enable Lockscreen Rotation Lollipop
SystemUI.apk smali edits:
smali\com\android\systemui\statusbar\phone\StatusBarWindowManager.smali

Increase .locals by 2 and add new code in BLUE
Code:
.method private shouldEnableKeyguardScreenRotation()Z
    .locals [COLOR="blue"]5[/COLOR]

    [COLOR="blue"]iget-object v3, p0, Lcom/android/systemui/statusbar/phone/StatusBarWindowManager;->mContext:Landroid/content/Context;

[/COLOR]    const/4 v1, 0x0

    [COLOR="blue"]invoke-virtual {v3}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v3

    const-string v4, "lockscreen_rotate"

    invoke-static {v3, v4, v1}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

    move-result v3

    if-eqz v3, :cond_td

    const/4 v1, 0x1

    :cond_td[/COLOR]
Customsettings:
Code:
<SwitchPreference android:title="Lockscreen Rotation" android:key="lockscreen_rotate" android:summaryOn="Lockscreen rotation enabled" android:summaryOff="Lockscreen rotation disabled" />

Edit: And the reason I put the part 'with a toggle in mind' was because there is another easy way to enable lockscreen rotation but the one I chose to share was so a toggle could be used there.

Can someone please give me a link for the other easy way for lockscreen rotation? I applied this mod to my Galaxy Note 3 lollipop, but it is not working. I checked the code and every thing seems to be correct. I don't need a toggle, if I get rotation for lockscreen. Thank you.

PS: I found it! It's bools.xml in Framework-res/res/values. It is very easy!!
 
Last edited:

xuswanto

Member
Jul 16, 2012
13
1
Surabaya
Credit goes to @renzetti.s from xda & zmeeed1 from 4pda

Features on both notification and recent panel:
1. Visibility on/off (via switch)
2. Blur Degree (via seekbar)
3. Background Opacity (via seekbar)


Lets Start work....

Notification Blur
(Default screen 720x1280, but other size need to change in PhoneStatusBarBlurImageView.smali)​
SystemUI Parts:
1. Decompile SystemUI and Merge the given smali files with attachment

2. Now open PhoneStatusBar.smali (SystemUI.apk\smali\com\android\systemui\statusbar\phone)

3. add this method under the # virtual methods

Code:
.method public setBlurImageView(I)V
    .locals 4
	    
    iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0
	    
    const v2, 0x1

    const-string/jumbo v1, "blur on"

    invoke-static {v0, v1, v2}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

    move-result v3
	    
    iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Lcom/android/systemui/statusbar/phone/NotificationPanelView;

    const v1, 0x7f130464    ###<public type="id" name="backgroundImageView" id="0x7f130464" />

    invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;
	    
    if-eqz v3, :cond_1
	    
    invoke-virtual {v2, p1}, Landroid/widget/ImageView;->setVisibility(I)V

    return-void

    :cond_1
    const v1, 0x4
	    
    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setVisibility(I)V
	    
    return-void
.end method

4. In same smali find this method:
Code:
  .method makeExpandedInvisible()V

5. add this before return-void
Code:
const/4 v0, 0x4

    invoke-virtual {p0, v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setBlurImageView(I)V

6. In same smali find this method:
Code:
.method makeExpandedVisible(Z)V

7. add this before return-void
Code:
const/4 v0, 0x0

iget-object v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanel:Lcom/android/systemui/statusbar/phone/NotificationPanelView;

invoke-virtual {v2}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->isPanelVisibleBecauseOfHeadsUp()Z

move-result v2

if-eqz v2, :cond_12

const/4 v0, 0x4

:cond_12

if-eqz p1, :cond_123

const/4 v0, 0x4

:cond_123
invoke-virtual {p0, v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setBlurImageView(I)V

8. Now Open status_bar_exanded.xml (res/layout) and this line below xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Code:
<com.layout.zidni.LayoutOff android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" key="blur_hide_not">
    <com.android.systemui.statusbar.phone.PhoneStatusBarBlurImageView android:id="@+id/backgroundImageView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" />
</com.layout.zidni.LayoutOff>

9. Now recompile your SystemUI & Decompile again.

10. Match public.xml ids with PhoneStatusBar.smali
Code:
<public type="id" name="backgroundImageView" id="0x7f130464" />


Done!! Now recompile, sign and push SystemUI

ROM Control Part for Notification
V1 Preferences
Code:
<PreferenceCategory android:title="Blur Effect on Notification Background"/>
    <SwitchPreference
        android:defaultValue="false"
        android:key="blur_hide_not"
        android:summaryOff="Deactivate"
        android:summaryOn="Activate"
        android:title="Blur Notification" />
    <com.wubydax.romcontrol.prefs.SeekBarPreference
        min="0"
        unitsRight="°"
        android:defaultValue="2"
        android:key="blur_degree_noti"
        android:max="20"
        android:title="Blur Degree" />
    <com.wubydax.romcontrol.prefs.SeekBarPreference
        min="0"
        unitsRight="%"
        android:defaultValue="20"
        android:key="bg_blur_noti"
        android:max="250"
        android:title="Background Opacity" />
V2 Preferences
Code:
<PreferenceCategory android:title="Blur Effect on Notification Background"/>
    <com.wubydax.romcontrol.v2.prefs.MySwitchPreference
        android:defaultValue="false"
        android:key="blur_hide_not"
        android:summaryOff="Deactivate"
        android:summaryOn="Activate"
        android:title="Blur Notification" />
    <com.wubydax.romcontrol.v2.prefs.MySeekBarPreference
        app:minValue="0" 
	app:maxValue="20" 
	app:unitsValue="°"
        android:defaultValue="2"
        android:key="blur_degree_noti"
        android:title="Blur Degree" />
    <com.wubydax.romcontrol.v2.prefs.MySeekBarPreference
        app:minValue="0" 
        app:maxValue="250" 
	app:unitsValue="°"
        android:key="bg_blur_noti"
        android:title="Background Opacity" />
Recent Panel Blur
(Default screen 720x1280, but other size need to change in PhoneStatusBarBlurRecent.smali)​
SystemUI Parts

Tested on LP-5.0(AOSP) MM-6.0 (Aosp), N-7.0(samung s7 edge)

Lets Start...

1. Decompile SystemUI and Merge the given smali files

2. Now Open recents.xml (res/layout) and this line below xmlns:android="http://schemas.android.com/apk/res/android">
Code:
<com.layout.zidni.LayoutOff android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" key="blur_hide_recent">
    <com.android.systemui.statusbar.phone.PhoneStatusBarBlurRecent android:id="@+id/backgroundImageView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" />
</com.layout.zidni.LayoutOff>

Done!! Now recompile, sign and push SystemUI

ROM Control Parts:

V1 Preferences
Code:
<PreferenceCategory android:title="Blur on Recent Panel Background"/>
    <SwitchPreference
        android:defaultValue="false"
        android:key="blur_hide_recent"
        android:summaryOff="Deactivate"
        android:summaryOn="Activate"
        android:title="Blur Recent Panel" />
    <com.wubydax.romcontrol.prefs.SeekBarPreference
        min="0"
        unitsRight="°"
        android:defaultValue="2"
        android:key="blur_degree_recent"
        android:max="20"
        android:title="Blur Degree" />
    <com.wubydax.romcontrol.prefs.SeekBarPreference
        min="0"
        unitsRight="%"
        android:defaultValue="20"
        android:key="bg_blur_recent"
        android:max="250"
        android:title="Background Opacity" />

V2 Preferences
Code:
<PreferenceCategory android:title="Blur on Recent Panel Background"/>
    <com.wubydax.romcontrol.v2.prefs.MySwitchPreference
        android:defaultValue="false"
        android:key="blur_hide_recent"
        android:summaryOff="Deactivate"
        android:summaryOn="Activate"
        android:title="Blur Recent Panel" />
    <com.wubydax.romcontrol.v2.prefs.MySeekBarPreference
        app:minValue="0" 
	app:maxValue="20" 
	app:unitsValue="°"
        android:defaultValue="2"
        android:key="blur_degree_recent"
        android:title="Blur Degree" />
    <com.wubydax.romcontrol.v2.prefs.MySeekBarPreference
        app:minValue="0" 
	app:maxValue="250" 
	app:unitsValue="°"
        android:key="bg_blur_recent"
        android:title="Background Opacity" />

Contributors
@renzetti.s
zmeeed1 (4pda)
Venkat Kamesh
Zidni
Daxgirl & Wuby986 for rom control

How to change default screen ??my screen 540 x 960 pixels.
 

cnkzlyr

Senior Member
Oct 21, 2014
1,337
1,187
25
Ankara
Hello devs. Im using s5 G900H mm stock based odexed rom.

As u know on Iphone and Android 7+ while we use a Bluetooth headset, we can see its charge level near the status bar icon of bluetooth.

Now I want to get the bluetooth earphone battery feature on my marshmallow rom's systemui.

Do u know a method to get it?

Thanks in advance
@ShaDisNX255 @daxgirl @Eleo @edzamber @malbert16442
 
Apr 9, 2015
13
4
24
Pringsewu, Lampung
[Guide] Dynamic Statusbar Gradient Android MM UPDATE

Dynamic Statusbar Gradient is not just another gradient modification, it detects the package that is opened and applies the gradient color to adapt dynamically to match. This also applies to applications that do not normally have a statusbar color. It is a really nice addition to any rom.
Cheers - TD


This guide is just an update path to get this working properly on Android MM.
I will be only including the updated files and Rom Control settings.
Please follow the entire guide here first:

Dynamic statusbar android 5.x.x maybe 6.0


To simplify, only changes are to SystemUI smali and Rom Control.

Step 1 - Follow instructions from original guide EXCEPT for changing ID's in color.smali and Rom Control edits.

Step 2 - *** Download and apply the files attached to the bottom of this post.

Step 3 - In added colors.smali, match public ID's so they match with your recompiled version.
SystemUI\smali\com\fmd\statusbarcolor\color.smali
Code:
const v0, 0x7f0e037d  ## [COLOR="Red"]3 occurrences[/COLOR]  <public type="id" name="dynamic_status_bar_filter" 
const v0, 0x7f0e037e  ##  [COLOR="red"]3 occurrences[/COLOR]  <public type="id" name="dynamic_status_bar_gradient" 
const v1, 0x1050017  ## framework-res\res\values\public.xml - "status_bar_height"

Step 4 - Rom Control
New Rom Control entries:
Code:
 android:title="@string/dynamic_status_bar_title">
        <SwitchPreference
            android:title="Dynamic StatusBar Color"
            android:key="dynamic_toggle"
            android:defaultValue="false"
            android:summaryOn="Dynamic StatusBar features enabled"
            android:summaryOff="Dynamic StatusBar features disabled" />
        <com.wubydax.romcontrol.prefs.MyListPreference
            android:entries="@array/dsb_gradient_filter_entries"
            android:title="@string/dynamic_status_bar_gradient_title"
            android:key="dynamic_status_bar_gradient_state"
            android:dependency="dynamic_toggle"
            android:summary="@string/dynamic_status_bar_gradient_summary"
            android:defaultValue="2"
            android:entryValues="@array/dsb_gradient_filter_values" />
        <com.wubydax.romcontrol.prefs.MyListPreference
            android:entries="@array/dsb_gradient_filter_entries"
            android:title="@string/dynamic_status_bar_filter_title"
            android:key="dynamic_status_bar_filter_state"
            android:dependency="dynamic_toggle"
            android:summary="@string/dynamic_status_bar_filter_summary"
            android:defaultValue="2"
            android:entryValues="@array/dsb_gradient_filter_values" />
        <com.wubydax.romcontrol.prefs.SeekBarPreference
            android:max="70"
            android:title="@string/dynamic_status_bar_filter_value"
            android:key="dynamic_status_bar_filter_value"
            android:dependency="dynamic_toggle"
            android:defaultValue="10" min="0" />
The following has not changed from the original guide:
Strings
Code:
    <string name="dynamic_status_bar_title">Dynamic status bar</string>
    <string name="dynamic_status_bar_color_title">Dynamic status bar color</string>
    <string name="dynamic_status_bar_color_summary">Automatically update background color of the status bar</string>
    <string name="dynamic_status_bar_gradient_title">Gradient</string>
    <string name="dynamic_status_bar_gradient_summary">Overlay a gradient on the status bar</string>
    <string name="dynamic_status_bar_filter_title">Darkening</string>
    <string name="dynamic_status_bar_filter_summary">Overlay a darkening filter on the status bar</string>
    <string name="dsb_gradient_filter_value_0">Off</string>
    <string name="dsb_gradient_filter_value_1">Only on the desktop</string>
    <string name="dsb_gradient_filter_value_2">Everywhere except the desktop</string>
    <string name="dsb_gradient_filter_value_3">On</string>
    <string name="dynamic_status_bar_filter_value">The intensity of the darkening filter</string>
Arrays
Code:
    <string-array name="dsb_gradient_filter_entries">
        <item>@string/dsb_gradient_filter_value_0</item>
        <item>@string/dsb_gradient_filter_value_1</item>
        <item>@string/dsb_gradient_filter_value_2</item>
        <item>@string/dsb_gradient_filter_value_3</item>
    </string-array>
    <string-array name="dsb_gradient_filter_values">
        <item>0</item>
        <item>1</item>
        <item>2</item>
        <item>3</item>
    </string-array>

All credits:
@madgit @Alex&rK @grisha84 @dugeriss Dynamic Statusbar

Thanks work also on nougat.. (J5 Prime Y variant DXU1BQJ1). Btw, any guide for flat dsb ?
 

3to4

Senior Member
Aug 13, 2009
422
72
Lyon
Folder question!

Actually, I am trying to have a landscape incall screen in my Galaxy Note 3 (N9005 International) Lollipop.

I don't understand smali coding, but after some trial and error, now my screen is in landscape when I receive a call (picture attached). However, the buttons are very big...

So, to arrange the layout, I made changes in "layout-land/in_call_button_voice_fragment.xml", but my incall screen in landscape did not change.

So, just to see if it is the right file, I changed a color in "layout/in-call_button_voice.xml", then the color was changed both in portrait and landscape.

So, "in_call_button_voice_fragment.xml" seems to be the right file to work on, but the file with the same name in the folder "layout-land" does not control the layout in landscape. The file "in-call_button_voice.xml" in "layout" controls both for portrait and landscape.

So, my question is;

What tells if the "in-call_button_voice.xml" in one folder (layout) and not the other (layout-land) is applied?

(By the way, with KitKat, when I made a change in the appropriate file "endcall_buttons_view" in "layout-land", the change was applied only in landscape. So, I would like to understand what tells the phone to choose the folder)

This is almost a general question, because there are many layout or drawable folders, and there are files in these folders, but I have never understood what tells the phone to choose a specific folder and not another. I would like to understand. Sorry for my lack of knowledge, but if someone can give me some explanations or a link to some tutorial, I would really appreciate. Thank you.
 

Attachments

  • Screenshot_2019-01-24-07-37-52.png
    Screenshot_2019-01-24-07-37-52.png
    109.8 KB · Views: 201
Last edited:

cnkzlyr

Senior Member
Oct 21, 2014
1,337
1,187
25
Ankara
Is there any way to port lineage os (cyanogenmod as old name) lockscreen music visualizer to toucwiz marshmallow? Im using s5 exynos stock rom. I want to have it please help me instruct me. At least tell me which file required to be modified; systemui or framework-res.apk or framework.jar or both? What to edit? What is the difficulty?
Thanks in advance

---------- Post added at 01:20 AM ---------- Previous post was at 12:43 AM ----------

Sir @a.raul used your guides,

Modded services.jar and systemui. Checked secsettings and framework-res apks, they have already.

Additionally I enabled significant motion to pulse option on systemui to enable handshake to launch ambient display.

As result, when notificaton came, or pickup device, screen turns on, I see lockscreen with lower brightness that doesnt allow me to touch screen before clicking home or power button. And this problematic ambient display is not for several seconds as it should be normal, it stays forever till I unlock device.


I want this mod very much sir what can I do to fix it? Also Idk how to get log related to ambiet display

Thanks in advance
Anyone can help me? @Eleo @karkass @malbert16442 @amtra @edzamber
 

cnkzlyr

Senior Member
Oct 21, 2014
1,337
1,187
25
Ankara
Adding CM Visualizer on TW MM

Here is the link just follow the guide then

http://forum.xda-developers.com/showthread.php?t=3070550

After u finish the guide there now

Add this in navigation_bar.xml ( i found 2 xml & added in both ) at the end of the xml ,,



<com.adi.rom.interface.MusicEqualizerVisualizer android:layout_gravity="bottom" android:id="@id/new_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="0.0dip">
<FrameLayout android:id="@id/new_custom_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.adi.rom.interface.VisualizerView android:id="@id/new_custom_visualizer_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>
</com.adi.rom.interface.MusicEqualizerVisualizer>








Now if u didn't see it worked then u need clean install rom to get it working perfectly


Rc

In arrays.xml


<string-array name="visualizer_style_entries">
<item>Hide</item>
<item>Random</item>
<item>Circular</item>
<item>Lines</item>
<item>Top Bottom Graphic</item>
<item>Circle</item>
<item>Cycle Color Graphic</item>
<item>CyanogenMod</item>
</string-array>
<string-array name="visualizer_style_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
</string-array>


& this where u want like ui_prefs.xml


<PreferenceCategory android:title=" CM Music Visualizer " />
<CheckBoxPreference android:title="Music Visualizer" android:key="show_equalizer" android:summary="Enable Notification Panel Music Visualizer." android:defaultValue="false" />
<com.wubydax.romcontrol.prefs.MyListPreference android:entries="@array/visualizer_style_entries" android:title="Choose Visualizer Style" android:key="equalizer_visualizer_style" android:summary="%s" android:dependency="show_equalizer" android:defaultValue="0" android:dialogTitle="Select Visualizer" android:entryValues="@array/visualizer_style_values" />


Ss ::
problem solved ignore
 
Last edited:

cnkzlyr

Senior Member
Oct 21, 2014
1,337
1,187
25
Ankara
Hello Im using S5 Exynos Stock MM ui. I want to add this text to the navigation_bar.xml on systemui/res/layout. But I tried billions times couldnt set the true format for it. So it is giving xml format error on apktool while recompiling it. Can anyone help me and add the text to the file? Im attaching the file and the text. Thanks in advance
The text need to be added at the end of the xml file. It need to have true format :)
 

Attachments

  • navigation_bar.xml
    9.7 KB · Views: 18

o0o.paw

Senior Member
Dec 31, 2011
111
45
Perth
I am hoping someone has a simple answer for this one as I have not been able to locate a guide for this anywhere.

How do I remove a menu item from secsettings.apk ? I want to remove easymode from settings.

I am building a heavily debloated rom for my note edge (hopefully I will be able to upload this to the note edge rom section) and want to remove easymode. Before i do I want to ensure the menu item is removed. I then have to work out how to remove the option from the initial setup screen.

* Found a solution *

This was a long time ago but in case anyone else is searching for a similar solution, I used the advice in the following link:
https://forum.xda-developers.com/galaxy-s3/themes-apps/how-to-delete-spen-note4-settings-t2963677

I simply searched for any references to easymode and removed them :)
 
Last edited:

cnkzlyr

Senior Member
Oct 21, 2014
1,337
1,187
25
Ankara
@Eleo @edzamber @malbert16442 hi guys. How can we add the value of a file to notification header?
I have a file on sys/kernel/charge_control/charge_info it shows current charging rate. It only has a number for example 2200 it means currently charging rate is 2200 mA. It is live. Changes when unplug the phone.
So I want to add this information to notification header or status bar. Like cpu info on systemui guides.
How can I do this? Checked cpu info to status bar guides but they are smalis so I couldnt get an idea to apply the guide for my file.
Can you help me please, thanks in advance
 

cnkzlyr

Senior Member
Oct 21, 2014
1,337
1,187
25
Ankara
AMBIENT DISPLAY ONLY MARSHMALLOW

In framework-res.apk
Go To framework-res/res/values/string

From


To


In values/bools to replace False for True

From


To


In values/Interger to replace 1 for 17

From


To


Now recompile your framework-res.apk

Thanks for @raffaele88​
Followed this guide on s5 exynos and followed other guides about ambient display. On lollipop stock tw rom it works great, also marshmallow N7 ports it is working without problem.

But when I add ambient display on S5 TW stock 6.0.1 deodexed/odexed roms, there is a big problem

Like ambient display, when notification comes or I pick up device or shake device; screen turns on as dimmed and It shows the lockscreen with color instead of normal behavior of ambient display(white clock and notifications on a black screen).

Please help me about it you are all great devs I think you may know the problem.

I think it caused by an extra lockscreen layout. It may prevent to show ambient display.

I waiting for your helps. Im mentioning the devs which I know their XDA usernames

Thanks in advance.
@malbert16442 @karkass @Eleo @edzamber @kaducomk @amtra @ale95 @albe96 @sheard @pekaka @asheesh131 @Wuby986 @daxgirl @tdunham
 
Last edited:

bunnys7679

Senior Member
Jun 6, 2014
860
341
Hello Guys
Can someone help me to delete the App Icons Background in Android Pie?
Thanks in Advance

Gesendet von meinem SM-G950F mit Tapatalk
 
  • Like
Reactions: ddougg

KikiGames

Senior Member
Feb 17, 2019
52
3
Hi guys!
Is it possible to port or somehow make Touchwiz launcher work on non Samsung devices?
I modified my Xperia XZ (OmniROM 9.0) build.prop to fake my device as a Samsung Galaxy S8 and now the Galaxy Apps works but I still can't install other Samsung apps even from Galaxy Apps.
Im total beginner on Android things.
There is any way to make Touchwiz run? Like put some files from Galaxy S8 system/framework or other folder?
Thank you guys!
I checked the errors in MatLog when I launch the Samsung launcher;

03-23 03:02:11.518 E/AndroidRuntime(29771): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/samsung/android/feature/SemFloatingFeature;
03-23 03:02:57.562 E/AndroidRuntime(29933): at com.android.launcher3.quickstep.config.FeatureFlags.<clinit>(FeatureFlags.java:43)

I can copy all error messages if need!
 

Eleo

Senior Member
Apr 16, 2012
16,400
14,762
Essen, Germany
Google Pixel 3a XL
Google Pixel 6
modified my Xperia XZ (OmniROM 9.0) build.prop to fake my device as a Samsung Galaxy S8 and now the Galaxy Apps works but I still can't install other Samsung apps even from Galaxy Apps.
Galaxy Apps can even be installed on AOSP. Other TW apps require TW framework. So no. I dont see any way to install/use other samsung apps on your non-TW device/ROM.
 

KikiGames

Senior Member
Feb 17, 2019
52
3
Galaxy Apps can even be installed on AOSP. Other TW apps require TW framework. So no. I dont see any way to install/use other samsung apps on your non-TW device/ROM.

And a way to port TW framework?
Just copy paste the whole Framework or just the Samsung specific framework files in system/framework not work of course not work.
If I replace the framework-res.apk just bootloop. I really want a way, but Im too noob. :(
 

Eleo

Senior Member
Apr 16, 2012
16,400
14,762
Essen, Germany
Google Pixel 3a XL
Google Pixel 6
And a way to port TW framework?
Just copy paste the whole Framework or just the Samsung specific framework files in system/framework not work of course not work.
If I replace the framework-res.apk just bootloop. I really want a way, but Im too noob. :(
As I posted above "there is no way you can run those apps on non-TW ROM". So you need to find and port a TW ROM to your device, which (theoretically) should take around 2-3 months if you are very skilled and have many active testers around. But then you will need to fix main issues, which will take around 1-2 months more. And after that (again, assuming that it will ever boot on your device) you can use TW apps with some minor FCs and not responding issues (which will be quite hard to get rid of eventually).

Alternatively, you can download those TW apks and modify all parts in smali of TW apps so that they instead call aosp (or any other) methods instead, to be compatible with your ROM. This will again, take around 1-2 months to port per app (but you have a VERY low chance of ever making it work without "sem..." parts).

Considering "you are too noob", I'd advise you to use other apps or purchase a samsung device. All in all, this thread is built for users who are already running a TW ROM and want to customize it; not for other ROMs.
 
  • Like
Reactions: ShaDisNX255

Top Liked Posts