Related
Hi all,
I'm trying to install adobe flash to the system partition to save space. I've done it by adding the flash apk and libs to the gapps addon (required for CM6 anyway).
I can see in root explorer that in /system/apps I've got com.adobe.flashplayer.apk, and in /system/lib i've got libflashplayer.so and libysshared.so.
Under settings->applications I can see that Adobe Flash Player 10.1 is present.
In browser settings, Enable plugins is set to "on demand".
But when I try a flash site that used to work, it no longer does. What am I missing?
Thanks for any help,
Phil
It seems if you leave the .so files where they were in /data/data/com.adobe.flashplayer/lib, eveything works. So it looks like the app doesn't bother to check /system/lib, but goes straight to its own data folder.
Any way to remedy this? I've saved 4-5 MB on /data by moving the apk to /system, but the .so files are 8MB between them, i'd like to get them on /system as well.
Before flashing a ROM, move the APK file into the /system/app folder in the ZIP file and then re-zip it
EddyOS said:
Before flashing a ROM, move the APK file into the /system/app folder in the ZIP file and then re-zip it
Click to expand...
Click to collapse
Hi Eddy, that's exactly what I did as I said in my first post. It didn't work initially, but I now have it working by restoring the /data/data/com.adobe.flashplayer/lib folder with the two libs in it.
So the apk is in /system/app, but there are still these two big libs on /data taking up about 8MB. I was wondering if there is any way to get the system to pick them up from /system/lib like with all the other libs.
Cheers for any help,
Phil
I just have the APK in /system/app and it's fine - got over 100MB of storage (but I only use 5 apps and have them all moved to /system/app)
really? can you do me a favour and check in /data/data/com.adobe.flashplayer/lib and see what you have in there? Should be one huge (~7mb) .so file and a smaller one.
you definitely have the latest flash 10.1 final? version 10.1.92.8? (check in settings->applications).
I'm thinking of creating symlinks in /data/data/com.adobe.flashplayer/lib to the two files in /system/lib and see if that works.
Yes I do have the latest it's there by default in Paul's MCR r8 ROM (first thing I did once it was out) - he normally has it set to go to /data/app but I move it (and the other 5 apps) to the /system/app folder and it's fine...I'll have to install Root Explorer again to check the folder, though...
EDIT: Checked that folder, there's nothing in there at all...
Oh. Huh. Can you check and see if they're in /system/lib? I wonder how paul's got this set up. Should probably just ask him
What file(s) am I looking for?
libflashplayer.so and libysshared.so. Cheers
libflashplayer.so is, libysshared.so isn't
ok thanks for your help i tried the symlinks and it works for now although i guess its a bit hacky. Don't know why yours picks it up from /system/lib and mine won't. I'll see if I can get one of the elder gods to give up their wisdom
wingphil said:
ok thanks for your help i tried the symlinks and it works for now although i guess its a bit hacky. Don't know why yours picks it up from /system/lib and mine won't. I'll see if I can get one of the elder gods to give up their wisdom
Click to expand...
Click to collapse
any progress on this? I also would like to push those shared objects into the /system/lib/ folder to save on space
You need to have the matching apk and libraries in /system for it to work.
teppic74 said:
You need to have the matching apk and libraries in /system for it to work.
Click to expand...
Click to collapse
Had the libs in /system whith fresh MCR r8 ROM .. once i upgraded via Market to latest version they were also in /data/data.
So is there a way to get them to /system again (so that they will really be taken from there by the apk) ?
I am S-Off so the moving itself is easy ;-)
Marcus
soory if i dug an ol thread but i cant make it work...
copy the apk file to /system/app via root explorer and reboot...
in settings/application/manage application/all/
Adobe flash player is in it but it is only 56kb..
set browser for enable plugin to be 'on-demand' and 'always on' but no go (tried surfing on adobe flash mobile showcase site).....
to think i am thinking to move adobe air using this method too..
what else is needed?
Running Nexus One, CM6.0
Hi everyone!
I see this thread is a a bit old, but I've been trying to do the exact same thing with installing Flash Player in /system. My device also won't find the libs in /system/lib, so I'm thinking about doing the symlink stuff as well, but I'm not quite sure how to do this, since I don't have a lot of linux experience. Could you please help out a little?
Will this work?
Code:
ln -s /data/data/com.adobe.flashplayer /system/lib/com.adobe.flashplayer
Also, just to check: is there anything else I should do besides copying the libs Adobe Flash installs in its /data/data folder to /system/lib and creating the link?
Thanks a lot!
Not needed to make symlinks.
Just create folder /system/lib/plugins/com.adobe.flashplayer and move libs to it.
..
For some reason, the autofocus beep on the Samsung camera really bugs me.
The audio files for this are inside Camera.apk:
/res/raw/autofocus_ok.ogg
/res/raw/autofocus_error.ogg
/res/raw/cameratimer.ogg
I tried 7zip, MetaMorph, and a few other things to replace these with silent ogg files, but Camera.apk would Force Close.
I ended up just decompiling Camera.apk using apktool version 1.4.1, replacing the ogg files with silent ogg files, recompiling, signing, and then replacing the stock Camera.apk/odex files.
The attached Camera.apk worked for me, with no autofocus beep, and no Force Crashes.
REQUIRES ROOT
MAKE SURE YOU BACK UP YOUR EXISTING /system/app/Camera.apk and Camera.odex
IN CASE THIS DOESN'T WORK FOR YOU
Edit: To clear up some of the confusion, I'm going to explain the steps a little more clearly.
First, unzip the attached file as Camera.apk to the root of the sdcard ( /sdcard ).
Using ADB (original files will be backed up to /system/bak) :
Code:
adb remount
adb shell
# mkdir /system/bak
# mv /system/app/Camera.* /system/app/bak/
# cp /sdcard/Camera.apk /system/app/
exit
Or Using Root Explorer (original files will be backed up to /system/bak) :
Code:
Go to /system
- Mount R/W
- Menu - New Folder - Name: bak
Go to /system/app
- Move Camera.apk and Camera.odex to /system/bak
Go to /sdcard
- Copy Camera.apk to /system/app
If you want to change the other camera sounds, they are in:
\system\media\audio\ui
You can just rename, move, or delete (after backing up) them.
The files are:
Cam_Start.ogg
Cam_Stop.ogg
camera_click.ogg
camera_click_short.ogg
Shutter_01.ogg
VideoRecord.ogg
EDIT 2 (12/10/2011): I've added the Camera.apk from EK02 with silent focus sounds. The newer camera version seems to have a few more options in the settings than my first upload.
Awesome, why couldn't you make it an install by .apk save some of us that are waiting to root.
natelw said:
Awesome, why couldn't you make it an install by .apk save some of us that are waiting to root.
Click to expand...
Click to collapse
The only way to make it installable to update the existing Camera.apk is to sign this with the Samsung signature. I don't have that.
can I just flash this through cwm?
imacomputa said:
can I just flash this through cwm?
Click to expand...
Click to collapse
I'm not quite sure how to make it flashable. I just used ADB in the Android SDK:
adb remount
adb pull /system/app/Camera.apk ./Camera.apk.backup
adb push Camera.apk /system/app
will this install along side the original or replace it?
BLOWNCO said:
will this install along side the original or replace it?
Click to expand...
Click to collapse
It replaces the original Camera.apk. That's why you should make a backup of the original first. The only difference is that there is no focus sound. You will still have the shutter sounds in the \system\media\audio\ui directory, but those are easy to change if you need to.
If you really wanted to, I suppose you could recompile it under a different app name, so that you could have both versions.
I just used root explorer instead and replaced the camera app, however its constantly force-closing whenever I go into settings or try to take a video. The focus square in the middle of the camera is all crazy too. It takes photos just fine though. Should I try again using adb instead?
kcbedo said:
For some reason, the autofocus beep on the Samsung camera really bugs me.
The audio files for this are inside Camera.apk:
/res/raw/autofocus_ok.ogg
/res/raw/autofocus_error.ogg
/res/raw/cameratimer.ogg
I tried 7zip, MetaMorph, and a few other things to replace these with silent ogg files, but Camera.apk would Force Close.
I ended up just decompiling Camera.apk using apktool version 1.4.1:
apktool if framework-res.apk
apktool if twframework-res.apk
apktool d Camera.apk
Replacing the ogg files with silent ogg files,
...and then recompiling:
apktool b Camera
Finally, I signed the Camera.apk and pushed it to /system/app.
The attached Camera.apk worked for me, with no autofocus beep, and no Force Crashes.
REQUIRES ROOT
MAKE SURE YOU BACK UP YOUR EXISTING /system/app/Camera.apk
IN CASE THIS DOESN'T WORK FOR YOU
Click to expand...
Click to collapse
Just tried it and it is working good. Any way to remove the shutter sound also?
crawrj said:
Just tried it and it is working good. Any way to remove the shutter sound also?
Click to expand...
Click to collapse
The other camera sounds are in \system\media\audio\ui
You can just rename, move, or delete them.
The files are:
Cam_Start.ogg
Cam_Stop.ogg
camera_click.ogg
camera_click_short.ogg
Shutter_01.ogg
VideoRecord.ogg
imacomputa said:
I just used root explorer instead and replaced the camera app, however its constantly force-closing whenever I go into settings or try to take a video. The focus square in the middle of the camera is all crazy too. It takes photos just fine though. Should I try again using adb instead?
Click to expand...
Click to collapse
I'm not quite sure why it would do that. You could try rebooting and clearing Dalvik cache. You are using it on an SPH-D710 with Samsung firmware, right?
I forgot to check video recording, but I went back and it didn't Force Close on me. I'm able to get to Settings okay also.
kcbedo said:
I'm not quite sure why it would do that. You could try rebooting and clearing Dalvik cache. You are using it on an SPH-D710 with Samsung firmware, right?
I forgot to check video recording, but I went back and it didn't Force Close on me. I'm able to get to Settings okay also.
Click to expand...
Click to collapse
Yep I am. I'll try it again wiping the dalvik cache and report back. thanks.
---------- Post added at 11:43 PM ---------- Previous post was at 11:25 PM ----------
Nope, still not working.
---------- Post added at 11:53 PM ---------- Previous post was at 11:43 PM ----------
Okaaaay... so I made a few mistakes here and there, SOMEHOW it's working now. Went into recovery (did the stock kernel + root trick, so I am on stock) but for some reason the stock recovery immediately scanned my sdcard root for apks and started installing them by itself(where the camera.apk of yours was stored). I forgot I needed Clockworkmod, so I went ahead and reflashed cwm and cleared dalvik cache but it didn't work. So next thing I tried was just installing the camera.apk like a normal apk. It didn't work and actually made my phone reboot. I then reinstalled the stock apk like a normal apk, then went back and cleared the dalvik cache again. Finally, I went back into root explorer again and copied over the camera.apk file (yours) and replaced the old one, AND installed it like a normal app. It now works totally flawless with the exception of the video recording still making shutter noises, but still pictures is completely silent. Thanks for all your help!
I tried installing this but didn't have any luck. First when I would browse to your .apk and download it, I'd tap it and get the warning about replacing an existing app. I would say OK, but kept getting "application not installed". So I manually removed /system/app/Camera.apk and retried. This time it let me, but when I would open the app it would force close - i.imgur.com/INl0Z.jpg . I would up restoring the stock Camera.apk and it's ok now. Any idea what I'm doing wrong?
OK to get this to work with Root Explorer and have everything working perfectly (No weird autofocus crosshairs) I moved BOTH orginal Camera.apk and Camera.ODEX out of the system/apps folder and onto my memory card for backup purposes.
Then extracted the camera.apk from OPs zip file and moved it into System/Apps and DID NOT install. Just placed it in there and then went and ran the program. I am running perfectly fine. No FCs, and it is completely silent.
I did also go into the sounds folder like OP says and changed the name of all the sounds that you will have to do. But other than that I hope that clears up any confusion on how to get this working by using root explorer.
you cannot install it you have to remove the old version and replace it using adb or root explorer
aiverson23 said:
OK to get this to work with Root Explorer and have everything working perfectly (No weird autofocus crosshairs) I moved BOTH orginal Camera.apk and Camera.ODEX out of the system/apps folder and onto my memory card for backup purposes.
Then extracted the camera.apk from OPs zip file and moved it into System/Apps and DID NOT install. Just placed it in there and then went and ran the program. I am running perfectly fine. No FCs, and it is completely silent.
I did also go into the sounds folder like OP says and changed the name of all the sounds that you will have to do. But other than that I hope that clears up any confusion on how to get this working by using root explorer.
Click to expand...
Click to collapse
Confirmed. I had to remove Camera.odex as well and NOT install the .apk, simply replace it. Now I have regular crosshairs and no sounds. Thanks for the tip!
Thanks, I figured out it was the odex file that was screwing me up. Thanks!
Got it working with Root Explorer... I had the issue yesterday with FC and crazy focus bracket things being I didn't remove the Odex file.
Anyone else have problems with the Camera "shortcuts" within the camera app disappearing after the app closes?
WOndering if this is a bug in the Camera app itself. Most settings save but not the shortcuts. The other thing I noticed with the unmodded app was the if you set the camera to black and white, the selection does not survive a reboot. On the original Epic, the selections remained until changed.
Great find. This was driving me crazy. This was the one place I hadn't looked.
I have tested this to work on LP8, should work on other stock ROMs too.
Step 1.
Rename the camera shutter sounds. You can find these files in /system/media/audio/ui. The files are outlined below. You can either do this in a file explorer that supports root, or through adb. In fact the commands below are the exact commands you need to use after you use adb root and remount the /system as read/write.
Code:
adb shell
su
cd /system/media/audio/ui
mv camera_click.ogg camera_click.ogg.bak
mv Shutter_01.ogg Shutter_01.ogg.bak
mv camera_click_short.ogg camera_click_short.ogg.bak
mv Cam_Start.ogg Cam_Start.ogg.bak
mv Cam_Stop.ogg Cam_Stop.ogg.bak
Step 2.
The above will still leave the camera auto-focus sound. To remove that, replace the Camera.apk in /system/app with the attached file.
It is best to take a backup of the Camera.apk before you replace it by copying it somewhere else.
If you have placed the Camera.apk attached here in a folder called NoSound, then the commands below can be run on adb to do this -
Code:
adb pull /system/app/Camera.apk
adb pull /system/app/Camera.odex
adb push NoSound\Camera.apk /system/app/Camera.apk
works perfectly on lpf
What also works: use Automateit Pro or Tasker:
Make a rule that kicks in when:
camera starts -> disable sound
camera stops -> eable sounds
That kills the focus beep, also the crazy beep beep with the self timer.
As simple as that.
Plus remove all unwanted oggs with root explorer.
A couple of questions...
Can I manage the focus beep by downloading Automatelt or do I need Pro ??
also can post 1 be done on a rooted Gingerbread 2.3.6 phone or only ICS ?
markmessier8888 said:
A couple of questions...
Can I manage the focus beep by downloading Automatelt or do I need Pro ??
Click to expand...
Click to collapse
can anyone verfiy that it 100% works?
I have been looking for this, i will try it
Any one tried this on LPS?
it seems to work only on LPF, when i tried on LPG, my camera app was lost.
it shouldn't affect your camera app in any way but I dunno why it happened to you. I removed all the ogg files in the /system/media/audio/ui/ folder except the one for low battery notification since it's the only one I ever need. After that no more focus, shutter or beep sounds.
Working fine on my lpg. the icon itself may have moved location in touchwiz...
The autofocus sound is part of the camera.apk
You can create this yourself with your current camera.apk by copying it to you computer, open in 7zip (or similar) and replacing 2 sound files
To remove sound from the apk, all that is needed is for 2 sound files to be
replaced by empty files (0k in size):
camera.apk\res\raw
autofocus_error.ogg
autofocus_ok.ogg
Click to expand...
Click to collapse
I've attached two blank files you can use
Brendo said:
Working fine on my lpg. the icon itself may have moved location in touchwiz...
The autofocus sound is part of the camera.apk
You can create this yourself with your current camera.apk by copying it to you computer, open in 7zip (or similar) and replacing 2 sound files
I've attached two blank files you can use
Click to expand...
Click to collapse
THANK YOU!!!
i copied the original camera apk to my computer,
use 7zip to open it, its my first time looking inside an apk file, didnt know 7zip can do that.
i replaced the 2 files with yours, and it worked!!!
simply amazing!!!!
i'm so happy, thanks.
Good to hear
I tried playing around with vrtheme to see if I could create flashable zip, but having not created one before, kept getting errors...
-----
Sent from my GT-P7310 CM10 using XDA Premium HD app
So I have exactly the same problem in my SGS II phone (JB ROM): after renaming all the sounds in the mentioned directory, the focus sound is still there (although it is silent when phone is silent mode but I want the camera to be always silent).
I tried replacing those two files in SamsungCamera.apk (the camera app in Jelly Bean). After restarting, I launched the camera app and the focus sound was gone. But there is one significant problem: the camera does not focus at all - picture taken is all blurry!
I really have no idea what this could have to do with the sound files!
So I thought that maybe it does not like the ogg files being just 0 B files (which is no proper format for empty ogg file). I made an empty ogg file in Audacity and exported it, it had like 4 kB. I used it to replace the two files in the apk. After replacing it in my phone, the camera does not even start and tells me that Camera app has stopped. Any idea what might have gone wrong?
Hey guys !
I made a quick NoIncRing MOD, I figured while i was at it i would explain how to create the MOD.
I would like to Thank criskelo for his ZIP :
http://forum.xda-developers.com/showthread.php?t=1700174
I don't own an S3 but i did have the mod checked by an owner (works), i don't know what rom's it will work on so make a backup (as i said in the instructions).
How to Flash :
1. make sure you phone has a CWM recovery
2. backup SecPhone.apk and Secphone.odex (for odex rom's)
3. download the zip and place it in your internal SD
4. flash using, install zip from sd - choose zip from sd card
Download :
http://www.mediafire.com/?l8hox702d2t3m9y - Fixed
*the fix replaces SecPhone.apk with SecPhone_ATT.apk and erases the correct odex file.
I'll be happy to make Mod's for Any ROM you want. Simply attach the SecPhone.apk application from System/app
HOW TO ?
1. extract Secphone.apk from your phone/rom - system/app
2. download baksmali.jar and smali.jar from : http://code.google.com/p/smali/
3. extract classes.dex from SecPhone.apk
4. Put the classes.dex in to a folder alon with smali.jar and backsmali.jar then open a COMMAND window and navigate to the folder.
5. enter the following command :
java -Xmx512m -jar baksmali.jar -a 15 classes.dex
Click to expand...
Click to collapse
6. You will now have an OUT folder, inside find : Ringer$1.smali
7. Look for 2 lines containing :
setstreamvolume
Click to expand...
Click to collapse
8. Erase them (one is at the middle and one at the end)
9. now go back to your folder with classes.dex, OUT folder and smali.jar and erase classes.dex (VERY IMPORTANT !!)
10. In the command window enter :
java -Xmx512m -jar smali.jar out -a 15 -o classes.dex
Click to expand...
Click to collapse
11. Now you will have a new classes.dex , drag it back in to your SecPhone.apk and in to my ZIP.
12. Flash and enjoy
Finally able to get rid of the increasing ringtone. Great mod!
3. extract classes.dex from SecPhone.apk
I don't see "classes.dex" when extracting SecPhone.apk. Something i'm missing?
I also attached my apk in case you can help me shortcut this a bit
Thanks
Or...do I just flash the zip via CWM and the rest of the instructions are just how to create the mod?
schwiing said:
3. extract classes.dex from SecPhone.apk
I don't see "classes.dex" when extracting SecPhone.apk. Something i'm missing?
I also attached my apk in case you can help me shortcut this a bit
Thanks
Or...do I just flash the zip via CWM and the rest of the instructions are just how to create the mod?
Click to expand...
Click to collapse
I just flashed the zip via CWM. The rest of the OP lets you know how the apk was edited.
I cant get it to work, Copied to phone, booted to recovery and installed, ringer still starts low. any ideas?
nitroman30 said:
I cant get it to work, Copied to phone, booted to recovery and installed, ringer still starts low. any ideas?
Click to expand...
Click to collapse
There is a little difference in ATT, I think this should be mentioned in OP. In AT&T ROM, phone application
is in /system/app, but the name is a little different: SecPhone_ATT.apk.
So both files SecPhone_ATT.apk and SecPhone_ATT.odex should be backed up before replacing from the zip file.
After zip file is written from CWM, just go in /system/app, mount it in RW mode, using Root explorer, and do the following:
rename SecPhone_ATT.apk to SecPhone_ATT.save
rename SecPhone_ATT.odex to SecPhone_ATT.odex.save
rename new file (created by the zip you just wrote) SecPhone.apk to SecPhone_ATT.apk
Reboot
I just did - it works, thanks for non-increasing ringtone that was driving me crazy. I want my neighbours in the office to start enjoying my mostly annoying ringtone immediately when somebody calls me
EugeneR said:
There is a little difference in ATT, I think this should be mentioned in OP. In AT&T ROM, phone application
is in /system/app, but the name is a little different: SecPhone_ATT.apk.
So both files SecPhone_ATT.apk and SecPhone_ATT.odex should be backed up before replacing from the zip file.
After zip file is written from CWM, just go in /system/app, mount it in RW mode, using Root explorer, and do the following:
rename SecPhone_ATT.apk to SecPhone_ATT.save
rename SecPhone_ATT.odex to SecPhone_ATT.odex.save
rename new file (created by the zip you just wrote) SecPhone.apk to SecPhone_ATT.apk
Reboot
I just did - it works, thanks for non-increasing ringtone that was driving me crazy. I want my neighbours in the office to start enjoying my mostly annoying ringtone immediately when somebody calls me
Click to expand...
Click to collapse
Thanks got it working, I never found an odex file the first time I did it, after your post I went back to the dir and all i had was Secphone_ATT.apk and Secphone.apk so i renamed the Secphone_ATT.apk to .save and it works.
EugeneR said:
There is a little difference in ATT, I think this should be mentioned in OP. In AT&T ROM, phone application
is in /system/app, but the name is a little different: SecPhone_ATT.apk.
So both files SecPhone_ATT.apk and SecPhone_ATT.odex should be backed up before replacing from the zip file.
After zip file is written from CWM, just go in /system/app, mount it in RW mode, using Root explorer, and do the following:
rename SecPhone_ATT.apk to SecPhone_ATT.save
rename SecPhone_ATT.odex to SecPhone_ATT.odex.save
rename new file (created by the zip you just wrote) SecPhone.apk to SecPhone_ATT.apk
Reboot
I just did - it works, thanks for non-increasing ringtone that was driving me crazy. I want my neighbours in the office to start enjoying my mostly annoying ringtone immediately when somebody calls me
Click to expand...
Click to collapse
Not sure if it's a weird coincidence or what, but I did exactly this ^ and upon reboot, AudioGuru stopped allowing me to change my audio profiles (Normal, Work, Sleep, etc.) As soon as I restored the original SecPhone_ATT.apk and .odex then rebooted, AudioGuru started working again.
You guys are right !
I didn't know its SecPhone_ATT.apk
Ill change the main download !
yoelsd said:
You guys are right !
I didn't know its SecPhone_ATT.apk
Ill change the main download !
Click to expand...
Click to collapse
will this work for Rogers?
Hey yoelsd I'd really appreciate if you modded this apk for me.
http://www.mediafire.com/?2tdwaymqf0yn9td
Greatly appreciated
mod for Bell S3 please. Tried to do it myself and could not.
http://www8.zippyshare.com/v/25511314/file.html
Sweet
Do we just flash and thats it or is there more to it?
I just flashed it after making a nandroid backup in CWM. Worked like a charm :thumbup: :beer:
Sent from my SAMSUNG-SGH-I747 using xda premium
Mod for U.S. Cellular SecPhone.apk
Hey yoelsd,
Thank you for offering this! Can you please mod my SecPhone.apk? This is for the S3 stock rom on U.S. Cellular. Many thanks!!!
since mines is a Bell S3 and OP is MIA i just extracted SecPhone_ATT.apk from OP zip file and renamed to SecPhone.apk then used root explorer deleted SecPhone.odex and overwrite and restarted and its working perfectly.
I have hated the increase ringing since the SGS (i9000), Sammy should make that an option.
Hope this helps all my non AT&T S3 buddies.
edit, nm, got my versions mixed up
yoelsd said:
Hey guys !
I made a quick NoIncRing MOD, I figured while i was at it i would explain how to create the MOD.
I would like to Thank criskelo for his ZIP :
http://forum.xda-developers.com/showthread.php?t=1700174
I don't own an S3 but i did have the mod checked by an owner (works), i don't know what rom's it will work on so make a backup (as i said in the instructions).
Click to expand...
Click to collapse
Any idea if this will work on the new AT&T JellyBean that was just released? Or would we have to rebuild it using the files on our phone? Would your steps still work on JB?
I've been using the following app to disable increasing ringtones and it seems to work ok:
https://play.google.com/store/apps/details?id=com.shumoapp.disableincreasingring
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
SilveradoZ71 said:
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
Click to expand...
Click to collapse
I'm no expert, but have you restored gallery back to /system/app or did you just click on .apk and chose to install it? Because if you installed it, it went to /data/app - maybe that's the reason it does not function as it supposed to?
And second, try to run it as an app - see if it starts in first place, maybe there's something else missing. Perhaps you deleted odex file as well, and because of this it does not start?
Just did a little experiment - restored apk and odex files back to /system/app - and option to change wallpaper appeared again. No reboot needed.
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
akp.ajinkya said:
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
Click to expand...
Click to collapse
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
SilveradoZ71 said:
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
Click to expand...
Click to collapse
You need to remount /system as read-write, just like you did before removing apps (if you removed them manually). Go to your terminal emulator or use ./adb shell get superuser (by typing "su") and type: mount -o rw,remount /system
After that you can move files to*/system. Just don't forget to reboot or remount /system as read-only when done.
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
SilveradoZ71 said:
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
Click to expand...
Click to collapse
I'm using 4.1.2 stock, so here are files from my /system/app:
http://ge.tt/11an8Gz
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Userius said:
I'm using 4.1.2 stock, so here are files from my /system/app:
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Click to expand...
Click to collapse
Any specific way to install it all back? I put everything back in system/app and rebooted. Nothing changed, it's not installed, and Android didn't "Update Apps" on the reboot. I try to install it with package installer like any other app and that fails. I've tried your odex and mine (which was never deleted).
That's great advice!