ok i just flashed [ROM] 10/09/2009 - HERO2 - Freedom of choice 1.5.1 or w/e but i need to kno how to changed my swapiness to 80 so it can be faster i guess so let me kno : )
RanT476 said:
ok i just flashed [ROM] 10/09/2009 - HERO2 - Freedom of choice 1.5.1 or w/e but i need to kno how to changed my swapiness to 80 so it can be faster i guess so let me kno : )
Click to expand...
Click to collapse
Code
Code:
su
rwsystem
cp /system/bin/user.conf /sdcard/user.conf
You can edit this file using "Text Edit" from the market. You'll need to look for linux swap and find the swappiness and edit the value to 80. Then..
Code:
su
rwsystem
cp /sdcard/user.conf /system/bin/user.conf
I have also used "Root Explorer" to copy and paste the file from the /sdcard to /system/bin. That's an option too
ok im ganna try the 1st one
i copyed it to /sdcard/ and i opened it with windows notepad(same ****) but i dont see linux swappiness or nething i tryed to Control+F to find both of them no where in sight let me kno man
how can i even check if they are activated...
RanT476 said:
i copyed it to /sdcard/ and i opened it with windows notepad(same ****) but i dont see linux swappiness or nething i tryed to Control+F to find both of them no where in sight let me kno man
how can i even check if they are activated...
Click to expand...
Click to collapse
You can't look at it using Windows Notepad. Try using the "Text Edit" using the phone. It's quite simple If you want to use windows download Notepad++ that'll edit the file properly.
ok ill try that
its good thx man : )
RanT476 said:
its good thx man : )
Click to expand...
Click to collapse
No worries
Related
hi guys, i updated the hero rom 1.4 from fatality to my magic and it seems that the youtube client does not have the option to view video in HQ anymore.
I have tried to install the youtube.apk from http://forum.xda-developers.com/showthread.php?t=537412&highlight=youtube
but it doesn't seems to work.
anyone have a solution to this?
thanks.
hi everyone.
I have tried almost all hero rom. even those new releases with 32A Kernal.
But i always have no 'Watch in High Quality' option for the youtube client.
Is there something wrong with my settings or is this a hero rom issue?
Hello,
You can try this : http://forum.xda-developers.com/showpost.php?p=4335949&postcount=637
Scargoll.
scargoll said:
Hello,
You can try this : http://forum.xda-developers.com/showpost.php?p=4335949&postcount=637
Scargoll.
Click to expand...
Click to collapse
hi, thanks for the link.
but how do i do the following?
pull build.prop from /system/
change: the line ro.ril.hep=1 to ro.ril.hep=0
save and push back into /system/
Click to expand...
Click to collapse
I tried opening up the rom (zip file) and change the line in notepad.
But it doesn't allow me to save it back after that.
star1977 said:
I tried opening up the rom (zip file) and change the line in notepad.
But it doesn't allow me to save it back after that.
Click to expand...
Click to collapse
Indeed you can't do this like that.
1- Extract build.prop from your update.zip, save it to your adb directory
2- Edit it with a text editor (notepad, wordpad, vi, ....)
3- plug your phone on usb, do not mount the sdcard
4- adb remount
5- adb push build.prop /system/
6- reboot your phone.
Scargoll.
scargoll said:
Indeed you can't do this like that.
1- Extract build.prop from your update.zip, save it to your adb directory
2- Edit it with a text editor (notepad, wordpad, vi, ....)
3- plug your phone on usb, do not mount the sdcard
4- adb remount
5- adb push build.prop /system/
6- reboot your phone.
Scargoll.
Click to expand...
Click to collapse
thanks for the help.
but i'm not very tech savvy.
where is adb directory and
how do i execute adb remount?
Will this allow HQ youtube even in 3g..? Or only the option in wifi.
star1977 said:
where is adb directory and
how do i execute adb remount?
Click to expand...
Click to collapse
If you have Android SDK, it's the tools directory.
If you have not Android SDK, follow this : http://wiki.xda-developers.com/index.php?pagename=HTC_Sapphire_Hacking#sec02
Raspster said:
Will this allow HQ youtube even in 3g..? Or only the option in wifi.
Click to expand...
Click to collapse
Yes it works for me over 3g, htc G2 with Drizzy TouchFlo3D v3.
Scargoll.
Worked like a charm on my hero rom. Only thing is my "H" icon is now a "3G". No big deal. I tested the speeds and still getting the same speeds. Also, any way to make it stay in HQ as every video I choose starts at LQ and after you start the video, you need to change to HQ.
This works for my MyTouch with QTek Hero ROM!
This is what you do.
Open up your ROM folder that you downloaded and installed and renamed it to update.zip. Open that up and look for build.prop It should be under update/system/
Copy it and paste it under your C: AndroidSDK/tools/
Open the build.prop using a notepad and then do the following:
change: the line ro.ril.hep=1 TO ro.ril.hep=0
save and exit.
Now OPEN up DOS Prompt. and then do the following steps.
Type in cd\ and then HIT enter.
Now type in " cd androidsdk\tools\ " then HIT enter.
Now type in " adb remount " then Hit Enter
Type in " adb push build.prop /system/ " then Enter
Finally reboot your phone.
My MyTouch works so much smoother with Hero Rom and now I have my HQ Youtube back!
Good Luck to all you guys.
There is many of you that asks how to remove this and that preinstallaed apps in different ROM
When a developer put apps in system/app it can not be removed so easy.
But if you have RomManager or fakeflash´s update.zip there is a other way.
I have attached a zip fil that contains a ordinare ROM installation script that only contains delete and copy.
Download file and unzip on your computer and take a look in the folders
data/app
META-INF/com/google/android/update-script
system/app
If your only wish is to remove a systemapp
edit the file update-script (textfile)
and add line with the filename of what you want to remove:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
If you want to install some apps put them in system/app for not installable
and data/app for apps that can be removed as usual
rezip folders and install zip with RomManager NO WIPE!!
cm6 azures you will get a error because not same structure for data/app
never mind just select reboot. Delete will work anyway.
Sometimes there will be .so files in system/libs too. They are little more difficult to know which to remove so that demands more knowledge of the app.
Use for instance Astro filemanager or Estrong to look in system/app for correct filename to delete
Script work even if *.odex not exist.
The fact that when you zip folders it will not be signed so file will not work with adb recovery
Googleapps filenames:
CarHomeGoogle.apk, CarHomeLauncher.apk, com.amazon.mp3.apk,
Facebook.apk, GenieWidget.apk, Gmail.apk, GoogleBackupTransport.apk,
GoogleCalendarSyncAdapter.apk, GoogleContactsSyncAdapter.apk,
GoogleFeedback.apk, GoogleGoggles.apk, GooglePartnerSetup.apk, GoogleQuickSearchBox.apk, GoogleServicesFramework.apk, googlevoice.apk,
HtcCopyright.apk, HtcEmailPolicy.apk, HtcSettings.apk, kickback.apk, LatinImeGoogle.apk, LatinImeTutorial.apk, Maps.apk, MarketUpdater.apk, MediaUploader.apk, NetworkLocation.apk, OneTimeInitializer.apk, PassionQuickOffice.apk, SetupWizard.apk, soundback.apk, Street.apk, Talk.apk, talkback.apk, Twitter.apk, Vending.apk, VoiceSearch.apk, YouTube.apk, QuickSearchBox.apk, Provision.apk
Other apps:
ADWLauncher.apk, Gallery3D.apk
but filename may be different depending of ROM
Mainpart must exist for using phone normally
Hope that this help to remove "non-removable" systemapps in future.
/Snakehult
Good guide.
via Legend using XDA-app
Thanks snakehult - great guide and very useful!!
snakehult said:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
Click to expand...
Click to collapse
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
c_man said:
Thanks snakehult - great guide and very useful!!
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
Yes you can use some regular filemanager such Astro or Estrongs and look in system/app
Always delete both, script work even if odex file is missing
c_man said:
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
cool guide!
anyway you have to detect the filename of the apps this way:
enter the recovery mode (in modaco-root-r4: recovery-windows.bat)
now type:
adb shell
mount -t yaffs2 /dev/block/mtdblock3 /system
ls -l /system/app
(this will give you the list of system apps, with space usage)
you have to delete both .apk and .odex files (the latter may not exist)
I use to delete the bigger ringtones too, the list is given by
ls -l /system/media/audio/ringtones
it is safe to delete, after you setup the google accounts (ie after first boot):
HTCSetup*
com.htc.Setup*
Stock*
HtcFoot*
NewsRead*
wow its working......thanks dude........
Uploaded with ImageShack.us
http://android.modaco.com/content/h...apps-from-the-htc-desire-with-adb-in-windows/
Simple guide from MoDaCo
That must be the hardest way to remove apps i guess Have you seen "modaco guide"? All you have to do is reboot your phone in to recovery mode and type 2-3 commands in ADB. Simple as that.
Thanks anyway for your efforts
Many way för same thing
But with a custom-made zipfile you always remove/install favourite apps without adb. And quick modify new ROM install.
Sent from my Legend using XDA App
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
bobstar_fr said:
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
Click to expand...
Click to collapse
As I see it, no use to do much in the dev forum without an rooted Phone
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Learners Lisence said:
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Click to expand...
Click to collapse
Just delete what you will never use and....no regret
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Learners Lisence said:
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
Click to expand...
Click to collapse
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
@kdma : install ROM Manager from the Market, and there is an option inside the app : Reboot into Recovery (easiest way to get into recovery mod)
I also deleted /system/etc/clock* and saved some space again
(of course I don't need Htc clock widgets)
cryshop said:
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
Click to expand...
Click to collapse
cryshop, i was typing in the wrong directory
Ps - snakehults's appfixer is real delight ! smooooth.
except that my winzip is a trial version and legend dont recognize winrar files.
I was wondering how i got such good figures for change in space and ram the first time. i havent since then. my legend just likes the rebooting involved coz i dont use task killers anymore. and maybe i deleted more than just stock the first time
Will this work with android 2.2 on Hero?
Hey I've been looking all over for something like this. I downloaded the zip, added the lines
delete SYSTEM:app/mms.apk
delete SYSTEM:app/mms.odex
delete SYSTEM:app/email.apk
delete SYSTEM:app/email.odex
and rezipped it.
I used Rom Manager and selected install rom from SD card. It rebooted, seemed to execute the zip. But the original email and mms apps are still installed. What am i doing wrong?
kdma said:
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Click to expand...
Click to collapse
The first thing you should do is download the required zip file from modaco (I'm a new user of xda and is not permitted to post outside links here. You may easily find that post "24/May r4 - HTC Legend rooting guide - Now with 1.31.x" in android.madaco.com)
I think many of us rooted the device followed the instructions of Paul. So that file might be already in your hands.
Fastboot and then recovery, as you have done before. Run Recovery-linux.sh (or Recovery-windows.bat, if you use Windows) in a terminal window - your device shall be at the green recovery screen.
Open another terminal window and enter:
./adb-linux shell mount /system
and then you can push, pull or rm file. For example,
./adb-linux shell rm /system/app/Calculator.apk
./adb-linux push abc.so /system/lib
--
I didn't notice you have already solved the problem, when I compiled this post. It is no longer useful.
Hello,
I need some help with permission setting. Im trying to edit the pppd-ril.options file in system/etc/ppp/peers/ but it is not write enabled.
Using rooted file explorers still brings no avail to setting the write permission.
Tried to use chmod 777 using terminal emulator but it says the system is read only
Also tried exploring with QPST, but can't see the system folder at all.
I need to edit this file as it contains 3G settings I need to adjust.
Help would be much appreciated!
From the terminal
busybox mount -o remount,rw /system
You seem can read chinese
haha
Thanks much! I edited the file and can finally enjoy China Telecom 3G on western ROM!
mvp3 said:
You seem can read chinese
haha
Click to expand...
Click to collapse
Congratulations!
Hashcode said:
Congratulations!
Click to expand...
Click to collapse
just transfered work
hi al i tried to overclock my w8 tonight and when i downloaded the oc file from
http://forum.xda-developers.com/showthread.php?t=1020313
and paste it to system/lib/modules it says copy error file not found (read only system) what is this? any solution ?
you use root explorer? up you see a small rectangle button, with a r/o or r/w, click on it and try again.
sorry my bad english
ohoh okay ! downloaded root explorer now is fine ...wait i try if i can finish it!
i dont get what does this mean
-edit hw_config, add line insmod /system/lib/modules before battery fix command
lol
go to system/etc, find the file hw_config.sh, click on it until a box appears, click on open with text editor and put theline you said..next save and reboot or upload your hw_config file that i make for you lol..you use stock kernel right?
ya stock ..i use rename ...am i wrong?
rename?? rename what?? just make what i said in post above if you see a line: "#battery fix bla bla bla" put above this line
wait choose which option? view / execute ?
theres a rename option ..i used the rename just now and nothing happened
just put the file in system/lib/modules, reboot and use an app called setcpu or no-frills cpu to oveclock the device.the line you said already exists in hwconfig file if you use gingerDx
ARRR i still cant!! i click edit using text editor at the front i typed in
insmod /system/lib/modules/x8oc.ko # x8 overclock
rebooted
nothing happened! =(
look at my post above i edit
ohh...YEAAA DONE!! whats the point of
nsmod /system/lib/modules for?
Hi guys. How can i execute scripts found in "miui-bin" folder? A simple drag'n drop didn't solve that:laugh:
XDRdaniel said:
Hi guys. How can i execute scripts found in "miui-bin" folder? A simple drag'n drop didn't solve that:laugh:
Click to expand...
Click to collapse
It's automatically executed on boot. But i think you can execute it by :
Code:
su
then
Code:
cd /system/miui-bin
then execute the script by mentioning it's name.
Never tried it, but worth a shot !
F4uzan said:
It's automatically executed on boot. But i think you can execute it by :
Code:
su
then
Code:
cd /system/miui-bin
then execute the script by mentioning it's name.
Never tried it, but worth a shot !
Click to expand...
Click to collapse
i tried this
su
cd /system/miui-bin
bootsound
it says
bootsound: not found
my guess is that there is another script that activates miui-bin folder, but wich one?
Try:
export PATH=/system/miui-bin:$PATH
Before doing the rest
XDRdaniel said:
Hi guys. How can i execute scripts found in "miui-bin" folder? A simple drag'n drop didn't solve that:laugh:
Click to expand...
Click to collapse
This means that you are working on an MIUI ROM?
ast00 said:
This means that you are working on an MIUI ROM?
Click to expand...
Click to collapse
yes
XDRdaniel said:
i tried this
su
cd /system/miui-bin
bootsound
it says
bootsound: not found
my guess is that there is another script that activates miui-bin folder, but wich one?
Click to expand...
Click to collapse
Try this
su
cd /system/miui-bin/
./bootsound
If it gives an error other than file not found then check your permissions ...
To change permissions use chmod
If it gives file not found error then use root explorer and see if the path of file is correct ...also if the script boot sound has an extension (like .sh ) then you must mention it in the 3rd line ....
Good luck
Sent from my GT-S5570 using Tapatalk 2