yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] carlosggb:
im on a note 4, but with scafe edit on build.prop i get the s6 system ui but there is no way to expand the toggles and i want to add that button to be able to, not even swipe down with 2 fingers work after the edit but i love the fact that under the wifi and bluetooth button it puts the name of the network/device im connected to.

in which xml or smail this can be found?
[Galaxy S6 General] asc1977:
Oh I have no idea for that. I think there are some smalis which are missing
[Galaxy S6 General] carlosggb:
thanks for the quick reply, i'll keep digging ;)
[Galaxy S6 General] ROBERT CM:
Read this post..

http://xdaforums.com/showpost.php?p=66176403&postcount=5569

Regards!
[Galaxy S6 General] Alexandr Ivanov:
Hello Friend! I myself could not understand.

From your files it turned out:

Here are my originals: https://mega.nz/#!xc4i3YCT!BkYTaiubPgh3yKjr60wu_KcqXllxnltqx2XkRnIIPI4

When assembling error

W: C:\Users\mrjav\Desktop\BatchApkTool345\bin\..\_INPUT_APK\framework-res\res\drawable\tw_switch_track_mtrl_alpha_disabled_off_us.xml:8: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tw_switch_off_disabled_mtrl_us').
W:
W: C:\Users\mrjav\Desktop\BatchApkTool345\bin\..\_INPUT_APK\framework-res\res\drawable\tw_switch_track_mtrl_alpha_disabled_on_us.xml:8: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tw_switch_on_disabled_mtrl_us').
W:
W: C:\Users\mrjav\Desktop\BatchApkTool345\bin\..\_INPUT_APK\framework-res\res\drawable\tw_switch_track_mtrl_alpha_off_us.xml:8: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tw_switch_off_mtrl_us').
W:
W: C:\Users\mrjav\Desktop\BatchApkTool345\bin\..\_INPUT_APK\framework-res\res\drawable\tw_switch_track_mtrl_alpha_on_us.xml:8: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tw_switch_on_mtrl_us').
[Galaxy S6 General] thereassaad:
Weird , i always used this xml & pngs on my frameworks & never got any issues , when i recompile my framework-res , maybe it doesn't compatible with ux , don't know exactly mate , will check it later why ok
[Galaxy S6 General] ManuMu:
Hello,

I want to enable all apps multiwindows for noble rom UX for n910f but the method in this thread is not available and i don't know how to make the mod.

The code stock is after and it'so not the same of which it's present in this thread...

Can you help me please.

Thank you.
[Galaxy S6 General] thereassaad:
U need to use old method way to got it worked on ur 910F ok

Try to the link in this thread at ops pages

http://xdaforums.com/showthread.php?t=2799050
[Galaxy S6 General] ManuMu:
I will test it.

Thx !

Edit : All is good thank you very much for your help [MENTION=5405448]thereassaad[/MENTION].
[Galaxy S6 General] carlosggb:
Hi asc1977, is there a way that instead of the power button it opens the expanded view of the toggles on click with this mod?
[Galaxy S6 General] carlosggb:
Thanks for the great info but unfortunately is not working properly by this method, i'm searching for a Plan B now with a status bar toggle
[Galaxy S6 General] asc1977:
I think you are dont thought a little about the method i said to you in pm. NOT ONLY COPY AND PASTE BLIND WAY

its very easy to see what happen in this method. the method says two things. If yes than mw on, if no than mw off. What we do now is that we say if yes than mw on and if no than mw on. so are at both mw on. thats easy also for me as beginner of smali editing. so edit the last 0x0 in method to 0x2 and smali framework.jar and push to system. restart phone and open recent panel. delete all tasks there. open some apps and go back to recent apps. now you can see at every recent panel the mw icon

:cond_0
const/4 v0, 0x1

:goto_0
return v0

:cond_1
const/4 v0, 0x0 [COLOR="Red"]#change to 0x1[/COLOR]

goto :goto_0
.end method

