Streak5 Mix-N-Match Script for Gingerbread ROMS
All works are the property of their respective owners. Please PM me if you would like to be included or removed.
Similar to StreakDroid advanced installer, create /sdcard/theme.txt
Options are as follows:
#Orientation -Choose 1 or none
portrait
landscape
#Bootanimations -Choose 1 or none
bios
ics-bootanimation
greenandroid
honeybee3d
duke-bootanimation
stargate
decepticon
hcxoom
starwars
spiderman
avengers
androidfire
stock
gs244boot
dsc61boot
dsc61portraitboot
#Dialers -Choose 1 or none
ics-blackdialer
ics-whitedialer
gb-stockdialer
dialer-gingertrue
dialer-mattedblue
#Themes -Choose 1 or none
theme-bluecircles-borijess
theme-blueHC-borijess
theme-green-nick
theme-ics-tenorntex
theme-red-lordmorphous
theme-touchofics-nick
theme-mattedblue-2bad4u
theme-gingertrue-wway
theme-gingertruelight-wway
theme-stock-gs244
#Settings.apk -Choose 1 or none
settingscolor
settingsbw
#Misc Apps -Choose none, any, or all
hcdeskclock
icsbrowser
mms-mattedblue
noswype
#Experimental
debloat
Click to expand...
Click to collapse
Choose zero or one from each category. Mix and Match as desired.
So an example 'theme.txt' that would install the portrait lock, duke nukem bootanimation, white phone mod, tenorntex's ICS theme, and the black and white settings menu would be:
Code:
portrait
duke-bootanimation
ics-whitedialer
theme-ics-tenorntex
settingsbw
Download AdvThemeInstaller-v3.zip <--194MB
MD5 Checksum = 95cdcaa6299913cef2b0396015682be6
Click to expand...
Click to collapse
Advanced Theme Mix-N-Match Installer
CREDITS
# Kang-o-rama Advanced Installer Script
# Version 2.0
# By djmcnz
#
# Ported By DJ_Steve For StreakDroid
# Modded By @NickShertzer for Advanced Theme Installer
Click to expand...
Click to collapse
[v3] New and Updated items highlighted in RED
noswype - Removes built in Swype so you can install the beta (thanks DJSteve)
portrait - flashes DSC 0.6b android.policy.jar (Thanks TheManii)
landscape - flashes DSC 0.6b android.policy.jar (can this be confirmed to work on all GB ROMs?)
#Bootanimations
bios - [Boot Animation] BIOS GingerStreak 2.4.4 by djscopesofm
ics-bootanimation - ICS bootanimation from Galaxy Nexus ported by me
greenandroid - Android Particle Ring (GB GREEN) by aph
honeybee3d - http://www.droid-life.com/2011/03/21/download-honeycomb-bee-3d-boot-animation/
duke-bootanimation - http://forum.xda-developers.com/showthread.php?t=1233077
hcxoom - http://forum.xda-developers.com/showthread.php?t=967927
starwars - my bootanimation from http://forum.xda-developers.com/showthread.php?t=1187300
spiderman - my bootanimation ported from http://www.droidforums.net/forum/droid-themes/104010-my-boot-animations-boot-logos.html
avengers - my bootanimation http://forum.xda-developers.com/showthread.php?t=1230049
androidfire - http://www.rasdroid.com/boot-animation/android-custom-boot-animation-android-is-on-fire/
stargate - [Boot Animation] Stargate for Dell Streak by Strephon Alkhalikoi
decepticon - Dell Streak Decepticon Boot Animation by tenorntex
stock - From DSC 0.6b
gs244boot - From StreakDroid GingerStreak 2.4.4
*new* dsc61boot - Dell Streak Club custom bootanimation in DSC v0.61b by _n0p_
*new* dsc61portraitboot - _n0p_ custom bootanimation rotated for portrait as found in wway's GingerTrueLight theme
#Dialers
ics-blackdialer - from Touch of ICS v10
ics-whitedialer - from Touch of ICS v7
gb-stockdialer
*new* dialer-gingertrue - wway dialer from GingerTrue theme
*new* dialer-mattedblue - _2bad4u_ MattedBlue dialer theme
#Themes
theme-bluecircles-borijess | http://forum.xda-developers.com/showpost.php?p=18457550&postcount=96
theme-blueHC-borijess | http://forum.xda-developers.com/showpost.php?p=17267965&postcount=21
theme-green-nick | http://www.flickr.com/photos/nickshertzer/sets/72157627446476425/
*v7 medium* theme-ics-tenorntex | http://forum.xda-developers.com/showthread.php?t=1340939
theme-red-lordmorphous | http://forum.xda-developers.com/showthread.php?t=1334721
*v10* theme-touchofics-nick | http://forum.xda-developers.com/showthread.php?p=19490443
*new* theme-mattedblue-2bad4u - http://forum.xda-developers.com/showthread.php?t=1367772
*new* theme-gingertrue-wway - http://forum.xda-developers.com/showthread.php?t=1314898
*new* theme-gingertruelight-wway - http://forum.xda-developers.com/showthread.php?t=1314898
*new* theme-stock-gs244 - Stock theme from StreakDroid Gingerstreak 2.4.4
#Settings.apk
settingscolor - The StreakDroid GingerStreak 2.4.4 settings.apk (with color icons)
settingsbw - The stock 406 settings.apk
#Misc Apps
hcdeskclock - thanks to chrisrotolo http://forum.xda-developers.com/showthread.php?t=1185269
icsbrowser - black themed browser from http://forum.xda-developers.com/showthread.php?t=1340939
*new* mms-mattedblue - Black themed mms as found in _2bad4u_ Matted Blue Theme
The "debloat" option basically removes anything a ROM dev has put in /system/app making it impossible to uninstall/update while boot into the OS. Make sure you have a launcher other than just Stage or Zeam, as they will be removed. These apps are all available from the Android Market.
The code:
Code:
rm -f /system/app/Equalizer.apk
rm -f /system/app/FileExpert.apk
rm -f /system/app/SmartVolume.apk
rm -f /system/app/Superdim.apk
rm -f /system/app/SystemPanelLite.apk
rm -f /system/app/WiFiReassociate.apk
rm -f /system/app/Zeam.apk
rm -f /system/app/ASTRO.apk
rm -f /system/app/com.facebook.katana.apk
rm -f /system/app/com.twitter.android.apk
rm -f /system/app/Facebook.apk
rm -f /system/app/NeroDellSync.apk
rm -f /system/app/Twitter.apk
rm -f /system/app/StreakRadio.apk
rm -f /system/app/StreakLight.apk
rm -f /system/app/Q.apk
rm -f /system/app/NeroDellSync.apk
rm -f /system/app/MiuiMusic.apk
rm -f /system/app/MirenBrowser.apk
rm -f /system/app/Microbes.apk
rm -f /system/app/radiotime.apk
rm -f /system/app/SIMManager.apk
rm -f /system/app/slackerradio.apk
rm -f /system/app/TAT-LWP-Mod-Aurora.apk
rm -f /system/app/TAT-LWP-Mod-BlueSea.apk
rm -f /system/app/TAT-LWP-Mod-Luminescence.apk
rm -f /system/app/BooksStageWidget-release.apk
rm -f /system/app/ContactsStageWidget-release.apk
rm -f /system/app/EmailStageWidget-release.apk
rm -f /system/app/HomeStageWidget-release.apk
rm -f /system/app/MusicStageWidget-release.apk
rm -f /system/app/PicturesStageWidget-release.apk
rm -f /system/app/RadioStageWidget-release.apk
rm -f /system/app/SocialStageWidget-release.apk
rm -f /system/app/StageLauncher-release.apk
rm -f /system/app/VideoStageWidget-release.apk
rm -f /system/app/WebStageWidget-release.apk
thank you. I will test it tomorrow because my battery is flat and the charger is at work..
suggestion
#MISC
debloat - perhaps a list of what you consider bloat and what's removed?
what is "bloat" varies a lot from user to user.
-------------------------------------------------------------------------
Looks like it will be a great tool.
What roms will it compatible with?
Thanks for the continued work.
marvin02 said:
#MISC
debloat - perhaps a list of what you consider bloat and what's removed?
what is "bloat" varies a lot from user to user.
-------------------------------------------------------------------------
Looks like it will be a great tool.
What roms will it compatible with?
Thanks for the continued work.
Click to expand...
Click to collapse
Gingerbread only. But should work OK all gb roms.
Will post the debloat details tonight. In fact I plan to post details regarding each option.
I already fixed an issue with installer script download link may need replication time.
Looks good so far, I will gladly help out if needed. Just let me know.
I'm not sure you should be removing libffmpeg.so as that's included in stock roms, I have no idea what actually uses it, but it's there for a reason. Same with libmms and libdec, the rest arnt original though.
It's pretty much just those 3.
It might be a good idea to use a different filename so it doesnt conflict with SD's installer, you're not expected to run it that often under normal use.
The debloat option is simply a script, it should work on any 2.2/2.3 rom (techinally also 1.6./2.1, but none of those are valid for roms that old)
Not all those were made by you right? You have permission from all their respective authors correct?
libffmpeg prob is helpful audio/video decoding, would liekly keep that one myself. How about an sample install.txt so nobody gets confused.
It's from Kang o Rama AFAIK
Proper attribution is kept within the script
But I'll go ahead and tweet dmonsterprod and see where he got it originally.
As far as the lib stuff, I think I'll go ahead and remove it. <-- it is leftover from DJ_Steve's kor script
TheManii - does the android.policy.jar for DSC also work on StreakDroid for portrait / landscape lock?
I dont know, all i can say is I made a port mod for SD 2.4.3+, if dsc is based on 2.4.3+ it should be compatable.
Pretty much every GB rom is descended from SD 2.4, but it's still a lot more complicated then stock 3xx roms.
As for the credit stuff, I ment the actual themes and stuff, KOR i'd imagine is just give proper credit on runtime. I really dont know offhand who made each one of those theme pieces, so it's an honest question
thanks for giving credit a lot of people would've just chucked it in without a even acknowledging anyone's work..
TheManii said:
I dont know, all i can say is I made a port mod for SD 2.4.3+, if dsc is based on 2.4.3+ it should be compatable.
Pretty much every GB rom is descended from SD 2.4, but it's still a lot more complicated then stock 3xx roms.
As for the credit stuff, I ment the actual themes and stuff, KOR i'd imagine is just give proper credit on runtime. I really dont know offhand who made each one of those theme pieces, so it's an honest question
Click to expand...
Click to collapse
Yes, it is a bit complicated figuring out where EVERYTHING came from. Especially considering so much is just a port to the Streak from another device. Maybe I should just say all works are the property of their respective owners. Please PM me if you would like to be included or removed.
Wow, this looks like a lot of work! Great idea. You have definitely kicked it up a notch.
I find that most of the rom developers keep the roms very bland and prefer to do all of the tinkering "under the hood". A good theme can be just as important as a good rom.
Can't wait to try it when I can get back to Gingerbread. I am waiting for a replacement replacement Streak from Dell (long story)...
Sent from my Dell Streak using Tapatalk
Holy crap! It works!
I just successfully flashed portrait and bootanim and clock theme in one go! Pop open root explorer, edit '/sdcard/theme.txt', and flash back to landscape.
Uploading soon.
::edit::
It may be getting too late for me to continue troubleshooting this. The portrait and landscape mods are working, but the bootanimations are not? Chris's HCDeskClock did copy over, but not GS244 Settings.apk? I must have fat fingered some lines in the korinstaller script.
Another day...
settingsbw is not working on GingerStreak 2.4.4
I have sampled two boot animations without any problems. Spiderman and duke nuke.
I'll keep testing.
pjg_pigeon said:
I have sampled two boot animations without any problems. Spiderman and duke nuke.
I'll keep testing.
Click to expand...
Click to collapse
please, try to set settingsbw
I just peeked at the kor installer script and see that I forgot to introduce the settingsbw and settingscolor variable at the beginning. v2 forthcoming.
...oh! And figured out why I was having trouble last night. I set up ICSBrowser to rm -rf /system/media/bootanimation.zip and not /system/app/browser.apk! LOL! copy and paste fail...
Now if only I could figure out why my updater-script fails every time I put in a sweet ass dragon...
Doe Mr nothing installed
Sent from my HTC Explorer A310e using XDA App
there is still a bug with settingsbw. nothing happend
Related
== Modded SpareParts for Android 2.2 ==
As no one seems more than that interrested into this, I'll not maintain this thread.
SpareParts Mod sources are still on github.
I'll now one integrate this to Settings into my ROM.
THIS THREAD IS FOR DEV
Hi,
I'm the cooker of LeoFroYo, a Android 2.2 ROM.
In that ROM I started modding the basic SpareParts from AOSP 2.1-update1.
Quite some people enjoyed it.
So here I am, releasing my sources to get it vastly improved by all devs and to get it included by all the ROMs that would like to.
I know Java for... like 2 weeks.
So my code needs to be improved and more flexible for the other ROM cookers.
I'm developing this only for Google Nexus One - but feel free to port.
Special thanks to imfloflo for help and support, djmcnz for ideas and advices and jlevy73 for betatesting (not the only one, but mostly).
== Source code ==
@github: http://github.com/leonnib4/development_apps_SpareParts
# aptitude install git-core
$ cd && git clone git://github.com/leonnib4/development_apps_SpareParts.git
To compile it, you will need the Android source and copy my repo:
# aptitude install git-core gnupg sun-java5-bin sun-java5-jre sun-java5-jdk sun-java5-demo flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev bison
Alternatively you can get java5 here: http://android.shk-desktop.com/java5/
$ curl http://android.git.kernel.org/repo ~/bin/repo
$ chmod a+x ~/bin/repo
$ cd && mkdir android && cd android
$ repo init-u git://android.git.kernel.org/platform/manifest.git -b eclair
$ repo sync
This will take time... and download something like 2.4GB.
$ rm -rf developement/apps/SpareParts
$ mv ~/development_apps_SpareParts developement/apps/SpareParts
$ make SpareParts && adb install -r out/target/product/generic/system/app/SpareParts.apk && adb logcat
== Readme ==
This is meant to be included by who ever would like to.
But please respect my work (on my free time as I'm also studient in a IT school):
- do not say this is only your work
- do not forget to give me credits
- respect my english (as I'm a young french) and my poor skills in Java (which is totally new to me)
You also might want to consider to buy me a beer
To adapt to your ROM:
1. Get the sources
-or-
2. Get apktool.
$ apktool d SpareParts.apk out/
Edit out/res/values/string.xml and out/res/xml/spare_parts.xml.
$ apktool b out
To not forget to sign the .apk!
== Downloads ==
old
http://github.com/leonnib4/development_apps_SpareParts
Addons & co. : http://android.shk-desktop.com/SpareParts/
new
Now integrated into Settings: http://github.com/leonnib4/packages_apps_Settings
New addons & co: http://android.shk-desktop.com/LeoParts/
http://android.shk-desktop.com/SpareParts/
== Features ==
from leonnib4
ROM infos
Name
Version
Build
Fingerprint
System version
Kernel
Radio
Check for update
Tweaks
Stock App2SD
Screen Timeout
UI sounds
Fix permissions
Quick commands
Reboot
Reboot recovery
Reboot bootloader
Remount RW
Remount RO
Addons
Bootanimation
Notification bar
Trackball Alert
Headset volume ctrl.
Trackball Wake
HTC_IME
Restore stock Launcher2
(Samsung) Galaxy LWPs
About
from Enomther
Data Storage Options
from Google
Original SpareParts as of AOSP 2.1-update1
== ToDo ==
Show progress bar % during download
Check if file exists in /data/local/tmp after download
Auto set defaults values (checks)
And I might need help for this.
== Legal ==
Bootanimation: stock or mine (from frysee
Notification bar: free
Trackball Alert (from lilHermit)
Headset volume ctrl: from t0ol
Trackball Wake: actually myLock, free from Market
HTC_IME: free
Launcher2: stock
So this adds trackball wake?
Good post.
Thanks for thanks.
I have a question cause i'm not totally sure about the addons section have you got all rights to use and share this software in your mod ?
And if you can add a little line of description for each futur it'll be the perfect MOD
Markdental said:
So this adds trackball wake?
Click to expand...
Click to collapse
This is not yet for all roms.
Work in progress.
And no for now my modded SpareParts installs myLock and set it to act like:
- double press unlock
- power button unlcok directly
Trackball Waker simply do NOT work for Android 2.2 for now
LEGAL
@imfloflo:
Bootanimation is stock or mine
Notification bar is free
Trackball Alert is OK (lilHermit)
Headset volume ctrl. is free from xda
Trackball Wake is myLock, free, from Market
HTC_IME is free
stock Launcher2: well, it's stock
Basicly it just download apk I pull from my device after installing from Market
except from RockDivxPlayer which I found on xda and RemVol (same).
Hope I'm not sharing things I should not...
PM me I'll remove IMMEDIATLY
[Mod edit:
Removed link due too divx player is in beta and xda has been notified not too post/insert into roms.
Click to expand...
Click to collapse
Done all is OK
thanks
imfloflo said:
[Mod] edit:
Removed link due too divx player is in beta and xda has been notified not too post/insert into roms.
Click to expand...
Click to collapse
Just saw that.
Actually, I removed them from my ROM just 10 minutes ago
EDIT:
I mean I removed from the website (mine) where they were and removed them from my 1.0.0 beta rom.
My SpareParts also gets uploaded to not include RockPlayer.
Perfect
when you said booanimation which one have you include in your mod ?
is it possible to have a folder in /sdcard/bootanimation where i can put many bootanimation.zip and choose which one i want to apply ?
Updated for Old a2sd method and dalvik-cache to sdcard
Requiered scripts are on my leofroyo repo.
this is very cool. i am going to give it a try
lpasq said:
this is very cool. i am going to give it a try
Click to expand...
Click to collapse
You already have it in your ROM, don't you?
Also, I do not maintain this thread because nobody seemed interrested
BUT sources are still on github for anyone willing to take a look
leonnib4 said:
You already have it in your ROM, don't you?
Also, I do not maintain this thread because nobody seemed interrested
BUT sources are still on github for anyone willing to take a look
Click to expand...
Click to collapse
i did use it in one of my "shameless kang-bang" roms. but that rom was nothing but a dsixda_android_kitchen cooked rom based on other's work. i think i just included your loeparts.apk with no real idea that some of the mods would need to be compiled in source for some features to work.
this time, i am looking at your leoparts' source and practicing two thing:
- i am working on doing more than just repo aosp and modding source by copying git commit code...now i'm slowly trying to get knowledge on how to incorporate a cloned git tree into my repo
- also, i'm reading your leoparts mods through to the source code to simply learn the structure of things and where the referenced mods resides in framework and such.
i missed that you closed the thread. sorry.
lpasq said:
i did use it in one of my "shameless kang-bang" roms. but that rom was nothing but a dsixda_android_kitchen cooked rom based on other's work. i think i just included your loeparts.apk with no real idea that some of the mods would need to be compiled in source for some features to work.
this time, i am looking at your leoparts' source and practicing two thing:
- i am working on doing more than just repo aosp and modding source by copying git commit code...now i'm slowly trying to get knowledge on how to incorporate a cloned git tree into my repo
- also, i'm reading your leoparts mods through to the source code to simply learn the structure of things and where the referenced mods resides in framework and such.
i missed that you closed the thread. sorry.
Click to expand...
Click to collapse
You mainly missed the fact that I distributed the APK in exchange for credits PLUS re-write of strings.xml to not use my repo.
By acting like that, this leads to people wanting to make closed-sources things.
Please read before copying APKs...
leonnib4 said:
You mainly missed the fact that I distributed the APK in exchange for credits PLUS re-write of strings.xml to not use my repo.
By acting like that, this leads to people wanting to make closed-sources things.
Please read before copying APKs...
Click to expand...
Click to collapse
i think i understand what you are saying and will PM to confirm.
No pb
Replied
Anyone can use this but please read readmes etc.
Free software does not mean anarchy software
Sent from my Full Android on Passion using XDA App
Hi, setting app2sd to Internal will install apps to internal memory?
Hi guys,
Since J001 I have used as lcd density 210 instead of 240. Now I have flashed J003 and forgot to change the lcd densitiy in the build.prop before flashing and recognized how much better the rom looks with 210, so I thought I should tell it to you.
J said anywhere that this lcd density will break some apps, but I weren't able to find any app that will be broken by using this lcd density instead of the normal one. So, could you try it please and report it back if you find any app that won't work/work right with this lcd density?
I'M NOT RESPONSIBLE IF YOU BREAK YOUR DEVICE OR DROP YOUR COFFE
Files:
Edited Build Prop Cm7.1 J002.zip
Edited Build Prop Cm7.1 J003.zip
back to original.zip
Cheers,
L
I don't know if it can be considered an app..but Arc launcher doesn't support different lcd density!!
is creating a new thread for this actually required?
in my opinion why dont u integrate all ur CM7 related threads into one "CM7 fixes / tweaks /etc" kinda thread? u can ask the mods for some help the can do such combining-thread-stuff...
it would be really helpful...
also there is an easier/more generic way to do this change in ANY build.prop:
just run this script (include it in update.zip) thru recovery:
Code:
#!/sbin/sh
# modify ro.sf.lcd_density=240
busybox sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=210/g' /system/build.prop
# modify qemu.sf.lcd_density=240
busybox sed -i 's/qemu.sf.lcd_density=240/qemu.sf.lcd_density=210/g' /system/build.prop
DooMLoRD said:
is creating a new thread for this actually required?
in my opinion why dont u integrate all ur CM7 related threads into one "CM7 fixes / tweaks /etc" kinda thread? u can ask the mods for some help the can do such combining-thread-stuff...
it would be really helpful...
also there is an easier/more generic way to do this change in ANY build.prop:
just run this script (include it in update.zip) thru recovery:
Code:
#!/sbin/sh
# modify ro.sf.lcd_density=240
busybox sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=210/g' /system/build.prop
# modify qemu.sf.lcd_density=240
busybox sed -i 's/qemu.sf.lcd_density=240/qemu.sf.lcd_density=210/g' /system/build.prop
Click to expand...
Click to collapse
simply copy your code into the updat-script?
9Lukas5 said:
simply copy your code into the updat-script?
Click to expand...
Click to collapse
no...
u will have to make a file (say "install_mod") in the root of the update.zip
and the update-script should be something like:
Code:
run_program PACKAGE:install_mod
now the contents of "install_mod" should be the ones i posted above...
u might have to also mount system before executing the script...
also do test it out... i am really tired today to sit and make these zips
will go to sleep now [not "deep sleep" ]
Delete
Sent from my X10 using XDA Premium App
hi, i hope i understand it right, with broken apps did you mean they didnt fit the screen?
i change always on any custom roms the lcd.density to 190, then some apps didnt fit the screen (some games or widgets)
to fix is easy with spare.parts
-open spare.parts
-navigate to spare.parts settings
-scroll down to compatibility mode
-uncheck and check again
-reboot
-after reboot
-again open spare.parts
-navigate to compatibility mode
-uncheck
-reboot
after that the apps they didnt fit the screen, works now fine
only problem is with stock dialer, numberfield is smaller, or arc launcher will not work with this trick
edit: here are example pictures(lcd 190), before and after the trick with spare.parts
you know you could just use the lcd density changer app...;o
Zocker Tko said:
hi, i hope i understand it right, with broken apps did you mean they didnt fit the screen?
i change always on any custom roms the lcd.density to 190, then some apps didnt fit the screen (some games or widgets)
to fix is easy with spare.parts
-open spare.parts
-navigate to spare.parts settings
-scroll down to compatibility mode
-uncheck and check again
-reboot
-after reboot
-again open spare.parts
-navigate to compatibility mode
-uncheck
-reboot
after that the apps they didnt fit the screen, works now fine
only problem is with stock dialer, numberfield is smaller, or arc launcher will not work with this trick
edit: here are example pictures(lcd 190), before and after the trick with spare.parts
Click to expand...
Click to collapse
Works fine, thanks.
Sent from my X10a using XDA App
I've been using 220 since CM6 first was released and I can't find any apps that don't work either
I have been using Thyrus' GingerThyparancy theme for quite awhile now. Unfortunately the 2.3.4 update is incompatible with the theme and Thyrus is no longer supporting this theme for the EVO3D. I'd like to take a shot at making this compatible with 2.3.4 but I am not sure what files need to be changed. Can someone with theming experience or knowledge of how to do this try and point me in the right direction? THanks in advance.
mlin said:
I have been using Thyrus' GingerThyparancy theme for quite awhile now. Unfortunately the 2.3.4 update is incompatible with the theme and Thyrus is no longer supporting this theme for the EVO3D. I'd like to take a shot at making this compatible with 2.3.4 but I am not sure what files need to be changed. Can someone with theming experience or knowledge of how to do this try and point me in the right direction? THanks in advance.
Click to expand...
Click to collapse
the files most commonly changed are:
--core framework
/system/framework/framework-res.apk
/system/framework/com.htc.resouces.apk
/system/app/systemui.apk
/system/app/googleservicesframework.apk
--clock / lock ring
/system/app/fusion.apk
--lock screen
/system/app/idlescreen_base.apk
--apps
/system/app/browser.apk
/system/app/htcdialer.apk
/system/app/phone.apk
/system/app/mms.apk
/system/app/vending.apk
--setup
/system/app/htcsetupwizard.apk
--keyboard
/system/app/htc_ime.apk
--libs (keyboard predictive text/spell check)
/system/lib/libcpt9.so
/system/lib/libcpt9provider.so
/system/lib/libt9.so
depending on the theme, you would do some of these, all of these, or all of these and then some more...
chad.goodman said:
the files most commonly changed are:
--core framework
/system/framework/framework-res.apk
/system/framework/com.htc.resouces.apk
/system/app/systemui.apk
/system/app/googleservicesframework.apk
--clock / lock ring
/system/app/fusion.apk
--lock screen
/system/app/idlescreen_base.apk
--apps
/system/app/browser.apk
/system/app/htcdialer.apk
/system/app/phone.apk
/system/app/mms.apk
/system/app/vending.apk
--setup
/system/app/htcsetupwizard.apk
--keyboard
/system/app/htc_ime.apk
--libs (keyboard predictive text/spell check)
/system/lib/libcpt9.so
/system/lib/libcpt9provider.so
/system/lib/libt9.so
depending on the theme, you would do some of these, all of these, or all of these and then some more...
Click to expand...
Click to collapse
Ok, thanks you. Within those files is it just a matter of renaming .pngs to match the image I want to replace or do I need to edit .xml files as well?
Icy Fusion ROM
Final: v2.3
~~The best ICS experience..on Gingerbread!~~ Fast and smooth! Crazy battery life!
klin1344 said:
Hi everyone,
I am sorry to say that I will be retiring this ROM. I will be receiving my HTC One S next week, and most of my development efforts will be focused over in those forums. I won't abandon the 4.0 completely, but this will be my last ROM for it, with no more future updates. I also feel that this ROM is pretty complete and definitely usable for a stable daily driver.
I want to thank the community who supported my development, and my ROMs have been a good learning experience for me. But too bad the galaxy players were never very popular with developers...
Anyways, hope you enjoyed my work here. Links will always be available.
Click to expand...
Click to collapse
As you probably all know, I have ditched Klassic and letting hanthesolo continue it. I was going to make a SGS2-styled ROM, but instead I chose a total ICS-styled ROM instead due to the popularity of Android 4.0. I will be maintaining this ROM in two builds--one based on G1UEKI8 (USA) and another based on XXKPQ (INTL). Using an INTL ROM on a US player, and a US ROM on an INTL player caused too many issues (bluetooth, home button, toggles, etc), so I have decided to do it this way for better integration and the best possible experience. As of now it is not very different from Klassic (or Stratus), but as I make new releases it will have more and more features. Also it will be flashable with CWM. Enjoy
Features:
v1 (6/18/12)
- complete ICS theme (even better themed than Klassic, just look at the screenshots)
- swapped internal USB storage and external SD card (see 3rd post on how to revert)
- Holo Launcher installed
- ICS transitions + Roboto Fonts
- ICS clock widget
- deodexed
- zipaligned
- smooth scrolling mod (a.k.a. disabled scrolling cache in framework)
- smooth spinners mod
- CRT screen off animation
- 14 statusbar toggles
- "Device ID" hack ~now apps like XDA, Whatsapp, Tap Tap Revenge, and any app that needs a unique device id will run and not force close~ (XXKPQ uses Meticulus' hack, G1UEKI8 uses a slightly different method, but still same result)
- advanced powermenu with reboot, recovery, and download
- Supercharged with V6 Supercharger
- my own init.d scripts (you can look at the notes in the "55tweaks" file to see what I put in there)
- improved battery life
- I/O performance enhancements
- better performance
- TerraSilent as the default CPU governor
- plus more
- fixed performance and freezing issues from Klassic R5 (note: this ROM is completely made from scratch from stock, not based on Klassic or another ROM)
- fixed bluetooth issues from Klassic R5
- loads of build.prop tweaks
- debloated (I will attach the apps that I removed if you still want them)
- latest SU Binary 3.0.3.2
- BusyBox 1.20.1
- RFS filesystem ---> /system doesn't need to be on EXT4 because you are not constantly writing data on it
Click to expand...
Click to collapse
v1.1 (6/19/12)
- more init.d scripts for unbeatable battery life and performance
- loopy smoothness script
- sysctl tweaks for speed
- added SuperSU
- fixed the busybox symlink problems in v1
- released the INTL build
- busybox 1.19.3
- updated theme (look at screenshots)
Click to expand...
Click to collapse
v2.0 (6/21/12)
- disabled zCache by default --> to enable, go in 55tweaks and delete the '#' in front of "insmod /lib/modules/zcache.ko"
- implemented swipe to remove notifications
- added CRT screen ON animation
- improved touch responsiveness
- disabled start up sounds
- set an ICS wallpaper as default
- added 5 new ICS wallpapers in Wallpaper Gallery
- Galaxy Nexus bootanimation
- improved the implementation of the device id hack
Click to expand...
Click to collapse
v2.1 (6/23/12)
- FIXED BLUETOOTH!! and still Supercharged
- more battery life tweaks
- more performance and responsiveness tweaks
- fixed powermenu "Reboot Download"
- added TouchWiz 4.0 modified by me
- GT-I9000 Settings.apk (more options)
- completely re-designed Settings.apk
- ICS themed + added HoloLauncher Settings (see screenshots)
- "IcyFusion ROM" selection in Settings is a shortcut to device status
- succesfully smali'ed out (removed) "Call Settings" from the Settings.apk
- updated Holo Launcher to v1.0.5
- updated SuperSU to v0.92
- now /system is on EXT4
- ODIN package until CWM /data issues are sorted out
Click to expand...
Click to collapse
v2.2 (6/24/12)
- used stock Settings.apk, but still designed the same as v2.1
- fixed the setup wizard loop
- cleaned up init.d scripts
- added a lot more init.d speed tweaks
- added DSP Manager apk + libs
- added Zeam Launcher
Click to expand...
Click to collapse
v2.3 (6/26/12)
- optimized EXT4 mounts in init.d scripts (fast i/o performance; I got 2300 in Quadrant with only stock 1Ghz)
- added transparent background theme --> see post 3 on how to change the background picture
- optimized auto brightness levels for battery life
- stock sd card and internal storage mounts
- improved ICS theme
- Youtube HD apk
- fixed DSP Manager, and now every feature works
Click to expand...
Click to collapse
Downloads
*Simply flash in CWM*
*v2.1 & up flash with ODIN*
wipe data if you are have issues
USA/INTL:
v1: http://d-h.st/wWE
v1.1: http://d-h.st/jyP
v2.0: http://d-h.st/jGF
v2.1: http://d-h.st/W0I
v2.2: http://d-h.st/WYB
v2.3: http://d-h.st/mPa
INTL
v1: none; look for v1.1
v1.1: http://d-h.st/ILv
v2.0: none
INTL users please try the US version and post here if there are issues
Sorry, I will have to drop support for INTL players because it is too difficult to keep flashing, modding, and testing both builds of the ROM. I understand that 2.3.5 caused a reboot issue on INTL players when the headphones are plugged in. If somebody could please post a logcat, and I will try and see what I can do to fix the issue. Thanks.
Special thanks to:
Dark_Balor for improving the kernel for our device
zeppelinrox for his V6 SuperCharger
Meticulus for his Device ID hack for 2.3.6
Vertumus for some parts of his ICS Domination Theme
dsixda for his kitchen
And many others I probably forgot to mention
ScreenShots
Extras and add-ons
Extras and Add-ons
Here I will attach some miscellaneous add-ons for my ROM.
How to manually wipe and format data into EXT4
1. Boot into CWM recovery. Make sure you are using the latest TerraSilent kernel.
2. Type 'adb shell' in command prompt or Terminal.
3. Type the following code:
Code:
umount /data
umount /dbdata
umount /cache
Then:
Code:
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/mmcblk0p2
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/stl10
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/stl11
4. Reboot. Or you can follow below on how to disable EXT4 journaling (don't reboot), which GREATLY improves i/o performance. Note that every time you boot into recovery, /data get wiped into RFS again due to a CWM bug. I suggest that you do not boot into recovery again after rebooting unless you really need to.
To disable EXT4 journaling
1. Make sure you have flashed my ROM, as it includes some tools for this procedure.
2. Unmount the partitions if they aren't already:
Code:
umount /data
umount /cache
umount /dbdata
4. Follow:
Code:
tune2fs -O ^has_journal /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/stl10
tune2fs -O ^has_journal /dev/block/stl11
5. You're done! Now you can reboot, and see the massive jump in Quadrant, especially if you're using ROM v2.3 and up.
How to change the background wallpaper theme
For v2.3, I've enabled the use of a custom wallpaper theme, which will show up in many apps. If you don't like the picture I used, you can replace it yourself with these very simple instructions.
1. Copy the /system/framework/framework-res.apk from your player.
2. Using an archiver, like winzip or 7zip, open the apk.
3. Find any 480x800 png image that you like, and name it screen_background_dark_transparent.png
4. Drag it into the res/drawable-hdpi/ folder of the apk. It will replace the original one in there.
5. Copy framework-res.apk back, and make sure to set permissions rw-r--r--. Reboot.
Extras
- Stock vold.fstab (for stock usb storage and sd card mounts): http://d-h.st/FKL
This is how to install
Code:
cd [B]*directory of the file*[/B]
adb remount
adb push vold.fstab /system/etc
Or simply just copy/paste with root explorer and reboot.
reserved again
It looks nice. I have 1 suggestion. It is possible to put the SGSII lockscreen into it? It would be perfect! (for me though I don't know for the others)
zaclimon said:
It looks nice. I have 1 suggestion. Is it possible to put the SGSII lockscreen into it. It would be perfect! (for me though I don't know for the others)
Click to expand...
Click to collapse
I could try, and maybe upload a framework-res specifically for people who want an SGS2 lockscreen.
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
So..for now I will only be supporting US devices until someone can either help me get rid of this error or at least help me find another INTL ROM that I can base my work off of.
Nice! It seems we are branching off, you to theming and features, I to raw performance . Just from one dev to another, did you fix bluetooth by unullifying? Also, how did you get framework-res to successfuly recompile without FC's? I tried doing it, and it basically blew up my Gplayer. Maybe using a apk decompiler is not the way to go...Argh, I hate windows, I never have these issues in Ubuntu...
Finally, where did you find his deviceid hack? when I got to his thread he had nuked all of his work...sad that someone would try and rip off his hundreds of hours of work.
hanthesolo said:
Nice! It seems we are branching off, you to theming and features, I to raw performance . Just from one dev to another, did you fix bluetooth by unullifying? Also, how did you get framework-res to successfuly recompile without FC's? I tried doing it, and it basically blew up my Gplayer. Maybe using a apk decompiler is not the way to go...Argh, I hate windows, I never have these issues in Ubuntu...
Finally, where did you find his deviceid hack? when I got to his thread he had nuked all of his work...sad that someone would try and rip off his hundreds of hours of work.
Click to expand...
Click to collapse
I use apkmanager to modify my apks if I'm on windows, but if I just happen to be using Linux and I'm too lazy to reboot I use apktool (which requires more work though). For the device id hack, it was a method in framework.jar. Copying and pasting that method from Meticulus's worked for 2.3.6, but would cause a bootloop on 2.3.5 US. So I looked at the logcat and used a modified version of this: http://forum.xda-developers.com/showthread.php?t=955847 for my deviceid hack.
I hate editing smali though...it's so difficult to understand.
klin1344 said:
I use apkmanager to modify my apks if I'm on windows, but if I just happen to be using Linux and I'm too lazy to reboot I use apktool (which requires more work though). For the device id hack, it was a method in framework.jar. Copying and pasting that method from Meticulus's worked for 2.3.6, but would cause a bootloop on 2.3.5 US. So I looked at the logcat and used a modified version of this: http://forum.xda-developers.com/showthread.php?t=955847 for my deviceid hack.
I hate editing smali though...it's so difficult to understand.
Click to expand...
Click to collapse
Thanks! I used apk manager, but it still did not work without fc....maybe i will try a different tool (for some reason it will not recognize adb or aapt in ubuntu even though I can run the commands from the terminal.
It seems we have competing roms now...may the best dev win.
Sent from my Galaxy Player Running my Stratusrom.
hanthesolo said:
Thanks! I used apk manager, but it still did not work without fc....maybe i will try a different tool (for some reason it will not recognize adb or aapt in ubuntu even though I can run the commands from the terminal.
It seems we have competing roms now...may the best dev win.
Sent from my Galaxy Player Running my Stratusrom.
Click to expand...
Click to collapse
Ummm...don't forget that your work is still based off of my work
Editing smali and the framework for new features (powermenu, toggles, etc) is the real ROM work...hehe
Besides, I'm not here to compete; I just want to share my work.
Point taken, I just wanted some friendly competition, it helps to make work go faster.
But, I would like to see you spend 3 hours fixing init.d scripts, and tweaking sysctl for best ram usage.
My point is, we are both skilled in completely different areas. I am better at some things, and You blow past me in others. It just comes down to the users preference.
klin1344 said:
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
So..for now I will only be supporting US devices until someone can either help me get rid of this error or at least help me find another INTL ROM that I can base my work off of.
Click to expand...
Click to collapse
Ugh..I just found out that it is the same with G1UEKI8 as well.
I flashed my factoryfs.rfs version and busybox worked, so I will upload the factoryfs in an Odin package tomorrow. From now on the roms will have to be flashed through Odin until I can find a fix.
Sent using Tapatalk
klin1344 said:
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
Click to expand...
Click to collapse
I have that same issue on my device (different rom). Busybox works fine; the issue is that somehow the symlinks got corrupted (hence the not found and weird characters). I fixed it (post-install) by deleting the broken files and recreating the symlinks in /system/xbin. You might want to check your updater-script or the 'install-busybox.sh' file the kitchen creates.
Sent from my 5.0 USA GenGin + ICS theme
Flash Tool for this ROM
Which flashing utility/method do you recommend for this ROM?
Thanks!
Mevordel said:
I have that same issue on my device (different rom). Busybox works fine; the issue is that somehow the symlinks got corrupted (hence the not found and weird characters). I fixed it (post-install) by deleting the broken files and recreating the symlinks in /system/xbin. You might want to check your updater-script or the 'install-busybox.sh' file the kitchen creates.
Sent from my 5.0 USA GenGin + ICS theme
Click to expand...
Click to collapse
Thank you. So all I have to do is just recreate the symlinks in /system/xbin? I didn't think it would be that easy
Sent using Tapatalk
If we did all that ext4 foo foo should we go back to stock before flashing?
rozelle25 said:
If we did all that ext4 foo foo should we go back to stock before flashing?
Click to expand...
Click to collapse
No need to. It will still work fine with ext4 partitions.
Sent using Tapatalk
What you need to do is make a list of all of the files in /system/xbin that are there after flashing but aren't in your working folder's system/xbin. Those are the (broken) symlinks created by the installbusybox.sh script at the root of your zip. You need to put a symlink command in your updater-script for each of those (referring to the lines already there), and then you can delete the installbusybox.sh script and the updater-script lines referring to it.
Sent from my 5.0 USA GenGin + ICS theme
Everytime I try to turn on Wifi it says error and bluetooth still doesnt work... besides that everything seems to be working fine is there a reason why my wifi wont start?
This thread is less about what apps you use but more about what you added to perfect your favourite custom ROM experience.
Please post your favourite custom ROM and how you enhanced it.
With the Purity ROM I add the following:
Trinity Ten (4.2/4.3) Kernel
Although I do not use the app myself, Trinity Ten has a specific app to tweak the settings "Trinity Kernel Toolbox"
Here's a quote on the recommended settings, suggested by an experience Trinity kernel tweaker:
"I suggest using 1.2 Ghz max CPU and letting the 620 Mhz OC of the GPU do the work. I also like SIO and a 512MB read ahead and Interactive governor. ...you should find the 1.2 CPU to be just as snappy in general use as 1.7 GHz. It will also play videos etc just as well and stop the CPU hitting 1.7 for no reason. Stops thermal throttling in games..."
Compliment Purity's expanded desktop option "Status Bar visible" with:
LMT Launcher to provide a PIE menu
Smart Statusbar+ with "Auto Popup Filter" set to "On" to provide an auto hide statusbar
Take the Nexus 10's speaker audio to a whole new level with ViPER4Android Audio Effects FX:
I originally tried ViPER4Android to resolve a lack of bass from my ear buds but tripped across its ability to enhance the Nexus 10 speaker audio. The app not only adds gain (volume) but widens the L/R stereo field and ambience. I was so pleased with this discovery that I almost never use my ear buds unless its absolutely required (e.g. at work). I did not find that Purity's included DSP Manager could do what ViPER4Android can accomplish.
With v2.3.1.1 of Viper4Android I use these settings:
When installing the driver for the first time I selected the highest quality option. Despite the warning message I haven't noticed any negative impact on performance. This is likely due to the overall power of the Nexus 10.
Under the "Phone Speaker" tab:
Master Power->V4A-SpeakerFX is powered on (checked)
EXTRA LOUD->Enable eXtra-Loud is enabled (checked)
EXTRA LOUD->Select Effect Strength (slight)
Compliment Purity's "Dark UI" setting with:
Slim Aroma's selectable Gapps to choose only the Google apps you want to use and their "Black themed" variants
Team Blackout for "Black themed" versions of common Android apps (e.g. FlipBoard) not included in Slim Aroma's selectable Gapps zip
Privoxy filtering proxy to automatically "Black theme" most web pages by inverting any white backgrounds with black text leaving the images untouched
Universal init.d to auto start various apps/daemons at boot time
Busybox crond (included with Purity ROM) for cronjob job scheduling
Here's a link to a cron Job Generator. It makes life easier for those not familiar with cron
OBackup - Nandroid backup GUI to Online Nandroid / Nandroid Backup without re-booting into recovery[CWM + TWRP + 4EXT]
Installing OBackup adds a GUI to backups settings, auto installation of Online Nandroid, a backup schedule, backup retention limits with auto delete and optional uploading to Dropbox, Google Drive, or any FTP
If you do not use OBackup then make sure you also flash partition detection tool as its required on the Nexus 10 to avoid "/boot" being skipped during backups Google Nexus 10 Download
FolderSync to automate cloud and CIFS folder/file synchronization
Invaluable when used to automate off device storage of your Titanium Backup folder and/or onandroid backups
GMD Gesture Control for custom gestures reducing steps to launch apps and/or trigger specific actions.
Although LMT includes gestures controls I have not confirmed if anyone has the feature working on a Nexus 10
GMD also includes a more versatile dock than Nova Launcher (e.g. ability to add Script Manager (SManager) script launch widgets, 5 docks with 5 positions)
USB OTG Helper (Full NTFS support, FAT, Ext2/3/4 if kernel supports them and exFAT support [ See FAQ to enable])
Note: after applying a Purity ROM update I needed to:
Open the ViPER4Android Audio Effects FX app and re-install the ViPER4 driver
Start the Universal init.d app
Run the "Test of ROM supported init.d" then reboot
- This step recreates a symlink to a "/etc/init.d" directory from "/system/etc/init.d"
After the reboot turn the "Universal init.d" option ON
Re-copy your boot scripts to the "/etc/init.d" directory
Reboot one more time
I hope you find this thread informative and encourages others to enhance their install whether you have rooted stock or using one of the many excellent custom ROMs.
OmniROM + Shuttle Music Player + Xposed/GravityBox Module = Perfection
This is a good idea for a thread. I use most of those apps and mods myself, 3DSammy, and its a good overview of what's out there. I think it's great info for those newer to the android world to get some solid ideas and feedback on making the most out of the great ROMs we have here. :good:
Agreed. I'd never heard of Viper before and, good lord, what a difference! I didn't think my studio headphones could sound any better, but, boy, was I wrong. I've been listening to music and smiling since. Thanks!
Sent from my Nexus 4
This is a good idea but I think it should be moved to general section.
Sent from my Nexus 10 using xda app-developers app
abdel12345 said:
This is a good idea but I think it should be moved to general section.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
As so many apps were mentioned I thought this was the best section. In general it will likely get lost. In general if a moderator wants to move it I am not adverse to the idea.
bruce7373 said:
Agreed. I'd never heard of Viper before and, good lord, what a difference! I didn't think my studio headphones could sound any better, but, boy, was I wrong. I've been listening to music and smiling since. Thanks!
Sent from my Nexus 4
Click to expand...
Click to collapse
Of all the items on the list for me Viper4Android has the most daily impact. It also works as well on rooted stock. The developer encourages ROM Devs to add it to their ROMs. In fact there is a list of ROMs that have done so.
3DSammy said:
Of all the items on the list for me Viper4Android has the most daily impact. It also works as well on rooted stock. The developer encourages ROM Devs to add it to their ROMs. In fact there is a list of ROMs that have done so.
Click to expand...
Click to collapse
Thanks. Is the list in the Viper thread?
Sent from my Nexus 4
bruce7373 said:
Thanks. Is the list in the Viper thread?
Sent from my Nexus 4
Click to expand...
Click to collapse
Sorry, I was mistaken about the list. I went back to the thread and could not find it, Post #5 has a link for ROM makers on including ViPER4Android but I followed that to their web site and did not find a list there either.
At least we can easily add it ourselves.
Flash: AOKP, Gapps, FrancoKernel, SuperSU and a volume button switch
Apps: Titanium Pro (of course), Viper (love it), Skifta (for DLNA), Stickmount (for USB OTG with Meenova & 64G SDXC), MX Player, MovieTube (love my movies), Screen Settings (for auto adjust resolution with HDMI output), Mod YouTube
These are the main ones on my N10.
SmokinCharger said:
Flash: AOKP, Gapps, FrancoKernel, SuperSU and a volume button switch
Apps: Titanium Pro (of course), Viper (love it), Skifta (for DLNA), Stickmount (for USB OTG with Meenova & 64G SDXC), MX Player, MovieTube (love my movies), Screen Settings (for auto adjust resolution with HDMI output), Mod YouTube
These are the main ones on my N10.
Click to expand...
Click to collapse
Thanks, SmokinCharger for your contribution. I totally forgot to add my favourity alternative to Stickmount, "USB OTG Helper (Full NTFS support, FAT, Ext2/3/4 if kernel supports them and exFAT support [ See FAQ to enable])". It supports more R/W access to more file formats than Stickmount.
I'll also try some of your other suggestions. Thanks again.
I've been meaning to write this up for a while now. These items aren't so much UI tweaks directly, they're more about getting a ROM setup the way I like it before the first boot.
The below shows how I "cleanup" a ROM after installing. I don't like having system apps I never use installed. I know I can delete them with other apps, however, I like to have them uninstalled before I even start the ROM. You'll notice that I delete A LOT of apps. No side effects so far!
###############
ROM Management: Let me start with how I install a new ROM or update an existing.
###############
- Download all necessary ROMs, Gapps, Kernel, SuperSU into one directory. I use "/sdcard/_Backup" so the folder is at the top when using TWRP/CWM
- Reboot into TWRP recovery
- Wipe caches for ROM update | Wipe caches, system for new ROM in same family (eg, CM, AOKP) | Factory Reset for new ROM outside of family or 4.3 to 4.4
- I add a prefix to all ROMs, that way I remember which order to flash them. Example:
+ 01_ROM
+ 02_Gapps
+ 02a_Gapps-Photosphere
+ 03_Kernel
+ 99_SuperSU
- I use TWRP, flashing the above at the same time
- Once flashed, I clean caches again
- Back to TWRP home and mount /system
- Now I'm going to run a shell script I created to "setup" my ROM. The script is called fix.sh, and is contained in the spoiler section below
+ The script does:
* Remounts /system
* Copies over the last /etc/hosts to a backup location
* Creates init.d directory if not there and copies scripts over. The only script I have is to copy/backup the kmsg file
* Change the LCD density to be smaller
* Deletes app data (NOT THE APP) for apps that have problems switching ROMs, even in the same family
* Deletes system apps that I don't use. PLEASE REVIEW THE LIST AND CHANGE TO YOUR LIKING
***** README - If you are using this script after a Factory Reset, make sure you don't delete the default launcher. Example - I only use Nova, so I delete Trebuchet. If I were to Factory Reset, run the script, I would not have Nova (yet) and not have Trebuchet. The ROM would boot, but you would not get past the setup screen. Ask me how I know If you mess up, just flash the ROM again and skip running the script *****
- Run the script
+ Go into Advanced and pick Terminal Command, picking where I've put the fix.sh script, in this case, /sdcard/_Backup
+ At the command prompt, type:
sh ./fix.sh
+ This will run the script, you might see errors and I've not added in any fancy error checking
- Go back to TWRP home, then Advanced, then Fix Permissions. Sometimes this fails for me, so I run it again it'll work.
- Reboot and enjoy your clean ROM!!!
Here is my full script for fix.sh with extra comments. Save this as a script (.sh) in your /sdcard:
Code:
#!/system/bin/sh
# Mount /system rw
busybox mount -o remount,rw /system
# Assign variables to common directories
ei=/system/etc/init.d
tw=/sdcard/_Backup/Tweaks
sa=/system/app
# Base adblocking hosts file (Need Adblock, Adaway, or similar installed)
cp $tw/hosts /system/etc
# Copy bootanimation from backup location
cp $tw/bootanimations/bootanimation-GooglePlay.zip /system/media/bootanimation.zip
chmod 755 /system/media/bootanimation.zip
# Setup init.d
mkdir $ei
chmod 755 $ei
#Copy over useful scripts
cp $tw/02log $ei
chmod 755 $ei/02log
# Change LCD density
#ro.sf.lcd_density=268
sed -i 's/ro\.sf\.lcd_density\=320/ro\.sf\.lcd_density\=268/' /system/build.prop
# Remove data for problematic apps
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
rm -rf /data/data/com.android.deskclock/*
rm -rf /data/data/com.tmobile.thememanager/*
rm -rf /data/data/com.google.android.gallery3d/*
# Remove unwanted apps
rm $sa/Accuweather*.apk
rm $sa/Apollo.apk
rm $sa/BlueBalls.apk
rm $sa/Books*.apk
rm $sa/CMFileManager.apk
rm $sa/Calendar*.apk
rm $sa/CalendarProvider.apk
rm $sa/CellBroadcastReceiver*.apk
rm $sa/Chromecast.apk
rm $sa/CMFileManager.apk
rm $sa/CMWallpapers.apk
rm $sa/Currents*.apk
rm $sa/DashClock.apk
rm $sa/DSPManager.apk
rm $sa/Email.apk
rm $sa/Email2.apk
rm $sa/Exchange2.apk
rm $sa/Focal.apk
rm $sa/Galaxy4.apk
rm $sa/Games.apk
rm $sa/GenieWidget.apk
rm $sa/GooManager.apk
rm $sa/GoogleCalendarSyncAdapter.apk
rm $sa/GooglePlus*.apk
rm $sa/GoogleTTS*.apk
rm $sa/Hangouts*.apk
rm $sa/HoloSpiralWallpaper.apk
rm $sa/Keep*.apk
rm $sa/LatinIME*.apk
rm $sa/Launcher2*.apk
rm $sa/LiveWallpapers.apk
rm $sa/LockClock.apk
rm $sa/Magazines*.apk
rm $sa/MagicSmokeWallpapers.apk
rm $sa/Microbes.apk
rm $sa/mGerrit.apk
rm $sa/MusicFX.apk
rm $sa/NoiseField.apk
rm $sa/PhaseBeam.apk
rm $sa/Phone.apk
rm $sa/PicoTts*.apk
rm $sa/PinyinIME.apk
rm $sa/PlayGames.apk
rm $sa/PlusOne*.apk
rm $sa/PurityWallpapers.apk
rm $sa/QuickSearchBox.apk
rm $sa/ReVoltLauncher.apk
rm $sa/RingsExtended.apk
rm $sa/SamsungWeather_WidgetClock.apk
rm $sa/SecLauncher2.apk
rm $sa/SecWallpaperChooser.apk
rm $sa/Sun*eam.apk
rm $sa/StreetView.apk
rm $sa/SwagPapers.apk
rm $sa/Talk.apk
rm $sa/Talkback.apk
rm $sa/talkback.apk
rm $sa/TalkBack.apk
rm $sa/TelephonyProvider.apk
rm $sa/Trebuchet.apk
rm $sa/Torch*.apk
rm $sa/UnicornPorn.apk
rm $sa/Videos.apk
rm $sa/VisualizationWallpapers.apk
rm $sa/VoiceDialer.apk
rm $sa/VoicePlus.apk
rm $sa/VoiceSearchStub.apk
rm $sa/YouTube.apk
rm $sa/Wallet.apk
rm $sa/Wallpapers.apk
rm $sa/WallpaperZ.apk
# Set /system to ro
busybox mount -o remount,ro /system
Edit - poor wording
@sttovo, great write-up, definitely a keeper. The majority of those apks I end up freezing anyway.
A few questions:
--what exactly is the ROM update cache; how is that different than the regular cache & dalvik cache?
--I normally use BaNkS minimal GAPPS, so some of your deleted apks I wouldn't have; if I don't remove them from the script will I run into error troubles?
--you're changing LCD density to 320, correct? Just personal preference?
Thanks.
Sent from my Nexus 4
bruce7373 said:
@sttovo, great write-up, definitely a keeper. The majority of those apks I end up freezing anyway.
A few questions:
--what exactly is the ROM update cache; how is that different than the regular cache & dalvik cache?
--I normally use BaNkS minimal GAPPS, so some of your deleted apks I wouldn't have; if I don't remove them from the script will I run into error troubles?
--you're changing LCD density to 320, correct? Just personal preference?
Thanks.
Sent from my Nexus 4
Click to expand...
Click to collapse
Thanks for the kind words!
- ROM update cache… sorry for the poor wording, it means that if I'm only updating a ROM (eg, new nightly), I only wipe cache before flashing (and afterwards, I'm anal). Both cache and Davlik cache.
- if you don't remove the "rm… " for an apk, it will get deleted!! Please do not just use the script as-is. You can remove the line for apks you want to keep, or put a comment in front of the "rm… " line using a hash #
- I'm changing from 320 (default) to 268 (trial and error getting some apps to fit the screen the way I like it). Lower numbers will make everything smaller on screen. Totally personal preference.
I don't freeze apps b/c sometimes I'll see them running even though I froze them. Ticks me off
sttovo said:
I've been meaning to write this up for a while now. These items aren't so much UI tweaks directly, they're more about getting a ROM setup the way I like it before the first boot. ...
Click to expand...
Click to collapse
Wow super post! I need to add this to my bag of tricks. Right now I work off text notes to manually do some of what you accomplish via script.
I wonder if there is a way to run your script using a flashable zip? In that way it could be the last flashed file in a chain of flash files. Tomorrow I was going to look into an app called "Auto Flasher ROM flash utility. The description is "Auto Flasher lets you flash several ROM files (kernels, tweaks, themes, mods etc..) automatically, based on file name patterns without having you to dig through your recovery for files in different folders".
I could see value in automating these combined steps:
Perform an ondroid backup (nandroid backup)
Trigger "AutoFlasher" to install one or more flash file in recovery
Include your script as the last flashed file
I'm probably dreaming but it would be nice.
Thanks for your post and for keeping the thread alive.
3DSammy said:
Wow super post! I need to add this to my bag of tricks. Right now I work off text notes to manually do some of what you accomplish via script.
I wonder if there is a way to run your script using a flashable zip? In that way it could be the last flashed file in a chain of flash files. Tomorrow I was going to look into an app called "Auto Flasher ROM flash utility. The description is "Auto Flasher lets you flash several ROM files (kernels, tweaks, themes, mods etc..) automatically, based on file name patterns without having you to dig through your recovery for files in different folders".
I could see value in automating these combined steps:
Perform an ondroid backup (nandroid backup)
Trigger "AutoFlasher" to install one or more flash file in recovery
Include your script as the last flashed file
I'm probably dreaming but it would be nice.
Thanks for your post and for keeping the thread alive.
Click to expand...
Click to collapse
Thanks!
You're not dreaming! There is a flashable zip that does some of what my script does. It deletes regular apps and system apps:
http://forum.xda-developers.com/showthread.php?t=2437778
I've not used it personally, I was happy with my scripts, so I didn't bother. But for those aren't comfortable scripting, this would do it. Also, it doesn't do the app data clean, init.d setup, and hosts backup.
---------- Post added at 02:19 PM ---------- Previous post was at 01:49 PM ----------
i'll add one more tweak. I like to see the full month, day, time on my statusbar. Not all ROMs support this, I use Carbon, which does.
The format is:
EEEE, MMMM dd, yyyy -
Go into Carbon Settings - Statusbar - Clock:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit like so:
Will look like this:
Edit: After further review it looks like the tutorial's META-INF.rar file is device specific. Further investigation is required to see if the information can be generalized. I'll problably look at your sugggestion first.
sttovo said:
... You're not dreaming! There is a flashable zip that does some of what my script does. ...
Click to expand...
Click to collapse
Considering what we were discussing yesterday, it kind of provokes an "all you have to do is ask" comment. See this thread that is being featured on XDA today. "How To Make a Debloat Script & Complete List Of System Apps". That tutorial includes creation of a flashable zip.
So much to play with and not enough time
3DSammy said:
Edit: After further review it looks like the tutorial's META-INF.rar file is device specific. Further investigation is required to see if the information can be generalized. I'll problably look at your sugggestion first.
Considering what we were discussing yesterday, it kind of provokes an "all you have to do is ask" comment. See this thread that is being featured on XDA today. "How To Make a Debloat Script & Complete List Of System Apps". That tutorial includes creation of a flashable zip.
So much to play with and not enough time
Click to expand...
Click to collapse
I'm so doing this. The only issue I can think of is how easy this will be to change as new system apps arrive. I edit my script about once a month, maybe I'll see if I can make it import a script file.
##########
## EDIT ###
##########
I got it to work with all my script had in it. I moved the system apk delete stuff into the updater-script as shown in the instructions. But I also found a reference to where external scripts could be called in the updater-script.
Edit-2... Seems like my fix.sh script isn't running completely, only some of the commands ran. Strange... will investigate more.
So - my updater-script looks like this:
Code:
ui_print("");
ui_print("Mounting Filesystems");
ui_print("");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("");
ui_print("Removing System Applications");
ui_print("");
delete("/system/app/Apollo.apk");
delete("/system/app/BlueBalls.apk");
### I REMOVED A BUNCH FOR CLARITY ###
delete("/system/app/Wallpapers.apk");
delete("/system/app/WallpaperZ.apk");
ui_print("");
ui_print("Running Clean Script");
ui_print("");
package_extract_file("fix.sh", "/tmp/fix.sh");
run_program("/tmp/fix.sh");
ui_print("");
ui_print("Clearing Cache");
ui_print("");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
ui_print("");
ui_print("Unmounting Filesystems");
ui_print("");
run_program("/sbin/busybox", "unmount", "/data");
run_program("/sbin/busybox", "unmount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
I put my "fix.sh" script in the root of the zip and packaged. These 2 lines execute the script:
package_extract_file("fix.sh", "/tmp/fix.sh");
run_program("/tmp/fix.sh");
My "fix.sh" script is now just this:
Code:
#!/system/bin/sh
# Assign variables to common directories
ei=/system/etc/init.d
tw=/sdcard/_Backup/Tweaks
sa=/system/app
# Base adblocking hosts file (Need Adblock, Adaway, or similar installed)
cp $tw/hosts /system/etc
# Copy bootanimation from backup location
cp $tw/bootanimations/bootanimation-GooglePlay.zip /system/media/bootanimation.zip
chmod 755 /system/media/bootanimation.zip
# Setup init.d
mkdir $ei
chmod 755 $ei
#Copy over useful scripts
cp $tw/02log $ei
chmod 755 $ei/02log
# Change LCD density
#ro.sf.lcd_density=268
sed -i 's/ro\.sf\.lcd_density\=320/ro\.sf\.lcd_density\=268/' /system/build.prop
# Remove data for problematic apps
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
rm -rf /data/data/com.android.deskclock/*
rm -rf /data/data/com.tmobile.thememanager/*
rm -rf /data/data/com.google.android.gallery3d/*
I could move the "rm -rf /data/data*" statements into the updater-script, but wasn't sure how much it would delete.
I've uploaded my whole flashable zip if you want to start from that.
THANKS @3DSammy FOR SHARING !!!
sttovo said:
... I could move the "rm -rf /data/data*" statements into the updater-script, but wasn't sure how much it would delete. ...
Click to expand...
Click to collapse
I've spent a little time checking this all out and stumbled across an "Edify Script Language Reference (updater-script)".
One command that may interest you may eliminate the need for those seperate "rm -rf" commands. See:
delete_recursive(file1,...,fileN) #delete files or folders recursively returns a count of files or folders deleted
OP: If you aren't using Trinity's. Toolbox to control the kernel settings...what are you using?
Brand new N10 user here and I'm trying to squeeze every ounce of battery life out of this due to my long flights.
Franco hasn't released his kernel yet so I'm exploring other options in the interim. Thanks
---------- Post added at 10:42 AM ---------- Previous post was at 10:42 AM ----------
OP: If you aren't using Trinity's. Toolbox to control the kernel settings...what are you using?
Brand new N10 user here and I'm trying to squeeze every ounce of battery life out of this due to my long flights.
Franco hasn't released his kernel yet so I'm exploring other options in the interim. Thanks