led customization - G1 Android Development

Hi, i was wondering if there was a way of changing the led notification colour ? i saw on the android sdk website that there was strings for controlling this but were is the file in the android os ? or is there a file for changing this ?
notification.ledARGB = 0xff00ff00;
notification.ledOnMS = 300;
notification.ledOffMS = 1000;
notification.flags |= Notification.FLAG_SHOW_LIGHTS;
or is this just strings for creating a application ?
thanks bill.

What I would do, is look through a copy of the Android AOSP source for anything matching those. You might have better luck finding it in the Framework itself, or the phone, e-mail, SMS/MMS, etc.
btw, you can also control the LED's through /sys/class/leds/*/brightness, though I'm not sure it requires root, but I think it can override the charging/low-battery LEDs.

These are "strings for making an application." Change the LED brightness settings listed above for direct control.

Oh rite so if i were looking for those strings in the android os files i wouldnt actually find them ? this would just be used say if i was going to create a application like chomp sms or popup sms. what i was kind of hopeing for is a file i could pull through adb maby changed a few of the settings then re push the file and have a diffrent colour led for that certain notification. Hope that makes sence lol.

Pretty much all the info you need is here:
http://forum.xda-developers.com/showthread.php?p=4678867

yeah i kinda see what your getting at with that other thread but what i was kind of looking for i gusse is a file that i could just pull from the android system edit a bit, push the file back in and bang diffrent colour led for each notification ect...

why not just get missed call from the market and change the color, blink frequency etc using that program.

Related

[APP] TrackballColorNotify 1.0beta3

