System app Installer v5 [UPDATED] 04/09/2013 - Android Software/Hacking General [Developers Only]

Android System app Installer​
I present you an window application to install System app in a very useful way...
Benefits:
1. No need to reboot your phone after installing system app
2. Simple User Interface easy to use
3. Small and fast
4.You can restore to previous app
5. Delete/Uninstall System app
6. Install Normal apps in single click
Requirements:
1. Any windows PC
2. ROOT
Screenshots:
Instructions:
1. Extract using any zip extractor (winzip, winrar, 7zip)
2. Open SystemAppInstaller.jar
3. Connect your phone to PC (make sure USB Debugging in ON)
4. Browse App to install
5.Click Install
6. To restore select again app (if not selected) and click restore
7. To uninstall apps click on uninstall> it will list all apps in system/app> type a name (eg:LuckyPatcher_2.9.5.apk) and press enter
8. Press 'Y' to delete more apps or 'N' to exits
Link:
System app Installer (v5)
Changelog on post#2
Hit thanks if you like my work
Changelog:
29/05/2013 (v1) -- Initial release
30/05/2013 (v2) -- Added Uninstall app option and small bug fixes
31/05/2013 (v3) -- Changed UI, Now you can install or restore more than one app at a time
09/06/2013 (v4) -- Option added to install apk as Normal or System app
04/09/2013 (v5) -- Redefined UI
Bat execution of file inside app no cmd dialog will open
Log window added and save log option
Lot of Bug fixes
Hit thanks if you like my work
[/SIZE]

Nice work bro..
Can you add a feature to uninstall a system app as well...??

karthiks.840 said:
Nice work bro..
Can you add a feature to uninstall a system app as well...??
Click to expand...
Click to collapse
Sure started working on it :silly:

System apk Installer [Updated] 30/05/2013
Updated to v2
-- Small bug fixes and added uninstall app support on request

System app Installer v3 [UPDATED]31/05/2013
v3 Uploaded
31/05/2013 --
1. Changed UI
2. Now you can install or restore more than one app at a time (batch app install)

Good job!

System app Installer v4 [UPDATED] 09/06/2013
Updated to v4......
09/06/2013 -- Option added to install apk as Normal or System app
See Screenshot on OP

awsme good work

thanks for this nice tool :good:
but I only can install one apk,
after this I get errors if I try a new one,
only works when I unplug my device and start from beginning with choice of apk and the plug the Handy again to pc
is this normal or do I something wrong
greetins
hara

04/09/2013 (v5) -- Redefined UI
Bat execution of file inside app no cmd dialog will open
Log window added and save log option
Lot of Bug fixes

Related

[ROM] SilverLight™ 5 - alpha released ! | Spice Mi-350n

