[TOOL][RK3188]MTCD ROM builder for creating own custom ROMs - MTCD Software Development

Hi together,
nixfu had the idea to create a central github area where MTCD modding can take place. I created a github area and also started a tool which downloads and mods a factory ROM so everyone is able to create exactly that ROM he likes.
READ:
No warranty if you brick your HU
you need a running Linux for this to work and some more advanced skills. There is currently no click-and-run Windows version
no dmcu.img included. You have to flash that one separate if you want to update your MCU
the tool is currently only tested with Joying-based ROMs. So no guaranty that it works with other manufacturers!
Thanks:
malaysk
booroondook
wskelly
nixfu
everyone else I forgot
The tool currently works like this:
Extracts a ROM from a manufacturer
Presents a GUI where you can select various options
bakes everything together in a custom ROM
Modules included so far:
remove included APKs
include own APKs
remove OEM preinstallation APKs (e.g. Acrobat Reader)
tune build.prop for speed
tuning for I/O governor; setting I/O governor to noop
set default languange and timeformat
Root ROM by adding SuperSU
unify the two user partitions into a single big one (known under the name FUSE)
Guide to include own APKs:
IMPORTANT: folder and APK must have the same name! So if your APK is named "Foo.apk" you should name the folder "Foo" as well
create a folder under "addons" named like your app
put the apk there
set permissions 755 to the folder and 644 to the apk file
Download:
You can find everything here: https://github.com/da-anton/MTCD_ROM-cooking
As already said. My current version is just a start and it is not a must to do it like that. But I agree with nixfu that we should put everything into a central place and work together. So everyone is invited to join!
TODOs and planned features:
https://github.com/da-anton/MTCD_ROM-cooking/labels/enhancement

reserved

reserved2

good job

Do you have a screenshot of the GUI ?

This is amazing. Is there a way to implement FUSE like in malaysk roms? I would like to see a stripped down Stock ROM with FUSE.

DanB0y said:
Do you have a screenshot of the GUI ?
Click to expand...
Click to collapse
There is no Rom yet, and the gui is standard

dongali said:
This is amazing. Is there a way to implement FUSE like in malaysk roms? I would like to see a stripped down Stock ROM with FUSE.
Click to expand...
Click to collapse
As I have absolutely no clue how he did it: not from my side.

this is exciting

>implement FUSE
This is the single feature why I still use Malaysk's ROM. It has a huge impact on how easy it is to install software, offline maps etc on these units.
I am researching how this is done, but there is not much info out there(that is not written in russian).

Hi !, I'm new with the GIT but I have a question.....
¿If I put an apk inside of the addons folders will be it included in the compiled img?
Thanks in advance.
Happy flashing

For FUSE, you just need to edit a parameter file so when you flash the img, the recovery create a different size partition.
See here: http://forum.xda-developers.com/and...d-head-units-qa/internal-storage-fix-t3257827

If viper is used could amplifier apk be removed? Or are they interconnected through MCU and what not?

Hi, Could someone explain to me the function of adons folder? I've tried to put and apk inside that folder (PowerAmp) but when I compile the image the app is not included in the img.....
Thnaks in advance.

DanB0y said:
For FUSE, you just need to edit a parameter file so when you flash the img, the recovery create a different size partition.
See here: http://forum.xda-developers.com/and...d-head-units-qa/internal-storage-fix-t3257827
Click to expand...
Click to collapse
That has nothing to do with FUSE.

Sorry for not replying the last couple of days. Have been pretty busy. I comitted a new version today.
Changelog:
put everyting in separate modules
included the possibility to fetch the current factory ROM from a central place. Currently my Google Drive
adding the possibility to include own apks (put them as separate folders in "addons" like e.g. Viper4Android; they get listed automatically)
unify memory like Malaysk ROM (NOT TESTED), thanks malaysk!!!
change timeformat (currently MM-dd-yyyy, dd.MM.yyyy, MM/dd/yyyy, dd/MM/yyyy)
set default languange (currently English, German, French, Spanish and Russian)
optimize build.prop for speed
The SuperSU module seems to be broken and is therefor disabled. Thats why my unit is in a boot loop right now and I was not able to test the stuff properly. Especially the unifying memory functionality.
Would be great if someone is brave enough and could test it!

solmer said:
Hi !, I'm new with the GIT but I have a question.....
¿If I put an apk inside of the addons folders will be it included in the compiled img?
Thanks in advance.
Happy flashing
Click to expand...
Click to collapse
The version commited today should make that possible. Just create a folder in addons which includes the APK. Like e.g. Viper4Android.

Great! I'm gonna flash it tomorrow, I'll post results asap
Thanks for your work
---------- Post added at 09:34 PM ---------- Previous post was at 09:27 PM ----------
Thanks !!!!!
da_anton said:
The version commited today should make that possible. Just create a folder in addons which includes the APK. Like e.g. Viper4Android.
Click to expand...
Click to collapse
---------- Post added at 10:25 PM ---------- Previous post was at 09:34 PM ----------
Hi da_anton I've been testing your latest version and something doesn't works for me.....here's a copy of what I get in my terminal.....
@rainbox ~/GIT/MTCD_ROM-cooking-master $ sudo ./mod_rom.sh
creating working copy of ROM image
extracting image
mounting system.img
mounting failed! exiting...
cleaning up...
remove working files
In the other version everything was fine....I've tried to spot the problem (looking inside the scripts) but I cant' guess where is the problem.....
Any idea?
Thanks in advance.
da_anton said:
The version commited today should make that possible. Just create a folder in addons which includes the APK. Like e.g. Viper4Android.
Click to expand...
Click to collapse

solmer said:
Great! I'm gonna flash it tomorrow, I'll post results asap
Thanks for your work
---------- Post added at 09:34 PM ---------- Previous post was at 09:27 PM ----------
Thanks !!!!!
---------- Post added at 10:25 PM ---------- Previous post was at 09:34 PM ----------
Hi da_anton I've been testing your latest version and something doesn't works for me.....here's a copy of what I get in my terminal.....
@rainbox ~/GIT/MTCD_ROM-cooking-master $ sudo ./mod_rom.sh
creating working copy of ROM image
extracting image
mounting system.img
mounting failed! exiting...
cleaning up...
remove working files
In the other version everything was fine....I've tried to spot the problem (looking inside the scripts) but I cant' guess where is the problem.....
Any idea?
Thanks in advance.
Click to expand...
Click to collapse
You can go to the appropriate module
modules/backup_extract_mount.sh
And remove the log stuff at the end of the lines
>> $LOGFILE 2>&1
Mount should then throw the error right to the console. I haven't implemented the log stuff yet. Let me know the error or just do a push request

m00n61 said:
That has nothing to do with FUSE.
Click to expand...
Click to collapse
Definitely true. Fuse is actually Filesystem in user space and means you can mount your Google drive or some exotic stuff by loading a module outside of the kernel for that purpose. The ROMs we currently have don't have FUSE support built into the kernel. What Malaysk actually means is a change to the partition scheme to generate one big partition while flashing everything as far as I understand it.

Related

[Q] :)

i've got a big doubt.........does the updatescript in meta inf folder depends on the apps in the apps folder????? or is it just enough to copy the meta-inf folder from any other rom??? (if im trying to mod an a system app)) plz do help me!!
D33J3Y said:
i've got a big doubt.........does the updatescript in meta inf folder depends on the apps in the apps folder????? or is it just enough to copy the meta-inf folder from any other rom??? (if im trying to mod an a system app)) plz do help me!!
Click to expand...
Click to collapse
i am not a genius on this, but upon seeing what is "inside" updatescript, it's more or less a program that dictates which installs, like say, the boot.img, or the busybox.... but of course i can be wrong...
---------- Post added at 01:09 AM ---------- Previous post was at 01:03 AM ----------
D33J3Y said:
i've got a big doubt.........does the updatescript in meta inf folder depends on the apps in the apps folder????? or is it just enough to copy the meta-inf folder from any other rom??? (if im trying to mod an a system app)) plz do help me!!
Click to expand...
Click to collapse
you can try to read this though...
According to Geekfor.Me
"This script is required for an “update.zip” style flash in Android so that it knows what it is actually supposed to do."
D33J3Y said:
i've got a big doubt.........does the updatescript in meta inf folder depends on the apps in the apps folder????? or is it just enough to copy the meta-inf folder from any other rom??? (if im trying to mod an a system app)) plz do help me!!
Click to expand...
Click to collapse
Hi!
The META-INF/com/google/android/update-script file inside an "update".zip archive is just a normal text file you can open with any text editor and edit it to your needs. It doesn't depend on any files, so you can safely copy it from another CWM update.zip file and put it in your newely created update.zip file for CWM flashing. Oh, and "update-binary" is also in the same folder as the "update-script" is.
The "update language/syntax" is a little bit strange, but nothing major to fuss about.
Hope you can do it!
reikableu said:
i am not a genius on this, but upon seeing what is "inside" updatescript, it's more or less a program that dictates which installs, like say, the boot.img, or the busybox.... but of course i can be wrong...
---------- Post added at 01:09 AM ---------- Previous post was at 01:03 AM ----------
you can try to read this though...
According to Geekfor.Me
"This script is required for an “update.zip” style flash in Android so that it knows what it is actually supposed to do."
Click to expand...
Click to collapse
thaanks for that link!!
yani2000 said:
Hi!
The META-INF/com/google/android/update-script file inside an "update".zip archive is just a normal text file you can open with any text editor and edit it to your needs. It doesn't depend on any files, so you can safely copy it from another CWM update.zip file and put it in your newely created update.zip file for CWM flashing. Oh, and "update-binary" is also in the same folder as the "update-script" is.
The "update language/syntax" is a little bit strange, but nothing major to fuss about.
Hope you can do it!
Click to expand...
Click to collapse
so i guess the updater-script works for ext4 partitions and update script for .rfs....right?

