[KERNEL] ~1.42GHz HTC Vision/T-Mobile G2 Overclock Module [OTA 11/03 support] - G2 and Desire Z Android Development

EDIT: Perma-root is here! This hack was nice, but this hack is nicer: http://forum.xda-developers.com/showthread.php?t=834219
HTC Vision/T-Mobile G2 Overclock Module
After two nights of mostly guesswork, I have managed to create an overclocking kernel module for the HTC Vision. The result? I have been able to not only overclock the MSM7x30 in this phone to 1GHz, the stock speed of the higher "binned" but identical 8x55 used in the Desire HD, I have been able to push the processor in my G2 significantly further, up to 1.42GHz! Benchmark scores are very, very high, and the improved CPU performance is in line with what you'd expect from such a high clock frequency. All of this is possible without permanent root (and the ability to flash kernels) because we are using a kernel module and not flashing an actual kernel.
Binary (OTA 11/03): http://dl.dropbox.com/u/36553/vision_oc-g9ab3677.ko
Binary (original stock ROM): http://dl.dropbox.com/u/36553/vision_oc.ko
Source: http://github.com/coolbho3k/vision_oc
This kernel module is distributed under the terms of the GNU GPLv2.
Usage
To use it on a T-Mobile G2 on the stock 2.6.32.17 kernel, copy vision_oc.ko to /data/local and run this command as root:
insmod /data/local/vision_oc.ko
This will overclock your phone to the default 1017.6MHz, which is on par with the 8x55. To overclock even higher (or lower), run the following command:
insmod /data/local/vision_oc.ko pll2_l_val=53
Where pll2_l_val*19.2 equals the speed (in MHz) that you're overclocking to. For example, 53*19.2 corresponds to 1017.6MHz, while setting pll2_l_val=74 will overclock you to slightly over 1420MHz: insmod /data/local/vision_oc.ko pll2_l_val=74 (this is 1.42GHz - be careful! I ran into freezing issues somewhere between 76 and 80, so I figured 74 was stable for my G2, and I've been running it at that all day. If it freezes try 73, 72, etc. Every phone is unique - your mileage may vary. You may even be able to get higher than me.)
If you ever want to change the speed of your overclock without rebooting, run the following command:
rmmod vision_oc.ko
Then run one of the above commands. It's important to note that using a value of 42 (good number ) for pll2_l_val will make your phone run at 806.4MHz again. Rebooting the phone will reset your root access and your overclock (of course, you probably already knew this). Voltages can also be tweaked for the highest frequency (to know how to do this, read the README link below).
If there's ever an OTA or if you flash a custom kernel, you'll need a recompiled version of the kernel module, and with different addresses. Any kernel dev can easily do this using the documentation below.
To use it on another device (such as an HTC Desire Z, if it runs a different kernel, or even an HTC Desire HD or 8x55 myTouch) running a different kernel, you must re-compile the kernel module from source and refer to the instructions here to modify it (or the installation process) accordingly: http://github.com/coolbho3k/vision_oc/blob/master/README
If you're going to be overclocking, SetCPU sleep/battery/battery temperature profiles can be tremendously helpful.
Want to donate? Buy SetCPU from the Android Market, or there's a donate link in my signature.
Peace!
Video and screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I love you.

Bravo to you. I will be buying setcpu right now.
Sent from my T-Mobile G2 using XDA App

Great work!!
Thank you for this! Much appreciated!

Haha, that's just sick.

So I'm still new to this so... where exactly is the /data/local folder? Sorry if that is a stupid question.

i think i speak for every1 here...
thank you. you have no idea how happy you have made many many g2 owners. i will donate to you soon, sir.

damn man thats all i gotta say. The vision will blow anythign and everything out of the water. And to think i still was going to get a nexus. glad i got the vision. Now all we need is an led color changers for the trackpad

Bought setcpu to show appreciation
Sent from my T-Mobile G2 using XDA App

any1 wanna post me a terminal emulator script to make this work without use of a computer?

I am overclocked to the default but I cannot change the value to get it higher than 1 gig. I get the message file already exists.

Engadget in 3.2...1...
In other news I'm loving it

it would be nice to implement this with visionary on boot. i'm sure it will be comming along the pipe line shortly... awesome work

You are amazing. Mine seems to be freezing up if I try to push it all the way up, but the 1GHZ OC works amazingly.
Thanks!

milenko11 said:
I am overclocked to the default but I cannot change the value to get it higher than 1 gig. I get the message file already exists.
Click to expand...
Click to collapse
To change your overclock:
rmmod vision_oc.ko
insmod /data/local/vision_oc.ko pll2_l_val=74
Try that, hopefully it doesn't crash your phone at 1.42GHz. If it does try a slightly lower value for pll2_l_val, then lower, etc.

