Stock RAM management with default kernel - Samsung Galaxy S8 Questions and Answers

Hello all,
I'm on custom ROM with a custom kernel too and I'm facing lag issue due to how kernel is managing SWAP and RAM memory.
I don't really want to revert back to stock ROM so could someone tell me what are the values for stock kernel concerning memory management (need to have Root) ?
This is what you only need to do :
- Install MTweaks : https://github.com/morogoku/MTweaks-KernelAdiutorMOD/releases
- Allow root access then go to "Low memory killer" section, take a screenshot/tell me every values
- Lastly go to "Virtual memory", screenshot
Thank you for taking time for me

Related

[ROM][GPL] xtrROM5.0.1 odex,cache2cache,apps2sd,jit,lwp,oc[3/29/2011]

Version 5.x of xtrROM builds on the heritage and continues the evolution of this fast reliable feature rich ROM that you as the user can customize to enhance your Droid Eris Android experience! This ROM has a very Vanilla feel but is based on the core HTC framework to offer the best relibility possible in a custom ROM. I am reliant on my phone at work so stability and consistent quality of user experience are the top priorities for xtrROM. If you like the HTC Sense experience then be sure to check out xtrSENSE and if you would like a "pure" Vanilla 2.1 AOSP experience then be sure to try VanillaASOP.
{
"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"
}
Base xtrROM Features:
All the goodness of Android 2.1 with Root access and Superuser permissions
A very Android ASOP Vanilla feel from removing HTC "bloat"; while embracing reliable HTC sync and app coordination
Fully odex to save as much "usable" internal space as possible and provide faster boot times
Over clock support - default to 710400
Many reliable "hacked" tweaks such as: Collin_ph battery tweak, some Flash support, OpenGLES 1.1, new Android Market, wired tether, etc...
Included opensource GScript app allows you to easily turn on/off core ROM settings (CPU OC, Apps2sd, Cache2sd, JIT, etc...) with one-click
Live wallpapers as a separate module you can enable
Full Cache2cache support (see details below) - better use of the /data/ and /cache/ file blocks which opens up unused internal storage allowing you to install close to 100 apps without using Apps2sd!
Apps2sd support (see instructions below)
Customized theme including wallpapers, phone dialer, keyboard, bootanimation, and other small touches...
Lean and very crisp running ROM - it almost "feels" lighter in your hand!
Designed to be a stable everyday ROM
Check out the change log to see the full evolution and details
Credits and General Public License (GPL):
HTC kernel source: http://member.america.htc.com/download/RomCode/Source_and_Binaries/desirec_2.6.29_8a03cb9a.tar.bz2
Zanfur OC kernel support – source: http://forum.xda-developers.com/showthread.php?t=679102
GScripts source: http://code.google.com/p/gscript-android/source/checkout
Wired tether source: http://code.google.com/p/android-wired-tether/source/checkout
Built from the July Verizon 2.37.605.4 Eris code base
bertoch for hosting and helping me understand Linux
dsixda for his time saving kitchen – source: http://forum.xda-developers.com/showthread.php?t=633246
gr0gmint on how to make jit (mostly) work with HTC ROMs – source: http://forum.xda-developers.com/showthread.php?t=684535
ChainsDD for Superuser – source: http://forum.xda-developers.com/showthread.php?t=682828
vash8806 for Flash 10 source: http://forum.xda-developers.com/showpost.php?p=7316925&postcount=46
synaptyc for custom boot animation - source:http://forum.xda-developers.com/showthread.php?t=768513
rogro82 for starting GScript - source: http://forum.xda-developers.com/showthread.php?t=486486
nfinitefx45 from the Hero CDMA forum on his companion work with cache2cache
thenestor on help with the DroidXIME keyboard
firestrife23 for helping me understand permission issues with the init.d process
Damageless and TrevE for a model on how to do apps2sd (originally based on tkirton's Darktremor A2SD work) and other boot settings
t2noob on the July patch
Collin_ph for the battery tweak code – source: http://forum.xda-developers.com/showthread.php?t=737352
dearmasfamily for OpenGLES1.1 - source: http://forum.xda-developers.com/showthread.php?t=915058
xda member beta testers (you ROCK)
other xda members for tips and tricks
Download xtrROM5.0.1: http://zach.xtr.i6ix.com/xtrROM5.0.1.zip
MD5 checksum:1e5482eb3fc8486182151c5fad01a253
Default ROM Configuration:
You do not need to run any scripts unless you would like to change the following default configuration:
Live Wallpapers: Not supported (you must run GSript to enable)
dalvik.vm.heapsize: 24m
min free memory values: "balanced" (1536,2048,4096,10240,12800,38400)
CPU Overclocked: Min-245760 Max-710400
CPU Governor: Ondemand
Just In Time Compiler (JIT): Off
Cache Location: Cache2cache On
Apps2sd: Off
User service and battery tweak: Off
Thanks to Canop you can flash other Kernel options from the links below:
BFS - http://forum.xda-developers.com/showthread.php?t=772053
CFS - http://forum.xda-developers.com/showthread.php?t=774211
Get older versions of xtrROM in the change log
OPTIONS AND CONTROLS:
Stock Battery Icon
If you prefer the stock battery icon over the circle battery then flash the below zip.
Make sure to wipe dalvik-cache AFTER flashing this zip
Stock battary Icon: http://zach.xtr.i6ix.com/xtrStockBattery.zip
Live Wallpapers
Live Wallpapers is a feature you can enable for this ROM. I have included my favorite for you to try and you can get others from the Market. Many of the live wallpapers from the market DO NOT function well on our Eris or do not "stick" after reboot, our hardware is underpowered for most and I also find them to be a battery drain. That said I still run a few at times because they are just COOL !
To enable live wallpaper functionality just run the appropriate GScript.
Android ASOP Keyboard and Themed Dialer
This ROM uses a custom themed Android ASOP keyboard as the default keyboard and I have themed the phone dialer to match. If you prefer the standard HTC style keyboard check out jonasl HTC_IME mod keyboard – source: http://forum.xda-developers.com/showthread.php?t=624416. Or if you would like the stock setup download and flash the below .zip file.
Stock keyboard and dialer: http://zach.xtr.i6ix.com/xtrStockKeys.zip
LOOKS LIKE THIS DOES NOT WORK FOR XTRROM5.0 ONLY OLDER VERSIONS - I'LL UPDATE SOON FOR XTRROM5.0...
Clear HTC Lockscreen
It is my personal favorite and since I make the ROM I get to pick . To update the lockscreen go to the Photos app - select the photo you want - select the Set as option - and then select lockscreen.
To get back to the clear lockscreen just run the set_lockscreen_clear.sh GScript and reboot your phone.
GScript
I have compiled and incorporated the opensource GScript app to load and one-click run user settings.
To setup your GScripts complete the following steps:
1. After opening GScript press the menu button and select "Add script"
2. A new window will open.
3. Press the Load file button
4. Select a script from the list (each is obviously named as to its function)
5. Ensure Needs SU? is checked
6. Now select "Save" and you have added your script
7. To run just select it from the list in the main GScript screen
8. Some scripts may prompt you to reboot the phone for the change to take effect.
There are a lot of scripts but remember your phone has been setup great by default with this ROM and if you do not understand the function or purpose of a GScript then best to not save and run it . One can always search this forum and ask others about all the fun things you can now do with your phone! I will look to add a list of each GScript and its function as time allows...
Wired Tether
For wired tether to work you must make sure that your computer has the appropriate RNDIS drivers. Learn how to do this at the android-wired-tether Wiki.
Per roirraW "edor" ehT:
The wiki incorrectly states, or implies, that Windows 7 includes the RNDIS support. Or at least, they imply that Windows 7 includes the RNDIS driver necessary. I can confirm that neither Windows 7 x86 or x64 works with tethering out of the box. The instructions for XP users are correct and also work for Windows 7. Just download HTCSync for your device (Eris) and install it, and it'll install the correct driver.
Flash Support
A hacked version of Flash 10.1.123 is baked into this ROM however it has proven to be hit and miss and preforms more like a flash "lite"... Full flash sites such as Halo do not work however many others do; they may just take a while as the Eris is not a powerful phone
Performance Improvements:
Free Internal Memory and Dalvik-cache heapsize - I have update default user settings to allow a larger dalvik heapsize of 24mb (think more space for apps to play) AND optimized how memory is freed up using Androids internal task killer.
Default min memory free: “balanced” (1536, 2048, 4096, 10240, 12800, 38400)
Default dalvik vm heapsize: 24m (48m with JIT on)
To change dalvik vm heapsize or min memory free settings you can just run the appropriate GScript.
If you would like to further modify the default min memory free settings then download Autokiller or MinFreeManager, these apps will allow you to set and monitor the min memory free values. For more information on Androids “internal task killer” and min memory free values go here.
default Overclock Settings - the ROMs kernel supports overclocking and as part of the custom sysinit process I have added scripts that automatically set the below CPU clock settings when the phone boots:
Min: 245760
Max: 710400
I have included a few GScripts to change between stock cpu settings and default overclock settings without using a market app . You can also run the report_cpu_freq script from GScript to get a printout of which frequencies and time in each you phone has been operating.
To change CPU overclock settings just run the appropriate GScript.
If you would like to further modify OC settings then download SetCPU or Overclock Widget, these apps will allow you to set and monitor the CPU speed. Remember YOU CAN DAMAGE YOUR CPU IF RUN TO HOT FOR TO LONG with higher settings. MAKE SURE TO RUN THE set_cpu_stock GSCRIPT IF YOU INSTALL A MARKET APP. The internal overclock support may overwrite the market app settings...
JIT - JIT (Just In Time compiler) is a built in option for the ROM but is off by default. For a detailed overview of JIT go here. PLEASE NOTE for Android 2.1 JIT is not stable with all applications and can cause odd things on your phone.
To enable/disable JIT just run the appropriate GScript and reboot your phone.
User Services Power Management (Collin_ph Battery Tweak) - I have built in a user services that runs at a polled interval and can set the performance settings of your phone in realtime. The first script that is available is a 2.1 HTC framework version of the Collin_ph Batter Tweak. For a detailed overview of you can view the original thread at here.
The power management battery tweak is disabled by default but there is a gscript to enable plus you can run "battconf" from terminal on the phone or adb shell to configure... The battery tweak runs a script every 60 (or less if you are on power) to poll the capacity of the battery, and as the battery goes down the cpu max freq is progressively lowered. It also changes the CPU write characteristics (all of which I do not yet fully understand). You can see all the details in the /system/bin/batter_tweak file.
I take no real credit on this and just ported the concept to the HTC framework and HTC kernel (with the zanfur OC patch). This took a lot of work and I fixed a few bugs but the concept is not mine and all Collin_ph.
When you first run terminal remember to type "su" (or equivilent for your app) to run as root and select "1" then enter when first prompted after starting "battconf".
So how do I know it is working? just run the report_log.sh GScript and you will see when it logs a change to the system settings. Also you can run the report_system_settings.sh GScript and for a display of current settings. This process will be faster if you plug into a power source and wait about 60 seconds
To enable/disable the battery tweak just run the appropriate GScript (user_service_batterytweak_enable.sh or user_service_batterytweak_disable.sh) and reboot your phone.
Cache Location (Cache2cache):
By default, the dalvik-cache has been relocated from the internal /data/dalvik-cache/ directory to the internal /cache/dalvik-cache directory. The Eris comes with an internal /cache/ file block of 130mb that is not used! After reviewing a number of xda member file system usage reports (thanks xtrROM and xtrSENSE users!) the MOST reported use of this space was 5%... So by moving the dalvik-cache to this free area you now have over 150mb on internal /data/ for apps and over 75mb in internal /cache/ for dalvik-cache. This means that you can probably install close to 100 apps WITHOUT having to partition and move anything to the SD Card ext!
You can also move the dalvik-cache to your sd card ext or back to the stock internal /data/ file block.
To change the dalvik-cache location just run the appropriate GScript and reboot your phone.
So why does my Settings>SD card & phone storage>Internal phone storage only show 150mb or less? This is because this number ONLY reflects the /data/ file block on your phone and does not "see" the /cache/ block that is now being used for dalvik-cache storage. You can run the GScript report_system_settings script to see amount available in /cache/.
Apps2sd and Cache2sd:
I have revamped my implementation of apps2sd to use simpler and better organized scripts. For apps2sd to work you must first complete the listed prerequisites and it is a good idea to read through the "things you may want to know about apps2sd" section. Although it can provide gobs of space for apps, Apps2sd is not for everyone as it ties the stability of your phone to your SD card... If you do not need the space I would recommend that you keep the default of DISABLED; if you want to try you can always disable it again however there is always the chance of issues.
To enable/disable apps2sd and cache2sd just run the appropriate GScript and reboot your phone.
Prerequisites
If you have not setup your SD card (for those new to Apps2sd) as per tkirton:
BACKUP YOUR SD CARD TO YOUR COMPUTER. Can't stress this enough, as partitioning will wipe the entire card.
Reboot into recovery
In Android System Recovery, select Partition sdcard
In the Partition sdcard menu, select Partition SD
Follow the instructions on the phone to partition your SD card. Most folks seem to recommend using the default values however you can go larger or smaller use values 256, 512,768,1024. You will also be asked to set a swap size; I stayed at 32mb (anticipate future ROM options to allow moving swap to sd)
Once the partition is initially created you must then convert to ext3 - In the Partition sdcard menu, select SD:ext2 to ext3. Follow the instructions on the screen.
Press the back button on the phone to go back to the main menu.
Your SD card is now ready to work with an Apps2sd supported ROM.
Things you may want to know about apps2sd
Bootloop protection is built in if your SD card is corrupted or is removed from the phone with Apps2sd enabled. Your apps will go away but your phone will boot .
There are 3 subsets of data associated to an app when it is installed and run on your phone.
1) /data/app/ (and /data/app-private) - actual .apk files we think of as the applications that are not system apps (i.e. installed on /system/app)
2) /data/data/ - the files produced by ALL apps (system apps and market apps) during installation that are used by the Android system to run the app
3)/data/dalvik-cache/ - app cache file and work space for ALL apps (system apps and market apps).
From root explorer (or similar) you can browse to the /data/app OR the /system/sd/app folders and you will see the same thing, both will tell you how much space you have used and have left. The way apps2sd works is by "linking" the /system/sd/app to the /data/app folder so that the Android system thinks it is accessing the /data/app it is really at /system/sd/app.
I have seen using Apps2sd cause issues with some.zip flash updates as they try to write directly to the /data/app folder which no longer "physically" exists
If you get into a bootloop issue using apps2sd boot into amon_ra recovery and try one of the follow:
1) from the Other menu option select the Fix apk uid mismatches
2) from the Wipe menu option complete a)Wipe data/factory reset b)Wipe Dalvik-cache c)Wipe SD:ext partition
Apps2sd and Cache2sd Basics
When you run the apps2sd or cache2sd script, upon reboot, it will move ALL your existing apps or cache to the sd card ext partition and ALL future apps and cache will be installed and stored on the sd card ext partition.
Running the apps2internal or cache2internal script, upon reboot, it will move ALL your existing apps or cache to the /data block of internal storage and ALL futures apps and cache will be stored in internal storage.
With HTC based ROMs it is all or nothing and you cannot move individual apps like in the CyanogenMod ROMs.
So how do I know Apps2sd is on? - You can run the GScript report_system_stats which will give you a printout of what fileblocks are used as well as a “true/false” value for Apps2sd On. You can also go to menu>Settings>Sd card and phone storage - when on space available under Available storage will go down at a VERY slow rate when new apps are installed.
TO INSTALL:
YOU MUST HAVE A ROOTED PHONE
download the xtrROM .zip file
complete NANDROID backup
copy the .zip file to the root of your sd card
From Wipe data/factory reset, Wipe Dalvik-cache, and Wipe SD:ext partition (folks coming from previous versions may try no wipe updates but a full wipe is always "cleanest")
flash the xtrROM file from sd card
reboot (first boot may take around 10 minutes)
complete short setup and let your accounts sync
you can save and run GScripts to personalize settings at any time
Available Market Apps You May Want to Add:
Widgetsoid - provides the CyanogenMod style customizable power widget that can be put in the notificaton bar
Root Explorer
Launcher Pro
Tips
For an even faster feel turn off window animations under Settings>Sound & Display>Animaiton.
To update the lockscreen goto the Photos app select the photo you want and select the Set as option and then select lockscreen.
Random FC - Lower your overclock settings or turn off JIT. Our little Eris's can only do so much and not all hardware is equal... Also remember this ROM is quite fast in stock form and higher Linpack scores DO NOT make for a better user experience
Google contact sync issus? check out the following fix http://forum.xda-developers.com/showpost.php?p=6796805&postcount=102. I think this is not uncommon coming from 2.2 Froyo ROMs as they seem to sync with Google a little differently and I do not think the folks at HTC or Google built their systems with the thought that users would be jumping back and forth between versions as much as we all do...
Slow facebook sync? per erishasnobattery: log into your facebook account on your computer - Click Account>Application Settings>under Authorized - remove listing for HTC Sense.
To turn on vibration with keypress for the keyboard long hold the ?123 button in the bottom left and select Android keyboard settings>Vibrate on keypress
If you have 50% time without signal under Settings>About Phone>Battery>Cell Standby complete the "airplane trick" by turning Airplane mode on wait just a few seconds and then Airplane mode off (search the forum for "time without a signal")
If you are syncing facebook then you may want to remember to check the "View contacts" for facebook from the People app Menu>View setting
Turn off notifications for Superuser from the Settings tab of the app
Known Issues
Messaging sometimes FC when send and IMMEDIATE rotate from portrait to landscape. The message still sends and the app stays open there is just an annoying FC on the screen...
Flash does not work for some sites, Halo for example.
The keyboard does not have an updateable user dictionary
Verizon NFL does not work with JIT on
CHANGE LOG:
Click here to view the full change log
Sweet! Thanks! Going to flash when I get home. Is OTA disabled?
USE AT YOUR OWN RISK - settings above 710400 have been reported unstable on some Eris's and YOU CAN DAMAGE YOUR CPU IF RUN TO HOT FOR TO LONG with higher settings.
Weird....I've been running mine on 768000 for the longest time now with no problems what so ever.
kenshincbb said:
USE AT YOUR OWN RISK - settings above 710400 have been reported unstable on some Eris's and YOU CAN DAMAGE YOUR CPU IF RUN TO HOT FOR TO LONG with higher settings.
Weird....I've been running mine on 768000 for the longest time now with no problems what so ever.
Click to expand...
Click to collapse
And I run at 806 but he is saying this for the majority of ppl. So if they DO damage their phone, they dont blame him.
always good to have more options ...i will check it out
rvpartsguy said:
always good to have more options ...i will check it out
Click to expand...
Click to collapse
You really try everything dude. It's a very nice thing to do.
Anyone try it with JIT yet?
Wondering if wired tethering would be included in a later release? Seems to work somewhat faster than wireless for me.
Spencer_Moore said:
You really try everything dude. It's a very nice thing to do.
Click to expand...
Click to collapse
I've been lurking for quite a while, just recently started posting on xda. Pretty sure I've tried all of the ROMs too.
Just got this one downloaded, about to flash it and see how it goes. Won't have to worry about A2SD with over 140mb of internal memory. Outstanding!
Nice Job
Just got XTR setup and it is very responsive. If battery life is decent then I will definitely use this everyday! Excellent effort and I commend you on your opening page. Very clear and consise!
Re: [ROM][6/3/2010] xtrROM2.0 [stable,lwp, oc]
Wondering if wired tethering would be included in a later release?
Click to expand...
Click to collapse
Thanks for the feedback. I will add wired tethering to the StockApps.zip flash and re post tonight or tomorrow.
-------------------------------------
Sent via the XDA Tapatalk App
Jit Failure for me.
My first try with jit on this rom locked up. Maybe too much sense left. But you know what, this rom is plenty fast without it.
Re: [ROM][6/3/2010] xtrROM2.0 [stable,lwp, oc]
Sweet! Thanks! Going to flash when I get home. Is OTA disabled?
Click to expand...
Click to collapse
OTA is disabled.
-------------------------------------
Sent via the XDA Tapatalk App
Re: [ROM][6/3/2010] xtrROM2.0 [stable,lwp, oc]
My first try with jit on this rom locked up. Maybe too much sense left. But you know what, this rom is plenty fast without it.
Click to expand...
Click to collapse
Thanks for trying it out and the feedback! This ROM still runs on the core HTC framework and during my testing with jit could not get it stable enough for a daily ROM.
-------------------------------------
Sent via the XDA Tapatalk App
The widgets are broken apparently. I installed Advance Task Killer and everytime I click on it, it'll vibrate and that's it. OC widget isn't working either. Any ideas?
[EDIT] Oh, reboot was needed. Disregard.
Advanced task killer is not needed. The autokiller app does a much better job. Get rid of atk.
-------------------------------------
Sent via the XDA Tapatalk App
Great running ROM. No troubles yet. Thanks.
I'm running Launcher Pro Beta instead of Sense UI. JIT works GREAT. Getting 5.3mflops @ 806mhz. 5.1mflops @ 768mhz. This thing is FAST!!
I noticed you said this has LWP, so I'm assuming nav wont work then since that seems to be a common them. ie Alyosius
Re: [ROM][6/3/2010] xtrROM2.0 [stable,lwp, oc]
I noticed you said this has LWP, so I'm assuming nav wont work then since that seems to be a common them. ie Alyosius
Click to expand...
Click to collapse
Nav works very well with lwp on this ROM & I use almost daily. the Nav I have included is Googles NOT the HTC version which is where I believe (though I have fully tested) the issues are caused.
-------------------------------------
Sent via the XDA Tapatalk App

