Market v. 2.2 - Need help with hacking Froyo Vending.apk
I disassembled eclairs patched and unpatched market versions with (bak)smali. I did a diff -r and it said this:
Code:
$diff -r unpatched/ patched/
diff -r unpatched//com/android/vending/model/DeviceConfigurationProto.smali patched//com/android/vending/model/DeviceConfigurationProto.smali
43c43
< .field public static final SCREEN_LAYOUT_SMALL:I = 0x1
---
> .field public static final SCREEN_LAYOUT_SMALL:I = 0x2
diff -r unpatched//com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali patched//com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali
51c51
< const/4 v3, 0x1
---
> const/4 v3, 0x2
As you see there are only two little changes.
Changing the second value in 2.2 is very easy, but there is no DeviceConfigurationProto.smali when disassembling the new classes.dex file.
Also no luck with
Code:
find . -iname '*' | xargs grep -i 'SCREEN_LAYOUT'
The first value seems to be set on a different way in this version, but I can't figure out how. Anybody with assembler-skills here, who can take a deeper look?
Any hints?
Edit: Seems, the second value does not need to be set.
|