DELETED - Samsung Galaxy A6 ROMs, Kernels, Recoveries, & Oth

DELETED

Thank you a lot for providing your DEBLOAT script. Now I dont need it to do it by hand anymore

Have I to wait 7 days after I enabled OEM? Can I make calls and use my phone as usual?

francuz1988 said:
Have I to wait 7 days after I enabled OEM? Can I make calls and use my phone as usual?
Click to expand...
Click to collapse
if you have the normal stock firmware installed without any modification before , you don"t need to wait for 7 days to enable OEM ....this should be done in a normal way .
Just keep in mind that if you have RMM prenormal already , this firmware will not work for you until you don"t enable OEM.

balanadi said:
if you have the normal stock firmware installed without any modification before , you don"t need to wait for 7 days to enable OEM ....this should be done in a normal way .
Just keep in mind that if you have RMM prenormal already , this firmware will not work for you until you don"t enable OEM.
Click to expand...
Click to collapse
What must I do to have RMM prenormal, just enable OEM and restart phone?

Hey boss, when I try to use Google calendar after I flash ur debloater, it crashes when I give it permission to use the calendar, then I tried to download Samsungs calendar but Googles keeps crashing... U maybe know the reason?

deleted

deleted

balanadi said:
deleted
Click to expand...
Click to collapse
this always happening to me since first day i rooted. everytime after debloating, my phone always unstable (msg crash, and some random app crash, file manager in romtoolbox become crash also). maybe same as you @DKzVeNgEnS .
already tried pure boot.img then patched with magisk, flash it in TWRP with other necessary zips ..but still give same error after i made a change to file.
the only fix is restore system and data.. or vendor if i made a change a file inside vendor.
do you think what cause of that? kernel related?

an-_-dro said:
this always happening to me since first day i rooted. everytime after debloating, my phone always unstable (msg crash, and some random app crash, file manager in romtoolbox become crash also). maybe same as you @DKzVeNgEnS .
already tried pure boot.img then patched with magisk, flash it in TWRP with other necessary zips ..but still give same error after i made a change to file.
the only fix is restore system and data.. or vendor if i made a change a file inside vendor.
do you think what cause of that? kernel related?
Click to expand...
Click to collapse
Since i had to replace the motherboard of my phone because i was flashing a newer baseband on A605FN , i try to read about every app which i try to delete from the system or from vendor ,
This debloat script was made by me after one week of testing in order to be safe , and without any FC or missed aplications ...
The only way to be good for you is to open the script in note++ and edit what you want to keep.
If you follow the steps described in my post , you will have a PURE STOCK FIRMWARE , without any FC ,, but with a lot of samsung bloatware removed ( most of them you can install them from Google Play ).

