yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
I honestly didn't do all the editing myself, a buddy of mine helped but as far as I know most of it was the same. I'll ask him what was edited and I'll let everyone know.

Edit: I have found all the files and edits that need to be made, but I'm not exactly sure what the edits are. I have a copy of the xml that the changes were made to. If anyone would like to make a guide or just want to know what needs to be done, pm me and I'll be more then willing to let you know what needs to be done. I'm not that good at guides
[Galaxy Note 3 Android Development] tribalfs:
I applied the autostart settings in my note 3 lollipop. I inserted the settings within the application settings which is using PreferenceScreen. How can I make it work properly in a preferencescreen? What addinional code shoud be included? Should it be in the smali file? Thank you for your help.
[Galaxy Note 3 Android Development] rompnit:
Are you just trying to add an icon to the line? If so just look at the XML above or below where you inserted the AutoStart line as reference. You need to add:

android:icon="@drawable/..."

to your XML insertion, replacing the ... with your PNG name.
[Galaxy Note 3 Android Development] Er. Aditya:
any custom setting guide on center clock and turning on/off toggle for internet meter ?
[Galaxy Note 3 Android Development] Kamy:
for internet speed meter look here: [MOD] [GUIDE] Status Bar Network Traffic (Separate In/Out)

for clock mod there is no a guide yet.
[Galaxy Note 3 Android Development] Er. Aditya:
thanks bro , also there's any guide you know to add in custom setting ability to change toggles colors and statusbar icons colors ?
[Galaxy Note 3 Android Development] Goldie:
You should read and try to understand my smali thread. Covers how to find and create that stuff yourself
[Galaxy Note 3 Android Development] Er. Aditya:
ok sir , as i dont know much about smali's for i was searching for guides for refrencs

smali things are too scary though

thankyou sir :)
[Galaxy Note 3 Android Development] AbiDez:
hello,thank you for the modding guides.

but i have problems with 3minit quicklaunch, i remove sfinder und quickconnect,

then apply the smali files in right place, make the code add on, recompile, install.

i don't see the quicklaunch. its a OE3 based Rom for S6edge.

Thank you.
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
Something must've been done incorrectly, because it should just show up. Do you have the 3minit quick settings app installed? I'm not entirely sure but maybe that's the problem.
[Galaxy Note 3 Android Development] Kamy:
You cannot have both mods posted in OP the same time because the way described is to replace 3minit quick launch with sfinder/quick connect panel. Read instruction again there are some dpi values that need to be set to zero in quick conect xml. And also the panel should be expanded a bit to fit icons there.
[Galaxy Note 3 Android Development] tribalfs:
Thank you rompnit for your reply. I followed your instruction above and it successfully prefix the icon but seems not the method that is used by the other items.

Here's the code that is included inside my xml\application_settings_vzw.xml (in the 4th <PreferenceScreen):

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/category_applications" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:title="@string/applications_settings" android:key="application_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<PreferenceScreen android:title="@string/app_ops_settings" android:key="application_permission">
<intent android:targetPackage="com.sec.android.app.capabilitymanager" android:action="android.intent.action.MAIN" android:targetClass="com.sec.android.app.cm.ui.CMApplicationListActivity" /></PreferenceScreen>
<PreferenceScreen android:icon="@drawable/ic_setting_grid_autostart_manager" android:title="@string/autostarts_title" android:key="autostarts_settings" android:fragment="com.android.settings.autostarts.LewaManageAutostarts" />
<PreferenceScreen android:title="@string/launch_application_settings" android:key="launch_application_settings" android:fragment="com.android.settings.LaunchApplication" />
<PreferenceCategory android:title="@string/header_menu_application_settings" android:key="apps_category" />
</PreferenceScreen>
[Galaxy Note 3 Android Development] masterross:
Guys, is there a way to show values from the temperature sensor on the lockscreen?

I can't believe that Samsung just put so many sensors and not use them.
[Galaxy Note 3 Android Development] rayman95:
hey chief, you modify the way to remove sfinder and quick connect, but can't find it with the new method...can you put the old way...

thank's
[Galaxy Note 3 Android Development] Er. Aditya:
if you mean by just hiding it then

decompile systemUI apk and browse to /res/value/dimens.xml

and find

<dimen name="finder_connect_layout_height">57.0dip</dimen>

