Fix for slow 3G download speeds - Fascinate Android Development

**BY DEFAULT, ANDROID DOESN'T HAVE A SYSCTL.CONF. IF YOU'RE RUNNING SOMETHING CUSTOM, MAKE SURE THE FILE DOESN'T EXIST BEFORE YOU OVERWRITE IT.**
Some people in #samsung-fascinate were complaining about slow 3G download speeds. Here is a simple fix:
Create a file on your PC called sysctl.conf, add the following information and then adb push sysctl.conf /system/etc/sysctl.conf.
Code:
net.ipv4.tcp_ecn=0
net.ipv4.route.flush = 1
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_rmem = 4096 39000 187000
net.ipv4.tcp_wmem = 4096 39000 187000
net.ipv4.tcp_mem = 187000 187000 187000
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
After you push the file, open up adb shell and type "sysctl -p" in the window (without the quotes). If it was successful, it should output what is in your sysctl.conf file.
I'm continuously tweaking these settings, they are desktop settings, but I was able to go from 900kbits/sec on 3G to 1800kbits/sec. Your mileage may vary of course. I live in a rural area so 3G usage is probably lower than in say Chicago or New York.
*Not responsible if your phone quits working, catches on fire or threatens to kill a foreign head of state. Also not responsible if your download speed doesn't increase. And I'm not going to support this or hold your hands. If you don't know anything about Linux, Android, ADB or editing system files, don't bother me. =)

Went from 53kB/s to 17kB/s. Reverted..
Must be area specific.
Yes, my data rates are normally horrid at my house. Better than nothing, I suppose.

Ok. Im lazy. Can this be made into a cwm file?
Sent from my SCH-I500 using Tapatalk

andwhy81 said:
Ok. Im lazy. Can this be made into a cwm file?
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
I was going to ask the same thing, I just didn't want to be first.

andwhy81 said:
Ok. Im lazy. Can this be made into a cwm file?
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
rigormootis said:
I was going to ask the same thing, I just didn't want to be first.
Click to expand...
Click to collapse
You do realize that you both just typed more characters posting your reply's than it would have taken to copy/paste the file data and pushing the files onto your phone. Or just creating a file on your phone.
Also...
geeknik said:
I'm not going to support this or hold your hands.
Click to expand...
Click to collapse

Sped me up consistently, and upload and download speeds are smoother and dont jump around.

Now if we can figure out where the damn tcp window is hard coded.. We will be golden.

Is this only for the fascinate?
Sent from my PC36100 using XDA App

And I'm not going to support this or hold your hands. If you don't know anything about Linux, Android, ADB or editing system files, don't bother me. =)
Click to expand...
Click to collapse
Some of us aren't pricks.
Attached will install via cwm.

before trying this, i searched on root explorer for anything named sysctl. It found something in system/xbin/ named sysctl. Is that the same place/file? what should i do to it before installing your configurations.

Don't expect answers from the op.
sysctl is an program. Its installed via busybox. It should be in /system/xbin/ and no, do not remove it.

adrynalyne said:
Don't expect answers from the op.
sysctl is an program. Its installed via busybox. It should be in /system/xbin/ and no, do not remove it.
Click to expand...
Click to collapse
So do i just cwm install after backing up with your 3g.zip over the original?

Without going into a long winded unix tutorial, unix is very simplistic in how it is structured. Anything you would normally see in the registry or a .cfg file in windows is a .conf file in unix. Many things which have no extension at all are executables, especially anything in a /bin or /xbin directory. The sysctl.conf is the configuration for for the executable you found. The /etc directory you are to copy it into is the main directory where many system executables' config files are placed.
I hope that helps some people new to unix, as that took a while to understand when I was still new to it.
So, copy the sysctl.conf file to the /system/etc dir and it will automatically be activated for the /system/xbin/sysctl executable.

Just install via cwm. The file does not exist, otherwise (at least not on my phone). It installs to /system/etc.

adrynalyne said:
Just install via cwm. The file does not exist, otherwise (at least not on my phone). It installs to /system/etc.
Click to expand...
Click to collapse
Thank you :]

