After ADB push then reboot app dissappears? - Desire General

Ok well I modded 2 apps, by using adb push and pull and it works fine, the modded widgets both comes up just like how it should with my design added to it.
But whenever i restart my phone the 2 apps just disappears and i haven't got a clue why, they doesn't come up in my widget menu or in the app launcher and i'm having to download them from the market and install them again
When i go to Root Explorer and go to the folder where I pushed it too it says it's still there. I've pushed the app to where it should be /data/app where all the other downloaded apps are stored.
Can anyone help?

Yeah i can help. Root explorer and any other app that lets you edit system files is useless. The only time we have write access to system on a Desire is from a custom recovery. If you flash one of these using Unrevoked then boot to recovery and push files they will stay.

ephumuris said:
Yeah i can help. Root explorer and any other app that lets you edit system files is useless. The only time we have write access to system on a Desire is from a custom recovery. If you flash one of these using Unrevoked then boot to recovery and push files they will stay.
Click to expand...
Click to collapse
Oh right, well that's just bloody **** ain't it.
Well how do I make flashable zip files then?
Is there a simple and easy way of doing it?
Thanks for the help by the way.

Related

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..

[Q] process com.android.browser

out of no where one day, i went to use my browser and i got process com.android.browser. any time i try to use browser now i get that and i have tried everything. i really DONT want to do a factory reset, or root. is there anyway someone can send me the stock browser.apk? do you think that will work?
??????????
Out of nowhere Something had to have happened to cause that, or your phone has a serious issue - browser is a system app(?) and since we don't have rw access on the slide there's no way it could have deleted it especially while it's booted and definitely wouldn't if you're not rooted also.
Do a full reboot, power it off and power it back on, it should be ok. If that doesn't work, think back to the past few days prior to this, what have you done or installed?
Yet another example of why you should be rooted - nandroid
its been like this for a month its been restarted many a time =/ the last thing i was doing on it was watching youtube videos on the browser but using the streaming video player rather than the utube app i was listening to white noise music to fall asleep. then when i woke up thats when it stopped working
Well I'm not sure if it's possible (or allowed) but I'll try to pull the browser.apk off my phone and post it on here for you. Hopefully it's not odex(ed), if it is that creates an issue for a non rooted phone.
MODS: If I'm not allowed to post it then just delete it once it's up or let me know before I do.
OK, here's the browser file. Just load it to your sdcard and use a file explorer to install it or an apk installer. I would reboot after you do it, hopefully it will work but it's a shot in the dark since I doubt it will install in the normal ./system/app/ directory. If it even installs, it will probably go to the ./system/data/ directory (just in case you ever need to find it or remove it).
BTW, this is the browser from froyo/Team Fenix 2.0, might not work if there's any difference in the browser. If not, go to this thread download the file, unzip it, and look for 'system' > 'app' and then find the browser.apk. Put it on your sdcard and install it.
KCRic said:
OK, here's the browser file. Just load it to your sdcard and use a file explorer to install it or an apk installer. I would reboot after you do it, hopefully it will work but it's a shot in the dark since I doubt it will install in the normal ./system/app/ directory. If it even installs, it will probably go to the ./system/data/ directory (just in case you ever need to find it or remove it).
BTW, this is the browser from froyo/Team Fenix 2.0, might not work if there's any difference in the browser. If not, go to this thread[/URL] download the file, unzip it, and look for 'system' > 'app' and then find the browser.apk. Put it on your sdcard and install it.
Click to expand...
Click to collapse
ok first way didnt work. second way i unzip the file and its .img files what do i use to open those?
Wow, I just realized that I posted the link for a stock nandroid backup - not at all what you need. I'll post the link to slidemeroot, it's a stock rom (not nandroid backup) and I'll upload the broswer from that in this post.
The browser on the stock rom is odex'ed, there may not be a way to install it without rooting but give it a shot. If all else fails and you don't want to root you'll just have to install a different browser from the market like dolphin or opera.
OK, uploaded the borwser.odex file (unzip it after you download it). Here are the commands to [hopefully] get it to work that you need to run through command prompt. You should just be able to copy and paste the adb commands one at a time. You'll have to get adb to catch your phone in recovery mode in order to do this since you'll be writing to the system so be prepared for a headache since your doing this without rooting and flashing an eng build, but if it works you'll be happy you did it
Code:
adb remount
adb push browser.apk /system/app/browser.apk
adb push browser.odex /system/app/browser.odex
You'll need to make sure the files are in your android sdk tools directory and you 'cd' to it. If you have no idea what I'm talking about check the slide rom bible thread and look at one of the links about rooting - you'll understand
That won't work. You can't have the same app installed in both /system and /data.
Sent from my T-Mobile myTouch 3G Slide using XDA App
migueltherocker said:
That won't work. You can't have the same app installed in both /system and /data.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
So he would have to get in to recovery and delete the original browser apk from /system/app then re-install it and the odex file? The browser should be in the sysyem/app directory from the factory right? The /data/ dir. is for custom installed apps.
The easier way would be to uninstall the browser apk and odex file from /system/ and just install the first browser apk I posted which will install to the /data/ dir.
Can that even be done through adb without root? Or is the a way to 'sudo' with android like you do with ubuntu?

