[Q] JVU Lockscreen text - Galaxy S I9000 Q&A, Help & Troubleshooting

I am running leaked JVU rom with CF-root kernel for 3 days. Excelent so far, great battery, decent speed, very good modem, wifi and gps, one of the best roms I've used so far.
One thing I really don't like is a stupid text on lockscreen "swipe screen to unlock".
Is there a way of removing this text? I don't want to install a 3party lockscreen app.
Thanks!!

Decompiled the framework-res.apk with ADB and "apk manager". In the values's file => open the script.xml with notepad++ for example. Then change or remove the line corresponding to "swipe screen text on lockscreen". To finished recompiled the all and install your new framework-res.apk

did that! no lucky. get bootloop noobies life is hard...

Can you tell me what do you want to make like sentence in place of "swipe screen to unlock"? Or just remove it?
And join me the framework-res.apk stock because i haven't it because i tried

Thank you lolo77_FR for helping me!
I just want no text.
After compile and sign, how do I flash the modified app to phone? Flash with cwm? copy to system? install?
Here is the original file.

I must to let 10 message :-D
---------- Post added at 11:54 PM ---------- Previous post was at 11:34 PM ----------
Hi, sorry for the answer in late,
I changed your framework-res.apk and I put in a zip.
To install using CWM, I haven't tried it but it should work
I link you a restore if it doesn't work
Say me if it's work.
JVU_Framework_Lolo.zip (6.04 MB)
JVU_Framework_Lolo_RESTORE.zip (6.03 MB)

Any possibility to easy change font or date type for lockscreen? It is really ugly.

great work lolo, works like a charm!
thank you very much.

Happy for you that it worked

it works very good for me, thanks
I just lost the percentage battery. I can survive without it

Guys does it still display that stupid "charging" message once the battery drops below 20%?
Thanks.
Don't drink and tapatalk.

nachos3382 said:
it works very good for me, thanks
I just lost the percentage battery. I can survive without it
Click to expand...
Click to collapse
It's present

Fremen567 said:
Guys does it still display that stupid "charging" message once the battery drops below 20%?
Thanks.
Don't drink and tapatalk.
Click to expand...
Click to collapse
exactly what message because there are many
<string name="lockscreen_plugged_in">Charging (%d%%)</string>
<string name="lockscreen_charged">Charged.</string>
<string name="lockscreen_battery_short">%d%%</string>
<string name="lockscreen_low_battery">Connect your charger.</string>
Click to expand...
Click to collapse

lolo77_FR said:
exactly what message because there are many
Click to expand...
Click to collapse
Once battery drops below 20% there's a message " charging " plus battery % even though it is not plugged in.
So I guess it's the first one.
Thanks
Don't drink and tapatalk.

I think you would rather talk about the third because the first it is when you plug the charger
or the last, when you've no battery and your phone written "connect your charger"

lolo77_FR said:
I think you would rather talk about the third because the first it is when you plug the charger
or the last, when you've no battery and your phone written "connect your charger"
Click to expand...
Click to collapse
Thats the message on the screen without the phone being plugged in. "Charging 17 or whatever %" And this happens when phone goes below 20%.
Sent from my GT-I9000 using Tapatalk

Yes, this is bug somewhere in code when battery drops below 20%, there is message on lockscreen "Charging (xx%)" although charger is not plugged in.
Certain part of code is wrongly calling procedure:
<string name="lockscreen_plugged_in">Charging (%d%%)</string>
when battery drops below 20%.
Right procedure which should be called is:
<string name="lockscreen_low_battery">Connect your charger.</string>
or
<string name="lockscreen_battery_short">%d%%</string>
Call function and its reference should be identified.

Try this and say me if it's that you would
Sorry for my english

@lolo77_FR: please tell me how do you make CWM flashable ZIP from framework-res.apk? Do you just ZIP it or? I tried with 7ZIP but file is not CWM flashable. Maybe some special option should be turned on? Thanks.