About the Debloat script for A605FN , you have a description of every single app what was removed with this script :
run_program("/sbin/rm", "-rf", "system/app/AASAservice");
run_program("/sbin/rm", "-rf", "system/app/AllshareFileShare");
run_program("/sbin/rm", "-rf", "system/app/AllshareMediaShare");
run_program("/sbin/rm", "-rf", "system/app/AntHalService");
run_program("/sbin/rm", "-rf", "system/app/ANTPlusPlugins");
run_program("/sbin/rm", "-rf", "system/app/ANTPlusTest");
run_program("/sbin/rm", "-rf", "system/app/AutomationTest_FB");
run_program("/sbin/rm", "-rf", "system/app/BasicDreams");
run_program("/sbin/rm", "-rf", "system/app/BBCAgent");
run_program("/sbin/rm", "-rf", "system/app/BCService");
run_program("/sbin/rm", "-rf", "system/app/BluetoothTest");
run_program("/sbin/rm", "-rf", "system/app/BookmarkProvider");
run_program("/sbin/rm", "-rf", "system/app/BuiltInPrintService");
run_program("/sbin/rm", "-rf", "system/app/CarrierDefaultApp");
run_program("/sbin/rm", "-rf", "system/app/ChocoEUKor");
run_program("/sbin/rm", "-rf", "system/app/CoolEUKor");
run_program("/sbin/rm", "-rf", "system/app/DAAgent");
run_program("/sbin/rm", "-rf", "system/app/DictDiotekForSec");
run_program("/sbin/rm", "-rf", "system/app/DRParser");
run_program("/sbin/rm", "-rf", "system/app/EasymodeContactsWidget81");
run_program("/sbin/rm", "-rf", "system/app/EasyOneHand3");
run_program("/sbin/rm", "-rf", "system/app/EdmSimPinService");
run_program("/sbin/rm", "-rf", "system/app/EdmVpnServices");
run_program("/sbin/rm", "-rf", "system/app/EmergencyLauncher");
run_program("/sbin/rm", "-rf", "system/app/EmergencyModeService");
run_program("/sbin/rm", "-rf", "system/app/EmergencyProvider");
run_program("/sbin/rm", "-rf", "system/app/Facebook_stub");
run_program("/sbin/rm", "-rf", "system/app/FactoryCameraFB");
run_program("/sbin/rm", "-rf", "system/app/FBAppManager_NS");
run_program("/sbin/rm", "-rf", "system/app/FlipboardBriefing");
run_program("/sbin/rm", "-rf", "system/app/Foundation");
run_program("/sbin/rm", "-rf", "system/app/GameOptimizer");
run_program("/sbin/rm", "-rf", "system/app/GearManagerStub");
run_program("/sbin/rm", "-rf", "system/app/Gmail2");
run_program("/sbin/rm", "-rf", "system/app/GooglePrintRecommendationService");
run_program("/sbin/rm", "-rf", "system/app/GoogleCalendarSyncAdapter");
run_program("/sbin/rm", "-rf", "system/app/GoogleTTS");
run_program("/sbin/rm", "-rf", "system/app/HandwritingService");
run_program("/sbin/rm", "-rf", "system/app/ImsSettings");
run_program("/sbin/rm", "-rf", "system/app/KnoxAttestationAgent");
run_program("/sbin/rm", "-rf", "system/app/KnoxKeyChain");
run_program("/sbin/rm", "-rf", "system/app/LinkSharing_v40");
run_program("/sbin/rm", "-rf", "system/app/MDMApp");
run_program("/sbin/rm", "-rf", "system/app/Omc");
run_program("/sbin/rm", "-rf", "system/app/PartnerBookmarksProvider");
run_program("/sbin/rm", "-rf", "system/app/PhotoTable");
run_program("/sbin/rm", "-rf", "system/app/RootPA");
run_program("/sbin/rm", "-rf", "system/app/RoseEUKor");
run_program("/sbin/rm", "-rf", "system/app/SamsungCalendar");
run_program("/sbin/rm", "-rf", "system/app/SamsungDLPService");
run_program("/sbin/rm", "-rf", "system/app/SamsungTTS");
run_program("/sbin/rm", "-rf", "system/app/SapaMonitor");
run_program("/sbin/rm", "-rf", "system/app/SecureFolderSetupPage");
run_program("/sbin/rm", "-rf", "system/app/SecurityLogAgent");
run_program("/sbin/rm", "-rf", "system/app/SecurityProviderSEC");
run_program("/sbin/rm", "-rf", "system/app/SmartMirroring");
run_program("/sbin/rm", "-rf", "system/app/SmartReminder");
run_program("/sbin/rm", "-rf", "system/app/SmartSwitchAgent");
run_program("/sbin/rm", "-rf", "system/app/SPrintSpooler");
run_program("/sbin/rm", "-rf", "system/app/STalkback");
run_program("/sbin/rm", "-rf", "system/app/SysScope");
run_program("/sbin/rm", "-rf", "system/app/uimremoteclient");
run_program("/sbin/rm", "-rf", "system/app/uimremoteserver");
run_program("/sbin/rm", "-rf", "system/app/UniversalSwitch");
run_program("/sbin/rm", "-rf", "system/app/UniversalMDMClient");
run_program("/sbin/rm", "-rf", "system/app/VisionIntelligence2");
run_program("/sbin/rm", "-rf", "system/app/VRSetupWizardStub");
run_program("/sbin/rm", "-rf", "system/app/WallpaperBackup");
run_program("/sbin/rm", "-rf", "system/app/Weather_SEP9.0");
run_program("/sbin/rm", "-rf", "system/app/WebManual");
run_program("/sbin/rm", "-rf", "system/app/WlanTest");
run_program("/sbin/rm", "-rf", "system/app/YouTube");
ui_print("Removing bloatware in /system/priv-app");
run_program("/sbin/rm", "-rf", "system/priv-app/ANTRadioService");
run_program("/sbin/rm", "-rf", "system/priv-app/AppLock");
run_program("/sbin/rm", "-rf", "system/priv-app/AuthFramework");
run_program("/sbin/rm", "-rf", "system/priv-app/BeaconManager");
run_program("/sbin/rm", "-rf", "system/priv-app/BixbyHome");
run_program("/sbin/rm", "-rf", "system/priv-app/BixbyVisionFramework");
run_program("/sbin/rm", "-rf", "system/priv-app/ConfigUpdater");
run_program("/sbin/rm", "-rf", "system/priv-app/ContainerAgent3");
run_program("/sbin/rm", "-rf", "system/priv-app/ColorAdjustment");
run_program("/sbin/rm", "-rf", "system/priv-app/DCMService");
run_program("/sbin/rm", "-rf", "system/priv-app/DeviceQualityAgent");
run_program("/sbin/rm", "-rf", "system/priv-app/DeviceTest");
run_program("/sbin/rm", "-rf", "system/priv-app/DiagMonAgent");
run_program("/sbin/rm", "-rf", "system/priv-app/EmergencyInfo");
run_program("/sbin/rm", "-rf", "system/priv-app/EpdgService");
run_program("/sbin/rm", "-rf", "system/priv-app/Excel_SamsungStub");
run_program("/sbin/rm", "-rf", "system/priv-app/EasySetup");
run_program("/sbin/rm", "-rf", "system/priv-app/Fast");
run_program("/sbin/rm", "-rf", "system/priv-app/FBInstaller_NS");
run_program("/sbin/rm", "-rf", "system/priv-app/FBServices");
run_program("/sbin/rm", "-rf", "system/priv-app/Finder_v8");
run_program("/sbin/rm", "-rf", "system/priv-app/Fmm");
run_program("/sbin/rm", "-rf", "system/priv-app/FotaAgent");
run_program("/sbin/rm", "-rf", "system/priv-app/GalaxyAppsWidget_Phone_Dream");
run_program("/sbin/rm", "-rf", "system/priv-app/GameHome");
run_program("/sbin/rm", "-rf", "system/priv-app/GameTools_Dream");
run_program("/sbin/rm", "-rf", "system/priv-app/GoogleFeedback");
run_program("/sbin/rm", "-rf", "system/priv-app/HealthService");
run_program("/sbin/rm", "-rf", "system/priv-app/Hearingdro_V7");
run_program("/sbin/rm", "-rf", "system/priv-app/HwModuleTest");
run_program("/sbin/rm", "-rf", "system/priv-app/ImsLogger");
run_program("/sbin/rm", "-rf", "system/priv-app/imsservice");
run_program("/sbin/rm", "-rf", "system/priv-app/ImsTelephonyService");
run_program("/sbin/rm", "-rf", "system/priv-app/KLMSAgent");
run_program("/sbin/rm", "-rf", "system/priv-app/KnoxCore");
run_program("/sbin/rm", "-rf", "system/priv-app/knoxvpnproxyhandler");
run_program("/sbin/rm", "-rf", "system/priv-app/LinkedIn_SamsungStub");
run_program("/sbin/rm", "-rf", "system/priv-app/NetworkDiagnostic");
run_program("/sbin/rm", "-rf", "system/priv-app/NSFusedLocation_v3.3");
run_program("/sbin/rm", "-rf", "system/priv-app/OneDrive_Samsung_v3");
run_program("/sbin/rm", "-rf", "system/priv-app/PaymentFramework");
run_program("/sbin/rm", "-rf", "system/priv-app/PhoneErrService");
run_program("/sbin/rm", "-rf", "system/priv-app/PowerPoint_SamsungStub");
run_program("/sbin/rm", "-rf", "system/priv-app/SamsungBilling");
run_program("/sbin/rm", "-rf", "system/priv-app/SamsungCalendarProvider");
run_program("/sbin/rm", "-rf", "system/priv-app/SamsungCloud");
run_program("/sbin/rm", "-rf", "system/priv-app/SamsungMagnifier3");
run_program("/sbin/rm", "-rf", "system/priv-app/SamsungMultiWindow");
run_program("/sbin/rm", "-rf", "system/priv-app/SamsungPass");
run_program("/sbin/rm", "-rf", "system/priv-app/SecLiveWallpapersPicker");
run_program("/sbin/rm", "-rf", "system/priv-app/SecureFolder");
run_program("/sbin/rm", "-rf", "system/priv-app/SenfHelpMessage");
run_program("/sbin/rm", "-rf", "system/priv-app/serviceModeApp_FB");
run_program("/sbin/rm", "-rf", "system/priv-app/SKMSAgent");
run_program("/sbin/rm", "-rf", "system/priv-app/SmartEpdgTestApp");
run_program("/sbin/rm", "-rf", "system/priv-app/SmartManager_v6_DeviceSecurity");
run_program("/sbin/rm", "-rf", "system/priv-app/SOAgent");
run_program("/sbin/rm", "-rf", "system/priv-app/SPDClient");
run_program("/sbin/rm", "-rf", "system/priv-app/SPPPushClient");
run_program("/sbin/rm", "-rf", "system/priv-app/StatementService");
run_program("/sbin/rm", "-rf", "system/priv-app/StoryService");
run_program("/sbin/rm", "-rf", "system/priv-app/SVCAgent");
run_program("/sbin/rm", "-rf", "system/priv-app/UIBCVirtualSoftkey");
run_program("/sbin/rm", "-rf", "system/priv-app/Upday");
run_program("/sbin/rm", "-rf", "system/priv-app/Velvet");
run_program("/sbin/rm", "-rf", "system/priv-app/VisionProvider");
run_program("/sbin/rm", "-rf", "system/priv-app/VpnDialogs");
run_program("/sbin/rm", "-rf", "system/priv-app/wssyncmlnps2");
run_program("/sbin/rm", "-rf", "system/priv-app/Tag");
run_program("/sbin/rm", "-rf", "system/priv-app/Word_SamsungStub");
run_program("/sbin/rm", "-rf", "system/priv-app/xtra_t_app");
delete_recursive("/data/knox");
delete_recursive("/system/hidden");
delete_recursive("/system/container");
delete_recursive("/system/containers");
delete_recursive("/system/preload");
delete_recursive("/system/container/KnoxBBCProvider");
delete_recursive("/system/container/KnoxBluetooth");
delete_recursive("/system/container/SharedDeviceKeyguard");
delete_recursive("/system/preloadedkiosk");
delete_recursive("/system/preloadedsso");
delete_recursive("/system/tts");
delete_recursive("/system/etc/tima");
delete_recursive("/system/etc/epdg");
delete("/system/etc/irremovable_list.txt");
delete("/system/etc/ASKSTS.xml");
delete("/system/info.extra");
delete("/system/etc/removable_preload.txt");
delete("/system/etc/fota.cer");
delete("/system/etc/permissions/com.dsi.ant.antradio_library.xml");
delete("/system/framework/com.dsi.ant.antradio_library.jar");
delete("/system/framework/oat/arm/com.dsi.ant.antradio_library.odex");
delete("/system/framework/oat/arm64/com.dsi.ant.antradio_library.odex");
delete("/system/etc/sysconfig/samsungpushservice.xml");
delete("/system/etc/sysconfig/samsungemail.xml");
delete("/system/etc/preferred-apps/com.samsung.android.email.provider.xml");
delete("/system/etc/permissions/com.samsung.android.feature.samsungauthframework.xml");
delete("/system/etc/sysconfig/samsungauthframework.xml");
delete("/system/bin/tima_dump_log");
delete("/system/tima_measurement_info");
delete("/system/framework/timakeystore.jar");
delete("/system/etc/permissions/knoxsdk_edm.xml");
delete("/system/etc/permissions/knoxsdk_mdm.xml");
delete("/knox_data");
delete("/root/knox_changer");
delete("/system/framework/knoxsdk.jar");
If you want to keep something from what will be removed , you need to open the script in notepad++ and delete the entire row with the respective app what you want to keep.
Example : you want to keep GooglePrintRecommendationService.apk ----- then you delete run_program("/sbin/rm", "-rf", "system/app/GooglePrintRecommendationService");
After editing the script , you replace it in the zip and try to flash .
Enjoy

