Hi guys, if you've tried making your own theme for the theme chooser from scratch, you'll know how ridiculously annoying it is to add every image to the concerned xml file. Well I got fed up with it and wrote a command line tool to generate the xml for you.
To use it, you put all the images that you want to add in a folder, and then run the following command (you need the Java runtime environment for your operating system) (note that your images can begin with "frameworks_res_" or other package names - the program will automatically detect most of the common package names and you can specify your own as shown below)
Code:
$java -jar XMLGenerator.jar [package_name_1] [package_name_2] [package_name_3] [etc] [/path/to/input/folder] [outputfile]
For a more detailed guide about how to set up java and use this program, see this.
Suppose you have a folder "myDir" with 3 images: com_nhnt11_image1.png, com_nhnt22_image2.png, and frameworks_res_image3.png.
Then run
Code:
$java -jar XMLGenerator.jar com_nhnt11 com_nhnt22 myDir output.xml
The output of the program would be a file "output.xml" containing this:
Code:
<item name="drawable/image1">@drawable/com_nhnt11_image1</item>
<item name="drawable/image2">@drawable/com_nhnt22_image2</item>
<item name="drawable/image3">@drawable/frameworks_res_image3</item>
Then you can copy and paste this to whichever XML you need.
Enjoy!
Here is a list of package names that are automatically detected
This is very helpful !!
Sent from my Optimus 2X
Much much love for this! Thanks man!
This will save me a lot of time..Thank you
Awesome, thanks.
thanks man!
I've been searching and I have the java sdk installed but is there a web page someone can point me to that can help me in what I need to run that command on windows?
tia
MrDSL said:
I've been searching and I have the java sdk installed but is there a web page someone can point me to that can help me in what I need to run that command on windows?
tia
Click to expand...
Click to collapse
Command prompt...
Sent from my Blade using XDA App
hehe i did actually figure that..i must have something wrong cause even after installing java sdk when i enter that command it errors out..ill look some more..
MrDSL said:
hehe i did actually figure that..i must have something wrong cause even after installing java sdk when i enter that command it errors out..ill look some more..
Click to expand...
Click to collapse
You probably havent set your path properly, look up stuff about putting Java in your path (environment variables)
Sent from my Blade using XDA App
This fixed me up, Might want to add to OP in case someone else has the issue! http://www.java.com/en/download/help/path.xml
I got it to work but had to change the command to:
java -jar XMLGenerator.jar drawable-hdpi/ Browser.xml
Click to expand...
Click to collapse
What it created:
<item name="drawable/com_android_browser_app_web_browser_sm">@drawable/com_android_browser_app_web_browser_sm</item>
<item name="drawable/com_android_browser_arcs">@drawable/com_android_browser_arcs</item>
<item name="drawable/com_android_browser_browser_thumbnail">@drawable/com_android_browser_browser_thumbnail</item>
<item name="drawable/com_android_browser_btn_close_window">@drawable/com_android_browser_btn_close_window</item>
<item name="drawable/com_android_browser_dialog_divider_horizontal_light">@drawable/com_android_browser_dialog_divider_horizontal_light</item>
<item name="drawable/com_android_browser_fav_icn_background">@drawable/com_android_browser_fav_icn_background</item>
Click to expand...
Click to collapse
I'm runnign Windows 7
You can use .txt for the output file too! Your choice!!!!
This is great Thanks again!!!!
djdarkknight96 said:
I got it to work but had to change the command to:
What it created:
I'm runnign Windows 7
You can use .txt for the output file too! Your choice!!!!
This is great Thanks again!!!!
Click to expand...
Click to collapse
Hmm, I should really add a feature to omit the com_android_browser part in the item name... I'll think about how best to implement it and update.
Sent from my Blade using XDA App
nhnt11 said:
Hmm, I should really add a feature to omit the com_android_browser part in the item name... I'll think about how best to implement it and update.
Sent from my Blade using XDA App
Click to expand...
Click to collapse
AH, I didn't even notice that:
Template:
<item name="drawable/btn_default_pressed">@drawable/frameworks_res_btn_default_pressed</item>
Click to expand...
Click to collapse
Script:
<item name="drawable/frameworks_res_btn_default_pressed">@drawable/frameworks_res_btn_default_pressed</item>
Click to expand...
Click to collapse
I guess it won't work till you fix it? well I rather hit Find "frameworks_res_" and press delete then type and copy paste!!!! Still better!!! Thanks for making life easier!!!
I have an Idea, can you have it use the original folder from the app before we rename it on the
<item name="drawable/frameworks_res_btn_check_on_disable_focused">
Click to expand...
Click to collapse
area anad then the folder with the files renamed for the
@drawable/frameworks_res_btn_default_pressed</item>
Click to expand...
Click to collapse
???
I had the same idea, but that has some other complications... Right now I have 3 possible ways to implement this, and will update soon when I figure out which is best.
nhnt11 said:
I had the same idea, but that has some other complications... Right now I have 3 possible ways to implement this, and will update soon when I figure out which is best.
Click to expand...
Click to collapse
Saweet! I'll wait cause I'm lazy that way! Hehe
DarkGingered CM7 G2x sent this with the DarkXDA app!
OK, here's how I've done it - the program will automatically do it for common package names (it does it for all the ones that Androidian uses). However, you can specify additional package names for it to replace. Here's the new syntax -
$java -jar <packagename1> <packagename2> <etc> <input dir> <output file>
Example:
$java -jar com_upwardspiral_wallpapers com_nhnt11_dummyapp myDir output.xml
Here's the list of the package names it automatically does:
Code:
"frameworks_res_",
"com_android_systemui_",
"com_android_browser_",
"com_android_calculator2_",
"com_android_calendar_",
"com_android_camera_",
"com_android_contacts_",
"com_android_deskclock_",
"com_android_email_",
"com_android_fm_",
"com_android_inputmethod_latin_",
"com_android_launcher_",
"com_android_mms_",
"com_android_music_",
"com_android_phone_",
"com_android_providers_calendar_",
"com_android_providers_downloads_ui_",
"com_android_quicksearchbox_",
"com_android_settings_",
"com_android_wallpaper_",
"com_cooliris_media_",
"com_google_android_apps_genie_geniewidget_",
"com_google_android_carhome_",
"com_google_android_gm_",
"com_google_android_googlequicksearchbox_",
"com_google_android_talk_",
"net_cactii_flash2_"
Let me know if I'm missing anything.
nhnt11 said:
OK, here's how I've done it - the program will automatically do it for common package names (it does it for all the ones that Androidian uses). However, you can specify additional package names for it to replace. Here's the new syntax -
$java -jar <packagename1> <packagename2> <etc> <input dir> <output file>
Example:
$java -jar com_upwardspiral_wallpapers com_nhnt11_dummyapp myDir output.xml
Here's the list of the package names it automatically does:
Code:
"android_",
"frameworks_res_",
"com_android_systemui_",
"com_android_browser_",
"com_android_calendar_",
"com_android_camera_",
"com_android_contacts_",
"com_android_deskclock_",
"com_android_email_",
"com_android_inputmethod_latin_",
"com_android_launcher_",
"com_android_mms_",
"com_android_music_",
"com_android_phone_",
"com_android_providers_calendar_",
"com_android_providers_downloads_ui_",
"com_android_quicksearchbox_",
"com_android_settings_",
"com_android_wallpaper_",
"com_cooliris_media_",
"com_google_android_apps_genie_geniewidget_",
"com_google_android_carhome_",
"com_google_android_gm_",
"com_google_android_googlequicksearchbox_",
"com_google_android_talk_",
"net_cactii_flash2_"
Let me know if I'm missing anything.
Click to expand...
Click to collapse
Damn, that was fast! I'm diving in to try it out! Your awesome!
DarkGingered CM7 G2x sent this with the DarkXDA app!
djdarkknight96 said:
Damn, that was fast! I'm diving in to try it out! Your awesome!
DarkGingered CM7 G2x sent this with the DarkXDA app!
Click to expand...
Click to collapse
Test this please, I would myself but I have nothing to test it on
Related
1.Decompile android.policy.jar
2.\android.policy.jar.out\smali\com\android\internal\policy\impl\Phonewindowsmanager.smali
3.Open up phonewindowsmanager.smali
4.look for "com.htc.action.SCREEN_CAPTURE_BG"
5.Change "com.htc.action.SCREEN_CAPTURE_BG" to "android.intent.action.SCREENSHOT"
6.Save and recompile
7. Open up your build.prop and add
# Properties for supporting framework features
ro.htc.framework.screencapture = true
8. save
9. Add these files to your rom http://www.multiupload.com/V3UUU5B9RD
10. Open up your updater-script and add
set_perm(0, 0, 06755, "/system/bin/screenshot");
11.save
DONE...
Credits
-SKYRAIDER
-Cyanogen
-HTC
Once you do this - how do you take a screenshot? Power+Home?
-xdadevelopers-user
xdadevelopers-user said:
Once you do this - how do you take a screenshot? Power+Home?
-xdadevelopers-user
Click to expand...
Click to collapse
yup
10chat
Doesn't work for me. Anyone else?
-xdadevelopers-user
xdadevelopers-user said:
Doesn't work for me. Anyone else?
-xdadevelopers-user
Click to expand...
Click to collapse
Anyone?
-xdadevelopers-user
xdadevelopers-user said:
Doesn't work for me. Anyone else?
-xdadevelopers-user
Click to expand...
Click to collapse
Hope I'm not necroposting too hard, but I just tried this. No luck.
what happens ?
10 char
When i try to take a screen shot i get a toast saying "error: /mnt/sdcard/tmpshot.bmp (no such file or directory)", and then another toast right after saying "screenshot is saved at null". I search my phones / directory with root explorer and find no .bmp files containing any screen shots. If i create a file named tmpshot.bmp on my sdcard then try to take a screen shot i get "error unable to save screenshot: java.language.nullpointer exception" and then "screenshot is saved at /mnt/sdcard/dcim/screenshots/******.bmp". Every time you create the tmpshot.bmp file and take a screen shot it also removes the file from the sdcard. So if you go to where it says it saved them the pic files are there but they have no thumb, and when you open it it is just a black screen with the little grey gallery error icon.
JoelZ9614 said:
what happens ?
10 char
Click to expand...
Click to collapse
Pwr+home brings up the power menu and takes me to the home screen. It is as if I haven't made the changes at all. I've double and triple checked and the changes are there.
I couldn't even find this line in the code:
com.htc.action.SCREEN_CAPTURE_BG
Working on Another Senseless ROM v2.0. For those having issues, you gave screenshot in /system/bin 06755 permissions correct? I did this using adb: adb shell - chmod 06755 /system/bin/screenshot.
Jermaine, which ROM are you looking for that in?
RMarkwald said:
Working on Another Senseless ROM v2.0. For those having issues, you gave screenshot in /system/bin 06755 permissions correct? I did this using adb: adb shell - chmod 06755 /system/bin/screenshot.
Jermaine, which ROM are you looking for that in?
Click to expand...
Click to collapse
I was looking in Insensitive.
***I'm mobile
jermaine151 said:
I was looking in Insensitive.
***I'm mobile
Click to expand...
Click to collapse
Found it in the method named: .method public interceptKeyBeforeDispatching(Landroid/view/WindowManagerPolicy$WindowState;IIIIIII)Z
Found it @ line # 5349 (that's the line #'s in Notepad++). Here's what's around it:
.line 1743
.local v14, intent:Landroid/content/Intent;
const-string v22, "android.intent.action.SCREENSHOT"
Obviously this is the modified line, from Another Senseless ROM v2.0 that is.
RMarkwald said:
Found it in the method named: .method public interceptKeyBeforeDispatching(Landroid/view/WindowManagerPolicy$WindowState;IIIIIII)Z
Found it @ line # 5349 (that's the line #'s in Notepad++). Here's what's around it:
.line 1743
.local v14, intent:Landroid/content/Intent;
const-string v22, "android.intent.action.SCREENSHOT"
Obviously this is the modified line, from Another Senseless ROM v2.0 that is.
Click to expand...
Click to collapse
Thanks Mark! I'll have to look at it again.
Hey Joel, just for grins I performed these instructions on my HTC Flyer's Honeycomb ROM named WestfireROM v2.0 (based off of the HC leak), works for that device too!
Is it okay to put up a post in the Flyer forums linking back to your OP? I suppose maybe wait until others can get this working maybe...?
RMarkwald said:
Found it in the method named: .method public interceptKeyBeforeDispatching(Landroid/view/WindowManagerPolicy$WindowState;IIIIIII)Z
Found it @ line # 5349 (that's the line #'s in Notepad++). Here's what's around it:
.line 1743
.local v14, intent:Landroid/content/Intent;
const-string v22, "android.intent.action.SCREENSHOT"
Obviously this is the modified line, from Another Senseless ROM v2.0 that is.
Click to expand...
Click to collapse
It must've been late when I tried before. LOL.I definitely see the line now. Thanks again. I'm going to test it out.
EDIT: Works perfectly!!! Thanks Joelz and RMark!!!
xdadevelopers-user said:
Pwr+home brings up the power menu and takes me to the home screen. It is as if I haven't made the changes at all. I've double and triple checked and the changes are there.
Click to expand...
Click to collapse
+1. I can't get it to do anything, but the changes are definitely there. Does it matter where in the build.prop you put those additional lines?
Ok im an idiot. I was doing this late last night and i chmoded the screenshot file in /system/bin wrong. I gave it the correct permissions and now its working perfectly. I can finally ditch my screenshot app. Thanks guys.
godsmacked4653 said:
+1. I can't get it to do anything, but the changes are definitely there. Does it matter where in the build.prop you put those additional lines?
Click to expand...
Click to collapse
I put the changes at the very end, so it's the last two lines.
I just told xdadeveloper-user this same thing; if you want to post your android.policy.jar file and build.prop, I don't mind taking a look to make sure the changes were made right.
Okay, so like many I have been waiting for another user of this forum to post his update of the sense ROM, but he seems to be taking a while. So, I decided I will try and fix the ROM myself, currently I am going to try adding libs from other ROMS ofcourse I will not be posting anything on the ROM unless I get things working, then I will seek permissions to post the ROM from the correct owners... I am cuurently flashing the ROM to my x8 now..
Just a quick question also.. Does anyone know how to add libs directly to the system.img?
There is a decompiler for the .img file somewhere around the xda forum, i'll have a quick search for you and get back to you on it
Beans
Sent from my X8 using xda premium
Thank you very much, I will also need to recompile, I believe this can only be done on linux? or the AVD emulator? or can it also be done on windows? I know the decompiling can be
Yeah i found something for you, i cant try it for you before i recomend it because my pc has been stolen, but heres a link to the thread - http://forum.xda-developers.com/showthread.php?t=1315111
Both decompiling and recompiling can be done on wondows so far as i know with a linux emulator, or you could partition the hard drive on your pc and install linux on the second partition
Hope i helped
Beans
Sent from my X8 using xda premium
bbeanss said:
Yeah i found something for you, i cant try it for you before i recomend it because my pc has been stolen, but heres a link to the thread - http://forum.xda-developers.com/showthread.php?t=1315111
Hope i helped
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
Thank you, the decompiling on windows works, I'm just not sure about recompiling as linux isn't my Forte so to speak.. also my AVD emulator doesn't seem to be loading any android VM's I have created..
The best way i found when i was trying to port sense was to take it slowly, modifying/replacing 1 lib file at a time, it takes forever, but if it doesnt load up then that way you know the source of the problem, ill pull up a few sites on basic linux for you if you want?
Beans
Sent from my X8 using xda premium
smyth12 said:
Okay, so like many I have been waiting for another user of this forum to post his update of the sense ROM, but he seems to be taking a while. So, I decided I will try and fix the ROM myself, currently I am going to try adding libs from other ROMS ofcourse I will not be posting anything on the ROM unless I get things working, then I will seek permissions to post the ROM from the correct owners... I am cuurently flashing the ROM to my x8 now..
Just a quick question also.. Does anyone know how to add libs directly to the system.img?
Click to expand...
Click to collapse
Sense lib is different
you can't take Cm7/Cm6 lib
they have license on their lib
you can edit lib
recompile
and repaired Ramdisk from salsa
bbeanss said:
The best way i found when i was trying to port sense was to take it slowly, modifying/replacing 1 lib file at a time, it takes forever, but if it doesnt load up then that way you know the source of the problem, ill pull up a few sites on basic linux for you if you want?
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
That would be awesome please..
Superuser.Angga said:
Sense lib is different
you can't take Cm7/Cm6 lib
they have license on their lib
you can edit lib
recompile
and repaired Ramdisk from salsa
Click to expand...
Click to collapse
I was going to try some of the better known ROM libs just now, gonna send them through ADB because I can't use root explorer due to the "SD card removed" bug.. Decompile the libs and then recompile them then?
Where can I get the ramdisk?
Im off to bed now becaise its 1:20am where im at and ive got to get up in 6 hours, but of the 4 or 5 websites ive quickly scanned through i found this one to be the most imformative - http://bash.cyberciti.biz/guide/Main_Page
I hope it helps you out mate
goodnight ;D
Beans
Sent from my X8 using xda premium
bbeanss said:
Im off to bed now becaise its 1:20am where im at and ive got to get up in 6 hours, but of the 4 or 5 websites ive quickly scanned through i found this one to be the most imformative - http://bash.cyberciti.biz/guide/Main_Page
I hope it helps you out mate
goodnight ;D
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
Cheers mate, in the UK? me too haha...
I'll have a look through them probably tomorrow morning now, adb seems to be being a pain and not pushing the files across.. Thanks very much,
Good night mate ;D
Gud luck to you bro
phoenix883 said:
Gud luck to you bro
Click to expand...
Click to collapse
Thanks man, looks like I'm gonna need it lol
This Help you replace the lib
Camera service lib:
Code:
libcameraservice.so Need:
libui.so
libutils.so
libbinder.so
liblog.so
libcutils.so
libmedia.so
libcamera_client.so
libsurfaceflinger_client.so
libcamera.so
libc.so
libstdc++.so
libm.so
Replace Libcameraservice too
Open Gles/3D
Code:
libGLESv1_CM.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
Code:
libGLESv2.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
Code:
libEGL.so Need:
liblog.so
libcutils.so
libutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Replace libEGL.so, libGLESv2.so, libGLESv1_CM.so
Oem Camera
Code:
liboemcamera.so Need:
__fixunssfsi liblog.so
libcutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Wifi Fix
Replace Build.prop
Code:
wifi.interface = tiwlan0
to
Code:
wifi.interface = wlan0
replace libwpa_client.so
replace tiwlan.ini to correct config
Done
Camera Fix
????????????????????????
it's hard to ported camera
need
Modified Camera.apk to make 3.15mp not 5mp
removed autofocus
recompiled lib
Anyone Help Me?
Superuser.Angga said:
This Help you replace the lib
Camera service lib:
Code:
libcameraservice.so Need:
libui.so
libutils.so
libbinder.so
liblog.so
libcutils.so
libmedia.so
libcamera_client.so
libsurfaceflinger_client.so
libcamera.so
libc.so
libstdc++.so
libm.so
Replace Libcameraservice too
Open Gles/3D
Code:
libGLESv1_CM.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
libGLESv2.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
libEGL.so Need:
liblog.so
libcutils.so
libutils.so
libdl.so
libc.so
libstdc++.so
libm.so[/CODE]
Replace libEGL.so, libGLESv2.so, libGLESv1_CM.so
Oem Camera
liboemcamera.so Need:
__fixunssfsi liblog.so
libcutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Wifi Fix
Replace Build.prop
Code:
wifi.interface = tiwlan0
to
Code:
wifi.interface = wlan0
replace libwpa_client.so
replace tiwlan.ini to correct config
Done
Camera Fix
????????????????????????
it's hard to ported camera
need
Modified Camera.apk to make 3.15mp not 5mp
removed autofocus
recompiled lib
Anyone Help Me?
Click to expand...
Click to collapse
Wow thanks, so in theory I can take existing libs from working roms and replace the libs you mentioned and things will work?
You can test it
replace that lib from working rom
but
i use different way
edit the lib
it will take a month to edit all lib
but that's is only way
Superuser.Angga said:
You can test it
replace that lib from working rom
but
i use different way
edit the lib
it will take a month to edit all lib
but that's is only way
Click to expand...
Click to collapse
okay, Thank you, alot! I'm sure with a bit of time I should get this working...
Any fix for the 3g?
Edit: Vibration has come alive now..
Ah ha nice to see the Operation Sense is rolling along still... don't know what Salo-S is doin but still no proof of his Rom....?
Any way I could help? I'm not dev but if there's a easy but time consuming job that needs doing (typing stuff...?) Then I'm up for it.lol
peace
Sent from my X8 using xda premium
match_stick said:
Ah ha nice to see the Operation Sense is rolling along still... don't know what Salo-S is doin but still no proof of his Rom....?
Any way I could help? I'm not dev but if there's a easy but time consuming job that needs doing (typing stuff...?) Then I'm up for it.lol
peace
Sent from my X8 using xda premium
Click to expand...
Click to collapse
I'll keep you in mind my friend.. Just trying to figure stuff out at the moment but the typing things could be of use updates and findings etc... PM me your email?
Yo man, finally someone who approaches this subject seriously, do not pretend to be someone all knowing and is not a crook. Respect for this, man.
... Salo-s and SuperuserAngga still don't get any proof.
I can help if I can, just PM me. I'm a beta tester of ROU UI now, but I think I can help something from time to time.
Peace!
jahlovePL said:
Yo man, finally someone who approaches this subject seriously, do not pretend to be someone all knowing and is not a crook. Respect for this, man.
... Salo-s and SuperuserAngga still don't get any proof.
I can help if I can, just PM me. I'm a beta tester of ROU UI now, but I think I can help something from time to time.
Peace!
Click to expand...
Click to collapse
Thank you, aside from testing do you do any coding?
or anything along these lines? fine if you don't, beta testing is just as important!
I am fully aware that it was discussed before. Just now we got full collection in high resolution. This is a find, it's not made by me.
There is an active project made by Deirdre Connolly(dconnolly) collecting all the wallpapers.
Here it is ALL 220 700 Chromecast wallpapers in high resolution:
https://github.com/dconnolly/Chromecast-Backgrounds
https://gist.github.com/dconnolly/8188825
A. If you use Firefox and DTA(DownThemAll) on Windows platform it will fail to download about 20 wallpapers because of too long file names.
Use renaming masks to make filenames short and clean.:
DownThemAll! ยป Renaming mask
www.downthemall.org
Two renaming mask examples:
1. Simple:
Code:
Chromecast wallpaper.*ext*
2. This one is particularly interesting for graphic files because it adds year-month-day to file name:
Code:
Chromecast wallpaper_*y*-*m*-*d*.*ext*
If "File Name Conflict!" occurs pick "Rename into" with "Remember this setting" and "Just for this session", press OK
mathorv said:
I am fully aware that it was discussed before. Just now we got full collection in high resolution. This is a find, it's not made by me.
There is an active project collecting all the wallpapers.
Here it is ALL Chromecast wallpapers in high resolution:
https://github.com/dconnolly/Chromecast-Backgrounds
https://gist.github.com/dconnolly/8188825
Click to expand...
Click to collapse
This is great but.. I want all of them on my PC.. Could't the scraper be designed to scrape and archive a package of said wallpapers? Right clicking and save as would take ages
styckx said:
This is great but.. I want all of them on my PC.. Could't the scraper be designed to scrape and archive a package of said wallpapers? Right clicking and save as would take ages
Click to expand...
Click to collapse
One of my favorite plug-ins, DownThemAll
bhiga said:
One of my favorite plug-ins, DownThemAll
Click to expand...
Click to collapse
That worked! You rock!
Too long file name or path. DTA
bhiga said:
One of my favorite plug-ins, DownThemAll
Click to expand...
Click to collapse
If you use Firefox and DTA(DownThemAll) on Windows platform it will fail to download about 20 wallpapers because of too long file names.
Use renaming masks to make filenames short and clean.:
http://www.downthemall.net/howto/help/english-menu/renaming-mask/
Two renaming mask examples
Simple:
Code:
Chromecast wallpaper.*ext*
This one is particularly interesting for graphic files because it adds year-month-day to file name:
Code:
Chromecast wallpaper_*y*-*m*-*d*.*ext*
If "File Name Conflict!" occurs pick "Rename into" with "Remember this setting" and "Just for this session", press OK
Thanks for posting this stuff, really enjoying it.
vincent1964 said:
Thanks for posting this stuff, really enjoying it.
Click to expand...
Click to collapse
It's nice that you're grateful, but to reduce amount of redundant post there are thanks buttons under each post if you find helpful post just press thanks.
PS. There are new wallpapers, I can't count how many, but there is definitely more than 220.
mathorv said:
It's nice that you're grateful, but to reduce amount of redundant post there are thanks buttons under each post if you find helpful post just press thanks.
PS. There are new wallpapers, I can't count how many, but there is definitely more than 220.
Click to expand...
Click to collapse
yes there are 224 i believe. I am downloading all of them now and will make a zip file hosted on dropbox and other locations
Edit:
Dropbox:
https://www.dropbox.com/s/o7a8zruliyilz7l/Chromecast Wallpapers.zip
Zippyshare:
http://www14.zippyshare.com/v/92917362/file.html
Google Drive:
https://drive.google.com/file/d/0B9YzXX4z14RMZjlCYjFyTF9ZOHc/edit?usp=sharing
steveo17 said:
yes there are 224 i believe. I am downloading all of them now and will make a zip file hosted on dropbox and other locations
Edit:
Dropbox:
https://www.dropbox.com/s/o7a8zruliyilz7l/Chromecast Wallpapers.zip
Zippyshare:
http://www14.zippyshare.com/v/92917362/file.html
Google Drive:
https://drive.google.com/file/d/0B9YzXX4z14RMZjlCYjFyTF9ZOHc/edit?usp=sharing
Click to expand...
Click to collapse
Thanks for the effort but the filenames are too long to extract
psych2l said:
Thanks for the effort but the filenames are too long to extract
Click to expand...
Click to collapse
not sure waht you mean. works fine on my Mac
Right, on windows 7 here
psych2l said:
Thanks for the effort but the filenames are too long to extract
Click to expand...
Click to collapse
I got the same problem.. Can't even rename them manually. Windows 8.1 here.
Here is how...
Flowah said:
I got the same problem.. Can't even rename them manually. Windows 8.1 here.
Click to expand...
Click to collapse
Here is how to batch rename the wallpapers.
- Copy the zip file to your Android phone's internal memory.
- Use a file explorer to extract the zip file & put the wallpapers into a folder.
- Use free Quickpic (or any other free tool from Play store) to batch rename the wallpapers in one step.
Note: A few wallpapers are duplicated.
Enjoy
Chromecast Wallpapers
Avoid having to use DownThemAll and bulk rename utilities to rename the long file names unsupported by Windows.
I have compiled all 222 images named 'Chromecast Wallpaper 001', 002, 003 etc in a zip and uploaded on my dropbox.
Download here: goo(dot)gl/5ox0Hj (goo.gl url shortener)
(sorry I am unable to post as a hyperlink as I have done less than 10 posts on the forum)
Jar to get them all
From what I have seen, there are over 500 unique backgrounds. I wrote a quick and dirty java program to get them all for me. It also optionally matches the gradient and can watermark the author's names.
Shameless self promo: https://github.com/nerdwaller/Chromecast-Backgrounds
If you don't have the JDK I can put up a jar for you to run.
Also in the works (and currently active on my phone) is an android version that will be a little more feature rich if time allows).
nerdwaller said:
From what I have seen, there are over 500 unique backgrounds. I wrote a quick and dirty java program to get them all for me. It also optionally matches the gradient and can watermark the author's names.
Shameless self promo: https://github.com/nerdwaller/Chromecast-Backgrounds
If you don't have the JDK I can put up a jar for you to run.
Also in the works (and currently active on my phone) is an android version that will be a little more feature rich if time allows).
Click to expand...
Click to collapse
Wow, this looks awesome. Could you attach or link an executable jar? I don't have the JDK and would prefer to not have to install it just for this one time use.
Added JAR
tducote said:
Wow, this looks awesome. Could you attach or link an executable jar? I don't have the JDK and would prefer to not have to install it just for this one time use.
Click to expand...
Click to collapse
Added the jar to another repo: https://github.com/nerdwaller/Chromecast-Backgrounds-Binaries
Assuming that you have some type of JRE in your $PATH:
java -jar ~/Downloads/ChromecastBackground.jar -help
java -jar ChromecastBackground.jar -gradient -help
usage: Chromecast-Backgrounds
-gradient Overlay a gradient (attempts to match the Chromecast's
display of images)
-help Print this message
-outdir <arg> Output directory
-settings <arg> Load settings from a file.
-watermark Apply the author's name as a watermark
Click to expand...
Click to collapse
Let me know your thoughts on how it works for you, if you don't mind!
nerdwaller said:
Added the jar to another repo: https://github.com/nerdwaller/Chromecast-Backgrounds-Binaries
Assuming that you have some type of JRE in your $PATH:
java -jar ~/Downloads/ChromecastBackground.jar -help
Let me know your thoughts on how it works for you, if you don't mind!
Click to expand...
Click to collapse
This is what I get:
$ java -jar ChromecastBackground.jar -help
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/nerdwaller/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Click to expand...
Click to collapse
Any suggestions?
tducote said:
This is what I get:
Any suggestions?
Click to expand...
Click to collapse
I'm willing to bet it's an issue with the java version, I am using Java 1.7.0_55. What's the output of `java -version`?
By the way, thank you for being a Guinea pig for me, I really appreciate it. The other person I had test this out didn't expose this issue yet!
nerdwaller said:
I'm willing to bet it's an issue with the java version, I am using Java 1.7.0_55. What's the output of `java -version`?
By the way, thank you for being a Guinea pig for me, I really appreciate it. The other person I had test this out didn't expose this issue yet!
Click to expand...
Click to collapse
Ah, yes. My Java version is 1.6.0_65. Hmm. I thought I had just updated the JRE too. Let me try logging out and back in and trying it again.
---------- Post added at 11:24 AM ---------- Previous post was at 10:56 AM ----------
tducote said:
Ah, yes. My Java version is 1.6.0_65. Hmm. I thought I had just updated the JRE too. Let me try logging out and back in and trying it again.
Click to expand...
Click to collapse
So I'm not sure why this happened, but when I just type java in the terminal, it wants to use a 1.60_65 version, but if I use "/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar ChromecastBackground.jar -help" it runs the jar just fine. I tried to run it without specifying a destination directory and it said it was saving to a directory named "/Users/taylorducote/Library/Application Support/chromecastbg/". The program ran saying that it found 100 images and that it was downloading them all and got to where it said "Finished.", but that directory doesn't seem to exist, and I can't find the images.
Any ideas?
Hi,
I just started using Xposed Framework and I think it is really cool tool! For now I am just trying to learn the API and how to do the things. I am trying to change some values returned by functions by an app, but the decompiled code is obfuscated and all class names and methods are with one or two letters. For example :
Code:
if(!p.a().h() && ae1.c() > 500F){
com.bones.modes.cn.a(com.bones.modes.cl.a(b)).b().a("New message");
}
So what I need is a way to change return value of
Code:
p.a().h()
and
Code:
ae1.c()
which are located in different package than
Code:
com.bones.modes
.
Any idea how to achieve this?
Why decompile when you can compile from source or directly edit source
check repositories under this user : https://github.com/rovo89
if you find your changes could benifit others submit a change request.
anantshri said:
Why decompile when you can compile from source or directly edit source
check repositories under this user : rovo89
if you find your changes could benifit others submit a change request.
Click to expand...
Click to collapse
I decompiled application just to find class names and methods so I can inject code and make some changes, but don't know how to deal with obfuscated code and Xposed. I've tried to hook method found using dex2jar, but it's throwing an exception
Code:
NoSuchMethodError
.
hardartcore said:
Hi,
I just started using Xposed Framework and I think it is really cool tool! For now I am just trying to learn the API and how to do the things. I am trying to change some values returned by functions by an app, but the decompiled code is obfuscated and all class names and methods are with one or two letters. For example :
Code:
if(!p.a().h() && ae1.c() > 500F){
com.bones.modes.cn.a(com.bones.modes.cl.a(b)).b().a("New message");
}
So what I need is a way to change return value of
Code:
p.a().h()
and
Code:
ae1.c()
which are located in different package than
Code:
com.bones.modes
.
Any idea how to achieve this?
Click to expand...
Click to collapse
Hook the application's package (application package != Java package), then hook the class name you want using its full name (e.g. com.bones.modes.ClassName, or com.otherpackage.something.ClassName).
If that doesn't help, post the code you're trying with (and more information about the "different package").
anantshri said:
Why decompile when you can compile from source or directly edit source
check repositories under this user : https://github.com/rovo89
if you find your changes could benifit others submit a change request.
Click to expand...
Click to collapse
He's talking about something entirely different.
GermainZ said:
Hook the application's package (application package != Java package), then hook the class name you want using its full name (e.g. com.bones.modes.ClassName, or com.otherpackage.something.ClassName).
If that doesn't help, post the code you're trying with (and more information about the "different package").
He's talking about something entirely different.
Click to expand...
Click to collapse
I've already fixed it. I realise that the method which I was trying to override takes params and I wasn't pointing them in declaration of hook method.
I installed an other device rom just that this command does not work even though it is written
<CscFeature_Launcher_EnableViewByAlphabetAsDefault >true</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
pranto said:
I installed an other device rom just that this command does not work even though it is written
<CscFeature_Launcher_EnableViewByAlphabetAsDefault >true</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
Click to expand...
Click to collapse
Seriously? Who uses the stock launcher.... Just nova launcher and you're done.
Sent from my Blackberry Torch
if I want to remain the current one does not stock that command where to be copied
Brava27 said:
Seriously? Who uses the stock launcher.... Just nova launcher and you're done.
Sent from my Blackberry Torch
Click to expand...
Click to collapse
ONE feature nova doesn't have. pin an action note in homescreen.
pranto said:
I installed an other device rom just that this command does not work even though it is written
<CscFeature_Launcher_EnableViewByAlphabetAsDefault >true</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
Click to expand...
Click to collapse
I've been using this entry since I got my Note5. I'm using a stock rom.
I added a feature.xml file in system/csc with that command and it puts all apps alphabetically in the drawer.
possible that I can not make it work in this command others.xml
Notes 5 a-z automatic AppDrawer
Yeah I guess it might not work with others.xml
Just create feature.xml
how do you create this file and then write only in that row.
This is how mine looks like. Think I copied it over from another model.
<?xml version='1.0' encoding='UTF-8' ?>
<SamsungMobileFeature>
<Country></Country>
<CountryISO></CountryISO>
<SalesCode></SalesCode>
<FeatureSet>
<CscFeature_Launcher_EnableViewByAlphabetAsDefault>TRUE</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
</FeatureSet>
</SamsungMobileFeature>
Hope it will work for you as well.
Alta1r said:
This is how mine looks like. Think I copied it over from another model.
<?xml version='1.0' encoding='UTF-8' ?>
<SamsungMobileFeature>
<Country></Country>
<CountryISO></CountryISO>
<SalesCode></SalesCode>
<FeatureSet>
<CscFeature_Launcher_EnableViewByAlphabetAsDefault>TRUE</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
</FeatureSet>
</SamsungMobileFeature>
Hope it will work for you as well.
Click to expand...
Click to collapse
features within the file I added the part that you indicated to me but the same does not work.
The file name should be 'feature.xml' not 'features.xml'.
If that is not the problem, then I don't know it either.
Do note that when it's activated you don't have the A-Z option anymore in the app drawer; it will automatically put all your apps alphabetically. Also when you delete or add an app it will do that automatically.
Unfortunately it does not work
Friends possible that having installed a ROM for s6 and making all the changes I had no problem except with the automatic alignment of applications. csc is written in the words that should do what I requested. but nothing. can I do something missing.
no one can give me an explanation
news...news.....news.....thank you..thank you..thank you