Spectrum&Morpho for Xiaomi Devices - Xiaomi Mi A2 Lite Themes, Apps, and Mods

What is Spectrum? See here
What is Morpho? See here
The Spectrum_SDM625.zip file is for devices:
daisy, tulip, sakura, mido, tissot, oxygen, markw, sakura_india, vince, ysl, tiffany
If there are any other Xiaomi devices with snapdragon 625 let me know.
Use the Morpho_EAS_SDM625 file on kernels that have eas. Example: 4.9 have eas in-built *What is EAS? See here
To see more files related to the spectrum for others snapdragon look at the download link and the groups (mainly the groups).
Morpho FK: - (most recommended)
FK change the profiles based on the app that is being used. (That's the best feature).
Go to Morpho's telegram channel and see the updates and download as you wish.
FK Manager: Link - Screenshot
If you wanted to install the MORPHO_FK manually. (Android 10, Miui, vendor custom and outhers).
Copy file "init.performance_profiles.rc" for your root directory.
Permission: 0755
Note: On android 10 it is recommended to install manually as it may happen that magisk breaks.
"Android 10 users,
There's a issue happening to some of you: magisk root is lost after flashing Morpho FK.
The workaround for it is extracting the file "init.performance.rc" from Morpho FK zip and putting it on the root of the device (/here).
We are already working on a fix to this bug." byojosehenrick
Screenshot
SPECTRUM ALL DEVICES: If you have a non-snapdragon device you can try Spectrum-Injector-v1.zip along with their respective profiles.
PROFILE - copy files to /sdcard/Spectrum/profiles/
Morpho All Devices: Link
Spectrum on Google Play
Add manual spectrum support:
Recommend RootExplorer app.
Edit system/build.prop
Add this:
spectrum.support=1
Or add spectrum support by termux app:
setprop spectrum.support=1
If you wanted to install the spectrum manually:
set_perm(0, 0, 0644, "/vendor/etc/init/hw/init.spectrum.rc");
set_perm(0, 0, 0755, "/vendor/etc/init/hw/init.spectrum.sh");
Outhers:
system/etc/init
Want to know more? Search on:
Round-Robin; HMP; Completely Fair; EAS; SMP.
Example: link
Governors
{
"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"
}
Thanks to the authors:
ojosehenrick
frap129
acras1
pawelik
tunasahinn
atiprusma's UnF (UnFaedah - means USELESS)
If there is or is missing someone to thank or put the credits, let me know.
If you see something wrong please let me know.
Sources:
https://github.com/pawelik001/android_device_xiaomi_daisy/blob/superior/rootdir/etc/init.spectrum.rc
https://github.com/tunasahinn/android_device_xiaomi_daisy/blob/dot-p/rootdir/etc/init.spectrum.rc
Telegram:
https://t.me/morphodev
https://t.me/morphoreleases
https://t.me/KampretDarat
https://t.me/A2LiteOfficial - https://discordapp.com/invite/smYbpVx
SDM625 or Daisy: LINK DIRECT
DOWNLOAD: LINK
or
MIRROR: LINK
MAY HAPPEN FROM ENTERING IN BOOTLOOP, I NOT RESPONSIBLE FOR DAMAGE CAUSED OR DATA LOST BY USING THIS ZIP.

Optional - Spectrum for Snapdragon 730/tweaks:
[system/build.prop]
#Spectrum support:
spectrum.support=1
#Spectrum Tweaks
#Balance (default profile)
on propertyersist.spectrum.profile=0
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1586000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1586000
write /sys/devices/11400000.mali/max_clock 1001
write /sys/devices/11400000.mali/min_clock 343
write /sys/devices/11400000.mali/power_policy coarse_demand
write /sys/power/cpuhotplug/enable 1
write /sys/module/sync/parameters/fsync_enabled Y
write /sys/kernel/dyn_fsync/Dyn_fsync_active 1
write /sys/kernel/sched/gentle_fair_sleepers 0
write /sys/kernel/sched/arch_power 1
#Performance
on propertyersist.spectrum.profile=1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1586000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor performance
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1586000
write /sys/devices/11400000.mali/max_clock 1001
write /sys/devices/11400000.mali/min_clock 644
write /sys/devices/11400000.mali/power_policy always_on
write /sys/power/cpuhotplug/enable 0
write /sys/module/sync/parameters/fsync_enabled N
write /sys/kernel/dyn_fsync/Dyn_fsync_active 0
write /sys/kernel/sched/gentle_fair_sleepers 0
write /sys/kernel/sched/arch_power 0
#Battery
on propertyersist.spectrum.profile=2
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1248000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 546000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1248000
write /sys/devices/11400000.mali/max_clock 728
write /sys/devices/11400000.mali/min_clock 343
write /sys/devices/11400000.mali/power_policy coarse_demand
write /sys/power/cpuhotplug/enable 1
write /sys/module/sync/parameters/fsync_enabled Y
write /sys/kernel/dyn_fsync/Dyn_fsync_active 1
write /sys/kernel/sched/gentle_fair_sleepers 0
write /sys/kernel/sched/arch_power 1
#Tweaks for Performance
ro.security.mdpp.ux=Disabled
persist.sys.storage_preload=0
wlan.wfd.hdcp=disable
# Battery save
profiler.force_disable_ulog=true
profiler.force_disable_err_rpt=true
Ro.config.tima=0
#smartview
wlan.wfd.hdcp=disable
#tweaks
echo "persist.sys.scrollingcache=3"
echo "profiler.force_disable_ulog=1"
echo "logcat.live=disable"
echo "ro.kernel.checkjni=0"
echo "ro.config.nocheckin=1"
echo "wifi.supplicant_scan_interval=300"
echo "pm.sleep_mode=2"
debug.composition.type=c2d
debug.egl.hw=1
debug.enabletr=true
debug.overlayui.enable=1
debug.performance.tuning=1
debug.qc.hardware=true
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.sf.hw=1
#Support HDR & FHD (example Samsung A80)
sys.display-size=1920x1080
video.accelerate.hw=1
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=65
#Tweaks for RAM
ro.config.fha_enable=true
ro.sys.fw.bg_apps_limit=64
ro.config.dha_cached_max=32
ro.config.dha_empty_max=42
ro.config.dha_empty_init=32
ro.config.dha_lmk_scale=0.545
ro.config.dha_th_rate=2.3
ro.config.sdha_apps_bg_max=64
ro.config.sdha_apps_bg_min=16
#Multi User
fw.max_users=30
fw.show_multiuserui=1
fw.show_hidden_users=1
fw.power_user_switcher=1
#Signal Performance
ro.telephony.call_ring.delay=0
ring.delay=0
#Safety Net Pass (for Samsung)
ro.knox.enhance.zygote.aslr=1
#Internet Velocity
net.tcp.buffersize.default = 4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge = 4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspda = 4096,87380,256960,4096,16 384,256960
net.tcp.buffersize.hspa = 4096,87380,256960,4096,163 84,256960
ro.sf.lcd_density=280
ro.zygote=zygote32
outhers:
https://forum.xda-developers.com/mi...giskmodule-t3976283/post80403097#post80403097

Links removed.

updated

I have done, flashing thermal & morph, installed Franco kernel manager, set permissive selinux. Did the manual trick to Android 10.
What should I do to this mod to work and profit

Related

[MOD] More accurate Signal & WiFi strengths in status bar

I am using Overcome ROM v1.4.2 and I have modified some framework files to show the network signal strength more accurately in the status bar.
The dBm value ranges from -113 (worst) to -51 (best), where -113 is equivalent to an ASU of 0, and -53 an ASU of 31.
if (asu <= 2 || asu == 99) bars = 0;
else if (asu >= 12) bars = 4;
else if (asu >= 8) bars = 3;
else if (asu >= 5) bars = 2;
else bars = 1;
Click to expand...
Click to collapse
Unless changes have been made to these system-files in later versions of the ROM, this modification should also work on more recent Overcome releases (and other JMK-based ROMs). However, I have NOT checked this myself.
Also, note that this will remove any themes applied to these system-files. So, try this modification at your own risk. If something goes wrong, you can just push back the original files, so make sure you make a backup of these first.
Installation:
Extract the modified services.jar and framework-res.apk to your internal storage (/sdcard) and perform the commands through ADB in the order stated below:
adb shell mount -o remount,rw -t rfs /dev/block/stl9 /system
adb shell dd if=/sdcard/services.jar of=/system/framework/services.jar
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
adb shell reboot
Click to expand...
Click to collapse
If you like the mod, themers get to it. The files in framework-res.apk (/res/drawable-hdpi/) can easily be swapped, e.g. with images for the ASU value instead of dBm (which honestly is quite unintuitive although accurate), or perhaps something more graphical like what we did for the Xperia X10.
Screenshots:
{
"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"
}
Downloads:
dBm
ASU
Graphical
If you experience any problems, I will try to correct them. But I think it should be stable. Enjoy!
I have developed this modification a little bit further. It now also shows WiFi strength as a percentage, with increments of 5%.
if (rssi <= -97.75) { percentage = <5%
} else if (rssi > -97.75 && rssi <= -95.5) { percentage = 5
} else if (rssi > -95.5 && rssi <= -93.25) { percentage = 10
} else if (rssi > -93.25 && rssi <= -91) { percentage = 15
} else if (rssi > -91 && rssi <= -88.75) { percentage = 20
} else if (rssi > -88.75 && rssi <= -86.5) { percentage = 25
} else if (rssi > -86.5 && rssi <= -84.25) { percentage = 30
} else if (rssi > -84.25 && rssi <= -82) { percentage = 35
} else if (rssi > -82 && rssi <= -79.75) { percentage = 40
} else if (rssi > -79.75 && rssi <= -77.5) { percentage = 45
} else if (rssi > -77.5 && rssi <= -75.25) { percentage = 50
} else if (rssi > -75.25 && rssi <= -73) { percentage = 55
} else if (rssi > -73 && rssi <= -70.75) { percentage = 60
} else if (rssi > -70.75 && rssi <= -68.5) { percentage = 65
} else if (rssi > -68.5 && rssi <= -66.25) { percentage = 70
} else if (rssi > -66.25 && rssi <= -64) { percentage = 75
} else if (rssi > -64 && rssi <= -61.75) { percentage = 80
} else if (rssi > -61.75 && rssi <= -59.5) { percentage = 85
} else if (rssi > -59.5 && rssi <= -57.25) { percentage = 90
} else if (rssi > -57.25 && rssi <= -55) { percentage = 95
} else if (rssi > -55) { percentage = 100
} else { percentage = <5
}
Click to expand...
Click to collapse
Installation:
Extract the modified services.jar and framework-res.apk to your internal storage (/sdcard) and perform the commands through ADB in the order stated below:
adb shell mount -o remount,rw -t rfs /dev/block/stl9 /system
adb shell dd if=/sdcard/services.jar of=/system/framework/services.jar
adb shell dd if=/sdcard/framework.jar of=/system/framework/framework.jar
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
adb shell reboot
Click to expand...
Click to collapse
Screenshot:
Download:
WiFi & ASU
Reserved...
How can I port this mod to my HTC Evo 4G?
new upload site please
Can you post the files to a new uploader? Mega is closed.
Also. Will this work on a galaxy note?
Thanks
can someone do a cwm zip to flash.
Thank you for this. Can you upload it to google drive or dropbox if possible? Thanks
can you post a guide on how you did this? possible?

[ROM][JRO03H]SpiGen™ Project: Odexed, Tweaked, UV, COLOR, Ad Free, Multi-Lang(8.9.12)

{
"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"
}
This has ALWAYS started out as a personal project and IMHO might was well share it..this is based from Official YAKJU image from GOOGLE..deodexed, tweaked and rooted with SuperSU..
For your info guys this is my 1st ever non KOREAN unit..
Project name has been changed to SpiGen™
Features of Rev1.2:
- Based on AOSP build JRO03H
- Tweaked
- Powered by Franco Kernel(credits to him)
- Removed Screen waking when unplugged USB/Charger
- Removed a few stuff that is harmless
- 1% battery
- Audio fixes
- Camera quality and compression
- Ad Free
- Rotation Lock
- Finer Volume Steps(20 steps for now)
- Odexed for faster response---this has to wait until some of you can comment..
- Multi-Language
- Tweak script has been rectified..
WIP
- Remove LS vibration
- Sense 4 Multi-tasking
Downloads: SpiGen Rev1.2
MD5 Checksum: 699fb1b7d80342849a0068518742e91c
Code:
Old Builds:(JRO03C base)
[B]Old Downloads:[/B] [URL="http://www.mediafire.com/?3ue4gqan1gtum"]Mediafire[/URL]
[B]Old Patch Download[/B][I](alternate)[/I] : [URL="https://docs.google.com/file/d/0B_3BNlXOVtO5di1uV3BQOWdueFE/edit"]Google Drive[/URL]
[B]Checksum[/B] for main base: [I]879cbcbeb736e44d020dc391427d2803[/I]
[B]Checksum[/B] for patch: [I]ca50ff1ffb1b95059d2f30a656b623e8[/I]
[B]Instructions:[/B]
- download all files from my repo/folder..
- use HJSPLIT to join the files..
- you will get 2 files the main pakage and the patch
- place it in you internal SD Card and reboot to CWM
- install the main package(bigger one)
- then after that install the patch..OR you can boot first and then just reboot back to recovery and then apply the patch.. :D
- enjoy and comment regarding the stuff..
Credits:
- Our Dear Lord up there..
- Google (for the base)
- Franco (kernel)
- Vadonka(script help)
- showp1894(script help)
- kahivatara(for APM)
- evilisto(MODS)
- Dsixda(Kitchen)
- CM Team(Base for JRO03H)
- My Friends, My Family and Detractors
- and more unmentioned..if you feel like it then be it..
Notes:
- this is best used with franco kernel..as my script is fortified to support his kernel..
- this will always remain stock look..i don't intend to do Theming..you have the liberty to do so..
- YOU have the liberty to use this or not..it has always been up to you..just respect the thread and don't post BS stuff..
- I do want to apologize for the fact that i have to use HJSPLIT..i am just a poor guy and my broadband connection has upload limit..(do take note its not DSL its just plain damn Broadband)
So what does my script do??it does not send your unit back home to Samsung for repairs..that's for sure..
here a sample log from my script doing nothing but tweak..
Code:
==============================
| Samsung i9250 Tweak Script Log |
==============================
Kernel version: 3.0.39-franco.Kernel-nightly-384GPU
Tweaks Initiated at 08/06/2012-12:59:18
LMK Tweaks
Original: /sys/module/lowmemorykiller/parameters/adj = 0,1,2,4,8,15
Tweaked: /sys/module/lowmemorykiller/parameters/adj = 0,1,2,4,8,15
Lowmemorykiller mode is: aggr
Original: /sys/module/lowmemorykiller/parameters/minfree = 8099,10132,20000,20000,50000,100000
Tweaked: /sys/module/lowmemorykiller/parameters/minfree = 4096,6144,8192,15360,18920,21000
VM Tweaks
Original: /proc/sys/vm/oom_kill_allocating_task = 0
Tweaked: /proc/sys/vm/oom_kill_allocating_task = 0
Original: /proc/sys/vm/oom_dump_tasks = 1
Tweaked: /proc/sys/vm/oom_dump_tasks = 1
Original: /proc/sys/vm/panic_on_oom = 0
Tweaked: /proc/sys/vm/panic_on_oom = 0
Original: /proc/sys/vm/laptop_mode = 0
Tweaked: /proc/sys/vm/laptop_mode = 0
Original: /proc/sys/vm/block_dump = 0
Tweaked: /proc/sys/vm/block_dump = 0
Original: /proc/sys/vm/swappiness = 0
Tweaked: /proc/sys/vm/swappiness = 0
Original: /proc/sys/vm/dirty_background_ratio = 5
Tweaked: /proc/sys/vm/dirty_background_ratio = 3
Original: /proc/sys/vm/dirty_ratio = 20
Tweaked: /proc/sys/vm/dirty_ratio = 12
Original: /proc/sys/vm/min_free_kbytes = 1442
Tweaked: /proc/sys/vm/min_free_kbytes = 2048
Original: /proc/sys/vm/vfs_cache_pressure = 300
Tweaked: /proc/sys/vm/vfs_cache_pressure = 200
Original: /proc/sys/vm/overcommit_memory = 1
Tweaked: /proc/sys/vm/overcommit_memory = 1
Original: /proc/sys/vm/page-cluster = 3
Tweaked: /proc/sys/vm/page-cluster = 3
Original: /proc/sys/vm/min_free_order_shift = 4
Tweaked: /proc/sys/vm/min_free_order_shift = 4
Original: /proc/sys/vm/dirty_writeback_centisecs = 500
Tweaked: /proc/sys/vm/dirty_writeback_centisecs = 2000
Original: /proc/sys/vm/dirty_expire_centisecs = 200
Tweaked: /proc/sys/vm/dirty_expire_centisecs = 1000
Original: /proc/sys/fs/lease-break-time = 45
Tweaked: /proc/sys/fs/lease-break-time = 30
Original: /proc/sys/fs/file-max = 70963
Tweaked: /proc/sys/fs/file-max = 81920
Original: /proc/sys/kernel/panic = 5
Tweaked: /proc/sys/kernel/panic = 4
Original: /proc/sys/kernel/panic_on_oops = 1
Tweaked: /proc/sys/kernel/panic_on_oops = 0
Original: /proc/sys/kernel/sched_child_runs_first = 0
Tweaked: /proc/sys/kernel/sched_child_runs_first = 0
Original: /proc/sys/kernel/threads-max = 11089
Tweaked: /proc/sys/kernel/threads-max = 11000
Original: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = interactive
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = interactive
Original: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = interactive
Tweaked: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = interactive
Original: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1228000
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1305000
Original: /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1305000
Tweaked: /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1305000
Original: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time = 80000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time = 40000
Original: /sys/devices/system/cpu/cpufreq/interactive/timer_rate = 20000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/timer_rate = 20000
Original: /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load = 85
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load = 60
Original: /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq = 1228000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq = 1305000
NET Tweaks
Original: /proc/sys/net/ipv4/tcp_window_scaling = 1
Tweaked: /proc/sys/net/ipv4/tcp_window_scaling = 1
Original: /proc/sys/net/ipv4/tcp_tw_recycle = 0
Tweaked: /proc/sys/net/ipv4/tcp_tw_recycle = 1
Original: /proc/sys/net/ipv4/tcp_tw_reuse = 0
Tweaked: /proc/sys/net/ipv4/tcp_tw_reuse = 1
Original: /proc/sys/net/ipv4/tcp_sack = 1
Tweaked: /proc/sys/net/ipv4/tcp_sack = 1
Original: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses = 1
Tweaked: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses = 1
Original: /proc/sys/net/ipv4/tcp_fin_timeout = 60
Tweaked: /proc/sys/net/ipv4/tcp_fin_timeout = 15
Original: /proc/sys/net/ipv4/tcp_keepalive_intvl = 75
Tweaked: /proc/sys/net/ipv4/tcp_keepalive_intvl = 30
Original: /proc/sys/net/ipv4/tcp_keepalive_probes = 9
Tweaked: /proc/sys/net/ipv4/tcp_keepalive_probes = 5
Original: /proc/sys/net/ipv6/conf/all/disable_ipv6 = 0
Tweaked: /proc/sys/net/ipv6/conf/all/disable_ipv6 = 1
Original: /proc/sys/net/ipv6/conf/default/disable_ipv6 = 1
Tweaked: /proc/sys/net/ipv6/conf/default/disable_ipv6 = 1
Original: /proc/sys/net/ipv6/conf/lo/disable_ipv6 = 1
Tweaked: /proc/sys/net/ipv6/conf/lo/disable_ipv6 = 1
Kernel Params
Original: /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table = 1804mhz: 1450 mV 1728mhz: 1425 mV 1612mhz: 1400 mV 1536mhz: 1375 mV 1420mhz: 1300 mV 1305mhz: 1275 mV 1228mhz: 1250 mV 1036mhz: 1225 mV 729mhz: 1150 mV 384mhz: 1025 mV
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table = 1804mhz: 1425 mV 1728mhz: 1400 mV 1612mhz: 1375 mV 1536mhz: 1300 mV 1420mhz: 1225 mV 1305mhz: 1200 mV 1228mhz: 1175 mV 1036mhz: 1150 mV 729mhz: 1075 mV 384mhz: 975 mV
Original: /sys/class/misc/customvoltage/core_voltages = 1250 mV 1127 mV 962 mV
Tweaked: /sys/class/misc/customvoltage/core_voltages = 1200 mV 1075 mV 925 mV
Original: /sys/class/misc/customvoltage/iva_voltages = 1375 mV 1291 mV 1140 mV 950 mV
Tweaked: /sys/class/misc/customvoltage/iva_voltages = 1325 mV 1250 mV 1100 mV 925 mV
Original: /sys/devices/virtual/misc/soundcontrol/volume_boost = 0
Tweaked: /sys/devices/virtual/misc/soundcontrol/volume_boost = 1
Original: /sys/module/sync/parameters/fsync_enabled = Y
Tweaked: /sys/module/sync/parameters/fsync_enabled = N
Original: /sys/module/bcmdhd/parameters/wifi_pm = N
Tweaked: /sys/module/bcmdhd/parameters/wifi_pm = N
Original: /sys/module/omap_temp_sensor/parameters/throttle_enabled = Y
Tweaked: /sys/module/omap_temp_sensor/parameters/throttle_enabled = N
Original: /sys/module/panel_s6e8aa0/parameters/contrast = -5
Tweaked: /sys/module/panel_s6e8aa0/parameters/contrast = -5
Original: /sys/class/misc/colorcontrol/v1_offset = -4 0 5
Tweaked: /sys/class/misc/colorcontrol/v1_offset = 2 0 3
Original: /sys/class/misc/colorcontrol/multiplier = 1800000000 1920000000 2000000000
Tweaked: /sys/class/misc/colorcontrol/multiplier = 2000000000 1600000000 2150000000
Original: /sys/devices/platform/omapdss/manager0/gamma = 0
Tweaked: /sys/devices/platform/omapdss/manager0/gamma = 5
MOUNT/IO Tweaks
Original: /sys/block/mmcblk0/queue/scheduler = [deadline]
Tweaked: /sys/block/mmcblk0/queue/scheduler = [deadline]
Original: /sys/block/mmcblk0/queue/rotational = 0
Tweaked: /sys/block/mmcblk0/queue/rotational = 0
Original: /sys/block/mmcblk0/queue/read_ahead_kb = 2048
Tweaked: /sys/block/mmcblk0/queue/read_ahead_kb = 2048
Original: /sys/block/mmcblk0/queue/iostats = 1
Tweaked: /sys/block/mmcblk0/queue/iostats = 0
Original: /sys/block/mmcblk0/queue/nr_requests = 128
Tweaked: /sys/block/mmcblk0/queue/nr_requests = 2048
Original: /sys/block/mmcblk0/queue/iosched/fifo_batch = 1
Tweaked: /sys/block/mmcblk0/queue/iosched/fifo_batch = 1
Original: /sys/block/mmcblk0/queue/iosched/write_expire = 1000
Tweaked: /sys/block/mmcblk0/queue/iosched/write_expire = 1000
So basically i do not have to explain my self..also its a user friendly script that if you want your specifics in their place you have the option to do so..not needing any 3rd party apps(i love my phone appless as much as possible as you all know how android works in the background..).. would also love if someone can help me for an app that will help manipulate these values in real time..
Literature:
Well i started out venturing Android just last December and my 1st unit was the KOREAN Optimus 2x(SU660), now not knowing that there were different versions of the said unit(the Intl. P990 and my SU660 which is just for KOREA) and also knowing that these units lack support both community developer support and from manufacturer support, I started out a mini project to customize the SU660 for my own use, well lucky enough i found 1 custom rom and luckily it was a CM7 variant, now after studying the framework and stuff i started to work things out. My 1st build was somehow a failure but after a few more tests and also was lucky enough to spot MIUI on the Android scene, and realizing that it is also based from CM7 source i started compiling/porting from the P990 Source for my device. Now it has been a daily driver for some folks here(Philippines) who have subscribed to my builds. On the 1st few months it was like PITA but when i seem to get the hang of it its more of an addiction, I currently owned a few Korean devices that i have ported a few stuff and has worked things out to work as the Intl version.
Things have changed now after buying the GNex i can't seem to let this opportunity pass to share something that seems to be or might be useful to others as i have the same device they have. No more hiding in the shadows and no more Guilt of being left behind(you would usually feel this if you own a korean unit..more deprived as i would say), i do have a Intl. unit now so here's one in the couch for everyone.
I am just a normal Family guy, i work as a salesman for 11 hours a day and i do hope you would appreciate the effort i make for this project. It will be on a slow pace but surely i will do my best to make things work.
10 chars
German Language included ?
jenzy1985 said:
German Language included ?
Click to expand...
Click to collapse
i did not touch the default languages..so i think it is included..
Sound's really nice! Will test...
Bedouin76 said:
Sound's really nice! Will test...
Click to expand...
Click to collapse
Thanks and let me hear your comments for future release related improvements..currently testing the new base JRO03H on my unit..
edit: it seems i am going to rebase to JRO03H for next build..
New base/Project
SpiGen™
Features:
- JRO03H Base
- T9 Dialer
- Fast and Slick(Odexed Base)
- UV'd via script and COLORED via script(no 3rd party)
- Removed Screen wake when USB/Charger is unplugged from the unit
- Power Saving Tweaks..
- Multi Language base
links will be up soon..just doing final adjustments AGAIN before i odex the base..
Notes: for others who just want the script from the base do give proper credits and thanks..its someone else's effort to help this community..
Also suggestions are welcome wether i should pursue the Odex release or stick to Deodexed base release..
Teaser..
I love the sense multitasking recents. I hope this feature is coming soon
jenzy1985 said:
I love the sense multitasking recents. I hope this feature is coming soon
Click to expand...
Click to collapse
its hard to port now since JB has a lot of difference (code wise) from ICS..still testing the Sense Multitask for this one..
nice work , when you upload the new version ??
luckydude said:
nice work , when you upload the new version ??
Click to expand...
Click to collapse
currently uploading links will be up within 70-80 mins..i am on +8 GMT so sync those clocks..
will release a deodexed base as i have to check on how you like stuff 1st before i odex the whole base..
Upload links: SpiGen
MD5: 699fb1b7d80342849a0068518742e91c
Changelog and WIP are in the 1st page..
Odex
kairi_zeroblade said:
Upload links: SpiGen
MD5: 699fb1b7d80342849a0068518742e91c
Changelog and WIP are in the 1st page..
Click to expand...
Click to collapse
How did you odex the ROM. do you have any tool for doing this?
ODEX!! God I love ya... nohomo
#Galaxy Nexus HSPA+
---------- Post added at 09:37 PM ---------- Previous post was at 09:33 PM ----------
My suggestion. Stick with Odex. If you can manage to tweak it crazy style like on Deo, mad props to you sir..mad props. Odex is so much superior over Deo... if it can be tamed.
#Galaxy Nexus HSPA+
Build is smooth I flashed runs great see it's been awhile since you last posted here Stick with odex imo and thanks
Sent from my Galaxy Nexus using xda premium
So far so good. The only thing I see if the purple tint. is that normal?
finally!

Sysctl.conf / speed up!

Some one mentioned in a thread that someone actually made a 3g improvement app that just tweaked tcp settings I won't even get into how wrong that is on Linux but instead here we have it some basic run of the mill and home grown and tweaked settings I use aosp and conservative based governors, Sio,bfq schedulers to provide insight under what circumstances these settings worked well for me anyway sysctl.conf settings
net.ipv4.tcp_ecn=0
net.ipv4.route.flush = 1
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_rmem = 4096 10485760 10485760
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_mem = 10485760 10485760 10485760
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
vm.dirty_ratio = 35
vm.swappiness = 5
vm.dirty_background_ratio = 40
vm.dirty_expire_centisecs = 900
vm.dirty_writeback_centisecs = 300
vm.vfs_cache_pressure = 85
vm.overcommit_memory = 1
vm.overcommit_ratio = 95
net.core.wmem_max= 10485760
net.core.rmem_max= 10485760
net.core.rmem_default= 8388608
net.core.wmem_default=65536
net.core.optmem_max= 10485760
#/sys/module/lowmemorykiller/parameters/minfree=4060,4096,6144,12288,24336,33432
Currently these are my bfq settings for a script I'm testing them so if you know about this stuff and it sounds whack let me know. Bfq tuning is new territory for me and there's a minimum of documentation about tuning on solid state with it.. ...most people pick noop, Sio
echo 24 > /sys/block/mmcblk0/queue/iosched/quantum
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 1 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 1000 > /sys/block/mmcblk0/queue/iosched/raising_min_idle_time
echo 7000 > /sys/block/mmcblk0/queue/iosched/raising_max_time
echo 35 > /sys/block/mmcblk0/queue/iosched/timeout_sync
echo 125 > /sys/block/mmcblk0/queue/iosched/timeout_async
echo 15 > /sys/block/mmcblk0/queue/iosched/raising_coeff
echo 100 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 200 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
#e
And this is the link to my post about ktoonservative but it largely applies to conservative to http://forum.xda-developers.com/showthread.php?t=1866139
Sent from my SPH-L710 using Tapatalk 2

Control your Ascend P6 through Init.d

Control your Ascend P6 through Init.d
In this Thread i will provide you Guys an small Init.d Package, that will let you control the important stuff on your Device without using Third Party Applications. I created this Zip for private use, but i like to share it with you.
This is mainly for advanced Users, so if you're not confirmed with Scripts etc., please DON'T touch the Scripts!
I only tested on Stock Firmware!
I take no Credits for the Tweaks contained in the Zip. They goes out to all the Tweakers here @ xDa!
{
"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"
}
Installation
! PLEASE MAKE AN NANDROID IN RECOVERY, BEVORE YOU FLASH THE ZIP !
! YOU'LL FLASH THIS @ YOUR OWN RISK !
I suggest you Guys to use TWRP by Surdu Petru, because it has Init.d Support by default.
Reboot in Recovery
Backup your Rom
Flash the Ascend_P6_Init.d_Control.zip
Wipe Cache & Dalvik Cache
Reboot
The Logger
I added an Logging System into the Zip, that will check and show you, if the Tweaks applied sucessfully and give you an positive (+) or negative (-) output. That way you don't have to check them manually.
You'll find it in /data/00_init.d_control_log
It should give you an Output like this
(Which also is an Overview about the Stuff you can handle with this ZIP)
>>> SetPerm
+ Init.d Permissions set to 755
@ 01-22-2014 00:55:36
>>> FileSystem
+ EXT4 Partitions present
+ Cache Partition optimized
+ Cust Partition optimized
+ Data Partition optimized
+ System Partition optimized
+ Remount Done
Please check the Remount.log! If this Script works, you'll see most of your Mounts being Noatime
+ Logger removed
+ File System cleaned
@ 01-22-2014 00:55:39
>>> SQLite -48 Hour Delay-
+ Wifi Sleep is active
+ SQLite Database VACUUM and REINDEX finished
Check the Sqlit.log to see, if SQLite was successful
@ 01-22-2014 00:57:13
>>> DarkyZipalign & Zipalign -48 Hour Delay-
+ DarkyZipalign applied
Check the DarkyZipalign.log to see, if everything was aligned
+ Zipalign finished
Check the Zipalign.log to see, if everything was completed
@ 01-22-2014 00:57:39
>>> Entropy
+ Haveged Binary is active
+ Entropy is active
@ 01-22-2014 00:57:40
>>> Alternative Scheduler & Governor by Surdu_Petru
+ SIO Scheduler present
+ SIOPLUS Scheduler present
+ VR Scheduler present
+ ZEN Scheduler present
+ MINMAX Governor present
@ 01-22-2014 00:57:41
>>> CPUconfig
+ Governor is set to k3hotplug
+ I/O Scheduler is set to zen
+ I/O Settings active
+ SD Cache is set to 2048 kb
+ MIN Frequency is set to 200000 mhz
+ MAX Frequency is set to 1500000 mhz
+ CPU Frequency locked @ 0
+ MIN CORES set to 1
+ MAX CORES set to 4
+ Active Cores locked @ 0
+ MIN GPU Frequency is set to 58000
+ MAX GPU Frequency is set to 480000
+ GPU Frequency locked @ 0
+ MIN DDR Frequency is set to 58000
+ MAX DDR Frequency is set to 450000
+ DDR Frequency locked @ 0
@ 01-22-2014 00:57:54
>>> SCREEN ON / OFF Profile
+ Screen On / Off Profile active
@ 01-22-2014 00:57:54
>>> Kernel
+ Kernel Values applied
+ VM Values applied
@ 01-22-2014 00:57:56
>>> Lowmemorykiller
+ Minfree Adj Values applied
+ Minfree Cost Values applied
+ Minfree Debug_Level Values applied
+ Minfree Values applied
@ 01-22-2014 00:57:57
The CPU Script
Probaply the most interessting Script 4 us is the 60CPUconfig - Script. It will let you:
Set CPU Governor
Set I/O Scheduler
Set SDCache
Set MIN/MAX CPU Frequencys
Lock active CPU Frequency
Set MIN/MAX abvailable Cores
Lock active Cores
Set MIN/MAX GPU Frequencys
Lock active GPU Frequency
Set MIN/MAX DDR Frequencys
Lock active DDR Frequency
Set Screen ON / OFF Profiles
I tried to keep it easy to handle, so all you have to do, is to set your Values on Top (one time for Screen On & one time for Screen Off)!
#---------------------------------------------#
# Configure your SCREEN ON Values #
#---------------------------------------------#
# Set Scaling Governor
# k3hotplug minmax ondemand performance
GOVERNOR=k3hotplug
#---------------------------------------------#
# Set I/O Scheduler
# cfq deadline noop sio sioplus vr zen
SCHEDULER=cfq
#---------------------------------------------#
# SDCache
# 128 256 512 1024 2048 4096
READ_AHEAD_KB=2048
#---------------------------------------------#
# Set MIN/MAX CPU Frequency
# 200000 400000 600000 800000 1000000 1200000 1399000 1400000 1500000
CPU_MIN=200000
CPU_MAX=1500000
#---------------------------------------------#
# Lock CPU Frequency
# 200000 400000 600000 800000 1000000 1200000 1399000 1400000 1500000
# Stock 0
CPU_FREQ=0
#---------------------------------------------#
# Set MIN/MAX available Cores
# 1-4
CORE_MIN=1
CORE_MAX=4
#---------------------------------------------#
# Lock active CPU Cores
# 0 - 4
# Stock 0
CORE_LOCK=0
#---------------------------------------------#
# Set MIN/MAX GPU Frequency
# 58000 120000 240000 360000 480000
GPU_MIN=58000
GPU_MAX=480000
#---------------------------------------------#
# Lock GPU Frequency
# 58000 120000 240000 360000 480000
# Stock 0
GPU_FREQ=0
#---------------------------------------------#
# Set MIN/MAX DDR Frequency
# 58000 120000 360000 450000
DDR_MIN=58000
DDR_MAX=450000
#---------------------------------------------#
# Lock DDR Frequency
# 58000 120000 360000 450000
# Stock 0
DDR_FREQ=0
#---------------------------------------------#
# Configure your SCREEN OFF Values #
#---------------------------------------------#
# Set Scaling Governor
# k3hotplug minmax ondemand performance
SLEEP_GOVERNOR=ondemand
#---------------------------------------------#
# Set I/O Scheduler
# cfq deadline noop sio sioplus vr zen
SLEEP_SCHEDULER=noop
#---------------------------------------------#
# Set MIN/MAX CPU Frequency
# 200000 400000 600000 800000 1000000 1200000 1399000 1400000 1500000
SLEEP_CPU_MIN=200000
SLEEP_CPU_MAX=600000
#---------------------------------------------#
# Lock CPU Frequency
# 200000 400000 600000 800000 1000000 1200000 1399000 1400000 1500000
# Stock 0
SLEEP_CPU_FREQ=0
#---------------------------------------------#
# Set Min/Max available Cores
# 1-4
SLEEP_CORE_MIN=1
SLEEP_CORE_MAX=1
#---------------------------------------------#
# Lock active CPU Cores
# 0 - 4
# Stock 0
SLEEP_CORE_LOCK=0
#---------------------------------------------#
# Set MIN/MAX GPU Frequency
# 58000 120000 240000 360000 480000
SLEEP_GPU_MIN=58000
SLEEP_GPU_MAX=120000
#---------------------------------------------#
# Lock GPU Frequency
# 58000 120000 240000 360000 480000
# Stock 0
SLEEP_GPU_FREQ=0
#---------------------------------------------#
# Set MIN/MAX DDR Frequency
# 58000 120000 360000 450000
SLEEP_DDR_MIN=58000
SLEEP_DDR_MAX=120000
#---------------------------------------------#
# Lock DDR Frequency
# 58000 120000 360000 450000
# Stock 0
SLEEP_DDR_FREQ=0
If you're not sure, that your Values are stable, let your modified Script run through SManager without the on Boot option for at least 24 Hours. After that you can add it back into the /system/etc/init.d - Folder.
I'll take care about the right Permissions, if you forgot to set them.
Uninstallation
The Zip contains an Uninstaller, so to get back to Stock you simply have to type this commands in the included Terminal Emulator
su [enter]
uninstall [enter]
and confirm your choice.
With v1.1 i added 3 CPU Profiles, that can be applied with the Terminal Emulator.
Simply type
su [enter]
battery, game or default[enter]
to switch between them. Of course you can edit them, to fit your needs. You'll find them in
/system/bin/
Alright, that's it for now. I'll edit this Post as soon as i got more Time.
Feel free to play around with the Scripts / Values and share your experience with us.
If you notice any Errors, let me know.
DOWNLOAD [ Official Huawei FW ]
DOWNLOAD [ Official Huawei FW + [URL="http://forum.xda-developers.com/showthread.php?t=2620421"]HA P6 Custom Kernel ][/URL]
DOWNLOAD [CM10 ]
​
Hallo HSD-Pilot,
I install yesterday the one for the CLEANROM_V1 from Petru.
Now the Software run very smooth. The Systemstart is very fast now!
But i have no possibility to start in to the Twrp-Recovery.
Need help.
Clean Rom replaces the Stock Recovery with TWRP. So to boot into Recovery you have to hold both Vol. Keys while Power on your Device. Just like you usually flash Stock Firmwares out of the dload Folder.
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
HSD-Pilot said:
Clean Rom replaces the Stock Recovery with TWRP. So to boot into Recovery you have to hold both Vol. Keys while Power on your Device. Just like you usually flash Stock Firmwares out of the dload Folder.
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
Click to expand...
Click to collapse
No! After Script install it don't do it.
But i have a solution.
Install ROM Manager v.5.5.3.4. Of course it is primay for cwm but there is the option "reboot into recovery system".
This function is a way to start into twrp.
The Zip shouldn't effect the Recovery Partition, so TWRP should boot. There's nothing contained, that touches the Recovery. You tried to uninstall the Pack (su > uninstall) ?
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
so I see it setsbthe freeq of the cpu. what willbhapen if I use setcpu now?
can you please provide us the coding of the scripts? I would like to paste them manualy in my inid.t folder. please
benna said:
so I see it setsbthe freeq of the cpu. what willbhapen if I use setcpu now?
can you please provide us the coding of the scripts? I would like to paste them manualy in my inid.t folder. please
Click to expand...
Click to collapse
SetCPU usually kicks in after the init. d Scripts, so it will overwrite the Values.
The Zip contains an Script called 80SetCPU, this will do the same like the App.
#!/system/bin/sh
LOG_FILE=/data/00_init.d_control_log/01Init.d_Control.log
echo ">>> SetCPU" | tee -a $LOG_FILE;
#---------------------------------------------#
# Configure your Values #
#---------------------------------------------#
# Set Scaling Governor
# k3hotplug minmax ondemand performance
GOVERNOR="k3hotplug"
#---------------------------------------------#
# Set IO Scheduler
# cfq deadline noop sio sioplus vr zen
SCHEDULER="zen"
#---------------------------------------------#
# Set Min & Max Frequency
# 200000 400000 600000 800000 1000000 1200000 1399000 1400000 1500000
CPU_MIN=200000
CPU_MAX=1500000
#---------------------------------------------#
# Apply Configuration #
#---------------------------------------------#
#Set CPU Governor
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ]; then
echo $GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor; else
echo "- Unable to set CPU Governor. File NOT found!" | tee -a $LOG_FILE;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor ]; then
echo $GOVERNOR > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor;
fi;
if [ -e /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor ]; then
echo $GOVERNOR > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor;
fi;
if [ -e /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor ]; then
echo $GOVERNOR > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor;
fi;
sleep 1
if [ /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor=$GOVERNOR ]; then
echo "+ $GOVERNOR Governor is running" | tee -a $LOG_FILE; else
echo "- $GOVERNOR Governor is NOT running" | tee -a $LOG_FILE;
fi;
#---------------------------------------------#
# Set Scheduler
dm=/sys/block/dm-*
loop=/sys/block/loop*
mmc=/sys/block/mmc*
mtd=/sys/block/mtd*
nbd=/sys/block/nbd*
ram=/sys/block/ram*
zram=/sys/block/zram*
for a in $dm $loop $mmc $mtd $nbd $ram $zram; do
if [ -e ${a}/queue ]; then
echo $SCHEDULER >> ${a}/queue/scheduler;
fi; done
sleep 1
if [ /sys/block/mmcblk0/queue/scheduler=$SCHEDULER ]; then
echo "+ $SCHEDULER Scheduler is running" | tee -a $LOG_FILE; else
echo "- $SCHEDULER Scheduler is NOT running" | tee -a $LOG_FILE;
fi;
#---------------------------------------------#
# Set MIN/MAX Frequency
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq ]; then
echo $CPU_MIN > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; else
echo "- Unable to set MIN Frequency. File NOT found!" | tee -a $LOG_FILE;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq ]; then
echo $CPU_MIN > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq;
fi;
if [ -e /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq ]; then
echo $CPU_MIN > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq;
fi;
if [ -e /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq ]; then
echo $CPU_MIN > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq;
fi;
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq ]; then
echo $CPU_MAX > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq; else
echo "- Unable to set MAX Frequency. File NOT found!" | tee -a $LOG_FILE;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq ]; then
echo $CPU_MAX > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq;
fi;
if [ -e /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq ]; then
echo $CPU_MAX > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq;
fi;
if [ -e /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq ]; then
echo $CPU_MAX > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq;
fi;
sleep 1
if [ /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq=$CPU_MIN ]; then
echo "+ MIN Frequency is set to $CPU_MIN mhz" | tee -a $LOG_FILE; else
echo "- MIN Frequency is NOT set to $CPU_MIN mhz" | tee -a $LOG_FILE;
fi;
if [ /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq=$CPU_MAX ]; then
echo "+ MAX Frequency is set to $CPU_MAX mhz" | tee -a $LOG_FILE; else
echo "- MAX Frequency is NOT set to $CPU_MAX mhz" | tee -a $LOG_FILE;
fi;
#---------------------------------------------#
echo "@ $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
echo " " | tee -a $LOG_FILE;
Just set your Values on top and reboot :thumbup:
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
Works flawlessly!!!
HUAWEIAscendP6
Uploaded an small Update
- cleaned some scripts
- added CPU / GPU LOCK Script
- rearranged the Build.prop Tweaks
- replaced Bootanimation (Nexus)
Use the uninstaller to revert back to Stock! It will handle everything 4 ya (incl. restore Stock Bootanimation).
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
HSD-Pilot said:
Uploaded an small Update
- cleaned some scripts
- added CPU / GPU LOCK Script
- rearranged the Build.prop Tweaks
- replaced Bootanimation (Nexus)
Use the uninstaller to revert back to Stock! It will handle everything 4 ya (incl. restore Stock Bootanimation).
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
Click to expand...
Click to collapse
hi
which app works best with this script
nARDOs said:
hi
which app works best with this script
Click to expand...
Click to collapse
What do you mean with "which App"¿
The meaning of this package is to avoid 3rd Party Apps.
To Edit the Scripts you can use any Root Explorer that contains an Text Editor and on an PC use Notepad++
Btw. I will release an Update as soon as i got time. I noticed, that the Max GPU / DDR frequencys and DDR lock are gettin overwritten by the system to the default values. I added an lil workaround to avoid that.
Also i added 3 CPU/GPU Profiles (Battery, Game & Default) that can easily gettin activated via Terminal Emulator.
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
HSD-Pilot said:
What do you mean with "which App"¿
The meaning of this package is to avoid 3rd Party Apps.
To Edit the Scripts you can use any Root Explorer that contains an Text Editor and on an PC use Notepad++
Btw. I will release an Update as soon as i got time. I noticed, that the Max GPU / DDR frequencys and DDR lock are gettin overwritten by the system to the default values. I added an lil workaround to avoid that.
Also i added 3 CPU/GPU Profiles (Battery, Game & Default) that can easily gettin activated via Terminal Emulator.
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
Click to expand...
Click to collapse
This package improves game performance significantly must i see. Big Thanks. :good:
Adding preset profiles will help alot
Question:
MIN/MAX GPU DDR frequency is higher than ur output on my phone. Is this because of the overwritting u mentioned ?
Nope, that's an typo. Max DDR should be 450000, it's already fixed in the next Update.
I guess i'm back @ home tomorrow, to upload it.
Edit: About the Min GPU & DDR Frequencys
They usually set to 360000 by default and we can't lower them through Scripts. The only way to lower the Min Freq is to lower the Max Freq! I couldn't find another solution :thumbdown:
So, when you set min 240000 & max 360000, min will always be 360000.
To set it lower you have to set min 240000 & max 240000.
The workaround i'm currently using is to make the max 240000 stick (by default it will not go/stick below 360000).
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
HSD-Pilot said:
Nope, that's an typo. Max DDR should be 450000, it's already fixed in the next Update.
I guess i'm back @ home tomorrow, to upload it.
Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
Click to expand...
Click to collapse
Waiting for the update :fingers-crossed:
Me too!
Sent from my P6-U06
Update is up. Let me know how it works 4 ya :highfive:
HSD-Pilot said:
Update is up. Let me know how it works 4 ya :highfive:
Click to expand...
Click to collapse
can we just flash it over the previous version or do we need to unistall the previous one ?
will give feedback after installing it.
Just flash om top, the Update-Script will do everything 4 ya :good:
Btw: I finally had the time to switch to Surdu's Stock CM Version and will add an CM Edition after the Testflash of the Uploaded Zip :good:
And remember, to get back to Stock always use the uninstaller. After that your Device will reboot, like you had never flashed this Mod.
HSD-Pilot said:
Update is up. Let me know how it works 4 ya :highfive:
Click to expand...
Click to collapse
Many thanks, work good!
But I have a question.
I use smanager widget app.
How can I make a script that the toast notification list the set values like smanager?
Sorry for my bad english...
Sent from my P6-U06
Creating an Toast Notification out of an Script is not that easy, if even possible. As far as i know it needs some Java Stuff to create toasts.
Gesendet von meinem P6-U06 mit Tapatalk 2

Huawei G9 Plus/ Nova Plus mods

I bought G9 plus, but for now it is on the way to me. I'm curious is somebody tried to enable camera 2 api? 1080p 60fps video recording? Raw photo? Double tap wake up? Stereo video recording without ugly noise cancellation?
Who wants to try, do it at your own risk, but i will be Grateful if you can check this mods.
Enable double tap wake up, works on mate 8. original theme https://forum.xda-developers.com/mate-8/general/enable-double-tap-to-wake-t3312676
I checked in g9 plus there is hw_easywakeupmotion_config.xml with mentioned lines, so mod should work in g9 plus too.
1) Go into system/build.prop and open it in your favorite text editor. Find the line that says ro.config.hw_easywakeup=false and change the false to true then save your changes.
2) Go to system/emui/base/xml and open up the hw_easywakeupmotion_config.xml in your favorite text editor. Find the line that says <EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131" /> and change the value=0 to value=1 then save your changes.
3) Restart your phone
4) Go into Settings/Smart Assistance/Motion Control and at the bottom you will now see Double Touch. Turn it on.
5) Restart your phone and you will have Double Tap to Wake enabled and working.
Enable camera2 api
add to bottom of build.prop
string:
persist.camera.HAL3.enabled=1
after saving changes to build.prop i think reboot required to changes take effect
you can test if camera2 api start work with app https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test&hl=ru
or
1. Open terminal and issue command:
getprop | grep camera
If it's running, you should be able to find a line
persist.camera.HAL3.enabled 1
{
"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"
}
Enable RAW capture in the stock EMUI camera app source https://forum.xda-developers.com/huawei-p9lite/how-to/guide-enable-raw-capture-stock-camera-t3623530
1. Ensure your device is rooted
2. Use a root file explorer and navigate to /system/emui/lite/prop/local.prop and open the file as text.
3. Change the value of ro.build.hw_emui_lite.enable from true to false
4. Save the file
5. Reboot the device
6. Open the stock Camera app
7. Enable Pro Photo mode
8. Go to settings and enable RAW.
Happy shooting, happy editing.
If you know some more mods, please post in this thread.
My thoughts about video stereo recording, can some one test it?
1. backup /vendor/etc/mixer_paths.xml
2. in /vendor/etc/mixer_paths.xml
Code:
<path name="camcorder-mic">
<path name="handset-mic" />
change to
Code:
<path name="camcorder-mic">
<path name="speaker-dmic-endfire" />
or
Code:
<path name="camcorder-mic">
<path name="dmic-endfire" />
after saving changes to /vendor/etc/mixer_paths.xml reboot required to changes take effect
Good news!) Huawei NOVA can shoot in HDR+ by simple enabling camera2api and installing gcam.
Sample photos here http://4pda.ru/forum/index.php?showtopic=769885&view=findpost&p=64314965
That is mean Huawei NOVA Plus can this too!!)
"Enable double tap wake up" doesn't supported because lack of kernel and touch driver support.
Enable camera2 api SUCCESS!!)
Enable RAW capture in the stock EMUI camera app failed
Samples G9 Plus Gcam 3.2.045 HDR+ (HAL3) vs ~ default camera (HAL1)​
G9 Plus Gcam 3.2.045 HDR+(HAL3)
Lumio camera = almost default camera (HAL1)
Macro examples HDR+​
Fix Huawei accelerometer tilt
Fix accelerometer tilt​
Video of issue https://yadi.sk/i/fPoYgs3O3N5ssc​In russian language, with history of finding way to manage http://4pda.ru/forum/index.php?showtopic=846874&view=findpost&p=66664464
The instruction for editing the X-axis, similarly can be corrected Y, Z axis too
1. Turn on logcat, it's more convenient through the computer
2. Run any program that uses an accelerometer, wait few secconds
3. Stop the logcat, and look for something like this in it:
10-16 21:30:03.124: I/qti_sensors_hal(1396): read from oem info: data_readback
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0xb3, 0x71, 0x4f, 0xbf
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0x66, 0x92, 0xed, 0x3d
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0xbf, 0xa0, 0x7f, 0x3f
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0x55, 0x0, 0x0, 0x0
10-16 21:30:03.124: I/qti_sensors_hal(1396): 0x0, 0x0, 0x0, 0x0
10-16 21:30:03.124: E/qti_sensors_hal(1396): read from oem info: data_valid_flag=0x55
10-16 21:30:03.124: E/qti_sensors_hal(1396): read from oem info: x_offset=-0.810329, y_offset=0.116002, z_offset=0.998547
10-16 21:30:03.124: E/qti_sensors_hal(1396): Final value: x_offset=-0.810329, y_offset=0.116002, z_offset=0.998547
Click to expand...
Click to collapse
4. Open file /dev/block/platform/soc/7824900.sdhci/by-name/oeminfo through "hex редактор" https://play.google.com/store/apps/details?id=tuba.tools.hexfull&hl=ru
5. Looking for hex values from logcat in oeminfo, in my case this is: b3 71 4f
6. Find right hex values - change, save, start the logcat look at the line E/qti_sensors_hal(1396): Final value: x_offset=-0.810329, if there is a change in the right way - more / less, depending on the nature of accelerometer tilt error of your phone, then continue to change the value until you achieve desired values of x_offset. You can use values from the neighboring Y, Z axes if you think they are right for you. For example, first I inserted values from the line 0x66, 0x92, 0xed, 0x3d and got x_offset about 0.1. But I needed x_offset = 0.0 for this I go further and found out that is b3 39 0 0 is x_offset = 0.0 for me.
7. Enjoy that now you have accelerometer that show correct level
​

Categories

Resources