Hey everyone,
I've just done something stupid.. I wanted to install the old (G1) Calendar app on my Hero (I think the old app is better, faster etc.). So in order to do that I first deleted CalendarProvider.apk (and .odex) and Calendar.apk (and .odex) from /system/app
So after that brilliant step, I found out the old calendar won't install.. and now I found out the original (backuped) apk's won't install either.
I tried adb push to /system/app, which works, but doesn't give me a working calendar.
What to do?
Are the permissions the same as other files?
gecka, what do you mean exactly?
I have been able to rm and adb push, but adb install didn't work..
can you upload the calendar???
Sure, you can find the files here:
http://theroman.nl/CalendarProvider.apk
http://theroman.nl/Calendar.apk
theroman said:
gecka, what do you mean exactly?
I have been able to rm and adb push, but adb install didn't work..
Click to expand...
Click to collapse
Try adb shell, then "ls -lah" in app dir, that will show you file permissions.
Just an idea.
gecka said:
Try adb shell, then "ls -lah" in app dir, that will show you file permissions.
Just an idea.
Click to expand...
Click to collapse
Hmm.. I get this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And this is the adb pushed Calendar.apk
So I think I have all necessary permissions, but how to make it work
Calendar.apk should be own by root as other .apk, I suppose.
As you can see it is own by "shell". Not sure on own to change that, you should be root to do a
chown root:root Calendar.apk
If you have rooted your phone try su to become root
gecka said:
Calendar.apk should be own by root as other .apk, I suppose.
As you can see it is own by "shell". Not sure on own to change that, you should be root to do a
chown root:root Calendar.apk
If you have rooted your phone try su to become root
Click to expand...
Click to collapse
I did the chown, but it won't take root:root, so I did:
chown root Calendar.apk .. which gives:
Unfortunately it doesn't work, but I did get the owner to root.. any other idea's? Thanks for thinking with me!
[Edit] I rebooted into Recovery and tried to install, got another error message:
Did you push the odex too? You need both...
P
You could just reinstall the ROM using one of my update.zips - this only reinstalls the system partition and doesn't wipe your data.
P
modaco said:
Did you push the odex too? You need both...
P
Click to expand...
Click to collapse
darn.. I didn't backup the .odex
any way to create those?
theroman said:
I did the chown, but it won't take root:root, so I did:
chown root Calendar.apk .. which gives:
Unfortunately it doesn't work, but I did get the owner to root.. any other idea's? Thanks for thinking with me!
[Edit] I rebooted into Recovery and tried to install, got another error message:
Click to expand...
Click to collapse
Well, file group is still shell (that is why ":root" was there.... )
Anyway chmod is not the same as other files try chmod 0600 Calendar.apk
theroman said:
darn.. I didn't backup the .odex
any way to create those?
Click to expand...
Click to collapse
Download them here: http://knc.nc/Hero-Calendar.apk.tar.gz
@ Modaco:
Are permissions important for .apk in /system/app ?
Calendar APKs and ODEXs...
http://content.modaco.net/dropzone/Calendar.zip
or since i'm nice, an update.zip to fix your problem...
http://content.modaco.net/dropzone/update-hero-calendar-signed.zip
P
Modaco, it... WORKED!
Thanks very very much
So now, the only question remains: is it possible to install the G1 calendar on the Hero?
I'm toying with the idea of building a complete generic ROM for the Hero, might be the best way! Calendar alone, dunno...
P
modaco said:
I'm toying with the idea of building a complete generic ROM for the Hero, might be the best way! Calendar alone, dunno...
P
Click to expand...
Click to collapse
Hehe, if you can speed it up a bit, pinch 'o Apps2SD and make it compatible with HTC-own upgrades (of which one is already planned), I'm very much in
R
EXT3 A2SD is already in my root pack 1.4...
P
Related
I did some searching but didn't find anything.
Is there a way to bulk install applications if you have all the apks for those applications?
Mr17 said:
I did some searching but didn't find anything.
Is there a way to bulk install applications if you have all the apks for those applications?
Click to expand...
Click to collapse
Emm haven't tried it but it should work.
You could use wildcards.
So let's say you have a bunch of .apk's all in one folder, you could use adb to install them on your phone using this syntax:
Code:
adb install folder/*.apk
This should install all files ending with .apk in the folder
sweet, I'll give that a try and let you know how it works. Would make testing different roms alot easier.
Do you think this would bypass the market? If it did notification of updates would not work. hmm, ill have to test.
Mr17 said:
Do you think this would bypass the market? If it did notification of updates would not work. hmm, ill have to test.
Click to expand...
Click to collapse
use atrackdog
Create a batch script with:
Code:
for %%f in ("C:\path\to\apks\*.apk") do adb install "%%f"
The easiest way (imo) if you are rooted:
1. Put all the apks into a folder structure \data\app
2. Create a text file with the following and rename it update-script (with no extension) then put it into a folder structure \META-INF\com\google\android
Code:
show_progress 0.5 0
copy_dir PACKAGE:data DATA:
show_progress 0.5 10
3. Zip both folder structures into a zip file (you should have folders data and META-INF at the root of the zip).
4. Sign it with signapk and you're done
Whenever you want to bulk reinstall, just put the signed zip file into your sdcard and reboot into recovery. When you want to add or remove apks from the bulk installer, just drag it into your zip file and resign.
Or you can backup all your apps into one folder on your sdcard and run this in terminal:
Code:
su
cd sdcard/apps
busybox install *.apk /data/app
I might add this feature into my ADB File Explorer app
I've added a basic feature to install apps into my ADB file explorer, it can do one off apk's or bulk install from a directory. See my sig for more details.
wow, that was fast! thanks!
jashsu said:
The easiest way (imo) if you are rooted:
1. Put all the apks into a folder structure \data\app
2. Create a text file with the following and rename it update-script (with no extension) then put it into a folder structure \META-INF\com\google\android
Code:
show_progress 0.5 0
copy_dir PACKAGE:data DATA:
show_progress 0.5 10
3. Zip both folder structures into a zip file (you should have folders data and META-INF at the root of the zip).
4. Sign it with signapk and you're done
Whenever you want to bulk reinstall, just put the signed zip file into your sdcard and reboot into recovery. When you want to add or remove apks from the bulk installer, just drag it into your zip file and resign.
Click to expand...
Click to collapse
Thank you for this. This will come in handy a LOT next ROM flashes :]
Seems so easy looking back on it, not sure why I didn't think of it earlier. I may even just edit the rom files to include my installed apps if I need to wipe.
someone made an app for the computer if you have the .apks you just plug in your phone double click the apk and run it and itll install on to your phone, try looking for that.
Bavilo said:
Emm haven't tried it but it should work.
You could use wildcards.
So let's say you have a bunch of .apk's all in one folder, you could use adb to install them on your phone using this syntax:
Code:
adb install folder/*.apk
This should install all files ending with .apk in the folder
Click to expand...
Click to collapse
I just wiped my phone completely clean and reflashed to Cyanogen 3.6.1.
When I try this method, it gives me an error that I don't have enough space. Again, this is after a *complete* wipe.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----
I'm not sure whether it's using the 5 MB free or the 42 MB space, but Any Cut is 32 kb, so that's a non-issue.
Any ideas on why it's not working?
Paul22000 said:
I just wiped my phone completely clean and reflashed to Cyanogen 3.6.1.
When I try this method, it gives me an error that I don't have enough space. Again, this is after a *complete* wipe.
Screenshots:
-----
I'm not sure whether it's using the 5 MB free or the 42 MB space, but Any Cut is 32 kb, so that's a non-issue.
Any ideas on why it's not working?
Click to expand...
Click to collapse
Do you have your sdcard partitoned to fat32 as the first one and then ext2(3) as your next partition?
PlatinumMOTO said:
Do you have your sdcard partitoned to fat32 as the first one and then ext2(3) as your next partition?
Click to expand...
Click to collapse
I don't think so. If there is an ext2 or ext3 partition, I didn't set it up.
By the way, I got InstallAPK, which lets you double click on APKs on your PC and install them to phone immediately.
http://forum.xda-developers.com/showthread.php?t=521295
It worked just fine at installing all my apps after the wipe.
Minus the fact that I had to double click on an app, wait for it to install, double click the next, wait for it to install, double click.... ad nauseum.........
I'm still interested in finding out why the method I posted in the screenshots isn't working.
Has anyone actually gotten it to work?
We're getting off topic but this is what you need to do in all likelihood you're gonna have to reflash Cy 3.6.1 again but before you do you're gonna need to setup your sdcard like this:
you can use either Paragon Partition Manager (above) Gparted, or SDSplit but you should set it up like the picture to run apps to sd and to fully get the Cy experience
PlatinumMOTO said:
We're getting off topic but this is what you need to do in all likelihood you're gonna have to reflash Cy 3.6.1 again but before you do you're gonna need to setup your sdcard like this:
you can use either Paragon Partition Manager (above) Gparted, or SDSplit but you should set it up like the picture to run apps to sd and to fully get the Cy experience
Click to expand...
Click to collapse
I'm not trying to do apps to sd though.
All I want to do is run "adb install apk".
well how many apps are you trying to install?
PlatinumMOTO said:
well how many apps are you trying to install?
Click to expand...
Click to collapse
29 apps
Which is why I'd like to get a quick adb install *.apk, 1 command and done.
Here is the ported music app from the MIUI Rom. The installation is very simple.
1. Download the zip file and extract the apk file from it.
2. Copy the apk file to /system/app folder and you are done.
Download here
Flashable zip Here Thanks to schizopunk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installing now, will report back. Thanks for this!
LoL @ justin beiber in the screenshots
looks pretty sweet ill check it out...plus i hate you, Mr. 4g haha just joking :]
Does anyone know if you get the controls in the notification menu like the current one in Froyo?
no controls in the notification menu...
Since this doesn't have any controls in the notification bar, does it have a widget or are there any controls for the lock screen?
youngnick09 said:
Since this doesn't have any controls in the notification bar, does it have a widget or are there any controls for the lock screen?
Click to expand...
Click to collapse
There is a widget, (Back, Play, Next buttons)
ok, thanks
Can anyone help me out with Step 2:
2. Copy the apk file to /system/app folder and you are done.
Do I need a certain program or app to do this?
youngnick09 said:
Can anyone help me out with Step 2:
2. Copy the apk file to /system/app folder and you are done.
Do I need a certain program or app to do this?
Click to expand...
Click to collapse
Use any file manager like astro or root explorer. You can also use adb to push it to /system/app folder.
Goto market and download a file manager.
Sent from my SPH-D700 using Tapatalk
I installed multiple file explorers and everytime I try to move the file into the the system/app folder, I keep getting an error saying I do not have enough permission. Any help?
Works really good. Thanks for posting.
youngnick09 said:
I installed multiple file explorers and everytime I try to move the file into the the system/app folder, I keep getting an error saying I do not have enough permission. Any help?
Click to expand...
Click to collapse
Use adb to do the job.
Code:
adb push /path/to/downloaded/apk/MiuiMusic.apk /system/app
Or buy "Root Explorer" from the market
JGeZau said:
Works really good. Thanks for posting.
Use adb to do the job.
Code:
adb push /path/to/downloaded/apk/MiuiMusic.apk /system/app
Or buy "Root Explorer" from the market
Click to expand...
Click to collapse
Sorry, but I'm a nub, so you gotta explain to me how I use adb ha. Is it an app or is it a command?
youngnick09 said:
Sorry, but I'm a nub, so you gotta explain to me how I use adb ha. Is it an app or is it a command?
Click to expand...
Click to collapse
Lets start with the basics to see where you stand...
1. Are you rooted?
2. Goto market and download "Astro File Manager".
answer the first question if its yes then goto step 2. Let me know when done with step 2.
Sent from my SPH-D700 using Tapatalk
does is only come in purple, havet installed yet, and wont until tonite. Just wanna kno
Nice app kinda like DoubleTwist player,doubletwist have few more options though.
Yes, i am both rooted and have astro
youngnick09 said:
Yes, i am both rooted and have astro
Click to expand...
Click to collapse
Ok connect your phone with usb to your computer turn on mass storage copy the apk file not the zip file to the root of your sd card.
Disconnect the phone from the computer open astro copy or move the apk file from the root of your sd card to /system/app folder and you are done.
Sent from my SPH-D700 using Tapatalk
SideKick2 said:
Ok connect your phone with usb to your computer turn on mass storage copy the apk file not the zip file to the root of your sd card.
Disconnect the phone from the computer open astro copy or move the apk file from the root of your sd card to /system/app folder and you are done.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Right, I've already tried this from the beginning and each file manager I use, including astro does not allow me to move the music player file into the system/app folder.
youngnick09 said:
Right, I've already tried this from the beginning and each file manager I use, including astro does not allow me to move the music player file into the system/app folder.
Click to expand...
Click to collapse
Follow this guide up to Step 3.
After you have ADB working, then type the following
Code:
adb push /path/to/downloaded/apk/MiuiMusic.apk /system/app
Remember to use the correct path to the apk
Hi everybody
This is my first bootanimation,so please be patient
Sreenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Video:
http://www.youtube.com/watch?v=QH2-TGUlwu4
(the bootanimation is without sound )
how to install:
1. copy the bootanimation.zip into SD card.
2. go to all apps > root explorer > system > media > and you will see a bootanimation.zip
3. press PASTE and your new bootanimation.zip will replace it.
ore just push it trough ADB to /system/media
enjoy!
lol, this is fantastic!
thanks for the animation! honestly I dont want nyannyannyan on my phone but it got me a cool idea for a personal boot animation, however I can not install it: when trying to paste it to "system\media " folder with root explorer I got this message: "you cannot paste here because the file system is ready only"
phone is rooted but still on stock rom, any ideas where do i go wrong?
anyways, nyannyannyan nyannyan...
topanyel said:
thanks for the animation! honestly I dont want nyannyannyan on my phone but it got me a cool idea for a personal boot animation, however I can not install it: when trying to paste it to "system\media " folder with root explorer I got this message: "you cannot paste here because the file system is ready only"
phone is rooted but still on stock rom, any ideas where do i go wrong?
anyways, nyannyannyan nyannyan...
Click to expand...
Click to collapse
If you have root explorer you should be able to just paste it right in. All you need to do is mount the sd as R/W. To do this just click on the R/W button at the top right hand side of root explorer. After pasting it I think you need to change the permission of the zip file as well to let the system access it. You can also do this with root explore.
I'm new on XDA so please press the THANKS button if I was any help. I need at least one thanks to look a bit respectable in this forum.
Giiar said:
If you have root explorer you should be able to just paste it right in. All you need to do is mount the sd as R/W. To do this just click on the R/W button at the top right hand side of root explorer. After pasting it I think you need to change the permission of the zip file as well to let the system access it. You can also do this with root explore.
I'm new on XDA so please press the THANKS button if I was any help. I need at least one thanks to look a bit respectable in this forum.
Click to expand...
Click to collapse
your answer is correct sir! (its not necessary to change zips permission, they should be fine allready)
@topanyel, remember to NOT COMPRESS your zip folder with the bootanimation in it, else it will not work.
topanyel said:
thanks for the animation! honestly I dont want nyannyannyan on my phone but it got me a cool idea for a personal boot animation, however I can not install it: when trying to paste it to "system\media " folder with root explorer I got this message: "you cannot paste here because the file system is ready only"
phone is rooted but still on stock rom, any ideas where do i go wrong?
anyways, nyannyannyan nyannyan...
Click to expand...
Click to collapse
i realy like the part where its says nyan!
Ok I have read quite a few threads and havent found this issue just yet...
I am followed directions on how to create custom boot animations and did so, I have made a simple metal gear solid boot animation containing 19 frames my issue is when I go to system/media to look for the "Bootanimation.zip" it isnt there...
then I used the search tool on my phone app to find it and ended up in system/bin and the file has no specs... -_- see for yourself I backed up my files and opened the backup on my PC for a screen shot of my folder.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
bootanimation.zip not in stock firmware at all. You need a custom kernel that supports bootanimation.zip then if there is one present it will supersede the stock animation.
studacris said:
bootanimation.zip not in stock firmware at all. You need a custom kernel that supports bootanimation.zip then if there is one present it will supersede the stock animation.
Click to expand...
Click to collapse
Understood thanks, would Cyanogen mod be considered a custom kernel? I can try installing that then try again. or is there another method of changing the boot animation that would be considered more simple? eventually I will be installing CM7 anyway.
BTW I am running Gingerbread 2.3.5 and just recently I flashed corn and got cwm as well... as you might already know.
I am reading directions now and will be installing soon, I will get back to this when I am successful.
After reaching step 6 on http://wiki.cyanogenmod.com/wiki/Samsung_Captivate:_Full_Update_Guide
I googled the issue tried installing the driver and that didn't work :/ I'm stuck on step 6 now.
I tried starting heimdall-frontend and received an error MSVCR100.dll is missing...
Corn is a custom kernel...if you apply root in recovery you should be able to use a root file explorer and paste your zip in /system/media to get to work.
studacris said:
Corn is a custom kernel...if you apply root in recovery you should be able to use a root file explorer and paste your zip in /system/media to get to work.
Click to expand...
Click to collapse
OK so I am sure that I've done everything correctly to root the phone thanks to many helpful people in this forum, but I still cannot find that damn .zip file to replace!
Its killing me because I am so ready to put my edited PNG files in there and test my work out, then share it with everyone
At this very moment my phone is in recovery mode but I will check root explorer once more and take some screen shots. Everything is in QMG under /System/Media and as for /System/Bin there are no file types, I'm so confused
As i said earlier, if You are on a stock firmware there is no bootanimation.zip those qmg files ARE the stock boot animation, just drop your zip in /system/media (make sure you tap the "mount r/w" button on the top right of root explorer before pasting or it won't be able to write there) the kernel should detect the presence of the newly placed zip and play that on boot instead of the stock S.
studacris said:
As i said earlier, if You are on a stock firmware there is no bootanimation.zip those qmg files ARE the stock boot animation, just drop your zip in /system/media (make sure you tap the "mount r/w" button on the top right of root explorer before pasting or it won't be able to write there) the kernel should detect the presence of the newly placed zip and play that on boot instead of the stock S.
Click to expand...
Click to collapse
That was all your quote about donations made me laugh, and the help was much appreciated, I made a small donation but better than nothing
Once again, not affiliated with this app, just found it to be working flawlessly on our poor little HTC Vivids. This is the proclaimed Android 4.3 Camera that's on the Google Play Edition phones. Originally found here- http://forum.xda-developers.com/showthread.php?t=2340858
How I got it to work-
1. Move Gallery2.apk out of system/app/ (I backed it up in another folder just in case)
2. Install the Googleeditioncamera.apk from your preferred mirror here
3. Take pictures!
SCREENSHOTS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PHOTOSPHERE
1080p Video Sample
Side notes- Some advanced options are not included in this stock app- Shutter sound cannot be disabled, and you cannot change the camera to save to external storage, the options just arent there.. So if this is important to you, think twice about installing the apk. I've been using the camera on Vibrate mode and it's been silent for me, FYI.
If you find this useful, please hit the thanks button here and in the original thread linked above. Thanks!
How did you move Gallery2.apk out of the app folder? I tried using a file management app and it just gets stuck at 50%. I've also tried straight up deleting it and that doesn't work either. I am unable to access the root phone file through USB.
Thank you.
bfawks said:
How did you move Gallery2.apk out of the app folder? I tried using a file management app and it just gets stuck at 50%. I've also tried straight up deleting it and that doesn't work either. I am unable to access the root phone file through USB.
Thank you.
Click to expand...
Click to collapse
Try using a root file explorer on the phone set permissions on /system to RW, I use ES File Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop
htcvividnoob said:
Try using a root file explorer on the phone set permissions on /system to RW, I use ES File Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop
Click to expand...
Click to collapse
Alright - I used ES Flie Explorer to move the file to another location as backup, but Gallery2.apk is still there and cannot be deleted. /system is also Readable and Writeable.
EDIT: I went into the terminal and did the following commands;
su
chmod 777 system/app
but received "Unable to chmod system/app: Read-only file system"
bfawks said:
Alright - I used ES Flie Explorer to move the file to another location as backup, but Gallery2.apk is still there and cannot be deleted. /system is also Readable and Writeable.
EDIT: I went into the terminal and did the following commands;
su
chmod 777 system/app
but received "Unable to chmod system/app: Read-only file system"
Click to expand...
Click to collapse
Which rom are you on? Are you running this as root? If you are on a root'ed rom and /system is mounted as RW then you should be able to delete the app from ES File Explorer in the root file explorer.
htcvividnoob said:
Which rom are you on? Are you running this as root? If you are on a root'ed rom and /system is mounted as RW then you should be able to delete the app from ES File Explorer in the root file explorer.
Click to expand...
Click to collapse
I'm on CyanogenMod 10.1 4.2.2
How would I know if I'm running as root?
bfawks said:
I'm on CyanogenMod 10.1 4.2.2
How would I know if I'm running as root?
Click to expand...
Click to collapse
try if you can great new file or folder under root dictionary, then you are running as root.