Do you believe my xda II total incoming time is 1193046hrs? - MDA II, XDA II, 2060 ROM Development

my xda II total incoming time is 1193046hrs,my god,it is 136 years!how to reset it? thanks!

Mine too!!!
This happened after a screwed up firmware upgrade..
--- Edit ---
Hmm..
1193045 dec = 123456 hex
But my phone says 1193046 hr 28 min 8 sec
1193046 hrs * 60 = 71582760 minutes
71582760 min + 28 min = 71582788 minutes
71582788 min * 60 = 4294967280 seconds
4294967280 sec + 8 sec = 4294967288 seconds
4294967288 dec = FFFFFFF8 hex = 11111111111111111111111111111000 bin
Now, this is strange..
Why not the last 7 seconds?

if Bonzo's calculation is correct, and I have no reason to doubt it,
Let someone call you for longer than 8 seconds and it will be OK
4294967288 sec = x'FFFFFFF8' = b'11111111111111111111111111111000' = -8 sec
x'FFFFFF8' + x'00000008' = x'100000000' but the 1 will overflow because it can only remember 4 bytes => x'00000000' = 0 sec

ha,it's ok!
Let someone call you for longer than 8 seconds and it will be OK
4294967288 sec = x'FFFFFFF8' = b'11111111111111111111111111111000' = -8 sec
x'FFFFFF8' + x'00000008' = x'100000000' but the 1 will overflow because it can only remember 4 bytes => x'00000000' = 0 sec
thanks very much,it's ok now!

Re: Do you believe my xda II total incoming time is 1193046h
xuanyuan said:
my xda II total incoming time is 1193046hrs,my god,it is 136 years!how to reset it? thanks!
Click to expand...
Click to collapse
try this link
"Call duration infos... how to reset counters?"
http://forum.xda-developers.com/viewtopic.php?t=15482
it works

Geese man you have alotta friends

Related

registry value location

Hey, I am trying to find the reg key that controls the the external display timeout, I know you can set it in the settings to 5, 10, 15, 30 seconds, but I am trying to figure out which reg key controls it. thanks
[HKEY_LOCAL_MACHINE\Software\HTC\SecondaryDsp]
"DisplayTimeout"=dword
Erofich said:
[HKEY_LOCAL_MACHINE\Software\HTC\SecondaryDsp]
"DisplayTimeout"=dword
Click to expand...
Click to collapse
Is there any number (or other) to put there to have a display timeout longer than 30 sec?
...10 minutes for example...I know that involves battery consuming but I (and my friends) like startreck external clock when I put my phone on the table...moreover there my phone is usually charging...
Some weeks ago I tried with no success...
thanks
same boat here, I can't get it to stay on any longer than 30 sec.
timeouts
it seems that the reg values of 2=5 sec, 3=10 sec, 4=15 sec and 5=30 sec, however no other numbers have a timed value, it must be referencing a dll file, but I am not sure which one, I will res hack some and see if I can find it.
"DisplayTimeout"=dword:00000002 - 5 sec
"DisplayTimeout"=dword:00000003 - 10 sec
"DisplayTimeout"=dword:00000004 - 15 sec
"DisplayTimeout"=dword:00000005 - 30 sec
try to set dword:6
Erofich said:
"DisplayTimeout"=dword:00000002 - 5 sec
"DisplayTimeout"=dword:00000003 - 10 sec
"DisplayTimeout"=dword:00000004 - 15 sec
"DisplayTimeout"=dword:00000005 - 30 sec
try to set dword:6
Click to expand...
Click to collapse
Unless we did something wrong, we tried it. It does not work
displaytimeout
Erofich,
it my be my device but the reg key for the display timeout only allows for a 0 through whatever number option, it does not show the 00000001 (etc.) values.
I tried to create a new dword key, but it does the same, only gives the option to enter the 0 through whatever number, is there a way to assign the 00000006 value to a dword 6?

Dial codes?

