yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hoholee12:
Search for bash shell x in playstore and install bash.
[Android Software/Hacking General [Developers Only]] milojoseph:
It works thanks

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] hoholee12:
reuploaded with minor tweaks for mpengine and scaudiofix. it will improve battery life and i/o device performance.
[Android Software/Hacking General [Developers Only]] Fishawy:
Hi, I'm unable to install the script as explained in the first page. Can you please provide a flashable zip?
[Android Software/Hacking General [Developers Only]] milojoseph:
1) when you change the pdf as a

.zip file it's corrupted

2) how do install the new one. Do I overwrite the old one

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] hoholee12:
1) its not a .zip

2) yes.
[Android Software/Hacking General [Developers Only]] bofiana:
Don't change the name from a .pdf to a .zip. Just rename the file by taking off the .pdf extension, copy to system/xbin and change permissions to 0777
[Android Software/Hacking General [Developers Only]] hoholee12:
new update bypasses debugfs limitation. users can now use extra boot tweaks and engines without debugfs.
[Android Software/Hacking General [Developers Only]] milojoseph:
Is there a fix for mpdescion

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] milojoseph:
Mpengine

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] Saerayne:
Thank you for your work hoholee12. I am able to install and run the speed hack on boot. However I am unable to get mpengine to run. It acts like it's going to run and indicates it's initializing, but never runs. Hoping you can help?
[Android Software/Hacking General [Developers Only]] hoholee12:
can you do sched_tuner --verbose

and post the output please?
[Android Software/Hacking General [Developers Only]] milojoseph:
So no fix for me?

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] hoholee12:
while on sched_tuner --verbose, select 3 and immediately copy and paste the output after it says initialized and before going back to menu.
[Android Software/Hacking General [Developers Only]] hoholee12:
new fix uploaded on first page.
[Android Software/Hacking General [Developers Only]] milojoseph:
Your fix doesn't work still

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] hoholee12:
what doesnt work??
[Android Software/Hacking General [Developers Only]] milojoseph:
For mpengine

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] parasthakur37:
How am I to tackle this?
[Android Software/Hacking General [Developers Only]] Saerayne:
You need to install the bash binary. There's an app called bash shell x on the play store that can do that for you.
[Android Software/Hacking General [Developers Only]] ivankolev:
Try:

bash sched_tuner
[Android Software/Hacking General [Developers Only]] hoholee12:
For those who are having problems with mpengine

1.give me an output of

echo $EXTERNAL_STORAGE

if it gives you an output of directory your sdcard locates in, proceed to 2.

else, its incompatible.

2.type

sched_tuner -d

and then type

mpengine

this is literally a direct execution of the mpengine service.

It will not show as running in the menu screen because launching it directly wont intervene with the 'pid monitor'.

Since i dont know where this bug resides in, this is the only solution i can think of for now. Sorry:(
[Android Software/Hacking General [Developers Only]] milojoseph:
Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android Software/Hacking General [Developers Only]] hoholee12:
reuploaded with new install features. you can now pick which engine to install.

please uninstall(using the 5th option) first before installing.

for scAudioFix:

interval: 1~9 sec= proc monitor method(quick control; battery drain expected)

interval: 10~ sec= dumpsys method(less responsive on clock control)(previous versions used this method.)

if you dont want audio to lag at start, go for 1~9 secs.
[Android Software/Hacking General [Developers Only]] was12:
Having problem on latest. [MENTION=4629194]hoholee12[/MENTION]
[Android Software/Hacking General [Developers Only]] hoholee12:
looks like something bogged down on your end.

download again and try reinstall.

two 'not supported' lines with an error line above: your device doesnt have debugfs.

main tweak will not work, although you can still use mpengine and scaudiofix.

error message something like: "but it did not run on boot" might appear, but you can ignore that, as long as the other two engines are running fine.
[Android Software/Hacking General [Developers Only]] was12:
redownloaded and reinstalled, still gives same error.
[Android Software/Hacking General [Developers Only]] hoholee12:
new update1 version uploaded. changelogs:

for anyone whos having problems with the latest version, do:

sched_tuner --verbose

and post the output in txt file please.
[Android Software/Hacking General [Developers Only]] LordArcadius:
Working like charm!
[Android Software/Hacking General [Developers Only]] starcallr:
tried to install for HOURS/

not going to lead me newhere/

someone has the flashable zip?

would be REALLY appreciated!
[Android Software/Hacking General [Developers Only]] hoholee12:
i can troubleshoot it for you. can you post the output in txt file and upload here?
[Android Software/Hacking General [Developers Only]] motshek:
system performance enhancer for android v0.0.7 update1

mpengine status: running

audiofix status: not running

current scheduling features list:

cat: can't open '/sys/kernel/debug/sched_features': No such file or directory

not supported.

not supported.

looks like the mod is already installed.

-----------------------------------------------------------------select an option:

1)disable everything(speedhack!) 2)set the tweak on boot(init with few extra tweaks & mpengine)