TrackballColorNotify allows you set the color of the Trackball/jogball on incoming SMS/MMS.
Downloads
Primary Download​
Mirror 1​
Change List
-1.0beta3 (12-Feb-2010)
Added more debugging to sort FCs
Cleaned up su_binary evaluation code
New primary control directory
Few bug fixes
Added more additional fields to debug email​-1.0beta2 (11-Feb-2010)
Added Email Debug Info
This will email me debug info including logcat data.
If you are concerned about sensitive information, you can change the To address to yourself to check the contents of the logcat and then forward​ Added custom Flash Color via RGB Sliders
Added Message count preference
Added Test Notification option​-1.0beta1 (05-Feb-2010)
Added preferences screen,
Vibrate on/off
Flash Color
Ringtone selection
Flash rate​Completely rewritten su code again (still native c, now with less su popups)
Added Application menu and moved "force stop" there
Trackball constructor can now except control-directory, maybe add control-directory as a preference in future if keeps changing​
- 1.0alpha6 (03-Feb-2010)
Trackball constructor now looks in 1 of 2 locations for Jogball-backlight directory. It seems in .32 kernel it has moved​- 1.0alpha5 (unreleased)
Rewrote all su code in native c/c++, for speed and reliability​
- 1.0alpha4 (unreleased)
Improved debugging to help solve .32 kernel issues​- 1.0alpha3 (29-Jan-2010)
Fixed missing mms notification - Messed up logic​- 1.0alpha2 (23-Jan-2010)
Fixed vibrate FC bug - Missing permission
Fixed "Clear all" bug by excluding alert from "Clear all"​- 1.0alpha1 (22-Jan-2010)
Initial Release​Known Issues:
- There is a delay of 3 seconds before it starts flashing selected color at the moment this a because the system will turn it off because it thinks its turning off the white led.​
Caveat
- The system will override the flashing if another system notification is set
- You will see a single white flash before the app flashes the correct color, this is the system doing this.​Todo:
- Add check for Nexus One​
Requirements:
- Su/Rooted phone
- Nexus One
- Notifications turned off in your SMS/MMS app​
Use at your own risk, I cannot be held responsible for loss or damage etc etc yada yada yada.
Probably my favorite app so far
Gonna have to buy you a beer or something
wow this is pretty amazing. the new colors are awesome! definitely would donate!
suggestions; alternate colored notification bar icon colors (ie the ones found in Handcent), and later, i know its still only beta, email and gmail support if that would even be a possibility.
Besides those minor aesthetic opinions, it works like it says. Switch of notifications in chompsms, handcent or whatever you have including the stock app, set up the preferences in this one and it works brilliantly!
thanks for your hard work!
Works so far.
Im still unclear on the default icon in notification bar. Is it mandatory for it to appear there ?
Reason being I have handcent setup with different icons/sounds for individuals.
When a text comes in the trackball works fine but I get both the default messaging app Icon in notification bar AND handcent.
I tried turning off the default messaging but it pops up with trackball.
This is a great little app. Thanks. Do you have plans to enable it for email alerts as well?
hmarcus said:
wow this is pretty amazing. the new colors are awesome! definitely would donate!
suggestions; alternate colored notification bar icon colors (ie the ones found in Handcent), and later, i know its still only beta, email and gmail support if that would even be a possibility.
Besides those minor aesthetic opinions, it works like it says. Switch of notifications in chompsms, handcent or whatever you have including the stock app, set up the preferences in this one and it works brilliantly!
thanks for your hard work!
Click to expand...
Click to collapse
Thanks for your kind comments.
I'm looking to implement this at a lower level than app, so we can get different notifications. Currently the system can override the trackball.
I'm open to icon/image donations (via pm please to keep the thread tidy) I'll give you credit if used.
lilHermit
lilHermit said:
Thanks for your kind comments.
I'm looking to implement this at a lower level than app, so we can get different notifications. Currently the system can override the trackball.
I'm open to icon/image donations (via pm please to keep the thread tidy) I'll give you credit if used.
lilHermit
Click to expand...
Click to collapse
Id much much prefer to get this working on Email /VM/Missed calls etc than worrying about aesthetics at this point.
Hace you contacted any of the rom guys to see if it can be dug into a deeper level and work in a fuller capacity ?
+1 on that- to be able to apply this across the whole rom would be fantastic.
this is awesome- i think it needs the ability to not have the icon show in status bar though due to some people (me being one) who use handcent personalised notifications.
now, where is your donate button?
MontAlbert said:
+1 on that- to be able to apply this across the whole rom would be fantastic.
Click to expand...
Click to collapse
I'm looking into that. The problem is the current codebase only has a method flashing the trackball white. We need to hook right into the core notification system.
MontAlbert said:
this is awesome- i think it needs the ability to not have the icon show in status bar though due to some people (me being one) who use handcent personalised notifications.
Click to expand...
Click to collapse
I can add an option but i think you will end up with a situation where the trackball does not stop flashing. Because its my notification, when it get selected/acknowledged my Cancel "callback" method is actioned.
MontAlbert said:
now, where is your donate button?
Click to expand...
Click to collapse
Its now in the footer
Great work...donating now. Nice to see a green trackball! Can't wait for more. Thank you.
overground said:
Great work...donating now. Nice to see a green trackball! Can't wait for more. Thank you.
Click to expand...
Click to collapse
Received, many thanks. Stay tunes... more to come
Hands down one of my favorite apps now. Thanks for making this. Its funny how the simple things are some of the best (colored blinking lights) lol.
the beta version is not working for me. the alpha version of trackball notification worked alright (with very few minor bugs). i turned off the notifications on messaging and popup sms and i get one white flash and nothing else. i turned off popup sms entirely and still got the same issue. im currently running cyanogen's beta4 if that matters.
[email protected] said:
the beta version is not working for me. the alpha version of trackball notification worked alright (with very few minor bugs). i turned off the notifications on messaging and popup sms and i get one white flash and nothing else. i turned off popup sms entirely and still got the same issue. im currently running cyanogen's beta4 if that matters.
Click to expand...
Click to collapse
I'll pm you for logcat info.
Cant wait for widget!
Very cool. I'll send ya some green :3
Just sucks I need to be rooted .
But, besides that completely, amazing job! I was waiting for someone to do this, and you did it!!! . I will be rooting very soon, I cant be missing these 'important fixes'.
Thanks again (will donate down the road definitely)!
Are you going to implement a way to flash different colors for different contacts SMSing you? If you do this i will definitely buy you a beer!
When I recieve texts now, my notification bar shows two of the smilie face text notifications and when i pull the bar down it shows the same texts twice. Only started after I installed this.
lilHermit said:
Its now in the footer
Click to expand...
Click to collapse
donated- thanks mate- sorry its not heaps as this work deserves more.

Timescape themes (Update for 2.1)

