jforce356 / market-enabler

Automatically exported from code.google.com/p/market-enabler
0 stars 0 forks source link

no longer work on donut 1.6 market #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Can not download any app if fake to any listed mobile carrier.

Original issue reported on code.google.com by KNom...@gmail.com on 28 Sep 2009 at 6:24

GoogleCodeExporter commented 8 years ago
First: 1.6 Market is not yet officially out
Second: If it's finally out, a new reverse engineering of the Market is needed 
to see
how the phone will be identified.

I added a note on the start page that it probably doesn't work on new Market.

Original comment by michel.racic on 28 Sep 2009 at 8:29

GoogleCodeExporter commented 8 years ago
I just got a response from someone with 1.6 rom and he says that it worked on 
his
phone...

Original comment by michel.racic on 13 Oct 2009 at 8:26

GoogleCodeExporter commented 8 years ago
partially working.

Hardware(irrelevant in this case): ADP1
Firmware: dwang modified adp1 1.6( he just added root, tether support and a 
memory path, nothing 
relevant )
Country: Portugal
Market Enabler version: 3.0.2 beta
Settings: tmobile usa

Expected: access paid apps tab, search for paid apps and purchase

Result: I can only see the free and just in tabs on the 1.6 market app, 
searching for paid apps works( 
though I'm not 100% sure ), purchasing: untested, the just in tab lists free 
and paid apps.

Notes: on previous cyanogen builds, before the final adp1 1.6 was released and 
used as base for new 
custom roms, it all worked well, the market app even displayed the paid apps 
tab. 

I'm guessing it's a file related to the new final 1.6 market app in need of 
patch and everything else 
works.

Original comment by lmjab...@gmail.com on 13 Oct 2009 at 9:05

GoogleCodeExporter commented 8 years ago
Thx for the reply Luis

If I understand you right, you can see paid apps if you search for a paid app 
but you
can't set the filter tab on paid apps?

Original comment by michel.racic on 14 Oct 2009 at 8:32

GoogleCodeExporter commented 8 years ago
That's correct

Original comment by lmjab...@gmail.com on 14 Oct 2009 at 8:37

GoogleCodeExporter commented 8 years ago
maybe it just has to do with the image (hopefully) like the problem that 
protected
apps cant be seen (on some images).

Have you tried a wipe?

Original comment by michel.racic on 14 Oct 2009 at 11:35

GoogleCodeExporter commented 8 years ago
Yes I already wiped and tried a couple of different roms, 

this is first one I tried with: 
http://forum.xda-developers.com/showthread.php?t=538456
and this is the one I'm currently running: 
http://forum.xda-developers.com/showthread.php?t=567023

Original comment by lmjab...@gmail.com on 14 Oct 2009 at 12:27

GoogleCodeExporter commented 8 years ago
I've just used Market Enabler on a 1.6 android (running Cyanogen 4.1.999/HTC 
Magic, 
PVT32A) to buy apps.

Original comment by fredrik....@gmail.com on 19 Oct 2009 at 8:01

GoogleCodeExporter commented 8 years ago
@fredrik read what other people wrote, you can buy apps using market enabler on 
1.6, 
but the paid apps tab on the market app isn't showing up.

Original comment by lmjab...@gmail.com on 19 Oct 2009 at 8:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
perfect

Original comment by torotho...@gmail.com on 26 Oct 2009 at 3:06

GoogleCodeExporter commented 8 years ago
On Cyanogen 4.2.2 I'm able to buy application but not to download it.

Original comment by kep...@gmail.com on 29 Oct 2009 at 12:08

GoogleCodeExporter commented 8 years ago
I can buy and download but some carriers in list do not allow me to download 
after 
fake.
To all users can't download, report your territory and check if there's 
internal block 
in your territory.

Original comment by KNom...@gmail.com on 29 Oct 2009 at 12:54

GoogleCodeExporter commented 8 years ago
@kepicz: The not able to download problem is a Android Market problem that 
exists
since 1.0, mostly a reboot or a wipe solves this problem. I had this a couple 
times
(before and after developing ME).

@KNomade: What do you mean with "internal block"?

Original comment by michel.racic on 29 Oct 2009 at 7:59

