[Q]Guide for custom ROM - Android

Is there a good guide for developing a custom ROM which is a bit more advanced than a beginners guide? Cause I want to know how you create a section in the settings app where you can modify settings like center clock, and navbar height.
Thx in advance.
Sent from my Galaxy Nexus using xda app-developers app

D3vi0uz said:
Is there a good guide for developing a custom ROM which is a bit more advanced than a beginners guide? Cause I want to know how you create a section in the settings app where you can modify settings like center clock, and navbar height.
Thx in advance.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
github.com

D3vi0uz said:
Is there a good guide for developing a custom ROM which is a bit more advanced than a beginners guide? Cause I want to know how you create a section in the settings app where you can modify settings like center clock, and navbar height.
Thx in advance.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Just study commits of similar features. I would assume there's not a specific guide, but look through the commits in relevant repositories and you'll learn how it works and how to implement a similar feature yourself.
Good luck.

xboxfanj said:
Just study commits of similar features. I would assume there's not a specific guide, but look through the commits in relevant repositories and you'll learn how it works and how to implement a similar feature yourself.
Good luck.
Click to expand...
Click to collapse
As other people have said study the commits and code of similar apps specifically take a look at the code for Cyanogenmod's CMParts and AOKP's ROM Control.

Related

Request: Pulldown menu power control

Hello I was wondering if there was a mod or such to get the power control on the D2 pulldown menu, if you can help ,e it will greatly appreciated.
Sent from my DROID2 using XDA App
A few apps can fake it. Power Control Plus and Wigetsoid, for example, will keep an ongoing task with your configured controls in the notification area. It's not quite the same as the pull down controls in ROMs like Cyanogenmod since it will jump depending on what other ongoing tasks you have but it's close.
Just download the cobalt rom and it comes pre-installed. It isn't just a plain old app, it is AOSP so the dev of cobalt was able to make modifications and got status bar controls working.
Sent from my DROID2 using XDA App
no need to flash cobalt
check out this thread i think it would help
http://forum.xda-developers.com/showthread.php?t=1037817
ayerman3 said:
check out this thread i think it would help
http://forum.xda-developers.com/showthread.php?t=1037817
Click to expand...
Click to collapse
Thanks alot!
ayerman3 said:
check out this thread i think it would help
http://forum.xda-developers.com/showthread.php?t=1037817
Click to expand...
Click to collapse
Vry helpful
ljbaumer said:
Just download the cobalt rom and it comes pre-installed. It isn't just a plain old app, it is AOSP so the dev of cobalt was able to make modifications and got status bar controls working.
Sent from my DROID2 using XDA App
Click to expand...
Click to collapse
Where can that ROM be found?
Can be found by searching the D2 android dev forum for cobalt.
Or simply following this link below lol.
http://forum.xda-developers.com/showthread.php?t=874220&highlight=cobalt

Translucent Status Bar

