yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] Ajenaton1968:
Thank you. Yes I cook three roms, one for N7, another for I9100, both of them for my own use and one for I9505 this is public, you can see it if you want:

http://www.htcmania.com/showthread.php?t=798410

In our ROM, very popular, we use a lot of things from XDA members, with their credits, of course.

Thank you very much, like I told before I cooked my own rom, is only for my use, but I'm very interesting in this mods and come here, to learn things and try to practice a little bit my poor English.

Thanks for all and to all.

Desde mi S4 I9505 con Osiris ROM
[Galaxy S II General] Vivek_Neel:
Ok ok mate.

That's good to hear.

Chill:)
[Galaxy S II General] avirk:
Sorry mate don't have any intention to hurt you but that was seems me to a useless post until you don't clear what exactly you was looking for. If you mentioned your rom thread before it never happend. Keep up the good work and chill mate to share your mod knowledge here. :thumbup:
[Galaxy S II General] Ajenaton1968:
Don't Worry for nothing, now all is OK for me, i'm happy to be in XDA and i need to grow i'm very interesting in this thread and OXYDO kernel for I9505 with doubletap2wake i'm not be able to make it work.

Like i told before sorry for my poor english, this afternoon i'll start with the mods and i tell you.
[Galaxy S II General] glowerita:
Any Guide to have CRT ON? :)
[Galaxy S II General] Goldie:
Wont work. There is no edited surfaceflinger for 4.1.2

Sent from my GT-I9305
[Galaxy S II General] Ajenaton1968:
I tryed to do 4-Way Reboot i was working 2 hours and i lose 120 minutes....:eek:

Puff i'll try again another day.
[Galaxy S II General] glowerita:
As Spannaa says...

Welcome to the trial and error world of theming. :banghead:
[Galaxy S II General] Spannaa:
Too right!

Don't consider it as two hours wasted, it's two hours learning ;)

I'm on 8+ hours of 'learning' clock.smali now and am considering PMing [MENTION=3065070]Goldie[/MENTION]...

Sent from my GT-I9300...
[Galaxy S II General] Ajenaton1968:
Do it do it ohhhh my god.

Thanks to all

Best regards to all from Spain
[Galaxy S II General] Vivek_Neel:
Mate 8hr:eek:

Great ..
[Galaxy S II General] Spannaa:
Try working with MS SQL Server for a living...

Sent from my GT-I9300...
[Galaxy S II General] ocoot:
you need custom kernel with CRT effect feature/using custom rom like CM
[Galaxy S II General] Goldie:
Whats up?

Sent from my GT-I9305
[Galaxy S II General] engloa:
Congrats on your new app mate,saw it earlier

Sent from GT-I9505
[Galaxy S II General] Goldie:
Thanks mate :)

Sent from my GT-I9305
[Galaxy S II General] glowerita:
I'm speaking about CRT ON, not OFF.

I've mod "service.jar" to obtain CTR OFF and with Siyah Kernel it Works fine.

To have CTR ON I need a Mod too. :)
[Galaxy S II General] Spannaa:
I was trying to remove the large gap between the time in 12-hour format and the AM/PM indicator.

In the end, I removed the AM/PM indicator and like the look better.

To do this, I added systemui:ampmSmall="true" and a negative layout_marginRight to the statusbar clock and a negative layout_marginLeft to the statusbar expanded header date and then changed the small AM/PM magnifier from 50% to 0% in Clock.smali

.local v5, formatted:Landroid/text/SpannableStringBuilder;
-const/high16 v9, 0x3f00
+const/high16 v9, 0x0

Sort of cheating I know but everything else I tried resulted in either SystemUI stopped or no change.

Hints on a neater solution appreciated ;)
[Galaxy S II General] Ticklefish:
That's very clever. :cool:

Have you looked at TextClock? It's a piece of code that Google introduced in 4.2 that let's you customise the clock..
[Galaxy S II General] Spannaa:
I haven't, but I will now - thanks ;)

Sent from my GT-I9300...
[Galaxy S II General] KuliDiniHari:
Thank you sir.. this is nice guide :good:
[Galaxy S II General] cbucz24:
So, I'm not sure how this would work but I'm wondering if it's possible to reorder the icons on rotate?

Currently I have the rotation on the launcher but when it's rotated over only the top 2 rows get displayed.

Would it even be possible to change them to fit similar to portrait view?

And I guess the next question, if it changed them would portrait go back to where it originally was?