For 2.1 themes see post #17 on page 2: http://forum.xda-developers.com/showpost.php?p=9049613&postcount=17
I decided to open a thread to share the knowledge I have collected on timescape themes. This also partially applies to mediascape and up until now has been split between these two threads:
http://forum.xda-developers.com/showthread.php?t=737778&page=46
http://forum.xda-developers.com/showthread.php?t=765686 Please read this!
I thought it would be better to combine this into one thread that will be easier to find. If anyone disagrees then please post with reasons and alternatives. I will update this first post as we figure out more tweeks etc. (hopefully it will need a big rework soon because SE finally gets us 2.1 )
Before I start, thanks to Chewitt for finding the acet files, and for inspiring me to start messing with the look of my x10 with his Dark10 themes.
Timescape (and mediascape) do not store all of their images in the .apk resources. Oh no, that would just be too logical, and we are talking about Sony Ericsson here
The timescape theme .apk resources do contain some of the images used (e.g. the trash can and app drawer handles), and the actual Timescape .apk has the resources for the tile images etc. I'm not going to go into this as there is enough content about modifying these sorts of resources here. What I will go into is where the timescape background, wave animation, pagination slider colours and the tile alpha blending and default colours.
1. The background: This is stored in an .acet file (see the first of the above posts). This is an file that basically just contains a samll header and then rgb information (or sometimes argb, this is specified in the header which I haven't got 100% sussed yet). The background images are in the assets/ts folder in the theme .apk and are called ts_bg_app.acet and ts_bg_home.acet for the application and timescape home respectively. These can be modified with acetConverter.exe. You can load an image and export an acet file or you can go the other way. TS uses acet backgrounds without an alpha channel so leave the alpha checkbox unticked when creating them (it might work with alpha... never tried...).
2. The Tiles: I'm pretty sure the alpha blend images for the tiles are found in the system/usr/semc/seee/files folder (alpha_tile.acet and alpha_tile_fade*.acet) but I haven't modified these yet. As an aside the background for the first page of mediascape is here too. More important is the default background for a tile. This file, ts_tile_empty.acet, is a single pixel file found in the assets/ts folder for each theme. This specifies the solid colour to be used as a background for the alpha overlay on empty tiles.
3. Animation files: Wave and Pagination. This is all stored in three .afx java animation files in the themes assets/ts folder (ts_bg_wave.afx, pagination_glow.afx and pagination_area.afx). pagination_area is the square around the selected item in the scroll menu at the bottom (or the top if TS is the home page) and pagination_glow defines the lines at the top and bottom of this area. I haven't got these files fully sussed either, at the moment I'm restricted to doing some awful byte replacement to change the color (I can also change the wave pitch, but it doesn't look any good). I have attached an exe to generate these files (SetTimescapeAnimationColor.exe). Click on the white square to choose a base color and use the buttons to generate whichever of the files you want. If anyone knows how to edit these files properly please let me know, I come from a c# and c++ background and don't really know what I'm doing with java...
Thats pretty much it. Just sort out 6 files, update the png resources (the thumbnails for the theme selection are in the Timescape.apk resources folder) and you're done.
Note: I have had problems when I modified the wrong bytes in the afx files. Basically, after selecting the theme timescape just crashed. If you replace the theme file it still won't start, you need to clear the application data to get it running again. Along the same lines, after modifying a theme you need to reselect it from the themes menu as the files are cached.
Please let me know if I missed anything.
Update: I have attached the source code for the animation color tool. Please keep in mind that this was just a bit of code quickly thrown together so we can modify the animation color, I don't usually write code that looks like that
The project is a C# project from visual studio 2010 but the meat of it is in MainForm.cs so just open that if you use a different language/dev environment.
Here is the code from one of the buttons. Resources.pagination_glow is a byte array from an embedded resource (pagination_glow.afx).
Code:
string r = string.Format("{0:000}", (int)(((double)colorPanel.BackColor.R / 255.0) * 100));
string g = string.Format("{0:000}", (int)(((double)colorPanel.BackColor.G / 255.0) * 100));
string b = string.Format("{0:000}", (int)(((double)colorPanel.BackColor.B / 255.0) * 100));
byte[] bytes = new byte[Resources.pagination_glow.Length];
Array.Copy(Resources.pagination_glow, bytes, Resources.pagination_glow.Length);
bytes[949] = (byte)r[0];
bytes[950] = (byte)'.';
bytes[951] = (byte)r[1];
bytes[952] = (byte)r[2];
bytes[953] = (byte)',';
bytes[954] = (byte)g[0];
bytes[955] = (byte)'.';
bytes[956] = (byte)g[1];
bytes[957] = (byte)g[2];
bytes[958] = (byte)',';
bytes[959] = (byte)b[0];
bytes[960] = (byte)'.';
bytes[961] = (byte)b[1];
bytes[962] = (byte)b[2];
bytes[963] = (byte)',';
using (FileStream stream = new FileStream(saveDialog.FileName, FileMode.Create))
{
stream.Write(bytes, 0, bytes.Length);
}
What is important to note is that the embedded afx resources came from the orange theme, the other themes will require different offsets for the byte modification. I'm not sure why the different themes have different code here, I haven't looked closely at the wave animation code for each theme so there may only be a difference there, or there could just be one more space here and there in the preceeding lines or four spaces instead of a single byte tab ('\t')...
Anyway, the next step is to try and modify the number of bytes in the code and see if it still works, on my first few tests timescape just crashed so I thought that the number of bytes of clear-text code may be stored in the header. I'm not so sure now as I think I may have just been having problems while mixing the use of the .Net stream classes for reading an writing. I'll check this out though.
If we can modify the code however we want then I just need to learn a bit more java
The code for the wave animation is in the comments at the bottom of MainForm.cs. Here is the line with the characters being modified in bold:
fcolor.rgb = vec3(1.0, 0.91, 0.72) * ambientRatio + vec3(1.0, 0.516, 0.0) * specularRatio;
LOL this is just lazy lol, Thanks for the guide i will get the other 3 i need for Dark10 sorted on sunday.
this all sounds awesome =)
May I suggest posting the source code to your .exe files? that way others can pitch in and help improve the tools, too. slap on the GPL for a decent licence and it should be no problem
ttxdragon said:
this all sounds awesome =)
May I suggest posting the source code to your .exe files? that way others can pitch in and help improve the tools, too. slap on the GPL for a decent licence and it should be no problem
Click to expand...
Click to collapse
Good idea I have just updated the first post. I have only added the animation tool source as the .acet converter is just a direct color translation except for the header which is post in the acet thread linked in the first post.
I can post this code as well if anyone is really interested, but it will have to wait until I am back at work on the 14th, or until the VPN starts working again
VPN's up - posted the rest of the source.
calum.. just got a new charger today lol so back on track.. although some reason i cant seem to get my colour to change at al? ive rebooted, tried task managers n al but no luck..
Edit: ignore that.. managed to get it working! like an idiot i forgot to add the code at the top for mount/remount lol.. feel like a blonde
Has anyone got an original version of ms_bg_background_home_icn.acet?
Being the genius that I am, I tried to edit it without backing it up first.
I tried to convert a png image to an acet file using that acet converter but ended up with a background with a similar issue to what's in this post. Will read through all the posts tomorrow and try again.
Hey buddy any more progress with this project?
Sorry, on the road at the moment. I'll be back onto this next week.
@Mobzter: glad you got it sorted.
@Sixpence: you may have exported the image with the alpha channel. Make sure the alpha option is off for the timescape and mediascape backgrounds. I'll add complete backups to the first post next week
heres a backup of that file
_calum_ said:
@Sixpence: you may have exported the image with the alpha channel. Make sure the alpha option is off for the timescape and mediascape backgrounds. I'll add complete backups to the first post next week
Click to expand...
Click to collapse
Ah, yeh, I think that's what I did. I'll try again and see how I go. Cheers!
Thanks for backup Mobz!
EDIT: Sweet, that worked!
I just thought I'd post a link to my dark Timescape theme here.
Timescape (Dark)
If anyone else has got any modified timescape themes please post them (including the modified framework and thumbnail images). It would be nice if we didn't just all modify the Indigo them (as I did above) as if we use neutral images for the default contacts etc. then we can easily change between the different themes.
Any interest
Just a bump to see if anyone is interested in doing anything with the Timescape animation except changing the color.
If they are then I might get back into modifying the .afx files, otherwise I'll probably just move on....
I don't actually use it that much and now I've got rid of the blue I'm sorta happy, but it might be kinda cool if we can add our own animations to replace the wave...
How about the mediascape animation? I wanna make it melt into the next screen. Do u think that's doable?
How can i chnge theme for x10i
Sent from my X10i using XDA App
gavriel18 said:
How about the mediascape animation? I wanna make it melt into the next screen. Do u think that's doable?
Click to expand...
Click to collapse
Do you mean instead of the spline/fade animation when you hit the 'more' button? I think a melting animation would be pretty ambitious and probably only doable if the fade is actually part of the animation. I'll see if I can get an editor slapped together so we can just modify the afx code directly. I'll have a look at the mediascape animation files once I've got that done...
xian08 said:
How can i chnge theme for x10i
Click to expand...
Click to collapse
Sorry, I need a bit more information here. Where exactly are you stuck? Do you just want to install a different theme that you have from one of the x10 themes in another forum, or do you want to create you own?
That's exactly what I was thinking, a melt to a fade into the next screen.
I'm trying to understand how it works but i don't have enough spare time right now.
OK, 2.1 is here and the file formats for timescape themes have changed...
First off, the apk names have changed. They are now named like this:
TimescapeLargeUITheme[ThemeName].apk (e.g. TimescapeLargeUIThemeSakura)
The .acet files are now .uxraw files. The file header and content has also changed: the header is now 8 bytes, that can be split into 4 16bit integers. The first two I'm not sure about, (second one always seems to be 8...) but the 3rd and 4th are width and height respectively. After the header we still have the color info, but it seems that alpha is always included. The bytes are in the order R G B A (the alpha is now the 4th byte instead of the first).
I have attached the new converter and source.
Edit: I originally wrote an incorrect value for the first byte in the header (20 instead of 0x20... oops ) this resulted in a black background...
The afx files have also changed to uxsh. There seems to be a bit more in these files but the animation code is still in plain text. I'm working on an editor, and will update this post when it's done.
2.1 or 1.6 ?
Is this for 2.1 or 1.6 ?
Looks a silly question... But, am little cautious and more excited to see this on my 2.1update1.
Thx for such a great work.
_calum_ said:
OK, 2.1 is here and the file formats for timescape themes have changed...
Click to expand...
Click to collapse
mitalbr said:
Is this for 2.1 or 1.6 ?
Click to expand...
Click to collapse
2.1 (I had also changed the thread title to make this clearer )
_calum_ said:
2.1 (I had also changed the thread title to make this clearer )
Click to expand...
Click to collapse
I was just adb'ed the file system and I found I have following files...
TimescapeLargeUI.apk
TimescapeLargeUIThemeBlue.apk
TimescapeLargeUIThemeGreen.apk
TimescapeLargeUIThemeIndigo.apk
TimescapeLargeUIThemeOrange.apk
TimescapeLargeUIThemeSakura.apk
TimescapePluginManager.apk
I couldn't locate...
Timescape.apk
TimescapeThemeIndigo.apk