Take my zip and open it with winrar. If you just want to change framework-res.apk, drag yours in system/framework/ (winrar is going to replace mine).
Also, if you want to make a different ZIP, you must know the place where put your change and create files like in your phone.
Once finished, open updater script (in META-INF/com/google/android/) with Notepad++ and edit it to remove the files that you replace.
The updater script is the most important in your zip, that's its which going to "say" to your phone what to do.
If you have never done, say me what do you edit and link me your zip that I check.

Related

[MOD] Silent Battery Full Notification CWM3 Compatible

*Updated 2/6/11 to be flashable with CWM3 or less*
So, after many nights of being awakened by that annoying battery full audio notification I figured I'd do something about it. Here is a flashable zip that replaces the .ogg file that the system uses with a blank one. Will work on any ROM/File System.
Flash through CWM (v3.x or less):
leatherneck6017 said:
So, after many nights of being awakened by that annoying battery full audio notification I figured I'd do something about it. Here is a flashable zip that replaces the .ogg file that the system uses with a blank one. Will work on any ROM/File System.
Flash through CWM (v2.5.1.2 or less):
Click to expand...
Click to collapse
I did something similar to this in my newest version of my ROM, I took the original sound files and made the extension FILENAME.ogg.bak
This removes the sound but if you want it back you can just remove the ".bak" portion of the file name.
schizopunk said:
I did something similar to this in my newest version of my ROM, I took the original sound files and made the extension FILENAME.ogg.bak
This removes the sound but if you want it back you can just remove the ".bak" portion of the file name.
Click to expand...
Click to collapse
I had originally wanted to make a flashable zip that did just that (and also one to change it back)! But I wasn't able to figure out how to tell 'update-script' to do that .
leatherneck6017 said:
I had originally wanted to make a flashable zip that did just that (and also one to change it back)! But I wasn't able to figure out how to tell 'update-script' to do that .
Click to expand...
Click to collapse
I can help you out if you want, PM me.
leatherneck6017 said:
So, after many nights of being awakened by that annoying battery full audio notification I figured I'd do something about it. Here is a flashable zip that replaces the .ogg file that the system uses with a blank one. Will work on any ROM/File System.
Flash through CWM (v2.5.1.2 or less):
Click to expand...
Click to collapse
Worked like a charm! Now I can charge AND sleep!
Updated
Updated so it's CWM3 compatible.
What is the name of the sound file that makes the battery full notification sound? I'm too sleepy at night to determine which sound just woke me up.
Thanks.
edit: Is it TW_Battery_caution.ogg? I've renamed it with a .bak extension and charging my phone now.
Qukel said:
Is it TW_Battery_caution.ogg? I've renamed it with a .bak extension and charging my phone now.
Click to expand...
Click to collapse
Yep, that's the one.
Thanks this is great. Can also the blue light and notification be disabled cuz I'm getting disconnected every time when tether or usb tether I forgot which one when notification comes on.
Sent from my SPH-D700 using XDA App
Installing Silent BatteryFull Notification CWM3
I am a newbie to all of this, but am sick of being awake all night long with the battery notification waking me up and not being able to go back to sleep.
I found your post and attached file.
I have a droid X - global - motorola.
1. Will this work on this phone?
2. Are there any risks of damaging the rest of the operating system?
3. If no - how do I install this on the phone?
Any help to get me back to sleep would be appreciated.
Thank you
No this will not work on your phone. This is a MOD for the SAMSUNG EPIC 4G and ONLY the SAMSUNG EPIC 4G
EB13 OR DK28?
if DK28 i'd like to request an EB13 please
why does the file have to be replaced
why cant it just be removed using some sorta file explorer on the phone?
further more WTF is the reason for this sound other then to wake people up and/or piss them off? - as far as I know all phones stop charging when they get full so you wont over charge the phone

[DISCUSS] General Questions/Problems with Theming

