FEB-9-15 [] Post_boot tweaks - An *interactive* boost - Sprint Samsung Galaxy Note 3

Drop this file in your /system/etc folder, replacing the stock one. Cleaned up, and modified to work with a stock kernel or lean kernel.
Please open up the file, and read some of the notes I added, so you know what this does and how to change it if you so desire. It is very basic and straightforward.
Also, please remember one thing, if you want to go to the stock kernel, simply change any words in the scripts from "interactiveX" to "interactive".
Recommended lean kernel 3.16 with these scripts.
Designed to work with ALL Galaxy Note 3's running touch wiz 4.4.2 ROMs and running lean kernel or stock kernel. Other kernels are not guaranteed due to the voltages applied.
This will make a huge difference in performance and battery. Been using this (developed by me) for a long time now.
Summary:
*I/O optimization
*tuned interactive parameters
*fixed sysfs permissions for cpu's (root now has full control of sysfs tuneables)
*GPU sysfs identified for user to customize
*screen off frequency set to 1.2 GHz (can be changed by user)
*custom voltage set for bin 2 device. (Read instructions within file to adjust for others bins accordingly)
*custom mpdecision tuning and other relevant instruction regarding mpdecision binary
*general CPU tweaks for better performance, responsiveness and battery life (yes all 3 can be achieved, and are)
Again, open the file with a file explorer (or notepad+ in windows). Read it, understand it, adjust what you want, or leave it be. These settings are very much dialed in for the interactiveX governor of LK. It won't get much better. I'd say take a look at the voltage portion and mpdecision for now (found at the end).
Once more, drop file into the /system/etc directory... Replace the existing one, and reboot.
FILE DOWNLOAD
Updated today... many useful changes, and fixes (set up for stock kernel for now)
https://www.dropbox.com/s/tjlygujptls3lks/init.qcom.post_boot.sh?dl=0

Nice but it breaks fauxsound
Edit: nevermind
" I'm a Junglist soldier"

Nice work, thanks for the contribution. Glad to see you here.

Speeds up the UI.
Thanks
The comment aren't "G" rated...

Just giving you all a heads up.... I think there may have been a few errors in the stock init.qcom.post_boot file (they are human too, remember).
I am testing a few small changes to certain lines in the "factory" script to make sure. A brief explanation of it is that there are certain lines I removed from the one you all are using right now, and I did so because the file paths being called out did not exist!
However, I was going over this again tonight, getting ready for the official LP release and decided to review this odd discrepancy one more time. After doing some digging, I found that the file that some of those values were intended to be written to, were actually somewhere else!
Doh! - Sammy/QC. It is very possible that this location changed from a previous design or fs structure and somebody simply forgot to modify the script. Very interesting indeed.
Anyways, after I run this for a couple of days and do a little bit more investigating, I'll post the updated script for all of you.

Looking forward to trying
Sent from my 0x1 Note 3...... I love tep

Updated link... highly recommend updating this if you were using my previous one.

red_can_soda said:
Updated link... highly recommend updating this if you were using my previous one.
Click to expand...
Click to collapse
Is there still a need to change any statements to use this with the stock kernel? I browsed the file and didn't see any "interactiveX" statements to change.
Sent from my SM-N900P using Tapatalk 2

biggdevon said:
Is there still a need to change any statements to use this with the stock kernel? I browsed the file and didn't see any "interactiveX" statements to change.
Sent from my SM-N900P using Tapatalk 2
Click to expand...
Click to collapse
Guessing not we were to remove X for the stock kernel.

rbeavers said:
Guessing not we were to remove X for the stock kernel.
Click to expand...
Click to collapse
Just wanted to make sure there weren't any other changes to make, other than those. It appears this was designed for the Lean kernel but worked on stock if small changes were made (as stated in the OP). He updated the file and appearently removed the "X" statements. I just wanted to play it safe and make sure there weren't any other changes that needed to be made on my end seeing as I'm using the stock kernel.

Just to clarify...
The updated version, is set up for stock, but if you are using lean kernel, simply modify the "echo interactive > /sys/...." Statements (there are 4 total, towards the top of the script) to say "interactiveX"... As lean kernel's version of interactive is called this.
That is the only thing you need to change. Everything else is fine.

Will this work with Xposed framework?
Sent from my SM-N900P using Tapatalk 2

biggdevon said:
Will this work with Xposed framework?
Sent from my SM-N900P using Tapatalk 2
Click to expand...
Click to collapse
I am not having any problems running both.

biggdevon said:
Will this work with Xposed framework?
Sent from my SM-N900P using Tapatalk 2
Click to expand...
Click to collapse
Yes

Tested this tonight. Caused "No SIM card" message and reboot after 3-5min of run time. Any suggestions?
Sent from my SM-N900P using Tapatalk 2

biggdevon said:
Tested this tonight. Caused "No SIM card" message and reboot after 3-5min of run time. Any suggestions?
Sent from my SM-N900P using Tapatalk 2
Click to expand...
Click to collapse
Hard to say without a log or any other information.
What ROM you running?

red_can_soda said:
Hard to say without a log or any other information.
What ROM you running?
Click to expand...
Click to collapse
Completely stock NC5, rooted, with Xposed. I'm not really new to this but haven't ever had to grab a log file. Would happily post one if I knew how
Sent from my SM-N900P using Tapatalk 2

biggdevon said:
Completely stock NC5, rooted, with Xposed. I'm not really new to this but haven't ever had to grab a log file. Would happily post one if I knew how
Sent from my SM-N900P using Tapatalk 2
Click to expand...
Click to collapse
Next time you have a reboot, copy this file to your SD card:
/proc/last_kmsg
And upload it, then send it to me.

