Motorola Xoom Overclocked: 1.5GHz Dual Core Honeycomb! [v2 2/28] - Xoom Android Development

Please do not flash this on the WiFi only Xoom yet. An update will be coming. In the meantime, you can just recompile the source from my github and it should work on the WiFi only Xoom.
I have successfully brought the Tegra 2 in the Xoom to 1.5GHz. A few kernel modifications make the dual core chip in the Xoom even more powerful than the recently announced Tegra 2 3D! 1.5GHz through two Cortex A9 cores is truly a force to be reckoned with.
2/28: Applied L2 prefetching patch. This increases Linpack to about 63 MFLOPS @ 1.5GHz. Flash the kernel and push the wifi module again: http://www.setcpu.com/files/xoom_ocboot_v2.zip (thanks ccfries for the heads up!!!)
Instructions:
1. Make sure you've unlocked your Xoom's bootloader for flashing first, then root it.
2. Grab this zip and extract it. It includes a boot.img with the overclocked kernel and a corresponding wifi module: http://www.setcpu.com/files/xoom_ocboot_v2.zip. Thanks to Koush for the rooted ramdisk in this boot.img!
3. Reboot into the bootloader by running:
adb reboot bootloader
4. Flash the boot image to your boot partition, then boot back into Android by running:
fastboot flash boot xoom_ocboot.img
fastboot reboot
5. Push the bcm4329.ko to your /system/lib/modules folder and reboot to re-enable wifi:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
adb reboot
The usual disclaimers apply here. Only do this if you know what you're doing. Though the long term stability/reliability of similar overclocks on other Android based ARM devices is known, this software is provided with no warranty, and I can't be held responsible if you fry your Xoom or anything.
The kernel defaults to 1GHz max for safety, and also includes 1.2GHz and 1.4GHz steps in addition to the 1.504GHz step. I've also updated SetCPU to support the Xoom, so grab that (I know the interface currently looks bad on the Xoom; a tablet optimized interface is coming soon!). SetCPU versions prior to 2.1.1 will not work for setting speeds on the Xoom.
Source code: Based on Google's android-tegra-2.6.36-honeycomb with some overclock specific modifications by me.
Video:
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 get ~47 MFLOPS in Linpack for Android, 35 MFLOPS stock. Linpack seems to hit a wall somewhere and isn't really accurate for the Xoom:
I get ~355ms in SetCPU's native bench (C only, the Tegra 2 sadly doesn't support NEON), ~534ms stock. This scaled almost precisely with clock speed, but the native bench isn't multithreaded:
3105 in Quadrant at 1.5GHz, compared to 2226 stock (though Quadrant tests more than just the CPU):
Keep in mind that the benchmarks I tested often aren't multithreaded enough to show a large difference between the Xoom's Tegra 2 and a similarly clocked single core Cortex A8. Some operations benefit more from the Cortex A9's improved architecture and/or the two cores more than others.
Enjoy your even faster Xoom!

Niiiiiceeee work! How about stabilty? is it stable at that speed? good for everyday work?

Holy sheep ****! A 50% overclock is very impressive. Nice job, here's to hoping overclocking eventually makes it's way to the Atrix.

Just awesome!

amazing work. I flashed it, and it's working great!

nice work! Going to give this a shot now

I get to step 5:
5. Push the bcm4329.ko to your /system/lib/modules folder and reboot to re-enable wifi:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
adb reboot
and get error: device not found. isn't bcm4329.ko suppose to be in tools folder?

actually how do I push the bcm4329.ko to /system/lib/modules folder

bishop72 said:
I get to step 5:
5. Push the bcm4329.ko to your /system/lib/modules folder and reboot to re-enable wifi:
adb remount
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
adb reboot
and get error: device not found. isn't bcm4329.ko suppose to be in tools folder?
Click to expand...
Click to collapse
ADB doesn't seem to be able to find your Xoom. Sometimes you can just unplug it and plug it back in and run adb kill-server to get it to detect again, and/or re-enable USB debugging.
As for stability, I did not have crashes at 1.5GHz on my Xoom.

how do you run adb kill server

tried adb remount and device still not found. help

Did you reboot the device after doing the fastboot command? If not, run
fastboot reboot

ok did that now when I try to push the file it says there is no such file or directory
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
I looked and I do not have a modules folder. Is there suppose to be one in the android/tools/lib folder on my pc?

bishop72 said:
ok did that now when I try to push the file it says there is no such file or directory
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
I looked and I do not have a modules folder. Is there suppose to be one in the android/tools/lib folder on my pc?
Click to expand...
Click to collapse
You need the bcm4329.ko to be in the same directory as adb, Program Files (x86)/Android/android-sdk/platform-tools/
The modules folder is a folder on the actual Xoom itself, it's just where you're copying the file to, and it most certainly should have one.

ok finally got it to work! no when I look in setcpu the max is 1504 and min is 216 but the numbers up top (big, bold and in white) keeps changing. From 312 Mhz, 216Mhz, 1504Mhz and so on. Is that suppose to happen? I thought the number was suppose to stay the same. And is the set on boot suppose to be checkmarked?
thanks for all your help

bishop72 said:
ok finally got it to work! no when I look in setcpu the max is 1504 and min is 216 but the numbers up top (big, bold and in white) keeps changing. From 312 Mhz, 216Mhz, 1504Mhz and so on. Is that suppose to happen? I thought the number was suppose to stay the same. And is the set on boot suppose to be checkmarked?
thanks for all your help
Click to expand...
Click to collapse
What CPU Governor are you using? I use On Demand, it's going to scale if it doesn't need all that horsepower... I always set it on boot myself, I actually found after first boot it was defaulted to 1504mhz instead of 1ghz... I set up profiles for good power saving.
p.s. I'm still using SetCPU 1.4.4 from a LONG time ago when I originally got it on my Droid, works perfectly on the Xoom.

