yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] carandcar:
Can someone help me with this error? I'm new to using apktool and I am always getting stuck at this error.

PS C:\Users\caran\AppData\Local\Temp> apktool b SystemUI

I: Using Apktool 2.3.3

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

I: Checking whether resources has changed...

I: Building resources...

S: WARNING: Could not write to (C:\Users\caran\AppData\Local\apktool\framework), using C:\Users\caran\AppData\Local\Temp\ instead...

S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable

W: fakeLogOpen(/dev/log_crash, O_WRONLY) failed

W: fakeLogOpen(/dev/log_security, O_WRONLY) failed

W: fakeLogOpen(/dev/log_crash, O_WRONLY) failed

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\caran\AppData\Local\Temp\brut_util_Jar_3026082672512170509.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, --no-version-vectors, -F, C:\Users\caran\AppData\Local\Temp\APKTOOL7803000168069302686.tmp, -0, qmg, -0, jpg, -0, png, -0, webp, -0, arsc, -I, C:\Users\caran\AppData\Local\Temp\1.apk, -S, C:\Users\caran\AppData\Local\Temp\SystemUI\res, -M, C:\Users\caran\AppData\Local\Temp\SystemUI\AndroidManifest.xml]

W: fakeLogOpen(/dev/log_security, O_WRONLY) failed

W: C:\Users\caran\AppData\Local\Temp\SystemUI\res\values\styles.xml:164: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.Holo'.

W:

W: C:\Users\caran\AppData\Local\Temp\SystemUI\res\values\styles.xml:165: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.Holo'.

PS C:\Users\caran\AppData\Local\Temp>

Thanks
[Android Apps and Games] Wilsonb:
Clear step by step instructions please. Currently on SamFail 2.5 boot loader, root.

Thanks
[Android Apps and Games] gharrington:
Use an older apktool version or manually add a framework folder path eg add - f c:/frameworks in apktool command
[Android Apps and Games] elmor0:
Re. 3Minit Clock & Battery - I have installed these manually (as .APK) - seemed to install fine on my Note 9. I can open these Apps & choose my settings etc, but, nothing actually appears on my status bar relevant to these Apps - i.e. no 3Minit clock or battery in my SB.

There are no FCs or error messages to indicate something wrong either. Any suggestions how to resolve this?
[Android Apps and Games] JavixKGD:
You need to install the proper smali files on the SystemUI and add the corresponding lines in the system icons.xml bud, other wise it will not know to look for it. If you are rooted then decompile UI, add the files as stated in the OP and recompile. Replace SystemUI apk in the priva-app folder and done. If ur not rooted then ur SOL, sorry

Sent from my TWIZtd N8
[Android Apps and Games] Trickster:
First of all, thank you very much for such great mods, I am a faithful follower of 3MinitBattery, it is an essential app for me that I like to customize my phone, now that I have encouraged myself I am starting little by little to add mods to a rom that I am doing, this app I want to implement but I have a question if you can help me, automatically hide the stock clock? In case you do not know how to do it? I am in a Note 8 with Android Pie and I would really appreciate your help.
[Android Apps and Games] störte:
Are there any changes to statusbar.xml to mod ? Cant fins´d some stuff there for modding on Note 9 Pie
[Android Apps and Games] levone1:
Move the ">" from the end of line 4 and put it at the end of line 5
[Android Apps and Games] gharrington:
If I understand you correctly this would need to be done in PhoneStatusBar class I can't do it from inside the clock sorry.
[Android Apps and Games] sac23:
awesome job bro like always
[Android Apps and Games] asc1977:
You are the best

