[Kernel][02/22/2013] CoCore-P 1.0 - Galaxy S Advance I9070 Android Development

CoCore-P Linux 2.6.35.x Kernel
( Posts )
1. Instructions & Installation
2. How to
3. Changelog & Downloads & Credits & Source
( Responsibility )
I'M IN NO WAY RESPONSIBLE OF ANY DAMAGE CAUSED BY USING THIS CUSTOM KERNEL.
PLEASE NOTE THAT SOME FEATURES CAN DAMAGE YOUR PHONE AND YOUR EAR.
Click to expand...
Click to collapse
( What is needed )
* Samsung GT-I9070P (Android 2.3.x)
* Some Android experience
* Know how to use Terminal
* More patience
( Features )
fs: CIFS module
mm: SLUB memory allocator
arm: ThumbEE
arm/vfp: Build with neon
arm/crypto: ARM AES and SHA-1 crypto
ab8500_asoc: Sound control
ab8500_chargalg: Real charged notification
net: More choices of TCP congestions
mali: L2 cache max reads 48kb
mali: Disable mali state tracking
block: 8 io schedulers
debug: Disable KGDB [Adi_Pat]
debug: Android logger as module (free 2mb RAM)
mxt224e: Sensitivity improved by defualt (fix touch responses)
bcmdhd: PM_FAST by default
kernel:Lzop compression
ramdisk: Lzop compression
ramdisk: Init.d scripts
ramdisk: TWRP Recovery 2.2 [diego-ch]
cpufreq: 16 cpu governors
cpuidle: Deeper sleep state
More details in changelog
( Installation )
[DD method]:
You need to root your phone first.
What is ROOT? HOW TO?
Google will answer you. :l
1. Download kernel zips from #3 post
2. Extract kernel.bin.md5 from zips
3. Copy kernel.bin.md5 to somewhere you like (e.g. /sdcard)
4. Open Terminal app,use these commands
Now lets go to superuser mode
su
Click to expand...
Click to collapse
Now lets flash(dd) kernel to kernel partition
dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
Click to expand...
Click to collapse
5. Reboot to take effects
reboot
Click to expand...
Click to collapse
* If you type a wrong dd command,it might hard birck your phone
So please think twice before hit enter
* It is recommended that check the md5 of kernel.bin.md5
If it doesnt match 'md5.txt' in zips,dont flash to phone.
Please re-download zips
[TWRP method]:
If you dont have TWRP recovery,please flash kernel.bin.md5 first.
Press Vol.Up + Home + Power to go to cwm.
Then choost zips in external sdcard to flash.
How to check md5 on phone?
Open Terminal app (Please install busybox first )
'cd' to the folder(e.g. /sdcard) where has the file
cd /sdcard
Click to expand...
Click to collapse
Now get the md5
busybox md5sum -t kernel.bin.md5 >> out.txt
Click to expand...
Click to collapse
Now check the md5 manually

HOW TO
Here are some intructions/tips about how to play with the kernel.
Terminal is needed.
If you want to change the values,it needs su permission.
If you get 'Permisson denied',you need su permisson.
( Boot time )
How to check the boottime?
cat /d/boottime/summary
Click to expand...
Click to collapse
( CPU governors )
PERFORMANCE,POWERSAVE,USERSPACE,ONDEMAND
HOTPLUG,CONSERVATIVE,ONDEMANDX,LIONHEART
INTERACTIVEX,SMARTASS2,PEGASUSQ,LAGFREE
LAZY,INTERACTIVE,SKYWALKER,NIGHTMARE
Click to expand...
Click to collapse
* PegasusQ is taken from SiyahKernel (new version)
* To be honest,most of custom governors are based on ondemand/interactive
( IO schedulers )
SIO(2012),VR,BFQ(v5r1),CFQ,NOOP,ZEN,ROW(v4),Deadline
Click to expand...
Click to collapse
* Please choose them by yourself
( Deepest sleep state )
Stock deepest is 4.Now it is5 by default.
Deepest supported is 6.
To change:
echo 6 > /d/cpuidle/deepest_state
Click to expand...
Click to collapse
* PegasusQ works badly with 6
* OnDemand works well with 6
* Please note that it wont increase the using time but standby time.
To check the cpuidle state:
cat /d/cpuidle/stats
Click to expand...
Click to collapse
( Init.d script )
Please install busybox in system first
I recommend you install busybox via apps
Create a new folder named 'init.d' in /system/etc
Set the permisson of init.d foler to 0777(rwxrwxrwx) (at least has read and exec permission)
Set the owner to 0.0 (root root)
Put some scripts (any name you like) in init.d folder with permisson 0777 (rwxrwxrwx) (at least has read and exec permission)
Scripts with right permisson will be runned when system boots.
( Real charged notification )
Well,please let me call it notification.
To be honest,it needs to check manually.
cat /sys/module/abb_chargalg/parameters/eoc_status
Click to expand...
Click to collapse
* You can use Rootexplorer to view this file.
* When it says "First full charging reached",then the UI should show you charged 100%
But it is not the real full charged.
* When it says it is the real full charged,you can unplug the charger.
* When you are charging and do a reboot will reset the counter.
* According to my experiments,it needs 1-2 hours to charge to real full.
( Sound control )
Please note that listening to too high volume music over 1 hour can damage your ears.
Or makes your speaker/headset overload.
Volume control only can increase headset volume.
To enable: (default: disable) (0=disable 1=enable)
echo 1 > /sys/module/snd_soc_ab8500_audio/parameters/hsx_boost
Click to expand...
Click to collapse
[Advanced:]
To control the volume gain: (default: 0) (Volume: 0 > 34 > 68(stock) > 85)
echo xx > /sys/module/snd_soc_ab8500_audio/parameters/hsx_write
Click to expand...
Click to collapse
* Most values(except 0,34,68,85) will make the volume lost balance.
How do i check it shuts down?
dmesg | grep -i asoc
Click to expand...
Click to collapse
* Or read the parameters hsx_read in sysfs
If you get some msgs like "ANAGAIN3=85"(if hsx_read = 85),that means ab8500 asoc has been powered off.
( TCP congestions )
Supported:
cubic(default),westwood,highspeed,vegas,veno,yeah
Click to expand...
Click to collapse
To check all the available options:
busybox sysctl net.ipv4.tcp_available_congestion_control
Click to expand...
Click to collapse
To change to other option:
busybox sysctl -w net.ipv4.tcp_congestion_control=YOU_WANT_TO
Click to expand...
Click to collapse
#include
Latency - Download - Upload
cubic:
1st run: 15ms - 10,75Mbps - 7,82Mbps
2nd run: 14ms - 10,84Mbps - 8,06Mbps
westwood:
1st run: 11ms - 17,65Mbps - 8,30Mbps
2nd run: 13ms - 13,28Mbps - 8,29Mbps
highspeed:
1st run: 13ms - 10,76Mbps - 7,94Mbps
2nd run: 16ms - 14,42Mbps - 8,52Mbps
vegas:
1st run: 14ms - 8,49Mbps - 6,62Mbps
2nd run: 14ms - 12,00Mbps - 7,07Mbps
veno:
1st run: 13ms - 9,58Mbps - 8,13Mbps
2nd run: 13ms - 8,50Mbps - 7,64Mbps
yeah:
1st run: 14ms - 13,37Mbps - 8,28Mbps
2nd run: 17ms - 13,89Mbps - 8,14Mbps
Click to expand...
Click to collapse
( Service Mode )
In dialer, type:
Secret code:*#197328640*# (service mode)
Secret code:*#9900*# (SysDump)
In SysDump:
Disable fastdormancy might help 3G standby time (Depends on your mobile base station)
* Google to learn more
RAM DUMP is a debugger.Most of us wont use it.So disable it. (Tap it,every tap will make a reboot,until it shows you "Disable....",then tap disable,it is disabled)
* Google to learn more about secret code
Almost tweaks will be restored to default after reboots.
So you can make your tweaks as init.d scripts to apply them when boots. :laugh::laugh::laugh:

Downloads & Source & Credits
( ChangeLog )
2013-02-22
defconfig:bump version 1.0
logger:make as module
2013-02-21
defconfig:bump version 0.9
defconfig:enable pn544 config
defconfig:disable mismatch checking
board-janice:increase touchscreen sensitivity
(fix sensitivity issuse)
rcu:enable fast nohz rcu
arm:enable thumbee
arm:build vfp with neon+hardfloat
net:enable advanced tcp configs
mm:slab -> slub
mali:disable mali state tracking
mali:mali l2 max reads 28kb -> 48kb
block:add bfq io scheduler
block:add zen io scheduler
block:add sio io scheduler
block:add vr io scheduler
blcok:add as io scheduler
sched:add nr_running symbol
cpuidle:deepest state 5 -> 4
cpufreq:merge governors from mini
cpufreq:update pegasusq governor
cpufreq:add nightmare governor
cpufreq:add hotplug governor
bcm4330: pm_max -> pm_fast
arm: patch arm crypto
arm: patch ezekeel resem
ab8500-asoc: patch sound control
ab8500-chargalg: patch real full charged notification
debug:disable kgdb
2013-02-17
defconfig: add CoCore-P config
defconfig:fix configs
drivers:fix ISSP clean error
drivers:add samsung drivers
drivers:add pn544 driver
board:add nfc i2c pdata
board:enable nfc gpios
timer:add usleep range
arch:add um arch folder
Click to expand...
Click to collapse
( Downloads )
Check the ATTCHMENTS
( Source )
Github: https://github.com/cocafe/i9070_kernel_CoCore-P
( Credits [a-z] )
Adi_Pat for helping the kernel and patches&hints!!!
CallMeVentus for patience tests and his I9070P!!!!!
diego-ch for TWRP!!!!
hafidzduddin for helping the kernel and great hints!!
Samsung for kernel source :/
P.S
I am sorry that i dont own this device,so it is not convenient for me to dev.
CallMeVentus will continue my works
Enjoy!! :laugh::laugh::laugh:

Boy Boy you are P user Hero now.....

Rooted firmware for 9070P users :
https://hotfile.com/dl/183517897/ebff311/I9070PXXLD2_I9070POJVLD1_TUR_ROOTED_SUPERSU.rar.html
Finally don't forget install the latest busybox binary :
https://play.google.com/store/apps/...m_medium=organic&utm_term=busybox+google+play

BusyBox
I never installed BusyBox. But when opening SD Maid, I see "BusyBox Version: BusyBox v1.19.3-sdm208". I assume BB came from Super SU? Do I still need to do a separate install of BusyBox?

MrTooPhone said:
I never installed BusyBox. But when opening SD Maid, I see "BusyBox Version: BusyBox v1.19.3-sdm208". I assume BB came from Super SU? Do I still need to do a separate install of BusyBox?
Click to expand...
Click to collapse
It is integrated for SD Maid, it is not for other stuff - just for SD Maid.

shut_down said:
It is integrated for SD Maid, it is not for other stuff - just for SD Maid.
Click to expand...
Click to collapse
Thanks. So I should install BB.

MrTooPhone said:
I never installed BusyBox. But when opening SD Maid, I see "BusyBox Version: BusyBox v1.19.3-sdm208". I assume BB came from Super SU? Do I still need to do a separate install of BusyBox?
Click to expand...
Click to collapse
SD Maid including busybox her body :silly: like titanium backup, you have to install from Busybox app, BB is important solution for unix-base systems if you have a rooted device ; one day you're gonna need it. :good:

Odp: [Kernel][02/22/2013] CoCore-P 1.0
I use dd method. Everything work fine. Installed 10 minuts ago
{
"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"
}
GT-I9070P®land

shut_down said:
It is integrated for SD Maid, it is not for other stuff - just for SD Maid.
Click to expand...
Click to collapse
SD Maid's BusyBox must be used by other apps. After installing BusyBox, Universal Kernal Flasher stopped working and gave an error that BusyBox bin could not be found. I got UKF to work again by wiping data/uninstalling/re-installing. All is good now.

Odp: [Kernel][02/22/2013] CoCore-P 1.0
hello. I am using this kernel all day. so far everything is working very well. I do not use nfc so I do not know if it works. thanks a lot
GT-I9070P®land

qbastrzem said:
hello. I am using this kernel all day. so far everything is working very well. I do not use nfc so I do not know if it works. thanks a lot
GT-I9070P®land
Click to expand...
Click to collapse
NFC works , don't worry
"Viper kills.....again!"

R: [Kernel][02/22/2013] CoCore-P 1.0
I test it from 3 days and I can say this kernel is very good in performance and in battery life (I have played with governor and scheduler)
Good job friends!
A Big tanks to Cocafe and callmeventus! :beer:
______________________
Inviato dal mio GT-I9070P CoCore-P-0.9 Kernel
Se ti sono stato d'aiuto, non ringraziarmi, non mi interessa

just installed the 1.0P to my wife's phone - never seen soooo smooooooth gingerbread phone before, wow! thanks a lot!

shut_down said:
It is integrated for SD Maid, it is not for other stuff - just for SD Maid.
Click to expand...
Click to collapse
100% correct .
MrTooPhone said:
SD Maid's BusyBox must be used by other apps. After installing BusyBox, Universal Kernal Flasher stopped working and gave an error that BusyBox bin could not be found. I got UKF to work again by wiping data/uninstalling/re-installing. All is good now.
Click to expand...
Click to collapse
SD Maids busybox is located at /data/data/eu.thedarken.sdm/files/busybox
It is very unlikely that other apps use it. They could if they want, but why would they?
Also it is not a full busybox, it just contains a set of applets necessary for SD Maid to work.

Dark3n said:
100% correct .
SD Maids busybox is located at /data/data/eu.thedarken.sdm/files/busybox
It is very unlikely that other apps use it. They could if they want, but why would they?
Also it is not a full busybox, it just contains a set of applets necessary for SD Maid to work.
Click to expand...
Click to collapse
I don't have BusyBox app installed, But when I run Root Validator, it says BusyBox binary is at /system/bin/busybox. See attached. I have SD Maid installed. Maybe BB came in with my rooted FW found at "http://forum.xda-developers.com/showthread.php?t=1985199"

purplepizza said:
I don't have BusyBox app installed, But when I run Root Validator, it says BusyBox binary is at /system/bin/busybox. See attached. I have SD Maid installed. Maybe BB came in with my rooted FW found at "http://forum.xda-developers.com/showthread.php?t=1985199"
Click to expand...
Click to collapse
You could prehaps try using Busybox installer to overwrite that busybox it worked for me in such a situation before

Odp: [Kernel][02/22/2013] CoCore-P 1.0
hello. at last we have a working kernel (thank you very much to all involved) can I install a custom ROM?
GT-I9070P®land

qbastrzem said:
hello. at last we have a working kernel (thank you very much to all involved) can I install a custom ROM?
GT-I9070P®land
Click to expand...
Click to collapse
I dont know but you can try
Try:
Flash the ROMs
Flash kernel
If you get Unknown Baseband
Flash modem via Odin
Check the cpu load...(if it goes high then the ROM is incompatible)
Please report back
Sent from my GT-I9070 using xda premium

Related

[SCRIPT][TUTORIAL] V6 Supercharger Optimization & KickAssKernelTweak!