[Q] Custom Vibrations - App?

Hello,
I have the need for a potentially useless app..but I want it none the less.
I recently installed Handcent (SMS program) that allows you to use/create custom vibration patterns for incoming text messages etc etc. I was wondering if anyone knew of an app that could be used to create these patterns? Handcent just requires that the pattern be put into off(ms),on(ms),off(ms),etc etc text string. And I would love for an app to listen to my notification sound (or any sound file I choose) and create the vibration pattern based off the peaks of what is playing.
If an app like this doesn't exist would it be something someone could make easily?
My idea of an ideal app for this would be an app that allows you to choose a song file and it scans it for the peaks. A adjustable slider that changes the sensitivity so that it could be fine tuned for songs with little or too many high peaks. Then the app would just spit out the pauses and vibrations that have been adjusted accordinaly in a simple text string that could then be copied and pasted into Handcent when wanted.
Maybe instead of just searching for the high peaks it could be tuned to search for the lowest frequencies to give the illusion that the phone has a strong speaker with another slider as well.
Right now I currently have a rather funny pattern. My Droid vibrates as if something big is coming towards me (think T-rex stomping) and after 4 steps a roar comes out of the phone. If I had the program who knows what I could come up with
http://www.appbrain.com/app/vibraseq:-the-vibrator-app/com.a_droid.vibraseq
Thats a neet little app...but...
Unfortunatly it is pretty useless for Handcent at the moment as its text string is much different. Also it seems it only allows you to create the pattern yourself, was hoping it could use an MP3 or WAV file.
Thanks for the link though, I might be able to make a quick excel formula that can convert that code into the type needed for handcent.

