[TUTORIAL] [4.1+] [UPDATE :- 04.09.2014] Making Transparent Framework Mod - Sony Cross-Device General

Hi friends ,
I just want to share one simple and very usefull guide about making Transparent framework mod for deodexed 4.1+ roms. A big thanks to @Dickey Kid'deviel for giving permission to share his work.
There's many guide for doing this but the different on this guide is its more easy and some fix for some popup dialog background
and make it looks perfect on Xperia 2012/2013/2014 devices..
Already Tested and Working On:
- Xperia M XMS/XMD JB 4.1, 4.2, 4.3
- Xperia L JB 4.2
- Xperia V JB 4.3
- Xperia M2 JB 4.3
- Xperia Z KK 4.4.2
- Xperia Z1 KK 4.4.4
- Xperia P / S JB 4.1.2
- And maybe working on any other Xperia devices.
So here you go ....
1. Decompiled your framework-res.apk
2. Open styles.xml
Find:
<style name="Theme.NoDisplay" parent="@style/Theme">
Then Add:
<item name="windowShowWallpaper">false</item>
Click to expand...
Click to collapse
Find:
<style name="Theme.DeviceDefault.Light.Dialog" parent="@style/Theme.DeviceDefault.Light">
Then Add:
<item name="windowShowWallpaper">false</item>
Click to expand...
Click to collapse
Find:
<style name="AlertDialog.DeviceDefault" parent="@style/AlertDialog.Holo">
Then Add:
<item name="windowShowWallpaper">false</item>
Click to expand...
Click to collapse
Find:
<style name="AlertDialog.DeviceDefault.Light" parent="@style/AlertDialog.Holo.Light">
Then Add:
<item name="windowShowWallpaper">false</item>
Click to expand...
Click to collapse
Find:
<style name="Theme.Holo" parent="@style/Theme">
And Change It To:
<style name="Theme.Holo" parent="@style/Theme.Wallpaper">
Click to expand...
Click to collapse
And Search Below:
<item name="windowShowWallpaper">false</item>
Click to expand...
Click to collapse
Change It To:
<item name="windowShowWallpaper">true</item>
Click to expand...
Click to collapse
Find:
<style name="Theme.DeviceDefault.Light" parent="@style/Theme.Holo.Light">
Then Add:
<item name="windowShowWallpaper">true</item>
Click to expand...
Click to collapse
3. Open drawable hdpi and find "semc_bg" and semc_bg_light and make it transparent, or you can download transparent png on the attachment below.
4. Recompile and Done.

