Hi, I'm not sure about it but today I'm looking into this file
etc/media_profiles.xml
Click to expand...
Click to collapse
that includes (I think) settings for camera.
for example, from the xml
-<CamcorderProfiles cameraId="0"> -<EncoderProfile duration="60" fileFormat="mp4" quality="high"> <Video frameRate="30" height="720" width="1280" bitRate="10000000" codec="h264"/> <Audio bitRate="96000" codec="aac" channels="1" sampleRate="16000"/> </EncoderProfile> -<EncoderProfile duration="30" fileFormat="3gp" quality="low"> <Video frameRate="30" height="144" width="176" bitRate="256000" codec="h264"/> <Audio bitRate="12200" codec="amrnb" channels="1" sampleRate="8000"/> </EncoderProfile> <ImageEncoding quality="90"/> <ImageEncoding quality="80"/> <ImageEncoding quality="70"/> <ImageDecoding memCap="20000000"/> </CamcorderProfiles>
Click to expand...
Click to collapse
as you can read, there are info about bitrate and image quality
Now, I saw that in Sensation mod, the developer had modded this file too, I think that we can improve easely the image quality and bitrate
is it true?
for example a possible mod
-<CamcorderProfiles cameraId="0"> -<EncoderProfile duration="60" fileFormat="mp4" quality="high"> <Video frameRate="30" height="720" width="1280" bitRate="15000000" codec="h264"/> <Audio bitRate="128000" codec="aac" channels="1" sampleRate="16000"/> </EncoderProfile> -<EncoderProfile duration="30" fileFormat="3gp" quality="low"> <Video frameRate="30" height="144" width="176" bitRate="256000" codec="h264"/> <Audio bitRate="12200" codec="amrnb" channels="1" sampleRate="8000"/> </EncoderProfile> <ImageEncoding quality="100"/> <ImageEncoding quality="100"/> <ImageEncoding quality="100"/> <ImageDecoding memCap="20000000"/> </CamcorderProfiles>
Click to expand...
Click to collapse
has someone info about it?
EDIT It works !
ok guys
I recorded 2 videos, equal subject, equal light, equal time
with the following xml (bitrate video 12000000, bitrate audio 128000, image quality 100%) I can see the following differences
{
"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"
}
The quality improve is visible easy.
Total file size with old XML 4061 KB
Total file size with modded XML 6219 KB
If someone is interesting I can Upload My XML but you can make yourself our modded file (as you want) or you can use the cwm version by luise ...
edit final version (attached), video +50% size:
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="128000"
sampleRate="44100"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="256000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="100" />
<ImageEncoding quality="95" />
<ImageEncoding quality="90" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
Click to expand...
Click to collapse
There is a second version that is 18000000 as video bitrate, 256000 audio bitrate and 96000 sample rate. Image Encoding quality 100 100 100. This isn't tested by me yet, I know (I tried) that Encoding quality always 100 works, but I don't know about bitrate...
Flash through ES File Manager (Root Mode + w) or other file manager like it...
EDIT UPDATE 2
Looks pretty good. Will test that later
Enviado desde mi GT-I9003 usando Tapatalk
Very interesting, but I can't test it. I'm on CM9
i did simple text editing and audio setting are exepted you can make them higher bit rate i mean,video resolution didnt change.
Testing right now... I did a flaseable zip so if anyone want to test it is easier for everybody..
I don't appreciate any difference, but I will make more photos. Thank u!
luiseteyo said:
Testing right now... I did a flaseable zip so if anyone want to test it is easier for everybody..
I don't appreciate any difference, but I will make more photos. Thank u!
Click to expand...
Click to collapse
this mod improves only the video quality, no the photos quality
|DM| said:
this mod improves only the video quality, no the photos quality
Click to expand...
Click to collapse
aaaarggg... Will test. Sorry and thank u
Enviado desde mi GT-I9003 usando Tapatalk
xGiox said:
i did simple text editing and audio setting are exepted you can make them higher bit rate i mean,video resolution didnt change.
Click to expand...
Click to collapse
y, I think that to improve the video resolution we need edit the camera.apk, if it's possible... is it true?
Also, in this way we can't edit photos quality, for example with less jpeg compression...
Ok I'm testing my version edited (bitrate video 12000000, bitrate audio 128000, image quality 100%)
I recorded the same subject for same time, I saw that the output file with my mod is more big that the "original"
Now I want to check with PC the 2 sample videos
UPDATE FIRST POST!!!!! IT WORKS
I think it is for video and photos...
did u check this? http://code.google.com/p/aokp/issues/detail?id=240
EDIT: And this one... http://forum.xda-developers.com/showthread.php?t=1280558
UHM as u can read in first post, it works sure on video... on photos I don't know
I check your link (I'm started from this thread http://forum.xda-developers.com/showthread.php?t=1533238 because I'm realy interesting to improve photos quality), we need to do more test on photos, but if is true... good
Anyway, set - 2 channel(stereo) like first link it's useless, because the mic inside the phone is mono, not stereo ...
It seems to work in photos too. I have the build.prop edited and with this the difference is huge. Will be working on this too. I would like to improve photos
Enviado desde mi GT-I9003 usando Tapatalk
good news, tomorrow, with sun light, I will make a photos with and without mod...
I will post some snap
luiseteyo said:
I think it is for video and photos...
did u check this? http://code.google.com/p/aokp/issues/detail?id=240
EDIT: And this one... http://forum.xda-developers.com/showthread.php?t=1280558
Click to expand...
Click to collapse
Yes, this could be inlcuded in any custom ROM. You can look here and here for further inspiration. Also, this can be combined with the dark video fix.
XDA_Bam said:
Yes, this could be inlcuded in any custom ROM. You can look here and here for further inspiration. Also, this can be combined with the dark video fix.
Click to expand...
Click to collapse
but I read that the dark video fix has problems like laggy, blur etc
|DM| said:
but I read that the dark video fix has problems like laggy, blur etc
Click to expand...
Click to collapse
That sounds probable. If you limit the framerate to a minimum of 30fps, the video can become very dark when there is not enough light. If you lower this limit to - say - 10 fps, the video will be brighter in low light, but it will be "laggy" and because each frame is exposed longer than at 30 fps, blur will be more likely. Both is inevitable, but in my opinion still better than a black video
XDA_Bam said:
That sounds probable. If you limit the framerate to a minimum of 30fps, the video can become very dark when there is not enough light. If you lower this limit to - say - 10 fps, the video will be brighter in low light, but it will be "laggy" and because each frame is exposed longer than at 30 fps, blur will be more likely. Both is inevitable, but in my opinion still better than a black video
Click to expand...
Click to collapse
yess, I think that it's true, like in photocamera with exposure. But this problem is present at lower resolution... there are a little difference @ 720p
best i could get,wondering if we can edit it to make video at higher fps or resolution(with editing camera.apk).
XDA_Bam where did u take those links from? Tomorrow will test both and try different combinations. Finally we could put together etc modifications + -15% battery mod + darkvideo mod and make a flaseable file
Mmmm do someone know if other users had improve the camera videorec resolution?
I think that 720p limit it's an hw limit, not software...
Related
Hey guys,
I wonder what I have to do, to enlarge the buttons/icons in the power widget in froyomods notification bar.
The size should be 124x96px.
Height is no problem, but the system resizes the width on its own.
A screenshot, so you might better understand what I mean:
http://img819.imageshack.us/img819/7526/sc20110606070451.png
Thanks so far
Nik
they look fine to me...
dynamite1985 said:
they look fine to me...
Click to expand...
Click to collapse
Glad you like it...
Any idea how to enlarge although?!
...
That looks good, buddy. Can you send me the framework? Any luck with increasing the width.
I'll send it later that day, cause Im celebrating my bday with my girl.
Luca told me he has to re-write the source code, it forces the system to use 6 icons instead of 5, which is the reasonn why a width of 96px is not possible.
Later, mate!
Sent from my Milestone using XDA App
Happy birthday, dude. Enjoy your day. Don't bother.
Sent from my Milestone using XDA App
How does this look Nik? 5 icons by default instead of 6 on the galaxy s widget bar? The modified services.jar is attached. See if it helps you.
{
"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"
}
Sent from my Milestone using XDA App
Thanks mate, will test it when Im at home that evening.
Will notice you when Im done testing the file
Looks good so far, but Im in the train.
If it is No problem for you, might you send me a file in 124x96px?
But only if you have time, dont bother!
Sent from my Milestone using XDA App
Naaa, dont care.
Will work on it later at home and will notice you.
Thanks alot!!!
Sent from my Milestone using XDA App
Sorry dude, not at home.
Sent from my Milestone using XDA App
Finally I ported a piece from a SGSII theme (dont exactly know which one...) and it looks like this!
That really rocks, thats what I expacted!
Really really well done my friend
Just 2 things have to be fixed:
- when using more than 5 icons, the background shines trough the power widget at the edges AND between power widget and providerbar
- indicatorbar has be removed
First point is not a problem when using 5 icons, but when I find a way to remove the inidcators, Im the luckiest guy so far
4tticuz said:
First point is not a problem when using 5 icons, but when I find a way to remove the inidcators, Im the luckiest guy so far
Click to expand...
Click to collapse
That shouldn't be a problem. Just send me the framework you are using now. I'll have a look tonight.
Now that my SGSII has arrived, i can literally bash up my milestone.
sileshn said:
That shouldn't be a problem. Just send me the framework you are using now. I'll have a look tonight.
Now that my SGSII has arrived, i can literally bash up my milestone.
Click to expand...
Click to collapse
Lucky you! I would love to be able to wreck the heck out of my Milestone
Sent from my Milestone using XDA Premium App
hi all sorry to post with speed but ive not many times xD
Can you list me what was modified to arghieve the gs2 icons working without being square?
so I can try to include it in future releases (that was the original look I searched xD)
About next release when I have some time it will be released with many fix (including phenomenal kabaldans dsi fix ) and new features...*
Just be patient guys xD
About power widget I'll appreciate a lot if you help in having that look
thx
89luca89 said:
hi all sorry to post with speed but ive not many times xD
Can you list me what was modified to arghieve the gs2 icons working without being square?
so I can try to include it in future releases (that was the original look I searched xD)
About next release when I have some time it will be released with many fix (including phenomenal kabaldans dsi fix ) and new features...*
Just be patient guys xD
About power widget I'll appreciate a lot if you help in having that look
thx
Click to expand...
Click to collapse
No problem Luca, ill send you a pm. Involves editing framework-res and services.jar.
Now if you help in getting rid of the indicator and scrollbar, we will have a super Galaxy S widget bar.
Sent from my GT-I9100 using Tapatalk
Hey luca,
Sileshn helped me to achieve my idea of the larger icons.
He posted a services.jar in this thread which forces the system to show only 5 icons in a row and thats all.
I created some buttons in 124x96px and as you can see, it works well!
Just grab the services.jar from sileshn.
My advice: Is it possible to choose in the next release which icon-type you want to have in the power widget? Cause I know many people who doesnt want that look but the squared one...
// He was faster XD
___
ja, luca.
Maybe you can help with the issues concerning the background, which shines through the power widget, while having more than 5 icons checked to be shown.
Concernnig indicators: I became a hint how to get rid of it
You got your answer, Luca. Framework mod is not necessary. That was checked by Nik. So only need to use the modded services.jar. Changes are in the following file.
com\android\server\status\galaxyswidget\GalaxySWidget.smali
Thanks so.I have only to force max 5 icons ok
That's enough for me doing those change on source code is easier than on smali1!!
The scrollbar is already removed from next release...for the toggle I.think I'll have to think some solution xD
Sent from my HTC HD2
Thats the solution for no indicators under the buttons (I integrated the indicators in the buttons, easier to theme...)
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/galaxy_s_widget_button" android:background="@drawable/stat_power_bg" android:focusable="true" android:clickable="true" xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/galaxy_s_widget_button_image" android:layout_width="96.0dip" android:layout_height="115.0dip" android:scaleType="center" android:layout_weight="1.0" />
<ImageView android:id="@id/galaxy_s_widget_button_indic" android:layout_width="0.0dip" android:layout_height="0.0dip" android:scaleType="fitXY" />
</LinearLayout>
Credits to Bandit from AH forum, thanks!
Nik,
Do you have thread for this on AH? If yes, link me to it.
hi, i wanna make the animations faster, i mean in GB rom, because with faster anim. the roms look faster. i know that if i include spare parts i can set fast animations but screen off anim disappears.. :S i need to edit framework.res but dunno what so i nedd a little help to do this or any other solutions are welcomed
If you put faster animations in it, it will lag, and that doesnt look faster, if you know what i mean.
You can wait for CM10 or AOKP Jelly bean ( I know a guy who got it booting + some things working like Sound and Butter partially)
**screenshot out***
X DoZ3R said:
hi, i wanna make the animations faster, i mean in GB rom, because with faster anim. the roms look faster. i know that if i include spare parts i can set fast animations but screen off anim disappears.. :S i need to edit framework.res but dunno what so i nedd a little help to do this or any other solutions are welcomed
Click to expand...
Click to collapse
there is an app in market I forggot the name
---------- Post added at 08:32 PM ---------- Previous post was at 08:31 PM ----------
XeLLaR* said:
If you put faster animations in it, it will lag, and that doesnt look faster, if you know what i mean.
You can wait for CM10 or AOKP Jelly bean ( I know a guy who got it booting + some things working like Sound and Butter partially)
Click to expand...
Click to collapse
His name is Doomsday94 ?
X DoZ3R said:
hi, i wanna make the animations faster, i mean in GB rom, because with faster anim. the roms look faster. i know that if i include spare parts i can set fast animations but screen off anim disappears.. :S i need to edit framework.res but dunno what so i nedd a little help to do this or any other solutions are welcomed
Click to expand...
Click to collapse
Ask again to texten
XeLLaR* said:
If you put faster animations in it, it will lag, and that doesnt look faster, if you know what i mean.
You can wait for CM10 or AOKP Jelly bean ( I know a guy who got it booting + some things working like Sound and Butter partially)
{
"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"
}
Click to expand...
Click to collapse
AOKP JB?
Rom_Tester said:
there is an app in market I forggot the name
Click to expand...
Click to collapse
If u mean framework tool it works only on 4.0.+
Inviato dal mio GT-I9001 con Tapatalk 2
Nope, its not Doomsday, Arco or Ivendor Yes, AOKP JB.
Its just based on their sources
The default framerate of the animation is chosen on best results i think, for example when removing 2d fps cap every animation (especially CRT off) is very bugged, the animations themself can be found in apkname.apk/res/anim
example (fade_in.xml)
Code:
<?xml version="1.0" encoding="utf-8"?>
<alpha android:interpolator="@interpolator/decelerate_quad" android:duration="@integer/config_longAnimTime" android:fromAlpha="0.0" android:toAlpha="1.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
The duration of the animation can be found in apkname.apk/res/values/integer.xml
Example:
Code:
<integer name="config_shortAnimTime">200</integer>
<integer name="config_mediumAnimTime">400</integer>
<integer name="config_longAnimTime">500</integer>
The thing that actually makes it look smooth is when there are a lot of frames instead of only a few (best example is the spinner animation, the default one is "laggy" but when adding more frames it suddenly becomes the smoothest spinner of the world)
XeLLaR* said:
Nope, its not Doomsday, Arco or Ivendor Yes, AOKP JB.
Click to expand...
Click to collapse
From which forum is he, will he post his rom?
Oh I know this person too
Rom_Tester said:
From which forum is he, will he post his rom?
Click to expand...
Click to collapse
I think he will do it himself soon. i cant say who it is, and wich forum. Since he didnt posted it himself here, and i think he doesnt want to make attention before he can release something usefull.
And why did u post the screen? -.-
I know this person too..
He will share it if he is ready , he is a good dev
Rom_Tester said:
From which forum is he, will he post his rom?
Click to expand...
Click to collapse
I think he's probably in some country specific forum, although I think it's very strange that he doesn't have an account here, if you're working on something big like JB AOKP you got to need a xda account! since this is the best android forum that exists
hypnos17 said:
Bah....why u don't share it with us?
Inviato dal mio GT-I9001 con Tapatalk 2
Click to expand...
Click to collapse
I think he didnt release because GSM wont work.. hes trying to fix it. More will come soon, just wait.
I feel kinda stupid that i put the screenshot in here now... because now i made attention, without something to show...
@Brood
He has an acc here
XeLLaR* said:
I think he didnt release because GSM wont work.. hes trying to fix it. More will come soon, just wait.
I feel kinda stupid that i put the screenshot in here now... because now i made attention, without something to show...
@Brood
He has an acc here
Click to expand...
Click to collapse
He can manage it to get it working!!!
He is a good dev, but more you will see if he is ready
Delete my post please
hypnos17 said:
Ask again to texten
AOKP JB?
If u mean framework tool it works only on 4.0.+
Inviato dal mio GT-I9001 con Tapatalk 2
Click to expand...
Click to collapse
it is a build by crybert
and thanks to broodplank for given the answer, i dont have that much time to work on gingerbread and to find the answer. sorry
broodplank1337 said:
The default framerate of the animation is chosen on best results i think, for example when removing 2d fps cap every animation (especially CRT off) is very bugged, the animations themself can be found in apkname.apk/res/anim
example (fade_in.xml)
Code:
<?xml version="1.0" encoding="utf-8"?>
<alpha android:interpolator="@interpolator/decelerate_quad" android:duration="@integer/config_longAnimTime" android:fromAlpha="0.0" android:toAlpha="1.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
The duration of the animation can be found in apkname.apk/res/values/integer.xml
Example:
Code:
<integer name="config_shortAnimTime">200</integer>
<integer name="config_mediumAnimTime">400</integer>
<integer name="config_longAnimTime">500</integer>
The thing that actually makes it look smooth is when there are a lot of frames instead of only a few (best example is the spinner animation, the default one is "laggy" but when adding more frames it suddenly becomes the smoothest spinner of the world)
Click to expand...
Click to collapse
thx brood. working very well
Tapatalk 2-vel küldve az én GT-I9001-ről
Is there any way to put sense 4 skins to sense 4+ or any tutorial how to rebuild that skins to work on 4+?
No one?
Sent from my HTC One S using Tapatalk 4
crni6 said:
No one?
Sent from my HTC One S using Tapatalk 4
Click to expand...
Click to collapse
There is, i have changed some Sense 4 skins and used them on Sense 4+. If you can tell the name of the skin or attach the skin i would be glad to do it.
Later when I get home I will download and attach some skins. Thanks man!
Sent from my HTC One S using Tapatalk 4
Sorry man...I try to download stock ICS rom but all I can find is exe file and I dont know how to fully extract to pull up skins. If you can custom "Serene,fracture,infinire and painting the world" I be thankfull!
Is there sone tutorial how to make or repack some skins?
{
"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"
}
No problemo. You can try Painting the World now
http://d-h.st/Iyo
Other 3 I will convert and attach also. Plus once I have enough time will post a tutorial.
Sent from my HTC One S
Thanks man,I try it now and its great...I try so long to found way to make this themes work on sense 4+ and I found you.
Cant wait you put rest themes!
Thank you so much!
Sent from my HTC One S using Tapatalk 4
Porting Skins for Sense 4.1 from 4.0
Hy Friend, Also let me know how to port Skins for Sense 4.1 from 4.0, I'm using HTC Desire SV. I Have downloaded all the skins available in XDA Developers for Sense 4.1 from different forums. also attach if you have any skins for Sense 4.1 I'm having 30 skins as of now.
jastipradeep said:
Hy Friend, Also let me know how to port Skins for Sense 4.1 from 4.0, I'm using HTC Desire SV. I Have downloaded all the skins available in XDA Developers for Sense 4.1 from different forums. also attach if you have any skins for Sense 4.1 I'm having 30 skins as of now.
Click to expand...
Click to collapse
Do you have the skins Serene, Infinite and Fracture from ICS, if so can you share here. The ones i have changed are not working properly. Once i find the correct working method i will post the tutorial as well.
ayyu3m said:
Do you have the skins Serene, Infinite and Fracture from ICS, if so can you share here. The ones i have changed are not working properly. Once i find the correct working method i will post the tutorial as well.
Click to expand...
Click to collapse
I don't have those skins, thank u very much bro....!
jastipradeep said:
I don't have those skins, thank u very much bro....!
Click to expand...
Click to collapse
As promised here is how its done. Quite simple actually.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:hasCode="false" android:versionCode="[B]293601280[/B]" android:versionName="[B]1.1.2221363264.508457.407894[/B]" package="com.htc.skin.PaintingTheWorld"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:label="@string/skin_name" android:hasCode="false" />
[B] <skin skinVersion="293601280" />
<HTC-SDK version="4.61" senseVersion="Sense 4.5" />[/B]
</manifest>
This is the AndroidManifest.xml from a Sense 4+ skin. What we need to do is simply change/include those marked in bold in the Sense 4.1 AndroidManifest.xml file.
Some simpler skins smaller in size work really well, while others have small graphical glitches which cant be seen overall. For example if you click the htc clock and if it goes to the globe time, it will simply close after spinning. But if the tab is set to Alarm on first click on the htc clock, then it wont close. This is the only thing which i have noticed. Rest works very smoothly.
Tools? Simply use apktools to decompile and recompile the skin apk. Dont forget to install the frameworks first. Thats all you need if you are playing anything except m10. If you need to play with m10 files, use the great VTS
thanks
ayyu3m said:
As promised here is how its done. Quite simple actually.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:hasCode="false" android:versionCode="[B]293601280[/B]" android:versionName="[B]1.1.2221363264.508457.407894[/B]" package="com.htc.skin.PaintingTheWorld"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:label="@string/skin_name" android:hasCode="false" />
[B] <skin skinVersion="293601280" />
<HTC-SDK version="4.61" senseVersion="Sense 4.5" />[/B]
</manifest>
This is the AndroidManifest.xml from a Sense 4+ skin. What we need to do is simply change/include those marked in bold in the Sense 4.1 AndroidManifest.xml file.
Some simpler skins smaller in size work really well, while others have small graphical glitches which cant be seen overall. For example if you click the htc clock and if it goes to the globe time, it will simply close after spinning. But if the tab is set to Alarm on first click on the htc clock, then it wont close. This is the only thing which i have noticed. Rest works very smoothly.
Tools? Simply use apktools to decompile and recompile the skin apk. Dont forget to install the frameworks first. Thats all you need if you are playing anything except m10. If you need to play with m10 files, use the great VTS
Click to expand...
Click to collapse
Thank You verymuch for the reply bro...!
Thanks man...I will try it soon.
Sent from my HTC One S using Tapatalk 4
Does anyone know if it's possible to reorder the soft key layout? I came from a Galaxy S3, and I'm really use to my back button being on the right of the home button.
Thanks in advance!
Sent from my Nexus 5 using xda app-developers app
alissa7 said:
Does anyone know if it's possible to reorder the soft key layout? I came from a Galaxy S3, and I'm really use to my back button being on the right of the home button.
Thanks in advance!
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Should be possible with root, but you'll have to mess with system files.
Wait for real custom Rom.
Yeah I'm coming from Samsung S2, Note 3 and want the buttons the same as that device
left to right (tap/hold)
menu
home/task list
back/kill app
I've got root, now I just need to know how to make the changes.
Must be pretty straight forward.
(yes I've side-graded to the N5 from the N9005. mum is on the on the Note 2 so giving my Note3 to her and I'll have the same device ans my girlfriend, converting her from iPhone3G to Nexus 5 )
It's very possible. There are some tutorials floating around you should be able to find as well as some apps or framework modules that might be able to do the same thing. Eventually there will be custom roms with this option baked in.
Sent from my Nexus 5 using Tapatalk
It's already in some of the ROMs. I have home to the left with voice search on long press, recent apps left center, quick settings right center with main settings on long press, back to the right with kill app on long press. So 4 keys and as I've come from a long line of galaxies myself the back button to the right was never in doubt when I was fiddling the layout. I'm using PSX which looks like it may be shut down but others have the functionality as well.
I use softkeyz app to change icons. But idk about changing the order. But why would you want to
Sent from my Nexus 5 using xda app-developers app
imablackhat said:
I use softkeyz app to change icons. But idk about changing the order. But why would you want to
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
because the back button should be on the right
It's an easy edit if you have the ability to de/recompile systemUI.
Navigate to SystemUI.apk\res\layout\navigation_bar.xml. I didn't like reaching over for the back button so all I did was flip recents and back. To do that all you need to do is reorder the lines in the xml.
Code:
<FrameLayout android:id="@id/rot0" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<View android:visibility="invisible" android:layout_width="40.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_home" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_back" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/menu" android:visibility="invisible" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_menu" android:layout_weight="0.0" android:contentDescription="@string/accessibility_menu" systemui:keyCode="82" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</LinearLayout>
The above code shows after the edit that gives me the order of (recents/home/back)
Code:
<FrameLayout android:id="@id/rot90" android:paddingTop="0.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/menu" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="40.0dip" android:src="@drawable/ic_sysbar_menu_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_menu" systemui:keyCode="82" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_back_land" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_home_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_recent_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="40.0dip" android:layout_weight="0.0" />
</LinearLayout>
The above shows the same order edited to the "@id/rot90" grouping so that the same order is shown in landscape.
{
"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"
}
good day.
chopper the dog said:
It's an easy edit if you have the ability to de/recompile systemUI.
snip..
Click to expand...
Click to collapse
Thanks a lot having a play now
---Moved Here---
You sir, are a legend.
I love you!!!
Thanks so much
Dumb question - after you run the Android application via Eclipse and it installs the APK onto the phone, how do you view the watchface? Should it show as a new watchface clock in the customise watchface editor?
Edit: Answered my own question - yes
Are you able to explain how to add a date to the analog clock (e.g. day of the month) and also maybe the month (e.g. Jul for July)
Thanks in advance!
julz said:
Are you able to explain how to add a date to the analog clock (e.g. day of the month) and also maybe the month (e.g. Jul for July)
Thanks in advance!
Click to expand...
Click to collapse
I will :good:
naheel azawy said:
I will :good:
Click to expand...
Click to collapse
Hi Naheel,
I've tried adding the date but without any luck. Nothing is showing up on the watchface. Do I have to add some other code to include the new XML as part of the build? Will the date show above the watch background image or is there the chance that it is on the bottom layer? Also I'm guessing that the text will be white as per the sample code you posted. Any help is appreciated!
julz said:
Hi Naheel,
I've tried adding the date but without any luck. Nothing is showing up on the watchface. Do I have to add some other code to include the new XML as part of the build? Will the date show above the watch background image or is there the chance that it is on the bottom layer? Also I'm guessing that the text will be white as per the sample code you posted. Any help is appreciated!
Click to expand...
Click to collapse
Sorry, I forget one last step.
edited :good:
naheel azawy said:
Sorry, I forget one last step.
edited :good:
Click to expand...
Click to collapse
Thanks mate! I'll give it a go!
EDIT: Awesome it works!! Thanks once again! Time to update my watchfaces to include dates
I'm glad, Great work
I've been busy making new analog watchfaces and figured out how to offset the dials. Edit the code within \res\layout\clock_widget_analog.xml
How to offset dials
As an example the following code will use a square second hands PNG file, resize it to 45x45px and offset it 82px from the top and 70px from the left. It will continue to rotate around the centre of the PNG file (i.e. around pixel x=23,y=23)
Code:
<include layout="@layout/analog_clock_hand_seconds"
android:gravity="left"
android:layout_marginTop="82px"
android:layout_marginLeft="70px"
android:layout_width="45px"
android:layout_height="45px"
/>
julz said:
I've been busy making new analog watchfaces and figured out how to offset the dials. Edit the code within \res\layout\clock_widget_analog.xml
How to offset dials
As an example the following code will use a square second hands PNG file, resize it to 45x45px and offset it 82px from the top and 70px from the left. It will continue to rotate around the centre of the PNG file (i.e. around pixel x=23,y=23)
Code:
<include layout="@layout/analog_clock_hand_seconds"
android:gravity="left"
android:layout_marginTop="82px"
android:layout_marginLeft="70px"
android:layout_width="45px"
android:layout_height="45px"
/>
Click to expand...
Click to collapse
good notice :good:
also you can do that on the "analog_clock_hand_seconds.xml" it self.
Coming soon;
{
"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"
}
Hi Naheel,
I've found a slight bug in the 'date' code you've shared. It cuts off the second digit for double-digit dates for some reason. For the moment I've only found an inelegant hackers way to fix the problem so I won't share my solution. Not sure if you have a better way of fixing it?
Cheers,
Julian
julz said:
Hi Naheel,
I've found a slight bug in the 'date' code you've shared. It cuts off the second digit for double-digit dates for some reason. For the moment I've only found an inelegant hackers way to fix the problem so I won't share my solution. Not sure if you have a better way of fixing it?
Cheers,
Julian
Click to expand...
Click to collapse
this happen cuz you must add this:
Code:
widgets:template="dd"
and that cause the bug on some devices of showing "00" instead of the real date
also I have another way that I'll try:
Code:
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center" >
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="25px"
android:layout_height="20px"
android:gravity="center"
android:includeFontPadding="false"
android:textColor="@android:color/black"
widgets:textSize="20px"
widgets:timeType="[COLOR="Red"]days_of_month_digit1[/COLOR]" />
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="25px"
android:layout_height="20px"
android:gravity="center"
android:includeFontPadding="false"
android:textColor="@android:color/black"
widgets:textSize="20px"
widgets:timeType="[COLOR="Red"]days_of_month_digit2[/COLOR]" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
Great tutorial .
Has anyone tried to create a watchface using a string level-list? The Sony clock tutorial implies you can create a levelist a little like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Defines the most significant minute number using a level-list of drawables
that can be referenced when creating clocks. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:string="@string/min_digit_0" />
...
</level-list>
However, Eclipse will throw an error with the use of "android:string". I have tried saving the above XML in the drawable-nodpi folder and had added the appropriate string entries in the strings.xml file.
Any ideas?
Again many thanks for your detailed tutorial, Naheel!
Here is my cyan watchface (2 included)
edit: updated apk to Naheels slim version, thanks :good:
ceeso said:
Again many thanks for your detailed tutorial, Naheel!
Here is my cyan watchface
Click to expand...
Click to collapse
Hello, thanks for the watch face but it comes up like the image.
zippy01 said:
Hello, thanks for the watch face but it comes up like the image.
Click to expand...
Click to collapse
Thanks for testing, could you try the updated apk?
edit: I removed the sonymobile example watchface, added a cyan variation without date
Updated apk is fine, thank you
Ally153 said:
Great tutorial .
Has anyone tried to create a watchface using a string level-list? The Sony clock tutorial implies you can create a levelist a little like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Defines the most significant minute number using a level-list of drawables
that can be referenced when creating clocks. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:string="@string/min_digit_0" />
...
</level-list>
However, Eclipse will throw an error with the use of "android:string". I have tried saving the above XML in the drawable-nodpi folder and had added the appropriate string entries in the strings.xml file.
Any ideas?
Click to expand...
Click to collapse
I tried to make this in drawable:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Defines the least significant hour number using a level-list of drawables
that can be referenced when creating clocks. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:text="one" android:textSize="20px" />
<item android:text="two" android:textSize="20px" />
<item android:text="three" android:textSize="20px" />
<item android:text="four" android:textSize="20px" />
<item android:text="five" android:textSize="20px" />
<item android:text="six" android:textSize="20px" />
<item android:text="seven" android:textSize="20px" />
<item android:text="eight" android:textSize="20px" />
<item android:text="nine" android:textSize="20px" />
<item android:text="ten" android:textSize="20px" />
<item android:text="eleven" android:textSize="20px" />
<item android:text="twelve" android:textSize="20px" />
</level-list>
that had to be the hours but it didn't worked on the watch.
however, you can write what ever you want on png files and use it as a level list