FORUMS
Remove All Ads from XDA

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

2,868 posts
Thanks Meter: 2,932
 
Post Reply Email Thread
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 409
        const/4 v12, 0x0
    
        .line 413
        .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 415
        .restart local v12       #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
        move-object/from16 v0, p0
  • WITH THIS CODE:
  • Code:
    .line 409
        const/4 v12, 0x0
    
        .line 413
        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 415
        .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/show....php?t=1289896
There you will find the way to make your screen act as flashlite.


CREDITS:

  1. 1ST N FOREMOST THANXXX TO LIDROID FOR HIS AWESOME TWEAK N ORIGINAL PROCEDURE.
  2. arbayong N Millan.sis FOR THE CODES FOR DUAL SIM SAMSUNG PHONES.
  3. ME FOR EDITING Millan.sis'S CODE AS PER POCKET DUOS.
SCREENIES TO PROVE:

Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	15370
Size:	111.6 KB
ID:	1791289  
The Following 12 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
 
 
31st January 2013, 07:01 PM |#2  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Angry 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:
  1. PUT YOUR SYSTEMUI.APK IN THE FOLDER NAMED "PLACE_SYSTEMUI_APK_HERE".
  2. DOUBLE CLICK ON "RUN_001.bat" TO OPEN THE TOOL.
  3. PRESS ENTER ONES THE CMD MENU OPENS.
  4. LET THE TOOL GO THROUGH ALL YOUR HARD WORK.
  5. STATUSBARSERVICE.SMALI OPENS UP AUTOMATICALLY.
  6. NOW FOLLOW THE GUIDE IN ABOVE POST.
  7. SAVE AND CLOSE THE SMALI FILE.
  8. PRESS ENTER AGAIN IN THE TOOL TO RECOMPILE YOUR APK.
  9. 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.
The Following 4 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
1st February 2013, 04:36 AM |#3  
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
1st February 2013, 04:53 AM |#4  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Re: [How To][Guide]Port lidroid's 14 toggles to Samsung Galaxy Pocket Duos[GT-S5302]
Quote:
Originally Posted by Ticklefish

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

Hope it works...

Jus dnt say thanxxx press it.

»»»»»»»»»»»»»»»»»»»»»»»©®«««««««««««««««««««««««
»»MAKER OF LUNUX OS ROM FOR SAMSUNG GT-S5302««
The Following User Says Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
4th February 2013, 11:08 AM |#5  
blttalas's Avatar
Senior Member
Flag Ankara
Thanks Meter: 2,216
 
More
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
is this work with non Samsung devices?
4th February 2013, 12:47 PM |#6  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Quote:
Originally Posted by blttalas

is this work with non Samsung devices?

No.(as the creatr hadn't made these to be compatible with other makes.)

Sent from my GT-S5302 using xda app-developers app
15th February 2013, 07:16 AM |#7  
sak-venom1997's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 416
 
Donate to Me
More
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
15th February 2013, 07:19 AM |#8  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Quote:
Originally Posted by sak-venom1997

Just lost the status bar hlp

Sent from my GT-S5302 using xda app-developers app

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
The Following User Says Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
15th February 2013, 09:36 AM |#9  
sak-venom1997's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 416
 
Donate to Me
More
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
15th February 2013, 09:37 AM |#10  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Re: [Guide]Port lidroid's 14 toggles to new Samsung Dual Sim Phones
Quote:
Originally Posted by sak-venom1997

Pocket duos n using same SystemUI that u lnkd in pm

Sent from my GT-S5302 using xda app-developers app

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
The Following User Says Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
15th February 2013, 10:20 AM |#11  
sak-venom1997's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 416
 
Donate to Me
More
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
Post Reply Subscribe to Thread

Tags
14 toggles, 14 toggles guide, galaxy pocket 14 toggles, lidroid toggles

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes