★[GUIDE]How to Remove or Replace "Swipe Screen to Unlock" text ★ - Galaxy Ace S5830i General

★[GUIDE]How to Remove or Replace "Swipe Screen to Unlock" text ★
Remove or Replace "Swipe Screen to Unlock" From lock Screen
Click to expand...
Click to collapse
Disclaimer:
Code:
You must be knowing basic knowledge of Apk Multitool and Editing XML
I am not responsible for any damage to you phone,Do it on your own Risk .
Requirements:
APK Multi Tool
Notepad++
Click to expand...
Click to collapse
So lets start
Take out your Framework-res.apk from system/framework/Here
Decompile it
Go to res/values/Strings.XML
Open it with Notepad ++
Now Press Ctrl + F
Now type Swipe Screen to Unlock and Press Find Text
If you want to remove it so just clear it or replace it with another
Now Compile it and Move it back to System/Framework/Here and set permission {In case no need it will Auto reboot your device}
Enjoy:laugh:
Click to expand...
Click to collapse
Note: The Value Folder is only for English Language ,So for other lang eg .For Russian lang go for values-ru
Feel free to post any query here

:thumbup:

Great!
Newbies should know this. :good:

Nice
Sent from my GT-S5830i using Tapatalk 2

Related

Awake screen using volume rocker