balanadi said:
Since i had to replace the motherboard of my phone because i was flashing a newer baseband on A605FN , i try to read about every app which i try to delete from the system or from vendor ,
This debloat script was made by me after one week of testing in order to be safe , and without any FC or missed aplications ...
The only way to be good for you is to open the script in note++ and edit what you want to keep.
If you follow the steps described in my post , you will have a PURE STOCK FIRMWARE , without any FC ,, but with a lot of samsung bloatware removed ( most of them you can install them from Google Play ).
Click to expand...
Click to collapse
this is not the matter of script. when i made a change to any file (even delete manual with File Mgr or Titanium Backup, even only replacing xml file), that triggering something that make my phone become unstable. even i tried a dmverity script from other thread. maybe thats just happen only to me..which is sucksss

SOLVED! (made factory reset again and now it works)
--------------------------------------------------------
After I used the debloat script, the google account setup keeps crashing always when I try to add my google account. So that I can not use the play store. I tried clean cache and dalvik and even flashed open gapps. But nothing worked. Do you have any idea?

nebkas said:
SOLVED! (made factory reset again and now it works)
--------------------------------------------------------
After I used the debloat script, the google account setup keeps crashing always when I try to add my google account. So that I can not use the play store. I tried clean cache and dalvik and even flashed open gapps. But nothing worked. Do you have any idea?
Click to expand...
Click to collapse
same case with me..every i made a change to system..some app randomly crash.
still looking for answer for this...root access almost useless if i can not change anything. even debloat

After had try many app to uninstall what i dont like on a rooted device like A605Fn .. i realise that the best way is to edit for every phone i have , the cript as i like . This is the safe way to remove what you dont like .
So my sugestion is to open the debloat script , copy on your desktop the file " updater.script" .. then open to edit with notepad++ which you find it attached on the OP and delete the entire row with the apk which you like to keep from my script . You save it and you added back to the debloat zip and you flash it .
I spent 2 month reading about each apk safe to remove in order to have a debloated phone very functional .
I did that for Sm-J710FN ... TAM A 585... SM-J730GM.. GALAXY S5 .. NOTE 4 AND TAB E 560 ...all of them are deloated with this script
I wish you good luck and hope you will find the way to remove your desired apk ..

