{
"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"
}
This is my way how to do it:
How to do it:
1. Extract file framework-res.apk from rom (look in system\framework\)
2. Place it in folder e.g. d:\work
3. Decompile it using: apktool d framework-res.apk
4. Go to folder d:\work\ framework-res\values
5. Open file bools.xml and edit values:
<bool name="cm_default_is_tablet">true</bool>
<bool name="cm_default_has_soft_buttons">true</bool>
6. Save file
7. Go to folder d:\work\
8. Build new framework-res.apk file by: apktool b d:\work\framework-res
9. Result file will be placed in d:\work\ framework-res\dist
10. Replace framework-res.apk in rom by new one from d:\work\framework-res\dist
11. Flash rom.
That’s all.
Note. if you want to flash rom with such modified framework-res on completly wiped phone it will bootlooping. I don't know why. But there is sollution.
I do it by flashing unmodify rom on completly wiped phone, then rebooting and waiting to initialize. Then I flash rom with modify framework-res and reboot. From now all working properly and I have Soft Buttons on my blade .
Related
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?
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.
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
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?
This guide will show you how to change the information(like android version and build number) that is shown in your phone's 'About' menu.
First you need a rooted phone and create a nandroid backup in case you screw up.
This will not change anything for real! Like if your android version is x and you change it to y, the android version will still be x but will show y.
To change the info
1) Open any file explorer that enables you to change things at root level( eg root browser) and head over to the 'system root' area.
2) There go to the 'system' folder, where you will see a file named build.prop
3) We need to edit that. Open that file and there you will see some code. See the screenshot.
{
"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"
}
To change the android version, edit the 'version release' line (see mine is changed to 5.0 . You can do whatever you want) and to change the build number, edit the 'build display Id' line.
4) Reboot and it's done.
(There are a lot of other things to change which I hope you will figure out yourself)
Hit thanks if this was helpful.