Hidden Goods - 7" Kindle Fire HD Themes and Apps

Note: This is NOT the regular hidden (crappy) camera app
1. Get Rooted
2. Remove (temporarily) your password (i made the mistake of not doing this..grrr)
3. Grab ROM Toolbox (lite will work)
4. Open ROM Toolbox (yes... allow Superuser)
5. Slide/tab over to performance and select build.props Tweaks
6. Slide your LCD Density down to 200. VM Heap stays same (mine is 256m)
7. Hit apply at the bottom...and reboot.
8. When it comes up at lockscreen...slide finger left and away from lock...
9. Magically, there is now a Camera icon.
10. This camera has options...video, upload to youtube, etc...
* I have paid the 15$ to remove ads...so maybe if yours does not have the same result.
So, what gives here? Is this the picture/video app that runs on the upperclass large Kindle Fire HDs?
Did I just miss this in the update?
I read all these articles about camera...and then this is here the whole time.
When you return to stock LCD Density it goes away. WTF?
I hope someone finds this useful.
Reference step # 2 - If you are wondering, the reason that I even found this, was cause I was playing with ROM Toolbox...and I changed my LCD Density the WRONG way to 300 (DONT DO THIS). Then I could not even login with my normal password, cause all of the keys were not visible. So I had to sys restore...all lame.

cyates98 said:
Note: This is NOT the regular hidden (crappy) camera app
1. Get Rooted
2. Remove (temporarily) your password (i made the mistake of not doing this..grrr)
3. Grab ROM Toolbox (lite will work)
4. Open ROM Toolbox (yes... allow Superuser)
5. Slide/tab over to performance and select build.props Tweaks
6. Slide your LCD Density down to 200. VM Heap stays same (mine is 256m)
7. Hit apply at the bottom...and reboot.
8. When it comes up at lockscreen...slide finger left and away from lock...
9. Magically, there is now a Camera icon.
10. This camera has options...video, upload to youtube, etc...
* I have paid the 15$ to remove ads...so maybe if yours does not have the same result.
So, what gives here? Is this the picture/video app that runs on the upperclass large Kindle Fire HDs?
Did I just miss this in the update?
I read all these articles about camera...and then this is here the whole time.
When you return to stock LCD Density it goes away. WTF?
I hope someone finds this useful.
Reference step # 2 - If you are wondering, the reason that I even found this, was cause I was playing with ROM Toolbox...and I changed my LCD Density the WRONG way to 300 (DONT DO THIS). Then I could not even login with my normal password, cause all of the keys were not visible. So I had to sys restore...all lame.
Click to expand...
Click to collapse
What? I smell fake build prop
Sent from my KFTT

uhhhh no
dank101 said:
What? I smell fake build prop
Sent from my KFTT
Click to expand...
Click to collapse
Thin has nothing to do with any build...all that it does is change the display. Font to pixel ratio or some crap. I just find it flippin interesting that it actually displays a diff unlock screen. Then, when set back, it reverts.
Why doesn't my stock unlock screen have a camera Icon?

Very nice Lockscreen now. Do you know what kind of entries we can change in the prop tweaks?
But when i change the LCD Value, the Auto Brightness Buttons in the Notificationbar are unvisble and the Brightness are very high.
Sent from my Kindle Fire HD, rooted, Whatsapp, GoLauncher|HD and Play Store

