I'm using a ROM which came without the stock calculator.
I've been trying to install the .apk file with no success (it returns an error).
I also tried to copy the 2 files of the calculator to /system/app but it claims to be a read-only folder, and I really can't change it!
(tried chmod using terminal as root, with no success).
Does anyone have its installation for CWM or some working instructions how to do the copy to make it work?
Thanks!
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
I deleted the app with titanium backup and didn't back it up. Now I want it back and don't feel like flashing Ava9 rom again. I tried copying the stock APK from the rom and pasting it on system/apps folder with root explored and it won't install after I open it.
Any idea on how I can restore it.
I'm having a similar problem w/ mail.apk. I did however make a Ti Backup first, but now it is gone. I tried installing mail.apk from the OTA 2.2 update, but it fails.
Will simply dropping the apk and odex in /system/apps work?
Sorry for the hijack, but I'm guessing the solution will be the same for both of us.
edits:
I've tried the root options in ES FileExplorer, but that doesn't seem to work.
adb push tells me "Read-only file system"
adb remount gives "remount failed: Operation not permitted"
adb root says "adbd cannot run as root in production builds"
How can I make /system writable?
I want to know how I can replace a system apk with a modified version.
I have been unsuccessful by using such tools as 'Root Explorer' where I moved my modified APK to /root/system/app and when I replaced it with 'r/w' permissions all it seem to have done is deleted the original version.
I must not that I am on a DT-A2SD ROM, and figured it has something to do with that, so I placed the apk in /sd-ext directory but as the file names are different such as 'com...' it didn't make any difference.
Many thanks.
You have to be S-OFF to replace a system file while booted.
You can still replace it via the adb method while you are booted into recovery.
Ah, Okay....Could you provide me a guide to replacing system APK using APK preferably. Thank you.
ADB Guide
Basically I want to install these mods: http://forum.xda-developers.com/showthread.php?t=1287810
I have the stock rooted kernel (found here http://forum.xda-developers.com/showthread.php?t=1282415) which doesn't include CWM. Is there a way to install these mods without flashing through CWM?
Thanks.
I heard that rom manager now support our phone, it installs latest CWM version 5.0.2.7
I usually use adb push
Looks like you need a custom kernel for Rom Manager to work right now.
Can I just replace the files on my phone with these files and reboot?
use Odin to flash custom kernel with cwm compiled. lostkernel or zedomax's kernel both got cwm.
Sent from my SPH-D710 using xda premium
Yes but can I install these WITHOUT CWM?
romanodog said:
Yes but can I install these WITHOUT CWM?
Click to expand...
Click to collapse
No without custom recovery which is what cwm is you can not flash anything that is not signed by samsung .....you could flash an update through the samsung recovery but everything else will fail signature check .....that is why we use odin and clockwork mod
Sent from my SPH-D710 using xda premium
Technically yes you can. You would have to know how and where to push everything via adb but if you don't know or are uncomfortable I would definitely avoid it.
Hey romanodog you get CWM with stock rooted kernal without having to odin anything. All you have to do is do the following:
1. Go to the thread called " Lets Get Rid of that Yellow Triangle" (http://forum.xda-developers.com/showthread.php?t=1297999)
Note: with the root method you used you wont have the yellow triangle but this is necessary to get cwm on stock kernal.
2. Download and extract the the zip called "chris41g.devphone.org/LoStKernel/FlashzImage.zip" to your desktop or directory of choice
3. now open this folder and delete the file called zImage
4. go to this thread called "Stock Pulled Repacked with CWM5" (http://forum.xda-developers.com/showthread.php?t=1305099)
4. download the StockCWM5.zip file and extract this new zImage to the folder FlashzImage
5. run the bat file
Note: after you replace the zImage you can pretty much follow the how to video done by QbKing77 (thank him) in this thread: http://forum.xda-developers.com/showthread.php?t=1297999
cool thanks man, I will have to try that out
you can do all the mods without cwm quite easily.
just take the files from inside the zip and use a file browser to copy them to the phone.
i use es file explorer mostly, its free and lets you access the root partition.
available in the market.
(you can also use the adb push command if comfortable with a command line from the pc or a terminal emulator such as connectbot from the phone)
the trick is just figuring out where the files go. luckily when you unzip the mod you'll get folders such as
meta-inf
system
ignore the meta-inf
its the system folder you want
system> which will usually contain something like app and framework folders
just copy those files to /system/app and /system/framework viola! either overwriting the files already there or better yet backup those files or rename them first.
no cwm needed but you do need root
p.s. also you may need to reboot for changes to take effect
mjcollum said:
you can do all the mods without cwm quite easily.
just take the files from inside the zip and use a file browser to copy them to the phone.
i use es file explorer mostly, its free and lets you access the root partition.
available in the market.
(you can also use the adb push command if comfortable with a command line from the pc or a terminal emulator such as connectbot from the phone)
the trick is just figuring out where the files go. luckily when you unzip the mod you'll get folders such as
meta-inf
system
ignore the meta-inf
its the system folder you want
system> which will usually contain something like app and framework folders
just copy those files to /system/app and /system/framework viola! either overwriting the files already there or better yet backup those files or rename them first.
no cwm needed but you do need root
p.s. also you may need to reboot for changes to take effect
Click to expand...
Click to collapse
Cool! I thought I could do something like that but I wanted someone to confirm, thanks!
I'm pretty familiar with linux but these phones are a whole new world to me.
Hello,
I'm running into a problem with installing system APKs on a the rooted EL29 GB 2.3.6.
I've extracted system APKs from other EL29 GB2.3.6 ROMs as well as copied APKs from my own current ROM's /system/apps folder (examples would include the calculator and camera APKs.)
I try to follow the guide @ http://forum.xda-developers.com/showthread.php?t=1414355Epic
Using Root Explorer I place these APK files in the /system/app folder, mounting the folder as R/W, adjusting the file permissions to (rw-r--r--), I click the file and choose install, and finally I get a progress bar followed by a message that says "Application not installed."
When I try to use ADB I get the following message:
c:\ADB>adb install camera.apk
* daemon not running. starting it now *
* daemon started successfully *
2672 KB/s (1319121 bytes in 0.482s)
pkg: /data/local/tmp/camera.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Can you please help me or at least teach me why some APKs install just fine and others wont.
TheRealJobe said:
Hello,
I'm running into a problem with installing system APKs on a the rooted EL29 GB 2.3.6.
I've extracted system APKs from other EL29 GB2.3.6 ROMs as well as copied APKs from my own current ROM's /system/apps folder (examples would include the calculator and camera APKs.)
I try to follow the guide @ http://forum.xda-developers.com/showthread.php?t=1414355Epic
Using Root Explorer I place these APK files in the /system/app folder, mounting the folder as R/W, adjusting the file permissions to (rw-r--r--), I click the file and choose install, and finally I get a progress bar followed by a message that says "Application not installed."
When I try to use ADB I get the following message:
c:\ADB>adb install camera.apk
* daemon not running. starting it now *
* daemon started successfully *
2672 KB/s (1319121 bytes in 0.482s)
pkg: /data/local/tmp/camera.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Can you please help me or at least teach me why some APKs install just fine and others wont.
Click to expand...
Click to collapse
Hmmm. I have always just put APK's on the SD card, selected them in rootexplorer and installed. When one won't install, it is usually either a conflict between the apk and the OS version OR a conflict between what I am trying to install and something already installed.
From the error message it sounds like a problem reading the internal manifest of the app .... But this is just a guess.
TheRealJobe said:
Hello,
I'm running into a problem with installing system APKs on a the rooted EL29 GB 2.3.6.
I've extracted system APKs from other EL29 GB2.3.6 ROMs as well as copied APKs from my own current ROM's /system/apps folder (examples would include the calculator and camera APKs.)
I try to follow the guide @ http://forum.xda-developers.com/showthread.php?t=1414355Epic
Using Root Explorer I place these APK files in the /system/app folder, mounting the folder as R/W, adjusting the file permissions to (rw-r--r--), I click the file and choose install, and finally I get a progress bar followed by a message that says "Application not installed."
When I try to use ADB I get the following message:
c:\ADB>adb install camera.apk
* daemon not running. starting it now *
* daemon started successfully *
2672 KB/s (1319121 bytes in 0.482s)
pkg: /data/local/tmp/camera.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Can you please help me or at least teach me why some APKs install just fine and others wont.
Click to expand...
Click to collapse
That would be because you are trying to "install" a system app to data. This will not work. Try this..
Code:
adb push yourapp.apk /system/app
Code:
adb reboot
enjoy.
sottey said:
Hmmm. I have always just put APK's on the SD card, selected them in rootexplorer and installed. When one won't install, it is usually either a conflict between the apk and the OS version OR a conflict between what I am trying to install and something already installed.
From the error message it sounds like a problem reading the internal manifest of the app .... But this is just a guess.
Click to expand...
Click to collapse
Thanks for the response. Is there an easy way to view/edit the manifest file on the phone. I would like to skip installing the entire Android SDK/Eclipse on my PC.
barnacles10 said:
That would be because you are trying to "install" a system app to data. This will not work. Try this..
Code:
adb push yourapp.apk /system/app
Code:
adb reboot
enjoy.
Click to expand...
Click to collapse
I tried this as well, and I recieved the same problem when attempting to install the app via launching on phone.
Heres where it gets even stranger:
I copied /system/app/protips.apk and protips.odex to /system/
Then I used ROM toolkit to uninstall the protips program.
I rebooted the phone, mounted /system as RW and copied the apk and odex back to /system/app via Root Explorer. I tried to install this via running the apk in Root Explorer from /systme/app and get the same message about the app not being installed.
So here I am with an APK from the very ROM I'm running and I still cant resintall.
TheRealJobe said:
I tried this as well, and I recieved the same problem when attempting to install the app via launching on phone.
Heres where it gets even stranger:
I copied /system/app/protips.apk and protips.odex to /system/
Then I used ROM toolkit to uninstall the protips program.
I rebooted the phone, mounted /system as RW and copied the apk and odex back to /system/app via Root Explorer. I tried to install this via running the apk in Root Explorer from /systme/app and get the same message about the app not being installed.
So here I am with an APK from the very ROM I'm running and I still cant resintall.
Click to expand...
Click to collapse
The point is for system applications, you just need to copy the .apk file to /system/app, fix permissions, and that's it. After the .apk file is placed in that folder, you do NOT need to select the .apk file and try to install it. It already is installed. Just reboot.
Got error as mentioned above
beezar said:
The point is for system applications, you just need to copy the .apk file to /system/app, fix permissions, and that's it. After the .apk file is placed in that folder, you do NOT need to select the .apk file and try to install it. It already is installed. Just reboot.
Click to expand...
Click to collapse
i follow all the steps
1. copy the apk in /system/app
2. edit the permission to rw-r--r--
3. reboot my phone
but not able to see that apk install in my phone can any buddy tell me whats the problem.