[HELP] Cannot install APKs to /system/app via push - Samsung Galaxy Nexus

I am using AOKP M3 with Black Exodus theme installed, but I doubt that matters.
This is so frustrating. Regardless of the system apk I am trying to install, it NEVER shows up in the app drawer. Here are the steps I use.
adb remount
adb push [Systemapk] /system/app/
make sure permissions are set to rw-r--r--
reboot (shouldn't have to, but doesn't do anything)
I've installing multiple different system apps but it never works. NITROZ kindly made a zip for me, but it's app specific and I shouldn't have to use it.
Any help is greatly appreciated

stupid question but have you checked the permissions on system/app/ ?
I would of thought rw rw r !!
---------- Post added at 04:21 PM ---------- Previous post was at 04:09 PM ----------
Looks like I'm the stupid one , adb remount gives you the permissions!!

shanman-2 said:
stupid question but have you checked the permissions on system/app/ ?
I would of thought rw rw r !!
---------- Post added at 04:21 PM ---------- Previous post was at 04:09 PM ----------
Looks like I'm the stupid one , adb remount gives you the permissions!!
Click to expand...
Click to collapse
Yeah, all the apk permissions in system/app are the same

Edit-misread. Does your device show up using ADB devices command?
Sent from my Galaxy Nexus using xda premium

Wow, you have got to be kidding me. It doesn't work with ADB, but when I cut/paste using root explorer it works.
ARGHHHH. Well, at least I got it somewhat working.
And yea, adb devices lists my phone.

Scratch that. The root explorer method worked once and now nothing.
I have rebooted. Tried with sign and unsigned apps. Modified permissions. ARGH!

Maybe u can help. I have cm9 music apk on my SD. It says in es explorer cut and paste to system/app. Is that a folder. I can't find where to paste the apk to. Do I paste it to a folder? Please help. I'm still learning.
Sent from my HTC Sensation using xda premium

hardrockinandroid said:
Maybe u can help. I have cm9 music apk on my SD. It says in es explorer cut and paste to system/app. Is that a folder. I can't find where to paste the apk to. Do I paste it to a folder? Please help. I'm still learning.
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
CM9 music does not need to go in the /system/app folder as it is not necessary. If all you want to do is use the app, just leave it where it is and click to install it.

number3pencil said:
Scratch that. The root explorer method worked once and now nothing.
I have rebooted. Tried with sign and unsigned apps. Modified permissions. ARGH!
Click to expand...
Click to collapse
make sure you tap the Mount R/W button in Root Explorer when you are in the system/app folder. It should be somewhere at the top of the screen. Then you should (in theory) be able to copy anything to the system folders.

Related

I accidently deleted my gallery

Can someone pleeeeaaaassseee put tha gallery for AOSP GB on here for me... I can't look at my nasty videos lol...
Sent from my New NeXus EVO™ 4G
roqstarmatt said:
Can someone pleeeeaaaassseee put tha gallery for AOSP GB on here for me... I can't look at my nasty videos lol...
Sent from my New NeXus EVO™ 4G
Click to expand...
Click to collapse
This is the Gallery.apk from SalvageMod1.1. I'm not sure if it's the exact one you're looking for, but it came from a Gingerbread Rom.
It keeps saying application not installed.. is it because I'm using kings GB??
Sent from my New NeXus EVO™ 4G
roqstarmatt said:
It keeps saying application not installed.. is it because I'm using kings GB??
Sent from my New NeXus EVO™ 4G
Click to expand...
Click to collapse
Don't intstall it, put it in /system/app and then do fix permissions.
Sent from my PC36100 using XDA App
roqstarmatt said:
It keeps saying application not installed.. is it because I'm using kings GB??
Sent from my New NeXus EVO™ 4G
Click to expand...
Click to collapse
As the other guy said, either adb push it to system/app, like this
adb remount
adb push Gallery.apk /system/app
adb reboot
or, as was already instructed, you can use a file explorer, such as root explorer, or es file explorer, to move the Gallery.apk to the /system/app folder. Then fix permissions and reboot
k2buckley said:
As the other guy said, either adb push it to system/app, like this
adb remount
adb push Gallery.apk /system/app
adb reboot
or, as was already instructed, you can use a file explorer, such as root explorer, or es file explorer, to move the Gallery.apk to the /system/app folder. Then fix permissions and reboot
Click to expand...
Click to collapse
If none of this works either save apps and ref lash or restore a backup...
You all are geniuses.... I can't wait till I'm no longer a noob!!! Lol... THANX A MILLION
Sent from my New NeXus EVO™ 4G