Disclaimer: I'm not responsible for any damage caused to your device by following these instructions(though it may not happen!)
Screen Shots are in the 2nd post !!
Change Log is in the 5th post
Things i'm thinking to add are at 4th post.
My sincere credits to Yuweng & casacristo for being with me in trying to make a2sd work in MTK phones !!
Pre-requisites:
For your Computer:
- 7zip
For your phone:
-Rooted, of course !
- Modded Recovery [Get it from here]
-Make a nandroid recovery of your phone before installing.
-Full wipe/factory reset, either through phone or modded recovery is recommended required.
{
"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"
}
Yeah ! Bala's ROM is SilverLight™ |
Click to expand...
Click to collapse
Click to expand...
Click to collapse
SilverLight™
SilverLight™ 5 - alpha !​
Hi friends, sorry i'm too late than i expected. Day's passed on swiftly and i'm here to just release the alpha of Silverlight 5.
SilverLight 5 bug fixes are here : http://forum.xda-developers.com/showthread.php?p=30734779#post30734779
Important feature is that it is based on Android 2.3.6 !
It has been ported from Alcated 918D [MTK 6573]
Everything works fine. (Special thanks to yasir bro for testing it !!!)
I also named it as Stock Android 2.3.6 update for Spice Mi-350n.
It is just stock, for now
Another important thing is that, I'm making this port an open-source port. Since, i saw new rom makers emerging, it would be easy for them to cook/build custom ROMs from this port.
One thing, if someone wants to use it, do give me an information and a credit in your thread !!
Click to expand...
Click to collapse
Sorry, if i have disappointed you, but full version will be released as soon as possible.
Whats more to come:
Suspense !
You can even come to the time when i ported this one and how i suffered from there on without time to add features, in the download page !!
FROM HERE, ALL DOWNLOADS WILL BE AVAILABLE AT OUR GOOGLE CODE PAGE:
http://code.google.com/p/silverlight-roms-350n/
Click to expand...
Click to collapse
In the downloads page, download
2.3.6-update-2.zip
&
a2sd-p1.zip
First flash a2sd-p1.zip and then flash 2.3.6-update.zip.
NOTE: Flash Dark-tremor a2sd and any equivalent if you want to use it.
SilverLight™ 4:
Change Log:
*Bugs fixed
*Added new tweaks:
---Forced launcher into memory
---Raised JPEG quality to 100%
---User Interface will e rendered with GPU
---The time that a black screen is seen after a call is reduced
---Better Touch screen & Scroll responsiveness
---Better Battery life
---3G,Net-Speed & Photo,video recording quality incresed.
*Added SilverLight custom script & Loopy smoothness script at init.d
*Removed SuperCharger script
*Replaced FileExplorer with a new MIUI one - try it!
*Replaced Music app with ICS Music app - try it !
*Removed XDA app (causes few problems)
*Removed Go-Launcher EX (for space)
*Tweaked Youtube app to load 720p videos with Wi-Fi as well as 3G !
*Added a new boot_logo !
Try it now !!!
It is a SIGNED update.zip. So don't extract it as the other version.
Flashing this zip is enough if you are on SilverLight™ 3.
If you are on stock V2, then download PART1.zip only and flash it before flashing SilverLight™ 4 ! (no need PART2.zip - no problem even if you flash it).
SilverLight™ 4
DOWNLOAD: http://www.mediafire.com/?q92e83s4zn3arhh
Click to expand...
Click to collapse
Click to expand...
Click to collapse
EXTRAS:
PART 1:(not signed) http://www.mediafire.com/?rx7gmqpj9d6il62
PART 2:(not signed) http://www.mediafire.com/?i6l67a2176l7no9
FOR A2SD:
After installing the ROM, install Terminal Emulator app from market.
Open the app and type the following one by one:
su
a2sd install
##Phone will reboot
Open the app again,
su
a2sd datasd
##Phone will reboot
Open the app again,
su
a2sd cachesd
##Phone will reboot.
THATS ALL !!!
XXXXXXXXXXXXXXXXXXXXXXXXXXX----------------------------------------------XXXXXXXXXXXXXXXXXXXXXXXXXXXX
SilverLight™ 3
Features:
>> Based on Official Spice build v2 !(thanks to yasir bro!!)
-- If you are on Bala's ROM v1.5/1.01(or did not flash your phone by following this guide), then do please flash your phone with official build v2 using this guide. It takes a mere 7 minutes for you to flash it but it takes hours together for me to make one for v1.5. If you want, i can make one for v1.5 also, but it can't be released within one week. So, bear with me & do upgrade your phone to official v2 !!!
NOTE1: If you are on Bala's ROM v1.5, then you won't lose your apps. Just flash official v2 with the help of flashing tutorial and the flash SilverLight 3 !
NOTE2 (read this only after reading the flashing guide above): If you are upgrading, then in the flashing guide linked above, in step 5, i did it like & it worked : After loading the scatter file, with battery inserted,i connected the phone by pressing Back+Menu buttons. My pc detected it and i clicked Format->Download. I kept holding it till the red process completed and from there everything went fine and flashing was successful.
Click to expand...
Click to collapse
>> ICS Themed
--This is the reason why this update took a lot of time !! My first hands on theming. So, if you have anything to say, feel free.
Click to expand...
Click to collapse
>> V6 Supercharged
--Get ready to fly with the V6 Supercharger (script created by zippelinrox). Read more about it here. To set your custom settings, just open terminal emulator, type: su --> hit enter --> type: v6
Click to expand...
Click to collapse
>> No Bloatwares !
--The spice bloatwares are removed and its a clean ROM !!
Click to expand...
Click to collapse
>> Beats audio & Bravia Engine
-- Beats audio & Bravia engine mods are included !!
Click to expand...
Click to collapse
>> DarkTremor A2SD v2.7.5.3 beat4
--Enjoy installing unlimited apps with the a2sd !! Read more on using it in the following 3rd post !!
Click to expand...
Click to collapse
>> Pre-installed apps:
--A2SD GUI
--Adfree(no more ads)
--Barcode Scanner
--GO Launcher EX v2.87 (latest)
--ICS Clock Widget
--ICS search bar
--New ICS Launcher
--MobileUncleTools
--Experia Arc S Launcher
--SpiceUp - official app of the Spice Mi-350n Support site!
--Update Me Smartphone - check & download future ROM updates from phone itself!
--XDA app
Click to expand...
Click to collapse
>> Misc features
-- Busyboxed
-- Rooted !!
--Deodexed
--Zipaligned
-- Added ICS boot animation
-- Disabled boot sounds
-- Added Galaxy Nexus's Ringtones !
-- Home button Wake up mod included(it is up to you to install NoDeepSleep.apk)
-- Replaced default font with Roboto font (stock ICS font !!)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
DOWNLOADS:
Download: http://www.mediafire.com/?i3sk5jqd9whi2g8
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Installation Instructions (SL-v3):
NOTE: Its is highly recommended to make a complete nandroid backup(including boot.img) before installing. Do not boot your phone in between.
Also disable Signature verification every time you flash a zip because they are not signed.
1) Download 'SilverLight-3_by_balamu96m.7z'. Extract it. Then you'll have SilverLight_Part1_by_balamu96m.zip , SilverLight_Part2_by_balamu96m.zip & SilverLight_Part3_by_balamu96m.zip(These are flashable zips. So do not extract them)
Click to expand...
Click to collapse
2) Copy all the three & place it in your sdcard. (preferably at the root).
Click to expand...
Click to collapse
3) Now boot into recovery (modded or CWM) and choose - flash zip from sdcard --> select zip from sdcard --> select SilverLight_Part1_by_balamu96m.zip.
Let it install without any error. DO NOT TRY BOOTING.
Click to expand...
Click to collapse
4) Now, before installing SilverLight_Part2_by_balamu96m.zip, mount 'System' & 'Data' in recovery (i.e) mounts --> system and then data. Now install SilverLight_Part2_by_balamu96m.zip by steps followed above !. DO NOT TRY BOOTING.
Click to expand...
Click to collapse
4) Again, with similar steps followed before, SilverLight_Part3_by_balamu96m.zip.
Click to expand...
Click to collapse
5) After installing SilverLight_Part3_by_balamu96m.zip, a do a full wipe/Factory reset in the recovery. (It is a must)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
THATS ALL !! You have successfully installed SilverLight™ 3 !!
Now boot your phone. First boot may take long time (even 10 minutes !), but don't worry. It will boot !!
STEPS TO ENABLE A2SD after installing the ROM:
NOTE: If you had done this already for Bala's ROM v1.5, no need to do again.
1) Make a backup of all your sdcard files in your computer because partitioning will erase all your files.
2)Now boot in recovery --> partition sdcard --> partition sdcard --> Swap size: 0mb --> Choose size of the partition that you prefer (recommended 1024mb)(not more than 1399 mb because beta 04 supports till that only)
Let it partition your sd without any error !!
[NOTE: If you are partitioning for the 1st time with recovery, the default type of the partition will be ext2 - that is what we need & with this a2sd will work .
If you have mistakenly upgraded your partition to ext3 or ext4, then use MiniTool Partition Wizard (its free) and change your partition to ext2. Only then a2sd will work.]
Now boot normally. Now with the help of A2SD GUI app, make apps to be stored in sdcard(will be on the main-screen!). Your phone will reboot once or few times. Read more about using A2SD GUI in the following 2nd or 3rd post !!
VOILA !! a2sd is working !!! You can verify/view its space with titanium backup app !!
Now you can place all your files back on your sdcard.
With recovery you can even backup your sd-ext whenever required. (sd-ext is the place where apps which you install will be stored)
XXXXXXXXXXXXXXXXXXXXXXX_--------------------------------XXXXXXXXXXXXXXXXXXXXX
__________________________________________________________________________________________________________________________________________
VERSION 1.5
__________________________________________________________________________________________________________________________________________
Features (v1.5):
---Removed all Spice bloatwares !
---Added the following as default programs:
--A2SD GUI !~HOT~
--Mobile Uncle Tools~HOT~
--AdFree (No more Ads) ~HOT~
--Android Assistant
--Barcode Scanner
--GO Launcher EX
--Google Play Store[updated Market app] !
--Google Search[updated]
--Terminal Emulator
--YouTube
---Darktremor A2SD v2.5.7.3 beta 04~HOT~
---Added BEATS AUDIO - enhances sound. You can feel it in earphones.~HOT~
---Added Sony BRAVIA IMAGE ENGINE - enhances image quality. Try it!~HOT~
---DEODEXED !!~HOT~
---Zipaligned all apks to optimize RAM usage !
---Modified Status bar (fading error fixed) & Drop-Down with transparency & modded battery icon! (see screen-shots [v1.5]!)
---Added new colourful wallpapers to the default wallpaper gallery !
---Added Nexus One boot animation and shut animation!
---Added Samsung Vibrant's boot and shut sounds!
---Added Nexus default ringtones and notifications(error fixed!)
---BusyBox added !
---Pre-rooted, of course!
INSTALLATION INSTRUCTIONS [v1.5] :
NOTE: Its is highly recommended to make a complete nandroid backup(including boot.img) before installing.
Also disable Signature verification every time you flash a zip because they are not signed.
1) Download 'Bala's_ROM_v1.5.7z'. Extract it.
You will have a folder named 'Bala's_ROM_v1.5'
In that you'll have PART-1.zip , PART-2.zip & PART-3.zip(These are flashable zips.So do not extract them)
2) Copy the folder & place it in your sdcard's root.
3) Now boot into recovery and choose - flash zip from sdcard --> select zip from sdcard --> #open folder#'Bala's_ROM_v1.5' --> select PART -1.
Let it install without any error. Now try booting your mobile. The phone will not boot (more clearly: should not boot if installation completed correctly ! lol !)
4) Now, before installing PART-2, mount 'System' & 'Data' in recovery (i.e) mounts --> system and then data. Now install PART-2 by steps followed above !
[Now try booting. It should boot now !! LOL ]
[WHAT YOU BOOTED ABOVE IS NOT THE FULLY WORKING ROM, MANY THINGS DOESN'T WORK !! SO BOOT AGAIN TO RECOVERY ]
4) Again, with similar steps followed before, install PART-3.
5) After installing PART-3, a do a full wipe/Factory reset in the recovery. (It is a must)
THATS ALL !!This is Complete Version 1.5. You have successfully installed VERSION 1.5. Sorry for making it large. I'll try reduce it later.
STEPS TO ENABLE A2SD after installing the ROM:
1) Make a backup of all your sdcard files in your computer because partitioning will erase all your files.
2)Now boot in recovery --> partition sdcard --> partition sdcard --> Swap size: 0mb --> Choose size of the partition that you prefer (recommended 1024mb)(not more than 1399 mb because beta 04 supports till that only)
Let it partition your sd without any error !!
[NOTE: If you are partitioning for the 1st time with recovery, the default type of the partition will be ext2 - that is what we need & with this a2sd will work .
If you have mistakenly upgraded your partition to ext3 or ext4, then use MiniTool Partition Wizard (its free) and change your partition to ext2. Only then a2sd will work.]
Now boot normally. Now with the help of A2SD GUI app, make apps to be stored in sdcard(will be on the main-screen!). Your phone will reboot once or few times. Read more about using A2SD GUI in the following 2nd or 3rd post !!
VOILA !! a2sd is working !!! You can verify/view its space with titanium backup app !!
Now you can place all your files back on your sdcard.
With recovery you can even backup your sd-ext whenever required. (sd-ext is the place where apps which you install will be stored)
DOWNLOAD LINK::
http://www.mediafire.com/?nt6idp7vw2qdl3x
(sorry for making it large !)
_________________________________________________________________________________________________________________________________________________
VERSION 1.01
_________________________________________________________________________________________________________________________________________________
Deodexed version 1.01 added !! Same installation instructions !! Check Downloads !
Features (v1.01):
(updated 20 Mar)
1.Removed all Spice bloatwares !
2.Added the following as default programs:
-Android Assistant
-Barcode Scanner
-GO Launcher EX
-Google Play Store[updated Market app] !
-Google Search[updated]
-Nexus Revamped Live Wallpaper!
-Terminal Emulator
-YouTube
2. Zipaligned all apks to optimize RAM usage !
3.Modified Status bar & Drop-Down with new battery icon! (see screen-shots [v1.01]!)
4. Added new colourful wallpapers to the default wallpaper gallery !
5.Added Nexus One boot animation and shut animation!
6.Added Samsung Vibrant's boot and shut sounds!
7.Added Nexus default ringtones and notifications!
8. Pre-rooted, of course!
Overall it looks to be an Ultra fast & Stable ROM !!
INSTALLATION INSTRUCTIONS [v1.01] :
(instructions updated 20 mar)(fixed all reported errors!)
1. Download the file 'Balas_ROM_v1.01_GB_signed_update.zip' and copy it to your sdcard - root of the sdcard is preferred.
2. Flash it as 'update.zip' in modded recovery.
(i.e) [for beginners] Go to recovery --> Flash zip from sdcard --> choose zip from sdcard and select Balas_ROM_v1.01_GB_signed_update.zip
NOTE: Since the file is signed there is no need to disable signature verification !!
Let the installation process complete without any error.
Then reboot.
Voila !! Your new ROM is booting !!
Deodexed version may take some more time to boot than normal. Don't get afraid !
Try and post your comments !!
DOWNLOAD LINKs (update.zip)(Mediafire) :
- Normal odexed version - Bala's_ROM_v1.01_GB_signed_update.zip
- Deodexed version - Deodexed_Bala's_ROM_v1.01_GB_signed_update.zip
Screen Shots in the second post !
An extract of review posted by yasirmujtaba: (here)
yasirmujtaba said:
The rom porvided by bala is supercool
I m trying to rate it..
Style:-
1-Go launcher
2-Custom battery icon
3-Modified Notification bar
4-Custom wallpapers and ringtones & notifications
OVERALL:- 9/10
Performance:-
Very Very good response no lagging even
when skyfire dolphin and opera are running simultaneously
Ram consumption is very effective
Overall- 9/10
So the rom scores a huge number of 9
Click to expand...
Click to collapse
Hit THANKS if you like my ROM !!
Screen Shots !!
SCREEN SHOTS - SilverLight™ 3:
SCREEN SHOTS v1.5:
SCREEN SHOTS v1.01:
NOTE:
-The android version displayed there (in Bala's ROM v1.01&v1.5) is just change in number. The actual version is 2.3.4 only !! Only you know that it is 2.3.4. For others it is 2.3.7 !!
USING A2SD GUI [For v1.5+]
'A2SD settings' on the app's main screen.
------You can choose where apps that you install should be saved either in sd-ext (sdcard partition) or your internal memory.
------ 'Zipalign on boot is off' - is recommended because the ROM is already zipaligned and doing it again on boot will take more time to boot.
------'Swap is deactivated' - I have not used it.....maybe you/anyone can try and reply !
DALVIK:
-- You can choose where Dalvik cache should be saved. Go more info on Dalvik-cache, try googling n reading the wiki about it.Other things can remain the same......
---other tabs, you yourself can read & understand !!
Some more:
One thing to remember - sd-ext is like internal memory for phone, but phone can't find how much space is used or left in sd-ext. Titanium backup will help you there......
All third-party/system apps will tell that apps are installed in phone memory......you should understand that sd-ext is also like internal memory for phone and all other apps !!
Apps should be installed normally .......but your free space in internal memory will remain the same even after installing apps.....you'll notice that ur sd-ext space will be reducing........
Phone can't find how much space is left in sd-ext but titanium backup will help you to know !!
If you find decrease in phone memory even when a2sd in enabled, use a2sd gui to reinstall all app to sd-ext.....u can also type this command in terminal emulator :
su
a2sd reinstall
More over one should not move apps to sdcard in 'application settings' when using a2sd !!
These are few things that i'm trying to add:
Trying to add few requests by some users!!
Extended Power menu with Reboot, Recovery & download - working on it.
Click to expand...
Click to collapse
Change log:​
SilverLight™ 3:
*Removed Terminal Emulator
*Removed Android Assistant
*Based on Official spice build v2
*Highly modified framework-res.apk & SystemUI.apk with ICS theme.
*Added new ICS Launcher
*Added ICS search bar & ICS Clock
*Added V6 SuperCharger!
*Added Xperia launcher
*Added SpiceUp app
*Added Update-Me-Smartphone app
*Added XDA app
*Changed boot animation with ICS's one
*Disabled boot sound
*Added Roboto font
*Added Home Button wake up mod
Bala's ROM v1.5:
*Removed Nexus Revamped Live Wallpaper
*Added A2SD GUI
*Added Mobile Uncle Tools
*Added AdFree
*Added DarkTremor A2SD v2.7.5.3 beta 4
*Added Beats audio & Bravia Engine
*Added Busybox
Bala's ROM v1.01:
*Initial release
what is special in it I've already done all the things you've
done.
and what about ram consumption ......
but thanks for your hard work.....
your Balas_ROM_v1.01 not getting installed
hey.... balamu96m
your nandroid- custom ROM [Balas_ROM_v1.01] is not getting installed....
what is the problem????
i hav followed all the above steps...
i am able to Restore my nandroid backup done by me.... but when i tried your.. its not getting installed....
it shows "Oops... Something went wrong..." message.
[ i am using same recovery (fly blackbird iq260) in my phone as u hav posted screenshots above....
wanna try this rom...
help me out...
same problm here.........
Oops... Something went wrong...
balamu96m said:
please elaborate your problem.......is your phone not booting ?? or not able install in modded recovery ??
try making a wipe data/factory reset and then install the ROM......also disable 'Signature Verification' (it is a must) and try.............reply !
Click to expand...
Click to collapse
1. i hav wiped all data
2. i hav wiped SD card
3. disabled sign verification
4. unzipped yor rom and puted in proper folder.
5. but i selected to restore yor rom its shows some ..... (dots) for few second and shows oops something went wrong...
6. i am not able to install yor rom... using and testing its a later thing...
i'm trying to fix the error - 'Oops..something went wrong'.............also i'll try to create a working update.zip........................
about the RAM consumption, without ant app running, i'm getting 101 mb free and 128mb used..........it looks to ok but need to improve............
i'll post the update.zip as soon as possible !!
hey friends! uploaded update.zip !! It is also Zipaligned to optimize RAM usage !! check first post !! i checked it in my phone and its working !!! try it and reply !!!
balamu96m said:
i'm trying to fix the error - 'Oops..something went wrong'.............also i'll try to create a working update.zip........................
about the RAM consumption, without ant app running, i'm getting 101 mb free and 128mb used..........it looks to ok but need to improve............
i'll post the update.zip as soon as possible !!
Click to expand...
Click to collapse
there is only 70 mb ram free
but response is pretty good .........
on moe thank to you bro.........
yasirmujtaba said:
there is only 70 mb ram free
but response is pretty good .........
on moe thank to you bro.........
Click to expand...
Click to collapse
Thanks for the review dude !! now working on deodexing.........!!
will try to post it soon !
Deodexed version uploaded !! check first post !!
balamu96m said:
Deodexed version uploaded !! check first post !!
Click to expand...
Click to collapse
Flashing Now Tell You Soon
Flashing
4th Time Today lol["CAN IT EFEECT MY ROM LIKE MY E6??"]
aN Can You Please Explain Dodexing In Simple Words
Is It Related to Theme A Rom ,,,
Sorry If I Am Harassing You...
yasirmujtaba said:
aN Can You Please Explain Dodexing In Simple Words
Is It Related to Theme A Rom ,,,
Sorry If I Am Harassing You...
Click to expand...
Click to collapse
DeOdexing is the process of re-bundling that uncompressed critical data (.odex files) back into your compressed .apk (& .jar) files, so that now all of the data is included in the .apk files necessary to run your applications without the presence of .odex files
In addition all the data is now included within the .jar files necessary to utilize your framework components without .odex files. In a DeOdexed file structure, there are no odex files present.
What is the benefit of DeOdexing?
Deodexing doesn't speed your phone up or do anything of the sort.
It is simply something that is necessary to be able to theme a stock ROM.
Theoratically it should slowdown phone but practically it is negligible.
zipaliging is the process of reorganizing the manner in which the .apk is packaged to optimized it for being parsed faster by the android OS, it is comparable if not better than the odex file structure, so you get the best of both worlds; a themed ROM and the speed of an optimized file structure.
If one can implement all things properly phone will defenately speed up.
i will also make custom rom... but in my vacation. till i will use others.
djgj said:
DeOdexing is the process of re-bundling that uncompressed critical data (.odex files) back into your compressed .apk (& .jar) files, so that now all of the data is included in the .apk files necessary to run your applications without the presence of .odex files
In addition all the data is now included within the .jar files necessary to utilize your framework components without .odex files. In a DeOdexed file structure, there are no odex files present.
What is the benefit of DeOdexing?
Deodexing doesn't speed your phone up or do anything of the sort.
It is simply something that is necessary to be able to theme a stock ROM.
Theoratically it should slowdown phone but practically it is negligible.
zipaliging is the process of reorganizing the manner in which the .apk is packaged to optimized it for being parsed faster by the android OS, it is comparable if not better than the odex file structure, so you get the best of both worlds; a themed ROM and the speed of an optimized file structure.
If one can implement all things properly phone will defenately speed up.
i will also make custom rom... but in my vacation. till i will use others.
Click to expand...
Click to collapse
well you copy very nicely bro lol
waiting for your custom rom
---------- Post added at 06:46 PM ---------- Previous post was at 06:40 PM ----------
balamu96m said:
Deodexed version uploaded !! check first post !!
Click to expand...
Click to collapse
when updating error comes up
that
zip is corrupt
deodexing !
yasirmujtaba said:
Flashing Now Tell You Soon
Flashing
4th Time Today lol["CAN IT EFEECT MY ROM LIKE MY E6??"]
aN Can You Please Explain Dodexing In Simple Words
Is It Related to Theme A Rom ,,,
Sorry If I Am Harassing You...
Click to expand...
Click to collapse
edit: already posted the ans !! any way i'm posting it !!
Harassing ?? Not at all !! i have no problem dude !!
Well, i don't think flashing will affect your phone because i'll have to do it many a times a day and not just 4 times !!
When ever i try and flash my ROM and many a time it'll get struck at boot screen. So i'll be restoring/flashing it many a times a day !
Still thats my view.....i dunno really !
Deodexing.........in simple terms it is like this:
Our phone splits the apks and jars (only system apks and jars) into '.odex' files for fast processing of those files ..........but when the app is split into .apk/.jar file and .odex file, it not possible to edit them and make changes. when those files are deodexed or when we flash a deodexed ROM, the two files, '.odex' file and '.apk/.jar' are combined together and we will have only the apk or jar file and not the .odex file.......hence it makes editing or modifying possible. Also,only because of this, deodexed ROM takes some more time to boot!!
So because of this we can say that it related to theming........that too 'native' theme and not just Launcher' theming which are provided by GO Launcher etc.
I hope you understand...........!! Now any one can easily make themes for our phone !! just edit framework-res.apk and SystemUI.apk, modify,test and upload !!
yasirmujtaba said:
well you copy very nicely bro lol
waiting for your custom rom
---------- Post added at 06:46 PM ---------- Previous post was at 06:40 PM ----------
when updating error comes up
that
zip is corrupt
Click to expand...
Click to collapse
error ?? i didn't get any...........try disabling signature verification...........also try clearing cache, dalvik cache and data [clear data only after a backup via Titanium Bakup or nandroid]
Try n reply !!
Currently trying to add extended power menu with reboot, recovery and download !!
hey balamu96m
i installed yor deodexed signed rom.
works good with 10mb more then other roms.
but there is some problem with status bar(notification bar)...
it stops working when i connect usb cable wid my pc...
so i think problem is with battery application.
overall nice work man

[MOD/APK] CLEANSER for CM12 v2.1 [multi-devices]

Cleanser v2.1
{
"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"
}
. . . Introduction
This MOD will give you an easy interactive way to personalize your ROM.
Use combined with your fresh installation of CM12.1 and/or even after your ROM is setup!
After running Cleanser, you can then access it via the App draw & also other utilities.
. . . Contents
System App removal
Remove unwanted system apps.
Please request for an App if you don't see it in the list.
System Media removal
Remove unwanted system media.
Please request for Media if you don't see it in the list.
Survival Mode
Survives ROM upgrades and Factory resets.
Survival Mode is optional.
Survival Scripts can be removed at any time within Cleanser.
Resume Mode
Updates existing Survival scripts, otherwise overridden.
Disabler Menu
Options to disable different system properties.
Please request more things you would like to disable.
Wipe Menu
Options to wipe certain things.
Please request more things you would like to wipe.
File Manager & Terminal
Aroma File Manager & Terminal included.
System Information
Displays some system info such as partition sizes and free space.
Cleanser App
Easy access to Cleanser.zip via your App draw.
A bunch of useful utilities.
Organizers your Cleanser.zip's on your SDcard.
Download & Support for latest Cleanser.zip
No Device check
It works on multiple devices, check Device list below for tested devices.
Please report for others if successful or not on a non-listed device.
Testing on another device is simple, basically if Aroma starts, it's more than likely compatible.
. . . Devices
HTC Sensation
Samsung Galaxy Tab S
Samsung Galaxy Ace 2
Samsung Galaxy S4 Mini
OnePlus One
Sony Xperia M
LG Nexus 5 (Hammerhead)
* Note: Let me know if it works on your device so it can be added.
. . . Installation
Flash Cleanser.zip and follow on screen instructions.
Wipe ART in Cleanser if not a clean installation of CM12.1, if using App removal options.
Profit!
. . . Changelog
v1.0
- Initial release
v1.1
- Added Survival Scripts (Survives ROM updates & factory resets)
- Added Survival Script removal option
- Minor theme adjustments and clean up
- Fixed progress bar
v1.2
- Added Options for Survival Mode
- Added Resume Mode
- Added Disabler Menu (Added Logcat)
- Visual adjustments in System Info.
v1.3
- Visual adjustments & alterations in Main Menu
- Other minor Aroma alterations
- Added Wipe Menu
- Added another Disabler option (VFS Cache)
- Expanded Survival removal options
v1.4
- Added Cleanser App v1.0
- Added another Wipe Menu option (App Caches)
- Added more Disabler options (Transparency & Cleanser App)
- Added Survival removal option for App
- Other Aroma alterations
v1.5
- Updated Cleanser App to v1.1
- Updated Cleanser icons in Aroma
- New icon for Cleanser/App
- Removed Start Cleanser splash screen from App
- Added Cleanser Control option in App (Placemark)
- Added Information option in App
- Added Download & Support in Information option
v1.6
- Added another wipe option (SDcard App Data)
- Updated Disable Cleanser App Info in MOD
- Added thumbnails and SDcard App caches to 'Wipe App Caches'
- Updated Cleanser App to v1.2
- Fixed App start up Cleanser.zip organizing!
- Added Optimize Menu
- Added Boost RAM (Shortcut: Longpress icon in Cleanser App Menu)
- Added Optimize Sqlite (Log generated in /sdcard/Cleanser)
- Added Zipalign (Log generated in /sdcard/Cleanser)
- Added Wipe Menu (Wipe WiFi Data, Wipe ART, Wipe App Caches)
- Added Cleanser Removal (Disable, Uninstall, Complete Removal)
v1.7
- Added Aroma File Manager & Terminal
- Removed the Alert from Aroma start up
- Changed App installation process
- Other minor alterations
- Updated Cleanser App to v1.3
- Some minor UI changes in App
v1.8
- Added Wipe All Data excluding Apps
- Added Wipe System Settings
- Added UI Audio to Media removal
- Minor theme alterations
v1.9
- Updated App Removal list for new CM12 Apps
v2.0
- Updated Cleanser App to v1.4 (Fixed Removal options for system mounted as Read Only)
- Fixed App update option
- Added another Disabler option (UKSM)
v2.1
- Updated removal script to handle some devices that have system mounted as read only
. . . Credits
amarullz for creating the amazing Aroma Installer
ahsan64 for helping me with Aroma in the past
Awesome devs that bring Lollipop to our device!
. . . Downloads
.
@hinxnz I just tried out your zip on my galaxy tab s using cm12 and it seems to work perfect.
I'm getting error installation aborted.I'm using sensation XE running CM12 with 4ext recovery RC2
zybach said:
I'm getting error installation aborted.I'm using sensation XE running CM12 with 4ext recovery RC2
Click to expand...
Click to collapse
update the recovery version
its working on Oneplus One CM12 Nightly.
Thanks
---------- Post added at 05:01 PM ---------- Previous post was at 04:28 PM ----------
can you please post the uninstaller script for the app?
Thanks.
n.praveen13 said:
its working on Oneplus One CM12 Nightly.
Thanks
---------- Post added at 05:01 PM ---------- Previous post was at 04:28 PM ----------
can you please post the uninstaller script for the app?
Thanks.
Click to expand...
Click to collapse
You can uninstall the app by opening it and choosing cleanser control - removal - uninstall. The Complete removal option removes the directory and zip from sdcard.
hinxnz said:
You can uninstall the app by opening it and choosing cleanser control - removal - uninstall. The Complete removal option removes the directory and zip from sdcard.
Click to expand...
Click to collapse
That did not work...can you post a recovery zip which will uninstall the app...thanks.
n.praveen13 said:
That did not work...can you post a recovery zip which will uninstall the app...thanks.
Click to expand...
Click to collapse
Your right, it's because of system mounted as read only. I will update it as soon as I can but for now remove by entering this in terminal emulator
Code:
su
mount -o remount,rw /system
rm /system/priv-app/com.hinxnz.cleanser.apk
mount -o remount,ro /system
exit
Edit: App has been updated to fix this now.
latest version is working on a GT-I9195 , S4 mini (except restarting)
nice work, keep it up :good:
Can this be updated, it used to work fine on my OnePlus One with TWRP Manager 2.8.4 but with the recovery being updated to 2.8.5.0, it doesn't work anymore...
kartikb said:
Can this be updated, it used to work fine on my OnePlus One with TWRP Manager 2.8.4 but with the recovery being updated to 2.8.5.0, it doesn't work anymore...
Click to expand...
Click to collapse
I can't because it's related to twrp and not this mod, same goes with the HTC Sensation using twrp.
You could report this to the twrp developers to be fixed.
For now, you could either flash back twrp 2.8.4.x or try use volume buttons to navigate and power button to select in mod but it's tricky.
I'm not able to use this anymore while using multirom utility. Here is the link to multirom recovery page.
http://forum.xda-developers.com/oneplus-one/development/mod-multirom-v26-t2835738
It won't work on any of the twrp version. I think the issue is with this app itself. Don't think they are going to change the codes on twrp. I really like this app and I'd love to have it fixed. Thanks.
kartikb said:
Can this be updated, it used to work fine on my OnePlus One with TWRP Manager 2.8.4 but with the recovery being updated to 2.8.5.0, it doesn't work anymore...
Click to expand...
Click to collapse
n.praveen13 said:
It won't work on any of the twrp version. I think the issue is with this app itself. Don't think they are going to change the codes on twrp. I really like this app and I'd love to have it fixed. Thanks.
Click to expand...
Click to collapse
I think it has to do with twrp lockscreen but not sure, apparently it can be fixed kernel side.
I did not create the aroma binary used in the aroma installer, @amarullz created it and will know what needs to be done to fix it.
I found a way to use it with trwp, that is alot easier than using volume buttons to navigate and power to select, is that you need to quickly simultaneously tap what you select using your index and middle fingers alternately.
On HTC Sensation, another way is to simultaneously alternately tap the home key (or any capacitive button) with one finger and what you want to select with another finger, which is probably even easier.
will this work with CM11?
intrepid24 said:
will this work with CM11?
Click to expand...
Click to collapse
App removal and some app functions won't work.
You can open cm11 rom.zip and manually remove apps you don't need before flashing.
hinxnz said:
I think it has to do with twrp lockscreen but not sure, apparently it can be fixed kernel side.
I did not create the aroma binary used in the aroma installer, @amarullz created it and will know what needs to be done to fix it.
I found a way to use it with trwp, that is alot easier than using volume buttons to navigate and power to select, is that you need to quickly simultaneously tap what you select using your index and middle fingers alternately.
On HTC Sensation, another way is to simultaneously alternately tap the home key (or any capacitive button) with one finger and what you want to select with another finger, which is probably even easier.
Click to expand...
Click to collapse
It doesn't even go to the app screen to use the volume rockers or the power button with 2.8.6.0 atleast on Oneplus One
n.praveen13 said:
It doesn't even go to the app screen to use the volume rockers or the power button with 2.8.6.0 atleast on Oneplus One
Click to expand...
Click to collapse
Volume up a few times then down usually works for me but my other suggestion is far easier, a few posts above.
It's tricky to work out sometimes but you could use CWM recovery instead.
Works beautifully on my Xperia M single sim!
OP updated with new version to fix cleanser script when system read only, which fixes survival mode.

[MODULE] Detach3 - Detach Market Links

Detach3
Introduction
This Magisk module is for detaching apps from the Google Play Store.
It removes your defined packages from the 'Manage apps and device" section and disables them from auto-updates.
Installation
Flash module in Magisk Manager only.
Not necessary to reboot after flashing this module.
This module is designed to flash as many times as you like.
It is configured with a *configuration file. You can create one before flashing this module to define your package(s) or the default one will be used instead, which detaches YouTube by default.
Add your package name(s) you would like to detach to the configuration file, with each package name on a new line.
You can add more package names to your configuration file or the default one at any time, then simply just flash module again to apply it. Again, no need to reboot or any other user interaction needed.
Read the log that Magisk Manager displays when flashing the module, it displays the detached package(s) for confirmation.
*Configuration file: /storage/emulated/0/Android/detach.cfg
Reattach
https://forum.xda-developers.com/t/module-detach3-detach-market-links.3447494/post-84951411
Scheduler
https://forum.xda-developers.com/t/module-detach3-detach-market-links.3447494/post-84981039
Uninstallation
Uninstall with Magisk and reboot.
Troubleshooting
Follow uninstallation method. After reboot open playstore, navigate to the 'Manage apps and device' section so it can populate and then re-flash the module.
Still have an issue? Post your problem in detail and upload your Magisk installer log, found in your Download directory after saving it ( Shown here ).
Changelog
Spoiler: Click to expand
v3.00
- Initial release
v3.01
- Disabled Fallback broadcast
v3.02
- Disable auto-update for detached apps
- Disable playstore running in background
- Added uninstall script to revert changes
v3.03
- Updated sqlite3 binary
- Added support for x86 and x64
v3.04
- Added package check for configuration file
- Minor alterations
v3.05
- Recompiled sqlite3 binaries
- Improved device platform check
- Added database check
- Added the default detach.cfg file
- Minor alterations
v3.06
- Improved installer checks
- Fixed inflating uninstall script error
- Tidied installer script
- Added reattach feature*
* Comment out package name(s) in detach.cfg to reattach.
v3.07
- Fixed minor install.sh error on Android 11
- Improved some installer logic
- Added scheduler feature*
*Termux and Termux:API apks need to be installed beforehand for scheduler
v3.08
- Fixed playstore update log error on some devices
- Fixed script not applying package names with the same string of characters
- Fixed minor installer check for checking packages
- Fixed termux-api binary check
- Disabled package checks on some devices
- Added option to open playstore with scheduler notification
- Added option to open configuration file with scheduler notification
- Added option to flash module with scheduler notification
v3.10 - Note: Disable scheduler and uninstall previous version before installing this version.
- Removed package check (Some users have had issues, reboots etc.)
- Removed scheduler (Not needed for now)
- Removed unnecessary coding
- Added new method to prevent detached apps repopulating
- Added disabling of Play store trackers
- Other minor alterations in installer script
- Cleaned up installer script for new method
v3.11
- Added ignore GET_USAGE_STATS in AppOps
v3.12
- Updated sqlite binaries
- Removed disabling of fallback receiver
- Added disabling of alarm manager background service
v3.13
- Updated sqlite binaries
- Added ignore RUN_ANY_IN_BACKGROUND in AppOps
- Added ignore RUN_IN_BACKGROUND in AppOps
- Disabled App Discovery Service
Frequenly Asked Questions
Spoiler: Click to expand
Q. Can I use the old detach.txt?
A. No, I decided to ditch it. It now uses a new method explained in the installation section.
Q. Where is the boot script installed?
A. No boot script is needed for detaching, everything is done while flashing the module.
Q. Does this break safetynet?
A. No, it doesn't conflict with safetynet at all.
Q. Why shouldn't I re-enable Play Protect?
A. It will interfere with the module's purpose.
Q. Will having Play Protect disabled, open me up to vulnerabilities?
A. No, the playstore scans their market apk's after developers upload them.
Q. I usually install after-market apks (modified ones) and I think play protects me from this?
A. You should scan your unknown apk with Total Virus.
Q. How do you find a package name?
A. Magisk Manager lists your apps with the package name underneath each one, in the Magisk Hide list.
Q. What Magisk version is needed?
A. The module template is designed for Magisk v20.4+
Q. Do I need to uninstall previous version before updating?
A. No, unless stated. Just flash updated version.
Q. Do auto-updates still work for all my other apps that aren't detached?
A. Yes, auto-update and other notifications etc still work.
Download
See attached below -- detach-3.xx.zip
Previous versions
Detach Market Links for Theme Ready Apps *
Introduction
This Mod is for detaching apps from the Google Play Store that are included in the Theme Ready Apps zip and/or aroma installer from Team Black Out for CMTE and Substratum theme engines.
*Now also includes majority of all themed apps by Team Black Out by using an optional txt file.
The purpose is that updates will not show in your update list and also in update notifications from the Google Play Store.
This allows you to auto-update or the ability to use the update all button without the worry of updating Theme Ready Apps which will break your themes for those apps updated.
The Google apps that are detached if you're not using the optional txt file are Gmail, Google App, Google Plus, Hangouts, YouTube and Gboard (Google Keyboard).
Installation
Flash Mod in recovery, no need to wipe anything but if using SuperSU systemless mode or Magisk, flash this mod afterwards.
No need to flash again in-between ROM updates if using SuperSU systemless mode or Magisk or if your ROM supports addon.d scripts.
To detach more themed apps, place the detach.txt file either on root of your sdcard or internal storage and remove the comment from the apps you wish to detach and then flash Detach.zip
You can also use the optional detach.txt file to just selectively detach Theme Ready Apps.
If you don't use the supplied detach.txt file, only Theme Ready Apps will be detached.
To add your own custom packages (apps), read here > https://forum.xda-developers.com/showpost.php?p=72194332&postcount=147
Uninstallation
Rename detach.txt on sdcard to detach.remove, flash Detach.zip again and reboot.
This will remove all files related to installation, including the txt and custom file and restores all market links.
Note
If not using SuperSU or Magisk, you need to have init.d support.
The configured script doesn't execute until after 60 seconds when boot has completed, this also includes the remove script too.
This Mod has been tested by myself on Android 6 and 7.
You still have the ability to update your Theme Ready Apps via Google Play Store but you'll need to use the search function instead.
Changelog
v1.0
- Initial release
v1.1
- Changed detach method
v1.2
- Disabled service for database
v1.3
- Bug fixes
v1.4
- Added static sqlite binary
v2.0
- Added themed apps to detach with configuration txt file (optional)
v2.1
- Cleaned up installation script
- Added mod removal option
v2.2
- Magisk compatible (systemless installation)
- SuperSU systemless mode compatible (systemless installation)
- Fixed init.d detection
- Fixed market links reappearing
- Updated detach.txt (added Wallpapers, Pixel Launcher, Capture (GoPro))
v2.3
- Updated script and detach.txt (added Gboard, Clock, Camera, Google Connectivity Services, Google VR Services, Google Play Services)
v2.4
- Updated script and detach.txt (added Google Carrier Services and the ability to add custom packages)
v2.5
- Fixed market links reappearing
v2.6
- Main script updated for removal process
- Disabled code for a playstore service that no longer needs to be disabled
- Removed Contacts, Phone and Photos from default install
Thanks @hinxnz, I'll try the newest one.
Report 1.3: My theme ready gapps were detached except Google Calendar. I installed Black Google Calendar from TBO. Is there something I can do for this?
sunanulh said:
Thanks @hinxnz, I'll try the newest one.
Report 1.3: My theme ready gapps were detached except Google Calendar. I installed Black Google Calendar from TBO. Is there something I can do for this?
Click to expand...
Click to collapse
I was thinking about adding more themed apps to detach but would have to either use a config file on sdcard for example or probably better to make an aroma version but I would need all the package names first.
hinxnz said:
I was thinking about adding more themed apps to detach but would have to either use a config file on sdcard for example or probably better to make an aroma version but I would need all the package names first.
Click to expand...
Click to collapse
I think a "fulfilled" config file is simpler. So the users have just to add/remove '#' symbol.
For the name of the apps, maybe you can ask to TBO.
Cheers
hinxnz said:
I updated mod, see if it works for you now & I made a thread for it too > http://forum.xda-developers.com/and...detach-market-links-theme-ready-apps-t3447494
Click to expand...
Click to collapse
It's still not working on Stock rooted N. Thanks for trying.
Glad I saw your post that you put this thread up!
I downloaded 1.3 and flashed it and rebooted and waited for two minutes, but YouTube is still showing an update.
cmo220 said:
It's still not working on Stock rooted N. Thanks for trying.
Click to expand...
Click to collapse
Could you call script manually with Terminal Emulator and post output
RED ZMAN said:
Glad I saw your post that you put this thread up!
I downloaded 1.3 and flashed it and rebooted and waited for two minutes, but YouTube is still showing an update.
Click to expand...
Click to collapse
But the first version still works for you?
YouTube hasn't been updated for awhile AFAIK, what version is showing an update?
Are the other theme ready apps showing in your 'My apps & games' list?
Do you have any apps in your 'Wishlist', found in side menu?
hinxnz said:
Could you call script manually with Terminal Emulator and post output
But the first version still works for you?
YouTube hasn't been updated for awhile AFAIK, what version is showing an update?
Are the other theme ready apps showing in your 'My apps & games' list?
Do you have any apps in your 'Wishlist', found in side menu?
Click to expand...
Click to collapse
I couldn't get a /su.d folder so I put it in /system/su.d, which was already there and working. Here is the output.
angler:/ $ su
angler:/ # /su.d/99-detach.sh
sush: /su.d/99-detach.sh: not found
127|angler:/ # /system/su.d/99-detach.sh
angler:/ # Component {com.android.vending/com.google.android.finsky.services.DailyHygiene$DailyHygieneService} new state: disabled
CANNOT LINK EXECUTABLE "sqlite3": cannot locate symbol "u_setDataDirectory_55" referenced by "/system/xbin/sqlite3"...
Aborted
CANNOT LINK EXECUTABLE "sqlite3": cannot locate symbol "u_setDataDirectory_55" referenced by "/system/xbin/sqlite3"...
Aborted
And a bunch more of the same error.
The first version? I've deleted the previous versions .zips.
I've installed 1.0, 1.2, and 1.3.
Youtube has been showing this way for about a week, even after reboots.
11.32.53 is what's showing on Google Play, I've got 11.29.55 installed from TBO Theme Ready Apps v 21.
com.google.android.youtube
Showing up in the My apps & games list as installed...
Gmail
Google App
Google+
Google Photos
Hangouts
Wishlist, yes, I've got several.
RED ZMAN said:
The first version? I've deleted the previous versions .zips.
I've installed 1.0, 1.2, and 1.3.
Youtube has been showing this way for about a week, even after reboots.
11.32.53 is what's showing on Google Play, I've got 11.29.55 installed from TBO Theme Ready Apps v 21.
com.google.android.youtube
Showing up in the My apps & games list as installed...
Gmail
Google App
Google+
Google Photos
Hangouts
Wishlist, yes, I've got several.
Click to expand...
Click to collapse
Could you call script in Terminal Emulator and post output too.
For example:
Code:
su
/system/su.d/99-detach.sh
I don't think I've used terminal emulator except for twice since the G1, so I'm not sure if I did this right.
[email protected]:/ $
[email protected]:/ $ su
system/su.d/99-detach.sh <
sush: /system/su.d/99-detach.sh: not found127|[email protected]:/ #
hinxnz said:
Could you call script in Terminal Emulator and post output too.
For example:
Code:
su
/system/su.d/99-detach.sh
Click to expand...
Click to collapse
Is there any reason you are using a dynamically linked sqlite in your zip? the error the user is getting is because of that I believe. Idk I would try to use a static sqlite binary. Ill attach one so you/someone can have, but in case anyone is curious how to quickly compile sqlite3 statically ill post it in the spoiler tags below.
oh and just to note, I forgot to rename it from sqlite3 to sqlite before uploading
Im not going to explain the lines though, pretty straight forward imho
/opt/androideabi is my ndk toolchain prefix
Code:
mkdir sqlite3-static
cd sqlite3-static
wget https://sqlite.org/2016/sqlite-amalgamation-3140100.zip
unzip sqlite-amalgamation-3140100
cd sqlite-amalgamation-3140100
export PATH=$PATH:/opt/androideabi/bin
cp $(ANDROID_BUILD_TOP)/bionic/libdl/libdl.c .
cp /opt/androideabi/sysroot/usr/include/android/dlext.h .
cp /opt/androideabi/sysroot/usr/include/dlfcn.h .
arm-linux-androideabi-gcc -static -I./ -L./ -ldl *.c -o ../sqlite3
cd ../
file ./sqlite3
Surge1223 said:
Is there any reason you are using a dynamically linked sqlite in your zip? the error the user is getting is because of that I believe. Idk I would try to use a static sqlite binary. Ill attach one so you/someone can have, but in case anyone is curious how to quickly compile sqlite3 statically ill post it in the spoiler tags below.
oh and just to note, I forgot to rename it from sqlite3 to sqlite before uploading
Im not going to explain the lines though, pretty straight forward imho
/opt/androideabi is my ndk toolchain prefix
Code:
mkdir sqlite3-static
cd sqlite3-static
wget https://sqlite.org/2016/sqlite-amalgamation-3140100.zip
unzip sqlite-amalgamation-3140100
cd sqlite-amalgamation-3140100
export PATH=$PATH:/opt/androideabi/bin
cp $(ANDROID_BUILD_TOP)/bionic/libdl/libdl.c .
cp /opt/androideabi/sysroot/usr/include/android/dlext.h .
cp /opt/androideabi/sysroot/usr/include/dlfcn.h .
arm-linux-androideabi-gcc -static -I./ -L./ -ldl *.c -o ../sqlite3
cd ../
file ./sqlite3
Click to expand...
Click to collapse
Thank you Surge! :highfive:
Surge1223 said:
Is there any reason you are using a dynamically linked sqlite in your zip? the error the user is getting is because of that I believe. Idk I would try to use a static sqlite binary. Ill attach one so you/someone can have, but in case anyone is curious how to quickly compile sqlite3 statically ill post it in the spoiler tags below.
oh and just to note, I forgot to rename it from sqlite3 to sqlite before uploading
Im not going to explain the lines though, pretty straight forward imho
/opt/androideabi is my ndk toolchain prefix
Code:
mkdir sqlite3-static
cd sqlite3-static
wget https://sqlite.org/2016/sqlite-amalgamation-3140100.zip
unzip sqlite-amalgamation-3140100
cd sqlite-amalgamation-3140100
export PATH=$PATH:/opt/androideabi/bin
cp $(ANDROID_BUILD_TOP)/bionic/libdl/libdl.c .
cp /opt/androideabi/sysroot/usr/include/android/dlext.h .
cp /opt/androideabi/sysroot/usr/include/dlfcn.h .
arm-linux-androideabi-gcc -static -I./ -L./ -ldl *.c -o ../sqlite3
cd ../
file ./sqlite3
Click to expand...
Click to collapse
Cheers, thanks and yeah that's definitely the reason
Super idea, this would of been good a few months ago when google pushed their framework update and it broke some apps that i kept from updating,,, @Shaftamle google keyboard is the main on one, thank you
3GotoM ym morf tneS
Version 1.4 works for me now on 7.0. Thanks everyone!
Installed version 2.0 earlier today and seems to be working perfectly. Nothing showing needing updated.
Thanks!
How to add Black Google Calendar and Black Keep in the list?
sunanulh said:
How to add Black Google Calendar and Black Keep in the list?
Click to expand...
Click to collapse
Just remove the comments from those two as well as the other theme apps you flash.
Here's an example, theme ready apps, calendar and keep will be detached.
Code:
Contacts
Gmail
Google App
Google Plus
Hangouts
Phone
Photos
YouTube
#Inbox
#Duo
#Dropbox
#PushBullet
Calendar
Keep
#Telegram
#Swiftkey
#Translate
I have tried installing your script... And no matter how I go about... I cannot get the script to populate the su.d directory like it should...
And... Since I don't understand your flashable... I can't pull what I want out of it...
Could you explain how to install said script without recovery?
Thanks

[G925F/FD/W8/...][6.0+] SYSTEMLESS DevBase | Encryption support | Stock OTA updates

SYSTEMLESS DevBase has been developed and physically tested on S7 Edge (G935F), so main thread containing the most detailed description you can find here:
>> [SAMSUNG][6.0+] SYSTEMLESS DevBase | Encryption support | Stock OTA updates <<
However, it should work on ALL SAMSUNG DEVICES running Android 6.0+, so if you are Galaxy S6 Edge (G925xx) owner - please place your feedback & discussion here to let me know about device-specific issues or to let me know that everything works perfect
---------------------------------------------------------------------------
Are you tired with traditional custom ROMs?
Do you miss custom ROMs but you would like to have encrypted /data (for privacy/security reasons)?
You are in the right place! I present you SYSTEMLESS DevBase - an SYSTEMLESS equivalent of my previous work (for older devices)
Prerequisites:
- Samsung device running stock or stock-based Android 6.0+ (mandatory!)
- Rooted device - SuperSU v2.76+ installed in SYSTEMLESS mode (mandatory!) (*)
- Stock, untouched /system partition (not mandatory, but recommended for working OTA)
- Stock recovery (not mandatory, but recommended for working OTA)
(*) NOTE: The latest CF-Auto-Root image for G925F contains SuperSU v2.74 which does not support SYSTEMLESS solutions (su.d is not triggered early enough). It is NOT enough to update it via PlayStore to the newest version and update su binaries! You need to update it using TWRP / FlashFire installable ZIP from THIS STABLE or THIS BETA thread. Alternatively you can use "EverRoot" -> "Inject SuperSU" option in FlashFire even if you are rooted already by CF-Auto-Root (it will update SuperSU in the same way as flashing ZIP).
SYSTEMLESS DevBase:
1. Benefits / main features:
- Works with encypted /data partition
- Working official OTA updates! (see Tips & Tricks)
- Does NOT perform any phisical modifications in /system
- Does NOT perform any additional changes/patches to the kernel
- Removed KNOX warnings (systemlessly removed SecurityLogAgent)
- It contains SYSTEMLESS BusyBox (bionic, the most stable and respected release)
- It allows you to easily modify most of files & apps in your /system - SYSTEMLESSLY (see Tips & Tricks)
- It does not interfere with Magisk! You can use Magisk in paralell with SYSTEMLESS DevBase if you need it for your favorite module.
2. Systemless Safe De-Bloat (more info below):
What does it mean and why is it called "safe"?
- ONLY apps available in stores will be systemlessly removed from the ROM, so you can easily (re)install any of these app if you like
- ONLY pre-installed system apps are will be systemlessly removed, DevBase installer never touch any updated app nor app installed manually from store
Thus, the following conclusions can be drawn:
1. If you install my SYSTEMLESS DevBase directly over working stock ROM - in most cases almost all these apps will remain untouched, because almost all apps have been updated already (stored on /data). But then you will be able to remove any useless app using the "Application manager" -> [Name_Of_App_To_Remove] -> MORE -> Uninstall updates. NOTE: App will disappear arter reboot and will be visible even in Titanium Backup!
2. If you perform "Wipe data" directly before installing SuperSU and my SYSTEMLESS DevBase (before you let to install app's updates) - then all apps listed below will be removed. If you would like to use any of these apps - just install it manually from appropriate store. Installed manually app will not be removed during the next DevBase update or re-install.
Removed apps list (depends on the device, should cover all devices starting from Galaxy S5):
ChatON
Chrome
Drive
Dropbox
EditorsDocs
Evernote
Excel
Facebook
FB Messenger
FB Pages Manager
Flipboard
Google+ / Photos
Group Play
Hangouts
Instagram
OneDrive
OneNote
PEN.UP
Play Books
Play Games
Play Movies
Play Music
Play Newsstand
PowerPoint
Skype
Smart Remote
WhatsApp
Word
NEW! Safe De-Bloat feature automatically detects and systemlessly removes apps not listed above, but present in your CSC package
3. Systemless CscFeature MOD (enabled some built-in, hidden features):
- Added shutter sound menu in Camera app
- Sending/receiving MMS without data on
- Show SMS/MMS sending time instead of receiving
- Added "Exit Internet" option to stock browser
- Added call button in Phone Logs (**)
- Added "Call/Message block" option in Settings
- Added symbols as secondary keys in Samsung keyboard (**)
- Call Recording (manual control, added "Record" button)
(**) may not work starting from Android 7.0 Nougat
Installation:
1. FlashFire app (recommended ***):
- Open file using "Flash ZIP or OTA" option
- UNTICK "Mount /system read/write" [extremely important for working OTA!]
- Enable "EverRoot" -> "Inject SuperSU" option if necessary (see NOTE above (*))
- Tap "FLASH"
2. TWRP recovery:
- Tap "Keep Read Only" on the Welcome screen [extremely important for working OTA!]
- Open file using "Install" option (use extSdCard or OTG storage in case of encrypted /data)
- Confirm flash by swiping right
- Tap "Reboot System"
NOTE1: One additional auto-reboot may be performed at first boot. It is not a bug (may be required for systemless build.prop support - see Tips & Tricks for more explanations)
NOTE2: Do not worry about red "mount /data failed..." messages displayed in TWRP in case of encrypted /data (installer will do the work anyway!)
(***) As far as I know - FlashFire is the only flashing tool with full access to /data during flash in case of encrypted devices. It is also the only tool which allows you to perform full backup/restore of partitions, including encrypted /data. It does NOT require custom recovery to work!
Credits: @Chainfire for systemless SuperSU and a lot of inspiration
Hit Thanks button if you like my work. If you really appreciate my work - feel free to buy me a beer
Download
>> Recent SYSTEMLESS DevBase <<
Note:
Check MD5 sum BEFORE flash (useful TOOL), because flashing damaged or incomplete ZIP files can lead to issues! Correct MD5 sum is shown on the AndroidFileHost website while downloading.
Changelog
Please visit MAIN THREAD - post #3
Tips & Tricks
1. OTA updates:
- Basically, the only thing you need to take OTA update is to perform "Full unroot" in the SuperSU app. However, a better way is to use "unroot2ota" terminal command, because this will not remove DevBase boot script from /su/su.d and the only thing you will need to re-activate SYSTEMLESS DevBase (and all your systemless MODs) after performing OTA update is just re-root your device with CF-Auto-Root.
- If you flashed custom recovery like TWRP - it is mandatory to restore your stock recovery (otherwise OTA will not work). You can do it using FlashFire app (the easiest way) - just open recovery.img file (extracted from your original FW) using "Flash firmware package" option, disable "Preserve recovery" option and then tap "FLASH". EDIT: Starting from version v1.2 there is a new "unroot2ota" feature which allow you to restore stock recovery using /system/recovery-fromm-boot.p file. There is no guarantee to perform it successfully (even if there is no error message) but in most cases it works well (tested on Nougat beta). Please go to recovery before you try to get OTA to check if you have stock recovery already after performing "unroot2ota" (if not - you need to use PC Odin to flash recovery.img packed in tar file).
- It is recommended to temporarily disable "Auto-update apps" in Play Store settings before you unroot your device. It will prevent updating applications covered by Safe De-Bloat list, as there apps will temporarily appear until you re-root the phone after performing OTA update.
Note (devices which use dm-verity): You should never allow /system modifications in TWRP, never allow to remount /system r/w in any app (e.g. Root Explorer, FlashFire, etc.) and never flash a ZIP file which could modify your /system or remount it r/w. Failure to follow these recommendations will break dm-verity verification and will cause, that your device may not be able to boot with the stock kernel (you will need to re-flash your original FW using PC Odin to make your device bootable).
2. Making your own modifications:
- You can systemlessly replace any existing system app by modded one. Just put modified app to /data/devbase/system/app or /data/devbase/system/priv-app and then reboot your device
- You can systemlessly replace jar or apk in /system/framework. Just put modified one to /data/devbase/system/framework and then reboot your device (NOTE: framework support has been added for advanced users -> there is high risk of bootloop if you do something wrong!)
- You can systemlessly add or override any line in /system/build.prop. Just put (only new or changed) line to /data/devbase/system/build.prop and then reboot your device (NOTE: one additional auto-reboot will be performed if /data/devbase/system/build.prop file has been added, modified or removed. It is not a bug - it is required for the changes in /data/devbase/system/build.prop to take effect!)
- You can systemlessly replace any existing file in /system/csc and /system/etc (but NOT in subdirectories). Just put modified copy of a file to /data/devbase/system/csc or /data/devbase/system/etc and then reboot device
Limitations: original app or file MUST physically exist with the same name in /system, you can NOT add a new app or file this way!
Example 1 (Ad-Blocking): Download the latest Ad-Blocking ZIP installer from THIS thread. Extract "hosts" file (placed in /system/etc inside ZIP file), then copy it to /data/devbase/system/etc, set rw-r--r-- (644) permissions and then reboot device
Example 2 (modded SystemUI): Create "SystemUI" directory in /data/devbase/system/priv-app and then put modified "SystemUI.apk" file into it. Set rwxr-xr-x (755) permissions to "SystemUI" directory, rw-r--r-- (644) permissions to "SystemUI.apk" and then reboot device
Example 3 (De-Bloating a bit more): You can just create empty directories in /data/devbase/system/app (or priv-app) corresponding to applications in /system/app (or priv-app). Alternatively (more advanced method), you can add an app to modded enforceskippingpackages.txt file (you can find it in /data/devbase/system/etc or /data/devbase/system/csc_contents, depending on the original location in /system) and increase number in the 1st line. Second method should not be used by beginners (without a basic knowledge related to UNIX text format)
3. How to manually maintain the newest ROM version:
If you do not care about OTA - you can manually update your device to the newest ROM available @ Sammobile, keeping your original CSC (you need multi-file original FW, I mean separate files for BL/AP/CP/CSC). You need to download 2 ROMs: ROM with the newest changelist and the latest ROM containing your original CSC. Extract both and open in PC Odin BL/AP/CP files from the ROM with highest changelist but open CSC file from the ROM containing your CSC (I recommend to use HOME_CSC_* file to avoid auto-wipe-data). Flash such "mix", re-root and enjoy
Reserved
There is new version available
Changelog
v1.1:
- Added SYSTEMLESS support for /system/framework
- Added SYSTEMLESS support for /system/build.prop (overrides & additions)
- Added major Android update detection (auto-remove mods for older API to prevent bootloops & FCs)
- Added BusyBox bionic (the most stable and respected release)
- Added logging to /data/devbase/last_boot.log (API & errors)
- Added SuperSU boot patcher version checker (exits su.d boot script if < 2.76)
- Added "Please DO NOT wipe /cache" warning in case of encrypted devices and TWRP recovery
- Minor changes & optimizations in the shell code
- Added SYSTEMLESS DevBase uninstaller
Download link:
>> SYSTEMLESS_DevBase_v1.1.zip <<
Since new version has many more features -> there are more possibilities of bootloop (especially if you are playing with framework mods). I have created DevBase remover to let you get out from bootloop. Of course uninstaller does NOT "know" which mod caused the problem, so it will not remove any file from /data/devbase directory, it will remove only /su/su.d/0000000devbase boot script to make your device bootable (again) so you can manually delete problematic mod:
>> SYSTEMLESS_DevBase_remover.zip <<
Another update:
v1.3:
- Fixed CscFeature MOD (e.g. G920I case, now should work with all Samsung devices/variants)
v1.2:
- Added info in Settings/About device/Software info/Build number (can be overrided by editing /data/devbase/system/build.prop)
- unroot2ota: added ability to restore stock recovery using /system/recovery-from-boot.p file (no guarantee)
- unroot2ota: check /system partition for common modifications before unroot
- Minor changes & improvements in the shell code
>> SYSTEMLESS_DevBase_v1.3.zip <<

[SM-J120FN] Debloat/DeGApp/DeSApp/DeKNOX/Tweak - SuperSU - microG

First of all, thanks to @javad490, most of this is based on his thread: [Custom][ROM] For j1(2016) j120F Android 5.1.1.
I take no responsibility for any damage or data loss - proceed at your own risk.
Below you will find step-by-step instructions on how to do what's in the title of thread.
I've made backups at every step, which I can upload on request.
SM-J120FN CUSTOM SETUP (1.0-170620)
Probably also 100% compatible with SM-J120F.
0 - Initialize device
Install latest Smart Switch for desktop (2017-05-26 - 4.1.17054_16)
Initialize device & update (2017-03-14 - PDA:QC1 / CSCL1 / PHONE:QC1 (SEE))
1 - Flash TWRP Recovery
Install latest Odin3 (2017-05-06 - 3.12.7)
Flash compatible TWRP Recovery (2016-12-31 - 3.0.2-0)
⇒ Backup 1 (stock)
2 - Flash latest SuperSU (2017-05-27 - 2.82)
⇒ Backup 2 (sprsu)
3 - Flash Debloat & Tweak and configure (1.0-170619)
WARNING: This script removes 167 out of 202 packages and 286 files/directories, and installs a few essential apps (see details).
Please review the bloat list and/or the script so you don't remove anything you want to keep.
You can also have the script install apps of your choosing (just place them in the correct directory).
Before & After
Details:
⇒ Debloat & tweaks by javad490 (2017-05-27)
1 - Debloat (full list (.ods)) (2017-06-19)
Imporant sources:
Debloater and Deknox Patch (2017-03-08)
Remove GApps (2017-04-28)
2 - Tweaks (2017-06-16)
Custom boot animation and sound (2017-06-16)
Boot: SciFi Droid (2016-07-01)
Shutdown: Blue Cube Shutdown (2015-06-11)
more: here and here
Tweaks by javad490 (2017-05-27)
improve Camera quality (2016-12-26)
50 tweaks (2016-11-22)
SpeedUp Wifi-3G-Lte (2016-09-15)
3 - Install apps (1.0-170620)
BusyBox (2017-01-18 - 1.26.2)
This is only an installer app, install Busybox manually
F-Droid (2017-06-02 - 0.103.2)
IzzyOnDroid Repository: https://apt.izzysoft.de/fdroid/repo
Yalp Store (2017-06-14 - 0.17)
Ghost Commander (2017-06-18 - 1.54)
Requires Busybox for root functions
KISS Launcher (2017-05-12 - 2.30.2)
Tap the O in the search bar to get a list of all apps
AnySoftKeyboard (2017-06-16 - 1.8.844)
Manually run app and setup to enable
Disa (2017-05-24 - 0.9.9-317)
Manually run app and setup to enable SMS
Click to expand...
Click to collapse
⇒ Backup 3 (dbltw)
4 - Install Xposed
Flash compatible Xposed Framework (2016-07-09 - 0.86)
Install latest Xposed Installer (2016-10-31 - 3.11)
⇒ Backup 4 (xposd)
5 - Install microG Services
Install FakeGApps with Xposed Installer (2016-03-04 - 1.1)
Enable and reboot
Install microG with F-Droid
microG Services Core (2017-06-12 - 0.2.4-103-gd9e86d9)
microG Services Framework Proxy (2016-02-07 - 0.1.0)
FakeStore (2016-11-16 - 0.0.2) - be sure to install 0.0.2 from microG repo
microG DroidGuard Helper (2017-05-19 - 0.1.0-10-gf64bf69)
Nlp Backends:
NominatimNlpBackend (2017-05-22 - 1.2.2)
OpenBmapNlpBackend (2016-12-09 - 0.2.6)
LocalGsmNlpBackend (2016-12-01 - 1.4.9)
LocalWifiNlpBackend (2016-08-21 - 1.1.6)
MozillaNlpBackend (2016-04-08 - 1.3.2)
Configure and reboot
⇒ Backup 5 (mcrog)
6 - Flash App installer, configure apps and reboot (1.0-170620)
App path inside zip must be: /apps/data/app.package.name-1/base.apk or /apps/system/app.package.name/base.apk
WARNING: make sure to download the correct APK for your system. For J120FN this is armeabi-v7a.
This script cannot handle updates - only use it to install apps for the first time
⇒ Backup 6 (final)
Installed apps:
Apps installed with Debloat script (see 3)
DAVdroid (1.6.1-ose)
Nextcloud (1.4.3)
oandbackup (0.2.12.1)
K-9 Mail (5.206)
Open Camera (1.38.2)
Camera Roll (1.5.2 Beta)
Vanilla Music (1.0.53)
Document Viewer (2.7.9)
Document Viewer Font Pack (2.3)
LibreOffice Viewer (5.3.0.0.alpha1+/4136757)
AddressToGPS (1.32)
MAPS.ME (7.3.5-Google)
Clock+ (1.1.3)
Etar (1.0.12)
Nextcloud Notes (0.11.0)
OpenTasks (1.1.8.2)
Calculator (5.4)
Firefox (54.0)
HTTPS Everywhere
uBlock Origin
Wi‐Fi Privacy Police (2.2.4)
EzraZebra said:
3 - Flash Debloat & Tweak and configure (1.0-170619)
WARNING: This script removes 167 out of 202 packages and 286 files/directories, and installs a few essential apps (see details).
Please review the bloat list and/or the script so you don't remove anything you want to keep.
You can also have the script install apps of your choosing (just place them in the correct directory).
Before & After
Details:
⇒ Backup 3 (dbltw)
Click to expand...
Click to collapse
The link for "Debloat & Tweak" is down, could someone please provide me with a working link ?

Categories

Resources