There seems to be a lot of things that are new when it comes to theming the Nexus S and Gingerbread in general.
A lot of us have run into various problems.
The purpose of this thread is to discuss the problems we're facing and to ask general questions regarding theming.
Issues:
1. [SOLVED] I can't flash anything unless it is the full ROM. I tried jabbawalkee's base zip but no luck.
Solution: Post 12. Thanks to ogdobber.
2. If I make a nand of a themed ROM and try to restore it, I get a bootloop. Unthemed ROM works fine.
Temporary Solution: Don't use ROM Manager to restore your themed Nandroids. Go to recovery and restore the Nand and don't reboot.
Flash the pertinent ROM again without wiping anything, then reboot. Flash the theme again.
3. How to get out of a bootloop? I've been doing the battery pull and volume up + power button does not work during a bootloop.
Solution: adb reboot recovery
4. [SOLVED] Nexus S loses signal after reboot.
After unlocking the bootloader, I used paul's Superboot to get root and used ROM manager to flash the latest CWM. All is well except every-time I reboot, I lose the signal (it shows emergency calls only) and I have to search for available networks in Mobile network settings.
Solution:
In the dialpad enter *#*#4636#*#*
Select phone information
Scroll down to preferred networks
Select "WCDMA only"
Click on Update
You need to re-enter the SMSC Carrier number. For WIND Mobile Canada, SMSC is 16135009000
Android requires you to enter this info in Hex.
Hex = 07916131059000F0
For Mobilicity Canada Hex = 07916174080001F6
In the dialpad enter *#*#4636#*#*
Select phone information
Scroll down to SMSC field, enter 07916131059000F0 and done. Then reboot.
Theming Guide:
Master™ started a guide where we could post useful stuff like the transparent notification bar & anything else in a simple Nexus S (or gingerbread guide...)
https://docs.google.com/document/d/1nZSTpSuFg_ox7cEzn5YZSx3P8nXMgly4Q-AvVRC8Lfw/edit?hl=en#
If you guys want to edit it, PM him so he can add you.
Click to expand...
Click to collapse
Stuck this useful thread
theimpaler747 said:
Stuck this useful thread
Click to expand...
Click to collapse
Thanks a lot!
Issue number 2 has been confirmed by another users. Maybe its a bug in CWM.
sonnysekhon said:
Thanks a lot!
Issue number 2 has been confirmed by another users. Maybe its a bug in CWM.
Click to expand...
Click to collapse
Could be that, I remember on my hero I tried to restore a recovery of my theme and it looped too
sonnysekhon said:
Issues:
1. I can't flash anything unless it is the full ROM. I tried jabbawalkee's base zip but no luck.
2. If I make a nand of a themed ROM and try to restore it, I get a bootloop. Unthemed ROM works fine.
3. How to get out of a bootloop? I've been doing the battery pull and volume up + power button does not work during a bootloop.
4. Nexus S loses signal after reboot.
After unlocking the bootloader, I used paul's Superboot to get root and used ROM manager to flash the latest CWM. All is well except every-time I reboot, I lose the signal (it shows emergency calls only) and I have to search for available networks in Mobile network settings.
Anyone else having this issue? Any fixes?
If you guys can provide some insight, I will be most thankful.
Click to expand...
Click to collapse
In regard to #1, you're right about that. The mount line is incorrect, I believe it needs to be changed to ext4 instead of mtd but I haven't gotten the line just right yet. I contacted PaulOBrien and Koush for assistance but didn't have much luck getting it right.
In terms of #4, I actually didn't have that same issue with his Superboot...but perhaps I overlooked it.
Hopefully we can get a theme zip base to work from. I'm hoping one of the ROM devs can jump in and maybe push us in the right direction. I'm not a code type of guy so I let the coders do the update script stuff . In the meantime, we'll just have to use the full ROM.
Thanks for this thread sonny!
On the Galaxy S I can find the data and wifi icons for the notification bar no problem, but I can't seem to find them anywhere for the Nexus S (along with a couple of others). Sorry if the answer is obvious, but I'm stuck. Could someone please point me in the right direction?
Dean-O said:
On the Galaxy S I can find the data and wifi icons for the notification bar no problem, but I can't seem to find them anywhere for the Nexus S (along with a couple of others). Sorry if the answer is obvious, but I'm stuck. Could someone please point me in the right direction?
Click to expand...
Click to collapse
system/app/SystemUI.apk
Great, thanks.
Found a solution to issue number 4, updated the post.
sonnysekhon said:
Issues:
1. I can't flash anything unless it is the full ROM. I tried jabbawalkee's base zip but no luck.
Click to expand...
Click to collapse
this is a solution to problem 1.
in the META-INF\com\google\android needs to have updater-script and update-binary
the updater-script needs the following line
Code:
run_program("/sbin/busybox", "mount", "/system");
attached is a meta-inf. use it in place of your current one for flashing themes
Thanks ogdobber.
Hi,
I'm a newb to theming. Can anyone point me to the right direction to change my stock news widget to transparent?
Thanks in advance
cyc1120 said:
Hi,
I'm a newb to theming. Can anyone point me to the right direction to change my stock news widget to transparent?
Thanks in advance
Click to expand...
Click to collapse
start with the 2 links below, you basically need to change the transparency level on the widget_background in the drawable(hdpi) folder. but it is not that easy because it is a .9 png (unless you go 100%)
[GUIDE] Want to learn how to theme?
The Ultimate Android Themeing Guide
Here is a thread by rori that he themes a bunch of stuff to transparent smoke http://forum.xda-developers.com/showthread.php?t=731625
I can't for the life of me try to figure out how to make an object in photoshop have a transparent background. I make the background transparent, add the object (eg: a number) and everything looks great. Then once I flatten the image the transparency disappears. What I don't get is up until I flatten it, the whole background is transparent. I'm completely baffled, can anyone offer an idiot some help?
kenvan19 said:
I can't for the life of me try to figure out how to make an object in photoshop have a transparent background. I make the background transparent, add the object (eg: a number) and everything looks great. Then once I flatten the image the transparency disappears. What I don't get is up until I flatten it, the whole background is transparent. I'm completely baffled, can anyone offer an idiot some help?
Click to expand...
Click to collapse
What image is it? And by flatten it, do you mean you are making it an indexed image?
theimpaler747 said:
What image is it? And by flatten it, do you mean you are making it an indexed image?
Click to expand...
Click to collapse
Its a number for a Beautiful widgets clock skin. By flatten it I mean in photoshop CS5 when you make an image with multiple layers (the layers get created automatically when I try to add anything, in this case text) in order to save it as anything but a .psd you have to flatten it (IE force all of the layers into one).
kenvan19 said:
Its a number for a Beautiful widgets clock skin. By flatten it I mean in photoshop CS5 when you make an image with multiple layers (the layers get created automatically when I try to add anything, in this case text) in order to save it as anything but a .psd you have to flatten it (IE force all of the layers into one).
Click to expand...
Click to collapse
Never save it as a psd for edits on android Save it as a .png
theimpaler747 said:
Never save it as a psd for edits on android Save it as a .png
Click to expand...
Click to collapse
Exactly, I'm trying to save it as a png but in order to do that I have to flatten the image which causes the transparency of the background to disappear.

