[MOD] L600 Sprint Mega 4-Way Reboot Menu TW 4.4.2 [KK] - Samsung Galaxy Mega

Extended Reboot Menu TW 4.4.2 NE4 ( De-Odexed )​Don't see a lot of development for the L600 Sprint so I decided to make this Mod. This is the extended Reboot Menu only and not the "Power Menu" . This is for the STOCK TW ROM 4.4.2 NE4. Although this is De-Odexed, one could possibly use this on an Odexed system as long as same odex file is deleted. The Flashable ZIP is made taking into account the user is De-Odexed. I do not recommend flashing to a Custom Rom as the ROM may contain special permissions/policies ( if added ) that the Rom Developer may have implemented or even may be require so the Custom Rom may run or function properly.
Knowing there is no Sprint Specific Custom Rom for the L600 ATM I guess we are safe from this LOL. ​
​The Extended Reboot Menu Includes:​​REBOOT
( Normal Complete Reboot)
HOT BOOT
( Quick Reboot for restarting the Android Shell only )
DOWNLOAD
(Odin Mode)
RECOVERY
( Restarts phone in your Recovery )​
​
===================================================================
DISCLAIMER:
=================================================================== ​
==================================================================
By YOU, the USER, flashing this file or manually pasting to modify your Android System, YOU understand and know what YOU are doing. I nor anyone will be held liable nor responsible for YOUR doing if your phone bricks. As always, as is suggested by many and myself, please make sure you perform a complete
NANDROID BACKUP
before flashing and/or modifying your OS or the mentioned stock .jar file. I also suggest YOU keep a separate copy of the stock .jar file handy, like in your External SDcard, if the phone decides not to boot up. Knowing this, YOU assume all responsibility for what happens as YOU, the USER, know and comprehend what YOU are doing and understand the consequences or severity of damages that can be brought to your
device by flashing or modifying your OS incorrectly.
You Have Been Warned !!
===================================================================
​
​
What's Needed/Recommended: ​Rooted Devise ( to extract the needed files Manually for backup )
Custom Recovery ( TWRP or CWMR/PhilZ for Flashing the ZIP )
Aroma File Browser/Explorer ( file type browser in CWMR/PhilZ Recovery )
If you can do it via ADB Commands then all power to you.....
I provided BOTH , the stock Sprint ( Stock NE4 JAR ) and modded Sprint .jar ( android.policy.jar ) files and the flashable zip (NE4_4WAY_Reboot.zip) below. If the flashable ZIP does not work for you let me know please. ​What To Do:​
You have two choices on installing the .jar file. You can either Flash the ZIP in your Custom Recovery or you can use some form of File Explorer via Custom Recovery ( like the Aroma File Explorer for CWMR ) or other means to copy & paste or push the .jar file to system/framework/. If you decide to do this manually, you will then need to set the file permissions to the modified android.policy.jar file to 0644 and/or check mark off as the picture provided below shows using the method chosen through the root permissions it provides. You can rename the stock .jar file with " .bak " at the end so you don't have to delete it from the framework folder if you so choose.
Clear " cache " and " dalvik cache " ONLY .........after flashing or manually pasting the mod.​
​Words of caution.....​if you attempt to do this manually and are still actively booted in your Android OS while modifying or deleting the .jar file, there is the highest probability that your phone will immediately reboot and you will not be able to boot up the OS again and remain stuck on the Samsung boot screen as the android.policy.jar is no longer visible to your OS. This is why you need to do this before booting up like in recovery.
​
​ Other Galaxy Mega Variants - Disclaimer:​​I do not know if this will work on other carriers/models as they all are different and can or will have different permissions/policies set forth so you will be trying at your own risk. The .jar file is easily modified and the required files are easily found by searching the forums as I have. If this .jar file works for a different Samsung Galaxy Mega devise then please advise and give proper credit. Use, extract, exhume, etc the files as you choose or please.​===================================================================​
Thanks and credits go out to :​
@tdunham
@CNexus
for the How-Too and the files needed for this MOD. If I missed someone please PM me or let me know.....​​
Enjoy!
More Stock TW mods for the Sprint Mega L600 are sure to come!​

Thanks for sharing. Would love to see a Moar port for this baby but it seems there's only 3 people who have this phone that haven't bricked it. I appreciate your effort none the less. C'mon note 4.......
Sent from Uranus, the only planet with a ring on the inside.

really nice. thanks for this

Thanks ! This is a start ! Getting the ball rolling for the 600 nice
Sent from my SPH-L600 using XDA Premium 4 mobile app

help me to change lang in 4 way boot menu

NQMinhQuan said:
help me to change lang in 4 way boot menu
Click to expand...
Click to collapse
@NQMinhQuan
This is assuming you know how to baksmali/smali the jar files.........
You will need to decompile ( baksmali ) the .jar file and locate GlobalActions$99.smali in your classout folder location:
com/android/internal/policy/impl
===================================================
From here I would use NotePad++ to modify the smali files.
===================================================
First, to change the top section "Reboot Menu" to your language of choice, locate this section ( about line 50 )
Code:
[COLOR=black][FONT=Verdana]const-string v2, "[B][COLOR=red]Reboot Menu[/COLOR][/B][/FONT][/COLOR][COLOR=black][FONT=Verdana]"[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]move-result-object v1[/FONT][/COLOR]
Erase the words highlighted in Red with what you want. After your done, save the modifications.
=================
Next, locate the GlobalActions$SinglePressAction.smali in the same directory and locate these lines ( about line 38-39 ) :
Code:
[COLOR=black][FONT=Verdana]# direct methods[/FONT][/COLOR]
[COLOR=black][FONT=Verdana][COLOR=black][B].method static constructor <clinit>()V[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B].registers 3[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]const/4 v0, 0x4[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]new-array v0, v0, [Ljava/lang/String;[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]const/4 v1, 0x0[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]const-string v2, "[COLOR=red]Reboot[/COLOR]"[/B][/COLOR][/FONT]
[COLOR=black][FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT][/COLOR]
[COLOR=black][FONT=Verdana][B]const/4 v1, 0x1[/B][/FONT][/COLOR]
[COLOR=black][FONT=Verdana][B]const-string v2, "[COLOR=red]Hot Reboot[/COLOR]"[/B][/FONT]
[FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT]
[FONT=Verdana][B]const/4 v1, 0x2[/B][/FONT]
[FONT=Verdana][B]const-string v2, "[COLOR=red]Download[/COLOR]"[/B][/FONT]
[FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT]
[FONT=Verdana][B]const/4 v1, 0x3[/B][/FONT]
[FONT=Verdana][B]const-string v2, "[COLOR=red]Recovery[/COLOR]"[/B][/FONT]
[FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT]
[FONT=Verdana][B]sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;[/B][/FONT]
[FONT=Verdana][B]return-void[/B][/FONT]
[FONT=Verdana][B].end method[/B][/FONT]
[/COLOR][/COLOR]
The highlighted words in Red are the ones you want to look for and replace with your desired words in the language of choice. After your done, save. From here you recompile the .jar file and then place it back in your Galaxy Mega as I described above.

DarkAngel said:
@NQMinhQuan
This is assuming you know how to baksmali/smali the jar files.........
You will need to decompile ( baksmali ) the .jar file and locate GlobalActions$99.smali in your classout folder location:
com/android/internal/policy/impl
===================================================
From here I would use NotePad++ to modify the smali files.
===================================================
First, to change the top section "Reboot Menu" to your language of choice, locate this section ( about line 50 )
Code:
[COLOR=black][FONT=Verdana]const-string v2, "[B][COLOR=red]Reboot Menu[/COLOR][/B][/FONT][/COLOR][COLOR=black][FONT=Verdana]"[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]move-result-object v1[/FONT][/COLOR]
Erase the words highlighted in Red with what you want. After your done, save the modifications.
=================
Next, locate the GlobalActions$SinglePressAction.smali in the same directory and locate these lines ( about line 38-39 ) :
Code:
[COLOR=black][FONT=Verdana]# direct methods[/FONT][/COLOR]
[COLOR=black][FONT=Verdana][COLOR=black][B].method static constructor <clinit>()V[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B].registers 3[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]const/4 v0, 0x4[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]new-array v0, v0, [Ljava/lang/String;[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]const/4 v1, 0x0[/B][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][B]const-string v2, "[COLOR=red]Reboot[/COLOR]"[/B][/COLOR][/FONT]
[COLOR=black][FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT][/COLOR]
[COLOR=black][FONT=Verdana][B]const/4 v1, 0x1[/B][/FONT][/COLOR]
[COLOR=black][FONT=Verdana][B]const-string v2, "[COLOR=red]Hot Reboot[/COLOR]"[/B][/FONT]
[FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT]
[FONT=Verdana][B]const/4 v1, 0x2[/B][/FONT]
[FONT=Verdana][B]const-string v2, "[COLOR=red]Download[/COLOR]"[/B][/FONT]
[FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT]
[FONT=Verdana][B]const/4 v1, 0x3[/B][/FONT]
[FONT=Verdana][B]const-string v2, "[COLOR=red]Recovery[/COLOR]"[/B][/FONT]
[FONT=Verdana][B]aput-object v2, v0, v1[/B][/FONT]
[FONT=Verdana][B]sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;[/B][/FONT]
[FONT=Verdana][B]return-void[/B][/FONT]
[FONT=Verdana][B].end method[/B][/FONT]
[/COLOR][/COLOR]
The highlighted words in Red are the ones you want to look for and replace with your desired words in the language of choice. After your done, save. From here you recompile the .jar file and then place it back in your Galaxy Mega as I described above.
Click to expand...
Click to collapse
thank bro

NQMinhQuan said:
thank bro
Click to expand...
Click to collapse
Your Welcome:good:

DarkAngel said:
@NQMinhQuan
This is assuming you know how to baksmali/smali the jar files.........
You will need to decompile ( baksmali ) the .jar file and locate GlobalActions$99.smali in your classout folder location:
Click to expand...
Click to collapse
thank for support , but it's not work . I using S4 4.4.2
screenshoot :
can't you help me change china language in 4way extended power menu to ENG, please !

NQMinhQuan said:
thank for support , but it's not work . I using S4 4.4.2
screenshoot : Picture
can't you help me change china language in 4way extended power menu to ENG, please !
Click to expand...
Click to collapse
Wait, are you using this jar file in your S4 or are you using another different one? If so does it work for you?
To change the bottom 4 you need to locate the GlobalActions$SinglePressAction.smali in the same directory and locate these lines ( about line 38-39 ) :
Code:
[B]# direct methods[/B]
[B].method static constructor <clinit>()V[/B]
[B].registers 3[/B]
[B]const/4 v0, 0x4[/B]
[B]new-array v0, v0, [Ljava/lang/String;[/B]
[B]const/4 v1, 0x0[/B]
[B]const-string v2, "Reboot"[/B]
[B]aput-object v2, v0, v1[/B]
[B]const/4 v1, 0x1[/B]
[B]const-string v2, "Hot Reboot"[/B]
[B]aput-object v2, v0, v1[/B]
[B]const/4 v1, 0x2[/B]
[B]const-string v2, "Download"[/B]
[B]aput-object v2, v0, v1[/B]
[B]const/4 v1, 0x3[/B]
[B]const-string v2, "Recovery"[/B]
[B]aput-object v2, v0, v1[/B]
[B]sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;[/B]
[B]return-void[/B]
[B].end method[/B]

if I want to add something to do?
example: Flashlight, Screen Shots

[email protected] said:
if I want to add something to do?
example: Flashlight, Screen Shots
Click to expand...
Click to collapse
LOL.....
I have been deciding whether to release some things I have finished / been working on as I wanted to see what was causing some issues on some......
I have the Flashlight mod done already and working. It just stalls a bit at first for a few seconds at every reboot but then after works great every time you press ( no torch apk needed ) . Screen Shot I am working on at the moment as well. I have everything ready to modify and then compile. If I have time today I will get it done.
I also have the S5 Launcher 95% done, both Auto Rotation and non-Auto Rotation to include the Lock Screen Rotation. I just can't figure why the Home Screen Edit Page looks small when I have everything set. I have to be missing something. I am also adding Pull Up to the Auto Rotate launcher as it is missing. Everything as far as Magazine, Pull Up, Theming & Wall Paper Picker work perfect on it with no errors. Oh and also I can not add pages in the edit page screen as well. Only in landscape mode ......
Anyways been busy trying to come out with things for the Mega and use them for my other devices as well.

Hey. Has anyone tried this on Sprint NG2?

nyfl2004 said:
Hey. Has anyone tried this on Sprint NG2?
Click to expand...
Click to collapse
It's not the same for the N2 but if u want to take the chance go ahead. I have already made some for other N2 TW Roms, just search under my name. It's SecSettings and SystemUI that have to be modded.

DarkAngel said:
It's not the same for the N2 but if u want to take the chance go ahead. I have already made some for other N2 TW Roms, just search under my name. It's SecSettings and SystemUI that have to be modded.
Click to expand...
Click to collapse
Thanks man. I just gave up my S3 after 2 yrs and bought an S4. I'm pretty much starting from scratch again. Going to start working on an S5 theme, and I definitely want the 4-in-1 reboot menu. I'm currently @mxmr Stock Rooted Deodexed NG2 Refitted rom. I've got pretty much all S5 apps working with the exception of IncallUI, it crashes when making a call. I hope to have working this weekend. I'll definitely check out your other threads. Thanks again!

nyfl2004 said:
Thanks man. I just gave up my S3 after 2 yrs and bought an S4. I'm pretty much starting from scratch again. Going to start working on an S5 theme, and I definitely want the 4-in-1 reboot menu. I'm currently @mxmr Stock Rooted Deodexed NG2 Refitted rom. I've got pretty much all S5 apps working with the exception of IncallUI, it crashes when making a call. I hope to have working this weekend. I'll definitely check out your other threads. Thanks again!
Click to expand...
Click to collapse
Your Welcome. Big thanks go to the Devs that made this happen. We need more members developing for the L600.....

Related

[ADV][DEV][MOD] Network/carrier removal

FOR NOOKIE FROYO ONLY
Usual disclaimers apply. Don't try this if you don't know what you are doing! I won't be responsible for any damage to your NC. This isn't worth taking risks if you're not an experienced user.
Thank you.
I've edited services.jar and android.policy.jar to:
- hide the (no) Signal icon from status bar
- hide Carrier info from lock screen
Both files need to be pushed to system/framework.
For devs interest, this is what is required:
Decompile .jars baksmali, compile with smali: "smali/baksmali". Google it.
To hide network icon on status bar:
In services.jar, find StatusBarPolicy.smali in /com/android/server/status/, change lines 611 to 615 from:
move-result-object v3
iput-object v3, p0, Lcom/android/server/status/StatusBarPolicy;->mPhoneIcon:Landroid/os/IBinder;
Click to expand...
Click to collapse
to:
move-result-object v3
invoke-virtual {p2, v3, v6}, Lcom/android/server/status/StatusBarService;->setIconVisibility(Landroid/os/IBinder;Z)V
iput-object v3, p0, Lcom/android/server/status/StatusBarPolicy;->mPhoneIcon:Landroid/os/IBinder;
Click to expand...
Click to collapse
To hide carrier info on lock screen:
In android.policy.jar, find LockScreen.smali in /com/android/internal/policy/impl/, change line 200 from:
const/4 v2, -0x1
Click to expand...
Click to collapse
to:
const/4 v2, -0x0
Click to expand...
Click to collapse
Have fun.
Sam
Great work!
where is the file?
Works for me!
[email protected]+950+thumbkeyboard+GBTheme=loving it
Files are available.
I downloaded smali/baksmali and did this procedure for nf 0.6.7. using the services.jar and android.policy.jar from nf 0.6.7 and everything went smoothly. When I push them back to the nook, it doesn't boot. When I use yours, the nook boots fine. Will using your files from a different build on nf 0.6.7 cause some problems down the road?
If these framework changes could be coupled with the status bar soft button mod
http://forum.xda-developers.com/showthread.php?t=932631
We could have the best of both worlds.
For those that need this to be as easy as possible:
Originally Posted by nookierookie
This worked for me -- with modified steps. I unzipped the files to my host pc, adb shell mounted system as r/w, shell'd into the device and renamed all 4 files that are going to be replaced in system/framework/ "whatever.jar.bak" ... and so on. Then I pushed the individual files from the OP's zipped archive and rebooted. First boot took a while for the OS to get going -- and I had to re-log-in to my google credentials (weird), but it seems to all be working really well at the moment.
Steps:
1. unzip OP's .zip to the default adb dir on your computer (or anywhere else, just know that when you're pushing those files with adb, you'll have to use the whole path ie: /Users/nookierookie/Desktop/framework.res instead of just framework.res)
2. from the command line on your host computer:
$ adb shell
# mount -o remount,rw /dev/block/mmcblk1p2 /system
# cd /system/framework/
# mv android.policy.jar android.policy.jar.bak
# mv services.jar services.jar.bak
#exit
$ adb push android.policy.jar /system/framework/android.policy.jar
$ adb push services.jar /system/framework/services.jar
$ adb reboot
chrisngrod:
Thanks. This worked. On my tablet I did lose screen rotation. Also, if you notice, the cellular network bars are there. Some people will probably not care for those since we have no radio obviously . The drop down status bar is small like the current, but does not have the gray background. You'll see if you install it. No FC issues noticed though. Almost there solution wise!
I went back to stock.
$ adb shell
# mount -o remount,rw /dev/block/mmcblk1p2 /system
# cd /system/framework/
# mv android.policy.jar.bak android.policy.jar
# mv services.jar.bak services.jar
#exit
adb reboot
Click to expand...
Click to collapse
Pretty much quoting from another status bar mod... The guts are what is important.
Worked for me. Thanks!
chhaggerty said:
If these framework changes could be coupled with the status bar soft button mod
http://forum.xda-developers.com/showthread.php?t=932631
We could have the best of both worlds.
Click to expand...
Click to collapse
+1 on this idea!
Well files can be different from one build to another. And make sure the. Jar you push is signed. Just use the original and replace changed files with archive manager..
Sent from my HTC Desire using XDA App
chhaggerty said:
If these framework changes could be coupled with the status bar soft button mod
http://forum.xda-developers.com/showthread.php?t=932631
We could have the best of both worlds.
Click to expand...
Click to collapse
+1 for this!
samuelhalff said:
Well files can be different from one build to another. And make sure the. Jar you push is signed. Just use the original and replace changed files with archive manager..
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thanks, it was the signature.
I wonder how hard this would be to implement over to the cm7 release?
18.4009 said:
I wonder how hard this would be to implement over to the cm7 release?
Click to expand...
Click to collapse
I allready asked refer to this post http://forum.xda-developers.com/showpost.php?p=11486335&postcount=59
mrty4short said:
I allready asked refer to this post http://forum.xda-developers.com/showpost.php?p=11486335&postcount=59
Click to expand...
Click to collapse
Ah, thanks for the heads up.
chhaggerty said:
If these framework changes could be coupled with the status bar soft button mod
http://forum.xda-developers.com/showthread.php?t=932631
We could have the best of both worlds.
Click to expand...
Click to collapse
Another +1 to this! Have the status bar soft button mod installed already, but I'd love to be able to do this modification for the carrier notice removal, as well.
See nightly #15.
Sent from my HTC Desire using XDA App
Thanks, Samuel. Since this was for Nookie Froyo only, does this mean I should just copy android.policy.jar, framework.jar, services.jar, and framework-res.apk from the Nightly #15 package and put them in my system/framework directory (running Nookie Froyo 0.6.8 from an SD card)? Those were the original files in the mod that were changed to add soft buttons to the status bar.
Or do I just need to replace the android.policy.jar and services.jar files, and leave the other two alone?
(Or thirdly, were you suggesting I just run CM7 instead of Nookie Froyo if I want this feature? )
Thanks!
#15 has an updated code allowing Devs to compile cm without the icon.
These attached files will only work for froyo.
Sam
Sent from my HTC Desire using XDA App
I gotcha. I'm definitely not a Dev, so I thought your reply meant that a solution was already done integrating both modifications mentioned (carrier removal and soft buttons in status bar) and to just to grab those files and use them. As you can guess, that didn't end up working when I gave it a try.
So as of right now, there is still no solution that's been put out there to use both the carrier removal and the status bar soft buttons for Nookie Froyo users, it seems.
I know rookie1 decided not to pursue the soft buttons modification any further, and doing just that one ended up putting me into a continuous bootloop anyway, so it looks like I'll have to be content with just the carrier removal for now and SoftKeys (which is pretty great already, so that's not a bad thing).
Thanks for all your work, Samuel!

[GUIDE]How to add customizable 14 statusbar toggle buttons for samsung ROM

I rebuild status bar power button in samsung rom in my national day holiday, now it has 14 buttons now, include all samsung buttons, wifi, data connection, gps, flashlight, sound, auto rotation, bluetooth, brightness, screen timeout, lock screen, sync, reboot and power down. Actually early time I coded some of those function in LidroidToolbox, but not included them in status bar. I actually rebuilt it with java, not just mod of samli.
This code can adapt to samsung i9000/i9100/i897/t959/m110s etc. I will port this in my new rom. The flashflight will display a white and brightest activity when the camera without flashlight, for example i9000/i897/t959/m110s etc.
Next I will explain how to adapt it to samsung 2.3 rom. There are 3 attachments QuickPanelSettings.apk, LidroidSystemUI.apk and lidroid-res.apk.
1. Download LidroidSystemUI.apk and decompile it whit apktool, then you get LidroidSystemUI dir.
2. Decompile SystemUI.apk, copy LidroidSystemUI/smali/* into SystemUI/smali.
3. Modify SystemUI/AndroidManifeset.xml, add this code before </Application>
Code:
<activity android:name="com.lidroid.systemui.quickpanel.FlashlightActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask" />
if your model has flashlight, you can skip this step.
4. Open SystemUI/smali/com/android/systemui/status/StatusBarService.smali. Find(Ctrl + F) QuickSettingsView, locate fellow codes
Code:
const v7, 0x7f030002
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line 379
.local v3, qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
modify
Code:
const v7, 0x3030003
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/lidroid/systemui/quickpanel/PowerWidget;
.line 394
.local v3, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v3}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
5. Compile SystemUI with apktool, Sign it if you have modify AndroidManifest.xml. Push it into /system/app/
6. push lidroid-res.apk in /system/framework/, push QuickPanelSettings.apk in /system/app, reboot.
Simplicity, no need to modify layout, id and Strings which is painful. If you know how to do it, you will know how simple it is. Any android/rom developer can download this code and add more buttons.
Enjoy!
thank you very much for this work!
I will study the code and try to develop also new toggles
Little question, the java source (god bless you! I HATE Smali! xD) is about systemUI, what about lildroid-res.apk?
Is it only a "complementar" framework for icons and string for the toggles? Or whatelse?
Just curiosity and little question to better understand the project!
Thx!
89luca89 said:
thank you very much for this work!
I will study the code and try to develop also new toggles
Little question, the java source (god bless you! I HATE Smali! xD) is about systemUI, what about lildroid-res.apk?
Is it only a "complementar" framework for icons and string for the toggles? Or whatelse?
Just curiosity and little question to better understand the project!
Thx!
Click to expand...
Click to collapse
I compiled all required images, strings and layout that toggle buttons into lidroid-res.apk to make the future ROM transplant work easier and finish the new ROM's mod work faster.
Ok understood thx that was only what I need to know
Maybe with a little more work can try to fuse it with framework.apk or twframework.apk but for now just knowing that will make things clearer to me
Screenshots please...
Nice bro....this is what we need.....nice
akbarhash said:
Screenshots please...
Click to expand...
Click to collapse
I have uploaded screenshots as attachment.
This way you can add a shortcut to the application?
I know silly question
thank you very much
sorry for my English
lidroid said:
I have uploaded screenshots as attachment.
Click to expand...
Click to collapse
Thanks.
Tip: Home Button + Power Button = Screenshot.
This is disgustingly good work i'm really impressed...
Hmm the line numbers don't seem to match on my rom stock ki3 does that matter?
ephumuris said:
This is disgustingly good work i'm really impressed...
Hmm the line numbers don't seem to match on my rom stock ki3 does that matter?
Click to expand...
Click to collapse
you should remain original line number.
I will do this tomorrow and post a direct zip file for xxki3 stock...
Nice one.
Is there a way for the users to select the toggle and the order of the toggles?
great work
i misss my miui from x10 status bar
Will this mod also allow for long-clicking a quickpanel item and it takes you to the respective settings page?
Thank you for your guide, great work!
Cannot get it to work on KI3 (v2.3.5).
Statusbar does not even show.
gcrutchr said:
Cannot get it to work on KI3 (v2.3.5).
Statusbar does not even show.
Click to expand...
Click to collapse
my newest ROM was just based of XXKI3, maybe you missed some works.
lidroid said:
my newest ROM was just based of XXKI3, maybe you missed some works.
Click to expand...
Click to collapse
Thanks for the reply.
Could you be a little more specific about what to copy and where to copy the files/folders from your lidroidSystemUI.apk to the stock SystemUI.apk.
I followed the steps multiple times using a stock, deodexed SystemUI.apk and all times no statusbar showed.
Or...could you post your SystemUI.apk so I can a look at how you inserted the folders into it.
Thanks.
do you have a zip file for this.....it would be nice

[Guide][GINGERBREAD]Port lidroid's 14 toggles to new Samsung Dual Sim Phones

{
"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"
}
WELCOME TO MY FIRST GUIDE!!
THIS GUIDE WILL HELP YOU TO PORT LIDROID'S 14 TOGGLES TO SAMSUNG GALAXY POCKET DUOS[GT-S5302] AND ALL OTHER NEW DUAL SIM PHONES VERY EASILY.
[PLZ NOTE THIS GUIDE WOULD NOT HELP YOU TO PORT 14 TOGGLES TO ACE DUOS, Y PRO DUOS & Y DUOS.]
WITHOUT WASTING MUCH OF YOU TIME, HERE I PRESENT THE GUIDE IN EASY STEPS :
PRE - REQUISITES:
A COMPUTER TO WORK ON.
APKTOOL/APK MANAGER/OR ANY OTHER TOOL THAT CAN DE-COMPILE N RECOMPILE APK'S[I PREFER APKTOOL][PLZ DON'T EXPECT ME TO TEACH YOU TO USE THAT ALSO]
SystemUI.apk OF YOUR MOBILE[MUST BE DEODEXED]
Lidroid-res.apk, LidroidSystemUI.apk and QuickPanelSettings.apk[GET THEM FROM HERE]
5-10 MINUTES TIME N SOME BRAIN.
REAL WORK:
DECOMPILE YOUR SYSTEMUI.APK N LIDROIDSYSTEMUI.APK[THROUGH ANY WAY YOU CHOOSE].[NOTE USE lokeshsaini94'S GUIDE TO DECOMPILE N RECOMPILE APKS]
THEN OPEN DECOMPILED LidroidSystemUI FOLDER. COPY SMALI FOLDER N PASTE IT TO THE ROOT OF YOUR DECOMPILED systemui FOLDER N PRESS YES TO OVERWRITE]. THEN CLOSE LidroidSystemUI.apk FOLDER. ITS WORK IS FINISHED NOW.
NOW OPEN systemui/smali/com/android/systemui/statusbar/StatusBarService.smali[NOTE: WINDOWS OS USERS USE NOTEPAD++ FOR THIS]
Hit Ctrl+F on your keyboard to open the search window in your text editor.
Type ,of course without quotes, '.line 409' and hit enter key on keyboard.
Replace the followings code:
Code:
.line [COLOR=Red]409[/COLOR]
const/4 v12, 0x0
.line [COLOR=Red]413[/COLOR]
.local v12, qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
const v26, 0x7f030002
const/16 v27, 0x0
move-object/from16 v0, p1
move/from16 v1, v26
move-object/from16 v2, v27
invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v12
.end local v12 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v12, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line [COLOR=Red]415[/COLOR]
.restart local v12 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
move-object/from16 v0, p0
WITH THIS CODE:
Code:
.line [COLOR=DeepSkyBlue]409[/COLOR]
const/4 v12, 0x0
.line [COLOR=DeepSkyBlue]413[/COLOR]
const v26, 0x3030003
const/16 v27, 0x0
move-object/from16 v0, p1
move/from16 v1, v26
move-object/from16 v2, v27
invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v12
check-cast v12, Lcom/lidroid/systemui/quickpanel/PowerWidget;
.line [COLOR=DeepSkyBlue]415[/COLOR]
.local v12, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v12}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
move-object/from16 v0, p0
AND THEN SAVE StatusBarService.smali N CLOSE IT. THEN RECOMPILE YOUR SystemUI.apk
NOTE: THE NUMBERS RED IN COLORS MAY BE DIFFERENT IN YOUR StatusBarService.smali. IF SO THEN CHANGE THE NUMBERS IN BLUE WITH THE ORIGINAL ONES. FOR EXAMPLE YOU HAVE 410 INSTEAD OF 409. THEN CHANGE THE BLUE 409 TO 410 N SO ON.
THE MOST IMPORTANT PART IS TO SIGN YOUR MODDED .APK FILE. THIS GUIDE IS BY LOKESHSAINI94. DON'T FORGET TO THANK HIM:
1. Now open modded apk and stock apk in 7zip
2. Drag/drop meta-inf folder and AndroidManifest.xml from stock apk to modded apk
3. Rename modded apk same as stock apk. (capital/block letters)
example modded > settings.apk >Settings.apk
NOW MOVE YOUR MODDED SystemUI.apk n quickpsnelsettings.apk to /system/app of your mobile through a root browser n change permissions of both the apps to rw-r-r. and then move lidroid-res.apk to /system/framework through a root browser n change its permissions to rw-r-r.
reboot your mob n viola you have successfully ported lidroid's 14 toggles to you mobile.
Always remember to have a backup of your mobile if something goes wrong.
FOLLOW THIS STEP ONLY IF YOUR PHONE DOESN`T HAVE A FLASHLITE WITH THE CAMERA:
GO TO THIS THREAD : http://forum.xda-developers.com/showthread.php?t=1289896
There you will find the way to make your screen act as flashlite.
CREDITS:
1ST N FOREMOST THANXXX TO LIDROID FOR HIS AWESOME TWEAK N ORIGINAL PROCEDURE.
arbayong N Millan.sis FOR THE CODES FOR DUAL SIM SAMSUNG PHONES.
ME FOR EDITING Millan.sis'S CODE AS PER POCKET DUOS.
SCREENIES TO PROVE:
Tool to make your simpler.
Tool to make your work easier.​ By sak-venom1997
​
This is a tool as well as a step by step guide to port lidroid toggles to Any Samsung phone
download and extract port-lidroid(by-sakvenom1997).7z
DOWNLOAD THE TOOL FROM HERE : DOWNLOAD
STEP:
PUT YOUR SYSTEMUI.APK IN THE FOLDER NAMED "PLACE_SYSTEMUI_APK_HERE".
DOUBLE CLICK ON "RUN_001.bat" TO OPEN THE TOOL.
PRESS ENTER ONES THE CMD MENU OPENS.
LET THE TOOL GO THROUGH ALL YOUR HARD WORK.
STATUSBARSERVICE.SMALI OPENS UP AUTOMATICALLY.
NOW FOLLOW THE GUIDE IN ABOVE POST.
SAVE AND CLOSE THE SMALI FILE.
PRESS ENTER AGAIN IN THE TOOL TO RECOMPILE YOUR APK.
NOW COLLECT YOUR CWM FLASHABLE PACKAGE FROM THE FOLDER NAMED "COLLECT_FLASHABLE_ZIP"
ORIGINAL THREAD : [GUIDE][TOOL][WIN] Port Lidroid Toggles for absolute NOOBS
GUYS DON'T FORGET TO PRESS THANXXX IN MY GUIDE N ALSO IN SAK'S CUZ WITOUT HIM THIS TOOL WUDNT EXSIST.
Re: [How To][Guide]Port lidroid's 14 toggles to Samsung Galaxy Pocket Duos[GT-S5302]
Thanks for this. I'm trying to port these toggles to the old Samsung Galaxy Tab (GT-P1010) and I've been having trouble. Hopefully this will help me get it sorted.
Sent from my SK17i using xda premium
Re: [How To][Guide]Port lidroid's 14 toggles to Samsung Galaxy Pocket Duos[GT-S5302]
Ticklefish said:
Thanks for this. I'm trying to port these toggles to the old Samsung Galaxy Tab (GT-P1010) and I've been having trouble. Hopefully this will help me get it sorted.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Hope it works...
Jus dnt say thanxxx press it.
»»»»»»»»»»»»»»»»»»»»»»»©®«««««««««««««««««««««««
»»MAKER OF LUNUX OS ROM FOR SAMSUNG GT-S5302««
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
is this work with non Samsung devices?
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
blttalas said:
is this work with non Samsung devices?
Click to expand...
Click to collapse
No.(as the creatr hadn't made these to be compatible with other makes.)
Sent from my GT-S5302 using xda app-developers app
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Just lost the status bar hlp
Sent from my GT-S5302 using xda app-developers app
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
sak-venom1997 said:
Just lost the status bar hlp
Sent from my GT-S5302 using xda app-developers app
Click to expand...
Click to collapse
For wch mob r u doin the mod??
Gv me ur statusbarservice.smali
I will see n tell u the way
Workin on a newer update For Lunux Os.
Would be available Only through ota update on lunux os v1.7i
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Pocket duos n using same SystemUI that u lnkd in pm
Sent from my GT-S5302 using xda app-developers app
---------- Post added at 02:06 PM ---------- Previous post was at 01:54 PM ----------
http://www.freeuploadsite.com/do.php?id=4542
---------- Post added at 02:06 PM ---------- Previous post was at 02:06 PM ----------
Download Link UP
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
sak-venom1997 said:
Pocket duos n using same SystemUI that u lnkd in pm
Sent from my GT-S5302 using xda app-developers app
Click to expand...
Click to collapse
The one I pmed u last nite??
Read the guide easily.
It will surely do...
Or give me ur edited smali filei will try to help u out.
Did u downloaded n moved files from lidroidsystemui.apk??
Edit: ok will c to it n reprt back by tonight.
Workin on a newer update For Lunux Os.
Would be available Only through ota update on lunux os v1.7i
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
http://www.freeuploadsite.com/do.php?id=4549
Edited systemui.apk
Sent from my GT-S5302 using xda app-developers app
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
sak-venom1997 said:
http://www.freeuploadsite.com/do.php?id=4549
Edited systemui.apk
Sent from my GT-S5302 using xda app-developers app
Click to expand...
Click to collapse
Bro move lidroid-res.apk to system/framework through a root file browser...
---------------------////-------------
Will c the apk to night.
Workin on a newer update For Lunux Os.
Would be available Only through ota update on lunux os v1.7i
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
U did the whole ting correctly...??
Workin on a newer update For Lunux Os.
Would be available Only through ota update on lunux os v1.7i
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Yes sir followed as it is
http://www.freeuploadsite.com/do.php?id=4551
Edited Status Bar Service.smali
Sent from my GT-S5302 using xda app-developers app
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
sak-venom1997 said:
http://www.freeuploadsite.com/do.php?id=4549
Edited systemui.apk
Sent from my GT-S5302 using xda app-developers app
Click to expand...
Click to collapse
The link isnt wrkn....
Workin on a newer update For Lunux Os.
Would be available Only through ota update on lunux os v1.7i
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
SArnab©® said:
The link isnt wrkn....
Workin on a newer update For Lunux Os.
Would be available Only through ota update on lunux os v1.7i
Click to expand...
Click to collapse
Its wrking now
Sent from my GT-S5302 using xda app-developers app
sak-venom1997 said:
Just lost the status bar hlp
Sent from my GT-S5302 using xda app-developers app
Click to expand...
Click to collapse
Problem Found...
download the edited statusbarservice.smali from attachments n move it to ur decompiled systemui.apk n press yes to overwrite the same file.
then recompile ur systemui.apk
do this step to sign ur apk:
then open ur edited systemui.apk through 7zip.
dont extract jus use open archive option.
open the actual unedited systemui.apk same way n move metainf folder n androidmanifest.xml from original to ur modded one. press yes n close both the zip files. then rename ur edited systemui.apk to SystemUI.apk
do this to install ur apk:
move ur systemui.apk , quickpanelsettings.apkn lidroid-res.apk to to ur sd card
then move systemui.apk n quickpanelsettings.apk to system/app through a root browser.
also move lidroid-res.apk to system/framework n change permissions of all the three apks to rw-r-r
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Will chk out n lt u now
Sent from my GT-S5302 using xda app-developers app
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Thnx it worked.
Wel what ws cauaing trouble.Unsigned SystemUI.apk????
Sent from my GT-S5302 using xda app-developers app
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
sak-venom1997 said:
Thnx it worked.
Wel what ws cauaing trouble.Unsigned SystemUI.apk????
Sent from my GT-S5302 using xda app-developers app
Click to expand...
Click to collapse
Yup + to that u edited statusbarsmali wrongly.
U left out 3-4 lines at the end after the code ".line 415"
Do not frget to press thanxxx if I helped u.
Workin on a newer update For Lunux Os.
Would be available Only through ota update on lunux os v1.7i

{Mini/MiniPro/Active/Live}[PATCH][JB] Xperia 2013 Patch ROM 4.1.2/4.2.2 (22-05-13)

ABOUT ME
WHO IS MASTER RIZAL LOVINS ???
JUST FOLLOW ME OR ADD ME AS YOUR FRIEND ON SOCIAL NETWORKS
I'm not great Developer, I'm just share more choice for you guys
Everything you can feel like Xperia 2013
Experience Everything SONY has embedded ​​​
{
"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"
}
Hello Xperia 2011 community ... :laugh:
I am now offering a patch ROM Official Xperia 2013 build 12.0.A.1.211 for the CUSTOM JELLY BEAN ROM 4.1.2 & 4.2.2 Xperia 2011
This patch is based from Xperia SP and from my Xperia V using Jelly Bean ROM
This patch not one apps will be replaced but will be removed some apps, this is for more free space on system ROM ... the Patch fully modified by me and some porting library to get it work almost all applications from Xperia 2013
This is very simple if you want flashing custom Jelly Bean ROM with almost all features from SONY Xperia 2013
DISCLAIMER
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
FEATURES WORKING :
Code:
- Added SONY Media Applications Xperia SP
- Mobile Bravia Engine 2 for Enhance viewing Image Quality in Album & Movies
- White Balance Driver from Xperia SP for enhance display Quality
- Timescape Xperia V JB for FB & Twitter via Xperia
- Socialife Xperia Z Modified again by me for FB/Twitter/Youtube/Google Reader via Socialife
- Xperia SP Keyboard with fix smiley & symbol
- Movies with download video info
- Album with online photos
- Slideshow in Album but not SensMe Slidshow (SensMe Slideshow coming soon)
- Photo Editor
- Walkman Xperia SP
- Walkman Music extension for find info music on web
- Walkman ClearAudio+ fully working
- Walkman Music Widget
- Walkman Visulaizer (only work in 4.1.2)
- Photos & Video Widget
- FB Music Like (but no TrackID link)
- Friend's & Music in Walkman
- PlayNow
- Latest TrackID Mod with Customized added
- Xperia 2013 Bootanimation
- Xperia 2013 Charging Animation off
- Xperia Launcher
- New Theme Stock Xperia (Lovins Xperia Theme)
- SONY Select link in Playstore
FEATURES NOT WORKING :
Code:
- xLoud in Walkman
- ClearPhase in Walkman
- S-Force in Walkman
- Small Apps
- Edit/Download Music Info in Walkman
- SensMe in Walkman
- SensMe slideshow in Album
- Camera Stock Xperia 2011 ( I think is very difficult to get it work )
CHANGELOG :
Code:
[B]Changelog Version 3.0 :[/B]
- Fixed compatibility kernel, so you can use all kernel for your device
- Fixed always reboot to recovery when install this patch
- Removed some framework stuff for fixing compatibility
- Removed some library, for fixing in all ROM original CM/AOKP/Paranoid/PAC & ETC
- Fixed line in build.prop, for improve performance SONY media apps
[B]Changelog Version 2.0 :[/B]
- Removed AudioEffectService.apk (not installed)
- Removed SwiqiSettingService.apk (not installed)
- Removed all drm driver (for fixing Patch on JB 4.1 ROM)
- New media_profile.xml for better camera quality
- Disable buggy video 720p recording (on kernel supported 720p)
- Removed some stuff library for fixing Patch on JB 4.2
- Fix bug on some app (for more stable)
- Updated gapps
- Updated Google Now/Google Search & modified again, also added new lib for this, for fixing bug on Google Now
- Updated Google Play Store to 4.1.6 (Original not modified)
- Updated Google Play Service
- Added Xperia SP Wallpaper picker
- Added Xperia SP Sound picker
- Added srcipt for deleting system>media>video
- Added script for deleting VideoEditor.apk
- All stuff signed
- All stuff ZipAligned for better performance apps
[B]Changelog Version 1.0 :[/B]
- Initial Release
- Removed Bloatware Automatic
- Removed some CM/AOKP/PAC apps Automatic
- Ported Driver sound ALSA Fully working for better audio
- All system framework from Xperia Z JB Deodexed
- New gps.conf Xperia 2013
- Optimizing led flash & torch
- Latest driver sound from Xperia SP
- Patching SemcGenericUxpres.apk
- Fixed Walkman music extension not installed
- Fixed layout SoundEnhancement Xperia SP (Clear Audio EQ)
- Fixed smiley & icon Xperia SP Keyboard
- Added build.prop line for SONY Media Apps
- Added sony optimized audio resampling
- New gapps inverted
- Updated some gapps
- Removed face unlock in gapps
- Updated Google Play Store 4.0.27 Blue Black Edition
DOWNLOAD :
NEW Version
Download Patch v.3.0 Official JB ROM Xperia 2013 for Xperia 2011
Download Latest GAPPS For JB 4.2.2
Download Latest GAPPS For JB 4.1.2
Download Walkman Music Visualizer (only work on JB 4.1.2) Install Normally
Download Stock Xperia Theme (Lovins Xperia Theme/Theme Chooser)
OLD Version
Download Patch v.2.0 Official JB ROM Xperia 2013 for Xperia 2011
Download Patch v.1.0 Official ROM Xperia 2013 for Xperia 2011
HOW TO INSTALL :
- Download a ROM Original you want to use (JB 4.1.2 & 4.2.2) i mean like CM10.1/AOKP/PAC ETC without modifications
- Download This Patch
- Please Download GAPPS modified by me
- Make sure you have a backup
- Flash kernel
- Reboot into Recovery
- Wipe data
- Wipe cache
- Wipe dalvik cache
- Format system
- Install the ROM you want to use
- Install Patch
- Install Gapps
- Reboot
INSTRUCTIONS AFTER INSTALLATION :
First change this line in your build.prop with text Editor
Code:
ro.product.manufacturer=SEMC
TO
Code:
ro.product.manufacturer=Sony Ericsson
change this line in your build.prop
Code:
ro.com.google.clientidbase=android-google
TO
Code:
ro.com.google.clientidbase=android-sonyericsson
Reboot again ....
ENJOY!!! :good:
NOTE : THIS IS NOT COMPATIBLE ON BASED ICS ROM!!! YOU WILL GET BOOTLOOP
CREDITS :
Code:
* [URL="http://forum.xda-developers.com/member.php?u=4663391"][B]abcdjdj[/B][/URL] For Xperia SP system dump [URL="http://forum.xda-developers.com/showthread.php?t=2240516"][B]Here[/B][/URL]
* [URL="http://forum.xda-developers.com/member.php?u=3085909"][B]ra3al[/B][/URL] For Xperia Z Launcher [URL="http://forum.xda-developers.com/showthread.php?t=2103403"][B]Here[/B][/URL]
* [URL="http://forum.xda-developers.com/member.php?u=4898631"][B]erorcun[/B][/URL] For Original Socialife [URL="http://forum.xda-developers.com/showthread.php?t=2229625&nocache=1"][B]Here[/B][/URL]
* Thanks to SONY for Awesome apps on Xperia 2013 :good:
* All Member XDA-Developers
* All Member Official Group Xperia Indonesia
Excuse me if i forgot someone, just post in this thread or PM me
SCREENSHOTS
GUIDE Xperia SP Lockscreen Only For JB 4.1.2
Visit this thread for how to decompile >>CLICK HERE<<
Required file from Xperia SP
- Xperia SP android.policy.jar deodexed ( for source code ) Download in attachcement
- Download Xperia SP Lockscreen modified in attachcement
Instructions :
- Red (remove code)
- Blue (add code)
- Green (change/replace code)
Step 1
- Decompile Xperia SP android.policy.jar
- Go to smali/com/android/internal/policy/impl and copy ExtendedKeyguardScreen.smali and ExternalLockScreen.smali
- ExternalLockScreen.smali need to be editing
Find invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentNameZ
Code:
.line 238
sget-object v9, Lcom/android/internal/policy/impl/ExternalLockScreen;->sLockScreenInfoLock:Ljava/util/concurrent/locks/Lock;
invoke-interface {v9}, Ljava/util/concurrent/locks/Lock;->unlock()V
[COLOR="Red"] .line 241
if-nez v4, :cond_2[/COLOR]
.line 242
invoke-static {p0}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getExternalLockScreenPackage(Landroid/content/Context;)Landroid/content/ComponentName;
move-result-object v4
[COLOR="red"].line 246
:cond_2
invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z
move-result v8
.line 250
if-eqz v8, :cond_3[/COLOR]
.line 251
invoke-virtual {v4}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
move-result-object v9
Find .method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentNameZ
Code:
.method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z
.locals 4
.parameter "context"
.parameter "info"
.prologue
const/4 v1, 0x0
.line 131
[COLOR="red"] if-eqz p1, :cond_0[/COLOR]
invoke-virtual {p1}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;
move-result-object v2
[COLOR="red"] if-eqz v2, :cond_0[/COLOR]
invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
move-result-object v2
[COLOR="red"] if-nez v2, :cond_1
.line 132
:cond_0
const-string v2, "ExternalLockScreen"
const-string v3, "External lockscreen name and package info has not been set correctly!"
invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
[/COLOR]
.line 147
:goto_0
return v1
.line 140
:cond_1
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v0
.line 141
.local v0, pm:Landroid/content/pm/PackageManager;
const-string v2, "com.sonyericsson.permission.EXTERNAL_LOCKSCREEN"
invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
move-result-object v3
invoke-virtual {v0, v2, v3}, Landroid/content/pm/PackageManager;->checkPermission(Ljava/lang/String;Ljava/lang/String;)I
move-result v2
[COLOR="red"] if-nez v2, :cond_2[/COLOR]
.line 143
const/4 v1, 0x1
goto :goto_0
[COLOR="red"] .line 146
:cond_2
const-string v2, "ExternalLockScreen"
const-string v3, "Validation of external lockscreen failed!!"
invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_0[/COLOR]
.end method
Save it!!!
Step 2
- Next extract your phone/rom android.policy.jar and decompile it with baksmali/smali program. From the output, copy and paste the ExtendedKeyguardScreen.smali and the modified ExternalLockScreen.smali to smali/com/android/internal/policy/impl
- Then open smali/com/android/internal/policy/impl/ LockPatternKeyguardView.smali
Code:
.field private mHasDialog:Z
.field mInfoCallback:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$InfoCallbackImpl;
[COLOR="Blue"].field private mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]
.field private mIsTalkbackDrvModeOn:Z
Find # virtual methods.method public cleanUp()V
Code:
# virtual methods
.method public cleanUp()V
.locals 2
.prologue
const/4 v1, 0x0
[COLOR="blue"]const/4 v0, 0x0
iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]
.line 1096
iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mLockScreen:Landroid/view/View;
Find .method createLockScreen()Landroid/view/View;
Code:
.prologue
[COLOR="blue"] iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;
iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-static {v1, v2}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getLockScreen(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)Landroid/view/View;
move-result-object v0
.local v0, lockView:Landroid/view/View;
if-eqz v0, :cond_1
const/4 v1, 0x1
:goto_0
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z
.line 1038
iget-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z
if-nez v1, :cond_0[/COLOR]
.line 1268
new-instance v0, Lcom/android/internal/policy/impl/sec/LockScreen;
[COLOR="blue"] .end local v0 #lockView:Landroid/view/View;[/COLOR]
iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;
iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mConfiguration:Landroid/content/res/Configuration;
iget-object v3, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;
iget-object v4, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mUpdateMonitor:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
iget-object v5, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-direct/range {v0 .. v5}, Lcom/android/internal/policy/impl/sec/LockScreen;->(Landroid/content/Context;Landroid/content/res/Configuration;Lcom/android/internal/widget/LockPatternUtils;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)V
.line 1274
[COLOR="Lime"] .restart local v0 #lockView:Landroid/view/View;[/COLOR]
[COLOR="blue"] :cond_0[/COLOR]
invoke-direct {p0, v0}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->initializeTransportControlView(Landroid/view/View;)V
.line 1275
return-object v0
[COLOR="Blue"] :cond_1
const/4 v1, 0x0
goto :goto_0[/COLOR]
.end method
Save it!!! Recompile/compile, if done, download Xperia SP Lockscreen from here :
and install via recovery and put android.policy.jar modified to system framework
Thanks to Arsaw for the Guide :good:
good job like always. absolutely gonna try this
- White Balance Driver from Xperia SP for enhance Image Quality <- is this for camera image capture quality?
not working on mike 4.1 cm10.1, after installing enters to recovery mode
even not working on nighty cm10 builds also
device: xperia mini
kernel : naa jb kernel
doesnt work, just stuck on boot logo now after flashing, im using fxp 219
Good to see you here, Rizal. Good alternative to Jelly Vanilla. :good:
karthiksitian said:
not working on mike 4.1 cm10.1, after installing enters to recovery mode
even not working on nighty cm10 builds also
device: xperia mini
kernel : naa jb kernel
Click to expand...
Click to collapse
i had the same problem, use lupus kernel instead
xLoud & ClearPhase & S-Force not working .. is this because hardware compability on Xperia 2011 phone??
if yes will imposible to fix or even work properly all above feature in Xperia 2011..
Hello friends
new version released :good:
see new changelog at OP!! also download link :laugh:
Note : I don't want include Xperia Z Lockscreen for JB 4.1.2, because i don't have much time for this, and this need editing android.policy.jar on Your ROM, i know this is easy lolz :laugh: but make this patch not universal!!
maybe i'm just include guide for editing android.policy.jar to get Xperia Z Lockscreen working
Smallapps, this is need editing systemui, framework-res & all stuff in jar file to get it work, so make this patch not universal!! maybe i don't include forever in this patch
Thanks for all your support :good:
thank you for the amazing port )
can you port stock xperia sms app. i love it
ps:reserved to install after all test
Hey Rizal big fan of yours and what a great release this one is ... but in super jelly beam rom .. CM 10 4.1.2 based rom your theme picker isn't working rest are amazing... including social life plus walkman.. EPIC:good:
---------- Post added at 11:17 AM ---------- Previous post was at 11:03 AM ----------
Rizal Lovins said:
Hello friends
new version released :good:
see new changelog at OP!! also download link :laugh:
Note : I don't want include Xperia Z Lockscreen for JB 4.1.2, because i don't have much time for this, and this need editing android.policy.jar on Your ROM, i know this is easy lolz :laugh: but make this patch not universal!!
maybe i'm just include guide for editing android.policy.jar to get Xperia Z Lockscreen working
Smallapps, this is need editing systemui, framework-res & all stuff in jar file to get it work, so make this patch not universal!! maybe i don't include forever in this patch
Thanks for all your support :good:
Click to expand...
Click to collapse
should I wipe my data and reinstall from the scratch for this update and then use titanium to restore my 4.1.2 apps??
i'm using 3.4-nAa-03 Unified kernel, mike's 4.2.2 cm10.1 build
unfortunately it directly booted into recovery after installation of the patch
so TS please check the installation file
fcukcompany said:
i'm using 3.4-nAa-03 Unified kernel, mike's 4.2.2 cm10.1 build
unfortunately it directly booted into recovery after installation of the patch
so TS please check the installation file
Click to expand...
Click to collapse
Got same problem. I'll just wait for Mike's new relase.
Hi Rizal, great work... Keep up the good work
I hope you can port the camera from xperia 2011 and its libs
fcukcompany said:
i'm using 3.4-nAa-03 Unified kernel, mike's 4.2.2 cm10.1 build
unfortunately it directly booted into recovery after installation of the patch
so TS please check the installation file
Click to expand...
Click to collapse
I had the same problem, you need to flash it with another kernal, try the lupus kernal :good:
Rizal Lovins said:
Hello friends
new version released :good:
see new changelog at OP!! also download link :laugh:
Note : I don't want include Xperia Z Lockscreen for JB 4.1.2, because i don't have much time for this, and this need editing android.policy.jar on Your ROM, i know this is easy lolz :laugh: but make this patch not universal!!
maybe i'm just include guide for editing android.policy.jar to get Xperia Z Lockscreen working
Smallapps, this is need editing systemui, framework-res & all stuff in jar file to get it work, so make this patch not universal!! maybe i don't include forever in this patch
Thanks for all your support :good:
Click to expand...
Click to collapse
Small app with recents menu modded too?
Kapan update nya?
Sent from my Xperia Mini using xda premium
New Xperia 2013 Patch released!!!
CHANGELOG :
Code:
[B]Changelog Version 3.0 :[/B]
- Fixed compatibility kernel, so you can use all kernel for your device
- Fixed always reboot to recovery when install this patch
- Removed some framework stuff for fixing compatibility
- Removed some library, for fixing in all ROM original CM/AOKP/Paranoid/PAC & ETC
- Fixed line in build.prop, for improve performance SONY media apps
DOWNLOAD :
NEW Version
Download Patch v.3.0 Official JB ROM Xperia 2013 for Xperia 2011
Enjoy!!! :laugh:

[guide/How-To] Disable Verizon CD Installer

This is based on Verizon Note 2 ND7 Android 4.4.2 Deodexed. This was a group effort by Versatile1 and myself, please don't forget to thank Versatile1.
First thing you need to do is have a current Nandroid or backup. Then grab your services.jar from /system/framework.
Decompile with APKTOOL of your choice.
First step is to edit /smali/com/android/server/usb/UsbDeviceManager$UsbHandler.smali
Look For: 2 instances of "const v6, 0x104073c" and change to "const v6, 0x104073a"
Then edit /smali/com/android/server/KiesConnectivity/KiesUsbManager.smali
Look for: 1 instance of "const-wide/16 v2, 0x7530" and change to "const-wide/16 v2, 0x0"
That's it. Compile and Enjoy!!!
If you want to use this in your ROM please don't forget to give credit to Versatile1 and myself.
Do not re-post our work!!! If you have questions or need this Mod on another phone just ask in a post!!!
Please don't forget to hit THANKS!!!

Categories

Resources