Related
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 .
I want to modify the Phone.apk from teamhacksung CM9 B17 for Galaxy S.
What I want to do is to modify it that when I have an incoming call, to see the full picture of the caller. more precisely I want that the black rectangle where you have icon to answer or t reject, to be transparent.
It can be done. I got from the xda forum a moded Phone.apk for B16 where that rectangle is transparent.
I have attached a picture so that you understand what I'm talking about. i also have attached that transparent mod for B16.
Using Beyond Compare 3, I guess that I have to modify in the following file:
Phone.apk\res\layout\incall_touch_ui.xml and replace:
<com.android.internal.widget.multiwaveview.MultiWaveView android:id="@id/incomingCallWidget" android:background="@android:color/black" android:visibility="gone" android:layout_width="fill_parent" .......
with:
<com.android.internal.widget.multiwaveview.MultiWaveView android:id="@id/incomingCallWidget" android:background="@android:color/transparent" android:visibility="gone" android:layout_width="fill_parent" .......
Here comes the problem:
I decompile Phone.apk with Apk_Manager_5.0.2, change that word, save the file and the recompile.
After i install the phone.apk using a zip container from recovery, when I try to make a call or receive a call, I get the: "Voice calls not suported" error.
I tryed all the combinations for compiling: system app, signed/unnsigned; nonsystem app signed/unsigned. Same error.
What am I doin wrong? Any ideas?
Thanks.
similar problem here, but my Phone.apk just crashs
I've had similar issues on Samsung's GB ROMs. I had no problems with Contacts.apk, MMS.apk and DialerTabActivity.apk. I could easily recompile them and moded versions would work. But recompiled Phone.apk kept FC-ing so I eventually gave up.
I don't know what tools themers use to make it work.
After recompiling the Phone.apk open it with 7zip, extract the file that you have modified and put it in the original phone.apk.
Inviato dal mio GT-I9000 usando Tapatalk 2 Final
copying the file did work, thanks for that tip. However the mod did not work, the lower area is still black :-(
You need to change some files from the apk manager to compile android 4.0 files. I can upload my apk manager whitch works as soon as I get home.
those apk manager changes (it's actually not a single change in apk manager but just using apktools 1.4.1) are only related to the smali/dex files. layout/*.xml aren't influenced by that.
These are the changes that I was talking about:
"No problem I used Apk Manager 5.x(dont know exactly). But I've done this two things with the APK-Manager:
-deleted the original aapt.exe in /others and copied the one from the platform tools folder in from the sdk(has to be done if you work with ics apps)
-(de)compiled with Apk-tool 1.4.1 instead of 1.4.3 as the newer version sometimes causes some errors. Just delete the Apkttool.jar in /others and download 1.4.1 from the apk tool webite and paste it in /other
afterwards everything should work fine.."
i know those changes (see above), they don't solve the problem though.
apktool 1.4.1 + copy unchanged files (everything but ressources.arsc and incall_touch_ui.xml): FC
apktool 1.4.1 + don't copy: FC
apktool 1.4.3 + copy unchanged files: no FC but contact pic is still the old size
apktool 1.4.3 + don't copy: FC
same proble here with GS2.
this incoming call screen filled with black is very anoying...
any news on how to fiw that?
phone transparent incoming call
That app does wgat it is supposed, ask mr goodle, for i don't kjnow where i have found it
i made it AOKP build 37
Thats great, but can you explain how to do that?
Cause i' use GS2, and not GS, adn with different rom, we have to use differents phone.apk.
So instead of asking you every time, i'd like to learn how to do it.
Thanks!
Decompiled
Edited
Compiled
Signed
Hi. That's how I was able to do it:
First, copy your Phone.apk from the system folder inside your phone to your computer. Do not use any other Phone.apk, because it may be another version and it will not work. Or extract the Phone.apk from the rom that you flashed to your phone and use it.
You must make some changes to the apk manager to complie/decomplile Phone.apk.
Here is the list with the changes. If you follow it exactly, it should work:
-delete the original aapt.exe in /others and copy the one from the platform tools folder from the sdk(has to be done if you work with ics apps) - you must install android 4.0 sdk. Google it and you will find it easy.
-(de)compile with Apk-tool 1.4.1 instead of 1.4.3 as the newer version sometimes causes some errors. Just delete the Apkttool.jar in /others and download 1.4.1 from the apk tool webite and paste it in /other
afterwards everything should work fine...
Then, when you get the unsignedPhone.apk, rename it to Phone.apk, and put it in a zip file and flash via recovery. Do not copy it with inside the phone because it will not work. If you don't know how to make a zip file, just download any mod (perka, reloaded ...) and open the zip with 7zip, delete any apk's you find in it, and drag Phone.apk inside the System folder from the zip, and then flash it via recovery.
Good luck.
If it does't work, send me an email: [email protected], and I will send you my apk manager that is allready modified and works to compile/decompile.
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
I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
HATe410 said:
I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
Click to expand...
Click to collapse
Okay this is totally wrong.... lol
In order to edit any apk you need 7zip and apk manager or apk tool. And you need to properly deodex your system. Simply renaming systemui.odex to .bak will not "deodex" your ROM. I dont remember how to deodex anymore cause i dont run ROMs odexed. There are numerous threads explaining how to deodex so use search and google my friend
But you are on the right track. you could simply rename the .png files. But you have to rename them to exactly the same name as the ones which are being displayed currently. Or you could edit the status_bar.xml file and target the new .png files which is a bit more difficult but cleaner. Cause if you rename the new png files, you have to either delete or rename the old png files. Which i recommend the later.
Then you need to recompile the systemUI.apk with apk manager or apk tool (whichever you decide to use) google them both to get a better understanding of them. I dont wanna just "tell" you what exactly to do because i had to google everything myself, and in my googling i learned a lot more than what i wanted which made everything so much easier to do.
Also, when you recompile the apk, do not sign the apk. You could zip align the apk which i do to all my mods to ensure they are correct.
Hope this helped and good luck! If you need help just PM me or post in the thread. I respond to PMs quicker though. But have fun
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
HATe410 said:
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
Click to expand...
Click to collapse
I have done most of these edits that you would like to try and I will tell you this if you search google with the information you need you will find tutorials on everything you are asking for. This is what I did and how I learned these fun tasks. Everything you want to do especially in ICS can be accomplished. Also check out a site called UOT Kitchen, it may save you on a step or two. Although learning how to do it is still quite educational as well.
over it
Of course i googled these topics, i google things ALL the time lol I've also used this site as a resource for over a year, tried all the apk modification tools suggested to no avail. Not understanding the instructions given here and being a tech/computer savvy person has made me very upset. This has caused me allot of stress and loss of sleep, Gave up returned my phone to factory settings goodnight
Thanks?
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.