[Q] Launcher question and I did my research

Hey guys i was wondering if there was an apk for the MIUI launcher b/c i really enjoy that launcher but it is unstable right now so if I can get a launcher that would be awesome.
I don't know but ill tell you how to get it. Download miui and then unzip the rom. Go to /system/app and look for an apk named launcher or something similar.
Sent from my PC36100 using XDA App
do I extract the file then copy it to my sd card then install from there?
Thanks so much if this works and if it doesn't thanks for the idea!
I just tried it and all i got was "! application not installed" should i try to zip it and flash it? or is there any other route i can take?
Yeah you can push it to /system/app using adb, or copy and paste with root explorer, or make a flashable zip file.
Sent from my PC36100 using XDA App
I am a big time noob, so what is the easiest way to do it. I have never used any of these routes and how do you zip a file so that it is flashable? thanks again so much for your help your are super helpful.
so i tried copying and pasting using root explorer and it did not work, i get a message saying "you cannot paste here becaue the file system is read only"
jiggajoe506 said:
so i tried copying and pasting using root explorer and it did not work, i get a message saying "you cannot paste here becaue the file system is read only"
Click to expand...
Click to collapse
In the upper right corner there I'd a bottom theft says mount rw(read/write) push that then try to paste there, but a lot of the time that will not work so if it does not you can use adb. you plug your phone in with debugging on, place your apk in your sdk tools folder.
My sdk tooks folder is located at c:/androidsdk/tools and say the apk you are using the launcher.apk so i would open the cmd and use the following commands.
cd c:/androidsdk/tools
adb remount
adb push launcher.apk system/app
adb reboot
After each command wait till its done after last command your phone will reboot.
Sent from my unrEVOked using xda app
Thanks a bunch for the advice but i have never used abd so I would need to know what the program is called and where to get it and what folder that is and maybe a few attempts at it. Sorry I'm such a noob, all I know how to do is download a rom or kernel and flash from recovery.
jiggajoe506 said:
Thanks a bunch for the advice but i have never used abd so I would need to know what the program is called and where to get it and what folder that is and maybe a few attempts at it. Sorry I'm such a noob, all I know how to do is download a rom or kernel and flash from recovery.
Click to expand...
Click to collapse
we were all noobs at one point if you post your apk here i will make you a flashable zip
Wow thank you So much man you are awesome and so are the other fellows that helped. I gotta un-noob myself at some point in my life. This is the launcher I got when I went into the zip file and went to system/apps/ of the miui rom whether there are other things that make it the way it is I don't know. (folders and no app drawer)
Thanks again guys
jiggajoe506 said:
Wow thank you So much man you are awesome and so are the other fellows that helped. I gotta un-noob myself at some point in my life. This is the launcher I got when I went into the zip file and went to system/apps/ of the miui rom whether there are other things that make it the way it is I don't know. (folders and no app drawer)
Thanks again guys
Click to expand...
Click to collapse
here is the flashable zip just put on your sdcard and flash from recovery besure to do a nandroid backup first and here is a link to using adb http://forum.xda-developers.com/showthread.php?t=532719
roscoenr said:
here is the flashable zip just put on your sdcard and flash from recovery besure to do a nandroid backup first and here is a link to using adb http://forum.xda-developers.com/showthread.php?t=532719
Click to expand...
Click to collapse
Your a lot of help.but kept force closing thanks for the extra work you did. Wish I could thank you more them once on here
not sure why it would be force closing unless it a bad apk if you find another apk you can open the zip up with 7-zip and replace the old one with the new one and close do not unzip it just open

