[UNMAINTAINED][ROM ALL-IN-ONE] [LP_5.1.1] [D58XX] Heavily debloated - extras etc - Xperia Z3 Compact Android Development

[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?

Related

[23.1.A.0.690 - D6643] Stock Rom - Optional Debloated - 17/04/15

Just exactly what the title of the thread says... nothing else!
I am not a dev....
Just to make it clear, there is 0% of development work from my side here, just used the available tools around and spent a lot of hours in testing and trying the best config to reduce as many bloat as possible but still don't affect first boot with setup wizard.
PLEASE, DO NOT MIRROR IT OR USE IT WITHOUT MY AUTHORIZATION. DO RESPECT THE HARD WORK DONE HERE!!
TRY AT YOUR OWN RISK​
To install deodex Z3 Compact follow the link - http://goo.gl/Q8zJzd
Or here - http://goo.gl/NEAJzd thanks to the excellent friend @moly82 from work
How to root - http://goo.gl/RsjgfA
Flashable Lollipop Oi BR Single Chip - http://goo.gl/NxLeVV​
Requirements:
- Z3 Single D6643 or even Z3 (D6603)
- Running rooted 23.1.A.0.690 firmware
- Recovery
Install:
1. Download to your sdcard (any)
2. Enter recovery and backup your current rom (you were warned)
3. Flash it
4. Wipe Cache and Dalvik Cache (DO NOT WIPE DATA AND/OR FACTORY RESET)
5. Reboot
Part 2
*2.1 Enter Recovery
*2.2 Flash Debloating script - https://goo.gl/SmJzMG
*2.3 Wipes cache and dalvik
*2.4 Reboot
Bugs!
Not bugs.
Version stable - 07/04/2015
--------------------------------------------------------------------------------------------------------------
Added version 2!
Fully deodexed system - * Some apps were not before.
Digital TV added to the system - worked
Fix input keyboard - http://goo.gl/c67xv8
----------------------------------------------------------------------------------------------------------------
V3 -
Added full version of rom Oi BR Single Chip Lollipop
Added debloated script by @moly82
While http://goo.gl/DYWFTt you can find all uncompressed folders and files I deleted uploaded in Google Drive (this way you won't need to download the whole package if you are interested in just one/few thing(s) ), so you can always restore anything you want, anytime.
Credits:
@serajr (the text created and authorization)
@joeldroid (by the program to deodex)
@russel5 (flashzip)
@zxz0O0 and @Nut (recovery)
@Chainfire (SuperSU) @G-FACE (How to root and Lollipop )
Great heartfelt thanks for friend @moly82 the links and part of your tutorial
Digital TV set , works 100%
No flashzip in recovery
Download zip
Extracted
Use Root Explorer apk
Move to system/app and..
Permissions 0755
Enjoy..
Confirmed working on Xperia Z3 D6603, special thanks to @corpsegrinder62
Bônus!!!
Debloated, Deodexed, Zipaligned, Rooted, small mods in the system
Download - http://goo.gl/jZxXtv
Added to the system
Black Small App Launcher With 5
Thank you for @Pandemic
Original topic - http://goo.gl/sESHA3
TELE SERVICE MOD
Enabled 2G Only Mod
Enabled 3G Only Mod
SMALL APP
-theme Accent Color
-5 Button in Favorite Bar
Thank you for @Rajeev and @Ambor
Original topic - http://goo.gl/8CT3MT
Special thanks Bro @sgt.mns arquives
HI
ogunja said:
Reserv.
Click to expand...
Click to collapse
Hi is recovery working on this one?
Mangtas_666 said:
Hi is recovery working on this one?
Click to expand...
Click to collapse
There is an operator friend of my parents Brazil the one that has digital TV and this with Lollipop.
ogunja said:
There is an operator friend of my parents Brazil the one that has digital TV and this with Lollipop.
Click to expand...
Click to collapse
What?? That has nothing to do with their question...
But to answer them, you need LP installed, root, & recovery(from the install notes above) to even install this. Seems all you get here is deodex and zipalign.
I'm on a 6603(US) and I did my phone like 20 times yesterday to get xposed to work. Got root and recovery each time, the first time. This is how i did it from scratch...
1. Using Flashtool, flash .93 fw
2. Boot and enable debugging, mock, unknown sources, & airplane mode
3. Run giefroot (v2 worked best for me)
4. Run dual recovery installer (after root's reboot)
5. Flash prerooted LP from twrp recovery
6. Run byeselinux after first boot
Phone will reboot and your set. You can then flash this file, or u can flash it at step 5 (this I haven't tried).
I take no responsibility for what you do to your phone. Follow my steps at your own risk. Backup everything first to an external device/sd card
Does this have any Oi customization? I mean boot logo etc...
redincali said:
What?? That has nothing to do with their question...
But to answer them, you need LP installed, root, & recovery(from the install notes above) to even install this. Seems all you get here is deodex and zipalign.
I'm on a 6603(US) and I did my phone like 20 times yesterday to get xposed to work. Got root and recovery each time, the first time. This is how i did it from scratch...
1. Using Flashtool, flash .93 fw
2. Boot and enable debugging, mock, unknown sources, & airplane mode
3. Run giefroot (v2 worked best for me)
4. Run dual recovery installer (after root's reboot)
5. Flash prerooted LP from twrp recovery
6. Run byeselinux after first boot
Phone will reboot and your set. You can then flash this file, or u can flash it at step 5 (this I haven't tried).
I take no responsibility for what you do to your phone. Follow my steps at your own risk. Backup everything first to an external device/sd card
Click to expand...
Click to collapse
All right, did almost the same friendly process, this thread is for those who have at least Lollipop.
Do not use Xposed, very unstable for me.
dedei said:
Does this have any Oi customization? I mean boot logo etc...
Click to expand...
Click to collapse
I let the thread link by serajr the option rom debloted. The deodex is only in app, priv-app framework and does not include boot unless use the FW Oi BR
To be sure how this works:
This is for not deodexed LP stock roms.
When you flash this .zip it will automatically delete the unnecessery bloatware and zipaligne the rom?
JaboSammy said:
To be sure how this works:
This is for not deodexed LP stock roms.
When you flash this .zip it will automatically delete the unnecessery bloatware and zipaligne the rom?
Click to expand...
Click to collapse
No, this is Deodexed. Access to clean the Z3 Compact link in the OP and do the cleaning.
Wow... Great job my friend!!!
thanks, worked like a boss!! fixed my issue with bootloop on xposed good job.. confirmed working good with my D6603 :good:
corpsegrinder62 said:
thanks, worked like a boss!! fixed my issue with bootloop on xposed good job.. confirmed working good with my D6603 :good:
Click to expand...
Click to collapse
Thanks for the feedback friend..
@ogunja hello, great job!! but my xperia keyboard crashing every time , help me. please
Xandros97 said:
@ogunja hello, great job!! but my xperia keyboard crashing every time , help me. please
Click to expand...
Click to collapse
But did not remove the fw friend keyboard.
Do wipe cache and dalvik
Here's a list of apps removed from fw debloted - http://goo.gl/Q8zJzd
Work on 6653???
CrisLorD said:
Work on 6653???
Click to expand...
Click to collapse
Not yet confirmed friend. Works very well for 6643 and 6603.
TV no work in my z3 ?
danytrial said:
TV no work in my z3 ?
View attachment 3250580
Click to expand...
Click to collapse
From model d6643? Is connected with antenna? Here had no problems
Xperia keyboard forceclose

[UNMAINTAINED][ROM ALL-IN-ONE] [KK_4.4.4] [D58XX] Heavily debloated - extras

[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 even in the LP time some people asked me about debloating KK (and I'm using it right now and actually seems i like it more than LP too) hereby I present you my new all-in-one solution for Z3C, this time based on KK 4.4.4, consisting in one heavily debloated full rom including some extras for both D5803 and D5833, based on 23.0.1.A.5.77 FW.
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
Instructions:
1. full backup
2. full wipe (system, data, cache and dalvik) ***
3. flash either AIO for D5803 or AIO for D5833 (md5sums) [V2!!]
4. reboot/enjoy
*** 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 debloating solution won't be be 100% effective: the personal apps I included that are going to be installed in /data (xposed installer APK, Gravity Box, Xperia Xposed and Blurred UI xposed modules, Z3+ Live Wallpaper and latest Sony Album and Music) 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)
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 > download apps to uninstall them manually)
4. you may get some FC due to missing overlays at boot: in this case, just enter in TWRP, mount system, go to advanced > file manager and move back the whole "overlay" folder from /system/__Backup/various/vendor_overlay to /system/vendor and reboot
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!
What you'll obtain doing the above:
- KK 4.4.4 23.0.1.A.5.77 FW (customized Belgium for D5803, Brazil for D5833)
- pre-rooted with SuperSU 2.46 and Dual Recovery 2.8.21
- 100% stock Odexed
- Heavily debloated with my own original list
- Play Store, Play Services, Play Games already updated to latest version as of 07/Sep in /system replacing the old ones provided in the FW
- AOSP browser replacing Chrome + sync adapter for syncing your Chrome desktop bookmarks
- Google Keyboard replacing Sony's
- Nova Launcher (stock sony launcher also available)
- ES File Manager replacing stock one
- TextraSMS replacing stock one
- Z4 bootanimation
- Latest xposed APK for 4.4.4
- Gravity Box module for KK
- Blurred System UI and Xperia Xposed modules
- external sdcard writing fix
- Google Calendar replacing Sony's
- Lock screen mod to hide "Swipe to unlock" message
- QuickPic app
- Simpler contacts/dialer
- Latest Sony Album app
- Latest Sony Music app
Changelog
V2 (11/Sep)
Changelog here
SCREENSHOTS!!
Coming...
Hope you like it! If so, just please press THANKS!
Removed stuff:
With my solution you are going to get rid of more than 170 packages (unfortunately not also all the libs like it happen in LP because of how are placed apps in system in KK) plus all applications automatically installed by Sony, 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/1Gof3mcFSWxP4cONuoLXPQkGE6Xnfn9tsg899rLN3ALY/edit#gid=0
PS. the file is with read-only access for everyone, if you have any changes to suggest, please reply in the thread or send me a PM with the changes you propose
Sorry, the link was not public, now you should be able to correctly see the list!
HOW TO RESTORE SOMETHING
PS. of course I also removed from my FW all the stuff that can be easily downloaded from the Play Store (Gmail, etc)
In the hidden field below you will find the restoring instructions you need to follow to restore any package you may want back:
According to what you want to restore, you have to follow two different procedures:
- all the APKs that are inside /system/__Backup/various/etc_custom_apps and /system/__Backup/various/etc_prod_apps are regular APKs that are going to be installed in /data, so you can just run them and then select "install" like a normal APK, easy. You will then see them in Settings > applications > downloaded
- instead, all the things in /system/__Backup/system_app and /system/__Backup/system_priv-app folders can't be normally installed, but must be restored in the correct /system folders with correct permissions. To do this, see the step-by-step instructions below (in the following example, I am going to restore Chrome app in /system/app and Velvet (Google Search) in /system/priv-app, but of course you can restore how many things as you want at the same time)
Code:
- with a root file manager like ES, go to /system/__Backup/system_app and MOVE both "Chrome.apk" and "Chrome.odex" files to /system/app
- with a root file manager like ES, go to /system/__Backup/system_priv-app and MOVE both "Velvet.apk" and "Velvet.odex" files to /system/priv-app
- reboot
- done
PS. don't copy but MOVE things back, or permissions will get messed up and you are likely to end up in a bootloop!
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 modules
@Gustavo RD78 for the swipe to unlock message removal mod in lockscreen
@istux for suggesting to try again KK
@demonio98 for beautiful z3+ Bootanimation
@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]
Awesome man! Waiting on your feedback and your full ROM, because if the battery is much better on KK, I'll jump back to that version.
Used this last night.. its pretty cool man thanks!
framerper2 said:
Awesome man! Waiting on your feedback and your full ROM, because if the battery is much better on KK, I'll jump back to that version.
Click to expand...
Click to collapse
after some time on KK i can confirm that at least for me it seems i get much better battery life with KK. lately in LP i could barely get to 5 hours SOT and had to charge the phone almost daily, while now here on KK during my full second battery cycle for example i got to two full days, and more than 7 hours SOT (see attachments). almost same usage as in LP i would say. it may be a case, will see later on if these stats are confirmed. if so i think I'll keep KK here
other differences i noticed so far: much better "looking" battery stats from settings in KK (i don't like new confusing graphs in LP) and most important in kk i don't have anymore the so annoying bug showing wifi on in stats even when it was surely off... can't really stand that bug in LP! finally, at last in KK i have again screen as top battery sucker, while in LP i used to have android os, Google services and/or others...
in general as said KK seems less buggy than LP here. also, i find better brightness management in KK (it seems i never need to change the brightness slider even under direct sunlight, as i used to do in LP, and no problems at all while waking up the phone, bugged instead in LP)
other thing, i much prefer the recents management in KK (after reboot don't see the many recent apps i had active before shutting down for example)
other pretty important things, in kk no spacing problems at all with icons in status bar (can't stand this bug too in LP, hate it!), no stagefright bug to worry about (i think? don't bother me too much that bug though), and probably no data connection problems as some are having in LP (didn't have them in LP here either though)
less important things: in KK i don't feel the need to change DPI settings, everything is good as it is (can't stay in LP instead if i don't change DPI first, thing are just too big by default there!), and i find KK nicer in some things (quick tiles/notification panel for example) and uglier in others (KK contacts and dialer are just terrible for example.. does anyone know of a nice alternative dialer/dialer mod? [emoji14] )
last but not least, i find KK faster somewhere (apps list in settings for example), but slower in others (clock app while switching tabs, contacts in phone app)
very last thing KK lockscreen is less customizable, but using snaplock now which is very very nice and has all i need!
all considered, for now I'm gonna stay with KK
bye!
EDIT: here I'm on locked BL, all stock. just using greenify and stamina mode
EDIT2: also, kk is so much faster than lp in booting.. just wow! Also first boot after clean flashing is much faster!
battery stats:
{
"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"
}
You list some pretty compelling reasons to return to KK
Also not so impressed with LP and my main reason for using LP was the problem with the R/W to the SD card in KK - but believe that has been solved now....?
Keep up the great work and looking forward to trying your KK rom when done.
PS: Maybe you should change your signature to: Z3C WAS running my (LP)..... but NOW running my (KK).
That way you get to advertise for both of your great ROMs
moly82 said:
after some time on KK i can confirm that at least for me it seems i get much better battery life with KK. lately in LP i could barely get to 5 hours SOT and had to charge the phone almost daily, while now here on KK during my full second battery cycle for example i got to two full days, and more than 7 hours SOT (see attachments). almost same usage as in LP i would say. it may be a case, will see later on if these stats are confirmed. if so i think I'll keep KK here
other differences i noticed so far: much better "looking" battery stats from settings in KK (i don't like new confusing graphs in LP) and most important in kk i don't have anymore the so annoying but showing wifi on in stats even when it was surely off... can't really stand that bug in LP! finally, at last in KK i have again screen as top battery sucker, while in LP i used to have android os, Google services and/or others...
in general as said KK seems less buggy than LP here. also, i find better brightness management in KK (it seems i never need to change the brightness slider even under direct sunlight, as i used to do in LP, and no problems at all while waking up the phone, bugged instead in LP)
other thing, i much prefer the recents management in KK (after reboot don't see the many recent apps i had active before shutting down for example)
other pretty important things, in kk no spacing problems at all with icons in status bar icons (can't stand this bug too in LP, hate it!), no stagefright bug to worry about (i think? don't bother me too much that bug though), and probably no data connection problems as some are having in LP (didn't have them in LP here either though)
less important things: in KK i don't feel the need to change DPI settings, everything is good as it is (can't stay in LP instead if i don't change DPI first, thing are just too big by default there!), and i find KK nicer in some things (quick tiles/notification panel for example) and uglier in others (KK contacts and dialer are just terrible for example.. does anyone know of a nice alternative dialer/dialer mod? [emoji14] )
last but not least, i find KK faster somewhere (apps list in settings for example), but slower in others (clock app while switching tabs, contacts in phone app)
very last thing KK lockscreen is less customizable, but using snaplock now which is very very nice and has all i need!
all considered, for now I'm gonna stay with KK
bye!
EDIT: here I'm on locked BL, all stock. just using greenify and stamina mode
battery stats:
View attachment 3463726
View attachment 3463727
View attachment 3463729
Click to expand...
Click to collapse
Excellent breakdown thank you! Are you going to have it all in one available soon for us to just flash with ease? Or how can I do it today in simple terms?
Norup58 said:
You list some pretty compelling reasons to return to KK
Also not so impressed with LP and my main reason for using LP was the problem with the R/W to the SD card in KK - but believe that has been solved now....?
Keep up the great work and looking forward to trying your KK rom when done.
PS: Maybe you should change your signature to: Z3C WAS running my (LP)..... but NOW running my (KK).
That way you get to advertise for both of your great ROMs
Click to expand...
Click to collapse
thanks mate! yes kk and lp need/share same ext sd fix, so applied the same change in permissions file to get ext sd to work my extra zip already include that yes will change signature next week will see as i change my mind almost everyday
alwaysbelieve1 said:
Excellent breakdown thank you! Are you going to have it all in one available soon for us to just flash with ease? Or how can I do it today in simple terms?
Click to expand...
Click to collapse
you can already do it pretty simply following instructions in OP. several steps are needed right now though.
btw next week will surely provide a "single file solution"
How about stagefright, is that patched? That's mainly the reason why I moved to 5.1.1.
newk9 said:
How about stagefright, is that patched? That's mainly the reason why I moved to 5.1.1.
Click to expand...
Click to collapse
I think it is not patched.
is kk affected too by that security bug? if so, and if there is a fix for kk as well, will include it in the full rom next week
moly82 said:
is kk affected too by that security bug? if so, and if there is a fix for kk as well, will include it in the full rom next week
Click to expand...
Click to collapse
You can read here that almost all the devices and versions of android are vulnerable. I am not sure how and where to get patch for kitkat though. There are some patched libs here on xda but the question is will they work on z3c.
Is the camera fix included to open pictures taken with the cam in quickpic?
razr83 said:
Is the camera fix included to open pictures taken with the cam in quickpic?
Click to expand...
Click to collapse
no. unfortunately the guy who made that mod did it for LP only ;( we tried to ask to make it available for kk too or let us how to do that ourselves in his thread but so far he didn't reply
ok, other question. is it possible to include the "2g-only" and "3g-only" modes? i had this in another 5.1.1 rom an it was pretty useful in areas where the 3g-network is weak to force the device to stay in it and not to switch to 2g....
razr83 said:
ok, other question. is it possible to include the "2g-only" and "3g-only" modes? i had this in another 5.1.1 rom an it was pretty useful in areas where the 3g-network is weak to force the device to stay in it and not to switch to 2g....
Click to expand...
Click to collapse
i have that already available in the rom using xposed and xperia xposed module by serajr, both included in my extra zip
thanks a lot!
Slowly im reverting back to Kitkat, too. Lollipop is just not so good as KK. I cant get rid of "uncompleted experiment" feeling of LP. KK feels more consistent, completed and actually more snappier. Thanks for your debloating solution for KK, too. Works flawlessly.
Actually im getting very tired of Google's progress on Android, and im sniffing around iOS and WP. Ill hope that Google will make some significant steps to improve overall experience. LP is failure in my eyes. Especially notification area is absolutely horrible.
Changing profile's signature tomorrow to give you more credit for you good work.
Dark Emotion said:
You can read here that almost all the devices and versions of android are vulnerable. I am not sure how and where to get patch for kitkat though. There are some patched libs here on xda but the question is will they work on z3c.
Click to expand...
Click to collapse
You can block calls to the stagefright player in Build.prop, this doesn't fix the libs tho.
Change those lines in Build.prop.
media.stagefright.enable-player=false
media.stagefright.enable-http=false
media.stagefright.enable-aac=false
media.stagefright.enable-qcp=false
media.stagefright.enable-fma2dp=false
media.stagefright.enable-scan=false
OP updated with all in one files for both d5803 and d5833
if someone try them, please report if everything works fine thank you!
md5sum for V1 files:
KK_D5803_23.0.1.A.5.77_BE_AiO_flashable_V1.zip = 6CD7C710203A81BEB1EEF2DC7C597427
KK_D5833_23.0.1.A.5.77_BR_AiO_flashable_V1.zip = 55FB7B1FE2F2744ED21A50D05CD802D8
@moly82 can you please give me some hintrs how to install or restore Xperia Home, Clock widget and Weather Widget? I cant install it as a normal *apk file from _Backup. Installation keeps failing. Thanks!

[Patch][MM 6.0] [Stock] Deodex patch for firmware .163

Hi. At last, deodex patch appeared for our Z4 tablet too!
Download links!!!
Android 6.0
For SGP771
https://yadi.sk/d/utGkXKPIq7hmX
For SGP712
Android 5.0.2
For SGP771
https://yadi.sk/d/c3nzIj1XoqpJD
For SGP712
Add the link when someone creates it on his own
Please do a backup first!!!!!!
HOW is it created?
Use this tool
http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
First you need these folders and 1 file:
root/system/app
root/system/priv-app
root/system/framework
root/system/vendor/app
root/system/build.prop
copy them to your pc folder named system
Move the content of root/system/vendor/app (the app folders) and the semgeneric folder from root/system/framework to the root/system/app or priv-app
start the deodex tool; tick the 3 folders and let it do the work
After finishing without errors , move the folders you copied from /system/vendor/app and semcgeneric back to their respective locations and you have the deodex folder which contained
app
priv-app
framework
vendor/app
create the flashable zip(replace the folder(system folder) in the the zip with yours and test it )
How to install:
-you may need this do first as patch is done when my tablet already had deodexed camera and album apps. http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
-Flash in the recovery
-wipe cache and dalvik-cache
Bugs:
I haven't noticed them yet
What about reboots?
As long as I tested it. No random reboots being noticed. However, permanent reboots remained: after wiping dalvick cash[after "optimizing apps"](with xposed installed) and with xmod 2.1.1 for clash of clans. The tablet work as fast as before. I think reboot problem connected to the kernel. Now I think it is easier to delete unnecessary system apps with deodexed stock rom. And it's better for using some xposed tweaks.
Specials thanks to:
lordriguez huge thanks for his precious help!!!
svadev for his deodex tool
auras76 for his updater script
svadev for his deodex tool
AndroPlus and [NUT] for creating working TWRP!
Wow, very nice. I had this on my list to investigate myself, but you were first
Any chance for a SGP712 version?
alex009988 said:
What about reboots?
As long as I tested it. No random reboots being noticed. However, permanent reboots remained: after wiping dalvick cash(with xposed installed) and with xmod 2.1.1 for clash of clans. The tablet work as fast as before. I think reboot problem connected to the kernel. Now I think it is easier to delete unnecessary system apps with deodexed stock rom. And it's better for using some xposed tweaks.
Click to expand...
Click to collapse
Can you elaborate on this? I only know about random reboots and a reboot right after the 'Optimizing apps' stage with Xposed installed, after wiping Dalvik/Cache.
jelbo said:
Wow, very nice. I had this on my list to investigate myself, but you were first
Any chance for a SGP712 version?
Click to expand...
Click to collapse
Hi. I think you can make the patch on your own. Please take a look "how is it created". There is nothing hard! And if it is successful, upload zip for other people who have sgp712
jelbo said:
Can you elaborate on this? I only know about random reboots and a reboot right after the 'Optimizing apps' stage with Xposed installed, after wiping Dalvik/Cache.
Click to expand...
Click to collapse
I faced no random reboots for the time being. Year, I meant permanent reboot goes as usual after optimizing apps.
Guys. I think I know why we still have random reboots even with deodex patch.
http://forum.xda-developers.com/xperia-z5/development/patch-deodex-patch-firmware-200-t3301572
Z5 users have the same situation with reboots(with their patch too)
Please take a look at this https://yadi.sk/d/cieOb3GXouhXwfiles it's root explorer search *.odex .
Once upon a time (today), One man told me if you want system without reboots. There should be no odex files at all. If there is at least one odex file, there could be a problem.
In the system priv app I have only one odex file called phonesky.without any apk.(After the patch of course). And what is pbonesky?, it's absent on the list of system files
And there are so many odex files in other parts of the system.
Seems we should transform all odex files, not only in the /root/system.
So please, tell me your thoughts on it.
Look forward to your response!!!
I still have random reboots too after flashing your patch. phonesky.apk is google play store
wonghyf said:
I still have random reboots too after flashing your patch. phonesky.apk is google play store
Click to expand...
Click to collapse
Year. The point is I have no apk in phoneshy folder, only odex file. That,s a bit strange. Do you have the same?
Edit 1 Ok. Our goal, to pull off all odex files. Now I'm thinking how. Auras advices to use SuperR kitchen with linux
yes, mine is empty too.
After reading your post, I uninstalled google play store with titanium backup. And then copied phonesky.apk to system/priv-app/phonesky and changed its permission. Then deleted the odex file and reboot. google play seems to be working fine.
Edit: I found out your patch actually doesn't have phonesky.apk.
Well. Overall, deodex remained odex files is not a problem. But someone should help us to write a new script for a flashable zip. That's a problem
I'm really sorry, it turn out that I forgot to delete my backup of the original odex system apps, that is why root explorer was finding so many odex files. After I delete my backup and Phonesky folder as it only had one odex file without apk. It found only two odex files..They belong to Google play services. How do you think maybe they are the reason of reboots with xposed?
So the patch works excellent. But two odex files from Google play services remained.
—-----------------
But take into consideration I have patched play store and some other users might have it too.If you have original play store, my patch will not affect phonesky(play store/market).
So is it better to reupload my patch with phonesky deodex patch, or user can patch it separately beforehand on his own, by lucky patcher or deodex tool?
I did a little research. Two odex files of Google play services are on absolutely any android system, even on full deodex cyanogenmod. So no need to deodex them, they are not system apps. They are not the cause of reboots.
In summary, we have 100% full deodex stock system, but the reboots after optimization aps with xposed and some others, it doesn't solve.
I hope that android 6.0 will be better
alex009988 said:
I did a little research. Two odex files of Google play services are on absolutely any android system, even on full deodex cyanogenmod. So no need to deodex them, they are not system apps. They are not the cause of reboots.
In summary, we have 100% full deodex stock system, but the reboots after optimization aps with xposed and some others, it doesn't solve.
I hope that android 6.0 will be better
Click to expand...
Click to collapse
This post explains something about the chimera odex files.
dl12345 said:
An examination of the filesystem showed that com.google.android.gms (Google Play Services) installs an apk and an odex file in /data/data/com.google.android.gms/app_chimera/chimera-module-root/module-b4902ed544a9b2fc3415a9fb64fb048759fc2157. The long hashed folder name changes, as you can imagine with a name like "chimera".
Click to expand...
Click to collapse
Thanks for your efforts and finding out deodexing doesn't fix random reboots.
Hi everyone! It's time to talk about deodexing marshmallow.
First of all, no random reboot after optimization apps on odex system. No need to patch camera and album apps. It works stable.
What I noticed.
After installing via flashtool and recovering apps from accounts , there were 17 gb out of 22. I got twrp backup, erased internal storage, restore my backup, and as I result it freed 10 Gb.
After deodexing system, everything works well. The size of app, framework, priv-app, vendor/app becomes around 1,6 Gb. The odex one is around 3.2.
There is a little nuance, if you want patched market on deodex system, you need to do it before this patch, do dump of the system stuff of your tablet and deodex it.
And what I've noticed too, that there are much more odex files remains in the data/app folder. In the lolipup we had only two odex files remained whereas you'll find more in the marshmallow. It means as far as I understand android install apps in odex fashion from the market.
So, at first glance, the patch seems is not so necessary, but if you want to customize android, it's better to have deodexed romtoo in theory.
So, look forward to your responses
alex009988 said:
Hi everyone! It's time to talk about deodexing marshmallow.
First of all, no random reboot after optimization apps on odex system. No need to patch camera and album apps. It works stable.
What I noticed.
After installing via flashtool and recovering apps from accounts , there were 17 gb out of 22. I got twrp backup, erased internal storage, restore my backup, and as I result it freed 10 Gb.
After deodexing system, everything works well. The size of app, framework, priv-app, vendor/app becomes around 1,6 Gb. The odex one is around 3.2.
There is a little nuance, if you want patched market on deodex system, you need to do it before this patch, do dump of the system stuff of your tablet and deodex it.
And what I've noticed too, that there are much more odex files remains in the data/app folder. In the lolipup we had only two odex files remained whereas you'll find more in the marshmallow. It means as far as I understand android install apps in odex fashion from the market.
So, at first glance, the patch seems is not so necessary, but if you want to customize android, it's better to have deodexed romtoo in theory.
So, look forward to your responses
Click to expand...
Click to collapse
Hi,
You use Xposed v80 ?
killdozer56 said:
Hi,
You use Xposed v80 ?
Click to expand...
Click to collapse
Yep, by the way, we can also try alternative version of xposed by romracer
I am not able to mount my sd internal and external with usb after installing.. Hmm
asl0501 said:
I am not able to mount my sd internal and external with usb after installing.. Hmm
Click to expand...
Click to collapse
You speak about mounting USB in TWRP ?
 @AndroPlus said USB Mounting does not work in TWRP with Kernel v20
killdozer56 said:
You speak about mounting USB in TWRP ?
@AndroPlus said USB Mounting does not work in TWRP with Kernel v20
Click to expand...
Click to collapse
I have a bootloop with xposed xposed-v80-sdk23-arm64.zip I suppose deodex is mandatory, isn't it?
My tablet does not recognize the simcard anymore after flashing this file.
asemi said:
My tablet does not recognize the simcard anymore after flashing this file.
Click to expand...
Click to collapse
Hi,
I have a SGP771 and no problem with the sim card after flashing the new firmware
what firmware you have just flashed ?
You have followed this guide: http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/

[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.

TWRP-flashable Deodexed N910FXXU1DRI2 Stock Firmware (and other related files)

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.

Categories

Resources