Hi Friends!!
I'm writing this thread bcoz i was bored with camera loader.Whenever i need camera i need to restart my device.Without camera loader we can't get high RAM.This is way how i got more RAM Without camera loader
1)Go to Task Manager 2
2)Select devices
3)Unload S5K3BAFX.dll and cameradriver.dll(both)
After that you will gain about 2 to 4MB RAM.Since you have unloaded camera driver camera won't work
But when you need camera just load these driver again
Important:
you must have to load S5K3BAFX.dll first.
Thank u for this useful tip. It is very easy rather than restarting.
Related
hi,
i installed some apps like bsbtweaks.. after a day i realised my cam app only work after first mins of reboot , if i run app and try to open cam it says like : failed to setup cam etc.
this is my first experience on hd2 and wm, what can i do to solve this problem ? thanks , btw i can edit registry or system files =)
offical and last firmware.
Disable all extra modes and resolutions for camera in BSB. Those extra modes needs more RAM, which is usually only available after start, and/or when no other application is running (Opera 10 is known to eat almost all RAM for example).
thank you , i have already disabled them but it was still not working , then i found a registry entry that says " deactivate" in cam settings and set it to 0 , cam is working for now in full ram , but i am still test-ng if it is going to be ok.
If push comes to shove, a hard reset usually fixes most issues !
I am getting errors again ... any ideas ? not hard reset please =)
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
This guide is intended to make it easy for those wanting to root and/or uppgrade camera software and have usefull information that is simple to understand and follow instead of the scattered information throughout the forum threads. A compilation of 2 of my guides all in one place!
My mobilehpone information: Xperia Z1 (C6903), Stock Sony 14.6.A.1.236 NC (Nordic Combined).
--------------------------------------------------------------------------------------
1) Install Terminal Emulator to be prepared. This one below in the link is one of the best and free.
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
--------------------------------------------------------------------------------------
*Disable anti-virus as you are dealing with a hacker tool that uses exploits to give you root access without unlocking bootloader*
--------------------------------------------------------------------------------------
2) Now follow this root guide and download both files linked in the guide. SuperSu replacement folder "mrw" is unpacked into your mobilephones internal memory.
http://forum.xda-developers.com/xperia-z1/general/root-xperia-z1-lollipop-5-1-1-build-14-t3246373
* Once you installed Kingroot v4.5.2 start it and just press follow the simple instructions. Rooting took less than a minute for me, data traffic was minimal (I run Adguard to monitor and filter).
3) Now directly turn off mobile data and Wi-Fi. Next run Terminal Emulator and follow the guides instructions to replace root manager with SuperSu.
4) When done go to your mobile phones "Settings" -> "Apps" and if you want uninstall "Purify" tweak manager app from "King Team". NOTE: That unless you launch an intalled app for the first time on your mobile then it will never be able to launch by itself. This is an Android feature.
5) Reboot your phone and enable Wi-Fi and mobile data. Download root Checker to verify that you are rooted.
https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&hl=en
--------------------------------------------------------------------------------------
* To install NUTs compatible dual recovery follow this guide.
http://forum.xda-developers.com/showthread.php?t=2647487
* His manual.
http://nut.xperia-files.com/html/xzdualrecovery-manual.html
* Link to NUTs download page. Download "Z1-lockeddualrecoveryX.X.XX-RELEASE.combined.zip".
http://nut.xperia-files.com/path/XZDualRecovery
* Now put your phone in "USB Debugging Mode" mode via your phones "Settings" -> "Developer Settings". If you dont have developer settings category the follow this guide below to enable it, it's simple and easy. http://www.greenbot.com/article/245...-options-on-your-android-phone-or-tablet.html
* Now connect to your computer and run the downloaded and extracted recovery installation program from NUT (install.bat). NOTE: Dont run it as an administrator as it wont be able to install the recovery. Just run it normally.
* It will restart the phone when done and take you to the TWR recovery interface. Just reboot to "System" and you are done. You will also have a new app called "NDR Utils" where you directly can boot into recovery and much more.
Done!
--------------------------------------------------------------------------------------
TA backup (DRM keys) then follow this guide.
http://forum.xda-developers.com/showthread.php?t=2292598
--------------------------------------------------------------------------------------
If you plan on installing Exposed then first download both files linked in this guide to be able to disable Exposed via the recovery if your phone bootloops after flashing Xposed. Put both files on your phones memory and just incase on the external SD Card if you have one installed.
http://forum.xda-developers.com/xposed/xposed-framework-disabler-incase-t3100669
Xposed flash file and management app in this guide. Follow instructions.
http://forum.xda-developers.com/showthread.php?t=3034811
Thats it!
Camera mods
1) Prepare by putting all relevant zip files in your mobile phones memory. Then close down all apps and then clear data for "Camera extension", "Camera Common", "Camera" and "Cameras" apps.
2) Next boot into your bootloader (I use CWM) to flash the zips. First you flash the "4k/Timeshift" zip then "Camera 2.0 with support for 20MP Superior Auto" (see new Camera 2.0 link below) and lastly "Z5 Camera Lib" mod designed for the Z1. Wipe dalvik and cache and then boot back into system. That's it!
--------------------------------------------------------------------------------------
4k/Timeshift mod (first download link).
http://forum.xda-developers.com/showpost.php?p=63794286&postcount=264
--------------------------------------------------------------------------------------
Z5 camera libs mod (second download link "Full Z5 Premium Camera Files, libs and Res Port For Z3-Z2-Z1-ZU").
http://forum.xda-developers.com/cro...-xperia-z5-premium-camera-libs-files-t3260819
--------------------------------------------------------------------------------------
Camera 2.0 with Superior Auto 20MP support. http://forum.xda-developers.com/showpost.php?p=63864599&postcount=43
EDIT: There is a new Camera 2.0 mod which is better than the above mentioned as it is does the same but also allows for more! It adds scene selection at any resolution, 2 more focus mode settings, allows you to set upto ISO 3200 in full resolution and jpeg quality increased from 97% to 100%. Follow instructions in the thread. I just renamed the apk to correct name SemcCameraUI, put it in phones storage then cleared "Camera" and "Cameras" data via the settings -> Apps -> All menu and then booted into recovery to copy the camera app to "system/priv-app/SemcCameraUI" folder and set the camera app permission settings to 644. Then re-booted the phone. I did not need to disable signature verification. Also you need to have the Z5 Camera Libs installed for it to work.
Link to improved Camera 2.0: http://forum.xda-developers.com/cro...z1-z4-z5-camera-1-0-unlocked-20-23mp-t3335412
--------------------------------------------------------------------------------------
That's it. When launching Camera 2.0 change the resolutions randomly then back to what you want to have it at so that it flushes data and loads libraries. Enjoy! .
Continue to use original Camera 1.0 from Xperia Z1 as it gives much better image quality, exposure to shutterspeed balance and colors as opposed to Camera 2.0 which really aint made for Z1-Z3 range line.
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
Hello
i have a big problem with any camera on lineage 18 ( always newest version ). After run any camera dont work after 5 - 20 seconds. Dont show any crash, just disapper. I tryb reinstall system, install a lot od version gcam. Search aome modules on magisk but nothing work.
When i open camera i can make fast some photos, then camera disapper.
Can someone help ?
Thansk