yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Android Development] biggdevon:
In my situation a few aren't the same. Do I change one to make it match or did I miss a step? If there is some guides/documentation I can search a point in the right direction would be greatly appreciated.
[Galaxy Note 3 Android Development] wcoast:
You have to match them with your public id
[Galaxy Note 3 Android Development] darioampuy:
yay... got my moded systemui on the second attempt working without issues, the first one got wrong because i didn't sign the apk... but i noticed the network meter only shows download data... did i messed up or do i have to fetch another one with both download and upload data?
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
I did this and it shows both

http://xdaforums.com/showthread.php?t=3024878
[Galaxy Note 3 Android Development] darioampuy:
dang that one is gorgeous but difficult to make it work... couldn't make it to display the icon or the settings pannel :/
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
Have you tried using the custom settings app? That's how I have it working.
[Galaxy Note 3 Android Development] darioampuy:
what is it and where do i find it?
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
Attached to the bottom of this.

http://xdaforums.com/showthread.php?p=46567731

Follow the directions for the network speed indicator, until you get to the settings part. Decompile the custom settings app and navigate to res/xml/preference.xml and add the list preference line there. Recompile then push back to system. I put custom settings in system/app. That should do the trick for u.

(See network speed indicator)
[Galaxy Note 3 Android Development] darioampuy:
so i have to do all the settings.apk part in that customsetting.apk? because pasting the invoque line doesn't compile because the lack of declarations
[Galaxy Note 3 Android Development] Er. Aditya:
Bro how to add weekday ??
[Galaxy Note 3 Android Development] JoHnNYBlaZE716:
Look for the line that says preferenceScreen in the beginning of it and add that line to res/xml/preference.xml

That's all that needs to be done to the custom settings app

---------- Post added at 02:50 PM ---------- Previous post was at 02:49 PM ----------

Potato clock
[Galaxy Note 3 Android Development] balla48801:
[MENTION=4819130]kmokhtar79[/MENTION] the vzw note4 just got a software update and now after implementing the 5-way reboot when I click recovery it goes into a 5 min shutdown. Finally it shuts down and I have to press power to get the phone to come back on. This mod worked fine on previous version of my ROM. Both the old and new versions are still LP 5.0.1. All of the other reboot options work fine(safemode, hotboot, reboot, and download mode). Any ideas on what could have changed?

Here is my logcat. Thanks for any help

Reboot_Recovery_Logcat
[Galaxy Note 3 Android Development] Kamy:
Here is a new one:

How to make a round corner for recent apps window

SystemUI.apk>dimens.xml

Change

<dimen name="recents_task_view_rounded_corners_radius">2.0dip</dimen>

to

<dimen name="recents_task_view_rounded_corners_radius">20.0dip</dimen>
[Galaxy Note 3 Android Development] tdunham:
Very nice!

Would you mind posting a SS of a few more of them stacked together too please?

Also, what does the little icon to the left of the 'X' represent?
[Galaxy Note 3 Android Development] tdunham:
Nevermind, [MENTION=1167171]rompnit[/MENTION] let me know its when multiwindow is enabled its a way to open recent apps in a multiwindow session.

Bummer, now I have to edit the screen position for the screen pinning mod so the icons don't overlap. Since I don't use MW, never knew it was even there. :rolleyes:
[Galaxy Note 3 Android Development] evilvoice:
Screen Pinning icon seems fine to me, doesn't look perfect, but I can click the 3 icons (MW, SP, X)

View attachment 3409745
[Galaxy Note 3 Android Development] usopjidin:
Does any one here could lead me to edit the expanded notification background size. Thanks in advance.
[Galaxy Note 3 Android Development] yuannovesa:
hai sir.. can you help me..??

i was try to show autostart and im follow all guide but can't show in my setting..can you help me to mod my secsetting?\

