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.
Related
I am running stock rooted RUU released on 4-19 by jcase.
I loaded Adrynalyne’s kernel 5.10.11 [2.6.32.21] control freak v2. I am able to adjust the VDD levels on the fly using terminal through commands such as
Echo “-25” > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels or adjust each individual speed voltage. Unfortunately, these settings reset after a reboot.
There are two files labeled 00vdd_levels with rwxr-xr-x permissions and a 00vdd_levels~ with rw-r--r—permissions in the /system/etc/init.d folder. I have tried to manually change the voltage levels through root explorer and changed the name of the files to 99vdd_levels, but the stock voltages reload after each reboot. I have spent several hours trying to get these modifications to be permanent. I may be searching for the wrong edit, but I really need some assistance.
Please help me with the scripts or recommend a thread that has the instructions on how to perform these tweaks. TIA
The one with the ~ at the end was probably generated by vi when someone didn't save properly. The file without the ~ is the one to edit. Make sure your settings aren't commented out with a hash (#)
ETA: In fact the ~ file may also be causing a problem. Remove it and see what happens.
Thanks for your reply. I deleted ~file and have spent hours trying multiple methods to get the script working, but I have not been successful. I know have 10 posts so I can post my issue in the development thread made by the kernel dev and hopefully he can help me since he created the kernel.
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.
Hello, as You probably know yet, our phones have very bright key backlight, and there's no way to decrease it. When i was reading something in night, these light was burning my eyes, so i found script which turn it off.
How to use?
When on CM10.1/Avatar/PAC:
Use f.e. Root Explorer and move attached file into \system\etc\init.d
Then change proporties of that file to rwxr-xr-x
Now reboot device, key backlight'll be off.
When on rooted stock, You must use Script Manager to activate script and run it on boot. Just follow instructions above, but before reebot, just select script in smanager and set it root permissions and run on boot.
You can don't have init.d folder, just make one yourself in \system\etc directory.
Not sure it's right section, if not please mod to move it somewhere else.
LINK TO SCRIPT: http://www30.zippyshare.com/v/99841400/file.html
Enjoy.
unn.
Unn113 said:
Hello, as You probably know yet, our phones have very bright key backlight, and there's no way to decrease it. When i was reading something in night, these light was burning my eyes, so i found script which turn it off.
How to use?
When on CM10.1/Avatar/PAC:
Use f.e. Root Explorer and move attached file into \system\etc\init.d
Then change proporties of that file to rwxr-xr-x
Now reboot device, key backlight'll be off.
When on rooted stock, You must use Script Manager to activate script and run it on boot. Just follow instructions above, but before reebot, just select script in smanager and set it root permissions and run on boot.
You can don't have init.d folder, just make one yourself in \system\etc directory.
Not sure it's right section, if not please mod to move it somewhere else.
LINK TO SCRIPT: http://www30.zippyshare.com/v/99841400/file.html
Enjoy.
unn.
Click to expand...
Click to collapse
Nice work. Thank You.
Another simple method!
Unn113 said:
Hello, as You probably know yet, our phones have very bright key backlight, and there's no way to decrease it. When i was reading something in night, these light was burning my eyes, so i found script which turn it off.
How to use?
When on CM10.1/Avatar/PAC:
Use f.e. Root Explorer and move attached file into \system\etc\init.d
Then change proporties of that file to rwxr-xr-x
Now reboot device, key backlight'll be off.
When on rooted stock, You must use Script Manager to activate script and run it on boot. Just follow instructions above, but before reebot, just select script in smanager and set it root permissions and run on boot.
You can don't have init.d folder, just make one yourself in \system\etc directory.
Not sure it's right section, if not please mod to move it somewhere else.
LINK TO SCRIPT: http://www30.zippyshare.com/v/99841400/file.html
Enjoy.
unn.
Click to expand...
Click to collapse
u can simply turn it off in display settings
In which ROM? I'm on PAC and can't see anything in settings.
unn.
ok then
Unn113 said:
In which ROM? I'm on PAC and can't see anything in settings.
unn.
Click to expand...
Click to collapse
then it is only in v20(x) roms
sorry! my bad!
use the script given above:laugh:
rr46000 said:
u can simply turn it off in display settings
Click to expand...
Click to collapse
Custom ROMs can't do that natively.
Hmmm
RL77LUC said:
Custom ROMs can't do that natively.
Click to expand...
Click to collapse
ok no problem (u can see my post above)
Helpful for ppl not on v20d good job
Sent from my LG-P769 using xda premium
Script works as it should on Pac ROM. Applied via smanager - it was easy :thumbup:
Wysyłane z mojego LG-P760 za pomocą Tapatalk 2
rr46000 said:
ok no problem (u can see my post above)
Click to expand...
Click to collapse
Well, my bad. I havn't read all messages .
Working on CM10.1!!!
hello fellow xda junkies!
HERE IS A SIMPLE WAY TO GET DATA TETHERING THROUGH BUILD.PROP EDIT
NOTE:MESSING WITH BUILD.PROP COULD MESS YOUR PHONE UP BE CAREFUL
Step 1.) download a text editor.i suggest 920 text editor.
Step 2.) you will also need an root explorer so download that also.
Step 3).open up your root explorer and navigate to system/build.prop. and copy that file to another directory. i.e example sdcard/download.then rename
original build.prop file to build.prop.bak
Step 4).open up your text editor and navigate to the directory where you copied the build.prop file
Step 5.)look for this line [they are both close to the end of the build.prop file] "net.tethering.nonprovisioning=true" [once you find it change the true
to false] so it reads "net.tethering.nonprovisioning=false" NOTEDO NOT TYPE THE QUOTATION MARKS!!!
Step 6.) " look for line "persist.data.tethering_oc=1" change the variable 1 to 0 so it reads "persist.data.tethering_oc=0
Step 7.) move the build.prop file that you copied and edited from location you placed it in to its rightful spot in system/.change permissions to rw--r--r
reboot phone and your good to go!works on my vs985 LIKE A CHAMP.
deathsquad737 said:
hello fellow xda junkies!
HERE IS A SIMPLE WAY TO GET DATA TETHERING THROUGH BUILD.PROP EDIT
NOTE:MESSING WITH BUILD.PROP COULD MESS YOUR PHONE UP BE CAREFUL
Step 1.) download a text editor.i suggest 920 text editor.
Step 2.) you will also need an root explorer so download that also.
Step 3).open up your root explorer and navigate to system/build.prop. and copy that file to another directory. i.e example sdcard/download.then rename
original build.prop file to build.prop.bak
Step 4).open up your text editor and navigate to the directory where you copied the build.prop file
Step 5.)look for this line [they are both close to the end of the build.prop file] "net.tethering.nonprovisioning=true" [once you find it change the true
to false] so it reads "net.tethering.nonprovisioning=false" NOTEDO NOT TYPE THE QUOTATION MARKS!!!
Step 6.) " look for line "persist.data.tethering_oc=1" change the variable 1 to 0 so it reads "persist.data.tethering_oc=0
Step 7.) move the build.prop file that you copied and edited from location you placed it in to its rightful spot in system/.change permissions to rw--r--r
reboot phone and your good to go!works on my vs985 LIKE A CHAMP.
Click to expand...
Click to collapse
You know there is already a flash for this and an apk.
Yes i do know this but some like to do it on there own.but hey nice to meet ya!
deathsquad737 said:
Yes i do know this but some like to do it on there own.but hey nice to meet ya!
Click to expand...
Click to collapse
Just checking.
I'm a tinkerer also which is how I figured out the thermal throttling.
Nice to met you.
tech_head said:
Just checking.
I'm a tinkerer also which is how I figured out the thermal throttling.
Nice to met you.
Click to expand...
Click to collapse
Thermal daemon mitigation?is that what you are referring too?
A.L.B/E.B.B
deathsquad737 said:
Thermal daemon mitigation?is that what you are referring too?
A.L.B/E.B.B
Click to expand...
Click to collapse
Actually not.
Instead of trying to stop the thermal mitigation from working I did just the opposite, I changed the parameters on how it operates.
The file /system/etc/thermal-engine-8974.conf.
This file controls what happens to cpu speed at various temperatures.
That is what you tweak and it just works.
I also used ROM Toolbox to change the governor.
tech_head said:
Actually not.
Instead of trying to stop the thermal mitigation from working I did just the opposite, I changed the parameters on how it operates.
The file /system/etc/thermal-engine-8974.conf.
This file controls what happens to cpu speed at various temperatures.
That is what you tweak and it just works.
I also used ROM Toolbox to change the governor.
Click to expand...
Click to collapse
Wow that's heavy I don't know if I have a high enough pay grade to do that lol
A.L.B/E.B.B
deathsquad737 said:
Wow that's heavy I don't know if I have a high enough pay grade to do that lol
A.L.B/E.B.B
Click to expand...
Click to collapse
I can always get you a copy of the file.
tech_head said:
I can always get you a copy of the file.
Click to expand...
Click to collapse
Yes please I pm you
A.L.B/E.B.B
Thank you but...
First of all, thanks for the post. Although I appreciate the helpful post, my phone is now stuck in boot loop . I hate to be the one to open up an old thread but I'm freaking out at the moment due to brick fever :crying: My current setup was a rooted LG G3 VS98512b. My goal was simple, I didn't want to do anything crazy, I just wanted to enable wifi tether now I'm afraid I've lost everything... Is there a way I can get back into the storage of my phone and delete the modified build.prop, remove the ".bak" from the original and be back to the good life? Any assistance is greatly appreciated, this seemed like such a simple modification that led to such a big headache.
It sounds like you might have used an editor on your build.prop that could not handle the file size, resulting in your editted build.prop being truncated. Otherwise, maybe your permissions were left wrong. Either of these will cause your phone to bootloop.
Sent from my VS985 4G using Tapatalk
trent999 said:
It sounds like you might have used an editor on your build.prop that could not handle the file size, resulting in your editted build.prop being truncated. Otherwise, maybe your permissions were left wrong. Either of these will cause your phone to bootloop.
Sent from my VS985 4G using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply. I used the editor recommended in the tutorial, 920 text editor. I followed the instructions word for word, I don't know what the problem is. Maybe its because I have the newest update and this mod was for 10b???As far as the permissions, the phone asked automatically if I wanted to change the permissions. The original build.prop is still there... is there a way I can delete the modified build.prop and replace it with the original? I really wish I would not have followed this tut, it didn't seem like a popular method. There has to be a way to delete the modified build.prop right?
soundmasterx said:
Thanks for the reply. I used the editor recommended in the tutorial, 920 text editor. I followed the instructions word for word, I don't know what the problem is. Maybe its because I have the newest update and this mod was for 10b???As far as the permissions, the phone asked automatically if I wanted to change the permissions. The original build.prop is still there... is there a way I can delete the modified build.prop and replace it with the original? I really wish I would not have followed this tut, it didn't seem like a popular method. There has to be a way to delete the modified build.prop right?
Click to expand...
Click to collapse
Yes you can reflash the firmware or if you don;t want to restore to stock you can use ADB to fix the files and restore your .bak
Digital_MD said:
Yes you can reflash the firmware or if you don;t want to restore to stock you can use ADB to fix the files and restore your .bak
Click to expand...
Click to collapse
Again, thank you for the response. Do you recommend a specific method or tutorial for trying restore the original build.prop? I did search however, because this scenario is so specific I'm not sure there is an exact solution to my problem.
Again, just in case someone else can chime in, I followed the instructions on the first post of this thread (see first post for detailed info). I copied the original build.prop then changed the name of the original build.prop, edited the copy, moved it to the original directory and restarted the phone. Now my phone doesn't make it to the Verizon screen (I think it is stuck in boot loop), the screen stays black and the small led on the left corner flashes blue and green. If I can just get access to the storage I can replace the modified build.prop with the original that is still in the same directory just renamed. It seems like such an easy task but, I just don't know how to go about it I'm a somewhat of an old school tinker, I'm just now getting back into the swing of Android... Thanks in advance!!
Bump
Bump please
This is crazy... I changed 2 values in build.prop for tethering and my phone wont boot now... I didnt install a ROM, change DPI, or make any major changes WTF???
Do you have a custom recovery (twrp)?
Can you connect to your phone with adb?
If you have twrp, search the board for the startup hardware key sequence to reach twrp, else from adb do a reboot recovery.
In twrp, you can select to mount system, then go to advanced - file manager. You can delete the bad build.prop, rename the good one, then set the permissions on the good one. If your good copy of build.prop is on a PC, put it on a flash drive, and use twrp's file manager to get it into your phone.
If you have a saved copy of build.prop on your PC, you can also use adb's push command. (You may also want to look at the adb shell command. The sequence might be to open a shell, delete the bad build. prop, get the right build.prop into the right directory, then chmod the right build.prop so it has the proper permissions.)
An1 Android 4.1.1 (really 4.0.4 ICS) mt6575
A "smart" person posted on youtube that to fix wifi I can delete wpa_supplicant.conf on misc and after reboot system recreate it. Now I'm without this file. Could someone give me the correct file pls? Or say how to recreate it? Thx
GAxeX said:
An1 Android 4.1.1 (really 4.0.4 ICS) mt6575
A "smart" person posted on youtube that to fix wifi I can delete wpa_supplicant.conf on misc and after reboot system recreate it. Now I'm without this file. Could someone give me the correct file pls? Or say how to recreate it? Thx
Click to expand...
Click to collapse
Please link the YouTube video and the location of your "missing" file. Also, welcome to the Android world, make a backup of every file when someone tells you to change it, please! Imagine all the threads that wouldn't have existed because of that! Never the less, at the top of the Q&A section there is a floating post that states:
This forum is for all of your questions about Android Development and Hacking. If you need help troubleshooting a problem, please be as specific as possible by describing your software configuration, including the ROM, kernel, and any modifications you've done.
Click to expand...
Click to collapse
Please give as much information as possible, thank you.
RAZERZDAHACKER said:
Please link the YouTube video and the location of your "missing" file. Also, welcome to the Android world, make a backup of every file when someone tells you to change it, please! Imagine all the threads that wouldn't have existed because of that! Never the less, at the top of the Q&A section there is a floating post that states:
Please give as much information as possible, thank you.
Click to expand...
Click to collapse
The youtube video is called : How to Fix Wifi on Android Devices using Root Explorer
The deleted file file was in /data/misc/wifi
Now I give u informations about system etc. ... ( I attached wpa_supplicant.conf in /etc/wifi)
Here is the one from /data/misc/wifi in my phone (http://www.mediafire.com/download/pfffjcxt428m811/wpa_supplicant(2).conf)
And here is the /etc/wifi (http://www.mediafire.com/download/1svvdqehmtp8wm0/wpa_supplicantt.conf) Notice that I put 2 t's at the end because otherwise it would overwrite the file with the on above this so basically when copying the file to /etc/wifi remove the t.
Report results
RAZERZDAHACKER said:
Here is the one from /data/misc/wifi in my phone (http://www.mediafire.com/download/pfffjcxt428m811/wpa_supplicant(2).conf)
And here is the /etc/wifi (http://www.mediafire.com/download/1svvdqehmtp8wm0/wpa_supplicantt.conf) Notice that I put 2 t's at the end because otherwise it would overwrite the file with the on above this so basically when copying the file to /etc/wifi remove the t.
Report results
Click to expand...
Click to collapse
I replaced both files but WiFi won't activate yet. I also tried to mount r/w and change permissions to 775
GAxeX said:
I replaced both files but WiFi won't activate yet. I also tried to mount r/w and change permissions to 775
Click to expand...
Click to collapse
What about chmod 777?
RAZERZDAHACKER said:
What about chmod 777?
Click to expand...
Click to collapse
Also with 777
GAxeX said:
Also with 777
Click to expand...
Click to collapse
Gosh, and there is no one you know on the internet or in real life that can supply you with those files? I think it is different across devices so that might be a reason it didn't work.
I did it alone starting from original etc file! Anyway thanks for the help ?
Thanks for making this thread, I flashed a new ROM where wifi isn't working and since I uploaded the files here I will try them out. Thanks again for asking to upload the files