FIX for using Boeffla 2.6 kernel on Gnabo V8 and V8 SE - Galaxy Note 8.0 (Tablet) Q&A, Help & Troubleshooti

I have been solidly using Gnabo V8 versions along with modded Boeffla kernels for stock touchwiz. During my experiances with mixing the two to get the best performance and usability, I have found some tricks to make a solid and very usable custom ROM that most WIFI only tablet users may find overall the best out there.
He key is what packages to use and how to configure.
Step one is removing unconfigureable or hidden settings that you cannot wipe. This makes sure what ever customizations you have done are gone and will not mess with how the installs function.
My way was to perform a clean for new ROM in Philz, and install a stock 4.4.2 ROM. When rebooting, power off by holding down the power key, and when powered off remove the back cover and disconnect the battery connector for 2 minutes. Reconnect and allow the stock ROM to finish installation setup. Make sure Bluetooth, wifi, miracast and other functions operate as they should. Once verified everything is functional, reboot into recovery and perform a full wipe for new ROM install, clear both caches, and install the Gnabo V8 version you have picked. DO NOT... Repeat do not install any other patches or additions outside of applying SU from Philz recovery and loading a SUupdate.zip. Reboot and perform the installation setup and let the tablet set for 15 minutes once the setup has placed you at the home screen.
You now have a clean base to start with further updating to Boeffla 2.6 Kernel and other minor patches to the apps that have been placed into the system.
Reboot into recovery and apply the Boeffla 2.6 kernel, and TiBackup.zip.
Once booted, remove the old Civato kernel utility and what ever apps you find useless. To add to your list of app removal for replacement... Video, Video Player, Music Sharing, Voice Note, Multimedia Service Layer, S Voice, and S Finder.
I will post all the apps and priv-apps in zipped folders for manual installation. They will fix some issues that were left uncorrected. Plus add features lost in Video playback, like play next, and sharing.
As for applying patches and Civato odexing tool, they cannot be installed through the recovery installer as they apply improper permissions and framework gets broken. Boeffla kernel doesn't work well with the framework.jar patch. Plus the 2.6 kernel has the Bluetooth fix built in. I will also include zipped folders of the patches to manually apply.
Along with the patch apks, I will include a zipped lib file collection to add further inhancements. One is to allow cropping in Photo Studio and a nicer way to clip videos.
Optional zipped folders to allow odexing, and fixed power off charging images.
Sounds like a lot, but with the zips being easy to place in a manually created system folder, all you need to do is run a few shell commands to allow 644 permissions and root users and owners. Then cut and paste into their respective folders.
Only TwFramework, Bluetooth.apk and Settings Provider will need to be copied over. The TwFramework is to remove the black bar on top, and Bluetooth.apk and secsettings.apk which fixes wallpaper functionality. Studdering is fixed by the kernel, and may not need bluetooth.apk replacement.
Right now i am messing with a few different Video.apk files for their stability and function, in wanting as many enhanced options as possible without FC issues.
Will start posting my zip files and instructions for permissions and using the odexing tool.
See post #2

Zip files and their permissions
The zipped bin folder has a single file. It should have 755 and 0 root 2000 shell
The zipped OdexerTool folder files should have 755 and 0 root 0 root.
Create the folder OdexerTool with 755 and 0 root 0 root as well.
The remaining zipped folder's files should have 644 and 0 root 0 root.
You will need to change face extension to zip or allow overide of detection by open as.
Will add more zipped folders... app, priv-app and lib in separate posts due to limitations on posting a reply.

PRIV-APP & Native Language files for Keyboard
All of the RAR folder's files should have 644 and 0 root 0 root, and are to be cut and pasted into their respective system folders.

Voice files for native languages.
The RAR files cover most of Europe, and outside countries, along with America, Canada, and Brazil.
Just find your local folder and set the permissions to have 755 and 0 root 0 root, and cut and paste into VODB. Inside the folder all files should be set to have 644 and 0 root 0 root permissions.

APP files for added features and patching.
Ok, I selected the best option for video... it has two looks. At and below a dpi setting of 197 it is white, and above it is dark. So most may like not being stuck one way or another.
Just set the permissions to 644 and 0 root 0 root, and cut in paste into the system app folder after removing video and other apps. That my not be over written.

LIBS for added 5 features and imaging
These are not required but are needed for using Studio and some S5 apps and or changing to another UI that supports S5 enhancements. There is more Stagefrieght capabilities as well.
You will need some of the apps and priv-apps to find the libs useful.

TWEAKS
Please note my attached build.prop is modified to use a tab 8.4 build and has a mix of system tweaks.
I have found a sweet spot with the Boeffla kernel utility... it gives great speed improvements without being tempermental.
Though, since I have been messing around with various system apk swaps... some small issues during tests were attibuted with the apk not playing well with the Gnabo ROM, not the kernel.
Since I have stablized my tweaking, the combination of ROM and kernel are stable enough to keep my tweaks permanent.
I set my governor to PegasusPlus with both internal and external memory to row. I use x633 64GB SD card, so slower speed types my need Bfq. I am able to get 2x to 4x the throughput with row row configuration. Noop performed the best for me, but was unstable under heavy loads, so I kept row as my safe optimal setting, running 256k for intenal cache and 2048k for my 64GB external memory.
CPU has been adjusted to 100mhz min to 1920mhz max with a -.025mv undervolt. I can run -.050mv undervolt but I find at heavy cpu usage it becomes unstable.
I set my GPU in a linear adjustment with the last 3 settings to push 700mhz with no undervolting.
Sound settings were minimal... only adjusted speaker gains to 60, as anything above caused distortion. Kept equalizer off and set mic gains to 31, with privacy mode enabled and DAC direct.
Display and LED, I turned off status and kept it disabled.
Misc 1, I set my power to 1800ma and ignore unstable power.
Tcp settings to LP.
Kernel delay is set to 0
Permissive, busybox and frandom set as enabled.
You will need to start busybox installer and remove installed busybox to run busybox from the kernel.

Samsung updates...
I usually don't bother with Samsung's gapps on updates, but I found that allowing quickconnect.apk to update made it worth while. I was familiar with Quick Connect when I used my personally modded stock 4.4.2 ROM with S3 UI and a bunch of S5 apps and libs, with a S2 Diamond ROM secsettings.apk. It was great but just felt too overly stretched to fit S5 apps proper. At the time I was happy but I could not tweak for best performance, as Boeffla Kernel was not available and stuck with Civato's kernel. I got use to Quick Connect being fully optioned, and it seems nobody had bothered using Quick Connect v1.6, so they would not know any different.
I tried a few tricks to get the update, and the best one was to use a stock untouched QuickConnect.apk, QuickConnect.odex, QuickConnectInteraction.apk and QuickConnectInteraction.odex. You will need to delete the data and remove them both before manually populating the files. Though the catch to making QuickConnect work is to only do QuickConnect files first and reboot, then do the QuickConnectInteraction files and reboot. Else QuickConnect will not work.
Oh another thing one must do... edit the system.db file and add QuickConnect in the list for it to show in the quick settings list.
The nice thing about the newer version of QuickConnect, is that it allows grouping your favorites on top of scanned devices, and you can relabel and assign images for personalization. The main reason I use QuickConnect is that I can eliminate two settings... Miracast and Bluetooth, and have other settings available without need to expand my quick settings list. QuickConnect also does a better job at mirracast functionality, as it disconnects without the bloody delay.

SFinder v1.100
After some more testings with various Sfinders... I found one that combines the S5 look and feel with tablet interface, and its speedy to boot.
Not sure if Samsung Content Agent helps, as it is an app I loaded in recently. Some SFinder apps use it and others don't.
I think my battery consumption has decreased since updating my Samsung apps. I get just about the same battery time with 4.4.2 as I do with my 4.2.2, which is a first. 11% per hour with miracasting while streaming is pretty good IMO.
If anyone is up to replacing their SFinder, here is v1.100

Related

[ROM+Kernel] ~*~ Bumblebee 2.4 ~*~ (6/25/2011)

