Galaxy Young GT-S6312 Development Thread

Search This thread

vlc07

Senior Member
Jul 20, 2013
341
142
Haveri
Hey can anyone tell me is it safe to delete the securityprovider.apk from system/ app.
I want to do it because it is eating lots of RAM..

no its not safe may be i.e related with contacts but you can make backup of your rom then try;)
btw why you want delete that young has 768mb ram mine free is always 300+:laugh:
 

vinay7

Senior Member
Oct 15, 2013
87
5
cool

hay all bros
can any one help me to get xperia theme ruining in galaxy cuz i make an xperia rom but finished 95% of it until now

attachment.php
attachment.php

attachment.php
attachment.php

attachment.php
attachment.php

very nice bro

when will it be released

and can u cyanogenmod theme like above ones
 

NiceIceDice96

Senior Member
Jan 9, 2013
506
104
IRBID
Please general question can we use 4.2 aosp systemui.apk foe another aosp 4.2

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

dugeriss

Senior Member
Apr 30, 2013
278
298
Aku neng mburimu yo!
keep supporting sir :good:

---------- Post added at 06:15 PM ---------- Previous post was at 05:30 PM ----------

[GT-S6312][GUIDE] how to add lidroid 23toggles [wanam way]
Hy .. i'll share guide how to add lidroid toggles to GT-S6312 dual-sim phone

  • Decompile SystemUI.apk

  • Open ids.xml
paste this code :

Code:
 <item type="id" name="exp_power_stat">false</item>

above code </resources>

like this :
Code:
    <item type="id" name="exp_power_stat">false</item>
</resources>

  • open tw_status_bar_expanded_dual.xml

paste this code wherever u want!!

Code:
 <com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />

Done,save

  • Recompile SystemUI.apk
  • Decompile SystemUI.apk again

  • open PhoneStatusBar.smali
smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali

  • add code red code
Code:
.field mPostCollapseCleanup:Ljava/lang/Runnable;
[COLOR="Red"].field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;[/COLOR]

.field private mPreviousConfigFontScale:F

  • find:

Code:
# virtual methods
.method public addIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;)V
    .locals 5

  • add red code

Code:
# virtual methods
.method public addIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;)V
    .locals 5

    new-instance v0, Lcom/android/systemui/statusbar/StatusBarIconView;

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

    const/4 v2, 0x0

    invoke-direct {v0, v1, p1, v2}, Lcom/android/systemui/statusbar/StatusBarIconView;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/app/Notification;)V

    invoke-virtual {v0, p4}, Lcom/android/systemui/statusbar/StatusBarIconView;->set(Lcom/android/internal/statusbar/StatusBarIcon;)Z

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusIcons:Landroid/widget/LinearLayout;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    iget v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mIconSize:I

    iget v4, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mIconSize:I

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

   [COLOR="Red"] iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;

    invoke-virtual {v1}, Lcom/wanam/systemui/quickpanel/PowerWidget;->updateWidget()V
[/COLOR]
    return-void
.end method

  • open Public.xml
SystemUI.apk/res/values/public.xml

  • find :
public type="id" name="exp_power_stat"

  • put hex public exp_power_stat

Code:
<public type="id" name="exp_power_stat" id="[COLOR="Red"]0x7f0d013f[/COLOR]" />

  • find method

Code:
.method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

  • Scroll down and find this code
Code:
    new-instance v18, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

    move-object/from16 v19, v0

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    move-object/from16 v2, v19

    invoke-direct {v0, v1, v3, v2}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;

  • the above code
  • paste this,

Code:
   iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    move-object/from16 v18, v0

    const v19, [COLOR="Red"]0x7f0d013f    <<<< type="id" name="exp_power_stat" [/COLOR] 

    invoke-virtual/range {v18 .. v19}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Lcom/wanam/systemui/quickpanel/PowerWidget;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;

like this

Code:
    iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    move-object/from16 v18, v0

    const v19, 0x7f0d004e

    invoke-virtual/range {v18 .. v19}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Landroid/widget/ScrollView;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mScrollView:Landroid/widget/ScrollView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mScrollView:Landroid/widget/ScrollView;

    move-object/from16 v18, v0

    const/16 v19, 0x0

    invoke-virtual/range {v18 .. v19}, Landroid/widget/ScrollView;->setVerticalScrollBarEnabled(Z)V

    move-object/from16 v0, p0

   [COLOR="Red"] iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    move-object/from16 v18, v0

    const v19, 0x7f0d013f

    invoke-virtual/range {v18 .. v19}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Lcom/wanam/systemui/quickpanel/PowerWidget;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
