[MUST SEE]All Rom Settings of S4 Google Edition ROM

Search This thread

fOmey

Recognized Developer
Mar 7, 2009
4,128
5,560
Sydney, AUS
Hello, the mod for recording phone calls? :confused:

I have enabled this option, recompiled.. although no instant changes.. Im guessing Phone.apk may have to modified also ?

These options enable settings on the framework, although who's to say these options will be displayed in the .apks ?

Im just going to sit back and let our more experienced dev's work there magic.
 

_frog hair

Senior Member
Feb 1, 2013
564
331
I just got my S4... Nice to see development is cooking in here... Sweet. I went from nexus4 to s4, only because of the google edition development on sammy hardware:thumbup:

Sendt fra min GT-I9505G med Tapatalk2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Check this out, I found this in GlobalConfig.jar, many many many switches to regulate the rom! Maybe we can fix sim this way :)

    I'm currently playing around with the settings, but changing these bools can make serious rom changes!

    If the settings make a difference we have tons of features to disable/enable as we like :D

    To large to say in text. so attached the file, Really hope those bools really are affected by changing its value :p

    example of some pin settings:

    Code:
    .field public static final GLOBALCONFIG_RIL_SIM_BLOCK_IMSI_CSIM:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_BROADCAST_NO_SIM_NOTY:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_DEVICEPIN:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_EF_EXT5_ADF:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_GET_CARD_STATUS:Z = true
    
    .field public static final GLOBALCONFIG_RIL_SIM_HOT_SWAP:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_ISPSERVICE:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_KDDI_OTA:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_MSISDN_SUPPORT_WILDCHAR:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_PERMANENT_BLOCK:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_PHONEBOOKAPI:Z = true
    
    .field public static final GLOBALCONFIG_RIL_SIM_PLMNACTION_INTENT:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_SUPPORT_3GPP_CDMA:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_SUPPORT_ICCID_CDMA:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_TYPE:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_UPDATE_OTASP_USING_MIN:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_USA_CDMA_ID_EXTENED:Z = false
    
    .field public static final GLOBALCONFIG_RIL_SIM_USE_PHONEBOOK_CACHE:Z = true

    or some other general settings, everything is there:

    Code:
    eld public static final GLOBALCONFIG_SETTINGS_ADD_GUIDED_TOURS_MENU_IN_HELPAPP:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_ALTERNATIVE_SMARTSWITCH_WIDGET:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_BLOCK_DISABLE_BUTTON_FOR_SOME_APPLICATIONS:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_CAMERA_ONLY_MODEL:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_DATA_ONLY_MODEL:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_DEFAULT_LOCKSCREEN_AS_PERSONAL_MESSAGE:Z = true
    
    .field public static final GLOBALCONFIG_SETTINGS_DISABLE_ANIMATION_SCALE:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_DISABLE_APN_CHANGE_WHEN_TETHERING_ACTIVATED:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_DISABLE_AUDIO_APPLICATION:Z = true
    
    .field public static final GLOBALCONFIG_SETTINGS_DISABLE_LOCK_SCREEN_RIPPLE_EFFECT:Z = false
    
    .field public static final GLOBALCONFIG_SETTINGS_DISABLE_PSM_BROWSER:Z = false


    Here some more in CustFeature.jar

    Code:
    .field public static final CUSTFEATURE_APPFW_DEFAULT_HARDWAREACCEL:Z = true
    
    .field public static final CUSTFEATURE_APPFW_LOCKSCREEN_MEDIA_WIDGET:Z = true
    
    .field public static final CUSTFEATURE_APPFW_LOCKSCREEN_TICKER:Z = true
    
    .field public static final CUSTFEATURE_CALL_IMSVT_SUPPORT:Z = false
    
    .field public static final CUSTFEATURE_CAMERA_DEFAULT_DESTINATION:Z = false

    Settings hidden everywhere!


    edit: just found the lamest most useless jar file of my life, called com.samsung.device.jar

    this is only whats in it :')

    Code:
    .class public final Lcom/samsung/device/Features;
    .super Ljava/lang/Object;
    .source "Features.java"
    
    
    # static fields
    .field public static final VERSION:Ljava/lang/String; = "1.0"
    
    
    # direct methods
    .method public constructor <init>()V
        .locals 0
    
        invoke-direct {p0}, Ljava/lang/Object;-><init>()V
    
        return-void
    .end method
    
    .method public static isSamsungDevice()Z
        .locals 1
    
        const/4 v0, 0x1
    
        return v0
    .end method

    What would happen if you change it to 0 ? It would become AOSP :D? XD
    10
    Wow, amazing! It is clear that you are well-deserving of your titles. :D

    Would be nice to eventually see a BroodROM with a lot of tweaks. ;)

    Thank you :) I worked hard for them :p I have many many products, the i9001 users know this the best. I will also help to make an uber informative wiki page, just as the i9001 one, check it out, its perfect: http://xdaforums.com/wiki/Samsung_Galaxy_S_Plus/GT-I9001 (everything you can think of is in there, its on the 2nd most viewed place on the WHOLE XDA wiki. http://xdaforums.com/wiki/Special:PopularPages

    So expect many many content from me, this may be scripts, tutorials, mods, apps, roms, kernels and even more :laugh:

    broodROM and broodKernel have prio for me at the i9505, but I first want to explore the i9505 as much as needed, so I will never release crap that doesn't work because I hate that lol
    7
    There is more! An CPU Profile inside an codeauora jar file.

    Code:
    package org.codeaurora;
    
    public class Performance
    {
      public static final int ALL_CPUS_FREQ_NONTURBO_MAX = 2314;
      public static final int ALL_CPUS_FREQ_TURBO_MAX = 2319;
      public static final int ALL_CPUS_PWR_CLPS_DIS = 256;
      public static final int CPU0_FREQ_NONTURBO_MAX = 522;
      public static final int CPU0_FREQ_TURBO_MAX = 527;
      public static final int CPU1_FREQ_NONTURBO_MAX = 778;
      public static final int CPU1_FREQ_TURBO_MAX = 783;
      public static final int CPU2_FREQ_NONTURBO_MAX = 1034;
      public static final int CPU2_FREQ_TURBO_MAX = 1039;
      public static final int CPU3_FREQ_NONTURBO_MAX = 1290;
      public static final int CPU3_FREQ_TURBO_MAX = 1295;
      public static final int CPUOPT_CPU0_FREQMIN = 2;
      public static final int CPUOPT_CPU0_PWRCLSP = 1;
      public static final int CPUOPT_CPU1_FREQMIN = 3;
      public static final int CPUS_ON_2 = 1794;
      public static final int CPUS_ON_3 = 1795;
      public static final int CPUS_ON_MAX = 1796;
      public static final int REQUEST_FAILED = -1;
      public static final int REQUEST_SUCCEEDED = 0;
      private static final String TAG = "Perf";
      private int handle = 0;
    
      private native int native_cpu_setoptions(int paramInt1, int paramInt2);
    
      private native void native_deinit();
    
      private native int native_perf_lock_acq(int paramInt1, int paramInt2, int[] paramArrayOfInt);
    
      private native int native_perf_lock_rel(int paramInt);
    
      public int cpuSetOptions(int paramInt1, int paramInt2)
      {
        return native_cpu_setoptions(paramInt1, paramInt2);
      }
    
      protected void finalize()
      {
        native_deinit();
      }
    
      public int perfLockAcquire(int paramInt, int[] paramArrayOfInt)
      {
        this.handle = native_perf_lock_acq(this.handle, paramInt, paramArrayOfInt);
        int i = this.handle;
        int j = 0;
        if (i == 0)
          j = -1;
        return j;
      }
    
      public int perfLockRelease()


    I will soon post whole framework/apps decompiled as best as possible (in java sources but not directly compilable)
    4
    Thanks:D I don't know if it means anything but I know it all worked

    Sent from my SGH-M919 using xda premium

    Every small bits help ;) Soon I will be constructing the wiki page :), ill grab the template from my previous phones wiki (i9001) which comes at #2 after most visits of the mainpage rofl. I have seen so many incomplete minimal wiki's... (atleast if you're used to the most crowded wiki xd)

    I think the wiki is required since then we have a database of usefull information, not everybody will have to ask the same things over and over. you get my point :p
    3
    Wow, that is awesome!

    My findings here might be of help for you, then. :)

    Thank you, thats a better list then "cat proc/partitions"

    Code:
    cat proc/partitions
    major minor  #blocks  name
    
       7        0       4190 loop0
     179        0   15388672 mmcblk0
     179        1      12772 mmcblk0p1
     179        2      52764 mmcblk0p2
     179        3        128 mmcblk0p3
     179        4        256 mmcblk0p4
     179        5        512 mmcblk0p5
     179        6       2048 mmcblk0p6
     179        7        512 mmcblk0p7
     179        8        512 mmcblk0p8
     179        9      16896 mmcblk0p9
     179       10      13952 mmcblk0p10
     179       11       3072 mmcblk0p11
     179       12       3072 mmcblk0p12
     179       13        780 mmcblk0p13
     179       14        780 mmcblk0p14
     179       15        780 mmcblk0p15
     179       16    2826240 mmcblk0p16
     179       17       8192 mmcblk0p17
     179       18    2119680 mmcblk0p18
     179       19       6144 mmcblk0p19
     179       20      10240 mmcblk0p20
     179       21      10240 mmcblk0p21
     179       22      10240 mmcblk0p22
     179       23       6144 mmcblk0p23
     179       24       3072 mmcblk0p24
     179       25          8 mmcblk0p25
     179       26       9216 mmcblk0p26
     179       27     512000 mmcblk0p27
     179       28      20480 mmcblk0p28
     179       29    9728000 mmcblk0p29
     179       32    7879680 mmcblk1
     179       33    7878656 mmcblk1p1
     254        0       4189 dm-0

    Btw lol I just found Kiosk mode launcher, inside framework-res.apk XD

    It's for stores to represent their phones (you can only toggle the homescreens, thats all)

    This time I found temperatures inside the framework, and what to do with them:

    Code:
    <ThermistorObserverAP>
        <TemperatureTable scenario="default">
            <step level="0" temp="470" />
            <step level="1" temp="490" />
            <step level="2" temp="510" />
            <step level="3" temp="530" />
            <step level="4" temp="550" />
            <step level="5" temp="570" />
            <step level="6" temp="590" />
            <step level="7" temp="660" />
            <step level="8" temp="710" />
        </TemperatureTable>
        <Action>
            <step level="0">
            </step>
            <step level="1">
                <type name="ACL" value="on" />
            </step>
            <step level="2">
                <type name="ARMFreq" value="1400000" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="250" />
            </step>
            <step level="3">
                <type name="ARMFreq" value="1200000" />
                <type name="ChargeCurrent" value="50" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="230" />
            </step>
            <step level="4">
                <type name="ARMFreq" value="1000000" />
                <type name="ChargeCurrent" value="30" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
            </step>
            <step level="5">
                <type name="ARMFreq" value="600000" />
                <type name="ChargeCurrent" value="30" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
            </step>
            <step level="6">
                <type name="ARMFreq" value="600000" />
                <type name="ChargeCurrent" value="0" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
                <type name="Flash" value="off" />
            </step>
            <step level="7">
                <type name="ARMFreq" value="600000" />
                <type name="ChargeCurrent" value="0" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
                <type name="Flash" value="off" />
            </step>
            <step level="8">
                <type name="ARMFreq" value="600000" />
                <type name="ChargeCurrent" value="0" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
                <type name="Flash" value="off" />
                <type name="RecordingStop" value="on" />
            </step>
        </Action>
        <TemperatureTable scenario="BenchmarkBooster">
            <step level="0" temp="470" />
            <step level="1" temp="490" />
            <step level="2" temp="510" />
            <step level="3" temp="530" />
            <step level="4" temp="550" />
            <step level="5" temp="570" />
            <step level="6" temp="590" />
            <step level="7" temp="660" />
            <step level="8" temp="710" />
        </TemperatureTable>
        <Action>
            <step level="0">
            </step>
            <step level="1">
                <type name="ACL" value="on" />
            </step>
            <step level="2">
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="250" />
            </step>
            <step level="3">
                <type name="ChargeCurrent" value="50" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="230" />
            </step>
            <step level="4">
                <type name="ChargeCurrent" value="30" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
            </step>
            <step level="5">
                <type name="ChargeCurrent" value="30" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
            </step>
            <step level="6">
                <type name="ChargeCurrent" value="0" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
                <type name="Flash" value="off" />
            </step>
            <step level="7">
                <type name="ARMFreq" value="600000" />
                <type name="ChargeCurrent" value="0" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
                <type name="Flash" value="off" />
            </step>
            <step level="8">
                <type name="ARMFreq" value="600000" />
                <type name="ChargeCurrent" value="0" />
                <type name="ACL" value="on" />
                <type name="LCDBrightness" value="200" />
                <type name="Flash" value="off" />
                <type name="RecordingStop" value="on" />
            </step>
        </Action>
    </ThermistorObserverAP>