balanadi said:
After had try many app to uninstall what i dont like on a rooted device like A605Fn .. i realise that the best way is to edit for every phone i have , the cript as i like . This is the safe way to remove what you dont like .
So my sugestion is to open the debloat script , copy on your desktop the file " updater.script" .. then open to edit with notepad++ which you find it attached on the OP and delete the entire row with the apk which you like to keep from my script . You save it and you added back to the debloat zip and you flash it .
I spent 2 month reading about each apk safe to remove in order to have a debloated phone very functional .
I did that for Sm-J710FN ... TAM A 585... SM-J730GM.. GALAXY S5 .. NOTE 4 AND TAB E 560 ...all of them are deloated with this script
I wish you good luck and hope you will find the way to remove your desired apk ..
Click to expand...
Click to collapse
as my explanation before, what i asked and what happening to me is not related to script or debloat. even replacing xml, deleting ringtone will trigger that makes my phone become unstable.
the only way is to restore backup or factory reset. factory reset mean all data deleted and phone "reinitialized" it's current setting.
thats mean something "recorded" the current state of my system in data partition. when i made a change to system and that thing detected something "NOT sychronize" then BOOMM!!..that weird thing triggered and my phone become FC on some application.
so, every i made a change/delete to system..i must factory reset or restore my backup which is back to zero.
anyhow, thank for your concern. i'll keep digging for solutions.

After I debloated services under accessibility keeps crashing when I want to give permission, any of the debloated apps causing that?

DKzVeNgEnS said:
After I debloated services under accessibility keeps crashing when I want to give permission, any of the debloated apps causing that?
Click to expand...
Click to collapse
in my case, even deleting ringtone can make some app crash (radio, msg freeze then crash, and i dont know what else which is crash).
something has triggered to prevent modifying my system...

an-_-dro said:
in my case, even deleting ringtone can make some app crash (radio, msg freeze then crash, and i dont know what else which is crash).
something has triggered to prevent modifying my system...
Click to expand...
Click to collapse
I got no other problems then this one ??*

DKzVeNgEnS said:
I got no other problems then this one ??*
Click to expand...
Click to collapse
I found this accessibility issue also if i want to give permision to some appk ... i will try to find the right apk deleted when i will have time .
Now i am a little confuse because i wanted to use this script to make a clean stock image without root with magisk , but even if i do just a wipe ,with encryption patch and RMM patch , the phone is not booting , only if i rooted .
Looks like there is something registered on the phone after you try to modify the system for the first time .

Related

Electrify 2 (XT881) 4.1.2 deodex and debloat script

Hi all XT881 owners.
Here are my works for E2
Stock 4.1.2 deodex (/framework and /app folders)
4.1.2 debloat script (aroma based)View attachment Debloat_Electrify_2.zip
1 - these are 2 archives that contain fully deodexed apk-s and jar-s.
I'll provide full tutorial how to apply these files via adb.
Also, maybe, I'll compile zip installation pack.
2 - the simple aroma installer based script which removes the bloatware from the stock
Code:
ui_print("Mounting System");
mount("ext3", "EMMC", "dev/block/mmcblk1p20", "/system");
ui_print("Cleaning /app folder");
delete("/system/app/AcousticWarning.apk");
delete("/system/app/AcousticWarning.odex");
delete("/system/app/AmazonAppstore.apk");
delete("/system/app/amazonmp3.apk");
delete("/system/app/AmazonMshop.apk");
delete("/system/app/BlurUpdater.apk");
delete("/system/app/BlurUpdater.odex");
delete("/system/app/Books.apk");
delete("/system/app/CityID-release.apk");
delete("/system/app/Cmas.apk");
delete("/system/app/Cmas.odex");
delete("/system/app/com.mobitv.client.uscctv.apk");
delete("/system/app/ContactIce.apk");
delete("/system/app/ContactIce.odex");
delete("/system/app/DockComm.apk");
delete("/system/app/DockComm.odex");
delete("/system/app/DockService.apk");
delete("/system/app/DockService.odex");
delete("/system/app/Facebook.apk");
delete("/system/app/GameloftPortal.apk");
delete("/system/app/IMDB.apk");
delete("/system/app/KindleForAndroid-3.8.2.4-NoLibs.apk");
delete("/system/app/LetsGolf3_Motorola_Electrify2_NONIGP_USCC_EN_SP_GLLive_107.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/MobilePosse_USCellular.apk");
delete("/system/app/MotoDockHelperService.apk");
delete("/system/app/MotoDockHelperService.odex");
delete("/system/app/MotoCare.apk");
delete("/system/app/MotoCare.odex");
delete("/system/app/MotoCareInt.apk");
delete("/system/app/MotoCareInt.odex");
delete("/system/app/MotoSignatureApp.apk");
delete("/system/app/OnlineAlbum.apk");
delete("/system/app/OnlineAlbum.odex");
delete("/system/app/PlusOne.apk");
delete("/system/app/PortalApp.apk");
delete("/system/app/PortalApp.odex");
delete("/system/app/slackerradio_3.2.1075_USC000.apk");
delete("/system/app/TEDC_1.2.0.26.apk");
delete("/system/app/tn70-android-uscc-7141069.apk");
delete("/system/app/TRDAndroid31.apk");
delete("/system/app/Twitter.apk");
delete("/system/app/USCellular_WiFiNow.apk");
delete("/system/app/USCPhone.apk");
delete("/system/app/USCPhone.odex");
delete("/system/app/USCSettings.apk");
delete("/system/app/USCSettings.odex");
delete("/system/app/VSuiteApp.apk");
delete("/system/app/Zappos.apk");
ui_print("Cleaning /etc folder");
delete("/system/etc/amazon-kindle.properties");
delete("/system/etc/amzn.apps.ref");
delete("/system/etc/amzn.mshop.properties");
delete("/system/etc/Audible.param");
delete("/system/etc/zappos.conf");
unmount("/system");
ui_print("The script finished to debloat your phone");
Здаров.
Так форум же для xt910 и xt912...
Я не против, могут удалить просто.
Привет с родного края
PsyClip-R said:
Hi all XT881 owners.
Here are my works for E2
Stock 4.1.2 deodex (/framework and /app folders)
4.1.2 debloat script (aroma based)View attachment 2282740
1 - these are 2 archives that contain fully deodexed apk-s and jar-s.
I'll provide full tutorial how to apply these files via adb.
Also, maybe, I'll compile zip installation pack.
2 - the simple aroma installer based script which removes the bloatware from the stock
Code:
ui_print("Mounting System");
mount("ext3", "EMMC", "dev/block/mmcblk1p20", "/system");
ui_print("Cleaning /app folder");
delete("/system/app/AcousticWarning.apk");
delete("/system/app/AcousticWarning.odex");
delete("/system/app/AmazonAppstore.apk");
delete("/system/app/amazonmp3.apk");
delete("/system/app/AmazonMshop.apk");
delete("/system/app/BlurUpdater.apk");
delete("/system/app/BlurUpdater.odex");
delete("/system/app/Books.apk");
delete("/system/app/CityID-release.apk");
delete("/system/app/Cmas.apk");
delete("/system/app/Cmas.odex");
delete("/system/app/com.mobitv.client.uscctv.apk");
delete("/system/app/ContactIce.apk");
delete("/system/app/ContactIce.odex");
delete("/system/app/DockComm.apk");
delete("/system/app/DockComm.odex");
delete("/system/app/DockService.apk");
delete("/system/app/DockService.odex");
delete("/system/app/Facebook.apk");
delete("/system/app/GameloftPortal.apk");
delete("/system/app/IMDB.apk");
delete("/system/app/KindleForAndroid-3.8.2.4-NoLibs.apk");
delete("/system/app/LetsGolf3_Motorola_Electrify2_NONIGP_USCC_EN_SP_GLLive_107.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/MobilePosse_USCellular.apk");
delete("/system/app/MotoDockHelperService.apk");
delete("/system/app/MotoDockHelperService.odex");
delete("/system/app/MotoCare.apk");
delete("/system/app/MotoCare.odex");
delete("/system/app/MotoCareInt.apk");
delete("/system/app/MotoCareInt.odex");
delete("/system/app/MotoSignatureApp.apk");
delete("/system/app/OnlineAlbum.apk");
delete("/system/app/OnlineAlbum.odex");
delete("/system/app/PlusOne.apk");
delete("/system/app/PortalApp.apk");
delete("/system/app/PortalApp.odex");
delete("/system/app/slackerradio_3.2.1075_USC000.apk");
delete("/system/app/TEDC_1.2.0.26.apk");
delete("/system/app/tn70-android-uscc-7141069.apk");
delete("/system/app/TRDAndroid31.apk");
delete("/system/app/Twitter.apk");
delete("/system/app/USCellular_WiFiNow.apk");
delete("/system/app/USCPhone.apk");
delete("/system/app/USCPhone.odex");
delete("/system/app/USCSettings.apk");
delete("/system/app/USCSettings.odex");
delete("/system/app/VSuiteApp.apk");
delete("/system/app/Zappos.apk");
ui_print("Cleaning /etc folder");
delete("/system/etc/amazon-kindle.properties");
delete("/system/etc/amzn.apps.ref");
delete("/system/etc/amzn.mshop.properties");
delete("/system/etc/Audible.param");
delete("/system/etc/zappos.conf");
unmount("/system");
ui_print("The script finished to debloat your phone");
Click to expand...
Click to collapse
How to apply this im having 4.1.2 is that needed to root, pls help me
anvaralicp said:
How to apply this im having 4.1.2 is that needed to root, pls help me
Click to expand...
Click to collapse
root
Boot Menu Manager (BMM)
reboot to BMM recovery
install zip and choose the file from /ext partition
reboot normally
I thought this section was for the xt912 and xt910. Didn't know we shared a section with that phone.
can u provide the links for root and bbm
Link
anvaralicp said:
can u provide the links for root and bbm
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=55633518&postcount=3