Figured I'd ask. Lol
[Galaxy S II General] HighlanderZA:
Try putting in a margintop parameter with some dip in the HorizontalScrollView section! You need to get it to move downwards to expose the header.
[Galaxy S II General] mabiason1992:
read

this is very helpful. ^_^ gonna read all of them xD :fingers-crossed:
[Galaxy S II General] cbucz24:
ok, im feeling a bit noobish.

I had the link saved but i cant seem to find it. and i cant remember who made it?

I thought it was either [MENTION=3065070]Goldie[/MENTION] or [MENTION=1042140]tdunham[/MENTION], but i didnt see it?

I was looking for a page someone made that had a brief explaination what some of the smali codes, meanings, etc were.

I know Goldie did make a smali thread. But its not the one i was looking for unless i missed it. Just a day im home sick an figured id make the best of it lol
[Galaxy S II General] tdunham:
Not sure.

Unless you're looking for a specific guide, this one by Goldie is the most comprehensive smali guide that I know of.

[GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

If you're looking for specific guides, I have done many and they can be found by looking under my profile for threads that I have created. I find many this way from some of my favorite developers. Guides are hard to come by nowadays as many of the more experienced developers do not post guides any longer as they can be a little tedious to create.
[Galaxy S II General] cbucz24:
thanks for responding so quick ;)

I have that saved one from goldie. it is very good. and i just looked thru yours again to see if i missed it.

but its still not the one i saw before...now keep in mind im a measly themer vs you guys an your talents. lol

but the one im talking about for example had:

explainaton of what the different codes were like the const/4 v10, 0x4

what each section meant.

things like that? does that make sense?
[Galaxy S II General] Goldie:
http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html

;)
[Galaxy S II General] Spannaa:
Thanks for the pointer [MENTION=4315551]Ticklefish[/MENTION] - I'm surprised it isn't used more as it's so easy to work with.

[GUIDE][4.2+] Replace your statusbar clock with a styled TextClock
[Galaxy S II General] Ticklefish:
Always a pleasure. I don't think many people know about it, which is a shame. It's a very nifty widget.. :)
[Galaxy S II General] glowerita:
Hello people!

In Menù settings/developer options exist an option to limit Background processes. Setting it on "no process" ... the option is lost every next phone's reboot.

I want to keep the option every reboot. I think that I have to change some value in Settings.apk, but... which value?... and... what I have to change?

Thanks in advance.

A nice time to all! :)

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II General] lacoursiere18:
My guess would be developer_settings.xml.. it will have a true or false value if I am not mistaken..on the line that says background process or whatever.. set it to true
[Galaxy S II General] glowerita:
Thanks very much. When come back home will try. Thanks again. :)

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II General] AlexanderDG83:
Great work! :cool:
[Galaxy S II General] tdunham:
I think this would be a sql database edit because I know that the values to be changed like Animation Scales are stored there. I use a script to change those values as a tweak. If the above method works though, please let us know. :)
[Galaxy S II General] Grimmjow 07:
how can Add Exit Menu in stock Browser
[Galaxy S II General] tdunham:
The easiest method is using a csc tweak.

The thread here has it and is pretty informative:

http://xdaforums.com/showthread.php?t=2033894
[Galaxy S II General] glowerita:
My initial idea was in fact to create a Script to insert into init.d Folder.

Would you be so kind to post me your Script? :angel: :)

I'm looking into "development settings.smali".

I can' t find the any String "true" or "false" that can be linked to the Background Process item. :crying:
[Galaxy S II General] tdunham:
I think this is it:

#!/tmp/busybox sh

busybox mount /system
busybox mount -o rw,remount /system

/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update system set value=".5" where name="transition_animation_scale";'
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update system set value=".5" where name="window_animation_scale";'
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update system set value=".5" where name="animator_duration_scale";'

I haven't tried it yet but I was considering installing a sql database app to see what other things can be tweaked. And also to see if I could find out what the names of some of the variables are so I could experiment a little.

If anyone know of another method to find out that information? Please share.
[Galaxy S II General] Grimmjow 07:
thx mate
[Galaxy S II General] glowerita:
I've find this code:

invoke-interface {v1, v0}, Landroid/app/IActivityManager;->setProcessLimit(I)V

.line 735
invoke-direct {p0}, Lcom/android/settings/DevelopmentSettings;->updateAppProcessLimitOptions()V
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

.

If I set to "1" the Values that now are at "0"? :)

Thanks for your sharing. I might also try your script, changing it for my demand. In this way:

/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update system set value=".1" where name="background process";'

.

I'm in a hurry now, but tonight will try something.
[Galaxy S II General] glowerita:
HI! :o