red_can_soda said:
Next time you have a reboot, copy this file to your SD card:
/proc/last_kmsg
And upload it, then send it to me.
Click to expand...
Click to collapse
Seems as though it has something to do with wifi and/or wifi calling. Phone ran fine for 3 hrs while at work and rebooted almost instantly once I got home. I don't see "last_kmsg" but I do have "kmsg" by itself. Attempting to copy to SD but it's going on 5 min without finishing. I'm using Root Explorer. Am I missing something?
Sent from my SM-N900P using Tapatalk 2

Kmsg isn't the one you want, that is a live log that is constantly writing dmsg lines. It will not stop copying..
If you don't have last_kmsg, it has likely been disabled by whatever kernel developer made the kernel you are using... If you are on stock and aren't seeing it, the only thing I can recommend is to run logcatX or some similar app that will allow you to filter errors only and log those to your SD card.

Related

[script] increase sdcard read/write speeds

Here is a great script that is apparently making its way through the android world. It increases the SD card read/write by reading in larger chunks. You can get it to work on Fascinate somehow.
Many of us in the Eris world have gotten this to work and my now SLOW eris reads pictures and related SD functions twice as fast as my fascinate!! Now to start testing this on my ever godly fascinate...
sharing the wealth:
http://forum.xda-developers.com/showthread.php?t=1013554
This can technically be hard coded into ROMS, but im no ROM developer (hint hint)
----update-----
I didn't find anyone in the Fascinate world doing this, but apparently the Epic has this somewhat working:
http://forum.xda-developers.com/showthread.php?t=1021647
----update----
And here are the Epic versions flashable files... i'll test them later today to see if they work on the fascinate:
http://forum.xda-developers.com/showpost.php?p=12660493&postcount=73
Sounds great. I was just complaining about my pictures loading slowly yesterday, and here you are to save the day!
I'm backing up my phone now, and will flash the 2k file.
I did test this app, which essentially does the same thing, and it does work great on the fascinate. But, its an app that has to be turned on, and wont stick at boot. Although the app does have a set at boot option... thats still one more app running at boot.
http://www.appbrain.com/app/sd-increase/com.sdincrease.it
I'll post results on my flashing of the scripts shortly.
ok I can confirm the following did stick at boot.
njoy everyone:
SDCardSpeedFix2048KB.zip
I tried that app, and I'm not sure that it even worked. You probably know more than I do, but after doing the setting in SD Speed Increase i can open the file and it still says 128. i also tried it on my eris and it did change the file to 2048. Weird. Is there gonna be a link to a flashable in your post. thanx...
Izeltokatl said:
ok I can confirm the following did stick at boot.
njoy everyone:
SDCardSpeedFix2048KB.zip
Click to expand...
Click to collapse
Worked perfect. Thanks so much. The slow loading gallery always really bothered me
Sent from my SCH-I500 using XDA App
cableguy1 said:
I tried that app, and I'm not sure that it even worked. You probably know more than I do, but after doing the setting in SD Speed Increase i can open the file and it still says 128. i also tried it on my eris and it did change the file to 2048. Weird. Is there gonna be a link to a flashable in your post. thanx...
Click to expand...
Click to collapse
check my last link in the OP. All the various flashable files are in that link. I used 2k version. Thats what I used in my Eris.
the app you have to use the slider to adjust the amount (again use 2048) click on that RED/ORANGE button with the arrow and it will set it.
what it says in "Status" is what is defined in your phone. So thats how you can confirm it worked. Or just open up the gallery and compare a large folder before the flash(or app change), and then run the same gallery folder after the flash (or app change). It should be MUCH faster.
Ok, now the 2048k from that link worked great.
But just for the record, I did push that button to finalize the setting in SD Speed Increase . I don't know why it didn't change the file...oh well, thanks a lot sir!
Sent from my SCH-I500 using XDA Premium App
jt1134 implemented this about a week ago, and I and several others did the same with the custom kernels that were released. If it's being set in the initramfs and not via an init.d script, you can change the values all you want and it likely isn't doing anything to change the read/write performance.
imnuts said:
jt1134 implemented this about a week ago, and I and several others did the same with the custom kernels that were released. If it's being set in the initramfs and not via an init.d script, you can change the values all you want and it likely isn't doing anything to change the read/write performance.
Click to expand...
Click to collapse
From what I can tell the flash files are writing to the init.d. So it should be sticking. This is still good to know as some people might not be using custom kernels, or might want to change from whatever defaults the kernel devs have pre-set.
Options are in the spirit of Rooting
=-)
Izeltokatl said:
From what I can tell the flash files are writing to the init.d, so the settings are taking effect. So it should be sticking.
Click to expand...
Click to collapse
If the change is applied in the initramfs, that will likely take precedence over the init.d script, but I have no idea how it works if there are two things telling it what to run at.

V6 Supercharger script and the MoPho

