Add the alphabetical sorting in the launcher - Galaxy Note5 Q&A, Help & Troubleshooting

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

Related

[Tool] Drawable XML generator for CM7 theme chooser

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

[MOD][DEV]Native Screenshot For OTA Based Roms

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.

[DEV][HOW-TO] Enable CRT-OFF and CRT-ON in S3 Stock ROMs

Use everything here on your own risk and hit THANKS BUTTON if you like my work!
General Information:
As you propably know, till now there is no CRT-off MOD out for the S3. This is because only changing the value of config_animateScreenLights from true to false in framework-res.apk is not working anymore!
Together with Tungstwenty and rovo89 we faced out, that the problem are some missing commands in the /system/framework/services.jar
After comparing files from S2 and S3 Tungstwenty could help me to find the right position to edit files and with a litte bit of testing we found the right commands to enable the CRT-off-effect!
Click to expand...
Click to collapse
Tungstwenty said:
Let me clarify what is required in order to have the CRT effects working:
A patched library that properly (i.e. no flicker, etc.) provides the effects --> see attached flashable zip's or use Tweakbox
Code changes on the ROM in order to properly trigger the effect(s), which the library will then respond to those triggers --> look at the how-to or use Tweakbox
Item no. 1 is the one that I worked on and for which a fully working library was now provided.
The 2nd part can be done in 2 different ways - either patching the S3's ROM to properly enable the CRT-On and/or CRT-Off effects, OR do some hooking on the existing methods in the ROM and without changing that code, override the flags (i.e., the way Tweakbox does it).
It's this 2nd aspect that you guys need to address somehow. I worked with rovo89 on Tweakbox and not only does it bundle with the library, it also does the code changes in memory to make it work (topic no. 2).
But sphinx02 had already provided that, initially, after some discussion on what needed to be patched on the S3 ROM.
So, in order to have it working you have 2 ways:
Either use Tweakbox and make use of its configuration options to enable only CRT-Off, only CRT-On, or whatever you fancy.
Ask for someone (such as sphinx02) that has an S3, to keep up with existing ROMs (it will need to be changed separately for every one), and provide patched apk's on top of the existing ones so that it enables the effect triggers I mentioned. This will also need to take into account whether you prefer both effects on, only CRT-Off, etc.
I hope this is a bit more clear now, if not just let me know.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
HOW-TO make the Code Changes:
This is what have to be done:
First of all decompile classes of services.jar (I won't provide any information to this, there are many tutorials out there how to use the smali tools!)
Than in com/android/server/PowerManagerService.smali we have to make the method nativeStartSurfaceFlingerAnimation(I)V callable from inner classes. To do that, we have to add the following after the last access$XXXX method:
Code:
.method static synthetic access$9000(Lcom/android/server/PowerManagerService;I)V
.registers 2
.parameter "x0"
.parameter "x1"
.prologue
.line 110
invoke-direct {p0, p1}, Lcom/android/server/PowerManagerService;->nativeStartSurfaceFlingerAnimation(I)V
return-void
.end method
Than we have to add some commands to the file com/android/server/PowerManagerService$BrightnessState.smali to trigger the CRT-off-effect. For that add the red part between :cond_38 and iget-object v4, p0, Lcom/a.... like this (its around line 400 in code):
Code:
.line 2679
.restart local v3 #turningOff:Z
:cond_38
[COLOR="Red"] iget-object v4, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;
const/16 v3, 0x11 # CRT-On and CRT-Off
#calls: Lcom/android/server/PowerManagerService;->nativeStartSurfaceFlingerAnimation(I)
invoke-static {v4, v3}, Lcom/android/server/PowerManagerService;->access$9000(Lcom/android/server/PowerManagerService;I)V[/COLOR]
iget-object v4, p0, Lcom/android/server/PowerManagerService$BrightnessState;->this$0:Lcom/android/server/PowerManagerService;
#getter for: Lcom/android/server/PowerManagerService;->mScreenBrightness:Lcom/android/server/PowerManagerService$BrightnessState;
invoke-static {v4}, Lcom/android/server/PowerManagerService;->access$6000(Lcom/android/server/PowerManagerService;)Lcom/android/server/PowerManagerService$BrightnessState;
move-result-object v4
If you want to have only CRT-OFF, you can replace
Code:
const/16 v3, 0x11 # CRT-On and CRT-Off
with this:
Code:
const/16 v3, 0x10 # CRT-Off only
Finally recompile the file, put it on your phone and you can see the CRT-Off effect on your S3!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Avoid flickers, enable CRT-ON in lib-file:
Tungstwenty said:
Hi,
I worked on the porting of the patch to S3 and despite not having one myself, I'm pretty confident that the binary rovo89 and myself included in the latest Tweakbox should work on an S3.
Could any of you guys try it out?
What to do:
Install the newest Xposed framework from here. Open the Installer app, press Install/Update and reboot.
Install the Tweakbox mod from here. Open it and enable the CRT effects in the appropriate section. You can also enable any other tweaks you like, to check if they also work for the S3 (most of them should)
Go back to the Xposed Installer app, activate the Tweakbox mod (2nd tab), then in the libraries section select "libsurfaceflinger.so" and use the I9300 version. Tick the "Replace in test-mode only" option and back in the 1st tab do a soft / test reboot.
If everything goes well and the effects work as expected, you can go back to the installer app and untick "test-mode only" so the lib is overridden on every boot.
Note that except for the app_process system file which is installed by the framework (creating a backup file, and which should have no practical effects until any mods are enabled later), all other replacements such as the surfaceflinger lib do not change anything in /system but are rather performed by loading the files from an alternate path.
I'd appreciate your feed back especially for the CRT effect, but also the other existing Tweakbox options.
Thanks!
Click to expand...
Click to collapse
Or use in addition to the changes in services.jar the attached flashable zip's to overwrite libsurfaceflinger.so with the corrected one by Tungstwenty or me, XXAL for (XXALE8,XXALF2,XXALF6) and XXBL for (XXBLFB,XXBLG1,...)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Notes:
- This is a development thread so please discuss only things that interest for further development
- First part of the development has been discussed in this Thread of S2-forums
- As on the S2 after the CRT-off-effect sometimes the screen flickers --> fixed by Tungstwenty
- For some reason, it works without setting config_animateScreenLights from true to false in framework-res.apk
- I hope Tungstwenty and rovo89 can help us again to edit the libsurfaceflinger.so to avoid that it flickers after the CRT-off-effect
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Testing the effect:
I have made the changes for ODEXED and DEODEXED XXALF2 ROM, if you want to test it have a look at my thread in the themeing/modding forums:
[MOD][ALF2/ALF6/BLFB][ODEX/DEODEX] 1% BatMod + ExtPowMen + CRT-OFF-ON or CRT-OFF-ONLY
Please post development-unrelated stuff there!!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Credits:
Credits are going out to Tungstwenty and rovo89 for their excellent work on the S2 and for their help/advice on the S3! Excellent developers!
I hope you guys will help us again to fix the libs and perhaps enabling CRT-on-effect aswell!!!
Thank you for helping us again!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
reserved for future use, just in case..
Nice one!
Sent from my GT-I9300 using xda premium
sphinx02 said:
- I hope Tungstwenty and rovo89 can help us again to edit the libsurfaceflinger.so to avoid that it flickers after the CRT-off-effect
Click to expand...
Click to collapse
The flicker issue and the lack of CRT-On effect are *exactly* the same issues that are present on the S2 lib as well.
It has been fixed there, but changing ARM code without the sources is a very tedious process and that requires a fair amount of testing till it eventually works.
Without having access to an S3 it's very hard to do this or even explain what needs to be done
On top of that, I have other pending stuff I need to work on so you shouldn't expect a fix very soon, sorry.
Tungstwenty said:
The flicker issue and the lack of CRT-On effect are *exactly* the same issues that are present on the S2 lib as well.
It has been fixed there, but changing ARM code without the sources is a very tedious process and that requires a fair amount of testing till it eventually works.
Without having access to an S3 it's very hard to do this or even explain what needs to be done
On top of that, I have other pending stuff I need to work on so you shouldn't expect a fix very soon, sorry.
Click to expand...
Click to collapse
Ok, I see the problematic.. But perhaps you can give me the original and the modified files from the s2 so I can compare the 2 files and perhaps see by myself what is changed! And as I never changed anything in .so files perhaps you can tell me additionally how you have edited them!
I'm willing to try around again and to play with bytecode or so on, but I think I need a little input from you!
You mentioned the tool objdump, so I think I have to become familiar with this tool, am I right?
sphinx02 said:
Ok, I see the problematic.. But perhaps you can give me the original and the modified files from the s2 so I can compare the 2 files and perhaps see by myself what is changed! And as I never changed anything in .so files perhaps you can tell me additionally how you have edited them!
I'm willing to try around again and to play with bytecode or so on, but I think I need a little input from you!
Click to expand...
Click to collapse
Ok then, I'll give you the starting pointers so you can have a look at what lies ahead
The S2 patched file with ON and OFF both working correctly, with no flickers, is in this post.
The S2 original file is attached here.
Do a binary compare to see the changed bytes and their offsets.
To have a look at the code, you need to have the NDK installed.
Run "objdump -x libsurfaceflinger.so" to see the decompiled ARM code.
And have fun trying to understand that
Tungstwenty said:
Ok then, I'll give you the starting pointers so you can have a look at what lies ahead
The S2 patched file with ON and OFF both working correctly, with no flickers, is in this post.
The S2 original file is attached here.
Do a binary compare to see the changed bytes and their offsets.
To have a look at the code, you need to have the NDK installed.
Run "objdump -x libsurfaceflinger.so" to see the decompiled ARM code.
And have fun trying to understand that
Click to expand...
Click to collapse
Ok, thank you for that.. I dont know at this point if I ever will have success with it but I will give it a try as I have the time to! Thank you very much again Tungstwenty for your tips/advice!
While trying around a little bit and thinking about the problem, I had the following idea:
Is it not possible to build an own, additional library file with the crt-off functions? Sources for that are out there! Just copy together and build an .so file. Than in the Java-Code we are including this new native code and simply calling the function from this new / additional lib-file? What do you think about that?
Looks like someone needs to do this again...
http://forum.xda-developers.com/showthread.php?t=1676378
The flicker bug is just a bit annoying
Edits
Lol sorry just seen the post a couple above mine. Hope you guys can fix it. Good luck.
Sent from my GT-I9300 using XDA Premium HD app
sphinx02 said:
While trying around a little bit and thinking about the problem, I had the following idea:
Is it not possible to build an own, additional library file with the crt-off functions? Sources for that are out there! Just copy together and build an .so file. Than in the Java-Code we are including this new native code and simply calling the function from this new / additional lib-file? What do you think about that?
Click to expand...
Click to collapse
I don't think that's a viable option. rovo already tried that with existing sources, I think, and the resulting library did not work on sammy's rom.
As for creating a separate library with only those functions, I also don't think that's possible as everything related with screen rendering (state, buffers, etc.) is on this lib and therefore a separate one would not have any of that info.
Hi,
I worked on the porting of the patch to S3 and despite not having one myself, I'm pretty confident that the binary rovo89 and myself included in the latest Tweakbox should work on an S3.
Could any of you guys try it out?
What to do:
Install the newest Xposed framework from here. Open the Installer app, press Install/Update and reboot.
Install the Tweakbox mod from here. Open it and enable the CRT effects in the appropriate section. You can also enable any other tweaks you like, to check if they also work for the S3 (most of them should)
Go back to the Xposed Installer app, activate the Tweakbox mod (2nd tab), then in the libraries section select "libsurfaceflinger.so" and use the I9300 version. Tick the "Replace in test-mode only" option and back in the 1st tab do a soft / test reboot.
If everything goes well and the effects work as expected, you can go back to the installer app and untick "test-mode only" so the lib is overridden on every boot.
Note that except for the app_process system file which is installed by the framework (creating a backup file, and which should have no practical effects until any mods are enabled later), all other replacements such as the surfaceflinger lib do not change anything in /system but are rather performed by loading the files from an alternate path.
I'd appreciate your feed back especially for the CRT effect, but also the other existing Tweakbox options.
Thanks!
Now I try, thank you..
And CRT on is possible?
failax said:
Now I try, thank you..
And CRT on is possible?
Click to expand...
Click to collapse
Yes. If everything is working as I expect, the new things vs your current situation are:
- No more flickering issues when CRT-Off
- Now also includes CRT-On
- Can detect device orientation and do a "vertical" CRT effect instead of horizontal
All these are optional and can be turned on/off in the Tweakbox preferences.
I tried.
CRT OFF has the same problem, CRT On is not visible, but I had to place also a jar file?
---------- Post added at 12:01 PM ---------- Previous post was at 11:50 AM ----------
I must add that I'm on checkromevo hd and I've already inserted a mod to see crt off, I don't know if this can help.
Other mods in tweakbox work.
failax said:
CRT OFF has the same problem, CRT On is not visible, but I had to place also a jar file?
Click to expand...
Click to collapse
Mmm, did you follow the steps I mentioned before, i.e. enabling the lib replacement in test mode and doing a soft reboot?
You should end up with a library on /vendor/lib (ramfs) and it should get loaded on startup instead of the one in /system/lib. Can you check with a file browser if the file under /vendor/lib does exist?
Also, could you open a terminal, run "set" and check if LD_LIBRARY_PATH is "/vendor/lib:/system/lib", as in S2?
Tungstwenty said:
Mmm, did you follow the steps I mentioned before, i.e. enabling the lib replacement in test mode and doing a soft reboot?
You should end up with a library on /vendor/lib (ramfs) and it should get loaded on startup instead of the one in /system/lib. Can you check with a file browser if the file under /vendor/lib does exist?
Also, could you open a terminal, run "set" and check if LD_LIBRARY_PATH is "/vendor/lib:/system/lib", as in S2?
Click to expand...
Click to collapse
I've rebooted totally, what do you mean for soft reboot?
Now I try to see those files..
EDIT:
under vendor/lib I see 2 things, I see a folder called DRM and inside libdrmwvplugin.so, and single file called libwvm.so.
Also, could you open a terminal, run "set" and check if LD_LIBRARY_PATH ?
Yes it's there.
failax said:
I've rebooted totally, what do you mean for soft reboot?
Now I try to see those files..
EDIT:
under vendor/lib I see 2 things, I see a folder called DRM and inside libdrmwvplugin.so, and single file called libwvm.so.
Click to expand...
Click to collapse
Can you open the Xposed Installer app and post a screenshot of each of the 3 tabs? "Framework", "Modules" and "Libraries" (in this last one, scroll to the bottom to display the "libsurfaceflinger.so" entry so it's visible in the picture)
Can you send me the modded libsurfaceflinger.so so I can test it directly?
Maybe a downloadlink via pm...
I have sphinx mod for CRT, so If I deselect CRT off on tweakbox, it is shown the same.
sphinx02 said:
Can you send me the modded libsurfaceflinger.so so I can test it directly?
Maybe a downloadlink via pm...
Click to expand...
Click to collapse
Would you mind just taking it from the Tweakbox package, and in the process also checking if the on-the-fly replacement is working for you?
---------- Post added at 12:03 PM ---------- Previous post was at 12:01 PM ----------
failax said:
I have sphinx mod for CRT, so If I deselect CRT off on tweakbox, it is shown the same.
Click to expand...
Click to collapse
Your lib settings are ok, so if you do a soft reboot (pressing the button on the app), it should come back with a libsurfaceflinger.so file in /vendor/lib. It's won't happen, though, if you do a "normal" reboot.
It isn't happening to you? Could it be that the soft reboot tries to load the new lib, fails, and immediately does a hard/normal reboot - did you notice anything that could point to this?

[CSC Features] Enable Secret CSC Features on Note 10.1

From the Samsung GALAXY Note 2 CSC Features thread!
Add features on your GALAXY Note 10.1 just by modifying the system/csc/others.xml file! Lot's of possible features.
https://www.dropbox.com/sh/z7fr99ym56xz851/M4rc_k5Q7N/unconfirmed_CscFeatures.txt
I can confirm this works with the Galaxy Note 10.1. Very handy! By the way, I don't have the features.xml file but the others.xml file works fine. I'm on JB 4.1.1.
I found a rather nice tweak here, it adds a feature where the device will require a PIN (lock screen code) to factory reset the device using the Settings app.
Not sure which code, just add the two.
PIN confirmation on factory reset
Code:
<CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>true</CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>
This one seems to add the option called Factory data reset password (Set up/change password) under Settings > Security, although I still can't figure the real use of that. I tried setting a code in there and then tried to reset my Note 10.1, it doesn't accept that code. It still needs the lock screen PIN. Can anyone help figure this out?
Code:
<CscFeature_Settings_Reset_Password>true</CscFeature_Settings_Reset_Password>
This is my new edited others.xml file.
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<SamsungMobileFeauture>
<Version>ED001</Version>
<Country>SWEDEN</Country>
<CountryISO>SE</CountryISO>
<SalesCode>NEE</SalesCode>
<FeatureSet>
<CscFeature_Common_DisablePhoneNumberFormatting>TRUE</CscFeature_Common_DisablePhoneNumberFormatting>
<CscFeature_Message_GalleryView4SingleImageMms>imagetext</CscFeature_Message_GalleryView4SingleImageMms>
<CscFeature_Web_EnableAutoSimHomeUrlInProfile>TRUE</CscFeature_Web_EnableAutoSimHomeUrlInProfile>
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate> <CscFeature_Web_EnableDesktopSiteAsDefault>true</CscFeature_Web_EnableDesktopSiteAsDefault> <CscFeature_Web_ShowVersionInSetting>true</CscFeature_Web_ShowVersionInSetting> <CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu> <CscFeature_Clock_EnableMenuAlarmAlertDuringSilentMode>true</CscFeature_Clock_EnableMenuAlarmAlertDuringSilentMode> <CscFeature_Contact_EnableMenuMDN>true</CscFeature_Contact_EnableMenuMDN> <CscFeature_Contact_SupportMDNMenu>true</CscFeature_Contact_SupportMDNMenu> <CscFeature_Contact_EnableQRCode>true</CscFeature_Contact_EnableQRCode> <CscFeature_Email_EnableSaveAsAttachment>true</CscFeature_Email_EnableSaveAsAttachment> <CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>true</CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM> <CscFeature_Settings_Reset_Password>true</CscFeature_Settings_Reset_Password> <CscFeature_Web_SupportDownloadSaveAs>true</CscFeature_Web_SupportDownloadSaveAs> <CscFeature_Web_homeurl>http://www.google.com/ncr</CscFeature_Web_homeurl> </FeatureSet>
</SamsungMobileFeauture>
Reserved.
Reserved for the last time.
Yeah quite nice opportunity to enable some of the features that are disabled in one regions rom but not others.
Not sure many are relevant for the first 10.1 yet, VIP mode intrigues me, can't see what it does yet.
Sent from my GT-N7000 using Tapatalk 2
do we hsve a list of features?
Sent from my GT-I9300 using xda app-developers app
lisa2blonde said:
do we hsve a list of features?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Yeah, it's on the link on the first post. Some features do not work though, just experiment and see. If you happen to spot an interesting CSC feature, kindly post the code and what it does. =)

ALL 700 Chromecast Wallpapers in high resolution

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?

Categories

Resources