{Dev Only}Adding VrTheming to Aroma for theme selections during rom install. - Android General

I looked and looked but found no answer on how to do this,if its already out there don't chew my head off i looked.So i just figured it out for my self.Since I wanted to be able to give theme choices during rom installs in aroma,this is what I came up with. Ive given (simple examples) below,you should know how to add more or less if you like already.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Make a menu box selector such as example below or whatever you want it to look like.
menubox(
"Sense Theme",
"Please choose which Sense theme you would like",
"icons/system",
"vrtheme.prop",
"Yes","Sense 5 for me please", "icons/yes",
"No","Sorry ill keep stock", "icons/no"
);
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now comes the part that took me all night to get right. You still need to direct theming identically on updater but with minor changes see example below. i found it works best to drop the vrtheme folder itself in the zip,then just call it as normal.
#vrtheme
if file_getprop("/tmp/aroma-data/vrtheme.prop","selected") == "1" then
ui_print("--Installing Sense 5 Theme...");
package_extract_dir("vrtheme", "/sdcard/vrtheme");
ui_print("- - - - Set permission in sdcard folder");
set_perm(0, 0, 0755, "/sdcard/vrtheme/installtheme.sh");
set_perm(0, 0, 0755, "/sdcard/vrtheme/zip");
set_perm(0, 0, 0755, "/sdcard/vrtheme/cleanup.sh");
set_perm(0, 0, 0755, "/sdcard/vrtheme/zipalign");
ui_print("");
run_program("/sdcard/vrtheme/installtheme.sh");
endif;
if file_getprop("/tmp/aroma-data/vrtheme.prop","selected") == "2" then
ui_print("--keeping Stock Theme...");
endif;
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
That's it,hope you find this helpful.As stated in title this is for Devs only.I can not help you if you dont understand,please dont ask.I had to figure all this out myself,and im still learning.Enjoy

Thanks I will test it

Related

[FIX available] Expected Arguments help [SOLVED]