Camera in lock screen
matzew said:
Very nice Lockscreen now. Do you know what kind of entries we can change in the prop tweaks?
But when i change the LCD Value, the Auto Brightness Buttons in the Notificationbar are unvisble and the Brightness are very high.
Sent from my Kindle Fire HD, rooted, Whatsapp, GoLauncher|HD and Play Store
Click to expand...
Click to collapse
What a surprise and how odd to see the camera in the lock screen (I didn't know existed). I too am rooted and using the Go Launcher EX HD and have been using the ICS camera from market.:laugh:

I liked this but it ended up messing up my keyboard, so I went back to normal screen density.

I changed the Value to the standard too because the Autobrightness wont working
Sent from my Kindle Fire HD, rooted, Whatsapp, GoLauncher|HD and Play Store

I'm keeping dpi @210 - it provides more benefits then problems - now all apps behaves as a tablet version in contrast to phablet @240. I'm not using the native keyboard anyway so I don't mind if it messed up after the dpi change. The only problem - black lock screen, but it's more funny with a camera icon on it.

Related

[Solved] TS FREEZE FIXED / Orientation offset calibration & G-SENSOR CALIBRATION FIX

[Solved] TS FREEZE FIXED / Orientation offset calibration & G-SENSOR CALIBRATION FIX
UPDATE: (13/11) A patch has been developed that completely eliminates TS FREEZE for good.
Thanks to mdebeljuh and jdivic, I tested it and it seems to be working perfectly.
Check post 140 on page 14:
http://forum.xda-developers.com/showpost.php?p=9194473&postcount=140
UPDATE: (20/11)A new patched 8.2 kernel without logging (better for daily use) is available.
Check post 234 on page 24:
http://forum.xda-developers.com/showpost.php?p=9304396&postcount=234
-----
EDIT: If you did autocalibration and messed your g-sensor, read post 10 & 11 to see a fix for it. (before going through post 1)
EDIT 2: Freezes of sensors and touch screen seem to be related to offset values. See post 10 & 11
Post 1 is for orientation offset. Check post 10 & 11 for g-sensor and ts freeze fix.
----
If your orientation is off when you lay your phone on a level surface and can't calibrate it in Android (because many people found it gets corrupted after auto calibration), this is one way to do so. (Winmo g-sensor calibration does not seem to affect android orientation)
Install an app that displays sensor information along with pitch and roll. (such as SensorDebug from Android market)
Put your phone on a level surface such as the floor or a table.
Note your pitch and roll values.
Use rootexplorer or similar file manager to edit /data/misc/AK8973Prms.txt file. (open in text editor) (For ASTRO CHECK POST 70 in page 7)
You will see AOFFSET.x and AOFFSET.y at the bottom. (May be on top if you autocalibrated previously)
y affects pitch and x affects roll, there is about 4 to 1 ratio.
What you are trying to do is make pitch and roll 0 with minimum flicker.
Press and hold home button to switch between rootexplorer and sensordebug. Your changes will be reflected in realtime (with most builds). Go back and forth a few times to get perfect result. (You can press and hold home button to go back and forth) If you think changing values don't have an affect, try to temprorarily change AOFFSET.x=90 and return to your app. When phone is on the table, your leveling bubble or pitch/roll must be way off. This way you can see if with your build changes are reflected in realtime or not. If not try restarting, use different sensor app and give feedback please. (After that revert AOFFSET.x to 0 or other value your want to fix back orientation)
For example:
If pitch is 3 and roll is -1
you may start by
AOFFSET.x=4
AOFFSET.y=-12
Then adjust with 1 increments to get rid of flicker.
It is best to adjust one value at a time.
EDIT: IF YOU WANT TO CALIBRATE Z AXIS, CHECK POST 61 in page 7
Calibrated AOFFSET values for my phone are x=2 y=-9 z=12
You can use gpsstatus or bubble app (to find bubble app search the market for bz.ktk.bubble and enable "show angle" from bubble apps settings.) for visual check of orientation calibration. Because of the protruding camera lens of hd2, there can be 1 degree difference between sideways and normal orientation. (It seems you can adjust in about 0.25 degree increments by each 1 increment of AOFFSET and compansate by lowering AOFFSET=y by 2 that gives 0 degrees in both normal and sideways orientation in bubble app)
- You don't need to reboot for most builds (if there is no affect check post 11)
- You don't need to kill/restart akmd
- You don't even need to close sensor app
- Because of not perfect kernel/build support for sensors, you may see them freeze when you move the phone (TS will also freeze). With evo kernels, just wait a few seconds and it will resume. (With nexus kernels they may freeze until sleep/wakeup) Interestingly the values of AK8973Prms.txt affect shake/move freezes. I wrote about this in post 10 and 11.
IT IS A GOOD IDEA TO BACKUP COMPLETE ANDROID FOLDER BEFOREHAND just in case something goes wrong. Chefs say you shouldn't auto calibrate your g-sensor under Android because with many people it gets messed up. Also good idea to backup your /data/misc/AK8973Prms.txt
You may have trouble accessing data folder with a file manager other than rootexplorer. Your build must be rooted. (most are) It is a good idea to update your su binary inside superuser app settings TWICE. If you change permissions of /data /data/misc folders you may access them even with standart astro file manager. Try chmod 777 /data from terminal emulator.
This procedure is also possible with adb or droidexplorer. But my way of doing is practical and it is in realtime. If your build has different file name, please tell us.
This IS a development thread, please don't tell me to post in generic section or clutter.
This is manual workaround for non-working auto calibration. If auto-calibration works in the future, it may very well fix your freezes.
Values of AK8973Prms.txt file may solve touch screen/sensor freeze problems with your games. Feedbacks are always welcome. We should find out what the other values do exactly. Also check post 10 & 11
Wow, thank you. I will certainly try this when I am sober (tomorrow morning).
I appreciate your taking the time to share this.
Have a good weekend!
Thanks! worked great....
thanks! worked perfectly
haha.. funny, this is the RIGHT way to do it: (credit goes to me )
1) put your phone on the surface and then
2) Gscript to stop gsen.
3) Go to callibration tool and press callibrate..
4) activate Gsensor through Gscript.
thats it and gsensor is fully callibrated to your way. no need to mess with system files.
eeeeeee said:
haha.. funny, this is the RIGHT way to do it: (credit goes to me )
1) put your phone on the surface and then
2) Gscript to stop gsen.
3) Go to callibration tool and press callibrate..
4) activate Gsensor through Gscript.
thats it and gsensor is fully callibrated to your way. no need to mess with system files.
Click to expand...
Click to collapse
Don't you think I already knew that? I wrote this long procedure because calibration tool corrupts calibration and doesn't work with many people. With many builds, chefs write don't calibrate your sensor. You need the gsensor script to be able to stop gsensor (kill akmd) since you didn't share it, people won't be able to do it anyway.
I suggest backing up complete Android folder before attempting to auto calibrate g-sensor within Android. Forum is full of people who calibrated under android and everything is messed up.
memin1857 said:
Don't you think I already knew that? I wrote this long procedure because calibration tool corrupts calibration and doesn't work with many people. With many builds, chefs write don't calibrate your sensor. You need the gsensor script to be able to stop gsensor (kill akmd) since you didn't share it. People won't be able to it anyway.
I suggest backing up complete Android folder before attempting to auto calibrate g-sensor within Android. Forum is full of people who calibrated under android and everything is messed up.
Click to expand...
Click to collapse
gsensor calibration tool causes nothing.. in my way -> t does exactly what you do..
i know that with the evo kernel the gsensor callibration is kinda corrupted, but it still works perfectly when following my orders.
although i would suggest not doing this with gsensor on.
as long as the gsensor is off when calibrating, there is no risk to mess the gsensor up.
although when callibrating with gsensor on messes the whole thing up, you can fix it following my orders again.
although its still nice that you edited the beginning of your tutorial:
memin1857 said:
If your orientation is off when you lay your phone on a level surface and can't calibrate it in Android (because many people found it gets corrupted after auto calibration), this is one way to do so. (Winmo g-sensor calibration does not seem to affect android orientation)
Click to expand...
Click to collapse
eeeeeee said:
gsensor calibration tool causes nothing.. in my way -> t does exactly what you do..
i know that with the evo kernel the gsensor callibration is kinda corrupted, but it still works perfectly when following my orders.
although i would suggest not doing this with gsensor on.
as long as the gsensor is off when calibrating, there is no risk to mess the gsensor up.
although when callibrating with gsensor on messes the whole thing up, you can fix it following my orders again.
Click to expand...
Click to collapse
I have made extensive tests and found out that you are actually doing no proper calibration. You are breaking other things.
- If you disable g-sensor before you open your sensor app (calibration tool) than you get no data from the g-sensor (since you disabled it) and can't calibrate.
- Phone must be very still while you disable g-sensor or the orientation data will get frozen at wrong values. And sensor app must be open beforehand.
If you fail calibration (y axis) will get messed up badly and won't work again. It wil flicker between full up and full down and further calibration attempts will make compass constantly spin.
- Still if you could do it all, nothing changes, offset is still there and calibration is wrong after following your instructions. (Try bubble app or sensor app with real sensitive degree values and you will see)
I searched your posts and saw that you are complaining about touch freezes. Maybe if you don't do auto calibration you may get less freezes?
Also please DO share anything you know. It is not enough to just say -disable g-sensor with gscript- People don't know that script, and if you don't share they can't do it. I saw your thread, you got 0 replies in 20 days, maybe because it doesn't work.
I advise against doing autocalibration. And remember, this is not a pissing contest. We are not doing this for the credit. We should be doing this for helping community. (You should have written nicer, instead of looking like showing off how genious you are and how fool we are. We know some things too.)
My way of doing it is NOT direct calibration. It is providing offset to g-sensor data that many people can do without the risk and can be restored back easily.
Note: I have found out that calibration tool generates a file named AccPrmsF.ini in the same folder with extreme z value. Sometimes a bma_result.txt gets created again with wrong values. Its content is input to AK8973Prms.txt again with extreme z value. If you restore your original AK8973Prms.txt g-sensor starts working properly again. (see post 10 & 11)
eywallah bro
How to restore g-sensor
If you calibrated with android calibration tool and your g-sensor freaked out. Here is how to fix it:
Use rootexplorer to
Delete AccPrmsF.ini and bma_result.txt file in /data/misc (if they exist)
Edit AK8973Prms.txt in /data/misc folder with rootexplorer to these values:
[AK8973]
HDOE_STATUS_SLIDER_OPEN=1
HDOE_STATUS_SLIDER_CLOSE=0
HDOE_SUCTEMP=114
HDAC_SLIDER_OPEN.x=128
HDAC_SLIDER_OPEN.y=135
HDAC_SLIDER_OPEN.z=4
HOFFSET_SLIDER_OPEN.x=250
HOFFSET_SLIDER_OPEN.y=593
HOFFSET_SLIDER_OPEN.z=175
HDAC_SLIDER_CLOSE.x=0
HDAC_SLIDER_CLOSE.y=0
HDAC_SLIDER_CLOSE.z=0
HOFFSET_SLIDER_CLOSE.x=0
HOFFSET_SLIDER_CLOSE.y=0
HOFFSET_SLIDER_CLOSE.z=0
ASENSE.x=256
ASENSE.y=256
ASENSE.z=256
AOFFSET.x=0
AOFFSET.y=0
AOFFSET.z=0
(These values may not solve freezes, check post 11 for different values that may fix freezes)
Some nexus based builds don't have slider open/close lines.
No need to reboot, just save and it should work instantly with most builds. (If it doesn't check post 11) If you delete AK8973Prms.txt or it may get recreated with wrong values (full zeroes) and freak out again. AOFFSET.z=xxx seems to be the culprit of calibrate tools vertical corruption. (Becomes full up or full down like digital when z=veryhigh). Only editing it to zero may solve the problem.
These values may change in time, or between builds. Those were my values, you may try to boot a new version of your android build and rip the file from it and use that instead.
If your g-sensor does not work at all after reboot you may need to restart it. Open terminal emulator and enter these commands:
su
/system/bin/akmd
Now it should be working.
Please tell if it worked for you. By comparing values and working on these values we may as well make g-sensor much better. (Accelerometer doesn't seem to be calibrated) If your build has different file name, please tell us. The instructions in post 10 may not be perfect and I am still working on this and will post if I find anything new. Of course kernel support is also required for getting less flickers, no freezes, proper poll intervall, correct i2c frequency and proper calibration.
EDIT: The values keep changing by itself. Interesting part is I am getting less shake/move freezes (or freezes in only one direction) in sensor apps or games now! I am experimenting with different values and it definitely affects how often freezes happen. I am trying to get the values of what a real calibration would do. Maybe sensor freezes happen when values are out of range. I am sure a proper calibration will get rid of these freezes but since with the current kernels we can't do proper auto calibration, maybe we can do manual one for now. Seems usual x y z accelerometer values are between 10 and -10. When freezes happen they seem to be more than 10 or less than -10. ASENSE values change the range of x y z (minimum working asense is 45 and the more you set the less range x y z has). Also ppp data seem to freeze/restart when sensor freezes happen. If freezes are eliminated even ppp data might work better! Some of the findings might be wrong, of course.
It seems you can update AK8973Prms.txt in realtime with droidexplorer and changes are reflected in realtime when you reopen, switch to the sensor app or sleep/wakeup. This makes testing easier.
It seems I have found non freezing values. Check next post. (Post 11)
Freezes are fixed now.
EVEN IF YOU ARE NOT GETTING TOUCH SCREEN / G-SENSOR FREEZES WITH USUAL USAGE OF YOUR PHONE, INSTALL SENSOR DEBUG, BUBBLE, COMPASS APP OR GAMES AND TRY IF THEY FREEZE WHEN YOU SHAKE/MOVE THE PHONE OR WALK WITH THE PHONE IN YOUR HAND. Bubble app is the most freezing app. To find it ssearch the market for bz.ktk.bubble. Enable "show angle" from bubble apps settings. Game example: Teeter
Make sure it has been at least 2 minutes since Android has booted. (Or it may fool you as it is busy when first home screen appears after boot)
Freezes have been mostly eliminated with newer builds/kernels, but they are not completely gone.
I am no longer getting any freezes in any app now. Not in compass apps, not in games, not in sensor displaying apps, not in calibration tool. I am also not getting freezes while I am walking with the phone.
I am not yet sure how this exactly happened (as I always had freezes in those apps when the phone moved) but currently my android build updates the AK8973Prms.txt file every minute by itself (doesn't change very much, but quite different from the beginning) and the current values have absolutely no freezes.
These values have no more freezes. (since they keep changing it may not last for days) Please try:
[AK8973]
HDOE_STATUS_SLIDER_OPEN=2
HDOE_STATUS_SLIDER_CLOSE=0
HDOE_SUCTEMP=111
HDAC_SLIDER_OPEN.x=4
HDAC_SLIDER_OPEN.y=135
HDAC_SLIDER_OPEN.z=8
HOFFSET_SLIDER_OPEN.x=-849
HOFFSET_SLIDER_OPEN.y=1179
HOFFSET_SLIDER_OPEN.z=-653
HDAC_SLIDER_CLOSE.x=0
HDAC_SLIDER_CLOSE.y=0
HDAC_SLIDER_CLOSE.z=0
HOFFSET_SLIDER_CLOSE.x=0
HOFFSET_SLIDER_CLOSE.y=0
HOFFSET_SLIDER_CLOSE.z=0
ASENSE.x=256
ASENSE.y=256
ASENSE.z=256
AOFFSET.x=0
AOFFSET.y=0
AOFFSET.z=0
Seems
A low HDAC_SLIDER_OPEN.x value
A large negative HOFFSET_SLIDER_OPEN.x value
A high HOFFSET_SLIDER_OPEN.y value
A large negative HOFFSET_SLIDER_OPEN.z value
and along with some other thing I did/happened fixed my freeze problems.
Some nexus based builds don't have slider open/close lines.
Change the AOFFSET.x y and z values to your device to level it on a table. (check post 1)
I am not attaching the file itself to this post because of differences between windows and linux with text files, just to be safe. (Paragraphs get messed up)
Also using the calibration tool with the phone face down gives better results with z axis. (to be able to tap on calibrate, put your phone on the table and make it just go over the edge of the table and tap from underside)
We need some feedback from other people now. Devs are welcome to use this information to open up ways to fix g-sensor in kernel.
I am using mdeejay desire hd 3.4 build. These may be different in other builds. If you find out please share.
Freezes returned after reboot. I am trying to find out how refix again.
I AM ASKING EVERYBODY TO TELL
1) If they have the freezes with their default configuration with bubble/sensor app moving/walking etc.
2) If my values fix the freeezes
3) If their filenames etc is different
4) Please also write your build and kernel type/version/base winmo rom and radio
Example: (copy paste and edit in your post please)
Default configuration have freezes: YES
New values fix freezes: YES
Different files: NO
Build/Kernel: mdeejay desire hd 3.4 / huanyu #21 evo base miri WM6.5 (21916) v19.1 (3.14 base) 2.15.50 radio
This is not over yet, with feedback we might find exact long term fix for everyone.
EDIT: These values work with some people. If they don't work you, experiment with different values. Since the results are reflected in realtime for most builds (no reboot required) it is much easier. Also don't edit the file on windows pc, it may get messed up. Some builds auto update the values when sensor app is reopened/switched to.
IMPORTANT: Try to temprorarily change AOFFSET.x=90 and return to your app. When phone is on the table, your leveling bubble or pitch/roll must be way off. This way you can see if with your build changes are reflected in realtime or not. If not try restarting and give feedback please. (After that revert AOFFSET.x to 0 or other value your want to fix back orientation)
EDIT 2: My sensors seem to be working perfectly since I also calibrated the z-axis. (post 61 on page 7) I need confirmation on this.
wow! thank you very much!
will try and post results soon.
Default configuration have freezes: YES (from time to time, not always)
New values fix freezes: YES. Post 11
Different files: NO
Build/Kernel: hyperdroid 1.6 / michyprima R11
before, using a live wallpaper called shake them all, the phone would insta-freeze on me.
using your values from post 11 (simple copy paste), no more freezes. And i really abused the wallpaper!
If this changes, i'll report here
EDIT: new answers
Post 1 is not for freeze fixes.
The solution is not long term.
I am extensively trying to find out what exactly made the freezes go away.
Because while it worked for many hours. After reboot freezes came back. I will hopefully find out why. Also the reason why the values change every minute is mistery. Contents of the file (values) change after you start or switch to any app that accesses the sensors. After android has booted it won't get updated unless the sensor reading apps are working.
I have been trying with many builds and kernels for theese freezes and they were never gone before. This time it never froze for several testing hours till I rebooted. That must be something.
Fixing the g-sensor after calibration corruption is ok. Adjusting level offset is also ok. But freezes need some more testing.
new answers in my above post.
you said that after the reboot freezes would happen. i change the permissions to read only on the AK8973Prms file, rebooted and no freezes.
crawlingcity said:
before, using a live wallpaper called shake them all, the phone would insta-freeze on me.
using your values from post 11 (simple copy paste), no more freezes. And i really abused the wallpaper!
...
new answers in my above post.
you said that after the reboot freezes would happen. i change the permissions to read only on the AK8973Prms file, rebooted and no freezes.
Click to expand...
Click to collapse
I am glad it worked for you and we are making progress.
I also had tried changing permissions before but after one minute permissions revert back to writable and the files is updated by the system.
just tested again. restored the default file (with the default values) and as soon as the little droids (or homers in my case) start moving - freeze.
Changed again to your values in post 11, changed permissions to read only, rebooted, played with the phone, i even juggled my HD2! No freezes. I think i won't change anything, unless i need to correct the pitch and the roll.
crawlingcity said:
just tested again. restored the default file (with the default values) and as soon as the little droids (or homers in my case) start moving - freeze.
Changed again to your values in post 11, changed permissions to read only, rebooted, played with the phone, i even juggled my HD2! No freezes. I think i won't change anything, unless i need to correct the pitch and the roll.
Click to expand...
Click to collapse
How are you changing the permissions?
I change permissions to readonly with rootexplorer and after I switch to sensordebug or bubble or phone tester app, the file reverts its permissions back to writable and gets updated.
BTW bubble app freezes more frequently than other apps. But when my freezes were gone, even bubble app never froze even when abused.
I'm just using root explorer. Select the file, uncheck the "write" option, close root explorer. Open sensor debug or whatever, check the file, untouched.
crawlingcity said:
I'm just using root explorer. Select the file, uncheck the "write" option, close root explorer. Open sensor debug or whatever, check the file, untouched.
Click to expand...
Click to collapse
I am doing the same but it becomes writable again. Must be because of different sensors.xxx.so file and build or maybe because you are trying with a wallpaper and not an app.
BTW editing the file on windows pc may not work because of paragraphing difference between windows and linux. If this happens, my phone just adds new zero values to the end of the file.
I am dying to reproduce the fix. I will test with some different builds. That constant file updating is killing me.

