[CM7] Tweaks Guide and Transparent Theme - Defy General

Hi there,
Edit (2012-May-17): added flashable zips for TouchWiz style Calendar and semi-trans MMS.apk-no smiley. Details here: Calendar, MMS - please read before flashing.
- - -
I had some free time during the past holidays and I've put together the following. It's no dev work here and it is simply and basically -zipper's work like Epsylon3 would call it - and something to remind myself -and to share with you all- on what are most of my current tweaks on the December 13th Defy+ nightly that I'm currently using.
I was also surprised to see oldtimers here on XDA still asking the same old questions regarding how to replace system files and how to set their files permissions. So I figured, why not use what I've put together and make this a good practice session for that and to get people familiarized with all this? The more people in the know; the better it is for everyone -right?
So here's what I hope could be called a 'CM7 tweak guide' and as an added bonus, I've also included a (transparent) theme that I've spent quite some time modding.
Heads up warnings:
- The transparent statusbar tweak and the ICS screen animations are nightly specific and won't work on any other CM7 builds.
-> I've used post #2 below to make a guide on how to do this on any CM7 build... And see the aknowlegments section for the ICS screen animation patcher from DaxInfinty to get the transitions on other CM7 builds.
- Furthermore: the Dec13th Defy+ nightly is mainly FOR RED LENS/DEFY+ USE ONLY as the camera will not work for green lens phones.
- I've chosen this specific Defy+ nightly because there are still problems with all the newer ones (up to cm72-120109.2049-NIGHTLY-Defy+.zip here) regarding inverted picture in camera that cannot be fixed; so use this one and not newer ones for now.
But the other tweaks and my modded theme can also just be installed on any CM7 build and by green lens owners as well (you just won't get the transparent statusbar unless you follow post#2 below).
So here's my gift for you guys, I hope you enjoy!
/AL
If you follow this, here's what you'll get:
[*] A pretty damn good CM7-Defy+ build for red lens with:
[*] ICS' screen transition animations [before/after clip here];
[*] Latest update for security certificates;
[*] Properly working Camera/Videocam/zoom [again: for red lens Defy only];
[*] Proper libs to play GTA3 [I will not help you here on getting that game - but you might like to read this post];
[*] Proper libs for Voice Search and Google Translate;
[*] Script to zip align at boot;
[*] T9-style Dialer;
[*] Tap-to-snooze/swipe-to-dismiss [or stock] alarm style;
[*] Transparent statusbar and my MSGingerBlur-based theme with >150+ modded/replaced UI icons;
[*] Properly charging battery for Defy+ owners.
To get started, here's what you'll need download -as needed:
- 7-zip
- RootExplorer (RE) here on the Android Market;
- CM7 F.A.Q.: for 2ndinit, SuperoneClick, etc.
- CM7 and CM9 signed Kernels;
- Dec 13th CM7-Defy+ nightly ;
- Latest GingerBread Gapps .
Once that's done, extract my attached zip files to and place all the content (10 files plus my theme's apk) in a folder on your computer's desktop.
To begin, the following tweaks can be done directly to the nightly zip before the installation BECAUSE we are just replacing files with the same names here; this alleviate the need to further set files' permissions and Ownerships on the phone.
But first, play it safe: charge up your phone and make a nand backup of your current build [and of this nightly zip] and then Open [do not extract] the cm72-111213.0943-NIGHTLY-Defy+.zip archive with 7-Zip: by right-clicking on it and then 'Open archive'.
Navigate to the proper folder and replace these files with the ones from my AL's Pack zip by "drag-and-drop" (press "ok" on the replace file warning):
- DeskClock.apk in /system/app
- cacerts.bks in /system/etc/security
- Camera.apk in /system/app (!red lenses only!)
- Contacts.apk in /system/app
- libstagefright.so in /system/lib
- overlay.omap3.so in /system/lib/hw (!red lenses only!)
I just added a 2nd tweaks pack zip (to extract do not flash in recovery)...
- battd in system/bin <-- this is to fix the battery charging problem for Defy+ owners only!
Close the nightly zip archive, move it to your phone [along with all the remaining files extracted from my zip and the optional downloaded signed Kernels and gapps] and go in custom recovery to install (flash) the usual way [Select ZIP from SD card option] the following:
- this modded nightly;
- the "Init-Speed-091711.zip";
- the "update-capez-ICS-mod-ac-patch.zip"; !nightly specific: DO NOT install on another builds!
and if needed:
- the CM9_Kernel-signed.zip IF you're moving to CM7-Defy+ from a Froyo-based rom.
- the latest CM7 Gapps;
--> Wipe cache and Dalvik cache and reboot your phone.
Once booted up..
Now here's the hard one...: we have to replace the SystemUI.apk files onto your phone and set its proper permissions and ownerships.
Like for all the other tweaks involving file replacement, play it safe again and make a backup copy of the original files by renaming their file extensions (for example: to Whatever.bak or as whatever.apk_vo).
The thing is that this file cannot be deleted before pasting another one to replace it. If it is deleted or renamed, it can render your system unusable; so you've been warned!
That can be done using adb, but I prefer to just do this on the phone itself using Terminal Emulator and RootExplorer as explained here.
So 1st, place my modded SystemUI.apk on the root of your sd card [/sdcard/].
Open up Teminal Emulator from the app drawer and type the following:
Code:
su
cd /sdcard/
mount -o remount,rw /system/
cp -f SystemUI.apk /system/app
Again this SystemUI replacement for transparent statusbar will work on this nightly ONLY.
*** and be careful here ***: once you do this last step, the launcher might crash or you might even get into an "error loop"; if you do, long press the power button and try to reboot between 2 errors popups OR just pull the battery out and reboot.
If you did not get into an error loop or if you've already rebooted, your status bar might be gone now; don't freak out!
--> Go set the permissions/ownership of the new SystemUI.apk in /system/app/
WITH Teminal Emulator again:
Code:
su
cd /system/app
mount -o remount,rw /system/
chmod 644 SystemUI.apk
chown 0.0 SystemUI.apk
OR
Using RootExplorer, navigate to: /system/app, make the folder writable by clicking the top-right corner buton "Mount R/W" and long press on the SystemUI.apk to select "Permissions" and (scroll down for) "Change owner" entries to set all of their options exactly like the other files in that folder.
Exit RootExplorer or Terminal
- Install my theme: AL_Theme_v18.apk (you will need to allow non-market app installation) and switch to it with CM7 ThemeChooser.
- Go in the phone settings ADWLauncher_System Preferences and UNCHECK Wallpaper Hack
-->> the transparent statusbar will work on the default ADW Laucher; with GO Launcher, you'll have to check the "High Quality Drawing" in its Advanced settings [thanks matchung]; for other launchers you might need to use a live wallpaper or other specific tweaks for this to work and it is up to you to search for it..
- Reboot and Voilà!: you should now have a transparent statusbar with my theme!!
For VoiceSearch:
- Extract and manually add/replace the 2 files from the VoiceSearch.zip:
- VoiceSearch.apk in /system/app
- libvoicesearch.so in /system/lib
--> Set the files' respective permissions and ownerships (you should know how by now...) and reboot.
[sorry for this: the VoiceSearch.zip only contains the 2 files; I thought that I had a cwm recovery update zip for it but I don't...I might create one later]
- Install Google Translate from the Market.
- Run Clock from your app drawer and press Menu Button-->Settings-->Alarm Screen--> select: Moto Blur.
- Enjoy!!
If you don't; wipe all in custom recovery and restore your nand backup and don't forget to also flash the CM7_Kernel-signed.zip if you go back to vanilla CM7 or other Froyo-based ROMs.
Notes:
- Again: the ICS transitions animations and the transparent statusbar tweaks are nightly dependent and will work only on the specified cm72-111213.0943-NIGHTLY-Defy+.zip - DO NOT install the update-capez-ICS-mod-ac-patch.zip or the new SystemUI.apk on other builds; it just won't work!
- These mods are all either optional, already in newer builds or might eventually get merged or trashed; this "guide" just was to share most of my current tweaks on that CM7-Defy+ build at this time (Jan 16th);
- I might add more tweaks later;
- I will not maintain this thread religiously and it is definitely NOT meant to be a helpdesk for all the problems you might have with CM7;
- I will not edit your SystemUI.apk (to have the transparent statusbar) or create the ICS transition patch for your specific build (see the link for a guide in the aknowlegments section for the ICS screen animation patcher from DaxInfinty and check post #2 for a guide on transparent statusbar);
- Commments, additional tweak recommendations and bugs RELATED to everything above are welcomed; otherwise, keep this thread clean please and don't spam or full-quote for no reason.
Tweaks that did not make it:
- Bravia Engine: no proof that it actual works and most likely missing libs and service from Sony to work - read this post
- GB 3D performance update; tried but Benchmarks showed no statistically relevant proof of improvement - read this post
Aknowledgements:
A 1000 Thanks go to:
Quarx, Epsylon3 and Maniac103 for all their hard and excellent work for our Defy phones: we really owe you guys.
twa_priv for his trick about the camera lib;
capez and especially DaxINFINITY for for ICS screen animation patcher;
Walter79 for tall his work on the MS2Ginger rom; where I discovered the zipalign tweak and the security certificate update;
kevin2516 for his excellent GingerBlurB theme;
Kurd_medico for his help on the statusbar transparency tweak ;
Fritolay for originally posting the kernel update zips;
duguschi for the Blur type Deskclock.apk;
Antony.ps for his excellent CM7's FAQs/guide;
jfl0wers for the zip align at boot script;
SpawNyK for posting a CM7 working version of VoiceSearch lib and app;
RockStar for their 10 years old -and still awesome- GTAIII;
Santa;
And Motorola for making the incredible Defy phones and for their [hopefully soon to be gone] locked boot loader: you guys saved us 100's of hard bricked Defy over the last year or so [mine would most probably be one of those] and tons of RIP Defy post s here on xda
and who ever else I might have forgotten.

Since I've mentioned it...here it is!:
HOW TO modify the SystemUI.apk to get TRANSPARENT STATUS BAR on any CM7-Jordan build [and other cm7 builds for different phones].
* This has been verified to work at least with ADW Launcher, ADW-EX Launcher, GO Launcher and FTL launcher BUT READ the Notes at the very bottom of the post.
What you need:
- From the OP, you should now have 7-zip and RootExplorer installed; otherwise download from here and here;
- Download smali/baksmali files from here and put the 4 files in a new folder (for example: c:\smali) [which I will use in this guide];
- Download and install Notepad++ from here: - this is just an awesome text editor ;
Now let's do this:
0- Make a backup copy of your system and/or of the original SystemUI.apk file [from the /system/app directory].
1- With 7-zip installed, right-click on the zip of your current nightly and choose "7-Zip --> Open archive" [DO NOT extract it, just "Open Archive"] and navigate to: system/app and click and drag SystemUI.apk to your computer's desktop;
2- Repeat step 1 with the SystemUI.apk on your desktop and to find the file: classes.dex in the root folder of the apk. Select it and drag it (to make a copy of it) into your c:\smali directory (you can leave SystemUI.apk archive opened as we'll replace that file back in later on);
3- Open a CMD prompt (click Start and type: CMD) and type following 2 commands to decompile the classes.dex file:
Code:
cd c:\smali
java -jar baksmali-1.2.8.jar -o classout/ classes.dex
[*** --> Replace the "1.2.8" part by what ever file version you've downloaded]
** Do not close the CMD window just yet.
4- Go in the classout directory that was just created in c:\smali, and find the file named: StatusBarService.smali [in: c:\smali\classout\com\android\systemui\statusbar\] and open it with Notepad++;
5- Search for the line containing:
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
just above it, you will see: const/4 v5, 0×2 --> change that to: const/4 v5, -0×3
--> that line should be around line# 2223 for recent Defy and Defy+ cm7 nightly builds
6- Save the file and exit Notepad++;
7- Go back to your CMD prompt and enter this command to recompile the classes.dex file:
Code:
java -jar smali-1.2.8.jar classout -o classes.dex
[*** --> Don't forget to replace the "1.2.8" part by what ever file version you've downloaded]
8- Close your cmd window and slide the new classes.dex file back over your SystemUI.apk opened archive (drag and drop) and then close it.
Now the rest is just like in the OP:
To replace the SystemUI.apk on your phone:
So 1st, place the modded SystemUI.apk on the root of your sd card.
Open up Teminal Emulator from the app drawer and type the following:
Code:
su
cd /sdcard/ #(<-- modify this accordingly if you've placed your new systemUI.apk else where)
mount -o remount,rw /system/
cp -f SystemUI.apk /system/app
*** be careful here ***: once you do this last step, the launcher might crash or you might even get into an "error loop"; if you do, long press the power button and try to reboot between 2 errors popups OR just pull the battery out and reboot.
If you did not get into an error loop or if you've already rebooted, your status bar might be gone now; don't freak out!
--> Go set the permissions/ownership of the new SystemUI.apk in /system/app/
WITH Teminal Emulator again:
Code:
su
cd /system/app
mount -o remount,rw /system/
chmod 644 SystemUI.apk
chown 0.0 SystemUI.apk
OR
Using RootExplorer, navigate to: /system/app and long press on the SystemUI.apk to select "Permissions" and (scroll down for) "Change owner" entries to set all of their options exactly like the other files in that folder.
Exit RootExplorer or Terminal
Make sure to disable (UNCHECK) "Wallpaper Hack" in the phone settings ADWLauncher_System Preferences or "use High Quality Pictures" option if you use GO Launcher.
Reboot and enjoy!
Notes:
- Some of your widgets might need to be removed from your phone's screen and re-installed to display properly.
- Do not try to edit the systemUI.apk and incorporate it in the nightly zip before install; it won't work - it HAS TO be done on the phone after the nightly install has fully booted at least once.
- This will allow my theme or other transparent-enabled themes to work; I will add how to do this on the CM7 default themes (or any other) later maybe...
So for now, that's it!! - It wasn't too hard to do wasn't it?
ah!.. might as well finish this... :
This should probably have been at the beginning of the post but...
If you want the transparency on any theme (CM7 default themes at least), you might want to try the following:
Note: This will work at least on ADW Launcher, GO Launcher and FTL launcher [thanks lurkerPL ] - but keep reading as some launcher settings might be required.
All you need is to modify a few png images in the SystemUI.apk before replacing it onto the phone steps.
1- go to \SystemUI.apk\res\drawable-hdpi\ folder and drag this file out to your desktop:
statusbar_background.9.png
Optionally, do it for these 3 files also (which are for the notification pane pulldown background):
status_bar_background.9.png
shade_bg.png
status_bar_close_on.9.png
2- Open the PNG files in Paint.Net (nice and free: get it here ), [Gimp, Photoshop, or whatever your favorite image/picture editor capable of png transparency] and delete their background for fully transparent statusbar OR if you want semi-transparency; do that instead. in Paint.net, this is done by selecting: Layers_Layer properties..._Opacity value: 0-255.
--> I believe that I previously used something like 10% layer transparency for the first 2 files and 25% for the last 2 but you'll have to find what king of semi-transparency you prefer.
3- Go on and replace those modified PNG files back into the SystemUI.apk [\SystemUI.apk\res\drawable-hdpi\ folder Opened archive] by just dragging them over their original folder [7-zip again].
Go on with the SystemUI.apk replacement and reboot.
Notes:
- you might have to play around and switch theme with the ThemeChoser.
- again: don't forget to disable Wallpaper Hack in ADWLauncher settings_System preferences or "use High Quality Pictures" option with GO Launcher.

Nice!!!!
Sent from my MB526 using xda premium

I have a green lensed Defy.
If I install the nightly from this post and then flash the greenbreadmod, will I have all features back? Or it is incompatible? Thanks

woonaval said:
I have a green lensed Defy.
If I install the nightly from this post and then flash the greenbreadmod, will I have all features back? Or it is incompatible? Thanks
Click to expand...
Click to collapse
Just from memory, I believe that Walter79 has already confirmed that this wouldn't work for the green lens Defy on CM7 Defy+ ; you'd still have no camera.
But you can try other tweaks from the package and my theme...

Nice that you've taken the time to do this! Great Work!
I, kind sir, salute you!
EDIT: Hey AL, there's no voicesearch.zip in your pack, so i just included the files in the GAPPS.zip.
BTW, loved the icon for device settings... but the theme is to BLUR-ish for my taste...

nice thread Al. one little question.. your tweak with overlay.omap3.so and camera.apk not work in newest build than 13. december, right? i thing i try this change, and it didn't work..

nogoodusername said:
Nice!!!!
Click to expand...
Click to collapse
Thanks! and thanks to you for not using full-quote
Otto.BR said:
Nice that you've taken the time to do this! Great Work!
I, kind sir, salute you!
EDIT: Hey AL, there's no voicesearch.zip in your pack, so i just included the files in the GAPPS.zip.
BTW, loved the icon for device settings... but the theme is to BLUR-ish for my taste...
Click to expand...
Click to collapse
Oupsy! I knew I would have screwed up somewhere.. Fixed now with a new tweaks zip. Thanks for pointing that out - nice move to over come it Now there is a zip with the 2 required files for VoiceSearch but it is NOT a CWM recovery update... so this have to be manually added or done with your gapps zip trick.
You mean the icon for CyanogenMod settings? Blurrish yes (It's based on GingerBlur afterall) but I do like the big -changing color- icons for the notification power widgets..
mikrom.cz said:
nice thread Al. one little question.. your tweak with overlay.omap3.so and camera.apk not work in newest build than 13. december, right? i thing i try this change, and it didn't work..
Click to expand...
Click to collapse
Thanks also. You are correct: Dec15th, Dec23rd and Jan9th Defy+ nightly builds all have problems with camera even with the tweak. So that's why I did all this with that nightly.

I've just edited post #2 for a how to on getting a transparent statusbar on any CM7 nightly build and theme (hopefully).
I've just added a second tweaks pack including the battery charging fix for Defy+ owners (and for possible future tweaks).

Like I've expected and mentioned on the OP, the latest CM7 nightly by Epsylon3 is now including the ICS screen transition animations AND the screen rotation animations [which is awesome].
It's a very good build for both green and red lens owners and have a few other improvements as described here.
One problem remains though: the camera zoom doesn't work once the video recording has started and that can be fixed by replacing the Camera.apk from my first tweak pack only - no need to replace the overlay.omap3.so.
Finally, I'm attaching the tweaked SystemUI.apk for transparent statusbar for THAT specific nightly below - just follow the instructions on the OP to replace that file [that should work with my theme and with CM7 default themes as well].

I tried your methods from the second post. Works great. Have a Zte Blade running CM7 and Adw Ex.
Thanks a lot.
Sent from my Blade using XDA app

karthiknr said:
I tried your methods from the second post. Works great. Have a Zte Blade running CM7 and Adw Ex.
Thanks a lot.
Click to expand...
Click to collapse
Thanks for reporting and I'm glad that it was useful for you.
It ain't that hard as it looks isn't?
My gf also has a zte blade on which I installed cm7 a couple weeks ago... I might have a question or two about that eventually...

[] AL [] said:
Thanks for reporting and I'm glad that it was useful for you.
It ain't that hard as it looks isn't?
My gf also has a zte blade on which I installed cm7 a couple weeks ago... I might have a question or two about that eventually...
Click to expand...
Click to collapse
Would be glad to help. Will hit thanks after i get to my pc.
Sent from my Blade using XDA app

Please delete.

Anyone know if I could work in Launcher Pro (LP)

RAD1XS said:
Anyone know if I could work in Launcher Pro (LP)
Click to expand...
Click to collapse
I've never used Launcher Pro myself, but from what I've read on this -and as strange as it sounds- it requires the use of a live wallpaper for the transparency to work.
People have suggested to use something like the Live Walpaper Creator app and to make a one-slide-only live wallpaper (thus making it a static picture and minimizing the battery use/system sluggishness) to allow the transparent statusbar.
I just enjoy ADW Launcher's customizable swipe gestures too much to try LP. Swype up on any homescreen to switch off the display is really great...

Just added to the OP: flashable zips for TouchWiz style Calendar and semi-transparent MMS.apk-no smileys.
Details here: Calendar.apk, MMS.apk - please read before flashing.
And bonus!..why not!? here's a link for the very nice looking [sec pic] semi-transparent PlayStore from Pendo - that I've modded so that it stays at v3.4.7: Pendo's v3.4.7 semi-trans Vending.apk - no auto-update
Cheers!
A few reminders:
I post all this for my own recollection and easy access mainly [and your enjoyment hopefully ]. I make no guarranties and take no liability for any side effects if you chose to try tany of those mods: that being monetary, physical, software/hardware-wise or any other...
So make your backups first - you've been warned !!
Be a respectful xda forum member and follow up the links that I gave (and will always try to give) to the original modder/poster's thread and go give thanks there - don't just be a leech .

Related

[MOD][VRtheme][LE1/LE4]Sense styled resents apps mod with transparency[UPDATED]

Sense styled recent apps​For DARKSIDE UVLE1 v7​
Simple SystemUI mod to change stock recent apps menu
(menu you get when you hold home button)
to Sense styled (horizontal scroll) with working horizontal
view.
Information​This version is customized a little, with transparent background
& multiple colors available for the background.
Choosing options​to install options, simply replace file in flashable zip
'vrtheme' is equivalent to root folder,
so 'vrtheme/system/' is system,
Backgrounds​backgrounds are in 'vrtheme/system/app/SystemUI.apk/res/drawable'
replace:
status_bar_recents_background.xml
FILES ATTACHED ARE NOT .TXTs!!
Alternate resources.arsc​if you want full rotation (4-way) + lockscreen rotation,
replace
'vrtheme/system/framework/framework-res.apk/resources.arsc'=
with the one in
'*resources.rotation+lock.zip' attached ('*' being version used.. LE4 is comming)
*resources.stock.zip is stock with thumbnails resized, no other edits
Alternate version​file tagged 'v1' is identical to alternate,
but icons are directly at the bottom of thumbnail,
similar to first screens
Installation​Simply download the version you want,
make the customizations you want (background/etc.) using root explorer/7zip
1.) move zip to sdcard
2.) reboot recovery
3.) select 'install zip from sdcard'
4.) select the zip & install
5.) reboot
to go back to stock:
(creation of the zip might be done on next release for now some user knowledge is needed)
1.) extract flashable & make folder 'system' in new folder
2.) move /sdcard/vrtheme-backup/system/[app & framework]
folders to system folder you created in step one
3.) delete vrtheme folder
4.) repack META-INF & system folders ONLY
5.) move new zip to sdcard
6.) flash via recovery again
Bblue is similar to ICS blue and 4a_darkblue is a dark blue that mixes well,
Just a few alternitaves to stock*Just some info..
Screnshot - File - Colorcode used
BG_green - ee_green - 00ee00
BG_grey - 4a_grey - 4a4a4a
BG_blue - C6_blue - 0000c6
BG_red - C5_red - c50000
BG_red_orange - FF20_orange - ff2000
BG_darkblue - 4a_Darkblue - 00004a
**Notes**​*reflection is not in this release, have to finish up the smali
*all attached screens are @ 190dpi
(with this mod all that might scale differently is the task button)
*only the last 2 screens are of current build
DARKSIDE TLLE4​Edition​Multi-DPI / Tweaked edition​
[COLOR="red]Information:[/COLOR]
This version is for strictly for Darkside TLLE4 build, and lightly tweaked (not to much to say its not "stock" )
This version is geared for 100% true multi-dpi, meaning, no matter the dpi set by the user, the User Interface (UI)
Will remain consistant/proportional, this is achieved by simply setting corrected px (pixel) values rather then dip
Values when designing your layout (unless you want it scaled ofc).
[COLOR="red"]Installation:[/COLOR]
1.) Download zip & copy to /sdcard
2.) Reboot recovery
3.) Select "Install zip from sdcard" & select zip & install
4.) Reboot & enjoy
Notes:
> the xml's will work on ANY GSII TW based rom, but editing the smali is still a must & you MUST set fhe dimensions in values.xml
> nothing has changed smali wise yet sinse last release (no reflection yet, still determined but no time..)
> Installer is based on VRtheme flasher credits go to origional author, i just edited for proper mountpoints, etc..
> plz no comments like "this isnt like actual sense style", i wasnt going for 100%, its a customized version ofc
> this does replace resources.arsc in framework-res.apk & SystemUI.apk, meaning it might break critical theme parts if you have one installed
Updated...
Wow.. 15dls on UVLE1 version & no comments?
i really need help here :- i am on lollipop 5.02 Lg g2 ls980 and flashed the vrtheme . Now i am totally stuck. i cannot delete / rename / cannot change my locker screen wall paper / cannot update PRL etc & cannot install any apk and my system UI is acting very strange .
Can you kindly help me to get back to the stock UI. I have so much data on my phone that i cannot afford to factory reset also. Please help me out here.

[Mod] Simple Tutorial How to Change the Weather Text Color in the AOKP Drop Down Area

Just a small little tutorial with regard to changing the color of the text for the AOKP dropdown weather status lines.
- First copy your system-ui into whatever apk tool you like and decompile. For the purposes of this I will use the apk multi-tool. Once done, go to the res/layout/weather panel xml and add
android:textColor="#ff33b5e5"
Of course you can use any color hex code I use blue,,,well cause I like it LOL
- After the "android text size" code in line relating to the text such as the city id,,,temp hi and low id and others. Make sure you leave a space between android text size and the newly added color code.
- Once that is done save and back out.
- Recompile the system ui making sure to delete out the resources.arc and any changes you made such as the res/layout folder in the keep file made if you're using apk multi-tool.
- Once that is done, place the new system-ui in a flashable zip (in the system/app folder of that zip of course) and flash away. Enjoy and let me know if you have any problems.
If you liked or use hit the thanks button,,,PM me if you need help,,,PLEASE make a back up before you do anything with the system ui just in case you screw it up and need to go back!
Can u plz share ur systemui....
"T}{@ÑK$" ÑøT TÕ $Ä¥ Jû§T Pr€ë$ ÎT...!!!
Sent From MY ¥ Dûø$ Üs!nG ËvÕ X RoM V¡Å XpArEnT TaPtAlK 2

MaclawStudio tweaks for AOSP!

Hello,
As you can see - we're back with the new ROM. AOSP ICS by MaclawStudio.
Today I want to show you some tips&tricks for our ROM.
EDIT: Added in alpha1
1. Camera on the lockscreen
In our ROM we changed default second lockscreen "target" from camera to mute button. We did it because we think it's more useful than camera.
If you prefer camera more than mute button on the lockscreen you can make following changes to your build.prop file:
- make a nandroid backup
- open /system/build.prop with your favourite text editor with root permissions
- add "ro.maclawstudio.cameratarget=true" key to your file (without quotes)
- save and reboot
Click to expand...
Click to collapse
2. Apps and widgets together
In our ROM we changed the way launcher manages apps and widgets. Now you can't view your widgets with simply swiping your finger throught the pages of app drawer. We did it to improve launcher performance.
If you want to see apps and widgets together in your app drawer you can make following changes to your build.prop file:
- make a nandroid backup
- open /system/build.prop with your favourite text editor with root permissions
- add "ro.maclawstudio.joinwithapps=true" key to your file (without quotes)
- save and reboot
Click to expand...
Click to collapse
EDIT: Added in beta1
3. Hide reboot menu
We added reboot menu to our ROM because it's really useful feature. If you prefer 100% pure AOSP - you should disable it, and now it's possible with simple changes in your build.prop file:
- make a nandroid backup
- open /system/build.prop with your favourite text editor with root permissions
- add "ro.maclawstudio.hidereboot=true" key to your file (without quotes)
- save and reboot
Click to expand...
Click to collapse
4. Force launcher rotation
In my opinion - this tweak is almost useless if you don't like annoying features... You can still force your launcher to auto-rotate with simple changes in your build.prop file:
- make a nandroid backup
- open /system/build.prop with your favourite text editor with root permissions
- add "ro.maclawstudio.autorotation=true" key to your file (without quotes)
- save and reboot
Click to expand...
Click to collapse
More tweaks comming soon!
Cheers, Marcin from MaclawStudio
wow, thanks i will try those ones
Add it to the end of the build.prop file?
I don't' understand why you would put the silent toggle on lockscreen in the place of the camera. Can you not simply silence you're device by long pressing the power button?
In this ROM is it safe to move a different launcher into the system and delete the stock launcher?
Guys are you continuing your cm10 rom ?
Sent from my GT-S5830 using xda premium
Venomous Viper 119, I think Maclaw and Marcin will not continue CM10, because there is already CM10 by Jellaxy

[MOD][LOCKRINGS] OVER 200 DESIGNS, GAMES, CM, AOKP & more ~~~~

Heya Guys, back with something really cool..
With this thread i bring more than 200 Lockrings !! :angel:
Big Thanks to Faithcry. Here is the original thread, THANK him there !!
They are metamorph/zipthemer (for JB) zips so please download the app and then open the zip and apply with metamorph!
IF YOU DON'T KNOW HOW TO USE ZIPTHEMER, GO HERE (Thanks azertguigui)
please nandroid if you don't know 100% what you're doing or how to recover otherwise.
the other option is to pull your framework-res.apk in /system/framework/ to your computer and then if you get a bootloop you can always adb push it back.
Commonly asked Questions or reoccuring comments :
- USE THE SEARCH FUNCTION.
- ALWAYS MAKE A NANDROID or have one on hand to fall back. I cannot stress this enough, especially if you are a newb and this is your first time flashing a theme / using metamorph
- alternatively, if you know what you're doing, just pull the framework-res.apk from /system/framework/ BEFORE you apply the theme and if you get a bootloop just push it back from recovery.
now.
HOW DO I INSTALL THIS???
- First, USE ZIPTHEMER
- download the file to /sdcard/Zipthemer
- go open Zipthemer
- BEFORE ADDING THEMES UPDATE EDIFY
-> hit menu
-> update edify
-> browse...
-> browse to your rom's zip and click on it
-> it will return to the previous menu and then hit configure
-> EDIFY IS NOW CONFIGURED
- then it +Theme and navigate to the folder with the ring
- then change the name of the output if you like
- then click "Build It" and then make a back up.
- reboot into recovery and flash
- reboot
- ?????
- PROFIT!
OMG THESE ARE AWESOME WHAT ROMS DOES IT WORK ON?
anything AOSP based, that being cm10.1, aokp, rasbean, etcetc.
it will NOT work with the sony roms, or sense roms, or touchwiz roms so dont blame me if you try doing it with those roms.
i'm on paranoid and thats based of CM10 so it'll work right?!
YES IS WORKS..
DOWNLOADS : Here
For NFL lockring PACK : Here
Thanks spunks3
Again a BIG thanks to FaithCry !!
Tutorial For Making Your Own !!
Tutorial on how to make your own lockrings, again by FaithCry
i'm not responsible if you eff up your phone cause you dont know what you're doing. but here is a brief but pretty concise explanation of how to do it.
if you download any of the zips, and unzip it, you'll find a folder with files, and an .xml file.
if you want to change the pics of the lockrings
- unzip with winrar or 7z or whatever
- go to framework-res/res/drawable-hdpi (or xhdpi if youre on a gs3)
- change your lockring .png's. They can be anything, but just make sure they are 162x162 px for hdpi and 216x216 px for xhdpi
- ic_lockscreen_handle_normal.png is the lockring when it is not pressed
- ic_lockscreen_handle_pressed.png is when you put your finger to drag it to your designated target.
- MAKE SURE YOU RENAME YOUR EDITED PNG's TO EXACTLY WHAT IS ABOVE OR ELSE IT WONT WORK (unless you want to play with xml)
- once you have fixed up all your images go back to the root folder where you unzipped the original zipfile.
- then open the xml and change accordingly to what it says.. pretty straightfoward
- now this is important for it to work with meta! : you can rename the xml to (your name here).xml, but it is IMPERATIVE that when you ZIP the file back together, you name the zip the EXACT same as the xml except ending in .zip
- so select your xml and your folder (framework-res) and then right click, and zip it with winrar or 7z. make SURE it is a ZIP file and that it is the EXACT SAME NAME AS THE XML and DO NOT COMPRESS IT!
- then when you have your zip, drag and drop it into your AndroidThemes folder on your internal SD or SD (assuming you're using metamorph) and then apply with MM or Zipthemer or ninjamorph etcetc!
**it will soft reboot or freeze or whatever, just pull the battery and boot normal. or use
Code:
adb reboot
and voila! there you have it, you've made your very own custom lockrings!
cheers!
thats all for now, but this post will be updated when popular questions arise.
Thank HIM here
** reserved for future updates **
wow.. looks promising
thanks for your share
Re: [SHARE][LOCKRINGS] OVER 200 DESIGNS, GAMES, CM, AOKP & more ~~~~
Dude,
Love this really simple and easy to use.
Thanks buddy
Sent from my Xperia S using xda app-developers app

[NST/NSTG] Multilanguage and modified Settings.apk for 1.2 firmware

For NST/NSTG with 1.2 firmware​
Hi, new NTSG owener here
After reading this thread I've decided to make similar mod for 1.2 firmware.
NOTE: this was tested on rooted 1.2 firmware on NSTG but should work fine also on NST
Modifications in framework-res.apk:
-added languages: the same as in original mod
-replaced some images: by default not-localized ones had ugly "X" painted on top, now they look as for English locale
Modifications in Settings.apk:
-all languages are now visible in language picker ( <extra android:name="hideDevLanguages" android:value="false" /> in xml/settings_locale.xml) removed due to SetupWizard incompatibility (com.bn.oobe doesn't like this)
-added Development Options in main menu (changes in xml/settings_root.xml and xml/settings_root_gossamer.xml- first file is for NSTG, second for NST)
-locale picker is present in Development Options
-added Sync & Settings submenu
If you wish to play further with Settings.apk I can recommend this tutorial (it's for ICS but workflow is the same for Eclair).
Downloads:
All files are CWM flashable zips
NSTG-MULTI-1.2.x-flash.zip -modified framework-res.apk
NSTG-settings-accounts-1.2.x.zip -modified Settings.apk
RESTORE_FRAMEWORK.zip -restore stock framework-res.apk
stock-settings.zip -restore stock Settings.apk
Remember to make a full backup before flashing anything​
Updated Settings.apk- now Accounts & Sync is available
NST owners- please post feedback, I can't test modifications on your hardware.
EDIT:
Removed modded settings.apk due to SetupWizard incompatibility, testing alternate solutions
EDIT EDIT:
Modded Settings.apk back online.
BIG FAT WARNING
Settings.apk is deeply tied to other B&N system apps, Setup Wizard will fail with a modded one.
So if you want to use it keep original one around in case of data wipe
PERFECT! just what I wanted.. hey this DOES have Japanese on it right?
as in.. the list that said..
languages with better support by android:
Click to expand...
Click to collapse
EDIT: nope no Japanese... lemme see if I can add it in myself
MadHatterRyu said:
nope no Japanese... lemme see if I can add it in myself
Click to expand...
Click to collapse
Languages were taken from 2.1 Samsung EU rom.
I've used Android Multitool
If you want to add language:
1.Grab a 2.1 rom which has your language onboard, decompile framework-res.apk,
-copy /res/values-[desired language code]/ folder which includes arrays.xml, plurals.xml and strings.xml
-copy /res/raw-[desired language code] folder
2. Decompile Nook's framework-res.apk
-put both previously extracted folders to /res
-copy any of existing /res/raw-XX to /res/raw-[desired language code] -this folder holds localized images
-compile apk
-there will be warning about missing strings in translation- dont' worry, system will use english ones
-copy AndroidManifest.xml file and /META-INF from original framework-res.apk to newly compiled one (apk is a zip)
3. Replace framework-res.apk in a flashable zip and flash it
I'd advise to wipe dalvik-cache after flashing (just in case)
And better don't use modded Settings.apk, language picker can be accessed in Nook Color Tools.
Sorry, I didn't find a way to make modded Settings work in SetupWizard (oobe.apk in reality)
EDIT:
And better check if fonts support japanese
ahead of that.. I just wanted it to recognize Japanese characters.. only had to add ttf files into the fonts folder.
(oddly the stock reader doesn't do that.. meh, I didn't like it to begin with.. I'm using AIreader) but thanks though : )
This looks great! Thanks, @gen_scheisskopf. Due to this mod's being created, I'm now working on my own modified Settings.apk.
ИΘΘK¡€ said:
Due to this mod's being created, I'm now working on my own modified Settings.apk.
Click to expand...
Click to collapse
I'd suggest to take a look at dependencies, AFAIR settings.apk depends on B&N apks (this is most likely why my modified apk only FC-ed when booting system after a wipe)
gen_scheisskopf said:
I'd suggest to take a look at dependencies, AFAIR settings.apk depends on B&N apks (this is most likely why my modified apk only FC-ed when booting system after a wipe)
Click to expand...
Click to collapse
Check. I've got the beta version of my Settings.apk working famously on my NTG - here's the project thread.

Categories

Resources