I am looking for a Guide (but I have not found anything) to change the long press left Soft Key function.

I would like to return to the Home (default function is the "Start Google Now") holding it press.

Thanks in advance who will help me. :)
[Galaxy S II General] tdunham:
You have to determine which string points to home button rather than back button. For instance, here is a guide that uses menu button instead for kill:

http://xdaforums.com/showthread.php?t=2303311

Compare guides to see how the changes apply for your purpose.
[Galaxy S II General] glowerita:
Thanks for your replay. I' ve see that Guide, but it doesn't corresponds about that I have ask. :)

Using Long Press left SOFTKEY... I want to come back to Home. Now this function is used By Google Now.
[Galaxy S II General] tdunham:
Ah, my mistake. I thought you were asking about long press to kill but assignment. I will look at smali later to see if I see anything.

BTW, about your previous request for background processes in developer options. I looked through settings database with sqlite editor and I was unable to find the exact entry that corresponds to background processes in the sql database. I was hoping to find the exact string name that would define that entry. Just wanted you to know I looked at it.
[Galaxy S II General] glowerita:
Thank you again. Are you really Kind. :)

About my previous request ... I tried to use your Script .

Like so:

/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update system set value=".1" where name="background processes";'

.

I set "1" because "1" is the first choise in the Menù.

Unfortunately it does' nt work. :(

I think, like You said, I have to modify sql database, but I don't know how. :(

Don't worry anyway ... If you have some news to both my requests I will be happy to reread You. :)

Otherwise ... Thank you very much anyway. You are very kind. :)
[Galaxy S II General] heroaa16:
it isn't good, it's best guide! thanks:good:
[Galaxy S II General] ch3mistry2222:
Hi guys, does anyone know how to mode flash light/torch in toggle???
[Galaxy S II General] tdunham:
Adding Flashlight Toggle to Stock Toggles

This is not a complete guide. Download and unzip attached support files.

Add string systemui/res/values/strings.xml:

<string name="quickpanel_flashlight_text">Torch</string>

Add 2 png files to systemui/res/drawables-xhdpi

Remove items that may not apply to your phone. Rearrange items for easiest access.

Modify systemui/res/values/arrays.xml:

<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>MobileData</item>
<item>Wimax</item>
<item>Location</item>
<item>SilentMode</item>
<item>Torch</item>
<item>Sync</item>
<item>Bluetooth</item>
<item>AutoRotate</item>
<item>DoNotDisturb</item>
<item>DormantMode</item>
<item>DrivingMode</item>
<item>NfcP2p</item>
<item>PenOnly</item>
<item>Ebook</item>
<item>SmartStay</item>
<item>PowerSaving</item>
<item>AirplaneMode</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>SBeam</item>
</string-array>

Add file to system/app/torch.apk

Add file com/android/systemui/statusbar/policy/FlashlightQuickSettingButton.smali

Compile SystemUI.apk/decompile changed file to get new public.xml values.

*** Open FlashlightQuickSettingButton.smali, 3 values to edit in this file before using (from recompiled systemui/res/values/public.xml):

<public type="string" name="quickpanel_flashlight_text" id="0x7f0a0159" />
<public type="drawable" name="tw_quick_panel_icon_flashlight_off" id="0x7f020371" />
<public type="drawable" name="tw_quick_panel_icon_flashlight_on" id="0x7f020372" />

Edit: These public values will be different in your code.
[Galaxy S II General] Ticklefish:
Neat! Is there anyway to do this on an Xperia ROM?
[Galaxy S II General] tdunham:
I'm not sure. The guide is for touchwiz 4.1.2 based rom and is only for adding flashlight to stock toggles.
[Galaxy S II General] Ticklefish:
Thought as much. But it was worth a shot! ;)
[Galaxy S II General] ch3mistry2222:
Thanks [MENTION=1042140]tdunham[/MENTION]

And do u know any guide about lockscreen and weather witged?

I want to resize the clock of weather witged. And i also want to remove places of clock on lockscreen. But i dont know how to do it? Could u tell me, or anybody else?
[Galaxy S II General] spotter-ssol:
Hi! First, sorry my english! Newbye question:

I'm on Neat 4.8 lite (4.1.2) and I wanna reduce the number of options at reboot menu from (reboot, hot boot, download, recovery) to just (reboot, recovery). Folowing this guide, I've decompiled & edited GlobalActions$SinglePressAction.smali inside android.policy.jar from:

# direct methods
.method static constructor <clinit>()V
.locals 3

const/4 v0, 0x4

