[Mod][Guide][How-To][Enable-Hidden Smart Rotation][Stock] - Galaxy Tab 2 Themes and Apps

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

Related

[Q] How to change Carrier Name in PWGB EH09

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.

[Tutorial] How to use Lg Weather Widget on CM7 or Miui beta

Tutorial to add Lg classes to the framework.jar in order to make work the original weather widget of LG in every rom.
I have made this process successfully in the CyanogenMod 7.2RC1 and in the MIUI 2.1a.
I discovered this process thanks to doc3000, which created to me the framework.jar of CM7 with Lg classes. After a while researching, I discovered the process.
First of all, make a backup of your rom just in case something goes wrong, be able to recover the terminal restoring it from the recovery, given the fact that a wrong framework.jar will produce a bootlop.
The files you need are:
1) baksmali.jar y smali.jar ,which you can get it from here: http://code.google.com/p/smali/. I have used the .jar files
2) original LG framework.jar file, for example in whatever rom STOCK, available in “/system/framework/framework.jar”
3) framework.jar of the rom to which we want to add the LG classes, available in “/system/framework/framework.jar”
4) WeatherWidget.apk which you can get too from whatever STOCK rom, available in “/system/app/WeatherWidget.apk”
1) Open a console, then cd to the folder where you have the 4 files. Run:
Code:
java -jar baksmali.jar framework.jar -o outlg
This will make a folder named “outlg”, which it will have all the LG Classes of the framework.jar
2) Repeat the same with the framework.jar of the rom that we want to add the LG classes running the command
Code:
java -jar baksmali.jar framework.jar -o out
3) Go to the folder “outlg/com” and make a copy of the “lge” folder to the “out/com” folder.
4) Now run
Code:
java -jar smali.jar out -o classes.dex
5) Open the framework.jar of the rom that we want to add the LG Classes with Winzip / 7zip ... , and replace the file classes.dex from the inside by the one we just have created. (Don't use Winrar, it make an incorrect framework.jar with a bootloop as a result. I don't know if Winzip work, but I confirm 7zip yes)
6) Insert the modified framework.jar to the “/system/framework” overwritting the original file, and checking that it has group and owner “root” and the correct permissions ( To know the correct permissions, look the permissions of any file in the folder “/system/framework/”...)
7) Copy the file “WeatherWidget.apk” in “/system/app/” and put he same permissions as any apk in that directory, check that the group and the owner are “root” too
8) Restart the device, and here we have the original LG weather widget in our favourite rom.
This process should work in every rom in every device, not only in the Optimus Black, but I could not check it because I only have an Optimus Black.
Sorry for my english >.<
Cheers!!!
Thank you i gonna try it out. but why it is in Q&A section? Maybe moderator could move this thread to themes&apps section? xD anyway thank you dude
I have less than 10 posts, I can't post on Development forum, but you are right, apps and themes are the correct forum, sorry >.<
Enviado desde mi LG-P970 usando Tapatalk
It ok maybe moderator can move it some day and more people find it?
Sent from my P970 using XDA
Hang on, i got an idea. i can create thread for you and put link on this thred hows that?
Runtime,
Great toturial on getting stock weather widget to work with cm7.
Any way you could put all this into a flashable zip?
I have abandon stock rom for months now and dont want to go back to extract files. Just too much efforts.
Thanks,
Sent from my LG-P970 using XDA
fongnd said:
Runtime,
Great toturial on getting stock weather widget to work with cm7.
Any way you could put all this into a flashable zip?
I have abandon stock rom for months now and dont want to go back to extract files. Just too much efforts.
Thanks,
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
If i could make you a flashable zip i would make it for you. But i dont know how to. So ill just make you a zip containing all of needed files c: (btw it seems like the original poster of this left this thread D: )
Sent from my LG-P970 using XDA
Hi all,
I can do a normal zip with all the files needed. This night I will do the zip.
A flashable zip is usseles when developers make a change involving "CyanogenMod/android_frameworks_base" because the framework.jar change. You need to do the process again to get a new framework.jar or you will get a bootlop.
Since u back so i ask qustion again...
Do you want me to open thread for you in themes and apps and give a link to your post... i take no credit for ur work.. so want me to?
P.S. im making zip now
Sent from my LG-P970 using XDA
foggydisaster said:
If i could make you a flashable zip i would make it for you. But i dont know how to. So ill just make you a zip containing all of needed files c: (btw it seems like the original poster of this left this thread D: )
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
thanks for offering me all necessary files.
I've just go through the tutorial again to rehearse all the command that I need to do.... I think I will screw up on this.... I have a busy life and I cant afford to have bootloop on phone. Just too time consuming.
Zip Is Here!
As i promised, ZIP with all STOCK files you need to go Good Luck with this
LINK:
->> http://dl.dropbox.com/u/78691851/StockFiles.zip <<-​ Have fun c:
foggydisaster said:
As i promised, ZIP with all STOCK files you need to go Good Luck with this
LINK:
->> http://dl.dropbox.com/u/78691851/StockFiles.zip <<-​ Have fun c:
Click to expand...
Click to collapse
Have you try this? meaning get the lg weather widget to work on cm7/muiu
The command that RUNTIME listed... do we execute these on the Android Terminal on the phone
thanks,
fongnd said:
Have you try this? meaning get the lg weather widget to work on cm7/muiu
The command that RUNTIME listed... do we execute these on the Android Terminal on the phone
thanks,
Click to expand...
Click to collapse
As i understood you do this in ADB on your PC....ive got an idea, i can do this for ya just send me your framework.jar (/system/framework/framework.jar) And i can try aply this for you
foggydisaster said:
As i understood you do this in ADB on your PC....ive got an idea, i can do this for ya just send me your framework.jar (/system/framework/framework.jar) And i can try aply this for you
Click to expand...
Click to collapse
link below is the framework.jar from my CM7
https://docs.google.com/open?id=0BwQDdoY7L1pGQ1J6MmQ1Y1pRSUU
thanks,
fongnd said:
link below is the framework.jar from my CM7
https://docs.google.com/open?id=0BwQDdoY7L1pGQ1J6MmQ1Y1pRSUU
thanks,
Click to expand...
Click to collapse
Ok dude its night now so ill do this for you tomorow c: but ull have this i promise nighty night
Sent from my GT-I9001 using XDA
Hi all,
@foggydisaster
I apreciate you offer, I you want to do for me, I thanks you.
The commands are for a windows/linux terminal/shell with java installed, no need to have ABD or android SDK installed. On windows do Start->Run->Cmd, on linux simply open a terminal emulator.
runtime_Err0r said:
Hi all,
@foggydisaster
I apreciate you offer, I you want to do for me, I thanks you.
The commands are for a windows/linux terminal/shell with java installed, no need to have ABD or android SDK installed. On windows do Start->Run->Cmd, on linux simply open a terminal emulator.
Click to expand...
Click to collapse
Ill go with ubuntu c:
Sent from my GT-I9001 using XDA
i have a problem... when i run comand to extract LGE framework.jar it shows folowing:
"
Code:
[email protected]:~/Desktop/workfolder$ java -jar baksmali.jar framework.jar -o outlg
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:265)
[email protected]:~/Desktop/workfolder$
Any ideas?
foggydisaster said:
i have a problem... when i run comand to extract LGE framework.jar it shows folowing:
"
Code:
[email protected]:~/Desktop/workfolder$ java -jar baksmali.jar framework.jar -o outlg
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:265)
[email protected]:~/Desktop/workfolder$
Any ideas?
Click to expand...
Click to collapse
I edit my first post with CODE tags, copy again the commands and it will work. It's a problem with the "-" simbol in plain text with browser. My fault.
Still the same itworks with CM7 framework filebut not with LGE..