This sped up my 3g a great deal. Now if you find a fix for my 3g dropping in and out constantly then you'll make me and several others VERY happy! Anyway, great stuff man.

Interesting, seems to have had little effect on my phone. 3G still sucks. I'll give it a test again at work.
Sent from my SCH-I500 using Tapatalk

So if there is a problem a recovery will remove this correct?

I am going to play around with the settings tonight and listening to some feedback from a few people, I should have an updated version of this tomorrow afternoon. =)
adrynalyne said:
Some of us aren't pricks.
Attached will install via cwm.
Click to expand...
Click to collapse
Thanks. =)
taypotts said:
So if there is a problem a recovery will remove this correct?
Click to expand...
Click to collapse
Just delete the /system/etc/sysctl.conf and reboot. =)
ilestdevil said:
So do i just cwm install after backing up with your 3g.zip over the original?
Click to expand...
Click to collapse
There is nothing to backup. The file in /system/xbin is the executable that reads the conf(iguration) file in /system/etc. Just install the 3g.zip in CWM and test out your speeds.

Went from 910 to 1543 seems to work for me
Sent from my SCH-I500 using XDA App

Related

[Q] New kernels missing long SMS fix

I'd love to ask this in the Dev section so that it would get noticed, but one must follow rules: Adrenalyn's kernels have often included a patch to allow VZW SMSs over 160 characters to split rather than convert to MMS. I've noticed lately we're back to the converting method. Can this be made into a separate patch or can our great devs try to include this again into the latest kernels so that the SMSs will split again?
-edit- So I try to follow the rules and end up posting this in general rather than Q & A. I need my coffee
I second this. I'm actually on the search right now for the patch/fix that was posted.
tbeas said:
I second this. I'm actually on the search right now for the patch/fix that was posted.
Click to expand...
Click to collapse
I could be wrong, but I am fairly positive that the long SMS has nothing to do with the kernel, but with Messaging.apk. Which would make this a ROM issue. There is even a tutorial on here somewhere that tells you how to manually pull the .xml file from Messaging.apk, change the specific value to "7", which will make it so that your SMS is not converted to MMS until you reach 900 characters, then push it back. Again, I COULD be wrong, but I'm almost positive this has absolutely nothing to do with the kernel.
Its not the kernel.
Push this to your system/app directory
http://db.tt/qItV6uU
That worked very well. Thanks!
Worked just fine for me too!
Dalamar1320 said:
Its not the kernel.
Push this to your system/app directory
http://db.tt/qItV6uU
Click to expand...
Click to collapse
Just what i was looking for but couldn't remember where to find it, Thanks
MMS
Dalamar1320 said:
Its not the kernel.
Push this to your system/app directory
http://db.tt/qItV6uU
Click to expand...
Click to collapse
Wouldn't this mod from Adrynalyn's [ROM][3.23.2011] Superclean 2.9.2 EA15/EB01/EB16/EC10 Based thread also work:
Samsung MMS (stock, eb01)
eb01_mms.zip (http://www.mediafire.com/?4q3jk5vcdd29hjf)
Dalamar1320 said:
Its not the kernel.
Push this to your system/app directory
]
Click to expand...
Click to collapse
how do i push this to my system/app directory? kinda stumped
im running nitros ultimate honeycomb
Tanktak said:
how do i push this to my system/app directory? kinda stumped
im running nitros ultimate honeycomb
Click to expand...
Click to collapse
can anyone answer this for me?
Tanktak said:
can anyone answer this for me?
Click to expand...
Click to collapse
You use ADB to push any file from your PC to your phone. Or this free easy to use Linux/Windows/MAC GUI -> http://qtadb.wordpress.com/about/
beray5 said:
You use ADB to push any file from your PC to your phone. Or this free easy to use Linux/Windows/MAC GUI -> ht tp:// qtadb. wordpress.com/about/
Click to expand...
Click to collapse
i have seen this and read briefly on it before but not familiar with how to use this. any chance you can give me a walkthrough of how to use this in order to push the sms file to my phone?
please do reseach on ADB before using if youve never used it before.. u can ruin your phone beyond the point of saving it with odin
If you don't know adb then make it easy on yourself and get rootexplorer then you can copy and paste. Or you can use linux terminal commands in terminal emulator (free in the market) to "cp" (copy) the apk file to the system/app dir
Dalamar1320 said:
If you don't know adb then make it easy on yourself and get rootexplorer then you can copy and paste. Or you can use linux terminal commands in terminal emulator (free in the market) to "cp" (copy) the apk file to the system/app dir
Click to expand...
Click to collapse
tried this both ways and it still converts my messages to multimedia
Did you delete (or rename) the old mms.apk (i always rename to something like mms.bak) before moving the new mms.apk to the system/app directory?