change it to

<dimen name="finder_connect_layout_height">0.0dip</dimen>
[Galaxy Note 3 Android Development] rayman95:
yes that's right

thank's

EDIT :it give me FC...maybe ebecause the rom is odex...
[Galaxy Note 3 Android Development] AbiDez:
Hello guys, I found the problem why quicklaunch don't show. I have to place it in layout-xxxhdpi not layout. But next ressource problem. After multiple tests everything works, but a little optical thing while Statusbar expands. I have quicklaunch and sfinder. But when the Statusbar in the middle of screen goes sfinder. After 3 days I don't know how to solve it. How can I remove sfinder while Statusbar expands? Here 2 screens. Thank you for ideas and help.

While expansion

After expands

S6E - Echoe Rom V. 3
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
I followed the guide in the Op exactly and mine works perfectly. The only thing I don't like about it is the blue background. I remember reading somewhere that it could be placed in recents.xml and it would show up in the recent menu, which is pretty cool imo
[Galaxy Note 3 Android Development] tdunham:
I don't use quick launch but it might be interfering. If you remove it, does the pulldown display properly? It looks to me to be in the wrong position in layout so this is why I ask.
[Galaxy Note 3 Android Development] cyberain:
Maybe You can add guide how to remove kitkat transcluent gradient on statusbar?:)

NOTE 3 - TAPATALK
[Galaxy Note 3 Android Development] evilvoice:
My only problem is when it is in recents, sometimes you can't read what the shortcut is. I should know the icons by now, but would be nice to have the image that is behind the task manager, Google, and close all buttons behind the quick launch row. I'm going to see if I can figure out how it is set. If anyone has ideas, by all means, let me know. ThanksView attachment 3364795
[Galaxy Note 3 Android Development] Kamy:
Here is how to set full transparency instead of translucent kit kat style:

Decompile SystemUI and go to drawable-xxhdpi folder find following png/.9.png photos and set them all to full transparent in photoshot any other photo editor

gradation_indi_bg.9.png

recents_lower_gradient.9.png

recents_status_gradient.9.png

status_background.9.png

stick_height.png

stick_wide.png
[Galaxy Note 3 Android Development] and2:
You can buy the app Quicklaunch Settings. It´s also a little support and it is defenitly worth. With the app you can change the background and more. Mine looks like this
[Galaxy Note 3 Android Development] evilvoice:
How did you move the bar to the top or is that part of the app?
[Galaxy Note 3 Android Development] and2:
No, it´s a mod. I attached my recent.xml so you can compare them.
[Galaxy Note 3 Android Development] evilvoice:
Thank you. I don't know why, but I did almost the same thing the first time I tried. Moved like the last 6 containers to the top, added top to the gravity, but when I did it, they hid behind the recent windows and clicking on them did nothing unless there weren't any recent apps. I also changed the background for the quick launch bar. Copied the background used for the task manager button (recents_bottom_button_bg) and put it in the LinearLayout that contains all the shortcut stuff (the one above where we set the quick launch bar since we both put it in the same place [emoji1] )

View attachment 3365316
[Galaxy Note 3 Android Development] kpirnie:
howd u get them down there? i followed to a t, and mine are at the top :) (not that I really mind, but would probably notice them better at the bottom... )
[Galaxy Note 3 Android Development] evilvoice:
Did you edit your recents like the one [MENTION=1236525]and2[/MENTION] posted? If so, I really don't know. I saw your posts around asking how to move it to the bottom and in the code you provide, you don't set the HorizontalScrollView within the "shortcut" LinearLayout. It is actually because of yours that I figured where to put mine. If you are on LP, you could try replacing your recents.xml with the one and2 provided, recompile and see what happens. I am on OC5 for a N900P and mine is exactly the same now.
[Galaxy Note 3 Android Development] kpirnie:
i thought I did LOL, been a bit since I put it in tbh... im done for the day, and will look thru the thread again.

Thanks bro :D
[Galaxy Note 3 Android Development] Looki75:
So I can't understand that...

I've read the different comments and questions/answers related to that; but I still don't understand...

I did understand that public.xml has the correct ids. I've seen them. This is OK.

I did understand that I need to update the ids inside TorchlightSettings.smali accordingly.

But I don't see anything "noted beside every id"...

