[Q] Pays room task.sh edit - Defy General

Edit this tash.sh to remove or keep applications under system/app, I am not sure whether my edit as below is ok, as I edit data/app and system/lib too
http://forum.xda-developers.com/showthread.php?t=943258
rm /system/app/Swype.apk (I can't find libSwype.so under lib, I remove this to install Swype with a new language later)
rm /system/app/AdobeReader.apk (I'd like to install a newer version)
rm /system/lib/libAdobeReader.so (is it ok to remove? I can't update to newer version if I didn't delete it)
rm /data/app/FancyWidget_1.3.0.apk (not sure whether ok to remove data/app which Pays added , I have to use another app)
rm /data/app/Flashlight.apk

ink222 said:
Edit this tash.sh to remove or keep applications under system/app, I am not sure whether my edit as below is ok, as I edit data/app and system/lib too
http://forum.xda-developers.com/showthread.php?t=943258
rm /system/app/Swype.apk (I can't find libSwype.so under lib, I remove this to install Swype with a new language later)
rm /system/app/AdobeReader.apk (I'd like to install a newer version)
rm /system/lib/libAdobeReader.so (is it ok to remove? I can't update to newer version if I didn't delete it)
rm /data/app/FancyWidget_1.3.0.apk (not sure whether ok to remove data/app which Pays added , I have to use another app)
rm /data/app/Flashlight.apk
Click to expand...
Click to collapse
Should be ok.

Thanks, I will have a try

Related

JF 1.5 theme "template"

Does anyone have the slimmed down version of 1.5 we can use just for theming? All the "themes" I see here are the whole 1.5 update, which is close to 40MB.
Here ya go, enter these commands into Terminal Emulator...
Code:
mkdir /sdcard/media/audio/ringtones
mkdir /sdcard/media/audio/notifications
cp /sytem/media/audio/ringtones /sdcard/media/audio/ringtones
cp /system/media/audio/notifications /sdcard/media/audio/notifications
rm -r /system/media/audio/ringtones
rm -r /system/media/audio/notifications
bmfc187 said:
Here ya go, enter these commands into Terminal Emulator...
Code:
mkdir /sdcard/media/audio/ringtones
mkdir /sdcard/media/audio/notifications
cp /sytem/media/audio/ringtones /sdcard/media/audio/ringtones
cp /system/media/audio/notifications /sdcard/media/audio/notifications
rm -r /system/media/audio/ringtones
rm -r /system/media/audio/notifications
Click to expand...
Click to collapse
That just moves your notifications to the sd card, and has nothing to do with creating a template for theming, but thanks for the effort.
I've been trying with process of elimination of what can be removed and what can't, and not loop your phone. Unfortunately I don't know enough about it to know how to properly make the template, and haven't had much luck in trying to make one. I'm sure there will be one when the RC build is released.
The important thing to remember, is you need to change the update-script - otherwise it formats the /system partition causing loops when you remove files.
I could throw a JF1.5 template together that only contains the system apps and the framework-res.apk, but I'd rather not host it for too long. If I put it up, PM you a link, would you download it and take care of the hosting part?
Edit - Alright, I threw something together, should work as a template. Like I said above, all it contains are the system apps, and framework-res.apk. The install script is only to copy those files over, and it is signed. I will PM you a link, please let me know when you have it downloaded.
tehseano said:
That just moves your notifications to the sd card, and has nothing to do with creating a template for theming, but thanks for the effort.
Click to expand...
Click to collapse
Does anyone have the slimmed down version of 1.5 we can use just for theming? All the "themes" I see here are the whole 1.5 update, which is close to 40MB.
Click to expand...
Click to collapse
Sounded to me like he was requesting a "lite version"...
Alright, I have made one, this will also restore the default theme (quicker than re-flashing the full update), including stock text colors. I am going to post a new thread for it though - to get better attention.
Here is the thread I started with the template.

How can I remove programs (Fresh ROM)

I'd like to remove some of the bloat which is still in Fresh.
RSS Reader
Peep
Flickr
BlueTooth Share
I was able to remove some of the programs but the above I can't remove.
well, you can try using adb. use the command:
rm /system/app/<application-name>.apk
You will need to reboot. You may not want to remove the bluetooth share though, as some apk's are required for the system to function correctly. I have never tried to remove that app, so I don't know how the system will react. If anything messes up though you can just push the apk back, or do a nandroid backup before you remove anything
I removed Peep, Flickr, and RSS using this method with Fresh and all is well. Didn't touch the BT app.
you can also get a program like root explorer. And delete the apk from the system>app folder. Well worth the $1-2 for this program.
OK cleared off some junk.
adb shell
rm /system/app/Flickr.apk
rm /system/app/RSS.apk
rm /system/app/NewsReader.apk
rm /system/app/HtcTwitter.apk
rm /system/app/com.htc.TwitterWidget.apk
rm /system/app/Bluetooth.apk
rm /system/app/Calculator.apk
rm /system/app/Calendar.apk
rm /system/app/VoiceDialer.apk
rm /system/app/htccalendarwidgets.apk
rm /system/app/com.htc.rosiewidgets.*
rm /system/app/htcbookmarkwidget.apk
rm /system/app/HtcStreamPlayer.apk
Did you not have any problems with the widgets afterwards? When I did app removal using that method my widgets list was all messed up showing strange icons and displaying text such as #bf00070
Very frustrating...
Sent from my PC36100 using XDA App
You have to reboot after you do it to let it clear that junk out.
Hrm, I believe I tried thats well I'll give it another go.
Sent from my Evo using XDA App
My personal recommendation, at least until you are 100% positive removing an app won't break something (or even if you are not 100% sure you don't in fact want the app) is to use root explorer. highlite the apps (individually of course) you don't want and rename to something like "calculator.apk" to "calculator.apk.bak". This way if, down the road you are having issues that may be tied to the app you removed, you can easily remove the ".bak" part and everything is back to normal. This way you can also be more aggressive on what you are removing and still have a backup plan.
You can also do this completely free via adb, but i am often-times screwing around with stuff like this on the road... root explorer easily allows me to do all that and more. any app that you rename with "bak" (or "old" or any thing else for that matter.. pick a system that works for you and go with it) will look like its no longer in place.. so unless you need the space you could just leave it there for future use.
terminal
you can also download a FREE terminal and:
su
cd /system/app
rm packagenamehere.apk
tonyh703 said:
you can also download a FREE terminal and:
su
cd /system/app
rm packagenamehere.apk
Click to expand...
Click to collapse
Or you can do as the guy above me said and rename them:
su
cd /system/app
mv filename.apk filename.apk.bak

flashplayer 10.3 not working on rooted evo

my flashplayer 10.3 isnt working never did,on rooted 2.2 evo please help,, thank you!!
Uninstall the update then uninstall flash player (the one that was part of the rom). Then navigate to system/lib and delete libflashplayer.so (I think thats the name of it but I forget) if it is still there. Then download and install flash from the market. That should fix it.
lovethyEVO said:
Uninstall the update then uninstall flash player (the one that was part of the rom). Then navigate to system/lib and delete libflashplayer.so (I think thats the name of it but I forget) if it is still there. Then download and install flash from the market. That should fix it.
Click to expand...
Click to collapse
when i try to deleted the lidflashplayer.so it say cannot be deleted the file system is ready-only, need help....
rotzie said:
when i try to deleted the lidflashplayer.so it say cannot be deleted the file system is ready-only, need help....
Click to expand...
Click to collapse
You can use either root explorer or terminal emulator. You would need titanium backup to uninstall the flash that came with the rom.
If you don't have root explorer here are the terminal commands. Press enter after each command.
Code:
su
mount -o rw,remount /dev/block/mtdblock3 /system
cd system/lib
ls
After entering ls you will see a list of all the files in this directory. Look through it and find the one file that says libflashplayer.so
If you have libflashplayer.so then do these next commands
Code:
rm libflashplayer.so
mount -o ro,remount /dev/block/mtdblock3 /system
If you don't have libflashplayer.so just issue the mount command to set the system back to read-only (mount -o ro,remount /dev/block/mtdblock3 /system).
i have rootexplorer and i got i deleted,did not use titanium,but my 10.3 player sits in my apps just saying uninstalling.no date,no force stop nothing....
I had the same problem.. I deleted the app and went to explorer and deleted the folder and reinstalled.. works fine now

[Guide]Some Hints on Deodexing JVR

It seems that deodexing JVR is a bit pain, I installed JVR and tried to deodex but found out busybox not installed,I tried several kernels but the situation persists tried to install busybox from the market and didnt work
anyhow here is how I did
1-Install JVR rom
2-flash CF kernel 4.1 for JVR to have root access (Download from this thread)
3-use Xultimate to pull the framework and application files and deodex them
(download xultimate from here)
Don't forget to delete infoalarm.apk and infoalarm.odex before starting deodexing, this application will stop your work.
you may add this application with the odex file manualy by copying to your /system/app
4-unrar and copy the attched file which is busybox to your sdcard and then copy to /system/xbin
then copy the files from xultimate to your sdcard (done_frame & done_app)
5- your phone to be on debug mode, go to your adb directory and do as below
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/stl9 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/stl9 /system
reboot
you may need to rm the files before cp as there might be lack of space on your /system
Wish it could help
No need for steps 4+5
Just copy your files from done_app and done_frame in an update.zip.
Within your update.zip you have the folders META-INF/com/google/android (with update binary and updater-script) and system/app + system/framework (with your files).
Your updater-script might look like this
Code:
run_program("/sbin/mount", "/system");
delete_recursive("/system/app");
delete_recursive("/system/framework");
package_extract_dir("system", "/system");
Btw,
.../dev/block/mmcblk1p21 /system
Click to expand...
Click to collapse
?
/system is on dev/block/stl9
please tell me, what has busybox to to with deodexing a ROM
JVR deodexed just fine if you use the right methods.
Fully deodexed it right after release, only drawback is (just like JVQ) the browser is lagging. But that we all know
SamHaLeKe said:
please tell me, what has busybox to to with deodexing a ROM
JVR deodexed just fine if you use the right methods.
Fully deodexed it right after release, only drawback is (just like JVQ) the browser is lagging. But that we all know
Click to expand...
Click to collapse
Busybox has nothing to do with deodexing, I just encountered the problem on my phone after flashing JVR with different kernels there was no busybox in /system/xbin so I could not use commands like cp or mounting and ...
I thought some guys like to deodex themself and make their own custom rom as ramad is not going to release a deodexed one for JVR (read this), thus you may follow the method on the first post for deodexing (which needs busybox) or use the other method as the gentelman says on the second post
No need to skip infoalarm. No Problems here while deodexing it...
NVM: Found out its in data now. I will delete it anyway.
EDIT: I dont know what your problem is, but i have busybox with CF Kernel... So this guide sees to be pointless.
yipee......i have deodexed my firmware....awesome...thanks OP
can some one upload the JVR firmware deodexed please

[method] change play store download location

Hi guys, today i am here to tell you a method only tested on a galaxy y, but i hope it will work for all. this is a method to change the download location for play store.
WARNING!!!
1. WARRANTY IS NOW VOID.
2. NOT MY PROBLEM IF SOME APP FAIL.
3. PLEASE, PLEASE, PLEASE DO A NANDROID BACKUP BEFORE THIS.
This is a simple code but it needs root for sure. now the necessities are as follows:
1. A complete nandroid backup
2. Root Permissions
3. Any terminal emulator. e.g https://play.google.com/store/apps/details?id=hecticman.jsterm
4. You need to know the default download location and the mount point of sd card( if that is where you want the new download location )
Now let's start.
Just know this that mnt/sdcard will have to be replaced by your sdcard mount point and data/app will have to be replaced by the default download location. i underlined them for easy understanding.
NOT MY PROBLEM IF THIS FAILS AND YOUR PLAY STORE CRASHES. JUST DO A NANDROID RESTORE.
THERE WILL ALREADY BE A $ AT START SO U DON'T HAVE TO PUT IT.
$ su
# mkdir /mnt/sdcard/playstore
# cp -r /data/app/* /mnt/sdcard/playstore
# rm -rf /data/app
# ln -s /mnt/sdcard/playstore /data/app
Click to expand...
Click to collapse
what the code does:
1. Grant super user permissions
2. Make a directory in sdcard named playstore.
3. Copy all items (recursively) from data/app to sdcard/playstore
4.Symlink the new location to fake the original.
Hitting Thanks can help.
and once again PLEASE BACKUP BEFORE THIS AND RESTORE IF NOT SUCCESSFUL.
This is based on the code used by link2sd.
Could you please double check your code fragments?
For me it looks, like you create a directory "playstore", but then copy to a directory "playstore-temp", which will most like not exist at that moment.
The ln you're using can't realy work as long as the /data/app directory is still in place... so you would first need to delete /rename it.
Just my 2¢
thanks dude
DThought said:
Could you please double check your code fragments?
For me it looks, like you create a directory "playstore", but then copy to a directory "playstore-temp", which will most like not exist at that moment.
The ln you're using can't realy work as long as the /data/app directory is still in place... so you would first need to delete /rename it.
Just my 2¢
Click to expand...
Click to collapse
looks like i was drunk making so much mistakes . corrected it.
It's not so simple if you use Link2SD. If you link some apps to sdext partition, some files in /data/app are symlinks which cannont be copied to /mnt/sdcard/playstore as it's FAT32. You have to try to symlink /app/data to folder on sdext partition. Create a folder /data/sdext2/playstore, copy /data/app/* there, delete /data/app and symlink /data/sdext2/playstore as /data/app. Sdext partition uses linux filesystem and all symlinks should work properly. I haven't tested it yet, but will do in a minute.
EDIT:
It doesn't work with Link2SD. Phone hangs on boot. It's probably cause Link2SD app must be directly in internal memory (so in real /data/app, not symlinked). I'll try to symlink /data/data or /data/dalvik-cache to save some internal memory but I doubt it'll work.

Categories

Resources