:o
[Galaxy Note 3 Android Development] Thebear j koss:
Either in dimensions.xml in systemUi or in layouts folder statusbar expanded xml.
[Galaxy Note 3 Android Development] usopjidin:
[MENTION=4916750]Thebear j koss[/MENTION] Thank you mate. I will take a look and will inform later...
[Galaxy Note 3 Android Development] Thebear j koss:
It may direct you to dimensions.xml from framework so keeo that handy as well. You can change it to whatever you need (guessing width) in systemui, or you may need to edit the framework dimensions xml as most apps will be pulling from there.
[Galaxy Note 3 Android Development] usopjidin:
Thanks mate, I am looking at SystemUI status bar expanded header, thinking of reducing the width there but Iooking at the items contents such as multiuser icons,etc. I might as well expand the size on the status bar extended. I will also check on the framework dimension as suggest.. Thanks
[Galaxy Note 3 Android Development] wkdurrani:
Internet meter working fine on N915FY BOC3 lollipop. Thanks. [MENTION=4819130]kmokhtar79[/MENTION] can you please tell me how to change refresh rate of internet speed meter? I searched everywhere but can't find the solution.
[Galaxy Note 3 Android Development] evilvoice:
Auto hide threshold slider?
[Galaxy Note 3 Android Development] wkdurrani:
I modded systemui.apk so that i can get data network speed on status bar. Its working fine. But it updates the kb/s after every 5 seconds or so. I want to change this update rate so that it updates after every 0.5 seconds. Any help?
[Galaxy Note 3 Android Development] Thebear j koss:
I'm not 100% on this but usually stuff like that is somewhere in smali(no idea where) or it is controlled by a jar file in framework folder. Not sure which 1. Since it's data there should be some sort of jar file that is carrier specific. Maybe a more knowledgeable dev can help as that is less of a theme modification and more of a feature mod.

---------- Post added at 12:44 PM ---------- Previous post was at 12:42 PM ----------

Might have some luck asking here- http://xdaforums.com/showthread.php?t=2799050 There are some of the best devs i know for Samsung devices and know where stuff like that is located.
[Galaxy Note 3 Android Development] rompnit:
Look through the smali.. There is a key for 'meter update frequency' I just can't recall what it is off hand. If you don't find it or someone beats me to it, I will post it when I return home later today.
[Galaxy Note 3 Android Development] Thebear j koss:
Told ya someone smarter than me would know. Good thing rompnit posted, hope you weren't digging through jar files because of me.
[Galaxy Note 3 Android Development] rompnit:
[MENTION=630026]wkdurrani[/MENTION]

The key for the update frequency should be

network_traffic_period

The arrays are as follows

<string-array name="traffic_update_entries">
<item>500 ms</item>
<item>1000 ms</item>
<item>1500 ms</item>
<item>2000 ms</item>
</string-array>
<string-array name="traffic_update_values">
<item>500</item>
<item>1000</item>
<item>1500</item>
<item>2000</item>
</string-array>

Hope this helps! :D
[Galaxy Note 3 Android Development] wkdurrani:
Thanks. But i can't fine network_traffic_period or arrays as you mentioned.

However, i tried using smali2java tool and figured out where should i change values in smali. However, after recompiling, systemui.apk does not work. Trying again now from scratch. Hopefully I'm successful.
[Galaxy Note 3 Android Development] evilvoice:
Are you modding Custom Settings or Sec Settings? You must do one of those. The key referenced is in one of those files. If you followed the method here, you should have modded Custom Settings and the information is there. You CAN NOT only mod SystemUI.
[Galaxy Note 3 Android Development] wkdurrani:
I am only modding systemui as mentioned in OP. I found another tutorial which also does mod on SecSettings. So I'll follow that one and try again.
[Galaxy Note 3 Android Development] evilvoice:
I should clarify. To edit the update frequency, you need to do some kind of settings edit. If you don't need to have any control over the meter, then you can use the method in the op. There are other posts in this thread that reference the traffic meter. You said you found one, so follow that and see if it gives you what you want
[Galaxy Note 3 Android Development] thunder82:
Hi kmokhtar79

can you help me i add your autostarts mod but after i tab on it settings will crashed

I add a logcat File
[Galaxy Note 3 Android Development] nashlesub:
Hi I opened the LegacyInCallUi.apk file folder but the value and color.xml files do not exist. You can help me, and tell me where to find those files?

Inviato dal mio SM-G900F utilizzando Tapatalk
[Galaxy Note 3 Android Development] tdunham:
It has to be decompiled before those resources are available to be edited.
[Galaxy Note 3 Android Development] nashlesub:
I'm sorry!

Inviato dal mio SM-G900F utilizzando Tapatalk

---------- Post added at 08:59 PM ---------- Previous post was at 08:58 PM ----------

ok thank you...

Inviato dal mio SM-G900F utilizzando Tapatalk
[Galaxy Note 3 Android Development] vandiaz_sairavinz:
hy...

look at the status bar to normal...

but seen from the lockscreen translucent

what can you help fix system ui AOSP for xperia :rolleyes:

Move wifi and the data icon to left

No logo signals and operator in lockscreen

thx dev
[Galaxy Note 3 Android Development] tdunham:
First of all, it is ALWAYS very bad manners to quote such a long post from an opening page.