I keep running into this issue with a rom port. It keeps saying that it is expecting 3 arguments but got 2, as listed below in recovery.log:
The updater-script originally came with 3 arguments, but I can only allow 2, as if I used 3 like so: format("yaffs2", "MTD", "system", my hd2 would give 7 vibrations of death for some odd reason.
Code:
Opening update package...
Installing update...
script aborted: format() expects 3 args, got 2
Welcome to TW_FET_1.47.950.3 release
v0.1
format() expects 3 args, got 2
E:Error in /sdcard/TW_FET_12_43.zip
(Status 7)
How do I change the 'expected arguments' because in other roms, there are only 2 arguments for format.
Any help would be appreciated!
Finally found out what the problem was.. feel like an idiot right now haha
>>> ** For future reference, it is the update-binary causing problems! Replace it with a binary from another build that takes format and mounts commands in the correct amount of arguments. ** <<<
The binary from the Desire HD takes:
-3 arguments for format
EX: format("MTD", "yaffs2", "system");
- and 4 arguments for mount
EX: mount ("MTD", "yaffs2", "system", "/system");
meanwhile, in AOSP, the update-binary takes
-2 arguments for format
EX: format("MTD", "system");
- and 3 arguments for mount
EX: mount("MTD", "system", "/system");
This should solve the problem.. and it took me 2 days to figure this out..
THANK YOU! This helps a lot!
what do i do when i have no idea what any of you just said? :| ive never not been able to mod this phone but now all the suddent i cant install anything. its an e980 LG optimus G pro. great phone love it to death, replaced the digitizer and the charging port on it, still going strong. very great phone ! bt now every thing i try to install gets an errorexpects 5 args, got 3. e: erropr in data/media/touchrecovery_atrix_5.8.1.8.zip i can't seem to figuire out what to do now i wanna try a new rom bored with stock but now im stuck :\ flasing new tot files with LG flash tool doesnt change this either.
jianC said:
Finally found out what the problem was.. feel like an idiot right now haha
>>> ** For future reference, it is the update-binary causing problems! Replace it with a binary from another build that takes format and mounts commands in the correct amount of arguments. ** <<<
The binary from the Desire HD takes:
-3 arguments for format
EX: format("MTD", "yaffs2", "system");
- and 4 arguments for mount
EX: mount ("MTD", "yaffs2", "system", "/system");
meanwhile, in AOSP, the update-binary takes
-2 arguments for format
EX: format("MTD", "system");
- and 3 arguments for mount
EX: mount("MTD", "system", "/system");
This should solve the problem.. and it took me 2 days to figure this out..
Click to expand...
Click to collapse
That really helped, I was having problems for a few minutes until I found this post. Thanks alot:good:

[SCRIPT][DISCONTINUED] TrulyClean v1.6 Final - Remove all crappy stuff in no-time!

{
"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"
}
Hey folks!
TrulyClean is a "any rom" script that removes A LOT of crap-apps (98+ apps removed) and other stuff on the phone.
Script will remove about 800mb since version 1.6 (Counted by removing from stock firmware.)
The purpose is to give you a clean start with no extras, much like the Nexus series experience but with the Samsung core intact.
All bloatware apps will be removed running the default script. I even count apps like S Voice and Samsung Hub as unnecessary apps.
Neither do I use Earth or Google+ and don't like these apps to be forced upon me as system apps when they are so easy to install from Play store!
It might be illusion but... I found my phone booting faster and running snappier with after applying this script.
Also, I don't have to cry anymore while checking the apps in the /system folder.
I hope this script will evolve over time and include more stuff that is "not needed" to give the best experience possible.
* Please tell if you notice that this script removes something that is NEEDED aka creating FC's.
* Feel free to tell me about stuff you find that can be removed without any damage.
* Most apps that are avaliable @ Play Store will be removed as system apps!
* Use & edit the TrulyClean script at your own risk.
Installation:
Script should work on any SGS4 TouchWiz rom.
Tested on: Stock deodexed firmware, WanamLite, Omega and FoxHound.
This script's default setting is created after my taste and may remove something you use.
If this is the case, have a look at this & edit the script at your own risk:
1. Open the .zip package using WinRAR or similar and then extract the META-INF\com\google\android\"updater-script" file.
2. Open and edit the file with a decent text editor (Notepad++) and remove the lines for stuff you want to keep or go pro and add some new lines yourself.
3. Save file and put the new updater-script back into the flashable zip!
1. Use the default script or edit the script after your taste. (see "hidden "tutorial above!)
2. Copy recovery.zip to phone.
3a. For best experience - do a full wipe, install a custom rom and then flash TrulyClean.zip.
3b. Script only removes apps in /system, so you have to uninstall any updated apps manually.
4. Flash in recovery (I use PhilZ Touch) & run script after every time you flash a new rom.
5. Enjoy and tell me what you think!
* Yes, I know stuff like Samsung Account and Kies can be removed. However these are NOT proper to remove though, as both give FC @ settings.
* "I run the script but Google+, Earth etc. are still there!" Solution: Updated system apps are put in /data. Go to Settings > Manage programs > uninstall these apps and they will disappear.
TrulyClean changelog:
Version 1.6
- libfacerecognition.so is no longer removed. Seems it causes face detection in gallery etc. to not work.
- Updated script and divided everything into groups, making the script more idiot-safe to edit! :angel:
- Medium and Hardcore versions of script. In medium S Browser, Accuweather Widget, S Memo, S Health and S Voice is kept!
- Chrome is now removed as system app in both versions.​
Version 1.5
- Script now includes busybox. No need to have busybox pre-installed anymore.
- Charger connection sound is no longer removed. (There was no problem, I just didn't want to have it removed anymore.)​
Version 1.4
- Script now uses busybox mount method which means script should work fine on any version of the SGS4.
- Velvet.apk (Google Now & Search) is no longer removed due to a problem.​
Version 1.3
- Removes some more useless apps.
- Deletes pak and mcRegistry folders.​
Version 1.2
- Removes some more useless CSC stuff.
- Deletes Google Videos from system apps.
- Deletes secRCS.apk and SensorService.apk
- Removes some more folders!​
Version 1.1
- Removes more apps.
- Added removal of some libs and folders to the script.​
Version 1.0
- Release.​
Download:
* SINCE 1.4 SCRIPT SHOULD WORK FINE ON ANY I9505 SGS4 USING SAMSUNG FIRMWARE.
* I HAVE NOT TESTED FLASHING THE SCRIPT ON ANY OTHER SGS4 VERSION THAN I9505.
* "MEDIUM" version keeps the stock Samsung browser. Chrome is removed as system app in both versions since v1.6!
* Hardcore version: Same as before, more or less everything is removed, only core components is kept!
* Medium version: Saves S Browser, Accuweather widget n' service, S Memo, S Health and S Voice! Giving the right Samsung feel but removes the rest of the crap!
Apps remaining after doing a full wipe, installing a rooted stock rom and then running HARDCORE version of script:
* Google Now & Search are no longer removed since 1.4!
TrulyClean v1.6 script code.
Hardcore version:
Code:
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print(" %% %%");
ui_print(" %%% %%%");
ui_print(" %%%% %%%%");
ui_print(" %%%%%% %%%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print("%%%%% TRULYCLEAN SCRIPT %%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print(" %% v1.6 by schoolsux %%");
ui_print(" %%%%%%%%%%%%%%%%%%%");
ui_print("");
ui_print("");
ui_print("Running script & cleaning up...");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
ui_print("");
ui_print("Removing sounds...");
delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/audio/ui/LowBattery.ogg");
delete("/system/media/audio/ui/TW_Volume_control.ogg");
ui_print("Removing apps and releated stuff...");
delete("/system/app/Chrome.apk");
delete("/system/app/SBrowser.apk");
delete("/system/app/SBrowserTry.apk");
delete("/system/app/sCloudSyncSBrowserBookmark.apk");
delete("/system/app/sCloudSyncSBrowserTabs.apk");
delete("/system/app/AccuweatherPhone2013.apk");
delete("/system/app/WeatherWidgetDaemon.apk");
delete("/system/app/SMemo2.apk");
delete("/system/app/sCloudSyncSNote.apk");
delete("/system/app/SNoteProvider.apk");
delete("/system/lib/libsnote_core.so");
delete("/system/lib/libSPenGesturePE.so");
delete("/system/lib/libSPenSDKImageFilterLibsPE.so");
delete("/system/app/SHealth2.apk");
delete("/system/app/HealthContentProvider.apk");
delete("/system/app/SensorService.apk");
delete("/system/lib/libhealth_jni.so");
delete("/system/app/S-Voice_Android_phone_J.apk");
delete("/system/app/SamsungTTS.apk");
delete_recursive("/system/tts/lang_SMT");
delete_recursive("/system/tts/lang_SVOX");
delete_recursive("/system/tts/lang_SVOXP");
delete_recursive("/system/wakeupdata");
delete_recursive("/system/voicebargeindata");
delete_recursive("/system/VODB");
delete("/system/app/Earth.apk");
delete("/system/lib/libearthmobile.so");
delete("/system/app/PolarisViewer5.apk");
delete("/system/lib/libpolarisviewer5.so");
delete("/system/lib/libpolarisofficedump.so");
delete("/system/app/Talk.apk");
delete("/system/lib/libgtalk_jni.so");
delete("/system/app/ChatON_feature.apk");
delete("/system/app/ChatONV_J.apk");
delete("/system/lib/libChatOnAMSImageFilterLibs-1.0.2.so");
delete("/system/app/FaceLock.apk");
delete("/system/lib/libfacelock_jni.so");
delete("/system/app/ColorBlind.apk");
delete("/system/app/DioDict3Service.apk");
delete("/system/app/EasyFavoritesContactsWidget.apk");
delete("/system/app/EasyLauncher.apk");
delete("/system/app/EasySettings.apk");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");
delete("/system/app/KNOXAgent.apk");
delete("/system/app/KNOXStore.apk");
delete("/system/app/MobilePrint2.apk");
delete("/system/app/MobilePrintSvc_CUPS.apk");
delete("/system/app/MobilePrintSvc_CUPS_Backend.apk");
delete("/system/app/MobilePrintSvc_Epson.apk");
delete("/system/app/MobilePrintSvc_HP.apk");
delete("/system/app/MobilePrintSvc_Samsung.apk");
delete("/system/app/SamsungOCR2.apk");
delete_recursive("/system/opticalreader");
delete("/system/app/PageBuddyNotiSvc2.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/S_Translator_CSLi.apk");
delete("/system/app/SamsungVideo.apk");
delete("/system/app/SimpleWidget.apk");
delete("/system/app/SmartBriefing4x2.apk");
delete("/system/app/SNS.apk");
delete("/system/app/talkback.apk");
delete("/system/app/WebManual.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/GoogleSearchWidget.apk");
delete("/system/app/AllSharePlay15.apk");
delete("/system/app/CHS_J_Device_only.apk");
delete("/system/app/Com2usPoker_ASGC.apk");
delete("/system/app/Dropbox.apk");
delete("/system/app/DropboxOOBE.apk");
delete("/system/app/Episodes.apk");
delete("/system/app/Flipboard.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/GroupPlay_20.apk");
delete("/system/app/InteractiveTutorial.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Match3VS.apk");
delete("/system/app/Music2.apk");
delete("/system/app/Peel.apk");
delete("/system/app/PlusOne.apk.apk");
delete("/system/app/S_Translator_CSLi.apk.apk");
delete("/system/app/SamsungApps_J_Only.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/SamsungBooks.apk");
delete("/system/app/SamsungGames.apk");
delete("/system/app/SamsungHub.apk");
delete("/system/app/SamsungHubUpdater.apk");
delete("/system/app/SamsungLearning.apk");
delete("/system/app/SamsungMusic.apk");
delete("/system/app/SamsungWatchON.apk");
delete("/system/app/TravelWidget.apk");
delete("/system/app/TravelService.apk");
delete("/system/app/TripAdvisor.apk");
delete("/system/app/YahoostockPhone2013.apk");
delete("/system/app/YahoonewsPhone2013.apk");
delete("/system/app/Blurb.apk");
delete("/system/app/Books.apk");
delete("/system/app/StoryAlbumWidget.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/secRCS.apk");
delete("/system/app/Videos.apk");
delete("/system/app/ContainerAgent.apk");
delete("/system/app/SPDClient.apk");
delete("/system/app/SyncmlDM.apk");
delete("/system/app/SyncmlDS.apk");
delete("/system/app/DSMForwarding.apk");
delete("/system/app/DSMLawmo.apk");
delete("/system/app/ELMAgent.apk");
delete("/system/app/BluetoothTest.apk");
delete("/system/app/WlanTest.apk");
delete("/system/app/wssyncmlnps.apk");
ui_print("Deleting folders and misc...");
delete_recursive("/system/media/video");
delete_recursive("/system/containers");
delete_recursive("/system/lost+found");
delete_recursive("/system/preloaddata");
delete_recursive("/system/app/pak");
delete_recursive("/system/app/mcRegistry");
delete("/system/app/CSC.apk");
delete("/system/CSCVersion.txt");
delete("/system/csc_contents");
delete_recursive("/system/csc");
run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");
ui_print("Done, enjoy!");
Medium version:
Code:
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print(" %% %%");
ui_print(" %%% %%%");
ui_print(" %%%% %%%%");
ui_print(" %%%%%% %%%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print("%%%%% TRULYCLEAN SCRIPT %%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print(" %% v1.6 by schoolsux %%");
ui_print(" %%%%%%%%%%%%%%%%%%%");
ui_print("");
ui_print("");
ui_print("Running script & cleaning up...");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
ui_print("");
ui_print("Removing sounds...");
delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/audio/ui/LowBattery.ogg");
delete("/system/media/audio/ui/TW_Volume_control.ogg");
ui_print("Removing apps and releated stuff...");
delete("/system/app/Chrome.apk");
delete("/system/app/Earth.apk");
delete("/system/lib/libearthmobile.so");
delete("/system/app/PolarisViewer5.apk");
delete("/system/lib/libpolarisviewer5.so");
delete("/system/lib/libpolarisofficedump.so");
delete("/system/app/Talk.apk");
delete("/system/lib/libgtalk_jni.so");
delete("/system/app/ChatON_feature.apk");
delete("/system/app/ChatONV_J.apk");
delete("/system/lib/libChatOnAMSImageFilterLibs-1.0.2.so");
delete("/system/app/FaceLock.apk");
delete("/system/lib/libfacelock_jni.so");
delete("/system/app/ColorBlind.apk");
delete("/system/app/DioDict3Service.apk");
delete("/system/app/EasyFavoritesContactsWidget.apk");
delete("/system/app/EasyLauncher.apk");
delete("/system/app/EasySettings.apk");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");
delete("/system/app/KNOXAgent.apk");
delete("/system/app/KNOXStore.apk");
delete("/system/app/MobilePrint2.apk");
delete("/system/app/MobilePrintSvc_CUPS.apk");
delete("/system/app/MobilePrintSvc_CUPS_Backend.apk");
delete("/system/app/MobilePrintSvc_Epson.apk");
delete("/system/app/MobilePrintSvc_HP.apk");
delete("/system/app/MobilePrintSvc_Samsung.apk");
delete("/system/app/SamsungOCR2.apk");
delete_recursive("/system/opticalreader");
delete("/system/app/PageBuddyNotiSvc2.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/S_Translator_CSLi.apk");
delete("/system/app/SamsungVideo.apk");
delete("/system/app/SimpleWidget.apk");
delete("/system/app/SmartBriefing4x2.apk");
delete("/system/app/SNS.apk");
delete("/system/app/talkback.apk");
delete("/system/app/WebManual.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/GoogleSearchWidget.apk");
delete("/system/app/AllSharePlay15.apk");
delete("/system/app/CHS_J_Device_only.apk");
delete("/system/app/Com2usPoker_ASGC.apk");
delete("/system/app/Dropbox.apk");
delete("/system/app/DropboxOOBE.apk");
delete("/system/app/Episodes.apk");
delete("/system/app/Flipboard.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/GroupPlay_20.apk");
delete("/system/app/InteractiveTutorial.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Match3VS.apk");
delete("/system/app/Music2.apk");
delete("/system/app/Peel.apk");
delete("/system/app/PlusOne.apk.apk");
delete("/system/app/S_Translator_CSLi.apk.apk");
delete("/system/app/SamsungApps_J_Only.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/SamsungBooks.apk");
delete("/system/app/SamsungGames.apk");
delete("/system/app/SamsungHub.apk");
delete("/system/app/SamsungHubUpdater.apk");
delete("/system/app/SamsungLearning.apk");
delete("/system/app/SamsungMusic.apk");
delete("/system/app/SamsungWatchON.apk");
delete("/system/app/TravelWidget.apk");
delete("/system/app/TravelService.apk");
delete("/system/app/TripAdvisor.apk");
delete("/system/app/YahoostockPhone2013.apk");
delete("/system/app/YahoonewsPhone2013.apk");
delete("/system/app/Blurb.apk");
delete("/system/app/Books.apk");
delete("/system/app/StoryAlbumWidget.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/secRCS.apk");
delete("/system/app/Videos.apk");
delete("/system/app/ContainerAgent.apk");
delete("/system/app/SPDClient.apk");
delete("/system/app/SyncmlDM.apk");
delete("/system/app/SyncmlDS.apk");
delete("/system/app/DSMForwarding.apk");
delete("/system/app/DSMLawmo.apk");
delete("/system/app/ELMAgent.apk");
delete("/system/app/BluetoothTest.apk");
delete("/system/app/WlanTest.apk");
delete("/system/app/wssyncmlnps.apk");
ui_print("Deleting folders and misc...");
delete_recursive("/system/media/video");
delete_recursive("/system/containers");
delete_recursive("/system/lost+found");
delete_recursive("/system/preloaddata");
delete_recursive("/system/app/pak");
delete_recursive("/system/app/mcRegistry");
delete("/system/app/CSC.apk");
delete("/system/CSCVersion.txt");
delete("/system/csc_contents");
delete_recursive("/system/csc");
run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");
ui_print("Done, enjoy!");
Very nice! Although I want VikingWay on S4.
Salival said:
Very nice! Although I want VikingWay on S4.
Click to expand...
Click to collapse
Well, I have an unoffical 680mb VikingWay rom build on my PC hehe
Tho I really don't have the time to maintain a rom and update it often... so I wont release it public.
WanamLite + running my script gives pretty much the same result, only it sucks to download ridiculously huge roms..
Samsung really fu*%&ed the firmware size this time around.
Removing the Samsung music.apk causes a fc with the music player.
Sent from my GT-I9505 using xda premium
schoolsux said:
Well, I have an unoffical 680mb VikingWay rom build on my PC hehe
Tho I really don't have the time to maintain a rom and update it often... so I wont release it public.
WanamLite + running my script gives pretty much the same result, only it sucks to download ridiculously huge roms..
Samsung really fu*%&ed the firmware size this time around.
Click to expand...
Click to collapse
Yep. Stock is over 1.5GB. lol. Wow 680mb? I knew it. . I hope in coming weeks, months, you will have time and relase it. Loved it on S3. crazy slim, and stable as rock.
HAHAAHAHAHA, Awesome!
hahahahahahaha, wonderful, I suppose it should work on any ROM based on TouchWiz correct? I will test in my gnote.
Salival said:
Very nice! Although I want VikingWay on S4.
Click to expand...
Click to collapse
Open the script with text editor and delete the line off any app you want to keep.
Nice work budd thanks
Hey Buddy, nice to see you with Galaxy S4, did you change your Xperia to an S4....????
Really really love to see a Viking heading towards a S4.....!!! Since Viking was an "EPIC ROM" buddy.....!!!!
boterkaaseneieren said:
Open the script with text editor and delete the line off any app you want to keep.
Click to expand...
Click to collapse
Pardon my noobiness, but how on earth can I edit that script?
How much Internal Memory, do you have after the script has run?
poochewer said:
Pardon my noobiness, but how on earth can I edit that script?
Click to expand...
Click to collapse
With Notepad+
Just edit the "updater-script"
Myreality said:
With Notepad+
Just edit the "updater-script"
Click to expand...
Click to collapse
Thats exactly what Ive done but it dont work. Have you tried it?
Yes it is working, I just added some lines
delete("/system/app/XXXXXX.apk");
dong2007 said:
How much Internal Memory, do you have after the script has run?
Click to expand...
Click to collapse
Script does not really help from that angle, the system files and apps will still have a preset & reserved space that takes up the internal memory.
You have to mess with partions to change that stuff
tupac19861013 said:
Hey Buddy, nice to see you with Galaxy S4, did you change your Xperia to an S4....????
Really really love to see a Viking heading towards a S4.....!!! Since Viking was an "EPIC ROM" buddy.....!!!!
Click to expand...
Click to collapse
Hey man!
Yeah I kinda did that, although I miss some stuff with the Xperia Z... so I'm pretty confused with what phone I like the most :cyclops:
Thank you for this! Was waiting for something like this.
If I want to completely remove S-Voice, I only have to add this line in the updater script?:
delete("/system/app/S-Voice_Android_phone_J.apk");
If I delete that, would I have S-Voice force close or will it be deleted completely?
Thanks in advance.
EDIT: I just saw and it's already there.
schoolsux said:
Hey man!
Yeah I kinda did that, although I miss some stuff with the Xperia Z... so I'm pretty confused with what phone I like the most :cyclops:
Click to expand...
Click to collapse
Just hang on with S4 for the moment buddy, once it picks up the pace and you'll start to think about the VikingWay for the Galaxy, its gonna be rocking and awesome, I have no doubt about that buddy.....!!!!! \m/
Sent from my GT-I9500 using xda premium

No mobile data on only CUSTOM Marshmallow ROMs

Hello xda community,
I only have mobile data on stock CM13 or COS13 (idk the difference honestly), but not on Sultan's, Marsh, TugaPower, Resurrection Remix, Jgcaap, CandySix.
TWRP ver: 3.0.2.0-2 (something like this)
Baseband: 3.0
I have downloaded all the ducking firmwares and tested 15 combinations of firmwares and ROMs.
I have tried this kernel:
http://download.jgcaap.xyz/files/oneplusone/kernel/newKernel-CM13.0-3.86.zip
but no use.
and no fastboot flashing of CM 12.1 stock didn't work, neither did fastboot flashing of CM 13 or COS 13 w/e.
I was digging logcat and found that there are differences between the APNs, even though I reset them to default, I reset them together with wifi and bluetooth.
working APN setting (CM13) : {[ApnSettingV3] T-Mobile MK, 1151, 29401, internet, , , , , , -1, default | supl, IP, IP, true, 0, 0, 0, false, 0, 0, 0, 0, , }
notworking APN setting (jgcaap): {[ApnSettingV3] T-Mobile MK, 1123, 29401, internet, , , , , , 0, default | supl, IP, IP, true, 0, 0, 0, false, 0, 0, 0, 0, , }
Can someone tell me how do I change the bolded settings to be same? or any other solution?
Thank you all!

Full firmware B535 package

Honor released a new full package since B525
Now it's B535
Link http://cdn.powerapp.io/lfs/v3/s/307...d3d6c3538cecf6e2f97c3b321be3487224aea6dc70a1c
Mirror: https://mega.nz/#!j5QwRLzI!CGBlUpD7s15B5u88KH0oWogXzb0m6eSVQ3b1Y1Ak_Cw
Unfortunately I got no massive changelog
This update optimized Magic Live wallet and other product experience, improve system stability. "," VersionInfo ": [{" array ": [" optimization - support binding bank card for payment
With this updates codes also a script file that only flashes a delete script see
ui_print("Unpacking data new files...");
delete_recursive("/data/hw_init");
package_extract_dir("data", "/data");
delete(
" ");
delete_recursive(
"/data/data",
"/data/system",
"/data/user",
"/data/share",
"/data/app",
"/data/app-asec",
"/data/app-lib",
"/data/app-private",
"/data/app_acc",
"/data/property",
"/data/lb",
"/data/lib_bee",
"/data/local",
"/data/media",
"/data/mediadrm",
"/data/misc",
"/data/pppd_via",
"/data/resource-cache",
"/data/sec_storage_data",
"/data/skin",
" ");
I guess this is flashed first before update
Sent from my NATASHA using Tapatalk

Problem with port on Mediatek 6580 kernel 3.18.35

Yesterday I made a port to a Doogee Shoot 2 (Mediatek 6580 with Kernel 3.18.35) from this ROM http://techboxlab.com/a9-lite-rom-for... I was pretty happy about the possibility of flashing it. Was a success, everything was working except a little detail: the device was lock and I made a call to see how the screen and sound was...the result? the phone goes crazy...I was rebooting the device. Once was on again I go to Play Store to update the apps...the phone goes to rest and when I unlock it, again this that show you in the video. What can it be? I followed to guides to do it and both are the same result, mixing both equal...
I thought that can be the gapps (the rom comes with gapps) so I flash over newer version, was the same. I don't know if it helps but here are some things, the flash takes a while (more than 10 minutes), and when the flash is over and I can reboot I have this: after the Unmount system line I get: "unmount of /system failed: no such volume"
the mount section of my updater script is:
ui_print(" = >>>>> Mount System <<<<< = ");
mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "/system", "max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc");
ui_print(" = >>>>> Stating Flash Rom <<<<< = ");
package_extract_dir("system", "/system");
And the unmount system
ui_print("**************************************************");
ui_print(" = >>>>> Unmount System <<<<< = ");
unmount("/system");
set_progress(1.000000);
My youtube video with the example https://www.youtube.com/watch?v=ysgOy50-2ao
help please?
anyone?
AgustinH said:
anyone?
Click to expand...
Click to collapse
Try this guide https://forum.xda-developers.com/android/general/guide-how-to-port-nougat-based-roms-t3679512
This guide (another one) got deleted in the FB group. So here it is again: https://forum.xda-developers.com/an...uide-minimal-porting-guide-mtk-64bit-t3772641
Give it a go and see if it helps in anything porting related. Regarding the updater script, download on of the custom roms for your device and try using one of those updater scripts.

Categories

Resources