[MOD][JB][ICS]FM Radio app working without headset - Sony Xperia T, TL, TX, V

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

Related

[HowTo] Reduce Home Button Lag - Disable Home button double click

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

Reboot Option (No Sub) + Wake up by volume .307 Odex and Deodex

...I mod for firmware .307..I tested in my rom odex and deodex (C6602,Taiwan ver), it worked perfect ...Test and report..Thanks,
-odex ver: http://www.mediafire.com/?m5fm85pyk13k5j8
-Deodex ver: http://www.mediafire.com/?o7c62hycp29qd62
-How to install: U should backup your rom,
unpack file zip and copy file to /system/ Set permission 644(rw-r-r) then move to /system/framework
Reboot
Sorry i don't know creat file.zip..If i help U, please hit thanks :victory:
Ps: Ver without Wake up by volume :http://www.mediafire.com/download/78hym3mrmn0bg61/Reboot_Deodex(2).zip
nhoc_huhu said:
...I mod for firmware .307..I tested in my rom odex and deodex (C6602,Taiwan ver), it worked perfect ...Test and report..Thanks,
Sorry i don't know creat file.zip..If i help U, please hit thanks :victory:
Click to expand...
Click to collapse
Recovery
nhoc_huhu said:
Sorry i don't know creat file.zip
Click to expand...
Click to collapse
It's easy. - Flashable Clockwork Mod (CWM) zip
Like Việt Nam...
Thanks nhoc_huhu.
Good job dev from VN.
Sent from Sony Xperia Z®
You wouldn't mind if I put this in my ROM, would you?
xL3thalTuRdZz said:
You wouldn't mind if I put this in my ROM, would you?
Click to expand...
Click to collapse
Ok...no problem...just creat my name in your thread...thanks
nhoc_huhu said:
Ok...no problem...just creat my name in your thread...thanks
Click to expand...
Click to collapse
Goddammit. I forgot to put it in...
I'll put it in next release.
To @nhoc_huhu
I think you should take one screen shot in English languge.
Sent from Sony Xperia Z®
thaikhang91 said:
To @nhoc_huhu
I think you should take one screen shot in English languge.
Sent from Sony Xperia Z®
Click to expand...
Click to collapse
Thanks..I added new picture eng :silly:
Does this work for .407 as well?
Sent from my C6603
joejoe23 said:
Does this work for .407 as well?
Sent from my C6603
Click to expand...
Click to collapse
I think it not work in 407, because different framework
Sent from Sony Xperia Z®
Will this work with 253 ??
Sent from my C6603 using XDA Premium HD app
kgpp2293 said:
Will this work with 253 ??
Sent from my C6603 using XDA Premium HD app
Click to expand...
Click to collapse
U can try...i think yes..but u should backup your rom before install
Boot Loop for C6603 ODEX version (firmware 307)...
trying to restore now >.<
Can I use it for SO-02e 343 deodex???
mlamlam said:
Boot Loop for C6603 ODEX version (firmware 307)...
trying to restore now >.<
Click to expand...
Click to collapse
Do u set perrmission 3 file in odex ver??..i tried C6603 .307 deboat v7 and it works
mod
nhoc_huhu said:
Do u set perrmission 3 file in odex ver??..i tried C6603 .307 deboat v7 and it works
Click to expand...
Click to collapse
Worked Perfectly for C6603 .307 Deodex and Zipaling.
How do I return only the option of not caring screen with volume and let reboot?
Some method to change the music in volume?
Sorry my bad english
:good:
nhoc_huhu said:
Do u set perrmission 3 file in odex ver??..i tried C6603 .307 deboat v7 and it works
Click to expand...
Click to collapse
Yes, I move to /system, then set permission from 664 to 644, then root explorer reboot my phone, then move to /system/framework, reboot again and boot loop
---------- Post added at 04:47 PM ---------- Previous post was at 04:36 PM ----------
***** i use odex version as i didn't unlock the bootlocker
hi,
nhoc_huhu said:
...I mod for firmware .307..I tested in my rom odex and deodex (C6602,Taiwan ver), it worked perfect ...Test and report..Thanks,
-odex ver: http://www.mediafire.com/?m5fm85pyk13k5j8
-Deodex ver: http://www.mediafire.com/?o7c62hycp29qd62
-How to install: U should backup your rom,
unpack file zip and copy file to /system/ Set permission 644(rw-r-r) then move to /system/framework
Reboot
Sorry i don't know creat file.zip..If i help U, please hit thanks :victory:
Click to expand...
Click to collapse
welcome to xda forum! :good:

[MOD][T/V]Advanced volume control

When volume button is pressed, you get volume control for currently used audio stream.
With this mod, you get also button for changing volume for all other streams.
Deodexed rom needed!!!
T (.14x) - http://d-h.st/NbU
V (.140) - http://d-h.st/mMq
TX (.67) - http://d-h.st/KXT
Is This For JB or ICS?
Odex or Deodexed?
mediro said:
Is This For JB or ICS?
Odex or Deodexed?
Click to expand...
Click to collapse
please read the OP
it will be for deodexed.
@peetr_, thanks for this trying it now
Does this work on xperia tx? ??
Sent from my LT29i using xda app-developers app
Work XV .140. Tanks
Enviado desde mi LT25i
this is the file from TX 67
could u plz make it for TX ? thanks~
Confirmed working on .142.
Thanks _peetr
Sent from my LT30p using xda premium
Leo said:
this is the file from TX 67
could u plz make it for TX ? thanks~
Click to expand...
Click to collapse
Ok. I will.
Can you make a little tut how to do it?
Sent from my ST21i using xda premium
djedjy said:
Can you make a little tut how to do it?
Sent from my ST21i using xda premium
Click to expand...
Click to collapse
You can diff framework.jar with original one by using e.g. Beyond Compare and you will know what to change...
works good on my t with fw .142
First post updated with TX version.
If you want to make it yourself, search for /android/view/VolumePanel class
peetr_ said:
First post updated with TX version.
If you want to make it yourself, search for /android/view/VolumePanel class
Click to expand...
Click to collapse
limited 8 thanks
anyway u deserve unlimited thanks :good:
peetr_ said:
If you want to make it yourself, search for /android/view/VolumePanel class
Click to expand...
Click to collapse
Thanks. For anyone interested you need to mod VolumePanel + VolumePanel$StreamResources, not just VolumePanel as I tried for a while
Yeah, it was just a hint.
All VolumePanelxxxx.smali's are coming from one VolumePanel.java.
peetr, you seem to be clued up on java, have you ever thought about writing Xposed modules for your mods?
I don't know too much about coding, but I learned how to find things from java in smali and backwards and how many things work in bytecode. I don't even know yet, how to make some preference properly, so I am using properties for user changes in my rom. It's easy.
HI all
TX mod make home launcher stopped. I had to flash original framework.jar back. please check again. thanks
Next mod=quicksettings
Sent from my LT30p using Tapatalk 4 Beta
mcsqwizzys98 said:
Next mod=quicksettings
Sent from my LT30p using Tapatalk 4 Beta
Click to expand...
Click to collapse
+1

[Q] Swipe + PIN/Pattern

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!

[Icon][Flashable]Xperia Z1 Style icon V3

version 3 Added:fingers-crossed:
Some icon changed:laugh:
.
It Will Change:
Browser.apk
Chrome.apk
Conversations.apk
DownloadProviderUi.apk
Phonebook.apk
Radio3.apk
SemcCalculator.apk
SemcCalendar.apk
SemcCameraUI.apk
SemcClock.apk
SemcEmail.apk
SemcPhone.apk
Settings.apk
Facebook.apk
VoiceSearch.apk
Video
Walkman
Phonesky.apk
Added:Small app Icons
Bug:SMS and Chrome May Dont effect in xperia V/TX
Hit The Thanks
Download:http://forum.xda-developers.com/attachment.php?attachmentid=2242069&d=1378582378
Prev version's:
v2http://d-h.st/Ple
v1:http://forum.xda-developers.com/attachment.php?attachmentid=2230113&d=1378145026
Screenshots please!
Sent from my LT25i using Tapatalk 2

			
				
Are they flasheble? Oe need to move??
kaniboy from LT25i using xda premium
iamkani said:
Are they flasheble? Oe need to move??
kaniboy from LT25i using xda premium
Click to expand...
Click to collapse
It's flashable mate
I'm sharing the mod with a modified email icon, now grey, it's better to my taste (different color than album icon & better visibility of notifications).
Thanks for the mod
nreuge said:
I'm sharing the mod with a modified email icon, now grey, it's better to my taste (different color than album icon & better visibility of notifications).
Thanks for the mod
Click to expand...
Click to collapse
Tnx to you for modifing.it look great
i will make a new version soon:fingers-crossed:
Behnamrend said:
Tnx to you for modifing.it look great
i will make a new version soon:fingers-crossed:
Click to expand...
Click to collapse
Very soon I hope
the messaging and chrome icon did not change for me.
forbeisgunn said:
the messaging and chrome icon did not change for me.
Click to expand...
Click to collapse
are you using stock one?
if not,open my mod and find icon of Conversations.apk & Phonebook.apk and replace theme to your app
But how to do sir?
Sent from my LT25i using xda premium
never mind just Flash the version 2 on first page.if not solved send me your apk's thas not change
Error
Cool broo
kaniboy from LT25i using xda premium
Hey send me your app that erroring
Thanks for v2.
I think you should let v1 available for download, personnaly I've done a mix between v1 & v2.
Sir these are my apps that has retained the default icon.
Behnamrend said:
Hey send me your app that erroring
Click to expand...
Click to collapse
the other app sir.
nreuge said:
Thanks for v2.
I think you should let v1 available for download, personnaly I've done a mix between v1 & v2.
Click to expand...
Click to collapse
you'r version 1 is posted in the OP:highfive:
forbeisgunn said:
the other app sir.
Click to expand...
Click to collapse
just wait a few hours im going to sleep now it 1 AM in my country

Categories

Resources