Hey themers:
I'm just getting acquainted with making small modifications to the system and am currently working from a stock 4.0.4 LPL based ROM. I would like to implement a 50% translucent effect on the TW status bar.
I've decompiled SystemUI.apk many different ways - as a non-system app, an app w/ dependencies (both framework-res.apk and twframework-res.apk), I've recompiled without any issues at all and immediately de-compiled to make sure my changes "stick", and they do. I then throw them into a flashable zip, wipe cache/dalvik, flash the zip and fix permissions, no go.
I'm following a guide that was originally posted in the GS2 forum that instructs us to do the following:
1) SystemUI StatusBar.smali - locate the "...Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V" statement and change the const/v16 above it from "const/16 v16, 0x4" to "const/16 v16, -0x3".
2) Go to res > values > drawables.xml and edit "status_bar_background" hex to #7f000000 for 50% transparency.
This didn't work on its own, so on top of that I also tried implementing the same sort of change mentioned in #1 above on both the PhoneStatusBar and TabletStatusBar.smali files. Still no go. The system boots no problem, but just no change in the visual appearance of the status bar.
Does anyone have any ideas outside of this on what smali file or statement in the above files might control this feature? I'm still digging but didn't know if others had attempted this. Thanks to any and all who are willing to help. I don't need anyone to look at code for me, just a gentle shove in the right direction would be fantastic!
+1 for this.
I'd love to see this work.
jtdo said:
+1 for this.
I'd love to see this work.
Click to expand...
Click to collapse
+1
was looking for something like that for month.
I'll get there...The solution cannot be far off from what has already been documented. However it seems others have not yet been able to do it on this device...probably just because there are more pressing projects underway. Guess it's up to us noobs lol
Sent from my SGH-T989 using XDA Premium HD app
djmatt604 said:
I'll get there...The solution cannot be far off from what has already been documented. However it seems others have not yet been able to do it on this device...probably just because there are more pressing projects underway. Guess it's up to us noobs lol
Sent from my SGH-T989 using XDA Premium HD app
Click to expand...
Click to collapse
Haha anything is possible on XDA (;
djmatt604 said:
I'll get there...The solution cannot be far off from what has already been documented. However it seems others have not yet been able to do it on this device...probably just because there are more pressing projects underway. Guess it's up to us noobs lol
Sent from my SGH-T989 using XDA Premium HD app
Click to expand...
Click to collapse
Does tw use a standard grey block to extend the background for the status bar? It sounds like it would and if that is do you could try adding that grey colour to an alpha channel on the image.
Just a thought
Sent from my HTC Desire HD using xda app-developers app
scaryshark said:
Does tw use a standard grey block to extend the background for the status bar? It sounds like it would and if that is do you could try adding that grey colour to an alpha channel on the image.
Just a thought
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
I'll have a look this week!
You need to modify the "tw_" variants of the status bar definitions to see anything happen, TouchWiz UI does not use the regular assets/definitions.
qreeves said:
You need to modify the "tw_" variants of the status bar definitions to see anything happen, TouchWiz UI does not use the regular assets/definitions.
Click to expand...
Click to collapse
Thank you sir! I will give it another go. Have a TW ROM to update in the next cpl weeks, this might make it in
Sent from my Infamous Tab.
djmatt604 said:
Thank you sir! I will give it another go. Have a TW ROM to update in the next cpl weeks, this might make it in /QUOTE]
No problem, I spent most of last night working out how to move the system bar from the bottom of the screen to the top using a decompiled SystemUI from the TouchWiz rom for the Galaxy Tab. You might find that even though you make the bar transparent that the area behind it is black anyway (it is for me at least using the official 4.0.4 rom) due to it assuming that the system bar is being rendered there. I'm yet to figure out how to manipulate the rest of the WindowManager environment to fix the issue.
Click to expand...
Click to collapse

Status Bar

Can anyone develope to port this mod?It is very nice
↓↓↓
http://forum.xda-developers.com/showthread.php?t=2282806
Wrong section.
Sent from my WT19i using xda app-developers app
zqchin74 said:
Can anyone develope to port this mod?It is very nice
↓↓↓
http://forum.xda-developers.com/showthread.php?t=2282806
Click to expand...
Click to collapse
Dude really, all you have to do is install Power Toggles from Play Store, and then customize it to your liking. You can select the colours, everything.
And please check before creating a new thread. There's a nice and sweet forum about Themes and Apps for our phones.

How to add features to homemade ROM?

I've built what is essentially stock cyanogenmod from their source. Now. I'm looking to add some extra settings to it. I've been looking at the gerritt, but all the changes there are miniscule and not really what I'm looking for. How can I add, for example, slim bean's navigation bar and stuff like that to my ROM?
Sent from my GT-I9300 using xda app-developers app
sardinesrule said:
I've built what is essentially stock cyanogenmod from their source. Now. I'm looking to add some extra settings to it. I've been looking at the gerritt, but all the changes there are miniscule and not really what I'm looking for. How can I add, for example, slim bean's navigation bar and stuff like that to my ROM?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
By cherry picking the features from Github.
Or by writing the features yourself.
Sent from my N4, wanna know what I am doing? Check http://team-fun.eu
So I'd find the things to cherry pick from on cm's github?
Sent from my GT-I9300 using xda app-developers app
I realize that this is late. But mostly for future reference:
Well, the features from the CM Github are already in CM. Maybe things that you like from other ROMs? You can cherry-pick from every git repo out there
Sent from my Nexus 4 using Tapatalk
So I'm building my first aokp ROM from source and am trying to do similar now I understand what cherry picking is but it's their an easy w way to do it?
Never mind found a resource r related to this http://forum.xda-developers.com/showthread.php?t=2763236 as reference for others
Sent from my Robin using Tapatalk

[ROM][Official][4.4.2] SlimKat Stable 3.0