Simple script to run to maximize the MoPho's RAM usage. **ROOT USERS ONLY**
I take NO credit for this tweak whatsoever, and am simply providing a quick "how-to" of how to run the script for those who have not used it on previous Android devices.
Here's the link to the original thread (in the general section in the MoPho forum), created by member Custodian on 8/11/11. Big thanks to him for that! http://forum.xda-developers.com/showthread.php?t=1212820
First, follow the ongoing development threads to familiarize yourself of what this tweak truly accomplishes:
http://forum.xda-developers.com/showthread.php?t=991276
http://forum.xda-developers.com/showthread.php?p=15948434#post15948434
Secondly, follow this how-to, in this order:
1) Download the script of your choice from the second hyperlink above, or from - http://forum.xda-developers.com/show...postcount=5021
2) Download Script Manager from the Market (free app).
3) Wipe your caches.
4) Open Script Manager, locate the script you dl'd on your SD Card, select "run as root", and DO NOT select "run as boot".
5) Load the script (select 1 or 0 for scrolling speed). It will most likely tell you that you are running too new of a Busybox version, and may experience bootloops. You're fine. Busybox v1.19.2-Stericson runs just fine, no issues.
6) Once script loads, enter selection #9 (Super 1000hp Aggressive mem setting).
7) Enter selection #13 to "bulletproof" your Launcher (helps eliminate risk of having it close during while your mem settings are working)
8) Enter selection #19 for Nitro Lag Nullifer, and install.
9) Enter selection #25 for options. Enter y for build.prop edit.
10) Enter selection #27 to close the script.
Now, reopen Script manager and navigate to the folder /sdcard/V6_SuperCharger. Run the 99SuperCharger.sh script, and select to "run as root", and "run as boot".
Reboot your phone, and you are good to go.
You can create widgets to quickly shift between memory tweaks.
Lastly, you can run the V6 script and select #19 to "flush" your caches and reclaim any lost RAM throughout the day to keep your phone running optimally without having to reboot your phone or "kill" any apps through various task managers. I do this about 1x-2x a day just as habit, but not necessary by any means. (A widget can be created for this too - open Script Manager, and find /data/fast_engine_flush.sh. One click RAM re-claimer!)
That's it. No need for any 3rd party task managers (ATK, Auto Killer, etc.). Just let the script do its thing, and enjoy a lag free MoPho!
this is great - I ran across this the other day - very easy to install and activate - my phone seems to be very reponsive - quite a interesting MOD - thanks for posting!
Latest script - RC3.2
http://forum.xda-developers.com/show...postcount=5021
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
This is weird. I keep getting ... "AWK Not Found. Unable to determine busybox version."
Root Check says I have busybox-1.18.0git. wtf?
MisterTedster said:
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
Click to expand...
Click to collapse
Yes. I'm still on the fence as far as noticing any performance gains, though...
Sent from my MB855 using XDA App
tuxytuxy said:
This is weird. I keep getting ... "AWK Not Found. Unable to determine busybox version."
Root Check says I have busybox-1.18.0git. wtf?
Click to expand...
Click to collapse
Try installing a newer Busybox version...that should fix that.
Sent from my MB855 using XDA App
My settings wouldn't stick after reboot (using homebase 2.1)
Had to use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root" (for me it was called S99SuperCharger)
MisterTedster said:
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
Click to expand...
Click to collapse
Just did. I had some weak download speeds at work this morning, only getting to 550kps tops, using the experimental 1 setting doubled my down speed to 1meg.
cobrahicks said:
My settings wouldn't stick after reboot (using homebase 2.1)
Had to use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root" (for me it was called S99SuperCharger)
Just did. I had some weak download speeds at work this morning, only getting to 550kps tops, using the experimental 1 setting doubled my down speed to 1meg.
Click to expand...
Click to collapse
NICE!
I get crap 3G speed @ work regardless of which 3G script I run (.2-.4 down on avg), but .8-1.0 avg w/ 4G. I didn't realize that it doesn't exactly hurt the battery life tremendously to leave 4G enabled on the MoPho, as it puts itself into a sleep mode when not in use. I'm not sure of the specifics as far as scan/refresh intervals right off hand, but I'm tracking approx 1% of batt. life lost every 10 minutes while the phone is idle and 4G enabled (data disabled, as I'm sure I'd be losing 3-4% batt. life in the same range w/ it enabled w/ 4G).
Dumb question: Anything special I should know to run 3G turbocharger?
MisterTedster said:
Dumb question: Anything special I should know to run 3G turbocharger?
Click to expand...
Click to collapse
Nope. Just run the script and select the option that's best for you and reboot. Test all 4 and the experimentals.
YMMV - not all phones behave the same, and I'm sure 3G gains/losses are still contingent upon your location anyway, so you may experience a boost, a loss or no change at all. Either way, it won't hurt anything to try it.
Now RC2 is out... The best setting for MoPho is option 9+12.... Use build prop option to stick otherwise will not stick after reboot.... V6 default windowsmgr event setting is only 75. If you want better smooth scolling change this line "windowsmgr.max_event_per_sec=75 to 150(got two lines not include original line). Well 3g tweak is depend on your service provider.... test with speed test.net and find which setting is the best for you.
Sent from my MB855 using Tapatalk
pswin09 said:
Now RC2 is out... The best setting for MoPho is option 9+12.... Use build prop option to stick otherwise will not stick after reboot.... V6 default windowsmgr event setting is only 75. If you want better smooth scolling change this line "windowsmgr.max_event_per_sec=75 to 150(got two lines not include original line). Well 3g tweak is depend on your service provider.... test with speed test.net and find which setting is the best for you.
Sent from my MB855 using Tapatalk
Click to expand...
Click to collapse
Thanks man, OP has been updated accordingly w/ latest release info.
MisterTedster said:
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
Click to expand...
Click to collapse
i have both running on my phone and it is pretty fast, i used the experimental #1 for the 3g and i was hitting 1+ meg downloads which is faster than the .48-.75 that i normally get. usually when i open my browser on 3g it takes a while to load even the google homepage but now it pops up as soon as i open the browser no load time same for xda took a while before now it loads really quick almost ike i have 4g on i had to double check and make 4g was the first time i tried it because it was so much faster.
RC3.1 is out already. Looks like there are a bunch of fixes and enhancements.
where do you see the RC3.2?
http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Does anyone know how this runs with my kernel
Sent from my MB855 using XDA App
Install zepps kickass kernel and v6 ...you'll get some great results using your kernel. Forgot to post, with your latest rev and a few tweaks im rocking 4500's in smartbench.
jokersax11 said:
Does anyone know how this runs with my kernel
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
Does this work on stock rom
Sent from my MB855 using XDA App