Livewallpaper on Bonsai

Hi All,
I was wondering if I could put out a request for some APKs. I would like to have live wallpapers on Bonsai and have tried putting livewallpaper.apk and the picker into my Epic but I don't have Root Explorer and I can't seem to change the permissions on those files. Right now all of the APKs I found have Read Yes Write Yes and the other one No. All of the APKs in my app directory have Read Yes Write No and other one No. Could someone post those APKs with permissions set like that? I don't know if that is my exact problem or if it is worth it to buy RE for only that purpose.
TIA,
DD
I believe its been mentioned before that ES File Explorer brings most of the Root Explorer functionality for free. I could be wrong though since ive never tried it myself. Worth a shot though if its just a permissions issue.
doggiedog said:
Hi All,
I was wondering if I could put out a request for some APKs. I would like to have live wallpapers on Bonsai and have tried putting livewallpaper.apk and the picker into my Epic but I don't have Root Explorer and I can't seem to change the permissions on those files. Right now all of the APKs I found have Read Yes Write Yes and the other one No. All of the APKs in my app directory have Read Yes Write No and other one No. Could someone post those APKs with permissions set like that? I don't know if that is my exact problem or if it is worth it to buy RE for only that purpose.
TIA,
DD
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
U can also use sdx stock app removal app, just put the apk in the adx folder on the SD card and go Into the app then to manage backups and got restore
Set From My 3.0.1 Bonsai Epic 4g
Thanks. I have tried everything. I could not change the permissions using sdx or ES File manager. All I could do with those programs was access the system directories. Unless I am doing something wrong, I will either need to get Root Explorer and change the permissions or get altered livewallpaper apks.
I think the frankenstine rom thread has a flashable zip for live wallpapers
Sent from my SPH-D700 using XDA Premium App
doggiedog said:
Thanks. I have tried everything. I could not change the permissions using sdx or ES File manager. All I could do with those programs was access the system directories. Unless I am doing something wrong, I will either need to get Root Explorer and change the permissions or get altered livewallpaper apks.
Click to expand...
Click to collapse
U don't need to change permissions in the sdx app removal app...
Set From My 3.0.1 Bonsai Epic 4g
OK. I think I may be confusing some people.
I would like to have Live Wallpapers in Bonsai since it's been removed. I did some research and found that you need to install the livewallpaper apks into the system/app directory. I did that using ES File Manager and rebooted. It didn't work. I did some more research and a few people had the same issue. The solution was to make sure the permissions in the livewallpaper apks was exactly the same as the permissions as the other apks in the apps directory. The apks in the directory all have Read Yes, Write No and Hidden No. All of the livewallpaper apks I found had permissions set up as Read Yes, Write Yes and Hidden No. I figure if I change the Write from Yes to No, it might work. I'm not 100% positive which is why I don't know if it's worth it to buy Root Explorer just to experiment. I'm hoping someone can provide me with the livewallpaper and livewallpaperspicker apks with altered permissions that have those settings.
Estewa_619, I will try that ROM. Thanks!
Tried the Frankenstein ROM livewallpaper apks and it still didn't work. The permissions are still set up as Read Yes, Write Yes and Hidden No.
doggiedog said:
OK. I think I may be confusing some people.
I would like to have Live Wallpapers in Bonsai since it's been removed. I did some research and found that you need to install the livewallpaper apks into the system/app directory. I did that using ES File Manager and rebooted. It didn't work. I did some more research and a few people had the same issue. The solution was to make sure the permissions in the livewallpaper apks was exactly the same as the permissions as the other apks in the apps directory. The apks in the directory all have Read Yes, Write No and Hidden No. All of the livewallpaper apks I found had permissions set up as Read Yes, Write Yes and Hidden No. I figure if I change the Write from Yes to No, it might work. I'm not 100% positive which is why I don't know if it's worth it to buy Root Explorer just to experiment. I'm hoping someone can provide me with the livewallpaper and livewallpaperspicker apks with altered permissions that have those settings.
Estewa_619, I will try that ROM. Thanks!
Click to expand...
Click to collapse
This is very easy to solve. Go to midnight rom and download it to computer. Open up the midnight extras folder and you will find lots of zip files in there that are all flashable in CWM. Just extract the folder, then copy the live wallpaper zips you want onto your sd card, then flash in CWM.
Alternatively, what I normally do is download the rom you want to flash (Bonsai). Open it up on your pc. Navigate to system/apps. Paste the livewallper apks into that directory. Then flash normally. This will include any files you want in the system/app folder.
davidrules7778 said:
U can also use sdx stock app removal app, just put the apk in the adx folder on the SD card and go Into the app then to manage backups and got restore
Set From My 3.0.1 Bonsai Epic 4g
Click to expand...
Click to collapse
Just used this method on bonsai 3.0.1 , worked just fine. Thanks!
Sent from my SPH-D700 using XDA App
All I did was download the flashable zip from frankenstine post and I flashed it in cwm and it worked for me
Sent from my SPH-D700 using XDA Premium App
mis3 said:
This is very easy to solve. Go to midnight rom and download it to computer. Open up the midnight extras folder and you will find lots of zip files in there that are all flashable in CWM. Just extract the folder, then copy the live wallpaper zips you want onto your sd card, then flash in CWM.
Alternatively, what I normally do is download the rom you want to flash (Bonsai). Open it up on your pc. Navigate to system/apps. Paste the livewallper apks into that directory. Then flash normally. This will include any files you want in the system/app folder.
Click to expand...
Click to collapse
7zip (windows) is what u want to use 2 open the zip but DO NOT EXTRACT it!!! Well in 7zip paste the apks u want into system/apps. Then close 7zip. Move the rom 2 ur sdcard and flash as u would normaly. U can also replace the boot/shutdown animation and a few other parts of the rom that you can add or subtract stuff from. I hope this help as not to sound offensive but u seem a bit newbish and 7zip isa great tool for viewing zip files w/o extracting them took me a good deal of time 2 find this handy tool, hope this helps ya out...
Sent from my Epic4G isn't that enough? *disclaimer* I may not know what I'm talikin bout, plz take w/ a grain of salt or sheen style it "I was banging 7 gram rocks and finishing em... because I'm me" -if thats winning I'm losing....
If any of u have the Android sdk installed, this is a 10 second push using adb - fwiw
Sent from my SPH-D700 using Tapatalk
I tried all of the cut and pasting techniques. None of them worked. I came across this online:
Code:
adb push LiveWallpapersPicker.apk /sdcard/
adb shell
Code:
su
remount rw
cat /sdcard/LiveWallpapersPicker.apk > /system/app/LiveWallpapersPicker.apk
exit
exit
I went into the dos shell and sure enough it worked!
Thanks for all the suggestions!
http://forum.xda-developers.com/showpost.php?p=12014836&postcount=13
<smacksforehead>
Here are the .zips from the midNIGHT ROM extras folder... Flash one of these, should work.
But the adb method works just as well... Maybe even faster.
Moved to Q&A.

[Q] Can't rw on /system

I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
erden99 said:
I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
Click to expand...
Click to collapse
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
treefrog321 said:
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
Click to expand...
Click to collapse
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
erden99 said:
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
Click to expand...
Click to collapse
I have this problem too! I am currently trying to uninstall the system youtube app because it wont let me install the new 5.0 update without doing that as I have a modded youtube apk. I am on AOKP custom ROM

Categories

Resources