FIRMWARE Padfone S UL-ASUS_T00N-WW-12.2.2.37 TWRP

Hello all,
I extracted the new firmware from stock Asus UL-ASUS_T00N-WW-12.2.2.37 Rom. This Zip can be flashed with TWRP coming from Stock WW 12.2.2.27.
Keep in mind this is not a fota (update) for your Android System to version 12.2.2.37. This Zip includes only the firmware for Padfone S WW.
http://www21.zippyshare.com/v/Cin9SgXj/file.html
Sent from my ASUS_T00N using XDA Free mobile app
Sirius-3R said:
Hello all,
I extracted the new firmware from stock Asus UL-ASUS_T00N-WW-12.2.2.37 Rom. This Zip can be flashed with TWRP coming from Stock WW 12.2.2.27.
Keep in mind this is not a fota (update) for your Android System to version 12.2.2.37. This Zip includes only the firmware for Padfone S WW.
http://www21.zippyshare.com/v/Cin9SgXj/file.html
Sent from my ASUS_T00N using XDA Free mobile app
Click to expand...
Click to collapse
Can you help me to extracted the new firmwate from TW_12.2.2.37......
michliu said:
Can you help me to extracted the new firmwate from TW_12.2.2.37......
Click to expand...
Click to collapse
Yes I can but I need a bit more spare time to write an easy tutorial until Friday this week.
Sent from my ASUS_T00N using XDA Free mobile app
Sirius-3R said:
Yes I can but I need a bit more spare time to write an easy tutorial until Friday this week.
Sent from my ASUS_T00N using XDA Free mobile app
Click to expand...
Click to collapse
Thanks..... waiting your tutorial...
TUTORIAL How to extract firmware from stock rom
Prerequisites:
7-Zip
Text Editor
Read this tutorial completely bevor you begin
Content:
1. Download your rom
2. Make a copy
3. Modifiy its content
4. Repack your rom
5. Profit
1. Download your Rom
Download your Stock Rom from Vendor, for example mine is
UL-ASUS_T00N-WW-12.2.2.37-user.zip​
2. Make a copy
Make a copy of your downloaded rom, if something goes wrong and you have to start over again
3. Modifiy its content
OPEN with 7-zip (DO NOT UNZIP it)
UL-ASUS_T00N-WW-12.2.2.37-user.zip​
DELETE
system.transfer.list
system.new.dat
system.patch.dat​
DOUBLE CLICK on folder
META-INF
com
google
android​
and UNZIP the file
updater-script​
or drag and drop the file on your desktop
OPEN
updater-script​
with a Text Editor, it's content will look like this
Code:
getprop("ro.product.device") == "ASUS_T00N" || abort("This package is for \"ASUS_T00N\" devices; this is a \"" + getprop("ro.product.device") + "\".");
show_progress(0.750000, 0);
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
# ---- radio update tasks ----
ui_print("Patching firmware images...");
ifelse(msm.boot_update("main"), (
ui_print("installing rpm");
package_extract_s_file("firmware-update/rpm.mbn", "/dev/block/platform/msm_sdcc.1/by-name/rpm");
ui_print("installing sbl1");
package_extract_s_file("firmware-update/sbl1.mbn", "/dev/block/platform/msm_sdcc.1/by-name/sbl1");
ui_print("installing aboot");
package_extract_s_file("firmware-update/emmc_appsboot.mbn", "/dev/block/platform/msm_sdcc.1/by-name/aboot");
ui_print("installing tz");
package_extract_s_file("firmware-update/tz.mbn", "/dev/block/platform/msm_sdcc.1/by-name/tz");
), "");
ifelse(msm.boot_update("backup"), (
ui_print("installing rpmbak");
package_extract_s_file("firmware-update/rpm.mbn", "/dev/block/platform/msm_sdcc.1/by-name/rpmbak");
ui_print("installing sbl1bak");
package_extract_s_file("firmware-update/sbl1.mbn", "/dev/block/platform/msm_sdcc.1/by-name/sbl1bak");
ui_print("installing abootbak");
package_extract_s_file("firmware-update/emmc_appsboot.mbn", "/dev/block/platform/msm_sdcc.1/by-name/abootbak");
ui_print("installing tzbak");
package_extract_s_file("firmware-update/tz.mbn", "/dev/block/platform/msm_sdcc.1/by-name/tzbak");
),"no backup partition");
msm.boot_update("finalize");
ui_print("installing DDR");
package_extract_file("firmware-update/DDR.img", "/dev/block/platform/msm_sdcc.1/by-name/DDR");
ui_print("installing modem");
package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");
ui_print("installing asusfw");
package_extract_file("firmware-update/asusfw.img", "/dev/block/platform/msm_sdcc.1/by-name/asusfw");
REMOVE the two lines
Code:
getprop("ro.product.device") == "ASUS_T00N" || abort("This package is for \"ASUS_T00N\" devices; this is a \"" + getprop("ro.product.device") + "\".");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
and save your file
4. Repack your rom
Drag and drop your modified
updater-script​
in your already opened 7-zip rom archive and overwrite the included one with your version
5. Profit
Close 7-zip and copy your firmware only rom to your Android device.
Use CWM or TWRP to make a backup of your boot partition (Kernel)
Now install your zip and reboot your phone
May I flash (system) to my padfoneS by TWRP ?
system.transfer.list
system.new.dat
system.patch.dat
Yes, flash success by TWRP ! upgrade to 12.2.2.37 !