Anyway to oc to 1.5ghz?

My phone isn't stable at 1.6ghz and I'd like to take a crack at 1.5ghz. Is there a way?
Sent from my i-777 using Tapatalk
tdamocles said:
My phone isn't stable at 1.6ghz and I'd like to take a crack at 1.5ghz. Is there a way?
Sent from my i-777 using Tapatalk
Click to expand...
Click to collapse
You'd have to edit the frequency table via an init.d script. 1496 and 1504 mhz are your options (or any other frequency in 8mhz steps). What are you currently using? SetCPU? Voltage Control?
Simba501 said:
You'd have to edit the frequency table via an init.d script. 1496 and 1504 mhz are your options (or any other frequency in 8mhz steps). What are you currently using? SetCPU? Voltage Control?
Click to expand...
Click to collapse
I'm using set CPU. I tried giving it more juice but with fail. On demand I can run 1.6ghz but with performance or conservative it locks up.
Sent from my GT-I9100 using Tapatalk
tdamocles said:
I'm using set CPU. I tried giving it more juice but with fail. On demand I can run 1.6ghz but with performance or conservative it locks up.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Put this in /system/etc/init.d, remove the file extension from the end of the name, and set the permissions to 755. Since scripts are applied first, during the boot process, it shouldn't interfere with your SetCPU setup. It will merely change the frequency table. You can alter the values as necessary. Get script manager from the market, give the file root access (by hitting the skull right before you run it), and make sure it runs with an exit code of 0. Then open SetCPU and observe the change.
are you on siyah or entropy kernel? It seems entropy's kernel allows a slightly higher overvolt which has allowed me to be stable at 1.6 even though I never use it. Try it out 1550mv seems to work for me.
Will do.
Sent from my i777.
nh5 said:
are you on siyah or entropy kernel? It seems entropy's kernel allows a slightly higher overvolt which has allowed me to be stable at 1.6 even though I never use it. Try it out 1550mv seems to work for me.
Click to expand...
Click to collapse
Whoa. I don't recommend running voltages that high. You'll fry it. I don't overclock for daily use, but I did want to set up my frequency table and voltages so that they're stable if I choose to benchmark or something.
There are A LOT of tweaks that will allow you to improve performance without overclocking, and certainly without going to 1.5 or 1.6. You can lower the sampling rate, lower the up threshold, increase the down differential, increase the sampling down factor, altering hot plug values, etc.
EDIT: Just noticed that you don't run that for an extended period of time.
Simba501 said:
Put this in /system/etc/init.d, remove the file extension from the end of the name, and set the permissions to 755. Since scripts are applied first, during the boot process, it shouldn't interfere with your SetCPU setup. It will merely change the frequency table. You can alter the values as necessary. Get script manager from the market, give the file root access (by hitting the skull right before you run it), and make sure it runs with an exit code of 0. Then open SetCPU and observe the change.
Click to expand...
Click to collapse
Understood everything until ' exit code of 0.' Where do I enter this in script manager?
Sent from my i777.
tdamocles said:
Understood everything until ' exit code of 0.' Where do I enter this in script manager?
Sent from my i777.
Click to expand...
Click to collapse
After you run the script, the app will give an exit code. You don't enter it. If you get an exit code of 0 (near the top, after you run it), then the changes were successfully applied.
What kernel are you on?
Sent from my Galaxy Tab 10.1
Siyah. Just ran it and it said exit code 1: write error invalid argument
Sent from my i777.
tdamocles said:
Siyah. Just ran it and it said exit code 1: write error invalid argument
Sent from my i777.
Click to expand...
Click to collapse
Ok, well I'm not sure how to change it. Kcdarookie has an init.d generator (over in the 9100 forums) that'll be able to do it. It's self-explanatory once you open it. After you create it, save it, and follow the same steps (/system/etc/init.d, permissions, etc).
Google "init.d generator xda."
Sent from my Galaxy SII
Simba501 said:
Ok, well I'm not sure how to change it. Kcdarookie has an init.d generator (over in the 9100 forums) that'll be able to do it. It's self-explanatory once you open it. After you create it, save it, and follow the same steps (/system/etc/init.d, permissions, etc).
Google "init.d generator xda."
Sent from my Galaxy SII
Click to expand...
Click to collapse
Worked like a gem! [email protected](performance) - no lockups.
Thanks!

Development Modifications for 3D(V)

