[MOD] Uncapped Data For Your ROMS (Skyraider, Virtuous, OMGB, ETC) - Droid Incredible Android Development

I have taken the steps that was said below and have edited the the services.jar to include the uncapped data mod. I did not do this on my own I used the steps BThomas22x gave. Flash the zip in recovery, one includes the 6 bar status mod and the other is the 4bar mod which comes stock on skyrader sense. Flash at your own risk but they worked for me... and please nandroid first
Also if you need it made for your rom send me your services.jar
*Known to create forced closes on the mobile networks menu*
Skyraider 3.5
6bar
http://www.mediafire.com/?1zvzlfhgo8chlc1
4 bar or regular skyraider
http://www.mediafire.com/?8i4b9jbh6dc7le6
Since no one knows how well these work, if you are not satisfied flash these to go back to stock:
6bar stock
http://www.mediafire.com/?4ei0zp92j7c7j03
4bar stock
http://www.mediafire.com/?obyahckab7g16w0
Other ROMS
Athena
http://www.mediafire.com/?81ibn35zuagh61z
Virtous Rom
http://www.mediafire.com/?4zdcxim6iutypjy
Incredible Gingerbread OMGB
http://www.mediafire.com/?dfd0xjjh8y4a1c4
CM Nightly 184
http://www.mediafire.com/?551c8btbtjoj8ec
MIUI 12.24
http://www.multiupload.com/01SV6SIEF9
IncRom
http://www.mediafire.com/?v1av18itj18yebv
Ultimate Droid 2.5
http://www.mediafire.com/?i0eqbiw9r1qw14y
Originally Posted by BThomas22x
Ok first things first... I just came to the EVO from the Epic, so I'm gonna join this community now .
..::..Disclaimer..::..
You are voluntarily flashing this at your own risk. I can not be held accountable for anything you choose to do on your own. If you try to blame me, I will laugh at you. ....While pointing.
..::..Data Service Governer Killer..::..
1. What does this do?
This is a modification to the services.jar framework file, that allows you to have an un-throttled internet.
2. Will this make my internet faster?
Yes and No. This will not "Upgrade" your internet. This only takes the trottle off, so you can download, or play games and not have to worry about it hitting a certain peak and lagging from that point on. It doesn't provide you with a new internet, only a warm fuzzy feeling from knowing you don't have to worry about it capping off.
3. If I flash this, will it break my phone?
If it did, yours would be the first case I heard of. I've personally flashed it NUMEROUS times.
4. Will this work on any ROM?
Yes. This is not based off a particular ROM, and can be used with ANY EVO ROM. ALTHOUGH If you're Dev has made changes to the services.jar file, this could wipe those changes out. If you are unsure, send me your services.jar file, and i will look for you. Hopefully, i'll be able to make a download list in a couple days with all the Dev's services.jar files, so you can download that specific one. You can always ask your Dev.
5. Do I have to be rooted?
Yes. In order to be able to flash this, you are going to need to have root with a custom recovery. I.E. Amon_Ra.
..::..Install Instructions..::..
Simply download, and place on the root of your sdcard. Then go into recovery and flash it as you would a ROM. Done.
..::..Download..::..
Data Service Governer Killer
..::ALTERNATIVELY::..
You can follow this method if you're Services.jar framework is already modified, or if you aren't sure.
1. Download these 2 files:
Smali_Baksmali
2. Create 2 folders on your C: Drive labeled "Smali" and "Baksmali". (This is for easy access to the folders when being cd'd)
3. Place the 2 downloaded files in the C: Drive folders accordingly. (I.E. Smali.jar in "Smali" folder, and Baksmali.jar in "Baksmali" folder.)
4. Using 7zip or WinRAR (or any other zip program) open the services.jar file that you pulled from your phone. Copy the "classes.dex" file and paste it into the "Baksmali" folder.
5. Open your command prompt and type the following:
cd C:/Baksmali
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex
6. Open the newly created "classes" folder (its inside your Baksmali folder that you should already be in) and navigate through "/com/android/server/". Scroll down till you see the 6 or 7 "Throttle" files. They will be located between "TelephonyRegistry" and "TVCableObserver$1$1". DELETE ONLY THE "THROTTLE" FILES.
7. Back out of the folders until you are in the "Baksmali" folder again. Now open the "Smali" folder you created earlier. Place the "classes" FOLDER in the "Smali" folder.
8. Return to your command prompt and type this:
cd C:/Smali
java -Xmx512M -jar smali.jar -o classes.dex classes/
9. You should now see a "classes.dex" file in your "Smali" folder. This is the NEW compiled services.jar classes.dex file. Pull up the 7zip or WinRAR file you had open earlier, delete the current classes.dex file from the services.jar, and place the newly compiled one in it's place.
10. Place the services.jar file back into your ROM, and boot up. You are now running Unthrottled.
11. If you do not see the "Throttle" files, don't complain they're not there, your Dev may have already taken them out.
What this mod will do for you:
Originally Posted by gmichaelow
I think a bit of clarity is needed here. This mod will only stop Verizon from slowing down your data speeds.
It will NOT help you avoid overage charges.
For example let's say you're on a 250mb a month plan. This mod only ensures that you will get 250mb at unrestrcited speeds. Going over 250mb will still result in an overage charge.
Also, the reason people keep referring to 5gb on their "unlimited" plan is because Verizon starts to throttle data speeds after 5gb of data. That doesn't mean you get charged more, Verizon just slows you down. This mod will prevent that, and only that.
I hope that clears things up.
Click to expand...
Click to collapse
*Big Thanks to sino8r for being the Original person to come up with this.*

Just loaded the 6-signal bar version on my SR3.5 phone. Used Speed Test to get speed numbers.
Before the install: 300 down/500 up
After the install: 1400 down/650 up
I should qualify that last night (8:30pm EST) I clocked 2000 down/900 up.
Also, I've used a paltry 1.6GB this billing cycle, so I shouldn't be hit by the governing service if everyone's assumptions are correct. It's possible that my results are simply from the reboot and being connected to a different tower, or maybe the throttling is also controlled by the time of day.

ill check this out
im getting 800 down and 500 up... i never tested it before i did it bc i was just following the directions..
now i just got 1200 down when my service was higher... so it could be a service thing?

In my completely non-scientific experience, I've found that 3G download speeds seem to depend more on the tower itself than the quality of the connection to it. For example, I've had 2-3 bars (out of 6) in a busy DC suburb, and clocked my download speed at 2400. Then I'll go to a more out-of-the-way area where I'll have 6/6 bars and only get 450.
I think there's definitely something to the idea that speeds might be throttled during "peak" hours to alleviate network strain. I suppose it'll take more input from others before a conjecture can be reached though.

agreed... but ill make some zips do put the stock back in for those that want a faster way back

While wireless tethered to my laptop, in Southern Maryland @ 1445, I went to speedtest.net and before the mod I had the following:
DL = 0.61Mb/s
UL = 0.62Mb/s
After the mod same location @ 1500:
DL = 1.16Mb/s
UL = 0.68Mb/s
Is there another means of testing this which I'm not aware of? I assume the speed test you've referenced is in fact this site?

Dangit! hahaha I just followed the "Alternatively" directions and got this going on my wifes SK3.5 inc.
Look, If your going to beat me to the punch every time. please be a little quicker about it!!!
Seriously, nice work. I may flash your zip just to be sure...
My #'s before: down/up - 1.41/34 ,, 1.61/.30 ,, 2.06/.37
My #'s after: down/up - 2.31/.43 ,, 1.99/.49 ,, 2.08/.48
Now going to check and see if anyone has generated this mod for Myn's RLS4... may wait a bit. Clicking the thanks button.... ... now.

haha sorry ^ i kept refreshing the section to see if anyone has tried it but no one did so i took a crack at it... it was rather simple and strait forward.

I just tested this, and it seems to work great. I did 12 speedtests, 6 before applying and 6 after.
the average of the 6 speedtest results before: ping: 235 down: 389 up: 271
average of the 6 post tests, ping: 182 down: 867 up: 561
I conclude that this works!
Thank you very much!
Edit: all of these tests where done within the same 30 minutes, and I have used 326.74MB of data so far in my billing cycle.

mrlanrat said:
I just tested this, and it seems to work great. I did 12 speedtests, 6 before applying and 6 after.
the average of the 6 speedtest results before: ping: 235 down: 389 up: 271
average of the 6 post tests, ping: 182 down: 867 up: 561
I conclude that this works!
Thank you very much!
Click to expand...
Click to collapse
thanks for your test!

YoJoe,
Since I'm not smart enough... and too lazy to learn would you be willing to help with http://forum.xda-developers.com/showthread.php?p=10146527#post10146527

Well although without baseline data to compare it with, I did a few speed tests using the speed test app and here are some numbers I ran in sequential tests.
DL: 1124 kbps UL: 819 kbps
DL: 583 kbps UL: 791 kbps
DL: 647 kbps UL: 783 kbps

bradatz said:
YoJoe,
Since I'm not smart enough... and too lazy to learn would you be willing to help with http://forum.xda-developers.com/showthread.php?p=10146527#post10146527
Click to expand...
Click to collapse
sure! but its not allowing me to download it upload somewhere or try and not have it locked

Seems to have helped my upload speeds. I did 3 tests before and after with the Speedtest.net app. I put the phone on a table outside and kept it in the same spot for each test; that's the only scientific measure I took.
Avg kbps down/up:
Before: 1214/525
After: 1210/877

I'm sorry, but I have to call shenanigans here.

deficitism said:
I'm sorry, but I have to call shenanigans here.
Click to expand...
Click to collapse
Care to elaborate?

deficitism said:
I'm sorry, but I have to call shenanigans here.
Click to expand...
Click to collapse
I'm skeptical myself, but my tests show better upload speeds each time, with the same relative download speed. I'd be interested to see a more comprehensive set of tests at an off-hour in several locations against several different towers.

King Speedy said:
Care to elaborate?
Click to expand...
Click to collapse
I don't think verizon would be clumsy enough to bury hidden data caps inside of a jar file. On top of that, I have never heard of ANYONE being throttled in such a manor.
As far as speed testing, I can get drastically different numbers if I ran the benchmark several times. Same case if I ran a bandwidth analysis on my computer or router.
Hope I'm wrong, but I sense the placebo effect.

i have no idea if this works or not lol i just did the mod for myself and others since i know how

I did three tests before and after.
Before:
D/U
1671/869
1736/884
1851/901
Average: 1752.6/884.6
After:
D/U
2027/868
1841/876
2156/913
Average: 2008/885.6
Seems to have worked well. I didn't move the phone through the whole process. It did take a while to boot the first time though.

Related

StreakDroid7 v1.3 (GPU edition)

Update 11/05/11
StreakDroid7 1.3
changelog
no huge changes
rebuilt kernel with more stability at higher overclocks, also auto detect speeds in setcpu will work fine now.
added GPU Overclock which also boosts the base gpu clock so performance should be increased all round
reduced the max framerate to fix gfx courrptions
http://mirror2.streakdroid.com/Streakdroid7-v1.3.zip
Update 22/04/11
time for a new build again
minor tweaks in this version and one large change
changelog:
Minor tweaks to kernel
Removed 1.6ghz Overclock
Tweaked 1.504ghz should work better
Added 1.3ghz clock speed
Finally managed to uncap the framerate of device, now hitting over 100fps on some items,
thanks to dexter_nlb for pointing me in the right direction on the above
overclock should be pretty much rock solid up to 1.4ghz but above that you may see lockups, also not all devices are the same and some will not handle overclock as well
download link: http://mirror2.streakdroid.com/Streakdroid7-v1.2.zip
Please feel free to donate to my work if you find it useful - any amount is appreciated
GBP Donate | USD Donate
NICE!!!!!!!
glad to see this out now and not a second to soon, now every one who download and contributes to this thread really needs to look into logcating i believe that will help out a lot with trouble shooting
I strongly feel that the UNDERDOG DS7 with DJ's hand will blow all other fancy expensive **** out of the water .
This is unbelievably only first day of dev's output ...
Second day with the device. I don't have interwebz so in out till Monday! Oh well enjoy
sent from ???
Running now.
Quand Score 3020!
So far so good. No issue encountered yet.
Edit1
Dungeon Defender Stuck the entire device everytime it runs. But it's ok. Their updates failed even under 2.2.2 sometimes too.
Edit 2
Every HD videos / H.264 will freeze unless I set the SetCPU profile as 216 - 1400 mhz.
Previously was 1200 - 1400 mhz (maybe this is too greedy of a setting)
Getting my Unit Tuesday, My replacement, was thinking about sellign for Acer Iconia, but now the Dj_steve got this rolling, cant wait.
Hey guys what do I need to do to my new device to get this on it, I been out of the loop for 2 weeks.
Thanks
Lou (Original CWM Guinea Pig)
flash cwr. wipe then flash. I like whats in store for the s7! love having the underdog. and with dj at the helm goods things to come i suspect.
How are you finding battery life with oc?
Put profile for screen off at 216-1400. Battery burning almost twice faster. So now I am testing with off screen setting 216-800 and lets see how
Sent from my Dell Streak 7 using XDA App
Some of my settings won't stock with setcpu after reboot
Sent from my Dell Streak 7 using XDA Premium App
best bet to set the speeds after reboot manually anyway
jiwengang said:
Put profile for screen off at 216-1400. Battery burning almost twice faster. So now I am testing with off screen setting 216-800 and lets see how
Sent from my Dell Streak 7 using XDA App
Click to expand...
Click to collapse
I always put it on the min for both the min/max when the screen is off(usually power save or conservative governor depending on the kernel). I mean you really need close to zero cpu when your screen is off so running it even at 800 is a waste of power. I would suggest doing a screen off profile of a min/max of 216/216. It also helps keep the temp down
In case people didn't know this includes binaries to easily remount your system partition. They are pretty self-explanatory.
rosystem
rwsystem
you can use those in any terminal program you choose (or an adb shell). Steve - you should drop AppWidgetPicker.apk into the system/app folder, makes a much nicer widget selection dialog. Also, maybe you could remove the extra crap, like it doesn't need to flash the modem or recovery, I was just too lazy to remove those extra steps from the install script.
Thanks for this! Flashing now.
Gps is broken for me...
04-16 08:37:11.181: ERROR/gps_BRCM(1146): Failed to connect to the gps driver (/dev/socket/gps) errno(2)
Restored my backup to be sure - no problem there. I re-added some of the apk's to /system/app that were removed, as my first attempt to get it working. If this doesn't work, I am going to try to revert some of the lib changes you made, maybe one of those is b0rking something up. Not an apk, going to restore and just flash your boot.img and see how that works out...
Alright, did another restore, tested again (fine)... this time I included the old lib directory and got massive kernel panics (made a second attempt at this thinking I did something wrong - boots fine, no GPS, gotta be in the kernel - right?). Guess the last test is to just flash your boot image...
Last test - restored backup flashed your boot.img (think it flashed - no error returned). Booted up fine, GPS - a no go). Gotta be a kernel thing.
yep yep and yep ive also stablised the overclock more, pushed the voltages up slightly but its made it far more stable and doesn seem to lockup here now, will upload new build later, adding some other edits to kernel too, also can someone on here please go ask some of the devs in the folio 100 and gtab forums what they had to change in nvrm_daemon to up the framerates as it appears the 7 is locked to 59fps at moment,
fps2d will show this for reference:
streak 7 @ 1.4ghz = 59fps max
Notion ink adam @ 1.0 ghz but with a 78hz modded nvrm hits 70fps easily
and new build is up folks check first post
DJ_Steve said:
and new build is up folks check first post
Click to expand...
Click to collapse
Does this address the gps issue?
daveid said:
In case people didn't know this includes binaries to easily remount your system partition. They are pretty self-explanatory.
rosystem
rwsystem
you can use those in any terminal program you choose (or an adb shell). Steve - you should drop AppWidgetPicker.apk into the system/app folder, makes a much nicer widget selection dialog. Also, maybe you could remove the extra crap, like it doesn't need to flash the modem or recovery, I was just too lazy to remove those extra steps from the install script.
Thanks for this! Flashing now.
Gps is broken for me...
04-16 08:37:11.181: ERROR/gps_BRCM(1146): Failed to connect to the gps driver (/dev/socket/gps) errno(2)
Restored my backup to be sure - no problem there. I re-added some of the apk's to /system/app that were removed, as my first attempt to get it working. If this doesn't work, I am going to try to revert some of the lib changes you made, maybe one of those is b0rking something up. Not an apk, going to restore and just flash your boot.img and see how that works out...
Alright, did another restore, tested again (fine)... this time I included the old lib directory and got massive kernel panics (made a second attempt at this thinking I did something wrong - boots fine, no GPS, gotta be in the kernel - right?). Guess the last test is to just flash your boot image...
Last test - restored backup flashed your boot.img (think it flashed - no error returned). Booted up fine, GPS - a no go). Gotta be a kernel thing.
Click to expand...
Click to collapse
Yes. GPS is no go for me too.
Downloaded the new build. Now flashing.
jiwengang said:
Yes. GPS is no go for me too.
Downloaded the new build. Now flashing.
Click to expand...
Click to collapse
New Build GPS is not yet there. Theme is great! Will explore more and update this post.
All previous freezes when watching H.264 HD video or other HD videos is gone! Yes it is more stable now!
will look into the gps shortly not something ive tried hence not spottin issue