new-array v0, v0, [Ljava/lang/String;

const/4 v1, 0x0

const-string v2, "Reboot"

aput-object v2, v0, v1

const/4 v1, 0x1

const-string v2, "Hot Boot"

aput-object v2, v0, v1

const/4 v1, 0x2

const-string v2, "Download"

aput-object v2, v0, v1

const/4 v1, 0x3

const-string v2, "Recovery"

aput-object v2, v0, v1

sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;

return-void
.end method

to

# direct methods
.method static constructor <clinit>()V
.locals 3

const/4 v0, 0x[COLOR="Red"]2[/COLOR]

new-array v0, v0, [Ljava/lang/String;

const/4 v1, 0x0

const-string v2, "Reboot"

aput-object v2, v0, v1

[STRIKE] const/4 v1, 0x1

const-string v2, "Hot Boot"

aput-object v2, v0, v1

const/4 v1, 0x2

const-string v2, "Download"

aput-object v2, v0, v1[/STRIKE]

const/4 v1, 0x[COLOR="red"]1[/COLOR]

const-string v2, "Recovery"

aput-object v2, v0, v1

sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;

return-void
.end method

I've got the menu with only those two options, but when I select "Recovery" I got a hot boot instead!

What do I'm missing?

*I have limited skills at coding...
[Galaxy S II General] Goldie:
Youre missing using logcat. You should always use it when trying something new :)
[Galaxy S II General] cbucz24:
The lock screen controls are in the framework. The images are all there.

I tried a few early mods to move it around an resize before I really knew what I was doing.

It's all xml controlled. Can't remember the name exactly, but if you find the images then you will find it.

It's one of the keyguard.xml files. Should be a few.

Not sure of your abilities or knowledge level, but pay close attention to the containers. You may have to resize them in dimens.xml or change the dip in the xml for it to fit right
[Galaxy S II General] glowerita:
Hì! If you want to move the clock on the lock screen the XML is contained in:

res\layout-hdpi\keyguard_circlelock_clockwidget.xml. Be careful, because you must to rename ALL the entries about the position you want to have.

If you are on JB and you like my one ... Download my files. https://mega.co.nz/#!dxwAkQBI!tBV_UeKYDCtWlPqq8GVqhpV2l0jG_qSBed7bXZf_O2c

You can decompiled framework-res.apk and replace it with your. Recompile after.

About lockscreen and weather witged ... I don't know. Sorry. :)

Edit: to move the clock location in LockScreen you can still compare the values ​​contained in my file with your.

You'll have a reference about which values ​​you must to change.
[Galaxy S II General] cbucz24:
<br />

<br />

Hì! If you want to move the clock on the lock screen the XML is contained in: <br />

res\layout-hdpi\keyguard_circlelock_clockwidget.xml. Be careful, because you must to rename ALL the entries about the position you want to have. <br />

If you are on JB and you like my one ... Download my files. https://mega.co.nz/#!dxwAkQBI!tBV_UeKYDCtWlPqq8GVqhpV2l0jG_qSBed7bXZf_O2c<br />

<br />

You can decompiled framework-res.apk and replace it with your. Recompile after. <br />

<br />

<br />

About lockscreen and weather witged ... I don't know. Sorry. :)<br />

<br />

<br />

<br />

Edit: to move the clock location in LockScreen you can still compare the values ​​contained in my file with your. <br />

You'll have a reference about which values ​​you must to change.[/QUOTE]

Yea that xml. Lol, I'm at work an I couldn't remember which one it was.
[Galaxy S II General] ch3mistry2222:
hi, my phone is s2 i9100g and im using a systemui like s5. but i cant make transparent pull down notification by the old way. so does anyone know how to do this?
[Galaxy S II General] tdunham:
You could use the guide I posted here for power menu. This one is native, you do not need to extended restart menu and the guide also includes how to remove menu items (for my method, not guide you are using).

http://xdaforums.com/showthread.php?t=2125196
[Galaxy S II General] limyuyang:
Is there a guide to get this ? The expanded notification in android 4.2, I can't find a guide to mod it in the OP. All I can find is just 23 toggles.

Thank you. :laugh:
[Galaxy S II General] lacoursiere18:
Just pull the images from the S5 SystemUI.. No need for a guide.. Decompile both apks and compare;)
[Galaxy S II General] tdunham:
This thread is for Touchwiz JB 4.1.2 based roms not 4.2 and above, sorry.

But, I have not seen any specific guides to enable and use the stock quickpanel (that is pictured) on 4.1.2 either even though I know it has been done.

Most of us are using the 23 toggle wanam/lidroid quickpanel as it has all the features we need.