[how to]stock radio,check box in all apps

after i install some apps like Andriod tweaker,pimp my rom and ... i notice that radio button and check box are stock andriod version so today i want change them to sony stock one like below screenshot sry for bad English:silly:
you need apk tool for decompile and recompiling
Lets do it:
decopmile framework-res.apk from framwork folder in system and go to:res/drawableand find all of XML that begin with semc_ like semc_bg_new.xml and copy them to other folder in you PC(not in framework-res.apk) so delete semc_ from all xml's(Except:semc_scrubber_x_x_x.xml )and replace them to drawable folder. After recopiling flash them to your phone(XV.XTX.XT)
befor flashing backup your files
press thanks
Behnamrend said:
after i install some apps like Andriod tweaker,pimp my rom and ... i notice that radio button and check box are stock andriod version so today i want change them to sony stock one like below screenshot sry for bad English:silly:
you need apk tool for decompile and recompiling
Lets do it:
decopmile framework-res.apk from framwork folder in system and go to:res/drawableand find all of XML that begin with semc_ like semc_bg_new.xml and copy them to other folder in you PC(not in framework-res.apk) so delete semc_ from all xml's(Except:semc_scrubber_x_x_x.xml )and replace them to drawable folder. before recopiling flash them to your phone(XV.XTX.XT)
After flashing backup your files
press thanks
Click to expand...
Click to collapse
Ok, thanks mate.
If you notice remarkable improvements using these tweaks, perharps could you create a new thread to share your experience.
nreuge said:
Ok, thanks mate.
If you notice remarkable improvements using these tweaks, perharps could you create a new thread to share your experience.
Click to expand...
Click to collapse
yep.but not this time.LOL

Guide/How-To: Disable Annoying Increasing Ring

I hated the annoying increasing ring so set out to fix it
For those that just want a quick flashable zip please scroll to the bottom
Thanks to the amazing gharrington and his thread: http://forum.xda-developers.com/galaxy-s3/general/how-to-jb-disable-increasing-ringtone-t1976241
It turned out to be quite simple
Basically its exactly the same as what he said but the files have slightly changed for the S5, so head over to his thread to grab the SecPhone Diss.zip
You need zip as above
Java jdk Installed and Environment Variables set correctly (if you don’t know how Google it)
SecTeleService.apk for you rom (Deodexed, in system/priv-app)
Notepad ++
And WinRAR/7zip.
Heres how its done:
1. Place SecTeleService.apk into SecPhone Diss folder downloaded previously.
2. Hold shift and right click mouse in folder to bring up menu and click: open command prompt here.
3. Type: java -Xmx512m -jar baksmali.jar SecTeleService.apk and hit Enter. When this is finished you should have a new folder called out.
4. Go to: SecPhone Diss\out\com\android\phone and open Ringer$2.smali with Notepad ++.
5. Search for: Landroid/media/AudioManager;->setStreamVolume(III)V .There will be 2 entries. You want the first one, it should match the code below. It should be line 482. The v1 v6 etc may be different!
6. Delete the line marked with -- .Increasing ringtone gone!
---------------------------------------------------------------------------------------------------------
iget-object v2, v2, Lcom/android/phone/Ringer;->mAudioManager:Landroid/media/AudioManager;
-- invoke-virtual {v2, v7, v3, v4}, Landroid/media/AudioManager;->setStreamVolume(III)V
.line 1039
const-wide/16 v2, 0x7d0
----------------------------------------------------------------------------------------------------------
7. Now hold shift and right click mouse in folder to bring up menu and click: open command prompt here again and this time type: java -Xmx512m -jar smali.jar out -o classes.dex when complete you will have a new file called classes.dex
8. Right click SecTeleService.apk and open archive with WinRAR/7zip. Inside will be a file named classes.dex replace this one with the one just made by drag drop method.
Job done!
Thanks goes out to gharrington for the original method, I merely just updated it for the S5
For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562 Please note this was made for echoe rom so I can only confirm working with echoe rom
liamstears said:
I hated the annoying increasing ring so set out to fix it
For those that just want a quick flashable zip please scroll to the bottom
For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562
Click to expand...
Click to collapse
Used this on the [ROM][G900F][26/04] XtreStoLite v.1 [Extremely Debloated][The Lightest TW Rom][AROMA Add-on Package][ART Compatible][547 MB]ROM and it killed systemui. Caused almost impossible FC's to deal with. Ended up having to Nandroid. This ROM is Odexed instead of deodexed. Not sure if that would have an issue, Just an FYI to others. (the flashable zip)
Thanks for letting us know, I will edit the op
Thanks worked great by following your instructions. but I also deleted the SecTeleService.odex file and wiped cache and dalvic, before rebooting into the OS.. works great thanks
Odexed ROM
https://play.google.com/store/apps/details?id=com.shumoapp.disableincreasingring
Works great.
djluisbento said:
https://play.google.com/store/apps/details?id=com.shumoapp.disableincreasingring
Works great.
Click to expand...
Click to collapse
Yes it does but then you get an annoying notification and an app running in the background
Why notification, why an app... Someone
Sent from my SM-G900P using XDA Premium 4 mobile app
liamstears said:
Yes it does but then you get an annoying notification and an app running in the background
Click to expand...
Click to collapse
u can go to App Info and uncheck the notification box.
Can someone post the already edited file for those who are not that familiar with Android and S5?
EDIT: Nevermind, stalli0nUK's post did the real job. Without deleting the corresponding odex file it didn't work.
Thanks again
liamstears said:
For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562 Please note this was made for echoe rom so I can only confirm working with echoe rom
Click to expand...
Click to collapse
Flashed the zip. Get force closes on InCall UI but the ringer doesn't increase.
Hello,
I checked my own phone, but you said no files. Note 3 and Lollipop 5.0 installed on my phone.
What do I need to look into the file?
Thank you.

[GUIDE] Bringing buttons "only once / always" to select when the task application "Op

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:

Categories

Resources