[MOD][T][stock4.3]SystemUI

Search This thread

peetr_

Senior Member
Oct 28, 2010
2,332
2,179
With:

v1 - 2G switch - reworked from LTE switch

v2 - Enabled AOSP features - flip settings, rotation lock, etc.
Fixes for these features, fixed 2G switch

Download - v1
Download - v2


mebyje2y.jpg

vyzynuny.jpg

 
Last edited:

tuzmaster_v2

Senior Member
Jun 7, 2013
272
92
tips, if it doenst work, switch your network mode to GSM/WCDMA preffered and try again :)
 
Last edited:

duke_dreadmoore

Senior Member
Aug 14, 2010
202
39
Malang
hi.. can I port the 2g toggle to 4.1.2?
If so, can you tell me which part should be added or edited?
I know how to decompile and recompile.
Many thanks!
 

peetr_

Senior Member
Oct 28, 2010
2,332
2,179
I don't know. Try to compare files in "tools" folder. I've had to change two LteService files and enable the switch on non lte devices in some of tools settings files.
 

jancsessz

Senior Member
Aug 16, 2013
724
1,160
Hey bro!
How to add my systemui aosp features?

Tapatalk-kal küldve az én LT26i-el
 

peetr_

Senior Member
Oct 28, 2010
2,332
2,179
Peetr_, could you give me some guidelines to replace 2G by backlight ?

You mean flashlight? Backlight is already there.
It can't be made from the LTE switch. LTE switch changes number of network.
It would have to be some kind of switch like the one in lidroid toggles. Or some switch that launches an activity in torch app for example.

But I found using widget on lockscreen to be the best solution.




Hey bro!
How to add my systemui aosp features?

Tapatalk-kal küldve az én LT26i-el

There are xml booleans that are disabled, invisibility in expanded header layout, rotation lock has dependency in framework that has to be disabled, fix from CM (aretherenotifications method) was needed for clear button. Clear button must be ImageView, not button, to make the icon visible. And maybe something else. I don't remember it all.
 
  • Like
Reactions: nreuge

nreuge

Senior Member
Apr 22, 2013
2,723
2,435
Saint-Nazaire
You mean flashlight? Backlight is already there.
It can't be made from the LTE switch. LTE switch changes number of network.
It would have to be some kind of switch like the one in lidroid toggles. Or some switch that launches an activity in torch app for example.

But I found using widget on lockscreen to be the best solution.

No, brightness is already there but not backlight (like the onofftools widget). I wish I could replace brighness by backlight on/off.
Thanks.

Flashlight can be added by a xposed app.
 

peetr_

Senior Member
Oct 28, 2010
2,332
2,179
Because 3g reception here is bad, it's draining battery and wcdma preferred mode doesn't work the way I would expect.
 
  • Like
Reactions: djfm

kongaz2

Senior Member
Mar 21, 2012
493
1,354
VietNam
I was tried to make it for Jelly Bean 4.1.2.

It FC because No such method setPreferredNetworkType.

I added this method to framework but no luck. Its not respond when I pressed this toggle. No Fc, can't get Logcat.
 
  • Like
Reactions: peetr_ and nnmka

yakupTR

Senior Member
Jun 28, 2013
822
154
Bro pls port 4.1.2 pls :)
anu2urym.jpg

Install Xperia s but parsing error :) :p
Xperia S1
 
Last edited:

peetr_

Senior Member
Oct 28, 2010
2,332
2,179
I was tried to make it for Jelly Bean 4.1.2.

It FC because No such method setPreferredNetworkType.

I added this method to framework but no luck. Its not respond when I pressed this toggle. No Fc, can't get Logcat.

It is already there, but in com.android.internal.telephony. Phone. And must be called different way. Take a look in use2g switch in phone app.
 

WhiteNeo

Senior Member
Feb 13, 2013
2,448
4,097
After rebooting when on 2G mode, it is impossible to switch 2G mode off again. Has to be done with the device settings, however afterwards your SystemUI mod works again as expected..

Any chance to fix this bug (in v1 too, if possible)? I've been waiting for a mod like this for ages, but as I'm nearly always using the 2G only setting, this bug is pretty annoying :/

Sent from my LT25i using xda app-developers app
 

peetr_

Senior Member
Oct 28, 2010
2,332
2,179
After rebooting when on 2G mode, it is impossible to switch 2G mode off again. Has to be done with the device settings, however afterwards your SystemUI mod works again as expected..

Any chance to fix this bug (in v1 too, if possible)? I've been waiting for a mod like this for ages, but as I'm nearly always using the 2G only setting, this bug is pretty annoying :/

Sent from my LT25i using xda app-developers app

V1 has this bug, but it was repaired in v2.
I am using it without problem on XT (non LTE).




Is it possible to change the AOSP-like buttons, like in the Hybrid 4.1.2?
By the way, I would like to learn how to edit the colors of the icons. Do you know how can I start?

Thanks a lot for your work @peetr_

I am not very proud to say that, but I started to use gravity box. :)
It has almost everything. But I am still using it with combination of stock quick settings.

If you want it colorized by theme, I haven't tried to colorize anything yet, but the best start would be decompiling some already colorized mod, with stock app. It's the best method for learning.
 
  • Like
Reactions: ironwick

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    With:

    v1 - 2G switch - reworked from LTE switch

    v2 - Enabled AOSP features - flip settings, rotation lock, etc.
    Fixes for these features, fixed 2G switch

    Download - v1
    Download - v2


    mebyje2y.jpg

    vyzynuny.jpg

    2
    I was tried to make it for Jelly Bean 4.1.2.

    It FC because No such method setPreferredNetworkType.

    I added this method to framework but no luck. Its not respond when I pressed this toggle. No Fc, can't get Logcat.
    1
    Peetr_, could you give me some guidelines to replace 2G by backlight ?

    You mean flashlight? Backlight is already there.
    It can't be made from the LTE switch. LTE switch changes number of network.
    It would have to be some kind of switch like the one in lidroid toggles. Or some switch that launches an activity in torch app for example.

    But I found using widget on lockscreen to be the best solution.




    Hey bro!
    How to add my systemui aosp features?

    Tapatalk-kal küldve az én LT26i-el

    There are xml booleans that are disabled, invisibility in expanded header layout, rotation lock has dependency in framework that has to be disabled, fix from CM (aretherenotifications method) was needed for clear button. Clear button must be ImageView, not button, to make the icon visible. And maybe something else. I don't remember it all.
    1
    Because 3g reception here is bad, it's draining battery and wcdma preferred mode doesn't work the way I would expect.