if that maybe dont work, because my smali is a little different you can give a try to change 0x0 at top of method change to 0x1
[Galaxy S6 General] carlosggb:
How to add virtual lock button in statusbar

decompile SystemUI.apk

edit status_bar.xml

add this line at the end

</LinearLayout>
[COLOR="Blue"] <com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="right" android:id="@id/back" android:layout_width="60.0dip" android:layout_height="fill_parent" android:src="#00000000" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" androidundefinedrientation="vertical" />[/COLOR]
</com.android.systemui.statusbar.phone.PhoneStatusBarView>

you can change position with android:layout_gravity "right" "center" or "left"

you can change size (widht) with value android:layout_width

Thx Carotix

Good Evening to all, can anybody help me changing the action it executes on click that instead of the power button it opens the expanded view of the toggles with this mod? any alternative?

Thanks in advance

P.S. Sorry for the insistence :rolleyes:
[Galaxy S6 General] Aria.A97:
How to fix this big blank space after enabling Always/Once?
[Galaxy S6 General] tdunham:
I just looked. That blank area uses ID 'title' which is very generic and is used in many places. I look at surrounding areas for ideas and found ID 'resolver_list'. This does not occur in SystemUI so if you can find the package that uses this ID, then maybe we can hide the title area too. :good:
[Galaxy S6 General] Iman87:
how can i enable Lollipop Reboot Menu Style on MM?
[Galaxy S6 General] Aria.A97:
Totally Stock Settings App.

Force Closes when entering fingerprint menu. Log Attached
[Galaxy S6 General] Aria.A97:
I modified Framework.jar & services.jar. Can it be result of that?
[Galaxy S6 General] gvmiguez:
Did you modify SistemUI???
[Galaxy S6 General] koko115:
How change date like on this image ?
[Galaxy S6 General] Aria.A97:
No.
[Galaxy S6 General] Carotix:
it's in layout\tw_resolver_list.xml -->> android:id="@id/titlePanel_default"
[Galaxy S6 General] SidRobo:
hello [MENTION=4596062]asc1977[/MENTION] i deodexd my new rom with SVA and i faced with bluetooth and AllshareMediaShare FC. the problem is related to missing libbluetooth_jni.so and libasf_mediashare.so. i saerched and saw some others had same problem with SVA. i thought you might know the way to sovle this :confused:

I'm on G925FXXS4DPG1
[Galaxy S6 General] asc1977:
I don't use sva. I always do with superrkitchen without problems. Only some apps fc but that I delete. Maybe that helps

Maybe I can give you the files you need. Which phone? Which files? Which rom? GRACE or normal......
[Galaxy S6 General] SidRobo:
bluetooth and AllshareMediaShare

ig925f

DPG2
[Galaxy S6 General] asc1977:
Oh i didn't have that roms on laptop but you can download my s6edge rom and grab it. Feel free to do. No problem for me
[Galaxy S6 General] SidRobo:
ok tnx I will. but also searching why it happens.

Edit: solved
[Galaxy S6 General] karan2012:
getting error in this step while recompiling the apk using note 5
[Galaxy S6 General] asc1977:
Nice to hear but nobody can help if you didn't post

1. What you have done

2. Show your lines what you edited

3. Show a logcat.
[Galaxy S6 General] The Sickness:
[MENTION=4596062]asc1977[/MENTION] you can add this to your collection if you wish...

http://xdaforums.com/galaxy-s6/general/guide-how-to-build-samsung-kernel-july-t3429355/page7

It's my guide on how to build a Samsung kernel.
[Galaxy S6 General] karan2012:
open smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali this is what i was trying to do to hide center clock on lock screen

and logs
[Galaxy S6 General] asc1977:
Its written in logcat. You didnt read?

Line23 element not found

Something you add is not there. Show your statusbar.xml
[Galaxy S6 General] Aria.A97:
You need to also copy lib folders of these apps. I had exactly same problem with exact same apps after deodexing with SVA.

