Modify please my Framework - Xperia Z1 Q&A, Help & Troubleshooting

Hello guys
My Device: Xperia Z1 Stock 5.1 .368
I will make my NaviBar smaller just to 32 dpi but the problem is that I can't recompile my framework-res.apk.
I install framework-res.apk with the SemcGenericUxpRes.apk and can decomplie the framework-res.apk.
But don't can recompile, when I try it work and I get the message the the recompile progress was successful but I get every time a bootloop.
I trying recompile without any modification but same result.
Can someone open my framework-res.apk
Go into res/values/dimens.xml and change the both size of my NaviBar to 32 dpi.
Here my framework-res.apk: https://www.dropbox.com/s/04u132n9hlsyuxt/framework-res.apk?dl=0
Thank you
Gesendet vom Flagschiff Z1

Nemeziz 56th said:
Hello guys
My Device: Xperia Z1 Stock 5.1 .368
I will make my NaviBar smaller just to 32 dpi but the problem is that I can't recompile my framework-res.apk.
I install framework-res.apk with the SemcGenericUxpRes.apk and can decomplie the framework-res.apk.
But don't can recompile, when I try it work and I get the message the the recompile progress was successful but I get every time a bootloop.
I trying recompile without any modification but same result.
Can someone open my framework-res.apk
Go into res/values/dimens.xml and change the both size of my NaviBar to 32 dpi.
Here my framework-res.apk: https://www.dropbox.com/s/04u132n9hlsyuxt/framework-res.apk?dl=0
Thank you
Gesendet vom Flagschiff Z1
Click to expand...
Click to collapse
try this

Thank you alot my friend:beer:
Gesendet vom Flagschiff Z1

Nemeziz 56th said:
Thank you alot my friend:beer:
Gesendet vom Flagschiff Z1
Click to expand...
Click to collapse
welcome, hope its work for you..
Edited line
PHP:
<dimen name="navigation_bar_height">32.0dip</dimen>
<dimen name="navigation_bar_height_landscape">32.0dip</dimen>

Yeah works perfectly.
Much thank you :thumbup:
Gesendet vom Flagschiff Z1

Could upload please upload again the framework-res.apk now with NaviBar landscape 28 dpi?
Gesendet vom Flagschiff Z1

Nemeziz 56th said:
Could upload please upload again the framework-res.apk now with NaviBar landscape 28 dpi?
Gesendet vom Flagschiff Z1
Click to expand...
Click to collapse
here mate NaviBar landscape 28dip
Next time you can decompile and recompile using Advanced ApkTool v4.1.0 by BDFreak, Download Here[Windows]
Update apktool.jar inside 1-BDFreak folder
Download apktool_2.0.3.jar latest here
Rename to apktool.jar then overwrite apktool.jar inside BDFreak folder.
Hope its Help .

Related

[TUT][cyanogenMod 7] How to add soft button to your rom

