Removing Apps and Audio files - myTouch 3G Slide Q&A, Help & Troubleshooting

Hello devs.. i am trying to use adb while im in the clockwork recovery screen to remove some apps and some unwanted audio files. Everything is ok as far as being rooted and getting a number sign and the adb commands. The issue im having is that i cannot cd to the app folder. I can cd to the system folder and sdcard folders with no problem. But when i cd into the system, and then i use the list command "ls" to show me what im working wit it says app. But when i try " cd /system/app or cd /app " it says directory doesnot exist. Is there something im doing wrong here? I have installed, removed, pushed and pulled many apps using abd perfectly and i am not a noob.. but it seems like its a whole new ball game when it comes to the slide.. the super user tasks managers no longer work, a dev named roman told me they no longer work and i would have to use adb in clockwork recovery mode to execute any changes to the phones files. But im stuck at this point. Any suggestions? Also i have tried to remove the files directly with a command like " adb rm /system/app/Gallery3D.apk or rm /system/app/Gallery3D.apk" with no results. Is there a way using adb to delete the contents of an entire directory without deleting the directory itself? Thanks in advance devs

bbbblack said:
Hello devs.. i am trying to use adb while im in the clockwork recovery screen to remove some apps and some unwanted audio files. Everything is ok as far as being rooted and getting a number sign and the adb commands. The issue im having is that i cannot cd to the app folder. I can cd to the system folder and sdcard folders with no problem. But when i cd into the system, and then i use the list command "ls" to show me what im working wit it says app. But when i try " cd /system/app or cd /app " it says directory doesnot exist. Is there something im doing wrong here? I have installed, removed, pushed and pulled many apps using abd perfectly and i am not a noob.. but it seems like its a whole new ball game when it comes to the slide.. the super user tasks managers no longer work, a dev named roman told me they no longer work and i would have to use adb in clockwork recovery mode to execute any changes to the phones files. But im stuck at this point. Any suggestions? Also i have tried to remove the files directly with a command like " adb rm /system/app/Gallery3D.apk or rm /system/app/Gallery3D.apk" with no results. Is there a way using adb to delete the contents of an entire directory without deleting the directory itself? Thanks in advance devs
Click to expand...
Click to collapse
You probably forgot to mount /system. You can do so via the CWM Recovery partitions menu.

ohhhhhh...ok thanks alot.. i did miss that.

bbbblack said:
ohhhhhh...ok thanks alot.. i did miss that.
Click to expand...
Click to collapse
Better way of doing it is using 7zip and removing/addin files that way,than flashin that rom,its cleaner and faster.

lviv73 said:
Better way of doing it is using 7zip and removing/addin files that way,than flashin that rom,its cleaner and faster.
Click to expand...
Click to collapse
Not sure I agree, but to each their own.

This is kind of a cross post from the Apps forum, but I am getting no response there. CM6 uses a different music app than the stock HTC player, and the stock player works with the included headphones that have the control buttons. Which ROM can I steal the HTC player from and push back to my phone?

fermunky said:
This is kind of a cross post from the Apps forum, but I am getting no response there. CM6 uses a different music app than the stock HTC player, and the stock player works with the included headphones that have the control buttons. Which ROM can I steal the HTC player from and push back to my phone?
Click to expand...
Click to collapse
You could try to push the HTCMusic app from the OTA update. But I think it might be odexed so you might run into a problem. I haven't checked it out yet
Sent from my SuperFast Slide using XDA App

fermunky said:
This is kind of a cross post from the Apps forum, but I am getting no response there. CM6 uses a different music app than the stock HTC player, and the stock player works with the included headphones that have the control buttons. Which ROM can I steal the HTC player from and push back to my phone?
Click to expand...
Click to collapse
I doubt this will work with CM6 but it is worth a try. It says its for 2.1 and I havent tried it but I thought I would throw it out as a idea. http://forum.xda-developers.com/showthread.php?t=679707