i researched this method because i noticed that i'm constantly using the power button (for screen on and off) and didn't want to wear it down prematurely. cm7/miui has this functionality built in but sense roms do not. for those of you wanting this capability on sense roms, i thought i'd share this.
before you begin, ensure that you have java installed on your pc (i'm sure most of you do). fyi, i used my windows xp pc, wordpad, and 7zip for this. i'm currently using the vu 2.39 rom.
1. Download baksmali and smali (both baksmali-1.2.8 & smali-1.2.8 jars and scripts, total 4 files) to the desktop from here (on the left, you will see the 4 links under "downloads")
2. Copy and transfer android.policy.jar (system\framework folder) from your phone to the desktop. it's also a good idea to backup the file just in case something goes wrong and you need to revert back.
3. Unzip android.policy.jar and extract classes.dex file to the desktop.
4. From the command line, navigate to the desktop and type "java -jar baksmali-1.2.8.jar classes.dex". It will create a directory named "out".
7. Open KeyguardViewMediator.smali (found in out/com/android/internal/policy/impl/) with wordpad.
8. Scroll down and find ".method private isWakeKeyWhenKeyguardShowing(I)Z".
9. Delete cases 0x18 and 0x19 in the switch statement towards the bottom of the method. Save.
10. From the command line, type "java -jar smali-1.2.8.jar -o classes.dex out". You now have a new classes.dex that has your modification.
11. Open android.policy.jar file on your desktop with 7zip and insert the new classes.dex file.
12. Copy the new file to your phone (system\framework folder, ensure that you set proper permissions) and reboot.
please note that i am not responsible if you mess anything up (although, the steps are pretty brick-proof). hack away at your own risk.
ps if you want to turn the screen off without using the power button, download "screen off and lock" from the market. awesome free app. shut down the screen by long pressing the search button.
Thanks SO much. I've been wanting something like this FOREVER. Don't like having to use widgetlocker! Appreciate the guide, I did this on my HTC Sensation and worked great. Thank you!
no problem. glad i can help.
just tried this.. perfrect on my IS
baste07 said:
just tried this.. perfrect on my IS
Click to expand...
Click to collapse
i'm glad it worked out for ya.
syc7090 said:
i researched this method because i noticed that i'm constantly using the power button (for screen on and off) and didn't want to wear it down prematurely. i think the cm7 rom has this functionality built in but i primarily use sense roms. for those of you on the same boat, i thought i'd share this.
before you begin, ensure that you have java installed on your pc (i'm sure most of you do). fyi, i used my windows xp pc, wordpad, and 7zip for this. also, i didn't connect the phone to the pc. i transferred the files manually (via microsd card). i'm currently using the vu 2.39 rom.
1. Download baksmali and smali (both baksmali-1.2.8 & smali-1.2.8 jars and scripts, total 4 files) to the desktop from here (on the left, you will see the 4 links under "downloads")
2. Copy and transfer android.policy.jar (system\framework folder) from your phone to the desktop. it's also a good idea to backup the file just in case something goes wrong and you need to revert back.
3. Unzip android.policy.jar and extract classes.dex file to the desktop.
4. From the command line, navigate to the desktop and type "java -jar baksmali-1.2.8.jar classes.dex". It will create a directory named "out".
7. Open KeyguardViewMediator.smali (found in out/com/android/internal/policy/impl/) with wordpad.
8. Scroll down and find ".method private isWakeKeyWhenKeyguardShowing(I)Z".
9. Delete cases 0x18 and 0x19 in the switch statement towards the bottom of the method. Save.
10. From the command line, type "java -jar smali-1.2.8.jar -o classes.dex out". You now have a new classes.dex that has your modification.
11. Open android.policy.jar file on your desktop with 7zip and insert the new classes.dex file.
12. Copy the new file to your phone (system\framework folder, ensure that you set proper permissions) and reboot.
please note that i am not responsible if you mess anything up (although, the steps are pretty brick-proof). hack away at your own risk.
ps if you want to turn the screen off without using the power button, download "screen off and lock" from the market. awesome free app. shut down the screen by long pressing the search button.
Click to expand...
Click to collapse
So I assume the downside isbyou lose one direction of volume change during screen off or is the missing volume link changed to the power button?
You can do the same with programs No lock, or Ripple lock.
With no lock, volume key gets you directly to launcher, and with ripple lock you have extra step to unlock screen.
I use Ripple lock and Screen off and lock on wildfire s.
Sent from my HTC Wildfire S A510e using XDA App
@nestorkg
this is a way to do it without installing and running an extra app. i guess it's more geared towards those who like to keep running apps to a minimum.
@beertime
yes, you do lose the ability to change volume while the screen is off (i.e. there is no keymap switching involved).
Or you can just go into settings > cyanogenmod settings > input then tick volume rocker.
no apps, no mods, nothing
jakeyo said:
Or you can just go into settings > cyanogenmod settings > input then tick volume rocker.
no apps, no mods, nothing
Click to expand...
Click to collapse
yes, if you are on cm7. sense roms don't have this option.
jakeyo said:
Or you can just go into settings > cyanogenmod settings > input then tick volume rocker.
no apps, no mods, nothing
Click to expand...
Click to collapse
^ lmao
syc7090 said:
yes, if you are on cm7. sense roms don't have this option.
Click to expand...
Click to collapse
You sir, I love you still for your work!
there is an app in market that goes by name no lock which does just d same
mandeep294 said:
there is an app in market that goes by name no lock which does just d same
Click to expand...
Click to collapse
again, some people want this functionality without having to install and run an app. this guide is aimed at those people. we are well aware that there are apps for this. thanks.
mandeep294 said:
there is an app in market that goes by name no lock which does just d same
Click to expand...
Click to collapse
yeah no ****! another member before you posted the exact same thing and it was explained as well, go a page back
nestorkg said:
You can do the same with programs No lock, or Ripple lock.
With no lock, volume key gets you directly to launcher, and with ripple lock you have extra step to unlock screen.
I use Ripple lock and Screen off and lock on wildfire s.
Sent from my HTC Wildfire S A510e using XDA App
Click to expand...
Click to collapse
Awesome guide. Thanks you very much
you're welcome
Thanks for this! I just tried it and it works on my Inspire running Android Revolution. So awesome!
sharksfan7 said:
Thanks for this! I just tried it and it works on my Inspire running Android Revolution. So awesome!
Click to expand...
Click to collapse
np. this method should work on most htc/sense phones.
nice, i didn't know all that stuff
@syc7090 do you know wich lines should i modify to get the volume buttons to change songs feature?
qelavidamelleve said:
nice, i didn't know all that stuff
@syc7090 do you know wich lines should i modify to get the volume buttons to change songs feature?
Click to expand...
Click to collapse
no idea. i tried to figure that out but didn't have any luck.

[GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE

I wrote this tutorial that explains how to port Jelly Bean transition animations on EVERY ROM & especially on EVERY PHONE!!!.
1) First of all, you need to download and install APK MANAGER:
http://apkmultitool.com/?q=node/5
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" (Set current project) and enter. Then enter "1" (to choose the first apk) and enter. Then enter "9" (Decompile apk) and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to projects\framework-res\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/download.php?8u5y88ais0awj1r
8) Copy the files from the folder "anim" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes.
9) Now go to your apk manager folder, go to projects\framework-res\res\values\. Edit the file integers.xml.
Modify the values in those lines:
Code:
<integer name="config_shortAnimTime">150</integer>
<integer name="config_mediumAnimTime">300</integer>
<integer name="config_longAnimTime">400</integer>
to:
Code:
<integer name="config_shortAnimTime">200</integer>
<integer name="config_mediumAnimTime">400</integer>
<integer name="config_longAnimTime">500</integer>
and add these just below:
Code:
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" (Compile apk) and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "n" and enter.
12) Go to the folder "place-apk-here-for-modding" delete the file "unsignedframework-res.apk", click with the right mouse button on "framework-res.apk" and select "7zip > Open file", delete the folder "res" and "resource.arsc", go to the folder "projects\framework-res\build\apk\" select the folder "res" and the "resource.arsc", drag to zip and close.
13) Ready, now just replace.
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post
Credits: Dinhodroid
Thanks nice guide and animations
Sent from my HTC Explorer A310e using xda premium
Thanks a lot
Sent from my GT-S5830 using Tapatalk 2
Good work. This is being used on my custom rom called ICS Redux for the Sidekick 4G! :good:
AW: [GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE
Does that also work for gingerbread ??
I scratch that. I keep getting an error when recompiling.
KageBeast said:
I scratch that. I keep getting an error when recompiling.
Click to expand...
Click to collapse
that has nothing to do with this.
mv_style said:
that has nothing to do with this.
Click to expand...
Click to collapse
So me trying to put the animations on my phone and getting error when recompiling the framework-res has nothing to do with this? I believe you are wrong sir.
KageBeast said:
So me trying to put the animations on my phone and getting error when recompiling the framework-res has nothing to do with this? I believe you are wrong sir.
Click to expand...
Click to collapse
Can u compile and recompile other apps?
hey OP have u taken the original modders permissions to port here ?
mv_style said:
Can u compile and recompile other apps?
Click to expand...
Click to collapse
Yeah I can but i got this work. I had issues compiling the first time because i was also editing another xml but it worked the 2nd time.

Make On Screen Buttons smaller

Hi,
I got here a rooted Xperia Z, and I asked myself it its possible to easily make the navigation bar (back,home,window manager) smaller than original.
Just to save some screen
I read something like you have to modify apk´s and change system files, can anyone maybe explain it in detail?
Or maybe there is already an app for it, which can change the size on the fly?
Thank you!
I cant give you a tutorial since I dont have the phone yet,but you should look into /System/build.prop, usually that is where the dpi is changed so you should look into code that has dpi or navbar in it. Other than that,you could look into Framework.jar but I used to soft brick my phone when I fiddled with stuff I don't understand so be careful. Anyway,you'll need root and I think build.prop gets rebuilt to default every time you reboot so you need some kind of mod to keep it changed. In a month or so we are gonna have Paranoid android ported so you will be able to change everything from the settings
On my Xperia T JB, you must change some files in /system/framework/framework-res.apk, you must also make some changes to /system/app/SystemUI.apk
I'm no expert (yet) so I can't help much after that..
xanthos84 said:
Hi,
I got here a rooted Xperia Z, and I asked myself it its possible to easily make the navigation bar (back,home,window manager) smaller than original.
Just to save some screen
I read something like you have to modify apk´s and change system files, can anyone maybe explain it in detail?
Or maybe there is already an app for it, which can change the size on the fly?
Thank you!
Click to expand...
Click to collapse
Yeah u can change the size!
you need to use apktool to edit framework-res.apk! Just tell me, do u know how to use apktool?
If yes then I will post the full tutorial step by step!
If No then I will post a few links along with the tut!
Btw u just need to edit framework-res.apk! No systemUI editing is required!
As for the dpi - if u change the dpi in the build.prop then its changed for the whole system, not only for the navigation bar! I had tried it once! My neo v 's default dpi is 240 and I decreased it to 140 - result- xperia home went crazy! Lolz!
Sent from my »Neo V«
Dev Jaskirat said:
Yeah u can change the size!
you need to use apktool to edit framework-res.apk! Just tell me, do u know how to use apktool?
If yes then I will post the full tutorial step by step!
If No then I will post a few links along with the tut!
Btw u just need to edit framework-res.apk! No systemUI editing is required!
As for the dpi - if u change the dpi in the build.prop then its changed for the whole system, not only for the navigation bar! I had tried it once! My neo v 's default dpi is 240 and I decreased it to 140 - result- xperia home went crazy! Lolz!
Sent from my »Neo V«
Click to expand...
Click to collapse
Hi Neo and thanks for your reply!
I am quite new to Android, so I have no experience into apktool.
Looking forward for your tutorial!
Thanks!
How TO Get Smaller Soft Keys
Bro You can call me DJ!
Neo V is the name of my device !! Sony Xperia Neo V!
By the way tell me if it works for you i will post it in the XZ dev section too for others!
Already did !- http://forum.xda-developers.com/showthread.php?p=38503045
Let's Begin:
First of all make a backup of your rom by going into the recovery ! Its good to have one incase something goes wrong!
To DO on your XZ-
1) Install root explorer
2) Navigate to system/framework/
3) Copy 'framework-res.apk' and 'SemcGenericUxpRes.apk' from that location to your SDcard.
4) Now connect your XZ to your PC.
To DO on your PC-
1) Install apktool v3 [you can find it easily on google! ]
2) After you are done with installing apktool open a cmd window in that location [ you can do that by right clicking in that window while keeping the shift key pressed, then click on the open command window here option from the drop down menu which appers].
3) Copy framework-res.apk and SemcGenericUxpRes.apk from your SDcard to your PC to the location where your apktool files are present.
4) Now in the cmd window which you opened earlier you need to type some commands -
apktool if framework-res.apk
now press 'enter key'
then
apktool if SemcGenericUxpRes.apk
press enter
The above 2 lines have installed the framework-res.apk and SemcGenericUxpRes.apk to your system which the apktool will later use as resources to decompile the framework-res.apk
now we need to decompile the framework-res.apk, for this type
apktool d framework-res.apk framework-res
it will perform a series of functions just wait for it till its finished!
when its done you will see that there is a new folder 'framework-res' in the window[location] where you have installed the apktool!
navigate to framework-res/res/values/
open dimens.xml using noteped++[yeah forgot to say that you need to install this too! ]
look for the lines 'navigationbar height' and navigationbar width'
the default size would be 48! just reduce it to what ever you want! 28 is recommended by me ! height = 28 and width= 24
Save the changes.
Now switch to the cmd window again
We are going to re-compile the framework-res.apk-
type-
apktool b framework-res framework-res-new.apk
when its done then you will have the new framework-res-new.apk with smaller softkeys!
5) Now copy it to your SDcard
6) Disconnect your XZ
7) Open root explorer in your XZ.
8) Copy the 'framework-res-new.apk' to your system/
9) Long press it and click on permissions
10) set it to rw-r--r--[1st row + + - ; 2nd row + - - ; 3rd row + - -][+ means ticked and - means unticked]
11) once done , rename the 'framework-res-new.apk' to 'framework-res.apk'.
12) Copy it to system/framework/
13) Press Yes when it asks to replace the original.
14) Then reboot your XZ [it might force reboot itself].
15) Done! now you have smaller softkeys!
Press the thanks button below if you found this helpful! It was quite difficult to type!
Dev Jaskirat said:
Bro You can call me DJ!
Neo V is the name of my device !! Sony Xperia Neo V!
By the way tell me if it works for you i will post it in the XZ dev section too for others!
Already did !- http://forum.xda-developers.com/showthread.php?p=38503045
Let's Begin:
First of all make a backup of your rom by going into the recovery ! Its good to have one incase something goes wrong!
To DO on your XZ-
1) Install root explorer
2) Navigate to system/framework/
3) Copy 'framework-res.apk' and 'SemcGenericUxpRes.apk' from that location to your SDcard.
4) Now connect your XZ to your PC.
To DO on your PC-
1) Install apktool v3 [you can find it easily on google! ]
2) After you are done with installing apktool open a cmd window in that location [ you can do that by right clicking in that window while keeping the shift key pressed, then click on the open command window here option from the drop down menu which appers].
3) Copy framework-res.apk and SemcGenericUxpRes.apk from your SDcard to your PC to the location where your apktool files are present.
4) Now in the cmd window which you opened earlier you need to type some commands -
apktool if framework-res.apk
now press 'enter key'
then
apktool if SemcGenericUxpRes.apk
press enter
The above 2 lines have installed the framework-res.apk and SemcGenericUxpRes.apk to your system which the apktool will later use as resources to decompile the framework-res.apk
now we need to decompile the framework-res.apk, for this type
apktool d framework-res.apk framework-res
it will perform a series of functions just wait for it till its finished!
when its done you will see that there is a new folder 'framework-res' in the window[location] where you have installed the apktool!
navigate to framework-res/res/values/
open dimens.xml using noteped++[yeah forgot to say that you need to install this too! ]
look for the lines 'navigationbar height' and navigationbar width'
the default size would be 48! just reduce it to what ever you want! 28 is recommended by me ! height = 28 and width= 24
Save the changes.
Now switch to the cmd window again
We are going to re-compile the framework-res.apk-
type-
apktool b framework-res framework-res-new.apk
when its done then you will have the new framework-res-new.apk with smaller softkeys!
5) Now copy it to your SDcard
6) Disconnect your XZ
7) Open root explorer in your XZ.
8) Copy the 'framework-res-new.apk' to your system/
9) Long press it and click on permissions
10) set it to rw-r--r--[1st row + + - ; 2nd row + - - ; 3rd row + - -][+ means ticked and - means unticked]
11) once done , rename the 'framework-res-new.apk' to 'framework-res.apk'.
12) Copy it to system/framework/
13) Press Yes when it asks to replace the original.
14) Then reboot your XZ [it might force reboot itself].
15) Done! now you have smaller softkeys!
Press the thanks button below if you found this helpful! It was quite difficult to type!
Click to expand...
Click to collapse
Thank you for posting!
I will try this later!!