thank to autoradio for astuce
Hello all there is tut for all want to add soft button to Rom
is simple
decompile [7zip] framework-res.apk..go to res\values\ ...
in values creat an txt file name it bools.txt open with text editor and add
Code:
<bool name="cm_default_is_tablet">true</bool>
<bool name="cm_default_has_soft_buttons">true</bool>
save and rename bools.txt to bools.xml now
add PNG on drawable-mdpi and resize it [ PNG soft button pic it from ics or web ]
rezip your framwork-res.apk [ winrar right clic save zip rename it change zip by .apk
that all
and enjoy soft button
if you dont have soft button add him on drawable-mdpi and resize it and add it to drawable-ldpi that all
PS : if you dont find values folder in your framwork-res.apk just creat new folder name it values and creat bools.xml in values folder
is this work for custom rom based on stock?
can you make it works?
tested on cm7 work now test it on stock rom and feed
To what size do we resize the soft buttons pictures?
And am guessing this would work on any device running cm7/cm9 right?
medicjunKie said:
To what size do we resize the soft buttons pictures?
And am guessing this would work on any device running cm7/cm9 right?
Click to expand...
Click to collapse
mdpi are sized to 76x76 for ldpi i have used 45x45 is perfect
medicjunKie said:
this would work on any device running cm7/cm9
Click to expand...
Click to collapse
tested on cm7 test on cm9 normaly work now feed and add it on thread for help avery one
How bout HDPI?
medicjunKie said:
How bout HDPI?
Click to expand...
Click to collapse
tree 112x112
Do I have to rename the PNG before resize? And how to resize?
After I add bools.xml, rezip, flash, my phone stucks on android logo
spawk said:
decompile [7zip] framework-res.apk..go to res\values\ ...
in values creat an txt file name it bools.txt open with text editor and add
Code:
<bool name="cm_default_is_tablet">true</bool>
<bool name="cm_default_has_soft_buttons">true</bool>
save and rename bools.txt to bools.xml now
Click to expand...
Click to collapse
Where is my credits man?
Inviato dal mio GT-S5570 con Tapatalk 2
where can I download the softbuttons png?
Using a zip software [7zip etc..] != decompiling.
if u dont see the values folder it's because u've not decompiled/decoded the apk but just extracted it.
need to use apktool.
Guys, just want to share. check my mods here:
http://forum.xda-developers.com/showthread.php?t=1649999
roofrider said:
Using a zip software [7zip etc..] != decompiling.
if u dont see the values folder it's because u've not decompiled/decoded the apk but just extracted it.
need to use apktool.
Click to expand...
Click to collapse
tested with apk tool and not find it but work after creat it
sorry. You're teaching an expert ppl make some difficulties for newbie as me to catch up. Can you guide for newbie as well.?
Tq
what if our rom (cm9) already has a bools.xml in res/values?
medicjunKie said:
what if our rom (cm9) already has a bools.xml in res/values?
Click to expand...
Click to collapse
bools.xml and value already existe in cm7 but with 7zip is nor find it but if you decompile with apk decompiler you find it
So what, do i delete it and create a new bools.xml?
Or do i just add the lines you mention in the bools.xml that's already there?
Fyi, i decompiles framework-res.apk with APKTool.
Sent from my LG-E739 using Tapatalk 2
medicjunKie said:
So what, do i delete it and create a new bools.xml?
Or do i just add the lines you mention in the bools.xml that's already there?
Fyi, i decompiles framework-res.apk with APKTool.
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
yes if find it just add line creat it only if dont find it after extraction
where can i find res\values
exz8 said:
where can i find res\values
Click to expand...
Click to collapse
That's the directory lol
You find the folder values inside the folder res.
Make sure you decompile the apk.
Sent from my LG-E739 using Tapatalk 2

[Q] How to Rearrange Notification Toggle Bottons?

How can I rearrange the toggle on my Galaxy S Advance so you have this configuration?
EDIT:​For those who would like to make this change, place here attached the file to be replaced in "/system/app"
Buon divertimento!
dnasalentino91 said:
How can I rearrange the toggle on my Galaxy S Advance so you have this configuration?
Click to expand...
Click to collapse
go to my mod here I have rearranged toggles you may like. Otherwise you need to decompile systemui.apk and in res/values edit the arrays.xml
bobfrantic said:
go to my mod here I have rearranged toggles you may like. Otherwise you need to decompile systemui.apk and in res/values edit the arrays.xml
Click to expand...
Click to collapse
In "res" I do not find "values"
There is only:
Code:
anim
color
drawable-hdpi
drawable-land
drawable-nodpi
drawable-port
drawable-sw360dp-hdpi
drawable-sw600dp
drawable-sw600dp-hdpi
drawable-sw720dp-hdpi
layout
layout-ar-IL
layout-iw
layout-land
layout-port
layout-sw600dp
layout-sw720dp
layout-sw800dp
menu
raw
xml
dnasalentino91 said:
In "res" I do not find "values"
There is only:
Code:
anim
color
drawable-hdpi
drawable-land
drawable-nodpi
drawable-port
drawable-sw360dp-hdpi
drawable-sw600dp
drawable-sw600dp-hdpi
drawable-sw720dp-hdpi
layout
layout-ar-IL
layout-iw
layout-land
layout-port
layout-sw600dp
layout-sw720dp
layout-sw800dp
menu
raw
xml
Click to expand...
Click to collapse
did you decompile your SystemUI.apk using apktool or any similar tool?
---------- Post added at 02:08 PM ---------- Previous post was at 02:06 PM ----------
After decompiling go to res > values folder... then open Arrays.xml with Notepad++ and take a look at "QuickSettingButtonAttribute"
Rearrange them to your preferences.... and below is mine:
Code:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Location</item>
<item>Sync</item>
<item>PowerSaving</item>
<item>AirplaneMode</item>
<item>DormantMode</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>DrivingMode</item>
</string-array>
Sami Kabir said:
did you decompile your SystemUI.apk using apktool or any similar tool?
---------- Post added at 02:08 PM ---------- Previous post was at 02:06 PM ----------
After decompiling go to res > values folder... then open Arrays.xml with Notepad++ and take a look at "QuickSettingButtonAttribute"
Rearrange them to your preferences.... and below is mine:
Code:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Location</item>
<item>Sync</item>
<item>PowerSaving</item>
<item>AirplaneMode</item>
<item>DormantMode</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>DrivingMode</item>
</string-array>
Click to expand...
Click to collapse
Thanks but I can not recompile the apk file ... I leave you a screenshot
dnasalentino91 said:
Thanks but I can not recompile the apk file ... I leave you a screenshot
Click to expand...
Click to collapse
Check whether you have java installed
Abhinandh Ajay said:
Check whether you have java installed
Click to expand...
Click to collapse
Of course! Java is installed..
dnasalentino91 said:
Of course! Java is installed..
Click to expand...
Click to collapse
Try using some other similar tool like "apk manager"
dnasalentino91 said:
Thanks but I can not recompile the apk file ... I leave you a screenshot
Click to expand...
Click to collapse
Did you do apktool if framework-res.apk?
Sent from my GT-I9070 using Tapatalk 4 Beta
KINGbabasula said:
Did you do apktool if framework-res.apk?
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yes, I did: "I: Framework intalled to: C:\Users\Andrea\apktool\framework\1.apk"
I'm stuck at STEP 5 of this video: http://www.youtube.com/watch?v=iUtFgltT_ho
I am attaching the error that occurs when I'm going to recompile the apk.
dnasalentino91 said:
Yes, I did: "I: Framework intalled to: C:\Users\Andrea\apktool\framework\1.apk"
I'm stuck at STEP 5 of this video: http://www.youtube.com/watch?v=iUtFgltT_ho
I am attaching the error that occurs when I'm going to recompile the apk.
Click to expand...
Click to collapse
May not have the latest apk tool. When I get to my puter I 'll share that here...
Here you go, replace the files in apktool with these ones
View attachment apktoolcomplete.rar
hope it helps if so you know what to do hehe
Sent from my GT-I9070
Thanks bobfrantic :highfive:
After recompiling the file SystemUI.apk, I went to replace it and restarting the smartphone remains stuck at bootanimation How come? What went wrong?
dnasalentino91 said:
Thanks bobfrantic :highfive:
After recompiling the file SystemUI.apk, I went to replace it and restarting the smartphone remains stuck at bootanimation How come? What went wrong?
Click to expand...
Click to collapse
when you recompile, name it SystemUI1.apk then open the new one and original one both with 7zip and copy the META-INF and the AndroidManifest.xml from the original over to your new SystemUI1.apk and close 7zip. move the new one to your desktop and rename it to remove the 1 from the name then copy to your phone and push to system/apps and set permissons and reboot. should work then. it is boot looping due to not having it signed proper. Hope you have a back up of your system with twrp or cwm so you can restore how it was. good rule; back up, everything always I going bed, check how it goes tomorrow..
All resolved...thank you for everything! :good: :highfive: :laugh: :victory:
dnasalentino91 said:
All resolved...thank you for everything! :good: :highfive: :laugh: :victory:
Click to expand...
Click to collapse
happy to read that. If you want to know more about themeing systemui go to Themeing SystemUI Tutorial by joehanh88.

help me change background picture in setting

hi all
i changed 2 pictures semc_bg_tile.png , semc_bg_bright_tile.png as i want in 2 folder drawable-nodpi and drawable-xhdpi of framework-res.apk then recompile but why it didn't change .please help. thanks
T? stock framework without any modifications? hows your drawable-nodpi folder look like?
what are your steps exactly?
immerblind said:
T? stock framework without any modifications? hows your drawable-nodpi folder look like?
what are your steps exactly?
Click to expand...
Click to collapse
TX, homani framework ported for TX, in drawable-nodpi folder have semc_bg_bright.png ,semc_bg.png
i change the color of 2 picture only
updated: ok i've solved it already . It in SemcGenericUxpRes.apk not framework-res.apk

[PORT][JB 4.3]Latest Xperia Z2 Home Launcher [6.3.A.0.5][21/07/14]

Hello everyone !
I have tried to port the latest Z2 Home Launcher and fix some bug on JB.
It is working fine on my device XV Stock ROM JB 4.3.
Sorry for my poor english.
Feautures:
Latest Xperia Launcher 6.3.A.0.5
Full screen show on JB 4.3
A bit fast
Install instructions:
Download the .zip
Put it to SD card
Reboot to CWM and flash it
If you got fc add this two line to your build.prop
Code:
dalvik.vm.dexopt-flags=v=n,o=v,m=y
dalvik.vm.verify-bytecode=false
Download:
- Initial release Dev-Host
Thanks to:
-Sony Mobile
[email protected]Ben Ling for lastest Home.apk
[email protected]serajr for ZU Home full screen ported
[email protected]niaboc79 for old version ported
My first port is base on their ported
Thanks you!!!!
Fully working on my Xperia TX
Waiting more ports
how to make the border around like this.
Can be made with transparent status bar and navigation bar..
Please, thanks in advance
devilmaycry2020 said:
how to make the border around like this.
Click to expand...
Click to collapse
raditzava said:
Can be made with transparent status bar and navigation bar..
Please, thanks in advance
Click to expand...
Click to collapse
in my phone
it is
systemui.apk involved
Leo said:
in my phone
it is
systemui.apk involved
Click to expand...
Click to collapse
Ok, I've got it, need some smali coding and it ok now
bcc290786 said:
Hello everyone !
I have tried to port the latest Z2 Home Launcher and fix some bug on JB.
It is working fine on my device XV Stock ROM JB 4.3.
Sorry for my poor english.
Feautures:
Latest Xperia Launcher 6.3.A.0.5
Full screen show on JB 4.3
A bit fast
Install instructions:
Download the .zip
Put it to SD card
Reboot to CWM and flash it
If you got fc add this two line to your build.prop
Code:
dalvik.vm.dexopt-flags=v=n,o=v,m=y
dalvik.vm.verify-bytecode=false
Download:
- Initial release Dev-Host
Thanks to:
-Sony Mobile
[email protected]Ben Ling for lastest Home.apk
[email protected]serajr for ZU Home full screen ported
[email protected]niaboc79 for old version ported
My first port is base on their ported
Click to expand...
Click to collapse
Taiwaneese?
It works in Xperia V Lt25i with storck firmware 9.2.A.2.5?
How does it really differ? What is improved over the older versions? I mean is there a benefit for the user, ergonomics, functions, fuel consumption? Or is it just the higher version number?
devilmaycry2020 said:
Ok, I've got it, need some smali coding and it ok now
Click to expand...
Click to collapse
Perhaps you mean have to edit smali too? But smali home.apk or sytemUI.apk ??
raditzava said:
Perhaps you mean have to edit smali too? But smali home.apk or sytemUI.apk ??
Click to expand...
Click to collapse
need edit smali home.apk and edit some png file.
devilmaycry2020 said:
need edit smali home.apk and edit some png file.
Click to expand...
Click to collapse
You know where his smali files ?? You mean change the png files in a transparent ??
raditzava said:
You know where his smali files ?? You mean change the png files in a transparent ??
Click to expand...
Click to collapse
you need to decompile the systemui.apk . then you can find smali, xml and png files where you can edit:silly:
Does it need a deodexed rom?
Here Stock Xperia T Rooted 4.3 reporting that work just by moving .apk file, set permission and replace into system folder. It doesn't FC so far at all. No need to flash on CMW in my case.
Transparency by Xposed.
Installed secssufully on Xperia V.
Thanks!

[Lockscreen clock] Not thin

Hello everybody !
So, it's not a big problem, but i love having a clock with a thin display for the minutes.
But now with 5.1.1 update, my clock has a bold display for the minutes.
What can I do ?
Is it a new change from Sony ?
Thx for reading
-A french boy
Could be a bug or a feature. What i have seen is all 5.1 firmwares has it.
It seems to be affecting everyone - no known fix yet.
I'm guessing it's just a bug, because the Sony Clock widget on the Home screen is still the same.
Any way to get the version from LP 5.0 back? I have root.
Psy87 said:
Any way to get the version from LP 5.0 back? I have root.
Click to expand...
Click to collapse
Decompile SystemUI.apk
Open res/values/styles.xml with Notepad++
Find somc_sony_clock_minute_style and edit :
Code:
<style name="somc_sony_clock_minute_style" parent="@style/SonyClockBaseStyle">
<item name="android:textSize">@dimen/somc_sony_clock_minute_digit_size</item>
<item name="android:maxLines">1</item>
<item name="android:fontFamily">x-sst-ultralight</item>
Then go res/values/dimens.xml
Find sony_clock_hour_digit_bottom_margin and edit :
Code:
<dimen name="sony_clock_hour_digit_bottom_margin">-25.0dip</dimen>
Save both, recompile your SystemUI.apk and push it to your device.
Reboot and enjoy your new clock
could you upload the compiled systemui.apk for Z1 compact android 5.1.1 please?
morbidcreation said:
could you upload the compiled systemui.apk for Z1 compact android 5.1.1 please?
Click to expand...
Click to collapse
If you send me your SystemUI and Framework.jar i can edit it for you.:fingers-crossed:
MelihCaliskan said:
Decompile SystemUI.apk
Open res/values/styles.xml with Notepad++
Find somc_sony_clock_minute_style and edit :
Code:
<style name="somc_sony_clock_minute_style" parent="@style/SonyClockBaseStyle">
<item name="android:textSize">@dimen/somc_sony_clock_minute_digit_size</item>
<item name="android:maxLines">1</item>
<item name="android:fontFamily">x-sst-ultralight</item>
Then go res/values/dimens.xml
Find sony_clock_hour_digit_bottom_margin and edit :
Code:
<dimen name="sony_clock_hour_digit_bottom_margin">-25.0dip</dimen>
Save both, recompile your SystemUI.apk and push it to your device.
Reboot and enjoy your new clock
Click to expand...
Click to collapse
Is there any way to do this trick with Z3 D6653 version? Because there is no /values directory in /res. I just unziped the SystemUI.apk file with WinRAR, is there a proper way to do it?
This clock issue is really annoying.
Can someone make a lightweight Xposed module or a zip to flash in the recovery?
MelihCaliskan said:
If you send me your SystemUI and Framework.jar i can edit it for you.:fingers-crossed:
Click to expand...
Click to collapse
Please help me edit for Xperia Z1 Compact 5.1.1, thank you :fingers-crossed:
Code:
mediafire.com/download/vc8m38s95hp7zc7/Z1C_UI.zip
dani2191 said:
Is there any way to do this trick with Z3 D6653 version? Because there is no /values directory in /res. I just unziped the SystemUI.apk file with WinRAR, is there a proper way to do it?
This clock issue is really annoying.
Click to expand...
Click to collapse
Dont extract it with WinRAR, use APK Tool
trunghaut1 said:
Please help me edit for Xperia Z1 Compact 5.1.1, thank you :fingers-crossed:
Code:
mediafire.com/download/vc8m38s95hp7zc7/Z1C_UI.zip
Click to expand...
Click to collapse
I apologize but I'm on OS X now, i dont know if Apk Tool compatible with OS X or not.
I edited my SystemUI with this tool : http://forum.xda-developers.com/showthread.php?t=2639400
I believe you can do it yourself too :good:
MelihCaliskan said:
Dont extract it with WinRAR, use APK Tool
I apologize but I'm on OS X now, i dont know if Apk Tool compatible with OS X or not.
I edited my SystemUI with this tool : http://forum.xda-developers.com/showthread.php?t=2639400
I believe you can do it yourself too :good:
Click to expand...
Click to collapse
Thank you, I did it
MelihCaliskan said:
Dont extract it with WinRAR, use APK Tool
I apologize but I'm on OS X now, i dont know if Apk Tool compatible with OS X or not.
I edited my SystemUI with this tool : http://forum.xda-developers.com/showthread.php?t=2639400
I believe you can do it yourself too :good:
Click to expand...
Click to collapse
Thanks man, I finally have my clock back!
I just had to use Advanced Apktool updated version (4.1.0 based on Apktool 2.0.2) since the one from the main thread (4.1.0 based on Apktool 2.0.0-RC3) did not work for me.
trunghaut1 said:
Thank you, I did it
Click to expand...
Click to collapse
dani2191 said:
Thanks man, I finally have my clock back!
I just had to use Advanced Apktool updated version (4.1.0 based on Apktool 2.0.2) since the one from the main thread (4.1.0 based on Apktool 2.0.0-RC3) did not work for me.
Click to expand...
Click to collapse
Good to hear this
dani2191 said:
Is there any way to do this trick with Z3 D6653 version? Because there is no /values directory in /res. I just unziped the SystemUI.apk file with WinRAR, is there a proper way to do it?
This clock issue is really annoying.
Click to expand...
Click to collapse
You will have to decompile it, mere unzipping won't work
trunghaut1 said:
Please help me edit for Xperia Z1 Compact 5.1.1, thank you :fingers-crossed:
Code:
mediafire.com/download/vc8m38s95hp7zc7/Z1C_UI.zip
Click to expand...
Click to collapse
I also have 5.1.1 on my D5503, would yours work with mine? If so, could you send it to me, please?
Nayibmc said:
I also have 5.1.1 on my D5503, would yours work with mine? If so, could you send it to me, please?
Click to expand...
Click to collapse
Code:
drive.google.com/file/d/0BxZGyvluE426blFudkpqcFpwRTA/view?usp=docslist_api
This is SystemUI of 14.6.A.1.236. If not work, you can send your SystemUI & framework-res to me. :fingers-crossed:
trunghaut1 said:
This is SystemUI of 14.6.A.1.236. If not work, you can send your SystemUI & framework-res to me. :fingers-crossed:
Click to expand...
Click to collapse
It did work! Thank you so much!
Nayibmc said:
It did work! Thank you so much!
Click to expand...
Click to collapse
:good: :fingers-crossed:
Can this be done to a Z5?

Categories

Resources