Second, due to the problem with wording, we cannot understand your request.

Third, why did you post file?
[Galaxy Note 3 Android Development] vandiaz_sairavinz:
sory I'm newbie

juss ask master :(
[Galaxy Note 3 Android Development] kpirnie:
So cool!

Just to note, and maybe help out a bit....

For Note Edge Launcher on N900T (probably others as well)

Right around line 14238 in the same smali

.line 678
.restart local v17 # "filter":Landroid/content/IntentFilter;
.restart local v21 # "intent":Landroid/content/Intent;
:cond_26
[COLOR="Red"]# const/4 v5, 0x0[/COLOR]

.......... other code

.line 686
:cond_27
[COLOR="RoyalBlue"]const/4 v5, 0x2[/COLOR]

move-object/from16 v0, p0

invoke-virtual {v0, v5}, Lcom/android/launcher2/Launcher;->setRequestedOrientation(I)V
[Galaxy Note 3 Android Development] asc1977:
Can somebody help me how to encode that see on pic please

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy Note 3 Android Development] Goldie:
You need to decompile the apk before opening xmls
[Galaxy Note 3 Android Development] asc1977:
I know. But this file is in a zip. Cant decompile because its a standalone file

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy Note 3 Android Development] Goldie:
What is it and where's it from?
[Galaxy Note 3 Android Development] asc1977:
Its a theme from a other dev from s6 thread. He has a solution to push a statusbar.xml with unzip and zip in a aromainstaller. Is like my tool with icons bit he pushes xml files also. I didnt get it to work and want to look how he do this. He is the link to his tool

http://xdaforums.com/showthread.php?p=60810631

In this zip in folder carHD/statusbar and than any folder you find the xml files.

I didnt want to steal something. Only look how it work for my tool

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy Note 3 Android Development] est_yasser:
Nice work kmokhtar79, thanks for this useful thread.