[SOLVED] How to integrate zips while building a custom rom

Hello xda..I have been working on a custom rom based on 6.0.1 from the past few days and want to integrate xposed framework, supersu and some other mods in it but all are flashable zip files. My question here is how do you actually integrate the contents of .zip files in rom instead of manually flashing the file through recovery? I am looking forward for to your answer guys. Thank you
Fix:
Code:
package_extract_dir("root", "/tmp");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/supersu.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/supersu.zip");
Add that to your updater script. Make a folder in the root of your zip (where u have system, metainf folder and boot.img) called "root" inside that folder make another called "supersu" inside that folder put SuperSu zip in it and rename the zip to "supersu"
For xposed or other zips just do the same thing.
Replace supersu with the name of the zip... Another alternative would be to use AROMA installer.
Solved
Fix found guys. Thanks to my developer friend ShinySide..
KingRaheel said:
Hello xda..I have been working on a custom rom based on 6.0.1 from the past few days and want to integrate xposed framework, supersu and some other mods in it but all are flashable zip files. My question here is how do you actually integrate the contents of .zip files in rom instead of manually flashing the file through recovery? I am looking forward for to your answer guys. Thank you
Fix:
Code:
package_extract_dir("root", "/tmp");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/supersu.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/supersu.zip");
Add that to your updater script. Make a folder in the root of your zip (where u have system, metainf folder and boot.img) called "root" inside that folder make another called "supersu" inside that folder put SuperSu zip in it and rename the zip to "supersu"
For xposed or other zips just do the same thing.
Replace supersu with the name of the zip... Another alternative would be to use AROMA installer.
Click to expand...
Click to collapse
This works well for zips where the updater-script is dummy.....
what about the zips like A-Gapps and Arya-Sound mod...where their is a actual working updater-script....
this code doesn't work in this situation....

TWRP and Custom Rom Detailed Guide For F320* korean G2

