I make my own script for LMK (low memory killer) and adj.
Init.d doesn't work on CM12 so the unique way to make it automatically at boot is with an paid app.
"Boot Shell + Pro Version" (no spoiler)
1. Download Boot Shell and buy Pro version (you also can "buy" it on Aptoide , but highly recommended support the developer is the correct way)
2. Open it , in lateral menu and select "New script" and put it a name. (Ex: LMK)
3. Copy and paste it:
Code:
chmod 644 /sys/module/lowmemorykiller/parameters/adj
echo '0,58,117,176,529,1000' > /sys/module/lowmemorykiller/parameters/adj
chmod 644 /sys/module/lowmemorykiller/parameters/minfree
echo '12288,15360,18432,21504,24576,30720' > /sys/module/lowmemorykiller/parameters/minfree
4. In app settings select "Execute script at boot"
5. Restart and enjoy best RAM management
Credits:
@BlueFlame4 one part of the code
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
..
Does Music apps run better on background? My only problem with CM12 was that Google Music closed A LOT while on background.
Yes is for that , better ram management
Hi,
I don't want to sound rude but am I supposed to get partial credits for this?
I forgot it , sorry @BlueFlame4
How many apps can you run in the background now? Do you also have Facebook app inbetween them? Wasn't there an app called Kernel Audiator which does the same thing?
XT1033 CM12 Nightly. Upon screen off this script undoes itself... No clue why
Odd, it works on the weekly build and on the Asia retail soak...
good job
This script does the work. Thank you man @Lans98. I really needed multitasking which is absent in current cm.
Well I have a query
can i just place the script in init.d folder to make it work?
Working 100% for me now. Cm12 nightlies. Xt1033. Thanks
Why is showing an error when I select "execute and show output"? Then I suppose it does not execute fine at boot :S
Related
I learned tems that the NOTE 3 does not work deodeks.
I also heard that the application of the recovered Titanium backup does not work
This comes from the fact that the dex files could not move in / data / dalvik-cache
disprove me please?
A.S._id said:
I learned tems that the NOTE 3 does not work deodeks.
I also heard that the application of the recovered Titanium backup does not work
This comes from the fact that the index files could not move in / data / dalvik-cache
disprove me please
Click to expand...
Click to collapse
I really doubt dalvik-cache is encrypted. That would be A LOT of overhead.
Certainly not impossible to deodex either.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
tnx for reply, but i made deodex some time, and with zipalign, and without - this can't boot system.
Going only to bootanimation and that's all.
I think framework can't start...
And why after titanium restore app, dex files do not appear into dalvik-cache?
A.S._id said:
And why after titanium restore app, dex files do not appear into dalvik-cache?
Click to expand...
Click to collapse
Possible Titanium needs to be updated to work properly on the Note 3. Try manually creating a folder as su in dalvik-cache and create a file.
su
cd /data/dalvik-cache
mkdir test
cd test
touch testfile
If that works, then I would assume something with how Titanium works has changed.
Latest update..
A.S._id said:
tnx for reply, but i made deodex some time, and with zipalign, and without - this can't boot system.
Going only to bootanimation and that's all.
I think framework can't start...
Click to expand...
Click to collapse
Hmmm... My latest Pre-ROOTED DeOdexed Package (Apps & Framework) for SM-N9005 is working just fine!!
TESTING in progress but System is up and running...
All files deodexed and no errors has been reported so far..
Next for testing is Pre-Rooted DeOdexed KNOX FREE ROM (CWM)... in progress...
stay tuned
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now Support all Apps! (*)
Download - Cassini.1.2 - 3.5MB [Google Drive]
Download - Cassini.1.2 - 3.5MB [Dev-Host]
About
First of all, the reason that this program took this much time to come out is because my career-deciding exams where on. So I'm sorry about that.
The newest edition features a GUI - like UI that helps user to easily create new projects (for rom or collection of apps) and manage them.
With the new algorithm the for compression you can ensure that almost all of your apps get compressed successfully! You just have find the perfect set of settings for that particular app. Use it ti compress apps and get a performance boost for your phone as well as save some space!
Setting Up your PC!
Note: You can skip this step if you already have Java installed on your PC, or you don't want to use the Sign Apk setting for compression.
Download The following resources first:
Java SE Run-time Environment 7 [ Java Dependencies For Signing APK tool ]
Now let's begin setting up your PC,
Install the above mentioned programs.
Go to Advanced System Properties.
It looks like this:
Go to Environment Variables, then create a new System Variable, having name JAVA_HOME and value as the path where you have installed the JRE.
It looks like this:
Now after creating the JAVA_HOME variable, search for Path system variable in the System Variables list. Now this is a bit tricky. Once found click on it and then on Edit. Move the cursor to the end of the string till you see ";" (without quotes), add the path to your JRE bin folder just after it.
It looks like this:
Manual for Cassini.1.2 - Information about the program.
Include this in your signature if you like and support Cassini and you are using the apps compressed by Cassini!
:good: Hit thanks if you liked it! :good:
Screens for Cassini.1.2
Screenshots of Cassini.1.2
I am not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels. you do so at your own risk and take the responsibility upon yourself.
Click to expand...
Click to collapse
Description:
This ROM is based on 32Bit stock rom.
ROM is based on Smartisian OS 2.6.2 , It 's an Experience Edition
Fix audio camrea sensor compass and so on.
LTE/3G/GMS call data_network and communication module works well.
WIFI BT works.
SuperSU root.
Readjust the Launcher Resolution.
Add Easytouch .
Language:English Support.
Very Very Important:
After power on the devices , plz launch EasyTouch app.
Then, open Settings --- Advenced Settings --- Auxillary Functions --- EasyTouch --- On .
SmartisanOS Official Introduction ( Recommend ):
http://www.smartisan.com/jianguo/#/os
Known Issues:
No critical bugs.
BUG report & about me:
Facebook
Twitter
Google+
Downloads(all version):
[SmartisanOS] released on KingFlasher !!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install Method:
Recommend to use King Flasher: http://tfile.kingflasher.com/soft/kingflasher_setup.exe
1. Connect your phone to computer with USB cable and open USB debbuging.
How to open USB debbuging: Settings > About device > Tap “BUILD MUNBER” 7 times > Back to Settings > Developer options > Select “USB Debbuging”.
2. Please open King Flasher and choose a ROM you like, then click “Flash”.
3. Wait for downloading ROM.
4. After the download finished, King Flasher will flash your phone automaticlly. It will take about 5-10 minutes to finish.
5. Your phone will reboot to the new system when it finish.
link?
can you provide me the link?
There are some ROMs cannot click into Developer Options and then the app stops responding.
These ROMs have been updated for several times but the problem still not be solved.
Here is one of the solutions for you:
1. Download the ROM you want.
2. Double click it and click into "system".
3. Copy "Build.prop" to desktop or another folder you prefer.
4. Open "Build.prop" you copied with "notepad.exe", find and delete the following words and then save the file:
"ro.frp.pst=/dev/block/bootdevice/by-name/config"
5. Replace the original file "Build.prop" with the one you revised just now.
6. Flash the new ROM as normal, finally you will find that you can go into Developer Options successfully !
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Or you could just edit build.prop right from your devic without a root enabled file browser. And instead of deleting the string you can put a # between so#ro and reboot and the problem is solved and it's much simpler.
se7ensde said:
Or you could just edit build.prop right from your devic without a root enabled file browser. And instead of deleting the string you can put a # between so#ro and reboot and the problem is solved and it's much simpler.
Click to expand...
Click to collapse
Could you tell me which app can revise dev without root? Thanks~
Use Something like "Build Prop Editor", its 57.45 times easier
Im_Mattgame said:
Use Something like "Build Prop Editor", its 57.45 times easier
Click to expand...
Click to collapse
“Build Prop Editor” also needs to use after root.
It seems that no apps can edit build.prop without root.
adrian2015 said:
“Build Prop Editor” also needs to use after root.
It seems that no apps can edit build.prop without root.
Click to expand...
Click to collapse
I think it was a typo & he meant "with a root editor".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install apps over ADB
Install apks on any Android device running any Android version over ADB!
Hi all,
From a long time i was fiddling around with a problem of installing/downloading apps after installing a new ROM.
Thus i came up with an idea of a Batch File to install all of your apks from your system
to your phone in a few tips and taps. Hah! Found my solution .
How does it look?
To see some screenshots, please click below.
Tested on
The script had been tested on Nexus 5x, Nexus 5, Moto G4 but should work on any android device.
Downloads
Google Drive - Here is the link to Drive.
Link Below - You can also find the file below.
Installation instructions
Prerequisites
1. Platform Tools for Windows (ADB),
2. APK files,
3. Target phone connected to PC and
4. A cup of COFFEE or TEA as you like it.
Process
1. Download it from the attachments below or from the drive link above or here.
2. Copy the file to the ADB folder.
3. Execute the file.
4. You can either place your apps in "D:\Apps" folder. (Sllloooowwwww.....)
ORChange the folder location in batch file itself. (Requires some Coding Skills)
ORBatch file will ask you to change the location, if required. (Easy Installation, Pick Me!)
Troubleshooting
I don't think it's needed. But even then if you get any problem do write. I'll be happy to resolve it.
Enjoy, and also don't forget to write anything (Good, Bad or Thanks etc.)!
thank you so much if works like a charm!
Been locking for something similar.
Is it possible to take that script to next level, and make it as, a list of apps, and for them to be downloaded on the phone. I mean give order through ADB for each apps step by step, instead of folder, to be downloaded.
how to add online option like google drive folder in to the script