Related
I've removed a bunch of the crap apps that come pre-installed on the Galaxy, however the stupid icons still show up in my app menu. Anyone know how to get rid of these icons??
You can make a custom app draw and place the apps in the order you want. Not sure if you can fully remove an icon but you could create another page and place them all on that.
Edit: How did you remove the stock junk? I've looked in the Setting > apps menu but uninstall was grayed out.
you need to r00t it then use adb shell goto data>app> then use the rm -r command to remove anything u don't want....
I don't know how to create a custom app drawer, can you elaborate?
There has to be a better solution than that btw, anyone else?
open app draw > menu > view type > customizable grid > puts you back at app draw.
Menu > edit > move app icons at will and create multiple pages, pages can have as many for as few icons as you chose.
I have removed these so far from /system/app:
AccountAndSync.apk
AddToHome.apk
Avatar.apk
BuddiesNow.apk
DualClock.apk
DualClock.odex
Email.apk
Email.odex
GoGo.odex
KindleStub.apk
MediaHub.apk
MobiTV.apk
MyAccountStub_4-5-10.apk
Swype-Tips.apk
Telenav.apk
vvm-signed.apk
how did you get them to delete? when i do rm -r BuddiesNow.apk i get a permissions denied
Mookie_Jones said:
how did you get them to delete? when i do rm -r BuddiesNow.apk i get a permissions denied
Click to expand...
Click to collapse
You need to be root.
Mookie_Jones said:
how did you get them to delete? when i do rm -r BuddiesNow.apk i get a permissions denied
Click to expand...
Click to collapse
1. Grab ADB from the SDK from Google and put the tools dir somewhere easy to access via command line
2. Install the USB drivers (I had to install 3 drivers)
3. Root the phone
4. CMD to wherever you put the tools directory
5. Run "adb remount"
6. Run "adb shell"
7. (inside of the shell) "su" to root (only if you get a $ prompt, if you have a # prompt skip this step)
8. "cd /system/app"
9. Delete the above apk's
Do not enter any quotes above, only enter the command inside of the quotes.
Any suggestions on any other apk's to delete?
Simply reboot! That's all I did after I removed a bunch of apk and none of the icons show up anymore
I removed them and now it tells me that my camera doesn't work.
Sent from my SGH-T959 using XDA App
t1n0m3n said:
1. Grab ADB from the SDK from Google and put the tools dir somewhere easy to access via command line
2. Install the USB drivers (I had to install 3 drivers)
3. Root the phone
4. CMD to wherever you put the tools directory
5. Run "adb remount"
6. Run "adb shell"
7. (inside of the shell) "su" to root (only if you get a $ prompt, if you have a # prompt skip this step)
8. "cd /system/app"
9. Delete the above apk's
Do not enter any quotes above, only enter the command inside of the quotes.
Any suggestions on any other apk's to delete?
Click to expand...
Click to collapse
just wanted to post an alt method for those that dont like adb (we're out here, i have yet to install the drivers for this phone lol
Alt Method
1. If you’re rooted, purchase Root Manager (a must have tool for rooted androids)
2. Open Root Manager
3. Select System apps
4. Select App Remover
5. Seleck .apk files you don’t want and remove them.
6. Reboot the phone immediately after
7. Now go to menu
8. settings
9. manage applications
10. you will see apps that have their long name/path name “com.xxxx.xxxx.xxxx” and no icons
11. those are the remnants of the apk files you used to have which were locked (hence needing Root Manager)
12. uninstall these like you would any other non OEM/3rd Party app
13. You should be done!
)
i've removed telenav, mobitv, amazon mp3, and slacker radio so far
Let me know if this works for you guys or if i've missed anything (i am here to learn from this great community as well)
P.S. I had a hard time with Slacker Radio because i deleted the .apk as mentioned above but still had app in the app drawer and it still launched when i selected the icon. Turns out, I had updated it with AppBrain. When i went to uninstall Slacker through manage applications, it removed the update first then gave me a "uninstall unsuccessful". However when i went back to the list of apps, it did remove the icon and revert to "com.slacker.radio" in the apps list, then i went in to uninstall that and it worked fine. So, if any apps have updates on top of "factory", keep that in mind
I have noticed that the slacker radio and layar from samsung/TMO are quite gimped and don't really function very well. They seem to be tied to TMO and wants to charge your TMO account monthly for something. (I didn't really look close, I got to the "we want to charge your account" part and canceled.) I deleted them from the phone and then went to the market and downloaded the "real" apps... Yeah, there is none of that crap on the real apps.
>:-(
Most of the other TMO/Samsung apps did this as well, but I deleted most of them pronto. So if you want to use layar or slacker radio... Do yourself a favor and delete them, and grab them from the market.
I actually use Amazon MP3, so I kept that one.
When, oh when do the CMs a come!? Get along little doggy. Yehaw. *Bullwhip* (Yay, we got Cyanogen!)
I'm just uninstalling them with Titanium Backup (root needed). Things that I think I MAY want back, I just back up... I found that some after uninstalling, you can see in Settings->Applications->Manage, right under 3rd party at 0 bytes. I just uninstalled from there and it appears it removed all traces.
Note: Titanium Backup is acting flaky with restores, apps go back but it FC's before restoring data. Then I have to go back and restore data only. I felt better just reinstalling from market then restoring data only from TB. But that is another thread
could someone tell me what these apk are?
MyAccountStub_4-5-10.apk
vvm-signed.apk
My list of backed up and removed files are
AccountAndSync.apk & odex
Amazon apk
Avatar.apk & odex
AddToHome.apk & odex
DualClock.apk & odex
Email.apk & odex
Infoalarm.apk & odex (daily briefing)
KindleStub.apk
layar-samsung.apk
MediaHub.apk
Memo.apk & odec
MiniDiary.apk & odec
Myfiles.apk & odex
slackerradio.apk
Telenav.apk
Writeandgo.apk & odec
I will probably take out most of the sammy widgets and some of the dull live wallpapers also. Will report back if there are any issues but they all came from other people's "safe" lists. (thanks Jonas.M and t1n0m3n)
SykesAT said:
could someone tell me what these apk are?
MyAccountStub_4-5-10.apk
vvm-signed.apk
My list of backed up and removed files are
AccountAndSync.apk & odex
Amazon apk
Avatar.apk & odex
AddToHome.apk & odex
DualClock.apk & odex
Email.apk & odex
Infoalarm.apk & odex (daily briefing)
KindleStub.apk
layar-samsung.apk
MediaHub.apk
Memo.apk & odec
MiniDiary.apk & odec
Myfiles.apk & odex
slackerradio.apk
Telenav.apk
Writeandgo.apk & odec
I will probably take out most of the sammy widgets and some of the dull live wallpapers also. Will report back if there are any issues but they all came from other people's "safe" lists. (thanks Jonas.M and t1n0m3n)
Click to expand...
Click to collapse
couple of noob questions for you, that addtohome thing, if you uninstall that, what happens when you long press on an empty space on a home screen? launching addtohome brings up the same menu as a long press so i was wondering. Also what are the .odex files and what do they do?
jblade1000 said:
couple of noob questions for you, that addtohome thing, if you uninstall that, what happens when you long press on an empty space on a home screen? launching addtohome brings up the same menu as a long press so i was wondering. Also what are the .odex files and what do they do?
Click to expand...
Click to collapse
long press on home screen brings up.... add to home menu
I believe removing that apk just removes the icon in the app draw, Similar to the Avatar APK which is also just an icon with a link... Not too sure about odex but read they should be removed also. When I "removed" items it was more move to a backup folder on the SD card just incase.
Jeez, I found another one. The kindle app (which I use) was not uninstallable. It had a "remove updates" button instead. I click on remove updates, and it basically uninstalled the app, but left all of the shortcuts on the home screen and the app menu orphaned.
I had to install it from the market, uninstall it from the market, and install it from the market again to get it working correctly. Now I have a proper "uninstall" button and market updates for this app.
It seems to me like every T-mobile/Samsung pre-installed app has something wrong with it. I can't wait until we get a real rom for this phone.
SykesAT said:
could someone tell me what these apk are?
MyAccountStub_4-5-10.apk
vvm-signed.apk
Click to expand...
Click to collapse
vvm-signed.apk - T-Mobile's Visual Voice Mail (If you use this, I recommend deleting this version and installing from the market instead.)
All of the stubs are basically shortcuts to the market to install the real apps. That one is the stub to install the T-Mobile "My Account" app. I removed all of the stubs. They just get in the way IMO.
jblade1000 said:
couple of noob questions for you, that addtohome thing, if you uninstall that, what happens when you long press on an empty space on a home screen? launching addtohome brings up the same menu as a long press so i was wondering. Also what are the .odex files and what do they do?
Click to expand...
Click to collapse
The addtohome apk just puts a shortcut in the app tray to bring up the same menu as when you long press the background. I found it annoying, so I removed it. Removing it does not effect the menu that pops up when you long press an empty space on the home screen.
As I understand it, Odex files are there to speed up boot and to lessen the dalvik-cache usage a bit.
T1n0m3,
thanks again vvm and myact are removed myact added back from market, use GV for VM.
So its correct and safe to delete the the odex files of any apk you've removed?
ANNOUNCEMENT:
If you have a new Nook HD/HD+ and want to root and get the GAPPS running, you should follow the guide at the All-in-One thread instead. That said, I won't copy all the information here to there, so you should continue to read on.
Proof:
https://www.youtube.com/watch?v=MssQ25bnZnk
Okay this one is more interesting than the root I created. I don't think there will be a simple batch file for this one. I barely get this working and I'm going to try to write instruction for the people. I guess let me start off with the same disclaimer.
Disclaimer:
If something gone wrong, it's all your fault. I take ZERO responsibility for what happen to your device, your life, your wife/husband, your kids, your unborn child and etc. You get the idea.
Background:
I basically taking the installation process from the Kindle Fire HD and apply it it here. The original instruction which I "borrow" from is here. For the most part, the process is the same, but we have to be extra careful for writing into /system partition or we are toast.
What I found:
Well, since we didn't have "UNKNOWN SOURCE" option, we have to adapt and fix that first. You can thanks skyhawk21 for coming up with that idea. Since then, there have been other way to enable Unknown Source. LeapinLar have wrote an excellent here. And I have make it even simpler here. Also, I have found that trying to install Google Play store after some other stuff already installed is kinda pain and brought some error. So I would strongly start this fresh. I mean factory reset and apply root. If you don't know how to gain root on the Nook HD+, I wrote an excellent piece for it here.
Hugh big caution
I did all my stuff based off my root method. I also noticed that verygreen updated his root. While there are some similarlity in our methods, THERE ARE SOME DIFFERENCE ALSO. For example his root doesn't have a working superuser or he have busybox installed and symbolicly linked for all sub command. This mean the instruction I have may not work if you used his method to root.
Addendum 1: 11/19/[email protected]:50PM Pacific
I have been told that the first set of instruction is no longer necessary by leapinlar. This mean that if you only want the ability to install app via Google Play, you can do the first set of instruction and be done with it. But this means you won't be able to utilize the rest of Google's services. On the other hand, you can skip the first instruction and purely do 2nd instruction and get most of the stuff working. Well I say most because it doesn't include Google Maps and Chrome.
Addendum 2: 11/19/[email protected] Pacific
I have added Google Map below so you can download separately But Chrome Browser is like 20MB and over the filesize limit of the xda forum. Since most people don't use it, and there are many good alternative browser already, I won't bother. You can also look up both apk online if you want. they both should work on Nook. You don't have to make symbolic link on these two, but you can't have it on /system either. Either try install it via "adb install" command or open it using your favorite file browser. I forgot which method I use, probably the first.
Addendum 3: 11/30/[email protected]:25AM Pacific
I rewrite and hide unnecessary stuff and streamline the guide.
Addendum 4: 12/01/[email protected]:25PM Pacific
Adding gapps-ics-inst.sh.img which should be compatible for both my and verygreen root method.
Addendum 5: 12/02/[email protected] Pacific
Adding troubleshooting tips
Addendum 6: 12/04/[email protected]:45PM Pacific
Update with brand new easy to follow instruction.
Addendum 7: 12/07/[email protected] Pacific
The Google Map will no longer install as part of the script. I think Maps may not function properly if google framework weren't installed correctly first.
So, you will just have to install it manually after the Google Play updated.
EXTREMELY OUTDATED NOT FULLY WORKING Instruction is hidden since it's no longer necessary.
Instruction:
Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Gain root access. Follow this guide.
Follow my instruction here to enable "UNKNOWN SOURCE".
Upload 3 files to /data/su/ using "adb push" command
GoogleServicesFramework.apk - mediafire.com/?zaumfwhraxcifqf
Vending.apk - mediafire.com/?31bn3e258jjpj8d
Play.apk - mediafire.com/?wwcqrlfwt8o1gnv
If you have problem downloading this Play.apk I suggest try using this Vending_v3.9.17.apk instead. Be sure not to confuse with the earlier Vending.apk file, or better yet, rename it to something like Play3917.apk
adb install $your_choice_of_file_manager(must support root), I prefer ES File manager
using your file manager and browse to /data/su and install GoogleServicesFramework.apk (I'm not sure if you can just do adb install GoogleServicesFramework.apk from your PC, but since I didn't do it that way and this is a known result, so I recommend doing it this way)
adb shell
su
mount -o remount,rw /system
mv /data/su/Vending.apk /system/app/Vending.apk
chmod 644 /system/app/Vending.apk
chown 0.0 /system/app/Vending.apk
mount -o remount,ro /system (not sure if this is necessary, but I better safe than sorry)
using your file manager and navigate to /system/app and install Vending.apk
mount -o remount,rw /system (only if you did step 11)
rm /system/app/Vending.apk
mount -o remount,ro /system
using your file manager and go to /data/su and install Play.apk or Play3917.apk depending on what you download
now you can delete both GoogleServiceFramework.apk and Play.apk in the /data/su folder.
That's all, your Google Play Store should now be working.
Login and have fun. I manage to install some stuff through that.
Click the "THANKS" button below.
OK, now to get a more complete gapps. The below steps are to be only after you have Google Play Store, meaning all the above steps are done. The instruction below will let your other app sync and use google account. Meaning stuff like RSS reader sync with google reader or Youtube app access your personal account. Well, atleast those are the two I have tried and seem to be working.
OUTDATED Instruction:
Instructions:
Download these two files. gapps-ics-inst.sh.img and gapps-ics-system.zip (if you use verygreen root method use this gapps-ics-inst.sh.img , the one embedded on this post instead. This one should work universally but untested. I re-wrote it to adapt for verygreen root method also. If it works I'll rewrite this part of instruction again to use the new version of the shell script.)
adb push gapps-ics-inst.sh.img /data/su/gapps-ics-inst.sh
adb push gapps-ics-system.zip /data/su/
This step might take some time
adb shell
su
cd /data/su
chmod 755 gapps-ics-inst.sh
./gapps-ics-inst.sh
This step could take some time too, once it return to shell, then go to next step
(optional delete installation file to save space) rm gapps-ics-system.zip
(optional delete installation file to save space) rm gapps-ics-inst.sh
exit
exit
(you should be back to your OS by now, if not keep exiting until you are out of adb)
adb reboot
once your nook is rebooted, the screen may say updating some files, this is normal.
enjoy, everything should work now.
If you didn't hit that "THANKS" button, you better do now. If you did, do it again?
Thanks leapinlar for catching the typo, I have reupload the shell script file now. And thanks to him for hosting the gapps-system.zip
There have been some errors on my initial instruction. Certain things have been point out. I have updated the instruction accordingly. leapinlar have also fixed gapps files and the shell script for that in post #34. So big kudo to him. I haven't have much time to toy with this lately, but since people report that his script work. So here are the new instruction.
If you were using verygreen version of root, try running this first.
Code:
adb shell su -c "/data/su/busybox chown shell.shell /data/su"
FAQ:
Q: I don't see the Google Play Market on the list of apps.
A: If you use the "Skip OOBE" aka Test mode, then (reboot first or go into shell and kill the app launcher and then) you have to hold down the Vol-Up key and tap the word Apps on the top to see them. After that I recommend installing other launcher, then they can see all the apps.
Q: Some people are saying after they install an adblock app, after reboot it get into bootloop and wipe everything.
A: The way most adblock apps work is that they modify the hosts file which usually located at /system/etc/hosts Well, as we have discussed before this is not a good idea to make change directly to /system folder(directory). The only adblock I know of that work is AdAway with a specific setting.
When installed, first you have to go to menu > preferences > target hosts file > /data/data/hosts, it will then ask to create symbolic link, say yes and then you can reboot.
Troubleshooting Tips:
I had a little problem today, unrelated to the GAPPS install mod here. But the problem involved Google Play not working correctly. I kept getting Google Play error pop up. So, I use Titanium Backup ROOT to wipe the data and then uninstall all the apps which names start with Google. I'm not sure if this is enough, it might but I didn't want to take any chance. This maybe unnecessary but I did it anyway; I delete all the files that I created in the /data/su/system that have anything to do with google. Basically anything that was unzip there. Rebooted, then re-apply the same google mod here. And problem solved. I did have to re-login again, but yes I clear up that Google Play error.
Pre-Requisite:
ADB + ROOT + Enable Unknown Source.
1. ADB: leapinlar wrote a post to help you getting ADB to work here.
2. ROOT: I wrote a guide on how to get root the easy way here.
3. Enable Unknown Source: Again, I make an easy little tool for you here.
Brand New and Improve Instructions:
Download these three files. New.zip GoogleMaps.apk and gapps-ics-system.zip
Unzip New.zip (don't unzip gapps-ics-system.zip)
run install.bat
PS: Now I know how hard it's to write a guide in xda. Prop to all those dev that have been there b4 and after, especially the one I have use their works.
That's it, I'm going out to buy one ASAP. Thanks for your hard work!
thanks for you Howto
after that is it possible to use Youtube and Google Maps apps?
Youtube can be install from Play Store but you have to sideload the Google Maps since it's not available for download in Play Store. GMail works, but the authentication through google account on other apps still aren't working. I guess this problem may be beyond my current level of tinkering knowledge.
great job on getting google market somewhat working!!!! We need the manual nooter developer or author to make what we need for the Nook HD AND HD+. Anyhow I belwive you need more framework files to get google authentication working and unfortunately they need to be installed within root folders like the /system folders and sub folders... Also Barness and noble included frameworks for google authentication, probably just not working with google apps installed manually.... gotta figure it out...
---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------
By the way youtube app works installed older version from my Motorola Droid 3 manually through es file explorer and it works and does HD fine
I have been thinking about that and wonder if we can put those lib files on diff folder and sym link them? I still afraid it might reset the thing.
someone0 said:
Instruction:
[*]Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Click to expand...
Click to collapse
I was able to do this with root explorer after rooting with no problem.
Thanks for this (and your rooting zip - both are super!)
issue was fixed, removed obnoxiously long quote
smatticus said:
still have the issue where i can't get the nookcolortools to run properly from /system/app. it just crashes. i googled this and it says that i need to reboot the nook to apply the system/app move BUT that supposedly creates the bootloop. i REALLY don't want to do that so can someone help me out here?
Click to expand...
Click to collapse
You probably shouldn't quote anything that big unless you very need to. As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
someone0 said:
As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Click to expand...
Click to collapse
turns out i wasn't supposed to install the app via adb. my fault for not following instructions. thanks for your hard work
Nice, I think I am getting the Nook HD+.. Hope there is custom ROM soon.. thanks man
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
I'm thinking about that right now but as I suggested, putting the google lib in other place and make symbolic link in the appropriate /system sub. I won't be able to test that theory of mine until I get home later tonight. I will have to research where all the files suppose to go and their permission. Unless you want to do it, you are welcome to.
I agree, getting authentication would be tha last missing link to make this device fully enjoyable as day-to-day usage. And the we can wait for custom ROM from real developers. That is definitely out of my knowledge.
works without full reset
figured i'd put it out there that i DID NOT do a full factory reset (partly to be a guinea pig, partly because i'm lazy) and this method DOES WORK without it. It took 2 tries (it loaded up the first time, then crashed a few minutes later.) the second time it worked like a charm. One note: the chown command gave me an "operation not permitted" notice, but the market IS working, i grabbed a TON of apps and thankfully got updates to the ones i purchased through the nook shop that hadn't seen an update since they first launched (i'm looking at you, machinarium).
Thanks!
Thanks so much for your work on this! I can access the Google Play Store along with the Amazon App Store now and have loaded up my new Nook with my favorite apps. My only disappointment is that I still can't get Amazon Instant Video or Google Play Movies to work...once these work I'll be in heaven!
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
BTW, I got that working now, my theory works. Now only if I have a place to store 60+MB file. Then I can update this guide to include that. I was able to use Youtube app to access my account and so is my RSS reader to sync with google reader.
Access Denied
I'm getting an error when I try to execute ./gapps-inst.sh. It's saying cannot execute - Permission denied. I've rooted and followed the instructions to install Google Play and all worked fine...I'm on this last step and it won't work! Advice is much appreciated!! I also keep having permission denied issues with the adb push command...I can paste the files manually via ES File Explorer and rename to remove the .bin but I still can't install from adb shell.
I've also tried chmod 777 on the gapps-inst.sh prior to doing ./gapps-inst.sh but that produces a giant string of errors.
I'm at a loss!
someone0:
I just rehosted your files on my MediaFire account.
Removed links. New links on OP.
Alright, so I have no idea what Nook HD/HD+ thread to put this is in... so here i go.
1. Will these steps get the play store on the Nook HD as well?
2. Will the apps show up in the Nook app section, or do we still need a launcher. I have sideloaded all my apps, but have to use a launcher to get at them.
Thanks!
someone0:
There is are a couple of typos in your gapps-inst.sh file -
Code:
ln -s /data/su/system/usr/srec/en-US/google_hotword_clg /system/usr/en-US/google_hotword_clg
ln -s /data/su/system/usr/srec/en-US/google_hotword_logistic /system/usr/en-US/google_hotword_logistic
are missing the /srec in the second /system link.
Also it seems the real /system has these files so the symlinks fail.
Code:
ln -s /data/su/system/etc/permissions/com.google.widevine.software.drm.xml /system/etc/permissions/com.google.widevine.software.drm.xml
ln -s /data/su/system/framework/com.google.widevine.software.drm.jar /system/framework/com.google.widevine.software.drm.jar
ln -s /data/su/system/usr/srec/en-US/acoustic_model /system/usr/srec/en-US/acoustic_model
***LOOKING FOR A ALL-IN-ONE SOLUTION? THAT'S AVAILABLE FOR Z3C USERS ONLY, IF INTERESTED GO HERE***
I guys, similarly to what I did for LP, and considering that even in the LP time some people asked me about debloating KK (and I'm using it right now and actually seems i like it more than LP too) I share with you my debloating script for those interested in a higly DEBLOATED KK installation, very slimmed down, battery friendly, faster, with less RAM comsuption etc
Heavily debloated actually means almost 900 mb of system stuff moved to a backup folder (that you can even delete or move to sdcards to get 900mb extra free space in /system) so applying my script you agree to debloat A LOT as I did but take care that you will have a much lighter system and still you will be able to restore very easily anything you want anytime moving stuff back from the backup folder to /system (detailed instructions for that below in this thread).
NOTES
1. as all the stuff object of my debloating script is going to be placed in /system when flashing the pre-rooted FW, it is strongly suggested to apply my script immediately after flashing the pre-rooted KK FW and before rebooting, this way all that stuff will be moved away, and it is like it was never installed (at first boot no optimizations for those apps, means faster first boot etc)
2. using different FW as base you may have some more bloat/apks, not present in my FW, that will remain installed. In this case, if you think there is some bloat left that could be removed, please send me a list of all your system apps remained after debloating, so i can check them (you can easily do that via terminal with 'ls /system/app > /sdcard/sysapps.txt' and 'ls /system/priv-app > /sdcard/privapps.txt' and send me the resultant text files)
Click to expand...
Click to collapse
Procedure for all xperia phones running KK:
Requirements:
- working recovery
- be on KK 4.4.4 already
Installation:
1. full nandroid backup to eventually go back to previous any time
2. wipe data, cache and dalvik ***
3. flash my Debloating Script for KK
4. that's all! reboot/enjoy
*** NOTES
1. you can skip wiping data, so you'll keep all your personal data! But please mind that not wiping data during the installation procedure the debloat will not be 100% effective: in fact, if you don't wipe data, all the sony apps installed in /data/app won't be removed by the script! (to remove them, you'll have to uninstall them manually from settings > apps > downloaded)
2. not full wiping, you may also get some FC due to missing overlays at boot: in this case, just enter in TWRP, mount system, go to advanced > file manager and move back the whole "overlay" folder from /system/__Backup/various/vendor_overlay to /system/vendor and reboot
Click to expand...
Click to collapse
RESULT
As said at the top, you'll get a very slimmed down KK FW, battery friendly, very fast, with less RAM comsuption etc
Of course, everything is working great here, I mean all the features I need/use!
In particular, with latest version of my script you are going to delete more than 170 packages in total (unfortunately not also all the libs like it happen in LP because of how are placed apps in system in KK) plus all applications automatically installed by Sony :good:
DISCLAIMER
If you apply my script again please take care I did a pretty massive debloat as I don't use a lot of stuff (social apps, small apps, many of the sony "addons"/special settings etc!!) and this is a working config for me, but for others some functionalities will be probably missing, so mind what you do before apply them! (but again you can restore anything anytime, if interested just continue the reading)
Click to expand...
Click to collapse
###########################################################################################################
REMOVED STUFF
As said at the beginning, with my script, stuff is not going to be deleted anymore, but moved in /system/__Backup folder. This way you can restore things without the need to download them from my GDrive.
At the following link you will find the full list of all stuff I moved away in my customized FW (and what you are going to move away if you flash my debloating script):
https://docs.google.com/spreadsheets/d/1Gof3mcFSWxP4cONuoLXPQkGE6Xnfn9tsg899rLN3ALY/edit#gid=0
PS. the file is with read-only access for everyone, if you have any changes to suggest, please reply in the thread or send me a PM with the changes you propose
Sorry, the link was not public, now you should be able to correctly see the list!
HOW TO RESTORE SOMETHING
PS. of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
In the hidden field below you will find the restoring instructions you need to follow to restore any package you may want back:
According to what you want to restore, you have to follow two different procedures:
- all the APKs that are inside /system/__Backup/various/etc_custom_apps and /system/__Backup/various/etc_prod_apps are regular APKs that are going to be installed in /data, so you can just run them and then select "install" like a normal APK, easy. You will then see them in Settings > applications > downloaded
- instead, all the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE both "Chrome.apk" and "Chrome.odex" files to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE both "Velvet.apk" and "Velvet.odex" files to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
Many THANKS @ondrejvaroscak and @Puffin617 for some very good advices, @mj084 for some packages descriptions :good:
I
moly82 said:
***LOOKING FOR A ALL-IN-ONE SOLUTION? THAT'S AVAILABLE FOR Z3C USERS ONLY, IF INTERESTED GO HERE***
I guys, similarly to what I did for LP, and considering that even in the LP time some people asked me about debloating KK (and I'm using it right now and actually seems i like it more than LP too) I share with you my debloating script for those interested in a higly DEBLOATED KK installation, very slimmed down, battery friendly, faster, with less RAM comsuption etc
Heavily debloated actually means almost 900 mb of system stuff moved to a backup folder (that you can even delete or move to sdcards to get 900mb extra free space in /system) so applying my script you agree to debloat A LOT as I did but take care that you will have a much lighter system and still you will be able to restore very easily anything you want anytime moving stuff back from the backup folder to /system (detailed instructions for that below in this thread).
Procedure for all xperia phones running KK:
Requirements:
- working recovery
- be on KK 4.4.4 already
Installation:
1. full nandroid backup to eventually go back to previous any time
2. wipe data, cache and dalvik ***
3. flash my Debloating Script for KK
4. that's all! reboot/enjoy
RESULT
As said at the top, you'll get a very slimmed down KK FW, battery friendly, very fast, with less RAM comsuption etc
Of course, everything is working great here, I mean all the features I need/use!
In particular, with latest version of my script you are going to delete more than 170 packages in total (unfortunately not also all the libs like it happen in LP because of how are placed apps in system in KK) plus all applications automatically installed by Sony :good:
DISCLAIMER
###########################################################################################################
REMOVED STUFF
As said at the beginning, with my script, stuff is not going to be deleted anymore, but moved in /system/__Backup folder. This way you can restore things without the need to download them from my GDrive.
At the following link you will find the full list of all stuff I moved away in my customized FW (and what you are going to move away if you flash my debloating script):
Coming...
In the meantime here is a raw list of what I removed:
/etc/customization/applications > all
/etc/product/applications > all
/etc/product/content > all
/vendor/app > all
/vendor/overlay > all
/system/app
AnonymousData.apk
AnonymousData.odex
AntHalService.apk
AntHalService.odex
BasicDreams.apk
BasicDreams.odex
Books.apk
Books.odex
BrowserProviderProxy.apk
BrowserProviderProxy.odex
CallWidgetFrameworkPermission.apk
CallWidgetFrameworkPermission.odex
Chrome.apk
Chrome.odex
ClockWidgets.apk
ClockWidgets.odex
CrashMonitorSystem.apk
CrashMonitorSystem.odex
DeviceConfigTool.apk
DeviceConfigTool.odex
Drive.apk
Drive.odex
DrmDialogs.apk
DrmDialogs.odex
DrmUI.apk
DrmUI.odex
DualShockManager.apk
DualShockManager.odex
EnchantedForest.apk
EnchantedForest.odex
ExternalKeyboardJP.apk
ExternalKeyboardJP.odex
FaceLock.apk
FaceLock.odex
Galaxy4.apk
Galaxy4.odex
GenieWidget.apk
GenieWidget.odex
Gmail2.apk
Gmail2.odex
GoogleLyricsPlugin.apk
GoogleLyricsPlugin.odex
HTMLViewer.apk
HTMLViewer.odex
Hangouts.apk
Hangouts.odex
HoloSpiralWallpaper.apk
HoloSpiralWallpaper.odex
IddAgent.apk
IddAgent.odex
Iengine.apk
Iengine.odex
ImageEnhancer.apk
ImageEnhancer.odex
IntelligenceBacklight.apk
IntelligenceBacklight.odex
IntelligenceSettings.apk
IntelligenceSettings.odex
IntelligentRotation.apk
IntelligentRotation.odex
LiveWallpapers.apk
LiveWallpapers.odex
LocationBasedWifi.apk
LocationBasedWifi.odex
Magazines.apk
Magazines.odex
MagicSmokeWallpapers.apk
MagicSmokeWallpapers.odex
Maps.apk
Maps.odex
Music2.apk
Music2.odex
NoiseField.apk
NoiseField.odex
OmaDownload.apk
OmaDownload.odex
OmaV1AgentDownloadServices.apk
OmaV1AgentDownloadServices.odex
PartnerBookmarksProvider.apk
PartnerBookmarksProvider.odex
PhaseBeam.apk
PhaseBeam.odex
PhotoSlideshow.apk
PhotoSlideshow.odex
PhotoTable.apk
PhotoTable.odex
PhotoWidget.apk
PhotoWidget.odex
PlusOne.apk
PlusOne.odex
PrintSpooler.apk
PrintSpooler.odex
RemoteControlService.apk
RemoteControlService.odex
RemoteFileAccess.apk
RemoteFileAccess.odex
RemoteStorageService.apk
RemoteStorageService.odex
SelfPortrait-Aries.apk
SelfPortrait-Aries.odex
SemcAutoPowerOff.apk
SemcAutoPowerOff.odex
SemcCrashMonitor.apk
SemcCrashMonitor.odex
SemcMetadataCleanup.apk
SemcMetadataCleanup.odex
SemcSimDetection.apk
SemcSimDetection.odex
SemcTvLauncher.apk
SemcTvLauncher.odex
SemcWarrantyTime.apk
SemcWarrantyTime.odex
SimContacts.apk
SimContacts.odex
SmallApp-Calculator.apk
SmallApp-Calculator.odex
SmallApp-Timer.apk
SmallApp-Timer.odex
SmallAppManagerService.apk
SmallAppManagerService.odex
SmallAppWidget.apk
SmallAppWidget.odex
SmallAppsFramework.apk
SmallAppsFramework.odex
SmallAppsLauncher.apk
SmallAppsLauncher.odex
SomcCameraWidget.apk
SomcCameraWidget.odex
SomcDlna.apk
SomcDlna.odex
SomcLifeLog.apk
SomcLifeLog.odex
SomcMovieCreatorRmm.apk
SomcMovieCreatorRmm.odex
SomcPOBox.apk
SomcPOBox.odex
SomcSketch.apk
SomcSketch.odex
SonyEntrance.apk
SonyEntrance.odex
SonySelect-ed.apk
SonySelect-ed.odex
StartupFlagV2.apk
StartupFlagV2.odex
Stk.apk
Stk.odex
Street.apk
Street.odex
SyncHub.apk
SyncHub.odex
Tasks.apk
Tasks.odex
Theme001.apk
Theme001.odex
Theme002.apk
Theme002.odex
Theme003.apk
Theme003.odex
Theme004.apk
Theme004.odex
Theme005.apk
Theme005.odex
Theme006.apk
Theme006.odex
TopContactsWidget.apk
TopContactsWidget.odex
TouchBlock.apk
TouchBlock.odex
TouchFilterPackageSwitchService.apk
TouchFilterPackageSwitchService.odex
UnsupportedHeadsetNotifier.apk
UnsupportedHeadsetNotifier.odex
UserDataLogging.apk
UserDataLogging.odex
VMwareReady.apk
VMwareReady.odex
Videos.apk
Videos.odex
VisualizationWallpapers.apk
VisualizationWallpapers.odex
WeatherWidget.apk
WeatherWidget.odex
WikipediaPlugin.apk
WikipediaPlugin.odex
WirelessControllerManagerService.apk
WirelessControllerManagerService.odex
WorldClockWidget.apk
WorldClockWidget.odex
YouTube.apk
YouTube.odex
YouTubeKaraokePlugin.apk
YouTubeKaraokePlugin.odex
YouTubePlugin.apk
YouTubePlugin.odex
com.sonyericsson.xhs.apk
com.sonyericsson.xhs.odex
com.sonymobile.xperialounge.services.apk
com.sonymobile.xperialounge.services.odex
cover-widget.apk
cover-widget.odex
device-monitor.apk
device-monitor.odex
gmail-reader-service.apk
gmail-reader-service.odex
ims.apk
ims.odex
phone-usage.apk
phone-usage.odex
sneiaccountmanager.apk
sneiaccountmanager.odex
talkback.apk
talkback.odex
textinput-chn.apk
textinput-chn.odex
white-balance.apk
white-balance.odex
/sytem/priv-app
BackupRestoreConfirmation.apk
BackupRestoreConfirmation.odex
CoverApp.apk
CoverApp.odex
DefaultCapabilities.apk
DefaultCapabilities.odex
EnterpriseService.apk
EnterpriseService.odex
Exchange2.apk
Exchange2.odex
FBCalendarSync.apk
FBCalendarSync.odex
FBMusicLike.apk
FBMusicLike.odex
GoogleBackupTransport.apk
GoogleBackupTransport.odex
GoogleFeedback.apk
GoogleFeedback.odex
GoogleKeep.apk
GoogleKeep.odex
InputDevices.apk
InputDevices.odex
IntelligentGesture.apk
IntelligentGesture.odex
MyXperia.apk
MyXperia.odex
OMAClientProvisioning.apk
OMAClientProvisioning.odex
OnlineRemoteCamera.apk
OnlineRemoteCamera.odex
PicoTts.apk
PicoTts.odex
SEMCFacebookProxy.apk
SEMCFacebookProxy.odex
SOMCTwitterAccount.apk
SOMCTwitterAccount.odex
SemcEmail.apk
SemcEmail.odex
SemcMusic.apk
SemcMusic.odex
SemcStorageChecker.apk
SemcStorageChecker.odex
SemcTvOut.apk
SemcTvOut.odex
SemcVideo.apk
SemcVideo.odex
ShareApplication.apk
ShareApplication.odex
SharedStorageBackup.apk
SharedStorageBackup.odex
Shell.apk
Shell.odex
SimlockUnlockApp.apk
SimlockUnlockApp.odex
SimpleHome.apk
SimpleHome.odex
SmartcardService.apk
SmartcardService.odex
SnpVUStore.apk
SnpVUStore.odex
SocialEngineCore.apk
SocialEngineCore.odex
SocialEngineFacebookPlugin.apk
SocialEngineFacebookPlugin.odex
SocialEngineFacebookShareFrwkPlugin.apk
SocialEngineFacebookShareFrwkPlugin.odex
SocialEnginePicasaPlugin.apk
SocialEnginePicasaPlugin.odex
SocialEngineTwitterShareFrwkPlugin.apk
SocialEngineTwitterShareFrwkPlugin.odex
SomcHotspot2Settings.apk
SomcHotspot2Settings.odex
SomcMirrorLinkManualSwitch.apk
SomcMirrorLinkManualSwitch.odex
SomcMirrorLinkServer.apk
SomcMirrorLinkServer.odex
SomcMirrorLinkSystem.apk
SomcMirrorLinkSystem.odex
SomcPhotoAnalyzer.apk
SomcPhotoAnalyzer.odex
SomcPlayAnywhere.apk
SomcPlayAnywhere.odex
SomcPodcast.apk
SomcPodcast.odex
SomcSeamlessTethering.apk
SomcSeamlessTethering.odex
SomcWifiDisplay.apk
SomcWifiDisplay.odex
SoundPhotoCamera.apk
SoundPhotoCamera.odex
Tag.apk
Tag.odex
TimeShiftCamera.apk
TimeShiftCamera.odex
UpdateCenter.apk
UpdateCenter.odex
Velvet.apk
Velvet.odex
VpnDialogs.apk
VpnDialogs.odex
ar-effect.apk
ar-effect.odex
bgdefocus.apk
bgdefocus.odex
com.bambuser.sociallive.apk
com.bambuser.sociallive.odex
enhancedusbux.apk
enhancedusbux.odex
filecommander.apk
filecommander.odex
helpapp.apk
helpapp.odex
infoeye.apk
infoeye.odex
livewaremanager.apk
livewaremanager.odex
retaildemo.apk
retaildemo.odex
usb-mtp-backup-transport.apk
usb-mtp-backup-transport.odex
usb-mtp-factoryreset-wrapper.apk
usb-mtp-factoryreset-wrapper.odex
usb-mtp-marlin-wrapper.apk
usb-mtp-marlin-wrapper.odex
usb-mtp-update-wrapper.apk
usb-mtp-update-wrapper.odex
usb-mtp-vendor-extension-service.apk
usb-mtp-vendor-extension-service.odex
HOW TO RESTORE SOMETHING
PS. of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
In the hidden field below you will find the restoring instructions you need to follow to restore any package you may want back:
According to what you want to restore, you have to follow two different procedures:
- all the APKs that are inside /system/__Backup/various/etc_custom_apps and /system/__Backup/various/etc_prod_apps are regular APKs that are going to be installed in /data, so you can just run them and then select "install" like a normal APK, easy. You will then see them in Settings > applications > downloaded
- instead, all the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE both "Chrome.apk" and "Chrome.odex" files to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE both "Velvet.apk" and "Velvet.odex" files to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
Many THANKS @ondrejvaroscak and @Puffin617 for some very good advices, @mj084 for some packages descriptions :good:
Click to expand...
Click to collapse
And what if I am on lollipop? How do I get this package installed? Do you have an all-in-one with the firmware together?
So if I would remove all this, and need to do a factory reset. Will it still be possible or would it crash totally?
Skickat från min C6903 via Tapatalk
alwaysbelieve1 said:
I
And what if I am on lollipop? How do I get this package installed? Do you have an all-in-one with the firmware together?
Click to expand...
Click to collapse
mate look beginning of OP, red part, there is a link to a semi-all-in-one solution there, very similar to the one i made for LP
not completely all-in-one for now as you will need to flash multiple files for now, but it's very easy, and btw next week I'll upload a real all-in-one KK solution too (need fast connection to upload it )
btw if you follow all instructions in the linked thread, you'll already end up with a working debloated and modded install very similar to the one i made for LP, but this time KK based
Kfdjrk said:
So if I would remove all this, and need to do a factory reset. Will it still be possible or would it crash totally?
Skickat från min C6903 via Tapatalk
Click to expand...
Click to collapse
not sure to understand correctly your question.. you mean what will happen if you flash the debloating script now, and later you will need to do a factory reset?
if so, it won't be a problem at all, as my script affect mostly system partition, while factory resetting you are likely to touch only data and cache partitions.. so after factory resetting you'll still have system partition untouched and still debloated, unless you'll wipe system too and reflash another full FW
moly82 said:
mate look beginning of OP, red part, there is a link to a semi-all-in-one solution there, very similar to the one i made for LP
not completely all-in-one for now as you will need to flash multiple files for now, but it's very easy, and btw next week I'll upload a real all-in-one KK solution too (need fast connection to upload it )
btw if you follow all instructions in the linked thread, you'll already end up with a working debloated and modded install very similar to the one i made for LP, but this time KK based
not sure to understand correctly your question.. you mean what will happen if you flash the debloating script now, and later you will need to do a factory reset?
if so, it won't be a problem at all, as my script affect mostly system partition, while factory resetting you are likely to touch only data and cache partitions.. so after factory resetting you'll still have system partition untouched and still debloated, unless you'll wipe system too and reflash another full FW
Click to expand...
Click to collapse
I'll probably wait till next week unless I get really bored and decide to pull the plug. Is it going to be quite noticeable of a difference compared to lollipop? Mainly I'm looking for battery life.
alwaysbelieve1 said:
I'll probably wait till next week unless I get really bored and decide to pull the plug. Is it going to be quite noticeable of a difference compared to lollipop? Mainly I'm looking for battery life.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=62680704
my battery stats
@moly82 can u please tell me how to reenabke NFC?I tryied to send something with undroid beam without luck!
forget it dude all OK!
dead link
The Dropbox link is dead
dunno why links are dead..stuff is still there in my DB! here it is btw
FcukBloat said:
dunno why links are dead..stuff is still there in my DB! here it is btw
Click to expand...
Click to collapse
this also removes the drm based optimizations...
yes those fake things...
Skinny MIUI is all about preserving the good; Working premium drivers for Camera, CPU control, Notification LEDs, Bluetooth, FM Radio etc. while resolving what is bad in the stock offering.
All deletions assume the user has absolutely no interest in being part of the Xiaomi ecosphere. Leave now if that is not you.
This guide applies to MIUI stable versions 7.1.1 thru to 7.2.5 only. Developer, Beta or Eng versions are not good candidates.
STAGE 1:
Boot.img mods: (this is not creating a custom kernel!!!)
The stock boot.img is unpacked, init.d support added and many entries that are not relevant to our hardware removed.
Disabling lines trying to load non-existent services from init.rc, init.mt6795.rc and ueventd.rc etc. stops a bit of churning on each and every boot and frees up a bit of RAM.
There are intentionally no other tweaks contained within the boot.img. All tweaks are done in init.d scripts accessible outside the boot.img.
Note: This boot image made from 7.1.4 will work back to ver 7.1.1 and forward to 7.2.50 / 6.3.31 and is superior to the stock boot images contained in those ROMs.
At this point you can flash the modified boot.img to your phone if you already have a stock MIUI 7.1.1 to 7.2.50 installation that you are going to keep.
If you are going to do a clean install, replace the boot.img in your ROM zip file with this modified one. (backup the original first)
The boot.img is found here: (Now links to folder with all versions available)
https://drive.google.com/folderview?id=0BwdRTuyj12_yRk9Kcm1pZkxuZzg&usp=sharing
STAGE 2:
Full install:
I recommend you install my TWRP 3.02-2 version from here:
https://drive.google.com/open?id=0BwdRTuyj12_yWWp0SUpGV1pzT1k
Before installing your chosen ROM:
Check that the updater script found: \META-INF\com\google\android\updater-script is not going to install Preloader, Uboot (lk), Recovery or logo partitions. If so, edit the updater-script to prevent this happening. This is to reduce the risk of a soft-brick or being locked out of your phone.
Do a factory reset in TWRP (wipe Data, Dalvik, Cache) before installing any ROM.
Install your chosen ROM. Trying to slim down the ROM before install is an arduous affair which tends to end in bootloops so we leave the original ROM alone in this respect..
Do the install without connecting to mobile or WiFi networks and just skip at screens prompting for network connectivity and creating accounts.
Reboot into TWRP once finished with the initial Setup to avoid Recovery from being deleted on first boot.
Install an updated SuperSU zip package from TWRP recovery - V2.46 to 2.71 work equally well.
Do not install a root package other than SuperSU - most online ones are malware!
Update the outdated and incomplete Busybox installation. I have created a TWRP flashable zip to upgrade to the latest version 1.25.0. This is the second edition which has better binaries and no longer creates symlinks to busybox commands.
https://drive.google.com/open?id=0BwdRTuyj12_yd0s1QmNLRzdveFk
Now install a root capable filemanager (Root Explorer or Total Commander recommended). Open it and gain root permissions. Open /etc/perfservscntbl.txt in a text editor and edit as follows:
Code:
CMD_SET_CPU_FREQ, SCN_APP_TOUCH, 403000
CMD_SET_CPU_CORE, SCN_APP_TOUCH, 1
This will lower the number of cores used and the frequency at which it runs when a screen touch is detected (referred to as Touch Boost) Changes are activated on reboot.
Now create a file named 01_tweaks in the /etc/init.d folder. Change the permission of the file to 0755
Tips on creating scripts:
The EOL(end-of-line) characters must be in Unix format - not Windows. Make sure you are using a text editor that saves in Unix format.
Note also that many script files need a blank line at the end to work correctly. Get in the habit of always doing this whether needed or not.
Any line starting with a # character and anything after a # character on a line is not processed and is referred to as "commented out"
Script files must start with the header #!/system/bin/sh as the first line.
Init.d scripts are processed in alpha-numeric filename order hence the common usage of 01_xxx, 02_xxx format for names.
Copy these lines into the 01_tweaks file: Note: Different values for 2.2GHz cpu and freq limited operation.
Code:
#!/system/bin/sh
### Tweak Interactive CPU Governor
echo 806000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo "90 403000:80 806000:85 1326000:90 1625000:95 1950000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 32000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 10000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
### Tweak IO Scheduler
echo deadline > /sys/block/mmcblk0/queue/scheduler ### choose between cfq, bfq or deadline
### Enable this line if using cfq or bfq scheduler only
# echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 256 > /sys/block/mmcblk0/queue/read_ahead_kb
### Enable zram swap
# echo 1073741824 > /sys/block/zram0/disksize ### 536870912 = 512MB 1073741824 = 1GB
# /system/bin/tiny_mkswap /dev/block/zram0
# /system/bin/tiny_swapon /dev/block/zram0
### Tweak Entropy to avoid regular depletion of available pool
echo 512 > /proc/sys/kernel/random/read_wakeup_threshold
echo 1024 > /proc/sys/kernel/random/write_wakeup_threshold
#Tweak for wifi router connection issues
#echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
### FSTRIM: Enable once after installation is finalized and then monthly ##### needs an updated busybox installation to work
# busybox fstrim /data
# busybox fstrim /cache
# busybox fstrim /system
Options: Add / replace lines to do the following:
1. freq limit a 2GHz cpu to 1781MHz (recommended setting)
echo "90 403000:80 806000:85 1326000:90 1625000:95 1781000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 1781000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1781000 > /proc/cpufreq/cpufreq_limited_max_freq_by_user
2. Full speed 2.2GHz cpu
echo "90 403000:80 806000:85 1326000:90 1664000:95 2158000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
3. freq limit a 2.2GHz cpu to 1885MHz (recommended setting)
echo "90 403000:80 806000:85 1326000:90 1664000:95 1885000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 1885000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1885000 > /proc/cpufreq/cpufreq_limited_max_freq_by_user
4. Add a limit to the maximum number of cpu cores allowed to come online (for possible battery saving maybe...)
#Limit max cpu cores available (range 2 - 8)
echo 4 > /proc/hps/num_limit_low_batt
echo 4 > /proc/hps/num_limit_power_serv
echo 4 > /proc/hps/num_limit_thermal
echo 4 > /proc/hps/num_limit_ultra_power_saving
Edit /system/build.prop. Change the line: ro.sf.lcd_density from the default 480 to a value between 400 (everything smaller, more on screen) to 520 (everything larger, less on screen) to suit your taste and eyesight. You can test this out first by issuing the wm density command in a terminal app. e.g wm density 440 will immediately change the density to 440dpi, wm density reset will put it back to whatever the build.prop setting is. Adjust the text size in Settings in conjunction with this to get the best result.
At this point you have a functional set of tweaks that are all tested and proven to provide a battery and performance improvement. There are a lot of detrimental or placebo tweaks out there so be a little bit discerning in what else you add to these tweaks - sometimes less is more. Now is not the time to load up those tweaks!
Do a TWRP backup of System, Data, Boot and NVram partition now to save your efforts up to this point.
STAGE 3:
Now its time to get Skinny: You will need an app that can uninstall and freeze system apps. I use SD Maids App Control feature for this purpose.
Warning: If you intend to use app lock, you will unfortunately need to keep some fingerprint service files. See the post below and a few before it to understand the problem. Thanks to @DarthJabba9 for his work.
I believe that app lock also disables MIUI Optimization if enabled.
http://forum.xda-developers.com/showpost.php?p=67242356&postcount=583
First phase is to get rid of the obvious bloat apps and Xiaomi in-house apps....these in the list below are safe to remove.
Tick off what you have removed and reboot each 10 or so deletions and backup, don't try to delete everything in one hit as you will end up stuck at boot.
WARNING: This removes some functionality that may be useful to some users. You either want the function or you don't - it is your finger pressing the buttons!
Some people may choose to keep the MIUI Home Launcher interface. In this case, keep MIUI Wallpaper as well.
Must keep these - Do not delete:
Updater - disable autostarts, do not freeze
Theme Manager - disable autostarts
Security (com.miui.securitycenter) - leave as-is
FwkPlugin
Network Assistant app
MiuiSDK - disable autostarts
AuthManager
Webview (update via Playstore once install finished)
Xiaomi service framework - disable autostarts, freeze app
Definitely O.K to delete list:
Wallpaper Apps:
Android Live Wallpapers
Black Hole
Bubbles
com.android.wallpaper.holospiral
Live Wallpaper Picker
Music Visualization Wallpapers
Phase Beam
Photo Screensavers
*Miui MiWallpaper * keep if also keeping MIUI Home Launcher.
Xiaomi/MTK Apps:
Analytics
Assistant
Back up Home screen layout (cloud backup)
Backup - delete if you don't use it (use TWRP instead)
Battery Warning - deleting this does not affect battery charging or display
Battery Saver - deleting this improves battery life
Blocklist (AntiSpam) - delete if you don't use it
com.miui.mipub
File Explorer - delete (you should already have a root capable file browser)
Find device - use the generic Google version if you really must, not the Xiaomi one supplied.
FingerprintService
FPCSensorTestTool
FTPreCheck
FWUpgrade
gallery (com.mfashiongallery.emag daily wallpapers)
Games
Home screen
JeejenMIUIContainer
com.securitycore.miui_t (Tencent virus scanner plugin to Security Center)
KLO Bug report
LocationEM2
Metok
MI Account
Mi Cloud
Mi Credit
Mi Drop
Mi Home
MI Service Security Framework
Mi VIP
Mi Voice
Mi Wallet
Miravision
MTKAndroidSuiteDaemon
MtkFloatMenu
MTKLogger
Music
MusicFx
Notes - if you don't use it, delete it.
PowerKeeper (Battery Saver) - deleting this improves battery life
Report Bug
Security service plugin (not securitycenter app)
SystemAd
System Launcher (Miui Home) replace with an alternative Launcher, allow autostart in Security first then delete. ADW Launcher recommended for lightweight and simple functionality (set to 4x6 looks good).
Traffic Control
Uniplay
UpgradeSys
VCalendar
Video
Voice Unlock
VoiceAssist
Weather
Weather provider
Whetstone delete app and delete folder /etc/WhetstonePermission ****Whetstone is linked with several other apps to make it hard to get rid of. It may cause some temporary FC issues - these will pass.
Xiaomi Assistant
Yellow Pages
com.jeejen.knowledge
com.jeejen.store
com.ximalaya.ting.android
com.xiaomi pass
com.xiaomi.o2o
com.xiaomi.jr
Cheetah Mobile CleanMaster SDK + Cleaner - delete
NetworkLocation (com.baidu.map.location) delete app, delete folder: /system/vendor/operator and delete corpses
Android/Google Apps:
Browser - suggest replace with Polarity Browser - minimal permissions required, Ad Blocking, lightweight and fast
Documents
Google Keyboard - replace with something lighter - Hackers Keyboard v1.38.2 recommended
Google Pinyin input
Google Feedback
Google partnersetup
HTML Viewer
Email
Mail
Pico TTS
Print Spooler
com.android.browser.provider
PacProcessor
Note: If you have apps reappear as if by magic, they are being reconstructed from cached information. SD Maid has an excellent "Corpse Finder" function that will delete the orphaned files and prevent this happening. Clear corpses after each reboot.
Second phase is to toggle off the autostarts (receivers) on the apps that do not need to start by default. This is not the same as freezing an app. Some apps will still start by themselves - do not worry too much about this.
Atci_service
Backup
Blocklist
com.mediatek.batterywarning
Download Manager
Google Contacts Sync
Google One Time Init
MIUI SDK (don't freeze)
MTK NLP Service
Notes
One Time Init
Sim Toolkit
Themes (Theme Manager)
Updater
Xiaomi service framework (should also be frozen)
Third phase is to clean up left behind folders and files
/data/miui/app/customized/ remove any app folders that you have uninstalled
/data/miui/app/noncustomized/ remove any app folders that you have uninstalled
delete folder /data/miui/mms
delete folder /data/miui/gallery
delete contents of /data/miui/cust
delete folder /etc/jeejen
delete etc/voicecommand and etc/voiceextension folders if you have removed voice related apps
delete /system/tts folder if you have removed Pico TTS
delete folder /system/etc/radv
/etc/fake_cdrom_install.iso - delete file
/etc/IAmCdRom.iso - delete file
/system/addon.d delete folder
/system/app/jjcontainer/ - delete folder
/system/app/jjhome/ - delete folder
/system/app/jjknowledge/ - delete folder
/system/app/jjstore/ - delete folder
Libs you can remove:
/vendor/lib
libfingerprint_tac.so
libfpcalgorithm.so
/vendor/lib64
libcom_fingerprints_productiontestmanager.so
libcom_fingerprints_sensor.so
libfingerprint_tac.so
/system/lib
libcaFingerPrintShared.so
libcom_fingerprints_service.so
libfamily_jni.so
libjeejenAisound.so
libjeejenmsc.so
libMiraVision_jni.so (if deleted MiraVision App)
libpatcher_game_jni
libvoicerecognition.so (if voice recognition apps deleted)
libvoicerecognition_jni.so (if voice recognition apps deleted)
libweibosdkcore.so
libwhetstone_jni.so (if deleted Whetstone App)
libwhetstone_sdk.so (if deleted Whetstone App)
libxiaomimediaplayer.so (if xiaomi media player deleted)
libxiaomimediaplayerwrapper.so (if xiaomi media player deleted)
/system/lib64
libairtunes_jni.so
libairtunes.so
libBankCardRecognizer.so
libcaFingerPrintShared.so
libcom_fingerprints_service.so
libduokantext.so
libjni_latinimegoogle.so (if deleted Google keyboard)
libjni_pacprocessor.so (if deleted PacProcessor)
libMiraVision_jni.so (if deleted MiraVision App)
libpatcher_game_jni.so
libttspico.so
libweibosdkcore.so
libwhetstone_jni.so (if deleted Whetstone App)
libwhetstone_sdk.so (if deleted Whetstone App)
libxmpass_sdk_patcher.so
xmpass_libweibosdkcore.so
Establish network connectivity.
If Gapps is required but not installed, download open_gapps-arm64-5.0-pico version. You can install individual extra Google apps at any stage later on.
Go through all MIUI Settings and turn off everything you do not need running.
Install your favorite media player, web browser etc. to replace the deleted original apps.
Can replace Calendar and Messenger with Google Calendar and Google Messenger to remove some more Xiaomi dependencies. Contacts & Dialer are much harder to replace - True Phone is the only viable option.
To further limit Xiaomi unsolicited communications, rename (or delete) /system/xbin/tunman to tunmanbak. (This is a tunneling protocol driver that Xiaomi uses without your knowledge or permission).
The startup is disabled in the boot.img but it can still be started after boot unless renamed.
To skinny the Themes footprint:
Go to /system/media/theme/
Delete elder-default folder if no use.
Delete entire contents of miui_mod_icons folder
Delete items in /system/media/theme/default/ that are not going to be used.
Delete items in /system/media/lockscreen/ and /system/media/wallpaper/ that are not going to be used.
Now install your favorite app for monitoring CPU parameters and make sure that on idle, there is only one cpu core running and it sits predominantly on 403MHz. It will jump a little bit but that is normal with the inevitable background activities. Increase the timer_rate if you want more stability at idle rather than cranking up the load figures too far. Up to 50000 or down to 30000 is O.K (remember we are talking microseconds here so 50000 = 50mS)
Congratulations! You now you have a "Super Skinny" MIUI installation. Do a backup now!!!!
Now you will feel the AOSP shining through - and still you have working everything!
This post will list useful tools and items that need further investigation.
Apps for finding and disabling things:
Wakelock Detector-Root - monitor and records wakelock activity
GSAM - monitors what apps / services are consuming battery
Disable Service - disable services started on an app by app basis
SD Maid, Titanium Backup - Freeze / remove apps, toggle autostarts (receivers)
Modify your quick start grid size:
https://drive.google.com/file/d/0BwdRTuyj12_yYlphU3A0UWprcXc/view?usp=sharing
Modify MIUI Homescreen grid:
https://mega.nz/#F!yJdkxbBa!WSIqrhwUQwD7qjzxOuo1Yw
Issues:
Find a way to completely disable XMPush service with and without Xiaomi services framework installed.
Xiaomi Services Framework causes Sim connectivity issues if deleted - do not delete. There will always be one XMPush instance running.
Find out what is causing Audio On wakelock reported by GSAM
Quote: Originally Posted by DarthJabba9
With regard to the "Audio On" wakelock (aka AudioMix Wakelock) reported bt GSAM, I found this somewhere in this forum: "The nexus 6 had the same wakelock and most of us got rid of it by unchecking "use NuPlayer" in developer options". I have now unchecked that option, and will see over the next day or so whether it resolves the problem. This appears to be the fix
What triggers no sim / no service errors
Removing Xiaomi Services Framework is the culprit
Why do some files / folders not show up in root filemanagers?
MIUI locks the files / folders to prevent them being used or shown.
Why does zram not work anymore?
Rename tiny_mkswap, tiny_swapon, tiny_swapoff to teeny_mkswap, teeny_swapon, teeny_swapoff
Make sure owner is root shell and permissions are 0755 for all 3 files.
edit the init.d script to reflect the change in filenames. Now it will work again!
Example full Skinny ROM based on MR7.2.30 ID:
This is how my phone is set up, it has 100% functionality, zero FCs and zero battery drain on idle. The init.d settings are exactly as provided. Compare the directory listings to your own to see what is deleted.
The other major variation to this is for people who want to keep MIUI Launcher (and MIUI Wallpaper), everything else should remain the same. This cost you a bit more RAM usage and slightly more cpu activity (less battery) but is still impressive compared to stock.
/system/app
ApplicationsProvider
AtciService
AutoDialer
BSPTelephonyDevTool
Bluetooth
CaptivePortalLogin
CertInstaller
DeskClock
DownloadProviderUi
DrmProvider
EngineerMode
EngineerModeSim
FM
GoogleCalendarSyncAdapter
GoogleContactsSyncAdapter
KeyChain
MTKThermalManager
MiuiCompass
NetworkAssistant2
NlpService
Omacp
PackageInstaller
Provision
SuperSU
SystemHelper
ThemeManager
Updater
UserDictionaryProvider
WebViewGoogle
XiaomiServiceFramework
YGPS
cit
mcRegistry
miui
miuisystem
/system/priv-app
AuthManager
BackupRestoreConfirmation
BarcodeScanner
CDS_INFO
CalendarProvider
ContactsProvider
DefaultContainerService
DownloadProvider
ExternalStorageProvider
FusedLocation
GoogleBackupTransport
GoogleLoginService
GoogleOneTimeInitializer
GoogleServicesFramework
InCallUI
InputDevices
ManagedProvisioning
MediaProvider
MiuiCamera
MiuiGallery
MiuiKeyguard
MiuiSystemUI
MmsService
OneTimeInitializer
Phonesky
PrebuiltGmsCore
ProxyHandler
SecurityCenter
Settings
SettingsProvider
SharedStorageBackup
Shell
Stk1
TeleService
Telecom
TelephonyProvider
VpnDialogs
WallpaperCropper
com.ghisler.android.TotalCommander ### Total Commander installed as system app
com.hb.dialer.free ### True Phone replacement for Xiaomi Contacts & Dialer
org.adw.launcher ### ADW Launcher installed as system app
Other base apps in /data/app:
com.google.android.apps.messaging ### replacement Google Messenger
com.google.android.calendar ### replacement Google Calendar
com.duokan.phone.remotecontroller ### stock IR remote controller app
pcr.browser.polarity ### Polarity Browser
com.grarak.kerneladiutor ### Kernel Adiutor * disable autostarts*
org.pocketworkstation.pckeyboard ### Hackerskeyboard-v1.38.2 replaces Google keyboard
jackpal.androidterm ### Android Terminal
Thanks a bunch for the info. This is exactly what I'm looking for (my slimming down attempts always resulted in bootloops, so I've been playing it pretty safe so far).
Is this something you repeat every time an update is being pushed to your RN2?
@elaurens By doing this you are forgoing the use of OTA Updates which will unravel everything you have achieved.
I had to go through quite a few bootloops before creating the "safe lists" - I suffer so you can all benefit.
If you are starting with 7.1.4 everything is perfect and needs no more updating
Keep your eye out for additions to these lists as I discover or remember them
I have tried this:
http://forum.xda-developers.com/red...d-enable-clearmotion-miui-based-roms-t3278552
to enable ClearMotion and can vouch for it being safe - as in no malware and no breaking things. It adds the following to Build.prop and puts some hacked drivers in /system/lib.
persist.sys.display.clearMotion=1
persist.clearMotion.fblevel.nrm=255
persist.clearMotion.fblevel.bdr=255
ro.mtk_clearmotion_support=1
ro.mtk_slow_motion_support=1
ro.mtk_16x_slowmotion_support=1
Is this a worthwhile thing to do? There are no negatives in doing so as far as I can see but I don't really have anything that can give this a proper workout.
Can anyone see a difference in video playback? (Must have hardware acceleration selected) I won't recommend this if there is no perceivable gain.
most of the stuff works fine, everything checks out, It's not really anything new, but i find it well written, and it's not just a "placebo build.prop tweaks edit" which is a +. its a smart thing to have it all in a single thread.
however there're some issues with init.d script. even if you get init working, sometimes it just simply wont apply any of the tweaks. interestingly enough, i forced it to create a new text file on every boot, and that works. not really sure whats causing this prob.
anyways, by some magic I eventually made it apply the script, not really sure if it was cause of the rom change, or just pure luck lol
@sikica133 and anyone else having init.d problems:
init.d problems are usually one of the following:
1. incorrect folder permissions.
2. incorrect file permissions
3. No line feed at the end of the file (blank line)
4. incomplete or missing Busybox install
5. missing header in the text
6. Loosing SU privileges
Check init.d folder has 0755 permissions
Check file has at least 0644 permissions
Check and/or insert a line feed at the end of the file
Install busybox on rails, run the cleanup and busybox install, uninstall busybox on rails after this (this gives you an up-to-date and more complete busybox installation)
First line of file must be exactly #!/system/bin/sh
Reinstall a fresh version of SuperSu through TWRP
I sometimes get caught out myself by editing a file on the PC and transferring it back without fixing permissions afterwards:silly:
I have the ultimate build.prop tweak that I will share with you all now, stand back, it is very powerful
persist.sys.use_qualcomm_performance_features_instead=1
nah, i was testing it with a updater-script doing 0755 on all scripts. busybox should be fine cause other scripts did their job. dunno, could be some funny issue on my end. works now, i was just wtf, everything works, this doesnt. no idea what was going one tbh, but it works
could be incompatibility with bbox and the script itself? im running it without feedline atm, and it applies it all. same script i used before when it didnt do anything.
MIUI 7.1.4 and I assume all other versions has a very old and incomplete version of busybox installed (I think it was v1.20?).
It does not have fstrim command (plus a few others) included which is why I recommend updating.
I tried init.d and 01_tweaks script (whith correct permissions).
The system is more time in 806 Mhz., deep sleep not works properly.
I use Stable 7.1.1 .
Deleting script, deep sleep works fine.
Need I install or update busybox for resolve my issue?
@Xabadou This script is the starting point. If you do not "skinny down" MIUI, there are so many things running in the background that you will find it difficult to sit on idle frequency.
How far into skinnying down have you gone?
Also, if you have a 2.2GHz cpu, the 2nd line below frequencies in bold must be modified to valid frequency for that cpu.
If you are not going to skinny down to a great extent, then it helps to bump some of the load settings up a touch.
These are the original lines:
echo 80 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 90 403000:70 806000:81 1183000:84 1326000:87 1469000:90 1625000:93 1781000:96 1950000:99 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
# for 2.2GHz cpu: echo 90 403000:70 806000:81 1183000:84 1326000:87 1482000:90 1664000:93 1885000:96 2158000:99 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
Modify to:
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 95 403000:75 806000:81 1183000:84 1326000:87 1469000:90 1625000:93 1781000:96 1950000:99 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
This is enough to get it to sit on 403MHz idle in most cases. If you go higher, you will start compromising smoothness. There are no problems at all with entering deep sleep.
If you are still having problems, you have an app running that is badly behaved - identify it and deal with it.
Refer back post #10, I mention why you should upgrade busybox.
I am running my phone beyond Super Skinny and loving it. Super stable and battery friendly while still being a performance beast. You should notice even at the point of trimming down to Skinny, this phone really starts to liven up.
jajk said:
I am running my phone beyond Super Skinny and loving it. Super stable and battery friendly while still being a performance beast. You should notice even at the point of trimming down to Skinny, this phone really starts to liven up.
Click to expand...
Click to collapse
Do you have a list of the apks (and directories) that you deleted in order to get the skinny ROM? Such a list would be useful for writing a script to automate the task.
P.S.: you might have noticed that I am a script fanatic - I generally find that it is less error-prone to automate such tasks with a script - and you only need to get the script right once.
I use stable 7.1.1 by xiaomi.eu whith your modded kernel and a lot of apps frozen (App Quarantine).
Modified kernel works very good.
Just now I have updated busybox.
I have 2.0 ghz version.
I will try again the script.
Clear Motion mod works fine in MIUI roms but you must use MX Player for play videos.
---------- Post added at 01:20 PM ---------- Previous post was at 01:11 PM ----------
persist.sys.use_qualcomm_performance_features_inst ead=1
Works qualcomm tweaks whith mediatek processors?
@DarthJabba9 The lists ares already mentioned - 1 to get to skinny, 1 to get to super skinny but if you do this in a script on a live system you will likely end up in a bootloop because there are too many odex and cache entries orphaned for Android to handle in one hit. If you intend to apply a script to the ROM files before installation, that is a different story. It takes a bit of effort to figure out how and where MIUI is loading a lot of its components from but is doable.
Why I have not offered a complete ready to go package? It is too easy for users to do it themselves and add their preferences along the way. For those that have actually followed through with the process, I can guarantee that they will instantly loose interest in any other custom ROM.
@Xabadou Thanks for the clarification on ClearMotion. I run VLC set to hardware acceleration and can't see the split screen test mode. Video looks fine regardless, so really hard to tell if anything has changed.
Do the apps that you quarantine stay not running? I had problems with quite a few apps running regardless of being frozen or not so had to uninstall.
You, along with everyone else are not running a modified kernel - the kernel remains intact since we do not decompile and recompile or compile it from source.
The "persist.sys.use_qualcomm_performance_features_instead=1" tweak is a sarcastic dig at the many tweak offerings that do absolutely nothing:silly:
You asked the question showing you were not ready to accept this at face value:good:
If there is no evidence of a tweak doing something positive, don't blindly use it!!!
This is a customized boot image that provides init.d support and has unnecessary entries removed. No tweaks are embedded.
It is built on 7.1.4 and can be used on stock 7.1.1 to 7.1.4.
https://drive.google.com/file/d/0BwdRTuyj12_yR3phb0Zxd05UQjQ/view?usp=sharing
credits to @DarthJabba9 for the alternate init.d support method adopted in this image. It circumvents using busybox run-parts method that appears to have some bugs.
jajk said:
@DarthJabba9 The lists ares already mentioned - 1 to get to skinny, 1 to get to super skinny but if you do this in a script on a live system you will likely end up in a bootloop because there are too many odex and cache entries orphaned for Android to handle in one hit. If you intend to apply a script to the ROM files before installation, that is a different story. It takes a bit of effort to figure out how and where MIUI is loading a lot of its components from but is doable.
Why I have not offered a complete ready to go package? It is too easy for users to do it themselves and add their preferences along the way.
Click to expand...
Click to collapse
Fair enough ...
jajk said:
I will share my custom Super Skinny MIUI boot.img based on MIUI7.1.4 since it is now stable ... It is unpacked and repacked using AndroidMasterChef (downloaded from Needrom). I do not have problems unpacking and repacking again. If you try to unpack and have problems, use the same tool.
Click to expand...
Click to collapse
Thanks for the image. It cannot be unpacked with standard linux tools, but it unpacks ok with AndroidMasterChef.
I've been trying to get novalauncher to replace the firelauncher, and I can do so with launcher hijak, but to make it native, I just can't get it working. Im skilled in unix, but I'm new to android, and dealing with tablet/phone android systems.
Is there a specific set of instructions as to how to do this including moving the files to /system/app or /system/priv-app?
Some oddities I'm seeing.
First and foremost the names are a bit odd instead of com.teslacoilsw.launcher I see com.teslacoilsw.launcher-1. Maybe this is normal.
Posts reference just copying the apk from /data/app as if its a single file. For whatever reason, it appears as a folder both in ES File Browser, and the adb shell, with base.apk and a lib folder (which is empty). I have moved the entire folder from /data/app to /system/app or /system/priv-app, and changed the permissions on it to 744 with and without changing the perms on the base.apk IN the folder...but it simply doesn't work.
My goal is to replace the firelauncher with nova, as I like it much more, and I was trying to eliminate the "flicker" from the hijak solution.
I just did it yesterday by moving entire folder com.testlacoilsw.launcher-1 from /data/app to /system/priv-app, all folders 755(need execute to cd, that's what I always do with my unix folders, not sure if that's needed in this case), and the apk to 644. I am able to add widgets and swipe left to get google now in Nova, firelaucher disabled, no hijacklauncher.
freealta said:
I just did it yesterday by moving entire folder com.testlacoilsw.launcher-1 from /data/app to /system/priv-app, all folders 755(need execute to cd, that's what I always do with my unix folders, not sure if that's needed in this case), and the apk to 644. I am able to add widgets and swipe left to get google now in Nova, firelaucher disabled, no hijacklauncher.
Click to expand...
Click to collapse
How did you get it to be the launcher app that runs when the user logs in?
pm enable com.testlacoilsw.launcher and pm disable x.firelauncher?
cuilidh said:
How did you get it to be the launcher app that runs when the user logs in?
pm enable com.testlacoilsw.launcher and pm disable x.firelauncher?
Click to expand...
Click to collapse
I set Nova as the default launcher in Nova, it prompts you to do that when you get into Nova Settings, then pm disable com.amazon.firelauncher.
cuilidh said:
How did you get it to be the launcher app that runs when the user logs in?
pm enable com.testlacoilsw.launcher and pm disable x.firelauncher?
Click to expand...
Click to collapse
It must have been permissions, because now it appears to work. I haven't tried any widgets...and swipe left doesnt bring up google now, but at least the launcher is working.
Im going to try the step that gives nova privs...although I thought putting an app in /system/priv-app did that.
Download the attached file, rename it from .txt to .sh and place into the internal storage on the tablet then run:
Code:
adb shell appwidget grantbind --package com.teslacoilsw.launcher --user 0
This will get your widgets working
cuilidh said:
It must have been permissions, because now it appears to work. I haven't tried any widgets...and swipe left doesnt bring up google now, but at least the launcher is working.
Im going to try the step that gives nova privs...although I thought putting an app in /system/priv-app did that.
Click to expand...
Click to collapse
Make sure to install Google from the play store in order for swipe left to work, installing play store doesn't include Google. If you installed Nova correctly as a system app, widgets will work without doing anything else.
freealta said:
Make sure to install Google from the play store in order for swipe left to work, installing play store doesn't include Google. If you installed Nova correctly as a system app, widgets will work without doing anything else.
Click to expand...
Click to collapse
Yep, this was it.
What else should I be installing from the google store to get the best functionality? I'm entirely new to android.