I am not responsible for your actions so do at your own risk
Now for TWRP ( Only for F320*)
If you are on Lollipop 5.0.1 stock you need to use
SRKtool_2.1_droidth to reroot your device and this tool will also flash twrp (please choose options carefully) otherwise you may be ended with bootloop or soft bricked device
https://forum.xda-developers.com/lg-g2/development/tools-srk-tool-useful-toos-lg-root-twrp-t3079076
(Note : Please Don't use LG root tool otherwise you won't be able to flash Twrp )
and it is easy to use ,just make sure you have LG drivers installed in PC and adb enabled
if you have Stock rom of kitkat then
1 use towel root apk to get root access
2 download SuperSu app from play store
3 and please do not update SU binary (important)
4 install F320L_ AutoRec for F320L (Note: if you are on F320K or F320S you need to download your AutoRec)
5 flash you recovery and reboot into recovery
6 when you get there recovery will hang when u use ( don't panic)
7 just flash latest twrp using this of you model f320*
https://forum.xda-developers.com/lg-g2/development/twrp-twrp-2-8-0-0-kernel-f2fs-tools-t2898705
now you are ready to install custom Rom for F320*
1 Download any Rom you want Of D802 (marshmallow or Nougat)
2 download bootstack-f320*-CAF-signed using this
(Note : Not recommended to flash this if you came from Stock Lollipop and If you do, this will change your bootloader to kitkat )
https://forum.xda-developers.com/lg-g2/development/boot-g2-hybrid-bootstacks-t3183219
3 download Poly (Note: To use your external SD)
https://forum.xda-developers.com/lg-g2/development/f320x-polymorph-t3439668
4 Now download Kernel for F320*(Important)
https://forum.xda-developers.com/lg-g2/development/kernel-lambda-kernel-t3270424
5 download Gapps (use opengapps)
Now prepare Rom to Use
1 Extract D802 Rom to pc using winrar or winarchiver
2 open rom and go to Folder META-INF/com/google/android
3 open file (updater-script) using Notepad++ (Download NP++ from google )
4 Hit Ctrl + F and switch to replace tab
Code:
Find What : d802
Code:
Replace with : f320
5 Click replace all
6 save it
7 Repack rom.zip with winrar
Please backup you Important data First
Now to Install Rom
1 Copy Rom (modiified) and other stuff downloaded earlier
2 boot into recovery (for F320L power off first then hold vol down + power until Lg logo and release it for a second and hold vol up + down until factory restore screen showed then choose yes)
3 perform wipe to these only
-Data only (no need to wipe internal)
-system
-cache
3 Now Install zip with this pattern
-Flash bootstack-f320*-CAF-signed ( you can skip this if you came from stock lollipop)
-install Rom moddified
-install lambda-kernel (Important)
-install poly.zip
-install gapps (use open gapps)
now reboot your device
Dear waseemrazajafri,
Thanks a million for this detailed tutorial. I had my G2 F320s flashed in to CM 13. Thanks bro!
I'm on 5.0.1 Stock Rom on my F320L
It says here it is not recommended for a bootstack to be flashed if on 5.0.1 Lollipop stock ROM but when I checked on other people, they say to flash the Hybrid Bootstack for the F320L instead even if I'm on 5.0.1? Is it correct? Should I still flash the Hybrid Bootstack?
ClarkOwen said:
I'm on 5.0.1 Stock Rom on my F320L
It says here it is not recommended for a bootstack to be flashed if on 5.0.1 Lollipop stock ROM but when I checked on other people, they say to flash the Hybrid Bootstack for the F320L instead even if I'm on 5.0.1? Is it correct? Should I still flash the Hybrid Bootstack?
Click to expand...
Click to collapse
This bootstack is not important if you came from stock lolipop rom
bootstack will only change your bootloader to kitkat version and nothing else
I'm using f320L too
Hi, i followed ur guide and it worked. Thank u for that!!
But know i have this problem. I flashed rr rom, but rom is not rooted. Magisk app shows non rooted. App came pre installed with rom. So then i installed the zip (magisk 14.0???.zip) through recovery and after reboot i get fast boot mode. I dont know what i Did wrong. I had to flash the whole rom + other steps again to boot after i finally got into recovery, because i didnt installed/flashed the uninstaller. Even if Did, how the hell would i be allowed to use uninstaller after stuck in fast boot mode???? I saw the image file magisk creates through filemanager in recovery, but didnt know how to decrypt/restore. Can u pls help me get the rom rooted? Thanks in advance
Verstuurd vanaf mijn ME173X met Tapatalk
blanxlr said:
Hi, i followed ur guide and it worked. Thank u for that!!
But know i have this problem. I flashed rr rom, but rom is not rooted. Magisk app shows non rooted. App came pre installed with rom. So then i installed the zip (magisk 14.0???.zip) through recovery and after reboot i get fast boot mode. I dont know what i Did wrong. I had to flash the whole rom + other steps again to boot after i finally got into recovery, because i didnt installed/flashed the uninstaller. Even if Did, how the hell would i be allowed to use uninstaller after stuck in fast boot mode???? I saw the image file magisk creates through filemanager in recovery, but didnt know how to decrypt/restore. Can u pls help me get the rom rooted? Thanks in advance
Verstuurd vanaf mijn ME173X met Tapatalk
Click to expand...
Click to collapse
for rooting try SuperSU 2.46.zip
and magisk actually patched you boot.img (kernel)
just flash Lambda-Infinito-Beta (kernel) from above Post all will work fine
So, if i did all the previous steps and still no root, i just have to flash the kernel to get root acces or what?
Verstuurd vanaf mijn LG-F320 met Tapatalk
blanxlr said:
So, if i did all the previous steps and still no root, i just have to flash the kernel to get root acces or what?
Verstuurd vanaf mijn LG-F320 met Tapatalk
Click to expand...
Click to collapse
kernel is used to boot up rom but unfortunately G2 has its bootloader locked that's why we used bumpped kernel if you flash magisk or SuperSU new version this will patch your ramdisk in kernel
your kernel will no longer bumpped And you will get security error
TRY SuperSU v2.46 I have already tested
or TRy Magisk-v13.1 I have tested this too and found working to get root
Thanks a million dude ,i successfully installed crDroid Rom with this tutorial :good:
stock lollipop f320s
everytime i flash custom roms, let's say nougat, the boot logo is always looping everytime i charge it when it's powered off. isn't there a charging animation? is it normal for f320? i am on stock lollipop. this is what i've been doing: root+twrp (srktool)>flash blastagator twrp>wipe cache, data, system, dalvik>flash nougat rom>flash gapps>flash lambda kernel. i've tried everything. i've tried flashing with/without the hybrid bootstacks and it's still the same. what am i doing wrong?
it gives error at flashing the rom .i have downloaded d802 rom lineage os 14.1 for my f320l
Also replaced the d802 with f320 in update script but still no luck...i am on lollipop
netcracker said:
it gives error at flashing the rom .i have downloaded d802 rom lineage os 14.1 for my f320l
Also replaced the d802 with f320 in update script but still no luck...i am on lollipop
Click to expand...
Click to collapse
Sorry for late reply .
Are you using np++ for editing the script?
ThatPlaysAlot said:
everytime i flash custom roms, let's say nougat, the boot logo is always looping everytime i charge it when it's powered off. isn't there a charging animation? is it normal for f320? i am on stock lollipop. this is what i've been doing: root+twrp (srktool)>flash blastagator twrp>wipe cache, data, system, dalvik>flash nougat rom>flash gapps>flash lambda kernel. i've tried everything. i've tried flashing with/without the hybrid bootstacks and it's still the same. what am i doing wrong?
Click to expand...
Click to collapse
Follow pattern i mentioned in post
---------- Post added at 04:37 PM ---------- Previous post was at 04:36 PM ----------
[/COLOR]
waseemrazajafri said:
Sorry for late reply .
Are you using np++ for editing the script?
Click to expand...
Click to collapse
Yes sir I'm using Notepad ++
[deleted]
@waseemrazajafri
1. Should I install the kernel and polymorph each time to update my rom via TWRP?
2. Can I use lamda kernel to install the d802 oreo rom on f320l?
Thank you for your hard work
kegang said:
@waseemrazajafri
1. Should I install the kernel and polymorph each time to update my rom via TWRP?
2. Can I use lamda kernel to install the d802 oreo rom on f320l?
Thank you for your hard work
Click to expand...
Click to collapse
1. Should I install the kernel and polymorph each time to update my rom via TWRP?
ans: yes,you have too install kernel and polymorph, kernel to boot rom otherwise rom will not boot up! and polymorph to use exSD card otherwise card will not work
2. Can I use lamda kernel to install the d802 oreo rom on f320l?
ans : No ,only Android 5.1, 6.0, 7.0 and 7.1 are supported by lamda officially see Q&A section but you can try at your own risk
https://forum.xda-developers.com/lg-g2/development/kernel-lambda-kernel-t3270424
netcracker said:
---------- Post added at 04:37 PM ---------- Previous post was at 04:36 PM ----------
[/COLOR]
Yes sir I'm using Notepad ++
Click to expand...
Click to collapse
upload your script and send me
waseemrazajafri said:
kernel is used to boot up rom but unfortunately G2 has its bootloader locked that's why we used bumpped kernel if you flash magisk or SuperSU new version this will patch your ramdisk in kernel
your kernel will no longer bumpped And you will get security error
TRY SuperSU v2.46 I have already tested
or TRy Magisk-v13.1 I have tested this too and found working to get root
Click to expand...
Click to collapse
I've known that in order to install TWRP, the bootloader should be unlocked. I successfully installed TWRP on my f320l.
And then, should I use the bumped kernel to install Lineage OS on my device?
waseemrazajafri said:
upload your script and send me
Click to expand...
Click to collapse
Hello Sir, Sorry for the late reply.
My Device is F320l and downloaded rom is for D802..
I'm attaching the script files of lineageos 15.1 which i have edited with notepad++ but at flashing it says invalid zip format.
I know lamba kernel only support upto nougat but lineageos14.1 is not available anymore to download that's why i am using this .
Click to expand...
Click to collapse
One other thing to mention that there are two updat-script files inside the extracted folder under this structure:
HTML:
"LG G2-F320L\lineage-15.1-20190119\META-INF\com\google\android\updater-script"
HTML:
"LG G2-F320L\lineage-15.1-20190119\lineage-15.1-20190119\META-INF\com\google\android\updater-script"
Please help me to install this rom. I'm waiting for your answere.
Script Files::
1 of 2.
Code:
assert(getprop("ro.product.device") == "f320" || getprop("ro.build.product") == "f320" ||
getprop("ro.product.device") == "g2" || getprop("ro.build.product") == "g2" ||
getprop("ro.product.device") == "galbi" || getprop("ro.build.product") == "galbi" ||
getprop("ro.product.device") == "d800" || getprop("ro.build.product") == "d800" || abort("E3004: This package is for device: f320,g2,galbi,d800; this device is " + getprop("ro.product.device") + "."););
ui_print("Target: lge/g2_open_com/g2:5.0.2/LRX22G/151061918340a:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);
2 of 2.
Code:
assert(getprop("ro.product.device") == "f320" || getprop("ro.build.product") == "f320" ||
getprop("ro.product.device") == "g2" || getprop("ro.build.product") == "g2" ||
getprop("ro.product.device") == "galbi" || getprop("ro.build.product") == "galbi" ||
getprop("ro.product.device") == "d800" || getprop("ro.build.product") == "d800" || abort("E3004: This package is for device: f320,g2,galbi,d800; this device is " + getprop("ro.product.device") + "."););
ui_print("Target: lge/g2_open_com/g2:5.0.2/LRX22G/151061918340a:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "backup");
unmount("/system");
show_progress(0.750000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
run_program("/tmp/install/bin/backuptool.sh", "restore");
unmount("/system");
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.200000, 10);
set_progress(1.000000);

[Q][GAPPS] How to include GAPPS in ROM?

Hello community!
I was wondering if anybody can help me integrate GAPPS in a ROM.
Some ROMS have them inbuilt and don't require a seperate GAPPS installation.
So yeah, is it possible and if yes, what is the procedure?
Device is Note 8 (N950F).
ROM I'm working on currently is stock based but debloated.
Thanks in advance!
SaadatM said:
Hello community!
I was wondering if anybody can help me integrate GAPPS in a ROM.
Some ROMS have them inbuilt and don't require a seperate GAPPS installation.
So yeah, is it possible and if yes, what is the procedure?
Device is Note 8 (N950F).
ROM I'm working on currently is stock based but debloated.
Thanks in advance!
Click to expand...
Click to collapse
Hi ....
first flash gapps after flashing your stock debloated rom and after booting find what apps and files are added by using sort options according to time desending in any file manager like mix and include those files in the same folders in your stock rom........Thats it......
Note: You dont have to update your update-script afterwards.....
Hope this helps
Add this code in the end of your updater script and rename your gapps file to gapps and place it inside your meta-inf folder
Code:
ui_print("Installing GAPPS...");
package_extract_dir("META-INF/gapps", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "unzip", "/tmp/install/bin/gapps/gapps.zip", "META-INF/com/google/android/*", "-d", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "sh", "/tmp/install/bin/gapps/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/install/bin/gapps/gapps.zip");
Trex2017 said:
Add this code in the end of your updater script and rename your gapps file to gapps and place it inside your meta-inf folder
Code:
ui_print("Installing GAPPS...");
package_extract_dir("META-INF/gapps", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "unzip", "/tmp/install/bin/gapps/gapps.zip", "META-INF/com/google/android/*", "-d", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "sh", "/tmp/install/bin/gapps/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/install/bin/gapps/gapps.zip");
Click to expand...
Click to collapse
Thanks, exactly what I was looking for!
Trex2017 said:
Add this code in the end of your updater script and rename your gapps file to gapps and place it inside your meta-inf folder
Code:
ui_print("Installing GAPPS...");
package_extract_dir("META-INF/gapps", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "unzip", "/tmp/install/bin/gapps/gapps.zip", "META-INF/com/google/android/*", "-d", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "sh", "/tmp/install/bin/gapps/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/install/bin/gapps/gapps.zip");
Click to expand...
Click to collapse
Hi, I would like to ask putting gapps-config in the same meta-inf folder will work or not??
MrMoon said:
Hi, I would like to ask putting gapps-config in the same meta-inf folder will work or not??
Click to expand...
Click to collapse
yes , but you have to grep and change all paths to the cnfg file i other files
Can you tell me how you add play store in ROM while editing. I want to do this all step in Android Oreo 8.1 Please help me.
Zip file is corrupt error pops up when I try flashing.
Didn't work
Little more help, please.
Trex2017 said:
Add this code in the end of your updater script and rename your gapps file to gapps and place it inside your meta-inf folder
Code:
ui_print("Installing GAPPS...");
package_extract_dir("META-INF/gapps", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "unzip", "/tmp/install/bin/gapps/gapps.zip", "META-INF/com/google/android/*", "-d", "/tmp/install/bin/gapps");
run_program("/sbin/busybox", "sh", "/tmp/install/bin/gapps/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/install/bin/gapps/gapps.zip");
Click to expand...
Click to collapse
hey there pal, I have unpacked the whole ROM package and then I've replaced all the stock apks with the google ones. But once I repack and I install the zip, Android Setup crashes.
I'm on Android 11. Any help?
I would really appreciate it.

Categories

Resources