And I cannot understand: where in TorchlightSettings.smali are these ids? Where to find them? How to recognize which id corresponds to which "function" (torchlight_settings, torchlight_settings_title, torchlight_summary, torchlight_timeout_title, torchlight_timeout_summary)...

Thanks
[Galaxy Note 3 Android Development] Kamy:
Except framework almost all other apps ids are starting with 0x7fxxxxxx, I assume you are not so fmailiar how to match id, so let me ask you you did you recompile and decompile again after editing is done? if yes, good, now download the zip and open TorchlightSettings.smali with notepad++ and search for 0x7f now mark them all, you can see numbe of ids that need to be matched (highlighted), there are some notes next to those ids, starting with # public type=" now open public and match them accordingly.
[Galaxy Note 3 Android Development] Looki75:
Thanks for your answer, I understand now.

I have to say your guide is an high-level summary. Obviously one has to be familiar with apk modding to be able to apply it.

I am used to apk modding, not my first one. I could do everything, except these ids...

The thing was: I did decompile, edit files, copy/paste the torchlight smalis, recompile... decompile again.

I basically did everything, but then I was looking into TorchlightSettings.smali of the decompiled SecSettings_New.apk... and guess what? The comments have disappeard in the compile/decompile process...!!!

Now that I look into TorchlightSettings.smali of the zip file, I see those comments!

I suggest you update OP...

Thanks again for your help! - Now I'm going to do the actual job. I hope everything will go smooth ;)
[Galaxy Note 3 Android Development] Kamy:
Yes I accept that matching ID is confusing at the beginning but once you try and get to know about the principle it would be piece of cake. It's just a matter of patience and how you follow guides carefully. Just keep in mind that when adding a resources which is going to have an effect on smali you most likely need to match ids.
[Galaxy Note 3 Android Development] Martillero:
About that, i have seen an app here in xda that basically autocalculate the new ids. I always did the old way cause im use to it, but i want to know if some of you guys are using it.
[Galaxy Note 3 Android Development] kpirnie:
@+id
[Galaxy Note 3 Android Development] evilvoice:
[MENTION=4819130]kmokhtar79[/MENTION] Can you fix this tutorial? It no longer is about the shortcuts and looks to deal with the 3Minit Battery Mod. I would love to add recent shortcut & lockscreen to the notification pull-down. I tried using the thread you linked, but it did not work on LP. You said you figured the LP edits and I was wondering if you could update the tut. Thanks.

UPDATE: UPSM working here, finally. Don't know what I was doing wrong, but it works YAY! Settings FC but I've heard it happens for everyone not using the upgraded Settings app. Just noticed Google Search widget had issues, so I need to go back and make sure everything is set correctly. Thanks! I always wanted this option after seeing it on my wife's S5
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
Anyone know of a good guide for disabling signature verification for lollipop?
[Galaxy Note 3 Android Development] Kamy:
[MOD][HOW-TO]To disable signature checks

works for any device
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
Thanks brother, I appreciate it.
[Galaxy Note 3 Android Development] AbiDez:
Hello guys, I need your help again. Quicklaunch is running fine, but I have a problem with the right colors, you see it on the screen.

Can anybody tell me how to change and find the background color or text color. In smali I see mbackground=I but where is the color value?

Have a nice day, thanks for you help.

S6E - Echoe Rom V. 3

People has problems with the Textcolor, decompile framework.res

and go to values/colors.xml and search for

<color name="secondary_text_default_material_dark">Change this colorcode</color>

have a nice day.
[Galaxy Note 3 Android Development] micky387:
Hi guys.

I have modding many apk with your TUT. All work great,thanks ;)

I have just one problem.I try to add "AutoStart" . All is ok (smali,id....) But the problem is my SecSettings dont reconize

<header android:icon="@drawable/....

When i try with

<PreferenceScreen android.....

In display_settings_2014.xml for exemple,Autostart is here,icon too and all working.

Why "header" dont work ?? I try to add in settings_headers.xml device_headers.xml device_headers_2014.xml and many other ..._headers.xml but dont work

I have Lollipop 5.0.1 samsung note edge

Thanks
[Galaxy Note 3 Android Development] starbucks2010:
Hey Micky,