[10/25][Universal!][Windows] Trailblazer101's Custom Framework Maker v6

Trailblazer101's Custom Framework Maker v6
Now with my batch program, creating your own personalized Framework is as simple as 1.2.3!
This batch created by me was created with the "noob" in mind.. Of course this "noob" must already have Java installed, and should have ADB set up correctly
Features:
- Easy-To-Use Framework Chooser (with support for your own framework!)
- Softkey Themer (with easy access to create your own!)
- Custom Softkey Mapping Support (Nexus S included, easy to create and add your own!)
- 1.2.3 Package Creating (and Pushing/Rebooting into Recovery too!*)
- Unique Ticker Clock Color Selection (type in whatever color you can think of!*)
-Weather Icon and/or History Button Removal! (Actually removes the Icons, not just blanks them over!)
-Drag-and-Drop Functionality! (Includes all the tasks that you will ever want to do with an *.apk or *.jar)
-Automatically Checks for Updates! (Warns you if there in an update, displays text about the update, and opens up your browser to this page )
-Option to Set my Program as the Default Action for APKs and/or JARs! (So when you click on an APK and/or JAR, it'll open up my program!)
-Lots of Extras and Bugfixes! (Check it out!)
Developer's Mode! (You can find the option to enable it in Extras -> Program Settings!)
Future Proof! and Bug fixes (The method it now uses to set the Ticker Modifications works no matter what is going on with your Standbymode.xml file!)
Ability to Change Pressed Clock Color!* (You must be on a ROM that supports this to notice any changes...)
NEW: Compatibility with Gingerbread Mods!
NEW: Shows History in the choose file screen!
NEW: Set Update Settings from Program!
The function of this Program to create a new, all your own, Flashable Package that has your own personal touch to it
The wonderful thing about this program is that you can use this with any old framework-res file from any rom/mod package! This means that you can create your own themed framework from DJ20 up to EC07
There are only two stipulations: 1) that you are running a deodexed rom, which means that there are no .odex files located withing the system/framework folder or system/app folder... If you are in doubt about this, a stock rom straight from the store will NOT work! But pretty much any rom found on this website works 2) You have Java installed, and should have ADB properly set up!
Now, let's get down to specific details about the different functions and terminology:
1) Towards the top of the main page is very important! This is an easy view of what settings you currently have applied Always keep an eye out on this, to make sure that you have selected everything that you want to select!
2) Default= Not Changed... Whatever the previous framework had, this option will allow the new framework to have it too... This includes history button/weather icon removal!
This Just In: Add your own Color to the Ticker Clock! This is still in beta stages, so be careful when changing the color... If you see any error messages, DON'T ATTEMPT FLASHING THE PACKAGE... But if it works for you, you have the easy and convenient ability to set any color you want for the Clock in a matter of seconds!
Also, You can now remove the Ticker Buttons on the main screen automatically, within seconds! And the icons are removed, not just covered up!
A new feature recently added was the option for custom Softkey Mapping! This setting can be found under extras, then under Softkey Remapping As of right now there is only the Nexus S remapping, with the original added in in case anyone flashed the Nexus S one and wants to make a new package to go back, but you can make your own easily! Just use the original mapping as a starting point, and go from there
You are more than welcome, and actually encouraged, to add your own! You can copy in your own personal framework, and you can make your own folder with your own Images!
*Notice: Make sure if you do make your own images that the image names are the same as the original! This is important, or the batch will not work!
I have said this before, and I will say this again... Please, for the sake of the community, if you make a package, please upload it I will be more than happy to share it on the front page of one of my Threads, giving you all of the credit
If you have found this Batch helpful, almost to the point of a godsend, you can click that Donate to me button if you want
Download Links Below [NEW: 2/13]:
http://www.mediafire.com/download.php?smmg1gvc7qch3br
awesome tb101
This looks awesome! Wish I had windows though...
Sent from my SCH-I400 using xda premium
Yeah, that sucks xP
And its just getting better!
Almost done adding in automatic hands free ticker clock color editing
Sent from my SCH-I400 using xda premium
I cant seem to find the download?
sent from my XDA phone - its more than a continuum
You got that right. Unless there's another below somewhere else =)
Re-Uploaded! Please download and try it out, and be sure to leave comments/suggestions!
hmmm well tried v3,
adb said successful push, wasnt, did it manually.
ticker color mod created w/o previous error via v2
flashed and after pause on bootup went black and did the vibrating jig.
restoring now...
tested w/o success gonna try with my pulled frameworks, might be because of recent added settings mod.
great job non the less tb101!
Yeah, build v2 didn't actually say an error message when it should've, so that is actually a good thing kinda, haha...
Can you tell me please what settings you applied? Like, what framework, softkeys (if any), auto-create etc etc
BTW: I am on the IRC, that might be faster
yeah i havent done anything to my phone since the restore after the failed flash.
i used the ec07 builtin frameworks, original softkeys, and purple color on ticker lol.
i opted to push in adb and it said it was successfully pushed, but it wasnt.
side note:
been real busy with tune up etc on the cars i own and work. hopefully this weekend i can try again. and fully set up my new to me dual screen xp64 media pc with adobe master suite. partitioned correctly this time to install the droid dev kit in windows and live cd....
updated OP with new version! has Weather Icon and History button removing
finally thanked the post, cause.... it finally worked for me. thanks again.
is there a dif from op and the one i got last night?
Haha, thank God it finally works for you xP you were like the only one xP
And uh, not anything big I don't think, haha... But probably safe to switch to this version anyways, just in case xP
Sent from my SCH-I400 using xda premium
Whenever I choose to remove the ticker history button and push the framework to my phone my phone won't boot afterwards. I've tried twice
Can you look in the log for me and see if anything is error-ish?
And how are you pushing the framework?
And are you using a framework that matches your current set up?
Sent from my SCH-I400 using xda premium
I didn't notice any errors. I pushed it using the script and doing it myself through adb like I always have. Yea I'm using the framework that I pulled from my phone right before using the script.
circa881 said:
I didn't notice any errors. I pushed it using the script and doing it myself through adb like I always have. Yea I'm using the framework that I pulled from my phone right before using the script.
Click to expand...
Click to collapse
that happened to me in v2.
i got it to work finally by reinstalling sdk and jdk (or just jre) and then manually copying my phone frameworks and putting it in the folder with rest. if all is insatlled correctly you should have no worries
ciscogee said:
that happened to me in v2.
i got it to work finally by reinstalling sdk and jdk (or just jre) and then manually copying my phone frameworks and putting it in the folder with rest. if all is insatlled correctly you should have no worries
Click to expand...
Click to collapse
Still didn't work.
circa881 said:
Still didn't work.
Click to expand...
Click to collapse
in irc now... lets see where ur at
I'm in the irc now, let's figure all this out, shall we?

Programming LEDs in sys directory - Openkirin

Currently my openkirin honor 8 omni rom does not have led notifications for apps. I know the led works because it is enabled for different levels of battery.
Since Openkirin is not releasing any updates does anyone know how to program the led trigger to run if ANY app notification is triggered. I am fine with only one color being triggered I just want at least something to trigger.
The code for led triggers is located within the root here: /sys/class/green/trigger
here is the script:
none kbd-scrollock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock Battery-charging-or-full Battery-charging Battery-full Battery-charging-blink-full-solid USB-online Mains-online hisi_bk_battery-online mmc0 mmc1 mmc2 [timer] rfkill0 rfkill1 rfkill2
Does anyone know if this can be modified? I tried modifying for example the torch and the color of the torch was more orangish so I know changing values in the system files does have an effect.
Additionally here is a thread that I found that suggestions you can program different triggers.
https://forum.xda-developers.com/an...-notification-led-function-t3773888?nocache=1
Lastly the build I am running which has been great besides the led issue is: OmniROM Pie Alpha 5.2
Worst case scenario I could download an older ROM and look at the code being used within the same directory. Any suggestions guys, really looking for a copy paste of some code as it seems like it should be easy.
Thanks

Categories

Resources