You can find these libs in system/apps/Bluetooth & system/app/AllshareMediaShare before deodexing :fingers-crossed:
[Galaxy S6 General] SidRobo:
yes and also there are some others. i had forgotten symlinks.
[Galaxy S6 General] asc1977:
Ok. Now i am a little confused. Did i do something wrong if i use the sources and build a control app for my rom and/or must i do something additional with links or or to use or all i have done is ok like i have done?

I dont decompile and recompile. I build with sources in androidstudio like guided in thread. Sorry for my asking. I understand english but some words i dont understand
[Galaxy S6 General] daxgirl:
I understand that, my friend. Not a problem with what you do.

The thing is simple. The project is a source code project which is distributed under open source license. Which means if you base your app on it, you must keep it open source.

Which means, after you build your own app in android studio, no matter how many changes you made, you must publish your sources on github. Meaning, in your op for the rom where you use rom control you must provide link to the github repo with your sources. That's all it needs.

The app you build is yours. But the code belongs to the public. You have to provide the code for the app you built based on open source.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] asc1977:
Ok. Thx for information. I didnt know. I will create later a link to the sources in my thread and i am happy if you can check that it is ok or not. If i understand right its enough to link to the sources which i take from the rom control app thread.

Every day learning new lol

So every rom builder which have a control app of this sourches must have a link to that sources or he have a problem
[Galaxy S6 General] daxgirl:
The link must be to YOUR sources. After you make changes to the app and build your own you must create your own repo (or have it forked from the original) and upload YOUR sources. That is the link you provide.

The rule is, anything built on open source is open source. So since our code is open source, so is yours.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] asc1977:
Oh my god. Now i have a problem. I cant because i dont know how. A github i have buildet any time. But now that. Ok. I must try
[Galaxy S6 General] daxgirl:
I feel we took up too much of your thread with an unrelated issue. Any questions you have regarding git and uploading your sources ask on our thread. We are more than happy to help.

We are not xda police, people. We are also not Gnu police. We don't go around checking if people provide sources. But since this topic was opened and I was mentioned, I answered with accordance to the law.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] asc1977:
I think also. I try and i think we hear from each other :)
[Galaxy S6 General] sheard:
I just wanted to share how we can do this,if someone will see how it will look like and how we are doing this then he will probably want to make his rom control app from sources.i have only one rom with rom control app and it was with the help of chienese developer.and i gived rom source to his rom and asked permission from him and after this we started to work together i just edited system apps and he added the xml files to his rom control app .that is why i can't share thread sources of this rom control.about mini mods i didn't know that i must share sources for every changes ,thanks for telling it .i will share sources from now.thanks for you guys and sorry for everything.i really didn't know about this
[Galaxy S6 General] daxgirl:
Dear really it's OK. No harm done. As I said.. we are not the police of Gnu...

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] ambasadii:
Anna good to see you, where have you been ? :) i already thought you are out of xda.

Cherrs.

---------- Post added at 14:23 ---------- Previous post was at 14:07 ----------

Btw [MENTION=4714483]daxgirl[/MENTION]

Can you look at 6thgearswipe app because i can't get it to work with new touchwiz2016 from android m 6.0.1 by editing only PageViev.smali. you propobley got similar touchwizz in note 5 with 6.0.1
[Galaxy S6 General] thereassaad:
Kb input notification disable it on MM 6.0.1

In services.jar/smali/com/android/server/InputMethodManagerService.smali

Then search for this method

.method public setImeWindowStatus(Landroid/os/IBinder;II)V

Then add ( return-void ) same as this

.method public setImeWindowStatus(Landroid/os/IBinder;II)V

.locals 4

.param p1 # Landroid/os/IBinder;

.param p2 # I

.param p3 # I

invoke-direct {p0, p1}, Lcom/android/server/InputMethodManagerService;->calledWithValidToken(Landroid/os/IBinder;)Z

return-void

move-result v1

if-nez v1, :cond_0

invoke-static {}, Landroid/os/Binder;->getCallingUid()I

