Related
Made a new thread for the update.zip versions of the LagFix since i have had people asking me to do that so it doesn't get cluttered up together with RyanZA's fix in his thread.
Only one file included... Will overwrite old root version.
Testet on firmware: (Did a fresh reflash every time)
I9000:
I9000XWJG5 (Eclair - Europe)
I9000XWJM1 (Eclair - Europe)
I9000XWJM5 (Eclair - Europe) (Thanks Peaster111)
I9000XXJP2 (Froyo - Europe)
I9000JPJG8 (Eclair - Africa)
Captivate: (Thanks to Zilch25 for testing)
I897UCJH2
I897UCJH3
Instructions:
(Note that i recommend that you do a fresh reflash through ODIN.)
1. Download the update.zip of your choice and rename it to update.zip.
2. Place it on your internal sdcard.
3. Turn off your phone.
4. Hold down Vol Up+Power button+Home Button for a couple of seconds until u see the galaxy logo .
5. Use the up and down buttons to get to update.zip.
6. Press menu button on update.zip to select it.
7. After install, the phone restarts.
8. Go to the newly installed 'SL4A' application from the app list, open it and choose either LagFix_Ext2.sh or LagFix_Ext4.sh to install the fix.
9. The script should run takes around 2-4 mins before it reboots.
10. First reboot after applying script will take some time as it's moving data around and mounting folders.
Regarding Step 4: What is written is for GT-I9000 version.
For Captivate and Vibrant as other people with that phone.
For Captivate people that are trying this on I897UCFJ6 please read the following post: http://forum.xda-developers.com/showpost.php?p=7939738&postcount=177
Notes:
The current version works on Froyo BUT you can only use the ext2 option as the current kernels in Froyo doesn't support ext4.
Known Bugs:
Got no idea if people still will have problems with changing fonts with ext2 since it works for me.
Credits:
RyanZA - Original bat fix
husq510 - Supplied files needed to enable ext4 support
Zilch25 - For being my test subject on the Captivate board
Donations:
Had a few people ask for donation link so here it's: Donate
Do note though that you don't have to donate if you don't want to.
Changelog:
v.2.3.3
Minor bug fixes.
Put all into one file that will remove old root and reapply new root in the same zip file.
v2.3.2
Removed custom hosts file for ads blocking as that was the problem with SL4A crashing.
v.2.3.1
Changed version of SL4A which should fix the FC that SL4A is giving.
v2.3.0
Scripts redone to do all moving of data on boot to minimize chance of loosing applications and settings.
Firmware check added to scripts to check if your firmware needs GPS Logging fixed.
Removed support for Ext3 as there is no reason to have it since we can use ext4
Added custom apn-conf.xml file for APN settings.
Added hosts file for blocking ads.
v2.2.2
This fix is for Captivates running firmware I897UCJH2
Turns off GPS logging and removes whatever logs that might already have been made
v2.2.1
Fixed old bug with /data/app-private
Added checks to scripts so they check if your system has support for the filesystem you choose
v2.2
Added Check_Space.sh to sl4a
Added support for ext4 (Only works on eclair builds)
Busybox 1.17.1 is NOT required anymore, but is the version i'm including.
v2.1
Based on RyanZA's v2.3
Added support for ext3 (Only works on eclair builds)
Removed support for /dbdata/databases
Changed /data/app-private from mount to symlink
Added two versions of the zip's. One for people who already have a rooted SGS and one that will root the SGS.
v2.0
Based on RyanZA's v2.0
Initial release.
Added support for /dbdata/databases
Added support for /data/app-private
Hey, would you like me to test this on JP3??
Thread
is it possible to undo this lag fix? what scores in quadrant are we expecting with this?
All lag is gone with this or is there some left as I encounter in ryan's? tnks in advance for the hard work
Hi
Great tool
if i'll replace files in the zip will it still work?
(like replacing busybox with version 1.18 and replacing apn-conf with one who has Israeli carriers or adding fonts library for hebrew fonts)
Thread Astaire said:
Hey, would you like me to test this on JP3??
Thread
Click to expand...
Click to collapse
You are welcome to test it on JP3 if you want to but just remember Clockworkmod Recovery can have problems with applying the update.zip's
rbanaco said:
is it possible to undo this lag fix? what scores in quadrant are we expecting with this?
All lag is gone with this or is there some left as I encounter in ryan's? tnks in advance for the hard work
Click to expand...
Click to collapse
There is a script included to remove the lagfix. From test with stock kernel quadrant score is excepted to be around 2100-2200 with ext2 and 1800-1900 with ext4.
From all the testing we have been doing on this release when fixing bugs there haven't really been that much lag... you might see small lag when opening an application for the first time or when installing an app since we are using a different method this time where we don't move the application's apk's after it's installed, but personally i haven't seen this yet.
omrij said:
Hi
Great tool
if i'll replace files in the zip will it still work?
(like replacing busybox with version 1.18 and replacing apn-conf with one who has Israeli carriers or adding fonts library for hebrew fonts)
Click to expand...
Click to collapse
Hmm no idea tbh... You might be able to open the zip, replace the files and close it again without losing the signature that it's signed with, but this is something that i haven't tried yet so don't know if it will work.
thanks for the answer.. one more question if you don't mind answering.. what would you advise ext2 or ext4? which provide better performance despite of the score? thank you
rbanaco said:
thanks for the answer.. one more question if you don't mind answering.. what would you advise ext2 or ext4? which provide better performance despite of the score? thank you
Click to expand...
Click to collapse
I would recommend ext4 since it have journaling, which means there is a smaller chance on losing data if your phone lose power by pulling the battery or if the battery reach 0%.
Other people would say ext2 since ext4 might reduce the lifetime on the NAND since it has journaling
I have only tested the ext4 myself pretty much while i have had others to test both ext2 and ext4. Also this is what Zilch25 has posted about ext2 and ext4 on the captivate forum:
Is EXT2 for me?
If you want your Quadrant scores to be bloated beyond belief and don't care if your data spontaneously combusts (Results may vary). Alternatively if you're worried about your NAND wear leveling not being able to handle the strain of EXT4 journaling.
Okay EXT2 is scary, how about EXT4?
You can't afford for your things to get corrupted? Weirdo. Real world performance between EXT4 and EXT2 is barely noticeable if at all, for the everyman this is probably your best bet.
Click to expand...
Click to collapse
omrij said:
Hi
Great tool
if i'll replace files in the zip will it still work?
(like replacing busybox with version 1.18 and replacing apn-conf with one who has Israeli carriers or adding fonts library for hebrew fonts)
Click to expand...
Click to collapse
i think u can replace or delete files as u like.
i replaced, delted or added files every time before i flashed a new ROM, like HACKECLAIR or SamSet.
Works well.
applying ext4 gives me the stopped unexpectedly google error
Yeah I can second that... after a full wipe SL4A is giving me FC's now too =P
Just wanted to add:
EXT2 may be less safe than EXT4, but to-date, there has been no reports of any corrupt or lost data using the EXT2 fixes. This is over a pretty huge sample over a fairly long period. Not to say there are no problems with EXT2, but there has not been any impact to anyone for using EXT2 as yet.
Other than that, awesome job Tayu! Looks great!
yep, i get the force close for either script from sla4
OK ill reupload with the old version of sl4a then.
Im still not sure wether i should go for Ryan's one-click .apk fix or this one.
Anyone tested this one on I9000XXJM2? wich is stock firmware for me.
Tayutama said:
OK ill reupload with the old version of sl4a then.
Click to expand...
Click to collapse
v2.3.1 uploaded which replaces sl4a_r1 with sl4a_r0 which was the one used in the older versions of the fix. Should fix the problem with getting force close
Tayutama said:
v2.3.1 uploaded which replaces sl4a_r1 with sl4a_r0 which was the one used in the older versions of the fix. Should fix the problem with getting force close
Click to expand...
Click to collapse
Applying it now, I'll let ya know how it goes
do i need to remove the previous sl4a?
A.VOID said:
do i need to remove the previous sl4a?
Click to expand...
Click to collapse
would be the best as they each got a different name.
If you got root explorer you can remove it from /system/app
It's called: sl4a_r1.apk
Tayutama said:
would be the best as they each got a different name.
If you got root explorer you can remove it from /system/app
It's called: sl4a_r1.apk
Click to expand...
Click to collapse
Yeah you might need to... I just reapplied without removing it and only r1 shows up =P
Here is a kernel for Froyo intercept.
Features:
root
busybox
ext2/ext4 support
FUSE support
CIFS support
branch prediction
ARM V6k processor extensions
FASTFPE floating point emulation
To be real honest, this kernel offers nothing that CrapKernel doesn't already offer. I am posting this early version to announce that I am working on intercept, and also track my own progress. Any feedback is appreciated.
Huge thanks to JosephMother, who all but built it for me. Also thanks to rxaaron for help along the way, joeykrim for the moment guides and .config references, and to everyone in #sdx-developers.
Changelog:
0.2.4:
first beta release
add ext2/ext4 support
0.2.5:
add FUSE support
add CIFS support
move to gcc 4.4.5
gcc flags -O3
optimize for arm1176jzf-s
0.3.0:
reduce kernel log buffer size
remove parallel port
include my busybox binary
0.4.0:
enable ARM V6k processor extensions
replace NWFPE with FASTFPE
Download:
0.2.4: http://www.megaupload.com/?d=VMGMB9WV
0.2.5: http://www.megaupload.com/?d=C7WGZ1M6
0.4.0: http://www.megaupload.com/?d=KI29NSTX
question
How to install? This affects me some funsion the phone? I have to have custom recovery? A prerequisite?
henrydcc said:
How to install? This affects me some funsion the phone? I have to have custom recovery? A prerequisite?
Click to expand...
Click to collapse
Copy the zip to your sd card and install using a custom recovery. Will not work without custom recovery.
dcd1182 said:
Copy the zip to your sd card and install using a custom recovery. Will not work without custom recovery.
Click to expand...
Click to collapse
I beg to differ, you can pull the zimage from the zip file, place it on your sd card, and use terminal, connectbot, or adb to run:
flash_image boot /sdcard/zImage
But since you're an intercept rookie you're forgiven dcd
yes
i'm rookie intecept user, but my first cel. was a htc hero and i now fully management it.
STOP! THIS MOD IS ONLY FOR SAMSUNG ROM! NOT WORKING ON ASOP, CM OR OTHER!
Hello folks,
i'm new of gs4 but not of android. I'm a php developer and I like to play with my android devices and Linux but I'm surely not a king on Linux little more than a newbie
But first of all i want to describe the scenario:
THE PROBLEM
Since in the past i had a desire hd and i had a normal management of internal memory and sd as separate process my problem is to have a similar management on my gs4. Also i have 16gb version of gs4 and i want install a lot of apps!!! Also i have a 64gb sd card available. I have noticed that my gs4 installs all on internal sd also and apps download all their resources on internal sd. So with some heavy games and heavy app the internal memory became quickly full!!!
THE SOLUTION
My aim so became to use the external sd as internal sd and internal sd ONLY for apps installation so became used as internal memory!
And... yes after a lot of testing and work i have to make this working!!! So now my 64gb external sd is used for all tasks which the internal sd was used and the internal sd is only used for apps storage!! All extra files (resources, caches, etc etc) are stored in my external SD!!
HOW TO GET IT >>> VERY SIMPLE
Download ExtSd2InternalSd here correct latest version for JB(4.3) or KK(4.4.2)
WHAT YOU NEED
International galaxy s4 (i9505) with root, insicure kernel and kernel with init.d support
External sd card class 4 or superior. (you can try with class 2 also and tell us how it goes)
Rom with init.d support (if not init.d support see below)
My file attached
THE GUIDE
First of all make a nandroid backup!! I'm not responsable for any problem! You make this procedure at your risk!!!
Changelog and upgrade steps in second post
Format external sd card from your pc as fat32 or extfat
Copy attached zip in you external sd. Choose the right zip. If you have formatted your sd as fat32 choose _fat32 version, if the filesystem is extfat choose _extfat version
Go into recovery
Flash the zip for your sd card file system
Reboot and....enjoy your memory increase!!!!
IMPORTANT NOTES:
If you want to access to your INTERNAL SD you have to go with astro or ES filemangaer into /sdcard/intSdCard/0. Take attention to go into intSdCard
After the flash, please copy all content of /sdcard/intSdCard/0 to /sdcard to avoid file conflicts and files lost.
When you plug the phone to pc, the first sd is the external and you can access internal into intSdCard/0. DON'T TOUCH SECOND PARTITION SHOWED!
HOW CAN I CHECK IF ALL IS OK?
Is very simple.
With a file explorer with root ability go into /sdcard. Check If in this location you can see your files of your EXTERNAL SD card and check if you can see in /sdcard/intSdCard/0 the content of INTERNAL sd
If you want to remove the mod with a file explorer with root ability, delete the file 11extsd2internalsd from etc/init.d folder
IF YOU HAVE ISSUES
Please report:
Rom and kernel in use
the file system of external SD card and attach here
the log file stored in data/extsd2internalsd
IMPORTANT NOTE FOR DEV/ROM COOKER/WHO WANT'S TO PORT MY MOD
If you want to use the ExtSd2InternalSd in your ROM, give proper credit and a HTML link to this thread.
Do not modify it, do not rebrand it: the name is ExtSd2InternalSd
Modification and redistribution of the attached script is not permitted at all without permission of Mattiadj member
This means that you cannot feel free to zip up the attached script with other tweaks and this means that it is not be edited and shared.
WARNING for USERS: If you use or encounter a ROM with the ExtSd2InternalSd without proper credit given and no ExtSd2InternalSdr source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.
Personal Use: You may tweak the ExtSd2InternalSd (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.
If you like my job, buy me a beer
Help Mattiadj to buy a Galaxy s5 to make ExtSd2InternalSd mod
Now....feedback, feedback and feedback!
UPGRADE STEPS
Simply flash new zip over the older one.
Wipe cache and davilk just for sure.
CHANGELOG
v6 - 21/02/2014
v6 is compatible with latest 4.4.2 leaked XXUFNAD. Not use v5 for kk
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v5 - 10/12/2013
Extended compatibility with all TW roms
Code clean
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4.1 - 19/11/2013
Fixed permission problem with some app like beatiful widgets and others
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4- 14/11/2013
Completely new code
Changed the mount point of internal to /sdard/intSdCard/0
Fixed problem of app2sd apps which disappear
Fixed bootloop problem
Fixed first boot camera lag
Fixed timing problem for switch on some rom/kernel combo
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v3- 31/10/2013 Hallowen edition
TW Android 4.3 (MJ5 and above) support
Changed the mount point of internal to /data/media/intSdCard/0
Fix for app installed on external sd somentimes being lost
Some cases of bootloop fixed (need testing, please report)
Speed improvement!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v2 - 12/10/2013
Not need to install or use Folder mount app anymore! Simply flash and enjoy!
Media files problem fixed (wait for second reboot to make it ok or force media scanner one time)
Same size in memory managment fixed and not inverted!
Native app2sd support restored
Some app were not installable if the internal free space is less than the app space. Now this problem is fixed
Speed improvement!
Now is possibile to flash it before the first boot after new rom installation.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v1 - 3/10/2013
First working relase
US Variants
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
EMSpilot said:
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
Click to expand...
Click to collapse
I don't know mate. Try and report... I have the i9505 so I can't test on other device
From universe with my gs4 snapdragon powered! now Free
SCH-1545 Verizon S4
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
EMSpilot said:
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
Click to expand...
Click to collapse
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Stock Kernel
mattiadj said:
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
EMSpilot said:
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
Click to expand...
Click to collapse
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Unfortunately it's not working for me. Phone just boots as normal, external card is still external and all my apps installed work as normal with their data still on internal SD.
Running foxhound 2.0 with faux beta. Kernel doesnt have exfat support so I only tried fat32. And yes, I installed foldermount and patched system.
Please keep working on this, would be excellent to have it working.
Wait up 2mins before check in /sdcard, mod needs to make a lot of stuffs after first boot
Does it work with 9500
drlalitbida said:
Does it work with 9500
Click to expand...
Click to collapse
I don't know...you can try...i have i9505
init.d
mattiadj said:
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
My kernel has init.d support. I even tested it with Universal Init.d.
EMSpilot said:
My kernel has init.d support. I even tested it with Universal Init.d.
Click to expand...
Click to collapse
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
mattiadj said:
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
No SCH-1545
EMSpilot said:
No SCH-1545
Click to expand...
Click to collapse
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Screen Shot
mattiadj said:
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
EMSpilot said:
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
Click to expand...
Click to collapse
It is almost equal to yours so it should works but I don't know why not.
This mod is very complicated. For example a version which works for i9500 doesn't works to i9505 so... We have to wait for i9505 users feedback.
For me it's fully working from 5 days and finally I can feel the power of gs4!!!
From universe with my gs4 snapdragon powered! now Free
Good
Sent from my Lenovo A690 using xda premium
Perhaps a Kernel problem ?
Hello Mattiadj,
I don't know why it doesn't work for me.
As a matter of fact, the system sees that i have 2 internal SD.
I have a Gt-i9505 (French version) rooted with CF-Auto Root.
I have init.d support with universal init.d
The Rom is samsung MH8.
I've installed Folder Mount and patched the system.
I think the problem might be a Kernel problem. Which one do you use ?
Thanks a lot.
PS: I used your patch when I had a GS 3, and it worked perfectly.
Hello!
This is development thread of TWRP Recovery v2.8.0.0 by NovaFusion.
Credits:
marcin1147
Macław
Huge thanks to TWRP team.
You can get it from http://novafusion.pl/.
Download is directly provided from our servers - it's fast, stable and fully resumable!
If you appreciate our work, please, use thanks button!
XDA:DevDB Information
TWRP v2.8.0.0, Kernel for the Samsung Galaxy S III Mini
Contributors
New Macław, marcin1147
Kernel Special Features: Only one recovery with full KitKat support!
Version Information
Status: Stable
Current Stable Version: 20140911
Stable Release Date: 2014-09-11
Created 2014-03-11
Last Updated 2014-09-11
Changelog
20140911 (v2.8.0.0)
Add MTP support to recovery thanks mostly to bigbiff with a little help from Dees_Troy
Add command line capabilities – you can now execute various TWRP features via adb instead of the touchscreen
Add support for color in the console and give error, warning, and highlight lines different colors
Track backup and restore progress based on file sizes to provide a much more accurate indication of progress
Improve handling of /misc thanks to mdmower
Improve setting of time on Qualcomm devices thanks to [NUT]
Allow using images on slidervalue GUI objects thanks to Tassadar
Allow using variables and addition and subtraction in variables for easier theming
Add support for 1440×2560, 280×280, and 320×320 resolutions and update 240×240
Allow ui.xml file to include additional xml files to help break up the theme and make TWRP easier to maintain
Other minor fixes and improvements
What's new in 2.7.1.1 from 20140720?
upstream changes in TWRP
updated kernel
device updates
What new in 2.7.1.0 from 20140612?
full f2fs support for S3 Mini!
What's new in 2.7.1.0?
Add GUI option to change or repair file systems on individual partitions. The change is destructive so backup your data including internal sdcard first. This option should make it a little easier to migrate a device from ext4 -> f2fs, for instance. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button. If a developer has added f2fs support for your device and we don’t have it in TWRP, please contact me via PM to arrange for it to be added.
Various bugfixes to backup and restore
Improvements to USB storage handling
Added a class to search for files to make finding the correct brightness file automatic in most cases
Various other bugfixes and tweaks
What's new in 2.7.0.0?
Faster graphics rendering by disabling alpha blending on fully opaque objects thanks to Tassadar
Allow sideloading from /tmp on encrypted devices
Check for a crypto footer before asking for a password to prevent user confusion
Additional checks for validity to auto generated backup names
Text wrap in the console output
Proper caps lock support in the keyboard
Mouse support via USB OTG for devices with a broken digitizer
Improve scanning of storage locations for OpenRecoveryScript
Haptic feedback for buttons, keyboard, and vibration at the end of longer running actions
Fixed ext4 wiping when no selinux contexts are defined for that partition (e.g. sd-ext)
Update SuperSU to 1.93 and improve installation process
Added selinux contexts restoration to fix permissions
Load RTC offset on Qualcomm devices to fix the date/time in recovery
USB Mass Storage fixes Add SELinux support checking
Add Disk Usage class to better handle excluded folders (e.g. Google Music cache)
Add 4.4 decrypt support
Add some toolbox utilities to TWRP (namely to support SELinux functions not supported in busybox)
Various SELinux fixes and bug fixes
Downloads
All releases are available for download from:
http://novafusion.pl
Download is directly provided from our servers - it's fast, stable and fully resumable!
Sources: http://github.com/NovaFusion
Thanks
Sent from my GT-I8190 using Tapatalk
:thumbup::thumbup::thumbup:
Great, Thanks!
Awesome work. Thanks a lot Mac & Marcin, you guys rock:good:
Does it work properly? Because some people cant acess to SDcard.. or its just another user fail?
calvooo said:
Does it work properly? Because some people cant acess to SDcard.. or its just another user fail?
Click to expand...
Click to collapse
Will check right now Of course if it's true, we will fix it as soon as possible.
calvooo said:
Does it work properly? Because some people cant acess to SDcard.. or its just another user fail?
Click to expand...
Click to collapse
New Macław said:
Will check right now Of course if it's true, we will fix it as soon as possible.
Click to expand...
Click to collapse
Just make a backup (stored on the sd card) & works flawless, so...:good:
calvooo said:
Does it work properly? Because some people cant acess to SDcard.. or its just another user fail?
Click to expand...
Click to collapse
TWRP Backup and restore from and to sdcard works. Also apps like helium works with my 32gb sdcard.
Also ok for me. Thanks for fast reply guys!
Ok, i flash recovery and works fine. What about SElinux, is still disabled?
Backup to and restore from extSd is working without any issue for me. Good work!
Btw : I like the Panda in recovery :thumbup:
Silly question maybe...
Why use this one when the official TWRP (now at 2.7.0.1) is available? Is there a subtle difference that means this works when theirs doesn't?
(Edt: having asked the dumb question - I discover that the "official" download appears to be a 10 KB empty tar file! *laughs*)
giociampa said:
Silly question maybe...
Why use this one when the official TWRP (now at 2.7.0.1) is available? Is there a subtle difference that means this works when theirs doesn't?
Click to expand...
Click to collapse
TWRP team doesn't support s3 mini anymore, so, Marcin made his magic, just for us
mauam said:
TWRP team doesn't sipport s3mini anymore, so, Marcin made his magic, just for us
Click to expand...
Click to collapse
So I've just discovered (see edit above)
giociampa said:
Why use this one when the official TWRP (now at 2.7.0.1) is available?
Click to expand...
Click to collapse
Are you sure?
http://teamw.in/project/twrp2
Not even for the N7² it has a newer version.
Hi. i flashed previous version from cwm so i have twrp . for update flash new version with twrp or odin ?
Thanks.
mahdik.m said:
Hi. i flashed previous version from cwm so i have twrp . for update flash new version with twrp or odin ?
Click to expand...
Click to collapse
With TWRP
ORIGINAL THREAD HERE: https://forum.xda-developers.com/axon-7/development/2-15-2017-axon-7-msm-8996-cpu-vm-ram-t3557392
This mod was originally created for the Axon 7, but due to several requests, I've modified a version for the HTC 10, please see below, and post questions or comments in the original thread above. Please state you are a HTC 10 user if you have feedback in that thread, to consolidate user feedback and speed up response time.
Custom tuning for a device is always a necessity. "Canned" settings will get you by, but they are certainly never optimized for a specific device. In fact, Linux typically takes a general approach to find harmonic balance in default settings that will, for the most part, work in an acceptable manner for just about any device. There are a lot of resources available on this device, so we should utilize it in a manner appropriate to squeeze out as much battery life and performance as possible without sacrificing much of those outputs, don't you think? This is going to fix that for you.
Here is what is required of you before you begin:
1. Must be rooted
2. Must have the HTC 10 OR a device running the Snapdragon 820, as this modification is not so much device specific, but hardware specific. The important aspect being the snapdragon 820 and the RAM disk size.
3. Must have write protection disabled. If the HTC 10 requires write protection to be disabled, see the code and instruction below:
Using adb shell:
Code:
adb reboot disemmcwp
Using Linux terminal (from your phone, for example):
Code:
reboot disemmcwp
Let's begin.
Getting right to it, here's what I've done:
- modified parameters of the interactive governor, and quite extensively at that (search some of my threads if you want a little bit of a breakdown of the general approach I take)
- reconfigured input_boost parameters
- reconfigured vm parameters (again, the device has a lot of RAM resource, this will utilize it and give you a far better user experience. Basically, I've adjusted dirty_ratio, dirty_background_ratio, swappiness, and other parameters of the virtual machine.)
- disabled zRAM for 6 GB variants (RAM compression, again, not needed on this device really, this mod will save you CPU cycles and power) this will not apply to HTC 10 users, you will still have zRAM enabled.
- remapped minfree parameters for LMK (low memory killer) again only for 6 GB variants
- Tuned CFQ scheduler for flash storage devices
- Tuned "core_ctl" module (needs kernel support, I recommend freeza's latest version of BeastMode. For those wondering, yes, you can still use this mod with the stock kernel. It won't break anything.) again this will only apply to devices that support core_ctl at the kernel.
In a nutshell, that's what we're looking at here. I can guarantee you this will have a significantly positive impact on your device. Turbo time, homies.
How to install????
Easy. First, the file we are replacing is found in /system/etc... it is the "init.qcom.post_boot.sh" file - this file is basically shell scripts, which are applied at boot via this particular shell file.
All you have to do is download the file to your device, open up a file explorer (must have root capability), navigate to the /system/etc folder with said file explorer, mount your /system as RW (read write), delete your stock "init.qcom.post_boot.sh" file, and replace it with mine.
After you've successfully done this, change the new file's permissions to rw-r--r-- (0644), and then reboot!
Or, if you are brave, you can do it manually via a terminal app and get your fingers wet... if you choose to do that, see below:
Make sure the file is located on the root of your internal sdcard in /sdcard, open your terminal app (again, must have root) and type the following commands, hitting enter after each one (be careful to pay attention to the spacing).
Code:
su
Code:
cd /
Code:
mount -o remount,rw /system
Code:
cd /system/etc
Code:
rm init.qcom.post_boot.sh
Code:
cd /sdcard
Code:
mv init.qcom.post_boot.sh /system/etc
Code:
chmod 0644 /system/etc/init.qcom.post_boot.sh
I don't want credit, don't need you to give or offer donations, this is purely for the community in the spirit of Linux ideology. All I ask is for you to hit the thanks button :good:
That's pretty much it, guys. Enjoy!
DOWNLOAD
warBeard_actual said:
ORIGINAL THREAD HERE: https://forum.xda-developers.com/axon-7/development/2-15-2017-axon-7-msm-8996-cpu-vm-ram-t3557392
Hello everyone, I would like to provide this mod to the HTC 10. If somebody could grab me the STOCK file: init.qcom.post_boot.sh found in /system/etc I will modify it for you guys and post it here with instructions on how to install.
It will provide you a good boost in battery life without sacrificing performance.
Thanks!
Click to expand...
Click to collapse
Thanksss :angel:
I little bit more tuning can't be wrong I guess. Here you go. Just uploaded the respective file needed to do the trick.
5m4r7ph0n36uru said:
I little bit more tuning can't be wrong I guess. Here you go. Just uploaded the respective file needed to do the trick.
Click to expand...
Click to collapse
I'll have this done tomorrow night. Thanks for getting me the file
Hey guys, file is up, with instruction on how to install.
There were actually a lot of typos in the stock file from HTC
I cleaned up the file from redundancy, fixed a few things while adding my modifications to the file. For those wondering, YES the file is supposed to much smaller as a lot of unneeded code was removed that was specific for other SoC's.
Enjoy, feedback is welcome, but I can guarantee your experience will be postive results.
Phone booted, will be testing over the next few days
warBeard_actual said:
Hey guys, file is up, with instruction on how to install.
There were actually a lot of typos in the stock file from HTC
I cleaned up the file from redundancy, fixed a few things while adding my modifications to the file. For those wondering, YES the file is supposed to much smaller as a lot of unneeded code was removed that was specific for other SoC's.
Enjoy, feedback is welcome, but I can guarantee your experience will be postive results.
Click to expand...
Click to collapse
"The file we are replacing is found in /system/etc... it is the "init.qcom.post_boot.sh" file - this file is basically shell scripts, which are applied at boot via this particular shell file" - I could not find this file in /system/etc... Does the type of rom that I'm running matter. currently running ResurrectionRemix 5.8.3 (7.1.2) w/ tabp0le kernel
5m4r7ph0n36uru said:
I little bit more tuning can't be wrong I guess. Here you go. Just uploaded the respective file needed to do the trick.
Click to expand...
Click to collapse
Aloha,
Just to be clear.. So if I download this zip and flash through TWRP I will be on 7.1? I'm currently on stock with Majestic.
Mahalo
Sent from my HTC 10 using XDA-Developers Legacy app
devilman30 said:
Aloha,
Just to be clear.. So if I download this zip and flash through TWRP I will be on 7.1? I'm currently on stock with Majestic.
Mahalo
Sent from my HTC 10 using XDA-Developers Legacy app
Click to expand...
Click to collapse
No
Read the OP
Mike Grace said:
"The file we are replacing is found in /system/etc... it is the "init.qcom.post_boot.sh" file - this file is basically shell scripts, which are applied at boot via this particular shell file" - I could not find this file in /system/etc... Does the type of rom that I'm running matter. currently running ResurrectionRemix 5.8.3 (7.1.2) w/ tabp0le kernel
Click to expand...
Click to collapse
Well, I should have probably told you that CM-based ROMs don't have this file. Lol.
If you are an experienced user, you can add this to init.d
Using this without any problems, on top of ex kernel modifications and using PNP tweak v23. Do all of these play nicely together?
Sent from my HTC 10 using XDA-Developers Legacy app
warBeard_actual said:
Well, I should have probably told you that CM-based ROMs don't have this file. Lol.
If you are an experienced user, you can add this to init.d
Click to expand...
Click to collapse
I'm not an "experienced user" per-say but basically we take your edited init.qcom.post_boot.sh file and move into init.d (I'm on LOS ROM) folder and re-name and set permissions correctly?
I have re-named to 01init.qcom.post_boot
I'll upload a screenshot shortly to show what I have done.
Also, will it matter the kernel and write protection?
I'm assuming that I don't need to bother with it since I was able to move and edit this file?
MrRob0t said:
I'm not an "experienced user" per-say but basically we take your edited init.qcom.post_boot.sh file and move into init.d (I'm on LOS ROM) folder and re-name and set permissions correctly?
I have re-named to 01init.qcom.post_boot
I'll upload a screenshot shortly to show what I have done.
Also, will it matter the kernel and write protection?
I'm assuming that I don't need to bother with it since I was able to move and edit this file?
Click to expand...
Click to collapse
Yep, should be good. Make sure you leave your original stock file in /system/etc however... and line out any conflicting code in that stock file.
init.d loads during boot, as opposed to post boot, so any conflicting code with be overwritten after the .sh file executes (around the time you start seeing your lock screen)
warBeard_actual said:
Yep, should be good. Make sure you leave your original stock file in /system/etc however... and line out any conflicting code in that stock file.
init.d loads during boot, as opposed to post boot, so any conflicting code with be overwritten after the .sh file executes (around the time you start seeing your lock screen)
Click to expand...
Click to collapse
Original stock file. Does that mean the file that you edited or do i need to put the original file that was not edited. Using los based rom so original doesn't exist. Thank you
Mike Grace said:
Original stock file. Does that mean the file that you edited or do i need to put the original file that was not edited. Using los based rom so original doesn't exist. Thank you
Click to expand...
Click to collapse
Using LOS, you're good to go, as the file doesn't exist in /system/etc
Toss it in /system/etc/init.d and remove the .sh extension, good to go.
Delete