[HOW TO] Enable better multitasking on Stock ROM - LeEco Le Max 2 Guides, News, & Discussion

Hi all!
As many of you have noticed, the multitasking on Stock ROMs is not that great, especially if you are coming from some custom ROMs like CM, etc. The thing is that if you want to recall an app that was closed 5 minutes ago, it has to be started again. To change this it's very easy by editing the build.prop file.
Requirements:
- Stock ROM or stock based, maybe others but I doubt that this isn't included within
- Root
- File manager/ Root explorer with text editor
Instructions:
1. Navigate to /system, find the build.prop file and copy it to /data (just as a backup).
<<Later on if you will face any bootloop/troubles, restart the phone in TWRP, go to file manager and simply copy the original build.prop from /data to /system and overwrite it.>>
2. Open the build.prop in /system with a text editor and at the bottom, add the following lines:
sys.config.spcm_enable=false
ro.config.fha_enable=true
3. Save your modifications to the file and before restarting, check the permissions again to be correct (rw-r--r--).
4. Reboot.
That's it. Enjoy and report if you notice any strange behavior. Normally it shouldn't be any, but who knows...
DISCLAIMER: Do this at your own risk. I will not be responsible if something bad will happen.

Can you explain wat exactly those lines doing? What is different in the multitask experience / behavior? Many thanks

If you'll open up Chrome, go to a webpage, then press the home button and go back to Chrome again. In most cases you'll notice that it starts reloading the page. I've noticed that a lot of apps are restarted/refreshed after a short time if I leave them in the background and mostly you never get to the same point where you left off in the app.
I'm not a programmer and I just saw in S6 edge+ forums how to improve multitasking: http://forum.xda-developers.com/s6-edge-plus/general/root-ram-management-multitasking-fix-t3228917. As you can read there, the guys are changing plenty of values, but at the suggestion of member @citytrader who changed only 2 lines, I tried this in my Le Max 2 and it worked pretty well. Somehow I don't have the redraws that I had before. Battery life seems unchanged. No lag (there was none before as well), but the most important thing no more redraws (with some small exceptions but in any case, far less than before).
You can find articles/threads on xda about spcm and fha/dha.

I think the reason for that is that EUI is pretty agressive in closing apps to save battery.
Did you try to lock the app so its doesnt close.

Locking the app does not help. As you said, EUI is pretty aggressive at RAM management. I'm pretty sure that you have viber/whatsapp locked but if you switch to 2-3 apps and then come back to viber for instance, the app is redrawing.

Related

The Tweak Thread (Advanced Eris Stuff) minor update 10/30/10