I) : V6 Supercharger Tutorial
II) : Kick Ass Kernel Tweak tutorial
Hi all, I found it V6 Supercharger
This script is a complete memory management fix. More info in the original thread !
Me and some others had tested it and it works ! The phone is smoother and faster !
Note : it's recommended to delete all memory scripts before using this !
Warning ! You need a rooted Phone, and you need a kernel that supports Autostartup Scripts !
( This tuto is provided without warranty of any kind )
If you have laggs ( With or without V6SuperCharger ) see at the end of the post !
I) Tutorial V6 SuperCharger :
First of all you have to downgrade Busybox ( It might work with version 1.19, I don't know but recommended to downgrade cause of risk of bugs ! )
Use Busybox Installer and try version 1.18.2 or lower !
Then you can use Script Manager ( recommended ) or Terminal emulator (Two methods).
And you need the script(V6 update9beta3.1)
Delete .txt extension, file have to be a sh file
Just place it on your SD card.
WITH SCRIPT MANAGER :
Launch Script Manager
Search the script you placed on SD card
Slect it, and select " Run as root " ( /!\ Don't Select Run at boot ! /!\ )
Execute it
It will ask for speed, tap on screen, type 2 and press enter.
You can see now a list with 17 choices.
Recommended choices are 6 and 7 ( You can test others if you want, maybe they work better ).
So write 6 or 7 and press enter.
You will see under the list, "Current Minfrees = X,XX,XX,XX....."These are the values you've selected before.
When it's done, exit Script Manager, and browse to /system/etc/init.d with Root Explorer or equivalent.
You can see "99SuperCharger", you have to rename it in "S99SuperCharger" ( If not renamed, it will not be load at boot ! )
Now reboot your phone !
When phone rebooted, launch Script Manager and the script
Choose 0
And after list, verify that says : ( Exemple for choice 7 so, values are values from 7th choice )
Code:
Current Values MATCH Prior SuperCharge!
Current minfrees = 6,8,26,28,30,32 mb
Prior V6 minfrees = 6,8,26,28,30,32 mb
If values match, it's OK !
Enjoy !
WITH TERMINAL EMULATOR OR ADB SHELL (First Method) :
Note : Rename file script in "Script.sh" is easier
First, type su ( enter in Super User rights )
Type:
Code:
sh /mnt/sdcard/Script.sh
Select Scroll speed : Type 2 and enter.
You'll see the script with the list
Recommended choices are 6 and 7 ( You can test others if you want, maybe they work better )
So, type 6 or 7 and enter
After script done, you will see under the list, "Current Minfrees = X,XX,XX,XX....."These are the values you've selected before.
Exit terminal emulator or ADB Shell
Browse with Root Explorer to /system/etc/init.d
Rename "99SuperCharger" in "S99SuperCharger" ( If not renamed, it will not be load at boot ! )
Reboot Your phone !
When phone rebooted, launch script again,
Choose 0
And after list, verify that says :
( Exemple for choice 7 so, values are values from 7th choice )
Code:
Current Values MATCH Prior SuperCharge!
Current minfrees = 6,8,26,28,30,32 mb
Prior V6 minfrees = 6,8,26,28,30,32 mb
If values match, it's OK !
Enjoy !
WITH TERMINAL EMULATOR (Second Method)
Note : Rename file script in "Script.sh" is easier
First, type su ( enter in Super User rights )
Type:
Code:
sh /mnt/sdcard/Script.sh
Select Scroll speed : Type 2 and enter.
You'll see the script with the list
Type 15, and Enter
Type Y and Enter
Exit the script ( Type 17 )
And now, type V6 bash ( or V6 or bash V6 or sh V6 )
You'll see the script with the list
Recommended choices are 6 and 7 ( You can test others if you want, maybe they work better )
So, type 6 or 7 and enter
After script done, you will see under the list, "Current Minfrees = X,XX,XX,XX....."These are the values you've selected before.
Exit terminal emulator or ADB Shell
Browse with Root Explorer to /system/etc/init.d
Rename "99SuperCharger" in "S99SuperCharger" ( If not renamed, it will not be load at boot ! )
Reboot Your phone !
When phone rebooted, launch script again (type bash V6 in terminal),
Choose 0
And after list, verify that says :
( Exemple for choice 7 so, values are values from 7th choice )
Code:
Current Values MATCH Prior SuperCharge!
Current minfrees = 6,8,26,28,30,32 mb
Prior V6 minfrees = 6,8,26,28,30,32 mb
If values match, it's OK !
Enjoy !
II) Tutorial KickAssKernelTweak :
Just Download The script
Rename it as S98KickAssKernelTweaks ( If not renamed, It will not be load at boot ! )
Place it in /system/etc/init.d folder and reboot your phone
___________________________________________________________________
___________________________________________________________________​
If you have laggs just download Script file "Cache.sh.txt" in attachement.
Remove .txt extension to have a .sh file.
Put it on your SD card, and run it with Scriptmanager ( You can do a Script widget with script manager to access it simply by homescreen )
Look at here for more information : zeppelinrox's post
NOTE : You can explore other choices by yourself and / or look at zeppelinrox thread !
Tutorial by me !
ALL CREDIT TO : zeppelinrox
If you have suggestion, request or question just tell me
Did you had to downgrade you busybox too like was recommended?
Mine is 1.18.4 now. Think it came with Titanium.
Kingzak34 said:
( Sorry if I posted in wrong section )
Click to expand...
Click to collapse
It is proper section...just mention the name of the original developer also...
Kingzak34 said:
Hi all, I found it yesterday, V6 Supercharger
I tried it, it works, and I find phone more responsive and smooth, can anyone test it and give me feedback ?
I use Balanced 3 ( 6th choice )
After you run the script go to system/etc/init.d and ( mount system R/W )
And rename 99SuperCharger in S99SuperCharger
And then reboot the phone ( You can verify by re run the script if setings are saved after reboot )
I wait your feedbacks
( Sorry if I posted in wrong section )
Click to expand...
Click to collapse
I tried it. But my phone stucked in sleep mode each time.
i5 Rom
busy box downgrade and it works on in5 non oc and other cfws
Trying Balanced3 with Kyrillos 6.1, G3Mod v1.3.4 Performance and busybox 1.18.2. Feels pretty snappy, I hope it's not because of the reboot or the placebo effect.
Thank you for feedbacks, for all, please say what ROM Kernel and CPU Settings you use
Yeah, use 1.18.2 !
So, Good or not ?
@arunmcops What kernel do you use ? I have it for 2 days now, and it works properly ( My Kernel: Fugumod_ BE_2.4-alpha19 ( Kyrillos V6 OC defaut ) with 1300Mhz Performances and 246 performance when screen off )
work realy good had to downgrade busybox and used option7 in script manager no freezes realy fast its recommended
RafayelG said:
work realy good had to downgrade busybox and used option7 in script manager no freezes realy fast its recommended
Click to expand...
Click to collapse
Thanks, can you say to us what ROM Kernel and setting do you use ?
option 7(mutitasking too) working great for me too...using pre release fugumod...using ondemand governor min freq at 260000 and max at 780000..upper threshold 95%..powerbias 400...removed juwe's ram script and auto memory management too..its fast and awesome...trying figure out option 11 and 12
EDIT: indroid 5 rom
cool.darshak said:
option 7(mutitasking too) working great for me too...using pre release fugumod...using ondemand governor min freq at 260000 and max at 780000..upper threshold 95%..powerbias 400...removed juwe's ram script and auto memory management too..its fast and awesome...trying figure out option 11 and 12
Click to expand...
Click to collapse
Yeah thanks ! What ROM ?
Kingzak34 said:
Thanks, can you say to us what ROM Kernel and setting do you use ?
Click to expand...
Click to collapse
G3Mod extreme at 1ghz Rafo's Rom V1.0 JPK base
RafayelG said:
G3Mod extreme at 1ghz Rafo's Rom V1.0 JPK base
Click to expand...
Click to collapse
G3 mod Extrem has many screen off bug, try with ultimate
( Maybe fixed by 1.3.4 version )
rom kyrillos v7.0
kernel G3MOD 1.3.4 ultimate 200-1200Mhz @ savagezen
and i try option 6 and 7, and option 6 for me is smother...
any good results here ?
(•.•) said:
any good results here ?
Click to expand...
Click to collapse
Yes, almost all feedbacks are good
Has anyone tried option 2?
Sent from my GT-I5800 using XDA App
Anybody tried these??
And why is there a need to rename in init.d??
dhirend_6d said:
And why is there a need to rename in init.d??
Click to expand...
Click to collapse
I noted that if the script not begin by S, it's not loaded in my phone :/

[ROM]ICS-4.0.4 FLEX-Ressurrection-Aroma_Rev1 (Flexreaper newest edition)(02-Nov-2012)

A100 users look here for FLEX-100-REAPER rom​
BEFORE YOU DO ANYTHING PLEASE BE SURE TO BE ON THE ICS UNLOCKED BOOTLOADER.
HOW TO DO THIS UNLOCKED BOOTLOADER THING?
For Aroma installer you need to be on one of the following custom recovery's
ezterry's A500PubRecovery
or
TWRP 2.1.3 (not 2.2...)
or
Thor 1.7.3
or
ra-recovery 3.17 (recovery-ra-iconia-3.17-gnm)
INSTALLATION
-first take a full nandroid backup !
-First time installing this rom = wipe all , factory reset , format and make sure to format flexrom!!!
-flash rom first with cwm or RA recovery
-Reboot and do your settings.
-Now you can use the Aroma packages or mods
If you got problems please before posting them do the following.
Performe a REAL format....
here's how to on cwm:
go to in recovery enter "Backup and Restore" and click on "Toggle backup and restore of internal storage (/data/media)"
should say enabled....
then go into "Mounts and Storage" and "format /data"
this will REALLY format data and you will loose all you have in the in the internal memory.
Click to expand...
Click to collapse
FLEX-Resurrection_Rev1-Aroma-Public
CB0D10326EAE374141FFF90A9F30EB9D *FLEX-Resurrection_Rev1-Aroma-Public.zip
BIG THANKS TO EZTERRY FOR FEEDBACK AND HELP !
Based on 1.054.00 and running ezT20 1.0.1 OC Kernel @ 1.2GHz.
If you want stock or other kernel and zRam tweaks see kernel section.
Use the AROMA packages for extra apps on your tablet.
FLEX-THEME_INSTALLER-ver2 (new ressurection mods not included)
-Install 9 different themes , enable/disable AcerRing and a choise of 3 different bootanimations.
-You want more mods , see EXTRA mods a few scrolls lower.
-Or take a look at the extra mods a few scrolls lower.
Click to expand...
Click to collapse
ScreenShot with some extra aroma apps
You can pick different buttons and framework layout in the Aroma installer.
If you select nothing you get stock ICS look
Blue mod (new)
{
"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"
}
(Transparant)
BASED ON 1.054.00_WW_GEN1 & A700 4.0.4
EzT20-V1.0.1 kernel @1.2GHz-Lulzactive
-3 Launchers to pick from , stock Launcher , Apex , Nova
-Android 4.0.4 keyboard
-Busybox 1.20.2-New busybox installer configure busybox to be the primary and not toolbox.
-Build.prop updated for smoother scrolling and dalvik tweaks for deodexed rom.
-DHCP lease patch for wifi @ezterry
-Rooted , su 3.1.3
-Full deodexed -zipaligned
-Init.d support
-Tweaks for memory , internet ,....
-Crypted gps optimazation patch if GPS still don't work fine look here
-Native-Add-Hoc wifi support or use this extra Ad-Hoc patch if original doesn't work , flash with CWM
-Native ntfs support for all kernels , stock Acer , ezT20 and gm-A500-1.5..(Thanks to thor2002ro for vold )
-Development option settings,merci vache
-Little mods to framework and AcerRing by me(in aroma package)
-AcerPrint
-AcerRing , merci vachepour guidée
-SonyBraviaEngine
-Google-Now(in aroma)
Thanks to these people here and this is the "M7- Mikeyxda's version7."
(modded by civato for better icon layout)
-pppWidget for 3Gusb dongle support
-Adrenaline Engine and V6Supercharger tweaks
V6: init.r ramdisk tweaks
V6services.jar tweak
Adrenaline engine: Darky_zipalign(aligns new installed apps on boot) .
Terminal tools
If the auto gps update and mimtempfiles remover don't do there job do the following=
-New GPS updater (lto) terminal command is = su (enter) gps-update(enter)
-Mimetempfile-remover (exchange e-mail temp files) terminal command is = su(enter) remove-mimetempfiles(enter)
Backup tool:
Full ONANDROID backup without the need to reboot.
(Thanks to ameer1234567890)
This backups even your cpuID.
New in this release is it auto detect the externalSD if present to place backup there
Full onandroid backup = command is su (enter) onandroid (enter)
Options in onandroid = su (enter) onandroid -h (enter)
Advanced Options in onandroid = su (enter) onandroid -ah (enter)
databackup command is :su(enter) onandroid -a d(enter) or
su(enter) databackup(enter).
Systembackup command is : su(enter) onandroid -a s(enter) or
su(enter) systembackup(enter)
*clean system (dalvikcache and cache)= command is su (enter) sclean (enter) (from V6 supercharger)
Click to expand...
Click to collapse
Aroma Options:
Code:
[B]"Extra Launcher"[/B]
"APX Launcher", "Launcher with JellyBean look/features, Stock is NOT replaced"
"Nova Launcher", "Launcher with JellyBean look/features, Stock is NOT replaced"
[B] "SELECT_ONLY_ONE look & Framework"[/B]
"BLUE_Trans-LOOK-Mirror-Bar"
"BLUE_Trans-LOOK-Mirror-number"
"BLUE_Trans-LOOK-Mirror-meter"
"BLUE-LOOK-Mirror-Bar" [B]NEW in ressurrection[/B]
"BLUE-LOOK-Mirror-number"[B] NEW in ressurrection[/B]
"BLUE-LOOK-Mirror-meter" [B]NEW in ressurrection[/B]
"BLUE-Transparant-FRAMEWORK"
"BLUE-Special-FRAMEWORK" [B]NEW in ressurrection[/B]
"BLUE-AcerRing", "This replaces the stock AcerRing"
[B] "WIDGETS"[/B]
"AsusWeather"
"DigitalClockWidget2"
"WeatherWidget1"
"WeatherWidget2"
"AgendaWidget"
"MyLocationWidget"
"TaskManager"
"PostIT"
[B]
"GOOGLE-NOW & Social Networking"[/B]
"SocialJogger"
"GoogleNow", "Replace ICS GoogleSearch/VoicSearch/TTS with JellyBean GoogleNow"
[B] "Tools & File Manager"[/B]
"AcerFileApps"
"calculator"
"ApInAp"
"AcerPlanner"
"LumiRead2"
"Supernote"
"Developer_Settings"
[B] "Media Applications"[/B]
"AcerDLNA2"
"ClearFi"
"AcerMedia"
"3DPhotobrowser"
"AcerPrint"
"MusicA_Picasso"
"Asusmail"
[B] "Live Wallpapers & tool"[/B]
"Galaxy4"
"MagicSmokeWallpapers"
"NoiseField"
"PhaseBeam"
"VisualizationWallpapers"
"PhotoWall"
"SimpleWallpaper"
[B] "Keyboards"[/B]
"Asus-Keyboard"
"Acer XT9-Keyboard"
"Swype Keyboard"
"AcerKorIME"
[B] "BootAnimations-SELECT ONLY ONE"[/B]
"A700Default"
"A700-JellYBean"
"AtomicNumbers"
"Vortec"
"Vortec2"
[B]"DATA apps and Tools"[/B]
"EsFileExplorer"
"PhotoEditior"
"Terminal"
"Quickboot"
"PolarisOffice"
"BareCodeScanner"
"Memo"
"BMW Widget"
"GenieWidget"
"GPS-tester"
"Lulzactive"
"Monopoly"
"Real2Racing"
"Solitaire",
"Quadrant"
"Soundhound"
"TitaniumBackup"
"TouchScreenB"
"ToshibaMediaPlayer",
"3GUSB"
HISTORY:
Code:
R3: 27-2-2012:
-28-feb-2012:R4
-2-Ma-2012:R5
-06-Ma-2012: R6-GOLD EDITION
-08-Ma-2012 : R7
-08-Ma-2012 :R8
-09-Ma-2012 :R8 beta2
-11-Ma-2012: R9
-19-Ma-2012: R10
-25-Ma-2012: Added Battery% MODS in mod section
-2-Apr-2012: NEW release R11
-4-Apr-2012: added special R11 mod
-5-Apr-2012: White text mod
-6-Apr-2012: NEW TWEAKED KERNELS
-7-Apr-2012: New White mods
14-Apr-2012: R12 released:
-19-Apr-2012: R12.5 released:
-20-Apr-2012: Acer planner app added
-24-APR-2012: New Transparant mods
-25-Apr-2012:Raster mod added
27-Apr-2012: R12.5-SPECIAL EDITION released.
28-Apr-2012: HC bootloader Tweaked5 kernel that is build in R12.5 Special edition is available in a flashable zip.
29-Apr-2012: R13 released , full 1.033.00 rom based on the ICS OTA of Acer.
-1-May-2012- Released the new Tweaked full root 1.033.00 kernels
-2-May-2012: R14 Released
-8-May-2012: RF1 released
-9-May-2012: New White mod -transparant - MASK menu background (as requested)
-10-May-2012: New RED MOD and White Mod see Special MODS and Optimezd WHite mask mods
13-May-2012: RF1_rv1 released , not a real new release so users on RF1 don't need to flash this.
-17-May-2012:released a patch for the RF1 users so the can update it to RF1_rv1 without the need to reinstall the whole rom.
-18-May-2012:Release RF_rv2
19-May-2012:See patch section above.
20-May-2012: NEW speed optimized Kernels , performance is a little better and "setcpu" is better supported for making profiles(no SoD when using setcpu) (No overclocking , sorry)
-Primary and secondary kernel installer for the people that are on V6 unlocked bootloader , see kernel section
21-May-2012: New Tweaked 3 Speed kernel[URL="http://forum.xda-developers.com/showpost.php?p=26311213&postcount=10"]Kernel Build[/URL] from Source without the SystemWrite protection @ [URL="http://forum.xda-developers.com/member.php?u=3390610"]waydownsouth [/URL]and Speed Tweaks @ civato
23-May-2012: NEW EXTREEM PACKAGE(only for ICS bootloader users)
26-May-2012: EXTREME-PATCH FOR ICS BOOTLOADER USERS ONLY!!
AcerRing disabler & enabler
RELEASE FULL ROM : FLEXREAPER-RF1-EXTREME_EDITION (ICS BOOTLOADER USERS ONLY)
27-May-2012:
-Extreme patch revision2 , kernel updated , solitaire added in data , menu background changed (if you use a mod please reinstall mod)
-FULL ROM revision2
-Bootanimation added.
28-May-2012: Added No games edition and games package
3-Jun-2012: New patch for extreme_rev3 , this updates RF1.... rom to RF1_rev3 EXTREME EDITION (full rom will follow)
Updated kernel
Less aggressive memory tweaks = almost no effect in benchmarks but should give better user experience.
4-Jun-2012:Release full rom rev3
5-6-2012: New custom build bootanimation by JaeKar99
11-Jun-2012: REV4 civato_ezterry Patch release
28-Jun-2012:GOODBYE ROM
NEW RELIXxx WITH SUPERUSER 3.1.3 (in data) instead of the SuperSU for root. (as I think most users prefer this version of root tool). If for some reason root doesn't work , wait a minute or update the "su binary" from with in the superuser app
Added 4.1 JellyBean Android Music2Player and New Playstore (market) and GenieWidget.-7-JUL-2012: NEW RELIXxxX based on 1.054.00 ACER RELEASEenjoy.-NEW RE-FLEX ANDROID 4.0.4 rom , SPECIAL ONE
This is a standalone rom and got nothing to do with FLEXREAPER.
-14-Jul2012
-FLEXREAPER-RF1 switch to FLEXREAPER-RELIX_rev5 Android 4.0.3 : Full 1.054.00 Acer leak based , running stock 1.054.00 kernel with I/O , init.d and GPS tweaks.
If you want to overclock go to the kernel section and flash a OC kernel
-UPDATED all the kernels for the ICS bootloaders..
-15-Jul-2012:Added pre-overclocked kernels.
17-Jul-2012: Added HC-BOOTLOADER_USERS_KERNEL_1.054.00 Tweaked - GPS - I/O - init.d - Full root, for the people that want to run these roms on there tablet with HC bootloader
8-Aug-2012:Added GOOGLE NOW installer for RELIX and RE-FLEXxx
9-Aug-2012: New GoogleNow installation package :
This one removes the VoiceSearch app and give better search Icons (the previous has got 2 google icons in left corner what looks stupid)[COLOR=Red][B]9-Aug-2012:[/B][/COLOR]
[COLOR=Red][B] Release RE-FLEXxx_rev5.2 see that thread for more details[/B][/COLOR]
Release FLEXREAPER-RELIX_Rev6
[COLOR=Red]13-Aug-2012:[/COLOR]
RE-FLEXxx-STRYKER RELEASED
[B][COLOR=Red]18-Aug-2012: [/COLOR][/B]
[B][COLOR=Red] Update patch to REV2 for STRYKER users and full rom (see RE-FLEXxx thread)[/COLOR][/B]
[B][COLOR=Red] 20-Aug-2012[/COLOR][/B]
[B][COLOR=Red] New KERNELS with better Init.d support for all users and.[/COLOR][/B]
[B]20-Aug-2012:[/B]
[B] -New FLEXREAPER-RELIX_Rev7 [/B]
[B]What is new:[/B]
see rom features
For the RELIX_Rev7 build I would like to thank:
-ezterry (Kernel)
-ameer (Backup scripts)
-zeppelinrox (V6Supercharger)
-ImbaWind (Adrenaline Engine)
-thor2002ro (ntfs support vold)
2-Sep-2012
Rev7 to Rev7.1 Patch
Important update regarding GPS lto update.
11-Sep-2012:
V2.0 linuxsociety kernel and zRam tweaks added in[COLOR=Black][URL="http://forum.xda-developers.com/showpost.php?p=22985373&postcount=14"] kernel section.[/URL]
Modded to work on RE-FLEXxx and FLEXREAPER[/COLOR]
[SIZE=2][B][COLOR=Red]15-Sep-2012[/COLOR]
NEW FLEXREAPER-ReliX-GT version
Different installation process with other kernel tweak so the new nandroid backup works.[/B]
[B]New Kernels to work with the new version.
[/B]Old kernels will break nandroid backup feature so I removed them.[/SIZE] [SIZE=2]
Don't use the new kernels on older roms.
[B][COLOR=Red]27-Sep-2012[/COLOR]
[B]New FLEXREAPER-RELIX-GT_Rev1.1 full rom released
Asus keyboard , swype keyboard
Onandroid updated (backup-tool)
Holo launcher removed (didn't like it)
APX 1.3.1 Launcher is now in data\app (so can be removed from within the app drawer)[/B][/B][/SIZE] [SIZE=2]
AND from now on [/SIZE] [SIZE=2]
[COLOR=Red][B]NEW on RELIX-GT_Rev1.1: If you are on a FLEXREAPER version no need to do a full wipe (your data and settings will be untouched) , necessary cleaning is done on installation! You only need to download it and install it with custom recovery![/B][/COLOR][/SIZE]
02-Nov-2012:Release of the new FLEX-Ressurrection-Aroma_Rev1
4.0.4 Android based now.
Apps updated.
Aroma installer with countless options on installation.
New mods
Main goal of this rom is stablity, installing some extra apps or settings can influence the stability (Asus Mail , Developer settings)
All mods for FLEXREAPER will work on this rom.
Click to expand...
Click to collapse
EXTRAMODS
(most of these mods are in the "Aroma Theme Installer")​ Before you flash a mod you reboot first and use the ring, then you go back to recovery to flash the mod.
Blue-buttons-NO battery%
BlueMirror-buttons-NO battery%
Stock-buttons-NO battery%
StockMirror-buttons -NO battery%
Battery% MODS Stock ICS look
Blue-buttons-Battery%
BlueMirror-buttons-Battery%
Stock-buttons-Battery%
StockMirror-buttons-Battery%
Special MODS
FULL-STOCK-ICS LOOK- Blue-buttons - Battery%
RF1-DEFAULT-LOOK(transparant)
Black-Blue-Silver(R12.5 LOOK)
Blue-Tone (R12 look)
GreenBlue(R11look)
GOLD-MOD
TRANSPARANT MODS (same layout / BlueMirror buttons - Battery%, different menu picture)
MASK
NVIDIA-LOGO
RASTER
GoldRing Gold Rastermenu background , Blue buttons , Battery% , transparant mod
Special editions(Active topbar is smaller in some apps with these white mods , because framework is modded for white clock text)
White statusbar mod + white text and battery % mod+ special R11 edition mod
White statusbar mod (circle-battery% stock buttons)
White statusbar mod (circle-battery% -custom buttons)
WHITE MASK MOD STOCK BUTTONS
WHITE MASK MOD CUSTOM BUTTONS
RED MOD (transparant , Red text , buttons , etc.........)
WHITE-MOD (Transparant , White text , etc....)
ACER RINGS
Titanium AcerRing (R9 look)
Gold AcerRing (R6 look gold edition)
R10 AcerRing Special edition (transparant outerring and different search icon)
AcerRing-Black-RF1-default ring
AcerRing-Dancer
AcerRing-Gasmask
AcerRing-BlackBlue-R12.5
AcerRing-GOLD-special-R12.5
AcerRing-GreenBlue
GreyBlue AcerRing (R10 look)
ACER STOCK RING
OLD-MODS
GOLD RING
SILVER RING
BLUE RING
More mods by Oijkn
Click to expand...
Click to collapse
I cannot do this alone , this is a xda project, people that helped so far :
richardtrip
vache
smaury
waydownsouth
drellisdee
sp3dev
euclid's brother
ezterry = big thank you sir for all the help !!
Button mods and stock: (mirror effect buttons by "55Pegasus")
sorry if i forget someone !!
Great job by all devs that made this possible... gonna give it a go.
Server is sloooooow
Thanks civato, Richard, and vache for all your development.
Is there any major SOD?
Sent from my Acer Iconia A500 using Tapatalk
10507 said:
Is there any major SOD?
Click to expand...
Click to collapse
Yes, you should READ, it's in the OP.
lowsum said:
Yes, you should READ, it's in the OP.
Click to expand...
Click to collapse
The SOD timeout period is around 2-3 seconds. So don't turn the screen off because as soon as you do you have to hard reboot. Going back to honeycomb as i presumed timeout would be ALOT longer than 2-3 seconds. Good work though, will monitor this thread very closely waiting for fix.
looking at the leak thread this might not be long...
I have enough faith a fix will be along soon that I'm sticking with this rom.... Aside from the sod its perfect and runs fast as anything, I just won't turn off my screen till I'm ready to shut down.
Great work!
Haze028 said:
I have enough faith a fix will be along soon
Click to expand...
Click to collapse
civato said:
NO SUPPORT ON THIS
Click to expand...
Click to collapse
And people wonder why all of our devs are leaving. You people are retarded, and should be ashamed of yourselves for not reading the damn threads before posting. Between this and the morons spamming Vache's thread with "ZOMG GUYS IT HANGS AT THE ACER SCREEN HELP!" its amazing anyone wants to make roms for this tablet. Read or dont freaking post.
wow lets test this
let me try this
waiting for it so long
temporary fix for SOD see first post, thanks to Richard.
nifterific said:
And people wonder why all of our devs are leaving. You people are retarded, and should be ashamed of yourselves for not reading the damn threads before posting. Between this and the morons spamming Vache's thread with "ZOMG GUYS IT HANGS AT THE ACER SCREEN HELP!" its amazing anyone wants to make roms for this tablet. Read or dont freaking post.
Click to expand...
Click to collapse
I knew it wasn't working when flashing... what is it that I didn't read before posting? Not positive but I'm pretty sure posts involving swearing and ignorance do a better job of keeping the devs out than posts thanking them...
Plus... this was started, in my understanding, to keep unneeded posts our of the dev thread for the leak. This is to discuss the test rom made by the great efforts if vache and richardtrip...
Sorry I'm done with my little rant, just can't stand unnecessary ignorance.
Sent from my MB860 using XDA App
thanks bro keep up the good work.........on a side note since this is the first custom ics rom thats cwm flashable shouldn't the ics bounty go to civato
Kernel section
THESE KERNELS CAN BE USED ON FLEXREAPER-...., FLEX-Ressurrection and RE-FLEXxx
Source by Acer and thank you "ezterry" , couldn't have done the patching without you teaching me and giving me your time.
Installation: flash with cwm or RA recovery , but please also put the stock version on your tablet so you can flash back if you have problems
From 15-Sep-2012 these kernels work only on FLEXREAPER-ReliX-GT & RE-FLEXxx-ShellSHOCK :
The reason for this is Flexrom installation is changed on rom installation, this was done for the nandroid backup support from terminal. For this ramdisk of kernel had to change.
Flexrom(vendor) still excist it is just the way it is installed and running.
ICS bootloader users ONLY:
Stock-Kernel_Acer-Relix_GT-&-RE-FLEXxx_ShellSHOCK (no overclocking)
ezterry kernels for ICS bootloader users:
[email protected]_GT-&-RE-FLEXxx-ShellSHOCK(overclock with a app)
[email protected]_GT-&-RE-FLEXxx-ShellSHOCK Max overclock speed is 1.5GHz , use a app.
[email protected]_GT-&-RE-FLEXxx-ShellSHOCK ramping up to max speed at 70% load (stock kernel is 80%) =Special STRYKER Edition , default 1.5GHz lulzactive bfq. UV and Underclocking is possible with app.
gm-A500-V2.0.. kernels for ICS bootloader users:
gm-V2.0-LulZ-1.0GHz-ReliX_GT-&-Re-FLEXxx-ShellSHOCK(overclock with a app)
gm-V2.0-LulZ-1.2GHz-ReliX_GT-&-Re-FLEXxx-ShellSHOCK Max overclock speed is 1.5GHz , use a app.
gm-V2.0-LulZ-1.5GHz-ReliX_GT-&-Re-FLEXxx-ShellSHOCK.ramping up to max speed at 70% load (stock kernel is 80%) = default 1.5GHz lulzactive VR. UV and Underclocking is possible with app.
gm-zRam tweaks modded for use with RE-FLEXxx and FLEXREAPER.
These mods are 99% based on "linuxsociety" zram tweaks I only changed installation permissions so it works on my roms.
gm-zram-300mb-RE-FLEXxx_FLEXREAPER-Edition.zip~40% free memory is the objective
gm-zram-350mb-RE-FLEXxx_FLEXREAPER-Edition.~50% free memory is the objective
Kernel ramdisk tweaks and mods (DEV only)
For the nandroid feature
In init.picasso.rc
Code:
#mount ext4 /dev/block/mmcblk0p6 /system/vendor wait ro noatime nodiratime
this way the online nandroid can do his thing from terminal.
I also had to change installation proces of the rom.
Click to expand...
Click to collapse
For I/O speed tweaks
In init.picasso.rc
Code:
on fs
mount ext4 /dev/block/mmcblk0p3 /system wait ro noatime nodiratime
setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
mount ext4 /dev/block/mmcblk0p8 /data wait noatime nosuid nodev nodiratime noauto_da_alloc
mount ext4 /dev/block/mmcblk0p4 /cache wait noatime nosuid nodev nodiratime noauto_da_alloc
#mount ext4 /dev/block/mmcblk0p6 /system/vendor wait ro noatime nodiratime
chmod 660 /dev/block/mmcblk0p5
chown root system /dev/block/mmcblk0p5
Click to expand...
Click to collapse
For pre-overclocking and governor settings
(only possible on a zImage that support OC)
(example of 1.5GHz lulzactive 70% full load to max speed)
In init.picasso.rc
Code:
# Power management settings
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 216000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1504000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor lulzactive
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 216000
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq 1504000
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor lulzactive
write /sys/devices/system/cpu/cpufreq/lulzactive/go_maxspeed_load 70
write /sys/module/cpuidle/parameters/lp2_in_idle 0
Click to expand...
Click to collapse
Auto GPS update
(you also need the correct bin file)
In init.picasso.rc
Code:
# Force download of long term orbit data (lto.dat)
# for Broadcom aGPS
# Thanks to waydownsouth @ XDA
# http://forum.xda-developers.com/showthread.php?t=1636757
service gps-lto-dat /system/bin/logwrapper /system/bin/get-gps-lto
user root
group root
disabled
oneshot
on property:init.svc.wpa_supplicant=running
start gps-lto-dat
Click to expand...
Click to collapse
V6 supercharger tweak
(but you need a modded services.jar also)
In init.rc
Code:
on boot
# V6 SuperCharger, OOM Grouping & Priority Fixes created by zeppelinrox.
# SuperMinFree Calculator & MFK Calculator (for min_free_kbytes) created by zeppelinrox also ;^]
#
# See http://goo.gl/krtf9 - Linux Memory Consumption - Nice article!
# See http://goo.gl/hFdNO - Memory and SuperCharging Overview ...or... "Why 'Free RAM' Is NOT Wasted RAM!"
# See http://goo.gl/4w0ba - MFK Calculator Info - explanation for vm.min_free_kbytes.
#
# DO NOT DELETE COMMENTS. DELETING COMMENTS WILL BREAK UNINSTALL ROUTINE!
#
# BEGIN OOM_ADJ_Settings
#
# This ROM (Android 4.0 and greater) requires a PATCHED services.jar
# The ADJ priorities that were here DO NOT work anymore!
#
# END OOM_ADJ_Settings
#################=##################
# Kernel & Virtual Memory Tweaks #
####################################
write /proc/sys/vm/min_free_kbytes 22118
write /proc/sys/vm/oom_kill_allocating_task 0
write /proc/sys/vm/panic_on_oom 0
write /proc/sys/vm/overcommit_memory 1
write /proc/sys/vm/swappiness 20
write /proc/sys/kernel/panic_on_oops 0
write /proc/sys/kernel/panic 0
write /sys/block/mmcblk0/bdi/read_ahead_kb 2056
# End of KVM Tweaks
# End of V6 SuperCharged Entries.
Click to expand...
Click to collapse
init.d support
In init.rc
Code:
# Run init.d scripts
service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
class main
user root
group shell
oneshot
Click to expand...
Click to collapse
In default.prop
Code:
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.strictmode.visual=0
persist.sys.usb.config=mtp,adb
service.adb.root=1
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Aroma Packages
CUSTOMIZING "AROMA" PACKAGES FOR FLEXREAPER AND RE-FLEXxx
FLEX-WIDGAPP-INSTALLER-ver2(274MB):
install all the Acer apps , extra apps and Widgets that you want . (Games/Acer file managers are installed in data so can be removed from within the app drawer)
FLEX-WIDGAPP-INSTALLER_noGames-ver2(130MB)
(Same as package above but no games so file is smaller)
FLEX-WIPER-ver2: (3.8MB)
Use this if you want to remove any of the apps or widgets you installed with the FLEX-WIDGAPP-INSTALLER (except , games/Acer file managers are removed from within the app drawer)
civato said:
come on people , take a chill pil , hope you enjoy the custom leaked rom.
All feed back is welcome but until the SOD problem is not fixed it stays a test beta version.
I put this together in a quicky so everybody could have taste of ICS without having to do difficult stuff that I don't even get !
Click to expand...
Click to collapse
Sorry for mucking up your thread with bickering... comment rubbed me the wrong way this morning.
Anyways this leak runs awesome if you use the wake lock app Richard suggested... noticed the distorted boot screen stays up longer if you use a custom boot animation... but that's neither here nor there. Doesn't effect operation obviously.
Sent from my MB860 using XDA App
camera performence is better tahn 3.0.2 and also video playing is improved without installing codecs or players.
thaks for sleep fix ,,, great work
As mentioned it is okay flashing with CWM 1.6, but has anyone tried flashing this with Ra Recovery?
Thanks
Front facing camera
Hi.
I don't know if it is just my unit, but after installing the leaked ICS ROM, the front facing camera seems to be out of order.
And after launching an app that tries to connect to the front facing camera, the camera on the back stop working too. Until I restart the unit
Anyone else experiencing problems with the front facing camera?
10507 said:
As mentioned it is okay flashing with CWM 1.6, but has anyone tried flashing this with Ra Recovery?
Thanks
Click to expand...
Click to collapse
I was able to flash using RA. No problems.
Sent from my Galaxy Nexus using Tapatalk

[TWEAKS/SCRIPTS/DOWNLOADS]~ BEST TWEAKS EVER ~ ((26-Oct))

Some great stuff from Amazing devs
-Androguide.fr Pimp My Rom {the best tweak :good:} ((October 2012))
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1908269[/url]
- AC!D AUDIO ENGINE Developers ((amazing sound experince))
Code:
[url]http://chautemseric.wix.com/acidaudiotechnology#!devices-support/cdfs[/url]
-croniccorey CronMod-A2SD/D2EXT/INT2EXT {best A2SD tweaks} ((updated 09/19))
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1909374[/url]
- CarlDeanCatabay Increase RAM using Swap File and Swap Partition and SD card partitioning ((great one try it))
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1659231[/url]
-hyperbolic The Complete Guide For Maximum Battery Life {great battery life}
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1909996[/url]
-PIT Tech GameBooster ★ root {great games experience }
Code:
[url]https://play.google.com/store/apps/details?id=com.burakgon.gamebooster[/url]
-OOM groupings and priorities tweaks - SuperCharger ((add it with loopy))
Code:
[url]http://forum.xda-developers.com/showthread.php?t=991276[/url]
-Loopy Smoothness tweak ((add it with SuperCharger))
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1137554[/url]
[url]http://forum.xda-developers.com/showthread.php?t=1205744[/url]
-droidphile Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs ((15th September 2012))
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1369817[/url]
-jader13254 MooDeD Holo Camera
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1742758[/url]
-Rizal Lovins Camera Mod v.4.0 Cybershot Experience
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1918744[/url]
-Arcatarc NotificationLedFix for 4.1.B.0.587 ((17th September 2012))
Code:
[url]http://forum.xda-developers.com/showthread.php?t=1840114[/url]
Other tweaks or guidelines
-Patch your hosts file for blocking Ads
(please think before doing this; many developers are supported through this way)
You can use AdFree application for this or changing manually your hosts file.
Code:
[url]http://www.mvps.org/winhelp2002/hosts.txt
http://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts[/url]
-Use UOT kitchen for basic theming on your device.
Code:
[url]http://uot.dakra.lt/[/url]
-Disable sync feature in sqlite
(author: ownhere - needs a source for your device so you can compile the /system/lib/libsqlite.so)
Code:
[url]http://forum.xda-developers.com/showthread.php?t=903507[/url]
-Use CyanogenMOD's APN list file - one of the most complete located in
Code:
/system/etc/apns-conf.xml
-Do not use task killers.
for GOD sake ... don't use them all... SELECT/MODIFY according to your ROM and what you want.
WARNING
Note: if you don't know what you are doing please don't try. read first and make sure you understand what you are doing and make a backup before doing any mods. i am not responsible for messing up your device but the ARC community and i may assist.
TO WHO CARE TO KNOW
What is build.prop:
- The build.prop file is your android handset’s ‘ID card’.
- It tells applications the specifications of your device, so that apps can change their interface or function for your specific device.
- Editing the build.prop file is most commonly used for changing LCD density, build number and your device’s model or manufacturer.
- Changing your ‘fingerprint’, model or manufacturer can trick some apps in the market to become compatible with your device.
- The build.prop file is a powerful tool for root users to modify the behavior of various aspects of the Android experience. However, there are no secret values here that are going to instantly make your phone run faster, better, smarter, or more efficiently. In fact, if you don't know what you are doing, you can actually decrease the performance of your device. Over time I will investigate more build.prop properties to determine which ones can actually enhance your Android experience and which ones only create a placebo effect
XperienceD said:
...it helps to know what works and what doesn't, causes conflicts, do you need to use one tweak if you're using another etc and all those classed as "busted" I'll never use again. So while it's great to have it all collected in one place lets also sift through what works and what doesn't.
Click to expand...
Click to collapse
WAIT
REQUIREMENT BEFORE YOU START :-
- Make a NANDROID BACKUP
- If you have any V6 Supercharger tweaks installed, un-supercharge before doing these tweaks. Once finished, you may re-supercharge and
- Root (Superuser/Busybox/Terminal Emulator/ES File Explorer),
- kernel that supports "init.d" scripts (script files that are stored in /system/etc/init.d/)This requires edits in build.prop and the use of terminal emulator
- If your build.prop has an additional build properties section the line of code needs to go in there
(If lines starting with dalvik.vm.checkjni=false or windowsmgr.max_events_per_sec=300 exist already in build.prop, please modify them as shown below. Obviously if it isn't already in build.prop, just add it in.)
How to
Replace OR tweaks Build.prop :-
1. Download Es File Explorer ((OR ANY APP LIKE IT))
2.CLick menu, settings, check Root Explorer and Mount File System
3.Copy the Build.prop file into the sd card and copy with file manager
4.Click Favorites tab, Click Phone icon /
5.Navigate to system/
6.Rename build.prop to build.bak
7.Paste build.prop you copied earlier Reboot! Done! :good:
Build.prop tweaks((UPDATED 26-Oct))
Add these at the end of your build.prop
Code:
IN THE ATTACHMENT
~ Free Up More RAM, Make Apps Load Faster ~
1) Open Terminal Emulator on phone or adb shell from PC and type the following.
Code:
su
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=a,u=y,m=y
As shown:((here written v=n,o=v so the new one is v=n,o=a,u=y,m=y))
{
"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"
}
2) Add these lines to the bottom of build.prop using Root Explorer -- or any other app of your favorite
.
(If lines starting with dalvik.vm.verify-bytecode or dalvik.vm.dexopt-flags exist already in build.prop, please modify them as shown below. Obviously if it isn't already in build.prop, just add it in.)
Code:
dalvik.vm.verify-bytecode = false
dalvik.vm.dexopt-flags=v=n,o=a,u=y,m=y
As shown:((here written v=n,o=v so the new one is v=n,o=a,u=y,m=y))
After this, run these two commands in adb shell or terminal emulator
Code:
rm /data/dalvik-cache/*
rm /cache/dalvik-cache/*
reboot
3) Okay, this step is only for those who experience errors from typing the following lines from Step 2:
Code:
rm /data/dalvik-cache/*
rm /cache/dalvik-cache/*
**If you got the error, make sure to undo the tweak since now you are probably experiencing FC's right now and start all over. The undo process**
How to UNDO this tweak
Type the following in adb shell or terminal emulator
((also u can users, skip the 3rd and 4th lines. That starts with "rm" and instead, reboot in recovery and clear cache partition and dalvik-cache but better to do it all))
Code:
su
setprop dalvik.vm.verify-bytecode true
rm /data/dalvik-cache/*
rm /cache/dalvik-cache/*
reboot
So just make sure you have done Step 1 and the edits of build.prop from Step 2 correctly. After that, reboot into recovery and clear cache partition and clear dalvik-cache. Thats all.
Init.d tweaks ((UPDATED 26-Oct))
(needs ROM with init.d access and busybox, open empty file, insert header #!/system/bin/sh and put these there, save in /system/etc/init.d and name it something like 77tweaks)
Note:
1- If you have init.d problem or if not have init.d folder try add this line at hw_config.sh
2- some (needs zipalign bin) #!/system/xbin/bash,so it needs the bash file in the /system/xbin folder in order to work
Code:
I COLLECT A LOT OF THEM
IT TOOK ME ALLOT OF TIME AND EFFORT
I PUT THEM IN TEXT
IN THE ATTACHMENT
DELETED WHICH IS DUPLICATED
& MODIFIED SOME
I COULDN'T WRITE THEM ALL HERE
CAUSE ITS SO BIG TO WRITE IT HERE
THEY JUST ALLOW AMOUNT OF LINE FOR ME
SO I PUT THEM ALL IN TEXT DOCUMENT IN THE ATTACHMENT
EVERY DEVS NAME NEAR HIS SCRIPTS
ANYONE COULD DO THEM IN FLASH ABLE ZIP IT WILL BE GREAT
GOOD LUCK TO ALL
THE RAR IS JUST THE TWEAK NOT FLASH ABLE ONE
sysctl tweaks ((UPDATED 26-Oct))
To make them work:
1. make a new file in /system/etc/init.d, name it sysctl tweaks
2. make a new file in /system/etc, name it sysctl.conf
3. Paste the right code in the right file
-To activate sysctl tweaks
Code:
#!/system/bin/sh
# grep sysctl /etc/init.d/*
/etc/init.d/02vm:# Load /sys/etc/sysctl.conf
/etc/init.d/02vm:sysctl -p
-sysctl.conf
Code:
IN THE ATTACHMENT
Tweaks wich didnt wrok "busted" we will never use again and been test by users ((thanx to XperienceD for this great idea))
I COLLECT MOST OF THEM AND WE WILL POINT WHAT IS FAKE AND WHAT IS NOT
Build.prop tweaks
some was big placebo
and i was saying way my phone gone bad and my gf and my friends
cause alllllllllll was fake
some are not but its already been put to the tweaks up
prove of what i said
first one thanx to the amazing XperienceD
- first one by XperienceD thanx
second
3g tweak its just a big lie
http://forum.xda-developers.com/showthread.php?t=1610444
http://forum.smartphonegeeks.in/index.php?topic=2414.0
i will keep digging to clean the net from placebo tweaks so my plan is not to **** any phone any more and make universal tweaks works with every one
and point out what is never worked and was just a placebo effect. and which have compatibility issues with ICS
so we can Unleash our device Hidden Powers thats my goal​
Thanks for the info man
But just some advice, I found that some of the tweak mentioned above is somewhat experimental
I forgot which ones, but after doing some research on google, they are indeed not yet fully tested (the effect is still unnoticeable)
And it will be great if you make the thread (2nd post to be more specific) to be more tidy
There are same tweaks mentioned more than one time, it might not good for people to copy and paste the tweaks directly from your thread
Cheers
fakhreza said:
Thanks for the info man
But just some advice, I found that some of the tweak mentioned above is somewhat experimental
I forgot which ones, but after doing some research on google, they are indeed not yet fully tested (the effect is still unnoticeable)
And it will be great if you make the thread (2nd post to be more specific) to be more tidy
There are same tweaks mentioned more than one time, it might not good for people to copy and paste the tweaks directly from your thread
Cheers
Click to expand...
Click to collapse
MAN
First thanx to tell me about my mistake of putting the same tweaks twice
Second i tidy it more now every tweak title will start with #
Third experimental yes some r but u will see improvment
thanx again
dr said:
Third experimental yes some r but u will see improvment
thanx again
Click to expand...
Click to collapse
And some just don't work - http://www.jeffmixon.com/examining-build-prop-tweaks-for-android-ics-a-comprehensive-guide-part-1/
XperienceD said:
And some just don't work - http://www.jeffmixon.com/examining-build-prop-tweaks-for-android-ics-a-comprehensive-guide-part-1/
Click to expand...
Click to collapse
sorry for that :angel:
am just trying to help
i just updated for other new stuff and cool tweaks
best wishes
i add huge update and new tweaks and arrange it in better way
dr said:
i add huge update and new tweaks and arrange it in better way
Click to expand...
Click to collapse
thanx great collection
dr said:
am just trying to help
Click to expand...
Click to collapse
So am I.
If these things really improve experience, why Sony didn't add theme to their devices in official roms ?
They are professional developers after all ?
XperienceD said:
So am I.
Click to expand...
Click to collapse
thanx :good:
n4ki said:
If these things really improve experience, why Sony didn't add theme to their devices in official roms ?
They are professional developers after all ?
Click to expand...
Click to collapse
why sony didn't fix led bug and they did it here
why sony roms vs good modified stock roms suck
so simple
welcome to android world
dr said:
thanx :good:
Click to expand...
Click to collapse
I found that link whilst searching for mods and used to use some myself, but when you take in to account...
The build.prop file is a powerful tool for root users to modify the behavior of various aspects of the Android experience. However, there are no secret values here that are going to instantly make your phone run faster, better, smarter, or more efficiently. In fact, if you don’t know what you are doing, you can actually decrease the performance of your device.
Click to expand...
Click to collapse
...it helps to know what works and what doesn't, causes conflicts, do you need to use one tweak if you're using another etc and all those classed as "busted" I'll never use again. So while it's great to have it all collected in one place lets also shift through what works and what doesn't.
yes as i already said in an other thread, it would be helpful known which of these improove our Arc/Arc S and which one deprove some roms, for example the JS 6.1 which im using
XperienceD said:
I found that link whilst searching for mods and used to use some myself, but when you take in to account...
...it helps to know what works and what doesn't, causes conflicts, do you need to use one tweak if you're using another etc and all those classed as "busted" I'll never use again. So while it's great to have it all collected in one place lets also shift through what works and what doesn't.
Click to expand...
Click to collapse
noooooooooooooooooooooooooooooooooooooooooooo
noooooooooooooooooooooooooooooooooooooooo
noooooooooooooooooooooooooooooooooo
i didnt take it in to account really its my first time to make thread and i thought u attak me while those not mine
in other way u can say it in deffrent way so i will understand what u want me to understand i will add ur link to the collection
am sorrrrrrrrrrrrrrrrry really soooooooooooo much if i efended u
and thats right lets start to see what is working and what is not
by the way i add and correct some
and trying to do what i can do for helping whom i can
again thanx and soooooooooory if i did something bad
danybhai said:
thanks
Click to expand...
Click to collapse
at ur service alll the time welcome
deniel said:
yes as i already said in an other thread, it would be helpful known which of these improove our Arc/Arc S and which one deprove some roms, for example the JS 6.1 which im using
Click to expand...
Click to collapse
for me i dont use any rom i just root the stock one and play with it for me the last build one works with me
although i went through the web and see some and puts the best value for the best berformance and whats work with me maybe didnt work with u so try and tell us it will be great help
dr said:
again thanx and soooooooooory if i did something bad
Click to expand...
Click to collapse
No offence taken, obviously just a mis understanding.
Thankx for ur hardwork
xperienced said:
no offence taken, obviously just a mis understanding.
Click to expand...
Click to collapse
glad to hear that
cimi244 said:
thankx for ur hardwork
Click to expand...
Click to collapse
all the time welcome
glad to help
why
i get bootloop
alllllllllllllllllllllllllllllllllllllllllllllll
the time when i update the Build.prop tweaks
in JELLY SANDWICH 6.1
and i noticed also the same thing
some Build.prop tweaks repeated twice but with deffrint value in defferint tweak pak
but the rom work like charm :laugh: any idea
dr said:
Tweaks wich didnt wrok "busted" we will never use again and been test by users ((thanx to XperienceD for this great idea))​
- first one by XperienceD thanx
Click to expand...
Click to collapse
The battery tweaks that you posted in the second post - what does they improve? Huh?

[WORKAROUND] Bootloops due leaking handles with Xposed in Lollipop

Fix found and released:
http://forum.xda-developers.com/showthread.php?p=60454547
Downloads & instructions: http://forum.xda-developers.com/showthread.php?t=3034811
Discussion & Q&A:http://forum.xda-developers.com/xposed/official-xposed-lollipop-t3030118
I asked moderator to close this thread as issue was fixed by releasing new version of Xposed framework. Please send your further questions and post to respective thread.
This thread is about workaround found for bootloops of Xposed in XPERIA family Lollipop. Because of development progress, I have decided to remove historical development, you can see it here:
LATEST VERSION will be always posted at the END of this post
PLEASE READ INSTRUCTIONS .... The attachment IS NOT flashable!!! For flashables see EDIT 5 and bellow...
I hope I can present some good news for users with locked bootloaders who are getting bootloops with Xposed and Lollipop.
This is still continuous WIP. Know what you do, this is a development thread.
For time being, most complete solution by my opinion was made by @mionica, see EDIT 6 and hist post http://forum.xda-developers.com/showpost.php?p=60298690&postcount=123? and for latest development at http://forum.xda-developers.com/showpost.php?p=60333600&postcount=285
As you may already know, we have find out, that some undetected error is causing system to bootloop, if too many applications are installed.
Exact numbers are varying between different ROMs and devices, generally the maximum number of apps is about 320-330.
Debloating (uninstalling unnecessary apps) helps, but remains limiting and for many frustrating. After a research, we have found out,
that there is probably a bug, that is causing many files being left open when booting Lollipop with Xposed.
Users on unlocked bootloader may modify certain kernel parameters to raise number of open files. This can not be done on Locked Bootloader.
After some research and hours of experiments, I found a way, how to change the filelimit for Zygote and subsequent processes. Therefore every child of zygote (hence every app etc.) will inherit raised open files limit from 1024 to 4096.
This change should work on all 5.0 compatible system, not only XPERIAs, however I only tested it on Z3 D6603 fw 690. But the modification
is done on Linux system level, therefore it should teoretically work just everywhere... It should work also on Locked bootloaders as well.
The principle is easy, however implementation was a tricky, because of lack of native linux utils support on Android and fact that we can not
easily modify booting behaviour. But gladly enough we have XZDualRecovery (gret thanks @[NUT])....
XZDualRecovery enables to call init scripts on startup. I have created a startup script that waits for zygote process to come up, and calls
external program that changes open file limits for that process. This external program is compiled by me from source provided by http://lzone.de/cheat-sheet/ulimit
Prerequisities: Functional XZDualRecovery or other form of init.d support.
Installation:
Extract downloaded ZIP file, it contains:
flimit-binary executable for changing open file limits
01_flimit - shell script called by init
flimit.c - source code of binary executable
Enable init.d support in XZDualRecovery by editing XZDR.prop and change dr.initd.active=true
Dont forget to have enabled byeselinux (dr.keep.byeselinux=true)
copy flimit and 01_flimit to /data/local/tmp (or push adb)
remount /system rw (mount -o remount,rw /system)
create directory /data/flimit
copy flimit to /data/flimit and make executable (chmod 777)
create directory /system/etc/init.d with and chmod 777 /system/etc/init.d
copy 01_flimit to /system/etc/init.d and chmod 777 /system/etc/init.d/01_flimit
test run installation:
Code:
su
/data/flimit/flimit $(pgrep zygote)
output should be:
Code:
[email protected]:/data # /data/flimit/flimit $(pgrep zygote)
Previous limits: soft=1024; hard=4096
New limits: soft=4096; hard=4096
If not, check permissions etc.
Check script by running:
Code:
su
sh /system/etc/init.d/01_flimit
it should now give output (if you succesfully ran /data/flimit/flimit....):
Code:
[email protected]:/data # /data/flimit/flimit $(pgrep zygote)
Previous limits: soft=4096; hard=4096
New limits: soft=4096; hard=4096
reboot
Thats all. Now you can install and update lot more applications. Now I have about 455 packages reported by pm list packages and no bootloop.
But as soon as I disable the init.d support, it bootloops. So re-enable by edititng XZDR.prop and it again boots.
EDIT:Please let me know, if you had to modify the script or instructions to work on your device, so I can perhaps make better or more universal version. Thank you guys.
EDIT 2:While this workaround makes it possible to run Xposed on untouched vanilla Stock ROM, you may still consider debloating it, as debloating will make run your device more smoothly and saves battery. Guys who made debloating scripts made significant efforts in identifying which apps can be safely removed without harming any significant functionality.
EDIT 3:The ZIP is NOT flashable, follow instructions ^^^^ --- buddy @McBane87 is developing flashable version.
EDIT 4:Buddy @nurps found a bug causing Opera browser to quit upon starting. @mionica proposed lowering softlimits for open files to 2048 from 4096 in first version of script. Version 1.1 is released.
EDIT 5:Buddy @McBane87 created customized flashable version of this workaround, so you can flash it from recovery if you struggle with bootloops, dont like to wait fro 300apps to optimize after Dalvik wipe and mess with adb/terminal..
http://forum.xda-developers.com/showthread.php?p=60276913
EDIT 6:Buddy @mionica published another flashable zip. It is complete installer for the workaround, so far most sofisticated workaround from system point of view. The uninstaller completely removes Xposed if you are too tired of it and forgot to make backup Files are bellow, for instructions etc. check it out on http://forum.xda-developers.com/showpost.php?p=60298690&postcount=123 and for latest development at http://forum.xda-developers.com/showpost.php?p=60333600&postcount=285
Changelog:
v1: Initial release
v1.1: Changed limits to 2048 from 4096 as high limits caused Opera Webbrowsers to crash
v2.0 Reference script - for production please flash @mionica version of flashable, my script is published for educational purposes. added mionicas mod to detect only changed limits and subsequently remove only those that are child of zygote
***************************************
I would like to thank mainly to @[NUT] and to guys who made significant effort with debloating, made other discoveries or were an inspiration
for me, including but not limited to @serajr @moly82 @AndroPlus (for his work on file limits in kernel) @redincali and of course to @rovo89
for his Xposed framework. My apologies if I forgot someone, PM me, its 2 o'clock in morning
or in this post http://forum.xda-developers.com/showpost.php?p=60349914&postcount=354
While I have developed initial version (see history), other guys (mainly @mionica and @McBane87) greatly enhanced and redeveloped whole thing.
Current development version and downloadable files you can always find in @mionica post http://forum.xda-developers.com/showpost.php?p=60298690&postcount=123
@mionica managed to analyze boot process on both ROMs with and without Xposed and came to conclusion that leaks are caused by Xposed process leaking open file handles, see here http://forum.xda-developers.com/showpost.php?p=60373854&postcount=417
There is a current version of the workaround fix (see above), that seems to be the last possible, before Xposed will be released with patch addressing that issue. Good news is that thanks to @mionica precise analysis, @rovo89 - developer of Xposed is already aware of the problem nad it´s cause.
Recommended installation steps:
by @mionica
Anybody who is still having any kind of issues, for whatever reason, please do the following:
get into TWRP;
install, in this order, without rebooting:
xposed-uninstall-v1.1.zip
If you don't have an sd card, you'll need to reboot once after the uninstall .zip, boot the system normally, then get back in the recovery and install the other 3. This only applies to people who don't use an SD card
xzdr-busybox-enable-v1.0.zip
xposed-sdk21-arm-date.zip
xposed-leakplug-v1.2.zip
copy the logs to the PC, over USB:
uninstall_xposed.log
install_busybox.log
install_leakplug.log
each of the 3 zip's will tell you where it saved the log (it's usually the external sdcard)
reboot to system
Thanks in advance for not asking any questions about whether you have to do any of these steps; yes, you have to.
Click to expand...
Click to collapse
If you follow other instructions than provided by @mionica please get then support from someone else than him.
The basic idea behind is that Xposed bootloops because of it exhausted resources available due to probably internal bug. The workaround basically provides higher limits for open files during boot and restores previous limits after device has booted. The latest flashable installer is very advanced and automates the installation, including necessary checks for proper XZDR configuration, busybox etc.
When you experience bootloops after installing Xposed, or you had Xposed working and it started to bootloop after you have installed new app or upgraded a system app, simply reboot to recovery and flash the zip. No need to wipe anything.
When installing new, I recommend flashing this zip first, then install Xposed usual way (flash, wipe, reboot, install Xposed apk, install modules).
Be aware that while the workaround works for about 80% of cases, there are people who have lots of applications or heavily modified system, experiencing random reboots. Cause is under investiogation, but most probably is in Xposed itself.
Excellent work friend @ondrejvaroscak. Congrats! Awesome
Was waiting a long time for this! Thanks man! working perfectly.
Working perfectly on D6603, thanks
I am gonig to try this asap! Awesome job!
One more thing, if i understand right, now we can install as many apps as we want or the limit is just higher but still there?
Can we now use regular reboot button from power menu withouth getting bootloop?
--Guys lets go ahead and rape the thanks button
Thank you @ondrejvaroscak for this solution!
@rovo89 any chance this could be integrated in the xposed installer?
Thanks Bro , Very Nice !!
Perfect Work !!
Z1, C6903
Thank you for this great solution, works on Z1.
NetSkill said:
I am gonig to try this asap! Awesome job!
One more thing, if i understand right, now we can install as many apps as we want or the limit is just higher but still there?
Can we now use regular reboot button from power menu withouth getting bootloop?
--Guys lets go ahead and rape the thanks button
Click to expand...
Click to collapse
Unless I will be blessed with some debugging skills, I have no clue... I think limit is just much higher. Once you reach limit you can simply edit script and change two numbers...
Yes, now regular reboot works.
Sent from my D6603 using XDA Free mobile app
norti said:
Thank you @ondrejvaroscak for this solution!
@rovo89 any chance this could be integrated in the xposed installer?
Click to expand...
Click to collapse
I think it will take time, because first @rovo89 would probably want to investigate, how much is it a bug, a constellation of coincidences and so on. I am not sure, if the same bootloops appear only on XPERIAs or it is a phenomenon on other brands as well... And given the fact, that big number of Samsungs can not run Xposed at all, maybe he will try to solve that Samsung puzzle as priority. But that is only guess..
Working on fully setup 5.02 on Z2 thanks.
ondrejvaroscak said:
Installation:
Extract downloaded ZIP file, it contains:
flimit - binary executable for changing open file limits
01_flimit - shell script called by init
flimit.c - source code of binary executable
Enable init.d support in XZDualRecovery by editing XZDR.prop and change dr.initd.active=true
Dont forget to have enabled byeselinux (dr.keep.byeselinux=true)
copy flimit and 01_flimit to /data/local/tmp (or push adb)
create directory /data/flimit
copy flimit to /data/flimit and make executable (chmod 777)
create directory /system/etc/init.d with and chmod 777 /system/etc/init.d
copy 01_flimit to /system/etc/init.d and chmod 777 /system/etc/init.d/01_flimit
Click to expand...
Click to collapse
Thank a lot for big news.... just a clarification:
Which xdual recovery we must have ? also the last 2.8.12 ?
The file XZDR.prop i have located on external memoery...it's correct ?
When you said create a directory /data/flimit.. in where ?
In which way i can "..enabled byeselinux (dr.keep.byeselinux=true).."
Thank
Hispa
hispanico957 said:
Thank a lot for big news.... just a clarification:
Which xdual recovery we must have ? also the last 2.8.12 ?
The file XZDR.prop i have located on external memoery...it's correct ?
When you said create a directory /data/flimit.. in where ?
In which way i can "..enabled byeselinux (dr.keep.byeselinux=true).."
Thank
Hispa
Click to expand...
Click to collapse
Any recovery that supports init.d and byeselinux. So if you find this two settings in your XZDR.prop, you just enable them by setting "true".
I tested with 2.8.12,
XZDR.prop is located in /sdcard1 so its External SD card. If no SD card, then its located in /cache.
/data/limit you create absolutely, it means in / is folder data (that already exists) and you create flimit in /data, so:
Code:
adb shell
su
mkdir /data/flimit
byeselinux you enable by setting "dr.keep.byeselinux=true" in XZDR.prop (it may be set to false by default depending on version fo XZDR you have).
Ok fine... for verify all you said:
{
"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"
}
dont find ? where i wrong ??? the folder and file are present
Thank
Hispa
P.S.
Whe you said :
But as soon as I disable the init.d support, it bootloops. So re-enable by edititng XZDR.prop and it again boots.
Click to expand...
Click to collapse
i mean to pu dr.initd.active=false ??
and last after all i can install xposed over .726 odexed ?
hispanico957 said:
Ok fine... for verify all you said:
su
/data/flimit/flimit $(pgrep zygote)
this command from ADB ?
Thank
Hispa
Click to expand...
Click to collapse
from adb or directly in terminal app if you have one..
Sent from my D6603 using XDA Free mobile app
Great thanks
ondrejvaroscak said:
from adb or directly in terminal app if you have one..
Sent from my D6603 using XDA Free mobile app
Click to expand...
Click to collapse
Thank solved but see please my post #14
Hispa
In XZDR.prop i dont have: dr.keep.byeselinux so must i add it if so then under which line ?
I have the latest version of recovery.
Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
Pandemic said:
In XZDR.prop i dont have: dr.keep.byeselinux so must i add it if so then under which line ?
I have the latest version of recovery.
Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
Click to expand...
Click to collapse
+1 i too cannot find thet line
hispanico957 said:
Ok fine... for verify all you said:
dont find ? where i wrong ??? the folder and file are present
Click to expand...
Click to collapse
can you run "ls -l /data/flimit/*" and paste output to reply?
Whe you said :
i mean to pu dr.initd.active=false ??
Click to expand...
Click to collapse
Exactly, when you put dr.initd.active=false and have full stock, it should again bootloop. Then you replace the XZDR.prop file with version with init.d enabled and it should boot normally again.
and last after all i can install xposed over .726 odexed ?
Click to expand...
Click to collapse
I think without any problem. Deodexing has nothing to do with working Xposed, but it is may be necessary for some modules (Gravitybox?)?

Llama Sweet Kernel Tweaks

Feature list​
- sets hostname to LG-G4 something that was missing at first from lineage/aosp 7.1.1 (maybe i will remove that)
- Better mount point flags
- Internal storage:
nomerges
nr_requests
lower safe read_ahead_kb
cfq scheduler
cfq scheduler tweaks
remove add_random (if its enabled in the kernel by default)
rq_affinity
- external storage:
nomerges
nr_requests
lower safe read_ahead_kb
cfq scheduler
cfq scheduler tweaks
remove add_random (if its enabled in the kernel by default)
rq_affinity
- Net and virtual memory:
tcp_congestion_control
disable_ipv6
dirty_writeback_centisecs
dirty_expire_centisecs
dirty_background_ratio
dirty_ratio
drop_caches
kernel.panic
min_free_kbytes
overcommit_ratio
panic_on_oom
swappiness 0 #llama doesn't have zram feature, it's useless on Lg G4
vfs_cache_pressure
- CPU customisations ~depends on your choice of script~
balanced ~doesn't make any cpu changes~
less ~for less battery drain, cpu rests more~
more-less ~for a lot less battery drain, but with a big lag (will soon try fix stability and smoothness)~
performance ~for full cpu power, but rest when the screen is off~
- Kernel customisations
msm_thermal ~off on battery save / on and set a safe temp. for performance~
lowmemorykiller
read_wakeup_threshold
write_wakeup_threshold
hotplug customisation
- Only the safe internet customisations
tcp_timestamps
tcp_tw_reuse
tcp_sack
tcp_tw_recycle
tcp_window_scaling
tcp_keepalive_probes
tcp_keepalive_intvl
tcp_fin_timeout
For stock based roms follow the guide in post #2
How to "install" it ? Simple
1.unzip
2.place it in /system/etc/init.d
Code:
adb root
adb remount
adb push <your tweak> system/etc/init.d/
3.change its permissions to 755
4.lastly change owner:group to root:shell
Code:
adb shell
su
mount -o remount rw /system
chmod 755 /system/etc/init.d/<your tweak>
chown root:shell /system/etc/init.d/<your tweak>
If you don't have a pc, type in a terminal inside your g4
Code:
su
mount -o rw remount /system
chmod 755 /system/etc/init.d/<your tweak>
chown root:shell /system/etc/init.d/<your tweak>
Those of you that use the new systemless root method of chainfire you can put the script in /system/su.d or in /su/su.d with permissions 700 (same permissions at folder and script) and set owner:group to root:root
Those of you that use the new magisk root method you can put the script in /magisk/.core/service.d/ with the same permissions and ownership as in init.d
Those coming using search bar and don't have this phone and this kernel, don't try it, unless you know what to edit to "fit" your own kernel.
These tweaks aren't just for faster easy setting up our phone, they are more useful for those that don't want to have root access ON, for various personal reasons. They can apply those settings on boot and setup their phone without the need of root and an app asking for root.
Easy removal: delete the script and reboot. And never use more than one of these scripts inside init.d
Careful, some stock based roms have preinstalled some scripts inside init.d by default.
Those must be removed after flashing Llama Sweet Kernel. They are not compatible and they cause instability !
BIG Thanks to this genius
@genesixxbf3
for his kernel to our lg g4.
XDA:DevDB Information
[Tweaks][MM/N][H815][H811]Kernel Tweaks[CM/STOCK/AOSP], Tool/Utility for the LG G4
Contributors
kessaras, genesixxbf3
Version Information
Status: Stable
Created 2016-12-09
Last Updated 2017-04-25
Reserved
This is a guide for ALL stock based roms and all kernels.
My script will only add tweaks that apply to all kernels.
For those that are rooted with SuperSu, they must first fully remove it.
Nub guide to change SuperSu for Magisk root:​
Step 1.
SuperSu must be removed.
Go into supersu -> settings -> fully remove root access.
###Or download and flash in recovery mode the UnSu script from osm0sis thread.###
Step 2.
Use hardware key combination to boot to TWRP.
###If you used the UnSu script, no need to reboot to recovery, skip step 2 and go to next one.###
Step 3.
Flash latest magisk flashable zip for users that are not rooted yet.
It sais: "If you're not rooted, or something went wrong and you need a clean start"
Download that .zip file and flash it.
Now you are rooted again. Reboot to your rom.
Step 4.
Download Magisk Manager from play store. In that app you can even enable systemless root to hide root from the apps, or do many things that you like.
Questions further go to magisk thread not here. And don't forget to re-enable usb debugging. After you removed root, that was toggled, ###Unless you used the UnSu script again. That means that before reboot you were already rooted.###
Now it's time to install your script.
Download the compressed tweak from this post , uncompress it and follow the next guide.
The steps are the same with the lineage based roms and it works for ALL lineage based roms too
If you use a root file manager then you can skip the guide and just cut - paste the script in /magisk/.core/service.d/
set permissions to 755, ownership to root:shell and reboot.
INSTALLATION​Step 1.
place it in /magisk/.core/service.d/
Code:
adb push /<path to the script>/90balanced /sdcard/
adb shell
su
mv /sdcard/90balanced /magisk/.core/service.d/
Step 2.change its permissions to 755 if it's not already set to 755 by default
Code:
chmod 755 /magisk/.core/service.d/90balanced
If you don't have a pc, type the same commands in g4 terminal but of course without the adb command. Script is supposed to be in path /sdcard/
not in /sdcard/download/ or whatever path. Otherwise edit the command "mv ..." to match the script path.
That's it. Reboot to apply your tweaks.
~I will add Llama Sweet kernel tweaks for stock based ROMS when Genesixxbf3 fixes the bluetooth issue.
Until then all use this one that applies to all kernels including Llama.
Special thanks to:
@topjohnwu for developing Magisk
and to
@osm0sis for his UnSU script
My scripts are not meant for use with kernel adiutor.
Changelog
31/01/2017
- fixed stability for "90less"
- changed to "westwood" tcp congestion control
01/02/2017
- changed to Fiops scheduler only for the 90less and 90more-less
- fixed stability for 90more-less
12/02/2017
- when screen is on, 3 cores always online not 1.
- fixed stability for 90less , 90more-less
- 90balance, interactive governor stable and at the same time conserving some battery
- big cores governor is same with small cores
15/02/2017 and 20/02/2017
- changed back to cfq scheduler
- added cfq scheduler tweaks
- fixed path to disable ipv6
09/03/2017
- fixed a bug for those that big cores were found disabled on boot
Although this is something caused from dirty flashing and can only be fixed with a clean flash
18/03/2017
- Added better mount point flags for Lineage/Aosp based roms, for f2fs, for those that prefer using f2fs partitions format
- i changed the way the mount points get set, now you don't need busybox if you don't want to.
- bigger timer rate for interactive governor for the balanced tweak, balanced can conserve battery now too.
25/04/2017
- Less-more is not lagging anymore but of course it still loads slow since cpu runs at a lower frequency
- interactive governor in balanced script saves more battery than before
- All scripts now give a small cpu frequency amount on input to reduce lag
- At less and less-more the hotplug sets the cores online at a lower frequency. Before, with those scripts you could rarely see the other cores online
kessaras said:
You can request any setting for kernel and cpu you want. I can add them for you.
Screenshots of battery with 90less.
~Haven't done anything special. Brightness is at normal with "auto" ON, gapps stock, usage: Normal, chat, xda, phone Calls/Messages, GPS ON.
Many factors determine the battery drain, such as 3rd party apps, ads from apps, services and more, don't blame my settings. Those settings are absolute and tested and i only do this to help everyone.
Click to expand...
Click to collapse
Thanks for you work, I am using H818p without BL unlock. Currently, I can modify /etc/init/qcom.post_boot.sh from this thread (http://forum.xda-developers.com/tmo...-msm-8992-cpu-io-ram-interactive-gov-t3351478).
The question is, can I port some tweaks from this thread to the stock kernel using qcom.post_boot ? I am not familiar with the seqence of boot, any idea ?
Thanks,
jskasia said:
Thanks for you work, I am using H818p without BL unlock. Currently, I can modify /etc/init/qcom.post_boot.sh from this thread (http://forum.xda-developers.com/tmo...sm-8992-cpu-io-ram-interactive-gov-t3351478).
The question is, can I port some tweaks from this thread to the stock kernel using qcom.post_boot ? I am not familiar with the seqence of boot, any idea ?
Thanks,
Click to expand...
Click to collapse
Scripts are only for Llama kernel. So,
it depends if the stock kernel has same file "trees". Worst case scenario is to not be able to boot. If you can enter recovery you can fix it by doing :
Code:
rm /system/etc/init.d/<name of the script>
Or use the recovery file manager to delete it,
reboot and you are fine.
Don't use 90less as it is or for sure you won't boot. Less is using alucard governor which doesn't exist in stock. Open script and edit those lines, change alucard to interactive.
"kernel tweaks" delete them. the stock kernel doesn't have same hotplugs and heat protection.
EDIT:
a part of the scripts does work for stock without llama kernel. it's not dangerous because the stock lg rom doesn't have init.d support on boot and the script only can be applied inside kernel adiutor by enabling init.d emulator.
you can use it then. you will just not get the 100% out of it.
in the 90less you wont get the alucard governor and the hotplug to let the cpu rest.
the only alternative available is to make you one that edits the interactive governor to work almost the same as alucard and conserve a bit more battery than the stock interactive does.
@matgesiarz
follow the op
kessaras said:
Scripts are only for Llama kernel. So,
it depends if the stock kernel has same file "trees". Worst case scenario is to not be able to boot. If you can enter recovery you can fix it by doing :
Code:
rm /system/etc/init.d/<name of the script>
Or use the recovery file manager to delete it,
reboot and you are fine.
Don't use 90less as it is or for sure you won't boot. Less is using alucard governor which doesn't exist in stock. Open script and edit those lines, change alucard to interactive.
"kernel tweaks" delete them. the stock kernel doesn't have same hotplugs and heat protection.
Click to expand...
Click to collapse
Okay, I successfully put the tweaks (balance) on to init.qcom.post_boot.sh. My phone boot without any problem. After few days we will see the result.
Thanks
we just need to push scripts or I need also to clean the init.d folder first from other scripts? I am on ChyperOS 3.1.4
If I understand right, if I put this tweak I don't need to setup any kernel modification in apps like EX Kernel manager, isn't?
Vipery said:
we just need to push scripts or I need also to clean the init.d folder first from other scripts? I am on ChyperOS 3.1.4
Click to expand...
Click to collapse
no you don't clean the init.d folder. if you do that you will lose important script that needs the rom to boot. you only use one of those scripts in init.d, if you put 2 of those in, delete the one.
Oletros said:
If I understand right, if I put this tweak I don't need to setup any kernel modification in apps like EX Kernel manager, isn't?
Click to expand...
Click to collapse
exactly and if you need any change and you don't know how to edit the script, you can ask me to add it for you
kessaras said:
no you don't clean the init.d folder. if you do that you will lose important script that needs the rom to boot. you only use one of those scripts in init.d, if you put 2 of those in, delete the one.
Click to expand...
Click to collapse
Thank you. Another thing, I need to set owner and group to shell or just group? The other scripts are set root/shell and not shell/shell.
Vipery said:
Thank you. Another thing, I need to set owner and group to shell or just group? The other scripts are set root/shell and not shell/shell.
Click to expand...
Click to collapse
only what the op sais. only group owner. its already set from me, but you have to at least check if its set, if not, set it. group owner shell
Thanks for the tweaks!
Sorry for this perhaps silly question, but which is supposed to be more battery friendly between balanced and less?
joaste said:
Thanks for the tweaks!
Sorry for this perhaps silly question, but which is supposed to be more battery friendly between balanced and less?
Click to expand...
Click to collapse
less refers to less battery consuption and its only by a little cause we don't want to have lags. Of course we can do it even more battery friendly but we will have a very slow phone.
kessaras said:
less refers to less battery consuption and its only by a little cause we don't want to have lags. Of course we can do it even more battery friendly but we will have a very slow phone.
Click to expand...
Click to collapse
Thanks for the clarification!
kessaras said:
exactly and if you need any change and you don't know how to edit the script, you can ask me to add it for you
Click to expand...
Click to collapse
Thanks
Ok,I applied your 90less tweaks and here's what I've got after reboot:
The big cores governor-interactive,max.freq.-1248
The little cores governor-alucard,max.freq.-1440
MSM Hotplug-OFF
MSM MPDecision Hotplug-ON
Is that ok or...?
welder73 said:
Ok,I applied your 90less tweaks and here's what I've got after reboot:
The big cores governor-interactive,max.freq.-1248
The little cores governor-alucard,max.freq.-1440
MSM Hotplug-OFF
MSM MPDecision Hotplug-ON
Is that ok or...?
Click to expand...
Click to collapse
nothing applied on boot.
in less,
max for the big is set to 1536
and hotplug is off to not get load for nothing since the temp wont go higher than 60 even under the hot summer sun.
kessaras said:
nothing applied on boot.
in less,
max for the big is set to 1536
and hotplug is off to not get load for nothing since the temp wont go higher than 60 even under the hot summer sun.
Click to expand...
Click to collapse
So I should change the max for the little cores to 1536 and everything else is ok?
Vipery said:
Thank you. Another thing, I need to set owner and group to shell or just group? The other scripts are set root/shell and not shell/shell.
Click to expand...
Click to collapse
...

Categories

Resources