lstevens86 said:
You could try to push the HTCMusic app from the OTA update. But I think it might be odexed so you might run into a problem. I haven't checked it out yet
Sent from my SuperFast Slide using XDA App
Click to expand...
Click to collapse
Yeah, I tried pushing the HtcMusic.apk/.odex files to the /system/app folder with no luck (I do not know what being odex'ed means to being able to do this). Any other thoughts?

HebrewToYou said:
You probably forgot to mount /system. You can do so via the CWM Recovery partitions menu.
Click to expand...
Click to collapse
Do you think it's best to do it from clockwork recovery? What I have been doing is just doing a delete from inside the rom with win rar before installing.

You can use Android Commander which also works for the slide. You just need to be in recovery with both your system and cache mounted so it will make changes otherwise it'll look like it did on the computer but actually when you restart the program you find it did nothing. lol Don't forget to open the program with Administrator Rights. I think the program makes things much easier.
http://forum.xda-developers.com/showthread.php?t=597098

thanks the commander worked perfectly! any reason why apps that i push dont show up in the phones app list when i boot up again?

Related

Installing AOSP apps on the evo

Hi everybody,
This is a total n00b question, but I was hoping someone could point me in the right direction. I want to install some of the AOSP apps onto my rooted Evo. So I downloaded eclair from google and built it it. Then I copied the Gallery.apk onto my SDK card and tried to install it. It goes through the motions, even as far as telling me which permissions that the app needs to run (Storage, etc).
Then it says, "Application not installed." with a done button.
I probably simply can't do what I'm trying to do, but if you can point in the right direction, I'd love to have a hand. I can't find log files or anything that would be useful.
-Ted
I'm not sure about AOSP apps, but here's what you do to add HTC apps back into roms:
1. Get something like Root Explorer so you can easily write to /system/
2. Copy your apk to /system/app/
3. Change it's permissions to match those of other apk's in the folder
4. Reboot phone
(And this should have gone in Q&A, but it's all good )
K I'm also confused about this but the HTC app part. If I wanted the stock clock widget can I make them work with launcher pro?
Also kind of confused about what exactly asop is in laments terms
Sent from my PC36100 using XDA App
I posted something along these lines in Q&A. Of course the problem with Q&A is there aren't nearly as many people around, but I did eventually get somewhat of an answer.
I was trying to take the apks from bugless beast and install the AOSP dialer, calendar, calculator, browser, and messaging apps into another ROM. I love bugless beast, but ironically it has some pretty bad bugs, hopefully we will see some updates.
At any rate, I eventually got some assistance on installing from adb, you may want to just look at the thread, but the short explination is to run
Code:
adb remount
and then you can do an adb shell command to get onto the phone (or use "adb shell <on-phone command>") to run
Code:
install <apk name> /system/app
This will be a very easy way to bugger things up, as I have found out from trying to get the contacts/dialer app running. I would love to hear what all I need to do to get the contacts/dialer/phone portion running as it is in bugless beast.
http://forum.xda-developers.com/showthread.php?t=715635
Thanks for this. It didn't error or anything, but it didn't work either. The app isn't available.
tedroden said:
Thanks for this. It didn't error or anything, but it didn't work either. The app isn't available.
Click to expand...
Click to collapse
So you did the remount, and then either ran adb shell install <apk> /system/app or ran "adb shell" which entered the phone, and then tried "install <apk> /system/app ???
There were no error messages, and then did you reboot?
If you did all of that, what apk were you trying to install?
I really want the calendar app. I tried doing something like this to install the calendar on the emulator. It didn't work there either. It acted like it worked, but all I got was a calendar app that would launch then fail immediately.
nlowhor said:
I really want the calendar app. I tried doing something like this to install the calendar on the emulator. It didn't work there either. It acted like it worked, but all I got was a calendar app that would launch then fail immediately.
Click to expand...
Click to collapse
You probably need the calendar provider apk. I'm using the apks from bugless beast, other ones may have problems I'm not having.
did the remount, and then ... ran "adb shell" which entered the phone, and then tried "install <apk> /system/app ???
There were no error messages, and then did you reboot?
If you did all of that, what apk were you trying to install?
Click to expand...
Click to collapse
Yep, I did all of that. Trying to install Gallery.apk
From what I recall about install, it just copies the file with the proper permissions, it's not doing anything super fancy. I can manually verify that the apk is in the /system/app folder, so technically, 'install' worked. It's just not showing up as an app that I can use.
laydros said:
You probably need the calendar provider apk. I'm using the apks from bugless beast, other ones may have problems I'm not having.
Click to expand...
Click to collapse
I have them both and put that into the same folder. Didn't seem to be good enough to make the emulator happy.

Vanilla Lockscreen on Sense?

How can I get that? I like the volume slider, since I have to switch to vibrate the other day (i know it goes to silent but I have an app to make it vibrate instead). If anybody has some tips or a way that'd be helpful.
buffnutz1 said:
How can I get that? I like the volume slider, since I have to switch to vibrate the other day (i know it goes to silent but I have an app to make it vibrate instead). If anybody has some tips or a way that'd be helpful.
Click to expand...
Click to collapse
Just delete htclockscreen.apk
Sent from my ADR6300 using XDA App
I'm on the Skyraider rom, don't know if that makes a difference but I'm deleting it with root explorer then the phone shuts off powers up and the file is right back there again.
Careful if you're on the stock rom and delete the default lockscreen apk, I've heard it makes the lookscreen look really bad. But it works on other roms.
Sent from my HTC Incredible
It looks best on 2.2 but it works on 2.1 just it looks messed up
Sent from my ADR6300 using XDA App
buffnutz1 said:
I'm on the Skyraider rom, don't know if that makes a difference but I'm deleting it with root explorer then the phone shuts off powers up and the file is right back there again.
Click to expand...
Click to collapse
Delete it via adb on your computer. I believe it is rm /system/app/htclockscreen.apk
Sent from my HTC Incredible
i would just use astro file mgr on the phone, remove the files from the rom, and flash it again with all changes applied
Sent from my ADR6300 using XDA App
The only way you can delete a file in system, is if you've used unrevoked forever to unlock nand. Then in root explorer, change system to rw (read/write), then I'd rename the app instead of deleting just in case you need to put it back.
Sent from Incredible using Tapatalk.
i meant just to edit the rom.zip on the sd card and then just reflash the rom
Sent from my ADR6300 using XDA App
jdkoreclipse said:
i would just use astro file mgr on the phone, remove the files from the rom, and flash it again with all changes applied
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I don't think this is possible unless he has Forever installed cause what.he described happened to me like 2 weeks ago, I had to use adb
Sent from my HTC Incredible
Didn't see that, but yeah that will work too. Either way will work just fine.
Sent from my HTC Incredible
Please don't Delete files...
TheWhiteBandito said:
Delete it via adb on your computer. I believe it is rm /system/app/htclockscreen.apk
Sent from my HTC Incredible
Click to expand...
Click to collapse
Please don't rm files from your phone...
Why not
Boot in to recover
Mount System
From you computer (if you on Linux or MAC open a terminal window from Windows open a CMD window) at the prompt type:
ADB Shell
cd /system
mkdir app.backup
mv /system/app/htclockscreen.apk /system/app.backup
You never know when you may need one of files you "RM" into oblivion...
Sent from my MAC looking at my Sky Raider 2.5.2 Incredibly Rooted Phone..
oldman_58 said:
Please don't rm files from your phone...
Why not
Boot in to recover
Mount System
From you computer (if you on Linux or MAC open a terminal window from Windows open a CMD window) at the prompt type:
ADB Shell
cd /system
mkdir app.backup
mv /system/app/htclockscreen.apk /system/app.backup
You never know when you may need one of files you "RM" into oblivion...
Sent from my MAC looking at my Sky Raider 2.5.2 Incredibly Rooted Phone..
Click to expand...
Click to collapse
Yes I aplogize for the poor suggestion, moving the file to an alternate folder is a much better solution.
Sent from my HTC Incredible
Ok, I'm trying to do either way but it say it's a read only file. how do I change that?
buffnutz1 said:
Ok, I'm trying to do either way but it say it's a read only file. how do I change that?
Click to expand...
Click to collapse
If you're in recovery, you have to mount system under the partions menu first.
Edit: or might be sd card & storage menu depending on version of clockworkmod you're running.
Sent from Incredible using Tapatalk.
I've used better terminal emulator to remove the lock screen.
Use this line:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
To mount system.
Then:
cd system/app
rm HtcLockScreen.*
(Case sensitive)
Worked great, had to reboot though and it stuck. Until then the old one stayed.
Thanks to adrynalyne for the mount line.
Sent from my ADR6300 using XDA App
Ok did exactly what you said, then like said it would it rebooted. Comes back up as the HTC one. Am I the only it's done this for? Why won't it just erase?
I just removed mine with adb and it worked without a hitch. Word of caution though if you use your alarm, you need install another clock app otherwise you won't be able to turn the alarm off without pulling the battery. I just installed the stock android desk clock and all is well again.
Sent from somewhere
lgldrgdlr said:
I just removed mine with adb and it worked without a hitch. Word of caution though if you use your alarm, you need install another clock app otherwise you won't be able to turn the alarm off without pulling the battery. I just installed the stock android desk clock and all is well again.
Sent from somewhere
Click to expand...
Click to collapse
Where did you find it? I usually use my alarm clock. :/
I can upload it at some point today. Not sure when I'll be home to do so though.
Sent from somewhere

[Q] process com.android.browser

out of no where one day, i went to use my browser and i got process com.android.browser. any time i try to use browser now i get that and i have tried everything. i really DONT want to do a factory reset, or root. is there anyway someone can send me the stock browser.apk? do you think that will work?
??????????
Out of nowhere Something had to have happened to cause that, or your phone has a serious issue - browser is a system app(?) and since we don't have rw access on the slide there's no way it could have deleted it especially while it's booted and definitely wouldn't if you're not rooted also.
Do a full reboot, power it off and power it back on, it should be ok. If that doesn't work, think back to the past few days prior to this, what have you done or installed?
Yet another example of why you should be rooted - nandroid
its been like this for a month its been restarted many a time =/ the last thing i was doing on it was watching youtube videos on the browser but using the streaming video player rather than the utube app i was listening to white noise music to fall asleep. then when i woke up thats when it stopped working
Well I'm not sure if it's possible (or allowed) but I'll try to pull the browser.apk off my phone and post it on here for you. Hopefully it's not odex(ed), if it is that creates an issue for a non rooted phone.
MODS: If I'm not allowed to post it then just delete it once it's up or let me know before I do.
OK, here's the browser file. Just load it to your sdcard and use a file explorer to install it or an apk installer. I would reboot after you do it, hopefully it will work but it's a shot in the dark since I doubt it will install in the normal ./system/app/ directory. If it even installs, it will probably go to the ./system/data/ directory (just in case you ever need to find it or remove it).
BTW, this is the browser from froyo/Team Fenix 2.0, might not work if there's any difference in the browser. If not, go to this thread download the file, unzip it, and look for 'system' > 'app' and then find the browser.apk. Put it on your sdcard and install it.
KCRic said:
OK, here's the browser file. Just load it to your sdcard and use a file explorer to install it or an apk installer. I would reboot after you do it, hopefully it will work but it's a shot in the dark since I doubt it will install in the normal ./system/app/ directory. If it even installs, it will probably go to the ./system/data/ directory (just in case you ever need to find it or remove it).
BTW, this is the browser from froyo/Team Fenix 2.0, might not work if there's any difference in the browser. If not, go to this thread[/URL] download the file, unzip it, and look for 'system' > 'app' and then find the browser.apk. Put it on your sdcard and install it.
Click to expand...
Click to collapse
ok first way didnt work. second way i unzip the file and its .img files what do i use to open those?
Wow, I just realized that I posted the link for a stock nandroid backup - not at all what you need. I'll post the link to slidemeroot, it's a stock rom (not nandroid backup) and I'll upload the broswer from that in this post.
The browser on the stock rom is odex'ed, there may not be a way to install it without rooting but give it a shot. If all else fails and you don't want to root you'll just have to install a different browser from the market like dolphin or opera.
OK, uploaded the borwser.odex file (unzip it after you download it). Here are the commands to [hopefully] get it to work that you need to run through command prompt. You should just be able to copy and paste the adb commands one at a time. You'll have to get adb to catch your phone in recovery mode in order to do this since you'll be writing to the system so be prepared for a headache since your doing this without rooting and flashing an eng build, but if it works you'll be happy you did it
Code:
adb remount
adb push browser.apk /system/app/browser.apk
adb push browser.odex /system/app/browser.odex
You'll need to make sure the files are in your android sdk tools directory and you 'cd' to it. If you have no idea what I'm talking about check the slide rom bible thread and look at one of the links about rooting - you'll understand
That won't work. You can't have the same app installed in both /system and /data.
Sent from my T-Mobile myTouch 3G Slide using XDA App
migueltherocker said:
That won't work. You can't have the same app installed in both /system and /data.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
So he would have to get in to recovery and delete the original browser apk from /system/app then re-install it and the odex file? The browser should be in the sysyem/app directory from the factory right? The /data/ dir. is for custom installed apps.
The easier way would be to uninstall the browser apk and odex file from /system/ and just install the first browser apk I posted which will install to the /data/ dir.
Can that even be done through adb without root? Or is the a way to 'sudo' with android like you do with ubuntu?

[GUIDE] 11/22/2010 - Restore Swype after upgrading to CyanogenMod

If you were like me, you rushed right into installing CyanogenMod. Whoops, found out there is no swype installed. What to do?
Hopefully you made a nandroid backup like me. I didn't want to do a full nandroid restore just to extract the files. So I did this...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
UPDATED 11/22/2010 - Okay, some people have requested a "newbie friendly" solution. I have created an APK which will help automate this procedure, without the need for ADB. If you have already applied CyanogenMod, then use this APK to select an older Clockwork Backup that has your licensed Swype. It will then extract and install the files for you. I have only tested on the G2.
http://www.mediafire.com/?j7dnv321ej0mrch
I'll possibly do some updates to:
a) cache swype for future installs (to make restores super quick)
b) add other extractions of 'your' saved files (i.e. google apps)
c) add more options for handling cache/files/etc.
I hope this helps. Enjoy!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# --------------------------------------------------------------------------------------------
# How to recover your swype files from your nandroid backup
# Quick and dirty extract
# Prepare a staging area on your computer
mkdir nandtmp
cd nandtmp
# Copy your old nandroid (pre CM) backup to your staging area..........
# i.e. /androidbackups/clockworkmod/backup/2010-11-01.02.02.02
cp $WHEREVER_OLD_IMAGE_IS/system.img .
# extract files...
unyaffs system.img
adb remount
# Push the swype files back to your Android device
adb push ./system/lib/libSwypeCore.so /system/lib/
adb push ./system/app/Swype.apk /system/app/
# Some users have had issues with not seeing Swype in the options (possibly non read/write system?), so they just installed the APK. If you install it, make sure the lib file has been pushed first.
# i.e. adb install /sdcard/Swype.apk
# Update permissions for good measure (may not be needed)
chmod 644 /system/app/Swype.apk
chmod 644 /system/lib/libSwypeCore.so
# I rebooted, but have heard reports that it is not necessary
adb reboot
# Now in Menu>Settings:Language & keyboard unselect the Android keyboard and make sure Swype keyboard is checked.
A similar process can be done directly on your phone.
# --------------------------------------------------------------------------------------------
Hope that helps others restore Swype (or other files they desire) without having to do a full Nand restore.
-oldsk00lz
getting force close on swype as soon as I uncheck the android keyboard, not a huge deal but I do kinda miss swype
ranyvern said:
getting force close on swype as soon as I uncheck the android keyboard, not a huge deal but I do kinda miss swype
Click to expand...
Click to collapse
Did you push libSwypeCore.so to /system/lib yet?
For some reason it still doesn't show up in the keyboard list, any idea why?
Sent from my T-Mobile G2 using XDA App
Ok, what you're supposed to do is, you actually have to install the swype.apk. its not enough to copy it to the /system/app directory adb install Swype.apk or use root file explorer click on the apk file and choose install.
Sent from my T-Mobile G2 using XDA App
or you can open up cyanogenmod(unzip) and download a stock g2 rom and then just put the files in the proper places, then zip cm again and flash(i did this all from my phone ast night because i was too lazy to go to the computer)
have you tried to go to swype.com and signing up for there beta testing. Not sure if still open but does not hurt to try. I reinstall from the beta testing website and is working great on CM6.1 on my G2
k50aker said:
For some reason it still doesn't show up in the keyboard list, any idea why?
Click to expand...
Click to collapse
Be more specific. What have you done so far? Did you go into Settings > Keyboard and enable Swype yet?
I tried a few times before but could never get this dumb unyaffs to work for me.
i get
Microsoft Windows XP [Version 5.1.2600]
C:\g2orgsys>unyaffs systemg2.img
28852 [main] unyaffs 3212 _cygtls::handle_exceptions: Exception: STATUS_ACCESS
_VIOLATION
30677 [main] unyaffs 3212 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
348883 [main] unyaffs 3212 _cygtls::handle_exceptions: Exception: STATUS_ACCESS
_VIOLATION
375003 [main] unyaffs 3212 _cygtls::handle_exceptions: Error while dumping stat
e (probably corrupted stack)
Idk im pretty lazy sometimes, if you can provide some help on this, i would GREATLY appreciate it.
oh and I tried, quickly, to get the emulator working but failed! Im sure its probably something ez I missed. :/
Stryder5 said:
Be more specific. What have you done so far? Did you go into Settings > Keyboard and enable Swype yet?
Click to expand...
Click to collapse
Yea, it wasn't there, again, in my case pushing it in to the /app folder did NOT work, I had to intall the apk maually like any other app. Of course only after pushing the lib file.
adb push libSwypeCore.so /system/lib
adb install Swype.apk
Unyaffs is supposed to work on windows? I didn't know that. I use linux, you sould try it and get used to it, it would save you a lot of trouble.
Sent from my T-Mobile G2 using XDA App
k50aker said:
Yea, it wasn't there, again, in my case pushing it in to the /app folder did NOT work, I had to intall the apk maually like any other app. Of course only after pushing the lib file.
adb push libSwypeCore.so /system/lib
adb install Swype.apk
Unyaffs is supposed to work on windows? I didn't know that. I use linux, you sould try it and get used to it, it would save you a lot of trouble.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Hmmm... I saw the swype in the settings after doing adb pushes and a reboot.
In reality, I had unchecked both Android keyboard, and Swype keyboard. Then went to a text field, and got a request for Android input. I then went back into settings and checked Swype, and then it just worked. I didn't need to install the APK. For those not seeing swype as an option, did you confirm that system was remounted and that files were copied? Did you reboot?
As for unyaffs, I was lazy. I just downloaded a binary for OSX from here: http://forum.xda-developers.com/showthread.php?p=7931772 . I haven't tried a Windows version of unyaffs.
-oldsk00lz
k50aker said:
Unyaffs is supposed to work on windows? I didn't know that. I use linux, you sould try it and get used to it, it would save you a lot of trouble.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
thats kinda sucks. lil more trouble then I was hoping for but I got a few LiveCDs somewhere.
How hard would it be to get this running through adb shell, on the phone? lol
wilnotdie said:
thats kinda sucks. lil more trouble then I was hoping for but I got a few LiveCDs somewhere.
How hard would it be to get this running through adb shell, on the phone? lol
Click to expand...
Click to collapse
wilnotdie - You should be able to do this directly on your phone, as well. Of course, you would need to mount your system read/write and cp files versus adb push.
i.e.
mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
cp /sdcard/nandtmp/system/lib/libSwypeCore.so /system/lib/libSwypeCore.so
cp /sdcard/nandtmp/system/app/Swype.apk /system/app/Swype.apk
Hope that helps.
-oldsk00lz
oldsk00lz said:
wilnotdie - You should be able to do this directly on your phone, as well. Of course, you would need to mount your system read/write and cp files versus adb push.
i.e.
mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
cp /sdcard/nandtmp/system/lib/libSwypeCore.so /system/lib/libSwypeCore.so
cp /sdcard/nandtmp/system/app/Swype.apk /system/app/Swype.apk
Hope that helps.
-oldsk00lz
Click to expand...
Click to collapse
Oh mybad, not that way. Was thinking of using the phone as my linux box instead of a pc. In theory it should work, just need to compile for use on the phone?
But Im guessing its not gonna be this ez lol
I didn't do any ADB pushes I just used root explorer to move the libswype file to lib directory then used the installer on the root explorer to install and it loaded right up for me. Only problem I'm getting is the double tap to edit isn't working now for some reason.
I pulled the files from the ota_root_noboot.zip from
http://forum.xda-developers.com/showthread.php?t=836042
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Hey Jkoenig00 did you have any issues with the double tap to edit?
Worked flawlessly and now I have swype running on CM. This should be stickied or something!
So for those of us who don't know what ADB is or how to use it...
are we screwed?
Is there a noob friendly method?
convolution said:
So for those of us who don't know what ADB is or how to use it...
are we screwed?
Is there a noob friendly method?
Click to expand...
Click to collapse
You can use root explorer. Download one of the stock roms. Access it through root explorer and copy the 2 files from the stock rom folders to its respective folder on your device. Then install the apk from within root explorer. Set everything up in your keyboard settings and your golden. Can be done in minutes.
Sent from my T-Mobile G2 using XDA App

Adfree Gingerbread

COURTESY OF MODOCO
currently if you try adfree on gingerbread you get some java error to solve this do the following
1. uninstall Adfree
2. download this apk file
3
PHP:
adb remount
adb push AdFree.MCR.apk /system/app
Thanks, I have been trying to get adfree to work all night... Works perfect!
I'm on GingerVillian 1.4. Getting an "Application not installed" message.
Not to hijack but you could also download a hosts file (google one) and put it in /system/etc. This is what that program does for you.
Sent from my HTC Vision
any chance of a .zip? i dont know how to use adb
ADB Works/Copy+Paste, Normal Install Does NOT Work
I’m running GingerVillain 1.4 and it worked for me, but let me venture a guess here: you tried to put the apk into system/app via Root Explorer/ES File Manager/Whatever. Either that or you tried installing the apk as you would install any other apk. Am I right?
I did the same thing, and I ran into the same problem you did. I have no idea why, though I’m sure there is good reason. However, if you uninstall AdFree and then use ADB as directed above it will work just fine. You won’t have to install it or anything; it just magically appears in the application drawer as if you had never uninstalled it in the first place.
ADB works, but RootExplorer-style Copy/Paste does not.
Hope that helps,
-Newbie
I got a mT4G with gingy and adfree works fine. I think one of the updates they did, some ppl were having problems with
4gCM7
I followed the instructions on a G2 with Gingervillain 1.4 and it worked perfectly.
FYI: copying and pasting with Root Explorer doesn't work.
I was lazy, but ended up having to use the adb method.
xomikronx said:
FYI: copying and pasting with Root Explorer doesn't work.
I was lazy, but ended up having to use the adb method.
Click to expand...
Click to collapse
Hmmn...I was able to copy/paste it with ES File Explorer though I didn't uninstall the Market version first. Fixed the issue for me though, so it must have worked.
Worked without a problem, thanks
Sent from my HTC Vision using XDA App
JustAnotherNewbie said:
I’m running GingerVillain 1.4 and it worked for me, but let me venture a guess here: you tried to put the apk into system/app via Root Explorer/ES File Manager/Whatever. Either that or you tried installing the apk as you would install any other apk. Am I right?
I did the same thing, and I ran into the same problem you did. I have no idea why, though I’m sure there is good reason. However, if you uninstall AdFree and then use ADB as directed above it will work just fine. You won’t have to install it or anything; it just magically appears in the application drawer as if you had never uninstalled it in the first place.
ADB works, but RootExplorer-style Copy/Paste does not.
Hope that helps,
-Newbie
Click to expand...
Click to collapse
You nailed it! I used ADB and it's working now. Thanks!
You can put the apk in the root of your sd card and run these commands in terminal if you don't want to use adb:
Su
cd /sdcard
mount -o remount, rw /system
install AdFree.MCR.apk /system/app
You can also make a gscript script with those commands if you constantly flash the GB updates like me. =P
Yay! Thankyouthankyouthankyouthankyou.
So happy to have this back on gingerbread.
Thanks very much
Works perfectly thank you
Sent from my HTC Vision using XDA App
Thanks a lot! Been tryin' to fix this the whole day. God bless you
rUsTyRuSs said:
You can put the apk in the root of your sd card and run these commands in terminal if you don't want to use adb:
Su
cd /sdcard
mount -o remount, rw /system
install AdFree.MCR.apk /system/app
You can also make a gscript script with those commands if you constantly flash the GB updates like me. =P
Click to expand...
Click to collapse
thank you!
Adb pushing or installing from terminal did not work for me. As in, after uninstall of original and following steps, AdFree did not show up in the app list
However,
What I did was this...
su
mount -o remount,rw /system
rm /system/app/AdFree.MCR.apk
install /sdcard/download/AdFree.MCR.apk /system/app/
reboot
Then I installed from market
Not only did it show back up in the app list but no errors were given when updating the hosts file...
Hope this helps!
Sent from me HTC Vision using CM7 Nightly
Final Fix!
AdFree has been upgraded. Uninstall your previous version of AdFree, go to Market and download the new version and it will work just fine. (Supposedly trying to update an old AdFree to the new version won't fix it.)
Troggie81 said:
You nailed it! I used ADB and it's working now. Thanks!
Click to expand...
Click to collapse
^.^ Anytime, I'm happy to help.
rUsTyRuSs said:
You can put the apk in the root of your sd card and run these commands in terminal if you don't want to use adb:
Su
cd /sdcard
mount -o remount, rw /system
install AdFree.MCR.apk /system/app
You can also make a gscript script with those commands if you constantly flash the GB updates like me. =P
Click to expand...
Click to collapse
I think that will be my job for today, looking into gscripts.
Just out of curiosity though, why is it that using RootExplorer/etc to move the .apk to /system/apps work?
I figure I could have installed it after the movie to make up for the install command. (And ES File Manager generally has no problem moving things to root areas.)
Always good to know -why- something is the way it is. I have a tendency to ignore reasons without explanations, and that has backfired a few times.
Or I can dig around XDA to find the answer; there be knowledge in these here forums.
Either way, thanks!
-Newbie

Categories

Resources