[Update]Sqlite.so update for Stock 1.2, performance boost - Nook Color Android Development

Using this kernel is at your own risk. Before flashing make backups!!!
Hey guys, remember this thread?
http://forum.xda-developers.com/showthread.php?t=952365
well, we can not do it for Ecliar, but OK for Froyo, any body want to taste this?http://sugwacee.dyndns.org/
there are two files for this:
NC_stock_1.2_update_sqlite.so.zip is the updated sqlite.so(no sync version), performance boost, cos sync write in high frequency is not needed. with this version sqlite will only sync write when needed. if no system crash, no data lose,just take it easy.
NC_stock_1.2_restore_sqlite.so.zip is the stock sqlite.so(for recovery, just in case).
Use CWM to flash. enjoy it.

reserve for feedbacks

Have you noticed a performance increase?

likearaptor said:
Have you noticed a performance increase?
Click to expand...
Click to collapse
unlike OC kernel, the perf increase is showed at sqlite sync period, not every moment.
1. performance increase when app install/remove, and when large num of data need to sync into database.
2. save disk(TF) i/o irq, good for system i/o wait delay, and good for TF card too(less write)--only when it is sqlite related.
3. quadrant scores, if you like it.

Flashed the zip, ran quadrant and I got 1264. I wasn't sure what it was before, but it seems fast with apps using the database. Thanks for this find

installed.
Linpack score has dropped from 12's to 10's
Quadrant has bumped up a little from 1630'ish - 1680'ish

Hmm, interesting...
I'm not totally convinced that this device is I/O bound.... But for argument's sake, how does this differ from say...changing the caching strategy in the kernel (for overall I/O performance, not just sqlite?)
Also, this only affects writes correct?

HamNCheese said:
Hmm, interesting...
I'm not totally convinced that this device is I/O bound.... But for argument's sake, how does this differ from say...changing the caching strategy in the kernel (for overall I/O performance, not just sqlite?)
Also, this only affects writes correct?
Click to expand...
Click to collapse
emm... maybe you are right, cache does turn high freq i/o cmd down(sync to ram immediately,and sync to disk when idle).
as i know, only effects write action.
actually i got this .so from moto milestone bbs(same kernel version and system env), then tested and modify it into CWM zip to fit NC.

Related

[KERNEL] 02/11/11 HOT UPDATE-Blazed v2.3.1R2 VOODOO/UVOC1.3GHz/BLN - Eclair 2.6.29.6