3)stop mpengine

4)run audiofix in the background

5)restore list/uninstall

6)refresh list

q)exit

q

=================================================================check out 'flag_tuner' by Pizza_Dox@xda, highly recommended for perfect combination!:D root@m0:/ # sched_tuner --verbose --bbpass + shift

+ readonly 'run_bb_apg_2=0'

+ shift

+ readonly 'version=0.0.7 update1'

+ basename /system/bin/sched_tuner

+ readonly 'BASE_NAME=sched_tuner'

+ sed 's/\..*//'

+ echo sched_tuner

+ readonly 'NO_EXTENSION=sched_tuner'

+ readonly 'backup_PATH=/sbin:/system/bin:/system/xbin'

+ dirname /system/bin/sched_tuner

+ sed 's/^\.//'

+ readonly 'set_PATH=/system/bin'

+ pwd

+ readonly 'set_PATH2=/'

+ ls /

+ sed 's/\//\n/g'

+ echo /system/bin

+ sed ':a;N;s/\n//g;ba'

+ head -n2

+ grep system

+ export 'PATH=/system/bin:/sbin:/system/bin:/system/xbin'

+ 2>/dev/null

+ which sched_tuner

+ reg_name=/system/bin/sched_tuner

+ dirname /system/bin/sched_tuner

+ sed 's/^\.//'

+ readonly 'DIR_NAME=/system/bin'

+ export 'PATH=/sbin:/system/bin:/system/xbin'

+ echo /system/bin/sched_tuner

+ readonly 'FULL_NAME=/system/bin/sched_tuner'

+ print_PARTIAL_DIR_NAME 1

+ echo /system/bin

+ head -n2

+ sed 's/\//\n/g'

+ sed ':a;N;s/\n/\//g;ba'

+ echo /system

+ readonly 'ROOT_DIR=/system'

+ error Please re-run this program with BASH. '"error' code '1"'

+ message='Please re-run this program with BASH. "error code 1"' + echo Please re-run this program with BASH. '"error' code '1"'

+ grep '"'

+ echo -n Please re-run this program with BASH. '"error' code '1"'

+ sed 's/".*//'

Please re-run this program with BASH. + echo Please re-run this program with BASH. '"error' code '1"'

+ cut '-d"' -f2

+ errmsg='error code 1'

+ echo -e '\e[1;31m"error code 1"\e[0m'

"error code 1"

+ echo

+ sed 's/\/$//'

+ CUSTOM_DIR=

+ cd /

+ echo

+ sed 's/\//\n/g'

+ >>/system/bin/sched_tuner.log

+ date '+date: %m/%d/%y%ttime: %H:%M:%S ->Please re-run this program with BASH. "error code 1"'

+ exit 1

1|root@m0:/ #
[Android Software/Hacking General [Developers Only]] hoholee12:
bugfix update2 released!

there was a bug on update1 where scAudioFix tried to kill media process when its not supposed to, this problem was addressed on update2.
[Android Software/Hacking General [Developers Only]] berryman13:
Just grabbed the latent version of schedule tuner, imbthe 2nd download!

Really excited to try this. Is it not suggested in conjunction with L Speed?
[Android Software/Hacking General [Developers Only]] rkd2003:
init.d problem.

(in log file text.)

Please re-run this program with BASH.

(error code 1)

so it can't run with system boot...

I installed bash, of course.
[Android Software/Hacking General [Developers Only]] hoholee12:
Will look into it in a moment...
[Android Software/Hacking General [Developers Only]] hoholee12:
updated with minor bugfix!
[Android Software/Hacking General [Developers Only]] catalyst05:
i didnt find flashble.zip (sched_tuner.zip) and can we use lspeed scripts?
[Android Software/Hacking General [Developers Only]] hoholee12:
updated to 2.2 with more features.

you can now install the script like this:

$ ./sched_tuner.sh --install -s /system/xbin
found it!
please wait...
program file already exists. overwrite? (y/n) y
copying files...
================================================================================
install complete!
type 'sched_tuner' to run the program!
$
[Android Software/Hacking General [Developers Only]] milojoseph:
I'm happy u continue to update...... it's quiet cause ur mod works and no bootloops or nothing. Thanks man... always on the look out in taptalk

Sent from my SM-G900T powered by Phoenix rom and ktoonsez kernel

