TWRP-flashable Deodexed N910FXXU1DRI2 Stock Firmware (and other related files) - Galaxy Note 4 Android Development (Snapdragon)

This is derived from the latest N910F UK BTU stock Marshmallow v6.0.1 firmware.
Some info:
PDA/AP (ROM firmware) version: N910FXXU1DRI2
CSC code: N910FBTU1DRJ1 (BTU)
Modem/CP/baseband version: N910FXXS1DQA1
There is no multi-CSC support, it is too much work to add. If you need a different CSC besides BTU, then you should consider @_alexndr's DevBase, @Andycar's ROM, etc. They are based on older firmware, but should work fine. Having this ROM's BTU CSC may mean that carrier-specific features like VOLTE/wifi calling/etc may or may not work. I think the BTU CSC should work fine for most.
Why am I doing this? Well, for one, noone has posted (to my knowledge) a deodexed version of this firmware. And 2nd, as a baseline modding resource for other users, I only ask that I'm given credit for providing the files.
Old zips:
I've taken the N910FXXU1DRI2 stock firmware from SamMobile, deodexed it with SuperR's Kitchen, and created a TWRP-flashable firmware/ROM zip. It is only deodexed, no other changes have been made, nothing has been removed. All stock bloat/Knox is present. It isnt rooted, but you may root it with Magisk/SuperSU/Phh's Superuser. The kernel is pure stock, but you may flash a custom kernel afterwards if you wish. This ROM should pass SafetyNet even without Magisk/SuperSU, as long as you dont flash something like Xposed. Private Mode will not work with this zip out of the box, you will need to flash the modded Private Mode zip to get it to work. You should only use this zip if you just want a deodexed ROM with no additional changes. Flash from TWRP. This zip only includes the stock boot.img and a deodexed system.img.
There is now a 2nd version of this, it is based on the original N910FDeodex.zip, but converted from raw img format to set_metadata format. This version will only flash the used portion of the system partition into /system, resulting in less write hits. If you want a deodexed only version of this ROM with no further changes, then use the set_metadata version. These 2 zips are otherwise identical.
https://androidfilehost.com/?fid=8889791610682928982
https://androidfilehost.com/?fid=8889791610682917301
New revised zip (deodexed, debloated, Knox removed, GApps removed, some minor changes):
This is almost the same as the above zip. Everyone should use this new zip, unless they only want a zip that is deodexed only with no further changes. Private Mode will work out of the box. You will also be able to pass SafetyNet with or without Magisk/SuperSU.
https://androidfilehost.com/?fid=8889791610682924674
See the following post for what's removed:
https://forum.xda-developers.com/showpost.php?p=83379549&postcount=38
And this one too. It includes an optional debloat script that removes even more:
https://forum.xda-developers.com/showpost.php?p=83385447&postcount=44
Link to script:
https://androidfilehost.com/?fid=8889791610682925297
Install order for revised zip:
1. Wipe system/data/cache and flash ROM zip
2. Flash my revised debloat script if you want it
3. Flash latest OpenGApps ARM 6.0 nano zip (dont use anything higher, system apps like Messages/Tags/dialer will be removed if you do!)
4. Flash Google Contacts Sync Adapter zip from Extras section (to avoid "Android is optimizing" on every boot)
5. Check /system/app/WebViewGoogle, /system/priv-app/GooglePackageInstaller, and /system/priv-app/Tags, make sure they're not deleted. If they are, flash the appropriate zips from Extras section
6. Flash any other extras you want
7. Flash custom kernel (optional)
8. Flash root (optional)
9. Reboot into ROM
For MicroG users:
1. Wipe partitions, flash ROM zip.
2. Flash my revised debloat script if you want it.
3. Flash MicroG installer zip. Signature spoofing patch is already built into ROM.
4. Flash play store, backup transport, calendar sync adapter, Google dialer, maps/media effects/widevine libraries, deodexed google contacts sync adapter, google keyboard and swype libraries. These are optional.
5.Flash any other extras you want
6. Flash custom kernel (optional)
7. Flash root (optional)
8. Reboot into ROM
Note: In my tests, ROM didnt pass SafetyNet with MicroG installed. but it did pass when I flashed OpenGApps. This means the fail is due to something in MicroG. Ask in the MicroG XDA thread for help.
Another note: I only used the official APKs from MicroG website, permissions XML file from MicroG Installer Revived, and Play Store APK from APKMirror. You can update MicroG if/when they release new APKs.
Make sure to follow these steps in the order I've listed them!
You only need to use my stock boot image and kernel library modules zip if:
1. Before you flash a custom kernel
2. Before flashing root (skip my zip if you are already using custom kernel)
You can also get rid of a custom kernel/root by flashing this zip. But it is advised that you use Magisk uninstaller zip first. Or to delete SuperSU, you can use the unSU zip by @osm0sis. Then flash my zip.
If you get an error in TWRP when flashing either of these zips, this probably means your MicroSD card is using the GPT partition table, instead of MBR. My advice is to use SD Card Formatter tool to format your SD, then copy the ROM zip onto it and try to flash the zip again. If this doesnt work, post the exact error here.
If you used the "nand erase all" option in Odin, it is advised to format data/cache in TWRP *BEFORE* flashing the ROM zip. Look at the Mount button in TWRP and see if they are checked. If they are, then all is good. If not, use the wipe/format data functions until they are checked. I advise using nand erase all because it cleans data/cache of incompatible data. Especially recommended if you are coming from different firmware/custom ROM.
Please only do clean flashes! Dirty flashes not supported! Do not report bugs if you have dirty flashed! Do not report bugs if you are using other mods like Xposed (or root), etc! Clean flash with no changes, then post here if the bug is still present.
Additional firmware-related files:
My N910FXXU1DRI2 mini firmware package. This includes all files from the stock firmware package with the exception of the boot, system, and cache partitions. This is intended to be flashed before flashing my ROM zip. Boot/system arent needed because they are included in the ROM zip. Cache also isnt needed because its' contents (the UK BTU CSC code) is already processed into the system.img. This package also includes the latest official TWRP recovery, instead of the stock recovery. I would advise that you flash this file before flashing the ROM zip, but it may only be necessary if the ROM fails to boot (which means your installed firmware is an incorrect/incompatible version).
https://androidfilehost.com/?fid=8889791610682917321
You need Odin (version 3.12.7 recommended), Samsung USB drivers, and a Windows PC. In Odin, select the "nand erase all" and select the tar file in the AP slot. Also uncheck the autoreboot box. Leave everything else as-is. Once it is flashed, wait a minute or 2 before unplugging phone from PC.
Once you've done this, pull battery from phone, put it back in, then use VolUp+Home+Power to boot into TWRP. From there you can flash the ROM zip.
Pure stock firmware N910FXXU1DRI2. This is identical to what you would get from SamMobile, I have not modded the firmware in any way. I have only recompressed the tar file so that the total overall download size is smaller. Unpack the 7z file with 7-Zip/WinRAR/some other software, then flash the tar file from Odin. Flashing instructions are the same as above. You only need this if you want a truly clean start with nothing whatsoever changed. This file can be used alone without the others, or it can be flashed before the stock ROM zip. This file does not include TWRP. If you intend on flashing the stock ROM zip, I would suggest using my mini firmware package instead.
Note: I've deleted this file, you can find it in my N910FXXU1DRI2 mega firmware collection thread.
N910FXXU1DRI2 pit file. This file is to be flashed with Odin, if you need to repartition the device. Only use it with a full, official firmware package, like the one from above. I extracted it from my device with TWRP, it is not changed in any way. Most people generally wont need this. Only use this on an N910F, it may brick other devices!!! You've been warned!
https://androidfilehost.com/?fid=8889791610682917326
Link to extra files folder:
https://androidfilehost.com/?w=files&flid=316633
You can use these files to restore removed functionality if you need it. Most of these should be flashed from TWRP. More info below:
1. AccuWeather: Restores AccuWeather widget
2. Android default hosts file: Restores the stock hosts file
3. ANT system apps: Restores ANT apps. These are mainly fitness-related
4. Autorotation library: Flash this if your autorotate isnt working
5. Car Mode/Car Mode Remote: Restores Car Mode
6. Chrome customizations: Restores a system app which sets defaults for Chrome. Generally unneeded
7. DiagMonAgent: Related to Knox, it likes to phone home
8. Dropbox stub: Restores Dropbox stub for SCloud in Settings
9. Easy mode contacts widget: self-explanatory
10. Google FaceDetect library: Part of GApps. Restores FaceDetect library. Google cancelled support for this due to security reasons. You probably dont need it
11. Google Package Installer: Needed by Android! Flash this if OpenGApps zip removes /system/priv-app/GooglePackageInstaller
12. Google WebView: Needed by Android! Flash this if OpenGApps zip removes /system/app/WebViewGoogle
13. Help widget: Restores help/manual widget
14. MicroG installer: This will install GmsCore, GsfProxy, DroidGuard, and a permissions XML file. OpenGApps users dont need this
15. Stock firmware media files: Placed in internal storage by stock recovery. probably not needed. Extract zip and copy to /sdcard/ or /storage/emulated/0
16. Official play store: Installs PS for MicroG users. OpenGApps users dont need this
17. Original Private Mode APK: Restores original Private Mode APK. PM will not work if you flash this. probably not needed
18. Patched Private Mode APK: Installs patched Private Mode APK. PM should work fine now
19. S-Voice: Restores Samsung S-Voice app (who uses this crap?)
20. Collection of updated apps from the Note 4. Extract zip and install the APKs you want.
21. Samsung Apps widget: widget for Galaxy Apps store
22. Samsung Email/Exchange: Restores Samsung email/Exchange apps
23. Samsung_Galaxy_Store_-_Samsung_Cloud_-_Samsung_Account: Restores system apps for Samsung Account, Samsung Cloud, and Galaxy Apps store
24. Samsung game optimizer: restores game optimizer
25. Samsung Gear/Watch: Restores Gear/Watch system apps
26. Samsung Health Service: Restores Health Service, which SHealth depends on
27. Samsung internet browser: Restores stock browser
28. Samsung Kies: Restores Kies stub, which is needed for interfacing with the Kies PC software
29. Samsung QuickConnect/SFinder: restores files needed to make these work. They will also reappear in the pulldown statusbar again
30. Scrapbook: restores Scrapbook app
31. SmartManager v3: restores Smart Manager
32. Stock task manager and widget: restores task manager and Active Applications widget
33. Stock boot image and kernel library modules: restores stock boot.img and the kernel library modules it depends on.
34. Calculator: restores stock calculator
35. Stock clock apps: restores all stock clock apps
36. Stock fonts: restore stock fonts system apps
37. Stock music: restores Samsung Music app
38. stock_others.xml: This is is default others.xml with no added icons in the statusbar quick pulldown menu. Rename to others.xml (all lowercase), copy file to /system/csc/, set permissions to 0644. It is preferred that you do this from TWRP. root file manager will work too, but the owner and UID values must be 0 (root). You must factory reset before the icons will go back to default settings
39. SPlanner Calendar app and widget: Restores stock calendar and widget
40. Stock Tags (NFC) system app: Flash this if the OpenGApps zip removes /system/priv-app/Tags
41. Voice recorder: Restores stock voice recorder app
42. Stock wallpapers: Restores NoiseField and PhaseBeam wallpapers
43. System daydreams apps: Restores stock daydreams apps
44. Tap and pay widget: restores widget that lets you choose payment method
45. Google backup transport: needed by MicroG users, if they want contacts/calendar sync to work. OpenGApps users dont need this
46. Google calendar sync adapter: For MicroG users. Must also flash Google Backup Transport zip. OpenGApps users dont need this
47. Google Dialer: Installs GDialer and other files it needs to work. This is for MicroG users. OpenGApps users can just install GDialer from Play Store instead
48. Google Maps/media effects/widevine libraries: For MicroG users. Some apps wont work without these. OpenGApps users dont need this.
49. Original deodexed Google Contacts Sync Adapter: For MicroG users and OpenGApps users. MicroG users must also flash Google Backup Transport zip. This APK prevents the "Android is optimizing" message on every boot.
50. Google keyboard and Swype libraries: For MicroG users. Installs GBoard, and Swype libraries that other keyboards can use. OpenGApps users dont need this, they can just install GBoard from Play Store.
51. RBoard Theme Manager: This is an app that lets you install optional themes for Gboard. Gboard has a few default themes you can pick, this app lets you install dozens more. Along with sound effects. This app needs root. You dont need to install the RBoard magisk module separately
52. Patched build.prop for RBoard Themes Manager: This zip includes an edited build.prop so that RBoard can work. And empty /system/etc/gboard_theme folder. Rboard installs themes into this folder. Flash this before installing RBoard APK
Other mods I've done:
1. Remove Smart Manager v3. Now you will see "Power Saving" instead of "Battery" in settings
2. Adblocking hosts file integrated
3. Modded Private Mode APK by @TEKHD (now it turns on). However, PM may still break with certain custom kernels, or if you install other mods/changes I havent mentioned
4. Added 27 toggles in the statusbar (pull down to see them). Restore my default others.xml if you dont want them
5. Changed ro.securestorage.support from true to false in build.prop. Apparently Private Mode and SHealth work better when this value is false
Other notes:
Custom kernels: I would recommend FlashPoint kernel, v3 or v4 is fine. I dont recommend Ram Kernel. It is stable, but it has a bug where mobile data will stop working after awhile. It just cuts out, only a reboot will fix it...really annoying. This especially tends to happen when doing big downloads. Other kernels may work too, but i havent tried them. if you install a custom kernel, i'm not responsible if things break, like Private Mode/SafetyNet!
SafetyNet: My revised ROM zip will pass SafetyNet without root. This means you can use Pokemon Go, Netflix, banking apps, etc. There are SN checker apps out there, install one and run the test, should pass. It should also pass even with Magisk installed (it does for me). I didnt test with SuperSU, but if you install it in systemless mode, it might pass SN...no gaurantees. However, if you install Xposed, SN will definitely break. Other mods may or may not break it. I'm not responsible!
2 new additions (modded FlashPoint kernels):
With @kevintm78's permission, I am posting modded zips of FlashPoint v3.1 and FlashPoint v4 beta. They are based on the following zips:
https://androidfilehost.com/?fid=745849072291697438
https://androidfilehost.com/?fid=890129502657582253
See the FlashPoint XDA thread for details on these kernels.
I did this for the following reasons:
1. The original zips have init.d related scripts in the boot.img that remount system partition to read/write on every boot. This is fine...but it prevents most Magisk modules from working (they cant bind mount into the system partition because of the remount).
The original zips also appear to flash BusyBox into the system partition. In addition to this, there is init.d stuff in the boot images. These 2 things can potentially cause SafetyNet to fail.
I have made the following changes:
1. Removed BusyBox installer zips (install it manually if needed, or use Magisk's systemless BusyBox module)
2. Removed Magisk installer zips (because they are very old)
3. Removed init.d functionality from the boot images (this involved deleting 2 scripts, and deleting a line from init.rc)
4. Removed some unnecessary ui_print and set_progress lines from the updater-script files
If you need init.d support in the kernel, then use @osm0sis's Kernel init.d Support Injector zip
http://forum.xda-developers.com/attachment.php?attachmentid=3761907&d=1464187934
Flashing order:
1. Flash either of my custom Flashpoint zips
2. Flash Kernel init.d Support Injector zip
3. Flash root
You can also use Magisk for script execution support on boot instead. SuperSU also has su.d scripts support which works like init.d. I still prefer init.d in the kernel (I'm old school), but others may not.
Kernel Adiutor app is the recommended way of configuring these kernels. Both of the modded zips have the extended battery patches built in, so if you have an extended battery (like me), then the kernels will support it fully. If you just have a stock battery, no worries. i've tried both batteries with these kernels, found no difference in battery life or % displaying correctly.
I cant gaurantee that SafetyNet will pass with my modded zips, I had Xposed installed when I tested them. But i think it should. If you're using Magisk on top of these modded kernels, try turning on Magisk Hide, then run a SN test.
Besides the changes I've listed, nothing else is changed, everything should work pretty much the same as the original FP zips. Report kernel issues in the FP XDA thread if you run into problems, but mention that you're using my zips.
At @kevintm78's request, here are links to the source code for these kernels:
https://github.com/kevintm78/Flashpoint-F_3
https://github.com/kevintm78/Flashpoint-v4

Awesome work!!! @AnonVendetta Nice to see development for the Note 4 in 2020. Much appreciated and I thank you.

this is really great news!
thanks a lot for your efforts, I do love my N4, it can't be simply replaced because of removable battery and s-pen...
I would like to make shure not to run into trouble and kindly ask for a short confirmation if I understand all the info in your first post correctly:
my phone info current status:
android 5.1.1 - N910FXXS1COK1 - TWRP 3.4 - rooted
my target is a rooted Android 6 stock ROM
action:
1. I directly flash your deodexed TWRP-flashable ROM with TWRP.
2. I check if the phone boots correctly.
The result is: I now have a unrooted StockFW still with my TWRP in place.
2. I flash Stock N910FXXU1DRI2 boot.img with Odin in order to be able to successfully flash Magisk via TWRP. (isn't it possible to flash the boot.img also with TWRP?)
3. I now flash latest Magisk.
thanks and best wishes,
Su

@suse_: it's been a long time since I ran KitKat/Lollipop on the Note 4. For your situation, I believe the following steps will work. Since you are coming from much older firmware, flashing the ROM zip alone will almost certainly not boot, because of your older bootloader:
1. Flash my mini firmware package. This will upgrade the bootloader, modem, etc to what is compatible with the ROM. My mini firmware will overwrite your TWRP with latest TWRP, no need to flash TWRP separately.
2. Flash my ROM zip from TWRP. Be sure to wipe data/cache. While it boots, wait up to 20 mins. Because the ROM is deodexed, the 1st boot will take much longer. This is the nature of deodexed ROMs. If it hasnt booted in 20 mins, or bootloops/autoreboots...
Then you should try flashing the full, official firmware package in Odin. You can flash my ROM zip after this, but you dont need to, however you will end up with an odexed ROM if you dont.
Odin will not directly flash boot.img files, but TWRP can. No need to flash this separately unless you havent yet installed root/custom kernel but plan to.

thanks a lot @AnonVendetta for your helpful reply, will try my luck tomorrow and report back:good:
best
Su

I may later release a lightly debloated and deodexed version later. And, if anyone wants it, a debloated odexed version as well. But for right now, my laptop is out of commission, so no more work can be done for about a month. There really isnt much to do anyway, besides change the system image storage format to one that is compressed. As it is, it is just a byte for byte identical copy of the deodexed system partition, no compression applied.

n910f samsung note4
yep cant replace due spen ir removable battery superb fone and very nice size
Ive loaded sooooo many custom roms, but cant find one where everything works and is fast, camera bluetooth etc, presntly on acip
if anyone knows a custom rom where everything works on sm910f appreciate a link.
Its a fone not a toy! I need it to work with the bluetooth in the car or i get fied, I need the camera to come on immediately and not freeze of i lose the pic, I need it to start reasonably quickly and not freeze!!!!!!!!
Thankyou for this marshmallow 6 rom, may I confirm
load zip file to sd card fat32 flash with twrp
end up with stock android6 still with twrp in case a good custom rom comes out.
Advantage of custom roms... note 4 commands similar to a modern fone, i forget stuff like swype up for appstore/left button app store or was it right etc runs apps like bose which no longer run on android6 possibility of volte for poor signal in home
Actually there are a couple of better features in android 6 not carried over, swype down once and see text as well as pic for data wifi etc on shade, and big bright typefaces......

gwm121 said:
yep cant replace due spen ir removable battery superb fone and very nice size
Ive loaded sooooo many custom roms, but cant find one where everything works and is fast, camera bluetooth etc, presntly on acip
if anyone knows a custom rom where everything works on sm910f appreciate a link.
Its a fone not a toy! I need it to work with the bluetooth in the car or i get fied, I need the camera to come on immediately and not freeze of i lose the pic, I need it to start reasonably quickly and not freeze!!!!!!!!
Thankyou for this marshmallow 6 rom, may I confirm
load zip file to sd card fat32 flash with twrp
end up with stock android6 still with twrp in case a good custom rom comes out.
Advantage of custom roms... note 4 commands similar to a modern fone, i forget stuff like swype up for appstore/left button app store or was it right etc runs apps like bose which no longer run on android6 possibility of volte for poor signal in home
Actually there are a couple of better features in android 6 not carried over, swype down once and see text as well as pic for data wifi etc on shade, and big bright typefaces......
Click to expand...
Click to collapse
The GRX TouchWiz Home mod V8 runs excellent with stock roms.

@gwm121: This isnt technically a custom ROM, it's just a deodexed stock ROM. As noted above, nothing has been removed, so everything should work, in terms of functionality it is identical to the odexed stock ROM. What mods you decide to install (root, Xposed, busybox, viper, custom kernel, etc), is up to you, this is just a baseline.
Yes, just flash the zip from TWRP. If it doesnt boot, then read my posts above, you will find the answer.

hi @AnonVendetta, I followed your recommendations and successfully updated my phone, looking foreward now to check battery drain over night...
unfortunately I could not (yet) install xposed, my first attempt ended in a not starting device and I had to restore backup, need to further investigate what to do.
anyway thanks a lot once more for all your efforts!
best
Su

@suse_: The battery life on this should be pretty much the same as the stock odexed ROM. I have ran many odexed/deodexed ROMs over the years, and never noticed any significant difference between them.
If you want Xposed, this is the right version to use:
https://androidfilehost.com/?fid=529152257862685344
Do not use @rovo89's regular Xposed for Marshmallow, it will bootloop/hang on Samsung stock ROMs.
You also need the Xposed Installer app by dvdandroid.
This is what I'm running now, no issues. The deodexed ROM I've provided does *NOT* have Xposed installed.

Here is a safe debloat script. It doesnt remove that much, and everything it deletes can be installed from Play Store/Galaxy Apps if you want them back. The only apps I've added are the ones that I feel are 100% safe to delete and wont affect system stability. Maybe will add more in the future as I test.
EDIT: DEBLOAT SCRIPT REMOVED

AnonVendetta said:
@suse_: The battery life on this should be pretty much the same as the stock odexed ROM. I have ran many odexed/deodexed ROMs over the years, and never noticed any significant difference between them.
If you want Xposed, this is the right version to use:
https://androidfilehost.com/?fid=529152257862685344
Do not use @rovo89's regular Xposed for Marshmallow, it will bootloop/hang on Samsung stock ROMs.
You also need the Xposed Installer app by dvdandroid.
This is what I'm running now, no issues. The deodexed ROM I've provided does *NOT* have Xposed installed.
Click to expand...
Click to collapse
running fine now, thanks a lot!
AnonVendetta said:
Here is a safe debloat script. It doesnt remove that much, and everything it deletes can be installed from Play Store/Galaxy Apps if you want them back. The only apps I've added are the ones that I feel are 100% safe to delete and wont affect system stability. Maybe will add more in the future as I test.
Click to expand...
Click to collapse
stupid question: how to apply this? I installed it via TWRP, it did nothing, I searched appdrawer without success... is it for the commandline?
thanks

@suse_: Yes, it's a script. I forgot to mention that it needs to be flashed from TWRP. I kind of just assumed that people would know how to use it.

Can i use this on but exynos

@Tx Panda: No, you definitely shouldn't flash this on Exynos N910C. Different model/CPU chipset = not compatible. You will at the very least not be able to boot the ROM, and your device may softbrick until you repair flash with Odin.

I borrowed a friend's old desktop, monitor, and keyboard for a few weeks, while my laptop is away for repairs. It's not nearly as powerful as what I have, but it enables me to do work that can only be done on a PC.
Last night I tried to convert the raw system.img to a compressed Brotli format, but the zip didn't flash. So tonight I'm going to try to convert it to compressed ext4. If it works, I'll upload it. I may debloat it as well, along with a list of what is removed.
I really don't see a point in releasing a debloated odexed ROM, since a debloated and deodexed zip accomplishes pretty much the same thing, and is much easier and less aggravating to mod system files. I actually do prefer odexed ROMS, because they seem to run slightly faster overall than deodexed. But the speed difference is minimal, and if you have a good device like the Note 4, the differences are negligable.
A few other things I'd like to note:
1. Do not use Titanium Backup to debloat. It has a tendency to delete a bit more than necessary. I have seen users complain in the past about auto-rotate not working after using TiBu. This is because it deletes, in addition to the APK, odex files as well, as well as library files (name's ending in *.so, you can find them in /system/lib/ and /system/vendor/lib/). Sometimes these library files are used by other Android processes. Use TiBu as a reference to find the location of an app that you want gone, then delete it manually with a root file manager or TWRP. This leaves library files intact. TiBu is great, I use it for backup/restore, but never for debloating.
2. If you want to confirm that the bootloader, ROM version, CSC version, and baseband/CP/modem version are the same as the values I posted, you can use the free version of Phone Info by vndnguyen (search Play Store). However, these values may not match if you didn't at least flash my mini firmware package or the full official package before the deodexed zip. This way you will know your firmware is up to date. And if you switch to a different ROM, then you probably don't need to update it. As an alternative to stock, I find Resurrection Remix Nougat to be very fast and stable. If you wanted to run this or one of the new custom ROMS, you could just flash my mini firmware, then skip this deodexed ROM.

So, I'm currently building a new ROM zip. It is deodexed, same as original zip, but also debloated/de-knoxed. I removed a fair bit more than what my safe debloat script zip deletes. Nothing has been added. This leaves the system partition with about 38% free space (2.2GB used). I've tried to limit the removals to what I feel won't affect system usability/stability. So, here's what's removed:
/system/app/Books (Google Books)
/system/app/Chrome
/system/app/Drive (Google Drive)
/system/app/Dropbox_zero (Dropbox app)
/system/app/Flipboard (news app)
/system/app/FlipboardBriefing (news app)
/system/app/Gmail2
/system/app/Hangouts
/system/app/Maps (Google Maps)
/system/app/Photos (Google Photos)
/system/app/Music2 (Google Play Music)
/system/app/Newsstand (Google Play Newsstand)
/system/app/PlayGames (Google Play Games)
/system/app/PlusOne (Google+)
task manager and associated widget (who uses a task manager these days?)
/system/app/Videos (Google Play Movies/TV)
/system/app/YouTube
lots of apps related to facebook/instagram/whatsapp/evernote
Samsung print service plugin
PEN.UP
Peel Smart Remote (constantly bombards the **** out of your phone with ads like every minute, and when you unlock screen, it had to ****ing go...never seen a more annoying app)
S Note
Galaxy Apps widget (Galaxy apps store not removed, only its' useless widget)
stock email/exhange app (there are way better email apps out there)
Hancom office
stock calculator
S Health (left S Health service intact, you can reinstall S Health if you want, it will work)
stock voice recorder (way better stuff out there)
bubbles/phase beam stock wallpapers
knox:
/system/app/BBCAgent
/system/app/Knox
/system/app/MDMApp
/system/app/RCPComponents
/system/app/SamsungDLPService
/system/app/SecurityLogAgent
/system/app/SecurityProviderSEC
/system/app/SysScope
/system/app/UniversalMDMClient
/system/container
/system/etc/secure_storage/com.sec.knox
/system/preloadedmdm
/system/priv-app/KLMSAgent
/system/priv-app/SPDClient
Knox has got to be the most annoying POS security system Samsung has ever made, it likes to block root stuff. I've always just ripped it out by the balls, never had a loss in functionality because of this.
Most of what i've removed can be reinstalled from Play Store/Galaxy Apps, except Knox. The rest is generally useless junk that I feel most people won't miss. The whole point is to decrease the installed footprint of the system partition, while saving battery/CPU/RAM.
I'll spend the rest of tomorrow testing, then upload. This will very likely be the last released zip, I don't intend on turning this into a full-on custom ROM. In fact, I mainly created this topic to help out @prkfsz with a deodexed ROM that he could easily install MicroG onto. So far he hasn't reported whether it works. But then I realized I'd be doing the community a small service, so I created this topic. With that said, I'm not inclined to do much more free work, I'm a very busy guy most of the time. But I'll still stick around to answer questions.

@AnonVendetta - thank you for all the work. Sorry for not answering before, as i said, i was away and just recently got back. Will not have time to try your ROM untill next week.
I did manage to deodex stock ROM before with that APKtool you suggested, and it was a breeze with your instructions. Even here your instructions are very clear. You should be writing manuals..
Glad to see that there still is an interest for this great device. Personally i am going to run it as long as it works. And then i have a backup or five..
Am gratefull also for this ROM you are working on. That is almost exactly what i was looking for to begin with. I just sortof don't really get why you would remove S Note from the stock rom - that is basically one of the greatest advantages of this phone. I know there are other writing apps out there, i guess Squid is ok but in my opinion no apps come close to original SNote.
Looking forward to trying out your creations!

@prkfsz: I removed S Note and PEN.UP because I very rarely use the pen. Both of these are installable from Play Store/Galaxy Apps, so you're not really losing them. I have always considered them to be bloat. Another reason is that the versions Samsung includes in the ROM are old and not up to date.
You could have deodexed the entire ROM with APKTool, but it would have taken forever compared to the Kitchen. On my powerhouse PC, deodexing takes about 15 mins.

Related

[UNMAINTAINED][ROM ALL-IN-ONE] [LP_5.1.1] [D58XX] Heavily debloated - extras etc

[UNMAINTAINED]
This is for both locked/unlocked. Being 100% stock it is not going to unlock your BL, mess up your DRM/keys etc!
As some people asked me hereby I present you my new all-in-one solution for z3c d5803, this time based on LP 5.1.1, with following charateristics:
- Based on LP 5.1.1 23.4.A.1.264 FW (D5803, customized IT); 23.4.A.1.200 (D5833, customized HK) both with good spaced LTE icon
- pre-rooted with SuperSU 2.46 and Dual Recovery 2.8.21
- 100% stock (odexed)
- Heavily debloated with my own original big list
- xposed flashable v78 official by rovo for 5.1.1 + xposed APK alpha4
- Web View Google already updated to latest version as of 21/Jan in /data
- NFC icon restored
- Etar Calendar replacing Sony's
- Google Keyboard, Dialer and Contacts replacing Sony's (normal V8) or stock Sony versions (in V8_sony version)
- Nova Launcher replacing Sony's
- ES File Manager (pre-bloated version) replacing stock one
- QuickPic (neutered signed pre-bloated version) replacing Sony Album
- Z3+/Z4 bootanimation and live wallpaper
- Z5 conversations/messages/InCallUI/Phonebook (V8_sony version)
- Gravity Box, Unlink ringtones/notifications volume, AppsOpsXposed, MinMinGuard, Blurred System UI and Xperia Xposed xposed modules in /data
- Latest Sony Music in /data
- DPI changed to 280 for much better screen experience
- External SDCard writing fix
- Status Bar Icons Spacing Fix - example
- Camera/Album link FIX - to be able use camera without Album installed so you can open the images you take with your favourite image viewer!
- Lock screen fix in SystemUI (for hour in bold, and minutes in thin font) - example
NOTES
1. as in my first debloating solution for all xperia phones, all the bloat/replaced stuff is not really deleted but moved to a Backup folder in system (/system/__Backup) so you can restore anything you want very easily (sony keyboard, sony launcher, system apps etc)
2. that's the reason you can see /system partition still almost full in spite of my high debloat, but stuff moved to the backup folder is "silent", so for sure it is not affecting the system at all and it is like it is not installed: I use this approach for people who needs to restore something, this way restoring is very very easy and fast. By the way, deleting the whole Backup folder (or moving it to your sdcard) you will then see something like 1.1 gb extra free space in /system!! (see screenshots below )
Click to expand...
Click to collapse
Requirements:
- Working recovery installed
Installation: (as easy as...)
1. full backup
2. full wipe (system, data, cache and dalvik) ***
3. flash either AiO for D5803 [V8!!!] or AiO for D5803 [V8_sony!!!] or AiO for D5833 [V6!!!]
5. reboot/enjoy
PS IMPORTANT NOTE for unlocked BL users: to fix r/w on system you will have to flash a custom kernel like the one by Gustavo for example
*** NOTES ABOUT FULL WIPE vs DIRTY FLASH
You can also avoid wiping /data to keep all your data untouched but if YOU DO NOT WIPE DATA:
1. all apps I updated directly in /system may conflict someway with copies you may have stored in /data and you could get FC, especially Play Store/Services (btw in case any conflicts will appear it is pretty easy to fix them if you know how to clean things up yourself, for example clearing data of the conflicting apps installed in /data, and then uninstalling them via settings > downloaded apps)
2. my all-in-one solution won't be be 100% effective: the personal apps I included that are going to be installed in /data (xposed installer APK, Play Games, Sony Music, Gravity Box and Blurred UI xposed modules) WON'T be installed but just placed in /system/etc/product/applications with no effects (so in this case you can either keep them there, won't hurt, or delete them if you don't want them, while if you want them installed you can just click on them to start the installation as normal APKs)
3. all the apps installed by sony FW in /data (kobo books, navigator, social life, psp app, avg etc etc) won't be automatically removed (you will have to go to settings > downloaded apps to uninstall them manually)
4. not all the things needed for xposed to work contained in the FW will be installed automatically, so xposed will not work OOTB anymore (to get it to work, you will need to install manually at least xposed installer APK you can find in /system/etc/product/applications, and then all the modules you want to use)
I repeat the above will happen only if you DO NOT WIPE DATA, with clean flash instead everything will be as supposed: for sure no conflicts at all, all apps installed, xposed, modules, full debloat etc everything up and running and working OOB!
In case of UPDATING from one version to another: (as easy as... if not expressly mentioned to do otherwise...)
1. full backup
2. wipe system, cache and dalvik (do NOT wipe data, this way you will keep all your personal data)
3. flash new version via recovery
5. reboot/enjoy
SCREENSHOTS!!
https://www.dropbox.com/sh/m76pfpi9thygpd0/AAAogyfCaSTyFhXxE0c27Roza?dl=0
Hope you like it! If so, just please press THANKS!
CHANGELOG:
30/Nov (Ver.8)
- Changelog here
02/Oct (Ver.7)
- Changelog here
30/Sep (Ver.6)
- Changelog and md5sums here
24/Sep (Ver.5)
- Changelog and md5sums here
14/Sep (Ver.4)
- Changelog and md5sums here
11/Aug (Ver.3) (for more details about changelog see here)
- Camera/Album link FIX: to use camera without album installed so you can open the images you take with your favourite image viewer
- updated google play services and play store to latest in /system/priv-app
- updated xperia xposed module
- xposed flashable updated to v70
- lock screen fix in systemUI (for hour in bold, and minutes in thin font)
- ar-effect/bgdefocus/infoeye/album/music all removed from /system/priv-app
- ImageEnhancer removed from /system/app
27/Jul (Ver.2)
- bug fix for drm restoration mod users (restored original album and music apps, so will have to be updated manually not a big deal)
- updated Google services to latest
- Google Calendar replaced sony's
- status bar icons spacing fix by great @istux
- Xperia Xposed v2.0 by great @serajr -> if you are NOT going to wipe data during the upgrade, this won't be installed automatically. you can install it manually going to /system/etc/product/applications and clicking on "Xperia_Xposed_2.0.apk"
- simplified all-in-one zip structure with less "extra" scripts (i did put three zips in one so at the end of the fw flashing you won't see too many additional zips flashing after each other)
Removed stuff:
With my solution you are going to get rid of more than 170 packages and all relevant libs/stuff plus all applications automatically installed by Sony, overlays etc...
As said at the beginning, stuff is not going to be really deleted, but moved in /system/__Backup folder. This way you can restore things very easily.
At the following link you will find the full list of all stuff I moved away:
https://docs.google.com/spreadsheets/d/1geFByRKDTOOZSIBOixO2boG1_78NUjqzkB6iozzJ4-k/edit#gid=0
PS. the file is with read-only access for everyone, if you have any changes to suggest please reply the thread or send me a PM
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 the whole "Chrome" folder to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE the whole "Velvet" folder 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!
PPS. still, if you mess up something copying stuff to /system, and you get a bootloop, remember you can just enter in TWRP, mount system, and then with advanced > file manager you can delete what you have just copied to /system, this way your phone will boot up properly again
CREDITS
Many many heartily THANKS to:
@[NUT] for his lovely Dual Recovery
@zxz0O0 for many things (root, helping with recovery, PRF creator etc) and @russel5 for fixing some problems in PRF creator
@rovo89 for his wonderful xposed
@C3C076 for excellent GravityBox
@serajr for many things but especially for his kindness, contributions and in particular for the amazing Xperia Xposed and Blurred UI
@istux for his FW thread and so nice Status Bar icons spacing fix
@ondrejvaroscak and @Puffin617 for some very good advices about backing up stuff and installing personal apps respectively
@mj084 for some packages descriptions and collaboration and suggestions, mirrors etc [emoji14]
@Carach_CZ and @rak500 for the help in troubleshooting the root problem in unlocked bootloader
@Gustavo RD78 for his kernel fixing root problems on unlocked BL
@venkat kamesh for his camera/album link fix!!
@Wajk for the lockscreen clock fix solution hint and google dialer/contacts mod
@lee480 for the Z3+/Z4 live wallpaper and bootanimation
@itandy for unlink ringtones/notifications volume module
@caspase for AppOpsXposed module (hope the fact I included the module in this rom is not a problem, otherwise please let me know and I will remove it immediately! )
@FatMinMin for MinMinGuard xposed module (hope the fact I included the module in this rom is not a problem, otherwise please let me know and I will remove it immediately! )
@GenericAsianGuy for neutered signed pre-bloated version of QuickPic (hope the fact I included the apk in this rom is not a problem, otherwise please let me know and I will remove it! )
Can I use DRM recovery mod with this?
If so, can you kindly explain how?
Thank you for your hard work :good:
never used it sorry, never needed.
why you need it? you are on unlocked BL? do you have a backup of your TA made before unlocking? if so just relock your BL/restore your TA and you will get back your DRM/keys
EDIT: should be working fine since V2!!
thanks!!
Looks great, i'll test it tonight :good:
Downloading now! Thank you so much!!!!
Testing tonight as well
Getting VERY slow download speeds for the file. MEGA is usually quite good. Does bandwidth decrease if there are lots of users downloading the same file?
quarrymanpaul said:
Getting VERY slow download speeds for the file. MEGA is usually quite good. Does bandwidth decrease if there are lots of users downloading the same file?
Click to expand...
Click to collapse
don't think so many people is downloading this rom to decrease the speed
I think mega has some general problems today, I too had a very slow speed when uploading it.. other times it was much faster!
Thanks for your hard work @moly82, :good:
Downloading now,
Amazing!!
I'm working on Xperia Xposed right now and I think soon (very soon), it will be on party too!
serajr said:
I'm working on Xperia Xposed right now and I think soon (very soon), it will be on party too!
Click to expand...
Click to collapse
you are great! can't wait to use it in 5.1.1 and include it as well in this FW!
moly82 said:
don't think so many people is downloading this rom to decrease the speed
I think mega has some general problems today, I too had a very slow speed when uploading it.. other times it was much faster!
Click to expand...
Click to collapse
ok thanks.
Annoying as I have a 250MB line but it's only coming down at about 100kb/s for me so will take almost 4 hours
I could have sworn it was perfect earlier today on other files...
quarrymanpaul said:
ok thanks.
Annoying as I have a 250MB line but it's only coming down at about 100kb/s for me so will take almost 4 hours
I could have sworn it was perfect earlier today on other files...
Click to expand...
Click to collapse
Same thing here, seems maybe the Mega sever this file is on is having an issue or something.
I have a 100Mb connection but only downloading at ~60 KB/s...
what a pity i could have uploaded it to gdrive too or similar.. but never had problems with mega if someone accomplish in downloading it please mirror it somewhere and provide the link so i can put it in OP
61% and down to 80kB/s.
Another 2 hours to go
moly82 said:
what a pity i could have uploaded it to gdrive too or similar.. but never had problems with mega if someone accomplish in downloading it please mirror it somewhere and provide the link so i can put it in OP
Click to expand...
Click to collapse
I will upload somewhere when it finishes downloading and link it here if you don't mind that.
I installed it and i found several issues
-Root is not full and i can't edit anything in system partition
-album and music apps are not working( black screen and exiting)
Sent from my D5803 using Tapatalk
Perfectdevil said:
I installed it and i found several issues
-Root is not full and i can't edit anything in system partition
-album and music apps are not working( black screen and exiting)
Sent from my D5803 using Tapatalk
Click to expand...
Click to collapse
strange no such problems here.. full root and r/w for system working and no problems with album and music.. did you do a clean install? means did you wipe data as well??
moly82 said:
strange no such problems here.. full root and r/w for system working and no problems with album and music.. did you do a clean install? means did you wipe data as well??
Click to expand...
Click to collapse
I sure did a clean install wiping data Also... Strange indeed
Sent from my D5803 using Tapatalk
Perfectdevil said:
I sure did a clean install wiping data Also... Strange indeed
Sent from my D5803 using Tapatalk
Click to expand...
Click to collapse
indeed! just to be sure i made a full wipe again and reinstalled from scratch from twrp and after the long boot still full root and r/w for system and no problems with album and music.. don't know what to tell you! are you using twrp? what did you select exactly to wipe all?

[ROM][ROOT][STOCK][7.0] v2 Samsung Tab A 2016 10.1 (SM-P585Y/SM-P580), Jul 23, 2017

Greetings!
ROMs for the two variants of the Samsung Galaxy Tab A (2016, 10.1") with S Pen:
WiFi+Cellular (SM-P585Y) gtanotexllte (other variants, SM-P585, SM-P585N0, SM-P585M etc. not tested for ROM compatibility)
http://www.samsung.com/sg/tablets/galaxy-taba-p585/SM-P585YZWAXSP/​WiFi only (SM-P580) gtanotexlwifi (even this has not been tested since I don't have this device)
http://www.samsung.com/us/business/support/owners/product/SM-P580NZKAXAR​
Disclaimer: No warranties, stated or implied. Flashing a custom ROM might void your warranty. If you download the ROM & use it, you do so at your own risk. The author or XDA are not liable for any issues arising out of the usage of this ROM.
Different people have different requirements, so I have made available two versions of the ROM:
- Lite (heavily debloated with almost all Samsung apps removed, since I don't use them)
- Full (No debloat/no apps removed, apart from Knox)
Current version - Nougat 7.0 ROM v2 (rooted with Magisk 13.3)
Download Nougat 7.0 ROM v2 for SM-P580 WiFi only
Lite: Google Drive
Full: Google Drive
Download Nougat 7.0 ROM v1 for SM-P585Y WiFi+Cellular
Lite: Google Drive
Full: Google Drive
Previous versions - Marshmallow 6.0.1 ROMS (no further development):
Download Marshmallow 6.0.1 ROM v2 for SM-P585Y WiFi+Cellular (its somewhere between lite & full)
Mega, Mediafire, Dropbox,
Download Marchmallow 6.0.1 ROM v1 for SM-P580 WiFi only
Lite: Dropbox
Full: Dropbox
(Additional disclaimer: I don't have the WiFi only tab, so I cannot test this ROM. It underwent the same process as the WiFi+Cellular model, which I do have, so it should be okay. If you encounter any issues, please let me know.)
Pre-requisites:
Enable Developer options by going to Settings -> About device -> Software info -> click 7 times on 'Build number'.
Now go to Settings -> Developer options -> Turn on 'OEM Unlock' & 'USB Debugging' if not already done so.
Caution: The stock ROM has Verifed Boot enabled with device-mapper-verity (dm-verity) kernel feature, which prevents a successful bootup if it detects any modification to the original setup. See details. This needs to be disabled if you need to install a custom recovery, or a custom ROM.
Download dm-verity disabler:
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
Download TWRP recovery:
LTE version - https://twrp.me/devices/samsunggalaxytaba101lte2016spen.html
WiFi version - https://twrp.me/devices/samsunggalaxytaba101wifi2016spen.html
Instructions - Install TWRP Recovery & flash DM-Verity disabler:
Transfer the downloaded file 'no-verity-opt-encrypt-5.1.zip' to SD card or OTG USB drive.
Download Odin 3.12.3 or any recent version.
Shutdown your tab.
Use Power+Volume Down+Home to reach the Download screen & then press Volume Up to confirm.
Use the AP section to flash the TWRP recovery.
After installing TWRP via Odin, uncheck auto reboot & manually go into TWRP to install the file 'no-verity-opt-encrypt-5.1.zip'
THEN, format /data, DON'T wipe it.
Booting to the stock ROM AFTER installing TWRP without doing this will show you a Verification failed warning, asking you to reset to factory defaults, since you basically overwrote Samsung's default recovery with TWRP, so it is cross with you.
Instructions - Install ROM:
Copy ROM to SD card or OTG USB drive (TWRP can have issues reading the internal storage)
Insert the SD card or OTG USB drive into the tab (very important!)
Press Power + Volume Up + Home & keep them pressed till you reach the TWRP splash screen
Swipe right to allow modification
Install 'no-verity-opt-encrypt-5.1.zip' from SD card or OTG USB drive
Format /data
From Advanced Wipe, wipe Dalvik/ART Cache, System, Internal Storage & Cache
Install the ROM, no need to wipe again since we already wiped & formatted in TWRP
Remember to remove the tick mark against reboot before clicking next, do NOT reboot yet!
Wipe Dalvik/ART cache (yes, again, after ROM install)
NOW, Reboot
Let the ROM boot, give it time
Install any extra applications you need
Bugs/Limitations & Workarounds:
Some APKs have been removed as part of the deknox/debloat, however, the appropriate system level modifications have not been touched in order to remain as close to stock as possible. So if you try to change a setting which relies on the removed feature, the appropriate app might force close, or it may continue to wait for the missing app. This is expected. Currently I have no plans to correct this behavior.
Software updates will not work.
Google Play Services might force close, so you will need to update it.
Samsung notes may force close out of the box. Just update it from Google Play Store. It will work after that. (zayi)
Accessibility service doesn't work on the debloated/lite ROM. Just use any third party keyboard like Swiftkey/Google Gboard etc & then enable the service for the application you desire. (zayi)
ROM features: See post # 2
Extra recommendations for ROM & App recommendations: See post # 3
XPOSED (was only tested on Marshmallow 6.0.1 ROM, NOT on Nougat 7.0):
Xposed framework v86.1 (you can then upgrade to v87)
Xposed Installer v3.1
Xposed modules & other stuff
Credits/Thanks:
IAM_TheFlash for the inspiration & advice
Assayyed for Assayyed Kitchen, using which this ROM was built, along with the numeroud features of the kitchen, including the app debloat list
zayi for the excellent feedback & solutions to the problems the ROM causes.
AndroidSword for the invaluable guide.
zxz0O0 for the download tool.
XDA community for the platform
Samsung/updato.com/Samsung Updates Live/Alfafile/MrCrab for the ROM
ROM Screenshots for SM-P585Y attached for the Home screen, Applications & Software Info.
None for SM-P580, since I don't have the tab to test.
--
Jp
Current Nougat 7.0 Releases:
SM-P585Y Changelog::
v2:
Based on stock Nougat 7.0 XSA (Australia) firmware build P585YDXU1BQF1 from June 2, 2017
Android security patch level May 1, 2017
Deodexed
Zipaligned
Rooted with Magisk v13.3
SU.d support
Busybox installed
Build.prop tweaks
Init.d support
Ext4-TuneFS scripts
Knox removed
SQLite script
ADB Connect/SysRO SysRW scripts
Debloated (Lite version, see attachment v3 for details of APK's removed)
SM-P580 Changelog::
v1:
Based on stock Nougat 7.0 XAR (United States) firmware build P580UEU1BQE4 from June 13, 2017
Android security patch level May 1, 2017
Deodexed
Zipaligned
Rooted with Magisk v13.3
SU.d support
Busybox installed
Build.prop tweaks
Init.d support
Ext4-TuneFS scripts
Knox removed
SQLite script
ADB Connect/SysRO SysRW scripts
Debloated (Lite version, see attachment v3 for details of APK's removed)
Old Marshmallow 6.0.1 Releases:
SM-P585Y Changelog::
v2:
Added some of the stuff back, since it was not playing nice with /data format
Investigated Xposed compatibility & added links for Xposed framework, installer & modules
Updated instructions
v1/baseline:
Based on stock firmware build P585YDXU1API1
Android security patch level September 1, 2016
Deodexed
Zipaligned
Systemless pre-root with SuperSU
Busybox installed
Build.prop tweaks
Init.d support
Knox removed
SQLite script
ADB Connect/SysRO SysRW scripts
SU.d support
Heavily debloated (See attachment for details of APK's removed)
Ext4-Tune2FS scripts
SM-P580 Changelog::
v1:
Based on stock firmware build P580ZSU1APJ3
Android security patch level September 1, 2016
Deodexed
Zipaligned
Systemless pre-root with SuperSU
Busybox installed
Build.prop tweaks
Init.d support
Knox removed
SQLite script
ADB Connect/SysRO SysRW scripts
SU.d support
Heavily debloated lite version & almost stock full version (See attachment for details of APK's removed in lite)
Ext4-Tune2FS scripts
Jp
Extra recommendations for the tab:
Since SM-P585Y doesn't have a huge internal storage, just 16 GB, out of which, only ~9 GB is left for the user, you may want to use adoptable storage to use your SD card as internal storage. Go to this thread by ashyx to enable adoptable storage, whereby you have the option to convert your SD card as an internal storage unit: http://forum.xda-developers.com/galaxy-tab-a/how-to/patch-adoptable-storage-enabler-t3507387. The only caveat is that it formats & converts the whole SD card for use as internal storage & you won't be able to pop the card out & use it on your PC to transfer data, you will need to transfer data via the USB cable just like you would for the internal storage.
Go to Developer options & turn off Windows, Transitions & Animator animations. It would visibly speed up your tab slightly by cutting down on the slight delay introduced by the animations.
App recommendations (Free in Play Store):
'Xodo PDF Reader & Editor' for PDF annotation
'INKredible - Handwriting Note' for taking notes with guaranteed beautiful handwriting
Jp
Can we instal xposed in these ROM?
Gosh, saw a stock rom for the s pen model and got excited, until I saw it was the P585 only =[
Merry Christmas LTE guys!
zayi said:
Can we instal xposed in these ROM?
Click to expand...
Click to collapse
I went too far in my debloating, which doesn't play nice with formatting /data, so I've added some stuff back & christened the new ROM v2. Uploading, should be up shortly. I've installed Xposed on it. Looks okay.
EDIT: New ROM v2 uploaded.
I don't use Xposed much, however, I was able to install:
Xposed framework ver 86.1
Xposed Installer ver 3.1
Modules: Xposed edge & Gravitybox (MarshMallow)
It seems to be behaving itself, don't see any errors in my rudimentary testing.
Jp
veekay said:
Gosh, saw a stock rom for the s pen model and got excited, until I saw it was the P585 only =[
Merry Christmas LTE guys!
Click to expand...
Click to collapse
LOL, Merry Christmas, WiFi folks.
I don't think there's much difference between the WiFi & LTE models apart from the SIM module , so if you're feeling brave, you can try to install it.
Otherwise let me try to look up the WiFi ROM & cook t the same way. Your tab would have to be the guinea pig though.
By the way, which is the software version for P580? I saw this one online: P580KXU1APJ1 from November 2016. Any release after that?
Jp
japinder said:
I went too far in my debloating, which doesn't play nice with formatting /data, so I've added some stuff back & christened the new ROM v2. Uploading, should be up shortly. I've installed Xposed on it. Looks okay.
EDIT: New ROM v2 uploaded.
I don't use Xposed much, however, I was able to install:
Xposed framework ver 86.1
Xposed Installer ver 3.1
Modules: Xposed edge & Gravitybox (MarshMallow)
It seems to be behaving itself, don't see any errors in my rudimentary testing.
Jp
Click to expand...
Click to collapse
Wow... ty so much. Download it and will try it today...thanks brother
Seems P580UEU1APH6 as far as XAR release.
BTW, does this get rid of the S pen features?
japinder said:
LOL, Merry Christmas, WiFi folks.
I don't think there's much difference between the WiFi & LTE models apart from the SIM module , so if you're feeling brave, you can try to install it.
Otherwise let me try to look up the WiFi ROM & cook t the same way. Your tab would have to be the guinea pig though.
By the way, which is the software version for P580? I saw this one online: P580KXU1APJ1 from November 2016. Any release after that?
Jp
Click to expand...
Click to collapse
my Samsung Notes stopped working. and always show notification "unfortunately, samsung notes has stopped". any idea what happen?
zayi said:
my Samsung Notes stopped working. and always show notification "unfortunately, samsung notes has stopped". any idea what happen?
Click to expand...
Click to collapse
Yes, that is an acknowledged bug.
However, I recently installed Xposed framework, Xposed installed & a couple of Xposed modules. Afterwords I again applied the dm-verity & no-ecryption zip and then again formatted data. Now Samsung Notes is back up running. Wondering, whether that has anything to do with Xposed, or the data format...
If you haven't setup a ton of apps, maybe you can just try to install the zip & format data to see if Samsung Notes works... However, it will mean starting from scratch again in terms of setting up your tab...
Jp
japinder said:
Yes, that is an acknowledged bug.
However, I recently installed Xposed framework, Xposed installed & a couple of Xposed modules. Afterwords I again applied the dm-verity & no-ecryption zip and then again formatted data. Now Samsung Notes is back up running. Wondering, whether that has anything to do with Xposed, or the data format...
If you haven't setup a ton of apps, maybe you can just try to install the zip & format data to see if Samsung Notes works... However, it will mean starting from scratch again in terms of setting up your tab...
Jp
Click to expand...
Click to collapse
Sry. after i update samsung notes via google play store that fix those problem. ty for your time. nice job for these rom.
zayi said:
Sry. after i update samsung notes via google play store that fix those problem. ty for your time. nice job for these rom.
Click to expand...
Click to collapse
LOL, that must have been it for me too, updating apps.
Thanks for the confirmation, updated first post.
Jp
Can you try to go to accessibility>vision>tts . I need to activate accessibility of some apps, but can't get through these tts. Make setting force close
zayi said:
Can you try to go to accessibility>vision>tts . I need to activate accessibility of some apps, but can't get through these tts. Make setting force close
Click to expand...
Click to collapse
Sorry, I removed TTS in my haste to debloat the ROM, since I don't use it.
I guess if you do need it, maybe I can upload another version of the ROM with zero debloat, which doesn't have any apps removed. It would be same as stock in terms of apps, but you still have the other features.
Let me know.
Jp
japinder said:
Sorry, I removed TTS in my haste to debloat the ROM, since I don't use it.
I guess if you do need it, maybe I can upload another version of the ROM with zero debloat, which doesn't have any apps removed. It would be same as stock in terms of apps, but you still have the other features.
Let me know.
Jp
Click to expand...
Click to collapse
OK I will wait for it. Ty
veekay said:
Gosh, saw a stock rom for the s pen model and got excited, until I saw it was the P585 only =[
Merry Christmas LTE guys!
Click to expand...
Click to collapse
veekay said:
Seems P580UEU1APH6 as far as XAR release.
BTW, does this get rid of the S pen features?
Click to expand...
Click to collapse
I've created two ROMs for the WiFi model, based off the build P580ZSU1APJ3:
- Lite (heavily debloated, with almost all Samsung apps removed, Air Command removed too)
- Full (only Knox removed, all other apps remain as it is, Air Command works)
So now both 2016 S-Pen tab models are equally represented. No partiality any longer.
Jp
Appreciate the work. Is it possible to have a lite version with just the s-pen functionality left in or is that dependent on too many other apps? Or, is there an apk that can be downloaded to re-enable air command?
japinder said:
I've created two ROMs for the WiFi model, based off the build P580ZSU1APJ3:
- Lite (heavily debloated, with almost all Samsung apps removed, Air Command removed too)
- Full (only Knox removed, all other apps remain as it is, Air Command works)
So now both 2016 S-Pen tab models are equally represented. No partiality any longer.
Jp
Click to expand...
Click to collapse
veekay said:
Appreciate the work. Is it possible to have a lite version with just the s-pen functionality left in or is that dependent on too many other apps? Or, is there an apk that can be downloaded to re-enable air command?
Click to expand...
Click to collapse
LOL, thanks. Its just selective debloat. Just more work, that's all.
These are APK's, but system apps, not user apps, so normal install like other apps may not work as intended, might be more messy, even if it works.
Air Command, the feature to pop up a selection of commands targeted towards the S Pen, is not a feature I find terribly useful. When I take out the S Pen, I use it for two purposes:
- Take handwritten notes with INKredible app.
- Annotate PDF's with Xodo.
Air Command just gets in the way, I have to dismiss it, causing one more S Pen click or back button key press. And keeps on showing the translucent button, which I can sometimes press inadvertently. Apart from Clock (I just like the white icon by Samsung, instead of horrible pale purple clock icon by Google), I just replace all the Samsung apps with the ones by Google. Hence the heavily debloated approach. I understand, Samsung Notes, with it OneNote like functionality might appeal to some people, the automatic prompt might appear cool too, even if its not for me.
Let me see what I can do, maybe a third, not-so-lite & not-so-full ROM. No ETA's though.
Jp
The tablet is my wifes and she uses this feature on the tab and her note - wouldn't be able to convince her to switch to a slimmed down rom without it
japinder said:
LOL, thanks. Its just selective debloat. Just more work, that's all.
These are APK's, but system apps, not user apps, so normal install like other apps may not work as intended, might be more messy, even if it works.
Air Command, the feature to pop up a selection of commands targeted towards the S Pen, is not a feature I find terribly useful. When I take out the S Pen, I use it for two purposes:
- Take handwritten notes with INKredible app.
- Annotate PDF's with Xodo.
Air Command just gets in the way, I have to dismiss it, causing one more S Pen click or back button key press. And keeps on showing the translucent button, which I can sometimes press inadvertently. Apart from Clock (I just like the white icon by Samsung, instead of horrible pale purple clock icon by Google), I just replace all the Samsung apps with the ones by Google. Hence the heavily debloated approach. I understand, Samsung Notes, with it OneNote like functionality might appeal to some people, the automatic prompt might appear cool too, even if its not for me.
Let me see what I can do, maybe a third, not-so-lite & not-so-full ROM. No ETA's though.
Jp
Click to expand...
Click to collapse

[ROM] X96 2/16GB with full root SuperSU and TWRP Recovery

This is my first attempt of creating any Android Rom myself, so don't expect too much.
Changes to the original OTA update which was the base for all:
Removed Superuser in favour for a fully integrated SuperSU by Chainfire.
Changed some root related settings in the kernel to allow a full root instead of factory default.
Keyboard bug fixed for all included keyboards and added a definition for those cheap wireless keyboards with touchpad you often get with the box.
This means pressing ENTER or OK really does just that instead of only producing unwanted characters.
Several versions for download (once I managed to test and upload all), all include a power menu for Kodi to shut down the box without the need for the IR remote.
General instructions:
Download the RAR archive of your choice and unpack the contents to a micro SD formatted in FAT32.
Insert SD into box and press the little button inside the AV port while you power the box up.
Once the logo appears release the button.
TWRP recovery will start and you should do a full backup of your box first!
I do recommend a full wipe after the backup to avoid conflicts after the firmware installation.
Install the ZIP and reboot once done.
Take your time as the initial boot will take quite some time, especially for the versions with more added programs.
Just the recovery image - for those who need it.
X96 stripped down...
In this version I removed all content from the OTA update that might be considered to be a concern in legal terms.
So no Kodi addons, no streaming apps, just a naked system with the standard Google apps and a modified Kodi.
The crappy file browser was replaced by the FX filebrowser.
For those with the need for more than the Media Box Launcher I added the ADW Launcher as well as the XMBC Launcher to have Kodi as the homescreen.
After the boot is finnished I strongly recommend to update the SuperSU binary.
I left this part manual as a confirmation that the first boot and setup really completed.
Only then can SuperSU update the binary in normal mode with success.
After that reboot to clear the memory and all leftovers.
Once you are done with all modifications and app installations you might need do a full backup trough TWRP again to safe you the time if something goes wrong.
Download RAR
After a lot of swearing, flashing, more swearing and flashing I finally managed to create a fully unbranded system that can be installed through TWRP.
If you still know how the original X96 looks with the original firmware you will be surprised
What has changed from the branded firmware:
Bootlogo original S905X.
Google bootanimation - that was the hardest part, allowing for a custom animation...
Media Box Launcher unbranded and with unbranded theme.
Unbranded Kodi completely removed so the rom will comply with all piracy laws and restrictions - more in the added apps section.
OTA updater removed.
All programs from the branded version removed, so no social media, Chrome, Netflix and so on.
Apart from the naked system with Google apps I included:
AdAway
ADW Launcher
XMBC Laucher for Kodi
File browser replaced by FX filemanager
Power Menu added - still requires to root the box! More under added apps.
Added apps and modifications:
Kodi was removed, but the install script for the addon packs is still valid.
The script no longer refers to the system folder but to /sdcard/apps
This means if you decide to install Kodi you can place the tar.gz archive for the addons in the apps folder of the internal SD.
Kodi itself is not included.
The additional apps I thought to be of use will be in the apps folder of the internal SD.
In FX file explorer it is called "Main Storage".
Here you will find:
Chrome
Facebook
Film On (from the branded firmware)
Lucky Patcher
Mobdro (from the branded firmware)
Netflix (from the branded firmware)
Showbox (from the branded firmware)
Skype
SuperSU by Chainfire
Twitter
VLC for Android
Three different Youtube apps to choose from, including a TV version.
How to install SuperSU:
All modifications to the boot image, scripts, libraries and so on are done and included.
This means the system is rooted except for the actual Superuser app.
Install from the apps folder and let the binary update, once done reboot and enjoy.
Ads...
Not all ads in programs or while surfing can be disabled by AdBlock.
For example everything coming from "trusted sources" like Google will still be allowed.
This is the only reason I included Lucky Patcher as it can be of use for some apps to enjoy without ads.
Install and use at your own risk!
Installation of the ROM:
As before wipe all through TWRP then install the ZIP file from extracted RAR archive - so unpack the RAR first to your SD card.
Installation through TWRP does take a few minutes due to the hash verification.
Since all included apps are integrated into the system the first boot is a bit faster compared to the above ROM.
And the additional apps land on the internal SD for everyone to choose or delete if not wanted.
Please allow about 5 minutes after after the launcher selection appeared before you actually start using the apps - some things are still installing in the background!
Once you finnished the network and personal setup of accounts and such bott into TWRP and make a full backup in case you need it.
A factory reset will set you back to the point of the installation of the rom - so no SuperSU and the added apps folder might be gone too.
Known bugs:
Just noticed the WiFi is not available at first activation.
As the chipset is identified during activation you might have to select the network twice until you see WiFi available.
Watch the boot on Youtube
Download from Filefactory
Beta2 with shutdown using F12 on the Wifi Keyboard and some other fixes. - This is just with the most basic apps.
I finally found a neat way to use the WiFi remote to shut down the box the same way the power button on the IR does.
Just press F12 and you will be asked if you want to power down
Will upload the Beta2 with this fix soon.
What's left to do?
Well, now that there is an unbranded and working S905x system out there it means someone could use it to make a ROM that works on all S905X systems out there...
Just needs including WiFi and where existant BT drivers, libraries and calls....
And of course a recovery capable of working on all boxes but that should not be too hard actually
Update: 12/05/2017:
Beta 3 and a Fully Naked Rom is available now.
The Fully Naked Rom has the FX File Explorer and SuperSU included, apart from that it is a naked Android without any Google apps left - great if you want to play around with different GAPPS packages.
The Beta 3 has some minor fixes and most apps moved into the system area instead of the user space.
If you need more apps or launchers then please check the Playstore.
Both have a system partition inflated to 1536mb, which is the same size as the factory OTA update.
On the Fully Naked Rom you can only install apps through the filemanager as no store of any kind is included.
Update 17/07/2017:
A new firmware was released and finally we have a navbar and notification shade "out of the box".
Other changes include the launcher and Kodi, now you find KD Launcher and KD Player...
The OTA can be found here, just unpack to the SD and use as usual, either with the supplied original recovery or your favourite TWRP.
Only downside is we have a locked bootanimation again
A cleaned rom with the usual fixes for keyboard and root can be found here as my Beta 4.
All removed and some additional apps can be found in this archive, just unpack to your SD and install with FX.
Those with just 1GB system memory or wanting to customise all themself can try the Beta 5, which is made small enough to fit on 1GB systems.
Use the above archive to add the programs you need.
Libreelec for SD or USB install.
Unpack the archive to your PC and use Rufus to get the tar.gz image to your SD/USB stick - all existing data will be wiped.
Copy the dtb.img to the SD, overwriting the existing file.
Plug in the box and boot using a toothpick.
Once Libreelec is set up it will work with the SD/USB inserted without you boot the normal Android from the internal memory.
Videoboot
With this version you can use a MP4 video file instead of a bootanimation.
Works with sound of course and should support every MP4 video the normal video player can play.
For your own video simply replace the bootvideo.mp4 in the systems media folder.
Update 04/06/2017: Finally with Open GAPPS!
The X96 showed some real resistance to overcome the chinese limitations and to allow a working installation of updated Google Apps.
As I already spent a lot of days trying to get it to work I only focussed on Open GAPPS but no manual install or the XIAOMI Gapps installer.
With the troubles in the beginning I created a way of installing it all that worked with no errors for me - I suggest to follow it before you try other ways.
This Beta is right now considered to be in an experimental stage until users provided enough feedback to confirm it indeed works fine.
All is based on a naked and slightly modified Beta 5.
The system itself is pretty much naked except for the usual fixes, everything that could make troubles was removed, this includes:
Camera, video and music, wallpapers and so on - install what you want and need through the playstore once all is working.
Main reason for this was to avoid problems with the GAPPS package and to allow the use on 1GB systems as well.
How to install:
Unpack the RAR archive to your favourite SD card or USB stick.
Plug into the box and start with a toothpick - TWRP will show up.
Go to Wipe, Advanced Wipe and wipe Dalvik/Art cache, Data, Internal Storage and Cache.
Go back and install the X96-no-gapps archive and add the opend gapps archive into the line.
Upgrading the neural network takes a few minutes, once the AI is fully operational the GAPPS package will install.
Simply ignore the fact that some of the listed apps will not be available, like Faceunlock - this is due to the removed camera and other things but also because of our harware platform.
After that reboot.
If all goes well and the intial boot goes well you can simply follow the on screen instructions from the wizard.
In case after 10 minutes the Google animation is still going you have to try again but with a different approach (50/50 chance for the first to work).
Start over with a another wipe as above, then install only the X96-no-gapps firmware.
Reboot and do your usual setup of network and screen settings - don't start any apps or mess with SuperSu yet!
Once all is good reboot into the TWRP recovery and install the Open GAPPS package.
Reboot.
Now all should go according to plan.
Troubleshooting and additional infos:
If neither the first nor the second way of installing works for I suspect that your previous ROM was not based on mine or the OTA firmware.
In this case try one of my other beta firmwares if the included firmware itself already failed to boot.
The initial connection to Google can take 4-5 minutes instead of the advertised 2 minutes, so please allow 5 minutes before you panic.
The additional Google apps are not available at this stage and the loading will stay on the screen until you click next - simply add whatever Google app you need from the playstore.
This included Google Music and Google Play TV.
Again: no additional apps of any kind are included, I suggest to use VLC for audio and video or simply whatever you prefer.
Oh, before you ask: Navbar and notification shade are active and working.
Allow some time and check the notification shade for the updates once the system is running, I did not include all updated versions at this stage.
Download the new Beta 6 - Open Gapps version.
Update 15/11/2017:
They finally released another update, got available two days ago but file date is a bit older.
You can check on the Baidu servers yourself if you like Baidu X96 Downloads
Password there is: hp7u
Download as a RAR from Filefactory.
Once I find some time I will check if and what fixes are needed that I can do.
My new x96 arrived yesterday also I found this thread and instructables yesterday. I'm really glad that you take care of this little machine.:good:
Sent from my I9195I using XDA Labs
Guess I was just in the same boat as everyone else with these noname things.
Figured almost everything out I need, ecxept how to change the bootloader/kernel to allow for a custom bootanimation.
Main thing though was to have a working recovery to avoid weird UBS cables and manual flashing.
I wish I was 2 weeks further so I could test your build but I have to look through these things atm. Its interesting that the youtube tv app hasn't changed for a while.
Too many boxes available but I do think x96 is a solid little machine.
There's also opportunity to work with libreelec.
On my s4mini I have a dolby atmos app running modded by ahrion here on xda. Maybe it would be interesting.,wheather it runs on our little devices or not.
I am working on a fully unbranded firmware for the X96 atm.
The problem of converting USB burn images into flashable ZIP was one problem to get the "unbranded" original firmware to at least install another.
They really don't like you messing with their toys in china LOL
If I can't solve the bootanimation problem I will at least upload the otherwise unbranded version with a choice of launchers and updated apps.
Chinese toys. LOL.
Who has made the custom rom from February 16th. Rar @entertainmentbox?
No clue as I did not do it and did not check either.
But the fully unbranded firmware is on the way to upload
Finally custom bootanimations are possible
The pictures I've seen on instructables are awesome. Nice launcher.
Hope you're having fun tuning these Chinese toys.
Sent from my I9195I using XDA Labs
Congrats to your unbranded system. Hope there will be soon more users for testing and enjoying your work
Fixed the shutdown through WiFi remote problem
Is it possible to have look like the normal android tablet/phone?
Hey Downunder35m http://www.tvboxforum.com/archive/index.php?thread-671.html
Just curious is the remote working? I btw changed the keyboard layout so the annoying enter key is fix as well as added the F1 = Power function
Nevermind I fixed my issues with the remote too. Now it is 100% working.
Wasn't aware that the keyboard needs fixing as it works fine here, including powering down the box
I didn't upgrade to the Beta2

			
				
Hello!
I have the X96 box mentioned here. Exactly this 2GB model: https://www.aliexpress.com/item/Hot...32779857015.html?spm=2114.13010608.0.0.dF9x4G
The problem is... No matter what i do, i get the error 7 in TWRP. I tried beta1 and beta2, but same error.
I have tried retrying, rebooting, but no effect.
Any suggestions?
What i did was;
-backup files (to internal memory)
-wipe all (byebye backup )
-try to install image from sd-card or usb-stick (both fat32)
-installed TWRP recovery (which caused SD card not to be recognized anymore)
The recovery is specifically for the X96, I had no time to make a generic recovery for all S905X boxes, but seems it should be the next step here.
The error 7 through TWRP is caused by two things (at least during all my tests):
a) The system is totally wiped and the updater script is unable to find the correct hardware info as the build.prop is no longer present.
For this problem and during my tests it just works if you flash again without a wipe.
So right after the error 7 go back and install the firmware again without any reboot or anything else and it should flash successfully.
b) Your system uses different space allocations for the boot, bootloader and recovery partitions.
For this problem the only real cure is to first use the OTA installer for the genuine firmware to get the system working again.
Then only wipe Dalvik, cache and data - the system partition will be overwritten once the update starts but then the installer can find the build prop and if compatible will continue.
If you have a download for the original firmware I will try to incule your system stuff into the next recovery I make.
Otherwise you can always try the hard way if the system is currently toast anyway:
Open the updater script in the META-INFO folder (down in the last subdirectory) and remove the device check for the X96.
That would be the first two lines of the script- everything before th OTA check.
Downside of this approach is that your entire system will be replaced by mine and if your hardware is differernt or the partition sizes won't match then it still won't boot.
Let me know how you go and I will see that by tomorrow evening I have a universal TWRP for all S905X ready.

[ROM] Spacesung J727P VMU/SPR/BST Nougat & Oreo (WIP)

Spacesung​Galaxy J727P
(J727PVPU3ARC2)​​Disclaimer:
I am not responsible for what you do with your device. If you decide to flash this software then you are accepting any risks involved. Including, but not limited to; bricking your device, missing alarms, missing calls, loss of your job, repossession of your car, and maybe even spilt milk.
About:
This is very much a personal project that I felt others would appreciate. I enjoy retro gaming very much, and as some of you may know, emulation is very CPU intensive. Hence the reason for making Spacesung. My goal was a stock rom that was lag free, debloated, and buttery smooth for gaming. I believe I have achieved this, and so, I give this to the you, to enjoy, use, modify, and share at your discretion.
Features​
•Deodexed
•Debloated- I have removed all unnecessary Samsung, Google, and Amazon apps.
•Removed all Amazon symlinks. (Libs are next.)
•Deknoxed- Note: Some leftovers may be present. If you find any please let me know.
•Rooted- SuperSu is included.
•Up to 10gb+ of internal storage is available. This number will change depending on what you install afterwards, and what you have already stored on your internal SD.
Instructions:​
1. Download the ROM from here.
2. Download GoogleKeyboard. You will need this after installation because the Samsung keyboard has been removed.
3. Make sure both files are on your internal, or external storage. Either is fine.
4. Reboot to recovery and wipe, data, system, cache, & dalvik cache.
5. Install Spacesung.
6. Reboot and wait. SuperSU will cause it to boot loop once. This is just root sinking it's teeth into the system. Don't interrupt it. After the aforementioned loop, it'll take about ~5-8min to start up. This only applies to the very first boot. Afterwards it only takes ~10 seconds to startup.
7. Skip all the setup steps that require typing. This can be done after you install GoogleKeyboard.
8. Enjoy!
Special notes:
*Google play, and Google services are still installed. You can disable both if you want to. You must disable it as a device administrator under the security options first, or it will be grayed out.
*Syncing will not work, since it has also been removed.
*Device encryption and secure storage shouldn't work either.
*Chrome is still installed. It can also disabled. There is no way to remove it yet, as the 7.0 framework uses it for webview. I'm still searching for a workaround to save more space.
*Anything not listed, should be working perfectly. If something is broken, let me know. And please remember, that anything already listed is not a bug, it is intentional. If you have any issues with 3rd party apps, I will try to help you, though I make no promises.
New!: Spacesung Oreo Debloat Script​Notes:
1. Flash in recovery after the first boot.
2. Wipe dalvik cache ONLY! (Oreo cleans up data from removed apps automagically after rebooting.)
3. Profit!
*If you want to modify what's removed, simply open the updater-script with a text editor (preferably Notepad++) and add or remove the # sign. All apps in the stock Oreo system are listed in alphabetical order. This script should be safe to flash as is. Touchwiz, Theme store, Google play, and Samsung keyboard, are not removed by default. No files will be added to your OS either.
Ex.
delete_recursive("/system/app/AmazonMP3"); ← This would be deleted. #delete_recursive("/system/app/AmazonMP3"); ← This would be ignored.
*As always, anything that I make is free to use for other projects, public or personal, without my permission. No need to ask me, just do it! Credit is always appreciated, though not required.​
J727P
Spaceminer said:
Spacesung​Galaxy J727P
(J727PVPU3ARC2)​​Disclaimer:
I am not responsible for what you do with your device. If you decide to flash this software then you are accepting any risks involved. Including, but not limited to; bricking your device, missing alarms, missing calls, loss of your job, repossession of your car, and maybe even spilt milk.
About:
This is very much a personal project that I felt others would appreciate. I enjoy retro gaming very much, and as some of you may know, emulation is very CPU intensive. Hence the reason for making Spacesung. My goal was a stock rom that was lag free, debloated, and buttery smooth for gaming. I believe I have achieved this, and so, I give this to the you, to enjoy, use, modify, and share at your discretion.
Features​
•Deodexed
•Debloated- I have removed all unnecessary Samsung, Google, and Amazon apps.
•Removed all Amazon symlinks. (Libs are next.)
•Deknoxed- Note: Some leftovers may be present. If you find any please let me know.
•Rooted- SuperSu is included.
•Up to 10gb+ of internal storage is available. This number will change depending on what you install afterwards, and what you have already stored on your internal SD.
Instructions:​
1. Download the ROM from here.
2. Download GoogleKeyboard. You will need this after installation because the Samsung keyboard has been removed.
3. Make sure both files are on your internal, or external storage. Either is fine.
4. Reboot to recovery and wipe, data, system, cache, & dalvik cache.
5. Install Spacesung.
6. Reboot and wait. SuperSU will cause it to boot loop once. This is just root sinking it's teeth into the system. Don't interrupt it. After the aforementioned loop, it'll take about ~5-8min to start up. This only applies to the very first boot. Afterwards it only takes ~10 seconds to startup.
7. Skip all the setup steps that require typing. This can be done after you install GoogleKeyboard.
8. Enjoy!
Special notes:
*Google play, and Google services are still installed. You can disable both if you want to. You must disable it as a device administrator under the security options first, or it will be grayed out.
*Syncing will not work, since it has also been removed.
*Device encryption and secure storage shouldn't work either.
*Chrome is still installed. It can also disabled. There is no way to remove it yet, as the 7.0 framework uses it for webview. I'm still searching for a workaround to save more space.
*Anything not listed, should be working perfectly. If something is broken, let me know. And please remember, that anything already listed is not a bug, it is intentional. If you have any issues with 3rd party apps, I will try to help you, though I make no promises.
*As always, anything that I make is free to use for other projects, public or personal, without my permission. No need to ask me, just do it! Credit is always appreciated, though not required.​
Click to expand...
Click to collapse
One question did you add any kernel tweaks to your build ? An why can't I find any system tweaks ? Sorry two Questions !!
peter couniaz said:
One question did you add any kernel tweaks to your build ? An why can't I find any system tweaks ? Sorry two Questions !!
Click to expand...
Click to collapse
There are no kernel tweaks. I have been trying to build a custom kernel from source for this, however, ubuntu/virtualbox are not playing nice with my hardware. (Ubuntu stops using my CPU completely after ~10min.) This is just a very bare bones stock Rom, with Trebuchet as a launcher. There are no special system tweaks added to it. Regarding that topic, I am working on tethering, it has been very difficult though. Samsung's smali files are a huge mess to work with. I can get the "you are not subscribed to this service" notification to stop, but tethering still won't start. Are you missing any options that would normally be available on stock? If so, I would definitely like to fix that ASAP.
J727P
Spaceminer said:
There are no kernel tweaks. I have been trying to build a custom kernel from source for this, however, ubuntu/virtualbox are not playing nice with my hardware. (Ubuntu stops using my CPU completely after ~10min.) This is just a very bare bones stock Rom, with Trebuchet as a launcher. There are no special system tweaks added to it. Regarding that topic, I am working on tethering, it has been very difficult though. Samsung's smali files are a huge mess to work with. I can get the "you are not subscribed to this service" notification to stop, but tethering still won't start. Are you missing any options that would normally be available on stock? If so, I would definitely like to fix that ASAP.
Click to expand...
Click to collapse
Thank you for getting back to me an good luck with your build on a custom kernel for this phone we can really use one !! Thanks again !
Spaceminer said:
Spacesung​Galaxy J727P
(J727PVPU3ARC2)​​Disclaimer:
I am not responsible for what you do with your device. If you decide to flash this software then you are accepting any risks involved. Including, but not limited to; bricking your device, missing alarms, missing calls, loss of your job, repossession of your car, and maybe even spilt milk.
About:
This is very much a personal project that I felt others would appreciate. I enjoy retro gaming very much, and as some of you may know, emulation is very CPU intensive. Hence the reason for making Spacesung. My goal was a stock rom that was lag free, debloated, and buttery smooth for gaming. I believe I have achieved this, and so, I give this to the you, to enjoy, use, modify, and share at your discretion.
Features​
•Deodexed
•Debloated- I have removed all unnecessary Samsung, Google, and Amazon apps.
•Removed all Amazon symlinks. (Libs are next.)
•Deknoxed- Note: Some leftovers may be present. If you find any please let me know.
•Rooted- SuperSu is included.
•Up to 10gb+ of internal storage is available. This number will change depending on what you install afterwards, and what you have already stored on your internal SD.
Instructions:​
1. Download the ROM from here.
2. Download GoogleKeyboard. You will need this after installation because the Samsung keyboard has been removed.
3. Make sure both files are on your internal, or external storage. Either is fine.
4. Reboot to recovery and wipe, data, system, cache, & dalvik cache.
5. Install Spacesung.
6. Reboot and wait. SuperSU will cause it to boot loop once. This is just root sinking it's teeth into the system. Don't interrupt it. After the aforementioned loop, it'll take about ~5-8min to start up. This only applies to the very first boot. Afterwards it only takes ~10 seconds to startup.
7. Skip all the setup steps that require typing. This can be done after you install GoogleKeyboard.
8. Enjoy!
Special notes:
*Google play, and Google services are still installed. You can disable both if you want to. You must disable it as a device administrator under the security options first, or it will be grayed out.
*Syncing will not work, since it has also been removed.
*Device encryption and secure storage shouldn't work either.
*Chrome is still installed. It can also disabled. There is no way to remove it yet, as the 7.0 framework uses it for webview. I'm still searching for a workaround to save more space.
*Anything not listed, should be working perfectly. If something is broken, let me know. And please remember, that anything already listed is not a bug, it is intentional. If you have any issues with 3rd party apps, I will try to help you, though I make no promises.
*As always, anything that I make is free to use for other projects, public or personal, without my permission. No need to ask me, just do it! Credit is always appreciated, though not required.​
Click to expand...
Click to collapse
Downloaded and installed nicely. Tried to switch superuser with magisk but no go, need stock boot image but all in all a good clean debloated Rom. You should include a keyboard though, your link did not work so I downloaded one on my PC and transferred to internal sd and installed. If you can get magisk instead of superuser, you will have a winner !
Sent from my SM-J727P using Tapatalk
J727P
Spaceminer said:
Spacesung​Galaxy J727P
(J727PVPU3ARC2)​​Disclaimer:
I am not responsible for what you do with your device. If you decide to flash this software then you are accepting any risks involved. Including, but not limited to; bricking your device, missing alarms, missing calls, loss of your job, repossession of your car, and maybe even spilt milk.
About:
This is very much a personal project that I felt others would appreciate. I enjoy retro gaming very much, and as some of you may know, emulation is very CPU intensive. Hence the reason for making Spacesung. My goal was a stock rom that was lag free, debloated, and buttery smooth for gaming. I believe I have achieved this, and so, I give this to the you, to enjoy, use, modify, and share at your discretion.
Features​
•Deodexed
•Debloated- I have removed all unnecessary Samsung, Google, and Amazon apps.
•Removed all Amazon symlinks. (Libs are next.)
•Deknoxed- Note: Some leftovers may be present. If you find any please let me know.
•Rooted- SuperSu is included.
•Up to 10gb+ of internal storage is available. This number will change depending on what you install afterwards, and what you have already stored on your internal SD.
Instructions:​
1. Download the ROM from here.
2. Download GoogleKeyboard. You will need this after installation because the Samsung keyboard has been removed.
3. Make sure both files are on your internal, or external storage. Either is fine.
4. Reboot to recovery and wipe, data, system, cache, & dalvik cache.
5. Install Spacesung.
6. Reboot and wait. SuperSU will cause it to boot loop once. This is just root sinking it's teeth into the system. Don't interrupt it. After the aforementioned loop, it'll take about ~5-8min to start up. This only applies to the very first boot. Afterwards it only takes ~10 seconds to startup.
7. Skip all the setup steps that require typing. This can be done after you install GoogleKeyboard.
8. Enjoy!
Special notes:
*Google play, and Google services are still installed. You can disable both if you want to. You must disable it as a device administrator under the security options first, or it will be grayed out.
*Syncing will not work, since it has also been removed.
*Device encryption and secure storage shouldn't work either.
*Chrome is still installed. It can also disabled. There is no way to remove it yet, as the 7.0 framework uses it for webview. I'm still searching for a workaround to save more space.
*Anything not listed, should be working perfectly. If something is broken, let me know. And please remember, that anything already listed is not a bug, it is intentional. If you have any issues with 3rd party apps, I will try to help you, though I make no promises.
*As always, anything that I make is free to use for other projects, public or personal, without my permission. No need to ask me, just do it! Credit is always appreciated, though not required.​
Click to expand...
Click to collapse
You may want to try this Build I Built on TomeGJ7p's WIFI BUILD it's a good one I THINK YOU WILL LIKE IT !
https://mega.nz/#!aUlU3CiD!QERLRerFDA8497aKopbqZqZh-ZSTVfZ9GhfQQy2mBrs
PS if you like it you can use it to Build on you have mine an tomeGJ7p's Blessing !!
Spaceminer said:
There are no kernel tweaks. I have been trying to build a custom kernel from source for this, however, ubuntu/virtualbox are not playing nice with my hardware. (Ubuntu stops using my CPU completely after ~10min.) This is just a very bare bones stock Rom, with Trebuchet as a launcher. There are no special system tweaks added to it. Regarding that topic, I am working on tethering, it has been very difficult though. Samsung's smali files are a huge mess to work with. I can get the "you are not subscribed to this service" notification to stop, but tethering still won't start. Are you missing any options that would normally be available on stock? If so, I would definitely like to fix that ASAP.
Click to expand...
Click to collapse
This ROM is totally debloated. I went back and tried it again, very smooth, very fast but Contacts would not sync so I could not call anyone. Google account would not sync so no play store apk update from old account.Samsung account missing so no way for me to bring certain apks and utilities from stock ROM. Bare-bones android op. But I will keep it on my sd card.
PS
I just remembered those system apks that are missing that I need, I could have installed thru Titanium Bkup! [emoji846]
Sent from my SM-J727P using Tapatalk
is there anyway you can upload a copy with sync enabled and would it be possible to also use a modified or even stock touchwiz launcher?? and Magisk... If I could have sync magisk and touchwiz Id run this as my daily driver
JeepinxJosh said:
is there anyway you can upload a copy with sync enabled and would it be possible to also use a modified or even stock touchwiz launcher?? and Magisk... If I could have sync magisk and touchwiz Id run this as my daily driver
Click to expand...
Click to collapse
You can flash gapps for sync, I don't have the sync apps on hand or I would attach them. I've flashed pico without issue. I forget which one(s) has the sync apps, it's possible that all of them do. Magisk can be installed fairly easily. Grab Magisk v16. Open SuperSU, look in settings and choose full unroot. Select yes when asked to restore the stock boot image, and no to recovery. As soon as it reboots, hold Vol↑+Home to catch TWRP, then flash Magisk. As for Touchwiz, try installing the one in the attachments below. If it gives you any problems, let me know. If I update anything I will definitely be using Magisk, and I'll keep these options in mind for separate builds in the future.
Spaceminer said:
You can flash gapps for sync, I don't have the sync apps on hand or I would attach them. I've flashed pico without issue. I forget which one(s) has the sync apps, it's possible that all of them do. Magisk can be installed fairly easily. Grab Magisk v16. Open SuperSU, look in settings and choose full unroot. Select yes when asked to restore the stock boot image, and no to recovery. As soon as it reboots, hold Vol↑+Home to catch TWRP, then flash Magisk. As for Touchwiz, try installing the one in the attachments below. If it gives you any problems, let me know. If I update anything I will definitely be using Magisk, and I'll keep these options in mind for separate builds in the future.
Click to expand...
Click to collapse
Thanks man
I used this rom as the base for my gaming phone and then stripped it down to only system framework apps. If the latter were removed it would crash the phone. Anything I removed to get to that point, had minimal impact on space (fifty or so megs) and bootup times compared to a fully loaded phone (5 seconds). Spaceminer did an excellent job on this.
Video here of bootup comparison between two Galaxy J7 Perx, one with the Spacesung rom:
https://www.youtube.com/watch?time_continue=2&v=z9bcqwLVIAA
Is the Oreo stock ROM a battery chugger?
It's just me or anybody have experienced less stamina from their battery with the Oreo stock ROM even with all the de-bloat applied. Compared to the latest ARG2 Nougat it's almost halves the lifetime of the battery, even when on standby it consume a lot more.
ct760ster said:
It's just me or anybody have experienced less stamina from their battery with the Oreo stock ROM even with all the de-bloat applied. Compared to the latest ARG2 Nougat it's almost halves the lifetime of the battery, even when on standby it consume a lot more.
Click to expand...
Click to collapse
Have you tried turning off all the scanning features? Also in the dev options, the switch that keeps mobile data always on, is enabled by default. It's normally off in Nougat. Turning that off should help tremendously.
That being said, I do think Oreo is a battery hog, and I don't think there's any performance gain over Nougat. My best benchmarks with this phone are running Nougat (ARG2), debloated. My battery gives me 51-52hrs on Nougat, with 17-18hrs of that being screen on time. I plan on running Oreo this week to get a good comparison between them.

[Lemon Drop] A [Debloated] & [DeGooged] [Stock] [Oreo] [Rom] for the H910 & most Lgv20 phones.

STANDARD DISCLAIMER: I am not responsible for any damages caused to your phone. Use Audo_Debloat and or FAQ & Troubleshooting guide at your own risk there is no warranty or guarantee.
{
"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"
}
Welcome to the Lemon Drop Rom, for the Lgv20...
Auto_Debloat is a twrp flashable file I created, it's very unique in that you flash in twrp after you have already flashed Stock Oreo v8.0, kernel, magisk ect. This will transform Stock Oreo 8.0 into The Lemon Drop Rom. Auto_Debloat mods the build.prop file and updates the GPU drivers and tweaks. I love music, Lemon Drop was designed with music in mind, by forcing true 24 bit audio, at 44.1 kHz and System wide Quad DAC support. You will need to install apps like the alarm clock and weather. Most all LG apps are still there and some Google apps, like Chrome and the Play Store. You can always DeGoogle, at any time or keep Google Play Services installed. The idea is to customize Lemon Drop, to fit your needs.
Please read Questions, before rooting or flashing Auto_Debloat.
What works?
-Google Play Store
-Google Assistant
-Audio (input all three mics, & output)
-Display (with image retention fix & tweaked KCAL settings for optimal color)
-Bluetooth
-FM works on (H910) mod for VS995 & US996 link
-IR Remote
-LGMusic Player (for H910)
-Second screen
-usb
-Media playback
-fast charging
-Hardware buttons
-Camera (Camera improvement tweaks)
-GPS (USA gps fix by default & other countries optional) link
-Fingerprint
-DAC (24_BIT_Deep_Buffers_Enabler v4.2 force true 24 bit audio at 44.1 kHz) & (System wide Quad DAC support. V6.2)
-Radio (VoLTE & Wifi Calling only tested on H910 with AT&T)
-Wifi (dual channel bonding on 2.4GHz + speed tweaks)
-Thermal Throttling (70c default max temp) link
-Video output via hdmi
-DRM Widevine L1
What does not work?
-Miracast (removed due to security concerns)
My other xda pages
Best Apps, Games, Emulators for android & mods/tweaks for the Lgv20
Twrp Mods not included in Auto_Debloat
This mod has to be flashed, after you have already setup your phone.
Speed up WIFI / LTE By enabling CRDA on Android aka wifi country code (root only)
Magisk Module extra add-on Mods are not included in Auto_Debloat.
Disable find my device administrator account. Only if Google is installed.
Disable lock screen service administrator account. Only if Google is installed.
Force Doze Mode Force your phone into doze mode to save battery. (root only) With Google or without, like LineageOS or a DeGoogled phone.
Thermal Engine mod for Lgv20 Stock Oreo/Nougat (root only) Lemon Drop default is 70c you can flash 80c or 60c if you want.
Change Log Notes:
New v9.82 & v8.82
Increased the Zram size to 2.5 gigabytes. Added some extra Zram tweaks that may speed up the phone.
New v9.81 & v8.81
Auto_Debloat v9.81 updated to latest working version of Magisk v24.3. Also on v8.81 updated Auto_Debloat script.
New v9.80 & v8.80
Updated Auto_Debloat script also on v8.80 I removed the DT Ignite on the H990DS roms.
New v9.79 & V8.79
Updated Auto_Debloat script also on v8.79 I removed DT Ignite (aka) Mobile Services Manager on the VS995 Roms and US996 Roms, it's a bloatware app that installs other apps on your phone. link
New v9.78 & v8.78
Updated to 24_BIT_Deep_Buffers_Enabler_v4.2_Lgv20_Oreo
new sound improvement tweaks.
New v9.77 & v8.77
Fixed the hide boot warning message on the H910. Also update the Auto_Debloat script.
New v9.76 & v8.76
Updated the Auto_Debloat script, made it a little faster when flashing.
New v9.75 & v8.75
Hide boot warning message on the H910 Auto_Debloat v9.75. Cleaned up the Auto_Debloat script a little bit.
New v9.74 & v8.74
Fixed the internet speed Mod tweak in WCNSS_qcom_cfg.ini
Added gEnablePhyAgcListenMode=7
On this version I found the fix for the slow wifi and LTE. Dual bonding is enabled on the 2.4GHz band.
New v9.73 & v8.73
Added a new internet speed fix in the WCNSS_qcom_cfg.ini
This tweak will speed up LTE and wifi.
New v9.72 & v8.72
Only fixed some typo's,
New v9.71 & v8.71
Fixed Enable power save offload on wifi. Will speed up wifi and help save power.
New v9.70 & v8.70
Enable power save offload on wifi. Save battery when using wifi.
New v9.69 & v8.69
Enabled WMM on wifi should speed up playback of video and multimedia data.
New v9.68 & v8.68
Changed the wifi scanning period and enabled wifi dual bonding on the 2.4GHz band. This should speed up the internet on 2.4GHz band, and maybe save a little battery because I slowed the wifi scanning period down.
New v9.67 and v8.67
Updated to speed mod v5.28 change GPU governor to msm-adreno-tz with default 133mhz
New v9.66 & 8.66
Fixed Auto_Debloat script to work with the GPU Drivers.
New v9.65 & 8.65
Found an issue with the GPU drivers. Fixed GPU Drivers.
New v9.64 & v8.64
Updated to Speed Mod v5.27 Removed the GPU tweaks and adjusted the idle timer that should speed up the GPU also with out the battery drain I was experiencing.
New v9.63 & v8.63
Fixed zram settings.
New v9.62 & v8.62
Adjusted the GPU tweaks so they do not use too much power but still provide a performance boost.
New v9.61 & v8.61
Updated to Speed Mod v5.25 Added some GPU Tweaks
New v9.60 & v8.60
Updated to Speed Mod v5.24 Fixed typo in last speed mod.
New v9.59 & v8.59
Updated to Speed Mod v5.23 Changed the rq_affinity to number 2. That should speed up the eMMC drive and sdcard.
New v9.58 & v8.58
Fixed delete only log files.
New v9.57 & v8.57
Removed all the Auto_Debloat.log's on /system and moved to internal storage. I was just thinking that it may be getting a little bit messy on the /system with log files.
Also on the H910, updated to the latest version of twrp. twrp-3.7.0_9-0-h910
New v9.56 & v8.56
Updated to Speed Mod v5.22 All new interactive governor settings.
New v9.55 & v8.55
Updated to Speed Mod v5.21 and tweaked the interactive governor settings.
New v9.54 & v8.54
Updated to Speed Mod v5.20. Changed governor to interactive, increased speed & increased battery life.
New v9.53 & v8.53
Updated to Speed Mod v5.19 Fixed some things with the TCP Speed Mod
New v9.52 & v8.52
Updated to Speed Mod v5.18 added a TCP Speed tweak to speed up internet.
New v9.51 & v8.51
Updated to Speed mod v5.17 Changed the TCP Algorithm to cubic. May speed up internet and make it more stable. I have an issue with Wifi Calling where the voice will cut in and out sometimes, this should fix that issue.
New v9.50 & v8.50
Changed the version number from 8.0.0_Lemon_Drop back to the default. I don't think it will hurt anything but still it was bugging me.
New v9.49 & v8.49
Updated to speed mod v5.16 changed GPU Governor to Simple_Ondemand and change the power level to save battery power.
New v9.48 & v8.48
Fixed Ram Optimization Tweaks
New v9.47 & v8.47
Updated the United States GPS fix. All other locations you can update manually link
New v9.46 & v8.46
Just some minor fixes with the script
New 9.45 & v8.45
Fixed another error in the build.prop file with Enable System wide Quad DAC support. This may improve sound quality.
New v9.44 & v8.44
Fixed an error in the build.prop file with the Enable System wide Quad DAC Support.
New v9.43 & v8.43
Added new build.prop GPU tweaks. This will improve the font on the Lgv20.
ro.hwui.use_gpu_pixel_buffers=true
ro.hwui.text_gamma_correction=lookup
ro.hwui.text_gamma=1.4
ro.hwui.text_gamma.black_threshold=64
ro.hwui.text_gamma.white_threshold=192
ro.hwui.disable_vsync=false
ro.hwui.render_dirty_regions=false
video.accelerate.hw=1
debug.sf.hw=1
debug.performance.tuning=1
debug.egl.hw=1
debug.composition.type=gpu
sys.use_fifo_ui=1
ro.HOME_APP_ADJ=1
New v9.42 & v8.42
Added some more GPU build.prop tweaks
debug.performance.tuning=1
debug.egl.hw=1
debug.composition.type=gpu
ro.HOME_APP_ADJ=1
New v9.41 & v8.41
Fixed an issue in the build.prop file with the GPU tweaks.
New v9.40 & v8.40
Added some GPU build.prop tweaks
hwui.disable_vsync=true
hwui.render_dirty_regions=false
debug.sf.hw=1
video.accelerate.hw=1
New v9.39 & v8.39
Updated to speed mod v5.15 trying to save a little bit of battery life without sacrificing speed. Also fixed some apps crashing.
New v9.38 & v8.38
Added some Zram tweaks.
New v9.37 & v8.37
I got Zram fixed. I was able to have 22 apps open at the same time and Android did not close the apps on me. I was using 1.8 gig's of Zram when doing that. Because Zram was never working before it will take like 1 second sometimes to open an app that's because it's in compressed ram and the phone needs to uncompress it on the fly. So just an fyi. The Zram size is 2304MB with a mem_limit of 768MB. But this will save loading from the eMMC drive because we are loading the apps from Zram once you have opened the app. Oh yeah and swapfile is disabled. Enjoy everyone.
New v9.36 & v8.36
Also Changed zram disk size to the optimal size of 2304MB I did the math and this is the best size of zram for this phone. Swapfile is disabled.
New v9.35 & v8.35
Removed the swapfile as it may slow the phone down. Increased the size of the Zram.
Enable 768MB Zram mem_limit and disksize of 3840MB
New v9.34 & v8.34
Fixed an issue with the swapfile priority
New v9.33 & v8.33
Changed Zram to 768MB Added swapfile 1024MB
Fixed issue with sluggish ui
I set the priority of Zram to high and the swapfile to low so the phone will use Zram first then once it's filled up the phone will start using the swapfile. This should give us a lot more ram for multitasking.
New v9.32 & v8.32
Added a 1.5Gig Zram with lz4 compression. Removed Swapfile.
Well I did a lot of research and trial and error, and have concluded that we need to give zram a try. I have came up with a custom zram that's 1.5Gig's. This phone is lacking ram. I wish we had 6 gig's or 8gig's. But we have 4gig's and most of that is used by the OS. So the only way to increase the ram on the phone is with zram. The next version will have my own custom zram config that's 1.5gig's. I got it done already. I guess I always thought that zram would slow my phone down, but I have tweaked this version to make it fast. I have to say I am impressed with the results.
New v9.31 & v8.31
Changed swapfile size to 256MB
Found the optimal swapfile size it's 256MB. That will reduce writes on the eMMC drive and still allow you to open a number of apps at the same time without having android kill them. The tweak from last version helps a lot also by freeing up extra ram.
New v9.30 & v8.30
Free up extra ram by reset zram0 and zram1
Lemon Drop is still using a swapfile
New v9.29 & v8.29
Added Speed mod v5.14 change micro sdcard disk scheduler to noop. Might speed up sdcard a little bit.
New v9.28 & v8.28
Added the Lemon Drop Boot logo. I think the phone may boot a little bit faster because there is no animation to load.
New v9.27 & v8.27
Added Speed mod v5.13 fixed image retention issue.
New v9.26 & v8.26
Added Speed mod v5.12 some tweaks a little faster and may improve battery life.
New v9.25 & v8.25
Tweaked the 1024MB Swapfile
New v9.24 & v8.24
Added Internet Speed Tweak
I tweaked "/system/vendor/etc/wifi/wpa_supplicant_overlay.conf" and the wifi is a lot faster now.
New v9.23 & v8.23
Added Camera improvement tweak. This will make the photos you take crisp, clear and sharp.
New v9.22 & v8.22
Fixed bug if system is mounted as read-only. If so then Auto_Debloat would not install. Some other small bug fixes.
New v9.21 & v8.21
Added speed mod v5.11. This should speed up the phone a little bit more. Should also save battery life. I tweaked the sched_upmigrate and sched_downmigrate. The up is set to 95% and down is set to 90%. So if a task is using more that 95% of cpu it will go the big cpu and vice versa.
New v9.20 & v8.20
Increased the swapfile to 1024MB & some fixes. No Zram only a swapfile.
New v9.19 & v8.19
Added Speed Mod v5.10 Tweaked Entropy speed tweak a little bit more.
New v9.18 & v8.18
Added Speed mod v5.9 Added an entropy speed tweak. Should speed up the phone and help with lag.
New v9.17 & v8.17
New Name for the Rom: Lemon_Drop
Added name to Android Version 8.0.0_Lemon_Drop
Just if you were wondering it's the Lemon Drop Candies not the drink. They were always my fav as a kid.
New v9.16 & v8.16
Added United States GPS Fix
To: /system/vendor/etc/gps.conf
New v9.15 & v8.15
Changed the swap file to 512MB, It's more like 488MB but it should be plenty.
New v9.14 & v8.14
Added a 341MB swap file to /cache/swapfile
This is something I wanted to do for a long time but I did not know where to put it at. The cache directory is the best place for it. Flashing the Speed Mod will remove the swap file. If that happens just flash Auto_Debloat again.
On v9.14 & v8.14
You may want to do a format data & reinstall of Oreo And Auto_Debloat. My phone is running faster, sound is great, I am getting close to the final version, this may be it.
New v9.13 & v8.13
Added AdAway default blocklist to /system/etc/hosts
New v9.12 & v8.12
Added a cool Droid startup animation no sound.
New v9.10 & v8.10
Updated speed mod to v5.8, a lot faster now. I think this is the max speed I can get out of the Lgv20.
New v9.9 & 8.9
It's even faster than v8.9 & v8.8. I found OTA file that is needed by the phone to do updates. I deleted that. And also I downgraded Magisk from v23.0 to v21.4 in v9.9. I think for now we should just stay on Magisk v21.4 it seems to work the best with Oreo. Only thing is you need to do another full reinstall again, for this new version. I am getting close to being done with Auto_Debloat.
New v9.8 & v8.8
Formatted the RCT and FOTA devices. Before I was just wiping them. Now there is no way the phone can download FOTA updates. Not in less Android knows how to read a NTFS file system. I think this new version has improved the speed of the phone a lot. Full reinstall is required for this version. Also found out how to unmount all the partitions after Auto_Debloat is done.
New v9.7 & v8.7
Updated to Speed mod v5.7 some other fixes. Enjoy.
I think this is it for awhile. I just keep finding thing to tweak. I am having fun.
New Stable versions of Auto_Debloat
v9.6 & v8.6
Updated the speed mod to v5.6
v9.5.1 & v8.5.1
I spent a lot of time changing the Auto_Debloat install script to get a perfect install of Stock Oreo Debloated. The trick is to un-mount all partitions after Auto_Debloat is done and before you reboot from TWRP into system. It's recommended to do a full reinstall with this version. Lot's of changes to the install script. Also Updated twrp to twrp-3.6.2_9-0-h910.
v9.2.2 & v8.2.2
Sable Branch version also. Has no add-on mods installed. It's recommended to do a full reinstall with this version. Lot's of changes to the install script. Un-mount all partitions after Auto_Debloat is done and before you reboot from TWRP into system.
v9.4 &v 8.4
Updated the Speed mod from v5.4 to v5.5. Moved Auto_Debloat_log to /system and moved build.prop.stock to /system.
Also there was an issue with Auto_Debloat v9.3 & v8.3 where it was not backing up the original build.prop file. Also my phone was getting hot with v9.3 & 8.3 IDK why? But this new version phone seems to be running a lot cooler.
This version there is some other changes I made to improve the install of Stock Oreo. I would recommend doing a full reinstall with this version, if anything to get your stock build.prop file backed up.
v9.3 & v8.3
I wanted to Include some of my Add-on Mods in Auto_Debloat.
What's included is in v9.3
24_BIT_Deep_Buffers_Enabler_v4.1_Lgv20_Oreo
DAC_Enabler+LGMusic_v1.3
Speed_Mod_Lgv20_msm8996_Oreo_v5.4
Thermal_Engine_Mod_v7.0_70c
System wide Quad DAC support. V6.2 in build.prop file
What's included in v8.3
24_BIT_Deep_Buffers_Enabler_v4.1_Lgv20_Oreo
Speed_Mod_Lgv20_msm8996_Oreo_v5.4
Thermal_Engine_Mod_v7.0_70c
System wide Quad DAC support. V6.2 in build.prop file
You can always just flash the version of the mod you want. Theses are just what's included.
You can update if you want, it's always best to do a full reinstall. Update instructions are down below.
v9.2 & v8.2
I was having an issue with my sdcard, my files were getting corrupted. I think I fixed the issue with v9.2 and v8.2. You can update if you want, it's always best to do a full reinstall. Update instructions are down below.
I think it had something to do with Oreo wanting to encrypt the sd card. But it's a issue I have been dealing with for a long time. Let's hope I got it this time. Always backup your sdcard just in case.
v9.1 & v8.1
This version is 95% Vanilla Stock Oreo Debloated to the max. Same for v9.2 & 8.2. This version there is a bug that may corrupt your sd card. Best use v9.2 or 8.2 if you want a Vanilla Stock Oreo Debloated.
05-06-23
Auto_Debloat v9.82 Version for H910/H915 Install Stock Oreo & debloat.
****Warning ONLY flash on the H910/H915****
What's included in v9.82?
Modded boot.img
Triton removed
LG RCT removed (root checker tool)
twrp-3.7.0_9-0-h910
Updated Oreo Modem Drivers
Magisk 24.3
ezV2020 Kernel v1.0
New GPU drivers 313.0 V11
24_BIT_Deep_Buffers_Enabler v4.2 force true 24 bit audio at 44.1 kHz
DAC_Enabler+LGMusic_v1.3_Oreo
Speed_Mod_Lgv20_msm8996_Oreo_v5.28 / includes image retention fix
Thermal_Engine_Mod_v7.0_70c
System wide Quad DAC support. V6.2
Added AdAway default blocklist to /system/etc/hosts (aka ad blocker)
Added United States GPS Fix
Added Camera improvement tweak
Added Internet Speed Tweaks
Added the Lemon Drop boot logo
Added Zram of 2.5GB + LZ4 algorithm and Zram optimization tweaks
Added Hide boot warning message
Added dual channel bonding on 2.4GHz
Upgrade Instructions:
Flash Auto_Debloat v9.x in twrp reboot. If on a lower version of Magisk v24.3 then install the latest working version of Magisk-v24.3.apk GitHub Link, Open Magisk it will say Requires Additional Setup press Ok and Allow if asked. Patch vbmeta in boot image click next. Direct install recommended let’s go then reboot.
Installation instructions:
Before installing Auto_Debloat you need to be on the latest version of twrp. The H915 needs to install the H910 twrp.
Update twrp. twrp-3.7.0_9-0-h910.img
With the phone powered off, hold the down volume button and plug in usb to computer and phone.
type on your computer:
fastboot flash recovery twrp-3.7.0_9-0-h910.img
fastbboot reboot
take battery out
put back in
go into twrp by doing a factory reset. How to factory reset the Lgv20
1. First download the two required files.
If you are having issues downloading the rom you can try this download manager for Firefox.
Turbo Download Manager
H910_20g_Oreo_full_rooted.zip
Auto_Debloat_H910_20g_only_v9.x_flashable.zip
2. Then copy both files to the micro sdcard on phone
3. Reboot into twrp
4. Click Wipe
5. Format Data Partition (this will erase your internal storage on the phone)
6. Click back and reboot into recovery again. aka twrp
7. Flash H910_20g_Oreo_full_rooted.zip
8. Flash Auto_Debloat_H910_20g_only_v9.x_flashable.zip
9. Reboot into system, run setup
Notes:
You can use an app like package manager to debloat more apps on your phone.
Magisk app v26.1, does not work with Oreo. Magisk 24.3 is the latest version that works with Oreo.
I had issues running the H910 v20H rom, my phone would crash after a day or two. With the v20G rom, my max uptime was 31 days.
Good idea to reinstall your EFS to get cell signal woking. Under "Is there a guide I can root my Lgv20 with Dirtysanta?" You only need to do this once.
You can DeGoogle at any time, if you want. Under "I want to DeGoogle after Auto_Debloat, can I do that?"
100% FOSS apps you may find useful.
Download FOSS software
F-Droid
File Manager
Amaze or Material Files
Deleted LGClock
Deskclock or New Clock
Deleted LGWeather
Forecastie or Weather
Deleted Google Calculator
OpenCalc or yetCalc
Deleted Google Keyboard
AnySoftKeyboard or OpenBoard
Deleted Google Maps
Organic Maps
Deleted YouTube
Newpipe
Twitch Client
Xtra
Deleted Google Play Music
ViMusic or InnerTune
Podcast Client
AntennaPod
Ad Blocker
AdAway
Tea Timer
Cuppa - Tea Timer
Reddit Client
Infinity
Deleted Facebook
Frost for Facebook
Latest Chromium based browser
Kiwi Browser Next download arm64
05-06-23
Auto_Debloat v8.82 Version for most Lgv20 phones, Install Stock Oreo & debloat
What's included in v8.82?
New GPU drivers 313.0 V11
Disable MLT/LDB
Removed Triton
Disabled LG RCT (root checker tool)
Disabled LG Backup
Disabled ccmd
With out having to Mod your boot.img
24_BIT_Deep_Buffers_Enabler v4.2 force true 24 bit audio at 44.1 kHz
Speed_Mod_Lgv20_msm8996_Oreo_v5.28 / includes image retention fix
Thermal_Engine_Mod_v7.0_70c
system wide Quad DAC support. V6.2
Added AdAway default blocklist to /system/etc/hosts (aka ad blocker)
Added United States GPS Fix
Added Camera improvement tweak
Added Internet Speed Tweaks
Added the Lemon Drop Boot logo
Added Zram of 2.5GB + LZ4 algorithm and Zram optimization tweaks
Added dual channel bonding on 2.4GHz
Upgrade Instructions:
Flash Auto_Debloat v8.x in twrp reboot. If on a lower version of Magisk v24.3 then install the latest working version of Magisk-v24.3.apk GitHub Link, Open Magisk it will say Requires Additional Setup press Ok and Allow if asked. Patch vbmeta in boot image click next. Direct install recommended let’s go then reboot.
Installation instructions:
Before installing Auto_Debloat you need to be on the latest version of twrp.
Update twrp link
With the phone powered off, hold the down volume button and plug in usb to computer and phone.
Note: twrp.img is your version of twrp image file name
type on your computer:
fastboot flash recovery twrp.img
fastbboot reboot
take battery out
put back in
go into twrp by doing a factory reset. How to factory reset the Lgv20
1. First download the five required files.
If you are having issues downloading the rom you can try this download manager for Firefox.
Turbo Download Manager
Stock Oreo 8.0 rooted rom, for your Model of Lgv20.
H918 Rom
US996 DIrtysanta Rom
VS995 Rom
H900DS Rom link1
H990DS Rom link2
ezV2020 kernel for Oreo link
Magisk-v21.4.zip
Latest version of twrp link
Auto_Debloat_Lgv20_msm8996_Oreo_v8.x_flashable.zip
2. Then copy the five files to your micro sdcard
3. Reboot into twrp
4. Click Wipe
5. Format Data Partition (this will erase your internal storage on the phone)
6. Click back and reboot into recovery again. aka twrp
7 Flash in order
A. Your version Of Stock Oreo 8.0 rom
B. ezV2020 Kernel
C. Magisk v21.4
D. Twrp (The twrp img file you can flash with twrp you just need to select Install Image, select the file and choose recovery)
E. Auto_Debloat_Lgv20_msm8996_Oreo_v8.x_flashable.zip
8. Reboot into system, run setup
Notes:
You can use an app like package manager to debloat more apps on your phone.
Magisk app v26.1, does not work with Oreo. You can install the latest working version of Magisk-v24.3.apk GitHub Link, Open Magisk it will say Requires Additional Setup press Ok and Allow if asked. Patch vbmeta in boot image click next. Direct install recommended let’s go then reboot.
Good idea to reinstall your EFS to get cell signal woking. Under "Is there a guide I can root my Lgv20 with Dirtysanta?" You only need to do this once.
You can DeGoogle at any time, if you want. Under "I want to DeGoogle after Auto_Debloat, can I do that?"
100% FOSS apps you may find useful.
Download FOSS software
F-Droid
File Manager
Amaze or Material Files
Deleted LGClock
Deskclock or New Clock
Deleted LGWeather
Forecastie or Weather
Deleted Google Calculator
OpenCalc or yetCalc
Deleted Google Keyboard
AnySoftKeyboard or OpenBoard
Deleted Google Maps
Organic Maps
Deleted YouTube
Newpipe
Twitch Client
Xtra
Deleted Google Play Music
ViMusic or InnerTune
Podcast Client
AntennaPod
Ad Blocker
AdAway
Tea Timer
Cuppa - Tea Timer
Reddit Client
Infinity
Deleted Facebook
Frost for Facebook
Latest Chromium based browser
Kiwi Browser Next download arm64
The latest version of Auto_Debloat, can be download from MEGA or XDA.
Latest version of Auto_Debloat + Mods & Tweaks MEGA
SHA1 = e12c6b241fde84fe792c1910d0d5f1dcecb550af
Auto_Debloat_H910_20g_only_v9.82_flashable.zip
SHA1 = 2314baa5dc0054a3b94dea916bb5f329d51ce3fd
Auto_Debloat_Lgv20_msm8996_Oreo_v8.82_flashable.zip
Credits, A Special Thank You
@ezzony - for the ezV2020 kernel. XDA
@askermk2000 - for the MK2000 kernel. XDA
@me2151 for DirtySanta. XDA
@darkknight200 for the H910 Oreo modem drivers. Download Link
@gavin19 for providing the Adreno 530 GPU drivers 313.0 V11 non-treble-use Download Link
@Alex_HP for the Camera Improvement tweak for Oreo XDA
@helf for the original Camera Improvement tweak for Nougat XDA
@helf for the KCAL settings XDA
@rawe_etc for the TCP Speed mod XDA
@ZDeuce2 for the slow wifi fix XDA
@tom.etc for the dual bonding speed tweak XDA
@4shared for how to hide boot warning message on H910 XDA
@ezzony for the FM Radio mod for Oreo XDA
@clsA for the H910 Oreo v20g rom. XDA
@dudeawsome for the H918 Oreo Rom XDA
@darkknight200 for the DirtySanta-US99620F Oreo Rom Download link
@thchipmunk for hosting the VS995 Oreo Rom XDA
@NotYetADev for making the VS995 Oreo Rom XDA
@dudeawsome for the H990DS Oreo Rom Link1 XDA
@reza_xdv for the H990DS Oreo Rom Link2 XDA
at amitwh for the interactive governor settings for the msm8996 Github
at the people over at AdAway Hosts List GitHub
at the people over at Magisk, for an Opensource Root.
at the people over at TWRP for a great recovery app
at XDA, for a Great Platform.
at Everyone that gave feedback.
And everyone else that I may have missed that helped with the Lgv20.
FAQ & Troubleshooting guide
Updated on 05-17-23
Questions (please read before rooting, or flashing Auto_Debloat)
What's the number one rule I should know before I root my Lgv20?
Very crucial before you flash the KDZ to downgrade your firmware for rooting, make a DUMP with LGUP all files, you don't need to dump system or cache. Put it in a very safe place, like google drive. It will have your EFS and your EFS has the IMEI number of that particular phone. If your EFS ever becomes corrupted then you can re-flash your EFS from your backup to get cell signal working again.
Can I just edit step3.bat and install the latest twrp in there?
No. You need the old version of twrp to format data, then you can update twrp to the latest version. You only need to remove the encryption on the data partition once, when rooting your phone. The old version of twrp is the only version I know of, that can remove the encryption on the data partition.
My camera does not work after Auto_Debloat?
If you were on LIneageOS or crDroid and then flashed Stock Oreo, then your camera may not work afterwords. The only fix that I know of is to root your phone again. Flash the KDZ to downgrade your firmware and root again.
I can not download Magisk modules with v24.3?
It's because that version of Magisk is too old, that's the only version that works with Oreo. You can still install Magisk modules offline, from the zip file.
What is the EFS?
"EFS stands for Encrypting File System, which is really important part of networking and communication for Android Smartphones, It also contains your device IMEI data."
What is the MSM8996?
"MSM8996 (or Snapdragon 820) is a Qualcomm SoC released in 2016."
What does FOSS mean?
Free and open-source software
Can all Lgv20 phones be rooted?
Most but not all.
How to check to see if you can root, lgv20 Anti-Rollback Version ARB
Can my LS997 install the Lemon Drop Rom?
As far as I know there is no Oreo Stock rom for the LS997, so Auto_Debloat will not work on that model of phone. But you may be able to install Lineage OS depending on your firmware. Check your ARB.
Sprint LG V20 Model (LS997): Comprehensive Overview of Guides and Resources (and why most LS997 phones are unrootable)
Go back to the top post and follow the install guide for your phone.
End of questions.
Is there a guide I can root my Lgv20 with Dirtysanta?
Yes, this is how I rooted my H910. It should be about the same for other Lgv20 phones, you just need to find your root guide for your phone.
1. Disable real time scanning, on the windows virus scanner. Download all the files, save terminal emulator to your microsd card the other two save on your computer, unzip dirtysanta, install usb drivers if using windows. Root your H910 with this guide.
h910_root_pkg.zip "DirtySanta root package"
usb drivers for windows
Terminal Emulator for Android "f-droid Download APK at bottom of page"
2. [ROOT] HOWTO: AT&T H910 up to v20g (FULLY TESTED) Note: before you flash the KDZ to downgrade your firmware make a DUMP backup with LGUP all files. You don't need to DUMP system or cache. It will have your EFS.
3. On step3.bat wait for phone to reboot from fastboot mode, when you see the LG logo, pull the battery. Do a factory reset and that will load TWRP How to factory reset the Lgv20.
4. Then format data. Very important, you format data with the older version of twrp that is with dirtysanta.
5. Then power off phone.
Note: This next part is for the H910, you need to get your version of twrp for your model of Lgv20. Latest version of twrp link at the bottom of page
6. Download twrp for the H910 twrp-3.7.0_9-0-h910.img
7. With the phone powered off, hold the down volume button and plug in usb to computer and phone.
type on your computer:
fastboot flash recovery twrp-3.7.0_9-0-h910.img
fastbboot reboot
take battery out
put back in
go into twrp by doing a factory reset. How to factory reset the Lgv20
8. Then you want to format data once more with the new version of twrp.
9. power off phone
10. Now would be a good time to reinstall your EFS. Just scroll down tell you see Manually reinstall your EFS on the Lgv20.
Troubleshooting guide for Dirtysanta
Getting an error on step1.bat "dirtysanta no such file or directory"?
Just disable real time scanning in windows defender, and try again. You will have to unzip the files again as windows defender will eat up dirtysanta. Dirtysanta was created by the Lgv20 community at XDA, it's not a virus.
I am stuck in fastboot mode on step3.bat, I get an error?
You most likely have a driver issue in windows. Just stay in fastboot mode fix your windows drivers and run step3.bat again.
[GUIDE] V20 Fastboot access in Windows.
Getting Secure Start up when booting?
Secure start-up issue. If your getting this screen do not try and type in a password. After 30 attempts it may brick your phone. What's going on is your data partition is still encrypted. You need to do a format in twrp on the data partition. Some versions of twrp will not remove the encryption correct for the Lgv20. I know the twrp version that is with dirtysanta will remove the encryption from the data partition. Then you can just update twrp again, you only need to format once.
Stuck at boot screen after flashing Nougat rom to root?
After flashing the rom to downgrade your firmware to root, if your stuck at the boot screen. Factory reset that should fix the issue.
Manually reinstall your EFS on the Lgv20.
You need to find your Original DUMP of the rom your Lgv20 phone was on, before you downgraded your firmware for rooting.
With the phone powered off, hold the down volume button and plug in usb to computer and phone.
type on your computer:
Note: COM6 is what ever com port you were using at the time.
fastboot flash fsg fsg_COM6
fastboot flash misc misc_COM6
fastboot flash modemst1 modemst1_COM6
fastboot flash modemst2 modemst2_COM6
fastboot reboot
Note: If you just rooted your phone, take battery out after you type fastboot reboot. Because you do not have an os installed yet, the phone will not boot. Go back to the top post and follow the install guide for your phone.
End of dirtysanta guide.
I want to DeGoogle after Auto_Debloat, can I do that?
Yes you can, I will show you how to install microG. It's a free and open-source implementation of proprietary Google libraries, that serves as a replacement for Google Play Services.
Make sure your phone is all setup the way you like, before you DeGoogle. There is no rush, you can DeGoogle at any time. All your paid apps and games from the Play Store should run just fine with microG. You will still be able to download the free apps and games from the Play Store, just not your paid apps and games. In less you login via the Aurora Store with your Google account, but that is against Googles TOS, your account may get banned.
1. Only do this once. Copy all your contacts from your Google account to your sim card. Make sure your signed into Google Play Store, open up the phone app, choose Manage contacts, copy from your email address to your SIM card.
2. Then you want to remove your google account in settings, general, accounts. Un-Check Auto-sync Accounts. Then power off phone, do a factory reset to boot into twrp. How to factory reset the Lgv20
3. Mount system & data, make sure read only is not checked. Open file manager under Advanced and delete the following folders.
To remove any folder from your device, click on the folder.
Then hit the Delete button
Finally, perform a right swipe to confirm the deletion.
/system/priv-app/GmsCore
/system/priv-app/GoogleServicesFramework
/system/priv-app/Phonesky
/data/app/com.android.googlequicksearchbox (then some letters and numbers) May not be there.
/data/app/com.android.vending (then some letters and numbers) May not be there.
/data/app/com.google.android.gms (then some letters and numbers) May not be there.
4. Then restart phone into system, Close all the errors.
5. Then power off the phone.
6. Download the three files.
NanoDroid-microG-23.1.2.20210117.zip
NanoDroid-patcher-23.1.2.20210117.zip
NanoDroid-fdroid-23.1.2.20210117.zip
NanoDroid Main Page
7. Put them on your sdcard.
Note: Now would be a good time to let your phone cool down.
8. Boot into twrp.
9. Install NanoDroid-patcher
Note: this will take 10 minutes.
10. Install NanoDroid-microG
11. Install NanoDroid-Fdroid
12. Wipe Dalvik cache
Note: Now would be a good time to let your phone cool down.
13. Reboot into system.
14. Open F-droid, update.
15. Update to the latest version of Aurora Store from f-droid
16. Open up Aurora Services and click on Whitelist check mark Aurora Store.
17. Open Auroa store choose anonymous. Just choose the default settings for install.
18. Give microG all the permissions it wants. Open microG and enable Google Device Registration. Wait 30 seconds, then restart your phone. After your phone restarts, wait 2 minutes, open microG and check mark Cloud Messaging and the Location Modules.
All done, your phone is now DeGoogled.
Troubleshooting guide for DeGoogle
In microG under Self Check, Play Store Phonesky Has correct Signature is not checked.
First disable Chrome and then download and install Kiwi Browser Next arm64 from GitHub.
Download Termux and copy past this command:
su
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
Or use adb
adb shell pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
Then update Google WebView to the Latest version from the Aurora Store, restart your phone.
Phonesky should now be checked.
I am logged in as anonymous and the search does not work in Aurora Store?
Yes it's a known bug, open Auora Store sign in as anonymous, open Kiwi browser, do a google search for like "Spotify Lite Play Store". The first link will say in the top left, Google Play. Just click on the link "Spotify Lite". You should get an option to open Aurora Store and set it as the default app. If you get an error "no such app found" or it loads F-droid, then go to settings, do a search for default. Click on Default apps, App links, Aurora Store, click on open supported links, change to ask every time.
Network Location not working with microG?
You have to install Apple UnifiedNlp backend from f-droid and enable it in microG under location modules, disable Deja Vu Location Serivce.
Push Notifications not working?
Clear all data on microG. Give it all the permissions it wants. Open microG and enable Google Device Registration. Wait 30 seconds, then restart your phone. Wait about 2 minutes, enable Cloud Messaging and Location Modules.
Text to speech is not working on my DeGoogled phone.
Install "Speech Services by Google" from the Aurora Store. It was removed automatically when you DeGoogled. Once you get Google Speech Services installed you can install the FOSS app RHVoice do a search for "Speech rate" to activate it.
End of DeGoogle Guide.
How do I install EdXposed on Oreo?
Download the following. All files are from GitHub.
EdXposedManager-4.6.2-46200-org.meowcat.edxposed.manager-release.apk
EdXposed-v0.5.2.2_4683-master-release.zip
riru-v25.4.4-release.zip
Using Magisk Install the following in this order.
1. riru-v25.4.4-release.zip
2. EdXposed-v0.5.2.2_4683-master-release.zip
Reboot
3. Install EdXposedManager-4.6.2-46200-org.meowcat.edxposed.manager-release.apk
EdXposed should now be installed on Oreo.
Note: don't update Riru. You need the older version for EdXposed.
The xposed module repository is not longer working. Some modules you can try.
Gravitybox
Greenify
End of how to install EdXposed.
How can I install the latest Viper4Android FX on Oreo?
Viper4Android FX is a Adaptive Digital Signal Processor that is very powerful, and enhances your phone's audio quality tremendously.
The Viper4Android FX Magisk module was cloned directly from GitHub link
1. If you have an older version of Viper4Android installed, open Viper4Android uninstall the drivers, uninstall in Magisk, also uninstall BusyBox NDK, reboot.
2. Download the latest Viper4Android FX from the mega link, or download from XDA down below.
Viper4Android FX 2.7.2.1
3. Install Viper4Android in Magisk, reboot.
4. Open Viper4Android, allow it to access files, give it root access to install the drivers, phone will reboot.
5. Enable Legacy Mode, this will force Viper4Android to stay on.
6. Done.
Viper4Android Presets
Viper4Android-presets GitHub
direct link
Viper4Android-presets-full-presets-v1.0.zip
1. To install the presets, download, unzip, copy the three folders to your VIPER4Android home directory on your phone. /sdcard/VIPER4Android
2. Then you need to reinstall Viper4Android in Magisk, this will convert all the Presets, may take about 10 minutes.
3.Then reboot.
4. When you open Viper4Andorid it will say no driver found. Just click ok and give it root access, phone will restart.
5. done
Troubleshooting guide & questions
I have Poweramp installed and Viper4Android FX stops working at random times.
Viper4Android will say Processing No. To fix, Disable Direct Volume Control in Poweramp. You may have to restart your phone.
Does Viper4Android FX work with 24bit Hi-Res music players?
Yes, it works with both Poweramp and Neutron music player.
Is there any free and open-source music streaming apps?
ViMusic, InnerTune or Termux Music Players Rom
Does Viper4Android FX work with the Lgv20 Quad DAC with wired headphones?
Yes
How many 24bit Hi-Res music players are there that work with the Lgv20?
Not Sponsored.
There are only two that I know of. Everything else is going to be 16bit Including LGMusic Player. USB Audio Player Pro should work on 24bit but I cant seem to get the free trial version to work on 24bit only 16bit.
24bit Hi-Res music players that are confirmed to work with the Lgv20. Free trails.
Hi-Res Music Player
Poweramp
Hi-Res Music Player
Neutron Music Player
End of how to install Viper4Android FX on Oreo.
Troubleshooting
How can I disable the built in ad blocker?
It's not hard to disable just download AdAway install it and give it root access and then click the pause button to disable the ad blocker. If you ever want to enable it, just click on the button again.
I installed the H910 20H rom with Auto_Debloat, my phone locks up and crashes.
I had issues running v20H, my H910 would crash after a day or two. On v20G my max uptime was 31 days.
How can I pass SaftyNet?
Open Magisk Click on settings scroll down to MagiskHide check that. Click back go to MagiskHide under the shield icon. Check mark Google play services.
I can`t Download Netflix from the play store?
It's becasue your phone is rooted. You can download Netflix from apkmirror.com or you can Degoogle your phone and download it then.
GPS takes for ever to get a lock?
You need to find and install the correct GPS fix for your country. Default is United States.
You just need to copy the gps.conf to /system/vendor/etc/ folder permissions are "0 0 0644" reboot. GPS should connected faster.
GPS Fix
Help I updated to Magisk 26.1 now Magisk will not load?
This is a problem with the app not Magisk it's self. Just uninstall the Magisk app and install the latest working version of the Magisk app.
Magisk-v24.3.apk
My camera does not work after Auto_Debloat?
If you were on LIneageOS or crDroid and then flashed Stock Oreo, then your camera may not work afterwords. The only fix that I know of is to root your phone again. Flash the KDZ to downgrade your firmware and root again.
Security PIN not working, or I forgot my PIN to login.
This can happen if you are restoring a twrp backup. Just delete your pin & set it back up again.
How to Delete Your Android Security PIN
"Improve Location Accuracy" keeps popping up when wifi-calling is enabled?
This is how you fix the google popup message.
Note: 910 is the model number of your phone
dial
*#546368#*910#
Field Test
GPRI VoLET/VoWiFi
IMS
Common
VoWiFi
Use Geolocation Information (Uncheck)
press back, tell you get to home screen
Restart phone
End of Troubleshooting guide.
Frequently Asked Questions
How can I save battery power on the H910 & all phones?
You can turn off AT&T Auto Connect under WIFI. Then under NFC Disable Tag Reading. Also you can download Force_Doze_Mode, this is for all phones.
Force Doze Mode Force your phone into doze mode to save battery. (root only) With Google or without, like LineageOS or a DeGoogled phone.
Also one of my favorite programs for all phones
SuperFreezZ "making it possible to entirely freeze all background activities of any app."
Also if you want to save your battery from wear you can use BatteryBot Pro. You can set an alarm when charged is reached and you can see your battery level on the second screen with the screen off.
BatteryBot Pro "Battery monitoring tool"
Can I see some benchmarks for Auto_Debloat v9.67 & v8.67?
I have an H910 so I can show you benchmarks from Auto_Debloat v9.66 DeGoogled Oreo v20g. I am still using the LG OEM 2018 battery, so a new battery may show better performance.
Geekbench 5
3dmark max
All internet speed tests were done on Auto_Debloat 9.74
Home Wifi on 2.4GHz 144 connection.
AT&T LTE
What options do you recommend for a twrp backup?
Your sdcard need's to be formatted in exfat.
Boot
Recovery
System Image
data (excl. storage)
EFS
Firmware
LAF/Download Mode
What about a twrp restore?
You should factory reset, then restore only if you were already had Lemon Drop installed.
You only need to flash.
Boot
System Image
Data
How do I format my sdcard for the Lgv20 & copy over my data?
Note: Formatting will delete all you data on your microsd card. So you may want to make a backup first before formatting.
I have found that it is best to format the sdcard in twrp.
Click on Wipe
Click Advanced Wipe
Check Mark Micro SD card
Click repair or Change file System
Click Change File System
Click on exFAT
Swipe to format
It's best to just Mount the Usb Storage in TWRP to copy over your data to you micro sd card. I was having issues with my sdcard reader in my laptop. I think it was corrupting the files on the sd card. This way you don't ever have to take your card out of your phone.
What is the differences between Auto_Debloat 9.x & Auto_Debloat 8.x?
Not much they are almost identical. Auto_Debloat 9.x has the H910 boot.img, twrp and modem drivers. Auto_Debloat 8.x does not have the boot.img, twrp or modem drivers, so it can be used on most Lgv20 phones, running Stock Oreo 8.0.
Can I use my Unlocked Lgv20 on another carrier, after Auto_Debloat?
You will need to make sure your APN is setup. Access Point Names, Go to settings, Mobile Networks, Access Point Names. If you do not see your carrier there you need to manually type it in. Do a google search to find your APN carrier settings. Other than that you will need to find out if the Lgv20 model phone you have is compatible with the carrier you are using it on. You may also need to call your cell provider and have them enable LTE or give them your IMEI number.
What does Auto_Debloat change on the Lgv20?
It removes a about one gigabyte of bloatware, disables all logging on the phone. Disabled MLT/LDB that slows your phone down. Removed LG Root Checker tool. Disabled all FOTA updates, when your phone is rooted FOTA updates will break your phone. Oh and there is my very own custom build.prop tweaks I have put together. Also Auto_Debloat will update the GPU drivers. All these changes will speed up the Lgv20 and bring it back to life, so you can use it for years down the road.
Why did I make the Lemon Drop Rom and the extra-add on mods?
I love my Lgv20 phone, it's an awesome phone. I don't think there will ever be another phone like the Lgv20. I want to use my Lgv20 phone for years down the road. I cant stand it when my phone or computers don't run perfect.
Why did I make the FAQ & Troubleshooting guide?
There is no way I could remember all this information. I use the guide myself, when I need to reinstall the Lemon Drop Rom. Once I forgot that I needed to reinstall my EFS, and I could not understand why I was only connecting at 4G not LTE. That's when I decided I need to write all this information down.
I am a developer may I port Auto_Debloat to another phone?
Yes you may, I only have an Lgv20. But if you want to take the time and port Auto_Debloat over to another phone, go for it.
Is LTE going away because of 5G?
"LTE, which stands for Long Term Evolution, will be around for at least 10 years, so 5G will not make LTE obsolete any time soon. May 20, 2020"
Can I change my Lgv20 from CDMA to LTE/GSM?
Depending on your version of firmware.
LG V20 CDMA to LTE/GSM switch via Hidden Menu
Can I go to LineageOS from the Lemon Drop Rom?
Yes you can, flash the KDZ to downgrade your firmware and root your phone again.
The End.
Credits, A Special Thank You
@vlad48 for the CDMA to LTE/GSM Guide
@Vexamus for the fastboot windows drivers Guide
at Christopher Roy Bratusek for NanoDroid
at u/C---D for the guide on the LS997.
at Zackptg5 for the Viper4Android Magisk Module.
at jadilson12 for the Viper4Android-presets
at appuals.com for the guide on how to delete the security PIN.
at hardreset.info on how to factory reset the Lgv20
at viper520 for Viper4Android
at Aamir Siddiqui for the information about Viper4Android FX
EdXposedManager GitHub
EdXposed GitHub
Riru GitHub
V20 connoisseur, well done, nice to see this being kept alive. I do like my V20 even though its now a second phone. Thanks for your time & dedication on this
[email protected] said:
V20 connoisseur, well done, nice to see this being kept alive. I do like my V20 even though its now a second phone. Thanks for your time & dedication on this
Click to expand...
Click to collapse
Your welcome, not a problem. I love my Lgv20 phone.
Darnrain1 said:
First download
Auto_Debloat_Lgv20_msm8996_Oreo_v7.2_flashable.zip
Click to expand...
Click to collapse
There is no link to the flashable zip file? Or am I missing something here?
SidneyD said:
There is no link to the flashable zip file? Or am I missing something here?
Click to expand...
Click to collapse
Yeah give me 5 min I was putting the final touches on Auto_Debloat v8.3 and v7.3. Uploading now.
Auto_Debloat v9.1 and v8.1 Fixed GPU permission files. Backed up stock build.prop file just in case you ever need it.
Just wondering what do u mean by disabling the ota?
I mean what ota do u disable…
stingbandel said:
I mean what ota do u disable…
Click to expand...
Click to collapse
OTA Updates are short for Over the Air Updates. When your phone is rooted then OTA updates will break your phone. I disabled all OTA updates. Also if they push out an OTA Update that changes the ARB Anti Role Back on the Lgv20 then the Lgv20 will be bricked. So it's just a good idea to have them disabled when your phone is rooted. If your going to run a stock based rom.
"An over-the-air (OTA) update is the wireless delivery of new software, firmware, or other data to mobile devices. Wireless carriers and original equipment manufacturers (OEMs) typically use over-the-air updates to deploy firmware and configure phones for use on their networks over Wi-Fi or mobile broadband."
Hey I just wanted to say thank you for creating this! I have an h910, been running alphaomega for the last couple of years I guess pretty happy but it got a bit buggy and is no longer supported obviously.
So this afternoon I'm gonna back up and take the plunge, change to this stock debloated and see how I get along. I'm a bit nervous haha since it's been ages since I tinkered/flashed anything.....will I remember, will it go smoothly jaja....or will this be two days without a phone and lots of hours sat reading? Soon find out!
I love the v20, really appreciate peoples' efforts to keep it alive and useful - I don't know if I'll ever want/need more from a phone to be honest!
*edit* I'm having real problems getting the rom file from androidfilehost There is only one mirror available and it keeps cutting my connection, I have to pause and restart, downloads a few megs and then stops again.....
If it is easy to put up another copy of the file somewhere it'd be appreciated, thank you!
koodz said:
Hey I just wanted to say thank you for creating this! I have an h910, been running alphaomega for the last couple of years I guess pretty happy but it got a bit buggy and is no longer supported obviously.
So this afternoon I'm gonna back up and take the plunge, change to this stock debloated and see how I get along. I'm a bit nervous haha since it's been ages since I tinkered/flashed anything.....will I remember, will it go smoothly jaja....or will this be two days without a phone and lots of hours sat reading? Soon find out!
I love the v20, really appreciate peoples' efforts to keep it alive and useful - I don't know if I'll ever want/need more from a phone to be honest!
*edit* I'm having real problems getting the rom file from androidfilehost There is only one mirror available and it keeps cutting my connection, I have to pause and restart, downloads a few megs and then stops again.....
If it is easy to put up another copy of the file somewhere it'd be appreciated, thank you!
Click to expand...
Click to collapse
Thank you very much, I love my Lgv20 phone and don't want to see it die. I have used A/O in the past it is a good rom just a lot of bloatware on the H910 phone. It's not hard at all to install on the H910 just flash two files and your good to go. But as for download the rom I know what your talking about.
If you have issues downloading the rom from androidfile hosting you use this Firefox extension Multithreaded Download Manager
Edit: You also may want to take screen shots of your phone, that way you know how you had your phone setup before hand. Just press down vol and power at the same time. They are stored in /sdcard/Pictures/Screenshots Back them up to the micro sdcard because you will need to format data and it will wipe everything on your internal storage. Also you may want to backup everything you want to save from your internal storage to the micro sdcard.
Darnrain1 said:
Thank you very much, I love my Lgv20 phone and don't want to see it die. I have used A/O in the past it is a good rom just a lot of bloatware on the H910 phone. It's not hard at all to install on the H910 just flash two files and you good to go. But as for download the rom I know what you talking about.
If you have issues downloading the rom from androidfile hosting you use this Firefox extension Multithreaded Download Manager
Click to expand...
Click to collapse
Thanks for your reply! I reckon flashing it will be easy too - hope so!
I did try with a couple of different download managers in Firefox, no luck. Now slowly but surely getting it bit by bit in brave browser haha. It lets me resume after showing "network error", which firefox didn't. Fingers crossed!
koodz said:
Thanks for your reply! I reckon flashing it will be easy too - hope so!
I did try with a couple of different download managers in Firefox, no luck. Now slowly but surely getting it bit by bit in brave browser haha. It lets me resume after showing "network error", which firefox didn't. Fingers crossed!
Click to expand...
Click to collapse
Yeah Multithreaded Download Manager is the best download manager I have ever used for Firefox. If that don't work you can always use that extension. I just downloaded the rom just now took about 6 min to download. It download at full speed of your internet.
Darnrain1 said:
Yeah Multithreaded Download Manager is the best download manager I have ever used for Firefox. If that don't work you can always use that extension. I just downloaded the rom just now took about 6 min to download. It download at full speed of your internet.
Click to expand...
Click to collapse
Thanks again for your replies!
I will persist with brave for now, I'm at 1.4 gigs and it keeps resuming OK so I'll try to be patient haha. I live in the mountains with limited data connection only, when its good 700kbps, average 200ish - but 100gig a month current limit so I really want to get it this time without wasting data If this one doesn't work in brave, one more try with multithreaded and then a walk into town tomorrow if not.
Looking forward to having a clean install again, cheers!
koodz said:
Thanks again for your replies!
I will persist with brave for now, I'm at 1.4 gigs and it keeps resuming OK so I'll try to be patient haha. I live in the mountains with limited data connection only, when its good 700kbps, average 200ish - but 100gig a month current limit so I really want to get it this time without wasting data If this one doesn't work in brave, one more try with multithreaded and then a walk into town tomorrow if not.
Looking forward to having a clean install again, cheers!
Click to expand...
Click to collapse
Not a problem, just follow the Installation instructions and Auto_Debloat will do all the hard work for you.
Hey man just to update
The install went smooth as, everything seems very snappy and the battery seems to be lasting nicely, no greenify or anything else installed.
I did get an issue I had before when installing AlphaOmega - I had no modem (phone didn't recognize it had a sim card in the slot). I installed as per instructions formatting and rebooting, coming from my previous AO (also Oreo) installation. Fortunately, I solved this problem, wrote a detailed write up and still had my modified modem file from 3 years ago. Here is that detailed write up for if anyone else should have the problem of only having Modem (cell signal) or Fingerprint working after flash. Doesn't seem to happen to many people, but a few have had the same problem as me.
Now in the long process of getting the phone back as I want it
Thanks again for your time and effort on this - it is so nice to boot into a debloated, snappy phone.....just playing with all your recommendations now, the screen ghosting zip seems to have worked well, battery is great, phone is quick....I'll keep playing and reporting anything interesting etc Subscribed, too of course!
koodz said:
Hey man just to update
The install went smooth as, everything seems very snappy and the battery seems to be lasting nicely, no greenify or anything else installed.
I did get an issue I had before when installing AlphaOmega - I had no modem (phone didn't recognize it had a sim card in the slot). I installed as per instructions formatting and rebooting, coming from my previous AO (also Oreo) installation. Fortunately, I solved this problem, wrote a detailed write up and still had my modified modem file from 3 years ago. Here is that detailed write up for if anyone else should have the problem of only having Modem (cell signal) or Fingerprint working after flash. Doesn't seem to happen to many people, but a few have had the same problem as me.
Now in the long process of getting the phone back as I want it
Thanks again for your time and effort on this - it is so nice to boot into a debloated, snappy phone.....just playing with all your recommendations now, the screen ghosting zip seems to have worked well, battery is great, phone is quick....I'll keep playing and reporting anything interesting etc Subscribed, too of course!
Click to expand...
Click to collapse
That's great you got it working. Thanks for posting a guide about how to fix the modem on the H910. I know some people have had issues getting the cell signal working correct in Oreo. I have never had that issue before with both H910 phones I have. So that does help out. Enjoy.
hey everyone I have updated the Thermal mods today 5-5-22 and I have updated the speed mods 5-4-22. The thermal mods are most likely the final version, I am very happy with how they turned out this time. Sometimes I have one of those aha moments and everything just comes together. That's how it was with the thermal mods today.
Updated all the speed mods to v3.1

Categories

Resources