[Resolved] [SOLVED] How to delete some line on files ? - General Questions and Answers

Guys do you know some script to delete line on some files ?
For example dalvik.vm.heapstartsize=5m, value 5m on some roms is not same if I use this script :
HTML:
busybox sed -i '/dalvik.vm.heapstartsize/d' /system/build.prop
The line is not deleted :/
Please Help me guys

Just open the build.prop manually and search for the line. Then delete it. Make sure you are using a root file browser.
I suggest - Es File Browser.
Sent from my Nexus 5 using Tapatalk

TheArc said:
Just open the build.prop manually and search for the line. Then delete it. Make sure you are using a root file browser.
I suggest - Es File Browser.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I want delete line via recovery

Related

[Q] how to edit those files "SDcard/Android/data/com.[app name]

guyz i tried many times to edit the files in this path "sd/android/data/com.[app name]
i dont know how to open it because it shows nothing in the text editor and seems like encrypted ..
does anyone know how to edit that kind of files ??
can it be decrypted ??
darkfuture said:
guyz i tried many times to edit the files in this path "sd/android/data/com.[app name]
i dont know how to open it because it shows nothing in the text editor and seems like encrypted ..
does anyone know how to edit that kind of files ??
can it be decrypted ??
Click to expand...
Click to collapse
Use es file explorer's Es note editor and in encoding select "UTF-8"
shyamSGY said:
Use es file explorer's Es note editor and in encoding select "UTF-8"
Click to expand...
Click to collapse
this is what i got :/
"@ÒƒÛKÝöÏ-6]£¡§Å¥@o‹åôî
¯ÂsŸ<¥¤Òˆ¬A€»*†¸0×èw
ÚQüú$Èúœ~å‡çåJÏ¢6}ËB)–Ôó`d.*Óo _©
ðjŠóƒ¦"
darkfuture said:
this is what i got :/
"@ÒƒÛKÝöÏ-6]£¡§Å¥@o‹åôî
¯ÂsŸ<¥¤Òˆ¬A€»*†¸0×èw
ÚQüú$Èúœ~å‡çåJÏ¢6}ËB)–Ôó`d.*Óo_©
ðjŠóƒ¦"
Click to expand...
Click to collapse
Use root explorer's note editor
Sent from my GT-S5360 using Tapatalk 2

How do I delete apps with a zip file in recovery?

I install a ROM nightly and there are a few files that I dont need. I was hoping to create a file I can install after my ROM that will delete the 4 apps I dont need instead of having to manually remove them from the zip every day before I install it.
If possible, all I need is a zip file that deletes apps and I think I can modify it from there. Thank you in advance!
This is what I made for myself -
https://www.dropbox.com/s/jeupt00bsk1eqsv/deletesh1t.zip
Sent from my Nexus 5 using Tapatalk
I get a 404 when trying this file, any chance you have a different link?
Just edited it. Lol
Just edit the updater script to what you want
Sent from my Nexus 5 using Tapatalk
NEVERMIND, I am a dummy!
There should be text in the updater script :-S
I think drop box is playing up. Try this - https://www.dropbox.com/s/tyz9zmqhhjvb3fz/deleteapp.zip
Sent from my Nexus 5 using Tapatalk
Ben36 said:
There should be text in the updater script :-S
I think drop box is playing up. Try this - https://www.dropbox.com/s/tyz9zmqhhjvb3fz/deleteapp.zip
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You had the answer to the problem before I went into retard mode. I opened the file update-script straight from the zip before copying it onto my hard drive (so it was blank). Copying the file to the desktop and opening the file locally allowed me to edit the file without an issue. I just saved the update-script and put it back in the zip.
In hindsight, the file from Ben36 would have done the job, but I wanted to learn how to do it myself.
Glad to help! Lol
Sent from my Nexus 5 using Tapatalk

[Q] how can I edit the build.prop?

