There any way to use swipe with pin/pattern at the same time..? On my XU running ICS, there's mod available for that but i don't see it on SP..
No way right now. That is, until someone makes a mod for it which works with SP.
Till then you can use a third party lockscreen app (eg. widgetlocker) if u need the feature really bad.
Sent from my C5302
Ok.. Thx for the info...
Sent from my C5302 using xda premium
No need to reply. Just press tge thanks button.
Sent from my C5302
DeathCzar said:
No way right now. That is, until someone makes a mod for it which works with SP.
Till then you can use a third party lockscreen app (eg. widgetlocker) if u need the feature really bad.
Sent from my C5302
Click to expand...
Click to collapse
I try to edit android.policy.jar and it's work.. now i can use lockscreen with pattren..
just copy to /system/framework and change permission to rw-r--r-- , owner to root and reboot..
n/b: work on fw 284... not sure about other fw.
ozz_y said:
I try to edit android.policy.jar and it's work.. now i can use lockscreen with pattren..
just copy to /system/framework and change permission to rw-r--r-- , owner to root and reboot..
n/b: work on fw 284... not sure about other fw.
Click to expand...
Click to collapse
Awesome! Can u tell me what u edited??? I'm on .211, and I dnt have a pc nearby to flash 284 and check...
Sent from my C5302
DeathCzar said:
Awesome! Can u tell me what u edited??? I'm on .211, and I dnt have a pc nearby to flash 284 and check...
Sent from my C5302
Click to expand...
Click to collapse
1. decompile u'r android.policy.jar (i'm using apktool), u'll get folder android.policy.jar.out... find file LockPatternKeyguardView.smali,
2. open with text editor (i'm using notepad ++) and find line like this:
.prologue
const/4 v1, 0x0
...
...
.line 120
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
change to:
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
...
...
.line 120
iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
3. build (compile) android.policy.jar.out and u'll get file named: classes.dex in folder "android.policy.jar.out\build\apk".
4. open u'r original android.policy.jar with 7zip or winrar (u'll see META-INF and classes.dex), and delete classes.dex.
5 drag file classes.dex from u'r "android.policy.jar.out\build\apk" folder to 7zip or winrar window.
u'r done... just copy to /system/framework and change permission.. but it's a good idea to backup u'r rom fist...
ozz_y said:
1. decompile u'r android.policy.jar (i'm using apktool), u'll get folder android.policy.jar.out... find file LockPatternKeyguardView.smali,
2. open with text editor (i'm using notepad ++) and find line like this:
.prologue
const/4 v1, 0x0
...
...
.line 120
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
change to:
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
...
...
.line 120
iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
3. build (compile) android.policy.jar.out and u'll get file named: classes.dex in folder "android.policy.jar.out\build\apk".
4. open u'r original android.policy.jar with 7zip or winrar (u'll see META-INF and classes.dex), and delete classes.dex.
5 drag file classes.dex from u'r "android.policy.jar.out\build\apk" folder to 7zip or winrar window.
u'r done... just copy to /system/framework and change permission.. but it's a good idea to backup u'r rom fist...
Click to expand...
Click to collapse
That means it needs a computer.
Anyways, i'll try it as soon as I get my hands on one.
Sent from my C5302
ozz_y said:
I try to edit android.policy.jar and it's work.. now i can use lockscreen with pattren..
just copy to /system/framework and change permission to rw-r--r-- , owner to root and reboot..
n/b: work on fw 284... not sure about other fw.
Click to expand...
Click to collapse
It has not worked here. I tried using the attachment and also manually edit the file. Both had no results. :/
C5302 (.284)
Alvars said:
It has not worked here. I tried using the attachment and also manually edit the file. Both had no results. :/
C5302 (.284)
Click to expand...
Click to collapse
mm.. it's work fine on me (i'm using pattern).... did u change permission correctly..? are u using odex or deodex..? coz i'm using deodexd 284 fw and i'm not sure it will work on odex fw.
ozz_y said:
mm.. it's work fine on me (i'm using pattern).... did u change permission correctly..? are u using odex or deodex..? coz i'm using deodexd 284 fw and i'm not sure it will work on odex fw.
Click to expand...
Click to collapse
Sorry, but I don't know. :/
How can i find out?
---------- Post added at 07:49 AM ---------- Previous post was at 07:42 AM ----------
Alvars said:
Sorry, but I don't know. :/
How can i find out?
Click to expand...
Click to collapse
I found several files .odex in my "framework" folder, so my build is odex?
Alvars said:
Sorry, but I don't know. :/
How can i find out?
---------- Post added at 07:49 AM ---------- Previous post was at 07:42 AM ----------
I found several files .odex in my "framework" folder, so my build is odex?
Click to expand...
Click to collapse
Yes, u'r fw is odex.. Try to deodex first. Just download from this: http://forum.xda-developers.com/showthread.php?t=2336453
Flash via cwm.. And try again. Hope that it will solve u'r problm :thumbup:
Sent from my C5302 using XDA Premium 4 mobile app
ozz_y said:
Yes, u'r fw is odex.. Try to deodex first. Just download from this: http://forum.xda-developers.com/showthread.php?t=2336453
Flash via cwm.. And try again. Hope that it will solve u'r problm :thumbup:
Sent from my C5302 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Solved.
Thanks for the help!
Related
I did it right .
Root explorer,mount as r/w,opened in text editor, save and exit .
But when i reboot everything goes back to SAME !!
Sent from my X8 using xda premium
Jailbreaker Csk said:
I did it right .
Root explorer,mount as r/w,opened in text editor, save and exit .
But when i reboot everything goes back to SAME !!
Sent from my X8 using xda premium
Click to expand...
Click to collapse
have you edited both built.prop files at a time?
dipusen said:
have you edited both built.prop files at a time?
Click to expand...
Click to collapse
I guess there's only one built.prop .
And did everything
You can Thank me Now .
Jailbreaker Csk said:
I guess there's only one built.prop .
And did everything
You can Thank me Now .
Click to expand...
Click to collapse
you can find in system and another one in system/bin folder. you have change both the files at a time.
BTW which ROM you are using?
dipusen said:
you can find in system and another one in system/bin folder. you have change both the files at a time.
BTW which ROM you are using?
Click to expand...
Click to collapse
no
Sent from my X8 using xda premium
first of all edit build.prop in /system/bin and copy the edited one to /system
reboot n u r done..
Some rom it has build file without extension in /system/bin
*__________* |Sony Erricsson X8 White-Dark&Blue| Alfs 06 No Caps| Fde Xperience 2.4.3| Unlocked Bootloader 11W26|748 Mhz| 700MiB 60 Swap| 128 Ext-2 APP2SD| Class 4 8GiB SDCARD| AnTuTu 1950-2050+ (May Change)
Thanks button> ---------------------------------------------------------------------------------------------------------------------------------------------Y
As i you know, a Double click feature was implemented for the Home button on Samsung Roms to launch Vlingo on SGS2 and S-Voice on SGS3.
This feature may be seen a useless Lag because most of us don't use these apps, so this is a small how to disable it, this mod was based on Oliwe and Jkay mods, thanks to them.
You need to decompile android.policy.jar (get Smali here ), Edit "androidpolicyjar\com\android\internal\policy\impl\PhoneWindowManager.smali" and make these changes :
Code:
.line 2282
:cond_236
[COLOR=SeaGreen]++goto :cond_24b[/COLOR]
[COLOR=Red]--if-eqz v26, :cond_24b[/COLOR]
.line 2283
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeKeyDoubleClickConcept:Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;
move-object/from16 v41, v0
invoke-virtual/range {p2 .. p2}, Landroid/view/KeyEvent;->getAction()I
Code:
.line 2289
const/16 v41, 0x0
move/from16 v0, v41
move-object/from16 v1, p0
iput-boolean v0, v1, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomePressed:Z
[COLOR=SeaGreen]++invoke-virtual/range {p0 .. p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->launchHomeFromHotKey()V[/COLOR]
.line 2291
if-nez v26, :cond_2a3
Code:
.line 2371
[COLOR=SeaGreen]++goto :cond_332[/COLOR]
[COLOR=Red]--if-eqz v26, :cond_332[/COLOR]
.line 2372
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeKeyDoubleClickConcept:Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;
move-object/from16 v41, v0
invoke-virtual/range {v41 .. v41}, Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;->setHomeDownEventSent()V
You may get a different conditions Ids, track the methods name.
Compile & Enjoy!
Thanks Mate
As always
Is this already implemented in your WanamLite 1.4?
And as always: Thank you for your great work!
Sent from my GT-I9300 using xda app-developers app
mc-paulo said:
Is this already implemented in your WanamLite 1.4?
And as always: Thank you for your great work!
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Yes, it's implemented on my V1.4.
Is this any different to disabling it in S voice settings?
Edit: Well, actually it is different as rom developers can implent it in their roms.
Great work!
Sent from my GT-I9300 using xda premium
I don't suppose there is a flashable zip as opposed to all that decompiling mallarkey :good:
jonny68 said:
I don't suppose there is a flashable zip as opposed to all that decompiling mallarkey :good:
Click to expand...
Click to collapse
+1
Sent from my GT-I9300 using Tapatalk 2
It would be cool if we could somehow just minimize the wait for the second click, this would keep functionality and reduce the lag to a minimum.
–—–—–—–—–—–—–—–—
tapatalked from Galaxy SIII
jonny68 said:
I don't suppose there is a flashable zip as opposed to all that decompiling mallarkey :good:
Click to expand...
Click to collapse
+1 for that, please.
GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
A flashable zip would be great
Sent from my GT-I9300
Why do not you turn off double click from s-voice application itself.
Just launch the application,press menu softkey.
Settings will popup.
Uncheck launch S voice below language. Very much more simple.
Cheers
Sent from my GT-I9300 using xda premium
mariosraptor said:
Why do not you turn off double click from s-voice application itself.
Just launch the application,press menu softkey.
Settings will popup.
Uncheck launch S voice below language. Very much more simple.
Cheers
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
This won't disable double click.
Just tried turning off double click in S-Voice settings, it halves the amount of time it takes to go back to the home screen.
Hi
Can someone make a flashable CWM Zip ?
Thanks a lot.
wanam said:
This won't disable double click.
Click to expand...
Click to collapse
Yes it does. Just try it.
Sent from my GT-I9300 using xda premium
mariosraptor said:
Yes it does. Just try it.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I can't test it as i don't use this app, but i think you are right, i just checked the sources, and Yes it's supported :
Code:
.line 2269
.local v4, attrs:Landroid/view/WindowManager$LayoutParams;
:goto_1f8
move-object/from16 v0, p0
iget-boolean v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeDoubleClickBehavior:Z
move/from16 v41, v0
if-eqz v41, :cond_22f
if-eqz v18, :cond_22f
const/16 v26, 0x1
.line 2271
.local v26, mSupportDoubleClick:Z
Anyway this mod will still useful if your Rom don't include S-voice .
It would be great if you could also implement long press volume to skip songs mod from sgs2. It's also a android.policy mod.
aydc said:
It would be great if you could also implement long press volume to skip songs mod from sgs2. It's also a android.policy mod.
Click to expand...
Click to collapse
+1
Sent from my GT-I9300 using xda app-developers app
wanam said:
I can't test it as i don't use this app, but i think you are right, i just checked the sources, and Yes it's supported
Anyway this mod will still useful if your Rom don't include S-voice .
Click to expand...
Click to collapse
I do not know much about coding. But i am glad that Sammy left us the choice like Apple has.
In the end i just want to say Thank you for your work. I have been using your roms on my S2 also. Now i have your stock deodexed one
Cheers m8!!!
Sent from my GT-I9300 using xda premium
aydc said:
It would be great if you could also implement long press volume to skip songs mod from sgs2. It's also a android.policy mod.
Click to expand...
Click to collapse
I'm missing this feature big time
i have the 15 toggle bar for the note n7000... but the text below them are too big.. can anyone tell me how to change them?
Hey anyone.. No replies yes.... Hmmmm..
I know that it's in the values folder.... String. Xml.... But when I edit the file and recompile the framework... The phone won't boot.
Sent from my GT-N7000 using xda premium
my question is add another language for title icon (i.e. italian) or change the title icon properly (i.e. flash light to flashlight).
i decompiled lidroid-res.apk add values-it and edit strings.xml, recompiled , put the new lidroid-res.apk into zip for cwm,
installed the zip via cwm, reboot but error ...
one week always error...
can someone help us?
Hey Devs.. please give us a hint of how to recompile the -res.apk file cuz we not getting any success.. i have been trying to get this done.. but failing every time... ...
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
letters_to_cleo said:
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
Thanks for ur response... but i seem to have used all the apktools available... i can recompile the "-res.apk" but when i put it back to \system\framework ... the UI FCs and the notification bar doesnot load.
unfortunately od has stopped. >> is the message i get when i put the modified "-res.apk".
i have noticed one thing that the recompiled apk doesnot have META-INF folder... although i tried to copy it and gave a try but still no go...
what i am trying to do is using a themed apk like lidroid or crikelos res .. decompile .. change some text under the toggle buttons ...
what am i doing wrong... ?
hmm... have you tried setting back the permissions on your modified -res.apk in /system/framework? Mounting it before hand?
If you have, you may indeed try to ask some devs or someone who knows their way in recompiling apks as this is a sensitive matter to touch with and I'm moderately more on contributing stuffs rather than delving into the internal programmings on the android ecosystem.
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No problems bud.
Hope somebody can take notice on your issue and give you a lending hand on it.
:victory:
---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Well there you go.. Cheers and Kudos to CoolCat on this :good:
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
nokiamodeln91 said:
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
Click to expand...
Click to collapse
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
CoolCatGetHome infinite thanks
you saved me from sleepless nights looking for the solution
again thanks
CoolCatGetHome said:
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
so this is wat i do, correct me where i go wrong plz
1 decomiple app..
2. change the dimen.xml
3. recomile app
4. open the original app using 7z
5. go to the build/apk folder
6. copy the res folder and the .asrc file to the opened apk.
7. sign the apk
there is a classes.dex file as well... do i change it or do i keep the original
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
nokiamodeln91 said:
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
Click to expand...
Click to collapse
No that apk doesnt need to have that apktool.yml edit
Only lidroid needs it
But u need to sig it with
Android manager
Or apkmanager
Etc
Sent from my GT-S5830 using xda premium
Devs ... Wich File Contains Platlogo Text?
Thanks
Framework-res mostly..Maybe strings.XML,try checking it...
Insert witty sentence here
Prawesome said:
Framework-res mostly..Maybe strings.XML,try checking it...
Insert witty sentence here
Click to expand...
Click to collapse
I Also Thought of that but no!
Its in framework.jar and i have already done it
SnowPluralism said:
I Also Thought of that but no!
Its in framework.jar and i have already done it
Click to expand...
Click to collapse
Wich smali
I was right it was in smali
But wich one
Sent from my ST25i using xda premium
CoolCatGetHome said:
Wich smali
I was right it was in smali
But wich one
Sent from my ST25i using xda premium
Click to expand...
Click to collapse
U have to edit classes.dex on famework.jar
Its in android/internal/app/platlogo...
Sent from my GT-S5830 using xda premium
SnowPluralism said:
U have to edit classes.dex on famework.jar
Its in android/internal/app/platlogo...
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
1. Backup your current "framework.jar"
2.Open 'framework.jar' via 7zip
3. Extract the file "classes.dex"
4. goto this thread and download "AvaboxV2"
http://forum.xda-developers.com/showthread.php?t=709037
Follow instructions in the thread
5. put back the file to 'framework.jar' via 7zip
JB 4.3 version - http://d-h.st/wjj
JB version from XZ 4.2 - http://d-h.st/4cM
JB version from XZ - http://d-h.st/KKs
JB version - http://d-h.st/Y49
ICS version - http://d-h.st/fty
Just replace the original one with Root Explorer in /system/app, change permissions, owner and delete Radio3.odex (if your rom is not deodexed).
It's working! Thank You!
Sent from Xperia T - Tapatalk2
And the sound is good enough? Interferences?
Try It takes one minute
Sent from Xperia T - Tapatalk2
Just have to ask:
Are you, the owner of peetr_, the same person as the owner of peterkoo1?
Hi
Can you make it for Xperia S please ? or tell what value must change
here is Xperia S apk
Thanks for your work!
only works with root permissions?
xVenator said:
Just have to ask:
Are you, the owner of peetr_, the same person as the owner of peterkoo1?
Click to expand...
Click to collapse
No, I'm other person
Sent from Xperia T - Tapatalk2
pajva said:
only works with root permissions?
Click to expand...
Click to collapse
Only works with root permissions? Can i try with no root phone?
Sent from my LT30p using xda premium
If you want to copy radio3.apk with root explorer you must have root...
Sent from Xperia T - Tapatalk2
grazie!
can you modified for xperia s? or giving us the values to do it ourselves?
Sent from my LT26i using xda premium
com/sonyericsson/fmradio/service/PhfHandler.smali
.method public isPhfConnected()Z - there is line "if-eqz v0", so delete it
sorry for my noobish question but where is Located? i havent found that directory ,i have found twoo folders but both are not contein the values above
Sent from my LT26i using xda premium
peetr_ said:
com/sonyericsson/fmradio/service/PhfHandler.smali
.method public isPhfConnected()Z - there is line "if-eqz v0", so delete it
Click to expand...
Click to collapse
Thank You
peetr_ said:
com/sonyericsson/fmradio/service/PhfHandler.smali
.method public isPhfConnected()Z - there is line "if-eqz v0", so delete it
Click to expand...
Click to collapse
I wanted to ask if you could kindly make the same changes to the FM radio for the Xperia series since 2011 I experienced a change as you mentioned above but I can not find the directory you indicated.
Could you change it?
I am attaching. Xperia apk FM Radio 2011
Thank you very much
So, I looked at this Radio.apk and I found this in FMRadioActivity.smali -
.line 901
invoke-virtual {v0}, Lcom/sonyericsson/fmradio/model/ChipModel;->isPhfInserted()Z
move-result v1
if-eqz v1, :cond_1 "try to delete this line and you will see"
Works perfect on the v too! Good job man..
peetr_ said:
So, I looked at this Radio.apk and I found this in FMRadioActivity.smali -
.line 901
invoke-virtual {v0}, Lcom/sonyericsson/fmradio/model/ChipModel;->isPhfInserted()Z
move-result v1
if-eqz v1, :cond_1 "try to delete this line and you will see"
Click to expand...
Click to collapse
i tried it ,Not working
decompile
re-compile
by x-tools by gagan