How to Change MTU on REVO

Does anyone know how to change the MTU on the Revolution? I was on the Tbolt forums, and people are getting huge speed increases by changing their MTU to 1500. I looked in the build.prop file but didn't find anything.
Thanks
Samsuck said:
Does anyone know how to change the MTU on the Revolution? I was on the Tbolt forums, and people are getting huge speed increases by changing their MTU to 1500. I looked in the build.prop file but didn't find anything.
Thanks
Click to expand...
Click to collapse
I believe the MTU settings need to be changed through a terminal emulator
Join the revolt!
I found a path in root explorer to a file titled MTU.. Maybe it can be edited there?
Sys/class/net/lo/MTU
Join the revolt!
elreydotcom said:
I found a path in root explorer to a file titled MTU.. Maybe it can be edited there?
Sys/class/net/lo/MTU
Join the revolt!
Click to expand...
Click to collapse
Odd, I see "lo" but it's not a folder that leads me to MTU, it's just blank.
Samsuck said:
Odd, I see "lo" but it's not a folder that leads me to MTU, it's just blank.
Click to expand...
Click to collapse
That's strange. I was able to open up the mtu file I had, and the setting was 16436.. I set it to 1500, and my phone would not connect to 4g
Join the revolt!
Yes, it can be changed using a terminal emulator. It requires root, and I have heard that changing the mtu has led others to being unable to connect to 4G.
I just had to do this to tether my wife's revolution to my ASUS Transformer. Rather than changing the mtu on the REVO, I changed it on the Transformer. Didn't want to risk her not being able to connect to 4G.
MeshiaSamurai said:
Yes, it can be changed using a terminal emulator. It requires root, and I have heard that changing the mtu has led others to being unable to connect to 4G.
I just had to do this to tether my wife's revolution to my ASUS Transformer. Rather than changing the mtu on the REVO, I changed it on the Transformer. Didn't want to risk her not being able to connect to 4G.
Click to expand...
Click to collapse
is there a thread you followed to do this? have a transformer as well
revo_65 said:
is there a thread you followed to do this? have a transformer as well
Click to expand...
Click to collapse
There was a short article. I was going to post a link, but I don't have enough posts on this forum to do so.
If you go to Google and search for "Tether Another Android Device to a Motorola Triumph" it should be the first result that pops up. Your Transformer must be rooted, and you need to get a terminal emulator app. There's a QR code in the article leading straight to the market to download it.
Don't be like me and think it didn't work when the terminal emulator tells you "Permission Denied" when you enter the first command. That's supposed to happen. Just type "su", hit Enter and you're good to go.
Also, set the mtu to 1428 for best results, if you are tethering the Transformer to the REVO.
Following the tutorial I changed the MTU settings to 1500 (default was 1428) and my speed test scores seem to have improved. Just before the change I got scores of 32.17mbps, 37.73mbps, and 32.02mbps down. Afterwards I got scores of 45.99mbps, 38.37mbps, 36.93mbps, and 44.6mbps down. While not conclusive, the small sample size suggests faster downloads.
To change to the mtu I used terminal emulator:
$su
#ip link set dev bond0 mtu 1500
That was it. to put it back to stock:
$su
#ip link set dev bond0 mtu 1428
Do at your own risk. I haven't seen any ill effects yet, but I'm not responsible if you kill your phone. Wifi still works after the change too, at least to tether my laptop, I'll check to see if my hp touchpad still works later tonight. I also can't promise that it actually helps =)
It should still work to tether to most devices. Seems like most out there default to 1500. Can you let me know if you have any trouble connecting to 4G? Sounds like some folks are having issues connecting to 4G after changing their default mtu.
Also, I noticed that after a reboot, my Transformer reverted to stock mtu. Would not be surprised to see the revo do the same.
I do have 4g still after setting to 1500, but it does revert back to 1428 on a reboot. I also am not sure if it's the mtu setting, but i've had issues using wifi tether causing my phone to reboot itself today. I also have determined after running many more speed tests in different areas of town, that if there is a speed increase it's pretty much negligible. It might actually even reduce speed. It's hard to tell with the speedtest.net app, though, since three tests in a row can produce 3 very different results.
Anyway, it was kind of a fun experiment, but don't think it helps at all.
@MeshiaSamurai, if you decide that you need it to run at 1500 even after boot, it would be really easy to create a script that would run at boot with script manager so that it would stay at 1500.
When you say easy to create, realize you are talking to someone who has barely touched a line of script in his life. That would be nice though. It's not too difficult to pop into terminal emulator and change my mtu settings, but it would sure be easier if I only had to keep the phone at 1500, rather than adjusting everything else to 1428.
JohnnyAn said:
I do have 4g still after setting to 1500, but it does revert back to 1428 on a reboot. I also am not sure if it's the mtu setting, but i've had issues using wifi tether causing my phone to reboot itself today. I also have determined after running many more speed tests in different areas of town, that if there is a speed increase it's pretty much negligible. It might actually even reduce speed. It's hard to tell with the speedtest.net app, though, since three tests in a row can produce 3 very different results.
Anyway, it was kind of a fun experiment, but don't think it helps at all.
@MeshiaSamurai, if you decide that you need it to run at 1500 even after boot, it would be really easy to create a script that would run at boot with script manager so that it would stay at 1500.
Click to expand...
Click to collapse
Something I notice when people use the SpeedTest app to compare results is that they fail to verify that the same exact server is being used. It's displayed at the top and can be selected through options.
Something I though I would point out for those wanting to assure a true test/change...
-Cybie
MeshiaSamurai said:
When you say easy to create, realize you are talking to someone who has barely touched a line of script in his life. That would be nice though. It's not too difficult to pop into terminal emulator and change my mtu settings, but it would sure be easier if I only had to keep the phone at 1500, rather than adjusting everything else to 1428.
Click to expand...
Click to collapse
To create the script (should take about 5 minutes)
1. Download script manager (free in the market.
2. On the main page hit the menu softkey and choose "new", then new script, and enter a file name.
3. If prompted, choose SM editor as the program to use
4. In the editor type in the command that you use to set the mtu, but you don't need type su. The end result should look like:
#!/system/bin/sh
ip link set dev bond0 mtu 1500
But the second line should be the one that works for your phone. Also make sure the second line is all lower case, autocorrect will probably try to capitalize IP.
5. Save and go back to the main page of script manager.
6. Scroll down and tap on the file you just created.
7. Click on su and boot so that they're highlighted and hit save.
8. Exit, and you're good to go.
9. Reboot and use terminal emulator to make sure it worked.
@Cybie, yup, same server. I was more referring to how 3 tests in a row can each vary by up to 10mbps even using the same server.
Sent from my VS910 4G using xda premium
My mtu is at like 16k sumthing whats better a higher number or lower??
lg revo 2.3.4 with gingervolt 1.3 and dread ginger v1.3
Got that script running on my Transformer just fine. It boots and adjusts the mtu to what I desire; in this case 1428.
Tried doing it with the REVO. It will not run the script successfully on boot. It will run it just fine if I go to my script editor and run it manually, though. Doesn't seem to be anything wrong with the script itself. It just isn't running it properly on boot.
---------- Post added at 05:17 AM ---------- Previous post was at 05:08 AM ----------
Better is not necessarily higher as far as mtu is concerned. It stands for maximum transmission unit, and it governs the packet size of incoming or outgoing data. Theoretically, higher would be more efficient. However, the larger the packets, the more likely any given packet will contain corrupted data. Packets containing corrupted data have to be sent again. Thus, having packets that are too large can actually slow down your connection.
The default broadband mtu is 1500. Most devices also default to 1500. However, for some wacky reason, the REVO defaults WiFi Tethering to 1428. Setting it to 1500, or setting the device you are tethering it to down to 1428 will allow you to tether successfully.
O ok... thanks and if u get a script running do u think u can put a dl link or sumthing so we can all use it also??
lg revo 2.3.4 with gingervolt 1.3 and dread ginger v1.3

[OVERCLOCK]XT860/XT862 Overclock

Had a few minutes today to play around and wrote a few quick programs in native code to overclock the OMAP4430 to run at 1.1GHz or 1.2GHz instead of the stock 1GHz. You need to force the CPU to run at it's highest clock rate at all times if you want to verify that it works but this is not required if you take my word for it. Long story short, it is possible to change the maximum clock speed by directly manipulating the registers responsible for the clocking of the OMAP4430 but doing so in this manner doesn't alter the frequency tables that the kernel looks to, so as a result the phone thinks it is still capping out at 1000MHz. I'm working on this, don't worry.
This requires root privileges. To set the max clockspeed to 1.1GHz, run "1100" from the adb shell or terminal. Make sure the permissions are set to 755, ie: "chmod 755 1100" in the terminal in the directory you have placed the executable. (I just placed them both in /data/local/)
To reset it back to 1GHz, run "1000", same permissions as before.
To try out 1.2GHz, use "1200". 1.3GHz, use "1300".
It doesn't survive a reboot, so it won't do much damage. That being said, I take no responsibility whatsoever for any damage done to your phone, this is extremely experimental. I also take no credit for this, yang.felix was the one who figured out how to do this first:
http://forum.xda-developers.com/showthread.php?p=17669227#post17669227
Now, the real fun part is making this persist a reboot, and notify the kernel about the changes so that overclocking/underclocking can be easily performed with SetCPU or other apps.
**** EDIT ****
I removed the 1400 and 1500 binaries because in layman's terms... I screwed up. I don't have much time to work on this tonight but I'll try and put something better up; in the meantime, I removed the binaries because they are useless. I'm suspicious that the 1300 binary is destined to fail as well but apparently some of you out there are able to execute it without an immediate reboot so maybe it is a voltage problem. I'll keep you all posted.
**** N00B INSTRUCTIONS ****
Here's how I do it. If you don't already have them, I suggest downloading the following from the Market: "SetCPU", "Root Explorer" and "Better Terminal Emulator". I bought them; the $5 or so was well spent as these three apps are probably ones that I use the most. If you don't want to pay, you can find SetCPU here on xda-developers if you search for it; Root Explorer you'll have to pony up the $1.99 or whatever it is, Better Terminal Emulator you can do without if you look for "Terminal Emulator" in the Market.
Connect your phone via USB to your PC, select from the drop-down in your status bar "USB Storage" or whatever it says, and browse to your phone on your PC. Unzip the attachment from the first post to the root of your sdcard, ie: don't unzip it into any folders after browsing to your phone on your PC, just put them in the root of the drive. You can put them in whatever folder you like but if you want to keep it simple, don't bother putting them in a random folder unless you know what you're doing.
First, open up SetCPU and slide the sliders for Maximum and Minimum all the way to 1000. You can leave everything else alone, after sliding the bars just exit the app. This step is important so don't skip it.
Open Root Explorer. Navigate to "/system/xbin". Press the button at the top that says "Mount RW". This will allow you to save the binaries in this folder as it is normally mounted as read-only.
Now, open Better Terminal Emulator (or whichever terminal program you like, or even use adb if you are so inclined... although if you know how to use adb the following probably goes without saying) and assuming you followed my instructions earlier and saved the files "1000", "1100" and "1200" to the root of your sdcard, type the following commands in, pushing Enter/Return after each one:
Code:
su
(Click on Allow)
cd /sdcard
cp 1000 /system/xbin/
cp 1100 /system/xbin/
cp 1200 /system/xbin/
cd /system/xbin
chmod 755 1000
chmod 755 1100
chmod 755 1200
Now you can run the binaries from anywhere in your terminal without the requirement of being in the folder you've saved them because /system/xbin is typically included in your $PATH variable. Simply put, your phone always looks in this folder for any executable file you try to run if it doesn't find it in the current working directory.
In order to run "1000", simply type:
Code:
1000
And push Enter. You can do this from anywhere on your phone. You should see a message that says your phone has been reset to 1GHz.
To run "1100", you guessed it:
Code:
1100
Rinse and repeat.
Thank you. Works great, love it. I like the confirmation, noticing a solid performance increase and my phone doesn't seem to be heating up any more than normal after a few hours use.
Thanks! Will this work with the XT862 too?
I don't see why not; both the XT860 and XT862 have the same OMAP4430 chipset so the memory addresses tweaked in order to increase the maximum clock frequency ought to be identical.
Sent from my XT860 using xda premium
Never mind my problem was that I accidentally set the permissions to 775 not 755.
AcidRoot said:
Just tested on the XT862, it froze the device and required a reboot.
Click to expand...
Click to collapse
Just tested on my XT862. works fine, no reboot. make sure you have setcpu set to performance mode, and in the terminal (move to directory where the files are located) and run chmod 755 1100
---------- Post added at 03:35 PM ---------- Previous post was at 03:32 PM ----------
To the OP, what ROM are you running? I'm running Liberty, at 1100mhz, and I'm getting 35 MFLOPs single thread, 25 multi thread..
Keeps saying aborted
Sent from my DROID3 using XDA App
what do i put in adb to make this work. this is good news have been waiting to see this oc thanks.
oostah said:
what do i put in adb to make this work. this is good news have been waiting to see this oc thanks.
Click to expand...
Click to collapse
Read the whole first post, 2nd or 3rd paragraph answers your question 100%
ChaoticWeaponry said:
Just tested on my XT862. works fine, no reboot. make sure you have setcpu set to performance mode, and in the terminal (move to directory where the files are located) and run chmod 755 1100
---------- Post added at 03:35 PM ---------- Previous post was at 03:32 PM ----------
To the OP, what ROM are you running? I'm running Liberty, at 1100mhz, and I'm getting 35 MFLOPs single thread, 25 multi thread..
Click to expand...
Click to collapse
That's about what mine gets without the overclock sometimes higher/lower. 36 multi and 43 single just now, was as low as 8 yesterday with an average of 30. On liberty also.
Edit: haven't tried it yet
Slow down
I am noticing a consistent slow down when I perform the overclock. I did several tests and dropped the lowest and highest values and took the average. My single-thread (st) and multi-thread (mt) results for stock 1000 are 41st/49mt and for the overclock 1100 they are 38st/45mt. I am running stock ota gingerbread. Any ideas?
Not sure what I was thinking when I mentioned my Linpack results earlier; I'm getting nowhere near 75 MFlops. Before setting the max clock frequency to 1100MHz I consistently get a rate of about 27 MFlops, increasing to about 33 MFlops afterwards. Could have sworn I remembered it being higher but I must have been mistaken.
The Linpack results are highly subjective to quite a few other factors though and isn't very indicative of much but since it's a rather quick benchmark it is pretty easy to see that there is a significant increase in performance that isn't attributed to random error.
It shouldn't be too much more work to be able to alter the clock speed in a way where SetCPU or other clock-related applications can see and manipulate the hardware but I haven't had much free time at all lately and was pretty happy I was able to get this working.
It would be really nice to not have to rely on forcing the OMAP4430 to run full out with the "performance" governor but this was really just a proof of concept for me.
Sent from my XT860 using xda premium
we should be able to go to 1.2 with no problems on all of our phones. the RAZR is 1.2 with the same processor we have in the D3.
Rick#2 said:
Not sure what I was thinking when I mentioned my Linpack results earlier; I'm getting nowhere near 75 MFlops. Before setting the max clock frequency to 1100MHz I consistently get a rate of about 27 MFlops, increasing to about 33 MFlops afterwards. Could have sworn I remembered it being higher but I must have been mistaken.
The Linpack results are highly subjective to quite a few other factors though and isn't very indicative of much
Click to expand...
Click to collapse
Increase from 1000 to 1100 = 10%, 27 to 33 >= 10%. Better than can be expected imo.
Stock bell I'm getting ~43 single, ~67(saw a few 70+) multi at 1ghz
at 1.1ghz I'm getting ~48 single , ~78 multi, solid improvement averaged over 10 runs.
I'm running CM7.1, and when I try running 1100, it says "can't open /dev/mem/"
diceroll123 said:
I'm running CM7.1, and when I try running 1100, it says "can't open /dev/mem/"
Click to expand...
Click to collapse
Are you trying to run it as root? "su" first
did you run chmod 755 1100? I would like to see the phone go to 1.2, as idroidnow said it is the same processor. Its amazing that the razr and d3 have such similar specs, and the razr bumped out 5501 on my benchmark, and stock d3 only grabbed 3500
Willis111 said:
Are you trying to run it as root? "su" first
Click to expand...
Click to collapse
Teehee, woopsie.
All it does after that is ask for SU permission, and nothing is output afterward. That's...normal, yes? ಠ_ಠ
diceroll123 said:
Teehee, woopsie.
All it does after that is ask for SU permission, and nothing is output afterward. That's...normal, yes? ಠ_ಠ
Click to expand...
Click to collapse
Yes, when you type "su" into a command prompt(gives you root) it might make the prompt look a little different but there's no confirmation that it worked, there would be if it didn't though. Once you're root it should work no problems, without root it will throw up errors about anything that it tries to change and perhaps some things that it just tries to read even.
Willis111 said:
Yes, when you type "su" into a command prompt(gives you root) it might make the prompt look a little different but there's no confirmation that it worked, there would be if it didn't though. Once you're root it should work no problems, without root it will throw up errors about anything that it tries to change and perhaps some things that it just tries to read even.
Click to expand...
Click to collapse
Wonderful! I haven't been using my phone much today, but I'm sure I'll notice a slight difference. Thanks!

[Tweak][4/16/12] Better GPS configuration (U.S. Only)

***Update***
I simplified it down eliminating what I wasn't using apparently and it works a million times better. This is pretty much the stock config but I added wifi location option and a supplemental server from google. Installing is just the same.
I've searched around compiling pretty much every little bit of code to make this better. I take no credit for the stuff you see I just want to share my find.
Thanks to cmlusco and the Warm Team for getting me into tweaking this stuff and the base file.
I've included a stock gps config for anyone who doesn't like it.
Improvements:
1. I get better indoor lock now
2. I get a fast fix ~5secs
3. Accuracy is off by about 1500 meters (network only)
4. With GPS on I get a pretty much instant fix
5. Accuracy with GPS on is within 25 feet for me.
Install instructions:
7-zip method (Preflashing)
1. Use 7zip to "open archive" the rom zip
2. Navigate to the system/etc/ folder
3. right click the gps.conf file and click edit.
4. Open the included mod with notepad and copy and paste the text over the old text.
5. Close the file up saving it and allowing 7zip to include the changes.
6. Flash and be happy.
OR Root Browser method (postflash)
1. Place the gps mod on your sdcard
2. Move it to the system/etc/ folder
3. Paste it in allowing it to overwrite the file there.
4. Profit.
OR Flashable zip
http://forum.xda-developers.com/showpost.php?p=24988950&postcount=31
thanks PureMotive
**Devs, feel free to use this in a rom!
So, uh, what are you modding and what are the effects? My Inc gets a GPS lock in less than 10 sec normally. Warmed up with fresh aGPS data will kick in less than 5 seconds most of the time.
What kind of improvements are you getting with these tweaks? Faster kicks, higher accuracy, something else? Better indoor reception?
ardax said:
So, uh, what are you modding and what are the effects? My Inc gets a GPS lock in less than 10 sec normally. Warmed up with fresh aGPS data will kick in less than 5 seconds most of the time.
What kind of improvements are you getting with these tweaks? Faster kicks, higher accuracy, something else? Better indoor reception?
Click to expand...
Click to collapse
Check the OP I'll update it, I knew I was forgetting something
Is this that much better than the stock config?
Cellulah said:
Is this that much better than the stock config?
Click to expand...
Click to collapse
In my opinion yes, this even includes the original config in the mod. I find that these configs can vary with people's location.
Say for instance, I live in a rural area with few towers and not the best signal. I needed the gps boost.
If you live in a city like NYC, Atlanta, etc... you may not need this due to your phone's ability to track your locale better.
The one thing I did find though, was with this I could get proper location updates inside or outside. The stock one took 30+ seconds to find me sometimes regardless of location.
Just went to replace and compared the changes to the gps.conf currently on my installed MIUI rom and yours is identical to it?
I didn't check miui but I used warm 2.3 as the base and tweaked it for my phone. I just wanted to have one consistent thread for gps edits
Can someone confirm that this helps?
Sent from my ADR6300 using xda premium
Jimbub said:
Can someone confirm that this helps?
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
Nothing?
Sent from my ADR6300 using xda premium
jimbub said:
Nothing?
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
I did this on MIUI and it actually made it worse, so like op says results may vary.
Used on Nils ROM and it works fine. It was accurate (used it on a 40 minute drive today), however, I never had problems with GPS accuracy in the past. My main issue with GPS is over time it takes a while (sometimes over a minute) to get a solid lock. I'll keep testing to see if this helps with that.
Things that have always worked for me to get a quick lock: 1) wipe dalvik (first GPS run after a wipe is always almost an insta-lock), 2) download GPS Status app and reset GPS through the tools option.
If I don't have to go through these steps then I'll say this is a great tweak but I really won't be able to tell until I can test further but it hasn't made anything worse on my Gingersense ROM.
Edit: I would advise saving your original file somewhere so you can revert back easily if this does bork something. Faster than doing a nandroid restore.
s197 said:
Used on Nils ROM and it works fine. It was accurate (used it on a 40 minute drive today), however, I never had problems with GPS accuracy in the past. My main issue with GPS is over time it takes a while (sometimes over a minute) to get a solid lock. I'll keep testing to see if this helps with that.
Things that have always worked for me to get a quick lock: 1) wipe dalvik (first GPS run after a wipe is always almost an insta-lock), 2) download GPS Status app and reset GPS through the tools option.
If I don't have to go through these steps then I'll say this is a great tweak but I really won't be able to tell until I can test further but it hasn't made anything worse on my Gingersense ROM.
Edit: I would advise saving your original file somewhere so you can revert back easily if this does bork something. Faster than doing a nandroid restore.
Click to expand...
Click to collapse
Hey, thanks for that! Unfortunate its not that much of an improvement... He did include a stock gps config in the zip for easy restore however.
I'm really not sure if it made things worse, better or the same. I'll keep using it and see
Sent from my ADR6300 using XDA
Cellulah said:
Hey, thanks for that! Unfortunate its not that much of an improvement... He did include a stock gps config in the zip for easy restore however.
Click to expand...
Click to collapse
True. Although I wasn't sure if his "stock" matched mine exactly so I decided it was easier to copy my own file. Also I changed the permissions to match the stock file, not sure if that helped.
Tested GPS on the way to work and it locked in about 10 seconds. Will update if it slows down any. Still accurate within a few feet.
Well that certainly speeds things up... 3 meters indoors in 7 seconds from a cold start. Nice job on the tweak!
Thanks
...Sorry...I was on the phone...
bukithd said:
So I have been tinkering with the gps.conf for a couple of months now just to see how good my gps could get.
I've searched around compiling pretty much every little bit of code to make this better. I take no credit for the stuff you see I just want to share my find.
Thanks to cmlusco and the Warm Team for getting me into tweaking this stuff and the base file.
I've included a stock gps config for anyone who doesn't like it.
Improvements:
1. I get better indoor lock now
2. I get a fast fix ~5secs
3. Accuracy is off by about 1500 meters (network only)
4. With GPS on I get a pretty much instant fix
5. Accuracy with GPS on is within 25 feet for me.
NOT A FLASHABLE ZIP [I don't know how ]
Install instructions:
7-zip method (Preflashing)
1. Use 7zip to "open archive" the rom zip
2. Navigate to the system/etc/ folder
3. right click the gps.conf file and click edit.
4. Open the included mod with notepad and copy and paste the text over the old text.
5. Close the file up saving it and allowing 7zip to include the changes.
6. Flash and be happy.
Root Browser method (postflash)
1. Place the gps mod on your sdcard
2. Move it to the system/etc/ folder
3. Paste it in allowing it to overwrite the file there.
4. Profit.
**Devs, feel free to use this in a rom!
Click to expand...
Click to collapse
I have a question, what encoding or language is this mod in? The gps.conf file should be plain text, unix format, and ansi encoding. But when i open it it is unreadable, just a bunch of characters. Putting this file on your phone as it is essentialy bypasses using the gps.conf file and defaults to using the android os's default settings. A correct gps.conf file would look like this http://dinc.does-it.net/Mods/gps.conf.
Looked fine to me. All plain text. Unzipped it and checked both files in notepad.
...Sorry...I was on the phone...
omniatic said:
Looked fine to me. All plain text. Unzipped it and checked both files in notepad.
...Sorry...I was on the phone...
Click to expand...
Click to collapse
In notepad it does look fine, but if you open it with the android text viewer (how the phone will see it), it is all garbled. Notepad should never be used to edit an android file, it leaves unknown characters, and can change the files encoding. The file in the op is in pc format whith ansi encoding, it should be unix format ansi encoding.
No garbled text when opened with ES note editor either.
Strange...try this.
http://db.tt/mTUPx5hp
...Sorry...I was on the phone...
omniatic said:
No garbled text when opened with ES note editor either.
Strange...try this.
http://db.tt/mTUPx5hp
...Sorry...I was on the phone...
Click to expand...
Click to collapse
Ok that one is showing correctly for me now.

[Q] Halp! Screen Completely Broken, Need advice on unrooting

Hello all,
so I was living the life with my new rooted nook color, when suddenly i pulled it out of my pack and found the entire screen was dead. There is a black blotch at the bottom so i am quite certain the LCD is cracked and not coming back.
SO now I THINK I desperately need to unroot. I am VERY scared of doing this with NO screen though. Do you think I even need to unroot, as you can only really see splotches of color when the NC is turned on? Can anyone give me some advice as to a good SAFE way to get my nook back to a state that i can send it into barnes and noble (i have the extended warranty so they will cover ONE damage replacement)?
I wouldn't worry about it. Somebodies going to pull it out of the package, see the screen and toss it on the pile. *If* it is refurbed it'll be wiped and reloaded as a matter of course.
Thanks for your reply. Yeah its pretty hard ro tell that anything has been done to it. When it boots up a solid flickery green bar (which would have been the cynogen logo) goes across the whole screen. Other than that its basically just dark. I don't know, if I knew what cynogen mod looked like I would think it might be fishy, as the nook boot screen is all white.
I'm really not sure what to do. I suppose I could break it more so the screen is completely incomprehensible, but id really rather just unroot it, I'm just really not sure how to navigate clockwork without a screen
see if you can adb into it when its booted... if you can then there are options to install stock back.... let me know if you can adb... i'll give you links to images to dd back to eMMC.
Ok, after a good googling and an hour of tinkering with device manager got the usb drivers working and adb can see my nook color. What exactly did you have in mind to test the functionality of adb? should i try pushing files or something?
0point said:
Ok, after a good googling and an hour of tinkering with device manager got the usb drivers working and adb can see my nook color. What exactly did you have in mind to test the functionality of adb? should i try pushing files or something?
Click to expand...
Click to collapse
You can download 7zipped images of /dev/block/mmcblk1,4,5,6,7 and 8 from my depositfiles...
There is a md5mmcblk_md5's.txt to verify the downloads against.
There is also a partitions.txt files that describes how to image them to your device... the commands are available for you to copy and paste into a command window or terminal screen. It might work as a dos batch file if renamed .cmd... but I don't recall if the commands will run in the adb shell when executed that way.
extract them with 7zip or winrar... copy the .img files to the root of sd card... preferably one and 8 GB or larger... so you can put them all on at once... perform the commands you will find in the partitions.txt file.
Ok so,
not to be ungrateful, but is there anyway you could put these up on maybe mediafire or some other service where there isnt a free download limit? I'd really like to avoid paying 12 bucks just to get six files in under a day (it's probably just going to shut me out after a couple anyway)
If you can see the display well enough to see when it starts to boot up.......then you can always do the 8 interruped boots. This will take it back all the way back to 1.0.1 stock.
0point said:
Ok so,
not to be ungrateful, but is there anyway you could put these up on maybe mediafire or some other service where there isnt a free download limit? I'd really like to avoid paying 12 bucks just to get six files in under a day (it's probably just going to shut me out after a couple anyway)
Click to expand...
Click to collapse
Will setup account and upload to mediafire for you...
EDIT: I have to create a pro account to upload the files... since free mediafire has 200 MB size limit... and 8 of the partition files are MUCH larger than that.
EDIT2: Uploading to mediafire now... You will see the .7z files and files named mmcblk0p5-8.partX.rar... after you have all the rar's... they will extract to the .7z files for each partition... sorry... was just easier for me to split the .7z's I already created this way.
dparrothead1 said:
If you can see the display well enough to see when it starts to boot up.......then you can always do the 8 interruped boots. This will take it back all the way back to 1.0.1 stock.
Click to expand...
Click to collapse
That may or may not work... depending on recovery.img on the eMMC...depending on the condition of /dev/block/mmcblk0p3... these are a couple of reasons I made the recovery files available.
Just a Tip for DizzyDen:
I recommend a site called FileTrip for future uploads. It's owned by the guys that run GBATemp. For Personal Uploads you get 100gb of Storage and 4gb per file, all for Free!, No Upload Limits, No Download Limits, very few Ads(no Annoying ones), Viewing of Documents Online, Streaming of Web Browser(HTML5) compatible Media files, and more. Only Con I find with it is that You can't resume Uploads and it lacks Batch Uploading(Although you can open Multiple Tabs of the Uploader) but nothing that would annoy Downloaders.
@DizzyDan
you are a boss man. Thank you so much for throwing these on mediafire, and the fact that you split them up actually means that with my weak wifi signal i can still dl the whole thing without having to constantly start over.
you're a cool guy man :cyclops:

Categories

Resources