Coming from the captivate I remember having the sgs tools app that had all the codes you could enter to get into certain menus..such as GPS, service mode, gsm and so on...do we have the codes and where can I find them
Sent from my SGH-I777 using XDA
devoured321 said:
Coming from the captivate I remember having the sgs tools app that had all the codes you could enter to get into certain menus..such as GPS, service mode, gsm and so on...do we have the codes and where can I find them
Sent from my SGH-I777 using XDA
Click to expand...
Click to collapse
http://bit.ly/x96GD8
gsrrr said:
http://bit.ly/x96GD8
Click to expand...
Click to collapse
Noiceeee....lol
Sent from my Ice Cream Sandwich
gsrrr said:
http://bit.ly/x96GD8
Click to expand...
Click to collapse
Back on topic. Try and see which ones work/don't work.
*#1234# = Firmware Version.
*#2222# = H/W Version.
*#8999*8376263# = All Versions Together.
*#8999*8378# = Test Menu.
*#4777*8665# = GPSR Tool.
*#8999*523# = LCD Brightness.
*#8999*377# = Error Menu.
*#8999*327# = EEP Menu.
*#8999*667# = Debug Mode.
*#92782# = PhoneModel. (Wap)
#*5737425# = JAVA Mode.
*#2255# = Call List.
*#232337# = Bluetooth MAC Adress.
*#5282837# = Java Version.
#*4773# = Incremental Redundancy.
#*7752# = 8 PSK uplink capability bit.
#*7785# = Reset wakeup & RTK timer cariables/variables.
#*7200# = Tone Generator Mute.
#*3888# = BLUETOOTH Test mode.
#*7828# = Task screen.
#*#8377466# = S/W Version & H/W Version.
#*2562# = Restarts Phone.
#*2565# = No Blocking? General Defense.
#*3353# = General Defense, Code Erased.
#*3837# = Phone Hangs on White screen.
#*3849# = Restarts Phone.
#*3851# = Restarts Phone.
#*3876# = Restarts Phone.
#*7222# = Operation Typ: (Class C GSM)
#*7224# = !!! ERROR !!!
#*7252# = Operation Typ: (Class B GPRS)
#*7271# = CMD: (Not Available)
#*7274# = CMD: (Not Available)
#*7337# = Restarts Phone. (Resets Wap Settings)
#*2787# = CRTP ON/OFF.
#*2886# = AutoAnswer ON/OFF.
#*3737# = L1 AFC.
#*5133# = L1 HO Data.
#*7288# = GPRS Detached/Attached.
#*7287# = GPRS Attached.
#*7666# = White Screen.
#*7693# = Sleep Deactivate/Activate.
#*7284# = L1 HO Data.
#*2256# = Calibration info? (For CMD set DEBUGAUTONOMY in cihard.opt)
#*2286# = Databattery.
#*2527# = GPRS switching set to (Class 4, 8, 9, 10)
#*2679# = Copycat feature Activa/Deactivate.
#*3940# = External looptest 9600 bps.
#*4263# = Handsfree mode Activate/Deactivate.
#*4700# = Please use function 2637.
#*7352# = BVMC Reg value (LOW_SWTOFF, NOMINAL_SWTOFF)
#*2558# = Time ON.
#*3370# = Same as 4700.
#*3941# = External looptest 115200 bps
#*5176# = L1 Sleep.
#*7462# = SIM Phase.
#*7983# = Voltage/Freq.
#*7986# = Voltage.
#*8466# = Old Time.
#*2255# = Call Failed.
#*5187# = L1C2G trace Activate/Deactivate.
#*5376# = DELETE ALL SMS!!!!.
#*6837# = Official Software Version: (0003000016000702)
#*7524# = KCGPRS: (FF FF FF FF FF FF FF FF 07)
#*7562# = LOCI GPRS: (FF FF FF FF FF FF FF FF FF FF FF FE FF 01)
#*2337# = Permanent Registration Beep.
#*2474# = Charging Duration.
#*2834# = Audio Path. (Handsfree)
#*3270# = DCS Support Activate/Deactivate.
#*3282# = Data Activate/Deactivate.
#*3476# = EGSM Activate/Deactivate.
#*3676# = FORMAT FLASH VOLUME!!!
#*4760# = GSM Activate/Deactivate.
#*4864# = White Screen.
#*6833# = New uplink establishment Activate/Deactivate.
#*3273# = EGPRS multislot. (Class 4, 8, 9, 10)
#*7722# = RLC bitmap compression Activate/Deactivate.
#*2351# = Blinks 1347E201 in RED.
#*4472# = Hysteresis of serving cell: 3 dB
#*2775# = Switch to 2 inner speaker.
#*9270# = Force WBS.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3757# = DSL UART speed set to. (LOW, HIGH)
#*3838# = Blinks 3D030300 in RED.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3838# = Blinks 3D030300 in RED.
*2767*226372# = Camera Reset. (deletes photos)
#7263867# = RAM Dump. (On or Off)
samsung mobile code. – - – sound code.
Samsung phones.
Dial *#6984125*#
Test menu dial *#9072641*# (You need this one i think.)
Click 5 Audio – 2 AP volume config
Tune Headset volume:
*#9072641*# – 2 EAR config – 3 Ringtone volume – Stap 6 tune it to 10
Tune movie volume:
*#9072641*# – 3 SPK config – 3 Ringtone volume – Stap 6 tune it to 10
Thanks, I think you are cute too.
lots of xoxo
Sent from my SAMSUNG-SGH-I777 using Tapatalk
Dont be dicks you too.