I added autostart in: xml folder - dashboard_categories.xml, display_headers.xml, general_headers.xml, grid_settings_headers.xml, gridlist_settings_headers.xml and settings_headers.xml.

For the rest I suppose that you know.

If you want, I can give you the modded files to compare. They are for BOD5.

Best regards.
[Galaxy Note 3 Android Development] OvrDriVE:
yeah i would love to see the recents and lockscreen notification guide fixed as well. i've managed to get it working having to use toRightOf the date instead of toLeftOf. but for the life of me i cannot get the icons next to the settings icon no matter what i do

anyway hopefully someone has the right line for it to work right.

View attachment 3374845
[Galaxy Note 3 Android Development] evilvoice:
So, this is what I have so far. I need to change the recents icon and see if that fixes the positioning for that icon. I tried to get it to display at the bottom like some people did on KK, but it doesn't work. I was thinking of putting it next to the date because I was having issues with getting it next to the settings icon as well. As soon as I fix the positioning, I will post the code.

PS I used the divider that houses the basic_settings_button to set totheleftof if you want to test while I'm fixing mine.

PPS I'm thinking of changing the lockscreen button to home since I have the "hidden power button" next to the time on the status bar already, but I haven't decided. Got to get the original to work first.

PPPS If your recent.png is sized, could you attach it. I have one to try, but in the event it doesn't work, I'd love to have a backup. Thanks.

PPPPS Since the lockscreen button is invoking the power command, if you hold it, it will bring up power options. I wonder if the same is true for the home button. I also wonder where the keycodes come from because I would like to know what other codes exist.

View attachment 3375040
[Galaxy Note 3 Android Development] OvrDriVE:
looks like you got the lock in the right place.

tryed it with toleftof on basic_settings_button and no go, still appears far left on the date. only way i found is to torightof on the date

maybe i'm missing something. or rest of my code is wrong. let me know how it goes and if you get it. i'd love to have em in the right place.

heres my recents icon, 96x96 pixels

View attachment 3375244
[Galaxy Note 3 Android Development] evilvoice:
This the look you're going for? I think it looks really good. I'll post the information shortly. Also, this is using your png file. Thanks for that.

View attachment 3375321

Add lockscreen and recent shortcut on Notification panel header

Decompile SystemUI

Download the icons.zip file and extract to /res/drawable-xxhdpi

Edit /res/layout/statusbar_expanded_header.xml

Look for this code:

<ImageButton android:id="@id/settings_button2" android:visibility="gone" android:layout_width="48.0dip" android:layout_height="@dimen/status_bar_header_height" android:src="@drawable/ic_notify_edit_normal" android:layout_toStartOf="@id/multi_user_switch" style="@android:style/Widget.Material.Button.Borderless" />

Yours may be different, but find one that references the same id. You will be pasting the button codes under that line. If you can't find that line, look for this line and paste the button codes above this one

<FrameLayout android:id="@id/edit_button_holder" android:layout_width="wrap_content" android:layout_height="@dimen/button_holder_width" android:layout_toStartOf="@id/expanded_divider_3">

This is the button code to enable recent apps and lockscreen buttons on the notification drop-down

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" android:scaleType="center" android:layout_marginStart="@dimen/button_holder_margin_left" android:layout_marginEnd="@dimen/button_holder_margin_right" android:layout_toStartOf="@id/back" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/lock" android:layout_toLeftOf="@id/edit_button_holder" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" androidundefinedrientation="vertical" android:scaleType="center" android:layout_marginStart="@dimen/button_holder_margin_left" android:layout_marginEnd="@dimen/button_holder_margin_right" android:layout_toStartOf="@id/edit_button_holder" />

I used around 3 different posts to put all this together as well as some of my own knowledge.

Credits to [MENTION=4819130]kmokhtar79[/MENTION] and [MENTION=3271517]carl1961[/MENTION] for giving me something to build on.
[Galaxy Note 3 Android Development] evilvoice:
Is there any way to edit the color in the smali rather than framework-res? I have to believe that color is used for more than just quicklaunch and changing it could change other aspects. Just wondering if you found anything. I have looked through all the smali files in the quicklaunch folder and cant find anything that references that color item, but it has to build it somehow. I was thinking if we could find where it builds the app picker dialog, we could change it from choosing that color item to a different one. If we can chose a different one, we may be able to create a different color item in color.xml and reference it in the smali from public.xml all contained within SystemUI. Just thinking out loud. I would love to change a lot of the text as most of it blends with the background. What is funny is that you have a white background while I have a black background for mine. It could be dependent on where you put it. I put mine in the recent apps area.
[Galaxy Note 3 Android Development] OvrDriVE:
sweetness. it works perfectly. ty for figuring it out.