[Q] Can't get Whatsapp to work - Force close

Can't get whatsapp to work. I had it pre-installed when i got the phone. But i deleted it. But re-installed it from the market, now, all i get when i try to log in for the first time i get force close. Anyone else who has this problem?
_terror_ said:
Can't get whatsapp to work. I had it pre-installed when i got the phone. But i deleted it. But re-installed it from the market, now, all i get when i try to log in for the first time i get force close. Anyone else who has this problem?
Click to expand...
Click to collapse
It's dependent on the sony framework as it's preinstalled, push the .apk to /system/app/ and it will work again
AndroHero said:
It's dependent on the sony framework as it's preinstalled, push the .apk to /system/app/ and it will work again
Click to expand...
Click to collapse
i'll get that one a shot get back to you
btw, how do you do that? i have a file explorer app and the .apk file
_terror_ said:
btw, how do you do that? i have a file explorer app and the .apk file
Click to expand...
Click to collapse
You can just copy and paste it to /system/app. Using a file explorer, but you must set the right permissions afterwards, or if you have a pc, you can use adb, just to push the .apk
Sent from my R800i using Tapatalk
AndroHero said:
You can just copy and paste it to /system/app. Using a file explorer, but you must set the right permissions afterwards, or if you have a pc, you can use adb, just to push the .apk
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
when you say "push the .apk" do you basically mean move the downloaded .apk-file to /system/app then install it from there or what?
_terror_ said:
when you say "push the .apk" do you basically mean move the downloaded .apk-file to /system/app then install it from there or what?
Click to expand...
Click to collapse
No push is a command used by adb, so you would use the command "adb push xxxx.apk /system/app" and that would move the apk to that location, you dont need to install apps to /system/ just copy them there
i have this problem on s5830i
thats no has system folder
what do i?

[ROM][24 Feb] IceCreamSandwich Development/Discussion Thread

