Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,363 Members 48,297 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Windy Weather Live Wallpaper w/ No Watermark

Tip us?
 
dmerillat
Old
(Last edited by dmerillat; 2nd October 2012 at 02:50 PM.)
#21  
Junior Member
Thanks Meter 15
Posts: 20
Join Date: Sep 2012
Code:
10-02 08:36:18.470  2838  2838 I ActivityThread: Pub com.google.android.apps.plus.content.EsProvider: com.google.android.apps.plus.content.EsProvider
10-02 08:36:18.470   729   808 E android.os.Debug: !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
10-02 08:36:18.470  2787  2805 E AndroidRuntime: FATAL EXCEPTION: GLThread 264
10-02 08:36:18.470  2787  2805 E AndroidRuntime: java.lang.RuntimeException: native typeface cannot be made
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at android.graphics.Typeface.<init>(Typeface.java:247)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at android.graphics.Typeface.createFromFile(Typeface.java:241)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.InfoTextView.setTextFont(InfoTextView.java:63)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.SecretWallpaperService$CSPRenderer.loadCityName(SecretWallpaperService.java:2671)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.SecretWallpaperService$CSPRenderer.loadImages(SecretWallpaperService.java:2645)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.SecretWallpaperService$CSPRenderer.onDrawFrame(SecretWallpaperService.java:2749)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.GLThread.guardedRun(GLWallpaperService.java:746)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.GLThread.run(GLWallpaperService.java:585)
This is on the leaked Sprint JB rom - any idea how to figure out what font it's after?[COLOR="Silver"]

---------- Post added at 09:32 AM ---------- Previous post was at 08:43 AM ----------

Got it. DroidSans.ttf and DroidSans-Bold.ttf aren't actually fonts in the new JB leak, they're just a textfile with the real font name in them. I replaced them with the 4.0.4 versions and rebooted and I have my windmill back.

Code:
$ ls -l DroidSans.ttf
-rw-rw-r-- 1 0 0 18 2098-01-23 04:08 DroidSans.ttf
$ cat DroidSans.ttf 
Roboto-Regular.ttf
The Following User Says Thank You to dmerillat For This Useful Post: [ Click to Expand ]
 
Waffle265
Old
(Last edited by Waffle265; 2nd October 2012 at 05:15 PM.)
#22  
Junior Member - OP
Thanks Meter 20
Posts: 16
Join Date: Dec 2010
Quote:
Originally Posted by dmerillat View Post
Code:
10-02 08:36:18.470  2838  2838 I ActivityThread: Pub com.google.android.apps.plus.content.EsProvider: com.google.android.apps.plus.content.EsProvider
10-02 08:36:18.470   729   808 E android.os.Debug: !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
10-02 08:36:18.470  2787  2805 E AndroidRuntime: FATAL EXCEPTION: GLThread 264
10-02 08:36:18.470  2787  2805 E AndroidRuntime: java.lang.RuntimeException: native typeface cannot be made
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at android.graphics.Typeface.<init>(Typeface.java:247)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at android.graphics.Typeface.createFromFile(Typeface.java:241)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.InfoTextView.setTextFont(InfoTextView.java:63)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.SecretWallpaperService$CSPRenderer.loadCityName(SecretWallpaperService.java:2671)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.SecretWallpaperService$CSPRenderer.loadImages(SecretWallpaperService.java:2645)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.SecretWallpaperService$CSPRenderer.onDrawFrame(SecretWallpaperService.java:2749)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.GLThread.guardedRun(GLWallpaperService.java:746)
10-02 08:36:18.470  2787  2805 E AndroidRuntime:        at com.sec.ccl.csp.app.secretwallpaper.themetwo.GLThread.run(GLWallpaperService.java:585)
This is on the leaked Sprint JB rom - any idea how to figure out what font it's after?[COLOR="Silver"]

---------- Post added at 09:32 AM ---------- Previous post was at 08:43 AM ----------

Got it. DroidSans.ttf and DroidSans-Bold.ttf aren't actually fonts in the new JB leak, they're just a textfile with the real font name in them. I replaced them with the 4.0.4 versions and rebooted and I have my windmill back.

Code:
$ ls -l DroidSans.ttf
-rw-rw-r-- 1 0 0 18 2098-01-23 04:08 DroidSans.ttf
$ cat DroidSans.ttf 
Roboto-Regular.ttf
Well done. I haven't done much testing with this except on stock roms but I guess this will work on JB roms with a small modification. I still believe they have to be TouchWiz based though.

Also for those asking if I can remove the city name watermark, it is not possible at this time. That watermark is in the code itself. So, unfortunately unless I can decompile the files there is no current way to remove it.
 
dmerillat
Old
#23  
Junior Member
Thanks Meter 15
Posts: 20
Join Date: Sep 2012
Quote:
Originally Posted by Waffle265 View Post
Well done. I haven't done much testing with this except on stock roms but I guess this will work on JB roms with a small modification. I still believe they have to be TouchWiz based though.