Thanks to [MENTION=369057]majdinj[/MENTION]
[Galaxy S6 General] asc1977:
I need help please.

i want that on my phone the statusbar and keyguard statusbar looks same.

i tried several things but it wont work.

sometimes it dont show and sometimes fc-

i have no more ideas.

here are my two xml

status_bar.xml

Keyguard_status_bar.xml
[Galaxy S6 General] Wuby986:
hey there i just had a try with it.. it's rather easy tho, they just added more reference to the intent class

so by now you'll find:

C:\apktool\baksmali\classout\com\android\launcher2\Launcher.smali (7 hits)

Line 113: .field public static final ZEROPAGE_FLIPBOARD_BRIEFING_CLASSNAME:Ljava/lang/String; = "flipboard.boxer.gui.LaunchActivity"

Line 115: .field public static final ZEROPAGE_FLIPBOARD_BRIEFING_PACKAGENAME:Ljava/lang/String; = "flipboard.boxer.app"

Line 4085: const-string v1, "flipboard.boxer.app"

Line 4128: const-string v1, "flipboard.boxer.app"

Line 15148: const-string v24, "flipboard.boxer.app"

Line 15157: const-string v22, "flipboard.boxer.app"

Line 15160: const-string v21, "flipboard.boxer.gui.LaunchActivity"

C:\apktool\baksmali\classout\com\android\launcher2\PagedView.smali (3 hits)

Line 1289: const-string v7, "flipboard.boxer.app"

Line 1304: const-string v9, "flipboard.boxer.app"

Line 1306: const-string v10, "flipboard.boxer.gui.LaunchActivity"

as for the old way you need to replace "flipboard.boxer.app" with "com.wubydax.geartwswipe" and

"flipboard.boxer.gui.LaunchActivity" with "com.wubydax.geartwswipe.SetAppActivity".

this works for me on s7, i guess other device are the same
[Galaxy S6 General] ambasadii:
thanks [MENTION=4714483]daxgirl[/MENTION] and [MENTION=5493353]Wuby986[/MENTION] now it works perfectly.

if anyone want to try it download TWSwipe_Launcher.zip and flash by recovery.done!
[Galaxy S6 General] daxgirl:
Really it's all [MENTION=5493353]Wuby986[/MENTION]. The app will work any time. The problem was a different modding technique for launcher. Now a days I can't help much with modding since my device is not rooted. Nevertheless I will update an app at some point (needs a different method now for building the app list). But for now it works and it works perfectly once the launcher is modded accordingly.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] ambasadii:
not rooted phone ? really ? the world ends :laugh:

yeah and this we need a fix too in new launcher :)
[Galaxy S6 General] daxgirl:
Lol, well silly me I ascended from shell to android. I have had my note 5 since august and no root...

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] kep2008:
I think these images (home_zeropage_briefing_bg, home_zeropage_briefing_chn, home_zeropage_briefing_usa) are also in other folders /drawable-..., not only in drawable-sw360dp-xxxhdpi, find and replace them too.
[Galaxy S6 General] daxgirl:
Plus you need to delete the initial screenshot it takes from sdcard in android/data folder. I posted a guide for that once.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] ambasadii:
I search in all draweble folder but i don't see png for that. As you see on me screenshot flipboard png is missing whithout change any png ,only remove flipboard briefieng apk.

---------- Post added at 17:45 ---------- Previous post was at 17:41 ----------

briefing.jpg is there but is corrupted without any screenshot.
[Galaxy S6 General] Maw2607:
Odex 6.0.1 framework

Hi all,