IceCreamSandwich Development/Discussion Thread
What is this?
Click to expand...
Click to collapse
Hello everyone! This thread is dedicated to Hashcode's and JackpotClavin's work.
This is an Android 4.0.3 ROM not meant for daily use! It is based on CyanogenMod 9.
I will not post any instructions how to flash this to your kindle until it is considered to be ready for daily use. If you know how, feel free to do it.
If you want to join us on IRC:
irc.freenode.net #kindlefire-dev
What works? What doesn't?
Click to expand...
Click to collapse
revxx14 created a Google Spreadsheet to collect known bugs. You can find it right here.
Please take a look at it before reporting any bugs!
A rough list what does not work:
Hardware Video Decoding
Light sensor
There is a SOD bug and no, there is no bluetooth.
Downloads
Click to expand...
Click to collapse
ROM:
2012-02-24 cm9-02-24.zip
ff4e0ea9c27d28b18226e230e2bf2994 by sitic
Changelog:
+init.d support
+fix default.prop
+Test: Apps use now xlarge layout instead of large
More information here
Google Apps:
gapps-ics-20120224-signed.zip
11b5763810edb732379d39b6df9ccbcf
Workarounds / Fixes
Click to expand...
Click to collapse
None needed.
Last words
Click to expand...
Click to collapse
The devs do all of this for free, remember that. Buy them a drink! ♥
it's actually the vold binary found in /system/bin/vold from cm7 ;-) you'll have to change permissions on it once you push it back to /system/bin/ (i just did a 777), then reboot
that's just to have the sdcard properly mount at both /sdcard and /mnt/sdcard. if you wanna do the mass storage you'll have to download the app and do the commands i'm not really a fan of it because unlike other devices, every single filesystem present on our device will mount with the app, so system and data and the sdcard will mount and create like 8 windows on your computer
So the zip file above does the sd card mount with that update or not or is a new update file imminent.
Any hints as to what is or isn't working? At least a vague Idea? Wifi?
Sent from my HTC EVO 3D using xda premium
The zip above was only meant for other devs to see if they could get the sdcard working but now it's working.
Sent from my Galaxy Nexus using XDA App
Wifi works. Video playback (Netflix) and some audio (in Angry Birds) doesn't work. Runs pretty good though.
I'm so excited. Thanks for all your hard work guys.
I've had some random spouts of sound working. sometimes the keyboard will randomly start making those key noises, and it's started working playing angry birds before, but not for long.
---------- Post added at 06:45 PM ---------- Previous post was at 06:44 PM ----------
JackpotClavin said:
The zip above was only meant for other devs to see if they could get the sdcard working but now it's working.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
when could you upload a new zip with sd card fix? I'd try a crack at it myself but don't want to mess up anything.
EDIT: nevermind. Seen the new vold file in the op.
Excuse me for being blind, but how do I get to the Trebuchet settings?
JackpotClavin said:
The zip above was only meant for other devs to see if they could get the sdcard working but now it's working.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Could you make a flashable zip where the sd-card is working please?
http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy
XperiaPlayer said:
http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy
Click to expand...
Click to collapse
Downloading Now as well. Will report back soon
Sent from my Kindle Fire using xda premium
XperiaPlayer said:
http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy
Click to expand...
Click to collapse
I should be able to flash this over the other one just wiping /system without any problems, right?
FroyoShark said:
I should be able to flash this over the other one just wiping /system without any problems, right?
Click to expand...
Click to collapse
I flashed this over the last one with no problem. However the USB Mass Storage Tools don't work. I keep getting an error: "You cannot enable UMS without a USB connection."
When it boots you need to do the following:
Check set as default then select:
Trebuchet
com.cyanogeonmod.trebuchet
If the USB mounter comes up just press the back button at the bottom.
ENjoy
How exactly do you set permissions to 777? God I sound like a noob. Lol
I also get the error as well, going to see what it is now. (usb mounter ums)
---------- Post added at 08:17 PM ---------- Previous post was at 08:16 PM ----------
If you use my zip you dont need to set the permissions. However if you are doing it on the device (the way described in first post):
adb shell (or terminal emulator)
chmod 777 /system/bin/vold
---------- Post added at 08:21 PM ---------- Previous post was at 08:17 PM ----------
The SD card seems to work if you type this into adb shell:
echo "/dev/block/mmcblk0" > /sys/devices/platform/usb_mass_storage/lun0/file
It then pops up on my screen as Removable Device (F, however windows asks me to format it....
gannon5197 said:
How exactly do you set permissions to 777? God I sound like a noob. Lol
Click to expand...
Click to collapse
If you use adb: adb shell chmod 777 /system/bin/vold
If you use Root Explorer, check all nine boxes.
Thanks!!!
Just wanted to reiterate that XDA is the greatest forum ever!! Thanks to all of the guys working on this, you are incredible!!!
A official alpha would be nice it's abit confusing as who is in charge on this rom seems live everyone is having a dabble here and there for a fully working rom.Good work though guys.
XperiaPlayer said:
http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy
Click to expand...
Click to collapse
I will add this to the OP when I get home later!
Sent from my Nexus S using XDA App

[HOWTO] Speed up force closes in T989 ICS ROMs

I noticed that force closes would lock up my phone with ICS ROMs enough to make it completely unusable at times. I noticed that this is so because a system state dump is done every time it hangs by default. I don't know how to disable this internally, but found out how to prevent dumpstate from running when this occurs.
Code:
su
busybox chmod a-x /system/bin/dumpstate
Enjoy!
So we just open a terminal emulator and type in that code?
Sent from my SAMSUNG-SGH-T989 using xda premium
An easier way is to navigate to /system/bin in Root Explorer, select dumpstate, long press, change permissions and remove execute permissions for all (system, user, etc).
Update: It's critical to ensure you have "R/W" permissions on the folder before doing this, if it reads "R/O" at the top, make sure you change it (change it by clicking on the "R/O", it will change to "R/W").
blchff04 said:
So we just open a terminal emulator and type in that code?
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
or you could do it through adb shell.
autom8r said:
An easier way is to navigate to /system/bin in Root Explorer, select dumpstate, long press, change permissions and remove execute permissions for all (system, user, etc).
Click to expand...
Click to collapse
"Easier" is subjective, but yes, that is another way of doing it.
Sent from my SGH-T989 using xda premium
Thanks for this tip. I tried both methods, but no dice. I can't seem to change either directory to read/write.
Any thoughts? Thanks in advance.
Reboot and try again. If it still doesn't work try flashing TDJs cache wipe script.
Sent from the iPhone graveyard.
Which ones should be checked?
Sent from my SGH-T989 using xda premium
Which ones should be checked?
Sent from my SGH-T989 using xda premium
Uncheck all the Execute permissions, that's all you need to do.
markusf21 said:
Reboot and try again. If it still doesn't work try flashing TDJs cache wipe script.
Sent from the iPhone graveyard.
Click to expand...
Click to collapse
Hmmmm... tried both. I get the following error:
Permissions change was not successful.
Please note that some file systems (e.g. SD card) do not allow permission changes
Click to expand...
Click to collapse
Any other thoughts?
niice, works great...i did it through root explorer, i went into lockscreen weather settings which always vibrates, stalls out and fc's..now it instantly fc's no hanging black screen or nothin
---------- Post added at 11:26 PM ---------- Previous post was at 11:19 PM ----------
TheSeanTeam said:
Hmmmm... tried both. I get the following error:
Any other thoughts?
Click to expand...
Click to collapse
yea that happened to me what i did was flashed darkside cache wipe n booted then went into manage apps, root explorer then cleared data/cache for the app (i have a feeling i didnt even need to darkside cache wipe i probably just needed to clear app data but those are the 2 steps i did anyways)
Sorry for the late responses. It seems like others covered the spread, though. You can type those commands into a terminal or with adb using adb shell. I've never done it with Root Explorer (I use ES...it's free and can browse/remount as root), but make sure it has root permissions before continuing. Also make sure that the /system partition has been mounted as read-write; it won't work otherwise.
Can confirm it works with root explorer just make sure you switch to r/w
Sent from my SGH-T989 using xda premium
I posted about this working in Root Explorer, without trying it firsthand, I've tried it now, and it does work. The reason is this, the original post's command simply reads: for all (that's the "a" part) users remove execute (the "-x" part) permissions. You can mimic this functionality in any App with the ability to change file permissions. It's critical to ensure you have "R/W" permissions on the folder before doing this, if it reads "R/O" at the top, make sure you change it.

[GUIDE] ODEX any 4.1.1 JB ROM from official OTA

This will essentially odex all files in your /system/framework and it will do it straight from the Android UI via my personal favorite app ... this is good because it frees up memory, makes UI transitions cleaner, and reduces DVM size.
NOTE: DO NOT TRY TO ODEX YOUR /SYSTEM/APP/ DIRECTORY THEN TRY TO ODEX USING THIS METHOD. YOU WILL HAVE A BAD DAY. 0_o framework must me odexed before system apps
1. download the odex.zip here --> PURPLE
2. extract all files with a file explorer, i prefer root explorer or fx file explorer
3. place the extracted folder and all of it's contents in /data/local/tmp ... so you should have /data/local/tmp/odex/+(misc files in new odex directory)
4. give the new directory and ALL contents FULL permissions - full read, write, and execute perms. You will need to set them all individually. the odex folder, and all contents. your file explorer, if it has taken you this far, should be able to accomplish this. Also, mount your system as writeable as well!
5. download this app TERMINAL EMULATOR dont worry it is free. open the app
Type the following commands - each new line should be executed with the enter key:
su (hit enter, it will ask for root)
/data/local/tmp/odex/odex (hit enter, you will see
you will see a bunch of outputs. there will be a message when it is done (honestly, like 10 seconds if that) saying something like "enjoy your hybrid ROM"
type "reboot recovery" (without the quotes)
device will boot into recovery immediately after you hit enter...
wipe cache and dalvik cache once more each, and reboot your device. PROFIT :good:
*Disclaimer - I don't take donations, just hit the thanks button, and the thanks button for anybody I mention in my thread.
typing su in doesn't request root permission. I am definitely rooted, not sure what's going on.
EDIT: Got it, the su was working but I didn't realize that it might just change from $ to # instead of asking for permission. I also had to grant not just the directory, but all of the files in the odex folder full permission, which might have just been a reading comprehension error on my part. Worked flawlessly after that. On Infamous 2.2
deadpass said:
typing su in doesn't request root permission. I am definitely rooted, not sure what's going on.
EDIT: Got it, the su was working but I didn't realize that it might just change from $ to # instead of asking for permission. I also had to grant not just the directory, but all of the files in the odex folder full permission, which might have just been a reading comprehension error on my part. Worked flawlessly after that. On Infamous 2.2
Click to expand...
Click to collapse
your super user app is probably set by default to allow access. also, i will update the OP to be a little more clear about setting the perms on the directory AND it's contents.
thanks
Forgot to mention that you have to mount your system to writeable.
Sent from my SGH-T999 using xda app-developers app
---------- Post added at 09:32 PM ---------- Previous post was at 09:18 PM ----------
Oh and the old odexme.apk works fine for odexing jb roms.
Sent from my SGH-T999 using xda app-developers app
TarHeelTrigger said:
Forgot to mention that you have to mount your system to writeable.
Sent from my SGH-T999 using xda app-developers app
---------- Post added at 09:32 PM ---------- Previous post was at 09:18 PM ----------
Oh and the old odexme.apk works fine for odexing jb roms.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Ah, yes. I need sleep. Lol
So... shouldn't I see "odex" files in /system/app?
So what's the difference between this and the app that does it automaticly?
Sent from my SGH-T999 using xda app-developers app
I'll wait for the app
Sent from my SGH-T999 using xda premium
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
I don't see the .odex files either...
Sent from my SGH-T999
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
Nabeel10 said:
I don't see the .odex files either...
Sent from my SGH-T999
Click to expand...
Click to collapse
This Odex's the files in your /system/framework
NOT /system/app
WarlockW said:
This Odex's the files in your /system/framework
NOT /system/app
Click to expand...
Click to collapse
Ok, that explains a few things... I'd expected the /system/app folder to also be odexed
Think I restored from Nandroid because I couldn't tell what changed....
Sent from my SGH-T999 using Tapatalk 2
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
No, you shouldn't, because this odexes /system/framework/* not /system/app/*.all
Also, please for the love of hot Asian women people... please read the directions carefully in the OP lol...
If you have used the odex me app... don't use this method... if you odex your system apps, THEN try to odex framework after, you will have issues.
cobraboy85 said:
No, you shouldn't, because this odexes /system/framework/* not /system/app/*.all
Also, please for the love of hot Asian women people... please read the directions carefully in the OP lol...
If you have used the odex me app... don't use this method... if you odex your system apps, THEN try to odex framework after, you will have issues.
Click to expand...
Click to collapse
Understood. Don't odex system apps BEFORE odexing framework, but can we odex system apps AFTER odexing /system/framework? Or better yet, is there any reason to odex system apps after odexing /system/framework?
Thanks in advance for your reply!
__McB__ said:
Understood. Don't odex system apps BEFORE odexing framework, but can we odex system apps AFTER odexing /system/framework? Or better yet, is there any reason to odex system apps after odexing /system/framework?
Thanks in advance for your reply!
Click to expand...
Click to collapse
Yes after you odex your framework you can odex system apps.
The main thing about odexing is your apps load faster and it frees up memory in your /data/ partition because you are removing a good chunk of dalvik cache.
Also does improve performance just a tick, by that I mean general UI responsiveness is improved.
Thanks!
just for the sgh3 or would any work like sgh2?
wondering if this would work for the s2 :fingers-crossed:
DAD12345 said:
wondering if this would work for the s2 :fingers-crossed:
Click to expand...
Click to collapse
No it won't.
Boot class path is different.
But if you change that part in the script it will work.
Will this work on all jb roms. Like 4.2 or is it just for s3 4.1?
sent via note 2 in boss mode @ quad core 1.9ghz
Didn't work for me and the dude was so rude that I asked really made me like unfollow him
Sent from my SGH-T989 using xda app-developers app
It didn't really work, and I gave full permissions as well, should I try again?
Sent from my SGH-T999

Categories

Resources