Gesendet von meinem SM-G925F mit Tapatalk
[Android Apps and Games] Ather:
any rom control toggle for Stock Clock and 3minit Clock? :p
[Android Apps and Games] gharrington:
This needs to be done in the rom I can't do it from inside the clock class.
[Android Apps and Games] Ather:
any guide?
[Android Apps and Games] gharrington:
Sorry I simply don`t have time to write guides but it very simple just call findViewById(clock id) and call view.GONE or view.VISIBLE as you need it then do the same for MinitClock.

The guys and girls over in rom control thread may have time to help you with it [MENTION=4714483]daxgirl[/MENTION]
[Android Apps and Games] bluflight:
Is my impression or i noticed less touch responsiveness on this area? I mean, i tap and not have response on first tap

Inviato dal mio LG-H815 utilizzando Tapatalk
[Android Apps and Games] gharrington:
Update 2.0

Update 2.0 available

Changelog:

v2.0 22/06/2016

Added show/hide clock

Added gravity for clock items top, center, bottom

Made it easier to click clock location settings

To upgrade swap the old smali files for the new ones and install the new app.

Enjoy :)
[Android Apps and Games] nguyentankiet:
2.0 no need MinitClockItem.smali?
[Android Apps and Games] gharrington:
No it was there by mistake it didn't do anything.
[Android Apps and Games] Alexandr Ivanov:
Thank you for a great program! :good:
[Android Apps and Games] DaveX2012:
How to add date? like 22.06, Wed 22 etc?
[Android Apps and Games] millo1978:
[MENTION=4619873]gharrington[/MENTION]

Thanks a lot :)

New version 2.0

Samsung i9300 with my Custom ROM Android 4.4.4

In Statusbar the clock is always centered... but why?

I set BOTTOM in all Items...

Preview is good...

I apply changes...

(Screenshot 1)

Strange!

Have you the same issue?

edit: I see now that smali files are changed... maybe I solve with new SystemUI.

edit2: With new SystemUI... Now I can hide/show the clock and change position...

but with different size (Hour/Minutes 18 and Seconds more little) I can't align it at Bottom.

Screenshot 2: Hour/minutes size 18, Seconds size 10, all items at Bottom
[Android Apps and Games] gharrington:
Yes you need the new smali files mate.
[Android Apps and Games] bluflight:
With new update all ok, all works fine ?

Inviato dal mio LG-H815 utilizzando Tapatalk
[Android Apps and Games] asc1977:
Dear [MENTION=4619873]gharrington[/MENTION]

Small bug report

If i set now all to gravity bottom and make one text size smaller than the others happens that

What i mean with my last asking about that feature is something line that

Is this possible to do? It is possible in potatoe clock. Also please master dont forget about a option to move or swipe the items in style. Means if i want to add f.e. dare before clock i have to delete the clock and than build date and than build clock new. If i can swipe items i can swipe them from behind clock to before clock
[Android Apps and Games] gharrington:
Have you tried changing the fonts some have more/less padding around them. I will add stop to move but when I get time it's a lot of code to be added.
[Android Apps and Games] asc1977:
Yes also with other font this problem. Dont tested all but one. No rush about swipe. Its only a little feature request for easier handling
[Android Apps and Games] gharrington:
No worries if you can get it I can just add a heap more gravity options.
[Android Apps and Games] goldybewon:
[MENTION=4619873]gharrington[/MENTION] sir

See you everywhere in each and every ROM.

One more milestone achieved congrats.:good:

You are a Battery men l==l>

You are a Clock men (+)

Last night I was thinking when will you become Singal & WiFi men (Like 3minit Battery choices) @#$* ?

Think about it. Nothing is impossible for you sir.

10$ Advanced booking from my side. Waiting for one more BIG surprise:highfive:

Thanks a lot,

goldybewon

SM-N900S

Don't post anything without search in XDA encyclopedia
[Android Apps and Games] millo1978:
I can have "hide power button" when the clock is on right and on left.

for example

<FrameLayout android:gravity="center" android:orientation="horizontal" android:id="@+id/minitclock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerInParent="true">
<com.android.systemui.statusbar.policy.MinitClock threeminit:position="0" android:gravity="start|center" android:id="@+id/minitclock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_padding_start" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@null" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" />
</FrameLayout>

but when it's centered I can't. :(

I wrong something... but what?

Another issue...

Centered Clock has an overlapping...

Ticker and SystemIcons go on Clock.

Have you the same?

How to solve it?

Thanks again for the great work! :)
[Android Apps and Games] haifish9999:
Agreed with the overlapping issue you had faced (just only with centered clock position) . But "hidden power button" work just fine here, it isn't depen of the clock position on my device.

P/S: Your "Hidden Power Button" was on the same position with Centered Clock (both included in the same Framelayout) so it will not work (conflict).
[Android Apps and Games] gharrington:
Padding setting added to each item for even more control all items can be aligned now.
[Android Apps and Games] explotxion:
s7 edge

s7 edge in what would be the routes to change thanks
[Android Apps and Games] gharrington:
The example in page #1 is from the S7 edge so should be easy to follow.
[Android Apps and Games] gharrington:
I can fix the overlapping as I have done for my device but it requires lots more xml and smali edits the most users cant do.
[Android Apps and Games] haifish9999:
Totally agreed... And we will waiting for that fix. Take your time and thanks for your efforts.
[Android Apps and Games] JonathanRAZ:
<?xml version="1.0" encoding="utf-8"?>

<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/system_bar_background"

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"

xmlns:threeminit="http://threeminit.com">

You have to delete on this line xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"> the sign > verify
[Android Apps and Games] explotxion:
s7 edge

I followed your tutorial eh got out but now priate put it on the right appears in the 3 positions

threeminit:position="0"= center clock

threeminit:position="2"= left clock

threeminit:position="1" = right clock
[Android Apps and Games] gharrington:
Change both [MENTION=904501]dimen[/MENTION]/status_bar_clock_padding_start for 5dip
[Android Apps and Games] gharrington:
You have these wrong

threeminit:position="0"= center clock

threeminit:position="2"= left clock

threeminit:position="1" = right clock
[Android Apps and Games] stang5litre:
Thanks got that fixed and it's working except right function

Any ideas?
[Android Apps and Games] gharrington:
You have missed some changes to the clock you need to change the width and height to 0.0dip
[Android Apps and Games] gharrington:
Really check the position tags
[Android Apps and Games] explotxion:
threeminit:position=" center clock"

threeminit:position="left clock"

threeminit:position=" right clock"
[Android Apps and Games] stang5litre:
Looking into that now thanks for the quick responses. I live your mods. I J e 3 Minjt battery as well but for some reason it doesn't see other people s icons like colorable or any of them. It acts like it dls them and just shows no battery icons. Habe both apks as well. Resources apk and app apk. Plus smalis

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="0dp" android:layout_height="0dp" android:singleLine="true" android:alpha="0.74" />

<com.android.systemui.statusbar.policy.MinitClock threeminit:position="0" android:gravity="start|center" android:id="@+id/minitclock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:alpha="0.74" />
[Android Apps and Games] explotxion:
eh probado todas las variantes pero nada
[Android Apps and Games] gharrington:
Right clock = 0

Center clock = 1

Left clock = 2
[Android Apps and Games] JonathanRAZ:
Hey sir i have a question how can i hide 3minit clock from left and center on lockscreen? If you have it can you share if its not too much i know you have better things hehe
[Android Apps and Games] gharrington:
Sorry miss read you question I will post a guide later
[Android Apps and Games] JonathanRAZ:
Yeah they are correctly but on lockscreen it still shows left and center i will verify again when i get home
[Android Apps and Games] JonathanRAZ:
Ok thank you sir
[Android Apps and Games] explotxion:
asi lo hice pero no me compila me da fallo
[Android Apps and Games] explotxion:
s7edge

eh probado de mil maneras pero nada ahora sale mi reloj repetido[IMG="3minitclock"]file:///C:/Users/sweet/Desktop/Screenshot_20160628-085859.png[/IMG]
[Android Apps and Games] haifish9999:
3minit Clock mod work just fine here, except the overlapping issue... [emoji1]
[Android Apps and Games] explotxion:
3minit clock

deje antes el xml haber si podeis hechar una mano ya eh probado unas pocas veces :):):):):):):)

se ve q hoy no es mi dia estoy mu torpe gracias a todos
[Android Apps and Games] asc1977:
How can i put the apk in system folder that user didnt can remove it with easy dei stall? If i do in priv- app every reboot comes android actualize?
[Android Apps and Games] edzamber:
Push it on system/app into a Folder "3minitClock" [emoji6]
[Android Apps and Games] asc1977:
I tried this with earlier apps but after rebbot always green screen with actualize android. Problem was with potato clock. Maybe related because a old app. I try
[Android Apps and Games] edzamber:
Ok, you'll tell me [emoji6]
[Android Apps and Games] millo1978:
I have it in /system/app ...

Only apk in app folder.

No folder added.

After a reboot all is ok!

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Android Apps and Games] explotxion:
3minit

alguien podria hechar una mano
[Android Apps and Games] asc1977:
You must place the code for right direct to dtock clock line than works
[Android Apps and Games] stang5litre:
I'm sorry can you elaborate? Thanks for the help as well

Are you saying change the "start|center" on stock clock to? Tried start|right no go center|right no go. Right|center. Tried so many not sure lol
[Android Apps and Games] millo1978:
I see in your xml StockClock and 3Minit Clock before systemarea (systemicons)... so the clock is in centered position, on the left of systemicons...

I think you have to put Clocks after that area to have in right position.
[Android Apps and Games] stang5litre:
Thanks I'll try it can't hurt to try. Thanks let you know what happens

---------- Post added at 04:16 PM ---------- Previous post was at 03:42 PM ----------

Boom works fine now :):good: Thanks for the help!!! much appreciated to all

Now i need to head back to 3mint battery and see why i have no downloadable icons . Weird you are able to select the maker just no icons dl.

Thanks again
[Android Apps and Games] millo1978:
[MENTION=4619873]gharrington[/MENTION]

What do you think about translations?

We can help you...

I could help with Italian language...

Someone could help in their own language.

Also for 3Minit Battery.

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Android Apps and Games] goldybewon:
Great Master

Little request from my side will you please include in next update.

am/pm ==== uppercase or lowercase

Global color option if we don't use perticular hh mm dd color option. So we can set one color to all.

And final sir when will you think about 3minit signal icons.
[Android Apps and Games] trylogic:
Hello gharrington, how can i add shadow in clock?
[Android Apps and Games] gharrington:
Update coming very soon...
[Android Apps and Games] trylogic:
You can add an application function on / off shadow to the clock?
[Android Apps and Games] haifish9999:
It's just an icon for status bar and the clock text look so small, with shadow for small clock icon,look not so nice in my opinion...
[Android Apps and Games] trylogic:
If the desktop white wallpapers, the clock is don't seen. And if there is a shadow, the clock visible. Checked.
[Android Apps and Games] gharrington:
It tints the clock itself it not really the shadow make it visible. This is easy to achieve but it can't be done from the clock mod itself it has to be do elsewhere.
[Android Apps and Games] trylogic:
Ok. Thanks.
[Android Apps and Games] Bren123:
On Verizon S5 SM-G900V 3Minit clock overwrites 3Minit battery on lockscreen.
[Android Apps and Games] stang5litre:
I have the same issue, on the lockscreen 3minit battery sits on top of 3 minit clock. Is there a fix for this out there already? Or just add some padding. Thanks for any help in this .
[Android Apps and Games] iykeDROID™:
Great work bro.

Mine works fine but stock clock is still showing.

Please hoe to fix it.
[Android Apps and Games] haifish9999:
You need to set to disable or hide the stock clock first, it will solved your issue.
[Android Apps and Games] izzatmustakim:
Got this error while trying to recompile. And ideas?
[Android Apps and Games] gharrington:
You have a syntax error(wrong /missing charecter) you have made a mistake. In status_bar.xml on line 6
[Android Apps and Games] gharrington:
You missed this part of the mod

The part in red
[Android Apps and Games] izzatmustakim:
If I don't have the policy folder on SystemUI.apk\smali\com\android\systemui, then I have to create one. Right?

---------- Post added at 07:58 AM ---------- Previous post was at 07:15 AM ----------

https://www.mediafire.com/?0qk185741p1ge9h If someone can please take a look at my status_bar.xml. Cause I still got the same error even though I think I've done it right.
[Android Apps and Games] gharrington:
This will need to be fixed in StatusBarIconController.smali I cannot do from my mod directly. I will post a guide asap
[Android Apps and Games] gharrington:
Your error si here you have

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
xmlns:threeminit="http://threeminit.com">

you nee to remove the > after

"http://schemas.android.com/apk/res/com.android.systemui"

so its like this

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
xmlns:threeminit="http://threeminit.com">
[Android Apps and Games] iykeDROID™:
Thanks bro...I have fixed it....

Thanks to Dev.
[Android Apps and Games] gharrington:
Guide hide clock on lockscreen

Here is a guide to hide 3Minit Clock on the lockscreen in all locationd (left,center,right)

http://xdaforums.com/showpost.php?p=67353532&postcount=3
[Android Apps and Games] gharrington:
Here this will fix it for you

http://xdaforums.com/showpost.php?p=67353532&postcount=3
[Android Apps and Games] izzatmustakim:
Succeed decompile. But my systemui crash. ? Any ideas? Does it because I have the potato clock mod also installed?
[Android Apps and Games] gharrington:
Possibly if you can get me a logcat I can tell you whats wrong (Heres a guide I quickly found for you to get it). Did you add all the smali files?
[Android Apps and Games] izzatmustakim:
I did. On SystemUI.apk\smali\com\android\systemui\policy right? And here's my logcat. https://www.mediafire.com/?hyjzh8vy71lfa78 Not sure whether I got it right or not. :D
[Android Apps and Games] gharrington:
Check you still have NetworkTraffic.smali in your policy you folder there seems to be an error loading line 14 is status_bar.xml
[Android Apps and Games] izzatmustakim:
Deleted all the networktraffic smali on policy folder and line on status_bar.xml but still no luck. :confused: Here's another logcat http://www.mediafire.com/download/vbmuyx7t9d294ov/MyError2.txt
[Android Apps and Games] stang5litre:
Thanks a lot [MENTION=4619873]gharrington[/MENTION] [emoji106] [emoji2]
[Android Apps and Games] theromis:
can I use it on Android 2.2.8 ?
[Android Apps and Games] stang5litre:
[MENTION=4619873]gharrington[/MENTION] or anyone that can answer this I was trying to remove the overlap on 3minit battery and 3minit clock but the s5 does not have StatusBarIconController. Anyone use something different?
[Android Apps and Games] gharrington:
It can be done in PhoneStatusBar.smali in the updateKeygaurdState method this is from memory so you may have to dig around abit
[Android Apps and Games] GayCasper:
Is there a flashable version
[Android Apps and Games] tdunham:
No, that is not possible.
[Android Apps and Games] ::indie:::
Great work as always mate, thank you!
[Android Apps and Games] asc1977:
Hi [MENTION=535343]all[/MENTION] And special [MENTION=4619873]gharrington[/MENTION]

I buildet my new rom and integrated this mod. Pos1 and also specially post3 for hidden in lockscreen. After a clean install I have two clocks. One centre and one right. After I go in your app and set allignment f.e. to left one clock disappear and all is working.

WHATS THIS??? I didn't see this if I do it on a other rom before but without the smali edits. Can you help me or have a idea

Edit

Additional I find out if i press hide the clock in apps it is hidden but after lock and unlock the clock appears. Also a problem because Somali edits?
[Android Apps and Games] gharrington:
This could be many things! have you set the location tags correctly

threeminit:position="0" = right clock

threeminit:position="1" = center clock

threeminit:position="2" = left clock

thease parts above? You cant have any the same
[Android Apps and Games] asc1977:
Yes XML are correct. I tried mod with and without Smali edit. Without all work. With smali edits on clean install are two clocks. Centre and right. After set alignment all works. Also if you hide clock it comes back after lock and unlock phone. I am sure it is because the smali edits. Maybe there are different smali edit because I am work on note7 port with GRACE ui. If you want I can send you here the smali file without changes
[Android Apps and Games] ambasadii:
[MENTION=4619873]gharrington[/MENTION]

mate can you share apk without launcher icon or add source for github with not compiled apk

thanks!
[Android Apps and Games] gharrington:
I am ok with you decompiling the app for this purpose only. Please dont make any other changes to the app. thanks.
[Android Apps and Games] olcifaraga:
I have a problem keeping me away from using these clock modes.

Default clock font color is white and it doesn't match with other stock status icons (not fully white)

and with Samsung's new Grace UX, status bar icon colors inverted when using grace apps like sbrowser but clock color stays white.

Is it possible to solve this?
[Android Apps and Games] tdunham:
The part I quoted above is a known issue on any current version of android when having custom color components on the statusbar and is going to require some major modifications to resolve.

Daxgirl is currently beginning a large guide on how to resolve those issues on my guide thread.

---------- Post added at 05:36 PM ---------- Previous post was at 05:27 PM ----------

Just to clarify, the white on white issue with statusbar modification is only going to get resolved with additional smali modifications to SystemUI and is not the fault of this app. When we color system areas of the statusbar, it overrides the stock color scheme and it cannot be resolved without certain smali edits to correct for it.
[Android Apps and Games] gharrington:
If you have implemented the extra mod in post #3 to hide the clock on lockscreen it will be easy for you. You can just add a few more lines in StatusBarIconController.smali to the tintIcon method. I will add how to asap.