[ROM][GPL][3/15/2011] xtrSENSE5.0.1 [cache2cache,apps2sd,oc,jit]-HTC Sense

xtrSENSE has been built as an everyday HTC Sense ROM that is configured for performance and reliability. Version 5.x uses the March 2011 HTC/Verizon code base which is Android 2.1 made specifically for our Eris. This ROM has features such as a simple yet elegant theme to full support of cache2cache, apps2sd, built in overclocking, and built in memory management. For those that frequent the forum I keep a copy of this build in addition to xtrROM (Vanilla feel using the HTC framework) on my phone (plus a few others from other devs ) because sometimes I just feel like the splendor of the HTC launch screen and integrated widgets. If you would like a "pure" Vanilla 2.1 AOSP experience then be sure to try VanillaASOP.
{
"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"
}
xtrSENSE Features:
Built from the March 2011 Verizon 2.41.605.6 Eris code base - Android 2.1
Stock HTC Sense with reliable performance improvements and root access superuser permissions
Overclock support – see overclock section on how to set internally!
Full Cache2cache support (see details below) - better use of the /data/ and /cache/ file blocks which opens up unused internal storage allowing you to install double the market apps over a stock Eris without using Apps2sd!!
Apps2sd support - see instructions below
Many reliable "hacked" tweaks such as: power management like Collin_ph battery tweak, some Flash support, new Android Market, wired tether, etc...
Smart design for a tailored user experience by including the opensource GScript app which allows you to easily turn on/off core ROM settings (CPU overclock speed, Apps2sd, Cache2sd, JIT, etc...) with one-click
Customized simple theme including wallpapers, extra keyboard, and other small touches.
Designed to be a stable everyday ROM
Access to custom themes via Metamorph
Check out the change log below to see details
Credits and General Public License (GPL):
HTC kernel source: http://member.america.htc.com/download/RomCode/Source_and_Binaries/desirec_2.6.29_8a03cb9a.tar.bz2
Zanfur OC kernel support – source: http://forum.xda-developers.com/showthread.php?t=679102
GScripts source: http://code.google.com/p/gscript-android/source/checkout
Wired tether source: http://code.google.com/p/android-wired-tether/source/checkout
Wireless tether source: http://code.google.com/p/android-wifi-tether/source/checkout
bertoch for hosting and helping me understand Linux
dsixda for his time saving kitchen – source: http://forum.xda-developers.com/showthread.php?t=633246
bftb0 for the HTC/Verizon March 2011 2.41.605.6 code base - source: http://forum.xda-developers.com/showthread.php?t=984274
lotus22 for the 50% time without signal bug fix - source: http://forum.xda-developers.com/showthread.php?p=11992494
gr0gmint on how to make jit (mostly) work with HTC ROMs – source: http://forum.xda-developers.com/showthread.php?t=684535
ChainsDD for Superuser – source: http://forum.xda-developers.com/showthread.php?t=682828
jonasl for the HTC_IME mod keyboard – source: http://forum.xda-developers.com/showthread.php?t=624416
vash8806 for Flash 10 – source: http://forum.xda-developers.com/showpost.php?p=7316925&postcount=46
synaptyc for custom boot animation - source:http://forum.xda-developers.com/showthread.php?t=768513
rogro82 for starting GScript - source: http://forum.xda-developers.com/showthread.php?t=486486
nfinitefx45 from the Hero CDMA forum on his companion work with cache2cache
thenestor on help with the DroidXIME keyboard
firestrife23 for helping me understand permission issues with the init.d process
Damageless and TrevE for a model on how to do apps2sd (originally based on tkirton's Darktremor A2SD work) and other boot settings
Collin_ph for the battery tweak code – source: http://forum.xda-developers.com/showthread.php?t=737352
xda member beta testers (you ROCK)
other xda members for tips and tricks
Download xtrSENSE 5.0: http://zach.xtr.i6ix.com/xtrSENSE5.0.1.zip
MD5 checksum: 67abd6c555b726017586ad154e456041
Thanks to Canop you can flash other Kernel options from the links below:
BFS - http://forum.xda-developers.com/showthread.php?t=772053
CFS - http://forum.xda-developers.com/showthread.php?t=774211
Themes
Sensibility by jonathanphx1 - http://forum.xda-developers.com/showthread.php?t=857907
OPTIONS AND CONTROLS:
Default ROM Configuration:
You do not need to run any scripts unless you would like to change the following default configuration:
dalvik.vm.heapsize: 24m
min free memory values: "balanced" (1536,2048,4096,10240,12800,38400)
CPU Overclocked: Min-245760 Max-710400
CPU Governor: Ondemand
Just In Time Compiler (JIT): Off
Cache Location: Cache2cache On
Apps2sd: Off
Userservice and battery tweak: Off
GScript
I have compiled and incorporated the opensource GScript app to load and one-click run user settings.
To setup your GScripts complete the following steps:
1. After opening GScript press the menu button and select "Add script"
2. A new window will open.
3. Press the Load file button
4. Select a script from the list (each is obviously named as to its function)
5. Ensure Needs SU? is checked
6. Now select "Save" and you have added your script
7. To run just select it from the list in the main GScript screen
8. You may be prompted to reboot the phone for the change to take effect.
This new release has a lot of new scripts but remember your phone has been setup great by default with this ROM and if you do not understand the function or purpose of a GScript then best to not save and run it . One can always search this forum and ask others about all the the fun things you can now do with your phone! I will look to add a list of each GScript and its function as time allows...
Wired Tether
For wired tether to work you must make sure that your computer has the appropriate RNDIS drivers. Learn how to do this at the android-wired-tether Wiki.
Per roirraW "edor" ehT:
The wiki incorrectly states, or implies, that Windows 7 includes the RNDIS support. Or at least, they imply that Windows 7 includes the RNDIS driver necessary. I can confirm that neither Windows 7 x86 or x64 works with tethering out of the box. The instructions for XP users are correct and also work for Windows 7. Just download HTCSync for your device (Eris) and install it, and it'll install the correct driver.
Flash Support
A hacked version of Flash 10.1.123 is baked into this ROM however it has proven to be hit and miss and preforms more like a flash "lite"... Full flash sites such as Halo do not work however many others do; they may just take a while as the Eris is not a powerful phone
Performance Improvements:
Free Internal Memory and Dalvik-cache heapsize - I have update default user settings to allow a larger dalvik heapsize of 24mb (think more space for apps to play) AND optimized how memory is freed up using Androids internal task killer.
Default min memory free:”balanced” (1536, 2048, 4096, 10240, 12800, 38400)
Default dalvik vm heapsize: 24m (48m with JIT on)
To change dalvik vm heapsize or min memory free settings you can just run the appropriate GScript.
If you would like to further modify the default min memory free settings then download Autokiller or MinFreeManager, these apps will allow you to set and monitor the min memory free values. For more information on Androids “internal task killer” and min memory free values go here.
Default Overclock Settings - the ROMs kernel supports overclocking and as part of the custom sysinit process I have added scripts that automatically set the below CPU clock settings when the phone boots:
Min: 19200
Max: 710400
I have included a few GScripts to change cpu max and min settings without using a market app . You can also run the report_cpu_freq script from GScript to get a printout of which frequencies and time in each you phone has been operating.
To change CPU overclock settings just run the appropriate GScript.
If you would like to further modify OC settings then download CPUBoost, SetCPU or Overclock Widget, these apps will allow you to set and monitor the CPU speed. Remember YOU CAN DAMAGE YOUR CPU IF RUN TO HOT FOR TO LONG with higher settings.
JIT - JIT (Just In Time compiler) is a built in option for the ROM but is off by default. For a detailed overview of JIT go here. PLEASE NOTE for Android 2.1 JIT is not stable with all applications and can cause odd things on your phone.
To enable/disable JIT just run the appropriate GScript and reboot your phone.
User Services Power Management (Collin_ph Battery Tweak) - I have built in a user services that runs at a polled interval and can set the performance settings of your phone in realtime. The first script that is available is a 2.1 HTC framework version of the Collin_ph Batter Tweak. For a detailed overview of you can view the original thread at here.
The power management battery tweak is disabled by default but there is a gscript to enable plus you can run "battconf" from terminal on the phone or adb shell to configure... The battery tweak runs a script every 60 (or less if you are on power) to poll the capacity of the battery, and as the battery goes down the cpu max freq is progressively lowered. It also changes the CPU write characteristics. You can see all the details in the /system/bin/batter_tweak file.
I take no real credit on this and just ported the concept to the HTC framework and HTC kernel (with the zanfur OC patch). This took a lot of work and I fixed a few bugs but the concept is not mine and all Collin_ph.
When you first run terminal remember to type "su" (or equivilent for your app) to run as root and select "1" then enter when first prompted after starting "battconf".
So how do I know it is working? just run the report_log.sh GScript and you will see when it logs a change to the system settings. Also you can run the report_system_settings.sh GScript and for a display of current settings. This process will be faster if you plug into a power source and wait about 60 seconds
To enable/disable the battery tweak just run the appropriate GScript (user_service_batterytweak_enable.sh or user_service_batterytweak_disable.sh).
Cache Location (Cache2cache):
By default, the dalvik-cache has been relocated from the internal /data/dalvik-cache/ directory to the internal /cache/dalvik-cache directory. The Eris comes with an internal /cache/ file block of 130mb that is not used! After reviewing a number of xda member file system usage reports (thanks xtrROM and xtrSENSE users!) the MOST reported use of this space was 5%... So by moving the dalvik-cache to this free area you now have over 150mb on internal /data/ for apps and over 75mb in internal /cache/ for dalvik-cache. This means that you can probably install close to 75 apps WITHOUT having to partition and move anything to the SD Card ext!
You can also move the dalvik-cache to your sd card ext or back to the stock internal /data/ file block.
So why does my Settings>SD card & phone storage>Internal phone storage only show 150mb or less? This is because this number ONLY reflects the /data/ file block on your phone and does not "see" the /cache/ block that is now being used for dalvik-cache storage. You can run the GScript report_system_settings script to see amount available in /cache/.
Apps2sd and Cache2sd:
I have revamped my implementation of apps2sd to use simpler and better organized scripts. For apps2sd to work you must first complete the listed prerequisites and it is a good idea to read through the "things you may want to know about apps2sd" section. Although it can provide gobs of space for apps, Apps2sd is not for everyone as it ties the stability of your phone to your SD card... If you do not need the space I would recommend that you keep the default of DISABLED; if you want to try you can always disable it again however there is always the chance of issues.
To enable/disable apps2sd and cache2sd just run the appropriate GScript and reboot your phone.
Prerequisites
If you have not setup your SD card (for those new to Apps2sd) as per tkirton:
BACKUP YOUR SD CARD TO YOUR COMPUTER. Can't stress this enough, as partitioning will wipe the entire card.
Reboot into recovery
In Android System Recovery, select Partition sdcard
In the Partition sdcard menu, select Partition SD
Follow the instructions on the phone to partition your SD card. Most folks seem to recommend using the default values however you can go larger or smaller use values 256, 512,768,1024. You will also be asked to set a swap size; I stayed at 32mb (anticipate future ROM options to allow moving swap to sd)
Once the partition is initially created you must then convert to ext3 - In the Partition sdcard menu, select SD:ext2 to ext3. Follow the instructions on the screen.
Press the back button on the phone to go back to the main menu.
Your SD card is now ready to work with an Apps2sd supported ROM.
Things you may want to know about apps2sd
Bootloop protection is built in if your SD card is corrupted or is removed from the phone with Apps2sd enabled. Your apps will go away but your phone will boot .
There are 3 subsets of data associated to an app when it is installed and run on your phone.
1) /data/app/ (and /data/app-private) - actual .apk files we think of as the applications that are not system apps (i.e. installed on /system/app)
2) /data/data/ - the files produced by ALL apps (system apps and market apps) during installation that are used by the Android system to run the app
3)/data/dalvik-cache/ - app cache file and work space for ALL apps (system apps and market apps).
From root explorer (or similar) you can browse to the /data/app OR the /system/sd/app folders and you will see the same thing, both will tell you how much space you have used and have left. The way apps2sd works is by "linking" the /system/sd/app to the /data/app folder so that the Android system thinks it is accessing the /data/app it is really at /system/sd/app.
I have seen using Apps2sd cause issues with some.zip flash updates as they try to write directly to the /data/app folder which no longer "physically" exists
If you get into a bootloop issue using apps2sd boot into amon_ra recovery and try one of the follow:
1) from the Other menu option select the Fix apk uid mismatches
2) from the Wipe menu option complete a)Wipe data/factory reset b)Wipe Dalvik-cache c)Wipe SD:ext partition
Apps2sd and Cache2sd Basics
When you run the apps2sd or cache2sd script, upon reboot, it will move ALL your existing apps or cache to the sd card ext partition and ALL future apps and cache will be installed and stored on the sd card ext partition.
Running the apps2internal or cache2internal script, upon reboot, it will move ALL your existing apps or cache to the /data block of internal storage and ALL futures apps and cache will be stored in internal storage.
With HTC based ROMs it is all or nothing and you cannot move individual apps like in the CyanogenMod ROMs.
So how do I know Apps2sd is on? - You can run the GScript report_system_stats which will give you a printout of what fileblocks are used as well as a “true/false” value for Apps2sd On. You can also go to menu>Settings>Sd card and phone storage - when on space available under Available storage will go down at a VERY slow rate when new apps are installed.
TO INSTALL
YOU MUST HAVE A ROOTED PHONE
download the base xtrSENSE .zip file
complete NANDROID backup
copy the .zip file to the root of your sd card
For best results wipe data/factory reset, wipe Dalvik-cache, and wipe SD:ext partition (folks coming from previous versions may try no wipe updates but a full wipe is always "cleanest")
flash the xtrSENSE file from sd card
reboot - first boot will take a while (i.e. over 10 mins)
complete short setup and let your accounts sync
you can save and run one-click GScripts to personalize core ROM settings at any time
Tips:
Random FC - Lower your overclock settings or turn off JIT. Our little Eris's can only do so much and not all hardware is equal... Also remember this ROM is quite fast in stock form and higher Linpack scores DO NOT make for a better user experience
Slow facebook sync? per erishasnobattery: log into your facebook account on your computer - Click Account>Application Settings>under Authorized - remove listing for HTC Sense.
Google contact sync issus? check out the following fix http://forum.xda-developers.com/showpost.php?p=6796805&postcount=102. I think this is not uncommon coming from 2.2 Froyo ROMs as they seem to sync with Google a little differently and I do not think the folks at HTC or Google built their systems with the thought that users would be jumping back and forth between versions as much as we all do...
To turn on the DroidX or HTC_IME mod keyboard long press in any input feild - select Input Methoud option - and select the desired keyboard
To turn on vibration with keypress for the DroidX Multi-touch keyboard long hold the ?123 button in the bottom left and select Android keyboard settings>Vibrate on keypress
If you are syncing facebook then you may want to remember to check the "View contacts" for facebook from the People app Menu>View setting
Turn off notifications for Superuser from the Settings tab of the app
If you have not already done so, check out the notes and tasks widgets now available from Add HTC widget>Get more HTC widgets. Personally I find these most useful.
Known Issues:
Flash does not always "enable" as reported by users, once "enabled" works okay and you are good to go, once we have a known method to make sure it is triggered on I will post here...
verizon nfl does not work on JIT
xda dev app may have intermittent issues logging in for first time with JIT
Change Log and Such
CHANGE LOG:
5.0.1[3/15/2011]
Download xtrSENSE5.0: http://zach.xtr.i6ix.com/xtrSENSE5.0.1.zip
MD5 checksum: 67abd6c555b726017586ad154e456041
Can be a no wipe update from older xtrSENSE versions...
added back old phone ringtone I accidentally removed
fixed the screen "flicker" issue when weather animation starts - seems to have been caused by the OpenGLS 1.1 hack which I removed...
5.0[3/10/2011]
Download xtrSENSE5.0: http://zach.xtr.i6ix.com/xtrSENSE5.0zip
MD5 checksum: 990579fad26c4078ca612f77066438b7
new 2.41.605.6 march 2011 code base - thanks goes to bftb0
50% time without signal bug fix - thanks goes to lotus22
Added a backup script to the ROM install that will backup your user settings values and restore them during install if you are coming from a previous version of xtrSENSE; Basically this saves the vaues you have set using Gscripts so that you do not have to reset them after you flash...
added the new OpenGLES 1.1 library
new boot animation
cleaned up debug icon
current maps and street view
current market
removed Quickbood - just get it from the market
Maybe a few other items I forgot
4.6.5[11/5/2010]
Download xtrSENSE4.6.5: http://zach.xtr.i6ix.com/xtrSENSE4.6.5.zip
MD5 checksum: bfab4d92f60cae8fa5abb6aab2181e42
Minor updates and fixers:
fixed user battery tweak scrip to set on boot
combined userservice enable/disable GScripts to one for simpler operation
stock keyboard by default and both the jonasl HTC_IME mod and the droidX keyboards as options (seems to be the popular user's choice)
removed amazon mp3 since it can be installed from the market
updated web browser icon
Added GScripts to add the News and Weather widget, CyanogenMod music, and live wallpapers (ONLY WORKS IF YOU ARE NOT USING THE HTC SENSE LAUNCHER)
4.6[10/4/2010]
Download xtrSENSE4.6: http://zach.xtr.i6ix.com/xtrSENSE4.6.zip
MD5 checksum: 753078b91b4a24f311c084bd2c7b8a52
Fixed Issues with Wired Tether on 4.2 and 4.5 that some where having
Changed the /system/sd as the mount point for SD Card ext so NAND backup/restors work without issues or tweaking
offer with zanfur kernel with links to the BFS and CFS options
built in performance/battery management similar to collin_ph http://forum.xda-developers.com/showthread.php?t=737352
added additional notifications and ringtones (the space in /system/ is not used so why not?)
tried to use new wired tether 1.4 but received FC and have not had time to understand why so probably not this release
added zanfurs facebook contact photo hack as a GScript http://forum.xda-developers.com/showthread.php?t=765840
added sqlite3 to /system/xbin/
New bootanimation GScript so you can show off synaptyc's work
New GScript to remove peep (HTC Twitter)
found some cool ways to notify the user when scripts are run and incorporated into the battery tweak (you can turn off with the user_service_notify_disabled.sh)
updated to new 4.5.1 Google maps
4.2.1 & 4.5.1-CFS-beta[9/13/2010]
Download xtrSENSE4.2.1: http://zach.xtr.i6ix.com/xtrSENSE4.2.1.zip
MD5 checksum: e7b09f99137dcad546d077c2efd29c3a
Download xtrSENSE4.5.1-CFS-beta: pulled
Bug fix on sysint framework to allow set_cpu... GScripts to work
4.5-CFS-beta[9/12/2010]
Download xtrSENSE4.5-CFS-beta: see version 4.5.1
CFS kernel
removed low CPU GScript of 19200 as it does not work will with under volted kernel
updated the init.desirec.rc file to default the kernel CPU govenor to Ondemand (hopefully will improve lag issues)
updated sysinit framework and added GScript to toggle Ondemand and Interactive CPU govenor
4.2 [9/12/2010]
Download xtrSENSE4.2: see version 4.2.1
Uses the zanfur kernel
Fixed logging in a few GScripts
put back YouTube HQ
updated wallpapers and put back stock HTC per user request
OC to 710 by default (sense just feels better here)
google maps 4.5.0
updated the default dalvik.vm.heapsize to 48mb when JIT is on; yes this is HUGE but it seems to allow Pandor to play with JIT enabled if that is your cup of tea
4.1 [9/7/2010]
Use 4.2 download...
fixed rotation bug - this was caused by an issue with the stock HIT_IME keyboard
updated default keyboard to the jonasl HTC_IME mod (v27 low resolution) http://forum.xda-developers.com/showthread.php?t=624416
added back the HTC footprints and stocks applications and widgets (you can remove with new remove GScripts)
new cache location support with dalvik-cache stored in the /cache/ fileblock! With about 150mb free in /data/ for apps and data and about 80mb free in /cache/ for dalvik cache you may be able to install 100 apps WITHOUT apps2sd or cache2sd...
updated apps2sd to use, in my opinion, a better mount point of /sd-ext/ instead of /system/sd
new boot animation thanks to synaptyc
changed to NOT overclock by default - a few phones cannot handle 710400 (still easy to turn on with GSripts)
new superuser 2.3.6.1 http://forum.xda-developers.com/showthread.php?t=682828
updated GScripts app (I don't like white on blue)
added GScript support to set min memory free (default of balanced)
added GScript to print boot log
added Gscript support to set min CPU freq value of 19200 (for you battery save folks) and max value of 748800
renamed available GScripts with consistent naming convention (i.e. report..., set..., remove...)
updated ROM install script to remove ALL old GScript files to user user has current
updated custom sysinit process to produce cleaner logs
updated YouTube to the lates 2.1 Gapps build (thanks to CyanogenMod). To watch in HQ select menu more...
4.0.6.1 [8/20/2010]
Download Base xtrSENSE4.0.6.1: http://zach.xtr.i6ix.com/xtrSENSE4.0.6.1.zip
MD5 checksum: 36b2ee0e8e8295ef4e53fb18c188c574
updated init.rc to use stock min free memory values and rely on new sysinit framework to change to custom settings
added teeter back upon request (use root explorer or adb to remove)
used the Launcher.apk from xtrROM for backup home launcher (has xtrROM wallpapers and thems if switch to it )
add varialbe capture of new cpu values to log
updated the sysint framework for usersettings to move conf values to conf_off if not used or "toggled" off. Alows for clearned on/off
updated GScript set_cpu_stock.sh to use new sysint framework for usersetting values
changed ROM update-script to remove old GScript db so that old scripts are removed
small changes to the update-script to move progress bar approprately through install process
4.0.6 Change Log
developed a new default cpu clock setting process to overclock the kernel at boot and allow the user to change the values. Only need separate app (and added overhead) if you want to go higher with cpu clock settings
added default overclock to 710400
added a set_cpu_stock.sh script to GScript for if you want to have stock cpu speed or use Market apps
added cpu_freq_report
4.0.5 [8/16/2010]
This was a complete rebuild of the ROM and includes a lot of new backend features with the new init.d user settings system process; summary of changes:
COMPLETELY rebuilt base ROM - Fixed long setup issues YEAH!
Built from Verizons 2.37.605.4 July release
Uses the Zanfur kernel
Most folks seem to prefer the stock keyboard and dialer so they are back
ALSO have the DroidX Multi-touch keyboard (new theme) for those that prefer it (long press an input field and select Input Mode)
developed a new sysinit process and /system/ent/init.d structure as modeled after Linux servers and CyanogenMod.
- ADVANCED USERS can add parameters to configure the system at startup
- use of the /system/etc/sysctl.conf file
- I have included ones that you can un-comment out (remove the # at the beginning of each line) to experiment with...
- Research and learn BEFORE you try these!
- A good place to start learning is http://http://www.redhat.com/docs/wp/performancetuning/rhel4_vm.pdf.
- You can always clear out all changes by commenting out the values or just deleting all content of the file…
developed a new User Settings process that is executed by init.d and runs all set values located in /system/etc/usersettings/conf/
totally revamped apps2sd implementation to simplify and streamline, still cannot move on the fly like CyanogenMod builds but getting close
improved logging at /data/boot_log.txt (you can move a copy to your sd card for viewing via the new GScript app)
developed shell scripts to manage user settings for apps2sd, cache2sd, and JIT toggles
Incorporated GScript app (see http://code.google.com/p/gscript-android/) to load and one-click run user setting toggles (custom app next!)
added quick boot to make reboots faster
New super user 2.3.1 - seems to solve the lag with granting permissions at times (very sweet! will FC if you look select the new log tab before logs are available) http://forum.xda-developers.com/showthread.php?t=682828
themed the Analog clock widget
new wallpapers - Titanium edition and Great Oak
added new wired tether app that "should" work for Eris
- http://code.google.com/p/android-wired-tether/issues/detail?id=21
- http://forum.xda-developers.com/showthread.php?p=7002154
General SWEETNESS
3.1 [7/24/2010]
Focus on the Verizon July patch
Built from July Verizon 2.1 patch 2.37.605.4 code. The best I could find on a fix list is below and I do notice an improvement in the performance of the phone in smoothness. http://androinica.com/2010/07/13/htc-droid-eris-rumored-to-get-ota-update-beginning-on-july-16th/
Included a xtrFlash10.zip to the sd card if you want working Flash - thanks to t2noob, vash8806 and Zenulator.
per request added xtrStockKeys.zip to the sd Card if you want the stock dialer and keyboard.
Added wireless tether and xda apps by default
ARCHIVE LINK:
Download Base xtrSENSE3.1: http://zach.xtr.i6ix.com/xtrSENSE3.1-SDclean.zip
MD5 checksum: e3f2e0e51cba8d117648e3d793467e03
3.0.3 [7/15/2010]
Initial release
Verizion2.1 HTC Eris code base
Removed a few of the lesser used system apps and unused testing tools loaded by HTC
Fully deodex - makes it easier to "hack" and modify HTC code, takes up more internal phone space however with apps2sd this is no longer important
Zanfur's kernel with full OC support
Internal memory management (you no longer need autokiller as it is built into the ROM)
xtr sysinit process and scripts that include
- Apps2sd support based on the work of Damageless and TrevE @ xda
- jit that works with HTC Sense
- dalvik heapsize management
- first boot script support for /data/firstboot.sh file
- Updatable init.dalvik.conf and init.apps2sd.conf files that can be found in /system/etc/ that can be changed to reconfigure the phone on next reboot (future release will hopefully have an app to do this)
Themed phone dialer
New DroidX keyboard customized and themed for Eris
Custom wallpapers
YouTube high res
many other little improvements that I have probably forgotten
For thoes that prefer tkirton Apps2sd it "should" be compatible with the Darktremor Apps2SD 2.7.5 implemtation (I have not tested). You can always reflash xtrROM3.0.3 to get back to the built in version. http://forum.xda-developers.com/showthread.php?t=715933
ARCHIVE LINK:
Download Base xtrSENSE3.0.3: http://zach.xtr.i6ix.com/xtrSENSE3.0.3-fixed.zip
Thank you for the work! Will try this as soon as I get home tonight.
no live wallpapers in the sense ROM?
linpack/quadrant scores anybody?
jhart15063 said:
no live wallpapers in the sense ROM?
Click to expand...
Click to collapse
In EvilEris's first page of the thread there is a LiveWallpapers patch, that puts in a rosie that does LWP.
It works great, except that the Rosie graphics are all jacked up.
He stated that he will fix it very soon, based on demand, and that will be flashable on this (or probably any de-odex'd senseui rom).
I'm getting:
linpack scores of 3.3 @768 MHZ, but I don't believe that this rom is seeing my A2sd partition.
Quadrant score of 259
So when will this be back up for download?
loki154 said:
I'm getting:
linpack scores of 3.3 @768 MHZ, but I don't believe that this rom is seeing my A2sd partition.
Quadrant score of 259
Click to expand...
Click to collapse
fixing now... Somehow removed a few libs needed for the apps2sd before building final zip.
Should be up in the next 60 mins
zach.xtr said:
fixing now... Somehow removed a few libs needed for the apps2sd before building final zip.
Should be up in the next 60 mins
Click to expand...
Click to collapse
Great to hear, I'll rerun the test once i get the fix. It seemed to be light on its feet @768 and stable. Though I prefer XtrRom 3.03 . What can I say, I like stock over Sense.
In instructions below "TO INSTALL", I might suggest you add the step to wipe data and/or dalvik cache.
xtrSENSE3.0.3-fixed.zip is up
xtrSENSE3.0.3-fixed.zip is up.
Enjoy!
Anyone have the MD5?
EDIT: This is what I have...
57D3352BBEFEBDED5E784A6D19B9D70D
That was a REALLY thorough write-up on this rom. I learned most of the stuff you wrote about through hours of online research and bootloops (when I did something wrong). I wish I would have flashed this as my first custom rom! I wish all developers would explain their roms this thoroughly....screw it, I'm bookmarking this page for future reference.
A2SD is still not working. Nothing is being saved to my ext3 partition.
loki154 said:
A2SD is still not working. Nothing is being saved to my ext3 partition.
Click to expand...
Click to collapse
Hum... did you flash the apps2sd toggle on zip?
I am runnig it now without issue.
Sent from my Eris using XDA App
zach.xtr said:
Hum... did you flash the apps2sd toggle on zip?
I am runnig it now without issue.
Sent from my Eris using XDA App
Click to expand...
Click to collapse
where is the downloaded for this file ? also jit ?
sorry .... i am reading and i am somewhat lost and far from a noob ...., on your other rom i see all the flashable modules
Which toggle the one from XtrRom 3.0.3? I didn't see the toggles on this page. I assumed they were set to on.
Sjflowerhorn said:
linpack/quadrant scores anybody?
Click to expand...
Click to collapse
I can hit over 5.1+ with jit and oc @ 748. Do seem to lose a little stability on my phone that high.
Sent from my Eris using XDA App
loki154 said:
Which toggle the one from XtrRom 3.0.3? I didn't see the toggles on this page. I assumed they were set to on.
Click to expand...
Click to collapse
The reqired files are added to your sd card when you flash the base rom just reboot to recovery and you will see them.
Lol i may have made it too streamlined for those use to xtrROM. Suggestions for better instructions are welcome
Sent from my Eris using XDA App

[ROM] [GPL] [10-11-10] Vanilla 2.0.4 [Pure AOSP 2.1, OC, A2SD, CFS, Cache2Cache] FAST

Pure Vanilla 2.1 AOSP - well as much as reasonable .
zach.xtr and I are pleased to offer Vanilla2.X! (BIG credits to zach.xtr for tweaking and help with getting all bugs worked out. zach.xtr truly made this blazing quick... and freed up TONS of internal phone storage!)
checkout the change log for a full feature list and details.
{
"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"
}
Remember to donate to the developers that make this possible!
Credits:
bertoch for hosting and Linux help
dsixda for his time saving kitchen - http://forum.xda-developers.com/showthread.php?t=633246
Conap and Decadenc3 for their CFS kernel with OC and for MMS fix - http://forum.xda-developers.com/showthread.php?t=774211
Conap for his support and general help and a few libs from CELB - http://http://forum.xda-developers.com/showthread.php?t=679194
punk.kaos for his Trackball notification/softkey fixes - http://forum.xda-developers.com/showthread.php?t=685594
Gnarlyc for his Android Builder for quick access to 2.1 AOSP source - http://forum.xda-developers.com/showthread.php?t=707414
Framework43 for his pioneering work with AOSP 2.1 builds and a few "Senseless" parts - http://forum.xda-developers.com/showthread.php?t=686870
nfinitefx45 from the Hero CDMA forum on his work for cache2cache - http://forum.xda-developers.com/showthread.php?t=790889
other xda members for tips, tricks and beta testing (you ROCK)
SERIOUSLY... DONATE TO ONE OF THE DEVS ABOVE. IF IT WASN'T FOR THEM, YOUR ERIS WOULD BE THE PHONE THAT "COULDN'T"
-----------------------------------------------------------
Base Vanilla2.X Features:
All the goodness of Android AOSP 2.1 with root access superuser permissions
Built from AOSP 2.1 source including all your favorite AOSP 2.1 apps!
Custom sysint process to optimize ROM system settings
Smart design for a tailored user experience (only turn on the features what you want!)
Overclock support - default setting overclock to 710400
Apps2sd and Cache2cache support (see instructions below)
designed to be a stable everyday ROM
Check out the change log below to see details
-----------------------------------------------------------
Download Vanilla2.0.4: http://zach.xtr.i6ix.com/Vanilla2.0.4.zip
MD5 checksum: ae9eb1cf3c67dd08ea31c8cd5ec11dfb
-----------------------------------------------------------
Vanilla2.X Options:
GScript
For Vanilla2.X we have compiled and incorporated the opensource GScript app (see http://code.google.com/p/gscript-android/) to load and one-click run user settings.
To setup your GScripts complete the following steps:
1. After opening GScript press the menu button and select "Add script"
2. A new window will open.
3. Press the Load file button
4. Select a script from the list (each is obviously named as to its function)
5. Ensure Needs SU? is checked
6. Now select "Save" and you have added your script
7. To run just select it from the list in the main GScript screen
8. You must reboot the phone for the change to take effect.
-----------------------------------------------------------
User Services Power Management (Collin_ph Battery Tweak) - I have built in a user services that runs at a polled interval and can set the performance settings of your phone in realtime. The first script that is available is a 2.1 HTC framework version of the Collin_ph Batter Tweak. For a detailed overview of you can view the original thread at here.
The power management battery tweak is disabled by default but there is a gscript to enable plus you can run "battconf" from terminal on the phone or adb shell to configure... The battery tweak runs a script every 60 (or less if you are on power) to poll the capacity of the battery, and as the battery goes down the cpu max freq is progressively lowered. It also changes the CPU write characteristics (all of which I do not yet fully understand). You can see all the details in the /system/bin/batter_tweak file.
I take no real credit on this and just ported the concept to the HTC framework and HTC kernel (with the zanfur OC patch). This took a lot of work and I fixed a few bugs but the concept is not mine and all Collin_ph.
When you first run terminal remember to type "su" (or equivilent for your app) to run as root and select "1" then enter when first prompted after starting "battconf".
So how do I know it is working? just run the report_log.sh GScript and you will see when it logs a change to the system settings. Also you can run the report_system_settings.sh GScript and for a display of current settings. This process will be faster if you plug into a power source and wait about 60 seconds
To enable/disable the battery tweak just run the appropriate GScript (user_service_batterytweak_enable.sh or user_service_batterytweak_disable.sh) and reboot your phone (Quick Boot makes this easy!).
** If you run into issues using the default Term Emulator (in Dev Tools), please download "Android Terminal Emulator" from the Market.
-----------------------------------------------------------
Wired Tether
For wired tether to work you must make sure that your computer has the appropriate RNDIS drivers. Learn how to do this at the android-wired-tether Wiki.
Per roirraW "edor" ehT:
The wiki incorrectly states, or implies, that Windows 7 includes the RNDIS support. Or at least, they imply that Windows 7 includes the RNDIS driver necessary. I can confirm that neither Windows 7 x86 or x64 works with tethering out of the box. The instructions for XP users are correct and also work for Windows 7. Just download HTCSync for your device (Eris) and install it, and it'll install the correct driver.
Performance Improvements:
I HIGHLY recommend setting your Animations (Spareparts) to either OFF or FAST for a much smoother, faster experience.
Free Internal Memory and Dalvik-cache heapsize - We have update default user settings to allow a larger dalvik heapsize of 24mb (think more space for apps to play) AND optimized how memory is freed up using Androids internal task killer.
Default min memory free: “balanced”
Default dalvik vm heapsize: 24m (38m with JIT on)
To change dalvik vm heapsize or min memory free settings you can just run the appropriate GScript.
If you would like to further modify the default min memory free settings then download Autokiller or MinFreeManager, these apps will allow you to set and monitor the min memory free values. For more information on Androids “internal task killer” and min memory free values go here
Overclock Settings - the included kernel supports overclocking and as part of the custom sysinit process we have added scripts that you can run to overclock the CPU without using a market app. You can also run the report _cpu_freq script from GScript to get a printout of which frequencies and time in each you phone has been operating.
To enable/disable overclock just run the appropriate GScript.
If you would like to further modify OC settings then download SetCPU or Overclock Widget, these apps will allow you to set and monitor the CPU speed. Remember YOU CAN DAMAGE YOUR CPU IF RUN TO HOT FOR TO LONG with higher settings. MAKE SURE TO RUN THE set_cpu_stock GSCRIPT IF YOU INSTALL A MARKET APP. The internal overclock support may overwrite the market app settings...
JIT - JIT (Just In Time compiler) is a built in option for the ROM but is off by default. For a detailed overview of JIT go here. PLEASE NOTE for Android 2.1 JIT is not stable with all applications and can cause odd things on your phone.
To enable/disable JIT just run the appropriate GScript and reboot your phone (Quick Boot makes this easy!).
Cache2cache & Cache2sd:
By default, the dalvik-cache for Vanilla2.0 has been relocated from the internal /data/dalvik-cache/ directory to the internal /cache/dalvik-cache directory. The Eris comes with an internal /cache/ file block of 130mb that is not used! After reviewing a number of xda member file system usage reports (thanks xtrROM and xtrSENSE users!) the MOST reported use of this space was 5%... So by moving the dalvik-cache to this free area you now have over 151mb on internal /data/ for apps and over 97mb in internal /cache/ for dalvik-cache. This means that you can probably install close to 100 apps WITHOUT moving anything to the SD Card ext!
You can also move the dalvik-cache to your sd card ext or back to the stock internal /data/ file block.
To change the location of dalvik-cache you can just run the appropriate GScript and reboot your phone (Quick Boot makes this easy!).
Apps2sd:
Apps2sd for Vanilla2.0 is incorporated in the custom sysinit process. For apps2sd to work you must first complete the listed prerequisites and it is a good idea to read through the "things you may want to know about apps2sd" section. Although it can provide gobs of space for apps, Apps2sd is not for everyone as it ties the stability of your phone to your SD Card... If you do not need the space we recommend that you keep the default of DISABLED; if you want to try you can always disable it again however there is always the chance of issues.
To enable/disable apps2sd just run the appropriate GScript and reboot your phone (Quick Boot makes this easy!).
Apps2sd Basics
When you run the apps2sd , upon reboot, it will move ALL your existing apps to the sd card ext partition and ALL future apps will be installed and stored on the sd card ext partition.
Running the apps2internal script, upon reboot, it will move ALL your existing apps to the /data/ block of internal storage and ALL futures apps will be stored in internal storage.
For NON CyanogenMod based ROMs it is all or nothing and you cannot move individual apps.
Apps2sd Prerequisites
If you have not setup your SD card (for those new to Apps2sd) as per tkirton:
BACKUP YOUR SD CARD TO YOUR COMPUTER. Can't stress this enough, as partitioning will wipe the entire card.
Reboot into recovery
In Android System Recovery, select Partition sdcard
In the Partition sdcard menu, select Partition SD
Follow the instructions on the phone to partition your SD card. Most folks seem to recommend using the default values however you can go larger or smaller use values 256, 512,768,1024. You will also be asked to set a swap size; I stayed at 32mb (anticipate future ROM options to allow moving swap to sd)
Once the partition is initially created you must then convert to ext3 - In the Partition sdcard menu, select SD:ext2 to ext3. Follow the instructions on the screen.
Press the back button on the phone to go back to the main menu.
Your SD card is now ready to work with an Apps2sd supported ROM.
Things you may want to know about Apps2sd
Vanilla2.X has bootloop protection built in if your SD card is corrupted or is removed from the phone with Apps2sd enabled. Your apps will go away but your phone will boot .
There are 3 subsets of data associated to an app when it is installed and run on your phone.
1) /data/app/ (and /data/app-private) - actual .apk files we think of as the applications that are not system apps (i.e. installed on /system/app)
2) /data/data/ - the files produced by ALL apps (system apps and market apps) during installation that are used by the Android system to run the app
3)/data/dalvik-cache/ - app cache file and work space for ALL apps (system apps and market apps).
From root explorer (or similar) you can browse to the /data/app OR the /sd-ext/app folders and you will see the same thing, both will tell you how much space you have used and have left. The way apps2sd works is by "linking" the /system/sd/app to the /data/app folder so that the Android system thinks it is accessing the /data/app it is really at /system/sd/app.
I have seen using Apps2sd cause issues with some.zip flash updates as they try to write directly to the /data/app folder which no longer "physically" exists
If you get into a bootloop issue using apps2sd boot into amon_ra recovery and try one of the follow:
1) from the Other menu option select the Fix apk uid mismatches
2) from the Wipe menu option complete a)Wipe data/factory reset b)Wipe Dalvik-cache c)Wipe SD:ext partition
So how do I know Apps2sd is on? You can run the GScript report_system_stats which will give you a printout of what fileblocks are used. You can also go to menu>Settings>Sd card and phone storage - when on space available under Available storage will be over 150mb will go down at a VERY slow rate when new apps are installed.
To Install
YOU MUST HAVE A ROOTED PHONE WITH THE AMON_RA RECOVERY PARTITION
download the base Vanilla 2.X.zip file
complete NANDROID backup
copy the .zip file to the root of your sd card
From amon_ra recovery Wipe data/factory reset, Wipe Dalvik-cache, and Wipe SD:ext partition
flash the Vanilla2.X.zip file from sd card
reboot - first boot will take a while (i.e. over 10 mins - deodexed ROMs take longer on first boot)
complete short setup and let your accounts sync
Setup GScripts
you can now one-click toggle settings at any time
-----------------------------------------------------------
Tips:
Random FC - Lower your overclock settings or turn off JIT. Our little Eris's can only do so much and not all hardware is equal... Also remember this ROM is quite fast in stock form and higher Linpack scores DO NOT make for a better user experience
If you have 50% time without signal under Settings>About Phone>Battery>Cell Standby complete the "airplane trick" by turning Airplane mode on wait just a few seconds and then Airplane mode off (search the forum for "time without a signal")
Turn off notifications for Superuser 2.3.5 from the Settings tab of the app
Pure AOSP 2.1 does NOT play wma/wmv files. I have attempted to fix, but still a work in progress. Please download "yxplayer Pro" from the market if you need wma/wmv capabilities.
-----------------------------------------------------------
KNOWN ISSUES:
autobrightness not working
camera zoom not working
trackball notify only once with message... ** (see below)
NFL Mobile from Verizon app does not work with JIT
xda dev app may have intermittent issues logging in for first time with JIT
MMS video recived issue (true for ALL known AOSP ROMs)
-----------------------------------------------------------
** If you prefer that Notifications are mapped to the LED light instead (it will continually flash to notify you, as opposed to the default trackball light, which will only flash once), you can download the following and flash in recovery:
http://zach.xtr.i6ix.com/LED-Notifications.zip
-----------------------------------------------------------
Change Log and Such
Change Log
Vanilla 2.0.4 Change log
More minor updates...
Download: http://zach.xtr.i6ix.com/Vanilla2.0.4.zip
MD5 checksum: ae9eb1cf3c67dd08ea31c8cd5ec11dfb
fixed Contacts category bug and updated contacts
fixed NAND ext backup issue by changing the mount point for sd ext to /system/sd instead of /sd-ext/ (ALL apps2sd/cache2sd related scripts and the init.rc file)
updated a number of gscripts
New userservice framework and battery tweak service now built into the custom sysinit process
added Multi-Touch browser
updated kernel (modified CFS kernel)
updated superuser (chainsdd)
updated maps
updated street
updated voice
updated market
Vanilla 2.0.3 Change log
Minor updates...
Download: http://zach.xtr.i6ix.com/Vanilla2.0.3.zip
MD5 checksum: 8a15ca3c277ceb2b6b0e4cfeff808a96
updated to newest BFS kernel
updated build.prop to enable wma (recognized, still not playing)
install Live wallpager support via GScript (Although fun ... MOST LWP DO NOT WORK WELL ON ERIS HARDWARE )
fixed set min memory GScripts
removed default overclock (run the set cpu overclok gscript to turn on)
added Gscript support to set min CPU freq value of 19200 (for you battery save folks) and max value of 748800
updated to older version of street.apk (the street view on nav) as the current sometimes displayed a half transpartent white/black overlay
updated the icon of the settings to match the new stock 2.1 icon set...
Vanilla2.0-beta
Initial release of pure Vanilla AOSP 2.1 sweetness... A BIG thanks to tenzomonk for getting this nice little ROM going!
Download Vanilla2.0: http://zach.xtr.i6ix.com/Vanilla2.0-beta.zip
MD5 checksum: d122323a996c1d0a067578c64f0b23dd
new 2.6.29.6 BFS Kernel
"Purest" 2.1 ASOP Eris ROM to date (A LOT of work went into getting everything STOCK and running smooth and reliably for the ERIS)
Rooted with current Superuser 2.3.5
Full overclock support with built in default settings of 710400
Full Apps2sd support (easy toggle with Gscripts)
Full Cache2cache and Cache2sd support - default to /cache/ which opens up close to 250mb of INTERNAL phone storage! (easy toggle with Gscripts)
Just In Time (JIT) Compiler support (easy toggle with Gscripts)
Custom sysinit process to allow user control and optimize ROM performance settings
Current stock 2.1 Vanilla apps:
Clock (with working weather)
Browser
News and Weather
Music
Gallery 3d (smooth and fast!)
Contacts (with market facebook sync)
Email
Messaging (with working MMS)
Camera
Calendar
Calculator
Added
Wireless Tether
Wired Tether
Corporate Calendar
Dev Tools
Spare Parts
Current 1.3.2 Facebook (can be uninstalled)
Quick Boot
Custom build of GScripts
Much more that we have forgotten
This build looks very nice. I am not a big fan of the dialer though. I used that dialer in the Froyo builds and don't like how it does not have smart dialing. I rely on smart dialing very extensively. May I ask what AOSP means? How does that compare to the kernel that is used in the xtrSense rom?
Thanks for all of the hard work you devs do to give us these great roms to increase the life of the Eris. I think, and have always thought the Eris is the best phone I have ever owned.
Jeff
thanks jeff! for the dialer... we didn't change anything in regards to the "Vanilla" feel. we were both just looking to get a "real" 2.1 AOSP release out
AOSP = Android Open Source Project
as for the kernel, check this post here for full details:
http://forum.xda-developers.com/showthread.php?t=772053
Downloading right now... SO excited! ......... giggity
This ROM needs live wallpapers Other than that..... I can tell this is going to be my daily ROM already, just from playing with it for like 3 minutes. Can't wait for updates!
Thanks for the rom. Everything good so far. Just one thing could you guys keep the original eris camera format. I like the old camera that takes up the entire screen when taking pictures.
sowhat808 said:
Thanks for the rom. Everything good so far. Just one thing could you guys keep the original eris camera format. I like the old camera that takes up the entire screen when taking pictures.
Click to expand...
Click to collapse
i believe you are referring to the HTC Camera. (Un)fortunately, this ROM has no HTC framework built-in...
------------------------------------------------------------------------------
as for LWP's... that's certainly a possibility moving forward
mmm Gotta Try this !! thanks !!!
Its about time Tenzo and Zac!
Question,
I've been running the 1.9 beta. Should I do a full wipe and flash?
GPS has been working perfectly for me on that version by the way.
Glad to see two great devs on one project! Thanks for all the hard work!
So we have found one bug in the set minmemory gscripts where the vales do not set after reboot... a missplaced quotation mark : (
[EDIT] fixed and will be in next relase...
Sent from my Eris using XDA App
Seanydizzley said:
Its about time Tenzo and Zac!
Question,
I've been running the 1.9 beta. Should I do a full wipe and flash?
GPS has been working perfectly for me on that version by the way.
Glad to see two great devs on one project! Thanks for all the hard work!
Click to expand...
Click to collapse
yes... you will have to wipe. we have incorporated a lot of changes, new kernel, etc. thanks for the testing! it's much appreciated! you should have no GPS issues with this release either
Awesome! Flashing now! Great work guys! Glad to see it go public.
The best of luck to you both!
Zach and Tenzo, got a question before I flash this. Since you have freed up so much internal app space, A2Sd does not seem to be really needed. Can the ROM be booted without a partitioned card (and then of course never run the script to turn A2SD on)?
Thanks
caleris said:
Zach and Tenzo, got a question before I flash this. Since you have freed up so much internal app space, A2Sd does not seem to be really needed. Can the ROM be booted without a partitioned card (and then of course never run the script to turn A2SD on)?
Thanks
Click to expand...
Click to collapse
yup... that's how i'm running it now
tenzomonk said:
yup... that's how i'm running it now
Click to expand...
Click to collapse
Super, that is how I will try it as well.
Thanks
Great job! Thanks. I just flashed it, and so far so good. I've never had to make so few pre-flash changes before.
It seems as if the contacts are being sorted incorrectly on my phone, headings are not being displayed based on first letter. The only headings displayed are "S" and "e". Not sure if this is a setting on my end or an issue with the dialer/contacts.
Great job on the ROM, I'm always looking for good AOSP ROM.
wshuman3 said:
It seems as if the contacts are being sorted incorrectly on my phone, headings are not being displayed based on first letter. The only headings displayed are "S" and "e". Not sure if this is a setting on my end or an issue with the dialer/contacts.
Great job on the ROM, I'm always looking for good AOSP ROM.
Click to expand...
Click to collapse
ahhh, you are right! good find!
they actually do sort correctly for me... but the S and E are the only "headings" shown.
will get that fixed up
you credit nfinitefx45 for his work on cache2cache but I can't seem to pull up anything with forum search within CDMA forum.

Best ICS configuration achieved(how to) :D

This thread is for helping new comer or beginners with setting up a awesome ICS configuration on their SGS.
Warning:to increase multitasking capabilities of our SGS,Swapping method is used,but by using this method,your sd card life will degrade for sure over time,worst scenerio your SD card can die,you have been warned.(you can change your SD card since it cost nothing compared to our SGS )
Ok,so i have seen people asking about the best ICS rom or configuration for our beloved SGS,so i made this all in one thread how to make ICS run smooth on our SGS.I have been installing roms like hell,tried almost all the roms present out there,finally settled at one.
This guide include installation of rom,kernel,setting up swap partition and activating it,installing mods,and some amazing apps.This can help all the begginers out there.
Definition of smooth rom for me:-
1)Atleast 5 or 6 pages of apps installed
2)Running spb mobile shel or tsf ui as home launcher(though i m in love with tw5 now a days ,but eventually will go to tsf ui,love it )
3)Can multitask games,atleast two of them,possible with the heavy launcher running in the background.
4)Decent battery life
5)Since we are talking about ICS,i would love to have it with the annoying "media scanning bug"
6)Last but not the least,Rom should have every feature and tweaks possible
awwkaayy,so Lets get to it.
Step 1:ROM
Choose correct base ICS rom,i love the stability and speed Tsunamics Rom,so i would suggest you to install that first.I am assuming that you know how to install ICS ,IF possible do a clean install by wiping everything.
Tsunami Rom 2.2
Tsunaics rom in my opinion is the most stable rom i have used,and since is based on aokp,It contains all the latest features.
Step 2:KERNEL
Since we need a multitasking rom,we need a kernel with swap support.
So devil kernel is the one for that.Grab the latest kernel from here.
Devil Kernel
recovery->wipe cache->wipe dalvik cache->install Kernel.
Step 3:Setting up swap(most important)
For the starters,those who dont know what is swap,just say that its a way to increase your ram by partitioning your externel SD card and reserving some space with can be used as ram when needed.The partition used is Linux swap.
For help on partitioning your SD card,Please refer to the following link:
(Tip before you go to that link.Dont make ext partition since it is for a2sd,and we dont particularly need that,just make a swap partion of 512 mb,Its enough for our SGS)
http://forum.xda-developers.com/wiki/SD_card_partitioning
After doing that,go to this link and grab that attached zip.
NOW,
Reboot into recovery with your external sd card inside your phone,and install that zip you just downloaded,and it will show succes if everything goes well and if you did everything as told.Now your swap partition is activated with swappiness value 60.Dont reboot just now,Go to next step.
whats swappiness???google it,60 is the optimum value for it.
Step 4:Setup kernel profiles according to needs
Before rebooting setup up your kernel fully so you dont have to reboot again
i use following configuration.
Recovery->Devil->Performance setting->Smooth settings
Recovery->Devil->misc->Vibrator intensity->Low
Recovery->Devil->Misc->Wifi mode->PM_fast mode.
Done.
NOW your Rom,Kernel,Swap partition is all set up,Enjoy multitasking rom with awesome speed and stability.
To check Swap partition is working or not.
Go to terminal
type su then enter;
type "free" then enter;
It will show you the usage of your swap partition if everything went well.
Step 5:MORE Important tweaks
Most Important one:Correcting Media Bug problem
since on almost all the ICS roms,Eventually this media scanning bug comes up atleast for me,Install Rescan media app from market.
And use it when you get doublets or triplets in your gallery and music player.It comes in handy .
First one:
Flash modem according to your place if you aint getting good signals.i use ZSJPG
since it works best in India.
Second:
Go to Setting->Tsunamics Control->Performance->Scrolling cache->Force disable.
Third:
Settings->developers options->Force gpu rendering->tick;
Step 6:Recommended apps and settings
First:Install Voodoo Control App and set the following config
Headphone amplifier: -3;
bass boost:enable;
gain: +7db;
Dynamic Range full;
color profile:voodoo profile;
Screen RGB multiplier:
RED:2309122400
Green:2309122400
Blue:2701672960
Screen v1 Gamma Hack:
Red= -38;
Green=-41;
Blue=-32;
Tip: if you get green tint,do the following:
keep on increasing V1 gamma hack sliders by 1 or 2(al three of em)
untill you stop getting green tint while locking and unlocking.
Second:Updater app
go to setting->update me->Launchers->download latest touchwiz Ux and flash and reboot.
go to setting->update me->fonts->choose your font and flash.
i use comic sans,looks cool
IN THE END: peace and fun
Now you have ICS on your sgs with bloody lot of customization thanks to AOKP base,a optimized system thanks to robingrg from anroidiani.com,sexy multitasking capabilities thanks to DerTeufel1980 for providing support for swap partition,and system is bloody fast now because of all the above people and tweaks.
Tips:
Important apps recommended to install:
*Quick Desk pro,Sexy app for multitasking,get it and check it,its awesome and cool like
*Battery calibration app;
*Camera ICS;
*Samsung keyboards(Use updater app for it);
*Mx Video Player since we all need a decent video player in the end.
*PowerAmp music player:trust me you can not get more better music quality then this,its just amazing and out of this world music app
*A Decent Task manager,since your ram has been increased virtually so there will be a lot of background apps running
*GO sms Widget,go for reading and replying from home screen only.
*Go power master:nice app for your battery and provide power widget which can expand completely showing all the on off switches,try putting it over Quick Desk pro.
uummm what left????i will add if something comes to my mind...
i guess thats it...
enjoy
okh yep credits
*Samsung for SGS
*AOKP team for base
*robinrg from androidiani for sexy rom
*DerTeufel1980 for his awesome kernel
*bitblaster for his swap partition detecting script