Nook Netflix Fixer; Ad Blocker; Update 7/22/11

Changelog:
7/22/11
This is no longer needed. The new Netflix app works with no issues or fixes. Here is the link:
http://forum.xda-developers.com/showthread.php?t=1178312
7/17/11
Removed the USB Mounter feature; See Nook Color Tweaks.
Added support for different Nook Color setups. Emmc, Sdcard, ManualNooter
Put it on the market
7/4/11
Ad Blocker
USB Mounter - Mounts to /sdcard/USB. You must turn on USB host mode and have the device plugged in before using this utility. This will work even if you changed vold.fstab.
Failsafes - /system must be mounted to /dev/block/mmcblk0p1 for the emmc options to work or /system must be mounted to /dev/block/mmcblk1p3 for the sdcard options to work.
***********************************************
This is an app that will update your /system/build.prop file. It changes ro.product.manufacturer=bn to ro.product.manufacturer=HTC. It will also allow you to change it back. You must reboot for the change to take effect. This was designed for CM7. If it works for other devices or OSes, please post.
For SDCard users, DrSarcasmo has found a solution to get this to work. Update busybox. Here is his post http://forum.xda-developers.com/showpost.php?p=15052326&postcount=77
I added another app to this thread call "Nook Odds and Ends". It has a Netflix fix and Ad Blocker. There are eMMC and SDcard options. Some SDcard users are still having problems. Report any issues so we can this working for everyone.
PS: I fixed the Exit option and added the chmod command for the SDCard option.
https://market.android.com/details?id=com.brianf21.nookoddsandends
Worked flawlessly, thank you
Thank you very much, the community needed this.
Simple and easy, worked just dandy last night on Nightly 97, thanks!
Yes! Very helpful, I was getting tired of editing my prop everytime I flash a new nightly. Thanks for the app!
Sent from CM7 NOOK!
brianf21 said:
This is an app that will update your /system/build.prop file. It changes ro.product.manufacturer=bn to ro.product.manufacturer=HTC. It will also allow you to change it back. You must reboot for the change to take effect. This was designed for CM7. If it works for other devices or OSes, please post.
Click to expand...
Click to collapse
Been a while brianf21. And a wonderful return with this great app. Thanks!
-Racks
Sent from my NookColor using Tapatalk
Thanks. I've been around lurking.
As a lazy man I wholeheartedly approve of this app!
joenathane said:
As a lazy man I wholeheartedly approve of this app!
Click to expand...
Click to collapse
ha, I clicked Thanks instead of reply... So you're welcome
Anywho, yeah, I was editing bulid.prop with vi in a terminal, so this is much nicer. I was really close to just writing a shell script with sed in it but hadn't gotten around to it yet.
So now my upgrade process..
Install new nightly, boot it and let it boot up and make sure it's happy
Copy adblock hosts file to /system/etc
Run NetFlix Fix
Boot into CWM
Flash latest OC kernel
Profit
Great minds think alike. This is just a sed script wrapped in an apk.
khaytsus said:
ha, I clicked Thanks instead of reply... So you're welcome
Anywho, yeah, I was editing bulid.prop with vi in a terminal, so this is much nicer. I was really close to just writing a shell script with sed in it but hadn't gotten around to it yet.
So now my upgrade process..
Install new nightly, boot it and let it boot up and make sure it's happy
Copy adblock hosts file to /system/etc
Run NetFlix Fix
Boot into CWM
Flash latest OC kernel
Profit
Click to expand...
Click to collapse
Could you post you hosts file? Maybe we could automate that too.
brianf21 said:
Could you post you hosts file? Maybe we could automate that too.
Click to expand...
Click to collapse
There is already an app in the market that does this called adfree, but it would be nice to have everything in one place.
Here is an adblocking host file...
brianf21 said:
Great minds think alike. This is just a sed script wrapped in an apk.
Click to expand...
Click to collapse
Internet High Five! o/
brianf21 said:
Could you post you hosts file? Maybe we could automate that too.
Click to expand...
Click to collapse
The hosts file posted should work, for some reason the AdFree in the market doesn't work in CM7 on the NC, not sure exactly why, but yeah that'd be awesome if you could do like if -e ( "/sdcard/hosts.txt" ); then magic.
Will this work for CM7 running of SD card? Or only off emmc?
I use verygreen's SD card installer if it matters.
Oh and I second the hosts file since adfree won't work on (at least SD card versions) of CM7.
Much appreciated.
wonder if this works for 1.1 auto noot?
Thank you for this app.
While I had no problem using root explorer to edit the file, it is/was a little pain in the ass to do it nightly. Your contribution is appreciated.
danbutter said:
Will this work for CM7 running of SD card? Or only off emmc?
I use verygreen's SD card installer if it matters.
Oh and I second the hosts file since adfree won't work on (at least SD card versions) of CM7.
Click to expand...
Click to collapse
It should work.
silivrenion said:
wonder if this works for 1.1 auto noot?
Click to expand...
Click to collapse
I am not sure. Try it and let us know the results.
Netflix Help
I'm running the latest Phiremod from EMMC and I've been unable to get Netflix to do much of anything other than tell me to check my network connection.
If anyone can tell me which ROM to run and which netflix apk to install with it so it will work that would be really appreciated, I've tried the fix file as well as manually editing the build.prop file
just have no clue why it isn't working for me
thank you very much in advance for any assistance you could provide.