GoogleCodeExporter commented 8 years ago
@michel: internal block is referring to network restriction by their local 
authorities in some area that result google market, gmail to work improperly.

For those ones having problem to download apps. I recommend you try faking to 
different carries other than T-mobile than re-download.

For those ones having problem to download gmail. I recommend you to manual 
close 
Gmail and Gmail Storage by using task management tools such as Advanced Task 
Manager 
then retry.

Original comment by KNom...@gmail.com on 29 Oct 2009 at 1:09

GoogleCodeExporter commented 8 years ago
Tried with Cyanogenmod 4.2.7.1.

First attempt was unsuccessfull, market says network error with every provider, 
but 
after restart, it works like a charm. Buyed, downloaded and installed app 
without 
problem. Thanks for this app.

Original comment by kep...@gmail.com on 12 Dec 2009 at 10:20

GoogleCodeExporter commented 8 years ago
Is this going to be fixed in a future version? And if not, are there any known
workarounds to get paid apps working in Donut for those of us with crappy 
providers?

Original comment by n.rijk...@gmail.com on 17 Dec 2009 at 12:24

GoogleCodeExporter commented 8 years ago
@n.rijksen whats exactly your problem?

Original comment by michel.racic on 17 Dec 2009 at 12:29

GoogleCodeExporter commented 8 years ago
@michel, the fact that it's not working on 1.6

Original comment by n.rijk...@gmail.com on 20 Dec 2009 at 3:44

GoogleCodeExporter commented 8 years ago
@n.rijksen It's working on 1.6 market (don't know yet for the newest T-Mobile 
release
of the market)
Could you please attach a lolcat of MarkeetEnabler operation?

Original comment by michel.racic on 21 Dec 2009 at 11:23

GoogleCodeExporter commented 8 years ago
Here you go (this is launching the activity, applying t-mobile US and then 
starting
the market).

I/ActivityManager(  142): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.androidiani.M
arketEnabler/.view.StartUpView }
I/ActivityManager(  142): Start proc com.androidiani.MarketEnabler for activity
com.androidiani.MarketEnabler/.view.StartUpView: pid=4034 uid=10046 gids={3003,
1015}
I/XT9IME  (  454): [finishInput]
I/MarketEnabler( 4034): Start app
W/FlurryAgent(  208): onEndSession called without context from corresponding onS
tartSession
D/dalvikvm( 4034): GC freed 923 objects / 72416 bytes in 104ms
I/MarketEnabler( 4034): Start setting up tabs
I/MarketEnabler( 4034): Start getting UI elements
I/MarketEnabler( 4034): Getting actual values from TelephonyManager
I/MarketEnabler( 4034): Start getting UI elements
I/ActivityManager(  142): Displayed activity com.androidiani.MarketEnabler/.view
.StartUpView: 1227 ms (total 1227 ms)
I/MarketEnabler( 4034): Changed to tab initiated [List]
I/XT9IME  (  454): [finishInput]
D/MarketEnabler( 4034): starting setValues with list item[3]
D/MarketEnabler( 4034): starting setValues with list item[3] provider config[T-M
obile]
D/MarketEnabler( 4034): starting setValues
I/MarketEnabler( 4034): dropping shell commands for list values
D/MarketEnabler( 4034): Starting shell thread with [8] commands
I/MarketEnabler( 4034): Starting exec of su
I/MarketEnabler( 4034): Starting command loop
I/MarketEnabler( 4034): Executing [setprop gsm.sim.operator.numeric 31026]
I/MarketEnabler( 4034): Executing [setprop gsm.sim.operator.numeric 31026] os.fl
ush()
D/MarketEnabler( 4034): progress msg[1, -1] getprogress[0]
D/MarketEnabler( 4034): increment progress msg[1, -1] getprogress[0]
I/MarketEnabler( 4034): Executing [setprop gsm.operator.numeric 31026]
I/MarketEnabler( 4034): Executing [setprop gsm.operator.numeric 31026] os.flush(
)
D/MarketEnabler( 4034): progress msg[2, -1] getprogress[1]
D/MarketEnabler( 4034): increment progress msg[2, -1] getprogress[1]
I/MarketEnabler( 4034): Executing [setprop gsm.sim.operator.iso-country us]
I/MarketEnabler( 4034): Executing [setprop gsm.sim.operator.iso-country us] os.f
lush()
D/MarketEnabler( 4034): progress msg[3, -1] getprogress[2]
D/MarketEnabler( 4034): increment progress msg[3, -1] getprogress[2]
I/MarketEnabler( 4034): Executing [setprop gsm.operator.iso-country us]
I/MarketEnabler( 4034): Executing [setprop gsm.operator.iso-country us] os.flush
()
D/MarketEnabler( 4034): progress msg[4, -1] getprogress[3]
D/MarketEnabler( 4034): increment progress msg[4, -1] getprogress[3]
I/MarketEnabler( 4034): Executing [setprop gsm.operator.alpha "T-Mobile"]
I/MarketEnabler( 4034): Executing [setprop gsm.operator.alpha "T-Mobile"] os.flu
sh()
D/MarketEnabler( 4034): progress msg[5, -1] getprogress[4]
D/MarketEnabler( 4034): increment progress msg[5, -1] getprogress[4]
I/MarketEnabler( 4034): Executing [setprop gsm.sim.operator.alpha "T-Mobile"]
I/MarketEnabler( 4034): Executing [setprop gsm.sim.operator.alpha "T-Mobile"] os
.flush()
D/MarketEnabler( 4034): progress msg[6, -1] getprogress[5]
D/MarketEnabler( 4034): increment progress msg[6, -1] getprogress[5]
I/MarketEnabler( 4034): Executing [kill $(ps | grep vending | tr -s  ' ' | cut -
d ' ' -f2)]
I/MarketEnabler( 4034): Executing [kill $(ps | grep vending | tr -s  ' ' | cut -
d ' ' -f2)] os.flush()
D/MarketEnabler( 4034): progress msg[7, -1] getprogress[6]
D/MarketEnabler( 4034): increment progress msg[7, -1] getprogress[6]
D/su      ( 4042): 10046:10046 com.androidiani.MarketEnabler executing 0:0 /syst
em/bin/sh
I/MarketEnabler( 4034): Executing [rm -rf /data/data/com.android.vending/cache/*
]
I/MarketEnabler( 4034): Executing [rm -rf /data/data/com.android.vending/cache/*
] os.flush()
D/MarketEnabler( 4034): progress msg[8, -1] getprogress[7]
D/MarketEnabler( 4034): increment progress msg[8, -1] getprogress[7]
D/MarketEnabler( 4034): progress msg[0, 0] getprogress[8]
D/MarketEnabler( 4034): dismiss progress msg[0, 0] getprogress[8]
I/NotificationService(  142): enqueueToast pkg=com.androidiani.MarketEnabler cal
lback=android.app.ITransientNotification$Stub$Proxy@43ed1a78 duration=1
W/InputManagerService(  142): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@43cb25e0
D/dalvikvm(  314): GC freed 21476 objects / 1267808 bytes in 219ms
I/HTCIMEService(  454): onReceive - android.intent.action.CLOSE_SYSTEM_DIALOGS
I/ActivityManager(  142): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=mobi.intuitit.android
.x.launcher/.Launcher }
W/IInputConnectionWrapper( 4034): showStatusIcon on inactive InputConnection
I/ActivityManager(  142): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.vendi
ng/.AssetBrowserActivity }
I/ActivityManager(  142): Start proc com.android.vending for activity com.androi
d.vending/.AssetBrowserActivity: pid=4058 uid=10034 gids={3003}
W/FlurryAgent(  208): onEndSession called without context from corresponding onS
tartSession
I/ActivityThread( 4058): Publishing provider com.android.vending.SuggestionsProv
ider: com.android.vending.SuggestionsProvider
D/dalvikvm( 4058): GC freed 2197 objects / 154016 bytes in 99ms
D/vending ( 4058): com.android.vending.LocalDbSyncService.run(): Syncing local D
B with package manager...
I/ActivityManager(  142): Displayed activity com.android.vending/.AssetBrowserAc
tivity: 1774 ms (total 1774 ms)
D/vending ( 4058): com.android.vending.LocalDbSyncService.syncLocalDbWithPackage
Manager(): No INSTALLING or UNINSTALLING assets.
D/vending ( 4058): com.android.vending.LocalDbSyncService.run(): Syncing done.
D/dalvikvm( 4058): GC freed 5618 objects / 325368 bytes in 104ms
D/dalvikvm(  208): GC freed 6286 objects / 311304 bytes in 144ms
D/dalvikvm( 4058): GC freed 5166 objects / 472792 bytes in 134ms
I/XT9IME  (  454): [finishInput]
D/dalvikvm(  142): GC freed 19839 objects / 975496 bytes in 420ms
D/dalvikvm( 4058): GC freed 2291 objects / 169328 bytes in 98ms
D/dalvikvm( 4058): GC freed 3492 objects / 336216 bytes in 98ms
I/ActivityManager(  142): Starting activity: Intent { act=android.intent.action.
VIEW typ=vnd.android.cursor.dir/vending_applications cmp=com.android.vending/.Ca
tegoriesWithAppsListActivity }
D/dalvikvm( 4058): GC freed 4505 objects / 348168 bytes in 113ms
I/XT9IME  (  454): [finishInput]
I/ActivityManager(  142): Displayed activity com.android.vending/.CategoriesWith
AppsListActivity: 716 ms (total 716 ms)
I/ActivityManager(  142): Starting activity: Intent { act=android.intent.action.
VIEW typ=vnd.android.cursor.dir/vending_applications cmp=com.android.vending/.Ta
bbedAppBrowser (has extras) }
I/XT9IME  (  454): [finishInput]
I/ActivityManager(  142): Displayed activity com.android.vending/.TabbedAppBrows
er: 568 ms (total 568 ms)
D/dalvikvm( 4058): GC freed 9110 objects / 660456 bytes in 117ms
D/dalvikvm( 4058): GC freed 4109 objects / 322320 bytes in 110ms
D/dalvikvm(  429): GC freed 3623 objects / 163168 bytes in 992ms
D/dalvikvm( 4058): GC freed 9362 objects / 645168 bytes in 126ms
D/WindowManager(  142): I'm tired mEndcallBehavior=0x2
D/Sensors (  142): sensors=00000000, real=00000000
D/PhoneWindow( 4058): couldn't save which view has focus because the focused vie
w com.android.internal.policy.impl.PhoneWindow$DecorView@43c19ab0 has no id.
D/WifiService(  142): ACTION_SCREEN_OFF
D/WifiService(  142): setting ACTION_DEVICE_IDLE timer for 900000ms
D/AKMD    (  131): Compass CLOSE
I/ActivityManager(  142): Starting activity: Intent { flg=0x10000000 cmp=com.jac
kdoit.lockbotfree/.activity.FullscreenLockActivity (has extras) }
E/ResourceType(  142): Style contains key with bad entry: 0x010102ab
E/ResourceType(  815): Style contains key with bad entry: 0x010102ab
D/SurfaceFlinger(  142): About to give-up screen, flinger = 0x100420
D/dalvikvm(  815): GC freed 806 objects / 45160 bytes in 94ms
W/ActivityManager(  142): Activity pause timeout for HistoryRecord{43ed9eb0 com.
jackdoit.lockbotfree/.activity.FullscreenLockActivity}
D/dalvikvm(  815): GC freed 753 objects / 265144 bytes in 204ms
I/ActivityManager(  142): Displayed activity com.jackdoit.lockbotfree/.activity.
FullscreenLockActivity: 1112 ms (total 1112 ms)
W/IInputConnectionWrapper(  815): showStatusIcon on inactive InputConnection
D/dalvikvm(  299): GC freed 1895 objects / 84848 bytes in 138ms
^C

Original comment by n.rijk...@gmail.com on 21 Dec 2009 at 1:00

GoogleCodeExporter commented 8 years ago
Try the following on a console (adb or terminal app) and post the output
  su
  setprop gsm.sim.operator.numeric 310260
  setprop gsm.operator.numeric 310260
  ps|head
  ps | grep vending
  ps | grep vending | tr -s ‘ ‘ | cut -d ‘ ‘ -f2
  kill $(ps | grep vending | tr -s ‘ ‘ | cut -d ‘ ‘ -f2)
  rm -rf /data/data/com.android.vending/cache/*
  getprop gsm.sim.operator.numeric
  getprop gsm.operator.numeric

Original comment by michel.racic on 21 Dec 2009 at 2:36

GoogleCodeExporter commented 8 years ago
It WORKED! :D

Here are the results, hopefully you can implement this into market enabler so I 
can
enable the full market more easily next time :)

# su
su
# setprop gsm.sim.operator.numeric 310260
setprop gsm.sim.operator.numeric 310260
# setprop gsm.operator.numeric 310260
setprop gsm.operator.numeric 310260
# ps|head
ps|head
USER     PID   PPID  VSIZE RSS   WCHAN    PC         NAME
root     1     0     284   152   c00c3338 0000c93c S /init
root     2     0     0     0     c006a014 00000000 S kthreadd
root     3     2     0     0     c0059d1c 00000000 S ksoftirqd/0
root     4     2     0     0     c0085934 00000000 S watchdog/0
root     5     2     0     0     c0066470 00000000 S events/0
root     6     2     0     0     c0066470 00000000 S khelper
root     7     2     0     0     c0066470 00000000 S suspend
root     8     2     0     0     c0066470 00000000 S kblockd/0
root     9     2     0     0     c0066470 00000000 S kmmcd
# ps | grep vending
ps | grep vending
app_34   4058  125   122940 11376 ffffffff afe0dc44 S com.android.vending
# ps | grep vending | tr -s ‘ ‘ | cut -d ‘ ‘ -f2
ps | grep vending | tr -s ' ' | cut -d ' ' -f2
4058
# kill $(ps | grep vending | tr -s ‘ ‘ | cut -d ‘ ‘ -f2)
kill $(ps | grep vending | tr -s ' ' | cut -d ' ' -f2)
# rm -rf /data/data/com.android.vending/cache/*
rm -rf /data/data/com.android.vending/cache/*
# getprop gsm.sim.operator.numeric
getprop gsm.sim.operator.numeric
310260
# getprop gsm.operator.numeric
getprop gsm.operator.numeric
310260

I had logcat running while I executed the cmd's, here are the results:

I/WindowManager(  142): WIN DEATH: Window{43eb66c0
com.android.vending/com.android.vending.AssetBrowserActivity paused=false}
I/WindowManager(  142): WIN DEATH: Window{43f4a340
com.android.vending/com.android.vending.MyDownloadsActivity paused=false}
I/WindowManager(  142): WIN DEATH: Window{43b93dd8
com.android.vending/com.android.vending.AssetInfoActivity paused=false}
D/Zygote  (  125): Process 4058 terminated by signal (15)
I/ActivityManager(  142): Process com.android.vending (pid 4058) has died.

Thanks!

Original comment by n.rijk...@gmail.com on 21 Dec 2009 at 3:43

GoogleCodeExporter commented 8 years ago
Hi there,

For the ones who have the 1.6 market working; but no longer have the "paid 
apps" tab;
I finally got it working properly (okay, you might not like the method below; 
use at
your own risks ;)

Note: Some of the below steps might not be needed; I haven't looked further.

1) Fake your provider (in this example, I chose T-Mobile italy (TIM)
2) Set the following props: 

# setprop gsm.sim.operator.iso-country it
# setprop gsm.operator.iso-country it
# setprop gsm.operator.alpha TIM
# setprop gsm.sim.operator.alpha TIM

3) Not only clear your cache; but also your db (clearing the cache is not 
enough)

# rm -rf /data/data/com.android.vending/*

4) Run android market
5) Here it is again.

Note: I was a bit afraid that getting rid of my db would cause issues with 
previously
installed apps/bought apps; but after browsing for them they are still marked as
installed ; refund is still possible for some of them.

Note2: Make a backup of your directory's content before clearing it...U never 
know...

Feel free to give a feedback || mention unnecessary steps.

Cheers,

Chris.

Original comment by chris.sc...@gmail.com on 23 Feb 2010 at 4:38

GoogleCodeExporter commented 8 years ago
Turns out; by putting back my backup and by only modifing the following, it 
works too: 

<boolean name="metadata_paid_apps_enabled" value="false" /> 
to:
<boolean name="metadata_paid_apps_enabled" value="true" /> 

into the /data/data/com.android.vending/shared_prefs/vending_preferences.xml

:)

Original comment by chris.sc...@gmail.com on 23 Feb 2010 at 5:15