Is it possible to re odex the framework folder of a 6.0.1 rom after deoxing it and mode some files ?
[Galaxy S6 General] LuanTeles:
i cant get it working on N7 rom =(

even with clean install the toggles doesnt show up

tried csc method, cuz DB editor fcs when applying

help please =S
[Galaxy S6 General] tdunham:
It looks like you are using apktool on rom control. It wont work and you know better? :p
[Galaxy S6 General] daxgirl:
Do NOT use apktool!!!!!!! Compile every time from source!!!!! If you use apktool you cannot use it in your rom. Because you will not have sources.

There is nothing easier than compiling from source. This app will also most probably not compile well. We use extended prpguard.
[Galaxy S6 General] tamirda:
Lol I use apktool all the time to hack your apps

Just trolling you [emoji48] [emoji48] [emoji48] [emoji48]

Sent from my SM-G900F boosted by PhoeniX ROM
[Galaxy S6 General] daxgirl:
We've already established that you're a dumbass, right? So what's new??? ???
[Galaxy S6 General] tamirda:
Lol waiting for the private lessons my teacher ;)

Sent from my SM-G900F boosted by PhoeniX ROM
[Galaxy S6 General] daxgirl:
Ask your mom. She is the one who got into your head you're special ???

Anyway, Andreas will kick your butt for spamming. So... shut up already ?
[Galaxy S6 General] koko115:
I have only Secsettings2, and in /res/values i dont have files arrays.xml. I have only attrs.xml and styles.xml You add this mod in secsettings2 section, but in description this mod You write secsettings.apk

So how change scale animation in Galaxy s6/s7 MM ?
[Galaxy S6 General] Tkkg1994:
This mod works perfect. I have it on my s7 rom included so...

Sent from my SuperMan powered SM-G930F
[Galaxy S6 General] koko115:
I have Your rom Superman 1.10. So please tall me where i find secsetiings.apk ? No secsettings2.apk.
[Galaxy S6 General] Tkkg1994:
It is just a typo.. he means secsettings2.apk

Nevertheless it maybe even works on both

Sent from my SuperMan powered SM-G930F
[Galaxy S6 General] elkinguerrabarreto:
[MENTION=5405448]thereassaad[/MENTION] THX MEN GOOD JOB
[Galaxy S6 General] shahram Ali:
Can someone explain how to complie rom control from sources :(
[Galaxy S6 General] JonathanRAZ:
You need android studio you can use google for that and

You can compile it from here http://xdaforums.com/android/general/source-code-6thgear-romcontrol-v2-devs-t3411916
[Galaxy S6 General] shahram Ali:
thx bro :)
[Galaxy S6 General] explotxion:
donde esta ese mod no lo vi
[Galaxy S6 General] OMassalia:
English forum. Speak english only
[Galaxy S6 General] TENN3R:
How do I change the default language in Setup Wizard at first boot?
[Galaxy S6 General] Androidwizzard:
Check csc customer.xml with 2 entries, one with sim, second without - (as far as I remember)
[Galaxy S6 General] SidRobo:
hello guys. it's not related to this threat but as there are many rom developers here, i ask it. i have a small question about updater-script. i want to remove all odex files and flash deodex apps. i used terminal in twrp and removed odex files and flashed deodex and it work with no problem. but i want to add commands to updater-script instead of using terminal. this is my updater-script for deleting odexed files but with this way delodex.sh didn't run. can you provide me a guide about how to do this correctly i couldn't find any useful.

updater-script

run_program("/sbin/mount", "-t", "auto", "/system");
package_extract_file("tmp/delodex.sh", "/tmp/delodex.sh");
set_perm(0, 0, 0777, "/tmp/delodex.sh");
run_program("/tmp/delodex.sh");
delete("/tmp/delodex.sh");
unmount("/system");

delodex.sh

#!/sbin/sh

rm -rf /system/app/*/oat
rm -rf /system/priv-app/*/oat
rm -rf /system/framework/oat
rm -rf /system/framework/arm
rm -rf /system/framework/arm64
[Galaxy S6 General] asc1977:
Why you didnt delete complete app folder and push new app folder with deodexed apk to rom? So its not needed to clean waste of odex in rom
[Galaxy S6 General] bunnys7679:
Is it possible for each selection in Rom Control before the name an image so insert one sees what one chooses?
[Galaxy S6 General] SidRobo:
because then i must copy some apps lib and set symlinks. i don't what to do that.
[Galaxy S6 General] ANDROIDXFOREVER:
i dont use xposed
[Galaxy S6 General] kasi5471:
All Mods works great, you should read line to line.
[Galaxy S6 General] ANDROIDXFOREVER:
all quiet bed'm not elderly:D
[Galaxy S6 General] kep2008:
In the new firmware for the S- 6 is no such method .method private setAlwaysUseFeature()V, but i found in .method private getButtonsSupportState()Z