[Q] Mod Creating Question - Radio/Root

I hope I'm not creating a repeat thread...
Recent convert to android as a whole, and trying to use dsixda's Android Kitchen to create a mod based on the 4.0.3 leak. I took the fully bloated version from mhx, and romracer's unsecured kernel, and dug into it.
After changing everything around, I've gotten several things to work right, but I can't get a data connection or superuser access to work. Do I need to add the UCALC4 modem into the kitchen files? Also, I'm assuming that I need to drop the .apk files for superuser into the /system/app directory in order for them to work correctly...is this right?
Thanks for helping a nooblet
Edit: Never mind, I'm a big stupid idiot-head...carry on
burgeswe said:
I hope I'm not creating a repeat thread...
Recent convert to android as a whole, and trying to use dsixda's Android Kitchen to create a mod based on the 4.0.3 leak. I took the fully bloated version from mhx, and romracer's unsecured kernel, and dug into it.
After changing everything around, I've gotten several things to work right, but I can't get a data connection or superuser access to work. Do I need to add the UCALC4 modem into the kitchen files? Also, I'm assuming that I need to drop the .apk files for superuser into the /system/app directory in order for them to work correctly...is this right?
Thanks for helping a nooblet
Edit: Never mind, I'm a big stupid idiot-head...carry on
Click to expand...
Click to collapse
In my experience, the best way to find out what needs to be done to add things to a rom is to init a GIT repo in the kitchen's working folder. This way after each option you can see what files are changed and what lines are added to the updater-script. This is the best way to learn and you can then do it without the kitchen.
You cant use the kitchen in ics. It does not work. Sammy made major changes with how systemui framework-res and twframework-res. Are used. They also used alot more xmls for the themeing. Vs gingerbread which was alot more pngs. Find a good setup of apktools. To decompile/recompile your apps for changes. Download notepad ++ to edit xmls. Smali/baksmali but there are good setups u can find. That include smali/baksmali. And several apktool jar files. Because ics apks. Recompile/decompile differently for everyone. So u will have to find the versions that work for you.
---------- Post added at 11:04 PM ---------- Previous post was at 10:57 PM ----------
My mistake. I thought u were talking about the uot theme kitchen..
The rom kitchen i have no idea about. But to me it seems like more of a hassle then learning to make a rom yourself to me.

[GUIDE] How to DEODEX stock ODEXED ROM using dsixda's kitchen