SCREENS
{
"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 will try
Sent from my C2305 using Tapatalk

Related

[Reverse][APP] Facebook Home

Hey, after messing with the new Launcher of Facebook we can see some of the reverse engineering with the Facebook Home apk.
We will benefit from the new forums recently added for Developers!
Remember it's only with educational intentions! No thermonuclear wars supported!
Let's start!
Important findings!
The Feature called Home it's established inside the code as Dash.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="title_activity_dash">Facebook Home</string>
<string name="[B]settings_dash[/B]">Facebook Home settings</string>
<string name="[B]enable_dash[/B]">Enable Facebook Home</string>
The Main Process seems to be DashActivity:
Code:
<activity
android:theme="@style/Theme.FacebookDark"
android:label="@string/title_activity_dash"
android:name="com.facebook.dash.activities.DashActivity"
android:process=":dash"
android:taskAffinity="com.facebook.dash.dashtask"
android:clearTaskOnLaunch="true"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
<intent-filter>
<action android:name="com.facebook.intent.action.DASH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="com.facebook.intent.action.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
How does it work
The launcher apk AKA com.facebook.home it's just a very poor coded apk with a recalling method to the official Facebook apk AKA com.android.katana. As the Home app doesn't include too many code we will expect that Facebook Home will work on any android device while it accomplishes the minimum requirements. For the moment the launcher only supports the portrait options and it's not finished (like the experience in the Apps page).
How does it feel
The launcher without any sync account it's very easy to use. First you locate your profile picture that with some swipe methods we will Access to the Camera, the apps or the last app launched. It's oriented in a 100% to share content to facebook with the Status, Photo and Check in options in the top. If you wanna dismiss it you can swipe down easily.
Feedback Device List
RK29 Tab - Working - CM10
Galaxy S I9000 - Working - CM10.1
Please continue with the Reverse! Any important comment will be added to the Original Post!
I am attaching the source build environment of com.facebook.home and com.facebook.katana. Based on decompiled sources!
See you!
Lol it's the intent-fair of this year
{
"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"
}
It worked in my i9000 with the leaked version but no with the official.
Sent by the force with a CM10.1 device!
SferaDev said:
It worked in my i9000 with the leaked version but no with the official.
Sent by the force with a CM10.1 device!
Click to expand...
Click to collapse
Official version working on gti9000 here. Edited my build prop to galaxy s3 though to get it to work.
Sent from my GT-I9300 using Tapatalk 2
knuckles1978 said:
Official version working on gti9000 here. Edited my build prop to galaxy s3 though to get it to work.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Ok! I'll try to edit the build.prop.
But it's one time progress or I must stay with the build.prop changed?
Sent by the force with a CM10.1 device!
I am thinking to build a light version of Facebook home, without the launcher and all the crappy stuff.
Help is always appreciated

[How To] Decrease buttons Navigation android (NavBar)

First have the APKTools, NotePad + +, 7Zip and Paciencia, lol ....
- Follow up framework-res.apk \ res \ values
- Open dimens.xml
- Search for the lines:
dimension name = "navigation_bar_height'' 48
dimension name = "navigation_bar_height_landscape'' 48
dimension name = "navigation_bar_width'' 42
-Change the values ​​48/48/42 to 35/35/32
- SystemUI -> res -> layout -> navigation_bar.xml and open it with Notepad++.
- Inside the navigation_bar.xml file find the following two lines:
"@drawable/ic_sysbar_back" android:scaleType="center"
"@drawable/ic_sysbar_back_land" android:scaleType="center"
- Now, delete the android:scaleType="center" from both lines.
{
"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"
}
- Recompile
- Open Framework recompiled using 7Zip resources.arsc copy the file to the original file.
- Done!
before
after
Ps. Tested on devices
Motorola Razr HD
Motorola Razr D3
Motorola Moto G XT1033
Credits for the How to: Fabio PAB
Why just not using xposed / gravitybox? It does the very same thing and much more without going through all of this headache.
Sent from my XT1033 using Tapatalk
Doublepranks said:
Why just not using xposed / gravitybox? It does the very same thing and much more without going through all of this headache.
Sent from my XT1033 using Tapatalk
Click to expand...
Click to collapse
I prefer to use the means of development upon the friend's own apk apk tools
Hug.
I like it! But, i've installed GravityBox on my Moto G and i couldnt find an option for this.. How can i do this using GravityBox?
Thanks!
ponxho said:
I like it! But, i've installed GravityBox on my Moto G and i couldnt find an option for this.. How can i do this using GravityBox?
Thanks!
Click to expand...
Click to collapse
The option can be found in GravityBox [KK]<Navigation Bar Tweaks<Dimensions.
Doublepranks said:
Why just not using xposed / gravitybox? It does the very same thing and much more without going through all of this headache.
Sent from my XT1033 using Tapatalk
Click to expand...
Click to collapse
Is there a way to hide or decrease it without root?

[GUIDE][ZTE DEVICES]Aosp lock screen

Hi today im going to show u how to get AOSP lockscreen on most if not all ZTE devices
This guide assumes u know how to decompile and compile apk files!!!
"What you will need..."
1. Apktool or equivalent GUI
2. Notepad++ or another XML/hex editor
3. Java
4. SDK/adb
5. A brain
6. Patience...
Step 1: Decompile framework-res.apk
Step 2: Go to res/values and open strings.xml
Step 3: Search for: "<string name="config_lockscreen_classname">"
Step 4: Change "com.android.internal.policy.impl.xxxxxxxx" to "com.android.internal.policy.impl.LockScreen"
Step 5: Recompile framework-res.apk and dont forget to resign
Step 6: Push apk to device and enjoy AOSP lockscreen!!!!
Note: Layout may need to be fixed depending on device eg: lock ring to low etc...
Sent from my N800 using Tapatalk
Does not work on zte blade c2 jelly bean 4.2.2 can not find the line Step 3: Search for: "<string name="config_lockscreen_classname">"
joses444 said:
Does not work on zte blade c2 jelly bean 4.2.2 can not find the line Step 3: Search for: "<string name="config_lockscreen_classname">"
Click to expand...
Click to collapse
can u upload ur framework-res.apk and I will take a look
Sent from my N800 using Tapatalk
I have also enabled this through policy too, framework method is easier
Sent from my N800 using Tapatalk
brittnearl said:
can u upload ur framework-res.apk and I will take a look
Sent from my N800 using Tapatalk
Click to expand...
Click to collapse
thanks, I leave the framework-res
joses444 said:
thanks, I leave the framework-res
Click to expand...
Click to collapse
framework-res
can u post a screen of ur lockscreen?? is it a long press?? u are correct string does not exist in ur frame
{
"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 aosp minus my mods lol
Sent from my N800 using Tapatalk
If ur lock is long press upload ur android.policy.jar
Sent from my N800 using Tapatalk
brittnearl said:
If ur lock is long press upload ur android.policy.jar
Sent from my N800 using Tapatalk
Click to expand...
Click to collapse
thanks, I left a snapshot and android.policy
Hmm... Ur policy is setup completely different than mine, not sure how to go about getting it to work as i dont have ur device to test

[MOD] [PORT] [JB 4.3] [UPDATE :- 29.09.2014] Z3 Black Themed Ported Apps

Friends
Here i am presenting you some Black themed ported Z3 system apps for devices that running Jelly Bean 4.3. Please note. You need a deodexed, Superuser mod installed rom. Please read the install instructions before flashing this mod..
1. CONVERSATION APP
SCREENS
{
"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
http://www.mediafire.com/?mny8w4q65b0hbp3
Note :- More mods will come soon. All will b black themed..
INSTRUCTIONS
Add these lines in build.prop :
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=v=n,o=v,m=y
Copy The Downloaded Zip To Ur Phone
Reboot To Recovery
Wipe Cache And Dalvik Cache
Flash ZIP
Reboot
Enjoy
CREDITS
Very Good
If you don't mind me asking, do you guys just change the colour code in the xml file to change into a black theme or do you change some images in the apk that works as a background? Even I am not sure how to achieve this black theme hahaha
:good::good:
Force closes when I try to open or compose a message
johmkel said:
Force closes when I try to open or compose a message
Click to expand...
Click to collapse
Did u add the build.prop lines? Which mobile u using? Odexed/ deodexed rom? Superuser mod installed or not? Pls describe..
@Furrydaus
Res/values/styles.xml
Res/values/colors.xml
Res/layout/....xml files
Res/drawable-xhdpi
Res/drawable-ndpi
Etc etc.. Theming is an ART...
This version has fixed no LED notification in XPeria SP already?
handsomejack said:
This version has fixed no LED notification in XPeria SP already?
Click to expand...
Click to collapse
I don't know about that bug bro. I have just ported it and themed it. Just flash it let me know.
Rajeev said:
Did u add the build.prop lines? Which mobile u using? Odexed/ deodexed rom? Superuser mod installed or not? Pls describe..
Click to expand...
Click to collapse
Yes I've put those lines in the build prop. I am using Xperia SP deodexed with superuser stock based.
Rajeev said:
@Furrydaus
Res/values/styles.xml
Res/values/colors.xml
Res/layout/....xml files
Res/drawable-xhdpi
Res/drawable-ndpi
Etc etc.. Theming is an ART...
Click to expand...
Click to collapse
Hahaha gotcha. Thanks for the headsup! Will try my own for a change
Sent from my C5303 using XDA Premium 4 mobile app
Rajeev said:
@Furrydaus
Res/values/styles.xml
Res/values/colors.xml
Res/layout/....xml files
Res/drawable-xhdpi
Res/drawable-ndpi
Etc etc.. Theming is an ART...
Click to expand...
Click to collapse
Like you last sentense. :good:,

[Guide] Add new wallpapers in SecWallpaperChooser.apk

I was trying to add few extra wallpapers in my Samsung device's system app SecWallpaperChooser.apk but unfortunately didn't find any tutorial or guide to help me, so I have to learn and do it all on my own.
So basically I'm writing this tutorial for those who want to add new wallpapers and specially for those new devs who are making new Rom with lollipop or above version theme for a device that is 4.1+
Prerequisites:-
1) A rooted phone
2) Backup your original SecWallpaperChooser.apk
3) Any Tool that can Decompile & Recompile with it's requirements
4) Notepad++
5) Photoshop or any other similar software.
6) Basic knowledge of decompiling and recompiling.
Let's Start
Backup your SecWallPaperChooser.apk
Decompile SecWallpaperChooser.apk
Add or edit wallpapers in \res\drawable-sw320dp-hdpi [Since my device is sw-320dp-hdpi, you may have different too]
Numbering should be in ascending order like wvga_05.jpg , wvga_05_small.jpg , wvga_06.jpg , wvga_06_small.jpg & so on.... Check the screenshot below.
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"
}
Now Open \res\values\public.xml
Replace "APKTOOL_DUMMY_XXXX" with the new added wallpaper name & save it.
I have added 5 new wallpapers with the name
wvga_06.jpg , wvga_06_small.jpg
wvga_07.jpg , wvga_06_small.jpg
wvga_08.jpg , wvga_06_small.jpg
wvga_09.jpg , wvga_06_small.jpg
wvga_10.jpg , wvga_06_small.jpg
Click to expand...
Click to collapse
Screenshot
Now Open \res\values-sw320dp-hdpi\arrays.xml [Since my device is sw-320dp-hdpi, you may have different too]
Add the item[wallpaper] name that you have added & save it.
I have added the 5 new wallpapers with the above name so my additions in the coding is
<item>wvga_06</item>
<item>wvga_07</item>
<item>wvga_08</item>
<item>wvga_09</item>
<item>wvga_10</item>
Click to expand...
Click to collapse
Screenshot
Recompile & install the apk or adb push it.
If you like my work press :good: and if you use it for your rom don't forget to mention it Enjoy!
Final Screenshots​
Thank you for explanations.

Categories

Resources