Related
It's easy to get in my current setup (fresh)
But I was wondering if it was possible to get the vanilla lock in another rom like caulkins evio by just deleting htc lockscreen?
Also, how about the vanilla alarm and such.. delete worldclock or would I have to find that apk and install it?
Ditto, I would like to know this too.
yes, just delete them and reboot.
I have from a rooted file explorer and after reboot they return.
I am unable to delete in adb, I keep getting a "directory is not full" error or something like that.
I use the rm HtcLockScreen.adk command. I have done it after adb remount and get the directory error, before I get a read-only error. Same with HtcLockScreen.odex.
This is how it should go starting from command line in the adb.exe directory:
adb shell
cd /system/app
remount rw
rm HtcLockScreen.apk
Obviously if any errors are reported on anything before the last line, the last line isn't going to work.
rm failed for HtcLockScreen.apk, Directory not empty
That is the error I got, all the other commands worked or at least seemed to.
Maybe try to just rename it?
Code:
mv HtcLockScreen.apk HtcLockScreen.apk.bak
Just make sure you're in the right directory, but I'm sure you got that far.
failed on 'HtcLockScreen.apk' - Directory not empty error
Edit: pwd states that I am in the correct directory, /system/app
Rippley05 said:
It's easy to get in my current setup (fresh)
But I was wondering if it was possible to get the vanilla lock in another rom like caulkins evio by just deleting htc lockscreen?
Also, how about the vanilla alarm and such.. delete worldclock or would I have to find that apk and install it?
Click to expand...
Click to collapse
I used Titanium Backup to delete the Htc Lockscreen, and so far, it has worked on every rom.
AS for the Vanilla alarm, i just stripped cyanogen's ROM and found the APK for it. "Clock.apk" After i found it and transferred it to my phone, i went to Titanium Backup and deleted the original clock apk
adb reboot recovery
mount dev/block/mtdblock4 /system
cd system/app
rm HtcLockScreen.apk
reboot
it will only delete when the phone is in recovery
andrewmc42 said:
I have from a rooted file explorer and after reboot they return.
I am unable to delete in adb, I keep getting a "directory is not full" error or something like that.
I use the rm HtcLockScreen.adk command. I have done it after adb remount and get the directory error, before I get a read-only error. Same with HtcLockScreen.odex.
Click to expand...
Click to collapse
It sound like you don't have nand unlocked. I use root explorer to delete files without a computer.
How would I know if Nand was unlocked?
I have used it to back up the phone from Clockwork Recovery.
bacdoliljo said:
adb reboot recovery
mount dev/block/mtdblock4 /system
cd system/app
rm HtcLockScreen.apk
reboot
it will only delete when the phone is in recovery
Click to expand...
Click to collapse
Major thanks, only thing missed was a "adb shell" command, but that was easy enough to figure out. It worked in recovery just fine.
rosario1187 said:
I used Titanium Backup to delete the Htc Lockscreen, and so far, it has worked on every rom.
AS for the Vanilla alarm, i just stripped cyanogen's ROM and found the APK for it. "Clock.apk" After i found it and transferred it to my phone, i went to Titanium Backup and deleted the original clock apk
Click to expand...
Click to collapse
what's the difference between the stock htc alarm clock and the one from CM? can you post the apk, please?
IMO the clock from cyanogen looks a lot better than the sense clock. You will just be giving up some functionality if you switch to the cyan clock. I have both of them installed just in case. I have the. Apk on my phone but since I am at work, I wont be able to post it up until I am home. Anyone else have it?
Sent from my EVO using XDA App
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
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
Ok so I'm trying to push the Vanilla Clock to my Incredible so I can get rid of the Sense Lockscreen and still have a functioning alarm clock.
I boot into recovery, mount the system and type: adb push DeskClock.apk /system/app
I have the desk clock apk in my tools folder and my tools folder is cd
After I type that in I'm getting an error stating there isn't enough space on the device.
This shouldn't be an issue as i have plenty of internal and phone storage space.
Any ideas??
I tried using Root Explorer and just pasting the apk to the /system/app folder but it caused the clock to display a string of numbers underneath the time that should not have been there.
Thanks.
If you are rooted you can do it while your phone is running. First run adb remount. You then should be able to push to your running system.
Sent from my Incredible using Tapatalk
I'm rooted. I mounted system in recovery. Also did adb remount. Neither worked.
Sent from my Warm Z Incredible
Never mind. The /system/app folder was full. Deleted a system live wallpaper to make room. Please ignore, close, etc.
Sent from my Warm Z Incredible
In order to do certain things, like install widgets from the drawer tab, launchers like Trebuchet and Apex need to be installed in /system/app (so 'adb install' won't give full functionality), but 'adb remount' doesn't currently work for the port. So here is the ADB work around. This assumes you downloaded the launcher and put it on your phone's memory already, any thing after a '#' is a comment so leave it out, and you must have root:
Code:
adb shell
su
cd sdcard #or wherever the launcher apk is
busybox mount -o rw,remount /dev/block/mmcblk0p24 /system
busybox cp Trebuchet.apk /system/app #substitute the Apex apk name here for Apex
reboot
When it reboots, you should get the new launcher's option. If it still doesn't work, try running chmod on the apk.
Hope this helps.
funeralthirst said:
In order to do certain things, like install widgets from the drawer tab, launchers like Trebuchet and Apex need to be installed in /system/app (so 'adb install' won't give full functionality), but 'adb remount' doesn't currently work for the port. So here is the ADB work around. This assumes you downloaded the launcher and put it on your phone's memory already, any thing after a '#' is a comment so leave it out, and you must have root:
Code:
adb shell
su
cd sdcard #or wherever the launcher apk is
busybox mount -o rw,remount /dev/block/mmcblk0p24 /system
busybox cp Trebuchet.apk /system/app #substitute the Apex apk name here for Apex
reboot
When it reboots, you should get the new launcher's option. If it still doesn't work, try running chmod on the apk.
Hope this helps.
Click to expand...
Click to collapse
If you have TB or ROM Toolbox Pro, you can also install, and convert to system app.
Sent from the Darkside of the Force.
Can't you just copy/paste it into the /system/app folder with Root Explorer? Fix permissions and reboot?
setzer715 said:
Can't you just copy/paste it into the /system/app folder with Root Explorer? Fix permissions and reboot?
Click to expand...
Click to collapse
Yes you can I prefer to do it this way.. but some like adb
Sent from my SAMSUNG-SGH-I727 using xda premium
What do you change the permissions to?
Sent from my SAMSUNG-SGH-I727 using XDA