Fix for GPS issues in Gingerbread

I found a fix on XDA forums right here. Instead of 'asia' I input north-american into the gps.conf file. For those of you that don't want tolook for the file, I have supplied the gps.conf file for you to download right here. Post responses with how well this works. Works 100% of the time for me nearly instant locks on all gingerbread ROM's I put on my device.
If you are downloading my file, simply use adb to push it to /system/etc/ and you are golden.
**Warning|Disclaimer|Blah Blah**
If you brick your phone I am not responsible ... yadda yadda, ya'll know the drill.
thank you! that did solve the problems i've been having with the latest cm builds.
Wow! Thank you so much! I went from a 2+ minute lock to a <20 second lock.
I did find a method to make this adjustment simpler. I used root explorer, available in the market, then simply copied your 'gps.text' file to system/etc. I then deleted the gps.conf file and renamed gps.text to gps.conf. Finally, I rebooted and opened maps, enabled gps, and waited for a lock. Then, after I was locked I did one final reboot and behold, locked in less than 20 seconds.
So, maybe not simpler but it can all be done without adb, straight from the phone.
Nevertheless, thank you, thank you, annnnnd thank you!
Sent from my T-Mobile myTouch 3G Slide using XDA App
Did you guys use his file or make your own? Mine already said North America but was missing the extra servers.
skulnik, is your phone s-off? I can never make that kind of change with root explorer. It acts like it did something, but it doesn't. Same with ADB if the phone is on.
I read on another thread that apparently if you are s-off, you need to go into recovery, mount system and then use adb to push the files.
I am not sure this worked for me though, once I got the file in there, nothing much changed. I used the old fix which involved putting the cm6 gpslib.so file into the system/etc folder. Using both, I seemed to get a quick lock.
I made flashable fix for myself that includes both fixes and the wifi fix (just in case) and things seem better on both CM7 and the xm rom based on CM7.
The extra servers is what made the difference for me. Glad that this is helping. I stopped using cm7 for the longest time because GPS wouldn't lock for me. I loaded the xm7 and is was so awesome I just HAD to find something to make GPS work because I rely on it all the time. Downtown San Antonio is very easy for me to get lost in and MapQuest was never reliable.
Sent from my T-Mobile myTouch 3G Slide using XDA App
I used a different file after reading his method. However same concept of replacing the config file. I'm just rooted without s off. Another method to replace the file is to mount via clockwork and use android commander to push the file. FYI after this i now I get an accurate gps lock in under 10 seconds.
WhoWhere said:
I used a different file after reading his method... after this i now I get an accurate gps lock in under 10 seconds.
Click to expand...
Click to collapse
What file did you use or what did your file contain? Locks are still taking around a 1 min for me.
ovar said:
What file did you use or what did your file contain? Locks are still taking around a 1 min for me.
Click to expand...
Click to collapse
I used the gps.conf file for the us midwest file on this thread: http://forum.xda-developers.com/showthread.php?t=953630
WhoWhere said:
I used the gps.conf file for the us midwest file on this thread: http://forum.xda-developers.com/showthread.php?t=953630
Click to expand...
Click to collapse
Thanks a ton. Instant locks!
WhoWhere said:
I used the gps.conf file for the us midwest file on this thread: http://forum.xda-developers.com/showthread.php?t=953630
Click to expand...
Click to collapse
You just used the gps.conf file right? Nothing else?
jacewt said:
You just used the gps.conf file right? Nothing else?
Click to expand...
Click to collapse
Yep thats all I did. But you may want to use a different file based off your location if you aren't in that area of the us
WhoWhere said:
Yep thats all I did. But you may want to use a different file based off your location if you aren't in that area of the us
Click to expand...
Click to collapse
Thanks! I used the southwest file and I am getting real fast locks, even indoors. I wonder if I need to keep a northeast file for when I travel east.
Just want to make sure i get the steps right, all i have to do is unzip the .zip file, put gps.conf in platform-tools folder for android sdk, run adb and type "adb push gps.conf /system/etc/" right? It's been a while since i did any sort of work with adb, so i don't want any major goof-up.
txdeathray said:
Just want to make sure i get the steps right, all i have to do is unzip the .zip file, put gps.conf in platform-tools folder for android sdk, run adb and type "adb push gps.conf /system/etc/" right? It's been a while since i did any sort of work with adb, so i don't want any major goof-up.
Click to expand...
Click to collapse
You could do that or a more foul proof method would be to use android commander. Just mount the system in clockwork plug your phone in "assuming you already have adb, jdk etc. Installed" and push it that way. Android commander is pretty much a gui for adb... also could push it in terminal emulator if you were feeling adventurus. hope this helps. Android commander is most likely going to be the safest method for you. That way you can easily do a backup of the file. Though I would do a nandroid backup just to be safe.
WhoWhere said:
You could do that or a more foul proof method would be to use android commander. Just mount the system in clockwork plug your phone in "assuming you already have adb, jdk etc. Installed" and push it that way. Android commander is pretty much a gui for adb... also could push it in terminal emulator if you were feeling adventurus. hope this helps. Android commander is most likely going to be the safest method for you. That way you can easily do a backup of the file. Though I would do a nandroid backup just to be safe.
Click to expand...
Click to collapse
Haha thanks, definitely gonna give Android commander a try. And definitely gonna remember that nandroid backup (lol, learned it the hard way today).
txdeathray said:
Haha thanks, definitely gonna give Android commander a try. And definitely gonna remember that nandroid backup (lol, learned it the hard way today).
Click to expand...
Click to collapse
Sorry guys, no dice for me, same performance as before.... dunno why...
Sent from my T-Mobile myTouch 3G Slide using xda premium
Ekorshus said:
Sorry guys, no dice for me, same performance as before.... dunno why...
Sent from my T-Mobile myTouch 3G Slide using xda premium
Click to expand...
Click to collapse
hmm can't imagine why it would be different for you. Did you push the correct GPS file for your location & confirm that it took the change /view the file after you pushed the file/rebooted your phone?
Yeah, took the midwest file & moved it to the system/etc folder & removed the old file., did it all w/ root explorer rebooted the phone & everything... got the same performance as I did before, 2 min or so for a lock. Then consecutive, immediate locks as long as I didn't leave the maps app alone for too long.. @ one point I wound up using gpsfix to actually get a damn lock, it was so bad....
I'll just have to settle for slow locks.
Sent from my T-Mobile myTouch 3G Slide using xda premium
Ekorshus said:
Yeah, took the midwest file & moved it to the system/etc folder & removed the old file., did it all w/ root explorer rebooted the phone & everything... got the same performance as I did before, 2 min or so for a lock. Then consecutive, immediate locks as long as I didn't leave the maps app alone for too long.. @ one point I wound up using gpsfix to actually get a damn lock, it was so bad....
I'll just have to settle for slow locks.
Sent from my T-Mobile myTouch 3G Slide using xda premium
Click to expand...
Click to collapse
Hmm. I wonder if it's a hardware or driver problem. One thing I did want to note; I had tried using the latest version of root explorer to replace the file, mounting the system as write, etc prior to using adb. The result showed the file as being replaced however after rebooting to confirm changes the file was back to default. It might be worth double checking the file to confirm that the replacement actually took. If not possibly mount the system in clockwork and push the file using adb.
Hmmmmm, good call, I DID make sure to mount the system as r/w as opposed to r/o but I didn't chk to see if the file got overwritten by the system on restart (if I'm understanding you correctly?).
I'll try it again, this time using adb...
Sent from my T-Mobile myTouch 3G Slide using xda premium

