[MOD][All Variants ~ G93xx][6.0 - 8.0] Bett3r Battery and Performance with Kernel Twe - Samsung Galaxy S7 Edge Themes, Apps, and Mods

Hola Amigos!
Gonna do some Spanglish here... Well just that. Anyways; Welcome to the thread!​
The goal of this is to give you better performance and battery, and now supports ALL S7s!!!
Instructions -
1.) Download .zip
2.) Flash with FlashFire
3.) Enjoy​
A very in-depth explanation of what everything does can be found here
Downloads - ​
Qualcomm V1.7 -
Download
MD5: e4a12cdae58062b956d18d72bdd1f8be
Exynos V1.7 -
Download
MD5: 273f7e01c3ddc49cbb8d205fd4d9133d
If you're rooted with Magisk, make sure to copy the file "44tweaks" from /system/su.d into the service.d directory and give it full permissions (0777)
(/magisk/.core/service.d)
Thanks -​ @kevp75 - The usual, him being great
@king3opobn - Exynos info and testing

sweet.
will test next time I flash

Hi can i install this in G9350?i tried to flash but there is an error...
thanks

krisjuls said:
Hi can i install this in G9350?i tried to flash but there is an error...
thanks
Click to expand...
Click to collapse
What type of error? Make sure to mount /system on FlashFire

Craz Basics said:
What type of error? Make sure to mount /system on FlashFire
Click to expand...
Click to collapse
i use twrp and the error is: updater process ended with error: 7
error installing zip file 'external-sd/download/
craz_s7_Tweaks_v1.2.zip'
Thanks

krisjuls said:
i use twrp and the error is: updater process ended with error: 7
error installing zip file 'external-sd/download/
craz_s7_Tweaks_v1.2.zip'
Thanks
Click to expand...
Click to collapse
Try FlashFire and/or move to internal storage?
If still no cigar, I'll take a look tomorrow. For now if you'd like to use it you can extract it and in "system" take the file and put it in /system/su.d
If you do not have the folder su.d, create it and give it full permissions "0777" and then also give the script fill permissions inside the su.d folder "0777". Then reboot
Thanks

Craz Basics said:
Try FlashFire and/or move to internal storage?
If still no cigar, I'll take a look tomorrow. For now if you'd like to use it you can extract it and in "system" take the file and put it in /system/su.d
If you do not have the folder su.d, create it and give it full permissions "0777" and then also give the script fill permissions inside the su.d folder "0777". Then reboot
Thanks
Click to expand...
Click to collapse
I use flashfire and its done....'ll test the battery life & performance....Many Thanks

If I root and flash this in flashfire and then unroot, will the kernel tweaks still be working or no?

Illyakulinych said:
If I root and flash this in flashfire and then unroot, will the kernel tweaks still be working or no?
Click to expand...
Click to collapse
No, su daemon is needed for su.d to work.

