What Is The Easiest Way To Create A Cyanogen Based ROM? - Android Q&A, Help & Troubleshooting

I want to remove some apps from Cyanogenmod and replace some others.
I also want to set some defaults in the settings and change the default theme.
Building this from source seems over the top.
Is ArchiKitchen the way to go with this?
Or is it possible to do all this via an update.zip?

Related

[Q] specify apps in new rom build

Is it possible to specify via xml or whatnot the what a default program should be or whether or not a program should be set as default from the get go?
For instance, if i don't want to remove rosie.apk but i want golauncher to be selected by default upon first boot.
Thanks
chrispaw said:
Is it possible to specify via xml or whatnot the what a default program should be or whether or not a program should be set as default from the get go?
For instance, if i don't want to remove rosie.apk but i want golauncher to be selected by default upon first boot.
Thanks
Click to expand...
Click to collapse
IT is possible. But I don't know how, sorry...

[Q] How to make a flashable zip of screenlock

Hey,
I want to replace my stock screenlock on CM7 to Widgetlocker.
I've read multiple topics, but I haven't find what i want to.
I know that I have to make a flashable zip and install it under the recovery.
But for Gods sake, I don't know how to make this flashable zip with Widgetlocker.
Anybody?
Not entirely sure what it is you are looking to do that requires you to have a flash-able zip,
But for widgetlocker to work all you need to do is install it from market or where ever then disable your lock screen (Original) will be in Settings>Security (something along those lines) then to your application drawer open widgetlocker and set your desired lock screen, if you are downloading extra lock screens simply mount your SDCard and place the .wltheme.zip files you download in SDCard>Data>Widgetlocker un-mount and open up widgetlocker again and choose your theme
I want to completly remove the stock lockscreen from Android and it that place move the Widgetlocker.
Just do what i have mentioned above and disable it, just noticed you are using cm7, you can do this in..
Settings>Cyanogen Mod>Tablet Tweaks>Disable Lock Screen
I do not know of any other way unless it can be done by taking apart settings.apk or cyanogen mod.apk (if their is such a thing) on a desktop computer and removing the necessary code and then copying it back over to your phone, but that is way beyond my level of knowledge.

[Q] Edit settings.db

Hallo @ all
I want to write a special App just for me for my custom ROM. For this I have to put new values in the settings.db so my app is able to call and set the value of the new settings. I wan't something like this:
Settings.System.getInt(resolver, Settings.System.MYVALUE, 0);
But I have two problems: How can I add a new entry to the settings.db? Do I have to do this with an update.zip and flash this from the recovery? And if I develop my App in Eclipse my app does not know that these values in the settings.db are available and it comes to an compiler error. How can I tell my App (or Eclipse) that these values are available?
Is it even possible to change the settings.db? If not are there any good alternatives? I want to create something like the "quite hours" from CyanogenMod for my custom ROM.

Activate a theme apk to be used after flashing

Kind of hard to explain...
I have a theme apk that installs to /system/app during source compile in cm-10.2. Works great as does the ROM) if I select it in settings > themes.
However, I want that theme 'activated' , without user intervention, when ROM first boots up.
How would I do that?

NMM type for Recoveries

Anyone think it's possible to implement the manager system from nexus mod manager or something similar to a recovery. For example, have it keep track of the mods you install and the files it changes and put an option to remove it where it removes the files that were editing and replaces them with the files that were there prior to installing the file? If it help nexus mod manager is open source allowing to view the source code and I believe all that is handled under the NexusClient under ModManagement. If someone can implement this it will make it a lot easier to manage the mods we install on top of the roms since the only way to remove mods currently is making a backup prior to flashing the mod or by dirt flashing the Rom on top and reinstalling other mods.
Here's a link to the sourcehttp://goo.gl/PFnqI0
Sent from my HTCONE using Tapatalk
luigi311 said:
Anyone think it's possible to implement the manager system from nexus mod manager or something similar to a recovery. For example, have it keep track of the mods you install and the files it changes and put an option to remove it where it removes the files that were editing and replaces them with the files that were there prior to installing the file? If it help nexus mod manager is open source allowing to view the source code and I believe all that is handled under the NexusClient under ModManagement. If someone can implement this it will make it a lot easier to manage the mods we install on top of the roms since the only way to remove mods currently is making a backup prior to flashing the mod or by dirt flashing the Rom on top and reinstalling other mods.
Sent from my HTCONE using Tapatalk
Click to expand...
Click to collapse
So you are simply stating having a program that automate a backup of the files yyou change? So instead of having to do it manually, as soon as you change something it makes a backup..
lacoursiere18 said:
So you are simply stating having a program that automate a backup of the files yyou change? So instead of having to do it manually, as soon as you change something it makes a backup..
Click to expand...
Click to collapse
Similar. The way I see this working is to create a class that adds this support and have it create a temp file of sorts with everything that was editing and a list of files that were created and allowing it to backup the files that were replace so it can put them back when u decide to remove the mod and delete the extra files that were created. Doing this would make it easier for developers to implement this into the scripts used to install the mods and possible having installations split between roms and mods, having the developers define it in the script and if undefined have it follow the default install which should be roms. Defining roms and mods could possibly be done through if-else statements such as adding InstallAsMod or InstallAsRom on the first line of a script and on the recovery have it check if it says InstallAsMod or InstallAsRom on the first line and if neither have it follow the InstallAsRom code which could be an exact copy of the way the recovery currently works. Though those are just my thoughts with my very basic java knowledge, maybe someone else with more insight can give a better method. Also having something like a extra menu in the recovery that displays the installed mods and having the uninstall/removal process there. The problem I see with this would be with rom updates, they will make changes to the files causing issues with the uninstall option if the files where changed through the rom update.
Sent from my HTCONE using Tapatalk

Categories

Resources