UPDATED June 25, 2011
Bumblebee ROM 2.4
What's New
------ 6/25/2011 ------
Kernel source: bumblebee-kernel-r26-source.tgz
Code:
MD5 (bumblebee-kernel-r26-source.tgz) = 6fe10367094a0c609b76bc1694d3583a
------ 6/11/2011 ------
To upgrade from Bumblebee 2.3, wipe cache (and only cache) in recovery, then install the Bumblebee 2.4 zip (the install zip tries to wipe cache, but it is not always successful due to limitations in recovery, so it's best to manually wipe cache first then install). See below for more info if installing for the first time or coming from another ROM.
Kernel updates: accelerometer improvements (makes games using it more responsive), swap support, minor tweaks here and there. This is not the major new kernel which I've mentioned that I'm working on. That will be released when it's ready and completely stable, hopefully in a week or so (crossing fingers, but no guarantees).
ROM updates: Newly released update to Superuser (also with fixed signing key so it's upgradable via Market), No Frills CPU Control as a core app, updated core apps and system libraries.
------ 5/23/2011 ------
NOTE: Due to core changes in the system, I recommend a wipe for this update. A pain, I know; sorry about that. If you want to go a little crazy, you can try just wiping cache and dalvik-cache (first boot will still take a few minutes even with this shortcut). However, because the signing has changed on a few system apps, I cannot guarantee that this shortcut will work as the new keys may conflict with keys already stored in /data from a previous install. As always, if you have any issues, do a wipe. So, with that out of the way, on to what's new!
Shiny new Android boot animation (see below for an animated pic). Boot-up takes a few seconds longer, but it's so purdy you won't mind.
New built-in apps: GScript, Terminal emulator, and Text Editor.
Built-in settings updated to include Wifi AP Hotspot. Tether app, which was used to access the Hotspot settings before, is still installed as an easy way to create a desktop shortcut.
"ls" colors are now off by default, due to the Windows cmd.exe not being able to handle ANSI color codes properly when using adb. If you're on Linux, Mac, or another *nix environment, you can use the "lscolors" command to turn them on (it's sticky, you only need to do it once). In an adb shell, type "lscolors on" or "lscolors off" to turn them on or off permanently. You can also do this in the Terminal app on the phone, just be sure to "su" first.
Fixed a signing issue with some pre-installed upgradable apps (like Google Search and Voice Search) that made them non-upgradable. There should be no more issues with this now.
Updated ad-blocking /etc/hosts, and added a fix to the file for certain apps (like sl4a) that try to resolve localhost.
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Boot Animation
Class 2 sdcard read speed increase
<-before ... after ->
Class 4 sdcard read speed increase
<-before ... after ->
Recommended install order:
Backup current apps and their data with Titanium Backup (available in the Market).
Do a nandroid backup in recovery before doing anything else below.
Required if installing BB 2.x for the first time: Wipe. Wipe it all. Data, cache, system, dalvik-cache, sd-ext if you've got it (might need to look under Advanced or Mounts in recovery to do the last two, and while you're there format /system). If upgrading from BB 2.3, wipe cache (and only cache) in recovery.
If not upgrading from 2.3, install Wiper zip (see below), just to be extra sure that all is wiped. Don't reboot yet.
Install ROM zip (see below).
Optional. If you need the non-overclocked kernel (see below), install it now before rebooting.
Boot into the ROM. w00t!
Download any desired gapps from the Market (Gmail, Maps, Street View, YouTube).
Restore apps with Titanium Backup (not necessary if upgrading, all apps should remain). Do not restore system settings, wifi settings, or anything else except user-installed apps and their data. If you have any issues after restoring apps, launchers and possibly other root or system-related apps may need to be uninstalled and re-installed.
ROM: update_bb_rom_2.4.zip
Code:
MD5 (update_bb_rom_2.4.zip) = b92900a5a095f41702ec2905e9453039
Wiper: update_wiper_1.3.zip
Code:
MD5 (update_wiper_1.3.zip) = 9a72c3b3d108eb8f033637d7b51af027
Recovery: xionia_cwma_12518.4_virgin.zip
Code:
MD5 (xionia_cwma_12518.4_virgin.zip) = 12481185d4234fe4b0af9d8265e86fb0
Kernel-only. Included in ROM. Linked here for the curious. Not guaranteed to work on any other ROM. Contains the two init.d scripts to enable dalvik-cache to /cache and the sdcard speed tweak.
Overclocked kernel:
update_bb_oc_kernel_1.26.zip
Code:
MD5 (update_bb_oc_kernel_1.26.zip) = 746453ee4e91ee1cac43d5429d62a460
Non-overclocked (by default) kernel, for those whose phones can't handle the default overclocking. Can still be overclocked with SetCPU to find the best setting.
update_bb_no-oc_kernel_1.26.zip
Code:
MD5 (update_bb_no-oc_kernel_1.26.zip) = 91251b7dd57c4bba57092642774b3437
I had an idea a little different than just putting up a "donate" button. I also happen to be a composer/pianist. So if you like neo-classical new age, instead of "buying me a beer" with a small donation, why not purchase a couple of tracks from my album Deep Blue Goodbye on Amazon or iTunes, and get something in return that might even last longer than your phone.
-------------------------------------------------
The Bumblebee ROM
-------------------------------------------------
​
Includes the Bumblebee Kernel (see below). Overclocked to 768 by default with the interactive governor (480 min, 768 max). No need for SetCPU or No Frills CPU Control, but you can use them to overclock even higher and/or set a different governor and range. If you get reboots, back off on the CPU settings, or install the non-overclocked kernel (see above) and gradually increase speed.
Froyo 2.2.1 with lots of tweaks.
TWS 50% bug fixed in Android Framework. This is not an "Airplane Mode Toggle" hack, this is the real deal -- a bug fix in the Android Froyo source. This also fixes the issue where 3G data connection would get stuck after making or receiving a call.
Sdcard Speed Tweak, increases sdcard read speeds by 20% or more.
Dalvik-cache to /cache for 170MB+ free internal memory after a clean install.
Reboot and Recovery options in power button dialog.
"Factory Data Reset" is removed from Settings (it's probably still accessible through an Anycut shortcut if you look for it, but if you're dumb enough to create a shortcut to that, I can't help you. ). Hopefully no more bricks from trying to wipe via the phone Settings. The factory reset was the only option under "Privacy", so you will no longer see "Privacy" on the main Settings screen.
Wifi AP Hotspot settings are available through the main settings screen under Wireless settings. It is fully functional, infrastructure mode. "Tether" app is included to create an easy desktop shortcut.
Extra-purdy boot animation.
AppWidgetPicker included to make choosing widgets easier by grouping them together in the selection menu. Similar to CM-style widget choice.
All Apps and Frameworks deodexed
These Google apps are removed because they are available on the Market: Gmail, Maps, Street View, and YouTube.
GScript, Terminal emulator, and Text Editor included.
Activate app is here, but all other bloatware apps are gone. The Activate app is included to help reset data connection problems for some people with wonky radios. It also happens to be handy for situations where your account lapses or gets canceled and you actually need to re-activate the phone.
Note: When doing a full-wipe install, the Activate app will appear by default on the desktop. If your phone is currently activated with Virgin Mobile, the app will automatically be removed after a second or two. If your phone isn't activated, it will stay until you remove it from the desktop yourself or until your phone is activated.
Removed to save space: Non-english language TTS files; long music ringtones and music alarms (notifications and short alarms are not removed); some internal LG diagnostic sound files. The removed larger-sized ringtones are here. You can put these on the sdcard to save system space. Unzip and install with "adb push media /sdcard/". (TIP: put any ringtones you download into the /sdcard/media/audio/ringtones folder to save memory.)
SuperUser pre-installed (be sure to check the Market for any updates)
Latest versions of TalkBack, KickBack, and SoundBack. TalkBack is available as a keyboard input method. Activate Accessibility->TalkBack, long-press in a text area, select TalkBack. Do the tutorial, it's pretty cool.)
toolbox and busybox (1.18.4)
etc/hosts from mvps.org for free generalized adblocking. This doesn't block admob or apps that use custom adds. Some in-app ads are blocked, e.g. the top banner ads in WeatherBug and a few others, including ads in some games. Most website ads are blocked. YMMV.
init.d support in kernel. Included are two init.d scripts to move dalvik-cache to /cache and an sdcard speed tweak, mentioned above.
e2fsprogs and libs for creatings, checking, and resizing ext2/3/4 partitions. ext2/3/4 support is compiled into the kernel, but these binaries are useful in init.d scripts.
Installing
Don't do a factory data reset from within the phone settings menu. This has caused all kinds of problems with every ROM out there, although it may be related to the recovery you're using. Better to be safe and just don't do it that way. It's been removed from Bumblebee, but it's probably still there in your current ROM. Stay away.
If coming from another ROM, I always recommend a complete wipe. In recovery, wipe data and cache. Then, under "mounts and storage" or "advanced" (depending on your recovery), format boot, system, data, and cache, and wipe Dalvik-Cache if you have that option as well. Lastly, use the Wiper update zip above, which includes it own wipe functionality to be extra wipy. Then install the ROM.
Recommended recovery
I use the Xionia CWMA 1.2518.4 Virgin recovery (note: this is a direct download to the recovery, with flash_image and a short how-to, because the original download in the forums was not working). I find it works fairly well, even though it suffers from incomplete wipes sometimes (they all do). I can't answer questions about installing Bumblebee with other recoveries, so if you have problems, first change to the Xionia CWMA .4 Virgin recovery and try again. (Note: the Xionia 1.2518.6 CWMA recovery in the Optimus S forums is not compiled for the V, only the one linked above is. Some people find .6 works, some don't. I can only say that .4_virgin works for me and .6 didn't.) I also plan on releasing my own recovery with the Bumblebee kernel soon, so stay tuned.
Wiper update zip
This update zip does a full wipe. (Well, technically, it doesn't wipe the sdcard, just /sdcard/.android_secure, and it only cleans up the sd-ext, if you've got one, without formatting it. But just about everything else is wiped pretty good.)
Download the "wiper" update zip listed at the top of the post, and flash with recovery.
Bumblebee ROM update zip
If you don't do a wipe and you have any issues, force closes, etc, do a wipe (again, not a reset from the phone settings menu) and re-install before you report the issue here. Or try the Wiper zip above then re-install.
Download the ROM update zip listed at the top of the post, and flash with recovery.
-------------------------------------------------
The Bumblebee kernel
-------------------------------------------------
​
Compiled from the official bug-fixed LGVM670_02 source with the following patches and modules:
init.d support. Init scripts should be placed in /system/etc/init.d and are executed in order (convention is to begin the script filename with a 2-digit number so they are executed in numerical order). Note that /sdcard is mounted by the Android init system after the rest of the system has loaded, so init scripts should not attempt to access /sdcard unless mounting it is included in the script.
If you install Link2SD and have created the /system/etc/init.d directory, that app will create a script named 11link2sd to mount the ext2/3 partition. If you don't have an init.d directory, Link2SD will create /system/etc/install-recovery.sh as a place to put it's mount code (not to worry, the install-recovery.sh file doesn't exist in Bumblebee, so it will be empty except for the Link2SD code).
Regardless of the method, if you use Link2SD and you find that it's not working, it may be because Link2SD didn't set permissions properly on the file it created. To fix this, "adb remount", then "adb shell chmod +x /system/etc/init.d/11link2sd" (or /system/etc/install-recovery.sh).
Built-in AP Hotspot enabled
Compiled-in support for ext2/3/4. e2fs binaries and libs included.
Networking modules: tcp congestion avoidance (bic, h-tcp, westwood) and tunneling (ipip and gre)
CPU governors: interactive, conservative, ondemand, userspace, powersave, and performance. Info on most of these is here: SetCPU Documentation
The interactive governor is newer than the SetCPU docs. It is a dynamic governor that scales (if needed) when coming out of idle, instead of polling.
Overclocked. Default on boot is 480-768/interactive, but this can be changed with SetCPU, or the built-in No Fills CPU Control, to any value (valid range is 122-864). Get SetCPU from the market (donate version), or see this thread to download it free for XDA forum members (posted by the dev):
SetCPU for Root Users
Stability at the high-end values depends entirely on individual batches of CPUs. A stable max value for the V can be anywhere from 787 to 824 or higher, it just depends on the unique qualities of the batch your individual CPU came from.
My personal settings are 600-806/interactive and I get great battery life. With the screen off and 3G/wifi set to always be on, I see about 1% drain per hour. There's lots of discussion on the V and S subforums about CPU frequencies and battery life and optimal settings; feel free to browse them for all the interesting findings and info.
What Works
Everything.
Installing
NOTE: If you are installing the ROM, you don't need to download the kernel, it's included. The kernel is here as a separate download for those wishing to just use the kernel with their current ROM.
Download the kernel update zip listed at the top of the post, copy it to your sdcard, and flash with recovery (you can rename it update.zip if your recovery doesn't give you the option of selecting a zip to install).
If you're using a Virgin-based rom, you should generally be fine. If the ROM has replaced any of stock Virgin dynamic-link (*.so) library system files to play happy with their kernel, there may be issues, but that's almost impossible to predict. There are a bunch of those *.so lib files, so to install them all really requires installing a new ROM (like Bumblebee), not just a kernel. However, I've included most of everything that is required for all the hardware to work properly on boot, and if your ROM is mostly stock (e.g. Xionia_VM, Aphrodite, RomidusROM) there shouldn't be any noticeable problems. If the ROM you use has a kernel-less update after you've installed this kernel, you may need to re-install the kernel if any issues crop up.
As-is, the kernel will not work with CM7. I have a kernel install zip that does work, but only 98% (some sensors work, some don't), so I'll release it when it all works 100%.
Note on Key Mapping
Most kernels in the past for the V have been built from the Optimus S source, which reverses the Home and Menu keys due to slight hardware differences. Many of these kernels, and ROMS that use them, have altered the key layout system file to reverse those two keys. The Bumblebee kernel, coming from official source for the Optimus V, has the buttons mapped correctly already. As part of the installation process, it overwrites the existing key layout file with the original key maps, so that people coming from kernels and ROMS that swapped the keys won't find themselves with the keys reversed again. If you use Button Remapper or a similar app to set up other custom key maps, you will need to re-map those keys after installation.
-------------------------------------------------
​
Themes
I don't believe in ROM themes, so you won't find any here. You can do just about any customization you want with the various launcher replacement apps available in the Market (I'm partial to GO Launcher EX, myself).
Stay tuned for Kernel and ROM updates!
Wonderful!
Sent from my VM670 using Tapatalk
Excellent work. Any plans to put your config and kernel on github? Would be nice to integrate some cyanogenmod settings from CM6 into this!
Sent from my VM670 using XDA Premium App
dammitman said:
Excellent work. Any plans to put your config and kernel on github? Would be nice to integrate some cyanogenmod settings from CM6 into this!
Sent from my VM670 using XDA Premium App
Click to expand...
Click to collapse
I have been thinking about it. My current plans are to try and integrate the latest kernel from the aosp (the VM670 kernel source is 2.6.32.9, the most recent branch in aosp is 2.6.35.7). When I do that, I will put everything up on github.
Excellent description of the build! Thank you very much for very nice work
Can I flash from out-of-the-box-stock? Rooted of course...
Anyone got a black bar ready for this ROM?
slow88lx said:
Can I flash from out-of-the-box-stock? Rooted of course...
Click to expand...
Click to collapse
Yep, you sure can, assuming you have a recovery installed. See the first post for a recommended recovery. For your first flash, I would do the "full-wipe" install, since it will remove the bloatware on your phone. After that you can do the "no wipe" installs to upgrade with new versions.
ok noob here, I followed instructions to the letter and my "v" gets stuck and the droid boot screen...... Any thoughts ? Has that happened to anyone else ?
Can you please use mediafire for files?
It doesn't have the annoying timer.
gringo8831 said:
ok noob here, I followed instructions to the letter and my "v" gets stuck and the droid boot screen...... Any thoughts ? Has that happened to anyone else ?
Click to expand...
Click to collapse
Did you wipe? Which recovery are you using? Did you try the "full wipe" install zip? Were you coming from another ROM, or were you just stock-rooted?
Give me some more info and I can help you figure it out.
ok scratch my last post. I figured it out. Didnt do the delvik wipe and that solved my issue. Hey thanks for for this ROM. Most of the others that are out have problems with the mms not being able to send pix.
How does this compare to CM7 for battery life, speed, and features?
Sent from my LG Optimus V
DustbinK said:
How does this compare to CM7 for battery life, speed, and features?
Sent from my LG Optimus V
Click to expand...
Click to collapse
Battery life is much better. I get less than 1% drain per hour with wifi always on (even when the screen is off) and between 1%-2% per hour with 3G, data and sync always enabled. With normal use, I get a good 18 hours battery life, including phone calls, texts, browsing, videos, etc. With light use, I get over 24 hours. With CM7 I get around 5%-6% drain per hour in complete idle. I got about 10-12 hours with normal use before needing a charge.
Speed is better as well, but this is getting more subjective. The Bumblebee kernel is overclocked out of the box, so that does help. And don't believe the Quadrant scores, they are not accurate at all for CM7 (inflated almost double, sometimes more). There's a thread somewhere about it. Try both ROMS, see which one feels snappier.
As for features, well CM7 is tweaked Gingerbread, and Bumblebee is (mostly) stock Froyo. Also, CM7 has some things like notification-bar power controls that even stock Gingerbread doesn't have. However, bluetooth doesn't work with CM7 for the V, which has always been a deal-breaker for me. If bluetooth is not a big deal, and you can live with the shorter battery life, there's no reason not to use CM7, it's very nice apart from those 2 issues.
Can I use this Kernel with asops? I just installed 2.3.3 with the gApps, and then did the OC Kernel but it wouldn't boot at all. Just hung on the LG logo.
I reflashed again using asops and it is working again, would really like to get this thing OCed though. Any help?
nootered said:
Can I use this Kernel with asops? I just installed 2.3.3 with the gApps, and then did the OC Kernel but it wouldn't boot at all. Just hung on the LG logo.
I reflashed again using asops and it is working again, would really like to get this thing OCed though. Any help?
Click to expand...
Click to collapse
No, the kernel install zip is only for Froyo-based ROMs. I do have a testing kernel install that works 99% with aospCMod, but sensors don't work. It sure feels snappier than the default aospCMod kernel, and I'd love to get it working 100%. If I can figure out the problem with the sensors (and it's not just the sensors.thunderc.so file, or any other .so file as far as I can tell) then I'll post it as an alternative kernel for aospCMod.
Something that is odd, I had your ROM installed with your Kernel as well, and then I installed asops ROM and gApps ROMs. But the OC is still there, and it works perfectly. I have it running at 245-806MHz.
am I able to have conversations with wired headphones, or does this have the same problem as CM7 and it treats ANYTHING in the headphone jack as handsfree
rubyiris said:
am I able to have conversations with wired headphones, or does this have the same problem as CM7 and it treats ANYTHING in the headphone jack as handsfree
Click to expand...
Click to collapse
Wired headphones (and BT) work fine, it does not have the same problems as CM7.
hmm might have to give this rom a try for a while. Not gonna lie I greatly prefer cm7 but I think it needs a lot more polish before it can become my everyday rom (using it right now but it leaves much to be desired).
obijohn said:
...And don't believe the Quadrant scores, they are not accurate at all for CM7 (inflated almost double, sometimes more)...
Click to expand...
Click to collapse
Couldn't agree with you more about Quad scores. It's just a number. I ran a some quads the other day with aospCMod. I was getting an average of about 1100, but I had one that came up 4000+. I know my phone isn't that fast when EVO Shift clocked at 1.8Ghz is getting 3300 on the average. Don't take quad scores as an indicator of speed. If the phone feels fast and is reponsive then that should be good enough. Judge the speed by how it feels, not the score some benchmark gives.

IHO Poo Remover rev5 - 20110824

Should work for all Optimus V GB ROMs (aosp & IHO variants)
steps to modify:
extract
edit remove.sh script*
zip
sign
*works best in a unix editor. Notepad++ & Windows notepad sometimes screw with shell scripting handles new line something-or-other. In Windows I've used another free app Jedit for editing it and it seems to not give me 'installation aborted' msgs when installing the zip.
IHO Poo Remover rev5 (link updated)
comments on Email.apk: personally, I use it because it not only connects to Exchange servers but Hotmail email/contacts/calendar syncing can be set up directly in account settings with it there. instructions
Pls extract the zip & look at the remove.sh to see what I'm removing because I have my opinions. You can comment out & zip it back up to your tastes. If you have a variant you've made go ahead & post a link to it. Nice to compare what we each prefer.
In regards to ringtones & notifications I remove all but a basic ringtone. You can either add your own into the script- just drop them in the ringtones & notification subfolders or put additional ringtones on your sdcard in a folder made and named 'ringtones'.
Other notes is it removes a bunch of languages & adds a smaller English language.
I left in CMStats because I want Cyanogenmod to know we use it.
Don't know what Pacman.apk is so I have it commented out. May remove it if I figure out what it is.
Source on safe to remove apks and their purpose on Cyanogenmod wiki
rev5-
removed the sqlite tweaks as they didn't really do much on the IHO ROM
added removal of bootsound since it's an annoying idea
That SQLlite binary patch looks interesting. Looked at the source page, and they only have the /system/lib/libsqlite.so included, while your .zip includes /system/bin/sqlite3 too. I don't see a /bin/sqlite3 currently on my phone, what is the 2nd bin for?
jawz101 said:
Don't know what Pacman.apk is so I have it commented out. May remove it if I figure out what it is.
Click to expand...
Click to collapse
Pacman is run one time only. When you first sign into the market. It offers to download all the google apps at once. i.e. Maps, Facebook, Voice, Youtube, etc. I find it useful; since I use most of what pacman offers up. Hope that helps. I'll defiantly have to try poo remover. Love that name BTW.
I guess I left that part out, Whyzor. I'm pretty sure it's useless on its own but among these tweaks is a command that will vacuum the sqlite databases contained on the phone. I guess those that use those scripts would benefit from it most. I may take that piece out since I don't think it's being added completely (maybe not chmoding) because I end up having to run the chmod by hand sometimes. I could be wrong though and it may work.
Anyways, to actually use the sqlite3 you'd need a script like this one from FranciscoFranco, adjusted by mmarz . there's a portion of this script that vacuums the phone's databases. real-world benefits? It's likely negligible at best but I just threw it in there.
If you are ever interested I'd follow anything FranciscoFranco & Ungaze do- they're Optimus One tinkerers but they're obsessed with performance. Really anything they do is applicable to Android in general. Franco's Optimus One ROM is insane (xda) (github source)
I just replaced the /system/lib/libsqlite.so from the source thread you posted, set permission to be same as the other binaries, rebooted. Ran RL Benchmark and got the same, around 93 seconds overall score (using 245-600 ondemand CPU, IHO CM7.1. Are you getting the same performance?
UPDATE: If I overlock to 806 Mhz, was able to drop the overall time to 71 seconds, went back to original libsqlite.so and at the same clock speed, takes about 81 seconds. The performance gain is negligable given the corruption risk (and according to Blarf in the IHO thread, properly written apps won't see much of a benefit anyway).
yeah I'll probably take that out. It gave a noticeable improvement when I ran aosp. May also be that I'm not applying it correctly with this zip.
on aosp the RL Benchmark went from around 80 seconds down to maybe 45 seconds for comparison.
Probably best just have this as purely a bloat remover. Regardless, having it in there isn't messing anything up so this is still safe to use.
First off I love the poo remover. However, every time i edit the script, zip the package back up again, and sign it and then try to apply it the installation keeps getting aborted with CWM.
I have followed the instructions for windows, including using Jedit, and i have even tried with my macbook using a terminal session with pico.
i do sign the zip files also.
should i not include the stock folder META-INF in the altered script?
any help is greatly appreciated
that's usually what gets me is the editor I use to edit it with. I'd assume a macbook would be fine for editing it.
I usually remove these 3 files from the meta-inf folder before resigning as they get regenerated with that signing program (cert.rsa, cert.sf, manifest.mf). I don't know if that would affect anything but I've just been doing that out of habit.
Fortunately we understand what we're trying to do and really the only thing that's hanging it up is whatever the hiccup is.
It came down to making one change at a time until I got install aborted errors to stop
thanks much i will give it a shot
may want to try just unzipping it and rezipping it to see if that works.
Make sure you're zipping up the contents of the iho zip and not the actual folder.
Try it with & w/o signing it. If it works w/o signing it I'd leave that step out just so you can concentrate on editing the remove.sh script.
Possibly use a command line editor if your mac can do that (never used a mac)
issue is with unix line endings vs. windows/mac line endings
just found something if you're using Notepad++ try going to edit- EOL Conversion & switch it to Unix
i will look for another terminal editor and try that too.
i was originally using pico in the terminal.
when i was doing the editing of the remove.sh, i wanted to install the default ringtones and notifications.
do you think the restore that runs at the end of the removal is conflicting with it? I will give everything a shot today and let you know later what happens.
I'd just take those remove lines and audio folder out, put them in that audio folder, or just have a ringtone folder on your SD card
The restore is just adding stuff back
got it working
it was my stupid mistake of zipping the IHO folder and not the contents of the folder
so when i was signing it it created the META-INF folder and a IHO folder
Everything flashed and worked great
thanks again
I was interested in looking at this, but it no longer exists on mediafire. Any chance you can put it back up?
-John
Yeah.I will put it up tomorrow. It's also good to pm on old threads like this
I've been lazy... updated the post with a new link to the file. Sorry... been really slacking lately :/
It's the same poo remover revision5 from before. again, read the stuff at the top if you want to make changes.
I've honestly not been using my script for a long time but it's nice to have around.

[SCRIPT]Hardkey LED off & microSD read ahead cache.

I like a stripped down, fast, power efficient install of android on my LGOV, so I decided to post up two scripts that I use to achieve this. But 1st off I have to give credit where credit is due since I did not "invent / write" these bits of code. I just discovered them through other peoples work and adapted them to my situation / phone.
1st off is obijohn and his amazing Bumblebee v2.4 ROM which you can find here Bumblebee v2.4 ROM
2nd round of credits goes to mmraz for his "External Notification LED MOD" which can be found here External Notification LED MOD
3rd round of credits goes to just Googling and reading XDA threads about the LGOV which lead me to learn how to disable the bootup animation which shaved 20 seconds off of my boot time.
1) obijohn's Bumblebee ROM has a simple script in /system/etc/inid.d that modifies the SD read ahead cache from the stock 256KB to 1024KB in order to achieve greater Read performance. Well I ended up buying a 32GB Class 10 microSD card and found through testing (using SDtools and SD-Booster from the Google Play Market) that 1024KB was not the optimal setting for my new microSD card. I found that 3072KB was the sweet spot for my new microSD. But I didn't want to have an APP installed just to set the read ahead cache when I could set it via a script in /system/etc/init.d that would execute MUCH earlier than what the APP could set in the system. So I used obijohn's script and just modified his value of 1024KB up to 3072KB. The script will be attached to this post for you to put into your /system/etc/init.d. I'd suggest that you use the above mentioned APPS to determine the "sweet spot" for your read ahead cache then edit this script to reflect that change. Then uninstall those APPs so as to not waste space. this script is called 07sdspeedfix
2) mmraz's post dealt with adding a Notification LED for sms using SL4A, Tasker and 6 scripts to toggle on/off the capacitive LED's in the 4 hard keys on our phone. I didn't have any interest in a message LED, but I was interested in his scripts as they allowed me to use SL4A (and later Script Manager) to run his scripts to completely disable the LED's after boot in order to conserve power consumed by the 3 LED's that illuminate the 4 hard keys. This required me to use 3 scripts and SL4A or Script Manager and wait almost 150 seconds for the LED's to be turned off. After looking at his scripts, it occurred to me that I could strip down the scripts and put just 2 lines of code in 1 script in /system/etc/init.d to turn off the LED's within 5 seconds of the phone being turned on. And then I could uninstall SL4A & Tasker entirely so they were not consuming internal storage or running as background services. This script is called 10lights_out
if you want to use these scripts just download theme here and put them in /system/etc/init.d with and ensure permissions are set as rwxr-x---
3) This last item is just to disable the boot animation after the "LG" logo so as to shave ~15-20 seconds off of your boot time. There is not attachment for this. you just have to edit your /system/build.prop with the following line:
debug.sf.nobootanimation=1
With the two attached files you just have to "right click & Save As". Once you have saved the files just remove the .txt portion of the name and put them in the /system/etc/init.d folder. The XDA forums required a valid file extension name for me to upload them.

[MOD][15/06/12] Improve your One X multi tasking using script

Improve your One X multi-tasking using this simple and quick script!
User Feedback from this script:
"Nubzori: Thank you so much. After 10mins of testing, loaded bunch of apps, news, twitter, pulse, xda, chrome, clock, task manager, none of these refreshed"
Note: this script only works on roms that support init.d, it's been brought to my attention that init.d is not supported on some stock roms/kernels although it must be said; Why the hell would anyone want a stock rom??
UPDATE 15/06/12 - Thanks to Orical who has advised me this link here is a solution to those having problems with getting init.d scripts to work. This basically gives you the ability to enable init.d scripts in any rom!!!
Steps to installing script - EASIEST METHOD
1. Download this script of your choice and transfer to your phone (using USB cable or download direct to your phone or AIRDROID or whatever)
2. Rename from multitasking.txt to just multitasking (without any extensions) and place this in your /etc/init.d/ or system/etc/init.d (if you cannot see this, make sure your es file explorer is showing hidden files and folders which can be changed within the settings of es file explorer, also you need to make sure you go up to root directory which is again enabled within es file explorer)
3. You must be rooted to access this folder (make sure you set es file explorer to go up to root directory). These scripts alter the minfree values in your lowmemorykiller system module.
4. Once you have moved script file to init.d to mark as executable by clicking on script and setting permissions as executeable within es file explorer.
5. OR Just open the file and you can find several options, one you need is 'linux handler', choose that and next select execute option. It will now executed automatically.
Alternative method of installing script:
adb remount
adb push C:\Users\your name here\Desktop\multitaskingxtremextra system/etc/init.d
adb shell
chmod 644 system/etc/init.d/multitaskingxtremextra
adb reboot
From what I know of, the android system generally handles around about 5/6 apps in memory without any problems, any more apps and then you start getting refreshes, I've tested using LBE firewall (running as service), battery status, firefox with multible tabs open, gmail, messaging, gallery and the sense launcher (as this is an app as well). Any more and it starts recycling ram for some reason and you will get refresh on some apps (depends on which app)
Troubleshooting:
Can't find init.d, here is the answer:
Use the root explorer to copy it to system/etc/init.d
Just open the file and you can find several options, one you need is 'linux handler', choose that and next select execute option. It will now executed automatically.
The default values for the One X are:
STOCK ONE X TEGRA:
8192, 10240, 12288, 14336, 16384, 20480
My multitasking script alters this to:
2560,4096,6144,7680,8704,10240
My multitaskingxtreme script alters values to:
1536,2048,3584,5120,8704,10240
My multitaskingxtremeextra has the xtreme script as well as:
Dirtybackgroundratio 70
Dirty Ratio 90
VFScachepressure 10
And kill oom allocating task 1
my multitaskingultimate has the same as multitaskingextremeextra except the minfree values are more aggressive for the best multi tasking you can get on the one x
512,1024,1280,2048,3072,4096 - this is the best settings I have used for multitasking and have run 6/7 apps and some cases more without refreshing on a full SENSE 4 rom which is impressive if you ask me, the combination of apps where Firefox, Chrome, Gallery, Youtube, Dialer, etc.
You should notice that most apps will not reload when multitasking (except if you are intense gaming such as shadowgun or something intense like riptide), in some cases too many apps running will cause refresh if multi tasking, take note in the fact that htc senses software uses up alot of ram leaving little free as it is for other apps.
If you want to return to default values, simply delete the script from your init.d and reboot your android phone
If this has helped you please hit the Thanks button rather than post thanks!!
My test was using chrome beta, ebay, gallery, file explorer, ebookdroid, whatsapp, gmail, text message and all did not refresh whilst using,
I will also experiment with different scripts & methods and post any alternatives that may further improve multi tasking on the one x.
NOTE: I hold no responsibility should you damage your phone in anyway using this script. However damage is unlikely.
Information:
min free kbytes (vm.min_free_kbytes)
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
dirty ratio (vm.dirty_ratio) and dirty background ratio (vm.dirty_background_ratio)
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
VFS Cache Pressure (vm.vfs_cache_pressure)
Now here is where it gets interesting! File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
oom allocating task (vm.oom_kill_allocating_task)(enable or disable, generally in Linux this value is either a "1" or a "0," representing as on or off.)
This enables or disables killing the OOM-triggering task in out-of-memory (oom) situations. If this is set to zero, or disabled, the OOM killer will scan through the entire task list and select a task based on heuristics to kill. This normally selects a rogue memory-hogging task that frees up a large amount of memory when killed. If this is set to non-zero, or enabled, the OOM killer simply kills the task that triggered the out-of-memory condition. This avoids the expensive task list scan, which can take mass amounts of time and "hang" or freeze the system.
This thread would like to thank the following:
rayford85 - for pointing out #!sysbin in script which i stupidly left out and alternative installation method
Nubzuri - for pointing out to those who could not find init.d
rycon33 - for pointing out that init.d not supported on some stock kernels/roms
My MODS
----------------------------------------------------
[MOD] Improve Multi-tasking on HTC One X
----------------------------------------------------
[Currently owned devices]
- HTC One X Tegra 3
- Motorola Xoom
- HTC Sensation
- HTC Desire HD
Thanks a lot, much better multitasking now
Sent from my HTC One X using XDA
i thought it's about time we got something like this and decided to bother modifying the values, it is a noticeable difference!
Would this be the same or similar script to the one in this thread?
http://forum.xda-developers.com/showpost.php?p=26437514&postcount=93
My phone is rooted but I can't find the init.d folder. I have \etc but no init.d. Should I create the folder or just place it in etc?
nope its my own script, for some reason the op hasn't replied back yet about his script so i couldnt test it and decided to make my own, so far it is better than the original minfree on the htc one x tegra 3,
also you need to be using es file explorer make sure you can view all files/folders (including hidden) in settings of es file explorer
Does the phone need to be rooted ?
I downloaded es file explorer and set the hidden file/folder option. I still can't find /etc/init.d
I can see other hidden files and folders in other directories but can't locate init.d
Any ideas?
thanks for this
Thanks for your contribution .
@silentkill @john9 please hit the thanks button and you are welcome,
creepinchi: make sure you have access to your root directory, follow my instructions above in the first post, you need to be able to go up to root directory then you will see etc folder then go into init.d folder then place script here
I don't want to root my machine yet, is it possible to modify the files the other way?
don't you need to make the script executable chmod +X ?
yes executable, sorry forgot to mention this, will update main post
quick question if you/i made this as a cwm zip would you need to Mark it as executable In es?
Sent from my HTC One X using xda premium
I'm not sure I've not really tried, why don't you give it a go
Thanks! Only a quick test but seems much better on my One X. Chrome Beta has gone from reloading every time I dared to leave it to only reloading if I open 5 or so apps. Great job, makes the shiny sense multitasking screenshots seem a bit less silly now
mox123 said:
I'm not sure I've not really tried, why don't you give it a go
Click to expand...
Click to collapse
Will do when I get back on my pc.
Sent from my HTC One X using xda premium
P.m' d you with values.
I am rooted and have show hidden files enabled but still can't find the file. Is this only for the tegra 3 version?

[DEBLOAT] [OOS, Customs] Tomatot Debloater 4.1 (+++Battery, RAM, Privacy)

Hello guys,
Introduction
Today is my first step in the android development world. And I'm starting with something very little. I've created this tool for myself but I thought I could share it, as it could be useful to you as well and you could help me to improve it.
Big announcements
1) Officially supported custom ROMs:
-OmniRom
-LiquidRemix
-Skydragon
-ArrowOS
-AEX
What can you expect from flashing my script?
I think my script is interesting because its utility is completely complementary with a custom ROM or kernel: what it does has nothing to do with the kernel, so it doesn't interfere at all. And it's concrete stuff, not some supposed-to-be optimization where you're not even sure it's going to do something. I'm usually not a huge fan of these apps / modules.
-You'll get more privacy: I've removed Qualcomm telemetry, OnePlus telemetry as well as some Google Telemetry (but you can't expect too much as long as you use gapps)
-You'll get better battery life: less apps running in the background, less wakelocks, less services communicating with servers to send telemetry.
-You'll get better performance: for the same reasons. Don't expect a huge difference as our phone is very smooth already.
-The feeling of having a clean device. And this has no price.
As a proof, see this (both screenshots were taken after a fresh boot):
Extreme script:
https://imgur.com/2O47su8
19 system apps running, for a total of of 31 services running. I'm not counting Google Play services as the number of services running keep changing.
No script:
https://imgur.com/E5cEr7P
36 apps running, for a total of 60 services running! I find the difference quite huge.
What does it do?
The point is to be very very basic. Obviously I don't intend to to share something as powerful and exhaustive as xXx. My objective is to only focus on bloatwares, not features.
Also, I wanted to make a script simple enough so anybody can use it, understand it and modify it depending on your needs.
I think I can call myself a flasholoic, as I flash ROMs quite often, even when I'm happy with the current one. There are many time consuming and boring tasks when it comes to clean flash a new ROM. However, for most of them, there's a solution. For example, Titanium Backup, to mention just one.
With this script, you'll be able to skip the very boring process of removing/freezing all the system apps you don't use.
You can use this script with no worries whenever you flash your new ROM.
Why don't i Freeze apps instead of removing them?
Ideally, I would prefer to only freeze apps so the setup can stick after an update or a dirty flash, however, I don't know how to do it from recovery. Freezing works with the command from package manager "pm disable {package_name}", however, it's only available when the phone is running.
What version should I install?
-Invisible script: Install it, enjoy. I basically removed only apps related to telemetry or that don't have any function. You should still have all the apps you're using and all the features you like.
-Light Script: Invisible + apps that I consider rarely use (because they're useless or because alternatives are much popular). It should fit to 80% people without any change to make.
-Extreme script: Invisible + light + a few Google Apps (most of them can be reinstalled) and features that are not absolutely necessary but useful for some people, like face unlock for example. I wouldn't recommend it to anyone who hasn't check the .txt file first. The light script is almost as good anyway.
How to Install?
Simply reboot to TWRP, flash the zip, reboot and enjoy.
If this doesn't work, you can try three different things:
-Try to use blu spark Recovery instead of other ones.
-Try to mount system in recovery before flashing my .zip.
-Try to install Magisk and this module: https://github.com/Magisk-Modules-Repo/busybox-ndk
-Try to install the script on both slots
At least one of these options should fix things for you.
Known incompatibilities
-If the script doesn't do anything, check installing instructions.
-If an app keeps force closing when you try to open it (for example the Google app, gmail, amazon, etc.), it's because you don't have any webview selected. You can select one in the developer settings and if you don't have any you can install one from the play store (Android System Webview).
-If some apps are remaining, it's because it's system apps you updated and they became user apps. You can just uninstall them like any other user apps and it will completely disappear.
-If an app that is included in the script freezes, but it's also available in the playstore, uninstall it with Titanium Backup, reboot and reinstall the app from play store.
-If you're using substratum, you must edit my script and remove this line: "/system/system/app/OpSkin",
-If your bank app doesn't work, you can try to add back Stk (sim toolkit), as the app helps for authentication.
-In general, search this thread if you want more details / understand why.
F.A.Q.
-I don't want to use this debloater anymore or it broke something I miss, how can I go back to normal?
=> Dirty flash your current setup (ROM, twrp, reboot to twrp, magisk, kernel, anything else you want)
-Does this script work for X or Y ROM? Can you make a debloater for X or Y ROM?
=> If you understand how my tool work, then you will understand that my scripts can potentially work on any ROMs, but each ROM has its specific apps so some bloatware won't be removed, most likely. I won't support any new ROM except if I end up trying it myself. I prefer to avoid to create new scripts blindly especially if I've never experienced the ROM.
-I flashed your deblaoter and now some apps keep force closing
=> "If an app keeps force closing when you try to open it (for example the Google app, gmail, amazon, etc.), it's because you don't have any webview selected. You can select one in the developer settings and if you don't have any you can install one from the play store (Android System Webview)."
Where can I get more info?
Check the .txt file in the download section. It lists all the apps included in the different scripts AND all the apps not included (so you can see what apps you want to potentially add, it's much easier to work like that)
How are the apps sorted in the .txt file?
-First, by categories (each category starting with #) (invisible, light, extreme, etc.)
-Then, they're sorted by their type (reserve / app / priv-app / other)
-Then, simply by alphabetic order.
-At the end of the document file, there are some explanations about some apps that can sound... mysterious about whether it's safe or not to delete them.
How to edit the script and make it work? (TUTORIAL)
Prerequisites
-Root (ideal but not mandatory)
-File manager (ideal but not mandatory, I recommend Amaze https://play.google.com/store/apps/details?id=com.amaze.filemanager&hl=en_AU )
-TWRP
Then you have two alternatives
a) Use your computer (Windows): you will need Zip Builder https://forum.xda-developers.com/an...g/tool-zip-builder-v4-2-1-build-sign-t3739556
b) Use your phone: then you will need MiXplorer ( https://forum.xda-developers.com/showthread.php?t=1523691 )
Steps to follow
1) Download my script.
2) Unzip it. Browse to META-INF\com\google\android and open "updater-script" in a notepad. (I'd recommend you notepad++ ( https://notepad-plus-plus.org/download/ )
3) Add some apps you want to delete, or remove the apps you want to keep. To see what apps are on your device, use a file manager that can use root and check the apps you have in /system/app and system/priv-app. The priv-app are usually more sensitive so be cautious with them.
4) Don't forget that on every line, you need a comma at the end, except for the last app of the list.
5) You don't need to touch any other lines, except if you want to have fun and change what TWRP will display: it's the lines with
Code:
ui_print("")
6) Save your file.
7) a) Windows alternative. Follow instructions to install properly Zip Builder. Then shift + right click on the parent folder of the META-INF folder and click on "Build Zip...". If Zip Builder is set up properly, you will see the option I just mentioned. You can also open the program and browse to the parent folder where META-INF is.
Copy the .zip to your phone and you're good to go!
7) b) Android alternative: Install MiXplorer. Long press on the META-INF folder. Confirm the creation of the archive, pick the name you want and make sure that "store" is selected, below "zip". Then select the newly created zip, and click on the "Sign" option. Choose Testkey. It will create yourzip-signed.zip. That's the file you need to flash in TWRP.
8) Flash in TWRP
Let me know if you need any help or if something is not clear to you.
Downloads, risks, credits, Information
Where to download?
Check the attachments!
What are the risks, or why is it actually pretty safe to use it?
1) If you use my scripts, as I've tried all builds, I can assure you in the worst scenario you will loose a few features you might have wanted to keep.
2) If you try to make your own script:
a) You misspell a system folder: (it's case sensitive, careful): well the script will just ignore it and try to remove a folder which doesn't exist, so no consequence at all, just a useless line in your script.
b) you mess up with how you're meant to write the script: for example, you forget a comma or you leave it on the line of the last app you want to delete. Well, no worries, TWRP will just not flash the script so nothing happens. Just check your code to find the mistake.
c) Your script is fine but delete a core app that the system needs. Again, no worries! You will bootloop. In this case, you need to dirty flash your current setup (for example, flash OOS, flash TWRP, reboot to recovery, flash Magisk, flash your favorite kernel, reboot). Then you can try to find the culprit in your code, remove it, and try again your script.
Just in case, you know the XDA saying: "flash at your own risk!"
Credits!
First of all, I'd like to credit @Primokorn for his tutorial which helped me a lot. Basically everything in my script I owe him. I've just made it even more simple and focused on only debloating. Also, and obviously, it's adapted for our OnePlus 6. Right now, it's optimized for OOS 9.0.3, but depending on how the project evolves and how popular it will get, I could make "special editions" for open betas as well as AOSP ROMs.
I would also like to thank @TKruzze for his amazing tool "Zip Builder", which makes me save a lot of time everytime I want to try / build a new script.
Thanks to @Zios01 for inspiring me about "optimizing" OOS.
Information
"Tomatot- Debloater"
Contributors
@Tomatot-
Source Code: everything is in the zip.
Created 2018-11-20
Last Updated 2019-12-23
Changelog
Tomatot Debloater 4.1 for OOS
-REMOVED FROM THE SCRIPT:
Light:
TeleService (necessary for some operators)
Extreme:
SdCardService (necessary for file managers)
ModuleMetadataGooglePrebuilt (necesary for permissions)
Tomatot Debloater 4.0 for OOS
REMOVED/CHANGED :
- All folders (and there are lots of them) that don't exist anymore (usually they got moved to another path)
ADDED
- "/data/india/india.img"; (let me know if it works)
- A few new apps that are most likely useless.
Previous updates:
Tomatot Debloater 3.3
-All apps in /reserve are now deleted in the invisible script. If new apps are added by OP, they'll be automatically deleted as I added the whole folder (you can check the script to understand). Thanks to @nirogu325 for the idea!
-Moved DiracManager to the light script since some people like using it.
-Added OPWidget, it seems to be a new app added by OP
-Added OPWallpaperResources to the extreme script as I'm not sure what it does
-Removed OPSimContacts since it breaks the OP phone app.
Tomatot Debloater 3.2
-Added amazon apps hidden in /vendor/etc/apps
-Removed Rftoolkit on the Omni script
Thanks to @bojiokia and @nirogu325 for pointing me out they existed and that they were on all devices.
Tomatot Debloater 3.1.1
Thanks to @nirogu325 for his help to figure out how to mount /vendor and how to remove Rftoolkit properly
Removed also a folder that doesn't exist (LiveWallpapers)
Tomatot Debloater 3.1
I have decided to only use " run_program("/sbin/mount", "/system"); " to mount system from now on. It seems to be the most reliable / universal way to do so.
The Omni update has no change except I switched to the new mounting way.
### New entries for Invisible Script
OPCommonLogTool
Traceur
Rftoolkit
### New entries for Light Script
ARCore_stub
CarrierDefaultApp
CtsShimPrebuilt
CtsShimPrivPrebuilt
### New entries for Extreme Script
LiveWallpapersPicker
LiveWallpapers
OPSafe
SdCardService
uimremoteclient
WAPPushManager
DocumentsUI
IFAAService
OnePlusGallery
VpnDialogs
Tomatot Debloater 3.0
-All main scripts that are up to date are now 3.0 for a purpose of clarity.
-Except the LiquidRemix script, no apps have been added/removed from the scripts.
-Omni/Liquid/Skydragon have a similar level of debloating.
-Since a lot of users reported issues of the script not working, I figured out it was because for some reasons some recoveries don't execute busybox commands properly. I switched to edify commands. The main benefit is that it should work for everyone 100% of the time. The disadvantage is that it won't work for other devices. It might be the same path for the 6T but I need people to check. For other devices it won't work 100%. What you can try however, is to mount system before flashing. It should make the script work.
OOS 2.5.2
-Removed DeskClock as it's the clock app that a lot of people need. I thought it was the widget, my bad.
OOS 2.5.1
-Removed WebViewStub from all scripts since it may affect the webview selecting setting.
OOS 2.5
-Added BluetoothMidiService to the extreme script because 99% people won't use it (check Google to check what it is)
-Added ProxyHandler for the same reason
-Added ManagedProvisioning for the same reason, in the light script. ( Work Profile Setup apk. It's useless for most people. Obviously don't delete it if your company gave you this phone, but then you shouldn't flash it in the first place! )
OOS 2.4
-Removed a few useless lines in the script.
-Cleaned up the .txt file, now all packages explained are sorted alphabetically.
-Moved CNEService to the extreme script as it breaks wifi calls.
-Moved HotwordEnrollmentXGoogleWCD9340 to the extreme script as it might break OK Google.
-Moved WebViewStub to the invisible script
-Added YouTube to the light script as it doesn't break YT Vanced.
-Added Chrome to the extreme script. Don't forget to have a working/activated webview!
OOS 2.3
HotwordEnrollmentXGoogleWCD9340 : moved to extreme as it breaks ok google
EmergencyInfo : moved to extreme as it could break double press power button to open camera
datastatusnotification : moved to extreme as it allows the system to cap data.
Added DeskClock to the light script
Added WebViewStub to the light script
OOS 2.2.1 / custom 1.2
-Unified numbers for all OOS sripts / all custom ROMs scripts so it's just easier to follow / maintain.
-OOS: moved OPBackup to the extreme script as it breaks system updates. It doesn't matter since if you have Magisk and TWRP you can't update via OTA but some people like having all settings working so... Now with the light script you shouldn't have any "broken" feature.
-Custom: removed DocumentsUI so it's possible to access external storage.
v2.2
-Removed Chrome from the script as it can break webview. There is not reliable fix as Android system struggles to properly select "Android System Webview". Feel free to freeze or uninstall Chrome as long as you update android system webview and make sure it's selected in developer settings.
-Put back Gmail2 in the script as now installing it as a user app shouldn't break the app anymore.
-Now the script should be completely bug free.
-if you had issues with gmail, dirty flash your current setup first.
v2.1
-Fixed a broken setting on ALL scripts, see this for more info: https://forum.xda-developers.com/showpost.php?p=78287566&postcount=103
-Added setup apps to the light script as I intended in the first place
-If you come from an older script, you should dirty flash your current setup again because otherwise the broken setting won't come back. Sorry for the mistake.
v2.0.2
-Fixed OPFilemanager on light and extreme scripts.
v2.0.1
-Fixed a few mistakes I wrote, extreme script will work now.
v2.0
-Completely resorted the apps so it makes more sense. I have a little more hindsight and for most apps I actually know what they do and if it's dangerous to remove them or not. Hence, the extreme script hasn't changed but the light is significantly different. It will remove more useless apps but not remove apps that most users use. A bit smarter I'd say.
-And I would like to introduce you the invisible script, the ones who really can't deal with making sure the script works for them, they just want to make their phone lighter. Easy peasy, hassle free.
-To see how I resorted apps, please check "List of systems apps SORTED & EXPLAINED v2.0.txt" or just have a look at the end of this post.
v1.8.1
-Removed Rftoolkit as it's a vendor app and I can't make it disappear for some reasons. I'd recommend you to freeze the app.
-Removed "datastatusnotification" as it's necessary to keep track on data usage.
v1.8
-Only the extreme script is updated
-Added a few more apps, including OPSes which sens telemetry I think. I couldn't find anything explaining exactly what it does but I've been running my script for some time now and 0 issue.
-Here is the list:
Code:
"/system/system/app/OPSesAuthentication",
"/system/system/app/SeempService",
"/system/vendor/app/Rftoolkit",
-Yes, changelogs are shorter and shorter
-However, 92 apps included now!
v1.7.2
-Added Music2 to both scripts.
v1.7.1
-Removed from the script OPAppCategoryProvider as it was breaking battery stats.
v1.7
-Only uploaded the extreme version as it's experimental and the light version would be the same
-I'm trying a few more apps that seem useles, but I need more feedback. Some telemetry from Qualcomm should be gone as well.
-Here are the new apps
Code:
"/system/system/priv-app/OnePlusWizard",
"/system/system/app/AutoRegistration",
"/system/system/app/datastatusnotification",
"/system/system/app/PlayAutoInstallConfig",
"/system/system/app/RFTuner",
"/system/system/priv-app/OPAppCategoryProvider",
v1.6
-Added more apps in both scripts
-Now the light script includes this category " #APPS THAT CAN BE FOUND ON PLAY STORE" as you can reinstall them very easily (and you won't even loose them if you updated them once).
-Expect more privacy as I've deleted more telemetry from both OP and Qualcomm.
-Documentation updated
-Here is the list
Code:
"/system/system/app/GoogleContactsSyncAdapter",
"/system/system/app/OpSkin",
"/system/system/app/HTMLViewer",
"/system/system/app/uimremoteclient",
"/system/system/priv-app/CallLogBackup",
"/system/system/priv-app/CNEService",
"/system/system/priv-app/OPAod",
"/system/system/priv-app/SharedStorageBackup",
v1.5
-Fixed a few entries as they were not written properly. So some apps that were already included will actually be removed this time. Thanks to @zyvex_14 for his help and support.
-I've added these apps that can be safely removed.
Code:
"/system/system/app/Account",
"/system/system/app/QdcmFF",
"/system/system/app/WapiCertManage",
"/system/system/priv-app/DiracAudioControlService",
"/system/system/priv-app/OPCellBroadcastReceiver",
-As always, I've updated the advanced documentation.
-You can now download a .txt file with all the documentation: all system apps are sorted and the shady ones are explained.
Now, Tomatot Debloater Extreme v1.5 removes 72 apps and your device still runs perfectly, if not better
Tomatot Debloater Light v1.5 42 apps and you basically don't loose any feature
v1.4
-Quite satisfying build: I feel like the script is almost final.
-Here are the new lines I added, to the different versions.
"/system/system/app/OPBackup",
Code:
"/system/system/priv-app/BackupRestoreConfirmation",
"/system/system/priv-app/Tag",
"/system/system/priv-app/OPFaceUnlock",
"/system/system/priv-app/EmergencyInfo",
"/system/system/priv-app/Turbo",
v1.3
I forgot to update the scripts when they're flashed so TWRP will display "v1.2 when it's actually v1.3, so no worries
-Merged with xXx all the apps where I was sure they could be removed without risks. Still some apps I need to sort out.
-Now I have 2 scripts
LIGHT = SAFE TO DELETE FOR ALMOST EVERYONE + APPS THAT CAN BE FOUND ON PLAY STORE (they will just become user apps if you updated them at least once)
EXTREME= SAFE TO DELETE FOR ALMOST EVERYONE + APPS THAT CAN BE FOUND ON PLAY STORE + SAFE TO DELETE IF YOU USE ALTERNATIVE APPS OR JUST DON'T NEED THE APP + EXPERIMENTAL STUFF SOMETIMES
To see their content, check advanced documentation.
v1.2
-Added OP user apps (that you can uninstall without root when to flash a new ROM). I didn't think of them at first because they're easy to remove and once you do, they don't come back after you reinstall the ROM. However, with the script, they will leave the system partition for good, which is cleaner. And it will be useful for people who didn't delete them already.
-Removed "usb_drivers.iso." it's what makes the windows explorer show the OP6 as a CDROM when you plug it to your computer. So you can have access to drivers. It's pretty useless except for the first time you plug your phone to your computer. And still, there are plenty other ways to install drivers.
-I've updated the list of the apps in the first post.
v1.1
-Fixed the "card" app.
v1
-Initial release
Works like a charm for me, many thanks.
I just had to edit your file for the "card" app, + few others lines I deleted to keep some apps I use, such as 'Duo'.
In your file, it is written "Card", but my app was named 'card' and apparently the C in capital letter makes it not work (for this app specifically).
zyvex_14 said:
Works like a charm for me, many thanks.
I just had to edit your file for the "card" app, + few others lines I deleted to keep some apps I use, such as 'Duo'.
In your file, it is written "Card", but my app was named 'card' and apparently the C in capital letter makes it not work (for this app specifically).
Click to expand...
Click to collapse
Wow, you're already a pro! Well done mate. I don't know if it was your experience with editing a script but if it is, I'm glad my my guide makes sense and that some users already benefit from it. And thank you for pointing out my mistake.
I'm uploading a 1.1 update with the fix.
Don't forget to flash again your script if you update your ROM.
First time I manipulated and edited this kind of file, so many thanks for your tuto, very helpful in my case.
Just one additionnal question, is there somewhere a list of all bloatwares that can be safely removed? Or is your list exhaustive for our OP6?
zyvex_14 said:
First time I manipulated and edited this kind of file, so many thanks for your tuto, very helpful in my case.
Just one additionnal question, is there somewhere a list of all bloatwares that can be safely removed? Or is your list exhaustive for our OP6?
Click to expand...
Click to collapse
Humm usually on different when you search for it on Google, you find threads that explain what services to disable, but 99% of the time they're also device specific.
I've never found a universal list with all the bloatware common to all Android phones. If you have a doubt about an app in particular, google it and you'll have your answer. However, what I've found out trying different scripts is that there are some apps i can freeze without any consequences, whereas if I try to delete them with my script, the phone will end up in a bootloop.
Unfortunately, this project is very recent for me and I didn't do any exhaustive testing so I don't know exactly what apps were breaking my script.
Ideally, i'd have to create another script that bring back the apps I remove so I can try one by one and see which apps are safe to remove. Because right now, everytime, flashing back OOS, rebooting to make sure it works, then going back, flashing my script, checking again, etc. it takes a lot of time so it will take some time before I can be more accurate.
At least right now I have a good base of what apps I'm sure I can remove.
Now when I'll have enough time I could try one by one to delete apps and see how it goes. I just to find a way to not have to reflash the whole system every time.
If anyone has a suggestion he's welcome!
I'd say that @Zios01 knows a lot about the topic since he probably tried himself what apps are safe to debloat.
You can read his script as well to see what apps he removes and you can assume it's safe to add them to my script.
I perfectly understand that you can't try one-by-one all of them, it gonna turn you crazy otherwise to flash-reboot-check and so on...
As you wrote, this is a good start and a good base, let's see also if someone has more experience with the others apps/bloatwares.
Anyway, thanks again for your answers and contact provided, I will try to find his script as well.
zyvex_14 said:
I perfectly understand that you can't try one-by-one all of them, it gonna turn you crazy otherwise to flash-reboot-check and so on...
As you wrote, this is a good start and a good base, let's see also if someone has more experience with the others apps/bloatwares.
Anyway, thanks again for your answers and contact provided, I will try to find his script as well.
Click to expand...
Click to collapse
Here it is.
I had to add the .txt extension to upload it. Also, I changed the name so it won't work. It's just for "science".
You will see he doesn't use the same "language" at all, and it's way more complicated than my script. However, it's not hard to spot the apps he's referring to.
Btw, as I already said, the good thing with this script is that it will ignore errors. So if you add a line to your current script, you can flash it and it will just remove the one app you added. You don't have to make an entire new file for your v2.
OK, so I added several lines based on XxX script.
I did a reboot and no bootloop, that is already a good point .
Now I am going to test my phone and if everything works ok and still flawless, I will share my file.
zyvex_14 said:
OK, so I added several lines based on XxX script.
I did a reboot and no bootloop, that is already a good point .
Now I am going to test my phone and if everything works ok and still flawless, I will share my file.
Click to expand...
Click to collapse
When I did my little experiments and I was deleting the wrong files, it was just not booting, stucking on OnePlus logo. Just once it booted, but shut down immediately and took me to recovery.
So you should be fine. But yeah maybe only after a week or something we'll find out that a tiny but sometimes useful feature doesn't work.
Thanks for your work! I would suggest using Magisk if possible as the changes aren't permanent. Except if you want to achieve that it's permanent
Tomatot- said:
When I did my little experiments and I was deleting the wrong files, it was just not booting, stucking on OnePlus logo. Just once it booted, but shut down immediately and took me to recovery.
So you should be fine. But yeah maybe only after a week or something we'll find out that a tiny but sometimes useful feature doesn't work.
Click to expand...
Click to collapse
Indded, that is what I worry about, that everything looks fine and finally after some days (maybe earlier :crying something doesn't work like it should be.
That is why I would like to test prior sharing my file.
Macusercom said:
Thanks for your work! I would suggest using Magisk if possible as the changes aren't permanent. Except if you want to achieve that it's permanent
Click to expand...
Click to collapse
It does sound like a good idea! I will investigate this possibility and let you know. I'm not sure I have enough knowledge and experience.
https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163
So I've found this Magisk Module which seems quite impressive tbh. It seems quite easy to use and safe as well. It's honestly way more advanced than my script.
But at the same time, I feel like it doesn't do much more than a classic freeze with Titanium Backup.
You still have to go every time you install a ROM through all the apps you want to remove. You could write down numbers but it's risky, if you change ROM or even you update your ROM and numbers change, it could mess up everything. So I still think my solution had advantages compared to this Magisk Module.
However, I might use the module to see what apps break the device or not. Then I can improve my script a little. I will also think about making a Magisk Module out of it, but I'm not sure it will make things much better.
My ultimate goal is just to "flash it and forget about it until you flash a new ROM/update". So it wouldn't matter if you can remove it or not.
There are 2 possibilities when using my idea:
1) I (I isn't me, I speak for users in general) am happy with the script, I don't loose any features. So I don't need to touch it. Flashing it once in TWRP isn't a burden at all. Especially since it takes like 2 seconds to flash. Then it's the best solution since, once you have your script you like, you can always keep it.
2) I am happy with the script but I want a few apps back. Sure, having a Magisk module could make things easier as I could just remove the module (considering it has a restore feature), but I would need to edit the module or the script, and then apply it again. It one of the apps break the system and makes the device bootloop, even with a Magisk module, it will be hassle to fix it. It's just more simple to flash the ROM again like I'm doing now.
Now you need to ask yourself this:
1) Do you prefer to have more features at the cost of spending some time setting up your device every time you flash a ROM? Then use Titanium Backup or Terminal Debloater.
2) Do you prefer to take some time once to setup your script properly but then you won't have to care about it for, theoretically, until you get a new device? Then go with my script.
If my script gets some attention, I'm pretty sure within a few weeks I / we will be able to propose enough scripts to make (almost) everybody happy.
Like script 1 extreme debloating
Script 2 medium debloating
Script 3 light debloating
So 99% users are satisfied, and then the pickiest ones can always make their own script since it's very easy to edit my script.
Am I making a point?
What's with the .iso file and /system/reserve?
Tomatot- said:
https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163
If my script gets some attention, I'm pretty sure within a few weeks I / we will be able to propose enough scripts to make (almost) everybody happy.
Like script 1 extreme debloating
Script 2 medium debloating
Script 3 light debloating
I think this will be a great way to debloat to each individual preference. Will be watching this thread for these updates:good:
Click to expand...
Click to collapse
Sh0X31 said:
What's with the .iso file and /system/reserve?
Click to expand...
Click to collapse
I didn't know about /system/reserve, thankj you for sharing. From what I understand, it's the apps that come pre installed but are removable. It seems like once you delete them they don't come.baxk after a dirty flash. However I can remove them so the script is useful after a clean flash. Thanks!
What are you referring to with the .iso though?
Tomatot- said:
I didn't know about /system/reserve, thankj you for sharing. From what I understand, it's the apps that come pre installed but are removable. It seems like once you delete them they don't come.baxk after a dirty flash. However I can remove them so the script is useful after a clean flash. Thanks!
What are you referring to with the .iso though?
Click to expand...
Click to collapse
I mean the usb_driver.iso
Sh0X31 said:
I mean the usb_driver.iso
Click to expand...
Click to collapse
What about it?
Sh0X31 said:
I mean the usb_driver.iso
Click to expand...
Click to collapse
Not sure what it is, but xXx has it available for debloat on his room as well

Categories

Resources