krisjuls said:
I use flashfire and its done....'ll test the battery life & performance....Many Thanks
Click to expand...
Click to collapse
Can you ensure that it is running on boot please (go to /data and you'll see a log file at the bottom).
Then make sure the tweaks are taking... Go into kernel adiutor and go to the CPU tab (it's an app) and then make sure the governor is set to "interactive" and then select governor tunables on the little governor (second governor tunables button, closer to the bottom) and tell me what the first box says.
Thanks

Craz Basics said:
- I have also changed the scaling_max_freq so the CPUs can reach their full freq. (1593 mhz for little and 2150 mhz for big)​
Click to expand...
Click to collapse
Arent full frequency speeds different speeds ? like 2600Mhz on the big core for instance ?​

whitelightning76 said:
Arent full frequency speeds different speeds ? like 2600Mhz on the big core for instance ?
Click to expand...
Click to collapse
Yes, I've set 2160 mhz for big, and 1593 mhz for litte... the max.
Not sure if I understood your question fully, hopefully I answered it.

Here are some results with version 1.2 (brightness is just under half) -
I'm still working on making it better
* Those of you on non US qualcomm variants will probably get better than this!

I know, I know... Three posts in a row... Deal with it ;p
Version 1.3 is up! Check out changes in OP!

i want to install with TWRP how can i do u could convert for it

montafede said:
i want to install with TWRP how can i do u could convert for it
Click to expand...
Click to collapse
Should be able to
*unrelated to above*
I will be taking a break, not sure when ill be back. Ill still be active in threads but no updates until Im back.

Craz Basics said:
Should be able to
*unrelated to above*
I will be taking a break, not sure when ill be back. Ill still be active in threads but no updates until Im back.
Click to expand...
Click to collapse
tank u but no work with TWRP i used flashfire great work bro
best reguards take care

montafede said:
tank u but no work with TWRP i used flashfire great work bro
best reguards take care
Click to expand...
Click to collapse
TWRP still didn't work? And thanks!

Phone heating up, battery drain , performance gud
Sac23 s8 port / TGP kernel . / stock config.

hardik190 said:
Phone heating up, battery drain , performance gud
Sac23 s8 port / TGP kernel . / stock config.
Click to expand...
Click to collapse
With tweaks?

Related

[HACK] (Updated 5/25/10) UNIVERSAL OVERCLOCK for ANY ROM-- Wifi Fixed Version 2.0.1

Update to the universal overclock. I've tested it working on several ROMS... seems to be better than my first one. Based off dumfuq's latest OC kernel for CM5 which is based off the latest cyanogenmod. Instructions are the same as below. Let's set some G1s on fire!
EDIT WIFI FIXED NOW
UNIVERSAL OVERCLOCK VERSION 2.01 WIFI FIXED
This can be flashed right over what you have now
EDIT IT DOES WORK ON 1.5-1.6 ROMS !!!!!
Below you'll find a link to an overclock update.zip ... all you have to do is flash it, regardless of your ROM and use set cpu to tweak your settings. It will allow you to clock the CPU up to 825mhz!!! Anything over 768mhz locks up the phone so you may want to set a max value via userinit.sh. 652mhz seems to be stable for me
WARNING: Overclocking can shorten battery life and kill the PROC on your phone. I'm in no way responsible for your phone getting hotter than the sun and exploding.
NANDROID BEFORE FLASHING THIS
I'm not a DEV... i just like to tinker. All I did was notice this and throw it all together--------CREDIT GOES TO Dumfuq, Koush and Pershoot for making this possible
Instructions:
----------------------
INSTRUCTIONS HAVE BEEN CHANGED
*Download and install setcpu.
*Select auto detect (ensure it is set at 528mhz) make sure "set on boot" and "ondemand" are selected
*Download and flash THIS update.zip up to 652mhz Stable or this stable 576mhz overclock from Pershoot from recovery and reboot
*Go back into setcpu... hit "menu" and select autodetect again ...you'll notice you now have frequencies for up to 825mhz
*Configure min and max frequency to your liking (652mhz seems to be best for me) (you may want to set a sleep profile of 245min/245max since you won't need OC while you aren't using the device)
*Enjoy
TESTED AND WORKING ON Cyangenmod 5.0.7 / KingKlick's ERIS2G1 / ZXHero 1.5 / ZXHero 2.1 / KingKlick's Legend2G1 / NoSense 1.5 / HTC CLay's Superfast / ALL CSDI ROMS !
ive been waiting on something like this thanxxxxxx
but installation aborted it said something like E: kernal
mccurt29 said:
ive been waiting on something like this thanxxxxxx
but installation aborted it said something like E: kernal
Click to expand...
Click to collapse
What ROM are you flashing this on top of?
Agreed, the zip isn't signed correctly. Here's a working version.
Might want to thank Koush and Pershoot for the kernel script too.
This sounds awesome, it could make many sense roms much more usable as a daily!! Will flash and test later tonight when I get home from work. Thanks!
carl2990 said:
i get
E: Wrong digest:
Kernal/zImage
E:Verification failed
using cannon v2.0
Click to expand...
Click to collapse
Sorry for the confusion I did not sign the zip properly. SHOULD BE WORKING NOW.
Would you be willing to talk about how this works and how it can work on any Rom. I would be interested in knowing that.
EDIT ... Actually I found some info in the overclock thread. Thanks.
billquinn1 said:
Would you be willing to talk about how this works and how it can work on any Rom. I would be interested in knowing that.
Click to expand...
Click to collapse
Uses Anykernel.zip created by Koush
updater-script runs and extract the boot.img from your current ROM.
It unpacks the boot.img into kernel and ramdisk.
It repacks newboot.img with the new kernel and the same ramdisk.
It flashes the newly created boot image.
I got the source HERE
infinitybiff said:
Uses Anykernel.zip created by Koush
updater-script runs and extract the boot.img from your current ROM.
It unpacks the boot.img into kernel and ramdisk.
It repacks newboot.img with the new kernel and the same ramdisk.
It flashes the newly created boot image.
I got the source HERE
Click to expand...
Click to collapse
This is very clever. Thanks.
0o koush's anykernel from github nice thinking
sunsean said:
This sounds awesome, it could make many sense roms much more usable as a daily!! Will flash and test later tonight when I get home from work. Thanks!
Click to expand...
Click to collapse
makes Eris2G1 fly!!!!!!!!!!
So if I'm reading this right, your using koush's anykernal method (which pershoot uses on his kernals) with dumfuq's patch. Good ****.
You might want to let people that dumfuqs kernal defaults to 8xx at boot, so a lot of people won't boot if they don't set default boot after flashing. This can be done with userinit.sh or in /system/banner or something like that if u don't have an ext partation w/userinit.sh. its explaind how to push the line in other theard. Id copy and paste here, but I'm driving right now, lol.
You also might want to give pershoot xtra kernal a shot also. It maxes at 576, but also has other optimasations included and if stable on all g1's.
fastludeh22 said:
So if I'm reading this right, your using koush's anykernal method (which pershoot uses on his kernals) with dumfuq's patch. Good ****.
You might want to let people that dumfuqs kernal defaults to 8xx at boot, so a lot of people won't boot if they don't set default boot after flashing. This can be done with userinit.sh or in /system/banner or something like that if u don't have an ext partation w/userinit.sh. its explaind how to push the line in other theard. Id copy and paste here, but I'm driving right now, lol.
You also might want to give pershoot xtra kernal a shot also. It maxes at 576, but also has other optimasations included and if stable on all g1's.
Click to expand...
Click to collapse
Thanks for the heads up. I've edited the instructions to install set cpu first so when they flash the update it will still boot up at 528 and they can change accordingly
Can we use an alternative other than SetCPU?
flexnix said:
Can we use an alternative other than SetCPU?
Click to expand...
Click to collapse
I'm pretty sure you can set the max speed via userinit.sh.... something like
"#!/system/bin/sh
echo 633600 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
in other news i just got this to work on a 1.5 sense ROM!!!!!!
Thanks, I'm about to test this out
Thanks bro!
Does anyone know if I can just flash this ota with just my phone? I downloaded the zip ota, and astro shows that it's on my sd card, but when I go to recovery to flash zip, it's not showing up...?
Just impatient to try this cuz it sounds sweet, lol, but I know if I can't do it ota I can do it later tonight at home...
sunsean said:
Does anyone know if I can just flash this ota with just my phone? I downloaded the zip ota, and astro shows that it's on my sd card, but when I go to recovery to flash zip, it's not showing up...?
Just impatient to try this cuz it sounds sweet, lol, but I know if I can't do it ota I can do it later tonight at home...
Click to expand...
Click to collapse
move the file to the root of your sdcard if you downloaded OTA its probably in sdcard/downloads or something

Stupid SU: Galaxy S 4 stock+root helper

Hi guys!
As some of you must have noticed, latest Samsung GT-I9500 firmwares carry a kernel configuration supposed to prevent SETUID privilege elevation.
Stock unmodified firmware with root is my preferred setup but also a strong dependency for all my development, for me this change is a massive setback if not a dealbreaker.
While poking around I found in about an hour something weird that reveled being a vulnerability, so I created a little thing to make it useful for now.
README:
Stupid SU: Galaxy S4 root helper by François SIMOND aka @supercurio
Circumvent an extremely weak false-security "Anti Root" mechanism implemented
on latest Samsung Galaxy S4 devices (on both Exynos and Qualcomm versions)
Preventing proper root function on official firmware breaks all my Voodoo apps
requiring stock+root and is a move that's hostile to both users and developers.
Samsung security might be embarassed by this proof of concept, as it defeats
their mechanism in a single line... not even with complex ARM assembler
but *one* line of shell script.
However, the goal here is to show Superuser solutions developers how to
deal with those devices for now, and provide a working solution to people who
bought a Galaxy S4 expecting to root it cleanly and easily but cannot.
This proof of concept is slightly slowing down Superuser calls, but its
"plain text" implementation has the merit of showing how stupid this exploit is.
SELinux configuration stays unmodified and active.
Features:
- Detect and supports both SuperSU and Koush's Superuser
- Installs Super SU binary by default
Make sure you have one of those Superuser apps installed:
- https://play.google.com/store/apps/details?id=com.koushikdutta.superuser
- https://play.google.com/store/apps/details?id=eu.chainfire.supersu
Root feature doesn't rely on a "StupidSU kernel" which is only an installer.
Feel free to flash back Samsung's original boot.img from their official firmware
after booting at least once.
Important Note:
This "exploit" is so lame that it will be fixed in no time, making updated S4
a pain to root again.
I wish Samsung will reconsider their "Anti Root" approach, which is damageable
in every regard and defective by design as demonstrated here.
Also, I'm simply not interested developing for and promoting devices from
manufacturers hostile to developers: It's just a waste of valuable time.
Click to expand...
Click to collapse
INSTALL
1/ copy rooting/ directory in your initramfs
Make sure "root.sh" file is has an executable permission (chmod 744 recommended)
2/ Add those lines at init.universal5410.rc end:
# Stupid SU
service rooting /stupidsu/root.sh
class main
user root
group root
oneshot
3/ Assemble your initramfs with the associated Samsung official kernel binary
of choice in a regular boot image
4/ flash as boot.img
5/ At each boot, Superuser app are detected automatically and su binary adjusted
accordingly.
Click to expand...
Click to collapse
Source code
On GitHub
License
Kernels downloads, only for demo purposes of the concept, you can flash back original Samsung boot.img once rooted
GT-I9500 Stock + root StupidSU v4 UBUAMDE
GT-I9500 Stock + root StupidSU v4 XXUAMDK
GT-I9500 Stock + root StupidSU v4 XXUAME1
What's next
Owners of Qualcomm Galaxy S 4 devices experiencing the same dificulties with Samsung the anti root strategy might want to try this method, please let me know if you're ready for some experimentations.
Supercurio pleas add thraed t General section i think ther well bee lots of testers for i9505.thx for suport
Sent from my LG-P500 using xda app-developers app
Going to try this on latest LE1 stock kernel now .....thread is in correct section
edit: did not work on LE1 kernel. I will try once again. DId any one tried the MDK kernel..I am having again the problem with SU binaries installation..
Edit: Thanks bro. working on ME1 kernel now. Did mistake while doing tar. Appreciate it! Root is working fine but cant update the binaries of Supersu, still the root works fine.
Here comes the master welcome to SGS4 development forum mate.. (rahulzeven from twitter here )
So the BEST thing's just happened?!:laugh::good:
i repacked the kernel of Samsung-Updates.com-KERNEL-GT-I9500-XSE-I9500XXUAME1-1367637350 using supercurio method. Root works fine. All we need to is install it from ODIN and dont update the binaries of supersu.
Download Link
Edit: New file uploaded
grgsiocl said:
i repacked the kernel of Samsung-Updates.com-KERNEL-GT-I9500-XSE-I9500XXUAME1-1367637350 using supercurio method. Root works fine. All we need to is install it from ODIN and dont update the binaries of supersu.
Download Link
Click to expand...
Click to collapse
Thanks fo much! Will Titanium Backup work on this kernel?
Hope chainfire will start working on mobileOdin soon. So much easier to flash than.
... tapat*lked
GSeeker said:
Thanks fo much! Will Titanium Backup work on this kernel?
Click to expand...
Click to collapse
wrong file uploaded. Please download the same in 5 minutes. Uploading is on and the kernel date should be MAY 04
---------- Post added at 12:33 PM ---------- Previous post was at 12:28 PM ----------
GSeeker said:
Thanks fo much! Will Titanium Backup work on this kernel?
Click to expand...
Click to collapse
it should work as i dont use titanium backup and instead i use gobackup pro and it works fine anyway
MDK from OP working good, thanks
grgsiocl said:
i repacked the kernel of Samsung-Updates.com-KERNEL-GT-I9500-XSE-I9500XXUAME1-1367637350 using supercurio method. Root works fine. All we need to is install it from ODIN and dont update the binaries of supersu.
Download Link
Edit: New file uploaded
Click to expand...
Click to collapse
I'm trying to repack the kernel of korean gs4,
but I am a noob in kernel devs.
I can edit ramdisc, but fist trying in initramfs, zImage.
Is rooting directory means both root.sh and files(folder)?
and paste them on first class route?
hope you give some advices.. thanks
aslak89 said:
I'm trying to repack the kernel of korean gs4,
but I am a noob in kernel devs.
I can edit ramdisc, but fist trying in initramfs, zImage.
Is rooting directory means both root.sh and files(folder)?
and paste them on first class route?
hope you give some advices.. thanks
Click to expand...
Click to collapse
when you unpack the kernel you will have two folders one is ramdisk and other one is split_img (zimage). You need to copy the folder stupidsu folder in ramdisk and modify the init.universal5410.rc as per OP stated and repack the image
grgsiocl said:
when you unpack the kernel you will have two folders one is ramdisk and other one is split_img (zimage). You need to copy the folder stupidsu folder in ramdisk and modify the init.universal5410.rc as per OP stated and repack the image
Click to expand...
Click to collapse
then, is not necessary to recompile zImage?
ok I m going to try it right now, thank you grgsiocl
muhamet said:
Supercurio pleas add thraed t General section i think ther well bee lots of testers for i9505.thx for suport
Click to expand...
Click to collapse
Yes in fact I was hesitating, but as soon as someone is ready to assist me to try on a Qualcomm device (I9505 or T-Mobile Galaxy S4) I'll make a thread here too.
grgsiocl said:
Going to try this on latest LE1 stock kernel now .....thread is in correct section
edit: did not work on LE1 kernel. I will try once again. DId any one tried the MDK kernel..I am having again the problem with SU binaries installation..
Edit: Thanks bro. working on ME1 kernel now. Did mistake while doing tar. Appreciate it! Root is working fine but cant update the binaries of Supersu, still the root works fine.
Click to expand...
Click to collapse
Great then
aslak89 said:
then, is not necessary to recompile zImage?
ok I m going to try it right now, thank you grgsiocl
Click to expand...
Click to collapse
The point here is to have stock (unmodified Samsung binary) kernel running, with associated modules and no other modification.
Which gives you several usage options:
keep the StupidSU stock+root kernel (same kernel binary, same kernel modules, only very slightly initramfs scripts) that will auto-root depending on which Superuser APK you installed
you can flash back the official kernel and still enjoy root the same.
supercurio said:
The point here is to have stock (unmodified Samsung binary) kernel running, with associated modules and no other modification.
Which gives you several usage options:
keep the StupidSU stock+root kernel (same kernel binary, same kernel modules, only very slightly initramfs scripts) that will auto-root depending on which Superuser APK you installed
you can flash back the official kernel and still enjoy root the same.
Click to expand...
Click to collapse
Thank you for awsering
then I repacked my kernel but still not work.
copyed stupidsu and edited init.universal5410.rc in ramdisk and repacked boot.img.
I guess permission is the thing,
attach my shots
hope you loot at once.
Sent from my SHV-E300S using XDA Premium HD app
walda said:
Hope chainfire will start working on mobileOdin soon. So much easier to flash than.
... tapat*lked
Click to expand...
Click to collapse
He will after he will come back from his vacation.
I'll look into a fixed CF-Auto-Root for the I9505 as soon as I'm back on Sunday. I imagine that will be tested by Sunday evening, with a I9500 test version available sometime Monday. If all is well
In StupidSU environment and for this initial release Koush's Superuser app would
be preffered as SuperSU main UI refuses to launch because it cannot detect its
original su binary. Aside from that both work as expected.
Click to expand...
Click to collapse
This is because you're not installing the backup su binary. The UI app detects this is missing and triggers an update. Bug in StupidSU
aslak89 said:
Thank you for awsering
then I repacked my kernel but still not work.
copyed stupidsu and edited init.universal5410.rc in ramdisk and repacked boot.img.
I guess permission is the thing,
attach my shots
hope you loot at once.p
Click to expand...
Click to collapse
Alright I'm adding some logging in my scripts so you'll be able to see what's happening − or not
supercurio said:
Yes in fact I was hesitating, but as soon as someone is ready to assist me to try on a Qualcomm device (I9505 or T-Mobile Galaxy S4) I'll make a thread here too.
Click to expand...
Click to collapse
Brilliant news!!!! Thanks a LOT!!
Let's make it work!! It will be AWESOME if I could use latest STOCK Kernel in my ROM's......
I'll give you a hand

[Rom]DeodexedBOH6 ThrashRom lite -3.4** update 9-10-2015*

I Welcome to the first custom ROM for the note 5 it is light fast with great battery life and a few minor modifications in due time I will add things I appreciate you for coming and trying out my work.. You can flash whatever kernel you enjoy the best. as I see everyone has different preferences.
2 versions.so please mind the instructions for each
You can choose between stock deodex or live on the edge and go with ThrashRom lite.. Your choice... Happy flashing.
The old AOGE downloads will be at the bottom if you need.
Developers-I do not mind if you use this as a base just please give credit.
9-11-2015 THRASHROM 3.4 clean flash
https://www.androidfilehost.com/?fid=24052804347813339
9-8-2015 ThrashRom 2.4 https://www.androidfilehost.com/?fid=24052804347811318
Boh6 modem- https://www.androidfilehost.com/?fid=24052804347812657
BOH4 modem only if you need - https://www.androidfilehost.com/?fid=24052804347809079
Arter kernel http://forum.xda-developers.com/showthread.php?t=3189907
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Features for lite
-rooted
-deodexed
-busybox
-3minit battery mod
-zip aligned
-over 200 fonts
-debloated
-private mode working
-SuperSU built in
-Knox removed
-boot sound removed
-international samsung boot animation
-ext read/write fix - thanks @TEKHD
-Netflix fix
-Removed volume warning
-block messages
-disable sms to mms threshold
-Removed Knox version in settings
-removed input method switcher in statusbar
-27 quick settings toggles
-5 way reboot thanks @foreverloco
-ram fix
-custom boot animation
-save restore messages
-enable camera during call
-increased volume throughout
Working V4A- http://forum.xda-developers.com/showthread.php?p=62783064
-more I'll post later when I get home
donations are not required or expected but if you feel like it.. It will give me more red bull to motivate me! ... paypal.me/JThrasher47
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Instructions - erase all registered fingerprints!BEFORE FLASHING! After you can put back in.
For THRASHROM LITE
Boot into recovery (TWRP OR PHILZ) NOT FLASHFIRE
-1. Make a backup
2. Perform a full wipe
3. Flash rom
( I recommend arter kernel but that is optional)
4.flash xposed (optional)
5.reboot. sometimes can take up to 10 minutes to boot first time.
6.thanks button goes a long way.
Uodated 3minit https://www.androidfilehost.com/?fid=24052804347810304
If you do not like 3 minit remove it with this-https://www.androidfilehost.com/?fid=24052804347809789
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ADD ONS-
Custom boot animation push to system /media and fix permissions
https://mega.nz/#!zN1ARSBA!3IOtVjsJbZH_f-Mz-v3cZ6BkioSThWNynIlsQjrvPas
-3minit for BOH4 ONLY - https://www.androidfilehost.com/?fid=24052804347810304 THANKS @foreverloco
3minit battery mod for AOGE ONLY https://www.androidfilehost.com/?fid=24052804347802688
Xposed framework-http://forum.xda-developers.com/xpo...samsung-lollipop-t3180960/page59#post62556222
noble kernel rebuild 2in case you have reboots with rebuild 3
https://www.androidfilehost.com/?fid=24052804347803877 @drbveb88 thanks for the link I lost lol
Xposed running great!
Old downloada-
Old V2-download- https://www.androidfilehost.com/?fid=24052804347803738
Still dirty flash and flash SuperSU
Old Debloated version- https://www.androidfilehost.com/?f...ww.androidfilehost.com/?fid=24052804347807578
ThrashRom Lite BOH4 with some mods- --please perform a full wipe on this one - https://www.androidfilehost.com/?fid=24052804347808630
list of apps removed--View attachment 3463572
Thanks to @Manh_IT for root and the kernel.
Thanks to @TEKHD for helping behind the scenes.
Thanks to @Chainfire for supersu
Thanks @-viperboy- for the updater script and all the help
Big Thanks to @markbencze for the banner!
Changelog:
V2- removed drive and lookout.. So you don't need to disable
Included kernel and su in rom
9-3-2015- Updated to new base
9-7-2015-removed volume warning
-removed input method switcher
-call/message block In settings
-Netflix fix
-removed Knox version in settings
-removed 3 minit.. Optional to flash
-disable sms to MMS threshhold
9-8-2015- added 27 toggles at boot
fixed private mode
Thanks to @daxgirl and @foreverloco for pointing me in the right direction
9-11-2015
-updated to boh6
-custom boot animation
-ram fix
-5 way reboot thanks @ foreverloco b/c I was being lazy
Thanks for getting things rolling!
dandroid7 said:
Thanks for getting things rolling!
Click to expand...
Click to collapse
No worries.. I'm just as ready as everyone else.. Too bad I don't have kernel knowledge
Misterjunky said:
I found this N920T (note 5) STOCK kernel posted in this forum earlier today but
forgot who posted the link. It's an Odin flash TAR file, perhaps you can use it.
Here is the download link in case you can use it:
https://www.androidfilehost.com/?fid=24052804347800814
Good luck,
Have a great day!
Click to expand...
Click to collapse
Thanks but no stock kernel will not work unless it has been modified.. There's a reason I left it out lol
Misterjunky said:
I found this N920T (note 5) STOCK kernel posted in this forum earlier today but
forgot who posted the link. It's an Odin flash TAR file, perhaps you can use it.
Here is the download link in case you can use it:
https://www.androidfilehost.com/?fid=24052804347800814
Good luck,
Have a great day!
Click to expand...
Click to collapse
I posted that earlier and that is not the stock kernel that is the stock recovery you should give credit where credit's due man not upload that to your own file host..
re: ok
jthrasher47 said:
I posted that earlier and that is not the stock kernel that is the stock recovery you should give credit where credit's due man not upload that to your own file host..
Click to expand...
Click to collapse
I just edited my post and also removed it from the file hosting.
Thanks for letting me know!
Have great day!
Misterjunky said:
I just edited my post and also removed it from the file hosting.
Thanks for letting me know!
Have great day!
Click to expand...
Click to collapse
I will put together a stock boot tar.. And if you send me one for your device I will put together one for your device too. But it's just not cool to take peoples stuff they put together for the community and upload to your host and share it around..
No harm no foul..
Will that stock boot tar be compatible with my s6 edge+ too?
Perhaps since the Note 5 and the s6 edge+ are almost identical
the roms, recovery and the kernel might be interchangeable. ..
Maybe that's just a lot of wishful thinking on my part.
Have a great day, and good luck with the rom.
Sent from my SM-G928T using Tapatalk
Misterjunky said:
Will that stock boot tar be compatible with my s6 edge+ too?
Perhaps since the Note 5 and the s6 edge+ are almost identical
the roms, recovery and the kernel might be interchangeable. ..
Maybe that's just a lot of wishful thinking on my part.
Have a great day, and good luck with the rom.
Sent from my SM-G928T using Tapatalk
Click to expand...
Click to collapse
I'm not sure. If it has any similarities to the s6 and s6 edge then it might boot but stiff gets broke like screen gets twisted on x Axis and whatnot so I kind of doubt it.. But recovery I'm sure would be fine.
In the build.prop issues like the screen might be an easy fix by renaming
the model numbers or the versions.
To me it looks like the actual rom has parts in it for more than one phone
model and certain files like the build.prop tell the rom which parts to use
depending on the phone's model.
Or am I completely wrong?
Sent from my SM-G928T using Tapatalk
Misterjunky said:
In the build.prop issues like the screen might be an easy fix by renaming
the model numbers or the versions.
To me it looks like the actual rom has parts in it for more than one phone
model and certain files like the build.prop tell the rom which parts to use
depending on the phone's model.
Or am I completely wrong?
Sent from my SM-G928T using Tapatalk
Click to expand...
Click to collapse
Yeah I don't mean to sound rude but yea you're wrong the build.prop won't do anything if you make the changes I mean if you flash it and your axis gets inverted you just put in the dialer code *#2663# and press ftp firmware upgrade and it will fix it it..
The kernel modules is what tells it what to do
re: screen issue
jthrasher47 said:
Yeah I don't mean to sound rude but yea you're wrong the build.prop won't do anything if you make the changes I mean if you flash it and your axis gets inverted you just put in the dialer code *#2663# and press ftp firmware upgrade and it will fix it it..
The kernel modules is what tells it what to do
Click to expand...
Click to collapse
Yea, I know about that *#2663#, it saved my bacon when my touchscreen on my
Note 4 went crazy, it was the right resolution and size but none of the touches
corresponded with what was on the screen, however the s-pen did work properly.
After punching in that code and doing the upgrade the phone worked perfectly.
Before finding that code I was about to flush the phone down the toilet. LOL
The problem was all my fault, I by error odin flashed the wrong version of twrp.
Zip failed to flash on my Note5. Restoring my backup, I'll get you the error log when I'm back in Android.
EDIT: Literally nothing helpful...
Code:
Installing '/sdcard/Deodexed-N920TUVU1AOGE.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Error flashing zip '/sdcard/Deodexed-N920TUVU1AOGE.zip'
Updating partition details...
Let me take a look inside the zip and see what's up.
EDIT2: Yeah, you don't have a META-INF folder. No updater-script or anything. No wonder this won't flash. You'll need to fix that before this will flash.
-viperboy- said:
Zip failed to flash on my Note5. Restoring my backup, I'll get you the error log when I'm back in Android.
EDIT: Literally nothing helpful...
Code:
Installing '/sdcard/Deodexed-N920TUVU1AOGE.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Error flashing zip '/sdcard/Deodexed-N920TUVU1AOGE.zip'
Updating partition details...
Let me take a look inside the zip and see what's up.
EDIT2: Yeah, you don't have a META-INF folder. No updater-script or anything. No wonder this won't flash. You'll need to fix that before this will flash.
Click to expand...
Click to collapse
It says the zip is uploading on the OP lol.. I had a bad connection at work and had to stop uploading I'm about to be back and I'm going to start uploading to flashable
jthrasher47 said:
It says the zip is uploading on the OP lol.. I had a bad connection at work and had to stop uploading I'm about to be back and I'm going to start uploading to flashable
Click to expand...
Click to collapse
The ROM I downloaded was complete, not corrupted. It's just missing essential files needed to flash the ROM.
What you're going to upload next, you've tested and it flashes? I can help you if you need.
EDIT: Oh, the link you put up was a system download lol gotcha, missed that part.
-viperboy- said:
The ROM I downloaded was complete, not corrupted. It's just missing essential files needed to flash the ROM.
What you're going to upload next, you've tested and it flashes? I can help you if you need.
Click to expand...
Click to collapse
That is not the ROM that you downloaded that is just the system files that I put there for anyone to use as a base if they need I have to run it through archikitchen to get the updater script unless you have one lying around that will flash on our phones lol
I'm just getting home so I'm about to start running that it should not be long
jthrasher47 said:
That is not the ROM that you downloaded that is just the system files that I put there for anyone to use as a base if they need I have to run it through archikitchen to get the updater script unless you have one lying around that will flash on our phones lol
I'm just getting home so I'm about to start running that it should not be long
Click to expand...
Click to collapse
Yeah, I missed that lol I quickly threw one into the system download, it just successfully flashed, but it's bootlooping after hitting the T-Mobile logo haha I'm at work, so I'll look at it later.
-viperboy- said:
Yeah, I missed that lol I quickly threw one into the system download, it just successfully flashed, but it's bootlooping after hitting the T-Mobile logo haha I'm at work, so I'll look at it later.
Click to expand...
Click to collapse
The lollipop updater scripts are different from jelly bean they have to find the block and mount it that's why I have to run it through the kitchen real fast I just threw this up there the other day for any better qualified people to use as a base.
Now that we have root I'm about to get the updater script and throw it in there and upload
jthrasher47 said:
The lollipop updater scripts are different from jelly bean they have to find the block and mount it that's why I have to run it through the kitchen real fast I just threw this up there the other day for any better qualified people to use as a base.
Now that we have root I'm about to get the updater script and throw it in there and upload
Click to expand...
Click to collapse
No, you can do something like this:
Code:
run_program("/sbin/mount", "-t", "auto", "/system");
and that'll work just fine.
I have a feeling mine bootlooped because of permissions or symlinks, but it wasn't booting far enough for me to get a logcat of it.
-viperboy- said:
No, you can do something like this:
Code:
run_program("/sbin/mount", "-t", "auto", "/system");
and that'll work just fine.
I have a feeling mine bootlooped because of exactly permissions or symlinks, but it wasn't booting far enough for me to get a logcat of it.
Click to expand...
Click to collapse
Exactly.. Archikitchen does all the sym links in the updater script.. I'll admit I'm not that skilled lol I can just build a simple ROM. It seems like you know what you're doing if you can help in any way that would be appreciated other than that the only way I know how to do it is through the kitchen

[MOD] MI4C Charged

Hello ladies and gentlemen,
After a lot of hours of work I present to you the complete suite for supercharging your Mi4C !
This flashable zip contains:
1) New icons from multirom.me (in my opinion better than miui.eu)
2) Thermal configuration from LG G4 (same SoC with Mi4C) to eliminate thermal throttling and overheating
3) Core management to improve battery life (like mpdecision)
4) Vulkan API for Adreno 418 (Increased GPU performance)
5) Interactive Governor - I/O scheduler - GPU tweaks for smoothness and better battery life
How to apply:
1) Download zip
2) Flash Mi-Globe rom (complete installation then reboot to recovery to flash the mod)
3) Flash Supercharged zip
4) Reboot and leave the screen on for 10 seconds
5) Re-apply MIUI default theme
6) Enjoy!
Warnings:
To enjoy the full Supercharged experience:
- DO NOT use GovTuner, LSpeed or other tweaks for CPU,GPU and generally kernel stuff !!! (leave GovTuner disabled in the Rom Builder)
- This is only for Mi-Globe ROM
- PLEASE LEAVE FEEDBACK. I have put a lot of time and effort into this so please do me a favor and comment on this. What is working, what isn't working, your experience, battery life, bugs, etc.
Comments like: "It works" / "Thanks a lot" / "Better battery life" do not help me make this better or fix things. Please be a little more specific (screenshots or describing your problem/experience helps a lot). THANKS IN ADVANCE FOR YOUR SUPPORT !!!
Updated Links:​In the new zip section you will find flashable zips for Nougat Developer ROM only!!!​Works with miui.eu , mi-globe and multirom.me​
This flashable zip contains:
1) Icons from multirom.me (in my opinion better than miui.eu)
2) Thermal configuration (cooler than old zips but lags a bit more while heavy gaming)
3) Core management to improve battery life (like mpdecision)
4) Vulkan API for Adreno 418 (Increased GPU performance)
5) Interactive Governor - I/O scheduler - GPU tweaks for smoothness and better battery life
Debloater:
Will remove a lot of system apps while applying the above tweaks, to delete xiaomi's environment apps and stuff the spy/sync stuff on your phone with xiaomi servers. I kept what I thought was necessary to keep maximum possible functionality
Debloater Alt:
Same as debloater, just different CPU settings. (People claim that this is more battery efficient than Debloater)
Debloater Light:
Deletes only a handful of system apps to keep the rom fully functional and full of features
Optimiser:
Just the above tweaks. Does not remove anything.
I cannot guarantee that this will work for every MIUI dev update but it should work
How to apply:
1) Download zip
2) Flash your rom
3) Flash zip
4) Reboot and re-apply MIUI default theme
5) Enjoy!
Download Link :
https://www.androidfilehost.com/?w=files&flid=172337
Hosts file for blocking Xiaomi and other domains from communicating with your phone:
(import with AdAway app)
1) Open menu in Adaway app
2) Hosts Sources
3) Press the "+" sign and enter http://t-ryder.de/hosts.txt
4) Go back to main screen and press download and apply to finish
MIUI De-Xiaomi Project (Work in progress / Testing ):
Alright so here it goes:
Credits to @Gyovany96 for the original work on Xiaomi Redmi Note 2
This is a somewhat risky flashable zip as it can make a lot of things break if not applied right. So if you don't know your way around, please make backups before trying anything. I'm not responsible for anything that happens to your phone.
If you are going to use this, it is required to have a nougat miui rom.
1) Firstly, you must do a clean install of xiaomi.eu rom (mi-globe and multirom.me will be fine as well, I think...) ( Wipe: System , Data , Dalvik Data , Cache ) ( tested on version 7.4.6 )
2) Flash DX MOD
3) Flash latest SuperSU (don't let twrp install supersu)
4) The first time you open your phone skip every setup (wifi, google account, etc)
-If you get force close of Provision.apk at google account setup skip, press the power button to bring the power menu, activate airplane mode and it should work after that)
5) After you get to launcher you can setup your wifi and google account (go into play store and it will resume the login procedure)
6) Install Link2SD and freeze Xiaomi Service Framework and com.miui.home.launcher.assistant
7) You are good to go
What you get with these zip?
1) Even more debloating work than debloater zips
2) New Power Saving CPU Tweak
3) Default thermal config (runs good in my opinion)
4) 3 way reboot menu for xiaomi.eu
5) New icons from @t-ryder
6) Latest MiXplorer and Adaway as system apps
7) Vulkan API GPU drivers
Credits:
@[B]t-ryder[/B] ( for providing and hosting the hosts file / go check his other projects ---> www.t-ryder.de )
@[B]a5m[/B] ( from 4pda.ru forums that provided a very good template for cpu tweaks to work on and give to you )
For those who need benchmarks I'm attaching a screenshot of cold run Antutu using stock Mi-Globe rom 7.2.23 and only this mod. The temperature rose up to 40C and fell to 35C very quickly
Will try if i find time this weekend. Sounds nice thought congrats for the effort
Στάλθηκε από το Mi 4c μου χρησιμοποιώντας Tapatalk
Hi. I get an error 6 while flashing this on TWRP. Using the TWRP for Nougat.
can the aicp flash it?
@solis_f this mod is for mi-Globe base Nougat rom only or this also can be use with mi-Globe base Lollypop (Miui8 v8.2.1)?
Sent from Libra Mi-4c
buzenm said:
can the aicp flash it?
Click to expand...
Click to collapse
I will make different version for aicp/rr. Give me some time tomorrow
mendro said:
@solis_f this mod is for mi-Globe base Nougat rom only or this also can be use with mi-Globe base Lollypop (Miui8 v8.2.1)?
Sent from Libra Mi-4c
Click to expand...
Click to collapse
Yes you can
I'm aware of an error 6. It's a typo, I will reupload tomorrow
Edit: Do aicp and RR support init.d ?
solis_f said:
I will make different version for aicp/rr. Give me some time tomorrow
Click to expand...
Click to collapse
thanks,i had tried this
https://forum.xda-developers.com/mi-4c/general/guide-advanced-interactive-governor-t3482740/page17
i feel it is used
solis_f said:
Yes you can
I'm aware of an error 6. It's a typo, I will reupload tomorrow
Edit: Do aicp and RR support init.d ?
Click to expand...
Click to collapse
@solis_f
Any chance to get the fix today mate?
Already flashed the mi-Globe v8.2.1 till i saw the error 6 from ur zip file & the post bout the error here
Sent from Libra Mi-4c
Link updated !
If someone can confirm that RR and AICP support init.d I will make a flashable zip for AICP/RR roms !
AICP init.d
solis_f said:
Link updated !
If someone can confirm that RR and AICP support init.d I will make a flashable zip for AICP/RR roms !
Click to expand...
Click to collapse
/system/etc/init.d directory exists on AICP. Does it mean it supports init.d?
LG*L70 said:
/system/etc/init.d directory exists on AICP. Does it mean it supports init.d?
Click to expand...
Click to collapse
I guess! If you put a runnable script in there does it automatically get executed on boot? If yes then it's fully functional.
solis_f said:
I guess! If you put a runnable script in there does it automatically get executed on boot? If yes then it's fully functional.
Click to expand...
Click to collapse
@cozmy13 
 @csolanol