----------------------------------------------
**If coming from development section, the first two zips are only for Evo 3D, JustArchi mods are for most devices**
As always, make a backup, and flash
I am not a developer, I'm a user, so I'm limited in how much I can help you, but I will try.
----------------------------------------------
I want to share a couple projects found in the developers section. When I first started experimenting with scripts and other 'android enhancers', I'd flash them blindly- because I didn't know any better. I've experienced graphical glitches galore, cpu running full throttle all the time, and boot loops. Though luckily no bricks.
More often than not, development projects need to be tuned for a particular device. And that's what's been done here.
The first is operation killjoy, the folks there don't want it to be put into Roms. And they also want a link to the thread, here it is- http://forum.xda-developers.com/showthread.php?t=2411161
They don't want it being used with other mods, and it'll delete such things as Crossbreeder and Seeder, and it'll backup all init.d scripts and use its own, and will also delete sysctl.conf. That's overkill(so this won't delete your init.d, etc). It features dnsmasq and an entropy engine. This is our okj- https://db.tt/aFSWMw65
And the other one is Crossbreeder, it can be put into Roms. I highly suggest using it, the Crossbreeder app can be got here- http://forum.xda-developers.com/showthread.php?t=2113150
Again, for our device- https://db.tt/ZYRciXIl
OKJ and CB shouldn't be used together.
Here is moderately sized Moab hosts file- https://db.tt/aod1UHXL
Edit- 1/27
All credit on this one to @JustArchi
And this last one took me almost a week to put together. It's the killer work by JustArchi. This is for testing purposes only. I pulled it from a CM 4.4 Rom of his and it's working with the 3D. Don't know if it'll work with tether or not. Hope so though. Please test n report.
It can be used with CrossBreeder, but separately. Here's what I mean by that- when installing the zip, it'll know if you have CrossBreeder installed and it'll back it up. It's easily restored though with the push of a button, in the CrossBreeder app.
Or it can be used stand alone. I suggest using it by itself, it's much simpler. It sets up differently in recovery, but still is able to use CB app(link above) to control.
I wanted to modify the cb app to make sense of what I've done with it here. But don't have the skills to do that. There are scripts used to toggle components: turning on/off haveged, enabling/disabling local DNS, applying adblock, switching from Adaway to Mother of all ad blocking(Moab) hosts file, Locking host file(can't modify), toggling Frandom, fstrim script....and they're located at /system/archidroid/scripts. They can be set up and ran with Script Manager, could use widgets to Enable/Disable stuff, I prefer to use CB app and that's how I've set it up. If you don't want to, delete /system/etc/CrossBreeder. If you do, here's how it works
Stand alone(no CB installed)
Switches
Haveged- enables/disables haveged
*Run ZAutomateHaveged as su on boot to get haveged up and running.
Dnsmasq- Disables/restores JustArchi mods, reboots device
TweaksIO- will run a couple scripts, changed how they run because wasn't working before for me
Bypass ISP- Enables/Disables local Dnses
Tether Boost(worthless anyways) - Enables/Disables Frandom
Adblock- Switches between Adaway n Moab hosts, I don't use ultra huge hosts for Moab- it's 11 MB
And/or you can use the JustArchi app found here- https://github.com/JustArchi/ArchiD...oid/auto/system/app/ArchiDroid-ArchiDroid.apk
-----------------------------------
With CrossBreeder
Haveged- Archidroid haveged will be used full time between CB and AD modes, it can be adjusted in ARCHIDROID_INIT in xbin. This switch enables/disables haveged.
DNSMasq- This switch is tricky, off is ArchiDroid(AD) mode and on is CrossBreeder(CB) mode. After flashing zip AD mode is running. Everything is initially disabled except for Monitor DNS and Monitor pixelserv. Switching to on will backup AD and restore CB, but it will try to reboot, and if it does, the switch may not go on(CB) position. In CB mode, turning DNSmasq switch to on will enable dnsmasq. Turning it off will restore JustArchi-ness, and again it will try n reboot. If it's still in on position make sure to slide it to off after reboot. Turning switch to off in AD mode will mess $#it up because I've used primitive scripting. Please forgive me
Tweaks IO- I had to use a strange method to get these to apply in both modes, forgot to mention before, this will also run fstrim. It's funny, found out scripts can run in a loop
Bypass ISP- self explanatory
Tether Boost- Frandom(same)
Adblock- Switches hosts file(same)
I've included an uninstaller script with stand alone 'version', but not yet for w/ cb one, so as always, make a backup. Also left in there a sweet little gal named onandroid, for backing up partitions for clockworkmod recovery, change part. info in adpath. Be careful with this.
**deleted**
Sent from above using Xparent Tapatalk
just sayin', you post a lot of useful and/or interesting goodies, PF.
bigsupersquid said:
just sayin', you post a lot of useful and/or interesting goodies, PF.
Click to expand...
Click to collapse
Ditto
Edit, @bigsupersquid
I'm wondering if you've looked at the pdnsd stuff in Crossbreeder I asked about over there, I can't figure out what it's for(dns caching?) and if it's necessary, and its hard to get answers that help me understand. Do ya know anything about this?
Sent from above using Xparent Tapatalk
PiggyFlooper said:
Ditto
Edit, @bigsupersquid
I'm wondering if you've looked at the pdnsd stuff in Crossbreeder I asked about over there, I can't figure out what it's for(dns caching?) and if it's necessary, and its hard to get answers that help me understand. Do ya know anything about this?
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
I did a quick search on it when you mentioned it over there but don't know anything more than what I read real quick-like. sorry.
OP updated with JustArchi Adblock method
Sent from above using Xparent Tapatalk
PiggyFlooper said:
OP updated with JustArchi Adblock method
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
Great find... If you like I could alter the CrossBreeder app to reflect the effect of each toggle? (all in main.xml) as long as @fivefour is okay with it.. Just done with apktool... also all the script calls are in MainActivity.smali if you want to change any of those..
What scripts does the 'Tweaks IO" run?
colonel_lp said:
Great find... If you like I could alter the CrossBreeder app to reflect the effect of each toggle? (all in main.xml) as long as @fivefour is okay with it.. Just done with apktool... also all the script calls are in MainActivity.smali if you want to change any of those..
What scripts does the 'Tweaks IO" run?
Click to expand...
Click to collapse
My Lord, you're awesome!
Yeah, I had made changes reflecting toasts and script calls after decompiling, couldn't recompile, kept getting errors w/ apktool on android.
Tweaks IO runs CB_IO_Tweaks.sh
Will you please ask JustArchi too, I don't want to step on any toes.
Please do what you can to bring that app here, I have a concern with the Mode(AD/CB) switch as mentioned in op, can that be fixed?
Edit- just added frandomtest when enabling frandom
Sent from above using Xparent Tapatalk
PiggyFlooper said:
...
Edit- 1/27
All credit on this one to @JustArchi
And this last one took me almost a week to put together. It's the killer work by JustArchi. This is for testing purposes only. I pulled it from a CM 4.4 Rom of his and it's working with the 3D. Don't know if it'll work with tether or not. Hope so though. Please test n report.
It can be used with CrossBreeder, but separately. Here's what I mean by that- when installing the zip, it'll know if you have CrossBreeder installed and it'll back it up. It's easily restored though with the push of a button, in the CrossBreeder app.
Or it can be used stand alone. I suggest using it by itself, it's much simpler. It sets up differently in recovery, but still is able to use CB app(link above) to control.
I wanted to modify the cb app to make sense of what I've done with it here. But don't have the skills to do that. There are scripts used to toggle components: turning on/off haveged, enabling/disabling local DNS, applying adblock, switching from Adaway to Mother of all ad blocking(Moab) hosts file, Locking host file(can't modify), toggling Frandom, fstrim script....and they're located at /system/archidroid/scripts. They can be set up and ran with Script Manager, could use widgets to Enable/Disable stuff, I prefer to use CB app and that's how I've set it up. If you don't want to, delete /system/etc/CrossBreeder. If you do, here's how it works
Stand alone(no CB installed)
Switches
Haveged- enables/disables haveged
Dnsmasq- Disables/restores JustArchi mods, reboots device
TweaksIO- will run a couple scripts, changed how they run because wasn't working before for me
Bypass ISP- Enables/Disables local Dnses
Tether Boost(worthless anyways) - Enables/Disables Frandom
Adblock- Switches between Adaway n Moab hosts, I don't use ultra huge hosts for Moab- it's 11 MB
-----------------------------------
With CrossBreeder
Haveged- Archidroid haveged will be used full time between CB and AD modes, it can be adjusted in ARCHIDROID_INIT in xbin. This switch enables/disables haveged.
DNSMasq- This switch is tricky, off is ArchiDroid(AD) mode and on is CrossBreeder(CB) mode. After flashing zip AD mode is running. Everything is initially disabled except for Monitor DNS and Monitor pixelserv. Switching to on will backup AD and restore CB, but it will try to reboot, and if it does, the switch may not go on(CB) position. In CB mode, turning DNSmasq switch to on will enable dnsmasq. Turning it off will restore JustArchi-ness, and again it will try n reboot. If it's still in on position make sure to slide it to off after reboot. Turning switch to off in AD mode will mess $#it up because I've used primitive scripting. Please forgive me
Tweaks IO- I had to use a strange method to get these to apply in both modes, forgot to mention before, this will also run fstrim. It's funny, found out scripts can run in a loop
Tether Boost- Frandom(same)
Adblock- Switches hosts file(same)
I've included an uninstaller script with stand alone 'version', but not yet for w/ cb one, so as always, make a backup. Also left in there a sweet little gal named onandroid, for backing up partitions for clockworkmod recovery, change part. info in adpath. Be careful with this.
https://db.tt/39I6e6VQ
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
here's the right-and-proper archidroid frontend app.
https://github.com/JustArchi/ArchiD...oid/auto/system/app/ArchiDroid-ArchiDroid.apk
from the CB thread before the fracas between fivefour and justarchi which JA ended by withdrawing from the thread.
of course, I learned quite a bit during that discussion, until it ended. but ya gotta respect the wishes of the thread holder.
bigsupersquid said:
here's the right-and-proper archidroid frontend app.
https://github.com/JustArchi/ArchiD...oid/auto/system/app/ArchiDroid-ArchiDroid.apk
from the CB thread before the fracas between fivefour and justarchi which JA ended by withdrawing from the thread.
of course, I learned quite a bit during that discussion, until it ended. but ya gotta respect the wishes of the thread holder.
Click to expand...
Click to collapse
Thanks for the share
I can't use it on ics.
Sent from above using Xparent Tapatalk
I will have a look over the next day or two, for some reason using the cb app modded or unmodded with entropy switch just causes app freeze for me, I'm trying it on xperia v. Running the enable_Crossbreeder script works, but no sysrw for the cm12 ROM I'm using, needs
Code:
busybox mount -o remount,rw /system /system
Will have a look at cb/ad issue but my scripting is pretty basic so ......
You can always send me the files you've changed and I can try recompile if you have errors rather than duplicating what you've done.
Sent from my Xperia V using XDA Free mobile app
colonel_lp said:
I will have a look over the next day or two, for some reason using the cb app modded or unmodded with entropy switch just causes app freeze for me, I'm trying it on xperia v. Running the enable_Crossbreeder script works, but no sysrw for the cm12 ROM I'm using, needs
Code:
busybox mount -o remount,rw /system /system
Will have a look at cb/ad issue but my scripting is pretty basic so ......
Sent from my Xperia V using XDA Free mobile app
Click to expand...
Click to collapse
I welcome any fixes to scripts to make more compatible across devices. Here's that script for Enable CrossBreeder. I put in a 'smaller' CHECK_PROCS so it don't cat as much.
Sent from above using xda premium
Cool, will look when i can, be really good to have an updated CB tool.
Can you get rid of the sysrw as I don't think its very universal.
Sent from my Xperia V using XDA Free mobile app
Sure, is this more universal what ya put earlier-
busybox mount -o remount,rw /system /system
Or a variation thereof?
Also, I sent you a pm, will you please check it out? Can you give me link?
Sent from above using Xparent Tapatalk
PiggyFlooper said:
Sure, is this more universal what ya put earlier-
busybox mount -o remount,rw /system /system
Or a variation thereof?
Also, I sent you a pm, will you please check it out? Can you give me link?
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
I guess so, probably wanna reference included busybox though. Have pm'd you a link
Hope you guys get it working!
I spent some time trying to get adblock to work using your mod, but I couldn't. The JustArchi app kept fc'ing with only JustArchi installed, and I couldn't get the mod working either.
With both JA and CB installed the JA app didn't fc anymore, but it didn't function either. CB app worked partly, but it froze on the haveged part. Couldn't get haveged working through CB app that way.
This is only meant to inform you, not as criticism at your workin any way!
JustArchi's work goes way above my knowledge of scripting and programming, but I always was interested in his work.
Glad you guys are working on it, I'm following this thread with great interest [emoji106]
rkuijpers said:
Hope you guys get it working!
I spent some time trying to get adblock to work using your mod, but I couldn't. The JustArchi app kept fc'ing with only JustArchi installed, and I couldn't get the mod working either.
With both JA and CB installed the JA app didn't fc anymore, but it didn't function either. CB app worked partly, but it froze on the haveged part. Couldn't get haveged working through CB app that way.
This is only meant to inform you, not as criticism at your workin any way!
JustArchi's work goes way above my knowledge of scripting and programming, but I always was interested in his work.
Glad you guys are working on it, I'm following this thread with great interest [emoji106]
Click to expand...
Click to collapse
For now, use the CB app(op instructions) or SManager to control.
With this mod, either CB is running, or JA is running, they don't run at same time. Only the haveged remains the same, CB haveged is deleted. You may need to re-enable it upon reboot.
I've been working on the adblock portion of CB, and it should now it should start up after switching adaway/moab host file(Adblock button in CB app) and/or running the scripts with IO Tweaks.
Thank you for informing me, and I can take criticism :thumbup: :thumbdown:
You know what, okay, my mistake, with both ja n cb APPS, it stopped fc'ing. Now I gotcha. I'm slow. Wish I could test with that, sorry. Appreciate it if ya keep letting us know how it goes with the JA app.
I made changes to scripts in how system is mounted rw(ty colonel_lp) to be more universal. With cb applied, whichever hosts will now be copied to /system/etc/CrossBreeder/dnrd_root/master. And pixelserv started upon hosts change.
Might be able to get adblock applied without reboot.
You can try if you'd like, delete this from REMOVE_DNS_CLIENT/ INSTALL_DNS_CLIENT-
echo 1 > /proc/sys/kernel/sysrq 2>/dev/null
sleep 8
echo b > /proc/sysrq-trigger 2>/dev/null
reboot
busybox reboot
I'll update op to recent changes
Edit- Stayed up all last night working on fixes, so many little things, it's much different than when first uploaded, check it out.
Was trying to get Bypass ISP to stick 0.0.0.0(CB) with no luck, it's been gerry rigged, please someone help to fix
Edit2-nvm, my silly self didn't have dnsc in there
Sent from above using Xparent Tapatalk
Well, I just put the finishing touches on the JA/CB project, probably jinxing myself saying that. There may be a dedicated app to go along with this, still up in the air.
Please tell me if ya find any bugs.
So many thanks to colonel_lp for help with this.
My Thanks to idcrisis/fivefour
Much thanks to JustArchi
I'm wondering if this topic should be renamed??
Sent from above using Xparent Tapatalk
Started Wifi Tether, dnsmasq monitoring stopped dnsmasq stopped, but can't confirm tether working because no service plan
Sent from above using xda premium
Have a question for anyone that knows, when disabling local dns's with JA, it still shows up as my ISPs, that doesn't seem right. Am I missing something.
Sent from above using Xparent Tapatalk
PiggyFlooper said:
Have a question for anyone that knows, when disabling local dns's with JA, it still shows up as my ISPs, that doesn't seem right. Am I missing something.
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
I thought that it is supposed to work like that, as you are disabling local DNS (= DNS server on your device), so going back to your providers DNS?
By enabling local DNS, you're phone starts acting like a DNS server itself.
But I could be very wrong here, don't know for sure.
Btw, your latest mod is working perfectly for my OnePlus One on ColorOs 4.4.4, using the JA app for configuration. Haven't tried it with the CB app yet, to be honest. Thank you for making things work!
But I don't really notice any difference in speed, smoothness or usability between cb and ja mod, do you? Could be different for other (older) phones with less ram or slower processor, but the OnePlus runs both mods equally smooth.
I was using cb merely for its ability to not only block ads, but erase them without any trace on a page as well. JA adblocking is working perfectly also.
I remember reading something in the past, about JA using different, more stable and newer techniques? Not sure if the difference between the two mods is big enough to notice?

[root] 4 cores Activator

Hi there
I'm not an app developer, but I was frustrated with "obligatory €25 donation" and all the ads, just to activate other 3 cores on some G4's. So, here is the result of my frustration. Simple app, not too pretty, but gets the job done.
If you have G4 that after using Big Core Disable got only 1 core active, this app is for you. It has only one switch, and one function, to activate all 4 cores. Nothing else is there, nothing alse will be added (except changing theme and maybe some minor tweaks)...
Of course, ROOT is needed
ToDo:
* Create App Icon (this one is borrowed)
* Change App Theme
* Add some notification on boot, to show the user if 1 or 4 cores are active
* Slow activating 4 cores after rebooting, will look into it
* You tell me
Version 1.1
- Greatly optimized app size (now only ~500kb, was over 10mb)
- Optimized app opening speed
- Some minor modifications
- A lot of work still has to be done
https://drive.google.com/file/d/0B0...=sharing&resourcekey=0-Wqgbdl-MpPvXwbP9hEKc0g
EDIT: Updated app link, as old one wasn't working. As always, feel free to donate ;-)
Thanks for that.
Interessting thing. I dont deactivate some cores but the ap tell me that only 1 core is activated. I installed Droid Info and it say it too that only 1 core is activated. Take the button in your app and all cores working
Im on Genesis 4.8 Rom
homerist said:
Thanks for that.
Interessting thing. I dont deactivate some cores but the ap tell me that only 1 core is activated.
Im on Genesis 4.8 Rom
Click to expand...
Click to collapse
Yup, it reads it own file, and default is that one core is activated. I didn't take in consideration that someone could install the app even if it already has 4 cores enabled, my bad . Anyway, if you click enable and than disable, it will disable cores, and after that it would work as it should.
Thanks for reporting, will fix that in the next version, for sure
Sent from my ZTE A2017U using Tapatalk
No problem. But i has edited my post with some more infos. Please read
homerist said:
No problem. But i has edited my post with some more infos. Please read
Click to expand...
Click to collapse
Now I am confused. Not with my app, as I said, when I wrote it I did it like that so the app on first run guesses that only 1 core is active (that's why you need the app). So, if you have 4 cores active, and open my app for the first time, it will say that one core is active. When you click the button, it will say 4 cores are active, and nothing will change, as you already had 4 cores activated. But, if you click the button again, it will then disable 3 cores and and say 1 core is active.
What confuses me is why droid info said only 1 core? Are you sure you had 4 cores activated? Or maybe you had disabled cores with my app, by clicking enable 4 cores, and than clicking the button again to disable them?
Sent from my ZTE A2017U using Tapatalk
i was confused too
i installed your app and see that Only ONE core is activated. I close the app and look in Droidinfo and see that only one Core is activated.I Open your App and push the Button to activated and go back to droid Info and all 4 cores are running.
I never before deactivated some Cores on my h815
@homerist
Looks to me as you did have only one core activated... Have you used other app for activating 4 cores?
Sent from my ZTE A2017U using Tapatalk
Thanks man Its working perfect )
No,
I have the first time heard that we can cores deactivate and activate.
My LG was laggy and i think i look with your app and then i see it
Version 1.1 of the app has been released. If you can't update old app, uninstall it and then install this one. Thanks
- Greatly optimized app size (now only ~500kb, was over 10mb)
- Optimized app opening speed
- Some minor modifications
Sent from my ZTE A2017U using Tapatalk
Thanks. My G4 is laggy (?) so I may have a core problem. I'll give it a try.
What is the 'apply on boot' timings on newer version? I think it should be set to instant (least delay).
Using latest version of it and it's running great. Apply on boot settings seems to be working better than previous version.
I'm working on instant applying, but as I said, I'm not a developer, so I'm still learning... I know there's a way for it to be instant, I just have to find it ?
Sent from my ZTE A2017U using Tapatalk
Thanks for the app. I'm going to try this. Before I was manually doing it by opening root explorer and going into the folder and manually changing the online file, now with this app, it should be a lot easier.
Hi...
You just need to edit the file in: /system/etc/init.qcom.post_boot.sh
Edit the LAST LINE of the file, thats starts with g4ilapofix=true:
g4ilapofix=true; if $g4ilapofix......
Change it to:
g4ilapofix=true;
if $g4ilapofix;
then
echo 1 > /sys/devices/system/cpu/cpu0/online;
echo 1 > /sys/devices/system/cpu/cpu1/online;
echo 1 > /sys/devices/system/cpu/cpu2/online;
echo 1 > /sys/devices/system/cpu/cpu3/online;
fi;
And you are done. Never again you will need to do something after reboot.
I'm now trying to edit the TOT files, so this is removed from the MOD and all 4 cores be active since the first boot. Which is how it should be.
I think it is absurd to FORCE everyone to pay 25 USD. A donation should never be forced.
XDA exists because people wanted to help others, for free, not to gain money over other people. Donations are always apreciated, but should not be mandatory.
@santroph
Guess you're talking about other app, not mine. Mine is free, not $25.
And you can't modify tot file, because it will not be signed after that, and that lines aren't inserted in the tot file. The lines you are referring to are inserted after you install g4ilapofix app, not after flashing tot file. TOT file is LG's signed file, so no "g4ilapofix" there, for sure... Again, not my app, my app is free for use...
Sent from my ZTE A2017U using Tapatalk
stojshic said:
@santroph
Guess you're talking about other app, not mine. Mine is free, not $25.
And you can't modify tot file, because it will not be signed after that, and that lines aren't inserted in the tot file. The lines you are referring to are inserted after you install g4ilapofix app, not after flashing tot file. TOT file is LG's signed file, so no "g4ilapofix" there, for sure... Again, not my app, my app is free for use...
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
I was not talking about your app. For sure
I was taking about the other app from the other dev. It inserts those lines and it simply blocks any new app from beeing able to have all 4 cores enabled at boot.
So, if someone installed the app trying to have all 4 core enabled like the dev says (but never state that you will have to pay 25 USD for it), the user is now blocked to have all 4 cores enabled at boot.
Sorry for the missunderstanding.
Hi, will it work on MM stock ROM?
pokemon1122 said:
Hi, will it work on MM stock ROM?
Click to expand...
Click to collapse
Yes, it will work on MM
Sent from my ZTE A2017U using Tapatalk
stojshic said:
Yes, it will work on MM
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Thanks! And do I need to run this app everytime I reboot the phone or it does it automatically disable the 2 big core after every reboot?
Thanks again.

Categories

Resources