STEPS:
(1) Download & setup kitchen LINK.
(2) Grab a ".tar" file of stock ODEXED ROM, put it under
Code:
C:\cygwin\home\VAIO\kitchen\original_update\
(change the path according to your installation directory)
(3) Start "Cygwin" from desktop (if you are running kitchen under Windows).
(4) Type the following commands (Press Enter after each line of command)
Code:
cd kitchen
Code:
./menu
After pressing ENTER the following screen appears:
Enter Option : 1
(5)
Enter the options as shown above.
(6) following screen appears:
Follow the instructions carefully to extract files from .img file
(7)
After the files are extracted successfully, Enter the options as above.
Its upto you whether you want to extract cache.img or not, I prefer NO.
(8) your ROM's INFO:
Press Enter to continue:
(9)
Select option 0 (Advanced Options)
(10)
Enter option 11
(11)
Deodex both folders (b)
Kitchen will start deodexing both folders.
However, some apks failed to deodex, see the screenshot below:
(you can close the kitchen now if you do not want to add more MODs)
To resolve this, go to
Code:
C:\cygwin\home\VAIO\kitchen\WORKING_071212_094136\system\app\
and delete the odex apks (you can recognize them by their respective .odex files present in the same folder)
Make sure to delete both apk as well as its respective .odex file.
Now, download the attached deodexed apks & copy to the above folder.
THATS IT ! you have successfully deodexed both /system/app as well as /system/framework/.
Final step is to flash/copy/push these folders to your device.
I have attached "deodex.zip" file.
It is a CWM flashable zip.
just open it with 7zip (do not extract), copy all the /system/app/ files to "app" folder in the zip
similarly, copy all /system/framework/ files to "framework" folder in the zip.
DO A NAND BACKUP!!!!
Flash the zip via CWM.
If you have any queries/problems/errors, post here.
Thanks!
Thank you very much bro !
Woooaah....Thats it....this is top stuff man. Been waiting for this sooo long. Thanx a buch bro. Keep up the good work.:laugh:
---------- Post added at 12:53 PM ---------- Previous post was at 12:42 PM ----------
Just one question bro.....the kitchen supports compiling a rom from nand backup's system.img and boot.img.....do you think that would work for our device....and did you make any changes to the update-script before flashing the compiled deodexed rom?...cheers
saurabh.khare1000 said:
Woooaah....Thats it....this is top stuff man. Been waiting for this sooo long. Thanx a buch bro. Keep up the good work.:laugh:
---------- Post added at 12:53 PM ---------- Previous post was at 12:42 PM ----------
Just one question bro.....the kitchen supports compiling a rom from nand backup's system.img and boot.img.....do you think that would work for our device....and did you make any changes to the update-script before flashing the compiled deodexed rom?...cheers
Click to expand...
Click to collapse
yes, the kitchen supports CWM nand backups, it will work for our device.
also script needs to be modified, http://www.mediafire.com/?s1g2kwdb6s9rg1h
study this script. you will come to know yourself how it works.
pankaj88 said:
yes, the kitchen supports CWM nand backups, it will work for our device.
also script needs to be modified, http://www.mediafire.com/?s1g2kwdb6s9rg1h
study this script. you will come to know yourself how it works.
Click to expand...
Click to collapse
Could you also add a small guide on how to change the updater script & when it needs to be changed to the OP ?
'cooleagle' said:
Could you also add a small guide on how to change the updater script & when it needs to be changed to the OP ?
Click to expand...
Click to collapse
OK, I'll update the OP with the same.
reported this thread as tip, hope it will soon appear on xda portal.
Added this to my GUIDES list.. Hope you dont mind!
Excellent job !
Its good to have more and more tutorials & guides like this....
Modem.bin
Could you please tell me what is mean by modem.bin file? Once i deodexed the ROM, i can see a file called 'modem.bin'. Is this file necessary or can/should we remove it?
selva.simple said:
Could you please tell me what is mean by modem.bin file? Once i deodexed the ROM, i can see a file called 'modem.bin'. Is this file necessary or can/should we remove it?
Click to expand...
Click to collapse
dont know much abt it.
the file is not necessary. remove it.
Sent from my GT-I9103 using xda app-developers app
pankaj88 said:
dont know much abt it.
the file is not necessary. remove it.
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
Thanks pankaj for the prompt response.
selva.simple said:
Could you please tell me what is mean by modem.bin file? Once i deodexed the ROM, i can see a file called 'modem.bin'. Is this file necessary or can/should we remove it?
Click to expand...
Click to collapse
Modem.bin is pretty much self-explanatory. It is a "modem," its responsible for data connection and things of that sort. It is related to the radio of your phone.
What is a Radio ROM?
* The Radio ROM is the software part of your device that is powering on/off and controlling your radio interfaces. This includes Bluetooth, 2G/3G Phone, WiFi, GPS..... And it also includes the OEMSBL (Radio BootLoader) and other device specific firmwares needed for using your radio interfaces and for interfacing them with the OS (Windows Mobile/Android).
So I guess it is an important file.
http://forum.xda-developers.com/showthread.php?t=611787
Question
Hello!
I have a problem with making deodexed rom. When i choose ext4 factoryfs.img there is no nothing. Help me with it please.
Thanks!
whitediablo_47 said:
Hello!
I have a problem with making deodexed rom. When i choose ext4 factoryfs.img there is no nothing. Help me with it please.
Thanks!
Click to expand...
Click to collapse
can you please elaborate more? what the problem actually is?
Sent from my GT-I9103 using xda app-developers app
When kitchen unpack rom i need open ext4 factoryfs.img in program Ext2explore. When i choose this img and wait for a few minutes nothing happens.
whitediablo_47 said:
When kitchen unpack rom i need open ext4 factoryfs.img in program Ext2explore. When i choose this img and wait for a few minutes nothing happens.
Click to expand...
Click to collapse
i think the problem is with the kitchen.
it didnt compile sig2img properly.
check the size of .img
use linuxreader.exe in tools folder of kitchen.
Sent from my GT-I9103 using xda app-developers app
The-Droidster said:
Modem.bin is pretty much self-explanatory. It is a "modem," its responsible for data connection and things of that sort. It is related to the radio of your phone.
What is a Radio ROM?
* The Radio ROM is the software part of your device that is powering on/off and controlling your radio interfaces. This includes Bluetooth, 2G/3G Phone, WiFi, GPS..... And it also includes the OEMSBL (Radio BootLoader) and other device specific firmwares needed for using your radio interfaces and for interfacing them with the OS (Windows Mobile/Android).
So I guess it is an important file.
http://forum.xda-developers.com/showthread.php?t=611787
Click to expand...
Click to collapse
the file is very much important but there is no need to include in custom ROM zip.
it automatically gets installed when we flash tar file via odin.
so there is no point in flashing it again.
therefore i advised to remove this from zip.
Sent from my GT-I9103 using xda app-developers app
Speaking about deodexing, Is it possible to deodex a single file for modding purposes keeping other files odexed? Will this work?
For eg: Can I only deodex SystemUI.apk for adding the 14 toggles mod or do I need to deodex the entire ROM for it to work?
EDIT: In dsixda's kitchen I saw an option to deodex a single file. So that probably answers the 'is it possible' part.
But will it work?
The-Droidster said:
EDIT: In dsixda's kitchen I saw an option to deodex a single file. So that probably answers the 'is it possible' part.
But will it work?
Click to expand...
Click to collapse
Yes, I've already done it more times.
Oops, I thanked your post. The buttons are too close to each other in the xda app. XD
Sent from my GT-I9103