Does it?
@solis_f
wow thats really great. Thank you.
Does the temperatures are more or less stable like in AndopaX Roms after running 3 tests+ ?
Danny94 said:
@solis_f
wow thats really great. Thank you.
Does the temperatures are more or less stable like in AndopaX Roms after running 3 tests+ ?
Click to expand...
Click to collapse
Didn't stress test this... You can find out yourself and post it here !
@solis_f
Im not on nougat bootloader, so i can`t atm ;D. But if you will release it for AICP i will try it with joy.
Edit: It looks like AICP doesn't execute inid.d files. Does someone can confirm that ? I tried to create logfile (maybe i did wrong ;D).
Maybe the Kernel doesn't support it atm?
Danny94 said:
@solis_f
Im not on nougat bootloader, so i can`t atm ;D. But if you will release it for AICP i will try it with joy.
Edit: It looks like AICP doesn't execute inid.d files. Does someone can confirm that ? I tried to create logfile (maybe i did wrong ;D).
Maybe the Kernel doesn't support it atm?
Click to expand...
Click to collapse
As far as I remember the folder was there but not supported. I will try to utilise supersu, I think it can execute scripts. Don't worry I will make one for AICP / RR . I will find a way
@solis_f
that's great, thank you. Maybe Magisk can execute it too (is now very common and inbuild root for AICP // i need for pogo ;D) ? As i remember RR should support init.d.
Danny94 said:
@solis_f
that's great, thank you. Maybe Magisk can execute it too (is now very common and inbuild root for AICP // i need for pogo ;D) ? As i remember RR should support init.d.
Click to expand...
Click to collapse
I know Magisk I'll find a way just give me some time. Senior computer engineering students don't have much free time and I'm new to developing for Android so please bear with me :fingers-crossed:
HI mate, dirty flashed the fixed one already on mi-Globe v8.2.1 but got stuck at Mi logo..
Anyway thx for ur effort
Sent from Libra Mi-4c

[MAGISK][mido]White Torch Light with Dual Flash for Camera and More

This is my personal MAGISK mod that I use. It's quite versatile as one can change it depending on what one needs. It's just a matter of uncommenting/commenting out the related lines, beginning with 'write /sys/....'
You'll find them in the common folder in services.sh and post-fs-data.sh.
Currently it has been set up to change the yellow torch light in custom ROMs to white while retaining the camera's dual flash.
You do not need to change anything if you just need the above functionality, just download and load the mod in Magisk.
However, if you wish to try out the other tweaks included then you'll need to unzip it, change the wanted values and zip them again to be able to flash it in Magisk; I use ZArchiver.
All these tweaks were cherry picked from the sample.sh script so generously provided by @DarthJabba9 in his thread.
If your looking for more cool tweaks and tweaks for devices without Magisk, you should check out his thread.
Tweaks available in this MOD:
-white flash light and/or torch (depending on what you change)
-limit max CPU scaling frequency (for more battery life)
-set idle GPU to 133 Mhz (for more battery life)
-correct screen retention for Tianma displays
-change the read ahead value for external storage
Read the codes in the services.sh and post-fs-data.sh to find out more.
This has been tested on Oreo but should work for Nougats as well
Enjoy!!
Download
CREDITS:
@DarthJabba9
WORD OF CAUTION:
Apart from using the values provided in the scripts by un-commenting them, do not try to change the values or lines on your own if you're not aware of what it does/will do. It can seriously damage your device and anyone including me shall not be held responsible for it.
'''Update:'''
'''07/10/2018'''
using only
write /sys/class/leds/led:torch_1/max_brightness 0
Thanks man.. ??
Will this work in lineageOS 15.1 (build 2018-06-18) on mido?
Will i have to unpack and repack it if i just want white light from notifications panel or just installing from magisk will be sufficient?
Sorry , I am a noob.
Yes
Yes, just use as is
OP updated for more clarity, thanks
This module of your magisk could have bad effect in custom kernel sir?
jhun3xx said:
This module of your magisk could have bad effect in custom kernel sir?
Click to expand...
Click to collapse
In which way?
thapaavijeet said:
In which way?
Click to expand...
Click to collapse
In speed and batt life sir.. Im using overclock kernel
jhun3xx said:
In speed and batt life sir.. Im using overclock kernel
Click to expand...
Click to collapse
If your just using the mod as is, without changing anything in it, then it does not do anything else other than change the torch light colour.
jhun3xx said:
In speed and batt life sir.. Im using overclock kernel
Click to expand...
Click to collapse
If your just using the mod as is, without changing anything in it, then it does not do anything else other than change the torch light colour.
Noob here!
I want this tweak:correct screen retention for Tianma display.
What to do in service.sh?Should i remove the"#"sign from that line or what?
Sent from my Redmi Note 4 using XDA Labs
arvarobert said:
Noob here!
I want this tweak:correct screen retention for Tianma display.
What to do in service.sh?Should i remove the"#"sign from that line or what?
Click to expand...
Click to collapse
Yeah, remove, zip and then load in Magisk.
However, I'm not sure that it will work coz I guess it has got something to do with the kernel too.
You may try and let me know, would be great!
thapaavijeet said:
Yeah, remove, zip and then load in Magisk.
However, I'm not sure that it will work coz I guess it has got something to do with the kernel too.
You may try and let me know, would be great!
Click to expand...
Click to collapse
Ok i will inform you, but how to know if it's working?
Sent from my Redmi Note 4 using XDA Labs
arvarobert said:
Ok i will inform you, but how to know if it's working?
Click to expand...
Click to collapse
I was trying this for sometime now and it appears that this only works with kernels that have support for KCal control.
However, I might be completely wrong considering that I'm a bigger noob than what you yourself claim to be....
I was trying to take screenshots of screen retention... :laugh: :silly:
thapaavijeet said:
Yeah, remove, zip and then load in Magisk.
However, I'm not sure that it will work coz I guess it has got something to do with the kernel too.
You may try and let me know, would be great!
Click to expand...
Click to collapse
Hey man, this module does not seem to work in RR unofficial by endless. This rom has XiaomiParts included in it wherein you can adjust the white/yellow led brightness. I only want white led in torch but dual led in camera flash.
Sorry for quoting this. Just needed to get your attention
chickentuna said:
Hey man, this module does not seem to work in RR unofficial by endless. This rom has XiaomiParts included in it wherein you can adjust the white/yellow led brightness. I only want white led in torch but dual led in camera flash.
Sorry for quoting this. Just needed to get your attention
Click to expand...
Click to collapse
could you get the output of these three commands from a terminal emulator or adb. You would require root privileges to run them
Code:
cat /sys/class/leds/led:flash_1/max_brightness
cat /sys/class/leds/led:torch_1/max_brightness
cat /sys/class/leds/torch-light1/max_brightness
thapaavijeet said:
could you get the output of these three commands from a terminal emulator or adb. You would require root privileges to run them
Click to expand...
Click to collapse
All done using default led settings
Edit: This is with the magisk module enabled
chickentuna said:
All done using default led settings
Click to expand...
Click to collapse
unpack the mod zip and remove the comment in the below line in service.sh
Code:
#write /sys/devices/soc/qpnp-flash-led-25/leds/led:torch_1/max_brightness 0
to
Code:
write /sys/devices/soc/qpnp-flash-led-25/leds/led:torch_1/max_brightness 0
zip all the files again and load it in Magisk.
Check if that works
So currently I'm running on these settings and this gives me super bright while torch along with dual flash as long as I focus and click.
Can someone out there please guide us on what the appropriate values should be before one of us ends up blowing our leds.
I could only figure out that one of them should be always set to zero for the white torch
Code:
write /sys/devices/soc/qpnp-flash-led-25/leds/led:torch_1/max_brightness 2000
write /sys/class/leds/led:flash_1/max_brightness 1000
write /sys/class/leds/led:torch_1/max_brightness 0
write /sys/class/leds/torch-light1/max_brightness 1000
changed the values again in hopes for moderation
thapaavijeet said:
unpack the mod zip and remove the comment in the below line in service.sh
to
zip all the files again and load it in Magisk.
Check if that works
Click to expand...
Click to collapse
Tried. Didn't work

Categories

Resources