KShatzkes said:
So I'm still new to this so... where exactly is the /data/local folder? Sorry if that is a stupid question.
Click to expand...
Click to collapse
you need to use adb
adb push vision_oc.ko /data/local/

Does this need to be done from pc or can it be done directly from phone also I can't find /data/local on my phone
Sent from my HTC Vision G2

Got it up and running in 3 minutes! Great job man!! WHOO!!!!!

this is great. nice job

luis86dr said:
Does this need to be done from pc or can it be done directly from phone also I can't find /data/local on my phone
Sent from my HTC Vision G2
Click to expand...
Click to collapse
You'll only be able to find it on your phone if you're using a program like Root Explorer that allows you to view everything on your phone.
Easiest way to do it is to use ADB - adb push vision_oc.ko /data/local

Related

[ROM][Vanilla 2.1]VanillaEclair 3.0 "Sugar Energy" [READ POST]

As some of you know, I have encountered some problems while developing this ROM. Some very bad problems actually. Even though I've managed to fix them, it's not enough for me. The only way we can all enjoy VanillaEclair at the moment is to use 3.0, which has the most stable kernel yet, but unfortunately I haven't got the sources anymore.
I will continue my work on the OTA updater, on the kernel, on the framework and on A2DP. Also, I want to improve the VanillaEclair website, so that it can be a useful tool for us all. As I'm working alone, I can't do many things at a time. So please understand that this little break has a good reason behind.
Below you can find the links to VanillaEclair 3.0. If you want something more functional, I suggest you try MaXo64's aHero 1.0. I really do understand that you need a functional phone, and I am exactly in the same position, since the Hero I'm using for development is my everyday phone.
The ETA of VanillaEclair 3.3 is Sunday the 6th. Please post here for apps suggestions, feature requests and wish me luck! Cheers!
DOWNLOAD VanillaEclair 3.0
VanillaEclair 3.2 "Let me put a smile on that face" is the latest VanillaEclair build. For those of you who didn't flash the previous versions, this is the fastest and most stable vanilla 2.1 out here.
NOTE: From 3.1 I won't be supporting any issues if you're using JIT. If you're using it I assume that you are an experienced user. This ROM gives you enough performance, and you won't feel a performance boost after flashing JIT anywhere else than Linpack.
See posts #2 and #3 for more info related to the ROM. Discussions about 3.2 start from here.
Based on the latest 2.6.29 sources, provided by behnaam. Thanks.
Changelog:
- fixed battery issues
- added a few modules
- fixed auto brightness(it seems that this works only for newer phones)
- added EXT4 support
I would also like to say thanks to all users that have been reporting bugs, creating bootanimations and posting fixes. You have helped me improve this! You are great!
For info regarding overclocking, battery and such read posts #2 and #3.
Features:
- GPS & A-GPS
- 100% working youtube
- 100% working camera
- 100% working gallery
- facebook sync(100%)
- busybox
- root
- a quite large APN list
- VPN
- HUGE performance
Benchmark results * without JIT, [email protected]:
- Linpack: 3.35MFolps
- Neocore with sound: 30.1FPS
- Neocore without sound: 33.3FPS
Issues:
- A2DP(will be fixed soon)
If you're not using A2SD, you might get an insufficient storage error when trying to install apps from market. You can fix that in two ways:
1. wipe again after flashing the ROM
2.
adb shell
chown system.system /data/app
Click to expand...
Click to collapse
What's next?
- OTA updater after everything is 100% stable (if you can help me please let me know)
- A2DP, button lights
- backport BFS
- froyo
Because of the bad battery life and some other problems, I've decided to take the link down for the moment. The updated fixed version will be available tomorrow, the 1st of June. Sorry for the inconvenience.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
If you like VanillaEclair, please help me buy a GSM Hero for Dev only.
​
HOW TO OVERCLOCK - noob-friendly tutorial with recommended settings.
Experienced users might use other settings.
1. Download OverclockWidget from Market (it's free)
2. Put the widget on your screen and make sure you allow it when the Super User permission request comes up(also check the remember option).
3. Reboot
4. Tap it once and select Advanced Setting
5. Check Differ Freq Screen off
Recommended settings:
Screen on: min- 691200 max- 691200
Screen off: min- 245760 max- 245760
6. Check auto start on boot and press save.
Notes:
- overclocking gives you a huge performance boost
- overclocking does not break your phone; it doesn't cause overheating
- overclocking will not affect your battery life(i've taken care of that)
Apps 2 SD FAQ:
1. How do I enable it?
It enables automatically is you have an EXT partition on your SDCARD.
2. Can I use EXT4?
No, sorry. Only EXT2/3 are supported at the moment.
3. What about dalvik cache?
Dalvik-cache is automatically moved on your EXT partition.
Battery tip
IF you're using VanillaEclair 3.1, you shouldn't need to recharge for about 3 days. If you can't get that much, follow the steps:
- wait until the battery is 5-10% left
- go to your recovery image and wipe battery status
- recharge your phone using the wall charger for 4-5 hours or so - you can leave it overnight
That's all!
More about Overclocking(for experienced users):
In VanillaEclair 3.1 I've included a wide range of frequencies that you can use. Here it is - Overclocking widget gets it automatically:
122880
160000
245760
352000
400000
480000
576000
595200
614400
652800
691200
768000
806400
Click to expand...
Click to collapse
I've been able to run at 806MHz, but the phone got VERY hot and sometimes unresponsive. The highest save to run in daily use frequency is 768MHz, but not all phones can go that far!
Downloading now!
Very curious about this one. Will report when I got it booted!
gawd!! i'm wetting LOL
did u try to turn on JIT on this rom? and what is result of linpack on jit?
is it based on cyanogen?
No JIT package?
I don't think you need jit @691MHz, but the JIT package and AS package will come in 30 minutes.
RaduG said:
I don't think you need jit @691MHz, but the JIT package and AS package will come in 30 minutes.
Click to expand...
Click to collapse
I can only OC @ 670, so I need it
I am flashing just now, I hope that will be your perfect build since on 2.0.3 I had a lot of problems
20Mhz won't make any difference
trashed78 said:
is it based on cyanogen?
Click to expand...
Click to collapse
+1
Thanks by the way
The kernel is based on benhaam's sources
I don't think speed is the real reason why adb not working. compares to nexus, hero's speed are very slow
Downloading now
Will try it out and post the feedback... can't wait!
witysimon said:
I don't think speed is the real reason why adb not working. compares to nexus, hero's speed are very slow
Click to expand...
Click to collapse
I didn't say that speed caused ADB not to work...
OK here goes
Please report if A2DP works... it should.
restoring my apps ....
damn i so feel like a 3 yrs old opening christmas pressie!!
RaduG said:
20Mhz won't make any difference
Click to expand...
Click to collapse
I was just kidding
Since I don't use application that seems to have problems with JIT, I always used it.

UPDATED 2/1/2011 [ROM] [Sense 2.2.1 Froyo] ChocolateFroyo v1.0-rel2 - Go Sense

THIS ROM IS NOT SUPPORTED ANYMORE FOR AN UNDETERMINED PERIOD OF TIME.
This is a 2.2 Sense ROM. Unfortunately, it still has two bugs, but even so it is usable, stable and fast.
ATTENTION! For those who already have 1.0-rel1 flashed, make sure you backup your data because flashing the ROM will wipe data even if you don't do it from recovery.
Note: There will be no other update until the Camera is fixed. Also, don't expect any updates in the next 1-2 weeks.
See post #2 for changelog and critical information.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What does not work:
- Camera
- Bluetooth audio WITH SOME DEVICES
Just so you know, I'm working hard to fix those issues, so don't panic, this will be updated soon. You might help me find other bugs if you test it. I can guarantee that if you don't need the camera, this ROM can work as an everyday ROM just fine.
What works:
- flash 10
- EXT-A2SD
- Calls, SMS, MMS
- Internet 2G/3G
- WiFi
- GPS/AGPS
- OpenGL
- lights
- accelerometer, sensors
- wired/wireless tethering
... everything else
+ Teeter - I've packed it so you can have a bit of fun?
Instructions:
Flash it and make a cup of coffee because the first boot takes AGES. Don't panic, it will eventually start ).
The custom kernel included is compiled from Erasmux's FlyKernel 12a. I've just enabled my dual-governor configuration and made the changes required by that. Nothing much, so credits to him.
Credits also go to the CDMA Hero devs which made this in the first place.
ChocolateFroyo 1.0-rel2(multiupload)
MD5: d08fb202c3bde7fd5bfb4751bd961fed
READ!!!
1.0-rel2
- fixed lights
- cleaned system - boots faster, runs smoother
- adjusted dalvik heapsize
- added custom kernel with dual-governor configuration(read below for more info)
1.0-rel1
Initial release
About the Dual-Governor configuration:
The default settings are: 352/691 ondemand screenon, 176/352 conservative screen off. This way the battery is conserved while the performance is at its best when you need it. If your phone can't run @691MHz, all you have to do is download the attached file, unzip it, and edit it as following:
echo 691200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Click to expand...
Click to collapse
This line tells the kernel what's the max frequency when the screen is on. Here you can edit with one of the following values:
518400
576000
614400
633600
652800
672000
691200
Click to expand...
Click to collapse
After you edit it accordingly, save it and push the file to /system/etc/init.d:
adb remount
adb push 90governor /system/etc/init.d
adb reboot
Click to expand...
Click to collapse
Now you're good to go!
F**k yeah!
Please man, try to fix the camera
That's what I'm doing, don't panic.
No problem m8 , I won't
Could you guys post linpack and neocore results?
Does the old style Apps2SD work in this (the one with an EXT partition)?
No, it does not, even though I've included it.
What a pity Is there a way to fix it?
Go for it RaduG!
Running CE 2.0 for ages!
Thanks.
you're a good guy Radu, I'm so happy to see you back to work on the hero
This will be a lot of fun!
RaduG said:
What does not work:
- Camera
- Bluetooth audio
Click to expand...
Click to collapse
BT audio works on Sengle, if that helps you somehow.
About the camera I really have no ideas, to solve it on ASOP/CM they needed to backport the camera interface from eclair - something you can't do on Sense cause you don't have sources. This is what made me give up.
I really hope you can get this working, because I think no one else is working on these issues.
Good luck.
Thanks for the A2DP tip
As for the camera, I've got to the point where the image is clear, but it does not refresh(although it doesn't behave like that with the uploaded version). So I'm pretty confident that with a bit of work I will fix it eventually.
I hope you don't mind that I'm using your kernel.
RaduG said:
Thanks for the A2DP tip
As for the camera, I've got to the point where the image is clear, but it does not refresh(although it doesn't behave like that with the uploaded version). So I'm pretty confident that with a bit of work I will fix it eventually.
I hope you don't mind that I'm using your kernel.
Click to expand...
Click to collapse
np. Whatever works best for you
Is there a difference between this rom and these: http://forum.xda-developers.com/showthread.php?t=838730
I guess yes , but what makes this rom different?
Is this ROM Legend port?
Aw, crap. I just posted how stable and good (perfect) Floyo 1.2.0 was and now you went and released yours, lol.
Back-up and here I come.
I'm going to backup to my sd card and save it and start fresh with a new card. Hopefully that way I can restore quicker and without any hicups.
Thanks RaduG
@GZFan
I don't know how that ROM works, but from the description I can tell you that the GPS is not working there. Otherwise I have no idea, as I haven't tried it.
@tomekk_nt
It's an Aria/Legend/Hero hybrid.
Anyone can port sense hd from desire hd or it is impossible?
GZFan said:
Is there a difference between this rom and these: http://forum.xda-developers.com/showthread.php?t=838730
I guess yes , but what makes this rom different?
Click to expand...
Click to collapse
RaduG is building it, the man behind vanillaEclair 4 (still imho the most flawless and responsive rom for the hero, old though it may be), vanillaEclair 5 (newer sourcecode than ve4, better than the other roms based on those same sources, not quite as good as ve4 though on my particular phone), and chocolateEclair 2 (a wonderful 2.1 sense rom that many feel is best of breed on the hero). He knows how to assemble and mess with the code in hero android roms exceptionally well and has a longer success rate with single-handed rom creation on the gsm hero than anyone else that I'm aware of.
This is all just my personal opinion and experience; I don't actually know the guy (hey Radu ;-)
Aside from that, literal differences are that he's building it himself based on some cdma stuff so will be undoubtedly bringing in different sources, and probably difference bits of sense executable stuff, to try and get things like camera working. Oh yea, and as noted he's actually working on this rom actively where the rom you linked to was great but is now abandoned due to a feature implementation stalemate and work on other time-consuming exciting projects by the same developer.

[Q]What are things i need to have before rooting my defy 2.1

hi guys, im new to android former symbian OS user but now im an android user so my question is what are the things i need to have for rooting my defy 2.1?
i want to install many useful application and themes that for free. i read before about sprecovery, overclocking, rom manager? things like that but i dont know where can i get those file..
i also recognized that .apk in android instead of jar and .sis to symbian! right?
give me some tips on how to explore this phone
Well, actually you could have just read a few threads to get to your answer. Read all about it in this or other posts.
all u need is a z4 root aplication, u can get it from market ...u just do 1click and ur rooted its that easy
Peglezn said:
all u need is a z4 root aplication, u can get it from market ...u just do 1click and ur rooted its that easy
Click to expand...
Click to collapse
z4 is for?
the name of application is "z4 root" and sry i think i made a mistake its not on the market ...but google for it or try applanet
Peglezn said:
the name of application is "z4 root" and sry i think i made a mistake its not on the market ...but google for it or try applanet
Click to expand...
Click to collapse
i cant understand this z4 my droid will be hacked after i install this?
yes it will root your phone.
kimagure01 said:
i cant understand this z4 my droid will be hacked after i install this?
Click to expand...
Click to collapse
when ull install it and when ur gonna open the application ull get a screen like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
click permanent root ...your phone will reboot and its gonna be rooted
and u can unroot it the same way
u can also try temporary root option, but that didnt work for me(I got the superuser icon ...but couldnt get superuser rights in any app i installed)
linel90 said:
yes it will root your phone.
Click to expand...
Click to collapse
i can root my defy android without sprecovery clockwork like mention on those tuts.? this z4 is fantastic if that is the case. i can root my defy with just one file? after i install z4 what is now name of my rom?
in this article they mention sprecovery,nandroid so all of these are within z4? right?
and because i cannot post link .
here is the title of the thread:
what you need to know about rooting by pc747
kimagure01 said:
i can root my defy android without sprecovery clockwork like mention on those tuts.? this z4 is fantastic if that is the case. i can root my defy with just one file? after i install z4 what is now name of my rom?
in this article they mention sprecovery,nandroid so all of these are within z4? right?
and because i cannot post link .
here is the title of the thread:
what you need to know about rooting by pc747
Click to expand...
Click to collapse
u dont need pc, just install the app i told u on your phone and press permanent root, your phone will reboot and its gonna be rooted ...its that easy
Peglezn said:
u dont need pc, just install the app i told u on your phone and press permanent root, your phone will reboot and its gonna be rooted ...its that easy
Click to expand...
Click to collapse
benefits of a rooted cellphone? im sorry. i want to know what will happen to my defy if it's now rooted? after permanent root i can go back to unroot my defy for warranty? and what is sprecovery,nandroid, clockworks is this diff from z4?
and also how do i know if a rom is compatible for my defy?
why is that everytime i run the z4 root it's always stock on "running exploit in order to obtain root access"?
is there a conflict with my root explorer?
For me Z4Root did not work, but SuperOneClick 2.1 did work
The SuperOneClick 2.1 method worked well.
I first tried the "noob guide" to root the defy with Z4Root. But no matter what I did it just would not work, I even went so far as to restore my Defy to factory settings and never could get it to work. I also found the SuperOneClick 2.1 here.
This was much easier than I expected and I have not had any problems with my Defy so far.
There are a lot of things you can do if you are rooted, like:
delete some system apps that you otherwise could not delete, you can also download a program to let you change the boot screen annimation (no more T-Mobile or Blur startup), you can overclock to increase the CPU speed, have more control over your phone and be able to customize it beyond what you otherwise would, access to many more apps that require root access, and much more. You could also install a different OS / ROM if you want to take that chance but it is not as easy as getting root access.
After it was rooted, I downloaded the System Recovery App found here at XDA and it also an smoothly without any problems and I backed up a copy to my SD Card.
Then I downloaded SetVsel from the Market for the Defy to overclock it, it comes with 3 preset Vsel settings for 300, 600 and 800. I kept the first two at 33 / 300 and 48 / 600 then increased the 3rd preset to a 52 / 1000 and the CPU now hits 1000MHz. There is a noticeable boost plus battery life is at least as good as it was before. I also ran the stability test just to see if there were any issues and it went well. A lot of people are clocking the CPU beyond 1000MHz and are going to 1100, 1200 and I have seen a couple say they have tried 1300 but I'm happy with 1000MHz.
I also downloaded Uninstaller for Root from the market and began deleting the preinstalled bloatware from T-Mobile one at a time and so far I'm not having any problems. I'm only deleting things that anoy me or take up a lot of CPU / RAM that I never use.
And then Titanium Backup just to be safe. The funny thing is that "after" all of this, now Z4Root says I'm rooted.
On the Quadrant Standard benchmark test I am averaging between 1000 and 1209 depending on what is running. And on the speed test I average around 9350 kbps download and 1110 kbps upload speeds, of course it depends on the time of day.
Overall, I have noticed much better performance and it appears to be stable. Thanks for the tutorial, between this and the YouTube walk through for SuperOneClick 2.1 it all went smoothly.

