UPDATE:
For those who are still giving this a try there seems to be incompatibility with all ROMs that have switched to Unified build. The CM11 patch was intended to fix it, but I've not had a successful boot with the CM11 patch and any d2 unified builds. This may still work on certain ROMs that did not create unified builds based on CM, but otherwise this is likely obsolete. I will post an update if this is resolved through a workable patch!
Qualcomm-Optimized Dalvik Libraries for Faster Overall Dalvik Performance!
Everyone is talking about ART on 4.4 right now and once it is made final I imagine it is going to be a very impressive run-time...
It isn't here yet though and thanks to kszaq over in the Nexus 4 forums we have a Qualcomm-Optimized Dalvik library that is compatible with the S3 and improves performance of the Dalvik Cache on our phones!
I stumbled across this information in the Verizon S4 thread here which shows the benchmark improvements on the S4 and I figured, "why not our phone?" So I grabbed the 4.4.1 Gummy Rom and got to flashing. I did a scoring run in AnTuTu before and after and saw an increase of 500 points in the dalvik testing section.
In his FAQ he mentions that if you are on CM11 4.4.x, or something based on that build, that it may have an improved bionic library installed and it isn't necessary to flash it. Having said that I flashed both files and saw a performance gain. Try it on your 4.4 set-ups and let us know what works best. At the very least we can fill this thread with synthetic benchmark pics!
Bottom-line
Flash these files and enjoy the responsiveness boost (4.4 and 4.4.x only)
How to install:
1.) Read the Q&A below!
2.) Copy both files (optimized-bionic and optimized dalvik) to your internal or external SD
3.) Reboot into recovery and make a nandroid (always!)
4.)flash optimized-dalvik (optimized-bionic is optional)
5.) Wipe Dalvik Cache in the Advanced menu of CWM and PhilZ (thanks CNexus!)
6.) Reboot and enjoy!
Note: If you get to the point where the phone won't boot just use the restore file (KOT49E) first and if it still fails to boot restore your nandroid.
Here is the original thread and please thank kszaq while you are there: http://forum.xda-developers.com/showthread.php?t=2546120
Here is the Q&A that kszaq set-up on his post:
Before using, please read the following Q&A.
Q: Will this void my warranty?
A: Yes. Flash at your own risk.
Q: Can I use it?
A: Yes, if you're on any 4.4/4.4.x ROM.
Q: How does this work?
A: This patch consists of two files that include optimized bionic and Dalvik libraries for any KitKat ROM.
Q: What is bionic?
A: It is a vital system library that provides i.a. basic math and memory access functions to every other library and application in Android.
Q: What is Dalvik?
A: In short, Dalvik is a virtual machine in which every not-native-code app runs. You can read more about it in a Wikipedia article.
Q: How do I benefit from this patch?
A: In two ways: bionic patch provides faster memory access and optimized some of the math operations, dalvik provides optimized Dalvik Virtual Machine library that allows faster code execution.
Q: Do I need this patch?
A: It depends on what ROM you are using:
Originally Posted by xboxfanj
if you're on stock ROM, you'll benefit from flashing both bionic and dalvik patches, if you're using a custom ROM, you most probably don't need bionic patch, as these are already included in most custom ROMs. You'd benefit only from flashing dalvik patch (if it's not already included by your ROM maintainer, of course), don't use the bionic patch on CyanogenMod, PSX and probably others, because they already have more optimized versions!
Click to expand...
Click to collapse
Q: Why aren't these patches included in stock ROM?
A: As for bionic - I don't know. Maybe that's because Google didn't want to include vendor-specific optimizations in AOSP or maybe simply because Qualcomm never posted them in Android Code Review to be merged. As for dalvik - because they are closed-source. Here'a a good explanation by @xboxfanj:
Quote:
Originally Posted by xboxfanj
Part of the point of Nexus devices is that AOSP can produce nearly identical images minus GApps. Google would not use a proprietary dalvik as that is one of the core libraries. Using a proprietary dalvik would undermine AOSP. Although, an open libqc-dalvik or even just giving us that binary would be nice. Google could have a device specific extension similar to the adreno extensions onto renderscript and egl for dalvik. Proprietary dalvik won't happen, but an adreno extension could be cool.
Click to expand...
Click to collapse
Q: Where do these patches come from?
A: These have been authored by Qualcomm. Bionic patch comes from Code Aurora Forum, Dalvik library has been extracted from Moto X 4.4. ROM. Another good read by @xboxfanj:
Originally Posted by xboxfanj
CAF has all Qualcomm's bionic patches and slight dalvik tweaks, however, the dalvik patches that are used here in the Moto X and any QCOM (non-Nexus) device, are mostly closed source. If you look at the change here: https://www.codeaurora.org/cgit/quic...739455dfd3cf57
Click to expand...
Click to collapse
You will see that most of that change is supporting other libraries (libqc-opt and libqc-dalvik), which is where their optimizations are. Unfortunately, both of those are closed source. libqc-opt is included in QCOM ROM zips as a shared library, so we can use that, however, libqc-dalvik is a static library, so we can't pull that from anywhere, as it is included in the libraries themselves and not put in system. This means that our only option to get all of Qualcomm's dalvik optimizations is to use their binaries rather than building from source, since building from source would mean missing any optimizations brought by libqc-dalvik, libqc-sqlite, and libqc-skia (the last two haven't been included in any patch, but are QCOM static libraries).
TLDR: QCOM's dalvik optimizations are closed source, so we are forced to use their binaries.
Remember to thank @xboxfanj for his very useful posts!
Q: What is the reason for including installd file?
A: The installd binary is from stock Nexus 4 ROM and is included for compatibility with CyanogenMod and CM-based ROMs. This is because CyanogenMod changed installd to work with their dexopt-on-cache (see here: https://github.com/CyanogenMod/andro.../cmds/installd) and it you don't flash stock installd you'd get hundreds of FCs and unusable ROM.
Q: How do I use this patch?
A: Simple flash it over your current ROM in recovery. Remember to wipe Dalvik Cache after flashing. Full wipe is not needed.
Q: How do I revert?
A: Simply flash over your current ROM and wipe Dalvik Cache afterwards. Full wipe is not needed.
Q: Can I flash it over an ODEXed ROM?
A: Yes, but it is strongly recommended to use a deodexed ROM if you want to use Dalvik patch.
Q: How will this affect my battery life?
A: It will be at least the same, if not better. Better performance = less CPU time spent on calculations = better battery life.
Q: I don't see any performance gains in some app, why is that?
A: The dalvik patch doesn't affect apps that use native libraries, i.e. you won't see much performance gain in Chrome etc.
Q: I'm on X kernel, can I use it?
A: Yes, use it with any kernel you like.
Q: Can I use it on other devices?
A: Yes, you can use this patch on every Krait device that uses AOSP-based ROM (examples: Nexus 5, Nexus 7 2013). Don't flash it on stock ROM on non-Nexus devices, as they already include these optimizations (that includes Galaxy S4 and HTC One Google Play editions!).
Q: What if I use it on stock ROM and OTA arrives? Can I install the OTA straight away?
A: You can't. You have to revert to stock libraries first. Keep in mind that every modification to stock ROM can mean problems when installing an OTA. You should revert to fully stock ROM to properly apply an OTA. For your courtesy, there's a revert ZIP attached for KRT15S and KOT49E ROMs. Remember that the safest way it to flash system.img from a factory image before applying an OTA once you made modifications to your /system partition!
Q: Can I use these patches on 4.4.1/4.4.2 stock ROM (KOT49E/KOT49H)?
A: Yes, you can.
Q: Can I use ART with this patch installed?
A: Yes, but you won't see any performance gains. In fact, with this patch Dalvik is faster than ART. I suppose ART will supersede Dalvik in performance in the future, but not yet.
Q: Where can I see some benchmark results before I flash?
A: Head over to Nexus 4 Benchmarks thread.
Q: Do I need to be rooted to flash this?
A: No. The only thing you need is custom recovery (CWM, TWRP etc.).
Q: Do I have to flash these patches every time I install an update/new ROM?
A: Yes.
KOT49E revert ZIP == KOT49H revert ZIP
Click to expand...
Click to collapse
Thanks to:
kszaq for the files and the spectacular Q&A
Xboxfanj for his contribution to the Q&A
prsterero for trying it on his S4 first
Google for taking a company name and turning it into common household verb...and for the awesome library files that were on their device
and I want to thank everyone who takes the time to develop on XDA. All of you make our devices do amazing things :good:
I am limited to 8 thanks a day, but rest assured I will meet my quota!
I thought I would post some before and after stats from my device and see how they compare. I used Vellamo because it is optimized for Qualcomm processors and Android 4.4! So I ran the Metal Test to see if I get improvement in both categories. I also ran quadrant to see if it would reflect the same score increases. My test setup is Gummy Rom Nightly 12-14-13 4.4.2 w/ leankernel 9.0 Beta. Not overclocked and running interactiveX governor.
No Dalvik Optimization
Vellamo Metal Test: 630
Quadrant Benchmark: 5039
Only Optimized-Dalvik Flashed
Vellamo Metal: 623
Quadrant: 6365
Optimized Dalvik and Bionic Libraries Flashed
Vellamo Metal: 598
Quadrant: 6119
So it seems as far as Vellamo is concerned dalvik upgrade doesn't matter too much to the processor tests. However, the bionic library does make an impact as seen in the last test. Quadrant however showed marked improvement in a full benchmark run and I personally saw a loss in performance with the bionic libraries flashed. So on my device and setup I am going to run Optimized-dalvik only because the responsive seems to be higher overall.
I personally wanted to make sure it wasn't a placebo effect so here is the way I tested improvement you can see. On a clean install I would turn off the screen, turn it back on and then swipe left to get to the Google Now screen. Before flashing any of the optimized dalvik files I could see a small stutter as it would bring up the page. After I flashed optimized dalvik the small lag went away. That is how I am verifying it and mostly the phone seems smoother overall, especially with third party apps.
These were my results on one rom nightly and a specific kernel. If you get awesome results please let us know!
So did xboxfanj have his hands in this
Sent from my SPH-L710 using Tapatalk
bthorne79 said:
So did xboxfanj have his hands in this
Sent from my SPH-L710 using Tapatalk
Click to expand...
Click to collapse
My guess is yes. kszaq thanked him for his useful posts in the original thread and so I wanted to make sure I thanked him in mine. If I missed credit anywhere let me know and I'll edit it ASAP.
I'll give it a go I xboxfanj is a boss
Sent from my SPH-L710 using Tapatalk
---------- Post added at 08:58 PM ---------- Previous post was at 08:38 PM ----------
I can handle that gave me 1500 more
Sent from my SPH-L710 using Tapatalk
the bionic killed my S3
after flashing the bionic tweak , all I can see is the samsung logo and i get black screen.
kayiman74 said:
after flashing the bionic tweak , all I can see is the samsung logo and i get black screen.
Click to expand...
Click to collapse
depending on the custom rom you are using it may not play nicely if you try to change up the bionic math libraries. Did you nandroid restore and just flash the Dalvik?
Edit: I don't know why I forgot, but with the restore files you can flash the KOT49E from recovery and it will put both back to stock. Depending on the recovery you can push the files to your SD card without having to boot into your ROM. I can't tell you how because I don't know what recovery you use, but it would restore your phone back to the original libraries so you could just flash Dalvik.
Also keep in mind, you absolutely have to wipe Dalvik cache when you flash either or both of these files.
bthorne79 said:
I'll give it a go I xboxfanj is a boss
Sent from my SPH-L710 using Tapatalk
I can handle that gave me 1500 more
Sent from my SPH-L710 using Tapatalk
Click to expand...
Click to collapse
You scored about the same as a quad-core LG Optimus G in Quadrant at 7K and you actually blew by the Sprint Note 2 which scores a 6k and the Note 2 can't use these libraries to boost it's score. At least I don't think they can since it is an Exynos processor.
Not bad :thumbup:
Sent from my SPH-L710 using xda app-developers app
Gummy 12/15
Before and after. Flash of course the low number is before and stock kernel settings both
Sent from my SPH-L710 using xda app-developers app
Edit first one was still gummy but not 12/15 sorry just seen that
Alright I need the two of you to stop holding out because I can't even break 6700 and I'm OC stable at 1.7Ghz on Leankernel 9.0 on Gummy 12/15. I want to be in the 7000 range
This mod has my zedge app setting a new wallpaper at every boot on cyanfox, I don't mind because it makes my phone run fantastic, just thought I would mention it.
Sent from my SPH-L710 using XDA Premium 4 mobile app
sickboy82 said:
This mod has my zedge app setting a new wallpaper at every boot on cyanfox, I don't mind because it makes my phone run fantastic, just thought I would mention it.
Sent from my SPH-L710 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I kind of like that idea lol. I get bored of my wallpaper so fast.
But I agree. My phone is running amazing using this That's the highest quadrant I've ever had on this phone. I've tried ART and this works to make the dalvik just as fast as it does.
Sent from my SPH-L710 using xda app-developers app
---------- Post added at 07:18 PM ---------- Previous post was at 06:49 PM ----------
AlkaliV2 said:
Alright I need the two of you to stop holding out because I can't even break 6700 and I'm OC stable at 1.7Ghz on Leankernel 9.0 on Gummy 12/15. I want to be in the 7000 range
Click to expand...
Click to collapse
Here's my set up
I'm using cm11 nightly 12/15 with BMS kernel under clocked to 189 -1512 undervolted -75 / -50 sioplus/smartmax (changed sample rate to 50000)
Gpu - simple
I also am experiencing superior battery life.. Around 24 hrs 3 hr screen time stock battery.
I changed governors to performance for quadrant and didn't change voltage or over clock. Any time I would try to over clock and take the test my score would be lower.
Sent from my SPH-L710 using xda app-developers app
ksmullins88 said:
Here's my set up
I'm using cm11 nightly 12/15 with BMS kernel under clocked to 189 -1512 undervolted -75 / -50 sioplus/smartmax (changed sample rate to 50000)
Gpu - simple
I also am experiencing superior battery life.. Around 24 hrs 3 hr screen time stock battery.
I changed governors to performance for quadrant and didn't change voltage or over clock. Any time I would try to over clock and take the test my score would be lower.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I think it is strange that overclocking lowers the score. I jump up a bracket in the Vellamo metal test and blow away the normal S3 benchmark numbers at 1.7Ghz. I will need to give BMS a try even though it is getting reports of not working on Gummy ROM. It is the only kernel I haven't tried so far. Thanks for sharing your setup!
Following.
Successfully flashed on CM11 12/24 nightly with BMS kernel. Scores are typical to what's been posted here by others. Thanks OP...
AlkaliV2 said:
I thought I would post some before and after stats from my device and see how they compare. I used Vellamo because it is optimized for Qualcomm processors and Android 4.4! So I ran the Metal Test to see if I get improvement in both categories. I also ran quadrant to see if it would reflect the same score increases. My test setup is Gummy Rom Nightly 12-14-13 4.4.2 w/ leankernel 9.0 Beta. Not overclocked and running interactiveX governor.
No Dalvik Optimization
Vellamo Metal Test: 630
Quadrant Benchmark: 5039
Only Optimized-Dalvik Flashed
Vellamo Metal: 623
Quadrant: 6365
Optimized Dalvik and Bionic Libraries Flashed
Vellamo Metal: 598
Quadrant: 6119
So it seems as far as Vellamo is concerned dalvik upgrade doesn't matter too much to the processor tests. However, the bionic library does make an impact as seen in the last test. Quadrant however showed marked improvement in a full benchmark run and I personally saw a loss in performance with the bionic libraries flashed. So on my device and setup I am going to run Optimized-dalvik only because the responsive seems to be higher overall.
I personally wanted to make sure it wasn't a placebo effect so here is the way I tested improvement you can see. On a clean install I would turn off the screen, turn it back on and then swipe left to get to the Google Now screen. Before flashing any of the optimized dalvik files I could see a small stutter as it would bring up the page. After I flashed optimized dalvik the small lag went away. That is how I am verifying it and mostly the phone seems smoother overall, especially with third party apps.
These were my results on one rom nightly and a specific kernel. If you get awesome results please let us know!
Click to expand...
Click to collapse
C is being used in the Android NDK. I wouldn't be surprised if ART is built to take advantage of this too. I think Google is investing heavily in the low level code, because Android is gaining momentum as an embedded OS.
Wow nice.Would this mod work on International Samsung Galaxy S3 I9300 model?
i searching temasek ROM and Ressurection Remix... im not sure if this is included
Simonna said:
Wow nice.Would this mod work on International Samsung Galaxy S3 I9300 model?
Click to expand...
Click to collapse
Look at the title, emphasis on Qualcomm. The international model uses an exynos processor and not a Qualcomm one, so no, it will not work.
Related
Introducing Trickster MOD, bringing Trickster experience to virtually every ROM out there.
Users using Trickster ROM 1.2.1 or newer can use this MOD to update
This CWM zip include the binaries and scripts I used for optimization in Trickster ROM. What it can do/set:
- Zipalign and sqlite DB optimization at boot
- Some android properties tweaks with mobile network speed tweak
- Screen state optimization for kernel task scheduler and virtual memory management (ch33kybutt)
- Set I/O scheduler, read ahead buffer, CPU scaling governor, min and max CPU speed
Following features are dependent on kernel features:
- Color (applied by default), contrast and gamma tweaks
- Generic hotplug
- CPU Temp limit
- Minimal SmartReflex voltage of Core, IVA, and MPU domains
- Nominal SmartReflex voltage for Core, IVA, and MPU domains
- Regulator voltages
- GLaDOS live OC of Core, GPU and MPU
- WIFI mode for screen off (power saving or full speed)
- Vibrator strength
- Headset volume boost
- High performance sound
- Force fast charge
- Battery live extender
- Touch wake and touch wake duration
- fsync control
Download
Trickster MOD 20120709
Control App
Changelogs
Requirements:
- CWM
- Someone who understands instructions below
Installation/Update instructions:
- Reboot to CWM recovery
- Do a nandroid if you're scared (recommended in case you have problem)
- Install zip from sdcard
- Reboot the phone
- If you see /sdcard/trickster directory with configuration files inside then this mod installed successfully
Usage:
By default Trickster color, some android property regarding UI smoothness and mobile data speed tweaks and screen state optimization are applied. If you want to change additional settings then either use the app or :
- Go to /sdcard/trickster directory, you'll see at most four following configuration files, depending on kernel features:
. color.conf: color related tweak
. general.conf: generic tweaks like zipalign, sqlite, and screenstate optimization
. kern_general.conf: generic kernel tweaks like CPU speed, governor, IO scheduler and readahead buffer
. kern_specific.conf: specific kernel features like sound control, WIFI power, fast charge... - Edit any above file to change the settings you want using app like ES Explorer, Root Explorer..., instructions included inside
- Settings are automatically applied when user saves any of these files
- Some changes require restarting your phone
- To check log to see if it works use "logcat|grep Trickster" from adb/terminal
Reinstall boot service, Reset settings, Removal instructions:
- If you install a new kernel that includes ramdisk (boot.img format like franco or leanKernel), you can either reinstall Trickster MOD, run "tricks install" from adb root shell or terminal, or apply this CWM zip from recovery.
- You can delete a configuration file, files, or entire /sdcard/trickster directory to reset to default settings for a file, files or all configuration respectively
- If you mess up and can't boot, say aggressive OC/UV , use this CWM zip to reset
- If you want to uninstall, use this CWM zip
Credits:
- Google
- Our great kernel devs
- chainfire for SuperSU and su
- stericson for busybox
- ch33kybutt's for his brilliant idea on screen state optimizations
- Beta testers for your dedication in testing this
- nexus.prime for his unintallation script
- phone_user for init.d CWM zip
- Anyone I learnt from
Disclaimer: This is provided with NO GUARANTY whatsoever. Use your common sense.
Beta test: If you want to test my stuffs, including other things beside this. Contact me through PM.
First
Thanks for this! Downloading now
Sent from my Galaxy Nexus using XDA
tanner4137 said:
First
Thanks for this! Downloading now
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
DERP!
Looks great! @OP, I remember your contributions in Franco's thread. Will any of these modifications conflict with his setup?
Cheers,
mazubo said:
Looks great! @OP, I remember your contributions in Franco's thread. Will any of these modifications conflict with his setup?
Cheers,
Click to expand...
Click to collapse
No, it won't. This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
TBH with the recent CM episode I felt this is needed even more, screw them all. My script or app won't include things that won't work with CM like what they did, I assure you.
bigeyes0x0 said:
No, it won't. This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
TBH with the recent CM episode I felt this is needed even more, screw them all. My script or app won't include things that won't work with CM like what they did, I assure you.
Click to expand...
Click to collapse
Awesome, thank you! I'm currently running paranoid android which is cm9 base.
I'll report back!
bigeyes0x0 said:
...
This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
...
Click to expand...
Click to collapse
Cooool!
---------- Post added at 02:39 PM ---------- Previous post was at 02:14 PM ----------
Hi bigeyes0x0
Air kernel V1.3 changed many things
http://forum.xda-developers.com/showpost.php?p=26318191&postcount=3
Woooow, Thank you !!
nexus.prime said:
Hi bigeyes0x0
Air kernel V1.3 changed many things
http://forum.xda-developers.com/showpost.php?p=26318191&postcount=3
Click to expand...
Click to collapse
It's fine, the mod is already written in a way that it can handle update like this with ease. If there's actually a new sysfs that isn't exist anywhere else, I will add it if I deem it necessary. If that were not the case I would be in for maintenance hell for every kernel of every dev's update .
r_data said:
Woooow, Thank you !!
Click to expand...
Click to collapse
You're welcome. I actually wanted to get into kernel dev before but it seems like destiny is a ***** and I am stuck with these, as I am not going able to find enough time to care for my ROM, this mod, the app that I wanted to create and a kernel to add to these. Ranting aside, I'm fine with how things are .
Where is trickster.conf?
Don't understand, I installed the zip, but no trickster.conf appeared in /sdcard...
Ok, probably a dumb question,
But can these literally be used on ANY rom?
Or at least any ICS rom?
For example, would this be useful on a moto atrix running ICS? (CM9 based)
There a few ICS roms for the atrix floating around and I just wanna know if I should share this thread with some of the devs over there?
I do have a G-nex that ive been able to play with over the last couple days, and its sweet! If I flash this mod, are there any noticeable changes right off the bat, or just after imputing a command through terminal?
Thanks, and nice job
sperug said:
Don't understand, I installed the zip, but no trickster.conf appeared in /sdcard...
Click to expand...
Click to collapse
Your ROM does not have init.d function, I think
forum.xda-developers.com/showpost.php?p=21232559&postcount=2
Sent from my Galaxy Nexus
Will this work without a custom rom, 4.04 boot unlocked with root and custom kernel?
Sent from my BlackBerry 9700 using Tapatalk
ATRIXXIRTA said:
Ok, probably a dumb question,
But can these literally be used on ANY rom?
Or at least any ICS rom?
For example, would this be useful on a moto atrix running ICS? (CM9 based)
There a few ICS roms for the atrix floating around and I just wanna know if I should share this thread with some of the devs over there?
I do have a G-nex that ive been able to play with over the last couple days, and its sweet! If I flash this mod, are there any noticeable changes right off the bat, or just after imputing a command through terminal?
Thanks, and nice job
Click to expand...
Click to collapse
Theoretically, it should work anywhere with an ARMv7 CPU and Android 2.3 or higher but this has been tested only on GNex varieties by me and my testers. Still as I wrote this for GNex kernels, this script of course can't change kernel features that this script does not have. Basically I think it should work but with limited functionality, to be sure just nandroid first before applying it. Still I do not support this in anyway so don't come crying to me later if anything happens and I won't answer question regarding this script and other devices further. I do believe it has some values for any device out there, but it needs ppl with some knowledge to tweak it.
EVERED78 said:
Will this work without a custom rom, 4.04 boot unlocked with root and custom kernel?
Sent from my BlackBerry 9700 using Tapatalk
Click to expand...
Click to collapse
Yeah, it should.
nexus.prime said:
Your ROM does not have init.d function, I think
forum.xda-developers.com/showpost.php?p=21232559&postcount=2
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Thanks for this, I will add this info in the first post.
any pics?
There's no pic for this, it's for tweaking and enhance ROM usability, battery life and performance.
ds4 said:
any pics?
Click to expand...
Click to collapse
Rotflmao. Apparently some people have alot to learn.
Sent from my i9250 (GSM) Galaxy Nexus
Anyone tried it on AOKP b37? Any noticeable improvement?
eRajesh said:
Anyone tried it on AOKP b37? Any noticeable improvement?
Click to expand...
Click to collapse
Don't work for me... Lost navbar and notification bar..
Sent from my Galaxy Nexus using XDA
Works lovely on Liquid 1.4
Sent from my i9250 (GSM) Galaxy Nexus
Qualcomm Optimized Dalvik Cache Upgrade (for 4.4/4.4.x ROMs)
Everyone is talking about ART on 4.4 right now and once it is made final I imagine it is going to be a very impressive run-time...
It isn't here yet though and thanks to kszaq over in the Nexus 4 forums we have a Qualcomm-Optimized Dalvik library that has shown compatibility with the Nexus 4, the Galaxy S3, S4, and improves performance of the Dalvik Cache!
I do not own a Optimus G, but I would like to. I also know from researching your devices that you all have a Qualcomm processor in your phones and will likely see a performance increase from these files the way other devices did.
I stumbled across this information in the Verizon S4 thread here which shows the benchmark improvements on the S4 and I figured, "why not my phone?" Turns out it worked great on my phone raising my benchmark scores and improved overall responsiveness.
In his FAQ he mentions that if you are on CM11 4.4.x, or something based on that build, that it may have an improved bionic library installed and it isn't necessary to flash it. Having said that I flashed my phone both ways and saw that optimized-dalvik alone and got the best score. Try it on your 4.4 set-ups and let us know what works best. At the very least we can fill this thread with synthetic benchmark pics!
Bottom-line
Flash these files and enjoy the responsiveness boost (4.4 and 4.4.x only)
How to install:
1.) Read the Q&A below!
2.) Copy both files (optimized-bionic and optimized dalvik) to your internal or external SD
3.) Reboot into recovery and make a nandroid backup (always)
4.) flash optimized-dalvik zip (optimized-bionic is optional)
4.) Wipe Dalvik Cache
5.) Reboot and enjoy!
Make sure to download the restore files to your phone as well so if for some crazy reason it doesn't boot you can go to recovery and reflash the stock files.
Here is the original thread and please thank kszaq while you are there: http://forum.xda-developers.com/showthread.php?t=2546120
Here is the Q&A that kszaq set-up on his post:
Before using, please read the following Q&A.
Q: Will this void my warranty?
A: Yes. Flash at your own risk.
Q: Can I use it?
A: Yes, if you're on any 4.4/4.4.x ROM.
Q: How does this work?
A: This patch consists of two files that include optimized bionic and Dalvik libraries for any KitKat ROM.
Q: What is bionic?
A: It is a vital system library that provides i.a. basic math and memory access functions to every other library and application in Android.
Q: What is Dalvik?
A: In short, Dalvik is a virtual machine in which every not-native-code app runs. You can read more about it in a Wikipedia article.
Q: How do I benefit from this patch?
A: In two ways: bionic patch provides faster memory access and optimized some of the math operations, dalvik provides optimized Dalvik Virtual Machine library that allows faster code execution.
Q: Do I need this patch?
A: It depends on what ROM you are using:
Originally Posted by xboxfanj
if you're on stock ROM, you'll benefit from flashing both bionic and dalvik patches, if you're using a custom ROM, you most probably don't need bionic patch, as these are already included in most custom ROMs. You'd benefit only from flashing dalvik patch (if it's not already included by your ROM maintainer, of course), don't use the bionic patch on CyanogenMod, PSX and probably others, because they already have more optimized versions!
Click to expand...
Click to collapse
Q: Why aren't these patches included in stock ROM?
A: As for bionic - I don't know. Maybe that's because Google didn't want to include vendor-specific optimizations in AOSP or maybe simply because Qualcomm never posted them in Android Code Review to be merged. As for dalvik - because they are closed-source. Here'a a good explanation by @xboxfanj:
Quote:
Originally Posted by xboxfanj
Part of the point of Nexus devices is that AOSP can produce nearly identical images minus GApps. Google would not use a proprietary dalvik as that is one of the core libraries. Using a proprietary dalvik would undermine AOSP. Although, an open libqc-dalvik or even just giving us that binary would be nice. Google could have a device specific extension similar to the adreno extensions onto renderscript and egl for dalvik. Proprietary dalvik won't happen, but an adreno extension could be cool.
Click to expand...
Click to collapse
Q: Where do these patches come from?
A: These have been authored by Qualcomm. Bionic patch comes from Code Aurora Forum, Dalvik library has been extracted from Moto X 4.4. ROM. Another good read by @xboxfanj:
Originally Posted by xboxfanj
CAF has all Qualcomm's bionic patches and slight dalvik tweaks, however, the dalvik patches that are used here in the Moto X and any QCOM (non-Nexus) device, are mostly closed source. If you look at the change here: https://www.codeaurora.org/cgit/quic...739455dfd3cf57
Click to expand...
Click to collapse
You will see that most of that change is supporting other libraries (libqc-opt and libqc-dalvik), which is where their optimizations are. Unfortunately, both of those are closed source. libqc-opt is included in QCOM ROM zips as a shared library, so we can use that, however, libqc-dalvik is a static library, so we can't pull that from anywhere, as it is included in the libraries themselves and not put in system. This means that our only option to get all of Qualcomm's dalvik optimizations is to use their binaries rather than building from source, since building from source would mean missing any optimizations brought by libqc-dalvik, libqc-sqlite, and libqc-skia (the last two haven't been included in any patch, but are QCOM static libraries).
TLDR: QCOM's dalvik optimizations are closed source, so we are forced to use their binaries.
Remember to thank @xboxfanj for his very useful posts!
Q: What is the reason for including installd file?
A: The installd binary is from stock Nexus 4 ROM and is included for compatibility with CyanogenMod and CM-based ROMs. This is because CyanogenMod changed installd to work with their dexopt-on-cache (see here: https://github.com/CyanogenMod/andro.../cmds/installd) and it you don't flash stock installd you'd get hundreds of FCs and unusable ROM.
Q: How do I use this patch?
A: Simple flash it over your current ROM in recovery. Remember to wipe Dalvik Cache after flashing. Full wipe is not needed.
Q: How do I revert?
A: Simply flash over your current ROM and wipe Dalvik Cache afterwards. Full wipe is not needed.
Q: Can I flash it over an ODEXed ROM?
A: Yes, but it is strongly recommended to use a deodexed ROM if you want to use Dalvik patch.
Q: How will this affect my battery life?
A: It will be at least the same, if not better. Better performance = less CPU time spent on calculations = better battery life.
Q: I don't see any performance gains in some app, why is that?
A: The dalvik patch doesn't affect apps that use native libraries, i.e. you won't see much performance gain in Chrome etc.
Q: I'm on X kernel, can I use it?
A: Yes, use it with any kernel you like.
Q: Can I use it on other devices?
A: Yes, you can use this patch on every Krait device that uses AOSP-based ROM (examples: Nexus 5, Nexus 7 2013). Don't flash it on stock ROM on non-Nexus devices, as they already include these optimizations (that includes Galaxy S4 and HTC One Google Play editions!).
Q: What if I use it on stock ROM and OTA arrives? Can I install the OTA straight away?
A: You can't. You have to revert to stock libraries first. Keep in mind that every modification to stock ROM can mean problems when installing an OTA. You should revert to fully stock ROM to properly apply an OTA. For your courtesy, there's a revert ZIP attached for KRT15S and KOT49E ROMs. Remember that the safest way it to flash system.img from a factory image before applying an OTA once you made modifications to your /system partition!
Q: Can I use these patches on 4.4.1/4.4.2 stock ROM (KOT49E/KOT49H)?
A: Yes, you can.
Q: Can I use ART with this patch installed?
A: Yes, but you won't see any performance gains. In fact, with this patch Dalvik is faster than ART. I suppose ART will supersede Dalvik in performance in the future, but not yet.
Q: Where can I see some benchmark results before I flash?
A: Head over to Nexus 4 Benchmarks thread.
Q: Do I need to be rooted to flash this?
A: No. The only thing you need is custom recovery (CWM, TWRP etc.).
Q: Do I have to flash these patches every time I install an update/new ROM?
A: Yes.
KOT49E revert ZIP == KOT49H revert ZIP
Click to expand...
Click to collapse
Thanks to:
kszaq for the files and the spectacular Q&A
Xboxfanj for his contribution to the Q&A
prsterero for trying it on his S4 first
Google for taking a company name and turning it into common household verb...and for the awesome library files that were on their device
and I want to thank everyone who takes the time to develop on XDA. All of you make our devices do amazing things :good:
So does this work?
Sent from my Optimus G using Tapatalk
hazedabeast said:
So does this work?
Sent from my Optimus G using Tapatalk
Click to expand...
Click to collapse
It did for me and several others over in the Sprint S3 thread (not to mention all those in the S4 and Nexus 4 threads). I thought you all might be able to get some use out of it too, but since I don't have your phone I was hoping you all could tell me? If you decide to test it please post your results! :good:
9000 in Quadrant, something higher in Antutu, seems to make performance a bit better.
I've been running these for awhile. Already included on PSX and I'll put them in Vanir as well.
Test: CM11 (12-19 Nightly) LGOG Stock vs. Optimized libraries using AnTuTu benchmark.
Methods: I ran the benchmark four times on stock and four times with the optimized libraries. I threw out the lowest score of each set and averaged the remaining three. Between each run, I waited for the phone to cool down to 28ºC (using an IR thermometer directed at the hottest point at the rear top of the phone). Airplane mode was enabled, screen was at minimum brightness. I am not using a custom kernel nor any kernel tweaks.
Results (See attached chart):
For those unable to view the attached chart:
Stock / Optimized / %Change
Multitask: 3760 / 3775 / 0.4%
Dalvik: 1313 / 1820 / 38.6%
CPU Int.: 2196 / 2198 / 0.1%
CPU Float: 1843 / 2045 / 11.0%
RAM Operations: 919 / 1025 / 11.6%
RAM Speed: 970 / 965 / -0.6%
2D Graphics: 1627 / 1629 / 0.1%
3D Graphics: 6174 / 5976 / -3.2%
Storage I/O: 1146 / 1155 / 0.8%
Database I/O: 628 / 628 / 0.0%
aero449 said:
Test: CM11 (12-19 Nightly) LGOG Stock vs. Optimized libraries using AnTuTu benchmark.
Methods: I ran the benchmark four times on stock and four times with the optimized libraries. I threw out the lowest score of each set and averaged the remaining three. Between each run, I waited for the phone to cool down to 28ºC (using an IR thermometer directed at the hottest point at the rear top of the phone). Airplane mode was enabled, screen was at minimum brightness. I am not using a custom kernel nor any kernel tweaks.
Results (See attached chart):
For those unable to view the attached chart:
Stock / Optimized / %Change
Multitask: 3760 / 3775 / 0.4%
Dalvik: 1313 / 1820 / 38.6%
CPU Int.: 2196 / 2198 / 0.1%
CPU Float: 1843 / 2045 / 11.0%
RAM Operations: 919 / 1025 / 11.6%
RAM Speed: 970 / 965 / -0.6%
2D Graphics: 1627 / 1629 / 0.1%
3D Graphics: 6174 / 5976 / -3.2%
Storage I/O: 1146 / 1155 / 0.8%
Database I/O: 628 / 628 / 0.0%
Click to expand...
Click to collapse
Thanks for this bro :thumbup::thumbup:
Sent from my LG-LS970 using xda app-developers app
thanks for this!:good:
Thanks!
Sent from my LG-LS970 using xda app-developers app
Will this make my LG Optimus G on Cyanogenmod 11 with ART runtime enabled run faster and smoother? Using stock kernel that came with Cyanogenmod 11 ROM.
RegKilla said:
Will this make my LG Optimus G on Cyanogenmod 11 with ART runtime enabled run faster and smoother? Using stock kernel that came with Cyanogenmod 11 ROM.
Click to expand...
Click to collapse
Q: Can I use ART with this patch installed?
A: Yes, but you won't see any performance gains. In fact, with this patch Dalvik is faster than ART. I suppose ART will supersede Dalvik in performance in the future, but not yet.
Click to expand...
Click to collapse
No.
Holy Crap! Thanks for this!
These caused my LG Optimus G to lag while surfing online multiple times so I reverted back to ART runtime and all is back to fast, flawless operation.
Crap I flashed bionic on cm 11 I didn't get any errors or anything so that's good at least.
Thanks for this
Sent from my LG-LS970
Greatness83 said:
Crap I flashed bionic on cm 11 I didn't get any errors or anything so that's good at least.
Thanks for this
Sent from my LG-LS970
Click to expand...
Click to collapse
It's not bad. Just not necessary.
Sent from my Optimus G using xda app-developers app
aero449 said:
Test: CM11 (12-19 Nightly) LGOG Stock vs. Optimized libraries using AnTuTu benchmark.
Methods: I ran the benchmark four times on stock and four times with the optimized libraries. I threw out the lowest score of each set and averaged the remaining three. Between each run, I waited for the phone to cool down to 28ºC (using an IR thermometer directed at the hottest point at the rear top of the phone). Airplane mode was enabled, screen was at minimum brightness. I am not using a custom kernel nor any kernel tweaks.
Results (See attached chart):
For those unable to view the attached chart:
Stock / Optimized / %Change
Multitask: 3760 / 3775 / 0.4%
Dalvik: 1313 / 1820 / 38.6%
CPU Int.: 2196 / 2198 / 0.1%
CPU Float: 1843 / 2045 / 11.0%
RAM Operations: 919 / 1025 / 11.6%
RAM Speed: 970 / 965 / -0.6%
2D Graphics: 1627 / 1629 / 0.1%
3D Graphics: 6174 / 5976 / -3.2%
Storage I/O: 1146 / 1155 / 0.8%
Database I/O: 628 / 628 / 0.0%
Click to expand...
Click to collapse
I am runing stock E97510h unrootrd and my antutu numbers are pretty much the same as the aforementioned optimize ones. There is no doubt that LG stock rom is fully qualcomm optimized and i wonder why nobody extracted the qualcomm libraries from our phone and we are dealing with moto X's files and aosp kitk kat roms.
atsimeri said:
I am runing stock E97510h unrootrd and my antutu numbers are pretty much the same as the aforementioned optimize ones. There is no doubt that LG stock rom is fully qualcomm optimized and i wonder why nobody extracted the qualcomm libraries from our phone and we are dealing with moto X's files and aosp kitk kat roms.
Click to expand...
Click to collapse
As I said in the thread, most Qualcomm devices except Nexus devices already have these optimizations on stock, however, most AOSP ROMs do not.
These optimizations are more OS specific than device specific (same file is used on Moto G, Moto X, HTC One, and more on 4.4), so that is why we don't use the ones from stock. Those are old and there is no reason to use them, since they are no more compatible with our device than files pulled from a 4.4.2 device.
Motorola does not change the dalvik optimization library, nor does any manufacturer because they do not have the source code for it as far as I know, which explains why they haven't made their own tweaks.
There are three versions I've seen so far on KitKat: 2.5.11 (on the Moto X 4.4 as well as GPe 4.4 devices), 2.5.15 (used on 4.4.2, such as HTC One GPe, LG GPad 8.3 GPe, etc) and 2.5.18, which I have not seen outside of leaks, but is the newest I've come across.
libqc-opt (Qualcomm's optimization library) is used in a number of ways: for the PowerHAL (power library that deals with frequencies, part of the JellyBean Project Butter Speed Enhancements), for SKIA (web browser graphics rendering), for SQLITE (don't remember exactly what this is), and Qualcomm's Performance class in framework.
The performance class I have not tested yet, but could provide some enhancements. It allows apps such as games to control your CPU frequency to make it go faster. Not sure what uses it though. I know LG's camera does, but if it's limited to OEM apps, there is no reason to implement it on AOSP. I'll keep looking into it.
In other news, new dalvik zip coming today or tomorrow in the Nexus thread with the latest optimizations from Qualcomm and AOSP. Stay tuned.
Before and after on Carbon 4.4.2
Sent from my LG-LS970 using XDA Premium 4 mobile app
Does the optimizations work on Galaxy S4 I9505 running stock odexed Touchwiz Kitkat 4.4.2 ROM? I afraid it might mess up my system.
haoyangw said:
Does the optimizations work on Galaxy S4 I9505 running stock odexed Touchwiz Kitkat 4.4.2 ROM? I afraid it might mess up my system.
Click to expand...
Click to collapse
Some people shouldn't go around modifying their Android smartphones...
haoyangw said:
Does the optimizations work on Galaxy S4 I9505 running stock odexed Touchwiz Kitkat 4.4.2 ROM? I afraid it might mess up my system.
Click to expand...
Click to collapse
LOL just read the op, please.
The first time I made AdaMax was for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
This week, i successed compiling for the s4 with 5410 cpu. As we know GT-I9500, GT-I9502 and SCH-I959. They share almost same compiling configure and their own ramdisk. So I compile them together with almost same features.
At last, I have to make following declarations, AGAIN:
Take your own risk and responsibility on flashing this kernel. I am not responsibale for any loss of your hardware, software, data or warranty.
Read this OP from start to finish before flashing the packages or asking any questions. There is a Q&A section. Any questions already answered will be ignored by me and may be insulted by other members. So save your your keyboard, your time and your data traffic.
No ETAs.
Don't ask me to make this kernel for a specific rom. There are basically only two kinds of roms, AOSP and TouchWiz. So I compile for these two kinds with differnet SDK levels. If it dose not work on some rom, don't blame me and ask me to adapt the rom for it.
If you found a new version, but its download link is not directly showed in this OP, that means it is a version I don't think good enough to be a release. So take your own risk to use it. I will remember your feedback, try to make changes, but not respond with posts.
Thanks to a lot of people, I will add their names here... @wanam, [email protected], @Dees_Troy and Team Win, @AndreiLux
As my habit, I always put the download link first:
v15: https://github.com/maxfu/android_kernel_samsung_exynos5410/releases/tag/v15-9500
File name instruction:
touchwiz: for most used international GT-I9500 with exynos5410 cpu.
aosp: for AOSP KitKat 4.4 roms like CM, ramdisk comes from CM 11
kk442: kernel for KitKat 4.4.2
jb43: kernel for Jelly Bean 4.3
jb442: kernel for Jelly Bean 4.2.2
lite: live version is built with stock zImage and maxfour initrd. It has limited maxfour features. And sometimes selinux f**ks up the STweaks.
boot: system kernel package
recovery: recovery kernel package
kernel: system + recovery combined kernel package
*.tar/*.tar.md5: Odin package
*.zip: CWM/TWRP recovery package
example.1: boot-i9500-aosp kk442-v10f1tc.zip means a system kernel image CWM/TWRP flashable package for international I9500 with TouchWiz KitKat 4.4.2 roms.
example.2: kernel-i9500-aosp-kk442-v10f1tc.tar.md5 means a system recovery combined odin package for international I9500 with AOSP roms like CM.
Old versions:
v14: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v14/GT-I9500/
v13: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v13/GT-I9500/
v12: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v12/GT-I9500/
v11: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v11/GT-I9500/
v10f1: https://sourceforge.net/projects/maxfuacm/files/Kernel/MaxFour/v10f1/GT-I9500/
You can always go to the following addresses to see whether there is a new version:
https://github.com/maxfu/android_kernel_samsung_exynos5410/wiki
https://github.com/maxfu/android_kernel_samsung_exynos5410/releases
I open the issue section for the source code, you can report problems here. Please provide at least version aosp/touchwiz jb/kk.
https://github.com/maxfu/android_kernel_samsung_exynos5410/issues/new
The source code:
You can
git clone https://github.com/maxfu/android_kernel_samsung_exynos5410.git
git clone https://github.com/maxfu/initramfs_samsung_galaxy_s4.git
git clone https://github.com/maxfu/toolchains.git
use the build.sh for exynos in toolchains/script ro build the kernel.
you need to su before build the kernel cause the ramdisk belongs to root.
Since this is a side product of my kernel for GT-I9502 which is the phone I am currently using. I don't actually test this build for GT-I9500, so I really need feedback. And please backup your rom before using this.
Features:
Built with OSRC KK 4.4 source and ramdisk, now it should work on many 4.4 roms.
Contains most features from Adam kernel including Wolfson Audio Control. For I9502 which uses yamaha sound chip, Wolfson Audio Control will be hidden automatically since it does not work.
From v10, the kernel is renamed to MaxFour due to wamam's request.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format to make smaller images.
Native exfat support based on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores. Frequencies over stock like 1.7GHz for big cores and 1.3G for little cores are implemented in tc*/overclock version.
Added more STweaks settings which are not included in Adam kernel, including CPU power management, Tools with reboot options, GPU settings, CPU governor.
Android logger is compiled as standanlone module, so user can disable it completely to save power.
Tc/overclock version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Built-in Seeder entropy generator to provide lag reduction although it is not significant as it was on Gingerbread.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Built-in Asynchronous Fsync
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting, selinux will be set to permissive with the boot command line.
init.d support.
A lot of changes and fixes.
Disabled a lot of rarely used devices support.
PS:
*1. TC means turbocharged, so it is overclock
Change Log:
v15:
Rebuild with GT-I9502 CHN KK Opensource from OSRC.
Upgrade KSM (Kernel Samepage Merging) to uksm (Ultra KSM) which has Super quiet CPU usage, Ultra scan speed and High CPU efficiency.
Support init.d.
Lower CPU frequencies presented in previous versions, voltage options coming soon.
GPU tweak presented in previous versions.
STweaks cueerntly unsupported, coming soon.
mDNIe and Sound Control coming soon.
AOSP support coming soon.
v14:
Upgrade kernel to 3.4.10
Implement AES-ARM and SHA1-ARM crypto algorithm
Rollback selinux related script to v11
v13:
Rebuilt source tree from HNC6 source.
Most features kept
INT, MIF, MEMIO settings removed, these should not be touched
Should be much better than v12
Fixed video bug for AOSP, I think it is fixed
Upgraded AOSP initramfs, may fix the modem/signal problem
Set ro.secure and ro.adb.secure to 0
Camera lag? Less.
Upgraded busybox
v12:
I don't want to talk about it, this version is totally a rubbish
v11:
STweaks: Added Chinese UI, works on Chinese system, when the language is set to other ones, English UI will show. An templete is provided for more translations.
STweaks: Added boost mode in the Misc tab. The boost mode is found when the news of Samsung cheating on benchmark softwares came out. When a benchmark software is detacted running, the boost mode will be on to allow higher temprature and faster CPU scaling. Simply turn on this mode will not provide any visable change, it should be used with CPU, GPU, INT, MIF clock operations.
STweaks: Added control for Internal, Memory Interface and Memory I/O.
STweaks: Added a button to switch the USB mode to Mass Storage Mode, which is classical mode before GingerBread got out dated.
STweaks: Added a CPU wake lock switch.
STweaks: Added instructiuon of Sound Control being not available on models other than I9500.
STweaks: Added instruction of GPU voltage control being not available on non-tc versions.
Kernel: Added a odin mode. Now we can reboot to download mode with "adb reboot odin". The original commands still work.
v10f1:
initial build for XDA users.
Q&A:
I did not reserve a post for this section, so I will put the Q&A here in the OP.
Q: Which package should I use? A: boot is what you need. recovery is just a side product.
Q: Which version I should use? A: Please the "File name instruction" section in the OP, you will find the answer.
Q: Do I need to wipe the data after I flash? A: Well I don't think you need, but due to some report, wiping data can solve certain problems after flashing this kernel. So whatever you like, please backup data before you flash or wipe.
Q: Which rom does this kernel support? A: I can't tell, please refer to the File name instruction section, if you rom is not mentioned there, it is not supported?
Q: Does this support MIUI? A: Official MIUI is based on touchwiz 4.2.2. So please refer to Q2,3,4.
Q: There is no OC in tc version. A: In the init.rc there is a script limiting the CPU frequency to 1.6GHz, so you should use STweaks to unlock it. Please open /sys/devices/system/cpu/cpu0/cpufreq/UV_uV_table, if there is 2000 1900 1800 and 1700, then there is OC, just unlock it.
Q: Some app FC? A: Usually FCs are not due to the kernel, check the rom first, and settings etc, the kernel should be the last reason, cause it just provide the bridge between the system hal and hardware. Report the fc, I will take a look, but I can not say I can fix it.
Q: Battery life? A: It is due to your habit, just like driving a car, a Toyota Prius can use 10L gas if driven by somebody like Michael Schumacher. As my test, due to my habit with non tc version, it is better than stock.
Q: Do I need STweaks to run the kernel? A: The kernel can run without it, but with it you can have more options.
Q: STweaks shows "unextected error"? A: This situation usually happens at the first time STweaks starts, it is OK. Just go on using STweaks.
Q: STweaks FCs. A: Well this sometimes is due to the kernel, sometimes. Here is something you can do: Wipe the STweaks' data, remove /data/.maxfour and /data/.adamax, check the superuser software and give STweaks root access. And yes you need root access. At last, use normal version.
Q: Auto root? A: Use the CWM zip package. And I would take it out soon. Sometimes it breaks root.
Q: Not actually auto-root with v13? A: Yes, v13 will put a wizard like app which will lead you download SuperSU, only when your rom is not rooted.
Q: Conservative governor stock at certain frequency? A: Don't use it, only ondemand governor is optimized for 5410 with big.little cores.
Q: Can you add something? You must do something? Please do something? A: I take advice, but not demand. The reason is simple: I make this kernel due to my interests, not purchase orders. I am not funded for doing this. If the advice is good, I'd take it. If it is just a personal preference, I have to consider it.
Q: Got very low volume of sound? A: Use stweaks, I9500 has wolfson sound control.
Q: Video color is not correct, got blur faces. A: v13 should have this issue fixed.
Q: No internal storage access permission. A: I will make a workaroung later. For now, remount it with rw option through adb.
Q: Random reboot. A: Well, it exists, I admit. I don't know why. I will look for the reason.
Q: After flashing, the phone won't boot. A: Well, I can't guarantee that this kernel works everywhere. And please check if you are using the correct version.
Q: When is your next release? A: I don't know either.
Q: I flashed, it doesn't work. A: Well, it does not work. I don't know why cause it just don't work. I only answer information-rich questions. Questions like this is only a waster of your keyboard, your time and your data traffic. Please at least tell me which version and what rom you are using.
Q: Anything asked above. A: I will keep silence. Other people may insult for this.
Q: Why don't you answer/respond our questions? A: I am a employee, husband, father and son of someone other than XDA and you.
maxfu said:
The first time I make AdaMax is for the Chinese Galaxy S4 Duos GT-I9502. I ported Adam kernel and added more tweaks from other kernels like Persus, halaszk (5420). After several releases, I decidec to spread this kernel to more models. So I built the v8 for both Chinese and international GT-I9500. This thread it for hosting it.
Thanks to a lot of people, I will add their names here...
As my habit, I always put the download link first:
https://github.com/maxfu/android_kernel_samsung_galaxy_s4/releases/tag/9500v8
The uploading is still on going...
Features:
Based on OSRC GT-I9500 JB Opensource Update4 source tree.
Contains most features from Adam kernel, so this kernel is called Adam + Max.
Kernel + Recovery release at one time, recovery based on TWRP with EFS_GSM (for Chinese Duos devices) support.
Compiled with GCC 4.8 toolchain from Google NDK r9c.
Packed in LZMA format, smaller images.
Native exfat supportbased on OSRC exfat source code.
UCI script for STweaks and may be others.
Unlocked some hidden CPU frequency: 2.0GHz, 1.9GHz, 1.8GHz, 1.7GHz, 800MHz, 700MHz for big cores; 1.3GHz, 1.2GHz, 400MHz,
300MHz, 200MHz for little cores.
Frequencies over stock are implemented in overclock (tc/turbocharged) version.
Added more STweaks settings from Adam kernel, including CPU power management, Tools, CPU settings, CPU governor.
Logger module is compiled as standanlone module, so user can disable it completely to save powew.
Overclock (tc/turbocharged) version contains Persus dvfs for GPU with 700MHz overclock, thanks to AndreaLux.
Disabled a lot of rarely used devices support.
Built-in Seeder.
Built-in busybox with auto-installation.
Optimize on ram.
Added several I/O Schedulers including ZEN and ROW.
Built-in dynamic eMMC read ahead
Compiled with compile flag for Cortex-A15 and NEON
Disable KNOX and SELinux when booting
init.d support.
A lot of changes and fixes.
Click to expand...
Click to collapse
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Paolonicus said:
Most features of Adam & Perseus Kernel. Does this include the Wolfson Audio Control?
Click to expand...
Click to collapse
I kept the feature, so it should show up in STweaks on I9500. I am using 9502 which does not have the feature so I can not test it. When I compile for 9500, sound control is enabled.
@maxfu Is this kernel for the 4.3 or 4.4.2?
a2441918 said:
@maxfu Is this kernel for the 4.3 or 4.4.2?
Click to expand...
Click to collapse
Sorry I did not directly mention. It is for 4.3 JellyBean.
maxfu said:
Sorry I did not directly mention. It is for 4.3 JellyBean.
Click to expand...
Click to collapse
Can you please mention it in the op please it's very confusing.
Thanks.
Sent from my GT-I9500 using Tapatalk
Will there be version for Kitkat?
This is something that prevents me from flashing the newer version of Android.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
If Samsung releases the source code for 4.4, I will.
Paolonicus said:
This is something that prevents me from flashing the newer version of Android.
Click to expand...
Click to collapse
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
snxxxxx said:
How about battery life and performance compared to stock kernel?
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
maxfu said:
Well it is hard to say. If you use the normal version, it should be battery friendly. The tc version is overclocked. Due to my 3DMark result, the overclock version maxied out the First and Second stage tests.
Click to expand...
Click to collapse
If you can Make it AOSP support also
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Yesss at last some hope for 4.4 custom kernel!! Thank you Maxfu for continuing Wanam's legacy.
Wow!
maxfu said:
I have a good news for you. I found I9500XXUFNB1: GT-I9500_KK_Opensource.zip, so I will push it up in several days.
Click to expand...
Click to collapse
Sweet! Can't wait to try you kernel! Thanks a bunch!
For AOSP, I will try.
Sent from my GT-I9502 using xda app-developers app
great to see another addition to kennels for gt -9500. please also add support fir miui.
Sent from my GT-I9500 using Tapatalk
Some Proposals
1. Auto Install Stweaks
2. Clearly describe CPU Options which one for big cores and which for little cores
3. Don't lock GPU Frequency at 532MHz as i see by default ... maybe more relaxed 177-532 settings?
4. SELinux is set to Permissive by default ... maybe set as Disabled?
and maybe some very useful Insecure version please?
ro.secure=0
ro.adb.secure=0
(computer translation)
Hi, I already flashed Adam Kernel on my S4. Can I simply flash this Kernel on recovery or do I need to do something else?
Dnssuffix said:
Thanks maxfu for the contribution...will try soon. You didn't mention about the screen color option from perseus kernel. Is it there?
Click to expand...
Click to collapse
If it is in Adam kernel, then it is here. There is a screen tab in STweaks.
Hi
I have been testing a new kernel I built. It is based on the CM kernel, and I have tweaked it with some of the voltage mods and OC settings from the wind kernel. For good measure I added a couple of governors in as well. Oh and i updated the kernel to 3.0.91
Changes
lulzactive governor and smartass2 added: there is a playstore app for tuning the lulzactive http://tegrak2x.blogspot.ca/2011/11/lulzactive-governor-v2.html
Update to linux 3.0.91
OC and voltage tweaks from wind kernel
Personal experience
lulzactive governer seems to work great for me.
My phone maxed out at 1782 MHZ, this has been very stable for me (at 1836MHZ my phone had random reboots).
Antutu benchmark 10,131 (With straight CM benchmarks was 9.376)
Installation: reboot into recovery install zip. To revert flash ROM.
NOTE THIS WILL ONLY WORK WITH A CM-11 ROM. Pac rom needs a different boot image built.
Also note this is only built for a p930, I do not have the other models to test this rom against
USE AT YOUR OWN RISK
I take no responsibilities for any damages
Download: http://www.androidfilehost.com/?fid=23329332407580098
Nz
P.s.
I have seen a BSOD, (it is rare) upon investigation the only weird thing I found was that "ps" listed a dozen processes but does not return. Every other command seemed to work fine. I have not found anyone that can explain what that means or how to troubleshoot this further.
Source : https://github.com/notzippy/lge-kernel-iproj/tree/nz-11.0
Nz
request
if u can please enable a GPU overclock, im gamer and youtuber if doesnt have GPU overclock i cant play games without lags and do screencasts, a overclock to 320 or 350 mhz it perfect! gpu overclock doesnt need only for my but for any gamer that play MC4, nova 3 and onther high games...
Thank you for your efforts!
I think what is missing from the current CM11 builds is a newer kernel...
I know it is much work, but do you have any plans to update to ION or even a 3.4 version?
_crAss_ said:
Thank you for your efforts!
I think what is missing from the current CM11 builds is a newer kernel...
I know it is much work, but do you have any plans to update to ION or even a 3.4 version?
Click to expand...
Click to collapse
What does this mean?
As I understand all of our kernels have been based on a gingerbread kernel!? Could someone inform us on what this really means?
P.s. Thanks for the kernel btw! Can't wait to try it. I tried CM11 before and was getting tons of BSOD/reboots, which may have been due to incorrect voltages. I've been stable for days on CM10.1.3 after I applied the correct stock voltages. Wind kernel seems to set a strange voltage curve.
pmaioli said:
if u can please enable a GPU overclock, im gamer and youtuber if doesnt have GPU overclock i cant play games without lags and do screencasts, a overclock to 320 or 350 mhz it perfect! gpu overclock doesnt need only for my but for any gamer that play MC4, nova 3 and onther high games...
Click to expand...
Click to collapse
I can look at applying the badass oc that hono did, it appears to have a gpu oc setting.
https://github.com/HONO/CM10_Kernel/commit/359e59877b3bf3227cdd5cd853ba994c984e4e6c
Flyview said:
What does this mean?
As I understand all of our kernels have been based on a gingerbread kernel!? Could someone inform us on what this really means?
P.s. Thanks for the kernel btw! Can't wait to try it. I tried CM11 before and was getting tons of BSOD/reboots, which may have been due to incorrect voltages. I've been stable for days on CM10.1.3 after I applied the correct stock voltages. Wind kernel seems to set a strange voltage curve.
Click to expand...
Click to collapse
All CM releases are based on the opensource code released by LG for the p930. The kernel has been patched in various ways to make it compatible with kitkat. The android open source kernel project does makes it difficult to update the actual kernel so it remains at release 3.0.31.
_crAss_ said:
Thank you for your efforts!
I think what is missing from the current CM11 builds is a newer kernel...
I know it is much work, but do you have any plans to update to ION or even a 3.4 version?
Click to expand...
Click to collapse
Looking at upgrading 3.4 kernel from miroslav sphinx kernel https://github.com/JellyBeanNitro/kernel-iproj-3.4/ to make it compatible. Cannot use the patch sets from iproj since they are for a 3.0.31 kernel so I am using the patches from android_kernel_google_msm to update the 3.4 kernel to be compatible. Have it compiling but I am getting an error booting. MDP: unknown ioctl (cmd=c06c6d94) received!
notzippy said:
I can look at applying the badass oc that hono did, it appears to have a gpu oc setting.
https://github.com/HONO/CM10_Kernel/commit/359e59877b3bf3227cdd5cd853ba994c984e4e6c
Click to expand...
Click to collapse
ooh, very good, if u can this go save my life, 200, 228, 266, 300 and 320 mhz in GPU... very good!
Flyview said:
What does this mean?
As I understand all of our kernels have been based on a gingerbread kernel!? Could someone inform us on what this really means?
P.s. Thanks for the kernel btw! Can't wait to try it. I tried CM11 before and was getting tons of BSOD/reboots, which may have been due to incorrect voltages. I've been stable for days on CM10.1.3 after I applied the correct stock voltages. Wind kernel seems to set a strange voltage curve.
Click to expand...
Click to collapse
For more information about ION Memory manager check the link below:
http://android-revolution-hd.blogspot.gr/2013/08/the-android-ion-memory-manager.html
As far as I know the kernel we now have is not ION.
For some other devices, developers were able to make new kernels based on this new memory manager. From what I understand - and I am no expert - this solves lots of issues with newer drivers etc. In the other device I had, all the camera issues were gone after the kernel was updated to support ION. Then it was much easier to upgrade it to 3.4.
With such a kernel I guess it will be much easier to have future versions of android for our devices, since generic drivers can be used for all the components of our phone and of course run kitkat flawlessly.
---------- Post added at 03:00 PM ---------- Previous post was at 02:45 PM ----------
I have installed your kernel and so far so good.
Since you mention overclocking in your first post, could you post a table with frequencies and relative voltage that your device at least seems to be coping fine?
How would you characterize lulzactive governor's battery performance?
_crAss_ said:
For more information about ION Memory manager check the link below:
http://android-revolution-hd.blogspot.gr/2013/08/the-android-ion-memory-manager.html
As far as I know the kernel we now have is not ION.
For some other devices, developers were able to make new kernels based on this new memory manager. From what I understand - and I am no expert - this solves lots of issues with newer drivers etc. In the other device I had, all the camera issues were gone after the kernel was updated to support ION. Then it was much easier to upgrade it to 3.4.
With such a kernel I guess it will be much easier to have future versions of android for our devices, since generic drivers can be used for all the components of our phone and of course run kitkat flawlessly.
---------- Post added at 03:00 PM ---------- Previous post was at 02:45 PM ----------
I have installed your kernel and so far so good.
Since you mention overclocking in your first post, could you post a table with frequencies and relative voltage that your device at least seems to be coping fine?
How would you characterize lulzactive governor's battery performance?
Click to expand...
Click to collapse
Oh wow, yea that sounds like it would fix a lot of our problems.
Sent from my LG-P930 using Tapatalk
_crAss_ said:
For more information about ION Memory manager check the link below:
http://android-revolution-hd.blogspot.gr/2013/08/the-android-ion-memory-manager.html
As far as I know the kernel we now have is not ION.
For some other devices, developers were able to make new kernels based on this new memory manager. From what I understand - and I am no expert - this solves lots of issues with newer drivers etc. In the other device I had, all the camera issues were gone after the kernel was updated to support ION. Then it was much easier to upgrade it to 3.4.
With such a kernel I guess it will be much easier to have future versions of android for our devices, since generic drivers can be used for all the components of our phone and of course run kitkat flawlessly.
---------- Post added at 03:00 PM ---------- Previous post was at 02:45 PM ----------
I have installed your kernel and so far so good.
Since you mention overclocking in your first post, could you post a table with frequencies and relative voltage that your device at least seems to be coping fine?
How would you characterize lulzactive governor's battery performance?
Click to expand...
Click to collapse
With lulzactive governor I am getting around 20-24 hour rom usage provided no BSOD. I will work on a voltage chart. I built a kernel with HONO's voltage and OC tweaks. I also added the 3 governors he had in his as well. Personally I really like the current ROM and my phone wont go above the 1786, but maybe someone elses phone can reach the 1924 ..
However if miroslav_mm posts his 3.4 kernel source I will likely be distracted by for a while -
Nz
I am stable at 1836...I have run multiple times AnTuTu and 3Dmark and it hasn't frozen a single time.
I really hope though that you get distracted with miroslav_mm's kernel. Maybe you could work together and find a workaround for the camera...
Can you build this kernel for SU640, please?
Thank you
So do I flash CM 11 then this. I'm using philz touch.
xxAirwickxx said:
So do I flash CM 11 then this. I'm using philz touch.
Click to expand...
Click to collapse
Yes, flash cm11 first
I tried through philztouch n didn't accept. It aborted. I'm currently running newest nightly for CM 11 04/25. Haven't tried it yet on this. Get the error 7 when trying to flash
just want to know if there is any update...
I am using CM11 Aug 10 built + Gapps 20140606 built, after flashing this kernel, some apps installed would be disappeared (e.g. Plus, Hangout, Book, Titanium Backup, Firefox, ...)... For Plus, Hangout, Book, these should be in gapps already, dunno where have they gone.
For the others, I could simply reinstall the apps.
Is it compatibility problem of the kernel?
Am I need factory reset after flashing the kernel?
pekkle_hksar said:
just want to know if there is any update...
I am using CM11 Aug 10 built + Gapps 20140606 built, after flashing this kernel, some apps installed would be disappeared (e.g. Plus, Hangout, Book, Titanium Backup, Firefox, ...)... For Plus, Hangout, Book, these should be in gapps already, dunno where have they gone.
For the others, I could simply reinstall the apps.
Is it compatibility problem of the kernel?
Am I need factory reset after flashing the kernel?
Click to expand...
Click to collapse
Been working with 3.4 kernel of miroslav lately, nothing new ...
Nz
**************************************************
[ROM] 6045Y-DCZ
current version 2.2 (2016-08-09)
STOCK, STABLE, FAST, ROOT
**************************************************
FOR NOW IT IS ONLY FOR SINGLE SIM DEVICES!! DUAL SIM NOT WORKING
-it is not exactly a build. Its more a mod.
-based on latest Alcatel IDO 3 5.5 6045Y MMB29M EUROPE UPDATE
-including ROOT (latest supersu 2.76)
-removed all unnecessary apps from Alcatel. there is only the necessary basic to run the phone. All other things you can download by yourself.
-Due to source is the avaliable set of languages shrinken to English, German, Slovak and Czech. But More Locale 2 app (included) will do the trick for you on most apps.
GUIDE:
-Its always better to flash this upon a stock firmware. You can try to flash it upon custm roms like CM AOKP etc, but since i havent tested it, i dont know if it will 100% work
-download firmware and also the MD5 checksum and copy both files to your phone.
-go to TWRP recovery (please make sure you use the @Unjustified Dev version from here
-make backup of your current ROM
-here you can grab a bat file to make backup of your curent MODEM, or download your MODEM in a zip file. Don´t forget to thank @famewolf for the time he spends to gather the modems.
-If you hav ebackup of oyur curent modem, just open my ROM zip in a ZIP app (i use 7zip). Replace the non-hlos.bin with your non-hlos.bin (modem) file.
-copy the ROM (and if you choose the modem zip file from @famewolf )
-wipe chache/dalvik/system/data
-format data (just to be sure. Format data is something diferent than wipe data)
-install ROM (make sure you have MD5 check enabled and it gives no error)
-reboot
-on first boot be patient it takes a while after the first boot (about 5 minutes) untill the ROM settles down
DOWNLOAD:
From my google disk
ISSUES:
-on my 6045Y i have no issues so please report
changelog in 2.2 build (2016-08-09)
-parallax background on stock launcher (looks great)
-translucent appdrawer background
-cleared updater-script of useless lines
changelog in 2.1 build (2016-08-08)
-build from latest 6045Y 010 06 update (6045Y MMB29M EUROPE UPDATE)
-no need to do some silly unmount and mount crap, because i know how to write the updater-script
-Root (systemless) included, GAPPS included (as this is just a moded stock ROM)
-Debloated 6.0.1 version..lockscreen is working well for my on 6045Y
-Background wallpaper from Vikas Kanwal (no stealing from web)
-Included 6045Y modem, so if you are on non 6045Y version see above to get your corespondent modem zip fle or image file before you start flashing.
-Security patch for 6.0.1 (from 2016-1-7)
-Double tap on lock screen to sleep
-Launcher 5x6 and dock 5x grid (instead of 4x5)
-lcd density set to 430
-USB debuging enabled from first boot
-Color temperature setting
-Technicolor enhanced colors
-Call recorder - when you are in a call you can tap on the three dots on the right and record the call
-Multi window enabled (under sttings/developer option)
-Glove mode (higher sensitivity of touchscreen)
-Three fingers swipe to make screenshot
CREDITS:
@Unjustified Dev , @famewolf , @The Marionette, without them there will be no IDOL 3 5.5 develpment, so pelase give them a thnax!
And of course i am not responsible for any damage you do by flashing this on your device!
DallasCZ said:
**************************************************
[ROM] 6045-i806-DCZ
current version 1.0
STOCK, STABLE, FAST, ROOT
**************************************************
-it is not exactly a build. Its more a mod.
-based on latest TCL i806 (IDOL3) firmware (JSU_I806-2[ABC]LCCN7_7TMBRCB3)
-I exchanged the kernel for the ARDE DEV TEAM STOCK OC one (4x1651 MHz + 4x1601 MHz).
-Antutu player will love the 37K ratings (all cores set to performance Governors)
-including ROOT (latest supersu 2.52)
-added KERNEL ADIUTOR
-removed all unnecessary apps from TCL. there is only the necessary basic to run the phone. All other things you can download by yourself. So the ROM is only 600 MB on size.
-Due to source is the avaliable set of languages shrinken to English and Chineese. But More Locale 2 app (you can download form google play) will do the trick for you on most apps.
GUIDE:
-go to TWRP recovery
-wipe chache/dalvik/system/data
-install ROM
-install GAPPS (i use open gapps 5.0 nano)
-reboot
-on first boot be patient it takes a while after the first boot (about 5 minutes) untill the ROM settles down
DOWNLOAD:
From my google disk (size aprox 600 MB)
ISSUES:
I dont know of any, you tell me.
FUTURE PLANS:
-merge another languages from framework res, settings, systemUI apks . As i am not a DEV i will repack the apks adding these languages it should work with more locale 2 then. I cannot add the language support to the rom itself.
-replace the i806 launcher with one from 6045Y (will do need more tests because of lags of the 6045Y launcher).
-add some minor build.prop tweaks
CREDITS:
BIG thnax to @franq36 of ARDE DEV Team for the Kernel, also thank @Grarak for the Kernel Adiutor.
Click to expand...
Click to collapse
Nice work! Does your version allow wifi to be enabled while in airplane mode? Are you changing the model to something unique like x806 to prevent updates from trying to be downloaded/installed that could affect partitions beyond system/boot? Did you remove the system update checker? Have you modified or eliminated the default updater-script in the stock i806 rom which clobbers several partitions beyond system and boot?
famewolf said:
Nice work! Does your version allow wifi to be enabled while in airplane mode? Are you changing the model to something unique like x806 to prevent updates from trying to be downloaded/installed that could affect partitions beyond system/boot? Did you remove the system update checker? Have you modified or eliminated the default updater-script in the stock i806 rom which clobbers several partitions beyond system and boot?
Click to expand...
Click to collapse
-yes wifi can be turned on while in airplane mode
-i deleted update checker app, so there are no updates
-yes i deleted all entries that were messing around with radio etc.. So now this script only format and copy system, busybox, root, kernel thats all. So it should be also suitable for 6045I version. I can enable the double sim stuff in build.prop so this should work also for 6045K version.
DallasCZ said:
-yes wifi can be turned on while in airplane mode
-i deleted update checker app, so there are no updates
-yes i deleted all entries that were messing around with radio etc.. So now this script only format and copy system, busybox, root, kernel thats all. So it should be also suitable for 6045I version. I can enable the double sim stuff in build.prop so this should work also for 6045K version.
Click to expand...
Click to collapse
Sounds like you have all the bases covered! What a shame we can't get multirom to work on our device YET....it would allow us to use our external sd to swap between multiple roms and I could have cm12.1, yours and whatever new one I'm testing all going at the same time. Multirom also has it's own custom build of twrp that supports the roms.
i know i have used MULTIROM on my older devices...
DallasCZ said:
i know i have used MULTIROM on my older devices...
Click to expand...
Click to collapse
You may want to look back to your source and see if they do an unmount of /persist at the end. You have left in the code which format's it and extracts the wifi drivers then symlinks them but I didn't see an unmount so it may have gotten accidentally deleted. It may be unnecessary but normally for every mount you have an unmount as it can leave partitions mounted in twrp that could cause issues if the user installs packages after the current one.
Hmm I guess I should also confirm for the 6045i users that you are using the "group 2" kernel? If not, 6045i users will need to flash the group 2 kernel right after flashing the rom before they reboot..not a big deal but if necessary a link to it in post #1 might help. Looking forward to trying this one since the i806 rom had such better performance for the idol3 than the default roms.
famewolf said:
You may want to look back to your source and see if they do an unmount of /persist at the end. You have left in the code which format's it and extracts the wifi drivers then symlinks them but I didn't see an unmount so it may have gotten accidentally deleted. It may be unnecessary but normally for every mount you have an unmount as it can leave partitions mounted in twrp that could cause issues if the user installs packages after the current one.
Click to expand...
Click to collapse
My fault i wrote twice unmount system.... hmm thats when you make such things at 2:00 AM
thanx bro.
DallasCZ said:
**************************************************
[ROM] 6045-i806-DCZ
current version 1.0
STOCK, STABLE, FAST, ROOT
**************************************************
-it is not exactly a build. Its more a mod.
-based on latest TCL i806 (IDOL3) firmware (JSU_I806-2[ABC]LCCN7_7TMBRCB3)
-I exchanged the kernel for the ARDE DEV TEAM STOCK OC one (4x1651 MHz + 4x1601 MHz).
-Antutu player will love the 37K ratings (all cores set to performance Governors)
-including ROOT (latest supersu 2.52)
-added KERNEL ADIUTOR
-removed all unnecessary apps from TCL. there is only the necessary basic to run the phone. All other things you can download by yourself. So the ROM is only 600 MB on size.
-Due to source is the avaliable set of languages shrinken to English and Chineese. But More Locale 2 app (you can download form google play) will do the trick for you on most apps.
GUIDE:
-go to TWRP recovery
-wipe chache/dalvik/system/data
-install ROM
-install GAPPS (i use open gapps 5.0 nano)
-reboot
-on first boot be patient it takes a while after the first boot (about 5 minutes) untill the ROM settles down
DOWNLOAD:
From my google disk (size aprox 600 MB)
ISSUES:
I dont know of any, you tell me.
FUTURE PLANS:
-merge another languages from framework res, settings, systemUI apks . As i am not a DEV i will repack the apks adding these languages it should work with more locale 2 then. I cannot add the language support to the rom itself.
-replace the i806 launcher with one from 6045Y (will do need more tests because of lags of the 6045Y launcher).
-add some minor build.prop tweaks
CREDITS:
BIG thnax to @franq36 of ARDE DEV Team for the Kernel, also thank @Grarak for the Kernel Adiutor.
Click to expand...
Click to collapse
I participate in the development but the creator of the kernel is @acura2201 should also include in the credits, also a link to the original kernel thread in HTCMania
thx,good job
Does this ROM support all the variants?
Sent from my 6045X using XDA Forums Pro.
The Marionette said:
Does this ROM support all the variants?
Sent from my 6045X using XDA Forums Pro.
Click to expand...
Click to collapse
As it does not rewrites original recovery neither radio files it should be good to all variants, but I have not tested (only on my 6045Y).
the second thing is the OC kernel from HTCMANIA.com if it will be working on 6045I,6045O nad 6045K variants.
If someone with dual sim (K version) would try it and has no dual sim options there have to be a slightly build.prop modification. Just change line "persist.radio.multisim.config=single" to "persist.radio.multisim.config=dsds".
someone should try...If he made a full TWRP backup, there is nothing to worry about (i think)
famewolf said:
Hmm I guess I should also confirm for the 6045i users that you are using the "group 2" kernel? If not, 6045i users will need to flash the group 2 kernel right after flashing the rom before they reboot..not a big deal but if necessary a link to it in post #1 might help. Looking forward to trying this one since the i806 rom had such better performance for the idol3 than the default roms.
Click to expand...
Click to collapse
You re right as always i mentioned it on 1st post.
DallasCZ said:
Suprisingly no. I used the group1 OC kernel and i am running on it since yesterday and no hicups,lags or reboots.
Click to expand...
Click to collapse
*removed half asleep post since you had already added link to post #1*
I'm surprised the chinese rom had higher antutu scores than cyanogenmod but I'm looking forward to having a rom that flips "upside down" properly.
Edit: Disregard what I said below, I just looked at the page again without it being translated and found the link, I think. Wow, translators really make a mess of a page. Is this the correct file/img...."Nuevoboot_Alcatel_V1.img"?
I'd like to try this but the link to HTC Mania translates horribly, it's a absolute mess. I cannot find the download link for the Group 2 OC Kernel (6045i) anywhere on that page. Can direct links be posted?
Hmm, so I have cm12.1 11/23 running, and its rebooting alot more than it was yesterday Lol. I am running the group 1 oc. Is that the right one? I think it is, so hmm. Is it worth switching back to stock?
anyone with other model than 6045Y should download the Nuevoboot_Alcatel_V1.img as I understood.
Odesláno z mého 6045Y pomocí Tapatalk
DallasCZ said:
anyone with other model than 6045Y should download the Nuevoboot_Alcatel_V1.img as I understood.
Odesláno z mého 6045Y pomoc�* Tapatalk
Click to expand...
Click to collapse
Well, I have tried that one as well, and it doesn't boot. So I guess its for stock ROM? Haha.
Disregard previous information, apparently the kernel in the thread changed somewhat since the last time I downloaded it. Testing again, boots up with the group 2, will report back.
capeorigins said:
Hmm, so I have cm12.1 11/23 running, and its rebooting alot more than it was yesterday Lol. I am running the group 1 oc. Is that the right one? I think it is, so hmm. Is it worth switching back to stock?
Click to expand...
Click to collapse
You should talk about cm in the cm thread..thats what it's for. Group 1 and group 2 is only for "stock" roms. the i806 falls under "stock rom". Roms like cyanogenmod should be running the CM kernel on that page. It's part of the name and not either of the groups.
---------- Post added at 09:39 PM ---------- Previous post was at 09:34 PM ----------
@DallasCZ
What min/max/governor are you choosing for big & little in KA?
Ok... so:
6045i
- Full Wipe
- Installed without kernel, then hit reboot
- Rebooted straight to TWRP, said OS not installed. Installed over it, rebooted.
- Booted up, went through settings, then froze when Supersu free dialog box popped up
- Installed Nuevoboot_Alcatel_V1, and open_gapps-arm64-5.0-micro-20151124
- Booted up fine, no play service issues of any kind
- Ran AnTuTu 64-bit with big/little on performance (1651 and 1113), score 33,625
Can't fathom why the 6045Y would score almost 3,500 more on AnTuTu. Made sure there was no thermal throttling by placing phone in front of air conditioner.
Edit: Seems the 6045Y can throttle the little up to 1601, whereas my 6045i maxes at 1113? I'd assume that is where the extra 3,500 in AnTuTu is coming from. Odd, in the CM OC kernel I was able to 1601 on the little..
Edit 2: Set the GPU to max clocks and performance governor, score 35,868. If little clocks would hit 1601 instead of 1113, I'm betting it would pass 37,000.
Final Thoughts: I've had zero issues with performance in any capacity, and the MOTO Camera for v2 Lollipop works great. I think we've got a winner here. Not a big fan of the news thing when you swipe to the left though, hopefully an easy way to get rid of that... and apparently its pretty easy, just press and hold on homescreen, then hit the toggle on the mini version of the news screen, gone!
xStealth said:
Ok... so:
6045i
- Full Wipe
- Installed without kernel, then hit reboot
- Rebooted straight to TWRP, said OS not installed. Installed over it, rebooted.
- Booted up, went through settings, then froze when Supersu free dialog box popped up
- Installed Nuevoboot_Alcatel_V1, and open_gapps-arm64-5.0-micro-20151124
- Booted up fine, no play service issues of any kind
- Ran AnTuTu 64-bit with big/little on performance (1651 and 1113), score 33,625
Can't fathom why the 6045Y would score almost 3,500 more on AnTuTu. Made sure there was no thermal throttling by placing phone in front of air conditioner.
Edit: Seems the 6045Y can throttle the little up to 1601, whereas my 6045i maxes at 1113? I'd assume that is where the extra 3,500 in AnTuTu is coming from. Odd, in the CM OC kernel I was able to 1601 on the little..
Edit 2: Set the GPU to max clocks and performance governor, score 35,868. If little clocks would hit 1601 instead of 1113, I'm betting it would pass 37,000.
Final Thoughts: I've had zero issues with performance in any capacity, and the MOTO Camera for v2 Lollipop works great. I think we've got a winner here. Not a big fan of the news thing when you swipe to the left though, hopefully an easy way to get rid of that... and apparently its pretty easy, just press and hold on homescreen, then hit the toggle on the mini version of the news screen, gone!
Click to expand...
Click to collapse
Most folks could choose 1601 but their phone was rarely actually at that speed...people experiencing reboots should check their cpu temp in KA...in every case I encountered a reboot checking it right after boot showed it was still quite high and more than likely the cause of the reboot. You should however be able to set it to 1300 without issues.
I wouldn't use performance or interactive as they had all 4 cores going way to much of the time allowing temps to rise.....try "wheatley".