[FIX] Easy Calibration of ERIS Rotation Sensor (G-Sensor) on AOSP/CM ROM

My ERIS g-sensor has a tendency to get out of whack. What I mean is that if you leave autorotation on with the phone lying flat, the screen will often rotate 90 degrees as if you were holding it in a landscape position. If you download a level app, it will show level surfaces as not level. Any while several gps and level apps allow you to calibrate what level is, they do not affect the autorotation being off.
The g-sensor is easily calibrated on a stock sense rom in the settings menu. But AOSP and CM ROMs do not provide a calibration tool, and calibration is reset with every newly flashed ROM. So, for a long time, I just turned off autorotation.
I did find a fix, adapted from here (http://forum.xda-developers.com/showthread.php?t=803242), but simplified below.
What you need:
A CM or AOSP ROM. I've tested on Condemned Soul's CM7 ROM.
A Root File Manager App with Text Editor capability. I'm using ES File Explorer
GPS Status App or another level or sensor app
1. Open GPS Status App (or other sensor app). Lay the phone on a flat level-ish surface. Observe how far the "bubble" in the center of the compass is offset from "level" or the solid circle in the middle of the compass. You can numerically see what the Pitch (up-down) and Roll (left-right) offset are. When calibrated, these numbers read 0 and the bubble will lie on-center.
2. Press home button, then open your file explorer. Navigate to /data/misc and locate the AK8973Prms.txt file. You may want to make a backup of this file, in case anything goes wrong. Open the file in the text editor. Locate the following:
AOFFSET.x=0
AOFFSET.y=0
3. Adjust these values by increments of 1 (or -1) until the GPS app shows it is level. Here's how: To move level left, change AOFFSET.x=0 to AOFFSET.x=1 then save the file. Long-press home to select the GPS app and check for level. If not level, increase to AOFFSET.x=2, save, and check again. Repeat until roll is level, then modify AOFFSET.y=0 until pitch is level. My final values are x=4 and y=-4. I haven't tweaked the z value (that is vertical level or plumb) but you can calibrate the same way if you have a plumb surface (like a newish house door). I live in an old house - nothing is plumb!
4. Enjoy your calibrated G-Sensor.
In GPS Status, does menu->tools->"calibrate pitch and roll" help any? Maybe it just calibrates for the app itself and not system wide. I keep auto-rotate off most the time so I don't have much experience with the screen switching when it shouldn't.
MongooseHelix said:
In GPS Status, does menu->tools->"calibrate pitch and roll" help any? Maybe it just calibrates for the app itself and not system wide. I keep auto-rotate off most the time so I don't have much experience with the screen switching when it shouldn't.
Click to expand...
Click to collapse
Correct, the app just calibrates itself, not the system. I know, it's only a minor annoyance, but makes me happy...
Sent from my ERIS using XDA App
I wasn't trying to imply that you should turn off auto-rotate, was wanting to describe why I might have sounded like an idiot asking whether that tool did anything system wide lol. I can see it being more than an annoyance so I'm glad you found and shared a way to fix it.
No worries mgh! Lol
Sent from my ERIS using XDA App
Thanks for posting this, klob! There are times when auto-rotate does come in handy, but then there are times when I don't want it on. I'll try this and see if it helps me out.
snortman
Good luck!
Sent from my ERIS using XDA App
help required
klobkelosh said:
My ERIS g-sensor has a tendency to get out of whack. What I mean is that if you leave autorotation on with the phone lying flat, the screen will often rotate 90 degrees as if you were holding it in a landscape position. If you download a level app, it will show level surfaces as not level. Any while several gps and level apps allow you to calibrate what level is, they do not affect the autorotation being off.
The g-sensor is easily calibrated on a stock sense rom in the settings menu. But AOSP and CM ROMs do not provide a calibration tool, and calibration is reset with every newly flashed ROM. So, for a long time, I just turned off autorotation.
I did find a fix, adapted from here (http://forum.xda-developers.com/showthread.php?t=803242), but simplified below.
What you need:
A CM or AOSP ROM. I've tested on Condemned Soul's CM7 ROM.
A Root File Manager App with Text Editor capability. I'm using ES File Explorer
GPS Status App or another level or sensor app
1. Open GPS Status App (or other sensor app). Lay the phone on a flat level-ish surface. Observe how far the "bubble" in the center of the compass is offset from "level" or the solid circle in the middle of the compass. You can numerically see what the Pitch (up-down) and Roll (left-right) offset are. When calibrated, these numbers read 0 and the bubble will lie on-center.
2. Press home button, then open your file explorer. Navigate to /data/misc and locate the AK8973Prms.txt file. You may want to make a backup of this file, in case anything goes wrong. Open the file in the text editor. Locate the following:
AOFFSET.x=0
AOFFSET.y=0
3. Adjust these values by increments of 1 (or -1) until the GPS app shows it is level. Here's how: To move level left, change AOFFSET.x=0 to AOFFSET.x=1 then save the file. Long-press home to select the GPS app and check for level. If not level, increase to AOFFSET.x=2, save, and check again. Repeat until roll is level, then modify AOFFSET.y=0 until pitch is level. My final values are x=4 and y=-4. I haven't tweaked the z value (that is vertical level or plumb) but you can calibrate the same way if you have a plumb surface (like a newish house door). I live in an old house - nothing is plumb!
4. Enjoy your calibrated G-Sensor.
Click to expand...
Click to collapse
I am using micromax canvas nitro. My auto rotation stopped working the first time i installed twrp recovery. After making a backup and restoring the same rom my auto rotation started working. But now its not working in any condition. The file you listed AK8973Prms.txt cannot be found in the above directory...please help
surajsahijwani said:
I am using micromax canvas nitro. My auto rotation stopped working the first time i installed twrp recovery. After making a backup and restoring the same rom my auto rotation started working. But now its not working in any condition. The file you listed AK8973Prms.txt cannot be found in the above directory...please help
Click to expand...
Click to collapse
As far as I can tell, this fix only worked on early htc phones up to gingerbread. I was never able to duplicate this on ICS or later on other phones. Sorry, and good luck.

FIX: Content Adaptive Backlight

I've seen a few threads/comments here about the flickering/adjusting of the backlight level at lower (less than 50%) brightness levels even though auto-brightness was off. As was suspected, it's just due to a content adaptive backlight module. It can be shut off by just running the CABLPreferences activity of the com.qualcomm.cabl app. It also looks like there is a "quality" setting in there to play with that just varies the aggressiveness of the effect.
If you don't know how to launch an activity, you can do the following:
Via ADB:
Code:
adb shell "am start -a android.intent.action.MAIN -n com.qualcomm.cabl/com.qualcomm.cabl.CABLPreferences"
Via Terminal on your phone:
Code:
am start -a android.intent.action.MAIN -n com.qualcomm.cabl/com.qualcomm.cabl.CABLPreferences
I haven't done any more checking, but I'm guessing this is just a flag that could be set in sys/devices/blah... by init.d script on boot as well.
If you prefer a gui, there are plenty of launchers out there that can select an activity to start. I actually had it set up as a long-press pie on LMT while I was playing with it.
It seems (on my phone, at least), that the app wasn't as good at turning it back on, but you can just clear the app data/cache on "Content Adaptive Backlight Settings" in application manager, reboot, and you'll be back to stock behavior.
Sorry I didn't post this sooner. I've been too busy playing with the G2!
this doesn't work.
I've tried this weeks ago. simply telling the app to turn it off does nothing, as it's still on no matter what. deleting the app produces the same exact effect.
in the build prop, the line pointing to cabl is set to false. therefore it's really not even reading what the app is saying it seems.
I believe it's a kernel issue that can only be solved once we get a custom one.
again, this isn't a fix and doesn't turn it off at all sadly.
Sent from my VS980 4G using Tapatalk 4
https://www.youtube.com/watch?v=slwkFhpiYbs&feature=youtube_gdata_player this video was made when it was set unchecked and set to off.
Sent from my VS980 4G using Tapatalk 4
I read your post about this a couple of weeks ago and saw that you mentioned deleting the app, but did you try running it, unchecking the box and rebooting? Deleting it won't do anything, as the app is set to run on boot and (as far as I can tell) set whatever selection you have chosen. I did and this seems to have worked for me I checked by scrolling through a spot on settings that had normally triggered it. I'll play with it more later to see if I either got lucky when I tested it or it is still happening. I agree that this is working on a kernel level.
Is this issue on all carrier versions?
I use auto-brightness and the annoyance I have is that it doesn't change brightness right away when entering different lighting environments. It either takes time or doesn't change at all until I uncheck/check the auto-brightness setting.
xdabbeb said:
I read your post about this a couple of weeks ago and saw that you mentioned deleting the app, but did you try running it, unchecking the box and rebooting? Deleting it won't do anything, as the app is set to run on boot and (as far as I can tell) set whatever selection you have chosen. I did and this seems to have worked for me I checked by scrolling through a spot on settings that had normally triggered it. I'll play with it more later to see if I either got lucky when I tested it or it is still happening. I agree that this is working on a kernel level.
Click to expand...
Click to collapse
yeah, if the app is deleted, then it can't run unless defaulted to on without the app. . so i tried deleting it, and then i also tried un checking the box, and it still does it. no matter what, there must be a setting somewhere else to actually turn it off. did you see that line in the build prop? it's set to false... weird right?
Sent from my VS980 4G using Tapatalk 4
jayochs said:
yeah, if the app is deleted, then it can't run unless defaulted to on without the app. . so i tried deleting it, and then i also tried un checking the box, and it still does it. no matter what, there must be a setting somewhere else to actually turn it off. did you see that line in the build prop? it's set to false... weird right?
Sent from my VS980 4G using Tapatalk 4
Click to expand...
Click to collapse
Yep, I did...and I remembered I had set it to true before I even began messing with the CABL App. I was thinking that could be the difference between what you and I had tried, but I just did a bit more testing to see if it was happening still and unfortunately I think I may have seen it. I'll play with it a bit more later to be sure. I also did a quick look in the usual places for this to be turned on/off in /sys/class/ and couldn't find anything. I suppose it's possible LG built the kernel for this device without the ability to turn it off. If so...that'll be unfortunate.
xdabbeb said:
Yep, I did...and I remembered I had set it to true before I even began messing with the CABL App. I was thinking that could be the difference between what you and I had tried, but I just did a bit more testing to see if it was happening still and unfortunately I think I may have seen it. I'll play with it a bit more later to be sure. I also did a quick look in the usual places for this to be turned on/off in /sys/class/ and couldn't find anything. I suppose it's possible LG built the kernel for this device without the ability to turn it off. If so...that'll be unfortunate.
Click to expand...
Click to collapse
I believe the original Nexus 7 had this feature in the kernel too. However, in custom kernels you could use Trickster mod to toggle the feature off. I think the kernel devs had to expose the setting though, so maybe we'll get this taken care of if we can get a custom kernel.
Here are some build props for Qualcom devices that control the CABL
Code:
ro.qualcomm.cabl=1
hw.cabl.level=Auto
persist.qcom.cabl.video_only=1
By adding / editing these lines in the build.prop you should be able to adjust as noted in the lines.
And yes, it is in the kernel.
Dont know why LG has an app for it?
Scott, I sent you a message on hangouts but in my build prop, i don't show a 1 for the cabl setting.. i show false... as if it's already turned off in the build prop. I changed it to true once and it didn't do anything. those two top settings seem to be what's in the app.. you can check a box to turn it on and off (the first line) and then you can set the degree to which it handles the cabl (second line.) I've messed with both in the app and it did absolutely nothing... does the kernel need to be changed as well?
Sent from my VS980 4G using Tapatalk 4
xdabbeb said:
I've seen a few threads/comments here about the flickering/adjusting of the backlight level at lower (less than 50%) brightness levels even though auto-brightness was off. As was suspected, it's just due to a content adaptive backlight module. It can be shut off by just running the CABLPreferences activity of the com.qualcomm.cabl app. It also looks like there is a "quality" setting in there to play with that just varies the aggressiveness of the effect.
Click to expand...
Click to collapse
I'm not sure you really want to "fix" this feature.
LCD screens (like the one in the LG G2) have inherent low contrast ratio (just 1500:1, in comparison to infinity, with AMOLEDs). In order to compensate, LCD screens use a feature called "dynamic contrast", in which the backlight dims when the screen shows darker content, in order for the perceived black levels to appear darker (and not grey). I'm not sure you want to disable this feature, because the outcome will be grey blacks.
we do want to bc it causes horrible screen flicker issues. you can be sitting on a pic and it doesn't know what to do so it flickers badly
Sent from my VS980 4G using Tapatalk 4
Noam23 said:
I'm not sure you really want to "fix" this feature.
LCD screens (like the one in the LG G2) have inherent low contrast ratio (just 1500:1, in comparison to infinity, with AMOLEDs). In order to compensate, LCD screens use a feature called "dynamic contrast", in which the backlight dims when the screen shows darker content, in order for the perceived black levels to appear darker (and not grey). I'm not sure you want to disable this feature, because the outcome will be grey blacks.
Click to expand...
Click to collapse
I did not know about the contrast ratio on these screens. Makes sense what you are saying.
However like Jay said it does not react smoothly or at appropriate times.
Some will need to edit the kernel code to fix this.
Noam23 said:
I'm not sure you really want to "fix" this feature.
LCD screens (like the one in the LG G2) have inherent low contrast ratio (just 1500:1, in comparison to infinity, with AMOLEDs). In order to compensate, LCD screens use a feature called "dynamic contrast", in which the backlight dims when the screen shows darker content, in order for the perceived black levels to appear darker (and not grey). I'm not sure you want to disable this feature, because the outcome will be grey blacks.
Click to expand...
Click to collapse
Yep. What @jayochs and @scrosler said. What you wrote does make sense, and I had noticed that it behaves the opposite of the CAB implementation on AMOLED screens (where it dims on lighter colored content)...so that gives even more credence to what you're saying, but the implementation is a little buggy. It transitions abruptly and causes the "flickering" that many have reported. I certainly wouldn't mind having it enabled if the transitions were slower/less frequent, but it's kind of annoying as it is. I never was able to find a way to disable it in the stock kernel anyway, so hopefully it can be fixed one way or another now that the source is available. Still the best phone I've owned!
So any success with any method here or elsewhere?
I'm currently using Xposed to try and figure out what is going on here (I have several updateBrightness() events hooked, and am logging stack traces from them). It happened again less than an hour ago, so I need to go through that stack trace and see if I can figure out whether or not the actual brightness update can be blocked.
This has nothing to do with CABL, incidentally. I have CABL turned off, and I've seen the flicker-flicker-flicker-brightness drop issue with nothing more than a web page open. I usually keep my brightness around 68%-69%, too.
antinorm said:
I'm currently using Xposed to try and figure out what is going on here (I have several updateBrightness() events hooked, and am logging stack traces from them). It happened again less than an hour ago, so I need to go through that stack trace and see if I can figure out whether or not the actual brightness update can be blocked.
This has nothing to do with CABL, incidentally. I have CABL turned off, and I've seen the flicker-flicker-flicker-brightness drop issue with nothing more than a web page open. I usually keep my brightness around 68%-69%, too.
Click to expand...
Click to collapse
i'm thinking it's CABL, but it's kernel level, NOT software level, which is why disabling it does absolutely nothing.
I've been using Lux Auto Brightness to fix the issue.
Cheers!
Rayan said:
I've been using Lux Auto Brightness to fix the issue.
Cheers!
Click to expand...
Click to collapse
it's not an issue with auto brightness, that's a completely different problem.
this is the content adaptive backlight problem.
so no solution was ever found for this (besides a new kernel)? my phone doesn't flicker but on the brightness below 50% i can notice it's trying to readjust itself slightly once in awhile (with xda app or play store for example).
Encountered this issue as well. So, the cause of this has something to do with the software and not the hardware? Don't want to send my phone back just to receive yet another problematic set.. I set my screen brightness to 38 which it flickers on certain photos and apps. Bumped it up to about 45 and it seems to have stopped.

How to Change Xperia C5 Ultra Screen Density without root

Hi, I am new in XDA, but just want to share some trick on the new Xperia C5 Ultra on change of screen density to look more beautiful without root.
This is useful for those who like to have phablet screen look like table density.
I have done tested on my Xperia C5 Ultra and it work with any flaw.
Please be reminder I am just putting a guide here, I will not responsible for anything happen to your phone, damaged, brick or exploded.
Any how this is done without root and you can restore to original screen density if you don't like it.
Please follow below guide :
Before you start, please ensure you have a working adb tool install on your PC and you have driver install on your PC.
refer here if you don't http://forum.xda-developers.com/showthread.php?t=2588979
This can only be done thru the PC
Original the Xperia C5 Ultra density is 480. This guide will help to change to density 320
screen resolution remain on 1920x1080
Step by Step
1) pls enable the developer mode on your Xperia C5 Ultra
2) check the USB debugging on the developer option
3) plug in the USB and connect your phone to the PC
4) press on the PC " window" key + "X" key and select command prompt (admin)
5) in the command prompt , put in text adb after C:\windows\system32>
6) your phone share pop up message to authorize the usb debugging, select YES.
7) If step 5 & 6 don't come up any long message on the window command prompt, this mean you did not install properly the adb tool in your pc. (refer above to redo)
8) at this step , mean adb is done properly and go back to command prompt in the window
9) enter text "adb shell wm density 320" after the C:\windows\system32>. it look like this C:\windows\system32>adb shell wm density 320 and press enter key on PC
10) Now your phone have change to screen density 320. everything will look smaller now.
11) you need to re-start the Xperia C5 ultra phone and all screen size will completely change to new density 320.
12) you are done. now you can re-arrange your phone icon and have a fresh look !!
How to go back to original screen density
1) repeat the step 1 , 2, 3, 4 & 5.
2) key in C:\windows\system32>adb shell wm density 480 and press enter on pc
3) restart your phone then you will go back to original screen resolution
What works and what not work
work
- all phone function work as normal including screen capture and screen video
- so far I did not encounter any problem, tell me if you know any
- all one hand operation mode is working except the phone key dialer pad as below
not working
- the phone key dialer will not work in one hand mode. It will show error if you have set "one hand mode" on the telephone key dialer
screenshoot as below
Enjoy
Does the camera app scale properly?
No, camera resolution and function no changes. work as normal . Only icon size become smaller
kychan2015 said:
No, camera resolution and function no changes. work as normal . Only icon size become smaller
Click to expand...
Click to collapse
Did you figure out how to extend the battery life. Mine is 13 hours max?
Sorry of topics but you seems like Sony's McGuyver to me.
Whoa.. I cant thank you enough for this tip. Never knew changing of DPI is so easy without root. Everything looks so hi-res now. Seriously, everyone should do it. Sony should had done this be default.
Only glitch I see now is the sony home launcher's page indicator is a little misaligned.
I already tested and tried as your instruction. However I revert back to 480 as the phone feel warm and I afraid it will explode anytime.
I just noticed that the battery life is affected... or is it just me? also the phone is way too hot when I'm using it. hotter than when the DPI is 480
I not sure what wrong. Density and battery should be no connection. You phone is hot because many background processes is running. Try end task all not using app, I think it should be back to normal very fast.
Sent from my E5563 using XDA Free mobile app
kychan2015 said:
...Original the Xperia C5 Ultra density is 480. This guide will help to change to density 320 screen resolution remain on 1920x1080
Click to expand...
Click to collapse
I don't understand... is it supposed that: Higher ppi number gives Sharper screen !!?? But now you lower it to 320?
kychan2015 said:
I not sure what wrong. Density and battery should be no connection. You phone is hot because many background processes is running. Try end task all not using app, I think it should be back to normal very fast.
Sent from my E5563 using XDA Free mobile app
Click to expand...
Click to collapse
I reverted it back to the original and it's not as hot as it was. I think and sure it was affecting... come to think about it, if the icons are smaller, then it can accommodate more things on the screen thus making the gpu work more in terms of animation but I don't know if that's right. But it did affect my battery life when I changed it.
thejamesarnold said:
I reverted it back to the original and it's not as hot as it was. I think and sure it was affecting... come to think about it, if the icons are smaller, then it can accommodate more things on the screen thus making the gpu work more in terms of animation but I don't know if that's right. But it did affect my battery life when I changed it.
Click to expand...
Click to collapse
Technically yes it makes the gpu work a little harder to draw more things on the screen. But there shouldn't be any noticeable impact on the battery nor heat. Countless other devices changes their dpi but never or hardly were this reported. There should be other factors causing the issue for u.
Is there something between 480~320?
Sent from my E5533 using XDA Forums
So if we adjust it to make things smaller to look like a real 1080p, will it effect gaming performance? I mean fps drops?
apps problem...
i have a problem. i mean there is a problem. i set density to 320 and after that i tried to install minecraft pocket edition v13 b5 which i have taken it from original density(restore). it didnt install it. just gave an error.
Edit: i dont know why but game performances are increased.
is it not possible to do it using terminal on the phone itself?
I dont think so. It needs root i guess
alihacker4 said:
Is there something between 480~320?
Sent from my E5533 using XDA Forums
Click to expand...
Click to collapse
Looking for this as well... 480 is to big while 320 is quite small.. Any idea if we can set it somewhere between these values? Thanks in advance ..
May I request someone to post screenshots after increasing the screen density? Thank you very much in advanced.
You can pick any number you want. I use 360. Just change and try it out until you find a setting you like, you won't break anything.
different between 480ppi and 320ppi
320ppi is smaller, 480ppi is bigger