This is theming only and there are multiple threads already dedicated to porting S5 style themes over to other phones already that he can search for and adapt if that is what he wishes to do.
[Galaxy S II General] limyuyang:
I guess you guys misunderstood me.

I'm not asking about the images, the pngs. I'm actually asking for the quick panel, which mod or guide can end up with the quick panel ? Or it comes with stock rom ? ( if I have not make any mistakes, the s2 doesn't have the quick settings in stock 4.1.2 right ? )

Wait a minute, does the quick settings ( the toggles ) comes with the stock 4.1.2 ?? ( the attachment below )
[Galaxy S II General] Goldie:
You mean like this....

http://xdaforums.com/showthread.php?t=2567736

Or this...

http://xdaforums.com/showthread.php?t=2366476

?
[Galaxy S II General] tdunham:
No, the menu item is there if you unhide it (the links you posted show screenshots of the one in 4.1.2) but it is not fully functional.

Fortunately, our mate Goldie just posted a nice link for what you are looking for.
[Galaxy S II General] limyuyang:
Thanks for the links. But those are AOSP style. Is there a guide to mod quick settings with Stock Samsung style ?
[Galaxy S II General] glowerita:
You can replace relative png Samsung stock.

Inviato dal mio GT-I9000
[Galaxy S II General] Vivek_Neel:
Need some help guys:laugh:

I am trying to mod

tw_status_bar_expanded.xml

to bring the

auto

text below the box as shown in the attachment.

This what i did.

edited things shown in the red

<com.android.systemui.statusbar.policy.ToggleSlider [COLOR="Red"][B]android:orientation="vertical"[/B][/COLOR] android:id="@id/brightness" android:layout_width="fill_parent"[B][COLOR="Red"] android:layout_height="wrap_content" [/COLOR][/B]systemui:text="@string/status_bar_settings_auto_brightness_label" />
<com.android.systemui.statusbar.policy.ToggleSlider [B][COLOR="Red"]android:layout_gravity="center_vertical"[/COLOR][/B] android:id="@id/auto_brightness" android:layout_width="fill_parent" [B][COLOR="Red"]android:layout_height="50.0dip"[/COLOR][/B] systemui:text="@string/status_bar_settings_auto_brightness_label" />

unedited lines

<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:text="@string/status_bar_settings_auto_brightness_label" />
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/auto_brightness" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:text="@string/status_bar_settings_auto_brightness_label" />

But this did not change anything..:( any idea y?
[Galaxy S II General] Spannaa:
IIRC the android:orientation="vertical" attribute should be on the LinearLayout view group.
[Galaxy S II General] Vivek_Neel:
Yes exactly.

I had tried earlier with <LinerLayout>

Gave me fc.

:(

Regards,

Neel
[Galaxy S II General] Goldie:
If the checkbox has an id try android:layout_below= id of the check
[Galaxy S II General] Vivek_Neel:
Thank u mate.:)

Still fc and I am giving up for now.

I have to study..:(

Regards,

Neel
[Galaxy S II General] cbucz24:
I assume your trying to get it below where the notifications are shown?

If so, you are probably putting that inside where the notifications themselves are which would result in the fc. It's a static object that your trying to hide when it's not active. Kind of like a double negative

Examine the layout as a whole. You will notice just below where the toggles are called there will be the line for your auto brightness bar. Then starts the notification.

Follow the brackets down. Keeping in mind the layout being used.

Now, are you trying to make it at the very bottom??? Where the drag handle is located? I've done that before, takes a bit of playing with dimens.xml too

Now, below where all of that ends and just above the close handle lines. Add in your lines there. Make sure you keep the bracket structure in place too. One missing bracket an it all fails.

If this is what your looking for, I'll post up what the extended.xml should resemble in a bit.
[Galaxy S II General] Goldie:
I thought he was just trying to move the "Auto" underneath the checkbox itself?
[Galaxy S II General] cbucz24:
Hmmm, then if that's the case what does it look like to begin with?

Sorry if I gave the wrong info. I like moving things around
[Galaxy S II General] Goldie:
At the side i think if i remember right on 4.1.2. Maybe i misunderstood :)
[Galaxy S II General] cbucz24:
Hey guys, I have a kind of off topic question. I remember seeing it somewhere, but where can I modify the trace color for the SamsungIME.apk?

If I remember correctly it was in smali?
[Galaxy S II General] lacoursiere18:
Here man..

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

There are some more edits needed to make it happy though..

I believe adding another const a little further down.. I will post exactly what Thursday when I have off..;)