[General Questions and Answers] k9r4n14:
Hey guys at XDA!

I have recently just developed a Custom ROM using SANDS207s' Custom ROM, which I just added a few APK files, changed the Updater-Script, the AROMA package and tinkered with it a little. I did this using just Notepad and Windows File Manager. I couldn't figure out how to use Android Image Kitchen when it comes to adding APK's and using a different Android SDK.

The ROM is for my Samsung Galaxy J3 Emerge (Sprint) SM-J327P_QL3. I have rooted the device and I have TWRP, but I cannot mount /system or /data on the internal storage.

When I tried to flash the original ROM (https://xdaforums.com/galaxy-j3-2017/development/wip-custom-rom-j3-emerge-sm-j327p-t3634206), the AROMA package worked perfectly fine. When I tried to flash my version of his ROM (https://drive.google.com/file/d/1A6_MGhgTjvu8kPzq7LmSx6MpHU9GEcEA/view?usp=sharing) the AROMA package wouldn't even start up, and it would say System Failure.

Also says:

Installing zip file '/external_sdcard/KeyWiOS09J327P_QL3.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

Starting AROMA INSTALLER version 3.00

(c) 2013-2015 by amarullz.com

SYNTAX ERROR!!! aroma-config on line 5 col 37

Updater process ended with ERROR: 1

Error Installing zip file '/external_sdcard/KeyWiOS09J327P_QL3.zip'

Updating partition details...

Failed to mount '/data' (Invalid Argument)

... Done

I have checked the aroma-config file, but nothing seems to be wrong with it visually for me. Maybe a syntax thing an experienced developer would see?

Here's the aroma-config file...

# AUTO GENERATED BY ASSAYYED KITCHEN

#################################################################################################################################################################

ini_set("force_colorspace", "rgba");

ini_set("rom_name", "KeyWi OS 0.9 BETA");

ini_set("rom_version", "v0.9 BETA");

ini_set("rom_author", "Kyran Gough (k9r4n15)");

ini_set("rom_device", "Samsung Galaxy J3 Emerge (Sprint) SM-J327P_QL3");

ini_set("rom_date", "07/06/2018 16:50 USA");

#################################################################################################################################################################

fontresload( "0", "ttf/GoogleSans-Regular", "14" );

theme("touchwiz");

#################################################################################################################################################################

viewbox(

"WELCOME",

"INSTALL <b>"+

ini_get("rom_name")+

"</b> FOR <b>"+ini_get("rom_device")+"</b>.\n\n"+

"INFORMATION OF THE ROM:\n\n"+

" THE NAME \t: <b><#selectbg_g>"+

ini_get("rom_name")+"</#></b>\n"+

" THE VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+

" THE DATE\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n"+

" THE DEVELPER\t: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+

"<b><#f00>This Operating System is only available for SM-J327P_QL3. Do not try to install on any other device!</#></b>\n\n\n"+

"PRESS NEXT TO CONTINUE",

"@welcome"

);

#################################################################################################################################################################

checkbox(

"OPTIONS",

"SELECT WHAT YOU WANT TO DO:",

"@personalize",

"opt.prop",

"INSTALLTION OPTIONS", "", 2,

"BACKUP EFS","RECOMMENDED", 0,

"SAFE FORMAT","WIPE USER DATA WITHOUT INTERNAL STORAGE", 0,

"HARD FORMAT","WARNING: DELETE ALL DATA PARTITION WITH INTERNAL STORAGE", 0

);

#################################################################################################################################################################

viewbox(

"NOW THE INSTALLATION READY TO START",

"PRESS NEXT TO CONTINUE TO START\n"+

"TO CHANGE YOUR OPTIONS PRESS BACK",

"@flashing"

);

#################################################################################################################################################################

setvar("retstatus",

install(

"",

"<b>"+ini_get("rom_name")+"</b> INSTALLATION\n"+

"PLEASE WAIT WHILE INSTALLATION FINISHING INSTALLING <b>"+ini_get("rom_name")+

"</b> THIS PROCESS WILL TAKE SOME TIME",

"@install",

"THE INSTALLATION FINISHED FROM INSTALLING <b>"+ini_get("rom_name")+

"</b> PRESS NEXT TO CONTINUE"

)

);

#################################################################################################################################################################

checkviewbox(

"",

"<#selectbg_g><b>INSTALLTION COMPLETED</b></#>\n\n"+

"<b>"+ini_get("rom_name")+"</b> Is now install on your Samsung Galaxy J3 Emerge (Sprint)",

"@welcome",

"REBOOT DEVICE",

"1",

"reboot_it"

);

if

getvar("reboot_it")=="1"

then

reboot("onfinish");

endif;

Please help! I want to get into ROM development and hopefully create my own Custom ROM available for many devices. I don't know how to download the Android 8.1 source code to use as a base for my ROM, which I tried to follow the instructions from the AOSP website, but even those weren't clear enough for me.

If anyone can help, please reply!

Thanks so much!

k9r4n14