[KERNEL][SEP.30]Bricked-Kernel|2.6.39.4|v0.7|Sweep2Wake|mpdecision|stickyf req

Bricked-Kernel One X (endeavoru)
The first 100% stable kernel for the HTC One X (endeavoru)
(thx HTC for the screwed source btw, fixed it ^^)
Replaced NVIDIA's strange hotplug manager with my own: tegra_mpdecision​
Features:
Based upon HTC source
Fixed all stability issues from the HTC source
Fixed all section mismatches
Various other fixes
Sweep2wake
tegra_mpdecision, which completely replaces nvidias hotplug manager (better battery life + performance)
extensive sysfs interface for mpdecision with all the tuneables you want
modified ondemand governor for tegra3 & mpdecision (this is the only recommended governor atm)
fixed sound playback while screen is off
GPU OC (484Mhz)
Variant free CPU OC for all phones (51 - 1600Mhz)
Compiled with gcc4.7
fixed max cpufreq resets throughout the kernel
all cores now use the max freq (before: only in singlecore, otherwise -100Mhz)
Undervolting (faux123)
Check the changelog for the rest ​
Changelog @ bricked.de​
What is sweep2wake?
How to install?
!!!!IMPORTANT!!!!​Flash through recovery. But:
Since the htcdev unlock prevents us from flashing the boot partition from recovery, the installer will ONLY INSTALL THE MODULES & disable the HTC screenshot! (needed as a fixup for sweep2wake, use the AOSP screenshot pwr+vol.down instead)
_YOU_ will need to flash the boot.img within the zip (folder: kernel) yourself! (extract it to your desktop so you can use the commands given to you here)
I can't stress enough how important this is. _YOU_ will need to flash it.
How to do that (full guide, if you use the reboot option given to you by the installer you will only need steps 1 & 4-7)
1. Install HTC drivers (how to do that is explained a hundred times all over the web)
2. Reboot
3. in the boot animation, connect your phone to your computer and do:
adb reboot-bootloader
4. You should now see "FASTBOOT USB", if that is the case:
fastboot flash boot %USERPROFILE%\Desktop\boot.img
5. fastboot reboot
6. check with: adb shell uname -a if it says bricked.
7. enjoy
ofc these steps can also be done before the installer is executed from recovery. Just be sure to complete both.
​
Where to complain about errors/bugs?
Please use the Issuetracker for bugs/errors/feature wishes!
Issuetracker @ https://code.google.com/p/bricked/issues/entry
[email protected]
IRC Chat: Freenode IRC #bricked​
Download:
No Guarantees! If it kills your grandmother or your device, I am NOT responsible! If you understand this:
(If you download, please hit Thanks below my post! Thank you!)
>>> DOWNLOAD <<<​
Donor List:​
> Hall of fame <
With special thanks to all piggy bank donators!
Thank you very much!​
Source:
​
Battery life
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(InsertCoin)
Performance:
Knowledge base:
(under construction)
tegra_mpdecision manual:
coming soon(tm)
Why only clock with 1.4 Ghz max?
That's not a fix, just a point of opinion. I provide stock or close-to-stock kernel settings in regards to UV/Clocks. Usually I don't take HTC's 'stock' but the manufacturer of the component. In this case the soc, so NVIDIA.
Our stock-phone is clocked with 1.5Ghz single core and 1.4Ghz multicore (as soon as the 2nd core comes up). Usually, whatever you do, you will instantly trigger the second core to come up, if even only for a short time. This would effectively limit the cpu clock speed to 1.4Ghz for that time.
Since I overwrote the clock reduce, our phone will clock with the set max at all times. Which, in this case, is overclocking.
So I just reduced the clock back to it's "stock" setting and please trust me that you won't notice the difference to stock in Benchmarks, UI performance, or anywhere else. Not only because it is only 100Mhz on ONE CORE, but also because that core seldom runs alone and therefore can only use the 1.5Ghz for a very short time.
You are ofc free to clock it back to 1.5Ghz again. Please note that this counts as overclocking and the same rules as undervolting apply to it.
Soon to be tested will post results...
Sent from my HTC One X using XDA
Will it work with all the builds say 1.29, 1.28, 1.26?
Sent from my HTC One X
THANHVO31 said:
Will it work with all the builds say 1.29, 1.28, 1.26?
Click to expand...
Click to collapse
I am on 1.29, that's what I have tested. Chances are it will work fine with all builds, test it and report back
got excited and flashed the kernel,
no luck, stuck on htc splash screen
- 1.28 firmware(coredroid 2.1 ROM)
show-p1984!!!!!!!!!!!!! im so happy to see you here!!!!!!!!!!!! love your work on the bricked kernel for the hp touchpad!!!!
cant wait to get stuck into this one!!!!!!!!!
also will you be adding otg support?? just seen it in the changelog for the eternity kernel.
once again so glad to see you working on this awesome device!!!!!!!!!!!!
Buhhhuuuhhhuuuuuuu.... No pc atm.
Download your kernel right now, flash @ 6:15 dhft! (deagleonehomecommingflashtime)
Thanks show, will report
InsertCoined from my nearly"bricked" One X (thanks show, for doing your business^^)
after test eternity project i will test yours. Thanks for your work!!
Just pushed this. Booted just fine. No freezes or reboots. But I do have WiFi error
Sent from my HTC One X using xda premium
Can i install it tru CWM ?
wolfraim said:
Can i install it tru CWM ?
Click to expand...
Click to collapse
TRY reading the OP bro.
I just flashed it and flashed the Boot.img no WiFi. I flashed it through recovery twice. And manually flashed the Boot.img. Still no go. Any idea?
EsHi sir ......hopefully you Will support call recorder....please any chance to provide this feature to one x owners....thanks again in advanced
rayford85 said:
TRY reading the OP bro.
Click to expand...
Click to collapse
Sorry about it. Now im flashing.
---------- Post added at 10:47 PM ---------- Previous post was at 10:37 PM ----------
Installed without problems... no wifi problems for now.
i just do an full wipe with my VillainRom, then i flash the boot and start all again.
Any issues i will put here.
Thanks for now hahaha
rayford85 said:
Just pushed this. Booted just fine. No freezes or reboots. But I do have WiFi error
Click to expand...
Click to collapse
ShyamSasi said:
I just flashed it and flashed the Boot.img no WiFi. I flashed it through recovery twice. And manually flashed the Boot.img. Still no go. Any idea?
Click to expand...
Click to collapse
I am seeing this too in the latest version. I forgot to include some modules :/ Gimme a few.
hasan_abeer said:
EsHi sir ......hopefully you Will support call recorder....please any chance to provide this feature to one x owners....thanks again in advanced
Click to expand...
Click to collapse
I don't mean to sound rude. But you REALLY don't need to post this everywhere! The devs are aware it's a feature people want, but the reality is that getting things STABLE first is the highest priority.
It's not point getting call recording added if the phone doesn't work properly. Please just be patient and stop spamming every thread with your requests.
M.
+1 for Wifi error (maximus 1.3)
+ Led Notify always ON (red)
I had Flash boot.img + copy modules at CWM.
Sweep2Wake is cool but sorry.
Man, sweep2wake its amazing!
Now with no problems about wifi, its weird :s im using VR 2.