Possible Red Tint Fix

Hey Guys, happy new Year to everyone !
Maybe i found a soulution for people like me, where facing Red/Pink Issues on there Note 8. Specially for people, that want to use Amoled-Kino Screen mode.
For me, the Issue looks like, when i activate Amoled Kino- My Screen Colors get low down, like when you put out 50 % saturation and contrast plus a Red Tint. Anyway, Samsung offers a Software Fix with Adaptive Mode for Display and you can regulate with 3 Sliders to correct your Color. But how ever i set the Values, the Colors in Adaptive Mode are very cold and its sad when i lay down my Note beside my old S7 Edge. Special with activated Kino Mode.
So i searched a few Days in the Web and found a App called : ''ColorModeChancer''. This simple App does nothing else, then to Set the Values for Red/Green/Blue and Contrast/Saturation manual. When i understand the Dev right, it talks to the Kernel and maybe the Screen Configuration for Colors/Saturation and Contrast is load from Kernel and not for Example from another File or Script from System itself. But im no Dev and maybe i talk Bull**** how it exactly works Ask the Dev by yourself or Read Playstore Description. Maybe you understand it better then me. I just wann guide you all to maybe solve the Red Tint Problem.
Steps to install:
You need to be Rooted.
''To avoid using one App for "setting last saved value without open any window" and another one for "open Settings window" I choosed this App behavior:
1) run the App
2) first run ONLY sets last saved value
3) next launches within 30 seconds will open the Settings
4) subsequent launches within 30 seconds will do #3
5) if 30 seconds are passed, the next launch will do #2'' > Description copied from Playstore
6) (From me): Set Cinema Mode in the App and everything is good, you have now a correct configuratet screen with Amoled Kino Mode how it should work
Bugs :
Maybe you get a little Bit of Lag when you scroll down in Apps like Facebook or Instagram. For me, i solved it with cache cleaning for these Apps. Anyway it works like Charm for me.
The App costs around 50 Cent, was orignal made for non Samsung Stock Roms like Linage, Cyanogen etc. where dont have the Option in Settings, to set the Samsung Screen Modes like Amoled Kino.
I dont Link the Playstore Link here, because the App costs Money and i dont want to make advertising for the Dev or anyone else. Just want to share this Guide/Workaround for interested people with the same issues as me. One more Time, the App calls ''ColorModeChanger'' and it is aviable on the Playstore.
Further i Emaild with Samsung and they swear that the Screen Problem is a Software issue and not a Hardware Problem from the Screen itself. After that, i found this App and now i believe that Samsung tlaks the tings right, before i dondt believe that it is only Software Problem. Anyway, it works for me and the result is AMAZING
Have Fun & Good Luck ! :fingers-crossed:

Categories

Resources