But anyone knows how to enable sound toggles in power menu? like it was in kitkat
[Galaxy Note 3 Android Development] Kamy:
From here [Guide] Add Sound/Volume bar back to Power Menu :good:
[Galaxy Note 3 Android Development] JFam5:
I have been working on the 5 way reboot mod for a few days without luck. I've moded my SMALI files just as described in Post #1. I've found the ID in my Public.xml and used that address in the $99 smali file. I think the problem is my access$ references. In the $99 file (post #1) it links to access$400 and access$500. What action do I need to look for (in my globalactions.smali) to ensure that those are referencing the correct code?

As it is, I have the standard reboot menu but when I press on restart nothing happens. There is no popup asking me if I do want to restart and I do not get the popup of the 5way reboot. After a delay, my phone then goes into a reboot.

I know that it's a simple reference but I have not been able to figure it out.

I have done a little bit of other work by adding in the 3minit battery mod, but that doesn't affect the reboot operations.

Thanks for the help.

I'm running Optimal Rom 14-2 on the SG5 900V (Verizon).
[Galaxy Note 3 Android Development] Kamy:
Did you download and place attached smalis?
[Galaxy Note 3 Android Development] JFam5:
Yes. The smalis in the file were the $99, $99$1 and reboot. The reboot file overwrote my original file and I compared the two. It made perfect sense because that actually would give me the menu. No errors on compiling either.

---------- Post added at 11:01 AM ---------- Previous post was at 10:53 AM ----------

I'm wondering if there are some errors in the suggested code. I've been looking over Goldie's SMALI guide and basic programming (back to Basica) says that you have to close brackets/parenthesis. There are several places that the left square bracket is placed in code (post #2) that does not have a corresponding right close bracket.

# static fields

.field public static rebootMode:I

.field public static final rebootOptions:[Ljava/lang/String;

.field public static final rebootString:[Ljava/lang/String;

I thought it was indicating a switch of some kind but I think it should be closed. The next set of code also has the open bracket issue.

I've noted several others asking for help with this mod (read this whole thread) and no one ever stated that they resolved the issue.

I'm not a JAVA coder so I might be wrong with my assumptions here.
[Galaxy Note 3 Android Development] Kamy:
about the access seach this in GlobalActions$99

# getter for: Lcom/android/internal/policy/impl/GlobalActions;->mContext:Landroid/content/Context;
invoke-static {v1}, Lcom/android/internal/policy/impl/GlobalActions;->access$[B]500[/B](Lcom/android/internal/policy/impl/GlobalActions;)Landroid/content/Context;

and see if it's matched with this in GlobalActions

.method static synthetic access$[B]500[/B](Lcom/android/internal/policy/impl/GlobalActions;)Landroid/content/Context;
.locals 1

iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mContext:Landroid/content/Context;

return-object v0
.end method

On new firmware we have access$401 now so from device to device it may be different
[Galaxy Note 3 Android Development] JFam5:
Great,

Thanks for the clarification. I'll try it tonight and let you know if I run into other problems.
[Galaxy Note 3 Android Development] JFam5:
Unfortunately, those tips didn't work. I did find that the ACCESS$500 needed to point to $400 on my device, but I still received the same failure. The reboot option box does not show up and after 20 seconds the device reboots. The proper permissions are set. My id has been properly linked. I don't have any recompile errors. I've used backsmali, advanced APK manager and another with the same results. The only other thing I haven't done was sign and zipalign the jar when I recompile it. I've loaded framework-res, although it's not necessary for jar edits. I've removed the [ brackets and things were worse. I've read through Goldie's smali forum and read your conversations with Daxgirl.

In $99 you had two access$ references. I changed the $500 reference like you mentioned. I haven't had the chance to dig into the $400 reference to find out where it is supposed to point.

Anyone else have ideas? I can send my jar, but I

don't

want you to do it for me.

Thanks!
[Galaxy Note 3 Android Development] tdunham:
Look at the dumpstate_app_error.txt.gz from data/log for fatal errors after it captures the error (after fatal error causes system reboot). This applies to other mods as well. An easy way to get system logs of apps crashing.

You have to unzip it to read the text file inside.
[Galaxy Note 3 Android Development] JFam5:
Thanks, tdunham. didn't mean to leave you off of the list of authors I have been reading. nothing fatal in the app log, but found a fatal error in the sys log.

I'm going to try to figure it out but here is what I found:

AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.ui

08-12 15:23:04.389 13382 13529 E AndroidRuntime: java.lang.NoSuchMethodError: No direct method <init>(Lcom/android/internal/policy/impl/GlobalActions$99;)V in class Lcom/android/internal/policy/impl/GlobalActions$RebootAction; or its super classes (declaration of 'com.android.internal.policy.impl.GlobalActions$RebootAction' appears in /system/framework/android.policy.jar)

08-12 15:23:04.389 13382 13529 E AndroidRuntime:	at com.android.internal.policy.impl.GlobalActions$99.onPress(GlobalActions.java)

08-12 15:23:04.389 13382 13529 E AndroidRuntime:	at com.android.internal.policy.impl.GlobalActions.onClick(GlobalActions.java:2150)

08-12 15:23:04.389 13382 13529 E

thanks for the help.
[Galaxy Note 3 Android Development] jordiz86:
After I'll try and if it works I'll report here :)
[Galaxy Note 3 Android Development] xinfinityoO:
i think dont delete this line

<include android:visibility="gone" layout="@layout/quick_connect_layout_zero" />
[Galaxy Note 3 Android Development] filchi756:
Mate can you please check if its just me or the code for 3Minit Battery is blank?
[Galaxy Note 3 Android Development] tkari4:
Sorry I wasn't long on Lollipop, so didn't tried any option after removing it.

I forget already what is in quick_connect_layout_zero.xml, something must be there what is needed except SFinder & Quick connect.

So, the modification in dimens.xml should be enough without deleting the line. If it isn't OK, then the height dimension must be changed in quick_connect_layout_zero.xml instead in the dimes.xml. (maybe the dimension in dimens.xml is used for other components)

:o
[Galaxy Note 3 Android Development] Kamy:
Advanced ApkToo for Samsung Lollipop

Regarding to apktool kit which for some users is not possible to decompile/recompile some system apps like contact I found a proper apktool kit and as I had been using Advanced ApkTool which is now not fully compatible with Samsung lollipop apps, I decided to repack it with the modified version of apktool to be using for Samsung lollipop apps without any issue.

Download: Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79.zip

MD5: dde13a315a95c28f1cb6721429f42b3f​

All credit goes to [MENTION=5078388]BDFreak[/MENTION]
[Galaxy Note 3 Android Development] FdeKlerk:
All good, able to decompile and then recompile i get this! Please see attachment. :(
[Galaxy Note 3 Android Development] DaOldMan:
Did you try my recently compiled apktool ? I did a new version just yesteday, it's really good for LP.

Now gonna do some of your mods here as well (well the ones I didn't do yet).

Thomas
[Galaxy Note 3 Android Development] FdeKlerk:
No Luck!

Still not able to compile any TW lollipop systemui.:crying:
[Galaxy Note 3 Android Development] kpirnie:
use apktool rc3
[Galaxy Note 3 Android Development] Kamy:
That's not from the apktool that's from those smali you are trying to push go ask in quick launchpanel thread.
[Galaxy Note 3 Android Development] FdeKlerk:
Moderator please delete.
[Galaxy Note 3 Android Development] abelrhd:
Very nice mate :) Thanks again! BTW: For this issues I'm using normally apktool version v2.0.0-RC3 and works fine :)
[Galaxy Note 3 Android Development] FdeKlerk:
WHY!!:crying: Did everything according to that tutorial, and still no luck!!! My quick launcher does not appear in my notification panel!
[Galaxy Note 3 Android Development] tkari4:
[MENTION=4819130]kmokhtar79[/MENTION]

For translated Torchlight button text use this:

<PreferenceScreen android:title="[COLOR="Blue"][B]@string/torchlight_settings[/B][/COLOR]" android:key="torchlight" android:fragment="com.android.settings.torchlight.TorchlightSettings" />

I have it in 4.4.2, so it must be included in 5.0 too. ;)
[Galaxy Note 3 Android Development] jamesclinton:
Thanks for that,tested and it works :D
[Galaxy Note 3 Android Development] jamesclinton:
Enable Torch Toggle in Settings

[MENTION=4819130]kmokhtar79[/MENTION]

Thanks a lot for this wonderful guides after so many hours i finally succeeded modding my "SecSettings.apk" :D

Edit:Anybody managed to Decompile "android.policy jar" successfully ? mine Decompiled but wt only one folder named "original"
[Galaxy Note 3 Android Development] Kamy:
That's because you are trying to Decompile a odex jar.
[Galaxy Note 3 Android Development] jamesclinton:
Thanks for the reply

Edit:After sucesfully moded my "SecSettings.apk" if i factory reset my device the touch screen doesn't respond do u have any idea what could be the problem ?
[Galaxy Note 3 Android Development] parkerj7uc:
What happens if you change the .zip to .apk and then try to decompile?

People work hard to make your phone happy, just give thanks!!!
[Galaxy Note 3 Android Development] tdunham:
Yup, my computer is so stupid it tries to save every apk file as a zip if I'm not paying attention, I have to manually rename the file extension later sometimes.
[Galaxy Note 3 Android Development] starbucks2010:
Multi DPI

Is there any guide for making a ROM/apk multi dpi? I tried the easiest way - modifying the dpi in build.prop - but there are certain apps that don't scale correctly or they are loosing some functionality.

Thank you in advance.
[Galaxy Note 3 Android Development] DUHAsianSKILLZ:
This is the only guide I've found http://xdaforums.com/showthread.php?p=61491483

Though it's for the S6, I'm unsure if it will work for other devices
[Galaxy Note 3 Android Development] JFam5:
I appreciate everyone's help. I have the mod working now. Unfortunately, it broke some of my other toggles. I am able to press my sound toggle and it will go from sound to vibrate however it will not go into mute or back around to sound depressed a long press function works and I can change the sound in the settings menu however that is not the preferred method. Going to take some more and see how this was affected by the 5 Way reboot menu.
[Galaxy Note 3 Android Development] BongOfWar:
Multi API APK Kitchen

UPDATE 13/8/2015 V0.5.1

As of Version 0.5.1 This tool can be basically used to easily switch between multi API editing. ( <--- What does this mean??? )

It means basically that due to the way its set up to store, call, use framework files and stores completed compiled files it can be used by those

developers who edit for multiple API level platforms.

Due to the varied amount of API targets within the included apktools you should be able to edit apk\jar files from various versions of Android

with minimum amount of fuss and hassle.

Here are the changes in this version,

The Kitchen now has 5 Versions of apktool,

Kitchen now has 4 versions of Smali\Baksmali,

Kitchen now stores and calls its own framework file directly from within the kitchen folders, ( they are also stored and called depending on current apktool selected )

All decompiling now stored in a apktool version folder then decompiled apk\jar itself

Recompiled the same way, based on current apktool,

cleaned up some code,

added more error catchers,

Added option to main to open any kitchen work folder or the framework folder,

more misc changes i forget atm....

Hope you dont mind me posting this here, Please could ready do with some feedback if anyone willing to test it out.. :) TYIA

Link within my signature..
[Galaxy Note 3 Android Development] kpirnie:
right on mate
[Galaxy Note 3 Android Development] starbucks2010:
I already used this guide but even after modifications there are some apps which don't scale correctly (TouchWiz, camera, etc). I think that it has to be something else that needs to be modified also.

Thanks.