I have tried to use root explorer to edit the build.prop, but I found that I can't add a new line to add something at the bottom of it. The bottom of it just has the words "dalv", and I can't add new line. Anyone can help me?
There is a app which is actually a collection of app into one app called rom toolbox at play store it has a seprate section for editing build prop check it out....
or download a build.prop editor...
e.g https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en
mathurmatt said:
There is a app which is actually a collection of app into one app called rom toolbox at play store it has a seprate section for editing build prop check it out....
Click to expand...
Click to collapse
it doesn't work...
st0123123 said:
I have tried to use root explorer to edit the build.prop, but I found that I can't add a new line to add something at the bottom of it. The bottom of it just has the words "dalv", and I can't add new line. Anyone can help me?
Click to expand...
Click to collapse
The only way to edit the build.prop on the newer LG phones is to copy and edit it on your PC with Notepad++ or some other editor. Than copy it back to your phone and copy it to system folder with root explorer. Don't forget to change permissions to rw -r -r.

[Help] ExoPlayer

Just read on xda i can make youtube app faster [link http://r3pwn.github.io/yt-exoplayer.html]
, i explorered using ES File explorer and root explorer with grandted permissions to SU,
there is no folder like shared_prefs in data/data/com.google.android.youtube path.
There is only 1 lib file in there.
Kindly help me.
thahim said:
Just read on xda i can make youtube app faster [link http://r3pwn.github.io/yt-exoplayer.html]
, i explorered using ES File explorer and root explorer with grandted permissions to SU,
there is no folder like shared_prefs in data/data/com.google.android.youtube path.
Kindly help me.
Click to expand...
Click to collapse
1) you are in wrong section ...
2)uninstall your app, install this one https://mega.co.nz/#!IwIhAKTZ!8hvl7irb7B5fRvJIBNP4FiPqNj0Y9Bmj4BsxLJWTDXU
/data/data/com.google.android.youtube/shared_prefs / inside "youtube.xml"
add the following lines immediately below "<map>":
<string name="exo_player_activation_type">ADAPTIVE</string>
<boolean name="enable_exo_cache" value="true"/>
<boolean name="show_exo_player_debug_messages" value="true"/>
source/http://r3pwn.github.io/yt-exoplayer.html
3)Press ''thanks''
enjoy ! @+
Need a Flashable ZIP
Can someone make a flashable zip file to install from recovery.
You don't need a zip when it's this simple..
http://www.phonearena.com/news/How-...d-by-enabling-ExoPlayer-root-required_id64694
Dudes i added these lines,but when i reboot they arem't there.why???

Application /software needed

Okk im looking for a software for pc or Android anyone would work
What i need to do is edit around 150 xml files
In all of them i have to do the same changes of copy and replace
For ex in all of them i have to vhange somc:colorizable with colorizable
Such changes i have to do.plzz suggest some apps or software
Sent from my C2305 using Tapatalk
A bash script using something like "sed" would do the trick.
Dark3n said:
A bash script using something like "sed" would do the trick.
Click to expand...
Click to collapse
Sir if i tell u what i want to search and replace in each file thwn can u write a script for me
Actually there are only 2 things that havr to be done in all files plzz sir
Sent from my C2305 using Tapatalk
abhishekr700 said:
Okk im looking for a software for pc or Android anyone would work
What i need to do is edit around 150 xml files
In all of them i have to do the same changes of copy and replace
For ex in all of them i have to change somc:colorizable with colorizable
Such changes i have to do.plzz suggest some apps or software
Click to expand...
Click to collapse
Try this:
Place all the files to be edited in a directory, say 'temp'
Open terminal in your Linux OS and change current directory to this created directory using cd command.
Now for example, to replace somc:colorizable with colorizable in all files, use this command in terminal:
Code:
sed -i 's/somc:colorizable/colorizable/g' *.xml
GokulNC said:
Try this:
Place all the files to be edited in a directory, say 'temp'
Open terminal in your Linux OS and change current directory to this created directory using cd command.
Now for example, to replace somc:colorizable with colorizable in all files, use this command in terminal:
Code:
sed 's/somc:colorizable/colorizable/g' *.xml
Click to expand...
Click to collapse
Thabks but i got a way of doing it via notepad ++
Sent from my C2305 using Tapatalk

Categories

Resources