bishop72 said:
ok finally got it to work! no when I look in setcpu the max is 1504 and min is 216 but the numbers up top (big, bold and in white) keeps changing. From 312 Mhz, 216Mhz, 1504Mhz and so on. Is that suppose to happen? I thought the number was suppose to stay the same. And is the set on boot suppose to be checkmarked?
thanks for all your help
Click to expand...
Click to collapse
Yes. Change the scaling to performance if you want to see it at the highest value all the time, but leave it at interactive for battery life, because it will only scale up based on need.

how does this affect video play back speed? Likely software mode rather than hardware mode.

a visitor from the atrix forum! i was just wondering anyone with this kernel if they could test HQ flash performance over at gomtv.net for SC2 GSL games. I know super nerdy but I watch these often and on the atrix at qHD there is some noticeable stuttering (about ~20fps) i estimate where a overclock to tip that over to around~25fps would be really helpful. does the OC help alot from stock with flash performance?

tassadar898 said:
a visitor from the atrix forum! i was just wondering anyone with this kernel if they could test HQ flash performance over at gomtv.net for SC2 GSL games. I know super nerdy but I watch these often and on the atrix at qHD there is some noticeable stuttering (about ~20fps) i estimate where a overclock to tip that over to around~25fps would be really helpful. does the OC help alot from stock with flash performance?
Click to expand...
Click to collapse
There is no Flash on the Xoom, not until Adobe gets off their ass and pushes out 10.2...

Related

[ROM][2 NOV] Virtuous Codename: Trentacinque Beta 2