---------- Post added at 01:36 PM ---------- Previous post was at 01:35 PM ----------

can't help with this one, don't use quicklaunch

View attachment 3375367
[Galaxy Note 3 Android Development] AbiDez:
Yup. I see in the daily use that some color like Tapatalk loading is in blue [emoji1]

But I can life with that [emoji6]

I've search smali files again and again, but I'm not programmer or developer.

Somewhere in the smali is a definition for the color I've found in framework.

I think?

S6edge
[Galaxy Note 3 Android Development] wcoast:
Hi mate, what am I looking for on TorchlightSettings.smali to match with public.xml id?

I have 14 different torchlight id #s
[Galaxy Note 3 Android Development] Kamy:
This post would help
[Galaxy Note 3 Android Development] wcoast:
Honestly not really but thanks a lot. I'll revisit it and keep up the good work.

---------- Post added at 04:14 AM ---------- Previous post was at 03:49 AM ----------

Thanks mate, I got it, was using the wrong smali
[Galaxy Note 3 Android Development] starbucks2010:
Can someone please point me to a good guide for adding a new item under SecSettings 5.0.1 or give me a hint for the below setup?

I followed few of them but they are for KK and they seem to not work for LP.

I just want to add one item under "Fingerprint Scanner" (Personalization menu") with one sub-item (Potato Clock) and I cannot succeed.

1. I added the 2 png icons (ic_extra_settings and ic_potato_clock 144x144px) in drawable-xxxhdpi

2. I added in public.xml:

<public type="drawable" name="ic_extra_settings" id="0x7f0207e2" />

<public type="drawable" name="ic_potato_clock" id="0x7f0207e3" />

3. I added in ids.xml:

<item type="id" name="extra_settings">false</item>

<item type="id" name="potato_clock">false</item>

4. I added in strings.xml:

<string name="extra_settings">Extra Settings</string>

<string name="potato_clock">Potato Clock</string>

5. I added in settings_headers.xml:

<header android:icon="@drawable/ic_extra_settings" android:id="@id/extra_settings" android:title="@string/extra_settings" />

<header android:icon="@drawable/ic_potato_clock" android:title="@string/potato_clock">

<intent android:targetPackage="com.potato.clock.main" android:action="android.intent.action.MAIN" android:targetClass="com.potato.clock.main.Main" />

</header>

6. I added in dashboard_categories.xml:

<dashboard-tile android:icon="@drawable/ic_extra_settings" android:id="@id/extra_settings" android:title="@string/extra_settings">

<intent android:targetPackage="com.potato.clock.main" android:action="android.intent.action.MAIN" android:targetClass="com.potato.clock.main.Main" />

</dashboard-tile>

Is there anything else I should add?

Thank you in advance.
[Galaxy Note 3 Android Development] biggdevon:
I'm just trying my hand at app manipulation, wondering if you could lend a bit of help. What smali did you end up using and can you clearify this matching id's process? If the id's are different which on do you modify?
[Galaxy Note 3 Android Development] wcoast:
Line 85: const v6, 0x7f11000e # public type="plurals" name="torchlight_timeout_minutes"

Line 161: const v7, 0x7f11000f #<public type="plurals" name="torchlight_timeout_seconds"

Line 238: const v2, 0x7f0a19d5 #<public type="string" name="torchlight_timeout_summary"

Line 292: const v4, 0x7f0f0052 #<public type="dimen" name="action_bar_switch_padding"

Line 360: const v4, 0x7f070106 #<public type="xml" name="torchlight_settings"

Line 378: const v5, 0x7f0402a5 #<public type="layout" name="torchlight_help"

You need to match above 6..... upon second decompile, may change, just remember that when you search for 0x7f.... first one will be....

torchlight_timeout_minutes folllowed by

torchlight_timeout_seconds

torchlight_timeout_summary

action_bar_switch_padding

torchlight_settings and

torchlight_help

Good luck....