Problem with ADB Push... - Droid Incredible Q&A, Help & Troubleshooting

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

Related

where and how do i push wallpaper to magic

i want to push tattoo images and blurr accross to my phone not memory card
is there an easy way
its all stored in the framework-res.apk ( adb pull /system/framework/framework-res.apk c:\android) presuming you are on a donut/cupcake based rom and you have a folder names android in your c drive.
If you manage to edit that apk file and DONT get any force closes after please tell me as that where im failing
Actually the wallpapers are saved in the Launcher.apk app NOT framework-res.apk app.
Remember to re-sign the apk file and push it to system/app/
If you get forcecloses then fix_permissions should clear it up.

Apps in /system/app dont show up nor do widgets

so i removed friendstream.apk because of forcecloses and htcfacebook for sense i got the apks from a stock rom and used root explorer to mount and paste the files into the /system/app folder so theyre there, but i dont see the apps or widgets but when i try to install them using the app manager on android it says its already installed, any ideas? thanks!
im using damage control 3.2.3 with a custom kernel for damage control 3.7.1, thanks!
Leave them on your sd card and then try installing them using your file explorer.
Sent from my PC36100 using XDA App
i tried their htc apks so they dont install normally ive pushed it before and it worked fine just now its not showing up
zeeyo987 said:
so i removed friendstream.apk because of forcecloses and htcfacebook for sense i got the apks from a stock rom and used root explorer to mount and paste the files into the /system/app folder so theyre there, but i dont see the apps or widgets but when i try to install them using the app manager on android it says its already installed, any ideas? thanks!
im using damage control 3.2.3 with a custom kernel for damage control 3.7.1, thanks!
Click to expand...
Click to collapse
when pusing them to /system/app with root explorer you have to change the permissions of each app you copy over (hold select the app and choose change permissions) i just check off all of the permissions thingys
when pushing through adb it does that automatically
hope that helps
the default ones are all can read and user can write plus read
Thread moved to Q&A.
yea i checked all the permissions and used adb before and still not showing up, lol really frustrating
any ideas guys, really miss friendstream lol
An easy way to fix permissions is through ROM manager.
Download it in the market and select fix apk permissions.
That might do the trick..
Don't forget to reboot.
yea tried that doesnt work, really weird
Very strange, did you try an adb install? Rather than push..

Vanilla lock simple to get?

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

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

Fix for broken write to hidden folders (.*) on SD

I'm not sure what broke this, but I have been getting weird errors with some of my apps that write to hidden folders (with . prefixes) on the sdcard. Might have been the OTA update to 4.2 from 4.1.
I've a rooted Galaxy Nexus mostly stock.
Logcat kept showing that permission was denied, MTP would freeze when I tried to create a file or folder, and rooted adb would show permission denied.
Turns out that the permissions to the folders was set such that it was owned by root:root instead of media_rw:media_rw like everything else.
I fixed this by running 'chown -R media_rw:media_rw * .*' from /sdcard/0/ in my rooted recovery.

Categories

Resources