Hey all i created this thread for ADVANCED users (and some newbies lol) so that i can better help users tweak and improve performance on their eris. My inbox was getting crazy so i thought this would be better i will still take pm questions but it would be better if we can all learn here. This isn't really a place to report bugs as it would be better to contact your respective developer or post in that developers thread. I will try my very best to get the best performance out of your eris and hopefully we will have some fun along the way. So hopefully this can help take some of the load off of the developers threads and reduce noob-age.
I ONLY ASK THAT IF USERS WANT TO TWEAK I STRONGLY RECOMMEND THAT YOU EITHER..........
1) PURCHASE ROOT EXPLORER FROM THE MARKET OR THE FREE ESTRONGS FILE EXPLORER APP FROM THE MARKET WHICH ALSO ALLOWS ROOT ACCESS AS WELL.... BUT I THINK ROOT EXPLORER IS BETTER IMHO.
2) HAVE ADB SET UP FOR YOURSELVES AT HOME OR KNOWLEDGEABLE OF ADB. I WILL NOT HELP YOU SET UP ADB OR THE SDK
ALSO I RECOMEND PURCHING THE FULL VERSION OF TITANIUM BACKUP AS IT IS AN INVALUABLE TOOL FOR ROOTED USERS AND MAKES BACKING UP AND TWEAKING MUCH EASIER FOR NEWBIES PLUS IT HAS SOME REALLY AWSOME FEATURES
so hopefully this will give us fun things to do in between releases from our devs. And always remember to donate to these awesome awesome eris devs for their hard work and commitment to us.
i want to keep an open discussion thread, nothing is off the table.
kernels
kitchens
cooking
roms
tweaks
hacks
apps
fixes
workarounds
you name it lets talk
lets figure it out together while learning along the way
Things are always changing so if you see any errors or things that need to be updated please let me know and i will be more than happy to get the correct information posted.
Moving apks and deleting dulicates...make your system efficient
YOU need either rootexplorer OR be ADB inclined to do the following....
i was thinking while doing some root exploring of ways to make this rom more solid and here are a few tips i thought everyone could use.
IF YOU DONT HAVE DUPLICATES DONT KILL YOURSELF SEARCHING JUST CONSIDER YOURSELF LUCKY. AND YOU DONT NEED THIS POST
FIRST
when i flash a Rom i always do my set up. here is an overview of what i do when i flash........
-i flash the Rom
-then i login to google as normal so i can receive Titanium Backup (TB) and Root Explorer (RE) from the market updates
if someone could be kind enough to give us a sample command to use terminal to install apps from the sd would be a great shortcut for us
-move those two apps from data/app to system/app
-then i do a full wipe (huh a full wipe you say....system files are never wiped....they can only be flashed over, so TB and RE will still be there)
-clean nand (so if you get crazy and screw up you can easily start over)
-Rom surgery
-Restore
-login to google last and sync
-batt tweaks and extras
this process IMHO makes your rom way more efficient than flashing, login and syncing.
OK
first thing i do when i flash a rom is to remove junk
i navigate with either explorer to system/app folder
then i remove all the useless apps i dont use, need or want
AND/OR remove the "ONE USE" apps (like setupwizard.apk only need it once or none at all if your a pro )
this reduces the ROMs footprint making it smaller
the smaller the Rom the better the faster
here are some things i like to rip out of system/app folder....
ADWLauncher.apk (make sure you have another launcher first i use lanucher pro)
Mail.apk (i use gmail)
Twitter.apk (i currently dont tweet)
ProTips.apk
HtcCalibrate.apk (after i calibrate of course)
Launcher2.apk(why have a bunch of other launchers you dont use hogging memory get rid of them)
MagicSmokeWallpapers.apk (this dont work for me but other do)
Carhomegoogle.apk ONLY
etc. there are others you can remove as well depending on you
and we will experiment to find more......
NEXT
i like to move IMPORTANT apks or apps from the data/app folder to the system/app folder epically if your Rom dev has not updated the gapps lately or you cant get access to the latest gapps.zip.
if you do not then you will end up with a lot of duplicate apps installed in your system when ever you receive a gapps update and that wastes memory and will cause memory issues in the future and it screws with autokiller
i like to move my favorite launcher (launcher pro paid) to the same place where launchers go, in the system/app folder (why have your launcher where regular apps go and get killed by autokiller) i think this is better for the system and doesn't hog your app data space plus it adds stability to your launcher.
here are some things i like to move into system/app.....
i like move into system/app are
launchers (stabilze launcher)
keyboards (should speed up keyboard strokes)
root tools and IMPORTANT apps (R.E. T.B.)
security apps (never deleted or wiped in case of theft, hoping thief is not nerdy)
any of the latest gapps update
and some others
this way if any issue occurs wipe and restore is easy as pie
IMPORTANT: APPS IN THE SYSTEM FOLDERS DO NOT GET WIPED OR DELETED DURING A FACTORY DATA WIPE OR DALVIK WIPE.....THEY CAN ONLY BE FLASHED OVER BY A ROM(OVERWRITTEN)
APPS IN THE DATA FOLDERS WILL GET DELETED DURING A FACTORY WIPE......BUT NOT DALVIK
i know we are ALL have at least one pair of identical (double apks in the system)
-but the identical apks have different names
-on is in data/app the other is in system/app
if you have updated ANY google app then chances are that you may have some double apps on your system wasting. when we update these google apks 'think' the rom comes with the apk already and is stored in the protected system/app folder WHILE the actual update is stored in the data/app folder (or where regular apps go) under a different name
EXAMPLE
google maps
-MAPS.apk ........is stored system/app
-com.google.android.app.map-1.apk........is stored in the data/app (this is the latest update of google maps and should replace the older MAPS.apk in system/app)
-these are the SAME APKs
hmmm so think gmaps is 5-6 megs in size and you have 2 of them so thats like 10-12 megs in your system, get rid of the old one.
there are two thing you can do here with two different benefits
-you can either remove the copy from either the data OR system folders depending on what you prefer.
if you remove the old app from system/app that means easier updates with now file moving BUT less app storage
OR move from data/app to system/app which means less FCs, more other app memory, and dealing with future updates and moving each app.
i like to move the new apks to the system/app where they belong
unstable Launcher PRO
my launcher was very unstable for a while wasn't a big deal for me
soo i decided to move my launcher to the system/app folder like all the other launchers....
I think the instability of that launcher was because of AUTOKILLER thinking this is just a regular app in data/app which it was at the moment. i may be wrong but autokiller doesnt kill system apps. so i move my launcher there and guess what now my launcher is much better and faster and stable beacuse you now have lots more memory.
SPEED TIP: in spare parts speed up your transition and animation windows to FAST
MOVING APPS ADVANCED SHORTCUT
i finally figure out a great short cut for moving apps
-first rename and put your favorite file manager (ROOT EXPLO) onto the sd.
to be even faster rename and put your launcher and TB on there too.
-after flashing a rom bypass the setup (touch the android screen) to home screen.
-open terminal
-type
SU
cd sdcard
busybox install yourapp.apk /data/app
-now you have the file explorer ready to go
instead of trying to restore wipe restore.
and hopefully you know what to do next.
so to summarize...
-get rid of junk you dont use and free up that memory
-move apps to the proper locations in system/app AND/OR data/app
-make sure you dont have multiple google apps using different names
"MAPS.apk" and "com.google.android.app.map-1.apk" IS THE SAME APP IN DIFFERENT LOCATIONS. remove the old and put the new in system/app
make sure your main launcher is in system app so it doesn't keep getting killed by auto killer settings and reloading
Replace THESE apps = with THESE apps
system/app = data/app
Gmail.apk = com.google.android.apps.gm-1.apk
ChrometoPhone.apk = com.google.android.apps.chrometophone-1.apk
Maps.apk = com.google.android.apps.maps-1.apk
CarHomeGoogle.apk = com.google.android.carhome-1.apk
GoogleSearch.apk = com.google.android.googlequicksearchbox-1.apk
Googles.apk = com.google.android.appsunveil-1.apk
SuperUser.apk = com.noshufou.android.su-1.apk
AutoKiller = com.rs.autokiller-2.apk
TitaniumBackup = com.keramidas.TitaniumBackup-2.apk
Twittter = (forget)
Voice= com.google.android.apps.gv-1.apk i think
YouTube=
delete OLD in system/app = move NEW from data/app to system/app
YES i did all those with success more memory and speed and a massive increase in overall Rom stability
there may be more
BUT ALL THESE HAVE DUPLICATE APPS USING DIFFERENT NAMES stored in data/app and/or system/app WHEN the latest update should be system/app IMHO to prevent AUTOKILLER from always killing i believe autokiller will try to kill data apps first before system apps.
i still have my auto killer set at optimum and things work even better now
and i gained 25mb of system memory no more Force closes
Batt tweak custom set up process (a 1-2 day process to complete)
How to increase battery life
first off battery life depends on many factors.....
where you live, work, and the daily place you travel to.
im one of the lucky ones who has a cell tower down the street from me here in S. FL.
WARNING: IF you multitask alllllll day on your phone then this is not for you.This is more beneficial when your phone is at rest or in an idle state or screen off state.
Others may not be so lucky and may live in a bad signal area....which causes your phone to constantly search and listen for signals.
Also battery life could depend on the widgets you use or apps that you have active.
Example: Beautiful Widgets beautiful home is a constantly running app that also
-on occasion activates the GPS to acquire location
-on occasion downloads update weather data
Example: Facebook Widget
-by default update statuses every 15 minutes, so every 15 minutes its downloading data
so i usually adjust these settings to my personal liking
Now for the battery calibration process and how it works
Decad3nce port of Colins_ph batt tweak allows us to use some setcpu profiles without setcpu.
Setcpu and its widgets were resource monsters crippling our system and drain battery life as well. kiss setcpu goodbye we wont be needing it anymore.
the batt tweak calibration process takes some patience as the entire process could take 1-3 days to complete depending. Also i highly recommend using the latest CFS kernel by Conap as it provides extra battery savings
we will be running colins batt tweak during the calibration process so that both calibrate together, which makes a lot of sense as opposed to doning them separately.
here is the process and DS's custom settings for batt tweak 1 (the first release)
please remember to prepare yourself not to interrupt the process. the draining process may die while you are at work or during an emergency. so be prepared to have little use of your phone.
-flash latest CFS kernel found here
-flash batt tweak attached at the bottom of this post until its updated and fixed....more info in thread here
-turn off phone and let charge for a few hours or more to ensure that it is full
-when ready boot into recovery mode and wipe the batt stats and power off
-unplug phone and power on (charging cable not needed) you may experience weird battery levels or fast draining (this is normal)
-immediately open TERMINAL and activate colins_ batt tweak
with command batt-cfg and go to option 3 and input these settings........
I think this works much better
this schedueler keeps the cpu much lower
here if anyone want to try it out
underclock
ondemand
anticipatory
19200
710400
19200
710400
19200
710400 (ONLY IF YOU KNOW YOU CAN 768000)
90
15
15
15
- close terminal and operate phone normally if you want...i highly suggest leaving it alone as much as possible until it drains completely dead.
-use a cpu monitoring app just to make sure the cpu is idle i have seen mine dip down 80mhz if not then you need to kill active open apps
-let phone naturally drain completely until its dead (could take a full day or two mine was 48hrs with some usage)
-when dead make sure by pressing power rapidly a few times
-while off let phone recharge for as long as possible maybe four hours or more the mor the better
-when ready unplug phone and turn on
-when powered on reactivate batt tweak using terminal batt-cfg, then option 9 to save and your done (once setup all you need is option 9 to save and reactivate)
-wtf DS my phone is on but reads less than 100% battery. this is normal replug while on and let charge to full
- when full the process is now complete and you can use phone as normal
REMEMBER THAT SOME ROMS DO NOT ACTIVATE THE TWEAK AND YOU WILL NEED TO DO SO UNTIL YOUR DEV AS ADD THE SCRIPT TO ACTIVATE ON A REBOOT. SO UNTIL THEN OPTION 9 IN BATT TWEAK WILL DO THIS
use an app like system panel or seepu to look at cpu speeds make sure the cpu isnt running at 100%.
try to close apps if you see this but a reboot usually fixes this.
these settings allow for the cpu to use lower clock speeds when idle. much lower than the stock 245000 settings yes were going to the minimum 19200 with little to no side effects or slow downs, but the benefits are more when in a idle state. But it WILL drain at about same rate when your using it heavily.
make sure the tweak is running by either opening terminal and enter pidof batt.sh you should see the processing id number if its running.
OR for a full read out of stats do batt-diag
and observe the time in state read out at the bottom. if you see values next to the 19200 clock speeds........SUCCESS!
PS if you screen on time is 3 hours and your phone is dead, DONT BLAME THE BATT TWEAK....BLAME YOURSELF !
ENJOY
alright now lets get some real stuff in here....lol
jdog94 said:
alright now lets get some real stuff in here....lol
Click to expand...
Click to collapse
just trying to a make a nice neat place to put all my post on past tweaks for users and to do some advanced stuff in the future stay tuned
DS36 said:
just trying to a make a nice neat place to put all my post on past tweaks for users and to do some advanced stuff in the future stay tuned
Click to expand...
Click to collapse
good, i need this!
Great idea"!"!!
HAI! Hau do i route mai fone? I wantz haxorz warez an wireles heatherin fo free intanetz!
So seriously, is this a fan-club for DS? I'm totally in if it is.
sticktodrum said:
HAI! Hau do i route mai fone? I wantz haxorz warez an wireles heatherin fo free intanetz!
So seriously, is this a fan-club for DS? I'm totally in if it is.
Click to expand...
Click to collapse
LMAO can you please please be my threads personal comedian
Keep this thread development related or Ill move it to General, Is this a support thread or something? Something about tweaks?
Its all about me
Captainkrtek said:
Keep this thread development related or Ill move it to General, Is this a support thread or something? Something about tweaks?
Click to expand...
Click to collapse
this is a thread to help old and new users tweak and mod their phones and other advanced stuff
trying to put all the knowledgeable stuff in to one easy thread and it will be dev related
im just started this thread im not done i have lots to do here
my in box is getting a little crazy
this should benefit all and provides basic dev techniques and instruction
this is the beginning stages
plus should reduce the number of faqs for everyone
less fights
less arguments
and less captainrtek (but thats not a bad thing)
DS36 said:
this is a thread to help old and new users tweak and mod their phones and other advanced stuff
trying to put all the knowledgeable stuff in to one easy thread and it will be dev related
im just started this thread im not done i have lots to do here
my in box is getting a little crazy
this should benefit all and provides basic dev techniques and instruction
this is the beginning stages
plus should reduce the number of faqs for everyone
less fights
less arguments
and less captainrtek (but thats not a bad thing)
Click to expand...
Click to collapse
Haha gotcha, and thanks
Thanks in advance, DS.
roirraW "edor" ehT said:
Thanks in advance, DS.
Click to expand...
Click to collapse
Looking forward to working together with everyone learning along the way.
Will be post new batt tweak setting in the morn keep an eye out
Do not up date to the latest version of batt tweak it doesn't work.
Sent from my FroyoEris using XDA App
Brilliant.
sticktodrum said:
HAI! Hau do i route mai fone? I wantz haxorz warez an wireles heatherin fo free intanetz!
So seriously, is this a fan-club for DS? I'm totally in if it is.
Click to expand...
Click to collapse
Lol I haz cheez burger
Sent from my FroyoEris using XDA App
rick311 said:
good, i need this!
Click to expand...
Click to collapse
hey man are you ready
im going to post in the third POST what i have written down so far
but its NOT complete yet....so take a gander
DS36 said:
hey man are you ready
im going to post in the third POST what i have written down so far
but its NOT complete yet....so take a gander
Click to expand...
Click to collapse
ok, i did all the setting tweaks that you recommend. do i have to input them every time i reboot? i dont see a setting that restores my previous settings.
Hey DS,
Great idea to help newbs like me! So after reading your first two posts I looked where my apps are, and every one of them seems to be in system/app... I checked in data/ and can't see anything in there (unless it's sdcard/data, in which case I have folders for Beautiful Widgets and Titanium). I'm using the EStrongs FE, although I don't think that would make a difference. Also, couldn't find any of the duplicate apps you were talking about either (I only have com.google.android.apps.maps.apk, for example). I'm on xtrROM 4.6 and used Titanium Backup to restore my apps.