About a month ago some of you may remember my posts that I was working on a kernel. Here is my first public release. The whole thing works at about 95% or so.
==============
The advantages I notice while using it besides the normal issues associated with Eclair are as follows:
1. Memory management has changed (has good and bad effects) Good: when you fly through 45 websites the browser does not crash as it eats memory. Bad: when you blow through 45 websites the browser will hang (easy fix hit home, and use app killer to free memory from apps you are not using) (Personally I like not losing my place as I get lost in the web, it also will prevent apps from dieing in the background when you are using multiple apps at the same time, if memory gets low enough the OS WILL KILL the offending apps). I personally found Eclair for Fascinate to handle memory available worse than this kernel, and I find this kernel handles memory more like Eclair on the Moto Droid did, and the Moto Droid had far less memory to work with.
2. UI has a faster response vs stock kernels, the kernel is also running AS scheduling vs BFQ but I updated BFQ to run as well if you want to revert.
3. Internet Connectivity appears to be faster with those apps that properly use the API. Web browsing, CheezeBurger, youtube etc all load content faster (efficiently? / Maybe related to memory management?)
Want something added to this list? Post your requests, just please be reasonable If I like the idea I will try to implement it. Remember this is for kernel features not system ROM modifications.
==============
Issues to fix (ToDo List, I am working to fix these issues / Updated 01/30/11):
1. Investigate and address bluetooth connection issues [ Confirmed that this issue does not affect everyone / or all bluetooth devices ]
2. Investigate and address remaining data connection issues (Orbot activates and test show as using tor on normal websites, tor addresses fail to connect to servers, also Orbot is unable to de-activate [Confirmed]
3. Investigate and address remaining camera crash issues [ Please zip and send in logs from /proc/kmsg, specify if you used the volume control zoom or pinch to zoom ]
4. Improve on touchscreen timing for quick flicks on the first attempt without burning up processor time.
5. Investigate and fix stutter/crash on camera zoom followed by attempt to take photo.
Notice something that should be in this list? Please make a post describing your issue, remember to include the kernel version/rom and the steps you performed to reproduce the issue.
==============
For those doubting, this IS 2.6.29.6, I personally merged the code myself, IT IS NOT 100% COMPLETE. Some drivers still need merging, and the V4L2 code is not completely converted because Fascinate uses different (updated?) V4L code (compare Fascinate's Eclair to Eclair on AOSP)
If anyone wants to help bug hunt I will forever be grateful. I would like to finish squashing bugs in this in the next 2 weeks as I really want to attempt to work on a Froyo for Fascinate. Even if it uses Eclair code to run the only RIL code we have.
I also semi-blindly fixed about 50-100 coding problems in the Eclair Kernel, varied from not returning data from a function that should have, simple void definitions that were returning when they had no data to return and no function collected it. Correcting order of operations in if statements. Declaring data types that were vague (unsigned vs signed). You will notice it compiles a lot cleaner...attempting to fix the camera code nearly kills the camera completely, I am thinking the broken code dumps variables by accident that the corrected code does not.
Edit: I wanted to share a few things every dev (some of it specific to kernels) should remember when nights are long and sleep is a half world away.
1) Keep a backup of your most recent WORKING work safe, because it is too easy to....uh oh *[email protected]$
2) If you edit the config file, remember to make clean and make mrproper before you make, otherwise your still on your original config file (a copy of the one you actually edit .config)
3) Do not put comments to the right of options in the kernel config file...apparently they will be discarded (the entire option line, not the comment, you'll see it in your compile error message logs).
4) Automate the mundane, I have a nice build environment setup, I type one line and it will make a brand new kernel from scratch (I'll be sharing that later, keep an eye on this post)
5) Work with what you have, don't wait for someone else too. Somewhere, someone is working on something better, and tomorrow it will be out.
6) Laugh...at something...anything because lets face it, you make better decisions in a good mood, in a bad mood...entire trees (code) die, either from rm -Rf /work/crap//* or a sledgehammer to the motherboard. Which brings us back to the first thing to remember, where did you put that backup...different drive I hope?
Attached is a working kernel, it will have issues using DI01 (such as no vibrations), it works great with DJ05 ROMS and maybe DL09 system roms. At this time I can not recommend a DL09 system rom with this kernel, during my initial tests it appears to drop GPS and cell data connectivity frequently resulting in having to relock on GPS satillites, and losing data connections in networked applications.
I highly recommend the setup I am running, DL09 Radio, Son Of Skywalker Blackhole v2.4 and this kernel (if you can handle the few bugs that is, it is beta).
Please feel free to post bug reports please include detailed information about the issues, I AM NOT FIXING APP PROBLEMS. Please remember to only report kernel issues and information specific to the kernel crash. If an app crashes on other kernels and not just this one please do not submit a report. This kernel is NOT setup for debug info, I will post one setup with debug turned on later. Right now, play around with it and report your results! Enjoy and have a great time :-D
GITHUB: https://github.com/sirgatez/
Edit 1: I thought I would mention that I originally started with the JT1134 kernel source from late Nov. - mid Dec. and the Samsung Fascinate stock source (from Samsung's Opensource website) then I merged in source from 2.6.29.6 from www.kernel.org and from Cyanogen's 2.6.29.6 Eclair kernel. I stopped on 2.6.29.6 instead of moving higher because of 1 reason, once you step in to 2.6.30 there are major driver changes requiring a lot of double verification and back trekking....In a few words, it is lots and lots of work, and I think that jumping from 2.6.29 to 2.6.29.6 will help transition to the 2.6.30 (Froyo?) series of kernels because then the majority of the work is in restructuring the driver code (which would likely best be done backwards, from the system .h files, to the .c handlers, down to the device drivers) from Samsung to match that in the stock 2.6.30 set. Complexity will be reduced by a measurable amount
Notes 1: Samsung's Android code has some significant differences under the hood from AOSP Android code, I have not sorted it all out yet, but it is possible that without an AOSP stock system that a full kernel update to the current AOSP code may not be possible. There is a built in virtual CD driver for what appears to be hosting the ISO built into the base Samsung system image, I have not opened the image yet but it appears to perhaps be drivers? Also it does not sleep the SD card like standard AOSP does, attempts to do so will disable the SD card from use with no ability to remount without a battery pull. (This is in 3 of 4 lines of code that AOSP had that must be commented out from the Samsung kernel for this SD issue to be prevented). For those wanting it, CIFS and NFS are compiled modules in this kernel. The current kernel is not over-clocked, and does not have voodoo. It does support both with a kernel configuration edit required for voodoo with the proper init scripts, and over-clocking requires changing just a few files and recompiling, I did neither as I wanted a true comparison to compare changes against the original stock kernel. The kernel does have the BLN notification code built in. BLN, Voodoo, and Over-clocking code are not my own creation they are pulled from their respective creators.
REMOVED ALL OLDER KERNEL INFORMATION
Update RC3 v2.2.4-VooDoo/NoVooDoo: This is a minor/major (depending who you ask) bug fix to adjust the processor throttles. Think I've got it too set to a good sweet spot now, the peaks are steep and a little harder to climb but the falls are also quicker. After turning it my phone on with it last night and about 2 hours of use I went to sleep, wake up a couple times to silence various alarms (I wake to wake up, but I want to sleep a little more, can't I do both?), and these are the numbers that setcpu reports for time in state:
1.2Ghz = 0 (Had the phone thottled to 1.0Ghz for this test, but with 1.2 on it only uses it when it needs it, might could leave it on?
1.0Ghz = 164978 (Not such a big a number as before)
0.8Ghz = 292008 (much more reasonable than before, could be a little lower)
0.6Ghz = 117672
0.4Ghz = 114250
0.2Ghz = 104715
0.1Ghz = 2965562 (This is what I was aiming for proportionally for 0.1Ghz)
Remember these times are mostly from idling, the idea was to reduce clockspeed when not in use to save some juice. The phone might take a moment to wake up from idle, but once it is going you shouldn't feel hardly any difference between this and RC2. Bootup clockspeeds from your first 3-4 minutes will almost always remain in the top tier due to applications still loading, media scanner running, etc.
Update v2.2.4-VooDoo/NoVooDoo: This is a major fix kicking us out of RC status and into actual release. Now for the menu, prepare your appetite, for the appetizer we'll be serving a much demanded voodoo color fix, and voodoo sound fixes. Followed by a main coarse of throttle tweaks, throttle shift updates (these are new they decide what the next cpu speed will be when a throttle is exceeded up or down, every kernel to my knowledge including my last used the default for a 5 slot kernel, here is a true 8 slot), and for desert a reduction in logged touch screen data from the touch screen, and an additional surprise to everyone, a reduced cpu load when using the touch screen!
Apparently the touch screen had authority to force the cpu into any slot it wants, it defaulted to slot 1 (which was 1.0Ghz for Blazed, now it's 1.2Ghz). The result of which meant that if you pressed the touch screen your cpu load catapulted up to 1Ghz for as long as you touched it even if you only held your finger in one place with no apps open. I have changed that to only go to 400Mhz, we'll see how this goes, if anything we might bump it to 600Mhz, so far besides a slightly slower response when first touch my touchscreen after leaving it alone for a long period it doesn't effect normal use from one app to another. If your processor is already at 400Mhz or higher it will not up it further. You will find this kernel will likely end up being the most battery conscious you have ever seen, once you get things moving the speed follows. If you find this kernel has a slower response than you feel it needs let me know, because when I fixed the touch screen from blasting the cpu load through the roof, it through off my throttle settings some, now they may be too conservative, report back and we'll fix them if it is a problem. Ah yes, please don't forget to tip your waiter if you enjoyed the service... [ REMOVED - Aggressive throttles not configured for use without aggressive touchscreen driver ]
Update v2.2.4R2-VooDoo/NoVooDoo: This is a minor fix to correct the choppy feeling that v2.2.4 had, the choppiness was due to aggressive throttles to fight off the excessive high speeds the touch screen forced on. This should correct those issues. Unless I have another bugfix for 2.2.4, I will be adding 1.1Ghz in the next release making it a total of 9 slots. The higher speeds still need some tweaking, if your looking to hit benchmarks please set min and max to the speed you are testing, otherwise the throttle is trying to save you power that doesn't need to be used. But for everyday use, these settings should be good
Update v2.2.5-VooDoo/NoVooDoo: Voodoo sound is still broken, anyone have the patched files I could compare to? The screen should be about 15% dimmer than it usually is on the lowest setting (and scaled up from there to 100% at max), I found the dimmest setting just too bright in the dark for my self, and hopefully it will help me save a little extra juice because I usually use my phone on the lowest brightness setting anyway. Major fix to throttles, now they are better tailored to this many slots. Slots updated to 9, 100Mhz, 200Mhz, 400Mhz, 600Mhz, 800Mhz, 1.0Ghz, 1.1Ghz, 1.2Ghz, and 1.3Ghz. Increased processor voltages (my ultra low voltage was about 25uv lower in most slots than everyone else who has a uv kernel...I was a little too aggressive on that one). Update bluetooth driver, it should remain connected now, could someone please verify this? Stability has improved alot with the higher voltages and better handling of throttling for different situations. Several other pieces of hardware discover that have authority to play with processor. I capped highest touch screen processor forced at 600Mhz (the higher I set it the faster your battery goes, default stock is 1Ghz), and all other hardware at 1Ghz (not very many requests, but this is where rouge 1.2 use came from). If you had issues before except for camera zoom or data connectivity in apps give Blazed another try. The slightly higher voltages should improve a lot of the random issues people were having. You may see an improvement in cellular signal now, 1.3Ghz is also stable, but I wouldn't run it all day either due to heat generated etc...Well I hope everyone enjoys, this should be the best release of Blazed Yet!
Update v2.2.6-VooDoo/NoVooDoo: This is a major fix for cellular signal issues many people have been having, the issue again was related to timing and the kernel modules not waiting long enough for the modem to respond before proceeding with action resulting in errors that caused a disconnect or forced a modem reset (requiring a phone reset to regain signal). I found waiting too long only slowed the entire phone down, so I opted to go with nanosecond wait times, waits that short however are active and will warm the phone up some, please report back if it becomes an issue as I am looking for a better wait device than udelay, preferable more like sleep that doesn't keep the processor busy. There is some performance stutter in the phone on the high end of internet connectivity speeds, but your not going to be losing your connection either, I'll continue to attempt to improve on this issue later on. [ REMOVED - Timing further improved in v2.2.7 ]
Update v2.2.7-VooDoo/NoVooDoo: This is a minor for that makes a major difference. Improved timing for communication with GPIO/modem this should be the end of the majority of network connection issues. It was entirely a mailman problem, put package in box, check for package, package still there? no=do other stuff/yes=...wait,repeat at package still there?, etc. The fix is put package in mailbox, wait long, check is package still there? no=do other stuff,yes=short wait and check again...Hope this helps alot of you out, I am aware the touch screen is a little slow to respond and I will be looking into that issue. This little fix should also improve usable speed over v2.2.6 because the waits are better timed.
Update v2.2.8-VooDoo/NoVooDoo: Timing is everything with electronics and this post...as promised today before 11:59pm is v2.2.8. Working Voodoo Sound v4, updates to the dpram/dpio communications again improving connection stability, if you lose your connections please report back (permanent loss requiring a restart only, fluctuations are different issue). Throttles set a little more aggressive about 5% so (helps ease on light loads), stepped up the first throttle jump from 100mhz to 400mhz (touch screen snaps back now). Dropped the 1Ghz permission for misc hardware to 400mhz if you have issues let me know, touch screen retains it's 600mhz permissions. Also screen brightness is reducible to gamma 1 brightness 10, typically reserved for battery about to fail status (I found the lowest setting just too dang bright). Enjoy everyone! I've been hammering away on this since 7am this morning and only had voodoo sound working about 9am. Thanks to JT1134 for his prebuilt kernel containing voodoo sound v2 working, adding v3 & v4 was a snap after that. Please report if you have any issues with it and remember you MUST be using the new voodoo sound app from the market.
Update v2.2.8R2-VooDoo/NoVooDoo: Another dpram timing adjustment (will lower your upload speed a little but will be more stable in operation, down speeds should be around 200KB down 44KB up on a good connection). Adjusted 1.1Ghz dividers per nemesis (not sure that it looks right, appears to get better benchmarks than 1.2 now will follow up on it). Made throttles a little more aggressive, 2.2.8 looked all over the place and having difficulty controlling processor use.
Update v2.3.0-VooDoo/NoVooDoo: Alot of work went into fixing dpram.c and multipdp.c it seems they were incompatible from the very beginning resulting in alot of ril issues and stability problems not just on my kernel but others as well, especially with nonstandard clocks and multiple slot kernel. I also added a fix to the framebuffer courtesy of JT1134 that has long since been overdue but a rare bug most probably have never seen. I fixed all the timing in dpram.c I also fixed the non-matching buffer sizes for multipdp and dpram (they talked to each other using different sized buffers...come on?!) There are still some bluetooth compatibility problems and the camera may still crash on zoomed photo, but I'd say it's 100% out of Beta! Enjoy! :-D I will be working on a Froyo kernel so stay tuned folks!
Update v2.3.0R2-VooDoo/NoVooDoo: Minor fix to help prevent dpram crash by handling and disposing of invalid commands sent to dpram, should fix seeming random lockup. [ Edit: corrected incorrect version numbers in original v2.3.0 series xda posts, thanks to s44 who caught the error, this does not affect kernel downloads, this were named correctly ]
Update v2.3.1-VooDoo/NoVooDoo: I reduced the delays in the ce147 camera driver, repairing the dpram driver resolve many of the seemingly random issues that had once plagued Blazed. Also a special treat for all you Blazed users, a new voodoo sound option that I have named "HEADPHONE_STICK" essentially the option when enabled (per boot) will force all audio directed to the external speaker to be instead directed to the headphone jack if the headphone jack has a plug in it. I find it excellent for not disturbing others around me with notifications when I would rather the phone be silent but I have headphones plugged in. Also excellent for using that awesome amp you have in combination withr you fascinate to wake you up in the morning. I will be contacting the maker of the Voodoo sound app in the market to get this option added to his application for quick and easy access. Also a major rework in the way kernel modules are loaded, all modules non-essential to booting are now stored in /system/kmodules. So if you reflash your system folder reflash your kernel or it may not boot, a quick browse will reveal what modules are kept there, I have more readily compiled and will release a separate "modules only" update.zip for those interested. By moving the modules it will allow for more options that are only available for including in the kernel boot image.
Update v2.3.1R2-VooDoo/NoVooDoo: Reverted some of the CE147 delay changes, reducing all of them caused some minor camera instabilities. EXT3/EXT4 moved back into the kernel, for some reason even with it's depends loaded ext4 doesn't load correctly as a module (resulted in broken boot on voodoo, now fixed). Also You MUST USE RED CLOCKWORKMOD TO FLASH IF USING VOODOO, you may use green clockwork only if Voodoo is NOT enabled due to the fact that some modules required for bootup are now stored on the system partition and if your using Voodoo only red clockworkmod has access to it. Also if you flash a different system or restore a backup you must reflash the kernel to ensure your modules are up to date. Also is a new file KMODULES-FULL contains all of the modules I have been compiling for Blazed thus far, several nifty ones but I have not setup any of the configs to use them, anyone versed in Linux command line can utilize them or setup scripts to use them, have a look inside the zip too see what there is to play with, request and I will add more if the module could prove useful to others. Several of the modules in FULL are also in the Kernel due to being required for startup redundancy (such as the 3D video/LCD drivers etc, which without a Android system folder, Android won't boot, nor will it boot without these modules so system seemed like a reasonable place to store them. The kernel/initramfs file is less than 6MB with Voodoo due to moving these modules to the system folder. I plan to add ClockworkMOD as soon as I have time to test it, then Blazed will also work for Recovery.
The Great Voodoo Debate: I have also been benchmarking Blazed against stock, to determine the difference Voodoo has on the kernel, so far it would appear Blazed has modifications either in the file system handling or the manipulation layers that are nearly equal to negating the speed lost to RFS's use before Voodoo or EXT4 is even brought into the equation. Just compare Stock vs Blazed (novoodoo) using 'RL Benchmarks SQLite Performance" from the market. A difference of 33.246 seconds in favor of Blazed, my preliminary results are (124.944 Seconds Blazed-NoVoodoo) (158.19 Seconds Stock) using the same exact system install less than 20 minutes apart between boots, with over 300 applications installed and several running like any other day. Based on this alone I find Quadrant is at least partially flawed at measuring proper I/O transfer timing, and I would NOT rely on it for an accurate benchmark in regards to I/O at this time until the issue is resolved by the Quadrant team. Voodoo does not produce the outlandish high scores that Quadrant makes out that it does, and Blazed is plenty fast in I/O even with RFS in use as shown by these preliminary results that any one of you can verify on your own using the "RL Benchmarks SQLite Performance" application, Voodoo does improve transfer compared to RFS in my tests but I am still putting together the results on Blazed NoVoodoo vs Blazed Voodoo. But as far as a 1800+ or 2000 score, so far my results say it just doesn't look realistic...sorry guys. On the flip side, if there is an error in my kernel causing a misread on the score you guys are welcome to help me find it and I will push the correction, but right now it looks like the issue is in how Quadrant measures I/O time, and I think non-atomic disk writes are the reason for the high scores, theoretically they would return claiming data is written to disk almost immediately when in reality it is still in memory and the kernel will write it to the disk at later time without the write time being considered as part of the benchmark (Google: write-caching, also known for providing significant performance improvements over atomic-writes).
If you appreciate Blazed and enjoy using it, please consider making a donation. Thank you for trying it out and have fun!
My initial impression after playing around with it for 15 minutes:
Seems to have given my phone new life/snappiness back that it had when I first installed super dark rom and stupidfast 1.54. My phone seemed to be bogging down lately. The internet definitely feels quicker too.
So far so good!
will try, thank you for the release.
Great work!
Sent from my Galaxy-S Fascinate
I don't want to turn you away from your work, but have you considered heading over to IRC and joining the guys working on Gingerbread? I'd assume that the more competent people working on it, the better.
Great work, the kernel seems to have given new life to my test fascinate! ADB does however appear to be dead (I got error device not found every time I tried to connect) Other than that I have no complaints, keep up the good work
That is very odd, as I have not had any issues using adb. Please reload your drivers to be safe and double check debug mode has not accidently become disabled. I wired up my fascinate just now and confirmed that ADB is working. (It was invaluable in working with the camera crashes). Also it maybe related to a conflict in the system rom vs the kernel. I personally have not have any issues with DI01 Fascinate stock, and everything worked great using DL09 radio, DJ05 system from SonOfSkywalker (BlackHole 2.4). Right now I am running DL09 Radio, DL09 System Rom from SonOfSkywalker v3, and my kernel from this post, thus far no issues. I am using Ubuntu v9.04 to test right now, and not windows to confirm that ADB is working. I will check on windows later today when I have a chance.
anyone else having an issue with bluetooth? It says "Turning On" but does not turn it on just reverts back to "off" status.
I still have DJ05 modem and on blackhole 2.3 something but updated market and swype maunally.
Camera force closes when you go to zoom in.
Sent from my SCH-I500 using XDA App
I assume disabling voodoo would be a prerequisite to installing this kernel? Though I'm curious what partition scheme are you using for this? Is it using samsung's default filesystems for /system /data etc?
EDIT: Forgot to say, this is re-gosh-darn-diculously awesome, thanks for your hard work.
wizang said:
I assume disabling voodoo would be a prerequisite to installing this kernel? Though I'm curious what partition scheme are you using for this? Is it using samsung's default filesystems for /system /data etc?
EDIT: Forgot to say, this is re-gosh-darn-diculously awesome, thanks for your hard work.
Click to expand...
Click to collapse
Yes, you MUST disable voodoo before using this kernel. I will put together a voodoo and OC flavor of this for those interested later. As of now I have only been working with non-OC and non-Voodoo in this kernel to gauge how the work changed the experience.
Edit: Oh yes, it uses the default partition scheme. It is a goal of mine to eventually change the formats of partitions (similar to voodoo) but keep the layout, it is my thought that doing so provides the largest window of compatibility between stock Samsung/VZW Roms and custom Roms. With a proper recovery, the change could be performed and backups and restores would work no matter the format of the internal media as the layout remains the same.
I tried this kernel briefly. I couldn't get my computer to recognize that the phone was plugged into it. I use my phone for tethered net access. Deal breaker for me. It would beep once like it was going to work as normal when plugging in an accessory and then beeped three more times in quick succession like the cord was being pulled.
Sent from my SCH-I500 using XDA App
bwheelies said:
I tried this kernel briefly. I couldn't get my computer to recognize that the phone was plugged into it. I use my phone for tethered net access. Deal breaker for me. It would beep once like it was going to work as normal when plugging in an accessory and then beeped three more times in quick succession like the cord was being pulled.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Yea my phone is not recognized by the computer either, even after a restart.
Naturally I double checked usb debugging and the drivers (adb connected to my white fascinate just fine and I made a jump back to Geeknik's test kernel to double check that something hadn't died in ole blacky and it registered there as well) I wonder if its just this fascinate (as it has had a laundry list of its own issues). This phone is running Superclean DJ05 completely stock and was fresh off a complete wipe and restore
bwheelies said:
I tried this kernel briefly. I couldn't get my computer to recognize that the phone was plugged into it. I use my phone for tethered net access. Deal breaker for me. It would beep once like it was going to work as normal when plugging in an accessory and then beeped three more times in quick succession like the cord was being pulled.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
I can confirm that I am unable to access the phone via Samsung's drivers using Windows XP. [Added this too my list]
Wireless tether does work in case you need it, that is why I hadn't noticed this issue. Good catch!
I really like the transparency of your work. It's refreshing to actually read about the process you're working on and the way you explain it definitely makes seems like you have a good grasp of what's going on. I can never quite tell with the other devs. Anyway good luck!
FDro said:
I don't want to turn you away from your work, but have you considered heading over to IRC and joining the guys working on Gingerbread? I'd assume that the more competent people working on it, the better.
Click to expand...
Click to collapse
Agreed! If they can get GB running nobody is going to be interested in Eclair or Froyo.
I like the sound of this kernel. Imma flash it when i get home. Looking forward to seeing the OC version
SCH I500 Super Clean v.9 DJ05 Revolution 3.6 OTB oc'd lv1200 Voodoo5
2 SirGatez.
It sounds like you are pushing towards performance optimizations. Have you checked supidfast sources? I tried it before geeknik left and it was significantly faster then stock. May be you can get something from him.
I really appreciate what devs do here, cool stuff! However I do not understand why that much talent spend in vain... Every developer has his own build, mods and bug fixes. Is this real open source spirit to have so many versions? Looks like brownian motion to me.
Now, you can say that I'm free to do it on my own etc, as other devs pointed here. But, full fledged development it not for everybody by various reasons. I hope it is obvious. Would be nice to see some consolidated development! Then it will be much more easy for mere mortal to contribute to that product. We all have same phone!
Once again I do not want to upset anybody.
bendbowden said:
Great work!
Sent from my Galaxy-S Fascinate
Click to expand...
Click to collapse
Also, great write up! I will report back if I notice any bugs not mentioned above.

Performance tweaks for XRON/CM7/CM9

Here are a few tweaks to get XRON/CM7/CM9 running a bit smoother
Make sure to create a Nandroid before applying these tweaks, just in case something goes wrong
Smoother Scrolling - for XRON2.9 Deodexed/CM9 (unless you apply the mod yourself).
Files are attached, make sure to rename the file to framework.jar.
The instructions to replace the framework.jar are included in the original post under D. Installing steps.
Or you can use ADB:
Code:
adb push c:\path-to-framework\framework.jar /system/framework
adb shell chmod 0644 /system/framework/framework.jar
This mod really helps smooth out menu scrolling, most noticeable while browsing long lists like in Titanium Backup or Root Explorer, I've noticed a speed boost under Youtube as well (CM9). This made a bigger difference on XRON, but still makes a notable difference under CM9.
Reduce Lag - For XRON/CM7/CM9a0.5
Up threshold tweak, under advanced settings with CPU Master/SetCPU - 30-40% should provide you with a lag-free experience.
Use SetCPU instead of CPU Master for CM9a0.5 with BrickedKernel.
This tweak will get rid of most of the jumpiness in heavy applications, like Cordy or Opera Mobile. I ran the TP before and after side-by-side with the iPad 2 and it went from about 30-40% the speed of the iPad 2 to about 80-90% (Opera Mobile VS Safari). A big improvement. The downside to this tweak is you will experience worse battery life.
Reduce Lag - For older versions of XRON (before 2.8) and CM7
In the build.prop make these changes:
1. Change debug.composition.type=c2d to debug.composition.type=gpu
2. Add debug.sf.hw=1 (or change to match if it already there)
This build.prop change will help speed up the UI dramatically if you are still running CM7 3.5 or an older version of XRON.
Improve Auto-Rotation Speed - CM9a0.5
Included in the cm9a0.5-framework.jar are modifications that should help speed up auto-rotation as explained here and here.
These tweaks made a dramatic difference on my TP. Good luck!
These will probably speed up MIUI too, but you'll have to do the framework.jar mod yourself. If you do, feel free to share the jar and I'll add it to the post.
Off-topic, but I booted up webOS for the first time in months today to update it. Damn, that thing is slow.
Interesting, I'll try out #1 and #2. Thanks for putting it into a separate thread since I wouldn't have noticed it otherwise.
bajingo said:
Off-topic, but I booted up webOS for the first time in months today to update it. Damn, that thing is slow.
Click to expand...
Click to collapse
WebOS, running an overclocked kernel at close to 1.8GHz on both cores, is extremely smooth. The multitasking and saving of current app states is excellent. Too bad there's not much more than the browser, email, and Angry Birds and a few Gameloft games to put it to use.
Going to try out these tweaks, thanks!
xxmastermindxx said:
WebOS, running an overclocked kernel at close to 1.8GHz on both cores, is extremely smooth. The multitasking and saving of current app states is excellent. Too bad there's not much more than the browser, email, and Angry Birds and a few Gameloft games to put it to use.
Going to try out these tweaks, thanks!
Click to expand...
Click to collapse
I really like WebOS as well, HP/Palm really hit the nail on the head concerning the user experience and multitasking. With all the Preware tweaks and the device overclocked it is quite fast.
But the web experience is still too sluggish for my taste, especially when compared to Android running Opera Mobile with the tweaks above or an iPad 2.. And of course there is a major lack of applications for WebOS.
Thanks for posting. I'm a TP newb running CM7 3.5. It sounds like 2 and 3 are applicable to CM7. I'm going to give 3 a try.
Are there any other general tips for CM7 or the Touchpad in general?
Rick
C5Longhorn said:
Thanks for posting. I'm a TP newb running CM7 3.5. It sounds like 2 and 3 are applicable to CM7. I'm going to give 3 a try.
Are there any other general tips for CM7 or the Touchpad in general?
Rick
Click to expand...
Click to collapse
The first one will work on CM7 as well, but you'll have to mod the framework.jar yourself as explained in this post.
You could also try my framework.jar, but it may break your install (if you try it make sure to create a nandroid first).
Yeah, it broke my wifi even though I'm on Xron. I'll just have to do it manually later
Sent from my HTC G2
ChronoReverse said:
Yeah, it broke my wifi even though I'm on Xron. I'll just have to do it manually later
Sent from my HTC G2
Click to expand...
Click to collapse
Which version? It should have no problems on 2.9 deodexed, I've done it multiple times.
Make sure you set the permissions/owner the same as the old file.
It was 2.9
However, I suspect the problem might have been something else as restoring the nandroid didn't fix it and I had to go back to an even older nandroid.
tbob18 said:
I really like WebOS as well, HP/Palm really hit the nail on the head concerning the user experience and multitasking. With all the Preware tweaks and the device overclocked it is quite fast.
But the web experience is still too sluggish for my taste, especially when compared to Android running Opera Mobile with the tweaks above or an iPad 2.. And of course there is a major lack of applications for WebOS.
Click to expand...
Click to collapse
The main problem with webOS is it lacks text reflow. The iOS and WP7 also lack it. I don't know why Android is the only OS that gets this right. I actually wish I had text reflow on my desktop/laptop browsers, and occasionally boot into a x86 Android virtual machine just for specific sites whose fonts don't play well with Chrome (since Google removed font size increases years ago and never replaced it).
I also don't understand why no one complains about the lack of text reflow in other OS's. Maybe I'm just blind or something.
BTW (a little more on topic), do these tweaks work with ICS?
ambrar12 said:
The main problem with webOS is it lacks text reflow. The iOS and WP7 also lack it. I don't know why Android is the only OS that gets this right. I actually wish I had text reflow on my desktop/laptop browsers, and occasionally boot into a x86 Android virtual machine just for specific sites whose fonts don't play well with Chrome (since Google removed font size increases years ago and never replaced it).
I also don't understand why no one complains about the lack of text reflow in other OS's. Maybe I'm just blind or something.
BTW (a little more on topic), do these tweaks work with ICS?
Click to expand...
Click to collapse
I'm not sure. The framework.jar mod might, but I have not tried it yet. The up threshold tweak would probably help, but I haven't figured out how to change that yet. The build.prop tweak did not seem to change anything for me.
Updated OP with info/tweaks for CM9.
Are we supposed to rename CM9-framework.jar to framework.jar in order to replace the framework.jar that's already present in /system/framework?
ambrar12 said:
Are we supposed to rename CM9-framework.jar to framework.jar in order to replace the framework.jar that's already present in /system/framework?
Click to expand...
Click to collapse
Correct.
Create a nandroid beforehand just in case. Also, make sure that you set the permissions/owner the same as the original file.
If you are running a different variation I can't guarantee it will work, it has only been tested with CM9A0 and CM9A0.5.
For some bizarre reason the only thing that shows up under the "Advanced" Tab is "sampling rate". I've tried both CPU Master and SetCPU, and all I can see is sampling rate. Nothing else shows up.
ambrar12 said:
For some bizarre reason the only thing that shows up under the "Advanced" Tab is "sampling rate". I've tried both CPU Master and SetCPU, and all I can see is sampling rate. Nothing else shows up.
Click to expand...
Click to collapse
On CM9 you've gotta use Bricked-Kernel and SetCPU, otherwise the settings won't show.
tbob18 said:
On CM9 you've gotta use Bricked-Kernel and SetCPU, otherwise the settings won't show.
Click to expand...
Click to collapse
Okay, finally got it to work. I had been confused regarding the presence of the "brickedkernel" and "cyanogen mod" option in the boot up list. When I went to brickedkernel wi-fi didn't work, but in the CMMod option it did. I finally realized that when I had flashed back to Alpha 0, then back to .5 (to correct a boot loop issue), the Bricked Wi-Fi modules must have been replaced. So I reflashed the Bricked kernel and Wi-Fi worked. Finally went to SetCPU and surprise! Threshold was already at 90% lol. Opera is still jumpy though so I give up. I mean it's "smoother", but not as smooth as on my Charge.
My "Scaling" is set to "ondemand" (with max freq. of 1.56 GHz), Sampling rate set to 50,000, and "Ignore Nice Load" and "Powersave Bias" are both set to 0. I'll try to set Sampling Rate to 10000 and see what happens.
Edit: Nope, no change. Ah well...
ambrar12 said:
Okay, finally got it to work. I had been confused regarding the presence of the "brickedkernel" and "cyanogen mod" option in the boot up list. When I went to brickedkernel wi-fi didn't work, but in the CMMod option it did. I finally realized that when I had flashed back to Alpha 0, then back to .5 (to correct a boot loop issue), the Bricked Wi-Fi modules must have been replaced. So I reflashed the Bricked kernel and Wi-Fi worked. Finally went to SetCPU and surprise! Threshold was already at 90% lol. Opera is still jumpy though so I give up. I mean it's "smoother", but not as smooth as on my Charge.
My "Scaling" is set to "ondemand" (with max freq. of 1.56 GHz), Sampling rate set to 50,000, and "Ingore Nice Load" and "Powersave Bias" are both set to 0. I'll try to set Sampling Rate to 10000 and see what happens.
Click to expand...
Click to collapse
Yeah, I have it at 30%/50000/1.5ghz and it is quite smooth, smoother than the stock browser at least.. But not quite as smooth as my Epic.
I'm guessing that once HW Acceleration is working 100% it'll speed things up a bit more.
I'm on cm9 a.05 booted to Bricked and still don't see anything else except sampling under setcpu | advanced

[APP] ATP Tweak - Version 4 - 1.5GHz&1.6GHz mode

ATP Tweak is an app, which provides and loads kernel modules and sets I/O schedulers (also on device startup), which are not provided by the shipped kernel from ASUS.
The app can also set the overclocked CPU modes via the /system/etc/cpu*.sh scripts.
The modules, which you see on the right are the ones from this thread, where I try to explain their purpose: http://forum.xda-developers.com/showthread.php?t=1455382
This version only supports loading and setting of the I/O scheduler on startup.
This app requires ICS and root!
Overclocking can damage your device! Use at your own risk!
Changelog:
V4:
- added I/O scheduler selection spinner
V3:
- added CPU overclocking modes
- added module list, to activate additional modules
V2:
- improved SuperUser handling a bit
V1:
- load cfq-iosched.ko kernel module and set cfq scheduler
Wicked, thanks mate, Seems to be working properly now that an app is loading it!
Just doing a couple of tests. So in theory now if we reboot the scheduler will run automatically?
geinome said:
Wicked, thanks mate, Seems to be working properly now that an app is loading it!
Just doing a couple of tests. So in theory now if we reboot the scheduler will run automatically?
Click to expand...
Click to collapse
yep, should load automatically on reboot.
I'm having some difficulty getting this app to automatically insert the module and set the IO scheduler. Does the app look for the module in a specific folder? I have it in both the usual place (system/libs/modules) and the one suggested in the other thread (data/local/modules).
If I manually insert the module, CFQ shows up as available, but does not activate. If I manually set CFQ as the IO scheduler, it shows as the active scheduler. The app appears not to be doing anything.
Also, SuperUser is not throwing up a request for su access when running the app.
ilys said:
Also, SuperUser is not throwing up a request for su access when running the app.
Click to expand...
Click to collapse
That might be the problem. Force close "ATP Tweak" in settings/apps and retry. The app includes the modules, so no need to install them anywhere.
You should definetly see the SuperUser app requesting permissions.
saturn_de said:
That might be the problem. Force close "ATP Tweak" in settings/apps and retry. The app includes the modules, so no need to install them anywhere.
You should definetly see the SuperUser app requesting permissions.
Click to expand...
Click to collapse
Force-closed, even tried rebooting, and SuperUser is still not requesting permissions. I can verify SuperUser is working with other apps that require root.
Will try re-installing ATP Tweak.
EDIT: Re-installed, rebooted, still no permissions request.
ilys said:
Force-closed, even tried rebooting, and SuperUser is still not requesting permissions. I can verify SuperUser is working with other apps that require root.
Will try re-installing ATP Tweak.
EDIT: Re-installed, rebooted, still no permissions request.
Click to expand...
Click to collapse
Uploaded version 2... please retry with that one.
saturn_de said:
Uploaded version 2... please retry with that one.
Click to expand...
Click to collapse
It is showing the permissions request with v2 and CFQ has become the active IO scheduler. Thank you.
So just install this, launch app, n we good to go n never have to mess with it again? Is it best to install version you have now or just wait for your newer versions with more options? Will this affect OTA updates since adding or changing something in system files?
demandarin said:
So just install this, launch app, n we good to go n never have to mess with it again?
Click to expand...
Click to collapse
If you target is the better I/O scheduler, just install, launch app...
demandarin said:
Is it best to install version you have now or just wait for your newer versions with more options?
Click to expand...
Click to collapse
I will add more kernel modules and I/O scheduler options.
You rock man, thanks!
demandarin said:
Will this affect OTA updates since adding or changing something in system files?
Click to expand...
Click to collapse
Does not mess with system files at all..
I wonder if this will help with random lockup reboot issues? Just a thought.
What does this tweak in general improve? Download speeds from browser into prime itself? Bootup times? Transferring files within prime itself? Just want to be clear what's exactly being improved. As I'm sure others would love to know also.
Or is this more for people transferring files from prime to PC or vice versa?
I was assuming, possibly/probably incorrectly, that this was to do with how the CPU handled tasks in general.
Here is a PDF write up on the difference between CFS (Completely Fair Scheduler) and BFS (Brain **** Scheduler).
http://db.tt/ZYCGCt6V
Both have positives and negatives, and you'll find people on both sides of the fence, kind of a Ford vs. Chevy deal. Although, in general, I'd say CFS is probably more stable, and shows better results for a majority of people.
I spose I should add that this isn't necessarily specific to this thread. But it does give some good info on CFQ, what it is, and how it handles system requests.
Sent from my Transformer Prime TF201 using Tapatalk
Cadillac Johnson said:
Here is a PDF write up on the difference between CFS (Completely Fair Scheduler) and BFS (Brain **** Scheduler).
http://db.tt/ZYCGCt6V
Both have positives and negatives, and you'll find people on both sides of the fence, kind of a Ford vs. Chevy deal. Although, in general, I'd say CFS is probably more stable, and shows better results for a majority of people.
I spose I should add that this isn't necessarily specific to this thread. But it does give some good info on CFQ, what it is, and how it handles system requests.
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
Very interesting read. Just read it all.
Trying it now. Noop io sucks. Cfq ftw!!
Cadillac Johnson said:
Here is a PDF write up on the difference between CFS (Completely Fair Scheduler) and BFS (Brain **** Scheduler).
http://db.tt/ZYCGCt6V
Both have positives and negatives, and you'll find people on both sides of the fence, kind of a Ford vs. Chevy deal. Although, in general, I'd say CFS is probably more stable, and shows better results for a majority of people.
I spose I should add that this isn't necessarily specific to this thread. But it does give some good info on CFQ, what it is, and how it handles system requests.
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
Except CFQ is not CFS. CFS and BFS are process schedulers - they control how running applications get allocated to CPU cores. CFQ is an I/O scheduler - it controls how and when the system reads/writes from storage.
http://en.wikipedia.org/wiki/CFQ
noop should be the best unless the flash memory in the Prime is really, really crappy - but maybe it really is that bad. Has anyone run before/after benchmarks with CFQ?
Noxious Ninja said:
Except CFQ is not CFS. CFS and BFS are process schedulers - they control how running applications get allocated to CPU cores. CFQ is an I/O scheduler - it controls how and when the system reads/writes from storage.
http://en.wikipedia.org/wiki/CFQ
noop should be the best unless the flash memory in the Prime is really, really crappy - but maybe it really is that bad. Has anyone run before/after benchmarks with CFQ?
Click to expand...
Click to collapse
Op said Androbench not reliable. Use either CF-Bench or Bonnie++. Benchmarks seem higher in some area bit lower in others. Others said scores overall seem the same but seems snappier transferring files. I dunno. Lol
That's why I was trying to ask OP or someone who knew what exactly this would benefit. Aside from read/write speeds. What things are governed by that?
But yeah, from what I've read noop seems to be best I/O scheduler as its for SSD devices or devices that uses flash memory or memory with no mechanical parts. Since non of the latter, extra processes or something wouldn't be needed therefore noop I/O is best suited for our device. I would think..lol

[APP][N10] Trickster MOD [Kernel Settings and Tweaks]

Trickster MOD app is a tweaking tool to change various settings included in your kernel and other tweaks to your phone. It was made by me and my friend.
Screenshots and more information at links below.
Links
Google Play Store
AndroidPIT
Donate
Website​If you like the app please rate it 5 stars and if you can, please donate.
Feature requests
Please post & vote features on our feedback site. So we can keep track of them
Bug Report
Please read the FAQ at our website before reporting any problem
If the FAQ does not help, use the Bug Report feature in our app & reference your ID here (the number in the mail subject).
Credits:
- Google
- Our great kernel devs
- grilledbacon for your beautiful icon
- Beta testers and translators for your contributions
- Anyone that helped us in some way
Disclaimer: This is provided with NO GUARANTY whatsoever. Use your common sense.
Initial version has been pushed to Google Play https://plus.google.com/u/0/116709542966452959662/posts/NZBEEJcuY5d, still pretty basic ATM moment. More stuffs will be added in later versions.
Thanks for adding support for the Nexus 10!
New version uploaded to market, should be available to you shortly
https://plus.google.com/u/0/116709542966452959662/posts/796By1dhjso
New version has been uploaded to Play Store, more info https://plus.google.com/116709542966452959662/posts/KDqLwP8gMH7
I had backed up my stock kernel using trickster mod, then flashed franco.kernel r-4. I confirmed everything on my phone was working properly, then paid for the donate version of the app so I could restore my stock kernel back to my nexus 10 4.2.1. All was well until I started using my device,
- OTG support was intermittent and my applications were running abnormally slow.
- Most of the folders that had write privileges could not be written to anymore when I tried making a new TWRP backup and ended up corrupting some of my existing application backups (combination of program not being able to write properly and OTG fading in and out).
I had to go into TWRP and restore from a nandroid after the fact and run Titanium to restore all my apps - OTG and worked fine after that. Any ideas, or a possible fix? I'd like to get the most out of the restore kernel function of the app.
bigdog2k7 said:
I had backed up my stock kernel using trickster mod, then flashed franco.kernel r-4. I confirmed everything on my phone was working properly, then paid for the donate version of the app so I could restore my stock kernel back to my nexus 10 4.2.1. All was well until I started using my device,
- OTG support was intermittent and my applications were running abnormally slow.
- Most of the folders that had write privileges could not be written to anymore when I tried making a new TWRP backup and ended up corrupting some of my existing application backups (combination of program not being able to write properly and OTG fading in and out).
I had to go into TWRP and restore from a nandroid after the fact and run Titanium to restore all my apps - OTG and worked fine after that. Any ideas, or a possible fix? I'd like to get the most out of the restore kernel function of the app.
Click to expand...
Click to collapse
Hi there,
The code to do the backup/restore couldn't possibility do that (e.g. it does not contain anything to change permissions). As I don't have the device, previous tests were done by my testers and I had positive results, so I will ask them to check again. For now, can you provide more information:
- ROM: I guess stocks?
- busybox: which app did you use to install it? busybox version?
- If possible do a new nandroid backup and do two bug report (Trickster MOD menu): once before you do a new backup and another when you restore kernel so I can check if there's anything goes wrong. Also send me the list of contents in /sdcard/kernel_backups
bigeyes0x0 said:
Hi there,
The code to do the backup/restore couldn't possibility do that (e.g. it does not contain anything to change permissions). As I don't have the device, previous tests were done by my testers and I had positive results, so I will ask them to check again. For now, can you provide more information:
- ROM: I guess stocks?
- busybox: which app did you use to install it? busybox version?
- If possible do a new nandroid backup and do two bug report (Trickster MOD menu): once before you do a new backup and another when you restore kernel so I can check if there's anything goes wrong. Also send me the list of contents in /sdcard/kernel_backups
Click to expand...
Click to collapse
Thanks for the quick response! I can do that later today. Yes, Rom is stock Jellybean rooted 4.2.1, busybox was installed using the stericson tool from the play store. Ill pm you later with extra info.
heya, loving the app. got one question if anyone can answer. does anyone have a list of kernels that support s2w? I'm using kmanta but it doesn't show CPU temp.
also on a side not, where would the options show up if its able?
edit: stock kernel from paranoid android for n10 and franco kernel doesnt show temperature either
Big eyes, I'm running trickster for the first time on the gnex and have a question. If I change the max freq from 1700 to 1600 and hit save. Then exit and go back in, its back to 1700. I then tried the freq lock option and that seems to work and it stays at 1600.
What's odd, is on the main screen (device status, core 0/1) it only goes to 1000mhz max. In realtime I mean....if I put my finger on the screen and move around it gets to 1000 but nothing higher. I'm wondering maybe if locking it down by checking that option basically locked it down to 1000 rather than 1600?
Confused..... Any thoughts? Thanks, great app
chugger93 said:
Big eyes, I'm running trickster for the first time on the gnex and have a question. If I change the max freq from 1700 to 1600 and hit save. Then exit and go back in, its back to 1700. I then tried the freq lock option and that seems to work and it stays at 1600.
What's odd, is on the main screen (device status, core 0/1) it only goes to 1000mhz max. In realtime I mean....if I put my finger on the screen and move around it gets to 1000 but nothing higher. I'm wondering maybe if locking it down by checking that option basically locked it down to 1000 rather than 1600?
Confused..... Any thoughts? Thanks, great app
Click to expand...
Click to collapse
Kernel/ROM issue. The app always reads frequency settings from the kernel itself so if it's at something then it's there, if a setting doesn't stick then something else changes it, and if the frequency does not go to the max that is because the set governor and its correspondent tunables, as in load is not high enough for the governor to set it to max.
bigeyes0x0 said:
Kernel/ROM issue. The app always reads frequency settings from the kernel itself so if it's at something then it's there, if a setting doesn't stick then something else changes it, and if the frequency does not go to the max that is because the set governor and its correspondent tunables, as in load is not high enough for the governor to set it to max.
Click to expand...
Click to collapse
Fair enough...I appreciate the quick response. It's Franco's latest R8, so I'm guessing its his kernel. Dam.... good to know. Maybe time to go back to stock kernel on Sentinel ROM...wonder if I can change the freq's in that kernel
chugger93 said:
Fair enough...I appreciate the quick response. It's Franco's latest R8, so I'm guessing its his kernel. Dam.... good to know. Maybe time to go back to stock kernel on Sentinel ROM...wonder if I can change the freq's in that kernel
Click to expand...
Click to collapse
You might wanna read our FAQ as it contains some information of what inside a JB device that might change the set frequencies. This should be patched in the kernel or worked around in the ramdisk. I coded for the N10 without a device so it's hard for me to say more. As for the frequency doesn't go to max, it's likely because of the load as I told you. Touching the screen is a relatively light load so it might not go to max frequency at all. That's normal.
Sounds good...last question, how do u reset the CPU spy like stats? Sorry if this is already covered in the faq
chugger93 said:
Big eyes, I'm running trickster for the first time on the gnex and have a question. If I change the max freq from 1700 to 1600 and hit save. Then exit and go back in, its back to 1700. I then tried the freq lock option and that seems to work and it stays at 1600.
What's odd, is on the main screen (device status, core 0/1) it only goes to 1000mhz max. In realtime I mean....if I put my finger on the screen and move around it gets to 1000 but nothing higher. I'm wondering maybe if locking it down by checking that option basically locked it down to 1000 rather than 1600?
Confused..... Any thoughts? Thanks, great app
Click to expand...
Click to collapse
You can't change the max clock freg because you need a kernel with a patched PowerHAL, which Franco doesn't have.
It only goes to 1000mhz because this is how the interactive governor is tuned. If you put it under increased load it will eventually increase. If you go into the governor parameters on trickster for interactive you will see "hispeed_freq" will most likely be set to 1000000 (1GHZ), which means the CPU will jump to this immediately. You can play around with these parameters for battery/performance but Franco and a few testers tune them significantly, although his N10 kernel is very young compared to his N4 and N7 kernels where the settings have been tuned to a tee, and I think the N10 settings might have just been copied over as a reliable base.
We're going to close individual device thread to consolidate our app thread into one at http://forum.xda-developers.com/showthread.php?p=28659480 , please go there if you need to discuss anything related to our app.
Thread Closed as per OP....

Any way to get control over the cpu?

I've tried several apps that could get kernel access, but they either crash or fail to load. I'm rocking android 7.1.2.
Verdinex said:
I've tried several apps that could get kernel access, but they either crash or fail to load. I'm rocking android 7.1.2.
Click to expand...
Click to collapse
Don't have that problem; suggests a possible problem with bootloader unlock. Any issues securing root?
This is what I see after installing su14.zip arm non-64:
https://imgur.com/a/jnnOc03
Strangely enough, I can't see the root option in the developers panel and it should've been under 'demo mode'.
Can you run Kernel Adiutor? Could give me the name of the app you're using so I can check if it works.
Verdinex said:
This is what I see after installing su14.zip arm non-64:
https://imgur.com/a/jnnOc03
Strangely enough, I can't see the root option in the developers panel and it should've been under 'demo mode'.
Can you run Kernel Adiutor? Could give me the name of the app you're using so I can check if it works.
Click to expand...
Click to collapse
- "su14.zip"? Looks like run-of-the-mill "Advanced Root Checker" app which yields unreliable results IME
- "I'm rocking android 7.1.2" - based on your post history assume that means AEX customized for HDX??
- if AEX there is no integrated "root option"; however, it will expose all installed/working tools in "UI &UX" section
- I use multiple kernel apps including EX Kernel Manager and Kernel Adiutor to name a couple of popular ones; no issues
Davey126 said:
- "su14.zip"? Looks like run-of-the-mill "Advanced Root Checker" app which yields unreliable results IME
- "I'm rocking android 7.1.2" - based on your post history assume that means AEX customized for HDX??
- if AEX there is no integrated "root option"; however, it will expose all installed/working tools in "UI &UX" section
- I use multiple kernel apps including EX Kernel Manager and Kernel Adiutor to name a couple of popular ones; no issues
Click to expand...
Click to collapse
So which rom would you recommend instead? It seems this one has some issues regarding the root access. I've rooted my device with the file that can be found on official lineage website:
https://download.lineageos.org/extras
Verdinex said:
So which rom would you recommend instead? It seems this one has some issues regarding the root access. I've rooted my device with the file that can be found on official lineage website:
https://download.lineageos.org/extras
Click to expand...
Click to collapse
None of the popular HDX ROMs have "root access" issues. Your device, more accurately your firmware/software configuration, is the problem. Suggest a full wipe (all partitions) followed by a complete reinstall using the ROM of your choice. If issues persist it is likely the bootloader has not been fully/properly unlocked.
Davey126 said:
None of the popular HDX ROMs have "root access" issues. Your device, more accurately your firmware/software configuration, is the problem. Suggest a full wipe (all partitions) followed by a complete reinstall using the ROM of your choice. If issues persist it is likely the bootloader has not been fully/properly unlocked.
Click to expand...
Click to collapse
I've used magisk to root my device and everything's working fine now. I can run any kernel manager without much problem. Strangely enough, on demand cpu governor keeps my clocks at 300MHz. Interactive works a lot better. Is there any way to overclock my cpu without changing the kernel itself? I'd like to set single core at 2.2-2.3GHz and the rest at 1.9GHz to lower the temperature. 2.15 GHz is the maximum now.
Verdinex said:
I've used magisk to root my device and everything's working fine now. I can run any kernel manager without much problem. Strangely enough, on demand cpu governor keeps my clocks at 300MHz. Interactive works a lot better. Is there any way to overclock my cpu without changing the kernel itself? I'd like to set single core at 2.2-2.3GHz and the rest at 1.9GHz to lower the temperature. 2.15 GHz is the maximum now.
Click to expand...
Click to collapse
No way to overclock on stock kernel; there are no alternatives. Let interactive governor set the clocks and walk away. Twiddling CPU frequencies and other gov parameters on a handheld device of this type/vintage is a fools errand. Heat dissipation is not an problem unless you make it an issue with a thick/unventilated case after messing with CPU tunings. Just don't ...
Davey126 said:
No way to overclock on stock kernel; there are no alternatives. Let interactive governor set the clocks and walk away. Twiddling CPU frequencies and other gov parameters on a handheld device of this type/vintage is a fools errand. Heat dissipation is not an problem unless you make it an issue with a thick/unventilated case after messing with CPU tunings. Just don't ...
Click to expand...
Click to collapse
After playing around with different cpu governors, I discovered that the conservative mode is quite good when it comes demanding apps. Do you know an app that could allow me to set a particular cpu governors for different apps?
Verdinex said:
After playing around with different cpu governors, I discovered that the conservative mode is quite good when it comes demanding apps. Do you know an app that could allow me to set a particular cpu governors for different apps?
Click to expand...
Click to collapse
You'd have to roll your own script using a tool like Tasker or Xposed Edge.
Davey126 said:
You'd have to roll your own script using a tool like Tasker or Xposed Edge.
Click to expand...
Click to collapse
Thx, I'll stick to Kernel Adiutor it works really well and I can switch between governors on all core with a single button.

Categories

Resources