MarshMallow Platlogo for Samsung Galaxy Grand Prime - Galaxy Grand Prime Themes and Apps

Sharing again Marshmallow platlogo and games.....
Requirements:
Rooted
Deodex (very much required)
Disabled Signature (use Lucky patcher)
ApkTOOL
Jota Text Editor
Root Explorer
Brain.apk
Marlboro red
Black Coffee
Tutorial:
1. Decompile Framework.jar
2. Go to smali/com/android/internal/app..
3. Open PlatLogoActivity.smali
4. Remove all the lines from that smali and paste below below lines
.class public Lcom/android/internal/app/PlatLogoActivity;
.super Landroid/app/Activity;
.source "PlatLogoActivity.java"
# direct methods
.method public constructor <init>()V
.locals 0
.prologue
.line 12
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
# virtual methods
.method protected onCreate(Landroid/os/BundleV
.locals 5
.param p1, "savedInstanceState" # Landroid/os/Bundle;
.prologue
.line 16
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/BundleV
.line 18
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/StringV
.line 19
.local v1, "intent":Landroid/content/Intent;
new-instance v2, Landroid/content/ComponentName;
const-string v3, "androstarkdeveloper.marshamlloweasteregg"
const-string v4, "androstarkdeveloper.marshamlloweasteregg.MainActivity"
invoke-direct {v2, v3, v4}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/StringV
invoke-virtual {v1, v2}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentNameLandroid/content/Intent;
.line 23
:try_start_0
invoke-virtual {p0, v1}, Lcom/android/internal/app/PlatLogoActivity;->startActivity(Landroid/content/IntentV
:try_end_0
.catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
.line 39
:goto_0
invoke-virtual {p0}, Lcom/android/internal/app/PlatLogoActivity;->finish()V
.line 41
return-void
.line 31
:catch_0
move-exception v0
.line 35
.local v0, "e":Landroid/content/ActivityNotFoundException;
const-string v2, "First install that app Droidbuster told you to!"
const/4 v3, 0x0
invoke-static {p0, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2}, Landroid/widget/Toast;->show()V
goto :goto_0
.end method
5. Recompile and sign..
6. push Megg.apk (Marshmallow egg) to system/priv-app..permission rwrr
7. push MarshMallow Games.apk to system/app...permission rwrr
8. Push framework.jar to system/framework with correct permission rwrr (make sure to set the correct permission rwrr first outside the framework folder before pasting it inside the framework folder to avoid errors.)
9. Reboot device and done..
10.Wait 3 to 5 mins to open...then go to about device tap 3 to 5 times the android version and the Marshmallow will now show up..do a long press to marshmallow icon and the marshmallow games will come out..
Link: FOR THE mEGG.APK AND mARSHMALLOW GAMES:
Link: https://mega.nz/#!GRV3BYpA!rTdauTJoSGqrFKH0CfQ2FYOEq3_sQrHrfrwx9GF4ai4
Credits:
MR. X of SGGP PH (The OFFICIAL)
DroidBuster

Working hehe [emoji1]
Sent from my SM-N920C using Tapatalk

can someone make this flashable

Whats your complete baseband version? send me your framework.jar .....i will make flashable for your baseband...

Here it is https://drive.google.com/file/d/0B-P8_wMGLSwbV2o1ZTNSSFlNZnM/view?usp=sharing
Hit Thanks!!! If you like my work

here it is https://mega.nz/#!rVEADRQR!O_7vm2sjlODaW_zdJ4jPOQEuGnfcdRpa00-A5c_SwHI
flash the zipfile via twrp or cwm....before flashing make sure your rom is deodexed and disabled signature...wait 5 to 10 mins to open...
Sent from my SM-N920C using XDA-Developers mobile app

Sent from my SM-G930F using XDA-Developers mobile app

friends anyone knows how to change the logo splash plis answer

juancapo9999 said:
friends anyone knows how to change the logo splash plis answer
Click to expand...
Click to collapse
refer to this link bro: http://forum.xda-developers.com/galaxy-s6-edge/themes-apps/avengers-theme-individual-mode-t3140647
or this link: http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-custom-boot-splash-t3130557

redskin08 said:
refer to this link bro: http://forum.xda-developers.com/galaxy-s6-edge/themes-apps/avengers-theme-individual-mode-t3140647
or this link: http://forum.xda-developers.com/galaxy-s6/themes-apps/mod-custom-boot-splash-t3130557
Click to expand...
Click to collapse
second link bro i need form grand prime .

plis bump

SM-G530FZ
Can you make flashable for GP SM-G530FZ please ?
Thanks

send me your framework.jar ill make flashable for your baseband...
Sent from my SM-G935F using XDA-Developers mobile app

redskin08 said:
send me your framework.jar ill make flashable for your baseband...
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
My framework : https://drive.google.com/file/d/0B1uY0D8_tcEvMlJOb25pQmZXZ1U/view?usp=drivesdk
Sent from my SM-G935F using XDA-Developers mobile app

here it is bro
https://mega.nz/#!uUNjRLzY!NxCgWwnJ0VC0EeDX8eR6N358mWGogWFMC2DCpTy-0GQ
make a flashable backup first of your framework.jar.....
booting time is 5 to 7 minutes...make sure you are deodex and have disabled signature.....
provide feedback once your done...
Sent from my SM-G935F using XDA-Developers mobile app

https://mega.nz/#!uUNjRLzY!NxCgWwnJ0VC0EeDX8eR6N358mWGogWFMC2DCpTy-0GQ
Sent from my SM-G935F using XDA-Developers mobile app

redskin08 said:
https://mega.nz/#!uUNjRLzY!NxCgWwnJ0VC0EeDX8eR6N358mWGogWFMC2DCpTy-0GQ
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks bro
Sent from my SM-G935F using XDA-Developers mobile app
---------- Post added at 08:54 AM ---------- Previous post was at 08:33 AM ----------
redskin08 said:
here it is bro
https://mega.nz/#!uUNjRLzY!NxCgWwnJ0VC0EeDX8eR6N358mWGogWFMC2DCpTy-0GQ
make a flashable backup first of your framework.jar.....
booting time is 5 to 7 minutes...make sure you are deodex and have disabled signature.....
provide feedback once your done...
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
It works but can I hide the marshmallow game icon ?
Sent from my SM-G935F using XDA-Developers mobile app

NazareoJordan said:
Thanks bro
Sent from my SM-G935F using XDA-Developers mobile app
---------- Post added at 08:54 AM ---------- Previous post was at 08:33 AM ----------
It works but can I hide the marshmallow game icon ?
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
Good Job Bro......yes you can hide it....

@redskin08
Nice Friend, can you make it too for Grand Prime VE G531H????pleasee...???
Sent from my SM-G531H using XDA-Developers mobile app

sure ..send me your framework.jar....ill try to fix it later....
Sent from my SM-G935F using XDA-Developers mobile app

Related

[MOD][JB/ICS][10/21/2012][AOKP JB-B5/M6] Vibrate on call connect/answer

[Update 10/21/2012]
Added Phone.apk for AOKP JB Build 5;
This thread is dedicated to the method of modifying Phone.apk so that when an outgoing call is connected (answered) the phone vibrates to notify. This feature is useful when driving and is good for health as the wireless signal boosts at the instant when a call is connected so it is better to keep it at a distance and be notified as soon as it is connected.
The method here is inspired by the codes in CM9, but much simpler: only less than 30 lines of smali codes are added to a single file. It works on the latest Phone.apk source codes, and also a modded Phone.apk for AOKP M6 is provided as an attachment. Feel free to mod it in your own ROM, but I just did for AOKP (at least for now) since I would stick to that ROM for best LED notification support.
After baksmali-ing Phone.apk, the file to modify is CallNotifier.smali. Added codes are marked by "+" and "+ { }" and are in red. All modifications below are based on AOKP M6.
1. Add two instance variables
Code:
# instance fields
...
[COLOR="Red"]+.field private mVibrator:Landroid/os/Vibrator;
+.field private mLastVibratedCall:J
[/COLOR]
2. Modify init method to initialize Vibrator
Code:
.method private constructor <init>(Lcom/android/phone/PhoneApp;Lcom/android/internal/telephony/Phone;Lcom/android/phone/Ringer;Lcom/android/phone/BluetoothHandsfree;Lcom/android/phone/CallLogAsync;)V
.registers 11
.parameter "app"
.parameter "phone"
.parameter "ringer"
.parameter "btMgr"
.parameter "callLog"
.prologue
const/4 v3, 0x0
.line 198
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
[COLOR="red"]+ new-instance v2, Landroid/os/Vibrator;
+ invoke-direct {v2}, Landroid/os/Vibrator;-><init>()V
+ iput-object v2, p0, Lcom/android/phone/CallNotifier;->mVibrator:Landroid/os/Vibrator;
[/COLOR]
.line 105
iput-boolean v3, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTimeOut:Z
Note: for JB, use
Code:
[COLOR="red"]+ new-instance v2, Landroid/os/SystemVibrator;;
+ invoke-direct {v2}, Landroid/os/SystemVibrator;-><init>()V
[/COLOR]
3. Add the codes in method onPhoneStateChanged to implement the vibrate logic when an outgoing call is connected (with removal of potential repetitive vibrates). This happens right after the CallWaitingTonePlayer codes and before the setAudioMode codes.
Code:
.method private onPhoneStateChanged(Landroid/os/AsyncResult;)V
...
if-ne v4, v6, :cond_ae
.line 801
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTonePlayer:Lcom/android/phone/CallNotifier$InCallTonePlayer;
if-eqz v6, :cond_72
.line 802
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTonePlayer:Lcom/android/phone/CallNotifier$InCallTonePlayer;
invoke-virtual {v6}, Lcom/android/phone/CallNotifier$InCallTonePlayer;->stopTone()V
.line 803
iput-object v13, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTonePlayer:Lcom/android/phone/CallNotifier$InCallTonePlayer;
.line 808
:cond_72
[COLOR="red"]+ {
invoke-interface {v3}, Lcom/android/internal/telephony/Phone;->getForegroundCall()Lcom/android/internal/telephony/Call;
move-result-object v6
invoke-virtual {v6}, Lcom/android/internal/telephony/Call;->getState()Lcom/android/internal/telephony/Call$State;
move-result-object v6
sget-object v9, Lcom/android/internal/telephony/Call$State;->ACTIVE:Lcom/android/internal/telephony/Call$State;
if-ne v6, v9, :cond_72end
invoke-interface {v3}, Lcom/android/internal/telephony/Phone;->getForegroundCall()Lcom/android/internal/telephony/Call;
move-result-object v6
invoke-virtual {v6}, Lcom/android/internal/telephony/Call;->getLatestConnection()Lcom/android/internal/telephony/Connection;
move-result-object v6
invoke-virtual {v6}, Lcom/android/internal/telephony/Connection;->isIncoming()Z
move-result v9
if-nez v9, :cond_72end
invoke-virtual {v6}, Lcom/android/internal/telephony/Connection;->getCreateTime()J
move-result-wide v5
iget-wide v9, p0, Lcom/android/phone/CallNotifier;->mLastVibratedCall:J
cmp-long v9, v5, v9
if-eqz v9, :cond_72end
iput-wide v5, p0, Lcom/android/phone/CallNotifier;->mLastVibratedCall:J
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mVibrator:Landroid/os/Vibrator;
const-wide/16 v9, 0x100
invoke-virtual {v6, v9, v10}, Landroid/os/Vibrator;->vibrate(J)V
:cond_72end
}
[/COLOR]
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mCM:Lcom/android/internal/telephony/CallManager;
invoke-static {v6}, Lcom/android/phone/PhoneUtils;->setAudioMode(Lcom/android/internal/telephony/CallManager;)V
...
As you can see only a small amount of codes is needed to implement the feature. What the mod does in detail:
(1) When a call changes its state to ACTIVE,
(2) Check if it is outgoing,
(3) Also check if it has already vibrated on connect/answer (if we don't have this code then an outgoing connected call will vibrate each time the Phone app switches in/out home screen),
(4) If Y in (2) and N in (3), then vibrate and store the creation time of this call for future checks in (3).
Note that the codes do not create any new objects when a call is connected/answered so the memory overhead should be approximately zero.
See attachment for the modded Phone.apk for AOKP M6. I may do it also for JB ROMs when I switch to them. If you want to cook this mod into your own ROM feel free to do so.
Phone.apk for AOKP JB Build 5 is added on 10/21/2012.
Is this working with JB roms? Just flash this phone.apk in cwm?
Sent from my Galaxy Nexus using xda app-developers app
Great work ! ! ! I tried the modified .apk for AOKP M6 and it works.
The vibration upon call connect is very responsive. I mean... on my girlfriend's Desire S running MIUI, it is delayed by half a second or so.
It'd be nice if it would vibrate when the call disconnects, too.
Sent from my Galaxy Nexus
what about the noob people like me
is there ready flashable or apk file can be installed directly, I tried to installed the attached file but have not installed message
Sent from my Galaxy Nexus using Tapatalk 2
lupipe said:
Is this working with JB roms? Just flash this phone.apk in cwm?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
+1
how to install this on JB rom?!
Hash123 said:
what about the noob people like me
is there ready flashable or apk file can be installed directly, I tried to installed the attached file but have not installed message
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
true true what about us?:laugh:
Hash123 said:
what about the noob people like me
is there ready flashable or apk file can be installed directly, I tried to installed the attached file but have not installed message
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Copy and paste the attached Phone.apk into your /system/app/ folder. Rewrite the existing file, obviously. As the OP said, it's for AOKP M6, but I have a feeling it should work on CM9, AOSP and such... except for ParanoidAndroid and MIUI, of course.
---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------
lupipe said:
Is this working with JB roms? Just flash this phone.apk in cwm?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Good luck flashing an .apk from Recovery. Or anything that is not .zip, for that matter...
Formhault said:
Copy and paste the attached Phone.apk into your /system/app/ folder. Rewrite the existing file, obviously. As the OP said, it's for AOKP M6, but I have a feeling it should work on CM9, AOSP and such... except for ParanoidAndroid and MIUI, of course.
---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------
Good luck flashing an .apk from Recovery. Or anything that is not .zip, for that matter...
Click to expand...
Click to collapse
Just moved this phone.apk in system/app but it says cannot copy...im on jb 4.1.1
Sent from my Galaxy Nexus using xda app-developers app
Very nice work, Maybe I should give it a try .
mrzzheng said:
This thread is dedicated to the method of modifying Phone.apk so that when an outgoing call is connected (answered) the phone vibrates to notify. This feature is useful when driving and is good for health as the wireless signal boosts at the instant when a call is connected so it is better to keep it at a distance and be notified as soon as it is connected.
The method here is inspired by the codes in CM9, but much simpler: only less than 30 lines of smali codes are added to a single file. It works on the latest Phone.apk source codes, and also a modded Phone.apk for AOKP M6 is provided as an attachment. Feel free to mod it in your own ROM, but I just did for AOKP (at least for now) since I would stick to that ROM for best LED notification support.
After baksmali-ing Phone.apk, the file to modify is CallNotifier.smali. Added codes are marked by "+" and "+ { }" and are in red. All modifications below are based on AOKP M6.
1. Add two instance variables
Code:
# instance fields
...
[COLOR="Red"]+.field private mVibrator:Landroid/os/Vibrator;
+.field private mLastVibratedCall:J
[/COLOR]
2. Modify init method to initialize Vibrator
Code:
.method private constructor <init>(Lcom/android/phone/PhoneApp;Lcom/android/internal/telephony/Phone;Lcom/android/phone/Ringer;Lcom/android/phone/BluetoothHandsfree;Lcom/android/phone/CallLogAsync;)V
.registers 11
.parameter "app"
.parameter "phone"
.parameter "ringer"
.parameter "btMgr"
.parameter "callLog"
.prologue
const/4 v3, 0x0
.line 198
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
[COLOR="red"]+ new-instance v2, Landroid/os/Vibrator;
+ invoke-direct {v2}, Landroid/os/Vibrator;-><init>()V
+ iput-object v2, p0, Lcom/android/phone/CallNotifier;->mVibrator:Landroid/os/Vibrator;
[/COLOR]
.line 105
iput-boolean v3, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTimeOut:Z
3. Add the codes in method onPhoneStateChanged to implement the vibrate logic when an outgoing call is connected (with removal of potential repetitive vibrates). This happens right after the CallWaitingTonePlayer codes and before the setAudioMode codes.
Code:
.method private onPhoneStateChanged(Landroid/os/AsyncResult;)V
...
if-ne v4, v6, :cond_ae
.line 801
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTonePlayer:Lcom/android/phone/CallNotifier$InCallTonePlayer;
if-eqz v6, :cond_72
.line 802
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTonePlayer:Lcom/android/phone/CallNotifier$InCallTonePlayer;
invoke-virtual {v6}, Lcom/android/phone/CallNotifier$InCallTonePlayer;->stopTone()V
.line 803
iput-object v13, p0, Lcom/android/phone/CallNotifier;->mCallWaitingTonePlayer:Lcom/android/phone/CallNotifier$InCallTonePlayer;
.line 808
:cond_72
[COLOR="red"]+ {
invoke-interface {v3}, Lcom/android/internal/telephony/Phone;->getForegroundCall()Lcom/android/internal/telephony/Call;
move-result-object v6
invoke-virtual {v6}, Lcom/android/internal/telephony/Call;->getState()Lcom/android/internal/telephony/Call$State;
move-result-object v6
sget-object v9, Lcom/android/internal/telephony/Call$State;->ACTIVE:Lcom/android/internal/telephony/Call$State;
if-ne v6, v9, :cond_72end
invoke-interface {v3}, Lcom/android/internal/telephony/Phone;->getForegroundCall()Lcom/android/internal/telephony/Call;
move-result-object v6
invoke-virtual {v6}, Lcom/android/internal/telephony/Call;->getLatestConnection()Lcom/android/internal/telephony/Connection;
move-result-object v6
invoke-virtual {v6}, Lcom/android/internal/telephony/Connection;->isIncoming()Z
move-result v9
if-nez v9, :cond_72end
invoke-virtual {v6}, Lcom/android/internal/telephony/Connection;->getCreateTime()J
move-result-wide v5
iget-wide v9, p0, Lcom/android/phone/CallNotifier;->mLastVibratedCall:J
cmp-long v9, v5, v9
if-eqz v9, :cond_72end
iput-wide v5, p0, Lcom/android/phone/CallNotifier;->mLastVibratedCall:J
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mVibrator:Landroid/os/Vibrator;
const-wide/16 v9, 0x100
invoke-virtual {v6, v9, v10}, Landroid/os/Vibrator;->vibrate(J)V
:cond_72end
}
[/COLOR]
iget-object v6, p0, Lcom/android/phone/CallNotifier;->mCM:Lcom/android/internal/telephony/CallManager;
invoke-static {v6}, Lcom/android/phone/PhoneUtils;->setAudioMode(Lcom/android/internal/telephony/CallManager;)V
...
As you can see only a small amount of codes is needed to implement the feature. What the mod does in detail:
(1) When a call changes its state to ACTIVE,
(2) Check if it is outgoing,
(3) Also check if it has already vibrated on connect/answer (if we don't have this code then an outgoing connected call will vibrate each time the Phone app switches in/out home screen),
(4) If Y in (2) and N in (3), then vibrate and store the creation time of this call for future checks in (3).
Note that the codes do not create any new objects when a call is connected/answered so the memory overhead should be approximately zero.
See attachment for the modded Phone.apk for AOKP M6. I may do it also for JB ROMs when I switch to them. If you want to cook this mod into your own ROM feel free to do so.
Click to expand...
Click to collapse
Thank you. jb aspect version. thanks
Formhault said:
Copy and paste the attached Phone.apk into your /system/app/ folder. Rewrite the existing file, obviously. As the OP said, it's for AOKP M6, but I have a feeling it should work on CM9, AOSP and such... except for ParanoidAndroid and MIUI, of course.
---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------
Good luck flashing an .apk from Recovery. Or anything that is not .zip, for that matter...
Click to expand...
Click to collapse
I did as you said, replaced the phone.apk file with the modified on but nothing was changed , I am on AOKP M6
Hash123 said:
I did as you said, replaced the phone.apk file with the modified on but nothing was changed , I am on AOKP M6
Click to expand...
Click to collapse
restart to let the magic happen.
lupipe said:
Just moved this phone.apk in system/app but it says cannot copy...im on jb 4.1.1
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
That's because the Phone.apk is for AOKP M6, which is based on 4.0.4. That file might work on other 4.0.4-based ROMs, but no way it's gonna work on JB...
Hash123 said:
I did as you said, replaced the phone.apk file with the modified on but nothing was changed , I am on AOKP M6
Click to expand...
Click to collapse
When I replaced the file and went into the Phone, Contacts stopped working. So I figured a reboot is requred. Restarted the phone and everything was fine .
I flashed this mod today... I sold my Nexus today... Happy & sad at the same time. Oh well... guess I'll be off this topic/forum, lol.
Hello. you can do. version. jb? thanks: Rolleyes:
mrzzheng said:
restart to let the magic happen.
Click to expand...
Click to collapse
Formhault said:
That's because the Phone.apk is for AOKP M6, which is based on 4.0.4. That file might work on other 4.0.4-based ROMs, but no way it's gonna work on JB...
When I replaced the file and went into the Phone, Contacts stopped working. So I figured a reboot is requred. Restarted the phone and everything was fine .
I flashed this mod today... I sold my Nexus today... Happy & sad at the same time. Oh well... guess I'll be off this topic/forum, lol.
Click to expand...
Click to collapse
yes you are right, it is working as should be
Sent from my Galaxy Nexus using Tapatalk 2
Can someone make this mod for JB?
Sent from my Galaxy Nexus using xda app-developers app
Can someone make this mod for JB? thanks
I hope you can make a JB version, since this is a very useful feature
Sent from my GT-P6200 using xda app-developers app
So does it work with JB or not?

[DEV] [MOD] [HOW-TO] Call Recording on LG2 Based Sprint ROMS [MOD]

Hey everyone! In response to sudden events i am deciding to make tutorials for all my MODS for interested DEVS. I'm going to start off with the Call recording MOD
First you're going to need to decompile the Smali in SecPhone.apk
Navigate to the following smali file: \com\android\phone\PhoneFeature.smali
Edit the following code:
Code:
:cond_4e
[COLOR="Green"]++:goto_4e[/COLOR]
const/4 v1, 0x1
[COLOR="Red"]--:goto_4e[/COLOR]
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v8
.line 575
const-string v1, "SKT"
Now compile and push apk too /system/app/ and you are done
**ATTENTION** Your goto id's may be something different just add the line listed above and change the goto ID to the one listed in your smali.
Have fun
Did this add a third button to the normal phone app? Can you post the recompiled app or is that against the policy
Sent from my SPH-L710...if some one helps you press the thanks button
xtrezpasor said:
Did this add a third button to the normal phone app? Can you post the recompiled app or is that against the policy
Sent from my SPH-L710...if some one helps you press the thanks button
Click to expand...
Click to collapse
This adds a button to the stock app
Sent from my SPH-L710 using Tapatalk 2
clark44 said:
This adds a button to the stock app
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Do you lose the swap button?
Sent from my SPH-L710...if some one helps you press the thanks button
xtrezpasor said:
Do you lose the swap button?
Sent from my SPH-L710...if some one helps you press the thanks button
Click to expand...
Click to collapse
I haven't really checked that out. I dident get any reports of that issue.
Sent from my SPH-L710 using Tapatalk 2
clark44 said:
I haven't really checked that out. I dident get any reports of that issue.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I'll try to do this my self but if you can post a copy of yours working that be awesome
Sent from my SPH-L710...if some one helps you press the thanks button
I've done this mod, slightly different, but it worked nonetheless.
Either method will make "additional settings" under call settings force close.
My method was this
LOOK FOR:
Code:
const-string v2, "restore_spk_unplugged_dock"
invoke-virtual {v1, v2, v8}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForKor()V
invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForUsa()V
return-void
:cond_8ca
const/4 v1, 0x0
goto/16 :goto_28
:cond_8cd
const/4 v1, 0x0
goto/16 :goto_4f
LOOK AROUND:
Code:
:cond_8cd
const/4 v1, 0x0
goto/16 :goto_4f
CHANGE:
Code:
const/4 v1, 0x0
INTO:
Code:
const/4 v1, 0x1
freeza said:
I've done this mod, slightly different, but it worked nonetheless.
Either method will make "additional settings" under call settings force close.
My method was this
LOOK FOR:
Code:
const-string v2, "restore_spk_unplugged_dock"
invoke-virtual {v1, v2, v8}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForKor()V
invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForUsa()V
return-void
:cond_8ca
const/4 v1, 0x0
goto/16 :goto_28
:cond_8cd
const/4 v1, 0x0
goto/16 :goto_4f
LOOK AROUND:
Code:
:cond_8cd
const/4 v1, 0x0
goto/16 :goto_4f
CHANGE:
Code:
const/4 v1, 0x0
INTO:
Code:
const/4 v1, 0x1
Click to expand...
Click to collapse
I see you're just enabling the feature. Same thing. Yours is slightly simpler. Good information for people who can't get mine to work
Sent from my SPH-L710 using Tapatalk 2
Sorry so by doing all of this it will basically enable call recording without having to use a third party app over speaker phone. And I've never done this before so I'm I too user terminal for all off this ? Thanks again for the help.
Sent from my SPH-L710 using xda premium
Yelp, anyone please help. Does this work for lg8
Sent from my SPH-L710 using xda premium
Does not seem to work on LG8.
Didact74 said:
Does not seem to work on LG8.
Click to expand...
Click to collapse
I'm running Blazer v1.8 with LG8 and have it working just fine. Are you on a stock rom?
I installed the zip from this post:
http://forum.xda-developers.com/showpost.php?p=28164335&postcount=2
---------- Post added at 02:06 PM ---------- Previous post was at 02:03 PM ----------
Does any one know how to mod this so it automatically records all calls?
Would this work with CM10?
joelstitch said:
Would this work with CM10?
Click to expand...
Click to collapse
Only works with ics Roms unfortunately, not working with Jelly yet.
i apologize but how do i get to the point to add the mod?
freeza said:
I've done this mod, slightly different, but it worked nonetheless.
Either method will make "additional settings" under call settings force close.
My method was this
LOOK FOR:
Code:
const-string v2, "restore_spk_unplugged_dock"
invoke-virtual {v1, v2, v8}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForKor()V
invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForUsa()V
return-void
:cond_8ca
const/4 v1, 0x0
goto/16 :goto_28
:cond_8cd
const/4 v1, 0x0
goto/16 :goto_4f
LOOK AROUND:
Code:
:cond_8cd
const/4 v1, 0x0
goto/16 :goto_4f
CHANGE:
Code:
const/4 v1, 0x0
INTO:
Code:
const/4 v1, 0x1
Click to expand...
Click to collapse
Freeza have you managed to get this working on JB and if so can you make an Xposed framework module for it?
dyehya said:
Freeza have you managed to get this working on JB and if so can you make an Xposed framework module for it?
Click to expand...
Click to collapse
yes have you gotten it to work?
Sent from my SPH-L710 using xda premium

[MOD][GUIDE] Device Status Info "Normal" Instead Of "Modified" Mod!

[MOD][GUIDE] Device Status Info "Normal" Instead Of "Modified" Mod!
Hello to all Developers and XDA members! I have come here to give you a guide on how you can change the device status info from "Modified" to "Normal" and here is how you can do it!
What Is Required...
★ First you need to have experience and know how to decompile/recompile apks with Apktools, apkmanager, smali, and baksmali
★ Have 7-zip installed onto your computer/laptop
★ Make sure you have Notepad++ also installed!
★HOW TO CHANGE THE DEVICE STATUS INFO FROM "MODIFIED" TO "NORMAL"★
WHAT DOES THIS MOD DO: Instead Of The Device Status Showing As "Modified" It Now Shows As "Normal". So Now The Custom Rom Can Look More Like It's Stock.
STEP 1
★ Go into your system/app folder and take out your "SecSettings.apk"
★ Then use one of the applications such as apktools or apkmanager and then use the commands to decompile the SecSettings.apk
★ Once you have decompiled the SecSettings.apk, navigate and go to:
smali/com/android/settings/deviceinfo/Status.smali
Click to expand...
Click to collapse
Now open up "Status.smali" with Notepad++ for editing:
Now for this part of this guide what I have highlighted in GREEN text is what you have to find using Notepad++, What you see in RED is the line you have to remove/delete, And also what you see in BLUE is the line you have to make the modified changes to:
SEARCH FOR METHOD:
Code:
[COLOR="Green"].method private changeSysScopeStatus()V[/COLOR]
NOW REMOVE THIS WHOLE ENTIRE LINE THAT YOU SEE IN RED ALL THE WAY DOWN TO THE .END METHOD:
Code:
[COLOR="Green"].method private changeSysScopeStatus()V[/COLOR]
[COLOR="Red"].locals 7
.prologue
const-wide/16 v3, 0x3e8
const v6, 0x7f090129
const/4 v5, -0x1
.line 827
const-string v0, "sysscope_status"
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
move-result-object v2
.line 829
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
div-long/2addr v0, v3
.line 830
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
div-long/2addr v0, v3
.line 832
const-wide/16 v3, 0x0
cmp-long v3, v0, v3
if-nez v3, :cond_0
.line 833
const-wide/16 v0, 0x1
.line 836
:cond_0
iget-object v3, p0, Lcom/android/settings/deviceinfo/Status;->mSysScope:Lcom/sec/android/app/sysscope/service/SysScope;
invoke-virtual {v3}, Lcom/sec/android/app/sysscope/service/SysScope;->isConnected()Z
move-result v3
if-nez v3, :cond_1
const-wide/16 v3, 0x78
cmp-long v0, v0, v3
if-lez v0, :cond_1
.line 837
invoke-virtual {p0, v6}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
.line 854
:goto_0
invoke-virtual {v2, v0}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
.line 855
return-void
.line 840
:cond_1
:try_start_0
iget-object v0, p0, Lcom/android/settings/deviceinfo/Status;->mSysScope:Lcom/sec/android/app/sysscope/service/SysScope;
invoke-virtual {v0}, Lcom/sec/android/app/sysscope/service/SysScope;->getLastScanResult()Lcom/sec/android/app/sysscope/service/SysScopeResultInfo;
move-result-object v0
invoke-virtual {v0}, Lcom/sec/android/app/sysscope/service/SysScopeResultInfo;->getResult()I
move-result v0
iput v0, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.line 845
:goto_1
iget v0, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
const/4 v1, 0x2
if-ne v0, v1, :cond_2
.line 846
invoke-virtual {p0, v6}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
goto :goto_0
.line 841
:catch_0
move-exception v0
.line 842
iput v5, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
goto :goto_1
.line 847
:cond_2
iget v0, p0, Lcom/android/settings/deviceinfo/Status;->isSysScopeStatus:I
if-ne v0, v5, :cond_3
.line 848
const v0, 0x7f09012a
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
goto :goto_0
.line 850
:cond_3
const v0, 0x7f09012a
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v0
goto :goto_0
.end method[/COLOR]
AND THEN ADD THIS ENTIRE NEW METHOD RIGHT UNDER TO THE METHOD YOU HAVE SEARCHED FOR IN GREEN:
Code:
[COLOR="Green"].method private changeSysScopeStatus()V[/COLOR]
[COLOR="Blue"].locals 2
const-string v0, "sysscope_status"
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
move-result-object v0
const v1, 0x7f090128 #sysscope_normal
invoke-virtual {p0, v1}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
return-void
.end method
[/COLOR]
STEP 2
I have added a hashtag which is #sysscope_normal from the new method you have to add from above that I have highlighted in BLUE. For your next step on how you can find your public id which mines in this guide is 0x7f090128 for sysscope_normal since for other carriers your public id might be different. To find yours here is how...
Once your "SecSettings.apk" is decompiled head to:
res/values/public.xml
Click to expand...
Click to collapse
Now open up "public.xml" with Notepad++:
Now for this part what I have highlighted in GREEN text is what you have to find using Notepad++, What you see in BLUE is the line you have to look at to get your sysscope_normal public string id:
SEARCH FOR PUBLIC STRING:
Code:
[COLOR="Green"]<public type="string" name="sysscope_normal"[/COLOR]
My syscope_normal public string id for T-Mobile is what you see in BLUE:
Code:
[COLOR="Green"]<public type="string" name="sysscope_normal" id="[/COLOR][COLOR="Blue"]0x7f090128[/COLOR][COLOR="Green"]" />[/COLOR]
If your sysscope_normal public string id is different than mines, what your going to need to do is copy your public string id that's different, and then paste it over the the public id right next to #sysscope_normal from the entire new method that you have added that is highlighted in BLUE from STEP 1.
Now once your done with modifying the "Status.smali" and checking that you have the right public id, Save your Notepad changes, Recompile your SecSettings.apk using apktool or smali commands and your DONE! You should now head to "Settings - About device - Status" and where it says "Device Status" It should now say "Normal" Instead Of "Modified"!... ENJOY!
REMINDER...
Remember this works for all S3 Devices on all carriers T-Mobile, ATT, Verizon, Sprint, And Etc!
Oh man.... this.... this is freaking awesome! You rock Jovy! Amazing job as always man. So adding to my next update. Thanks bro.
nice find! :good:
I have think there is a typo in step one, you said to decompile SecMms.apk, I believe you meant SecSettings
Sent from my Galaxy Note 10.1!
Jamison904 said:
Oh man.... this.... this is freaking awesome! You rock Jovy! Amazing job as always man. So adding to my next update. Thanks bro.
Click to expand...
Click to collapse
Thanks bro! Enjoy the mod its great implementing this mod on any modified rom, the modified rom now acts as if its a real stock rom since it is now "Normal"! :good:
Sent from my SGH-T999 using Tapatalk 2
semorebutts123 said:
nice find! :good:
Click to expand...
Click to collapse
Thanks! :good:
Sent from my SGH-T999 using Tapatalk 2
Great job bro!!! I have been waiting for something like this for a while.... Your instructions are on point and easy to follow. Thanks for your dedication man.
LoopDoGG79 said:
I have think there is a typo in step one, you said to decompile SecMms.apk, I believe you meant SecSettings
Sent from my Galaxy Note 10.1!
Click to expand...
Click to collapse
Oops thanks for the heads up I have just fixed it and also to let everyone know I have updated the OP with a Reminder for the people who have a S3 device on another carrier...
prototype.77 said:
Great job bro!!! I have been waiting for something like this for a while.... Your instructions are on point and easy to follow. Thanks for your dedication man.
Click to expand...
Click to collapse
Your welcome bro. :good:
Sent from my SGH-T999 using Tapatalk 2
Damn Jovy you always find the best tweaks! Great job man. Will try it and install Isis wallet
One question though, Will this let your phone search for updates or OTA when their out? And not say your device is modded anymore
gypsy214 said:
Damn Jovy you always find the best tweaks! Great job man. Will try it and install Isis wallet
One question though, Will this let your phone search for updates or OTA when their out? And not say your device is modded anymore
Click to expand...
Click to collapse
Im not sure since i always remove/hide the firmware update setting from my roms so i cant test that part out hopefully someone could post and let me know, but imo it shouldnt ask for firmware OTA updates if the developer has already removed the specific apk files that has to do with anything about checking/searching for OTA updates.
Sent from my SGH-T999 using Tapatalk 2
jovy23 said:
Im not sure since i always remove/hide the firmware update setting from my roms so i cant test that part out hopefully someone could post and let me know, but imo it shouldnt ask for firmware OTA updates if the developer has already removed the specific apk files that has to do with anything about checking/searching for OTA updates.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Well every now and then I like to go completely stock. Was just wondering if with this method it will actually notify when there is an update. Will go flash the stock ROM with a previous firmware and this and see if it happens.
Was just wondering
Nice work and find bro!
sbreen94 said:
Nice work and find bro!
Click to expand...
Click to collapse
Thanks man! Enjoy... :good:
Shows normal but apps that check for root like media hub still won't work.
Sent from my SGH-T999 using xda premium
Great job! I'll be sure and add the credit to the how-to here. Oh wait..how did the date on this thread? Definitely something weird....
http://forum.xda-developers.com/showthread.php?t=2192199
digiblur said:
Great job! I'll be sure and add the credit to the how-to here. Oh wait..how did the date on this thread? Definitely something weird....
http://forum.xda-developers.com/showthread.php?t=2192199
Click to expand...
Click to collapse
lol nice work digiblur! I added your mod to my rom and it worked great! I will be giving you credit in my op for making the mod
Thanx for sharing
Hey Jovy. I love the ROM. X2 is definitely a beast. After I flashed the mod for normal status, it shows normal but I still can't play content from media hub or connect via all share cast. Any help would be greatly appreciated being that I would like to use this awesome ROM and view on big screen via all share cast.
Sent from my SGH-T999 using xda premium
seshaz said:
Shows normal but apps that check for root like media hub still won't work.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Media Hub does work with root. I'm rooted stock right now and I have a working media hub. as long as device status is "normal" media hub should work fine.
christucker97 said:
Hey Jovy. I love the ROM. X2 is definitely a beast. After I flashed the mod for normal status, it shows normal but I still can't play content from media hub or connect via all share cast. Any help would be greatly appreciated being that I would like to use this awesome ROM and view on big screen via all share cast.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
It's because it is a cosmetic change only.
Sent from my little Note2

[TUTORIAL] how to add reboot , recovery and bootloader options in Power menu

So lets Start
Required
1-apktool
2-notepad++
3-some brains
Before u decompile anything see this Guide by @erorcun for how to compile a JB framework without bootloop..
http://forum.xda-developers.com/showthread.php?t=2321207
STEP-1
Decompile Framework-res.apk
goto to res/vlaues/arrays.xml
and add these lines at the end
Code:
<string-array name="reboot_options">
<item>@string/reboot_normal</item>
<item>@string/reboot_recovery</item>
<item>@string/reboot_bootloader</item>
</string-array>
<string-array name="reboot_actions">
<item>now</item>
<item>recovery</item>
<item>bootloader</item>
</string-array>
now goto res/values/strings
and add these lines at the end
Code:
<string name="reboot">Reboot</string>
<string name="reboot_normal">Reboot</string>
<string name="reboot_recovery">Recovery</string>
<string name="reboot_bootloader">Bootloader</string>
goto add the ic_lock_reboot.png which i have i provided in the resources attached below this post to drawablw-hdpi folder
so before compiling the framework-res.apk follow erorcun's guide to properly recompile framework-res.apk
once recompile is done ....decompile again to get the HEX ID's
STEP-2
decompile android.policy.jar
goto classout\com\android\internal\policy\impl
and add the 3 smali's files which i provided in the resources attached below
Now option classout\com\android\internal\policy\impl\GlobalActions.smali
and find these lines and add the red marked lines between them
Code:
.line 235
iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mItems:Ljava/util/ArrayList;
new-instance v1, Lcom/android/internal/policy/impl/GlobalActions$2;
const v2, 0x1080030
const v3, 0x10400fa
invoke-direct {v1, p0, v2, v3}, Lcom/android/internal/policy/impl/GlobalActions$2;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
[COLOR="Red"] .line 213
move-object/from16 v0, p0
iget-object v1, v0, Lcom/android/internal/policy/impl/GlobalActions;->mItems:Ljava/util/ArrayList;
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;
const v3, 0x1080827
const v4, 0x104060b
move-object/from16 v0, p0
invoke-direct {v2, v0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$11;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z[/COLOR]
.line 260
iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mItems:Ljava/util/ArrayList;
iget-object v1, p0, Lcom/android/internal/policy/impl/GlobalActions;->mAirplaneModeOn:Lcom/android/internal/policy/impl/GlobalActions$ToggleAction;
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
now we need to assign the Hex id's as per ur Public.xml
NOTE: the hex id's might be different from mine and yours so be careful while comparing
new as per the above changes in GlobalActions.xml
assign the id's as below
<public type="drawable" name="ic_lock_reboot" id="0x01080827" />
Code:
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;
const v3, 0x[COLOR="red"]1080827[/COLOR]
<public type="string" name="reboot" id="0x0104060b" />
Code:
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;
const v3, 0x1080827
const v4, 0x[COLOR="red"]104060b[/COLOR]
Now option up classout\com\android\internal\policy\impl\GlobalActions$11.smali
find and replace the following
@line 70
<public type="string" name="reboot" id="0x0104060b" />
Code:
const v3, 0x[COLOR="red"]104060b[/COLOR]
@line 90
<public type="array" name="reboot_options" id="0x0107003b" />
Code:
const v3, 0x[COLOR="red"]107003b[/COLOR]
@line 105
<public type="string" name="ok" id="0x0104000a" />
Code:
const v2, 0x[COLOR="red"]104000a[/COLOR]
@line 147
<public type="bool" name="config_sf_slowBlur" id="0x0111000b" />
Code:
const v3, 0x[COLOR="red"]111000b[/COLOR]
now open up classout\com\android\internal\policy\impl\GlobalActions$11$2.smali
@line 59
<public type="array" name="reboot_actions" id="0x0107003c" />
Code:
const v2, 0x[COLOR="red"]107003c[/COLOR]
save it and recompile android.policy.jar
now push all the files into ut phone...will have the new Advanced reboot options
Haha...quick post...btw thanks
@mr.khan here you come
Sent from my LT26i using XDA Premium 4 mobile app
sir can you make a flashable zip for us who do not know how to use the required tools? please? thanks. hehe :highfive:
slink722 said:
sir can you make a flashable zip for us who do not know how to use the required tools? please? thanks. hehe :highfive:
Click to expand...
Click to collapse
if u can upload the framework-res.apk and android.policy.jar i can mod it for u ...when i have free time
I'll try this afternoon, thanks for the guide!!!!
Enviado desde mi LT26i usando Tapatalk
wow great
sandy7 said:
if u can upload the framework-res.apk and android.policy.jar i can mod it for u ...when i have free time
Click to expand...
Click to collapse
here's my android.policy.jar. i dont know why i cant upload the framework-res . it says " Your submission could not be processed because a security token was missing. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error. "
how to bypass this?
thanks so much @sandy7
Waw! Fantastic work!
!
slink722 said:
here's my android.policy.jar. i dont know why i cant upload the framework-res . it says " Your submission could not be processed because a security token was missing. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error. "
how to surpass this?
thanks so much @sandy7
Click to expand...
Click to collapse
put them in zip file and upload it other file server
sandy7 said:
put them in zip file and upload it other file server
Click to expand...
Click to collapse
thanks. im doing it now :good: :highfive:
---------- Post added at 03:52 PM ---------- Previous post was at 03:40 PM ----------
here's the link mate!
http://www.4shared.com/rar/XmdgXQoY/my_framework-res_and_androidpo.html
thanks agian!! btw, how to install? haha.
slink722 said:
thanks. im doing it now :good: :highfive:
---------- Post added at 03:52 PM ---------- Previous post was at 03:40 PM ----------
here's the link mate!
http://www.4shared.com/rar/XmdgXQoY/my_framework-res_and_androidpo.html
thanks agian!! btw, how to install? haha.
Click to expand...
Click to collapse
Ok i'll patch it when iam jobless...
Lol through cwm
Sent from my C5302 using XDA Premium 4 mobile app
sandy7 said:
Ok i'll patch it when iam jobless...
Lol through cwm
Sent from my C5302 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
hahah. ok ok. just beep me up when its done. :victory:
Must be deodex? If I'm odex, how can I do?
Thank you for reply.
Sent from my C6833 using XDA Premium 4 mobile app
bkk99213 said:
Must be deodex? If I'm odex, how can I do?
Thank you for reply.
Sent from my C6833 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No u must be deodexed
Sent from my C5302 using XDA Premium 4 mobile app
sandy7 said:
Ok i'll patch it when iam jobless...
Lol through cwm
Sent from my C5302 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
maybe i could give a help..heee
aminfauzi said:
maybe i could give a help..heee
Click to expand...
Click to collapse
Patch for other if ur totally jobless
Sent from my C5302 using XDA Premium 4 mobile app
sandy7 said:
Patch for other if ur totally jobless
Sent from my C5302 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Alright...doesnt matter..haha
Sent from my LT26i using XDA Premium 4 mobile app
aminfauzi said:
Alright...doesnt matter..haha
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
so here is another req i got a PM
savergiggio said:
Please can u add Reboot Oprtions to my Files? Thx a lot...
Here u go : https://docs.google.com/file/d/0BwNAus1Rm9nUTnVnWGtzT2RBT2M/edit?usp=sharing
:laugh:
Click to expand...
Click to collapse
Ok give me a time
Sent from my LT26i using XDA Premium 4 mobile app
This for @gravtec, this is download link
http://www.4shared.com/zip/1aA-D0hn/Reboot_Option_for_gravtec_.html
Some advices:
backup your phone first before apply this
wipe cache partition and dalvik cache first for prevent from getting bootloop. then flash this mod.

[Mod][Guide]I9500 4.4.2 4way Reboot

4Way Reboot Guide I9500 4.4.2​
Hey guys im back because there are to many ready made mods and not enough upto date how to guides for 4.4.2 I9500. First of all this is not my work its from @majdinj guides from his amazing thread Here All i have done it make the necessary edits to make his guide work on our 4.4.2 i9500 devices. So if you want to thank someone for this guide then go to majdinj's thread and thank him.
First of all i have not come here to teach you how to decompile .apks and .jar, if your reading this guide then i would hope you already have this knowledge and please dont let the first post say "can you make a flashable zip" as im trying to get you guys to dive in and have a go as its not very hard to build mod
As i have said all credit goes to @majdinj
For this mod we will be dealing with android.policy.jar so go get if from your /system/framework/ and decompile it
android.policy.jar
Open classout folder and go to \com\android\internal\policy\impl\ and place these files from this edited resource zip
Now Find and Open GlobalActions.smali and look for
Code:
new-instance v0, Lcom/android/internal/policy/impl/GlobalActions$8;
const v1, 0x10809bb
const v2, 0x10401d6
invoke-direct {v0, p0, v1, v2}, Lcom/android/internal/policy/impl/GlobalActions$8;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
And replace what is in Red
Code:
new-instance v0, Lcom/android/internal/policy/impl/GlobalActions$[COLOR="Red"]99[/COLOR];
const v1, 0x10809bb
const v2, 0x10401d6
invoke-direct {v0, p0, v1, v2}, Lcom/android/internal/policy/impl/GlobalActions$[COLOR="red"]99[/COLOR];-><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;
Save that and move onto GlobalActions$SinglePressAction.smali
Add Code in Red
Code:
[COLOR="Red"]# static fields
.field protected static rebootMode:I
.field protected static final rebootOptions:[Ljava/lang/String;[/COLOR]
# instance fields
Now still in GlobalActions$SinglePressAction.smali look for the code "# direct methods" and add code in Red
Code:
# direct methods
[COLOR="Red"].method static constructor <clinit>()V
.registers 3
const/4 v0, 0x4
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "Reboot"
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "Hot Reboot"
aput-object v2, v0, v1
const/4 v1, 0x2
const-string v2, "Download"
aput-object v2, v0, v1
const/4 v1, 0x3
const-string v2, "Recovery"
aput-object v2, v0, v1
sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;
return-void
.end method[/COLOR]
.method protected constructor <init>(II)V
If you want to replace header Reboot Method Then open GlobalActions$99.smali and search for
Code:
const-string v2, "Reboot Method"
And replace for Header you want
Recompile and your done
As i said this is majdinj guide and he deserves full credit and thanks
just incase
Thanks Buddy
I'll try it later today
I tried many time before and it didn't work
Sent from my GT-I9500
AL_IRAQI said:
Thanks Buddy
I'll try it later today
I tried many time before and it didn't work
Sent from my GT-I9500
Click to expand...
Click to collapse
thanks m8, i put this together because the S4 can use all the help it can get when it comes to guides
Big thanks my friend! :good:
Youre great!
Regards
» Arrow « said:
Big thanks my friend! :good:
Youre great!
Regards
Click to expand...
Click to collapse
Any time m8 hope it helps
Sent from my GT-I9500 using Tapatalk 2
Good work mate.
Sent from my Nexus 5 using XDA Free mobile app
Vivek_Neel said:
Good work mate.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks m8
Sent from my GT-I9500
thanks man thanx :good:
ahmed elhusseny said:
thanks man thanx
Click to expand...
Click to collapse
I see what you did there.
Sent from my Nexus 5 using Tapatalk 2
Vivek_Neel said:
I see what you did there.
Sent from my Nexus 5 using Tapatalk 2
Click to expand...
Click to collapse
what did you mean ?
ahmed elhusseny said:
what did you mean ?
Click to expand...
Click to collapse
Hmm.
I was just telling you to make some useful 10 posts.
Sent from my Nexus 5 using Tapatalk 2
Vivek_Neel said:
Hmm.
I was just telling you to make some useful 10 posts.
Sent from my Nexus 5 using Tapatalk 2
Click to expand...
Click to collapse
hahahahahaha you got me man i'm here from 2012 but i was just downloading , without email or replying but one day i just need to ask a question so i just read the rules and tried to ask in the Discussion
Thats good guide..but is there anything wrong if we achieve the same thing via..xposed?
tollboy said:
Thats good guide..but is there anything wrong if we achieve the same thing via..xposed?
Click to expand...
Click to collapse
Its the difference between forcing your newly updated apks on newest update to give you 4way reboot and adding code so it will naturally give you 4way reboot. Wanam has stopped updating xposed a while ago but if your happy with xposed and any wakelocks it may give then i wont try to change your opinion about xposed
Sent from my GT-I9500

Categories

Resources