const-string v2, "default_app_selection_option"

To make the switch , just put this in Rom Control v2

<com.wubydax.romcontrol.v2.prefs.MySwitchPreference
android:defaultValue="true"
android:key="default_app_selection_option"
android:summaryOff="Hide"
android:summaryOn="Show"
android:title="Button Only once/Always"/>

View attachment 3840652 View attachment 3840653
[Galaxy S6 General] thereassaad:
Hi my friend , im not on newer s6 base but i think if u have this like in this screenshot

If have that option so its already built in newer fw as its on Grace UX Project & Note7 leaked fw

If u doesn't have it , then ur method its the best one to toggling it & thanks
[Galaxy S6 General] kep2008:
Hello friend, i made switch, which is already... :D

I found at yourself as in your screenshot... :eek:
[Galaxy S6 General] bunnys7679:
First of all thanks for your answer. I mean here in front of the name. Because I would like to add a preview

View attachment 3840680
[Galaxy S6 General] bunnys7679:
Maybe find or do you see it so again. Would be nice

Greeting Bunny
[Galaxy S6 General] grzegorz354:
Hello my friends,

There is a problem, Bringing buttons "only once / always" to select when the task application "Open With." did not work rom 4DPGW XEU, lack of methods .method private setAlwaysUseFeature()V :(

Thanks [MENTION=7308585]kep2008[/MENTION] to the work of the RC
[Galaxy S6 General] Ufo71:
Unfortunately not works in systemUI Note 7....you have solution please? Thanks
[Galaxy S6 General] stangdriver44:
I would be happy to help give you a solution here.

It is very hard to help you when you don't show what you've done as well as providing a log?

The mod is pretty much a drop and go mod, just drop the smali files, make a couple of xml line additions, compile and push! Good to go.

Also looks like I haven't updated the guide for this thread.

Check this post with updated smali for more options.

Try the updated guide and if you still have issues, post a log and your xml.

Good luck my friend
[Galaxy S6 General] djb77:
Having some trouble with your mod. I followed it to the letter, but I seem to have these options appearing at the top of the screen. How can I hide / move them?
[Galaxy S6 General] tdunham:
That must be on a newer firmware. I noticed they combined some of the settings categories on our latest too.

I don't have an answer for you though so hopefully someone will know.
[Galaxy S6 General] djb77:
The firmware I used was G930FXXU1APGH w/ CSC XSA if that helps
[Galaxy S6 General] tdunham:
Our latest for the note 5 didn't even have a csc folder.
[Galaxy S6 General] djb77:
CSC-less? Damn lol
[Galaxy S6 General] asc1977:
You have to put it in a other xml. On grace is same problem or maybe if delete fota agent mentioned some posts above
[Galaxy S6 General] ambasadii:
[MENTION=4596062]asc1977[/MENTION]

did you know how to edit AndroidManifest.xml when we got compiled apk

it's possible by android studio when you got apk source, but how to make it after decompile apk by apktool ?

i need to remove launcher icon from 3minit clock app but we don't have source to bulid gradle

<category android:name="android.intent.category.LAUNCHER"/>
[Galaxy S6 General] asc1977:
I tried a lot of times and removed that line but app dont work anymore. So no idea. Sorry
[Galaxy S6 General] sonnguyenpg:
Hi all.

This tool sign apk after edit androidmenifist.xml

https://mega.nz/#!X18gQbbS!QqCHI11Ophiz27CNLwrrk-CdHW1doVS6u0EH3gW3gNk

SM_J710F