[TOOL][Restore System Apks]

Optimus L9 APK Push Tool!!
First, all credit goes to kevev for putting this all together, and saving me from pulling my hair out
Instructions via kevev readme!
This script will automatically push apk files along with a shell script to your device
under /mnt/sdcard/external_sd/APKs. It will then run the shell script which will copy
the apk files to /system/app/ and change the file permissions to 644.
No warranty included!!
Use at your own risk!!
1.) Place all apk files in the "APKs" folder that you want installed in the /system/app/ folder on your rooted device.
2.) Connect device to your computer after installing the correct adb drivers.
3.) Enable "USB Debugging" on the device and wait for the driver to install.
4.) Run "PushAPKs.bat" and reboot your device when it finishes only if there are "NO" errors.
Click to expand...
Click to collapse
Now go thank kevev
CLICK
"I am not responsible if your phone does the following" ..
bricks - blows up - runs away to france
DOWNLOAD
CLICK​
iB4STiD said:
1. if you own a 769BK click here to download 10e system apps backup
(if you own a p760 etc.. ask some nice person on this forum for that missing apk!)
2. next click here to download the optimusl9 zip and unzip this on your desktop!
3. take out your removable sdcard from your phone
4. place missing apk into the root of your removable sdcard and replace sdcard back into phone
5. get your usb cable and plug your phone into pc
6. on your computer open command prompt and type this
** type the following, one line at a time, followed by hitting the enter key! **
Code:
cd desktop
cd optimusl9
7. next adb time! fun huh?
** type the following, one line at a time, followed by hitting the enter key! **
Code:
adb shell
su
mount -o remount,rw /system
cat /sdcard/external_sd/LGHome3.apk > /system/app/LGHome3.apk
chmod 644 /system/app/LGHome3.apk
reboot
"I am not responsible if your phone does the following" ..
bricks - blows up - runs away to france - leaves you for another owner
:highfive:Donations are Welcome!!:highfive:
- DONATE
Click to expand...
Click to collapse
Good tutorial, though not required by me as yet. :good: Even easy for noobs. Liked the last warning too. :laugh:
cmahendra said:
Good tutorial, though not required by me as yet. :good: Even easy for noobs. Liked the last warning too. :laugh:
Click to expand...
Click to collapse
thanks .. lol
Great...it works with framework-res too
I changed dafault green smiles with smiles from SE Xperia...and everything works...when I tried it with file manager, everything was fine, but I can't set permissions, because I had always popup with errors And I had reinstall system...but this works super Thanks
Will this work on P765 too? Someone tried yet?
wlado93 said:
Great...it works with framework-res too
I changed dafault green smiles with smiles from SE Xperia...and everything works...when I tried it with file manager, everything was fine, but I can't set permissions, because I had always popup with errors And I had reinstall system...but this works super Thanks
Click to expand...
Click to collapse
Glad it helped!
cmahendra said:
Will this work on P765 too? Someone tried yet?
Click to expand...
Click to collapse
yup this will
working on an even easier way to do this
i have a questions..
how about deleting everything from system/app folder for example? what should i type?
i already deodex system/app and system/framework...so i want to replace all with deodex apk and remove the odex file..
hope that you can guide me..
bramprasetyo said:
i have a questions..
how about deleting everything from system/app folder for example? what should i type?
i already deodex system/app and system/framework...so i want to replace all and remove the odex file..
hope that you can guide me..
Click to expand...
Click to collapse
thats what im working on, make a batch file in a dir along with a folder that you can place all apks in, click the bat and it does the rest, i asked around just waiting, i have it working for my themes in the theme section, i just want an easy way not to have to type out all that code
for every apk an odex file. a couple of lines is one thing but being able to drag anything into a folder no mater what the name, would be easy for us all!!
iB4STiD said:
thats what im working on, make a batch file in a dir along with a folder that you can place all apks in, click the bat and it does the rest, i asked around just waiting, i have it working for my themes in the theme section, i just want an easy way not to have to type out all that code
for every apk an odex file. a couple of lines is one thing but being able to drag anything into a folder no mater what the name would be easy for us all!!
Click to expand...
Click to collapse
sorry for my english.. sometime it hard for me to understand.
you are working on a project that can make us easy to do that right?
so.. as for my question, do you mean that i should type for all that apk and odex? cant do with for example "*.apk" ?
bramprasetyo said:
sorry for my english.. sometime it hard for me to understand.
you are working on a project that can make us easy to do that right?
so.. as for my question, do you mean that i should type for all that apk and odex? cant do with for example "*.apk" ?
Click to expand...
Click to collapse
ya, hoping i can get help to figure it out, and yes for every .apk and odex file you would have to type it out, if your deodex a rom then it would be just .apks for the system, apks and jar files for the framework
iB4STiD said:
ya, hoping i can get help to figure it out, and yes for every .apk and odex file you would have to type it out, if your deodex a rom then it would be just .apks for the system, apks and jar files for the framework
Click to expand...
Click to collapse
ok than...
good luck with your project..
thanks
bramprasetyo said:
ok than...
good luck with your project..
thanks
Click to expand...
Click to collapse
no prob!
Update coming
working on a easier way to do this, almost done..
HOwdy!
I hope I didn't steal your thunder.
Here is an automated way to push APKs to /system/app/ .
https://www.dropbox.com/s/x264413ck099yv4/optimusl9 APK Push.zip
kevev said:
I hope I didn't steal your thunder.
Here is an automated way to push APKs to /system/app/ .
https://www.dropbox.com/s/x264413ck099yv4/optimusl9 APK Push.zip
Click to expand...
Click to collapse
lol, very nice... now heres my question what you did in the sh script could that be done in just a bat file?
iB4STiD said:
lol, very nice... now heres my question what you did in the sh script could that be done in just a bat file?
Click to expand...
Click to collapse
I guess everything could have been done from the batch script. It was just starting to look messy and I am more comfortable with shell.
To tell the truth, I am very rusty with batch scripting. I haven't messed with DOS in ages. Unix all the way!
kevev said:
I guess everything could have been done from the batch script. It was just starting to look messy and I am more comfortable with shell.
To tell the truth, I am very rusty with batch scripting. I haven't messed with DOS in ages. Unix all the way!
Click to expand...
Click to collapse
well, you did a great job... want me to post this is main op of this thread?
and btw talk about messy you should see what i was making lol
also b4 i forget if you do want me to post this is it ok its tied to your dropbox?, you could throw it up on dev host or if you want i could, up to you
iB4STiD said:
well, you did a great job... want me to post this is main op of this thread?
and btw talk about messy you should see what i was making lol
Click to expand...
Click to collapse
haha! If you could see some of my other scripts I think your eyes would cross and never go back to normal.
Sure, go ahead and post it. It is free code. No license necessary.
kevev said:
haha! If you could see some of my other scripts I think your eyes would cross and never go back to normal.
Sure, go ahead and post it. It is free code. No license necessary.
Click to expand...
Click to collapse
K, thanks again ! brb