Make touchWiz30launcher.apk Support Arabic

Make touchWiz30launcher.apk Support Arabic or any language you want
also you can use this method in some other app like Status bar .......
1- Decompile touchWiz30launcher.apk
2- Go to “res” folder
3- Make new folder “values-ar”
4- Go to “ res\values “ and copy file “ setting.xml “ from it , into folder “values-ar “
5- Open setting.xml in folder values-ar by notepad++
6- Moddfing it by replace English phase with Arabic one "see photo in attachmeents"
7- Recompile Apk
.
.
.
IF you Like this method please "Thank me:good:"
Good job. When I read the title I thought you were asking somebody to do it lol.
Howdareme said:
Good job. When I read the title I thought you were asking somebody to do it lol.
Click to expand...
Click to collapse
I thought it too. @OP, why don't add [GUIDE] to the title?
And please add the text of the files that we'd have to modify, otherwise users will have to copy it.
mathm2013 said:
I thought it too. @OP, why don't add [GUIDE] to the title?
And please add the text of the files that we'd have to modify, otherwise users will have to copy it.
Click to expand...
Click to collapse
i will upload the orginal file whose found in values and the Modified one in values-ar "check attachment"
Hesham Sleem said:
Make touchWiz30launcher.apk Support Arabic or any language you want
also you can use this method in some other app like Status bar .......
1- Decompile touchWiz30launcher.apk
2- Go to “res” folder
3- Make new folder “values-ar”
4- Go to “ res\values “ and copy file “ setting.xml “ from it , into folder “values-ar “
5- Open setting.xml in folder values-ar by notepad++
6- Moddfing it by replace English phase with Arabic one "see photo in attachmeents"
7- Recompile Apk
.
.
.
IF you Like this method please "Thank me:good:"
Click to expand...
Click to collapse
i try this method also in : SystemUI.apk , Settings.apk , Lidroid-res.apk , Lidroid-Parts.apk , ..... other

