Convert User apps to System apps,(With Lib's)!!!!!!! - Galaxy Y GT-S5360 General

Friends i had been searching a lot but couldn't find a way to make Swiftkey3 a system app, i just pushed it to system/app and changed permissions to rw-r--r- but i was surprised to know that it didn't worked,, Then i tried Titanium backup for moving it to system but still no hope, Then i tried Link2sd and the app actually got installed as a system app but i started getting rapid Force closes(FC's) on the app, then i got to know that these apps requires lib files, thus i took help from my friend Fedy Ksuma & finally we both did it, So just sharing what i did,
Install apk which u want to be a system apk..
After instaling go to root explorer (root) /data/data ( search app which u have installed , on this folder and u can see lib folder .. copy all lib files from app folder /lib to system/lib then change permision's to rw-r--r-
After copy & pasting file from data/data MOVE app from data/app to system/app & change permision's to rw-r--r-
Reboot ur device....
After reboot go to titanium backup search app >wipe data or u can go to Backup/Restore> search app > wipe data..
Done Congo :good:..
Ur app on system now will not have any FC issue if u followed my steps....:fingers-crossed:

Or convert them with link2sd.
GREEETZ WITH MANY TAP A TALKED BEATZ!!!

CALIBAN666 said:
Or convert them with link2sd.
GREEETZ WITH MANY TAP A TALKED BEATZ!!!
Click to expand...
Click to collapse
Nope, it will not work as link2sd never moves the lib folder to system,,,,,

simplest method is use an app called system app installer. its trouble free.
Sent from my GT-S5360 using xda app-developers app

jaison thomas said:
simplest method is use an app called system app installer. its trouble free.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Bro it's another matter system app installer too can't move the lib files, we only can do this manually

what is so important on libs?????i have never trouble without them

Randomly stumbled upon this and have to say thanks...
I've been wondering why some apps will fc when I put them in system. I was starting to get irked. I'll give this a go after I get some sleep.
Sent from my PG86100 using Tapatalk 2

I got my SwiftKey installed as a system app without troubles by
1. Installing normally.
2. Cut paste it from data/apps to system/apps and change permissions to rw-r-r...
I didn't even thought of lib files....

Akash vibhute said:
I got my SwiftKey installed as a system app without troubles by
1. Installing normally.
2. Cut paste it from data/apps to system/apps and change permissions to rw-r-r...
I didn't even thought of lib files....
Click to expand...
Click to collapse
Were u using swiftkeyv2 bcoz v3 is impossible to move to system , even though if it moved we can't stay without FC's on the app,,,
My friend's too tried moving it to system/app but we all never got success in it,,,

dfeldt91 said:
Randomly stumbled upon this and have to say thanks...
I've been wondering why some apps will fc when I put them in system. I was starting to get irked. I'll give this a go after I get some sleep.
Sent from my PG86100 using Tapatalk 2
Click to expand...
Click to collapse
Gud to hear that i helped u out!!:good:

shivamsejal said:
Were u using swiftkeyv2 bcoz v3 is impossible to move to system , even though if it moved we can't stay without FC's on the app,,,
My friend's too tried moving it to system/app but we all never got success in it,,,
Click to expand...
Click to collapse
No I am using SwiftKey 3.
This is screen shot.

Akash vibhute said:
No I am using SwiftKey 3.
This is screen shot.
Click to expand...
Click to collapse
Something really odd going on with u or something really awesome lolz,,,,,,,,, just check http://www.facebook.com/groups/explodeaamir/permalink/294298010675464/ for more info,,,

Thanks buddy!!!:thumbup:

First of all I am an utter noob in Android and Modding stuff so i just need some help in understanding a few stuff:
Why should we convert user apps to system apps? After conversion how do we know if they are really converted? What are libs? Is linking in link2sd similar to what explained here?
Any help is highly appreciated!
Thanks

nikufellow said:
First of all I am an utter noob in Android and Modding stuff so i just need some help in understanding a few stuff:
Why should we convert user apps to system apps? After conversion how do we know if they are really converted? What are libs? Is linking in link2sd similar to what explained here?
Any help is highly appreciated!
Thanks
Click to expand...
Click to collapse
You do it to save the space in your phone memory and prevent accidental deletions. Root is required for that.
You have to move them from data/app to system/app and change permissions to rw-r-r.
You need to reboot after that to get it saved. You cant uninstall it after that through task manager.
Thats it..

Akash vibhute said:
You do it to save the space in your phone memory and prevent accidental deletions. Root is required for that.
You have to move them from data/app to system/app and change permissions to rw-r-r.
You need to reboot after that to get it saved. You cant uninstall it after that through task manager.
Thats it..
Click to expand...
Click to collapse
Thanks!

System apps during ROM building
Hi,
If anyone is interested, I'm using a little script to extract libs from apks in the following workflow to update my ROMs:
(script only tested on linux)
pull apks from phone
run script on apks
copy the dirs generated to /system/lib/ (either on your phone or in your kitchen ROM tree) for all system apps where applicable
if baking ROM in kitchen, copy the lines from generated update-add.txt in the updater-script (if directly on phone, symlink the actual .so files to /system/lib)
The reason for the subdirs and symlinking is maintainability. This way, if you want to update or remove a system apps, you can simply remove the associated lib dir (which has the app name) under /system/lib
apklibupdater.apk:
Code:
#! /usr/bin/perl -w
# apklibupdate2.pl 2011-09-11 by ppenguin
# Evaluates apk files in argument and extracts relevant dynamic libraries.
# These libraries are extracted and should be put under system/lib/<package>/<orig-lib-path>/
# The script outputs a list of commands to be copied in the updater-script of the ROM, which
# symlinks the libraries as needed in /system/lib/.
# This improves ROM maintenance, because it keeps /system/lib/ uncluttered and easy to maintain.
use Cwd;
use IPC::System::Simple qw(capture EXIT_ANY);
use File::Path qw(remove_tree);
use File::Basename;
my(@APKs) = @ARGV;
my($aapt) = "aapt d badging";
my($pn, $vn, $lb, @ai, $fn, $fs);
my (@res, $ret, @lfs);
my $cs = ",";
open (UPDADD, '>>update-add.txt');
foreach (@APKs) {
# print "about to exec " . $aapt . " " . $_ . "\n";
@ai = qx($aapt $_);
$fn = $_;
# $fs = -s $fn;
# $fs = fs2hr($fs);
foreach (@ai) {
if ($_ =~ /.*package: name=\'(.*?)\'.*versionName=\'(.*?)\'.*$/) {
$pn = $1;
$vn = $2;
}
if ($_ =~ /.*application: label=\'(.*?)\'.*/) {
$lb = $1;
}
}
mkdir $pn;
my $pwd = getcwd;
chdir $pn;
@res = qx(unzip $pwd/$fn lib/armeabi/*);
# print "Unzip returned: @res\n";
chdir $pwd;
@lfs = qx(ls $pn/lib/armeabi/*);
# print "pwd=".getcwd." ls $pn/lib/armeabi*\n";
# print "LSLSLSLS:". @lfs . "\n";
if (@lfs > 0) {
foreach (@lfs) {
my $lffname = $_;
my $lfname = basename($lffname);
chomp $lfname;
chomp $lffname;
if (length $lfname > 0) {
print UPDADD "symlink(\"/system/lib/$lffname\", \"/system/lib/$lfname\");\n";
}
}
} else {
print "No library in apk!\n";
remove_tree($pn);
}
}
close UPDADD;
# this function from
# http://www.use-strict.de/articles/Perl__Filesize_in_a_human_readable_format.html
sub fs2hr {
my ($size) = @_;
if ($size > 1099511627776) {
return sprintf("%.2fT", $size / 1099511627776); # TiB: 1024 GiB
} elsif ($size > 1073741824) {
return sprintf("%.2fG", $size / 1073741824); # GiB: 1024 MiB
} elsif ($size > 1048576) {
return sprintf("%.2fM", $size / 1048576); # MiB: 1024 KiB
} elsif ($size > 1024) {
return sprintf("%.2fK", $size / 1024); # KiB: 1024 B
} else {
return sprintf("%.2fB", $size); # bytes
}
}
The script should be run like this:
Code:
$ cd mytemplibdir
$ apklibupdater.pl <kitchen_working_dir>/system/app/*.apk
If you are not baking a ROM but changing the phone directly, you can push the relevant apks to /system/app and all generated libdirs to /system/lib and do the symlinks. It is nearly trivial to modify the perl script such that update-add.txt will contain shell commands to automatically make the symlinks, which you could then run in an adb shell on the phone.

shivamsejal said:
Friends i had been searching a lot but couldn't find a way to make Swiftkey3 a system app, i just pushed it to system/app and changed permissions to rw-r--r- but i was surprised to know that it didn't worked,, Then i tried Titanium backup for moving it to system but still no hope, Then i tried Link2sd and the app actually got installed as a system app but i started getting rapid Force closes(FC's) on the app, then i got to know that these apps requires lib files, thus i took help from my friend Fedy Ksuma & finally we both did it, So just sharing what i did,
Install apk which u want to be a system apk..
After instaling go to root explorer (root) /data/data ( search app which u have installed , on this folder and u can see lib folder .. copy all lib files from app folder /lib to system/lib then change permision's to rw-r--r-
After copy & pasting file from data/data MOVE app from data/app to system/app & change permision's to rw-r--r-
Reboot ur device....
After reboot go to titanium backup search app >wipe data or u can go to Backup/Restore> search app > wipe data..
Done Congo :good:..
Ur app on system now will not have any FC issue if u followed my steps....:fingers-crossed:
Click to expand...
Click to collapse
or you could use Link2SD

can you provide a zip with a script to put lib files to system lib and system/app? would be nice if you can provide a .zip then we can just place an apk and lib files in it

hdulani said:
or you could use Link2SD
Click to expand...
Click to collapse
Link2sd will work but u will surely get FC's.........:silly:

Related

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.

{dev}[help] how to include extra apps in a rom

How can I include extra apps in a ROM im making to be installed as a part of the ROM. Such as root browser, facebook, ROM manager etc
http://www.techknow.t0xic.nl/forum/index.php?topic=1291.0
http://forum.androidspin.com/showthread.php/2260-how-to-add-apps-to-ROM/page2
http://www.modaco.com/topic/341060-adding-apps-to-a-rom-prior-to-flashing/
http://www.miui-au.com/howtos/add-remove-apps-rom/
Qwerty123 \m/ said:
http://www.techknow.t0xic.nl/forum/index.php?topic=1291.0
http://forum.androidspin.com/showthread.php/2260-how-to-add-apps-to-ROM/page2
http://www.modaco.com/topic/341060-adding-apps-to-a-rom-prior-to-flashing/
http://www.miui-au.com/howtos/add-remove-apps-rom/
Click to expand...
Click to collapse
Well can I get something more step by step.
Just copying the apk as in thr last link didn't work for me. I think some apps have to be installed
mansy_gupta said:
Well can I get something more step by step.
Just copying the apk as in thr last link didn't work for me. I think some apps have to be installed
Click to expand...
Click to collapse
Some apps unpack their libs/assets to /data/data/[app-name] during installation or first run so
a) check installed app data which files are used
b) if there are libraries- try moving them to /system/lib and see if app will find it (some use hardcoded paths unfortunately)
c) make a script that during the first boot will copy required files from /system/[custom location] to /data/data/[app name] (better way) or init.d script that will symlink required files from /system/[custom location] to /data/data/[app name]
gen_scheisskopf said:
Some apps unpack their libs/assets to /data/data/[app-name] during installation or first run so
a) check installed app data which files are used
b) if there are libraries- try moving them to /system/lib and see if app will find it (some use hardcoded paths unfortunately)
c) make a script that during the first boot will copy required files from /system/[custom location] to /data/data/[app name] (better way) or init.d script that will symlink required files from /system/[custom location] to /data/data/[app name]
Click to expand...
Click to collapse
How do I do the thing you mentioned in the end
mansy_gupta said:
How do I do the thing you mentioned in the end
Click to expand...
Click to collapse
Here
Check last lines of this script. Script was copied to /data as userinit.sh (IIRC) during firmware installation.
just copy paste the apk in sysyem/app folder..and u r good to go...
Sent from my LT15i using xda premium
manojcitc said:
just copy paste the apk in sysyem/app folder..and u r good to go...
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
For some apps this doesn't work
Tapatalked from Xperia Arc S
just extract the zip rom, after that copy into app folder and readd into zip

[GUIDE] Merging updated system apps with old one, GET MORE FREE MEMORY!!

(Preface for noobs : /system and /data are two different partitions. Freeying up /system won't get you more intrenal memory, but /data does. Old apks rest in /system and updated versions placed in /data. You can replace the old apks using newer versions)
I heared Titanium Backup PRO does something like, but you can do this with any File Explorer with ROOT access. Its works 100% for Android Gingerbread 2.3.x , try on other versions.
### Do it on your own risk, I am not responsible for anything ###
1. Update the desired app to the latest version from Google Play Store
2. Open File Manager, Enable ROOT_ACCESS, remount /System as writable
3. Goto /system/app and backup the desired apk to sdcard
4. Goto /data/app and copy updated apk
5. Paste into /System/app
6. Note down the filename of old apk and delete the old apk
7. Rename the new apk into the old filename
8. You may encounter a FORCE CLOSE if the app was running in background
9. The updated apk in /data/app will be removed automatically
10.Restart your device, Done!
I replaced Playstore, Maps, Google Search ect..
Example: For PlayStore, updated apk will be com.android.vending-1.apk, and old apk is vending.apk
Hit thanks it it works, Thanks
Update title with "not noobproof", this is complicated and dangerous for people who don't know what they're doing.
Bazinga
Or download systemcleanup from market and have it done automatically
Sent from my HTC Wildfire S A510e using xda app-developers app
if you use Link2SD there is option 'integrate update into system' at every updated app
baluuu said:
Or download systemcleanup from market and have it done automatically
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
441Excelsior said:
if you use Link2SD there is option 'integrate update into system' at every updated app
Click to expand...
Click to collapse
Totally agree. those apps are very very simple and clean.
Sent from MARVEL JellyScream
After reading this:
Or download systemcleanup from market and have it done automatically
Click to expand...
Click to collapse
i have downloading the app and i must say it works perfectly :good:
RiesVLD said:
After reading this:
i have downloading the app and i must say it works perfectly :good:
Click to expand...
Click to collapse
Yeah, you can create full backup also (app+app data)
Very useful and free app
Sent from MARVEL JellyScream
you can also move apps to system partition to save space on data partition
just select 'convert into system app' in link2sd and then reboot

Background working :)

Things can be just so easy.
after trying a while with framework-res.apk i got rid of the usual black background in launcher by just setting
<bool name="config_enableWallpaperService">false</bool> to true in res\values\bools.xml
compiled it back and updated it via cwmrecovery zip installation
Also livewallpaper are working.
UPDATE: Thanx to @superkoal
Xposed Module
but u still need the files from next link to get them working:
Files in Post 3 klick
"Here are the files ex framework-res
http://ul.to/oqs87yb6 "
just installed live wallpaper picker and a few from original 4.2.2 rom.
now i only want to find a settings.apk, that is working completely.
one is only apps column working, and other apk. only the others, don't know how.
If you want to buy me a beer
paypal [email protected] (EUR)
schybiorz said:
Things can be just so easy.
after trying a while with framework-res.apk i got rid of the usual black background in launcher by just setting
<bool name="config_enableWallpaperService">false</bool> to true in res\values\bools.xml
compiled it back and updated it via cwmrecovery zip installation
Also livewallpaper ae working...
just installed live wallpaper picker and a few from original 4.2.2 rom.
now i only want to find a settings.apk, that is working completely.
one is only apps column working, and other apk. only the others, don't know how.
Click to expand...
Click to collapse
Sweet! Can you post your compiled file in a CWM installable zip?
xm41907 said:
Sweet! Can you post your compiled file in a CWM installable zip?
Click to expand...
Click to collapse
http://uploaded.net/file/8awolkyk
just install via cwm. for sure do a backup before.
i'm not responsible if something went wrong, with this installation.
ALSO Do A BACKUP of your original Framework-res.apk!!!
Also don't forget to install Gallery.apk or livewallpaperpicker, else it is not possible to select any wallpaper.
so after a factory reset i wanted to try it again.
sems that i might have installed some other parts from another rom, like systemui.apk-
Here are the files ex framework-res
http://ul.to/oqs87yb6
after this, u might see the green background. Just start your favourite launcher and set any wallpaper u like.
Have fun
schybiorz said:
http://uploaded.net/file/8awolkyk
just install via cwm. for sure do a backup before.
i'm not responsible if something went wrong, with this installation.
ALSO Do A BACKUP of your original Framework-res.apk!!!
Also don't forget to install Gallery.apk or livewallpaperpicker, else it is not possible to select any wallpaper.
so after a factory reset i wanted to try it again.
sems that i might have installed some other parts from another rom, like systemui.apk-
Here are the files ex framework-res
http://ul.to/oqs87yb6
after this, u might see the green background. Just start your favourite launcher and set any wallpaper u like.
Have fun
Click to expand...
Click to collapse
What is the difference between the two downloads? I downloaded the first one, but have to wait an hour before I can download the second one. Should I install the second one and not the first?
I'm having trouble installing this with CWM. I have my system and data mounted to an external drive and CWM doesn't access it. It keeps saying folder not found, then it reverts to what I assume is the original internal data folder on the FTV itself. I'm not sure how to access this internal folder now using a file explorer. Any thoughts that don't involve messing with unmounting my external drive?
**Edit** I manual replaced the framework-res.apk using root explorer, then realized I needed to install your second files as well and now it works prefectly! No more black background for me. I've got a spinning galaxy and stars!
Thanks for the work on this!
That are good news,
thanks for reply....
now i also got rid, of some amazon apps. now have around 127mb /system free storage.
removed ftvlauncher, whisperplay,gamecircle,demomode and a few other things with titanium backup.
also stock launcher switcher worked now when press homebutton. Can someone pm me a few aosp 4.2.2 stock files from settings app and from tablet? i get crashes in settings.apk maybe i have to install a few more stock apks, that don't come with aftv in stock.
btw. Tabletui is working with adb shell am display-density 240
settings.apk is in splitscreen (crashes in different accesses). played around with some themed xposed modules and lolipop theme.
will try the next weeks, till i got my setup finished ^-^
schybiorz said:
That are good news,
thanks for reply....
now i also got rid, of some amazon apps. now have around 127mb /system free storage.
removed ftvlauncher, whisperplay,gamecircle,demomode and a few other things with titanium backup.
also stock launcher switcher worked now when press homebutton. Can someone pm me a few aosp 4.2.2 stock files from settings app and from tablet? i get crashes in settings.apk maybe i have to install a few more stock apks, that don't come with aftv in stock.
btw. Tabletui is working with adb shell am display-density 240
settings.apk is in splitscreen (crashes in different accesses). played around with some themed xposed modules and lolipop theme.
will try the next weeks, till i got my setup finished ^-^
Click to expand...
Click to collapse
That is cool that you're testing the limits. Tonight I plan to make a video about my setup. I've used a lot of the various mods/tweaks available for the ATV and have a kick ass setup.
Manually?
xm41907 said:
I'm having trouble installing this with CWM. I have my system and data mounted to an external drive and CWM doesn't access it. It keeps saying folder not found, then it reverts to what I assume is the original internal data folder on the FTV itself. I'm not sure how to access this internal folder now using a file explorer. Any thoughts that don't involve messing with unmounting my external drive?
**Edit** I manual replaced the framework-res.apk using root explorer, then realized I needed to install your second files as well and now it works prefectly! No more black background for me. I've got a spinning galaxy and stars!
Thanks for the work on this!
Click to expand...
Click to collapse
so just push the framework-res.apk to sdcard and replace it w/ the one in the system folder? because I did the install via cwm to no avail and I installed the 3 apks in the background.zip manually
be sure mount /system in cwm manual. should work, or replace it manually via fileexplorer and to be sure
chmod 644 /system/framework/framework-res.apk
and don't forget to have a backup via cwm to be safe...
schybiorz said:
That are good news,
thanks for reply....
now i also got rid, of some amazon apps. now have around 127mb /system free storage.
removed ftvlauncher, whisperplay,gamecircle,demomode and a few other things with titanium backup.
also stock launcher switcher worked now when press homebutton. Can someone pm me a few aosp 4.2.2 stock files from settings app and from tablet? i get crashes in settings.apk maybe i have to install a few more stock apks, that don't come with aftv in stock.
btw. Tabletui is working with adb shell am display-density 240
settings.apk is in splitscreen (crashes in different accesses). played around with some themed xposed modules and lolipop theme.
will try the next weeks, till i got my setup finished ^-^
Click to expand...
Click to collapse
I am curious what Amazon apps you've removed and what other mods you've done. Can you update what you've been up to with the FTV?
I only made a backup of all amazon apps, i might to remove, with titanium backup before i uninstalled them.
f.eg. amazon app store, circle, movie, mp3, photo (installed gallery2.apk from a 10.1 cm stock rom) installed clock.apk from rom to exchange amazon screensaver and replaced it with a clock. but i messed to much around, so i had to go back to my backup i generated with cw recovery
also deodexed apps and framework files to get a little more space on sys. also deleted files under vendor/amazon (here are the overlay-files stored.
sadly i'm out of time for this week to extend my tsteing in getting a full settings.apk working wich i had before i messed up while replacing all system apks from a cm 4.2.2 rom
schybiorz said:
Things can be just so easy.
after trying a while with framework-res.apk i got rid of the usual black background in launcher by just setting
<bool name="config_enableWallpaperService">false</bool> to true in res\values\bools.xml
compiled it back and updated it via cwmrecovery zip installation
Also livewallpaper ae working...
just installed live wallpaper picker and a few from original 4.2.2 rom.
now i only want to find a settings.apk, that is working completely.
one is only apps column working, and other apk. only the others, don't know how.
Click to expand...
Click to collapse
That screenshot looks awesome! I want to try it when I have time. But I also noticed you have ROM manager installed. I never even thought about using it, probably because I have twrp on my other devices. How's it working for you? Are you able to use the stock remote?
That's a much better option than plugging in a USB keyboard every time you want to do something in recovery.
Took me a while to get it straight, but below are my simple instructions for us that aren't fluent in all things Android...
Download schybiorz's files from this thread.
http://uploaded.net/file/8awolkyk
http://ul.to/oqs87yb6
Extract "framework-res.apk" from the zip file in the first download above. Copy the "framework-res.apk" file to your FireTV. I used AGKFire.
Extract and install the apk's from the second download above. You can just click on them from ES File Explorer if you've pushed them, or use AGKFire or whichever method you use to sideload apps.
I also installed the "Gallery.apk" file, downloaded from the following thread:
http://forum.xda-developers.com/showthread.php?t=1953999
Backup your FireTV "framework-res.apk" file. I used Root Explorer from the Play Store. Navigate to the /system/framework/ directory and copy "framework-res.apk" to your sdcard somewhere to save as a backup.
Connect to your FireTV using adb from your computer and type the following commands:
adb kill-server
adb start-server
adb connect [FireTV IP Address]
adb shell
su
mount -o rw,remount /system
cp /sdcard/AGKFire/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
exit
exit
Then, just reboot your FireTV. Take note, in the cp (copy) command above, the copy-from location (where I have AGKFire) needs to be where you have the apk file on your FireTV. So if you have it in the root of the sdcard, the command will be as follows:
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
I tried to flash schybiorz's zip file using cwm, but for some reason, it didn't replace the "framework-res.apk" file, which is why I did it manually as indicated above. I also didn't do a cwm backup, so proceed at your own risk.
I use Nova Launcher, so I have to use a mouse to pick wallpapers from LiveWallpaperPicker or the Gallery, but live and static wallpapers work wonderfully now though!
tdfsu said:
Took me a while to get it straight, but below are my simple instructions for us that aren't fluent in all things Android...
Download schybiorz's files from this thread.
http://uploaded.net/file/8awolkyk
http://ul.to/oqs87yb6
Extract "framework-res.apk" from the zip file in the first download above. Copy the "framework-res.apk" file to your FireTV. I used AGKFire.
Extract and install the apk's from the second download above. You can just click on them from ES File Explorer if you've pushed them, or use AGKFire or whichever method you use to sideload apps.
I also installed the "Gallery.apk" file, downloaded from the following thread:
http://forum.xda-developers.com/showthread.php?t=1953999
Backup your FireTV "framework-res.apk" file. I used Root Explorer from the Play Store. Navigate to the /system/framework/ directory and copy "framework-res.apk" to your sdcard somewhere to save as a backup.
Connect to your FireTV using adb from your computer and type the following commands:
adb kill-server
adb start-server
adb connect [FireTV IP Address]
adb shell
su
mount -o rw,remount /system
cp /sdcard/AGKFire/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
exit
exit
Then, just reboot your FireTV. Take note, in the cp (copy) command above, the copy-from location (where I have AGKFire) needs to be where you have the apk file on your FireTV. So if you have it in the root of the sdcard, the command will be as follows:
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
I tried to flash schybiorz's zip file using cwm, but for some reason, it didn't replace the "framework-res.apk" file, which is why I did it manually as indicated above. I also didn't do a cwm backup, so proceed at your own risk.
I use Nova Launcher, so I have to use a mouse to pick wallpapers from LiveWallpaperPicker or the Gallery, but live and static wallpapers work wonderfully now though!
Click to expand...
Click to collapse
Needed this!!! Thanks for the detailed instructions, because I tried before using a mouse I copied the original framework-res.apk and put it in another folder, then pushed the downloaded framework-res.apk to sdcard...but got an error when copying the downloaded one. so now I guess I can just go ahead and run the command cp /sdcard/framework-res.apk /system/framework/framework-res.apk and it will copy it?
nickyb003 said:
Needed this!!! Thanks for the detailed instructions, because I tried before using a mouse I copied the original framework-res.apk and put it in another folder, then pushed the downloaded framework-res.apk to sdcard...but got an error when copying the downloaded one. so now I guess I can just go ahead and run the command cp /sdcard/framework-res.apk /system/framework/framework-res.apk and it will copy it?
Click to expand...
Click to collapse
You will have to enter the commands as I listed them...well, as far as I know. I did quite a bit of Googling. You must make the system directory writeable, which is the reason for the "mount -o rw,remount /system" command. Then, the chmod command sets the permissions once you have copie the modified framework over.
But I did just notice that someone made a xposed wallpaper enabler module in the 'FireTV Themes and Apps' forum. Which may be the better way to go...easier anyway.
tdfsu said:
But I did just notice that someone made a xposed wallpaper enabler module in the 'FireTV Themes and Apps' forum. Which may be the better way to go...easier anyway.
Click to expand...
Click to collapse
Yup i'm gonna download the apk when I get home and see if it changes anything
schybiorz said:
http://uploaded.net/file/8awolkyk
just install via cwm. for sure do a backup before.
i'm not responsible if something went wrong, with this installation.
ALSO Do A BACKUP of your original Framework-res.apk!!!
Also don't forget to install Gallery.apk or livewallpaperpicker, else it is not possible to select any wallpaper.
so after a factory reset i wanted to try it again.
sems that i might have installed some other parts from another rom, like systemui.apk-
Here are the files ex framework-res
http://ul.to/oqs87yb6
after this, u might see the green background. Just start your favourite launcher and set any wallpaper u like
Have fun
Click to expand...
Click to collapse
Can we please upload them to a free web hosting? Uploaded.net while claiming it's free isn't. When ever you try to download a file via the "free" link, you get this:
The free download is currently not available - Please try again later! Premium account users are not affected by this temporary limitation.
Thing is, over the last 6 months to a year, that is the message you always get, doesn't matter the time of day.
So please do us cheap peeps a favor and put them on a free site.
thanks
nyder said:
Can we please upload them to a free web hosting? Uploaded.net while claiming it's free isn't. When ever you try to download a file via the "free" link, you get this:
The free download is currently not available - Please try again later! Premium account users are not affected by this temporary limitation.
Thing is, over the last 6 months to a year, that is the message you always get, doesn't matter the time of day.
So please do us cheap peeps a favor and put them on a free site.
thanks
Click to expand...
Click to collapse
You can also use any 4.2.2 wallpaper and live picker apk you want. no need for mine. but feel free to upload them on another hoster.
Important is the fact, that the wallpaper service is enabled in framework-res, wich is now easy done via xposed-module ^-^
schybiorz said:
You can also use any 4.2.2 wallpaper and live picker apk you want. no need for mine. but feel free to upload them on another hoster.
Important is the fact, that the wallpaper service is enabled in framework-res, wich is now easy done via xposed-module ^-^
Click to expand...
Click to collapse
Ya, but I can't download the framework-res file either, and while googling brings up may places that have the file, I do not know if they have the changes you did for the AFTV.
So if someone could be nice and upload the files to another file hosting site, i'd be thankful.
nyder said:
Ya, but I can't download the framework-res file either, and while googling brings up may places that have the file, I do not know if they have the changes you did for the AFTV.
So if someone could be nice and upload the files to another file hosting site, i'd be thankful.
Click to expand...
Click to collapse
Attached are the background apk's without framework-res. cause you can download the posted xposed-module from link in first post

[XPOSED] [AFTV1] WallpaperEnabler - working Widgets & Wallpapers

Hi!
This is an xposed module that enables the wallpaper service on the amazon firetv1 (not compatible with AFTV2 atm).
It is based on the findings of @schybiorz, so many thanks to him!
You will also need to sideload following apk files from his thread's download:
com.android.systemui
com.android.wallpaper.apk
com.android.wallpaper.livepicker.apk (optional if you want some live wallpapers)
Link to the thread
I tested it with NovaLauncher and both images and live wallpapers work fine.
Also widgets work fine now!
(updated with systemui package also being mandatory)
Atm this is NOT compatible with FTV2 devices, as it would require different apk files.
I will update this if someone mods them accordingly.
Have fun!
Nice will try tomorrow. Anyway to use it on firedtv? I don't use nova on fire tv anymore.
Sent from my SM-N910V using Tapatalk
Wonderful. I've been using live wallpaper on mine since he posted how to do it. It works great!
I updated the OP as i forgot the systemui package has to be included. Thanks to schybiorz for the hint!
superkoal said:
I updated the OP as i forgot the systemui package has to be included. Thanks to schybiorz for the hint!
Click to expand...
Click to collapse
You should post a link to the background apks I was confused which link it was took me like 5 min to figure out lol.
You should still provide his link so if he gets any $$ from downloads he won't lose nothing.
It also does not work on my FireTV followed the instrcutions,sideloaded all 3 apks, tried 2 different launchers. I can select live wallpaper but it just won't load (regular wallpaper works fine) so something is wrong. Any idea what it is?
@patt2k
no problem, cause his xposed-module is only the tool, to edit framework-res on the fly (no need to install via cwm anymore ^-^
u still need the other files mentioned in my post.
Happy backgrounding to @LL ^-^
schybiorz said:
@üatt2k
no problem, cause his xposed-module is only the tool, to edit framework-res on the fly (no need to install via cwm anymore ^-^
u still need the other files mentioned in my post.
Happy backgrounding to @LL ^-^
Click to expand...
Click to collapse
I can't get live wallpapers to work at all without CWM. When I select it it does nothing but I was able to change regular wallpaper which is still great
any ideas on how to fix it?
@schybiorz @superkoal I can make a video if you guys want to see what I mean.
have u install live wallpaper picker and any live wallpapers (from a stock 4.2.2 rom)?
otherwise it won't work,cause android doasn't know that u have them on your system.
patt2k said:
I can't get live wallpapers to work at all without CWM. When I select it it does nothing but I was able to change regular wallpaper which is still great
any ideas on how to fix it?
@schybiorz @superkoal I can make a video if you guys want to see what I mean.
Click to expand...
Click to collapse
schybiorz said:
have u install live wallpaper picker and any live wallpapers (from a stock 4.2.2 rom)?
otherwise it won't work,cause android doasn't know that u have them on your system.
Click to expand...
Click to collapse
Yea i did from your uploaded link. So I can't use any live wallpaper I want ? Even the nexus wallpaper does not work.
It's weird I did install.. I even did twice to make sure it's installed. What else can I try ?
Sent from my SM-N910V using Tapatalk
patt2k said:
Yea i did from your uploaded link. So I can't use any live wallpaper I want ? Even the nexus wallpaper does not work.
It's weird I did install.. I even did twice to make sure it's installed. What else can I try ?
Sent from my SM-N910V using Tapatalk
Click to expand...
Click to collapse
You can try to make the wallpaper.apk a system app (move it from /data/app to /system/app and reboot).
Might be necessary, haven't tried without it.
superkoal said:
You can try to make the wallpaper.apk a system app (move it from /data/app to /system/app and reboot).
Might be necessary, haven't tried without it.
Click to expand...
Click to collapse
Link2sd can do it so I will use it for that. You mean any live wallpaper I want to use make it system app right?
patt2k said:
Link2sd can do it so I will use it for that. You mean any live wallpaper I want to use make it system app right?
Click to expand...
Click to collapse
No, i meant the com.android.wallpaper.apk, i pushed this one to system.
To be safe you could also move the com.android.systemui.apk to /system/app
The live wallpapers don't need to be system apps.
Let me know if this works, then I will update OP when I'm back home.
superkoal said:
No, i meant the com.android.wallpaper.apk, i pushed this one to system.
To be safe you could also move the com.android.systemui.apk to /system/app
The live wallpapers don't need to be system apps.
Let me know if this works, then I will update OP when I'm back home.
Click to expand...
Click to collapse
I will try that soon after liverpool vs besiktas game in like 30 minutes. Thanks!
patt2k said:
I will try that soon after liverpool vs besiktas game in like 30 minutes. Thanks!
Click to expand...
Click to collapse
Another possibility would be wrong file permissions, you can check it with es file explorer (or any other root explorer) or adb shell:
Code:
adb shell
su
ls -l /data/app/com.android.wallpaper.apk
the filename could also be com.android.wallpaper-1.apk (or sometimes ...-2.apk), you can check via
Code:
ls /data/app
Compare it to the other files in the folder, I think he permissions should be rw-rw-r.
superkoal said:
Another possibility would be wrong file permissions, you can check it with es file explorer (or any other root explorer) or adb shell:
Code:
adb shell
su
ls -l /data/app/com.android.wallpaper.apk
the filename could also be com.android.wallpaper-1.apk (or sometimes ...-2.apk), you can check via
Code:
ls /data/app
Compare it to the other files in the folder, I think he permissions should be rw-rw-r.
Click to expand...
Click to collapse
Interesting I get this error.. I did install all 3 APKS so I am not sure what is going on here...
/data/app/com.android.wallpaper.apk: No such file or directory
It's like it is not installing itself.. because it's not there but ADBfire shows installed wow that is weird,but afer adding -1 to the name of apk I get this:
-rw-r--r-- system system 1179961 2015-02-26 15:57 com.android.wallpaper-1.apk
com.HBO-1.apk
com.andcreate.app.trafficmonitor-1.apk
com.android.settings-1.apk
com.android.systemui-1.apk
com.android.wallpaper.livepicker-1.apk
com.buak.Link2SD-1.apk
com.buak.link2sdplus-1.apk
com.estrongs.android.pop-1.apk
com.geohot.towelroot-1.apk
com.google.android.gallery3d-1.apk
com.hulu.plus-1.apk
com.jb.wallpaperenabler-1.apk
com.jrummy.busybox.installer-1.apk
com.lemonsqueeze.fakewificonnection-1.apk
com.plexapp.android-2.apk
com.showtime.showtimeanytime-1.apk
com.sling-2.apk
com.telltalegames.fables100-1.apk
com.teslacoilsw.launcher-1.apk
com.teslacoilsw.launcher.prime-1.apk
com.zaren.HomeRunTV-1.apk
de.itoobi.mhds-1.apk
de.robv.android.xposed.installer-1.apk
de.schaeuffelhut.android.openvpn-1.apk
de.schaeuffelhut.android.openvpn.installer-1.apk
eu.chainfire.supersu-1.apk
nl.jsource.retroclock.android-2.apk
org.adaway-1.apk
org.chromium.content_shell_apk-1.apk
org.videolan.vlc.betav7neon-1.apk
org.xbmc.kodi-2.apk
rbox.xposed.firetvmods-1.apk
stealthychief.icon.pack.retro-1.apk
patt2k said:
Interesting I get this error.. I did install all 3 APKS so I am not sure what is going on here...
/data/app/com.android.wallpaper.apk: No such file or directory
Click to expand...
Click to collapse
So the first error you get was my mistake, there is always -1 or -2 at the end of the filename.
But your output of ls /data/app shows that's it's not a user app.
Did you already move it to /system/app?
As for the permission:
the apk file must have the same permission as all the other apks in the folder.
Just pick one like
Code:
ls -l /data/app/com.teslacoilsw.launcher-1.apk
then you can use chmod to make them equal (e.g.
Code:
chmod 664 /data/app/com.android.wallpaper-1.apk
)
664 means rw-rw-r
644 means rw-r-r
...
superkoal said:
So the first error you get was my mistake, there is always -1 or -2 at the end of the filename.
But your output of ls /data/app shows that's it's not a user app.
Did you already move it to /system/app?
As for the permission:
the apk file must have the same permission as all the other apks in the folder.
Just pick one like
Code:
ls -l /data/app/com.teslacoilsw.launcher-1.apk
then you can use chmod to make them equal (e.g.
Code:
chmod 664 /data/app/com.android.wallpaper-1.apk
)
664 means rw-rw-r
644 means rw-r-r
...
Click to expand...
Click to collapse
I used link2sd to convert it to system app.. looks like it didn't go through. I will do it again soon when I have more time
EDIT: lol this is so weird.. what I did was convert it to system app.. then convert to user app.. not it works wow this crap is so random but now works thx!
works perfectly, got live wallpapers to work but haven't tried still photos and the only widget I've tried is Hd widget...any other widgets working?
All widgets should work.
works, thanks!

Categories

Resources