Jump to content

High Res Gallery/Rotation Fix - In an easy update.zip


Guest Higgsy

Recommended Posts

Guest Higgsy

firstly all props for this go to the following

Number22@XDA for the High Res Gallery3D Original Thread - visit him and give him thanks!

Newbe5@Modaco for the accelerometer fix and The Vegan developers upstream, where I believe this was patched from Original Thread

My mate Sorensiim for the hosting of all my files allowing direct download and cutting out crappy file sharing sites.

All I am doing is packaging this in an update.zip format for ease of application. For all the people who are new to Android, but can't/don't want to get their heads around adb, this is why custom recovery is a must (clockworkmod in this case) as you can easily apply this mods and patches without the hassle - easy peasy.

Download from Here:

Vega High Res Gallery and Rotation Fix all in one Update.zip

Place this on the root of your SD card and then boot into clockworkmod recovery and choose apply zip from sdcard. once it has applied reboot and all will be done.

Its been tested on 1.06.5 with R6 installed, if you have questions about this mods contained in this package or clockwork recovery - please ask in the appropriate theads

Enjoy!

FYI:

little warning: apparently the rotation fix doesn't work well together with a usb-mouse, because it causes the mouse movement and mouse area to be rotated.

So in light of the above try it by all means, but if you have problems with a mouse heres another handy update.zip, that will revert the framework.jar and libsurfaceflinger_client.so back to stock, I haven't reverted the Gallery3D as that can only be a plus point imo.

Revert framework.jar & libsurfaceflinger_client to stock if having issues with usb mouse etc

Edited by Higgsy
Link to comment
Share on other sites

Guest simonta

Nice one Higgsy, Newbe5 and Number22.

For those without clockwork. Unzip the update and run these commands from the root of the unzip and reboot. (Windows folks, case is important).

adb remount

adb shell rm /system/app/Gallery3D.apk

adb shell rm /system/framework/framework.jar

adb shell rm /system/lib/libsurfaceflinger_client.so

adb push system/app/Gallery3D.apk /system/app

adb push system/framework/framework.jar /system/framework

adb push system/lib/libsurfaceflinger_client.so /system/lib

adb shell chmod 0755 /system/app/Gallery3D.apk

adb shell chmod 0755 /system/framework/framework.jar

adb shell chmod 0755 /system/lib/libsurfaceflinger_client.so