[KERNEL][SEP.30][AOSP]Bricked-Kernel|2.6.39.4|v0.7|Sweep2Wake|mpdecision|PowerHA L

Bricked-Kernel One X (endeavoru) AOSP (CM10/etc)
The first 100% stable kernel for the HTC One X (endeavoru)
(thx HTC for the screwed source btw, fixed it ^^)
Replaced NVIDIA's strange hotplug manager with my own: tegra_mpdecision​
Features:
Based upon HTC source
Fixed all stability issues from the HTC source
Fixed all section mismatches
Various other fixes
Sweep2wake
tegra_mpdecision, which completely replaces nvidias hotplug manager (better battery life + performance)
extensive sysfs interface for mpdecision with all the tuneables you want
modified ondemand governor for tegra3 & mpdecision (this is the only recommended governor atm)
fixed sound playback while screen is off
fixed bluetooth toggle with gps active
GPU OC (484Mhz)
Variant free CPU OC for all phones (51 - 1600Mhz)
added init.tegra.post_boot.sh support
Compiled with gcc4.7
fixed max cpufreq resets throughout the kernel
all cores now use the max freq (before: only in singlecore, otherwise -100Mhz)
Undervolting (faux123)
Check the changelog for the rest ​
Changelog @ bricked.de​
What is sweep2wake?
How to install?
!!!!IMPORTANT!!!!​Flash through recovery. But:
Since the htcdev unlock prevents us from flashing the boot partition from recovery, the installer will ONLY INSTALL THE MODULES & disable the HTC screenshot! (needed as a fixup for sweep2wake, use the AOSP screenshot pwr+vol.down instead)
_YOU_ will need to flash the boot.img within the zip (folder: kernel) yourself! (extract it to your desktop so you can use the commands given to you here)
I can't stress enough how important this is. _YOU_ will need to flash it.
How to do that (full guide, if you use the reboot option given to you by the installer you will only need steps 1 & 4-7)
1. Install HTC drivers (how to do that is explained a hundred times all over the web)
2. Reboot
3. in the boot animation, connect your phone to your computer and do:
adb reboot-bootloader
4. You should now see "FASTBOOT USB", if that is the case:
fastboot flash boot %USERPROFILE%\Desktop\boot.img
5. fastboot reboot
6. check with: adb shell uname -a if it says bricked.
7. enjoy
ofc these steps can also be done before the installer is executed from recovery. Just be sure to complete both.
​
Where to complain about errors/bugs?
Please use the Issuetracker for bugs/errors/feature wishes!
Issuetracker @ https://code.google.com/p/bricked/issues/entry
[email protected]
IRC Chat: Freenode IRC #bricked​
Download:
No Guarantees! If it kills your grandmother or your device, I am NOT responsible! If you understand this:
(If you download, please hit Thanks below my post! Thank you!)
>>> DOWNLOAD <<<​
Donor List:​
> Hall of fame <
With special thanks to all piggy bank donators!
Thank you very much!​
Source:
​
Battery life
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Performance:
Knowledge base:
(under construction)
tegra_mpdecision manual:
coming soon(tm)
Why only clock with 1.4 Ghz max?
That's not a fix, just a point of opinion. I provide stock or close-to-stock kernel settings in regards to UV/Clocks. Usually I don't take HTC's 'stock' but the manufacturer of the component. In this case the soc, so NVIDIA.
Our stock-phone is clocked with 1.5Ghz single core and 1.4Ghz multicore (as soon as the 2nd core comes up). Usually, whatever you do, you will instantly trigger the second core to come up, if even only for a short time. This would effectively limit the cpu clock speed to 1.4Ghz for that time.
Since I overwrote the clock reduce, our phone will clock with the set max at all times. Which, in this case, is overclocking.
So I just reduced the clock back to it's "stock" setting and please trust me that you won't notice the difference to stock in Benchmarks, UI performance, or anywhere else. Not only because it is only 100Mhz on ONE CORE, but also because that core seldom runs alone and therefore can only use the 1.5Ghz for a very short time.
You are ofc free to clock it back to 1.5Ghz again. Please note that this counts as overclocking and the same rules as undervolting apply to it.
Finally ! Showp did it again ! Awesome work mate ! cant wait to test and report back !
First. Let the force be with u
Edit: damn neo bet he used the red pill
Sent from my ICJ One X powered by pure smooth power NCX
Goku80 said:
First. Let the force be with u
Click to expand...
Click to collapse
Nah, second!
May the force be with you too.
Your 8 Hours Early
show-p1984 do we need repack??? :cyclops:
wow,a new bricked kernel,really exited about that one,hope i get it flashed correct on my rom
TAGTRAUM said:
show-p1984 do we need repack??? :cyclops:
Click to expand...
Click to collapse
It is using a modified CM10 ramdisk, should work across all aosp roms, except there are some strange ramdisk edits in you rom.
show-p1984 said:
It is using a modified CM10 ramdisk, should work across all aosp roms, except there are some strange ramdisk edits in you rom.
Click to expand...
Click to collapse
sounds good,so maybe no need for deleting those lines in init.endeavoru.rc.
Will try now
This is exciting. I'm going to wait on a few reviews though as I'm happy with Faux for now.
Thanks for all your hard work!
:good::good: great!!! thank you Show!
Woooow! Coming from neo's v7 which is stable, pretty fast and is supposed to have good battery also (as far as I experienced with former versions) .
But I have NEVER seen a HOX kernel that has so many 51mhz cpu times w/o lags.
This kernel is pure awesomeness, really a new feeling how cold a HOX can be and i bet the battery life will be outstanding
Good to have you back mate
Cheers Pete
ptr_hamilton said:
Woooow! Coming from neo's v7 which is stable, pretty fast and is supposed to have good battery also (as far as I experienced with former versions) .
But I have NEVER seen a HOX kernel that has so many 51mhz cpu times w/o lags.
This kernel is pure awesomeness, really a new feeling how cold a HOX can be and i bet the battery life will be outstanding
Good to have you back mate
Cheers Pete
Click to expand...
Click to collapse
Well here is the magic wand I used:
https://github.com/showp1984/bricked-endeavoru/blob/exp/arch/arm/mach-tegra/tegra_mpdecision.c
show-p1984 said:
Well here is the magic Light Saber I used here
https://github.com/showp1984/bricked-endeavoru/blob/exp/arch/arm/mach-tegra/tegra_mpdecision.c
Click to expand...
Click to collapse
Fixed.
Show is losing it after doing all night sessions making this happen.
@show-p1984,
Earlier tonight I flashed repacked Bricked_onex_v0.3 for CyanogenMod 10 Nightlies - 4.1.1 by TeamNDVRu.
@First impression all is working perfect; wifi, bluetooth, compass, gps and the rom flies, no delays in end call it's just wonderful.
Going to update asap LoL, thanks for your hard work.
Is it necessary to repack it to use in ICJ AOKP?
rpmfc36 said:
Is it necessary to repack it to use in ICJ AOKP?
Click to expand...
Click to collapse
no ,works fine as it is
rpmfc36 said:
Is it necessary to repack it to use in ICJ AOKP?
Click to expand...
Click to collapse
Nope.
Running it now.
Make sure you flash the zip provided in recovery and reboot into fastboot usb to flash the boot.img
Thanks to showp for the aroma love, made it super easy to flash this.

Categories

Resources