CPU maxing @ full speed, 100% load after 24-48 hrs? FIX FOUND!

First off, I cannot take credit for finding this, I was referred to a bug report thread on the Google Android site by XDA user aweaver33, who I thank VERY much for pointing me on the right direction.
So, several of us have had this issue with various custom kernels, where after typically 24-48 hours, the phone would slow to a crawl. If you were to open an app like System Panel, you would see that the CPU load was pegged at 95%+, and speed would be maxed out. You would also see that the process using all the CPU is Android System.
The problem has to do with the file "time_in_state", which literally keeps track of how much time the CPU spends at any given speed in MHz. There is a limit to the size this file is supposed to reach, 256 bytes. Once it exceeds this size, the next time Android tries to access it, it flips out and gets stuck trying, and pegs the CPU. A lot of devs and users blamed SetCPU, and it is true that SetCPU does have an EFFECT on this issue, it does NOT cause it, and indeed the issue can occur whether SetCPU is installed or not.
The issue is brought on by custom kernels that add additional frequency steps for the CPU to choose from, which causes that log file to grow. Which is why older or stock kernels will not cause this. Some ROMS incorporate a workaround so you may not have this issue.
Anyways, the issue is explained better in the link aweaver33 gave me. I will link to the original thread I posted with the conversation we had and the link he gave. I can confirm that, using the info he gave me, the issue has been fixed. I am currently just over 120 hours of uptime with no problems.
Here is the link: http://forum.xda-developers.com/showthread.php?t=1082363&highlight=stock+kernel+gpu+
EDIT: attached the script files for those who want them. You can drop one or the other (NOT BOTH) in /etc/init.d if your rom has this folder already (creating the folder and adding it won't work), or you can download Autostart (root) from the market for free, and drop the file in /data/opt (create the opt folder). This difference between the two is one runs only once at boot, the other runs every five minutes. If you use SetCPU, you need the one that runs every five mins, as every time you open SetCPU it resets permissions on the time_in_state file.
flashable zip? not everyone is comfortable with code and scripts
If I knew how, I would. I wasn't even comfortable with it. But I was so tired of the locking up, I was willing to try anything (after a Nandroid of course). I'm not sure you *could* do this in a flashable zip. I can post the script I'm using. It only runs once after reboot, unlike aweaver's, which runs every five mins (good if you're using SetCPU, as opening SetCPU resets the permissions of the time in state file).
This script should work if dropped into /etc/init.d. *If* your ROM has that folder by default. Mine does not, so I had to download a free app from the market called Autostart which is free and very small. For that app you create a folder in /data/ and drop the script in there.
Sorry guys but I'm no dev so this is the best I can do, maybe someone else can make it flashable?
would it also be fixed by simply deleteing the log file as well rather than setting it to unreadable
It can't be deleted. System instantly replaces it.
bast525 said:
It can't be deleted. System instantly replaces it.
Click to expand...
Click to collapse
:/ i suppose when it is replaced it would be with a fresh one deleting would fix it for 24-48 hours till it got filled again humm i wonder if a script could be auto executed every 12 hours to delete it rather than just make it unreadable.
Do you know if it is a problem in gingerbread as well?
mirrin said:
:/ i suppose when it is replaced it would be with a fresh one deleting would fix it for 24-48 hours till it got filled again humm i wonder if a script could be auto executed every 12 hours to delete it rather than just make it unreadable.
Click to expand...
Click to collapse
I don't think you can delete it. I can't figure out how to.
mirrin said:
Do you know if it is a problem in gingerbread as well?
Click to expand...
Click to collapse
Issue 9733 is still listed as New, so either Google hasn't fixed it in Gingerbread or they just don't bother statusing their bug reports.
Why do you feel the need to delete it? If you are trying to delete it, you are likely using Root Explorer. Why not just use that to change the permissions of the file? Tap and hold, select permissions, and unchecked all permissions except for the top left one. This will stop the bug, but the permissions will be reset after a reboot, or after opening SetCPU.
I imagine that deleting the file might actually cause FC's or may cause the same bug but I dunno since it wont delete.
dyetheskin said:
flashable zip? not everyone is comfortable with code and scripts
Click to expand...
Click to collapse
I've never created a flashable zip before, but I'd be willing to look into it if the demand is really there. The problem I see is that I'd have to make certain assumptions about how everybody's ROMs are configured. It looks like the most portable approach would be to append a line to the end of /bootcomplete.inc.rc. Do people really find it easier to boot into recovery and flash a zip than to add one line to a file themselves? Personally, I'm always hesitant to flash a zip other than a full ROM because I'd be uncertain how it interacts with other changes I've made to my system.
Inc is
not bad
But. 48hours?
Sent overrow from my Optimized Inc using XDA App

Westcrips v8.4 Ressurection -> Discussion

Post updated to reflect current version.
OK.. I'm mainly posting this here because my PC is too low to post in the dev thread.. and I think its best to leave that thread to dev discussion...
First impressions:
Installs quite smoothly and pretty fast.
My install method (in case its needed later)
- Back up and copy to pc
- Complete wipe to stock gb. Root gb and install cwm
- Copy ressurection 8.1 zip to SD card
- Reboot to cwm
- Format data/cache, dalvic cache, system and battery stats
- Reboot to cwm
- Select resurrection 8.1 zip and install. Takes about 5 min
- Reboot to recovery and factory reset (probably not needed but did it to be safe)
- Reboot normally and let system boot up. Takes 3-5 min on first boot
Now on to the fun stuff... on first boot I set up language, clock wifi account etc.
I selected and only use nova... I like it better than trebuchet.
Gmail notification crashes Google accounts right off the bat. This is persistent throughout 3 installs. Seems to work fine after initial crash.
Once SD card scanning and such finishes, i disable fast dormancy (*#*#9900#*#* for menu) thenI reboot normally.
Open market, works fine.. install some primary apps... titanium backup & pro key.. better battery stats, root explorer and LCD density monitor pro.
Set dpi to 160 to give me better screen real estate.. then reboot normally
I'm about 11.5 hours on battery and 83% battery with light to moderate use.. I disable mobile data stuff unless I need it, and generally keep wifi active most of the time..
Overall most things run very smoothly. Some apps don't seem to close properly when killed but I assume its due to those apps.
System does get laggy if a lot of apps are open and sleeping.. I use ATK pretty often to keep things smooth...
Problems I've run in to so far...
This one is pretty big I think... when using flashlight from notification panel, if I leave it on until it times out, my phone completely freezes and I have to long power press to reboot or remove battery to get system rebooted. This is persistent and replicated every time I tried.
Gmail app crashes about 30% of the time. Seems completely random. I'v disabled Gmail notification due to this.. (doesn't crash google accounts like above, just the gmail app)
When holding phone I can feel a very very faint vibration coming from the back side up near the camera.. it pulses about once every 2 seconds. You have to very lightly touch the phone to feel it.. like barely touching it. Not sure if its just mine but its very noticeable if you hold it right. Not sure what's causing this.. doesn't seem to affect anything and phone isn't overheating so I can't give more info...
Random reboots are something everyone is aware of so not commenting there. Nova does hang sometimes for 5-10 seconds. Probably due to this being a dev release and such things are expected.
I'll update more if/when I run in to other issues that people haven't really commented on...
Sent from my GT-I9100 using xda premium
android.acore process keep FC..really disturbing..
it bcoz of auto sync and i hope someone have a fix on this
I think v8.2 is the best among Westcripts ROMs. because of the least FC.
V.8.3
Flashed since yesterday , very stable , no FC's at all, however there is an USB problem , PC won't recognise the devised the way it was in previous versions. Nevertheless I believe it's a ICS bug as I found same behaviour in other Roms as well.
Not bad so far using 8.3
I noticed in his dev post he said that official ICS doesn't have blue coloured wifi/signal bars but I've used my friends nexus & his definitely has blue coloured wifi/signal bars when in use.
Everything else seems pretty smooth at the moment.
Looks like this problem with blue bars has been resolved in 8.4 Currently downloading (check change log).
Not being funny, but is there not a thread in the Development section to discuss this rom, surely creating another, just fragments the chefs build
THUDUK said:
Not being funny, but is there not a thread in the Development section to discuss this rom, surely creating another, just fragments the chefs build
Click to expand...
Click to collapse
Would have posted my thoughts there but I don't really want to spam 10 posts just to be able to :/
Downloading/Installing 8.4 now
SMe too.. I have flashed the new version and it seems fine. I haven't checked the GPS yet. What I want from this rom is
T9 dialer in aosp theme
Full screen call id like aosp
Aosp boot
THUDUK said:
Not being funny, but is there not a thread in the Development section to discuss this rom, surely creating another, just fragments the chefs build
Click to expand...
Click to collapse
Well actually, that thread is supposed to be for development discussion only; not for general Q&A 'how do I do this or that' like it has been. Which means, if people actually adhered to the rules, using this thread for all the 'HALP' posts would likely make development a lot easier for those working on this particular project. The less spam he has to sift through, the more actual development related posts he can focus on.
Not to mention, as I stated in the OP of this thread, I wasn't able to post my bugs there because of my post count.. So i posted them here, along with some other info (like how to install) about the release.
If only everyone who tried to play forum police actually knew what the dev forums are supposed to be for........
no searching for contact when I typing in number in phone, and T9 is not working in v8.4
Do any of u have the issue with notifications having a 'grey background'? I've had this since 8.3.
Also how can I change back to the stock bootanimation?
Thanks.
cpark85 said:
Do any of u have the issue with notifications having a 'grey background'? I've had this since 8.3.
Also how can I change back to the stock bootanimation?
Thanks.
Click to expand...
Click to collapse
I used a app called ROM toolbox suggested in the dev thread to change the bootanimation to the ICS one.
Notifications come up grey here on 8.4.
cpark85 said:
Do any of u have the issue with notifications having a 'grey background'? I've had this since 8.3.
Also how can I change back to the stock bootanimation?
Thanks.
Click to expand...
Click to collapse
No issue with the notifications that I've seen so far on 8.4
To get the Samsung boot animation back, do the following:
if you have 8.3 or an earlier version, extract a copy then navigate to extracted file > system > media
copy bootsamsung.qmg and bootsamsungloop.qmg to your sd card
in root explorer, navigate to your sd card > hit menu and multi select. Select the above to files then click copy/move.
Navigate to /system/media > mount R/W > paste.
Remove bootanimation.zip
set back to R/O and reboot phone.
chanrocky said:
no searching for contact when I typing in number in phone, and T9 is not working in v8.4
Click to expand...
Click to collapse
Temporary fix posted by kevjef420:
go to market and install these three apps. ex dialer, ex dialer ics theme and ics adw theme by kovdev.
set the ex dialer as your main dialer in dock. open setting for ex dialer and select ics theme. then long click on the ex dialer icon in your dock and click edit and select adw theme pack and then find the ics blue phone icon.
now you have a very functional t9 dialer that is very similar to the miui dialer and it works great. I am very happy with the results. this is a good fix untill somebody comes up with a t9 fix for asop dialer.
I've flashed 8.5 and set language to German but somehow it's a mix of German and English!?!
Anybody with same problem or similar?
Navigation from Google Maps keeps force closing everytime i have GPS signal. Maps works fine. What could it be?
Thanks in advance!
v. 8.6
Just installed 8.6, really fast and smooth. Hour in use, no more process stopped.
I am not sure why but in one app's browser and in stock Android file browser I get unusual wide slider. It was normal on 8.4, but changed on 8.5.
xitake said:
Navigation from Google Maps keeps force closing everytime i have GPS signal. Maps works fine. What could it be?
Thanks in advance!
Click to expand...
Click to collapse
Other nav app works
Maybe gapps fix could help here, dunno...

Straaange things happened this morning

Seeing as though there's no more BajaROM thread, I'll post this is in the general Q&A section. Of course, while I am running BajaROM, I can't be sure that the ROM had anything to do with it.
Something weird definitely happened to my phone last night... at exactly 2:28am, it would seem.
When I woke up this morning, my live background changed to a different static background, my normal keyboard (thumb keyboard) was replaced by the samsung one, my clock widget was frozen at 2:28, the battery level read 87% (after charging all night), and hasn't changed all morning, even after an hour commute of phone calls and media play... tasker had inexplicably turned off... and I'm still finding odd things.
I restarted my phone, and my clock is more current now, but my clock widget and the statusbar clock are a minute apart for a portion of every minute (like they're offset by <60sec) Tasker still didn't turn on like it should have, until I started the app to spark it... as if it was the first time I installed it. (It does the same thing when I restore the app through Titanium Backup on a new ROM install)
I checked to make sure I still have root by starting Titanium Backup... I have root, but titanium backup says it's the free version now... when I normally have the Donate (Pro) version. I had to reinstall it from the Google Play store
I have a few nightly backup/refresh items scheduled in Titanium Backup at 2am and 2:30am... so I wonder if something went wrong.
If anyone has experienced similar issues, leave a comment.
Thanks!
DrPhant0m said:
Seeing as though there's no more BajaROM thread, I'll post this is in the general Q&A section. Of course, while I am running BajaROM, I can't be sure that the ROM had anything to do with it.
Something weird definitely happened to my phone last night... at exactly 2:28am, it would seem.
When I woke up this morning, my live background changed to a different static background, my normal keyboard (thumb keyboard) was replaced by the samsung one, my clock widget was frozen at 2:28, the battery level read 87% (after charging all night), and hasn't changed all morning, even after an hour commute of phone calls and media play... tasker had inexplicably turned off... and I'm still finding odd things.
I restarted my phone, and my clock is more current now, but my clock widget and the statusbar clock are a minute apart for a portion of every minute (like they're offset by <60sec) Tasker still didn't turn on like it should have, until I started the app to spark it... as if it was the first time I installed it. (It does the same thing when I restore the app through Titanium Backup on a new ROM install)
I checked to make sure I still have root by starting Titanium Backup... I have root, but titanium backup says it's the free version now... when I normally have the Donate (Pro) version. I had to reinstall it from the Google Play store
I have a few nightly backup/refresh items scheduled in Titanium Backup at 2am and 2:30am... so I wonder if something went wrong.
If anyone has experienced similar issues, leave a comment.
Thanks!
Click to expand...
Click to collapse
This won't help you understand what's going on but for what it's worth I'm running Baja 16.1 and it's just fine. I don't use any exposed or wanam modules. Think that might be the culprit? That is if you run any..
TheAfroSamurai said:
This won't help you understand what's going on but for what it's worth I'm running Baja 16.1 and it's just fine. I don't use any exposed or wanam modules. Think that might be the culprit? That is if you run any..
Click to expand...
Click to collapse
I do run some (several) xposed mods and wanam/gravity box mods, and have been for quite some time on several devices. A string of bizarre events like that hasn't happened though.
It is strange, though, that I did install XToast just last night. This is an xposed mod that gives you more control over the toast messages received under different circumstances. Could be the culprit... not sure. I think I'll disable it and go back to BurntToast, a mod that does similar stuff.
Maybe switching from one to the other borked something?
Thanks for the input.
I also experienced some weird behaviour. I do suspect Titanium tp cause the problems, but I'm not yet 100% sure...
Not all of my issues are completely the same as yours, but still similar.
First of all, my device is a Galaxy S3 mini, CM11 installed, rooted, XPosed installed with several modules (but no Gravity or Wanam). All partitions are in ext4, external SDcard is in exFAT.
(1) root: During startup, Titanium asks an awful lot of times for boot access. Sometimes it does for 50-100 times. In the end, devices will still be rooted but startup takes a long time.
(2) startup: As mentioned: takes really long. With EVERY reboot, I get the "Android is upgrading..." message for about a minute.
This issue is solved by clearing all .odex-files with Lucky Patcher.
(3) Keyboard. I used Google Keyboard as my standard keyboard, but a while after installing/flashing (10 minutes to an hour) Google Keyboard uninstalls spontaneously (without interaction). This happened with all Keyboard versions I tried, in system and in data. And with or without it checked as primary keyboard in language & input settings. (because of those issues I switch to SwiftKey)
(4) Background: Background (custom wallpaper) disappears after a crash, and instead I get a static generic Android wallpaper. Also, every time I try to set my wallpaper back, device instantly reboots. (soft reboot which crashes and goes into a full reboot)
(5) Clock freeze: I've had those clock freezes a few times, but months ago. I think in my case it was due to some bad code in the ROM, not Titanium.
(6) Root: Even though in SuperSU settings I asked to remember autorisation, and automatically grant access, but after every boot, I had to grant permission to all apps using root access over and over again.
In order to try to solve my problems, I changed a few things.
- Google Now Launcher + XGelSettings instead of Nova Launcher. This didn't solve any of these problems, but I do like GNL more now
- I'm using Titanium Backup 6.1.5.4 stead of latest version, installed as a data app.
- I'm using SuperSU 1.98 instead of latest version, flashed as a system app.
- I'm using an older ROM version (CM M5 instead of CM M9/latest)
Most of my issues are gone now. I didn't check for (3) anymore.
armadiljo said:
I also experienced some weird behaviour. I do suspect Titanium tp cause the problems, but I'm not yet 100% sure...
Not all of my issues are completely the same as yours, but still similar.
First of all, my device is a Galaxy S3 mini, CM11 installed, rooted, XPosed installed with several modules (but no Gravity or Wanam). All partitions are in ext4, external SDcard is in exFAT.
(1) root: During startup, Titanium asks an awful lot of times for boot access. Sometimes it does for 50-100 times. In the end, devices will still be rooted but startup takes a long time.
(2) startup: As mentioned: takes really long. With EVERY reboot, I get the "Android is upgrading..." message for about a minute.
This issue is solved by clearing all .odex-files with Lucky Patcher.
(3) Keyboard. I used Google Keyboard as my standard keyboard, but a while after installing/flashing (10 minutes to an hour) Google Keyboard uninstalls spontaneously (without interaction). This happened with all Keyboard versions I tried, in system and in data. And with or without it checked as primary keyboard in language & input settings. (because of those issues I switch to SwiftKey)
(4) Background: Background (custom wallpaper) disappears after a crash, and instead I get a static generic Android wallpaper. Also, every time I try to set my wallpaper back, device instantly reboots. (soft reboot which crashes and goes into a full reboot)
(5) Clock freeze: I've had those clock freezes a few times, but months ago. I think in my case it was due to some bad code in the ROM, not Titanium.
(6) Root: Even though in SuperSU settings I asked to remember autorisation, and automatically grant access, but after every boot, I had to grant permission to all apps using root access over and over again.
In order to try to solve my problems, I changed a few things.
- Google Now Launcher + XGelSettings instead of Nova Launcher. This didn't solve any of these problems, but I do like GNL more now
- I'm using Titanium Backup 6.1.5.4 stead of latest version, installed as a data app.
- I'm using SuperSU 1.98 instead of latest version, flashed as a system app.
- I'm using an older ROM version (CM M5 instead of CM M9/latest)
Most of my issues are gone now. I didn't check for (3) anymore.
Click to expand...
Click to collapse
Thank you for the information. I kind of suspect that Titanium Backup had something to do with my problems, as well, since it happened right around the time that a scheduled action was to take place. I think that TB was still in the middle of the previous operation at 2am when it tried to start the next one at 2:30. This has never caused a problem before, but maybe it was at the wrong place at the wrong time, as odd as that may sound.
Your problems seem to be a more constant hassle. Especially the parts about granting SU access several times. I'm leaning toward the fact that your external SD card might interfere a little. External memory is handled a lot differently in kitkat builds, which CM11 is. In newer custom ROMs, there are attempts made to "fix" it... but in your case, maybe it was counter-intuitive.
The issue is that, to paraphrase... Kit-Kat imposes a lot of data access restrictions on external media. So... if you create a file in one app... you can't modify that file in another. That's a bastardization of the whole thing, I'm sure... so look up the particulars from someone more qualified than I. haha
If I were you (and I had a few hours to burn)... I'd back up everything on your external card and your internal memory (a good idea in any case),
clear EVERYTHING and reinstall the latest versions of everything without the external card in your phone. See if you still have issues. If you don't, then the card might be a problem. Then, wipe the card and put it back in your phone, and let your phone reformat it. At that point, copy your backed-up card data to your external card in whatever way is best to keep KitKat from messing it all up again.
Luckily, I don't have issues with my external card, except for the fact that, say, if I want to put a picture of my son as my wallpaper or notification shade background... if I pick a file from the card, it won't load after I restart my phone. For stuff like this... make sure that you put the pic ON YOUR PHONE STORAGE. Consider it like this... you wouldn't have a lot of luck if your PC's desktop background or screensaver ran from the CD drive, as opposed to your hard drive.
@DrPhant0m
I already went to that process of backing up, wiping and so on. Actually, I already did it twice.
The first time, I cleaned my device, installed latest versions of everything, went through the restoring process. But most of my mentioned issues still existed.
The second time, I cleaned my device again, did about exactly what you mentioned, but I restored some older versions of the ROM, SuperSU and Titanium Backup Pro. And right now, my issues are gone!
Actually, I didn't realise there are so many KitKat-related issues with SD. Maybe my pictures indeed are/where stored on a faulty SD. But it's reformatted now, and it works. And I actually don't know if that picture is stored internally or externally, I selected the picture with/by Google Photo. No idea how it handles is
I'm not saying Titanium certainly will be the bad guy, but I'm quite sure it plays it's part in it. Other issues are caused by the custom ROM. In the last few months, developers of that ROM don't give a **** about solving issues, and introduce one new feature after the other, most of them still highly experimental. Maybe that's another problem I can't control at all
I have found that Titanium always deletes my custom wallpaper and replaces it with the Samsung default every time I do a backup. It also changes my keyboard (normally Hacker's Keyboard) back to Samsung keyboard. It started doing this several updates ago.
Verizon Note 3, 4.4.2, NC4, stock rooted
Titanium Free 6.1.5.6
Michele31415 said:
I have found that Titanium always deletes my custom wallpaper and replaces it with the Samsung default every time I do a backup. It also changes my keyboard (normally Hacker's Keyboard) back to Samsung keyboard. It started doing this several updates ago.
Verizon Note 3, 4.4.2, NC4, stock rooted
Titanium Free 6.1.5.6
Click to expand...
Click to collapse
Every time you do a backup it does this? That's bizarre. Or, do you mean when you restore a backup? I want to say to update to the paid version and see if it fixes it, and if not... request a refund.
What info do you back up when this happens? I could see restoring a backup working against you. For instance, if you restore your keyboard and maybe even some language/input system files... it might default back to the standard keyboard because your confirmation to use a 3rd party keyboard (which could theoretically log all of your keystrokes) is no longer valid.
The background thing is a different story. When Titanium Backup works well... when I restore all of my "MUST HAVE" stuff after a new ROM install... it will restore my live wallpaper, too. There are often times that TB will NOT "work well" and the widgets and wallpaper (among other things) aren't restored properly... not to mention the fact that I can not get my bluetooth pairings and known wifi networks to restore, whether I use snapshot or XML.
DrPhant0m said:
Every time you do a backup it does this? That's bizarre.
Click to expand...
Click to collapse
Yes. It is.
DrPhant0m said:
Or, do you mean when you restore a backup? I want to say to update to the paid version and see if it fixes it, and if not... request a refund..
Click to expand...
Click to collapse
No, I don't mean upon restoration. I mean I take a full backup (user apps + system apps), go off for a cup of coffee, come back, see that it completed OK, exit TI, and then I see that my background is back to the Samsung default and it I open something that needs keyboard, the keyboard is also back to Samsung default. I guess it was never enough of a bother for me to go to the trouble of buying it and then complaining. I figure that for free, I can put up with a minor annoyance.
DrPhant0m said:
What info do you back up when this happens? I could see restoring a backup working against you. For instance, if you restore your keyboard and maybe even some language/input system files... it might default back to the standard keyboard because your confirmation to use a 3rd party keyboard (which could theoretically log all of your keystrokes) is no longer valid.
Click to expand...
Click to collapse
I can see where you're thinking, but it happens right after *doing* the backup. I haven't even had the need to do a full restore yet, so I don't know what that would do.
DrPhant0m said:
The background thing is a different story. When Titanium Backup works well... when I restore all of my "MUST HAVE" stuff after a new ROM install... it will restore my live wallpaper, too. There are often times that TB will NOT "work well" and the widgets and wallpaper (among other things) aren't restored properly... not to mention the fact that I can not get my bluetooth pairings and known wifi networks to restore, whether I use snapshot or XML.
Click to expand...
Click to collapse
It's very odd, that's for sure.

[UPDATE 4.0] Xiaomi.EU Redmi Note 4 ROM Multi Tasking Fix and Battery Improvements

DISCLAIMER: DO ALL OF THIS AT YOUR OWN RISK. IT WORKED FOR ME AND I CAN'T GUARANTEE THAT IT'LL WORK FOR YOU ETC, SO DO NECESSARY THINGS LIKE TWRP BACKUPS OR SOMETHING LOL GOOD LUCK
USAGE SCREENSHOTS/STATS:
https://forum.xda-developers.com/showpost.php?p=70915389&postcount=37
https://forum.xda-developers.com/showpost.php?p=70915456&postcount=39
https://forum.xda-developers.com/showpost.php?p=70915425&postcount=38
UPDATE 3.0 (A) RAM FIX MULTITASKING
SIMPLER METHOD (ROOT)
ZRAM increase and fixes
1. Using a file manager, go to system/etc/ and rename mcd_default.conf to mcd_default.conf.bak
2. Download this file and place it in system/etc
3. Reboot
4. Go to developer options and go to memory optimizations and set to HIGH
5. Reboot.
6. Install kernel audiotor and go to LMK and change the values to medium. Remember to set on boot.
7. Reboot.
UPDATE 3.0 (B) BATTERY LIFE IMPROVEMENT
SIMPLER METHOD (ROOT)
Changed the values to less aggressive ones. Minimal battery life improvement but it it better than nothing in my opinion.
1. Go to system/etc and rename perfservscntbl.txt to perfservscntbl.txt.bak
2. Download this and place in system/etc
3. Reboot
UPDATE 3.0 (C) PERFORMANCE IMPROVEMENT
SIMPLER METHOD (ROOT)
These are some cherrypicks from android 7.1.1
1. Make sure you are rooted
2. Go to su/su.d and place this file in that folder
3. Give the file 0755 permission as shown below
X X X
X -- X
X -- X
4. Reboot.
As per usual all of these require root and please do backups in case anything goes wrong. I suggest using FX file manager to do these tweaks.
USAGE SCREENSHOTS/STATS:
https://forum.xda-developers.com/showpost.php?p=70915389&postcount=37
https://forum.xda-developers.com/showpost.php?p=70915456&postcount=39
https://forum.xda-developers.com/showpost.php?p=70915425&postcount=38
OLD METHOD BELOW
FOR MULTITASKING, THERE ARE 2 PARTS; PART (A) TO ACTUALLY FIX ZRAM AND PART (B) TO ACTUALLY ENABLE ZRAM. XIAOMI FOR SOME REASON THOUGHT THAT OUR DEVICE DOESNT NEED ZRAM (IT NEEDS IT LOL)
PART 1 (A)- MULTITASKING
The Redmi Note 4, in my opinion, suffers a lot of RAM management issues. The symptoms are as follow;
- Constant reloading of app like instagram, chrome, facebook, and others when switching apps
- Constant reloading of apps whenever you switch to a system app like phone, camera, messaging (background apps get killed when you launch system apps)
Things I have I tried to remedy the issue/problem
- Lock app
- Change memory optimization settings in developer options
NONE OF THEM WORKED. I got so frustrated because this device has like 3GB of RAM which should eliminate problems concerning apps getting killed.
So I went out and did my own research and found out that MIUI controls ram management via a service called 'mcd' and this service depends on a file called 'mcd_default.conf' in system/etc. Naturally what I did was tinker around with the contents of the file and edited it using trial and error. Each time I tested, I would launch 10-12 apps that included Chrome, Spotify, Instagram, Twitter, Color-Note, Phone, Messaging, Gallery, Google Photos and others. (YES 10 TO 12 APPS)
Yes, ladies and gentleman. 3GB of ram should be able to handle all those apps without reloading every single one of them.
Finally, after tinkering around with some values I think I cracked the code/solution to the problem by editing some lines. The lines I edited affect how zram works on our device and I think I fixed it. The file I edited is attached below.
HOW TO USE THE FILE
I TESTED THIS ON THE LATEST XIAOMI.EU ROM which can be found here. TEST IT OUT ON OTHER ROMS AT YOUR OWN RISK. FU** STOCK MIUI ROM.
XIAOMI.EU ROM LINK
1. Make sure you are rooted and you have the latest busybox installed (its on the playstore)
2. Download the file attached HERE IS THE FILE
3. Browse to system/etc using your root file manager of choice (I prefer fx file manager)
4. Backup the existing mcd_default.conf bye renaming it to mcd_default.conf.bak
5. Place the file I attached in system/etc
6. Reboot
7. Go to developer settings and set memory optimization to LOW and reboot
8. Test out multitasking for yourself
PART 1 (B)- MULTITASKING
1. Install Kernel audiotor
2. Open, give it root permission
3. Swipe from left and go to init.d
4. Press the + button and enter name ZRAM
5. Enter these values
echo 1073741824 > /sys/block/zram0/disksize
/system/xbin/mkswap /dev/block/zram0
/system/xbin/swapon /dev/block/zram0
echo 100 (you can choose between 100 to 0. higher number better zram usage) > /proc/sys/vm/swappiness
6. Save and enable set on boot
7. Reboot and test out multitasking
8. Open Kernel Audiotor and change LMK values to medium. Set on boot and reboot.
Important things to know
- It's normal for background apps to close when you use camera because the camera app uses a lot of RAM and resources to process images ESPECIALLY if you use burst mode (hold shutter button)
SO FAR MY EXPERIENCE
- Improved multitasking
- No other problem like fingerprint sensor not working bla bla bla
PART 2 - BATTERY LIFE IMPROVEMENTS
I noticed that the helio x20 is quite the power hungry chip so I dug around XDA MIUI devices forums for other devices and found out that Xiaomi MIUI roms use a service called 'perfservice' to control the CPU and can sometime be a hit and miss, so I did something;
DISABLE PERFSERVICE and MY BATTERY LIFE HAS IMPROVED DRAMATICALLY. IM TALKING REDMI NOTE 3 SNAPDRAGON LEVELS. 7 HOURS SCREEN ON TIME, 20 HOURS STANDBY.
What happens when perfservice is disabled is the cpu is controlled by MTK's cpu manager (not sure what it is called) and uses the stock interactive governer (which is good).
HOW TO DISABLE/IMPROVE BATTERY
1. Make sure you are rooted
2. use your root file explorer of choice (I prefer fx file manager)
3. go to /system and backup build.prop by copying and pasting it somewhere else
4. edit build.prop and find the line ro.mtk_perfservice_support=1 and change it to ro.mtk_perfservice_support=0 and save file
5. go to /system/etC and find a file named perfservapplist.txt and rename it to perfservapplist.txt.bak
6. go to /system/etc and find a file named perfservscntbl.txt and rename it to perfservscntbl.txt.bak
7. Reboot and test out the result yourself
I hope this helps any of you in any way.
I now LOVE my phone but it's a pity that Xiaomi doesn't want to fix problems like these. Maybe they don't consider these problems as actual problems. We'll never know tbh.
SPECIAL THANKS TO THIS THREAD AND ITS OWNER
http://forum.xda-developers.com/redmi-note-2/development/b-skinny-pro-t3347906
BECAUSE IT TAUGHT ME A LOT ABOUT HOW XIAOMI ROM WORKS TO MANAGE OUR RAM AND CPU
Thanks for this, really great work. Definitely interested in trying the battery improvement as it had gotten better since I used the 4G fix, but still could be a bit better. Is there any way these could be made into flashable zips? I have TWRP but not using root. Thanks again.
Sent from my Redmi Note 4 using Tapatalk
gsmyth said:
Thanks for this, really great work. Definitely interested in trying the battery improvement as it had gotten better since I used the 4G fix, but still could be a bit better. Is there any way these could be made into flashable zips? I have TWRP but not using root. Thanks again.
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Twrp has a file manager within the recovery. You can rename, move, and, copy files with it. You can try it out
asusm930 said:
Twrp has a file manager within the recovery. You can rename, move, and, copy files with it. You can try it out
Click to expand...
Click to collapse
Wow didn't know that! Must take a look.
Sent from my Redmi Note 4 using Tapatalk
gsmyth said:
Wow didn't know that! Must take a look.
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Its under 'advanced' but before that mount system using the 'mount' option
As for editing the build.prop file, copy it to your phone and then edit the copy, after that replace the original build.prop with the edited one using twrp's file manager
asusm930 said:
Its under 'advanced' but before that mount system using the 'mount' option
Click to expand...
Click to collapse
Ah thanks, forgot to mount and couldn't see the build prop file, will try again later.
Sent from my Redmi Note 4 using Tapatalk
Maybe we can make a flashable zip with AnyKernel 2 like CosmicDan does here http://forum.xda-developers.com/redmi-note-4/development/tweaks-cosmictweaks-v2016-11-26-t3507291
prismk said:
Maybe we can make a flashable zip with AnyKernel 2 like CosmicDan does here http://forum.xda-developers.com/redmi-note-4/development/tweaks-cosmictweaks-v2016-11-26-t3507291
Click to expand...
Click to collapse
I prefer having people doing it manually so that people know what they're doing and know what files to backup and so on
asusm930 said:
DISCLAIMER: DO ALL OF THIS AT YOUR OWN RISK. IT WORKED FOR ME AND I CAN'T GUARANTEE THAT IT'LL WORK FOR YOU ETC, SO DO NECESSARY THINGS LIKE TWRP BACKUPS OR SOMETHING LOL GOOD LUCK
PART 1 (A)- MULTITASKING
The Redmi Note 4, in my opinion, suffers a lot of RAM management issues. The symptoms are as follow;
- Constant reloading of app like instagram, chrome, facebook, and others when switching apps
- Constant reloading of apps whenever you switch to a system app like phone, camera, messaging (background apps get killed when you launch system apps)
Things I have I tried to remedy the issue/problem
- Lock app
- Change memory optimization settings in developer options
NONE OF THEM WORKED. I got so frustrated because this device has like 3GB of RAM which should eliminate problems concerning apps getting killed.
So I went out and did my own research and found out that MIUI controls ram management via a service called 'mcd' and this service depends on a file called 'mcd_default.conf' in system/etc. Naturally what I did was tinker around with the contents of the file and edited it using trial and error. Each time I tested, I would launch 10-12 apps that included Chrome, Spotify, Instagram, Twitter, Color-Note, Phone, Messaging, Gallery, Google Photos and others. (YES 10 TO 12 APPS)
Yes, ladies and gentleman. 3GB of ram should be able to handle all those apps without reloading every single one of them.
Finally, after tinkering around with some values I think I cracked the code/solution to the problem by editing some lines. The lines I edited affect how zram works on our device and I think I fixed it. The file I edited is attached below.
HOW TO USE THE FILE
I TESTED THIS ON THE LATEST XIAOMI.EU ROM which can be found here. TEST IT OUT ON OTHER ROMS AT YOUR OWN RISK. FU** STOCK MIUI ROM.
XIAOMI.EU ROM LINK
1. Make sure you are rooted
2. Download the file attached HERE IS THE FILE
3. Browse to system/etc using your root file manager of choice (I prefer fx file manager)
4. Backup the existing mcd_default.conf bye renaming it to mcd_default.conf.bak
5. Place the file I attached in system/etc
6. Reboot
7. Go to developer settings and set memory optimization to LOW and reboot
8. Test out multitasking for yourself
PART 1 (B)- MULTITASKING
1. Install Kernel audiotor
2. Open, give it root permission
3. Swipe from left and go to init.d
4. Press the + button and enter name ZRAM
5. Enter these values
echo 1073741824 > /sys/block/zram0/disksize
/system/xbin/mkswap /dev/block/zram0
/system/xbin/swapon /dev/block/zram0
echo 0 > /proc/sys/vm/swappiness
6. Save and enable set on boot
7. Reboot and test out multitasking
Important things to know
- It's normal for background apps to close when you use camera because the camera app uses a lot of RAM and resources to process images ESPECIALLY if you use burst mode (hold shutter button)
SO FAR MY EXPERIENCE
- Improved multitasking
- No other problem like fingerprint sensor not working bla bla bla
PART 2 - BATTERY LIFE IMPROVEMENTS
I noticed that the helio x20 is quite the power hungry chip so I dug around XDA MIUI devices forums for other devices and found out that Xiaomi MIUI roms use a service called 'perfservice' to control the CPU and can sometime be a hit and miss, so I did something;
DISABLE PERFSERVICE and MY BATTERY LIFE HAS IMPROVED DRAMATICALLY. IM TALKING REDMI NOTE 3 SNAPDRAGON LEVELS. 7 HOURS SCREEN ON TIME, 20 HOURS STANDBY.
What happens when perfservice is disabled is the cpu is controlled by MTK's cpu manager (not sure what it is called) and uses the stock interactive governer (which is good).
HOW TO DISABLE/IMPROVE BATTERY
1. Make sure you are rooted
2. use your root file explorer of choice (I prefer fx file manager)
3. go to /system and backup build.prop by copying and pasting it somewhere else
4. edit build.prop and find the line ro.mtk_perfservice_support=1 and change it to ro.mtk_perfservice_support=0 and save file
5. go to /system/etC and find a file named perfservapplist.txt and rename it to perfservapplist.txt.bak
6. go to /system/etc and find a file named perfservscntbl.txt and rename it to perfservscntbl.txt.bak
7. Reboot and test out the result yourself
I hope this helps any of you in any way.
I now LOVE my phone but it's a pity that Xiaomi doesn't want to fix problems like these. Maybe they don't consider these problems as actual problems. We'll never know tbh.
SPECIAL THANKS TO THIS THREAD AND ITS OWNER
http://forum.xda-developers.com/redmi-note-2/development/b-skinny-pro-t3347906
BECAUSE IT TAUGHT ME A LOT ABOUT HOW XIAOMI ROM WORKS TO MANAGE OUR RAM AND CPU
Click to expand...
Click to collapse
Really interesting post. I've been frustrated with processes getting killed for no apparent reason but I'm a little dubious about the mods. Are you able to post a before and after video or something showing the improvements?
Also, how does disabling perfservice affect performance?
spr33 said:
Really interesting post. I've been frustrated with processes getting killed for no apparent reason but I'm a little dubious about the mods. Are you able to post a before and after video or something showing the improvements?
Also, how does disabling perfservice affect performance?
Click to expand...
Click to collapse
I can't post videos but I can personally that multitasking is way better now.
disabling perfservice does not affect performance at all. Its still snappy as ever
asusm930 said:
I can't post videos but I can personally that multitasking is way better now.
disabling perfservice does not affect performance at all. Its still snappy as ever
Click to expand...
Click to collapse
I don't know why but I got the standby problem when WIFI is ON (I tried everything, turn off location, scanning). Here is what I have tested CAREFULLY:
1> WIFI ON , SCREEN OFF
Drain 1.5-2.5%/ hour
2> WIFI OFF, MOBILE DATA ON, SCREEN OFF
Drain 1%/ 90 minutes or even a bit more
3> WIFI OFF, MOBILE DATA OFF, SCREEN OFF
Drain 1%/ 3-4 hours or even a bit more
It's really weird when WIFI drains MUCH MORE battery than mobile data, even the deep sleep rate is still 89% - 90% when WIFI is ON.
Do you have any idea how to fix this?
phamhuytung192 said:
I don't know why but I got the standby problem when WIFI is ON (I tried everything, turn off location, scanning). Here is what I have tested CAREFULLY:
1> WIFI ON , SCREEN OFF
Drain 1.5-2.5%/ hour
2> WIFI OFF, MOBILE DATA ON, SCREEN OFF
Drain 1%/ 90 minutes or even a bit more
3> WIFI OFF, MOBILE DATA OFF, SCREEN OFF
Drain 1%/ 3-4 hours or even a bit more
It's really weird when WIFI drains MUCH MORE battery than mobile data, even the deep sleep rate is still 89% - 90% when WIFI is ON.
Do you have any idea how to fix this?
Click to expand...
Click to collapse
my last bet is going to Additional settings > Privacy > Location > Google Location History > and turn it off for every account
I also have sync on WLAN only too in sync settings if that helps
asusm930 said:
my last bet is going to Additional settings > Privacy > Location > Google Location History > and turn it off for every account
I also have sync on WLAN only too in sync settings if that helps
Click to expand...
Click to collapse
I already tried all of this, nothing change , I think the problem is because of Mediatek wifi chipset. Do you have the same problem?
phamhuytung192 said:
I already tried all of this, nothing change , I think the problem is because of Mediatek wifi chipset. Do you have the same problem?
Click to expand...
Click to collapse
I dont think so. I lose like 2% like after 6 hours. I do have both wifi and data turned on though (by turned on i mean the toggles are switched on but in actuality when wifi is on, android turns off data even though the toggle shows that its on up until wifi signal is gone)
asusm930 said:
I dont think so. I lose like 2% like after 6 hours. I do have both wifi and data turned on though (by turned on i mean the toggles are switched on but in actuality when wifi is on, android turns off data even though the toggle shows that its on up until wifi signal is gone)
Click to expand...
Click to collapse
Do you have any apps in background? I usually have Messenger + Chrome in background with 2 SIM. How many SIM are you using and in which sim slot (If only 1 sim)?
phamhuytung192 said:
Do you have any apps in background? I usually have Messenger + Chrome in background with 2 SIM. How many SIM are you using and in which sim slot (If only 1 sim)?
Click to expand...
Click to collapse
I have 1 sim (in slot 1) and an SDcard.
Try installing Link2SD and disable "Battery Saver" and MiCloud, MiCloudBackup, Cleaner, Metok, LocationEM2, MiDrive, MiDrop, Music, Search, Video, Wallpaper Carousel AND Browser. These are the apps I have disabled.
asusm930 said:
I have 1 sim (in slot 1) and an SDcard.
Try installing Link2SD and disable "Battery Saver" and MiCloud, MiCloudBackup, Cleaner, Metok, LocationEM2, MiDrive, MiDrop, Music, Search, Video, Wallpaper Carousel AND Browser. These are the apps I have disabled.
Click to expand...
Click to collapse
Yes I tried 1 SIM card with an SD Card before, the standby on WIFI was much better, really don't understand why. Can you tried to test WIFI standby with 2 SIM online?
phamhuytung192 said:
Yes I tried 1 SIM card with an SD Card before, the standby on WIFI was much better, really don't understand why. Can you tried to test WIFI standby with 2 SIM online?
Click to expand...
Click to collapse
I think I read somewhere that someone else was having this problem. It could be the culprit (having 2 sims).
Unfortunately, I don't have another sim that i can use to confirm this bug, but I'm very sure that I've read other people mentioning this problem too (2 sims draining battery)
asusm930 said:
I think I read somewhere that someone else was having this problem. It could be the culprit (having 2 sims).
Unfortunately, I don't have another sim that i can use to confirm this bug, but I'm very sure that I've read other people mentioning this problem too (2 sims draining battery)
Click to expand...
Click to collapse
I will try again, someone said that it is because of the wifi router, I tried this afternoon to use my laptop as WIFI hotspot and also DISABLE all the apps like you said, it drains only 2-3% / 6 hours .
asusm930 said:
I think I read somewhere that someone else was having this problem. It could be the culprit (having 2 sims).
Unfortunately, I don't have another sim that i can use to confirm this bug, but I'm very sure that I've read other people mentioning this problem too (2 sims draining battery)
Click to expand...
Click to collapse
I tried yesterday and it is because of the WIFI Router, also in WIFI Advanced Setting I changed the option "Keep WIFI on during sleep" to "Never", the battery is really much better and WIFI is even not turn off during sleep, I can still receive calls from Facebook as well as messages. I think this is definitely an error.

Categories

Resources