Virtuous Codename: Trentacinque Beta
Maybe some of you already saw on Virtuousrom Website that I was able to leak some screenshots of the new Virtuous ROM. But now I was able to leak a complete build from them *lol*
But now to the "real" stuff:
The rom itself is based on the Runnymede RUU 1.05.401.4. After some days with trying to make this build really stable we still need to say this rom is still in a early build state. So be aware that there will be some problems left. Also there aren't any tweaks at the moment in the rom. We first want to make it stable and then begin to add some nice features.
As you maybe already saw we have no name for the rom at the moment. Therefore we started a thread in our own forum where we got a lot of suggestions for it. We will now try to pick up the best five suggestions and then start a poll here on XDA.
{
"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"
}
Changelog for Virtuous Trentacinque Beta 2
New Features
Update base to Runnymede 1.05.401.4
Update kernel to newer V10 build
Calculator with switchable different themes
Thanks to nunggg for his version
If you have already made or want to make a mod for the calculator than we will be happy to add it too if you want.
IME keyboard with switchable arrow keys
You can choose if you want to show or hide the arrow keys
Advanced Power Menu (APM)
Overglow effect
Bug Fixes
All devices are now more stable
Less output in logcat from rmt_storage
Download
MultiUpload
MD5: a123dc66ef17ce3e789108b9eec85550
G2 Users you will need the DZ hboot before you can flash this ROM, Instructions on switching can be found here.
[GUIDE] How to set up a SD swap partition
This guide will walk through how to set up a SD card swap. SD card swap allows your SD card to become a place where your physical memory can become virtual memory thus helping free up more physical memory . This is most likely needed in 512 mb devices running Virtuous Unity. This guide has in mind that you have knowledge of ADB. If not you may follow the alternate way, but I have not personally tried that way. If you would like to know more about ADB and how to set it up please go to ]this guide by theunlockr.com: http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/.
*Please back up everything on your SD card before going forward, I’m not responsible if you do not follow this step and loose everything on your SD card or if your phone is killed in anyway.
* Please Upgrade to Clockworkmod to 3.0.2.6 or newer before making the partition
1) Please boot into Clockworkmod Recovery (CWM, CWM Recovery). Once there go to Advanced-->Partition SD card-->Ext and Swap partition sizes. You will want to pick 128 mb for ext and 256 mb for swap partition.
2) Reboot into your ROM and place this http://dl.dropbox.com/u/32936737/swap_enabler.sh script into the root (not with in any folder) of your SD card.
Once there you can go two directions. Direction A is through ADB, Direction B is through the terminal emulator.
3a) Type these commands in the command prompt:
Code:
adb shell
chmod 755 /mnt/sdcard/swap_enabler.sh
sh /mnt/sdcard/swap_enabler.sh
3b) Type these commands in the terminal emulator (You can find this on the market)
Code:
su
chmod 755 /mnt/sdcard/swap_enabler.sh
sh /mnt/sdcard/swap_enabler.sh
Please reboot your phone after the script is done
4) Verifying that it works. Please choose 4a if you used ADB and 4b if you chose terminal emulator.
4a) If you’re using ADB type these lines in the command prompt
Code:
adb shell
free
4b) If you’re using terminal emulator type these lines in the emulator:
Code:
su
free
If you did not get a bunch of 0s that means it is working, Congratulations.
__________________________________________________________________________________
The following code will not update partition tables on sd card, it will just switch off the swap in the system
If you want to do this enter these lines in the command prompt (If using ADB)
Code:
adb shell (skip if you're already in adb shell)
sh /mnt/sdcard/swap_enabler.sh disable
If you want to undo using the terminal emulator do
su
sh /mnt/sdcard/swap_enabler.sh disable
Code:
Credits: Give a giant thanks to nv- for writing the swap_enabler script and original walk through,
Pato for the CWM tip
Cimer for the original tutorial [URL="http://forums.virtuousrom.com/index.php/topic,58.0.html"]http://forums.virtuousrom.com/index.php/topic,58.0.html[/URL]
Reserved
YES
Sent from my Desire Z running @ 2GHZ
COOL!!!!!!!!
Gonna try this. Awesome!
Sent from my HTC Vision using xda premium
Looks interesting.
Gonna keep an eye on this.
ah! Good Friday it is!
cjward23 said:
Reserved for future use
Click to expand...
Click to collapse
its been quite some time since i last used sense rom and especially unity series roms.... i wanna know if the sms lost issue was tackled or not ? are we still dependent on gostly sms ? be it on unity or on this sense 3.5 new beta rom... thanks
hispeedworm said:
its been quite some time since i last used sense rom and especially unity series roms.... i wanna know if the sms lost issue was tackled or not ? are we still dependent on gostly sms ? be it on unity or on this sense 3.5 new beta rom... thanks
Click to expand...
Click to collapse
I never get many sms on my vison, in fact i never get any. So i have been unable to test this.
There really is not much that we can do about the missing sms issue.
How ever i'm finding that with swap enabled sense 3.5 seems to be a lot more usable than 3. So maybe it will be less of an issue. Currently ghostly is not included but can be found in the market if required.
Also there is no graphical corruption on non htc widgets when using swap.
I look forward to hearing your feedback.
Sent from my HTC Vision using Tapatalk
It made me happy. Thx.
Finally !!! me happy too...hope this as good (or better..i m sure it is) that VU 2.39...awesome work guys !!
so, any comments on this one?
@OP Will the further updates require full wipe ?
Bug tracker is live, http://bugs.unity.flemmard.net/projects/virtuous-35
please provide as much info as you can including screen shots, logcats and what device you are using
Sent from my HTC Vision using Tapatalk
Been testing for a couple of hours now, and here's my findings:
1. Had hot reboot in setup screen (entering twitter account details)
2. Cursor randomly left text boxes during setup (no issue after)
3. Trackpad wake is missing
4. In OC/UV Beater, lowest OC available is 245mhz (is 122mhz in Unity)
5. as above, lowest UV is 800mv (was 700 or 750 in Unity?)
Good points vs Unity:
1. Swap doesn't corrupt widgets, seems to work perfectly (saw 140mb free ram)
Everything else i've tried works well, smoothly, and responsive. It's a DD for me, and a lot better than some other roms out there!
Nice job!
fr3akBut said:
Been testing for a couple of hours now, and here's my findings:
1. Had hot reboot in setup screen (entering twitter account details)
2. Cursor randomly left text boxes during setup (no issue after)
3. Trackpad wake is missing
4. In OC/UV Beater, lowest OC available is 245mhz (is 122mhz in Unity)
5. as above, lowest UV is 800mv (was 700 or 750 in Unity?)
Good points vs Unity:
1. Swap doesn't corrupt widgets, seems to work perfectly (saw 140mb free ram)
Everything else i've tried works well, smoothly, and responsive. It's a DD for me, and a lot better than some other roms out there!
Nice job!
Click to expand...
Click to collapse
Thank you for the feedback.
One of the issues we had with the last release of Unity was that people were experencing random reboots caused by the default UV, being able to go as low as we allowed was not good for the majority of devices. So the lowest options that were available have been raised.
Trackpad wake is a feature that we will add soon.
There are a few issues with text input, that we know about inculding the issue you have.
And hopefully the reboot wont happena again.
Sent from my HTC Vision using Tapatalk
hmm this looks interesting gonna try it out and report any errors back... last 3.5 rom i used when i was in a call made my phone burning hot... hopfully that doesn't happen here.
cjward23 said:
Thank you for the feedback.
One of the issues we had with the last release of Unity was that people were experencing random reboots caused by the default UV, being able to go as low as we allowed was not good for the majority of devices. So the lowest options that were available have been raised.
Click to expand...
Click to collapse
Ah, i see. Could i suggest that the lower OC/UV settings be made available as a separate patch for people with devices that can handle it? (with a big warning saying that installing this patch isn't recommended etc)
Then most people would be stable, and the lucky few can have silly underclocks for better battery life at idle.
Thanks again
So far it works well! Good job guys!
Sent from my HTC Vision using XDA App
awesome, cant wait to try this when i get home, by the way how much RAM are you guys getting after flashing this?

Script {APP} CPU Sleeper, The Battery Saver Mod! 08/06/2012 Release 2.7

App Version:
CPU Sleeper
~Free to all XDA Memebers
~ Must Be Rooted to use App
What is it?
Its a fairly simple App that will put CPU 1/2/3 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1/2/3 back ONLINE.
How does it work?
Since we have Dual & Quad core CPUs, we have a CPU 0 and a CPU 1/2/3, core 0/1/2/3, while the screen is off we really only need to have 1 core active "CPU0", this App will make sure CPU 1/2/3 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
Compatibility?
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread
Battery Saving?
Battery savings all depends on Usage & idle times.
v2.7
App Download: CPUSleep.apk
v2.8 via Market
CPUSleep.apk
Version 2.8 Release Notes:
~ Fixed GPS Not Locking while App is installed
~ GNex Freeze Issue should be Fixed
~ JB Compatibility should be fixed regarding Sleep Of Death
~ Fix Quad Core Sleep Issue's
~ Better Handling of CPU2 & CPU3 on Quad Core's
Click to expand...
Click to collapse
Credits:
Handlerexploit for co-creation of this wonderful App.
Script Version!
Code:
This time I present to you a script that will in theory (and so far for me, in reality) save us some battery without having to risk our hardware with undervolting! I present to you...
[B]CPU Sleeper[/B]
[QUOTE]Honestly the Script can be made to work with any Dual Core / Quad Core! The Only Problem is you need to be Rooted!
~ Currently the issue with CM9, is that the boot becomes incomplete while in init.d folder without Modification to the sysinit..
~ however, with any rooted device you can download the script & continue to use it via a script manager app on every boot.
~ With the Script Manager App, this script virtually can run on any Multi-Processor CPU
Hope that clears things Up,
~~Eugene[/QUOTE]
[U]What is it?[/U]
Its a fairly simple script that will put CPU 1 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1 back ONLINE.
[U]How does it work?[/U]
Since we have dual core CPUs, we have a CPU 0 and a CPU 1, core 1 and core 2, while the screen is off we really only need to have 1 core active, this script will make sure CPU 1 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
[B][COLOR="red"]WARNING! READ THIS![/COLOR][/B]
This script relies on init.d OR script manager! CM9, for some reason, tends to run this at the exact same time it runs some other script (I forget atm which) and it will clash, causing no boot! CM9 users MUST use the script manager version install! Flex Reaper appears to work fine with it as init.d. I strongly urge you to use the script manager version of this, NOT the flashable version. Always make a nandroid backup before modifying the system, including this!
[U][COLOR="Red"]Instructions[/COLOR][/U]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
[I]Version 1: Flashable[/I]
Same as any of my flashable releases, I did most of the work for you!
Make a full backup
Download to external SD card
Install from SD card
Pick the cpu sleeper zip file
it'll be almost instant
reboot
Shouldn't be any need to clear caches or anything like that.
[I]Version 2: Script only[/I]
This can be run in 2 ways, via init.d support, or via script manager. Both are pretty similar, and can be done a number of ways, however this is the basis of how.
[U]Init.d supported kernel:[/U]
Make a backup!
Download the script file, making sure no extensions get added onto the file. Copy the file to /system/etc/init.d and set the permissions to the following:
XOX
XOX
XOX
Once done, reboot the system, and it will take effect when your system is finished rebooting.
[U]Script Manager[/U]
This method is probably the better method, and should work with any kernel/ROM. Download the script file, making sure no file extensions get added, and copy it to /system/etc. Set the file permissions to:
XOX
XOX
XOX
Once done, load up script manager, select browse as root (if it isn't already set from the crossix mod method in the guide) then browse to /system/etc and select the script file S98cpu_sleep, then select ROOT and BOOT options. After this is set, reboot system.
[U]What do I do if I can't boot after using this?[/U]
You made that backup, right? Ok, then here is what you do.
Hold the power button until the tablet powers off
Press and hold the volume down button, next to the screen lock switch
Press and hold Power (while holding volume down)
Once the recover kernel message comes up, release the buttons
In CWM go to advanced, mounts, mount system, then format system
In TWRP, go to wipe, then wipe system
In CWM go to restore, advanced restore, restore ONLY system
In TWRP select restore, then uncheck all so ONLY system is checked
After restoring system, wipe cache and dalvik cache, then reboot system.
System should boot normally.
[B]Downloads[/B]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
Dual Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[URL="http://d-h.st/N1N"]CPU Sleeper script only[/URL]
Quad Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[url=http://www66.zippyshare.com/v/9249467/file.html]cpusleep[/url]
[COLOR="Red"]Download: ClockworkMod Recovery .zip for T989 / I727[/COLOR]
[url=http://www19.zippyshare.com/v/51836824/file.html]CPU_Sleeper.zip[/url]
Thanks to [COLOR="DarkGreen"]pio_masaki[/COLOR] for rewriting the OP
What permissions should it be set at? Still a bit of a noob
Sent from AOKP Goodness :-D
LoopDoGG79 said:
What permissions should it be set at? Still a bit of a noob
Sent from AOKP Goodness :-D
Click to expand...
Click to collapse
755 or
r-x r-x r-x via rootexplorer
Can this be used on any ROM or Kernel?
Wow this is great Eugene is very impressive
Sent from my SGH-T989 using xda premium
this can be used with any kernel correct?
What should it be once I copied it into inid? Like the name
Sent from Samsung Galaxy SIV
Will the phone function well with the asleep profile you created on the scary governor?
Sent from my SGH-T989 using xda premium
sinfulgray said:
Can this be used on any ROM or Kernel?
Click to expand...
Click to collapse
Yes this can be used with any Multi-core Phone that supports init.d
teambestyrandy said:
Wow this is great Eugene is very impressive
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Thanks,
hiz99 said:
this can be used with any kernel correct?
Click to expand...
Click to collapse
Yes this can be used with any Multi-core Phone that supports init.d
snguyen0730 said:
What should it be once I copied it into inid? Like the name
Sent from Samsung Galaxy SIV
Click to expand...
Click to collapse
You can just leave the naming the same, user preference.
iwasblown said:
Will the phone fiction well with the asleep profile you created on the scary governor?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Yes it will function correctly regardless of Gov selected, all we're doing is ensuring that cpu1 goes to sleep.
No int. d file. Can I use a script manager to run it?
Sent from my SGH-T989 using xda premium
Thanks! Giving it a try
Don't want to be annoying but I see that its a .txt file should it be a .sh file?
Just wanna be sure and thanks again
brentsalinas714 said:
No int. d file. Can I use a script manager to run it?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
yes that will work perfect as well... I forgot about that too..
Odd, followed instructions now I don't see a boot animation at all. Nandroid time. Wonder what went wrong.
Keep trying to move to system etc inid but it doesn't stick
Sent from Samsung Galaxy SIV
Sorry for noobness but where/how do you alter permissions to 755?
Sent from my SGH-T989 using xda app-developers app
snguyen0730 said:
Keep trying to move to system etc inid but it doesn't stick
Sent from Samsung Galaxy SIV
Click to expand...
Click to collapse
Worked for me copy to this folder with root explorer (file on bottom )
{
"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"
}
Then change permissions to this.
Sent from AOKP Goodness :-D
I have it copied there but how do I set permissions here?? I
Sent from my SGH-T989 using xda premium
I've noticed a change, much more deep sleep, u is da shiznatz bro!! :thumbup::thumbup:
Sent from AOKP Goodness :-D
LoopDogg, is this supposed to be changed to a .bin file from a .txt?

[DEPRECATED][GUIDE][ROOT] Smartwatch 3 KNX01V

I removed download link due to this method not working on lollipop.
This guide is deprecated, please use TWRP Recovery from this thread to install root
DISCLAMER and WARNING: I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or the current economic crisis. Please do some research if you have any concerns about this app.
Click to expand...
Click to collapse
You have been warned!
Links:
Sony PC Companion
Download link removed while I will test for compatibility with 5.x, md5 summ: e2c34b07faa415a6cbb95943649c7eba
Step 1:
Code:
[URL="source.android.com/source/building-devices.html#unlocking-the-bootloader"]Unlocked bootloader[/URL]
1. Enable adb debug
2. adb reboot bootloader
3. fastboot oem unlock (twice if requested)
4. fastboot format cache
5. fastboot format userdata
6. fastboot getvar all (and verify that it is)
7. fastboot reboot
Step 2:
Code:
Updated to the latest KNX01V
[URL="http://www.sonymobile.com/us/tools/pc-companion/"]Install Sony PC Companion[/URL] and use Supports Zone -> Accessories software update -> Smartwatch 3
Step 3:
Code:
Have Flashboot (Sony s1 flash) drivers installed just in case (Install Sony PC Companion and do update as indicated in previous step)
Step 4:
Code:
[COLOR="red"]BOOT [/COLOR][COLOR="Red"](DO NOT EVER FLASH IT!!!)[/COLOR] rooting boot.img
1. Download rooting kernel image (SWR50-rootboot.img)
2. Reboot into bootloader (adb reboot bootloader)
3. fastboot boot SWR50-rootboot.img
4. Wait till device reboots or sits in black screen for a while (1 min+ then reboot it by holding power 10+sec)
Step 5:
Code:
Verify by:
1. adb shell
2. su
3. you should see [email protected]:/ #
Step 6:
Code:
1. Let me know!
2. Use it, dive into GPS investigation or customizations, etc.....
Special thanks:
1. Justin Case for LG G Watch rooting method using LGGW-rootboot.img
2. osm0sis for Android Image Kitchen
{
"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"
}
reserved
How it works:
1. Each boot.img packs zImage (real kernel) and ramdisk (special files for kernel use)
2. This one has all modifications from LGGW rootboot by Justin Case:
a. Adds su binary, superuser.sh install script, modified install-recovery.sh and additional step into init.rc file to invoke superuser.sh install script. Also modifications to mount system as rw and some disabled security.
3. So basically it mount system as rw and does following (cut from superuser.sh install script):
Code:
#!/system/bin/sh
/system/bin/mount -o remount,rw /system
/system/bin/sleep 2
/system/bin/cat /sbin/su > /system/xbin/su
/system/bin/cat /sbin/su > /system/xbin/daemonsu
/system/bin/cat /sbin/install-recovery.sh > /system/etc/install-recovery.sh
/system/bin/chown 0.0 /system/xbin/su
/system/bin/chown 0.0 /system/xbin/daemonsu
/system/bin/chown 0.0 /system/etc/install-recovery.sh
/system/bin/chmod 06755 /system/xbin/su
/system/bin/chmod 06755 /system/xbin/daemonsu
/system/bin/chmod 755 /system/etc/install-recovery.sh
/system/bin/sync
/system/bin/sleep 3
/system/bin/reboot
I have dumped the rom from my debug/test version and was wondering if you were able to give me a guide on how i could try and flash it with a retail version? I presume this root guide probably won't work for me
Well, if hardware and partitions are the same - I do not see why it will not work. However, it will not help to flash.
I might try to compile twrp, but will have to carefully read its docs first.
thanks @XorZone confirmed as working and a nice easy process too (I was already unlocked).
Out of curiosity, modded LGGW rootboot or just renamed?
iBuzman said:
thanks @XorZone confirmed as working and a nice easy process too (I was already unlocked).
Out of curiosity, modded LGGW rootboot or just renamed?
Click to expand...
Click to collapse
Thanks for letting me know!
I reverse engineered changes in LGGW by unpacking and comparing ramdisks from both rootboot and original lg kernel and then applied the same changes to our kernel extracted from PC Companion files.
great thinking and good job ?
btw, that pic confirmed su access to watch over bluetooth debug connection ?
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Kurotsuchi said:
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Click to expand...
Click to collapse
There is at least Wear Control app: https://play.google.com/store/apps/details?id=octathorp.wearcontrol
I plan to code density changer that will require access to adb, so either from rooted phone or rooted wear.
Kurotsuchi said:
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Click to expand...
Click to collapse
how to benefit?
root apps of course!!
(sry for bad pic, unlocked bootloader z3 in low light [emoji12]
XorZone said:
There is at least Wear Control app: https://play.google.com/store/apps/details?id=octathorp.wearcontrol
I plan to code density changer that will require access to adb, so either from rooted phone or rooted wear.
Click to expand...
Click to collapse
that's awesome man! will purchase mine next week, can't wait to root it. thanks for the answer.
Thanks for the root, XorZone. For anyone wondering, here's the dmesg of the watch
A few small observations from digging:
The main chipset seems to be the BCM23550
The CPU has 4 cores, 2 are disabled in software. Should be easy enough to reenable if you please
It definitely has WiFi hardware, but the firmware is currently missing from the image. If you mange to get a hold of compatible firmware and nvram, it should be simple enough to get WiFi up and running
The WiFi firmware message mentions a "43341". Which is odd because apparently the main chipset does have WiFi support built in. Searching for a Broadcom 43341 gives you this, but this might just be a red herring.
cb22 said:
Thanks for the root, XorZone. For anyone wondering, here's the dmesg of the watch
A few small observations from digging:
The main chipset seems to be the BCM23550
The CPU has 4 cores, 2 are disabled in software. Should be easy enough to reenable if you please
It definitely has WiFi hardware, but the firmware is currently missing from the image. If you mange to get a hold of compatible firmware and nvram, it should be simple enough to get WiFi up and running
The WiFi firmware message mentions a "43341". Which is odd because apparently the main chipset does have WiFi support built in. Searching for a Broadcom 43341 gives you this, but this might just be a red herring.
Click to expand...
Click to collapse
Yeah, I noticed the same about WiFi chip, it might be that they packed bcm43341 as part of the BCM23550 soc, like Invensense MPU9250 chip packs mpu6500 inside.
For the 43341 I'm finding it in the configs here: https://android.googlesource.com/kernel/tegra/+/bdde9f16131a5ac2039062d5ce22e3e153acbe68^!/
Looks like BCM43341 is BCM4334 + NFC chip, so we could try S3 I9300 files as per http://redmine.replicant.us/projects/replicant/wiki/GalaxyS3I9300Firmwares
how can i grant superuser permission to an app? i install es file explorer with sideload but i can't get superuser permission. the procedure is ok
Sorry admins for not putting in correct location....
Moved to Correct Area!
cdrshm said:
Sorry admins for not putting in correct location....
I can not get my device to show up in adb devices and its driving me crazy. Tried windows 7/8/server 2012R2 ..lol
Now I have done my fair share of custom roms and bootloaders.
OG Droid
Nexus
Nexus 10
Asus Memo Pad (came from alarm company, and could only load one app...now its a full running tablet)
I am sure its a silly thing I have done or am missing...
Thoughts....ideas?..need more info?
Click to expand...
Click to collapse
As usual, check if adb enabled in settings-about-developer options, if there are no developer options - it is as usual 7 times click on build number in about screen.
And please use Q&A thread for such questions
I've confirmed root survives the Lollipop update
Wow, I was out whole weekend, will have to catch up with the update

5/14/2016 || Note 4 (msm 8084) || CPU, TCP, IO, RAM "Tweaks"

Hello from the V10 Forum! This is a mod I created and posted for V10 users, but as various devices use Qualcomm hardware and similar operational conditions, the biggest similarity being Linux , and by some requests from others here to post this, I am offering this modification to other devices as well. It is already thoroughly tested and the logic and rationale behind the conditions are cross compatible with many Linux systems/machines anyways. You should see positive results just as everybody else has.
You must be rooted to apply this mod.
**SEE POST 2 FOR CHANGE LOG**
***VERY IMPORTANT IF YOU ARE GOING TO USE THIS MOD, you need to navigate to the /system/etc folder on your device, and rename any files that exist in that sub-folder that have the words "ZRAM" in them to have a .bak extension rather than a .sh extension so it does not run at boot.
You will also need to navigate to the /system/bin directory with a root explorer and rename the "mpdecision" binary to "0mpdecision.bak" .... The added 0 is just to move it to the top of the list of files so you can find it easily if you need to.
This is a step by step instruction on how to replace the /system/etc/init.qcom.post_boot.sh file for the device. Be it known, however, that this instruction (and file) can be used with any device running the Snapdragon 805 SoC combo.
What does this do?
Simple. It turns your device into an even more efficient powerhouse. Here are is a list of everything done:
-Interactive Governor tuning for performance and better battery life, a quick description of what I did...
-low load, quick response, low frequency
-high load, quick response, higher frequency
-modified input boost settings for Interactive
-Locked cpu cores on - your battery life will not suffer, don't worry.
-Modified a bunch of system permissions to remove samsung garbage from controlling hardware.
-Switched IO scheduler to noop, and tuned accordingly
-Adjusted minfree values (RAM management, it is a little more multi-tasking friendly)
-Adjusted VM parameters - swappiness, dirty ratios, cache pressure, centisec values, etc (again to complement multi-tasking... your data will hang out a little bit more before being written to disk, but house cleaning won't happen all at once, so there is still good performance and your system won't bog down while it is flushing the toilet)
-DISABLED zRAM!!! - I have no idea why a device with 3 GB of RAM has zRAM enabled. This is purely a waste of CPU cycles and other system resources. You want physical memory, not compressed memory.
-Changed congestion algorithm to cubic (better network performance... assuming the network bandwidth is already there
-Cleaned up the shell file and fixed some errors.
-Removed calls to mpdecision
-More to come!
How to do this, we'll just get right to it.
Download this app https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Download this file https://drive.google.com/file/d/0BzM9W6qUvx-gX1I4UDlLV3VIUWM/view?usp=drivesdk
Very important you put the file on the root of your INTERNAL SDCARD!!!
Do not forget to do this.
After you do that, open terminal emulator, and type the following commands in the order they are presented (I would highly recommend just copying them from this post one by one and switching back and forth between your browser and the terminal app):
Code:
su
Code:
cd /
Code:
mount -o remount,rw /system
Code:
cd /system/etc
Code:
rm init.qcom.post_boot.sh
Code:
cd /sdcard
Code:
mv init.qcom.post_boot.sh /system/etc
Code:
chmod 0644 /system/etc/init.qcom.post_boot.sh
Double check the file has been replaced with a file explorer of some sort, double check permissions, then reboot. Good to go.
***CHANGE LOG
5/14/2016
-Modified scaling up activity to be a little less aggressive, this should help battery life quite a bit
-Switched scheduler to cfq and tuned it, huge increases in io throughput - the new cfq should be used for these devices, no comparison in performance to any other
-Moved. above_hispeed_delay module down the pole a bit (moAr batteries)
4/28/2016
-Initial Release
Why does it say ef you bro?
{
"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"
}
Sent from my Not4 Mod using Tapatalk
souluneek said:
Why does it say ef you bro?
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Lol. I originally did this for a good friend of mine, I left him a message in the file as a joke - forgot to change it lol.
Interested to see what others results are like. .
Sent from my SM-N910P using Tapatalk
the note 4 has 3gb ram..?
So just copy and paste and hit return after each line in terminal
Edit: i think it worked because my i/o is set to noop now
Sent from my Not4 Mod using Tapatalk
I just did this the old manual way in root explorer. Added .bak to post boot instead of .sh, copied the new post boot to system/etc and changed permissions. Added .bak to mpdecision. No zram files for us to edit. Rebooted. Ran antutu with a 5,000 point increase. With MM I steady got 70,450's and now.
This is great for now until we get some well built custom kernels. All the roms I flashed since I had the note 4 from launch day, and I don't think any devs worked on tweaking the post boot like they used to on the HTC eVo line like I was used to.
Hello only for sprint note 4? Can be used for 910c?
SM-910C EROBOT 13.4 SUEMAX 1.7.8
Can it be use on MM??
Sent from my SM-N920P using XDA-Developers mobile app
To the users above ↑
File can be used on ANY device running the snapdragon 805 processor.
And I fixed the typo about 4 GB of RAM. This device has 3, v10 has 4 (I copied the thread over from the other forum)
Says no such file or directory.?
Sent from my Not4 Mod using Tapatalk
souluneek said:
Says no such file or directory.?
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Our directory is different, this needs to be corrected in the OP. Follow what I did a couple posts up.
]
Where did you find mpdecision in the file i don't see it
Sent from my Not4 Mod using Tapatalk
Death-Dealer said:
Our directory is different, this needs to be corrected in the OP. Follow what I did a couple posts up.
Click to expand...
Click to collapse
Fixed it for you
Well my experience with this is odd. I did what Death-Dealer suggested and I can tell things are working faster/better but my antutu score went down instead of up. As long as I'm happy with the performance I guess it doesn't matter what antutu says.
souluneek said:
]
Where did you find mpdecision in the file i don't see it
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Kernel/Rom combo?
Death-Dealer said:
I just did this the old manual way in root explorer. Added .bak to post boot instead of .sh, copied the new post boot to system/etc and changed permissions. Added .bak to mpdecision. No zram files for us to edit. Rebooted. Ran antutu with a 5,000 point increase. With MM I steady got 70,450's and now.
This is great for now until we get some well built custom kernels. All the roms I flashed since I had the note 4 from launch day, and I don't think any devs worked on tweaking the post boot like they used to on the HTC eVo line like I was used to.
Click to expand...
Click to collapse
Hello, as the title says, wich setup are u using?
liriolebron said:
Hello, as the title says, wich setup are u using?
Click to expand...
Click to collapse
tx's stock deodexed PC1 rom with xposed
New file in the link in the OP, made some pretty drastic improvements for you note 4 guys.
You should see a good bump in performance with no hit to the battery life.
Check the change log in the second post.
I'll be around

Advanced Interactive Governor Tweak

NOTE:
1- First tnx to @soniCron for his amazing work for governor profile... here
2- I edited GhostPepper in to the init.d script and values completly with XZ cpu cores frequency.
3- No need to run terminal any more for set profile at any boot! or use third-party kernel manager or profile manager apps. only copy/past, set permissions, reboot and BINGO
BACKGROUND:
I test Butterfly (from HTC10) profile and MadDog from (Nexus 5x) and edit that for xperia xz. After multi time test and check diffrent values... i fine GhostPepper v1.3 is a complex of smooth like butter, good performance in games and best battery life for day to day use.
Quote from @soniCron :
Uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. The current favorite, albeit not very well tested so far. HIGHLY RECOMMENDED
Click to expand...
Click to collapse
REQUIREMENTS:
1- rooted xperia xz
2- enable init.d (see post2)
3- TWRP recovery installed (for enable init.d)
4- any file manager with root browsing feature. (or use twrp built-in file manager!)5- enough knowlage about linux permissions, governor, init.d
CREDITS:
@Ryuinferno for add init.d support to any android kernel here
@soniCron for interactive governor tweaks here
@AndroPlus for kernel and twrp for Xperia XZ here & here
DOWNLOADS:
https://drive.google.com/file/d/0Bx-04WhcoxYlLUdLd2txSXN6VEk/view?usp=sharing
SCREENSHOT:
{
"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"
}
enable ini.d at Xperia XZ
1- download term-init.sh
2- copy the sh file in root of sdcard
3- reboot device to recovery mod
4- in TWRP, go to advanced/mount then mount the "system" partition
5- go to advanced/terminal and run built-in terminal
6- type this commend line by line in terminal:
Code:
cd /sdcard
sh term-init.sh
7- reboot device. go to /data folder and check any Test.log file is there? YES??? woow you now can run any init.d scripts from boot :laugh:
-------------------------------------------------------------------------------------------------------------
NOW copy 99governor file from last post to /system/etc/init.d/
set all permissions "rwxrwxrwx" then reboot your phone
-------------------------------------------------------------------------------------------------------------
​
Working fine
I will test in some hours and days and give a feedback
karrouma said:
Working fine
I will test in some hours and days and give a feedback
Click to expand...
Click to collapse
Phone speed lower than before.
Before flashing my phone running fast, but now battery are a bit better
Tanks for your feedback
karrouma said:
Phone speed lower than before.
Before flashing my phone running fast, but now battery are a bit better
Click to expand...
Click to collapse
The interactive tweaks change to cpu clock jump step. In medium usage like web surfing or lesson to music you don't need max freq.
Now cpu need more time to raise to max frequency
This profile set gpu clock at maximum for little frame drop in games (play AAA games drain battery fast)
If you no need that only delet init.d folder or delet governor file.
please, help!
sh: can't open 'term-init.sh'
why is it happening?
First mount /system in twrp (your device must be rooted and busybox installed)
Run terminal and
cd /sdcard
sh term.init.sh
OR
sh /sdcard/term-int.sh
Check sh file saved at root of sdcard and check file name
GenomeX said:
First mount /system in twrp (your device must be rooted and busybox installed)
Run terminal and
cd /sdcard
sh term.init.sh
OR
sh /sdcard/term-int.sh
Check sh file saved at root of sdcard and check file name
Click to expand...
Click to collapse
UB - done
TWRP - done
SuperSU - done
in TWRP:
mount system - done
run terminal - done
"cd /sdcard
sh term.init.sh" - done
terminal says "sh: can't open 'term-init.sh' "
term-init.sh is in the root of sdcard, redownloaded it several times (file size 8kb)
what am I doing wrong?
kernel is stock with restored ta and drm fix
Can you make one for drunksauce gov it's the best on Nexus 5X and is used in D.U. has crazy SOT on my Nexus can we get this ported to XZ. If not what do I do to get it ported just open the init file and edit the frequencies and how many CPU like ex: cpu0 cpu1?
Well I tried to port drunk sauce my self using the 99gov for Xperia XZ I found in this thread as a reference for the frequencies on our device. I'm running it now can confirm it is a success. I'll m working on it over the week. If anyone wanna try and give me feedback that be cool. I'm noticing a small drop in proformance in stamina mode but there no lag and SOT seems to be great. Give it a shot :good:
https://drive.google.com/file/d/0B2bXgjj9jECcZkVXOFNfVGYtMXM/view?usp=drivesdk
It´s necesary keeping root to use your modded governor?
thanks in advance
sonice21 said:
It´s necesary keeping root to use your modded governor?
thanks in advance
Click to expand...
Click to collapse
Of course...
:good::good:
The latest update to my port, tried doing a pull request to get help from original devs. I cleaned up some code and changed some values. much better now
https://drive.google.com/open?id=0B2bXgjj9jECcSU5mcmZ0ajFpR3c
Smacksmack206 said:
The latest update to my port, tried doing a pull request to get help from original devs. I cleaned up some code and changed some values. much better now
https://drive.google.com/open?id=0B2bXgjj9jECcSU5mcmZ0ajFpR3c
Click to expand...
Click to collapse
TNX
I check your tweak and feedback.
GenomeX said:
TNX
I check your tweak and feedback.
Click to expand...
Click to collapse
I appreciate it fam. let me know what you think
New update to my DrunkSauce port now on Version 4, Noticed that when I was checking CPU statistics I was showing the most used frequency on LITTLE Cluster was 1593MHz, Also noticed the associated battery drains from this. Added 3072MHZ Target load to LITTLE Cluster and Also changed the Input boost to have LITTLE Cluster firing at lowest frequency 3072MHz for CPU cores 0-3.
Enjoy!!!! Because im loving this thing right now buttery smooth and power saving.
https://drive.google.com/open?id=0B2bXgjj9jECcUVpHQXlYVUFrTDg
Here's what I was talking about earlier
Just updated here is my GitHub so anyone can snag my recent edits. Major improvements overy last commits. Got the original devs looking over my commits. Happying Drunksauce FTW!
-Edit- Drunksauce is the 99governor for our device in my GitHub. And 100drunksauce is the original file from Nexus 5x in my branches. and download from the readme branch
https://github.com/Smacksmack206/Sony-Xperia-XZ/tree/readme-edits
hi! I've installed everything and activated the last edition of governor99, but still get about 3-4 hrs SOT
what am I doing wrong?

Categories

Resources