Battery Fix 2.3.x

First thanks to kamma and his thread HERE. This fixed was 100% inspired by his attempt, i only had the benefit of having access to some files he didnt. This thread is based off his, but with the files from 2.3.3 which did not have the jumping issue.
I have NOT tested extensively, but in my limited experience(and that of a few others) this does fix the problem.
Code:
[color=#FF0000]USE THIS SCRIPT AT YOUR OWN RISK[/color]
This is just a proof-of-concept fix. I dont guarantee any improvement, because i have not much time to test it.
I simply replace battery libs and apps extracted from [color=#FF0000]ATT 2.2.3*[/color].
How to:
1. Download [color=#FF0000]CMW_Jug6_batfix.zip*[/color] (bellow in Attached Files)
2. Copy it to sdcard or sdcard-ext
3. Reboot into CWM recovery
5. Click "install zip from sdcard"
6. Choose zip from sdcard
7. Pick the [color=#FF0000]CMW_Jug6_batfix.zip*[/color]
8. Install
9. Reboot
V2 - Removed BatteryManager.apk & BatteryReport.apk as they are not needed
Gonna flash this now and reboot frenzy!
Brilliant, will try immediately! Does it matter if you switch between roms, do you have to re-apply then?
Will test, thanks Jug.
Guess I would need to deodex it for a deodexrom?
Vangelis13 said:
Brilliant, will try immediately! Does it matter if you switch between roms, do you have to re-apply then?
Click to expand...
Click to collapse
Yes as you go between roms you would need to reapply, that is until(if its working 100%) its added to the roms themeselves.
Ronaldo_9 said:
Will test, thanks Jug.
Guess I would need to deodex it for a deodexrom?
Click to expand...
Click to collapse
it has both, but if you want u can remove the 2 .odex files from the zip.
Its not as easy as just removing the odex files.... lol... it has to be actually "deodexed" there is a difference. I will do this if you don't know how...
jug6ernaut said:
Yes as you go between roms you would need to reapply, that is until(if its working 100%) its added to the roms themeselves.
it has both, but if you want u can remove the 2 .odex files from the zip.
Click to expand...
Click to collapse
Sent from my Cyanbreaded Gingered Atrix!
installing now....will report tomorow
sublimejosh2000 said:
Its not as easy as just removing the odex files.... lol... it has to be actually "deodexed" there is a difference. I will do this if you don't know how...
Sent from my Cyanbreaded Gingered Atrix!
Click to expand...
Click to collapse
I recommend this.
Sent from my MB860 using XDA App
Installed at 85% battery life, was thinking it was actually closer to 95% at the time I ran this as I hadn't done much since it was fully charged. Didn't wipe battery stats or anything, it started back up at 84%. Did a few things to see how quickly it would drop, when it came down to 81%, I rebooted and wiped battery stats and davlk cache. Took a while on reboot after those wipes, started up at 80%. Still think it should have been higher than the 85% it started at, so I'm charging up to 100% and running Battery Calibration app. Will edit this post when I get the results, but it's not bouncing around like it was before. Awesome work Jug6!
Edit: Charged it to full charge, wouldn't charge past 98%, so I ran the battery calibration app, restarted, and on restart is said 99% and full charged. It was recommended in the app to fully discharge battery and then fully recharge without interruption. Will try to drain it quickly -> Pandora!
sublimejosh2000 said:
Its not as easy as just removing the odex files.... lol... it has to be actually "deodexed" there is a difference. I will do this if you don't know how...
Sent from my Cyanbreaded Gingered Atrix!
Click to expand...
Click to collapse
I would appreciate it, I won't b able to until around 4cst. Granted I'm running this on an deobexed rom.
/me admits his knowledge of compatibility between deobexed/obexed is very lacking lol
Sent from my MB860 using Tapatalk
Will try it out if enough people give good feedback, lol.
Deodexing... From what I understand so far
jug6ernaut said:
I would appreciate it, I won't b able to until around 4cst. Granted I'm running this on an deobexed rom.
/me admits his knowledge of compatibility between deobexed/obexed is very lacking lol
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
I think I would need some of the 2.3.3 framework to do it though..
Basically,
Each .apk has a "classes.dex" file in it.. when a .apk or .jar for that matter has an .odex file associated with it. whish is the case with the Atrix and other phones too... what has happened is that the "Classes.dex" file has been taken out of the .apk/.jar file and placed in a .odex form. this way it is device spacific and cannot be moddified or replaced using generic .apk/.jar files .. i.e. customized ...
he reason it is "working" for you, is because your phone is the spacific device these files were made for... so it isn't crapping out. At least, i think this is the reason...
In order to run a deodex on these file though, I would need some of the reference files that they are dependant on in order to run the script to do so. hat is the "Boot class file paths" that you see below...
I am glad to see these are seeming to fix the problem though. I will see what I can do, but I am getting errors running the script:
Code:
D:\Atrix\Baksmali>java -jar baksmali-1.2.6.jar -x Ba
Error occured while loading boot class path files. A
org.jf.dexlib.Util.ExceptionWithContext: Cannot loca
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loa
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.ini
5)
at org.jf.dexlib.Code.Analysis.ClassPath.Ini
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFi
at org.jf.baksmali.main.main(main.java:278)
ok tried this out on kens gb rom, started at 96, played a game got it down to 93, rebooted into cwm, wiped dav and batt stats, rebooted, was still at 93. so im letting it get down to 85 or so and see if it keeps. this may be the fix for this. i thank you so much for it working this good jug, and hope it is implemented soon.
i just have one thing to say to jug::
: " ooooh ITS THE JUGGANAUT *****"
i have cherry 0.5b, i go in recovery with 83%, i flash this zip, no wipecache no wipe stats no wipe and when i reboot i have 83%, it's work well, and it work with deodex
I just did the following
- Phone was at 70%, restarted
- Phone then read 90%
- Installed this
- Phone still reads 90%, I will restart at lunch time in a few hours to see if it jumps at all
I am running Kenneth's stock 2.3.4 ROM
Thanks!
ok phone at 87, rebooting.....
edit: phone still at 87, YAY!!!!!!!!
Was at 73 before and after reboot, seems to be fixed so far...
Did the following:
-phone was showing 96% (about 3 hours ago)
-installed this (didn't wipe dalvik cache or battery stats)
-restarted and was showing 96%
-been using the phone for the last Hour
-phone showed 76%
-restarted
-phone is still showing 76%
Great finally with have a working solution
PS:why should I wipe dalvik cache?
Enviado desde mi MB860 usando XDA Premium App
Thanks just flashed this. Battery reads the same after reboot. Hopefully it will keep on working.
Sent from my Motorola Atrix 4g
This seems to be working for me. Battery level persisted through multiple reboots. Flashed over Ken's 4.5 beta.

[Q] Notification LED, blink rate

How can i change the blink rate from the noctification LED?
I would like to see at a glance if I've got a message.
Is it without any third party apps possible ?
My Razr i is rooted and i use the ROM from Omar.
I think it is not possible without third party software. I use lightflow to do this. It works fine on my razr-i with JB rom.
Envoyé depuis mon XT890 avec Tapatalk
Does someone know where to look at in /system? I checked android-policy.jar but didn't find anything in particular.
A hint is needed, then I'm willing to decompile and change the rate.
shaftenberg said:
Does someone know where to look at in /system? I checked android-policy.jar but didn't find anything in particular.
A hint is needed, then I'm willing to decompile and change the rate.
Click to expand...
Click to collapse
If I remember correctly I think I saw something a while back in the values/*xml's of the framework-res.apk. They looked like it corresponded to milliseconds of on and off.
Omar-Avelar said:
If I remember correctly I think I saw something a while back in the values/*xml's of the framework-res.apk.
Click to expand...
Click to collapse
You are right, it is integers.xml
I incorporated the change from 800/3200 to 500/1500 (ON/OFF) in my lockscreen mod:
http://forum.xda-developers.com/showthread.php?p=40230576
If someone needs the original JB-Stock framework-res.apk with the new LED speed (500/1500), grab the attachment. Flash from CWM, or extract framework-res.apk manually.
Enjoy!
Thanks for the quick help.
I have change the framework-res.apk for faster blinking 50/450 and I have adjusted the automatic brightness curve.
After few try and errors to push the framework-res.apk i used the method from "shaftenberg" and build a update.zip file (Thx shaftenberg)
The led is only for Gmail, and missed call alerts quickly but for a Whatsapp-notification the LED is still slow. .... ****
Has someone an idea...
Where inside famework-res is the integers xml located?
Sent from my XT890 using xda psychic app
You have to decompile the apk with apktool. Then you'll find it in /res/values
Dear Bananen, can we have your framework-res.apk ( for faster blinking 50/450 and have adjusted the automatic brightness curve.
for my JB GB stock rom .
Thanks
Daniel 9999 said:
Dear Bananen, can we have your framework-res.apk ( for faster blinking 50/450 and have adjusted the automatic brightness curve.
for my JB GB stock rom .
Thanks
Click to expand...
Click to collapse
Send me your framework-res.apk and i will change it.
I have only a modified Framework-res.apk and i don't know if this work in your Stock-Rom.
Sorry to resurect old topic but I was unable to find framework-res.apk in KitKat (liquidsmooth). Is it removed or is it now under different name? I would like to change it in order to lower led blink interval.
mishaphp said:
...I was unable to find framework-res.apk in KitKat (liquidsmooth).
Click to expand...
Click to collapse
Sorry, but i think you are in wrong Section. This is RAZRi.
RAZRi will get KitKat next weeks/months so nobody knows where to find framework-res.apk in KitKat on RAZRi.
And RAZRi dont have this ROM...
5m00v3 said:
Sorry, but i think you are in wrong Section. This is RAZRi.
RAZRi will get KitKat next weeks/months so nobody knows where to find framework-res.apk in KitKat on RAZRi.
And RAZRi dont have this ROM...
Click to expand...
Click to collapse
Missed the "i". Sorry. Thanks :good:
I recently bought Razr Maxx (XT910) and I am struggling with trying to make notification LED blink faster. I know it's wrong forum, but the method described here should work for me too, shouldn't it?
I am using CM11.
I have modified the framework-res.apk, changed values in integers.xml, recompiled with the apktool without nay errors (but with a warning: "Could not find sources"). Now when I try to replace the original framework-res with my one, I end up with the endless boot animation. Tried two methods of replacing:
1. Manual with ES-Fileexplorer in root mode - I got a reboot immdiately after replacing, so I guess that one didn't went well.
2. Using the reframe script: http://forum.xda-developers.com/showthread.php?t=889963 - it showed a message about too low space somewhere, but I could not see where, because it rebooted the phone (the script did).
Any ideas what I am doing wrong?
Oh, and I have run the reframe script from the terminal in the phone, not through the ADB. I believe it doesn't make any difference.
kaziq said:
I recently bought Razr Maxx (XT910) and I am struggling with trying to make notification LED blink faster. I know it's wrong forum, but the method described here should work for me too, shouldn't it?
I am using CM11.
I have modified the framework-res.apk, changed values in integers.xml, recompiled with the apktool without nay errors (but with a warning: "Could not find sources"). Now when I try to replace the original framework-res with my one, I end up with the endless boot animation. Tried two methods of replacing:
1. Manual with ES-Fileexplorer in root mode - I got a reboot immdiately after replacing, so I guess that one didn't went well.
2. Using the reframe script: http://forum.xda-developers.com/showthread.php?t=889963 - it showed a message about too low space somewhere, but I could not see where, because it rebooted the phone (the script did).
Any ideas what I am doing wrong?
Oh, and I have run the reframe script from the terminal in the phone, not through the ADB. I believe it doesn't make any difference.
Click to expand...
Click to collapse
You've signed the apk?
I've edited my rom without problem.
Examples
PHP:
<integer name="config_defaultNotificationLedOn">750</integer>
<integer name="config_defaultNotificationLedOff">3000</integer>
<integer name="config_notificationsBatteryLedOn">750</integer>
<integer name="config_notificationsBatteryLedOff">3000</integer>
KREAT0R said:
You've signed the apk?
I've edited my rom without problem.
Examples
PHP:
<integer name="config_defaultNotificationLedOn">750</integer>
<integer name="config_defaultNotificationLedOff">3000</integer>
<integer name="config_notificationsBatteryLedOn">750</integer>
<integer name="config_notificationsBatteryLedOff">3000</integer>
Click to expand...
Click to collapse
Thanks you very much! I haven't signed the apk, because there was no such information in the guides I used then. But now I have searched for the apk signing and it turned out (also omitted in guides) that I just need to copy the signatures from the original apk. When I did that it worked!
However, the led blink problem still exists, as my phone seems to ignore the modified values. But for that I will better make a new topic in the right forum.

[Q] Backlight of Softkeys

Hi there!
I want to disable the backlights of the softkeys, without installing an ad-filled apk.
I have installed Slimrom 4.3 from maclaw.pl and the setting to turn backlight off is invisible.
If you go with an rooted file explorer to /sys/class/leds/brightness and switch the value to 0, the backlight immediately turns off.
But if u restart the phone the value is changed everytime to 1 and the Backlight is back on.
So i thought i could write a script, that do this job for me., everytime i start my phome. The script is in the attachments.
Can anyone check if the script is okay? I dont want to brick my phone
And Do you know where the autostart folder for android devices is (like in windows), ive read something about kernel init or something.
And if i want to make a flashable zip out of this script, How to make it? because i dont want everytime i flash an update to work in the system.
Thanks for your time
Go to system settings-buttons-backlight & disable it. If that option it's not present on slim, simply download this. Don't mess with any system file cause this ain't a xperia phone:laugh:
Thanks, but my device is not listed under supported devices in this app and i dont want to keep a 3rd party app running that increases the battery drain and takes ram away. i prefer a little script at system start.
And no the option is not listed in the settings.
kinqme said:
Thanks, but my device is not listed under supported devices in this app and i dont want to keep a 3rd party app running that increases the battery drain and takes ram away. i prefer a little script at system start.
And no the option is not listed in the settings.
Click to expand...
Click to collapse
FYI, I'm using bln app & doesn't drain my bat nor ram (on cm11). Have a nice day
Okay i found that folder it is localized in /system/etc/init.d
I copied the file to there and it is workimg, on every restart the buttons keeps off.
But how to make a flashable zip with that file? is it enough to create a zip with the folder system and its contents are only th underfolder and the file?
kinqme said:
Okay i found that folder it is localized in /system/etc/init.d
I copied the file to there and it is workimg, on every restart the buttons keeps off.
But how to make a flashable zip with that file? is it enough to create a zip with the folder system and its contents are only th underfolder and the file?
Click to expand...
Click to collapse
Search on xda how to make it & if you sure it works I'll add it to my FAQ
Simple flashable fix for that http://www.mediafire.com/?dcq8si0xa1s348j
PolishVodka said:
Simple flashable fix for that http://www.mediafire.com/?dcq8si0xa1s348j
Click to expand...
Click to collapse
I asume it works on all maclaw roms (cm11) too, right!? Can I add it to my FAQ here. Of course I'll give you the proper credits on the special thanks section.
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Can I add it to my FAQ?
Of course then other people who has the same problem can solve this problem
kinqme said:
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Click to expand...
Click to collapse
Don't think so is good script, because when you got a notification than BLN turn on lights again and will be stay it on to second boot.
sorry my very first try.
i will look on my device, if this happens to me too
The only problem i had was with whatsapp, if u get a message there, the light keeps on till restart.
But in settings - notifications - lights in whatsapp u can turn off the notification lights and then the problem is solved. ( standard is white )
Tahnk you polishwodka
kinqme said:
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Click to expand...
Click to collapse
Thanks

Categories

Resources