Also for those asking if I can remove the city name watermark, it is not possible at this time. That watermark is in the code itself. So, unfortunately unless I can decompile the files there is no current way to remove it.
Maybe, I'm not sure how deep touchwiz goes. I know it requires WeatherDaemon from the same rom to provide com.sec.android.daemonapp.ap.accuweather, but it does work with non-touchwiz launchers.

It's worth trying on a non-samsung rom, to see what it does. Maybe once CM10 fixes the various hardware bugs I'll jump over to that, but samsung-branded JB is fine for now.

Good luck decompiling it - I did to examine the backtrace, and neither jd nor jad were able to handle it very well.
 
lespaul0143
Old
#24  
lespaul0143's Avatar
Senior Member
Thanks Meter 16
Posts: 264
Join Date: Jan 2011
Location: Rome
Moving the apk didn't work for me. It said "couldn't move apk". Not sure why.
 
Waffle265
Old
#25  
Junior Member - OP
Thanks Meter 20
Posts: 16
Join Date: Dec 2010
Quote:
Originally Posted by lespaul0143 View Post
Moving the apk didn't work for me. It said "couldn't move apk". Not sure why.
Try using the flashable version.
 
the.nebular
Old
#26  
Member
Thanks Meter 1
Posts: 30
Join Date: Nov 2009
So I tried this on CM10 since it was supposed to work on AOSP, however it didn't even show in my live wallpaper list. Is that normal if it isn't going to work or does it show up and crash or send an error? I'm just wondering if I'm missing something. And as for the guy who got it to work on non touchwiz what support apks did you need?
 
affenzeit
Old
#27  
affenzeit's Avatar
Member
Thanks Meter 4
Posts: 75
Join Date: Mar 2011
Location: Dallas
Did you use the flashable file on cm10?

Sent from my SCH-I535 using Tapatalk 2
 
the.nebular
Old
(Last edited by the.nebular; 3rd November 2012 at 03:49 PM.) Reason: Updating
#28  
Member
Thanks Meter 1
Posts: 30
Join Date: Nov 2009
Quote:
Originally Posted by affenzeit View Post
Did you use the flashable file on cm10?

Sent from my SCH-I535 using Tapatalk 2
Yes, and I manually moved it over using adb, terminal and file manager. Never shows up in my wallpaper list. My next step is to find a live wallpaper I know works and manually move it over and see if it auto populates.

Still if this is supposed to work with non touchwiz I want to know what's keeping CM10 from working.

Update:

Ok I downloaded Mario Live Wallpaper 0.94b and manually moved it over to /system/app using file manager, rebooted and it was in the list. So something is either broken or missing in CM10. Next step, I'm going to backup the rom in clockwork and just copy the whole of my backup of the stock /system/app. If that works, then it's just a matter of finding the right apk.
 
theatog
Old
(Last edited by theatog; 4th November 2012 at 09:42 PM.)
#29  
Junior Member
Thanks Meter 1
Posts: 5
Join Date: Nov 2011
Quote:
Originally Posted by the.nebular View Post
Yes, and I manually moved it over using adb, terminal and file manager. Never shows up in my wallpaper list. My next step is to find a live wallpaper I know works and manually move it over and see if it auto populates.

Still if this is supposed to work with non touchwiz I want to know what's keeping CM10 from working.

Update:

Ok I downloaded Mario Live Wallpaper 0.94b and manually moved it over to /system/app using file manager, rebooted and it was in the list. So something is either broken or missing in CM10. Next step, I'm going to backup the rom in clockwork and just copy the whole of my backup of the stock /system/app. If that works, then it's just a matter of finding the right apk.
I really want it on my CM10. Following this thread now. Pretty green in all these rom flashing business so I guess I better off wait patiently for someone to find a way for it to work with CM10.

I have been looking all over google and this forum and i'm starting to get more confused. I also wonder if I do need accuweather app on my phone for the LWP to reflect the weather.

Thanks so much in advance : )
 
the.nebular
Old
(Last edited by the.nebular; 8th November 2012 at 03:35 AM.) Reason: Update
#30  
Member
Thanks Meter 1
Posts: 30
Join Date: Nov 2009
ok I got it working I think. for CM10 you need com.sec.ccl.csp.app.secretwallpaper.themetwo.apk to get it to show up. now I don't have the location being printed on mine so I don't know if the weather is getting updated properly. It's sunny out right now so I can't be sure. I've tried going back to the original to se if it would show the accuweather info and it still had nothing, but I may have mixed things up and overwrote the original with this one. I'm going to a backup and trying again.

Update:

Ok tried the original apk, when running on my stock backup had the location and accuweather text, running on CM10, it did not. So, windy weather works, but until the weather changes from clear I won't know if it's getting updated

The Following User Says Thank You to the.nebular For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes