[NST/NSTG] Multilanguage and modified Settings.apk for 1.2 firmware - Nook Touch Android Development

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.

Related

(req)Live Wallpaper Water

Any one have Water Live Wallpaper apk?I lost it after installing JPC.
Is this the one
Thanks, but not this one.I search this, which autumn leaves fall in water.Sorry for bad english.
This:
http://www.youtube.com/watch?v=AEsZXHS7J0I
There is no apk just for this wallpaper...
It is include in an apk with other live wallpapers
Here is the apk and obex files
Just put them in system/app folder (make a backup of your own files before!!!)
It's come from JM7
I've missed all the LWP!
I've puted the apk and obex files in system/app folder, but i can't select the LWP from the menu. I've tryed to restore the original files, but the result is the same.
Please help me!
Thank you for the help!
I've installed a new rom and i have the LWP again.
Hi,
i tried to install the given Livewallpaper.apk and odex, but couldn't see any of the livepapers in that apk in the livepaper menu.
therefore i looked into the apk provided in this thread and in my apk from the JPO-Release.
Both apks contain the water pngs and a resource named fall that seems to be the water livewallpaper.
My assumes
- the livewallpaper.apk from the Android 2.1 Release seems not to be compatible with Froyo.
- There is a problem with the livewallpapers.apk that prevents the fall/water livewallpaper to be shown.
I really liked that livewallpaper - any hints what i could do would be appreciated.
Wolkenfels said:
Hi,
i tried to install the given Livewallpaper.apk and odex, but couldn't see any of the livepapers in that apk in the livepaper menu.
therefore i looked into the apk provided in this thread and in my apk from the JPO-Release.
Both apks contain the water pngs and a resource named fall that seems to be the water livewallpaper.
My assumes
- the livewallpaper.apk from the Android 2.1 Release seems not to be compatible with Froyo.
- There is a problem with the livewallpapers.apk that prevents the fall/water livewallpaper to be shown.
I really liked that livewallpaper - any hints what i could do would be appreciated.
Click to expand...
Click to collapse
+1 .
That livewallpaper was awesome
Wolkenfels said:
Hi,
i tried to install the given Livewallpaper.apk and odex, but couldn't see any of the livepapers in that apk in the livepaper menu.
therefore i looked into the apk provided in this thread and in my apk from the JPO-Release.
Both apks contain the water pngs and a resource named fall that seems to be the water livewallpaper.
My assumes
- the livewallpaper.apk from the Android 2.1 Release seems not to be compatible with Froyo.
- There is a problem with the livewallpapers.apk that prevents the fall/water livewallpaper to be shown.
I really liked that livewallpaper - any hints what i could do would be appreciated.
Click to expand...
Click to collapse
I tried this on fusion 1.2 stock Tmo. Vibrant and had the same problem. It may be because that's a deodexed rom and this won't work without the odex I don't know. But I also had to reflash to get my stock papers back.
i also want that LW too
We all like water Live wallpaper ,and we can't make it run on 2.2 ?
Done
finally got it to run.
i used the apktool to decompile the LiveWallpapers.apk from my Phone (Froyo)
and also decompiled the Eclair Version Mopral posted earlier in the thread.
As i compared the AndroidManifest.xml-files i saw that there were 2 entrys more in the eclair version that defined the water and the polar clock LiveWallpapers.
Simply changing the Manifest and building the apk didn't work.
First i had to get rid of the LiveWallpapers.odex file.
I used xultimate to deodex the LiveWallpapers.apk file (means it put the part of the odex-file into the apk as dex-directory again).
So i deodexed the apk, then decompiled it with apktool, changed the AndroidManifest.xml, compiled it again with the apktool.
Finally i had to sign the apk again so Android let me install it.
I used this tool for that: forum.xda-developers.com/showthread.php?t=473580
then i simply pushed the apk onto my phone and installed it.
After that i could pick water as well as the polar clock (which i find very ugly) and both work on my phone.
I hope it works on your phone too - don't forget to make backups! I take no responsibilty if it does not work for you.
sorry for not adding the urls to the tools - but as a new user i am not allowed to post links to outside pages... just google for apktool and xultimate in case you want to do it yourself.
Good detective work!
Don't blame me, blame my keyboard's autocorrection algorithm.
Wolkenfels said:
finally got it to run.
i used the apktool to decompile the LiveWallpapers.apk from my Phone (Froyo)
and also decompiled the Eclair Version Mopral posted earlier in the thread.
As i compared the AndroidManifest.xml-files i saw that there were 2 entrys more in the eclair version that defined the water and the polar clock LiveWallpapers.
Simply changing the Manifest and building the apk didn't work.
First i had to get rid of the LiveWallpapers.odex file.
I used xultimate to deodex the LiveWallpapers.apk file (means it put the part of the odex-file into the apk as dex-directory again).
So i deodexed the apk, then decompiled it with apktool, changed the AndroidManifest.xml, compiled it again with the apktool.
Finally i had to sign the apk again so Android let me install it.
I used this tool for that: forum.xda-developers.com/showthread.php?t=473580
then i simply pushed the apk onto my phone and installed it.
After that i could pick water as well as the polar clock (which i find very ugly) and both work on my phone.
I hope it works on your phone too - don't forget to make backups! I take no responsibilty if it does not work for you.
sorry for not adding the urls to the tools - but as a new user i am not allowed to post links to outside pages... just google for apktool and xultimate in case you want to do it yourself.
Click to expand...
Click to collapse
great work buddy.
Ok i have followed your guide. All credits to you. I have enabled the falling leaves live wallpaper and its working fine on my i9000 phone.
here is the link :---
http://www.mediafire.com/?31ndvryn56qmia8
Anyone who wants to use it , just replace this uploaded "LiveWallpaper.apk" with the one present in system/app/.
I haven't enabled the polar clock as its the crappiest live wallpaper i have ever seen.
Also remember that i have tested this on fully deodexed Docs Froyo ROM. I cant guaranty for other systems.
OP you can change the thread topic as "Solved" by "Wolkenfels".
Also provide this link in first post for others.
thanks for the link Nickporwal - i thought i had attached the file to my original post but must have done something wrong. Doh.
i have only this apk deodexed all others are untouched.
Cheers
Thank you both.
finally it work again ,tested on Spike Speedy Edition v3.0 OC.
a reboot is required before running WATER livewallpaper
Can somebody show how to do this in a video because i'm a newb @ this lol ?
thanks for this, I was missing this wallpaper. Stupid how they take it out.
nickporwal said:
Also remember that i have tested this on fully deodexed Docs Froyo ROM. I cant guaranty for other systems.
Click to expand...
Click to collapse
Works the LWP on JPO rom with speedmod kernel?
beat.kitano said:
Works the LWP on JPO rom with speedmod kernel?
Click to expand...
Click to collapse
LWP is just an application - i can see no reason why i shouldn't work with "speedmod".
Cheers
Wolkenfels

[CM7] Tweaks Guide and Transparent Theme

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 .

[WINDOWS] Rom Zip Modifier

Hi,
everytime I want to flash a new version of a rom I have to modify the zip file contents, i.e. delete some files etc, which is a very tedious process.
Thats why I created a little tool for Windows (requires .NET 3.5) that can do the following with a zip file of a rom:
- Delete files
- Add / Replace files
- extract .apk's, decompile them, modify (regex replace) inside text / xml files within, recompile them and put the updated version back into the rom zip.
The tool is still beta, so there could be many errors if you don't use it correctly... always make a copy of the rom zip before using this tool on it
The included apktool (for decompile/recompile of apk) requires JRE 1.6 and only works for Android Jellybean roms / framework-res.apk's - but I think you could just use another apktool version for different Android versions.
Included in the package is a sample configuration that is basically exactly what I am using. Of course you can change what files to add, delete and modify. Also there is a screenshot attached so you can see what it looks like - as you can see you need to have some basic knowledge of how android rom stuff works, I don't think this is useful to total noobs, sorry.
If you have any problems / suggestions feel free to write here.
I hope this is useful to someone
Regards
Abomb
Changelog:
1.0: Inital release
1.1: Some error checking, not all errors will be caught but at least some basic ones.
1.2: Files to delete and apk's to modify can now be selected from the zip file via file browser
1.3: Log during modify operation and bugfixes
1.4: More bugfixes, plus the settings are now stored in the image of a cat
This looks like it could be useful. Thanks for sharing.
Great!!! easy to edit a rom for me
Thx, great job.
New version 1.1 with some error checking released.
Version 1.3 released with the following changes:
- Files to delete and apk's to modify can now be selected from the zip file via file browser
- Log during modify operation and bugfixes
Last version don't work with last nightly CM10 and Jellybro when trying to modify Navbar DPI.
ZipTest Error.
Sorry for bad English.
DeadMetaler said:
Last version don't work with last nightly CM10 and Jellybro when trying to modify Navbar DPI.
ZipTest Error.
Sorry for bad English.
Click to expand...
Click to collapse
Yeah I noticed, the problem seems to be thatthe zip file contains some folders like "a" and "A" - which is no Problemon Linux, Android etc, but does not work under Windows I haven't found any solution yet, but I'll try to find a fix for it.

[TEST] Android 5.0 deodexed system G900FXXU1BNL2

This is deodexed system part of G900FXXU1BNL2 ROM.
It's for chiefs and devs only and cannot be flashed directly.
Because i don't have S5 device, i cannot test it by myself. So, i'm asking qualified devs with S5 to try to make ROM based on this package and make a report if it can boot or even work.
Some important notes:
1) Because almost all APKs were originally odexed, all of them were required deodexing and then signing. So, original signatures are lost. I've used standard android development test certificate. Usually it's ok for system APK which never update from Play Store (only through ROM updates).
Thus, probably some APKs won't work correctly. You can delete such APK and replace it with one from Google Play store. Btw, Play Store is also resigned and may be won't work with Google servers (need to check).
Also, all resigned APKs won't be able to update in Play Store - so you need to replace such APKs with those from Play Store as well.
2) Following APKs i wasn't able to deodex without errors and not include in package:
Maps.apk
Music2.apk
DocumentService.apk
3) In Android 5.0 APKs having library, they are placed in lib folder of APK sub-folder. While deodexing, i've put these libs inside APKs. Probably, you need to extract these libs and put them all into /system/lib (same as all pre-5.0 ROMs).
4) I've placed APKs similar to pre-5.0 way (not every apk in its own folder). I hope it will work this way. If device won't be able to boot, then place them as in original system structure.
Those, who can build the ROM, please test it and tell me about result.
https://mega.co.nz/#!A4kynJpR!pobkpLuFBAUnhtnUwgJSa2KfT6S8apqWwYD5Asb83DU
Update 1:
- contains only modified parts of system, i.e.: only framework, app, priv-app dirs.
- app and priv-app dirs now have correct structure: each apk in its own dir and lib sub-dir.
- not re-signed, i.e. all apks contain original Samsung or Google certificate
- oops, i've forgot to delete Maps.apk, Music2.apk and DocumetService.apk - they were deodexed with errors and most likely won't work.
https://mega.co.nz/#!1l1BlSza!QN1fNyrU7qtwBu6xqkBRH85h3rL81Rvlc-JZv1OtMeE
Nice build
Sadly im just a normal rom builder with knowledge on v4.4 and below, idunno on v5.0 have to learn it to make good roms out of it
Procedures with 5.0 should be the same. The only difference i've found is placing apks in separate subfolder. I think, it required only for pre-odexed ROMs. So, just need to make an usual ROM, same as 4.4 and then check if it work.
sorg said:
Procedures with 5.0 should be the same. The only difference i've found is placing apks in separate subfolder. I think, it required only for pre-odexed ROMs. So, just need to make an usual ROM, same as 4.4 and then check if it work.
Click to expand...
Click to collapse
Very good than ill give it a try when home
But im not an advanced dev sadly dont expect much [emoji14]
I've tested it out, by putting all your deodexed apk's in their folders of my odexed XtreStoLite 2.0 TW Lollipop BETA ROM (and removed the 'arm' folders), also extracted out the lib files from your apk files, and put them in the 'lib' folder.
And replaced mine framework folder with your deodexed one...
But the phone doesn't boot up then.
So your deodexed files are probably not working.
edgarf28 said:
I've tested it out, by putting all your deodexed apk's in their folders of my odexed XtreStoLite 2.0 TW Lollipop BETA ROM (and removed the 'arm' folders), also extracted out the lib files from your apk files, and put them in the 'lib' folder.
And replaced mine framework folder with your deodexed one...
But the phone doesn't boot up then.
So your deodexed files are probably not working.
Click to expand...
Click to collapse
No log?
edgarf28 said:
I've tested it out, by putting all your deodexed apk's in their folders of my odexed XtreStoLite 2.0 TW Lollipop BETA ROM (and removed the 'arm' folders), also extracted out the lib files from your apk files, and put them in the 'lib' folder.
And replaced mine framework folder with your deodexed one...
But the phone doesn't boot up then.
So your deodexed files are probably not working.
Click to expand...
Click to collapse
logcat would be helpful.
Also you can try it step by step. At first, use odexed framework, and my deodexed APKs in subfolders (use my framework.apk and twframework.apk for certificate match).
Then try to put deodexed APKs into common folder (like 4.4 ROM).
If either of above will work, then try to replace the framework jar files.
It's not exactly because of wrong deodexing. May be you need to keep /arm/boot.* files in order to pass initial boot. And then may be OS will re-create new boot.
So, need to try different combination and look what you get in logcat. May be 5.0 requires some additional steps for deodexed ROMs.
Btw, after extracting libs, don't delete them from APKs.
Just checked CM12 ROM structure:
1) copy each APK in its separate folder (same as stock 5.0 ROM).
2) extract lib to separate lib folder (same as stock 5.0 ROM)
3) all arm folders should be deleted (including framework/arm)
http://www.xda-developers.com/android/deodex-lollipop-system-apps-with-ease/ ???
I've tried to replace some apps by deodexed singly (e.g. SamsungCamera3, SecMms_Candy, TeleService), of course with deleted corresponding arm folder
Unfortunately, none of them work (even completely unmodified), only FC ...
_alexndr said:
I've tried to replace some apps by deodexed singly (e.g. SamsungCamera3, SecMms_Candy, TeleService), of course with deleted corresponding arm folder
Unfortunately, none of them work (even completely unmodified), only FC ...
Click to expand...
Click to collapse
can you provide logcat? FC may be related to incompatible certificate.
sorg said:
can you provide logcat? FC may be related to incompatible certificate.
Click to expand...
Click to collapse
See attachment... logcat while I'm trying to run deodexed SamsungCamera3
_alexndr said:
See attachment... logcat while I'm trying to run deodexed SamsungCamera3
Click to expand...
Click to collapse
I don't see anything about SamsungCamera3 in logcat... If you get FC, then at least FC reason should be shown in logcat.
If it fc post the dumpstate_app_error.txt.gz from data/log rather than taking a log. Guaranteed to include all info
sorg said:
I don't see anything about SamsungCamera3 in logcat... If you get FC, then at least FC reason should be shown in logcat.
Click to expand...
Click to collapse
My mistake. I have not looked at sending and uploaded incomplete file. Now it should be ok
Goldie said:
If it fc post the dumpstate_app_error.txt.gz from data/log rather than taking a log. Guaranteed to include all info
Click to expand...
Click to collapse
This file is also attached
Assuming this permission is in manifest to start with it looks like some issue with actually reading the manifest?
12-12 09:09:30.688 6530 6530 E AndroidRuntime: Caused by: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
Goldie said:
Assuming this permission is in manifest to start with it looks like some issue with actually reading the manifest?
12-12 09:09:30.688 6530 6530 E AndroidRuntime: Caused by: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
Click to expand...
Click to collapse
While deodexing i didn't touch neither resources nor manifest, only injected dex then signed and then aligned. Probably, because re-signed apk uses different certificate (obviously, i don't have Samsung's private key), OS denies some system level access.
Usually, when i create custom ROM i resign all APKs which use Samsung certificate - thus all system APKs share the same signature and everything works.
Why do you resign all samsung apks? System apps do not require signing unless manifest is changed. Is this something you have always done?
Disabling signature checking may fix this then I guess or not resigning in the first place
Goldie said:
Why do you resign all samsung apks? System apps do not require signing unless manifest is changed. Is this something you have always done?
Disabling signature checking may fix this then I guess or not resigning in the first place
Click to expand...
Click to collapse
No problem, i will update pack with updated structure without resigning.
In my custom ROM i do many changes, sometimes including manifest change and adding additional system APKs imported from other devices or written by myself.
sorg said:
While deodexing i didn't touch neither resources nor manifest, only injected dex then signed and then aligned. Probably, because re-signed apk uses different certificate (obviously, i don't have Samsung's private key), OS denies some system level access.
Click to expand...
Click to collapse
Goldie said:
Why do you resign all samsung apks? System apps do not require signing unless manifest is changed. Is this something you have always done?
Disabling signature checking may fix this then I guess or not resigning in the first place
Click to expand...
Click to collapse
And... this was the cause :laugh:
I've put classes.dex from @sorg 's apk to original SamsungCamera3.apk and it works as deodexed !!!!!!
I will try to baksmali, then modify the code and smali again

Group effort to get Theme Center running on Tab S2 & S3

I've also posted this in a thread of the Tab S3 forums, as the stock nougat rom for both is so similar.
Progress so far is that Galaxy Themes installs and runs, but won't download and apply the themes from the store. Next up I'd need to trawl though the logs and see if there are any clues. If anyone has some spare time and wants to help out, I've attached the needed files to this post. Put the Galaxy Themes and ThemeCenter folders in /system/priv-app (set permissions if needed) and change your devices model number to SM-G935F or another theme-supported device in build.prop then reboot.
Attached files are from a deodexed S7 rom.
Screenshots:
1. Themes now appears in settings
2. Theme store
3. Theme downloading
4. Install failed
Grand idea. But side loading themes only works with *root* access, aye?
This my results from from Marshmallow (https://forum.xda-developers.com/tab-s2/themes-apps/theme-store-marshmallow-t3394157), im using same method in Nougat firmware, but the results was same. I think it because the Framework things (?) And, the themes itself does not support Tablet resolution (Maybe?) Because, in my results only partial theme aspect is installed (Fonts, wallpaper, etc) and, if you trying to install other theme aspect (ui colors, overlays, etc) manually from extracted theme assets file, you will get "Application Not Installed". Hope you can find a way out! ?
if you trying to install other theme aspect (ui colors, overlays, etc) manually from extracted theme assets file, you will get "Application Not Installed".
Click to expand...
Click to collapse
Some package(s) are missing, I'd say. Anyhow, if you are rooted you could simply edit the UI to alter colors etc.
I have managed to somehow apply a theme partially!? I can apply icons and wallpaper part of the latest olympic theme, like I said somehow and I used apk editor pro from playstore to edit and install apk's.
---------- Post added at 05:46 AM ---------- Previous post was at 05:42 AM ----------
Also managed to install my Note 8 theme store once and it had the new layout that included AOD with Icons Themes and Wallpapers. But it asked to update when I opened galaxy apps and after it updated it reverted to the same theme store you provided.
This is my Tab S2 sm-t815y.
How u got themes?
I had root and cut and paste Samsung theme.apk and Samsung Theme centre.apk into system privapp as well as changed the device ID to S8 using buildprop editor. Then rebooted and had theme store running but not completely.
MathewSmart said:
I had root and cut and paste Samsung theme.apk and Samsung Theme centre.apk into system privapp as well as changed the device ID to S8 using buildprop editor. Then rebooted and had theme store running but not completely.
Click to expand...
Click to collapse
To have full theme store work you need (the problem is SystemUI.apk)
• ThemeStore and ThemeCenter framework. (your tablet already have it,copy paste the 2 files ,framework support themes....you are ok)
• The new TouchWizHome Launcher from TW Marshmallow,Nougat (your tablet already have it ....you are ok)
• A modded S.7,8,9 SystemUI (You need a SystemUI.apk from Samsung S7 or S8,S9,Note 5,Note7 ported for your tablet ,your SystemUI.apk NOT support themes, )
• A modded build.prop to allow Theme Store to work (it's simple to change name ....you are ok)
Don't copy SystemUI.apk from other phone !! ..You will have bootloop
alex22280 said:
To have full theme store work you need (the problem is SystemUI.apk)
Click to expand...
Click to collapse
Nope.... the issue is entire system.... all apk has no support for themes.... it ts still all hardcoded in styles, so overlay theming will never work(well maybe for few items only), the only way is old theming;
that means de/recompile needed apks.... long story just for few and immense work...
Enjoy

Categories

Resources