SlimRoms is a custom android operating system. The main goal is to offer users a slimmed down but still feature rich alternative to other android operating systems.
The entire SlimTeam work together to bring you this tailor-made beauty straight from Android Open Source Project (AOSP) source code.
All of the sources can be publicly viewed through GitHub and you can stop by the public Gerrit to submit patches of any type.
SlimKat is the project name for SlimRoms based on Android 4.4 and offers the following original features:
The Real Dark Slim
Full system-wide dark interfaces. - If you like it smooth and classy.
Custom Shortcuts. Everywhere.
Hardware keys, Navigation Ring, Navigation Bar, Lockscreen, Tiles, Notifications etc. - We've got you covered.
System-Wide Keyboard Controls
Rotation, cursor control, optional emoticions, etc. - You'll be tapping away to your heart's content.
SlimCenter
Downloads, contact information, system app removal. - More fun than you can shake a stick at.
Camera Features
Trueview, Smart Capture. - Capture life moments with ease.
Important links:
slimroms.net - The official webpage where you find everything you need to know about SlimRoms.
Downloads - Download the rom, gapps and other addons.
Installation instructions - Follow these steps to the letter if you're about to install SlimRoms on your device.
Latest Changelog - Read here if you want information on changes in latest build.
FAQ - The most frequent asked questions with answers.
Kernel Source - The source of your device's kernel.
Get in touch! - Contact SlimRoms at these places if you have questions, requests or feedback.
Google+
Twitter
Facebook
Forum
Disclaimer: SlimRoms are not responsible for any damages to your device.
Full WIPE is needed, even if you are on a previous 4.4 Alpha
for good measure
I'm at work right now so I can't download and test until I get to Wi-Fi. Just wondering if the proximity sensor is working on this build? I'm running kitkang and getting annoyed by it not working.
Sent from my SCH-I545 using XDA Premium 4 mobile app
Yes yes yes!!! Huge slim fan. Can't wait!
Nice work, fellow Texan.
Dl now can't wait to try it out,I'm sure it will be another great rom from ya. Thanks
DL now. I'm usually a rom stalker. I dont have anything going on today and I've leached enough over the years. I'll try to share some useful insight.
Sent from my SCH-I545 using Tapatalk
Can I use this on me7?
Sent from my SCH-I545 using Xparent Cyan Tapatalk 2
Christmas come early!!!
Installed. So far it's awesome. Thanks cordell12!
Sent from my SCH-I545 using Tapatalk
Oh man, figures I just got the previous build up and running Friday night haha, I'll be installing this after my commute back to school and getting some homework done, I'm so pumped for this
infamous215 said:
Can I use this on me7?
Sent from my SCH-I545 using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
NO.........
Sent from my SCH-I545 using xda app-developers app
So is this different from thanksgiving build?
Tethering doesn't work. Had couple freezes had it in art. Ill give dalvik a shot for a bit
Sent from my SCH-I545 using XDA Premium 4 mobile app
Any way to change DPI ?
Sent from my SCH-I545 using xda premium
reinert012 said:
Any way to change DPI ?
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
Looks like the setting hasn't been added back. You should still be able to edit it in the build.prop though. Look for ro.sf.lcd_density and adjust to what you like.
There are apps that can change that in the play store if don't want to edit it manual
Sent from my SCH-I545 using XDA Premium 4 mobile app
Ironclad Lou said:
Looks like the setting hasn't been added back. You should still be able to edit it in the build.prop though. Look for ro.sf.lcd_density and adjust to what you like.
Click to expand...
Click to collapse
PERFECT!
I've been rooting for 5 years now and have never actually edited something in there. Wonder what else I can do ...
reinert012 said:
PERFECT!
I've been rooting for 5 years now and have never actually edited something in there. Wonder what else I can do ...
Click to expand...
Click to collapse
Just a friendly suggestion - I would try keeping it at the stock slim DPI for a while, you probably will learn to love it. I always changed it to stock android myself but once I kept it on the 361 DPI, I got hooked. I would never change the DPI now.
mitchallica said:
Just a friendly suggestion - I would try keeping it at the stock slim DPI for a while, you probably will learn to love it. I always changed it to stock android myself but once I kept it on the 361 DPI, I got hooked. I would never change the DPI now.
Click to expand...
Click to collapse
It hurts my eyes just a tid bit but it certainly is nice to have all the realesate on the screen.

Categories

Resources