As the title suggests - I'm looking for someone who can make a mod (or point me in the right direction how to do it myself) to remove Stamina icon from the status bar. I keep Stamina mode always on, so I don't want the icon taking space on status bar. The other reason is I can't change its colour with Xblast.
Sent from my Xperia Z
EDIT:
Thanks @Drummerjed for making the mod and @RyokoN for helping out!
See post #3 for DEODEXED version, and post #8 for ODEXED version.
Id like this as well.
Sent from my phone...
Modded SuperStamina.apk (hidden statusbar stamina mode icon):
For deodexed .67 firmware only *Fixed blank space issue, thanks to @RyokoN*
Do a nandroid backup first just in case then flash this - http://www.mediafire.com/download/lrx9ji5v2ur4wdr/Hide_Sony_Stamina_icon_deodex67.zip
Drummerjed said:
Modded SuperStamina.apk (removed Stamina icon png and corresponding id from public.xml) - http://www.mediafire.com/download/2ne7t2hw51a4izq/SuperStamina.apk
For deodexed .67 firmware only
Copy the file to your phone
Turn off Stamina mode in Settings>Power management
Move the downloaded SuperStamina.apk to /system/app and overwrite when prompted
Change it's permissions to rw- r-- r--
Reboot
Let me know if it works for you
Click to expand...
Click to collapse
So it is not possible for odexed or you don't know how to do that for odexed?
gripfly said:
So it is not possible for odexed or you don't know how to do that for odexed?
Click to expand...
Click to collapse
Yeah I'll give it a shot. Upload your SuperStamina.apk and SuperStamina.odex
https://mega.co.nz/#!Ttx2UYoL!Mf5fV-RyEWZqwNBIKocvmdhwzv_4GkL7qfq5WEOrd3s
Gesendet von meinem C6603 mit Tapatalk
@Drummerjed thanks mate. Looking forward to odexed version. I'm too lazy to start with deodexing the ROM.
Sent from my Xperia Z
gripfly said:
https://mega.co.nz/#!Ttx2UYoL!Mf5fV-RyEWZqwNBIKocvmdhwzv_4GkL7qfq5WEOrd3s
Gesendet von meinem C6603 mit Tapatalk
Click to expand...
Click to collapse
sunbriel said:
@Drummerjed thanks mate. Looking forward to odexed version. I'm too lazy to start with deodexing the ROM.
Sent from my Xperia Z
Click to expand...
Click to collapse
For odexed .67 firmware only *Fixed blank space issue, thanks to @RyokoN*
Do a nandroid backup first just in case then flash this - http://www.mediafire.com/download/wejblkkd4okw7b1/Hide_Sony_Stamina_icon_odex67.zip
Ok, thank you. I will try it later when i am back at home.
You did the same like before in the deodexed version?
Gesendet von meinem C6603 mit Tapatalk
Thanks for your mod @Drummerjed
Hi..i would like to move the Stamina Icon to extreme left...can you do that?or point me in the way pls
@Drummerjed Or better you show us a thread which we can learn the basics for some little things like that.
What would be when you use stamina and energy save mode? Only energy save mode icon will be in statusbar?
Gesendet von meinem C6603 mit Tapatalk
Small bug, icon bluetooth.
How-to for removing stamina mode icon (fix blank space issue)
1. Decompile SuperStamina.apk
2. Open \res\values\public.xml and find "stamina_statusbar_stamina_mode" (and stamina_statusbar_combined_mode and stamina_statusbar_low_battery_mode if you use low battery mode)
3. Search its id, for example "7f02000c" in smali.
Maybe you will find
Code:
const-string v3, "super_stamina"
const v4, 0x7f02000c
invoke-virtual {v0, v3, v4, v5, v6}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;IILjava/lang/String;)V
goto :goto_0
in
\smali\com\sonymobile\superstamina\XperiaPowerService.smali
4. Delete lines
Code:
const v4, 0x7f02000c
invoke-virtual {v0, v3, v4, v5, v6}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;IILjava/lang/String;)V
5. Compile, then push to your device(adb, make flashable zip...)
Is it possible to make it via exposed module? I do not wish yo touch my rom.
Sent from my C6603 using xda app-developers app
@RyokoN What about odexed ROMs? I'm guessing .odex file has to be modified in some way, too.
Sent from my Xperia Z
RyokoN said:
How-to for removing stamina mode icon (fix blank space issue)
1. Decompile SuperStamina.apk
2. Open \res\values\public.xml and find "stamina_statusbar_stamina_mode" (and stamina_statusbar_combined_mode and stamina_statusbar_low_battery_mode if you use low battery mode)
3. Search its id, for example "7f02000c" in smali.
Maybe you will find
Code:
const-string v3, "super_stamina"
const v4, 0x7f02000c
invoke-virtual {v0, v3, v4, v5, v6}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;IILjava/lang/String;)V
goto :goto_0
in
\smali\com\sonymobile\superstamina\XperiaPowerService.smali
4. Delete lines
Code:
const v4, 0x7f02000c
invoke-virtual {v0, v3, v4, v5, v6}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;IILjava/lang/String;)V
5. Compile, then push to your device(adb, make flashable zip...)
Click to expand...
Click to collapse
Thanks @RyokoN I'll update my mods (odexed and deodexed)
*Mods Updated*
Odexed - http://forum.xda-developers.com/showpost.php?p=46754681&postcount=8
Deodexed - http://forum.xda-developers.com/showpost.php?p=46749795&postcount=3
Hm, I flashed the updated mod, but now the icon is back.
Sent from my Xperia Z
what if I use also the energie save mode with the stamina?
Will I see the icon from energie save mode or will I see the combination of stamina and safe mode?
sunbriel said:
Hm, I flashed the updated mod, but now the icon is back.
Sent from my Xperia Z
Click to expand...
Click to collapse
Should work now, download and flash it again
gripfly said:
what if I use also the energie save mode with the stamina?
Will I see the icon from energie save mode or will I see the combination of stamina and safe mode?
Click to expand...
Click to collapse
It hides both the Stamina and Low-power mode icons
Related
Hi..
Can anyone tell me how to change the carrier name in pull down status bar in EH09?
I decompiled services.jar and I can see lots of .smali files, but where exactly do I change? I tried searching for "powerwashed" (coz I'm on PWGB EH09) and can't find that string anywhere in the .smali files.
Thanks for any help!
Pulldown editor
ROOT TOOLS has a pulldown editor. It worked on my ED03 the devs name is JRUMMY16 I am a NOOB and can not post a link yet.
smoochy916 said:
ROOT TOOLS has a pulldown editor. It worked on my ED03 the devs name is JRUMMY16 I am a NOOB and can not post a link yet.
Click to expand...
Click to collapse
Thanks for the info, but I was looking more into learning how to do it myself vs using a program to do it.
neozen21 said:
Thanks for the info, but I was looking more into learning how to do it myself vs using a program to do it.
Click to expand...
Click to collapse
you would have to edit carrierlabel.smali (i forget exact name dont have anything decompiled) in systemui
nitsuj17 said:
you would have to edit carrierlabel.smali (i forget exact name dont have anything decompiled) in systemui
Click to expand...
Click to collapse
Hmm.. strange... I can't find carrierlable.smali in the decompiled Services.jar from PWGB EH09. I don't even see a systemmui directory.
The only thing remotely similar to that file is called NetworkPolicy$Carriers.smali in the \com\android\server\enterprise directory.
Is Services.jar the right file? I'm decompiling by using, once I extract the classes.dex with 7zip:
java -jar baksmali-1.2.8.jar -o Services_d classes.dex
Maybe I'm missing something? I appreciate your help!
android.policy.jar/smali/com/android/internal/policy/impl/LockScreen.smali: const-string v0, "PowerWashed GB"
notta said:
android.policy.jar/smali/com/android/internal/policy/impl/LockScreen.smali: const-string v0, "PowerWashed GB"
Click to expand...
Click to collapse
Yes! That's it!!
Thank you very much! Now I can change it to anything I like
neozen21 said:
Yes! That's it!!
Thank you very much! Now I can change it to anything I like
Click to expand...
Click to collapse
Sorry I miss read your post and you wanted the status bar not the lock screen. The above is for your lockscreen..
For the pulldown courtesy of TSM
SystemUI.apk/smali/com/android/systemui/statusbar/CarrierLabel.smali
Code:
move-result-object v2
- const-string v0, "TeamSbrissenMod"
-
- invoke-virtual {p0, v0}, Lcom/android/systemui/statusbar/CarrierLabel;->setText(Ljava/lang/CharSequence;)V
+ invoke-virtual {p0, v2}, Lcom/android/systemui/statusbar/CarrierLabel;->setText(Ljava/lang/CharSequence;)V
.line 112
:goto_0
notta said:
Sorry I miss read your post and you wanted the status bar not the lock screen. The above is for your lockscreen..
For the pulldown courtesy of TSM
SystemUI.apk/smali/com/android/systemui/statusbar/CarrierLabel.smali
Hmm.. Even though I don't see "PowerWashed GB" in the lockscreen, I still found that string in the android.policy.jar LockScreen.smali file. I guess I'll change that too, just in case.
nitsuj17 got it right, I just didn't know he meant SystemUI.apk. I thought the meant a directory called systemui in the Services.jar
Well.. thanks! I think I got it from here! Now I know how to change both the Status Bar AND the Lockscreen
Obviously, Services.jar wasn't the right file... Thanks guys!!
Click to expand...
Click to collapse
Update: I was able to successfully change the "PowerWashed GB" carrier name to Verizon Wireless in both the status bar and the lockscreen.
Thanks again guys!!
nitsuj17 said:
you would have to edit carrierlabel.smali (i forget exact name dont have anything decompiled) in systemui
Click to expand...
Click to collapse
Looks like I had an extra thanks there so I'm giving it back...
is there any step by step guide? i'm sure lot of guys want to do that.. thanks in advance.
balac_m said:
is there any step by step guide? i'm sure lot of guys want to do that.. thanks in advance.
Click to expand...
Click to collapse
it requires some knowledge of apkmanager/apktool (there are extensive guides on that here on xda)
beyond that, it will be an option in the next version of ei20 resurrection (as sbrissen has tsm parts going)
I have an only slightly related question. Im on the continuum side, and the only thing we have is an unofficial 2.2.2. So far, i cannot find any way to edit the eri banner on the drop down. Since "systemui.apk' is a gb affectation, the above methods wont work. Does anyone know of a way to do this? Also. The traditional method of editing the eri.xml doesng do anything, either. Thanks for any help.
I'm not here for a long time. I'm here for a good time. To hell with the red wine. Pour me some moonshine. - King George
Txwolf1980 said:
I have an only slightly related question. Im on the continuum side, and the only thing we have is an unofficial 2.2.2. So far, i cannot find any way to edit the eri banner on the drop down. Since "systemui.apk' is a gb affectation, the above methods wont work. Does anyone know of a way to do this? Also. The traditional method of editing the eri.xml doesng do anything, either. Thanks for any help.
I'm not here for a long time. I'm here for a good time. To hell with the red wine. Pour me some moonshine. - King George
Click to expand...
Click to collapse
for froyo you had to smali edit the services.jar (i dont think w/o tsm parts we were ever able to edit lockscreen carrier, just hide it...edits are somewhere in my how to theme thread by andmer
nitsuj17 said:
for froyo you had to smali edit the services.jar (i dont think w/o tsm parts we were ever able to edit lockscreen carrier, just hide it...edits are somewhere in my how to theme thread by andmer
Click to expand...
Click to collapse
And you were even kind enough to get it bumped to the top so I didn't have to search. Thanks. Hopefully porting this will work.
Fellow themers,
I have started putting together this guide for theming ICS. Some stuff I figured out myself and some was done by others so credit to all who figured it out first.
Please post your findings as well and I will add them here.
Happy theming.
GUIDE
Tools:
Update your sdk to 4.0
Latest Apkmanager (5.0.2) (make sure you replace the aapt with the latest one from your 4.0 sdk install/ Apk Multi-Tool
Latest Apktool
Install the framework:
Code:
apktool if framework-res.apk
Framework Compilation Errors:
You will notice that you get a lot of 'plurals.xml line 79' errors when trying to compile the framework.
You have to go the line 79 in each xml that gave an error and add a % in front of the 2nd %d.
For example in values/plurals.xml, change the following:
Code:
<item quantity="other">%d of %d</item>
to:
Code:
<item quantity="other">%d of %%d</item>
It will compile ok after that.
Clock/Carrier/Ticker/Text Highlight colors:
In framework-res/res/values/colors.xml, change the following to your desired hex color code:
Code:
<color name="holo_blue_light"></color>
<color name="holo_blue_dark"></color>
<color name="highlighted_text_holo_dark"></color>
<color name="highlighted_text_holo_light"></color>
Notifications background color:
In SystemUI/res/values/drawables.xml, change the following to your desired hex color code:
Code:
<item type="drawable" name="notification_item_background_color"></item>
<item type="drawable" name="notification_item_background_color_pressed"></item>
<item type="drawable" name="status_bar_notification_row_background_color"></item>
</item>
Changing the statusbar image:
In SystemUI/res/values/drawables.xml, change this one line and change the corresponding image in drawable-hdpi/xhdpi:
Code:
<drawable name="status_bar_background">@drawable/status_bar_bg_tile</drawable>
</item>
Changing the notification pulldown image:
In SystemUI/res/layout/status_bar_tracking.xml, add ---android:background="@drawable/pulldown"--- to the first line and add the corresponding image in drawable-hdpi/xhdpi:
Code:
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:background="@drawable/pulldown" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
Removing the tint that Google inexplicably added to all the notifications:
In SystemUI/res/values/dimens.xml, change this value to anything you like:
Code:
<item type="dimen" name="status_bar_icon_drawing_alpha"></item>
</item>
Changing it to 100% will get rid of the tint altogether.
Reserved for later...
One more for later...
Last one just in case...
I am in...
Well here I am, subbed
considering it may be awhile before or even if my phone does get ics, I'm in for helping in any way I can.
Im looking at making the dialler transparent, but theres no diallertabactivity.apk, sp where to start?
Running ics on my sgs, probably im getting a Nexus S, when it gets ICS. :-D
Perka said:
Im looking at making the dialler transparent, but theres no diallertabactivity.apk, sp where to start?
Running ics on my sgs, probably im getting a Nexus S, when it gets ICS. :-D
Click to expand...
Click to collapse
I thought ur on Galaxy Nexus? Stay! Dont go, Galaxy S will also receive cm9 too but i dunno about those htc phones.... Sadly, the Milestone lose support... Anyway, how we gonna theme cm9?
Sent from my GT-I9000 using Tapatalk
Well there are new folders in the drawables. Xhdpi is the one you want to edit
yea I have done some stuff, link in my sig.
Just cant find the pngs for dialler.
Edit: I have a sgs, for now
I dont think we will get a real ICS
Perka said:
yea I have done some stuff, link in my sig.
Just cant find the pngs for dialler.
Edit: I have a sgs, for now
I dont think we will get a real ICS
Click to expand...
Click to collapse
Will get cm9 not real Aosp type...
Sent from my GT-I9000 using Tapatalk
So how do you theme the toggles and where are they stored?
@MinceMan SystemUI.apk you need CM9, not AOSP ICS
ics xml are more easy than gb ones i do not think tha ics needs own theming thread, cos almost everything you know about gb you can mod in ics + you have some more extra features
ZduneX25 said:
@MinceMan SystemUI.apk you need CM9, not AOSP ICS
Click to expand...
Click to collapse
Thanks! I'm guessing that I was looking at an AOSP then.
Sent from my Photon 4G
Any way to make the statusbar transparant, I see this on ICS / Teamhacksung's bar, WHAT has to be changed for what?
Code:
new-instance v11, Landroid/view/WindowManager$LayoutParams;
const/4 v12, -0x1
const/16 v14, 0x7d0
const v15, 0x800048
const/16 v16, 0x4
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
@RATBORG try:
const/16 v16, -0x3
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Click to expand...
Click to collapse
I'll try it now man... thanks
EDIT: not working
Did you make sb background image transparent and use live wallpaper to be 100% sure?
Wysłane z mojego GT540 za pomocą Tapatalk
Jep, did it all. Will try it again in a minuten to be sure I'm not stupid whehe
can some one help me decompiling systemUI.apk. this is the error im getting. i m also uploading my systemui.apk below
romeoofair said:
can some one help me decompiling systemUI.apk. this is the error im getting. i m also uploading my systemui.apk below
Click to expand...
Click to collapse
Are you sure you installed framework-res.apk and SemcGenericUxpRes.apk before decompiling?
I am using this tool here: http://forum.xda-developers.com/showthread.php?t=2326604
Have no problems at all (exempt some semc files like semcdlna)
Here is the decompiled file:
View attachment SystemUI.rar
DaRk-L0rD said:
Are you sure you installed framework-res.apk and SemcGenericUxpRes.apk before decompiling?
I am using this tool here: http://forum.xda-developers.com/showthread.php?t=2326604
Have no problems at all (exempt some semc files like semcdlna)
Here is the decompiled file:
View attachment 2237248
Click to expand...
Click to collapse
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
romeoofair said:
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
Click to expand...
Click to collapse
which link? Which tutorial are you following?
romeoofair said:
bro but these files are not matching with the files given in this link to make my statusbar and navigation bar transparent :crying:
Click to expand...
Click to collapse
Maybe you posted wrong files bro. I did the progress I always do
Sent using Honami Experience
gregbradley said:
which link? Which tutorial are you following?
Click to expand...
Click to collapse
this is the link i m following bro http://forum.xda-developers.com/showthread.php?t=2262268 . some of the files are not matching with em.
DaRk-L0rD said:
Maybe you posted wrong files bro. I did the progress I always do
Sent using Honami Experience
Click to expand...
Click to collapse
no bro i m using honami full framework http://forum.xda-developers.com/showthread.php?t=2411950 with quick settings toggles http://forum.xda-developers.com/showthread.php?t=2416839. when ever i flash this mod http://forum.xda-developers.com/showthread.php?t=2362510 . my settings are not working. as the mod i flash includes systemUI.apk which is replacing the one with quick settings. so i wanted to mod my statusbar and navigation bar manually. but i find the files different
romeoofair said:
no bro i m using honami full framework http://forum.xda-developers.com/showthread.php?t=2411950 with quick settings toggles http://forum.xda-developers.com/showthread.php?t=2416839. when ever i flash this mod http://forum.xda-developers.com/showthread.php?t=2362510 . my settings are not working. as the mod i flash includes systemUI.apk which is replacing the one with quick settings. so i wanted to mod my statusbar and navigation bar manually. but i find the files different
Click to expand...
Click to collapse
The file you posted is from the quick settings with toggles or the stock one?
Sent using Honami Experience
DaRk-L0rD said:
The file you posted is from the quick settings with toggles or the stock one?
Sent using Honami Experience
Click to expand...
Click to collapse
i posted the one which i got after flashing quick settings
romeoofair said:
i posted the one which i got after flashing quick settings
Click to expand...
Click to collapse
Which files are different mate?
Sent using Honami Experience
DaRk-L0rD said:
Which files are different mate?
Sent using Honami Experience
Click to expand...
Click to collapse
\SystemUI\res\layout\navigation_bar.xml and SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali are different. i cant find <item type="drawable" name="status_bar_background">#5a000000</item> in navigation bar.xml and in 2nd one i was not able to find this
Find "showNav" (second result in Notepad++) or "mPixelFormat:I", this code. Green- Add:
Code:
.line 417
.end local v3 #showNav:Z
:cond_1
:goto_2
const/4 v5, -0x3 (or const/4 v9, -0x3 for Z)
iput v13, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I.
romeoofair said:
\SystemUI\res\layout\navigation_bar.xml and SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali are different. i cant find <item type="drawable" name="status_bar_background">#5a000000</item> in navigation bar.xml and in 2nd one i was not able to find this
Find "showNav" (second result in Notepad++) or "mPixelFormat:I", this code. Green- Add:
Code:
.line 417
.end local v3 #showNav:Z
:cond_1
:goto_2
const/4 v5, -0x3 (or const/4 v9, -0x3 for Z)
iput v13, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I.
Click to expand...
Click to collapse
These are the different files between the one i decompiled and then one you decompiled, right?
Sent using Honami Experience
DaRk-L0rD said:
These are the different files between the one i decompiled and then one you decompiled, right?
Sent using Honami Experience
Click to expand...
Click to collapse
the one i posted is from the mod page. but the files u decompiled does not consist those lines.
romeoofair said:
the one i posted is from the mod page. but the files u decompiled does not consist those lines.
Click to expand...
Click to collapse
I will take a look again bro when I get back home.
Sent using Honami Experience
@romeoofair Here is the systemui decompiles liked i told you in the pm bro: )
View attachment SystemUI.rar
DaRk-L0rD said:
I will take a look again bro when I get back home.
Sent using Honami Experience
Click to expand...
Click to collapse
bro these are my files. maybe u bettter try with these
DaRk-L0rD said:
@romeoofair Here is the systemui decompiles liked i told you in the pm bro: )
View attachment 2239537
Click to expand...
Click to collapse
i ll try it now bro
DaRk-L0rD said:
I will take a look again bro when I get back home.
Sent using Honami Experience
Click to expand...
Click to collapse
bro. still its not matching with the files in that list. if you dont mind can you please make the status bar and navigation bar transparent using those files
Guys i Found something that you will like !!
Yes you are correct it is Smart Rotation !! [Tested on fast dream 4.1 stock rom]
I was missing with some smali codes and adding feauters and by mistake deleted a code made my changes and found that there is a smart rotation option ??
what you need
1. smalli and backsmailli (attached in post )
2. time
3. mind
4. smalli code famillarity
HOW TO ENABLE THIS
1. OPEN SECSETTINGS.APK WITH 7ZIP
2. DRAG OUT THE CLASSES.DEX FILE TO THE FOLDER THAT CONTAINS SMALLI / BACKSMALLI
3. DRAG AND DROP CLASSES.DEX TO BACKSMALLI.BAT
4. A NEW FOLDER CALLED CLASSOUT WILL BE MADE
5. go to smali/com/android/settings/DisplaySettings.smali
6. Open this smali file with a NotePad++ and look for these lines and delete them
Code:
invoke-virtual {p0}, Lcom/android/settings/DisplaySettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;
move-result-object v12
iget-object v13, p0, Lcom/android/settings/DisplaySettings;->mSmartRotation:Landroid/preference/CheckBoxPreference;
invoke-virtual {v12, v13}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
7. GO TO THE FOLDER THAT CONTAINS SMALLI/ BACK SMALLI
8. DRAG AND DROP CLASS OUT FOLDER TO QUICKSMALLI.BAT
9. A NEW FILE CALLED NEW-CLASSES.DEX FILE WILL BE MADE
10. RENAME NEW-CLASSES.DEX TO CLASSES.DEX
11. OPEN SECSETTINGS.APK WITH 7ZIP AND DRAG AND DROP CLASSES.DEX TO THE 7ZIP WINDOW
12. PUSH TO SYSTEM/APP
13. OPEN SETTINGS AND GO TO DISPLAY HIT THE SMART ROTATION BOX AND REBOOT
14. VOLIA !!
15. HIT THANKS BUTTON
Find This Thread here At Sshd Fourms too
Great. I will try. :laugh:
dragon459 said:
Great. I will try. :laugh:
Click to expand...
Click to collapse
thanks waiting your feed back
Wow, Thanks man, I very very want it last day,, this is a not easy step, but I will try it..
and what is possible to porting feature smart pause to stock rom 4.2.2?
Im sorry my english is bad, I hope youre understand my mean..
thanks..
prabowoadhy said:
Wow, Thanks man, I very very want it last day,, this is a not easy step, but I will try it..
and what is possible to porting feature smart pause to stock rom 4.2.2?
Im sorry my english is bad, I hope youre understand my mean..
thanks..
Click to expand...
Click to collapse
Smart Pause requires an Proximity Sensor, wifi only models doens't have one and I think that GSM (3G models) doesn't have either
Narciso Neto said:
Smart Pause requires an Proximity Sensor, wifi only models doens't have one and I think that GSM (3G models) doesn't have either
Click to expand...
Click to collapse
3g models have proximity sensor, near the front speaker.
Sent from my GT-P3110 using Tapatalk 4
Decompile framework.jar using Batch apktool
and locate to
frameworksmali_classes2comsamsungandroidshare SShareCommon.smali
Use notepad++ for editing
Quote:
.method private setAlwaysUseFeature()V
.registers 2
.prologue
.line 139
const/4 v0, 0x1 change const/4 v0, 0x0
sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z
.line 140
return-void
.end method
Recompile framework.jar
I have tested it on my S5 G900H Deodexed MM 6.0.1
I should work in all MM based devices
Original thread: http://forum.xda-developers.com/gal...velopment/devs-helpingd-devs-t3321679/page123
credits to @grzegorz354 for his awsome mod
XDA:DevDB Information
[GUIDE] Bringing buttons "only once / always" to select when the task application "Op, ROM for the Samsung Galaxy S5
Contributors
yash92duster
ROM OS Version: 6.0.x Marshmallow
Version Information
Status: Stable
Created 2017-05-11
Last Updated 2017-05-11
Can you please guide me hoe to decompile jar file for my Note 4 N910G..
I tried but it failed..
kushal.arora16 said:
Can you please guide me hoe to decompile jar file for my Note 4 N910G..
I tried but it failed..
Click to expand...
Click to collapse
I don't know if it has same lines in note 4 jar
Install latest jre n jdk in Computer then using Batch apktool or Tickle my Android apktool
Decompile n check again
There is original guide in touchwiz unified mods thread
You can find two methods there
I tried decompiling framework.jar..
but there is no such smali_classes2\com\samsung\android\share folders in it.. I have attached snap shot..
I am on Marshmallow 6.0.1
kushal.arora16 said:
I tried decompiling framework.jar..
but there is no such smali_classes2\com\samsung\android\share folders in it.. I have attached snap shot..
I am on Marshmallow 6.0.1
Click to expand...
Click to collapse
You are on stock Rom so there won't be smali
First you must deodex your Rom then only you can customise
yash92duster said:
You are on stock Rom so there won't be smali
First you must deodex your Rom then only you can customise
Click to expand...
Click to collapse
Can I decompile, sign & zipalinged the jar..? Will signing & zipalinging create any problem.?
I am now on a custom stock rom which is deodexed & zipalinged...
---------- Post added at 09:29 PM ---------- Previous post was at 09:29 PM ----------
yash92duster said:
You are on stock Rom so there won't be smali
First you must deodex your Rom then only you can customise
Click to expand...
Click to collapse
Can I decompile, sign & zipalinged the jar..? Will signing & zipalinging create any problem.?
I am now on a custom stock rom which is deodexed & zipalinged...
kushal.arora16 said:
Can I decompile, sign & zipalinged the jar..? Will signing & zipalinging create any problem.?
I am now on a custom stock rom which is deodexed & zipalinged...
---------- Post added at 09:29 PM ---------- Previous post was at 09:29 PM ----------
Can I decompile, sign & zipalinged the jar..? Will signing & zipalinging create any problem.?
I am now on a custom stock rom which is deodexed & zipalinged...
Click to expand...
Click to collapse
Yes if you are on Deodex rom
it will work
Take backup and test it
@yash92duster Using s6 edge deoxed not work for me some fix
elkinguerrabarreto said:
@yash92duster Using s6 edge deoxed not work for me some fix
Click to expand...
Click to collapse
Attach your deodexed framework.jar
I will see
yash92duster said:
Decompile framework.jar using Batch apktool
and locate to
framework\smali_classes2\com\samsung\android\share \SShareCommon.smali
Use notepad++ for editing
Quote:
.method private setAlwaysUseFeature()V
.registers 2
.prologue
.line 139
const/4 v0, 0x1 change const/4 v0, 0x0
sput-boolean v0, Lcom/samsung/android/share/SShareCommon;->mIsSupportSetAlwaysUse:Z
.line 140
return-void
.end method
Recompile framework.jar
I have tested it on my S5 G900H Deodexed MM 6.0.1
I should work in all MM based devices
Original thread: http://forum.xda-developers.com/gal...velopment/devs-helpingd-devs-t3321679/page123
credits to @grzegorz354 for his awsome mod
Hoola now we can have the just once / always option back
Click to expand...
Click to collapse
hi. i arrived here looking for a fix to an issue on lollipop touchwiz 5.1.1 on galaxy j1 ace. when im going to pick a new ringtone, it does ask me what app to use, but it doesnt show the buttons just once or always, it just set it as default.
so i saw this and tough that it could work.
can u help me?
rivenroth740 said:
hi. i arrived here looking for a fix to an issue on lollipop touchwiz 5.1.1 on galaxy j1 ace. when im going to pick a new ringtone, it does ask me what app to use, but it doesnt show the buttons just once or always, it just set it as default.
so i saw this and tough that it could work.
can u help me?
Click to expand...
Click to collapse
did u try this guide
is it same smali for you?
yash92duster said:
did u try this guide
is it same smali for you?
Click to expand...
Click to collapse
First than anything, I'll explain what I want to do.
I'm currently owning a galaxy j1 ace LTE (sm-j111m) and all was fine except that the system doesn't ask me if I want to select an app just once. It automatically selects it as the default app for X action. I'll attach some screenshots.
But on my old galaxy pocket+ I was able to select just once or always and I have seen on cm ROMs based on lollipop that the option is still there. So it's a TouchWiz Samsung lollipop ROM issue.
So what I want to to is to fix this that annoys me. In example, when I want to pick a new ringtone, I use both es file explorer and Android media manager. So I need the just once option to browse files with es and preview with Android.
Can u guide me on how to do it?
Where is that framework.jar located?
Is there some risk when modding the system?
Will this work on my device?
Hope u reply me soon :fingers-crossed:
Forgot to mention that I'm on a stock ROM since there are no custom yet for this device.
rivenroth740 said:
First than anything, I'll explain what I want to do.
I'm currently owning a galaxy j1 ace LTE (sm-j111m) and all was fine except that the system doesn't ask me if I want to select an app just once. It automatically selects it as the default app for X action. I'll attach some screenshots.
But on my old galaxy pocket+ I was able to select just once or always and I have seen on cm ROMs based on lollipop that the option is still there. So it's a TouchWiz Samsung lollipop ROM issue.
So what I want to to is to fix this that annoys me. In example, when I want to pick a new ringtone, I use both es file explorer and Android media manager. So I need the just once option to browse files with es and preview with Android.
Can u guide me on how to do it?
Where is that framework.jar located?
Is there some risk when modding the system?
Will this work on my device?
Hope u reply me soon :fingers-crossed:
Forgot to mention that I'm on a stock ROM since there are no custom yet for this device.
Click to expand...
Click to collapse
first make a deodex rom using Assayyed kitchen
in system/framework/framework.jar
check for the lines i told in the above guide
or else send me your deodex framework.jar
i will chk and tell
no promises
yash92duster said:
first make a deodex rom using Assayyed kitchen
in system/framework/framework.jar
check for the lines i told in the above guide
or else send me your deodex framework.jar
i will chk and tell
no promises
Click to expand...
Click to collapse
Thank you for replying. So I have to deodex my framework.jar located on /system/framework and send it to you?
OK I'll do it. Hope u can help me. Btw, I noticed that the galaxy j7 does have those buttons. So it's weird.
Greetings,
Riven:fingers-crossed: