[MOD]How to Set Logs type to "View by All Call Logs" - Hide SMS from Call Logs - Galaxy S III Themes and Apps

[MOD]How to Set Logs type to "View by All Call Logs" - Hide SMS from Call Logs
I made this mod to fix Homam's mod,
Homam tried in his mod to prevent sms from being logged, this mod
worked well for GB Roms, but is not compatible with Stock Email app on
ICS Roms.
So i followed karl999999's idea, and i made a more clean and stable changes.
This mod will :
Not remove any log
Set the Default Call logs type to "View All Call logs" (no SMS)
Let you view/edit all other logs types
You have to decompile "SecContacts.apk" (use my repackedApk_Manager if you have any issue with your apktool).
Edit "Contacts.apk\smali\com\android\contacts\activitie s\DialtactsActivity.smali", search for "onBackPressed" method and make these changes :
Code:
:cond_4
iget-object v0, p0, Lcom/android/contacts/activities/DialtactsActivity;->mCallLogFragment:Lcom/sec/android/app/dialertab/calllog/CallLogFragment;
iget-object v1, p0, Lcom/android/contacts/activities/DialtactsActivity;->mCallLogFragment:Lcom/sec/android/app/dialertab/calllog/CallLogFragment;
const/4 v1, 0x1
[COLOR=SeaGreen]++iput v1, v0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
[COLOR=Red]--iput v0, v0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
goto :goto_0
:cond_5
invoke-virtual {p0}, Lcom/android/contacts/activities/DialtactsActivity;->isTaskRoot()Z
move-result v0
Then edit "Contacts.apk\smali\com\sec\android\app\dialertab\ calllog\CallLogFragment.smali":
Code:
.method public constructor <init>()V
.locals 3
const/4 v0, 0x1
const/4 v2, 0x0
const/4 v1, 0x0
invoke-direct {p0}, Lcom/sec/android/app/dialertab/widget/DialtactsListFragment;-><init>()V
iput-boolean v0, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mSweepActionEnabled:Z
iput-object v1, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->unlockReceiver:Lcom/sec/android/app/dialertab/calllog/CallLogFragment$UnlockReceiver;
iput-boolean v2, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mResetMissedCheck:Z
[COLOR=SeaGreen]++iput v0, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
[COLOR=Red]--iput v2, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
iput v0, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->CONTEXTMENU_CALL:I
That's all, compile and enjoy.
If you get a different Registers number, you just need to check at the beginning of each method what register has the value "0x1" and put it on "mWhichButton".
GT-I9300_WanamLite.ZSALED.Hide.SMS.From.Call.Logs.zip
Uploaded patches to be used on deodexed Roms.

I'm sure a lot of folks will like this mod. Looks a little too tricky for me but maybe I'll take a stab at it in the future!
sent from my Galaxy S III

Great work, thank you wanam.

..or maybe the great devs in our community can incorporate this mod into their ROM(s) ^^^
sent from my Galaxy S III

Coreym said:
..or maybe the great devs in our community can incorporate this mod into their ROM(s) ^^^
sent from my Galaxy S III
Click to expand...
Click to collapse
It's already included on my WanamLite V1.0.

wanam said:
It's already included on my WanamLite V1.0.
Click to expand...
Click to collapse
Awesome.. I'm still stock rooted. First time in a long time I've stayed stock. I'm enjoying it for the moment but will eventually start flashing and am def gonna be giving this a run. I think I'm gonna enjoy stock ROMs with this phone!
sent from my GummyROM'd Prime

May i ask how to install this mod?

Dovern said:
May i ask how to install this mod?
Click to expand...
Click to collapse
Yes, is there a simpler way to do this (flashing zip with CWM maybe)?

Thanks
Very useful mod. Stock roms should have this as an option.

jerricson said:
Very useful mod. Stock roms should have this as an option.
Click to expand...
Click to collapse
They have... On log screen press menu, press View by, then All calls... Or am I missing something???

CalInTheZone said:
They have... On log screen press menu, press View by, then All calls... Or am I missing something???
Click to expand...
Click to collapse
Your choice won't be saved .

g4rvd4 said:
Yes, is there a simpler way to do this (flashing zip with CWM maybe)?
Click to expand...
Click to collapse
+1

Please give me the instruction how to install it. I tried 10 times

removing
salam WANAM
i flashed your mod from CWM on my stock/rooted firmware
yes i did
and ended up messing my phone app. , it is totally my mistake , is there a way to remove this mod or re-flash the phone app ?
great work by the way

Will this mod work with XXLFB?
Many thanks
Kam

dr.kam said:
Will this mod work with XXLFB?
Many thanks
Kam
Click to expand...
Click to collapse
i am on a rom based on XXLFB
and it works for me
Sent from my GT-I9300 using xda premium

Is it possible to flash that zip file through CWM recovery, or do i have to do all the changes listed above (e.g. changing code and decompiling)
Thanks again guys
Kam

Stock ROM Success
On my stock rooted AT&T rom, I deleted the existing SecContacts.apk and SecContacts.odex and then copied the version from the attached zip. I had to re-add the icons to my home screen, but otherwise it seems to work fine.

edit
solved (thanks Wanam)

_neutron_ said:
can ayone help with this?
Code:
--------------------------------------------------------------------------
|20/07/2012 -- 17:00:35.98|
--------------------------------------------------------------------------
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/signedSecContacts.apk
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedSecContacts.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\****\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'phone_call_prohibited' has no default translation in C:\A
pk_Manager_ICS\other\..\projects\SecContacts.apk\res; found: es pt
C:\Apk_Manager_ICS\other\..\projects\SecContacts.apk\res\layout\delete_contacts_
activity.xml:5: error: Error: No resource found that matches the given name (at
'layout' with value '@layout/common_custom_action_bar').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK
TOOL9055894213858941346.tmp, -I, C:\Users\****\apktool\framework\1.apk, -S, C:\Ap
k_Manager_ICS\other\..\projects\SecContacts.apk\res, -M, C:\Apk_Manager_ICS\othe
r\..\projects\SecContacts.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\****\AppData\Local\Temp\APKTOOL9055894213858941346.tmp, -I, C:\Users\****\apk
tool\framework\1.apk, -S, C:\Apk_Manager_ICS\other\..\projects\SecContacts.apk\r
es, -M, C:\Apk_Manager_ICS\other\..\projects\SecContacts.apk\AndroidManifest.xml
]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
The system cannot find the file specified.
Press any key to continue . . .
C:\Apk_Manager_ICS>
Click to expand...
Click to collapse
Edit "SecContacts.apk\res\values\layouts.xml" and add missing layout :
Code:
<item type="layout" name="common_custom_action_bar">false</item>

Related

[Fix] Decrease home button lag

Hi all, hope this is the right forum.
This thread is meant for ROM cooks only!
Let's start: I found a way to decrease the home button lag and would like to share this fix with you.
Some theory first:
The way from home button click to the home screen can be separated in two parts:
System will wait about 0.5s for another tap. This is due to the double click to voice-search feature, Samsung implemented. You won't find this lag on any other phone.
The good news is, that we can avoid it with some changes in framework.
The second part is the time the launcher needs to load. It's about 0.3 - 0.5 sec, depending on which app is currently running.
Now to the fix:
You have to decompile android.policy.jar (framework folder) using baksmali.
Open com\android\internal\policy\impl\PhoneWindowManager.smali and search for lines 3896 to 3922. They should look like this:
Code:
const/4 v4, 0x3
move/from16 v0, p4
move v1, v4
if-ne v0, v1, :cond_1
.line 1279
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeKeyDoubleClickConcept:Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;
move-object v4, v0
move-object v0, v4
move/from16 v1, p2
move/from16 v2, p7
move v3, v13
invoke-virtual {v0, v1, v2, v3}, Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;->addAction(IIZ)V
.line 1288
:cond_1
Delete all of these lines.
Now go a few lines deeper to lines 3920 - 3922. They should be
Code:
invoke-virtual {v4, v5}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
.line 1294
Replace these two lines with:
Code:
invoke-virtual {v4, v5}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
[COLOR="SeaGreen"] move-object/from16 v0, p0
iget-boolean v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomePressed:Z
move v4, v0
[COLOR="Red"] if-eqz v4, :cond_2[/COLOR]
invoke-virtual/range {p0 .. p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->launchHomeFromHotKey()V[/COLOR]
.line 1294
(Note that the first and last line are the original ones.)
Warning: take a look at line 3933. If it is not ":cond_2", you have to replace the cond_2 in "if-eqz v4, :cond_2" with the cond from line 3933.
It looks like the naming sceme depends on the baksmali version you're using.
Now recompile with smali and you're done
Some notes:
The device will no longer wait for double clicks of home key. This means, that the voice-search obviously can no longer be started with a double-tap on home key.
You will still notice some lag on home key. That's the time the home launcher needs to load. Try it from within the launcher (for example in the app chooser) and it will react instant. It should now be comparable to any other phone.
The given line-numbers are from a KH3 ROM. The numbers may change in future roms.
I would call this fix "experimental". I tested it for a few days without any issues, but I can't guarantee that it is bug free.
The problem is, that Samsung made the single click listener depend on the double click listener, so removing the double-click listener might cause some problems.
That's it. I hope, I could help you
Very nicely done! This will be in the next Cognition release!
Great news... Thanks for the idea
Anyone wanna compile this into an update.zip for the lazy? :-D
designgears said:
Very nicely done! This will be in the next Cognition release!
Click to expand...
Click to collapse
woooo hoooo
cheers
DG
Working great!
Many thanks mate!
Thanks so much for this fix !
Excellent tweak OP, thank you!
I had a problem with this line:
Code:
if-eqz v4, :cond_2
smali complained about it during recompilation of Batista framework.
Just change it to next cond_[something] you find just after the part you inserted.
The Devs/Cooks are going to LOVE you! The flac they've copped recently from thus 'bug'/feature has been enoumous!
Sent from my GT-I9100 using XDA Premium App
Will this produce the same effect as removing voice command or will it make it faster than that?
Thanks!
Thank you very much!! Marvelous!
I'll include it in my next rom thx!
Inviato dal mio GT-I9100 usando Tapatalk
xan said:
I had a problem with this line:
Code:
if-eqz v4, :cond_2
smali complained about it during recompilation of Batista framework.
Just change it to next cond_[something] you find just after the part you inserted.
Click to expand...
Click to collapse
I was having the same issue. Thanks for that. I also didn't realize that the .smali had to be closed when recompiling LOL
Just pushed it to the frameworks folder. Rebooting and trying!
Yay, stuck at boot screen lol. I'll be honest, I don't know much about this stuff so I probably screwed something up...
This was my procedure:
1) Copied /framework to my computer
2) Downloaded baksmali/smali from the Google code page
3) In command prompt, did the following:
java -jar baksmali-1.2.7.jar -c core.jar:bouncycastle.jar:ext.jar:framework.jar:android.policy.jar:services.jar:core-junit.jar -x android.policy.odex
Click to expand...
Click to collapse
4) Opened the file using word, deleted the lines (even though my :cond_1 was :cond_42 I think)
5) Replaced the other section and used :cond_57 as you suggested
6) Did the following in command prompt:
java -jar smali-1.2.7.jar out -o android.policy.odex
Click to expand...
Click to collapse
7) Copied the new android.policy.odex to my framework folder and changed the permissions to all read/owner write
8) Rebooted
Where did I go wrong? I did this while running the Frakenstein'd KH3 ROM. Is this only for DEODEXED ROMs?
Awesome. Just mod mine, works great.
As mentioned earlier is there any possibility to a CWM zip
you are a hero! will send youna beer in a few hours, you don't know how happy I am right now
Sent from my GT-I9100 using XDA Premium App
Will be in my next rom release thanks man
Kudos to you man, this is amazing.. Will make a lot happy.
advance users must help newbies, please provide cwm zip file
Sent from my GT-I9100 using XDA Premium App
Can someone figure out where I went wrong in my above procedure?
Thanks!

[HOWTO] Extended Power Menu (EPM): adding Recovery & Download

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This thread is a continuation of many previous ones, mainly the one by untermensch (http://forum.xda-developers.com/showthread.php?t=811532). I kept the mod going for ICS (http://forum.xda-developers.com/showpost.php?p=24218275&postcount=217), and figured 4.2.2 is deserving of a new thread.
The good news is the framework actually simplified the mod, requiring only two files to be updated. This tutorial is based on UCUAMDL.
1. framework-res.apk (this 1st part is unchanged from previous thread)
a) In strings.xml, add:
Code:
<string name="epm_recovery">Recovery</string>
<string name="epm_download">Download</string>
b) In public.xml, add (NOTE: these resource IDs will change in the future!!):
Code:
<public type="string" name="epm_recovery" id="0x010408e3" />
<public type="string" name="epm_download" id="0x010408e4" />
<public type="drawable" name="ic_lock_recovery" id="0x01080c9d" />
<public type="drawable" name="ic_lock_download" id="0x01080c9e" />
c) Lastly, add your two icons as ic_lock_recovery.png and ic_lock_download.png in drawable-hdpi.
Compile framework-res.apk, upload and reboot phone.
-----------------------------------------------------------------------------------------------
2. android.policy.jar
a) In GlobalActions.smali, add the following variables around line 150:
Code:
.field private mRecovery:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
.field private mDownload:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
b) Same file, find:
.line 566
new-instance v0, Lcom/android/internal/policy/impl/GlobalActions$5;
const v1, 0x108097f
const v2, 0x1040199
invoke-direct {v0, p0, v1, v2}, Lcom/android/internal/policy/impl/GlobalActions$5;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
iput-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mRestart:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
Add this code directly below it (NOTE: this code references the resource IDs above, be sure to correct if they've changed):
Code:
new-instance v0, Lcom/android/internal/policy/impl/GlobalActions$18;
const v1, [COLOR="Red"]0x1080c9d[/COLOR]
const v2, [COLOR="red"]0x10408e3[/COLOR]
invoke-direct {v0, p0, v1, v2}, Lcom/android/internal/policy/impl/GlobalActions$18;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
iput-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mRecovery:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
new-instance v0, Lcom/android/internal/policy/impl/GlobalActions$19;
const v1, [COLOR="red"]0x1080c9e[/COLOR]
const v2, [COLOR="red"]0x10408e4[/COLOR]
invoke-direct {v0, p0, v1, v2}, Lcom/android/internal/policy/impl/GlobalActions$19;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
iput-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mDownload:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
c) About 10 lines below, you will see:
.line 659
const/4 v0, 0x6
Change it to:
Code:
const/16 v0, 0x8
d) About 20 lines below that, you will see:
const/4 v1, 0x5
iget-object v2, p0, Lcom/android/internal/policy/impl/GlobalActions;->mBugReport:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
aput-object v2, v0, v1
Add this code directly after:
Code:
const/4 v1, 0x6
iget-object v2, p0, Lcom/android/internal/policy/impl/GlobalActions;->mRecovery:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
aput-object v2, v0, v1
const/4 v1, 0x7
iget-object v2, p0, Lcom/android/internal/policy/impl/GlobalActions;->mDownload:Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
aput-object v2, v0, v1
e) All that's left is to add the 2 smalis to handle when the menu items are selected. This is where the code is now simplified, as we don't need to mess with framework.jar anymore. In short, ShutDownThread.smali in framework has a reboot method that supports a parameter. So we simply call it with the appropriate param (either recovery or download).
Still in policy.jar, copy GlobalActions$5.smali as a template for GlobalActions$18.smali, change all the $5 to $18, and then we are going to replace the onPress method with this:
Code:
.method public onPress()V
.registers 6
.prologue
iget-object v1, p0, Lcom/android/internal/policy/impl/GlobalActions[COLOR="Red"]$18[/COLOR];->this$0:Lcom/android/internal/policy/impl/GlobalActions;
# getter for: Lcom/android/internal/policy/impl/GlobalActions;->mContext:Landroid/content/Context;
invoke-static {v1}, Lcom/android/internal/policy/impl/GlobalActions;->access$000(Lcom/android/internal/policy/impl/GlobalActions;)Landroid/content/Context;
move-result-object v1
const-string v2, [COLOR="red"]"recovery"[/COLOR]
const/4 v3, [COLOR="red"]0x1[/COLOR] # CONFIRMATION FLAG
invoke-static {v1, v2, v3}, Lcom/android/server/power/ShutdownThread;->reboot(Landroid/content/Context;Ljava/lang/String;Z)V
return-void
.end method
Repeat this step for GlobalActions$19.smali but change "recovery" to "download", and $18 to $19, in the code fragment above. Also note, you can decide whether you want a confirmation dialog or not by setting v3 to 0x0 (no) or 0x1 (yes).
Compile android.policy.jar, upload and reboot! If all went well, you will see the EPM with your new options :fingers-crossed:
ADDENDUM:
If you're interested in adding Flashlight to the EPM, this is the onPress method:
Code:
.method public onPress()V
.registers 6
.prologue
sget-boolean v0, Lcom/android/internal/policy/impl/GlobalActions$20;->mFlashlight:Z
if-nez v0, :cond_6
const/4 v2, 0x1
goto :goto_7
:cond_6
const/4 v2, 0x0
:goto_7
sput-boolean v2, Lcom/android/internal/policy/impl/GlobalActions$20;->mFlashlight:Z
invoke-static {v2}, Lcom/sec/android/hardware/SecHardwareInterface;->setTorchLight(I)V
return-void
.end method
Good info. Looks like I have some work to do. Question, would these modifications require deodexed rom?
Tapped from the Shear Galaxy Near You!
htcslic said:
Good info. Looks like I have some work to do. Question, would these modifications require deodexed rom?
Tapped from the Shear Galaxy Near You!
Click to expand...
Click to collapse
I only work with deodexed files.
jeboo said:
I only work with deodexed files.
Click to expand...
Click to collapse
Gonna try with odex'd and see how things go..
Tapped from the Shear Galaxy Near You!
Awesome work jeboo
thanks for your efforts!
Sent from my SHV-E300S using XDA Premium HD app
I've updated the OP onPress() code to make the phone shut down gracefully (animation, etc). It seems rebootOrShutdown was a bit too low level. You can also decide if you want a confirmation box too. Thanks to shoman for pointing this out
Are you thinking of making a flashable zip?
Sent from my SAMSUNG-SGH-I337 using xda premium
goobieracing said:
Are you thinking of making a flashable zip?
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
I rarely post .zips, and it would be unwise in this case. Mismatched resource IDs will lead to crash and/or possible bootloop.
I updated the OP with the code needed for adding a Flashlight menu option.
jeboo said:
I updated the OP with the code needed for adding a Flashlight menu option.
Click to expand...
Click to collapse
Really Nice brother! Thanks alot
Can you make toturial for screen short....
Sent from my GT-I9205
I have use this info 2 or 3 times now, great work, and works perfect...thanks.
---------- Post added at 09:53 AM ---------- Previous post was at 09:51 AM ----------
jeboo said:
I rarely post .zips, and it would be unwise in this case. Mismatched resource IDs will lead to crash and/or possible bootloop.
Click to expand...
Click to collapse
lol, and trust me, this is exactly what happens, it will not boot. been there done that...
I wish there was one place with info like this for other mods....you know, like a all in one place...would be cool.
I'll post the screenshot code later, it was not a trivial patch
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
jeboo said:
I'll post the screenshot code later, it was not a trivial patch
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
@jeboo Hey bro I'm trying to do this setup for the Note 3, can I get the icons for the download and recovery options if you don't mind? Thanks bro!
htcslic said:
Gonna try with odex'd and see how things go..
Tapped from the Shear Galaxy Near You!
Click to expand...
Click to collapse
I posted this in a different thread but this one seems more active.
I am running JB 4.2.2 on a Tmobile Galaxy S4. Here is what I've done thus far:
1) Pulled /system/framework/framework-res.apk
2) Installed framework.
Code:
I: Framework installed to: C:\Users\Syed\apktool\framework\1.apk
3) Decompiled framework-res.apk
Code:
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
4) Added the two drawables in /res/drawable-hdpi
5) Added the two strings in /res/values/strings.xml
Code:
<string name="download">Bootloader</string>
<string name="recovery">Recovery</string>
6) Compiled framework-res.apk
7) Deodexed android.policy.jar with "Universal Deodexer V4"
8) Made my GlobalActions smali changes.
9) Tried to odex android.policy.jar back but got stuck on how to do it. Used Auto Odexer Script by Alkhafaf. If I can get past this part, I'll be able to push both the updated framework-res.apk and the odex'ed android.policy.jar and see the results.
Were you able to succeed with your odex'ed files? Thanks.
i have tried many guides for EPM and got same result my phone dont pass the first screen ie. Galaxy ace gts5830i
Any solution??
Sent from my GT-S5830i using Tapatalk 2
destructo570 said:
i have tried many guides for EPM and got same result my phone dont pass the first screen ie. Galaxy ace gts5830i
Any solution??
Click to expand...
Click to collapse
There are a couple xposed modules that do this. Might be worth the try.
destructo570 said:
i have tried many guides for EPM and got same result my phone dont pass the first screen ie. Galaxy ace gts5830i
Any solution??
Sent from my GT-S5830i using Tapatalk 2
Click to expand...
Click to collapse
I'll post a new diff once 4.4 is out..There may be some subtle changes causing problems.
EPM
I tried this on a Verizon S4 running MK2 4.3 and when I hold down the power button. The phone just hot boots.
Do you have a how to for 4.3? I just figured it out. Got it working on 4.3. See here http://forum.xda-developers.com/showthread.php?t=2623196
Thank You for all your hard work
Hello!
Thank you for your great mod!
I've followed all the instructions and got 2 extra strings in power menu, but there's one issue:
For some reason Recovery id named "Bootloader" and Download is named :Recovery" and also, when i press "Download"("Recovery on the screenshot) phone just reboots as normal, while, when i press "Recovery" ("Bootloader" on the screenshot), phone normally boots to recovery.
So, can anybody help me to correct this?
Thank you!
UPD. Fixed names, but phone still doesnt boot to download mode.

[GUIDE]How to add EDT Tweak support on your SystemUI

Hi guys
This time I will make a tutorial on how to add "EDT" tweak support on your SystemUI
Features of EDT Tweaks
Battery Options
Click to expand...
Click to collapse
Show/Hide Battery Icon (Doesn't work)
Battery Text Style (Regular,Hide and Small %)
Prepend/Append Battery Text
Change Charging Color (For Battery Text)
Change Regular Color (For Battery Text)
Change Medium Level Color (For Battery Text)
Change Low Level Color (For Battery Text)
Clock Options
Click to expand...
Click to collapse
Show AM/PM
Small AM/PM
Hide AM/PM
Hide Clock
Signal Options
Click to expand...
Click to collapse
Show Signal Bars (Doesn't work)
Show Signal Strength (Not available yet)
Show dBm Text (Not released)
Bug List
Click to expand...
Click to collapse
Show/Hide Battery Icon
Show Signal Bars
Show Signal Strength
Show dBm Text
Requirements
Click to expand...
Click to collapse
EDT Files (download in attachment)
EDT Tweaks apk (download in attachment)
SystemUI.apk
Apktool or similar
How to Install
Click to expand...
Click to collapse
Download the EDT Files zip package on your Computer and extract it anywhere in your desktop
Now on your phone, Pull your SystemUI.apk and paste it on your sd card
Now connect your phone to your Computer and Connect USB Storage
Copy the pulled SystemUI.apk and paste it on your apktool folder
Decompile your SystemUI.apk (You know how to do it right?)
Now copy the extracted smali from the EDT Files zip package and paste it on smali/com/android/systemui/statusbar/. Replace if asked
Go to res/layout/ and open status_bar.xml
Copy this code
Code:
<com.android.systemui.statusbar.BatteryText android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
Paste it belowabove this code
Code:
com.android.systemui.statusbar.Clock
Compile the SystemUI.apk (You know how to do it right?)
On your phone, push the SystemUI.apk to system/app using Root Explorer or similar.
Now install EDT.apk and you can now use it's features
Credits
Click to expand...
Click to collapse
Romanbb
BarJei
on my last ROM, edt fully working except show/hide signal bar heheheheh
FIX for the BUG
At the StatusBarPolicy.smali at /smali/com/android/systemui/statusbar/policy
Search for this,
Code:
invoke-virtual {v6, v7, v2, v3}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
Below it, add these
Code:
iget-object v2, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mContext:Landroid/content/Context;
invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v2
const-string v3, "show_battery_icon"
invoke-static {v2, v3, v10}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v2
if-nez v2, :cond_0
const v2, 0x0
invoke-virtual {v6, v7, v2}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
return-void
Credits to [email protected]
3r41nl33n said:
At the StatusBarPolicy.smali at /smali/com/android/systemui/statusbar/policy
Search for this,
Code:
invoke-virtual {v6, v7, v2, v3}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
Below it, add these
Code:
iget-object v2, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mContext:Landroid/content/Context;
invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v2
const-string v3, "show_battery_icon"
invoke-static {v2, v3, v10}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v2
if-nez v2, :cond_0
const v2, 0x0
invoke-virtual {v6, v7, v2}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
return-void
Credits to [email protected]
Click to expand...
Click to collapse
Thanks will add it right away :highfive:
Bug fixer tutorial added Thanks to 3r41nl33n :angel:
It works for you sir?
Help!
PineappleOwl said:
It works for you sir?
Click to expand...
Click to collapse
small am/pm doesn't work.
Edit: Problem Solved
recompiling error
I: Smaling...
I: Building resources...
/sdcard/apktool/1app/SystemUI_src/res/layout/status_bar.xml:9: error: Error parsing XML: not well-formed (invalid token)
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:4: error: No resource identifier found for attribute 'sidebuffer' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:4: error: No resource identifier found for attribute 'cycleType' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'cRadius' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'fadeOut' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'inactiveType' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'slide' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'separation' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL7651502029082542169.tmp, -I, /apktool/framework/1.apk, -S, /sdcard/apktool/1app/SystemUI_src/res, -M, /sdcard/apktool/1app/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL7651502029082542169.tmp, -I, /apktool/framework/1.apk, -S, /sdcard/apktool/1app/SystemUI_src/res, -M, /sdcard/apktool/1app/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL7651502029082542169.tmp, -I, /apktool/framework/1.apk, -S, /sdcard/apktool/1app/SystemUI_src/res, -M, /sdcard/apktool/1app/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Actually i am confused
pranavaryans said:
Actually i am confused
Click to expand...
Click to collapse
Why?
Ok but clock so big and.somes bug
Gửi từ GT-S5360 của tôi bằng cách sử dụng Tapatalk 2
its work sirr.. thankz:good:

[Guide] [How-to] Remove Connections Optimizer Android 4.3 TW

Remove Connections Optimizer
I thought I better share this here in case anyone else needs it as well.
There seems to be some confusion over the Connections Optimizer because once the app has been removed from a rom, the menu item still displays causing FC issues when selected.
This will remove the option from Settings/More networks/Mobile networks (screenshot attached).
[Guide] For the Devs
Smali edit.
SecPhone/com/android/phone/PhoneFeature.smali
Remove or comment out the line highlighted in Red.
Cheers - TD
Remove the line highlighted in RED:
Code:
const-string v6, "sprint_connections_optimizer"
invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z
move-result v2
if-nez v2, :cond_12b5
const/4 v2, 0x0
:goto_d86
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v2
[COLOR="Red"]invoke-virtual {v3, v6, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;[/COLOR]
const-string v6, "sprint_connections_optimizer"
invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z
move-result v2
if-nez v2, :cond_72
const/4 v2, 0x0
:goto_3a
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v2
invoke-virtual {v3, v6, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/ObjectLjava/lang/Object; <<REMOVED
Need help with this one seems the Mod doesnt work anymore.
Here are the errors I get with the apktool when building the file after using your method.
C:\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Mr. Street\apktool\framework\1.apk
C:\apktool>apktool if twframework-res.apk
I: Framework installed to: C:\Users\Mr. Street\apktool\framework\2.apk
C:\apktool>apktool if SystemUI.apk
I: Framework installed to: C:\Users\Mr. Street\apktool\framework\127.apk
C:\apktool>apktool b -f SecPhone
I: Using Apktool 2.0.2-dirty
I: Smaling smali folder into classes.dex...
I: Building resources...
E/ResourceType(10252): Failed resolving ResTable_map name at 1244 with ident 0x02040000
W/ResourceType(10252): Attempt to retrieve bag 0x0201001f which is invalid or in a cycle.
W/ResourceType(10252): Attempt to retrieve bag 0x0201001f which is invalid or in a cycle.
warning: Package not found for resource #0201001f
warning: Package not found for resource #0201001f
warning: Package not found for resource #0201001f
I: Building apk file...
I: Copying unknown files/dir...

[Guide] SuperuserMod for all 6.x Devices/Roms

Updated the SuperUser mode .. Click here
Firstly thanks to sagitt67 from 4PDA ( he did it )
I grabbed it and tested and working
Hope this should help all others
Requirements :-
* core-libart.jar
* services.jar
* Apktool/tickle my android
and patience
1. Decompile core-libart.jar
2. open core-libart/smali/java/security/Signature.smali
look for this method
Code:
.method public final verify([B)Z
in that method find this line
Code:
invoke-virtual {p0, p1}, Ljava/security/Signature;->engineVerify([B)Z
[COLOR="Red"]move-result v0[/COLOR]
Replace the red code with this
Code:
const/4 v0, 0x1
now find this method
Code:
.method public final verify([BII)Z
in that method find this line
Code:
invoke-virtual {p0, p1, p2, p3}, Ljava/security/Signature;->engineVerify([BII)Z
[COLOR="red"]move-result v0[/COLOR]
replace the red line with this
Code:
const/4 v0, 0x1
save and close
3. Now open this core-libart/smali/java/security/MessageDigest.smali
find this method
Code:
.method public static isEqual([B[B)Z
.registers 7
[COLOR="red"]const/4 v2, 0x0 [/COLOR]
Change the red line to this
Code:
const/4 v2, 0x1
save and close
Compile it and Replace
and Continued in next post
Continued
Now decompile services.jar
1. open services/smali/com/android/server/accounts/AccountManagerService.smali
Find this method
Code:
.method private isAccountPresentForCaller(Ljava/lang/String;Ljava/lang/String;)Z
look for this lines
Code:
iget-object v4, v0, Landroid/accounts/Account;->name:Ljava/lang/String;
invoke-virtual {v4, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
[COLOR="Red"] move-result v4
if-eqz v4, :cond_2c[/COLOR]
cond_2c may vary with your code
in that 2 lines do the changes like this
Code:
[COLOR="red"]move-result v4 [/COLOR] to const/4 v4, 0x0
if-[COLOR="red"]eqz[/COLOR] v4, :cond_2c to if-[COLOR="Red"]nez[/COLOR] v4, :cond_2c
save and Close
3. Now open this services/smali/com/android/server/pm/PackageManagerService$InstallParams.smali
look for this method
Code:
.method private installLocationPolicy(Landroid/content/pm/PackageInfoLite;)I
find these lines
Code:
iget v8, p0, Lcom/android/server/pm/PackageManagerService$InstallParams;->installFlags:I
:try_end_22
.catchall {:try_start_10 .. :try_end_22} :catchall_5f
[COLOR="red"]and[/COLOR]-int/lit16 v8, v8, 0x80
Change the red to this
Code:
[COLOR="red"]or[/COLOR]-int/lit16 v8, v8, 0x80
save and Close
4. Now open this services/smali/com/android/server/pm/PackageManagerService.smali
in that look for this method
Code:
.method private checkUpgradeKeySetLP(Lcom/android/server/pm/PackageSetting;Landroid/content/pm/PackageParser$Package;)Z
in that look for these lines
Code:
iget-object v4, p2, Landroid/content/pm/PackageParser$Package;->mSigningKeys:Landroid/util/ArraySet;
invoke-virtual {v4, v3}, Landroid/util/ArraySet;->containsAll(Ljava/util/Collection;)Z
[COLOR="red"]move-result v4
if-eqz v4, :cond_20[/COLOR]
cond_20 may be different with your code
Change re lines to these
Code:
[COLOR="red"]move-result v4[/COLOR] to this const/4 v4, 0x0
if-[COLOR="red"]eqz[/COLOR] v4, :cond_20 to this if-[COLOR="red"]nez[/COLOR] v4, :cond_20
Now look for this method
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
and replace with this
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.locals 11
const/4 v7, 0x0
return v7
.end method
and look for this method
Code:
.method private packageIsBrowser(Ljava/lang/String;I)Z
in that find these lines
Code:
iget-object v4, v4, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
invoke-virtual {p1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
[COLOR="red"]move-result v4
if-eqz v4, :cond_22[/COLOR]
cond_22 may be different with your code
Change re lines to these
Code:
[COLOR="red"]move-result v4[/COLOR] to this const/4 v4, 0x0
if-[COLOR="red"]eqz[/COLOR] v4, :cond_22 to this if-[COLOR="red"]nez[/COLOR] v4, :cond_22
Now save all and compile
replace both and Reboot
Tada
SuperUserMod Done....
#YourWish for this
Additional for Unlocked Bootloaders click here (complete mod)
Have Fun guys
Dont forget to mention me If you use my work
Thanks alot Buddy, really useful, I've been looking for this on some old thread.
Sent from my E6683 using Tapatalk
@venkat kamesh bro thanks for your tut
i do this but get error in service.jar
after edit , i want to recompile it but get this error:
Code:
Recompiling "services.jar" With Original Signature,
in work area "_WorkArea1", using "apktool_2.2.1.jar"
With Tickle My Android 14.2.0.0.
(tinyurl.com\ticklemyandroid)
----------------
I: Using Apktool 2.2.1
I: Smaling smali folder into classes.dex...
..\_WorkArea1\_working\services.jar\smali\com\android\server\pm\PackageManagerService.smali[7670,4] missing EOF at '.locals'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/server/pm/PackageManagerService.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:77)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:61)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:405)
at brut.androlib.Androlib.buildSources(Androlib.java:336)
at brut.androlib.Androlib.build(Androlib.java:292)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
----------------
Recompile Not Successful!
how can i solve that?
Hamidreza2010 said:
@venkat kamesh bro thanks for your tut
i do this but get error in service.jar
after edit , i want to recompile it but get this error:
Code:
Recompiling "services.jar" With Original Signature,
in work area "_WorkArea1", using "apktool_2.2.1.jar"
With Tickle My Android 14.2.0.0.
(tinyurl.com\ticklemyandroid)
----------------
I: Using Apktool 2.2.1
I: Smaling smali folder into classes.dex...
..\_WorkArea1\_working\services.jar\smali\com\android\server\pm\PackageManagerService.smali[7670,4] missing EOF at '.locals'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/server/pm/PackageManagerService.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:77)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:61)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:405)
at brut.androlib.Androlib.buildSources(Androlib.java:336)
at brut.androlib.Androlib.build(Androlib.java:292)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
----------------
Recompile Not Successful!
how can i solve that?
Click to expand...
Click to collapse
bro seems you deleted '.locals'
please recheck it
nothing more
Goodluck bro
what´s the diferencce with the davidMKD´s tutorial disable signature verification http://forum.xda-developers.com/showthread.php?t=2458144
I ve been using this method since kit kat and its working fine, and you only modified slightly services.jar nothing else. cheers
juanpirulo said:
what´s the diferencce with the davidMKD´s tutorial disable signature verification http://forum.xda-developers.com/showthread.php?t=2458144
I ve been using this method since kit kat and its working fine, and you only modified slightly services.jar nothing else. cheers
Click to expand...
Click to collapse
haha well said bro
but structure of signature verification is not same since 4.4 to till date
there are lot of modification in structure and security level of api developed in their best
seems you just seen the services.jar changes hmm
had you looked to core-libart.jar ?
and you just see lines bro ?
why don't you look the code back to java ( i meant from smali to java ) so you can know the changes what i did
read the java imports
https://github.com/frohoff/jdk8u-dev-jdk/tree/master/src/share/classes/java/security
read it get it
i had those changes too
the old guide is just allowing to install temporary ( if you already had old install and data is present)
but not a complete SuperUserMod
just for you to prove ( try only with marshmallow and this guide is from marshmallow )
for example add new settings.apk with new signatures replace it
clear data from recovery and check if your settings are there or not
Before commenting of comparison please go through the google, and try to read what changes are done ( analyze them in java )
then come to thread and give a comment
we are not ready to post something which is already persist/Working
Do tests and get back to here bro
Good luck bro
First, this is not superuser mod, this is three android patches from LuckyPatcher.apk
First two makes your phone very vulnerable, because you makes signature verification always true and disable .apk signature verification. (core-libart.jar)
Superusermod is just
Code:
comparesignatures
const/4 v7, 0x0
bla bla
All other just give you access for downgrade your installed apk (services.jar)
I think you must add this info (about core-libart.jar) to first post. Thanks.
Did it.all good!
Thanks bro!
@venkat kamesh bro is this need to do after these steps?
http://forum.xda-developers.com/showpost.php?p=68965462&postcount=1264
i mean we should to do it or steps of this page is enough ? ( i have unlocked bootloader )
venkat kamesh said:
haha well said bro
but structure of signature verification is not same since 4.4 to till date
there are lot of modification in structure and security level of api developed in their best
seems you just seen the services.jar changes hmm
had you looked to core-libart.jar ?
and you just see lines bro ?
why don't you look the code back to java ( i meant from smali to java ) so you can know the changes what i did
read the java imports
https://github.com/frohoff/jdk8u-dev-jdk/tree/master/src/share/classes/java/security
read it get it
i had those changes too
the old guide is just allowing to install temporary ( if you already had old install and data is present)
but not a complete SuperUserMod
just for you to prove ( try only with marshmallow and this guide is from marshmallow )
for example add new settings.apk with new signatures replace it
clear data from recovery and check if your settings are there or not
Before commenting of comparison please go through the google, and try to read what changes are done ( analyze them in java )
then come to thread and give a comment
we are not ready to post something which is already persist/Working
Do tests and get back to here bro
Good luck bro
Click to expand...
Click to collapse
sorry bro when i said "you just modified slightly the services.jar" I didnt meant yourself i meant in the david tutorial no your tutorial. i just wanted your explanation about yours because i didnt know the difference. Now its ok
juanpirulo said:
sorry bro when i said "you just modified slightly the services.jar" I didnt meant yourself i meant in the david tutorial no your tutorial. i just wanted your explanation about yours because i didnt know the difference. Now its ok
Click to expand...
Click to collapse
haha no worries bro
happy to explain
Good luck bro
Hamidreza2010 said:
@venkat kamesh bro is this need to do after these steps?
http://forum.xda-developers.com/showpost.php?p=68965462&postcount=1264
i mean we should to do it or steps of this page is enough ? ( i have unlocked bootloader )
i need to do both of them?
Click to expand...
Click to collapse
@venkat kamesh would you please clear me here?
thanks bro
As always venkat kamesh! Great guide bro!
venkat kamesh said:
haha no worries bro
happy to explain
Good luck bro
Click to expand...
Click to collapse
i dont know why Xperia M4 Services.jar and other file not have Smali Folder
Hello! Does this work on stock marshmallow .291 for sony devices? Also, does this work on locked bootloaders? Great tutorial BTW!
Can I do this if my services.jar is from another systemUI. I have a z3c and I flashed Xperia X sysui and it replaced my stock systemUi and services.jar
thank you bro
but after edit
any app not installed.
russel5 said:
First, this is not superuser mod, this is three android patches from LuckyPatcher.apk
First two makes your phone very vulnerable, because you makes signature verification always true and disable .apk signature verification. (core-libart.jar)
Superusermod is just
Code:
comparesignatures
const/4 v7, 0x0
bla bla
All other just give you access for downgrade your installed apk (services.jar)
I think you must add this info (about core-libart.jar) to first post. Thanks.
Click to expand...
Click to collapse
@russel5,
I am not familiar with how to decompile services.jar, and I am not sure I understand what this is. Do you know of any more basic of a guide on services.jar, deodexing and what it achieves?
Thanks a lot in advance,
MW
I have been served this guide to enable superuser mod in my xperia x
music widget particles requires superuser mod but my xperia x has it

Categories

Resources