[Q] how to install adobe flash to system partition? - Desire Q&A, Help & Troubleshooting

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

possibly this is in the wrong forum... can someone move to general? or should I delete and repost in general?

reposted in general if anyone would like to delete this one...

Related

[Q] how to install adobe flash to system partition?

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

[Q] Mod a mod to add custom apks preinstalled?

Hi..
I've had problems with Gmail and Maps applications previously with Neophyte ROMs. In that case one of the solutions was removing the apks for these apps from with the /system/app folder of the ROM zip.
My question is:
Is it possible to add our own apks to the custom ROM so that these apks come preinstalled on the ROM when someone flashes it..in a manner, a kind of 2nd generation mod?
Is it possible to add our own system variables and settings files so that the ROM autoinstalls it on First Install? In particular, I'd like to preset my own APN file for the network.
The simple answer is yes.
The entire system folder in the zip file is written to your /system partition, with the full architecture of folders and so on, so any changes made in there will also be on the system, when it is flashed.
There is also a script file, in the META-INF folder, which you can use to run commands to delete or edit something along with the flash, whenever the zip file is flashed. This is a bit more advanced though.
edit: it is the same for the data folder of course, which folders is flashed and where to is also specified in the script file mentioned above.
Thank you!
In that case, for installation of a program like Gmail.apk or Maps.apk, would be as simple as adding the .apk to the /system/app, or would I have to include other files? Would there be dependancies in other folders?
Well the apps have their own data folder on the data partition, but this is for storing changes in settings and so on, and it should be created by the app itself on first boot just like right after you wipe the data partition/factory reset
Thanks..Got some mod modding to do!
So in case I'd want to manually uninstall/manually install an apk, what would be the steps I'd have to go through?
Would there be filesystem config files (like the older Windows versions), or a central database of entries of the likes of the Registry tables of newer Windows? How does Android go about installing a file? Like which folders and files would be modified other than /system/app and /data/app? Any common files with entries? And in case of the latter, whether it would be machine readable or plain text?

How to add apk files into a rom

hey i want to add some files like htc clock.apk and calculator.apk to N.S.A rom, so how do i go about it. Any help
Thank you.
unzip the ROM, add them to the app folder and rezip it and then flash the ROM (making sure the recovery utility you're using allows non-signed ROMs)
i am using clockworkmod recovery, does it allow flashing unsigned rom??
Thanks
unquestioning
shoemeistah said:
unquestioning
Click to expand...
Click to collapse
Sorry, what does that means.
Yes, you have to remove the signing checking option in it (under advanced or something, have a play about)
hey use Android kitchen to Modify the Rom as want
>you can add and remove apps
>you can create your own custom rom if want..!!
>And you can sign the modified ROM
READ THE INSTRUCTION YOU'LL GET TO KNOW
try it out works great here is the link:
http://forum.xda-developers.com/showthread.php?t=633246
harish.awe said:
hey use Android kitchen to Modify the Rom as want
>you can add and remove apps
>you can create your own custom rom if want..!!
>And you can sign the modified ROM
READ THE INSTRUCTION YOU'LL GET TO KNOW
try it out works great here is the link:
http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
It's a LOT easier to just do it yourself...
?
does this work for the captivate
Don't know, go ask in the captivate forum and not the Desire one
Hi all, i'm a new user and i have some trouble adding .apk's into cooked roms.
In particular, i'm trying to add some .apk into /system/app of InsertCoin Gingerbread 1.0.5
I have unzipped the rom, add those apk's, zipped again but when i flash it from recovery it says "Can't Find Update Script".
Iryon said:
Hi all, i'm a new user and i have some trouble adding .apk's into cooked roms.
In particular, i'm trying to add some .apk into /system/app of InsertCoin Gingerbread 1.0.5
I have unzipped the rom, add those apk's, zipped again but when i flash it from recovery it says "Can't Find Update Script".
Click to expand...
Click to collapse
Don't(!) unzip the rom. Just open the archive using 7zip or winzip (or something like that; right-click zip and choose 'open archive'). Then just move apk to correct folder. If you're taking apk's from another rom, open that using 7zip as well. Then, drag the program from one rom to the other. When you're finished and want to flash the rom, make sure you've disabled 'signature verification' in recovery (it is an option in recovery).
Thank you, i was able to flash my first "modded" version with different boot/down animation, Teeter game (i love it) and Titanium Backup
The only thing i was not able to do was Root Explorer, i tried to put it in system/app and in data/app but when i flash rom it doesn't appear in the drawer.
Any suggestion?
Iryon said:
Thank you, i was able to flash my first "modded" version with different boot/down animation, Teeter game (i love it) and Titanium Backup
The only thing i was not able to do was Root Explorer, i tried to put it in system/app and in data/app but when i flash rom it doesn't appear in the drawer.
Any suggestion?
Click to expand...
Click to collapse
I have been learning how to do this in the last few days and have had similar issues as you. I can get some to install fine and appear in the drawer but not all.
I have only been adding the apk's to system/app and not data/app. Should the apk's be added to one of these, both of them or another folder completely?
Can anyone help the two of us out?
I used apk swapper but all the apps are not working

[Q] CMP (Motorola Music App) in Barebones 1.3

I like the Motorola Music Player, its very simple and clean. I tried to install the apk, rename the .apk to .zip and install via recovery, and to copy the apk (there's a post from fritolay saying to do that) to /system/app, without success. Any ideas how to install this app?
Put the APK on to the Sd card.
Enable unknown sources in setting / applications
Use a file manager to locate the apk and run it.
it will install to the phone an then it should work.
This apk doesn't install via file manager, i have tried this before. I have seen in another post that needs to be copied to /system/app, but i haven't figured what to do next.
SOLVED! Copied the apk to /system/app and set the permission user read/write group and other read.

[Q] Reinstall Video Player

hello everybody
I deleted the stock video player with Titanium Backup...
I'd like to reinstall this Video Player on my rooted stock ROM but I'm somehow not able to.
I pushed SecTabletVideoPlayer.apk and .odex into /system/app, gave proper permissions and changed owner to root.root, wiped dalvick and cache and rebooted.
Titanium tells me there is an "orphaned" file named "com.sec.android.videoplayer" after I reboot my tab. If I delete this file and redo the procedure this orphaned file gets created again.
Do I miss something? are there more files related to this video player? I have a mounted stock system.img and can't find anything else related to a videoplayer...
Or maybe someone could make a backup of the video player with titanium backup, zip the files and load them to mediafire or some other filehost?
I would be very thankful!
Hi,
Write me over pm your Mail and i Sent you a link with the player.
I must have 10 post to post a link.

Categories

Resources