DeOdEX for Samsung Galaxy Pocket Plus (GT-s5301)[XXMK1]

DeoDex For Samsung Galaxy Pocket Plus (s5301) ​
After A Long Wait and no development for Pocket Plus I Finally PRESENT YOU DEODEX:
Instructions:
MAKE A CWM BACKUP FIRST
Download
Flash Via CWM
Enjoy
IF THIS DOSN'T WORK THEN
1)Download
2)Extract "System" From Zip to extsd
3)Flash aroma file manager http://forum.xda-developers.com/showthread.php?t=1646108
4)Flash Aroma in recovery
5)Delete Original 'App' & 'framework' folder from your device
6)Move the 'app'& 'framework' from your extsd to your 'system' Folder
7)Enjoy!!!
NOTE: I am not responsable for Damage And BLAH!! BLAH!!! BLAH!!!! (You noe THe REST )
Press Thanks If I Helped
Download Links
Downloads
HTML:
http://www.solidfiles.com/d/e34459b693/_De0DeX_.zip
Mirrors
http://www.mirrorcreator.com/files/06P0PG9W/_De0DeX_.zip_links
Password : "gliston"
Press Thanks Button
Deodex v2
DE0DeX v2​
I created This package for Personal Use only But I decided to share it because Many of them have problems Flashing this package
Changelog
Added option to restore system
Added option to De0deX without/with Bloatware
How to Flash:
First create a CWM Backup
In mounts and Storage Menu, mount /system (important)
Install Zip From SD Card> Choose Zip From sd Card> ~De0DeX~.
Follow the On Screen Instructions
Done
Downloads:
https://drive.google.com/uc?id=0B1ybhTIpB1WCelYwZUttbVFadzg&export=download
FAQ
Q: I am getting Bootloops
A: Restart Your Device, Wait when "Optimizing Files occur".
Q: My SGP+ is vibrating During boot animation
A: Go to recovery & clear data..
Q: I flashed The package, booted, But Still My rom Is not De0Dexed/Restored
A: Mount /system Before flashing The package
Note : Give me your thanks Your Thanks is Very Important For My future Projects..
Gliston+++ said:
Reserved For Later Updates
Click to expand...
Click to collapse
when when when when ..i'm so excited
Uploaded Bro...
Thanx bro you're my hero
Waiting for more developments for pocket plus
Sent from my GT-S5301 using Tapatalk
can you explain to me what is deodex ?
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.
Where to Download?
Downloads in the second Post
1-Ok my rom is deodexed now
2-I want themes or any thing for deodexed roms only
3- please don't say that each device need it's own theme (like custom rom) then there is no themes for pocket plus (like custom rom) then deodexing my rom is useless
Oh...bro flashing via CWM you need to go to mounts and storge then mount data and system ( i mounted every thing )
If you didn't do that it will give you an error
Sent from my GT-S5301 using Tapatalk
Hi,
If You Want To add Themes There are many app which works with xposed like :
HKThemeManager : http://forum.xda-developers.com/showthread.php?t=2602257
Xposed ThemeEngine : http://forum.xda-developers.com/showthread.php?t=2240180
Or Many Paid Themes On PLAY : https://play.google.com/store/apps/details?id=com.St3rdroids.theme.HEAVY
All u need is XPOSED : http://forum.xda-developers.com/showthread.php?t=1574401
Even There are battery mods for any rooted phone
Remember Google is ur friend...... Search it........
Press Thanks If HELPED...........
Thanx alot bro
I love all apps that works with xposed
Thanx again
Sent from my GT-S5301 using Tapatalk
Can you create a flashable zip? Aroma File Manager does not work. And my device brick,but I was restoring it in cwm.
status 0
Just Mount /system in mounts and storage menu
then flash the zip
It will work..
If it Dosent, I will upload an updated one..
Deodex v2
Ok I Uploaded An updated one
Please give me feedbacks...
thanks
will try it immediately
do i still need to mount in new build?
thanks
---------- Post added at 03:43 PM ---------- Previous post was at 03:42 PM ----------
saw the instructions
thx
downloading :good:
stuck at opening applications
---------- Post added at 05:49 PM ---------- Previous post was at 05:22 PM ----------
fixed by restoring
and then only deodex with debloating
debloating causes it stuck at booting screen
Brian_SGW_CM9 said:
stuck at opening applications
---------- Post added at 05:49 PM ---------- Previous post was at 05:22 PM ----------
fixed by restoring
and then only deodex with debloating
debloating causes it stuck at booting screen
Click to expand...
Click to collapse
Hum...
Try Clearing data....
Just tell Me your firmware/baseband version
It should be "s5301XXMK1"
This firmware package is only for XXMK1

Holofied TWRP Themes qHD 960x540

Hey guys, @Modding.MyMind over ported Holofied TWRP Themes to qHD resolution. I'm creating this thread just to have it here, as more people will be inclined to look at it because it's on XDA. He did all the work, not me, I'm just making this post. Downloads are at my AFH folder here: https://www.androidfilehost.com/?w=files&flid=19000
It has themes for TWRP 2.7.1.x and TWRP 2.8.0.x as well as Aroma FM.
Enjoy!
Moderator Note: This thread is now closed. However, the OP suggests you visit this thread HERE
Well, do you use your recovery so often that you really need to theme it ?
deniz2694 said:
Well, do you use your recovery so often that you really need to theme it ?
Click to expand...
Click to collapse
Guess that depends on the user doesn't it lol. The average user just uses the recovery for backups. Those who have surpassed that with experience and skills do a lot more with it .
And is nice to be different thats can be my reason to theme the recovery.
deniz2694 said:
Well, do you use your recovery so often that you really need to theme it ?
Click to expand...
Click to collapse
That means you never had Holofied theme on your device . And yes, some of us use it quite often
Sent from nowhere over the air...
Edit: Are some of the zips damaged? I can't seem to open after download from AFH...the Holofied PLAY one and the Dark one
P.S. But maybe the place for this thread was in the Apps & Themes section not in Development...there was another Holofied thread there. You could ask a moderator to move it
Rapier said:
That means you never had Holofied theme on your device . And yes, some of us use it quite often
Sent from nowhere over the air...
Edit: Are some of the zips damaged? I can't seem to open after download from AFH...the Holofied PLAY one and the Dark one
P.S. But maybe the place for this thread was in the Apps & Themes section not in Development...there was another Holofied thread there. You could ask a moderator to move it
Click to expand...
Click to collapse
Re uploaded the fixed ones, thanks to @Modding.MyMind
deniz2694 said:
Well, do you use your recovery so often that you really need to theme it ?
Click to expand...
Click to collapse
Yes
My phone is having some issues to it's on "life support" before CM 11 M10
I wipe cache and dalvik like every day
Just waiting for the announcement...
javelinanddart said:
Re uploaded the fixed ones, thanks to @Modding.MyMind
Click to expand...
Click to collapse
Yes, I already downloaded it from the other forum and it's working great. Now I'll have to find that Aroma File Manager, I've noticed that when enabled, it tries to flash a zip that's not in. But that has nothing to do with the theme itself, should be something new in TWRP 2.8.0
Sent from nowhere over the air...
Rapier said:
Yes, I already downloaded it from the other forum and it's working great. Now I'll have to find that Aroma File Manager, I've noticed that when enabled, it tries to flash a zip that's not in. But that has nothing to do with the theme itself, should be something new in TWRP 2.8.0
Sent from nowhere over the air...
Click to expand...
Click to collapse
When you installed aromafm where on your device did it place it? Give me the full path please.
Rapier said:
Yes, I already downloaded it from the other forum and it's working great. Now I'll have to find that Aroma File Manager, I've noticed that when enabled, it tries to flash a zip that's not in. But that has nothing to do with the theme itself, should be something new in TWRP 2.8.0
Sent from nowhere over the air...
Click to expand...
Click to collapse
It doesn't work for me either
IDK why, I just use the TWRP File Manager for now
Also the XDA theme has an error parsing the XML File in TWRP
Modding.MyMind said:
When you installed aromafm where on your device did it place it? Give me the full path please.
Click to expand...
Click to collapse
I guess that's the problem, I didn't install anything yet. I'll look for it and install, then let you know
Sent from nowhere over the air...
Rapier said:
I guess that's the problem, I didn't install anything yet. I'll look for it and install, then let you know
Sent from nowhere over the air...
Click to expand...
Click to collapse
It's the first attachment in my thread. Just flash it in your recovery.
---------- Post added at 09:05 AM ---------- Previous post was at 09:00 AM ----------
javelinanddart said:
It doesn't work for me either
IDK why, I just use the TWRP File Manager for now
Also the XDA theme has an error parsing the XML File in TWRP
Click to expand...
Click to collapse
I found the problem with XDA. I'm porting it again. My lady was messing with me when porting that theme lol. Will have it fixed and reuploaded shortly.
---------- Post added at 09:08 AM ---------- Previous post was at 09:05 AM ----------
@javelinanddart, can you check the other themes to see if that parsing error occurs?
Modding.MyMind said:
It's the first attachment in my thread. Just flash it in your recovery.
---------- Post added at 09:05 AM ---------- Previous post was at 09:00 AM ----------
I found the problem with XDA. I'm porting it again. My lady was messing with me when porting that theme lol. Will have it fixed and reuploaded shortly.
---------- Post added at 09:08 AM ---------- Previous post was at 09:05 AM ----------
@javelinanddart, can you check the other themes to see if that parsing error occurs?
Click to expand...
Click to collapse
Yeah sure
Edit: Same problem with the others...
Modding.MyMind said:
When you installed aromafm where on your device did it place it? Give me the full path please.
Click to expand...
Click to collapse
/sdcard/TWRP/aromafm/aromafm.zip
javelinanddart said:
It doesn't work for me either
IDK why, I just use the TWRP File Manager for now...
Click to expand...
Click to collapse
OK, I've traced the error. As you can see, the file location IS CORRECT BUT...in TWRP if you go with the normal File Manager (not the arom one), you will notice that the "sdcard" folder does NOT EXISTS in the root. It is called "internal_sd" instead. So the flashable zip you've provided flashes the file in the correct location (probably during flash the generic name "sdcard" is recognized). but while launching the FM from the theme it tries to reach "sdcard/TWRP/aromafm/aromafm.zip" and the correct path should be in the script "internal_sd/TWRP/aromafm/aromafm.zip"
I don't know if this is only for Ville or is valid for other devices too, I'll try to change the script to point to the new path....If I can find it
Got it.... in ui.xml, instead of
Code:
<object type="button">
<condition var1="aromafm" var2="1" />
<highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row11_y%" />
<font resource="font_big" color="%button_text_color%" />
<text></text>
<image resource="mb_filemanager" />
<actions>
<action function="queueclear"></action>
<action function="set">tw_file=AROMA Filemanager</action>
<action function="set">tw_filename=/[B][COLOR="Red"]sdcard[/COLOR][/B]/TWRP/aromafm/aromafm.zip</action>
<action function="queuezip"></action>
<action function="page">flash_aromafm_confirm</action>
</actions>
</object>
it should be
Code:
<object type="button">
<condition var1="aromafm" var2="1" />
<highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row11_y%" />
<font resource="font_big" color="%button_text_color%" />
<text></text>
<image resource="mb_filemanager" />
<actions>
<action function="queueclear"></action>
<action function="set">tw_file=AROMA Filemanager</action>
<action function="set">tw_filename=/[B][COLOR="red"]internal_sd[/COLOR][/B]/TWRP/aromafm/aromafm.zip</action>
<action function="queuezip"></action>
<action function="page">flash_aromafm_confirm</action>
</actions>
</object>
I'll make the changes and try it again...
Rapier said:
/sdcard/TWRP/aromafm/aromafm.zip
OK, I've traced the error. As you can see, the file location IS CORRECT BUT...in TWRP if you go with the normal File Manager (not the arom one), you will notice that the "sdcard" folder does NOT EXISTS in the root. It is called "internal_sd" instead. So the flashable zip you've provided flashes the file in the correct location (probably during flash the generic name "sdcard" is recognized). but while launching the FM from the theme it tries to reach "sdcard/TWRP/aromafm/aromafm.zip" and the correct path should be in the script "internal_sd/TWRP/aromafm/aromafm.zip"
I don't know if this is only for Ville or is valid for other devices too, I'll try to change the script to point to the new path....If I can find it
Click to expand...
Click to collapse
Aroma FM just fails to start for me. I followed the directions he gave in his OP
Rapier said:
/sdcard/TWRP/aromafm/aromafm.zip
OK, I've traced the error. As you can see, the file location IS CORRECT BUT...in TWRP if you go with the normal File Manager (not the arom one), you will notice that the "sdcard" folder does NOT EXISTS in the root. It is called "internal_sd" instead. So the flashable zip you've provided flashes the file in the correct location (probably during flash the generic name "sdcard" is recognized). but while launching the FM from the theme it tries to reach "sdcard/TWRP/aromafm/aromafm.zip" and the correct path should be in the script "internal_sd/TWRP/aromafm/aromafm.zip"
I don't know if this is only for Ville or is valid for other devices too, I'll try to change the script to point to the new path....If I can find it
Click to expand...
Click to collapse
Ah, yea that would be the original theme dev who wrote it like that. Good catch . Works fine on my device though, so a more universal method would definitely need to be acquired lol.
---------- Post added at 09:23 AM ---------- Previous post was at 09:22 AM ----------
javelinanddart said:
Yeah sure
Edit: Same problem with the others...
Click to expand...
Click to collapse
I thought so, looks like my lady had me distracted pretty well. Will go ahead and port them all again, and this time, properly lol.
---------- Post added at 09:29 AM ---------- Previous post was at 09:23 AM ----------
@Rapier, can you post your recovery log on here with the "hide" tags. I need to look at it. Specifically towards the end of it.
Ok so I've tested with the modified ui.xml and it works, Aroma FM starts OK. I'll attach the changed ui.zip, it is for the Holofied Play version. You can test it's working
Don't know how it works for other devices that doesn't have "internal_sd" folder but have "sdcard" instead...maybe some have both
@Rapier, when you installed aromafm, did it place it on your external or internal after flashing the zip?
When I install it, it is placed on my external. The /sdcard path used inside the ui.xml defaults to my external storage which therefore properly finds the aroma file manager. Which is why I ask?
Edit:
Just looked at the device tree used to build yalls TWRP. Seems you guys only have an internal with no external sdcard.... So this would be the problem lol.
I'm gonna mention @z31s1g and leave it up to him to decide if he wishes to find and use a more universal method for any future releases.
Modding.MyMind said:
@Rapier, when you installed aromafm, did it place it on your external or internal after flashing the zip?
When I install it, it is placed on my external. The /sdcard path used inside the ui.xml defaults to my external storage which therefore properly finds the aroma file manager. Which is why I ask?
Click to expand...
Click to collapse
The HTC One S does not have an "external" sdcard. There's only a internal memory of 10 GB that's mapped as "sdcard" and maybe that's why it's referred to as "internal_sd". So this could be the issue.
So the changed ui.xml will probably work only for devices without external sdcard. If there's a way to find this in recovery, there could be 2 different subroutines in the script...one for devices with external sdcard and one for devices without it. That it'll be universal.
Also a small suggestion if I may...it is applicable on all devices. When selecting the "Aroma FM" in settings, there's no need to have a confirmation screen with a slider to flash/launch the actual File Manager. Pressing on the File Manager should directly start it and after exiting it should return to main Recovery screen. I mean, I see no point in confirming the launch of FM. I've attached a second ui.zip file, again only for the Holofied Play, that takes out this slider as well....so if you press File Manager in main page AND you have selected in settings to have the Aroma FM, the File Manager will flash & start right away. After exiting it'll return to main Recovery page.
And thank you again for this port, these themes are the best I saw for TWRP ever. If you need any logs or tests to be made, please let me know
I will continue to port the themes based on their original release. If you guys wish to make further modifications in support of yalls device specifically feel free too. Currently porting these themes again to fix the parsing errors they are displaying.

Categories

Resources