Fixing heating issue in ICSROM with script method by jeremywh7. Please help!

jeremywh7 has explained how to fix the issue with the ICSROM governor so that it runs with min 216Mhz and causes less heating - http://forum.xda-developers.com/showpost.php?p=58093061&postcount=1051
Here's the entire post -
Quote:
Originally Posted by jeremywh7
I just wanted to mention that I think I found the cause of ICSROM with the latest 3.1.10 kernel not running at 216MHz:
http://forum.xda-developers.com/show...postcount=1018
I have rebooted*, and its still working fine.
[*edit: forgot to update this post...a power off and cold boot does reset it. I've made an init.d script to fix it for now; will provide details later, as its now the wife's main phone.]
[...]
Better late than never, right? :-/ Here is the script I made as '/etc/init.d/01cpufreq' and set to chmod 755 (manually, using ES File Explorer, actually):
Code:
#!/system/bin/sh
#ramdisk cpu scaling min fix
chown root.root /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "216000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
I installed Universal Init.d (by Androguide.fr) to apply it at boot. I had to run the Test part w/ the tool set to Off, to enable SuperUser privileges. [Update: if you click a file to edit, it will also prompt for su, so that would be easier than running the test; K's July kernels don't support init.d obviously; I'm using kernel-2014_07_04_19_18_atrics.] After setting the tool On, and rebooting...voila, file permission fixed and min frequency 216 MHz.
Since I converted my old CM9-based Atrix to ICSROM (the reason I'm working on all this again), I recalled another mod, rain drop detect issue, for future reference:
http://forum.xda-developers.com/show...&postcount=117
Make sure to leave the extra character at the end the config line [ref: post 119].
Hope this helps...
Click to expand...
Click to collapse
Needless to say, I don't understand the instructions and I really want to be able to do this fix, so if anyone can help me, please let me know. How can I run this script?
aamil4u said:
jeremywh7 has explained how to fix the issue with the ICSROM governor so that it runs with min 216Mhz and causes less heating - http://forum.xda-developers.com/showpost.php?p=58093061&postcount=1051
Here's the entire post -
Needless to say, I don't understand the instructions and I really want to be able to do this fix, so if anyone can help me, please let me know. How can I run this script?
Click to expand...
Click to collapse
This is more like a how to use ES Explorer or Root Browser to put a script in a location and set permissions question and not what you asked
palmbeach05 said:
This is more like a how to use ES Explorer or Root Browser to put a script in a location and set permissions question and not what you asked
Click to expand...
Click to collapse
Thanks for the quick reply!
So basically I have to save this in a file and set permissions for it on a root explorer? I'm a bit of a noon in this, so I'd really appreciate if you could please explain this procedure in a noob-friendly way. What exactly should I do and what should the permissions be.
Thanks!
aamil4u said:
Thanks for the quick reply!
So basically I have to save this in a file and set permissions for it on a root explorer? I'm a bit of a noon in this, so I'd really appreciate if you could please explain this procedure in a noob-friendly way. What exactly should I do and what should the permissions be.
Thanks!
Click to expand...
Click to collapse
Actually you hit the nail on the head after i pointed out what i did in my last post. For permissions, i find it easier to manually change them instead of the chmod thing that it was talking about. For permissions, 755 the same as*rwxr-xr-x
Sent from my ATRIX HD using XDA Free mobile app
Okay. I got so far as that. But what should I name the file and what extension should I use? Am I supposed to replace a system file? Or is this a separate file I have to create? I'm not clear what he means by universal init.d, is it a file? What should I do with it?
Dude, you're seriously overcomplicating this. You're making it way more difficult than it needs to be, both for yourself and for XDA.
The post you quoted contains literally all the information you need, including all the questions you've asked in here. Just read it again.

Categories

Resources