AndroidIdChanger icon indicating copy to clipboard operation
AndroidIdChanger copied to clipboard

TODO

Open bigsinger opened this issue 8 years ago • 12 comments

  • [ ] SKU: getprop ro.boot.hardware.sku ` XposedHelpers.findAndHookMethod(System.class, "getProperty", String.class, new XC_MethodHook() { @Override protected void beforeHookedMethod(MethodHookParam param) throws Throwable { XposedBridge.log("==== System BEFORE ==== " + param.args[0]); }

    @Override
    protected void afterHookedMethod(MethodHookParam param) throws Throwable {
      if (param.args[0].toString().equals("http.agent")) {
        XposedBridge.log("==== System AFTER ==== " + (String) param.getResult());
        param.setResult("Dalvik/2.1.0 (Linux; U; Android 6.0.1; Nexus 5 Build/LMY47X)");
        XposedBridge.log("==== System AFTER ==== " + (String) param.getResult());
      }
    }
    

    }); ` ref

  • [ ] NO HOOK VALUES:

  • googlead_id

  • IP

  • NetType

  • NetworkOperatorName

  • Resolution

  • Width

  • SimSerialNo

  • Height

  • [ ] <application ... android:allowBackup="true"> </app>

  • [x] Randow don't update, use 'SAVE'

  • [ ] an't change ICC_ID, IP, and MNC & MCC & Operator (in some apps). Also you have cool feature to change resolution but it also not work

bigsinger avatar Nov 13 '17 08:11 bigsinger

@lars18th todo list is here...

bigsinger avatar Nov 13 '17 08:11 bigsinger

@lars18th todo list is here...

OK. Thank you!

lars18th avatar Nov 13 '17 08:11 lars18th

@lars18th i get nothing by command: getprop ro.boot.hardware.sku

bigsinger avatar Nov 14 '17 08:11 bigsinger

@lars18th i get nothing by command: getprop ro.boot.hardware.sku

Hi,

Not all devices has this activated, only around half of them.

lars18th avatar Nov 14 '17 08:11 lars18th

Hi @bigsinger ,

I suggest you change the colour of the "non-already-hooked values" in the UI. For example in red (dark red) or gray. This will indicate to the users that this values isn't supported at time.

You agree?

lars18th avatar Nov 14 '17 13:11 lars18th

Can values be changed without restarting device?

AdroitAdorKhan avatar Nov 14 '17 14:11 AdroitAdorKhan

Hi @AdroitAdorKhan

Can values be changed without restarting device?

No at time. Sorry!

However, perhaps in the future... if you completly close the App that you like to hook (the code only needs to change a bit for support it). In any case, for System Wide hooks a restart is mandatory.

Regards!

lars18th avatar Nov 14 '17 15:11 lars18th

Hi @bigsinger ,

Please, update the OP of this issue with other pending tasks:

  • [ ] Share "mydevice.htm" (and "hookdevice.htm") #1 #22 .

  • [ ] Import/Export of "phoneinfo.xml" and "CHANGER.xml" #4 .

  • [ ] Fix LOGs #25 .

  • [ ] Failsafe running when the module is called and the configuration is innaccesible #26 .

  • [X] Fix the RecyclerView's item "bug" when saving "phoneinfo.xml" that corrupts the saved values #29 .

This isn't a closed list, and not ordered as well. Howerver, you can use it! :smile:

lars18th avatar Nov 16 '17 08:11 lars18th

It feels endless :1234: 革命尚未成功 同志仍需努力

bigsinger avatar Nov 16 '17 08:11 bigsinger

It feels endless

It's only a summary of the different issues listed. You can decide in wich you like to focus. In my opinion the bug #29 has high priority, and the second is #25. The rest are optional. You agree?

lars18th avatar Nov 16 '17 11:11 lars18th

Hi @bigsinger ,

I updated my list. Futhermore, regarding the PENDING HOOK VALUES, if you like to implement for "Width", "Height" and "Resolution" (if this is the DPI value), then see this page with examples: https://stackoverflow.com/questions/4743116/get-screen-width-and-height

I hope it helps! :smile:

lars18th avatar Nov 28 '17 08:11 lars18th

Hi @bigsinger ,

Regarding other pending HOOKs, they are identical to current "SimOperatorName", so:

  • NetworkOperatorName: android.telephony.TelephonyManager.getNetworkOperatorName()

  • NetType: android.telephony.TelephonyManager.getNetworkType()

  • SimSerialNo: android.telephony.TelephonyManager.getSimSerialNumber()

See: https://developer.android.com/reference/android/telephony/TelephonyManager.html So, I feel you can copy&paste and incorporate them.

lars18th avatar Nov 28 '17 08:11 lars18th