Sorry if this is a re-post. Haven't seen it on the MT4G thread.
I'm just re-posting from the N1 forum. Also work brilliantly on the MT4G.
I too use my camera a lot and have been craving for a better camera or the original camera from the stock rom, since the one on CM just blows.
Make a backup of the existing file and replace it with the one from the post.
http://forum.xda-developers.com/showthread.php?p=12643222#post12643222
The old file yielded an image about 1.04MB in size and the new file 2.1MB. A lot less compression.
Many thanks to the OP for this.
Using this on RoyalGinger 1.4.1
Old @ 1.04MB
{
"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"
}
New @ 2.17MB
Just looked at the xml files and compared to the MT4G files.
I would not use xml files in the post you linked to. There are no profiles in these xml files for the Front Facing Camera.
Edit: If you want to make the change, just use root explorer and look for the following in the media_profiles.xml located in system/etc
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
and change it to:
<ImageEncoding quality="99" />
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
As Always, do at your own risk, I would make a backup of the original file first.
Related
I'm modding System-UI.apk file.
I'm trying port samsung notification panel to jb cm10
{
"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
So, First target is get bigger toggles.
And i'm searching for dimension codes in layout and dimen.xml
So, i changed
Code:
<dimen name="notification_panel_header_height">48.0dip</dimen>
<dimen name="notification_panel_brightness_height">48.0dip</dimen>
<dimen name="notification_panel_widget_height">160.0dip</dimen> 48 to 160
<dimen name="notification_panel_header_and_widget">208.0dip</dimen> and equals
<dimen name="notification_panel_header_widget_and_brightness">208.0dip</dimen> same
<dimen name="notification_panel_header_and_brightness">96.0dip</dimen> same
but didn't work after also changed res/layout/system_bar_notification_panel_title.xml -
Code:
<TableLayout android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip" android:stretchColumns="8" android:shrinkColumns="4" -- here 2,4 to 4
android:layout_alignParentLeft="true" android:layout_alignParentBottom="true">
and then
power_widget_button.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_background" android:focusable="true" android:clickable="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/power_widget_button_image" android:layout_width="fill_parent" android:layout_height="70.0dip" 48 to 70 dip
android:scaleType="center" android:layout_weight="1.0" />
</LinearLayout>
but didn't work which file i should edit...
i will do something like this
first get bigger toggles
and then change toggle button drawables with samsung toggles(not orginal one , create full drawable toggle like a in picture)
I'd love to have a pattern unlock without the little circles but still have to do the gesture.
So I've done this..TUTORIAL!!
decompile framework-res.apk from system/framework
search for the image in the folder of decopiled apk => apk\res\drawable-xhdpi\ those files:
Code:
btn_code_lock_default
btn_code_lock_default_holo
btn_code_lock_touched
btn_code_lock_touched_holo
btn_check_label_background.9
indicator_code_lock_drag_direction_red_up
indicator_code_lock_point_area_default
indicator_code_lock_point_area_default_holo
indicator_code_lock_point_area_red_holo
open the images with paint.net
select all the image (ctrl+a) delete and save
recompile the apk
push it back into system/framework/framework-res.apk of your device
a little advice, choose a suitable image of background to guide you,
not one solid background, otherwise you will have no more access to the device!
Now nobody can try to understand your pattern anymore!!!!
yeah!!!
{
"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"
}
reserved
ruelle said:
I'd love to have a pattern unlock without the little circles but still have to do the gesture.
So I've done this..TUTORIAL!!
Click to expand...
Click to collapse
Dude ... congratulations
Search, develop, test and share in only 2 hours!!!
THIS IS XDA STUFF.
<!-- insert ovation sound here -->
Thanks
hello friends
I give here a mod that is simple but very nice
as were several friends who asked how he changed the color of the number decided to make this little tutorial​
1. - Decompile SecContacts.apk
2.- Go res/layout-sw359dp-xhdpi/dialpad_fragment (use Notepad + +)
3.- Change the color code that I describe below
I modify the SecContacts.apk of Wanam
HTML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:id="@id/dialpad_allorientation" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<include layout="@layout/dialpad_land" />
<LinearLayout android:orientation="vertical" android:id="@id/top" android:paddingLeft="@dimen/dialpad_horizontal_margin" android:paddingRight="@dimen/dialpad_horizontal_margin" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/digits_container" android:layout_width="360.0dip" android:layout_height="wrap_content">
<com.sec.android.app.dialertab.dialpad.EllipsisTextView android:configChanges="keyboardHidden" android:textSize="40.0sp" android:typeface="sans" android:textColor="#ffffffff"
where is the code of color # FFFFFFFF replace the one you want
Here I give you some already modified in blue, red, green and yellow
Blue
{
"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"
}
Download
Red
Download
Green
Download
Yellow
Download
greetings and blessings
:good::fingers-crossed::victory::highfive:
scamus said:
:good::fingers-crossed::victory::highfive:
Click to expand...
Click to collapse
Very good work my friend
Hemant said:
Very good work my friend
Click to expand...
Click to collapse
Very good work my friend
hello friend
thanks
very happy you like my work
sharing should be the spirit
greetings and blessings
I tried to modify this keyboard .. I already modified what i want except one thing > Row numbers in arabic language
It look like that
{
"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"
}
And i want it like That
I Searched a lot in the xml files and found this one and i think it is the file i should modify but i don't know how ?
HTML:
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.zl.inputmethod.latin">
<Key latin:moreKeys="!text/more_keys_for_symbols_1" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_1" latin:keyLabel="!text/keylabel_for_symbols_1" />
<Key latin:moreKeys="!text/more_keys_for_symbols_2" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_2" latin:keyLabel="!text/keylabel_for_symbols_2" />
<Key latin:moreKeys="!text/more_keys_for_symbols_3" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_3" latin:keyLabel="!text/keylabel_for_symbols_3" />
<Key latin:moreKeys="!text/more_keys_for_symbols_4" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_4" latin:keyLabel="!text/keylabel_for_symbols_4" />
<Key latin:moreKeys="!text/more_keys_for_symbols_5" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_5" latin:keyLabel="!text/keylabel_for_symbols_5" />
<Key latin:moreKeys="!text/more_keys_for_symbols_6" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_6" latin:keyLabel="!text/keylabel_for_symbols_6" />
<Key latin:moreKeys="!text/more_keys_for_symbols_7" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_7" latin:keyLabel="!text/keylabel_for_symbols_7" />
<Key latin:moreKeys="!text/more_keys_for_symbols_8" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_8" latin:keyLabel="!text/keylabel_for_symbols_8" />
<Key latin:moreKeys="!text/more_keys_for_symbols_9" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_9" latin:keyLabel="!text/keylabel_for_symbols_9" />
<Key latin:moreKeys="!text/more_keys_for_symbols_0" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_0" latin:keyLabel="!text/keylabel_for_symbols_0" />
</merge>
I want to know what does this text mean ( !text/keylabel_for_symbols_1 )
Any ideas ? or which file i should modify ?​
UP
Youll need an rooted s22
First find your cscfeature.xml with root explorer
mine was in root/system/optics/configs/carriers/single/EUX (my CSC code)/conf/system/ and finally cscfeature.xml
copied it to my PC, installed JAVA and decoded with OMC text decoder (google the github link)
and added these lines right under </FeatureSet>
Code:
<CscFeature_VoiceCall_ConfigRecording>
RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
<CscFeature_VoiceCall_IPCallPrefix>false</CscFeature_VoiceCall_IPCallPrefix>
<CscFeature_VoiceCall_TotalCallTime>false</CscFeature_VoiceCall_TotalCallTime>
<CscFeature_VoiceCall_ServiceNumberDisplay>false</CscFeature_VoiceCall_ServiceNumberDisplay>
<CscFeature_VoiceCall_RemoveCallButtonInLogsList>true</CscFeature_VoiceCall_RemoveCallButtonInLogsList>
encoded it back and copied back to my phone, checked the properties for rw-rw-rw-
restarted and viola, call recording is working!
the xml looks like this
{
"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"
}
BIG thanks to pitelasssss!!
Why did you need to add so many lines?
Isn't it sufficient just to add:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Or... having root and lsposed installed (up and running), install my OneUI_4_Phone_X from here
ZXR said:
Why did you need to add so many lines?
Isn't it sufficient just to add:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Click to expand...
Click to collapse
more lines - more adidas
John525 said:
Looking for a close to issue. Expecting more reply.
Click to expand...
Click to collapse
huh??
juda iskariotsky said:
huh??
Click to expand...
Click to collapse
Just spam, don't mind this message. I have deleted the post.