adb shell rm /data/dalvik-cache/*

adb reboot

Link to comment
Share on other sites

Guest Higgsy
Simon can the command lines start with just 'adb' or should it be 'adb-windows' or whatever OS being used ?

if you use the files that came down with the Modaco Mod, then paul renamed them to adb-windows.exe because there was also an adb for mac aswell - so just to differentiate between the 2 . Easiest thing to do if you only use windows is just rename adb-windows.exe to adb.exe - less key strokes and all that then, then the commands are as Simonta has posted.

Edited by Higgsy
Link to comment
Share on other sites

Guest Higgsy
Sorry to sound stupid, but do I already need to have gallery 3d installed, or is It installed by the update?

gallery3d is installed already its the icon below, but it does not show the pictures high res and currently suffers from an issue arising from the accelerometer, where the 3D aspect of it leans to one side. What this does is deletes the old Gallery3D, installs the new one and implements a fix for the accelerometer

19024529881727971758.png

Edited by Higgsy
Link to comment
Share on other sites

Guest thedicemaster

little warning: apparently the rotation fix doesn't work well together with a usb-mouse, because it causes the mouse movement and mouse area to be rotated.

Link to comment
Share on other sites

Guest shiblisattar
if you use the files that came down with the Modaco Mod, then paul renamed them to adb-windows.exe because there was also an adb for mac aswell - so just to differentiate between the 2 . Easiest thing to do if you only use windows is just rename adb-windows.exe to adb.exe - less key strokes and all that then, then the commands are as Simonta has posted.

Thanks I have tried what you have suggestered but can not find "choose apply zip from sdcard" in the ROM manager after reboot into recovery, what am I doing wrong ? Do I need to buy the premium version ?

Link to comment
Share on other sites

Guest Higgsy
Thanks I have tried what you have suggestered but can not find "choose apply zip from sdcard" in the ROM manager after reboot into recovery, what am I doing wrong ? Do I need to buy the premium version ?

this isn't applied by rom manager - I don't use the program, so have no idea about its functions - you need to use the clockwork mod recovery as posted in the stickys

Link to comment
Share on other sites

Guest Higgsy
little warning: apparently the rotation fix doesn't work well together with a usb-mouse, because it causes the mouse movement and mouse area to be rotated.

Added to the Op - not an issue for me as I don't and won't ever use the device with a mouse (I have a netbook for that lol), but I am aware a fair few people are setting this up like a mini desktop.

Link to comment
Share on other sites

Guest Higgsy

Added another update.zip to OP that you can flash if you want to revert to stock framework.jar/libsurfaceflinger_client.so because its giving you issues with USB mouse. See OP for more info

Link to comment
Share on other sites

Guest princeotter
Ok thanks for the tips (and indeed for the original post!)

I used Simonta's adb commands and the Gallery updated (well looks like it to me anyway) but it has reset my Home page back to the standard settings rather than the Launcher Pro setup I had. Did I type a command wrong or something? So I did a restore from Titanium Backup and now the Gallery is back to the old one - doh (unless my eyes are failing which is quite possible)! Anyway going to try it again.....

Edited by princeotter
Link to comment
Share on other sites

Guest shiblisattar
this isn't applied by rom manager - I don't use the program, so have no idea about its functions - you need to use the clockwork mod recovery as posted in the stickys

Right I am using clockwork rom recovery and can not see anything about Zip ? Am I missing something obvious ?

Link to comment
Share on other sites

Guest Higgsy
Right I am using clockwork rom recovery and can not see anything about Zip ? Am I missing something obvious ?

from main menu, its "install zip from sdcard", then "choose zip from sdcard", then choose the zip and the select yes on the next screen. Once applied, back to the main menu and reboot

Link to comment
Share on other sites

Guest princeotter

Daft question - but how can you check that you actually have the improved Gallery ? I think it has worked but then again it might just be that I cleaned my screen.....

Link to comment
Share on other sites

Guest Higgsy
Daft question - but how can you check that you actually have the improved Gallery ? I think it has worked but then again it might just be that I cleaned my screen.....

On the original gallery the images were not displayed in correct resolution, they were if you like degraded when displayed. Also as per the rotation fix the gallery leaned to one side when the device was straight - now it is straight after the fix.

Edit: just seen your other post. If you had used the update.zip I created, I could assure you it had applied, however as you've gone down the adb root - who knows??

Edited by Higgsy
Link to comment
Share on other sites

Guest princeotter
On the original gallery the images were not displayed in correct resolution, they were if you like degraded when displayed. Also as per the rotation fix the gallery leaned to one side when the device was straight - now it is straight after the fix.

Edit: just seen your other post. If you had used the update.zip I created, I could assure you it had applied, however as you've gone down the adb root - who knows??

Would have gone that way but had bad experience with CWM so reluctant to try it again. Already had to reflash today as it is as Pauls USB Switch didn't work - reverting to GScript one.

BTW is there a 'safe' way to get CWM installed?

Edited by princeotter
Link to comment
Share on other sites

Guest Higgsy
Would have gone that way but had bad experience with CWM so reluctant to try it again. Already had to reflash today as it is as Pauls USB Switch didn't work - reverting to GScript one.

BTW is there a 'safe' way to get CWM installed?

Fair comment, however i have used it loads and never had any problems.

Link to comment
Share on other sites

Nice one Higgsy, Newbe5 and Number22.

For those without clockwork. Unzip the update and run these commands from the root of the unzip and reboot. (Windows folks, case is important).

adb remount

adb shell rm /system/app/Gallery3D.apk

adb shell rm /system/framework/framework.jar

adb shell rm /system/lib/libsurfaceflinger_client.so

adb push system/app/Gallery3D.apk /system/app

adb push system/framework/framework.jar /system/framework

adb push system/lib/libsurfaceflinger_client.so /system/lib

adb shell chmod 0755 /system/app/Gallery3D.apk

adb shell chmod 0755 /system/framework/framework.jar

adb shell chmod 0755 /system/lib/libsurfaceflinger_client.so

adb shell rm /data/dalvik-cache/*

adb reboot

Thanks to all for this mod and for the adb route. Can you tell me what adb commands i need to type to use the second zip to restore the framwork.Jar etc?

Link to comment
Share on other sites

Thanks to all for this mod and for the adb route. Can you tell me what adb commands i need to type to use the second zip to restore the framwork.Jar etc?

Same as before just take out the bis that relate to gallery3d

Link to comment
Share on other sites

Guest Sir Gash

Strange, it didn't work for me. Kept getting stuck on the 'Booting...' screen. Had adb and revert back to the old framework.jar. I am not really an Android / Linux guru but from what I could tell when ADBing whilst hung, it looked like none of the mounts worked during the boot phase.

BTW, I used simonta's script (even though I have ClockworkMod installed)

Link to comment
Share on other sites

Strange, it didn't work for me. Kept getting stuck on the 'Booting...' screen. Had adb and revert back to the old framework.jar. I am not really an Android / Linux guru but from what I could tell when ADBing whilst hung, it looked like none of the mounts worked during the boot phase.

BTW, I used simonta's script (even though I have ClockworkMod installed)

If you have clockwork installed, why not use the update.zip

Link to comment
Share on other sites

Guest shameful

Evening all.

I've waiting until I came home this evening to try and give this a go. Tried the adb method and I have had no errors at all. However after rebooting and loading abduction 2 or Google Sky Maps. The orientation is still off. I thought I may have missed something. So i repeated the procedure with copying and pasting the commands. Another reboot later and the orientation is still off. I've tried enabling and disabling the Settings > G-Sensor > Game mode option to no avail.

Am I missing something simple? I could understand if I'd seen any errors but none happened that I am aware of.

Thanks.

Ill be a bit sporadic checking any replies. My Wife is due with our 1st at any time this week. Wahooo. :D

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.