OLYFR_U4_1.5.2 Market Fix

ghost_o

Member
Mar 14, 2010
32
5
0
Here is a simple fix for the market issues between stock and 1.5.2 - it assumes you have flashed the 1.5.2 sbf, and also re-rooted your device.

adb shell (or open a terminal on your phone)
su
mount -o rw,remount /dev/block/mmcblk0p12 /system
sed -i 's!OLYFR_U4_1.5.2/1298398352!OLYFR_U4_1.2.6/1296900353!' /system/build.prop
reboot

I have been running with this most of the day with no issues noticed..

-G
 
Last edited:

Clienterror

Senior Member
Jun 21, 2010
2,093
361
0
Quad Cities, Illinois
Funny, I just told someone else how to do this this morning. I'm surprised this hasn't come up sooner. I've been using this since the sbf has been released with no problems, guess I should have posted this solution sooner my b :-(

Sent from my MB860 using Tapatalk
 

Da_G

Inactive Senior Recognized Developer / Moderator E
Aug 20, 2007
3,320
1,553
253
Riverside, CA
from a command prompt in windows/linux:

you: adb shell
reply: $
you: su
(accept prompt on device, make sure it's unlocked and @ homescreen or it might not pop up)
reply: #
you: mount -o rw,remount /dev/block/mmcblk0p12 /system
reply: (copies it back)
you: sed -i 's!OLYFR_U4_1.5.2/1298398352!OLYFR_U4_1.2.6/1296900353!' /system/build.prop
reply:
you: reboot

:)
 

ghost_o

Member
Mar 14, 2010
32
5
0
from a command prompt in windows/linux:

you: adb shell
reply: $
you: su
(accept prompt on device, make sure it's unlocked and @ homescreen or it might not pop up)
reply: #
you: mount -o rw,remount /dev/block/mmcblk0p12 /system
reply: (copies it back)
you: sed -i 's!OLYFR_U4_1.5.2/1298398352!OLYFR_U4_1.2.6/1296900353!' /system/build.prop
reply:
you: reboot

:)
Thanks,

I made some assumptions that people would know the prerequisites :)

I edited the original.

-G
 

ghost_o

Member
Mar 14, 2010
32
5
0
Well I did it with the first method and it works fine except the market doesn't update to the new market. :)
First method?

The sed command is the only command I have posted.. You could use 'vi' directly on the device as well.. My market updated to the new version just fine after I made the change. (albeit I used vi on the device through adb shell). I just posted the sed string for people not familiar with unix, or who might want to script it..
 

Fixter

Senior Member
Jun 6, 2009
1,407
92
0
Durham
First method?

The sed command is the only command I have posted.. You could use 'vi' directly on the device as well.. My market updated to the new version just fine after I made the change. (albeit I used vi on the device through adb shell). I just posted the sed string for people not familiar with unix, or who might want to script it..
I meant to say the first method where you only posted
Adb shell
su
sed
reboot.

Nothing about remounting, like what Da_G posted. Might have something to do with it?
 

ghost_o

Member
Mar 14, 2010
32
5
0
I meant to say the first method where you only posted
Adb shell
su
sed
reboot.

Nothing about remounting, like what Da_G posted. Might have something to do with it?
Ahhh, you must have already run something that re-mounted it rw for you. It would have failed otherwise... You can always try to put it back, and let the market update, and then change it again to get the apps back. I seriously doubt that is what is keeping your market from updating though.
 

Fixter

Senior Member
Jun 6, 2009
1,407
92
0
Durham
Ahhh, you must have already run something that re-mounted it rw for you. It would have failed otherwise... You can always try to put it back, and let the market update, and then change it again to get the apps back. I seriously doubt that is what is keeping your market from updating though.
Thats exactly what I'm thinking. That doesn't have to do anything with the Market updating... Stupid market... -kicks-
 

Djazin

Senior Member
Sep 19, 2010
286
64
0
Thats exactly what I'm thinking. That doesn't have to do anything with the Market updating... Stupid market... -kicks-
should be able to reverse by switching up this part:
sed -i 's!OLYFR_U4_1.5.2/1298398352!OLYFR_U4_1.2.6/1296900353!' /system/build.prop

to:

sed -i 's!OLYFR_U4_1.2.6/1296900353!OLYFR_U4_1.5.2/1298398352!' /system/build.prop

then have the market update without a problem and then reapply the fix, though I'm sure you thought of this already XD
 

Fixter

Senior Member
Jun 6, 2009
1,407
92
0
Durham
should be able to reverse by switching up this part:
sed -i 's!OLYFR_U4_1.5.2/1298398352!OLYFR_U4_1.2.6/1296900353!' /system/build.prop

to:

sed -i 's!OLYFR_U4_1.2.6/1296900353!OLYFR_U4_1.5.2/1298398352!' /system/build.prop

then have the market update without a problem and then reapply the fix, though I'm sure you thought of this already XD
Yeah I tried that with no success... I wonder if it was the Gingerblur.
 

drumercalzone09

Senior Member
Mar 16, 2011
88
21
0
Atlanta, GA
sed: write error

Hey, I was wondering if anyone here could help me.

I've reflashed from GingerBLUR 6.5, and can't seem to apply the market fix. I keep getting a write error when I apply the sed command.
 

ghost_o

Member
Mar 14, 2010
32
5
0
You have to be rooted, and remount /system as read/write prior. The mount command right before the serd command is needed. Also, make sure your "su" command is successful. If not, the rest will not work..