[/COLOR]
    new-instance v18, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

    move-object/from16 v19, v0

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    move-object/from16 v2, v19

    invoke-direct {v0, v1, v3, v2}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V

RED CODE ,PUBLIC "exp_power_stat"

  • next, find :

Code:
    if-ne v0, v1, :cond_1c

    const-string v18, "android.intent.action.SCREEN_ON"

    move-object/from16 v0, v18

    invoke-virtual {v6, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    :cond_1c
    move-object/from16 v0, p0

  • add red code

Code:
       if-ne v0, v1, :cond_1c

    const-string v18, "android.intent.action.SCREEN_ON"

    move-object/from16 v0, v18

    invoke-virtual {v6, v0}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    :cond_1c
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    invoke-virtual {v3, v0, v6}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    move-object/from16 v0, p0

[COLOR="Red"]    iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    invoke-virtual {v0}, Lcom/wanam/systemui/quickpanel/PowerWidget;->setupWidget()V[/COLOR]

    sget-boolean v18, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->useTouchWizGUI:Z

    if-eqz v18, :cond_1d

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

  • Save,
open "AndroidManifest.xml"

  • find

Code:
<manifest android:versioncode=16 android:versionname="4.1.2-blablabla.."

  • add code

Code:
android:sharedUserId="android.uid.system" android:process="system"

  • between

Code:
<manifest android:versioncode=16

  • like this :

Code:
 <manifest [COLOR="Red"]android:sharedUserId="android.uid.system" android:process="system"[/COLOR] android:versionCode="16" android:versionName="4.1.2-blablabla.."

  • find

Code:
 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />

  • below code
add this,

Code:
 <uses-permission android:name="android.permission.CAMERA" />

SAVE,RECOMPILE,SIGN,PUSH TO SYSTEM

NEED SIGN, OR DISABLE CHECK SIGNATURE APPS [SERVICE.JAR]
READ HERE :
http://xdaforums.com/showthread.php?t=1621289
http://xdaforums.com/showpost.php?p=51517852&postcount=67



Download file :

smali :
http://d-h.st/45p

lidroid-res & lidroidsettings:
http://d-h.st/HIa


Credit :
  • LIDROID
  • WANAM
  • Adi Aisiteru Reborn


#sorry for google translate
 
Last edited:
  • Like
Reactions: vlc07

vlc07

Senior Member
Jul 20, 2013
341
142
Haveri
Thanks for posting Sir gonna try now adding to main page :good:

EDIT: @dugeriss sir now it is overlapping date & Time
 
Last edited:

NiceIceDice96

Senior Member
Jan 9, 2013
506
104
IRBID
Benchmark Stock 4.1.2 Non Rooted

I think it ia not bad on stock so with root and overlock and remove blobloware will gonna be higwh high

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

Attachments

  • uploadfromtaptalk1396759887241.jpg
    uploadfromtaptalk1396759887241.jpg
    31.7 KB · Views: 234

vlc07

Senior Member
Jul 20, 2013
341
142
Haveri
Benchmark Stock 4.1.2 Non Rooted

I think it ia not bad on stock so with root and overlock and remove blobloware will gonna be higwh high

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

why it is low score bro mine gets easily 4,400 at stock rom without root on pure stock rom

@vinay7 i will upload lidroid after it get fixed (see screenshot above see @ #54^^^^)
 
Last edited:

vinay7

Senior Member
Oct 15, 2013
87
5
help

ClockworkMod Recovery v6.0.3.2 Can be flashed using Odin** :D

  • Download and extrect the 7z package, from the link below
  • Flash recovery.tar.md5 from the extracted folder using Odin
NOTE: DO NOT RENAME THE " recovery.tar.md5" FILE
Download: DEV-HOST

**For galaxy young GT-S6312/10 only

how to flash this
can u provide steps do it
should the mobile in download mode

please elaborate
 

r2dak

Senior Member
Jan 31, 2014
119
93
Shimla
how to flash this
can u provide steps do it
should the mobile in download mode
please elaborate

  1. Download the package and extract it somewhere
  2. Right click on Odin3 v3.09.exe and run it as administrator to start Odin.
  3. Boot your device in download mode, you will need to do this Switch your device off. Press & hold Power + Home + Volume down buttons till you see a triangle and Android robot.Now press the Volume up button to confirm entering the download mode.
  4. Once it is in download mode, connect your device to the computer via USB cable.
  5. When your device is connected, one of Odin ID:COM boxes will turn Blue and display the COM port number.
    Important: If you do not see the port number in any of ID:COM boxes or if the box does not turn yellow, please do not proceed and check if the USB drivers are installed correctly and the device is connected via USB. If you do see the message, it means that your device was detected successfully by Odin and you can now flash any firmware files onto your device using Odin.
  6. Click on AP button, then browse and select the recovery.tar.md5 file that you just have extracted from the package
  7. Make sure that you do not mess up with checkboxes:
    • Auto Reboot and F. Reset Time checkboxes should be selected
    • All other checkboxes should be unchecked.
  8. After selecting the appropriate file, click on “Start” button in Odin.
  9. This will kick off the process to flash the Recovery. Please do not disconnect your device during the process.
  10. Once flashing is complete, your device will reboot. You can now disconnect from the PC and start using it.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    A Message To Developers ,contributors..

    we need your help to get our device future development,if you have knowledge about linux,android devlopment,cm devlopment,building kernels then dont hesitate to join hand for our devlopment....plz share your thoughts....

    by
    galaxy young s6312 users...
    6
    [ROM] Inspire Holo Version for S6312

    HEY GUYZ CHECK OUT MY INSPIRE HOLO VERSION CUSTOM ROM FOR S6312:laugh:

    LINK:http://xdaforums.com/showthread.php?p=51664018
    6
    Odin flashable CWM v6.0.3.2 For Galaxy Young Duos

    ClockworkMod Recovery v6.0.3.2 Can be flashed using Odin** :D

    • Download and extrect the 7z package, from the link below
    • Flash recovery.tar.md5 from the extracted folder using Odin

    How to Flash
    1. Download the package and extract it somewhere
    2. Right click on Odin3 v3.09.exe and run it as administrator to start Odin.
    3. Boot your device in download mode, you will need to do this Switch your device off. Press & hold Power + Home + Volume down buttons till you see a triangle and Android robot.Now press the Volume up button to confirm entering the download mode.
    4. Once it is in download mode, connect your device to the computer via USB cable.
    5. When your device is connected, one of Odin ID:COM boxes will turn Blue and display the COM port number.
      Important: If you do not see the port number in any of ID:COM boxes or if the box does not turn yellow, please do not proceed and check if the USB drivers are installed correctly and the device is connected via USB. If you do see the message, it means that your device was detected successfully by Odin and you can now flash any firmware files onto your device using Odin.
    6. Click on AP button, then browse and select the recovery.tar.md5 file that you just have extracted from the package
    7. Make sure that you do not mess up with checkboxes:
      • Auto Reboot and F. Reset Time checkboxes should be selected
      • All other checkboxes should be unchecked.
    8. After selecting the appropriate file, click on “Start” button in Odin.
    9. This will kick off the process to flash the Recovery. Please do not disconnect your device during the process.
    10. Once flashing is complete, your device will reboot. You can now disconnect from the PC and start using it.

    NOTE: DO NOT RENAME THE " recovery.tar.md5" FILE
    Download: DEV-HOST

    **For galaxy young GT-S6312/10 only
    4
    S5 Theme MOD


    S5 theme for Galaxy young Dous 6312

    thanks to @ronin790

    attachment.php


    attachment.php


    attachment.php


    attachment.php



    Download


    systemui transparent thanks to @vlc07

    Link


    Galaxy S5 bootanimation thanks to @bjtmosfet
    LINK

    S5 shutdown.qmg
    http://www.mediafire.com/download/jv6gprz7s9wb2in/shutdown.qmg
    4
    [MOD]BootAnimation Enabler for s6312/s6310

    hi Guyz you have seen several bootanimations of cyanogenmod,Aosp.xperia etc to install that Bootanimations you have to little Mod system files

    Just Download & mount system then flash thats it & integrated with Cyanogenmod 11 Bootanimation :laugh:

    to change bootanimation Download any MDPI Bootanimation or search in xda
    Tested on Deodexed Rom_may works on odexed Rom