[Q] Android automation

Is anyone aware of a program that would allow me to automate a series of "touch" events on Android to test an app I have written. Something controlled by ADB I would assume.
For example;
Touch @ X axis = 500 Y axis = 200;
Wait 0.5 seconds;
Release touch;
Wait 1.9 seconds;
Touch @ X axis = 300 Y axis = 400;
Wait 0.5 seconds;
Release touch;
etc.

[ Need APP ] < Alarm app every 30 seconds

Hi all~!
I'm user of my Lumia 620 and I'm looking for free alarm app . The alarm must repeat every 30 seconds . Is there any app ? I need it , because I'm starting ABS for my chest
kukusiek97 said:
Hi all~!
I'm user of my Lumia 620 and I'm looking for free alarm app . The alarm must repeat every 30 seconds . Is there any app ? I need it , because I'm starting ABS for my chest
Click to expand...
Click to collapse
Hello,
What kind of sound would you like? Pick your own music? etc..
Sounds more like a repeative timer to me...this wouldn't even be that hard to make...
C#:
In App.xaml.cs input:
Code:
using System.Threading;
private static DispatcherTimer m_Timer;
private static bool RepeatTimer;
private static int m_Days, m_Hours, m_Minutes, m_Seconds;
public static void beginTiming(int Days, int Hours, int Minutes, int Seconds, bool Repeative)
{
RepeatTimer = Repeative; //Set repeat
m_Days = Days;
m_Hours = Hours;
m_Minutes = Minutes;
m_Seconds = Seconds;
m_Timer = new DispatcherTimer();
m_Timer.Tick += new EventHandler(m_Timer_Tick);
m_Timer.Interval = new TimeSpan(Days, Hours, Minutes, Seconds);
m_Timer.Start();
}
static void m_Timer_Tick(object sender, EventArgs e)
{
if (RepeatTimer == true)
beginTiming(m_Days, m_Hours, m_Minutes, m_Seconds);
//Play Sound Here (Max Limit 10 Seconds)
}
Then have a sound selector and button to begin timing the fields on the MainPage.xaml, if the user's phone turns off (due to WP8 lacking capability of real multitasking -- Thank you Microsoft!) use the background to set a timer to run every thirty seconds or disable screen powering off in the application.
That's basically how it can be created.
So, if anyone decides to do this really quick (5 minutes?) it's quite simple.
I'll give it a go if no one else completes this for you.
kuzcoed said:
Hello,
What kind of sound would you like? Pick your own music? etc..
Sounds more like a repeative timer to me...this wouldn't even be that hard to make...
C#:
In App.xaml.cs input:
Code:
using System.Threading;
private static DispatcherTimer m_Timer;
private static bool RepeatTimer;
private static int m_Days, m_Hours, m_Minutes, m_Seconds;
public static void beginTiming(int Days, int Hours, int Minutes, int Seconds, bool Repeative)
{
RepeatTimer = Repeative; //Set repeat
m_Days = Days;
m_Hours = Hours;
m_Minutes = Minutes;
m_Seconds = Seconds;
m_Timer = new DispatcherTimer();
m_Timer.Tick += new EventHandler(m_Timer_Tick);
m_Timer.Interval = new TimeSpan(Days, Hours, Minutes, Seconds);
m_Timer.Start();
}
static void m_Timer_Tick(object sender, EventArgs e)
{
if (RepeatTimer == true)
beginTiming(m_Days, m_Hours, m_Minutes, m_Seconds);
//Play Sound Here (Max Limit 10 Seconds)
}
Then have a sound selector and button to begin timing the fields on the MainPage.xaml, if the user's phone turns off (due to WP8 lacking capability of real multitasking -- Thank you Microsoft!) use the background to set a timer to run every thirty seconds or disable screen powering off in the application.
That's basically how it can be created.
So, if anyone decides to do this really quick (5 minutes?) it's quite simple.
I'll give it a go if no one else completes this for you.
Click to expand...
Click to collapse
For me something like this http://www.youtube.com/watch?v=uJ2SqGfURyY is enough . But could you give me more instructions ? I'm new user of my Lumia .
kukusiek97 said:
For me something like this http://www.youtube.com/watch?v=uJ2SqGfURyY is enough . But could you give me more instructions ? I'm new user of my Lumia .
Click to expand...
Click to collapse
Hi,
To play the sound you'll need some code that allows play music, in App.xaml.cs you can use multiple options, but, for what you're looking for I think this would work fine:
Code:
Stream musStr = TitleContainer.OpenStream("alarm.wav");
SoundEffect musEffect = SoundEffect.FromStream(musStr);
FrameworkDispatcher.Update();
musEffect.Play();
Put that code inside the "m_Timer_Tick" event or put another
Code:
private / public static void
in your code, then call it.
For example:
Code:
private static void playSound(string Sound)
{
Stream musStr = TitleContainer.OpenStream(Sound);
SoundEffect musEffect = SoundEffect.FromStream(musStr);
FrameworkDispatcher.Update();
musEffect.Play();
}
Call that with the m_Timer_Tick event using:
Code:
playSound(mysound.wav);
Requirements of doing this way is that:
1) Sample Rate must be between 8k Hz and 48k Hz
2) The audio file must be a PCM wave file
3) Can only be mono or stereo
4) Must be 8 or 16 bit

RK3399 eDP display issues when compiling kernel

have a Firefly AIO-3399j board that I am attempting to run a BOE NV140XTM-N52 display directly from it's eDP interface. I'm a novice when it comes to compiling kernels so I'm having some issues getting this to work properly. I have verified that the physical pinout between the board and the display is correct, and I do get an image on the screen some.
First information about the display from the data sheet. The timing that I see from the display says a 269.5 MHz Clock and the EDID table gives the following information. The clock max is 275.6MHz and minimum is 220.5MHz. Hor Active = 3840, Hor Blanking =160, Ver Active = 1100, Ver Blanking = 48, Hor Sync offset = 48, H sync pulse width = 32, v sync offset = 3, and v sync pulse width = 5. That's where I would assume the following timing would be correct.
hactive = 3840
vactive = 1080
hsync-len = 32
hback-porch = 80
hfront-porch = 48
vsync-len = 5
vback-porch = 40
vfront-porch = 3
Now if I do a cvt modeline calculation I get Modeline "3840x1100_60.00" 353.18 3840 4088 4504 5168 1100 1101 1104 1139 -HSync +Vsync which is completely different on the porches and sync lengths.
Now, onto the board. According to the SDK, the display timing isn't set in the device tree files, it's set in the drivers at /kernel/drivers/gpu/drm/panel/panel-simple.c which I've tried the timing above that I assumed is correct from the datasheet and I've tried the timing from the modeline calculation. I've also put the display timing in the device tree file to see if that would work.
So far, I have gotten to where I get an image on the display and it will flicker from time to time sitting at the home screen of android, but then if I open the app menu, it will flicker even more until I exit it. I've tried adjusting the clock up and down with no resolution, and eventually I will either get a brief image on the screen and then it fades out, or the display will start looking like the porches are completely wrong. The display appears to have EDID information, but doesn't appear to get passed onto the kernel properly.
I've spent several hours recompiling and flashing firmwares to where I'm at a point I have no clue what to do anymore. Can someone help?

Categories

Resources