[ROOT and UNLOCKED BL] Redmi Note 4 / MIUI 8 Ultimate Multitasking fix

Tested on latest xiaomi.eu rom
BEFORE STARTING ALWAYS REMEMBER TO BACK UP THE FILES YOU ARE ABOUT TO EDIT
I AM NOT RESPONSIBLE FOR ANYTHING BAD THAT HAPPENS OKAY
I WISH THIS WERE POSSIBLE ON NON ROOTED PHONES BECAUSE I UNDERSTAND THE PAIN OF HAVING BAD MULTI TASKING
NOW LETS GO
1. Make sure phone is BL unlocked and Rooted
2. Flash latest Xiaomi.eu rom and make sure you have root (via superSU or whatever root app of your choice)
3. Install FX file explorer and FX root add on
4. Go to system/etc and find a file named mcd_default.conf
5. edit the file and delete the lines that are shown here highlighted
open image
6. Save file
7. Enable developer options
8. Find memory optimization and set to HIGH and Reboot
9. Wait for phone to boot back up
10. Go to Developer options in settings and Disable MIUI optimizations and Reboot
11. Install kernel audiotor and go to low memory killer option and select very light and enable "apply on boot"
12. Reboot
13. Go to fx file explorer and go to system/build.prop and edit the file - find the line persist.sys.whetstone.level=2 and change it to persist.sys.whetstone.level=0 and save file and reboot
14. Test it out yourself
EXPLANATION
Basically the lines that are deleted in the mcd_defaullt.conf makes sure that ALMOST ALL APPS are killed whenever you launch a system app like PHONE, MESSAGING, GALLERY. In AOSP roms this is not the behaviour, instead AOSP picks the least used app or the earliest app used to be killed when LMK (Low memory killer) values are reached. Deleting the lines brings back this AOSP behaviour. Benefit of MIUI is you can LOCK APPS IN MEMORY using the task manager/recent and now MIUI will kill the earliest used app in the recents/task manager that are NOT locked.
EXPLANATION NUMBER 2 REGARDING CHANGING LMK BEHAVIOUR USING KERNEL AUDITOR
The stock LMK values are not set by xiaomi or MIUI, instead it is automatically generated by ANY AOSP rom because it uses a ratio system. If the ram is big (like ours 3gb) than the ratio values will be higher. MIUI or Xiaomi should have fixed this but they didnt. SO PLEASE CHANGE THE LMK VALUES IN KERNEL AUDIOTOR
EXPLANATION NUMBER 3 REGARDING WHETSTONE
Don't uninstall or freeze this app. IT DOES NOT HELP OR AFFECT MULTITASKING AT ALL. DELETING IT WILL DISABLE MEMORY OPTIMIZATIONS
REMINDER
MIUI is a very RAM hungry OS so please dont expect a lot of free ram but unused ram is wasted ram anyway
Ok, first of all i just want to thx for this guide... but... it's not working.
Redmi Note 4 with MIUI EU 8.1.3.0 Stable.
I tested it for about 1day and here are my feedback:
- Phone hangs and become unresponsive quickly. I kill all apps, but still lags. If i restart the phone, then is ok for a while...but after i open again some apps, games, will die in huge lagging.
- Camera lags, google play lags, facebook lags.
- Fingerprint unlock have 1-2 sec onds delay. Never ever have this problem again.
- Battery is the same, no improvements here.
I finished after one day, restoring my backup.
I done all the steps, exactly in your way and your order. My feeling is that memory are not fully released, even if i kill all the apps.
I will test next every part in this guide, independently, to se how is doing...
x3m.zone said:
Ok, first of all i just want to thx for this guide... but... it's not working.
Redmi Note 4 with MIUI EU 8.1.3.0 Stable.
I tested it for about 1day and here are my feedback:
- Phone hangs and become unresponsive quickly. I kill all apps, but still lags. If i restart the phone, then is ok for a while...but after i open again some apps, games, will die in huge lagging.
- Camera lags, google play lags, facebook lags.
- Fingerprint unlock have 1-2 sec onds delay. Never ever have this problem again.
- Battery is the same, no improvements here.
I finished after one day, restoring my backup.
I done all the steps, exactly in your way and your order. My feeling is that memory are not fully released, even if i kill all the apps.
I will test next every part in this guide, independently, to se how is doing...
Click to expand...
Click to collapse
u have to use the latest xiaomi.eu rom
the stable 8.1.3.0 has a bug where the dev still classified the rom as having 2gb of ram only (we have 3gb variant as well) (i read this somewhere i forgot where) and the latest china dev xiaomi.eu rom has this bug fixed for our device. Try this tweak with memory optimization on LOW but remember use the LATEST xiaomi.eu rom. Phone is working wonderful on my device
also try freezing battery saver via Link2SD. This is the only other thing I have changed on my device
x3m.zone said:
Ok, first of all i just want to thx for this guide... but... it's not working.
Redmi Note 4 with MIUI EU 8.1.3.0 Stable.
I tested it for about 1day and here are my feedback:
- Phone hangs and become unresponsive quickly. I kill all apps, but still lags. If i restart the phone, then is ok for a while...but after i open again some apps, games, will die in huge lagging.
- Camera lags, google play lags, facebook lags.
- Fingerprint unlock have 1-2 sec onds delay. Never ever have this problem again.
- Battery is the same, no improvements here.
I finished after one day, restoring my backup.
I done all the steps, exactly in your way and your order. My feeling is that memory are not fully released, even if i kill all the apps.
I will test next every part in this guide, independently, to se how is doing...
Click to expand...
Click to collapse
also thanks for feedback which is very important in testing tweaks
asusm930 said:
u have to use the latest xiaomi.eu rom
the stable 8.1.3.0 has a bug where the dev still classified the rom as having 2gb of ram only (we have 3gb variant as well) (i read this somewhere i forgot where) and the latest china dev xiaomi.eu rom has this bug fixed for our device. Try this tweak with memory optimization on LOW but remember use the LATEST xiaomi.eu rom. Phone is working wonderful on my device
also try freezing battery saver via Link2SD. This is the only other thing I have changed on my device
Click to expand...
Click to collapse
I use EU Stable 8.1.3.0 ROM for about a week and never had problems or any bugs. None!
I will try this again on EU Dev 6.12.15 today to see how is doing...
x3m.zone said:
I use EU Stable 8.1.3.0 ROM for about a week and never had problems or any bugs. None!
I will try this again on EU Dev 6.12.15 today to see how is doing...
Click to expand...
Click to collapse
I just tried this just now on a clean flash of latest EU ROM
1. memory optimization on LOW
2. Use link2sd to freeze battery optimizer app
3. Delete this line from mcd_default.conf in system/etc directory https://drive.google.com/file/d/0B_Q4QjvbODxoS2RnRmRWTDk3TE0/view?usp=drivesdk
4. Set LMK Low Memory Killer value to medium on Kernel Auidotor
And thats it with the same result as my previous tweaks. I think this will resolve the lag that you are facing
Ignore my previous steps on this thread and follow these new ones. Good luck

Categories

Resources