[Guide] Enable EMUI fingerprint navigation gestures on Huawei P10 Lite

You must have root access on your device
I've used this feature in the custom ROM MorfuZ V4.0 with also the Navigation Gestures of XDA. great combo.
Now I'm on the stock ROM , and, since hidding the navbar cause a problem on the bottom of the lockscreen I've found this a good method to bypass the problem and keep again the fingerprint navigation.
Simply add to build.prop this two lines:
ro.config.hw_front_fp_navi=true
ro.config.hw_front_fp_trikey=1
Save and reboot
After navigate to settings > navigation key and select the top to enable the gestures.
Tested and working on WAS-LX1A running EMUI 8
Step by step:
1) Download and install root explorer on your phone.
2) Open the application and grant the root permissions.
3) Now, simply open go to /System/ and then you will be able to see Build.Prop file
4) Now, click on the option called as Mount R/O.
5) Long press on that files and you will get a pop-up of open with
6) Just hit open with text editor and then you are good to go
7) Copy the codes above and simply paste on your build.Prop
8) Click on the save changes and then reboot your Android device.
JowyOMac said:
I've used this feature in the custom ROM MorfuZ V4.0 with also the Navigation Gestures of XDA. great combo.
Now I'm on the stock ROM , and, since hidding the navbar cause a problem on the bottom of the lockscreen I've found this a good method to bypass the problem and keep again the fingerprint navigation.
Simply add to build.prop this two lines:
ro.config.hw_front_fp_navi=true
ro.config.hw_front_fp_trikey=1
Save and reboot
After navigate to settings > navigation key and select the top to enable the gestures.
Tested and working on WAS-LX1A running EMUI 8
Click to expand...
Click to collapse
but it works?
Luxifer2001 said:
but it works?
Click to expand...
Click to collapse
In my phone yes.
https://ibb.co/jGLD60X
https://ibb.co/fxLXYWz
JowyOMac said:
In my phone yes.
https://ibb.co/jGLD60X
https://ibb.co/fxLXYWz
Click to expand...
Click to collapse
okok
Luxifer2001 said:
can u upload some screen??
Click to expand...
Click to collapse
The two link inside the spoiler.
I'd like to experiment. You can explain where the build-prop folder is and how I can add the lines. Thanks and sorry but I do not understand much of these modifications.
noslen69 said:
I'd like to experiment. You can explain where the build-prop folder is and how I can add the lines. Thanks and sorry but I do not understand much of these modifications.
Click to expand...
Click to collapse
The build.prop is a file, you can do this:
1) Download and install root explorer (or Solid Explorer) on your phone
2) Open the application and grant the root permissions
3) Now, simply open go to /System/ and then you will be able to see Build.Prop file
4) Now, click on the option called as Mount R/O.
5) Long press on that files and you will get a pop-up of open with
6) Just hit open with text editor and then you are good to go
7) Copy the codes from above and simply paste on your build.Prop
8) Click on the save changes and then reboot your Android device.
I've updated the main post.
Its work!but you know how to only disable navigation bar??or the gestures navigation like emui or the rom siriuz 3.5???

Categories

Resources