FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[FIX] wallpaper scrolling issue on TWLAUNCHER

3,564 posts
Thanks Meter: 6,322
 
Post Reply Subscribe to Thread Email Thread
23rd March 2012, 01:15 AM |#21  
DAGr8's Avatar
OP Recognized Developer
Montreal
Thanks Meter: 6,322
 
Donate to Me
More
Quote:
Originally Posted by 00mred00

Dagr8...just a heads up...the skyrocket gallery already allows for lanscape and portrait. ..and scrolling has not been an issue


Again..it may be a 2.3.5 vs 2.3.6 issue but our skyrocket does both with no modifications needed

Sent from my SAMSUNG-SGH-I717 using XDA App

yes its a 2.3.5 vs 2.3.6 issue hence title of the thread slightly different on the skyrocket section
The Following User Says Thank You to DAGr8 For This Useful Post: [ View ]
 
 
23rd March 2012, 01:20 AM |#22  
Senior Member
Thanks Meter: 76
 
More
Would it be too much to ask for a cwm zip?

Sent from my SAMSUNG-SGH-I717
23rd March 2012, 01:28 AM |#23  
DAGr8's Avatar
OP Recognized Developer
Montreal
Thanks Meter: 6,322
 
Donate to Me
More
Quote:
Originally Posted by s1mpd1ddy

Would it be too much to ask for a cwm zip?

Sent from my SAMSUNG-SGH-I717


for what rom ? stock telus ? stock bell stock rogers ? TPC 's or Saurom ?

I guess you get my point

I published the fix for devs to include in there rom , I know its included in mine already ...
23rd March 2012, 01:50 AM |#24  
Senior Member
Thanks Meter: 76
 
More
Stock att rom of you could be so kind!

Sent from my SAMSUNG-SGH-I717
23rd March 2012, 02:45 AM |#25  
lactardjosh's Avatar
Senior Member
Thanks Meter: 300
 
Donate to Me
More
As of right now, if you're stock AT&T and haven't done anything with your phone, you're odexed. Flashing a deodexed framework.jar will make your phone bootloop or not boot at all. You need an odexed framework for the stock ROM.
The Following User Says Thank You to lactardjosh For This Useful Post: [ View ]
23rd March 2012, 03:00 AM |#26  
Senior Member
Thanks Meter: 76
 
More
Quote:
Originally Posted by lactardjosh

As of right now, if you're stock AT&T and haven't done anything with your phone, you're odexed. Flashing a deodexed framework.jar will make your phone bootloop or not boot at all. You need an odexed framework for the stock ROM.

Okay .. I'll just flash a rom then. hmm... or maybe I can look up how to deodex frameworks...

nvm. lol ill let the pros do that
23rd March 2012, 03:24 AM |#27  
Senior Member
Thanks Meter: 72
 
More
Thanks for posting this dagr8, now ill have an easy way to undo the scrolling wallpapers once they become standard on roms. Scrolling wallpapers have been my biggest "hate" about android.

Sent from my SAMSUNG-SGH-I717 using xda premium
23rd March 2012, 04:03 AM |#28  
DAGr8's Avatar
OP Recognized Developer
Montreal
Thanks Meter: 6,322
 
Donate to Me
More
Quote:
Originally Posted by jimmer411

Thanks for posting this dagr8, now ill have an easy way to undo the scrolling wallpapers once they become standard on roms. Scrolling wallpapers have been my biggest "hate" about android.

Sent from my SAMSUNG-SGH-I717 using xda premium

mm , then you just choose portrait size image and it wont scroll .. or barely noticeable ????
23rd March 2012, 06:59 AM |#29  
00mred00's Avatar
Senior Member
Flag Princeton Tx
Thanks Meter: 411
 
Donate to Me
More
Cool cool

Sent from my SAMSUNG-SGH-I717 using XDA App
23rd March 2012, 07:53 PM |#30  
pro_b's Avatar
Senior Member
Thanks Meter: 149
 
More
Quote:
Originally Posted by dkirchik

What I did to pull it and do the edits was to adb pull /system/framework/framework.jar then edited the lines in a text editor, then just adb pushed <location of edited file> (to) /system/framework/framework.jar

Hope it helps

EDIT::::

This is what I did, figure I'd explain on it.. adb pull /system/framework/framework.jar

That pulled it into my android platform-tools.

then I had to decompile the framework .jar I used the android apk tool to decompile it by in cmd (file location of the android apk tool) apktool d framework.jar ./out

which made a file called out. out>smali>android>service>wallpaper then find WallpaperService$Engine.smali

I edited the .smali in notepad.. Follow Da_g's OP to edit the lines. (For me the lines were the same as his, but may not be for you).

after you've edited it, save it then you have to recompile it.

back to cmd; apktool b -f -d out it'll recomplie it all to out>dist> framework.jar

then you need to adb push the framework back to system/framework/framework.jar

for me i used root explorer to make the /system R/W its quicker for me then doing it in adb shell.

Hope it helps those confused and I mean no disrespect to Da_g for positing this, just hope this would save some time for those that dont know how to do it.

And Da_g, if I posted this in the wrong place, Sorry, just let me know and I'll remove it.

Thanks so much for these instructions. It worked like a charm and helped someone who know nothing about programming (but I can read and follow directions).

P.S. I am on the Skyrocket (AT&T) using NexusM0d4 Rom.
Last edited by pro_b; 23rd March 2012 at 07:55 PM.
23rd March 2012, 11:02 PM |#31  
lactardjosh's Avatar
Senior Member
Thanks Meter: 300
 
Donate to Me
More
There's a bit of a difference between the Rogers framework.jar and AT&T framework.jar apparently. I had to make some modifications to your code to get this to work on stock AT&T.

For stock AT&T, I had to change the smali to this:

Code:
.line 735
    :try_start_0
    iget v1, p0, Landroid/service/wallpaper/WallpaperService$Engine;->mPendingXOffset:F

    .line 736
    .local v1, xOffset:F
    iget v2, p0, Landroid/service/wallpaper/WallpaperService$Engine;->mPendingYOffset:F

    .line 737
    .local v2, yOffset:F
    iget v3, p0, Landroid/service/wallpaper/WallpaperService$Engine;->mPendingXOffsetStep:F

    .line 738
    .local v3, xOffsetStep:F
    iget v4, p0, Landroid/service/wallpaper/WallpaperService$Engine;->mPendingYOffsetStep:F

    .line 739
    .local v4, yOffsetStep:F
    iget-boolean v9, p0, Landroid/service/wallpaper/WallpaperService$Engine;->mPendingSync:Z

    .line 740
    .local v9, sync:Z
    const/4 v10, 0x0

    iput-boolean v10, p0, Landroid/service/wallpaper/WallpaperService$Engine;->mPendingSync:Z

    .line 741
    const/4 v10, 0x0

    iput-boolean v10, p0, Landroid/service/wallpaper/WallpaperService$Engine;->mOffsetMessageEnqueued:Z

    .line 742
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

Notice that additional lines need to be changed at the end.

Flashable zip for stock, odexed AT&T is getting uploaded and should be ready soon.
Edit: here is the flashable zip for stock, odexed AT&T
Last edited by lactardjosh; 23rd March 2012 at 11:48 PM.
The Following User Says Thank You to lactardjosh For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes