[Q] General question about ADB pushing?? - One (M7) Q&A, Help & Troubleshooting

sorry if i posted it on the wrong section but unfortunately there isnt a section for my phone(LG DoublePlay)
this is just a general questino about ADB pushing.
i accedentally deleted a system app on my phone and now my phone doesnt respond. i have a stock ROM and want to push the app back into the phone. but i forgot which system app i deleted.
also, i cannot flash the ROM because my phone doesnt allow that
QUESTION: if i push all the system apps/files into the phone, will there be two copies of the same or will it replace the original?

It will replace the originals so you'll only have one copy.
Just like if you're trying to install the same version of an already installed app, it won't install again because the system knows it already exists

Related

Install A System App

Hi I've searched the forums to the best of my ability, and cant figure out how to install a system app. I pulled the app (Via ADB Pull) and tried to push it back into /system/app and it works, but never installs? And i cant find it with astro or other software. =( Im using a G1 with Cyan, If you need more information please tell me!
Pushing does install. It doesn't have the install text like adb install does, but that is how you push files so it should work.
You could check to see if you have it set as read only, or delete the file then copy over the new one.
Im not sure what i did but i just kept trying and rebooting untill something worked =/ Lol Thanks though.. What do you mean by Read Only?
System partition is read-only by default, you need to change it to read-write if you want to install or push anything to it. I can never remember commands but they are all over this forum.

market app is missing in my Tattoo

market app is not available in my htc tattoo phone, as i did some search it seems it is related to region issue so its been removed.
now if it is either removed or blocked(meaning hidden or inaccessible):
- if it is hidden or inaccessible, isnt it possible to make it accessible as long as we are able to root the phone and have a power user permission on the phone?
- if it is not removed or not installed, is it possible to install it?
some guy in one post suggested to extract files from one htc tattoo rom (as in this post) and get the market.apk and install it using htc sync, but actually as i extracted the system.img, i couldnt find the market.apk file, any idea where can i get it?
The file is called Vending.apk and is located in /system/app.
I recommend to root your phone(if not yet done) and install a patched one, just take a look at some of the threads in the dev-forum.
akkad said:
market app is not available in my htc tattoo phone, as i did some search it seems it is related to region issue so its been removed.
now if it is either removed or blocked(meaning hidden or inaccessible):
- if it is hidden or inaccessible, isnt it possible to make it accessible as long as we are able to root the phone and have a power user permission on the phone?
- if it is not removed or not installed, is it possible to install it?
some guy in one post suggested to extract files from one htc tattoo rom (as in this post) and get the market.apk and install it using htc sync, but actually as i extracted the system.img, i couldnt find the market.apk file, any idea where can i get it?
Click to expand...
Click to collapse
not dev. related question..
BTW you can flash this: http://mirror.kanged.net/gapps/gapps-mdpi-20100926-signed.zip from the recovery..
Market missed
Hi,
Sorry for my bad english !
You have flashing your tattoo ?
if it's case , you do install the Google Apps MDPI
Please contact MP for the link or search into the XDA forum
(the link of francians is good ) sorry dont see this !
Reboot your phone in recovery mode
Select Flash from SDCARD
Select the Google Apps zip file and install this
Reboot and all apps from google is installed.
If you dont have flashing your tattoo test this :
Uncompressed the Zip file of Googlle Apps
Find the folders with APK File.
Install Vending.APK
Install Marketupdate.APK

[Q] Write and Go (Samsung default app) for download

Hi, I´m using Darky´s Gingerbread ROM and there isn´t any "Write and Go" application.
I want this application back because it´s really easy to post something to the facebook wall. Could you please someone copy this application from the system and put it here for download for me?
EDIT: Please I need it :/ the installer apk from /system/app would be just fine
Alien7 said:
Hi, I´m using Darky´s Gingerbread ROM and there isn´t any "Write and Go" application.
I want this application back because it´s really easy to post something to the facebook wall. Could you please someone copy this application from the system and put it here for download for me?
EDIT: Please I need it :/ the installer apk from /system/app would be just fine
Click to expand...
Click to collapse
Here you go: http://dl.dropbox.com/u/6524760/WriteandGo.apk
I have got it from XWJS5 in Romkitchen.
Thanks, but it seems it isn´t working for me. I get "Application not installed." error message :/
I think you have to copy it directly in /system/app/ with rootexplorer (after mounting system R/W)
Sine. said:
I think you have to copy it directly in /system/app/ with rootexplorer (after mounting system R/W)
Click to expand...
Click to collapse
I tried it, it doesn´t copy anything.
Try to download it from Romkitchen as an update.zip then flash it with CWM!
quick question Gerusz,
when i goto romkitchen, click on galaxy s, then on generate, then on the apps tab, then select only flash and go, it tells me that if i dont select a launcher my phone wil be unusable. How to i create an update.zip that ISN"T trying to replace my entire ROM?
thanks in advance!
Hey I have the same problem, using darky rom and i couldnt find this app anymore. Any solution yet? been searching for quite some time
I know this is an old thread, but just thought that you guys on darky ROM should know that all of these apps are available and installed on your phone on your SD card. They will be in a folder for darkyROM and they will be saved in system/apps within that folder. You use and always should use the darkyROM tool available from the market and it will add or remove any system app you want and it backs them up (so if you remove something you shouldn't you can re-install again) and also it does the same for user apps too. It has now been suceeded by the darkyOTA application though which provides Over The Air updates for ROM related stuff. All support and info is located on the darkyROM forums to check out

[FIXED] [Q] XT860 - Broke my /system/app folder...

EDIT: Fixed! Procedure I used was to download Danifunker's system dump, move it to /sdcard/ via adb push, then run the following:
Code:
adb shell
su dd if=/sdcard/mmcblk1p21.img of=/dev/block/mmcblk1p21
This completely refreshed my /system folder. Original post below:
--------------------------------------------------------------
Hello XDA forumgoers, longtime reader first time poster here. I'm currently posting because I made a few mistakes. Several mistakes, actually.
1. In my quest to de-bloat my XT860, I accidentally removed one file too many, which caused my phone to mysteriously not have a cell signal. (com.motorola.service.main kept crashing.) So I hit the forum and grabbed a system dump from this thread (thanks Willis111):
http://forum.xda-developers.com/showthread.php?p=17501981
I had bought the phone with some version of Cyanogenmod Recovery installed by the previous owner, so I was able to use that and ADB to stick the .apks and .odex files in the /system/app folder, chmod 644 them, and even factory reset for good measure.
2. As I soon found out, I had somehow made things worse. The phone, when boot into, shows the "press android to begin" page, but com.motorola.service.main and some other apps keep FCing on me, and I can't progress past that screen. In my haste, I didn't backup any of my system folders at all, though, I still backed up my apps with Titanium.
Tl;dr:
presumably none of the /system/app apks boot, most notably com.motorola.service.main. How do I fix this? Can I?
Try to flash
http://forum.xda-developers.com/showthread.php?t=1288823
You also need to chown 0:0 both the apk and the odex
Have you tried using my original system dump? It was taken with dd, so things like symlinks and the other sort should be functional. The only caveat is that a number of apps were frozen at the time, so you may need to unfreeze them with titaniumbackup.
http://www.multiupload.com/SORQERFAYT
DoubleYouPee: Is this that chinese rom I've heard of? I heard that if I flash this, I can't root my phone. So I think I'll save this one as a last resort.
eww245: chown'd, no result.
daniflunker: how do I open this?
jonsicoli said:
DoubleYouPee: Is this that chinese rom I've heard of? I heard that if I flash this, I can't root my phone. So I think I'll save this one as a last resort.
eww245: chown'd, no result.
daniflunker: how do I open this?
Click to expand...
Click to collapse
What about rootkeeper?
DoubleYouPee said:
What about rootkeeper?
Click to expand...
Click to collapse
I can't get past the "click android" screen, so I probably can't install or run it. Any way to do it via adb or Cyanogenmod Recovery?
I really appreciate the help.
jonsicoli, if you want to restore your *entire* /system folder (not just apps) you would run a similar command-set as this.
1. Copy the file to the internal memory
adb push c:\path.to.folder\mmcblk1p21.img /sdcard
the file will be located in the root of the sdcard (or you could drag and drop the file in USB storage mode)
2. Do a full restore on system memory *I have not checked to ensure this is working... but a command similar to this should work
adb shell
su dd if=/sdcard/mmcblk1p21.img of=/dev/block/mmcblk1p21
- wait -
(it would have to write about 500mb and replace all of the contents of /system )
reboot
_______________________________________________________
Okay, if you just want to look at the files, you could use a linux machine to mount the filesystem (it is a standard ext3 FS) or you could do what I have done on my windows system:
Install EXT2FsD from http://sourceforge.net/projects/ext2fsd/files/latest/download?source=files
Then install OSFMount from http://www.osforensics.com/tools.html
Point the OSFMount program to the img file that you downloaded and assign it a drive then voilla!
I am pretty sure this is a bit of overkill, but this should completely restore your system close to factory (minus the APKs that were upgraded/disabled, plus the fact root was done)
Thanks Danifunker! I reset my entire /system folder, and restoring my user app backup. I'm just relieved to have my phone back. Now to mark this thread as solved.
Awesome!!!!!! Glad to hear my system dump works! Thanks for testing
My command lines were written correctly also I guess?
Sent from my XT860 using XDA App
searched for like 8 hours until i found this thread. Just what i needed, i had system image for 2.3.6 from your other post but no command.

Bootloop problem after freezing Homescreen Selector

Hi
First post here, I'm new to Android and rooting but I know my way around computer systems in general so hoping you guys can help me, haven't seen a thread about this exact problem so far.
I've semi-bricked (bootlooped) my Samsung Galaxy Ace running Gingerbread, having rooted it last month using the upd_1 package and enjoying a bloatware-free phone, happily installing apps onto my second partition on my SD card. I've not changed my ROM, just the stock is good enough for me for now. However I was getting continually prompted by Homescreen Selector nags at powering up for some reason and I thought I could disable it by applying Freeze using LInk2SD, but since doing that I continually get the Samsung logo, the orange "explosion" (I'm with Orange) then a vibration and the whole cycle repeats. My guess is the operating system can't find the selector.apk app since I froze it.
I thought the solution would be simple - use adb shell to rename back from selector.fro to selector.apk. However I'm unable to find any such file in my system/app folder. There are a load of other apk and odex files but not that one. When I type su I get "permission denied", though I definitely rooted my phone but I don't think I have my bootloader unlocked.
I don't have CWM installed or any backups unfortunately (yes, I know...), so even if I took one now prior to a factory reset, surely the same problem would come back if I were to restore from any backup I were to take now. I can get into Recovery and Download screens ok but don't want to restore the whole ROM unless I have to, since I know it's only one APK that is at fault.
So, please can anyone tell me how to locate the selector.fro file to turn it back to selector.apk? Or can't I do that without unlocking the bootloader first, or is there another solution?
Many thanks in advance,
Graham
Wouldnt it be possible to make a zip of the selector.apk and flash it? Rename the zip-file to "update" (since you're unable to browse to your specific file).
QNBT said:
Wouldnt it be possible to make a zip of the selector.apk and flash it? Rename the zip-file to "update" (since you're unable to browse to your specific file).
Click to expand...
Click to collapse
Hi, thanks for the response
Do you mean copy a zip of selector.apk to the SD card and run it from there, same as I did when I rooted? Where can I obtain a copy of that apk from? I can't find it on my computer or via Google...
gkey2112 said:
Hi, thanks for the response
Do you mean copy a zip of selector.apk to the SD card and run it from there, same as I did when I rooted? Where can I obtain a copy of that apk from? I can't find it on my computer or via Google...
Click to expand...
Click to collapse
You can extract it from the ROM's zip file, just locate it as you would on your phone.
But I don't have a ROM zip file. I'm not using a custom ROM, just stock. I may go down the custom ROM route one day, but for now I just want my phone to work again in the quickest way possible.
All I need is a copy of the original stock home selector APK. Can anyone help here please?
Found the file!
Never mind, got the apk from another thread. Flashing tonight...

Categories

Resources