[GUIDE] FM-Radio notification widget only favorite stations - Sony Cross-Device General

Hi
This mod changes behavior of the Fm-Radio widget so that next/previous buttons choose next or previous radio channel from your favorite list.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Things you need
- APKTOOL
- Notepad++
- Original Radio3.apk
1.
Decompile Radio3.apk
2.
Navigate to smali/com/sonyericsson/fmradio/service/
3.
Open FmService.smali with Notepad++
4.
Search for nextStation
5.
Change nextStation to nextFavorite
and previousStation to previousFavorite
6.
Save, Compile and sign Radio3.apk
7.
Copy file to phone
8.
Move file to system/app with permission rw-r-r 644
9.
Enjoy
10.
Hit thanks button if this helped =)
Here is my already modified radio3.apk from z1
https://app.box.com/s/0asv30uy7y7782rffcys

Excellent!
And still made ​​it work without headphones.
Now I ask something that might be difficult to make.
A kind of widget on the lock screen for FM Radio. When listening to FM radio, consider as if was playing the default music player and could trace station without having to unlock the device.
I leave here a challenge for developers, hehehe!!!

Awesome, this should be default. I'm going to do it in my z3, do I need to have root?

Related

[Q]Pulldown Menu addon

Hi,
i have a Samsung Galaxy S and i want to modify/create an own pull down menu widget like this one (highlighted in red):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have searched around, but i can't find any point to make them...
Did anyone have an idea?
Which apk does provide this type of addon?
I'm gonna guess settings.apk...
-BMFC
Sent from my T-Mobile myTouch 3G Slide using XDA App
In the Galaxy ROMs it's in twframework-res.apk
It's in the framework.
I am going to be working on something similar except for the Inc/Evo. I'm going to try and port over the MIUI notifcation menu because it is built in. Good luck on your try
i've found the right file in the twframework-res.apk and its known status_bar_expanded.xml...
inside of this file is declared the quickpanel-container with the containing buttons.
But, the Problem is, how can i make an own override into the quickpanel?
I've deodexed and decompiled the twframework.apk and after that the following classes.dex too, but it's unreadable... there are to many machine-instructions inside and make it useless.
I have put this files is in the attachment...
(the *.ddx files are readable with any editor)
Do have anyone an idea to implement an own quickpanel-container?

***TUTORIAL*** Lockscreen Sense 3 Mods

Get rid of the annoying Operator/Time/Date on your lockscreen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First of all download the M10 Editor from here:
M10 Editor
thanks to Diamondback and Flemmard
And 7-Zip from here:
7-Zip
Then open the app and point the 7-zip as showed
Push load file and search for the extracted Idlescreen_Base.apk open it!
Then goto tab "m10 files" select as stated in the picture the blue accented line. Don't forget the checkbox Decode Images and press Decompile/Show.
So now goto the line as in the picture and select that. You can see on the rightpane the line as pointed change the number from "1" to "0" and your done!
Repeat that for the following Operator/Time/AMPM/Date
When your finished you go to the Start tab on the top left. Press on save and voila if you get the following screen the second below click close don't do anything with that!
When your looking for your file it can be found in C:\Users\username\AppData\Roaming\M10Editor\Idlescreen_Base
If you appreciate it click Thanks!!!!!!​
Lockring edit coming soon.

[MODS] ENABLE SYMBOLS / SECONDARY KEYS samsung keyboard

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Should work with all latest Rooted Samsung Galaxy Devices​
Install Root Explorer or similar File Browser
Go to /system/csc/others.xml and edit
Insert this between <FeatureSet> and Save-Exit
If there is already similar but smaller code there, copy and paste this to enable symbols for your country[Covers almost all countries]
<FeatureSet>
<CscFeature_Sip_EnableSymbolInSecondary>es_US;en_GB;en_US;en_AU;en_CA;en_PH;en_IE;en_NZ;en_ZA;ko_KR;de_AT;de_CH;de_DE;fr_FR;fr_CH;fr_BE;fr_CA; bg_BG;cs_CZ;da_DK;el_GR;es_ES;et_EE;fi_FI;ga_IE;hr_HR;hu_HU;is_IS;it_IT; lt_LT;lv_LV;mk_MK;ms_MY;nb_NO;nl_NL;nl_BE;pl_PL;pt_PT;pt-BR;ro_RO;sr_RS;sv_SE;tr_TR; ca_ES;eu_ES;gl_ES;kk_KZ;ru_RU;sk_SK;sl_SI;uk_UA;uz_UZ;az_AZ;hy_AM;ka_GE;
pt_BR;in_ID;ja_JP;vi_VN;zh_CN;zh_TW;ar_AE;ar_IL;fa_FA;ur_PK;iw_IL;th_TH;zh_HK;zh_SG;fr</CscFeature_Sip_EnableSymbolInSecondary>
</FeatureSet>​
Set permissions to rw-r-r
Restart Device. Enjoy
Feedback & Suggestions are always welcome.
Developers Please give proper credits if you want to include this in your Rom
spare a second and hit THANKS​
Wanam Exposed mod now has a switch that fixes it too. easy!
Mentioned many times in different treats.
Also a treat of csc features:
http://forum.xda-developers.com/showthread.php?p=35123852
Sent from my GT-I9300 using XDA Premium 4 mobile app
Do any of these enable the full stop on the numeric pad?

[TIP] Create Android Studio launcher in Ubuntu Unity

Hey guys,
I just wanted to share a little tip with all of you, who want to add a little launcher icon to your unity launcher. It's very fast and works perfectly for me. Just try it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Open any editor you like (I use SciTE)
2. Copy this text into your editor
Code:
[Desktop Entry]
Name=Android Studio
Comment=Android Studio
Type=Application
Categories=Development;
Exec=/home/{yourusername}/path/to/android-studio/bin/studio.sh
Terminal=false
StartupNotify=true
Icon=/home/{yourusername}/path/to/android-studio/icon.png
Don't forget to change {yourusername} to your acutal user name and path/to/android-studio to the path of the android studio on your pc
3. Save it to .local/share/applications/ (to show .local press CTRL+h) named "androidstudio.desktop"
4. Download this icon and paste it in android-studio/ (you may of course use any other icon you like too!)
5. Open your file explorer and press CTRL+h to show hidden files. Navigate to .local/share/applications/ and take the androidstudio.desktop and drop it in your unity launcher.
6. Click on the icon and start Android Studio
I hope this is useful for you
Alternately, at the beginning screen where it says "new project, import project, configuration...." you could go to configuration/settings (whatever its called) and select "create launcher" i think its much faster than having to make desktop files and blah blah blah

[Tutorial] To ROM developers, although I just novice

Hello ,Guys,I‘ll teaching you how to edit this things​
Multiple clicks on the about phone Android version out of the interface
Let's take a look at the original version
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok,Then,first Step,get your Resources ready
we need framework-res.apk,framework.jar
and a Computer with Apktool,Compression Software
let's change the image first
Open framework-res.apk using compression software
Open the folder res / drawable-nodpi, find platlogo.png
Then use your png image to replace it
Ok,The second step,Edit text in the image
Open framework.jar using compression software
Extract classes.dex
And then decompile it use Apktool
Open the folder to find classes\com\android\internal\app\PlatLogoActivity.smali
open it with Notepad2 or Notepad++
Search text in the image,Then change it
Note: The text is not too long
Then compiled using compression software to replace back
Well,Done,The modified two files changing for the better good authority, replace the framework, restart the phone:laugh:​
This is my modified good results
​
​

Resources