Lollipop ?
[Fire TV Themes and Apps] schybiorz:
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 [MENTION=4271041]superkoal[/MENTION]

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 chybiorz@freenet.de (EUR)
[Fire TV Themes and Apps] xm41907:
Sweet! Can you post your compiled file in a CWM installable zip?
[Fire TV Themes and Apps] schybiorz:
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
[Fire TV Themes and Apps] xm41907:
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?
[Fire TV Themes and Apps] xm41907:
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!
[Fire TV Themes and Apps] schybiorz:
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 ^-^
[Fire TV Themes and Apps] xm41907:
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.
[Fire TV Themes and Apps] nickyb003:
Manually?

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
[Fire TV Themes and Apps] schybiorz:
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...:)
[Fire TV Themes and Apps] xm41907:
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?
[Fire TV Themes and Apps] schybiorz:
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
[Fire TV Themes and Apps] KLit75:
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.
[Fire TV Themes and Apps] tdfsu:
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://xdaforums.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!
[Fire TV Themes and Apps] nickyb003:
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?
[Fire TV Themes and Apps] tdfsu:
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.
[Fire TV Themes and Apps] nickyb003:
Yup i'm gonna download the apk when I get home and see if it changes anything
[Fire TV Themes and Apps] nyder:
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
[Fire TV Themes and Apps] schybiorz:
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 ^-^
[Fire TV Themes and Apps] nyder:
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.
[Fire TV Themes and Apps] schybiorz:
Attached are the background apk's without framework-res. cause you can download the posted xposed-module from link in first post
[Fire TV Themes and Apps] nyder:
Okay, thanks. got those files, I got the wallpaper enabler.apk also. So I guess i do NOT need that framework-es.apk then?
[Fire TV Themes and Apps] schybiorz:
why don't you read my post? u need either modified framework-res plus the 3 files or use xposed module from here KLICK plus the 3 files installed.

otherwise you won't be able to save the wallpaper you want to use, cause the wallpaperservice is not enabled in stock framework-res.apk
[Fire TV Themes and Apps] nyder:
Then why do i have to ask again to have someone upload that file to a file hosting site I can use to download the file then? I have made it clear in all my posts I can NOT download those files, and yet I have to ask 3 times. Not sure exactly what the problem here is, but can someone be helpful since the OP here isn't?
[Fire TV Themes and Apps] schybiorz:
i don't understand what your problem is. you say that you have installed the apk's i put as attachmend on page 2 for background. so that are the files ex framework-res that where originly uploaded on upload.com.

klick on my first page at the linked post to superkoal for xposed module so that you don't have the whole framework-res.apk i linked in my post. his apk must also be sideloaded and xposed must be also installed on your firetv. you must have a mouse connected to enable it.

also i can't understand your point that you say you asked 3 times for the files and blame me in not helping you, but you won't even read what i'm telling you. so i'm sorry for you. than maybe i can't realy help you in your understanding. maybe some other people might do this...

i'm out.
[Fire TV Themes and Apps] nyder:
in the first post, it's not clear that the framework file isn't needed anymore, and since I have the other files and the wallpapers still are not working for me, I thought it was because I didn't have that file. Sorry to get tripping on ya over the file, but most of this thread and someone else's helpful post detailing the file permission and stuff you need to do for that file, I had it stuck in my head it was needed. My apologies, because looking back, you did say I didn't need that framework file, but I seemed to be focused on thinking I needed it.

Got it all working.

thanks again and sorry for the hard time.
[Fire TV Themes and Apps] schybiorz:
hey man,

cool that it is finaly working for you. i also saw that aftvnews has also started a wiki about that ^-^
[Fire TV Themes and Apps] Annunneo:
So to get this working i must have cwm recovery, install the module but then i must still install 3 more files?
[Fire TV Themes and Apps] schybiorz:
root is a must. so if rooted, it is a good thing to have rbox bootmenue and also cwm recovery installed.

there is a xposed module wich makes the installation via cwm obsolete (link also in first post)

nevertheless you still need the wallpaper picker, system ui and if you want livewallpapers sideloaded.

be also sure, that they are installed as system app, not data app, then all should work.
[Fire TV Themes and Apps] KLit75:
I'm going to try this soon. Noticed neither this thread nor aftvnews guide mentions rbox TV mods. They are necessary to use this as your main launcher,correct? Maybe its just common sense and that's why its not here nor there?

Thanks. Very much appreciated
[Fire TV Themes and Apps] schybiorz:
you need indeed xposed installed on aftv, rbox xposed module is not need, but the other one backgroundenabler via Xposed Module (link in first post). so you don't have to mess around with installing my modded framework-res.apk via cwm recovery.
[Fire TV Themes and Apps] KLit75:
I just followed aftvnews. "backgroundenabler" was not one of the apks. Closest i have is wallpaperenabler. So I can just set this to launch on boot from the nova settings?

Is the aftvnews guide incomplete? I'm only just starting to mess around with this so any info you think might be useful would be great. Thanks And thanks for working on this it's really cool if I get it working like you did!
[Fire TV Themes and Apps] schybiorz:
aftv has a complete guide. Click

if you follow it step by step then all should work. Everything is linked there
[Fire TV Themes and Apps] retroben:
Thanks,I easily got wallpapers working now because of that aftv link.

Widgets don't want to run,but the "animated shortcut" app actually opens now instead of insta-closing.
[Fire TV Themes and Apps] Codename_Falcon:
Is it possible to enable live wallpapers on Android TV devices?