FORUMS
Remove All Ads from XDA

Galaxy Young GT-S6312 Development Thread

341 posts
Thanks Meter: 144
 
By vlc07, Senior Member on 24th March 2014, 06:00 PM
Post Reply Email Thread
5th April 2014, 03:56 PM |#51  
vlc07's Avatar
OP Senior Member
Flag Haveri
Thanks Meter: 144
 
More
[ROM] Inspire Holo Version for S6312
HEY GUYZ CHECK OUT MY INSPIRE HOLO VERSION CUSTOM ROM FOR S6312

LINK:http://forum.xda-developers.com/show...php?p=51664018
The Following 6 Users Say Thank You to vlc07 For This Useful Post: [ View ] Gift vlc07 Ad-Free
 
 
5th April 2014, 04:30 PM |#52  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by vlc07

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

LINK:http://forum.xda-developers.com/show...php?p=51664018

What an awesome ROM I'm right now going to download and install it..
5th April 2014, 06:15 PM |#53  
dugeriss's Avatar
Senior Member
Flag Aku neng mburimu yo!
Thanks Meter: 299
 
More
keep supporting sir

---------- 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
Quote:

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
Quote:

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

  • add code red code
Code:
.field mPostCollapseCleanup:Ljava/lang/Runnable;
.field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;

.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

    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

    return-void
.end method
  • open Public.xml
Quote:

SystemUI.apk/res/values/public.xml

  • find :
Quote:

public type="id" name="exp_power_stat"

  • put hex public exp_power_stat

Code:
<public type="id" name="exp_power_stat" id="0x7f0d013f" />
  • 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, 0x7f0d013f    <<<< type="id" name="exp_power_stat"  

    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

    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;

    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
Quote:

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

    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

    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 android:sharedUserId="android.uid.system" android:process="system" 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://forum.xda-developers.com/show....php?t=1621289
http://forum.xda-developers.com/show...2&postcount=67



Download file :



Credit :
  • LIDROID
  • WANAM
  • Adi Aisiteru Reborn


#sorry for google translate
The Following User Says Thank You to dugeriss For This Useful Post: [ View ] Gift dugeriss Ad-Free
5th April 2014, 06:22 PM |#54  
vlc07's Avatar
OP Senior Member
Flag Haveri
Thanks Meter: 144
 
More
Thanks for posting Sir gonna try now adding to main page

EDIT: @dugeriss sir now it is overlapping date & Time
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-04-06-07-01-42[1].png
Views:	290
Size:	19.1 KB
ID:	2670808  
6th April 2014, 05:40 AM |#55  
Member
Thanks Meter: 5
 
More
help
can u share that lidroid apk or zip file that can be flashed with cmw
6th April 2014, 05:52 AM |#56  
NiceIceDice96's Avatar
Senior Member
Flag IRBID
Thanks Meter: 104
 
Donate to Me
More
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
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1396759887241.jpg
Views:	225
Size:	31.7 KB
ID:	2670931  
6th April 2014, 06:12 AM |#57  
vlc07's Avatar
OP Senior Member
Flag Haveri
Thanks Meter: 144
 
More
Quote:
Originally Posted by NiceIceDice96

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^^^^)
6th April 2014, 06:34 AM |#58  
NiceIceDice96's Avatar
Senior Member
Flag IRBID
Thanks Meter: 104
 
Donate to Me
More
Quote:
Originally Posted by vlc07

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

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

So why this even disabled all apps to get good bench why this weird:banghead:

Sent from my P8000 using xda app-developers app
6th April 2014, 09:53 AM |#59  
Member
Thanks Meter: 5
 
More
help
Quote:
Originally Posted by r2dak

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

  • 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
6th April 2014, 10:15 AM |#60  
r2dak's Avatar
Senior Member
Flag Shimla
Thanks Meter: 94
 
More
Prompt
Quote:
Originally Posted by vinay7

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.
6th April 2014, 10:48 AM |#61  
Member
Thanks Meter: 5
 
More
[QUOTE=r2dak;51681966][LIST=1]

do i need to install framaroot and busybox b4 using this
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes