mojo457 / market-enabler

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

MarketAccess detected no root although I have root #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using a custom ROM on 32A Magic/Sapphire.
I have root, confirmed by keying in "su" and getting # in the Terminal Emulator.
I have installed the latest superuser from
http://forum.xda-developers.com/showthread.php?t=682828

What steps will reproduce the problem?
1. Start MarketAccess
2. Select T-Mobile US
3. It prompts "You need root to use this application..."

What is the expected output? What do you see instead?
Should be able to fake. MarketEnable done it without issues.

What version of the product are you using? On what ROM?
1.0.5, on LegendROM by SanPei from 
http://forum.xda-developers.com/showthread.php?t=642125

Please provide any additional information below.

Attach a logcat output if possible.
D/gralloc (  105): requested 270080
D/gralloc (  105): init_pmem_area, err = 0
D/SimpleBestFitAllocator(  105): mHeapSize = 12582912
D/SimpleBestFitAllocator(  105): free_chunk = 4544552
D/gralloc (  105): requested 270080
D/gralloc (  105): init_pmem_area, err = 0
D/SimpleBestFitAllocator(  105): mHeapSize = 12582912
D/SimpleBestFitAllocator(  105): free_chunk = 6571232
D/gralloc (  105): requested 264120
D/gralloc (  105): init_pmem_area, err = 0
D/SimpleBestFitAllocator(  105): mHeapSize = 12582912
D/SimpleBestFitAllocator(  105): free_chunk = 6411352
D/gralloc (  105): requested 404480
D/gralloc (  105): init_pmem_area, err = 0
D/SimpleBestFitAllocator(  105): mHeapSize = 12582912
D/SimpleBestFitAllocator(  105): free_chunk = 4544552

Original issue reported on code.google.com by ykph...@gmail.com on 16 Jul 2010 at 2:46

GoogleCodeExporter commented 8 years ago
Hah, figured out the problem myself after looking thru MarketAccess's source 
code, the attached patch works for me though I do not know if it will work for 
others. Basically I tried in TerminalEmulator and the "id" command doesn't 
work, and /system/bin is not in my path.

Original comment by ykph...@gmail.com on 16 Jul 2010 at 3:03

Attachments:

GoogleCodeExporter commented 8 years ago
@Serge Allow to overide if MarketAccess says that it s not rooted and let the 
user choose to ignore that (with the warning that it possibly doesnt work on 
this phone)

Original comment by michel.racic on 16 Jul 2010 at 9:40

GoogleCodeExporter commented 8 years ago
I will apply the patch so it works on devices where /system/bin is not in PATH.

Original comment by sbara...@gmail.com on 16 Jul 2010 at 11:22

GoogleCodeExporter commented 8 years ago
Tried the suggested patch, it doesn't work on my N1 because "id" is in 
/system/xbin, not in /system/bin. Will work on a more universal solution.

Original comment by sbara...@gmail.com on 16 Jul 2010 at 12:39

GoogleCodeExporter commented 8 years ago
Should be fixed in r169.

Original comment by sbara...@gmail.com on 16 Jul 2010 at 2:58