Related
Hey guys,
After realizing how fantastic the tab is after switching to 182 dpi I figured I'd fix up some of the apps to fit better.
Thanks to Xan from this thread for the quick tool and batch script to make the changes.
These apks are from Overcome 1.6.3 and should work on other dpi settings as well.
Instructions, push the new files to /system/app after mounting the system rw, or using root explorer..
*Edit May 4th* I've attached an updated Email.apk as well
Disclaimer:The Standard disclaimer applies, I'm not responsible if this causes boot loops, any other issues with your Tab, or giant meteors to crash into your car.Backup the files you are replacing first.
So u did rename framework-res to 1.apk and twframwork to 2.apk.. decompiling phone & contacts worked for me. Give me a howl if it didn't work and ill zip up mine and send it..
oh im editing overcome145 - not tested 163
just a friendly tip, might be a idea to use frameworks from a stock 2.2.1 rom instead from a moddified rom, might be a glitch there..
yup, sure did.
*edit* think I've got it now, I compiled the new apktool and started fresh..
Can you post screen shots
I tried, but ddms doesn't capture them correctly. The change makes the apps pretty much look exactly like they do at 240dpi.
can you change the email app too please? when i go into the landscape 2 pane mode, the left pane doesnot appear correctly.
thanks
Yeah for sure. Ill have a look and fix it tomorrow..
Sent from my tab
coolkat said:
can you change the email app too please? when i go into the landscape 2 pane mode, the left pane doesnot appear correctly.
thanks
Click to expand...
Click to collapse
Added to original post.
Does this mean u corrected the popup incall dialer by doing adjustments to Contacts,apk?
see my ex. pic
[img=http://img847.imageshack.us/img847/4445/dscf5500.th.jpg]
[img=http://img848.imageshack.us/img848/3275/dscf5499u.th.jpg]
[img=http://img195.imageshack.us/img195/7884/dscf5498s.th.jpg]
Im still fiddling with this, so please tell me i can stop
Thanks.
Noticed that the statusbar disappears in the email app, when i go into landscape.
How about modifying the camera app?
I didnt find the stock launcher too bad. Had to switch it though, after i changed density. Is that modifyable too?
Would be nice.
SGT OVC 1.6.4
Email fc I'm on overcome 1.4.7 hope this helps
Mr. mssmison is only adjusting for overcome16x, mixing 2.2 with 2.2.1 will probably give errors..
biopsin said:
Mr. mssmison is only adjusting for overcome16x, mixing 2.2 with 2.2.1 will probably give errors..
Click to expand...
Click to collapse
not Mr... just mssmison Yeah that's exactly right. This would only work on 2.2.1 base roms.
biopsin said:
Does this mean u corrected the popup incall dialer by doing adjustments to Contacts,apk?
see my ex. pic
[img=http://img847.imageshack.us/img847/4445/dscf5500.th.jpg]
[img=http://img848.imageshack.us/img848/3275/dscf5499u.th.jpg]
[img=http://img195.imageshack.us/img195/7884/dscf5498s.th.jpg]
Im still fiddling with this, so please tell me i can stop
Click to expand...
Click to collapse
It never bothered me enough to fix, but it should be easy enough. I'll give it a shot for you.
{Diemex} said:
Thanks.
Noticed that the statusbar disappears in the email app, when i go into landscape.
How about modifying the camera app?
I didnt find the stock launcher too bad. Had to switch it though, after i changed density. Is that modifyable too?
Would be nice.
SGT OVC 1.6.4
Click to expand...
Click to collapse
I might look at the camera app, but isn't the only thing that's off the preview button box around the image?
mssmison said:
not Mr... just mssmison
Click to expand...
Click to collapse
Sorry i allways go polite when smoking
I'll give it a shot for you.
Click to expand...
Click to collapse
not for me...for the community
Tnx man
mssmison said:
I might look at the camera app, but isn't the only thing that's off the preview button box around the image?
Click to expand...
Click to collapse
Yep but maybe you could also get it to work on lower densities
SGT OVC 1.6.4
Phone might be a tough one, any time I adjust the xml's at all it just crashes out the phone app when you end a call, thereby restarting the modem.. Best temp fix I can think of is to adjust the png for the end call button to be transparent on the right hand side.
I'll keep plugging away at it though.
Noticed it too, tested just changing background to black, and it would behave the same, fc on inn or out going.??
mssmison said:
Phone might be a tough one, any time I adjust the xml's at all it just crashes out the phone app when you end a call, thereby restarting the modem.. Best temp fix I can think of is to adjust the png for the end call button to be transparent on the right hand side.
I'll keep plugging away at it though.
Click to expand...
Click to collapse
off topic what xml editor are you using? every editor i use to open xml just crashes
i use notepad++ mini version.
http://notepad-plus-plus.org/release/5.9
As title says, I'm looking for only one more feature from stock kernel - LED notification. Now, there are lot of kernels with a whole lot of (for me) unneeded modifications, and only thing they give me - reboots! I used a lot of them, and most will eventually give me some reboot (I'm talking about GB kernels), now, I switched to stock ICS + stock kernel, and I used my phone for a few days without any problem, so I'm thinking about keeping it as stock as possible.
Anyways, is it possible to manually edit stock kernel (I know it is, but is it easy for n00b like me), and only add BLN to it, and keep it stable? Can someone point me to some n00bish tutorial on how to do that, or maybe someone can add that option and compile it for some of us that likes it?
And, no OC, no any other thingies, just BLN...
Thanks...
same here, why I flash another kernel is only for BLN..
You may wanna give this a try.
suksit said:
You may wanna give this a try.
Click to expand...
Click to collapse
Thanks mate... Will try it...
You can also use NOLED with no icons enabled and the dot colors set to black. this keeps the screen off (on the NS) and only lights up the buttons. No root, no flashing kernels.
my display turns on with those settings. you dont actually see something, but the backlight (or something) gets activated
I've put together a stock kernel with just BLN/BLD.
http://forum.xda-developers.com/showthread.php?t=1420542
terryhau said:
I've put together a stock kernel with just BLN/BLD.
http://forum.xda-developers.com/showthread.php?t=1420542
Click to expand...
Click to collapse
With a bit of delay, thanks for your kernel, just what I was looking for...
BLN is currently implemented in cyanogenmod / vurrutrom as a modification of the ROM (opensource liblights), not the kernel. Therefore it will work on every kernel.
You need the lights.latona.so file from cyanogenmod and must rename it to lights.omap3.so.
The correct, renamed file is attached for your convenience.
Make a backup of /system/lib/hw/lights.omap3.so and replace it with the attached file.
After that, change the permissions to match all other files in the folder and reboot.
Changing permissions on a terminal:
cd /system/lib/hw
chmod 644 lights.omap3.so
reboot bootloader
Click to expand...
Click to collapse
if you want to use a root explorer, permissions for the file are rw-r--r--
Note that most Google apps and Facebook do support led notifications but touchwiz apps don't...
Further, if you are using any touchwiz apps, then you will need Light Flow from the market, to have notifications of those apps. Adjust Light Flow settings to your liking, but do not enable omap_bl control.
About Lightflow config:
On General settings > enable button backlight control
On notifications > enable button backlight LED and leave brightness at 255
Use led flash-rate very slow or always on (works best for me)
Works perfect with whatsapp on KPQ, thanks!
Thanks !!!
Tried it when you posted @bck kernel thread.
Good you opened a new thread.
Thanks. Working great.
Can you give some details/instructions about light flow settings? I'm finding it a bit difficult to set up.
Thank You Pibe, working in UBKPE (Gb Argentina)
works for kp3, Many thank!!
would this work in miui rom ??
prince_venom said:
would this work in miui rom ??
Click to expand...
Click to collapse
yes, it should work... and as miui doesn't have touchwiz apps, lightflow isn't needed
alfrix said:
yes, it should work... and as miui doesn't have touchwiz apps, lightflow isn't needed
Click to expand...
Click to collapse
This file is already included in miui.
Sent from my Sony S-LT26i
alfrix said:
BLN is currently implemented in cyanogenmod / vurrutrom as a modification of the ROM (opensource liblights), not the kernel. Therefore it will work on every kernel.
You need the lights.latona.so file from cyanogenmod and must rename it to lights.omap3.so.
The correct, renamed file is attached for your convenience.
Make a backup of /system/lib/hw/lights.omap3.so and replace it with the attached file.
After that, change the permissions to match all other files in the folder and reboot.
Changing permissions on a terminal:
if you want to use a root explorer, permissions are rw-r--r--
Note that most Google apps and Facebook do support led notifications but touchwiz apps don't...
Further, if you are using any touchwiz apps, then you will need Light Flow from the market, to have notifications of those apps. Adjust Light Flow settings to your liking, but do not enable omap_bl control.
About Lightflow config:
On General settings > enable button backlight control
On notifications > enable button backlight LED and leave brightness at 255
Use led flash-rate very slow (works best for me)
Click to expand...
Click to collapse
This is really very nice. Thanks for the explanation it would be really usefull.
Will this add to the extra battery consumption? Or no noticable effects on battery? But this is really good work.
Sent from my GT-I9003 with Beats Audio using xda premium
erik07 said:
Will this add to the extra battery consumption? Or no noticable effects on battery? But this is really good work.
Sent from my GT-I9003 with Beats Audio using xda premium
Click to expand...
Click to collapse
Doesnt really affect the battery as the lights hav minimum usage.Im using miui and it uses this mod and I dont really see any difference in battery consumption.
devilhell007 said:
Doesnt really affect the battery as the lights hav minimum usage.Im using miui and it uses this mod and I dont really see any difference in battery consumption.
Click to expand...
Click to collapse
Thanks, ill try it myself and see.
Sent from my GT-I9003 with Beats Audio using xda premium
i tried it. no doubt, it works, but just for my opinion, after setting the config provided in the first post, the bln is not that real time, sometimes it just doesn't let you be notified. the bln is not consistent in other words. but this is great work. maybe there are some files that need to be configure, and work with lights.omap to make this mod consistent and reliable when it comes to notifying the user.
I am still saying that it will be great if we able to make bln mod in kernel itself. There are lots of apps which are available in market but it requires bln kernel mod. If we able to make it then easily we can change the blinking rate of bln like galaxy S users have done since age ago.
vishal24387 said:
I am still saying that it will be great if we able to make bln mod in kernel itself. There are lots of apps which are available in market but it requires bln kernel mod. If we able to make it then easily we can change the blinking rate of bln like galaxy S users have done since age ago.
Click to expand...
Click to collapse
i'll see if it can be implemented on our kernel, but don't hold your breath.
can someone help me this i not working for me .
my settings
general
light flow enabled
direct mode off
notification method cycle all fast
button back light - control
omap bl control off
notifiaction
light enabled
led flash rate very slow
button backlight led solid
button backlight brightness 255
devilhell007 said:
Doesnt really affect the battery as the lights hav minimum usage.Im using miui and it uses this mod and I dont really see any difference in battery consumption.
Click to expand...
Click to collapse
here's where i read the thread of bln control saying that blinking backlight (for notifications) can consume battery than static backlight (just for lighting the button when pressing backlight buttons).
http://forum.xda-developers.com/showthread.php?t=823922
but i really hope we can have this in every kernel and also making it as like it doesn't consume battery life at all, and also real time and consistent notifications.
@ alfrix
I just read somewhere that cm 7.2 has released with some ICS features backported to GB. One of it is ICS rotation animation. Like how we have ported bln feature can we take a file from cm 7.2 which is responsuble for ICS rotation so that we can have ICS rotation animation in out stock GB formwares also???
vishal24387 said:
@ alfrix
I just read somewhere that cm 7.2 has released with some ICS features backported to GB. One of it is ICS rotation animation. Like how we have ported bln feature can we take a file from cm 7.2 which is responsuble for ICS rotation so that we can have ICS rotation animation in out stock GB formwares also???
Click to expand...
Click to collapse
It needs a lot of framework changes: look here for that reason every firmware version must be modded individually or a lot of problems will arise...
For now i'm looking forward to port full bln (kernel mod + this liblights) but i have little time because of college... you may try to decompile framework-res and make the changes yourself... everyone starts somewhere
I recently installed a new 4.3 rom and I love it except they don't include an option to disable the battery charging light. Is there anyway to disable this by editing rom files ect?
ajh305 said:
I recently installed a new 4.3 rom and I love it except they don't include an option to disable the battery charging light. Is there anyway to disable this by editing rom files ect?
Click to expand...
Click to collapse
If you are running CM 10.2, then go to System Settings...Display and lights...Battery light. Uncheck it. Not sure where it is on other roms,
gr8nole said:
If you are running CM 10.2, then go to System Settings...Display and lights...Battery light. Uncheck it. Not sure where it is on other roms,
Click to expand...
Click to collapse
I am running a ported rom called dirty unicorn. It is a pretty slick rom but it has no option to disable the battery light anywhere I have combed through every setting. So I was wondering if there is a system file I could modify to just disable it.
ajh305 said:
I am running a ported rom called dirty unicorn. It is a pretty slick rom but it has no option to disable the battery light anywhere I have combed through every setting. So I was wondering if there is a system file I could modify to just disable it.
Click to expand...
Click to collapse
i dont know about that, but there is an app called light flow that controls the led. i never tried it so i don't know its capabilities, but you could look @ it and see.
ajh305 said:
I am running a ported rom called dirty unicorn. It is a pretty slick rom but it has no option to disable the battery light anywhere I have combed through every setting. So I was wondering if there is a system file I could modify to just disable it.
Click to expand...
Click to collapse
I saw you over at that other forum! I've been going mad trying to find a solution. Try under "sound -> quiet mode" a bit of deep googling found that as a potential hiding spot for the setting. (I'm back on stock and don't want to flash DU without knowing if this can be disabled.) I poked around in the DU build.prop, and wasn't able to find anything there either.
bweN diorD said:
i dont know about that, but there is an app called light flow that controls the led. i never tried it so i don't know its capabilities, but you could look @ it and see.
Click to expand...
Click to collapse
i actually tried light flow and several other apps like that and they don't seem to be able to override the roms default.
moonrakerone said:
I saw you over at that other forum! I've been going mad trying to find a solution. Try under "sound -> quiet mode" a bit of deep googling found that as a potential hiding spot for the setting. (I'm back on stock and don't want to flash DU without knowing if this can be disabled.) I poked around in the DU build.prop, and wasn't able to find anything there either.
Click to expand...
Click to collapse
I had looked in there and have it enabled but even though notifications are disabled at night the battery light is not so thats a no go. Ive even been trying to merge the settings from a rom that had this option into the settings apk in this rom but haven't been able to get it to work. I looked in the build prop as well with no luck. I did find something in the sys/class/leds folder but it won't let me edit the charging folder even with root.
ajh305 said:
I had looked in there and have it enabled but even though notifications are disabled at night the battery light is not so thats a no go. Ive even been trying to merge the settings from a rom that had this option into the settings apk in this rom but haven't been able to get it to work. I looked in the build prop as well with no luck. I did find something in the sys/class/leds folder but it won't let me edit the charging folder even with root.
Click to expand...
Click to collapse
Those class files look really promising.
I was able to open them using ES file explorer on stock, looks like you could just modify the max_brightness one to 0, or something similar.
moonrakerone said:
Those class files look really promising.
I was able to open them using ES file explorer on stock, looks like you could just modify the max_brightness one to 0, or something similar.
Click to expand...
Click to collapse
I tried that but couldn't get the values to stick. I even tried deleting the charging folder but every operation fails.
I was able to Enable the charging light on stock using those files. Interesting that motorola has that feature kind of built-in with no front-end access.
What a bummer that it won't work for you. This weekend I think I'll flash back to DU and poke around.
moonrakerone said:
I was able to Enable the charging light on stock using those files. Interesting that motorola has that feature kind of built-in with no front-end access.
What a bummer that it won't work for you. This weekend I think I'll flash back to DU and poke around.
Click to expand...
Click to collapse
Ok let me know if it worked for you. I flashed back to Validus a few days ago I may try again this weekend as well.
Install "Light Manager" from the market. Most stable notification light app out there, best thing of all its FREE.
Problem solved.
Sent from my DROID RAZR HD using xda premium
Hi there, I've about had it with the stock camera app automatically boosting brightness when it's launched. It's a nice feature when you're outside, but if you're inside it's way too bright. It makes scenes look brighter than they really are, causing under-exposed photographs. And it's super distracting in a dark room. I've spent a few hours looking through the APK and can't find a setting that would be controlling this auto-brightness behavior. But I'm not an experienced Android dev.
Almost all other camera apps have a toggle for this, but not the S7's.
I also spent a couple weeks fooling with Tasker to disable auto-brightness when the app is launched, the re-enable when exiting. The problem is the display brightness level is not consistent when AB is toggled off and sometimes the screen is way too dark or way too bright. Example:
1. Inside, display at 20% brightness.2. Launch camera app, Tasker disables auto-brightness, display stays at 20%.3. Exit camera app, Taske enables auto-brightness, display still at 20%.4. Go outside, display increases to 75% brightness.[here's where it gets whacky]
5. Launch camera app, Tasker disables auto-brightness, display drops to 20%.It's like the OS remembers the last manual brightness setting for an app. If there were a way in Tasker to freeze the brightness level before display auto-brightness, that'd be ideal. But I can't figure that out.
So, I'm requesting help from a developer(s) to find a solution. Either a foolproof Tasker recipe, or a modification to the camera app itself. Solution found. Read thread.
If you want payment for your efforts (assuming you find a solution), I'm happy to do that! :good:
Optimistically bumping this thread. It sucks that Samsung's closed-off everything has chased away so many devs from this device.
Ignore
Look in this file.
Camera.smali - For auto brightness change - 0x78 (120) to 0x1.
120 is the lower limit where brightness override kicks in.
I found the actual pictures the S7 takes are bright anyway so if the viewfinder is dull the actual image is brighter anyway. So I've left mine.
Just disable auto brightness when dark viewfinder is needed. It works even on the lowest level when auto brightness is disabled.
zeroprobe said:
Look in this file.
Camera.smali - For auto brightness change - 0x78 (120) to 0x1.
120 is the lower limit where brightness override kicks in.
I found the actual pictures the S7 takes are bright anyway so if the viewfinder is dull the actual image is brighter anyway. So I've left mine.
Click to expand...
Click to collapse
AWESOME. Where/How can I find this file to edit? I couldn't find it packaged in the APK but maybe I missed it...
mrmattolsen said:
AWESOME. Where/How can I find this file to edit? I couldn't find it packaged in the APK but maybe I missed it...
Click to expand...
Click to collapse
Make sure you have decompiled the APK. Good tool is AndroidMultiTool.
Might need to also copy the latest apktool to AndroidMultiTools Program Files directory.
zeroprobe said:
Make sure you have decompiled the APK. Good tool is AndroidMultiTool.
Might need to also copy the latest apktool to AndroidMultiTools Program Files directory.
Click to expand...
Click to collapse
I've tried this, but decompiling the APK does not reveal any smali files. What am I doing wrong? I tried checking "Use Baksmali" but get this error:
The system cannot find the path specified.
Exception in thread "main" org.jf.dexlib2.DexFileFactory$DexFileNotFound: zip file SamsungCamera5.apk does not contain a classes.dex file
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:94)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:78)
at org.jf.baksmali.main.main(main.java:292)
Click to expand...
Click to collapse
mrmattolsen said:
I've tried this, but decompiling the APK does not reveal any smali files. What am I doing wrong? I tried checking "Use Baksmali" but get this error:
Click to expand...
Click to collapse
Are you decompiling your own Camera? This is probably an odexed rom.
The Camera needs to be deodexed, alternatively you can use my modded camera.apk here which should decompile.
http://forum.xda-developers.com/galaxy-s7/themes/zero-camera-mod-v1-0-increased-bitrates-t3439176
zeroprobe said:
Are you decompiling your own Camera? This is probably an odexed rom.
The Camera needs to be deodexed, alternatively you can use my modded camera.apk here which should decompile.
http://forum.xda-developers.com/galaxy-s7/themes/zero-camera-mod-v1-0-increased-bitrates-t3439176
Click to expand...
Click to collapse
Thanks so much. I used that apk, decompiled, found the smali file and made the edit. I recompiled and planned to use it to install your bitrate mod. However, I cannot rename the SamsungCamera5.odex or its folder -- access denied. Am I stuck? I've replaced the apk with the modded one, but I can't rename the odex. Can't replace media_profiles.xml either -- access denied too.
mrmattolsen said:
Thanks so much. I used that apk, decompiled, found the smali file and made the edit. I recompiled and planned to use it to install your bitrate mod. However, I cannot rename the SamsungCamera5.odex or its folder -- access denied. Am I stuck? I've replaced the apk with the modded one, but I can't rename the odex.[/Q
Do you use ES file explorer, you need to enable root explorer then click root explorer and set /system to rw mount
Click to expand...
Click to collapse
zeroprobe said:
mrmattolsen said:
Thanks so much. I used that apk, decompiled, found the smali file and made the edit. I recompiled and planned to use it to install your bitrate mod. However, I cannot rename the SamsungCamera5.odex or its folder -- access denied. Am I stuck? I've replaced the apk with the modded one, but I can't rename the odex.[/Q
Do you use ES file explorer, you need to enable root explorer then click root explorer and set /system to rw mount
Click to expand...
Click to collapse
I was using Solid Explorer. Could access some files. For example, was able to replace the camera apk, but other was denied. Tried ES too and can't enable Root Explorer. I'm not rooted, so am I screwed?
-edit- I take that back. Can't replace the camera apk either. Bummer. I guess that's that.
Click to expand...
Click to collapse
mrmattolsen said:
zeroprobe said:
I was using Solid Explorer. Could access some files. For example, was able to replace the camera apk, but other was denied. Tried ES too and can't enable Root Explorer. I'm not rooted, so am I screwed?
Click to expand...
Click to collapse
Yes you need to be rooted to change camera. I doubt the camera.apk has been replaced as you are not rooted. The only other way is to flash through custom recovery example TWRP
Click to expand...
Click to collapse
zeroprobe said:
mrmattolsen said:
Yes you need to be rooted to change camera. I doubt the camera.apk has been replaced as you are not rooted. The only other way is to flash through custom recovery example TWRP
Click to expand...
Click to collapse
Dang it. My hopes and dreams crushed. Thanks for you help anyways.
I guess I need to revisit the Tasker recipe...
Click to expand...
Click to collapse
Alright @zeroprobe, I rooted and used your instructions to modify the app. Works like a charm! Brightness now stays the same as my screen brightness. And now indoor photos are a million times better. I appreciate your help very, very, much. Sending a little PayPal love your way. Thank you for help!
mrmattolsen said:
Alright @zeroprobe, I rooted and used your instructions to modify the app. Works like a charm! Brightness now stays the same as my screen brightness. And now indoor photos are a million times better. I appreciate your help very, very, much. Sending a little PayPal love your way. Thank you for help!
Click to expand...
Click to collapse
Thanks a lot, appreciated !
Hi there!
The brightness issue with the camera app annoys me as well but unfortunately I have no rooted phone.
But is it possible that someone (e.g. @mrmattolsen) can send me the modified camera apk I can install? (my camera app version is 5.0.88) Will it work that way? ... and of course I would also send some appreciation via PayPal for your effort
best regards, Tom